Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc

�

4Μg�\����ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Zddlm
Z
ddlmZddlmZddlmZmZmZddlmZddlmZmZddlmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*dd	l+m,Z,dd
l-m.Z.ddl/m0Z0ddl1m2Z2m3Z3dd
l4m5Z5ddl6m7Z7ddl8m9Z9ddl:m;Z;gd�Z<ejze>�Z?e(d�Z@e&e'eAeAefZBe&eCeCeCfZDe&eEe&e$eEe$eEffZFeeeeAgefZGeeeeBgefZHdZIdeEfd�ZJde&eCdfde&eCeCeCffd�ZKdeEddfd�ZLdeEfd�ZMe9dd��	dtdeEd eNd!e$eGddfd"��ZOd#eddfd$�ZPd#eddfd%�ZQeQd&�d'eded(e)eBeAfd!eGddf
d)�ZRdeEdeEfd*�ZSdudeEd+eEdeEfd,�ZTd-eEd.e!eEdeEfd/�ZUd-eEddfd0�ZVd-eEd.e!eEdeEfd1�ZWd-eEdeEfd2�ZXd-eEdeEfd3�ZYd4eEdeCfd5�ZZd6e[deEfd7�Z\d8e!e!ede&e#eEe#eCffd9�Z]deEdeNfd:�Z^eIfd;ed<eCde e_ddffd=�Z`dvdeEd?eNdeEfd@�ZadeEde&eEeEffdA�ZbdBeEdCeEddfdD�ZcdeEdeNfdE�ZddFedGeddfdH�ZeGdI�dJe�ZfdKedLede'efdM�ZgdNeEdOe$eCdeEfdP�ZhdwdQeEdReEdeEfdS�ZidQeEde&e$eEe$eCffdT�ZjdQeEdeFfdU�ZkdQeEdeEfdV�ZldWeEdXeeEge&edffde&eEeFffdY�ZmdQeEdeFfdZ�ZndQeEde&eEfd[�ZodWeEde&eEeEe&e$eEe$eEfffd\�ZpdWeEdeEfd]�ZqdWeEdeEfd^�Zrd_e,deEfd`�Zse
d>�a�Gdb�dc��ZtddeEdetfde�ZudWeEdetfdf�ZvdgeNddfdh�Zwdxdi�ZxdeNfdj�ZydydeEdkeCde&eeCffdl�Zzdme!ede"e&eeffdn�Z{doee@geNfdme!e@de&e!e@e!e@ffdp�Z|Gdq�dre.�Z}dxds�Z~y)z�N)�	dataclass)�partial)�StringIO)�filterfalse�tee�zip_longest)�Path)�FunctionType�
TracebackType)�Any�BinaryIO�Callable�Dict�	Generator�Iterable�Iterator�List�Optional�TextIO�Tuple�Type�TypeVar�Union�cast)�Requirement)�BuildBackendHookCaller)�__version__)�CommandError�ExternallyManagedEnvironment)�get_major_minor_version)�WINDOWS)�retry)�running_under_virtualenv)�rmtree�display_path�
backup_dir�ask�splitext�format_size�is_installable_dir�normalize_path�renames�get_prog�
ensure_dir�remove_auth_from_url�check_externally_managed� ConfiguredBuildBackendHookCaller�T��returnc���tjjtjjt�dd�}tjj|�}dt�d|�dt��d�S)Nz..zpip z from z	 (python �))�os�path�join�dirname�__file__�abspathrr )�pip_pkg_dirs �C/usr/local/lib/python3.12/site-packages/pip/_internal/utils/misc.py�get_pip_versionr?KsX���'�'�,�,�r�w�w���x�8�$��E�K��'�'�/�/�+�.�K�
�+��f�[�M��;R�;T�:U�UV�W�W��py_version_info.c��t|�dkr|dt|�z
dzz
}nt|�dkDr|dd}td|�S)ax
    Convert a tuple of ints representing a Python version to one of length
    three.

    :param py_version_info: a tuple of ints representing a Python version,
        or None to specify no version. The tuple can have any length.

    :return: a tuple of length three if `py_version_info` is non-None.
        Otherwise, return `py_version_info` unchanged (i.e. None).
    �)rN�VersionInfo)�lenr)rAs r>�normalize_version_inforFRsP���?��a���A��O� 4�4��<�<��	�_�	��	!�)�"�1�-���
��/�/r@r8c���	tj|�y#t$rJ}|jtjk7r#|jtj
k7r�Yd}~yYd}~yd}~wwxYw)z os.path.makedirs without EEXIST.N)r7�makedirs�OSError�errno�EEXIST�	ENOTEMPTY)r8�es  r>r.r.esN���
���D������7�7�e�l�l�"�q�w�w�%�/�/�'A��(B�"���s��	A+�;A&�&A+c���	tjjtjd�}|dvrtj
�d�S|S#tttf$rYywxYw)Nr)z__main__.pyz-cz -m pip�pip)	r7r8�basename�sys�argv�
executable�AttributeError�	TypeError�
IndexError)�progs r>r-r-os_��
��w�w��������,���(�(��n�n�%�W�-�-��K���I�z�2�
���
�s�AA�	A�A"�!A"rCg�?)�stop_after_delay�wait�dir�
ignore_errors�onexcc��|rt}|�t}tttt
tft�|��}tjdk\rtj||��ytj||��y)N�r\)rC�)�onerror)�_onerror_ignore�_onerror_reraiserrr�OnExc�OnErr�rmtree_errorhandlerrQ�version_info�shutilr$)rZr[r\�handlers    r>r$r$|se������}� ���	
�U�5�%�<�
 �"5�6��	�G����7�"��
�
�c��)��
�
�c�7�+r@�_argsc��y�N��ris r>rara�s��r@c���rkrlrms r>rbrb�s��	r@r^�func�exc_infoc�h�	tj|�j}|tjzs2	tj
||tjz�	||�yt
|t�s|\}}}||||�y#t$rYywxYw#t$rY�;wxYw#t$rY�JwxYw)a1
    `rmtree` error handler to 'force' a file remove (i.e. like `rm -f`).

    * If a file is readonly then it's write flag is set and operation is
      retried.

    * `onerror` is the original callback from `rmtree(... onerror=onerror)`
      that is chained at the end if the "rm -f" still fails.
    N)r7�stat�st_moderI�S_IWRITE�chmod�
isinstance�
BaseException)ror8rpr\rs�_s      r>rere�s��� ��'�'�$�-�'�'��
�T�]�]�"�
	��H�H�T�7�T�]�]�2�3�

��T�
���h�
�.�!���8�Q�	�$��h���)������
��
���	��	�s4�B�'B%�B�	B�B�	B"�!B"�%	B1�0B1c�@�tjjtjj|��}|j	tj
�tjjz�r#d|ttj
��dz}|S)zTGives the display value for a given path, making it relative to cwd
    if possible.�.N)r7r8�normcaser<�
startswith�getcwd�seprE�r8s r>r%r%�sf���7�7���B�G�G�O�O�D�1�2�D����r�y�y�{�R�W�W�[�[�0�1��T�#�b�i�i�k�*�,�-�-���Kr@�extc���d}|}tjj||z�r6|dz
}|t|�z}tjj||z�r�6||zS)z\Figure out the name of a directory to back up the given dir to
    (adding .bak, .bak2, etc)�)r7r8�exists�str)rZr��n�	extensions    r>r&r&�sZ��	
�A��I�
�'�'�.�.��y��
)�	�Q����#�a�&�L�	�
�'�'�.�.��y��
)���?�r@�message�optionsc��tjjdd�j�D]
}||vs�|cSt	||�S)N�PIP_EXISTS_ACTION�)r7�environ�get�splitr')r�r��actions   r>�ask_path_existsr��sB���*�*�.�.�!4�b�9�?�?�A���W���M�B��w�� � r@c�^�tjjd�rtd|����y)z&Raise an error if no input is allowed.�PIP_NO_INPUTz5No input was expected ($PIP_NO_INPUT set); question: N)r7r�r��	Exception�r�s r>�_check_no_inputr��s.��	�z�z�~�~�n�%��C�G�9�M�
�	
�&r@c���	t|�t|�}|j�j�}||vr+t	dj|dj
|���n|S�f)z@Ask the message interactively, with the given possible responsesz>Your response ({!r}) was not one of the expected responses: {}z, )r��input�strip�lower�print�formatr9)r�r��responses   r>r'r'�sa��
��� ���>���>�>�#�)�)�+���7�"����V�H�d�i�i��&8�9�
�
�O�r@c�.�t|�t|�S)zAsk for input interactively.)r�r�r�s r>�	ask_inputr��s���G����>�r@c�B�t|�tj|�S)z!Ask for a password interactively.)r��getpassr�s r>�ask_passwordr��s���G���?�?�7�#�#r@�valc�R�|j�}|dvry|dvrytd|����)z�Convert a string representation of truth to true (1) or false (0).

    True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values
    are 'n', 'no', 'f', 'false', 'off', and '0'.  Raises ValueError if
    'val' is anything else.
    )�y�yes�t�true�on�1r�)r��no�f�false�off�0rzinvalid truth value )r��
