+
    id                      a  0 t $ ^ RIHt ^ RIt^ RIHt ^RIHtHtH	t	H
t
HtHt Rt]'       d   ^ RIHt ^ RIHtHtHt ^RIHtHtHt ]P0                  ! 4       tR	]R
&   ]! R ]! ^ 4       4       4      ]! ]! ^4      4      ,          tR	]R&   ]]! R4      ,
          tR	]R&   ]]! R4      ,
          t R	]R&   ]t!R	]R&   ] t"R	]R&   ]t#R	]R&   ]! R4      t$R	]R&   ]$]! R4      ,          t%R	]R&   ]! R4      t&R	]R&   ]&]! R4      ,          t'R	]R&   ]! R4      t(R	]R&   ]! RRR RR!RR"R#R$R%R&R'R(R)/4      t)R	]R*&    ! R+ R,4      t* ! R- R.]+4      t,R/]-/R0 R1 llt.R/]-/R2 R3 llt/ ! R4 R54      t0 ! R6 R74      t1 ! R8 R94      t2R: R; lt3R< R= lt4R> R? lt5R@ RA lt6RB RC lt7RD RE lt8RF RG lt9RH RI lt:RJ RK lt;RL RM lt<RN RO lt=RP RQ lt>RR RS lt?RTR/RU RV llt@RW RX ltARY RZ ltBR[ R\ ltCR] R^ ltDR_ R` ltERa Rb ltFRc Rd ltGRe Rf ltHR# )g    )annotationsN)MappingProxyType)RE_DATETIMERE_LOCALTIME	RE_NUMBERmatch_to_datetimematch_to_localtimematch_to_numberF)Iterable)IOAnyFinal)Key
ParseFloatPosr   MAX_INLINE_NESTINGc              #  8   "   T F  p\        V4      x  K  	  R # 5iN)chr).0is   & `/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_vendor/tomli/_parser.py	<genexpr>r   %   s     8ic!ffis   
ASCII_CTRL	ILLEGAL_BASIC_STR_CHARSz	
!ILLEGAL_MULTILINE_BASIC_STR_CHARSILLEGAL_LITERAL_STR_CHARS#ILLEGAL_MULTILINE_LITERAL_STR_CHARSILLEGAL_COMMENT_CHARSz 	TOML_WS
TOML_WS_AND_NEWLINEz@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_BARE_KEY_CHARSz"'KEY_INITIAL_CHARSabcdefABCDEF0123456789HEXDIGIT_CHARSz\bz\tz\nz\fz\rz\""z\\\BASIC_STR_ESCAPE_REPLACEMENTSc                      ] tR t^FtRtRtR# )DEPRECATED_DEFAULTzfSentinel to be used as default arg during deprecation
period of TOMLDecodeError's free-form arguments. N)__name__
__module____qualname____firstlineno____doc____static_attributes__r0       r   r/   r/   F   s    8r7   r/   c                  0    ] tR t^KtRt]]]3R R lltRtR# )TOMLDecodeErrora  An error raised if a document is not valid TOML.

