+
    O(iH                        ^ RI Ht ^ RIt^ RIt^ RIHtHtHt ^ RIH	t	 ^ RI
Ht ^ RIHtHt ]P                  R8  d   ^RIHt ]'       d   ]]],          .]3,          t ! R R	4      tR
 R ltR# )    )annotationsN)CallableIterableMapping)AbstractContextManager)TracebackType)TYPE_CHECKINGAny)BaseExceptionGroupc                  F    ] tR t^tR R ltR R ltR R ltR R ltR	tR
# )_Catcherc                   V ^8  d   QhRR/# )   handler_mapz2Mapping[tuple[type[BaseException], ...], _Handler] )formats   "[/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/exceptiongroup/_catch.py__annotate___Catcher.__annotate__   s     ( ($V (    c                	    Wn         R # N_handler_map)selfr   s   &&r   __init___Catcher.__init__   s    'r   c                   V ^8  d   QhRR/# )r   returnNoner   )r   s   "r   r   r      s      4 r   c                	    R # r   r   )r   s   &r   	__enter___Catcher.__enter__   s    r   c               (    V ^8  d   QhRRRRRRRR/# )	r   etypeztype[BaseException] | NoneexcBaseException | NonetbzTracebackType | Noner   boolr   )r   s   "r   r   r      s2      ) " !	
 
r   c                	    VeD   V P                  V4      pWBJ d   R# Vf   R# \        V\        4      '       d    WBP                  hWBhR#   \         d    TP                  Tn        h i ; i)NFT)handle_exception
isinstancer   	__cause____context__)r   r%   r&   r(   	unhandleds   &&&& r   __exit___Catcher.__exit__   su     ?--c2I"c#566']]:  ( .  14	-	s   A
 
A(c                    V ^8  d   QhRRRR/# )r   r&   BaseExceptionr   r'   r   )r   s   "r   r   r   2   s     + +M +6J +r   c                	>   \        V\        4      '       d   TpM\        R V.4      p. pV P                  P                  4        F.  w  rEVP	                  V4      w  rbV'       d     VhV'       d   K.   M	  V'       d&   \        V4      ^8X  d
   V^ ,          # \        R V4      # V'       d4   \        VP                  4      ^8X  d   VP                  ^ ,          VJ d   V# V#   \         d    T! T4      p Mi ; i \
        P                  ! T4      '       d   \        RT: RT: R24      ThL  \         dB   pYJ d   TP                  T4        Rp?LTP                  TP                  4        Rp?ELRp?i\         d   pTP                  T4        Rp?EL0Rp?ii ; i) zError trying to handle z with z,. Exception handler must be a sync function.N)r,   r   r   itemssplitinspectiscoroutine	TypeErrorappendextend
exceptionsr3   len)	r   r&   excgroupnew_exceptions	exc_typeshandlermatchedresultnew_excs	   &&       r   r+   _Catcher.handle_exception2   s   c-..H)"se4H.0"&"3"3"9"9";I (y 9G#2%" 8/ #<2 >"a'%a((%b.99X001Q68;N;Nq;QUX;XJO; . 2!(!12 **622'5g[wk RI I  ## 3 * B)&--g66&--g.@.@AA$ 3"))'223sH   %CC52D+4C55D++F6E2E22F?F FFr   N)	__name__
__module____qualname____firstlineno__r   r"   r0   r+   __static_attributes__r   r   r   r   r      s    (4+ +r   r   c                    V ^8  d   QhRRRR/# )r   
__handlerszFMapping[type[BaseException] | Iterable[type[BaseException]], _Handler]r   zAbstractContextManager[None]r   )r   s   "r   r   r   `   s     *! *!V*!!*!r   c                L   \        V \        4      '       g   \        R 4      h/ pV P                  4        F  w  r#\        V\        4      '       d   \        V\        4      '       d   V3pM-\        V\        4      '       d   \        V4      pM\        R4      h\        V4      '       g   \        R4      hV F[  p\        V\        4      '       d   \        V\        4      '       g   \        R4      h\        V\        4      '       g   KR  \        R4      h	  W1V&   K  	  \        V4      # )zthe argument must be a mappingzCeach key must be either an exception classes or an iterable thereofzhandlers must be callablezHcatching ExceptionGroup with catch() is not allowed. Use except instead.)r,   r   r:   r6   type
issubclassr3   r   tuplecallabler   r   )rM   r   type_or_iterablerB   iterableexc_types   &     r   catchrV   `   s!    j'**899 	  &0%5%5%7!&--*m3
 3
 )*H((33-.HU    788 Hh--Z-6 6   
 ($677*  ! !(H? &8B K  r   )      )
__future__r   r8   syscollections.abcr   r   r   
contextlibr   typesr   typingr	   r
   version_info_exceptionsr   _Handlerr   rV   r   r   r   <module>rb      s[    "  
 7 7 -  %g/+C01367HL L^*!r   