ValueError)r�s r>�	strtoboolr�s:���)�)�+�C�
�2�2��	�5�	5���/��w�7�8�8r@�bytesc��|dkDr|dzdzd�d�S|dkDrt|dz��d�S|dkDr	|dzd�d�St|��d�S)	Ni@Bg@�@i�z.1fz MBi'z kBz bytes)�int)r�s r>r)r)sn���{���&�.�4�'��,�C�0�0�	��	��e�d�l�#�$�C�(�(�	����&�.��%�S�)�)��e�*��V�$�$r@�rowsc
�\�|D�cgc]}ttt|����}}t|ddi�D�cgc]}t	tt
|����}}|D�cgc]:}dj
ttj||��j���<}}||fScc}wcc}wcc}w)z�Return a list of formatted rows and a list of column sizes.

    For example::

    >>> tabulate([['foobar', 2000], [0xdeadbeef]])
    (['foobar     2000', '3735928559'], [10, 4])
    �	fillvaluer�� )	�tuple�mapr�r�maxrEr9�ljust�rstrip)r��row�col�sizes�tables     r>�tabulater�s���-1�1�D�S�E�#�c�3�-� �D�D�1�+6��+K��+K�L�+K�C�S��S�#��
�+K�E�L�FJ�K�d�s�S�X�X�c�#�)�)�S�%�0�
1�
8�
8�
:�d�E�K��%�<���2��L��Ks� B� B$�?B)c�<�tjj|�sytjjtjj	|d��rytjjtjj	|d��ryy)atIs path is a directory containing pyproject.toml or setup.py?

    If pyproject.toml exists, this is a PEP 517 project. Otherwise we look for
    a legacy setuptools layout by identifying setup.py. We don't check for the
    setup.cfg because using it without setup.py is only available for PEP 517
    projects, which are already covered by the pyproject.toml check.
    Fzpyproject.tomlTzsetup.py)r7r8�isdir�isfiler9rs r>r*r*)s_���7�7�=�=����	�w�w�~�~�b�g�g�l�l�4�)9�:�;��	�w�w�~�~�b�g�g�l�l�4��4�5��r@�file�sizec#�>K�	|j|�}|sy|����w)z7Yield pieces of data from a file-like object until EOF.N)�read)r�r��chunks   r>�read_chunksr�:s(������	�	�$�������	�s�T�resolve_symlinksc��tjj|�}|r tjj|�}ntjj	|�}tjj|�S)zN
    Convert a path to its canonical, case-normalized, absolute version.

    )r7r8�
