+
    %ix
                        ^ RI Ht ^ RIt^ RIt^ RIt^ RItR.tR R lt]P                  R
8  d   ^ RI	H
t
 M ! R R]4      t
]P                   ! R R	4      4       tR# )    )annotationsNExceptionGroupc                   V ^8  d   QhRR/# )   returnz	list[str] )formats   "N/var/www/html/photoedit/myenv/lib/python3.14/site-packages/packaging/errors.py__annotate__r      s           c                     \         # N)__all__r   r   r
   __dir__r      s    Nr   )r   c                  H    ] tR t^t$ RtR]R&   R]R&   R R ltR R	 ltR
tR# )r   zA minimal implementation of :external:exc:`ExceptionGroup` from Python 3.11.

If :external:exc:`ExceptionGroup` is already defined by Python itself,
that version is used instead.
strmessagelist[Exception]
exceptionsc               $    V ^8  d   QhRRRRRR/# )r   r   r   r   r   r   Noner   )r	   s   "r
   r   ExceptionGroup.__annotate__   s!     	) 	)C 	)_ 	) 	)r   c                	    Wn         W n        R # r   )r   r   )selfr   r   s   &&&r
   __init__ExceptionGroup.__init__   s    "L(Or   c                   V ^8  d   QhRR/# )r   r   r   r   )r	   s   "r
   r   r   !   s     	W 	Wc 	Wr   c                	l    V P                   P                   R V P                  : RV P                  : R2# )(z, ))	__class____name__r   r   )r   s   &r
   __repr__ExceptionGroup.__repr__!   s1    nn--.a/?r$//ATTUVVr   )r   r   N)	r"   
__module____qualname____firstlineno____doc____annotations__r   r#   __static_attributes__r   r   r
   r   r      s%    	 ##	)	W 	Wr   c                      ] tR t^%t$ Rt]P                  ! ]RR7      tR]	R&   R R lt
]P                  R R	 l4       t]P                  R
 R l4       tR R ltRtR# )_ErrorCollectora  
Collect errors into ExceptionGroups.

Used like this:

    collector = _ErrorCollector()
    # Add a single exception
    collector.error(ValueError("one"))

    # Supports nesting, including combining ExceptionGroups
    with collector.collect():
        raise ValueError("two")
    collector.finalize("Found some errors")

Since making a collector and then calling finalize later is a common pattern,
a convenience method ``on_exit`` is provided.
F)default_factoryinitr   errorsc                    V ^8  d   QhRRRR/# )r   msgr   r   r   r   )r	   s   "r
   r   _ErrorCollector.__annotate__;   s     3 3C 3D 3r   c                T    V P                   '       d   \        WP                   4      hR# )z0Raise a group exception if there are any errors.N)r/   r   r   r1   s   &&r
   finalize_ErrorCollector.finalize;   s    ;;; kk22 r   c                    V ^8  d   QhRRRR/# )r   r1   r   r   z-typing.Generator[_ErrorCollector, None, None]r   )r	   s   "r
   r   r2   A   s      3 #P r   c              #  8   "   V x  V P                  V4       R# 5i)z`
Calls finalize if no uncollected errors were present.

Uncollected errors are raised normally.
N)r5   r4   s   &&r
   on_exit_ErrorCollector.on_exit@   s      
cs   c                    V ^8  d   QhRRRR/# )r   err_clsztype[Exception]r   z"typing.Generator[None, None, None]r   )r	   s   "r
   r   r2   K   s     & & &4V &r   c              '    "   T;'       g    \         3p Rx  R#   \         d1   pT P                  P                  TP                  4        Rp?R# Rp?iT d'   pT P                  P                  T4        Rp?R# Rp?ii ; i5i)z}
Context manager to collect errors into the error list.

Must be inside loops, as only one error can be collected at a time.
N)	Exceptionr   r/   extendr   append)r   r<   error_classeserrors   &*  r
   collect_ErrorCollector.collectJ   sf       //I<	& 	1KKu//00 	&KKu%%	&sB   B BB%ABBBA<6B<BBc                    V ^8  d   QhRRRR/# )r   rB   r>   r   r   r   )r	   s   "r
   r   r2   Y   s     " "" 
"r   c                <    V P                   P                  V4       R# )zAdd an error to the list.N)r/   r@   )r   rB   s   &&r
   rB   _ErrorCollector.errorY   s    
 	5!r   r   N)r"   r%   r&   r'   r(   dataclassesfieldlistr/   r)   r5   
contextlibcontextmanagerr9   rC   rB   r*   r   r   r
   r,   r,   %   sc    $ *//5QFOQ3
   & &" "r   r,   )      )
__future__r   rK   rH   systypingr   r   version_infobuiltinsr   r>   	dataclassr,   r   r   r
   <module>rU      sa    "   
 
 w'W W$ 8" 8" 8"r   