+
    ÿ*ój{   ã                  óH  € R t ^ RIHt ^ RIt^ RIt^ RIHtHt ^ RI	H
t
 ^ RIHtHt ^ RIHt ^ RIHtHtHtHt ^ RIHt ^ R	IHtHtHtHt ^ R
IHt ^ RIHt ^ RI H!t! ^ RI"H#t# ^RI$H%t% ^RI&H't'H(t( ^RI)H*t* ^RI+H,t, ^RI-H.t.H/t/ ^RI0H1t1 ^RI2H3t3 ^RI4H5t5H6t6H7t7 ]'       d#   ^ RI8H9t9 ^RI:H;t;H<t< ^RI=H>t> ^RI?H@t@HAtA ^RIBHCtC  ! R R]34      tD]PŠ                  ! RRR7       ! R R 4      4       tF]PŠ                  ! RRR7       ! R! R"4      4       tGR# R$ ltH]
R% R& l4       tIR' R( ltJRLR* R+ lltKR, R- ltLR. R/ ltMR0 R1 ltN0 RMmtO0 RNmtP]
R2 R3 l4       tQR4RR5R/R6 R7 lltRR8 R9 ltSR:]/R; R< lltTR=RR4R/R> R? lltUR@ RA ltVRB RC ltWRD RE ltXRF RG ltYRHRRIR)/RJ RK lltZR# )OzmPrivate logic related to fields (the `Field()` function and `FieldInfo` class), and arguments to `Annotated`.)ÚannotationsN)ÚCallableÚMapping)Úcache)Ú	ParameterÚismethoddescriptor)ÚPattern)ÚTYPE_CHECKINGÚAnyÚTypeVarÚcast)ÚPydanticUndefined)ÚTypeFormÚTypeIsÚget_argsÚ
get_origin)Útyping_objects)ÚAnnotationSource)ÚPydanticDeprecatedSince211)ÚPydanticUserError)ÚAliasGenerator)Ú	_genericsÚ_typing_extra)ÚConfigWrapper)Úextract_docstrings_from_cls)Úimport_cached_base_modelÚimport_cached_field_info)Ú
NsResolver)ÚRepresentation)Úcan_be_positionalÚget_first_not_noneÚsmart_deepcopy©ÚBaseMetadata)Ú	FieldInfoÚModelPrivateAttr)Ú	BaseModel)ÚPydanticDataclassÚStandardDataclass)ÚDecoratorInfosc                  ó   € ] tR t^'tRtRtRtR# )ÚPydanticMetadataz0Base class for annotation markers like `Strict`.© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__Ú__static_attributes__r,   ó    ÚVC:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\pydantic\_internal\_fields.pyr+   r+   '   s
   † Ù:à„Ir4   r+   T)ÚslotsÚkw_onlyc                  ó,   € ] tR t^-t$ R]R&   R]R&   RtR# )ÚPydanticExtraInfozTypeForm[Any]Ú
annotationÚboolÚcompleter,   N)r-   r.   r/   r0   Ú__annotations__r3   r,   r4   r5   r9   r9   -   s   ‡ àÓØ‡Nr4   r9   c                  ón   € ] tR t^3t$ RtR]R&    R]R&    R]R&    R]R	&    R]R
&    R]R&    R]R&   RtR# )ÚModelNamespaceInfoaX  Information gathered by inspecting the namespace of a model class before it is created.

