+
    in c                   sr   ^ RI HtHt ^ RIt^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
t
^ RI
Ht ^ RIHtHtHtHtHtHtHtHtHtHt . RNRNRNR	NR
NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NR#NR$NR%NR&NR'NR(NR)NR*NR+NR,NR-NR.NR/NR0NR1NR2NR3NR4NR5NR6NR7NR8NR9NR:NR;NR<NR=NR>NR?NR@NRANRBNRCNRDNRENRFNRGNRHNRINRJNRKNRLNRMNRNNRONRPNRQNRRNRSNRTNRUNRVNRWNRXNRYNRZNR[NR\NR]NR^NR_NR`NRaNRbNRcNRdNReNRfNRgNRhNRiNRjNRkNRlNRmNRnNt ! Ro Rp4      t]! 4       sER>RqRrRsR/Rt lltER?RqRrRsR/Rv lltRw tRx tRy tRzRu/R{ R| lltR} t R~ t!RRr/R lt"R t#. t$/ t%ER>RRr/R llt&R R lt' ! R R4      t(](! 4       t)])3R]*! 4       RRRsRRRRRr/R llt+ ! R R4      t, ! R R4      t- ! R R],]-RuR7      t. ! R R].RuR7      t/ ! R R]04      t1 ! R R]1R7      t2].R 4       t3].R 4       t4].R 4       t5].R 4       t6].R 4       t7].R 4       t8].R 4       t9]/]&! RuR7      R 4       4       t:].R 4       t;].R 4       t<].R 4       t=].R 4       t>RR/R lt?RsRRRRRRRRRR]*! 4       /R lt@R R ltAR R ltBR tCR tDR tER tF]&R 4       tGR tHR tI ! R R],RuR7      tJ ! R R]JRuR7      tK ! R R]-]JRuR7      tL ! R R]LRuR7      tM ! R R]-]KRuR7      tN ! R R]LRuR7      tO ! R R]LRuR7      tP ! R R]04      tQ ! R R]QR7      tRR tS ! R R]KRuR7      tT ! R R]KRuR7      tU].R 4       tV ! R R]KRuR7      tW ! R R4      tX]*! 0 ER@m4      tY]*! 0 ERAm4      tZ]Y]Z,          R0,          t[R t\R t]ERBR lt^ERCR lt_R. ERDORRR.RRR.RR./t`]P                  R 4       tb]$P                  ]bP                  4       R te]P                  ! ]]e4       R tg]P                  ! ]]g4       AeAg]P                  ti]P                  tkR tl ! R R]4      tm]nR 4       to ! R R]]mR7      tp ! R R]-]KRuR7      tq]/]&! RuR7      R 4       4       trR tsR ttR tuERERR/R lltvR twR txR tyR tzR t{^dt|R R lt}R t~R tR t]! ]EP                  ! ]]4      4      tR tR tR tR t]! R4      t]! ER 4      t]! ER4      t]! ERRuER7      t]! ERRuER7      t]! ERRuER7      t]! ERRuER7      t]! ERRu]0ER	7      t]! RH]]4      t]Lt]! ]P                   EP(                  ^ 4      t]! ]P                   EP*                  ^4      t]! ]P                   EP,                  ^4      t]! ]P                   EP.                  ^4      t]! ]P                   EP0                  ^4      t]! ]P                   EP2                  ^4      t]! ]P                   EP4                  ^4      t]! ]P                   EP6                  ^4      t]! ]P                   EP8                  ^ 4      t]! ]P                   EP:                  ^4      t]! ]P                   EP<                  ^4      t]O! ]P                   EP>                  ^4      tER
]n        ]! ]P                   EPB                  ^RER7      t]! ]P                   EPF                  ^4      t]! ]P                   EPH                  ^4      t]! ]P                   EPJ                  ^4      t]! ]P                   EPL                  ^4      t]! ]P                   EPN                  ^4      t]M! ]P                   EPP                  ^ ERFER7      t]P! ]ERGRrRER7      tER]n        ]! ]^RrR<ER7      t]! ]EPZ                  ^R9ER7      t]! ]^RrR>ER7      t]! ]*^RrR?ER7      t]! ]P                   EPb                  ^4      t]! ]P                   EPd                  ^4      t]! ]P                   EPf                  ^4      t]! ]P                   EPh                  ^4      t]! ]^RrR:ER7      t]! ]P                  ^R;ER7      t]! ]EPn                  ^4      t]! ]EPp                  ^4      t]! ]EPr                  ^4      t]! ]P                   EPt                  ^]
EPv                  ]
EPv                  3ER7      t]! ]P                   EPx                  ^]
EPv                  3ER7      t]! ]0^RrRER7      tER]n        ]s ! ER R5]p4      4       t]s ! ER R3]p4      4       t]s ! ER R2]p4      4       t]s ! ER R1]p4      4       t]s ! ER R4]p4      4       t]sER ! 4       4       t]sER ! 4       4       tERIER ltER t]*! 0 ERJm4      t]*! 0 ERKm4      t ! ER ER]04      t])3ER lt]0EP                  ]R@ERH/ 4      tER t]]n        ER t ! ER ER ]04      t])3ER!Ru/ER" llt]0EP                  ]RAERH/ 4      tER# ]n        ].ER$ 4       t].ER% 4       t].ER& 4       t ! ER' RY4      t]tRrt ! ER( RD]],          4      t ! ER) RC]],          4      t ! ER* RG]],          4      tER+ ! 4       t ! ER, ER-]p4      tER.RuER/RrER0RrER1RrER2ERH/ER3 ER4 lltER5RER6ER7 l35tER8 ! 4       tER9 ER: ltER; ER< ltER= tR# (L      )abstractmethodABCMetaN)defaultdict)GenericAlias)
_idfuncTypeVar	ParamSpecTypeVarTupleParamSpecArgsParamSpecKwargsTypeAliasTypeGenericUnion	NoDefault	AnnotatedAnyCallableClassVarConcatenateFinal
ForwardRefr   LiteralOptionalr   ProtocolTupleTyper   r   r   AbstractSet
ByteString	ContainerContextManagerHashable	ItemsViewIterableIteratorKeysViewMappingMappingViewMutableMappingMutableSequence
MutableSetSequenceSized
ValuesView	AwaitableAsyncIteratorAsyncIterable	Coroutine
CollectionAsyncGeneratorAsyncContextManager
ReversibleSupportsAbsSupportsBytesSupportsComplexSupportsFloatSupportsIndexSupportsIntSupportsRoundChainMapCounterDequeDictDefaultDictListOrderedDictSet	FrozenSet
NamedTuple	TypedDict	GeneratorBinaryIOIOMatchPatternTextIOAnyStrassert_typeassert_nevercastclear_overloadsdataclass_transformevaluate_forward_reffinalget_args
get_originget_overloadsget_protocol_membersget_type_hintsis_protocolis_typeddictLiteralStringNeverNewTypeno_type_checkno_type_check_decoratorr   NoReturnNotRequiredoverloadoverrider	   r
   ReadOnlyRequiredreveal_typeruntime_checkableSelfTextTYPE_CHECKING	TypeAlias	TypeGuardTypeIsr   Unpackc                   s&   a  ] tR t^t o R tRtV tR# )_LazyAnnotationLibc                s$    ^ RI pVs\        W!4      # )r    N)annotationlib_lazy_annotationlibgetattr)selfattrrp      && /usr/lib64/python3.14/typing.py__getattr__Z_LazyAnnotationLib.__getattr__   s    +}++     N)__name__
