https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /opt/alt/python39/lib64/python3.9/urllib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python39/lib64/python3.9/urllib/__pycache__/parse.cpython-39.opt-2.pyc
a

(�;bG��@s�ddlZddlZddlZddlZddlZgd�Zgd�Zgd�Zgd�Zgd�Z	gd�Z
gd�Zd	Zgd
�Z
dZiZdd
�ZdZdZdd�Zeefdd�Zeefdd�Zdd�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�dee�ZGd d!�d!ee�Zdd"lmZed#d$�Zed%d&�Zed'd(�Z d)e_!d*ej"_!d+ej#_!d,e_!d-ej$_!d.ej%_!d/ej&_!d0ej'_!d1ej#_!d2e _!ej$j!e j$_!ej%j!e j%_!ej&j!e j&_!d3e j(_!ej'j!e j'_!ej#j!e j#_!eZ)Gd4d#�d#ee�Z*Gd5d%�d%ee�Z+Gd6d'�d'e e�Z,Gd7d8�d8ee�Z-Gd9d:�d:ee�Z.Gd;d<�d<e e�Z/d=d>�Z0e0�[0d�dAdB�Z1dCdD�Z2d�dEdF�Z3dGdH�Z4d�dIdJ�Z5dKdL�Z6dMdN�Z7d�dOdP�Z8dQdR�Z9dSZ:da;dTdU�Z<e�=dV�Z>d�dYdZ�Z?d�d]d^�Z@d�d_d`�ZAd�dadb�ZBeCdc�ZDeEeD�ZFiZGGddde�deejH�ZId�dgdh�ZJd�didj�ZKd�dkdl�ZLd[d?ddeKfdmdn�ZMdodp�ZNdqdr�ZOdsdt�ZPdudv�ZQdaRdwdx�ZSdydz�ZTdaUd{d|�ZVd}d~�ZWdd��ZXd�d��ZYd�d��ZZd�d��Z[da\d�d��Z]d�d�d��Z^d�d�d��Z_d�d��Z`d�d��Zad�d��Zbd�d��Zcd�d��Zdd�d��Zed�d��Zfd�d��ZgdS)��N)�urlparse�
urlunparse�urljoin�	urldefrag�urlsplit�
urlunsplit�	urlencode�parse_qs�	parse_qsl�quote�
quote_plus�quote_from_bytes�unquote�unquote_plus�unquote_to_bytes�DefragResult�ParseResult�SplitResult�DefragResultBytes�ParseResultBytes�SplitResultBytes)��ftp�http�gopher�nntp�imap�wais�file�https�shttp�mms�prospero�rtsp�rtspu�sftp�svn�svn+ssh�ws�wss)rrrrr�telnetrrrr!rr �snewsr"r#r$Zrsyncr&r'r%ZnfsZgitzgit+sshr(r))rr�hdlr"rrrr r#r$�sip�sipsr!r%Ztel)
rr,Zmailto�newsr*rrr+r-r.)rrrrrr r!rr#r$r-r.)
rrr,rrr/rrrr r+rr"zAabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+-.)�	�
�
�cCst��t��dS�N)�_parse_cache�clear�
_safe_quoters�r8r8�1/opt/alt/python39/lib64/python3.9/urllib/parse.py�clear_cacheXsr:�ascii�strictcCs|Sr4r8)�objr8r8r9�_noopgsr>cCs|�||�Sr4��encode)r=�encoding�errorsr8r8r9�_encode_resultjsrCcst��fdd�|D��S)Nc3s"|]}|r|����ndVqdS)rN��decode��.0�x�rArBr8r9�	<genexpr>p�z_decode_args.<locals>.<genexpr>)�tuple)�argsrArBr8rIr9�_decode_argsnsrNcGsVt|dt�}|dd�D]}|rt|t�|krtd��q|rH|tfSt|�tfS)Nr�z$Cannot mix str and non-str arguments)�
isinstance�str�	TypeErrorr>rNrC)rMZ	str_input�argr8r8r9�_coerce_argsrs