Decisions requiring the (possibly unevaluatable at class creation time) annotations (such as
whether a sunder-named attribute is a private attribute or a class variable) are deferred to
`collect_model_fields()`, where evaluated annotations are available.
zdict[str, ModelPrivateAttr]Úprivate_attributeszset[str]Úignored_namesútuple[type[Any], ...]Úignored_typesz	list[str]Úprivate_candidatesÚfield_candidatesÚbase_field_namesr;   Úmodel_config_assignedr,   N)r-   r.   r/   r0   r1   r=   r3   r,   r4   r5   r?   r?   3   sL   ‡ ñð 4Ó3ØlàÓØLà(Ó(Økà!Ó!ð,ð  ÓØ[àÓØ/àÓÛGr4   r?   c               ó    € V ^8„  d   QhRRRR/# )é   Úmetadatar
   Úreturnr#   r,   )Úformats   "r5   Ú__annotate__rM   S   s   € ÷ 	-ñ 	-¨#ð 	-°,ñ 	-r4   c                 ó"   € \        4       ! V 4      # )z«Create a new `_PydanticGeneralMetadata` class with the given metadata.

Args:
    **metadata: The metadata to add.

Returns:
    The new `_PydanticGeneralMetadata` class.
)Ú_general_metadata_cls)rJ   s   ,r5   Úpydantic_general_metadatarP   S   s   € ô !Ô" 8Ó,Ð,r4   c               ó   € V ^8„  d   QhRR/# )rI   rK   ztype[BaseMetadata]r,   )rL   s   "r5   rM   rM   `   s   € ÷ 
$ñ 
$Ð1ñ 
$r4   c                 ó2   € ^ RI Hp   ! R R\        V 4      pV# )zCDo it this way to avoid importing `annotated_types` at import time.r"   c                  ó&   € ] tR t^dtRtR R ltRtR# )Ú7_general_metadata_cls.<locals>._PydanticGeneralMetadataz,Pydantic general metadata like `max_digits`.c               ó   € V ^8„  d   QhRR/# )rI   rJ   r
   r,   )rL   s   "r5   rM   ÚD_general_metadata_cls.<locals>._PydanticGeneralMetadata.__annotate__g   s   € ÷ 	%ñ 	% Sñ 	%r4   c                	ó   € Wn         R # ©N©Ú__dict__)ÚselfrJ   s   &&r5   Ú__init__Ú@_general_metadata_cls.<locals>._PydanticGeneralMetadata.__init__g   s   € Ø$ŽMr4   rY   N)r-   r.   r/   r0   r1   r\   r3   r,   r4   r5   Ú_PydanticGeneralMetadatarT   d   s   † Ù:÷	%ñ 	%r4   r^   )Úannotated_typesr#   r+   )r#   r^   s     r5   rO   rO   _   s   € õ -ô%Ô#3°\ô %ð $Ð#r4   c          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# )
rI   Úprotected_namespacesztuple[str | Pattern[str], ...]Úann_nameÚstrÚbasesrB   Úcls_namerK   ÚNoner,   )rL   s   "r5   rM   rM   m   s:   € ÷ (ñ (Ø8ð(àð(ð !ð(ð ð	(ð
 
ñ(r4   c                óf  € \        4       pV  EFŸ  pR p\        V\        4      '       d   VP                  V4      RJpM'\        V\        4      '       d   VP                  V4      pV'       g   Ka  V FY  p\        Wq4      '       g   K  \        Wt4      '       d   V\        VR/ 4      9   d   K;  \        RV: R\        Wq4       RV: R24      h	  . pV  F‚  p	\        V	\        4      '       d<   V	P                  V4      '       g#   VP                  RV	P                  : R24       KR  KT  VP                  V	4      '       d   Km  VP                  R	V	 R	24       K„  	  R
RP                  V4       \        V4      ^8X  d   RMR 2p
\        P                  ! RV: RV: RV: RV
 R2	\         ^R7       EK¢  	  R# )FNÚ__pydantic_fields__úField z conflicts with member z of protected namespace Ú.zre.compile(Ú)Ú'Ú(z, z,)z in z$ conflicts with protected namespace zX.

You may be able to solve this by setting the 'protected_namespaces' configuration to ©Ú
stacklevel)r   Ú
isinstancer   Úmatchrc   Ú
startswithÚhasattrÚ
issubclassÚgetattrÚ
ValueErrorÚappendÚpatternÚjoinÚlenÚwarningsÚwarnÚUserWarning)ra   rb   rd   re   r&   Úprotected_namespaceÚns_violationÚbÚvalid_namespacesÚpnÚvalid_namespaces_strs   &&&&       r5   Ú_check_protected_namespacesr„   m   s¿  € ô )Ó*€Iä3ÐØˆÜÐ)¬7×3Ò3Ø.×4Ñ4°XÓ>ÀdÐJ‰LÜÐ+¬S×1Ò1Ø#×.Ñ.Ð/BÓCˆLç‰<Û�Ü˜1×'Ô'Ü& q×4Ò4¸ÄWÈQÐPeÐgiÓEjÖ9jÜ(Ø$ X¡LÐ0GÌÐPQÓH\ÐG]Ø6Ð7JÑ6MÈQðPóð ñ ð /1Ð Û.�BÜ! "¤g×.Ò.Ø!Ÿx™x¨×1Ò1Ø,×3Ñ3°kÀ"Ç*Á*ÁÈqÐ4QÖRñ  2ð  (×2Ñ2°2×6Ô6Ø,×3Ñ3°a¸°t¸1°IÖ>ñ /ð *+¨4¯9©9Ð5EÓ+FÐ*GÔPSÐTdÓPeÐijÔPjÉÐpsÐGtÐ'uÐ$ä—’Ø˜X™L¨¨X©LÐ8\Ð]pÑ\sð tlð mAð  lBð  BCðDäØ ÷	ð ó7  4r4   Fc               ó(   € V ^8„  d   QhRRRRRRRR/# )	rI   Úclsz	type[Any]Úfieldsúdict[str, FieldInfo]Úuse_inspectr;   rK   rf   r,   )rL   s   "r5   rM   rM   ˜   s+   € ÷ ;ñ ;¨	ð ;Ð;Oð ;Ð^bð ;Ðosñ ;r4   c                óš   € \        WR 7      pVP                  4        F*  w  rEVP                  e   K  WC9   g   K  W4,          Vn        K,  	  R# )©r‰   N)r   ÚitemsÚdescription)r†   r‡   r‰   Úfields_docsrb   Ú
field_infos   &&&   r5   Ú_update_fields_from_docstringsr�   ˜   s;   € Ü-¨cÔK€KØ &§¡¦ÑˆØ×!Ñ!Ô)¨hÖ.EØ%0Õ%:ˆJÖ"ó !/r4   c               ó$   € V ^8„  d   QhRRRRRR/# )rI   Útitle_generatorzCallable[[str, FieldInfo], str]Ú
field_namerc   r�   r$   r,   )rL   s   "r5   rM   rM   Ÿ   s&   € ÷ 
!ñ 
!Ø4ð
!àð
!ð ñ
!r4   c                ó¤   € VP                   fB   V ! W4      p\        V\        4      '       g   \        RV  RVP                   24      hW2n         R # R # )Nzfield_title_generator ú must return str, not )Útitlerp   rc   Ú	TypeErrorÚ	__class__)r’   r“   r�   r–   s   &&& r5   Ú*_apply_field_title_generator_to_field_infor™   Ÿ   sU   € ð
 ×ÑÒÙ 
Ó7ˆÜ˜%¤×%Ò%ÜÐ4°_Ð4EÐE[Ð\a×\kÑ\kÐ[lÐmÓnÐnà Öñ  r4   c               ó$   € V ^8„  d   QhRRRRRR/# )rI   Úalias_generatorz%Callable[[str], str] | AliasGeneratorr“   rc   r�   r$   r,   )rL   s   "r5   rM   rM   ¬   s)   € ÷ /Vñ /VØ:ð/VØHKð/VØYbñ/Vr4   c                óð  € VP                   e=   VP                   ^8:  g,   VP                  e   VP                  e   VP                  Ef,   RRRrTp\	        V \
        4      '       d   V P                  V4      w  r4pMJ\        V 4      '       d:   V ! V4      p\	        V\        4      '       g   \        RV  RVP                   24      hVP                   e   VP                   ^8:  d   ^Vn         VP                   ^8X  d'   \        WS4      Vn        \        WC4      Vn        W2n        VP                  f   W2n        VP                  f   \        WS4      Vn        VP                  f   \        WC4      Vn        R# R# R# )ab  Apply an alias generator to aliases on a `FieldInfo` instance if appropriate.

Args:
    alias_generator: A callable that takes a string and returns a string, or an `AliasGenerator` instance.
    field_name: The name of the field from which to generate the alias.
    field_info: The `FieldInfo` instance to which the alias generator is (maybe) applied.
Nzalias_generator r•   )Úalias_priorityÚaliasÚvalidation_aliasÚserialization_aliasrp   r   Úgenerate_aliasesÚcallablerc   r—   r˜   r    )r›   r“   r�   rž   rŸ   r    s   &&&   r5   Ú$_apply_alias_generator_to_field_infor£   ¬   s^  € ð 	×!Ñ!Ò)Ø×$Ñ$¨Ô)Ø×ÑÒ#Ø×&Ñ&Ò.Ø×)Ñ)Ó1à7;¸TÀ4Ð!4ˆä�o¤~×6Ò6Ø;J×;[Ñ;[Ð\fÓ;gÑ8ˆEÑ%8Ü�o×&Ò&Ù# JÓ/ˆEÜ˜e¤S×)Ò)ÜÐ"2°?Ð2CÐCYÐZ_×ZiÑZiÐYjÐ kÓlÐlð
 ×$Ñ$Ò,°
×0IÑ0IÈQÔ0NØ()ˆJÔ%ð ×$Ñ$¨Ô)Ü-?Ð@SÓ-[ˆJÔ*Ü*<Ð=MÓ*UˆJÔ'Ø$Ôð ×ÑÒ#Ø$ÔØ×)Ñ)Ò1Ü-?Ð@SÓ-[ˆJÔ*Ø×&Ñ&Ò.Ü*<Ð=MÓ*UˆJÖ'ñ /ñ9 2r4   c               ó(   € V ^8„  d   QhRRRRRRRR/# )	rI   Úconfig_wrapperr   r“   rc   r�   r$   rK   rf   r,   )rL   s   "r5   rM   rM   Þ   s0   € ÷ eñ e¨]ð eÈð eÐYbð eÐgkñ er4   c                ó²   € VP                   ;'       g    V P                   pVe   \        W1V4       V P                  e   \        V P                  W4       R# R# )aX  Update the `FieldInfo` instance from the configuration set on the model it belongs to.

This will apply the title and alias generators from the configuration.

Args:
    config_wrapper: The configuration from the model.
    field_name: The field name the `FieldInfo` instance is attached to.
    field_info: The `FieldInfo` instance to update.
N)Úfield_title_generatorr™   r›   r£   )r¥   r“   r�   r§   s   &&& r5   Úupdate_field_from_configr¨   Þ   sQ   € ð '×<Ñ<×dÐdÀ×@dÑ@dÐØÒ(Ü2Ð3HÐV`ÔaØ×%Ñ%Ò1Ü,¨^×-KÑ-KÈZÖdñ 2r4   c               ó   € V ^8„  d   QhRR/# )rI   rK   z%tuple[frozenset[int], frozenset[int]]r,   )rL   s   "r5   rM   rM      s   € ÷ ñ Ð+Pñ r4   c                 ó„   a aa€ \        4       o \        V V3R l\         4       4      \        V V3R l\         4       4      3# )aM  IDs of the deprecated `BaseModel` methods (and the underlying functions of the deprecated classmethods).

These are used to check if an assigned field value is one of the deprecated methods by identity.
The `BaseModel` class (and thus the methods) stays alive for the lifetime of the process, so the
IDs are guaranteed to be stable.
c              3  ó`   <"  € T F#  p\        SVR 4      ;of   K  \        S4      x € K%  	  R # 5irX   ©ru   Úid)Ú.0ÚnameÚ
BaseModel_Úmethods   & €€r5   Ú	<genexpr>Ú4_deprecated_base_model_method_ids.<locals>.<genexpr>	  s0   øé € ð 
Ù#;˜4Ì'ÐR\Ð^bÐdhÓJiÐ@iÀŒJŒBˆv�JˆJÓ#;ùs   ƒ.›.c              3  óv   <"  € T F.  p\        \        SVR 4      RR 4      ;of   K!  \        S4      x € K0  	  R # 5i)NÚ__func__r¬   )r®   r¯   r°   Úfuncs   & €€r5   r²   r³     s:   øé € ð 
á5�Ü¤¨
°D¸$Ó ?ÀÈTÓRÐR�ô ŒBˆt�HˆHÛ5ùs   ƒ9¦9)r   Ú	frozensetÚ_deprecated_method_namesÚ_deprecated_classmethod_names)r°   r¶   r±   s   @@@r5   Ú!_deprecated_base_model_method_idsrº   ÿ   sC   ú€ ô *Ó+€Jäõ 
Ý#;ó
ó 	
ô 	õ 
å5ó
ó 	
ð		ð 	r4   Útypevars_mapÚnamespace_infoc               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# )rI   r†   útype[BaseModel]r¥   r   Úns_resolverr   r»   zMapping[TypeVar, Any] | Noner¼   zModelNamespaceInfo | NonerK   z\tuple[dict[str, FieldInfo], PydanticExtraInfo | None, set[str], dict[str, ModelPrivateAttr]]r,   )rL   s   "r5   rM   rM     sU   € ÷ pGñ pGØ	ðpGà!ðpGð ðpGð
 /ðpGð .ðpGð bñpGr4   c               ó8  a(€ \        4       p^RIHo(Hp V P                  p/ p\        V4       F+  p	\        V	RR4      ;p
'       g   K  VP                  V
4       K-  	  \        P                  ! WR7      p\        P                  ! V 4      p/ pVEeC   RV9   d   \        RRR7      hRV9   d    VP                  '       g   \        R	R
R7      hVP                   Fn  pVP                  V4      pVe&   \        P                  ! V^ ,          4      '       d   K=  \!        RV! V P"                  V,          R7      4      WÞ&   \%        W4       Kp  	  VP&                   Fz  pWì9   d   K  WäP(                  9   d   \        RV: R2RR7      hV P"                  V,          p\+        VV4      '       d   \        RV: R2RR7      h\        RV RV: RV R2RR7      h	  / p\-        4       w  pp\/        4       pVP1                  4        EF­  w  pw  ppVR8X  d   K  \3        VP4                  VVV P6                  R7       \        P                  ! V4      '       d   VP9                  V4       Ke  \;        V4      '       gâ   VeÛ   \=        V4      '       dÊ   VV9   dÃ   VV9  d¼   VVP>                  9  d«   VVP@                  9  dš   VVPB                  9  d‰   \        VRR4      R8w  dw   Rp\D        PF                  ! \I        V4      4      '       d$   \K        V4      vpp\M        V(3R lV 4       R4      pVf   \!        RV! 4       4      pVPO                  V V4       VVV&   EKW  \        V V\P        4      pV\P        Jd8   \S        V4      V9   g"   \        VRR4      ;pe   \S        V4      V9   d   \P        pV PT                  '       d   VR8w  d   \        RV: R2RR7      hV FÕ  p	\W        V	V4      '       g   K  VV9  d   K   \        V R/ 4      P                  R4      pV	VJ d   KD  \X        PZ                  ! V	4      '       d   \X        P                  ! V	4      MR6 Uu0 uF  pVP\                  kK  	  ppVV9   d   Kš  \^        P`                  ! R V R!V Pb                   R"V	Pb                   R#2\d        ^R$7       K×  	  V\P        J d{   VV9   g   VV9  d:   VPg                  V\h        Pj                  R%7      p VV n6        V'       g   R&V n7        EMDVV,          Pq                  4       p!V'       d   \s        V!W#R'R(7      p EMT!p EM\+        VV4      '       dN   \u        VPv                  4      '       d3   VPv                  Py                  RV 4      p"V"Vn;        V"VPz                  R)&   VP}                  VV\h        Pj                  R%7      p VV n?        VV n6        V'       g	   R&V n7        MeR*V P€                  9   dU   V Pƒ                  4       '       g?   \^        P`                  ! R+V: R,V: R-V: R.2\„        ^R/7       VP9                  V4       EK7   \%        V V4       V P"                  R0,          p#VV#Pˆ                  9   d   \‹        RV: R1V P6                  : R224      hV VV&   V Pn                  '       g   EK   \�        VVV 4       EK°  	  VPŽ                  '       d   \‘        V V4       Rp$R3V9   d¬   Rp%R3V9  d   V F  p	\        V	R4R4      p%V%f   K   M	  V%eK   V'       d@   V%P’                  '       d.   \•        \–        P˜                  ! V%Pš                  V4      R'R57      p$M;T%p$M8VR3,          w  p&p'V''       d   \–        P˜                  ! V&V4      p&\•        V&V'R57      p$VV$VV3# u upi   \†         d     ELYi ; i)7a  Collect the fields, class variables names and private attributes of a nascent Pydantic model.

The fields collection process is *lenient*, meaning it won't error if string annotations
fail to evaluate. If this happens, the original annotation (and assigned value, if any)
is stored on the created `FieldInfo` instance.

The `rebuild_model_fields()` should be called at a later point (e.g. when rebuilding the model),
and will make use of these stored attributes.

Args:
    cls: BaseModel or dataclass.
    config_wrapper: The config wrapper instance.
    ns_resolver: Namespace resolver to use when getting model annotations.
    typevars_map: A dictionary mapping type variables to their concrete types.
    namespace_info: The result of inspecting the class namespace before the class was created.

Returns:
    A four-tuple containing the model fields, the `PydanticExtraInfo` instance if the `__pydantic_extra__` annotation is set,
    the class variables names, and the private attributes discovered from the namespace and annotations.

Raises:
    NameError: If there is a conflict between a field name and protected namespaces.
    PydanticUserError: If there is a field other than `root` in `RootModel`, or if one of
        the namespace checks performed with `namespace_info` fails.
)r%   ÚPrivateAttrrh   N)r¿   Ú__root__zUTo define root models, use `pydantic.RootModel` rather than a field called '__root__'©ÚcodeÚmodel_configz``model_config` cannot be used as a model field name. Use `model_config` for model configuration.zmodel-config-invalid-field-namer%   )Údefaultri   zŒ defined on a base class was overridden by a non-annotated attribute. All field definitions, including overrides, require a type annotation.zmodel-field-overriddenz requires a type annotationzmodel-field-missing-annotationz)A non-annotated attribute was detected: `z = z3`. All model fields require a type annotation; if `z‘` is not meant to be a field, you may be able to resolve this error by annotating it as a `ClassVar` or updating `model_config['ignored_types']`.)ra   rb   rd   re   r.   Ú	functoolsc              3  óP   <"  € T F  p\        VS4      '       g   K  Vx € K  	  R # 5irX   )rp   )r®   Úvr%   s   & €r5   r²   Ú'collect_model_fields.<locals>.<genexpr>›  s   øé € Ð(`±H¨qÄ
È1ÐN^×@_¯ª³Hùs   ƒ&œ
&rµ   ÚrootzUnexpected field with name z4; only 'root' is allowed as a field of a `RootModel`Ú__pydantic_generic_metadata__ÚoriginzField name "z" in "z"" shadows an attribute in parent "Ú"rn   ©Ú_sourceFT)r¿   r»   ÚlenientrÆ   ÚfinalzAnnotation z= is marked as final and has a default value. Pydantic treats zz as a class variable, but it will be considered as a normal field in V3 to be aligned with dataclasses. If you still want zV to be considered as a class variable, annotate it as: `ClassVar[<type>] = <default>.`)Úcategoryro   Ú__pydantic_decorators__z
 of class zf overrides symbol of same name in a parent class. This override with a computed_field is incompatible.Ú__pydantic_extra__Ú__pydantic_extra_info__©r:   r<   r,   )Nr   r‡   r%   rÁ   Ú	__bases__Úreversedru   Úupdater   Úget_model_type_hintsÚsafe_get_annotationsr   rG   rD   ÚgetÚis_classvar_annotationr   rZ   ÚdelattrrE   rF   rp   rº   ÚsetrŒ   r„   ra   r-   ÚaddÚis_valid_field_nameÚis_valid_privateattr_namer@   rA   rC   r   Úis_annotatedr   r   ÚnextÚ__set_name__r   r­   Ú__pydantic_root_model__rs   ÚdataclassesÚis_dataclassr¯   r{   r|   r/   r}   Úfrom_annotationr   ÚCLASSÚ_original_annotationÚ	_completeÚ_copyÚ_recreate_field_infor   rÆ   Ú__get__Ú_attributes_setÚfrom_annotated_attributeÚ_original_assignmentÚ_qualifiersÚis_requiredr   ÚAttributeErrorÚcomputed_fieldsr—   r¨   Úuse_attribute_docstringsr�   r<   r9   r   Úreplace_typesr:   ))r†   r¥   r¿   r»   r¼   Ú