__module____qualname____firstlineno__rw   __static_attributes____classdictcell____classdict__   @rv   ro   ro      s     , ,rx   ro   allow_special_formsFownerc                sj    V f   \        R 4      # \        V \        4      '       d   \        WW#R7      # V # )N)moduleis_classr   )type
isinstancestr_make_forward_ref)argr   r   r      &&$$rv   _type_convertr      s1    
{Dz#s >Q__Jrx   Tc                s6   \         \        3pV'       g%   V\        3,          pV'       d   V\        3,          p\	        WWER 7      p \        V \        4      '       d    V P                  V9   d   \        V  R24      hV \        \        \        \        \        \        39   d   V # V'       d   V \        \        39   d   V # \        V \        4      '       g   V \         \        39   d   \        RV  R24      h\!        V 4      \"        J d   \        V RV :R R24      hV # ))r   r   r    is not valid as type argumentzPlain z Got z.100.)r   r   r   r   r   r   _GenericAlias
__origin__	TypeErrorr   r[   r`   r\   rh   rk   _SpecialFormr   tuple)r   msgis_argumentr   r   r   Zinvalid_generic_formss   &&&&$$ rv   _type_checkr      s     %h/(,!eX-!
@S
aC3&&NN333%=>??
sM8UD)DD
sx&77
#|$$/B(B&%CDEECyE3%uSL4L233Jrx   c                 sZ    V R J ;'       g!    \        V \        \        \        \        34      # ).)r   r   listr   _ConcatenateGenericAliasr      &rv   _is_param_exprr      s2    #: @ @CD)%=>@ @rx   c                 s    V P                   \        P                  P                  J ;'       d.    \	        V4      ^8H  ;'       d    \        V^ ,          4      '       * #    )r   collectionsabcr   lenr   )typargs   &&rv   _should_unflatten_callable_argsr      sH    & 	+//222 	= 	=Ta;;N47$;<rx   c                 s    \        V \        4      '       d'   R RP                  R V  4       4      ,           R,           # \        P	                  V 4      # )[, c              3   8   "   T F  p\        V4      x  K  	  R # 5iN)
_type_repr).0t   & rv   	<genexpr>Z_type_repr.<locals>.<genexpr>   s     :cz!}}c   ])r   r   joinrq   Z	type_reprobjr   rv   r   r      sA     #uTYY:c:::S@@((--rx   enforce_default_orderingc                s$    V ^8  d   QhR\         /# )r   r   boolformat   "rv   __annotate__r     s     / / /rx   c                s   R pR p. pV  EF8  p\        V\        4      '       d   K  \        V\        4      '       d8   V F/  p\        V.4       F  pWt9  g   K  VP	                  V4       K  	  K1  	  Ki  \        VR4      '       d~   WT9  dv   V'       d[   V'       d"   VP                  4       '       d   \        R4      hVP                  4       '       d   RpMV'       d   \        RV: R24      hVP	                  V4       K  K  \        V4      '       d   Rp\        VRR4       F  pWd9  g   K  VP	                  V4       K  	  EK;  	  \        V4      # )F__typing_subst__z2Type parameter with a default follows TypeVarTupleTzType parameter z8 without a default follows type parameter with a default__parameters__ry   )
r   r   r   _collect_type_parametersappendhasattrhas_defaultr   _is_unpacked_typevartuplerr   )r   r   Zdefault_encounteredZtype_var_tuple_encountered
parametersr   xZ	collecteds   &$      rv   r   r     s<     !&Ja5!! !91#!>I 2")))4 "?  Q*++"+1ammoo' )@ A A }}.2+,'/! ?Q )Q R R !!!$ # )++-1*Q 0"5&%%a( 69 > rx   c           
      sp   \        V P                  4      pV'       g   \        V  R 24      h\        V4      pW28w  dz   W28  dS   V P                  V,          P                  4       '       d   R# V\	        R V P                   4       4      ,          pRV 2pMTp\        RW28  d   RMR RV  RV R	V 24      hR# )
 is not a generic classNc              3   s@   "   T F  qP                  4       x  K  	  R # 5ir   )r   r   pr   rv   r   Z0_check_generic_specialization.<locals>.<genexpr>L  s     L9KA9Ks   	at least Too manyfew arguments for 	; actual , expected )r   r   r   r   Zsum)clsZ	argumentsZexpected_len
actual_lenZ
expect_val   &&   rv   _check_generic_specializationr   6  s    
 s))*L3%6788YJ!$ !!*-99;;CL9K9KLLLL$\N3J%J$)BvN O  #uIj\ZLR S 	S% "rx   c                  s    . pV  FM  p\        VR R4      pVe)   V'       d   VR,          RJ g   VP                  V4       K<  VP                  V4       KO  	  V# )__typing_unpacked_tuple_args__N.)rr   extendr   )r   Znewargsr   subargss   *   rv   _unpack_argsr   U  sR    G#?FGBK34FNN7#NN3  Nrx   unhashable_fallbackc                s     \         P                  V 4      #   \         d3    T'       g   h . pT  F  pY29  g   K  TP                  T4       K  	  Tu # i ; ir   )dictZfromkeysr   r   )paramsr   Znew_unhashabler   s   &$  rv   _deduplicater   _  sV    
}}V$$ "A&%%a(  s    AAAAc                 s    . pV  FG  p\        V\        4      '       d   VP                  VP                  4       K6  VP	                  V4       KI  	  \        V4      # r   )r   _LiteralGenericAliasr   __args__r   r   )r   r   r      &  rv   _flatten_literal_paramsr   m  sG    Fa-..MM!**%MM!	 
 =rx   typedc               s,   a V3R  lpV e	   V! V 4      # V# )c                 s   <a  \         P                  ! SR 7      ! S 4      pV\        S &   \        P	                  VP
                  4       ?\         P                  ! S 4      V 3R l4       pV# )r   c                  s^   <  \         S,          ! V / VB #   \         d     Mi ; iS! T / TB # r   )_cachesr   )r   kwdsfuncs   *,rv   innerZ+_tp_cache.<locals>.decorator.<locals>.inner  s>    t}d3d33 &&&s    $$)	functoolsZ	lru_cacher   	_cleanupsr   cache_clearwraps)r   cacher   r   s   f  rv   	decoratorZ_tp_cache.<locals>.decorator  s\     ##%06**+			' 
	' rx   ry   )r   r   r   s   "d rv   	_tp_cacher   |  s     
( rx   c                s(    V ^8  d   QhR\         RR/# )r   funcnamereturnNr   r   r   rv   r   r     s     
K 
KS 
KT 
Krx   c                 sR    ^ RI pRV : RV  R2pVP                  V\        ^R7       R# )r    Nz:Failing to pass a value to the 'type_params' parameter of z@ is deprecated, as it leads to incorrect behaviour when calling zl on a stringified annotation that references a PEP 695 type parameter. It will be disallowed in Python 3.15.ZcategoryZ
stacklevel)warningswarnDeprecationWarning)r   r   depr_messager   rv   ._deprecation_warning_for_no_type_params_passedr     s=    \  z "0	1  MM,);MJrx   c                   s*   a  ] tR tRt o RtR tRtV tR# )	_Sentineli  c                    R # )z
<sentinel>ry   rs   r   rv   __repr__Z_Sentinel.__repr__  s    rx   ry   N)rz   r{   r|   r}   	__slots__r   r~   r   r   r   rv   r   r     s     I rx   r   recursive_guardr   parent_fwdrefprefer_fwd_modulec          
      s8  aaaaaaaa S\         J d   \        R 4       Ro\        V \        P                  4      '       d   S'       d   V P
                  et   Ro\        SRR4      ;p	'       d]   \        \        P                  P                  V P
                  R4      RR4      oSe$   \        S4      oV	 F  p
V
SV
P                  &   K  	  \        V SSSSSSR7      # \        V \        \        \        34      '       Ed   \        V \        4      '       d   \         ;QJ d!    . V3R lV P"                   4       F  NK  	  5M! V3R lV P"                   4       4      pV P$                  p\'        W4      '       d!   V P(                  VRR VR,          3,          p MV P(                  V,          p V'       d   \*        V ,          p \         ;QJ d'    . VVVVVVV3R lV P"                   4       F  NK  	  5M ! VVVVVVV3R lV P"                   4       4      pWP"                  8X  d   V # \        V \        4      '       d   \        V P(                  V4      # \        V \        4      '       d&   \,        P.                  ! \0        P2                  V4      # V P5                  V4      # V # )	ztyping._eval_typeN__type_params____dict__)globalslocalstype_paramsr   _recursive_guardr   c              3   sn   <"   T F*  p\        V\        4      '       d   \        VSR 7      MTx  K,  	  R# 5i))r   N)r   r   r   )r   r   r      & rv   r   _eval_type.<locals>.<genexpr>  s6      %C HRRUWZG[G[!#]Cadd%s   25c              3   sJ   <"   T F  p\        VSSSSSSSR 7      x  K  	  R# 5i))r   r   r   r   N)
_eval_type)	r   ar   globalnslocalnsr   r   r   r  s	   & rv   r   r    s9      

  	 8Wk?U>O   s    #ry   r   )	_sentinelr   r   rq   r   __forward_module__rr   sysmodulesgetr   rz   rR   r   r   r   r   r   __unpacked__r   r   rn   r   reduceoperatoror_	copy_with)r   r  r  r  r   r   r   r   r   Zowner_type_paramsZ
type_paramr   Zis_unpackedZev_argss   &fffddddd     rv   r  r    s    i67JK!(3344
 !5!5!AH %,E3Dd$KK K"KKOOA$8$8$?T '#H~H&7
8B!4!45 '8#Ax0;55DVU 	U !m\59::a&&5 ::55 :: D ..K.q77LL$s)T"X!67LL&1I% 
 

 ZZ
%% 
 

 ZZ
 
 jj Ha&&g66a##HLL'::;;w''Hrx   c                   s*   a  ] tR tRt o RtR tRtV tR# )_Finali  c               s*    R V9  d   \        R4      hR# )_rootz&Cannot subclass special typing classesNr   )r   r   r   s   "*,rv   __init_subclass__Z_Final.__init_subclass__  s    $DEE rx   ry   N)__weakref__)rz   r{   r|   r}   r   r  r~   r   r   r   rv   r  r    s      !IF Frx   r  c                   s    ] tR tRtRtRtRtR# )_NotIterablei  Nry   )rz   r{   r|   r}   r   __iter__r~   ry   rx   rv   r  r    s     IHrx   r  c                   sp   a  ] tR tRt o RtR tR tR tR tR t	R t
R tR	 tR
 tR t]R 4       tRtV tR# )r   i  c                sV    Wn         VP                  V n        VP                  V n        R # r   )_getitemrz   _name__doc__)rs   getitemr   rv   __init__Z_SpecialForm.__init__  s    %%
rx   c                s>    VR9   d   V P                   # \        V4      h)rz      rz   r|   )r  AttributeError)rs   itemr   rv   rw   Z_SpecialForm.__getattr__  s     //::T""rx   c                     \        R V : 24      h)Cannot subclass r  rs   basesr   rv   __mro_entries__Z_SpecialForm.__mro_entries__  s    *4(344rx   c                (    R V P                   ,           # typing.r  r   r   rv   r   Z_SpecialForm.__repr__      4::%%rx   c                    V P                   # r   r*  r   r   rv   
__reduce__Z_SpecialForm.__reduce__"      zzrx   c                r"  )zCannot instantiate r  )rs   r   r   s   &*,rv   __call__Z_SpecialForm.__call__%  s    -dX677rx   c                    \         W3,          # r   r   rs   otherr   rv   __or__Z_SpecialForm.__or__(      T[!!rx   c                    \         W3,          # r   r1  r2  r   rv   __ror__Z_SpecialForm.__ror__+      U[!!rx   c                    \        V  R 24      h)z! cannot be used with isinstance()r  rs   r   r   rv   __instancecheck__Z_SpecialForm.__instancecheck__.      4& ABCCrx   c                r9  )z! cannot be used with issubclass()r  rs   r   r   rv   __subclasscheck__Z_SpecialForm.__subclasscheck__1  r<  rx   c                s$    V P                  W4      # r   )r  rs   r   r   rv   __getitem__Z_SpecialForm.__getitem__4  s    }}T..rx   )r  r  r  N)r  r  r  )rz   r{   r|   r}   r   r  rw   r&  r   r-  r/  r4  r7  r;  r>  r   r@  r~   r   r   r   rv   r   r     sR     0I'
#5&8""DD / /rx   r   )r  c                   &   a  ] tR tRt o R tRtV tR# )_TypedCacheSpecialFormi9  c                s\    \        V\        4      '       g   V3pV P                  ! V .VO5!  # r   )r   r   r  r?  r   rv   r@  Z"_TypedCacheSpecialForm.__getitem__:  s*    *e,,$J}}T/J//rx   ry   N)rz   r{   r|   r}   r@  r~   r   r   r   rv   rB  rB  9  s     0 0rx   rB  c                   s>   a a ] tR tRt oV 3R ltV 3R ltRtVtV ;t# )_AnyMetai@  c                sL   < V \         J d   \        R 4      h\        SV `  V4      # )z+typing.Any cannot be used with isinstance())r   r   superr;  )rs   r   	__class__   &&rv   r;  Z_AnyMeta.__instancecheck__A  s&    3;IJJw(--rx   c                s8   < V \         J d   R # \        SV `	  4       # )z
typing.Any)r   rD  r   )rs   rE  s   &rv   r   Z_AnyMeta.__repr__F  s    3;w!!rx   ry   )	rz   r{   r|   r}   r;  r   r~   r   __classcell__rE  r      @@rv   rC  rC  @  s     .
" "rx   rC  c                   2   a a ] tR tRt oV 3R ltRtVtV ;t# )r   iL  c                sL   < V \         J d   \        R 4      h\        SV `  V 4      # )zAny cannot be instantiated)r   r   rD  __new__r   r   kwargsrE     &*,rv   rK  ZAny.__new__X  s%    #:899ws##rx   ry   )rz   r{   r|   r}   rK  r~   r   rG  rH  rI  rv   r   r   L  s     $ $rx   )Z	metaclassc                 r9  z is not subscriptabler  r?  r   rv   r`   r`   ^  s      tf12
33rx   c                 r9  rO  r  r?  r   rv   r\   r\   s  s    , tf12
33rx   c                 r9  rO  r  r?  r   rv   rh   rh     s    " tf12
33rx   c                 r9  rO  r  r?  r   rv   r[   r[     s    0 tf12
33rx   c                 :    \        W R 2RR7      p\        W34      #  accepts only single type.Tr   r   r   rs   r   r!  ru   rv   r   r     &    & zV+E#F\`aDw''rx   c                 rP  rQ  rT  rU  ru   rv   r   r     rV  rx   c                 sN    \        W R 24      p\        V\        R4      3,          # )z requires a single type.N)r   r   r   )rs   r   r   ru   rv   r   r     s)     jF*B"C
DCd4j!!rx   r   c           
      s   \        V4      p \        ;QJ d/    . R  \        \        \	        V4      4      4       4       F  NK  	  5M(! R  \        \        \	        V4      4      4       4       4      p\        W4      #   \
         d     Li ; i)c              3   s*   "   T F	  w  rVx  K  	  R # 5ir   ry   )r   r   _r   rv   r   ZLiteral.<locals>.<genexpr>	  s     ^)]1)]s   )r   r   r   r   _value_and_type_iterr   r   r?  s   &*rv   r   r     st    2 )4JU^d;OPZ;[6\)]^UU^d;OPZ;[6\)]^^
  11  s   A"A: :BBc                 r9  rO  r  r?  r   rv   rk   rk     s     tf12
33rx   c                 s  a VR8X  d   \        R 4      h\        V\        4      '       g   V3pVR,          RJ g)   \        VR,          \        4      '       g   \        R4      hRo. V3R lVRR  4       OVR,          N5p\	        W4      # )z&Cannot take a Concatenate of no types..zMThe last parameter to Concatenate should be a ParamSpec variable or ellipsis.z/Concatenate[arg, ...]: each arg must be a type.c              3   <   <"   T F  p\        VS4      x  K  	  R # 5ir   r   r   r   r   r  rv   r   ZConcatenate.<locals>.<genexpr>7  s     AAK3''   Nry   r   )r   r   r   r   r   )rs   r   r      &&@rv   r   r   !  s     R@AAj%(( ]
rNc!Z
2	%J%J : ; 	;
;CRACRAR:b>RJ#D55rx   c                 6    \        W R 24      p\        W34      # rR  rT  rU  ru   rv   rl   rl   ;  s$    h zV+E#FGDw''rx   c                 r^  r_  rT  rU  ru   rv   rm   rm   s  s$    B zV+E#FGDw''rx   c                s    Ve;   VP                   e   VP                   VR&   VP                  e   VP                  VR&   \        P                  ! V 3/ VB pVP                   V# )Nr   r   )r
  	__owner__rq   r   Z__forward_code__)Zcoder   rM  forward_refs   &$, rv   r   r     sc     ++7,??F8"".+55F7O%00@@K  rx   r   r   r  r  c                sz   V\         P                  P                  8X  d   V P                  # V P                  V9   d   V # Vf   \         P                  P                  pV P                  W#WAVR7      p\        V\         P                  4      '       d"   V\         P                  P                  8X  d   V# \        V\        4      '       dB   \        YpP                  T;'       g    V P                  V P                  V P                  R7      pVf   V P                  p\        VVVVW`P                  0,          VVV R7      # )N)r   r   r  r   r   )r   r   r   r   )r   r   r   r   )rq   FormatSTRINGZ__forward_arg__VALUEZevaluater   r   
FORWARDREFr   r   r
  r`  Z__forward_is_argument__Z__forward_is_class__r  )ra  r   r   r   r  r   r  values   &$$$$$$ rv   rR   rR     s#   : $++222***""&66~$++11  -8f ! VE 	5-8899-44???%!%0N0N(-(F(F1F1F.9.Q.Q+6+K+KM }%%(,G,G+HH!	 	rx   c                0    V ^8  d   QhR\         R\        /# r   r   r   r   r   r   r   rv   r   r     s     N N N Nrx   c                 sZ    \        V \        4      '       * ;'       d    \        V R R4      RJ # )#__typing_is_unpacked_typevartuple__FT)r   r   rr   r   r   rv   r   r     s5     At$$ M MA<eDLNrx   c                rg  rh  ri  r   r   rv   r   r   	  s     O O O Orx   c                 sT    \        V \        \        34      ;'       g    \        V 4      # r   )r   r   r   r   rk  r   rv   _is_typevar_likerl  	  s"    a'9-.NN2KA2NNrx   c                 s    R p\        WRR7      p\        V\        4      '       d   VP                  \        J g*   \        V\
        4      '       d"   \        VRR4      '       d   \        V R24      hV# )*Parameters to generic types must be types.T)r   r  Fr   )r   r   r   r   rn   r   rr   r   )rs   r   r   ru   rv   _typevar_substrn    s^    
6C
cD
1C	C	'	'CNNf,D	C	&	&73+N+N3%=>??Jrx   c           	      s   VP                   pVP                  V 4      pW4^,           R  F'  p\        V\        4      '       g   K  \	        RV 24      h	  \        V4      p\        V4      pTpWt,
          ^,
          p	Rp
Rp\        V4       Fo  w  r\        V\        4      '       d   K  \        VRR4      pV'       g   K4  \        V4      ^8X  g   KF  VR	,          RJ g   KU  V
e   \	        R4      hTp
V^ ,          pKq  	  V
e&   \        W4      p\        WV
,
          ^,
          4      p	M(W,           V8  d   \	        RV RV RV^,
           24      hWV	,
          8X  d-   V P                  4       '       d   \        V P                  4      pM
W(Wi,
           p. VRV OV.WH,
          ,          OVNV.Wy,
          V,
          V,
          ^,
          ,          OW&V	,
          R O5# )
   Nz(More than one TypeVarTuple parameter in r   .z6More than one unpacked arbitrary-length tuple argumentToo few arguments for r   z, expected at least r   )r   indexr   r   r   r   Z	enumerater   rr   Zminr   r   __default__)rs   aliasr   r   Ztypevartuple_indexparamalenplenleftrightZvar_tuple_indexZfillargkr   r   Zreplacements   &&&             rv   _typevartuple_prepare_substrz    s   !!Fd+Q./0e\**FugNOO 1 t9Dv;DD%)EOGD/#t$$c#CTJGw3w<1,1C".#$\]]"#!!* " "4)E/1A56		0 8##'&(<T!VHF G 	Ge| 0 0 2 2"4#3#34.	et)'.
/ 	 )T\D(+==A
B	
 
Ulm	 rx   c                 s    \        V\        \        34      '       d1   \        ;QJ d    . R  V 4       F  NK  	  5pV# ! R  V 4       4      pV# \        V4      '       g   \	        RV 24      hV# )c              3   s:   "   T F  p\        VR 4      x  K  	  R# 5i)zExpected a type.NrZ  r   r  r   rv   r   Z#_paramspec_subst.<locals>.<genexpr>A  s     D1K#566   zFExpected a list of types, an ellipsis, ParamSpec, or Concatenate. Got )r   r   r   r   r   rs   r   r   rv   _paramspec_substr~  ?  su    #e}%%eDDe J	 DDD J C   ::=@ A 	AJrx   c                 s   VP                   pVP                  V 4      pV\        V4      8X  d(   V P                  4       '       d   . VOV P                  N5pV\        V4      8  d   \        R V 24      h\        V4      ^8X  d   \        V^ ,          4      '       g   V3pV# \        W$,          \        4      '       d%   . VRV O\        W$,          4      NW$^,           R O5pV# )rp  N)
r   rq  r   r   rr  r   r   r   r   r   )rs   rs  r   r   is   &&&  rv   _paramspec_prepare_substr  H  s    !!FTACI~$**,,((t''(CI~0899
6{atAw 7 7w K 
DGT	"	"7bq75>7D1J7Krx   c                 s   \        V\        4      '       g   V3p\        ;QJ d    . R  V 4       F  NK  	  5M! R  V 4       4      pV \        \        39   pV'       d   V'       g   \	        RV P
                   R24      h\        ;QJ d    R V 4       F  '       d   K   RM	  RM! R V 4       4      '       g   \	        RV P                   R24      h\        \        V4      4      \        V4      8w  d   \	        RV P                   R24      hM V P                  pT F  p\        TRR
4      pTf   K  T! Y4      pK   	  \        Y4       . p\!        Y14       F?  w  ri\        T\"        4      '       d   TP%                  T	4       K.  TP'                  T	4       KA  	  \        T4      p\)        W4      #   \         dK   p\        T R	R
4      pTR
\        P                  09  d!   TP                  RTP
                  : R24       h R
p?ii ; i)c              3   r   r   r   r   r   rv   r   )_generic_class_getitem.<locals>.<genexpr>g  s     04aq!!4r   zParameter list to z[...] cannot be emptyc              3   r   r   )rl  r   r   rv   r   r  p  s     51#A&&r   FTzParameters to zF[...] must all be type variables or parameter specification variables.z[...] must all be uniquer  Nz-Note: this exception may have been caused by z^ (or the '__init_subclass__' method on a superclass) not calling 'super().__init_subclass__()'__typing_prepare_subst__)r   r   r   r   r   r|   Zallrz   r   setr   r   rr   r  add_noter   zipr   r   r   r   )
r   r   Zis_generic_or_protocolr   eZinit_subclassrt  preparenew_argsnew_args
   &&        rv   _generic_class_getitemr  Y  s    dE""w5040550400D Wh$77$S%5%5$66KL  s55sss5555  /8 9: : s4y>SY& .FGI I '
	++J  Ee%?FG"s)   	&c0!*3NE%..((	 4
 X##1  		#C)<dCMT7+D+D$EE

C$114 5<= 		s   F/ /H:AG??Hc                 s$  a
 \         \        V `
  ! V/ VB  . pR V P                  9   d   \        V P                  9   pMD\        V P
                  9   ;'       d*    V P                  R8g  ;'       d    \        V 4      \        8g  pV'       d   \        R4      hR V P                  9   d   \        V P                  4      pRpV P                   FL  p\        V\        4      '       g   K  VP                  \        J g   K1  Ve   \        R4      hVP                  pKN  	  Vee   \        V4      p\        V4      o
VS
8:  gF   RP!                  V
3R lV 4       4      pRP!                  R V 4       4      p	\        RV R	V	 R
24      hTp\#        V4      V n        R# )__orig_bases__r   z!Cannot inherit from plain GenericNz0Cannot inherit from Generic[...] multiple times.r   c              3   sJ   <"   T F  qS9  g   K  \        V4      x  K  	  R # 5ir   r   )r   r   gvarsetr  rv   r   )_generic_init_subclass.<locals>.<genexpr>  s     "M5aW<L63q665s   ##c              3   r   r   r   )r   Zgr   rv   r   r    s     "95a3q665r   zSome type variables (z) are not listed in Generic[r   )rD  r   r  r   r  	__bases__rz   r   _TypedDictMetar   r   r   r   r   r   r  r   r   )r   r   rM  ZtvarsZerrorZgvarsbaseZtvarsetZs_varsZs_argsr  s   &*,       @rv   _generic_init_subclassr    sy   	'3)4:6:E3<<'3---CMM) 0 0LLJ.0 0I/ 	 ;<<3<<'(););< &&D4//OOw.$#JL L++ ' %jG%jGg%"M5"MM"95"99"7x @::@!D E EEuCrx   c                 sV    V P                  R 4      ;'       d    V P                  R 4      # )Z__)
startswithZendswith)rt   r   rv   
_is_dunderr    s"    ??4 88T]]4%88rx   c                   sn   a a ] tR tRt oRRRR/R ltR tR tR	 tV 3R
 ltR t	R t