expanduser�realpathr<r{)r8r�s  r>r+r+EsV��
�7�7���d�#�D���w�w����%���w�w���t�$��
�7�7���D�!�!r@c��tj|�\}}|j�jd�r
|dd|z}|dd}||fS)z,Like os.path.splitext, but take off .tar tooz.tar���N)�	posixpathr(r��endswith)r8�baser�s   r>r(r(RsN���"�"�4�(�I�D�#��z�z�|���V�$��2�3�i�#�o���C�R�y����9�r@�old�newc�~�tjj|�\}}|r6|r4tjj|�stj|�tj||�tjj|�\}}|r|r	tj|�yyy#t$rYywxYw)z7Like os.renames(), but handles renaming across devices.N)	r7r8r�r�rHrg�move�
removedirsrI)r�r��head�tails    r>r,r,[s��������s�#�J�D�$���R�W�W�^�^�D�1�
���D��
�K�K��S�������s�#�J�D�$���	��M�M�$���t���	��	�s�B0�0	B<�;B<c�h�t�sy|jttj��S)z�
    Return True if path is within sys.prefix, if we're running in a virtualenv.

    If we're not in a virtualenv, all paths are considered "local."

    Caution: this function assumes the head of path has been normalized
    with normalize_path.
    T)r#r|r+rQ�prefixrs r>�is_localr�ls%��$�%���?�?�>�#�*�*�5�6�6r@�msg�argsc�0�tj|g|���yrk)�logger�info)r�r�s  r>�write_outputr�zs��
�K�K���d�r@c�H�eZdZUeed<ededdfd��Zedefd��Z	y)�
StreamWrapper�orig_streamr4c�"�|�}||_|Srk)r�)�clsr��rets   r>�from_streamzStreamWrapper.from_stream�s���e��%����
r@c�.�|jjSrk)r��encoding��selfs r>r�zStreamWrapper.encoding�s�����(�(�(r@N)
�__name__�
__module__�__qualname__r�__annotations__�classmethodr��propertyr�r�rlr@r>r�r�~sC������f�������)�#�)��)r@r��
sequential�namedc
���tt|tt|���fi|��}|j	�D��cic]\}}||��
}}}||d<tdd|�Scc}}w)N�reverse_mapping�Enumrl)�dict�zip�rangerE�items�type)r�r��enums�key�value�reverses      r>�enumr�sb����Z��s�:��!7�8�B�E�B�E�,1�K�K�M�:�M�j�c�5�u�c�z�M�G�:�&�E�
�����E�"�"��;s�
A�host�portc�,�|�|Sd|vrd|�d�}|�d|��S)z.
    Build a netloc from a host-port pair
    �:�[�]rl)rrs  r>�build_netlocr
�s3���|���
�d�{��4�&��{���V�1�T�F��r@�netloc�schemec�T�|jd�dk\rd|vr
d|vrd|�d�}|�d|��S)z)
    Build a full URL from a netloc.
    r��@rr	z://)�count)rrs  r>�build_url_from_netlocr�sA���|�|�C��A��#�V�"3��6�8I��V�H�A����X�S���!�!r@c��t|�}tjj|�}|j|j
fS)z2
    Return the host-port pair from a netloc.
    )r�urllib�parse�urlparse�hostnamer)r�url�parseds   r>�parse_netlocr�s5�� ��
'�C�
�\�\�
"�
"�3�
'�F��?�?�F�K�K�'�'r@c��d|vr|dfS|jdd�\}}d}d|vr|jdd�\}}n|d}}tjj	|�}|�tjj	|�}|||ffS)zp
    Parse out and remove the auth information from a netloc.

    Returns: (netloc, (username, password)).
    r�NNr�Nr)�rsplitr�rr�unquote)r�auth�pw�users    r>�split_auth_from_netlocr!�s����&���|�#�#�
�=�=��a�(�L�D�&��B�
�d�{��:�:�c�1�%���b���b���<�<����%�D�	�~�
�\�\�
!�
!�"�
%���D�"�:��r@c��t|�\}\}}|�|S|�d}d}n!tjj|�}d}|�|�d|��S)z�
    Replace the sensitive data in a netloc with "****", if it exists.

    For example:
        - "user:pass@example.com" returns "user:****@example.com"
        - "accesstoken@example.com" returns "****@example.com"
    �****r�z:****r)r!rr�quote)rr �passwords   r>�
