Your IP : 3.129.73.6
�
c��f�n � �� � g d �Z ddlZddlZddlZddlZddlmZ ddlZddlZddl Z ddl
Z
ddlmZ ej
dde�� � Z e� � � ej � � G d� d � � Zd
Z e j d� � Zd1d
�Zd� Z e j de j � � Zd� Zd� Zd� Z G d� d� � Z G d� d� � Z G d� de� � Z d� Z! G d� de"� � Z#ddddd �Z$ e%� � Z& G d!� d"� � Z'd#� Z(e)e*e+ej e,fZ- G d$� d%e%� � Z.d&� Z/e0 e1e!ee �'� � e2 e1e/e'e.�'� � iZ3de1d(�d)�Z4de1d(�d*�Z5e0d+d,d-�d.�Z6e0d,d+d/�d0�Z7dS )2)�InvalidFileException�FMT_XML�
FMT_BINARY�load�dump�loads�dumps�UID� N)�BytesIO)�ParserCreate�PlistFormatzFMT_XML FMT_BINARY)�modulec �2 � e Zd Zd� Zd� Zd� Zd� Zd� Zd� ZdS )r c � � t |t � � st d� � �|dk rt d� � �|dk rt d� � �|| _ d S )Nzdata must be an int� zUIDs cannot be >= 2**64r
�UIDs must be positive)�
isinstance�int� TypeError�
ValueError�data��selfr s �//opt/alt/python311/lib64/python3.11/plistlib.py�__init__zUID.__init__N s^ � ��$��$�$� 3��1�2�2�2��7�?�?��6�7�7�7��!�8�8��4�5�5�5��� � � � c � � | j S �N)r �r s r � __index__z
UID.__index__W s
� ��y�r c �J � | j j �dt | j � � �d�S )N�(�))� __class__�__name__�reprr r s r �__repr__zUID.__repr__Z s$ � ��>�2�2�2�D���O�O�O�O�D�Dr c � � | j | j ffS r )r$ r r s r �
__reduce__zUID.__reduce__] s � ��~�� �|�+�+r c �Z � t |t � � st S | j |j k S r )r r �NotImplementedr )r �others r �__eq__z
UID.__eq__` s) � ��%��%�%� "�!�!��y�E�J�&�&r c �* � t | j � � S r )�hashr r s r �__hash__zUID.__hash__e s � ��D�I���r N) r% �
__module__�__qualname__r r r'