V 3R ltRtVtV ;t# )_BaseGenericAliasi  instTnameNc               s8    W n         W0n        Wn        R V n        R # r   )_instr  r   r   )rs   originr  r  r   rv   r  Z_BaseGenericAlias.__init__  s    

 rx   c                s    V P                   '       g1   \        R V P                   RV P                  P                   R24      hV P                  ! V/ VB p Wn        V#   \         d     T# i ; i)zType z cannot be instantiated; use z
() instead)r  r   r  r   rz   __orig_class__	Exception)rs   r   rM  results   &*, rv   r/  Z_BaseGenericAlias.__call__  s    zzzeDJJ< 0##'??#;#;"<JH I I$1&1	$(!
   		s   A A-,A-c                sZ   . pV P                   V9  d   VP                  V P                   4       VP                  V 4      pW^,           R  F  p\        V\        4      '       d    M\        V\
        4      '       gv   \        VRR4      pV'       d	   V! V4      MRp\        V\        4      '       d?   \        ;QJ d    R V 4       F  '       g   K   RM	  RM! R V 4       4      '       d    M5K  K  \        V\        4      '       g   K   M	  VP                  \        4       \        V4      # )ro  Nr&  c              3   sr   "   T F-  p\        V\        4      ;'       d    \        V\        4      x  K/  	  R # 5ir   )r   r   
issubclassr   )r   Zb2r   rv   r   Z4_BaseGenericAlias.__mro_entries__.<locals>.<genexpr>  s0      "+B #2t,HHB1HH"+s   77TF)r   r   rq  r   r  r   rr   r   anyr  r   )rs   r%  resr  bZmethZ	new_basess   &&     rv   r&  Z!_BaseGenericAlias.__mro_entries__  s    ??%'JJt' KKstA!.//a&&q"3T:+/DKT	y%00C "+CCC "+  
  1 Aw'' " JJwSzrx   c                s    VR9   d+   V P                   ;'       g    V P                  P                  # RV P                  9   d(   \	        V4      '       g   \        V P                  V4      # \        V4      h)rz   r   r  )r  r   rz   r   r  rr   r   )rs   rt   r   rv   rw   Z_BaseGenericAlias.__getattr__  s[    //::99!9!99 4==(D1A1A4??D11T""rx   c                s   < \        V4      '       g   VR9   d   \        SV `	  W4       R# \        V P                  W4       R# )r  N>   r  r  _nparams	_defaults)r  rD  __setattr__setattrr   )rs   rt   valrE     &&&rv   r  Z_BaseGenericAlias.__setattr__  s1    dt'RRG*DOOT/rx   c                s6    V P                  \        V4      4      # r   )r>  r   r:  r   rv   r;  Z#_BaseGenericAlias.__instancecheck__  s    %%d3i00rx   c                    \        R 4      h)zBSubscripted generics cannot be used with class and instance checksr  r=  r   rv   r>  Z#_BaseGenericAlias.__subclasscheck__  s     5 6 	6rx   c                s   < \        \        \        SV `  4       \	        V P
                  4       Uu. uF  p\        V4      '       d   K  VNK  	  up,           4      4      # u upi r   )r   r  rD  __dir__dirr   r  rs   rt   rE  r  rv   r  Z_BaseGenericAlias.__dir__  sR    C)$'$8Q$8D
4@P44$8QR S T 	TQs   AA)r   r   r  r  )rz   r{   r|   r}   r  r/  r&  rw   r  r;  r>  r  r~   r   rG  rH  rI  rv   r  r    sC     t $ @#016T Trx   r  c                   s   a a ] tR tRt oRRRR/V 3R lltR tR tR	 tR
 t]	R 4       t
R tR tR tR tR tV 3R ltR tRtVtV ;t# )r   i#  r  Tr  Nc               s6  < \         SV `  WVR 7       \        V\        4      '       g   V3p\        ;QJ d    . R V 4       F  NK  	  5M! R V 4       4      V n        V\
        \        39   p\        VVR7      V n        V'       g   VP                  V n	        R# R# )r  r  c              3   s>   "   T F  pV\         J d   R MTx  K  	  R# 5i).N)_TypingEllipsisr{  r   rv   r   Z)_GenericAlias.__init__.<locals>.<genexpr>A  s&      /)-A &'/%9c )-s   )r   N)
rD  r  r   r   r   r   r   r   r   r{   )rs   r  r   r  r  r   rE  s   &&&$$ rv   r  Z_GenericAlias.__init__=  s    6$&&7D /)-/ /)-/ /#)gx-@#@ 6%=
 $//DO rx   c                    \        V\        4      '       g   \        # V P                  VP                  8H  ;'       d    V P                  VP                  8H  # r   )r   r   NotImplementedr   r   r2  r   rv   __eq__Z_GenericAlias.__eq__K  sF    %//!!5#3#33 4 4MMU^^3	5rx   c                D    \        V P                  V P                  34      # r   )hashr   r   r   r   rv   __hash__Z_GenericAlias.__hash__Q  s    T__dmm455rx   c                r0  r   r1  rs   rx  r   rv   r4  Z_GenericAlias.__or__T  r5  rx   c                r6  r   r1  rs   rw  r   rv   r7  Z_GenericAlias.__ror__W      TZ  rx   c                s.   V P                   \        \        39   d   \        R V  24      hV P                  '       g   \        V  R24      h\        V\        4      '       g   V3p\        R V 4       !  pV P                  V4      pV P                  V4      pV# )z%Cannot subscript already-subscripted r   c              3   r   r   r  r   r   rv   r   Z,_GenericAlias.__getitem__.<locals>.<genexpr>t  s     =1mA..r   )
r   r   r   r   r   r   r   r   _determine_new_argsr  )rs   r   r  Zr   &&  rv   r@  Z_GenericAlias.__getitem__Z  s    " ??w11CD6JKK"""tf$;<== $&&7D==>++D1NN8$rx   c           
     sJ   V P                   pV F  p\        VR R4      pVf   K  V! W4      pK   	  \        V4      p\        V4      pWV8w  d    \        RWV8  d   RMR RV  RV RV 24      h\	        \        W!4      4      p\        V P                  V P                  V4      4      # )r  Nr   r   r   r   r   r   )	r   rr   r   r   r   r  r   _make_substitutionr   )rs   r   r   rt  r  ru  rv  new_arg_by_params   &&      rv   r  Z!_GenericAlias._determine_new_argsy  s     $$Ee%?FG"t*  4y6{<dT[6e"DOTXSY Z''+fKv? @ @F 12T,,T]]<LMNNrx   c           	     sF   . pV EF  p\        V\        4      '       d   VP                  V4       K-  \        VR R4      pV'       d   V! W$,          4      pM{\        VRR4      pV'       g   TpMc. pV FI  p	\        V	\        4      '       d   VP                  W),          4       K2  VP                  W),          4       KK  	  V\        V4      ,          pV P                  \        P                  P                  8X  d+   \        V\        4      '       d   VP                  V4       EK  \        V4      '       d   VP                  V4       EKD  \        V\        4      '       d-   VP                  \        V P                  WB4      4      4       EK  VP                  V4       EK  	  V# )r   Nr   ry   )r   r   r   rr   r   r   r   r   r   r   r   r   r  )
