diff --git a/public/CSS/style.css b/public/CSS/style.css new file mode 100644 index 0000000..2f700d1 --- /dev/null +++ b/public/CSS/style.css @@ -0,0 +1,35 @@ +body +{ +background-color:#DCEEA9; +} +#trainerForm +{ +width :90%; +line-height:2em; +} +#frame, #results +{ +width:45%; +margin:2em; +} +#frame +{ +float:left; +} +#results +{ +float:right; +} +#display +{ +padding:0.5em; +width:100%; +} +#results li +{ +margin : 2em 0; +} +.error +{ +color:red; +} \ No newline at end of file diff --git a/public/JS/xpathTrainer.app.js b/public/JS/xpathTrainer.app.js index 6707a37..8a06678 100644 --- a/public/JS/xpathTrainer.app.js +++ b/public/JS/xpathTrainer.app.js @@ -1 +1 @@ -(()=>{var e={167:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var n=r({HTML:"text/html",isHTML:function(e){return e===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),o=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===o.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.find=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n{var n=r(167),o=r(146),i=r(45),s=r(925),a=o.DOMImplementation,u=n.NAMESPACE,c=s.ParseError,l=s.XMLReader;function p(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function h(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function d(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function N(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}h.prototype.parseFromString=function(e,t){var r=this.options,n=new l,o=r.domBuilder||new f,s=r.errorHandler,a=r.locator,c=r.xmlns||{},h=/\/x?html?$/.test(t),d=h?i.HTML_ENTITIES:i.XML_ENTITIES;a&&o.setDocumentLocator(a),n.errorHandler=function(e,t,r){if(!e){if(t instanceof f)return t;e=t}var n={},o=e instanceof Function;function i(t){var i=e[t];!i&&o&&(i=2==e.length?function(r){e(t,r)}:e),n[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+m(r))}||function(){}}return r=r||{},i("warning"),i("error"),i("fatalError"),n}(s,o,a),n.domBuilder=r.domBuilder||o,h&&(c[""]=u.HTML),c.xml=c.xml||u.XML;var g=r.normalizeLineEndings||p;return e&&"string"==typeof e?n.parse(g(e),c,d):n.errorHandler.error("invalid doc source"),o.doc},f.prototype={startDocument:function(){this.doc=(new a).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var o=this.doc,i=o.createElementNS(e,r||t),s=n.length;N(this,i),this.currentElement=i,this.locator&&d(this.locator,i);for(var a=0;a{var n=r(167),o=n.find,i=n.NAMESPACE;function s(e){return""!==e}function a(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function u(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(s):[]}(e);return Object.keys(t.reduce(a,{}))}function c(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function l(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,c(r,n=new n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}var p={},h=p.ELEMENT_NODE=1,f=p.ATTRIBUTE_NODE=2,d=p.TEXT_NODE=3,m=p.CDATA_SECTION_NODE=4,g=p.ENTITY_REFERENCE_NODE=5,N=p.ENTITY_NODE=6,b=p.PROCESSING_INSTRUCTION_NODE=7,y=p.COMMENT_NODE=8,E=p.DOCUMENT_NODE=9,v=p.DOCUMENT_TYPE_NODE=10,w=p.DOCUMENT_FRAGMENT_NODE=11,T=p.NOTATION_NODE=12,A={},S={},D=(A.INDEX_SIZE_ERR=(S[1]="Index size error",1),A.DOMSTRING_SIZE_ERR=(S[2]="DOMString size error",2),A.HIERARCHY_REQUEST_ERR=(S[3]="Hierarchy request error",3)),x=(A.WRONG_DOCUMENT_ERR=(S[4]="Wrong document",4),A.INVALID_CHARACTER_ERR=(S[5]="Invalid character",5),A.NO_DATA_ALLOWED_ERR=(S[6]="No data allowed",6),A.NO_MODIFICATION_ALLOWED_ERR=(S[7]="No modification allowed",7),A.NOT_FOUND_ERR=(S[8]="Not found",8)),R=(A.NOT_SUPPORTED_ERR=(S[9]="Not supported",9),A.INUSE_ATTRIBUTE_ERR=(S[10]="Attribute in use",10));function O(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,S[e]),this.message=S[e],Error.captureStackTrace&&Error.captureStackTrace(this,O);return r.code=e,t&&(this.message=this.message+": "+t),r}function L(){}function C(e,t){this._node=e,this._refresh=t,I(this)}function I(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(be(e,"length",r.length),!e.$$length||r.length=0))throw new O(x,new Error(e.tagName+"@"+r));for(var o=t.length-1;n"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function V(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(V(e,t))return!0}while(e=e.nextSibling)}function B(){this.ownerDocument=this}function H(e,t,r,n){e&&e._inc++,r.namespaceURI===i.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function G(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var o=t.firstChild,i=0;o;)n[i++]=o,o=o.nextSibling;n.length=i,delete n[n.length]}}}function j(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,G(e.ownerDocument,e),t}function X(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function Y(e){return e&&e.nodeType===F.ELEMENT_NODE}function W(e){return e&&e.nodeType===F.TEXT_NODE}function Q(e,t){var r=e.childNodes||[];if(o(r,Y)||X(t))return!1;var n=o(r,X);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function J(e,t){var r=e.childNodes||[];if(o(r,(function(e){return Y(e)&&e!==t})))return!1;var n=o(r,X);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function z(e,t,r){var n=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var s=i.filter(Y);if(s.length>1||o(i,W))throw new O(D,"More than one element or text in fragment");if(1===s.length&&!Q(e,r))throw new O(D,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!Q(e,r))throw new O(D,"Only one element can be added and only after doctype");if(X(t)){if(o(n,X))throw new O(D,"Only one doctype is allowed");var a=o(n,Y);if(r&&n.indexOf(a)1||o(i,W))throw new O(D,"More than one element or text in fragment");if(1===s.length&&!J(e,r))throw new O(D,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!J(e,r))throw new O(D,"Only one element can be added and only after doctype");if(X(t)){if(o(n,(function(e){return X(e)&&e!==r})))throw new O(D,"Only one doctype is allowed");var a=o(n,Y);if(r&&n.indexOf(a)=0;T--)if(""===(A=o[T]).prefix&&A.namespace===e.namespaceURI){p=A.namespace;break}if(p!==e.namespaceURI)for(T=o.length-1;T>=0;T--){var A;if((A=o[T]).namespace===e.namespaceURI){A.prefix&&(l=A.prefix+":"+c);break}}}t.push("<",l);for(var S=0;S"),r&&/^script$/i.test(c))for(;u;)u.data?t.push(u.data):me(u,t,r,n,o.slice()),u=u.nextSibling;else for(;u;)me(u,t,r,n,o.slice()),u=u.nextSibling;t.push("")}else t.push("/>");return;case E:case w:for(u=e.firstChild;u;)me(u,t,r,n,o.slice()),u=u.nextSibling;return;case f:return de(t,e.name,e.value);case d:return t.push(e.data.replace(/[<&>]/g,k));case m:return t.push("");case y:return t.push("\x3c!--",e.data,"--\x3e");case v:var O=e.publicId,L=e.systemId;if(t.push("");else if(L&&"."!=L)t.push(" SYSTEM ",L,">");else{var C=e.internalSubset;C&&t.push(" [",C,"]"),t.push(">")}return;case b:return t.push("");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ge(e,t,r){var n;switch(t.nodeType){case h:(n=t.cloneNode(!1)).ownerDocument=e;case w:break;case f:r=!0}if(n||(n=t.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,r)for(var o=t.firstChild;o;)n.appendChild(ge(e,o,r)),o=o.nextSibling;return n}function Ne(e,t,r){var n=new t.constructor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=t[o];"object"!=typeof i&&i!=n[o]&&(n[o]=i)}switch(t.childNodes&&(n.childNodes=new L),n.ownerDocument=e,n.nodeType){case h:var s=t.attributes,a=n.attributes=new q,u=s.length;a._ownerElement=n;for(var c=0;c=0&&e0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},c(p,F),c(p,F.prototype),B.prototype={nodeName:"#document",nodeType:E,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==w){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return Z(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===h&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),j(this,e)},replaceChild:function(e,t){Z(this,e,t,$),e.ownerDocument=this,t&&this.removeChild(t),Y(e)&&(this.documentElement=e)},importNode:function(e,t){return ge(this,e,t)},getElementById:function(e){var t=null;return V(this.documentElement,(function(r){if(r.nodeType==h&&r.getAttribute("id")==e)return t=r,!0})),t},getElementsByClassName:function(e){var t=u(e);return new C(this,(function(r){var n=[];return t.length>0&&V(r.documentElement,(function(o){if(o!==r&&o.nodeType===h){var i=o.getAttribute("class");if(i){var s=e===i;if(!s){var a=u(i);s=t.every((c=a,function(e){return c&&-1!==c.indexOf(e)}))}s&&n.push(o)}}var c})),n}))},createElement:function(e){var t=new K;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new L,(t.attributes=new q)._ownerElement=t,t},createDocumentFragment:function(){var e=new ce;return e.ownerDocument=this,e.childNodes=new L,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ne;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new le;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},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 ue;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new K,n=t.split(":"),o=r.attributes=new q;return r.childNodes=new L,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,o._ownerElement=r,r},createAttributeNS:function(e,t){var r=new ee,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},l(B,F),K.prototype={nodeType:h,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 r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===w?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,G(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 r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new C(this,(function(t){var r=[];return V(t,(function(n){n===t||n.nodeType!=h||"*"!==e&&n.tagName!=e||r.push(n)})),r}))},getElementsByTagNameNS:function(e,t){return new C(this,(function(r){var n=[];return V(r,(function(o){o===r||o.nodeType!==h||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||n.push(o)})),n}))}},B.prototype.getElementsByTagName=K.prototype.getElementsByTagName,B.prototype.getElementsByTagNameNS=K.prototype.getElementsByTagNameNS,l(K,F),ee.prototype.nodeType=f,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(S[D])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length}},l(te,F),re.prototype={nodeName:"#text",nodeType:d,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},l(re,te),ne.prototype={nodeName:"#comment",nodeType:y},l(ne,te),oe.prototype={nodeName:"#cdata-section",nodeType:m},l(oe,te),ie.prototype.nodeType=v,l(ie,F),se.prototype.nodeType=T,l(se,F),ae.prototype.nodeType=N,l(ae,F),ue.prototype.nodeType=g,l(ue,F),ce.prototype.nodeName="#document-fragment",ce.prototype.nodeType=w,l(ce,F),le.prototype.nodeType=b,l(le,F),pe.prototype.serializeToString=function(e,t,r){return he.call(e,t,r)},F.prototype.toString=he;try{if(Object.defineProperty){function ye(e){switch(e.nodeType){case h:case w:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(ye(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(C.prototype,"length",{get:function(){return I(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return ye(this)},set:function(e){switch(this.nodeType){case h:case w: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}}}),be=function(e,t,r){e["$$"+t]=r}}}catch(Ee){}t.DocumentType=ie,t.DOMException=O,t.DOMImplementation=U,t.Element=K,t.Node=F,t.NodeList=L,t.XMLSerializer=pe},45:(e,t,r)=>{"use strict";var n=r(167).freeze;t.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=n({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES},969:(e,t,r)=>{var n=r(146);n.DOMImplementation,n.XMLSerializer,t.DOMParser=r(129).DOMParser},925:(e,t,r)=>{var n=r(167).NAMESPACE,o=/[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]/,i=new RegExp("[\\-\\.0-9"+o.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+o.source+i.source+"*(?::"+o.source+i.source+"*)?$");function a(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,a)}function u(){}function c(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function l(e,t,r,o,i,s){function a(e,t,n){r.attributeNames.hasOwnProperty(e)&&s.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),n)}for(var u,c=++t,l=0;;){var p=e.charAt(c);switch(p){case"=":if(1===l)u=e.slice(t,c),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&&(s.warning('attribute value must after "="'),u=e.slice(t,c)),t=c+1,!((c=e.indexOf(p,t))>0))throw new Error("attribute value no end '"+p+"' match");a(u,h=e.slice(t,c),t-1),l=5}else{if(4!=l)throw new Error('attribute value must after "="');a(u,h=e.slice(t,c),t),s.warning('attribute "'+u+'" missed start quot('+p+")!!"),t=c+1,l=5}break;case"/":switch(l){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:l=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),0==l&&r.setTagName(e.slice(t,c)),c;case">":switch(l){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=e.slice(t,c)).slice(-1)&&(r.closed=!0,h=h.slice(0,-1));case 2:2===l&&(h=u),4==l?(s.warning('attribute "'+h+'" missed quot(")!'),a(u,h,t)):(n.isHTML(o[""])&&h.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),a(h,h,t));break;case 3:throw new Error("attribute value missed!!")}return c;case"€":p=" ";default:if(p<=" ")switch(l){case 0:r.setTagName(e.slice(t,c)),l=6;break;case 1:u=e.slice(t,c),l=2;break;case 4:var h=e.slice(t,c);s.warning('attribute "'+h+'" missed quot(")!!'),a(u,h,t);case 5:l=6}else switch(l){case 2:r.tagName,n.isHTML(o[""])&&u.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),a(u,u,t),t=c,l=1;break;case 5:s.warning('attribute space is required"'+u+'"!!');case 6:l=1,t=c;break;case 3:l=4,t=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function p(e,t,r){for(var o=e.tagName,i=null,s=e.length;s--;){var a=e[s],u=a.qName,c=a.value;if((f=u.indexOf(":"))>0)var l=a.prefix=u.slice(0,f),p=u.slice(f+1),h="xmlns"===l&&p;else p=u,l=null,h="xmlns"===u&&"";a.localName=p,!1!==h&&(null==i&&(i={},d(r,r={})),r[h]=i[h]=c,a.uri=n.XMLNS,t.startPrefixMapping(h,c))}for(s=e.length;s--;)(l=(a=e[s]).prefix)&&("xml"===l&&(a.uri=n.XML),"xmlns"!==l&&(a.uri=r[l||""]));var f;(f=o.indexOf(":"))>0?(l=e.prefix=o.slice(0,f),p=e.localName=o.slice(f+1)):(l=null,p=e.localName=o);var m=e.uri=r[l||""];if(t.startElement(m,p,o,e),!e.closed)return e.currentNSMap=r,e.localNSMap=i,!0;if(t.endElement(m,p,o),i)for(l in i)Object.prototype.hasOwnProperty.call(i,l)&&t.endPrefixMapping(l)}function h(e,t,r,n,o){if(/^(?:script|textarea)$/i.test(r)){var i=e.indexOf("",t),s=e.substring(t+1,i);if(/[&<]/.test(s))return/^script$/i.test(r)?(o.characters(s,0,s.length),i):(s=s.replace(/&#?\w+;/g,n),o.characters(s,0,s.length),i)}return t+1}function f(e,t,r,n){var o=n[r];return null==o&&((o=e.lastIndexOf(""))t?(r.comment(e,t+4,o-t-4),o+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,o-t-9),r.endCDATA(),o+3}var i=function(e,t){var r,n=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(o.lastIndex=t,o.exec(e);r=o.exec(e);)if(n.push(r),r[1])return n}(e,t),s=i.length;if(s>1&&/!doctype/i.test(i[0][0])){var a=i[1][0],u=!1,c=!1;s>3&&(/^public$/i.test(i[2][0])?(u=i[3][0],c=s>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var l=i[s-1];return r.startDTD(a,u,c),r.endDTD(),l.index+l[0].length}return-1}function g(e,t,r){var n=e.indexOf("?>",t);if(n){var o=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return o?(o[0].length,r.processingInstruction(o[1],o[2]),n+2):-1}return-1}function N(){this.attributeNames={}}a.prototype=new Error,a.prototype.name=a.name,u.prototype={parse:function(e,t,r){var o=this.domBuilder;o.startDocument(),d(t,t={}),function(e,t,r,o,i){function s(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(r,t)?r[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function u(t){if(t>A){var r=e.substring(A,t).replace(/&#?\w+;/g,s);v&&d(A),o.characters(r,0,t-A),A=t}}function d(t,r){for(;t>=y&&(r=E.exec(e));)b=r.index,y=b+r[0].length,v.lineNumber++;v.columnNumber=t-b+1}for(var b=0,y=0,E=/.*(?:\r\n?|\n)|.*$/g,v=o.locator,w=[{currentNSMap:t}],T={},A=0;;){try{var S=e.indexOf("<",A);if(S<0){if(!e.substr(A).match(/^\s*$/)){var D=o.doc,x=D.createTextNode(e.substr(A));D.appendChild(x),o.currentElement=x}return}switch(S>A&&u(S),e.charAt(S+1)){case"/":var R=e.indexOf(">",S+3),O=e.substring(S+2,R).replace(/[ \t\n\r]+$/g,""),L=w.pop();R<0?(O=e.substring(S+2).replace(/[\s<].*/,""),i.error("end tag name: "+O+" is not complete:"+L.tagName),R=S+1+O.length):O.match(/\sA?A=R:u(Math.max(S,A)+1)}}(e,t,r,o,this.errorHandler),o.endDocument()}},N.prototype={setTagName:function(e){if(!s.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!s.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},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=u,t.ParseError=a},451:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{u(n.next(e))}catch(e){i(e)}}function a(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]",o=0;o"+r[o].toString()+"";n+="",c.innerHTML=n}})),[2]}))}))},f.readAsText(h[0])}}))}catch(e){c.innerHTML=i.exceptionError,console.error(e)}}()},691:(e,t)=>{!function(e){"use strict";var t=function(e,t){for(var r=0;r0&&this.init(e)}function d(e){arguments.length>0&&this.init(e)}function m(e,t){arguments.length>0&&this.init(e,t)}function g(e,t){arguments.length>0&&this.init(e,t)}function N(e,t){arguments.length>0&&this.init(e,t)}function b(e,t){arguments.length>0&&this.init(e,t)}function y(e,t){arguments.length>0&&this.init(e,t)}function E(e,t){arguments.length>0&&this.init(e,t)}function v(e,t){arguments.length>0&&this.init(e,t)}function w(e,t){arguments.length>0&&this.init(e,t)}function T(e,t){arguments.length>0&&this.init(e,t)}function A(e,t){arguments.length>0&&this.init(e,t)}function S(e,t){arguments.length>0&&this.init(e,t)}function D(e,t){arguments.length>0&&this.init(e,t)}function x(e,t){arguments.length>0&&this.init(e,t)}function R(e,t){arguments.length>0&&this.init(e,t)}function O(e,t){arguments.length>0&&this.init(e,t)}function L(e,t,r){arguments.length>0&&this.init(e,t,r)}function C(e){for(;e&&e.parentNode;)e=e.parentNode;return e}function I(e,t,r){return L.applyPredicates(e.predicates,t,L.applyStep(e,t,r))}function q(e,t,r){return function(e){for(var t=[],r=0;r0&&this.init(e,t)}function P(e,t,r){arguments.length>0&&this.init(e,t,r)}function M(e,t){arguments.length>0&&this.init(e,t)}function U(e){arguments.length>0&&this.init(e)}function F(e,t){arguments.length>0&&this.init(e,t)}c.prototype=new Object,c.prototype.constructor=c,c.superclass=Object.prototype,c.prototype.init=function(){this.reduceActions=[],this.reduceActions[3]=function(e){return new g(e[0],e[2])},this.reduceActions[5]=function(e){return new N(e[0],e[2])},this.reduceActions[7]=function(e){return new b(e[0],e[2])},this.reduceActions[8]=function(e){return new y(e[0],e[2])},this.reduceActions[10]=function(e){return new E(e[0],e[2])},this.reduceActions[11]=function(e){return new v(e[0],e[2])},this.reduceActions[12]=function(e){return new w(e[0],e[2])},this.reduceActions[13]=function(e){return new T(e[0],e[2])},this.reduceActions[15]=function(e){return new A(e[0],e[2])},this.reduceActions[16]=function(e){return new S(e[0],e[2])},this.reduceActions[18]=function(e){return new D(e[0],e[2])},this.reduceActions[19]=function(e){return new x(e[0],e[2])},this.reduceActions[20]=function(e){return new R(e[0],e[2])},this.reduceActions[22]=function(e){return new d(e[1])},this.reduceActions[24]=function(e){return new O(e[0],e[2])},this.reduceActions[25]=function(e){return new L(void 0,void 0,e[0])},this.reduceActions[27]=function(e){return e[0].locationPath=e[2],e[0]},this.reduceActions[28]=function(e){return e[0].locationPath=e[2],e[0].locationPath.steps.unshift(new P(P.DESCENDANTORSELF,M.nodeTest,[])),e[0]},this.reduceActions[29]=function(e){return new L(e[0],[],void 0)},this.reduceActions[30]=function(e){return $.instance_of(e[0],L)?(null==e[0].filterPredicates&&(e[0].filterPredicates=[]),e[0].filterPredicates.push(e[1]),e[0]):new L(e[0],[e[1]],void 0)},this.reduceActions[32]=function(e){return e[1]},this.reduceActions[33]=function(e){return new V(e[0])},this.reduceActions[34]=function(e){return new B(e[0])},this.reduceActions[36]=function(e){return new F(e[0],[])},this.reduceActions[37]=function(e){return new F(e[0],e[2])},this.reduceActions[38]=function(e){return[e[0]]},this.reduceActions[39]=function(e){return e[2].unshift(e[0]),e[2]},this.reduceActions[43]=function(e){return new _(!0,[])},this.reduceActions[44]=function(e){return e[1].absolute=!0,e[1]},this.reduceActions[46]=function(e){return new _(!1,[e[0]])},this.reduceActions[47]=function(e){return e[0].steps.push(e[2]),e[0]},this.reduceActions[49]=function(e){return new P(e[0],e[1],[])},this.reduceActions[50]=function(e){return new P(P.CHILD,e[0],[])},this.reduceActions[51]=function(e){return new P(e[0],e[1],e[2])},this.reduceActions[52]=function(e){return new P(P.CHILD,e[0],e[1])},this.reduceActions[54]=function(e){return[e[0]]},this.reduceActions[55]=function(e){return e[1].unshift(e[0]),e[1]},this.reduceActions[56]=function(e){return"ancestor"==e[0]?P.ANCESTOR:"ancestor-or-self"==e[0]?P.ANCESTORORSELF:"attribute"==e[0]?P.ATTRIBUTE:"child"==e[0]?P.CHILD:"descendant"==e[0]?P.DESCENDANT:"descendant-or-self"==e[0]?P.DESCENDANTORSELF:"following"==e[0]?P.FOLLOWING:"following-sibling"==e[0]?P.FOLLOWINGSIBLING:"namespace"==e[0]?P.NAMESPACE:"parent"==e[0]?P.PARENT:"preceding"==e[0]?P.PRECEDING:"preceding-sibling"==e[0]?P.PRECEDINGSIBLING:"self"==e[0]?P.SELF:-1},this.reduceActions[57]=function(e){return P.ATTRIBUTE},this.reduceActions[59]=function(e){return"comment"==e[0]?M.commentTest:"text"==e[0]?M.textTest:"processing-instruction"==e[0]?M.anyPiTest:"node"==e[0]?M.nodeTest:new M(-1,void 0)},this.reduceActions[60]=function(e){return new M.PITest(e[2])},this.reduceActions[61]=function(e){return e[1]},this.reduceActions[63]=function(e){return e[1].absolute=!0,e[1].steps.unshift(new P(P.DESCENDANTORSELF,M.nodeTest,[])),e[1]},this.reduceActions[64]=function(e){return e[0].steps.push(new P(P.DESCENDANTORSELF,M.nodeTest,[])),e[0].steps.push(e[2]),e[0]},this.reduceActions[65]=function(e){return new P(P.SELF,M.nodeTest,[])},this.reduceActions[66]=function(e){return new P(P.PARENT,M.nodeTest,[])},this.reduceActions[67]=function(e){return new U(e[1])},this.reduceActions[68]=function(e){return M.nameTestAny},this.reduceActions[69]=function(e){return new M.NameTestPrefixAny(e[0].split(":")[0])},this.reduceActions[70]=function(e){return new M.NameTestQName(e[0])}},c.actionTable=[" s s sssssssss s ss s ss"," s ","r rrrrrrrrr rrrrrrr rr r "," rrrrr "," s s sssssssss s ss s ss","rs rrrrrrrr s sssssrrrrrr rrs rs "," s s sssssssss s ss s ss"," s "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s "," s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr r ","a ","r s rr r ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrs rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r srrrrrrrr rrrrrrs rr sr ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r "," sssss ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrr rrrrr rr r "," s "," s "," rrrrr "," s s sssssssss s sss s ss","r srrrrrrrr rrrrrrs rr r "," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss ss s ss"," s s sssssssss s ss s ss"," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr rr "," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," rr "," s "," rs ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrr rr r "," r "," s ","r srrrrrrrr rrrrrrs rr r ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s s sssssssss s ss s ss","r rrrrrrrrr rrrrrrr rr rr "," r "],c.actionTableNumber=[" 1 0 /.-,+*)(' & %$ # \"!"," J ","a aaaaaaaaa aaaaaaa aa a "," YYYYY "," 1 0 /.-,+*)(' & %$ # \"!","K1 KKKKKKKK . +*)('KKKKKK KK# K\" "," 1 0 /.-,+*)(' & %$ # \"!"," N "," O ","e eeeeeeeee eeeeeee ee ee ","f fffffffff fffffff ff ff ","d ddddddddd ddddddd dd dd ","B BBBBBBBBB BBBBBBB BB BB ","A AAAAAAAAA AAAAAAA AA AA "," P "," Q "," 1 . +*)(' # \" ","b bbbbbbbbb bbbbbbb bb b "," ","! S !! ! ",'" T" "" " ',"$ V $$ U $$ $ ","& &ZY&& &XW && & ",") ))))) )))\\[ )) ) ",". ....._^] ..... .. . ","1 11111111 11111 11 1 ","5 55555555 55555` 55 5 ","7 77777777 777777 77 7 ","9 99999999 999999 99 9 ",": c:::::::: ::::::b :: a: ","I fIIIIIIII IIIIIIe II I ","= ========= ======= == == ","? ????????? ??????? ?? ?? ","C CCCCCCCCC CCCCCCC CC CC ","J JJJJJJJJ JJJJJJ JJ J ","M MMMMMMMM MMMMMM MM M ","N NNNNNNNNN NNNNNNN NN N ","P PPPPPPPPP PPPPPPP PP P "," +*)(' ","R RRRRRRRRR RRRRRRR RR aR ","U UUUUUUUUU UUUUUUU UU U ","Z ZZZZZZZZZ ZZZZZZZ ZZ ZZ ","c ccccccccc ccccccc cc cc "," j ","L fLLLLLLLL LLLLLLe LL L ","6 66666666 66666 66 6 "," k "," l "," XXXXX "," 1 0 /.-,+*)(' & %$m # \"!","_ f________ ______e __ _ "," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 . +*)(' # \" "," 1 . +*)(' # \" ","> >>>>>>>>> >>>>>>> >> >> "," 1 . +*)(' # \" "," 1 . +*)(' # \" ","Q QQQQQQQQQ QQQQQQQ QQ aQ ","V VVVVVVVVV VVVVVVV VV aV ","T TTTTTTTTT TTTTTTT TT T ","@ @@@@@@@@@ @@@@@@@ @@ @@ "," ‡ ","[ [[[[[[[[[ [[[[[[[ [[ [[ ","D DDDDDDDDD DDDDDDD DD DD "," HH "," ˆ "," F‰ ","# T# ## # ","% V %% U %% % ","' 'ZY'' 'XW '' ' ","( (ZY(( (XW (( ( ","+ +++++ +++\\[ ++ + ","* ***** ***\\[ ** * ","- ----- ---\\[ -- - ",", ,,,,, ,,,\\[ ,, , ","0 00000_^] 00000 00 0 ","/ /////_^] ///// // / ","2 22222222 22222 22 2 ","3 33333333 33333 33 3 ","4 44444444 44444 44 4 ","8 88888888 888888 88 8 "," ^ "," Š ","; f;;;;;;;; ;;;;;;e ;; ; ","< f<<<<<<<< <<<<<?@ AB CDEFGH IJ "," "," "," ","L456789:;<=>?@ AB CDEFGH IJ "," M EFGH IJ "," N;<=>?@ AB CDEFGH IJ "," "," "," "," "," "," "," "," "," "," S EFGH IJ "," "," "," "," "," "," "," "," "," "," "," "," "," e "," "," "," "," "," "," "," "," "," h J "," i j "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABpqCDEFGH IJ "," "," r6789:;<=>?@ AB CDEFGH IJ "," s789:;<=>?@ AB CDEFGH IJ "," t89:;<=>?@ AB CDEFGH IJ "," u89:;<=>?@ AB CDEFGH IJ "," v9:;<=>?@ AB CDEFGH IJ "," w9:;<=>?@ AB CDEFGH IJ "," x9:;<=>?@ AB CDEFGH IJ "," y9:;<=>?@ AB CDEFGH IJ "," z:;<=>?@ AB CDEFGH IJ "," {:;<=>?@ AB CDEFGH IJ "," |;<=>?@ AB CDEFGH IJ "," };<=>?@ AB CDEFGH IJ "," ~;<=>?@ AB CDEFGH IJ "," =>?@ AB CDEFGH IJ ","€456789:;<=>?@ AB CDEFGH IJ"," ‚ EFGH IJ "," ƒ EFGH IJ "," "," „ GH IJ "," … GH IJ "," i † "," i ‡ "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABŒqCDEFGH IJ "," "," "],c.productions=[[1,1,2],[2,1,3],[3,1,4],[3,3,3,-9,4],[4,1,5],[4,3,4,-8,5],[5,1,6],[5,3,5,-22,6],[5,3,5,-5,6],[6,1,7],[6,3,6,-23,7],[6,3,6,-24,7],[6,3,6,-6,7],[6,3,6,-7,7],[7,1,8],[7,3,7,-25,8],[7,3,7,-26,8],[8,1,9],[8,3,8,-12,9],[8,3,8,-11,9],[8,3,8,-10,9],[9,1,10],[9,2,-26,9],[10,1,11],[10,3,10,-27,11],[11,1,12],[11,1,13],[11,3,13,-28,14],[11,3,13,-4,14],[13,1,15],[13,2,13,16],[15,1,17],[15,3,-29,2,-30],[15,1,-15],[15,1,-16],[15,1,18],[18,3,-13,-29,-30],[18,4,-13,-29,19,-30],[19,1,20],[19,3,20,-31,19],[20,1,2],[12,1,14],[12,1,21],[21,1,-28],[21,2,-28,14],[21,1,22],[14,1,23],[14,3,14,-28,23],[14,1,24],[23,2,25,26],[23,1,26],[23,3,25,26,27],[23,2,26,27],[23,1,28],[27,1,16],[27,2,16,27],[25,2,-14,-3],[25,1,-32],[26,1,29],[26,3,-20,-29,-30],[26,4,-21,-29,-15,-30],[16,3,-33,30,-34],[30,1,2],[22,2,-4,14],[24,3,14,-4,23],[28,1,-35],[28,1,-2],[17,2,-36,-18],[29,1,-17],[29,1,-19],[29,1,-18]],c.DOUBLEDOT=2,c.DOUBLECOLON=3,c.DOUBLESLASH=4,c.NOTEQUAL=5,c.LESSTHANOREQUAL=6,c.GREATERTHANOREQUAL=7,c.AND=8,c.OR=9,c.MOD=10,c.DIV=11,c.MULTIPLYOPERATOR=12,c.FUNCTIONNAME=13,c.AXISNAME=14,c.LITERAL=15,c.NUMBER=16,c.ASTERISKNAMETEST=17,c.QNAME=18,c.NCNAMECOLONASTERISK=19,c.NODETYPE=20,c.PROCESSINGINSTRUCTIONWITHLITERAL=21,c.EQUALS=22,c.LESSTHAN=23,c.GREATERTHAN=24,c.PLUS=25,c.MINUS=26,c.BAR=27,c.SLASH=28,c.LEFTPARENTHESIS=29,c.RIGHTPARENTHESIS=30,c.COMMA=31,c.AT=32,c.LEFTBRACKET=33,c.RIGHTBRACKET=34,c.DOT=35,c.DOLLAR=36,c.prototype.tokenize=function(e){for(var t=[],r=[],n=e+"\0",o=0,i=n.charAt(o++);;){for(;" "==i||"\t"==i||"\r"==i||"\n"==i;)i=n.charAt(o++);if("\0"==i||o>=n.length)break;if("("!=i)if(")"!=i)if("["!=i)if("]"!=i)if("@"!=i)if(","!=i)if("|"!=i)if("+"!=i)if("-"!=i)if("="!=i)if("$"!=i)if("."!=i)if("'"!=i&&'"'!=i)if(i>="0"&&i<="9"){for(p=i,i=n.charAt(o++);i>="0"&&i<="9";)p+=i,i=n.charAt(o++);if("."==i&&n.charAt(o)>="0"&&n.charAt(o)<="9")for(p+=i,p+=n.charAt(o++),i=n.charAt(o++);i>="0"&&i<="9";)p+=i,i=n.charAt(o++);t.push(c.NUMBER),r.push(p)}else if("*"!=i)if(":"!=i||":"!=n.charAt(o))if("/"!=i)if("!"!=i||"="!=n.charAt(o))if("<"!=i)if(">"!=i){if("_"!=i&&!$.isLetter(i.charCodeAt(0)))throw new Error("Unexpected character "+i);var s=i;for(i=n.charAt(o++);$.isNCNameChar(i.charCodeAt(0));)s+=i,i=n.charAt(o++);if(t.length>0&&(a=t[t.length-1])!=c.AT&&a!=c.DOUBLECOLON&&a!=c.LEFTPARENTHESIS&&a!=c.LEFTBRACKET&&a!=c.AND&&a!=c.OR&&a!=c.MOD&&a!=c.DIV&&a!=c.MULTIPLYOPERATOR&&a!=c.SLASH&&a!=c.DOUBLESLASH&&a!=c.BAR&&a!=c.PLUS&&a!=c.MINUS&&a!=c.EQUALS&&a!=c.NOTEQUAL&&a!=c.LESSTHAN&&a!=c.LESSTHANOREQUAL&&a!=c.GREATERTHAN&&a!=c.GREATERTHANOREQUAL){if("and"==s){t.push(c.AND),r.push(s);continue}if("or"==s){t.push(c.OR),r.push(s);continue}if("mod"==s){t.push(c.MOD),r.push(s);continue}if("div"==s){t.push(c.DIV),r.push(s);continue}}if(":"==i){if("*"==n.charAt(o)){t.push(c.NCNAMECOLONASTERISK),r.push(s+":*"),o++,i=n.charAt(o++);continue}if("_"==n.charAt(o)||$.isLetter(n.charCodeAt(o))){for(s+=":",i=n.charAt(o++);$.isNCNameChar(i.charCodeAt(0));)s+=i,i=n.charAt(o++);if("("==i){t.push(c.FUNCTIONNAME),r.push(s);continue}t.push(c.QNAME),r.push(s);continue}if(":"==n.charAt(o)){t.push(c.AXISNAME),r.push(s);continue}}if("("==i){if("comment"==s||"text"==s||"node"==s){t.push(c.NODETYPE),r.push(s);continue}if("processing-instruction"==s){")"==n.charAt(o)?t.push(c.NODETYPE):t.push(c.PROCESSINGINSTRUCTIONWITHLITERAL),r.push(s);continue}t.push(c.FUNCTIONNAME),r.push(s);continue}t.push(c.QNAME),r.push(s)}else{if("="==n.charAt(o)){t.push(c.GREATERTHANOREQUAL),r.push(">="),o++,i=n.charAt(o++);continue}t.push(c.GREATERTHAN),r.push(">"),i=n.charAt(o++)}else{if("="==n.charAt(o)){t.push(c.LESSTHANOREQUAL),r.push("<="),o++,i=n.charAt(o++);continue}t.push(c.LESSTHAN),r.push("<"),i=n.charAt(o++)}else t.push(c.NOTEQUAL),r.push("!="),o++,i=n.charAt(o++);else{if("/"==(i=n.charAt(o++))){t.push(c.DOUBLESLASH),r.push("//"),i=n.charAt(o++);continue}t.push(c.SLASH),r.push("/")}else t.push(c.DOUBLECOLON),r.push("::"),o++,i=n.charAt(o++);else{var a;if(t.length>0&&(a=t[t.length-1])!=c.AT&&a!=c.DOUBLECOLON&&a!=c.LEFTPARENTHESIS&&a!=c.LEFTBRACKET&&a!=c.AND&&a!=c.OR&&a!=c.MOD&&a!=c.DIV&&a!=c.MULTIPLYOPERATOR&&a!=c.SLASH&&a!=c.DOUBLESLASH&&a!=c.BAR&&a!=c.PLUS&&a!=c.MINUS&&a!=c.EQUALS&&a!=c.NOTEQUAL&&a!=c.LESSTHAN&&a!=c.LESSTHANOREQUAL&&a!=c.GREATERTHAN&&a!=c.GREATERTHANOREQUAL){t.push(c.MULTIPLYOPERATOR),r.push(i),i=n.charAt(o++);continue}t.push(c.ASTERISKNAMETEST),r.push(i),i=n.charAt(o++)}else{for(var u=i,l="";o="0"&&i<="9"){var p="."+i;for(i=n.charAt(o++);i>="0"&&i<="9";)p+=i,i=n.charAt(o++);t.push(c.NUMBER),r.push(p);continue}t.push(c.DOT),r.push(".")}else t.push(c.DOLLAR),r.push(i),i=n.charAt(o++);else t.push(c.EQUALS),r.push(i),i=n.charAt(o++);else t.push(c.MINUS),r.push(i),i=n.charAt(o++);else t.push(c.PLUS),r.push(i),i=n.charAt(o++);else t.push(c.BAR),r.push(i),i=n.charAt(o++);else t.push(c.COMMA),r.push(i),i=n.charAt(o++);else t.push(c.AT),r.push(i),i=n.charAt(o++);else t.push(c.RIGHTBRACKET),r.push(i),i=n.charAt(o++);else t.push(c.LEFTBRACKET),r.push(i),i=n.charAt(o++);else t.push(c.RIGHTPARENTHESIS),r.push(i),i=n.charAt(o++);else t.push(c.LEFTPARENTHESIS),r.push(i),i=n.charAt(o++)}return t.push(1),r.push("[EOF]"),[t,r]},c.SHIFT="s",c.REDUCE="r",c.ACCEPT="a",c.prototype.parse=function(e){var t,r,n=this.tokenize(e);if(null!=n){t=n[0],r=n[1];var o,i,s=0,a=[],u=[],p=[];for(a.push(0),u.push(1),p.push("_S"),o=t[s],i=r[s++];;)switch(e=a[a.length-1],c.actionTable[e].charAt(o-1)){case c.SHIFT:u.push(-o),p.push(i),a.push(c.actionTableNumber[e].charCodeAt(o-1)-32),o=t[s],i=r[s++];break;case c.REDUCE:for(var h=c.productions[c.actionTableNumber[e].charCodeAt(o-1)-32][1],f=[],d=0;d"},h.prototype.evaluate=function(e){throw new Error("Could not evaluate expression.")},f.prototype=new h,f.prototype.constructor=f,f.superclass=h.prototype,f.prototype.init=function(e){this.rhs=e},d.prototype=new f,d.prototype.constructor=d,d.superclass=f.prototype,d.prototype.init=function(e){d.superclass.init.call(this,e)},d.prototype.evaluate=function(e){return this.rhs.evaluate(e).number().negate()},d.prototype.toString=function(){return"-"+this.rhs.toString()},m.prototype=new h,m.prototype.constructor=m,m.superclass=h.prototype,m.prototype.init=function(e,t){this.lhs=e,this.rhs=t},g.prototype=new m,g.prototype.constructor=g,g.superclass=m.prototype,g.prototype.init=function(e,t){g.superclass.init.call(this,e,t)},g.prototype.toString=function(){return"("+this.lhs.toString()+" or "+this.rhs.toString()+")"},g.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?t:this.rhs.evaluate(e).bool()},N.prototype=new m,N.prototype.constructor=N,N.superclass=m.prototype,N.prototype.init=function(e,t){N.superclass.init.call(this,e,t)},N.prototype.toString=function(){return"("+this.lhs.toString()+" and "+this.rhs.toString()+")"},N.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?this.rhs.evaluate(e).bool():t},b.prototype=new m,b.prototype.constructor=b,b.superclass=m.prototype,b.prototype.init=function(e,t){b.superclass.init.call(this,e,t)},b.prototype.toString=function(){return"("+this.lhs.toString()+" = "+this.rhs.toString()+")"},b.prototype.evaluate=function(e){return this.lhs.evaluate(e).equals(this.rhs.evaluate(e))},y.prototype=new m,y.prototype.constructor=y,y.superclass=m.prototype,y.prototype.init=function(e,t){y.superclass.init.call(this,e,t)},y.prototype.toString=function(){return"("+this.lhs.toString()+" != "+this.rhs.toString()+")"},y.prototype.evaluate=function(e){return this.lhs.evaluate(e).notequal(this.rhs.evaluate(e))},E.prototype=new m,E.prototype.constructor=E,E.superclass=m.prototype,E.prototype.init=function(e,t){E.superclass.init.call(this,e,t)},E.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthan(this.rhs.evaluate(e))},E.prototype.toString=function(){return"("+this.lhs.toString()+" < "+this.rhs.toString()+")"},v.prototype=new m,v.prototype.constructor=v,v.superclass=m.prototype,v.prototype.init=function(e,t){v.superclass.init.call(this,e,t)},v.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthan(this.rhs.evaluate(e))},v.prototype.toString=function(){return"("+this.lhs.toString()+" > "+this.rhs.toString()+")"},w.prototype=new m,w.prototype.constructor=w,w.superclass=m.prototype,w.prototype.init=function(e,t){w.superclass.init.call(this,e,t)},w.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthanorequal(this.rhs.evaluate(e))},w.prototype.toString=function(){return"("+this.lhs.toString()+" <= "+this.rhs.toString()+")"},T.prototype=new m,T.prototype.constructor=T,T.superclass=m.prototype,T.prototype.init=function(e,t){T.superclass.init.call(this,e,t)},T.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthanorequal(this.rhs.evaluate(e))},T.prototype.toString=function(){return"("+this.lhs.toString()+" >= "+this.rhs.toString()+")"},A.prototype=new m,A.prototype.constructor=A,A.superclass=m.prototype,A.prototype.init=function(e,t){A.superclass.init.call(this,e,t)},A.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().plus(this.rhs.evaluate(e).number())},A.prototype.toString=function(){return"("+this.lhs.toString()+" + "+this.rhs.toString()+")"},S.prototype=new m,S.prototype.constructor=S,S.superclass=m.prototype,S.prototype.init=function(e,t){S.superclass.init.call(this,e,t)},S.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().minus(this.rhs.evaluate(e).number())},S.prototype.toString=function(){return"("+this.lhs.toString()+" - "+this.rhs.toString()+")"},D.prototype=new m,D.prototype.constructor=D,D.superclass=m.prototype,D.prototype.init=function(e,t){D.superclass.init.call(this,e,t)},D.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().multiply(this.rhs.evaluate(e).number())},D.prototype.toString=function(){return"("+this.lhs.toString()+" * "+this.rhs.toString()+")"},x.prototype=new m,x.prototype.constructor=x,x.superclass=m.prototype,x.prototype.init=function(e,t){x.superclass.init.call(this,e,t)},x.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().div(this.rhs.evaluate(e).number())},x.prototype.toString=function(){return"("+this.lhs.toString()+" div "+this.rhs.toString()+")"},R.prototype=new m,R.prototype.constructor=R,R.superclass=m.prototype,R.prototype.init=function(e,t){R.superclass.init.call(this,e,t)},R.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().mod(this.rhs.evaluate(e).number())},R.prototype.toString=function(){return"("+this.lhs.toString()+" mod "+this.rhs.toString()+")"},O.prototype=new m,O.prototype.constructor=O,O.superclass=m.prototype,O.prototype.init=function(e,t){O.superclass.init.call(this,e,t)},O.prototype.evaluate=function(e){return this.lhs.evaluate(e).nodeset().union(this.rhs.evaluate(e).nodeset())},O.prototype.toString=function(){return n(o,[this.lhs,this.rhs]).join(" | ")},L.prototype=new h,L.prototype.constructor=L,L.superclass=h.prototype,L.prototype.init=function(e,t,r){L.superclass.init.call(this),this.filter=e,this.filterPredicates=t,this.locationPath=r},L.applyPredicates=function(e,n,o){if(0===e.length)return o;var i=n.extend({});return r((function(e,r){return i.contextSize=e.length,n=function(e,t){return i.contextNode=e,i.contextPosition=t+1,L.predicateMatches(r,i)},o=[],t((function(e,t){n(e,t)&&o.push(e)}),e),o;var n,o}),o,e)},L.getRoot=function(e,t){var r=t[0];if(9===r.nodeType)return r;if(e.virtualRoot)return e.virtualRoot;var n=r.ownerDocument;if(n)return n;for(var o=r;null!=o.parentNode;)o=o.parentNode;return o},L.applyStep=function(e,t,r){var n=[];switch(t.contextNode=r,e.axis){case P.ANCESTOR:if(t.contextNode===t.virtualRoot)break;for(o=2==t.contextNode.nodeType?L.getOwnerElement(t.contextNode):t.contextNode.parentNode;null!=o&&(e.nodeTest.matches(o,t)&&n.push(o),o!==t.virtualRoot);)o=o.parentNode;break;case P.ANCESTORORSELF:for(var o=t.contextNode;null!=o&&(e.nodeTest.matches(o,t)&&n.push(o),o!==t.virtualRoot);o=2==o.nodeType?L.getOwnerElement(o):o.parentNode);break;case P.ATTRIBUTE:var i=t.contextNode.attributes;if(null!=i)for(var s=0;s0;)for(o=a.pop();null!=o;)e.nodeTest.matches(o,t)&&n.push(o),null!=o.firstChild?(a.push(o.nextSibling),o=o.firstChild):o=o.nextSibling;break;case P.DESCENDANTORSELF:for(e.nodeTest.matches(t.contextNode,t)&&n.push(t.contextNode),a=[t.contextNode.firstChild];a.length>0;)for(o=a.pop();null!=o;)e.nodeTest.matches(o,t)&&n.push(o),null!=o.firstChild?(a.push(o.nextSibling),o=o.firstChild):o=o.nextSibling;break;case P.FOLLOWING:if(t.contextNode===t.virtualRoot)break;for(a=[],null!=t.contextNode.firstChild?a.unshift(t.contextNode.firstChild):a.unshift(t.contextNode.nextSibling),o=t.contextNode.parentNode;null!=o&&9!=o.nodeType&&o!==t.virtualRoot;o=o.parentNode)a.unshift(o.nextSibling);do{for(o=a.pop();null!=o;)e.nodeTest.matches(o,t)&&n.push(o),null!=o.firstChild?(a.push(o.nextSibling),o=o.firstChild):o=o.nextSibling}while(a.length>0);break;case P.FOLLOWINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(o=t.contextNode.nextSibling;null!=o;o=o.nextSibling)e.nodeTest.matches(o,t)&&n.push(o);break;case P.NAMESPACE:var u={};if(1==t.contextNode.nodeType){for(u.xml=l.XML_NAMESPACE_URI,u.xmlns=l.XMLNS_NAMESPACE_URI,o=t.contextNode;null!=o&&1==o.nodeType;o=o.parentNode)for(s=0;s6&&"xmlns:"==p.substring(0,6)&&null==u[h=p.substring(6,p.length)]&&(u[h]=c.value)}for(var h in u){var f=new X(h,u[h],t.contextNode);e.nodeTest.matches(f,t)&&n.push(f)}}break;case P.PARENT:o=null,t.contextNode!==t.virtualRoot&&(o=2==t.contextNode.nodeType?L.getOwnerElement(t.contextNode):t.contextNode.parentNode),null!=o&&e.nodeTest.matches(o,t)&&n.push(o);break;case P.PRECEDING:a=null!=t.virtualRoot?[t.virtualRoot]:[C(t.contextNode)];e:for(;a.length>0;)for(o=a.pop();null!=o;){if(o==t.contextNode)break e;e.nodeTest.matches(o,t)&&n.unshift(o),null!=o.firstChild?(a.push(o.nextSibling),o=o.firstChild):o=o.nextSibling}break;case P.PRECEDINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(o=t.contextNode.previousSibling;null!=o;o=o.previousSibling)e.nodeTest.matches(o,t)&&n.push(o);break;case P.SELF:e.nodeTest.matches(t.contextNode,t)&&n.push(t.contextNode)}return n},L.applySteps=function(e,t,n){return r(q.bind(null,t),n,e)},L.prototype.applyFilter=function(e,t){if(!this.filter)return{nodes:[e.contextNode]};var r=this.filter.evaluate(e);if(!$.instance_of(r,j)){if(null!=this.filterPredicates&&this.filterPredicates.length>0||null!=this.locationPath)throw new Error("Path expression filter must evaluate to a nodeset if predicates or location path are used");return{nonNodes:r}}return{nodes:L.applyPredicates(this.filterPredicates||[],t,r.toUnsortedArray())}},L.applyLocationPath=function(e,t,r){if(!e)return r;var n=e.absolute?[L.getRoot(t,r)]:r;return L.applySteps(e.steps,t,n)},L.prototype.evaluate=function(e){var t=u(new Y,e),r=this.applyFilter(e,t);if("nonNodes"in r)return r.nonNodes;var n=new j;return n.addArray(L.applyLocationPath(this.locationPath,t,r.nodes)),n},L.predicateMatches=function(e,t){var r=e.evaluate(t);return $.instance_of(r,B)?t.contextPosition===r.numberValue():r.booleanValue()},L.predicateString=function(e){return s("[","]",e.toString())},L.predicatesString=function(e){return i("",n(L.predicateString,e))},L.prototype.toString=function(){if(null!=this.filter){var e=o(this.filter);return $.instance_of(this.filter,V)?s("'","'",e):null!=this.filterPredicates&&this.filterPredicates.length?s("(",")",e)+L.predicatesString(this.filterPredicates):null!=this.locationPath?e+(this.locationPath.absolute?"":"/")+o(this.locationPath):e}return o(this.locationPath)},L.getOwnerElement=function(e){if(e.ownerElement)return e.ownerElement;try{if(e.selectSingleNode)return e.selectSingleNode("..")}catch(e){}for(var t=(9==e.nodeType?e:e.ownerDocument).getElementsByTagName("*"),r=0;r"},M.prototype.matches=function(e,t){console.warn("unknown node test type")},M.NAMETESTANY=0,M.NAMETESTPREFIXANY=1,M.NAMETESTQNAME=2,M.COMMENT=3,M.TEXT=4,M.PI=5,M.NODE=6,M.isNodeType=function(e){return function(t){return function(e,t){for(var r=0;r1?t[0]:null,this.localName=t[t.length>1?1:0]})),M.PITest=M.makeNodeTestType(M.PI,{matches:function(e,t){return M.isNodeType([7])(e)&&(e.target||e.nodeName)===this.name},toString:function(){return s('processing-instruction("','")',this.name)}},(function(e){this.name=e})),M.nameTestAny=M.makeNodeTypeTest(M.NAMETESTANY,[1,2,X.XPATH_NAMESPACE_NODE],"*"),M.textTest=M.makeNodeTypeTest(M.TEXT,[3,4],"text()"),M.commentTest=M.makeNodeTypeTest(M.COMMENT,[8],"comment()"),M.nodeTest=M.makeNodeTypeTest(M.NODE,[1,2,3,4,7,8,9],"node()"),M.anyPiTest=M.makeNodeTypeTest(M.PI,[7],"processing-instruction()"),U.prototype=new h,U.prototype.constructor=U,U.superclass=h.prototype,U.prototype.init=function(e){this.variable=e},U.prototype.toString=function(){return"$"+this.variable},U.prototype.evaluate=function(e){var t=$.resolveQName(this.variable,e.namespaceResolver,e.contextNode,!1);if(null==t[0])throw new Error("Cannot resolve QName "+fn);var r=e.variableResolver.getVariable(t[1],t[0]);if(!r)throw Z.fromMessage("Undeclared variable: "+this.toString());return r},F.prototype=new h,F.prototype.constructor=F,F.superclass=h.prototype,F.prototype.init=function(e,t){this.functionName=e,this.arguments=t},F.prototype.toString=function(){for(var e=this.functionName+"(",t=0;t0&&(e+=", "),e+=this.arguments[t].toString();return e+")"},F.prototype.evaluate=function(e){var t=Q.getFunctionFromContext(this.functionName,e);if(!t)throw new Error("Unknown function "+this.functionName);var r=[e].concat(this.arguments);return t.apply(e.functionResolver.thisArg,r)};var k=new Object;function V(e){arguments.length>0&&this.init(e)}function B(e){arguments.length>0&&this.init(e)}function H(e){arguments.length>0&&this.init(e)}function G(e){this.init(e)}function j(){this.init()}function X(e,t,r){this.isXPathNamespace=!0,this.ownerDocument=r.ownerDocument,this.nodeName="#namespace",this.prefix=e,this.localName=e,this.namespaceURI=t,this.nodeValue=t,this.ownerElement=r,this.nodeType=X.XPATH_NAMESPACE_NODE}function Y(e,t,r){this.variableResolver=null!=e?e:new W,this.namespaceResolver=null!=t?t:new J,this.functionResolver=null!=r?r:new Q}function W(){}function Q(e){this.thisArg=null!=e?e:z,this.functions=new Object,this.addStandardFunctions()}function J(){}k.equals=function(e,t){return e.equals(t)},k.notequal=function(e,t){return e.notequal(t)},k.lessthan=function(e,t){return e.lessthan(t)},k.greaterthan=function(e,t){return e.greaterthan(t)},k.lessthanorequal=function(e,t){return e.lessthanorequal(t)},k.greaterthanorequal=function(e,t){return e.greaterthanorequal(t)},V.prototype=new h,V.prototype.constructor=V,V.superclass=h.prototype,V.prototype.init=function(e){this.str=String(e)},V.prototype.toString=function(){return this.str},V.prototype.evaluate=function(e){return this},V.prototype.string=function(){return this},V.prototype.number=function(){return new B(this.str)},V.prototype.bool=function(){return new H(this.str)},V.prototype.nodeset=function(){throw new Error("Cannot convert string to nodeset")},V.prototype.stringValue=function(){return this.str},V.prototype.numberValue=function(){return this.number().numberValue()},V.prototype.booleanValue=function(){return this.bool().booleanValue()},V.prototype.equals=function(e){return $.instance_of(e,H)?this.bool().equals(e):$.instance_of(e,B)?this.number().equals(e):$.instance_of(e,j)?e.compareWithString(this,k.equals):new H(this.str==e.str)},V.prototype.notequal=function(e){return $.instance_of(e,H)?this.bool().notequal(e):$.instance_of(e,B)?this.number().notequal(e):$.instance_of(e,j)?e.compareWithString(this,k.notequal):new H(this.str!=e.str)},V.prototype.lessthan=function(e){return this.number().lessthan(e)},V.prototype.greaterthan=function(e){return this.number().greaterthan(e)},V.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},V.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},B.prototype=new h,B.prototype.constructor=B,B.superclass=h.prototype,B.prototype.init=function(e){this.num="string"==typeof e?this.parse(e):Number(e)},B.prototype.numberFormat=/^\s*-?[0-9]*\.?[0-9]+\s*$/,B.prototype.parse=function(e){return this.numberFormat.test(e)?parseFloat(e):Number.NaN},B.prototype.toString=function(){var e=this.num.toString();return-1!==e.indexOf("e-")?function(e){for(var t=e.split("e-"),r=t[0].replace(".",""),n=Number(t[1]),o=0;oe.num)},B.prototype.lessthanorequal=function(e){return $.instance_of(e,j)?e.compareWithNumber(this,k.greaterthanorequal):$.instance_of(e,H)||$.instance_of(e,V)?this.lessthanorequal(e.number()):new H(this.num<=e.num)},B.prototype.greaterthanorequal=function(e){return $.instance_of(e,j)?e.compareWithNumber(this,k.lessthanorequal):$.instance_of(e,H)||$.instance_of(e,V)?this.greaterthanorequal(e.number()):new H(this.num>=e.num)},B.prototype.plus=function(e){return new B(this.num+e.num)},B.prototype.minus=function(e){return new B(this.num-e.num)},B.prototype.multiply=function(e){return new B(this.num*e.num)},B.prototype.div=function(e){return new B(this.num/e.num)},B.prototype.mod=function(e){return new B(this.num%e.num)},H.prototype=new h,H.prototype.constructor=H,H.superclass=h.prototype,H.prototype.init=function(e){this.b=Boolean(e)},H.prototype.toString=function(){return this.b.toString()},H.prototype.evaluate=function(e){return this},H.prototype.string=function(){return new V(this.b)},H.prototype.number=function(){return new B(this.b)},H.prototype.bool=function(){return this},H.prototype.nodeset=function(){throw new Error("Cannot convert boolean to nodeset")},H.prototype.stringValue=function(){return this.string().stringValue()},H.prototype.numberValue=function(){return this.number().numberValue()},H.prototype.booleanValue=function(){return this.b},H.prototype.not=function(){return new H(!this.b)},H.prototype.equals=function(e){return $.instance_of(e,V)||$.instance_of(e,B)?this.equals(e.bool()):$.instance_of(e,j)?e.compareWithBoolean(this,k.equals):new H(this.b==e.b)},H.prototype.notequal=function(e){return $.instance_of(e,V)||$.instance_of(e,B)?this.notequal(e.bool()):$.instance_of(e,j)?e.compareWithBoolean(this,k.notequal):new H(this.b!=e.b)},H.prototype.lessthan=function(e){return this.number().lessthan(e)},H.prototype.greaterthan=function(e){return this.number().greaterthan(e)},H.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},H.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},H.true_=new H(!0),H.false_=new H(!1),G.prototype=new Object,G.prototype.constructor=G,G.superclass=Object.prototype,G.prototype.init=function(e){this.left=null,this.right=null,this.node=e,this.depth=1},G.prototype.balance=function(){var e=null==this.left?0:this.left.depth,t=null==this.right?0:this.right.depth;if(e>t+1)(null==this.left.left?0:this.left.left.depth)<(null==this.left.right?0:this.left.right.depth)&&this.left.rotateRR(),this.rotateLL();else if(e+1r&&this.right.rotateLL(),this.rotateRR()}},G.prototype.rotateLL=function(){var e=this.node,t=this.right;this.node=this.left.node,this.right=this.left,this.left=this.left.left,this.right.left=this.right.right,this.right.right=t,this.right.node=e,this.right.updateInNewLocation(),this.updateInNewLocation()},G.prototype.rotateRR=function(){var e=this.node,t=this.left;this.node=this.right.node,this.left=this.right,this.right=this.right.right,this.left.right=this.left.left,this.left.left=t,this.left.node=e,this.left.updateInNewLocation(),this.updateInNewLocation()},G.prototype.updateInNewLocation=function(){this.getDepthFromChildren()},G.prototype.getDepthFromChildren=function(){this.depth=null==this.node?0:1,null!=this.left&&(this.depth=this.left.depth+1),null!=this.right&&this.depth<=this.right.depth&&(this.depth=this.right.depth+1)},G.prototype.add=function(e){if(e===this.node)return!1;var t=function(e,t){if(e===t)return 0;if(e.compareDocumentPosition){var r=e.compareDocumentPosition(t);return 1&r||10&r?1:20&r?-1:0}for(var n=0,o=0,i=e;null!=i;i=i.parentNode||i.ownerElement)n++;for(var s=t;null!=s;s=s.parentNode||s.ownerElement)o++;if(n>o){for(;n>o;)e=e.parentNode||e.ownerElement,n--;if(e===t)return 1}else if(o>n){for(;o>n;)t=t.parentNode||t.ownerElement,o--;if(e===t)return-1}for(var a=e.parentNode||e.ownerElement,u=t.parentNode||t.ownerElement;a!==u;)t=u,a=(e=a).parentNode||e.ownerElement,u=t.parentNode||t.ownerElement;var c=$.isAttribute(e),l=$.isAttribute(t);if(c&&!l)return-1;if(!c&&l)return 1;if(a)for(var p=c?a.attributes:a.childNodes,h=p.length,f=0;fc.length?"":c[r]),e}),{},u);return new V(i("",n((function(e){return e in l?l[e]:e}),a)))},z.boolean_=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function boolean expects (object)");return arguments[1].evaluate(e).bool()},z.not=function(e,t){if(2!=arguments.length)throw new Error("Function not expects (object)");return t.evaluate(e).bool().not()},z.true_=function(){if(1!=arguments.length)throw new Error("Function true expects ()");return H.true_},z.false_=function(){if(1!=arguments.length)throw new Error("Function false expects ()");return H.false_},z.lang=function(){var e,t=arguments[0];if(2!=arguments.length)throw new Error("Function lang expects (string)");for(var r=t.contextNode;null!=r&&9!=r.nodeType;r=r.parentNode){var n=r.getAttributeNS(l.XML_NAMESPACE_URI,"lang");if(null!=n){e=String(n);break}}if(null==e)return H.false_;var o=arguments[1].evaluate(t).stringValue();return new H(e.substring(0,o.length)==o&&(e.length==o.length||"-"==e.charAt(o.length)))},z.number=function(){var e=arguments[0];if(1!=arguments.length&&2!=arguments.length)throw new Error("Function number expects (object?)");return 1==arguments.length?new B(j.prototype.stringForNode(e.contextNode)):arguments[1].evaluate(e).number()},z.sum=function(){var e,t=arguments[0];if(2!=arguments.length||!$.instance_of(e=arguments[1].evaluate(t),j))throw new Error("Function sum expects (node-set)");e=e.toUnsortedArray();for(var r=0,n=0;n=65&&e<=90||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=255||e>=256&&e<=305||e>=308&&e<=318||e>=321&&e<=328||e>=330&&e<=382||e>=384&&e<=451||e>=461&&e<=496||e>=500&&e<=501||e>=506&&e<=535||e>=592&&e<=680||e>=699&&e<=705||902==e||e>=904&&e<=906||908==e||e>=910&&e<=929||e>=931&&e<=974||e>=976&&e<=982||986==e||988==e||990==e||992==e||e>=994&&e<=1011||e>=1025&&e<=1036||e>=1038&&e<=1103||e>=1105&&e<=1116||e>=1118&&e<=1153||e>=1168&&e<=1220||e>=1223&&e<=1224||e>=1227&&e<=1228||e>=1232&&e<=1259||e>=1262&&e<=1269||e>=1272&&e<=1273||e>=1329&&e<=1366||1369==e||e>=1377&&e<=1414||e>=1488&&e<=1514||e>=1520&&e<=1522||e>=1569&&e<=1594||e>=1601&&e<=1610||e>=1649&&e<=1719||e>=1722&&e<=1726||e>=1728&&e<=1742||e>=1744&&e<=1747||1749==e||e>=1765&&e<=1766||e>=2309&&e<=2361||2365==e||e>=2392&&e<=2401||e>=2437&&e<=2444||e>=2447&&e<=2448||e>=2451&&e<=2472||e>=2474&&e<=2480||2482==e||e>=2486&&e<=2489||e>=2524&&e<=2525||e>=2527&&e<=2529||e>=2544&&e<=2545||e>=2565&&e<=2570||e>=2575&&e<=2576||e>=2579&&e<=2600||e>=2602&&e<=2608||e>=2610&&e<=2611||e>=2613&&e<=2614||e>=2616&&e<=2617||e>=2649&&e<=2652||2654==e||e>=2674&&e<=2676||e>=2693&&e<=2699||2701==e||e>=2703&&e<=2705||e>=2707&&e<=2728||e>=2730&&e<=2736||e>=2738&&e<=2739||e>=2741&&e<=2745||2749==e||2784==e||e>=2821&&e<=2828||e>=2831&&e<=2832||e>=2835&&e<=2856||e>=2858&&e<=2864||e>=2866&&e<=2867||e>=2870&&e<=2873||2877==e||e>=2908&&e<=2909||e>=2911&&e<=2913||e>=2949&&e<=2954||e>=2958&&e<=2960||e>=2962&&e<=2965||e>=2969&&e<=2970||2972==e||e>=2974&&e<=2975||e>=2979&&e<=2980||e>=2984&&e<=2986||e>=2990&&e<=2997||e>=2999&&e<=3001||e>=3077&&e<=3084||e>=3086&&e<=3088||e>=3090&&e<=3112||e>=3114&&e<=3123||e>=3125&&e<=3129||e>=3168&&e<=3169||e>=3205&&e<=3212||e>=3214&&e<=3216||e>=3218&&e<=3240||e>=3242&&e<=3251||e>=3253&&e<=3257||3294==e||e>=3296&&e<=3297||e>=3333&&e<=3340||e>=3342&&e<=3344||e>=3346&&e<=3368||e>=3370&&e<=3385||e>=3424&&e<=3425||e>=3585&&e<=3630||3632==e||e>=3634&&e<=3635||e>=3648&&e<=3653||e>=3713&&e<=3714||3716==e||e>=3719&&e<=3720||3722==e||3725==e||e>=3732&&e<=3735||e>=3737&&e<=3743||e>=3745&&e<=3747||3749==e||3751==e||e>=3754&&e<=3755||e>=3757&&e<=3758||3760==e||e>=3762&&e<=3763||3773==e||e>=3776&&e<=3780||e>=3904&&e<=3911||e>=3913&&e<=3945||e>=4256&&e<=4293||e>=4304&&e<=4342||4352==e||e>=4354&&e<=4355||e>=4357&&e<=4359||4361==e||e>=4363&&e<=4364||e>=4366&&e<=4370||4412==e||4414==e||4416==e||4428==e||4430==e||4432==e||e>=4436&&e<=4437||4441==e||e>=4447&&e<=4449||4451==e||4453==e||4455==e||4457==e||e>=4461&&e<=4462||e>=4466&&e<=4467||4469==e||4510==e||4520==e||4523==e||e>=4526&&e<=4527||e>=4535&&e<=4536||4538==e||e>=4540&&e<=4546||4587==e||4592==e||4601==e||e>=7680&&e<=7835||e>=7840&&e<=7929||e>=7936&&e<=7957||e>=7960&&e<=7965||e>=7968&&e<=8005||e>=8008&&e<=8013||e>=8016&&e<=8023||8025==e||8027==e||8029==e||e>=8031&&e<=8061||e>=8064&&e<=8116||e>=8118&&e<=8124||8126==e||e>=8130&&e<=8132||e>=8134&&e<=8140||e>=8144&&e<=8147||e>=8150&&e<=8155||e>=8160&&e<=8172||e>=8178&&e<=8180||e>=8182&&e<=8188||8486==e||e>=8490&&e<=8491||8494==e||e>=8576&&e<=8578||e>=12353&&e<=12436||e>=12449&&e<=12538||e>=12549&&e<=12588||e>=44032&&e<=55203||e>=19968&&e<=40869||12295==e||e>=12321&&e<=12329},$.isNCNameChar=function(e){return e>=48&&e<=57||e>=1632&&e<=1641||e>=1776&&e<=1785||e>=2406&&e<=2415||e>=2534&&e<=2543||e>=2662&&e<=2671||e>=2790&&e<=2799||e>=2918&&e<=2927||e>=3047&&e<=3055||e>=3174&&e<=3183||e>=3302&&e<=3311||e>=3430&&e<=3439||e>=3664&&e<=3673||e>=3792&&e<=3801||e>=3872&&e<=3881||46==e||45==e||95==e||$.isLetter(e)||e>=768&&e<=837||e>=864&&e<=865||e>=1155&&e<=1158||e>=1425&&e<=1441||e>=1443&&e<=1465||e>=1467&&e<=1469||1471==e||e>=1473&&e<=1474||1476==e||e>=1611&&e<=1618||1648==e||e>=1750&&e<=1756||e>=1757&&e<=1759||e>=1760&&e<=1764||e>=1767&&e<=1768||e>=1770&&e<=1773||e>=2305&&e<=2307||2364==e||e>=2366&&e<=2380||2381==e||e>=2385&&e<=2388||e>=2402&&e<=2403||e>=2433&&e<=2435||2492==e||2494==e||2495==e||e>=2496&&e<=2500||e>=2503&&e<=2504||e>=2507&&e<=2509||2519==e||e>=2530&&e<=2531||2562==e||2620==e||2622==e||2623==e||e>=2624&&e<=2626||e>=2631&&e<=2632||e>=2635&&e<=2637||e>=2672&&e<=2673||e>=2689&&e<=2691||2748==e||e>=2750&&e<=2757||e>=2759&&e<=2761||e>=2763&&e<=2765||e>=2817&&e<=2819||2876==e||e>=2878&&e<=2883||e>=2887&&e<=2888||e>=2891&&e<=2893||e>=2902&&e<=2903||e>=2946&&e<=2947||e>=3006&&e<=3010||e>=3014&&e<=3016||e>=3018&&e<=3021||3031==e||e>=3073&&e<=3075||e>=3134&&e<=3140||e>=3142&&e<=3144||e>=3146&&e<=3149||e>=3157&&e<=3158||e>=3202&&e<=3203||e>=3262&&e<=3268||e>=3270&&e<=3272||e>=3274&&e<=3277||e>=3285&&e<=3286||e>=3330&&e<=3331||e>=3390&&e<=3395||e>=3398&&e<=3400||e>=3402&&e<=3405||3415==e||3633==e||e>=3636&&e<=3642||e>=3655&&e<=3662||3761==e||e>=3764&&e<=3769||e>=3771&&e<=3772||e>=3784&&e<=3789||e>=3864&&e<=3865||3893==e||3895==e||3897==e||3902==e||3903==e||e>=3953&&e<=3972||e>=3974&&e<=3979||e>=3984&&e<=3989||3991==e||e>=3993&&e<=4013||e>=4017&&e<=4023||4025==e||e>=8400&&e<=8412||8417==e||e>=12330&&e<=12335||12441==e||12442==e||183==e||720==e||721==e||903==e||1600==e||3654==e||3782==e||12293==e||e>=12337&&e<=12341||e>=12445&&e<=12446||e>=12540&&e<=12542},$.coalesceText=function(e){for(var t=e.firstChild;null!=t;t=t.nextSibling)if(3==t.nodeType||4==t.nodeType){var r=t.nodeValue,n=t;for(t=t.nextSibling;null!=t&&(3==t.nodeType||4==t.nodeType);){r+=t.nodeValue;var o=t;t=t.nextSibling,o.parentNode.removeChild(o)}if(4==n.nodeType){var i=n.parentNode;if(null==n.nextSibling)i.removeChild(n),i.appendChild(i.ownerDocument.createTextNode(r));else{var s=n.nextSibling;i.removeChild(n),i.insertBefore(i.ownerDocument.createTextNode(r),s)}}else n.nodeValue=r;if(null==t)break}else 1==t.nodeType&&$.coalesceText(t)},$.instance_of=function(e,t){for(;null!=e;){if(e.constructor===t)return!0;if(e===Object)return!1;e=e.constructor.superclass}return!1},$.getElementById=function(e,t){if(1==e.nodeType&&(e.getAttribute("id")==t||e.getAttributeNS(null,"id")==t))return e;for(var r=e.firstChild;null!=r;r=r.nextSibling){var n=$.getElementById(r,t);if(null!=n)return n}return null};var Z=function(){function e(t,r,n){var o=Error.call(this,function(t,r){var n=r?": "+r.toString():"";switch(t){case e.INVALID_EXPRESSION_ERR:return"Invalid expression"+n;case e.TYPE_ERR:return"Type error"+n}return null}(t,r)||n);return o.code=t,o.exception=r,o}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.superclass=Error,e.prototype.toString=function(){return this.message},e.fromMessage=function(t,r){return new e(null,r,t)},e.INVALID_EXPRESSION_ERR=51,e.TYPE_ERR=52,e}();function K(e,t,r){this.xpath=r.parse(e),this.context=new Y,this.context.namespaceResolver=new ee(t)}function ee(e){this.xpathNSResolver=e}function te(e){this.node=e,this.namespaceResolver=new J}function re(e,t){switch(t==re.ANY_TYPE&&(e.constructor===V?t=re.STRING_TYPE:e.constructor===B?t=re.NUMBER_TYPE:e.constructor===H?t=re.BOOLEAN_TYPE:e.constructor===j&&(t=re.UNORDERED_NODE_ITERATOR_TYPE)),this.resultType=t,t){case re.NUMBER_TYPE:return void(this.numberValue=e.numberValue());case re.STRING_TYPE:return void(this.stringValue=e.stringValue());case re.BOOLEAN_TYPE:return void(this.booleanValue=e.booleanValue());case re.ANY_UNORDERED_NODE_TYPE:case re.FIRST_ORDERED_NODE_TYPE:if(e.constructor===j)return void(this.singleNodeValue=e.first());break;case re.UNORDERED_NODE_ITERATOR_TYPE:case re.ORDERED_NODE_ITERATOR_TYPE:if(e.constructor===j)return this.invalidIteratorState=!1,this.nodes=e.toArray(),void(this.iteratorIndex=0);break;case re.UNORDERED_NODE_SNAPSHOT_TYPE:case re.ORDERED_NODE_SNAPSHOT_TYPE:if(e.constructor===j)return this.nodes=e.toArray(),void(this.snapshotLength=this.nodes.length)}throw new Z(Z.TYPE_ERR)}function ne(e,t){e.createExpression=function(e,r){try{return new K(e,r,t)}catch(e){throw new Z(Z.INVALID_EXPRESSION_ERR,e)}},e.createNSResolver=function(e){return new te(e)},e.evaluate=function(r,n,o,i,s){if(i<0||i>9)throw{code:0,toString:function(){return"Request type not supported"}};return e.createExpression(r,o,t).evaluate(n,i,s)}}K.prototype={},K.prototype.constructor=K,K.superclass=Object.prototype,K.getOwnerDocument=function(e){return 9===e.nodeType?e:e.ownerDocument},K.detectHtmlDom=function(e){if(!e)return!1;var t=K.getOwnerDocument(e);try{return t.implementation.hasFeature("HTML","2.0")}catch(e){return!0}},K.prototype.evaluate=function(e,t,r){return this.context.expressionContextNode=e,this.context.caseInsensitive=K.detectHtmlDom(e),new re(this.xpath.evaluate(this.context),t)},ee.prototype={},ee.prototype.constructor=ee,ee.superclass=Object.prototype,ee.prototype.getNamespace=function(e,t){return null==this.xpathNSResolver?null:this.xpathNSResolver.lookupNamespaceURI(e)},te.prototype={},te.prototype.constructor=te,te.superclass=Object.prototype,te.prototype.lookupNamespaceURI=function(e){return this.namespaceResolver.getNamespace(e,this.node)},re.prototype={},re.prototype.constructor=re,re.superclass=Object.prototype,re.prototype.iterateNext=function(){if(this.resultType!=re.UNORDERED_NODE_ITERATOR_TYPE&&this.resultType!=re.ORDERED_NODE_ITERATOR_TYPE)throw new Z(Z.TYPE_ERR);return this.nodes[this.iteratorIndex++]},re.prototype.snapshotItem=function(e){if(this.resultType!=re.UNORDERED_NODE_SNAPSHOT_TYPE&&this.resultType!=re.ORDERED_NODE_SNAPSHOT_TYPE)throw new Z(Z.TYPE_ERR);return this.nodes[e]},re.ANY_TYPE=0,re.NUMBER_TYPE=1,re.STRING_TYPE=2,re.BOOLEAN_TYPE=3,re.UNORDERED_NODE_ITERATOR_TYPE=4,re.ORDERED_NODE_ITERATOR_TYPE=5,re.UNORDERED_NODE_SNAPSHOT_TYPE=6,re.ORDERED_NODE_SNAPSHOT_TYPE=7,re.ANY_UNORDERED_NODE_TYPE=8,re.FIRST_ORDERED_NODE_TYPE=9;try{var oe=!0;try{document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XPath",null)&&(oe=!1)}catch(e){}oe&&ne(document,new c)}catch(e){}ne(e,new c),function(){var t=new c,r=new J,n=new Q,o=new W;function i(e){return{getNamespace:function(t,n){return e(t,n)||r.getNamespace(t,n)}}}function s(e){if(null==e||e instanceof V||e instanceof H||e instanceof B||e instanceof j)return e;switch(typeof e){case"string":return new V(e);case"boolean":return new H(e);case"number":return new B(e)}var t=new j;return t.addArray([].concat(e)),t}function a(e){return{getFunction:function(t,r){var o=e(t,r);return o?function(e){return function(t){var r=Array.prototype.slice.call(arguments,1).map((function(e){return e.evaluate(t)}));return s(e.apply(this,[].concat(t,r)))}}(o):n.getFunction(t,r)}}}function u(e){return{getVariable:function(t,r){return s(e(t,r))}}}function l(e,t,r){e in r&&(t[e]=r[e])}function p(e){var t,s,c=new Y;return e?(c.namespaceResolver=(t=e.namespaces)&&"function"==typeof t.getNamespace?i((s=t).getNamespace.bind(s)):"function"==typeof t?i(t):"object"==typeof t?function(e){return i((function(t){return e[t]}))}(t):r,c.functionResolver=function(e){return e&&"function"==typeof e.getFunction?a((t=e).getFunction.bind(t)):"function"==typeof e?a(e):"object"==typeof e?function(e){return a((function(t){return e[t]}))}(e):n;var t}(e.functions),c.variableResolver=function(e){if(e){if("function"==typeof e.getVariable)return u(e.getVariable.bind(e));if("function"==typeof e)return u(e);if("object"==typeof e)return u((function(t){return e[t]}))}return o}(e.variables),c.expressionContextNode=e.node,l("allowAnyNamespaceForNoPrefix",c,e),l("isHtml",c,e)):c.namespaceResolver=r,c}var h={evaluate:function(e){return function(e,t){var r=p(t);return e.evaluate(r)}(this.expression,e)},evaluateNumber:function(e){return this.evaluate(e).numberValue()},evaluateString:function(e){return this.evaluate(e).stringValue()},evaluateBoolean:function(e){return this.evaluate(e).booleanValue()},evaluateNodeSet:function(e){return this.evaluate(e).nodeset()},select:function(e){return this.evaluateNodeSet(e).toArray()},select1:function(e){return this.select(e)[0]}};e.parse=function(e){var r=t.parse(e);return Object.create(h,{expression:{value:r}})}}(),u(e,{XPath:l,XPathParser:c,XPathResult:re,Step:P,PathExpr:L,NodeTest:M,LocationPath:_,OrOperation:g,AndOperation:N,BarOperation:O,EqualsOperation:b,NotEqualOperation:y,LessThanOperation:E,GreaterThanOperation:v,LessThanOrEqualOperation:w,GreaterThanOrEqualOperation:T,PlusOperation:A,MinusOperation:S,MultiplyOperation:D,DivOperation:x,ModOperation:R,UnaryMinusOperation:d,FunctionCall:F,VariableReference:U,XPathContext:Y,XNodeSet:j,XBoolean:H,XString:V,XNumber:B,NamespaceResolver:J,FunctionResolver:Q,VariableResolver:W,Utilities:$}),e.select=function(t,r,n){return e.selectWithResolver(t,r,null,n)},e.useNamespaces=function(t){var r={mappings:t||{},lookupNamespaceURI:function(e){return this.mappings[e]}};return function(t,n,o){return e.selectWithResolver(t,n,r,o)}},e.selectWithResolver=function(e,t,r,n){var o=new K(e,r,new c),i=re.ANY_TYPE,s=o.evaluate(t,i,null);return s.resultType==re.STRING_TYPE?s=s.stringValue:s.resultType==re.NUMBER_TYPE?s=s.numberValue:s.resultType==re.BOOLEAN_TYPE?s=s.booleanValue:(s=s.nodes,n&&(s=s[0])),s},e.select1=function(t,r){return e.select(t,r,!0)};var ie=function(e){return e&&"number"==typeof e.nodeType&&Number.isInteger(e.nodeType)&&e.nodeType>=1&&e.nodeType<=11&&"string"==typeof e.nodeName},se=function(e){return function(t){return ie(t)&&t.nodeType===e}};u(e,{isNodeLike:ie,isArrayOfNodes:function(e){return Array.isArray(e)&&e.every(ie)},isElement:se(1),isAttribute:se(2),isTextNode:se(3),isCDATASection:se(4),isProcessingInstruction:se(7),isComment:se(8),isDocumentNode:se(9),isDocumentTypeNode:se(10),isDocumentFragment:se(11)})}(t)},647:e=>{e.exports={emptyXPathError:"

Votre XPath est vide !

",exceptionError:"

Bug imprévu.

",gitSources:"Hello, les dev !\nLe code source TypeScript utilisé pour faire fonctionner cette page est lisible ici : :\nhttps://forge.chapril.org/Fab_Blab/xPathTrainer/src/branch/master/src/xpathTrainer.ts",needXMLFile:"Commencer pour sélectionner un fichier",needXPath:"Saisissez votre XPath",notXMLError:"

Le fichier que vous avez sélectionné ne semble pas être un fichier XML.

"}}},t={};!function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}(451)})(); \ No newline at end of file +(()=>{var e={167:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var n=r({HTML:"text/html",isHTML:function(e){return e===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),o=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===o.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},t.find=function(e,t,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,t);for(var n=0;n{var n=r(167),o=r(146),i=r(45),s=r(925),a=o.DOMImplementation,u=n.NAMESPACE,c=s.ParseError,l=s.XMLReader;function p(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function h(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function d(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function g(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function N(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}h.prototype.parseFromString=function(e,t){var r=this.options,n=new l,o=r.domBuilder||new f,s=r.errorHandler,a=r.locator,c=r.xmlns||{},h=/\/x?html?$/.test(t),d=h?i.HTML_ENTITIES:i.XML_ENTITIES;a&&o.setDocumentLocator(a),n.errorHandler=function(e,t,r){if(!e){if(t instanceof f)return t;e=t}var n={},o=e instanceof Function;function i(t){var i=e[t];!i&&o&&(i=2==e.length?function(r){e(t,r)}:e),n[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+m(r))}||function(){}}return r=r||{},i("warning"),i("error"),i("fatalError"),n}(s,o,a),n.domBuilder=r.domBuilder||o,h&&(c[""]=u.HTML),c.xml=c.xml||u.XML;var g=r.normalizeLineEndings||p;return e&&"string"==typeof e?n.parse(g(e),c,d):n.errorHandler.error("invalid doc source"),o.doc},f.prototype={startDocument:function(){this.doc=(new a).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var o=this.doc,i=o.createElementNS(e,r||t),s=n.length;N(this,i),this.currentElement=i,this.locator&&d(this.locator,i);for(var a=0;a{var n=r(167),o=n.find,i=n.NAMESPACE;function s(e){return""!==e}function a(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function u(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(s):[]}(e);return Object.keys(t.reduce(a,{}))}function c(e,t){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}function l(e,t){var r=e.prototype;if(!(r instanceof t)){function n(){}n.prototype=t.prototype,c(r,n=new n),e.prototype=r=n}r.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),r.constructor=e)}var p={},h=p.ELEMENT_NODE=1,f=p.ATTRIBUTE_NODE=2,d=p.TEXT_NODE=3,m=p.CDATA_SECTION_NODE=4,g=p.ENTITY_REFERENCE_NODE=5,N=p.ENTITY_NODE=6,y=p.PROCESSING_INSTRUCTION_NODE=7,b=p.COMMENT_NODE=8,E=p.DOCUMENT_NODE=9,v=p.DOCUMENT_TYPE_NODE=10,w=p.DOCUMENT_FRAGMENT_NODE=11,T=p.NOTATION_NODE=12,A={},S={},x=(A.INDEX_SIZE_ERR=(S[1]="Index size error",1),A.DOMSTRING_SIZE_ERR=(S[2]="DOMString size error",2),A.HIERARCHY_REQUEST_ERR=(S[3]="Hierarchy request error",3)),D=(A.WRONG_DOCUMENT_ERR=(S[4]="Wrong document",4),A.INVALID_CHARACTER_ERR=(S[5]="Invalid character",5),A.NO_DATA_ALLOWED_ERR=(S[6]="No data allowed",6),A.NO_MODIFICATION_ALLOWED_ERR=(S[7]="No modification allowed",7),A.NOT_FOUND_ERR=(S[8]="Not found",8)),R=(A.NOT_SUPPORTED_ERR=(S[9]="Not supported",9),A.INUSE_ATTRIBUTE_ERR=(S[10]="Attribute in use",10));function O(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,S[e]),this.message=S[e],Error.captureStackTrace&&Error.captureStackTrace(this,O);return r.code=e,t&&(this.message=this.message+": "+t),r}function L(){}function I(e,t){this._node=e,this._refresh=t,C(this)}function C(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var r=e._refresh(e._node);if(ye(e,"length",r.length),!e.$$length||r.length=0))throw new O(D,new Error(e.tagName+"@"+r));for(var o=t.length-1;n"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function V(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(V(e,t))return!0}while(e=e.nextSibling)}function B(){this.ownerDocument=this}function H(e,t,r,n){e&&e._inc++,r.namespaceURI===i.XMLNS&&delete t._nsMap[r.prefix?r.localName:""]}function G(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var o=t.firstChild,i=0;o;)n[i++]=o,o=o.nextSibling;n.length=i,delete n[n.length]}}}function j(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,G(e.ownerDocument,e),t}function X(e){return e&&e.nodeType===F.DOCUMENT_TYPE_NODE}function Y(e){return e&&e.nodeType===F.ELEMENT_NODE}function W(e){return e&&e.nodeType===F.TEXT_NODE}function Q(e,t){var r=e.childNodes||[];if(o(r,Y)||X(t))return!1;var n=o(r,X);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function J(e,t){var r=e.childNodes||[];if(o(r,(function(e){return Y(e)&&e!==t})))return!1;var n=o(r,X);return!(t&&n&&r.indexOf(n)>r.indexOf(t))}function z(e,t,r){var n=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===F.DOCUMENT_FRAGMENT_NODE){var s=i.filter(Y);if(s.length>1||o(i,W))throw new O(x,"More than one element or text in fragment");if(1===s.length&&!Q(e,r))throw new O(x,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!Q(e,r))throw new O(x,"Only one element can be added and only after doctype");if(X(t)){if(o(n,X))throw new O(x,"Only one doctype is allowed");var a=o(n,Y);if(r&&n.indexOf(a)1||o(i,W))throw new O(x,"More than one element or text in fragment");if(1===s.length&&!J(e,r))throw new O(x,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!J(e,r))throw new O(x,"Only one element can be added and only after doctype");if(X(t)){if(o(n,(function(e){return X(e)&&e!==r})))throw new O(x,"Only one doctype is allowed");var a=o(n,Y);if(r&&n.indexOf(a)=0;T--)if(""===(A=o[T]).prefix&&A.namespace===e.namespaceURI){p=A.namespace;break}if(p!==e.namespaceURI)for(T=o.length-1;T>=0;T--){var A;if((A=o[T]).namespace===e.namespaceURI){A.prefix&&(l=A.prefix+":"+c);break}}}t.push("<",l);for(var S=0;S"),r&&/^script$/i.test(c))for(;u;)u.data?t.push(u.data):me(u,t,r,n,o.slice()),u=u.nextSibling;else for(;u;)me(u,t,r,n,o.slice()),u=u.nextSibling;t.push("")}else t.push("/>");return;case E:case w:for(u=e.firstChild;u;)me(u,t,r,n,o.slice()),u=u.nextSibling;return;case f:return de(t,e.name,e.value);case d:return t.push(e.data.replace(/[<&>]/g,k));case m:return t.push("");case b:return t.push("\x3c!--",e.data,"--\x3e");case v:var O=e.publicId,L=e.systemId;if(t.push("");else if(L&&"."!=L)t.push(" SYSTEM ",L,">");else{var I=e.internalSubset;I&&t.push(" [",I,"]"),t.push(">")}return;case y:return t.push("");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ge(e,t,r){var n;switch(t.nodeType){case h:(n=t.cloneNode(!1)).ownerDocument=e;case w:break;case f:r=!0}if(n||(n=t.cloneNode(!1)),n.ownerDocument=e,n.parentNode=null,r)for(var o=t.firstChild;o;)n.appendChild(ge(e,o,r)),o=o.nextSibling;return n}function Ne(e,t,r){var n=new t.constructor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var i=t[o];"object"!=typeof i&&i!=n[o]&&(n[o]=i)}switch(t.childNodes&&(n.childNodes=new L),n.ownerDocument=e,n.nodeType){case h:var s=t.attributes,a=n.attributes=new q,u=s.length;a._ownerElement=n;for(var c=0;c=0&&e0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r)for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===e)return n;t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];t=t.nodeType==f?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},c(p,F),c(p,F.prototype),B.prototype={nodeName:"#document",nodeType:E,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==w){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return Z(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===h&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),j(this,e)},replaceChild:function(e,t){Z(this,e,t,$),e.ownerDocument=this,t&&this.removeChild(t),Y(e)&&(this.documentElement=e)},importNode:function(e,t){return ge(this,e,t)},getElementById:function(e){var t=null;return V(this.documentElement,(function(r){if(r.nodeType==h&&r.getAttribute("id")==e)return t=r,!0})),t},getElementsByClassName:function(e){var t=u(e);return new I(this,(function(r){var n=[];return t.length>0&&V(r.documentElement,(function(o){if(o!==r&&o.nodeType===h){var i=o.getAttribute("class");if(i){var s=e===i;if(!s){var a=u(i);s=t.every((c=a,function(e){return c&&-1!==c.indexOf(e)}))}s&&n.push(o)}}var c})),n}))},createElement:function(e){var t=new K;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new L,(t.attributes=new q)._ownerElement=t,t},createDocumentFragment:function(){var e=new ce;return e.ownerDocument=this,e.childNodes=new L,e},createTextNode:function(e){var t=new re;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ne;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new oe;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new le;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=e,r.nodeValue=r.data=t,r},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 ue;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new K,n=t.split(":"),o=r.attributes=new q;return r.childNodes=new L,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,o._ownerElement=r,r},createAttributeNS:function(e,t){var r=new ee,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},l(B,F),K.prototype={nodeType:h,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 r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===w?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,G(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 r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new I(this,(function(t){var r=[];return V(t,(function(n){n===t||n.nodeType!=h||"*"!==e&&n.tagName!=e||r.push(n)})),r}))},getElementsByTagNameNS:function(e,t){return new I(this,(function(r){var n=[];return V(r,(function(o){o===r||o.nodeType!==h||"*"!==e&&o.namespaceURI!==e||"*"!==t&&o.localName!=t||n.push(o)})),n}))}},B.prototype.getElementsByTagName=K.prototype.getElementsByTagName,B.prototype.getElementsByTagNameNS=K.prototype.getElementsByTagNameNS,l(K,F),ee.prototype.nodeType=f,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(S[x])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length}},l(te,F),re.prototype={nodeName:"#text",nodeType:d,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},l(re,te),ne.prototype={nodeName:"#comment",nodeType:b},l(ne,te),oe.prototype={nodeName:"#cdata-section",nodeType:m},l(oe,te),ie.prototype.nodeType=v,l(ie,F),se.prototype.nodeType=T,l(se,F),ae.prototype.nodeType=N,l(ae,F),ue.prototype.nodeType=g,l(ue,F),ce.prototype.nodeName="#document-fragment",ce.prototype.nodeType=w,l(ce,F),le.prototype.nodeType=y,l(le,F),pe.prototype.serializeToString=function(e,t,r){return he.call(e,t,r)},F.prototype.toString=he;try{if(Object.defineProperty){function be(e){switch(e.nodeType){case h:case w:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(be(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(I.prototype,"length",{get:function(){return C(this),this.$$length}}),Object.defineProperty(F.prototype,"textContent",{get:function(){return be(this)},set:function(e){switch(this.nodeType){case h:case w: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}}}),ye=function(e,t,r){e["$$"+t]=r}}}catch(Ee){}t.DocumentType=ie,t.DOMException=O,t.DOMImplementation=U,t.Element=K,t.Node=F,t.NodeList=L,t.XMLSerializer=pe},45:(e,t,r)=>{"use strict";var n=r(167).freeze;t.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=n({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES},969:(e,t,r)=>{var n=r(146);n.DOMImplementation,n.XMLSerializer,t.DOMParser=r(129).DOMParser},925:(e,t,r)=>{var n=r(167).NAMESPACE,o=/[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]/,i=new RegExp("[\\-\\.0-9"+o.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=new RegExp("^"+o.source+i.source+"*(?::"+o.source+i.source+"*)?$");function a(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,a)}function u(){}function c(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function l(e,t,r,o,i,s){function a(e,t,n){r.attributeNames.hasOwnProperty(e)&&s.fatalError("Attribute "+e+" redefined"),r.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),n)}for(var u,c=++t,l=0;;){var p=e.charAt(c);switch(p){case"=":if(1===l)u=e.slice(t,c),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&&(s.warning('attribute value must after "="'),u=e.slice(t,c)),t=c+1,!((c=e.indexOf(p,t))>0))throw new Error("attribute value no end '"+p+"' match");a(u,h=e.slice(t,c),t-1),l=5}else{if(4!=l)throw new Error('attribute value must after "="');a(u,h=e.slice(t,c),t),s.warning('attribute "'+u+'" missed start quot('+p+")!!"),t=c+1,l=5}break;case"/":switch(l){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:l=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),0==l&&r.setTagName(e.slice(t,c)),c;case">":switch(l){case 0:r.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(h=e.slice(t,c)).slice(-1)&&(r.closed=!0,h=h.slice(0,-1));case 2:2===l&&(h=u),4==l?(s.warning('attribute "'+h+'" missed quot(")!'),a(u,h,t)):(n.isHTML(o[""])&&h.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+h+'" missed value!! "'+h+'" instead!!'),a(h,h,t));break;case 3:throw new Error("attribute value missed!!")}return c;case"€":p=" ";default:if(p<=" ")switch(l){case 0:r.setTagName(e.slice(t,c)),l=6;break;case 1:u=e.slice(t,c),l=2;break;case 4:var h=e.slice(t,c);s.warning('attribute "'+h+'" missed quot(")!!'),a(u,h,t);case 5:l=6}else switch(l){case 2:r.tagName,n.isHTML(o[""])&&u.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),a(u,u,t),t=c,l=1;break;case 5:s.warning('attribute space is required"'+u+'"!!');case 6:l=1,t=c;break;case 3:l=4,t=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function p(e,t,r){for(var o=e.tagName,i=null,s=e.length;s--;){var a=e[s],u=a.qName,c=a.value;if((f=u.indexOf(":"))>0)var l=a.prefix=u.slice(0,f),p=u.slice(f+1),h="xmlns"===l&&p;else p=u,l=null,h="xmlns"===u&&"";a.localName=p,!1!==h&&(null==i&&(i={},d(r,r={})),r[h]=i[h]=c,a.uri=n.XMLNS,t.startPrefixMapping(h,c))}for(s=e.length;s--;)(l=(a=e[s]).prefix)&&("xml"===l&&(a.uri=n.XML),"xmlns"!==l&&(a.uri=r[l||""]));var f;(f=o.indexOf(":"))>0?(l=e.prefix=o.slice(0,f),p=e.localName=o.slice(f+1)):(l=null,p=e.localName=o);var m=e.uri=r[l||""];if(t.startElement(m,p,o,e),!e.closed)return e.currentNSMap=r,e.localNSMap=i,!0;if(t.endElement(m,p,o),i)for(l in i)Object.prototype.hasOwnProperty.call(i,l)&&t.endPrefixMapping(l)}function h(e,t,r,n,o){if(/^(?:script|textarea)$/i.test(r)){var i=e.indexOf("",t),s=e.substring(t+1,i);if(/[&<]/.test(s))return/^script$/i.test(r)?(o.characters(s,0,s.length),i):(s=s.replace(/&#?\w+;/g,n),o.characters(s,0,s.length),i)}return t+1}function f(e,t,r,n){var o=n[r];return null==o&&((o=e.lastIndexOf(""))t?(r.comment(e,t+4,o-t-4),o+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,o-t-9),r.endCDATA(),o+3}var i=function(e,t){var r,n=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(o.lastIndex=t,o.exec(e);r=o.exec(e);)if(n.push(r),r[1])return n}(e,t),s=i.length;if(s>1&&/!doctype/i.test(i[0][0])){var a=i[1][0],u=!1,c=!1;s>3&&(/^public$/i.test(i[2][0])?(u=i[3][0],c=s>4&&i[4][0]):/^system$/i.test(i[2][0])&&(c=i[3][0]));var l=i[s-1];return r.startDTD(a,u,c),r.endDTD(),l.index+l[0].length}return-1}function g(e,t,r){var n=e.indexOf("?>",t);if(n){var o=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return o?(o[0].length,r.processingInstruction(o[1],o[2]),n+2):-1}return-1}function N(){this.attributeNames={}}a.prototype=new Error,a.prototype.name=a.name,u.prototype={parse:function(e,t,r){var o=this.domBuilder;o.startDocument(),d(t,t={}),function(e,t,r,o,i){function s(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(r,t)?r[t]:"#"===t.charAt(0)?function(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function u(t){if(t>A){var r=e.substring(A,t).replace(/&#?\w+;/g,s);v&&d(A),o.characters(r,0,t-A),A=t}}function d(t,r){for(;t>=b&&(r=E.exec(e));)y=r.index,b=y+r[0].length,v.lineNumber++;v.columnNumber=t-y+1}for(var y=0,b=0,E=/.*(?:\r\n?|\n)|.*$/g,v=o.locator,w=[{currentNSMap:t}],T={},A=0;;){try{var S=e.indexOf("<",A);if(S<0){if(!e.substr(A).match(/^\s*$/)){var x=o.doc,D=x.createTextNode(e.substr(A));x.appendChild(D),o.currentElement=D}return}switch(S>A&&u(S),e.charAt(S+1)){case"/":var R=e.indexOf(">",S+3),O=e.substring(S+2,R).replace(/[ \t\n\r]+$/g,""),L=w.pop();R<0?(O=e.substring(S+2).replace(/[\s<].*/,""),i.error("end tag name: "+O+" is not complete:"+L.tagName),R=S+1+O.length):O.match(/\sA?A=R:u(Math.max(S,A)+1)}}(e,t,r,o,this.errorHandler),o.endDocument()}},N.prototype={setTagName:function(e){if(!s.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!s.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},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=u,t.ParseError=a},451:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{u(n.next(e))}catch(e){i(e)}}function a(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(u){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]".concat(n[o].toString().replaceAll("<","<").replaceAll(">",">").replaceAll("\n","
"),"");r="
    ".concat(r,"
")}c.innerHTML=r}}catch(e){e instanceof Error&&"XPath parse error"==e.message?c.innerHTML=i.resultsTitle+i.xpathError:c.innerHTML=i.resultsTitle+i.exceptionError}})),[2]}))}))},f.readAsText(h[0])}}))}catch(e){c.innerHTML=i.resultsTitle.messages.exceptionError,console.error(e)}}()},691:(e,t)=>{!function(e){"use strict";var t=function(e,t){for(var r=0;r0&&this.init(e)}function d(e){arguments.length>0&&this.init(e)}function m(e,t){arguments.length>0&&this.init(e,t)}function g(e,t){arguments.length>0&&this.init(e,t)}function N(e,t){arguments.length>0&&this.init(e,t)}function y(e,t){arguments.length>0&&this.init(e,t)}function b(e,t){arguments.length>0&&this.init(e,t)}function E(e,t){arguments.length>0&&this.init(e,t)}function v(e,t){arguments.length>0&&this.init(e,t)}function w(e,t){arguments.length>0&&this.init(e,t)}function T(e,t){arguments.length>0&&this.init(e,t)}function A(e,t){arguments.length>0&&this.init(e,t)}function S(e,t){arguments.length>0&&this.init(e,t)}function x(e,t){arguments.length>0&&this.init(e,t)}function D(e,t){arguments.length>0&&this.init(e,t)}function R(e,t){arguments.length>0&&this.init(e,t)}function O(e,t){arguments.length>0&&this.init(e,t)}function L(e,t,r){arguments.length>0&&this.init(e,t,r)}function I(e){for(;e&&e.parentNode;)e=e.parentNode;return e}function C(e,t,r){return L.applyPredicates(e.predicates,t,L.applyStep(e,t,r))}function q(e,t,r){return function(e){for(var t=[],r=0;r0&&this.init(e,t)}function P(e,t,r){arguments.length>0&&this.init(e,t,r)}function M(e,t){arguments.length>0&&this.init(e,t)}function U(e){arguments.length>0&&this.init(e)}function F(e,t){arguments.length>0&&this.init(e,t)}c.prototype=new Object,c.prototype.constructor=c,c.superclass=Object.prototype,c.prototype.init=function(){this.reduceActions=[],this.reduceActions[3]=function(e){return new g(e[0],e[2])},this.reduceActions[5]=function(e){return new N(e[0],e[2])},this.reduceActions[7]=function(e){return new y(e[0],e[2])},this.reduceActions[8]=function(e){return new b(e[0],e[2])},this.reduceActions[10]=function(e){return new E(e[0],e[2])},this.reduceActions[11]=function(e){return new v(e[0],e[2])},this.reduceActions[12]=function(e){return new w(e[0],e[2])},this.reduceActions[13]=function(e){return new T(e[0],e[2])},this.reduceActions[15]=function(e){return new A(e[0],e[2])},this.reduceActions[16]=function(e){return new S(e[0],e[2])},this.reduceActions[18]=function(e){return new x(e[0],e[2])},this.reduceActions[19]=function(e){return new D(e[0],e[2])},this.reduceActions[20]=function(e){return new R(e[0],e[2])},this.reduceActions[22]=function(e){return new d(e[1])},this.reduceActions[24]=function(e){return new O(e[0],e[2])},this.reduceActions[25]=function(e){return new L(void 0,void 0,e[0])},this.reduceActions[27]=function(e){return e[0].locationPath=e[2],e[0]},this.reduceActions[28]=function(e){return e[0].locationPath=e[2],e[0].locationPath.steps.unshift(new P(P.DESCENDANTORSELF,M.nodeTest,[])),e[0]},this.reduceActions[29]=function(e){return new L(e[0],[],void 0)},this.reduceActions[30]=function(e){return $.instance_of(e[0],L)?(null==e[0].filterPredicates&&(e[0].filterPredicates=[]),e[0].filterPredicates.push(e[1]),e[0]):new L(e[0],[e[1]],void 0)},this.reduceActions[32]=function(e){return e[1]},this.reduceActions[33]=function(e){return new V(e[0])},this.reduceActions[34]=function(e){return new B(e[0])},this.reduceActions[36]=function(e){return new F(e[0],[])},this.reduceActions[37]=function(e){return new F(e[0],e[2])},this.reduceActions[38]=function(e){return[e[0]]},this.reduceActions[39]=function(e){return e[2].unshift(e[0]),e[2]},this.reduceActions[43]=function(e){return new _(!0,[])},this.reduceActions[44]=function(e){return e[1].absolute=!0,e[1]},this.reduceActions[46]=function(e){return new _(!1,[e[0]])},this.reduceActions[47]=function(e){return e[0].steps.push(e[2]),e[0]},this.reduceActions[49]=function(e){return new P(e[0],e[1],[])},this.reduceActions[50]=function(e){return new P(P.CHILD,e[0],[])},this.reduceActions[51]=function(e){return new P(e[0],e[1],e[2])},this.reduceActions[52]=function(e){return new P(P.CHILD,e[0],e[1])},this.reduceActions[54]=function(e){return[e[0]]},this.reduceActions[55]=function(e){return e[1].unshift(e[0]),e[1]},this.reduceActions[56]=function(e){return"ancestor"==e[0]?P.ANCESTOR:"ancestor-or-self"==e[0]?P.ANCESTORORSELF:"attribute"==e[0]?P.ATTRIBUTE:"child"==e[0]?P.CHILD:"descendant"==e[0]?P.DESCENDANT:"descendant-or-self"==e[0]?P.DESCENDANTORSELF:"following"==e[0]?P.FOLLOWING:"following-sibling"==e[0]?P.FOLLOWINGSIBLING:"namespace"==e[0]?P.NAMESPACE:"parent"==e[0]?P.PARENT:"preceding"==e[0]?P.PRECEDING:"preceding-sibling"==e[0]?P.PRECEDINGSIBLING:"self"==e[0]?P.SELF:-1},this.reduceActions[57]=function(e){return P.ATTRIBUTE},this.reduceActions[59]=function(e){return"comment"==e[0]?M.commentTest:"text"==e[0]?M.textTest:"processing-instruction"==e[0]?M.anyPiTest:"node"==e[0]?M.nodeTest:new M(-1,void 0)},this.reduceActions[60]=function(e){return new M.PITest(e[2])},this.reduceActions[61]=function(e){return e[1]},this.reduceActions[63]=function(e){return e[1].absolute=!0,e[1].steps.unshift(new P(P.DESCENDANTORSELF,M.nodeTest,[])),e[1]},this.reduceActions[64]=function(e){return e[0].steps.push(new P(P.DESCENDANTORSELF,M.nodeTest,[])),e[0].steps.push(e[2]),e[0]},this.reduceActions[65]=function(e){return new P(P.SELF,M.nodeTest,[])},this.reduceActions[66]=function(e){return new P(P.PARENT,M.nodeTest,[])},this.reduceActions[67]=function(e){return new U(e[1])},this.reduceActions[68]=function(e){return M.nameTestAny},this.reduceActions[69]=function(e){return new M.NameTestPrefixAny(e[0].split(":")[0])},this.reduceActions[70]=function(e){return new M.NameTestQName(e[0])}},c.actionTable=[" s s sssssssss s ss s ss"," s ","r rrrrrrrrr rrrrrrr rr r "," rrrrr "," s s sssssssss s ss s ss","rs rrrrrrrr s sssssrrrrrr rrs rs "," s s sssssssss s ss s ss"," s "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s "," s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr r ","a ","r s rr r ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrs rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r srrrrrrrr rrrrrrs rr sr ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r "," sssss ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrr rrrrr rr r "," s "," s "," rrrrr "," s s sssssssss s sss s ss","r srrrrrrrr rrrrrrs rr r "," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss ss s ss"," s s sssssssss s ss s ss"," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr rr "," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," rr "," s "," rs ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrr rr r "," r "," s ","r srrrrrrrr rrrrrrs rr r ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s s sssssssss s ss s ss","r rrrrrrrrr rrrrrrr rr rr "," r "],c.actionTableNumber=[" 1 0 /.-,+*)(' & %$ # \"!"," J ","a aaaaaaaaa aaaaaaa aa a "," YYYYY "," 1 0 /.-,+*)(' & %$ # \"!","K1 KKKKKKKK . +*)('KKKKKK KK# K\" "," 1 0 /.-,+*)(' & %$ # \"!"," N "," O ","e eeeeeeeee eeeeeee ee ee ","f fffffffff fffffff ff ff ","d ddddddddd ddddddd dd dd ","B BBBBBBBBB BBBBBBB BB BB ","A AAAAAAAAA AAAAAAA AA AA "," P "," Q "," 1 . +*)(' # \" ","b bbbbbbbbb bbbbbbb bb b "," ","! S !! ! ",'" T" "" " ',"$ V $$ U $$ $ ","& &ZY&& &XW && & ",") ))))) )))\\[ )) ) ",". ....._^] ..... .. . ","1 11111111 11111 11 1 ","5 55555555 55555` 55 5 ","7 77777777 777777 77 7 ","9 99999999 999999 99 9 ",": c:::::::: ::::::b :: a: ","I fIIIIIIII IIIIIIe II I ","= ========= ======= == == ","? ????????? ??????? ?? ?? ","C CCCCCCCCC CCCCCCC CC CC ","J JJJJJJJJ JJJJJJ JJ J ","M MMMMMMMM MMMMMM MM M ","N NNNNNNNNN NNNNNNN NN N ","P PPPPPPPPP PPPPPPP PP P "," +*)(' ","R RRRRRRRRR RRRRRRR RR aR ","U UUUUUUUUU UUUUUUU UU U ","Z ZZZZZZZZZ ZZZZZZZ ZZ ZZ ","c ccccccccc ccccccc cc cc "," j ","L fLLLLLLLL LLLLLLe LL L ","6 66666666 66666 66 6 "," k "," l "," XXXXX "," 1 0 /.-,+*)(' & %$m # \"!","_ f________ ______e __ _ "," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 . +*)(' # \" "," 1 . +*)(' # \" ","> >>>>>>>>> >>>>>>> >> >> "," 1 . +*)(' # \" "," 1 . +*)(' # \" ","Q QQQQQQQQQ QQQQQQQ QQ aQ ","V VVVVVVVVV VVVVVVV VV aV ","T TTTTTTTTT TTTTTTT TT T ","@ @@@@@@@@@ @@@@@@@ @@ @@ "," ‡ ","[ [[[[[[[[[ [[[[[[[ [[ [[ ","D DDDDDDDDD DDDDDDD DD DD "," HH "," ˆ "," F‰ ","# T# ## # ","% V %% U %% % ","' 'ZY'' 'XW '' ' ","( (ZY(( (XW (( ( ","+ +++++ +++\\[ ++ + ","* ***** ***\\[ ** * ","- ----- ---\\[ -- - ",", ,,,,, ,,,\\[ ,, , ","0 00000_^] 00000 00 0 ","/ /////_^] ///// // / ","2 22222222 22222 22 2 ","3 33333333 33333 33 3 ","4 44444444 44444 44 4 ","8 88888888 888888 88 8 "," ^ "," Š ","; f;;;;;;;; ;;;;;;e ;; ; ","< f<<<<<<<< <<<<<?@ AB CDEFGH IJ "," "," "," ","L456789:;<=>?@ AB CDEFGH IJ "," M EFGH IJ "," N;<=>?@ AB CDEFGH IJ "," "," "," "," "," "," "," "," "," "," S EFGH IJ "," "," "," "," "," "," "," "," "," "," "," "," "," e "," "," "," "," "," "," "," "," "," h J "," i j "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABpqCDEFGH IJ "," "," r6789:;<=>?@ AB CDEFGH IJ "," s789:;<=>?@ AB CDEFGH IJ "," t89:;<=>?@ AB CDEFGH IJ "," u89:;<=>?@ AB CDEFGH IJ "," v9:;<=>?@ AB CDEFGH IJ "," w9:;<=>?@ AB CDEFGH IJ "," x9:;<=>?@ AB CDEFGH IJ "," y9:;<=>?@ AB CDEFGH IJ "," z:;<=>?@ AB CDEFGH IJ "," {:;<=>?@ AB CDEFGH IJ "," |;<=>?@ AB CDEFGH IJ "," };<=>?@ AB CDEFGH IJ "," ~;<=>?@ AB CDEFGH IJ "," =>?@ AB CDEFGH IJ ","€456789:;<=>?@ AB CDEFGH IJ"," ‚ EFGH IJ "," ƒ EFGH IJ "," "," „ GH IJ "," … GH IJ "," i † "," i ‡ "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABŒqCDEFGH IJ "," "," "],c.productions=[[1,1,2],[2,1,3],[3,1,4],[3,3,3,-9,4],[4,1,5],[4,3,4,-8,5],[5,1,6],[5,3,5,-22,6],[5,3,5,-5,6],[6,1,7],[6,3,6,-23,7],[6,3,6,-24,7],[6,3,6,-6,7],[6,3,6,-7,7],[7,1,8],[7,3,7,-25,8],[7,3,7,-26,8],[8,1,9],[8,3,8,-12,9],[8,3,8,-11,9],[8,3,8,-10,9],[9,1,10],[9,2,-26,9],[10,1,11],[10,3,10,-27,11],[11,1,12],[11,1,13],[11,3,13,-28,14],[11,3,13,-4,14],[13,1,15],[13,2,13,16],[15,1,17],[15,3,-29,2,-30],[15,1,-15],[15,1,-16],[15,1,18],[18,3,-13,-29,-30],[18,4,-13,-29,19,-30],[19,1,20],[19,3,20,-31,19],[20,1,2],[12,1,14],[12,1,21],[21,1,-28],[21,2,-28,14],[21,1,22],[14,1,23],[14,3,14,-28,23],[14,1,24],[23,2,25,26],[23,1,26],[23,3,25,26,27],[23,2,26,27],[23,1,28],[27,1,16],[27,2,16,27],[25,2,-14,-3],[25,1,-32],[26,1,29],[26,3,-20,-29,-30],[26,4,-21,-29,-15,-30],[16,3,-33,30,-34],[30,1,2],[22,2,-4,14],[24,3,14,-4,23],[28,1,-35],[28,1,-2],[17,2,-36,-18],[29,1,-17],[29,1,-19],[29,1,-18]],c.DOUBLEDOT=2,c.DOUBLECOLON=3,c.DOUBLESLASH=4,c.NOTEQUAL=5,c.LESSTHANOREQUAL=6,c.GREATERTHANOREQUAL=7,c.AND=8,c.OR=9,c.MOD=10,c.DIV=11,c.MULTIPLYOPERATOR=12,c.FUNCTIONNAME=13,c.AXISNAME=14,c.LITERAL=15,c.NUMBER=16,c.ASTERISKNAMETEST=17,c.QNAME=18,c.NCNAMECOLONASTERISK=19,c.NODETYPE=20,c.PROCESSINGINSTRUCTIONWITHLITERAL=21,c.EQUALS=22,c.LESSTHAN=23,c.GREATERTHAN=24,c.PLUS=25,c.MINUS=26,c.BAR=27,c.SLASH=28,c.LEFTPARENTHESIS=29,c.RIGHTPARENTHESIS=30,c.COMMA=31,c.AT=32,c.LEFTBRACKET=33,c.RIGHTBRACKET=34,c.DOT=35,c.DOLLAR=36,c.prototype.tokenize=function(e){for(var t=[],r=[],n=e+"\0",o=0,i=n.charAt(o++);;){for(;" "==i||"\t"==i||"\r"==i||"\n"==i;)i=n.charAt(o++);if("\0"==i||o>=n.length)break;if("("!=i)if(")"!=i)if("["!=i)if("]"!=i)if("@"!=i)if(","!=i)if("|"!=i)if("+"!=i)if("-"!=i)if("="!=i)if("$"!=i)if("."!=i)if("'"!=i&&'"'!=i)if(i>="0"&&i<="9"){for(p=i,i=n.charAt(o++);i>="0"&&i<="9";)p+=i,i=n.charAt(o++);if("."==i&&n.charAt(o)>="0"&&n.charAt(o)<="9")for(p+=i,p+=n.charAt(o++),i=n.charAt(o++);i>="0"&&i<="9";)p+=i,i=n.charAt(o++);t.push(c.NUMBER),r.push(p)}else if("*"!=i)if(":"!=i||":"!=n.charAt(o))if("/"!=i)if("!"!=i||"="!=n.charAt(o))if("<"!=i)if(">"!=i){if("_"!=i&&!$.isLetter(i.charCodeAt(0)))throw new Error("Unexpected character "+i);var s=i;for(i=n.charAt(o++);$.isNCNameChar(i.charCodeAt(0));)s+=i,i=n.charAt(o++);if(t.length>0&&(a=t[t.length-1])!=c.AT&&a!=c.DOUBLECOLON&&a!=c.LEFTPARENTHESIS&&a!=c.LEFTBRACKET&&a!=c.AND&&a!=c.OR&&a!=c.MOD&&a!=c.DIV&&a!=c.MULTIPLYOPERATOR&&a!=c.SLASH&&a!=c.DOUBLESLASH&&a!=c.BAR&&a!=c.PLUS&&a!=c.MINUS&&a!=c.EQUALS&&a!=c.NOTEQUAL&&a!=c.LESSTHAN&&a!=c.LESSTHANOREQUAL&&a!=c.GREATERTHAN&&a!=c.GREATERTHANOREQUAL){if("and"==s){t.push(c.AND),r.push(s);continue}if("or"==s){t.push(c.OR),r.push(s);continue}if("mod"==s){t.push(c.MOD),r.push(s);continue}if("div"==s){t.push(c.DIV),r.push(s);continue}}if(":"==i){if("*"==n.charAt(o)){t.push(c.NCNAMECOLONASTERISK),r.push(s+":*"),o++,i=n.charAt(o++);continue}if("_"==n.charAt(o)||$.isLetter(n.charCodeAt(o))){for(s+=":",i=n.charAt(o++);$.isNCNameChar(i.charCodeAt(0));)s+=i,i=n.charAt(o++);if("("==i){t.push(c.FUNCTIONNAME),r.push(s);continue}t.push(c.QNAME),r.push(s);continue}if(":"==n.charAt(o)){t.push(c.AXISNAME),r.push(s);continue}}if("("==i){if("comment"==s||"text"==s||"node"==s){t.push(c.NODETYPE),r.push(s);continue}if("processing-instruction"==s){")"==n.charAt(o)?t.push(c.NODETYPE):t.push(c.PROCESSINGINSTRUCTIONWITHLITERAL),r.push(s);continue}t.push(c.FUNCTIONNAME),r.push(s);continue}t.push(c.QNAME),r.push(s)}else{if("="==n.charAt(o)){t.push(c.GREATERTHANOREQUAL),r.push(">="),o++,i=n.charAt(o++);continue}t.push(c.GREATERTHAN),r.push(">"),i=n.charAt(o++)}else{if("="==n.charAt(o)){t.push(c.LESSTHANOREQUAL),r.push("<="),o++,i=n.charAt(o++);continue}t.push(c.LESSTHAN),r.push("<"),i=n.charAt(o++)}else t.push(c.NOTEQUAL),r.push("!="),o++,i=n.charAt(o++);else{if("/"==(i=n.charAt(o++))){t.push(c.DOUBLESLASH),r.push("//"),i=n.charAt(o++);continue}t.push(c.SLASH),r.push("/")}else t.push(c.DOUBLECOLON),r.push("::"),o++,i=n.charAt(o++);else{var a;if(t.length>0&&(a=t[t.length-1])!=c.AT&&a!=c.DOUBLECOLON&&a!=c.LEFTPARENTHESIS&&a!=c.LEFTBRACKET&&a!=c.AND&&a!=c.OR&&a!=c.MOD&&a!=c.DIV&&a!=c.MULTIPLYOPERATOR&&a!=c.SLASH&&a!=c.DOUBLESLASH&&a!=c.BAR&&a!=c.PLUS&&a!=c.MINUS&&a!=c.EQUALS&&a!=c.NOTEQUAL&&a!=c.LESSTHAN&&a!=c.LESSTHANOREQUAL&&a!=c.GREATERTHAN&&a!=c.GREATERTHANOREQUAL){t.push(c.MULTIPLYOPERATOR),r.push(i),i=n.charAt(o++);continue}t.push(c.ASTERISKNAMETEST),r.push(i),i=n.charAt(o++)}else{for(var u=i,l="";o="0"&&i<="9"){var p="."+i;for(i=n.charAt(o++);i>="0"&&i<="9";)p+=i,i=n.charAt(o++);t.push(c.NUMBER),r.push(p);continue}t.push(c.DOT),r.push(".")}else t.push(c.DOLLAR),r.push(i),i=n.charAt(o++);else t.push(c.EQUALS),r.push(i),i=n.charAt(o++);else t.push(c.MINUS),r.push(i),i=n.charAt(o++);else t.push(c.PLUS),r.push(i),i=n.charAt(o++);else t.push(c.BAR),r.push(i),i=n.charAt(o++);else t.push(c.COMMA),r.push(i),i=n.charAt(o++);else t.push(c.AT),r.push(i),i=n.charAt(o++);else t.push(c.RIGHTBRACKET),r.push(i),i=n.charAt(o++);else t.push(c.LEFTBRACKET),r.push(i),i=n.charAt(o++);else t.push(c.RIGHTPARENTHESIS),r.push(i),i=n.charAt(o++);else t.push(c.LEFTPARENTHESIS),r.push(i),i=n.charAt(o++)}return t.push(1),r.push("[EOF]"),[t,r]},c.SHIFT="s",c.REDUCE="r",c.ACCEPT="a",c.prototype.parse=function(e){var t,r,n=this.tokenize(e);if(null!=n){t=n[0],r=n[1];var o,i,s=0,a=[],u=[],p=[];for(a.push(0),u.push(1),p.push("_S"),o=t[s],i=r[s++];;)switch(e=a[a.length-1],c.actionTable[e].charAt(o-1)){case c.SHIFT:u.push(-o),p.push(i),a.push(c.actionTableNumber[e].charCodeAt(o-1)-32),o=t[s],i=r[s++];break;case c.REDUCE:for(var h=c.productions[c.actionTableNumber[e].charCodeAt(o-1)-32][1],f=[],d=0;d"},h.prototype.evaluate=function(e){throw new Error("Could not evaluate expression.")},f.prototype=new h,f.prototype.constructor=f,f.superclass=h.prototype,f.prototype.init=function(e){this.rhs=e},d.prototype=new f,d.prototype.constructor=d,d.superclass=f.prototype,d.prototype.init=function(e){d.superclass.init.call(this,e)},d.prototype.evaluate=function(e){return this.rhs.evaluate(e).number().negate()},d.prototype.toString=function(){return"-"+this.rhs.toString()},m.prototype=new h,m.prototype.constructor=m,m.superclass=h.prototype,m.prototype.init=function(e,t){this.lhs=e,this.rhs=t},g.prototype=new m,g.prototype.constructor=g,g.superclass=m.prototype,g.prototype.init=function(e,t){g.superclass.init.call(this,e,t)},g.prototype.toString=function(){return"("+this.lhs.toString()+" or "+this.rhs.toString()+")"},g.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?t:this.rhs.evaluate(e).bool()},N.prototype=new m,N.prototype.constructor=N,N.superclass=m.prototype,N.prototype.init=function(e,t){N.superclass.init.call(this,e,t)},N.prototype.toString=function(){return"("+this.lhs.toString()+" and "+this.rhs.toString()+")"},N.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?this.rhs.evaluate(e).bool():t},y.prototype=new m,y.prototype.constructor=y,y.superclass=m.prototype,y.prototype.init=function(e,t){y.superclass.init.call(this,e,t)},y.prototype.toString=function(){return"("+this.lhs.toString()+" = "+this.rhs.toString()+")"},y.prototype.evaluate=function(e){return this.lhs.evaluate(e).equals(this.rhs.evaluate(e))},b.prototype=new m,b.prototype.constructor=b,b.superclass=m.prototype,b.prototype.init=function(e,t){b.superclass.init.call(this,e,t)},b.prototype.toString=function(){return"("+this.lhs.toString()+" != "+this.rhs.toString()+")"},b.prototype.evaluate=function(e){return this.lhs.evaluate(e).notequal(this.rhs.evaluate(e))},E.prototype=new m,E.prototype.constructor=E,E.superclass=m.prototype,E.prototype.init=function(e,t){E.superclass.init.call(this,e,t)},E.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthan(this.rhs.evaluate(e))},E.prototype.toString=function(){return"("+this.lhs.toString()+" < "+this.rhs.toString()+")"},v.prototype=new m,v.prototype.constructor=v,v.superclass=m.prototype,v.prototype.init=function(e,t){v.superclass.init.call(this,e,t)},v.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthan(this.rhs.evaluate(e))},v.prototype.toString=function(){return"("+this.lhs.toString()+" > "+this.rhs.toString()+")"},w.prototype=new m,w.prototype.constructor=w,w.superclass=m.prototype,w.prototype.init=function(e,t){w.superclass.init.call(this,e,t)},w.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthanorequal(this.rhs.evaluate(e))},w.prototype.toString=function(){return"("+this.lhs.toString()+" <= "+this.rhs.toString()+")"},T.prototype=new m,T.prototype.constructor=T,T.superclass=m.prototype,T.prototype.init=function(e,t){T.superclass.init.call(this,e,t)},T.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthanorequal(this.rhs.evaluate(e))},T.prototype.toString=function(){return"("+this.lhs.toString()+" >= "+this.rhs.toString()+")"},A.prototype=new m,A.prototype.constructor=A,A.superclass=m.prototype,A.prototype.init=function(e,t){A.superclass.init.call(this,e,t)},A.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().plus(this.rhs.evaluate(e).number())},A.prototype.toString=function(){return"("+this.lhs.toString()+" + "+this.rhs.toString()+")"},S.prototype=new m,S.prototype.constructor=S,S.superclass=m.prototype,S.prototype.init=function(e,t){S.superclass.init.call(this,e,t)},S.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().minus(this.rhs.evaluate(e).number())},S.prototype.toString=function(){return"("+this.lhs.toString()+" - "+this.rhs.toString()+")"},x.prototype=new m,x.prototype.constructor=x,x.superclass=m.prototype,x.prototype.init=function(e,t){x.superclass.init.call(this,e,t)},x.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().multiply(this.rhs.evaluate(e).number())},x.prototype.toString=function(){return"("+this.lhs.toString()+" * "+this.rhs.toString()+")"},D.prototype=new m,D.prototype.constructor=D,D.superclass=m.prototype,D.prototype.init=function(e,t){D.superclass.init.call(this,e,t)},D.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().div(this.rhs.evaluate(e).number())},D.prototype.toString=function(){return"("+this.lhs.toString()+" div "+this.rhs.toString()+")"},R.prototype=new m,R.prototype.constructor=R,R.superclass=m.prototype,R.prototype.init=function(e,t){R.superclass.init.call(this,e,t)},R.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().mod(this.rhs.evaluate(e).number())},R.prototype.toString=function(){return"("+this.lhs.toString()+" mod "+this.rhs.toString()+")"},O.prototype=new m,O.prototype.constructor=O,O.superclass=m.prototype,O.prototype.init=function(e,t){O.superclass.init.call(this,e,t)},O.prototype.evaluate=function(e){return this.lhs.evaluate(e).nodeset().union(this.rhs.evaluate(e).nodeset())},O.prototype.toString=function(){return n(o,[this.lhs,this.rhs]).join(" | ")},L.prototype=new h,L.prototype.constructor=L,L.superclass=h.prototype,L.prototype.init=function(e,t,r){L.superclass.init.call(this),this.filter=e,this.filterPredicates=t,this.locationPath=r},L.applyPredicates=function(e,n,o){if(0===e.length)return o;var i=n.extend({});return r((function(e,r){return i.contextSize=e.length,n=function(e,t){return i.contextNode=e,i.contextPosition=t+1,L.predicateMatches(r,i)},o=[],t((function(e,t){n(e,t)&&o.push(e)}),e),o;var n,o}),o,e)},L.getRoot=function(e,t){var r=t[0];if(9===r.nodeType)return r;if(e.virtualRoot)return e.virtualRoot;var n=r.ownerDocument;if(n)return n;for(var o=r;null!=o.parentNode;)o=o.parentNode;return o},L.applyStep=function(e,t,r){var n=[];switch(t.contextNode=r,e.axis){case P.ANCESTOR:if(t.contextNode===t.virtualRoot)break;for(o=2==t.contextNode.nodeType?L.getOwnerElement(t.contextNode):t.contextNode.parentNode;null!=o&&(e.nodeTest.matches(o,t)&&n.push(o),o!==t.virtualRoot);)o=o.parentNode;break;case P.ANCESTORORSELF:for(var o=t.contextNode;null!=o&&(e.nodeTest.matches(o,t)&&n.push(o),o!==t.virtualRoot);o=2==o.nodeType?L.getOwnerElement(o):o.parentNode);break;case P.ATTRIBUTE:var i=t.contextNode.attributes;if(null!=i)for(var s=0;s0;)for(o=a.pop();null!=o;)e.nodeTest.matches(o,t)&&n.push(o),null!=o.firstChild?(a.push(o.nextSibling),o=o.firstChild):o=o.nextSibling;break;case P.DESCENDANTORSELF:for(e.nodeTest.matches(t.contextNode,t)&&n.push(t.contextNode),a=[t.contextNode.firstChild];a.length>0;)for(o=a.pop();null!=o;)e.nodeTest.matches(o,t)&&n.push(o),null!=o.firstChild?(a.push(o.nextSibling),o=o.firstChild):o=o.nextSibling;break;case P.FOLLOWING:if(t.contextNode===t.virtualRoot)break;for(a=[],null!=t.contextNode.firstChild?a.unshift(t.contextNode.firstChild):a.unshift(t.contextNode.nextSibling),o=t.contextNode.parentNode;null!=o&&9!=o.nodeType&&o!==t.virtualRoot;o=o.parentNode)a.unshift(o.nextSibling);do{for(o=a.pop();null!=o;)e.nodeTest.matches(o,t)&&n.push(o),null!=o.firstChild?(a.push(o.nextSibling),o=o.firstChild):o=o.nextSibling}while(a.length>0);break;case P.FOLLOWINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(o=t.contextNode.nextSibling;null!=o;o=o.nextSibling)e.nodeTest.matches(o,t)&&n.push(o);break;case P.NAMESPACE:var u={};if(1==t.contextNode.nodeType){for(u.xml=l.XML_NAMESPACE_URI,u.xmlns=l.XMLNS_NAMESPACE_URI,o=t.contextNode;null!=o&&1==o.nodeType;o=o.parentNode)for(s=0;s6&&"xmlns:"==p.substring(0,6)&&null==u[h=p.substring(6,p.length)]&&(u[h]=c.value)}for(var h in u){var f=new X(h,u[h],t.contextNode);e.nodeTest.matches(f,t)&&n.push(f)}}break;case P.PARENT:o=null,t.contextNode!==t.virtualRoot&&(o=2==t.contextNode.nodeType?L.getOwnerElement(t.contextNode):t.contextNode.parentNode),null!=o&&e.nodeTest.matches(o,t)&&n.push(o);break;case P.PRECEDING:a=null!=t.virtualRoot?[t.virtualRoot]:[I(t.contextNode)];e:for(;a.length>0;)for(o=a.pop();null!=o;){if(o==t.contextNode)break e;e.nodeTest.matches(o,t)&&n.unshift(o),null!=o.firstChild?(a.push(o.nextSibling),o=o.firstChild):o=o.nextSibling}break;case P.PRECEDINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(o=t.contextNode.previousSibling;null!=o;o=o.previousSibling)e.nodeTest.matches(o,t)&&n.push(o);break;case P.SELF:e.nodeTest.matches(t.contextNode,t)&&n.push(t.contextNode)}return n},L.applySteps=function(e,t,n){return r(q.bind(null,t),n,e)},L.prototype.applyFilter=function(e,t){if(!this.filter)return{nodes:[e.contextNode]};var r=this.filter.evaluate(e);if(!$.instance_of(r,j)){if(null!=this.filterPredicates&&this.filterPredicates.length>0||null!=this.locationPath)throw new Error("Path expression filter must evaluate to a nodeset if predicates or location path are used");return{nonNodes:r}}return{nodes:L.applyPredicates(this.filterPredicates||[],t,r.toUnsortedArray())}},L.applyLocationPath=function(e,t,r){if(!e)return r;var n=e.absolute?[L.getRoot(t,r)]:r;return L.applySteps(e.steps,t,n)},L.prototype.evaluate=function(e){var t=u(new Y,e),r=this.applyFilter(e,t);if("nonNodes"in r)return r.nonNodes;var n=new j;return n.addArray(L.applyLocationPath(this.locationPath,t,r.nodes)),n},L.predicateMatches=function(e,t){var r=e.evaluate(t);return $.instance_of(r,B)?t.contextPosition===r.numberValue():r.booleanValue()},L.predicateString=function(e){return s("[","]",e.toString())},L.predicatesString=function(e){return i("",n(L.predicateString,e))},L.prototype.toString=function(){if(null!=this.filter){var e=o(this.filter);return $.instance_of(this.filter,V)?s("'","'",e):null!=this.filterPredicates&&this.filterPredicates.length?s("(",")",e)+L.predicatesString(this.filterPredicates):null!=this.locationPath?e+(this.locationPath.absolute?"":"/")+o(this.locationPath):e}return o(this.locationPath)},L.getOwnerElement=function(e){if(e.ownerElement)return e.ownerElement;try{if(e.selectSingleNode)return e.selectSingleNode("..")}catch(e){}for(var t=(9==e.nodeType?e:e.ownerDocument).getElementsByTagName("*"),r=0;r"},M.prototype.matches=function(e,t){console.warn("unknown node test type")},M.NAMETESTANY=0,M.NAMETESTPREFIXANY=1,M.NAMETESTQNAME=2,M.COMMENT=3,M.TEXT=4,M.PI=5,M.NODE=6,M.isNodeType=function(e){return function(t){return function(e,t){for(var r=0;r1?t[0]:null,this.localName=t[t.length>1?1:0]})),M.PITest=M.makeNodeTestType(M.PI,{matches:function(e,t){return M.isNodeType([7])(e)&&(e.target||e.nodeName)===this.name},toString:function(){return s('processing-instruction("','")',this.name)}},(function(e){this.name=e})),M.nameTestAny=M.makeNodeTypeTest(M.NAMETESTANY,[1,2,X.XPATH_NAMESPACE_NODE],"*"),M.textTest=M.makeNodeTypeTest(M.TEXT,[3,4],"text()"),M.commentTest=M.makeNodeTypeTest(M.COMMENT,[8],"comment()"),M.nodeTest=M.makeNodeTypeTest(M.NODE,[1,2,3,4,7,8,9],"node()"),M.anyPiTest=M.makeNodeTypeTest(M.PI,[7],"processing-instruction()"),U.prototype=new h,U.prototype.constructor=U,U.superclass=h.prototype,U.prototype.init=function(e){this.variable=e},U.prototype.toString=function(){return"$"+this.variable},U.prototype.evaluate=function(e){var t=$.resolveQName(this.variable,e.namespaceResolver,e.contextNode,!1);if(null==t[0])throw new Error("Cannot resolve QName "+fn);var r=e.variableResolver.getVariable(t[1],t[0]);if(!r)throw Z.fromMessage("Undeclared variable: "+this.toString());return r},F.prototype=new h,F.prototype.constructor=F,F.superclass=h.prototype,F.prototype.init=function(e,t){this.functionName=e,this.arguments=t},F.prototype.toString=function(){for(var e=this.functionName+"(",t=0;t0&&(e+=", "),e+=this.arguments[t].toString();return e+")"},F.prototype.evaluate=function(e){var t=Q.getFunctionFromContext(this.functionName,e);if(!t)throw new Error("Unknown function "+this.functionName);var r=[e].concat(this.arguments);return t.apply(e.functionResolver.thisArg,r)};var k=new Object;function V(e){arguments.length>0&&this.init(e)}function B(e){arguments.length>0&&this.init(e)}function H(e){arguments.length>0&&this.init(e)}function G(e){this.init(e)}function j(){this.init()}function X(e,t,r){this.isXPathNamespace=!0,this.ownerDocument=r.ownerDocument,this.nodeName="#namespace",this.prefix=e,this.localName=e,this.namespaceURI=t,this.nodeValue=t,this.ownerElement=r,this.nodeType=X.XPATH_NAMESPACE_NODE}function Y(e,t,r){this.variableResolver=null!=e?e:new W,this.namespaceResolver=null!=t?t:new J,this.functionResolver=null!=r?r:new Q}function W(){}function Q(e){this.thisArg=null!=e?e:z,this.functions=new Object,this.addStandardFunctions()}function J(){}k.equals=function(e,t){return e.equals(t)},k.notequal=function(e,t){return e.notequal(t)},k.lessthan=function(e,t){return e.lessthan(t)},k.greaterthan=function(e,t){return e.greaterthan(t)},k.lessthanorequal=function(e,t){return e.lessthanorequal(t)},k.greaterthanorequal=function(e,t){return e.greaterthanorequal(t)},V.prototype=new h,V.prototype.constructor=V,V.superclass=h.prototype,V.prototype.init=function(e){this.str=String(e)},V.prototype.toString=function(){return this.str},V.prototype.evaluate=function(e){return this},V.prototype.string=function(){return this},V.prototype.number=function(){return new B(this.str)},V.prototype.bool=function(){return new H(this.str)},V.prototype.nodeset=function(){throw new Error("Cannot convert string to nodeset")},V.prototype.stringValue=function(){return this.str},V.prototype.numberValue=function(){return this.number().numberValue()},V.prototype.booleanValue=function(){return this.bool().booleanValue()},V.prototype.equals=function(e){return $.instance_of(e,H)?this.bool().equals(e):$.instance_of(e,B)?this.number().equals(e):$.instance_of(e,j)?e.compareWithString(this,k.equals):new H(this.str==e.str)},V.prototype.notequal=function(e){return $.instance_of(e,H)?this.bool().notequal(e):$.instance_of(e,B)?this.number().notequal(e):$.instance_of(e,j)?e.compareWithString(this,k.notequal):new H(this.str!=e.str)},V.prototype.lessthan=function(e){return this.number().lessthan(e)},V.prototype.greaterthan=function(e){return this.number().greaterthan(e)},V.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},V.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},B.prototype=new h,B.prototype.constructor=B,B.superclass=h.prototype,B.prototype.init=function(e){this.num="string"==typeof e?this.parse(e):Number(e)},B.prototype.numberFormat=/^\s*-?[0-9]*\.?[0-9]+\s*$/,B.prototype.parse=function(e){return this.numberFormat.test(e)?parseFloat(e):Number.NaN},B.prototype.toString=function(){var e=this.num.toString();return-1!==e.indexOf("e-")?function(e){for(var t=e.split("e-"),r=t[0].replace(".",""),n=Number(t[1]),o=0;oe.num)},B.prototype.lessthanorequal=function(e){return $.instance_of(e,j)?e.compareWithNumber(this,k.greaterthanorequal):$.instance_of(e,H)||$.instance_of(e,V)?this.lessthanorequal(e.number()):new H(this.num<=e.num)},B.prototype.greaterthanorequal=function(e){return $.instance_of(e,j)?e.compareWithNumber(this,k.lessthanorequal):$.instance_of(e,H)||$.instance_of(e,V)?this.greaterthanorequal(e.number()):new H(this.num>=e.num)},B.prototype.plus=function(e){return new B(this.num+e.num)},B.prototype.minus=function(e){return new B(this.num-e.num)},B.prototype.multiply=function(e){return new B(this.num*e.num)},B.prototype.div=function(e){return new B(this.num/e.num)},B.prototype.mod=function(e){return new B(this.num%e.num)},H.prototype=new h,H.prototype.constructor=H,H.superclass=h.prototype,H.prototype.init=function(e){this.b=Boolean(e)},H.prototype.toString=function(){return this.b.toString()},H.prototype.evaluate=function(e){return this},H.prototype.string=function(){return new V(this.b)},H.prototype.number=function(){return new B(this.b)},H.prototype.bool=function(){return this},H.prototype.nodeset=function(){throw new Error("Cannot convert boolean to nodeset")},H.prototype.stringValue=function(){return this.string().stringValue()},H.prototype.numberValue=function(){return this.number().numberValue()},H.prototype.booleanValue=function(){return this.b},H.prototype.not=function(){return new H(!this.b)},H.prototype.equals=function(e){return $.instance_of(e,V)||$.instance_of(e,B)?this.equals(e.bool()):$.instance_of(e,j)?e.compareWithBoolean(this,k.equals):new H(this.b==e.b)},H.prototype.notequal=function(e){return $.instance_of(e,V)||$.instance_of(e,B)?this.notequal(e.bool()):$.instance_of(e,j)?e.compareWithBoolean(this,k.notequal):new H(this.b!=e.b)},H.prototype.lessthan=function(e){return this.number().lessthan(e)},H.prototype.greaterthan=function(e){return this.number().greaterthan(e)},H.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},H.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},H.true_=new H(!0),H.false_=new H(!1),G.prototype=new Object,G.prototype.constructor=G,G.superclass=Object.prototype,G.prototype.init=function(e){this.left=null,this.right=null,this.node=e,this.depth=1},G.prototype.balance=function(){var e=null==this.left?0:this.left.depth,t=null==this.right?0:this.right.depth;if(e>t+1)(null==this.left.left?0:this.left.left.depth)<(null==this.left.right?0:this.left.right.depth)&&this.left.rotateRR(),this.rotateLL();else if(e+1r&&this.right.rotateLL(),this.rotateRR()}},G.prototype.rotateLL=function(){var e=this.node,t=this.right;this.node=this.left.node,this.right=this.left,this.left=this.left.left,this.right.left=this.right.right,this.right.right=t,this.right.node=e,this.right.updateInNewLocation(),this.updateInNewLocation()},G.prototype.rotateRR=function(){var e=this.node,t=this.left;this.node=this.right.node,this.left=this.right,this.right=this.right.right,this.left.right=this.left.left,this.left.left=t,this.left.node=e,this.left.updateInNewLocation(),this.updateInNewLocation()},G.prototype.updateInNewLocation=function(){this.getDepthFromChildren()},G.prototype.getDepthFromChildren=function(){this.depth=null==this.node?0:1,null!=this.left&&(this.depth=this.left.depth+1),null!=this.right&&this.depth<=this.right.depth&&(this.depth=this.right.depth+1)},G.prototype.add=function(e){if(e===this.node)return!1;var t=function(e,t){if(e===t)return 0;if(e.compareDocumentPosition){var r=e.compareDocumentPosition(t);return 1&r||10&r?1:20&r?-1:0}for(var n=0,o=0,i=e;null!=i;i=i.parentNode||i.ownerElement)n++;for(var s=t;null!=s;s=s.parentNode||s.ownerElement)o++;if(n>o){for(;n>o;)e=e.parentNode||e.ownerElement,n--;if(e===t)return 1}else if(o>n){for(;o>n;)t=t.parentNode||t.ownerElement,o--;if(e===t)return-1}for(var a=e.parentNode||e.ownerElement,u=t.parentNode||t.ownerElement;a!==u;)t=u,a=(e=a).parentNode||e.ownerElement,u=t.parentNode||t.ownerElement;var c=$.isAttribute(e),l=$.isAttribute(t);if(c&&!l)return-1;if(!c&&l)return 1;if(a)for(var p=c?a.attributes:a.childNodes,h=p.length,f=0;fc.length?"":c[r]),e}),{},u);return new V(i("",n((function(e){return e in l?l[e]:e}),a)))},z.boolean_=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function boolean expects (object)");return arguments[1].evaluate(e).bool()},z.not=function(e,t){if(2!=arguments.length)throw new Error("Function not expects (object)");return t.evaluate(e).bool().not()},z.true_=function(){if(1!=arguments.length)throw new Error("Function true expects ()");return H.true_},z.false_=function(){if(1!=arguments.length)throw new Error("Function false expects ()");return H.false_},z.lang=function(){var e,t=arguments[0];if(2!=arguments.length)throw new Error("Function lang expects (string)");for(var r=t.contextNode;null!=r&&9!=r.nodeType;r=r.parentNode){var n=r.getAttributeNS(l.XML_NAMESPACE_URI,"lang");if(null!=n){e=String(n);break}}if(null==e)return H.false_;var o=arguments[1].evaluate(t).stringValue();return new H(e.substring(0,o.length)==o&&(e.length==o.length||"-"==e.charAt(o.length)))},z.number=function(){var e=arguments[0];if(1!=arguments.length&&2!=arguments.length)throw new Error("Function number expects (object?)");return 1==arguments.length?new B(j.prototype.stringForNode(e.contextNode)):arguments[1].evaluate(e).number()},z.sum=function(){var e,t=arguments[0];if(2!=arguments.length||!$.instance_of(e=arguments[1].evaluate(t),j))throw new Error("Function sum expects (node-set)");e=e.toUnsortedArray();for(var r=0,n=0;n=65&&e<=90||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=255||e>=256&&e<=305||e>=308&&e<=318||e>=321&&e<=328||e>=330&&e<=382||e>=384&&e<=451||e>=461&&e<=496||e>=500&&e<=501||e>=506&&e<=535||e>=592&&e<=680||e>=699&&e<=705||902==e||e>=904&&e<=906||908==e||e>=910&&e<=929||e>=931&&e<=974||e>=976&&e<=982||986==e||988==e||990==e||992==e||e>=994&&e<=1011||e>=1025&&e<=1036||e>=1038&&e<=1103||e>=1105&&e<=1116||e>=1118&&e<=1153||e>=1168&&e<=1220||e>=1223&&e<=1224||e>=1227&&e<=1228||e>=1232&&e<=1259||e>=1262&&e<=1269||e>=1272&&e<=1273||e>=1329&&e<=1366||1369==e||e>=1377&&e<=1414||e>=1488&&e<=1514||e>=1520&&e<=1522||e>=1569&&e<=1594||e>=1601&&e<=1610||e>=1649&&e<=1719||e>=1722&&e<=1726||e>=1728&&e<=1742||e>=1744&&e<=1747||1749==e||e>=1765&&e<=1766||e>=2309&&e<=2361||2365==e||e>=2392&&e<=2401||e>=2437&&e<=2444||e>=2447&&e<=2448||e>=2451&&e<=2472||e>=2474&&e<=2480||2482==e||e>=2486&&e<=2489||e>=2524&&e<=2525||e>=2527&&e<=2529||e>=2544&&e<=2545||e>=2565&&e<=2570||e>=2575&&e<=2576||e>=2579&&e<=2600||e>=2602&&e<=2608||e>=2610&&e<=2611||e>=2613&&e<=2614||e>=2616&&e<=2617||e>=2649&&e<=2652||2654==e||e>=2674&&e<=2676||e>=2693&&e<=2699||2701==e||e>=2703&&e<=2705||e>=2707&&e<=2728||e>=2730&&e<=2736||e>=2738&&e<=2739||e>=2741&&e<=2745||2749==e||2784==e||e>=2821&&e<=2828||e>=2831&&e<=2832||e>=2835&&e<=2856||e>=2858&&e<=2864||e>=2866&&e<=2867||e>=2870&&e<=2873||2877==e||e>=2908&&e<=2909||e>=2911&&e<=2913||e>=2949&&e<=2954||e>=2958&&e<=2960||e>=2962&&e<=2965||e>=2969&&e<=2970||2972==e||e>=2974&&e<=2975||e>=2979&&e<=2980||e>=2984&&e<=2986||e>=2990&&e<=2997||e>=2999&&e<=3001||e>=3077&&e<=3084||e>=3086&&e<=3088||e>=3090&&e<=3112||e>=3114&&e<=3123||e>=3125&&e<=3129||e>=3168&&e<=3169||e>=3205&&e<=3212||e>=3214&&e<=3216||e>=3218&&e<=3240||e>=3242&&e<=3251||e>=3253&&e<=3257||3294==e||e>=3296&&e<=3297||e>=3333&&e<=3340||e>=3342&&e<=3344||e>=3346&&e<=3368||e>=3370&&e<=3385||e>=3424&&e<=3425||e>=3585&&e<=3630||3632==e||e>=3634&&e<=3635||e>=3648&&e<=3653||e>=3713&&e<=3714||3716==e||e>=3719&&e<=3720||3722==e||3725==e||e>=3732&&e<=3735||e>=3737&&e<=3743||e>=3745&&e<=3747||3749==e||3751==e||e>=3754&&e<=3755||e>=3757&&e<=3758||3760==e||e>=3762&&e<=3763||3773==e||e>=3776&&e<=3780||e>=3904&&e<=3911||e>=3913&&e<=3945||e>=4256&&e<=4293||e>=4304&&e<=4342||4352==e||e>=4354&&e<=4355||e>=4357&&e<=4359||4361==e||e>=4363&&e<=4364||e>=4366&&e<=4370||4412==e||4414==e||4416==e||4428==e||4430==e||4432==e||e>=4436&&e<=4437||4441==e||e>=4447&&e<=4449||4451==e||4453==e||4455==e||4457==e||e>=4461&&e<=4462||e>=4466&&e<=4467||4469==e||4510==e||4520==e||4523==e||e>=4526&&e<=4527||e>=4535&&e<=4536||4538==e||e>=4540&&e<=4546||4587==e||4592==e||4601==e||e>=7680&&e<=7835||e>=7840&&e<=7929||e>=7936&&e<=7957||e>=7960&&e<=7965||e>=7968&&e<=8005||e>=8008&&e<=8013||e>=8016&&e<=8023||8025==e||8027==e||8029==e||e>=8031&&e<=8061||e>=8064&&e<=8116||e>=8118&&e<=8124||8126==e||e>=8130&&e<=8132||e>=8134&&e<=8140||e>=8144&&e<=8147||e>=8150&&e<=8155||e>=8160&&e<=8172||e>=8178&&e<=8180||e>=8182&&e<=8188||8486==e||e>=8490&&e<=8491||8494==e||e>=8576&&e<=8578||e>=12353&&e<=12436||e>=12449&&e<=12538||e>=12549&&e<=12588||e>=44032&&e<=55203||e>=19968&&e<=40869||12295==e||e>=12321&&e<=12329},$.isNCNameChar=function(e){return e>=48&&e<=57||e>=1632&&e<=1641||e>=1776&&e<=1785||e>=2406&&e<=2415||e>=2534&&e<=2543||e>=2662&&e<=2671||e>=2790&&e<=2799||e>=2918&&e<=2927||e>=3047&&e<=3055||e>=3174&&e<=3183||e>=3302&&e<=3311||e>=3430&&e<=3439||e>=3664&&e<=3673||e>=3792&&e<=3801||e>=3872&&e<=3881||46==e||45==e||95==e||$.isLetter(e)||e>=768&&e<=837||e>=864&&e<=865||e>=1155&&e<=1158||e>=1425&&e<=1441||e>=1443&&e<=1465||e>=1467&&e<=1469||1471==e||e>=1473&&e<=1474||1476==e||e>=1611&&e<=1618||1648==e||e>=1750&&e<=1756||e>=1757&&e<=1759||e>=1760&&e<=1764||e>=1767&&e<=1768||e>=1770&&e<=1773||e>=2305&&e<=2307||2364==e||e>=2366&&e<=2380||2381==e||e>=2385&&e<=2388||e>=2402&&e<=2403||e>=2433&&e<=2435||2492==e||2494==e||2495==e||e>=2496&&e<=2500||e>=2503&&e<=2504||e>=2507&&e<=2509||2519==e||e>=2530&&e<=2531||2562==e||2620==e||2622==e||2623==e||e>=2624&&e<=2626||e>=2631&&e<=2632||e>=2635&&e<=2637||e>=2672&&e<=2673||e>=2689&&e<=2691||2748==e||e>=2750&&e<=2757||e>=2759&&e<=2761||e>=2763&&e<=2765||e>=2817&&e<=2819||2876==e||e>=2878&&e<=2883||e>=2887&&e<=2888||e>=2891&&e<=2893||e>=2902&&e<=2903||e>=2946&&e<=2947||e>=3006&&e<=3010||e>=3014&&e<=3016||e>=3018&&e<=3021||3031==e||e>=3073&&e<=3075||e>=3134&&e<=3140||e>=3142&&e<=3144||e>=3146&&e<=3149||e>=3157&&e<=3158||e>=3202&&e<=3203||e>=3262&&e<=3268||e>=3270&&e<=3272||e>=3274&&e<=3277||e>=3285&&e<=3286||e>=3330&&e<=3331||e>=3390&&e<=3395||e>=3398&&e<=3400||e>=3402&&e<=3405||3415==e||3633==e||e>=3636&&e<=3642||e>=3655&&e<=3662||3761==e||e>=3764&&e<=3769||e>=3771&&e<=3772||e>=3784&&e<=3789||e>=3864&&e<=3865||3893==e||3895==e||3897==e||3902==e||3903==e||e>=3953&&e<=3972||e>=3974&&e<=3979||e>=3984&&e<=3989||3991==e||e>=3993&&e<=4013||e>=4017&&e<=4023||4025==e||e>=8400&&e<=8412||8417==e||e>=12330&&e<=12335||12441==e||12442==e||183==e||720==e||721==e||903==e||1600==e||3654==e||3782==e||12293==e||e>=12337&&e<=12341||e>=12445&&e<=12446||e>=12540&&e<=12542},$.coalesceText=function(e){for(var t=e.firstChild;null!=t;t=t.nextSibling)if(3==t.nodeType||4==t.nodeType){var r=t.nodeValue,n=t;for(t=t.nextSibling;null!=t&&(3==t.nodeType||4==t.nodeType);){r+=t.nodeValue;var o=t;t=t.nextSibling,o.parentNode.removeChild(o)}if(4==n.nodeType){var i=n.parentNode;if(null==n.nextSibling)i.removeChild(n),i.appendChild(i.ownerDocument.createTextNode(r));else{var s=n.nextSibling;i.removeChild(n),i.insertBefore(i.ownerDocument.createTextNode(r),s)}}else n.nodeValue=r;if(null==t)break}else 1==t.nodeType&&$.coalesceText(t)},$.instance_of=function(e,t){for(;null!=e;){if(e.constructor===t)return!0;if(e===Object)return!1;e=e.constructor.superclass}return!1},$.getElementById=function(e,t){if(1==e.nodeType&&(e.getAttribute("id")==t||e.getAttributeNS(null,"id")==t))return e;for(var r=e.firstChild;null!=r;r=r.nextSibling){var n=$.getElementById(r,t);if(null!=n)return n}return null};var Z=function(){function e(t,r,n){var o=Error.call(this,function(t,r){var n=r?": "+r.toString():"";switch(t){case e.INVALID_EXPRESSION_ERR:return"Invalid expression"+n;case e.TYPE_ERR:return"Type error"+n}return null}(t,r)||n);return o.code=t,o.exception=r,o}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.superclass=Error,e.prototype.toString=function(){return this.message},e.fromMessage=function(t,r){return new e(null,r,t)},e.INVALID_EXPRESSION_ERR=51,e.TYPE_ERR=52,e}();function K(e,t,r){this.xpath=r.parse(e),this.context=new Y,this.context.namespaceResolver=new ee(t)}function ee(e){this.xpathNSResolver=e}function te(e){this.node=e,this.namespaceResolver=new J}function re(e,t){switch(t==re.ANY_TYPE&&(e.constructor===V?t=re.STRING_TYPE:e.constructor===B?t=re.NUMBER_TYPE:e.constructor===H?t=re.BOOLEAN_TYPE:e.constructor===j&&(t=re.UNORDERED_NODE_ITERATOR_TYPE)),this.resultType=t,t){case re.NUMBER_TYPE:return void(this.numberValue=e.numberValue());case re.STRING_TYPE:return void(this.stringValue=e.stringValue());case re.BOOLEAN_TYPE:return void(this.booleanValue=e.booleanValue());case re.ANY_UNORDERED_NODE_TYPE:case re.FIRST_ORDERED_NODE_TYPE:if(e.constructor===j)return void(this.singleNodeValue=e.first());break;case re.UNORDERED_NODE_ITERATOR_TYPE:case re.ORDERED_NODE_ITERATOR_TYPE:if(e.constructor===j)return this.invalidIteratorState=!1,this.nodes=e.toArray(),void(this.iteratorIndex=0);break;case re.UNORDERED_NODE_SNAPSHOT_TYPE:case re.ORDERED_NODE_SNAPSHOT_TYPE:if(e.constructor===j)return this.nodes=e.toArray(),void(this.snapshotLength=this.nodes.length)}throw new Z(Z.TYPE_ERR)}function ne(e,t){e.createExpression=function(e,r){try{return new K(e,r,t)}catch(e){throw new Z(Z.INVALID_EXPRESSION_ERR,e)}},e.createNSResolver=function(e){return new te(e)},e.evaluate=function(r,n,o,i,s){if(i<0||i>9)throw{code:0,toString:function(){return"Request type not supported"}};return e.createExpression(r,o,t).evaluate(n,i,s)}}K.prototype={},K.prototype.constructor=K,K.superclass=Object.prototype,K.getOwnerDocument=function(e){return 9===e.nodeType?e:e.ownerDocument},K.detectHtmlDom=function(e){if(!e)return!1;var t=K.getOwnerDocument(e);try{return t.implementation.hasFeature("HTML","2.0")}catch(e){return!0}},K.prototype.evaluate=function(e,t,r){return this.context.expressionContextNode=e,this.context.caseInsensitive=K.detectHtmlDom(e),new re(this.xpath.evaluate(this.context),t)},ee.prototype={},ee.prototype.constructor=ee,ee.superclass=Object.prototype,ee.prototype.getNamespace=function(e,t){return null==this.xpathNSResolver?null:this.xpathNSResolver.lookupNamespaceURI(e)},te.prototype={},te.prototype.constructor=te,te.superclass=Object.prototype,te.prototype.lookupNamespaceURI=function(e){return this.namespaceResolver.getNamespace(e,this.node)},re.prototype={},re.prototype.constructor=re,re.superclass=Object.prototype,re.prototype.iterateNext=function(){if(this.resultType!=re.UNORDERED_NODE_ITERATOR_TYPE&&this.resultType!=re.ORDERED_NODE_ITERATOR_TYPE)throw new Z(Z.TYPE_ERR);return this.nodes[this.iteratorIndex++]},re.prototype.snapshotItem=function(e){if(this.resultType!=re.UNORDERED_NODE_SNAPSHOT_TYPE&&this.resultType!=re.ORDERED_NODE_SNAPSHOT_TYPE)throw new Z(Z.TYPE_ERR);return this.nodes[e]},re.ANY_TYPE=0,re.NUMBER_TYPE=1,re.STRING_TYPE=2,re.BOOLEAN_TYPE=3,re.UNORDERED_NODE_ITERATOR_TYPE=4,re.ORDERED_NODE_ITERATOR_TYPE=5,re.UNORDERED_NODE_SNAPSHOT_TYPE=6,re.ORDERED_NODE_SNAPSHOT_TYPE=7,re.ANY_UNORDERED_NODE_TYPE=8,re.FIRST_ORDERED_NODE_TYPE=9;try{var oe=!0;try{document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XPath",null)&&(oe=!1)}catch(e){}oe&&ne(document,new c)}catch(e){}ne(e,new c),function(){var t=new c,r=new J,n=new Q,o=new W;function i(e){return{getNamespace:function(t,n){return e(t,n)||r.getNamespace(t,n)}}}function s(e){if(null==e||e instanceof V||e instanceof H||e instanceof B||e instanceof j)return e;switch(typeof e){case"string":return new V(e);case"boolean":return new H(e);case"number":return new B(e)}var t=new j;return t.addArray([].concat(e)),t}function a(e){return{getFunction:function(t,r){var o=e(t,r);return o?function(e){return function(t){var r=Array.prototype.slice.call(arguments,1).map((function(e){return e.evaluate(t)}));return s(e.apply(this,[].concat(t,r)))}}(o):n.getFunction(t,r)}}}function u(e){return{getVariable:function(t,r){return s(e(t,r))}}}function l(e,t,r){e in r&&(t[e]=r[e])}function p(e){var t,s,c=new Y;return e?(c.namespaceResolver=(t=e.namespaces)&&"function"==typeof t.getNamespace?i((s=t).getNamespace.bind(s)):"function"==typeof t?i(t):"object"==typeof t?function(e){return i((function(t){return e[t]}))}(t):r,c.functionResolver=function(e){return e&&"function"==typeof e.getFunction?a((t=e).getFunction.bind(t)):"function"==typeof e?a(e):"object"==typeof e?function(e){return a((function(t){return e[t]}))}(e):n;var t}(e.functions),c.variableResolver=function(e){if(e){if("function"==typeof e.getVariable)return u(e.getVariable.bind(e));if("function"==typeof e)return u(e);if("object"==typeof e)return u((function(t){return e[t]}))}return o}(e.variables),c.expressionContextNode=e.node,l("allowAnyNamespaceForNoPrefix",c,e),l("isHtml",c,e)):c.namespaceResolver=r,c}var h={evaluate:function(e){return function(e,t){var r=p(t);return e.evaluate(r)}(this.expression,e)},evaluateNumber:function(e){return this.evaluate(e).numberValue()},evaluateString:function(e){return this.evaluate(e).stringValue()},evaluateBoolean:function(e){return this.evaluate(e).booleanValue()},evaluateNodeSet:function(e){return this.evaluate(e).nodeset()},select:function(e){return this.evaluateNodeSet(e).toArray()},select1:function(e){return this.select(e)[0]}};e.parse=function(e){var r=t.parse(e);return Object.create(h,{expression:{value:r}})}}(),u(e,{XPath:l,XPathParser:c,XPathResult:re,Step:P,PathExpr:L,NodeTest:M,LocationPath:_,OrOperation:g,AndOperation:N,BarOperation:O,EqualsOperation:y,NotEqualOperation:b,LessThanOperation:E,GreaterThanOperation:v,LessThanOrEqualOperation:w,GreaterThanOrEqualOperation:T,PlusOperation:A,MinusOperation:S,MultiplyOperation:x,DivOperation:D,ModOperation:R,UnaryMinusOperation:d,FunctionCall:F,VariableReference:U,XPathContext:Y,XNodeSet:j,XBoolean:H,XString:V,XNumber:B,NamespaceResolver:J,FunctionResolver:Q,VariableResolver:W,Utilities:$}),e.select=function(t,r,n){return e.selectWithResolver(t,r,null,n)},e.useNamespaces=function(t){var r={mappings:t||{},lookupNamespaceURI:function(e){return this.mappings[e]}};return function(t,n,o){return e.selectWithResolver(t,n,r,o)}},e.selectWithResolver=function(e,t,r,n){var o=new K(e,r,new c),i=re.ANY_TYPE,s=o.evaluate(t,i,null);return s.resultType==re.STRING_TYPE?s=s.stringValue:s.resultType==re.NUMBER_TYPE?s=s.numberValue:s.resultType==re.BOOLEAN_TYPE?s=s.booleanValue:(s=s.nodes,n&&(s=s[0])),s},e.select1=function(t,r){return e.select(t,r,!0)};var ie=function(e){return e&&"number"==typeof e.nodeType&&Number.isInteger(e.nodeType)&&e.nodeType>=1&&e.nodeType<=11&&"string"==typeof e.nodeName},se=function(e){return function(t){return ie(t)&&t.nodeType===e}};u(e,{isNodeLike:ie,isArrayOfNodes:function(e){return Array.isArray(e)&&e.every(ie)},isElement:se(1),isAttribute:se(2),isTextNode:se(3),isCDATASection:se(4),isProcessingInstruction:se(7),isComment:se(8),isDocumentNode:se(9),isDocumentTypeNode:se(10),isDocumentFragment:se(11)})}(t)},647:e=>{e.exports={emptyXPathError:"

Votre XPath est vide !

",exceptionError:"

Il vient d'arriver une exception de nature exceptionnelle !

",gitSources:"Hello, les dev !\nLe code source TypeScript utilisé pour faire fonctionner cette page est lisible ici : :\nhttps://forge.chapril.org/Fab_Blab/xPathTrainer/src/branch/master/src/xpathTrainer.ts",needXMLFile:"Commencer pour sélectionner un fichier",needXPath:"Saisissez votre XPath",noResultForXPath:"

Aucun résultat pour votre recherche.

",notXMLError:"

Le fichier que vous avez sélectionné ne semble pas être un fichier XML.

",resultsTitle:"

Résultats

",xpathError:"

La syntaxe du XPath saisi ne semble pas correcte.

"}}},t={};!function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}(451)})(); \ No newline at end of file diff --git a/public/images/favicon.ico b/public/images/favicon.ico new file mode 100644 index 0000000..db08a2d Binary files /dev/null and b/public/images/favicon.ico differ diff --git a/src/build/messages.js b/src/build/messages.js new file mode 100644 index 0000000..0efa91f --- /dev/null +++ b/src/build/messages.js @@ -0,0 +1,13 @@ +"use strict"; +module.exports = + { + emptyXPathError: "

Votre XPath est vide !

", + exceptionError: "

Il vient d'arriver une exception de nature exceptionnelle !

", + gitSources: "Hello, les dev !\nLe code source TypeScript utilisé pour faire fonctionner cette page est lisible ici : :\nhttps://forge.chapril.org/Fab_Blab/xPathTrainer/src/branch/master/src/xpathTrainer.ts", + needXMLFile: "Commencer pour sélectionner un fichier", + needXPath: "Saisissez votre XPath", + noResultForXPath: "

Aucun résultat pour votre recherche.

", + notXMLError: "

Le fichier que vous avez sélectionné ne semble pas être un fichier XML.

", + resultsTitle: "

Résultats

", + xpathError: "

La syntaxe du XPath saisi ne semble pas correcte.

" + }; diff --git a/src/build/xpathTrainer.js b/src/build/xpathTrainer.js index e635d3e..cb2291e 100644 --- a/src/build/xpathTrainer.js +++ b/src/build/xpathTrainer.js @@ -35,25 +35,28 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; +var messages = require("./messages.js"); var initialise = function () { + var myForm = document.getElementById("trainerForm"); + var myFile = document.getElementById("myFile"); + var myXPath = document.getElementById("myXPath"); + var testButton = document.getElementById("runTest"); + var myIframe = document.getElementById("display"); + var divResult = document.getElementById("results"); + var xpath = require('xpath'); try { - var myFile_1 = document.getElementById("myFile"); - var myXPath_1 = document.getElementById("myXPath"); - var testButton_1 = document.getElementById("runTest"); - var myIframe_1 = document.getElementById("display"); - var divResult_1 = document.getElementById("result"); - myXPath_1.disabled = true; - testButton_1.disabled = true; - myXPath_1.placeholder = "Commencer pour sélectionner un fichier"; - myIframe_1.style.display = "none"; - var xpath_1 = require('xpath'); + myXPath.disabled = true; + testButton.disabled = true; + myXPath.placeholder = messages.needXMLFile; + myIframe.style.display = "none"; + divResult.style.display = "none"; var dom_1 = require('@xmldom/xmldom').DOMParser; - myFile_1.addEventListener("change", function (e) { - var selectedFiles = myFile_1.files; + myFile.addEventListener("change", function (e) { + var selectedFiles = myFile.files; if (selectedFiles !== null && selectedFiles.length === 1) { var extension = selectedFiles[0].name.substring(selectedFiles[0].name.lastIndexOf(".") + 1); if (extension !== "xml") - divResult_1.innerHTML = "

Le fichier que vous avez s\u00E9lectionn\u00E9 ne semble pas \u00EAtre un fichier XML.

"; + divResult.innerHTML = messages.resultsTitle + messages.notXMLError; else { var reader_1 = new FileReader(); reader_1.onload = function (e) { @@ -65,23 +68,40 @@ var initialise = function () { type: "application/xml", }); iframeURL = URL.createObjectURL(xmlTmp); - myIframe_1.src = iframeURL; - myIframe_1.style.display = "block"; - myXPath_1.disabled = false; - testButton_1.disabled = false; - myXPath_1.placeholder = "Saisir l'XPath à tester"; + myIframe.src = iframeURL; + myIframe.style.display = "block"; + myXPath.disabled = false; + myXPath.placeholder = messages.needXPath; + testButton.disabled = false; + myXPath.value = ""; + myXPath.placeholder = messages.needXPath; doc = new dom_1().parseFromString(xmlDatas, 'text/xml'); - testButton_1.addEventListener("click", function (e) { - var xPathTested = myXPath_1.value.trim(); - if (xPathTested == "") - divResult_1.innerHTML = "

XPath vide !

"; - else { - var nodes = xpath_1.select(xPathTested, doc); - var resultTxt = "
    "; - for (var i = 0; i < nodes.length; i++) - resultTxt += "
  • " + nodes[i].toString() + "
  • "; - resultTxt += "
"; - divResult_1.innerHTML = resultTxt; + myForm.addEventListener("submit", function (e) { + try { + e.preventDefault(); + divResult.innerHTML = ""; + divResult.style.display = "block"; + var xPathTested = myXPath.value.trim(); + if (xPathTested == "") + divResult.innerHTML += messages.resultsTitle + messages.emptyXPathError; + else { + var resultTxt = messages.resultsTitle; + var nodes = xpath.select(xPathTested, doc); + if (nodes.length === 0) + resultTxt += messages.noResultForXPath; + else { + for (var i = 0; i < nodes.length; i++) + resultTxt += "
  • ".concat(nodes[i].toString().replaceAll("<", "<").replaceAll(">", ">").replaceAll("\n", "
    "), "
  • "); + resultTxt = "
      ".concat(resultTxt, "
    "); + } + divResult.innerHTML = resultTxt; + } + } + catch (e) { + if (e instanceof Error && e.message == "XPath parse error") + divResult.innerHTML = messages.resultsTitle + messages.xpathError; + else + divResult.innerHTML = messages.resultsTitle + messages.exceptionError; } }); return [2]; @@ -94,9 +114,9 @@ var initialise = function () { }); } catch (e) { + divResult.innerHTML = messages.resultsTitle.messages.exceptionError; console.error(e); - document.getElementById("result").innerHTML = "

    D\u00E9sol\u00E9, mais un probl\u00E8me technique emp\u00EAche le fonctionnement normal de cette page.

    "; } }; -console.log("Hello, les dev !\nLe code source TypeScript utilisé pour faire fonctionner cette page est lisible ici : :\nhttps://forge.chapril.org/Fab_Blab/xPathTrainer/src/branch/master/src/xpathTrainer.ts"); +console.log(messages.gitSources); initialise();