Adds the following attributes to ValueError:
msg: The unformatted error message
doc: The TOML document being parsed
pos: The index of doc where parsing failed
lineno: The line corresponding to pos
colno: The column corresponding to pos
c               (    V ^8  d   QhRRRRRRRR/# )   msgzstr | type[DEPRECATED_DEFAULT]docposzPos | type[DEPRECATED_DEFAULT]argsr   r0   )formats   "r   __annotate__TOMLDecodeError.__annotate__V   s2     / /+/ ,/ ,	/
 /r7   c                	   V'       gC   \        V\        4      '       d-   \        V\        4      '       d   \        V\        4      '       gg   ^ RIpVP	                  R\
        ^R7       V\        Jd   V.VO5pV\        Jd   V.VO5pV\        Jd   V.VO5p\        P                  ! V .VO5!   R# VP                  R^ V4      ^,           pV^8X  d   V^,           pMW2P                  R^ V4      ,
          pV\        V4      8  d   RpMRV RV 2pV RV R	2p	\        P                  W	4       Wn        W n        W0n        W`n        Wpn        R# )
r   Nz{Free-form arguments for TOMLDecodeError are deprecated. Please set 'msg' (str), 'doc' (str) and 'pos' (int) arguments only.)
stacklevelr"   zend of documentzline z	, column z (at ))
isinstancestrintwarningswarnDeprecationWarningr/   
ValueError__init__countrindexlenr<   r=   r>   linenocolno)
selfr<   r=   r>   r?   rI   rQ   rR   
coord_reprerrmsgs
   &&&&*     r   rM   TOMLDecodeError.__init__V   s9    c3''c3''c3''MMV"	   ,,zTz,,zTz,,zTz,t,4C(1,Q;!GE**T1c22E#c(?*J 	%9J5j\+D)
r7   )rR   r=   rQ   r<   r>   N)r1   r2   r3   r4   r5   r/   rM   r6   r0   r7   r   r9   r9   K   s     /A.@.@	/ /r7   r9   parse_floatc               $    V ^8  d   QhRRRRRR/# )r;   __fpz	IO[bytes]rW   r   returndict[str, Any]r0   )r@   s   "r   rA   rA      s!     	- 	-y 	-* 	- 	-r7   c                   V P                  4       p VP                  4       p\	        Y1R7      #   \         d    \        R4      Rhi ; i)z%Parse TOML from a binary file object.zEFile must be opened in binary mode, e.g. use `open('foo.toml', 'rb')`N)rW   )readdecodeAttributeError	TypeErrorloads)rY   rW   bss   &$  r   loadrd      sN    		AHHJ
 ,,	  S
	s	   . Ac               $    V ^8  d   QhRRRRRR/# )r;   __srG   rW   r   rZ   r[   r0   )r@   s   "r   rA   rA      s&     D Ds DJ D> Dr7   c                   V P                  RR4      p^ p\        4       pR
p\        T4      p \        Y#\        4      p Y#,          pTR8X  d   T^,          pK,  T\        9   d   \        Y#YET4      p\        Y#\        4      pMyTR8X  d`    Y#^,           ,          pTP                  P                  4        TR8X  d   \        Y#T4      w  r5M\        Y#T4      w  r5\        Y#\        4      pMTR8w  d   \!        RY#4      h\#        Y#4      p Y#,          pTR8w  d   \!        R	Y#4      hT^,          pEK    \        \        3 d%    \        R\        T 4      P                   R24      Rhi ; i  \         d     TP$                  P&                  # i ; i  \         d    Rp ELi ; i  \         d     TP$                  P&                  # i ; i)zParse TOML from a string.z
r"   zExpected str object, not ''N[#zInvalid statementz5Expected newline or end of document after a statementr0   )replacer_   r`   typer3   Outputmake_safe_parse_float
skip_charsr!   
IndexErrorr%   key_value_ruleflagsfinalize_pendingcreate_list_rulecreate_dict_ruler9   skip_commentdatadict)rf   rW   srcr>   outheadercharsecond_chars   &$      r   ra   ra      s   
kk&$'
 C