rs   r   r  r  Zold_argZ	substfuncr  Z	subparamsr   r   s
   &&&       rv   r  Z _GenericAlias._make_substitution  s?   G'4((();TBI#$4$=>#G-=rB	 %G G&%a66#NN+;+>?#NN+;+>?	 '
 &eGn5G+//":"::z'SX?Y?Y (*733 (GU++ $11'LM (q r rx   c                sf    V P                  V P                  WP                  V P                  R 7      # )r  r  )rE  r   r  r  rs   r   r   rv   r  Z_GenericAlias.copy_with  s#    ~~doot**4::~VVrx   c                s$   V P                   '       d   R V P                   ,           pM\        V P                  4      pV P                  '       d6   RP	                  V P                   Uu. uF  p\        V4      NK  	  up4      pMRpV RV R2# u upi )r)  r   z()r   r   )r  r   r   r   r   )rs   r  r  r      &   rv   r   Z_GenericAlias.__repr__  su    :::tzz)Ddoo.D===99T]]C]jm]CDD Dqa  	 Ds   'Bc                s(   V P                   '       d   \        4       V P                   ,          pMV P                  p\        V P                  4      p\        V4      ^8X  d"   \        V^ ,          \        4      '       g   Vw  p\        P                  W33# ro  )	r  r   r   r   r   r   r   r  r  )rs   r  r   r   rv   r-  Z_GenericAlias.__reduce__  sg    :::Ytzz*F__FT]]#t9>*T!We"<"<ED&//rx   c                s  < \        V P                  \        4      '       d   \        R V : 24      hV P                  '       d   \
        SV `  V4      # V P                  \        J dR   \        V9   d   R# VP                  V 4      pW^,           R  F$  p\        V\        4      '       g   K  W0Jg   K"  Ru # 	  V P                  3# )r#  Nry   )r   r   r   r   r  rD  r&  r   r   rq  r  )rs   r%  r  r  rE  s   &&  rv   r&  Z_GenericAlias.__mro_entries__  s    doo|44.th788:::7*511??g%5 	D!AQ34[a!233I ! !!rx   c              #  s,   "   \         V ,          x  R # 5ir   )rn   r   r   rv   r  Z_GenericAlias.__iter__  s     Tls   )r   r{   r   )rz   r{   r|   r}   r  r  r  r4  r7  r   r@  r  r  r  r   r-  r&  r  r~   r   rG  rH  rI  rv   r   r   #  sk     40T 0 056"!  <O:<|W
!0" rx   r   c                   s|   a a ] tR tRt oRRRRRR/V 3R llt]R 4       tR	 tR
 tV 3R lt	R t
R tR tRtVtV ;t# )_SpecialGenericAliasi  r  Tr  Ndefaultsc               s   < Vf   VP                   p\        SV `	  WVR7       W n        WPn        VP
                  R8X  d   RVP                   R2V n        R # RVP
                   RVP                   R2V n        R # )Nr  ZbuiltinszDeprecated alias to r   )rz   rD  r  r  r  r{   r|   r  )rs   r  nparamsr  r  r  rE     &&&$$$rv   r  Z_SpecialGenericAlias.__init__  sw    <??D6!
*1&2E2E1FaHDL1&2C2C1DAfFYFYEZZ[\DLrx   c           
     sF  a \        V\        4      '       g   V3pR o\        ;QJ d    . V3R lV 4       F  NK  	  5M! V3R lV 4       4      pV P                  '       d}   \        V4      V P                  8  dc   \        V4      \        V P                  4      ,           V P                  8  d/   . VOV P                  \        V4      V P                  ,
          R O5p\        V4      pW P                  8w  d   V P                  '       d+   RV P                  \        V P                  4      ,
           2pM\        V P                  4      pV P                  '       g   \        V  R24      h\        RW P                  8  d   RMR RV  R	V R
V 24      hV P                  V4      # )rm  c              3   rY  r   rZ  r[  r  rv   r   Z3_SpecialGenericAlias.__getitem__.<locals>.<genexpr>       ;Fq{1c**Fr\  Nr   r   r   r   r   r   r   r   )r   r   r  r   r  r   r   r  )rs   r   r   Zexpectedr   s   &&  @rv   r@  Z _SpecialGenericAlias.__getitem__  sN   &%((YF:;F;;F;;NNNFdmm+Fc$..11T]]BMvMs6{T]]/J/K LMF[
&~~~&t}}s4>>7J'J&KLt}}-===4&(? @AAdZ---G6U"SSbcgbh i''1l+hZI J J~~f%%rx   c                \    \        V P                  VV P                  V P                  R 7      # r  )r   r   r  r  rs   r   r   rv   r  Z_SpecialGenericAlias.copy_with(  s$    T__f"&**4::? 	?rx   c                r'  r(  r*  r   r   rv   r   Z_SpecialGenericAlias.__repr__,  r+  rx   c                s   < \        V\        4      '       d!   \        VP                  V P                  4      # \        V\        4      '       g   \        WP                  4      # \
        SV `  V4      # r   )r   r  r  r   r   rD  r>  )rs   r   rE  rF  rv   r>  Z&_SpecialGenericAlias.__subclasscheck__/  sR    c/00cnndoo>>#}--c??33w(--rx   c                r,  r   r*  r   r   rv   r-  Z_SpecialGenericAlias.__reduce__6  r.  rx   c                r0  r   r1  r  r   rv   r4  Z_SpecialGenericAlias.__or__9  r5  rx   c                r6  r   r1  r  r   rv   r7  Z_SpecialGenericAlias.__ror__<  r  rx   )r  r  r  ry   )rz   r{   r|   r}   r  r   r@  r  r   r>  r-  r4  r7  r~   r   rG  rH  rI  rv   r  r    sZ     	] 	]4 	]" 	] & &.?&."! !rx   r  c                   sJ   a a ] tR tRt oRRRR/V 3R lltV 3R ltRtVtV ;t# )	_DeprecatedGenericAliasi@  r  Tr  Nc               s6   < \         SV `  WWER 7       W0n        R# )r  N)rD  r  _removal_version)rs   r  r  removal_versionr  r  rE  r  rv   r  Z _DeprecatedGenericAlias.__init__A  s     	t? /rx   c                s   < ^ RI pVP                  V P                   RV P                   2V P                  R7       \
        SV `  V4      # )r    Nr   remove)r   _deprecatedr{   r  r  rD  r;  )rs   r  r   rE  s   && rv   r;  Z)_DeprecatedGenericAlias.__instancecheck__G  sJ    q-d6K6K 	 	
 w(..rx   )r  )	rz   r{   r|   r}   r  r;  r~   r   rG  rH  rI  rv   r  r  @  s$     08<0CG0/ /rx   r  c                   s8   a a ] tR tRt oV 3R ltR tRtVtV ;t# )_CallableGenericAliasiO  c           	     s  < V P                   p\        V4      ^8X  d'   \        V^ ,          4      '       d   \        SV `  4       # RRP                  VRR  Uu. uF  p\        V4      NK  	  up4       R\        VR,          4       R2# u upi )r   ztyping.Callable[[r   Nz], r   r   )r   r   r   rD  r   r   r   )rs   r   r  rE  s   &  rv   r   Z_CallableGenericAlias.__repr__P  s    }}t9>nT!W557#%%YYtCRyAy!
1yABC3d2h'(+ 	,As   B
c                s    V P                   p\        V4      ^8X  d   \        V^ ,          4      '       g   \        VRR 4      VR,          3p\        P
                  \        V33# )r   Nr   )r   r   r   r   r  r  r   r  r   rv   r-  Z _CallableGenericAlias.__reduce__Y  sR    }}D	Q>$q'#:#:Sb	?DH,D(D!111rx   ry   )	rz   r{   r|   r}   r   r-  r~   r   rG  rH  rI  rv   r  r  O  s     ,2 2rx   r  c                   s<   a  ] tR tRt o R tR t]R 4       tRtV t	R# )_CallableTypei`  c                r  r  )r  r   r  r  r  r   rv   r  Z_CallableType.copy_witha  s&    $T__f*.**4::G 	Grx   c                s    \        V\        4      '       d   \        V4      ^8w  d   \        R4      hVw  r#\        V\        4      '       d   \        V4      V3pMW#3pV P                  V4      # )r   z6Callable must be used as Callable[[arg, ...], result].)r   r   r   r   r   __getitem_inner__)rs   r   r   r  r  rv   r@  Z_CallableType.__getitem__e  sh    &%((CK1,< < = = dD!!Dk6*F^F%%f--rx   c                s$   Vw  r#R p\        W44      pV\        J d   V P                  \        V34      # \	        V\
        4      '       g   V3p\
        ;QJ d    . R V 4       F  NK  	  5M! R V 4       4      pW#3,           pV P                  V4      # )z.Callable[args, result]: result must be a type.c              3   r   r   r  )r   r   r   rv   r   Z2_CallableType.__getitem_inner__.<locals>.<genexpr>|  s     84C]3''4r   )r   ZEllipsisr  r  r   r   )rs   r   r   r  r   r   rv   r  Z_CallableType.__getitem_inner__s  s    >V)8>>?F";<<$&&7Du848uu8488	!~~f%%rx   ry   N)
rz   r{   r|   r}   r  r@  r   r  r~   r   r   r   rv   r  r  `  s$     G. 
& 
&rx   r  c                   s0   a  ] tR tRt o ]R 4       tRtV tR# )
_TupleTypei  c                s  a \        V\        4      '       g   V3p\        V4      ^8  db   VR,          RJ dU   Ro\        ;QJ d    . V3R lVRR  4       F  NK  	  5M! V3R lVRR  4       4      pV P                  . VO\        N54      # Ro\        ;QJ d    . V3R lV 4       F  NK  	  5M! V3R lV 4       4      pV P                  V4      # )r   .z Tuple[t, ...]: t must be a type.c              3   rY  r   rZ  r[  r  rv   r   )_TupleType.__getitem__.<locals>.<genexpr>  s     D1;q#..r\  Nz*Tuple[t0, t1, ...]: each t must be a type.c              3   rY  r   rZ  r[  r  rv   r   r    r  r\  r   )r   r   r   r  r  )rs   r   r   r]  rv   r@  Z_TupleType.__getitem__  s    &%((YFv;!r
c 14CUDsDUUDsDDF>>"<F"<O"<==:;F;;F;;~~f%%rx   ry   N)rz   r{   r|   r}   r   r@  r~   r   r   r   rv   r  r    s     	& 	&rx   r  c                   sP   a  ] tR tRt o V 3R lR ltV 3R lR ltR tR tRtV t	R	# )
_UnionGenericAliasMetai  c                &   < V ^8  d   QhRS[ RS[/# r   r  r   )objectr   r   r      "rv   r   #_UnionGenericAliasMeta.__annotate__  s     ' 'f ' 'rx   c                P    ^ RI pVP                  RRR7       \        V\        4      # r    N_UnionGenericAliasr     i   )r   r  r   r   rs   r  r   ru   rv   r;  Z(_UnionGenericAliasMeta.__instancecheck__  &    1'B$&&rx   c                r  r  r   r   r  r  rv   r   r    s     ' 'd 't 'rx   c                r  r  )r   r  r  r   r  ru   rv   r>  Z(_UnionGenericAliasMeta.__subclasscheck__  r  rx   c                sh    ^ RI pVP                  RRR7       V\        J g   V\        J d   R# \        # )r    Nr  r  Tr  )r   r  r  r   r  )rs   r3  r   ru   rv   r  Z_UnionGenericAliasMeta.__eq__  s1    1'B&&%5.rx   c                s     \        \        4      # r   )r  r   r   r   rv   r  Z_UnionGenericAliasMeta.__hash__  s    E{rx   ry   N)
rz   r{   r|   r}   r;  r>  r  r  r~   r   r   r   rv   r  r    s(     ' '
' '
 rx   r  c                   s.   a  ] tR tRt o RR/R ltRtV tR# )r  i  r  Nc              sJ    ^ RI pVP                  RRR7       \        V,          # r  )r   r  r   )r   Zself_clsr   r  r   s   """$ rv   rK  Z_UnionGenericAlias.__new__  s$    1'BZ  rx   ry   rz   r{   r|   r}   rK  r~   r   r   r   rv   r  r    s     !d ! !rx   r  c                 s    R  V  4       # )c              3   s:   "   T F  q\        V4      3x  K  	  R # 5ir   )r   r   r   rv   r   Z'_value_and_type_iter.<locals>.<genexpr>  s     -*QQL*r|  ry   )r   r   rv   rX  rX    s    -*--rx   c                   s,   a  ] tR tRt o R tR tRtV tR# )r   i  c                s    \        V\        4      '       g   \        # \        \	        V P
                  4      4      \        \	        VP
                  4      4      8H  # r   )r   r   r  r  rX  r   r2  r   rv   r  Z_LiteralGenericAlias.__eq__  sB    %!566!!'673?STYTbTb?c;dddrx   c                sP    \        \        \        V P                  4      4      4      # r   )r  	frozensetrX  r   r   r   rv   r  Z_LiteralGenericAlias.__hash__  s    I24==ABCCrx   ry   N)rz   r{   r|   r}   r  r  r~   r   r   r   rv   r   r     s     eD Drx   r   c                   rJ  )r   i  c                s   < \        VR,          \        \        34      '       d   . VRR OVR,          O5# \        VR,          \        4      '       d   . VRR OVR,          P                  O5p\
        SV `  V4      # )ro  Nr   )r   r   r   r   r   rD  r  )rs   r   rE  rF  rv   r  Z"_ConcatenateGenericAlias.copy_with  ss    fRj4-00.VCR[.6":..fRj":;;9vcr{9VBZ%8%89Fw ((rx   ry   )rz   r{   r|   r}   r  r~   r   rG  rH  rI  rv   r   r     s     ) )rx   r   c                 s8    \        W R 24      p\        W3R7      # )rR  )r  r   )r   _UnpackGenericAliasrU  ru   rv   rn   rn     s$    ^ zV+E#FGDd99rx   c                   sX   a a ] tR tRt oR tV 3R lt]R 4       t]R 4       tRt	Vt
V ;t# )r  i  c                sB    R \        V P                  ^ ,          4       R2# )ztyping.Unpack[r   )r   r   r   r   rv   r   Z_UnpackGenericAlias.__repr__   s"      
4==+; <=Q??rx   c                sJ   < V P                   '       d   V# \        SV `	  V4      # r   )rj  rD  r@  )rs   r   rE  rF  rv   r@  Z_UnpackGenericAlias.__getitem__  s$    333Kw"4((rx   c                s    V P                   w  p\        V\        \        P                  34      '       d,   VP
                  \        Jd   \        R 4      hVP                   # R# )z*Unpack[...] must be used with a tuple typeN)r   r   r   typesr   r   r   r   r}  r   rv   r   Z2_UnpackGenericAlias.__typing_unpacked_tuple_args__
  sL     }}cM5+=+=>??~~U* LMM<<rx   c                sD    \        V P                  ^ ,          \        4      # r    )r   r   r   r   r   rv   rj  Z7_UnpackGenericAlias.__typing_is_unpacked_typevartuple__  s     $--*L99rx   ry   )rz   r{   r|   r}   r   r@  propertyr   rj  r~   r   rG  rH  rI  rv   r  r    s=     @
)
   : : :rx   r  c                   s    ] tR tRtRtR# )r  i  ry   N)rz   r{   r|   r}   r~   ry   rx   rv   r  r    s    rx   r  Z_MutableMapping__markerc                 s   \        4       pV P                  R R  Fq  pVP                  R9   d   K   VP                  p. VP                  OVO F:  pVP                  R4      '       d   K  V\        9  g   K)  VP                  V4       K<  	  Ks  	  V#   \         d3    \
        P                  T\
        P                  P                  R7      p Li ; i)Nr   Z_abc_r   >   r   r   )r  __mro__rz   __annotations__r  rq   get_annotationsrb  re  r   r  EXCLUDED_ATTRIBUTESadd)r   Zattrsr  Zannotationsrt   s   &    rv   _get_protocol_attrsr  2  s     EECR ==33	..K 3dmm2k2D??7++<O0O		$ 3 ! L  	-==077BB > K	s   B:CCc                 sb   \        V 4      pVP                  '       d   \        R 4      hVP                  \        Jd   R# VP
                   F5  pVP                  P                  R\        4      pV\        Jg   K/  WSn         M	  \        P                  Vn        VP                  ! V .VO5/ VB  R# )z Protocols cannot be instantiatedNr  )	r   _is_protocolr   r  _no_init_or_replace_initr  r   r  r  )rs   r   rM  r   r  Zinits   &*,   rv   r  r  I  s    