redact_netlocr&�s`�� 6�f�=��F��T�8��|��
��������|�|�!�!�$�'�����V�H�:�Q�v�h�'�'r@r�transform_netlocc�"�tjj|�}||j�}|j|d|j
|j|jf}tjj|�}|td|�fS)aRTransform and replace netloc in a url.

    transform_netloc is a function taking the netloc and returning a
    tuple. The first element of this tuple is the new netloc. The
    entire tuple is returned.

    Returns a tuple containing the transformed url as item 0 and the
    original tuple returned by transform_netloc as item 1.
    r�NetlocTuple)
rr�urlsplitrrr8�query�fragment�
urlunsplitr)rr'�purl�netloc_tuple�
url_pieces�surls      r>�_transform_urlr2�sp���<�<� � ��%�D�#�D�K�K�0�L��+�+�|�A���	�	�4�:�:�t�}�}�U�J��<�<�"�"�:�.�D���m�\�2�2�2r@c��t|�Srk)r!�rs r>�_get_netlocr5�s
��!�&�)�)r@c��t|�fSrk)r&r4s r>�_redact_netlocr7�s���&�!�#�#r@c�8�t|t�\}\}}|||fS)z�
    Parse a url into separate netloc, auth, and url with no auth.

    Returns: (url_without_auth, netloc, (username, password))
    �r2r5)r�url_without_authrrs    r>�split_auth_netloc_from_urlr;s'��(6�c�;�'G�$��n�v�t��V�T�)�)r@c�(�t|t�dS)z7Return a copy of url with 'username:password@' removed.rr9�rs r>r/r/s���#�{�+�A�.�.r@c�(�t|t�dS)z.Replace the password in a given url with ****.r)r2r7r=s r>�redact_auth_from_urlr?s���#�~�.�q�1�1r@�reqc��|jst|�St|�j|jt|j��S)z:Replace the password in a given requirement url with ****.)rr��replacer?)r@s r>�redact_auth_from_requirementrCs7���7�7��3�x���s�8���C�G�G�%9�#�'�'�%B�C�Cr@)�frozenc�J�eZdZUeed<eed<defd�Zdefd�Zdedefd�Z	y)	�
HiddenText�secret�redactedr4c� �dt|��d�S)Nz<HiddenText �>)r�r�s r>�__repr__zHiddenText.__repr__&s���c�$�i�]�!�,�,r@c��|jSrk�rHr�s r>�__str__zHiddenText.__str__)s���}�}�r@�otherc�d�t|�t|�k7ry|j|jk(S)NF)r�rG)r�rOs  r>�__eq__zHiddenText.__eq__-s*����:��e��$���{�{�e�l�l�*�*r@N)
r�r�r�r�r�rKrNr�boolrQrlr@r>rFrF!s7���K��M�-�#�-����+�C�+�D�+r@rFrc��t|d��S)Nr#rM)rF)rs r>�
hide_valuerT6s���e�f�-�-r@c�2�t|�}t||��S)NrM)r?rF)rrHs  r>�hide_urlrV:s��#�C�(�H��c�H�-�-r@�
modifying_pipc���ddtjj��dtjj�dtjj��g}|xr:txr2t
jjtjd�|v}|rPtjddgtjddz}tdjdj|����y)	z�Protection of pip.exe from modification on Windows

    On Windows, any operation modifying pip should be run as:
        python -m pip ...
    rOrzrz-mr�Nz3To modify pip, please run the following command:
{}r�)
rQrf�major�minorr!r7r8rPrRrSrr�r9)rW�	pip_names�should_show_use_python_msg�new_commands    r>�(protect_pip_from_modification_on_windowsr^?s���	�

�c���$�$�
%�&�

�c���$�$�
%�Q�s�'7�'7�'=�'=�&>�?��I�	�P�'�P�b�g�g�&6�&6�s�x�x��{�&C�y�&P��"��~�~�t�U�3�c�h�h�q�r�l�B���B�I�I�����%�
�
�	
�"r@c���t�rytjjt	j
d�d�}tjj
|�sytj|��)z�Check whether the current environment is externally managed.

    If the ``EXTERNALLY-MANAGED`` config file is found, the current environment
    is considered externally managed, and an ExternallyManagedEnvironment is
    raised.
    N�stdlibzEXTERNALLY-MANAGED)	r#r7r8r9�	sysconfig�get_pathr�r�from_config)�markers r>r0r0YsQ�� �!��
�W�W�\�\�)�,�,�X�6�8L�
M�F�
�7�7�>�>�&�!��
&�
2�
2�6�
:�:r@c�f�tjduxrtjj�S)zIs this console interactive?N)rQ�stdin�isattyrlr@r>�is_console_interactiverhhs#���9�9�D� �7�S�Y�Y�%5�%5�%7�7r@�	blocksizec���tj�}d}t|d�5}t||��D]!}|t	|�z
}|j|��#	ddd�||fS#1swY||fSxYw)z5Return (hash, length) for path using hashlib.sha256()r�rb)r�N)�hashlib�sha256�openr�rE�update)r8ri�h�lengthr��blocks      r>�	hash_filersmsn��	����A�
�F�	
�d�D�	�Q� ���3�E��c�%�j� �F�
�H�H�U�O�4�
�
�f�9��	
�
�f�9��s�2A"�"A.�iterablec�0�t|�}t||�S)zb
    Return paired elements.

    For example:
        s -> (s0, s1), (s2, s3), (s4, s5), ...
    )�iterr)rts r>�pairwiserwys���H�~�H��x��*�*r@�predc�N�t|�\}}t||�t||�fS)z�
    Use a predicate to partition entries into false entries and true entries,
    like

        partition(is_odd, range(10)) --> 0 2 4 6 8   and  1 3 5 7 9
    )rr�filter)rxrt�t1�t2s    r>�	partitionr}�s*����]�F�B���t�R� �&��r�"2�2�2r@c�b��eZdZ			ddedededeedeeddeef�fd�
Z		dd	ed
eeee	ee
effdeedef�fd
�
Z	dded
eeee	ee
effdef�fd�
Z		dd	ed
eeee	ee
effdeedef�fd�
Z
	dd
eeee	ee
effde
ef�fd�
Z	dd
eeee	ee
effde
ef�fd�
Z	dd
eeee	ee
effde
ef�fd�
Z		dded
eeee	ee
effdedef�fd�
Z		dded
eeee	ee
effdedef�fd�
Z�xZS)r1�
config_holder�
source_dir�
build_backend�backend_path�runner).N�python_executablec�:��t�|�|||||�||_yrk)�super�__init__r)r�rr�r�r�r�r��	__class__s       �r>r�z)ConfiguredBuildBackendHookCaller.__init__�s(���	����
�|�V�=N�	
�+��r@�wheel_directory�config_settings�metadata_directoryr4c�T��|jj}t�|�
|||��S�N)r�r�)rr�r��build_wheel�r�r�r�r��csr�s     �r>r�z,ConfiguredBuildBackendHookCaller.build_wheel�s5����
�
�
/�
/���w�"��R�DV�#�
�	
r@�sdist_directoryc�R��|jj}t�|�
||��S�N)r�)rr�r��build_sdist)r�r�r�r�r�s    �r>r�z,ConfiguredBuildBackendHookCaller.build_sdist�s+���
�
�
�
/�
/���w�"�?�B�"�G�Gr@c�T��|jj}t�|�
|||��Sr�)rr�r��build_editabler�s     �r>r�z/ConfiguredBuildBackendHookCaller.build_editable�s5����
�
�
/�
/���w�%��R�DV�&�
�	
r@c�P��|jj}t�|�
|��Sr�)rr�r��get_requires_for_build_wheel�r�r�r�r�s   �r>r�z=ConfiguredBuildBackendHookCaller.get_requires_for_build_wheel��)����
�
�
/�
/���w�3�B�3�G�Gr@c�P��|jj}t�|�
|��Sr�)rr�r��get_requires_for_build_sdistr�s   �r>r�z=ConfiguredBuildBackendHookCaller.get_requires_for_build_sdist�r�r@c�P��|jj}t�|�
|��Sr�)rr�r��get_requires_for_build_editabler�s   �r>r�z@ConfiguredBuildBackendHookCaller.get_requires_for_build_editable�s)����
�
�
/�
/���w�6�r�6�J�Jr@�_allow_fallbackc�T��|jj}t�|�
|||��S�N)r�r�r�)rr�r�� prepare_metadata_for_build_wheel�r�r�r�r�r�r�s     �r>r�zAConfiguredBuildBackendHookCaller.prepare_metadata_for_build_wheel�s6����
�
�
/�
/���w�7�1��+�8�
�	
r@c�T��|jj}t�|�
|||��Sr�)rr�r��#prepare_metadata_for_build_editabler�s     �r>r�zDConfiguredBuildBackendHookCaller.prepare_metadata_for_build_editable�s6����
�
�
/�
/���w�:�1��+�;�
�	
r@)NNNrrk)NT)r�r�r�rr�rrr�rrrr�r�r�r�r�r�rRr�r��
__classcell__)r�s@r>r1r1�s����'+�04�+/�+��+��+��	+�
�s�m�+���)�,�-�
+�$�C�=�+�"GK�,0�		
��	
�"�$�s�E�#�t�C�y�.�,A�'A�"B�C�	
�%�S�M�		
�


�	
�GK�H��H�"�$�s�E�#�t�C�y�.�,A�'A�"B�C�H�

�	H�GK�,0�		
��	
�"�$�s�E�#�t�C�y�.�,A�'A�"B�C�	
�%�S�M�		
�


�	
�MQ�H�'��S�%��T�#�Y��2G�-G�(H�I�H�	
�c��H�MQ�H�'��S�%��T�#�Y��2G�-G�(H�I�H�	
�c��H�MQ�K�'��S�%��T�#�Y��2G�-G�(H�I�K�	
�c��K�GK� $�	
��
�"�$�s�E�#�t�C�y�.�,A�'A�"B�C�
��	
�


�
� GK� $�	
��
�"�$�s�E�#�t�C�y�.�,A�'A�"B�C�
��	
�


�
�
r@r1c���t�ryttd�sytjdk(stjdk(rytj
�dk7rytjd�y)z�Output a warning for sudo users on Unix.

    In a virtual environment, sudo pip still writes to virtualenv.
    On Windows, users may run pip as Administrator without issues.
    This warning only applies to Unix root users outside of virtualenv.
    N�getuid�win32�cygwinraaRunning pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.)r#�hasattrr7rQ�platformr�r��warningrlr@r>�warn_if_run_as_rootr��sX�� �!���2�x� ���|�|�w��#�,�,�(�":��	�y�y�{�a���
�N�N�	)�r@)FN)z.bak)T)�https)r4N)r3)rJr�rl�loggingr7r�rgrrrQra�urllib.parser�dataclassesr�	functoolsr�ior�	itertoolsrrr�pathlibr	�typesr
r�typingrr
rrrrrrrrrrrrr�"pip._vendor.packaging.requirementsr�pip._vendor.pyproject_hooksrrOr�pip._internal.exceptionsrr�pip._internal.locationsr �pip._internal.utils.compatr!�pip._internal.utils.retryr"�pip._internal.utils.virtualenvr#�__all__�	getLoggerr�r�r2rw�ExcInfor�rDr�r)rcrd�FILE_CHUNK_SIZEr?rFr.r-rRr$rarbrer%r&r�r�r'r�r�r��floatr)r�r*r�r�r+r(r,r�r�r�rr
rrr!r&r2r5r7r;r/r?rCrFrTrVr^r0rhrsrwr}r1r�rlr@r>�<module>r�s>������	��
��
���!���3�3��-������$;�>��O�;�.�+�C���"
��	�	�8�	$���C�L��
��]�#�]�M�A�
B���C��c�M�"���C��x��}�h�s�m�;�<�<�=���,��m�4�c�9�:���,��g�.��3�4����X��X�0�E�#�s�(�O�0��c�3�PS�m�@T�0�&�S��T��	�#�	����$�DH�,�	�,�!�,�2:�5�/�,�	�,�%�,�(	�C�	�D�	�
�S�
�T�
�$�& �
�& �
�& ��G�]�*�+�& �
�& �
�
& �R�s��s���C��c��s��!�S�!�8�C�=�!�S�!�
�S�
�T�
����x��}�����s��s��$�#�$�#�$�
9�3�
9�3�
9� %�u�%��%��8�H�S�M�*��u�T�#�Y��S�	�5I�/J���S��T��$!0��
�����u�d�D� �!��
"��
"��
"��
"��3��5��c��?�����3��4��"7�3�7�4�7��c��#��$��
)�H�
)�"#�c�#�C�#�D��I�#�	�s�	�(�3�-�	�C�	�"�#�"�s�"��"�(��(��x��}�h�s�m�'C�!D�(��3��;��:(�#�(�#�(�(3�	�3� (�#���c�3�h��)?� @�3�
�3����3�(*��*��*�$�3�$�5��:�$�	*�	�	*�
�3��U�8�C�=�(�3�-�7�8�8�9�	*�/�c�/�c�/�2�c�2�c�2�
D�k�D�c�D��$��+�+��+�(.�c�.�j�.�.�#�.�*�.�

�D�
�T�
�4;�8��8�
	�C�	�C�	�e�C��H�o�	�+�x��}�+��%��S��/�)B�+�
3�
�A�3��9�
�
3�)1�!��
3�
�8�A�;����#�$�
3�W
�'=�W
�tr@

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists