+
    f4ja                      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4      ,
          t]]! R4      ,
          t ]t!] t"]t#]! R4      t$]$]! R4      ,          t%]! R4      t&]&]! R4      ,          t']! R4      t(]! RRRRRRRRRRRRRR/4      t) ! R R 4      t* ! R! R"]+4      t,R#]-/R$ R% llt.R#]-/R& R' llt/ ! R( R)4      t0 ! R* R+4      t1 ! R, R-4      t2R. R/ lt3R0 R1 lt4R2 R3 lt5R4 R5 lt6R6 R7 lt7R8 R9 lt8R: R; lt9R< R= lt:R> R? lt;R@ RA lt<RB RC lt=RD RE lt>RF RG lt?RHR/RI RJ llt@RK RL ltARM RN ltBRO RP ltCRQ RR ltDRS RT ltERU RV ltFRW RX ltGRY RZ ltHR# )[    )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_KEY_PARTSc              #  8   "   T F  p\        V4      x  K  	  R # 5iN)chr).0is   & !lib/python3.14/tomllib/_parser.py	<genexpr>r   !   s     1y!s1vvys   	z	
z 	
z@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_z"'abcdefABCDEF0123456789z\bz\tz\nz\fz\rz\""z\\\c                      ] tR t^Bt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__r$       r   r#   r#   B   s    8r+   r#   c                  0    ] tR t^Gt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/# )   msgstrdocposr   argsr   r$   )formats   "r   __annotate__TOMLDecodeError.__annotate__R   s2     / // / 	/
 /r+   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 ))
isinstancer1   intwarningswarnDeprecationWarningr#   
ValueError__init__countrindexlenr0   r2   r3   linenocolno)
selfr0   r2   r3   r4   r=   rE   rF   
coord_reprerrmsgs
   &&&&*     r   rA   TOMLDecodeError.__init__R   s9    c3''c3''c3''MMV"	   ,,zTz,,zTz,,zTz,t,4C(1,Q;!GE**T1c22E#c(?*J 	%9J5j\+D)
r+   )rF   r2   rE   r0   r3   N)r%   r&   r'   r(   r)   r#   rA   r*   r$   r+   r   r-   r-   G   s     &%%	/ /r+   r-   parse_floatc               $    V ^8  d   QhRRRRRR/# )r/   fpz	IO[bytes]rK   r   returndict[str, Any]r$   )r5   s   "r   r6   r6      s!     	- 	-Y 	-: 	-. 	-r+   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)rK   )readdecodeAttributeError	TypeErrorloads)rM   rK   bss   "$  r   loadrX      sN    
	AHHJ
 ,,	  S
	s	   . Ac               $    V ^8  d   QhRRRRRR/# )r/   rW   r1   rK   r   rN   rO   r$   )r5   s   "r   r6   r6      s&     D DS DZ DN Dr+   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 statementr$   )replacerS   rT   typer'   Outputmake_safe_parse_float