t*C
:;; ||33 }}  -EF//L	  LL'''rx   c                 s    \         P                  ! V ^,           4      ;'       g    T#   \         d     Mi ; i \         P                  ! T ^,           4      P                  P                  RT4      #   \        \        3 d     R# i ; i)ro  rz   N)r  Z_getframemodulenamer   Z	_getframeZ	f_globalsr  Z
ValueError)depthZdefaultr   rv   _callerr  f  s{    &&uqy1<<W< }}UQY'1155j'JJJ' s!   #) ) 776A2 2BBc                 s    \        V 4      R9   # )r   >   Nr   r   )r  )r  r   rv   _allow_reckless_class_checksr  q  s     5>777rx   zcollections.abc
contextlibZAbstractContextManagerZAbstractAsyncContextManagerZioZReaderZWriterZosZPathLikec                  s    ^ RI Hp  V # )r    getattr_static)Zinspectr  r  s    rv   _lazy_load_getattr_staticr    s     'rx   c                 (    \         V P                  33# r   )r	   r   )Zpsargsr   rv   _pickle_psargsr    s    6,,...rx   c                 r  r   )r
   r   )Zpskwargsr   rv   _pickle_pskwargsr    s    X00222rx   c                 sH    \        V \        4      '       g   \        R 4      hR# )z"issubclass() arg 1 must be a classN)r   r   r   r   r   rv   _type_check_issubclass_arg_1r    s"     c4  <== !rx   c                   sJ   a a ] tR tRt oV 3R ltV 3R ltR tR tRtVt	V ;t
# )_ProtocolMetai  c               sp  < VR 8X  d   V\         38X  d   M\        V9   d   V F  pV\        \         09   d   K  VP                  \        P                  VP                  . 4      9   d   KG  \        V\         4      '       d   \        VRR4      '       d   Kr  \        RV: 24      h	  \        SV `,  ! WW#3/ VB # )r   r  Fz5Protocols can only inherit from other protocols, got )r   r   r  rz   _PROTO_ALLOWLISTr  r{   r  rr   r   rD  rK  )Zmclsr  r%  Z	namespacerM  r  rE  s   """", rv   rK  Z_ProtocolMeta.__new__  s    :%G:"5VW--}}(8(<(<T__b(QQ"411#D.%@@ $#h(   wt5FvFFrx   c                sr   < \         SV `  ! V/ VB  \        V R R4      '       d   \        V 4      V n        R# R# )r  FN)rD  r  rr   r  __protocol_attrs__rL  rN  rv   r  Z_ProtocolMeta.__init__  s6    $)&)3..%8%=C" /rx   c                s   V \         J d   \        P                  W4      # \        V R R4      '       d   \	        4       '       g   \        V RR4      '       g   \        V4       \        R4      hV P                  '       d_   V P                  P                  R4      \        J d<   \        V4       \        V P                  4      p\        R\        V4      ^R  R24      h\        W4      # )r  F_is_runtime_protocolLInstance and class checks can only be used with @runtime_checkable protocols__subclasshook__zRProtocols with non-method members don't support issubclass(). Non-method members: r   r   )r   r   r>  rr   r  r  r   __non_callable_proto_members__r   r  _proto_hookZsortedr   _abc_subclasscheck)r   r3  Znon_method_attrsru   rv   r>  Z_ProtocolMeta.__subclasscheck__  s    (?))#55C//0223 6>>,U33  222LL$$%78KG,U3#)#*L*L#M ,,/0@,A!B,G+HK  "#--rx   c                s   V \         J d   \        P                  W4      # \        V R R4      '       g   \	        W4      # \        V RR4      '       g   \        4       '       g   \        R4      h\	        W4      '       d   R# \        4       pV P                   F%  p V! W4      pTe   K  Y0P                  9  g   K$   R# 	  R#   \         d      R# i ; i)r  Fr  r  T)r   r   r;  rr   _abc_instancecheckr  r   r  r  r   r  )r   Zinstancer  rt   r  r   rv   r;  Z_ProtocolMeta.__instancecheck__  s     (?))#88sNE22%c44 3U;;,.. < = = c,,24**D$X4 {t+M+MM  +  "  s   C  CCry   )rz   r{   r|   r}   rK  r  r>  r;  r~   r   rG  rH  rI  rv   r  r    s     G&>
.4 rx   r  c                 s   V P                   P                  R R4      '       g   \        # V P                   F  pVP                   Fx  pW#P                   9   d#   VP                   V,          f   \        u u #  KD  \        V\        4      '       g   KM  \        VR R4      '       g   Kb   VP                  pW$9   g   Kw   K  	  \        u # 	  R#   \         d3    \        P                  T\        P                  P                  R7      p LUi ; i)r  Fr   T)r   r  r  r  r  r  r   rr   r  r  rq   r  rb  re  )r   r3  rt   r  annosr   rv   r  r    s    <<NE22&&MMD}}$==&.)) %))ge^U.S.S 00E
 =% "( "!+ ',  ! /??%8%?%?%J%J @ Es   'C:D	D	c                   s>   a a ] tR tRt oRtRtRtV 3R ltRtVt	V ;t
# )r   i+  TFc                s  < \         SV `  ! V/ VB  V P                  P                  R R4      '       gN   \        ;QJ d&    R V P
                   4       F  '       g   K   RM	  RM! R V P
                   4       4      V n        RV P                  9  d   \        V n        V P                  '       d.   V P                  \        P                  J d   \        V n	        R# R# R# )r  Fc              3   s0   "   T F  q\         J x  K  	  R # 5ir   r   r   r  r   rv   r   Z-Protocol.__init_subclass__.<locals>.<genexpr>U  s     "H-Q=-s   Tr  N)rD  r  r   r  r  r  r  r  r  r  r   r  rL  rN  rv   r  ZProtocol.__init_subclass__P  s    !4262 ||66"s"H#--"Hsss"H#--"HHC S\\1#.C  0A0A A3CL !Brx   ry   )rz   r{   r|   r}   r   r  r  r  r~   r   rG  rH  rI  rv   r   r   +  s"     B IL 4 4rx   c                   sb   a a ] tR tRt oV 3R ltR tR tR tR tR t	V 3R lt
R	 tR
tVtV ;t# )_AnnotatedAliasi`  c                s   < \        V\        4      '       d    VP                  V,           pVP                  p\        SV `  WR R7       W n        R# )r   r  N)r   r  __metadata__r   rD  r  )rs   r  metadatarE  r  rv   r  Z_AnnotatedAlias.__init__k  sC    fo..**X5H&&Fk:$rx   c                s>    V^ ,          p\        W P                  4      # r  )r  r  )rs   r   Znew_typeru   rv   r  Z_AnnotatedAlias.copy_withr  s    !9x):):;;rx   c                s    R P                  \        V P                  4      RP                  R V P                   4       4      4      # )ztyping.Annotated[{}, {}]r   c              3   r   r   )reprr{  r   rv   r   Z+_AnnotatedAlias.__repr__.<locals>.<genexpr>z  s     9'8!d1gg'8r   )r   r   r   r   r  r   r   rv   r   Z_AnnotatedAlias.__repr__w  s9    )00t'II9t'8'899
 	
rx   c                sj    \         P                  \        V P                  3V P                  ,           33# r   )r  r  r   r   r  r   r   rv   r-  Z_AnnotatedAlias.__reduce__}  s1    )D,=,=="
 
 	
rx   c                r  r   )r   r  r  r   r  r2  r   rv   r  Z_AnnotatedAlias.__eq__  sJ    %11!!5#3#33 < <%%););;	=rx   c                r  r   )r  r   r  r   r   rv   r  Z_AnnotatedAlias.__hash__  s    T__d&7&7899rx   c                s4   < VR9   d   R# \         SV `  V4      # )rz   r   r  )rD  rw   r  rF  rv   rw   Z_AnnotatedAlias.__getattr__  s    //w"4((rx   c                s    V P                   3# r   )r   r$  r   rv   r&  Z_AnnotatedAlias.__mro_entries__  s    !!rx   )r  )rz   r{   r|   r}   r  r  r   r-  r  r  rw   r&  r~   r   rG  rH  rI  rv   r  r  `  s2     %<