FieldInfo_rÁ   rd   Úparent_fields_lookupÚbaseÚmodel_fieldsÚ
type_hintsÚcls_annotationsr@   Úvar_nameÚhintÚvaluer‡   Údeprecated_method_idsÚdeprecated_classmethod_func_idsÚ
class_varsrb   Úann_typeÚ	evaluatedÚprivate_attrÚ_rJ   Úassigned_valueÚassigned_funcÚgeneric_originÚfieldÚdataclass_fieldsr�   Úparent_field_inforÆ   Ú
decoratorsÚpydantic_extra_infoÚparent_extra_infoÚannr<   r%   s)   &&&$$                                   @r5   Úcollect_model_fieldsr    s¦  ø€ ôB *Ó+€Jç6à�M‰M€EØ13ÐÜ˜–ˆÜ" 4Ð)>ÀÓEÐEˆ<×EÐEØ ×'Ñ'¨Ö5ñ  ô ×3Ò3°CÔQ€Jô $×8Ò8¸Ó=€Oà68ÐàÓ!Ø˜Ô(ä#ØgÐnrôð ð ˜_Ô,°^×5Y×5YÐ5YÜ#ØrØ6ôð ð
 '×9Ô9ˆHð —>‘> (Ó+ˆDØŠ|¤=×#GÒ#GÈÈQÍ×#PÔ#Pô 04Ð4FÉÐ\_×\hÑ\hÐiqÕ\rÔHsÓ/tÐ"Ñ,Ü˜Ö&ñ :ð '×7Ô7ˆHØÔ*ÙØ×:Ñ:Ô:Ü'Ø˜X™Lð )]ð ^à1ôð ð
 —L‘L Õ*ˆEÜ˜% ×,Ò,Ü'Ø˜X™LÐ(CÐDÐKkôð ô (Ø?À¸zÈÈUÉIð V,Ø,4¨:ð 6jðkð :ô	ð ñ 8ð, $&€Fä=^Ó=`Ñ:ÐÐ:ä›5€JØ+5×+;Ñ+;×+=Ñ'ˆÑ'�8˜YØ�~Ô%ñ ä#Ø!/×!DÑ!DØØØ—\‘\õ		
