Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 18.118.186.225
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : header.cpython-313.pyc
�

*}g^���Sr/SQrSSKrSSKrSSKrSSKrSSKJr SSKJ	r
 \
RrSrSr
SrS	rS
rSrSr\"S
5r\"S5r\R*"S\R,\R.-5r\R*"S5r\R*"S5r\R6R8rSrSSjr"SS5r"SS5r "SS\!5r"g)z+Header encoding and decoding functionality.)�Header�
decode_header�make_header�N)�HeaderParseError)�charset�
� � z        ��Nz 	�us-asciizutf-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
���[US5(aJURVVs/sH0up[R"U[	U55[	U54PM2 snn$[
R
U5(dUS4/$/nUR5H�n[
RU5nSnU(dM#URS5nU(aUR5nSnU(aURUSS45 U(abURS5R5nURS5R5nURS5n	URX�U45 U(aM�M� /n
[U5H]up�US:�dM
US(dMX;S-
S(dM*X;S-
SR5(dMIU
RUS-
5 M_ [U
5Hn
X=	M /nUH�up�nUcURX�45 MUS:Xa4[ R"R%U5nURUU45 MWUS	:XaU['U5S
-nU(aUSSS
U-
-
n[ R(R+U5nURUU45 M�[3S
U-5e /nS=nnUHeunn[5U[5(a[7US5nUcUnUnM0UU:waURUU45 UnUnMOUcU[8U--
nM`UU-
nMg URUU45 U$s snnf![,R.a [1S5ef=f)aDecode a message header value without converting charset.

Returns a list of (string, charset) pairs containing each of the decoded
parts of the header.  Charset is None for non-encoded parts of the header,
otherwise a lower-case string containing the name of the character set
specified in the encoded string.

header may be a string that may or may not contain RFC2047 encoded words,
or it may be a Header object.

An email.errors.HeaderParseError may be raised when certain decoding error
occurs (e.g. a base64 decoding exception).
�_chunksNTrF���q�b�z===zBase64 decoding errorzUnexpected encoding: zraw-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                     �3/opt/alt/python313/lib64/python3.13/email/header.pyrr;s<���v�y�!�!�+1�>�>�;�+9����!�!�&�#�g�,�7��W��F�+9�;�	;��;�;�v��������
�E��!�!�#���
�
�4� �����e��	�	�!��I��%�,�,�.�	�������i��t�4�5���)�)�A�,�,�,�.�� �9�9�Q�<�-�-�/���)�)�A�,�����g��9�:��e�$�"�H��%� ����Q�3�1�Q�4�4�E�A�#�J�q�M�M�e�a�C�j��m�.C�.C�.E�.E��O�O�A�a�C� �!��h�
���H� ��M�-2�)��'���� � �.�!:�;�
��_��#�#�1�1�.�A�D�� � �$���1�
��_���(�1�,�F���%���V��"4�4��
6��'�'�.�.�~�>���$�$�d�G�_�5� �!8�8�!C�D�D�%.3�*�I�#�#�I��&�
��g��d�C� � ���3�4�D����I�"�L�
��
$����i��6�7��I�"�L�
�
!���$��&�I����I�'����i��.�/����W;��d�>�>�
@�&�'>�?�?�
@�s�7L9�/L?�? Mc��[XUS9nUH9upVUb [U[5(d[U5nURXV5 M; U$)a�Create a Header from a sequence of pairs as returned by decode_header()

decode_header() takes a header value string and returns a sequence of
pairs of the format (decoded_string, charset) where charset is the string
name of the character set.

This function takes one of those sequence of pairs and returns a Header
instance.  Optional maxlinelen, header_name, and continuation_ws are as in
the Header constructor.
)�
maxlinelen�header_name�continuation_ws)rr-�Charsetr)�decoded_seqrFrGrH�h�srs       rDrr�sN��	�*�.�	0�A�!�
����z�'�7�'C�'C��g�&�G�	�����	"�

�H�c�P�\rSrSrSSjrSrSrSSjrSrS
Sjr	S	r
S
rg)r�Nc��Uc[nO [U[5(d[U5nX lXPl/UlUbUR
XU5 Uc[nX0lUcSUl	g[U5S-Ul	g)a�Create a MIME-compliant header that can contain many character sets.

Optional s is the initial header value.  If None, the initial header
value is not set.  You can later append to the header with .append()
method calls.  s may be a byte string or a Unicode string, but see the
.append() documentation for semantics.

Optional charset serves two purposes: it has the same meaning as the
charset argument to the .append() method.  It also sets the default
character set for all subsequent .append() calls that omit the charset
argument.  If charset is not provided in the constructor, the us-ascii
charset is used both as s's initial charset and as the default for
subsequent .append() calls.

The maximum line length can be specified explicitly via maxlinelen. For
splitting the first line to a shorter value (to account for the field
header which isn't included in s, e.g. `Subject') pass in the name of
the field in header_name.  The default maxlinelen is 78 as recommended
by RFC 2822.

continuation_ws must be RFC 2822 compliant folding whitespace (usually
either a space or a hard tab) which will be prepended to continuation
lines.

errors is passed through to the .append() call.
Nrr)�USASCIIr-rIr�_continuation_wsrr�
MAXLINELEN�_maxlinelen�
_headerlenr')�selfrLrrFrGrH�errorss       rD�__init__�Header.__init__�s{��:�?��G��G�W�-�-��g�&�G��
� /������=��K�K��F�+���#�J�%�����D�O�"�+�.��2�D�OrMc�8�UR5 /nSnSnURH�upEUnU[R:Xa$UR	SS5nURSS5nU(ajU=(a UR
US5nUS;a%US;aU(dUR[5 SnO"US;aU(dUR[5 U=(a UR
US5nUnURU5 M� [RU5$)z&Return the string value of the header.N�ascii�surrogateescape�replacer�Nr
���)�
_normalizerr�UNKNOWN8BIT�encoder)�	_nonctextr�SPACE�EMPTYSTRING�join)	rV�uchunks�lastcs�	lastspacer1r�nextcs�original_bytes�hasspaces	         rD�__str__�Header.__str__�s������������	�#�|�|�O�F��F���-�-�-�!'���w�8I�!J��'�.�.�w�	�B���!�?�d�n�n�V�A�Y�&?���!3�3��!3�3�H����u�-�!%����#5�5�i��N�N�5�)��=�4�>�>�&��*�#=�I��F��N�N�6�"�+ ,�,����(�(rMc��U[U5:H$�N)r)rV�others  rD�__eq__�
Header.__eq__�s����D�	�!�!rMc��Uc
URnO [U[5(d[U5n[U[5(dMUR=(d SnU[R
:XaUR
SS5nOUR
XC5nUR=(d SnU[R
:waURXS5 URRX45 g![a US:wae[nN6f=f)a�Append a string to the MIME header.

Optional charset, if given, should be a Charset instance or the name
of a character set (which will be converted to a Charset instance).  A
value of None (the default) means that the charset given in the
constructor is used.

s may be a byte string or a Unicode string.  If it is a byte string
(i.e. isinstance(s, str) is false), then charset is the encoding of
that byte string, and a UnicodeError will be raised if the string
cannot be decoded with that charset.  If s is a Unicode string, then
charset is a hint specifying the character set of the characters in
the string.  In either case, when producing an RFC 2822 compliant
header using RFC 2047 rules, the string will be encoded using the
output codec of the charset.  If the string cannot be encoded to the
output codec, a UnicodeError will be raised.

Optional `errors' is passed as the errors argument to the decode
call if s is a byte string.
Nr
r\)
rr-rIr�input_codecrar)�output_codecrb�UnicodeEncodeError�UTF8rr)rVrLrrW�
input_charset�output_charsets      rDr�
Header.appends���*�?��m�m�G��G�W�-�-��g�&�G��!�S�!�!�#�/�/�=�:�M��� 4� 4�4��H�H�Z�):�;���H�H�]�3��!�-�-�;����X�1�1�1�
�����0�
	
�����Q�L�)��	&�
�!�:�-����
�s�=C+�+D�Dc�:�UR5=(d US;$)z=True if string s is not a ctext character of RFC822.
        )�(�)�\)r")rVrLs  rDrc�Header._nonctext0s���y�y�{�3�a�#3�3�3rMc��UR5 UcURnUS:XaSn[URUURU5nSnS=pgUR
GH�up�Ub^U=(a UR
US5nUS;aU(aU	S;aUR5 OU	S;aU(dUR5 U=(a UR
US5nU	nSnUR5n
U
(aURSU
SU	5 OURSSU	5 U
SSH�nUR5 U	Rb0URURS	UR5-U	5 MPUR5nUS[U5[U5-
n
URX�U	5 M� [U
5S:�dGMpUR5 GM� UR
(aUR5 URU5n[R!U5(a[#S
R%U55eU$)a�Encode a message header into an RFC-compliant format.

There are many issues involved in converting a given string for use in
an email header.  Only certain character sets are readable in most
email clients, and as header strings can only contain a subset of
7-bit ASCII, care must be taken to properly convert and encode (with
Base64 or quoted-printable) header strings.  In addition, there is a
75-character length limit on any given encoded header field, so
line-wrapping must be performed, even with double-byte character sets.

Optional maxlinelen specifies the maximum length of each generated
line, exclusive of the linesep string.  Individual lines may be longer
than maxlinelen if a folding point cannot be found.  The first line
will be shorter by the length of the header name plus ": " if a header
name was specified at Header construction time.  The default value for
maxlinelen is determined at header construction time.

Optional splitchars is a string containing characters which should be
given extra weight by the splitting algorithm during normal header
wrapping.  This is in very rough support of RFC 2822's `higher level
syntactic breaks':  split points preceded by a splitchar are preferred
during line splitting, with the characters preferred in the order in
which they appear in the string.  Space and tab may be included in the
string to indicate whether preference should be given to one over the
other as a split point when other split chars do not appear in the line
being split.  Splitchars does not affect RFC 2047 encoded lines.

Optional linesep is a string to be used to separate the lines of
the value.  The default value is the most useful for typical
Python applications, but it can be set to \r\n to produce RFC-compliant
line separators when needed.
Nri@Br^r_Frrr	z8header value appears to contain an embedded header: {!r})r`rT�_ValueFormatterrUrRrrc�add_transitionr�feed�newline�header_encodingrr'�_str�_embedded_headerrr�format)rV�
splitcharsrF�linesep�	formatterrhrlrir1r�linesr3�sline�fws�values               rDrb�
Header.encode5s��B	
�������)�)�J���?� �J�#�D�O�O�Z�$(�$9�$9�:�G�	���#�#��#�|�|�O�F��#�!�?�d�n�n�V�A�Y�&?���!3�3�#�w�6H�'H�!�0�0�2���$6�6�y��,�,�.��=�4�>�>�&��*�#=�I��F��H��%�%�'�E�����r�5��8�W�5����r�2�w�/��a�b�	���!�!�#��*�*�6��N�N�4�#8�#8�#����
�:M�#*�,�!�K�K�M�E��4��D�	�#�e�*� 4�5�C��N�N�3�w�7�"��5�z�A�~��!�!�#�5 ,�6�<�<��$�$�&����w�'���"�"�5�)�)�"�$+�+1�6�%�=�:�
:��rMc�,�/nSn/nURHKupEXR:XaURU5 MUb&UR[RU5U45 U/nUnMM U(a&UR[RU5U45 Xlgrp)rrrdrf)rV�chunksrC�
last_chunkr1rs      rDr`�Header._normalize�s��������
�#�|�|�O�F��&��!�!�&�)��+��M�M�5�:�:�j�#9�<�"H�I�$�X�
�&�� ,���M�M�5�:�:�j�1�<�@�A��rM)rrrRrUrT)NNNNr	�strict)Nr�)z;, 	Nr)�__name__�
__module__�__qualname__�__firstlineno__rXrmrrrrcrbr`�__static_attributes__�rMrDrr�s3��'+�.2�-5�-3�^)�@"�)*�V4�
N�`rMrc�J�\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
g)
r�i�c�v�X lX0l[U5UlX@l/Ul[
U5Ulgrp)�_maxlenrRr'�_continuation_ws_len�_splitchars�_lines�_Accumulator�
_current_line)rV�	headerlen�maxlenrHr�s     rDrX�_ValueFormatter.__init__�s4���� /��$'��$8��!�%�����)�)�4��rMc�X�UR5 URUR5$rp)r�rfr�)rVr�s  rDr��_ValueFormatter._str�s�������|�|�D�K�K�(�(rMc�,�UR[5$rp)r��NL�rVs rDrm�_ValueFormatter.__str__�s���y�y��}�rMc���URR5nUS:waURR"U6 [UR5S:�a�URR	5(a<UR
(a+UR
S==[
UR5-
ss'O.UR
R[
UR55 URR5 g)N)r	rrr_)	r�r�pushr'�	is_onlywsr�rr�reset)rV�end_of_lines  rDr��_ValueFormatter.newline�s����(�(�,�,�.���)�#����#�#�[�1��t�!�!�"�Q�&��!�!�+�+�-�-�$�+�+����B��3�t�'9�'9�#:�:�����"�"�3�t�'9�'9�#:�;���� � �"rMc�<�URRSS5 g)Nr	r)r�r�r�s rDr��_ValueFormatter.add_transition�s��������R�(rMc��URcURXUR5 gURX R	55nURS5nUbURX5 UR5nUR5 URRURU5 UH+nURRURU-5 M- g![a gf=f![a gf=f�Nr)r��_ascii_splitr��header_encode_lines�_maxlengthsr�
IndexError�
_append_chunkr�r�r�rRr�r)rVr�r1r�
encoded_lines�
first_line�	last_liner3s        rDr��_ValueFormatter.feed�s����"�"�*����c�4�+;�+;�<�� �3�3�F�<L�<L�<N�O�
�	�&�*�*�1�-�J��!����s�/�	�%�)�)�+�I�	
���������� 5� 5�y�A�!�D��K�K���t�4�4�t�;�<�"���	��	���	��	�s$�C)�1C9�)
C6�5C6�9
D�Dc#�# �UR[UR5-
v� URUR-
v� M7frp)r�r'r�r�r�s rDr��_ValueFormatter._maxlengths�s<����l�l�S��!3�!3�4�4�4���,�,��!:�!:�:�:��s�AAc���[R"S[-S-X-5nUS(aS/USS&OURS5 [	[U5/S-6HupUR
X5 M g)Nz([z]+)rrr)�rer�FWSr�zip�iterr�)rVr�r1r�r4�parts      rDr��_ValueFormatter._ascii_split�sf������c��%����4����8���E�"�1�I��I�I�a�L��t�E�{�m�A�o�.�I�C����s�)�/rMc�n�URRX5 [UR5UR:�GavURH�n[URR
5S-
SS5HenUR5(a$URUSnU(aUSU:Xa O/URUS-
SnU(dMZUSU:XdMe O M� Om URR5upURRS:�aUR5 U(dSnURRX5 gURRU5nURR[UR55 URRU5 gg)Nrrr_r	)r�r�r'r�r��range�
part_countr"r�
_initial_sizer��pop_fromr�rrr�)rVr�r1�ch�i�prevpartr��	remainders        rDr��_ValueFormatter._append_chunk�sm��������,��t�!�!�"�T�\�\�1��&�&���t�1�1�<�<�>�q�@�!�R�H�A��z�z�|�|�"�0�0��3�A�6���3�q�6�2�:�!�#�1�1�!�A�#�6�q�9�H��x�H�R�L�"�$4��I���'�!�.�.�2�2�4�	���%�%�3�3�a�7��L�L�N��"���"�"�'�'��2���*�*�3�3�A�6�I��K�K���s�4�#5�#5�6�7����$�$�Y�/�92rM)rRr�r�r�r�r�N)r�r�r�r�rXr�rmr�r�r�r�r�r�r�r�rMrDr�r��s0��5�)��	#�)�#=�J;�*�,0rMr�c�p^�\rSrSrSU4SjjrSrSSjrU4SjrSrSr	S
Sjr
S	rU4S
jrSr
U=r$)r�ic�.>�Xl[TU]	5 grp)r��superrX)rV�initial_size�	__class__s  �rDrX�_Accumulator.__init__s���)��
���rMc�(�URX45 grp)r)rVr�r1s   rDr��_Accumulator.pushs�����S�M�"rMc��XSn/XS&U$rpr�)rVr��poppeds   rDr��_Accumulator.pop_from!s���b�����R���
rMc�J>�UR5S:Xag[TU]	5$)Nr)rr)r�r�r�rVr�s �rDr�_Accumulator.pop&s!����?�?��a����w�{�}�rMc�<�[SU5UR5$)Nc3�T# �UHup[U5[U5-v� M  g7frp)r'��.0r�r�s   rD�	<genexpr>�'_Accumulator.__len__.<locals>.<genexpr>,s���=��9�3�C��H�S��Y�&��s�&()�sumr�r�s rD�__len__�_Accumulator.__len__+s ���=��=��%�%�'�	'rMc�:�[RSU55$)Nc3�R# �UHup[RX45v� M g7frp�rerfr�s   rDr��'_Accumulator.__str__.<locals>.<genexpr>0s)���!7�15�I�C�"-�!1�!1�3�+�!>�!>�15�s�%'r�r�s rDrm�_Accumulator.__str__/s"�����!7�15�!7�8�	8rMc�$�Uc/nXSS&SUlgr��r�)rV�startvals  rDr��_Accumulator.reset3s�����H��Q����rMc�|�URS:H=(a' U(+=(d [U5R5$r�)r�rr"r�s rDr��_Accumulator.is_onlyws9s,���!�!�1�$�J�d�(�*I�c�$�i�6G�6G�6I�JrMc� >�[TU]5$rp)r�r�r�s �rDr��_Accumulator.part_count<s����w�� � rMr�)rrp)r�r�r�r�rXr�r�rr�rmr�r�r�r��
__classcell__)r�s@rDr�r�s6����#��
�
'�8��K�!�!rMr�)NNr	)#�__doc__�__all__r�r*�email.quoprimimer$�email.base64mime�email.errorsrrrrIr�rdr/�SPACE8rerSr�rQrx�compile�VERBOSE�	MULTILINEr�fcrer�r%�_max_appendrrrr��listr�r�rMrD�<module>rs���
2���
����)�%�
�
�
��	����	
��	����
�
���
�*�
���w���
�z�z��
�z�z�B�L�L� �"��
�z�z�#�$���:�:�m�,�����*�*��[�|;?� #�
�,f�f�R}0�}0�@%!�4�%!rM
© 2025 GrazzMean-Shell