=:)
" "rx   r  c                 s    \        V4      ^8  d   \        R4      h\        V^ ,          4      '       d   \        R4      hRp\        V^ ,          VRR7      p\	        VR,          4      p\        W44      # )r   zUAnnotated[...] should be used with at least two arguments (a type and an annotation).z?Annotated[...] should not be used with an unpacked TypeVarTuplez$Annotated[t, ...]: t must be a type.TrS  :ro  NN)r   r   r   r   r   r  )rs   r   r   r  r  s   &*   rv   r   r     su    b 6{Q ' ( 	( !++ 0 1 	1
0CCTBFVBZ H6,,rx   c                 s   \        V \        4      '       d   \        V R R4      '       g   \        RV ,          4      hRV n        \        4       V n        V P                   F>  p \        \        WR4      4      pV'       g   V P                  P                  V4       K>  K@  	  V #   \         d   p\        RT: R24      ThRp?ii ; i)r  FzB@runtime_checkable can be only applied to protocol classes, got %rTNz,Failed to determine whether protocol member z is a method member)r  r   rr   r   r  r  r  r  callabler  r  )r   rt   Zis_callabler  r  rv   rg   rg     s    & c7##73+N+N "$'( ) 	)#C
 *-C&&&		="73d#;<K 2266t<  ' J  	>th G% % 	s   "B""C-B>>Cc                 s    V# r   ry   )r   r  r   rv   rO   rO     s	     Jrx   c                s    V # r   ry   )r  r      ""rv   rM   rM   	  s	     Jrx   c                sN   \        V R R4      '       d   / # \        P                  pVf   VP                  p\	        V \
        4      '       Ed}   / p\        V P                  4       EF  p\        P                  WtR7      pWEP                  8X  d   VP                  V4       K=  Vf7   \        \        P                  P                  VP                  R4      R/ 4      p	MTp	Vf   \        \!        V4      4      MTp
Vf   Vf   YrVP"                  p\%        WV
R4      w  rVP'                  4        FL  w  r\	        V\(        4      '       d   \+        VRRR7      p\-        WV
RW@RR7      pVf   \        R4      pWV&   KN  	  EK  	  V'       g   WEP                  8X  d   V# VP'                  4        UUu/ uF  w  rV\/        V4      bK  	  upp# \        P                  WR7      pV'       ge   \	        V \0        P2                  4      '       gE   \5        V 4      '       g4   \7        V R4      '       g"   \7        V R	4      '       g   \9        V : R
24      hWEP                  8X  d   V# Vfd   \	        V \0        P2                  4      '       d   V P:                  pM/T p\7        VR4      '       d   VP<                  pK   \        VR/ 4      pVf   TpMVf   Tp\        V RR4      p\%        WVR4      w  rVP'                  4        Fi  w  r\	        V\(        4      '       d,   \+        V\	        V \0        P2                  4      '       * RR7      p\-        WVRW@RR7      pVf   \        R4      pWV&   Kk  	  V'       d   V# VP'                  4        UUu/ uF  w  rV\/        V4      bK  	  upp# u uppi u uppi )__no_type_check__Nr   r   TF)r   r   )r   r   r   r  r   z% is not a module, class, or callable.__wrapped__Z__globals__r   ry   )rr   rq   rb  rd  r   r   Zreversedr  r  rc  updater  r  r  r{   r   Zvarsr   _add_type_params_to_scopeitemsr   r   r  _strip_annotationsr  Z
ModuleTyper
  r   r   r   r  )r   r  r  Zinclude_extrasr   rb  Zhintsr  ZannZbase_globalsZbase_localsr  r  rf  ry  r   Znsobjs   &&&&$            rv   rX   rX   	  s(   @ s'..	 ''F~#tS[[)D%55d5JC&S!&s{{t'Mz[]^'.5o$tDz*7K8#3 -8k..K(A;)>%L"yy{eS))-eQUVE"5R*0tU= JE#d  ++ *: V}}4L9>GA)!,,GG///CE3 0 011.//^,,3'!FGHHc5++,,||HE%//))umR8H?G	#0"5K1+RWXH{{}eS!! & *30@0@ AAE
 5GReij=JEd % #5\ekkm(\mda,>q,A)Am(\\U HT )]s   .N N!c                 s    V '       g   W3# \        V4      p\        V4      pV  FH  pV'       d   VP                  V9  g   K  WAVP                  &   VP                  VP                  R 4       KJ  	  W3# r   )r   rz   pop)r  r  r  r   rt  s   &&&& rv   r  r  	  sa      H~H7mG5>>9',U^^$KK-  rx   c                 s    \        V \        4      '       d   \        V P                  4      # \	        V R 4      '       d=   V P                  \
        \        \        39   d   \        V P                  ^ ,          4      # \        V \        4      '       dd   \        ;QJ d    . R V P                   4       F  NK  	  5M! R V P                   4       4      pWP                  8X  d   V # V P                  V4      # \        V \        4      '       di   \        ;QJ d    . R V P                   4       F  NK  	  5M! R V P                   4       4      pWP                  8X  d   V # \        V P                  V4      # \        V \        4      '       dx   \        ;QJ d    . R V P                   4       F  NK  	  5M! R V P                   4       4      pWP                  8X  d   V # \        P                  ! \         P"                  V4      # V # )r   c              3   r   r   r  r{  r   rv   r   %_strip_annotations.<locals>.<genexpr>	       HZ033Zr   c              3   r   r   r  r{  r   rv   r   r  	  r  r   c              3   r   r   r  r{  r   rv   r   r  	  r  r   )r   r  r  r   r   re   ra   rd   r   r   r   r  r   r   r   r  r  r  )r   Zstripped_argsr   rv   r  r  	  sR   !_%%!!,,//q,ALLX{H4U$U!!**Q-00!]##HQZZHHQZZHHJJ&H{{=))!\""HQZZHHQZZHHJJ&HALL-88!UHQZZHHQZZHHJJ&Hm<<Hrx   c                 s    \        V \        4      '       d   \        # \        V \        \        \
        \        34      '       d   V P                  # V \        J d   \        # \        V \        4      '       d   \        # R # r   )
r   r  r   r  r   r	   r
   r   r   r   tpr   rv   rU   rU   	  s`    $ "o&&"(,$o7 8 8}}	W}"erx   c                 sV   \        V \        4      '       d   V P                  3V P                  ,           # \        V \        \
        34      '       d7   V P                  p\        W4      '       d   \        VR R 4      VR,          3pV# \        V \        4      '       d   V P                  # R# )Nr   ry   )
r   r  r   r  r   r   r   r   r   r   )r  r  r   rv   rT   rT   	  s     "o&&"//11"}l344kk*233CR>3r7+C
"e{{Irx   c                 s"    \        V \        4      # r   )r   r  r  r   rv   rZ   rZ   	  s     b.))rx   c                s0    V ^8  d   QhR\         R\         /# r   r   r   )r\   r   r   rv   r   r    
  s     O Oe O5 Orx   c                s|    \        V 4      p\        V4      \        8  d   VR \         R,           p\        RV 24      h)Nz...z*Expected code to be unreachable, but got: )r	  r   _ASSERT_NEVER_REPR_MAX_LENGTHZAssertionError)r   rf  s   " rv   rN   rN    
  s@    & IE
5z11445=
EeWM
NNrx   c                 sJ   \        V \        4      '       d   \        V 4       F  p\        W4      p\	        VR 4      '       dG   VP
                  V P
                   RVP                   28w  g   \        VRR4      V P                  8w  d   Kh  \        V\        P                  4      '       d   RVn
        \        V\        P                  4      '       d   RVP                  n
        \        V\        4      '       g   K  \        V4       K  	   RV n
        V #   \         d     T # i ; i)r|   r   r{   NT)r   r   r  rr   r   r|   rz   r{   r  ZFunctionTyper  Z
MethodType__func__r^   r   )r   keyr   r   rv   r^   r^   
  s     #ts8C##CC00###*:*:);1S\\N'KK3d3s~~E
 #u1122(,%#u//0015.#t$$c"% & $ J  Js   
D D"!D"c                 st   a  ^ RI pVP                  RRR7       \        P                  ! S 4      V 3R l4       pV# )r    Nztyping.no_type_check_decoratorr  c                  s.   < S! V / VB p\        V4      pV# r   )r^   )r   r   r   r   s   *, rv   wrapped_decoratorZ2no_type_check_decorator.<locals>.wrapped_decoratorE
  s!    $'$'T"rx   r  i   )r   r  r   r   )r   r   r  s   f  rv   r_   r_   =
  s?     9'J__Y  
 rx   c                  r  )zYou should not call an overloaded function. A series of @overload-decorated functions outside a stub module should always be followed by an implementation that is not @overload-ed.)NotImplementedError)r   r   s   *,rv   _overload_dummyr  N
  s    
	9: :rx   c                 s    \        V R V 4      p V \        VP                  ,          VP                  ,          VP                  P
                  &   \        #   \         d	     \        # i ; ir  )rr   _overload_registryr{   r|   Z__code__Zco_firstlinenor   r  )r   fr   rv   rb   rb   [
  sa    @ 	j$'AVZ1<<(89R9RS   s   ?A A'&A'c                 s    \        V R V 4      pVP                  \        9  d   . # \        VP                  ,          pVP                  V9  d   . # \	        W!P                  ,          P                  4       4      # r   )rr   r{   r!  r|   r   values)r   r"  Zmod_dictr   rv   rV   rV   
  s^     	j$'A||--	!!,,/H~~X%	(//122rx   c                  s.    \         P                  4        R # r   )r!  Zclearry   rx   rv   rP   rP   
  s    rx   c                 F     R V n         V #   \        \        3 d     T # i ; iT)Z	__final__r   r   )r"  r   rv   rS   rS   
  s5    4 H I&  	H      TKTVTT_co)	covariantV_coVT_coT_contra)ZcontravariantCT_co)r+  Zbounda  Deprecated alias to collections.abc.Callable.

    Callable[[int], str] signifies a function that takes a single
    parameter of type int and returns a str.

    The subscription syntax must always be used with exactly two
    values: the argument list and the return type.
    The argument list must be a list of types, a ParamSpec,
    Concatenate or ellipsis. The return type must be a single type.

    There is no syntax to indicate optional or keyword arguments;
    such function types are rarely used as callback types.
    r  )r  r  a]  Deprecated alias to builtins.tuple.

    Tuple[X, Y] is the cross-product type of X and Y.

    Example: Tuple[T1, T2] is a tuple of two elements corresponding
    to type variables T1 and T2.  Tuple[int, float, str] is a tuple
    of an int, a float and a string.

    To specify a variable-length tuple of homogeneous type, use Tuple[T, ...].
    )r  a  Deprecated alias to builtins.type.

    builtins.type or typing.Type can be used to annotate class objects.
    For example, suppose we have the following classes::

        class User: ...  # Abstract base for User classes
        class BasicUser(User): ...
        class ProUser(User): ...
        class TeamUser(User): ...

    And a function that takes a class argument that's a subclass of
    User and returns an instance of the corresponding class::

        def new_user[U](user_class: Type[U]) -> U:
            user = user_class()
            # (Here we could write the user object to a database)
            return user

        joe = new_user(BasicUser)

    At this point the type checker knows that joe has type BasicUser.
    c                   @   a  ] tR tRt o Rt]V 3R lR l4       tRtV tR# )r9   i)  c                    < V ^8  d   QhRS[ /# r   r   intr  r  rv   r   ZSupportsInt.__annotate__0  s       rx   c                r   r   ry   r   r   rv   __int__ZSupportsInt.__int__/      rx   ry   N)	rz   r{   r|   r}   r   r   r5  r~   r   r   r   rv   r9   r9   )        I rx   c                   r0  )r7   i4  c                r1  r2  )Zfloatr  r  rv   r   ZSupportsFloat.__annotate__;        5 rx   c                r   r   ry   r   r   rv   	__float__ZSupportsFloat.__float__:  r6  rx   ry   N)	rz   r{   r|   r}   r   r   r9  r~   r   r   r   rv   r7   r7   4  r7  rx   c                   r0  )r6   i?  c                r1  r2  )Zcomplexr  r  rv   r   ZSupportsComplex.__annotate__F  s      W rx   c                r   r   ry   r   r   rv   __complex__ZSupportsComplex.__complex__E  r6  rx   ry   N)	rz   r{   r|   r}   r   r   r:  r~   r   r   r   rv   r6   r6   ?  r7  rx   c                   r0  )r5   iJ  c                r1  r2  )bytesr  r  rv   r   ZSupportsBytes.__annotate__Q  r8  rx   c                r   r   ry   r   r   rv   	__bytes__ZSupportsBytes.__bytes__P  r6  rx   ry   N)	rz   r{   r|   r}   r   r   r<  r~   r   r   r   rv   r5   r5   J  r7  rx   c                   r0  )r8   iU  c                r1  r2  r3  r  r  rv   r   ZSupportsIndex.__annotate__\  s      3 rx   c                r   r   ry   r   r   rv   	__index__ZSupportsIndex.__index__[  r6  rx   ry   N)	rz   r{   r|   r}   r   r   r=  r~   r   r   r   rv   r8   r8   U  r7  rx   c                  @   aa R 5;o3o ! VV3R lRS5
p \         V 4      # )r'  c                   sJ   <a  ] tR tRt Zt o Rt]VV 3R lR l4       tRtV t	R# )r4   i`  c                s    < V ^8  d   QhRSZ/# r2  ry   r   r'  r      "rv   r   ZSupportsAbs.__annotate__g  s       rx   c                r   r   ry   r   r   rv   __abs__ZSupportsAbs.__abs__f  r6  rx   ry   N)
rz   r{   r|   r}   r   r   r   rA  r~   r   r   .type_paramsr'     @rv   r4   r4   `  s#      I  rx   r4   r  Z.generic_baserC  r'      @@rv   #<generic parameters of SupportsAbs>rG  `  s      X rx   c                  r>  )r'  c                   sN   <a  ] tR tRt Zt o Rt]RVV 3R lR ll4       tRtV t	R# )r:   ik  c                s&   < V ^8  d   QhRS[ RSZ/# )r   ndigitsr   r3  r?  r@  rv   r   ZSupportsRound.__annotate__r  s       Q rx   c                r   r   ry   )rs   rH  r   rv   	__round__ZSupportsRound.__round__q  r6  rx   ry   Nr  )
rz   r{   r|   r}   r   r   r   rI  r~   r   rB  rD  rv   r:   r:   k  s#      I  rx   r:   r  rE  rF  rv   %<generic parameters of SupportsRound>rJ  k  s      x rx   c                 sf    \         P                  ! WWCR 7      pV;Vn        VP                  n        V# )r  r   )r   Z
namedtupler   rK  )r  fieldsZannotate_funcr   r  nm_tpls   &&&&& rv   _make_nmtuplerN  v  s1    ##D-5FF8EEF&..5Mrx   c                 s   a a S P                   ! 4        UUu/ uF  w  rV\        VR V R24      bK  	  uppoVV 3R lpV# u uppi )field  annotation must be a typec                 s  < T ;;\         P                  P                  8X  d     S# ;\         P                  P                  8X  d     S#  \         P                  P                  8X  d   \         P                  S4      #  \        T 4      hr   )rq   rb  rd  re  rc  annotations_to_stringr  )r   checked_typesr  s   &rv   annotateZ&_make_eager_annotate.<locals>.annotate  sv    Y1$++11Y$$ 5Z4G4N4N4Y4YY$$ Z$++22*@@GG)&11rx   )r  r   )r  r  r  rS  rR  s   f   @rv   _make_eager_annotaterT  }  sO    %*[[]4%2 +cVC58R+STT%24M2 O4s   A c                   rA  )NamedTupleMetai  c                s|  a R V9   d   \        R4      hV F$  pV\        Jg   K  V\        Jg   K  \        R4      h	  \        ;QJ d    . R V 4       F  NK  	  5M! R V 4       4      pRV9   d!   VR,          p\	        V4      p\        V4      pM\        P                  V4      ;oee   \        P                  S\        P                  P                  4      p\	        V4      pVP                  ! 4        F  p\        VR4       K  	  V3R lpM. pR p. p	V FY  p
W9   d   V	P                  V
4       K  V	'       g   K&  \        R	T
 R
