%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/
Upload File :
Create Path :
Current File : //opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyc

�
�wMVc@`s�ddlmZmZmZddlmZddlZddlmZddlm	Z	ddlm
Z
ddlmZdd	lm
Z
dd
lmZddlmZmZddlmZdd
lmZddlmZmZddlmZmZmZddlmZmZddlmZdeed�Zddeed�Zd�Z de!fd��YZ"d�Z#dee$d�Z%de&fd��YZ'dS(i(tabsolute_importtdivisiontunicode_literals(twith_metaclassNi(tinputstream(t	tokenizer(ttreebuilders(tMarker(tutils(t	constants(tspaceCharacterstasciiUpper2Lower(tspecialElements(theadingElements(t
cdataElementstrcdataElements(t
tokenTypestReparseExceptiont
namespaces(thtmlIntegrationPointElementst"mathmlTextIntegrationPointElements(tadjustForeignAttributesuetreecC`s4tj|�}t|d|�}|j|d|�S(u.Parse a string or file-like object into a treetnamespaceHTMLElementstencoding(RtgetTreeBuildert
HTMLParsertparse(tdocttreebuilderRRttbtp((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsudivcC`s:tj|�}t|d|�}|j|d|d|�S(NRt	containerR(RRRt
parseFragment(RRRRRRR((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR sc`s dtf�fd��Y}|S(Nt	Decoratedc`seZ�fd�ZRS(c`s^xE|j�D]7\}}t|tj�r:�|�}n|||<q
Wtj||||�S(N(titemst
isinstancettypestFunctionTypettypet__new__(tmetat	classnametbasest	classDictt
attributeNamet	attribute(tfunction(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR'(s
(t__name__t
__module__R'((R.(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR!'s(R&(R.R!((R.sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytmethod_decorator_metaclass&sRcB`s�eZdZdejeeed�Zeddeed�Z	d�Z
d�Zd�Zd�Z
d�Zdeed	�Zddeed
�Zdid�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(uZHTML parser. Generates a tree structure from a stream of (possibly
        malformed) HTMLcC`s�||_|dkr'tjd�}n||�|_||_g|_tgt|�j	�D]$\}}||||j�f^q^�|_
dS(u�
        strict - raise an exception when a parse error is encountered

        tree - a treebuilder class controlling the type of tree that will be
        returned. Built in treebuilders can be accessed through
        html5lib.treebuilders.getTreeBuilder(treeType)

        tokenizer - a class that provides a stream of tokens to the treebuilder.
        This may be replaced for e.g. a sanitizer which converts some tags to
        text
        uetreeN(tstricttNoneRRttreettokenizer_classterrorstdictt	getPhasesR"tphases(tselfR4RR2Rtdebugtnametcls((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt__init__6s			udivcK`s�||_||_|j|d|d|d|d||�|_|j�x7tr�y|j�PWqLtk
r~|j�qLXqLWdS(NRt	parseMetat
useChardettparser(t
innerHTMLModeRR5RtresettTruetmainLoopR(R:tstreamt	innerHTMLRRR?R@tkwargs((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt_parsePs		
	

cC`s|jj�t|_g|_g|_d|_|jr�|jj	�|_
|j
tkrp|jj
|j_nH|j
tkr�|jj|j_n$|j
dkr�|jj|j_n|jd|_|jj�|j�nt|_
|jd|_d|_d|_t|_dS(Nu	no quirksu	plaintextu
beforeHtmluinitial(R4RCtFalset
firstStartTagR6tlogt
compatModeRBRtlowerRGRRtrcdataStatetstateRtrawtextStatetplaintextStateR9tphasetinsertHtmlElementtresetInsertionModeR3t	lastPhasetbeforeRCDataPhaseRDt
framesetOK(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRCbs*
					

			cC`se|jdkrK|jtdkrKd|jkoJ|jdjt�dkS|j|jftkSdS(Nuannotation-xmlumathmluencodingu	text/htmluapplication/xhtml+xml(u	text/htmluapplication/xhtml+xml(R<t	namespaceRt
attributest	translateRR(R:telement((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytisHTMLIntegrationPoint�s
cC`s|j|jftkS(N(RYR<R(R:R\((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytisMathMLTextIntegrationPoint�scC`s*td}td}td}td}td}td}td}x�|j�D]y}|}	x+|	dk	r�|jjr�|jjdnd}
|
r�|
jnd}|
r�|
jnd}|	d	}
|
|kr�|j|	d
|	jdi��d}	qbt	|jj�dks�||jj
ks�|j|
�rl|
|krZ|d
tddg�ks�|
||fks�|t
dkr�|dkr�|d
dks�|j|
�r�|
|||fkr�|j}n
|jd}|
|kr�|j|	�}	qb|
|kr|j|	�}	qb|
|kr/|j|	�}	qb|
|krM|j|	�}	qb|
|krk|j|	�}	qb|
|krb|j|	�}	qbqbW|
|krS|drS|drS|jdi|d
d
6�qSqSWt}g}xG|r%|j|j�|jj�}|r�|j|ks"t�q�q�WdS(Nu
CharactersuSpaceCharactersuStartTaguEndTaguCommentuDoctypeu
ParseErrori����utypeudataudatavarsiunameumglyphu
malignmarkumathmluannotation-xmlusvguinForeignContentuselfClosinguselfClosingAcknowledgedu&non-void-element-with-trailing-solidus(RtnormalizedTokensR3R4topenElementsRYR<t
parseErrortgettlentdefaultNamespaceR^t	frozensetRR]RSR9tprocessCharacterstprocessSpaceCharacterstprocessStartTagt
processEndTagtprocessCommenttprocessDoctypeRDtappendt
processEOFtAssertionError(R:tCharactersTokentSpaceCharactersTokent
StartTagTokentEndTagTokentCommentTokentDoctypeTokentParseErrorTokenttokent	new_tokentcurrentNodetcurrentNodeNamespacetcurrentNodeNameR&RSt	reprocessR9((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRE�sj






"
 	
		cc`s&x|jD]}|j|�Vq
WdS(N(RtnormalizeToken(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR_�sc
C`s2|j|dtd|d|d|�|jj�S(ufParse a HTML document into a well-formed tree

        stream - a filelike object or string containing the HTML to be parsed

        The optional encoding parameter must be a string that indicates
        the encoding.  If specified, that encoding will be used,
        regardless of any BOM or later declaration (such as in a meta
        element)
        RGRR?R@(RIRJR4tgetDocument(R:RFRR?R@((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s

cC`s)|j|td|d|�|jj�S(u�Parse a HTML fragment into a well-formed tree fragment

        container - name of the element we're setting the innerHTML property
        if set to None, default to 'div'

        stream - a filelike object or string containing the HTML to be parsed

        The optional encoding parameter must be a string that indicates
        the encoding.  If specified, that encoding will be used,
        regardless of any BOM or later declaration (such as in a meta
        element)
        RR(RIRDR4tgetFragment(R:RFRRR?R@((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR �suXXX-undefined-errorcC`s;|jj|jjj�||f�|jr7t�ndS(N(R6RlRRFtpositionR2t
ParseError(R:t	errorcodetdatavars((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRa�s%	cC`s<|dtdkr8t|dddd��|d<n|S(u3 HTML5 specific normalizations to the token stream utypeuStartTagudataNi����(RR7(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR|�s$cC`sbidd6}xN|j�D]@\}}||dkr|d||d|<|d|=qqWdS(Nu
definitionURLu
definitionurludata(R"(R:Rvtreplacementstktv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytadjustMathMLAttributess

cC`si>dd6dd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d)d*6d+d,6d-d.6d/d06d1d26d3d46d5d66d7d86d9d:6d;d<6d=d>6d?d@6dAdB6dCdD6dEdF6dGdH6dIdJ6dKdL6dMdN6dOdP6dQdR6dSdT6dUdV6dWdX6dYdZ6d[d\6d]d^6d_d`6dadb6dcdd6dedf6dgdh6didj6dkdl6dmdn6dodp6dqdr6dsdt6dudv6dwdx6dydz6d{d|6}xXt|d}j��D]@}||kr�||}|d}||d}|<|d}|=q�q�WdS(~Nu
attributeNameu
attributenameu
attributeTypeu
attributetypeu
baseFrequencyu
basefrequencyubaseProfileubaseprofileucalcModeucalcmodeu
clipPathUnitsu
clippathunitsucontentScriptTypeucontentscripttypeucontentStyleTypeucontentstyletypeudiffuseConstantudiffuseconstantuedgeModeuedgemodeuexternalResourcesRequireduexternalresourcesrequiredu	filterResu	filterresufilterUnitsufilterunitsuglyphRefuglyphrefugradientTransformugradienttransformu
gradientUnitsu
gradientunitsukernelMatrixukernelmatrixukernelUnitLengthukernelunitlengthu	keyPointsu	keypointsu
keySplinesu
keysplinesukeyTimesukeytimesulengthAdjustulengthadjustulimitingConeAngleulimitingconeangleumarkerHeightumarkerheightumarkerUnitsumarkerunitsumarkerWidthumarkerwidthumaskContentUnitsumaskcontentunitsu	maskUnitsu	maskunitsu
numOctavesu
numoctavesu
pathLengthu
pathlengthupatternContentUnitsupatterncontentunitsupatternTransformupatterntransformupatternUnitsupatternunitsu	pointsAtXu	pointsatxu	pointsAtYu	pointsatyu	pointsAtZu	pointsatzu
preserveAlphau
preservealphaupreserveAspectRatioupreserveaspectratiouprimitiveUnitsuprimitiveunitsurefXurefxurefYurefyurepeatCounturepeatcountu	repeatDuru	repeatdururequiredExtensionsurequiredextensionsurequiredFeaturesurequiredfeaturesuspecularConstantuspecularconstantuspecularExponentuspecularexponentuspreadMethoduspreadmethodustartOffsetustartoffsetustdDeviationustddeviationustitchTilesustitchtilesusurfaceScaleusurfacescaleusystemLanguageusystemlanguageutableValuesutablevaluesutargetXutargetxutargetYutargetyu
textLengthu
textlengthuviewBoxuviewboxu
viewTargetu
viewtargetuxChannelSelectoruxchannelselectoruyChannelSelectoruychannelselectoru
zoomAndPanu
zoomandpanudata(tlisttkeys(R:RvR�toriginalNametsvgName((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytadjustSVGAttributes	s�

cC`s_t}xR|dj�D]@}||kr||}|d||d|<|d|=qqWdS(Nudata(tadjustForeignAttributesMapR�(R:RvR�R�tforeignName((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRPs
cC`s|jj�dS(N(RARS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytreparseTokenNormalYscC`s]t}idd6dd6dd6dd6dd	6dd
6dd6dd
6dd6dd6dd6dd6dd6dd6}x�|jjddd�D]�}|j}d}||jjdkr�|js�t�t}|j}n|dkr�|js�t�n|r|j|jj	krq�n||kr5|j
||}Pq�|r�|j
d}Pq�q�W||_dS(NuinSelectuselectuinCellutduthuinRowutruinTableBodyutbodyutheadutfootu	inCaptionucaptionu
inColumnGroupucolgroupuinTableutableuinBodyuheadubodyu
inFramesetuframesetu
beforeHeaduhtmli����i(uselectucolgroupuheaduhtml(RJR4R`R<R3RGRnRDRYRdR9RS(R:tlasttnewModestnodetnodeNamet	new_phase((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRU\sD
 	
cC`su|dkst�|jj|�|dkrC|jj|j_n|jj|j_|j|_|j	d|_dS(uYGeneric RCDATA/RAWTEXT Parsing algorithm
        contentType - RCDATA or RAWTEXT
        uRAWTEXTuRCDATAutextN(uRAWTEXTuRCDATA(
RnR4t
insertElementRRQRPRORSt
originalPhaseR9(R:RvtcontentType((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytparseRCDataRawtext�sN(R/R0t__doc__R3Rt
HTMLTokenizerRJRDR>RIRCR]R^RER_RR RaR|R�R�RR�RUR�(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR2s*		"	
		@				G				,c`s1d�}d�}dt|||��fd��Y�d�fd��Y}d�fd��Y}d	�f�fd
��Y}d�f�fd��Y}d
�f�fd��Y}d�f�fd��Y}d�f�fd��Y}	d�f�fd��Y}
d�f�fd��Y}d�f�fd��Y}d�f�fd��Y}
d�f�fd��Y}d�f�fd��Y}d�f�fd ��Y}d!�f�fd"��Y}d#�f�fd$��Y}d%�f�fd&��Y}d'�f�fd(��Y}d)�f�fd*��Y}d+�f�fd,��Y}d-�f�fd.��Y}d/�f�fd0��Y}i|d16|d26|d36|d46|d56|d66|	d76|
d86|d96|d:6|
d;6|d<6|d=6|d>6|d?6|d@6|dA6|dB6|dC6|dD6|dE6|dF6S(GNc`s5td�tjj�D�����fd�}|S(u4Logger that records which phase processes each tokencs`s!|]\}}||fVqdS(N((t.0tkeytvalue((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pys	<genexpr>�sc`s��jjd�r�t|�dkr�|d}yi�|dd6}Wn
�nX|dtjkrx|d|d<n|jjj|jjj	j|jj
jj|jj�j|f��|||�S�|||�SdS(Nuprocessiutypeuname(R/t
startswithRcR	t
tagTokenTypesRARLRlRRPRSt	__class__(R:targsRHRvtinfo(R.t
type_names(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytwrapped�s$
	
(R7R	RR"(R.R�((R.R�sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRL�s	cS`s|rt|�StSdS(N(R1R&(t
use_metaclasstmetaclass_func((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytgetMetaclass�s
tPhasecB`s_eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
uNBase class for helper object that implements each phase of processing
        cS`s||_||_dS(N(RAR4(R:RAR4((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�s	cS`s
t�dS(N(tNotImplementedError(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�scS`s!|jj||jjd�dS(Ni����(R4t
insertCommentR`(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRj�scS`s|jjd�dS(Nuunexpected-doctype(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk�scS`s|jj|d�dS(Nudata(R4t
insertText(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�scS`s|jj|d�dS(Nudata(R4R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRg�scS`s|j|d|�S(Nuname(tstartTagHandler(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRh�scS`s�|jjr0|ddkr0|jjd�nxQ|dj�D]?\}}||jjdjkrA||jjdj|<qAqAWt|j_dS(Nunameuhtmlu
non-html-rootudatai(RARKRaR"R4R`RZRJ(R:RvtattrR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagHtml�scS`s|j|d|�S(Nuname(t
endTagHandler(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRi�s(R/R0R�R>RmRjRkRfRgRhR�Ri(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s								
tInitialPhasecB`sPeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(cS`sdS(N((R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRg�scS`s|jj||jj�dS(N(R4R�tdocument(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRj�sc=S`su|d}|d}|d}|d}|dksX|dk	sX|dk	rk|dkrk|jjd�n|dkr�d}n|jj|�|dkr�|jt�}n|s|ddks|jdJ�s|dKks|jdL�r�|dks|r"|j�dDkr"dE|j_	n9|jdM�sL|jdN�r[|dk	r[dH|j_	n|jj
dI|j_dS(ONunameupublicIdusystemIducorrectuhtmluabout:legacy-compatuunknown-doctypeuu*+//silmaril//dtd html pro v0r11 19970101//u4-//advasoft ltd//dtd html 3.0 aswedit + extensions//u*-//as//dtd html 3.0 aswedit + extensions//u-//ietf//dtd html 2.0 level 1//u-//ietf//dtd html 2.0 level 2//u&-//ietf//dtd html 2.0 strict level 1//u&-//ietf//dtd html 2.0 strict level 2//u-//ietf//dtd html 2.0 strict//u-//ietf//dtd html 2.0//u-//ietf//dtd html 2.1e//u-//ietf//dtd html 3.0//u-//ietf//dtd html 3.2 final//u-//ietf//dtd html 3.2//u-//ietf//dtd html 3//u-//ietf//dtd html level 0//u-//ietf//dtd html level 1//u-//ietf//dtd html level 2//u-//ietf//dtd html level 3//u"-//ietf//dtd html strict level 0//u"-//ietf//dtd html strict level 1//u"-//ietf//dtd html strict level 2//u"-//ietf//dtd html strict level 3//u-//ietf//dtd html strict//u-//ietf//dtd html//u(-//metrius//dtd metrius presentational//u5-//microsoft//dtd internet explorer 2.0 html strict//u.-//microsoft//dtd internet explorer 2.0 html//u0-//microsoft//dtd internet explorer 2.0 tables//u5-//microsoft//dtd internet explorer 3.0 html strict//u.-//microsoft//dtd internet explorer 3.0 html//u0-//microsoft//dtd internet explorer 3.0 tables//u#-//netscape comm. corp.//dtd html//u*-//netscape comm. corp.//dtd strict html//u*-//o'reilly and associates//dtd html 2.0//u3-//o'reilly and associates//dtd html extended 1.0//u;-//o'reilly and associates//dtd html extended relaxed 1.0//uN-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//uE-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//u$-//spyglass//dtd html 2.0 extended//u+-//sq//dtd html 2.0 hotmetal + extensions//u--//sun microsystems corp.//dtd hotjava html//u4-//sun microsystems corp.//dtd hotjava strict html//u-//w3c//dtd html 3 1995-03-24//u-//w3c//dtd html 3.2 draft//u-//w3c//dtd html 3.2 final//u-//w3c//dtd html 3.2//u-//w3c//dtd html 3.2s draft//u-//w3c//dtd html 4.0 frameset//u#-//w3c//dtd html 4.0 transitional//u(-//w3c//dtd html experimental 19960712//u&-//w3c//dtd html experimental 970421//u-//w3c//dtd w3 html//u-//w3o//dtd w3 html 3.0//u#-//webtechs//dtd mozilla html 2.0//u-//webtechs//dtd mozilla html//u$-//w3o//dtd w3 html strict 3.0//en//u"-/w3c/dtd html 4.0 transitional/enu -//w3c//dtd html 4.01 frameset//u$-//w3c//dtd html 4.01 transitional//u:http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtduquirksu -//w3c//dtd xhtml 1.0 frameset//u$-//w3c//dtd xhtml 1.0 transitional//ulimited quirksu
beforeHtml(7u*+//silmaril//dtd html pro v0r11 19970101//u4-//advasoft ltd//dtd html 3.0 aswedit + extensions//u*-//as//dtd html 3.0 aswedit + extensions//u-//ietf//dtd html 2.0 level 1//u-//ietf//dtd html 2.0 level 2//u&-//ietf//dtd html 2.0 strict level 1//u&-//ietf//dtd html 2.0 strict level 2//u-//ietf//dtd html 2.0 strict//u-//ietf//dtd html 2.0//u-//ietf//dtd html 2.1e//u-//ietf//dtd html 3.0//u-//ietf//dtd html 3.2 final//u-//ietf//dtd html 3.2//u-//ietf//dtd html 3//u-//ietf//dtd html level 0//u-//ietf//dtd html level 1//u-//ietf//dtd html level 2//u-//ietf//dtd html level 3//u"-//ietf//dtd html strict level 0//u"-//ietf//dtd html strict level 1//u"-//ietf//dtd html strict level 2//u"-//ietf//dtd html strict level 3//u-//ietf//dtd html strict//u-//ietf//dtd html//u(-//metrius//dtd metrius presentational//u5-//microsoft//dtd internet explorer 2.0 html strict//u.-//microsoft//dtd internet explorer 2.0 html//u0-//microsoft//dtd internet explorer 2.0 tables//u5-//microsoft//dtd internet explorer 3.0 html strict//u.-//microsoft//dtd internet explorer 3.0 html//u0-//microsoft//dtd internet explorer 3.0 tables//u#-//netscape comm. corp.//dtd html//u*-//netscape comm. corp.//dtd strict html//u*-//o'reilly and associates//dtd html 2.0//u3-//o'reilly and associates//dtd html extended 1.0//u;-//o'reilly and associates//dtd html extended relaxed 1.0//uN-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//uE-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//u$-//spyglass//dtd html 2.0 extended//u+-//sq//dtd html 2.0 hotmetal + extensions//u--//sun microsystems corp.//dtd hotjava html//u4-//sun microsystems corp.//dtd hotjava strict html//u-//w3c//dtd html 3 1995-03-24//u-//w3c//dtd html 3.2 draft//u-//w3c//dtd html 3.2 final//u-//w3c//dtd html 3.2//u-//w3c//dtd html 3.2s draft//u-//w3c//dtd html 4.0 frameset//u#-//w3c//dtd html 4.0 transitional//u(-//w3c//dtd html experimental 19960712//u&-//w3c//dtd html experimental 970421//u-//w3c//dtd w3 html//u-//w3o//dtd w3 html 3.0//u#-//webtechs//dtd mozilla html 2.0//u-//webtechs//dtd mozilla html//(u$-//w3o//dtd w3 html strict 3.0//en//u"-/w3c/dtd html 4.0 transitional/enuhtml(u -//w3c//dtd html 4.01 frameset//u$-//w3c//dtd html 4.01 transitional//(u -//w3c//dtd xhtml 1.0 frameset//u$-//w3c//dtd xhtml 1.0 transitional//(u -//w3c//dtd html 4.01 frameset//u$-//w3c//dtd html 4.01 transitional//(R3RARaR4t
insertDoctypeR[RR�RNRMR9RS(R:RvR<tpublicIdtsystemIdtcorrect((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk�s�



						cS`s&d|j_|jjd|j_dS(Nuquirksu
beforeHtml(RARMR9RS(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytanythingElseJscS`s|jjd�|j�|S(Nuexpected-doctype-but-got-chars(RARaR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRfNs
cS`s,|jjdi|dd6�|j�|S(Nu"expected-doctype-but-got-start-taguname(RARaR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRhSs
cS`s,|jjdi|dd6�|j�|S(Nu expected-doctype-but-got-end-taguname(RARaR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRiYs
cS`s|jjd�|j�tS(Nuexpected-doctype-but-got-eof(RARaR�RD(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm_s
(
R/R0RgRjRkR�RfRhRiRm(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s			`				tBeforeHtmlPhasecB`sGeZd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cS`s3|jjtdd��|jjd|j_dS(NuhtmluStartTagu
beforeHead(R4t
insertRoottimpliedTagTokenRAR9RS(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRTfscS`s|j�tS(N(RTRD(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRmks
cS`s|jj||jj�dS(N(R4R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRjoscS`sdS(N((R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRgrscS`s|j�|S(N(RT(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRfus
cS`s-|ddkrt|j_n|j�|S(Nunameuhtml(RDRARKRT(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRhys
cS`sC|ddkr1|jjdi|dd6�n|j�|SdS(Nunameuheadubodyuhtmlubruunexpected-end-tag-before-html(uheadubodyuhtmlubr(RARaRT(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRis

(	R/R0RTRmRjRgRfRhRi(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�ds						tBeforeHeadPhasec`s_eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	c`s}�j|||�tjd|jfd|jfg�|_|j|j_tjd|jfg�|_	|j
|j	_dS(Nuhtmluheadubodyubr(uheadubodyuhtmlubr(R>RtMethodDispatcherR�tstartTagHeadR�t
startTagOthertdefaulttendTagImplyHeadR�tendTagOther(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�scS`s|jtdd��tS(NuheaduStartTag(R�R�RD(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�scS`sdS(N((R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRg�scS`s|jtdd��|S(NuheaduStartTag(R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�scS`s|jjdj|�S(NuinBody(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s@|jj|�|jjd|j_|jjd|j_dS(Ni����uinHead(R4R�R`theadPointerRAR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s|jtdd��|S(NuheaduStartTag(R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s|jtdd��|S(NuheaduStartTag(R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s"|jjdi|dd6�dS(Nuend-tag-after-implied-rootuname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s(R/R0R>RmRgRfR�R�R�R�R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s							tInHeadPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�ZRS(c
`s��j|||�tjd|jfd|jfd|jfd|jfd|jfd|jfd
|j	fg�|_
|j|j
_tjd
|j
fd|jfg�|_|j|j_dS(Nuhtmlutitleunoscriptunoframesustyleuscriptubaseubasefontubgsounducommandulinkumetauheadubrubody(unoscriptunoframesustyle(ubaseubasefontubgsounducommandulink(ubruhtmlubody(R>RR�R�t
startTagTitletstartTagNoScriptNoFramesStyletstartTagScripttstartTagBaseLinkCommandtstartTagMetaR�R�R�R�t
endTagHeadtendTagHtmlBodyBrR�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�s	cS`s|j�tS(N(R�RD(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�s
cS`s|j�|S(N(R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�s
cS`s|jjdj|�S(NuinBody(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s|jjd�dS(Nu!two-heads-are-not-better-than-one(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s.|jj|�|jjj�t|d<dS(NuselfClosingAcknowledged(R4R�R`tpopRD(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s�|jj|�|jjj�t|d<|d}|jjjjddkr�d|kry|jjjj	|d�q�d|kr�d|kr�|dj
�dkr�tj|dj
d	��}tj|�}|j�}|jjjj	|�q�ndS(
NuselfClosingAcknowledgedudataiu	tentativeucharsetucontentu
http-equivucontent-typeuutf-8(R4R�R`R�RDRARRFtcharEncodingtchangeEncodingRNRt
EncodingBytestencodetContentAttrParserR(R:RvRZtdataRAtcodec((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s

cS`s|jj|d�dS(NuRCDATA(RAR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s|jj|d�dS(NuRAWTEXT(RAR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`sT|jj|�|jjj|jj_|jj|j_|jjd|j_dS(Nutext(	R4R�RARtscriptDataStateRPRSR�R9(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s|j�|S(N(R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s
cS`sQ|jjjj�}|jdks7td|j��|jjd|j_dS(NuheaduExpected head got %su	afterHead(RAR4R`R�R<RnR9RS(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s"cS`s|j�|S(N(R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�
s
cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�scS`s|jtd��dS(Nuhead(R�R�(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s(R/R0R>RmRfR�R�R�R�R�R�R�R�R�R�R�R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s													tAfterHeadPhasec`szeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
RS(c
`s��j|||�tjd|jfd|jfd|jfd|jfd
|jfg�|_|j	|j_
tjd|jfg�|_|j
|j_
dS(Nuhtmlubodyuframesetubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitleuheadubr(	ubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitle(ubodyuhtmlubr(R>RR�R�tstartTagBodytstartTagFramesettstartTagFromHeadR�R�R�R�R�R�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>s		cS`s|j�tS(N(R�RD(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm*s
cS`s|j�|S(N(R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf.s
cS`s|jjdj|�S(NuinBody(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�2scS`s6t|j_|jj|�|jjd|j_dS(NuinBody(RJRARXR4R�R9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�5scS`s*|jj|�|jjd|j_dS(Nu
inFrameset(R4R�RAR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�:scS`s�|jjdi|dd6�|jjj|jj�|jjdj|�xG|jjddd�D],}|jdkrh|jjj	|�PqhqhWdS(Nu#unexpected-start-tag-out-of-my-headunameuinHeadi����uhead(
RARaR4R`RlR�R9RhR<tremove(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�>s cS`s"|jjdi|dd6�dS(Nuunexpected-start-taguname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�HscS`s|j�|S(N(R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Ks
cS`s|j�|S(N(R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Os
cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�SscS`s?|jjtdd��|jjd|j_t|j_dS(NubodyuStartTaguinBody(R4R�R�RAR9RSRDRX(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Vs(R/R0R>RmRfR�R�R�R�R�R�R�R�R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s						
				tInBodyPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d �Z"d!�Z#d"�Z$d#�Z%d$�Z&d%�Z'd&�Z(d'�Z)d(�Z*d)�Z+d*�Z,d+�Z-d,�Z.d-�Z/d.�Z0d/�Z1d0�Z2d1�Z3RS(2c+`s]�j|||�|j|_tjd|jfdd|jfd|jfd
|jfde|j	ft
|jfdf|jfd'|j
fdg|jfd+|jfd,|jfdh|jfd9|jfd:|jfdi|jfd>|jfd?|jfdj|jfdk|jfdI|jfdJ|jfdK|jfdL|jfdM|jfdN|jfdl|jfdQ|j fdm|j!fdn|j"fdV|j#fdW|j$fdo|j%fg �|_&|j'|j&_(tjd|j)fd|j*fdp|j+fd'|j,fd!|j-fdq|j.ft
|j/fdr|j0fds|j1fdA|j2fg
�|_3|j4|j3_(dS(tNuhtmlubaseubasefontubgsounducommandulinkumetaunoframesuscriptustyleutitleubodyuframesetuaddressuarticleuasideu
blockquoteucenterudetailsudirudivudlufieldsetu
figcaptionufigureufooteruheaderuhgroupumainumenuunavuolupusectionusummaryuulupreulistinguformuliuddudtu	plaintextuaububigucodeuemufontuiususmallustrikeustronguttuuunobrubuttonuappletumarqueeuobjectuxmputableuareaubruembeduimgukeygenuwbruparamusourceutrackuinputuhruimageuisindexutextareauiframeunoembedunoscriptuselecturpurtuoptionuoptgroupumathusvgucaptionucolucolgroupuframeuheadutbodyutdutfootuthutheadutrudialog(
ubaseubasefontubgsounducommandulinkumetaunoframesuscriptustyleutitle(uaddressuarticleuasideu
blockquoteucenterudetailsudetailsudirudivudlufieldsetu
figcaptionufigureufooteruheaderuhgroupumainumenuunavuolupusectionusummaryuul(upreulisting(uliuddudt(ububigucodeuemufontuiususmallustrikeustronguttuu(uappletumarqueeuobject(uareaubruembeduimgukeygenuwbr(uparamusourceutrack(unoembedunoframesunoscript(urpurt(uoptionuoptgroup(ucaptionucolucolgroupuframeuheadutbodyutdutfootuthutheadutr(uaddressuarticleuasideu
blockquoteubuttonucenterudetailsudialogudirudivudlufieldsetu
figcaptionufigureufooteruheaderuhgroupulistingumainumenuunavuolupreusectionusummaryuul(uddudtuli(uaububigucodeuemufontuiunobrususmallustrikeustronguttuu(uappletumarqueeuobject(5R>RgtprocessSpaceCharactersNonPreRR�R�tstartTagProcessInHeadR�R�tstartTagClosePR
tstartTagHeadingtstartTagPreListingtstartTagFormtstartTagListItemtstartTagPlaintextt	startTagAtstartTagFormattingtstartTagNobrtstartTagButtontstartTagAppletMarqueeObjecttstartTagXmpt
startTagTabletstartTagVoidFormattingtstartTagParamSourcet
startTagInputt
startTagHrt
startTagImagetstartTagIsIndextstartTagTextareatstartTagIFrametstartTagRawtexttstartTagSelecttstartTagRpRttstartTagOpttstartTagMathtstartTagSvgtstartTagMisplacedR�R�R�t
endTagBodyt
endTagHtmltendTagBlockt
endTagFormtendTagPtendTagListItemt
endTagHeadingtendTagFormattingtendTagAppletMarqueeObjecttendTagBrR�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>^s|			cS`s�|j|jks$|j|jkr(tSt|j�t|j�krJtSt|jj��}t|jj��}x-t||�D]\}}||kr�tSq�WtS(N(	R<RYRJRcRZtsortedR"tzipRD(R:tnode1tnode2tattributes1tattributes2tattr1tattr2((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytisMatchingFormattingElement�s$cS`s�|jj|�|jjd}g}xS|jjddd�D]8}|tkrVPq@|j||�r@|j|�q@q@Wt|�dks�t�t|�dkr�|jjj	|d�n|jjj|�dS(Ni����i(
R4R�R`tactiveFormattingElementsRRRlRcRnR�(R:RvR\tmatchingElementsR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytaddFormattingElement�s c
S`sWtd�}xD|jjddd
�D])}|j|kr&|jjd�Pq&q&WdS(Nuddudtuliuputbodyutdutfootuthutheadutrubodyuhtmli����u expected-closing-tag-but-got-eof(uddudtuliuputbodyutdutfootuthutheadutrubodyuhtml(ReR4R`R<RARa(R:tallowed_elementsR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�s	 cS`s�|d}|j|_|jd�rb|jjdjdkrb|jjdj�rb|d}n|r�|jj�|jj|�ndS(	Nudatau
i����upreulistingutextareai(upreulistingutextarea(	R�RgR�R4R`R<t
hasContentt#reconstructActiveFormattingElementsR�(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt!processSpaceCharactersDropNewline�s


cS`s}|ddkrdS|jj�|jj|d�|jjrytg|dD]}|tk^qO�ryt|j_ndS(Nudatau(R4RR�RARXtanyR
RJ(R:Rvtchar((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�s
#cS`s%|jj�|jj|d�dS(Nudata(R4RR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRg�s
cS`s|jjdj|�S(NuinHead(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s�|jjdidd6�t|jj�dksK|jjdjdkr`|jjs�t�n`t|j_	xQ|dj
�D]?\}}||jjdjkr}||jjdj|<q}q}WdS(Nuunexpected-start-tagubodyunameiudata(RARaRcR4R`R<RGRnRJRXR"RZ(R:RvR�R�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s|jjdidd6�t|jj�dksK|jjdjdkr`|jjs�t�n�|jjson�|jjdj	r�|jjdj	j
|jjd�nx-|jjdjdkr�|jjj�q�W|jj|�|jj
d|j_dS(	Nuunexpected-start-taguframesetunameiubodyi����uhtmlu
inFrameset(RARaRcR4R`R<RGRnRXtparenttremoveChildR�R�R9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s1'cS`sB|jjddd�r.|jtd��n|jj|�dS(Nuptvariantubutton(R4telementInScopeR�R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�scS`sZ|jjddd�r.|jtd��n|jj|�t|j_|j|_	dS(NupRubutton(
R4RR�R�R�RJRARXRRg(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s
cS`s�|jjr)|jjdidd6�nT|jjddd�rW|jtd��n|jj|�|jjd|j_dS(Nuunexpected-start-taguformunameupRubuttoni����(	R4tformPointerRARaRR�R�R�R`(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�scS`st|j_idgd6ddgd6ddgd6}||d}xnt|jj�D]Z}|j|kr�|jjjt	|jd��Pn|j
tkrW|jdkrWPqWqWW|jjdd	d
�r�|jjjt	dd��n|jj
|�dS(NuliudtuddunameuEndTaguaddressudivupRubutton(uaddressudivup(RJRARXtreversedR4R`R<RSRiR�t	nameTupleRRR�(R:RvtstopNamesMapt	stopNamesR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s"

cS`sZ|jjddd�r.|jtd��n|jj|�|jjj|jj_dS(NupRubutton(	R4RR�R�R�RARRRRP(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�1scS`s�|jjddd�r.|jtd��n|jjdjtkrx|jjdi|dd6�|jjj	�n|jj
|�dS(NupRubuttoni����uunexpected-start-taguname(R4RR�R�R`R<R
RARaR�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�7scS`s�|jjd�}|r�|jjdidd6dd6�|jtd��||jjkrt|jjj|�n||jjkr�|jjj|�q�n|jj	�|j
|�dS(Nuau$unexpected-start-tag-implies-end-tagu	startNameuendName(R4t!elementInActiveFormattingElementsRARaR�R�R`R�R	RR(R:RvtafeAElement((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�?s
cS`s|jj�|j|�dS(N(R4RR(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Ls
cS`st|jj�|jjd�rc|jjdidd6dd6�|jtd��|jj�n|j|�dS(Nunobru$unexpected-start-tag-implies-end-tagu	startNameuendName(R4RRRARaRiR�R(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Ps
cS`sw|jjd�rJ|jjdidd6dd6�|jtd��|S|jj�|jj|�t|j_	dS(Nubuttonu$unexpected-start-tag-implies-end-tagu	startNameuendName(
R4RRARaRiR�RR�RJRX(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Zs
cS`s@|jj�|jj|�|jjjt�t|j_dS(N(	R4RR�R	RlRRJRARX(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�es
cS`s^|jjddd�r.|jtd��n|jj�t|j_|jj|d�dS(NupRubuttonuRAWTEXT(	R4RR�R�RRJRARXR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�ks

cS`sy|jjdkrC|jjddd�rC|jtd��qCn|jj|�t|j_|jj	d|j_
dS(NuquirksupRubuttonuinTable(RARMR4RRiR�R�RJRXR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�rscS`sG|jj�|jj|�|jjj�t|d<t|j_dS(NuselfClosingAcknowledged(	R4RR�R`R�RDRJRARX(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�zs


cS`sY|jj}|j|�d|dkrU|ddjt�dkrU||j_ndS(Nutypeudatauhidden(RARXR�R[R(R:RvRX((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s

cS`s.|jj|�|jjj�t|d<dS(NuselfClosingAcknowledged(R4R�R`R�RD(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`sh|jjddd�r.|jtd��n|jj|�|jjj�t|d<t|j	_
dS(NupRubuttonuselfClosingAcknowledged(R4RR�R�R�R`R�RDRJRARX(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s
c	S`sO|jjdidd6dd6�|jtddd|dd	|d
��dS(Nuunexpected-start-tag-treated-asuimageuoriginalNameuimgunewNameuStartTagRZudatatselfClosinguselfClosing(RARaRhR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s

c	S`s�|jjdidd6�|jjr*dSi}d|dkrU|dd|d<n|jtddd|��|jtd	d��|jtd
d��d|dkr�|dd}nd}|jitd
d6|d6�|dj�}d|kr	|d=nd|kr|d=nd|d<|jtddd|d|d��|j	td
��|jtd	d��|j	td��dS(Nudeprecated-taguisindexunameuactionudatauformuStartTagRZuhrulabelupromptu3This is a searchable index. Enter search keywords: u
CharactersutypeuinputRuselfClosing(
RARaR4RRhR�RfRtcopyRi(R:Rvt
form_attrstpromptRZ((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s6



cS`sD|jj|�|jjj|jj_|j|_t|j_	dS(N(
R4R�RARRORPRRgRJRX(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`st|j_|j|�dS(N(RJRARXR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s|jj|d�dS(u8iframe, noembed noframes, noscript(if scripting enabled)uRAWTEXTN(RAR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`sY|jjdjdkr5|jjjtd��n|jj�|jjj|�dS(Ni����uoption(	R4R`R<RARSRiR�RR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s
cS`s�|jj�|jj|�t|j_|jj|jjd|jjd|jjd|jjd|jjd|jjdfkr�|jjd|j_n|jjd|j_dS(	NuinTableu	inCaptionu
inColumnGroupuinTableBodyuinRowuinCelluinSelectInTableuinSelect(R4RR�RJRARXRSR9(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s




cS`s_|jjd�rK|jj�|jjdjdkrK|jj�qKn|jj|�dS(Nurubyi����(R4RtgenerateImpliedEndTagsR`R<RARaR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s

cS`sv|jj�|jj|�|jj|�td|d<|jj|�|drr|jjj�t	|d<ndS(Numathmlu	namespaceuselfClosinguselfClosingAcknowledged(
R4RRAR�RRR�R`R�RD(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s

cS`sv|jj�|jj|�|jj|�td|d<|jj|�|drr|jjj�t	|d<ndS(Nusvgu	namespaceuselfClosinguselfClosingAcknowledged(
R4RRAR�RRR�R`R�RD(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s

cS`s"|jjdi|dd6�dS(u5 Elements that should be children of other elements that have a
            different insertion mode; here they are ignored
            "caption", "col", "colgroup", "frame", "frameset", "head",
            "option", "optgroup", "tbody", "td", "tfoot", "th", "thead",
            "tr", "noscript"
            uunexpected-start-tag-ignoredunameN(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s!|jj�|jj|�dS(N(R4RR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s
cS`s�|jjddd�sa|jtdd��|jjdidd6�|jtdd��n�|jjd�|jjdj	dkr�|jjdidd6�n|jjj
�}x%|j	dkr�|jjj
�}q�WdS(	NupRubuttonuStartTaguunexpected-end-tagunameuEndTagi����(R4RR�R�RARaR�R!R`R<R�(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�scS`s�|jjd�s#|jj�dS|jjdjdkr�xX|jjdD]C}|jtd�krM|jjdidd6|jd6�PqMqMWn|jjd|j_dS(Nubodyi����iuddudtuliuoptgroupuoptionupurpurtutbodyutdutfootuthutheadutruhtmlu$expected-one-end-tag-but-got-anotheruexpectedNameugotNameu	afterBody(uddudtuliuoptgroupuoptionupurpurtutbodyutdutfootuthutheadutrubodyuhtml(	R4RRARaR`R<ReR9RS(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s
		cS`s-|jjd�r)|jtd��|SdS(Nubody(R4RR�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�+scS`s�|ddkr|j|_n|jj|d�}|rK|jj�n|jjdj|dkr�|jjdi|dd6�n|r�|jjj	�}x,|j|dkr�|jjj	�}q�WndS(Nunameuprei����uend-tag-too-early(
R�RgR4RR!R`R<RARaR�(R:RvtinScopeR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�1s!cS`s�|jj}d|j_|dks7|jj|�rT|jjdidd6�nS|jj�|jjd|kr�|jjdidd6�n|jjj|�dS(Nuunexpected-end-taguformunamei����uend-tag-too-early-ignored(	R4RR3RRARaR!R`R�(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�?s
cS`s�|ddkrd}nd}|jj|dd|�s\|jjdi|dd6�n�|jjd|d�|jjdj|dkr�|jjdi|dd6�n|jjj�}x)|j|dkr�|jjj�}q�WdS(	NunameuliulistRuunexpected-end-tagtexcludei����uend-tag-too-early(	R3R4RRARaR!R`R<R�(R:RvRR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Ls	!	cS`s�x1tD])}|jj|�r|jj�PqqW|jjdj|dkrr|jjdi|dd6�nx^tD]V}|jj|�ry|jjj�}x%|jtkr�|jjj�}q�WPqyqyWdS(Ni����unameuend-tag-too-early(	R
R4RR!R`R<RARaR�(R:Rvtitem((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�]s

!
c	S`s3d}x&|dkr.|d7}|jj|d�}|sd||jjkru|jj|j�ru|j|�dS||jjkr�|jjdi|dd6�|jjj	|�dS|jj|j�s�|jjdi|dd6�dS||jjdkr*|jjd	i|dd6�n|jjj
|�}d}x1|jj|D]}|jt
krV|}PqVqVW|dkr�|jjj�}x"||kr�|jjj�}q�W|jjj	|�dS|jj|d}|jjj
|�}|}	}
d}|jjj
|
�}x|d
kr9|d7}|d8}|jj|}
|
|jjkr|jjj	|
�q$n|
|kr�Pn|	|kr�|jjj
|
�d}n|
j�}
|
|jj|jjj
|
�<|
|jj|jjj
|
�<|
}
|	jr#|	jj|	�n|
j|	�|
}	q$W|	jrV|	jj|	�n|jtd�kr�|jj�\}}|j|	|�n
|j|	�|j�}
|j|
�|j|
�|jjj	|�|jjj||
�|jjj	|�|jjj|jjj
|�d|
�q	WdS(u)The much-feared adoption agency algorithmiiiunameNuadoption-agency-1.2uadoption-agency-4.4i����uadoption-agency-1.3iutableutbodyutfootutheadutr(utableutbodyutfootutheadutr(R4RR`RR<R�RARaR	R�tindexR3RRR�t	cloneNodeRRtappendChildRetgetTableMisnestedNodePositiontinsertBeforetreparentChildrentinsert(R:RvtouterLoopCountertformattingElementtafeIndext
furthestBlockR\tcommonAncestortbookmarktlastNodeR�tinnerLoopCounterR%tcloneRR)((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�ls�

	

!



	

	


cS`s�|jj|d�r&|jj�n|jjdj|dkrd|jjdi|dd6�n|jj|d�r�|jjj�}x)|j|dkr�|jjj�}q�W|jj�ndS(Nunamei����uend-tag-too-early(	R4RR!R`R<RARaR�tclearActiveFormattingElements(R:RvR\((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s!cS`s[|jjdidd6dd6�|jj�|jjtdd��|jjj�dS(Nuunexpected-end-tag-treated-asubruoriginalNameu
br elementunewNameuStartTag(RARaR4RR�R�R`R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�s

cS`s�x�|jjddd�D]�}|j|dkr�|jjd|d�|jjdj|dkr�|jjdi|dd6�nx|jjj�|kr�q�WPq|jtkr|jjdi|dd6�PqqWdS(Ni����unameR#uunexpected-end-tag(	R4R`R<R!RARaR�RR(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�"s !(4R/R0R>RRRmRRfRgR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�[sdF			
	
													
		
										 												
				
			�		t	TextPhasec`sDeZ�fd�Zd�Zd�Zd�Zd�Zd�ZRS(c`se�j|||�tjg�|_|j|j_tjd|jfg�|_|j|j_dS(Nuscript(	R>RR�R�R�R�tendTagScriptR�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>1scS`s|jj|d�dS(Nudata(R4R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf9scS`sM|jjdi|jjdjd6�|jjj�|jj|j_tS(Nu&expected-named-closing-tag-but-got-eofi����uname(	RARaR4R`R<R�R�RSRD(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm<s
cS`ststd|d��dS(Nu4Tried to process start tag %s in RCDATA/RAWTEXT modeuname(RJRn(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�CscS`s=|jjj�}|jdks't�|jj|j_dS(Nuscript(R4R`R�R<RnRAR�RS(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR7FscS`s&|jjj�|jj|j_dS(N(R4R`R�RAR�RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Ms(R/R0R>RfRmR�R7R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR60s				tInTablePhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�ZRS(c
`s��j|||�tjd|jfd|jfd|jfd|jfd|jfd|jfd|j	fd|j
fd|jfd|jfg
�|_
|j|j
_tjd|jfd|jfg�|_|j|j_dS(Nuhtmlucaptionucolgroupucolutbodyutfootutheadutduthutrutableustyleuscriptuinputuformubody(utbodyutfootuthead(utduthutr(ustyleuscript(ubodyucaptionucolucolgroupuhtmlutbodyutdutfootuthutheadutr(R>RR�R�tstartTagCaptiontstartTagColgrouptstartTagColtstartTagRowGrouptstartTagImplyTbodyR�tstartTagStyleScriptR�R�R�R�R�tendTagTabletendTagIgnoreR�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>Ss$cS`s4x-|jjdjdkr/|jjj�qWdS(Ni����utableuhtml(utableuhtml(R4R`R<R�(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableContextkscS`sB|jjdjdkr,|jjd�n|jjs>t�dS(Ni����uhtmlueof-in-table(R4R`R<RARaRGRn(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRmtscS`sH|jj}|jjd|j_||jj_|jjj|�dS(NuinTableText(RARSR9R�Rg(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRg{scS`sH|jj}|jjd|j_||jj_|jjj|�dS(NuinTableText(RARSR9R�Rf(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�scS`s3t|j_|jjdj|�t|j_dS(NuinBody(RDR4tinsertFromTableRAR9RfRJ(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`sG|j�|jjjt�|jj|�|jjd|j_dS(Nu	inCaption(	RAR4R	RlRR�RAR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR9�s
cS`s4|j�|jj|�|jjd|j_dS(Nu
inColumnGroup(RAR4R�RAR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR:�s
cS`s|jtdd��|S(NucolgroupuStartTag(R:R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR;�scS`s4|j�|jj|�|jjd|j_dS(NuinTableBody(RAR4R�RAR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR<�s
cS`s|jtdd��|S(NutbodyuStartTag(R<R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR=�scS`sN|jjdidd6dd6�|jjjtd��|jjsJ|SdS(Nu$unexpected-start-tag-implies-end-tagutableu	startNameuendName(RARaRSRiR�RG(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s
cS`s|jjdj|�S(NuinHead(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�scS`sqd|dkr`|ddjt�dkr`|jjd�|jj|�|jjj�n
|j|�dS(Nutypeudatauhiddenu unexpected-hidden-input-in-table(	R[RRARaR4R�R`R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s_|jjd�|jjdkr[|jj|�|jjd|j_|jjj�ndS(Nuunexpected-form-in-tablei����(RARaR4RR3R�R`R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s
cS`sQ|jjdi|dd6�t|j_|jjdj|�t|j_dS(Nu)unexpected-start-tag-implies-table-voodoounameuinBody(RARaRDR4RBR9RhRJ(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s�|jjddd�r�|jj�|jjdjdkro|jjdidd6|jjdjd6�nx-|jjdjdkr�|jjj�qrW|jjj�|jj�n|jj	s�t
�|jj�dS(NutableRi����uend-tag-too-early-namedugotNameuexpectedName(R4RR!R`R<RARaR�RURGRn(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR?�s

cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR@�scS`sQ|jjdi|dd6�t|j_|jjdj|�t|j_dS(Nu'unexpected-end-tag-implies-table-voodoounameuinBody(RARaRDR4RBR9RiRJ(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s(R/R0R>RARmRgRfR�R9R:R;R<R=R�R>R�R�R�R?R@R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR8Qs&														
				tInTableTextPhasec`sVeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(c`s)�j|||�d|_g|_dS(N(R>R3R�tcharacterTokens(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�s	cS`s�djg|jD]}|d^q�}tg|D]}|tk^q3�r�itdd6|d6}|jjdj|�n|r�|jj|�ng|_dS(Nuudatau
CharactersutypeuinTable(	tjoinRDRR
RRAR9R�R4(R:R$R�Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytflushCharacters�s)%cS`s|j�|j|j_|S(N(RFR�RARS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRj�s
cS`s|j�|j|j_tS(N(RFR�RARSRD(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�s
cS`s(|ddkrdS|jj|�dS(Nudatau(RDRl(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�scS`s|jj|�dS(N(RDRl(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRgscS`s|j�|j|j_|S(N(RFR�RARS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRhs
cS`s|j�|j|j_|S(N(RFR�RARS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRi
s
(
R/R0R>RFRjRmRfRgRhRi((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRC�s							tInCaptionPhasec`sheZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
c
`s��j|||�tjd|jfd
|jfg�|_|j|j_tjd|jfd|j	fd|j
fg�|_|j|j_dS(Nuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrutableubody(	ucaptionucolucolgrouputbodyutdutfootuthutheadutr(
ubodyucolucolgroupuhtmlutbodyutdutfootuthutheadutr(
R>RR�R�tstartTagTableElementR�R�R�t
endTagCaptionR?R@R�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>scS`s|jjddd�S(NucaptionRutable(R4R(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagCaption#scS`s|jjdj�dS(NuinBody(RAR9Rm(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm&scS`s|jjdj|�S(NuinBody(RAR9Rf(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf)scS`s@|jj�|j�}|jjjtd��|s<|SdS(Nucaption(RARaRJRSRiR�(R:RvtignoreEndTag((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRH,s

cS`s|jjdj|�S(NuinBody(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�4scS`s�|j�s�|jj�|jjdjdkrc|jjdidd6|jjdjd6�nx-|jjdjdkr�|jjj�qfW|jjj�|jj�|jj	d|j_
n|jjs�t�|jj�dS(Ni����ucaptionu$expected-one-end-tag-but-got-anotherugotNameuexpectedNameuinTable(
RJR4R!R`R<RARaR�R5R9RSRGRn(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRI7s


cS`s@|jj�|j�}|jjjtd��|s<|SdS(Nucaption(RARaRJRSRiR�(R:RvRK((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR?Is

cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR@PscS`s|jjdj|�S(NuinBody(RAR9Ri(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Ss(R/R0R>RJRmRfRHR�RIR?R@R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRGs								tInColumnGroupPhasec`s_eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	c`s��j|||�tjd|jfd|jfg�|_|j|j_tjd|jfd|j	fg�|_
|j|j
_dS(Nuhtmlucolucolgroup(R>RR�R�R;R�R�R�tendTagColgroupt	endTagColR�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>YscS`s|jjdjdkS(Ni����uhtml(R4R`R<(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagColgrouphscS`s\|jjdjdkr/|jjs+t�dS|j�}|jtd��|sXt	SdS(Ni����uhtmlucolgroup(
R4R`R<RARGRnRORMR�RD(R:RK((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRmkscS`s-|j�}|jtd��|s)|SdS(Nucolgroup(RORMR�(R:RvRK((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRfuscS`s$|jj|�|jjj�dS(N(R4R�R`R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR;{scS`s-|j�}|jtd��|s)|SdS(Nucolgroup(RORMR�(R:RvRK((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�scS`sX|j�r.|jjst�|jj�n&|jjj�|jjd|j_	dS(NuinTable(
RORARGRnRaR4R`R�R9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRM�s
cS`s|jjdidd6�dS(Nu
no-end-tagucoluname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRN�scS`s-|j�}|jtd��|s)|SdS(Nucolgroup(RORMR�(R:RvRK((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s(R/R0R>RORmRfR;R�RMRNR�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRLVs		
						tInTableBodyPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�ZRS(
c`s��j|||�tjd|jfd|jfd
|jfd|jfg�|_|j|j_	tjd|j
fd|jfd|jfg�|_
|j|j
_	dS(Nuhtmlutrutduthucaptionucolucolgrouputbodyutfootutheadutableubody(utduth(ucaptionucolucolgrouputbodyutfootuthead(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduthutr(R>RR�R�t
startTagTrtstartTagTableCelltstartTagTableOtherR�R�R�tendTagTableRowGroupR?R@R�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�scS`sbx-|jjdjdkr/|jjj�qW|jjdjdkr^|jjs^t�ndS(Ni����utbodyutfootutheaduhtml(utbodyutfootutheaduhtml(R4R`R<R�RARGRn(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableBodyContext�s
	cS`s|jjdj�dS(NuinTable(RAR9Rm(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�scS`s|jjdj|�S(NuinTable(RAR9Rg(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRg�scS`s|jjdj|�S(NuinTable(RAR9Rf(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�scS`s4|j�|jj|�|jjd|j_dS(NuinRow(RUR4R�RAR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRQ�s
cS`s8|jjdi|dd6�|jtdd��|S(Nuunexpected-cell-in-table-bodyunameutruStartTag(RARaRQR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRR�scS`s�|jjddd�sH|jjddd�sH|jjddd�rv|j�|jt|jjdj��|S|jjs�t	�|jj
�dS(NutbodyRutableutheadutfooti����(R4RRURTR�R`R<RARGRnRa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRS�s
cS`s|jjdj|�S(NuinTable(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`sq|jj|ddd�rO|j�|jjj�|jjd|j_n|jjdi|dd6�dS(NunameRutableuinTableu unexpected-end-tag-in-table-body(	R4RRUR`R�RAR9RSRa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRT�s
cS`s�|jjddd�sH|jjddd�sH|jjddd�rv|j�|jt|jjdj��|S|jjs�t	�|jj
�dS(NutbodyRutableutheadutfooti����(R4RRURTR�R`R<RARGRnRa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR?�s
cS`s"|jjdi|dd6�dS(Nu unexpected-end-tag-in-table-bodyuname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR@�scS`s|jjdj|�S(NuinTable(RAR9Ri(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s(R/R0R>RURmRgRfRQRRRSR�RTR?R@R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRP�s	
										
	t
InRowPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�ZRS(c`s��j|||�tjd|jfd
|jfd|jfg�|_|j|j_tjd
|j	fd|j
fd|jfd|jfg�|_
|j|j
_dS(Nuhtmlutduthucaptionucolucolgrouputbodyutfootutheadutrutableubody(utduth(ucaptionucolucolgrouputbodyutfootutheadutr(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduth(R>RR�R�RRRSR�R�R�tendTagTrR?RTR@R�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�scS`s[xT|jjdjdkrV|jjdi|jjdjd6�|jjj�qWdS(Ni����utruhtmlu'unexpected-implied-end-tag-in-table-rowuname(utruhtml(R4R`R<RARaR�(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableRowContextscS`s|jjddd�S(NutrRutable(R4R(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagTrscS`s|jjdj�dS(NuinTable(RAR9Rm(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRmscS`s|jjdj|�S(NuinTable(RAR9Rg(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRgscS`s|jjdj|�S(NuinTable(RAR9Rf(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRfscS`sG|j�|jj|�|jjd|j_|jjjt�dS(NuinCell(	RXR4R�RAR9RSR	RlR(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRR"s
cS`s-|j�}|jtd��|s)|SdS(Nutr(RYRWR�(R:RvRK((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRS(scS`s|jjdj|�S(NuinTable(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�/scS`sb|j�s?|j�|jjj�|jjd|j_n|jjsQt	�|jj
�dS(NuinTableBody(RYRXR4R`R�RAR9RSRGRnRa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRW2s
cS`s-|j�}|jtd��|s)|SdS(Nutr(RYRWR�(R:RvRK((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR?<scS`sD|jj|ddd�r3|jtd��|S|jj�dS(NunameRutableutr(R4RRWR�RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRTDscS`s"|jjdi|dd6�dS(Nuunexpected-end-tag-in-table-rowuname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR@KscS`s|jjdj|�S(NuinTable(RAR9Ri(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�Os(R/R0R>RXRYRmRgRfRRRSR�RWR?RTR@R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRV�s									
			tInCellPhasec`sheZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
c`s��j|||�tjd|jfd
|jfg�|_|j|j_tjd|jfd|j	fd|j
fg�|_|j|j_dS(Nuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrubodyutable(	ucaptionucolucolgrouputbodyutdutfootuthutheadutr(utduth(ubodyucaptionucolucolgroupuhtml(utableutbodyutfootutheadutr(
R>RR�R�RSR�R�R�tendTagTableCellR@tendTagImplyR�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>TscS`s`|jjddd�r.|jtd��n.|jjddd�r\|jtd��ndS(NutdRutableuth(R4RR[R�(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt	closeCellescS`s|jjdj�dS(NuinBody(RAR9Rm(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRmlscS`s|jjdj|�S(NuinBody(RAR9Rf(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRfoscS`sa|jjddd�s0|jjddd�r>|j�|S|jjsPt�|jj�dS(NutdRutableuth(R4RR]RARGRnRa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRSrs
cS`s|jjdj|�S(NuinBody(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�|scS`s�|jj|ddd�r�|jj|d�|jjdj|dkr�|jjdi|dd6�xFtr�|jjj�}|j|dkrnPqnqnWn|jjj�|jj	�|jj
d|j_n|jjdi|dd6�dS(NunameRutablei����uunexpected-cell-end-taguinRowuunexpected-end-tag(R4RR!R`R<RARaRDR�R5R9RS(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR[s	
cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR@�scS`s;|jj|ddd�r*|j�|S|jj�dS(NunameRutable(R4RR]RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR\�s
cS`s|jjdj|�S(NuinBody(RAR9Ri(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s(R/R0R>R]RmRfRSR�R[R@R\R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRZRs				
				t
InSelectPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�ZRS(
c`s��j|||�tjd|jfd|jfd|jfd|jfd	|jfd|jfg�|_	|j
|j	_tjd|jfd|j
fd|jfg�|_|j|j_dS(
Nuhtmluoptionuoptgroupuselectuinputukeygenutextareauscript(uinputukeygenutextarea(R>RR�R�tstartTagOptiontstartTagOptgroupR�R�R�R�R�R�tendTagOptiontendTagOptgrouptendTagSelectR�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�scS`sB|jjdjdkr,|jjd�n|jjs>t�dS(Ni����uhtmlu
eof-in-select(R4R`R<RARaRGRn(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�scS`s,|ddkrdS|jj|d�dS(Nudatau(R4R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�scS`s@|jjdjdkr,|jjj�n|jj|�dS(Ni����uoption(R4R`R<R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR_�scS`sl|jjdjdkr,|jjj�n|jjdjdkrX|jjj�n|jj|�dS(Ni����uoptionuoptgroup(R4R`R<R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR`�s
cS`s'|jjd�|jtd��dS(Nuunexpected-select-in-selectuselect(RARaRcR�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`sU|jjd�|jjddd�r?|jtd��|S|jjsQt�dS(Nuunexpected-input-in-selectuselectR(RARaR4RRcR�RGRn(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s
cS`s|jjdj|�S(NuinHead(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`s"|jjdi|dd6�dS(Nuunexpected-start-tag-in-selectuname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��scS`sJ|jjdjdkr,|jjj�n|jjdidd6�dS(Ni����uoptionuunexpected-end-tag-in-selectuname(R4R`R<R�RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRa�scS`s�|jjdjdkrE|jjdjdkrE|jjj�n|jjdjdkrq|jjj�n|jjdidd6�dS(Ni����uoptioni����uoptgroupuunexpected-end-tag-in-selectuname(R4R`R<R�RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRb�scS`s�|jjddd�rb|jjj�}x%|jdkrQ|jjj�}q-W|jj�n|jjstt�|jj	�dS(NuselectR(
R4RR`R�R<RARURGRnRa(R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRc�scS`s"|jjdi|dd6�dS(Nuunexpected-end-tag-in-selectuname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��s(R/R0R>RmRfR_R`R�R�R�R�RaRbRcR�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR^�s										
	tInSelectInTablePhasec`sMeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(c	`sq�j|||�tjd	|jfg�|_|j|j_tjd
|jfg�|_|j	|j_dS(Nucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth(
R>RR�R�R�R�R�R?R�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>	scS`s|jjdj�dS(NuinSelect(RAR9Rm(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm	scS`s|jjdj|�S(NuinSelect(RAR9Rf(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf	scS`s5|jjdi|dd6�|jtd��|S(Nu5unexpected-table-element-start-tag-in-select-in-tableunameuselect(RARaR�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�	scS`s|jjdj|�S(NuinSelect(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�	scS`sU|jjdi|dd6�|jj|ddd�rQ|jtd��|SdS(Nu3unexpected-table-element-end-tag-in-select-in-tableunameRutableuselect(RARaR4RR�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR? 	scS`s|jjdj|�S(NuinSelect(RAR9Ri(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�&	s(	R/R0R>RmRfR�R�R?R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRd	s					tInForeignContentPhasec-`s�eZedddddddddd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+g,�Z�fd,�Zd-�Z�fd.�Zd/�Zd0�ZRS(1ububigu
blockquoteubodyubrucenterucodeuddudivudludtuemuembeduh1uh2uh3uh4uh5uh6uheaduhruiuimguliulistingumenuumetaunobruolupupreurubyususmalluspanustrongustrikeusubusuputableuttuuuuluvarc`s�j|||�dS(N(R>(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>3	scS`s+i$dd6dd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d)d*6d+d,6d-d.6d/d06d1d26d3d46d5d66d7d86d9d:6d;d<6d=d>6d?d@6dAdB6dCdD6dEdF6dGdH6}|dI|kr'||dI|dI<ndS(JNualtGlyphualtglyphualtGlyphDefualtglyphdefualtGlyphItemualtglyphitemuanimateColoruanimatecoloru
animateMotionu
animatemotionuanimateTransformuanimatetransformuclipPathuclippathufeBlendufeblendu
feColorMatrixu
fecolormatrixufeComponentTransferufecomponenttransferufeCompositeufecompositeufeConvolveMatrixufeconvolvematrixufeDiffuseLightingufediffuselightingufeDisplacementMapufedisplacementmapufeDistantLightufedistantlightufeFloodufefloodufeFuncAufefuncaufeFuncBufefuncbufeFuncGufefuncgufeFuncRufefuncrufeGaussianBlurufegaussianblurufeImageufeimageufeMergeufemergeufeMergeNodeufemergenodeufeMorphologyufemorphologyufeOffsetufeoffsetufePointLightufepointlightufeSpecularLightingufespecularlightingufeSpotLightufespotlightufeTileufetileufeTurbulenceufeturbulenceu
foreignObjectu
foreignobjectuglyphRefuglyphrefulinearGradientulineargradienturadialGradienturadialgradientutextPathutextpathuname((R:RvR�((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytadjustSVGTagNames6	sL

c`sf|ddkrd|d<n5|jjrRtd�|dD��rRt|j_n�j||�dS(Nudatauu�cs`s|]}|tkVqdS(N(R
(R�R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pys	<genexpr>c	s(RARXRRJRf(R:Rv(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf_	s
cS`s�|jjd}|d|jks\|ddkr�t|dj��tdddg�@r�|jjdi|dd6�xm|jjdj|jjkr�|jj	|jjd�r�|jj
|jjd�r�|jjj�q}W|S|jtd	kr|jj
|�n3|jtd
krG|j|�|jj|�n|jj|�|j|d<|jj|�|dr�|jjj�t|d
<ndS(Ni����unameufontudataucolorufaceusizeu*unexpected-html-element-in-foreign-contentumathmlusvgu	namespaceuselfClosinguselfClosingAcknowledged(R4R`tbreakoutElementstsetR�RARaRYRdR]R^R�RR�RfR�RR�RD(R:RvRx((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRhg	s.)


cS`sQt|jj�d}|jjd}|j|dkrZ|jjdi|dd6�nx�trL|jjt�|dkr�|jj	|jj
dkr�|jj	j�|jj	j|j_	nx.|jjj
�|kr�|jjs�t�q�Wd}Pn|d8}|jj|}|j|jjkr3q]q]|jj	j|�}Pq]W|S(Nii����unameuunexpected-end-taguinTableText(RcR4R`R<RARaRDR[RRSR9RFR�R�RnR3RYRdRi(R:Rvt	nodeIndexR�Rw((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRi�	s(!	
(	R/R0ReRgR>RfRfRhRi((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRe)	s	)	tAfterBodyPhasec`sVeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(c`sq�j|||�tjd|jfg�|_|j|j_tjd|jfg�|_|j	|j_dS(Nuhtml(
R>RR�R�R�R�R�R�R�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�	scS`sdS(N((R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�	scS`s!|jj||jjd�dS(Ni(R4R�R`(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRj�	scS`s*|jjd�|jjd|j_|S(Nuunexpected-char-after-bodyuinBody(RARaR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�	scS`s|jjdj|�S(NuinBody(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��	scS`s8|jjdi|dd6�|jjd|j_|S(Nuunexpected-start-tag-after-bodyunameuinBody(RARaR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��	scS`s9|jjr|jjd�n|jjd|j_dS(Nu'unexpected-end-tag-after-body-innerhtmluafterAfterBody(RARGRaR9RS(R:R<((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��	scS`s8|jjdi|dd6�|jjd|j_|S(Nuunexpected-end-tag-after-bodyunameuinBody(RARaR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��	s(
R/R0R>RmRjRfR�R�R�R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRj�	s						tInFramesetPhasec`s_eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	c`s��j|||�tjd|jfd|jfd|jfd|jfg�|_|j|j_	tjd|j
fg�|_|j|j_	dS(Nuhtmluframesetuframeunoframes(
R>RR�R�R�t
startTagFrametstartTagNoframesR�R�R�tendTagFramesetR�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>�	scS`sB|jjdjdkr,|jjd�n|jjs>t�dS(Ni����uhtmlueof-in-frameset(R4R`R<RARaRGRn(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�	scS`s|jjd�dS(Nuunexpected-char-in-frameset(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf�	scS`s|jj|�dS(N(R4R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��	scS`s$|jj|�|jjj�dS(N(R4R�R`R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRl�	scS`s|jjdj|�S(NuinBody(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm�	scS`s"|jjdi|dd6�dS(Nu unexpected-start-tag-in-framesetuname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��	scS`s|jjdjdkr,|jjd�n|jjj�|jjr{|jjdjdkr{|jjd|j_ndS(Ni����uhtmlu)unexpected-frameset-in-frameset-innerhtmluframesetu
afterFrameset(	R4R`R<RARaR�RGR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRn�	s
cS`s"|jjdi|dd6�dS(Nuunexpected-end-tag-in-framesetuname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�
s(R/R0R>RmRfR�RlRmR�RnR�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk�	s							tAfterFramesetPhasec`sMeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(c`s}�j|||�tjd|jfd|jfg�|_|j|j_tjd|jfg�|_	|j
|j	_dS(Nuhtmlunoframes(R>RR�R�RmR�R�R�R�R�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>
scS`sdS(N((R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm
scS`s|jjd�dS(Nuunexpected-char-after-frameset(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf
scS`s|jjdj|�S(NuinHead(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm
scS`s"|jjdi|dd6�dS(Nu#unexpected-start-tag-after-framesetuname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�
scS`s|jjd|j_dS(NuafterAfterFrameset(RAR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�"
scS`s"|jjdi|dd6�dS(Nu!unexpected-end-tag-after-framesetuname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�%
s(	R/R0R>RmRfRmR�R�R�((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRo
s					tAfterAfterBodyPhasec`sVeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(c`sD�j|||�tjd|jfg�|_|j|j_dS(Nuhtml(R>RR�R�R�R�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>*
scS`sdS(N((R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm2
scS`s|jj||jj�dS(N(R4R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRj5
scS`s|jjdj|�S(NuinBody(RAR9Rg(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRg8
scS`s*|jjd�|jjd|j_|S(Nuexpected-eof-but-got-charuinBody(RARaR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf;
scS`s|jjdj|�S(NuinBody(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�@
scS`s8|jjdi|dd6�|jjd|j_|S(Nuexpected-eof-but-got-start-tagunameuinBody(RARaR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�C
scS`s8|jjdi|dd6�|jjd|j_|S(Nuexpected-eof-but-got-end-tagunameuinBody(RARaR9RS(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRiI
s(
R/R0R>RmRjRgRfR�R�Ri((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRp)
s						tAfterAfterFramesetPhasec`s_eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	c`sP�j|||�tjd|jfd|jfg�|_|j|j_dS(Nuhtmlunoframes(R>RR�R�tstartTagNoFramesR�R�R�(R:RAR4(R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>P
s
cS`sdS(N((R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRmY
scS`s|jj||jj�dS(N(R4R�R�(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRj\
scS`s|jjdj|�S(NuinBody(RAR9Rg(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRg_
scS`s|jjd�dS(Nuexpected-eof-but-got-char(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRfb
scS`s|jjdj|�S(NuinBody(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�e
scS`s|jjdj|�S(NuinHead(RAR9Rh(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrh
scS`s"|jjdi|dd6�dS(Nuexpected-eof-but-got-start-taguname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR�k
scS`s"|jjdi|dd6�dS(Nuexpected-eof-but-got-end-taguname(RARa(R:Rv((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRio
s(R/R0R>RmRjRgRfR�RrR�Ri((R�(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRqO
s								uinitialu
beforeHtmlu
beforeHeaduinHeadu	afterHeaduinBodyutextuinTableuinTableTextu	inCaptionu
inColumnGroupuinTableBodyuinRowuinCelluinSelectuinSelectInTableuinForeignContentu	afterBodyu
inFramesetu
afterFramesetuafterAfterBodyuafterAfterFrameset(R(R;RLR�R�R�R�R�R�R�R6R8RCRGRLRPRVRZR^RdReRjRkRoRpRq((R�sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR8�sd		%)�#.cC���!�-GAbYLd's/9%&$uEndTagcC`s9|dkri}nit|d6|d6|d6|d6S(NutypeunameudatauselfClosing(R3R(R<R&RZR((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��
s	R�cB`seZdZRS(uError in parsed document(R/R0R�(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR��
s((t
__future__RRRtpip._vendor.sixRR$tRRRttreebuilders._baseRRR	R
RRR
RRRRRRRRR�R3RDRR R1tobjectRR8RJR�t	ExceptionR�(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt<module>sD		�i	���������

Zerion Mini Shell 1.0