AlkantarClanX12

Your IP : 3.144.2.5


Current Path : /opt/alt/python312/lib64/python3.12/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/__pycache__/ntpath.cpython-312.opt-2.pyc

�

�Q�f�y���	dZdZdZdZdZdZdZdZddlZddl	Z	ddl
Z
ddlZdd	l�gd
�Zd�Z
	ddlmZmZmZd
�Zd�Zd�Zd�Zd�Zd�Zd�Zej:j<e_d�Zd�Z e!ejDd�rd�Z#nd�Z#d�Z$	ddl%m&Z&d�Z'd�Z(d�Z)	ddl%m*Z+d!�Z,	dd"l%m-Z-d#�Z.	dd$l%m/Z/m0Z1d%�Z2d&�Z3d'd(�d)�Z4d*Z5d4d+�Z6d,�Z7	dd-l%m8Z9dd.l%m:Z;dd/l%m<Z=dd0l%m>Z?	dd1l%m@Z@d2�ZAy#e$rd�ZY��wxYw#e$rdZ&Y�vwxYw#e$rd �Z+Y�twxYw#e$re,Z.Y�twxYw#e$re.Z4Y�lwxYw#e$rY�UwxYw#e$rd3�ZAYywxYw)5�.�..�\�;�/z.;C:\bin�nul�N)�*)(�normcase�isabs�join�
splitdrive�	splitroot�split�splitext�basename�dirname�commonprefix�getsize�getmtime�getatime�getctime�islink�exists�lexists�isdir�isfile�ismount�
expanduser�
expandvars�normpath�abspath�curdir�pardir�sep�pathsep�defpath�altsep�extsep�devnull�realpath�supports_unicode_filenames�relpath�samefile�sameopenfile�samestat�
commonpath�
isjunctionc�&�t|t�ryy)N�\/�\/)�
isinstance�bytes��paths �-/opt/alt/python312/lib64/python3.12/ntpath.py�
_get_bothsepsr:#s���$�����)�
LCMapStringEx�LOCALE_NAME_INVARIANT�LCMAP_LOWERCASEc�Z�	tj|�}|s|St|t�r]t	j
�}|j
|d�jdd�}ttt|�}|j|d�Sttt|jdd��S)N�surrogateescaperr)�os�fspathr5r6�sys�getfilesystemencoding�decode�replace�_LCMapStringEx�_LOCALE_NAME_INVARIANT�_LCMAP_LOWERCASE�encode)�s�encodings  r9r
r
3s���	�
�I�I�a�L����H��a����0�0�2�H�����#4�5�=�=�c�4�H�A��5�/��4�A��8�8�H�&7�8�8�!�"8�"2�"#�)�)�C��"6�8�
8r;c��	tj|�}t|t�rFtjtj
|�j
dd�j��S|j
dd�j�S)Nrr)rArBr5r6�fsencode�fsdecoderF�lower)rKs r9r
r
Fsg��	�
�I�I�a�L���a����;�;�r�{�{�1�~�5�5�c�4�@�F�F�H�I�I��y�y��d�#�)�)�+�+r;c���	tj|�}t|t�rd}d}d}nd}d}d}|ddj	||�}|j|�s|j|d�ry	y
)N�\�/s:\rrz:\��TF)rArBr5r6rF�
startswith)rKr$r'�	colon_seps    r9rrWsq��)�
�	�	�!��A��!�U�������	������	�	�"�1��
�
�f�c�"�A�	�|�|�C��A�L�L��A�6��r;c�8�tj|�}t|t�rd}d}d}nd}d}d}	|s|dd|zt	|�\}}}ttj|�D]b}t	|�\}	}
}|
r|	s|s|	}|
}|}�|	r/|	|k7r*|	j
�|j
�k7r|	}|
}|}�N|	}|r|d|vr||z}||z}�d|r|s|r|dd||zvr||z|zS||z|zS#tttf$rtjd	|g|����wxYw)
NrRr3�:rr4�:r���r)rArBr5r6r�maprP�	TypeError�AttributeError�BytesWarning�genericpath�_check_arg_types)r8�pathsr$�seps�colon�result_drive�result_root�result_path�p�p_drive�p_root�p_paths            r9rrks_��
�9�9�T�?�D��$���������������!����!�H�s�N�1:�4��.��k�;��R�Y�Y��&�A�&/��l�#�G�V�V���,�#*�L�$��$����W��4��=�=�?�l�&8�&8�&:�:�#*�L�"(�K�"(�K��&���{�2��d�:�)�C�/��%��.�K�+'�.
���\�"�#�.�e�d�l�B��#�%��3�3��k�)�K�7�7���~�|�4���$�$�V�T�:�E�:�
��s�B/C,�$C,�,-Dc�0�	t|�\}}}|||zfS�N)r)rh�drive�root�tails    r9r
r
�s(���$"�!���E�4���$��+��r;c��	tj|�}t|t�rd}d}d}d}d}n
d}d}d}d	}d
}|j	||�}|dd|k(r||dd|k(ri|dd
j�|k(rd
nd}|j
||�}|dk(r|||fS|j
||dz�}	|	dk(r|||fS|d|	||	|	dz||	dzdfS||dd|ddfS|dd|k(r!|dd|k(r|dd|dd|ddfS|dd||ddfS|||fS)NrRrSrY�\\?\UNC\r;rrrZ�\\?\UNC\�rU��r[rT)rArBr5r6rF�upper�find)
rhr$r'rd�
unc_prefix�empty�normp�start�index�index2s
          r9rr�s���	�	�	�	�!��A��!�U��������$�
���������#�
���
�I�I�f�c�"�E��R�a�y�C����1�:����r�����*�j�8�A�a�E��J�J�s�E�*�E���{��%���&��Z�Z��U�Q�Y�/�F���|��%���&��W�f�:�q����
�3�Q�v��z�{�^�C�C��!�B�Q�%��1�2��&�&�	�q���u�	���1�:����R�a�5�!�A�a�&�!�A�B�%�'�'��R�a�5�%��1�2��&�&��e�Q��r;c��	tj|�}t|�}t|�\}}}t	|�}|r||dz
|vr|dz}|r||dz
|vr�|d|||d}}||z|j|�z|fS�NrU)rArBr:r�len�rstrip)rhrc�d�r�i�headrps       r9rr�s���!�	�	�	�!��A����D���l�G�A�q�!��A��A�
��!�A�#��d�"�	�Q�����!�A�#��d�"��2�A���!�"��$�D��q�5�4�;�;�t�$�$�d�*�*r;c��tj|�}t|t�rt	j
|ddd�St	j
|ddd�S)NrRrS�.rrr)rArBr5r6r`�	_splitext�rhs r9rrsG��
�	�	�!��A��!�U���$�$�Q��t�T�:�:��$�$�Q��c�3�7�7r;c� �	t|�dSr��rr�s r9rrs��3���8�A�;�r;c� �	t|�dS)Nrr�r�s r9rrs��7���8�A�;�r;�st_reparse_tagc��		tj|�}t|jtjk(�S#tttf$rYywxYw�NF)	rA�lstat�OSError�
ValueErrorr^�boolr��stat�IO_REPARSE_TAG_MOUNT_POINT�r8�sts  r9r1r1sP��/�	����$��B��B�%�%��)H�)H�H�I�I����^�4�	��	�s�>�A�Ac�0�	tj|�yr�)rArBr7s r9r1r1#s��/�
�	�	�$��r;c�\�		tj|�}y#ttf$rYywxYw)NFT)rAr�r�r�r�s  r9rr+s5��M��
�X�X�d�^����
�Z� ����s��+�+)�_getvolumepathnamec�@�	tj|�}t|�}t|�}t	|�\}}}|r
|d|vr|S|r|syt
rL|j
|�}t|�j
|�}|j�|j�k(Sy)NrTF)rArBr:r!rr�r��casefold)r8rcrnro�rest�x�ys       r9rrAs���#�
�9�9�T�?�D����D��4�=�D�!�$���E�4����q��T�!��x���D����K�K�����d�#�*�*�4�0���z�z�|�q�z�z�|�+�+�r;c�:�	tj|�}t|t�rd}nd}|j	|�s|Sdt|�}}||kr+||t
|�vr|dz
}||kr||t
|�vr�dtjvrtjd}nEdtjvr|S	tjd}t|tjd�}|dk7rs|d|}t|t�rtj|�}tjjd�}||k7r%|t|�k7r|Stt|�|�}t|t�rtj|�}|||dzS#t$rd}Y��wxYw)	N�~�~rU�USERPROFILE�HOMEPATH�	HOMEDRIVErt�USERNAME)rArBr5r6rVr�r:�environ�KeyErrorrrO�getrrrN)r8�tilder��n�userhomern�target_user�current_users        r9rr^s���0��9�9�T�?�D��$��������?�?�5�!����c�$�i�q�A�
�a�%�D��G�=��#6�6�	�Q����a�%�D��G�=��#6�6���
�
�"��:�:�m�,��
�2�:�:�
%���	��J�J�{�+�E���r�z�z�*�5�6���A�v��1�Q�i���k�5�)��+�+�k�2�K��z�z�~�~�j�1���,�&��x��1�1����G�H�-�{�;�H��$����;�;�x�(���d�1�2�h����/�	��E�	�s�7F�F�Fc���	tj|�}t|t�rPd|vrd|vr|Sddl}t|j
|jzdzd�}d}d}d}d}d}ttd	d�}nDd
|vrd|vr|Sddl}|j
|jzdz}d}d}d
}d}d
}tj}|dd}	d}
t|�}|
|k�r||
|
dz}||k(r5||
dzd}t|�}	|j|�}
|	||d|
dzzz
}	�n�||k(r�||
dz|
dz|k(r|	|z
}	|
dz
}
�n�||
dzd}t|�}	|j|�}
|d|
}
	|�:tjtjtj|
��}n||
}|	|z
}	�n%||k(�r||
dz|
dz|k(r|	|z
}	|
dz
}
�n||
dz|
dz|k(rr||
dzd}t|�}	|j|�}
|d|
}
	|�:tjtjtj|
��}n||
}|	|z
}	n�|dd}
|
dz
}
||
|
dz}|r||vr|
|z
}
|
dz
}
||
|
dz}|r||vr�	|�:tjtjtj|
��}n||
}|	|z
}	|r|
dz}
n|	|z
}	|
dz
}
|
|kr��|	S#t$r|	||zz
}	|dz
}
Y�&wxYw#t$r||
z|z}Y��jwxYw#t$r|	||zz
}	|dz
}
Y�ZwxYw#t$r||z|
z|z}Y��wxYw#t$r|	||z|zz
}	|dz
}
Y��wxYw#t$r||
z}Y��wxYw)N�$�%rz_-�ascii�'�{�}�environb�$�%�'�{�}rUru)rArBr5r6�string�
ascii_letters�digits�getattrr�r�r}r�rNrOr�)r8r��varchars�quote�percent�brace�rbrace�dollarr��resr}�pathlen�c�var�values               r9rr�sM��-��9�9�T�?�D��$����t���D� 0��K����-�-��
�
�=��D�g�N�������������"�j�$�/���d�?�s�$���K���'�'�&�-�-�7�$�>�������������*�*��
�r��(�C�
�E��$�i�G�
�'�/���u�Q�w�����:����	�
�#�D��$�i�G�
$��
�
�1�
���q�4�
����+�+�+���'�\��E�A�I�e�a�i�(�G�3��q�����
���E�!�G�H�~���d�)��!� �J�J�w�/�E�
�v��,�C�8�"�?�$&�K�K��
�
�2�;�;�s�;K�0L�$M�E�$+�C�L�E��5�L�C�
�&�[��E�A�I�e�a�i�(�F�2��q�����
���e�a�i���	�*�e�3��E�!�G�H�~���d�)��!� �J�J�v�.�E�
�v��,�C�>�"�?�$&�K�K��
�
�2�;�;�s�;K�0L�$M�E�$+�C�L�E��5�L�C��2�A�h����
����u�q�y�)���A��M��1�H�C��Q�J�E��U�5�1�9�-�A��A��M�)��� "���B�J�J�r�{�{�3�7G�,H� I�� '�����u�����Q�J�E��1�H�C�
��
��W�'�/�X�J��I�
$��q�4�x����!���
$��,$�8� '�#�
�� 7��8��"�(��7�T�>�)�C�#�a�K�E�(��@$�>� &���� 4�v� =��>��"�(��6�E�>�D�0�0�C�#�a�K�E�(��4 �)�"�S�L�E�)�so�4K�L�AK6�)M�AL*�9AM#�K3�2K3�6L�
L�L'�&L'�*M�M�M �M �#M4�3M4)�_path_normpathc��	tj|�}t|t�r	d}d}d}d}nd}d}d}d}|j	||�}t|�\}}}||z}|j
|�}d	}	|	t|�kr_||	r||	|k(r||	=n?||	|k(r2|	d	kDr||	d
z
|k7r||	d
z
|	d
z�=|	d
z}	n|	d	k(r|r||	=n|	d
z
}	n|	d
z
}	|	t|�kr�_|s|s|j|�||j|�zS)NrRrSr��..rrrrrrU)
rArBr5r6rFrrr��appendr)
r8r$r'r"r#rnro�prefix�compsr�s
          r9r r s6��>��y�y�����d�E�"��C��F��F��F��C��F��F��F��|�|�F�C�(��%�d�O���t�T������
�
�3���
���#�e�*�n���8�u�Q�x�6�1��!�H��q��V�#��q�5�U�1�Q�3�Z�6�1��a��c�!�A�#�g����F�A��!�V���a����F�A��Q����#�e�*�n��e��L�L�� �������'�'r;c���	tj|�}t|�sEt|t�rtj
�}ntj�}t||�}t|�Srm)	rArBrr5r6�getcwdb�getcwdrr )r8�cwds  r9�_abspath_fallbackr�4sR����9�9�T�?�D���;��d�E�"��*�*�,�C��)�)�+�C��C�����D�>�r;)�_getfullpathnamec�n�		tt|��S#ttf$rt	|�cYSwxYwrm)r�r r�r�r�r7s r9r!r!Ls8��4�	+�#�H�T�N�3�3����$�	+�$�T�*�*�	+�s��4�4)�_getfinalpathname�readlinkc�x�d}t�}t|�|vro|jt|��	|}t|�}t	|�s.t|�s|}	|St
tt|�|��}t|�|vr�o|S#t$r}|j|vrYd}~|S�d}~wt$rY|SwxYw)N)rUrurT��� �2�C�Wi&i(i))�setr
�add�_nt_readlinkrrr rrr��winerrorr�)r8�allowed_winerror�seen�old_path�exs     r9�_readlink_deepr�Ys���L���u���t�n�D�(��H�H�X�d�^�$�
���#�D�)���T�{�"�(�+�'�����$�D���):�D�$A�B�D��t�n�D�(�,����
��;�;�"2�2��
��	���
����
�s)�%B�B�	B9�B)�(B)�)B9�8B9c�f�d}|dd}|r	t|�}|rt||�S|S|S#t$r{}|j|vr�	t	|�}||k7r|rt||�n|cYd}~Sn#t$rYnwxYwt|�\}}|r|s
||zcYd}~S|rt||�n|}Yd}~nd}~wwxYw|r����)N)rUrurTr�r�r�r��5�Ar�r��{�i�i�r)r�rr�r�r�r)r8r�rpr��new_path�names      r9�_getfinalpathname_nonstrictr��s���$X���B�Q�x���
:�(��.��+/�t�D�$�'�9�T�9�*���)�
:��;�;�&6�6��	� .�d�3�H��4�'�7;�t�H�d�3��I�(�������#�4�[�
��d����$�;�&�+/�t�D�$�'�T���'
:��	�sN�(�(�	B,�B'�A'� B,�&B'�'	A3�0B'�2A3�3B'�B,�B'�'B,F)�strictc��t|�}t|t�rId}d}d}tj�}t|�ttjt��k(r7yd}d}d}tj�}t|�tt�k(ry|j|�}|st|�st||�}	t|�}d	}|sU|j|�rD|j|�r||t%|�dz}	n|t%|�d}		t|	�|k(r|	}|S|S#t$r,}|rtt|��d�t|�}Yd}~��d}~wt$r$}|r�|j }t#|�}Yd}~��d}~wwxYw#t$r}Yd}~|Sd}~wt$r}|j k(r|	}Yd}~|Sd}~wwxYw)
Ns\\?\rrs\\s\\.\NULz\\?\rsz\\z\\.\NULr)r r5r6rAr�r
rNr)r�rVrrr�r�r��strr�r�r�)
r8r�r�ry�new_unc_prefixr��
had_prefix�initial_winerrorr��spaths
          r9r*r*�s�����~���d�E�"��F�(�J�$�N��*�*�,�C���~��"�+�+�g�*>�!?�?�$��F�'�J�#�N��)�)�+�C���~��'�!2�2�#��_�_�V�,�
��%��+���T�?�D�	5�$�T�*�D� ��"�d�o�o�f�5����z�*�&��c�*�o�.>�)?�?���S��[�\�*��
!�$�U�+�t�3� �D���t���I�	"�
��c�"�g�&�D�0��D�>�D���	5���!�{�{��.�t�4�D��		5��&�
������
!��;�;�"2�2� �D�����
!�sB�
D,�F�,	F�5"E�F�(F�F�	G�G�*G�GTc�N�	tj|�}t|t�rd}d}d}nd}d}d}|�|}|st	d��tj|�}	tt
|��}tt
|��}t|�\}}}	t|�\}
}}t|�t|
�k7rt	d|
�d	|����|	j|�D�cgc]}|s�|��	}
}|j|�D�cgc]}|s�|��	}}d
}t|
|�D]#\}}t|�t|�k7rn|dz
}�%|gt|
�|z
z||dz}|s|St|�Scc}wcc}w#ttttt f$rt#j$d||��wxYw)
NrRr�r�rrrzno path specifiedzpath is on mount z, start on mount rrUr,)rArBr5r6r�r!r rr
r�zipr�rr]r^r_�DeprecationWarningr`ra)r8r|r$r"r#�	start_abs�path_abs�start_drive�_�
start_rest�
path_drive�	path_restr��
start_list�	path_listr��e1�e2�rel_lists                   r9r,r,�s���-�
�9�9�T�?�D��$����������������}�����,�-�-��I�I�e��E���H�U�O�,�	��8�D�>�*��%.�y�%9�"��Q�
�#,�X�#6� �
�A�y��K� �H�Z�$8�8���K�)�*�
*�",�!1�!1�#�!6�<�!6�A�!�a�!6�
�<� )���� 4�:� 4�1��Q� 4�	�:�
���*�i�0�F�B����|�x��|�+��
��F�A�1�
�8�s�:��q�0�1�I�a�b�M�A����M��X����=��:��
�z�>�<�AS�T���$�$�Y��e�<�
��s>�BE-�E#�$E#�(E-�=E(�E(�	AE-�E-�#
E-�-7F$c
�b�	|std��tttj|��}t|dt�rd}d}d}nd}d}d}	|D�cgc]+}t|j||�j����-}}|D���cgc]\}}}|j|���}}}}t|D���chc]\}}}|��
c}}}�d	k7rtd
��t|D���chc]\}}}|��
c}}}�d	k7rtd��t|dj||��\}	}
}|j|�}|D�
cgc]
}
|
s�|
|k7s�|
��}}
|D��
cgc]}|D�
cgc]
}
|
s�|
|k7s�|
��c}
��}}}
t|�}t|�}t|�D]\}}
|
||k7s�|d|}n|dt|�}|	|
z|j|�zScc}wcc}}}wcc}}}wcc}}}wcc}
wcc}
wcc}
}w#t t"f$rt%j&dg|����wxYw)
Nz%commonpath() arg is an empty sequencerrRrSr�rrrrUz%Can't mix absolute and relative pathszPaths don't have the same driver0)r��tupler\rArBr5r6rrFrPrr��min�max�	enumeraterr]r^r`ra)rbr$r'r"rh�drivesplitsr�r��split_pathsrnror8�commonr�rK�s1�s2r�s                  r9r0r0.s.��N���@�A�A��#�b�i�i��'�(�E��%��(�E�"��������������JO�P�%�Q�y����6�3�!7�!=�!=�!?�@�%��P�3>�?�;���1�a�q�w�w�s�|�;��?���-��g�a��A���-�.�!�3��D�E�E�
��-��g�a��A���-�.�!�3��>�?�?�%�e�A�h�&6�&6�v�s�&C�D���t�T����C���#�9�V��q�Q�&�[�!�V��9�DO�P�K�q�1�:�1�a��a�6�k��1�:�K��P�
��
��
��
���b�M�D�A�q��B�q�E�z�������"�
�H�S��W�%�F��t�|�c�h�h�v�.�.�.��5Q��?��-��.��
:��:��P��
�~�&���$�$�\�:�E�:�
��s��H�0G�H�G"�+H�:
G)�"H�)
G0�6AH�G7�G7�G7�H�	H�&G<�.G<�4G<�8H�=2H�0,H�H�<H�H�'H.)�_path_isdir)�_path_isfile)�_path_islink)�_path_exists)�_path_isdevdrivec�L�		tt|��S#t$rYywxYwr�)rr!r�r7s r9�
isdevdriverts+��N�	�#�G�D�M�2�2���	��	�s��	#�#c��	yr��r7s r9rros��N�r;rm)Br"r#r(r$r%r'r&r)rArCr�r`�__all__r:�_winapir<rGr=rHr>rIr
�ImportErrorrrr
rrrr��__doc__rr�hasattr�stat_resultr1r�ntr�rrrr�r r�r�r!r�r�r�r�r�r*r+r,r0rrrrrrrrrrrr;r9�<module>r#s����

��	
��	��
��

��	��
��
��	�
����O���!,�-�-�
8�H�(+�b�.1�r
+�*8��(�(�0�0���
���2�>�>�+�,�J���$�%��:-�zj�`&(�-�P�"+�#�+�]�>�
(�T/�b"'�<�@"��+�p.�b
	�(�)�)�)�
�#���_�	,�,�	,��t������^�#(�"(�#(��t� ��G� �����H���d�	��	������s}�
C2�
D�D
�'D�1D(�D5�(E�2C=�<C=�D
�	D
�
D�D�D%�$D%�(D2�1D2�5D=�<D=�E�
E