![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /lib/python3.8/site-packages/pip/_vendor/html5lib/treewalkers/__pycache__/ |
U ��.e� � @ sj d dl mZmZmZ d dlmZ d dlZd dlmZ ddl m Z ddlmZ e� d �Zd d� Zee�ZdS )� )�absolute_import�division�unicode_literals)�OrderedDictN)�string_types� )�base� )�moduleFactoryFactoryz {([^}]*)}(.*)c s, | }|� d�j� G � fdd�dtj�}t� S )NZasdc s4 e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Zd S )z#getETreeBuilder.<locals>.TreeWalkera� 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 sH t |t�r2|\}}}}|dkr.tjt||�fS |}t|d�sD|�� }|jdkrVtjfS |jdkr|tj |j |�d�|�d�fS |j� kr�tj|j fS t |jt �s�tt|j���t�|j�}|r�|�� \}}n d }|j}t� }t|j�� �D ]>\} } t�| �}|�r| ||�d�|�d�f<