abc@`sddlmZmZmZddlmZmZmZddlZyddl m Z Wn!e k r{ddl m Z nXddl mZddl mZddl mZdd lmZdd l mZdd lmZmZmZmZmZmZmZmZmZmZmZm 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(t OrderedDicti(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(tdoct treebuilderRtkwargsttbtp((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|||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`s-td}td}td}td}td}td}td}x|jD]}d} |} x=| dk r| } |jjr|jjdnd} | r| jnd} | r| jnd} | d }||kr|j| d | jd id} 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}x2|r(|j|j|jj}|rqqWdS(Nu CharactersuSpaceCharactersuStartTaguEndTaguCommentuDoctypeu ParseErroriutypeudataudatavarsiunameumglyphu malignmarkumathmluannotation-xmlusvguinForeignContentu selfClosinguselfClosingAcknowledgedu&non-void-element-with-trailing-solidus(RtnormalizedTokensR9R:t openElementsRaRAt parseErrortgettlentdefaultNamespaceRft frozensetRReRWR>tprocessCharacterstprocessSpaceCharacterstprocessStartTagt processEndTagtprocessCommenttprocessDoctypeR\tappendt processEOF(R?tCharactersTokentSpaceCharactersTokent StartTagTokent EndTagTokent CommentTokent DoctypeTokentParseErrorTokenttokent prev_tokent new_tokent currentNodetcurrentNodeNamespacetcurrentNodeNameR,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:t getDocument(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:t getFragment(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||dRW(R?tlasttnewModestnodetnodeNamet new_phase((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRY!sB       cC`sc|jj||dkr1|jj|j_n|jj|j_|j|_|jd|_dS(uYGeneric RCDATA/RAWTEXT Parsing algorithm contentType - RCDATA or RAWTEXT uRAWTEXTutextN( R:t insertElementRHRURTRSRWt originalPhaseR>(R?R}t contentType((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}d ffd 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 csc`sjjdrt|dkr|d}yi|dd6}Wn nX|dtkru|d|dRW(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( RCR tMethodDispatcherRt startTagHeadRt startTagOthertdefaulttendTagImplyHeadRt endTagOther(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:RRht headPointerRDR>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       t InHeadPhasec`seZfdZdZdZdZdZdZdZdZ dZ d Z d Z d Z 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(RCR RRt 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|dRW(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`s/|jjjj}|jjd|j_dS(Nu afterHead(RDR:RhRR>RW(R?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`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 Z d Z d Z d ZRS( c`sj|||tjd|jfd |jfd |jfg|_|j|j_tjd |j fd |j fg|_ |j |j _dS( Nuhtmlubasefontubgsoundulinkumetaunoframesustyleuheadunoscriptubr(ubasefontubgsoundulinkumetaunoframesustyle(uheadunoscript( RCR RRRtstartTagHeadNoscriptRRRtendTagNoscripttendTagBrRR(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`s/|jjjj}|jjd|j_dS(NuinHead(RDR:RhRR>RW(R?R}R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`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 Z d Z d Z RS( c `sj|||tjd|jfd|jfd|jfd|jfd |jfg|_|j |j_ tjd|j fg|_ |j |j _ dS(Nuhtmlubodyuframesetubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitleuheadubr( ubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitle(ubodyuhtmlubr(RCR RRt 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         t InBodyPhasec`seZfdZdZdZdZdZdZdZdZ dZ d Z d Z d Z 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 |j fdf|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(6RCtprocessSpaceCharactersNonPreRoR RRtstartTagProcessInHeadRRtstartTagClosePRtstartTagHeadingtstartTagPreListingt startTagFormtstartTagListItemtstartTagPlaintextt startTagAtstartTagFormattingt startTagNobrtstartTagButtontstartTagAppletMarqueeObjectt startTagXmpt startTagTabletstartTagVoidFormattingtstartTagParamSourcet startTagInputt startTagHrt startTagImagetstartTagIsIndextstartTagTextareatstartTagIFrameRtstartTagRawtexttstartTagSelectt startTagRpRtt startTagOptt startTagMatht startTagSvgtstartTagMisplacedRRRt endTagBodyt endTagHtmlt endTagBlockt 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|dkr|jjj|dn|jjj|dS(Nii( R:RRhtactiveFormattingElementsR RRtRkR(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|jjdks|jjdjdkrNn`t|j_xQ|djD]?\}}||jjdj krk||jjdj |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:t formPointerRDRiRRRRRh(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 t krW|jd krWPqWqWW|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}t afeAElement((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(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 |dRW(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 cloneNodeRRt appendChildRmtgetTableMisnestedNodePositiont 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 !(5R5R6RCRRRuR 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( RCR RRRRt 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`sdS(N((R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRKscS`s(|jjj}|jj|j_dS(N(R:RhRRDRRW(R?R}R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR4NscS`s&|jjj|jj|j_dS(N(R:RhRRDRRW(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRUs(R5R6RCRnRuRR4R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR38s     t InTablePhasec`seZfdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZRS(c `sj|||tjd|jfd|jfd|jfd|jfd|jfd|jfd |j fd|j fd|j fd|j fg |_ |j|j _tjd |jfd|jfg|_|j|j_dS(Nuhtmlucaptionucolgroupucolutbodyutfootutheadutduthutrutableustyleuscriptuinputuformubody(utbodyutfootuthead(utduthutr(ustyleuscript( ubodyucaptionucolucolgroupuhtmlutbodyutdutfootuthutheadutr(RCR RRtstartTagCaptiontstartTagColgroupt startTagColtstartTagRowGrouptstartTagImplyTbodyRtstartTagStyleScriptRRRRRt endTagTablet 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`s0|jjdjdkr,|jjdndS(Niuhtmlu eof-in-table(R:RhRARDRi(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRu|scS`sH|jj}|jjd|j_||jj_|jjj|dS(Nu inTableText(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(Nu inTableText(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.pyR6s 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.pyR7s cS`s|jtdd|S(NucolgroupuStartTag(R7R(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR8scS`s4|j|jj||jjd|j_dS(Nu inTableBody(R>R:RRDR>RW(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR9s cS`s|jtdd|S(NutbodyuStartTag(R9R(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 |jjdS(NutableRiuend-tag-too-early-namedugotNameu expectedName( R:RRRhRARDRiRRY(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>RuRoRnRR6R7R8R9R:RR;RRRR<R=R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR5Ys&               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( tjoinRAR R RRDR>RR:(R?R!RR}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytflushCharacterss)%cS`s|j|j|j_|S(N(RCRRDRW(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRrs cS`s|j|j|j_tS(N(RCRRDRWR\(R?((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRus cS`s(|ddkrdS|jj|dS(Nudatau(RARt(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRnscS`s|jj|dS(N(RARt(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRoscS`s|j|j|j_|S(N(RCRRDRW(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRp s cS`s|j|j|j_|S(N(RCRRDRW(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqs ( R5R6RCRCRrRuRnRoRpRq((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR@s     tInCaptionPhasec`sheZfdZdZdZdZdZdZdZdZ dZ d Z RS( c `sj|||tjd|jfd |jfg|_|j|j_tjd|jfd |j fd|j fg|_ |j |j _dS(Nuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrutableubody( ucaptionucolucolgrouputbodyutdutfootuthutheadutr( ubodyucolucolgroupuhtmlutbodyutdutfootuthutheadutr( RCR RRtstartTagTableElementRRRt 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(RDRiRGRWRqR(R?R}t ignoreEndTag((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRE4s   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 |jjdS(Niucaptionu$expected-one-end-tag-but-got-anotherugotNameu expectedNameuinTable( RGR:RRhRARDRiRR2R>RW(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRF?s     cS`s@|jj|j}|jjjtd|s<|SdS(Nucaption(RDRiRGRWRqR(R?R}RH((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( R5R6RCRGRuRnRERRFR<R=R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRDs        tInColumnGroupPhasec`s_eZfdZdZdZdZdZdZdZdZ dZ RS( c`sj|||tjd|jfd|jfg|_|j|j_tjd|jfd|j fg|_ |j |j _dS(Nuhtmlucolucolgroup( RCR RRR8RRRtendTagColgroupt 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`sJ|jjdjdkrdS|j}|jtd|sFtSdS(Niuhtmlucolgroup(R:RhRARLRJRR\(R?RH((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRuss  cS`s-|j}|jtd|s)|SdS(Nucolgroup(RLRJR(R?R}RH((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn}s cS`s.|jj||jjjt|dRW(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRJs cS`s|jjdidd6dS(Nu no-end-tagucoluname(RDRi(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRKscS`s-|j}|jtd|s)|SdS(Nucolgroup(RLRJR(R?R}RH((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs ( R5R6RCRLRuRnR8RRJRKR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRI^s     tInTableBodyPhasec`seZfdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d ZRS( c `sj|||tjd|jfd|jfd |jfd|jfg|_|j|j_ tjd|j fd |j fd|j fg|_ |j|j _ dS(Nuhtmlutrutduthucaptionucolucolgrouputbodyutfootutheadutableubody(utduth(ucaptionucolucolgrouputbodyutfootuthead(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduthutr(RCR RRt startTagTrtstartTagTableCelltstartTagTableOtherRRRtendTagTableRowGroupR<R=RR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCs     cS`sPx-|jjdjdkr/|jjjqW|jjdjdkrLndS(Niutbodyutfootutheaduhtml(utbodyutfootutheaduhtml(R:RhRAR(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(RRR:RRDR>RW(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRNs cS`s8|jjdi|dd6|jtdd|S(Nuunexpected-cell-in-table-bodyunameutruStartTag(RDRiRNR(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyROs cS`s|jjdddsH|jjdddsH|jjdddrv|j|jt|jjdj|S|jjdS(NutbodyRutableutheadutfooti( R:RRRRQRRhRARDRi(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRPs 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:RRRRhRRDR>RWRi(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRQs   cS`s|jjdddsH|jjdddsH|jjdddrv|j|jt|jjdj|S|jjdS(NutbodyRutableutheadutfooti( R:RRRRQRRhRARDRi(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(R5R6RCRRRuRoRnRNRORPRRQR<R=R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRMs        t InRowPhasec`seZfdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZRS(c `sj|||tjd|jfd |jfd|jfg|_|j|j_tjd |j fd |j fd|j fd|j fg|_ |j|j _dS(Nuhtmlutduthucaptionucolucolgrouputbodyutfootutheadutrutableubody(utduth(ucaptionucolucolgrouputbodyutfootutheadutr(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduth(RCR RRRORPRRRtendTagTrR<RQR=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( RUR:RRDR>RWRRtR (R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRO+s cS`s-|j}|jtd|s)|SdS(Nutr(RVRTR(R?R}RH((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRP1s cS`s|jjdj|S(NuinTable(RDR>Rp(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR8scS`sP|js?|j|jjj|jjd|j_n |jjdS(Nu inTableBody( RVRUR:RhRRDR>RWRi(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRT;s   cS`s-|j}|jtd|s)|SdS(Nutr(RVRTR(R?R}RH((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR<Es cS`sD|jj|dddr3|jtd|S|jjdS(NunameRutableutr(R:RRTRRDRi(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRQMscS`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(R5R6RCRURVRuRoRnRORPRRTR<RQR=R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRSs           t InCellPhasec`sheZfdZdZdZdZdZdZdZdZ dZ d Z RS( c `sj|||tjd|jfd |jfg|_|j|j_tjd|jfd|j fd|j fg|_ |j |j _dS(Nuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrubodyutable( ucaptionucolucolgrouputbodyutdutfootuthutheadutr(utduth(ubodyucaptionucolucolgroupuhtml(utableutbodyutfootutheadutr( RCR RRRPRRRtendTagTableCellR=t endTagImplyRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC]s   cS`s`|jjdddr.|jtdn.|jjdddr\|jtdndS(NutdRutableuth(R:RRXR(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`sO|jjddds0|jjdddr>|j|S|jjdS(NutdRutableuth(R:RRZRDRi(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRP{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\RR2R>RW(R?R}R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRXs    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:RRZRDRi(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRYs cS`s|jjdj|S(NuinBody(RDR>Rq(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs( R5R6RCRZRuRnRPRRXR=RYR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRW[s       t InSelectPhasec`seZfdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d ZRS( c`sj|||tjd|jfd|jfd|jfd|jfd |jfd|jfg|_ |j |j _ tjd|j fd|j fd|jfg|_|j|j_ dS( Nuhtmluoptionuoptgroupuselectuinputukeygenutextareauscript(uinputukeygenutextarea(RCR RRtstartTagOptiontstartTagOptgroupRRRRRRt endTagOptiontendTagOptgroupt endTagSelectRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCs       cS`s0|jjdjdkr,|jjdndS(Niuhtmlu eof-in-select(R:RhRARDRi(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(RDRiR`R(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sC|jjd|jjdddr?|jtd|SdS(Nuunexpected-input-in-selectuselectR(RDRiR:RR`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"|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`ss|jjdddrb|jjj}x%|jdkrQ|jjj}q-W|jjn |jjdS(NuselectR(R:RRhRRARDRYRi(R?R}R((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR`s cS`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_R`R((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( RCR RRRRRR<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.pyRa s     tInForeignContentPhasec-`seZedddddddddd d d d 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 6d d 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|dIl s(RDR]R RNRn(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|jjj q}W|S|jt d kr|jj |n3|jt d krG|j||jj|n|jj||j|d <|jj||d r|jjj t|d RCRRR9RaRlRq(R?R}t nodeIndexRR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq s(!  ( R5R6RmReRCRdRnRpRq((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRb2 s ) tAfterBodyPhasec`sVeZfdZdZdZdZdZdZdZdZ RS(c`sqj|||tjd|jfg|_|j|j_tjd|jfg|_|j |j_dS(Nuhtml( RCR RRRRRRRR(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.pyRi s      tInFramesetPhasec`s_eZfdZdZdZdZdZdZdZdZ dZ RS( c`sj|||tjd|jfd|jfd|jfd|jfg|_|j|j_ tjd|j fg|_ |j |j _ dS(Nuhtmluframesetuframeunoframes( RCR RRRt startTagFrametstartTagNoframesRRRtendTagFramesetRR(R?RDR:(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC s   cS`s0|jjdjdkr,|jjdndS(Niuhtmlueof-in-frameset(R:RhRARDRi(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.pyRk scS`s|jjdj|S(NuinBody(RDR>Rp(R?R}((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRl 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.pyRm 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 ( R5R6RCRuRnRRkRlRRmR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRj s       tAfterFramesetPhasec`sMeZfdZdZdZdZdZdZdZRS(c`s}j|||tjd|jfd|jfg|_|j|j_tjd|jfg|_ |j |j _dS(Nuhtmlunoframes( RCR RRRlRRRRRR(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.pyRl$ 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 ( R5R6RCRuRnRlRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn s     tAfterAfterBodyPhasec`sVeZfdZdZdZdZdZdZdZdZ RS(c`sDj|||tjd|jfg|_|j|j_dS(Nuhtml(RCR RRRRR(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.pyRo2 s      tAfterAfterFramesetPhasec`s_eZfdZdZdZdZdZdZdZdZ dZ RS( c`sPj|||tjd|jfd|jfg|_|j|j_dS(Nuhtmlunoframes(RCR RRtstartTagNoFramesRRR(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.pyRqq 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 ( R5R6RCRuRrRoRnRRqRRq((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRpX s       uinitialu beforeHtmlu beforeHeaduinHeaduinHeadNoscriptu afterHeaduinBodyutextuinTableu inTableTextu inCaptionu inColumnGroupu inTableBodyuinRowuinCelluinSelectuinSelectInTableuinForeignContentu afterBodyu inFramesetu afterFramesetuafterAfterBodyuafterAfterFrameset(R(R@RPRRRRRRRRR3R5R@RDRIRMRSRWR[RaRbRiRjRnRoRp((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 s(RR tPY27RRmRR((R}Rctneeds_adjustment((RcsD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR s uEndTagcC`s9|dkri}nit|d6|d6|d6|d6S(Nutypeunameudatau selfClosing(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*t collectionsRt ImportErrortpip._vendor.ordereddicttRRR ttreebuilders.baseR R t constantsR R RRRRRRRRRRRRRRRR\RR&R7tobjectRtmemoizeR=RR9RNRt ExceptionR(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyts>  j  (C