Viewing File: /opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyc


t_c@`sddlmZmZmZddlmZmZddlZddlm	Z	ddlm
Z
ddlmZddlm
Z
dd	lmZdd
lmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z de!dZ"d
de!dZ#dZ$de%fdYZ&ej'dZ(dZ)de*e+dZ,de-fdYZ.dS(i(tabsolute_importtdivisiontunicode_literals(twith_metaclasstviewkeysNi(t_inputstream(t
_tokenizer(ttreebuilders(tMarker(t_utils(tspaceCharacterstasciiUpper2LowertspecialElementstheadingElementst
cdataElementstrcdataElementst
tokenTypest
tagTokenTypest
namespacesthtmlIntegrationPointElementst"mathmlTextIntegrationPointElementstadjustForeignAttributestadjustMathMLAttributestadjustSVGAttributestEt_ReparseExceptionuetreecK`s1tj|}t|d|}|j||S(uParse an HTML document as a string or file-like object into a tree

    :arg doc: the document to parse as a string or file-like object

    :arg treebuilder: the treebuilder to use when parsing

    :arg namespaceHTMLElements: whether or not to namespace HTML elements

    :returns: parsed tree

    Example:

    >>> from html5lib.html5parser import parse
    >>> parse('<html><body><p>This is a doc</p></body></html>')
    <Element u'{http://www.w3.org/1999/xhtml}html' at 0x7feac4909db0>

    tnamespaceHTMLElements(RtgetTreeBuildert
HTMLParsertparse(tdocttreebuilderRtkwargsttbtp((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsudivcK`s7tj|}t|d|}|j|d||S(u#Parse an HTML fragment as a string or file-like object into a tree

    :arg doc: the fragment to parse as a string or file-like object

    :arg container: the container context to parse the fragment in

    :arg treebuilder: the treebuilder to use when parsing

    :arg namespaceHTMLElements: whether or not to namespace HTML elements

    :returns: parsed tree

    Example:

    >>> from html5lib.html5libparser import parseFragment
    >>> parseFragment('<b>this is a fragment</b>')
    <Element u'DOCUMENT_FRAGMENT' at 0x7feac484b090>

    Rt	container(RRRt
parseFragment(RR#RRR R!R"((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR$1sc`s dtffdY}|S(Nt	Decoratedc`seZfdZRS(c`s^xE|jD]7\}}t|tjr:|}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+Ls
(t__name__t
__module__R+((R2(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR%Ks(R*(R2R%((R2sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytmethod_decorator_metaclassJsRcB`seZdZdeeedZededZdZe	dZ
dZdZdZ
d	Zd
ZdddZd
ZdZdZdZdZdZRS(u]HTML parser

    Generates a tree structure from a stream of (possibly malformed) HTML.

    c`sh|_|dkr'tjd}n||_g_fdt|jD_dS(u
        :arg tree: a treebuilder class controlling the type of tree that will be
            returned. Built in treebuilders can be accessed through
            html5lib.treebuilders.getTreeBuilder(treeType)

        :arg strict: raise an exception when a parse error is encountered

        :arg namespaceHTMLElements: whether or not to namespace HTML elements

        :arg debug: whether or not to enable debug mode which logs things

        Example:

        >>> from html5lib.html5parser import HTMLParser
        >>> parser = HTMLParser()                     # generates parser with etree builder
        >>> parser = HTMLParser('lxml', strict=True)  # generates parser with lxml builder which is strict

        uetreec`s+i|]!\}}|j|qS((ttree(t.0tnametcls(tself(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pys
<dictcomp>ys	N(	tstricttNoneRRR6terrorst	getPhasesR&tphases(R:R6R;Rtdebug((R:sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt__init__]s		udivcK`sz||_||_||_tj|d|||_|jy|jWn%tk
ru|j|jnXdS(Ntparser(	t
innerHTMLModeR#t	scriptingRt
HTMLTokenizert	tokenizertresettmainLoopR(R:tstreamt	innerHTMLR#RDR ((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt_parse|s			


cC`s|jjt|_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|jnt|_
|jd|_d|_d|_t|_dS(Nu	no quirksu	plaintextu
beforeHtmluinitial(R6RGtFalset
firstStartTagR=tlogt
compatModeRCR#tlowerRJRRFtrcdataStatetstateRtrawtextStatetplaintextStateR?tphasetinsertHtmlElementtresetInsertionModeR<t	lastPhasetbeforeRCDataPhasetTruet
framesetOK(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRGs*
					

			cC`s't|dsdS|jjjdjS(uName of the character encoding that was used to decode the input stream, or
        :obj:`None` if that is not determined yet

        u	tokenizeriN(thasattrR<RFRItcharEncodingR8(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytdocumentEncodingscC`se|jdkrK|jtdkrKd|jkoJ|jdjtdkS|j|jftkSdS(Nuannotation-xmlumathmluencodingu	text/htmluapplication/xhtml+xml(u	text/htmluapplication/xhtml+xml(R8t	namespaceRt
attributest	translateRR(R:telement((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytisHTMLIntegrationPoints
cC`s|j|jftkS(N(R_R8R(R:Rb((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytisMathMLTextIntegrationPointscC`s?td}td}td}td}td}td}td}x|jD]}d}	|}
x=|
dk	r|
}	|jjr|jjdnd}|r|jnd}|r|jnd}
|
d	}||kr|j|
d
|
jdid}
qet	|jjdks||jj
ks|j|ru||krc|d
tddgks|||fks|t
dkr|
dkr||kr|d
dks|j|r||||fkr|j}n
|jd}||kr|j|
}
qe||kr&|j|
}
qe||krD|j|
}
qe||krb|j|
}
qe||kr|j|
}
qe||kre|j|
}
qeqeW||krP|	drP|	drP|jdi|	d
d
6qPqPWt}g}xG|r:|j|j|jj}|r|j|ks7tqqWdS(Nu
CharactersuSpaceCharactersuStartTaguEndTaguCommentuDoctypeu
ParseErroriutypeudataudatavarsiunameumglyphu
malignmarkumathmluannotation-xmlusvguinForeignContentuselfClosinguselfClosingAcknowledgedu&non-void-element-with-trailing-solidus(RRFR<R6topenElementsR_R8t
parseErrortgettlentdefaultNamespaceRdt	frozensetRRcRUR?tprocessCharacterstprocessSpaceCharacterstprocessStartTagt
processEndTagtprocessCommenttprocessDoctypeRZtappendt
processEOFtAssertionError(R:tCharactersTokentSpaceCharactersTokent
StartTagTokentEndTagTokentCommentTokentDoctypeTokentParseErrorTokenttokent
prev_tokent	new_tokentcurrentNodetcurrentNodeNamespacetcurrentNodeNameR*RUt	reprocessR?((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRHsp






"
 	
		cO`s&|j|td|||jjS(uParse a HTML document into a well-formed tree

        :arg stream: a file-like 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).

        :arg scripting: treat noscript elements as if JavaScript was turned on

        :returns: parsed tree

        Example:

        >>> from html5lib.html5parser import HTMLParser
        >>> parser = HTMLParser()
        >>> parser.parse('<html><body><p>This is a doc</p></body></html>')
        <Element u'{http://www.w3.org/1999/xhtml}html' at 0x7feac4909db0>

        N(RKRLR<R6tgetDocument(R:RItargsR ((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscO`s#|j|t|||jjS(uZParse a HTML fragment into a well-formed tree fragment

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

        :arg stream: a file-like 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)

        :arg scripting: treat noscript elements as if JavaScript was turned on

        :returns: parsed tree

        Example:

        >>> from html5lib.html5libparser import HTMLParser
        >>> parser = HTMLParser()
        >>> parser.parseFragment('<b>this is a fragment</b>')
        <Element u'DOCUMENT_FRAGMENT' at 0x7feac484b090>

        (RKRZR6tgetFragment(R:RIRR ((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR$suXXX-undefined-errorcC`s^|dkri}n|jj|jjj||f|jrZtt||ndS(N(	R<R=RqRFRItpositionR;t
ParseErrorR(R:t	errorcodetdatavars((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRf;s
	%	cC`st|tdS(N(tadjust_attributesR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRCscC`st|tdS(N(RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRFscC`st|tdS(N(RtadjustForeignAttributesMap(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRIscC`s|jjdS(N(RBRU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytreparseTokenNormalLscC`s]t}idd6dd6dd6dd6dd	6dd
6dd6dd
6dd6dd6dd6dd6dd6dd6}x|jjdddD]}|j}d}||jjdkr|jstt}|j}n|dkr|jstn|r|j|jj	krqn||kr5|j
||}Pq|r|j
d}PqqW||_dS(NuinSelectuselectuinCellutduthuinRowutruinTableBodyutbodyutheadutfootu	inCaptionucaptionu
inColumnGroupucolgroupuinTableutableuinBodyuheadubodyu
inFramesetuframesetu
beforeHeaduhtmlii(uselectucolgroupuheaduhtml(RLR6ReR8R<RJRsRZR_RiR?RU(R:tlasttnewModestnodetnodeNamet	new_phase((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRWPsD
 	
cC`su|dkst|jj||dkrC|jj|j_n|jj|j_|j|_|j	d|_dS(NuRAWTEXTuRCDATAutext(uRAWTEXTuRCDATA(
RsR6t
insertElementRFRSRRRQRUt
originalPhaseR?(R:R{tcontentType((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytparseRCDataRawtext|sN(R3R4t__doc__R<RLRZRARKRGtpropertyR^RcRdRHRR$RfRRRRRWR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRVs"	"
	
		C							,c`s!d}d}dt|||fdYdfdY}dfdY}d	fd
Y}dfdY}d
fdY}dfdY}dffdYdfdY}	dffdY}
dffdYdffdY}dffdY}dffdY}
dffd Y}d!ffd"Y}d#ffd$Y}d%fd&Y}d'ffd(Y}d)fd*Y}d+ffd,Y}d-ffd.Y}d/fd0Y}d1fd2Y}i|d36|d46|d56|d66|d76|d86d96|	d:6|
d;6d<6|d=6|d>6|
d?6|d@6|dA6|dB6|dC6|dD6|dE6|dF6|dG6|dH6|dI6S(JNc`s,dtjDfd}|S(u4Logger that records which phase processes each tokencS`si|]\}}||qS(((R7tkeytvalue((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pys
<dictcomp>s	c`sjjdrt|dkr|d}i|dd6}|dtkrd|d|d<n|jjj|jjjj|jj	j
j|j
jj|f|||S|||SdS(Nuprocessiutypeuname(R3t
startswithRhRRBRNRqRFRRRUt	__class__(R:RR R{tinfo(R2t
type_names(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytwrappeds$
	
(RR&(R2R((R2RsQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRNscS`s|rt|StSdS(N(R5R*(t
use_metaclasstmetaclass_func((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytgetMetaclasss
tPhasecB`seeZdZdZdZdZdZdZd	Zd
Z	dZ
dZd
ZRS(uNBase class for helper object that implements each phase of processing
        uparserutreeu__startTagCacheu
__endTagCachecS`s(||_||_i|_i|_dS(N(RBR6t_Phase__startTagCachet_Phase__endTagCache(R:RBR6((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRAs			cS`s
tdS(N(tNotImplementedError(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrscS`s!|jj||jjddS(Ni(R6t
insertCommentRe(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`s|jjddS(Nuunexpected-doctype(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRpscS`s|jj|ddS(Nudata(R6t
insertText(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkscS`s|jj|ddS(Nudata(R6R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRlscS`s|d}||jkr)|j|}n`|j|}|j|<xEt|jt|jdkr|jjtt|jqDW||S(Nunameg?(RtstartTagHandlerRhtpoptnexttiter(R:R{R8tfunc((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRms
%#cS`s|jjr0|ddkr0|jjdnxQ|djD]?\}}||jjdjkrA||jjdj|<qAqAWt|j_dS(Nunameuhtmlu
non-html-rootudatai(RBRMRfR&R6ReR`RL(R:R{tattrR((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagHtmlscS`s|d}||jkr)|j|}n`|j|}|j|<xEt|jt|jdkr|jjtt|jqDW||S(Nunameg?(Rt
endTagHandlerRhRRR(R:R{R8R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRns
%#(uparserutreeu__startTagCacheu
__endTagCache(
R3R4Rt	__slots__RARrRoRpRkRlRmRRn(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs								
tInitialPhasecB`sYeZeZdZdZdZdZdZdZ	dZ
dZRS(cS`sdS(N((R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRlscS`s|jj||jjdS(N(R6Rtdocument(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRosc=S`su|d}|d}|d}|d}|dksX|dk	sX|dk	rk|dkrk|jjdn|dkrd}n|jj||dkr|jt}n|s|ddks|jdJs|dKks|jdLr|dks|r"|jdDkr"dE|j_	n9|jdMsL|jdNr[|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//(R<RBRfR6t
insertDoctypeRaRRRPROR?RU(R:R{R8tpublicIdtsystemIdtcorrect((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRps



						cS`s&d|j_|jjd|j_dS(Nuquirksu
beforeHtml(RBROR?RU(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytanythingElseZscS`s|jjd|j|S(Nuexpected-doctype-but-got-chars(RBRfR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk^s
cS`s,|jjdi|dd6|j|S(Nu"expected-doctype-but-got-start-taguname(RBRfR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRmcs
cS`s,|jjdi|dd6|j|S(Nu expected-doctype-but-got-end-taguname(RBRfR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRnis
cS`s|jjd|jtS(Nuexpected-doctype-but-got-eof(RBRfRRZ(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRros
(R3R4ttupleRRlRoRpRRkRmRnRr(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs				_				tBeforeHtmlPhasecB`sPeZeZdZdZdZdZdZdZ	dZ
RS(cS`s3|jjtdd|jjd|j_dS(NuhtmluStartTagu
beforeHead(R6t
insertRoottimpliedTagTokenRBR?RU(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRVxscS`s|jtS(N(RVRZ(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRr}s
cS`s|jj||jjdS(N(R6RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`sdS(N((R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRlscS`s|j|S(N(RV(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRks
cS`s-|ddkrt|j_n|j|S(Nunameuhtml(RZRBRMRV(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRms
cS`sC|ddkr1|jjdi|dd6n|j|SdS(Nunameuheadubodyuhtmlubruunexpected-end-tag-before-html(uheadubodyuhtmlubr(RBRfRV(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRns

(R3R4RRRVRrRoRlRkRmRn(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRts							tBeforeHeadPhasecB`seZeZdZdZdZdZdZdZ	dZ
dZej
defd	efgZe	e_ej
de
fgZee_RS(
cS`s|jtddtS(NuheaduStartTag(tstartTagHeadRRZ(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrscS`sdS(N((R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRlscS`s|jtdd|S(NuheaduStartTag(RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkscS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s@|jj||jjd|j_|jjd|j_dS(NiuinHead(R6RRetheadPointerRBR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jtdd|S(NuheaduStartTag(RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
startTagOtherscS`s|jtdd|S(NuheaduStartTag(RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagImplyHeadscS`s"|jjdi|dd6dS(Nuend-tag-after-implied-rootuname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagOthersuhtmluheadubodyubr(uheadubodyuhtmlubr(R3R4RRRrRlRkRRRRRR	tMethodDispatcherRtdefaultR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs 											tInHeadPhasecB`s"eZeZdZdZdZdZdZdZ	dZ
dZdZd	Z
d
ZdZdZd
ZdZejdefde
fdefdefde
fdefde	fdefgZee_ejdefd efgZee_RS(!cS`s|jtS(N(RRZ(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrs
cS`s|j|S(N(R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRks
cS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jjddS(Nu!two-heads-are-not-better-than-one(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s.|jj||jjjt|d<dS(NuselfClosingAcknowledged(R6RReRRZ(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagBaseLinkCommandscS`s|jj||jjjt|d<|d}|jjjjddkrd|kry|jjjj	|dqd|krd|kr|dj
dkrtj|dj
d	}tj|}|j}|jjjj	|qndS(
NuselfClosingAcknowledgedudataiu	tentativeucharsetucontentu
http-equivucontent-typeuutf-8(R6RReRRZRBRFRIR]tchangeEncodingRPRt
EncodingBytestencodetContentAttrParserR(R:R{R`tdataRBtcodec((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagMetas

cS`s|jj|ddS(NuRCDATA(RBR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
startTagTitlescS`s|jj|ddS(NuRAWTEXT(RBR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagNoFramesStylescS`sL|jjr"|jj|dn&|jj||jjd|j_dS(NuRAWTEXTuinHeadNoscript(RBRDRR6RR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagNoscriptscS`sT|jj||jjj|jj_|jj|j_|jjd|j_dS(Nutext(	R6RRBRFtscriptDataStateRRRURR?(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagScriptscS`s|j|S(N(R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`sQ|jjjj}|jdks7td|j|jjd|j_dS(NuheaduExpected head got %su	afterHead(RBR6ReRR8RsR?RU(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
endTagHead
s"cS`s|j|S(N(R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagHtmlBodyBrs
cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jtddS(Nuhead(RR(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsuhtmlutitleunoframesustyleunoscriptuscriptubaseubasefontubgsounducommandulinkumetauheadubrubody(unoframesustyle(ubaseubasefontubgsounducommandulink(ubruhtmlubody(R3R4RRRrRkRRRRRRRRRRRRRR	RRRR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs>																								tInHeadNoscriptPhasecB`seZeZdZdZdZdZdZdZ	dZ
dZdZd	Z
d
ZdZejdefde	fde
fgZee_ejdefde
fgZee_RS(cS`s|jjd|jtS(Nueof-in-head-noscript(RBRfRRZ(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRr/s
cS`s|jjdj|S(NuinHead(RBR?Ro(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRo4scS`s|jjd|j|S(Nuchar-in-head-noscript(RBRfR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk7s
cS`s|jjdj|S(NuinHead(RBR?Rl(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRl<scS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR?scS`s|jjdj|S(NuinHead(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRBscS`s"|jjdi|dd6dS(Nuunexpected-start-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagHeadNoscriptEscS`s,|jjdi|dd6|j|S(Nuunexpected-inhead-noscript-taguname(RBRfR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRHs
cS`sQ|jjjj}|jdks7td|j|jjd|j_dS(NunoscriptuExpected noscript got %suinHead(RBR6ReRR8RsR?RU(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagNoscriptMs"cS`s,|jjdi|dd6|j|S(Nuunexpected-inhead-noscript-taguname(RBRfR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagBrRs
cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRWscS`s|jtddS(Nunoscript(RR(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRZsuhtmlubasefontubgsoundulinkumetaunoframesustyleuheadunoscriptubr(ubasefontubgsoundulinkumetaunoframesustyle(uheadunoscript(R3R4RRRrRoRkRlRRRRRRRRR	RRRR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR,s,																	tAfterHeadPhasec
B`seZeZdZdZdZdZdZdZ	dZ
dZdZd	Z
d
Zejdefdefd
efde	fde
fgZee_ejdefgZe
e_RS(cS`s|jtS(N(RRZ(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrns
cS`s|j|S(N(R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkrs
cS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRvscS`s6t|j_|jj||jjd|j_dS(NuinBody(RLRBR[R6RR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagBodyyscS`s*|jj||jjd|j_dS(Nu
inFrameset(R6RRBR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagFrameset~scS`s|jjdi|dd6|jjj|jj|jjdj|xG|jjdddD],}|jdkrh|jjj	|PqhqhWdS(Nu#unexpected-start-tag-out-of-my-headunameuinHeadiuhead(
RBRfR6ReRqRR?RmR8tremove(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagFromHeads cS`s"|jjdi|dd6dS(Nuunexpected-start-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|j|S(N(R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s|j|S(N(R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s?|jjtdd|jjd|j_t|j_dS(NubodyuStartTaguinBody(R6RRRBR?RURZR[(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsuhtmlubodyuframesetubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitleuheadubr(	ubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitle(ubodyuhtmlubr(R3R4RRRrRkRRRRRRRRRR	RRRR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRks0							
										tInBodyPhasec,`seZdZfdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!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/Z1d0Z2d1Z3d2Z4d3Z5e6j7d4j8fde
fd>efd?efde
fe9efdefdYefdefd]efd^efdefdkefdlefdefdpefdqefdefdefd{efd|efd}efd~efde fde!fde"fde#fde%fde&fde$fde'fde(fde)fg!Z:e*e:_;e6j7d>e,fd4e-fde.fdYe/fdSe+fde0fe9e1fde2fde3fdse4fg
Z<e5e<_;RS(uprocessSpaceCharactersc`s)t|j|||j|_dS(N(tsuperRAtprocessSpaceCharactersNonPreRl(R:RR (R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRAscS`s4|j|jko3|j|jko3|j|jkS(N(R8R_R`(R:tnode1tnode2((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytisMatchingFormattingElementscS`s|jj||jjd}g}xS|jjdddD]8}|tkrVPq@|j||r@|j|q@q@Wt|dkstt|dkr|jjj	|dn|jjj|dS(Nii(
R6RRetactiveFormattingElementsRRRqRhRsR(R:R{RbtmatchingElementsR((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytaddFormattingElements c
S`sWtd}xD|jjddd
D])}|j|kr&|jjdPq&q&WdS(Nuddudtuliuputbodyutdutfootuthutheadutrubodyuhtmliu expected-closing-tag-but-got-eof(uddudtuliuputbodyutdutfootuthutheadutrubodyuhtml(RjR6ReR8RBRf(R:tallowed_elementsR((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrs	 cS`s|d}|j|_|jdrb|jjdjdkrb|jjdjrb|d}n|r|jj|jj|ndS(	Nudatau
iupreulistingutextareai(upreulistingutextarea(	RRlRR6ReR8t
hasContentt#reconstructActiveFormattingElementsR(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt!processSpaceCharactersDropNewlines


cS`s}|ddkrdS|jj|jj|d|jjrytg|dD]}|tk^qOryt|j_ndS(Nudatau(R6RRRBR[tanyR
RL(R:R{tchar((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRks
#cS`s%|jj|jj|ddS(Nudata(R6RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s|jjdj|S(NuinHead(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagProcessInHeadscS`s|jjdidd6t|jjdksK|jjdjdkr`|jjstn`t|j_	xQ|dj
D]?\}}||jjdjkr}||jjdj|<q}q}WdS(Nuunexpected-start-tagubodyunameiudata(RBRfRhR6ReR8RJRsRLR[R&R`(R:R{RR((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jjdidd6t|jjdksK|jjdjdkr`|jjstn|jjson|jjdj	r|jjdj	j
|jjdnx-|jjdjdkr|jjjqW|jj||jj
d|j_dS(	Nuunexpected-start-taguframesetunameiubodyiuhtmlu
inFrameset(RBRfRhR6ReR8RJRsR[tparenttremoveChildRRR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs1'cS`sB|jjdddr.|jtdn|jj|dS(Nuptvariantubutton(R6telementInScopetendTagPRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagClosePscS`sZ|jjdddr.|jtdn|jj|t|j_|j|_	dS(NupRubutton(
R6RRRRRLRBR[RRl(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagPreListings
cS`s|jjr)|jjdidd6nT|jjdddrW|jtdn|jj||jjd|j_dS(Nuunexpected-start-taguformunameupRubuttoni(	R6tformPointerRBRfRRRRRe(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagFormscS`st|j_idgd6ddgd6ddgd6}||d}xnt|jjD]Z}|j|kr|jjjt	|jdPn|j
tkrW|jdkrWPqWqWW|jjdd	d
r|jjjt	ddn|jj
|dS(NuliudtuddunameuEndTaguaddressudivupRubutton(uaddressudivup(RLRBR[treversedR6ReR8RURnRt	nameTupleRRR(R:R{tstopNamesMapt	stopNamesR((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagListItem&s"

cS`sZ|jjdddr.|jtdn|jj||jjj|jj_dS(NupRubutton(	R6RRRRRBRFRTRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagPlaintext<scS`s|jjdddr.|jtdn|jjdjtkrx|jjdi|dd6|jjj	n|jj
|dS(NupRubuttoniuunexpected-start-taguname(R6RRRReR8R
RBRfRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagHeadingBscS`s|jjd}|r|jjdidd6dd6|jtd||jjkrt|jjj|n||jjkr|jjj|qn|jj	|j
|dS(Nuau$unexpected-start-tag-implies-end-tagu	startNameuendName(R6t!elementInActiveFormattingElementsRBRftendTagFormattingRReRRRR(R:R{tafeAElement((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt	startTagAJs
cS`s|jj|j|dS(N(R6RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagFormattingWs
cS`st|jj|jjdrc|jjdidd6dd6|jtd|jjn|j|dS(Nunobru$unexpected-start-tag-implies-end-tagu	startNameuendName(R6RRRBRfRnRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagNobr[s
cS`sw|jjdrJ|jjdidd6dd6|jtd|S|jj|jj|t|j_	dS(Nubuttonu$unexpected-start-tag-implies-end-tagu	startNameuendName(
R6RRBRfRnRRRRLR[(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagButtones
cS`s@|jj|jj||jjjtt|j_dS(N(	R6RRRRqRRLRBR[(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagAppletMarqueeObjectps
cS`s^|jjdddr.|jtdn|jjt|j_|jj|ddS(NupRubuttonuRAWTEXT(	R6RRRRRLRBR[R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagXmpvs

cS`sy|jjdkrC|jjdddrC|jtdqCn|jj|t|j_|jj	d|j_
dS(NuquirksupRubuttonuinTable(RBROR6RRnRRRLR[R?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
startTagTable}scS`sG|jj|jj||jjjt|d<t|j_dS(NuselfClosingAcknowledged(	R6RRReRRZRLRBR[(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagVoidFormattings


cS`sY|jj}|j|d|dkrU|ddjtdkrU||j_ndS(Nutypeudatauhidden(RBR[RRaR(R:R{R[((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
startTagInputs

cS`s.|jj||jjjt|d<dS(NuselfClosingAcknowledged(R6RReRRZ(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagParamSourcescS`sh|jjdddr.|jtdn|jj||jjjt|d<t|j	_
dS(NupRubuttonuselfClosingAcknowledged(R6RRRRReRRZRLRBR[(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
startTagHrs
c	S`sO|jjdidd6dd6|jtddd|dd	|d
dS(Nuunexpected-start-tag-treated-asuimageuoriginalNameuimgunewNameuStartTagR`udatatselfClosinguselfClosing(RBRfRmR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
startTagImages

c	S`s|jjdidd6|jjr*dSi}d|dkrU|dd|d<n|jtddd||jtd	d|jtd
dd|dkr|dd}nd}|jitd
d6|d6|dj}d|kr	|d=nd|kr|d=nd|d<|jtddd|d|d|j	td
|jtd	d|j	tddS(Nudeprecated-taguisindexunameuactionudatauformuStartTagR`uhrulabelupromptu3This is a searchable index. Enter search keywords: u
CharactersutypeuinputR
uselfClosing(
RBRfR6RRmRRkRtcopyRn(R:R{t
form_attrstpromptR`((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagIsIndexs6



cS`sD|jj||jjj|jj_|j|_t|j_	dS(N(
R6RRBRFRQRRRRlRLR[(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagTextareascS`st|j_|j|dS(N(RLRBR[tstartTagRawtext(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagIFramescS`s-|jjr|j|n
|j|dS(N(RBRDRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jj|ddS(u8iframe, noembed noframes, noscript(if scripting enabled)uRAWTEXTN(RBR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sY|jjdjdkr5|jjjtdn|jj|jjj|dS(Niuoption(	R6ReR8RBRURnRRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagOpts
cS`s|jj|jj|t|j_|jj|jjd|jjd|jjd|jjd|jjd|jjdfkr|jjd|j_n|jjd|j_dS(	NuinTableu	inCaptionu
inColumnGroupuinTableBodyuinRowuinCelluinSelectInTableuinSelect(R6RRRLRBR[RUR?(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagSelects




cS`s_|jjdrK|jj|jjdjdkrK|jjqKn|jj|dS(Nurubyi(R6RtgenerateImpliedEndTagsReR8RBRfR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagRpRts

cS`sv|jj|jj||jj|td|d<|jj||drr|jjjt	|d<ndS(Numathmlu	namespaceuselfClosinguselfClosingAcknowledged(
R6RRBRRRRReRRZ(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagMaths

cS`sv|jj|jj||jj|td|d<|jj||drr|jjjt	|d<ndS(Nusvgu	namespaceuselfClosinguselfClosingAcknowledged(
R6RRBRRRRReRRZ(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagSvgs

cS`s"|jjdi|dd6dS(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(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagMisplacedscS`s!|jj|jj|dS(N(R6RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s|jjdddsa|jtdd|jjdidd6|jtddn|jjd|jjdj	dkr|jjdidd6n|jjj
}x%|j	dkr|jjj
}qWdS(	NupRubuttonuStartTaguunexpected-end-tagunameuEndTagi(R6RRRRBRfRRReR8R(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jjds#|jjdS|jjdjdkrxX|jjdD]C}|jtdkrM|jjdidd6|jd6PqMqMWn|jjd|j_dS(Nubodyiiuddudtuliuoptgroupuoptionupurpurtutbodyutdutfootuthutheadutruhtmlu$expected-one-end-tag-but-got-anotherugotNameuexpectedNameu	afterBody(uddudtuliuoptgroupuoptionupurpurtutbodyutdutfootuthutheadutrubodyuhtml(	R6RRBRfReR8RjR?RU(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
endTagBody)s
		cS`s-|jjdr)|jtd|SdS(Nubody(R6RRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
endTagHtml;scS`s|ddkr|j|_n|jj|d}|rK|jjn|jjdj|dkr|jjdi|dd6n|r|jjj	}x,|j|dkr|jjj	}qWndS(Nunameupreiuend-tag-too-early(
RRlR6RRReR8RBRfR(R:R{tinScopeR((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagBlockAs!cS`s|jj}d|j_|dks7|jj|rT|jjdidd6nS|jj|jjd|kr|jjdidd6n|jjj|dS(Nuunexpected-end-taguformunameiuend-tag-too-early-ignored(	R6RR<RRBRfRReR(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
endTagFormOs
cS`s|ddkrd}nd}|jj|dd|s\|jjdi|dd6n|jjd|d|jjdj|dkr|jjdi|dd6n|jjj}x)|j|dkr|jjj}qWdS(	NunameuliulistRuunexpected-end-tagtexcludeiuend-tag-too-early(	R<R6RRBRfRReR8R(R:R{RR((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagListItem\s	!	cS`sx1tD])}|jj|r|jjPqqW|jjdj|dkrr|jjdi|dd6nx^tD]V}|jj|ry|jjj}x%|jtkr|jjj}qWPqyqyWdS(Niunameuend-tag-too-early(	R
R6RRReR8RBRfR(R:R{titem((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
endTagHeadingms

!
c	S`s3d}x&|dkr.|d7}|jj|d}|sd||jjkru|jj|jru|j|dS||jjkr|jjdi|dd6|jjj	|dS|jj|js|jjdi|dd6dS||jjdkr*|jjd	i|dd6n|jjj
|}d}x1|jj|D]}|jt
krV|}PqVqVW|dkr|jjj}x"||kr|jjj}qW|jjj	|dS|jj|d}|jjj
|}|}	}
d}|jjj
|
}x|d
kr9|d7}|d8}|jj|}
|
|jjkr|jjj	|
q$n|
|krPn|	|kr|jjj
|
d}n|
j}
|
|jj|jjj
|
<|
|jj|jjj
|
<|
}
|	jr#|	jj|	n|
j|	|
}	q$W|	jrV|	jj|	n|jtdkr|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.4iuadoption-agency-1.3iutableutbodyutfootutheadutr(utableutbodyutfootutheadutr(R6RReRR8RRBRfRRtindexR<RRRt	cloneNodeRRtappendChildRjtgetTableMisnestedNodePositiontinsertBeforetreparentChildrentinsert(R:R{touterLoopCountertformattingElementtafeIndext
furthestBlockRbtcommonAncestortbookmarktlastNodeRtinnerLoopCounterR#tcloneRR'((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR|s

	

!



	

	


cS`s|jj|dr&|jjn|jjdj|dkrd|jjdi|dd6n|jj|dr|jjj}x)|j|dkr|jjj}qW|jjndS(Nunameiuend-tag-too-early(	R6RRReR8RBRfRtclearActiveFormattingElements(R:R{Rb((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagAppletMarqueeObjects!cS`s[|jjdidd6dd6|jj|jjtdd|jjjdS(Nuunexpected-end-tag-treated-asubruoriginalNameu
br elementunewNameuStartTag(RBRfR6RRRReR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR+s

cS`sx|jjdddD]}|j|dkr|jjd|d|jjdj|dkr|jjdi|dd6nx|jjj|krqWPq|jtkr|jjdi|dd6PqqWdS(NiunameRuunexpected-end-tag(	R6ReR8RRBRfRRR(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR2s !uhtmlubaseubasefontubgsounducommandulinkumetauscriptustyleutitleubodyuframesetuaddressuarticleuasideu
blockquoteucenterudetailsudirudivudlufieldsetu
figcaptionufigureufooteruheaderuhgroupumainumenuunavuolupusectionusummaryuulupreulistinguformuliuddudtu	plaintextuaububigucodeuemufontuiususmallustrikeustronguttuuunobrubuttonuappletumarqueeuobjectuxmputableuareaubruembeduimgukeygenuwbruparamusourceutrackuinputuhruimageuisindexutextareauiframeunoscriptunoembedunoframesuselecturpurtuoptionuoptgroupumathusvgucaptionucolucolgroupuframeuheadutbodyutdutfootuthutheadutrudialog(uprocessSpaceCharacters(	ubaseubasefontubgsounducommandulinkumetauscriptustyleutitle(uaddressuarticleuasideu
blockquoteucenterudetailsudirudivudlufieldsetu
figcaptionufigureufooteruheaderuhgroupumainumenuunavuolupusectionusummaryuul(upreulisting(uliuddudt(ububigucodeuemufontuiususmallustrikeustronguttuu(uappletumarqueeuobject(uareaubruembeduimgukeygenuwbr(uparamusourceutrack(unoembedunoframes(urpurt(uoptionuoptgroup(ucaptionucolucolgroupuframeuheadutbodyutdutfootuthutheadutr(uaddressuarticleuasideu
blockquoteubuttonucenterudetailsudialogudirudivudlufieldsetu
figcaptionufigureufooteruheaderuhgroupulistingumainumenuunavuolupreusectionusummaryuul(uddudtuli(uaububigucodeuemufontuiunobrususmallustrikeustronguttuu(uappletumarqueeuobject(=R3R4RRARRRrRRkRRRRRRRRRRRRRRRRRRRRR	RRRRRRRRRRRRRRRRRRR R"RR4RRR	RRR
RRR((RR(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs			
	
													
		
																							
				
																																												t	TextPhasecB`sweZeZdZdZdZdZdZe	j
gZee_e	j
defgZ
ee
_RS(cS`s|jj|ddS(Nudata(R6R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkscS`sM|jjdi|jjdjd6|jjj|jj|j_tS(Nu&expected-named-closing-tag-but-got-eofiuname(	RBRfR6ReR8RRRURZ(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrs
cS`ststd|ddS(Nu4Tried to process start tag %s in RCDATA/RAWTEXT modeuname(RLRs(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s=|jjj}|jdks't|jj|j_dS(Nuscript(R6ReRR8RsRBRRU(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagScriptscS`s&|jjj|jj|j_dS(N(R6ReRRBRRU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsuscript(R3R4RRRkRrRR6RR	RRRR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR5s							tInTablePhasec
`sReZeZdZdZdZdZdZdZ	dZ
dZdZd	Z
d
ZdZdZd
ZdZdZdZdZejdjfde	fde
fdefd"efd#e
fdefd$efdefd efg
Zee_ejdefd%efgZee_RS(&cS`s4x-|jjdjdkr/|jjjqWdS(Niutableuhtml(utableuhtml(R6ReR8R(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableContextscS`sB|jjdjdkr,|jjdn|jjs>tdS(Niuhtmlueof-in-table(R6ReR8RBRfRJRs(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrscS`sH|jj}|jjd|j_||jj_|jjj|dS(NuinTableText(RBRUR?RRl(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRlscS`sH|jj}|jjd|j_||jj_|jjj|dS(NuinTableText(RBRUR?RRk(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkscS`s3t|j_|jjdj|t|j_dS(NuinBody(RZR6tinsertFromTableRBR?RkRL(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sG|j|jjjt|jj||jjd|j_dS(Nu	inCaption(	R8R6RRqRRRBR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagCaptions
cS`s4|j|jj||jjd|j_dS(Nu
inColumnGroup(R8R6RRBR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagColgroups
cS`s|jtdd|S(NucolgroupuStartTag(R;R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagColscS`s4|j|jj||jjd|j_dS(NuinTableBody(R8R6RRBR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagRowGroups
cS`s|jtdd|S(NutbodyuStartTag(R=R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagImplyTbodyscS`sN|jjdidd6dd6|jjjtd|jjsJ|SdS(Nu$unexpected-start-tag-implies-end-tagutableu	startNameuendName(RBRfRURnRRJ(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s|jjdj|S(NuinHead(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagStyleScriptscS`sqd|dkr`|ddjtdkr`|jjd|jj||jjjn
|j|dS(Nutypeudatauhiddenu unexpected-hidden-input-in-table(	RaRRBRfR6RReRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s_|jjd|jjdkr[|jj||jjd|j_|jjjndS(Nuunexpected-form-in-tablei(RBRfR6RR<RReR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`sQ|jjdi|dd6t|j_|jjdj|t|j_dS(Nu)unexpected-start-tag-implies-table-voodoounameuinBody(RBRfRZR6R9R?RmRL(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jjdddr|jj|jjdjdkro|jjdidd6|jjdjd6nx-|jjdjdkr|jjjqrW|jjj|jjn|jj	st
|jjdS(NutableRiuend-tag-too-early-namedugotNameuexpectedName(R6RRReR8RBRfRRWRJRs(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagTables

cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagIgnorescS`sQ|jjdi|dd6t|j_|jjdj|t|j_dS(Nu'unexpected-end-tag-implies-table-voodoounameuinBody(RBRfRZR6R9R?RnRL(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsuhtmlucaptionucolgroupucolutbodyutfootutheadutduthutrutableustyleuscriptuinputuformubody(utbodyutfootuthead(utduthutr(ustyleuscript(ubodyucaptionucolucolgroupuhtmlutbodyutdutfootuthutheadutr(R3R4RRR8RrRlRkRR:R;R<R=R>RR?RRRR@RARR	RRRRR((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR7sH															
															tInTableTextPhasec`s\eZd
ZfdZdZdZdZdZdZdZ	d	Z
RS(u
originalPhaseucharacterTokensc`s/t|j||d|_g|_dS(N(RRAR<RtcharacterTokens(R:RR (RB(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRA6s	cS`sdjg|jD]}|d^q}tg|D]}|tk^q3ritdd6|d6}|jjdj|n|r|jj|ng|_dS(Nuudatau
CharactersutypeuinTable(	tjoinRCRR
RRBR?RR6(R:R!RR{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytflushCharacters;s)%cS`s|j|j|j_|S(N(RERRBRU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRoDs
cS`s|j|j|j_tS(N(RERRBRURZ(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrIs
cS`s(|ddkrdS|jj|dS(Nudatau(RCRq(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkNscS`s|jj|dS(N(RCRq(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRlSscS`s|j|j|j_|S(N(RERRBRU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRmXs
cS`s|j|j|j_|S(N(RERRBRU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRn]s
(u
originalPhaseucharacterTokens(R3R4RRARERoRrRkRlRmRn((RB(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRB3s							tInCaptionPhasec
`seZeZdZdZdZdZdZdZ	dZ
dZdZe
jd	jfdefgZee_e
jd
e	fde
fdefgZee_RS(cS`s|jjdddS(NucaptionRutable(R6R(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagCaptionfscS`s|jjdjdS(NuinBody(RBR?Rr(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRriscS`s|jjdj|S(NuinBody(RBR?Rk(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRklscS`s@|jj|j}|jjjtd|s<|SdS(Nucaption(RBRfRGRURnR(R:R{tignoreEndTag((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagTableElementos

cS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRwscS`s|js|jj|jjdjdkrc|jjdidd6|jjdjd6nx-|jjdjdkr|jjjqfW|jjj|jj|jj	d|j_
n|jjst|jjdS(Niucaptionu$expected-one-end-tag-but-got-anotherugotNameuexpectedNameuinTable(
RGR6RReR8RBRfRR3R?RURJRs(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
endTagCaptionzs


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

cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRAscS`s|jjdj|S(NuinBody(RBR?Rn(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrutableubody(	ucaptionucolucolgrouputbodyutdutfootuthutheadutr(
ubodyucolucolgroupuhtmlutbodyutdutfootuthutheadutr(R3R4RRRGRrRkRIRRJR@RARR	RRRRR((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRFbs*													tInColumnGroupPhasec`seZeZdZdZdZdZdZdZ	dZ
dZej
djfd	efgZee_ej
d
e	fd	e
fgZee_RS(cS`s|jjdjdkS(Niuhtml(R6ReR8(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagColgroupscS`s\|jjdjdkr/|jjs+tdS|j}|jtd|sXt	SdS(Niuhtmlucolgroup(
R6ReR8RBRJRsRLtendTagColgroupRRZ(R:RH((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrscS`s-|j}|jtd|s)|SdS(Nucolgroup(RLRMR(R:R{RH((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkscS`s.|jj||jjjt|d<dS(NuselfClosingAcknowledged(R6RReRRZ(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR<scS`s-|j}|jtd|s)|SdS(Nucolgroup(RLRMR(R:R{RH((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sX|jr.|jjst|jjn&|jjj|jjd|j_	dS(NuinTable(
RLRBRJRsRfR6ReRR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRMs
cS`s|jjdidd6dS(Nu
no-end-tagucoluname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt	endTagColscS`s-|j}|jtd|s)|SdS(Nucolgroup(RLRMR(R:R{RH((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsuhtmlucolucolgroup(R3R4RRRLRrRkR<RRMRNRR	RRRRR((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRKs"			
									tInTableBodyPhasec`seZeZdZdZdZdZdZdZ	dZ
dZdZd	Z
d
ZdZejdjfd
efde	fde
fgZee_ejdefde
fdefgZee_RS(cS`sbx-|jjdjdkr/|jjjqW|jjdjdkr^|jjs^tndS(Niutbodyutfootutheaduhtml(utbodyutfootutheaduhtml(R6ReR8RRBRJRs(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableBodyContexts
	cS`s|jjdjdS(NuinTable(RBR?Rr(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrscS`s|jjdj|S(NuinTable(RBR?Rl(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRlscS`s|jjdj|S(NuinTable(RBR?Rk(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkscS`s4|j|jj||jjd|j_dS(NuinRow(RPR6RRBR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
startTagTrs
cS`s8|jjdi|dd6|jtdd|S(Nuunexpected-cell-in-table-bodyunameutruStartTag(RBRfRQR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagTableCellscS`s|jjdddsH|jjdddsH|jjdddrv|j|jt|jjdj|S|jjst	|jj
dS(NutbodyRutableutheadutfooti(R6RRPtendTagTableRowGroupRReR8RBRJRsRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagTableOthers
cS`s|jjdj|S(NuinTable(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sq|jj|dddrO|j|jjj|jjd|j_n|jjdi|dd6dS(NunameRutableuinTableu unexpected-end-tag-in-table-body(	R6RRPReRRBR?RURf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRSs
cS`s|jjdddsH|jjdddsH|jjdddrv|j|jt|jjdj|S|jjst	|jj
dS(NutbodyRutableutheadutfooti(R6RRPRSRReR8RBRJRsRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR@%s
cS`s"|jjdi|dd6dS(Nu unexpected-end-tag-in-table-bodyuname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRA2scS`s|jjdj|S(NuinTable(RBR?Rn(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR6suhtmlutrutduthucaptionucolucolgrouputbodyutfootutheadutableubody(utduth(ucaptionucolucolgrouputbodyutfootuthead(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduthutr(R3R4RRRPRrRlRkRQRRRTRRSR@RARR	RRRRR((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyROs4		
										
							t
InRowPhasec`seZeZdZdZdZdZdZdZ	dZ
dZdZd	Z
d
ZdZdZejd
jfde	fde
fgZee_ejdefde
fdefdefgZee_RS(cS`s[xT|jjdjdkrV|jjdi|jjdjd6|jjjqWdS(Niutruhtmlu'unexpected-implied-end-tag-in-table-rowuname(utruhtml(R6ReR8RBRfR(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableRowContextOscS`s|jjdddS(NutrRutable(R6R(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagTrUscS`s|jjdjdS(NuinTable(RBR?Rr(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrYscS`s|jjdj|S(NuinTable(RBR?Rl(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRl\scS`s|jjdj|S(NuinTable(RBR?Rk(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk_scS`sG|j|jj||jjd|j_|jjjtdS(NuinCell(	RVR6RRBR?RURRqR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRRbs
cS`s-|j}|jtd|s)|SdS(Nutr(RWtendTagTrR(R:R{RH((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRThscS`s|jjdj|S(NuinTable(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`sb|js?|j|jjj|jjd|j_n|jjsQt	|jj
dS(NuinTableBody(RWRVR6ReRRBR?RURJRsRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRXrs
cS`s-|j}|jtd|s)|SdS(Nutr(RWRXR(R:R{RH((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR@|scS`sD|jj|dddr3|jtd|S|jjdS(NunameRutableutr(R6RRXRRBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRSscS`s"|jjdi|dd6dS(Nuunexpected-end-tag-in-table-rowuname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRAscS`s|jjdj|S(NuinTable(RBR?Rn(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsuhtmlutduthucaptionucolucolgrouputbodyutfootutheadutrutableubody(utduth(ucaptionucolucolgrouputbodyutfootutheadutr(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduth(R3R4RRRVRWRrRlRkRRRTRRXR@RSRARR	RRRRR((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRUJs6										
									tInCellPhasec`seZeZdZdZdZdZdZdZ	dZ
dZdZe
jd	jfdefgZee_e
jde	fde
fdefgZee_RS(cS`s`|jjdddr.|jtdn.|jjdddr\|jtdndS(NutdRutableuth(R6RtendTagTableCellR(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt	closeCellscS`s|jjdjdS(NuinBody(RBR?Rr(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrscS`s|jjdj|S(NuinBody(RBR?Rk(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkscS`sa|jjddds0|jjdddr>|j|S|jjsPt|jjdS(NutdRutableuth(R6RR[RBRJRsRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRTs
cS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jj|dddr|jj|d|jjdj|dkr|jjdi|dd6xFtr|jjj}|j|dkrnPqnqnWn|jjj|jj	|jj
d|j_n|jjdi|dd6dS(NunameRutableiuunexpected-cell-end-taguinRowuunexpected-end-tag(R6RRReR8RBRfRZRR3R?RU(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRZs	
cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRAscS`s;|jj|dddr*|j|S|jjdS(NunameRutable(R6RR[RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagImplys
cS`s|jjdj|S(NuinBody(RBR?Rn(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRsuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrubodyutable(	ucaptionucolucolgrouputbodyutdutfootuthutheadutr(utduth(ubodyucaptionucolucolgroupuhtml(utableutbodyutfootutheadutr(R3R4RRR[RrRkRTRRZRAR\RR	RRRRR((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRYs(					
								t
InSelectPhasec`seZeZdZdZdZdZdZdZ	dZ
dZdZd	Z
d
ZdZejdjfd
efdefdefde	fde
fgZee_ejd
efde
fdefgZee_RS(cS`sB|jjdjdkr,|jjdn|jjs>tdS(Niuhtmlu
eof-in-select(R6ReR8RBRfRJRs(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrscS`s,|ddkrdS|jj|ddS(Nudatau(R6R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkscS`s@|jjdjdkr,|jjjn|jj|dS(Niuoption(R6ReR8RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagOptionscS`sl|jjdjdkr,|jjjn|jjdjdkrX|jjjn|jj|dS(Niuoptionuoptgroup(R6ReR8RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagOptgroup	s
cS`s'|jjd|jtddS(Nuunexpected-select-in-selectuselect(RBRftendTagSelectR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`sU|jjd|jjdddr?|jtd|S|jjsQtdS(Nuunexpected-input-in-selectuselectR(RBRfR6RR`RRJRs(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR	s
cS`s|jjdj|S(NuinHead(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`s"|jjdi|dd6dS(Nuunexpected-start-tag-in-selectuname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`sJ|jjdjdkr,|jjjn|jjdidd6dS(Niuoptionuunexpected-end-tag-in-selectuname(R6ReR8RRBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagOption	scS`s|jjdjdkrE|jjdjdkrE|jjjn|jjdjdkrq|jjjn|jjdidd6dS(Niuoptioniuoptgroupuunexpected-end-tag-in-selectuname(R6ReR8RRBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagOptgroup%	scS`s|jjdddrb|jjj}x%|jdkrQ|jjj}q-W|jjn|jjstt|jj	dS(NuselectR(
R6RReRR8RBRWRJRsRf(R:R{R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR`2	scS`s"|jjdi|dd6dS(Nuunexpected-end-tag-in-selectuname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR=	suhtmluoptionuoptgroupuselectuinputukeygenutextareauscript(uinputukeygenutextarea(R3R4RRRrRkR^R_RRRRRaRbR`RR	RRRRR((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR]s4											
									tInSelectInTablePhasec	B`seZeZdZdZdZdZdZdZ	e
jdefgZee_
e
jdefgZe	e_
RS(cS`s|jjdjdS(NuinSelect(RBR?Rr(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrU	scS`s|jjdj|S(NuinSelect(RBR?Rk(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkX	scS`s5|jjdi|dd6|jtd|S(Nu5unexpected-table-element-start-tag-in-select-in-tableunameuselect(RBRfRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR[	scS`s|jjdj|S(NuinSelect(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR`	scS`sU|jjdi|dd6|jj|dddrQ|jtd|SdS(Nu3unexpected-table-element-end-tag-in-select-in-tableunameRutableuselect(RBRfR6RRR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR@c	scS`s|jjdj|S(NuinSelect(RBR?Rn(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRi	sucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth(R3R4RRRrRkRRR@RR	RRRR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRcR	s								tInForeignContentPhasec-`seZeZedddddddddd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+g,Zd,Zfd-Zd.Zd/Z	RS(0ububigu
blockquoteubodyubrucenterucodeuddudivudludtuemuembeduh1uh2uh3uh4uh5uh6uheaduhruiuimguliulistingumenuumetaunobruolupupreurubyususmalluspanustrongustrikeusubusuputableuttuuuuluvarcS`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:R{treplacements((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytadjustSVGTagNames	sL

c`sf|ddkrd|d<n5|jjrRtd|dDrRt|j_nj||dS(Nudatauu�cs`s|]}|tkVqdS(N(R
(R7R((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pys	<genexpr>	s(RBR[RRLRk(R:R{(R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk	s
cS`s|jjd}|d|jksV|ddkrt|djdddh@r|jjdi|dd6xm|jjdj|jjkr|jj	|jjdr|jj
|jjdr|jjjqwW|S|jtd	kr|jj
|n3|jtd
krA|j||jj|n|jj||j|d<|jj||dr|jjjt|d
<ndS(Niunameufontudataucolorufaceusizeu*unexpected-html-element-in-foreign-contentumathmlusvgu	namespaceuselfClosinguselfClosingAcknowledged(R6RetbreakoutElementstsettkeysRBRfR_RiRcRdRRRRfRRRRZ(R:R{R~((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRm	s.#


cS`sZt|jjd}|jjd}|jjt|dkrc|jjdi|dd6nxtrU|jjt|dkr|jj	|jj
dkr|jj	j|jj	j|j_	nx.|jjj
|kr|jjstqWd}Pn|d8}|jj|}|j|jjkr<qfqf|jj	j|}PqfW|S(Niiunameuunexpected-end-taguinTableText(RhR6ReR8RaRRBRfRZRUR?RERRRsR<R_RiRn(R:R{t	nodeIndexRR}((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRn	s(!	
(
R3R4RRRjRgRfRkRmRn((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRdx	s		)	tAfterBodyPhasecB`seZeZdZdZdZdZdZdZ	dZ
ejdefgZ
ee
_ejde	fgZe
e_RS(cS`sdS(N((R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRr	scS`s!|jj||jjddS(Ni(R6RRe(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRo	scS`s*|jjd|jjd|j_|S(Nuunexpected-char-after-bodyuinBody(RBRfR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk	scS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((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(RBRfR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`s9|jjr|jjdn|jjd|j_dS(Nu'unexpected-end-tag-after-body-innerhtmluafterAfterBody(RBRJRfR?RU(R:R8((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(RBRfR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR

suhtml(R3R4RRRrRoRkRRRRR	RRRR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk	s									tInFramesetPhasec`seZeZdZdZdZdZdZdZ	dZ
dZej
djfd	efd
efdefgZe	e_ej
d	e
fgZee_RS(cS`sB|jjdjdkr,|jjdn|jjs>tdS(Niuhtmlueof-in-frameset(R6ReR8RBRfRJRs(R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRr
scS`s|jjddS(Nuunexpected-char-in-frameset(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk"
scS`s|jj|dS(N(R6R(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR%
scS`s$|jj||jjjdS(N(R6RReR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt
startTagFrame(
scS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagNoframes,
scS`s"|jjdi|dd6dS(Nu unexpected-start-tag-in-framesetuname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR/
scS`s|jjdjdkr,|jjdn|jjj|jjr{|jjdjdkr{|jjd|j_ndS(Niuhtmlu)unexpected-frameset-in-frameset-innerhtmluframesetu
afterFrameset(	R6ReR8RBRfRRJR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytendTagFrameset3
s
cS`s"|jjdi|dd6dS(Nuunexpected-end-tag-in-framesetuname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR?
suhtmluframesetuframeunoframes(R3R4RRRrRkRRmRnRRoRR	RRRRR((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRl
s$												tAfterFramesetPhasec`seZeZdZdZdZdZdZdZ	e
jdjfdefgZ
ee
_e
jdefgZe	e_RS(cS`sdS(N((R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrT
scS`s|jjddS(Nuunexpected-char-after-frameset(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRkX
scS`s|jjdj|S(NuinHead(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRn[
scS`s"|jjdi|dd6dS(Nu#unexpected-start-tag-after-framesetuname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR^
scS`s|jjd|j_dS(NuafterAfterFrameset(RBR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRb
scS`s"|jjdi|dd6dS(Nu!unexpected-end-tag-after-framesetuname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRe
suhtmlunoframes(R3R4RRRrRkRnRRRR	RRRRR((R(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRpP
s								tAfterAfterBodyPhasecB`sqeZeZdZdZdZdZdZdZ	dZ
ejdefgZ
e	e
_RS(cS`sdS(N((R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRrw
scS`s|jj||jjdS(N(R6RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRoz
scS`s|jjdj|S(NuinBody(RBR?Rl(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRl}
scS`s*|jjd|jjd|j_|S(Nuexpected-eof-but-got-charuinBody(RBRfR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk
scS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((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(RBRfR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR
scS`s8|jjdi|dd6|jjd|j_|S(Nuexpected-eof-but-got-end-tagunameuinBody(RBRfR?RU(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRn
suhtml(R3R4RRRrRoRlRkRRRnR	RRR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRqt
s								tAfterAfterFramesetPhasecB`seZeZdZdZdZdZdZdZ	dZ
dZej
defd	e	fgZe
e_RS(
cS`sdS(N((R:((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRr
scS`s|jj||jjdS(N(R6RR(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRo
scS`s|jjdj|S(NuinBody(RBR?Rl(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRl
scS`s|jjddS(Nuexpected-eof-but-got-char(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRk
scS`s|jjdj|S(NuinBody(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR
scS`s|jjdj|S(NuinHead(RBR?Rm(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagNoFrames
scS`s"|jjdi|dd6dS(Nuexpected-eof-but-got-start-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR
scS`s"|jjdi|dd6dS(Nuexpected-eof-but-got-end-taguname(RBRf(R:R{((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRn
suhtmlunoframes(R3R4RRRrRoRlRkRRsRRnR	RRR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyRr
s										uinitialu
beforeHtmlu
beforeHeaduinHeaduinHeadNoscriptu	afterHeaduinBodyutextuinTableuinTableTextu	inCaptionu
inColumnGroupuinTableBodyuinRowuinCelluinSelectuinSelectInTableuinForeignContentu	afterBodyu
inFramesetu
afterFramesetuafterAfterBodyuafterAfterFrameset(R(R@RNRRRRRRRR5R7RFRKRORURYR]RcRdRkRlRpRqRr((RRBRsQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR>sh		%H%-f?B!/F@bYLc&r.8$%%c`s[t|dt@}|rWt|dfd|djD|d<ndS(Nudatac3`s-|]#\}}j|||fVqdS(N(Rg(R7tktv(Re(sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pys	<genexpr>
s(RR*R&(R{Retneeds_adjustment((ResQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR
suEndTagcC`s9|dkri}nit|d6|d6|d6|d6S(NutypeunameudatauselfClosing(R<R(R8R*R`R
((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR
s	RcB`seZdZRS(uError in parsed document(R3R4R(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyR
s(/t
__future__RRRtpip._vendor.sixRRR(tRRRttreebuilders.baseRR	t	constantsR
RRR
RRRRRRRRRRRRRRZRR$R5tobjectRtmemoizeR>RR<RLRt	ExceptionR(((sQ/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/html5lib/html5parser.pyt<module>s6j
	7W	
Back to Directory File Manager