File "html5parser.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyc
File size: 120.75 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


abc@`sddlmZmZmZddlmZmZmZddlZyddl	m
Z
Wn!ek
r{ddlm
Z
nXddl
mZddl
mZddl
mZdd	lmZdd
l
mZddlmZmZmZmZmZmZmZmZmZmZmZm Z!m"Z"m#Z#m$Z$m%Z%de&d
Z'dde&dZ(dZ)de*fdYZ+ej,dZ-dZ.de/e0dZ1de2fdYZ3dS(i(tabsolute_importtdivisiontunicode_literals(twith_metaclasstviewkeystPY3N(tOrderedDicti(t_inputstream(t
_tokenizer(ttreebuilders(tMarker(t_utils(tspaceCharacterstasciiUpper2LowertspecialElementstheadingElementst
cdataElementstrcdataElementst
tokenTypest
tagTokenTypest
namespacesthtmlIntegrationPointElementst"mathmlTextIntegrationPointElementstadjustForeignAttributestadjustMathMLAttributestadjustSVGAttributestEtReparseExceptionuetreecK`s1tj|}t|d|}|j||S(u.Parse a string or file-like object into a treetnamespaceHTMLElements(R	tgetTreeBuildert
HTMLParsertparse(tdocttreebuilderRtkwargsttbtp((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRsudivcK`s7tj|}t|d|}|j|d||S(NRt	container(R	RRt
parseFragment(R R%R!RR"R#R$((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR&&sc`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(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR-.s
(t__name__t
__module__R-((R4(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR'-s(R,(R4R'((R4sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytmethod_decorator_metaclass,sRcB`seZdZdeeedZededZdZe	dZ
dZdZdZ
d	Zd
ZdZddd
ZdZdZdZdZdZdZdZRS(uZHTML parser. Generates a tree structure from a stream of (possibly
        malformed) HTMLcC`s||_|dkr'tjd}n|||_g|_tgt|jD]$\}}||||jf^qU|_	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)
        uetreeN(
tstricttNoneR	Rttreeterrorstdictt	getPhasesR(tphases(tselfR:R8Rtdebugtnametcls((sD/usr/lib/python2.7/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%RFR"((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyt_parsePs			


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(R:RItFalset
firstStartTagR;tlogt
compatModeRER%tlowerRLRRHtrcdataStatetstateRtrawtextStatetplaintextStateR>tphasetinsertHtmlElementtresetInsertionModeR9t	lastPhasetbeforeRCDataPhasetTruet
framesetOK(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRI^s*
					

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

        u	tokenizeriN(thasattrR9RHRKtcharEncodingRA(R?((sD/usr/lib/python2.7/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(RAt	namespaceRt
attributest	translateR
R(R?telement((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytisHTMLIntegrationPoints
cC`s|j|jftkS(N(RaRAR(R?Rd((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytisMathMLTextIntegrationPointscC`sBtd}td}td}td}td}td}td}x|jD]}d}	|}
x=|
dk	r|
}	|jjr|jjdnd}|r|jnd}|r|jnd}
|
d	}||kr|j|
d
|
jdid}
qht	|jjdks||jj
ks|j|rx||krf|d
tddgks|||fks|t
dkr|
dkr||kr|d
dks|j|r||||fkr|j}n
|jd}||kr|j|
}
qh||kr)|j|
}
qh||krG|j|
}
qh||kre|j|
}
qh||kr|j|
}
qh||krh|j|
}
qhqhW||krS|	drS|	drS|jdi|	d
d
6qSqSWt}g}xG|r=|j|j|jj}|r|j|ks:tqqWdS(Nu
CharactersuSpaceCharactersuStartTaguEndTaguCommentuDoctypeu
ParseErroriutypeudataudatavarsiunameumglyphu
malignmarkumathmluannotation-xmlusvguinForeignContentuselfClosinguselfClosingAcknowledgedu&non-void-element-with-trailing-solidus(RtnormalizedTokensR9R:topenElementsRaRAt
parseErrortgettlentdefaultNamespaceRft	frozensetRReRWR>tprocessCharacterstprocessSpaceCharacterstprocessStartTagt
processEndTagtprocessCommenttprocessDoctypeR\tappendt
processEOFtAssertionError(R?tCharactersTokentSpaceCharactersTokent
StartTagTokentEndTagTokentCommentTokentDoctypeTokentParseErrorTokenttokent
prev_tokent	new_tokentcurrentNodetcurrentNodeNamespacetcurrentNodeNameR,RWt	reprocessR>((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRJsp






"
 	
		cc`s&x|jD]}|j|Vq
WdS(N(RHtnormalizeToken(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRgscO`s&|j|td|||jjS(uParse 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)

        scripting - treat noscript elements as if javascript was turned on
        N(RMRNR9R:tgetDocument(R?RKtargsR"((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscO`s#|j|t|||jjS(u2Parse 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)

        scripting - treat noscript elements as if javascript was turned on
        (RMR\R:tgetFragment(R?RKRR"((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR&suXXX-undefined-errorcC`s^|dkri}n|jj|jjj||f|jrZtt||ndS(N(	R9R;RtRHRKtpositionR8t
ParseErrorR(R?t	errorcodetdatavars((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRis
	%	cC`sr|dtdkrn|d}t||d<t|t|dkrn|dj|dddqnn|S(u3 HTML5 specific normalizations to the token stream utypeuStartTagudataNi(RRRktupdate(R?R~traw((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
$cC`st|tdS(N(tadjust_attributesR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscC`st|tdS(N(RR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscC`st|tdS(N(RtadjustForeignAttributesMap(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscC`s|jjdS(N(RDRW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytreparseTokenNormalscC`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(RNR:RhRAR9RLRvR\RaRlR>RW(R?tlasttnewModestnodetnodeNamet	new_phase((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRY!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(
RvR:t
insertElementRHRURTRSRWt
originalPhaseR>(R?R~tcontentType((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytparseRCDataRawtextMsN(R5R6t__doc__R9RNR\RCRMRItpropertyR`ReRfRJRgRR&RiRRRRRRYR(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR8s&	"	
		C									,c`sTd}d}dt|||fdYdfdY}dfdY}d	ffd
Y}dffdY}d
ffdY}dffdY}dffdY}	dffdY}
dffdY}dffdY}dffdY}
dffdY}dffdY}dffd Y}d!ffd"Y}d#ffd$Y}d%ffd&Y}d'ffd(Y}d)ffd*Y}d+ffd,Y}d-ffd.Y}d/ffd0Y}d1ffd2Y}i|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|dF6|dG6|dH6|dI6S(JNc`s2tdtjDfd}|S(u4Logger that records which phase processes each tokencs`s!|]\}}||fVqdS(N((t.0tkeytvalue((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pys	<genexpr>csc`sjjdrt|dkr|d}yi|dd6}Wn
nX|dtkru|d|d<n|jjj|jjjj|jj	j
j|j
jj|f|||S|||SdS(Nuprocessiutypeuname(R5t
startswithRkRRDRPRtRHRTRWt	__class__(R?RR"R~tinfo(R4t
type_names(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytwrappedfs$
	
(R<RR((R4R((R4RsD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRPas	cS`s|rt|StSdS(N(R7R,(t
use_metaclasstmetaclass_func((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytgetMetaclasszs
tPhasecB`s_eZdZdZdZdZdZdZdZdZ	dZ
d	ZRS(
uNBase class for helper object that implements each phase of processing
        cS`s||_||_dS(N(RDR:(R?RDR:((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCs	cS`s
tdS(N(tNotImplementedError(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRuscS`s!|jj||jjddS(Ni(R:t
insertCommentRh(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRrscS`s|jjddS(Nuunexpected-doctype(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRsscS`s|jj|ddS(Nudata(R:t
insertText(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnscS`s|jj|ddS(Nudata(R:R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`s|j|d|S(Nuname(tstartTagHandler(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRpscS`s|jjr0|ddkr0|jjdnxQ|djD]?\}}||jjdjkrA||jjdj|<qAqAWt|j_dS(Nunameuhtmlu
non-html-rootudatai(RDRORiR(R:RhRbRN(R?R~tattrR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytstartTagHtmlscS`s|j|d|S(Nuname(t
endTagHandler(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqs(R5R6RRCRuRrRsRnRoRpRRq(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs								
tInitialPhasecB`sPeZdZdZdZdZdZdZdZdZ	RS(cS`sdS(N((R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`s|jj||jjdS(N(R:Rtdocument(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRrsc8S`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//(R9RDRiR:t
insertDoctypeRcR
RRRRQR>RW(R?R~RAtpublicIdtsystemIdtcorrect((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRss



						cS`s&d|j_|jjd|j_dS(Nuquirksu
beforeHtml(RDRQR>RW(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytanythingElsescS`s|jjd|j|S(Nuexpected-doctype-but-got-chars(RDRiR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRns
cS`s,|jjdi|dd6|j|S(Nu"expected-doctype-but-got-start-taguname(RDRiR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRps
cS`s,|jjdi|dd6|j|S(Nu expected-doctype-but-got-end-taguname(RDRiR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqs
cS`s|jjd|jtS(Nuexpected-doctype-but-got-eof(RDRiRR\(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu%s
(
R5R6RoRrRsRRnRpRqRu(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs			_				tBeforeHtmlPhasecB`sGeZdZdZdZdZdZdZdZRS(cS`s3|jjtdd|jjd|j_dS(NuhtmluStartTagu
beforeHead(R:t
insertRoottimpliedTagTokenRDR>RW(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRX,scS`s|jtS(N(RXR\(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu1s
cS`s|jj||jjdS(N(R:RR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRr5scS`sdS(N((R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRo8scS`s|j|S(N(RX(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn;s
cS`s-|ddkrt|j_n|j|S(Nunameuhtml(R\RDRORX(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRp?s
cS`sC|ddkr1|jjdi|dd6n|j|SdS(Nunameuheadubodyuhtmlubruunexpected-end-tag-before-html(uheadubodyuhtmlubr(RDRiRX(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqEs

(	R5R6RXRuRrRoRnRpRq(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR*s						tBeforeHeadPhasec`s_eZfdZdZdZdZdZdZdZdZ	dZ
RS(	c`s}j|||tjd|jfd|jfg|_|j|j_tjd|jfg|_	|j
|j	_dS(Nuhtmluheadubodyubr(uheadubodyuhtmlubr(RCRtMethodDispatcherRtstartTagHeadRt
startTagOthertdefaulttendTagImplyHeadRtendTagOther(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCNscS`s|jtddtS(NuheaduStartTag(RRR\(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu\scS`sdS(N((R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRo`scS`s|jtdd|S(NuheaduStartTag(RR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRncscS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRgscS`s@|jj||jjd|j_|jjd|j_dS(NiuinHead(R:RRhtheadPointerRDR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjscS`s|jtdd|S(NuheaduStartTag(RR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`s|jtdd|S(NuheaduStartTag(RR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRsscS`s"|jjdi|dd6dS(Nuend-tag-after-implied-rootuname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRws(R5R6RCRuRoRnRRRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRMs							tInHeadPhasec`seZfdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZRS(c`sj|||tjd|jfd|jfd|jfd|jfd|jfd|jfd|j	fd
|j
fg|_|j|j_
tjd
|jfd|jfg|_|j|j_
dS(Nuhtmlutitleunoframesustyleunoscriptuscriptubaseubasefontubgsounducommandulinkumetauheadubrubody(unoframesustyle(ubaseubasefontubgsounducommandulink(ubruhtmlubody(RCRRRt
startTagTitletstartTagNoFramesStyletstartTagNoscripttstartTagScripttstartTagBaseLinkCommandtstartTagMetaRRRRt
endTagHeadtendTagHtmlBodyBrRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC|s 	cS`s|jtS(N(RR\(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRus
cS`s|j|S(N(R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRns
cS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jjddS(Nu!two-heads-are-not-better-than-one(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s.|jj||jjjt|d<dS(NuselfClosingAcknowledged(R:RRhtpopR\(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`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(R:RRhRR\RDRHRKR_tchangeEncodingRRRt
EncodingBytestencodetContentAttrParserR(R?R~RbtdataRDtcodec((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs

cS`s|jj|ddS(NuRCDATA(RDR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jj|ddS(NuRAWTEXT(RDR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sL|jjr"|jj|dn&|jj||jjd|j_dS(NuRAWTEXTuinHeadNoscript(RDRFRR:RR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sT|jj||jjj|jj_|jj|j_|jjd|j_dS(Nutext(	R:RRDRHtscriptDataStateRTRWRR>(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|j|S(N(R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`sQ|jjjj}|jdks7td|j|jjd|j_dS(NuheaduExpected head got %su	afterHead(RDR:RhRRARvR>RW(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs"cS`s|j|S(N(R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jtddS(Nuhead(RR(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs(R5R6RCRuRnRRRRRRRRRRRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR{s 														tInHeadNoscriptPhasec`seZfdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZRS(
c`sj|||tjd|jfd|jfd|jfg|_|j|j_tjd	|j	fd
|j
fg|_|j|j_dS(
Nuhtmlubasefontubgsoundulinkumetaunoframesustyleuheadunoscriptubr(ubasefontubgsoundulinkumetaunoframesustyle(uheadunoscript(
RCRRRRtstartTagHeadNoscriptRRRtendTagNoscripttendTagBrRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCscS`s|jjd|jtS(Nueof-in-head-noscript(RDRiRR\(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRus
cS`s|jjdj|S(NuinHead(RDR>Rr(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRrscS`s|jjd|j|S(Nuchar-in-head-noscript(RDRiR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRns
cS`s|jjdj|S(NuinHead(RDR>Ro(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jjdj|S(NuinHead(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s"|jjdi|dd6dS(Nuunexpected-start-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`s,|jjdi|dd6|j|S(Nuunexpected-inhead-noscript-taguname(RDRiR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`sQ|jjjj}|jdks7td|j|jjd|j_dS(NunoscriptuExpected noscript got %suinHead(RDR:RhRRARvR>RW(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs"cS`s,|jjdi|dd6|j|S(Nuunexpected-inhead-noscript-taguname(RDRiR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jtddS(Nunoscript(RR(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs(R5R6RCRuRrRnRoRRRRRRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs											tAfterHeadPhasec`szeZfdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
RS(c
`sj|||tjd|jfd|jfd|jfd|jfd
|jfg|_|j	|j_
tjd|jfg|_|j
|j_
dS(Nuhtmlubodyuframesetubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitleuheadubr(	ubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitle(ubodyuhtmlubr(RCRRRtstartTagBodytstartTagFramesettstartTagFromHeadRRRRRRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC#s		cS`s|jtS(N(RR\(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu4s
cS`s|j|S(N(R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn8s
cS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR<scS`s6t|j_|jj||jjd|j_dS(NuinBody(RNRDR]R:RR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?scS`s*|jj||jjd|j_dS(Nu
inFrameset(R:RRDR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRDscS`s|jjdi|dd6|jjj|jj|jjdj|xG|jjdddD],}|jdkrh|jjj	|PqhqhWdS(Nu#unexpected-start-tag-out-of-my-headunameuinHeadiuhead(
RDRiR:RhRtRR>RpRAtremove(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRHs cS`s"|jjdi|dd6dS(Nuunexpected-start-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRRscS`s|j|S(N(R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRUs
cS`s|j|S(N(R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRYs
cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR]scS`s?|jjtdd|jjd|j_t|j_dS(NubodyuStartTaguinBody(R:RRRDR>RWR\R](R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR`s(R5R6RCRuRnRRRRRRRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR"s						
				tInBodyPhasec`seZfdZdZdZdZdZdZdZdZ	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/Z1d0Z2d1Z3d2Z4RS(3c,`sij||||j|_tjd|jfdd|jfd|jfd|jfde|j	ft
|jfdf|jfd&|j
fdg|jfd*|jfd+|jfdh|jfd8|jfd9|jfdi|jfd=|jfd>|jfdj|jfdk|jfdH|jfdI|jfdJ|jfdK|jfdL|jfdM|jfdN|jfdl|j fdQ|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
|j0fdr|j1fds|j2fd@|j3fg
|_4|j5|j4_)dS(tNuhtmlubaseubasefontubgsounducommandulinkumetauscriptustyleutitleubodyuframesetuaddressuarticleuasideu
blockquoteucenterudetailsudirudivudlufieldsetu
figcaptionufigureufooteruheaderuhgroupumainumenuunavuolupusectionusummaryuulupreulistinguformuliuddudtu	plaintextuaububigucodeuemufontuiususmallustrikeustronguttuuunobrubuttonuappletumarqueeuobjectuxmputableuareaubruembeduimgukeygenuwbruparamusourceutrackuinputuhruimageuisindexutextareauiframeunoscriptunoembedunoframesuselecturpurtuoptionuoptgroupumathusvgucaptionucolucolgroupuframeuheadutbodyutdutfootuthutheadutrudialog(	ubaseubasefontubgsounducommandulinkumetauscriptustyleutitle(uaddressuarticleuasideu
blockquoteucenterudetailsudirudivudlufieldsetu
figcaptionufigureufooteruheaderuhgroupumainumenuunavuolupusectionusummaryuul(upreulisting(uliuddudt(ububigucodeuemufontuiususmallustrikeustronguttuu(uappletumarqueeuobject(uareaubruembeduimgukeygenuwbr(uparamusourceutrack(unoembedunoframes(urpurt(uoptionuoptgroup(ucaptionucolucolgroupuframeuheadutbodyutdutfootuthutheadutr(uaddressuarticleuasideu
blockquoteubuttonucenterudetailsudialogudirudivudlufieldsetu
figcaptionufigureufooteruheaderuhgroupulistingumainumenuunavuolupreusectionusummaryuul(uddudtuli(uaububigucodeuemufontuiunobrususmallustrikeustronguttuu(uappletumarqueeuobject(6RCtprocessSpaceCharactersNonPreRoRRRtstartTagProcessInHeadRRtstartTagClosePRtstartTagHeadingtstartTagPreListingtstartTagFormtstartTagListItemtstartTagPlaintextt	startTagAtstartTagFormattingtstartTagNobrtstartTagButtontstartTagAppletMarqueeObjecttstartTagXmpt
startTagTabletstartTagVoidFormattingtstartTagParamSourcet
startTagInputt
startTagHrt
startTagImagetstartTagIsIndextstartTagTextareatstartTagIFrameRtstartTagRawtexttstartTagSelecttstartTagRpRttstartTagOpttstartTagMathtstartTagSvgtstartTagMisplacedRRRt
endTagBodyt
endTagHtmltendTagBlockt
endTagFormtendTagPtendTagListItemt
endTagHeadingtendTagFormattingtendTagAppletMarqueeObjectRRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRChs~			cS`s4|j|jko3|j|jko3|j|jkS(N(RARaRb(R?tnode1tnode2((sD/usr/lib/python2.7/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(
R:RRhtactiveFormattingElementsR
RRtRkRvR(R?R~RdtmatchingElementsR((sD/usr/lib/python2.7/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(RmR:RhRARDRi(R?tallowed_elementsR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRus	 cS`s|d}|j|_|jdrb|jjdjdkrb|jjdjrb|d}n|r|jj|jj|ndS(	Nudatau
iupreulistingutextareai(upreulistingutextarea(	RRoRR:RhRAt
hasContentt#reconstructActiveFormattingElementsR(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyt!processSpaceCharactersDropNewlines


cS`s}|ddkrdS|jj|jj|d|jjrytg|dD]}|tk^qOryt|j_ndS(Nudatau(R:RRRDR]tanyRRN(R?R~tchar((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRns
#cS`s%|jj|jj|ddS(Nudata(R:RR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s|jjdj|S(NuinHead(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jjdidd6t|jjdksK|jjdjdkr`|jjstn`t|j_	xQ|dj
D]?\}}||jjdjkr}||jjdj|<q}q}WdS(Nuunexpected-start-tagubodyunameiudata(RDRiRkR:RhRARLRvRNR]R(Rb(R?R~RR((sD/usr/lib/python2.7/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(RDRiRkR:RhRARLRvR]tparenttremoveChildRRR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs1'cS`sB|jjdddr.|jtdn|jj|dS(Nuptvariantubutton(R:telementInScopeRRR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`sZ|jjdddr.|jtdn|jj|t|j_|j|_	dS(NupRubutton(
R:RRRRRNRDR]R
Ro(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s|jjr)|jjdidd6nT|jjdddrW|jtdn|jj||jjd|j_dS(Nuunexpected-start-taguformunameupRubuttoni(	R:tformPointerRDRiRRRRRh(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs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(RNRDR]treversedR:RhRARWRqRt	nameTupleRRR(R?R~tstopNamesMapt	stopNamesR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs"

cS`sZ|jjdddr.|jtdn|jj||jjj|jj_dS(NupRubutton(	R:RRRRRDRHRVRT(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR4scS`s|jjdddr.|jtdn|jjdjtkrx|jjdi|dd6|jjj	n|jj
|dS(NupRubuttoniuunexpected-start-taguname(R:RRRRhRARRDRiRR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR:scS`s|jjd}|r|jjdidd6dd6|jtd||jjkrt|jjj|n||jjkr|jjj|qn|jj	|j
|dS(Nuau$unexpected-start-tag-implies-end-tagu	startNameuendName(R:t!elementInActiveFormattingElementsRDRiRRRhRRRR	(R?R~tafeAElement((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRBs
cS`s|jj|j|dS(N(R:RR	(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyROs
cS`st|jj|jjdrc|jjdidd6dd6|jtd|jjn|j|dS(Nunobru$unexpected-start-tag-implies-end-tagu	startNameuendName(R:RRRDRiRqRR	(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRSs
cS`sw|jjdrJ|jjdidd6dd6|jtd|S|jj|jj|t|j_	dS(Nubuttonu$unexpected-start-tag-implies-end-tagu	startNameuendName(
R:RRDRiRqRRRRNR](R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR]s
cS`s@|jj|jj||jjjtt|j_dS(N(	R:RRRRtR
RNRDR](R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRhs
cS`s^|jjdddr.|jtdn|jjt|j_|jj|ddS(NupRubuttonuRAWTEXT(	R:RRRRRNRDR]R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRns

cS`sy|jjdkrC|jjdddrC|jtdqCn|jj|t|j_|jj	d|j_
dS(NuquirksupRubuttonuinTable(RDRQR:RRqRRRNR]R>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRuscS`sG|jj|jj||jjjt|d<t|j_dS(NuselfClosingAcknowledged(	R:RRRhRR\RNRDR](R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR}s


cS`sY|jj}|j|d|dkrU|ddjtdkrU||j_ndS(Nutypeudatauhidden(RDR]RRcR
(R?R~R]((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs

cS`s.|jj||jjjt|d<dS(NuselfClosingAcknowledged(R:RRhRR\(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sh|jjdddr.|jtdn|jj||jjjt|d<t|j	_
dS(NupRubuttonuselfClosingAcknowledged(R:RRRRRhRR\RNRDR](R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
c	S`sO|jjdidd6dd6|jtddd|dd	|d
dS(Nuunexpected-start-tag-treated-asuimageuoriginalNameuimgunewNameuStartTagRbudatatselfClosinguselfClosing(RDRiRpR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs

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-taguisindexunameuactionudatauformuStartTagRbuhrulabelupromptu3This is a searchable index. Enter search keywords: u
CharactersutypeuinputRuselfClosing(
RDRiR:RRpRRnRtcopyRq(R?R~t
form_attrstpromptRb((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs6



cS`sD|jj||jjj|jj_|j|_t|j_	dS(N(
R:RRDRHRSRTR
RoRNR](R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`st|j_|j|dS(N(RNRDR]R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s-|jjr|j|n
|j|dS(N(RDRFRR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jj|ddS(u8iframe, noembed noframes, noscript(if scripting enabled)uRAWTEXTN(RDR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sY|jjdjdkr5|jjjtdn|jj|jjj|dS(Niuoption(	R:RhRARDRWRqRRR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s|jj|jj|t|j_|jj|jjd|jjd|jjd|jjd|jjd|jjdfkr|jjd|j_n|jjd|j_dS(	NuinTableu	inCaptionu
inColumnGroupuinTableBodyuinRowuinCelluinSelectInTableuinSelect(R:RRRNRDR]RWR>(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs




cS`s_|jjdrK|jj|jjdjdkrK|jjqKn|jj|dS(Nurubyi(R:RtgenerateImpliedEndTagsRhRARDRiR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs

cS`sv|jj|jj||jj|td|d<|jj||drr|jjjt	|d<ndS(Numathmlu	namespaceuselfClosinguselfClosingAcknowledged(
R:RRDRRRRRhRR\(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs

cS`sv|jj|jj||jj|td|d<|jj||drr|jjjt	|d<ndS(Nusvgu	namespaceuselfClosinguselfClosingAcknowledged(
R:RRDRRRRRhRR\(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs

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(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s!|jj|jj|dS(N(R:RR(R?R~((sD/usr/lib/python2.7/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(R:RRRRDRiRRRhRAR(R?R~R((sD/usr/lib/python2.7/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(	R:RRDRiRhRARmR>RW(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR!s
		cS`s-|jjdr)|jtd|SdS(Nubody(R:RRR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR3scS`s|ddkr|j|_n|jj|d}|rK|jjn|jjdj|dkr|jjdi|dd6n|r|jjj	}x,|j|dkr|jjj	}qWndS(Nunameupreiuend-tag-too-early(
RRoR:RRRhRARDRiR(R?R~tinScopeR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR9s!cS`s|jj}d|j_|dks7|jj|rT|jjdidd6nS|jj|jjd|kr|jjdidd6n|jjj|dS(Nuunexpected-end-taguformunameiuend-tag-too-early-ignored(	R:RR9RRDRiRRhR(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRGs
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(	R9R:RRDRiRRhRAR(R?R~RR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRTs	!	cS`sx1tD])}|jj|r|jjPqqW|jjdj|dkrr|jjdi|dd6nx^tD]V}|jj|ry|jjj}x%|jtkr|jjj}qWPqyqyWdS(Niunameuend-tag-too-early(	RR:RRRhRARDRiR(R?R~titem((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRes

!
cS`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(R:RRhRRARRDRiRRtindexR9RRRt	cloneNodeRRtappendChildRmtgetTableMisnestedNodePositiontinsertBeforetreparentChildrentinsert(R?R~touterLoopCountertformattingElementtafeIndext
furthestBlockRdtcommonAncestortbookmarktlastNodeRtinnerLoopCounterR#tcloneRR'((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRts

	

!



	

	


cS`s|jj|dr&|jjn|jjdj|dkrd|jjdi|dd6n|jj|dr|jjj}x)|j|dkr|jjj}qW|jjndS(Nunameiuend-tag-too-early(	R:RRRhRARDRiRtclearActiveFormattingElements(R?R~Rd((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs!cS`s[|jjdidd6dd6|jj|jjtdd|jjjdS(Nuunexpected-end-tag-treated-asubruoriginalNameu
br elementunewNameuStartTag(RDRiR:RRRRhR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR#s

cS`sx|jjdddD]}|j|dkr|jjd|d|jjdj|dkr|jjdi|dd6nx|jjj|krqWPq|jtkr|jjdi|dd6PqqWdS(NiunameR!uunexpected-end-tag(	R:RhRARRDRiRRR(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR*s !(5R5R6RCRR	RuR
RnRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyResfG			
	
													
		
																							
				
					t	TextPhasec`sDeZfdZdZdZdZdZdZRS(c`sej|||tjg|_|j|j_tjd|jfg|_|j|j_dS(Nuscript(	RCRRRRRtendTagScriptRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC9scS`s|jj|ddS(Nudata(R:R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnAscS`sM|jjdi|jjdjd6|jjj|jj|j_tS(Nu&expected-named-closing-tag-but-got-eofiuname(	RDRiR:RhRARRRWR\(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRuDs
cS`ststd|ddS(Nu4Tried to process start tag %s in RCDATA/RAWTEXT modeuname(RNRv(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRKscS`s=|jjj}|jdks't|jj|j_dS(Nuscript(R:RhRRARvRDRRW(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR5NscS`s&|jjj|jj|j_dS(N(R:RhRRDRRW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRUs(R5R6RCRnRuRR5R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR48s				tInTablePhasec`seZfdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZRS(c
`sj|||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(RCRRRtstartTagCaptiontstartTagColgrouptstartTagColtstartTagRowGrouptstartTagImplyTbodyRtstartTagStyleScriptRRRRRtendTagTabletendTagIgnoreRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC[s$cS`s4x-|jjdjdkr/|jjjqWdS(Niutableuhtml(utableuhtml(R:RhRAR(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableContextsscS`sB|jjdjdkr,|jjdn|jjs>tdS(Niuhtmlueof-in-table(R:RhRARDRiRLRv(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu|scS`sH|jj}|jjd|j_||jj_|jjj|dS(NuinTableText(RDRWR>RRo(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`sH|jj}|jjd|j_||jj_|jjj|dS(NuinTableText(RDRWR>RRn(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnscS`s3t|j_|jjdj|t|j_dS(NuinBody(R\R:tinsertFromTableRDR>RnRN(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sG|j|jjjt|jj||jjd|j_dS(Nu	inCaption(	R?R:RRtR
RRDR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR7s
cS`s4|j|jj||jjd|j_dS(Nu
inColumnGroup(R?R:RRDR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR8s
cS`s|jtdd|S(NucolgroupuStartTag(R8R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR9scS`s4|j|jj||jjd|j_dS(NuinTableBody(R?R:RRDR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR:s
cS`s|jtdd|S(NutbodyuStartTag(R:R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR;scS`sN|jjdidd6dd6|jjjtd|jjsJ|SdS(Nu$unexpected-start-tag-implies-end-tagutableu	startNameuendName(RDRiRWRqRRL(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s|jjdj|S(NuinHead(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR<scS`sqd|dkr`|ddjtdkr`|jjd|jj||jjjn
|j|dS(Nutypeudatauhiddenu unexpected-hidden-input-in-table(	RcR
RDRiR:RRhRR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s_|jjd|jjdkr[|jj||jjd|j_|jjjndS(Nuunexpected-form-in-tablei(RDRiR:RR9RRhR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`sQ|jjdi|dd6t|j_|jjdj|t|j_dS(Nu)unexpected-start-tag-implies-table-voodoounameuinBody(RDRiR\R:R@R>RpRN(R?R~((sD/usr/lib/python2.7/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(R:RRRhRARDRiRRYRLRv(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR=s

cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR>scS`sQ|jjdi|dd6t|j_|jjdj|t|j_dS(Nu'unexpected-end-tag-implies-table-voodoounameuinBody(RDRiR\R:R@R>RqRN(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs(R5R6RCR?RuRoRnRR7R8R9R:R;RR<RRRR=R>R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR6Ys&														
				tInTableTextPhasec`sVeZfdZdZdZdZdZdZdZdZ	RS(c`s)j|||d|_g|_dS(N(RCR9RtcharacterTokens(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCs	cS`sdjg|jD]}|d^q}tg|D]}|tk^q3ritdd6|d6}|jjdj|n|r|jj|ng|_dS(Nuudatau
CharactersutypeuinTable(	tjoinRBRRRRDR>RR:(R?R"RR~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytflushCharacterss)%cS`s|j|j|j_|S(N(RDRRDRW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRrs
cS`s|j|j|j_tS(N(RDRRDRWR\(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRus
cS`s(|ddkrdS|jj|dS(Nudatau(RBRt(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnscS`s|jj|dS(N(RBRt(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`s|j|j|j_|S(N(RDRRDRW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRp
s
cS`s|j|j|j_|S(N(RDRRDRW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqs
(
R5R6RCRDRrRuRnRoRpRq((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRAs							tInCaptionPhasec`sheZfdZdZdZdZdZdZdZdZ	dZ
d	ZRS(
c
`sj|||tjd|jfd
|jfg|_|j|j_tjd|jfd|j	fd|j
fg|_|j|j_dS(Nuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrutableubody(	ucaptionucolucolgrouputbodyutdutfootuthutheadutr(
ubodyucolucolgroupuhtmlutbodyutdutfootuthutheadutr(
RCRRRtstartTagTableElementRRRt
endTagCaptionR=R>RR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCscS`s|jjdddS(NucaptionRutable(R:R(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagCaption+scS`s|jjdjdS(NuinBody(RDR>Ru(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu.scS`s|jjdj|S(NuinBody(RDR>Rn(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn1scS`s@|jj|j}|jjjtd|s<|SdS(Nucaption(RDRiRHRWRqR(R?R~tignoreEndTag((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRF4s

cS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR<scS`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(
RHR:RRhRARDRiRR3R>RWRLRv(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRG?s


cS`s@|jj|j}|jjjtd|s<|SdS(Nucaption(RDRiRHRWRqR(R?R~RI((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR=Qs

cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR>XscS`s|jjdj|S(NuinBody(RDR>Rq(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR[s(R5R6RCRHRuRnRFRRGR=R>R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyREs								tInColumnGroupPhasec`s_eZfdZdZdZdZdZdZdZdZ	dZ
RS(	c`sj|||tjd|jfd|jfg|_|j|j_tjd|jfd|j	fg|_
|j|j
_dS(Nuhtmlucolucolgroup(RCRRRR9RRRtendTagColgroupt	endTagColRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCascS`s|jjdjdkS(Niuhtml(R:RhRA(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagColgrouppscS`s\|jjdjdkr/|jjs+tdS|j}|jtd|sXt	SdS(Niuhtmlucolgroup(
R:RhRARDRLRvRMRKRR\(R?RI((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRusscS`s-|j}|jtd|s)|SdS(Nucolgroup(RMRKR(R?R~RI((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn}scS`s.|jj||jjjt|d<dS(NuselfClosingAcknowledged(R:RRhRR\(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR9scS`s-|j}|jtd|s)|SdS(Nucolgroup(RMRKR(R?R~RI((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sX|jr.|jjst|jjn&|jjj|jjd|j_	dS(NuinTable(
RMRDRLRvRiR:RhRR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRKs
cS`s|jjdidd6dS(Nu
no-end-tagucoluname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRLscS`s-|j}|jtd|s)|SdS(Nucolgroup(RMRKR(R?R~RI((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs(R5R6RCRMRuRnR9RRKRLR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRJ^s		
						tInTableBodyPhasec`seZfdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZRS(
c`sj|||tjd|jfd|jfd
|jfd|jfg|_|j|j_	tjd|j
fd|jfd|jfg|_
|j|j
_	dS(Nuhtmlutrutduthucaptionucolucolgrouputbodyutfootutheadutableubody(utduth(ucaptionucolucolgrouputbodyutfootuthead(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduthutr(RCRRRt
startTagTrtstartTagTableCelltstartTagTableOtherRRRtendTagTableRowGroupR=R>RR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCscS`sbx-|jjdjdkr/|jjjqW|jjdjdkr^|jjs^tndS(Niutbodyutfootutheaduhtml(utbodyutfootutheaduhtml(R:RhRARRDRLRv(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableBodyContexts
	cS`s|jjdjdS(NuinTable(RDR>Ru(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRuscS`s|jjdj|S(NuinTable(RDR>Ro(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`s|jjdj|S(NuinTable(RDR>Rn(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnscS`s4|j|jj||jjd|j_dS(NuinRow(RSR:RRDR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyROs
cS`s8|jjdi|dd6|jtdd|S(Nuunexpected-cell-in-table-bodyunameutruStartTag(RDRiROR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRPscS`s|jjdddsH|jjdddsH|jjdddrv|j|jt|jjdj|S|jjst	|jj
dS(NutbodyRutableutheadutfooti(R:RRSRRRRhRARDRLRvRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRQs
cS`s|jjdj|S(NuinTable(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sq|jj|dddrO|j|jjj|jjd|j_n|jjdi|dd6dS(NunameRutableuinTableu unexpected-end-tag-in-table-body(	R:RRSRhRRDR>RWRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRRs
cS`s|jjdddsH|jjdddsH|jjdddrv|j|jt|jjdj|S|jjst	|jj
dS(NutbodyRutableutheadutfooti(R:RRSRRRRhRARDRLRvRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR=s
cS`s"|jjdi|dd6dS(Nu unexpected-end-tag-in-table-bodyuname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR>scS`s|jjdj|S(NuinTable(RDR>Rq(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs(R5R6RCRSRuRoRnRORPRQRRRR=R>R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRNs	
										
	t
InRowPhasec`seZfdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
ZRS(c`sj|||tjd|jfd
|jfd|jfg|_|j|j_tjd
|j	fd|j
fd|jfd|jfg|_
|j|j
_dS(Nuhtmlutduthucaptionucolucolgrouputbodyutfootutheadutrutableubody(utduth(ucaptionucolucolgrouputbodyutfootutheadutr(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduth(RCRRRRPRQRRRtendTagTrR=RRR>RR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCscS`s[xT|jjdjdkrV|jjdi|jjdjd6|jjjqWdS(Niutruhtmlu'unexpected-implied-end-tag-in-table-rowuname(utruhtml(R:RhRARDRiR(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableRowContextscS`s|jjdddS(NutrRutable(R:R(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagTrscS`s|jjdjdS(NuinTable(RDR>Ru(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu"scS`s|jjdj|S(NuinTable(RDR>Ro(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRo%scS`s|jjdj|S(NuinTable(RDR>Rn(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn(scS`sG|j|jj||jjd|j_|jjjtdS(NuinCell(	RVR:RRDR>RWRRtR
(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRP+s
cS`s-|j}|jtd|s)|SdS(Nutr(RWRUR(R?R~RI((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRQ1scS`s|jjdj|S(NuinTable(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR8scS`sb|js?|j|jjj|jjd|j_n|jjsQt	|jj
dS(NuinTableBody(RWRVR:RhRRDR>RWRLRvRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRU;s
cS`s-|j}|jtd|s)|SdS(Nutr(RWRUR(R?R~RI((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR=EscS`sD|jj|dddr3|jtd|S|jjdS(NunameRutableutr(R:RRURRDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRRMscS`s"|jjdi|dd6dS(Nuunexpected-end-tag-in-table-rowuname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR>TscS`s|jjdj|S(NuinTable(RDR>Rq(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRXs(R5R6RCRVRWRuRoRnRPRQRRUR=RRR>R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRTs									
			tInCellPhasec`sheZfdZdZdZdZdZdZdZdZ	dZ
d	ZRS(
c`sj|||tjd|jfd
|jfg|_|j|j_tjd|jfd|j	fd|j
fg|_|j|j_dS(Nuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrubodyutable(	ucaptionucolucolgrouputbodyutdutfootuthutheadutr(utduth(ubodyucaptionucolucolgroupuhtml(utableutbodyutfootutheadutr(
RCRRRRQRRRtendTagTableCellR>tendTagImplyRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC]scS`s`|jjdddr.|jtdn.|jjdddr\|jtdndS(NutdRutableuth(R:RRYR(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyt	closeCellnscS`s|jjdjdS(NuinBody(RDR>Ru(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRuuscS`s|jjdj|S(NuinBody(RDR>Rn(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnxscS`sa|jjddds0|jjdddr>|j|S|jjsPt|jjdS(NutdRutableuth(R:RR[RDRLRvRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRQ{s
cS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/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(R:RRRhRARDRiR\RR3R>RW(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRYs	
cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR>scS`s;|jj|dddr*|j|S|jjdS(NunameRutable(R:RR[RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRZs
cS`s|jjdj|S(NuinBody(RDR>Rq(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs(R5R6RCR[RuRnRQRRYR>RZR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRX[s				
				t
InSelectPhasec`seZfdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZRS(
c`sj|||tjd|jfd|jfd|jfd|jfd	|jfd|jfg|_	|j
|j	_tjd|jfd|j
fd|jfg|_|j|j_dS(
Nuhtmluoptionuoptgroupuselectuinputukeygenutextareauscript(uinputukeygenutextarea(RCRRRtstartTagOptiontstartTagOptgroupRRRRRRtendTagOptiontendTagOptgrouptendTagSelectRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCscS`sB|jjdjdkr,|jjdn|jjs>tdS(Niuhtmlu
eof-in-select(R:RhRARDRiRLRv(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRuscS`s,|ddkrdS|jj|ddS(Nudatau(R:R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnscS`s@|jjdjdkr,|jjjn|jj|dS(Niuoption(R:RhRARR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR]scS`sl|jjdjdkr,|jjjn|jjdjdkrX|jjjn|jj|dS(Niuoptionuoptgroup(R:RhRARR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR^s
cS`s'|jjd|jtddS(Nuunexpected-select-in-selectuselect(RDRiRaR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sU|jjd|jjdddr?|jtd|S|jjsQtdS(Nuunexpected-input-in-selectuselectR(RDRiR:RRaRRLRv(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs
cS`s|jjdj|S(NuinHead(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s"|jjdi|dd6dS(Nuunexpected-start-tag-in-selectuname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sJ|jjdjdkr,|jjjn|jjdidd6dS(Niuoptionuunexpected-end-tag-in-selectuname(R:RhRARRDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR_scS`s|jjdjdkrE|jjdjdkrE|jjjn|jjdjdkrq|jjjn|jjdidd6dS(Niuoptioniuoptgroupuunexpected-end-tag-in-selectuname(R:RhRARRDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR`scS`s|jjdddrb|jjj}x%|jdkrQ|jjj}q-W|jjn|jjstt|jj	dS(NuselectR(
R:RRhRRARDRYRLRvRi(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRascS`s"|jjdi|dd6dS(Nuunexpected-end-tag-in-selectuname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR	s(R5R6RCRuRnR]R^RRRRR_R`RaR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR\s										
	tInSelectInTablePhasec`sMeZfdZdZdZdZdZdZdZRS(c	`sqj|||tjd	|jfg|_|j|j_tjd
|jfg|_|j	|j_dS(Nucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth(
RCRRRRRRR=RR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC	scS`s|jjdjdS(NuinSelect(RDR>Ru(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu	scS`s|jjdj|S(NuinSelect(RDR>Rn(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn	scS`s5|jjdi|dd6|jtd|S(Nu5unexpected-table-element-start-tag-in-select-in-tableunameuselect(RDRiRR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR!	scS`s|jjdj|S(NuinSelect(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR&	scS`sU|jjdi|dd6|jj|dddrQ|jtd|SdS(Nu3unexpected-table-element-end-tag-in-select-in-tableunameRutableuselect(RDRiR:RRR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR=)	scS`s|jjdj|S(NuinSelect(RDR>Rq(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR/	s(	R5R6RCRuRnRRR=R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRb	s					tInForeignContentPhasec-`seZedddddddddd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+g,Zfd,Zd-Zfd.Zd/Zd0ZRS(1ububigu
blockquoteubodyubrucenterucodeuddudivudludtuemuembeduh1uh2uh3uh4uh5uh6uheaduhruiuimguliulistingumenuumetaunobruolupupreurubyususmalluspanustrongustrikeusubusuputableuttuuuuluvarc`sj|||dS(N(RC(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC<	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?R~treplacements((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytadjustSVGTagNames?	sL

c`sf|ddkrd|d<n5|jjrRtd|dDrRt|j_nj||dS(Nudatauu�cs`s|]}|tkVqdS(N(R(RR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pys	<genexpr>l	s(RDR]RRNRn(R?R~(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnh	s
cS`s|jjd}|d|jks\|ddkrt|djtdddg@r|jjdi|dd6xm|jjdj|jjkr|jj	|jjdr|jj
|jjdr|jjjq}W|S|jtd	kr|jj
|n3|jtd
krG|j||jj|n|jj||j|d<|jj||dr|jjjt|d
<ndS(Niunameufontudataucolorufaceusizeu*unexpected-html-element-in-foreign-contentumathmlusvgu	namespaceuselfClosinguselfClosingAcknowledged(R:RhtbreakoutElementstsettkeysRDRiRaRlReRfRRRReRRRR\(R?R~R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRpp	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(RkR:RhRARcR
RDRiR\RWR>RDRRRvR9RaRlRq(R?R~t	nodeIndexRR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq	s(!	
(	R5R6RmRfRCReRnRpRq((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRc2	s	)	tAfterBodyPhasec`sVeZfdZdZdZdZdZdZdZdZ	RS(c`sqj|||tjd|jfg|_|j|j_tjd|jfg|_|j	|j_dS(Nuhtml(
RCRRRRRRRRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC	scS`sdS(N((R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu	scS`s!|jj||jjddS(Ni(R:RRh(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRr	scS`s*|jjd|jjd|j_|S(Nuunexpected-char-after-bodyuinBody(RDRiR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn	scS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`s8|jjdi|dd6|jjd|j_|S(Nuunexpected-start-tag-after-bodyunameuinBody(RDRiR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`s9|jjr|jjdn|jjd|j_dS(Nu'unexpected-end-tag-after-body-innerhtmluafterAfterBody(RDRLRiR>RW(R?RA((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`s8|jjdi|dd6|jjd|j_|S(Nuunexpected-end-tag-after-bodyunameuinBody(RDRiR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR	s(
R5R6RCRuRrRnRRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRj	s						tInFramesetPhasec`s_eZfdZdZdZdZdZdZdZdZ	dZ
RS(	c`sj|||tjd|jfd|jfd|jfd|jfg|_|j|j_	tjd|j
fg|_|j|j_	dS(Nuhtmluframesetuframeunoframes(
RCRRRRt
startTagFrametstartTagNoframesRRRtendTagFramesetRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC	scS`sB|jjdjdkr,|jjdn|jjs>tdS(Niuhtmlueof-in-frameset(R:RhRARDRiRLRv(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu	scS`s|jjddS(Nuunexpected-char-in-frameset(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn	scS`s|jj|dS(N(R:R(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR	scS`s$|jj||jjjdS(N(R:RRhR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRl	scS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRm	scS`s"|jjdi|dd6dS(Nu unexpected-start-tag-in-framesetuname(RDRi(R?R~((sD/usr/lib/python2.7/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(	R:RhRARDRiRRLR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn	s
cS`s"|jjdi|dd6dS(Nuunexpected-end-tag-in-framesetuname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR	
s(R5R6RCRuRnRRlRmRRnR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRk	s							tAfterFramesetPhasec`sMeZfdZdZdZdZdZdZdZRS(c`s}j|||tjd|jfd|jfg|_|j|j_tjd|jfg|_	|j
|j	_dS(Nuhtmlunoframes(RCRRRRmRRRRRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC
scS`sdS(N((R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu
scS`s|jjddS(Nuunexpected-char-after-frameset(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn!
scS`s|jjdj|S(NuinHead(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRm$
scS`s"|jjdi|dd6dS(Nu#unexpected-start-tag-after-framesetuname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR'
scS`s|jjd|j_dS(NuafterAfterFrameset(RDR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR+
scS`s"|jjdi|dd6dS(Nu!unexpected-end-tag-after-framesetuname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR.
s(	R5R6RCRuRnRmRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRo
s					tAfterAfterBodyPhasec`sVeZfdZdZdZdZdZdZdZdZ	RS(c`sDj|||tjd|jfg|_|j|j_dS(Nuhtml(RCRRRRRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC3
scS`sdS(N((R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu;
scS`s|jj||jjdS(N(R:RR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRr>
scS`s|jjdj|S(NuinBody(RDR>Ro(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoA
scS`s*|jjd|jjd|j_|S(Nuexpected-eof-but-got-charuinBody(RDRiR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnD
scS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRI
scS`s8|jjdi|dd6|jjd|j_|S(Nuexpected-eof-but-got-start-tagunameuinBody(RDRiR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRL
scS`s8|jjdi|dd6|jjd|j_|S(Nuexpected-eof-but-got-end-tagunameuinBody(RDRiR>RW(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqR
s(
R5R6RCRuRrRoRnRRRq((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRp2
s						tAfterAfterFramesetPhasec`s_eZfdZdZdZdZdZdZdZdZ	dZ
RS(	c`sPj|||tjd|jfd|jfg|_|j|j_dS(Nuhtmlunoframes(RCRRRtstartTagNoFramesRRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCY
s
cS`sdS(N((R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRub
scS`s|jj||jjdS(N(R:RR(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRre
scS`s|jjdj|S(NuinBody(RDR>Ro(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoh
scS`s|jjddS(Nuexpected-eof-but-got-char(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnk
scS`s|jjdj|S(NuinBody(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn
scS`s|jjdj|S(NuinHead(RDR>Rp(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRrq
scS`s"|jjdi|dd6dS(Nuexpected-eof-but-got-start-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRt
scS`s"|jjdi|dd6dS(Nuexpected-eof-but-got-end-taguname(RDRi(R?R~((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqx
s(R5R6RCRuRrRoRnRRrRRq((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqX
s								uinitialu
beforeHtmlu
beforeHeaduinHeaduinHeadNoscriptu	afterHeaduinBodyutextuinTableuinTableTextu	inCaptionu
inColumnGroupuinTableBodyuinRowuinCelluinSelectuinSelectInTableuinForeignContentu	afterBodyu
inFramesetu
afterFramesetuafterAfterBodyuafterAfterFrameset(R(R@RPRRRRRRRRR4R6RARERJRNRTRXR\RbRcRjRkRoRpRq((RsD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR=_sh		%)#.g@C!-GBbYLd's/9%&%c`s}tstjr,t|dt@}nt|dt@}|rytfd|djD|d<ndS(Nudatac3`s-|]#\}}j|||fVqdS(N(Rj(Rtktv(Rd(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pys	<genexpr>
s(RRtPY27RRmRR((R~Rdtneeds_adjustment((RdsD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR
suEndTagcC`s9|dkri}nit|d6|d6|d6|d6S(NutypeunameudatauselfClosing(R9R(RAR,RbR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR
s	RcB`seZdZRS(uError in parsed document(R5R6R(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR
s(4t
__future__RRRtpip._vendor.sixRRRR*tcollectionsRtImportErrortpip._vendor.ordereddicttRRR	ttreebuilders.baseR
Rt	constantsRR
RRRRRRRRRRRRRRRR\RR&R7tobjectRtmemoizeR=RR9RNRt	ExceptionR(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyt<module>s>
j
	(C