AlkantarClanX12

Your IP : 18.116.86.132


Current Path : /proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python311/lib64/python3.11/__pycache__/pprint.cpython-311.opt-1.pyc

�

c��f`��0�dZddlZddlZddlZddlZddlZ	ddl
mZgd�Z
ddddd	�d
�Zddddd	�d�Zdd�d
�Zd�Zd�Zd�ZGd�d��Zd�ZGd�d��Zeeeeeeeed��h��Zd�Z dd�Z!d�Z"e#dkre!��dSdS)a/Support to pretty-print lists, tuples, & dictionaries recursively.

Very simple, but useful, especially in debugging data structures.

Classes
-------

PrettyPrinter()
    Handle pretty-printing operations onto a stream using a configured
    set of formatting parameters.

Functions
---------

pformat()
    Format a Python object into a pretty-printed representation.

pprint()
    Pretty-print a Python object to a stream [default is sys.stdout].

saferepr()
    Generate a 'standard' repr()-like value, but protect against recursive
    data structures.

�N)�StringIO)�pprint�pformat�
isreadable�isrecursive�saferepr�
PrettyPrinter�pp��PFT��compact�
sort_dicts�underscore_numbersc	�\�t|||||||���}|�|��dS)zAPretty-print a Python object to a stream [default is sys.stdout].)�stream�indent�width�depthrrrN)r	r)	�objectrrrrrrr�printers	         �-/opt/alt/python311/lib64/python3.11/pprint.pyrr0sC����f�E���J�-�/�/�/�G��N�N�6������c�R�t||||||����|��S)z<Format a Python object into a pretty-printed representation.)rrrrrr)r	r)rrrrrrrs       rrr9s8����e�5�!(�Z�,>�@�@�@�@G�����Pr)rc�*�t|g|�Rd|i|��dS)zPretty-print a Python objectrN)r)rr�args�kwargss    rr
r
@s+��
�6�:�D�:�:�:�Z�:�6�:�:�:�:�:rc�V�t���|idd��dS)z=Version of repr() which can handle recursive data structures.Nr�r	�
_safe_repr�rs rrrD�%���?�?�%�%�f�b�$��:�:�1�=�=rc�V�t���|idd��dS)z4Determine if saferepr(object) is readable by eval().Nrrrr!s rrrHr"rc�V�t���|idd��dS)z8Determine if object requires a recursive representation.Nr�rr!s rrrLr"rc�$�eZdZdZdgZd�Zd�ZdS)�	_safe_keyaUHelper function for key functions when sorting unorderable objects.

    The wrapped-object will fallback to a Py2.x style comparison for
    unorderable types (sorting first comparing the type name and then by
    the obj ids).  Does not work recursively, so dict.items() must have
    _safe_key applied to both the key and the value.

    �objc��||_dS�N)r()�selfr(s  r�__init__z_safe_key.__init__\s
������rc��	|j|jkS#t$rott|j����t	|j��ftt|j����t	|j��fkcYSwxYwr*)r(�	TypeError�str�type�id)r+�others  r�__lt__z_safe_key.__lt___s���	;��8�e�i�'�'���	;�	;�	;���d�h���(�(�"�T�X�,�,�7���e�i���)�)�2�e�i�=�=�9�:�
;�
;�
;�	;���s��A6B�
BN)�__name__�
__module__�__qualname__�__doc__�	__slots__r,r3�rrr'r'PsE����������I����;�;�;�;�;rr'c�V�t|d��t|d��fS)z&Helper function for comparing 2-tuplesrr)r')�ts r�_safe_tupler<fs!���Q�q�T�?�?�I�a��d�O�O�+�+rc��eZdZd%dddd�d�Zd�Zd	�Zd
�Zd�Zd�Zd
�Z	iZ
d�Zee
ej
<d�Zee
ejj
<d�Zee
ej
<d�Zee
ej
<d�Zee
ej
<ee
ej
<d�Zee
ej
<d�Zee
ej
<d�Zee
ej
<d�Zee
ej j
<d�Z!e!e
ej"j
<d�Z#d�Z$d�Z%d�Z&d�Z'd�Z(e(e
ej)j
<d�Z*e*e
ej+j
<d�Z,e,e
ej-j
<d �Z.e.e
ej/j
<d!�Z0e0e
ej1j
<d"�Z2e2e
ej3j
<d#�Z4e4e
ej5j
<d$�Z6dS)&r	rrNFTr
c�`�t|��}t|��}|dkrtd���|�|dkrtd���|std���||_||_||_|�||_ntj|_t|��|_	||_
||_dS)a�Handle pretty printing operations onto a stream using a set of
        configured parameters.

        indent
            Number of spaces to indent for each level of nesting.

        width
            Attempted maximum number of columns in the output.

        depth
            The maximum depth to print out nested structures.

        stream
            The desired output stream.  If omitted (or false), the standard
            output stream available at construction will be used.

        compact
            If true, several items will be combined in one line.

        sort_dicts
            If true, dict keys are sorted.

        underscore_numbers
            If true, digit groups are separated with underscores.

        rzindent must be >= 0Nzdepth must be > 0zwidth must be != 0)�int�
ValueError�_depth�_indent_per_level�_width�_stream�_sys�stdout�bool�_compact�_sort_dicts�_underscore_numbers)r+rrrrrrrs        rr,zPrettyPrinter.__init__ks���8�V�����E�
�
���A�:�:��2�3�3�3����!����0�1�1�1��	3��1�2�2�2����!'��������!�D�L�L��;�D�L��W�
�
��
�%���#5�� � � rc��|j�;|�||jddid��|j�d��dSdS)Nr�
)rD�_format�write�r+rs  rrzPrettyPrinter.pprint�sL���<�#��L�L����q�!�R��;�;�;��L���t�$�$�$�$�$�$�#rc�z�t��}|�||ddid��|���S�Nr)�	_StringIOrM�getvalue)r+r�sios   rrzPrettyPrinter.pformat�s5���k�k�����V�S�!�Q��A�.�.�.��|�|�~�~�rc�>�|�|idd��dS)Nrr%��formatrOs  rrzPrettyPrinter.isrecursive�s���{�{�6�2�q�!�,�,�Q�/�/rc�D�|�|idd��\}}}|o|SrQrV)r+r�s�readable�	recursives     rrzPrettyPrinter.isreadable�s-��!%���V�R��A�!>�!>���8�Y��)�	�M�)rc
���t|��}||vr2|�t|����d|_d|_dS|�|||��}|j|z
|z
}	t|��|	kr�|j�	t|��jd��}
|
�d||<|
|||||||dz��||=dStj
|��rpt|t��s[|jjrOt#|jd��r:d|jjjvr'd||<|�||||||dz��||=dS|�|��dS)NTFr�__wrapped__�
__create_fn__)r1rN�
_recursion�
_recursive�	_readable�_reprrC�len�	_dispatch�getr0�__repr__�_dataclasses�is_dataclass�
isinstance�__dataclass_params__�repr�hasattrr]r6�_pprint_dataclass)r+rrr�	allowance�context�level�objid�rep�	max_width�ps           rrMzPrettyPrinter._format�s����6�
�
���G����L�L��F�+�+�,�,�,�"�D�O�"�D�N��F��j�j���%�0�0���K�&�(�9�4�	��s�8�8�i�����"�"�4��<�<�#8�$�?�?�A��}�!"������$����	�7�E�A�I�N�N�N��E�N����+�F�3�3�	
� ���.�.�	
��-�2�	
��&�/�=�9�9�		
�
"�V�_�%@�%M�M�M�!"�����&�&�v�v�v�y�'�SX�[\�S\�]�]�]��E�N������S�����rc����jj}|t|��dzz
}�fd�tj���D��}|�|dz��|�||||||��|�d��dS)Nrc�V��g|]%}|j�	|jt�|j��f��&Sr9)rk�name�getattr)�.0�frs  �r�
<listcomp>z3PrettyPrinter._pprint_dataclass.<locals>.<listcomp>�s5���b�b�b�q�[\�[a�b�!�&�'�&�!�&�1�1�2�b�b�br�(�))�	__class__r4rcrg�fieldsrN�_format_namespace_items�	r+rrrrnrorp�cls_name�itemss	 `       rrmzPrettyPrinter._pprint_dataclass�s�����#�,���#�h�-�-�!�#�#��b�b�b�b�L�<O�PV�<W�<W�b�b�b�����X��^�$�$�$��$�$�U�F�F�I�w�PU�V�V�V����S�����rc�f�|j}|d��|jdkr||jdz
dz��t|��}|ra|jr)t	|���t���}	n|���}	|�|	|||dz||��|d��dS)N�{r� ��key�})rNrBrcrI�sortedr�r<�_format_dict_items)
r+rrrrnrorprN�lengthr�s
          r�_pprint_dictzPrettyPrinter._pprint_dict�s������
��c�
�
�
��!�A�%�%��E�4�)�A�-��4�5�5�5��V�����	4���
'��v�|�|�~�~�;�?�?�?����������#�#�E�6�6�9�q�=�$+�U�
4�
4�
4�
��c�
�
�
�
�
rc��t|��s$|�t|����dS|j}|�|jdz��|�t
|�����||t|j��zdz|dz||��|�d��dS)Nr|rr})rcrNrkr~r4rM�listr�)r+rrrrnrorp�clss        r�_pprint_ordered_dictz"PrettyPrinter._pprint_ordered_dict�s����6�{�{�	��L�L��f���&�&�&��F�������S�\�C�'�(�(�(����T�&�,�,�.�.�)�)�6��c�#�,�/�/�/�!�3�Y��]��e�	%�	%�	%�	���S�����rc��|�d��|�||||dz||��|�d��dS)N�[r�])rN�
_format_items�r+rrrrnrorps       r�_pprint_listzPrettyPrinter._pprint_list�sU�����S�������6�6�6�9�q�=�"�E�	+�	+�	+����S�����rc	���|�d��t|��dkrdnd}|�||||t|��z||��|�|��dS)Nr|rz,)r})rNrcr�)r+rrrrnrorp�endchars        r�
_pprint_tuplezPrettyPrinter._pprint_tuple�su�����S�����f�+�+��*�*�$�$������6�6�6�9�s�7�|�|�3K�"�E�	+�	+�	+����W�����rc	���t|��s$|�t|����dS|j}|tur|�d��d}n9|�|jdz��d}|t|j��dzz
}t
|t���}|�||||t|��z||��|�|��dS)Nr�r��({�})rr�)	rcrNrkr~�setr4r�r'r�)	r+rrrrnrorp�typr�s	         r�_pprint_setzPrettyPrinter._pprint_sets����6�{�{�	��L�L��f���&�&�&��F�����#�:�:��L�L������G�G��L�L����,�-�-�-��G��c�#�,�'�'�!�+�+�F���I�.�.�.�����6�6�6�9�s�7�|�|�3K�"�E�	+�	+�	+����W�����rc�`�|j}t|��s|t|����dSg}|�d��}	|dkr
|dz
}|dz
}|j|z
x}
}t|	��D�]>\}}
t|
��}|t|	��dz
kr|
|z}
t|��|
kr|�|���Ytjd|
��}|�	��|}d}t|��D]�\}}||z}|t|��dz
kr|t|	��dz
kr||z}tt|����|kr'|r"|�t|����|}��|}��|r"|�t|������@t|��dkr
||��dS|dkr|d��t|��D]'\}}|dkr|dd|zz��||���(|dkr
|d	��dSdS)
NTrz\S*\s*�r|rrLr�r})
rNrcrk�
splitlinesrC�	enumerate�append�re�findall�pop)r+rrrrnrorprN�chunks�lines�
max_width1rs�i�linerr�parts�
max_width2�current�j�part�	candidates                     r�_pprint_strzPrettyPrinter._pprint_strsr������6�{�{�	��E�$�v�,�,�����F����!�!�$�'�'���A�:�:��a�K�F���N�I�!%��v�!5�5�
�Y� ��'�'�	1�	1�G�A�t��t�*�*�C��C��J�J��N�"�"��i�'�
��3�x�x�:�%�%��
�
�c�"�"�"�"��
�9�d�3�3���	�	����&�
���(��/�/�	,�	,�G�A�t� '�$��I��C��J�J��N�*�*�q�C��J�J��N�/B�/B�"�i�/�
��4�	�?�?�+�+�j�8�8�"�9�"�M�M�$�w�-�-�8�8�8�"&���"+����1��M�M�$�w�-�-�0�0�0���v�;�;�!����E�#�J�J�J��F��A�:�:��E�#�J�J�J���'�'�	�	�F�A�s��1�u�u���d�S��Z�'�(�(�(��E�#�J�J�J�J��A�:�:��E�#�J�J�J�J�J��:rc�B�|j}t|��dkr|t|����dS|dk}|r|dz
}|dz
}|d��d}	t||j|z
|��D]"}
||	��||
��|	sdd|zz}	�#|r
|d��dSdS)N�rr|r�rLr�r})rNrcrk�_wrap_bytes_reprrC)r+rrrrnrorprN�parens�delimrrs           r�
_pprint_byteszPrettyPrinter._pprint_bytesGs�������v�;�;�!����E�$�v�,�,�����F��!����	��a�K�F���N�I��E�#�J�J�J���#�F�D�K�&�,@�)�L�L�	*�	*�C��E�%�L�L�L��E�#�J�J�J��
*��s�6�z�)����	��E�#�J�J�J�J�J�	�	rc	��|j}|d��|�t|��||dz|dz||dz��|d��dS)Nz
bytearray(�
rr})rNr��bytes)r+rrrrnrorprNs        r�_pprint_bytearrayzPrettyPrinter._pprint_bytearray\sa�����
��l�������5��=�=�&�&�2�+�$�q�=�'�5�1�9�	>�	>�	>�
��c�
�
�
�
�
rc��|�d��|�|���||dz|dz||��|�d��dS)Nz
mappingproxy(�
rr})rNrM�copyr�s       r�_pprint_mappingproxyz"PrettyPrinter._pprint_mappingproxyes_�����_�%�%�%����V�[�[�]�]�F�F�R�K��Q���e�	%�	%�	%����S�����rc�D�t|��tjurd}n|jj}|t|��dzz
}|j���}|�|dz��|�	||||||��|�d��dS)N�	namespacerr|r})
r0�_types�SimpleNamespacer~r4rc�__dict__r�rNr�r�s	         r�_pprint_simplenamespacez%PrettyPrinter._pprint_simplenamespacems�����<�<�6�1�1�1�#�H�H��'�0�H��#�h�-�-�!�#�#����%�%�'�'�����X��^�$�$�$��$�$�U�F�F�I�w�PU�V�V�V����S�����rc	�n�|j}||jz
}dd|zz}t|��dz
}	t|��D]y\}
\}}|
|	k}
|�|||��}||��|d��|�|||t|��zdz|
r|nd||��|
s||���zdS)N�,
r�r�: r%)rNrBrcr�rbrM)r+r�rrrnrorprN�delimnl�
last_indexr�r��ent�lastrrs               rr�z PrettyPrinter._format_dict_items|s�������$�(�(���#��,�&����Z�Z�!�^�
�&�u�-�-�		�		�M�A�z��S��
�?�D��*�*�S�'�5�1�1�C��E�#�J�J�J��E�$�K�K�K��L�L��f�f�s�3�x�x�&7�!�&;�&*�1���� �%�
)�
)�
)��
���g�����		�		rc	�f�|j}dd|zz}t|��dz
}	t|��D]\}
\}}|
|	k}
||��|d��t|��|vr|d��n1|�|||t|��zdz|
r|nd||��|
s||����dS)Nr�r�r�=�...)rNrcr�r1rM)r+r�rrrnrorprNr�r�r�r�r�r�s              rr�z%PrettyPrinter._format_namespace_items�s�������#��,�&����Z�Z�!�^�
�&�u�-�-�
	�
	�M�A�z��S��
�?�D��E�#�J�J�J��E�#�J�J�J��#�w�w�'�!�!���e��������S�&�&�3�s�8�8�*;�a�*?�*.�5�Y�Y�A�$�e�-�-�-��
���g�����
	�
	rc��|j}||jz
}|jdkr||jdz
dz��dd|zz}d}	|j|z
dzx}
}t|��}	t	|��}
n#t
$rYdSwxYwd}|s�|
}	t	|��}
n#t
$rd}||z}|
|z}
YnwxYw|jrY|�|||��}t|��dz}|
|kr|}
|	r|}	|
|kr|
|z}
||	��d}	||����||	��|}	|�	||||r|nd||��|��dSdS)	Nrr�r�r�FTr%�, )
rNrBrC�iter�next�
StopIterationrHrbrcrM)r+r�rrrnrorprNr�r�rrs�it�next_entr�r�rr�ws                  rr�zPrettyPrinter._format_items�s�������$�(�(���!�A�%�%��E�4�)�A�-��4�5�5�5��#��,�&���� �K�&�0�1�4�4��	�
�%�[�[��	��B�x�x�H�H���	�	�	��F�F�	�������	)��C�
#���8�8���� �
#�
#�
#����Y�&�	���"����
#�����}�
��j�j��g�u�5�5����H�H�q�L���1�9�9�%�E��(� '���A�:�:��Q�J�E��E�%�L�L�L� �E��E�#�J�J�J���E�%�L�L�L��E��L�L��f�f�&*�1���� �%�
)�
)�
)�/�	)�	)�	)�	)�	)s$�A,�,
A:�9A:�B�B-�,B-c��|�||���|j|��\}}}|sd|_|rd|_|S)NFT)rWr�rArar`)r+rrorprkrZr[s       rrbzPrettyPrinter._repr�sT��$(�K�K�������04��U�%D�%D�!��h�	��	#�"�D�N��	#�"�D�O��rc�2�|�||||��S)z�Format object for a specific context, returning a string
        and flags indicating whether the representation is 'readable'
        and whether the object represents a recursive construct.
        )r )r+rro�	maxlevelsrps     rrWzPrettyPrinter.format�s��
���v�w�	�5�A�A�Arc��t|��s$|�t|����dS|�|j||��}|j}|t|j��dzz
}|�|j�d|�dd|z����|�||||dz||��|�d��dS)Nrr|r�r�r})rcrNrkrb�default_factoryr~r4r�)	r+rrrrnrorp�rdfr�s	         r�_pprint_default_dictz"PrettyPrinter._pprint_default_dict�s����6�{�{�	��L�L��f���&�&�&��F��j�j��/��%�@�@������#�c�l�#�#�a�'�'�����S�\�\�\�3�3�3��f���E�F�F�F����&�&�&�)�a�-��%�P�P�P����S�����rc���t|��s$|�t|����dS|j}|�|jdz��|jdkr |�|jdz
dz��|���}|�|||t|j��zdz|dz||��|�d��dS)Nr�rr�r%r�)rcrNrkr~r4rB�most_commonr�)	r+rrrrnrorpr�r�s	         r�_pprint_counterzPrettyPrinter._pprint_counter�s����6�{�{�	��L�L��f���&�&�&��F�������S�\�D�(�)�)�)��!�A�%�%��L�L�$�0�1�4��;�<�<�<��"�"�$�$������v� &��S�\�):�):� :�Q� >�	�A�
� '��	0�	0�	0�	���T�����rc	�,�t|j��s$|�t|����dS|j}|�|jdz��|t|j��dzz
}t
|j��D]�\}}	|t|j��dz
kr3|�|	|||dz||��|�d���S|�|	||d||��|�dd|zz����dS)Nr|rr}r�r�)rc�mapsrNrkr~r4r�rM)
r+rrrrnrorpr�r��ms
          r�_pprint_chain_mapzPrettyPrinter._pprint_chain_map�s���6�;���	��L�L��f���&�&�&��F�������S�\�C�'�(�(�(��#�c�l�#�#�a�'�'���f�k�*�*�	3�	3�D�A�q��C���$�$�q�(�(�(����Q���	�A�
�w��N�N�N����S�!�!�!�!����Q����7�E�B�B�B����U�S�6�\�1�2�2�2�2�
	3�	3rc�2�t|��s$|�t|����dS|j}|�|jdz��|t|j��dzz
}|�d��|j�4|�||||dz||��|�d��dS|�|||d||��|�|j||��}|�dd|z�d|�d	���dS)
Nr|rr�r%z])z],
r�zmaxlen=r})rcrNrkr~r4�maxlenr�rb)	r+rrrrnrorpr��rmls	         r�
_pprint_dequezPrettyPrinter._pprint_deques)���6�{�{�	��L�L��f���&�&�&��F�������S�\�C�'�(�(�(��#�c�l�#�#�a�'�'�����S�����=� ����v�v�v�y�1�}�&��
/�
/�
/��L�L����������v�v�v�q�&��
/�
/�
/��*�*�V�]�G�U�;�;�C��L�L�L�s�V�|�|�|�S�S�S�A�B�B�B�B�Brc	�J�|�|j|||||dz
��dS�Nr�rM�datar�s       r�_pprint_user_dictzPrettyPrinter._pprint_user_dict�*�����V�[�&�&�)�W�e�a�i�P�P�P�P�Prc	�J�|�|j|||||dz
��dSr�r�r�s       r�_pprint_user_listzPrettyPrinter._pprint_user_list r�rc	�J�|�|j|||||dz
��dSr�r�r�s       r�_pprint_user_stringz!PrettyPrinter._pprint_user_string%r�rc���t|��}|tvrt|��ddfSt|dd��}t	|t
��r.|t
jur |jr|d�ddfSt|��ddfSt	|t���r|tju�r
|sdSt|��}|r
||krdd||vfS||vrt|��ddfSd||<d}d}	g}
|
j}|dz
}|jr)t|���t���}n|���}|D]Y\}
}|�|
|||��\}}}|�||||��\}}}||�d	|����|o|o|}|s|rd}	�Z||=d
d�|
��z||	fSt	|t$��r|t$jus#t	|t&��r�|t&jur�t	|t$��r|sdSd
}nt)|��dkrd}n|sdSd}t|��}|r||kr
|dzd||vfS||vrt|��ddfSd||<d}d}	g}
|
j}|dz
}|D]1}|�||||��\}}}||��|sd}|rd}	�2||=|d�|
��z||	fSt|��}||o|�d��dfS)NTFrf�_d)z{}TFz{...}rr�r�z{%s}r�)z[]TFz[%s]z(%s,))z()TFz(%s)r��<)r0�_builtin_scalarsrkrx�
issubclassr?rfrJ�dictr1r_r�rIr�r�r<rW�joinr��tuplerc�
startswith)r+rror�rpr��rrqrZr[�
componentsr�r��k�v�krepr�	kreadable�krecur�vrepr�	vreadable�vrecurrW�o�orepr�	oreadable�orecurrrs                           rr zPrettyPrinter._safe_repr*s����6�l�l���"�"�"���<�<��u�,�,��C��T�*�*���c�3���	1�A���$5�$5��'�
1� �~�~�t�U�2�2��F�|�|�T�5�0�0��c�4� � �	G�Q�$�-�%7�%7��
)�(�(��v�J�J�E��
8�U�i�/�/���u��'7�7�7�����!�&�)�)�5�$�6�6��G�E�N��H��I��J��&�F��Q�J�E���
'��v�|�|�~�~�;�?�?�?����������
%�
%���1�+/�;�;��w�	�5�,2�,2�(��y�&�+/�;�;��w�	�5�,2�,2�(��y�&���5�5�5�%�%�0�1�1�1�#�?�	�?�i���%�V�%� $�I������D�I�I�j�1�1�1�8�Y�F�F��s�D�!�!� 	G�a�4�=�&8�&8��s�E�"�"�'9�'(�E�N�':�':��#�t�$�$�	
 ��-�,�,�����V����!�!� ����-�,�,����v�J�J�E��
?�U�i�/�/���~�u�e�w�.>�>�>�����!�&�)�)�5�$�6�6��G�E�N��H��I��J��&�F��Q�J�E��
%�
%��+/�;�;��w�	�5�,2�,2�(��y�&���u�
�
�
� �%�$�H��%� $�I������D�I�I�j�1�1�1�8�Y�F�F��6�l�l���S�4�����!4�!4�4�u�<�<r)rrNN)7r4r5r6r,rrrrrMrmrdr�r�rfr��_collections�OrderedDictr�r�r�r�r�r��	frozensetr�r/r�r�r��	bytearrayr�r��MappingProxyTyper�r�r�r�r�rbrWr��defaultdictr��Counterr��ChainMapr��dequer��UserDictr��UserListr��
UserStringr r9rrr	r	js6������-6��4�E�-6�-6�-6�-6�-6�^%�%�%�
���
0�0�0�*�*�*����8����I�
�
�
� ,�I�d�m��	�	�	�4H�I�l�&�/�0���� ,�I�d�m�����!.�I�e�n�����"*�I�c�l��$/�I�i� �!�/�/�/�b*�I�c�l�����&!.�I�e�n�����%6�I�i� �!����3G�I�f�%�.�/����2I�I�f�$�-�.����"���&')�')�')�R���B�B�B�	�	�	�4H�I�l�&�/�0����0?�I�l�"�+�,�
3�
3�
3�1B�I�l�#�,�-�C�C�C�$.;�I�l� �)�*�Q�Q�Q�1B�I�l�#�,�-�Q�Q�Q�1B�I�l�#�,�-�Q�Q�Q�3F�I�l�%�.�/�O=�O=�O=�O=�O=rr	c�R�dt|��j�dt|���d�S)Nz<Recursion on z	 with id=�>)r0r4r1r!s rr_r_~s,����F�|�|�$�$�$�b��j�j�j�j�
2�3rc�l�ddl}|�ddddgddd�fgd	z}t��}|���}|�|iddd
��|���}|�|��|���}td||z
��td||z
��dS)
Nr�string)rr%�r���)��i��Tz_safe_repr:zpformat:)�timer	�perf_counterr r�print)rr#rt�t1�t2�t3s      r�
_perfcheckr)�s����K�K�K�
�~��V�a��V��q�\�\�:�;�f�D�����A�	
�	�	�	�	�B��L�L���T�1�d�+�+�+�	
�	�	�	�	�B��I�I�f����	
�	�	�	�	�B�	�-��b��!�!�!�	�*�b�2�g�����rc#�NK�d}t|��dzdz}tdt|��d��D]W}|||dz�}||z}||kr||z}tt|����|kr|rt|��V�|}�U|}�X|rt|��V�dSdS)Nrr�r)rc�rangerk)rrrnr�r�r�r�r�s        rr�r��s������G��v�;�;�!��a��D�
�1�c�&�k�k�1�
%�
%�
 �
 ���a��1��f�~���d�N�	���9�9��Y��E��t�I�����%�'�'��
$��7�m�m�#�#�#��G�G��G�G����7�m�m�������r�__main__)NrrN)rrNr*)$r7�collectionsr�dataclassesrgr��sysrE�typesr��iorrR�__all__rrr
rrrr'r<r	rr/r�r�float�complexrGr0r�r_r)r�r4r9rr�<module>r5s�����4#�"�"�"�"�"�"�"�	�	�	�	���������$�$�$�$�$�$�"�"�"����T�e������P��d�u�P�P�P�P�P�"'�;�;�;�;�;�>�>�>�>�>�>�>�>�>�;�;�;�;�;�;�;�;�,,�,�,�O=�O=�O=�O=�O=�O=�O=�O=�b�9�c�5�)�U�G�"�D�D��J�J�0�1�1��3�3�3�
�������"�z����J�L�L�L�L�L��r