(CF'4K 7+	8D 4<1HC$$ 3DCSw/CS[#*-Ag, II&&(c!.s=V.s=Sw/CS[!"5s@@ 3$	8D 4<!G  	qw I& (c)?)?(@B
	2  	F 88==I	  #"#"  	 88==	s@   D. E& 
F F  .5E#&F	F	FF GGc                      ] tR t^t$ Rt^ tR]R&   ^tR]R&   R R ltR R lt	R	 R
 lt
R R ltR R ltR R ltRtR# )Flagsz)Flags that map to parsed keys/namespaces.r   FROZENEXPLICIT_NESTc                   V ^8  d   QhRR/# r;   rZ   Noner0   )r@   s   "r   rA   Flags.__annotate__   s     : :$ :r7   c                	2    / V n         \        4       V n        R # r   )_flagsset_pending_flagsrS   s   &r   rM   Flags.__init__   s    1347Er7   c               $    V ^8  d   QhRRRRRR/# )r;   keyr   flagrH   rZ   r   r0   )r@   s   "r   rA   r      s!     - -s -# -$ -r7   c                	>    V P                   P                  W34       R # r   )r   addrS   r   r   s   &&&r   add_pendingFlags.add_pending   s    ,r7   c                   V ^8  d   QhRR/# r   r0   )r@   s   "r   rA   r      s     $ $$ $r7   c                	    V P                    F  w  rV P                  WR R7       K  	  V P                   P                  4        R# )F	recursiveN)r   r   clearr   s   &  r   rs   Flags.finalize_pending   s6    ,,ICHHS%H0 -!!#r7   c                    V ^8  d   QhRRRR/# r;   r   r   rZ   r   r0   )r@   s   "r   rA   r      s        S  T  r7   c                	    V P                   pVR R  F  pW29  d    R # W#,          R,          pK  	  VP                  VR,          R 4       R # )Nnested)r   pop)rS   r   contks   &&  r   	unset_allFlags.unset_all   sC    {{SbA}78$D  	R$r7   c               (    V ^8  d   QhRRRRRRRR/# )	r;   r   r   r   rH   r   boolrZ   r   r0   )r@   s   "r   rA   r      s.     	N 	Ns 	N# 	NT 	Nd 	Nr7   c               	8   V P                   pVR R VR,          reV F2  pWt9  d   R\        4       R\        4       R/ /WG&   WG,          R,          pK4  	  Wd9  d   R\        4       R\        4       R/ /WF&   WF,          V'       d   RMR,          P                  V4       R # )Nrr   recursive_flagsr   r   )r   r   r   )rS   r   r   r   r   
key_parentkey_stemr   s   &&&$    r   r   	Flags.set   s    {{"3BxRHA}"CE+<ceXrR78$D  %su.?RTUDNI(7CGGMr7   c               $    V ^8  d   QhRRRRRR/# )r;   r   r   r   rH   rZ   r   r0   )r@   s   "r   rA   r     s!      s # $ r7   c                	   V'       g   R # V P                   pVRR  F-  pWC9  d    R # W4,          pW%R,          9   d    R# VR,          pK/  	  VR,          pWc9   d'   W6,          pW%R,          9   ;'       g    W%R,          9   # R # )FNr   Tr   rr   r   )r   )rS   r   r   r   r   
inner_contr   s   &&&    r   is_	Flags.is_  s    {{SbA}J"344h'D  r7Jg..WW$EV:W2WWr7   )r   r   N)r1   r2   r3   r4   r5   r   __annotations__r   rM   r   rs   r   r   r   r6   r0   r7   r   r   r      sA    3 FE M5:-$
 	N r7   r   c                  B    ] tR tRtR R ltRR/R R lltR R	 ltR
tR# )
NestedDicti  c                   V ^8  d   QhRR/# r   r0   )r@   s   "r   rA   NestedDict.__annotate__  s     ' '$ 'r7   c                	    / V n         R # r   rx   r   s   &r   rM   NestedDict.__init__  s	    $&	r7   access_listsTc               $    V ^8  d   QhRRRRRR/# )r;   r   r   r   r   rZ   r[   r0   )r@   s   "r   rA   r     s(       	
 
r7   c               	    V P                   pV F]  pWC9  d   / W4&   W4,          pV'       d    \        V\        4      '       d
   VR,          p\        V\         4      '       d   KT  \        R4      h	  V# )   z There is no nest behind this keyr   )rx   rF   listKeyError)rS   r   r   r   r   s   &&$  r   get_or_create_nestNestedDict.get_or_create_nest  sb     IIA}7D
4 6 6BxdD))ABB  r7   c                    V ^8  d   QhRRRR/# r   r0   )r@   s   "r   rA   r   +  s     	" 	"s 	"t 	"r7   c                	    V P                  VR R 4      pVR,          pW29   d=   W#,          p\        V\        4      '       g   \        R4      hVP	                  / 4       R # / .W#&   R # )Nz/An object other than list found behind this keyr   )r   rF   r   r   append)rS   r   r   last_keylist_s   &&   r   append_nest_to_listNestedDict.append_nest_to_list+  s\    &&s3Bx0r7NEeT**PQQLL TDNr7   r   N)r1   r2   r3   r4   rM   r   r   r6   r0   r7   r   r   r     s     ' "	"	" 	"r7   r   c                  "    ] tR tRtR R ltRtR# )rm   i7  c                   V ^8  d   QhRR/# r   r0   )r@   s   "r   rA   Output.__annotate__8  s      $ r7   c                	B    \        4       V n        \        4       V n        R # r   )r   rw   r   rr   r   s   &r   rM   Output.__init__8  s    L	W
r7   )rw   rr   N)r1   r2   r3   r4   rM   r6   r0   r7   r   rm   rm   7  s     r7   rm   c               (    V ^8  d   QhRRRRRRRR/# )r;   ry   rG   r>   r   charszIterable[str]rZ   r0   )r@   s   "r   rA   rA   =  s(      C c - C r7   c                ^     W,          V9   d   V^,          pK   V#   \          d     T# i ; i)r   )rp   )ry   r>   r   s   &&&r   ro   ro   =  s?    h%1HC   J  Js    ,,c               0    V ^8  d   QhRRRRRRRRRR	R
R/# )r;   ry   rG   r>   r   expecterror_onzfrozenset[str]error_on_eofr   rZ   r0   )r@   s   "r   rA   rA   F  sD      		 
   	r7   c               "    V P                  W!4      pVP	                  WV 4      '       g/   W,          V9  d   V^,          pK  \        RW,          : 2W4      hV#   \         d(    \        T 4      pT'       d   \        R T: 2Y4      Rh Lzi ; i)z	Expected NzFound invalid character )indexrL   rP   r9   
isdisjoint)ry   r>   r   r   r   new_poss   &&&$$ r   
skip_untilr   F  s    R))F( sw/00hh&1HC 8EsPPN  Rc(!IfZ"8#GTQ Rs   A /BBc               $    V ^8  d   QhRRRRRR/# r;   ry   rG   r>   r   rZ   r0   )r@   s   "r   rA   rA   \  s!     	 	c 	 	 	r7   c                     W,          pVR8X  d   \        W^,           R\        RR7      # V#   \          d    R p L2i ; i)Nrj   r"   Fr   r   )rp   r   r    )ry   r>   r|   s   && r   rv   rv   \  sO    8 s{q$)>U
 	
 J  s   - ==c               $    V ^8  d   QhRRRRRR/# r   r0   )r@   s   "r   rA   rA   h  s!      C c c r7   c                R     Tp\        W\        4      p\        W4      pW8X  g   K&  V# )T)ro   r#   rv   )ry   r>   pos_before_skips   && r   skip_comments_and_array_wsr   h  s,    
#673$!Jr7   c               (    V ^8  d   QhRRRRRRRR/# 	r;   ry   rG   r>   r   rz   rm   rZ   tuple[Pos, Key]r0   )r@   s   "r   rA   rA   q  s(      # C f  r7   c                T   V^,          p\        W\        4      p\        W4      w  rVP                  P	                  V\
        P                  4      '       g1   VP                  P	                  V\
        P                  4      '       d   \        RV R2W4      hVP                  P                  V\
        P                  RR7        VP                  P                  V4       T P                  RT4      '       g   \        RY4      hT^,           T3#   \         d    \        RY4      Rhi ; i)	r   zCannot declare z twiceFr   Cannot overwrite a valueN]z.Expected ']' at the end of a table declaration)ro   r!   	parse_keyrr   r   r   r   r   r9   r   rw   r   r   
startswithry   r>   rz   r   s   &&& r   ru   ru   q  s    1HC
Sw
'C"HC
yy}}S%--..#))--U\\2R2RuF;SFFIIMM#u**eM<N##C( >>#s##<c
 	
 7C<  N8#CMNs   D D'c               (    V ^8  d   QhRRRRRRRR/# r   r0   )r@   s   "r   rA   rA     s(      # C f  r7   c                (   V^,          p\        W\        4      p\        W4      w  rVP                  P	                  V\
        P                  4      '       d   \        RV 2W4      hVP                  P                  V4       VP                  P                  V\
        P                  RR7        VP                  P                  V4       T P                  RT4      '       g   \        RY4      hT^,           T3#   \         d    \        RY4      Rhi ; i)r;   "Cannot mutate immutable namespace Fr   r   Nz]]z0Expected ']]' at the end of an array declaration)ro   r!   r   rr   r   r   r   r9   r   r   r   rw   r   r   r   r   s   &&& r   rt   rt     s    1HC
