Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 ÝPfa7ã@s€ddlmZmZmZddlmZddlZddlmZm Z ddl m Z m Z m Z ddl mZmZmZddlmZmZdd lmZd je ƒd Zejd ed ƒZejd edƒZiZedƒdkZx€eejƒƒD]p\Z Z!eräee!ƒdksÌe røee!ƒdkrøqÌe!dkrÌee!ƒdk�rej"e!ƒZ!ne#e!ƒZ!e!ek�s4e j$ƒrÌe ee!<qÌWdd„Z%ede%ƒddd„Z&Gdd„de'ƒZ(Gdd„de)ƒZ*dS)é)Úabsolute_importÚdivisionÚunicode_literals)Ú text_typeN)Úregister_errorÚxmlcharrefreplace_errorsé)Ú voidElementsÚbooleanAttributesÚspaceCharacters)ÚrcdataElementsÚentitiesÚ xmlEntities)Ú treewalkersÚ_utils)ÚescapeÚz"'=<>`ú[ú]u_  /`  ᠎á � â€�         

 â�Ÿã€€]uô�¿¿éú&c Cs"t|ttfƒ�rg}g}d}xˆt|j|j|j…ƒD]n\}}|rFd}q4||j}tj|j|t |j|dgƒ…ƒr�tj |j||d…ƒ}d}nt |ƒ}|j |ƒq4Wx^|D]V}t j|ƒ} | rè|j dƒ|j | ƒ| jdƒsæ|j dƒq¬|j dt|ƒdd…ƒq¬Wdj|ƒ|jfSt|ƒSdS)NFrTrú;z&#x%s;r)Ú isinstanceÚUnicodeEncodeErrorÚUnicodeTranslateErrorÚ enumerateÚobjectÚstartÚendrZisSurrogatePairÚminÚsurrogatePairToCodepointÚordÚappendÚ_encode_entity_mapÚgetÚendswithÚhexÚjoinr) ÚexcÚresZ codepointsÚskipÚiÚcÚindexZ codepointZcpÚe©r/ú /usr/lib/python3.6/serializer.pyÚhtmlentityreplace_errors*s0  "      r1ÚhtmlentityreplaceÚetreecKs$tj|ƒ}tf|Ž}|j||ƒ|ƒS)N)rZ getTreeWalkerÚHTMLSerializerÚrender)ÚinputZtreeÚencodingZserializer_optsZwalkerÚsr/r/r0Ú serializeJs  r9c@s~eZdZdZdZdZdZdZdZdZ dZ dZ dZ dZ dZdZdZd!Zdd„Zdd„Zdd„Zd"dd„Zd#dd„Zd$dd „ZdS)%r4Úlegacyú"TFÚquote_attr_valuesÚ quote_charÚuse_best_quote_charÚomit_optional_tagsÚminimize_boolean_attributesÚuse_trailing_solidusÚspace_before_trailing_solidusÚescape_lt_in_attrsÚ escape_rcdataÚresolve_entitiesÚalphabetical_attributesÚinject_meta_charsetÚstrip_whitespaceÚsanitizec Kszt|ƒt|jƒ}t|ƒdkr2tdtt|ƒƒƒ‚d|kr@d|_x(|jD]}t|||j|t ||ƒƒƒqHWg|_ d|_ dS)a6 Initialize HTMLSerializer. Keyword options (default given first unless specified) include: inject_meta_charset=True|False Whether it insert a meta element to define the character set of the document. quote_attr_values="legacy"|"spec"|"always" Whether to quote attribute values that don't require quoting per legacy browser behaviour, when required by the standard, or always. quote_char=u'"'|u"'" Use given quote character for attribute quoting. Default is to use double quote unless attribute value contains a double quote, in which case single quotes are used instead. escape_lt_in_attrs=False|True Whether to escape < in attribute values. escape_rcdata=False|True Whether to escape characters that need to be escaped within normal elements within rcdata elements such as style. resolve_entities=True|False Whether to resolve named character entities that appear in the source tree. The XML predefined entities < > & " ' are unaffected by this setting. strip_whitespace=False|True Whether to remove semantically meaningless whitespace. (This compresses all whitespace to a single space except within pre.) minimize_boolean_attributes=True|False Shortens boolean attributes to give just the attribute value, for example becomes . use_trailing_solidus=False|True Includes a close-tag slash at the end of the start tag of void elements (empty elements whose end tag is forbidden). E.g.