ô ×/Ò/°×9Ò9Ø�N‰N˜8Ô$Ùä" 8×,Ò,àÒ*Ü-¨h×7Ò7Ø Ô/ØÐ$6Ô6Ø N×$EÑ$EÔEØ N×$@Ñ$@Ô@Ø N×$@Ñ$@Ô@Ü˜H l°DÓ9¸[ÔHð 9=�Ü!×.Ò.¬z¸(Ó/C×DÒDÜ#+¨HÓ#5�L�A˜Ü#'Ô(`±HÓ(`ÐbfÓ#g�LØÒ'Ü#'Ð(:¹K»MÓ#J�LØ×)Ñ)¨#¨xÔ8Ø/;Ð" 8Ñ,Úä   hÔ0AÓBˆØÔ!2Ó2äˆ~ÓÐ"7Ô7ô #*¨.¸*ÀdÓ"KÐK�ÒXÜ�}Ó%Ð)HÔHô /ˆNà×&×&Ð&¨8°vÔ+=Ü#Ø-¨h©\Ð9mÐnØôð ó
 ˆDÜ�t˜X×&Ô&Ø ?Ô2áô ")¨Ð.MÈrÓ!R×!VÑ!VÐW_Ó!`�Ø˜>Ó)áô JU×IaÒIaÐbf×IgÒIg¬[×-?Ò-?ÀÔ-EÐmoÐ-oó$Ù-o 5�E—J”JÑ-oð !ð $ð Ð/Ô/ñ ä—’Ø" 8 *¨F°3×3CÑ3CÐ2Dð EØ×)Ñ)Ð*¨!ð-äØ ÷	ñ+ ð8 Ô.Ó.Ø˜?Ô*¨hÐ>RÔ.Rð (×7Ñ7¸ÔJZ×J`ÑJ`Ð7Óa�
Ø2:�
Ô/ß Ø+0�JÔ(ùð
 %9¸Õ$B×$HÑ$HÓ$JÐ!÷  Ü!5Ø)°{Ðgkô"’Jð "3’Jô ˜.¨*×5Ò5Ô:LÈ^×McÑMc×:dÒ:dð )×0Ñ0×8Ñ8¸¸sÓC�Ø)0�Ô&Ø<C�×.Ñ.¨yÑ9à#×<Ñ<¸XÀ~Ô_o×_uÑ_uÐ<ÓvˆJð /=ˆJÔ+Ø.6ˆJÔ+ßØ',�
Õ$Ø˜J×2Ñ2Ô2¸:×;QÑ;Q×;SÒ;SÜ—’Ø! (¡Ð-jÐksÑjvð w"à"*¡ð  .DðEô 8à õð —‘˜xÔ(Úð
Ü˜˜XÔ&ð &)§\¡\Ð2KÕ%Lˆ
Ø�z×1Ñ1Ô1ÜØ˜™ J¨s¯|©|Ñ.>ð ?Gð Góð ð &ˆˆxÑà××Óä$ ^°X¸z×JñM ,>ðP ×.×.Ð.Ü& s¨FÔ3à48ÐØ˜zÔ)Ø6:ÐØ Ô6ó �Ü$+¨DÐ2KÈTÓ$RÐ!Ø$Ô0Ùñ ð
 Ò(÷ Ð 1× :× :Ð :ä&7Ü(×6Ò6Ð7H×7SÑ7SÐUaÓbØ!ô'Ñ#ð
 '8Ñ#à&Ð';Õ<‰MˆC�ßä×-Ò-¨c°<Ó@�Ü"3ØØ!ô#Ðð
 Ð&¨
Ð4FÐFÐFùòE$øô\ "ô Úðús   Ñ^Ø3^
Þ
^Þ^c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )rI   r†   r¾   r¥   r   r¿   r   r»   úMapping[TypeVar, Any]rK   z5tuple[dict[str, FieldInfo], PydanticExtraInfo | None]r,   )rL   s   "r5   rM   rM   G  sC   € ÷ K.ñ K.Ø	ðK.ð "ðK.ð ð	K.ð
 (ðK.ð ;ñK.r4   c               óÜ  € / pV P                   R,          pVP                  V 4      ;_uu_ 4        V P                  P                  4        Fº  w  rgVP                  '       d   WtV&   K  VP
                  pVen   VP                  P                  V4      ;p	eO   VP                  V4      ;_uu_ 4        \        P                  ! V	P
                  .VP                  O5!  pRRR4       \        VVVRVR7      p
\        WV
4       W¤V&   K¼  	  V P                  e™   V P                  P                  '       g}   \        P                  ! V P                  P                  .VP                  O5!  p\        P                   ! W³4      p\        P                  ! V.VP                  O5!  p\#        VRR7      pMV P                  pRRR4       WL3#   + '       g   i     Lñ; i  + '       g   i     TX3# ; i)a6  Rebuild the (already present) model fields by trying to reevaluate annotations.

This function should be called whenever a model with incomplete fields is encountered.

Returns:
    A two-tuple, the first element being the rebuilt fields, the second element being
    the rebuild `PydanticExtraInfo` instance, if available.

Raises:
    NameError: If one of the annotations failed to evaluate.

Note:
    This function *doesn't* mutate the model fields in place, as it can be called during
    schema generation, where you don't want to mutate other model's fields.
rÍ   NF)r¿   r»   rÑ   r:   Tr×   )rÌ   Úpushrh   rŒ   rí   rì   rÝ   r   Ú	eval_typeÚtypes_namespacerï   r¨   rÖ   r<   r:   r   rù   r9   )r†   r¥   r¿   r»   Úrebuilt_fieldsrÍ   Úf_namer�   r:   Úorigin_fieldÚ	new_fieldr  Úrebuilt_extra_infos   &$$$         r5   Úrebuild_model_fieldsr   G  sË  € ð, ,.€NØ×.Ñ.¨xÕ8€FØ	×	Ñ	˜#×	Õ	Ø"%×"9Ñ"9×"?Ñ"?Ö"AÑˆFØ×#×#Ð#Ø)3˜vÓ&à'×<Ñ<�
ØÒ%¸6×;UÑ;U×;YÑ;YÐZ`Ó;aÐ+a¨<Ò*nð %×)Ñ)¨&×1Õ1Ü%2×%<Ò%<Ø(×=Ñ=ð&à(×8Ñ8ó&˜
÷ 2ô
 1ØØ +Ø!-Ø!Ø)ô�	ô )¨ÀÔKØ)2˜vÓ&ñ= #Bð@ ×&Ñ&Ò2¸3×;VÑ;V×;_×;_Ð;_ä×)Ò)Ø×+Ñ+×6Ñ6ðà×,Ñ,óˆCô ×)Ò)¨#Ó<ˆCÜ×)Ò)Øðà×,Ñ,óˆCô "3ØØô"Ñð
 "%×!<Ñ!<Ð÷c 
ðf Ð-Ð-÷C 2×1ú÷% 
Ö	ðf Ð-Ð-Ð-ús,   ¯B GÂ/-GÃAGÄ2BGÇGÇGÇG+	r:   c               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# )rI   r�   r$   r¿   r   r»   r  rÑ   r;   r:   r
   rK   r,   )rL   s   "r5   rM   rM   •  sD   € ÷ -ñ -Øð-àð-ð (ð-ð
 ð-ð ð-ð ñ-r4   c               óÜ  € \        4       pV\        J d   V P                  pV P                  pV'       dG   \        P
                  ! V P                  V4      p\        P                  ! V.VP                  O5!  w  rxM\\        P                  ! V.VP                  O5!  p\        P
                  ! Wr4      p\        P                  ! V.VP                  O5!  pR pV P                  ;p	\        J d#   VP                  V\        P                  R7      p
M'VP                  Wy\        P                  R7      p
Wšn
        Wzn        V
P                  e   V
P                  MTV
n        V'       g   RV
n        V
# )TrÏ   F)r   r   rì   r�   r   rù   r   Útry_eval_typer  r  ró   rê   r   rë   rò   rí   )r�   r¿   r»   rÑ   r:   rú   Úexisting_descr  r  Úassignr  s   &&&$$      r5   rï   rï   •  sM  € ô *Ó+€JàÔ&Ó&Ø×4Ñ4ˆ
à×*Ñ*€MßÜ×%Ò% j×&EÑ&EÀ|ÓTˆÜ&×4Ò4Øð
à×(Ñ(ó
‰ˆˆYô ×%Ò%Øð
à×(Ñ(ó
ˆô ×%Ò% cÓ8ˆÜ×%Ò%Øð
à×(Ñ(ó
ˆð ˆ	à×1Ñ1Ð1ˆÔ6GÓGØ×.Ñ.¨sÔ<L×<RÑ<RÐ.ÓS‰	à×7Ñ7¸ÔM]×McÑMcÐ7Ódˆ	Ø)/Ô&Ø%(Ô"à5>×5JÑ5JÒ5V˜I×1Ò1Ð\i€IÔßØ#ˆ	ÔàÐr4   r¿   c          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )rI   r†   ztype[StandardDataclass]r¥   r   r¿   zNsResolver | Noner»   zdict[Any, Any] | NonerK   rˆ   r,   )rL   s   "r5   rM   rM   Å  sC   € ÷ iñ iØ	 ðið "ðið #ð	ið
 (ðið ñir4   c               ó(  € \        4       p/ pT;'       g    \        4       pV P                  p\        V P                  4       EFW  p\
        P                  ! V4      '       g   K"  VP                  V4      ;_uu_ 4        VP                  4        EFþ  w  r‰\        P                  ! V4      p
WŠ9  d   K$  VP                  w  r¼\        P                  ! V	P                  W¼4      w  rÞ\        P                  ! V4      '       d   Ks  V	P                  '       g?   V	P                   \
        P"                  J d!   V	P$                  \
        P"                  J d   KÃ  \'        V	P                   V4      '       dˆ   V	P                   P(                  '       d/   V	P                   P                  RJ d   \+        RV R2RR7      hEK)  VP-                  WÙP                   \.        P0                  R7      pV	P                   Vn        M'VP-                  WÙ\.        P0                  R7      pWŸn        V'       g   RVn        Wßn        WõV&   \9        WV4       VP                   \:        Jg   EKÉ  \'        \=        WV4      V4      '       g   EKè  \?        WVP                   4       EK  	  RRR4       EKZ  	  V'       d)   VPA                  4        F  pVPC                  V4       K  	  VPD                  '       d   \G        V V\I        V R4      '       * R	7       V#   + '       g   i     EKÏ  ; i)
aX  Collect the fields of a dataclass.

Args:
    cls: dataclass.
    config_wrapper: The config wrapper instance.
    ns_resolver: Namespace resolver to use when getting dataclass annotations.
        Defaults to an empty instance.
    typevars_map: A dictionary mapping type variables to their concrete types.

Returns:
    The dataclass fields.
FzDataclass field zD has init=False and init_var=True, but these are mutually exclusive.zclashing-init-and-init-varrÃ   rÏ   NÚ__is_pydantic_dataclass__r‹   )%r   r   Ú__dataclass_fields__rÙ   Ú__mro__rè   ré   r  rŒ   r   rÜ   r  r#  ÚtyperÞ   ÚinitrÆ   ÚMISSINGÚdefault_factoryrp   Úinit_varr   rò   r   Ú	DATACLASSró   rí   rì   r¨   r   ru   ÚsetattrÚvaluesÚapply_typevars_maprø   r�   rs   )r†   r¥   r¿   r»   rú   r‡   r  rü   rb   Údataclass_fieldÚ	base_annsÚglobalnsÚlocalnsr  r  r�   r  s   &$$$             r5   Úcollect_dataclass_fieldsr8  Å  s£  € ô& *Ó+€Jà#%€FØ×-Ð-¤£€KØ×/Ñ/Ðô
 ˜Ÿ™×%ˆÜ×'Ò'¨×-Ò-Ùà×Ñ˜d×#Õ#Ø-=×-CÑ-C×-EÑ)�Ü)×>Ò>¸tÓD�	àÔ,ñ à$/×$?Ñ$?Ñ!�Ü&3×&AÒ&AÀ/×BVÑBVÐX`Ó&jÑ#�ä ×7Ò7¸×AÒAÙð (×,×,Ð,Ø'×/Ñ/´;×3FÑ3FÓFØ'×7Ñ7¼;×;NÑ;NÓNñ ä˜o×5Ñ5°z×BÒBØ&×.Ñ.×7×7Ð7Ø*×2Ñ2×7Ñ7¸5Ó@Ü"3Ø"2°8°*ð  =Að  !BØ%Aô#ð ò !Ø!+×!DÑ!DØ ×"9Ñ"9ÔCS×C]ÑC]ð "Eó "�Jð 7F×6MÑ6M�JÕ3à!+×!DÑ!DØ Ô;K×;UÑ;Uð "Eó "�Jð 7FÔ3ç Ø+0�JÔ(Ø6>Ô3à#-�xÑ Ü(¨À:ÔNà×%Ñ%Ô->Ö>Ä:Ü˜C¨:Ó6¸
