@fmidev/smartmet-alert-client 4.7.1 → 4.7.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.dark.html +1 -1
- package/dist/index.en.html +1 -1
- package/dist/index.esm.html +15 -0
- package/dist/index.fi.html +1 -1
- package/dist/index.js +72 -44
- package/dist/index.mjs +8302 -34
- package/dist/index.sv.html +1 -1
- package/dist/locale-en-B-uI91v5.js +262 -0
- package/dist/locale-fi-gsaLwBQf.js +262 -0
- package/dist/locale-sv-B9LLaq-4.js +262 -0
- package/dist/vendor-BP0W-zNo.js +4480 -0
- package/dist/vue/index.mjs +1 -1
- package/dist/xml-parser-CXsICu0r.js +6238 -0
- package/package.json +4 -3
- package/public/index.dark.html +1 -1
- package/public/index.en.html +1 -1
- package/public/index.esm.html +15 -0
- package/public/index.fi.html +1 -1
- package/public/index.sv.html +1 -1
- package/vite.config.js +53 -36
- package/dist/index.html +0 -20
- package/dist/locale-en-BQoIe2mq.js +0 -8
- package/dist/locale-fi-Ck7cQBVl.js +0 -8
- package/dist/locale-sv-TehgVmro.js +0 -8
- package/dist/vendor-DlLAhxdV.js +0 -21
- package/dist/xml-parser-CQ0RiKzI.js +0 -13
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* name: @fmidev/smartmet-alert-client
|
|
3
|
-
* version: v4.7.1
|
|
4
|
-
* description: Web application for viewing weather and flood alerts
|
|
5
|
-
* author: Finnish Meteorological Institute
|
|
6
|
-
* homepage: https://github.com/fmidev/smartmet-alert-client#readme
|
|
7
|
-
*/
|
|
8
|
-
var bu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zr(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Ve={},ke={};function Jr(r,u,n){if(n===void 0&&(n=Array.prototype),r&&typeof n.find=="function")return n.find.call(r,u);for(var s=0;s<r.length;s++)if(Object.prototype.hasOwnProperty.call(r,s)){var c=r[s];if(u.call(void 0,c,s,r))return c}}function Ft(r,u){return u===void 0&&(u=Object),u&&typeof u.freeze=="function"?u.freeze(r):r}function Zr(r,u){if(r===null||typeof r!="object")throw new TypeError("target is not an object");for(var n in u)Object.prototype.hasOwnProperty.call(u,n)&&(r[n]=u[n]);return r}var ar=Ft({HTML:"text/html",isHTML:function(r){return r===ar.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),lr=Ft({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(r){return r===lr.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});ke.assign=Zr;ke.find=Jr;ke.freeze=Ft;ke.MIME_TYPE=ar;ke.NAMESPACE=lr;var pr=ke,Oe=pr.find,ct=pr.NAMESPACE;function Kr(r){return r!==""}function eu(r){return r?r.split(/[\t\n\f\r ]+/).filter(Kr):[]}function tu(r,u){return r.hasOwnProperty(u)||(r[u]=!0),r}function $t(r){if(!r)return[];var u=eu(r);return Object.keys(u.reduce(tu,{}))}function ru(r){return function(u){return r&&r.indexOf(u)!==-1}}function Et(r,u){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(u[n]=r[n])}function ae(r,u){var n=r.prototype;if(!(n instanceof u)){let s=function(){};s.prototype=u.prototype,s=new s,Et(n,s),r.prototype=n=s}n.constructor!=r&&(typeof r!="function"&&console.error("unknown Class:"+r),n.constructor=r)}var le={},De=le.ELEMENT_NODE=1,ut=le.ATTRIBUTE_NODE=2,vt=le.TEXT_NODE=3,cr=le.CDATA_SECTION_NODE=4,fr=le.ENTITY_REFERENCE_NODE=5,uu=le.ENTITY_NODE=6,Rt=le.PROCESSING_INSTRUCTION_NODE=7,_t=le.COMMENT_NODE=8,hr=le.DOCUMENT_NODE=9,Er=le.DOCUMENT_TYPE_NODE=10,Me=le.DOCUMENT_FRAGMENT_NODE=11,nu=le.NOTATION_NODE=12,re={},ee={};re.INDEX_SIZE_ERR=(ee[1]="Index size error",1);re.DOMSTRING_SIZE_ERR=(ee[2]="DOMString size error",2);var se=re.HIERARCHY_REQUEST_ERR=(ee[3]="Hierarchy request error",3);re.WRONG_DOCUMENT_ERR=(ee[4]="Wrong document",4);var ou=re.INVALID_CHARACTER_ERR=(ee[5]="Invalid character",5);re.NO_DATA_ALLOWED_ERR=(ee[6]="No data allowed",6);re.NO_MODIFICATION_ALLOWED_ERR=(ee[7]="No modification allowed",7);var Ar=re.NOT_FOUND_ERR=(ee[8]="Not found",8);re.NOT_SUPPORTED_ERR=(ee[9]="Not supported",9);var Qt=re.INUSE_ATTRIBUTE_ERR=(ee[10]="Attribute in use",10),Ze=re.INVALID_STATE_ERR=(ee[11]="Invalid state",11);re.SYNTAX_ERR=(ee[12]="Syntax error",12);re.INVALID_MODIFICATION_ERR=(ee[13]="Invalid modification",13);re.NAMESPACE_ERR=(ee[14]="Invalid namespace",14);re.INVALID_ACCESS_ERR=(ee[15]="Invalid access",15);function H(r,u){if(u instanceof Error)var n=u;else n=this,Error.call(this,ee[r]),this.message=ee[r],Error.captureStackTrace&&Error.captureStackTrace(this,H);return n.code=r,u&&(this.message=this.message+": "+u),n}H.prototype=Error.prototype;Et(re,H);function qe(){}qe.prototype={length:0,item:function(r){return r>=0&&r<this.length?this[r]:null},toString:function(r,u,n){for(var s=!!n&&!!n.requireWellFormed,c=[],h=0;h<this.length;h++)Gt(this[h],c,r,u,null,s);return c.join("")},filter:function(r){return Array.prototype.filter.call(this,r)},indexOf:function(r){return Array.prototype.indexOf.call(this,r)}};function nt(r,u){this._node=r,this._refresh=u,It(this)}function It(r){var u=r._node._inc||r._node.ownerDocument._inc;if(r._inc!==u){var n=r._refresh(r._node);if(wr(r,"length",n.length),!r.$$length||n.length<r.$$length)for(var s=n.length;s in r;s++)Object.prototype.hasOwnProperty.call(r,s)&&delete r[s];Et(n,r),r._inc=u}}nt.prototype.item=function(r){return It(this),this[r]||null};ae(nt,qe);function xt(){}function Dr(r,u){for(var n=r.length;n--;)if(r[n]===u)return n}function zt(r,u,n,s){if(s?u[Dr(u,s)]=n:u[u.length++]=n,r){n.ownerElement=r;var c=r.ownerDocument;c&&(s&&mr(c,r,s),iu(c,r,n))}}function Jt(r,u,n){var s=Dr(u,n);if(s>=0){for(var c=u.length-1;s<c;)u[s]=u[++s];if(u.length=c,r){var h=r.ownerDocument;h&&(mr(h,r,n),n.ownerElement=null)}}else throw new H(Ar,new Error(r.tagName+"@"+n))}xt.prototype={length:0,item:qe.prototype.item,getNamedItem:function(r){for(var u=this.length;u--;){var n=this[u];if(n.nodeName==r)return n}},setNamedItem:function(r){var u=r.ownerElement;if(u&&u!=this._ownerElement)throw new H(Qt);var n=this.getNamedItem(r.nodeName);return zt(this._ownerElement,this,r,n),n},setNamedItemNS:function(r){var u=r.ownerElement,n;if(u&&u!=this._ownerElement)throw new H(Qt);return n=this.getNamedItemNS(r.namespaceURI,r.localName),zt(this._ownerElement,this,r,n),n},removeNamedItem:function(r){var u=this.getNamedItem(r);return Jt(this._ownerElement,this,u),u},removeNamedItemNS:function(r,u){var n=this.getNamedItemNS(r,u);return Jt(this._ownerElement,this,n),n},getNamedItemNS:function(r,u){for(var n=this.length;n--;){var s=this[n];if(s.localName==u&&s.namespaceURI==r)return s}return null}};function dr(){}dr.prototype={hasFeature:function(r,u){return!0},createDocument:function(r,u,n){var s=new At;if(s.implementation=this,s.childNodes=new qe,s.doctype=n||null,n&&s.appendChild(n),u){var c=s.createElementNS(r,u);s.appendChild(c)}return s},createDocumentType:function(r,u,n){var s=new bt;return s.name=r,s.nodeName=r,s.publicId=u||"",s.systemId=n||"",s}};function G(){}G.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(r,u){return Tt(this,r,u)},replaceChild:function(r,u){Tt(this,r,u,vr),u&&this.removeChild(u)},removeChild:function(r){return Nr(this,r)},appendChild:function(r){return this.insertBefore(r,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(r){return br(this.ownerDocument||this,this,r)},normalize:function(){K(this,null,{enter:function(r){for(var u=r.firstChild;u;){var n=u.nextSibling;n!==null&&n.nodeType===vt&&u.nodeType===vt?(r.removeChild(n),u.appendData(n.data)):u=n}return!0}})},isSupported:function(r,u){return this.ownerDocument.implementation.hasFeature(r,u)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(r){for(var u=this;u;){var n=u._nsMap;if(n){for(var s in n)if(Object.prototype.hasOwnProperty.call(n,s)&&n[s]===r)return s}u=u.nodeType==ut?u.ownerDocument:u.parentNode}return null},lookupNamespaceURI:function(r){for(var u=this;u;){var n=u._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r];u=u.nodeType==ut?u.ownerDocument:u.parentNode}return null},isDefaultNamespace:function(r){var u=this.lookupPrefix(r);return u==null}};function gr(r){return r=="<"&&"<"||r==">"&&">"||r=="&"&&"&"||r=='"'&&"""||"&#"+r.charCodeAt()+";"}Et(le,G);Et(le,G.prototype);function Ct(r,u){return K(r,null,{enter:function(n){return u(n)?K.STOP:!0}})===K.STOP}function K(r,u,n){for(var s=[{node:r,context:u,phase:K.ENTER}];s.length>0;){var c=s.pop();if(c.phase===K.ENTER){var h=n.enter(c.node,c.context);if(h===K.STOP)return K.STOP;if(s.push({node:c.node,context:h,phase:K.EXIT}),h==null)continue;for(var f=c.node.lastChild;f;)s.push({node:f,context:h,phase:K.ENTER}),f=f.previousSibling}else n.exit&&n.exit(c.node,c.context)}}K.STOP=Symbol("walkDOM.STOP");K.ENTER=0;K.EXIT=1;function At(){this.ownerDocument=this}function iu(r,u,n){r&&r._inc++;var s=n.namespaceURI;s===ct.XMLNS&&(u._nsMap[n.prefix?n.localName:""]=n.value)}function mr(r,u,n,s){r&&r._inc++;var c=n.namespaceURI;c===ct.XMLNS&&delete u._nsMap[n.prefix?n.localName:""]}function Lt(r,u,n){if(r&&r._inc){r._inc++;var s=u.childNodes;if(n)s[s.length++]=n;else{for(var c=u.firstChild,h=0;c;)s[h++]=c,c=c.nextSibling;s.length=h,delete s[s.length]}}}function Nr(r,u){var n=u.previousSibling,s=u.nextSibling;return n?n.nextSibling=s:r.firstChild=s,s?s.previousSibling=n:r.lastChild=n,u.parentNode=null,u.previousSibling=null,u.nextSibling=null,Lt(r.ownerDocument,r),u}function su(r){return r&&(r.nodeType===G.DOCUMENT_NODE||r.nodeType===G.DOCUMENT_FRAGMENT_NODE||r.nodeType===G.ELEMENT_NODE)}function au(r){return r&&(Fe(r)||Pt(r)||Ue(r)||r.nodeType===G.DOCUMENT_FRAGMENT_NODE||r.nodeType===G.COMMENT_NODE||r.nodeType===G.PROCESSING_INSTRUCTION_NODE)}function Ue(r){return r&&r.nodeType===G.DOCUMENT_TYPE_NODE}function Fe(r){return r&&r.nodeType===G.ELEMENT_NODE}function Pt(r){return r&&r.nodeType===G.TEXT_NODE}function Zt(r,u){var n=r.childNodes||[];if(Oe(n,Fe)||Ue(u))return!1;var s=Oe(n,Ue);return!(u&&s&&n.indexOf(s)>n.indexOf(u))}function Kt(r,u){var n=r.childNodes||[];function s(h){return Fe(h)&&h!==u}if(Oe(n,s))return!1;var c=Oe(n,Ue);return!(u&&c&&n.indexOf(c)>n.indexOf(u))}function lu(r,u,n){if(!su(r))throw new H(se,"Unexpected parent node type "+r.nodeType);if(n&&n.parentNode!==r)throw new H(Ar,"child not in parent");if(!au(u)||Ue(u)&&r.nodeType!==G.DOCUMENT_NODE)throw new H(se,"Unexpected node type "+u.nodeType+" for parent node type "+r.nodeType)}function pu(r,u,n){var s=r.childNodes||[],c=u.childNodes||[];if(u.nodeType===G.DOCUMENT_FRAGMENT_NODE){var h=c.filter(Fe);if(h.length>1||Oe(c,Pt))throw new H(se,"More than one element or text in fragment");if(h.length===1&&!Zt(r,n))throw new H(se,"Element in fragment can not be inserted before doctype")}if(Fe(u)&&!Zt(r,n))throw new H(se,"Only one element can be added and only after doctype");if(Ue(u)){if(Oe(s,Ue))throw new H(se,"Only one doctype is allowed");var f=Oe(s,Fe);if(n&&s.indexOf(f)<s.indexOf(n))throw new H(se,"Doctype can only be inserted before an element");if(!n&&f)throw new H(se,"Doctype can not be appended since element is present")}}function vr(r,u,n){var s=r.childNodes||[],c=u.childNodes||[];if(u.nodeType===G.DOCUMENT_FRAGMENT_NODE){var h=c.filter(Fe);if(h.length>1||Oe(c,Pt))throw new H(se,"More than one element or text in fragment");if(h.length===1&&!Kt(r,n))throw new H(se,"Element in fragment can not be inserted before doctype")}if(Fe(u)&&!Kt(r,n))throw new H(se,"Only one element can be added and only after doctype");if(Ue(u)){if(Oe(s,function(D){return Ue(D)&&D!==n}))throw new H(se,"Only one doctype is allowed");var f=Oe(s,Fe);if(n&&s.indexOf(f)<s.indexOf(n))throw new H(se,"Doctype can only be inserted before an element")}}function Tt(r,u,n,s){lu(r,u,n),r.nodeType===G.DOCUMENT_NODE&&(s||pu)(r,u,n);var c=u.parentNode;if(c&&c.removeChild(u),u.nodeType===Me){var h=u.firstChild;if(h==null)return u;var f=u.lastChild}else h=f=u;var v=n?n.previousSibling:r.lastChild;h.previousSibling=v,f.nextSibling=n,v?v.nextSibling=h:r.firstChild=h,n==null?r.lastChild=f:n.previousSibling=f;do{h.parentNode=r;var D=r.ownerDocument||r;ft(h,D)}while(h!==f&&(h=h.nextSibling));return Lt(r.ownerDocument||r,r),u.nodeType==Me&&(u.firstChild=u.lastChild=null),u}function ft(r,u){if(r.ownerDocument!==u){if(r.ownerDocument=u,r.nodeType===De&&r.attributes)for(var n=0;n<r.attributes.length;n++){var s=r.attributes.item(n);s&&(s.ownerDocument=u)}for(var c=r.firstChild;c;)ft(c,u),c=c.nextSibling}}function cu(r,u){u.parentNode&&u.parentNode.removeChild(u),u.parentNode=r,u.previousSibling=r.lastChild,u.nextSibling=null,u.previousSibling?u.previousSibling.nextSibling=u:r.firstChild=u,r.lastChild=u,Lt(r.ownerDocument,r,u);var n=r.ownerDocument||r;return ft(u,n),u}At.prototype={nodeName:"#document",nodeType:hr,doctype:null,documentElement:null,_inc:1,insertBefore:function(r,u){if(r.nodeType==Me){for(var n=r.firstChild;n;){var s=n.nextSibling;this.insertBefore(n,u),n=s}return r}return Tt(this,r,u),ft(r,this),this.documentElement===null&&r.nodeType===De&&(this.documentElement=r),r},removeChild:function(r){return this.documentElement==r&&(this.documentElement=null),Nr(this,r)},replaceChild:function(r,u){Tt(this,r,u,vr),ft(r,this),u&&this.removeChild(u),Fe(r)&&(this.documentElement=r)},importNode:function(r,u){return fu(this,r,u)},getElementById:function(r){var u=null;return Ct(this.documentElement,function(n){if(n.nodeType==De&&n.getAttribute("id")==r)return u=n,!0}),u},getElementsByClassName:function(r){var u=$t(r);return new nt(this,function(n){var s=[];return u.length>0&&Ct(n.documentElement,function(c){if(c!==n&&c.nodeType===De){var h=c.getAttribute("class");if(h){var f=r===h;if(!f){var v=$t(h);f=u.every(ru(v))}f&&s.push(c)}}}),s})},createElement:function(r){var u=new $e;u.ownerDocument=this,u.nodeName=r,u.tagName=r,u.localName=r,u.childNodes=new qe;var n=u.attributes=new xt;return n._ownerElement=u,u},createDocumentFragment:function(){var r=new wt;return r.ownerDocument=this,r.childNodes=new qe,r},createTextNode:function(r){var u=new Mt;return u.ownerDocument=this,u.appendData(r),u},createComment:function(r){var u=new qt;return u.ownerDocument=this,u.appendData(r),u},createCDATASection:function(r){if(r.indexOf("]]>")!==-1)throw new H(ou,'data contains "]]>"');var u=new Ut;return u.ownerDocument=this,u.appendData(r),u},createProcessingInstruction:function(r,u){var n=new kt;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=r,n.nodeValue=n.data=u,n},createAttribute:function(r){var u=new yt;return u.ownerDocument=this,u.name=r,u.nodeName=r,u.localName=r,u.specified=!0,u},createEntityReference:function(r){var u=new Vt;return u.ownerDocument=this,u.nodeName=r,u},createElementNS:function(r,u){var n=new $e,s=u.split(":"),c=n.attributes=new xt;return n.childNodes=new qe,n.ownerDocument=this,n.nodeName=u,n.tagName=u,n.namespaceURI=r,s.length==2?(n.prefix=s[0],n.localName=s[1]):n.localName=u,c._ownerElement=n,n},createAttributeNS:function(r,u){var n=new yt,s=u.split(":");return n.ownerDocument=this,n.nodeName=u,n.name=u,n.namespaceURI=r,n.specified=!0,s.length==2?(n.prefix=s[0],n.localName=s[1]):n.localName=u,n}};ae(At,G);function $e(){this._nsMap={}}$e.prototype={nodeType:De,hasAttribute:function(r){return this.getAttributeNode(r)!=null},getAttribute:function(r){var u=this.getAttributeNode(r);return u&&u.value||""},getAttributeNode:function(r){return this.attributes.getNamedItem(r)},setAttribute:function(r,u){var n=this.ownerDocument.createAttribute(r);n.value=n.nodeValue=""+u,this.setAttributeNode(n)},removeAttribute:function(r){var u=this.getAttributeNode(r);u&&this.removeAttributeNode(u)},appendChild:function(r){return r.nodeType===Me?this.insertBefore(r,null):cu(this,r)},setAttributeNode:function(r){return this.attributes.setNamedItem(r)},setAttributeNodeNS:function(r){return this.attributes.setNamedItemNS(r)},removeAttributeNode:function(r){return this.attributes.removeNamedItem(r.nodeName)},removeAttributeNS:function(r,u){var n=this.getAttributeNodeNS(r,u);n&&this.removeAttributeNode(n)},hasAttributeNS:function(r,u){return this.getAttributeNodeNS(r,u)!=null},getAttributeNS:function(r,u){var n=this.getAttributeNodeNS(r,u);return n&&n.value||""},setAttributeNS:function(r,u,n){var s=this.ownerDocument.createAttributeNS(r,u);s.value=s.nodeValue=""+n,this.setAttributeNode(s)},getAttributeNodeNS:function(r,u){return this.attributes.getNamedItemNS(r,u)},getElementsByTagName:function(r){return new nt(this,function(u){var n=[];return Ct(u,function(s){s!==u&&s.nodeType==De&&(r==="*"||s.tagName==r)&&n.push(s)}),n})},getElementsByTagNameNS:function(r,u){return new nt(this,function(n){var s=[];return Ct(n,function(c){c!==n&&c.nodeType===De&&(r==="*"||c.namespaceURI===r)&&(u==="*"||c.localName==u)&&s.push(c)}),s})}};At.prototype.getElementsByTagName=$e.prototype.getElementsByTagName;At.prototype.getElementsByTagNameNS=$e.prototype.getElementsByTagNameNS;ae($e,G);function yt(){}yt.prototype.nodeType=ut;ae(yt,G);function Dt(){}Dt.prototype={data:"",substringData:function(r,u){return this.data.substring(r,r+u)},appendData:function(r){r=this.data+r,this.nodeValue=this.data=r,this.length=r.length},insertData:function(r,u){this.replaceData(r,0,u)},appendChild:function(r){throw new Error(ee[se])},deleteData:function(r,u){this.replaceData(r,u,"")},replaceData:function(r,u,n){var s=this.data.substring(0,r),c=this.data.substring(r+u);n=s+n+c,this.nodeValue=this.data=n,this.length=n.length}};ae(Dt,G);function Mt(){}Mt.prototype={nodeName:"#text",nodeType:vt,splitText:function(r){var u=this.data,n=u.substring(r);u=u.substring(0,r),this.data=this.nodeValue=u,this.length=u.length;var s=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(s,this.nextSibling),s}};ae(Mt,Dt);function qt(){}qt.prototype={nodeName:"#comment",nodeType:_t};ae(qt,Dt);function Ut(){}Ut.prototype={nodeName:"#cdata-section",nodeType:cr};ae(Ut,Dt);function bt(){}bt.prototype.nodeType=Er;ae(bt,G);function xr(){}xr.prototype.nodeType=nu;ae(xr,G);function Cr(){}Cr.prototype.nodeType=uu;ae(Cr,G);function Vt(){}Vt.prototype.nodeType=fr;ae(Vt,G);function wt(){}wt.prototype.nodeName="#document-fragment";wt.prototype.nodeType=Me;ae(wt,G);function kt(){}kt.prototype.nodeType=Rt;ae(kt,G);function Tr(){}Tr.prototype.serializeToString=function(r,u,n,s){return yr.call(r,u,n,s)};G.prototype.toString=yr;function yr(r,u,n){var s=!!n&&!!n.requireWellFormed,c=[],h=this.nodeType==9&&this.documentElement||this,f=h.prefix,v=h.namespaceURI;if(v&&f==null){var f=h.lookupPrefix(v);if(f==null)var D=[{namespace:v,prefix:null}]}return Gt(this,c,r,u,D,s),c.join("")}function er(r,u,n){var s=r.prefix||"",c=r.namespaceURI;if(!c||s==="xml"&&c===ct.XML||c===ct.XMLNS)return!1;for(var h=n.length;h--;){var f=n[h];if(f.prefix===s)return f.namespace!==c}return!0}function gt(r,u,n){r.push(" ",u,'="',n.replace(/[<>&"\t\n\r]/g,gr),'"')}function Gt(r,u,n,s,c,h){c||(c=[]),K(r,{ns:c,isHTML:n},{enter:function(f,v){var D=v.ns,T=v.isHTML;if(s)if(f=s(f),f){if(typeof f=="string")return u.push(f),null}else return null;switch(f.nodeType){case De:var S=f.attributes,j=S.length,_=f.tagName;T=ct.isHTML(f.namespaceURI)||T;var z=_;if(!T&&!f.prefix&&f.namespaceURI){for(var ue,Z=0;Z<S.length;Z++)if(S.item(Z).name==="xmlns"){ue=S.item(Z).value;break}if(!ue)for(var k=D.length-1;k>=0;k--){var he=D[k];if(he.prefix===""&&he.namespace===f.namespaceURI){ue=he.namespace;break}}if(ue!==f.namespaceURI)for(var k=D.length-1;k>=0;k--){var he=D[k];if(he.namespace===f.namespaceURI){he.prefix&&(z=he.prefix+":"+_);break}}}u.push("<",z);for(var pe=D.slice(),Y=0;Y<j;Y++){var W=S.item(Y);W.prefix=="xmlns"?pe.push({prefix:W.localName,namespace:W.value}):W.nodeName=="xmlns"&&pe.push({prefix:"",namespace:W.value})}for(var Y=0;Y<j;Y++){var W=S.item(Y);if(er(W,T,pe)){var ce=W.prefix||"",x=W.namespaceURI;gt(u,ce?"xmlns:"+ce:"xmlns",x),pe.push({prefix:ce,namespace:x})}var p=s?s(W):W;p&&(typeof p=="string"?u.push(p):gt(u,p.name,p.value))}if(_===z&&er(f,T,pe)){var $=f.prefix||"",x=f.namespaceURI;gt(u,$?"xmlns:"+$:"xmlns",x),pe.push({prefix:$,namespace:x})}var X=f.firstChild;if(X||T&&!/^(?:meta|link|img|br|hr|input)$/i.test(_)){if(u.push(">"),T&&/^script$/i.test(_)){for(;X;)X.data?u.push(X.data):Gt(X,u,T,s,pe.slice(),h),X=X.nextSibling;return u.push("</",_,">"),null}return{ns:pe,isHTML:T,tag:z}}else return u.push("/>"),null;case hr:case Me:return{ns:D.slice(),isHTML:T,tag:null};case ut:return gt(u,f.name,f.value),null;case vt:return u.push(f.data.replace(/[<&>]/g,gr)),null;case cr:if(h&&f.data.indexOf("]]>")!==-1)throw new H(Ze,'The CDATASection data contains "]]>"');return u.push("<![CDATA[",f.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>"),null;case _t:if(h&&f.data.indexOf("-->")!==-1)throw new H(Ze,'The comment node data contains "-->"');return u.push("<!--",f.data,"-->"),null;case Er:if(h){if(f.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(f.publicId))throw new H(Ze,"DocumentType publicId is not a valid PubidLiteral");if(f.systemId&&!/^("[^"]*"|'[^']*')$/.test(f.systemId))throw new H(Ze,"DocumentType systemId is not a valid SystemLiteral");if(f.internalSubset&&f.internalSubset.indexOf("]>")!==-1)throw new H(Ze,'DocumentType internalSubset contains "]>"')}var q=f.publicId,V=f.systemId;if(u.push("<!DOCTYPE ",f.name),q)u.push(" PUBLIC ",q),V&&V!="."&&u.push(" ",V),u.push(">");else if(V&&V!=".")u.push(" SYSTEM ",V,">");else{var te=f.internalSubset;te&&u.push(" [",te,"]"),u.push(">")}return null;case Rt:if(h&&f.data.indexOf("?>")!==-1)throw new H(Ze,'The ProcessingInstruction data contains "?>"');return u.push("<?",f.target," ",f.data,"?>"),null;case fr:return u.push("&",f.nodeName,";"),null;default:return u.push("??",f.nodeName),null}},exit:function(f,v){v&&v.tag&&u.push("</",v.tag,">")}})}function fu(r,u,n){var s;return K(u,null,{enter:function(c,h){var f=c.cloneNode(!1);f.ownerDocument=r,f.parentNode=null,h===null?s=f:h.appendChild(f);var v=c.nodeType===ut||n;return v?f:null}}),s}function br(r,u,n){var s;return K(u,null,{enter:function(c,h){var f=new c.constructor;for(var v in c)if(Object.prototype.hasOwnProperty.call(c,v)){var D=c[v];typeof D!="object"&&D!=f[v]&&(f[v]=D)}c.childNodes&&(f.childNodes=new qe),f.ownerDocument=r;var T=n;switch(f.nodeType){case De:var S=c.attributes,j=f.attributes=new xt,_=S.length;j._ownerElement=f;for(var z=0;z<_;z++)f.setAttributeNode(br(r,S.item(z),!0));break;case ut:T=!0}return h!==null?h.appendChild(f):s=f,T?f:null}}),s}function wr(r,u,n){r[u]=n}try{Object.defineProperty&&(Object.defineProperty(nt.prototype,"length",{get:function(){return It(this),this.$$length}}),Object.defineProperty(G.prototype,"textContent",{get:function(){if(this.nodeType===De||this.nodeType===Me){var r=[];return K(this,null,{enter:function(u){if(u.nodeType===De||u.nodeType===Me)return!0;if(u.nodeType===Rt||u.nodeType===_t)return null;r.push(u.nodeValue)}}),r.join("")}return this.nodeValue},set:function(r){switch(this.nodeType){case De:case Me:for(;this.firstChild;)this.removeChild(this.firstChild);(r||String(r))&&this.appendChild(this.ownerDocument.createTextNode(r));break;default:this.data=r,this.value=r,this.nodeValue=r}}}),wr=function(r,u,n){r["$$"+u]=n})}catch{}Ve.DocumentType=bt;Ve.DOMException=H;Ve.DOMImplementation=dr;Ve.Element=$e;Ve.Node=G;Ve.NodeList=qe;Ve.walkDOM=K;Ve.XMLSerializer=Tr;var Bt={},Br={};(function(r){var u=ke.freeze;r.XML_ENTITIES=u({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),r.HTML_ENTITIES=u({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:`
|
|
9
|
-
`,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:" ",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:""}),r.entityMap=r.HTML_ENTITIES})(Br);var Ht={},ht=ke.NAMESPACE,St=/[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]/,tr=new RegExp("[\\-\\.0-9"+St.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),rr=new RegExp("^"+St.source+tr.source+"*(?::"+St.source+tr.source+"*)?$"),at=0,Xe=1,Ke=2,lt=3,et=4,tt=5,pt=6,mt=7;function ot(r,u){this.message=r,this.locator=u,Error.captureStackTrace&&Error.captureStackTrace(this,ot)}ot.prototype=new Error;ot.prototype.name=ot.name;function Sr(){}Sr.prototype={parse:function(r,u,n){var s=this.domBuilder;s.startDocument(),Or(u,u={}),hu(r,u,n,s,this.errorHandler),s.endDocument()}};function hu(r,u,n,s,c){function h(U){if(U>65535){U-=65536;var Q=55296+(U>>10),Ee=56320+(U&1023);return String.fromCharCode(Q,Ee)}else return String.fromCharCode(U)}function f(U){var Q=U.slice(1,-1);return Object.hasOwnProperty.call(n,Q)?n[Q]:Q.charAt(0)==="#"?h(parseInt(Q.substr(1).replace("x","0x"))):(c.error("entity not found:"+U),U)}function v(U){if(U>Z){var Q=r.substring(Z,U).replace(/&#?\w+;/g,f);_&&D(Z),s.characters(Q,0,U-Z),Z=U}}function D(U,Q){for(;U>=S&&(Q=j.exec(r));)T=Q.index,S=T+Q[0].length,_.lineNumber++;_.columnNumber=U-T+1}for(var T=0,S=0,j=/.*(?:\r\n?|\n)|.*$/g,_=s.locator,z=[{currentNSMap:u}],ue={},Z=0;;){try{var k=r.indexOf("<",Z);if(k<0){if(!r.substr(Z).match(/^\s*$/)){var he=s.doc,pe=he.createTextNode(r.substr(Z));he.appendChild(pe),s.currentElement=pe}return}switch(k>Z&&v(k),r.charAt(k+1)){case"/":var V=r.indexOf(">",k+3),Y=r.substring(k+2,V).replace(/[ \t\n\r]+$/g,""),W=z.pop();V<0?(Y=r.substring(k+2).replace(/[\s<].*/,""),c.error("end tag name: "+Y+" is not complete:"+W.tagName),V=k+1+Y.length):Y.match(/\s</)&&(Y=Y.replace(/[\s<].*/,""),c.error("end tag name: "+Y+" maybe not complete"),V=k+1+Y.length);var ce=W.localNSMap,x=W.tagName==Y,p=x||W.tagName&&W.tagName.toLowerCase()==Y.toLowerCase();if(p){if(s.endElement(W.uri,W.localName,Y),ce)for(var $ in ce)Object.prototype.hasOwnProperty.call(ce,$)&&s.endPrefixMapping($);x||c.fatalError("end tag name: "+Y+" is not match the current start tagName:"+W.tagName)}else z.push(W);V++;break;case"?":_&&D(k),V=gu(r,k,s);break;case"!":_&&D(k),V=du(r,k,s,c);break;default:_&&D(k);var X=new Fr,q=z[z.length-1].currentNSMap,V=Eu(r,k,X,q,f,c),te=X.length;if(!X.closed&&Du(r,V,X.tagName,ue)&&(X.closed=!0,n.nbsp||c.warning("unclosed xml attribute")),_&&te){for(var R=ur(_,{}),ne=0;ne<te;ne++){var fe=X[ne];D(fe.offset),fe.locator=ur(_,{})}s.locator=R,nr(X,s,q)&&z.push(X),s.locator=_}else nr(X,s,q)&&z.push(X);ht.isHTML(X.uri)&&!X.closed?V=Au(r,V,X.tagName,f,s):V++}}catch(U){if(U instanceof ot)throw U;c.error("element parse error: "+U),V=-1}V>Z?Z=V:v(Math.max(k,Z)+1)}}function ur(r,u){return u.lineNumber=r.lineNumber,u.columnNumber=r.columnNumber,u}function Eu(r,u,n,s,c,h){function f(_,z,ue){n.attributeNames.hasOwnProperty(_)&&h.fatalError("Attribute "+_+" redefined"),n.addValue(_,z.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,c),ue)}for(var v,D,T=++u,S=at;;){var j=r.charAt(T);switch(j){case"=":if(S===Xe)v=r.slice(u,T),S=lt;else if(S===Ke)S=lt;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(S===lt||S===Xe)if(S===Xe&&(h.warning('attribute value must after "="'),v=r.slice(u,T)),u=T+1,T=r.indexOf(j,u),T>0)D=r.slice(u,T),f(v,D,u-1),S=tt;else throw new Error("attribute value no end '"+j+"' match");else if(S==et)D=r.slice(u,T),f(v,D,u),h.warning('attribute "'+v+'" missed start quot('+j+")!!"),u=T+1,S=tt;else throw new Error('attribute value must after "="');break;case"/":switch(S){case at:n.setTagName(r.slice(u,T));case tt:case pt:case mt:S=mt,n.closed=!0;case et:case Xe:break;case Ke:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return h.error("unexpected end of input"),S==at&&n.setTagName(r.slice(u,T)),T;case">":switch(S){case at:n.setTagName(r.slice(u,T));case tt:case pt:case mt:break;case et:case Xe:D=r.slice(u,T),D.slice(-1)==="/"&&(n.closed=!0,D=D.slice(0,-1));case Ke:S===Ke&&(D=v),S==et?(h.warning('attribute "'+D+'" missed quot(")!'),f(v,D,u)):((!ht.isHTML(s[""])||!D.match(/^(?:disabled|checked|selected)$/i))&&h.warning('attribute "'+D+'" missed value!! "'+D+'" instead!!'),f(D,D,u));break;case lt:throw new Error("attribute value missed!!")}return T;case"":j=" ";default:if(j<=" ")switch(S){case at:n.setTagName(r.slice(u,T)),S=pt;break;case Xe:v=r.slice(u,T),S=Ke;break;case et:var D=r.slice(u,T);h.warning('attribute "'+D+'" missed quot(")!!'),f(v,D,u);case tt:S=pt;break}else switch(S){case Ke:n.tagName,(!ht.isHTML(s[""])||!v.match(/^(?:disabled|checked|selected)$/i))&&h.warning('attribute "'+v+'" missed value!! "'+v+'" instead2!!'),f(v,v,u),u=T,S=Xe;break;case tt:h.warning('attribute space is required"'+v+'"!!');case pt:S=Xe,u=T;break;case lt:S=et,u=T;break;case mt:throw new Error("elements closed character '/' and '>' must be connected to")}}T++}}function nr(r,u,n){for(var s=r.tagName,c=null,j=r.length;j--;){var h=r[j],f=h.qName,v=h.value,_=f.indexOf(":");if(_>0)var D=h.prefix=f.slice(0,_),T=f.slice(_+1),S=D==="xmlns"&&T;else T=f,D=null,S=f==="xmlns"&&"";h.localName=T,S!==!1&&(c==null&&(c={},Or(n,n={})),n[S]=c[S]=v,h.uri=ht.XMLNS,u.startPrefixMapping(S,v))}for(var j=r.length;j--;){h=r[j];var D=h.prefix;D&&(D==="xml"&&(h.uri=ht.XML),D!=="xmlns"&&(h.uri=n[D||""]))}var _=s.indexOf(":");_>0?(D=r.prefix=s.slice(0,_),T=r.localName=s.slice(_+1)):(D=null,T=r.localName=s);var z=r.uri=n[D||""];if(u.startElement(z,T,s,r),r.closed){if(u.endElement(z,T,s),c)for(D in c)Object.prototype.hasOwnProperty.call(c,D)&&u.endPrefixMapping(D)}else return r.currentNSMap=n,r.localNSMap=c,!0}function Au(r,u,n,s,c){if(/^(?:script|textarea)$/i.test(n)){var h=r.indexOf("</"+n+">",u),f=r.substring(u+1,h);if(/[&<]/.test(f))return/^script$/i.test(n)?(c.characters(f,0,f.length),h):(f=f.replace(/&#?\w+;/g,s),c.characters(f,0,f.length),h)}return u+1}function Du(r,u,n,s){var c=s[n];return c==null&&(c=r.lastIndexOf("</"+n+">"),c<u&&(c=r.lastIndexOf("</"+n)),s[n]=c),c<u}function Or(r,u){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(u[n]=r[n])}function du(r,u,n,s){var c=r.charAt(u+2);switch(c){case"-":if(r.charAt(u+3)==="-"){var h=r.indexOf("-->",u+4);return h>u?(n.comment(r,u+4,h-u-4),h+3):(s.error("Unclosed comment"),-1)}else return-1;default:if(r.substr(u+3,6)=="CDATA["){var h=r.indexOf("]]>",u+9);return n.startCDATA(),n.characters(r,u+9,h-u-9),n.endCDATA(),h+3}var f=mu(r,u),v=f.length;if(v>1&&/!doctype/i.test(f[0][0])){var D=f[1][0],T=!1,S=!1;v>3&&(/^public$/i.test(f[2][0])?(T=f[3][0],S=v>4&&f[4][0]):/^system$/i.test(f[2][0])&&(S=f[3][0]));var j=f[v-1];return n.startDTD(D,T,S),n.endDTD(),j.index+j[0].length}}return-1}function gu(r,u,n){var s=r.indexOf("?>",u);if(s){var c=r.substring(u,s).match(/^<\?(\S*)\s*([\s\S]*?)$/);return c?(c[0].length,n.processingInstruction(c[1],c[2]),s+2):-1}return-1}function Fr(){this.attributeNames={}}Fr.prototype={setTagName:function(r){if(!rr.test(r))throw new Error("invalid tagName:"+r);this.tagName=r},addValue:function(r,u,n){if(!rr.test(r))throw new Error("invalid attribute:"+r);this.attributeNames[r]=this.length,this[this.length++]={qName:r,value:u,offset:n}},length:0,getLocalName:function(r){return this[r].localName},getLocator:function(r){return this[r].locator},getQName:function(r){return this[r].qName},getURI:function(r){return this[r].uri},getValue:function(r){return this[r].value}};function mu(r,u){var n,s=[],c=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(c.lastIndex=u,c.exec(r);n=c.exec(r);)if(s.push(n),n[1])return s}Ht.XMLReader=Sr;Ht.ParseError=ot;var Nu=ke,vu=Ve,or=Br,Rr=Ht,xu=vu.DOMImplementation,ir=Nu.NAMESPACE,Cu=Rr.ParseError,Tu=Rr.XMLReader;function _r(r){return r.replace(/\r[\n\u0085]/g,`
|
|
10
|
-
`).replace(/[\r\u0085\u2028]/g,`
|
|
11
|
-
`)}function Ir(r){this.options=r||{locator:{}}}Ir.prototype.parseFromString=function(r,u){var n=this.options,s=new Tu,c=n.domBuilder||new dt,h=n.errorHandler,f=n.locator,v=n.xmlns||{},D=/\/x?html?$/.test(u),T=D?or.HTML_ENTITIES:or.XML_ENTITIES;f&&c.setDocumentLocator(f),s.errorHandler=yu(h,c,f),s.domBuilder=n.domBuilder||c,D&&(v[""]=ir.HTML),v.xml=v.xml||ir.XML;var S=n.normalizeLineEndings||_r;return r&&typeof r=="string"?s.parse(S(r),v,T):s.errorHandler.error("invalid doc source"),c.doc};function yu(r,u,n){if(!r){if(u instanceof dt)return u;r=u}var s={},c=r instanceof Function;n=n||{};function h(f){var v=r[f];!v&&c&&(v=r.length==2?function(D){r(f,D)}:r),s[f]=v&&function(D){v("[xmldom "+f+"] "+D+Ot(n))}||function(){}}return h("warning"),h("error"),h("fatalError"),s}function dt(){this.cdata=!1}function rt(r,u){u.lineNumber=r.lineNumber,u.columnNumber=r.columnNumber}dt.prototype={startDocument:function(){this.doc=new xu().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(r,u,n,s){var c=this.doc,h=c.createElementNS(r,n||u),f=s.length;Nt(this,h),this.currentElement=h,this.locator&&rt(this.locator,h);for(var v=0;v<f;v++){var r=s.getURI(v),D=s.getValue(v),n=s.getQName(v),T=c.createAttributeNS(r,n);this.locator&&rt(s.getLocator(v),T),T.value=T.nodeValue=D,h.setAttributeNode(T)}},endElement:function(r,u,n){var s=this.currentElement;s.tagName,this.currentElement=s.parentNode},startPrefixMapping:function(r,u){},endPrefixMapping:function(r){},processingInstruction:function(r,u){var n=this.doc.createProcessingInstruction(r,u);this.locator&&rt(this.locator,n),Nt(this,n)},ignorableWhitespace:function(r,u,n){},characters:function(r,u,n){if(r=sr.apply(this,arguments),r){if(this.cdata)var s=this.doc.createCDATASection(r);else var s=this.doc.createTextNode(r);this.currentElement?this.currentElement.appendChild(s):/^\s*$/.test(r)&&this.doc.appendChild(s),this.locator&&rt(this.locator,s)}},skippedEntity:function(r){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(r){(this.locator=r)&&(r.lineNumber=0)},comment:function(r,u,n){r=sr.apply(this,arguments);var s=this.doc.createComment(r);this.locator&&rt(this.locator,s),Nt(this,s)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(r,u,n){var s=this.doc.implementation;if(s&&s.createDocumentType){var c=s.createDocumentType(r,u,n);this.locator&&rt(this.locator,c),Nt(this,c),this.doc.doctype=c}},warning:function(r){console.warn("[xmldom warning] "+r,Ot(this.locator))},error:function(r){console.error("[xmldom error] "+r,Ot(this.locator))},fatalError:function(r){throw new Cu(r,this.locator)}};function Ot(r){if(r)return`
|
|
12
|
-
@`+(r.systemId||"")+"#[line:"+r.lineNumber+",col:"+r.columnNumber+"]"}function sr(r,u,n){return typeof r=="string"?r.substr(u,n):r.length>=u+n||u?new java.lang.String(r,u,n)+"":r}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(r){dt.prototype[r]=function(){return null}});function Nt(r,u){r.currentElement?r.currentElement.appendChild(u):r.doc.appendChild(u)}Bt.__DOMHandler=dt;Bt.normalizeLineEndings=_r;Bt.DOMParser=Ir;var wu=Bt.DOMParser,Lr={};(function(r){var u=r;(function(n){var s="__namespace",c=function(e){return e==null},h=function(e){return e===s||Number.isInteger(e)&&e>=1&&e<=11},f=function(e){return e&&h(e.nodeType)&&typeof e.nodeName=="string"};function v(e){var t=Array.prototype.slice,o=e.length,a=function(l,g){return function(){return g.apply(this,l.concat(t.call(arguments)))}},i=function(){var l=t.call(arguments);return l.length<o?a(l,i):e.apply(this,t.apply(arguments,[0,o]))};return i}var D=function(e,t){for(var o=0;o<t.length;o+=1)e(t[o],o,t)},T=function(e,t,o){var a=t;return D(function(i,l){a=e(a,i,l)},o),a},S=function(e,t){var o=new Array(t.length);return D(function(a,i){o[i]=e(a)},t),o},j=function(e,t){var o=[];return D(function(a,i){e(a,i)&&o.push(a)},t),o},_=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o]===t)return!0;return!1};function z(e){return function(){return e}}function ue(e){return e.toString()}var Z=function(e,t){return t.join(e)},k=function(e,t,o){return e+o+t},he=Array.prototype.concat,pe=function(e,t){var o=new N;o.addArray(e);var a=o.toArray();return t?a.reverse():a},Y=32767;function W(e){for(var t=[],o=0;o<e.length;o+=Y){var a=e.slice(o,o+Y);t=he.apply(t,a)}return t}function ce(e,t){for(var o=Object(e),a=1;a<arguments.length;a++){var i=arguments[a];if(i!=null)for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(o[l]=i[l])}return o}var x={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NAMESPACE_NODE:s};p.prototype=new Object,p.prototype.constructor=p,p.superclass=Object.prototype;function p(){this.init()}p.prototype.init=function(){this.reduceActions=[],this.reduceActions[3]=function(e){return new ne(e[0],e[2])},this.reduceActions[5]=function(e){return new fe(e[0],e[2])},this.reduceActions[7]=function(e){return new U(e[0],e[2])},this.reduceActions[8]=function(e){return new Q(e[0],e[2])},this.reduceActions[10]=function(e){return new Ee(e[0],e[2])},this.reduceActions[11]=function(e){return new ge(e[0],e[2])},this.reduceActions[12]=function(e){return new me(e[0],e[2])},this.reduceActions[13]=function(e){return new Ne(e[0],e[2])},this.reduceActions[15]=function(e){return new ve(e[0],e[2])},this.reduceActions[16]=function(e){return new xe(e[0],e[2])},this.reduceActions[18]=function(e){return new Ce(e[0],e[2])},this.reduceActions[19]=function(e){return new Te(e[0],e[2])},this.reduceActions[20]=function(e){return new ye(e[0],e[2])},this.reduceActions[22]=function(e){return new te(e[1])},this.reduceActions[24]=function(e){return new be(e[0],e[2])},this.reduceActions[25]=function(e){return new I(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 A(A.DESCENDANTORSELF,m.nodeTest,[])),e[0]},this.reduceActions[29]=function(e){return new I(e[0],[],void 0)},this.reduceActions[30]=function(e){return C.instance_of(e[0],I)?(e[0].filterPredicates==null&&(e[0].filterPredicates=[]),e[0].filterPredicates.push(e[1]),e[0]):new I(e[0],[e[1]],void 0)},this.reduceActions[32]=function(e){return e[1]},this.reduceActions[33]=function(e){return new b(e[0])},this.reduceActions[34]=function(e){return new w(e[0])},this.reduceActions[36]=function(e){return new we(e[0],[])},this.reduceActions[37]=function(e){return new we(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 Re(!0,[])},this.reduceActions[44]=function(e){return e[1].absolute=!0,e[1]},this.reduceActions[46]=function(e){return new Re(!1,[e[0]])},this.reduceActions[47]=function(e){return e[0].steps.push(e[2]),e[0]},this.reduceActions[49]=function(e){return new A(e[0],e[1],[])},this.reduceActions[50]=function(e){return new A(A.CHILD,e[0],[])},this.reduceActions[51]=function(e){return new A(e[0],e[1],e[2])},this.reduceActions[52]=function(e){return new A(A.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 e[0]=="ancestor"?A.ANCESTOR:e[0]=="ancestor-or-self"?A.ANCESTORORSELF:e[0]=="attribute"?A.ATTRIBUTE:e[0]=="child"?A.CHILD:e[0]=="descendant"?A.DESCENDANT:e[0]=="descendant-or-self"?A.DESCENDANTORSELF:e[0]=="following"?A.FOLLOWING:e[0]=="following-sibling"?A.FOLLOWINGSIBLING:e[0]=="namespace"?A.NAMESPACE:e[0]=="parent"?A.PARENT:e[0]=="preceding"?A.PRECEDING:e[0]=="preceding-sibling"?A.PRECEDINGSIBLING:e[0]=="self"?A.SELF:-1},this.reduceActions[57]=function(e){return A.ATTRIBUTE},this.reduceActions[59]=function(e){return e[0]=="comment"?m.commentTest:e[0]=="text"?m.textTest:e[0]=="processing-instruction"?m.anyPiTest:e[0]=="node"?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 A(A.DESCENDANTORSELF,m.nodeTest,[])),e[1]},this.reduceActions[64]=function(e){return e[0].steps.push(new A(A.DESCENDANTORSELF,m.nodeTest,[])),e[0].steps.push(e[2]),e[0]},this.reduceActions[65]=function(e){return new A(A.SELF,m.nodeTest,[])},this.reduceActions[66]=function(e){return new A(A.PARENT,m.nodeTest,[])},this.reduceActions[67]=function(e){return new _e(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])}},p.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 "],p.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<<<<<<<< <<<<<<e << < ","O OOOOOOOOO OOOOOOO OO O ","` ````````` ``````` `` ` ","S SSSSSSSSS SSSSSSS SS S ","W WWWWWWWWW WWWWWWW WW W ","\\ \\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\ \\\\ \\\\ ","E EEEEEEEEE EEEEEEE EE EE ",` 1 0 /.-,+*)(' & %$ # "!`,"] ]]]]]]]]] ]]]]]]] ]] ]] "," G "],p.gotoTable=["3456789:;<=>?@ 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:;<=>?@ ABqCDEFGH IJ "," "," "],p.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]],p.DOUBLEDOT=2,p.DOUBLECOLON=3,p.DOUBLESLASH=4,p.NOTEQUAL=5,p.LESSTHANOREQUAL=6,p.GREATERTHANOREQUAL=7,p.AND=8,p.OR=9,p.MOD=10,p.DIV=11,p.MULTIPLYOPERATOR=12,p.FUNCTIONNAME=13,p.AXISNAME=14,p.LITERAL=15,p.NUMBER=16,p.ASTERISKNAMETEST=17,p.QNAME=18,p.NCNAMECOLONASTERISK=19,p.NODETYPE=20,p.PROCESSINGINSTRUCTIONWITHLITERAL=21,p.EQUALS=22,p.LESSTHAN=23,p.GREATERTHAN=24,p.PLUS=25,p.MINUS=26,p.BAR=27,p.SLASH=28,p.LEFTPARENTHESIS=29,p.RIGHTPARENTHESIS=30,p.COMMA=31,p.AT=32,p.LEFTBRACKET=33,p.RIGHTBRACKET=34,p.DOT=35,p.DOLLAR=36,p.prototype.tokenize=function(e){for(var t=[],o=[],a=e+"\0",i=0,l=a.charAt(i++);;){for(;l==" "||l==" "||l=="\r"||l==`
|
|
13
|
-
`;)l=a.charAt(i++);if(l=="\0"||i>=a.length)break;if(l=="("){t.push(p.LEFTPARENTHESIS),o.push(l),l=a.charAt(i++);continue}if(l==")"){t.push(p.RIGHTPARENTHESIS),o.push(l),l=a.charAt(i++);continue}if(l=="["){t.push(p.LEFTBRACKET),o.push(l),l=a.charAt(i++);continue}if(l=="]"){t.push(p.RIGHTBRACKET),o.push(l),l=a.charAt(i++);continue}if(l=="@"){t.push(p.AT),o.push(l),l=a.charAt(i++);continue}if(l==","){t.push(p.COMMA),o.push(l),l=a.charAt(i++);continue}if(l=="|"){t.push(p.BAR),o.push(l),l=a.charAt(i++);continue}if(l=="+"){t.push(p.PLUS),o.push(l),l=a.charAt(i++);continue}if(l=="-"){t.push(p.MINUS),o.push(l),l=a.charAt(i++);continue}if(l=="="){t.push(p.EQUALS),o.push(l),l=a.charAt(i++);continue}if(l=="$"){t.push(p.DOLLAR),o.push(l),l=a.charAt(i++);continue}if(l=="."){if(l=a.charAt(i++),l=="."){t.push(p.DOUBLEDOT),o.push(".."),l=a.charAt(i++);continue}if(l>="0"&&l<="9"){var g="."+l;for(l=a.charAt(i++);l>="0"&&l<="9";)g+=l,l=a.charAt(i++);t.push(p.NUMBER),o.push(g);continue}t.push(p.DOT),o.push(".");continue}if(l=="'"||l=='"'){for(var L=l,P="";i<a.length&&(l=a.charAt(i))!==L;)P+=l,i+=1;if(l!==L)throw Se.fromMessage("Unterminated string literal: "+L+P);i+=1,t.push(p.LITERAL),o.push(P),l=a.charAt(i++);continue}if(l>="0"&&l<="9"){var g=l;for(l=a.charAt(i++);l>="0"&&l<="9";)g+=l,l=a.charAt(i++);if(l=="."&&a.charAt(i)>="0"&&a.charAt(i)<="9")for(g+=l,g+=a.charAt(i++),l=a.charAt(i++);l>="0"&&l<="9";)g+=l,l=a.charAt(i++);t.push(p.NUMBER),o.push(g);continue}if(l=="*"){if(t.length>0){var d=t[t.length-1];if(d!=p.AT&&d!=p.DOUBLECOLON&&d!=p.LEFTPARENTHESIS&&d!=p.LEFTBRACKET&&d!=p.AND&&d!=p.OR&&d!=p.MOD&&d!=p.DIV&&d!=p.MULTIPLYOPERATOR&&d!=p.SLASH&&d!=p.DOUBLESLASH&&d!=p.BAR&&d!=p.PLUS&&d!=p.MINUS&&d!=p.EQUALS&&d!=p.NOTEQUAL&&d!=p.LESSTHAN&&d!=p.LESSTHANOREQUAL&&d!=p.GREATERTHAN&&d!=p.GREATERTHANOREQUAL){t.push(p.MULTIPLYOPERATOR),o.push(l),l=a.charAt(i++);continue}}t.push(p.ASTERISKNAMETEST),o.push(l),l=a.charAt(i++);continue}if(l==":"&&a.charAt(i)==":"){t.push(p.DOUBLECOLON),o.push("::"),i++,l=a.charAt(i++);continue}if(l=="/"){if(l=a.charAt(i++),l=="/"){t.push(p.DOUBLESLASH),o.push("//"),l=a.charAt(i++);continue}t.push(p.SLASH),o.push("/");continue}if(l=="!"&&a.charAt(i)=="="){t.push(p.NOTEQUAL),o.push("!="),i++,l=a.charAt(i++);continue}if(l=="<"){if(a.charAt(i)=="="){t.push(p.LESSTHANOREQUAL),o.push("<="),i++,l=a.charAt(i++);continue}t.push(p.LESSTHAN),o.push("<"),l=a.charAt(i++);continue}if(l==">"){if(a.charAt(i)=="="){t.push(p.GREATERTHANOREQUAL),o.push(">="),i++,l=a.charAt(i++);continue}t.push(p.GREATERTHAN),o.push(">"),l=a.charAt(i++);continue}if(l=="_"||C.isLetter(l.charCodeAt(0))){var B=l;for(l=a.charAt(i++);C.isNCNameChar(l.charCodeAt(0));)B+=l,l=a.charAt(i++);if(t.length>0){var d=t[t.length-1];if(d!=p.AT&&d!=p.DOUBLECOLON&&d!=p.LEFTPARENTHESIS&&d!=p.LEFTBRACKET&&d!=p.AND&&d!=p.OR&&d!=p.MOD&&d!=p.DIV&&d!=p.MULTIPLYOPERATOR&&d!=p.SLASH&&d!=p.DOUBLESLASH&&d!=p.BAR&&d!=p.PLUS&&d!=p.MINUS&&d!=p.EQUALS&&d!=p.NOTEQUAL&&d!=p.LESSTHAN&&d!=p.LESSTHANOREQUAL&&d!=p.GREATERTHAN&&d!=p.GREATERTHANOREQUAL){if(B=="and"){t.push(p.AND),o.push(B);continue}if(B=="or"){t.push(p.OR),o.push(B);continue}if(B=="mod"){t.push(p.MOD),o.push(B);continue}if(B=="div"){t.push(p.DIV),o.push(B);continue}}}if(l==":"){if(a.charAt(i)=="*"){t.push(p.NCNAMECOLONASTERISK),o.push(B+":*"),i++,l=a.charAt(i++);continue}if(a.charAt(i)=="_"||C.isLetter(a.charCodeAt(i))){for(B+=":",l=a.charAt(i++);C.isNCNameChar(l.charCodeAt(0));)B+=l,l=a.charAt(i++);if(l=="("){t.push(p.FUNCTIONNAME),o.push(B);continue}t.push(p.QNAME),o.push(B);continue}if(a.charAt(i)==":"){t.push(p.AXISNAME),o.push(B);continue}}if(l=="("){if(B=="comment"||B=="text"||B=="node"){t.push(p.NODETYPE),o.push(B);continue}if(B=="processing-instruction"){a.charAt(i)==")"?t.push(p.NODETYPE):t.push(p.PROCESSINGINSTRUCTIONWITHLITERAL),o.push(B);continue}t.push(p.FUNCTIONNAME),o.push(B);continue}t.push(p.QNAME),o.push(B);continue}throw new Error("Unexpected character "+l)}return t.push(1),o.push("[EOF]"),[t,o]},p.SHIFT="s",p.REDUCE="r",p.ACCEPT="a",p.prototype.parse=function(P){if(!P)throw new Error("XPath expression unspecified.");if(typeof P!="string")throw new Error("XPath expression must be a string.");var t,o,a=this.tokenize(P);if(a!=null){t=a[0],o=a[1];var i=0,l=[],g=[],L=[],P,d,B;for(l.push(0),g.push(1),L.push("_S"),d=t[i],B=o[i++];;)switch(P=l[l.length-1],p.actionTable[P].charAt(d-1)){case p.SHIFT:g.push(-d),L.push(B),l.push(p.actionTableNumber[P].charCodeAt(d-1)-32),d=t[i],B=o[i++];break;case p.REDUCE:for(var Pe=p.productions[p.actionTableNumber[P].charCodeAt(d-1)-32][1],Ye=[],Je=0;Je<Pe;Je++)g.pop(),Ye.unshift(L.pop()),l.pop();var We=l[l.length-1];g.push(p.productions[p.actionTableNumber[P].charCodeAt(d-1)-32][0]),this.reduceActions[p.actionTableNumber[P].charCodeAt(d-1)-32]==null?L.push(Ye[0]):L.push(this.reduceActions[p.actionTableNumber[P].charCodeAt(d-1)-32](Ye)),l.push(p.gotoTable[We].charCodeAt(p.productions[p.actionTableNumber[P].charCodeAt(d-1)-32][0]-2)-33);break;case p.ACCEPT:return new $(L.pop());default:throw new Error("XPath parse error")}}},$.prototype=new Object,$.prototype.constructor=$,$.superclass=Object.prototype;function $(e){this.expression=e}$.prototype.toString=function(){return this.expression.toString()};function X(e,t,o){t in e||(e[t]=o)}$.prototype.evaluate=function(e){var t=e.expressionContextNode;if(!(c(t)||f(t)))throw new Error("Context node does not appear to be a valid DOM node.");return e.contextNode=e.expressionContextNode,e.contextSize=1,e.contextPosition=1,e.isHtml&&(X(e,"caseInsensitive",!0),X(e,"allowAnyNamespaceForNoPrefix",!0)),X(e,"caseInsensitive",!1),this.expression.evaluate(e)},$.XML_NAMESPACE_URI="http://www.w3.org/XML/1998/namespace",$.XMLNS_NAMESPACE_URI="http://www.w3.org/2000/xmlns/",q.prototype=new Object,q.prototype.constructor=q,q.superclass=Object.prototype;function q(){}q.prototype.init=function(){},q.prototype.toString=function(){return"<Expression>"},q.prototype.evaluate=function(e){throw new Error("Could not evaluate expression.")},V.prototype=new q,V.prototype.constructor=V,V.superclass=q.prototype;function V(e){arguments.length>0&&this.init(e)}V.prototype.init=function(e){this.rhs=e},te.prototype=new V,te.prototype.constructor=te,te.superclass=V.prototype;function te(e){arguments.length>0&&this.init(e)}te.prototype.init=function(e){te.superclass.init.call(this,e)},te.prototype.evaluate=function(e){return this.rhs.evaluate(e).number().negate()},te.prototype.toString=function(){return"-"+this.rhs.toString()},R.prototype=new q,R.prototype.constructor=R,R.superclass=q.prototype;function R(e,t){arguments.length>0&&this.init(e,t)}R.prototype.init=function(e,t){this.lhs=e,this.rhs=t},ne.prototype=new R,ne.prototype.constructor=ne,ne.superclass=R.prototype;function ne(e,t){arguments.length>0&&this.init(e,t)}ne.prototype.init=function(e,t){ne.superclass.init.call(this,e,t)},ne.prototype.toString=function(){return"("+this.lhs.toString()+" or "+this.rhs.toString()+")"},ne.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?t:this.rhs.evaluate(e).bool()},fe.prototype=new R,fe.prototype.constructor=fe,fe.superclass=R.prototype;function fe(e,t){arguments.length>0&&this.init(e,t)}fe.prototype.init=function(e,t){fe.superclass.init.call(this,e,t)},fe.prototype.toString=function(){return"("+this.lhs.toString()+" and "+this.rhs.toString()+")"},fe.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?this.rhs.evaluate(e).bool():t},U.prototype=new R,U.prototype.constructor=U,U.superclass=R.prototype;function U(e,t){arguments.length>0&&this.init(e,t)}U.prototype.init=function(e,t){U.superclass.init.call(this,e,t)},U.prototype.toString=function(){return"("+this.lhs.toString()+" = "+this.rhs.toString()+")"},U.prototype.evaluate=function(e){return this.lhs.evaluate(e).equals(this.rhs.evaluate(e))},Q.prototype=new R,Q.prototype.constructor=Q,Q.superclass=R.prototype;function Q(e,t){arguments.length>0&&this.init(e,t)}Q.prototype.init=function(e,t){Q.superclass.init.call(this,e,t)},Q.prototype.toString=function(){return"("+this.lhs.toString()+" != "+this.rhs.toString()+")"},Q.prototype.evaluate=function(e){return this.lhs.evaluate(e).notequal(this.rhs.evaluate(e))},Ee.prototype=new R,Ee.prototype.constructor=Ee,Ee.superclass=R.prototype;function Ee(e,t){arguments.length>0&&this.init(e,t)}Ee.prototype.init=function(e,t){Ee.superclass.init.call(this,e,t)},Ee.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthan(this.rhs.evaluate(e))},Ee.prototype.toString=function(){return"("+this.lhs.toString()+" < "+this.rhs.toString()+")"},ge.prototype=new R,ge.prototype.constructor=ge,ge.superclass=R.prototype;function ge(e,t){arguments.length>0&&this.init(e,t)}ge.prototype.init=function(e,t){ge.superclass.init.call(this,e,t)},ge.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthan(this.rhs.evaluate(e))},ge.prototype.toString=function(){return"("+this.lhs.toString()+" > "+this.rhs.toString()+")"},me.prototype=new R,me.prototype.constructor=me,me.superclass=R.prototype;function me(e,t){arguments.length>0&&this.init(e,t)}me.prototype.init=function(e,t){me.superclass.init.call(this,e,t)},me.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthanorequal(this.rhs.evaluate(e))},me.prototype.toString=function(){return"("+this.lhs.toString()+" <= "+this.rhs.toString()+")"},Ne.prototype=new R,Ne.prototype.constructor=Ne,Ne.superclass=R.prototype;function Ne(e,t){arguments.length>0&&this.init(e,t)}Ne.prototype.init=function(e,t){Ne.superclass.init.call(this,e,t)},Ne.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthanorequal(this.rhs.evaluate(e))},Ne.prototype.toString=function(){return"("+this.lhs.toString()+" >= "+this.rhs.toString()+")"},ve.prototype=new R,ve.prototype.constructor=ve,ve.superclass=R.prototype;function ve(e,t){arguments.length>0&&this.init(e,t)}ve.prototype.init=function(e,t){ve.superclass.init.call(this,e,t)},ve.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().plus(this.rhs.evaluate(e).number())},ve.prototype.toString=function(){return"("+this.lhs.toString()+" + "+this.rhs.toString()+")"},xe.prototype=new R,xe.prototype.constructor=xe,xe.superclass=R.prototype;function xe(e,t){arguments.length>0&&this.init(e,t)}xe.prototype.init=function(e,t){xe.superclass.init.call(this,e,t)},xe.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().minus(this.rhs.evaluate(e).number())},xe.prototype.toString=function(){return"("+this.lhs.toString()+" - "+this.rhs.toString()+")"},Ce.prototype=new R,Ce.prototype.constructor=Ce,Ce.superclass=R.prototype;function Ce(e,t){arguments.length>0&&this.init(e,t)}Ce.prototype.init=function(e,t){Ce.superclass.init.call(this,e,t)},Ce.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().multiply(this.rhs.evaluate(e).number())},Ce.prototype.toString=function(){return"("+this.lhs.toString()+" * "+this.rhs.toString()+")"},Te.prototype=new R,Te.prototype.constructor=Te,Te.superclass=R.prototype;function Te(e,t){arguments.length>0&&this.init(e,t)}Te.prototype.init=function(e,t){Te.superclass.init.call(this,e,t)},Te.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().div(this.rhs.evaluate(e).number())},Te.prototype.toString=function(){return"("+this.lhs.toString()+" div "+this.rhs.toString()+")"},ye.prototype=new R,ye.prototype.constructor=ye,ye.superclass=R.prototype;function ye(e,t){arguments.length>0&&this.init(e,t)}ye.prototype.init=function(e,t){ye.superclass.init.call(this,e,t)},ye.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().mod(this.rhs.evaluate(e).number())},ye.prototype.toString=function(){return"("+this.lhs.toString()+" mod "+this.rhs.toString()+")"},be.prototype=new R,be.prototype.constructor=be,be.superclass=R.prototype;function be(e,t){arguments.length>0&&this.init(e,t)}be.prototype.init=function(e,t){be.superclass.init.call(this,e,t)},be.prototype.evaluate=function(e){return this.lhs.evaluate(e).nodeset().union(this.rhs.evaluate(e).nodeset())},be.prototype.toString=function(){return S(ue,[this.lhs,this.rhs]).join(" | ")},I.prototype=new q,I.prototype.constructor=I,I.superclass=q.prototype;function I(e,t,o){arguments.length>0&&this.init(e,t,o)}I.prototype.init=function(e,t,o){I.superclass.init.call(this),this.filter=e,this.filterPredicates=t,this.locationPath=o};function Pr(e){for(;e&&e.parentNode;)e=e.parentNode;return e}var Xt=function(e,t,o,a){if(e.length===0)return o;var i=t.extend({});return T(function(l,g){return i.contextSize=l.length,j(function(L,P){return i.contextNode=L,i.contextPosition=P+1,I.predicateMatches(g,i)},l)},pe(o,a),e)};I.getRoot=function(e,t){var o=t[0];if(o&&o.nodeType===x.DOCUMENT_NODE)return o;if(e.virtualRoot)return e.virtualRoot;if(!o)throw new Error("Context node not found when determining document root.");var a=o.ownerDocument;if(a)return a;for(var i=o;i.parentNode!=null;)i=i.parentNode;return i};var Mr=function(e){var t=String(e.name);return t==="xmlns"?"":t.substring(0,6)==="xmlns:"?t.substring(6,t.length):null};I.applyStep=function(e,t,o){if(!o)throw new Error("Context node not found when evaluating XPath step: "+e);var a=[];switch(t.contextNode=o,e.axis){case A.ANCESTOR:if(t.contextNode===t.virtualRoot)break;var i;for(t.contextNode.nodeType==x.ATTRIBUTE_NODE?i=I.getOwnerElement(t.contextNode):i=t.contextNode.parentNode;i!=null&&(e.nodeTest.matches(i,t)&&a.push(i),i!==t.virtualRoot);)i=i.parentNode;break;case A.ANCESTORORSELF:for(var i=t.contextNode;i!=null&&(e.nodeTest.matches(i,t)&&a.push(i),i!==t.virtualRoot);i=i.nodeType==x.ATTRIBUTE_NODE?I.getOwnerElement(i):i.parentNode);break;case A.ATTRIBUTE:var l=t.contextNode.attributes;if(l!=null)for(var g=0;g<l.length;g++){var i=l.item(g);e.nodeTest.matches(i,t)&&a.push(i)}break;case A.CHILD:for(var i=t.contextNode.firstChild;i!=null;i=i.nextSibling)e.nodeTest.matches(i,t)&&a.push(i);break;case A.DESCENDANT:for(var B=[t.contextNode.firstChild];B.length>0;)for(var i=B.pop();i!=null;)e.nodeTest.matches(i,t)&&a.push(i),i.firstChild!=null?(B.push(i.nextSibling),i=i.firstChild):i=i.nextSibling;break;case A.DESCENDANTORSELF:e.nodeTest.matches(t.contextNode,t)&&a.push(t.contextNode);for(var B=[t.contextNode.firstChild];B.length>0;)for(var i=B.pop();i!=null;)e.nodeTest.matches(i,t)&&a.push(i),i.firstChild!=null?(B.push(i.nextSibling),i=i.firstChild):i=i.nextSibling;break;case A.FOLLOWING:if(t.contextNode===t.virtualRoot)break;var B=[];t.contextNode.firstChild!=null?B.unshift(t.contextNode.firstChild):B.unshift(t.contextNode.nextSibling);for(var i=t.contextNode.parentNode;i!=null&&i.nodeType!=x.DOCUMENT_NODE&&i!==t.virtualRoot;i=i.parentNode)B.unshift(i.nextSibling);do for(var i=B.pop();i!=null;)e.nodeTest.matches(i,t)&&a.push(i),i.firstChild!=null?(B.push(i.nextSibling),i=i.firstChild):i=i.nextSibling;while(B.length>0);break;case A.FOLLOWINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(var i=t.contextNode.nextSibling;i!=null;i=i.nextSibling)e.nodeTest.matches(i,t)&&a.push(i);break;case A.NAMESPACE:var L={};if(t.contextNode.nodeType==x.ELEMENT_NODE){L.xml=new je("xml",null,$.XML_NAMESPACE_URI,t.contextNode);for(var i=t.contextNode;i!=null&&i.nodeType==x.ELEMENT_NODE;i=i.parentNode)for(var g=0;g<i.attributes.length;g++){var P=i.attributes.item(g),d=Mr(P);d!=null&&L[d]==null&&(L[d]=new je(d,P,P.value,t.contextNode))}for(var d in L){var o=L[d];e.nodeTest.matches(o,t)&&a.push(o)}}break;case A.PARENT:i=null,t.contextNode!==t.virtualRoot&&(t.contextNode.nodeType==x.ATTRIBUTE_NODE?i=I.getOwnerElement(t.contextNode):i=t.contextNode.parentNode),i!=null&&e.nodeTest.matches(i,t)&&a.push(i);break;case A.PRECEDING:var B;t.virtualRoot!=null?B=[t.virtualRoot]:B=[Pr(t.contextNode)];e:for(;B.length>0;)for(var i=B.pop();i!=null;){if(i==t.contextNode)break e;e.nodeTest.matches(i,t)&&a.unshift(i),i.firstChild!=null?(B.push(i.nextSibling),i=i.firstChild):i=i.nextSibling}break;case A.PRECEDINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(var i=t.contextNode.previousSibling;i!=null;i=i.previousSibling)e.nodeTest.matches(i,t)&&a.push(i);break;case A.SELF:e.nodeTest.matches(t.contextNode,t)&&a.push(t.contextNode);break}return a};function qr(e,t,o){return Xt(e.predicates,t,I.applyStep(e,t,o),_(Vr,e.axis))}function Ur(e,t,o){return W(S(qr.bind(null,o,e),t))}I.applySteps=function(e,t,o){return T(Ur.bind(null,t),o,e)},I.prototype.applyFilter=function(e,t){if(!this.filter)return{nodes:[e.contextNode]};var o=this.filter.evaluate(e);if(!C.instance_of(o,N)){if(this.filterPredicates!=null&&this.filterPredicates.length>0||this.locationPath!=null)throw new Error("Path expression filter must evaluate to a nodeset if predicates or location path are used");return{nonNodes:o}}return{nodes:Xt(this.filterPredicates||[],t,o.toUnsortedArray(),!1)}},I.applyLocationPath=function(e,t,o){if(!e)return o;var a=e.absolute?[I.getRoot(t,o)]:o;return I.applySteps(e.steps,t,a)},I.prototype.evaluate=function(e){var t=ce(new Be,e),o=this.applyFilter(e,t);if("nonNodes"in o)return o.nonNodes;var a=new N;return a.addArray(I.applyLocationPath(this.locationPath,t,o.nodes)),a},I.predicateMatches=function(e,t){var o=e.evaluate(t);return C.instance_of(o,w)?t.contextPosition===o.numberValue():o.booleanValue()},I.predicateString=function(e){return k("[","]",e.toString())},I.predicatesString=function(e){return Z("",S(I.predicateString,e))},I.prototype.toString=function(){if(this.filter!=null){var e=ue(this.filter);return C.instance_of(this.filter,b)?k("'","'",e):this.filterPredicates!=null&&this.filterPredicates.length?k("(",")",e)+I.predicatesString(this.filterPredicates):this.locationPath!=null?e+(this.locationPath.absolute?"":"/")+ue(this.locationPath):e}return ue(this.locationPath)},I.getOwnerElement=function(e){if(e.ownerElement)return e.ownerElement;try{if(e.selectSingleNode)return e.selectSingleNode("..")}catch{}for(var t=e.nodeType==x.DOCUMENT_NODE?e:e.ownerDocument,o=t.getElementsByTagName("*"),a=0;a<o.length;a++)for(var i=o.item(a),l=i.attributes,g=0;g<l.length;g++){var L=l.item(g);if(L===e)return i}return null},Re.prototype=new Object,Re.prototype.constructor=Re,Re.superclass=Object.prototype;function Re(e,t){arguments.length>0&&this.init(e,t)}Re.prototype.init=function(e,t){this.absolute=e,this.steps=t},Re.prototype.toString=function(){return(this.absolute?"/":"")+S(ue,this.steps).join("/")},A.prototype=new Object,A.prototype.constructor=A,A.superclass=Object.prototype;function A(e,t,o){arguments.length>0&&this.init(e,t,o)}A.prototype.init=function(e,t,o){this.axis=e,this.nodeTest=t,this.predicates=o},A.prototype.toString=function(){return A.STEPNAMES[this.axis]+"::"+this.nodeTest.toString()+I.predicatesString(this.predicates)},A.ANCESTOR=0,A.ANCESTORORSELF=1,A.ATTRIBUTE=2,A.CHILD=3,A.DESCENDANT=4,A.DESCENDANTORSELF=5,A.FOLLOWING=6,A.FOLLOWINGSIBLING=7,A.NAMESPACE=8,A.PARENT=9,A.PRECEDING=10,A.PRECEDINGSIBLING=11,A.SELF=12,A.STEPNAMES=T(function(e,t){return e[t[0]]=t[1],e},{},[[A.ANCESTOR,"ancestor"],[A.ANCESTORORSELF,"ancestor-or-self"],[A.ATTRIBUTE,"attribute"],[A.CHILD,"child"],[A.DESCENDANT,"descendant"],[A.DESCENDANTORSELF,"descendant-or-self"],[A.FOLLOWING,"following"],[A.FOLLOWINGSIBLING,"following-sibling"],[A.NAMESPACE,"namespace"],[A.PARENT,"parent"],[A.PRECEDING,"preceding"],[A.PRECEDINGSIBLING,"preceding-sibling"],[A.SELF,"self"]]);var Vr=[A.ANCESTOR,A.ANCESTORORSELF,A.PARENT,A.PRECEDING,A.PRECEDINGSIBLING];m.prototype=new Object,m.prototype.constructor=m,m.superclass=Object.prototype;function m(e,t){arguments.length>0&&this.init(e,t)}m.prototype.init=function(e,t){this.type=e,this.value=t},m.prototype.toString=function(){return"<unknown nodetest type>"},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 _(e,t.nodeType)}},m.makeNodeTestType=function(e,t,o){var a=o||function(){};return a.prototype=new m(e),a.prototype.constructor=a,ce(a.prototype,t),a},m.makeNodeTypeTest=function(e,t,o){return new(m.makeNodeTestType(e,{matches:m.isNodeType(t),toString:z(o)}))},m.hasPrefix=function(e){return e.prefix||(e.nodeName||e.tagName).indexOf(":")!==-1},m.isElementOrAttribute=m.isNodeType([1,2]),m.nameSpaceMatches=function(e,t,o){var a=o.namespaceURI||"";if(!e)return!a||t.allowAnyNamespaceForNoPrefix&&!m.hasPrefix(o);var i=t.namespaceResolver.getNamespace(e,t.expressionContextNode);if(i==null)throw new Error("Cannot resolve QName "+e);return i===a},m.localNameMatches=function(e,t,o){var a=o.localName||o.nodeName;return t.caseInsensitive?e.toLowerCase()===a.toLowerCase():e===a},m.NameTestPrefixAny=m.makeNodeTestType(m.NAMETESTPREFIXANY,{matches:function(e,t){return m.isElementOrAttribute(e)&&m.nameSpaceMatches(this.prefix,t,e)},toString:function(){return this.prefix+":*"}},function(t){this.prefix=t}),m.NameTestQName=m.makeNodeTestType(m.NAMETESTQNAME,{matches:function(e,t){return m.isNodeType([x.ELEMENT_NODE,x.ATTRIBUTE_NODE,x.NAMESPACE_NODE])(e)&&m.nameSpaceMatches(this.prefix,t,e)&&m.localNameMatches(this.localName,t,e)},toString:function(){return this.name}},function(t){var o=t.split(":");this.name=t,this.prefix=o.length>1?o[0]:null,this.localName=o[o.length>1?1:0]}),m.PITest=m.makeNodeTestType(m.PI,{matches:function(e,t){return m.isNodeType([x.PROCESSING_INSTRUCTION_NODE])(e)&&(e.target||e.nodeName)===this.name},toString:function(){return k('processing-instruction("','")',this.name)}},function(e){this.name=e}),m.nameTestAny=m.makeNodeTypeTest(m.NAMETESTANY,[x.ELEMENT_NODE,x.ATTRIBUTE_NODE,x.NAMESPACE_NODE],"*"),m.textTest=m.makeNodeTypeTest(m.TEXT,[x.TEXT_NODE,x.CDATA_SECTION_NODE],"text()"),m.commentTest=m.makeNodeTypeTest(m.COMMENT,[x.COMMENT_NODE],"comment()"),m.nodeTest=m.makeNodeTypeTest(m.NODE,[x.ELEMENT_NODE,x.ATTRIBUTE_NODE,x.TEXT_NODE,x.CDATA_SECTION_NODE,x.PROCESSING_INSTRUCTION_NODE,x.COMMENT_NODE,x.DOCUMENT_NODE],"node()"),m.anyPiTest=m.makeNodeTypeTest(m.PI,[x.PROCESSING_INSTRUCTION_NODE],"processing-instruction()"),_e.prototype=new q,_e.prototype.constructor=_e,_e.superclass=q.prototype;function _e(e){arguments.length>0&&this.init(e)}_e.prototype.init=function(e){this.variable=e},_e.prototype.toString=function(){return"$"+this.variable},_e.prototype.evaluate=function(e){var t=C.resolveQName(this.variable,e.namespaceResolver,e.contextNode,!1);if(t[0]==null)throw new Error("Cannot resolve QName "+fn);var o=e.variableResolver.getVariable(t[1],t[0]);if(!o)throw Se.fromMessage("Undeclared variable: "+this.toString());return o},we.prototype=new q,we.prototype.constructor=we,we.superclass=q.prototype;function we(e,t){arguments.length>0&&this.init(e,t)}we.prototype.init=function(e,t){this.functionName=e,this.arguments=t},we.prototype.toString=function(){for(var e=this.functionName+"(",t=0;t<this.arguments.length;t++)t>0&&(e+=", "),e+=this.arguments[t].toString();return e+")"},we.prototype.evaluate=function(e){var t=Ae.getFunctionFromContext(this.functionName,e);if(!t)throw new Error("Unknown function "+this.functionName);var o=[e].concat(this.arguments);return t.apply(e.functionResolver.thisArg,o)};var J=new Object;J.equals=function(e,t){return e.equals(t)},J.notequal=function(e,t){return e.notequal(t)},J.lessthan=function(e,t){return e.lessthan(t)},J.greaterthan=function(e,t){return e.greaterthan(t)},J.lessthanorequal=function(e,t){return e.lessthanorequal(t)},J.greaterthanorequal=function(e,t){return e.greaterthanorequal(t)},b.prototype=new q,b.prototype.constructor=b,b.superclass=q.prototype;function b(e){arguments.length>0&&this.init(e)}b.prototype.init=function(e){this.str=String(e)},b.prototype.toString=function(){return this.str},b.prototype.evaluate=function(e){return this},b.prototype.string=function(){return this},b.prototype.number=function(){return new w(this.str)},b.prototype.bool=function(){return new y(this.str)},b.prototype.nodeset=function(){throw new Error("Cannot convert string to nodeset")},b.prototype.stringValue=function(){return this.str},b.prototype.numberValue=function(){return this.number().numberValue()},b.prototype.booleanValue=function(){return this.bool().booleanValue()},b.prototype.equals=function(e){return C.instance_of(e,y)?this.bool().equals(e):C.instance_of(e,w)?this.number().equals(e):C.instance_of(e,N)?e.compareWithString(this,J.equals):new y(this.str==e.str)},b.prototype.notequal=function(e){return C.instance_of(e,y)?this.bool().notequal(e):C.instance_of(e,w)?this.number().notequal(e):C.instance_of(e,N)?e.compareWithString(this,J.notequal):new y(this.str!=e.str)},b.prototype.lessthan=function(e){return this.number().lessthan(e)},b.prototype.greaterthan=function(e){return this.number().greaterthan(e)},b.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},b.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},w.prototype=new q,w.prototype.constructor=w,w.superclass=q.prototype;function w(e){arguments.length>0&&this.init(e)}w.prototype.init=function(e){this.num=typeof e=="string"?this.parse(e):Number(e)},w.prototype.numberFormat=/^\s*-?[0-9]*\.?[0-9]+\s*$/,w.prototype.parse=function(e){return this.numberFormat.test(e)?parseFloat(e):Number.NaN};function kr(e){for(var t=e.split("e-"),o=t[0].replace(".",""),a=Number(t[1]),i=0;i<a-1;i+=1)o="0"+o;return"0."+o}function Gr(e){for(var t=e.split("e"),o=t[0].replace(".",""),a=Number(t[1]),i=a+1-o.length,l=0;l<i;l+=1)o+="0";return o}w.prototype.toString=function(){var e=this.num.toString();return e.indexOf("e-")!==-1?kr(e):e.indexOf("e")!==-1?Gr(e):e},w.prototype.evaluate=function(e){return this},w.prototype.string=function(){return new b(this.toString())},w.prototype.number=function(){return this},w.prototype.bool=function(){return new y(this.num)},w.prototype.nodeset=function(){throw new Error("Cannot convert number to nodeset")},w.prototype.stringValue=function(){return this.string().stringValue()},w.prototype.numberValue=function(){return this.num},w.prototype.booleanValue=function(){return this.bool().booleanValue()},w.prototype.negate=function(){return new w(-this.num)},w.prototype.equals=function(e){return C.instance_of(e,y)?this.bool().equals(e):C.instance_of(e,b)?this.equals(e.number()):C.instance_of(e,N)?e.compareWithNumber(this,J.equals):new y(this.num==e.num)},w.prototype.notequal=function(e){return C.instance_of(e,y)?this.bool().notequal(e):C.instance_of(e,b)?this.notequal(e.number()):C.instance_of(e,N)?e.compareWithNumber(this,J.notequal):new y(this.num!=e.num)},w.prototype.lessthan=function(e){return C.instance_of(e,N)?e.compareWithNumber(this,J.greaterthan):C.instance_of(e,y)||C.instance_of(e,b)?this.lessthan(e.number()):new y(this.num<e.num)},w.prototype.greaterthan=function(e){return C.instance_of(e,N)?e.compareWithNumber(this,J.lessthan):C.instance_of(e,y)||C.instance_of(e,b)?this.greaterthan(e.number()):new y(this.num>e.num)},w.prototype.lessthanorequal=function(e){return C.instance_of(e,N)?e.compareWithNumber(this,J.greaterthanorequal):C.instance_of(e,y)||C.instance_of(e,b)?this.lessthanorequal(e.number()):new y(this.num<=e.num)},w.prototype.greaterthanorequal=function(e){return C.instance_of(e,N)?e.compareWithNumber(this,J.lessthanorequal):C.instance_of(e,y)||C.instance_of(e,b)?this.greaterthanorequal(e.number()):new y(this.num>=e.num)},w.prototype.plus=function(e){return new w(this.num+e.num)},w.prototype.minus=function(e){return new w(this.num-e.num)},w.prototype.multiply=function(e){return new w(this.num*e.num)},w.prototype.div=function(e){return new w(this.num/e.num)},w.prototype.mod=function(e){return new w(this.num%e.num)},y.prototype=new q,y.prototype.constructor=y,y.superclass=q.prototype;function y(e){arguments.length>0&&this.init(e)}y.prototype.init=function(e){this.b=!!e},y.prototype.toString=function(){return this.b.toString()},y.prototype.evaluate=function(e){return this},y.prototype.string=function(){return new b(this.b)},y.prototype.number=function(){return new w(this.b)},y.prototype.bool=function(){return this},y.prototype.nodeset=function(){throw new Error("Cannot convert boolean to nodeset")},y.prototype.stringValue=function(){return this.string().stringValue()},y.prototype.numberValue=function(){return this.number().numberValue()},y.prototype.booleanValue=function(){return this.b},y.prototype.not=function(){return new y(!this.b)},y.prototype.equals=function(e){return C.instance_of(e,b)||C.instance_of(e,w)?this.equals(e.bool()):C.instance_of(e,N)?e.compareWithBoolean(this,J.equals):new y(this.b==e.b)},y.prototype.notequal=function(e){return C.instance_of(e,b)||C.instance_of(e,w)?this.notequal(e.bool()):C.instance_of(e,N)?e.compareWithBoolean(this,J.notequal):new y(this.b!=e.b)},y.prototype.lessthan=function(e){return this.number().lessthan(e)},y.prototype.greaterthan=function(e){return this.number().greaterthan(e)},y.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},y.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},y.true_=new y(!0),y.false_=new y(!1),oe.prototype=new Object,oe.prototype.constructor=oe,oe.superclass=Object.prototype;function oe(e){this.init(e)}oe.prototype.init=function(e){this.left=null,this.right=null,this.node=e,this.depth=1},oe.prototype.balance=function(){var e=this.left==null?0:this.left.depth,t=this.right==null?0:this.right.depth;if(e>t+1){var o=this.left.left==null?0:this.left.left.depth,a=this.left.right==null?0:this.left.right.depth;o<a&&this.left.rotateRR(),this.rotateLL()}else if(e+1<t){var i=this.right.right==null?0:this.right.right.depth,l=this.right.left==null?0:this.right.left.depth;l>i&&this.right.rotateLL(),this.rotateRR()}},oe.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()},oe.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()},oe.prototype.updateInNewLocation=function(){this.getDepthFromChildren()},oe.prototype.getDepthFromChildren=function(){this.depth=this.node==null?0:1,this.left!=null&&(this.depth=this.left.depth+1),this.right!=null&&this.depth<=this.right.depth&&(this.depth=this.right.depth+1)};function Hr(e,t){if(e===t)return 0;if(e.compareDocumentPosition){var o=e.compareDocumentPosition(t);return o&1||o&10?1:o&20?-1:0}for(var a=0,i=0,l=e;l!=null;l=l.parentNode||l.ownerElement)a++;for(var g=t;g!=null;g=g.parentNode||g.ownerElement)i++;if(a>i){for(;a>i;)e=e.parentNode||e.ownerElement,a--;if(e===t)return 1}else if(i>a){for(;i>a;)t=t.parentNode||t.ownerElement,i--;if(e===t)return-1}for(var L=e.parentNode||e.ownerElement,P=t.parentNode||t.ownerElement;L!==P;)e=L,t=P,L=e.parentNode||e.ownerElement,P=t.parentNode||t.ownerElement;var d=jt(e),B=jt(t);if(d&&!B)return-1;if(!d&&B)return 1;if(e.isXPathNamespace){if(e.nodeValue===$.XML_NAMESPACE_URI||!t.isXPathNamespace)return-1;if(t.nodeValue===$.XML_NAMESPACE_URI)return 1}else if(t.isXPathNamespace)return 1;if(L)for(var Pe=d?L.attributes:L.childNodes,Ye=Pe.length,Je=e.baseNode||e,We=t.baseNode||t,it=0;it<Ye;it+=1){var st=Pe[it];if(st===Je)return-1;if(st===We)return 1}throw new Error("Unexpected: could not determine node order")}oe.prototype.add=function(e){if(e===this.node)return!1;var t=Hr(e,this.node),o=!1;return t==-1?this.left==null?(this.left=new oe(e),o=!0):(o=this.left.add(e),o&&this.balance()):t==1&&(this.right==null?(this.right=new oe(e),o=!0):(o=this.right.add(e),o&&this.balance())),o&&this.getDepthFromChildren(),o},N.prototype=new q,N.prototype.constructor=N,N.superclass=q.prototype;function N(){this.init()}N.prototype.init=function(){this.tree=null,this.nodes=[],this.size=0},N.prototype.toString=function(){var e=this.first();return e==null?"":this.stringForNode(e)},N.prototype.evaluate=function(e){return this},N.prototype.string=function(){return new b(this.toString())},N.prototype.stringValue=function(){return this.toString()},N.prototype.number=function(){return new w(this.string())},N.prototype.numberValue=function(){return Number(this.string())},N.prototype.bool=function(){return new y(this.booleanValue())},N.prototype.booleanValue=function(){return!!this.size},N.prototype.nodeset=function(){return this},N.prototype.stringForNode=function(e){return e.nodeType==x.DOCUMENT_NODE||e.nodeType==x.ELEMENT_NODE||e.nodeType===x.DOCUMENT_FRAGMENT_NODE?this.stringForContainerNode(e):e.nodeType===x.ATTRIBUTE_NODE?e.value||e.nodeValue:e.isNamespaceNode?e.namespace:e.nodeValue},N.prototype.stringForContainerNode=function(e){for(var t="",o=e.firstChild;o!=null;o=o.nextSibling){var a=o.nodeType;(a===1||a===3||a===4||a===9||a===11)&&(t+=this.stringForNode(o))}return t},N.prototype.buildTree=function(){if(!this.tree&&this.nodes.length){this.tree=new oe(this.nodes[0]);for(var e=1;e<this.nodes.length;e+=1)this.tree.add(this.nodes[e])}return this.tree},N.prototype.first=function(){var e=this.buildTree();if(e==null)return null;for(;e.left!=null;)e=e.left;return e.node},N.prototype.add=function(e){for(var t=0;t<this.nodes.length;t+=1)if(e===this.nodes[t])return;this.tree=null,this.nodes.push(e),this.size+=1},N.prototype.addArray=function(e){var t=this;D(function(o){t.add(o)},e)},N.prototype.toArray=function(){var e=[];return this.toArrayRec(this.buildTree(),e),e},N.prototype.toArrayRec=function(e,t){e!=null&&(this.toArrayRec(e.left,t),t.push(e.node),this.toArrayRec(e.right,t))},N.prototype.toUnsortedArray=function(){return this.nodes.slice()},N.prototype.compareWithString=function(e,t){for(var o=this.toUnsortedArray(),a=0;a<o.length;a++){var i=o[a],l=new b(this.stringForNode(i)),g=t(l,e);if(g.booleanValue())return g}return new y(!1)},N.prototype.compareWithNumber=function(e,t){for(var o=this.toUnsortedArray(),a=0;a<o.length;a++){var i=o[a],l=new w(this.stringForNode(i)),g=t(l,e);if(g.booleanValue())return g}return new y(!1)},N.prototype.compareWithBoolean=function(e,t){return t(this.bool(),e)},N.prototype.compareWithNodeSet=function(e,t){for(var o=this.toUnsortedArray(),a=function(L,P){return t(P,L)},i=0;i<o.length;i++){var l=new b(this.stringForNode(o[i])),g=e.compareWithString(l,a);if(g.booleanValue())return g}return new y(!1)},N.compareWith=v(function(e,t){return C.instance_of(t,b)?this.compareWithString(t,e):C.instance_of(t,w)?this.compareWithNumber(t,e):C.instance_of(t,y)?this.compareWithBoolean(t,e):this.compareWithNodeSet(t,e)}),N.prototype.equals=N.compareWith(J.equals),N.prototype.notequal=N.compareWith(J.notequal),N.prototype.lessthan=N.compareWith(J.lessthan),N.prototype.greaterthan=N.compareWith(J.greaterthan),N.prototype.lessthanorequal=N.compareWith(J.lessthanorequal),N.prototype.greaterthanorequal=N.compareWith(J.greaterthanorequal),N.prototype.union=function(e){var t=new N;return t.addArray(this.toUnsortedArray()),t.addArray(e.toUnsortedArray()),t},je.prototype=new Object,je.prototype.constructor=je,je.superclass=Object.prototype;function je(e,t,o,a){this.isXPathNamespace=!0,this.baseNode=t,this.ownerDocument=a.ownerDocument,this.nodeName=e,this.prefix=e,this.localName=e,this.namespaceURI=null,this.nodeValue=o,this.ownerElement=a,this.nodeType=x.NAMESPACE_NODE}je.prototype.toString=function(){return'{ "'+this.prefix+'", "'+this.namespaceURI+'" }'},Be.prototype=new Object,Be.prototype.constructor=Be,Be.superclass=Object.prototype;function Be(e,t,o){this.variableResolver=e??new Ge,this.namespaceResolver=t??new Ie,this.functionResolver=o??new Ae}Be.prototype.extend=function(e){return ce(new Be,this,e)},Ge.prototype=new Object,Ge.prototype.constructor=Ge,Ge.superclass=Object.prototype;function Ge(){}Ge.prototype.getVariable=function(e,t){return null},Ae.prototype=new Object,Ae.prototype.constructor=Ae,Ae.superclass=Object.prototype;function Ae(e){this.thisArg=e??O,this.functions=new Object,this.addStandardFunctions()}Ae.prototype.addStandardFunctions=function(){this.functions["{}last"]=O.last,this.functions["{}position"]=O.position,this.functions["{}count"]=O.count,this.functions["{}id"]=O.id,this.functions["{}local-name"]=O.localName,this.functions["{}namespace-uri"]=O.namespaceURI,this.functions["{}name"]=O.name,this.functions["{}string"]=O.string,this.functions["{}concat"]=O.concat,this.functions["{}starts-with"]=O.startsWith,this.functions["{}contains"]=O.contains,this.functions["{}substring-before"]=O.substringBefore,this.functions["{}substring-after"]=O.substringAfter,this.functions["{}substring"]=O.substring,this.functions["{}string-length"]=O.stringLength,this.functions["{}normalize-space"]=O.normalizeSpace,this.functions["{}translate"]=O.translate,this.functions["{}boolean"]=O.boolean_,this.functions["{}not"]=O.not,this.functions["{}true"]=O.true_,this.functions["{}false"]=O.false_,this.functions["{}lang"]=O.lang,this.functions["{}number"]=O.number,this.functions["{}sum"]=O.sum,this.functions["{}floor"]=O.floor,this.functions["{}ceiling"]=O.ceiling,this.functions["{}round"]=O.round},Ae.prototype.addFunction=function(e,t,o){this.functions["{"+e+"}"+t]=o},Ae.getFunctionFromContext=function(e,t){var o=C.resolveQName(e,t.namespaceResolver,t.contextNode,!1);if(o[0]===null)throw new Error("Cannot resolve QName "+name);return t.functionResolver.getFunction(o[1],o[0])},Ae.prototype.getFunction=function(e,t){return this.functions["{"+t+"}"+e]},Ie.prototype=new Object,Ie.prototype.constructor=Ie,Ie.superclass=Object.prototype;function Ie(){}Ie.prototype.getNamespace=function(e,t){if(e=="xml")return $.XML_NAMESPACE_URI;if(e=="xmlns")return $.XMLNS_NAMESPACE_URI;for(t.nodeType==x.DOCUMENT_NODE?t=t.documentElement:t.nodeType==x.ATTRIBUTE_NODE?t=I.getOwnerElement(t):t.nodeType!=x.ELEMENT_NODE&&(t=t.parentNode);t!=null&&t.nodeType==x.ELEMENT_NODE;){for(var o=t.attributes,a=0;a<o.length;a++){var i=o.item(a),l=i.name||i.nodeName;if(l==="xmlns"&&e===""||l==="xmlns:"+e)return String(i.value||i.nodeValue)}t=t.parentNode}return null};var O=new Object;O.last=function(e){if(arguments.length!=1)throw new Error("Function last expects ()");return new w(e.contextSize)},O.position=function(e){if(arguments.length!=1)throw new Error("Function position expects ()");return new w(e.contextPosition)},O.count=function(){var e=arguments[0],t;if(arguments.length!=2||!C.instance_of(t=arguments[1].evaluate(e),N))throw new Error("Function count expects (node-set)");return new w(t.size)},O.id=function(){var e=arguments[0],t;if(arguments.length!=2)throw new Error("Function id expects (object)");t=arguments[1].evaluate(e),C.instance_of(t,N)?t=t.toArray().join(" "):t=t.stringValue();for(var o=t.split(/[\x0d\x0a\x09\x20]+/),a=new N,i=e.contextNode.nodeType==x.DOCUMENT_NODE?e.contextNode:e.contextNode.ownerDocument,l=0;l<o.length;l++){var g;i.getElementById?g=i.getElementById(o[l]):g=C.getElementById(i,o[l]),g!=null&&a.add(g)}return a},O.localName=function(e,t){var o;if(arguments.length==1)o=e.contextNode;else if(arguments.length==2)o=t.evaluate(e).first();else throw new Error("Function local-name expects (node-set?)");return o==null?new b(""):new b(o.localName||o.baseName||o.target||o.nodeName||"")},O.namespaceURI=function(){var e=arguments[0],t;if(arguments.length==1)t=e.contextNode;else if(arguments.length==2)t=arguments[1].evaluate(e).first();else throw new Error("Function namespace-uri expects (node-set?)");return t==null?new b(""):new b(t.namespaceURI||"")},O.name=function(){var e=arguments[0],t;if(arguments.length==1)t=e.contextNode;else if(arguments.length==2)t=arguments[1].evaluate(e).first();else throw new Error("Function name expects (node-set?)");return t==null?new b(""):t.nodeType==x.ELEMENT_NODE?new b(t.nodeName):t.nodeType==x.ATTRIBUTE_NODE?new b(t.name||t.nodeName):t.nodeType===x.PROCESSING_INSTRUCTION_NODE?new b(t.target||t.nodeName):t.localName==null?new b(""):new b(t.localName)},O.string=function(){var e=arguments[0];if(arguments.length==1)return new b(N.prototype.stringForNode(e.contextNode));if(arguments.length==2)return arguments[1].evaluate(e).string();throw new Error("Function string expects (object?)")},O.concat=function(e){if(arguments.length<3)throw new Error("Function concat expects (string, string[, string]*)");for(var t="",o=1;o<arguments.length;o++)t+=arguments[o].evaluate(e).stringValue();return new b(t)},O.startsWith=function(){var e=arguments[0];if(arguments.length!=3)throw new Error("Function startsWith expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),o=arguments[2].evaluate(e).stringValue();return new y(t.substring(0,o.length)==o)},O.contains=function(){var e=arguments[0];if(arguments.length!=3)throw new Error("Function contains expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),o=arguments[2].evaluate(e).stringValue();return new y(t.indexOf(o)!==-1)},O.substringBefore=function(){var e=arguments[0];if(arguments.length!=3)throw new Error("Function substring-before expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),o=arguments[2].evaluate(e).stringValue();return new b(t.substring(0,t.indexOf(o)))},O.substringAfter=function(){var e=arguments[0];if(arguments.length!=3)throw new Error("Function substring-after expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),o=arguments[2].evaluate(e).stringValue();if(o.length==0)return new b(t);var a=t.indexOf(o);return a==-1?new b(""):new b(t.substring(a+o.length))},O.substring=function(){var e=arguments[0];if(!(arguments.length==3||arguments.length==4))throw new Error("Function substring expects (string, number, number?)");var t=arguments[1].evaluate(e).stringValue(),o=Math.round(arguments[2].evaluate(e).numberValue())-1,a=arguments.length==4?o+Math.round(arguments[3].evaluate(e).numberValue()):void 0;return new b(t.substring(o,a))},O.stringLength=function(){var e=arguments[0],t;if(arguments.length==1)t=N.prototype.stringForNode(e.contextNode);else if(arguments.length==2)t=arguments[1].evaluate(e).stringValue();else throw new Error("Function string-length expects (string?)");return new w(t.length)},O.normalizeSpace=function(){var e=arguments[0],t;if(arguments.length==1)t=N.prototype.stringForNode(e.contextNode);else if(arguments.length==2)t=arguments[1].evaluate(e).stringValue();else throw new Error("Function normalize-space expects (string?)");for(var o=0,a=t.length-1;C.isSpace(t.charCodeAt(a));)a--;for(var i="";o<=a&&C.isSpace(t.charCodeAt(o));)o++;for(;o<=a;)if(C.isSpace(t.charCodeAt(o)))for(i+=" ";o<=a&&C.isSpace(t.charCodeAt(o));)o++;else i+=t.charAt(o),o++;return new b(i)},O.translate=function(e,t,o,a){if(arguments.length!=4)throw new Error("Function translate expects (string, string, string)");var i=t.evaluate(e).stringValue(),l=o.evaluate(e).stringValue(),g=a.evaluate(e).stringValue(),L=T(function(d,B,Pe){return B in d||(d[B]=Pe>g.length?"":g[Pe]),d},{},l),P=Z("",S(function(d){return d in L?L[d]:d},i));return new b(P)},O.boolean_=function(){var e=arguments[0];if(arguments.length!=2)throw new Error("Function boolean expects (object)");return arguments[1].evaluate(e).bool()},O.not=function(e,t){if(arguments.length!=2)throw new Error("Function not expects (object)");return t.evaluate(e).bool().not()},O.true_=function(){if(arguments.length!=1)throw new Error("Function true expects ()");return y.true_},O.false_=function(){if(arguments.length!=1)throw new Error("Function false expects ()");return y.false_},O.lang=function(){var e=arguments[0];if(arguments.length!=2)throw new Error("Function lang expects (string)");for(var t,o=e.contextNode;o!=null&&o.nodeType!=x.DOCUMENT_NODE;o=o.parentNode){var a=o.getAttributeNS($.XML_NAMESPACE_URI,"lang");if(a!=null){t=String(a);break}}if(t==null)return y.false_;var i=arguments[1].evaluate(e).stringValue();return new y(t.substring(0,i.length)==i&&(t.length==i.length||t.charAt(i.length)=="-"))},O.number=function(){var e=arguments[0];if(!(arguments.length==1||arguments.length==2))throw new Error("Function number expects (object?)");return arguments.length==1?new w(N.prototype.stringForNode(e.contextNode)):arguments[1].evaluate(e).number()},O.sum=function(){var e=arguments[0],t;if(arguments.length!=2||!C.instance_of(t=arguments[1].evaluate(e),N))throw new Error("Function sum expects (node-set)");t=t.toUnsortedArray();for(var o=0,a=0;a<t.length;a++)o+=new w(N.prototype.stringForNode(t[a])).numberValue();return new w(o)},O.floor=function(){var e=arguments[0];if(arguments.length!=2)throw new Error("Function floor expects (number)");return new w(Math.floor(arguments[1].evaluate(e).numberValue()))},O.ceiling=function(){var e=arguments[0];if(arguments.length!=2)throw new Error("Function ceiling expects (number)");return new w(Math.ceil(arguments[1].evaluate(e).numberValue()))},O.round=function(){var e=arguments[0];if(arguments.length!=2)throw new Error("Function round expects (number)");return new w(Math.round(arguments[1].evaluate(e).numberValue()))};var C=new Object,jt=function(e){return e&&(e.nodeType===x.ATTRIBUTE_NODE||e.ownerElement||e.isXPathNamespace)};C.splitQName=function(e){var t=e.indexOf(":");return t==-1?[null,e]:[e.substring(0,t),e.substring(t+1)]},C.resolveQName=function(e,t,o,a){var i=C.splitQName(e);return i[0]!=null?i[0]=t.getNamespace(i[0],o):a?(i[0]=t.getNamespace("",o),i[0]==null&&(i[0]="")):i[0]="",i},C.isSpace=function(e){return e==9||e==13||e==10||e==32},C.isLetter=function(e){return e>=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||e==902||e>=904&&e<=906||e==908||e>=910&&e<=929||e>=931&&e<=974||e>=976&&e<=982||e==986||e==988||e==990||e==992||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||e==1369||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||e==1749||e>=1765&&e<=1766||e>=2309&&e<=2361||e==2365||e>=2392&&e<=2401||e>=2437&&e<=2444||e>=2447&&e<=2448||e>=2451&&e<=2472||e>=2474&&e<=2480||e==2482||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||e==2654||e>=2674&&e<=2676||e>=2693&&e<=2699||e==2701||e>=2703&&e<=2705||e>=2707&&e<=2728||e>=2730&&e<=2736||e>=2738&&e<=2739||e>=2741&&e<=2745||e==2749||e==2784||e>=2821&&e<=2828||e>=2831&&e<=2832||e>=2835&&e<=2856||e>=2858&&e<=2864||e>=2866&&e<=2867||e>=2870&&e<=2873||e==2877||e>=2908&&e<=2909||e>=2911&&e<=2913||e>=2949&&e<=2954||e>=2958&&e<=2960||e>=2962&&e<=2965||e>=2969&&e<=2970||e==2972||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||e==3294||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||e==3632||e>=3634&&e<=3635||e>=3648&&e<=3653||e>=3713&&e<=3714||e==3716||e>=3719&&e<=3720||e==3722||e==3725||e>=3732&&e<=3735||e>=3737&&e<=3743||e>=3745&&e<=3747||e==3749||e==3751||e>=3754&&e<=3755||e>=3757&&e<=3758||e==3760||e>=3762&&e<=3763||e==3773||e>=3776&&e<=3780||e>=3904&&e<=3911||e>=3913&&e<=3945||e>=4256&&e<=4293||e>=4304&&e<=4342||e==4352||e>=4354&&e<=4355||e>=4357&&e<=4359||e==4361||e>=4363&&e<=4364||e>=4366&&e<=4370||e==4412||e==4414||e==4416||e==4428||e==4430||e==4432||e>=4436&&e<=4437||e==4441||e>=4447&&e<=4449||e==4451||e==4453||e==4455||e==4457||e>=4461&&e<=4462||e>=4466&&e<=4467||e==4469||e==4510||e==4520||e==4523||e>=4526&&e<=4527||e>=4535&&e<=4536||e==4538||e>=4540&&e<=4546||e==4587||e==4592||e==4601||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||e==8025||e==8027||e==8029||e>=8031&&e<=8061||e>=8064&&e<=8116||e>=8118&&e<=8124||e==8126||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||e==8486||e>=8490&&e<=8491||e==8494||e>=8576&&e<=8578||e>=12353&&e<=12436||e>=12449&&e<=12538||e>=12549&&e<=12588||e>=44032&&e<=55203||e>=19968&&e<=40869||e==12295||e>=12321&&e<=12329},C.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||e==46||e==45||e==95||C.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||e==1471||e>=1473&&e<=1474||e==1476||e>=1611&&e<=1618||e==1648||e>=1750&&e<=1756||e>=1757&&e<=1759||e>=1760&&e<=1764||e>=1767&&e<=1768||e>=1770&&e<=1773||e>=2305&&e<=2307||e==2364||e>=2366&&e<=2380||e==2381||e>=2385&&e<=2388||e>=2402&&e<=2403||e>=2433&&e<=2435||e==2492||e==2494||e==2495||e>=2496&&e<=2500||e>=2503&&e<=2504||e>=2507&&e<=2509||e==2519||e>=2530&&e<=2531||e==2562||e==2620||e==2622||e==2623||e>=2624&&e<=2626||e>=2631&&e<=2632||e>=2635&&e<=2637||e>=2672&&e<=2673||e>=2689&&e<=2691||e==2748||e>=2750&&e<=2757||e>=2759&&e<=2761||e>=2763&&e<=2765||e>=2817&&e<=2819||e==2876||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||e==3031||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||e==3415||e==3633||e>=3636&&e<=3642||e>=3655&&e<=3662||e==3761||e>=3764&&e<=3769||e>=3771&&e<=3772||e>=3784&&e<=3789||e>=3864&&e<=3865||e==3893||e==3895||e==3897||e==3902||e==3903||e>=3953&&e<=3972||e>=3974&&e<=3979||e>=3984&&e<=3989||e==3991||e>=3993&&e<=4013||e>=4017&&e<=4023||e==4025||e>=8400&&e<=8412||e==8417||e>=12330&&e<=12335||e==12441||e==12442||e==183||e==720||e==721||e==903||e==1600||e==3654||e==3782||e==12293||e>=12337&&e<=12341||e>=12445&&e<=12446||e>=12540&&e<=12542},C.coalesceText=function(e){for(var t=e.firstChild;t!=null;t=t.nextSibling)if(t.nodeType==x.TEXT_NODE||t.nodeType==x.CDATA_SECTION_NODE){var o=t.nodeValue,a=t;for(t=t.nextSibling;t!=null&&(t.nodeType==x.TEXT_NODE||t.nodeType==x.CDATA_SECTION_NODE);){o+=t.nodeValue;var i=t;t=t.nextSibling,i.parentNode.removeChild(i)}if(a.nodeType==x.CDATA_SECTION_NODE){var l=a.parentNode;if(a.nextSibling==null)l.removeChild(a),l.appendChild(l.ownerDocument.createTextNode(o));else{var g=a.nextSibling;l.removeChild(a),l.insertBefore(l.ownerDocument.createTextNode(o),g)}}else a.nodeValue=o;if(t==null)break}else t.nodeType==x.ELEMENT_NODE&&C.coalesceText(t)},C.instance_of=function(e,t){for(;e!=null;){if(e.constructor===t)return!0;if(e===Object)return!1;e=e.constructor.superclass}return!1},C.getElementById=function(e,t){if(e.nodeType==x.ELEMENT_NODE&&(e.getAttribute("id")==t||e.getAttributeNS(null,"id")==t))return e;for(var o=e.firstChild;o!=null;o=o.nextSibling){var a=C.getElementById(o,t);if(a!=null)return a}return null};var Se=function(){function e(o,a){var i=a?": "+a.toString():"";switch(o){case t.INVALID_EXPRESSION_ERR:return"Invalid expression"+i;case t.TYPE_ERR:return"Type error"+i}return null}function t(o,a,i){var l=Error.call(this,e(o,a)||i);return l.code=o,l.exception=a,l}return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.superclass=Error,t.prototype.toString=function(){return this.message},t.fromMessage=function(o,a){return new t(null,a,o)},t.INVALID_EXPRESSION_ERR=51,t.TYPE_ERR=52,t}();de.prototype={},de.prototype.constructor=de,de.superclass=Object.prototype;function de(e,t,o){this.xpath=o.parse(e),this.context=new Be,this.context.namespaceResolver=new Qe(t)}de.getOwnerDocument=function(e){return e.nodeType===x.DOCUMENT_NODE?e:e.ownerDocument},de.detectHtmlDom=function(e){if(!e)return!1;var t=de.getOwnerDocument(e);try{return t.implementation.hasFeature("HTML","2.0")}catch{return!0}},de.prototype.evaluate=function(e,t,o){this.context.expressionContextNode=e,this.context.caseInsensitive=de.detectHtmlDom(e);var a=this.xpath.evaluate(this.context);return new F(a,t)},Qe.prototype={},Qe.prototype.constructor=Qe,Qe.superclass=Object.prototype;function Qe(e){this.xpathNSResolver=e}Qe.prototype.getNamespace=function(e,t){return this.xpathNSResolver==null?null:this.xpathNSResolver.lookupNamespaceURI(e)},ze.prototype={},ze.prototype.constructor=ze,ze.superclass=Object.prototype;function ze(e){this.node=e,this.namespaceResolver=new Ie}ze.prototype.lookupNamespaceURI=function(e){return this.namespaceResolver.getNamespace(e,this.node)},F.prototype={},F.prototype.constructor=F,F.superclass=Object.prototype;function F(e,t){switch(t==F.ANY_TYPE&&(e.constructor===b?t=F.STRING_TYPE:e.constructor===w?t=F.NUMBER_TYPE:e.constructor===y?t=F.BOOLEAN_TYPE:e.constructor===N&&(t=F.UNORDERED_NODE_ITERATOR_TYPE)),this.resultType=t,t){case F.NUMBER_TYPE:this.numberValue=e.numberValue();return;case F.STRING_TYPE:this.stringValue=e.stringValue();return;case F.BOOLEAN_TYPE:this.booleanValue=e.booleanValue();return;case F.ANY_UNORDERED_NODE_TYPE:case F.FIRST_ORDERED_NODE_TYPE:if(e.constructor===N){this.singleNodeValue=e.first();return}break;case F.UNORDERED_NODE_ITERATOR_TYPE:case F.ORDERED_NODE_ITERATOR_TYPE:if(e.constructor===N){this.invalidIteratorState=!1,this.nodes=e.toArray(),this.iteratorIndex=0;return}break;case F.UNORDERED_NODE_SNAPSHOT_TYPE:case F.ORDERED_NODE_SNAPSHOT_TYPE:if(e.constructor===N){this.nodes=e.toArray(),this.snapshotLength=this.nodes.length;return}break}throw new Se(Se.TYPE_ERR)}F.prototype.iterateNext=function(){if(this.resultType!=F.UNORDERED_NODE_ITERATOR_TYPE&&this.resultType!=F.ORDERED_NODE_ITERATOR_TYPE)throw new Se(Se.TYPE_ERR);return this.nodes[this.iteratorIndex++]},F.prototype.snapshotItem=function(e){if(this.resultType!=F.UNORDERED_NODE_SNAPSHOT_TYPE&&this.resultType!=F.ORDERED_NODE_SNAPSHOT_TYPE)throw new Se(Se.TYPE_ERR);return this.nodes[e]},F.ANY_TYPE=0,F.NUMBER_TYPE=1,F.STRING_TYPE=2,F.BOOLEAN_TYPE=3,F.UNORDERED_NODE_ITERATOR_TYPE=4,F.ORDERED_NODE_ITERATOR_TYPE=5,F.UNORDERED_NODE_SNAPSHOT_TYPE=6,F.ORDERED_NODE_SNAPSHOT_TYPE=7,F.ANY_UNORDERED_NODE_TYPE=8,F.FIRST_ORDERED_NODE_TYPE=9;function Yt(e,t){e.createExpression=function(o,a){try{return new de(o,a,t)}catch(i){throw new Se(Se.INVALID_EXPRESSION_ERR,i)}},e.createNSResolver=function(o){return new ze(o)},e.evaluate=function(o,a,i,l,g){if(l<0||l>9)throw{code:0,toString:function(){return"Request type not supported"}};return e.createExpression(o,i,t).evaluate(a,l,g)}}try{var Wt=!0;try{document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XPath",null)&&(Wt=!1)}catch{}Wt&&Yt(document,new p)}catch{}Yt(n,new p),function(){var e=new p,t=new Ie,o=new Ae,a=new Ge;function i(E){return{getNamespace:function(M,ie){var He=E(M,ie);return He||t.getNamespace(M,ie)}}}function l(E){return i(E.getNamespace.bind(E))}function g(E){return i(function(M){return E[M]})}function L(E){return E&&typeof E.getNamespace=="function"?l(E):typeof E=="function"?i(E):typeof E=="object"?g(E):t}function P(E){if(E===null||typeof E>"u"||E instanceof b||E instanceof y||E instanceof w||E instanceof N)return E;switch(typeof E){case"string":return new b(E);case"boolean":return new y(E);case"number":return new w(E)}var M=new N;return M.addArray([].concat(E)),M}function d(E){return function(M){var ie=Array.prototype.slice.call(arguments,1).map(function(Qr){return Qr.evaluate(M)}),He=E.apply(this,[].concat(M,ie));return P(He)}}function B(E){return{getFunction:function(M,ie){var He=E(M,ie);return He?d(He):o.getFunction(M,ie)}}}function Pe(E){return B(E.getFunction.bind(E))}function Ye(E){return B(function(M){return E[M]})}function Je(E){return E&&typeof E.getFunction=="function"?Pe(E):typeof E=="function"?B(E):typeof E=="object"?Ye(E):o}function We(E){return{getVariable:function(M,ie){var He=E(M,ie);return P(He)}}}function it(E){if(E){if(typeof E.getVariable=="function")return We(E.getVariable.bind(E));if(typeof E=="function")return We(E);if(typeof E=="object")return We(function(M){return E[M]})}return a}function st(E,M,ie){E in ie&&(M[E]=ie[E])}function jr(E){var M=new Be;return E?(M.namespaceResolver=L(E.namespaces),M.functionResolver=Je(E.functions),M.variableResolver=it(E.variables),M.expressionContextNode=E.node,st("allowAnyNamespaceForNoPrefix",M,E),st("isHtml",M,E)):M.namespaceResolver=t,M}function Yr(E,M){var ie=jr(M);return E.evaluate(ie)}var Wr={evaluate:function(E){return Yr(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]}};function $r(E){var M=e.parse(E);return Object.create(Wr,{expression:{value:M}})}n.parse=$r}(),ce(n,{XPath:$,XPathParser:p,XPathResult:F,Step:A,PathExpr:I,NodeTest:m,LocationPath:Re,OrOperation:ne,AndOperation:fe,BarOperation:be,EqualsOperation:U,NotEqualOperation:Q,LessThanOperation:Ee,GreaterThanOperation:ge,LessThanOrEqualOperation:me,GreaterThanOrEqualOperation:Ne,PlusOperation:ve,MinusOperation:xe,MultiplyOperation:Ce,DivOperation:Te,ModOperation:ye,UnaryMinusOperation:te,FunctionCall:we,VariableReference:_e,XPathContext:Be,XNodeSet:N,XBoolean:y,XString:b,XNumber:w,NamespaceResolver:Ie,FunctionResolver:Ae,VariableResolver:Ge,Utilities:C}),n.select=function(e,t,o){return n.selectWithResolver(e,t,null,o)},n.useNamespaces=function(e){var t={mappings:e||{},lookupNamespaceURI:function(o){return this.mappings[o]}};return function(o,a,i){return n.selectWithResolver(o,a,t,i)}},n.selectWithResolver=function(e,t,o,a){var i=new de(e,o,new p),l=F.ANY_TYPE,g=i.evaluate(t,l,null);return g.resultType==F.STRING_TYPE?g=g.stringValue:g.resultType==F.NUMBER_TYPE?g=g.numberValue:g.resultType==F.BOOLEAN_TYPE?g=g.booleanValue:(g=g.nodes,a&&(g=g[0])),g},n.select1=function(e,t){return n.select(e,t,!0)};var Xr=function(e){return Array.isArray(e)&&e.every(f)},Le=function(e){return function(t){return f(t)&&t.nodeType===e}};ce(n,{isNodeLike:f,isArrayOfNodes:Xr,isElement:Le(x.ELEMENT_NODE),isAttribute:Le(x.ATTRIBUTE_NODE),isTextNode:Le(x.TEXT_NODE),isCDATASection:Le(x.CDATA_SECTION_NODE),isProcessingInstruction:Le(x.PROCESSING_INSTRUCTION_NODE),isComment:Le(x.COMMENT_NODE),isDocumentNode:Le(x.DOCUMENT_NODE),isDocumentTypeNode:Le(x.DOCUMENT_TYPE_NODE),isDocumentFragment:Le(x.DOCUMENT_FRAGMENT_NODE)})})(u)})(Lr);const Bu=zr(Lr);export{wu as D,bu as c,zr as g,Bu as x};
|