rTc@seZdZdZddd�ZdS)�_ResultMixinStrr8r;r<cs|j��fdd�|D��S)Nc3s|]}|����VqdSr4r?rFrIr8r9rJ�rKz)_ResultMixinStr.encode.<locals>.<genexpr>)�_encoded_counterpart��selfrArBr8rIr9r@�sz_ResultMixinStr.encodeN)r;r<)�__name__�
__module__�__qualname__�	__slots__r@r8r8r8r9rU�srUc@seZdZdZddd�ZdS)�_ResultMixinBytesr8r;r<cs|j��fdd�|D��S)Nc3s|]}|����VqdSr4rDrFrIr8r9rJ�rKz+_ResultMixinBytes.decode.<locals>.<genexpr>)�_decoded_counterpartrWr8rIr9rE�sz_ResultMixinBytes.decodeN)r;r<)rYrZr[r\rEr8r8r8r9r]�sr]c@sJeZdZdZedd��Zedd��Zedd��Zedd	��Ze	e
j�Zd
S)�_NetlocResultMixinBaser8cCs
|jdS)Nr��	_userinfo�rXr8r8r9�username�sz_NetlocResultMixinBase.usernamecCs
|jdS)NrOr`rbr8r8r9�password�sz_NetlocResultMixinBase.passwordcCsD|jd}|sdSt|t�r dnd}|�|�\}}}|��||S)Nr�%�%)�	_hostinforPrQ�	partition�lower)rX�hostname�	separatorZpercentZzoner8r8r9rj�s
z_NetlocResultMixinBase.hostnamecCsj|jd}|durfzt|d�}Wn&tyFd|��}t|�d�Yn0d|kr\dksfntd��|S)NrO�
z+Port could not be cast to integer value as ri��zPort out of range 0-65535)rg�int�
ValueError)rX�port�messager8r8r9ro�s

z_NetlocResultMixinBase.portN)
rYrZr[r\�propertyrcrdrjro�classmethod�types�GenericAlias�__class_getitem__r8r8r8r9r_�s




r_c@s(eZdZdZedd��Zedd��ZdS)�_NetlocResultMixinStrr8cCsD|j}|�d�\}}}|r4|�d�\}}}|s<d}nd}}||fS)N�@�:��netloc�
rpartitionrh�rXrzZuserinfoZ	have_info�hostinforcZ
have_passwordrdr8r8r9ra�sz_NetlocResultMixinStr._userinfocCsl|j}|�d�\}}}|�d�\}}}|rL|�d�\}}}|�d�\}}}n|�d�\}}}|sdd}||fS)Nrw�[�]rxry�rXrz�_r}Zhave_open_brZ	bracketedrjror8r8r9rg�sz_NetlocResultMixinStr._hostinfoN�rYrZr[r\rqrargr8r8r8r9rv�s

rvc@s(eZdZdZedd��Zedd��ZdS)�_NetlocResultMixinBytesr8cCsD|j}|�d�\}}}|r4|�d�\}}}|s<d}nd}}||fS)N�@�:ryr|r8r8r9ra�sz!_NetlocResultMixinBytes._userinfocCsl|j}|�d�\}}}|�d�\}}}|rL|�d�\}}}|�d�\}}}n|�d�\}}}|sdd}||fS)Nr��[�]r�ryr�r8r8r9rg�sz!_NetlocResultMixinBytes._hostinfoNr�r8r8r8r9r��s

r�)�
namedtuplerzurl fragmentrz!scheme netloc path query fragmentrz(scheme netloc path params query fragmentz�
DefragResult(url, fragment)

A 2-tuple that contains the url without fragment identifier and the fragment
identifier as a separate argument.
z$The URL with no fragment identifier.z�
Fragment identifier separated from URL, that allows indirect identification of a
secondary resource by reference to a primary resource and additional identifying
information.
z�
SplitResult(scheme, netloc, path, query, fragment)

A 5-tuple that contains the different components of a URL. Similar to
ParseResult, but does not split params.
z%Specifies URL scheme for the request.z0
Network location where the request is made to.
z@
The hierarchical path, such as the path to a file to download.
z�
The query component, that contains non-hierarchical data, that along with data
in path component, identifies a resource in the scope of URI's scheme and
network location.
z�
Fragment identifier, that allows indirect identification of a secondary resource
by reference to a primary resource and additional identifying information.
zq
ParseResult(scheme, netloc, path, params, query, fragment)

A 6-tuple that contains components of a parsed URL.
z�
Parameters for last path element used to dereference the URI in order to provide
access to perform some operation on the resource.
c@seZdZdZdd�ZdS)rr8cCs |jr|jd|jS|jSdS�N�#��fragment�urlrbr8r8r9�geturlCszDefragResult.geturlN�rYrZr[r\r�r8r8r8r9rAsc@seZdZdZdd�ZdS)rr8cCst|�Sr4�rrbr8r8r9r�KszSplitResult.geturlNr�r8r8r8r9rIsc@seZdZdZdd�ZdS)rr8cCst|�Sr4�rrbr8r8r9r�PszParseResult.geturlNr�r8r8r8r9rNsc@seZdZdZdd�ZdS)rr8cCs |jr|jd|jS|jSdS)N�#r�rbr8r8r9r�VszDefragResultBytes.geturlNr�r8r8r8r9rTsrc@seZdZdZdd�ZdS)rr8cCst|�Sr4r�rbr8r8r9r�^szSplitResultBytes.geturlNr�r8r8r8r9r\src@seZdZdZdd�ZdS)rr8cCst|�Sr4r�rbr8r8r9r�cszParseResultBytes.geturlNr�r8r8r8r9rasrcCs4ttfttfttff}|D]\}}||_||_qdSr4)rrrrrrrVr^)Z
_result_pairsZ_decodedZ_encodedr8r8r9�_fix_result_transcodinggs�r�rTc
Csft||�\}}}t|||�}|\}}}}}|tvrHd|vrHt|�\}}nd}t||||||�}	||	�S)N�;r)rTr�uses_params�_splitparamsr)
r��scheme�allow_fragments�_coerce_resultZsplitresultrz�queryr��params�resultr8r8r9rtsrcCsRd|vr,|�d|�d��}|dkr6|dfSn
|�d�}|d|�||dd�fS)N�/r�rrrO)�find�rfind)r��ir8r8r9r��s

r�cCsHt|�}dD]"}|�||�}|dkrt||�}q|||�||d�fS)Nz/?#r)�lenr��min)r��start�delim�cZwdelimr8r8r9�_splitnetloc�sr�cCs�|r|��rdSddl}|�dd�}|�dd�}|�dd�}|�dd�}|�d|�}||kr`dSdD] }||vrdtd	|d
d��qddS)Nrrwrrxr��?ZNFKCz/?#@:znetloc 'z' contains invalid z#characters under NFKC normalization)�isascii�unicodedata�replace�	normalizern)rzr��nZnetloc2r�r8r8r9�_checknetloc�s�r�c
Cs�t||�\}}}tD]}|�|d�}|�|d�}qt|�}|||t|�t|�f}t�|d�}|rh||�Stt�tkrzt	�d}}}	|�
d�}
|
dkr�|d|
�D]}|tvr�q�q�|d|
���||
dd�}}|dd�dk�r(t
|d�\}}d|v�rd|v�s d|v�r(d|v�r(td	��|�rHd
|v�rH|�d
d�\}}	d|v�rb|�dd�\}}t|�t|||||	�}|t|<||�S)NrrxrrO��//r~rzInvalid IPv6 URLr�r�)rT�_UNSAFE_URL_BYTES_TO_REMOVEr��bool�typer5�getr��MAX_CACHE_SIZEr:r��scheme_charsrir�rn�splitr�r)
r�r�r�r��b�key�cachedrzr�r�r�r��vr8r8r9r�sD
"��
rcCs<t|�\}}}}}}}|r&d||f}|t|||||f��S)Nz%s;%s)rTr)�
componentsr�rzr�r�r�r�r�r8r8r9r�s
�rcCs�t|�\}}}}}}|s4|r`|tvr`|dd�dkr`|rP|dd�dkrPd|}d|pXd|}|rp|d|}|r�|d|}|r�|d|}||�S)	Nr�r�rOr�rrxr�r�)rT�uses_netloc)r�r�rzr�r�r�r�r8r8r9r�s� rc	Cs�|s|S|s|St||�\}}}t|d|�\}}}}}}	t|||�\}
}}}
}}|
|ks`|
tvrh||�S|
tvr�|r�|t|
|||
||f��S|}|s�|
s�|}|}
|s�|}|t|
|||
||f��S|�d�}|ddkr�|d=|dd�dkr�|�d�}n(||�d�}td|dd��|dd�<g}|D]N}|dk�rZz|��Wnt�yVYn0n|dk�rj�q(n
|�	|��q(|ddv�r�|�	d�|t|
|d�
|��p�d|
||f��S)Nrr����rO�..�.)r�r�)rTr�
uses_relativer�rr��filter�pop�
IndexError�append�join)�baser�r�r�ZbschemeZbnetlocZbpathZbparamsZbqueryZ	bfragmentr�rz�pathr�r�r�Z
base_partsZsegmentsZ
resolved_pathZsegr8r8r9rsb
�
�
�
�



��rc	CsTt|�\}}d|vr>t|�\}}}}}}t|||||df�}nd}|}|t||��S)Nr�r)rTrrr)	r�r��sr��p�a�qZfragZdefragr8r8r9rQsrZ0123456789ABCDEFabcdefc	Cs�|s|jdSt|t�r"|�d�}|�d�}t|�dkr<|S|dg}|j}tdurbdd�tD�a|dd�D]P}z(|t|dd��||dd��Wqnty�|d�||�Yqn0qnd�	|�S)	NrK�utf-8rfrOrcSs.i|]&}tD]}||��t�||��qqSr8)�_hexdigr@�bytes�fromhex)rGr�r�r8r8r9�
<dictcomp>ws
�z$unquote_to_bytes.<locals>.<dictcomp>r�)
r�rPrQr@r�r��
_hextobyter��KeyErrorr�)�string�bits�resr��itemr8r8r9rds,



�rz([-]+)r�r�cCs�t|t�rt|��||�Sd|vr,|j|S|dur8d}|durDd}t�|�}|dg}|j}tdt|�d�D],}|t||��||��|||d�qnd�	|�S)Nrer�r�rrOr�r)
rPr�rrEr��_asciirer��ranger�r�)r�rArBr�r�r�r�r8r8r9r�s 



