r2Wc@`sddlmZmZmZddlmZddlZddlmZddlm Z ddlm Z ddl m Z dd lm Z dd lmZdd lmZmZdd lmZdd lmZddlmZmZddlmZmZmZddlmZmZddlmZddlmZdeedZddeedZ dZ!de"fdYZ#dZ$dee%dZ&de'fdYZ(dS(i(tabsolute_importtdivisiontunicode_literals(twith_metaclassNi(t inputstream(t tokenizer(t treebuilders(tMarker(tutils(t constants(tspaceCharacterstasciiUpper2Lower(tspecialElements(theadingElements(t cdataElementstrcdataElements(t tokenTypestReparseExceptiont namespaces(thtmlIntegrationPointElementst"mathmlTextIntegrationPointElements(tadjustForeignAttributes(tEuetreecC`s4tj|}t|d|}|j|d|S(u.Parse a string or file-like object into a treetnamespaceHTMLElementstencoding(RtgetTreeBuildert HTMLParsertparse(tdoct treebuilderRRttbtp((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRsudivcC`s:tj|}t|d|}|j|d|d|S(NRt containerR(RRRt parseFragment(RR RRRRR((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|||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@6dAdB6dCdD6dEdF6dGdH6dIdJ6dKdL6dMdN6dOdP6dQdR6dSdT6dUdV6dWdX6dYdZ6d[d\6d]d^6d_d`6dadb6dcdd6dedf6dgdh6didj6dkdl6dmdn6dodp6dqdr6dsdt6dudv6dwdx6dydz6d{d|6}xXt|d}jD]@}||kr||}|d}||d}|<|d}|=qqWdS(~Nu attributeNameu attributenameu attributeTypeu attributetypeu baseFrequencyu basefrequencyu baseProfileu baseprofileucalcModeucalcmodeu clipPathUnitsu clippathunitsucontentScriptTypeucontentscripttypeucontentStyleTypeucontentstyletypeudiffuseConstantudiffuseconstantuedgeModeuedgemodeuexternalResourcesRequireduexternalresourcesrequiredu filterResu filterresu filterUnitsu filterunitsuglyphRefuglyphrefugradientTransformugradienttransformu gradientUnitsu gradientunitsu kernelMatrixu kernelmatrixukernelUnitLengthukernelunitlengthu keyPointsu keypointsu keySplinesu keysplinesukeyTimesukeytimesu lengthAdjustu lengthadjustulimitingConeAngleulimitingconeangleu markerHeightu markerheightu markerUnitsu markerunitsu markerWidthu markerwidthumaskContentUnitsumaskcontentunitsu maskUnitsu maskunitsu numOctavesu numoctavesu pathLengthu pathlengthupatternContentUnitsupatterncontentunitsupatternTransformupatterntransformu patternUnitsu patternunitsu pointsAtXu pointsatxu pointsAtYu pointsatyu pointsAtZu pointsatzu preserveAlphau preservealphaupreserveAspectRatioupreserveaspectratiouprimitiveUnitsuprimitiveunitsurefXurefxurefYurefyu repeatCountu repeatcountu repeatDuru repeatdururequiredExtensionsurequiredextensionsurequiredFeaturesurequiredfeaturesuspecularConstantuspecularconstantuspecularExponentuspecularexponentu spreadMethodu spreadmethodu startOffsetu startoffsetu stdDeviationu stddeviationu stitchTilesu stitchtilesu surfaceScaleu surfacescaleusystemLanguageusystemlanguageu tableValuesu tablevaluesutargetXutargetxutargetYutargetyu textLengthu textlengthuviewBoxuviewboxu viewTargetu viewtargetuxChannelSelectoruxchannelselectoruyChannelSelectoruychannelselectoru zoomAndPanu zoomandpanudata(tlisttkeys(R;RzRt originalNametsvgName((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytadjustSVGAttributess   cC`s_t}xR|djD]@}||kr||}|d||d|<|d|=qqWdS(Nudata(tadjustForeignAttributesMapR(R;RzRRt foreignName((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR\s   cC`s|jjdS(N(RBRT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytreparseTokenNormalescC`s]t}idd6dd6dd6dd6dd 6dd 6dd 6d d 6dd6dd6dd6dd6dd6dd6}x|jjdddD]}|j}d}||jjdkr|jstt}|j}n|dkr|jstn| r|j|jj krqn||kr5|j ||}Pq|r|j d}PqqW||_ dS(NuinSelectuselectuinCellutduthuinRowutru inTableBodyutbodyutheadutfootu inCaptionucaptionu inColumnGroupucolgroupuinTableutableuinBodyuheadubodyu inFramesetuframesetu beforeHeaduhtmlii(uselectucolgroupuheaduhtml( RKR5RdR=R4RHRrRER]RhR:RT(R;tlasttnewModestnodetnodeNamet new_phase((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRVhsD       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( RrR5t insertElementRRRRQRPRTt originalPhaseR:(R;Rzt contentType((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytparseRCDataRawtexts  N(R0R1t__doc__R4Rt HTMLTokenizerRKRER?RJRDtpropertyR\RaRbRFRcRR!ReRRRRRRVR(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR3s,  "  @    G  ,c`s1d}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}i|d16|d26|d36|d46|d56|d66| d76| d86| d96| d:6| d;6|d<6|d=6|d>6|d?6|d@6|dA6|dB6|dC6|dD6|dE6|dF6S(GNc`s5tdtjjDfd}|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 sc`sjjdrt|dkr|d}yi|dd6}Wn nX|dtjkrx|d|dscS`s6t|j_|jj||jjd|j_dS(NuinBody(RKRBRYR5RR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRAs cS`s*|jj||jjd|j_dS(Nu inFrameset(R5RRBR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRFscS`s|jjdi|dd6|jjj|jj|jjdj|xG|jjdddD],}|jdkrh|jjj |PqhqhWdS(Nu#unexpected-start-tag-out-of-my-headunameuinHeadiuhead( RBReR5RdRpRR:RlR=tremove(R;RzR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRJs  cS`s"|jjdi|dd6dS(Nuunexpected-start-taguname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRTscS`s|j|S(N(R(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRWs cS`s|j|S(N(R(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR[s cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR_scS`s?|jjtdd|jjd|j_t|j_dS(NubodyuStartTaguinBody(R5RRRBR:RTRERY(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRbs(R0R1R?RqRjRRRRRRRRR((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/Z1d0Z2d1Z3RS(2c+`s]j||||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|jfdl|jfdQ|j fdm|j!fdn|j"fdV|j#fdW|j$fdo|j%fg |_&|j'|j&_(tjd |j)fd|j*fdp|j+fd&|j,fd |j-fdq|j.ft |j/fdr|j0fds|j1fd@|j2fg |_3|j4|j3_(dS(tNuhtmlubaseubasefontubgsounducommandulinkumetauscriptustyleutitleubodyuframesetuaddressuarticleuasideu blockquoteucenterudetailsudirudivudlufieldsetu figcaptionufigureufooteruheaderuhgroupumainumenuunavuolupusectionusummaryuulupreulistinguformuliuddudtu plaintextuaububigucodeuemufontuiususmallustrikeustronguttuuunobrubuttonuappletumarqueeuobjectuxmputableuareaubruembeduimgukeygenuwbruparamusourceutrackuinputuhruimageuisindexutextareauiframeunoembedunoframesunoscriptuselecturpurtuoptionuoptgroupumathusvgucaptionucolucolgroupuframeuheadutbodyutdutfootuthutheadutrudialog( ubaseubasefontubgsounducommandulinkumetauscriptustyleutitle(uaddressuarticleuasideu blockquoteucenterudetailsudetailsudirudivudlufieldsetu figcaptionufigureufooteruheaderuhgroupumainumenuunavuolupusectionusummaryuul(upreulisting(uliuddudt( ububigucodeuemufontuiususmallustrikeustronguttuu(uappletumarqueeuobject(uareaubruembeduimgukeygenuwbr(uparamusourceutrack(unoembedunoframesunoscript(urpurt(uoptionuoptgroup( ucaptionucolucolgroupuframeuheadutbodyutdutfootuthutheadutr(uaddressuarticleuasideu blockquoteubuttonucenterudetailsudialogudirudivudlufieldsetu figcaptionufigureufooteruheaderuhgroupulistingumainumenuunavuolupreusectionusummaryuul(uddudtuli(uaububigucodeuemufontuiunobrususmallustrikeustronguttuu(uappletumarqueeuobject(5R?RktprocessSpaceCharactersNonPreRRRtstartTagProcessInHeadRRtstartTagClosePR tstartTagHeadingtstartTagPreListingt startTagFormtstartTagListItemtstartTagPlaintextt startTagAtstartTagFormattingt startTagNobrtstartTagButtontstartTagAppletMarqueeObjectt startTagXmpt startTagTabletstartTagVoidFormattingtstartTagParamSourcet startTagInputt startTagHrt startTagImagetstartTagIsIndextstartTagTextareatstartTagIFrametstartTagRawtexttstartTagSelectt startTagRpRtt startTagOptt startTagMatht startTagSvgtstartTagMisplacedRRRt endTagBodyt endTagHtmlt endTagBlockt endTagFormtendTagPtendTagListItemt endTagHeadingtendTagFormattingtendTagAppletMarqueeObjecttendTagBrRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?js|                                         cS`s|j|jks$|j|jkr(tSt|jt|jkrJtSt|jj}t|jj}x-t||D]\}}||krtSqWtS(N( R=R]RKRgR^tsortedR#tzipRE(R;tnode1tnode2t attributes1t attributes2tattr1tattr2((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytisMatchingFormattingElements$ cS`s|jj||jjd}g}xS|jjdddD]8}|tkrVPq@|j||r@|j|q@q@Wt|dkstt|dkr|jjj |dn|jjj|dS(Nii( R5RRdtactiveFormattingElementsRR RpRgRrR(R;RzR`tmatchingElementsR((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(RiR5RdR=RBRe(R;tallowed_elementsR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqs  cS`s|d}|j|_|jdrb|jjdjdkrb|jjdj rb|d}n|r|jj|jj|ndS( Nudatau iupreulistingutextareai(upreulistingutextarea( RRkRR5RdR=t hasContentt#reconstructActiveFormattingElementsR(R;RzR((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(R5RRRBRYtanyR RK(R;Rztchar((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjs  #cS`s%|jj|jj|ddS(Nudata(R5RR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRks cS`s|jjdj|S(NuinHead(RBR:Rl(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s|jjdidd6t|jjdksK|jjdjdkr`|jjstn`t|j_ xQ|dj D]?\}}||jjdj kr}||jjdj |tdS(Niuhtmlu eof-in-table(R5RdR=RBReRHRr(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqscS`sH|jj}|jjd|j_||jj_|jjj|dS(Nu inTableText(RBRTR:RRk(R;RzR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRks cS`sH|jj}|jjd|j_||jj_|jjj|dS(Nu inTableText(RBRTR:RRj(R;RzR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjs cS`s3t|j_|jjdj|t|j_dS(NuinBody(RER5tinsertFromTableRBR:RjRK(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs cS`sG|j|jjjt|jj||jjd|j_dS(Nu inCaption( RER5R RpRRRBR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR=s cS`s4|j|jj||jjd|j_dS(Nu inColumnGroup(RER5RRBR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR>s cS`s|jtdd|S(NucolgroupuStartTag(R>R(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?scS`s4|j|jj||jjd|j_dS(Nu inTableBody(RER5RRBR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR@s cS`s|jtdd|S(NutbodyuStartTag(R@R(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRAscS`sN|jjdidd6dd6|jjjtd|jjsJ|SdS(Nu$unexpected-start-tag-implies-end-tagutableu startNameuendName(RBReRTRmRRH(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs   cS`s|jjdj|S(NuinHead(RBR:Rl(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRBscS`sqd|dkr`|ddjtdkr`|jjd|jj||jjjn |j|dS(Nutypeudatauhiddenu unexpected-hidden-input-in-table( R_R RBReR5RRdRR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs cS`s_|jjd|jjdkr[|jj||jjd|j_|jjjndS(Nuunexpected-form-in-tablei(RBReR5RR4RRdR(R;Rz((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(RBReRER5RFR:RlRK(R;Rz((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( R5RR%RdR=RBReRRVRHRr(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCs   cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRDscS`sQ|jjdi|dd6t|j_|jjdj|t|j_dS(Nu'unexpected-end-tag-implies-table-voodoounameuinBody(RBReRER5RFR:RmRK(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs (R0R1R?RERqRkRjRR=R>R?R@RARRBRRRRCRDR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR<\s&               tInTableTextPhasec`sVeZfdZdZdZdZdZdZdZdZ RS(c`s)j|||d|_g|_dS(N(R?R4RtcharacterTokens(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?s cS`sdjg|jD]}|d^q}tg|D]}|tk^q3ritdd6|d6}|jjdj|n|r|jj|ng|_dS(Nuudatau CharactersutypeuinTable( tjoinRHRR RRBR:RR5(R;R(RRz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytflushCharacterss)%cS`s|j|j|j_|S(N(RJRRBRT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRns cS`s|j|j|j_tS(N(RJRRBRTRE(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqs cS`s(|ddkrdS|jj|dS(Nudatau(RHRp(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjscS`s|jj|dS(N(RHRp(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRk scS`s|j|j|j_|S(N(RJRRBRT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRls cS`s|j|j|j_|S(N(RJRRBRT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRms ( R0R1R?RJRnRqRjRkRlRm((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRGs     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( R?RRRtstartTagTableElementRRRt endTagCaptionRCRDRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?s   cS`s|jjddd S(NucaptionRutable(R5R(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagCaption.scS`s|jjdjdS(NuinBody(RBR:Rq(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq1scS`s|jjdj|S(NuinBody(RBR:Rj(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRj4scS`s@|jj|j}|jjjtd|s<|SdS(Nucaption(RBReRNRTRmR(R;Rzt ignoreEndTag((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRL7s   cS`s|jjdj|S(NuinBody(RBR:Rl(R;Rz((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|jj st |jjdS(Niucaptionu$expected-one-end-tag-but-got-anotherugotNameu expectedNameuinTable( RNR5R%RdR=RBReRR9R:RTRHRr(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRMBs     cS`s@|jj|j}|jjjtd|s<|SdS(Nucaption(RBReRNRTRmR(R;RzRO((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCTs   cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRD[scS`s|jjdj|S(NuinBody(RBR:Rm(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR^s( R0R1R?RNRqRjRLRRMRCRDR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRKs        tInColumnGroupPhasec`s_eZfdZdZdZdZdZdZdZdZ dZ RS( c`sj|||tjd|jfd|jfg|_|j|j_tjd|jfd|j fg|_ |j |j _dS(Nuhtmlucolucolgroup( R?RRRR?RRRtendTagColgroupt endTagColRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?ds  cS`s|jjdjdkS(Niuhtml(R5RdR=(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagColgroupsscS`s\|jjdjdkr/|jjs+tdS|j}|jtd|sXt SdS(Niuhtmlucolgroup( R5RdR=RBRHRrRSRQRRE(R;RO((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqvs cS`s-|j}|jtd|s)|SdS(Nucolgroup(RSRQR(R;RzRO((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjs cS`s$|jj||jjjdS(N(R5RRdR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?scS`s-|j}|jtd|s)|SdS(Nucolgroup(RSRQR(R;RzRO((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs cS`sX|jr.|jjst|jjn&|jjj|jjd|j_ dS(NuinTable( RSRBRHRrReR5RdRR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRQs  cS`s|jjdidd6dS(Nu no-end-tagucoluname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRRscS`s-|j}|jtd|s)|SdS(Nucolgroup(RSRQR(R;RzRO((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs ( R0R1R?RSRqRjR?RRQRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRPas     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(R?RRRt startTagTrtstartTagTableCelltstartTagTableOtherRRRtendTagTableRowGroupRCRDRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?s     cS`sbx-|jjdjdkr/|jjjqW|jjdjdkr^|jjs^tndS(Niutbodyutfootutheaduhtml(utbodyutfootutheaduhtml(R5RdR=RRBRHRr(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableBodyContexts  cS`s|jjdjdS(NuinTable(RBR:Rq(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqscS`s|jjdj|S(NuinTable(RBR:Rk(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRkscS`s|jjdj|S(NuinTable(RBR:Rj(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjscS`s4|j|jj||jjd|j_dS(NuinRow(RYR5RRBR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRUs cS`s8|jjdi|dd6|jtdd|S(Nuunexpected-cell-in-table-bodyunameutruStartTag(RBReRUR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRVs cS`s|jjdddsH|jjdddsH|jjdddrv|j|jt|jjdj|S|jjst |jj dS(NutbodyRutableutheadutfooti( R5RRYRXRRdR=RBRHRrRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRWs cS`s|jjdj|S(NuinTable(RBR:Rl(R;Rz((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( R5RRYRdRRBR:RTRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRXs   cS`s|jjdddsH|jjdddsH|jjdddrv|j|jt|jjdj|S|jjst |jj dS(NutbodyRutableutheadutfooti( R5RRYRXRRdR=RBRHRrRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCs cS`s"|jjdi|dd6dS(Nu unexpected-end-tag-in-table-bodyuname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRDs cS`s|jjdj|S(NuinTable(RBR:Rm(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs(R0R1R?RYRqRkRjRURVRWRRXRCRDR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRTs        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(R?RRRRVRWRRRtendTagTrRCRXRDRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?s     cS`s[xT|jjdjdkrV|jjdi|jjdjd6|jjjqWdS(Niutruhtmlu'unexpected-implied-end-tag-in-table-rowuname(utruhtml(R5RdR=RBReR(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytclearStackToTableRowContexts cS`s|jjddd S(NutrRutable(R5R(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytignoreEndTagTr scS`s|jjdjdS(NuinTable(RBR:Rq(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq$scS`s|jjdj|S(NuinTable(RBR:Rk(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRk'scS`s|jjdj|S(NuinTable(RBR:Rj(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRj*scS`sG|j|jj||jjd|j_|jjjtdS(NuinCell( R\R5RRBR:RTR RpR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRV-s cS`s-|j}|jtd|s)|SdS(Nutr(R]R[R(R;RzRO((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRW3s cS`s|jjdj|S(NuinTable(RBR:Rl(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR:scS`sb|js?|j|jjj|jjd|j_n|jjsQt |jj dS(Nu inTableBody( R]R\R5RdRRBR:RTRHRrRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR[=s   cS`s-|j}|jtd|s)|SdS(Nutr(R]R[R(R;RzRO((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRCGs cS`sD|jj|dddr3|jtd|S|jjdS(NunameRutableutr(R5RR[RRBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRXOscS`s"|jjdi|dd6dS(Nuunexpected-end-tag-in-table-rowuname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRDVs cS`s|jjdj|S(NuinTable(RBR:Rm(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRZs(R0R1R?R\R]RqRkRjRVRWRR[RCRXRDR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRZs           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( R?RRRRWRRRtendTagTableCellRDt endTagImplyRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?_s   cS`s`|jjdddr.|jtdn.|jjdddr\|jtdndS(NutdRutableuth(R5RR_R(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyt closeCellpscS`s|jjdjdS(NuinBody(RBR:Rq(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqwscS`s|jjdj|S(NuinBody(RBR:Rj(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjzscS`sa|jjddds0|jjdddr>|j|S|jjsPt|jjdS(NutdRutableuth(R5RRaRBRHRrRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRW}s  cS`s|jjdj|S(NuinBody(RBR:Rl(R;Rz((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( R5RR%RdR=RBReRERR9R:RT(R;RzR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR_s    cS`s"|jjdi|dd6dS(Nuunexpected-end-taguname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRDscS`s;|jj|dddr*|j|S|jjdS(NunameRutable(R5RRaRBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR`s cS`s|jjdj|S(NuinBody(RBR:Rm(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs( R0R1R?RaRqRjRWRR_RDR`R((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR^]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(R?RRRtstartTagOptiontstartTagOptgroupRRRRRRt endTagOptiontendTagOptgroupt endTagSelectRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?s       cS`sB|jjdjdkr,|jjdn|jjs>tdS(Niuhtmlu eof-in-select(R5RdR=RBReRHRr(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqscS`s,|ddkrdS|jj|ddS(Nudatau(R5R(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjscS`s@|jjdjdkr,|jjjn|jj|dS(Niuoption(R5RdR=RR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRcscS`sl|jjdjdkr,|jjjn|jjdjdkrX|jjjn|jj|dS(Niuoptionuoptgroup(R5RdR=RR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRds cS`s'|jjd|jtddS(Nuunexpected-select-in-selectuselect(RBReRgR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`sU|jjd|jjdddr?|jtd|S|jjsQtdS(Nuunexpected-input-in-selectuselectR(RBReR5RRgRRHRr(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs cS`s|jjdj|S(NuinHead(RBR:Rl(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRscS`s"|jjdi|dd6dS(Nuunexpected-start-tag-in-selectuname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs cS`sJ|jjdjdkr,|jjjn|jjdidd6dS(Niuoptionuunexpected-end-tag-in-selectuname(R5RdR=RRBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRes cS`s|jjdjdkrE|jjdjdkrE|jjjn|jjdjdkrq|jjjn|jjdidd6dS(Niuoptioniuoptgroupuunexpected-end-tag-in-selectuname(R5RdR=RRBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRfs cS`s|jjdddrb|jjj}x%|jdkrQ|jjj}q-W|jjn|jjstt|jj dS(NuselectR( R5RRdRR=RBRVRHRrRe(R;RzR((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRgscS`s"|jjdi|dd6dS(Nuunexpected-end-tag-in-selectuname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR s (R0R1R?RqRjRcRdRRRRReRfRgR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRbs          tInSelectInTablePhasec`sMeZfdZdZdZdZdZdZdZRS(c `sqj|||tjd |jfg|_|j|j_tjd |jfg|_|j |j_dS( Nucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth( R?RRRRRRRCRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR? scS`s|jjdjdS(NuinSelect(RBR:Rq(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq scS`s|jjdj|S(NuinSelect(RBR:Rj(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRj scS`s5|jjdi|dd6|jtd|S(Nu5unexpected-table-element-start-tag-in-select-in-tableunameuselect(RBReRR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR# scS`s|jjdj|S(NuinSelect(RBR:Rl(R;Rz((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(RBReR5RRR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRC+ scS`s|jjdj|S(NuinSelect(RBR:Rm(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR1 s( R0R1R?RqRjRRRCR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRh 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(R?(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?> 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|dIn s(RBRYRRKRj(R;Rz(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjj 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 tdS(Niuhtmlueof-in-frameset(R5RdR=RBReRHRr(R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq scS`s|jjddS(Nuunexpected-char-in-frameset(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRj scS`s|jj|dS(N(R5R(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR scS`s$|jj||jjjdS(N(R5RRdR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRp scS`s|jjdj|S(NuinBody(RBR:Rl(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq scS`s"|jjdi|dd6dS(Nu unexpected-start-tag-in-framesetuname(RBRe(R;Rz((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( R5RdR=RBReRRHR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRr s  cS`s"|jjdi|dd6dS(Nuunexpected-end-tag-in-framesetuname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR s ( R0R1R?RqRjRRpRqRRrR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRo s       tAfterFramesetPhasec`sMeZfdZdZdZdZdZdZdZRS(c`s}j|||tjd|jfd|jfg|_|j|j_tjd|jfg|_ |j |j _dS(Nuhtmlunoframes( R?RRRRqRRRRRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR? s cS`sdS(N((R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq scS`s|jjddS(Nuunexpected-char-after-frameset(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRj# scS`s|jjdj|S(NuinHead(RBR:Rl(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq& scS`s"|jjdi|dd6dS(Nu#unexpected-start-tag-after-framesetuname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR) s cS`s|jjd|j_dS(NuafterAfterFrameset(RBR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR- scS`s"|jjdi|dd6dS(Nu!unexpected-end-tag-after-framesetuname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR0 s ( R0R1R?RqRjRqRRR((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRs s     tAfterAfterBodyPhasec`sVeZfdZdZdZdZdZdZdZdZ RS(c`sDj|||tjd|jfg|_|j|j_dS(Nuhtml(R?RRRRRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?5 scS`sdS(N((R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRq= scS`s|jj||jjdS(N(R5RR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRn@ scS`s|jjdj|S(NuinBody(RBR:Rk(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRkC scS`s*|jjd|jjd|j_|S(Nuexpected-eof-but-got-charuinBody(RBReR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjF scS`s|jjdj|S(NuinBody(RBR:Rl(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRK scS`s8|jjdi|dd6|jjd|j_|S(Nuexpected-eof-but-got-start-tagunameuinBody(RBReR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRN s cS`s8|jjdi|dd6|jjd|j_|S(Nuexpected-eof-but-got-end-tagunameuinBody(RBReR:RT(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRmT s ( R0R1R?RqRnRkRjRRRm((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRt4 s      tAfterAfterFramesetPhasec`s_eZfdZdZdZdZdZdZdZdZ dZ RS( c`sPj|||tjd|jfd|jfg|_|j|j_dS(Nuhtmlunoframes(R?RRRtstartTagNoFramesRRR(R;RBR5(R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR?[ s  cS`sdS(N((R;((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRqd scS`s|jj||jjdS(N(R5RR(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRng scS`s|jjdj|S(NuinBody(RBR:Rk(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRkj scS`s|jjddS(Nuexpected-eof-but-got-char(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRjm scS`s|jjdj|S(NuinBody(RBR:Rl(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRp scS`s|jjdj|S(NuinHead(RBR:Rl(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRvs scS`s"|jjdi|dd6dS(Nuexpected-eof-but-got-start-taguname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRv s cS`s"|jjdi|dd6dS(Nuexpected-eof-but-got-end-taguname(RBRe(R;Rz((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRmz s ( R0R1R?RqRnRkRjRRvRRm((R(sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyRuZ s       uinitialu beforeHtmlu beforeHeaduinHeadu afterHeaduinBodyutextuinTableu inTableTextu inCaptionu inColumnGroupu inTableBodyuinRowuinCelluinSelectuinSelectInTableuinForeignContentu afterBodyu inFramesetu afterFramesetuafterAfterBodyuafterAfterFrameset(R(R<RMRRRRRRRR:R<RGRKRPRTRZR^RbRhRiRnRoRsRtRu((RsD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR9sd  %)#.cC!-GAbYLd's/9%&$uEndTagcC`s9|dkri}nit|d6|d6|d6|d6S(Nutypeunameudatau selfClosing(R4R(R=R'R^R!((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR s  RcB`seZdZRS(uError in parsed document(R0R1R(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pyR s()t __future__RRRtpip._vendor.sixRR%tRRRttreebuilders._baseRRR R R R R RRRRRRRRRRR4RERR!R2tobjectRR9RKRt ExceptionR(((sD/usr/lib/python2.7/site-packages/pip/_vendor/html5lib/html5parser.pytsF     t