÷Dõ Dô ˜C¨:×+=Ñ+=×>ñm .F÷ $Ò#ñ	 &÷z Ø—]‘]–_ˆEð ×$Ñ$ \Ö2ñ	 %ð ×.×.Ð.Ü&ØØô $ CÐ)DÓEÔEõ	
ð €M÷S $×#Ñ#ús-   Á=BK?ÄA5K?Æ	BK?È#.K?ÉK?É6K?Ë?Lc          
     ó,   € V ^8„  d   QhRRRRRRRRR	R
/# )rI   r†   ztype[PydanticDataclass]r¥   r   r¿   r   r»   r  rK   rˆ   r,   )rL   s   "r5   rM   rM   1  s<   € ÷ +ñ +Ø	 ð+ð "ð+ð ð	+ð
 (ð+ð ñ+r4   c          	     óV  € \        4       p/ pVP                  V 4      ;_uu_ 4        V P                  P                  4        FÈ  w  rgVP                  '       d   WuV&   K  VP
                  p\        P                  ! VP                  .VP                  O5!  p	\        P                  ! W“4      p	VP                  V	VP                  \        P                  R7      p
V
P
                  e   V
P
                  MTV
n        \!        WV
4       W¥V&   KÊ  	  RRR4       V#   + '       g   i     T# ; i)aª  Rebuild the (already present) dataclass fields by trying to reevaluate annotations.

This function should be called whenever a dataclass with incomplete fields is encountered.

Raises:
    NameError: If one of the annotations failed to evaluate.

Note:
    This function *doesn't* mutate the dataclass fields in place, as it can be called during
    schema generation, where you don't want to mutate other dataclass's fields.
rÏ   N)r   r  rh   rŒ   rí   r�   r   r  rì   r  r   rù   rò   ró   r   r0  r¨   )r†   r¥   r¿   r»   rú   r  r  r�   r$  r  r  s   &$$$       r5   Úrebuild_dataclass_fieldsr;  1  s  € ô$ *Ó+€Jà+-€NØ	×	Ñ	˜#×	Õ	Ø"%×"9Ñ"9×"?Ñ"?Ö"AÑˆFØ×#×#Ð#Ø)3˜vÓ&à *× 6Ñ 6�Ü#×-Ò-Ø×3Ñ3ðà ×0Ñ0ó�ô  ×-Ò-¨cÓ@�Ø&×?Ñ?ØØ×3Ñ3Ü,×6Ñ6ð @ó �	ð BK×AVÑAVÒAb¨	×(=Ò(=Ðhu�	Ô%Ü(¨ÀÔKØ)2˜vÓ&ñ' #B÷ 
ð, Ð÷- 
Ö	ð, Ðús   ¦C'DÄD(	c               ó    € V ^8„  d   QhRRRR/# ©rI   r¯   rc   rK   r;   r,   )rL   s   "r5   rM   rM   _  s   € ÷ $ñ $˜cð $ dñ $r4   c                ó.   € V P                  R 4      '       * # )r	  ©rr   ©r¯   s   &r5   râ   râ   _  s   € Ø�‰˜sÓ#Ô#Ð#r4   c               ó    € V ^8„  d   QhRRRR/# r=  r,   )rL   s   "r5   rM   rM   c  s   € ÷ >ñ > Cð >¨Dñ >r4   c                ó`   € V P                  R 4      ;'       d    V P                  R4      '       * # )r	  Ú__r?  r@  s   &r5   rã   rã   c  s%   € Ø�?‰?˜3Ó×=Ð=¨¯©¸Ó(=Ô$=Ð=r4   c               ó    € V ^8„  d   QhRRRR/# )rI   r.  z3Callable[[], Any] | Callable[[dict[str, Any]], Any]rK   z'TypeIs[Callable[[dict[str, Any]], Any]]r,   )rL   s   "r5   rM   rM   g  s    € ÷ rñ rØHðrà,ñrr4   c                óL  €  \         P                  ! V 4      p\	        TP
                  P                  4       4      p\        T4      ^8H  ;'       d>    \        T^ ,          4      ;'       d$    T^ ,          P                  \        P                  J #   \        \        3 d     R# i ; i)zMWhether the provided default factory callable has a validated data parameter.F)r   Úsignature_no_evalrv   r—   ÚlistÚ