rF�&c	CsNi}t|||||||d�}|D]*\}	}
|	|vr>||	�|
�q|
g||	<q|S)N)rArB�max_num_fieldsrk)r
r�)�qs�keep_blank_values�strict_parsingrArBr�rkZ
parsed_result�pairs�name�valuer8r8r9r	�s�r	cCs.t|�\}}t|�\}}|r*t|ttf�s2td��|durXd|�|�}	||	krXtd��dd�|�|�D�}
g}|
D]�}|s�|s�qt|�dd�}
t|
�dkr�|r�td|f��|rt|
�d	�nqtt|
d�s�|rt|
d
�	dd�}t
|||d
�}||�}|
d�	dd�}t
|||d
�}||�}|�||f�qt|S)Nz*Separator must be of type string or bytes.rOzMax number of fields exceededcSsg|]}|�qSr8r8)rG�s1r8r8r9�
<listcomp>�rKzparse_qsl.<locals>.<listcomp>�=r�zbad query field: %rrr�+� rI)rTrPrQr�rn�countr�r�r�r�r)r�r�r�rArBr�rkr�r��
num_fieldsr��rZ
name_valueZnvr�r�r8r8r9r
�s:r
cCs|�dd�}t|||�S)Nr�r�)r�r)r�rArBr8r8r9r
srsBABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-~c@s$eZdZdd�Zdd�Zdd�ZdS)�QuotercCst�|�|_dSr4)�_ALWAYS_SAFE�union�safe)rXr�r8r8r9�__init__%szQuoter.__init__cCsd|jjt|�fS)Nz<%s %r>)�	__class__rY�dictrbr8r8r9�__repr__)szQuoter.__repr__cCs(||jvrt|�nd�|�}|||<|S)Nz%{:02X})r��chr�format)rXr�r�r8r8r9�__missing__-szQuoter.__missing__N)rYrZr[r�r�r�r8r8r8r9r�sr�r�cCsbt|t�r8|s|S|durd}|dur*d}|�||�}n |durHtd��|durXtd��t||�S)Nr�r<z,quote() doesn't support 'encoding' for bytesz*quote() doesn't support 'errors' for bytes)rPrQr@rRr
)r�r�rArBr8r8r9r3s'
rcCsdt|t�rd|vs$t|t�r2d|vr2t||||�St|t�rBd}nd}t|||||�}|�dd�S)Nr�� r�)rPrQr�rr�)r�r�rArBZspacer8r8r9ris��
rcs�t|ttf�std��|sdSt|t�r6|�dd�}ntdd�|D��}|�t|�s^|��Szt	|�Wn$t
y�t|�jt	|<�Yn0d�
�fdd�|D��S)Nz!quote_from_bytes() expected bytesrr;�ignorecSsg|]}|dkr|�qS)�r8)rGr�r8r8r9r��rKz$quote_from_bytes.<locals>.<listcomp>csg|]}�|��qSr8r8)rG�char�Zquoterr8r9r��rK)rPr��	bytearrayrRrQr@�rstrip�_ALWAYS_SAFE_BYTESrEr7r�r��__getitem__r�)Zbsr�r8r�r9r
zs
r
c	Cst|d�r|��}nNzt|�r0t|dt�s0t�Wn.ty`t��\}}}td��|��Yn0g}	|s�|D]j\}
}t|
t	�r�||
|�}
n|t
|
�|||�}
t|t	�r�|||�}n|t
|�|||�}|	�|
d|�qn�n |D�]\}
}t|
t	��r||
|�}
n|t
|
�|||�}
t|t	��r@|||�}|	�|
d|�q�t|t
��rn|||||�}|	�|
d|�q�zt|�}Wn8t�y�|t
|�|||�}|	�|
d|�Yq�0|D]B}
t|
t	��r�||
|�}
n|t
|
�|||�}
|	�|
d|
��q�q�d�|	�S)N�itemsrz1not a valid non-string sequence or mapping objectr�r�)
�hasattrr�r�rPrLrR�sys�exc_info�with_tracebackr�rQr�r�)r�Zdoseqr�rArBZ	quote_viaZtyZva�tb�l�kr�rH�eltr8r8r9r�sR

�



rcCstjdtdd�t|�S)Nz/urllib.parse.to_bytes() is deprecated as of 3.8r���
stacklevel)�warnings�warn�DeprecationWarning�	_to_bytes�r�r8r8r9�to_bytes�s�r
cCsHt|t�rDz|�d���}Wn&tyBtdt|�d��Yn0|S)N�ASCIIzURL z contains non-ASCII characters)rPrQr@rE�UnicodeError�reprrr8r8r9r�s
�rcCs`t|���}|dd�dkr<|dd�dkr<|dd���}|dd�dkr\|dd���}|S)NrO�<r��>�zURL:)rQ�striprr8r8r9�unwrap�s rcCstjdtdd�t|�S)NzUurllib.parse.splittype() is deprecated as of 3.8, use urllib.parse.urlparse() insteadr�r)rr	r
�
_splittyperr8r8r9�	splittypes�rcCsDtdurt�dtj�at�|�}|r<|��\}}|��|fSd|fS)Nz
([^/:]+):(.*))�	_typeprog�re�compile�DOTALL�match�groupsri)r�rr��datar8r8r9r
s
rcCstjdtdd�t|�S)NzUurllib.parse.splithost() is deprecated as of 3.8, use urllib.parse.urlparse() insteadr�r)rr	r
�
_splithostrr8r8r9�	splithosts�r cCsXtdurt�dtj�at�|�}|rP|��\}}|rH|ddkrHd|}||fSd|fS)Nz//([^/#?]*)(.*)rr�)�	_hostprogrrrrr)r�rZ	host_portr�r8r8r9rs
rcCstjdtdd�t|�S)NzUurllib.parse.splituser() is deprecated as of 3.8, use urllib.parse.urlparse() insteadr�r)rr	r
�
_splituser��hostr8r8r9�	splituser.s�r%cCs |�d�\}}}|r|nd|fS)Nrw�r{)r$�userr�r8r8r9r"5sr"cCstjdtdd�t|�S)NzWurllib.parse.splitpasswd() is deprecated as of 3.8, use urllib.parse.urlparse() insteadr�r)rr	r
�_splitpasswd)r'r8r8r9�splitpasswd;s�r)cCs |�d�\}}}||r|ndfS�Nrx�rh)r'r�Zpasswdr8r8r9r(Bsr(cCstjdtdd�t|�S)NzUurllib.parse.splitport() is deprecated as of 3.8, use urllib.parse.urlparse() insteadr�r)rr	r
�
_splitportr#r8r8r9�	splitportHs�r-cCsDtdurt�dtj�at�|�}|r<|��\}}|r<||fS|dfS)Nz
(.*):([0-9]*))�	_portprogrrr�	fullmatchr)r$rror8r8r9r,Qs
r,r�cCstjdtdd�t||�S)NzVurllib.parse.splitnport() is deprecated as of 3.8, use urllib.parse.urlparse() insteadr�r)rr	r
�_splitnport)r$�defportr8r8r9�
splitnport_s�r2cCsR|�d�\}}}|s|}n0|rJzt|�}Wnty@d}Yn0||fS||fSr*)r{rmrn)r$r1r�roZnportr8r8r9r0fs
r0cCstjdtdd�t|�S)NzVurllib.parse.splitquery() is deprecated as of 3.8, use urllib.parse.urlparse() insteadr�r)rr	r
�_splitqueryrr8r8r9�
splitqueryws�r4cCs$|�d�\}}}|r||fS|dfS)Nr�r&)r�r�r�r�r8r8r9r3~sr3cCstjdtdd�t|�S)NzTurllib.parse.splittag() is deprecated as of 3.8, use urllib.parse.urlparse() insteadr�r)rr	r
�	_splittagrr8r8r9�splittag�s�r6cCs$|�d�\}}}|r||fS|dfSr�r&)r�r�r��tagr8r8r9r5�sr5cCstjdtdd�t|�S)NzUurllib.parse.splitattr() is deprecated as of 3.8, use urllib.parse.urlparse() insteadr�r)rr	r
�
_splitattrrr8r8r9�	splitattr�s�r9cCs|�d�}|d|dd�fS)Nr�rrO)r�)r�Zwordsr8r8r9r8�s
r8cCstjdtdd�t|�S)NzWurllib.parse.splitvalue() is deprecated as of 3.8, use urllib.parse.parse_qsl() insteadr�r)rr	r
�_splitvalue)�attrr8r8r9�
splitvalue�s�r<cCs |�d�\}}}||r|ndfS)Nr�r+)r;r�r�r8r8r9r:�sr:)rT)r)rT)T)r�r�)FFr�r�Nr�)FFr�r�Nr�)r�r�)r�NN)rNN)r�)r�)r�)hrr�rs�collectionsr�__all__r�r�r�Znon_hierarchicalZ
uses_queryZ
uses_fragmentr�r�r�r5r:Z_implicit_encodingZ_implicit_errorsr>rCrNrT�objectrUr]r_rvr�r�Z_DefragResultBaseZ_SplitResultBaseZ_ParseResultBase�__doc__r�r�r�rzr�r�r�Z
ResultBaserrrrrrr�rr�r�r�rrrrrr�r�rrr�rr	r
r�	frozensetr�r�r�r7�defaultdictr�rrr
rr
rrrrrr r!rr%r"r)r(r-r.r,r2r0r4r3r6r5r9r8r<r:r8r8r8r9�<module>s��
�
'
��

	

9
E

�
*�
C
	
6

�
Q





https://t.me/AnonymousX5 - 2025