skip_charsTOML_WS
IndexErrorKEY_INITIAL_CHARSkey_value_ruleflagsfinalize_pendingcreate_list_rulecreate_dict_ruler-   skip_commentdatadict)rW   rK   srcr3   outheadercharsecond_chars   "$      r   rU   rU      s   
ii%
 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& (a)=)=(>a@
	2  	F 88==I	  #"#"  	 88==	s@   D. E& 
F F  .5E#&F	F	FF GGc                  j    ] tR t^tRt^ t^t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.c                   V ^8  d   QhRR/# r/   rN   Noner$   )r5   s   "r   r6   Flags.__annotate__   s     : :$ :r+   c                	2    / V n         \        4       V n        R # r   )_flagsset_pending_flagsrG   s   &r   rA   Flags.__init__   s    1347Er+   c               $    V ^8  d   QhRRRRRR/# )r/   keyr   flagr<   rN   rw   r$   )r5   s   "r   r6   rx      s!     - -s -# -$ -r+   c                	>    V P                   P                  W34       R # r   )r|   addrG   r   r   s   &&&r   add_pendingFlags.add_pending   s    ,r+   c                   V ^8  d   QhRR/# rv   r$   )r5   s   "r   r6   rx      s     $ $$ $r+   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   rh   Flags.finalize_pending   s6    ,,ICHHS%H0 -!!#r+   c                    V ^8  d   QhRRRR/# r/   r   r   rN   rw   r$   )r5   s   "r   r6   rx      s        S  T  r+   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)rz   pop)rG   r   contks   &&  r   	unset_allFlags.unset_all   sC    {{SbA}78$D  	R$r+   c               (    V ^8  d   QhRRRRRRRR/# )	r/   r   r   r   r<   r   boolrN   rw   r$   )r5   s   "r   r6   rx      s.     	N 	Ns 	N# 	NT 	Nd 	Nr+   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 # )Nrg   recursive_flagsr   r   )rz   r{   r   )rG   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Mr+   c               $    V ^8  d   QhRRRRRR/# )r/   r   r   r   r<   rN   r   r$   )r5   s   "r   r6   rx      s!      s # $ r+   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   rg   r   )rz   )rG   r   r   r   r   
inner_contr   s   &&&    r   is_	Flags.is_   s    {{SbA}J"344h'D  r7>D=(KKD9J4K,KKr+   )rz   r|   N)r%   r&   r'   r(   r)   FROZENEXPLICIT_NESTrA   r   rh   r   r{   r   r*   r$   r+   r   rt   rt      s7    3 F M:-$
 	N r+   rt   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/# rv   r$   )r5   s   "r   r6   NestedDict.__annotate__  s     ' '$ 'r+   c                	    / V n         R # r   rm   r}   s   &r   rA   NestedDict.__init__  s	    $&	r+   access_listsTc               $    V ^8  d   QhRRRRRR/# )r/   r   r   r   r   rN   rO   r$   )r5   s   "r   r6   r     s(       	
 
r+   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   )rm   r;   listKeyError)rG   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  r+   c                    V ^8  d   QhRRRR/# r   r$   )r5   s   "r   r6   r   '  s     	" 	"s 	"t 	"r+   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   r;   r   r   append)rG   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 TDNr+   r   N)r%   r&   r'   r(   rA   r   r   r*   r$   r+   r   r   r     s     ' "	"	" 	"r+   r   c                  "    ] tR tRtR R ltRtR# )r`   i3  c                   V ^8  d   QhRR/# rv   r$   )r5   s   "r   r6   Output.__annotate__4  s      $ r+   c                	B    \        4       V n        \        4       V n        R # r   )r   rl   rt   rg   r}   s   &r   rA   Output.__init__4  s    L	W
r+   )rl   rg   N)r%   r&   r'   r(   rA   r*   r$   r+   r   r`   r`   3  s     r+   r`   c               (    V ^8  d   QhRRRRRRRR/# )r/   rn   r1   r3   r   charszIterable[str]rN   r$   )r5   s   "r   r6   r6   9  s(      C c - C r+   c                ^     W,          V9   d   V^,          pK   V#   \          d     T# i ; i)r   )rd   )rn   r3   r   s   &&&r   rb   rb   9  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/   rn   r1   r3   r   expecterror_onzfrozenset[str]error_on_eofr   rN   r$   )r5   s   "r   r6   r6   B  sD      		 
   	r+   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 )indexr@   rD   r-   
isdisjoint)rn   r3   r   r   r   new_poss   &&&$$ r   
skip_untilr   B  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/   rn   r1   r3   r   rN   r$   )r5   s   "r   r6   r6   X  s!     	 	c 	 	 	r+   c                     W,          pVR8X  d   \        W^,           R\        RR7      # V#   \          d    R p L2i ; i)Nr]   r   Fr   r   )rd   r   ILLEGAL_COMMENT_CHARS)rn   r3   rq   s   && r   rk   rk   X  sO    8 s{q$)>U
 	
 J  s   - ==c               $    V ^8  d   QhRRRRRR/# r   r$   )r5   s   "r   r6   r6   d  s!      C c c r+   c                R     Tp\        W\        4      p\        W4      pW8X  g   K&  V# )T)rb   TOML_WS_AND_NEWLINErk   )rn   r3   pos_before_skips   && r   skip_comments_and_array_wsr   d  s,    
#673$!Jr+   c               (    V ^8  d   QhRRRRRRRR/# 	r/   rn   r1   r3   r   ro   r`   rN   tuple[Pos, Key]r$   )r5   s   "r   r6   r6   m  s(      # C f  r+   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)rb   rc   	parse_keyrg   r   rt   r   r   r-   r{   rl   r   r   
startswithrn   r3   ro   r   s   &&& r   rj   rj   m  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   r$   )r5   s   "r   r6   r6     s(      # C f  r+   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)rb   rc   r   rg   r   rt   r   r-   r   r{   r   rl   r   r   r   r   s   &&& r   ri   ri     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/   rn   r1   r3   r   ro   r`   rp   r   rK   r   rN   r$   )r5   s   "r   r6   r6     s<      	#-0?Ir+   c                2  aa \        WV4      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)Nc              3  <   <"   T F  pSSR V ,           x  K  	  R # 5ir   r$   )r   r   rp   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rangerD   rg   r   rt   r   r-   r   r   rl   r   r   r;   rm   r   r{   )rn   r3   ro   rp   rK   valuer   r   abs_key_parentrelative_path_cont_keyscont_keynestr   s   &&&f&       @r   rf   rf     sa    +3[AOC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/   rn   r1   r3   r   rK   r   rN   ztuple[Pos, Key, Any]r$   )r5   s   "r   r6   r6     s,      	%/r+   c                    \        W4      w  r W,          pVR8w  d   \        RW4      hV^,          p\        W\        4      p\        WV4      w  rWV3#   \         d    R p LMi ; i)N=z,Expected '=' after a key in a key/value pair)r   rd   r-   rb   rc   parse_value)rn   r3   rK   r   rq   r   s   &&&   r   r   r     sv     "HC8 s{LcWW1HC
Sw
'CS{3JCU?  s   A A%$A%c               $    V ^8  d   QhRRRRRR/# )r/   rn   r1   r3   r   rN   r   r$   )r5   s   "r   r6   r6     s!     , ,3 ,S ,_ ,r+   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\	        V4      \
        8  d   \        R\
         R24      h\        W\        4      pK|    \         d    Rp Li ; i)TN.z#TOML key has more than the allowed z parts)parse_key_partrb   rc   rd   rD   r   RecursionError)rn   r3   key_partr   rq   s   &&   r   r   r     s    "3,MC{C
Sw
'C
	"xD 3;8Oq7+&s0{s8m# 5m_FK  7+  	D	s   B B-,B-c               $    V ^8  d   QhRRRRRR/# r/   rn   r1   r3   r   rN   tuple[Pos, str]r$   )r5   s   "r   r6   r6     s&     P P P# P/ Pr+   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)Nr[   r    z(Invalid initial character for a key part)rd   BARE_KEY_CHARSrb   parse_literal_strparse_one_line_basic_strr-   )rn   r3   rq   	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   r$   )r5   s   "r   r6   r6     s!     6 6# 6C 6O 6r+   c                .    V^,          p\        WRR7      # )r   F	multiline)parse_basic_strrn   r3   s   &&r   r   r     s    1HC3u55r+   c               (    V ^8  d   QhRRRRRRRR/# )	r/   rn   r1   r3   r   rK   r   rN   ztuple[Pos, list[Any]]r$   )r5   s   "r   r6   r6     s)     " "S "s " "@U "r+   c                   V^,          p. p\        W4      pV P                  RV4      '       d   V^,           V3#  \        WV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   r-   )rn   r3   rK   arrayvalcs   &&&   r   parse_arrayr    s    1HCE
$S
.C
~~c3Qw~
s5S(2cAg87E>!8!"2C==q(2>>#s##7E>!r+   c               (    V ^8  d   QhRRRRRRRR/# )	r/   rn   r1   r3   r   rK   r   rN   ztuple[Pos, dict[str, Any]]r$   )r5   s   "r   r6   r6     s)     , ,C ,c ,
 ,Ga ,r+   c                6   V^,          p\        4       p\        4       p\        W\        4      pV P	                  RV4      '       d   V^,           VP
                  3#  \        WV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YiT&   \        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   rt   rb   rc   r   rm   r   r   r   r-   r   r   r;   r   r{   )rn   r3   rK   nested_dictrg   r   r   r   r   r   r
  s   &&&        r   parse_inline_tabler    s   1HC,KGE
Sw
'C
~~c3Qw((((
.sE%"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/   rn   r1   r3   r   r  r   rN   r   r$   )r5   s   "r   r6   r6   -  s2     P P	PP&*PPr+   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  \ )rb   rc   rd   r-   r   parse_hex_charBASIC_STR_ESCAPE_REPLACEMENTSr   )rn   r3   r  	escape_idrq   s   &&$  r   parse_basic_str_escaper  -  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   r$   )r5   s   "r   r6   r6   J  s!     < <# <C <O <r+   c                    \        WR R7      # )Tr  )r  r  s   &&r    parse_basic_str_escape_multiliner  J  s    !#d;;r+   c               (    V ^8  d   QhRRRRRRRR/# )	r/   rn   r1   r3   r   hex_lenr<   rN   r   r$   )r5   s   "r   r6   r6   N  s(     
 
 
# 
 
 
r+   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)rD   HEXDIGIT_CHARS
issupersetr-   r<   is_unicode_scalar_valuer   )rn   r3   r   hex_strhex_ints   &&&  r   r  r  N  sy    &G
7|wn&?&?&H&H13<<NC'2G"7++=s
 	
 Gr+   c               $    V ^8  d   QhRRRRRR/# r   r$   )r5   s   "r   r6   r6   [  s!     ' '3 'S '_ 'r+   c                X    V^,          pTp\        WR\        RR7      pV^,           WV 3# )r   r[   Tr   )r   ILLEGAL_LITERAL_STR_CHARS)rn   r3   r   s   && r   r   r   [  s:    1HCI
# 9C 7C#&&&r+   c               (    V ^8  d   QhRRRRRRRR/# )	r/   rn   r1   r3   r   literalr   rN   r   r$   )r5   s   "r   r6   r6   d  s(     % %S %s % % %r+   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   r[   '''Tr   r    r  )r   r   #ILLEGAL_MULTILINE_LITERAL_STR_CHARSr  )rn   r3   r+  delimend_posresults   &&$   r   parse_multiline_strr3  d  s    1HC
~~dC  q8
 !k%c$? >>%%%{1HC>>%%%UN""1HC%!)$$$r+   c               (    V ^8  d   QhRRRRRRRR/# r  r$   )r5   s   "r   r6   r6     s(       3 d  r+   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 )!ILLEGAL_MULTILINE_BASIC_STR_CHARSr  ILLEGAL_BASIC_STR_CHARSr  rd   r-   r   )	rn   r3   r  r   parse_escapesr2  r   rq   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/   rn   r1   r3   r   rK   r   rN   ztuple[Pos, Any]r$   )r5   s   "r   r6   r6     s2     A5 A5	A5A5%/A5A5r+   c                L    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V4      # VR8X  d   \        WV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Li ; i  \         d   p\        RY4      ThR p?ii ; i)Nr    r6  F)r+  r[   r.  Tttrueffalser\   {zInvalid date or datetimezInvalid value>   infnan>   +inf+nan-inf-nan)rd   r   r3  r   r   r  r  r   matchr   r@   r-   endr   r	   r   r
   )rn   r3   rK   rq   datetime_matchdatetime_objelocaltime_matchnumber_matchfirst_three
first_fours   &&&        r   r   r     s   8 s{>>%%%&s??'11 s{>>%%%&s>> ** s{>>&#&&7D= s{>>'3''7E>! s{3[11 s{!#K88 !&&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)   G2 H 2HHH#HH#c                    V ^8  d   QhRRRR/# )r/   	codepointr<   rN   r   r$   )r5   s   "r   r6   r6     s     H Hs Ht Hr+   c                j    ^ T u;8*  ;'       d    R8*  Mu ;'       g    RT u;8*  ;'       d    R8*  # u # )r   i  i   i r$   )rR  s   &r   r$  r$    s0    ##e#GG))F)Fw)FG)FGr+   c                    V ^8  d   QhRRRR/# )r/   rK   r   rN   r$   )r5   s   "r   r6   r6     s      z j r+   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_strr1   rN   r   r$   )r5   s   "r   r6   +make_safe_parse_float.<locals>.__annotate__  s      C C r+   c                f   < S! V 4      p\        V\        \        34      '       d   \        R 4      hV# )z*parse_float must not return dicts or lists)r;   rm   r   r@   )rW  float_valuerK   s   & r   safe_parse_float/make_safe_parse_float.<locals>.safe_parse_float  s0    !),kD$<00IJJr+   )float)rK   r[  s   f r   ra   ra     s$     e  r+   )I__conditional_annotations__
__future__r   systypesr   _rer   r   r   r   r	   r
   TYPE_CHECKINGcollections.abcr   typingr   r   r   _typesr   r   r   getrecursionlimitr   __annotations__	frozensetr   r   
ASCII_CTRLr8  r7  r)  r/  r   rc   r   r   re   r"  r  r#   r@   r-   r]  rX   rU   rt   r   r`   rb   r   rk   r   rj   ri   rf   r   r   r   r   r  r  r  r  r  r   r3  r  r   r$  ra   )r^  s   @r   <module>rk     s  
 # " 
 "  (%%,, ,,.u .1uRy11Ic#h4GG
 %y6 $.61B$B !3 &G #/ 
E
	$/ O #Yu%55 9: 0xxxxxx
! 8 8
:j :z	- 	-D% DN7 7t" "D ,	(.D ,,P 6
"0,@P-2P:<
'%>@A5HHr+   