+
    2jHg                    8  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
&   ]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*R+R,/4      t*R	]R-&    ! R. R/4      t+ ! R0 R1],4      t-R2]./R3 R4 llt/R2]./R5 R6 llt0 ! R7 R84      t1 ! R9 R:4      t2 ! R; R<4      t3R= R> lt4R? R@ lt5RA RB lt6RC RD lt7RE RF lt8RG RH lt9RI RJ lt:RK RL lt;RM RN lt<RO RP lt=RQ RR lt>RS RT lt?RU RV lt@RWR/RX RY lltARZ R[ ltBR\ R] ltCR^ R_ ltDR` Ra ltERb Rc ltFRd Re ltGRf Rg ltHRh Ri ltIR# )j    )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_NESTINGMAX_KEY_PARTSc              #  8   "   T F  p\        V4      x  K  	  R # 5iN)chr).0is   & X/home/user/billing-ledger-validation/.venv/lib/python3.14/site-packages/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\ez\""z\\\BASIC_STR_ESCAPE_REPLACEMENTSc                      ] tR t^Nt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__r2       r   r1   r1   N   s    8r9   r1   c                  0    ] tR t^St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   r2   )formats   "r   __annotate__TOMLDecodeError.__annotate__^   s2     / /+/ ,/ ,	/
 /r9   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DeprecationWarningr1   
ValueError__init__countrindexlenr>   r?   r@   linenocolno)
selfr>   r?   r@   rA   rK   rS   rT   
coord_reprerrmsgs
   &&&&*     r   rO   TOMLDecodeError.__init__^   s9    c3''c3''c3''MMV"	   ,,zTz,,zTz,,zTz,t,4C(1,Q;!GE**T1c22E#c(?*J 	%9J5j\+D)
r9   )rT   r?   rS   r>   r@   N)r3   r4   r5   r6   r7   r1   rO   r8   r2   r9   r   r;   r;   S   s     /A.@.@	/ /r9   r;   parse_floatc               $    V ^8  d   QhRRRRRR/# )r=   __fpz	IO[bytes]rY   r   returndict[str, Any]r2   )rB   s   "r   rC   rC      s!     	- 	-y 	-* 	- 	-r9   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)rY   )readdecodeAttributeError	TypeErrorloads)r[   rY   bss   &$  r   loadrf      sN    		AHHJ
 ,,	  S
	s	   . Ac               $    V ^8  d   QhRRRRRR/# )r=   __srI   rY   r   r\   r]   r2   )rB   s   "r   rC   rC      s&     D Ds DJ D> Dr9   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 statementr2   )replacera   rb   typer5   Outputmake_safe_parse_float
skip_charsr"   
IndexErrorr&   key_value_ruleflagsfinalize_pendingcreate_list_rulecreate_dict_ruler;   skip_commentdatadict)rh   rY   srcr@   outheadercharsecond_chars   &$      r   rc   rc      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=   r\   Noner2   )rB   s   "r   rC   Flags.__annotate__   s     : :$ :r9   c                	2    / V n         \        4       V n        R # r   )_flagsset_pending_flagsrU   s   &r   rO   Flags.__init__   s    1347Er9   c               $    V ^8  d   QhRRRRRR/# )r=   keyr   flagrJ   r\   r   r2   )rB   s   "r   rC   r      s!     - -s -# -$ -r9   c                	>    V P                   P                  W34       R # r   )r   addrU   r   r   s   &&&r   add_pendingFlags.add_pending   s    ,r9   c                   V ^8  d   QhRR/# r   r2   )rB   s   "r   rC   r      s     $ $$ $r9   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   ru   Flags.finalize_pending   s6    ,,ICHHS%H0 -!!#r9   c                    V ^8  d   QhRRRR/# r=   r   r   r\   r   r2   )rB   s   "r   rC   r      s        S  T  r9   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)rU   r   contks   &&  r   	unset_allFlags.unset_all   sC    {{SbA}78$D  	R$r9   c               (    V ^8  d   QhRRRRRRRR/# )	r=   r   r   r   rJ   r   boolr\   r   r2   )rB   s   "r   rC   r      s.     	N 	Ns 	N# 	NT 	Nd 	Nr9   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 # )Nrt   recursive_flagsr   r   )r   r   r   )rU   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Mr9   c               $    V ^8  d   QhRRRRRR/# )r=   r   r   r   rJ   r\   r   r2   )rB   s   "r   rC   r     s!      s # $ r9   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   rt   r   )r   )rU   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r9   )r   r   N)r3   r4   r5   r6   r7   r   __annotations__r   rO   r   ru   r   r   r   r8   r2   r9   r   r   r      sA    3 FE M5:-$
 	N r9   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   r2   )rB   s   "r   rC   NestedDict.__annotate__  s     ' '$ 'r9   c                	    / V n         R # r   rz   r   s   &r   rO   NestedDict.__init__  s	    $&	r9   access_listsTc               $    V ^8  d   QhRRRRRR/# )r=   r   r   r   r   r\   r]   r2   )rB   s   "r   rC   r   "  s(       	
 
r9   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   )rz   rH   listKeyError)rU   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  r9   c                    V ^8  d   QhRRRR/# r   r2   )rB   s   "r   rC   r   3  s     	" 	"s 	"t 	"r9   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   rH   r   r   append)rU   r   r   last_keylist_s   &&   r   append_nest_to_listNestedDict.append_nest_to_list3  s\    &&s3Bx0r7NEeT**PQQLL TDNr9   r   N)r3   r4   r5   r6   rO   r   r   r8   r2   r9   r   r   r     s     ' "	"	" 	"r9   r   c                  "    ] tR tRtR R ltRtR# )ro   i?  c                   V ^8  d   QhRR/# r   r2   )rB   s   "r   rC   Output.__annotate__@  s      $ r9   c                	B    \        4       V n        \        4       V n        R # r   )r   ry   r   rt   r   s   &r   rO   Output.__init__@  s    L	W
r9   )ry   rt   N)r3   r4   r5   r6   rO   r8   r2   r9   r   ro   ro   ?  s     r9   ro   c               (    V ^8  d   QhRRRRRRRR/# )r=   r{   rI   r@   r   charszIterable[str]r\   r2   )rB   s   "r   rC   rC   E  s(      C c - C r9   c                ^     W,          V9   d   V^,          pK   V#   \          d     T# i ; i)r   )rr   )r{   r@   r   s   &&&r   rq   rq   E  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=   r{   rI   r@   r   expecterror_onzfrozenset[str]error_on_eofr   r\   r2   )rB   s   "r   rC   rC   N  sD      		 
   	r9   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 )indexrN   rR   r;   
isdisjoint)r{   r@   r   r   r   new_poss   &&&$$ r   
skip_untilr   N  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=   r{   rI   r@   r   r\   r2   )rB   s   "r   rC   rC   d  s!     	 	c 	 	 	r9   c                     W,          pVR8X  d   \        W^,           R\        RR7      # V#   \          d    R p L2i ; i)Nrl   r#   Fr   r   )rr   r   r!   )r{   r@   r~   s   && r   rx   rx   d  sO    8 s{q$)>U
 	
 J  s   - ==c               $    V ^8  d   QhRRRRRR/# r   r2   )rB   s   "r   rC   rC   p  s!      C c c r9   c                R     Tp\        W\        4      p\        W4      pW8X  g   K&  V# )T)rq   r$   rx   )r{   r@   pos_before_skips   && r   skip_comments_and_array_wsr   p  s,    
#673$!Jr9   c               (    V ^8  d   QhRRRRRRRR/# 	r=   r{   rI   r@   r   r|   ro   r\   tuple[Pos, Key]r2   )rB   s   "r   rC   rC   y  s(      # C f  r9   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)rq   r"   	parse_keyrt   r   r   r   r   r;   r   ry   r   r   
startswithr{   r@   r|   r   s   &&& r   rw   rw   y  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   r2   )rB   s   "r   rC   rC     s(      # C f  r9   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)rq   r"   r   rt   r   r   r   r;   r   r   r   ry   r   r   r   r   s   &&& r   rv   rv     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=   r{   rI   r@   r   r|   ro   r}   r   rY   r   r\   r2   )rB   s   "r   rC   rC     s<      	#-0?Ir9   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   r2   )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rangerR   rt   r   r   r   r;   r   r   ry   r   r   rH   rz   r   r   )r{   r@   r|   r}   rY   valuer   r   abs_key_parentrelative_path_cont_keyscont_keynestr   s   &&&f&       @r   rs   rs     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=   r{   rI   r@   r   rY   r   r   rJ   r\   ztuple[Pos, Key, Any]r2   )rB   s   "r   rC   rC     s4      	%/;>r9   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   rr   r;   rq   r"   parse_value)r{   r@   rY   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=   r{   rI   r@   r   r\   r   r2   )rB   s   "r   rC   rC     s!     , ,3 ,S ,_ ,r9   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_partrq   r"   rr   rR   r   RecursionError)r{   r@   key_partr   r~   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=   r{   rI   r@   r   r\   tuple[Pos, str]r2   )rB   s   "r   rC   rC     s&     P P P# P/ Pr9   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)Nrj   r-   z(Invalid initial character for a key part)rr   r%   rq   parse_literal_strparse_one_line_basic_strr;   )r{   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  r2   )rB   s   "r   rC   rC     s!     6 6# 6C 6O 6r9   c                .    V^,          p\        WRR7      # )r   F	multiline)parse_basic_strr{   r@   s   &&r   r	  r	    s    1HC3u55r9   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r=   r{   rI   r@   r   rY   r   r   rJ   r\   ztuple[Pos, list[Any]]r2   )rB   s   "r   rC   rC     s4     " "	""%/";>""r9   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   r;   )r{   r@   rY   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>!r9   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r=   r{   rI   r@   r   rY   r   r   rJ   r\   ztuple[Pos, dict[str, Any]]r2   )rB   s   "r   rC   rC     s4     !9 !9	!9!9%/!9;>!9!9r9   c                x   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^,          p\        Y4      pT P                  RT4      '       d   T^,           TP                  3# \        T\        \        34      '       g   EK%  TP                  T\        P                  RR7       EKJ    \         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   r   r   rz   r   r   r   r;   r   r   rH   r   r   )r{   r@   rY   r   nested_dictrt   r   r   r   r   r   r  s   &&&&        r   parse_inline_tabler    s    1HC,KGE
$S
.C
~~c3Qw((((
.sO%"3BxRH99S%,,''!$Fse"LcWW	R11*51QD !$?|"LcWWX(2cAg87K,,,,8!"93DDq(2>>#s##7K,,,,edD\**IIc5<<4I8!  	R!"<cGTQ	Rs   )F   F9r  c               (    V ^8  d   QhRRRRRRRR/# 	r=   r{   rI   r@   r   r  r   r\   r  r2   )rB   s   "r   rC   rC   ?  s2     P P	PP&*PPr9   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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\xz\uz\UN>   \	r   \ )rq   r"   rr   r;   r$   parse_hex_charr/   r   )r{   r@   r  	escape_idr~   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**Ec**P1)<<<  Bw  P:CE4OPs   B= .C =CCC+c               $    V ^8  d   QhRRRRRR/# r  r2   )rB   s   "r   rC   rC   ^  s!     < <# <C <O <r9   c                    \        WR R7      # )Tr  )r&  r  s   &&r    parse_basic_str_escape_multiliner)  ^  s    !#d;;r9   c               (    V ^8  d   QhRRRRRRRR/# )	r=   r{   rI   r@   r   hex_lenrJ   r\   r  r2   )rB   s   "r   rC   rC   b  s(     
 
 
# 
 
 
r9   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)rR   r(   
issupersetr;   rJ   is_unicode_scalar_valuer   )r{   r@   r+  hex_strhex_ints   &&&  r   r$  r$  b  sy    &G
7|wn&?&?&H&H13<<NC'2G"7++=s
 	
 Gr9   c               $    V ^8  d   QhRRRRRR/# r  r2   )rB   s   "r   rC   rC   o  s!     ' '3 'S '_ 'r9   c                X    V^,          pTp\        WR\        RR7      pV^,           WV 3# )r   rj   Tr   )r   r   )r{   r@   r
  s   && r   r  r  o  s:    1HCI
# 9C 7C#&&&r9   c               (    V ^8  d   QhRRRRRRRR/# )	r=   r{   rI   r@   r   literalr   r\   r  r2   )rB   s   "r   rC   rC   x  s(     % %S %s % % %r9   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#   rj   '''Tr   r-   r  )r   r   r    r  )r{   r@   r4  delimend_posresults   &&$   r   parse_multiline_strr;  x  s    1HC
~~dC  q8
 !k%c$? >>%%%{1HC>>%%%UN""1HC%!)$$$r9   c               (    V ^8  d   QhRRRRRRRR/# r  r2   )rB   s   "r   rC   rC     s(       3 d  r9   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&  rr   r;   r   )	r{   r@   r  r   parse_escapesr:  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=   r{   rI   r@   r   rY   r   r   rJ   r\   ztuple[Pos, Any]r2   )rB   s   "r   rC   rC     s;     I5 I5	I5I5%/I5;>I5I5r9   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)r4  rj   r7  Tttrueffalserk   {zInvalid date or datetimezInvalid value>   infnan>   +inf+nan-inf-nan)r   r  rr   r   r;  r	  r  r  r  r   matchr   rN   r;   endr   r	   r   r
   )r{   r@   rY   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=   	codepointrJ   r\   r   r2   )rB   s   "r   rC   rC     s     H Hs Ht Hr9   c                j    ^ T u;8*  ;'       d    R8*  Mu ;'       g    RT u;8*  ;'       d    R8*  # u # )r   i  i   i r2   )rX  s   &r   r.  r.    s0    ##e#GG))F)Fw)FG)FGr9   c                    V ^8  d   QhRRRR/# )r=   rY   r   r\   r2   )rB   s   "r   rC   rC     s      z j r9   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_strrI   r\   r   r2   )rB   s   "r   rC   +make_safe_parse_float.<locals>.__annotate__  s      C C r9   c                f   < S! V 4      p\        V\        \        34      '       d   \        R 4      hV# )z*parse_float must not return dicts or lists)rH   rz   r   rN   )r]  float_valuerY   s   & r   safe_parse_float/make_safe_parse_float.<locals>.safe_parse_float  s0    !),kD$<00IJJr9   )float)rY   ra  s   f r   rp   rp     s$     e  r9   )J__conditional_annotations__
__future__r   systypesr   _rer   r   r   r   r	   r
   TYPE_CHECKINGcollections.abcr   typingr   r   r   _typesr   r   r   getrecursionlimitr   r   r   	frozensetr   r   r   r   r   r   r    r!   r"   r$   r%   r&   r(   r/   r1   rN   r;   rc  rf   rc   r   r   ro   rq   r   rx   r   rw   rv   rs   r   r   r  r	  r  r  r&  r)  r$  r  r;  r  r   r.  rp   )rd  s   @r   <module>ro     sC  
 # " 
 "  (%%,,  113 E 3 ,,.u .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x	( u 8 8
:j :z	-u 	-D DN7 7t" "D ,	(.D ,,P 6
"4!9HP-2P><
'%>@I5XHr9   