HEX
Server: LiteSpeed
System: Linux br-asc-web1845.main-hosting.eu 5.14.0-611.42.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 05:30:20 EDT 2026 x86_64
User: u790421558 (790421558)
PHP: 8.2.30
Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python311/lib/python3.11/site-packages/idna/__pycache__/codec.cpython-311.pyc
�

U�Zg����ddlmZmZmZmZmZddlZddlZejd��Z	Gd�dej
��Z
Gd�dej��ZGd	�d
ej
��ZGd�de
ej��ZGd
�de
ej��Zd�ZdS)�)�encode�decode�alabel�ulabel�	IDNAError�Nu[.。.。]c��eZdZdd�Zdd�ZdS)�Codec�strictc��|dkr"td�|�����|sdSt|��t|��fS�Nr� Unsupported error handling "{0}"��r)r�formatr�len��self�data�errorss   �=/opt/alt/python311/lib/python3.11/site-packages/idna/codec.pyrzCodec.encode	sN���X����@�G�G��O�O�P�P�P��	��5��d�|�|�S��Y�Y�&�&�c��|dkr"td�|�����|sdSt|��t|��fSr
)rrrrrs   rrzCodec.decodesN���X����@�G�G��O�O�P�P�P��	��6��d�|�|�S��Y�Y�&�&rN)r)�__name__�
__module__�__qualname__rr�rrr
r
s<������'�'�'�'�'�'�'�'�'�'rr
c��eZdZd�ZdS)�IncrementalEncoderc��|dkr"td�|�����|sdSt�|��}d}|r|dsd}|d=n	|s|d=|rd}g}d}|D]=}|�t|����|r|dz
}|t
|��z
}�>d�|��|z}|t
|��z
}||fS)	Nrrrr����.rr)rr�_unicode_dots_re�split�appendrr�join�	rrr�final�labels�trailing_dot�result�size�labels	         r�_buffer_encodez!IncrementalEncoder._buffer_encodes���X����@�G�G��O�O�P�P�P��	��7�!�'�'��-�-�����	'��"�:�
'�"���2�J�J��
'��2�J��'�#&�L������	�	�E��M�M�&��-�-�(�(�(��
���	���C��J�J��D�D����&�!�!�L�0����L�!�!�!����~�rN)rrrr.rrrrrs#����������rrc��eZdZd�ZdS)�IncrementalDecoderc�<�|dkr"td�|�����|sdSt|t��rt�|��}n4t
|��}t|d��|�d��}d}|r|dsd}|d=n	|s|d=|rd}g}d}|D]=}|�t|����|r|d	z
}|t|��z
}�>d�
|��|z}|t|��z
}||fS)
Nrrr�asciir"rr!rr)rr�
isinstance�unicoder#r$�strr%rrr&r's	         r�_buffer_decodez!IncrementalDecoder._buffer_decode?sU���X����@�G�G��O�O�P�P�P��	��8��d�G�$�$�	%�%�+�+�D�1�1�F�F��t�9�9�D��D�'�"�"�"��Z�Z��_�_�F����	(��"�:�
(�#���2�J�J��
(��2�J��(�#'�L������	�	�E��M�M�&��-�-�(�(�(��
���	���C��J�J��D�D����6�"�"�\�1����L�!�!�!����~�rN)rrrr6rrrr0r0>s#������%�%�%�%�%rr0c��eZdZdS)�StreamWriterN�rrrrrrr8r8g��������Drr8c��eZdZdS)�StreamReaderNr9rrrr<r<jr:rr<c	��tjdt��jt��jt
ttt���S)N�idna)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader)	�codecs�	CodecInfor
rrrr0r8r<rrr�getregentryrFms=����
��w�w�~��w�w�~�-�-�!�!����r)�corerrrrrrD�re�compiler#r
�BufferedIncrementalEncoderr�BufferedIncrementalDecoderr0r8r<rFrrr�<module>rLsS��;�;�;�;�;�;�;�;�;�;�;�;�;�;�
�
�
�
�	�	�	�	��2�:�;�<�<��'�'�'�'�'�F�L�'�'�'�,������:����B&�&�&�&�&��:�&�&�&�R	�	�	�	�	�5�&�-�	�	�	�	�	�	�	�	�5�&�-�	�	�	�	�	�	�	�	r