\        V	4      ^8  d   RMR RRP                  V	4       24      h	  \!        YTV	 Uu. uF  qV,          NK  	  upVR,          R7      pW,n        \        V9   d   \$        p\'        V4      Vn        VP+                  4        Fk  w  rV\,        9   d   \/        RV,           4      hV\0        9  g   K/  WP2                  9  d   \5        WV4        \7        V4      P8                  p V! WV4       Km  	  \        V9   d   VPA                  4        V# u upi   \:         d7   pTP=                  R\7        T4      P>                  : RT: RT: 24       h Rp?ii ; i  \.         d     K  i ; i)rG  zQuses of super() and __class__ are unsupported in methods of NamedTuple subclassesz3can only inherit from a NamedTuple type and Genericc              3   sD   "   T F  q\         J d   \        MTx  K  	  R # 5ir   )_NamedTupler   )r   r  r   rv   r   Z)NamedTupleMeta.__new__.<locals>.<genexpr>  s     O{2e<s    r  Nzfield annotation must be a typec                 s   < \         P                  SV 4      pV \         P                  P                  8w  d4   VP	                  4        UUu/ uF  w  r#V\        VR V R24      bK  	  upp# V# u uppi )rO  rP  )rq   call_annotate_functionrb  rc  r  r   )r   r  r  r  original_annotates   &   rv   rS  Z(NamedTupleMeta.__new__.<locals>.annotate  su    +BB%v/077>>>,1KKM;,9  SF3%?Y2Z![[,9; ;;s   
A,c                 s    / # r   ry   r   r   rv   <lambda>Z(NamedTupleMeta.__new__.<locals>.<lambda>  s    brx   zNon-default namedtuple field z cannot follow default fieldsZ Z r   r{   rK  z&Cannot overwrite NamedTuple attribute zError calling __set_name__ on z
 instance z in )!r   rV  r   r   r   rT  rq   !get_annotate_from_class_namespacerW  rb  re  r#  r   r   r   r   rN  r  r  classmethod__class_getitem__r  _prohibitedr   _special_fieldsr  r   Z__set_name__ZBaseExceptionr  rz   r  )r   typenamer%  nsr  r  field_namesrS  r   Zdefault_namesZ
field_namenrM  Zclass_getitemr  r  Zset_namer  rX  s   &&&&              @rv   rK  ZNamedTupleMeta.__new__  s   b ce eD;&4w+>IK K  OOOOO"()Eu+K+E2H#6#X#XY[#\\i'>>!#6#=#=#H#HJEu+K ||~C!BC & K(H%J$$Z0"?
| L>*-m*<q*@3b"I#'99]#;"<!> ? ?	 & xh8E(F1A(F&(&68 !e2M'2='AF$
HCk!$%MPS%STTH$nn,F-#Cy55H c2 #( e$$&; )G( ) 

<T#Y=O=O<R S((+wd8,@  & s0   ?I##J,9	I((J)31J$$J),J;:J;ry   Nr  r   r   rv   rU  rU    s     I Irx   rU  c                sH   V\         J d+   V'       d   R pRpMdRpRV  RV : R2pRV,           R,           pMGVf1   V'       d   \        R	4      hR
pRV  RV : R2pRV,           R,           pMV'       d   \        R4      hV\         J g   Vf)   ^ RIpVP                  XXRR7       VP	                  4       pV UUu/ uF  w  rxV\        VRV R24      bK  	  p	ppV UU
u. uF  w  rzVNK	  	  ppp
\        W\        V	4      \        4       R7      p\        3Vn
        V# u uppi u up
pi )z3Creating NamedTuple classes using keyword argumentszq{name} is deprecated and will be disallowed in Python {remove}. Use the class-based or functional syntax instead.2Failing to pass a value for the 'fields' parameter`z = NamedTuple(z, [])`z{name} is deprecated and will be disallowed in Python {remove}. To create a NamedTuple class with 0 fields using the functional syntax, pass an empty list, e.g. r   Nz\Cannot pass `None` as the 'fields' parameter and also specify fields using keyword arguments(Passing `None` as the 'fields' parameterzIEither list of fields or keywords can be provided to NamedTuple, not bothZmessager  rO  rP  r   r  )r	  r   r   r  r  r   rN  rT  r  rD   r  )ra  rL  rM  deprecated_thingdeprecation_msgexampler   rd  r   r  rW  rc  Znts   "",          rv   rD   rD     st   ( TD 
  T(>(VDG, 
 O 
B 
  J(>(VDG, 
 O 
 C D 	Dfn-wW! As*DEFF 
 !!'(1K(	x.B5.IRYR[	\B#BI!(s   7DDc                     \         3# r   )rV  r%  r   rv   _namedtuple_mro_entriesro  %  s
    >rx   c              #   s@  "    \        V 4      pV\        J d!   \        V 4      pV'       d   V^ ,          p K4  R# V\        J d   \        x  \        V 4      w  p KW  V\        J d   \        x  \        V 4      w  p Kx  V\
        J d   \
        x  \        V 4      w  p K  R# 5iTN)rU   r   rT   re   ra   rd   )annotation_typeZannotation_originZannotation_argsr   rv   _get_typeddict_qualifiersrr  ,  s     
&7	)&7O"1!"4(*N!)/!:_+-!)/!:_(*N!)/!:_s   BBc                   s8   a  ] tR tRt o RR lt]tR t]tRt	V t
R# )r  iB  c                sF  aaaaaa S F-  p\        V4      \        Jg   K  V\        Jg   K$  \        R 4      h	  \        ;QJ d    R S 4       F  '       g   K   RM	  RM! R S 4       4      '       d	   \        3pMRpVP                  RR4      p\         P                  \        V. VO\        N5V4      o\        SR4      '       g   SSn	        Ve   RoVoMN\        P                  V4      ;oe2   \        P                  S\        P                  P                  SR7      oMRo/ oRoSP                  4        UU	u/ uF  w  rV\!        V	SSSP"                  R	7      bK!  	  up	po\%        4       p
\%        4       p\%        4       p\%        4       pS F  pVP&                  P)                  R
\%        4       4      pW,          p
W,          pVP&                  P)                  R\%        4       4      pW,          p
W,          pVP+                  VP&                  P)                  RR4      4       VP+                  VP&                  P)                  RR4      4       K  	  SP                  4        F  w  pp\%        \-        V4      4      p\.        V9   d   RpM\0        V9   d   RpMTpV'       d$   V
P3                  V4       VP5                  V4       M"VP3                  V4       V
P5                  V4       \6        V9   d+   VV9   d   \        RV: R24      hVP3                  V4       K  VP3                  V4       VP5                  V4       K  	  VVVVVV3R lpVSn        \;        V
4      Sn        \;        V4      Sn        \;        V4      Sn         \;        V4      Sn!        VSn"        S# u up	pi )zHcannot inherit from both a TypedDict type and a non-TypedDict base classc              3   sB   "   T F  p\        V\        4      x  K  	  R # 5ir   )r  r   r  r   rv   r   Z)_TypedDictMeta.__new__.<locals>.<genexpr>P  s     5u!z!W%%us   TFr  Nr  r   z?TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type)r   r   __required_keys____optional_keys____readonly_keys____mutable_keys__zCannot override mutable key z with read-only keyc                 s  < / pS FI  pV\         J d   K  VP                  pVf   K!  \        P                  W0VR7      pVP	                  V4       KK  	  S
es   \        P                  S
V SR7      pV \        P
                  P                  8w  d;   VP                  4        UUu/ uF  w  rgV\        VS	SP                  R7      bK   	  pppM|V \        P
                  P                  8X  d   \        P                  S4      pMGV \        P
                  P                  \        P
                  P                  39   d   SpM\        V 4      hVP	                  V4       V# u uppi )Nrs  ri  )r   r   rq   rW  r  rb  rc  r  r   r{   rQ  re  rd  r  )r   r  r  Zbase_annotateZ
base_annosZownrd  r  r%  r   own_annotateown_annotationsown_checked_annotationstp_dicts   &       rv   r   Z,_TypedDictMeta.__new__.<locals>.__annotate__  sD   E7? $ 1 1 (0GG! H 7
Z(  ')@@ & A 9077>>> &)YY[%0EA ;r3w7I7IJJ%0   .55<<<)??P/66AACVC]C]CcCcdd-)&11LLLs   !$Ery   )#r   r  r   r   r  r  rK  r   r   r  rq   r[  rW  rb  re  r  r   r{   r  r   r  r  rr  re   ra   r  Zdiscardrd   r   r  rt  ru  rv  rw  Z	__total__)r   r  r%  rb  totalr  Zgeneric_baseZns_annotationsrd  r  Zrequired_keysZoptional_keysZreadonly_keysZmutable_keysZbase_requiredZbase_optionalZannotation_keyrq  Z
qualifiersZis_requiredr   r   rx  ry  rz  r{  s   &&f&&                @@@@@rv   rK  Z_TypedDictMeta.__new__C  sD    DDz/D4G !A B B 
 35u53335u555#:LL 148,,~t5J|5JT5JBOw 011%*G"%L,O1SSTVWWld1HH188CC7 I O  L OO )..0#
0 {2s'':L:LMM0#
 uD MM--.A35IM*M*M MM--.A35IM*M*M  !2!23F!KL 1 12Db IJ  0G/L/L/N+NO6GHJ:%"
*##!!.1%%n5!!.1%%n5:%!\1#6~6H-.  !!.1  0%%n53 0O@	 	8  ,$-m$<!$-m$<!$-m$<!#,\#: !o#
s   :%Nc                r  )z4TypedDict does not support instance and class checksr  )r   r3  r   rv   r>  Z _TypedDictMeta.__subclasscheck__  s    NOOrx   ry   Nr%  )rz   r{   r|   r}   rK  r   r/  r>  r;  r~   r   r   r   rv   r  r  B  s!     {z HP *rx   r  r|  c               s   V\         J g   VfC   ^ R IpV\         J d   RpMRpRV  RV : R2pRV,           R,           pVP                  WFRR7       / pR	\        V4      /p\	        4       pVe   WR
&   \        V RWrR7      p	\        3V	n        V	# )Nre  rg  rf  z = TypedDict(z, {{}})`z{name} is deprecated and will be disallowed in Python {remove}. To create a TypedDict class with 0 fields using the functional syntax, pass an empty dictionary, e.g. r   rh  r  r{   )r|  r  ry   )r	  r   r  r   r  r  rE   r  )
ra  rL  r|  r   rj  rl  rk  rb  r   Ztds
   ""$       rv   rE   rE     s    n fnYSIhZ}XLE. 
  	-wW
T&\	*BYF!<	"b	6B"BIrx   c                 rm  r   )
_TypedDictrn  r   rv   rY  rY    s    :-rx   c                 J    \        WP                   R 24      p\        W34      # z accepts only a single type.r   r  r   rU  ru   rv   re   re      s'    ( zjj\1M#NODw''rx   c                 r~  r  r  rU  ru   rv   ra   ra   8  s'     zjj\1M#NODw''rx   c                 r~  r  r  rU  ru   rv   rd   rd   K  s'      zjj\1M#NODw''rx   c                   sH   a  ] tR tRt o ]tR tR tR tR t	R t
R tRtV tR	# )
r]   i_  c                s    Wn         R V9   d   VP                  R 4      R,          pWn        W n        \	        4       pVR8w  d	   W0n        R# R# )r   ZtypingNr   )r|   Z
rpartitionrz   __supertype__r  r{   )rs   r  r  Zdef_mods   &&& rv   r  ZNewType.__init__w  sF     $;??3'+D)h%O rx   c                s<   a V P                   o ! V3R  lR4      pV3# )c                   s.   <a  ] tR tRt o V3R ltRtV tR# )&NewType.__mro_entries__.<locals>.Dummyi  c           	     sH   < V P                   p\        R V RV: RS R24      h)zGCannot subclass an instance of NewType. Perhaps you were looking for: `z = NewType(r   z)`)rz   r   )r   Zsubclass_namesuperclass_namer  rv   r  Z8NewType.__mro_entries__.<locals>.Dummy.__init_subclass__  s:     #%k-1B"_DUUWY rx   ry   N)rz   r{   r|   r}   r  r~   r   )r   r  s   @rv   Dummyr    s      rx   r  )rz   )rs   r%  r  r  s   && @rv   r&  ZNewType.__mro_entries__  s!     --	 	 xrx   c                s8    V P                    R V P                   2# )r   )r{   r|   r   r   rv   r   ZNewType.__repr__  s    //"!D$5$5#677rx   c                r,  r   )r|   r   r   rv   r-  ZNewType.__reduce__  s       rx   c                r0  r   r1  r2  r   rv   r4  ZNewType.__or__  r5  rx   c                r6  r   r1  r2  r   rv   r7  ZNewType.__ror__  r8  rx   )r{   rz   r|   r  N)rz   r{   r|   r}   r   r/  r  r&  r   r-  r4  r7  r~   r   r   r   rv   r]   r]   _  s/     , H&8!"" "rx   c                   s  a  ] tR tRt o R+t]]V 3R lR l4       4       t]]V 3R lR l4       4       t]V 3R lR l4       t	]]V 3R lR	 l4       4       t
]V 3R
 lR l4       t]V 3R lR l4       t]V 3R lR l4       t]R,V 3R lR ll4       t]V 3R lR l4       t]R,V 3R lR ll4       t]R,V 3R lR ll4       t]R-V 3R lR ll4       t]V 3R lR l4       t]V 3R lR l4       t]R.V 3R lR  ll4       t]V 3R! lR" l4       t]V 3R# lR$ l4       t]V 3R% lR& l4       t]V 3R' lR( l4       t]V 3R) lR* l4       tR+tV tR# )/rH   i  c                r1  r2  r   r  r  rv   r   IO.__annotate__        c rx   c                r   r   ry   r   r   rv   modeZIO.mode       	rx   c                r1  r2  r   r  r  rv   r   r    r  rx   c                r   r   ry   r   r   rv   r  ZIO.name  r  rx   c                   < V ^8  d   QhRR/# r   r   Nry   r  r  rv   r   r          t rx   c                r   r   ry   r   r   rv   closeZIO.close  r6  rx   c                r1  r2  r   r  r  rv   r   r           rx   c                r   r   ry   r   r   rv   closedZ	IO.closed  r  rx   c                r1  r2  r3  r  r  rv   r   r    s       rx   c                r   r   ry   r   r   rv   filenoZ	IO.fileno  r6  rx   c                r  r  ry   r  r  rv   r   r    r  rx   c                r   r   ry   r   r   rv   flushZIO.flush  r6  rx   c                r1  r2  r   r  r  rv   r   r    r  rx   c                r   r   ry   r   r   rv   isattyZ	IO.isatty  r6  rx   c                r  )r   rd  r   r4  rL   r  r  rv   r   r    s      c 6 rx   c                r   r   ry   )rs   rd  r   rv   readZIO.read  r6  rx   c                r1  r2  r   r  r  rv   r   r          $ rx   c                r   r   ry   r   r   rv   readableZIO.readable  r6  rx   c                r  )r   limitr   r  r  r  rv   r   r    s      c 6 rx   c                r   r   ry   )rs   r  r   rv   readlineZIO.readline  r6  rx   c                s6   < V ^8  d   QhRS[ RS[S[,          /# )r   hintr   )r4  r   rL   r  r  rv   r   r    s      c 4< rx   c                r   r   ry   )rs   r  r   rv   	readlinesZIO.readlines  r6  rx   c                s,   < V ^8  d   QhRS[ RS[ RS[ /# )r   offsetwhencer   r3  r  r  rv   r   r    s"      3  C rx   c                r   r   ry   )rs   r  r  s   &&&rv   seekZIO.seek  r6  rx   c                r1  r2  r   r  r  rv   r   r    r  rx   c                r   r   ry   r   r   rv   seekableZIO.seekable  r6  rx   c                r1  r2  r3  r  r  rv   r   r    r  rx   c                r   r   ry   r   r   rv   tellZIO.tell  r6  rx   Nc                s4   < V ^8  d   QhRS[ R,          RS[ /# )r   sizeNr   r3  r  r  rv   r   r    s      S4Z 3 rx   c                r   r   ry   )rs   r  r   rv   truncateZIO.truncate  r6  rx   c                r1  r2  r   r  r  rv   r   r    r  rx   c                r   r   ry   r   r   rv   writableZIO.writable  r6  rx   c                r  r   rZ  r   )rL   r4  r  r  rv   r   r    s      v # rx   c                r   r   ry   rs   rZ  r   rv   writeZIO.write  r6  rx   c                s4   < V ^8  d   QhRS[ S[,          RR/# )r   linesr   N)r   rL   r  r  rv   r   r    s      V  rx   c                r   r   ry   )rs   r  r   rv   
writelinesZIO.writelines  r6  rx   c                s0   < V ^8  d   QhRS[ S[,          /# r2  )rH   rL   r  r  rv   r   r     s      2f: rx   c                r   r   ry   r   r   rv   	__enter__ZIO.__enter__  r6  rx   c                r  r  ry   r  r  rv   r   r    s      $ rx   c                r   r   ry   )rs   r   rf  Z	tracebacks   &&&&rv   __exit__ZIO.__exit__  r6  rx   ry   )r   r  r   )rz   r{   r|   r}   r   r  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r~   r   r   r   rv   rH   rH     s     I                                               rx   c                   s\   a  ] tR tRt o Rt]V 3R lR l4       t]V 3R lR l4       tRtV t	R# )rG   i  c                s6   < V ^8  d   QhRS[ S[,          RS[/# r  )r;  Z	bytearrayr4  r  r  rv   r   BinaryIO.__annotate__  s       uy( S rx   c                r   r   ry   r  r   rv   r  ZBinaryIO.write  r6  rx   c                r1  r2  rG   r  r  rv   r   r    s      8 rx   c                r   r   ry   r   r   rv   r  ZBinaryIO.__enter__  r6  rx   ry   N)
rz   r{   r|   r}   r   r   r  r  r~   r   r   r   rv   rG   rG     s2      I   rx   c                   s   a  ] tR tRt o Rt]]V 3R lR l4       4       t]]V 3R lR l4       4       t]]V 3R lR l4       4       t	]]V 3R lR	 l4       4       t
]]V 3R
 lR l4       4       t]V 3R lR l4       tRtV tR# )rK   i  c                r1  r2  r  r  r  rv   r   TextIO.__annotate__  s       rx   c                r   r   ry   r   r   rv   bufferZTextIO.buffer  r  rx   c                r1  r2  r   r  r  rv   r   r  "        # rx   c                r   r   ry   r   r   rv   encodingZTextIO.encoding   r  rx   c                s.   < V ^8  d   QhRS[ R,          /# r  r   r  r  rv   r   r  '  s      d
 rx   c                r   r   ry   r   r   rv   errorsZTextIO.errors%  r  rx   c                r1  r2  r   r  r  rv   r   r  ,  s       rx   c                r   r   ry   r   r   rv   line_bufferingZTextIO.line_buffering*  r  rx   c                r1  r2  )r   r  r  rv   r   r  1  r  rx   c                r   r   ry   r   r   rv   newlinesZTextIO.newlines/  r  rx   c                r1  r2  )rK   r  r  rv   r   r  5  s      6 rx   c                r   r   ry   r   r   rv   r  ZTextIO.__enter__4  r6  rx   ry   N)rz   r{   r|   r}   r   r  r   r  r  r  r  r  r  r~   r   r   r   rv   rK   rK     s      I                rx   c                  s$   a R 5;o3V3R lR lu6# )r'  c                "   < V ^8  d   QhRSRS/# )r   r   r   ry   )r   r'  r  rv   r   r   9  s        rx   c                sj    \        R \        V 4      P                  : 2\        P                  R7       V # )zRuntime type is )Zfile)Zprintr   rz   r  Zstderrr   r   rv   rf   rf   9  s*     