Sw
'C"HC
yy}}S%,,'' B3%H#SSIIIIMM#u**eM<N$$S) >>$$$>
 	
 7C<  N8#CMNs   .C8 8Dc               0    V ^8  d   QhRRRRRRRRR	R
RR/# )r;   ry   rG   r>   r   rz   rm   r{   r   rW   r   rZ   r0   )r@   s   "r   rA   rA     s<      	#-0?Ir7   c                6  aa \        WV^ R7      w  popSRR	 SR	,          rvSV,           pVV3R l\        ^\        S4      4       4       p	V	 Fl  p
VP                  P	                  V
\
        P                  4      '       d   \        RV
 2W4      hVP                  P                  V
\
        P                  4       Kn  	  VP                  P	                  V\
        P                  4      '       d   \        RV 2W4      h VP                  P                  V4      pY{9   d   \        RY4      h\        T\        \        34      '       d4   TP                  P!                  SS,           \
        P                  RR7       Y[T&   T#   \         d    \        RY4      Rhi ; i)
r   )nest_lvlNc              3  <   <"   T F  pSSR V ,           x  K  	  R # 5ir   r0   )r   r   r{   r   s   & r   r   !key_value_rule.<locals>.<genexpr>  s!     L9KAvBQ//9Ks   zCannot redefine namespace r   r   Tr   r   )parse_key_value_pairrangerP   rr   r   r   r   r9   r   r   rw   r   r   rF   rx   r   r   )ry   r>   rz   r{   rW   valuer   r   abs_key_parentrelative_path_cont_keyscont_keynestr   s   &&&f&       @r   rq   rq     sc    +3[1MOCes8SWj(NLq#c(9KL+99==5#6#677!$>xj"I3TT 			h(;(;< , yy}}^U\\2200@A3
 	
