Mini Kabibi Habibi

Current Path : C:/Users/ITO/AppData/Local/Programs/GIMP 2/lib/python2.7/site-packages/html5lib/
Upload File :
Current File : C:/Users/ITO/AppData/Local/Programs/GIMP 2/lib/python2.7/site-packages/html5lib/html5parser.pyc

�
j��]c@`s�ddlmZmZmZddlmZmZddlZddlm	Z	ddl
mZddl
mZddl
m
Z
dd	lmZdd
l
mZddlmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"de#d
�Z$dde#d�Z%d�Z&de'fd��YZ(ej)d��Z*d�Z+de,e-d�Z.de/fd��YZ0dS(i(tabsolute_importtdivisiontunicode_literals(twith_metaclasstviewkeysN(tOrderedDicti(t_inputstream(t
_tokenizer(ttreebuilders(tMarker(t_utils(tspaceCharacterstasciiUpper2LowertspecialElementstheadingElementst
cdataElementstrcdataElementst
tokenTypest
tagTokenTypest
namespacesthtmlIntegrationPointElementst"mathmlTextIntegrationPointElementstadjustForeignAttributestadjustMathMLAttributestadjustSVGAttributestEt_ReparseExceptionuetreecK`s1tj|�}t|d|�}|j||�S(u�Parse an HTML document as a string or file-like object into a tree

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

    :arg treebuilder: the treebuilder to use when parsing

    :arg namespaceHTMLElements: whether or not to namespace HTML elements

    :returns: parsed tree

    Example:

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

    tnamespaceHTMLElements(RtgetTreeBuildert
HTMLParsertparse(tdocttreebuilderRtkwargsttbtp((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRsudivcK`s7tj|�}t|d|�}|j|d||�S(u#Parse an HTML fragment as a string or file-like object into a tree

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

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

    :arg treebuilder: the treebuilder to use when parsing

    :arg namespaceHTMLElements: whether or not to namespace HTML elements

    :returns: parsed tree

    Example:

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

    Rt	container(RRRt
parseFragment(RR$R RR!R"R#((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR%2sc`s dtf�fd��Y}|S(Nt	Decoratedc`seZ�fd�ZRS(c`s^xE|j�D]7\}}t|tj�r:�|�}n|||<q
Wtj||||�S(N(titemst
isinstancettypestFunctionTypettypet__new__(tmetat	classnametbasest	classDictt
attributeNamet	attribute(tfunction(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR,Ms
(t__name__t
__module__R,((R3(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR&Ls(R+(R3R&((R3s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytmethod_decorator_metaclassKsRcB`s�eZdZdeeed�Zeded�Zd�Ze	d��Z
d�Zd�Zd�Z
d	�Zd
�Zd�Zddd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(u]HTML parser

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

    cC`s�||_|dkr'tjd�}n||�|_g|_tgt|�j�D]$\}}||||j�f^qU�|_	dS(u�
        :arg tree: a treebuilder class controlling the type of tree that will be
            returned. Built in treebuilders can be accessed through
            html5lib.treebuilders.getTreeBuilder(treeType)

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

        :arg namespaceHTMLElements: whether or not to namespace HTML elements

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

        Example:

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

        uetreeN(
tstricttNoneRRttreeterrorstdictt	getPhasesR'tphases(tselfR9R7Rtdebugtnametcls((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyt__init__^s		udivcK`sz||_||_||_tj|d||�|_|j�y|j�Wn%tk
ru|j�|j�nXdS(Ntparser(	t
innerHTMLModeR$t	scriptingRt
HTMLTokenizert	tokenizertresettmainLoopR(R>tstreamt	innerHTMLR$RER!((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyt_parse}s			


cC`s|jj�t|_g|_g|_d|_|jr�|jj	�|_
|j
tkrp|jj
|j_nH|j
tkr�|jj|j_n$|j
dkr�|jj|j_n|jd|_|jj�|j�nt|_
|jd|_d|_d|_t|_dS(Nu	no quirksu	plaintextu
beforeHtmluinitial(R9RHtFalset
firstStartTagR:tlogt
compatModeRDR$tlowerRKRRGtrcdataStatetstateRtrawtextStatetplaintextStateR=tphasetinsertHtmlElementtresetInsertionModeR8t	lastPhasetbeforeRCDataPhasetTruet
framesetOK(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRH�s*
					

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

        u	tokenizeriN(thasattrR8RGRJtcharEncodingR@(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytdocumentEncoding�scC`se|jdkrK|jtdkrKd|jkoJ|jdjt�dkS|j|jftkSdS(Nuannotation-xmlumathmluencodingu	text/htmluapplication/xhtml+xml(u	text/htmluapplication/xhtml+xml(R@t	namespaceRt
attributest	translateRR(R>telement((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytisHTMLIntegrationPoint�s
cC`s|j|jftkS(N(R`R@R(R>Rc((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytisMathMLTextIntegrationPoint�scC`sBtd}td}td}td}td}td}td}x�|j�D]�}d}	|}
x=|
dk	r�|
}	|jjr�|jjdnd}|r�|jnd}|r�|jnd}
|
d	}||kr|j|
d
|
jdi��d}
qht	|jj�dks�||jj
ks�|j|�rx||krf|d
tddg�ks�|||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
6�qSqSWt}g}xG|r=|j|j�|jj�}|r�|j|ks:t�q�q�WdS(Nu
CharactersuSpaceCharactersuStartTaguEndTaguCommentuDoctypeu
ParseErrori����utypeudataudatavarsiunameumglyphu
malignmarkumathmluannotation-xmlusvguinForeignContentuselfClosinguselfClosingAcknowledgedu&non-void-element-with-trailing-solidus(RtnormalizedTokensR8R9topenElementsR`R@t
parseErrortgettlentdefaultNamespaceRet	frozensetRRdRVR=tprocessCharacterstprocessSpaceCharacterstprocessStartTagt
processEndTagtprocessCommenttprocessDoctypeR[tappendt
processEOFtAssertionError(R>tCharactersTokentSpaceCharactersTokent
StartTagTokentEndTagTokentCommentTokentDoctypeTokentParseErrorTokenttokent
prev_tokent	new_tokentcurrentNodetcurrentNodeNamespacetcurrentNodeNameR+RVt	reprocessR=((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRI�sp






"
 	
		cc`s&x|jD]}|j|�Vq
WdS(N(RGtnormalizeToken(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRfscO`s&|j|td||�|jj�S(u�Parse a HTML document into a well-formed tree

        :arg stream: a file-like object or string containing the HTML to be parsed

            The optional encoding parameter must be a string that indicates
            the encoding.  If specified, that encoding will be used,
            regardless of any BOM or later declaration (such as in a meta
            element).

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

        :returns: parsed tree

        Example:

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

        N(RLRMR8R9tgetDocument(R>RJtargsR!((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRscO`s#|j|t||�|jj�S(uZParse a HTML fragment into a well-formed tree fragment

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

        :arg stream: a file-like object or string containing the HTML to be parsed

            The optional encoding parameter must be a string that indicates
            the encoding.  If specified, that encoding will be used,
            regardless of any BOM or later declaration (such as in a meta
            element)

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

        :returns: parsed tree

        Example:

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

        (RLR[R9tgetFragment(R>RJR�R!((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR%$suXXX-undefined-errorcC`s^|dkri}n|jj|jjj�||f�|jrZtt||��ndS(N(	R8R:RsRGRJtpositionR7t
ParseErrorR(R>t	errorcodetdatavars((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRh@s
	%	cC`sr|dtdkrn|d}t|�|d<t|�t|d�krn|dj|ddd��qnn|S(NutypeuStartTagudatai����(RRRjtupdate(R>R}traw((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�Hs
$cC`st|t�dS(N(tadjust_attributesR(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRSscC`st|t�dS(N(R�R(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRVscC`st|t�dS(N(R�tadjustForeignAttributesMap(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRYscC`s|jj�dS(N(RCRV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytreparseTokenNormal\scC`s]t}idd6dd6dd6dd6dd	6dd
6dd6dd
6dd6dd6dd6dd6dd6dd6}x�|jjddd�D]�}|j}d}||jjdkr�|js�t�t}|j}n|dkr�|js�t�n|r|j|jj	krq�n||kr5|j
||}Pq�|r�|j
d}Pq�q�W||_dS(NuinSelectuselectuinCellutduthuinRowutruinTableBodyutbodyutheadutfootu	inCaptionucaptionu
inColumnGroupucolgroupuinTableutableuinBodyuheadubodyu
inFramesetuframesetu
beforeHeaduhtmli����i(uselectucolgroupuheaduhtml(RMR9RgR@R8RKRuR[R`RkR=RV(R>tlasttnewModestnodetnodeNamet	new_phase((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRX`sD
 	
cC`su|dkst�|jj|�|dkrC|jj|j_n|jj|j_|j|_|j	d|_dS(NuRAWTEXTuRCDATAutext(uRAWTEXTuRCDATA(
RuR9t
insertElementRGRTRSRRRVt
originalPhaseR=(R>R}tcontentType((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytparseRCDataRawtext�sN(R4R5t__doc__R8RMR[RBRLRHtpropertyR_RdReRIRfRR%RhR�RRRR�RXR�(((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRWs&	"
	
		C									,c`sTd�}d�}dt|||��fd��Y�d�fd��Y}d�fd��Y}d	�f�fd
��Y}d�f�fd��Y}d
�f�fd��Y}d�f�fd��Y}d�f�fd��Y}	d�f�fd��Y}
d�f�fd��Y}d�f�fd��Y}d�f�fd��Y}
d�f�fd��Y}d�f�fd��Y}d�f�fd ��Y}d!�f�fd"��Y}d#�f�fd$��Y}d%�f�fd&��Y}d'�f�fd(��Y}d)�f�fd*��Y}d+�f�fd,��Y}d-�f�fd.��Y}d/�f�fd0��Y}d1�f�fd2��Y}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`s2td�tj�D�����fd�}|S(u4Logger that records which phase processes each tokencs`s!|]\}}||fVqdS(N((t.0tkeytvalue((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pys	<genexpr>�sc`s��jjd�r�t|�dkr�|d}yi�|dd6}Wn
�nX|dtkru|d|d<n|jjj|jjjj|jj	j
j|j
j�j|f��|||�S�|||�SdS(Nuprocessiutypeuname(R4t
startswithRjRRCRORsRGRSRVt	__class__(R>R�R!R}tinfo(R3t
type_names(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytwrapped�s$
	
(R;RR'(R3R�((R3R�s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRO�s	cS`s|rt|�StSdS(N(R6R+(t
use_metaclasstmetaclass_func((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytgetMetaclass�s
tPhasecB`s_eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
uNBase class for helper object that implements each phase of processing
        cS`s||_||_dS(N(RCR9(R>RCR9((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�s	cS`s
t�dS(N(tNotImplementedError(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�scS`s!|jj||jjd�dS(Ni����(R9t
insertCommentRg(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRq�scS`s|jjd�dS(Nuunexpected-doctype(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRr�scS`s|jj|d�dS(Nudata(R9t
insertText(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�scS`s|jj|d�dS(Nudata(R9R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRn�scS`s|j|d|�S(Nuname(tstartTagHandler(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRo�scS`s�|jjr0|ddkr0|jjd�nxQ|dj�D]?\}}||jjdjkrA||jjdj|<qAqAWt|j_dS(Nunameuhtmlu
non-html-rootudatai(RCRNRhR'R9RgRaRM(R>R}tattrR�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytstartTagHtml�scS`s|j|d|�S(Nuname(t
endTagHandler(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRp�s(R4R5R�RBRtRqRrRmRnRoR�Rp(((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s								
tInitialPhasecB`sPeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(cS`sdS(N((R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRn�scS`s|jj||jj�dS(N(R9R�tdocument(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRq�sc8S`su|d}|d}|d}|d}|dksX|dk	sX|dk	rk|dkrk|jjd�n|dkr�d}n|jj|�|dkr�|jt�}n|s|ddks|jdJ�s|dKks|jdL�r�|dks|r"|j�dDkr"dE|j_	n9|jdM�sL|jdN�r[|dk	r[dH|j_	n|jj
dI|j_dS(ONunameupublicIdusystemIducorrectuhtmluabout:legacy-compatuunknown-doctypeuu*+//silmaril//dtd html pro v0r11 19970101//u4-//advasoft ltd//dtd html 3.0 aswedit + extensions//u*-//as//dtd html 3.0 aswedit + extensions//u-//ietf//dtd html 2.0 level 1//u-//ietf//dtd html 2.0 level 2//u&-//ietf//dtd html 2.0 strict level 1//u&-//ietf//dtd html 2.0 strict level 2//u-//ietf//dtd html 2.0 strict//u-//ietf//dtd html 2.0//u-//ietf//dtd html 2.1e//u-//ietf//dtd html 3.0//u-//ietf//dtd html 3.2 final//u-//ietf//dtd html 3.2//u-//ietf//dtd html 3//u-//ietf//dtd html level 0//u-//ietf//dtd html level 1//u-//ietf//dtd html level 2//u-//ietf//dtd html level 3//u"-//ietf//dtd html strict level 0//u"-//ietf//dtd html strict level 1//u"-//ietf//dtd html strict level 2//u"-//ietf//dtd html strict level 3//u-//ietf//dtd html strict//u-//ietf//dtd html//u(-//metrius//dtd metrius presentational//u5-//microsoft//dtd internet explorer 2.0 html strict//u.-//microsoft//dtd internet explorer 2.0 html//u0-//microsoft//dtd internet explorer 2.0 tables//u5-//microsoft//dtd internet explorer 3.0 html strict//u.-//microsoft//dtd internet explorer 3.0 html//u0-//microsoft//dtd internet explorer 3.0 tables//u#-//netscape comm. corp.//dtd html//u*-//netscape comm. corp.//dtd strict html//u*-//o'reilly and associates//dtd html 2.0//u3-//o'reilly and associates//dtd html extended 1.0//u;-//o'reilly and associates//dtd html extended relaxed 1.0//uN-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//uE-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//u$-//spyglass//dtd html 2.0 extended//u+-//sq//dtd html 2.0 hotmetal + extensions//u--//sun microsystems corp.//dtd hotjava html//u4-//sun microsystems corp.//dtd hotjava strict html//u-//w3c//dtd html 3 1995-03-24//u-//w3c//dtd html 3.2 draft//u-//w3c//dtd html 3.2 final//u-//w3c//dtd html 3.2//u-//w3c//dtd html 3.2s draft//u-//w3c//dtd html 4.0 frameset//u#-//w3c//dtd html 4.0 transitional//u(-//w3c//dtd html experimental 19960712//u&-//w3c//dtd html experimental 970421//u-//w3c//dtd w3 html//u-//w3o//dtd w3 html 3.0//u#-//webtechs//dtd mozilla html 2.0//u-//webtechs//dtd mozilla html//u$-//w3o//dtd w3 html strict 3.0//en//u"-/w3c/dtd html 4.0 transitional/enu -//w3c//dtd html 4.01 frameset//u$-//w3c//dtd html 4.01 transitional//u:http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtduquirksu -//w3c//dtd xhtml 1.0 frameset//u$-//w3c//dtd xhtml 1.0 transitional//ulimited quirksu
beforeHtml(7u*+//silmaril//dtd html pro v0r11 19970101//u4-//advasoft ltd//dtd html 3.0 aswedit + extensions//u*-//as//dtd html 3.0 aswedit + extensions//u-//ietf//dtd html 2.0 level 1//u-//ietf//dtd html 2.0 level 2//u&-//ietf//dtd html 2.0 strict level 1//u&-//ietf//dtd html 2.0 strict level 2//u-//ietf//dtd html 2.0 strict//u-//ietf//dtd html 2.0//u-//ietf//dtd html 2.1e//u-//ietf//dtd html 3.0//u-//ietf//dtd html 3.2 final//u-//ietf//dtd html 3.2//u-//ietf//dtd html 3//u-//ietf//dtd html level 0//u-//ietf//dtd html level 1//u-//ietf//dtd html level 2//u-//ietf//dtd html level 3//u"-//ietf//dtd html strict level 0//u"-//ietf//dtd html strict level 1//u"-//ietf//dtd html strict level 2//u"-//ietf//dtd html strict level 3//u-//ietf//dtd html strict//u-//ietf//dtd html//u(-//metrius//dtd metrius presentational//u5-//microsoft//dtd internet explorer 2.0 html strict//u.-//microsoft//dtd internet explorer 2.0 html//u0-//microsoft//dtd internet explorer 2.0 tables//u5-//microsoft//dtd internet explorer 3.0 html strict//u.-//microsoft//dtd internet explorer 3.0 html//u0-//microsoft//dtd internet explorer 3.0 tables//u#-//netscape comm. corp.//dtd html//u*-//netscape comm. corp.//dtd strict html//u*-//o'reilly and associates//dtd html 2.0//u3-//o'reilly and associates//dtd html extended 1.0//u;-//o'reilly and associates//dtd html extended relaxed 1.0//uN-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//uE-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//u$-//spyglass//dtd html 2.0 extended//u+-//sq//dtd html 2.0 hotmetal + extensions//u--//sun microsystems corp.//dtd hotjava html//u4-//sun microsystems corp.//dtd hotjava strict html//u-//w3c//dtd html 3 1995-03-24//u-//w3c//dtd html 3.2 draft//u-//w3c//dtd html 3.2 final//u-//w3c//dtd html 3.2//u-//w3c//dtd html 3.2s draft//u-//w3c//dtd html 4.0 frameset//u#-//w3c//dtd html 4.0 transitional//u(-//w3c//dtd html experimental 19960712//u&-//w3c//dtd html experimental 970421//u-//w3c//dtd w3 html//u-//w3o//dtd w3 html 3.0//u#-//webtechs//dtd mozilla html 2.0//u-//webtechs//dtd mozilla html//(u$-//w3o//dtd w3 html strict 3.0//en//u"-/w3c/dtd html 4.0 transitional/enuhtml(u -//w3c//dtd html 4.01 frameset//u$-//w3c//dtd html 4.01 transitional//(u -//w3c//dtd xhtml 1.0 frameset//u$-//w3c//dtd xhtml 1.0 transitional//(u -//w3c//dtd html 4.01 frameset//u$-//w3c//dtd html 4.01 transitional//(R8RCRhR9t
insertDoctypeRbRR�RQRPR=RV(R>R}R@tpublicIdtsystemIdtcorrect((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRr�s�



						cS`s&d|j_|jjd|j_dS(Nuquirksu
beforeHtml(RCRPR=RV(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytanythingElseMscS`s|jjd�|j�|S(Nuexpected-doctype-but-got-chars(RCRhR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRmQs
cS`s,|jjdi|dd6�|j�|S(Nu"expected-doctype-but-got-start-taguname(RCRhR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRoVs
cS`s,|jjdi|dd6�|j�|S(Nu expected-doctype-but-got-end-taguname(RCRhR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRp\s
cS`s|jjd�|j�tS(Nuexpected-doctype-but-got-eof(RCRhR�R[(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRtbs
(
R4R5RnRqRrR�RmRoRpRt(((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s			_				tBeforeHtmlPhasecB`sGeZd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cS`s3|jjtdd��|jjd|j_dS(NuhtmluStartTagu
beforeHead(R9t
insertRoottimpliedTagTokenRCR=RV(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRWiscS`s|j�tS(N(RWR[(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRtns
cS`s|jj||jj�dS(N(R9R�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRqrscS`sdS(N((R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRnuscS`s|j�|S(N(RW(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRmxs
cS`s-|ddkrt|j_n|j�|S(Nunameuhtml(R[RCRNRW(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRo|s
cS`sC|ddkr1|jjdi|dd6�n|j�|SdS(Nunameuheadubodyuhtmlubruunexpected-end-tag-before-html(uheadubodyuhtmlubr(RCRhRW(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRp�s

(	R4R5RWRtRqRnRmRoRp(((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�gs						tBeforeHeadPhasec`s_eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	c`s}�j|||�tjd|jfd|jfg�|_|j|j_tjd|jfg�|_	|j
|j	_dS(Nuhtmluheadubodyubr(uheadubodyuhtmlubr(RBR
tMethodDispatcherR�tstartTagHeadR�t
startTagOthertdefaulttendTagImplyHeadR�tendTagOther(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�scS`s|jtdd��tS(NuheaduStartTag(R�R�R[(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�scS`sdS(N((R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRn�scS`s|jtdd��|S(NuheaduStartTag(R�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�scS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s@|jj|�|jjd|j_|jjd|j_dS(Ni����uinHead(R9R�RgtheadPointerRCR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s|jtdd��|S(NuheaduStartTag(R�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s|jtdd��|S(NuheaduStartTag(R�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s"|jjdi|dd6�dS(Nuend-tag-after-implied-rootuname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s(R4R5RBRtRnRmR�R�R�R�R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s							tInHeadPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�ZRS(c`s��j|||�tjd|jfd|jfd|jfd|jfd|jfd|jfd|j	fd
|j
fg�|_|j|j_
tjd
|jfd|jfg�|_|j|j_
dS(Nuhtmlutitleunoframesustyleunoscriptuscriptubaseubasefontubgsounducommandulinkumetauheadubrubody(unoframesustyle(ubaseubasefontubgsounducommandulink(ubruhtmlubody(RBR
R�R�t
startTagTitletstartTagNoFramesStyletstartTagNoscripttstartTagScripttstartTagBaseLinkCommandtstartTagMetaR�R�R�R�t
endTagHeadtendTagHtmlBodyBrR�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�s 	cS`s|j�tS(N(R�R[(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�s
cS`s|j�|S(N(R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�s
cS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s|jjd�dS(Nu!two-heads-are-not-better-than-one(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s.|jj|�|jjj�t|d<dS(NuselfClosingAcknowledged(R9R�RgtpopR[(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s�|jj|�|jjj�t|d<|d}|jjjjddkr�d|kry|jjjj	|d�q�d|kr�d|kr�|dj
�dkr�tj|dj
d	��}tj|�}|j�}|jjjj	|�q�ndS(
NuselfClosingAcknowledgedudataiu	tentativeucharsetucontentu
http-equivucontent-typeuutf-8(R9R�RgR�R[RCRGRJR^tchangeEncodingRQRt
EncodingBytestencodetContentAttrParserR(R>R}RatdataRCtcodec((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s

cS`s|jj|d�dS(NuRCDATA(RCR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s|jj|d�dS(NuRAWTEXT(RCR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`sL|jjr"|jj|d�n&|jj|�|jjd|j_dS(NuRAWTEXTuinHeadNoscript(RCRER�R9R�R=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`sT|jj|�|jjj|jj_|jj|j_|jjd|j_dS(Nutext(	R9R�RCRGtscriptDataStateRSRVR�R=(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�scS`s|j�|S(N(R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s
cS`sQ|jjjj�}|jdks7td|j��|jjd|j_dS(NuheaduExpected head got %su	afterHead(RCR9RgR�R@RuR=RV(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s"cS`s|j�|S(N(R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s
cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�scS`s|jtd��dS(Nuhead(R�R�(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s(R4R5RBRtRmR�R�R�R�R�R�R�R�R�R�R�R�R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s 														tInHeadNoscriptPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�ZRS(
c`s��j|||�tjd|jfd|jfd|jfg�|_|j|j_tjd	|j	fd
|j
fg�|_|j|j_dS(
Nuhtmlubasefontubgsoundulinkumetaunoframesustyleuheadunoscriptubr(ubasefontubgsoundulinkumetaunoframesustyle(uheadunoscript(
RBR
R�R�R�tstartTagHeadNoscriptR�R�R�tendTagNoscripttendTagBrR�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB scS`s|jjd�|j�tS(Nueof-in-head-noscript(RCRhR�R[(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt0s
cS`s|jjdj|�S(NuinHead(RCR=Rq(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRq5scS`s|jjd�|j�|S(Nuchar-in-head-noscript(RCRhR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm8s
cS`s|jjdj|�S(NuinHead(RCR=Rn(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRn=scS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�@scS`s|jjdj|�S(NuinHead(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�CscS`s"|jjdi|dd6�dS(Nuunexpected-start-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�FscS`s,|jjdi|dd6�|j�|S(Nuunexpected-inhead-noscript-taguname(RCRhR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�Is
cS`sQ|jjjj�}|jdks7td|j��|jjd|j_dS(NunoscriptuExpected noscript got %suinHead(RCR9RgR�R@RuR=RV(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�Ns"cS`s,|jjdi|dd6�|j�|S(Nuunexpected-inhead-noscript-taguname(RCRhR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�Ss
cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�XscS`s|jtd��dS(Nunoscript(R�R�(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�[s(R4R5RBRtRqRmRnR�R�R�R�R�R�R�R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s											tAfterHeadPhasec`szeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
RS(c
`s��j|||�tjd|jfd|jfd|jfd|jfd
|jfg�|_|j	|j_
tjd|jfg�|_|j
|j_
dS(Nuhtmlubodyuframesetubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitleuheadubr(	ubaseubasefontubgsoundulinkumetaunoframesuscriptustyleutitle(ubodyuhtmlubr(RBR
R�R�tstartTagBodytstartTagFramesettstartTagFromHeadR�R�R�R�R�R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB`s		cS`s|j�tS(N(R�R[(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRtqs
cS`s|j�|S(N(R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRmus
cS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�yscS`s6t|j_|jj|�|jjd|j_dS(NuinBody(RMRCR\R9R�R=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�|scS`s*|jj|�|jjd|j_dS(Nu
inFrameset(R9R�RCR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s�|jjdi|dd6�|jjj|jj�|jjdj|�xG|jjddd�D],}|jdkrh|jjj	|�PqhqhWdS(Nu#unexpected-start-tag-out-of-my-headunameuinHeadi����uhead(
RCRhR9RgRsR�R=RoR@tremove(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s cS`s"|jjdi|dd6�dS(Nuunexpected-start-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s|j�|S(N(R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
cS`s|j�|S(N(R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s?|jjtdd��|jjd|j_t|j_dS(NubodyuStartTaguinBody(R9R�R�RCR=RVR[R\(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s(R4R5RBRtRmR�R�R�R�R�R�R�R�R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�_s						
				tInBodyPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d �Z"d!�Z#d"�Z$d#�Z%d$�Z&d%�Z'd&�Z(d'�Z)d(�Z*d)�Z+d*�Z,d+�Z-d,�Z.d-�Z/d.�Z0d/�Z1d0�Z2d1�Z3d2�Z4RS(3c,`si�j|||�|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(6RBtprocessSpaceCharactersNonPreRnR
R�R�tstartTagProcessInHeadR�R�tstartTagClosePRtstartTagHeadingtstartTagPreListingtstartTagFormtstartTagListItemtstartTagPlaintextt	startTagAtstartTagFormattingtstartTagNobrtstartTagButtontstartTagAppletMarqueeObjecttstartTagXmpt
startTagTabletstartTagVoidFormattingtstartTagParamSourcet
startTagInputt
startTagHrt
startTagImagetstartTagIsIndextstartTagTextareatstartTagIFrameR�tstartTagRawtexttstartTagSelecttstartTagRpRttstartTagOpttstartTagMathtstartTagSvgtstartTagMisplacedR�R�R�t
endTagBodyt
endTagHtmltendTagBlockt
endTagFormtendTagPtendTagListItemt
endTagHeadingtendTagFormattingtendTagAppletMarqueeObjectR�R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�s~			cS`s4|j|jko3|j|jko3|j|jkS(N(R@R`Ra(R>tnode1tnode2((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytisMatchingFormattingElement�scS`s�|jj|�|jjd}g}xS|jjddd�D]8}|tkrVPq@|j||�r@|j|�q@q@Wt|�dks�t�t|�dkr�|jjj	|d�n|jjj|�dS(Ni����i(
R9R�RgtactiveFormattingElementsR	RRsRjRuR�(R>R}RctmatchingElementsR�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytaddFormattingElement�s c
S`sWtd�}xD|jjddd
�D])}|j|kr&|jjd�Pq&q&WdS(Nuddudtuliuputbodyutdutfootuthutheadutrubodyuhtmli����u expected-closing-tag-but-got-eof(uddudtuliuputbodyutdutfootuthutheadutrubodyuhtml(RlR9RgR@RCRh(R>tallowed_elementsR�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRts	 cS`s�|d}|j|_|jd�rb|jjdjdkrb|jjdj�rb|d}n|r�|jj�|jj|�ndS(	Nudatau
i����upreulistingutextareai(upreulistingutextarea(	R�RnR�R9RgR@t
hasContentt#reconstructActiveFormattingElementsR�(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyt!processSpaceCharactersDropNewline
s


cS`s}|ddkrdS|jj�|jj|d�|jjrytg|dD]}|tk^qO�ryt|j_ndS(Nudatau(R9RR�RCR\tanyRRM(R>R}tchar((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRms
#cS`s%|jj�|jj|d�dS(Nudata(R9RR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�&s
cS`s|jjdj|�S(NuinHead(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�*scS`s�|jjdidd6�t|jj�dksK|jjdjdkr`|jjs�t�n`t|j_	xQ|dj
�D]?\}}||jjdjkr}||jjdj|<q}q}WdS(Nuunexpected-start-tagubodyunameiudata(RCRhRjR9RgR@RKRuRMR\R'Ra(R>R}R�R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�-scS`s|jjdidd6�t|jj�dksK|jjdjdkr`|jjs�t�n�|jjson�|jjdj	r�|jjdj	j
|jjd�nx-|jjdjdkr�|jjj�q�W|jj|�|jj
d|j_dS(	Nuunexpected-start-taguframesetunameiubodyi����uhtmlu
inFrameset(RCRhRjR9RgR@RKRuR\tparenttremoveChildR�R�R=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�8s1'cS`sB|jjddd�r.|jtd��n|jj|�dS(Nuptvariantubutton(R9telementInScopeR�R�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�FscS`sZ|jjddd�r.|jtd��n|jj|�t|j_|j|_	dS(NupRubutton(
R9RR�R�R�RMRCR\RRn(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�Ks
cS`s�|jjr)|jjdidd6�nT|jjddd�rW|jtd��n|jj|�|jjd|j_dS(Nuunexpected-start-taguformunameupRubuttoni����(	R9tformPointerRCRhRR�R�R�Rg(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�RscS`st|j_idgd6ddgd6ddgd6}||d}xnt|jj�D]Z}|j|kr�|jjjt	|jd��Pn|j
tkrW|jdkrWPqWqWW|jjdd	d
�r�|jjjt	dd��n|jj
|�dS(NuliudtuddunameuEndTaguaddressudivupRubutton(uaddressudivup(RMRCR\treversedR9RgR@RVRpR�t	nameTupleR
RR�(R>R}tstopNamesMapt	stopNamesR�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�[s"

cS`sZ|jjddd�r.|jtd��n|jj|�|jjj|jj_dS(NupRubutton(	R9RR�R�R�RCRGRURS(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�qscS`s�|jjddd�r.|jtd��n|jjdjtkrx|jjdi|dd6�|jjj	�n|jj
|�dS(NupRubuttoni����uunexpected-start-taguname(R9RR�R�RgR@RRCRhR�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�wscS`s�|jjd�}|r�|jjdidd6dd6�|jtd��||jjkrt|jjj|�n||jjkr�|jjj|�q�n|jj	�|j
|�dS(Nuau$unexpected-start-tag-implies-end-tagu	startNameuendName(R9t!elementInActiveFormattingElementsRCRhRR�RgR�RRR(R>R}tafeAElement((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s
cS`s|jj�|j|�dS(N(R9RR(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
cS`st|jj�|jjd�rc|jjdidd6dd6�|jtd��|jj�n|j|�dS(Nunobru$unexpected-start-tag-implies-end-tagu	startNameuendName(R9RRRCRhRpR�R(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
cS`sw|jjd�rJ|jjdidd6dd6�|jtd��|S|jj�|jj|�t|j_	dS(Nubuttonu$unexpected-start-tag-implies-end-tagu	startNameuendName(
R9RRCRhRpR�RR�RMR\(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
cS`s@|jj�|jj|�|jjjt�t|j_dS(N(	R9RR�RRsR	RMRCR\(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
cS`s^|jjddd�r.|jtd��n|jj�t|j_|jj|d�dS(NupRubuttonuRAWTEXT(	R9RR�R�RRMRCR\R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s

cS`sy|jjdkrC|jjddd�rC|jtd��qCn|jj|�t|j_|jj	d|j_
dS(NuquirksupRubuttonuinTable(RCRPR9RRpR�R�RMR\R=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`sG|jj�|jj|�|jjj�t|d<t|j_dS(NuselfClosingAcknowledged(	R9RR�RgR�R[RMRCR\(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s


cS`sY|jj}|j|�d|dkrU|ddjt�dkrU||j_ndS(Nutypeudatauhidden(RCR\R�RbR(R>R}R\((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s

cS`s.|jj|�|jjj�t|d<dS(NuselfClosingAcknowledged(R9R�RgR�R[(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`sh|jjddd�r.|jtd��n|jj|�|jjj�t|d<t|j	_
dS(NupRubuttonuselfClosingAcknowledged(R9RR�R�R�RgR�R[RMRCR\(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
c	S`sO|jjdidd6dd6�|jtddd|dd	|d
��dS(Nuunexpected-start-tag-treated-asuimageuoriginalNameuimgunewNameuStartTagRaudatatselfClosinguselfClosing(RCRhRoR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s

c	S`s�|jjdidd6�|jjr*dSi}d|dkrU|dd|d<n|jtddd|��|jtd	d��|jtd
d��d|dkr�|dd}nd}|jitd
d6|d6�|dj�}d|kr	|d=nd|kr|d=nd|d<|jtddd|d|d��|j	td
��|jtd	d��|j	td��dS(Nudeprecated-taguisindexunameuactionudatauformuStartTagRauhrulabelupromptu3This is a searchable index. Enter search keywords: u
CharactersutypeuinputRuselfClosing(
RCRhR9RRoR�RmRtcopyRp(R>R}t
form_attrstpromptRa((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s6



cS`sD|jj|�|jjj|jj_|j|_t|j_	dS(N(
R9R�RCRGRRRSRRnRMR\(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`st|j_|j|�dS(N(RMRCR\R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�scS`s-|jjr|j|�n
|j|�dS(N(RCRER�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�scS`s|jj|d�dS(u8iframe, noembed noframes, noscript(if scripting enabled)uRAWTEXTN(RCR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�
scS`sY|jjdjdkr5|jjjtd��n|jj�|jjj|�dS(Ni����uoption(	R9RgR@RCRVRpR�RR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s
cS`s�|jj�|jj|�t|j_|jj|jjd|jjd|jjd|jjd|jjd|jjdfkr�|jjd|j_n|jjd|j_dS(	NuinTableu	inCaptionu
inColumnGroupuinTableBodyuinRowuinCelluinSelectInTableuinSelect(R9RR�RMRCR\RVR=(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s




cS`s_|jjd�rK|jj�|jjdjdkrK|jj�qKn|jj|�dS(Nurubyi����(R9RtgenerateImpliedEndTagsRgR@RCRhR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�%s

cS`sv|jj�|jj|�|jj|�td|d<|jj|�|drr|jjj�t	|d<ndS(Numathmlu	namespaceuselfClosinguselfClosingAcknowledged(
R9RRCRRRR�RgR�R[(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�,s

cS`sv|jj�|jj|�|jj|�td|d<|jj|�|drr|jjj�t	|d<ndS(Nusvgu	namespaceuselfClosinguselfClosingAcknowledged(
R9RRCRRRR�RgR�R[(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�8s

cS`s"|jjdi|dd6�dS(u5 Elements that should be children of other elements that have a
            different insertion mode; here they are ignored
            "caption", "col", "colgroup", "frame", "frameset", "head",
            "option", "optgroup", "tbody", "td", "tfoot", "th", "thead",
            "tr", "noscript"
            uunexpected-start-tag-ignoredunameN(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�DscS`s!|jj�|jj|�dS(N(R9RR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�Ms
cS`s�|jjddd�sa|jtdd��|jjdidd6�|jtdd��n�|jjd�|jjdj	dkr�|jjdidd6�n|jjj
�}x%|j	dkr�|jjj
�}q�WdS(	NupRubuttonuStartTaguunexpected-end-tagunameuEndTagi����(R9RR�R�RCRhR�RRgR@R�(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�QscS`s�|jjd�s#|jj�dS|jjdjdkr�xX|jjdD]C}|jtd�krM|jjdidd6|jd6�PqMqMWn|jjd|j_dS(Nubodyi����iuddudtuliuoptgroupuoptionupurpurtutbodyutdutfootuthutheadutruhtmlu$expected-one-end-tag-but-got-anotherugotNameuexpectedNameu	afterBody(uddudtuliuoptgroupuoptionupurpurtutbodyutdutfootuthutheadutrubodyuhtml(	R9RRCRhRgR@RlR=RV(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�^s
		cS`s-|jjd�r)|jtd��|SdS(Nubody(R9RR�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�pscS`s�|ddkr|j|_n|jj|d�}|rK|jj�n|jjdj|dkr�|jjdi|dd6�n|r�|jjj	�}x,|j|dkr�|jjj	�}q�WndS(Nunameuprei����uend-tag-too-early(
R�RnR9RRRgR@RCRhR�(R>R}tinScopeR�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�vs!cS`s�|jj}d|j_|dks7|jj|�rT|jjdidd6�nS|jj�|jjd|kr�|jjdidd6�n|jjj|�dS(Nuunexpected-end-taguformunamei����uend-tag-too-early-ignored(	R9RR8RRCRhRRgR�(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
cS`s�|ddkrd}nd}|jj|dd|�s\|jjdi|dd6�n�|jjd|d�|jjdj|dkr�|jjdi|dd6�n|jjj�}x)|j|dkr�|jjj�}q�WdS(	NunameuliulistRuunexpected-end-tagtexcludei����uend-tag-too-early(	R8R9RRCRhRRgR@R�(R>R}RR�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s	!	cS`s�x1tD])}|jj|�r|jj�PqqW|jjdj|dkrr|jjdi|dd6�nx^tD]V}|jj|�ry|jjj�}x%|jtkr�|jjj�}q�WPqyqyWdS(Ni����unameuend-tag-too-early(	RR9RRRgR@RCRhR�(R>R}titem((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s

!
cS`s3d}x&|dkr.|d7}|jj|d�}|sd||jjkru|jj|j�ru|j|�dS||jjkr�|jjdi|dd6�|jjj	|�dS|jj|j�s�|jjdi|dd6�dS||jjdkr*|jjd	i|dd6�n|jjj
|�}d}x1|jj|D]}|jt
krV|}PqVqVW|dkr�|jjj�}x"||kr�|jjj�}q�W|jjj	|�dS|jj|d}|jjj
|�}|}	}
d}|jjj
|
�}x|d
kr9|d7}|d8}|jj|}
|
|jjkr|jjj	|
�q$n|
|kr�Pn|	|kr�|jjj
|
�d}n|
j�}
|
|jj|jjj
|
�<|
|jj|jjj
|
�<|
}
|	jr#|	jj|	�n|
j|	�|
}	q$W|	jrV|	jj|	�n|jtd�kr�|jj�\}}|j|	|�n
|j|	�|j�}
|j|
�|j|
�|jjj	|�|jjj||
�|jjj	|�|jjj|jjj
|�d|
�q	WdS(u)The much-feared adoption agency algorithmiiiunameNuadoption-agency-1.2uadoption-agency-4.4i����uadoption-agency-1.3iutableutbodyutfootutheadutr(utableutbodyutfootutheadutr(R9RRgRR@R�RCRhRR�tindexR8RR
R�t	cloneNodeRRtappendChildRltgetTableMisnestedNodePositiontinsertBeforetreparentChildrentinsert(R>R}touterLoopCountertformattingElementtafeIndext
furthestBlockRctcommonAncestortbookmarktlastNodeR�tinnerLoopCounterR"tcloneRR&((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�s�

	

!



	

	


cS`s�|jj|d�r&|jj�n|jjdj|dkrd|jjdi|dd6�n|jj|d�r�|jjj�}x)|j|dkr�|jjj�}q�W|jj�ndS(Nunamei����uend-tag-too-early(	R9RRRgR@RCRhR�tclearActiveFormattingElements(R>R}Rc((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRTs!cS`s[|jjdidd6dd6�|jj�|jjtdd��|jjj�dS(Nuunexpected-end-tag-treated-asubruoriginalNameu
br elementunewNameuStartTag(RCRhR9RR�R�RgR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�`s

cS`s�x�|jjddd�D]�}|j|dkr�|jjd|d�|jjdj|dkr�|jjdi|dd6�nx|jjj�|kr�q�WPq|jtkr|jjdi|dd6�PqqWdS(Ni����unameR uunexpected-end-tag(	R9RgR@RRCRhR�RR
(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�gs !(5R4R5RBRRRtRRmR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RRRR�R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��sfG			
	
													
		
																							
				
			�		t	TextPhasec`sDeZ�fd�Zd�Zd�Zd�Zd�Zd�ZRS(c`se�j|||�tjg�|_|j|j_tjd|jfg�|_|j|j_dS(Nuscript(	RBR
R�R�R�R�tendTagScriptR�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRBvscS`s|jj|d�dS(Nudata(R9R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm~scS`sM|jjdi|jjdjd6�|jjj�|jj|j_tS(Nu&expected-named-closing-tag-but-got-eofi����uname(	RCRhR9RgR@R�R�RVR[(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�s
cS`ststd|d��dS(Nu4Tried to process start tag %s in RCDATA/RAWTEXT modeuname(RMRu(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s=|jjj�}|jdks't�|jj|j_dS(Nuscript(R9RgR�R@RuRCR�RV(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR4�scS`s&|jjj�|jj|j_dS(N(R9RgR�RCR�RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s(R4R5RBRmRtR�R4R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR3us				tInTablePhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�ZRS(c
`s��j|||�tjd|jfd|jfd|jfd|jfd|jfd|jfd|j	fd|j
fd|jfd|jfg
�|_
|j|j
_tjd|jfd|jfg�|_|j|j_dS(Nuhtmlucaptionucolgroupucolutbodyutfootutheadutduthutrutableustyleuscriptuinputuformubody(utbodyutfootuthead(utduthutr(ustyleuscript(ubodyucaptionucolucolgroupuhtmlutbodyutdutfootuthutheadutr(RBR
R�R�tstartTagCaptiontstartTagColgrouptstartTagColtstartTagRowGrouptstartTagImplyTbodyR�tstartTagStyleScriptR�R�R�R�R�tendTagTabletendTagIgnoreR�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�s$cS`s4x-|jjdjdkr/|jjj�qWdS(Ni����utableuhtml(utableuhtml(R9RgR@R�(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytclearStackToTableContext�scS`sB|jjdjdkr,|jjd�n|jjs>t�dS(Ni����uhtmlueof-in-table(R9RgR@RCRhRKRu(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�scS`sH|jj}|jjd|j_||jj_|jjj|�dS(NuinTableText(RCRVR=R�Rn(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRn�scS`sH|jj}|jjd|j_||jj_|jjj|�dS(NuinTableText(RCRVR=R�Rm(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�scS`s3t|j_|jjdj|�t|j_dS(NuinBody(R[R9tinsertFromTableRCR=RmRM(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`sG|j�|jjjt�|jj|�|jjd|j_dS(Nu	inCaption(	R>R9RRsR	R�RCR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR6�s
cS`s4|j�|jj|�|jjd|j_dS(Nu
inColumnGroup(R>R9R�RCR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR7�s
cS`s|jtdd��|S(NucolgroupuStartTag(R7R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR8�scS`s4|j�|jj|�|jjd|j_dS(NuinTableBody(R>R9R�RCR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR9�s
cS`s|jtdd��|S(NutbodyuStartTag(R9R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR:�scS`sN|jjdidd6dd6�|jjjtd��|jjsJ|SdS(Nu$unexpected-start-tag-implies-end-tagutableu	startNameuendName(RCRhRVRpR�RK(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
cS`s|jjdj|�S(NuinHead(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR;�scS`sqd|dkr`|ddjt�dkr`|jjd�|jj|�|jjj�n
|j|�dS(Nutypeudatauhiddenu unexpected-hidden-input-in-table(	RbRRCRhR9R�RgR�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s_|jjd�|jjdkr[|jj|�|jjd|j_|jjj�ndS(Nuunexpected-form-in-tablei����(RCRhR9RR8R�RgR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s
cS`sQ|jjdi|dd6�t|j_|jjdj|�t|j_dS(Nu)unexpected-start-tag-implies-table-voodoounameuinBody(RCRhR[R9R?R=RoRM(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�scS`s�|jjddd�r�|jj�|jjdjdkro|jjdidd6|jjdjd6�nx-|jjdjdkr�|jjj�qrW|jjj�|jj�n|jj	s�t
�|jj�dS(NutableRi����uend-tag-too-early-namedugotNameuexpectedName(R9RRRgR@RCRhR�RXRKRu(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR<
s

cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR=scS`sQ|jjdi|dd6�t|j_|jjdj|�t|j_dS(Nu'unexpected-end-tag-implies-table-voodoounameuinBody(RCRhR[R9R?R=RpRM(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR� s(R4R5RBR>RtRnRmR�R6R7R8R9R:R�R;R�R�R�R<R=R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR5�s&														
				tInTableTextPhasec`sVeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(c`s)�j|||�d|_g|_dS(N(RBR8R�tcharacterTokens(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB(s	cS`s�djg|jD]}|d^q�}tg|D]}|tk^q3�r�itdd6|d6}|jjdj|�n|r�|jj|�ng|_dS(Nuudatau
CharactersutypeuinTable(	tjoinRAR
RRRCR=R�R9(R>R!R�R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytflushCharacters-s)%cS`s|j�|j|j_|S(N(RCR�RCRV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRq6s
cS`s|j�|j|j_tS(N(RCR�RCRVR[(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt;s
cS`s(|ddkrdS|jj|�dS(Nudatau(RARs(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm@scS`s|jj|�dS(N(RARs(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRnEscS`s|j�|j|j_|S(N(RCR�RCRV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRoJs
cS`s|j�|j|j_|S(N(RCR�RCRV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRpOs
(
R4R5RBRCRqRtRmRnRoRp((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR@'s							tInCaptionPhasec`sheZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
c
`s��j|||�tjd|jfd
|jfg�|_|j|j_tjd|jfd|j	fd|j
fg�|_|j|j_dS(Nuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrutableubody(	ucaptionucolucolgrouputbodyutdutfootuthutheadutr(
ubodyucolucolgroupuhtmlutbodyutdutfootuthutheadutr(
RBR
R�R�tstartTagTableElementR�R�R�t
endTagCaptionR<R=R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRBVscS`s|jjddd�S(NucaptionRutable(R9R(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytignoreEndTagCaptionhscS`s|jjdj�dS(NuinBody(RCR=Rt(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRtkscS`s|jjdj|�S(NuinBody(RCR=Rm(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRmnscS`s@|jj�|j�}|jjjtd��|s<|SdS(Nucaption(RCRhRGRVRpR�(R>R}tignoreEndTag((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyREqs

cS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�yscS`s�|j�s�|jj�|jjdjdkrc|jjdidd6|jjdjd6�nx-|jjdjdkr�|jjj�qfW|jjj�|jj�|jj	d|j_
n|jjs�t�|jj�dS(Ni����ucaptionu$expected-one-end-tag-but-got-anotherugotNameuexpectedNameuinTable(
RGR9RRgR@RCRhR�R2R=RVRKRu(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRF|s


cS`s@|jj�|j�}|jjjtd��|s<|SdS(Nucaption(RCRhRGRVRpR�(R>R}RH((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR<�s

cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR=�scS`s|jjdj|�S(NuinBody(RCR=Rp(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s(R4R5RBRGRtRmRER�RFR<R=R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRDTs								tInColumnGroupPhasec`s_eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	c`s��j|||�tjd|jfd|jfg�|_|j|j_tjd|jfd|j	fg�|_
|j|j
_dS(Nuhtmlucolucolgroup(RBR
R�R�R8R�R�R�tendTagColgroupt	endTagColR�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�scS`s|jjdjdkS(Ni����uhtml(R9RgR@(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytignoreEndTagColgroup�scS`s\|jjdjdkr/|jjs+t�dS|j�}|jtd��|sXt	SdS(Ni����uhtmlucolgroup(
R9RgR@RCRKRuRLRJR�R[(R>RH((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�scS`s-|j�}|jtd��|s)|SdS(Nucolgroup(RLRJR�(R>R}RH((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�scS`s.|jj|�|jjj�t|d<dS(NuselfClosingAcknowledged(R9R�RgR�R[(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR8�scS`s-|j�}|jtd��|s)|SdS(Nucolgroup(RLRJR�(R>R}RH((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`sX|j�r.|jjst�|jj�n&|jjj�|jjd|j_	dS(NuinTable(
RLRCRKRuRhR9RgR�R=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRJ�s
cS`s|jjdidd6�dS(Nu
no-end-tagucoluname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRK�scS`s-|j�}|jtd��|s)|SdS(Nucolgroup(RLRJR�(R>R}RH((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s(R4R5RBRLRtRmR8R�RJRKR�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRI�s		
						tInTableBodyPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�ZRS(
c`s��j|||�tjd|jfd|jfd
|jfd|jfg�|_|j|j_	tjd|j
fd|jfd|jfg�|_
|j|j
_	dS(Nuhtmlutrutduthucaptionucolucolgrouputbodyutfootutheadutableubody(utduth(ucaptionucolucolgrouputbodyutfootuthead(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduthutr(RBR
R�R�t
startTagTrtstartTagTableCelltstartTagTableOtherR�R�R�tendTagTableRowGroupR<R=R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�scS`sbx-|jjdjdkr/|jjj�qW|jjdjdkr^|jjs^t�ndS(Ni����utbodyutfootutheaduhtml(utbodyutfootutheaduhtml(R9RgR@R�RCRKRu(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytclearStackToTableBodyContext�s
	cS`s|jjdj�dS(NuinTable(RCR=Rt(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�scS`s|jjdj|�S(NuinTable(RCR=Rn(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRnscS`s|jjdj|�S(NuinTable(RCR=Rm(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRmscS`s4|j�|jj|�|jjd|j_dS(NuinRow(RRR9R�RCR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRNs
cS`s8|jjdi|dd6�|jtdd��|S(Nuunexpected-cell-in-table-bodyunameutruStartTag(RCRhRNR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyROscS`s�|jjddd�sH|jjddd�sH|jjddd�rv|j�|jt|jjdj��|S|jjs�t	�|jj
�dS(NutbodyRutableutheadutfooti����(R9RRRRQR�RgR@RCRKRuRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRPs
cS`s|jjdj|�S(NuinTable(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�scS`sq|jj|ddd�rO|j�|jjj�|jjd|j_n|jjdi|dd6�dS(NunameRutableuinTableu unexpected-end-tag-in-table-body(	R9RRRRgR�RCR=RVRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRQ"s
cS`s�|jjddd�sH|jjddd�sH|jjddd�rv|j�|jt|jjdj��|S|jjs�t	�|jj
�dS(NutbodyRutableutheadutfooti����(R9RRRRQR�RgR@RCRKRuRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR<+s
cS`s"|jjdi|dd6�dS(Nu unexpected-end-tag-in-table-bodyuname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR=8scS`s|jjdj|�S(NuinTable(RCR=Rp(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�<s(R4R5RBRRRtRnRmRNRORPR�RQR<R=R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRM�s	
										
	t
InRowPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�ZRS(c`s��j|||�tjd|jfd
|jfd|jfg�|_|j|j_tjd
|j	fd|j
fd|jfd|jfg�|_
|j|j
_dS(Nuhtmlutduthucaptionucolucolgrouputbodyutfootutheadutrutableubody(utduth(ucaptionucolucolgrouputbodyutfootutheadutr(utbodyutfootuthead(ubodyucaptionucolucolgroupuhtmlutduth(RBR
R�R�RORPR�R�R�tendTagTrR<RQR=R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRBAscS`s[xT|jjdjdkrV|jjdi|jjdjd6�|jjj�qWdS(Ni����utruhtmlu'unexpected-implied-end-tag-in-table-rowuname(utruhtml(R9RgR@RCRhR�(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytclearStackToTableRowContextUscS`s|jjddd�S(NutrRutable(R9R(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytignoreEndTagTr[scS`s|jjdj�dS(NuinTable(RCR=Rt(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt_scS`s|jjdj|�S(NuinTable(RCR=Rn(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRnbscS`s|jjdj|�S(NuinTable(RCR=Rm(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRmescS`sG|j�|jj|�|jjd|j_|jjjt�dS(NuinCell(	RUR9R�RCR=RVRRsR	(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyROhs
cS`s-|j�}|jtd��|s)|SdS(Nutr(RVRTR�(R>R}RH((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRPnscS`s|jjdj|�S(NuinTable(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�uscS`sb|j�s?|j�|jjj�|jjd|j_n|jjsQt	�|jj
�dS(NuinTableBody(RVRUR9RgR�RCR=RVRKRuRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRTxs
cS`s-|j�}|jtd��|s)|SdS(Nutr(RVRTR�(R>R}RH((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR<�scS`sD|jj|ddd�r3|jtd��|S|jj�dS(NunameRutableutr(R9RRTR�RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRQ�scS`s"|jjdi|dd6�dS(Nuunexpected-end-tag-in-table-rowuname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR=�scS`s|jjdj|�S(NuinTable(RCR=Rp(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s(R4R5RBRURVRtRnRmRORPR�RTR<RQR=R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRS?s									
			tInCellPhasec`sheZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
c`s��j|||�tjd|jfd
|jfg�|_|j|j_tjd|jfd|j	fd|j
fg�|_|j|j_dS(Nuhtmlucaptionucolucolgrouputbodyutdutfootuthutheadutrubodyutable(	ucaptionucolucolgrouputbodyutdutfootuthutheadutr(utduth(ubodyucaptionucolucolgroupuhtml(utableutbodyutfootutheadutr(
RBR
R�R�RPR�R�R�tendTagTableCellR=tendTagImplyR�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�scS`s`|jjddd�r.|jtd��n.|jjddd�r\|jtd��ndS(NutdRutableuth(R9RRXR�(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyt	closeCell�scS`s|jjdj�dS(NuinBody(RCR=Rt(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�scS`s|jjdj|�S(NuinBody(RCR=Rm(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�scS`sa|jjddd�s0|jjddd�r>|j�|S|jjsPt�|jj�dS(NutdRutableuth(R9RRZRCRKRuRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRP�s
cS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��scS`s�|jj|ddd�r�|jj|d�|jjdj|dkr�|jjdi|dd6�xFtr�|jjj�}|j|dkrnPqnqnWn|jjj�|jj	�|jj
d|j_n|jjdi|dd6�dS(NunameRutablei����uunexpected-cell-end-taguinRowuunexpected-end-tag(R9RRRgR@RCRhR[R�R2R=RV(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRX�s	
cS`s"|jjdi|dd6�dS(Nuunexpected-end-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR=�scS`s;|jj|ddd�r*|j�|S|jj�dS(NunameRutable(R9RRZRCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRY�s
cS`s|jjdj|�S(NuinBody(RCR=Rp(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��s(R4R5RBRZRtRmRPR�RXR=RYR�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRW�s				
				t
InSelectPhasec`s�eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�ZRS(
c`s��j|||�tjd|jfd|jfd|jfd|jfd	|jfd|jfg�|_	|j
|j	_tjd|jfd|j
fd|jfg�|_|j|j_dS(
Nuhtmluoptionuoptgroupuselectuinputukeygenutextareauscript(uinputukeygenutextarea(RBR
R�R�tstartTagOptiontstartTagOptgroupR�R�R�R�R�R�tendTagOptiontendTagOptgrouptendTagSelectR�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�scS`sB|jjdjdkr,|jjd�n|jjs>t�dS(Ni����uhtmlu
eof-in-select(R9RgR@RCRhRKRu(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�scS`s,|ddkrdS|jj|d�dS(Nudatau(R9R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm	scS`s@|jjdjdkr,|jjj�n|jj|�dS(Ni����uoption(R9RgR@R�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR\	scS`sl|jjdjdkr,|jjj�n|jjdjdkrX|jjj�n|jj|�dS(Ni����uoptionuoptgroup(R9RgR@R�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR]	s
cS`s'|jjd�|jtd��dS(Nuunexpected-select-in-selectuselect(RCRhR`R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�	scS`sU|jjd�|jjddd�r?|jtd��|S|jjsQt�dS(Nuunexpected-input-in-selectuselectR(RCRhR9RR`R�RKRu(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�	s
cS`s|jjdj|�S(NuinHead(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�	scS`s"|jjdi|dd6�dS(Nuunexpected-start-tag-in-selectuname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�!	scS`sJ|jjdjdkr,|jjj�n|jjdidd6�dS(Ni����uoptionuunexpected-end-tag-in-selectuname(R9RgR@R�RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR^%	scS`s�|jjdjdkrE|jjdjdkrE|jjj�n|jjdjdkrq|jjj�n|jjdidd6�dS(Ni����uoptioni����uoptgroupuunexpected-end-tag-in-selectuname(R9RgR@R�RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR_,	scS`s�|jjddd�rb|jjj�}x%|jdkrQ|jjj�}q-W|jj�n|jjstt�|jj	�dS(NuselectR(
R9RRgR�R@RCRXRKRuRh(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR`9	scS`s"|jjdi|dd6�dS(Nuunexpected-end-tag-in-selectuname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�D	s(R4R5RBRtRmR\R]R�R�R�R�R^R_R`R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR[�s										
	tInSelectInTablePhasec`sMeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(c	`sq�j|||�tjd	|jfg�|_|j|j_tjd
|jfg�|_|j	|j_dS(Nucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth(ucaptionutableutbodyutfootutheadutrutduth(
RBR
R�R�R�R�R�R<R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRBI	scS`s|jjdj�dS(NuinSelect(RCR=Rt(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRtX	scS`s|jjdj|�S(NuinSelect(RCR=Rm(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm[	scS`s5|jjdi|dd6�|jtd��|S(Nu5unexpected-table-element-start-tag-in-select-in-tableunameuselect(RCRhR�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�^	scS`s|jjdj|�S(NuinSelect(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�c	scS`sU|jjdi|dd6�|jj|ddd�rQ|jtd��|SdS(Nu3unexpected-table-element-end-tag-in-select-in-tableunameRutableuselect(RCRhR9RR�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR<f	scS`s|jjdj|�S(NuinSelect(RCR=Rp(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�l	s(	R4R5RBRtRmR�R�R<R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRaH	s					tInForeignContentPhasec-`s�eZedddddddddd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+g,�Z�fd,�Zd-�Z�fd.�Zd/�Zd0�ZRS(1ububigu
blockquoteubodyubrucenterucodeuddudivudludtuemuembeduh1uh2uh3uh4uh5uh6uheaduhruiuimguliulistingumenuumetaunobruolupupreurubyususmalluspanustrongustrikeusubusuputableuttuuuuluvarc`s�j|||�dS(N(RB(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRBy	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((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pytadjustSVGTagNames|	sL

c`sf|ddkrd|d<n5|jjrRtd�|dD��rRt|j_n�j||�dS(Nudatauu�cs`s|]}|tkVqdS(N(R(R�R((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pys	<genexpr>�	s(RCR\R
RMRm(R>R}(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�	s
cS`s�|jjd}|d|jks\|ddkr�t|dj��tdddg�@r�|jjdi|dd6�xm|jjdj|jjkr�|jj	|jjd�r�|jj
|jjd�r�|jjj�q}W|S|jtd	kr|jj
|�n3|jtd
krG|j|�|jj|�n|jj|�|j|d<|jj|�|dr�|jjj�t|d
<ndS(Ni����unameufontudataucolorufaceusizeu*unexpected-html-element-in-foreign-contentumathmlusvgu	namespaceuselfClosinguselfClosingAcknowledged(R9RgtbreakoutElementstsettkeysRCRhR`RkRdReR�RRRdRRR�R[(R>R}R�((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRo�	s.)


cS`sZt|jj�d}|jjd}|jjt�|dkrc|jjdi|dd6�nx�trU|jjt�|dkr|jj	|jj
dkr�|jj	j�|jj	j|j_	nx.|jjj
�|kr�|jjs�t�q�Wd}Pn|d8}|jj|}|j|jjkr<qfqf|jj	j|�}PqfW|S(Nii����unameuunexpected-end-taguinTableText(RjR9RgR@RbRRCRhR[RVR=RCR�R�RuR8R`RkRp(R>R}t	nodeIndexR�R((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRp�	s(!	
(	R4R5RlReRBRdRmRoRp((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRbo	s	)	tAfterBodyPhasec`sVeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(c`sq�j|||�tjd|jfg�|_|j|j_tjd|jfg�|_|j	|j_dS(Nuhtml(
RBR
R�R�R�R�R�R�R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�	scS`sdS(N((R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�	scS`s!|jj||jjd�dS(Ni(R9R�Rg(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRq�	scS`s*|jjd�|jjd|j_|S(Nuunexpected-char-after-bodyuinBody(RCRhR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�	scS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��	scS`s8|jjdi|dd6�|jjd|j_|S(Nuunexpected-start-tag-after-bodyunameuinBody(RCRhR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��	scS`s9|jjr|jjd�n|jjd|j_dS(Nu'unexpected-end-tag-after-body-innerhtmluafterAfterBody(RCRKRhR=RV(R>R@((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�
scS`s8|jjdi|dd6�|jjd|j_|S(Nuunexpected-end-tag-after-bodyunameuinBody(RCRhR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�
s(
R4R5RBRtRqRmR�R�R�R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRi�	s						tInFramesetPhasec`s_eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	c`s��j|||�tjd|jfd|jfd|jfd|jfg�|_|j|j_	tjd|j
fg�|_|j|j_	dS(Nuhtmluframesetuframeunoframes(
RBR
R�R�R�t
startTagFrametstartTagNoframesR�R�R�tendTagFramesetR�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB
scS`sB|jjdjdkr,|jjd�n|jjs>t�dS(Ni����uhtmlueof-in-frameset(R9RgR@RCRhRKRu(R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt#
scS`s|jjd�dS(Nuunexpected-char-in-frameset(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm)
scS`s|jj|�dS(N(R9R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�,
scS`s$|jj|�|jjj�dS(N(R9R�RgR�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRk/
scS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRl3
scS`s"|jjdi|dd6�dS(Nu unexpected-start-tag-in-framesetuname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�6
scS`s|jjdjdkr,|jjd�n|jjj�|jjr{|jjdjdkr{|jjd|j_ndS(Ni����uhtmlu)unexpected-frameset-in-frameset-innerhtmluframesetu
afterFrameset(	R9RgR@RCRhR�RKR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm:
s
cS`s"|jjdi|dd6�dS(Nuunexpected-end-tag-in-framesetuname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�F
s(R4R5RBRtRmR�RkRlR�RmR�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRj
s							tAfterFramesetPhasec`sMeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(c`s}�j|||�tjd|jfd|jfg�|_|j|j_tjd|jfg�|_	|j
|j	_dS(Nuhtmlunoframes(RBR
R�R�RlR�R�R�R�R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRBL
scS`sdS(N((R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRtZ
scS`s|jjd�dS(Nuunexpected-char-after-frameset(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm^
scS`s|jjdj|�S(NuinHead(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRla
scS`s"|jjdi|dd6�dS(Nu#unexpected-start-tag-after-framesetuname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�d
scS`s|jjd|j_dS(NuafterAfterFrameset(RCR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�h
scS`s"|jjdi|dd6�dS(Nu!unexpected-end-tag-after-framesetuname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR�k
s(	R4R5RBRtRmRlR�R�R�((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRnJ
s					tAfterAfterBodyPhasec`sVeZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(c`sD�j|||�tjd|jfg�|_|j|j_dS(Nuhtml(RBR
R�R�R�R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRBp
scS`sdS(N((R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRtx
scS`s|jj||jj�dS(N(R9R�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRq{
scS`s|jjdj|�S(NuinBody(RCR=Rn(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRn~
scS`s*|jjd�|jjd|j_|S(Nuexpected-eof-but-got-charuinBody(RCRhR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�
scS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��
scS`s8|jjdi|dd6�|jjd|j_|S(Nuexpected-eof-but-got-start-tagunameuinBody(RCRhR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��
scS`s8|jjdi|dd6�|jjd|j_|S(Nuexpected-eof-but-got-end-tagunameuinBody(RCRhR=RV(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRp�
s(
R4R5RBRtRqRnRmR�R�Rp((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRoo
s						tAfterAfterFramesetPhasec`s_eZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	c`sP�j|||�tjd|jfd|jfg�|_|j|j_dS(Nuhtmlunoframes(RBR
R�R�tstartTagNoFramesR�R�R�(R>RCR9(R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRB�
s
cS`sdS(N((R>((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRt�
scS`s|jj||jj�dS(N(R9R�R�(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRq�
scS`s|jjdj|�S(NuinBody(RCR=Rn(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRn�
scS`s|jjd�dS(Nuexpected-eof-but-got-char(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRm�
scS`s|jjdj|�S(NuinBody(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��
scS`s|jjdj|�S(NuinHead(RCR=Ro(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRq�
scS`s"|jjdi|dd6�dS(Nuexpected-eof-but-got-start-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��
scS`s"|jjdi|dd6�dS(Nuexpected-eof-but-got-end-taguname(RCRh(R>R}((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRp�
s(R4R5RBRtRqRnRmR�RqR�Rp((R�(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyRp�
s								uinitialu
beforeHtmlu
beforeHeaduinHeaduinHeadNoscriptu	afterHeaduinBodyutextuinTableuinTableTextu	inCaptionu
inColumnGroupuinTableBodyuinRowuinCelluinSelectuinSelectInTableuinForeignContentu	afterBodyu
inFramesetu
afterFramesetuafterAfterBodyuafterAfterFrameset(R(R?ROR�R�R�R�R�R�R�R�R3R5R@RDRIRMRSRWR[RaRbRiRjRnRoRp((R�s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR<�sh		%)�#.g@C���!�-GBbYLd's/9%&%c`sQt|d�t��@}|rMt�fd�|dj�D��|d<ndS(Nudatac3`s-|]#\}}�j||�|fVqdS(N(Ri(R�tktv(Rc(s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pys	<genexpr>�
s(RRR'(R}Rctneeds_adjustment((Rcs</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��
suEndTagcC`s9|dkri}nit|d6|d6|d6|d6S(NutypeunameudatauselfClosing(R8R(R@R+RaR((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��
s	R�cB`seZdZRS(uError in parsed document(R4R5R�(((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyR��
s(1t
__future__RRRtsixRRR)tcollectionsRtRRRttreebuilders.baseR	R
t	constantsRRR
RRRRRRRRRR�RRRRR[RR%R6tobjectRtmemoizeR<R�R8RMR�t	ExceptionR�(((s</mingw64/lib/python2.7/site-packages/html5lib/html5parser.pyt<module>s8j
	�F���������C