__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

*�_iw���6�SrSSKrSSKrSSKrSSKrSSKrSSKrSSKrCSrSSK
r
C
SrSSKrCSr
\RS:HrS=rr\RS:XaSSKrO\(aSSKr\R$S:XaSSKrOSr\(aSOS	r\"\S
5=(a \R$R-S5q\=(a	 \"\S5rS
r/SQr"SS\5r"SS\5r"SS\5r"SS\5r"SS\5r "SS\!5r""SS\!5r#Sr$Sr%\4Sjr&SsS jr'S!r(S"r)S#r*SS$.S%jr+SS$.S&jr,\"\S'5(aSS$.S(jr-OS)r-SS$.S*jr.SS$.S+jr/SS$.S,jr0S-r1StS.jr2SS\0SS4S/jr3\"\RhS05(aS1r5OS2r5S3r6S4r7\Rp\R\Rr\Rt1\Rv:*=(a9 \Rx\Rz;=(a \R\R|;r?SuSSS5.S6jjr@\?\@lAS7rB\04S8jrCS9rDS:rES;rFS<rGSvS=jrHSwS>jrIS\HlJS\IlJS?\HS@/SA40rK\(a\HSB/SC4\KSD'\I/SE4\KSF'\(a	\HSG/SH4\KSI'\
(a	\HSJ/SK4\KSL'SMrLSxSNjrMSOrNSySPjrOSQrPSRrQSxSSjrRSTrSSUrTSVrUSSW.SXjrVSY/\V/SA4SZ/\U/SE4S[.rW\(aS\S]/\V/SC4\WSD'\(aS^S_/\V/SH4\WSI'\
(aS`Sa/\V/SK4\WSL'SbrXSzSSW.ScjjrY\"\Sd5(a[\R�Se5 \R�"SfSg5r\Sh\\R�lSi\\R�lSj\\R�lSkr`O.\(a'\R�Se5 \R�"SfSg5r\Slr`SzSSSm.SnjjraS{SojrbSprcSqrd\R�\R�-S4Srjrgg!\	a SrGN�f=f!\	a SrGN�f=f!\	a Sr
GN�f=f)|z�Utility functions for copying and archiving files and directory trees.

XXX The functions here don't copy the resource fork or other metadata on Mac.

�NTF�nt�posix�win32ii�sendfile)�linux�android�
_fcopyfilez%.COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS;.MSC)�copyfileobj�copyfile�copymode�copystat�copy�copy2�copytree�move�rmtree�Error�SpecialFileError�	ExecError�make_archive�get_archive_formats�register_archive_format�unregister_archive_format�get_unpack_formats�register_unpack_format�unregister_unpack_format�unpack_archive�ignore_patterns�chown�which�get_terminal_size�
SameFileErrorc��\rSrSrSrg)r�C�N)�__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r%��/usr/lib/python3.13/shutil.pyrrCs��r+rc��\rSrSrSrSrg)r"�Fz5Raised when source and destination are the same file.r%N�r&r'r(r)�__doc__r*r%r+r,r"r"Fs��?r+r"c��\rSrSrSrSrg)r�IzxRaised when trying to do a kind of operation (e.g. copying) which is
not supported on a special file (e.g. a named pipe)r%Nr/r%r+r,rrIs��;r+rc��\rSrSrSrSrg)r�Mz+Raised when a command could not be executedr%Nr/r%r+r,rrMs��5r+rc��\rSrSrSrSrg)�	ReadError�Pz%Raised when an archive cannot be readr%Nr/r%r+r,r6r6Ps��/r+r6c��\rSrSrSrSrg)�
RegistryError�SzRRaised when a registry operation with the archiving
and unpacking registries failsr%Nr/r%r+r,r9r9Ss��&r+r9c��\rSrSrSrSrg)�_GiveupOnFastCopy�WzmRaised as a signal to fallback on using raw read()/write()
file copy when fast-copy functions fail to do so.
r%Nr/r%r+r,r<r<Ws��r+r<c��UR5nUR5n[R"X4U5 g![an[U5eSnAff=f![
acnURUlURUlUR[R[R1;a[U5eUSeSnAff=f)z`Copy a regular file content or metadata by using high-performance
fcopyfile(3) syscall (macOS).
N)�fileno�	Exceptionr<rr	�OSError�name�filename�	filename2�errno�EINVAL�ENOTSUP)�fsrc�fdst�flags�infd�outfd�errs      r,�_fastcopy_fcopyfilerN\s���%��{�{�}�����
�� �
����e�,��	�%���$�$��%��
� ��y�y����	�	��
��9�9����u�}�}�5�5�#�C�(�(��4���
 �s-� ;�A�
A�A�A�
C�"AC�Cc��UR5nUR5n[[R
"U5RS5n[RS:a[US5nSn[R"X2Xe5nUS:XagXg-
nM%![an[U5eSnAff=f![a SnNsf=f![a�nURUl
URUlUR[R :Xa
Sq[U5eUR[R$:XaUSeUS:Xa5[R&"US[R(5S:Xa[U5eUeSnAff=f)z�Copy data from one regular mmap-like fd to another by using
high-performance sendfile(2) syscall.
This should work on Linux >= 2.6.33 only.
Ni�ili@rF)r?r@r<�max�os�fstat�st_sizerA�sys�maxsize�minrrBrCrDrE�ENOTSOCK�_USE_CP_SENDFILE�ENOSPC�lseek�SEEK_CUR)rHrIrKrLrM�	blocksize�offset�sents        r,�_fastcopy_sendfiler_psP��%��{�{�}�����
���������.�.��8�	�
�{�{�W���	�7�+�	�
�F�
�	��;�;�u�F�>�D�,�q�y���N�F�5��%�%���$�$��%�����	����	��9�9�C�L� �I�I�C�M��y�y�E�N�N�*�$)� �'��,�,��y�y�E�L�L�(��t�#���{�r�x�x��q�"�+�+�>�!�C�'��,�,��I��'	�sA� B�*B2�1C�
B/�B*�*B/�2C�C�
E>�B+E9�9E>c� �URnURn[[U55nU"U5nU(dO&Xb:aUSUnU"U5 SSS5 O
U"U5 M6SSS5 g!,(df   N"=f!,(df   g=f)z�readinto()/memoryview() based variant of copyfileobj().
*fsrc* must support readinto() method and both files must be
open in binary mode.
N)�readinto�write�
memoryview�	bytearray)rHrI�length�
fsrc_readinto�
fdst_write�mv�n�smvs        r,�_copyfileobj_readintork�s|���M�M�M����J�	�I�f�%�	&�"���b�!�A��������V�s��s�O����2���
'�	&��V��

'�	&�s#�A?�		A.�A?�.
A<	�8A?�?
B
c��U(d[nURnURnU"U5=n(aU"U5 U"U5=n(aMgg)z=copy data from file-like object fsrc to file-like object fdstN)�COPY_BUFSIZE�readrb)rHrIre�	fsrc_readrg�bufs      r,r
r
�sH������	�	�I����J��6�"�
"�#�
"��3���6�"�
"�#�
"�
"r+c��[U[R5(ab[[RS5(aC[RRUR
5[R"U55$[[RS5(a [RRX5$[RR[RRU55[RR[RRU55:H$![a gf=f![a gf=f)N�samestatF�samefile)�
isinstancerQ�DirEntry�hasattr�pathrr�statrArs�normcase�abspath��src�dsts  r,�	_samefiler~�s����#�r�{�{�#�#������(D�(D�	��7�7�#�#�C�H�H�J������=�=��r�w�w�
�#�#�	��7�7�#�#�C�-�-�

�G�G���R�W�W�_�_�S�1�2��G�G���R�W�W�_�_�S�1�2�
3�4���	��	���	��	�s%�AD:�"E
�:
E�E�

E�Ec��[U[R5(aUR5$[R"U5$�N)rtrQrurx��fns r,�_statr��s+��"�2�r�{�{�3�3�2�7�7�9�D������Dr+c��[U[R5(aUR5$[RRU5$r�)rtrQru�
is_symlinkrw�islinkr�s r,�_islinkr��s0��(��R�[�[�9�9�2�=�=�?�Q�r�w�w�~�~�b�?Q�Qr+��follow_symlinksc
�B�[R"SX5 [X5(a[SR	X55eSn[X/5H�upE[
U5n[R"UR5(a;[U[R5(aUROUn[SU-5e[(aUS:XaUR nM�M�M� U(d=[%U5(a-[R&"[R("U5U5 U$[+US5n[+US5n[,(a/[/Xx[0R25 UsSSS5 sSSS5 $[6(a [9Xx5 UsSSS5 sSSS5 $[(a4US:�a.[;Xx[=U[>55 UsSSS5 sSSS5 $[AXx5 SSS5 SSS5 U$!["a GM�f=f![4a N;f=f![4a NKf=f!,(df   NJ=f![Ba9n	[RREU5(d[GSU35U	eeSn	A	ff=f!,(df   U$=f)	z�Copy data from src to dst in the most efficient way possible.

If follow_symlinks is not set and src is a symbolic link, a new
symlink will be created instead of copying the file it points to.

zshutil.copyfilez{!r} and {!r} are the same filerz`%s` is a named pipe�rb�wbNzDirectory does not exist: )$rT�auditr~r"�format�	enumerater�rx�S_ISFIFO�st_modertrQrurwr�_WINDOWSrSrAr��symlink�readlink�open�_HAS_FCOPYFILErNr�_COPYFILE_DATAr<rXr_rkrVrmr
�IsADirectoryError�exists�FileNotFoundError)
r|r}r��	file_size�ir��strHrI�es
          r,rr�s-���I�I���*������=�D�D�S�N�O�O��I��C�:�&���	'��r��B��}�}�R�Z�Z�(�(� *�2�r�{�{� ;� ;�R�W�W���&�'=��'B�C�C��x�A��F��J�J�	�#�x�'��w�s�|�|�
�
�
�2�;�;�s�#�S�)�D�J�A�#�t�_��
��#�t�_��%�~�!�/��E�<P�<P�Q�#&�%�_��_�*�)�!�.�t�:�#&�%�_��_�&"��i�!�m�-�d�#�i��:V�W�"�'%�_��_�. ��+�+%��@�J��]�	��	��, 1�!� �!�� 1�!� �!��%�_��0%�
��w�w�~�~�c�*�*�+�.H���,N�O�UV�V���	
��5�_�@�J�s��H�6J�8I	�H8�H�,	I	�?H8�H(�	I	�*,H8�	I	�)H8�4I	�
H�H�
H%�"H8�$H%�%H8�(
H5�2H8�4H5�5H8�8
I	�I	�J�I	�	
J�4J�J�J�
Jc��[R"SX5 U(dj[U5(aZ[RRU5(a6[
[S5(a [R[RpCOSg[n[RS:Xa([RRU5(aSnO[RnU"U5nU"U[R"UR55 g)z�Copy mode bits from src to dst.

If follow_symlinks is not set, symlinks aren't followed if and only
if both `src` and `dst` are symlinks.  If `lchmod` isn't available
(e.g. Linux) this method does nothing.

zshutil.copymode�lchmodNrc�0�[R"USS06 g)Nr�T)rQ�chmod��argss r,�
chmod_func�copymode.<locals>.chmod_func8s�����$�5��5r+)rTr�r�rQrwr�rv�lstatr�r�rBr�rx�S_IMODEr�)r|r}r��	stat_funcr�r�s      r,rr&s����I�I���*��w�s�|�|������s�0C�0C��2�x� � �$&�H�H�b�i�i�z���	�
�7�7�d�?�r�w�w�~�~�c�2�2�
6����J�	�3��B��s�D�L�L����,�-r+�	listxattrc�(�[R"XS9nUH.n[R"XUS9n[R"XXbS9 M0 g![aHnUR[R[R
[R4;aeSnAgSnAff=f![agnUR[R[R[R
[R[R4;aeSnAM�SnAff=f)z�Copy extended filesystem attributes from `src` to `dst`.

Overwrite existing attributes.

If `follow_symlinks` is false, symlinks won't be followed.

r�N)rQr�rArErG�ENODATArF�getxattr�setxattr�EPERM�EACCES)r|r}r��namesr�rB�values       r,�
_copyxattrr�As���	��L�L��F�E�
�D�
����C��O�����C�u�N���	�	��w�w�u�}�}�e�m�m�U�\�\�J�J����	���
��7�7�5�;�;��
�
�u�}�}�#(�<�<����#?�?��?��
�s/�A�*B �
B�>B�B� 
D�*AD�Dc��gr�r%)r��kwargss  r,r�r�Y���r+c�8^	�[R"SX5 SSS.Sjm	U=(d6 [U5=(a [RRU5(+nU(aU	4SjnOU	4Sjn[
U[R5(aURUS9nOU"S5"XS9n[R"UR5nU"S	5"XRUR4US9 [XUS9 U"S
5"XUS9 [US5(aU"S5"XR US9 gg![a N7f=f!["aJnS
H>n[[$U5(dMUR$['[$U5:XdM: SnAg eSnAff=f)a�Copy file metadata

Copy the permission bits, last access time, last modification time, and
flags from `src` to `dst`. On Linux, copystat() also copies the "extended
attributes" where possible. The file contents, owner, and group are
unaffected. `src` and `dst` are path-like objects or path names given as
strings.

If the optional flag `follow_symlinks` is not set, symlinks aren't
followed if and only if both `src` and `dst` are symlinks.
zshutil.copystatN)�nsr�c��gr�r%)r�r�r�s   r,�_nop�copystat.<locals>._nopjr�r+c�&>�[[UT5$r�)�getattrrQ)rBr�s �r,�lookup�copystat.<locals>.lookupqs����2�t�T�*�*r+c�V>�[[UT5nU[R;aU$T$r�)r�rQ�supports_follow_symlinks)rBr�r�s  �r,r�r�vs)�����T�4�(�B��R�0�0�0��	��Kr+r�rx�utimer��st_flags�chflags)�
EOPNOTSUPPrG)rTr�r�rQrwr�rtrurxr�r��st_atime_ns�st_mtime_nsr��NotImplementedErrorrvr�rArEr�)
r|r}r��followr�r��mode�whyrMr�s
         @r,r
r
\sT����I�I���*��T�
��
J�W�S�\�%I�b�g�g�n�n�S�6I� J�F�
�	+�
	��#�r�{�{�#�#�
�X�X�f�X�
-��
�F�^�C�
8���<�<��
�
�#�D�
�7�O�C�^�^�R�^�^�<�� ��s��0�

��w���6�:��r�:���	��9��c�;�;��G����
�	
�
���	�.���5�#�&�&�3�9�9���s�8K�+K��/���	�s<�=
D5�E�5
E�E�
F�F�+F�F�F�Fc���[RRU5(a=[RRU[RR	U55n[XUS9 [
XUS9 U$)aCopy data and mode bits ("cp src dst"). Return the file's destination.

The destination may be a directory.

If follow_symlinks is false, symlinks won't be followed. This
resembles GNU's "cp -P src dst".

If source and destination are the same file, a SameFileError will be
raised.

r�)rQrw�isdir�join�basenamerr)r|r}r�s   r,rr�sS��
�w�w�}�}�S����g�g�l�l�3���� 0� 0�� 5�6���S��7��S��7��Jr+c��[RRU5(a=[RRU[RR	U55n[[S5(ap[R"U5n[R"U5n[RnU(dU[R-n[R"X4U5 U$[XUS9 [!XUS9 U$![aSnUR[R:XaU(dSnANJUR[R:XaSnANmeSnAff=f)aCopy data and metadata. Return the file's destination.

Metadata is copied with copystat(). Please see the copystat function
for more information.

The destination may be a directory.

If follow_symlinks is false, symlinks won't be followed. This
resembles GNU's "cp -P src dst".
�	CopyFile2Nr�)rQrwr�r�r�rv�_winapi�fsdecode�%COPY_FILE_ALLOW_DECRYPTED_DESTINATION�COPY_FILE_COPY_SYMLINKr�rA�winerror�ERROR_PRIVILEGE_NOT_HELD�ERROR_ACCESS_DENIEDrr
)r|r}r��src_�dst_rJ�excs       r,rr�s���
�w�w�}�}�S����g�g�l�l�3���� 0� 0�� 5�6���w��$�$��{�{�3����{�{�3����=�=����W�3�3�3�E�	����d�%�0��J�
�S��7��S��7��J���	����� @� @�@�'������!<�!<�<����	�s$�C=�=
E�%E�1E�E�Ec�^�U4SjnU$)z�Function that can be used as copytree() ignore parameter.

Patterns is a sequence of glob-style patterns
that are used to exclude filesc�z>�/nTH(nUR[R"X55 M* [U5$r�)�extend�fnmatch�filter�set)rwr��
ignored_names�pattern�patternss    �r,�_ignore_patterns�)ignore_patterns.<locals>._ignore_patterns�s4����
��G�� � �����!?�@� ��=�!�!r+r%)r�r�s` r,rr�s���
"�
�r+c
���Ub8U"[R"U5UVs/sHo�RPM sn5n	OSn	[R"X'S9 /n
U[L=(d U[
LnUGH�nURU	;aM[RRXR5n
[RRX,R5nU(aUOU
nUR5nU(aC[RS:Xa/URSS9nUR[R:XaSnU(a�[R"U
5nU(a)[R"UU5 [X�U(+S9 GMRU5(d
U(aGMIUR!5(a[#X�X4XVU5 GMoU"X�5 GMzUR!5(a[#X�X4UXg5 GM�U"X�5 GM� [X5 U
(a[%U
5eU$s snf![$a*nU
R'UR(S5 SnAGMSnAf[*a(nU
R-X�[/U545 SnAGM1SnAff=f![*a4n[1USS5cU
R-X[/U545 SnAN�SnAff=f)Nr%)�exist_okrFr�rr�)rQ�fspathrB�makedirsrrrwr�r�rx�st_reparse_tag�IO_REPARSE_TAG_MOUNT_POINTr�r�r
r��is_dirrrr�r�rA�append�strr�)�entriesr|r}�symlinks�ignore�
copy_function�ignore_dangling_symlinks�
dirs_exist_ok�xr��errors�use_srcentry�srcentry�srcname�dstname�srcobjr�r��linktorMr�s                     r,�	_copytreer��s8��
���r�y�y��~��/H��1����/H�I�
��
��K�K��,�
�F� �E�)�B�]�d�-B�L����=�=�M�)���'�'�,�,�s�M�M�2���'�'�,�,�s�M�M�2��)��w��&	8�!�,�,�.�J��b�g�g��o�!�
�
�e�
�<���'�'�4�+J�+J�J�!&�J�����W�-����J�J�v�w�/��V�(�l�K��7�7�>�>�&�1�1�6N� ����(�(� ��(�!.�!.�0�&�f�6����"�"���(�M�1�B��f�.�M�Z0����
��F�m���J��{0I��b�	'��M�M�#�(�(�1�+�&�&���	8��M�M�7�S��X�6�7�7��	8���0��3�
�D�)�1��M�M�3�S��X�.�/���0�s`�H:
�!B$H?�+H?�6#H?�H?�'#H?�
H?�J&�?
J#�	I.�.
J#�;J�J#�&
K$�0*K�K$c���[R"SX5 [R"U5n[	U5nSSS5 [WXUX4UUS9$!,(df   N=f)a�Recursively copy a directory tree and return the destination directory.

If exception(s) occur, an Error is raised with a list of reasons.

If the optional symlinks flag is true, symbolic links in the
source tree result in symbolic links in the destination tree; if
it is false, the contents of the files pointed to by symbolic
links are copied. If the file pointed to by the symlink doesn't
exist, an exception will be added in the list of errors raised in
an Error exception at the end of the copy process.

You can set the optional ignore_dangling_symlinks flag to true if you
want to silence this exception. Notice that this has no effect on
platforms that don't support os.symlink.

The optional ignore argument is a callable. If given, it
is called with the `src` parameter, which is the directory
being visited by copytree(), and `names` which is the list of
`src` contents, as returned by os.listdir():

    callable(src, names) -> ignored_names

Since copytree() is called recursively, the callable will be
called once for each directory that is copied. It returns a
list of names relative to the `src` directory that should
not be copied.

The optional copy_function argument is a callable that will be used
to copy each file. It will be called with the source path and the
destination path as arguments. By default, copy2() is used, but any
function that supports the same signature (like copy()) can be used.

If dirs_exist_ok is false (the default) and `dst` already exists, a
`FileExistsError` is raised. If `dirs_exist_ok` is true, the copying
operation will continue if it encounters existing directories, and files
within the `dst` tree will be overwritten by corresponding files from the
`src` tree.
zshutil.copytreeN)r�r|r}r�r�r�r�r�)rTr�rQ�scandir�listr�)	r|r}r�r�r�r�r��itrr�s	         r,rr&sS��P�I�I���*�	���C��C��s�)��
��W�#��"�.F�#0�2�2�
��s�A�
A�st_file_attributesc���[R"UR5=(dA UR[R-=(a UR
[R:H$r�)rx�S_ISLNKr�r�FILE_ATTRIBUTE_REPARSE_POINTr�r��r�s r,�_rmtree_islinkrWsL�����R�Z�Z�(�J�
�
"�
"�T�%F�%F�
F�I��%�%��)H�)H�H�	Kr+c�B�[R"UR5$r�)rxrr�rs r,rr\s���|�|�B�J�J�'�'r+c�^�U4Sjn[R"USU[RS9nUH�upEnUH9n[RR	XG5n[R
"U5 M; UH9n[RR	XG5n[R"U5 M; M� [R
"U5 g![a M�[a"n	T"[R
X�5 Sn	A	M�Sn	A	ff=f![a M�[a"n	T"[RX�5 Sn	A	M�Sn	A	ff=f![a g[a!n	T"[R
X	5 Sn	A	gSn	A	ff=f)Nc�v>�[U[5(d#T"[RURU5 ggr�)rtr�rQrrC)rM�onexcs �r,�onerror�_rmtree_unsafe.<locals>.onerroras*����#�0�1�1��"�*�*�c�l�l�C�0�2r+F)�topdownr
�followlinks)	rQ�walk�_walk_symlinks_as_filesrwr��rmdirr�rA�unlink)
rwrr
�results�dirpath�dirnames�	filenamesrB�fullnamerMs
 `        r,�_rmtree_unsafer`s'���1��g�g�d�E�7��Hb�Hb�c�G�(/�$��9��D��w�w�|�|�G�2�H�
/�����"���D��w�w�|�|�G�2�H�
0��	�	�(�#��)0�"#�
������%�
���
/��b�h�h��.�.��
/��%�
���
0��b�i�i��/�/��
0���
���#�
�b�h�h��"�"��#�sZ�C�D
�8E�
D�	D�%D�D�

E�	E� D=�=E�
E;�	E;�E6�6E;c��UR5up#pEUcUOURnU[RLa[R"U5 gU[RLa[R"XcS9 gU[R
LdeUc[R
"XcS9nOUR
SS9n[Rn[R"U[R[R-US9n[RRn[RRU[R"U55(d[S5eUR[RX4U45 UR[RX�U45 [R n[R "U5n	[#U	5n
SSS5 W
H�n[RR%XKR5nUR'SS9(a$UR[R
X�U45 Me[R*"URUS9 M� g!UR[RX�U45 f=f!,(df   N�=f![(a M�[a Nuf=f![(a M�[a#n
U"[R*X�5 Sn
A
GMSn
A
ff=f![(a4n
UbU[RLaXMlU"X$U
5 Sn
A
gSn
A
gSn
A
f[an
XMlU"X$U
5 Sn
A
gSn
A
ff=f)N)�dir_fdFr��%Cannot call rmtree on a symbolic link)�poprBrQ�closerr�rxr��O_RDONLY�
O_NONBLOCKrwr�rrrRrAr�rrr�r�r�rrC)�stackr�func�dirfdrw�
orig_entryrB�orig_st�topfd�
scandir_itr��entryrrMs              r,�_rmtree_safe_fdr*~s{��%*�I�I�K�!�D���%�4�:�?�?�D�6��2�8�8���H�H�U�O���2�8�8���H�H�T�(���r�x�x�������h�h�t�2�G� �o�o�e�o�<�G��w�w������b�k�k�B�M�M�9�%�H���w�w�~�~��	>��7�7�#�#�G�R�X�X�e�_�=�=��E�F�F��L�L�"�(�(�E��<�=��L�L�"�(�(�E��<�=��z�z��
�Z�Z��
�*��:�&�G���E��w�w�|�|�D�*�*�5�H�
��<�<��<�6��L�L�"�(�(�E�U�!C�D��7�
0��	�	�%�*�*�U�3���
�L�L�"�(�(�E��<�=���
��%�
���
��
��%�
���
0��b�i�i��/�/��
0���#�������!1��L��$�c�"�"�"2������
�d�#�����s��)K3�'K3�8BK3�A&I#�:AK3�J
�6K3�6J�;K3�?J7�K3�#$J�K3�

J�K3�
J4�%K3�(	J4�1K3�3J4�4K3�7
K0�K3�	K0�
K+�$K3�+K0�0K3�3
M�=%L,�,
M�9M
�
M)rrc�^�[R"SX5 U(aSnOTcUcSnOUc
TcSnOU4Sjn[(a�[U[5(a[
R"U5n[
RX@S4/nU(a[XS5 U(aMU(aIUR5upgpU[
RLaM/[
R"U5 U(aMHggUb[S5e[
R"U5n
[U
5(a[S5e[!X5$![a!n	U"[
RX	5 Sn	A	N~Sn	A	ff=f!U(axUR5upgpU[
RLaM/[
R"U5 O.![a!n	U"[
RX	5 Sn	A	OSn	A	ff=fU(aMwff=f![a!n	U"[
RX	5 Sn	A	gSn	A	ff=f![a+n	U"[
RRX	5 Sn	A	gSn	A	ff=f)	a�Recursively delete a directory tree.

If dir_fd is not None, it should be a file descriptor open to a directory;
path will then be relative to that directory.
dir_fd may not be implemented on your platform.
If it is unavailable, using it will raise a NotImplementedError.

If ignore_errors is set, errors are ignored; otherwise, if onexc or
onerror is set, it is called to handle the error with arguments (func,
path, exc_info) where func is platform and implementation dependent;
path is the argument to that function that caused it to fail; and
the value of exc_info describes the exception. For onexc it is the
exception instance, and for onerror it is a tuple as returned by
sys.exc_info().  If ignore_errors is false and both onexc and
onerror are None, the exception is reraised.

onerror is deprecated and only remains for backwards compatibility.
If both onerror and onexc are set, onerror is ignored and onexc is used.
z
shutil.rmtreec��gr�r%r�s r,r�rmtree.<locals>.onexc�s��r+Nc��er�r%r�s r,rr-�s��r+c��er�r%r�s r,rr-�s��r+c�Z>�UupnUcSnO[U5X3R4nT"XU5$)N)NNN)�type�
__traceback__)r�r#rwr��exc_infor
s     �r,rr-�s7���"&���C��;�/�H�#�C�y�#�/@�/@�@�H��t�8�4�4r+z#dir_fd unavailable on this platformr)rTr��_use_fd_functionsrt�bytesrQr�r�r*rrrAr�rrwr�r)rw�
ignore_errorsr
rrr"r#�fdr)rMr�s  `        r,rr�s����*�I�I�o�t�,��	�	��U�]�	�	���?�
�
5����d�E�"�"��;�;�t�$�D��(�(�F�$�/�0��	/����-��%��(-�	�	��%��$��r�x�x�'��/��H�H�R�L��%���%�&K�L�L�	����$��B�	��b�!�!��E�F�F�"��d�*�*��%�/��"�(�(�D�.�.��/��
�(-�	�	��%��$��r�x�x�'��/��H�H�R�L���/��"�(�(�D�.�.��/��
�%���	��"�(�(�D�&���	���	��"�'�'�.�.�$�,���	�s��	E0�E�G4�H"�
E-�E(�(E-�00G1�!F8�7G1�8
G#�G�G1�G#�#
G1�/G1�4
H�>H�H�"
I�,!I�Ic��[R"U5n[RR[RR=(d S-n[RRUR
U55$)a A basename() variant which first strips the trailing slash, if present.
Thus we always get the last component of the path, even for directories.

path: Union[PathLike, str]

e.g.
>>> os.path.basename('/bar/foo')
'foo'
>>> os.path.basename('/bar/foo/')
''
>>> _basename('/bar/foo/')
'foo'
�)rQr�rw�sep�altsepr��rstrip)rwr:s  r,�	_basenamer=sN���9�9�T�?�D�
�'�'�+�+������-�2�
.�C�
�7�7���D�K�K��,�-�-r+c���[R"SX5 Un[RR	U5(a�[X5(a;[RR
U5(d[R"X5 g[RRU[U55n[RRU5(a[SU-5e[R"X5 U$![Gai [RR
U5(aE[R"U5n[R"XC5 [R"U5 U$[RR	U5(a�[!X5(a[SU<SU<S35e[#U5(dY[R$"U[R&5(dC[R("U5(a([R*S:Xa[-SU<S	U<S35e[/XUS
S9 [1U5 U$U"X5 [R"U5 U$f=f)a�Recursively move a file or directory to another location. This is
similar to the Unix "mv" command. Return the file or directory's
destination.

If dst is an existing directory or a symlink to a directory, then src is
moved inside that directory. The destination path in that directory must
not already exist.

If dst already exists but is not a directory, it may be overwritten
depending on os.rename() semantics.

If the destination is on our current filesystem, then rename() is used.
Otherwise, src is copied to the destination and then removed. Symlinks are
recreated under the new name if os.rename() fails because of cross
filesystem renames.

The optional `copy_function` argument is a callable that will be used
to copy the source or it will be delegated to `copytree`.
By default, copy2() is used, but any function that supports the same
signature (like copy()) can be used.

A lot more could be done here...  A look at a mv.c shows a lot of
the issues this implementation glosses over.

zshutil.moveNz$Destination path '%s' already existszCannot move a directory 'z' into itself 'z'.�darwinz%Cannot move the non-empty directory 'z ': Lacking write permission to 'T)r�r�)rTr�rQrwr�r~r��renamer�r=r�rrAr�r�r�
_destinsrc�
_is_immutable�access�W_OK�listdir�platform�PermissionErrorrr)r|r}r��real_dstr�s     r,rr.s���4�I�I�m�S�&��H�	�w�w�}�}�S����S���r�w�w�~�~�c�':�':�
�I�I�c����7�7�<�<��Y�s�^�4��
�7�7�>�>�(�#�#��>��I�J�J��
�	�	�#� �,�O��+��
�7�7�>�>�#����[�[��%�F��J�J�v�(��I�I�c�N�"�O�!�W�W�]�]�3�
�
��#�#�#��(+�S�2�3�3��c�"�"��I�I�c�2�7�7�3�3��
�
�3����L�L�H�4�%�),�c�'3�4�4�
�S�-�"�
$��3�K��O�
�#�(��I�I�c�N��O�+�s �%C=�=A1I1�1CI1�I1�0I1c���[RRU5n[RRU5nUR[RR5(dU[RR-
nUR[RR5(dU[RR-
nURU5$r�)rQrwrz�endswithr:�
startswithr{s  r,rArAps���
�'�'�/�/�#�
�C�
�'�'�/�/�#�
�C��<�<������$�$��r�w�w�{�{����<�<������$�$��r�w�w�{�{����>�>�#��r+c��[U5n[R[R/n[	US5=(a UR
U;$)Nr�)r�rx�UF_IMMUTABLE�SF_IMMUTABLErvr�)r|r��immutable_statess   r,rBrBys>��	�s��B��)�)�4�+<�+<�=���2�z�"�F�r�{�{�6F�'F�Fr+c��UcgSSKJn U"U5nUbUS$g![a gf=f![a SnN'f=f)z"Returns a gid, given a group name.Nr)�getgrnam�)�grprQ�ImportError�KeyError)rBrQ�results   r,�_get_gidrW~�^���|��� ���$������a�y���������
��������.�
+�+�=�=c��UcgSSKJn U"U5nUbUS$g![a gf=f![a SnN'f=f)z"Returns an uid, given a user name.Nr)�getpwnamrR)�pwdr[rTrU)rBr[rVs   r,�_get_uidr]�rXrYc	�^^^^�UcSn	OV[(a	US:XaSn	OB[(a	US:XaSn	O.[(a	US:XaSn	O[SR	U55eS	SKn
U(aS
U	-OSnUS-U-n[RRU5n
U
(aV[RRU
5(d2UbURSU
5 U(d[R"U
5 UbURS
5 [T5m[T5mUUUU4SjnU(d[U
RUSU	-5nUnUb[RRX�5nUR!UUUS9 UR#5 Ub[RR%U5nU$!UR#5 f=f)a�Create a (possibly compressed) tar file from all the files under
'base_dir'.

'compress' must be "gzip" (the default), "bzip2", "xz", or None.

'owner' and 'group' can be used to define an owner and a group for the
archive that is being built. If not provided, the current owner and group
will be used.

The output tar file will be named 'base_name' +  ".tar", possibly plus
the appropriate compression extension (".gz", ".bz2", or ".xz").

Returns the output filename.
Nr9�gzip�gz�bzip2�bz2�xzzCbad value for 'compress', or compression format not supported : {0}r�.�.tar�creating %szCreating tar archivec�L>�TbTUlTUlTbTUlTUlU$r�)�gid�gname�uid�uname)�tarinforh�group�ownerrjs ����r,�_set_uid_gid�#_make_tarball.<locals>._set_uid_gid�s.����?��G�K�!�G�M��?��G�K�!�G�M��r+zw|%s�r�)�_ZLIB_SUPPORTED�_BZ2_SUPPORTED�_LZMA_SUPPORTED�
ValueErrorr��tarfilerQrw�dirnamer��infor�r]rWr�r��addrrz)�	base_name�base_dir�compress�verbose�dry_runrnrm�logger�root_dir�tar_compressionrv�compress_ext�archive_name�archive_dirro�tar�arcnamerhrjs     ``          @@r,�
_make_tarballr��s~��� ����	��X��/���	��H��/���	��X��-����+�+1�6�(�+;�=�	=��,4�3��(�"�L��v�%��4�L��'�'�/�/�,�/�K��2�7�7�>�>�+�6�6����K�K�
�{�3���K�K��$������*�+�
�5�/�C�
�5�/�C�����l�l�<��/�)A�B�������w�w�|�|�H�7�H�	��G�G�H�g�l�G�;��I�I�K����w�w���|�4�����	
�I�I�K�s�+F0�0Gc�\�SSKnUS-n	[RRU5n
U
(aV[RR	U
5(d2UbURSU
5 U(d[R"U
5 UbURSX�5 U(GdVURU	SURS9n[RRU5nUb[RRXq5n[RRU5nU[R:wa&URX5 UbURSU5 [R"U5GH}up�nU
nUb [RRUU5n[RRU5n[U5Hln[RRU
U5n[RRUU5nURUU5 UcMZURSU5 Mn UH�n[RRU
U5n[RRU5n[RR!U5(dMh[RRUU5nURUU5 UcM�URSU5 M� GM� SSS5 Ub[RR#U	5n	U	$!,(df   N2=f)	z�Create a zip file from all the files under 'base_dir'.

The output zip file will be named 'base_name' + ".zip".  Returns the
name of the output zip file.
rN�.ziprfz#creating '%s' and adding '%s' to it�w)�compressionzadding '%s')�zipfilerQrwrwr�rxr��ZipFile�ZIP_DEFLATED�normpathr��curdirrbr�relpath�sorted�isfilerz)rzr{r}r~rrnrmr�r��zip_filenamer��zfr�rrr�
arcdirpathrBrws                   r,�
_make_zipfiler��sX����v�%�L��'�'�/�/�)�,�K��2�7�7�>�>�+�6�6����K�K�
�{�3���K�K��$�
�����9� �	,��
�_�_�\�3�)0�)=�)=��?�BD��g�g�&�&�x�0�G��#��7�7�<�<��;���w�w�'�'��1�H��"�)�)�#�����+��%��K�K�
�x�8�02����0A�,��9�$�
��'�!#������X�!F�J��W�W�-�-�j�9�
�"�8�,�D��7�7�<�<���6�D� �g�g�l�l�:�t�<�G��H�H�T�7�+��)����M�4�8�-�&�D��7�7�<�<���6�D��7�7�+�+�D�1�D��w�w�~�~�d�+�+�"$�'�'�,�,�z�4�"@������w�/�!�-�"�K�K�
�t�<�&�1B�?�<���w�w���|�4����A?�?�s �>EL�A<L�3L�L�
L+r�)r|Nzuncompressed tar file)r|r_zgzip'ed tar-file�gztarzZIP file�zip)r|razbzip2'ed tar-file�bztar)r|rczxz'ed tar-file�xztarc��[R5VVs/sHupXS4PM
 nnnUR5 U$s snnf)z�Returns a list of supported formats for archiving and unarchiving.

Each element of the returned sequence is a tuple (name, description)
rR)�_ARCHIVE_FORMATS�items�sort)rB�registry�formatss   r,rr:sI�� �%�%�'�)�'�(6�t��q�k�"�'��)��L�L�N��N��)s�?c�(�Uc/n[U5(d[SU-5e[U[[45(d[S5eUH8n[U[[45(a[U5S:wdM/[S5e XU4[U'g)a]Registers an archive format.

name is the name of the format. function is the callable that will be
used to create archives. If provided, extra_args is a sequence of
(name, value) tuples that will be passed as arguments to the callable.
description can be provided to describe the format, and will be returned
by the get_archive_formats() function.
NzThe %s object is not callablez!extra_args needs to be a sequencerRz+extra_args elements are : (arg_name, value))�callable�	TypeErrorrt�tupler�lenr�)rB�function�
extra_args�description�elements     r,rrDs������
��H����7�(�B�C�C��j�5�$�-�0�0��;�<�<����'�E�4�=�1�1�S��\�A�5E��I�J�J��'�K�@��T�r+c��[U	gr�)r��rBs r,rrYs
����r+c	��[R"SXX#5 [Un	XXXgS.n
U	SnU	SH	up�X�U'M Uc[
Rn[USS5nSnUb�[
R"U5Rn[R"U5(d[[RS	U5eU(a[
R"U5nX*S
'Of[
R"5nUbUR!SU5 [
R"R%U5nU(d[
R&"U5 U"X40U
D6nUb+UbUR!SU5 [
R&"U5 U$![a [	SU-5Sef=f!Ub,UbUR!SU5 [
R&"U5 ff=f)
a�Create an archive file (eg. zip or tar).

'base_name' is the name of the file to create, minus any format-specific
extension; 'format' is the archive format: one of "zip", "tar", "gztar",
"bztar", or "xztar".  Or any other registered format.

'root_dir' is a directory that will be the root directory of the
archive; ie. we typically chdir into 'root_dir' before creating the
archive.  'base_dir' is the directory where we start archiving from;
ie. 'base_dir' will be the common prefix of all files and
directories in the archive.  'root_dir' and 'base_dir' both default
to the current directory.  Returns the name of the archive file.

'owner' and 'group' are used when creating a tar archive. By default,
uses the current owner and group.
zshutil.make_archivezunknown archive format '%s'N)r~rrnrmr��supports_root_dirFzNot a directoryr�zchanging into '%s'zchanging back to '%s')rTr�r�rUrurQr�r�rxr��S_ISDIR�NotADirectoryErrorrE�ENOTDIRr��getcwd�debugrwrz�chdir)rzr�r�r{r}r~rnrmr�format_infor�r#�arg�valr��save_cwd�stmdrCs                  r,rr\s���$�I�I�#�Y��K�K�&�v�.��!��.�F��q�>�D���N����s��#����9�9����&9�5�A���H����w�w�x� �(�(���|�|�D�!�!�$�U�]�]�4E�x�P�P���	�	�)�,�I�!)�:���y�y�{�H��!����1�8�<������	�2�I������"���	�6�v�6�����!����4�h�?��H�H�X���O��Q�K��6��?�@�d�J�K��F���!����4�h�?��H�H�X�� �s�	E<�	F�<F�1G
c��[R5VVs/sHupXSUS4PM nnnUR5 U$s snnf)z�Returns a list of supported formats for unpacking.

Each element of the returned sequence is a tuple
(name, extensions, description)
r�)�_UNPACK_FORMATSr�r�)rBrxr�s   r,rr�sO���$�$�&�(�&�-7�D��1�g�t�A�w�'�&��(��L�L�N��N��(s�Ac���0n[R5HupEUSHnXCU'M	 M UHnXs;dM
Sn[X�X74-5e [U5(d[	S5eg)z+Checks what gets registered as an unpacker.rz!%s is already registered for "%s"z*The registered function must be a callableN)r�r�r9r�r�)	�
extensionsr�r��existing_extensionsrBrx�ext�	extension�msgs	         r,�_check_unpack_optionsr��s�����%�+�+�-�
����7�C�'+��$��.� �	��+�5�C���':�'E�'G�!G�H�
H� ��H����D�E�E�r+c�<�Uc/n[XU5 XX44[U'g)a!Registers an unpack format.

`name` is the name of the format. `extensions` is a list of extensions
corresponding to the format.

`function` is the callable that will be
used to unpack archives. The callable will receive archives to unpack.
If it's unable to handle an archive, it needs to raise a ReadError
exception.

If provided, `extra_args` is a sequence of
(name, value) tuples that will be passed as arguments to the callable.
description can be provided to describe the format, and will be returned
by the get_unpack_formats() function.
N)r�r�)rBr�r�r�r�s     r,rr�s(��"���
��*�
�;�&�*�I�O�D�r+c��[U	g)z*Removes the pack format from the registry.N)r�r�s r,rr�s
����r+c��[RRU5n[RRU5(d[R"U5 gg)z1Ensure that the parent directory of `path` existsN)rQrwrwr�r�)rwrws  r,�_ensure_directoryr��s8���g�g�o�o�d�#�G�
�7�7�=�=��!�!�
���G��"r+c��SSKnURU5(d[SU-5eURU5nUR	5H�nUR
nUR
S5(dSU;aM-[RR"U/URS5Q76nU(dMf[U5 URS5(aM�URUS5n[US5n[Xx5 SSS5 SSS5 M� UR5 g!,(df   N+=f!,(df   M�=f!UR5 f=f)z+Unpack zip `filename` to `extract_dir`
    rNz%s is not a zip file�/z..�rr�)r��
is_zipfiler6r��infolistrCrKrQrwr��splitr�rJr�r
r)	rC�extract_dirr�r�rxrB�
targetpath�source�targets	         r,�_unpack_zipfiler��s������h�'�'��.��9�:�:�
�/�/�(�
#�C���L�L�N�D��=�=�D����s�#�#�t�t�|�������k�D�D�J�J�s�O�D�J����j�)��=�=��%�%��X�X�d�C�(�F��Z��.�&���/�/�)�(�#�$	�	�	��/�.��)�(��	�	�	��sB�BE�E�&
D5�3D$�?D5�E�$
D2�.D5�5
E	�?E�Erqc���SSKnURU5nUR	XS9 UR5 g!URa [SU-5ef=f!UR5 f=f)zAUnpack tar/tar.gz/tar.bz2/tar.xz `filename` to `extract_dir`
    rNz/%s is not a compressed or uncompressed tar filerq)rvr��TarErrorr6�
extractallr)rCr�r�rv�tarobjs     r,�_unpack_tarfiler��sv���J����h�'������+��5������
���J��=��H�J�	J�J��	����s�8�A�A�A,rer�)r�r�z.tar.gzz.tgzz.tar.bz2z.tbz2z.tar.xzz.txzc��[R5H-upUSHnURU5(dMUs s $ M/ g)Nr)r�r�rJ)rCrBrxr�s    r,�_find_unpack_formatr�s@��%�+�+�-�
���a��I�� � ��+�+���!�.�r+c� �[R"SXU5 Uc[R"5n[R"U5n[R"U5nUc0nOSU0nUb'[
UnUSnU"X40[US5DUD6 g[U5nUc[SRU55e[
USn[[
US5U-nU"X40UD6 g![a [SRU55Sef=f)a1Unpack an archive.

`filename` is the name of the archive.

`extract_dir` is the name of the target directory, where the archive
is unpacked. If not provided, the current working directory is used.

`format` is the archive format: one of "zip", "tar", "gztar", "bztar",
or "xztar".  Or any other registered format.  If not provided,
unpack_archive will use the filename extension and see if an unpacker
was registered for that extension.

In case none is found, a ValueError is raised.

If `filter` is given, it is passed to the underlying
extraction function.
zshutil.unpack_archiveNr�zUnknown unpack format '{0}'r�rRzUnknown archive format '{0}')rTr�rQr�r�r�rUrur��dictr�r6)rCr�r�r��
filter_kwargsr�r#r�s        r,rr"s��$�I�I�%�x�f�E����i�i�k���)�)�K�(�K��y�y��"�H�
�~��
�!�6�*�
�
��	U�)�&�1�K��1�~���X�L�d�;�q�>�&:�L�m�L�%�X�.���>��:�A�A�(�K�L�L��v�&�q�)���o�f�-�a�0�1�M�A���X�-�f�-���	U��:�A�A�&�I�J�PT�T�	U�s�+	C'�'&D
�statvfs�
disk_usage�usageztotal used freezTotal space in byteszUsed space in byteszFree space in bytesc��[R"U5nURUR-nURUR-nURUR
-
UR-n[
X4U5$)z�Return disk usage statistics about the given path.

Returned value is a named tuple with attributes 'total', 'used' and
'free', which are the amount of total, used and free space, in bytes.
)rQr��f_bavail�f_frsize�f_blocks�f_bfree�_ntuple_diskusage)rwr��free�total�useds     r,r�r�[s^���Z�Z��
���{�{�R�[�[�(�����b�k�k�)�����b�j�j�(�B�K�K�7�� ��d�3�3r+c�R�[R"U5upX-
n[XU5$)z�Return disk usage statistics about the given path.

Returned values is a named tuple with attributes 'total', 'used' and
'free', which are the amount of total, used and free space, in bytes.
)r�
_getdiskusager�)rwr�r�r�s    r,r�r�ls*���&�&�t�,����|�� ��d�3�3r+�rr�c��[R"SXU5 UcUc[S5eUnUnUcSnO=[U[5(a([U5nUc[
SRU55eUcSnO=[U[5(d([U5nUc[
SRU55e[R"XXcUS9 g)a�Change owner user and group of the given path.

user and group can be the uid/gid or the user/group names, and in that case,
they are converted to their respective uid/gid.

If dir_fd is set, it should be an open file descriptor to the directory to
be used as the root of *path* if it is relative.

If follow_symlinks is set to False and the last element of the path is a
symbolic link, chown will modify the link itself and not the file being
referenced by the link.
zshutil.chownNzuser and/or group must be set���zno such user: {!r}zno such group: {!r}r�)rTr�rurtr�r]�LookupErrorr��intrWrQr)rw�userrmrr��_user�_groups       r,rrws����I�I�n�d�%�0��|��
��8�9�9��E�
�F��|���	�D�#�	�	������=��2�9�9�$�?�@�@��}���
��s�
#�
#��%����>��3�:�:�5�A�B�B��H�H�T�&�,�.r+c�\�[[RS5n[[RS5nUS::dUS::ao[R
"[RR55nUS::aUR=(d USnUS::aUR=(d USn[R"X45$![[4a SnN�f=f![[4a SnN�f=f![[[4a [R"U5nN�f=f)a�Get the size of the terminal window.

For each of the two dimensions, the environment variable, COLUMNS
and LINES respectively, is checked. If the variable is defined and
the value is a positive integer, it is used.

When COLUMNS or LINES is not defined, which is the common case,
the terminal connected to sys.__stdout__ is queried
by invoking os.get_terminal_size.

If the terminal size cannot be successfully queried, either because
the system doesn't support querying, or because we are not
connected to a terminal, the value given in fallback parameter
is used. Fallback defaults to (80, 24) which is the default
size used by many terminal emulators.

The value returned is a named tuple of type os.terminal_size.
�COLUMNSr�LINESr�)r�rQ�environrUrur!rT�
__stdout__r?�AttributeErrorrA�
terminal_size�columns�lines)�fallbackr�r��sizes    r,r!r!�s	��(��b�j�j��+�,����B�J�J�w�'�(��
�!�|�u��z�	.��'�'����(=�(=�(?�@�D�
�a�<��l�l�1�h�q�k�G��A�:��J�J�-�(�1�+�E�
���W�,�-�-��+
�j�!������

�j�!�������
�G�4�	.��#�#�H�-�D�	.�s4�C
�C%�2C=�
C"�!C"�%C:�9C:�=+D+�*D+c���[RRU5=(aA [R"X5=(a$ [RR	U5(+$r�)rQrwr�rCr�)r�r�s  r,�
_access_checkr�s?���G�G�N�N�2��
&�2�9�9�R�#6�
&��G�G�M�M�"�%�%�'r+c��U[R-(+=(d* [R"[R"U55$)z�
On Windows, we can use NeedCurrentDirectoryForExePath to figure out
if we should add the cwd to PATH when searching for executables if
the mode is executable.
)rQ�X_OKr��NeedCurrentDirectoryForExePathr�)�cmdr�s  r,�_win_path_needs_curdirr�s5������� �"�W�%K�%K����C� �&"�"r+c�^�[U[5n[RR	U5up@U(aU/nGO.Uc:[R
R
SS5nUc[R"S5nU(dgU(aJ[R"U5nUR	[R"[R55nO5[R"U5nUR	[R5n[RS:XaO[!X5(a?[R"nU(a[R"U5nUR%SU5 [RS:XGa[R&"S5=(d [(nUR	[R5nUVs/sHo�(dMUR+S5PM nnU(a&UVs/sHn[R"U5PM nnUVs/sHo�U-PM	 n	nUR-5mU[R.-(a[1U4SjU55(aU	R%SU5 OU/n	[35n
UHxn[RR5U5nX�;dM)U
R7U5 U	H8n
[RR9X�5n[;X�5(dM4Us s $ Mz g![[4a [RnGN�f=fs snfs snfs snf)	aGiven a command, mode, and a PATH string, return the path which
conforms to the given mode on the PATH, or None if there is no such
file.

`mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result
of os.environ.get("PATH"), or can be overridden with a custom search
path.

N�PATH�CS_PATHrr�PATHEXTrdc3�b># �UH$nTRUR55v� M& g7fr�)rJ�upper)�.0r��normcmds  �r,�	<genexpr>�which.<locals>.<genexpr>s'����&X�PW��w�'7�'7��	�	��'D�'D�PW�s�,/)rtr5rQrwr�r��get�confstrr�ru�defpath�fsencode�pathsepr�rTrFrr��insert�getenv�_WIN_DEFAULT_PATHEXTr<rr�anyr�ryryr�r)rr�rw�	use_bytesrwr��pathext_source�pathextr��files�seen�dir�normdir�thefilerBr
s               @r,r r �sT����3��&�I�
�7�7�=�=��%�L�G���y���<��:�:�>�>�&�$�/�D��|�&��:�:�i�0�D�����;�;�t�$�D��:�:�b�k�k�"�*�*�5�6�D��;�;�t�$�D��:�:�b�j�j�)�D��<�<�7�"�'=�c�'H�'H��Y�Y�F�����V�,���K�K��6�"�
�|�|�w�����9�-�E�1E�� �&�&�r�z�z�2��.5�=�g�s��?�3�:�:�c�?�g��=��3:�;�7�C�r�{�{�3�'�7�G�;�&-�.�g�s�s��g��.��)�)�+���r�w�w��3�&X�PW�&X�#X�#X��L�L��C� ������5�D����'�'�"�"�3�'�����H�H�W�� ���w�w�|�|�C�1�� ��,�,��K�!�	���q'�
�3�&��:�:�D�&��8>��<��.s*�&L�
L6�L6�8 L;�M� L3�2L3)r)F)FN)r_rrNNNN)rrNNNN)Nr9)NNrrNNN)NN))r7�)hr0rQrTrxr��collectionsrE�zlibrrrTrbrs�lzmartrBr�rrrFr�rmrvrKrXr�r�__all__rArr"rrr6r@r9r<rNr_rkr
r~r�r�rrr�r
rrrr�r�stat_resultrrr*r�rr�supports_dir_fdr�supports_fdr�r4r�avoids_symlink_attacksr=rrArBrWr]r�r�r�r�rrrrrr�rrr�r�r�r�r�rr��
namedtupler�r�r�r�r�rr!rr�F_OKrr r%r+r,�<module>r,sO���
�
���������O�����N�����O��7�7�d�?��
�����7�7�g���
�
��<�<�7����G�&�{�I���B�
�+�F����/�/�0D�E���7�7�5�,�7��?����	�G�	�@�E�@�;�w�;�6��6�0��0�&�I�&��	��
 �(>�@.:��(�4�$E�R�+/�>�@+/�.�4�2�{���04��0
�+/�@�D'+��$(,�&�P
�7<�@�D!&�d�%�&+�5�.2�`�2�>�>�/�0�0�K�
(�#�<E�N�g�g�r�w�w��	�	�2�8�8�<��'�'�(�<��Z�Z�2�>�>�1�<��W�W�� ;� ;�;��
L+�T�$�L+�`!2���.�$"'�@�D�G�
�$�$LM�@D�D�L;<�@D�7�r#'�
��"&�
��
�m�0�1�%�'���
�!.�1E�0F� 2�!4��W��,�b�*�=��U���!.�1F�0G� 3�!5��W���!.�1C�0D� 0�!2��W���A�*�KL�;?�=�@	�F�$CG�')�J�,���<6:��(�h���-D�
E��h���Z�
8���
�!*�F� 3�_�b� 2� 4�O�G���!+�W� 5��� 3� 5�O�G���!*�F� 3�_�b� 0� 2�O�G���..�d�..�b�2�y����N�N�<� �#�.�.�w�8I�J��&<����#�%:����"�%:����"�
4���N�N�<� �#�.�.�w�8I�J��4�&.��t�&.�P+.�b'�
"��G�G�b�g�g�%�D�P��[.���O������N������O��s3�O.�O=�P�.O:�9O:�=P	�P	�P�P

Filemanager

Name Type Size Permission Actions
__future__.cpython-313.pyc File 4.61 KB 0644
__hello__.cpython-313.pyc File 966 B 0644
_aix_support.cpython-313.pyc File 4.61 KB 0644
_android_support.cpython-313.pyc File 7.44 KB 0644
_apple_support.cpython-313.pyc File 3.4 KB 0644
_collections_abc.cpython-313.pyc File 45.6 KB 0644
_colorize.cpython-313.pyc File 3.92 KB 0644
_compat_pickle.cpython-313.pyc File 7.02 KB 0644
_compression.cpython-313.pyc File 7.62 KB 0644
_distutils_system_mod.cpython-313.pyc File 7.89 KB 0644
_ios_support.cpython-313.pyc File 2.65 KB 0644
_markupbase.cpython-313.pyc File 12.14 KB 0644
_opcode_metadata.cpython-313.pyc File 10.43 KB 0644
_osx_support.cpython-313.pyc File 17.7 KB 0644
_py_abc.cpython-313.pyc File 7.02 KB 0644
_pydatetime.cpython-313.pyc File 92.36 KB 0644
_pydecimal.cpython-313.pyc File 211.95 KB 0644
_pyio.cpython-313.pyc File 108.59 KB 0644
_pylong.cpython-313.pyc File 10.9 KB 0644
_sitebuiltins.cpython-313.pyc File 4.79 KB 0644
_strptime.cpython-313.pyc File 28.04 KB 0644
_sysconfigdata__linux_x86_64-linux-gnu.cpython-313.pyc File 60.07 KB 0644
_sysconfigdata__x86_64-linux-gnu.cpython-313.pyc File 60.06 KB 0644
_threading_local.cpython-313.pyc File 8.19 KB 0644
_weakrefset.cpython-313.pyc File 11.77 KB 0644
abc.cpython-313.pyc File 7.73 KB 0644
antigravity.cpython-313.pyc File 985 B 0644
argparse.cpython-313.pyc File 102.11 KB 0644
ast.cpython-313.pyc File 100.56 KB 0644
base64.cpython-313.pyc File 25.21 KB 0644
bdb.cpython-313.pyc File 39.61 KB 0644
bisect.cpython-313.pyc File 3.42 KB 0644
bz2.cpython-313.pyc File 14.81 KB 0644
cProfile.cpython-313.pyc File 8.46 KB 0644
calendar.cpython-313.pyc File 38.76 KB 0644
cmd.cpython-313.pyc File 18.52 KB 0644
code.cpython-313.pyc File 15.41 KB 0644
codecs.cpython-313.pyc File 39.59 KB 0644
codeop.cpython-313.pyc File 6.48 KB 0644
colorsys.cpython-313.pyc File 4.4 KB 0644
compileall.cpython-313.pyc File 20.22 KB 0644
configparser.cpython-313.pyc File 67.32 KB 0644
contextlib.cpython-313.pyc File 29.78 KB 0644
contextvars.cpython-313.pyc File 261 B 0644
copy.cpython-313.pyc File 10.38 KB 0644
copyreg.cpython-313.pyc File 7.36 KB 0644
csv.cpython-313.pyc File 20.21 KB 0644
dataclasses.cpython-313.pyc File 46.7 KB 0644
datetime.cpython-313.pyc File 411 B 0644
decimal.cpython-313.pyc File 2.93 KB 0644
difflib.cpython-313.pyc File 70.35 KB 0644
dis.cpython-313.pyc File 46.4 KB 0644
doctest.cpython-313.pyc File 105.01 KB 0644
enum.cpython-313.pyc File 83.7 KB 0644
filecmp.cpython-313.pyc File 14.67 KB 0644
fileinput.cpython-313.pyc File 20.15 KB 0644
fnmatch.cpython-313.pyc File 6.64 KB 0644
fractions.cpython-313.pyc File 37.42 KB 0644
ftplib.cpython-313.pyc File 41.34 KB 0644
functools.cpython-313.pyc File 41.26 KB 0644
genericpath.cpython-313.pyc File 7.63 KB 0644
getopt.cpython-313.pyc File 8.27 KB 0644
getpass.cpython-313.pyc File 7.14 KB 0644
gettext.cpython-313.pyc File 22.35 KB 0644
glob.cpython-313.pyc File 23.11 KB 0644
graphlib.cpython-313.pyc File 9.96 KB 0644
gzip.cpython-313.pyc File 31.23 KB 0644
hashlib.cpython-313.pyc File 7.99 KB 0644
heapq.cpython-313.pyc File 17.35 KB 0644
hmac.cpython-313.pyc File 10.41 KB 0644
imaplib.cpython-313.pyc File 61.18 KB 0644
inspect.cpython-313.pyc File 132.7 KB 0644
io.cpython-313.pyc File 4.17 KB 0644
ipaddress.cpython-313.pyc File 89.47 KB 0644
keyword.cpython-313.pyc File 1.02 KB 0644
linecache.cpython-313.pyc File 8.35 KB 0644
locale.cpython-313.pyc File 57.63 KB 0644
lzma.cpython-313.pyc File 15.35 KB 0644
mailbox.cpython-313.pyc File 115.95 KB 0644
mimetypes.cpython-313.pyc File 24.31 KB 0644
modulefinder.cpython-313.pyc File 27.73 KB 0644
netrc.cpython-313.pyc File 8.93 KB 0644
ntpath.cpython-313.pyc File 26.56 KB 0644
nturl2path.cpython-313.pyc File 2.67 KB 0644
numbers.cpython-313.pyc File 13.45 KB 0644
opcode.cpython-313.pyc File 3.97 KB 0644
operator.cpython-313.pyc File 16.96 KB 0644
optparse.cpython-313.pyc File 66 KB 0644
os.cpython-313.pyc File 44.75 KB 0644
pdb.cpython-313.pyc File 103.62 KB 0644
pickle.cpython-313.pyc File 76.57 KB 0644
pickletools.cpython-313.pyc File 78.54 KB 0644
pkgutil.cpython-313.pyc File 19.49 KB 0644
platform.cpython-313.pyc File 43.63 KB 0644
plistlib.cpython-313.pyc File 42.09 KB 0644
poplib.cpython-313.pyc File 17.99 KB 0644
posixpath.cpython-313.pyc File 17.7 KB 0644
pprint.cpython-313.pyc File 29 KB 0644
profile.cpython-313.pyc File 22.03 KB 0644
pstats.cpython-313.pyc File 36.97 KB 0644
pty.cpython-313.pyc File 7.23 KB 0644
py_compile.cpython-313.pyc File 9.83 KB 0644
pyclbr.cpython-313.pyc File 14.79 KB 0644
pydoc.cpython-313.pyc File 136.68 KB 0644
queue.cpython-313.pyc File 16.94 KB 0644
quopri.cpython-313.pyc File 9.34 KB 0644
random.cpython-313.pyc File 34.43 KB 0644
reprlib.cpython-313.pyc File 10.18 KB 0644
rlcompleter.cpython-313.pyc File 8.37 KB 0644
runpy.cpython-313.pyc File 14.05 KB 0644
sched.cpython-313.pyc File 7.42 KB 0644
secrets.cpython-313.pyc File 2.45 KB 0644
selectors.cpython-313.pyc File 25.74 KB 0644
shelve.cpython-313.pyc File 12.98 KB 0644
shlex.cpython-313.pyc File 14.5 KB 0644
shutil.cpython-313.pyc File 65.87 KB 0644
signal.cpython-313.pyc File 4.44 KB 0644
site.cpython-313.pyc File 31.86 KB 0644
sitecustomize.cpython-313.pyc File 299 B 0644
smtplib.cpython-313.pyc File 46.25 KB 0644
socket.cpython-313.pyc File 41.23 KB 0644
socketserver.cpython-313.pyc File 33.84 KB 0644
sre_compile.cpython-313.pyc File 627 B 0644
sre_constants.cpython-313.pyc File 630 B 0644
sre_parse.cpython-313.pyc File 623 B 0644
ssl.cpython-313.pyc File 63.68 KB 0644
stat.cpython-313.pyc File 5.39 KB 0644
statistics.cpython-313.pyc File 69.43 KB 0644
string.cpython-313.pyc File 11.38 KB 0644
stringprep.cpython-313.pyc File 24.67 KB 0644
struct.cpython-313.pyc File 325 B 0644
subprocess.cpython-313.pyc File 79.8 KB 0644
symtable.cpython-313.pyc File 22.65 KB 0644
tabnanny.cpython-313.pyc File 12.13 KB 0644
tarfile.cpython-313.pyc File 122.79 KB 0644
tempfile.cpython-313.pyc File 48.68 KB 0644
textwrap.cpython-313.pyc File 17.51 KB 0644
this.cpython-313.pyc File 1.38 KB 0644
threading.cpython-313.pyc File 61.72 KB 0644
timeit.cpython-313.pyc File 14.29 KB 0644
token.cpython-313.pyc File 3.49 KB 0644
tokenize.cpython-313.pyc File 24.84 KB 0644
trace.cpython-313.pyc File 33.17 KB 0644
traceback.cpython-313.pyc File 69.38 KB 0644
tracemalloc.cpython-313.pyc File 26.77 KB 0644
tty.cpython-313.pyc File 2.6 KB 0644
turtle.cpython-313.pyc File 171.21 KB 0644
types.cpython-313.pyc File 15.18 KB 0644
typing.cpython-313.pyc File 150.96 KB 0644
uuid.cpython-313.pyc File 31.4 KB 0644
warnings.cpython-313.pyc File 28.85 KB 0644
wave.cpython-313.pyc File 32.44 KB 0644
weakref.cpython-313.pyc File 31.06 KB 0644
webbrowser.cpython-313.pyc File 26.26 KB 0644
zipapp.cpython-313.pyc File 10.15 KB 0644
zipimport.cpython-313.pyc File 25.89 KB 0644
Filemanager