1 line
32 KiB
JavaScript
1 line
32 KiB
JavaScript
(self.webpackChunk=self.webpackChunk||[]).push([[55441],{18654:function(e,t,n){var r=n(63314).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$");function u(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,u)}function c(){}function s(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function l(e,t,n,i,o,a){function u(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t,r)}for(var c,s=++t,l=0;;){var f=e.charAt(s);switch(f){case"=":if(1===l)c=e.slice(t,s),l=3;else{if(2!==l)throw new Error("attribute equal must after attrName");l=3}break;case"'":case'"':if(3===l||1===l){if(1===l&&(a.warning('attribute value must after "="'),c=e.slice(t,s)),t=s+1,!((s=e.indexOf(f,t))>0))throw new Error("attribute value no end '"+f+"' match");u(c,p=e.slice(t,s).replace(/&#?\w+;/g,o),t-1),l=5}else{if(4!=l)throw new Error('attribute value must after "="');u(c,p=e.slice(t,s).replace(/&#?\w+;/g,o),t),a.warning('attribute "'+c+'" missed start quot('+f+")!!"),t=s+1,l=5}break;case"/":switch(l){case 0:n.setTagName(e.slice(t,s));case 5:case 6:case 7:l=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==l&&n.setTagName(e.slice(t,s)),s;case">":switch(l){case 0:n.setTagName(e.slice(t,s));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=e.slice(t,s)).slice(-1)&&(n.closed=!0,p=p.slice(0,-1));case 2:2===l&&(p=c),4==l?(a.warning('attribute "'+p+'" missed quot(")!'),u(c,p.replace(/&#?\w+;/g,o),t)):(r.isHTML(i[""])&&p.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),u(p,p,t));break;case 3:throw new Error("attribute value missed!!")}return s;case"":f=" ";default:if(f<=" ")switch(l){case 0:n.setTagName(e.slice(t,s)),l=6;break;case 1:c=e.slice(t,s),l=2;break;case 4:var p=e.slice(t,s).replace(/&#?\w+;/g,o);a.warning('attribute "'+p+'" missed quot(")!!'),u(c,p,t);case 5:l=6}else switch(l){case 2:n.tagName,r.isHTML(i[""])&&c.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+c+'" missed value!! "'+c+'" instead2!!'),u(c,c,t),t=s,l=1;break;case 5:a.warning('attribute space is required"'+c+'"!!');case 6:l=1,t=s;break;case 3:l=4,t=s;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}s++}}function f(e,t,n){for(var i=e.tagName,o=null,a=e.length;a--;){var u=e[a],c=u.qName,s=u.value;if((d=c.indexOf(":"))>0)var l=u.prefix=c.slice(0,d),f=c.slice(d+1),p="xmlns"===l&&f;else f=c,l=null,p="xmlns"===c&&"";u.localName=f,!1!==p&&(null==o&&(o={},h(n,n={})),n[p]=o[p]=s,u.uri=r.XMLNS,t.startPrefixMapping(p,s))}for(a=e.length;a--;)(l=(u=e[a]).prefix)&&("xml"===l&&(u.uri=r.XML),"xmlns"!==l&&(u.uri=n[l||""]));var d;(d=i.indexOf(":"))>0?(l=e.prefix=i.slice(0,d),f=e.localName=i.slice(d+1)):(l=null,f=e.localName=i);var m=e.uri=n[l||""];if(t.startElement(m,f,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(m,f,i),o)for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&t.endPrefixMapping(l)}function p(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=e.indexOf("</"+n+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(n)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,r),i.characters(a,0,a.length),o)}return t+1}function d(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf("</"+n+">"))<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}function h(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function m(e,t,n,r){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,i-t-4),i+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var o=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var u=o[1][0],c=!1,s=!1;a>3&&(/^public$/i.test(o[2][0])?(c=o[3][0],s=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(s=o[3][0]));var l=o[a-1];return n.startDTD(u,c,s),n.endDTD(),l.index+l[0].length}return-1}function N(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return i?(i[0].length,n.processingInstruction(i[1],i[2]),r+2):-1}return-1}function g(){this.attributeNames={}}u.prototype=new Error,u.prototype.name=u.name,c.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),h(t,t={}),function(e,t,n,i,o){function a(e){var t=e.slice(1,-1);return t in n?n[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function c(t){if(t>D){var n=e.substring(D,t).replace(/&#?\w+;/g,a);b&&h(D),i.characters(n,0,t-D),D=t}}function h(t,n){for(;t>=E&&(n=w.exec(e));)v=n.index,E=v+n[0].length,b.lineNumber++;b.columnNumber=t-v+1}for(var v=0,E=0,w=/.*(?:\r\n?|\n)|.*$/g,b=i.locator,y=[{currentNSMap:t}],T={},D=0;;){try{var x=e.indexOf("<",D);if(x<0){if(!e.substr(D).match(/^\s*$/)){var O=i.doc,S=O.createTextNode(e.substr(D));O.appendChild(S),i.currentElement=S}return}switch(x>D&&c(x),e.charAt(x+1)){case"/":var C=e.indexOf(">",x+3),I=e.substring(x+2,C).replace(/[ \t\n\r]+$/g,""),A=y.pop();C<0?(I=e.substring(x+2).replace(/[\s<].*/,""),o.error("end tag name: "+I+" is not complete:"+A.tagName),C=x+1+I.length):I.match(/\s</)&&(I=I.replace(/[\s<].*/,""),o.error("end tag name: "+I+" maybe not complete"),C=x+1+I.length);var _=A.localNSMap,M=A.tagName==I;if(M||A.tagName&&A.tagName.toLowerCase()==I.toLowerCase()){if(i.endElement(A.uri,A.localName,I),_)for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&i.endPrefixMapping(R);M||o.fatalError("end tag name: "+I+" is not match the current start tagName:"+A.tagName)}else y.push(A);C++;break;case"?":b&&h(x),C=N(e,x,i);break;case"!":b&&h(x),C=m(e,x,i,o);break;default:b&&h(x);var L=new g,P=y[y.length-1].currentNSMap,U=(C=l(e,x,L,P,a,o),L.length);if(!L.closed&&d(e,C,L.tagName,T)&&(L.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),b&&U){for(var k=s(b,{}),F=0;F<U;F++){var X=L[F];h(X.offset),X.locator=s(b,{})}i.locator=k,f(L,i,P)&&y.push(L),i.locator=b}else f(L,i,P)&&y.push(L);r.isHTML(L.uri)&&!L.closed?C=p(e,C,L.tagName,a,i):C++}}catch(e){if(e instanceof u)throw e;o.error("element parse error: "+e),C=-1}C>D?D=C:c(Math.max(x,D)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},g.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=c,t.ParseError=u},32854:function(e,t,n){var r=n(76278);r.DOMImplementation,r.XMLSerializer,t.DOMParser=n(76404).DOMParser},63314:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var r=n({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}},t.freeze=n,t.MIME_TYPE=r,t.NAMESPACE=i},70251:function(e,t,n){var r=n(63314).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},76278:function(e,t,n){var r=n(63314),i=r.find,o=r.NAMESPACE;function a(e){return""!==e}function u(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function c(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(a):[]}(e);return Object.keys(t.reduce(u,{}))}function s(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function l(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,s(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var f={},p=f.ELEMENT_NODE=1,d=f.ATTRIBUTE_NODE=2,h=f.TEXT_NODE=3,m=f.CDATA_SECTION_NODE=4,N=f.ENTITY_REFERENCE_NODE=5,g=f.ENTITY_NODE=6,v=f.PROCESSING_INSTRUCTION_NODE=7,E=f.COMMENT_NODE=8,w=f.DOCUMENT_NODE=9,b=f.DOCUMENT_TYPE_NODE=10,y=f.DOCUMENT_FRAGMENT_NODE=11,T=f.NOTATION_NODE=12,D={},x={},O=(D.INDEX_SIZE_ERR=(x[1]="Index size error",1),D.DOMSTRING_SIZE_ERR=(x[2]="DOMString size error",2),D.HIERARCHY_REQUEST_ERR=(x[3]="Hierarchy request error",3)),S=(D.WRONG_DOCUMENT_ERR=(x[4]="Wrong document",4),D.INVALID_CHARACTER_ERR=(x[5]="Invalid character",5),D.NO_DATA_ALLOWED_ERR=(x[6]="No data allowed",6),D.NO_MODIFICATION_ALLOWED_ERR=(x[7]="No modification allowed",7),D.NOT_FOUND_ERR=(x[8]="Not found",8)),C=(D.NOT_SUPPORTED_ERR=(x[9]="Not supported",9),D.INUSE_ATTRIBUTE_ERR=(x[10]="Attribute in use",10));function I(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,x[e]),this.message=x[e],Error.captureStackTrace&&Error.captureStackTrace(this,I);return n.code=e,t&&(this.message=this.message+": "+t),n}function A(){}function _(e,t){this._node=e,this._refresh=t,M(this)}function M(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);ve(e,"length",n.length),s(n,e),e._inc=t}}function R(){}function L(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function P(e,t,n,r){if(r?t[L(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&B(i,e,r),function(e,t,n){e&&e._inc++,n.namespaceURI===o.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(i,e,n))}}function U(e,t,n){var r=L(t,n);if(!(r>=0))throw new I(S,new Error(e.tagName+"@"+n));for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,e){var o=e.ownerDocument;o&&(B(o,e,n),n.ownerElement=null)}}function k(){}function F(){}function X(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function H(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(H(e,t))return!0}while(e=e.nextSibling)}function q(){this.ownerDocument=this}function B(e,t,n,r){e&&e._inc++,n.namespaceURI===o.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function j(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function V(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,j(e.ownerDocument,e),t}function z(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function $(e){return e&&e.nodeType===F.ELEMENT_NODE}function G(e){return e&&e.nodeType===F.TEXT_NODE}function Y(e,t){var n=e.childNodes||[];if(i(n,$)||z(t))return!1;var r=i(n,z);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function W(e,t){var n=e.childNodes||[];if(i(n,(function(e){return $(e)&&e!==t})))return!1;var r=i(n,z);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function Z(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter($);if(a.length>1||i(o,G))throw new I(O,"More than one element or text in fragment");if(1===a.length&&!Y(e,n))throw new I(O,"Element in fragment can not be inserted before doctype")}if($(t)&&!Y(e,n))throw new I(O,"Only one element can be added and only after doctype");if(z(t)){if(i(r,z))throw new I(O,"Only one doctype is allowed");var u=i(r,$);if(n&&r.indexOf(u)<r.indexOf(n))throw new I(O,"Doctype can only be inserted before an element");if(!n&&u)throw new I(O,"Doctype can not be appended since element is present")}}function Q(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var a=o.filter($);if(a.length>1||i(o,G))throw new I(O,"More than one element or text in fragment");if(1===a.length&&!W(e,n))throw new I(O,"Element in fragment can not be inserted before doctype")}if($(t)&&!W(e,n))throw new I(O,"Only one element can be added and only after doctype");if(z(t)){if(i(r,(function(e){return z(e)&&e!==n})))throw new I(O,"Only one doctype is allowed");var u=i(r,$);if(n&&r.indexOf(u)<r.indexOf(n))throw new I(O,"Doctype can only be inserted before an element")}}function K(e,t,n,r){(function(e,t,n){if(!function(e){return e&&(e.nodeType===F.DOCUMENT_NODE||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.ELEMENT_NODE)}(e))throw new I(O,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new I(S,"child not in parent");if(!function(e){return e&&($(e)||G(e)||z(e)||e.nodeType===F.DOCUMENT_FRAGMENT_NODE||e.nodeType===F.COMMENT_NODE||e.nodeType===F.PROCESSING_INSTRUCTION_NODE)}(t)||z(t)&&e.nodeType!==F.DOCUMENT_NODE)throw new I(O,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)})(e,t,n),e.nodeType===F.DOCUMENT_NODE&&(r||Z)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===y){var o=t.firstChild;if(null==o)return t;var a=t.lastChild}else o=a=t;var u=n?n.previousSibling:e.lastChild;o.previousSibling=u,a.nextSibling=n,u?u.nextSibling=o:e.firstChild=o,null==n?e.lastChild=a:n.previousSibling=a;do{o.parentNode=e}while(o!==a&&(o=o.nextSibling));return j(e.ownerDocument||e,e),t.nodeType==y&&(t.firstChild=t.lastChild=null),t}function J(){this._nsMap={}}function ee(){}function te(){}function ne(){}function re(){}function ie(){}function oe(){}function ae(){}function ue(){}function ce(){}function se(){}function le(){}function fe(){}function pe(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,i=r.prefix,o=r.namespaceURI;if(o&&null==i&&null==(i=r.lookupPrefix(o)))var a=[{namespace:o,prefix:null}];return me(this,n,e,t,a),n.join("")}function de(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i)return!1;if("xml"===r&&i===o.XML||i===o.XMLNS)return!1;for(var a=n.length;a--;){var u=n[a];if(u.prefix===r)return u.namespace!==i}return!0}function he(e,t,n){e.push(" ",t,'="',n.replace(/[<&"]/g,X),'"')}function me(e,t,n,r,i){if(i||(i=[]),r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case p:var a=e.attributes,u=a.length,c=e.firstChild,s=e.tagName,l=s;if(!(n=o.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var f,g=0;g<a.length;g++)if("xmlns"===a.item(g).name){f=a.item(g).value;break}if(!f)for(var T=i.length-1;T>=0;T--)if(""===(D=i[T]).prefix&&D.namespace===e.namespaceURI){f=D.namespace;break}if(f!==e.namespaceURI)for(T=i.length-1;T>=0;T--){var D;if((D=i[T]).namespace===e.namespaceURI){D.prefix&&(l=D.prefix+":"+s);break}}}t.push("<",l);for(var x=0;x<u;x++)"xmlns"==(O=a.item(x)).prefix?i.push({prefix:O.localName,namespace:O.value}):"xmlns"==O.nodeName&&i.push({prefix:"",namespace:O.value});for(x=0;x<u;x++){var O,S,C;de(O=a.item(x),0,i)&&(he(t,(S=O.prefix||"")?"xmlns:"+S:"xmlns",C=O.namespaceURI),i.push({prefix:S,namespace:C})),me(O,t,n,r,i)}if(s===l&&de(e,0,i)&&(he(t,(S=e.prefix||"")?"xmlns:"+S:"xmlns",C=e.namespaceURI),i.push({prefix:S,namespace:C})),c||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(s)){if(t.push(">"),n&&/^script$/i.test(s))for(;c;)c.data?t.push(c.data):me(c,t,n,r,i.slice()),c=c.nextSibling;else for(;c;)me(c,t,n,r,i.slice()),c=c.nextSibling;t.push("</",l,">")}else t.push("/>");return;case w:case y:for(c=e.firstChild;c;)me(c,t,n,r,i.slice()),c=c.nextSibling;return;case d:return he(t,e.name,e.value);case h:return t.push(e.data.replace(/[<&]/g,X).replace(/]]>/g,"]]>"));case m:return t.push("<![CDATA[",e.data,"]]>");case E:return t.push("\x3c!--",e.data,"--\x3e");case b:var I=e.publicId,A=e.systemId;if(t.push("<!DOCTYPE ",e.name),I)t.push(" PUBLIC ",I),A&&"."!=A&&t.push(" ",A),t.push(">");else if(A&&"."!=A)t.push(" SYSTEM ",A,">");else{var _=e.internalSubset;_&&t.push(" [",_,"]"),t.push(">")}return;case v:return t.push("<?",e.target," ",e.data,"?>");case N:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function Ne(e,t,n){var r;switch(t.nodeType){case p:(r=t.cloneNode(!1)).ownerDocument=e;case y:break;case d:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var i=t.firstChild;i;)r.appendChild(Ne(e,i,n)),i=i.nextSibling;return r}function ge(e,t,n){var r=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var o=t[i];"object"!=typeof o&&o!=r[i]&&(r[i]=o)}switch(t.childNodes&&(r.childNodes=new A),r.ownerDocument=e,r.nodeType){case p:var a=t.attributes,u=r.attributes=new R,c=a.length;u._ownerElement=r;for(var s=0;s<c;s++)r.setAttributeNode(ge(e,a.item(s),!0));break;case d:n=!0}if(n)for(var l=t.firstChild;l;)r.appendChild(ge(e,l,n)),l=l.nextSibling;return r}function ve(e,t,n){e[t]=n}D.INVALID_STATE_ERR=(x[11]="Invalid state",11),D.SYNTAX_ERR=(x[12]="Syntax error",12),D.INVALID_MODIFICATION_ERR=(x[13]="Invalid modification",13),D.NAMESPACE_ERR=(x[14]="Invalid namespace",14),D.INVALID_ACCESS_ERR=(x[15]="Invalid access",15),I.prototype=Error.prototype,s(D,I),A.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)me(this[r],n,e,t);return n.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},_.prototype.item=function(e){return M(this),this[e]},l(_,A),R.prototype={length:0,item:A.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new I(C);var n=this.getNamedItem(e.nodeName);return P(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new I(C);return t=this.getNamedItemNS(e.namespaceURI,e.localName),P(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return U(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return U(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},k.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new q;if(r.implementation=this,r.childNodes=new A,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new oe;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},F.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return K(this,e,t)},replaceChild:function(e,t){K(this,e,t,Q),t&&this.removeChild(t)},removeChild:function(e){return V(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ge(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==h&&e.nodeType==h?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r;t=t.nodeType==d?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&e in n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==d?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},s(f,F),s(f,F.prototype),q.prototype={nodeName:"#document",nodeType:w,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==y){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return K(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===p&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),V(this,e)},replaceChild:function(e,t){K(this,e,t,Q),e.ownerDocument=this,t&&this.removeChild(t),$(e)&&(this.documentElement=e)},importNode:function(e,t){return Ne(this,e,t)},getElementById:function(e){var t=null;return H(this.documentElement,(function(n){if(n.nodeType==p&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=c(e);return new _(this,(function(n){var r=[];return t.length>0&&H(n.documentElement,(function(i){if(i!==n&&i.nodeType===p){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var u=c(o);a=t.every((s=u,function(e){return s&&-1!==s.indexOf(e)}))}a&&r.push(i)}}var s})),r}))},createElement:function(e){var t=new J;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new A,(t.attributes=new R)._ownerElement=t,t},createDocumentFragment:function(){var e=new se;return e.ownerDocument=this,e.childNodes=new A,e},createTextNode:function(e){var t=new ne;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new ie;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new le;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new ee;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new ce;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new J,r=t.split(":"),i=n.attributes=new R;return n.childNodes=new A,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new ee,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},l(q,F),J.prototype={nodeType:p,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===y?this.insertBefore(e,null):function(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,j(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new _(this,(function(t){var n=[];return H(t,(function(r){r===t||r.nodeType!=p||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new _(this,(function(n){var r=[];return H(n,(function(i){i===n||i.nodeType!==p||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},q.prototype.getElementsByTagName=J.prototype.getElementsByTagName,q.prototype.getElementsByTagNameNS=J.prototype.getElementsByTagNameNS,l(J,F),ee.prototype.nodeType=d,l(ee,F),te.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(x[O])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},l(te,F),ne.prototype={nodeName:"#text",nodeType:h,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},l(ne,te),re.prototype={nodeName:"#comment",nodeType:E},l(re,te),ie.prototype={nodeName:"#cdata-section",nodeType:m},l(ie,te),oe.prototype.nodeType=b,l(oe,F),ae.prototype.nodeType=T,l(ae,F),ue.prototype.nodeType=g,l(ue,F),ce.prototype.nodeType=N,l(ce,F),se.prototype.nodeName="#document-fragment",se.prototype.nodeType=y,l(se,F),le.prototype.nodeType=v,l(le,F),fe.prototype.serializeToString=function(e,t,n){return pe.call(e,t,n)},F.prototype.toString=pe;try{if(Object.defineProperty){function Ee(e){switch(e.nodeType){case p:case y:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(Ee(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(_.prototype,"length",{get:function(){return M(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return Ee(this)},set:function(e){switch(this.nodeType){case p:case y:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ve=function(e,t,n){e["$$"+t]=n}}}catch(we){}t.DocumentType=oe,t.DOMException=I,t.DOMImplementation=k,t.Element=J,t.Node=F,t.NodeList=A,t.XMLSerializer=fe},76404:function(e,t,n){var r=n(63314),i=n(76278),o=n(70251),a=n(18654),u=i.DOMImplementation,c=r.NAMESPACE,s=a.ParseError,l=a.XMLReader;function f(e){this.options=e||{locator:{}}}function p(){this.cdata=!1}function d(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function h(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function m(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function N(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}f.prototype.parseFromString=function(e,t){var n=this.options,r=new l,i=n.domBuilder||new p,a=n.errorHandler,u=n.locator,s=n.xmlns||{},f=/\/x?html?$/.test(t),d=f?o.HTML_ENTITIES:o.XML_ENTITIES;return u&&i.setDocumentLocator(u),r.errorHandler=function(e,t,n){if(!e){if(t instanceof p)return t;e=t}var r={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(n){e(t,n)}:e),r[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+h(n))}||function(){}}return n=n||{},o("warning"),o("error"),o("fatalError"),r}(a,i,u),r.domBuilder=n.domBuilder||i,f&&(s[""]=c.HTML),s.xml=s.xml||c.XML,e&&"string"==typeof e?r.parse(e,s,d):r.errorHandler.error("invalid doc source"),i.doc},p.prototype={startDocument:function(){this.doc=(new u).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;N(this,o),this.currentElement=o,this.locator&&d(this.locator,o);for(var u=0;u<a;u++){e=r.getURI(u);var c=r.getValue(u),s=(n=r.getQName(u),i.createAttributeNS(e,n));this.locator&&d(r.getLocator(u),s),s.value=s.nodeValue=c,o.setAttributeNode(s)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&d(this.locator,n),N(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=m.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&d(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=m.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&d(this.locator,r),N(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&d(this.locator,i),N(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,h(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,h(this.locator))},fatalError:function(e){throw new s(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){p.prototype[e]=function(){return null}})),t.DOMParser=f,i.DOMImplementation,i.XMLSerializer}}]); |