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/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/treewalkers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/treewalkers/etree.pyc
�
�2{Yc@`s�ddlmZmZmZyddlmZWn?ek
rqyddlmZWqrek
rmeZqrXnXddl	Z	e	j	Z
ddlZddlm
Z
ddlmZddlmZejd	�Zd
�Zee�ZdS(i(tabsolute_importtdivisiontunicode_literals(tOrderedDictN(t	text_typei(t_basei(tmoduleFactoryFactoryu
{([^}]*)}(.*)c`s>|}|jd�j�dtjf�fd��Y}t�S(Nuasdt
TreeWalkerc`s8eZdZ�fd�Zd�Zd�Zd�ZRS(u�Given the particular ElementTree representation, this implementation,
        to avoid using recursion, returns "nodes" as tuples with the following
        content:

        1. The current element

        2. The index of the element relative to its parent

        3. A stack of ancestor elements

        4. A flag "text", "tail" or None to indicate if the current node is a
           text node; either the text or tail of the current element (1)
        c`s�t|t�rL|\}}}}|dkrCtjt||�fS|}nt|d�sj|j�}n|jdkr�tjfS|jdkr�tj	|j
|jd�|jd�fS|j�kr�tj|j
fSt
|j�tkstt
|j���tj|j�}|r0|j�\}}nd}|j}t�}	xmt|jj��D]V\}
}tj|
�}|r�||	|jd	�|jd
�f<q^||	d|
f<q^Wtj|||	t|�p�|j
fSdS(
Nutextutailutagu
DOCUMENT_ROOTuDOCUMENT_FRAGMENTu
<!DOCTYPE>upublicIdusystemIdii(utextutail(u
DOCUMENT_ROOTuDOCUMENT_FRAGMENT(t
isinstancettupleRtTEXTtgetattrthasattrtgetrootttagtDOCUMENTtDOCTYPEttexttgettCOMMENTttypeRtAssertionErrort
tag_regexptmatchtgroupstNoneRtlisttattribtitemstgrouptELEMENTtlen(tselftnodetelttkeytparentstflagRt	namespaceRtattrstnametvalue(tElementTreeCommentType(sW/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/treewalkers/etree.pytgetNodeDetails)s8	
*		"%cS`s�t|t�r$|\}}}}n|dgdf\}}}}|dkrRdS|jrk|||dfSt|�r�|j|�|dd|dfSdSdS(Nutextutaili(utextutail(RR	RRRtappend(R R!telementR#R$R%((sW/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/treewalkers/etree.pyt
getFirstChildQs	
cS`s�t|t�r$|\}}}}ndS|dkrht|�ra|j|�|dd|dfSdSnc|jr�|dkr�|||dfS|t|d�dkr�|d|d|d|dfSdSdS(Nutextiutaili����i(RR	RRR,ttail(R R!R-R#R$R%((sW/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/treewalkers/etree.pytgetNextSiblingbs
 cS`s�t|t�r$|\}}}}ndS|dkrQ|s>|S|||dfSn9|j�}|sg|S|t|d�j|�|dfSdS(Nutexti����(RR	RtpopRtindex(R R!R-R#R$R%tparent((sW/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/treewalkers/etree.pyt
getParentNodevs(t__name__t
__module__t__doc__R+R.R0R4((R*(sW/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/treewalkers/etree.pyRs

(		(tCommentRRtNonRecursiveTreeWalkertlocals(tElementTreeImplementationtElementTreeR((R*sW/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/treewalkers/etree.pytgetETreeBuildersm(t
__future__RRRtcollectionsRtImportErrortordereddicttdicttgettextt_tretpip._vendor.sixRtRtutilsRtcompileRR=tgetETreeModule(((sW/opt/alt/python33/lib/python3.3/site-packages/pip/_vendor/html5lib/treewalkers/etree.pyt<module>s 

		s

https://t.me/AnonymousX5 - 2025