. space_before_trailing_solidus=True|False Places a space immediately before the closing slash in a tag using a trailing solidus. E.g.
. Requires use_trailing_solidus. sanitize=False|True Strip all unsafe or unknown constructs from output. See `html5lib user documentation`_ omit_optional_tags=True|False Omit start/end tags that are optional. alphabetical_attributes=False|True Reorder attributes to be in alphabetical order. .. _html5lib user documentation: http://code.google.com/p/html5lib/wiki/UserDocumentation rz2__init__() got an unexpected keyword argument '%s'r=FN) Ú frozensetÚoptionsÚlenÚ TypeErrorÚnextÚiterr>Úsetattrr$ÚgetattrÚerrorsÚstrict)ÚselfÚkwargsZunexpected_argsÚattrr/r/r0Ú__init__ps.  zHTMLSerializer.__init__cCs|jr|j|jdƒS|SdS)Nr2)r7Úencode)rTÚstringr/r/r0rX¨szHTMLSerializer.encodecCs|jr|j|jdƒS|SdS)NrS)r7rX)rTrYr/r/r0Ú encodeStrict¯szHTMLSerializer.encodeStrictNccsò||_d}g|_|r0|jr0ddlm}|||ƒ}|jrJddlm}||ƒ}|jrdddlm}||ƒ}|j r~ddl m}||ƒ}|j r˜ddl m}||ƒ}�xR|D�]H}|d}|dk�r`d|d}|drÞ|d |d7}n|d rî|d 7}|d �rJ|d j d ƒd k�r0|d j dƒd k�r*|jdƒd}nd }|d||d |f7}|d7}|j|ƒVq |d5k�rÆ|dk�sz|�r°|�rž|dj dƒd k�rž|jdƒ|j|dƒVn|jt|dƒƒVq |d6k�rò|d} |jd| ƒV| tk�r|j �rd}n|�r|jdƒ�xš|djƒD�]ˆ\\} } } | } | }|jdƒV|j| ƒV|j �s‚| tj| tƒƒk�r"| tjdtƒƒk�r"|jdƒV|jdk�s¨t|ƒd k�r®d}n@|jd k�rÊtj|ƒdk }n$|jd!k�rætj|ƒdk }ntd"ƒ‚|jd#d$ƒ}|j �r|jd%d&ƒ}|�rž|j!}|j"�rTd|k�rÚ CharactersÚSpaceCharactersÚdatazÚCommentz--zComment contains --z ZEntityrzEntity %s not recognizedz&%s;)r`ra)rcrd))r7rRrGZfilters.inject_meta_charsetr[rFZfilters.alphabeticalattributesrHZfilters.whitespacerIZfilters.sanitizerr?Zfilters.optionaltagsÚfindÚserializeErrorrZrXrr rDÚitemsr@r r$Útupler<rLÚ_quoteAttributeSpecÚsearchÚ_quoteAttributeLegacyÚ ValueErrorÚreplacerCr=r>r rArBr rEr)rTÚ treewalkerr7Zin_cdatar[Útokenr\Zdoctyper=r]Ú_Z attr_nameZ attr_valueÚkÚvZ quote_attrrbÚkeyr/r/r0r9¶sØ                                    zHTMLSerializer.serializecCs2|rdjt|j||ƒƒƒSdjt|j|ƒƒƒSdS)Nór)r'Úlistr9)rTrur7r/r/r0r5?szHTMLSerializer.renderúXXX ERROR MESSAGE NEEDEDcCs|jj|ƒ|jrt‚dS)N)rRr"rSÚSerializeError)rTrbr/r/r0rmEs zHTMLSerializer.serializeError)r<r=r>r?r@rArBrCrDrErFrGrHrI)N)N)r})Ú__name__Ú __module__Ú __qualname__r<r=r>r?r@rArBrCrDrErFrGrHrIrKrWrXrZr9r5rmr/r/r/r0r4Qs68  r4c@seZdZdZdS)r~zError in serialized treeN)rr€r�Ú__doc__r/r/r/r0r~Lsr~)r3N)+Z __future__rrrZpip._vendor.sixrÚreÚcodecsrrZ constantsr r r r r rrrrZxml.sax.saxutilsrr'Z_quoteAttributeSpecCharsÚcompilerprrr#rLZ_is_ucs4r|rnrxryr r!Úislowerr1r9rr4Ú Exceptionr~r/r/r/r0Ús:         |