£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyÊ¦•êŽ…È®FÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~èŠ©ÊÇí`ÔÑ©úë™µ'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ó¼ãžªéUWŸÈË%DÒÕ¬ï‘]/Åcx  ‰ï2ß]ä6G[]S£ÔÏ¯rs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ                  ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<html>

Rec           @` s   d  d l  m Z m Z m Z d  d l m Z d  d l m Z d  d l m	 Z	 d d l
 m Z d d l m Z d d	 l m Z d
   Z d e f d     YZ d e f d     YZ d e f d     YZ d e f d     YZ d e j f d     YZ d S(   i    (   t   absolute_importt   divisiont   unicode_literals(   t	   text_type(   t   OrderedDict(   t   etreei   (   t
   tag_regexpi   (   t   base(   t	   _ihatexmlc         C` s7   |  d  k r d  St |  t  r# |  S|  j d d  Sd  S(   Nu   asciiu   strict(   t   Nonet
   isinstanceR   t   decode(   t   s(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt
   ensure_str   s
    t   Rootc           B` s,   e  Z d    Z d   Z d   Z d   Z RS(   c         C` s  | |  _  g  |  _ yV | j j rg |  j j t |  t | j j  t | j j  t | j j	    n  Wn t
 k
 r{ n Xy | j   } Wn t
 k
 r | } n Xx" | j   d  k	 r | j   } q Wx, | d  k	 r |  j j |  | j   } q Wd  |  _ d  |  _ d  S(   N(   t   elementtreet   childrent   docinfot   internalDTDt   appendt   DoctypeR   t	   root_namet	   public_idt
   system_urlt   AttributeErrort   getroott   getpreviousR	   t   getnextt   textt   tail(   t   selft   ett   node(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   __init__   s*    		
	c         C` s   |  j  | S(   N(   R   (   R   t   key(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   __getitem__3   s    c         C` s   d  S(   N(   R	   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR   6   s    c         C` s   d S(   Ni   (    (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   __len__9   s    (   t   __name__t
   __module__R!   R#   R   R$   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR      s   			R   c           B` s   e  Z d    Z d   Z RS(   c         C` s:   | |  _  | |  _ | |  _ | |  _ d  |  _ d  |  _ d  S(   N(   t	   root_nodet   nameR   t	   system_idR	   R   R   (   R   R'   R(   R   R)   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR!   >   s    					c         C` s   |  j  j d S(   Ni   (   R'   R   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR   G   s    (   R%   R&   R!   R   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR   =   s   		t   FragmentRootc           B` s   e  Z d    Z d   Z RS(   c         C` s9   g  | D] } t  |  |  ^ q |  _ d  |  _ |  _ d  S(   N(   t   FragmentWrapperR   R	   R   R   (   R   R   t   child(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR!   L   s    %c         C` s   d  S(   N(   R	   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR   P   s    (   R%   R&   R!   R   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR*   K   s   	R+   c           B` sY   e  Z d    Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z	 d   Z
 RS(	   c         C` s|   | |  _  | |  _ t |  j d  r< t |  j j  |  _ n	 d  |  _ t |  j d  ro t |  j j  |  _ n	 d  |  _ d  S(   Nu   textu   tail(   R'   t   objt   hasattrR   R   R	   R   (   R   t   fragment_rootR-   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR!   U   s    			c         C` s   t  |  j |  S(   N(   t   getattrR-   (   R   R(   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   __getattr__a   s    c         C` sE   |  j  j } | j |   } | t |  d k  r= | | d Sd  Sd  S(   Ni   (   R'   R   t   indext   lenR	   (   R   t   siblingst   idx(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR   d   s
    c         C` s   |  j  | S(   N(   R-   (   R   R"   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR#   l   s    c         C` s   t  |  j  S(   N(   t   boolR-   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   __bool__o   s    c         C` s   d  S(   N(   R	   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt	   getparentr   s    c         C` s   t  |  j  S(   N(   t   strR-   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   __str__u   s    c         C` s   t  |  j  S(   N(   R9   R-   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   __unicode__x   s    c         C` s   t  |  j  S(   N(   R3   R-   (   R   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR$   {   s    (   R%   R&   R!   R1   R   R#   R7   R8   R:   R;   R$   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR+   T   s   								t
   TreeWalkerc           B` s5   e  Z d    Z d   Z d   Z d   Z d   Z RS(   c         C` sk   t  | t  r- t |  |  _ t |  } n t   |  _ t |  } t j j |  |  t	 j
   |  _ d  S(   N(   R
   t   listt   sett   fragmentChildrenR*   R   R   t   NonRecursiveTreeWalkerR!   R   t   InfosetFiltert   filter(   R   t   tree(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR!      s    c   	      C` s7  t  | t  rS | \ } } | d	 k s7 t d |   t j t t | |   f St  | t  rl t j f St  | t	  r t j
 | j | j | j f St  | t  r t | d  r t j t | j  f S| j t j k r t j t | j  f S| j t j k r#t j t | j  d d !f St j t | j   } | rV| j   \ } } n d  } t | j  } t   } x t | j j    D]n \ } } t |  } t |  } t j |  } | r| | | j  d  | j  d  f <q| | d  | f <qWt j! | |  j" j# |  | t$ |  d k p/| j f Sd  S(
   Nu   textu   tailu%   Text nodes are text or tail, found %su   tagi   ii   i    (   u   textu   tail(%   R
   t   tuplet   AssertionErrorR   t   TEXTR   R0   R   t   DOCUMENTR   t   DOCTYPER(   R   R)   R+   R.   R-   t   tagR   t   Commentt   COMMENTR   t   Entityt   ENTITYR   t   matcht   groupsR	   R   R=   t   attribt   itemst   groupt   ELEMENTRB   t   fromXmlNameR3   (	   R   R    R"   RN   t	   namespaceRI   t   attrsR(   t   value(    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   getNodeDetails   s:    
	"%c         C` s\   t  | t  s t d   t |  s= | j s= t d   | j rP | d f S| d Sd  S(   Nu   Text nodes have no childrenu   Node has no childrenu   texti    (   R
   RD   RE   R3   R   (   R   R    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   getFirstChild   s
    !	
c         C` s   t  | t  rk | \ } } | d k s7 t d |   | d k r^ t |  rW | d Sd  Sqk | j   Sn  | j r~ | d f S| j   S(   Nu   textu   tailu%   Text nodes are text or tail, found %si    (   u   textu   tail(   R
   RD   RE   R3   R	   R   R   (   R   R    R"   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   getNextSibling   s    c         C` sg   t  | t  rJ | \ } } | d k s7 t d |   | d k r] | Sn | |  j k r] d  S| j   S(   Nu   textu   tailu%   Text nodes are text or tail, found %s(   u   textu   tail(   R
   RD   RE   R?   R	   R8   (   R   R    R"   (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   getParentNode   s    (   R%   R&   R!   RX   RY   RZ   R[   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyR<      s
   		)			N(   t
   __future__R    R   R   t   pip._vendor.sixR   t   collectionsR   t   lxmlR   t   treebuilders.etreeR   t    R   R   R   t   objectR   R   R*   R+   R@   R<   (    (    (    s   /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/etree_lxml.pyt   <module>   s   		&	+