T#Y//2
3#**EJrx   ry   )	.defaultsr'      @rv   #<generic parameters of reveal_type>r  9  s      rx   c                   s6   a  ] tR tRt o V 3R l! 4       tRtV tR# )_IdentityCallableiL  c                  s(   <a R 5;o3VV3R lR lu6# )r'  c                s&   < V ^8  d   QhRSZRSZ/# r  ry   r?  r@  rv   r   Z_IdentityCallable.__annotate__M  s      q  rx   c                r   r   ry   r}  r  rv   r/  Z_IdentityCallable.__call__M  s    rx   ry   )r  r'  r   s    @rv   Z <generic parameters of __call__>Z2_IdentityCallable.<generic parameters of __call__>M  s      rx   ry   N)rz   r{   r|   r}   r/  r~   r   r   r   rv   r  r  L  s       rx   r  
eq_defaultorder_defaultkw_only_defaultfrozen_defaultfield_specifiersc                s    V ^8  d   QhR\         R\         R\         R\         R\        \        \        ,          \        R\        3,          ,          R3,          R\        R\
        /# )	r   r  r  r  r  r  .rM  r   )r   r   r   r   r   r  r   r   rv   r   r   Q  su     Q QQ Q 	Q
 Q DIc(::C?@Q Q Qrx   c                 s(   a aaaaa V VVVVV3R  lpV# )c                 s.   < R SRSRSRSRSRS/V n         V # )r  r  r  r  r  rM  )Z__dataclass_transform__)Z	cls_or_fnr  r  r  r  rM  r  s   &rv   r   Z&dataclass_transform.<locals>.decorator  s4    *]n 0f-
	) rx   ry   )r  r  r  r  r  rM  r   s   dddddl rv   rQ   rQ   Q  s    N	 	 rx   _Funcr  c                s:    V ^8  d   Qh\         R\        3,          # )r   .)r   r   Z.formatr   rv   r  r    s      Xc3h rx   c                  s,   a R RR l6;o3V3R lR lu6# )Fr  c                s     V ^8  d   Qh\         # r   )r  r  r   rv   r  r    s    rx   c                r  )r   methodr   ry   )r   r  r  rv   r   r     s        q    rx   c                r$  r%  )Z__override__r   r   )r  r   rv   rc   rc     s6    2" M I&  	Mr&  ry   )r  r  r  rv    <generic parameters of override>r    s    XX    rx   c                rg  r   r  r   r  r   r   rv   r   r     s      D  rx   c                sn    \        V \        4      ;'       d    \        V R R4      ;'       d
    V \        8g  # )r  F)r   r   rr   r   r  r   rv   rY   rY     s:     	2t 	 	B.	 	(Nrx   c                sF    V ^8  d   QhR\         R\        \        ,          /# r  )r   r  r   r   r   rv   r   r     s     , ,T ,3 ,rx   c                sl    \        V 4      '       g   \        V : R 24      h\        V P                  4      # )z is not a Protocol)rY   r   r  r  r  r   rv   rW   rW     s1     r??2& 2344R**++rx   c                 s   V R 8X  d   \         P                  pMV R	9   d   ^ RIp\        \	        W 4      ^4      pMwV R
9   d.   ^ RIp\        \	        VRV  24      ^V \        R,          3R7      pMCV R8X  d&   ^ RIpRpVP                  V\        ^R7       \        pM\        R\        : RV : 24      hV\        4       V &   V# )r   NZAbstract)r  r  Z_collect_parameterszThe private _collect_parameters function is deprecated and will be removed in a future version of Python. Any use of private functions is discouraged and may break in the future.r   zmodule z has no attribute >   rI   rJ   >   r   r2   )rq   r   re_aliasrr   r  r   r   r   r   r   r   rz   r   )rt   r   r  r  r   r   s   &     rv   rw   rw     s     |!,,	%	%WR&*	:	:WZ8D6):;QTUY\`U`Tbc	&	&; 	
 	l-?AN&wxl2DTHMNNGIdOJrx   r   rp  >   r  r  r  r   r   r  r  r  >   r  rK  r   r  r   r{   r  r   Z__match_args__r  r}   r  __annotate_func__r]  Z__abstractmethods____annotations_cache__r~   )ro  Z__main__r   )r   r,   r!   r"   r.   r-   r   r*   r   r0   r3   ZBuffer)NNFr  r   ry   )ry   >
   Z_makerK  Z_asdictr`  Z_sourcer  Z_replacer   Z__getnewargs__Z_field_defaults>   rz   r{   r   r  r  r  )r   r   r   r   r   Zcollections.abcZcopyregr   r  r  r  r   Z_typingr   r   r   r   r	   r
   r   r   r   r   Z__all__ro   rq   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r	  r  r  r  r  r   rB  r   rC  r   r`   r\   rh   r[   r   r   r   r   rk   r   rl   rm   r   rR   r   rl  rn  rz  r~  r  r  r  r  r  r   r  r  r  r  r  r  r  rX  r   r   rn   r  r  Z_TYPING_INTERNALSZ_SPECIAL_NAMESr  r  r  r  r  r  r   r  r   r   r  Zpickler  r;  r  r>  r   r  r  r\  r  r   r  r   rg   rO   rM   rX   r  r  rU   rT   rZ   r  rN   r^   r_   r  Zpartialr   r!  rb   rV   rP   rS   r'  r(  r)  r*  r,  r-  r.  r/  r;  r   rL   r  r   r,   r/   r.   r-   r!   r"   r3   r*   r   r0   r   r  rB   r   r(   r$   r&   r)   r'   r   r   r   r   r@   Zdequer=   r  rC   r%   r#   r    r+   r>   r?   rA   r<   r;   rF   ZNoneTyper1   r   r9   r7   r6   r5   r8   r4   r:   rN  rT  r^  r_  rU  rD   rK  rV  ro  r&  rr  r  rE   r}  re   ra   rd   r]   ri   rj   rH   rG   rK   rf   r  rQ   r  rc   rY   rW   rw   ry   rx   rv   <module>r     s  * (  #     
    uu 
u 	u
 u u u u u u u u u u u  !u" #u$ %u* +u, -u. /u0 1u2 3u4 5u6 7u8 9u: ;u< =u> ?u@ AuB CuD EuF GuH IuJ KuL MuN OuP QuR SuT UuV WuX Yu^ _u` aub cud euf guh iuj kul mur sut uuv wux yuz {u| }u~ u@ 
AuB CuD EuF GuH IuN OuP 	QuR SuT UuV Wu\ ]u^ _u` aub cud euf guh iuj kul mun oup qur sut uuv wux yuz {u| }u~ u@ AuB CuD EuF GuH IuJ KuL MuN OuP QuR SuT UuV WuX YuZ [u\ ]u^ _u` aub cud euf guh iun, , )* 5  PU ]a B@
0./t /dS>  	
U >
K  K	 2; <y{ <<"&<6:<NS<~F F ((/6<t (/V0\ 0	"t 	"$H $$ 4 4( 4 40 4 4& 4 44 ( (* ( (* " "
 
2  2B 4 4  6 62 4( 4(n A( A(H	T 	; ; 	;
 ; ; ; [;|NO&R" 9$ 9$x#&L9VTd VTHZ%T ZB9!<):$ 9!x/2$ /2L-t 2"&( &B&%T &T ,!#9 !.D= D)}D ) /: /:d:-t ::3 3        (.8<U;VV .(:	8  
 +-JK8X
:,	    
  *66 7/ }n -3  0 1$ .. .. >"TG Tn  :24w- 24j1"lM 1"h 
9-  9-x'T r]!r]n	2<4*$ !$ O2!H": !!2!2;!EF &R	3
!N CLT]T]v&v&4(:T24t4
 
5#	& 
+//**A.;??,,a0	;??,,a0	{44a8{44a8+//**A.+//**A.KOO..2
{$$a(;??,,a0	KOO..2
1115 	  [__((!-@KOO..2

((!
,66:+//**A.88!<$OO7
 	5"5w7	  dAE/{  !'2S!%e,9ae+>	[__00!4+//**A.;??,,a0	KOO..2
dAE/[,,amD[,,a0
$$a
(+&&*;??,,a5>>5>>:Z[	66U^^DUVdAE/ 2 (   H   h   H   H        D E  D EJT JZ !* @D ll><R@ 5
 ,D*T D*N  ) Qd Qf \\.+r2>
7	  ( (. ( ($ ( (&;" ;"~  ` `Fr%y  RW  F & 
QQ  Q "	Q
 !Q DFQ Qh      F*,&rx   