parametersr2  rz   r   rÆ   r   Úempty)r.  ÚsigrH  s   &  r5   Útakes_validated_data_argumentrK  g  s‹   € ðÜ×-Ò-¨oÓ>ˆô �c—n‘n×+Ñ+Ó-Ó.€Jäˆz‹?˜aÑ×qÐqÔ$5°jÀµmÓ$D×qÐqÈÐTUÍ×I^ÑI^Ôbk×bqÑbqÐIqÐqøô œ	Ð"ô ò ðús   ‚B ÂB#Â"B#Úvalidated_dataÚcall_default_factoryc               ó0   € V ^8„  d   QhRRRRRRRRR	R
RR/# )rI   rÆ   r
   r.  z:Callable[[], Any] | Callable[[dict[str, Any]], Any] | NoneÚ-default_factory_takes_validated_data_argumentzbool | NonerL  zdict[str, Any] | NonerM  r;   rK   r,   )rL   s   "r5   rM   rM   w  sG   € ÷ ñ àðð Pðð 4?ð	ð
 *ðð ðð 	ñr4   c                ó¸   € Vf   \        V 4      # V'       d?   V'       d$   \        RV4      pVf   \        R4      hV! V4      # \        RV4      pV! 4       # \        # )zMResolve the default value using either a static default or a default_factory.zCallable[[dict[str, Any]], Any]zpThe default factory requires the 'validated_data' argument, which was not provided when calling 'get_default()'.zCallable[[], Any])r!   r   rv   r   )rÆ   r.  rO  rL  rM  Úfacs   $$$$$ r5   Úresolve_default_valuerR  w  sh   € ð ÒÜ˜gÓ&Ð&ßß8ÜÐ8¸/ÓJˆCØÒ%Ü ð Góð ñ �~Ó&Ð&äÐ*¨OÓ<ˆCÙ“5ˆLäÐr4   )F>   ÚcopyÚdictÚjsonÚ_iterÚ_calculate_keysÚ_copy_and_set_values>
   ÚschemaÚfrom_ormÚvalidateÚ	constructÚ	parse_objÚ	parse_rawÚ
