+
     Bi_                        . ROt ^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIHt	 ]	P                  t
RtRtRtRtRt^NtRt]
! R	4      t]
! R
4      t]P(                  ! R]P*                  ]P,                  ,          4      t]P(                  ! R4      t]P(                  ! R4      t]P4                  P6                  tR tRR lt ! R R 4      t ! R R4      t ! R R] 4      t!R# )HeaderN)HeaderParseError)charset
      z 	us-asciizutf-8ai  
  =\?                   # literal =?
  (?P<charset>[^?]*?)   # non-greedy up to the next ? is the charset
  \?                    # literal ?
  (?P<encoding>[qQbB])  # either a "q" or a "b", case insensitive
  \?                    # literal ?
  (?P<encoded>.*?)      # non-greedy up to the next ?= is the encoded string
  \?=                   # literal ?=
  z[\041-\176]+:$z
\n[^ \t]+:c           
      R   \        V R 4      '       dJ   V P                   UUu. uF0  w  r\        P                  ! V\	        V4      4      \	        V4      3NK2  	  upp# \
        P                  V 4      '       g   V R3.# . pV P                  4        F  p\
        P                  V4      pRpV'       g   K$  VP                  ^ 4      pV'       d   VP                  4       pRpV'       d   VP                  VRR34       V'       g   K[  VP                  ^ 4      P                  4       pVP                  ^ 4      P                  4       pVP                  ^ 4      p	VP                  WV34       K  	  . p
\        V4       F  w  rV^8  g   K  V^,          '       g   K  W;^,
          ,          ^,          '       g   K=  W;^,
          ,          ^ ,          P                  4       '       g   Ki  V
P                  V^,
          4       K  	  \        V
4       F  pW= K  	  . pV F  w  rpVf   VP                  W34       K  VR8X  d5   \         P"                  P%                  V4      pVP                  VV34       KY  VR8X  dc   \'        V4      ^,          pV'       d   VRR^V,
           ,          p \         P(                  P+                  V4      pVP                  VV34       K  \3        RV,           4      h	  . pR;ppV Fu  w  pp\5        V\        4      '       d   \7        VR	4      pVf   TpTpK2  VV8w  d   VP                  VV34       TpTpKR  Vf   V\8        V,           ,          pKl  VV,          pKw  	  VP                  VV34       V# u uppi   \,        P.                   d    \1        R4      hi ; i)
_chunksNTFqbz===zBase64 decoding errorzUnexpected encoding: zraw-unicode-escape)hasattrr   _charset_encodestrecresearch
splitlinessplitpoplstripappendlower	enumerateisspacereversedemail
quoprimimeheader_decodelen
base64mimedecodebinasciiErrorr   AssertionError
isinstancebytesBSPACE)headerstringr   wordslinepartsfirst	unencodedencodingencodeddroplistnwddecoded_wordsencoded_stringwordpaderr	collapsed	last_wordlast_charsets   &                    #/usr/lib/python3.14/email/header.pydecode_headerr>   ;   s7   * vy!!+1>>;+9 !!&#g,7WF+9; 	; ;;v E!!#

4 e		!I%,,.	it45u))A,,,. 99Q<--/))A,g9: $" H% Q31Q44EA#JqMMeaCjm.C.C.E.EOOAaC  ! hH   M-2)'  .!:;_##11.AD  $1_(1,F%V"446''..~> $$dG_5 !88!CDD% .3* I##I&gdC  34DI"L$i67I"L!$&II ' i./W;d >> @&'>??@s   6M?!N!N&c                     \        WVR 7      pV  F;  w  rVVe"   \        V\        4      '       g   \        V4      pVP                  WV4       K=  	  V# ))
maxlinelenheader_namecontinuation_ws)r   r&   Charsetr   )decoded_seqr@   rA   rB   hsr   s   &&&&   r=   make_headerrG      sN     	*.	0A!
z'7'C'Cg&G		 "
 H    c                   V   a  ] tR t^t o R
