+
    Ai\#                       a  0 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Ht ^ RIHt RtR]R&    ! R	 R
]4      t ! R R]4      t] ! R R4      4       tR R ltR R ltR R ltR R ltR# )    )annotations)	dataclassfield)	TypedDict)ComputedField
CoreSchemaDefinitionReferenceSchema	SerSchemaiter_union_choices)	TypeAliasz&CoreSchema | SerSchema | ComputedFieldr   
AllSchemasc                  2    ] tR t^t$ RtR]R&    R]R&   RtR# )GatherResultzSchema traversing result.+dict[str, DefinitionReferenceSchema | None]collected_referenceslist[CoreSchema]deferred_discriminator_schemas N)__name__
__module____qualname____firstlineno____doc____annotations____static_attributes__r       _/var/www/html/photoedit/myenv/lib/python3.14/site-packages/pydantic/_internal/_schema_gather.pyr   r      s    #EE %54Qr   r   c                  &    ] tR t^"tRtR R ltRtR# )MissingDefinitionErrorz7A reference was pointing to a non-existing core schema.c                    V ^8  d   QhRRRR/# )   schema_referencestrreturnNoner   )formats   "r   __annotate__#MissingDefinitionError.__annotate__%   s     1 1 1D 1r   c               	    Wn         R # )Nr"   )selfr"   s   ""r   __init__MissingDefinitionError.__init__%   s     0r   r*   N)r   r   r   r   r   r,   r   r   r   r   r   r   "   s    A1 1r   r   c                  f    ] tR t^)t$ RtR]R&    ]! R]R7      tR]R&    ]! R]	R7      t
R]R	&   R
tR# )GatherContextzyThe current context used during core schema traversing.

Context instances should only be used during schema traversing.
dict[str, CoreSchema]definitionsF)initdefault_factoryr   r   r   r   r   N)r   r   r   r   r   r   r   listr   dictr   r   r   r   r   r/   r/   )   sI    
 '&$7<%Y]7^"$4^
 INSXjnHoEor   r/   c               $    V ^8  d   QhRRRRRR/# )r!   schemar   ctxr/   r$   r%   r   )r&   s   "r   r'   r'   E   s!     : :j :} : :r   c                |    V P                  R 4      pVe'   RV9   d   VP                  P                  V 4       R# R# R# )metadataN%pydantic_internal_union_discriminator)getr   append)r7   r8   metas   && r   traverse_metadatar?   E   s;    ::j!DCtK**11&9 Lr   c               $    V ^8  d   QhRRRRRR/# )r!   def_ref_schemar	   r8   r/   r$   r%   r   )r&   s   "r   r'   r'   K   s#     4 4,E 4M 4^b 4r   c                *   V R ,          pW!P                   9  dk   VP                  P                  V4      pVf   \        V4      hWP                   V&   \	        W14       RV 9   d   \	        V R,          V4       \        W4       R# RVP                   V&   R# )