Nxx**>: 8#CC%$&&		fslELLDANJ  N8#CMNs   =E? ?Fc          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r;   ry   rG   r>   r   rW   r   r   rH   rZ   ztuple[Pos, Key, Any]r0   )r@   s   "r   rA   rA     s4      	%/;>r7   c                    \        W4      w  r W,          pVR8w  d   \        RW4      hV^,          p\        W\        4      p\        WW#4      w  rWV3#   \         d    R p LMi ; i)N=z,Expected '=' after a key in a key/value pair)r   rp   r9   ro   r!   parse_value)ry   r>   rW   r   r   r|   r   s   &&&&   r   r   r     sv     "HC8 s{LcWW1HC
Sw
'CS{=JCU?  s   A A%$A%c               $    V ^8  d   QhRRRRRR/# )r;   ry   rG   r>   r   rZ   r   r0   )r@   s   "r   rA   rA     s!     , ,3 ,S ,_ ,r7   c                   \        W4      w  rV3p\        W\        4      p  W,          pVR8w  d   W3# V^,          p\        W\        4      p\        W4      w  rW23,          p\        W\        4      pKU    \         d    Rp LZi ; i)TN.)parse_key_partro   r!   rp   )ry   r>   key_partr   r|   s   &&   r   r   r     s    "3,MC{C
Sw
'C
	"xD 3;8Oq7+&s0{7+  	D	s   A6 6BBc               $    V ^8  d   QhRRRRRR/# r;   ry   rG   r>   r   rZ   tuple[Pos, str]r0   )r@   s   "r   rA   rA     s&     P P P# P/ Pr7   c                     W,          pV\        9   d   Tp\        W\        4      pWW1 3# VR8X  d   \        W4      # VR8X  d   \	        W4      # \        RW4      h  \          d    R p Lai ; i)Nrh   r+   z(Invalid initial character for a key part)rp   r$   ro   parse_literal_strparse_one_line_basic_strr9   )ry   r>   r|   	start_poss   &&  r   r   r     s    8 ~	>2	&&&s{ **s{'11