R ltR tR tRR ltR tRR lt	R t
R	tV tR# )r   Nc                   Vf   \         pM!\        V\        4      '       g   \        V4      pW n        WPn        . V n        Ve   V P                  WV4       Vf   \        pW0n        Vf
   ^ V n	        R # \        V4      ^,           V n	        R # N)USASCIIr&   rC   r   _continuation_wsr   r   
MAXLINELEN_maxlinelen
_headerlenr    )selfrF   r   r@   rA   rB   errorss   &&&&&&&r=   __init__Header.__init__   s{    : ?GGW--g&G /=KKF+#J%DO "+.2DOrH   c                Z   V P                  4        . pR pR pV P                   F  w  rETpV\        P                  8X  d%   VP	                  RR4      pVP                  RR4      pV'       du   T;'       d    V P                  V^ ,          4      pVR9  d(   VR9   d    V'       g   VP                  \        4       R pM$VR9  d   V'       g   VP                  \        4       T;'       d    V P                  VR,          4      pTpVP                  V4       K  	  \        P                  V4      # )NasciisurrogateescapereplaceNr	   )
_normalizer   r   UNKNOWN8BITencoder"   	_nonctextr   SPACEEMPTYSTRINGjoin)	rQ   uchunkslastcs	lastspacer*   r   nextcsoriginal_byteshasspaces	   &        r=   __str__Header.__str__   s    	#||OF F---!'w8I!J'..w	B!??dnnVAY&?!33!33Hu-!%#55iNN5)==4>>&*#=IFNN6"+  ,, ((rH   c                    V\        V 4      8H  # rK   )r   )rQ   others   &&r=   __eq__Header.__eq__  s     D	!!rH   c                $   Vf   V P                   pM!\        V\        4      '       g   \        V4      p\        V\        4      '       gP   VP                  ;'       g    RpV\         P
                  8X  d   VP                  RR4      pMVP                  WC4      pVP                  ;'       g    RpV\         P
                  8w  d    VP                  WS4       V P                  P                  W34       R #   \         d    TR8w  d   h \        p L9i ; i)Nr	   rW   )r   r&   rC   r   input_codecr\   r"   output_codecr]   UnicodeEncodeErrorUTF8r   r   )rQ   rF   r   rR   input_charsetoutput_charsets   &&&&  r=   r   Header.append  s    * ?mmGGW--g&G!S!!#//==:M 4 44HHZ):;HH]3 !--;;X1110
 	QL)	 & !:-s   C3 3DDc                <    VP                  4       ;'       g    VR9   # )()rw   )\)r   )rQ   rF   s   &&r=   r^   Header._nonctext9  s     yy{33a#333rH   c                   V P                  4        Vf   V P                  pV^ 8X  d   Rp\        V P                  VV P                  V4      pR pR ;rgV P
                   EF  w  rVei   T;'       d    V P                  V^ ,          4      pVR9  d!   V'       d   V	R9  d   VP                  4        MV	R9  d   V'       g   VP                  4        T;'       d    V P                  VR,          4      pT	pRpVP                  4       p
V
'       d   VP                  RV
^ ,          V	4       MVP                  RRV	4       V
R,           F  pVP                  4        V	P                  e5   VP                  V P                  RVP                  4       ,           V	4       KU  VP                  4       pVR \        V4      \        V4      ,
           pVP                  WV	4       K  	  \        V
4      ^8  g   EK  VP                  4        EK  	  V P
                  '       d   VP                  4        VP                  V4      p\        P!                  V4      '       d   \#        RP%                  V4      4      hV# )	Ni@B Fr   :   NNr   z8header value appears to contain an embedded header: {!r}rY   rZ   )r[   rO   _ValueFormatterrP   rM   r   r^   add_transitionr   feednewlineheader_encodingr   r    _str_embedded_headerr   r   format)rQ   
splitcharsr@   linesep	formatterrc   rg   rd   r*   r   linesr,   slinefwsvalues   &&&&           r=   r]   Header.encode>  s
   B 	))J ? J#DOOZ$($9$9:G	###||OF#!??dnnVAY&?!33#w6H'H!002$66y,,.==4>>&*#=IFH%%'Er58W5r2w/b		!!#**6NN4#8#8#:M#*, !KKME4D	#e* 45CNN3w7 " 5zA~!!#5  ,6 <<<$$&w'""5))" $++16%=: :rH   c                4   . pR p. pV P                    FM  w  rEWR8X  d   VP                  V4       K  Ve'   VP                  \        P                  V4      V34       V.pTpKO  	  V'       d'   VP                  \        P                  V4      V34       Wn         R # rK   )r   r   r_   ra   )rQ   chunksr<   