schema_refNserialization)r   r1   r<   r   traverse_schemar?   )rA   r8   rC   
definitions   &&  r   traverse_definition_refrG   K   s    -J111__((4
(44 0>  ,
(n,N?;SA.. 04  ,r   c               $    V ^8  d   QhRRRRRR/# )r!   r7   r   contextr/   r$   r%   r   )r&   s   "r   r'   r'   `   s&     `' `'J `' `'4 `'r   c                   V R ,          pVR8X  d   \        W4       R# VR8X  d1   \        V R,          V4       V R,           F  p\        W14       K  	  EMVR&9   d   RV 9   d   \        V R,          V4       EMVR8X  d%   RV 9   d   V R,           F  p\        WA4       K  	  EMVR8X  d7   RV 9   d   \        V R,          V4       R	V 9   d   \        V R	,          V4       EMSVR
8X  d    \        V 4       F  p\        WQ4       K  	  EM-VR8X  d,   V R,          P                  4        F  p\        Wa4       K  	  EMVR8X  d   V R,           F  p\        Wq4       K  	  EMVR8X  d)   \        V R,          V4       \        V R,          V4       EMVR8X  d)   \        V R,          V4       \        V R,          V4       EMyVR'9   dh   RV 9   d   \        V R,          V4       RV 9   d   V R,           F  p\        WA4       K  	  V R,          P                  4        F  p\        WA4       K  	  EMVR8X  d@   RV 9   d   V R,           F  p\        WA4       K  	  V R,           F  p\        WA4       K  	  EMVR8X  dZ   V R,           F  p\        VR,          V4       K  	  RV 9   d   \        V R,          V4       RV 9   d   \        V R,          V4       EMeVR8X  d&   V R,           F  p\        VR,          V4       K  	  EM9VR8X  d0   \        V R,          V4       RV 9   d   \        V R,          V4       EMVR 8X  d   \        V R,          V4       MVR!8X  d6   RV 9   d   \        V R,          V4       R"V 9   d   \        V R",          V4       MVR#8X  d6   RV 9   d   \        V R,          V4       R"V 9   d   \        V R",          V4       MpVR$8X  dP   RV 9   d   \        V R,          V4       RV 9   d   \        V R,          V4       R"V 9   d   \        V R",          V4       MRV 9   d   \        V R,          V4       R%V 9   d   \        V R%,          V4       \	        W4       R# )(typezdefinition-refNr1   r7   items_schematupler5   keys_schemavalues_schemaunionztagged-unionchoiceschainstepszlax-or-strict
lax_schemastrict_schemazjson-or-pythonjson_schemapython_schemaextras_schemacomputed_fieldsfieldszdataclass-args	argumentsarguments_schemavar_args_schemavar_kwargs_schemazarguments-v3callreturn_schemazcomputed-fieldzfunction-beforejson_schema_input_schemazfunction-plainzfunction-wraprD   >   setr4   	frozenset	generator>   
typed-dictmodel-fields)rG   rE   r   valuesr?   )r7   rI   schema_typerF   schoicevsteps   &&      r   rE   rE   `   s    .K&&0		%x('2 //JJ0 0	A	AV#F>2G<		V#N+++ ,		F"F=17;f$F?3W=		(0FF, 1		&	"))+AA' ,		7OODD* $		'|,g6/9	(	(}-w7/9	6	6f$F?3W=&-..+ /!((*AA' +	(	(&-..+ /!!AA' "		#*++AAhK1 ,&F#45w?&(F#67A		&*++AAhK1 ,		12G<f$F?3W=	(	(/9	)	)vF8,g6%/F#=>H	(	(f$F?3W=%/F#=>H		'f$F?3W=vF8,g6%/F#=>HvF8,g6& /9f&r   c               $    V ^8  d   QhRRRRRR/# )r!   r7   r   r1   r0   r$   r   r   )r&   s   "r   r'   r'      s#      
 AV [g r   c                b    \        V4      p\        W4       RVP                  RVP                  /# )aA  Traverse the core schema and definitions and return the necessary information for schema cleaning.

During the core schema traversing, any `'definition-ref'` schema is:

- Validated: the reference must point to an existing definition. If this is not the case, a
  `MissingDefinitionError` exception is raised.
- Stored in the context: the actual reference is stored in the context. Depending on whether
  the `'definition-ref'` schema is encountered more that once, the schema itself is also
  saved in the context to be inlined (i.e. replaced by the definition it points to).
r   r   )r/   rE   r   r   )r7   r1   rI   s   && r   gather_schemas_for_cleaningro      s8     K(GF$ 	 < <('*P*P r   N)__conditional_annotations__
__future__r   dataclassesr   r   typingr   pydantic_core.core_schemar   r   r	   r
   r   typing_extensionsr   r   r   r   LookupErrorr   r/   r?   rG   rE   ro   )rp   s   @r   <module>rw      st    " " (   (@
I @R9 R1[ 1   6:4*`'Fr   