Dc
OO  s   A A,+A,c               $    V ^8  d   QhRRRRRR/# r  r0   )r@   s   "r   rA   rA     s!     6 6# 6C 6O 6r7   c                .    V^,          p\        WRR7      # )r   F	multiline)parse_basic_strry   r>   s   &&r   r  r    s    1HC3u55r7   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r;   ry   rG   r>   r   rW   r   r   rH   rZ   ztuple[Pos, list[Any]]r0   )r@   s   "r   rA   rA     s4     " "	""%/";>""r7   c                   V^,          p. p\        W4      pV P                  RV4      '       d   V^,           V3#  \        WW#4      w  rVP                  V4       \        W4      pWV^,            pVR8X  d   V^,           V3# VR8w  d   \	        RW4      hV^,          p\        W4      pV P                  RV4      '       g   K  V^,           V3# )r   r   ,zUnclosed array)r   r   r   r   r9   )ry   r>   rW   r   arrayvalcs   &&&&   r   parse_arrayr    s     1HCE
$S
.C
~~c3Qw~
s?S(2cAg87E>!8!"2C==q(2>>#s##7E>!r7   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r;   ry   rG   r>   r   rW   r   r   rH   rZ   ztuple[Pos, dict[str, Any]]r0   )r@   s   "r   rA   rA     s4     , ,	,,%/,;>,,r7   c                6   V^,          p\        4       p\        4       p\        W\        4      pV P	                  RV4      '       d   V^,           VP
                  3#  \        WW#4      w  rpVRR VR,          rVP                  V\        P                  4      '       d   \        RV 2W4      h VP                  VRR7      p
Y9   d   \        RT	: 2Y4      hYzT	&   \        Y\        4      pYT^,            pTR8X  d   T^,           TP
                  3# TR	8w  d   \        R
Y4      h\        T\
        \        34      '       d#   TP                  T\        P                  RR7       T^,          p\        Y\        4      pEK$    \         d    \        RY4      Rhi ; i)r   }TNr   F)r   r   zDuplicate inline table key r  zUnclosed inline tabler   r   )r   r   ro   r!   r   rx   r   r   r   r9   r   r   rF   r   r   )ry   r>   rW   r   nested_dictrr   r   r   r   r   r   r  s   &&&&        r   parse_inline_tabler    s    1HC,KGE
Sw
'C
~~c3Qw((((
.sO%"3BxRH99S%,,''!$Fse"LcWW	R11*51QD !$?|"LcWWX7+cAg87K,,,,8!"93DDedD\**IIc5<<4I8q7+  	R!"<cGTQ	Rs   .E? ?Fr  c               (    V ^8  d   QhRRRRRRRR/# 	r;   ry   rG   r>   r   r  r   rZ   r  r0   )r@   s   "r   rA   rA   1  s2     P P	PP&*PPr7   c                  WV^,            pV^,          pV'       dX   VR9   dQ   VR8w  d6   \        W\        4      p W,          pTR8w  d   \        RY4      hT^,          p\        W\        4      pVR3# VR8X  d   \        W^4      # VR8X  d   \        W^4      #  V\        V,          3#   \         d    TR3u # i ; i  \         d    \        RY4      Rhi ; i)	r;   \
 r"   zUnescaped '\' in a stringz\uz\UN>   \	r  \ )ro   r!   rp   r9   r#   parse_hex_charr-   r   )ry   r>   r  	escape_idr|   s   &&$  r   parse_basic_str_escaper#  1  s     #'"I1HCY"99 Sw/Cx t|%&BCMM1HC#67BwEc**Ec**P1)<<<  Bw  P:CE4OPs   B* B? *B<;B<?Cc               $    V ^8  d   QhRRRRRR/# r  r0   )r@   s   "r   rA   rA   N  s!     < <# <C <O <r7   c                    \        WR R7      # )Tr
  )r#  r  s   &&r    parse_basic_str_escape_multiliner&  N  s    !#d;;r7   c               (    V ^8  d   QhRRRRRRRR/# )	r;   ry   rG   r>   r   hex_lenrH   rZ   r  r0   )r@   s   "r   rA   rA   R  s(     
 
 
# 
 
 
r7   c                    WW,            p\        V4      V8w  g   \        P                  V4      '       g   \        R W4      hW,          p\	        V^4      p\        V4      '       g   \        RW4      hV\        V4      3# )zInvalid hex valuez/Escaped character is not a Unicode scalar value)rP   r'   
issupersetr9   rH   is_unicode_scalar_valuer   )ry   r>   r(  hex_strhex_ints   &&&  r   r!  r!  R  sy    &G
7|wn&?&?&H&H13<<NC'2G"7++=s
 	
 Gr7   c               $    V ^8  d   QhRRRRRR/# r  r0   )r@   s   "r   rA   rA   _  s!     ' '3 'S '_ 'r7   c                X    V^,          pTp\        WR\        RR7      pV^,           WV 3# )r   rh   Tr   )r   r   )ry   r>   r  s   && r   r  r  _  s:    1HCI
# 9C 7C#&&&r7   c               (    V ^8  d   QhRRRRRRRR/# )	r;   ry   rG   r>   r   literalr   rZ   r  r0   )r@   s   "r   rA   rA   h  s(     % %S %s % % %r7   c                  V^,          pV P                  RV4      '       d
   V^,          pV'       d%   Rp\        V VR\        RR7      pWV pV^,           pMRp\        WRR7      w  rV P                  W14      '       g   W3# V^,          pV P                  W14      '       g   WV,           3# V^,          pWV^,          ,           3# )   r"   rh   '''Tr   r+   r
  )r   r   r   r  )ry   r>   r1  delimend_posresults   &&$   r   parse_multiline_strr8  h  s    1HC
~~dC  q8
 !k%c$? >>%%%{1HC>>%%%UN""1HC%!)$$$r7   c               (    V ^8  d   QhRRRRRRRR/# r  r0   )r@   s   "r   rA   rA     s(       3 d  r7   c                  V'       d   \         p\        pM\        p\        pR pTp  W,          pTR8X  dR   T'       g   T^,           YPYa ,           3# T P                  RT4      '       d   T^,           YPYa ,           3# T^,          pKb  TR8X  d!   YPYa ,          pT! Y4      w  rYX,          pTpK  Ys9   d   \        RT: 2Y4      hT^,          pK    \         d    \        RY4      Rhi ; i)r  zUnterminated stringNr+   """r,   zIllegal character )r   r&  r   r#  rp   r9   r   )	ry   r>   r  r   parse_escapesr7  r  r|   parsed_escapes	   &&$      r   r  r    s   48*.FI
	M8D 3;QwY); ;;;~~eS))QwY); ;;;1HC4<)((F!.s!8C#FI!$6th"?JJq#  	M!"7BL	Ms   C C)c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r;   ry   rG   r>   r   rW   r   r   rH   rZ   ztuple[Pos, Any]r0   )r@   s   "r   rA   rA     s;     I5 I5	I5I5%/I5;>I5I5r7   c                   V\         8  d   \        R \          R24      h W,          pVR8X  d1   V P                  RV4      '       d   \	        WRR7      # \        W4      # VR8X  d1   V P                  RV4      '       d   \	        WR	R7      # \        W4      # VR
8X  d$   V P                  RV4      '       d   V^,           R	3# VR8X  d$   V P                  RV4      '       d   V^,           R3# VR8X  d   \        WW#^,           4      # VR8X  d   \        WW#^,           4      # \        P                  ! W4      pV'       d    \        V4      pTP                  4       T3# \        P                  ! W4      pV'       d   VP                  4       \!        V4      3# \"        P                  ! W4      p	V	'       d   V	P                  4       \%        W4      3# WV^,            p
V
R9   d   V^,           V! V
4      3# WV^,            pVR9   d   V^,           V! V4      3# \        RW4      h  \         d    Rp ELi ; i  \         d   p\        RY4      ThRp?ii ; i)z;TOML inline arrays/tables are nested more than the allowed z levelsNr+   r;  F)r1  rh   r4  Tttrueffalseri   {zInvalid date or datetimezInvalid value>   infnan>   +inf+nan-inf-nan)r   RecursionErrorrp   r   r8  r  r  r  r  r   matchr   rL   r9   endr   r	   r   r
   )ry   r>   rW   r   r|   datetime_matchdatetime_objelocaltime_matchnumber_matchfirst_three
first_fours   &&&&        r   r   r     sS    $$ "#7,
 	

8 s{>>%%%&s??'11 s{>>%%%&s>> ** s{>>&#&&7D= s{>>'3''7E>! s{3[Q,?? s{!#KAFF !&&s0N	O,^<L !!#\11"((2O""$&8&III
 ??3,L!?<#MMM C!G$Kn$QwK00037#J55QwJ///
/3
44y  L  	O!"<cGQN	Os)   H =H2 H/.H/2I=I

Ic                    V ^8  d   QhRRRR/# )r;   	codepointrH   rZ   r   r0   )r@   s   "r   rA   rA     s     H Hs Ht Hr7   c                j    ^ T u;8*  ;'       d    R8*  Mu ;'       g    RT u;8*  ;'       d    R8*  # u # )r   i  i   i r0   )rV  s   &r   r+  r+    s0    ##e#GG))F)Fw)FG)FGr7   c                    V ^8  d   QhRRRR/# )r;   rW   r   rZ   r0   )r@   s   "r   rA   rA     s      z j r7   c                :   a  S \         J d   \         # R V 3R llpV# )a  A decorator to make `parse_float` safe.

`parse_float` must not return dicts or lists, because these types
would be mixed with parsed TOML tables and arrays, thus confusing
the parser. The returned decorated callable raises `ValueError`
instead of returning illegal types.
c                    V ^8  d   QhRRRR/# )r;   	float_strrG   rZ   r   r0   )r@   s   "r   rA   +make_safe_parse_float.<locals>.__annotate__  s      C C r7   c                f   < S! V 4      p\        V\        \        34      '       d   \        R 4      hV# )z*parse_float must not return dicts or lists)rF   rx   r   rL   )r[  float_valuerW   s   & r   safe_parse_float/make_safe_parse_float.<locals>.safe_parse_float  s0    !),kD$<00IJJr7   )float)rW   r_  s   f r   rn   rn     s$     e  r7   )I__conditional_annotations__
__future__r   systypesr   _rer   r   r   r   r	   r
   TYPE_CHECKINGcollections.abcr   typingr   r   r   _typesr   r   r   getrecursionlimitr   r   	frozensetr   r   r   r   r   r   r   r    r!   r#   r$   r%   r'   r-   r/   rL   r9   ra  rd   ra   r   r   rm   ro   r   rv   r   ru   rt   rq   r   r   r   r  r  r  r#  r&  r!  r  r8  r  r   r+  rn   )rb  s   @r   <module>rm     s)  
 # " 
 "  (%%,,  113 E 38eBi889SX;NN
E N ",io!=  =+5	&8I+I !5 I#: 5 :-N #U N6 u 65! !$y6 U 6!O  *Ie,<< 5 <!"@A A'7xxxxxx
( u 
8 8
:j :z	-u 	-D DN7 7t" "D ,	(.D ,$P 6
"4,DP-2P:<
'%>@I5XHr7   