_get_valueÚ
parse_fileÚschema_jsonÚupdate_forward_refs)[r1   Ú
__future__r   Ú_annotationsrè   r{   Úcollections.abcr   r   rÇ   r   Úinspectr   r   Úrer   Útypingr	   r
   r   r   Úpydantic_corer   Útyping_extensionsr   r   r   r   Útyping_inspectionr   Útyping_inspection.introspectionr   Úpydanticr   Úpydantic.errorsr   Úaliasesr   Ú r   r   Ú_configr   Ú_docs_extractionr   Ú_import_utilsr   r   Ú_namespace_utilsr   Ú_reprr   Ú_utilsr   r    r!   r_   r#   r‡   r$   r%   Úmainr&   Ú_dataclassesr'   r(   Ú_decoratorsr)   r+   Ú	dataclassr9   r?   rP   rO   r„   r�   r™   r£   r¨   r¸   r¹   rº   r  r   rï   r8  r;  râ   rã   rK  rR  r,   r4   r5   Ú<module>r{     s£  ðÙ så 2ã Û ß -Ý ß 1Ý ß 4Ó 4å +ß DÓ DÝ ,Ý <å /Ý -å $ß &Ý "Ý 9ß MÝ (Ý !ß IÑ IçÝ,ç4Ý ßBÝ+ô�~ô ð ×Ò˜T¨4Ô0÷ð ó 1ðð
 ×Ò˜T¨4Ô0÷Hð Hó 1ðHõ>	-ð ô
$ó ð
$õ(÷V;õ
!õ/Võdeò" hÐ ò!Ð ð ôó ðð(pGð
 26ðpGð 15÷pGõf	K.ð\-ð (÷-ð`ið &*ð	ið
 +/÷iõX+õ\$õ>õrð ð
 -1ðð "'÷ñ r4   