Hacked By AnonymousFox
�
�Q�f# � � � d dl Z d dlZd dlmZ dd�Zdd�Z G d� de j � Z G d� de j � Z G d � d
e j � Z G d� dee j � Z G d
� dee j � Z
d� Zy)� N)�BytesIOc � � t | � }t � }|j }|j }|j dd� }|j dd� } |d|dz |fz j d� � |d� }|r& |t j |� � |d� }|r�& |d � |j � t | � fS )
N�
z\n�
z\rzbegin %o %s
i� �ascii�- s
end
) r �read�write�replace�encode�binascii�b2a_uu�getvalue�len) �input�errors�filename�mode�infile�outfiler r
�chunks �9/opt/alt/python312/lib64/python3.12/encodings/uu_codec.py� uu_encoder s� � �
�U�^�F��i�G��;�;�D��M�M�E� ����U�+�H�����U�+�H�
�?�d�U�l�H�5�5�
=�
=�g�
F�G���H�E�
�
�h�o�o�e�$�%��R��� �
�+�������E�
�+�+� c �� � t | � }t � }|j }|j } |� }|st d� �|d d dk( rn� |� }|r|dk( rn t j
|� } ||� �.|st d
� �|j � t | � fS # t j $ r6}|d dz
dz dz dz d z } t j
|d | � }Y d }~�ud }~ww xY w)Nz"Missing "begin" line in input data� s begins end
r � �? � � zTruncated input data) r �readliner
�
ValueErrorr
�a2b_uu�Errorr r )
r r r r r! r
�s�data�v�nbytess
r � uu_decoder) % s � �
�U�^�F��i�G����H��M�M�E� ��J����A�B�B��R�a�5�H��� � ��J���A��M�� /��?�?�1�%�D� �d�� �
��/�0�0������E�
�+�+�� �~�~� /��!��R��2�~��*�Q�.�1�4�F��?�?�1�W�f�:�.�D�� /�s �B$ �$C-�7,C(�(C-c � � e Zd Zdd�Zdd�Zy)�Codecc � � t ||� S �N)r ��selfr r s r r zCodec.encodeG � � ����'�'r c � � t ||� S r- )r) r. s r �decodezCodec.decodeJ r0 r N��strict)�__name__�
__module__�__qualname__r r2 � r r r+ r+ F s � �(�(r r+ c � � e Zd Zdd�Zy)�IncrementalEncoderc �4 � t || j � d S �Nr )r r �r/ r �finals r r zIncrementalEncoder.encodeN � � ������,�Q�/�/r N�F)r5 r6 r7 r r8 r r r: r: M � � �0r r: c � � e Zd Zdd�Zy)�IncrementalDecoderc �4 � t || j � d S r<