last_chunkr*   r   s   &     r=   r[   Header._normalize  s     
#||OF&!!&)+MM5::j#9<"HI$X
&  , MM5::j1<@ArH   )r   r   rM   rP   rO   )NNNNr   strict)Nr   )z;, 	Nr   )__name__
__module____qualname____firstlineno__rS   rh   rl   r   r^   r]   r[   __static_attributes____classdictcell____classdict__s   @r=   r   r      s2     -3^)@")*V4
N` rH   c                   V   a  ] tR tRt o R tR tR tR tR tR t	R t
R	 tR
 tRtV tR# )r}   i  c                x    W n         W0n        \        V4      V n        W@n        . V n        \        V4      V n        R # rK   )_maxlenrM   r    _continuation_ws_len_splitchars_lines_Accumulator_current_line)rQ   	headerlenmaxlenrB   r   s   &&&&&r=   rS   _ValueFormatter.__init__  s4     /$'$8!%))4rH   c                X    V P                  4        VP                  V P                  4      # rK   )r   ra   r   )rQ   r   s   &&r=   r   _ValueFormatter._str  s    ||DKK((rH   c                ,    V P                  \        4      # rK   )r   NLrQ   s   &r=   rh   _ValueFormatter.__str__  s    yy}rH   c                
   V P                   P                  4       pVR8w  d   V P                   P                  ! V!   \        V P                   4      ^ 8  d   V P                   P	                  4       '       dF   V P
                  '       d4   V P
                  R;;,          \        V P                   4      ,          uu&   M.V P
                  P                  \        V P                   4      4       V P                   P                  4        R# )r   N)r   r   rZ   )	r   r   pushr    	is_onlywsr   r   r   reset)rQ   end_of_lines   & r=   r   _ValueFormatter.newline  s    ((,,.)###[1t!!"Q&!!++--$+++B3t'9'9#::""3t'9'9#:;  "rH   c                >    V P                   P                  R R4       R# )r   r   N)r   r   r   s   &r=   r~   _ValueFormatter.add_transition  s    R(rH   c                *   VP                   f   V P                  WV P                  4       R # VP                  W P	                  4       4      p VP                  ^ 4      pTe   T P                  Y4        TP                  4       pT P                  4        T P                  P                  T P                  T4       T F/  pT P                  P                  T P                  T,           4       K1  	  R #   \         d     R # i ; i  \         d     R # i ; irK   )r   _ascii_splitr   header_encode_lines_maxlengthsr   
IndexError_append_chunkr   r   r   rM   r   r   )rQ   r   r*   r   encoded_lines
first_line	last_liner,   s   &&&&    r=   r   _ValueFormatter.feed  s     ""*c4+;+;<  33F<L<L<NO	&**1-J !s/	%))+I 	 5 5yA!DKKt44t;< "  		  		s$   C1 4D 1D ?D DDc              #     "   V P                   \        V P                  4      ,
          x   V P                   V P                  ,
          x  K"  5i)T)r   r    r   r   r   s   &r=   r   _ValueFormatter._maxlengths  s7     llS!3!3444,,!:!:::s   AAc                   \         P                  ! R \        ,           R,           W,           4      pV^ ,          '       d   R.VR&   MVP                  ^ 4       \	        \        V4      .^,          !   F  w  rV P                  W4       K  	  R# )z([z]+)r   :N    NN)rer   FWSr   zipiterr   )rQ   r   r*   r   r-   parts   &&&&  r=   r   _ValueFormatter._ascii_split  sf     c%488E"IIIaLtE{mAo.ICs) /rH   c                   V P                   P                  W4       \        V P                   4      V P                  8  Ed   V P                   F  p\        V P                   P                  4       ^,
          ^ R4       F  pVP                  4       '       d3   V P                   V,          ^ ,          pV'       d   V^ ,          V8X  d    MAV P                   V^,
          ,          ^,          pV'       g   Kv  VR,          V8X  g   K   M	  K   Mp	  V P                   P                  4       w  rV P                   P                  ^ 8  d   V P                  4        V'       g   RpV P                   P                  W4       R# V P                   P                  V4      pV P                  P                  \        V P                   4      4       V P                   P                  V4       R# R# )r|   r   NrZ   )r   r   r    r   r   range
part_countr   r   _initial_sizer   pop_fromr   r   r   r   )rQ   r   r*   chiprevpartr   	remainders   &&&     r=   r   _ValueFormatter._append_chunk   sm   ,t!!"T\\1 &&t11<<>q@!RHAzz||"003A63q62:!#11!A#6q9HxHRL"$4 I  ' !..224	%%33a7LLN """''2**33A6IKKs4#5#567$$Y/9 2rH   )rM   r   r   r   r   r   N)r   r   r   r   rS   r   rh   r   r~   r   r   r   r   r   r   r   s   @r=   r}   r}     s8     5)	#)#=J;*,0 0rH   r}   c                   z   a a ] tR tRt oRV 3R lltR tRR ltV 3R ltR tR t	RR lt
R	 tV 3R
 ltRtVtV ;t# )r   i!  c                0   < Wn         \        SV `	  4        R # rK   )r   superrS   )rQ   initial_size	__class__s   &&r=   rS   _Accumulator.__init__#  s    )rH   c                *    V P                  W34       R # rK   )r   )rQ   r   r*   s   &&&r=   r   _Accumulator.push'  s    SM"rH   c                    WR  p. WR % V# rK    )rQ   r   poppeds   && r=   r   _Accumulator.pop_from*  s    bRrH   c                N   < V P                  4       ^ 8X  d   R# \        SV `	  4       # )r   )r   r   )r   r   r   rQ   r   s   &r=   r   _Accumulator.pop/  s#    ??aOw{}rH   c                <    \        R  V  4       V P                  4      # )c              3   \   "   T F"  w  r\        V4      \        V4      ,           x  K$  	  R # 5irK   )r    .0r   r   s   &  r=   	<genexpr>'_Accumulator.__len__.<locals>.<genexpr>5  s"     =93CHSY&&s   *,)sumr   r   s   &r=   __len___Accumulator.__len__4  s     ==%%' 	'rH   c                :    \         P                  R  V  4       4      # )c              3   R   "   T F  w  r\         P                  W34      x  K  	  R # 5irK   r`   ra   r   s   &  r=   r   '_Accumulator.__str__.<locals>.<genexpr>9  s)      !715IC "-!1!13+!>!>15s   %'r   r   s   &r=   rh   _Accumulator.__str__8  s"     !715!7 8 	8rH   c                (    Vf   . pWR&   ^ V n         R # )N:NNNr   )rQ   startvals   &&r=   r   _Accumulator.reset<  s    HQrH   c                    V P                   ^ 8H  ;'       d)    V '       * ;'       g    \        V 4      P                  4       # r   )r   r   r   r   s   &r=   r   _Accumulator.is_onlywsB  s2    !!1$JJd(*I*Ic$i6G6G6IJrH   c                    < \         SV `  4       # rK   )r   r   r   s   &r=   r   _Accumulator.part_countE  s    w  rH   r   r   rK   )r   r   r   r   rS   r   r   r   r   rh   r   r   r   r   r   __classcell__)r   r   s   @@r=   r   r   !  s8     #

'8K! !rH   r   )r   r>   rG   z        )NNr   )"__all__r   r#   email.quoprimimer   email.base64mimeemail.errorsr   r   r   rC   r   r_   r(   SPACE8r`   rN   r   rL   rr   compileVERBOSE	MULTILINEr   fcrer   r   _max_appendr>   rG   r   r}   listr   r   rH   r=   <module>r     s    
    ) %


			

*
w 
zz  
zzBLL " 
zz#$ ::m,  **aH2f fR}0 }0@%!4 %!rH   