Files

7 lines
109 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/__vite-browser-external-CTd_dPxk.js","assets/rolldown-runtime-DWdDZTNf.js"])))=>i.map(i=>d[i]);
import{i as e,t}from"./rolldown-runtime-DWdDZTNf.js";import{t as n}from"./preload-helper-NECkhNH4.js";import{a as r,n as i}from"./index-jtNAhQeK.js";import{t as a}from"./katex-BotMgawn.js";import{n as o}from"./faIcons-u_2ozSt4.js";import{n as s,t as c}from"./pptdExportSignature-DMnND2uP.js";import{C as l,w as u}from"./echarts-B_3wWCq7.js";import{n as d,r as f}from"./kimiDesign-kDxO8uUJ.js";var p=t((e=>{function t(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find==`function`)return n.find.call(e,t);for(var i=0;i<e.length;i++)if(r(e,i)){var a=e[i];if(t.call(void 0,a,i,e))return a}}function n(e,t){return t===void 0&&(t=Object),t&&typeof t.getOwnPropertyDescriptors==`function`&&(e=t.create(null,t.getOwnPropertyDescriptors(e))),t&&typeof t.freeze==`function`?t.freeze(e):e}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function i(e,t){if(typeof e!=`object`||!e)throw TypeError(`target is not an object`);for(var n in t)r(t,n)&&(e[n]=t[n]);return e}var a=n({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0});function o(e){return r(a,e.toLowerCase())}var s=n({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function c(e){return r(s,e.toLowerCase())}var l=n({script:!1,style:!1,textarea:!0,title:!0});function u(e){var t=e.toLowerCase();return r(l,t)&&!l[t]}function d(e){var t=e.toLowerCase();return r(l,t)&&l[t]}function f(e){return e===m.HTML}function p(e){return f(e)||e===m.XML_XHTML_APPLICATION}var m=n({HTML:`text/html`,XML_APPLICATION:`application/xml`,XML_TEXT:`text/xml`,XML_XHTML_APPLICATION:`application/xhtml+xml`,XML_SVG_IMAGE:`image/svg+xml`}),h=Object.keys(m).map(function(e){return m[e]});function g(e){return h.indexOf(e)>-1}var _=n({HTML:`http://www.w3.org/1999/xhtml`,SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`});e.assign=i,e.find=t,e.freeze=n,e.HTML_BOOLEAN_ATTRIBUTES=a,e.HTML_RAW_TEXT_ELEMENTS=l,e.HTML_VOID_ELEMENTS=s,e.hasDefaultHTMLNamespace=p,e.hasOwn=r,e.isHTMLBooleanAttribute=o,e.isHTMLRawTextElement=u,e.isHTMLEscapableRawTextElement=d,e.isHTMLMimeType=f,e.isHTMLVoidElement=c,e.isValidMimeType=g,e.MIME_TYPE=m,e.NAMESPACE=_})),m=t((e=>{var t=p();function n(e,t){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:!0,writable:t}})}var r=t.freeze({Error:`Error`,IndexSizeError:`IndexSizeError`,DomstringSizeError:`DomstringSizeError`,HierarchyRequestError:`HierarchyRequestError`,WrongDocumentError:`WrongDocumentError`,InvalidCharacterError:`InvalidCharacterError`,NoDataAllowedError:`NoDataAllowedError`,NoModificationAllowedError:`NoModificationAllowedError`,NotFoundError:`NotFoundError`,NotSupportedError:`NotSupportedError`,InUseAttributeError:`InUseAttributeError`,InvalidStateError:`InvalidStateError`,SyntaxError:`SyntaxError`,InvalidModificationError:`InvalidModificationError`,NamespaceError:`NamespaceError`,InvalidAccessError:`InvalidAccessError`,ValidationError:`ValidationError`,TypeMismatchError:`TypeMismatchError`,SecurityError:`SecurityError`,NetworkError:`NetworkError`,AbortError:`AbortError`,URLMismatchError:`URLMismatchError`,QuotaExceededError:`QuotaExceededError`,TimeoutError:`TimeoutError`,InvalidNodeTypeError:`InvalidNodeTypeError`,DataCloneError:`DataCloneError`,EncodingError:`EncodingError`,NotReadableError:`NotReadableError`,UnknownError:`UnknownError`,ConstraintError:`ConstraintError`,DataError:`DataError`,TransactionInactiveError:`TransactionInactiveError`,ReadOnlyError:`ReadOnlyError`,VersionError:`VersionError`,OperationError:`OperationError`,NotAllowedError:`NotAllowedError`,OptOutError:`OptOutError`}),i=Object.keys(r);function a(e){return typeof e==`number`&&e>=1&&e<=25}function o(e){return typeof e==`string`&&e.substring(e.length-r.Error.length)===r.Error}function s(e,t){a(e)?(this.name=i[e],this.message=t||``):(this.message=e,this.name=o(t)?t:r.Error),Error.captureStackTrace&&Error.captureStackTrace(this,s)}n(s,!0),Object.defineProperties(s.prototype,{code:{enumerable:!0,get:function(){var e=i.indexOf(this.name);return a(e)?e:0}}});for(var c={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},l=Object.entries(c),u=0;u<l.length;u++){var d=l[u][0];s[d]=l[u][1]}function f(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,f)}n(f),e.DOMException=s,e.DOMExceptionName=r,e.ExceptionCode=c,e.ParseError=f})),h=t((e=>{function t(e){try{typeof e!=`function`&&(e=RegExp);var t=new e(`𝌆`,`u`).exec(`𝌆`);return!!t&&t[0].length===2}catch{}return!1}var n=t();function r(e){if(e.source[0]!==`[`)throw Error(e+` can not be used with chars`);return e.source.slice(1,e.source.lastIndexOf(`]`))}function i(e,t){if(e.source[0]!==`[`)throw Error(`/`+e.source+`/ can not be used with chars_without`);if(!t||typeof t!=`string`)throw Error(JSON.stringify(t)+` is not a valid search`);if(e.source.indexOf(t)===-1)throw Error(`"`+t+`" is not is /`+e.source+`/`);if(t===`-`&&e.source.indexOf(t)!==1)throw Error(`"`+t+`" is not at the first postion of /`+e.source+`/`);return new RegExp(e.source.replace(t,``),n?`u`:``)}function a(e){var t=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(e){var n=typeof e==`string`;if(n&&t===void 0&&e===`|`)throw Error("use regg instead of reg to wrap expressions with `|`!");return n?e:e.source}).join(``),n?`mu`:`m`)}function o(e){if(arguments.length===0)throw Error(`no parameters provided`);return a.apply(o,[`(?:`].concat(Array.prototype.slice.call(arguments),[`)`]))}var s=`�`,c=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;n&&(c=a(`[`,r(c),`\\u{10000}-\\u{10FFFF}`,`]`));var l=RegExp(`[^`+r(c)+`]`,n?`u`:``),u=/[\x20\x09\x0D\x0A]/,d=r(u),f=a(u,`+`),p=a(u,`*`),m=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;n&&(m=a(`[`,r(m),`\\u{10000}-\\u{10FFFF}`,`]`));var h=a(`[`,r(m),r(/[-.0-9\xB7]/),r(/[\u0300-\u036F\u203F-\u2040]/),`]`),g=a(m,h,`*`),_=a(h,`+`),v=o(a(`&`,g,`;`),`|`,o(/&#[0-9]+;|&#x[0-9a-fA-F]+;/)),y=a(`%`,g,`;`),b=o(a(`"`,o(/[^%&"]/,`|`,y,`|`,v),`*`,`"`),`|`,a(`'`,o(/[^%&']/,`|`,y,`|`,v),`*`,`'`)),x=o(`"`,o(/[^<&"]/,`|`,v),`*`,`"`,`|`,`'`,o(/[^<&']/,`|`,v),`*`,`'`),S=a(i(m,`:`),i(h,`:`),`*`),C=a(S,o(`:`,S),`?`),w=a(`^`,C,`$`),T=a(`(`,C,`)`),E=o(/"[^"]*"|'[^']*'/),D=a(/^<\?/,`(`,g,`)`,o(f,`(`,c,`*?)`),`?`,/\?>/),O=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,k=o(`"`,O,`*"`,`|`,`'`,i(O,`'`),`*'`),A=`<!--`,j=`-->`,ee=a(A,o(i(c,`-`),`|`,a(`-`,i(c,`-`))),`*`,j),te=`#PCDATA`,ne=o(`EMPTY`,`|`,`ANY`,`|`,o(a(/\(/,p,te,o(p,/\|/,p,C),`*`,p,/\)\*/),`|`,a(/\(/,p,te,p,/\)/)),`|`,a(/\([^>]+\)/,/[?*+]?/)),M=a(`<!ELEMENT`,f,o(C,`|`,y),f,o(ne,`|`,y),p,`>`),N=a(`<!ATTLIST`,f,g,o(f,g,f,o(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,`|`,o(a(`NOTATION`,f,/\(/,p,g,o(p,/\|/,p,g),`*`,p,/\)/),`|`,a(/\(/,p,_,o(p,/\|/,p,_),`*`,p,/\)/))),f,o(/#REQUIRED|#IMPLIED/,`|`,o(o(`#FIXED`,f),`?`,x))),`*`,p,`>`),P=`about:legacy-compat`,F=o(`"`+P+`"`,`|`,`'`+P+`'`),I=`SYSTEM`,L=`PUBLIC`,R=o(o(I,f,E),`|`,o(L,f,k,f,E)),z=a(`^`,o(o(I,f,`(?<SystemLiteralOnly>`,E,`)`),`|`,o(L,f,`(?<PubidLiteral>`,k,`)`,f,`(?<SystemLiteral>`,E,`)`))),B=a(`^`,k,`$`),V=a(`^`,E,`$`),H=o(b,`|`,o(R,o(f,`NDATA`,f,g),`?`)),re=`<!ENTITY`,U=o(a(re,f,g,f,H,p,`>`),`|`,a(re,f,`%`,f,g,f,o(b,`|`,R),p,`>`)),ie=a(`<!NOTATION`,f,g,f,o(R,`|`,a(L,f,k)),p,`>`),W=a(p,`=`,p),ae=/1[.]\d+/,oe=a(f,`version`,W,o(`'`,ae,`'`,`|`,`"`,ae,`"`)),G=/[A-Za-z][-A-Za-z0-9._]*/,K=a(/^<\?xml/,oe,o(f,`encoding`,W,o(`"`,G,`"`,`|`,`'`,G,`'`)),`?`,o(f,`standalone`,W,o(`'`,o(`yes`,`|`,`no`),`'`,`|`,`"`,o(`yes`,`|`,`no`),`"`)),`?`,p,/\?>/),q=`<!DOCTYPE`,J=`<![CDATA[`,Y=`]]>`,se=a(/<!\[CDATA\[/,a(c,`*?`,/\]\]>/));e.chars=r,e.chars_without=i,e.detectUnicodeSupport=t,e.reg=a,e.regg=o,e.ABOUT_LEGACY_COMPAT=P,e.ABOUT_LEGACY_COMPAT_SystemLiteral=F,e.AttlistDecl=N,e.CDATA_START=J,e.CDATA_END=Y,e.CDSect=se,e.Char=c,e.Comment=ee,e.COMMENT_START=A,e.COMMENT_END=j,e.DOCTYPE_DECL_START=q,e.elementdecl=M,e.EntityDecl=U,e.EntityValue=b,e.ExternalID=R,e.ExternalID_match=z,e.Name=g,e.NotationDecl=ie,e.Reference=v,e.PEReference=y,e.PI=D,e.PUBLIC=L,e.PubidLiteral=k,e.PubidLiteral_match=B,e.QName=C,e.QName_exact=w,e.QName_group=T,e.S=f,e.SChar_s=d,e.S_OPT=p,e.SYSTEM=I,e.SystemLiteral=E,e.SystemLiteral_match=V,e.InvalidChar=l,e.UNICODE_REPLACEMENT_CHARACTER=s,e.UNICODE_SUPPORT=n,e.XMLDecl=K})),g=t((e=>{var t=p(),n=t.find,r=t.hasDefaultHTMLNamespace,i=t.hasOwn,a=t.isHTMLMimeType,o=t.isHTMLRawTextElement,s=t.isHTMLVoidElement,c=t.MIME_TYPE,l=t.NAMESPACE,u=Symbol(),d=m(),f=d.DOMException,g=d.DOMExceptionName,_=h();function v(e){if(e!==u)throw TypeError(`Illegal constructor`)}function y(e){return e!==``}function b(e){return e?e.split(/[\t\n\f\r ]+/).filter(y):[]}function x(e,t){return i(e,t)||(e[t]=!0),e}function S(e){if(!e)return[];var t=b(e);return Object.keys(t.reduce(x,{}))}function C(e){return function(t){return e&&e.indexOf(t)!==-1}}function w(e){if(!_.QName_exact.test(e))throw new f(f.INVALID_CHARACTER_ERR,`invalid character in qualified name "`+e+`"`)}function T(e,n){w(n),e=e||null;var r=null,i=n;if(n.indexOf(`:`)>=0){var a=n.split(`:`);r=a[0],i=a[1]}if(r!==null&&e===null)throw new f(f.NAMESPACE_ERR,`prefix is non-null and namespace is null`);if(r===`xml`&&e!==t.NAMESPACE.XML)throw new f(f.NAMESPACE_ERR,`prefix is "xml" and namespace is not the XML namespace`);if((r===`xmlns`||n===`xmlns`)&&e!==t.NAMESPACE.XMLNS)throw new f(f.NAMESPACE_ERR,`either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace`);if(e===t.NAMESPACE.XMLNS&&r!==`xmlns`&&n!==`xmlns`)throw new f(f.NAMESPACE_ERR,`namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"`);return[e,r,i]}function E(e,t){for(var n in e)i(e,n)&&(t[n]=e[n])}function D(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,r=new r,E(n,r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var O={},k=O.ELEMENT_NODE=1,A=O.ATTRIBUTE_NODE=2,j=O.TEXT_NODE=3,ee=O.CDATA_SECTION_NODE=4,te=O.ENTITY_REFERENCE_NODE=5,ne=O.ENTITY_NODE=6,M=O.PROCESSING_INSTRUCTION_NODE=7,N=O.COMMENT_NODE=8,P=O.DOCUMENT_NODE=9,F=O.DOCUMENT_TYPE_NODE=10,I=O.DOCUMENT_FRAGMENT_NODE=11,L=O.NOTATION_NODE=12,R=t.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function z(e,t){if(t.length<e.length)return z(t,e);var n=null;for(var r in e){if(e[r]!==t[r])return n;n=e[r]}return n}function B(e){return e.guid||(e.guid=Math.random()),e.guid}function V(){}V.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e?{requireWellFormed:!!e.requireWellFormed,splitCDATASections:e.splitCDATASections!==!1,nodeFilter:e.nodeFilter||null}:{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null},n=[],r=0;r<this.length;r++)Pe(this[r],n,null,t);return n.join(``)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},V.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}};function H(e,t){this._node=e,this._refresh=t,re(this)}function re(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(Le(e,`length`,n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)i(e,r)&&delete e[r];E(n,e),e._inc=t}}H.prototype.item=function(e){return re(this),this[e]||null},D(H,V);function U(){}function ie(e,t){for(var n=0;n<e.length;){if(e[n]===t)return n;n++}}function W(e,t,n,r){if(r?t[ie(t,r)]=n:(t[t.length]=n,t.length++),e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&ce(i,e,r),se(i,e,n))}}function ae(e,t,n){var r=ie(t,n);if(r>=0){for(var i=t.length-1;r<=i;)t[r]=t[++r];if(t.length=i,e){var a=e.ownerDocument;a&&ce(a,e,n),n.ownerElement=null}}}U.prototype={length:0,item:V.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var t=0;t<this.length;){var n=this[t];if(n.nodeName===e)return n;t++}return null},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!==this._ownerElement)throw new f(f.INUSE_ATTRIBUTE_ERR);var n=this.getNamedItemNS(e.namespaceURI,e.localName);return n===e?e:(W(this._ownerElement,this,e,n),n)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var t=this.getNamedItem(e);if(!t)throw new f(f.NOT_FOUND_ERR,e);return ae(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);if(!n)throw new f(f.NOT_FOUND_ERR,e?e+` : `+t:t);return ae(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){e||(e=null);for(var n=0;n<this.length;){var r=this[n];if(r.localName===t&&r.namespaceURI===e)return r;n++}return null}},U.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}};function oe(){}oe.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=c.XML_APPLICATION;e===l.HTML?r=c.XML_XHTML_APPLICATION:e===l.SVG&&(r=c.XML_SVG_IMAGE);var i=new Y(u,{contentType:r});if(i.implementation=this,i.childNodes=new V,i.doctype=n||null,n&&i.appendChild(n),t){var a=i.createElementNS(e,t);i.appendChild(a)}return i},createDocumentType:function(e,t,n,r){w(e);var i=new we(u);return i.name=e,i.nodeName=e,i.publicId=t||``,i.systemId=n||``,i.internalSubset=r||``,i.childNodes=new V,i},createHTMLDocument:function(e){var t=new Y(u,{contentType:c.HTML});if(t.implementation=this,t.childNodes=new V,e!==!1){t.doctype=this.createDocumentType(`html`),t.doctype.ownerDocument=t,t.appendChild(t.doctype);var n=t.createElement(`html`);t.appendChild(n);var r=t.createElement(`head`);if(n.appendChild(r),typeof e==`string`){var i=t.createElement(`title`);i.appendChild(t.createTextNode(e)),r.appendChild(i)}n.appendChild(t.createElement(`body`))}return t}};function G(e){v(e)}G.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:`about:blank`,get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var t=e;do{if(this===t)return!0;t=t.parentNode}while(t);return!1},getRootNode:function(e){var t=this;do{if(!t.parentNode)return t;t=t.parentNode}while(t)},isEqualNode:function(e){if(!e)return!1;for(var t=[{node:this,other:e}];t.length>0;){var n=t.pop(),r=n.node,i=n.other;if(r.nodeType!==i.nodeType)return!1;switch(r.nodeType){case r.DOCUMENT_TYPE_NODE:if(r.name!==i.name||r.publicId!==i.publicId||r.systemId!==i.systemId)return!1;break;case r.ELEMENT_NODE:if(r.namespaceURI!==i.namespaceURI||r.prefix!==i.prefix||r.localName!==i.localName||r.attributes.length!==i.attributes.length)return!1;for(var a=0;a<r.attributes.length;a++){var o=r.attributes.item(a),s=i.getAttributeNodeNS(o.namespaceURI,o.localName);if(!s)return!1;t.push({node:o,other:s})}break;case r.ATTRIBUTE_NODE:if(r.namespaceURI!==i.namespaceURI||r.localName!==i.localName||r.value!==i.value)return!1;break;case r.PROCESSING_INSTRUCTION_NODE:if(r.target!==i.target||r.data!==i.data)return!1;break;case r.TEXT_NODE:case r.CDATA_SECTION_NODE:case r.COMMENT_NODE:if(r.data!==i.data)return!1;break}if(r.childNodes.length!==i.childNodes.length)return!1;for(var a=r.childNodes.length-1;a>=0;a--)t.push({node:r.childNodes[a],other:i.childNodes[a]})}return!0},isSameNode:function(e){return this===e},insertBefore:function(e,t){return ve(this,e,t)},replaceChild:function(e,t){ve(this,e,t,_e),t&&this.removeChild(t)},removeChild:function(e){return ue(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Ie(this.ownerDocument||this,this,e)},normalize:function(){J(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;n!==null&&n.nodeType===j&&t.nodeType===j?(e.removeChild(n),t.appendData(n.data)):t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(i(n,r)&&n[r]===e)return r}t=t.nodeType==A?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&i(n,e))return n[e];t=t.nodeType==A?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null},compareDocumentPosition:function(e){if(this===e)return 0;var t=e,n=this,r=null,i=null;if(t instanceof ye&&(r=t,t=r.ownerElement),n instanceof ye&&(i=n,n=i.ownerElement,r&&t&&n===t))for(var a=0,o;o=n.attributes[a];a++){if(o===r)return R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+R.DOCUMENT_POSITION_PRECEDING;if(o===i)return R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+R.DOCUMENT_POSITION_FOLLOWING}if(!t||!n||n.ownerDocument!==t.ownerDocument)return R.DOCUMENT_POSITION_DISCONNECTED+R.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(B(n.ownerDocument)>B(t.ownerDocument)?R.DOCUMENT_POSITION_FOLLOWING:R.DOCUMENT_POSITION_PRECEDING);if(i&&t===n)return R.DOCUMENT_POSITION_CONTAINS+R.DOCUMENT_POSITION_PRECEDING;if(r&&t===n)return R.DOCUMENT_POSITION_CONTAINED_BY+R.DOCUMENT_POSITION_FOLLOWING;for(var s=[],c=t.parentNode;c;){if(!i&&c===n)return R.DOCUMENT_POSITION_CONTAINED_BY+R.DOCUMENT_POSITION_FOLLOWING;s.push(c),c=c.parentNode}s.reverse();for(var l=[],u=n.parentNode;u;){if(!r&&u===t)return R.DOCUMENT_POSITION_CONTAINS+R.DOCUMENT_POSITION_PRECEDING;l.push(u),u=u.parentNode}l.reverse();var d=z(s,l);for(var f in d.childNodes){var p=d.childNodes[f];if(p===n)return R.DOCUMENT_POSITION_FOLLOWING;if(p===t)return R.DOCUMENT_POSITION_PRECEDING;if(l.indexOf(p)>=0)return R.DOCUMENT_POSITION_FOLLOWING;if(s.indexOf(p)>=0)return R.DOCUMENT_POSITION_PRECEDING}return 0}};function K(e){return e==`<`&&`&lt;`||e==`>`&&`&gt;`||e==`&`&&`&amp;`||e==`"`&&`&quot;`||`&#`+e.charCodeAt()+`;`}E(O,G),E(O,G.prototype),E(R,G),E(R,G.prototype);function q(e,t){J(e,null,{enter:function(e){return t(e)?J.STOP:!0}})}function J(e,t,n){for(var r=[{node:e,context:t,phase:J.ENTER}];r.length>0;){var i=r.pop();if(i.phase===J.ENTER){var a=n.enter(i.node,i.context);if(a===J.STOP)return J.STOP;if(r.push({node:i.node,context:a,phase:J.EXIT}),a==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:a,phase:J.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}J.STOP=Symbol(`walkDOM.STOP`),J.ENTER=0,J.EXIT=1;function Y(e,t){v(e);var n=t||{};this.ownerDocument=this,this.contentType=n.contentType||c.XML_APPLICATION,this.type=a(this.contentType)?`html`:`xml`}function se(e,t,n){e&&e._inc++,n.namespaceURI===l.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}function ce(e,t,n,r){e&&e._inc++,n.namespaceURI===l.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function le(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n&&!n.nextSibling)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function ue(e,t){if(e!==t.parentNode)throw new f(f.NOT_FOUND_ERR,`child's parent is not parent`);var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,le(e.ownerDocument,e),t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t}function de(e){return e&&(e.nodeType===G.DOCUMENT_NODE||e.nodeType===G.DOCUMENT_FRAGMENT_NODE||e.nodeType===G.ELEMENT_NODE)}function fe(e){return e&&(e.nodeType===G.CDATA_SECTION_NODE||e.nodeType===G.COMMENT_NODE||e.nodeType===G.DOCUMENT_FRAGMENT_NODE||e.nodeType===G.DOCUMENT_TYPE_NODE||e.nodeType===G.ELEMENT_NODE||e.nodeType===G.PROCESSING_INSTRUCTION_NODE||e.nodeType===G.TEXT_NODE)}function X(e){return e&&e.nodeType===G.DOCUMENT_TYPE_NODE}function Z(e){return e&&e.nodeType===G.ELEMENT_NODE}function Q(e){return e&&e.nodeType===G.TEXT_NODE}function pe(e,t){var r=e.childNodes||[];if(n(r,Z)||X(t))return!1;var i=n(r,X);return!(t&&i&&r.indexOf(i)>r.indexOf(t))}function me(e,t){var r=e.childNodes||[];function i(e){return Z(e)&&e!==t}if(n(r,i))return!1;var a=n(r,X);return!(t&&a&&r.indexOf(a)>r.indexOf(t))}function he(e,t,n){if(!de(e))throw new f(f.HIERARCHY_REQUEST_ERR,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new f(f.NOT_FOUND_ERR,`child not in parent`);if(!fe(t)||X(t)&&e.nodeType!==G.DOCUMENT_NODE)throw new f(f.HIERARCHY_REQUEST_ERR,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function ge(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===G.DOCUMENT_FRAGMENT_NODE){var o=a.filter(Z);if(o.length>1||n(a,Q))throw new f(f.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!pe(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(Z(t)&&!pe(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(X(t)){if(n(i,X))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=n(i,Z);if(r&&i.indexOf(s)<i.indexOf(r))throw new f(f.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`);if(!r&&s)throw new f(f.HIERARCHY_REQUEST_ERR,`Doctype can not be appended since element is present`)}}function _e(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===G.DOCUMENT_FRAGMENT_NODE){var o=a.filter(Z);if(o.length>1||n(a,Q))throw new f(f.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!me(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(Z(t)&&!me(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(X(t)){function e(e){return X(e)&&e!==r}if(n(i,e))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=n(i,Z);if(r&&i.indexOf(s)<i.indexOf(r))throw new f(f.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`)}}function ve(e,t,n,r){he(e,t,n),e.nodeType===G.DOCUMENT_NODE&&(r||ge)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===I){var a=t.firstChild;if(a==null)return t;var o=t.lastChild}else a=o=t;var s=n?n.previousSibling:e.lastChild;a.previousSibling=s,o.nextSibling=n,s?s.nextSibling=a:e.firstChild=a,n==null?e.lastChild=o:n.previousSibling=o;do a.parentNode=e;while(a!==o&&(a=a.nextSibling));return le(e.ownerDocument||e,e,t),t.nodeType==I&&(t.firstChild=t.lastChild=null),t}Y.prototype={implementation:null,nodeName:`#document`,nodeType:P,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType===I){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return ve(this,e,t),e.ownerDocument=this,this.documentElement===null&&e.nodeType===k&&(this.documentElement=e),e},removeChild:function(e){var t=ue(this,e);return t===this.documentElement&&(this.documentElement=null),t},replaceChild:function(e,t){ve(this,e,t,_e),e.ownerDocument=this,t&&this.removeChild(t),Z(e)&&(this.documentElement=e)},importNode:function(e,t){return Fe(this,e,t)},getElementById:function(e){var t=null;return q(this.documentElement,function(n){if(n.nodeType==k&&n.getAttribute(`id`)==e)return t=n,!0}),t},createElement:function(e){var t=new $(u);t.ownerDocument=this,this.type===`html`&&(e=e.toLowerCase()),r(this.contentType)&&(t.namespaceURI=l.HTML),t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new V;var n=t.attributes=new U;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new Oe(u);return e.ownerDocument=this,e.childNodes=new V,e},createTextNode:function(e){var t=new xe(u);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createComment:function(e){var t=new Se(u);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf(`]]>`)!==-1)throw new f(f.INVALID_CHARACTER_ERR,`data contains "]]>"`);var t=new Ce(u);return t.ownerDocument=this,t.childNodes=new V,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new ke(u);return n.ownerDocument=this,n.childNodes=new V,n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){if(!_.QName_exact.test(e))throw new f(f.INVALID_CHARACTER_ERR,`invalid character in name "`+e+`"`);return this.type===`html`&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var t=new ye(u);return t.ownerDocument=this,t.childNodes=new V,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!_.Name.test(e))throw new f(f.INVALID_CHARACTER_ERR,`not a valid xml name "`+e+`"`);if(this.type===`html`)throw new f(`document is an html document`,g.NotSupportedError);var t=new De(u);return t.ownerDocument=this,t.childNodes=new V,t.nodeName=e,t},createElementNS:function(e,t){var n=T(e,t),r=new $(u),i=r.attributes=new U;return r.childNodes=new V,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],i._ownerElement=r,r},createAttributeNS:function(e,t){var n=T(e,t),r=new ye(u);return r.ownerDocument=this,r.childNodes=new V,r.nodeName=t,r.name=t,r.specified=!0,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],r}},D(Y,G);function $(e){v(e),this._nsMap=Object.create(null)}$.prototype={nodeType:k,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+`:`+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type===`html`&&this.namespaceURI===l.HTML},hasAttributes:function(){return!!(this.attributes&&this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t?t.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,t){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var n=this.getAttributeNode(e);n?n.value=n.nodeValue=``+t:(n=this.ownerDocument._createAttribute(e),n.value=n.nodeValue=``+t,this.setAttributeNode(n))},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null},setAttributeNS:function(e,t,n){var r=T(e,t)[2],i=this.getAttributeNodeNS(e,r);i?i.value=i.nodeValue=``+n:(i=this.ownerDocument.createAttributeNS(e,t),i.value=i.nodeValue=``+n,this.setAttributeNode(i))},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByClassName:function(e){var t=S(e);return new H(this,function(n){var r=[];return t.length>0&&q(n,function(i){if(i!==n&&i.nodeType===k){var a=i.getAttribute(`class`);if(a){var o=e===a;if(!o){var s=S(a);o=t.every(C(s))}o&&r.push(i)}}}),r})},getElementsByTagName:function(e){var t=(this.nodeType===P?this:this.ownerDocument).type===`html`,n=e.toLowerCase();return new H(this,function(r){var i=[];return q(r,function(a){a===r||a.nodeType!==k||(e===`*`||a.getQualifiedName()===(t&&a.namespaceURI===l.HTML?n:e))&&i.push(a)}),i})},getElementsByTagNameNS:function(e,t){return new H(this,function(n){var r=[];return q(n,function(i){i!==n&&i.nodeType===k&&(e===`*`||i.namespaceURI===e)&&(t===`*`||i.localName==t)&&r.push(i)}),r})}},Y.prototype.getElementsByClassName=$.prototype.getElementsByClassName,Y.prototype.getElementsByTagName=$.prototype.getElementsByTagName,Y.prototype.getElementsByTagNameNS=$.prototype.getElementsByTagNameNS,D($,G);function ye(e){v(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}ye.prototype.nodeType=A,D(ye,G);function be(e){v(e)}be.prototype={data:``,substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}},D(be,G);function xe(e){v(e)}xe.prototype={nodeName:`#text`,nodeType:j,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},D(xe,be);function Se(e){v(e)}Se.prototype={nodeName:`#comment`,nodeType:N},D(Se,be);function Ce(e){v(e)}Ce.prototype={nodeName:`#cdata-section`,nodeType:ee},D(Ce,xe);function we(e){v(e)}we.prototype.nodeType=F,D(we,G);function Te(e){v(e)}Te.prototype.nodeType=L,D(Te,G);function Ee(e){v(e)}Ee.prototype.nodeType=ne,D(Ee,G);function De(e){v(e)}De.prototype.nodeType=te,D(De,G);function Oe(e){v(e)}Oe.prototype.nodeName=`#document-fragment`,Oe.prototype.nodeType=I,D(Oe,G);function ke(e){v(e)}ke.prototype.nodeType=M,D(ke,be);function Ae(){}Ae.prototype.serializeToString=function(e,t){return je.call(e,t)},G.prototype.toString=je;function je(e){var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e==null?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null}:{requireWellFormed:!!e.requireWellFormed,splitCDATASections:e.splitCDATASections!==!1,nodeFilter:e.nodeFilter||null},n=[],r=this.nodeType===P&&this.documentElement||this,i=r.prefix,a=r.namespaceURI;if(a&&i==null){var i=r.lookupPrefix(a);if(i==null)var o=[{namespace:a,prefix:null}]}return Pe(this,n,o,t),n.join(``)}function Me(e,t,n){var r=e.prefix||``,i=e.namespaceURI;if(!i||r===`xml`&&i===l.XML||i===l.XMLNS)return!1;for(var a=n.length;a--;){var o=n[a];if(o.prefix===r)return o.namespace!==i}return!0}function Ne(e,t,n){e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,K),`"`)}function Pe(e,t,n,r){n||(n=[]);var i=r.nodeFilter,a=r.requireWellFormed,c=r.splitCDATASections,u=(e.nodeType===P?e:e.ownerDocument).type===`html`;J(e,{ns:n},{enter:function(e,n){var d=n.ns;if(i)if(e=i(e),e){if(typeof e==`string`)return t.push(e),null}else return null;switch(e.nodeType){case k:var p=e.attributes,m=p.length,h=e.tagName,v=h;if(!u&&!e.prefix&&e.namespaceURI){for(var y,b=0;b<p.length;b++)if(p.item(b).name===`xmlns`){y=p.item(b).value;break}if(!y)for(var x=d.length-1;x>=0;x--){var S=d[x];if(S.prefix===``&&S.namespace===e.namespaceURI){y=S.namespace;break}}if(y!==e.namespaceURI)for(var x=d.length-1;x>=0;x--){var S=d[x];if(S.namespace===e.namespaceURI){S.prefix&&(v=S.prefix+`:`+h);break}}}t.push(`<`,v);for(var C=d.slice(),w=0;w<m;w++){var T=p.item(w);T.prefix==`xmlns`?C.push({prefix:T.localName,namespace:T.value}):T.nodeName==`xmlns`&&C.push({prefix:``,namespace:T.value})}for(var w=0;w<m;w++){var T=p.item(w);if(Me(T,u,C)){var E=T.prefix||``,D=T.namespaceURI;Ne(t,E?`xmlns:`+E:`xmlns`,D),C.push({prefix:E,namespace:D})}var O=i?i(T):T;O&&(typeof O==`string`?t.push(O):Ne(t,O.name,O.value))}if(h===v&&Me(e,u,C)){var ne=e.prefix||``,D=e.namespaceURI;Ne(t,ne?`xmlns:`+ne:`xmlns`,D),C.push({prefix:ne,namespace:D})}var L=!e.firstChild;if(L&&(u||e.namespaceURI===l.HTML)&&(L=s(h)),L)return t.push(`/>`),null;if(t.push(`>`),u&&o(h)){for(var R=e.firstChild;R;)R.data?t.push(R.data):Pe(R,t,C.slice(),r),R=R.nextSibling;return t.push(`</`,v,`>`),null}return{ns:C,tag:v};case P:case I:if(a&&e.nodeType===P&&e.documentElement==null)throw new f(`The Document has no documentElement`,g.InvalidStateError);return{ns:d};case A:return Ne(t,e.name,e.value),null;case j:if(a&&_.InvalidChar.test(e.data))throw new f(`The Text node data contains characters outside the XML Char production`,g.InvalidStateError);return t.push(e.data.replace(/[<&>]/g,K)),null;case ee:if(a&&e.data.indexOf(`]]>`)!==-1)throw new f(`The CDATASection data contains "]]>"`,g.InvalidStateError);return c?t.push(_.CDATA_START,e.data.replace(/]]>/g,`]]]]><![CDATA[>`),_.CDATA_END):t.push(_.CDATA_START,e.data,_.CDATA_END),null;case N:if(a){if(_.InvalidChar.test(e.data))throw new f(`The comment node data contains characters outside the XML Char production`,g.InvalidStateError);if(e.data.indexOf(`--`)!==-1||e.data[e.data.length-1]===`-`)throw new f(`The comment node data contains "--" or ends with "-"`,g.InvalidStateError)}return t.push(_.COMMENT_START,e.data,_.COMMENT_END),null;case F:var z=e.publicId,B=e.systemId;if(a){if(z&&!_.PubidLiteral_match.test(z))throw new f(`DocumentType publicId is not a valid PubidLiteral`,g.InvalidStateError);if(B&&B!==`.`&&!_.SystemLiteral_match.test(B))throw new f(`DocumentType systemId is not a valid SystemLiteral`,g.InvalidStateError);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new f(`DocumentType internalSubset contains "]>"`,g.InvalidStateError)}return t.push(_.DOCTYPE_DECL_START,` `,e.name),z?(t.push(` `,_.PUBLIC,` `,z),B&&B!==`.`&&t.push(` `,B)):B&&B!==`.`&&t.push(` `,_.SYSTEM,` `,B),e.internalSubset&&t.push(` [`,e.internalSubset,`]`),t.push(`>`),null;case M:if(a){if(e.target.indexOf(`:`)!==-1||e.target.toLowerCase()===`xml`)throw new f(`The ProcessingInstruction target is not well-formed`,g.InvalidStateError);if(_.InvalidChar.test(e.data))throw new f(`The ProcessingInstruction data contains characters outside the XML Char production`,g.InvalidStateError);if(e.data.indexOf(`?>`)!==-1)throw new f(`The ProcessingInstruction data contains "?>"`,g.InvalidStateError)}return t.push(`<?`,e.target,` `,e.data,`?>`),null;case te:return t.push(`&`,e.nodeName,`;`),null;default:return t.push(`??`,e.nodeName),null}},exit:function(e,n){n&&n.tag&&t.push(`</`,n.tag,`>`)}})}function Fe(e,t,n){var r;return J(t,null,{enter:function(t,i){var a=t.cloneNode(!1);return a.ownerDocument=e,a.parentNode=null,i===null?r=a:i.appendChild(a),t.nodeType===A||n?a:null}}),r}function Ie(e,t,n){var r;return J(t,null,{enter:function(t,a){var o=new t.constructor(u);for(var s in t)if(i(t,s)){var c=t[s];typeof c!=`object`&&c!=o[s]&&(o[s]=c)}t.childNodes&&(o.childNodes=new V),o.ownerDocument=e;var l=n;switch(o.nodeType){case k:var d=t.attributes,f=o.attributes=new U,p=d.length;f._ownerElement=o;for(var m=0;m<p;m++)o.setAttributeNode(Ie(e,d.item(m),!0));break;case A:l=!0}return a===null?r=o:a.appendChild(o),l?o:null}}),r}function Le(e,t,n){e[t]=n}function Re(e){for(var t=[],n=e.firstChild;n;)n.nodeType===k&&t.push(n),n=n.nextSibling;return t}try{Object.defineProperty&&(Object.defineProperty(H.prototype,`length`,{get:function(){return re(this),this.$$length}}),Object.defineProperty(G.prototype,`textContent`,{get:function(){if(this.nodeType===k||this.nodeType===I){var e=[];return J(this,null,{enter:function(t){if(t.nodeType===k||t.nodeType===I)return!0;if(t.nodeType===M||t.nodeType===N)return null;e.push(t.nodeValue)}}),e.join(``)}return this.nodeValue},set:function(e){switch(this.nodeType){case k:case I:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Object.defineProperty($.prototype,`children`,{get:function(){return new H(this,Re)}}),Object.defineProperty(Y.prototype,`children`,{get:function(){return new H(this,Re)}}),Object.defineProperty(Oe.prototype,`children`,{get:function(){return new H(this,Re)}}),Le=function(e,t,n){e[`$$`+t]=n})}catch{}e._updateLiveList=re,e.Attr=ye,e.CDATASection=Ce,e.CharacterData=be,e.Comment=Se,e.Document=Y,e.DocumentFragment=Oe,e.DocumentType=we,e.DOMImplementation=oe,e.Element=$,e.Entity=Ee,e.EntityReference=De,e.LiveNodeList=H,e.NamedNodeMap=U,e.Node=G,e.NodeList=V,e.Notation=Te,e.Text=xe,e.ProcessingInstruction=ke,e.walkDOM=J,e.XMLSerializer=Ae})),_=t((e=>{var t=p().freeze;e.XML_ENTITIES=t({amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}),e.HTML_ENTITIES=t({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:`\xA0`,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:`
`,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:`\xA0`,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:`‌`}),e.entityMap=e.HTML_ENTITIES})),v=t((e=>{var t=p(),n=h(),r=m(),i=t.isHTMLEscapableRawTextElement,a=t.isHTMLMimeType,o=t.isHTMLRawTextElement,s=t.hasOwn,c=t.NAMESPACE,l=r.ParseError,u=r.DOMException,d=0,f=1,g=2,_=3,v=4,y=5,b=6,x=7;function S(){}S.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),k(t,t=Object.create(null)),w(e,t,n,r,this.errorHandler),r.endDocument()}};var C=/&#?\w+;?/g;function w(e,r,i,o,c){var d=a(o.mimeType);e.indexOf(n.UNICODE_REPLACEMENT_CHARACTER)>=0&&c.warning(`Unicode replacement character detected, source encoding issues?`);function f(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}else return String.fromCharCode(e)}function p(e){var t=e[e.length-1]===`;`?e:e+`;`;if(!d&&t!==e)return c.error(`EntityRef: expecting ;`),e;var r=n.Reference.exec(t);if(!r||r[0].length!==t.length)return c.error(`entity not matching Reference production: `+e),e;var a=t.slice(1,-1);return s(i,a)?i[a]:a.charAt(0)===`#`?f(parseInt(a.substring(1).replace(`x`,`0x`))):(c.error(`entity not found:`+e),e)}function m(t){if(t>S){var n=e.substring(S,t).replace(C,p);v&&y(S),o.characters(n,0,t-S),S=t}}var h=0,g=0,_=/\r\n?|\n|$/g,v=o.locator;function y(t,n){for(;t>=g&&(n=_.exec(e));)h=g,g=n.index+n[0].length,v.lineNumber++;v.columnNumber=t-h+1}for(var b=[{currentNSMap:r}],x=[],S=0;;){try{var w=e.indexOf(`<`,S);if(w<0){if(!d&&x.length>0)return c.fatalError(`unclosed xml tag(s): `+x.join(`, `));if(!e.substring(S).match(/^\s*$/)){var k=o.doc,A=k.createTextNode(e.substring(S));if(k.documentElement)return c.error(`Extra content at the end of the document`);k.appendChild(A),o.currentElement=A}return}if(w>S){var j=e.substring(S,w);!d&&x.length===0&&(j=j.replace(new RegExp(n.S_OPT.source,`g`),``),j&&c.error(`Unexpected content outside root element: '`+j+`'`)),m(w)}switch(e.charAt(w+1)){case`/`:var M=e.indexOf(`>`,w+2),N=e.substring(w+2,M>0?M:void 0);if(!N)return c.fatalError(`end tag name missing`);var P=M>0&&n.reg(`^`,n.QName_group,n.S_OPT,`$`).exec(N);if(!P)return c.fatalError(`end tag name contains invalid characters: "`+N+`"`);if(!o.currentElement&&!o.doc.documentElement)return;var F=x[x.length-1]||o.currentElement.tagName||o.doc.documentElement.tagName||``;if(F!==P[1]){var I=P[1].toLowerCase();if(!d||F.toLowerCase()!==I)return c.fatalError(`Opening and ending tag mismatch: "`+F+`" != "`+N+`"`)}var L=b.pop();x.pop();var R=L.localNSMap;if(o.endElement(L.uri,L.localName,F),R)for(var z in R)s(R,z)&&o.endPrefixMapping(z);M++;break;case`?`:v&&y(w),M=te(e,w,o,c);break;case`!`:v&&y(w),M=ee(e,w,o,c,d);break;default:v&&y(w);var B=new ne,V=b[b.length-1].currentNSMap,M=E(e,w,B,V,p,c,d),H=B.length;if(B.closed||(d&&t.isHTMLVoidElement(B.tagName)?B.closed=!0:x.push(B.tagName)),v&&H){for(var re=T(v,{}),U=0;U<H;U++){var ie=B[U];y(ie.offset),ie.locator=T(v,{})}o.locator=re,D(B,o,V)&&b.push(B),o.locator=v}else D(B,o,V)&&b.push(B);d&&!B.closed?M=O(e,M,B.tagName,p,o):M++}}catch(e){if(e instanceof l)throw e;if(e instanceof u)throw new l(e.name+`: `+e.message,o.locator,e);c.error(`element parse error: `+e),M=-1}M>S?S=M:m(Math.max(w,S)+1)}}function T(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function E(e,t,n,r,i,a,o){function c(e,t,r){if(s(n.attributeNames,e))return a.fatalError(`Attribute `+e+` redefined`);if(!o&&t.indexOf(`<`)>=0)return a.fatalError(`Unescaped '<' not allowed in attributes values`);n.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(C,i),r)}for(var l,u,p=++t,m=d;;){var h=e.charAt(p);switch(h){case`=`:if(m===f)l=e.slice(t,p),m=_;else if(m===g)m=_;else throw Error(`attribute equal must after attrName`);break;case`'`:case`"`:if(m===_||m===f)if(m===f&&(a.warning(`attribute value must after "="`),l=e.slice(t,p)),t=p+1,p=e.indexOf(h,t),p>0)u=e.slice(t,p),c(l,u,t-1),m=y;else throw Error(`attribute value no end '`+h+`' match`);else if(m==v)u=e.slice(t,p),c(l,u,t),a.warning(`attribute "`+l+`" missed start quot(`+h+`)!!`),t=p+1,m=y;else throw Error(`attribute value must after "="`);break;case`/`:switch(m){case d:n.setTagName(e.slice(t,p));case y:case b:case x:m=x,n.closed=!0;case v:case f:break;case g:n.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return a.error(`unexpected end of input`),m==d&&n.setTagName(e.slice(t,p)),p;case`>`:switch(m){case d:n.setTagName(e.slice(t,p));case y:case b:case x:break;case v:case f:u=e.slice(t,p),u.slice(-1)===`/`&&(n.closed=!0,u=u.slice(0,-1));case g:m===g&&(u=l),m==v?(a.warning(`attribute "`+u+`" missed quot(")!`),c(l,u,t)):(o||a.warning(`attribute "`+u+`" missed value!! "`+u+`" instead!!`),c(u,u,t));break;case _:if(!o)return a.fatalError(`AttValue: ' or " expected`)}return p;case`€`:h=` `;default:if(h<=` `)switch(m){case d:n.setTagName(e.slice(t,p)),m=b;break;case f:l=e.slice(t,p),m=g;break;case v:var u=e.slice(t,p);a.warning(`attribute "`+u+`" missed quot(")!!`),c(l,u,t);case y:m=b;break}else switch(m){case g:o||a.warning(`attribute "`+l+`" missed value!! "`+l+`" instead2!!`),c(l,l,t),t=p,m=f;break;case y:a.warning(`attribute space is required"`+l+`"!!`);case b:m=f,t=p;break;case _:m=v,t=p;break;case x:throw Error(`elements closed character '/' and '>' must be connected to`)}}p++}}function D(e,t,n){for(var r=e.tagName,i=null,a=e.length;a--;){var o=e[a],l=o.qName,u=o.value,d=l.indexOf(`:`);if(d>0)var f=o.prefix=l.slice(0,d),p=l.slice(d+1),m=f===`xmlns`&&p;else p=l,f=null,m=l===`xmlns`&&``;o.localName=p,m!==!1&&(i??(i=Object.create(null),k(n,n=Object.create(null))),n[m]=i[m]=u,o.uri=c.XMLNS,t.startPrefixMapping(m,u))}for(var a=e.length;a--;)o=e[a],o.prefix&&(o.prefix===`xml`&&(o.uri=c.XML),o.prefix!==`xmlns`&&(o.uri=n[o.prefix]));var d=r.indexOf(`:`);d>0?(f=e.prefix=r.slice(0,d),p=e.localName=r.slice(d+1)):(f=null,p=e.localName=r);var h=e.uri=n[f||``];if(t.startElement(h,p,r,e),e.closed){if(t.endElement(h,p,r),i)for(f in i)s(i,f)&&t.endPrefixMapping(f)}else return e.currentNSMap=n,e.localNSMap=i,!0}function O(e,t,n,r,a){var s=i(n);if(s||o(n)){var c=e.indexOf(`</`+n+`>`,t),l=e.substring(t+1,c);return s&&(l=l.replace(C,r)),a.characters(l,0,l.length),c}return t+1}function k(e,t){for(var n in e)s(e,n)&&(t[n]=e[n])}function A(e,t){var r=t;function i(t){return t=t||0,e.charAt(r+t)}function a(e){e=e||1,r+=e}function o(){for(var t=0;r<e.length;){var n=i();if(n!==` `&&n!==`
`&&n!==` `&&n!==`\r`)return t;t++,a()}return-1}function s(){return e.substring(r)}function c(t){return e.substring(r,r+t.length)===t}function l(t){return e.substring(r,r+t.length).toUpperCase()===t.toUpperCase()}function u(e){var t=n.reg(`^`,e).exec(s());return t?(a(t[0].length),t[0]):null}return{char:i,getIndex:function(){return r},getMatch:u,getSource:function(){return e},skip:a,skipBlanks:o,substringFromIndex:s,substringStartsWith:c,substringStartsWithCaseInsensitive:l}}function j(e,t){function r(e,t){var r=n.PI.exec(e.substringFromIndex());return r?r[1].toLowerCase()===`xml`?t.fatalError(`xml declaration is only allowed at the start of the document, but found at position `+e.getIndex()):(e.skip(r[0].length),r[0]):t.fatalError(`processing instruction is not well-formed at position `+e.getIndex())}var i=e.getSource();if(e.char()===`[`){e.skip(1);for(var a=e.getIndex();e.getIndex()<i.length;){if(e.skipBlanks(),e.char()===`]`){var o=i.substring(a,e.getIndex());return e.skip(1),o}var s=null;if(e.char()===`<`&&e.char(1)===`!`)switch(e.char(2)){case`E`:e.char(3)===`L`?s=e.getMatch(n.elementdecl):e.char(3)===`N`&&(s=e.getMatch(n.EntityDecl));break;case`A`:s=e.getMatch(n.AttlistDecl);break;case`N`:s=e.getMatch(n.NotationDecl);break;case`-`:s=e.getMatch(n.Comment);break}else if(e.char()===`<`&&e.char(1)===`?`)s=r(e,t);else if(e.char()===`%`)s=e.getMatch(n.PEReference);else return t.fatalError(`Error detected in Markup declaration`);if(!s)return t.fatalError(`Error in internal subset at position `+e.getIndex())}return t.fatalError(`doctype internal subset is not well-formed, missing ]`)}}function ee(e,t,r,i,a){var o=A(e,t);switch(a?o.char(2).toUpperCase():o.char(2)){case`-`:var s=o.getMatch(n.Comment);return s?(r.comment(s,n.COMMENT_START.length,s.length-n.COMMENT_START.length-n.COMMENT_END.length),o.getIndex()):i.fatalError(`comment is not well-formed at position `+o.getIndex());case`[`:var c=o.getMatch(n.CDSect);return c?!a&&!r.currentElement?i.fatalError(`CDATA outside of element`):(r.startCDATA(),r.characters(c,n.CDATA_START.length,c.length-n.CDATA_START.length-n.CDATA_END.length),r.endCDATA(),o.getIndex()):i.fatalError(`Invalid CDATA starting at position `+t);case`D`:if(r.doc&&r.doc.documentElement)return i.fatalError(`Doctype not allowed inside or after documentElement at position `+o.getIndex());if(a?!o.substringStartsWithCaseInsensitive(n.DOCTYPE_DECL_START):!o.substringStartsWith(n.DOCTYPE_DECL_START))return i.fatalError(`Expected `+n.DOCTYPE_DECL_START+` at position `+o.getIndex());if(o.skip(n.DOCTYPE_DECL_START.length),o.skipBlanks()<1)return i.fatalError(`Expected whitespace after `+n.DOCTYPE_DECL_START+` at position `+o.getIndex());var l={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(l.name=o.getMatch(n.Name),!l.name)return i.fatalError(`doctype name missing or contains unexpected characters at position `+o.getIndex());if(a&&l.name.toLowerCase()!==`html`&&i.warning(`Unexpected DOCTYPE in HTML document at position `+o.getIndex()),o.skipBlanks(),o.substringStartsWith(n.PUBLIC)||o.substringStartsWith(n.SYSTEM)){var u=n.ExternalID_match.exec(o.substringFromIndex());if(!u)return i.fatalError(`doctype external id is not well-formed at position `+o.getIndex());u.groups.SystemLiteralOnly===void 0?(l.systemId=u.groups.SystemLiteral,l.publicId=u.groups.PubidLiteral):l.systemId=u.groups.SystemLiteralOnly,o.skip(u[0].length)}else if(a&&o.substringStartsWithCaseInsensitive(n.SYSTEM)){if(o.skip(n.SYSTEM.length),o.skipBlanks()<1)return i.fatalError(`Expected whitespace after `+n.SYSTEM+` at position `+o.getIndex());if(l.systemId=o.getMatch(n.ABOUT_LEGACY_COMPAT_SystemLiteral),!l.systemId)return i.fatalError(`Expected `+n.ABOUT_LEGACY_COMPAT+` in single or double quotes after `+n.SYSTEM+` at position `+o.getIndex())}return a&&l.systemId&&!n.ABOUT_LEGACY_COMPAT_SystemLiteral.test(l.systemId)&&i.warning(`Unexpected doctype.systemId in HTML document at position `+o.getIndex()),a||(o.skipBlanks(),l.internalSubset=j(o,i)),o.skipBlanks(),o.char()===`>`?(o.skip(1),r.startDTD(l.name,l.publicId,l.systemId,l.internalSubset),r.endDTD(),o.getIndex()):i.fatalError(`doctype not terminated with > at position `+o.getIndex());default:return i.fatalError(`Not well-formed XML starting with "<!" at position `+t)}}function te(e,t,r,i){var a=e.substring(t).match(n.PI);if(!a)return i.fatalError(`Invalid processing instruction starting at position `+t);if(a[1].toLowerCase()===`xml`){if(t>0)return i.fatalError(`processing instruction at position `+t+` is an xml declaration which is only at the start of the document`);if(!n.XMLDecl.test(e.substring(t)))return i.fatalError(`xml declaration is not well-formed`)}return r.processingInstruction(a[1],a[2]),t+a[0].length}function ne(){this.attributeNames=Object.create(null)}ne.prototype={setTagName:function(e){if(!n.QName_exact.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,r){if(!n.QName_exact.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},e.XMLReader=S,e.parseUtils=A,e.parseDoctypeCommentOrCData=ee})),y=t((e=>{var t=p(),n=g(),r=m(),i=_(),a=v(),o=n.DOMImplementation,s=t.hasDefaultHTMLNamespace,c=t.isHTMLMimeType,l=t.isValidMimeType,u=t.MIME_TYPE,d=t.NAMESPACE,f=r.ParseError,h=a.XMLReader;function y(e){return e.replace(/\r[\n\u0085]/g,`
`).replace(/[\r\u0085\u2028\u2029]/g,`
`)}function b(e){if(e=e||{},e.locator===void 0&&(e.locator=!0),this.assign=e.assign||t.assign,this.domHandler=e.domHandler||x,this.onError=e.onError||e.errorHandler,e.errorHandler&&typeof e.errorHandler!=`function`)throw TypeError(`errorHandler object is no longer supported, switch to onError!`);e.errorHandler&&e.errorHandler(`warning`,"The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||y,this.locator=!!e.locator,this.xmlns=this.assign(Object.create(null),e.xmlns)}b.prototype.parseFromString=function(e,n){if(!l(n))throw TypeError(`DOMParser.parseFromString: the provided mimeType "`+n+`" is not valid.`);var r=this.assign(Object.create(null),this.xmlns),a=i.XML_ENTITIES,o=r[``]||null;s(n)?(a=i.HTML_ENTITIES,o=d.HTML):n===u.XML_SVG_IMAGE&&(o=d.SVG),r[``]=o,r.xml=r.xml||d.XML;var c=new this.domHandler({mimeType:n,defaultNamespace:o,onError:this.onError}),f=this.locator?{}:void 0;this.locator&&c.setDocumentLocator(f);var p=new h;return p.errorHandler=c,p.domBuilder=c,!t.isHTMLMimeType(n)&&typeof e!=`string`&&p.errorHandler.fatalError(`source is not a string`),p.parse(this.normalizeLineEndings(String(e)),r,a),c.doc.documentElement||p.errorHandler.fatalError(`missing root element`),c.doc};function x(e){var t=e||{};this.mimeType=t.mimeType||u.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function S(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}x.prototype={startDocument:function(){var e=new o;this.doc=c(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,``)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;T(this,a),this.currentElement=a,this.locator&&S(this.locator,a);for(var s=0;s<o;s++){var e=r.getURI(s),c=r.getValue(s),n=r.getQName(s),l=i.createAttributeNS(e,n);this.locator&&S(r.getLocator(s),l),l.value=l.nodeValue=c,a.setAttributeNode(l)}},endElement:function(e,t,n){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&S(this.locator,n),T(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=w.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&S(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){e&&(e.lineNumber=0),this.locator=e},comment:function(e,t,n){e=w.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&S(this.locator,r),T(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n,r){var i=this.doc.implementation;if(i&&i.createDocumentType){var a=i.createDocumentType(e,t,n,r);this.locator&&S(this.locator,a),T(this,a),this.doc.doctype=a}},reportError:function(e,t){if(typeof this.onError==`function`)try{this.onError(e,t,this)}catch(n){throw new f(`Reporting `+e+` "`+t+`" caused `+n,this.locator)}else console.error(`[xmldom `+e+`] `+t,C(this.locator))},warning:function(e){this.reportError(`warning`,e)},error:function(e){this.reportError(`error`,e)},fatalError:function(e){throw this.reportError(`fatalError`,e),new f(e,this.locator)}};function C(e){if(e)return`
@#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}function w(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){x.prototype[e]=function(){return null}});function T(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}function E(e){if(e===`error`)throw`onErrorStopParsing`}function D(){throw`onWarningStopParsing`}e.__DOMHandler=x,e.DOMParser=b,e.normalizeLineEndings=y,e.onErrorStopParsing=E,e.onWarningStopParsing=D})),b=t((e=>{var t=p();e.assign=t.assign,e.hasDefaultHTMLNamespace=t.hasDefaultHTMLNamespace,e.isHTMLMimeType=t.isHTMLMimeType,e.isValidMimeType=t.isValidMimeType,e.MIME_TYPE=t.MIME_TYPE,e.NAMESPACE=t.NAMESPACE;var n=m();e.DOMException=n.DOMException,e.DOMExceptionName=n.DOMExceptionName,e.ExceptionCode=n.ExceptionCode,e.ParseError=n.ParseError;var r=g();e.Attr=r.Attr,e.CDATASection=r.CDATASection,e.CharacterData=r.CharacterData,e.Comment=r.Comment,e.Document=r.Document,e.DocumentFragment=r.DocumentFragment,e.DocumentType=r.DocumentType,e.DOMImplementation=r.DOMImplementation,e.Element=r.Element,e.Entity=r.Entity,e.EntityReference=r.EntityReference,e.LiveNodeList=r.LiveNodeList,e.NamedNodeMap=r.NamedNodeMap,e.Node=r.Node,e.NodeList=r.NodeList,e.Notation=r.Notation,e.ProcessingInstruction=r.ProcessingInstruction,e.Text=r.Text,e.XMLSerializer=r.XMLSerializer;var i=y();e.DOMParser=i.DOMParser,e.normalizeLineEndings=i.normalizeLineEndings,e.onErrorStopParsing=i.onErrorStopParsing,e.onWarningStopParsing=i.onWarningStopParsing}))(),x={xmlns:`http://www.w3.org/2000/xmlns/`,contentTypes:`http://schemas.openxmlformats.org/package/2006/content-types`,relationships:`http://schemas.openxmlformats.org/package/2006/relationships`,p:`http://schemas.openxmlformats.org/presentationml/2006/main`,a:`http://schemas.openxmlformats.org/drawingml/2006/main`,a14:`http://schemas.microsoft.com/office/drawing/2010/main`,c:`http://schemas.openxmlformats.org/drawingml/2006/chart`,cx:`http://schemas.microsoft.com/office/drawing/2014/chartex`,pptd:`https://kimi-design.msh.team/pptd/2026`,m:`http://schemas.openxmlformats.org/officeDocument/2006/math`,mc:`http://schemas.openxmlformats.org/markup-compatibility/2006`,r:`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,cp:`http://schemas.openxmlformats.org/package/2006/metadata/core-properties`,dc:`http://purl.org/dc/elements/1.1/`,extendedProperties:`http://schemas.openxmlformats.org/officeDocument/2006/extended-properties`,customProperties:`http://schemas.openxmlformats.org/officeDocument/2006/custom-properties`,docPropsVTypes:`http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes`};function S(e,t,n,r={},i=[]){let a=e.createElementNS(t,n);return T(a,r),C(a,i),a}function C(e,t){t.forEach(t=>{t!==void 0&&e.appendChild(typeof t==`string`?e.ownerDocument.createTextNode(t):t)})}function w(e){let t=/^rgb\(\s*(\d+),\s*(\d+),\s*(\d+)\s*\)$/i.exec(e);if(t)return`#${E(Number(t[1]))}${E(Number(t[2]))}${E(Number(t[3]))}`;let n=e.startsWith(`#`)?e:`#${e}`;return/^#[0-9a-f]{6}$/i.test(n)?n:`#000000`}function T(e,t){Object.entries(t).forEach(([t,n])=>{if(n!=null){if(t.startsWith(`xmlns:`)){e.setAttributeNS(x.xmlns,t,String(n));return}if(t===`r:id`||t===`r:embed`){e.setAttributeNS(x.r,t,String(n));return}e.setAttribute(t,String(n))}})}function E(e){return Math.max(0,Math.min(255,e)).toString(16).padStart(2,`0`).toUpperCase()}function D(e,t,n){let r=A(t);return S(e,x.a,`a:solidFill`,{},[S(e,x.a,`a:srgbClr`,{val:r.color.replace(`#`,``)},[O(e,n===void 0?r.alpha:r.alpha*n)])])}function O(e,t){if(!(t===void 0||t>=1))return S(e,x.a,`a:alpha`,{val:k(t)})}function k(e){return String(Math.round(Math.max(0,Math.min(1,e))*1e5))}function A(e){let t=e.trim(),n=t.startsWith(`#`)?t:`#${t}`,r=/^#[0-9a-f]{8}$/i.test(n),i=r?Number.parseInt(n.slice(7,9),16)/255:1;return{color:w(r?n.slice(0,7):t),alpha:i}}function j(e){let t=e.theme;return{...e,pages:e.pages.map(e=>({...e,background:z(t,e.background),elements:e.elements.map(e=>ee(t,e))}))}}function ee(e,t){if(t.elementType===`text`)return{...t,content:R(e,t.content)};if(t.elementType===`shape`||t.elementType===`icon`)return{...t,fill:z(e,t.fill),border:B(e,t.border),shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0};if(t.elementType===`image`||t.elementType===`line`)return{...t,border:B(e,t.border),shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0};if(t.elementType===`table`){let n=typeof t.style==`string`?U(e,t.style)??t.style:ie(e,t.style);return{...t,style:n,fill:z(e,t.fill),shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0,rows:t.rows.map(t=>t.map(t=>({...t,...t.text===void 0?{}:{text:G(e,t.text)},color:K(e,t.color),fontFamily:q(t.fontFamily),fill:z(e,t.fill),border:V(e,t.border)})))}}return t.elementType===`chart`?te(e,t):t}function te(e,t){return{...t,fill:z(e,t.fill),border:B(e,t.border),shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0,series:t.series.map(t=>ne(e,t)),seriesDefaults:M(e,t.seriesDefaults),xAxis:H(e,t.xAxis),yAxis:H(e,t.yAxis),title:typeof t.title==`object`&&t.title?{...t.title,color:K(e,t.title.color),fontFamily:q(t.title.fontFamily)}:t.title,legend:t.legend&&typeof t.legend==`object`?{...t.legend,color:K(e,t.legend.color),fontFamily:q(t.legend.fontFamily)}:t.legend,dataLabels:L(e,t.dataLabels),fontFamily:q(t.fontFamily)}}function ne(e,t){let n={...t,fill:F(e,`fill`in t?t.fill:void 0),border:B(e,`border`in t?t.border:void 0),dataLabels:L(e,`dataLabels`in t?t.dataLabels:void 0)};return t.type===`line`?{...n,lineColor:I(e,t.lineColor),marker:P(e,t.marker)}:t.type===`area`||t.type===`radar`?{...n,lineColor:I(e,t.lineColor),areaColor:I(e,t.areaColor),marker:P(e,t.marker)}:t.type===`scatter`?{...n,marker:P(e,t.marker)}:t.type===`candlestick`?{...n,upBars:t.upBars?{fill:K(e,t.upBars.fill),border:B(e,t.upBars.border)}:void 0,downBars:t.downBars?{fill:K(e,t.downBars.fill),border:B(e,t.downBars.border)}:void 0,wickStyle:B(e,t.wickStyle)}:t.type===`waterfall`?{...n,totalBars:N(e,t.totalBars),increaseBars:N(e,t.increaseBars),decreaseBars:N(e,t.decreaseBars)}:t.type===`heatmap`?{...n,colorScheme:t.colorScheme?.map(t=>K(e,t)??t),colorbar:t.colorbar&&typeof t.colorbar==`object`?{...t.colorbar,color:K(e,t.colorbar.color),fontFamily:q(t.colorbar.fontFamily)}:t.colorbar}:n}function M(e,t){if(t)return Object.fromEntries(Object.entries(t).map(([t,n])=>[t,n&&ne(e,{...n,type:t})]))}function N(e,t){return t&&{...t,fill:K(e,t.fill)??t.fill,border:B(e,t.border)}}function P(e,t){return!t||t===!1?t:{...t,fill:I(e,t.fill),border:B(e,t.border)}}function F(e,t){return Array.isArray(t)?t.map(t=>F(e,t)):!t||typeof t!=`object`||`type`in t?I(e,t):Object.fromEntries(Object.entries(t).map(([t,n])=>[t,F(e,n)]))}function I(e,t){return t&&(typeof t==`string`?K(e,t)??t:z(e,t))}function L(e,t){return t&&{...t,color:K(e,t.color),fontFamily:q(t.fontFamily)}}function R(e,t){let n=oe(e,t.style);return{...n,...t,text:G(e,t.text),color:K(e,t.color??n?.color),fontSize:t.fontSize??n?.fontSize,fontFamily:q(t.fontFamily??n?.fontFamily),bold:t.bold??n?.bold,italic:t.italic??n?.italic,backgroundColor:K(e,t.backgroundColor??n?.backgroundColor),lineHeight:t.lineHeight??n?.lineHeight,lineHeightPx:t.lineHeightPx??n?.lineHeightPx,letterSpacing:t.letterSpacing??n?.letterSpacing,marginTop:t.marginTop??n?.marginTop,gradient:t.gradient?z(e,t.gradient):void 0,shadow:t.shadow?{...t.shadow,color:K(e,t.shadow.color)??t.shadow.color}:void 0}}function z(e,t){return t&&(t.type===`solid`?{...t,color:K(e,t.color)??t.color}:t.type===`gradient`?{...t,stops:t.stops.map(t=>({...t,color:K(e,t.color)??t.color}))}:{...t})}function B(e,t){if(t)return{...t,color:K(e,t.color)??t.color}}function V(e,t){if(t===null)return null;if(t!==void 0)return Array.isArray(t)?t.map(t=>t?B(e,t):null):B(e,t)}function H(e,t){return Array.isArray(t)?t.map(t=>re(e,t)):re(e,t)}function re(e,t){if(t)return{...t,label:t.label&&typeof t.label==`object`?{...t.label,color:K(e,t.label.color),fontFamily:q(t.label.fontFamily)}:t.label,axisLine:t.axisLine&&typeof t.axisLine==`object`?{...t.axisLine,color:K(e,t.axisLine.color)}:t.axisLine,gridLine:t.gridLine&&typeof t.gridLine==`object`?{...t.gridLine,color:K(e,t.gridLine.color)}:t.gridLine,title:t.title&&typeof t.title==`object`?{...t.title,color:K(e,t.title.color),fontFamily:q(t.title.fontFamily)}:t.title}}function U(e,t){if(!t?.startsWith(`$`))return;let n=e?.tableStyles?.[t.slice(1)];if(n)return ie(e,n)}function ie(e,t){if(t)return{...t,cellStyle:W(e,t.cellStyle),firstRowStyle:W(e,t.firstRowStyle),lastRowStyle:W(e,t.lastRowStyle),firstColumnStyle:W(e,t.firstColumnStyle),lastColumnStyle:W(e,t.lastColumnStyle),bodyStyles:t.bodyStyles?.map(t=>W(e,t)).filter(e=>!!e)}}function W(e,t){if(t)return ae({...t,color:K(e,t.color),fontFamily:q(t.fontFamily),backgroundColor:K(e,t.backgroundColor),fill:z(e,t.fill),border:V(e,t.border)})}function ae(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>e!==void 0))}function oe(e,t){if(!t?.startsWith(`$`))return;let n=e?.textStyles?.[t.slice(1)];if(n)return{...n,color:K(e,n.color),fontFamily:q(n.fontFamily),backgroundColor:K(e,n.backgroundColor)}}function G(e,t){if(!e||!t.includes(`$`))return t;let n;try{n=new b.DOMParser({onError:()=>{}}).parseFromString(`<body>${t}</body>`,`text/html`)}catch{return t}let r=new b.XMLSerializer,i=ce(n,`body`)??n.documentElement,a=!1;return J(i).forEach(t=>{let n=t.getAttribute(`style`);if(!n)return;let r=n.replace(/([-\w]+):\s*([^;]+)/g,(t,n,r)=>{let i=r.trim();if(!i.startsWith(`$`))return t;let a=K(e,i);return a&&a!==i?`${n}: ${a}`:t});r!==n&&(t.setAttribute(`style`,r),a=!0)}),a?se(i).map(e=>r.serializeToString(e)).join(``):t}function K(e,t){return t?.startsWith(`$`)?e?.colors?.[t.slice(1)]??t:t}function q(e){return e}function J(e){let t=[],n=e=>{for(let r of Y(e))t.push(r),n(r)};return n(e),t}function Y(e){return se(e).filter(e=>e.nodeType===1)}function se(e){return Array.from(e.childNodes)}function ce(e,t){return Y(e).find(e=>e.tagName.toLowerCase()===t)}function le(e,t,n){let r=de(t,n),i=`\\(${t}\\)`;return r?[S(e,x.a14,`a14:m`,{},[S(e,x.m,`m:oMath`,{},Q(e,[r]))])]:[ue(e,i,n)]}function ue(e,t,n){return S(e,x.a,`a:r`,{},[ge(e,n),S(e,x.a,`a:t`,{},[t])])}function de(e,t){let n=fe(e);if(!n)return;let r=De(new(globalThis.DOMParser??b.DOMParser)().parseFromString(n,`text/html`),`math`),i=Oe(r?De(r,`semantics`):void 0)??Oe(r);return i?X(i,t):void 0}function fe(e){try{return a.renderToString(e,{throwOnError:!1,displayMode:!1,output:`mathml`})}catch{return``}}function X(e,t){let n=e.tagName.toLowerCase(),r=Z(e,t),i=Array.from(e.childNodes);if(i.length===1&&i[0].nodeType===3)return{tag:n,text:i[0].textContent??``,style:r};let a=[];return i.forEach(e=>{if(e.nodeType===1){a.push(X(e,r));return}let t=e.textContent??``;t&&a.push({tag:`mtext`,text:t,style:r})}),{tag:n,children:a,style:r}}function Z(e,t){let n=e.tagName.toLowerCase(),r={...t};n===`mi`&&(r.italic=!0),(n===`mn`||n===`mo`)&&(r.italic=!1);let i=e.getAttribute(`mathvariant`);i===`bold`&&(r.bold=!0),i===`italic`&&(r.italic=!0),i===`bold-italic`&&(r.bold=!0,r.italic=!0),i===`normal`&&(r.bold=!1,r.italic=!1);let a=e.getAttribute(`mathcolor`);a&&(r.color=w(a));let o=Te(e.getAttribute(`mathsize`),t.fontSize);return o!==void 0&&(r.fontSize=o),r}function Q(e,t){return t.flatMap(t=>pe(e,t))}function pe(e,t){switch(t.tag){case`mrow`:return Q(e,t.children??[]);case`mi`:case`mn`:case`mo`:case`mtext`:return[me(e,t.text??``,t.style)];case`msup`:return[$(e,`m:sSup`,[`m:e`,`m:sup`],t)];case`msub`:return[$(e,`m:sSub`,[`m:e`,`m:sub`],t)];case`msubsup`:return[$(e,`m:sSubSup`,[`m:e`,`m:sub`,`m:sup`],t)];case`mfrac`:return[ye(e,t)];case`msqrt`:return[be(e,t,!1)];case`mroot`:return[be(e,t,!0)];case`munder`:return[xe(e,`m:limLow`,t)];case`mover`:return[xe(e,`m:limUpp`,t)];case`munderover`:return[Se(e,t)];case`mtable`:return[Ce(e,t)];case`mtr`:return[S(e,x.m,`m:mr`,{},(t.children??[]).map(t=>S(e,x.m,`m:e`,{},Q(e,[t]))))];case`mtd`:return[S(e,x.m,`m:e`,{},Q(e,t.children??[]))];case`mspace`:return[me(e,` `,t.style,!0)];case`mfenced`:return[S(e,x.m,`m:e`,{},[me(e,`(`,t.style),...Q(e,t.children??[]),me(e,`)`,t.style)])];default:return t.children?.length?Q(e,t.children):t.text?[me(e,t.text,t.style)]:[]}}function me(e,t,n,r=!1){return S(e,x.m,`m:r`,{},[he(e,n),S(e,x.m,`m:t`,r?{"xml:space":`preserve`}:{},[t])])}function he(e,t){if(t)return S(e,x.a,`a:rPr`,_e(t),ve(e,t))}function ge(e,t){if(t)return S(e,x.a,`a:rPr`,_e(t),[t.color?D(e,t.color,t.opacity):void 0,...Ee(e,t.fontFamily,!0)])}function _e(e){return{lang:`en-US`,sz:e.fontSize===void 0?void 0:Math.round(e.fontSize*100),noProof:`1`,b:e.bold?`1`:void 0,i:e.italic===void 0?void 0:e.italic?`1`:`0`}}function ve(e,t){return[t.color?D(e,t.color,t.opacity):void 0,...Ee(e,t.fontFamily)]}function $(e,t,n,r){let i=r.children??[];if(!(i.length<n.length))return S(e,x.m,t,{},[we(e,t,r.style),...n.map((t,n)=>S(e,x.m,t,{},Q(e,[i[n]])))])}function ye(e,t){let n=t.children??[];if(!(n.length<2))return S(e,x.m,`m:f`,{},[S(e,x.m,`m:fPr`,{},[S(e,x.m,`m:type`,{"m:val":`bar`})]),S(e,x.m,`m:num`,{},Q(e,[n[0]])),S(e,x.m,`m:den`,{},Q(e,[n[1]]))])}function be(e,t,n){let r=t.children??[];if(!r.length||n&&r.length<2)return;let i=n?Q(e,[r[1]]):[me(e,` `,void 0,!0)];return S(e,x.m,`m:rad`,{},[S(e,x.m,`m:deg`,{},i),S(e,x.m,`m:e`,{},Q(e,[r[0]]))])}function xe(e,t,n){let r=n.children??[];if(!(r.length<2))return S(e,x.m,t,{},[we(e,t,n.style),S(e,x.m,`m:e`,{},Q(e,[r[0]])),S(e,x.m,`m:lim`,{},Q(e,[r[1]]))])}function Se(e,t){let n=t.children??[];if(n.length<3)return;let r=S(e,x.m,`m:limUpp`,{},[we(e,`m:limUpp`,t.style),S(e,x.m,`m:e`,{},Q(e,[n[0]])),S(e,x.m,`m:lim`,{},Q(e,[n[2]]))]);return S(e,x.m,`m:limLow`,{},[we(e,`m:limLow`,t.style),S(e,x.m,`m:e`,{},[r]),S(e,x.m,`m:lim`,{},Q(e,[n[1]]))])}function Ce(e,t){return S(e,x.m,`m:m`,{},[S(e,x.m,`m:mPr`,{},[S(e,x.m,`m:ctrlPr`,{},[he(e,t.style)])]),...Q(e,t.children??[])])}function we(e,t,n){return S(e,x.m,`${t}Pr`,{},[S(e,x.m,`m:ctrlPr`,{},[he(e,n)])])}function Te(e,t){if(!e)return;let n=/^(\d+(?:\.\d+)?)px$/.exec(e);if(n)return Number(n[1]);let r=/^(\d+(?:\.\d+)?)em$/.exec(e);if(r)return Number(r[1])*(t??16);let i=/^(\d+(?:\.\d+)?)%$/.exec(e);if(i)return Number(i[1])*(t??16)/100}function Ee(e,t,n=!1){if(!t)return[];let[r,i]=t.split(`,`).map(e=>e.trim().replace(/^['"]|['"]$/g,``)).filter(Boolean);return[r?S(e,x.a,`a:latin`,{typeface:r}):void 0,n&&i?S(e,x.a,`a:ea`,{typeface:i}):void 0]}function De(e,t){for(let n of ke(e)){if(n.tagName.toLowerCase()===t)return n;let e=De(n,t);if(e)return e}}function Oe(e){return e?ke(e)[0]:void 0}function ke(e){return Array.from(e.childNodes).filter(e=>e.nodeType===1)}var Ae=[`#1783FF`,`#68B8A8`,`#C9A86A`,`#8C84C9`,`#8D98A8`,`#5F9CF5`],je=[`#EFF6FF`,`#1783FF`],Me={style:`solid`,width:1,color:`#FFFFFF`},Ne=2;async function Pe(e){let t=We(e);if(!t)return;Ve();let n=Math.max(1,Math.round(e.bounds[2])),r=Math.max(1,Math.round(e.bounds[3])),i=Fe(t,n,r);if(i)return i;let a=l(null,null,{renderer:`svg`,ssr:!0,width:n,height:r});try{return a.setOption(t),`data:image/png;base64,${await Le(a.renderToSVGString(),n*Ne)}`}catch{return}finally{a.dispose()}}function Fe(e,t,n){if(typeof document>`u`||/jsdom/i.test(globalThis.navigator?.userAgent??``))return;let r=document.createElement(`div`);r.style.width=`${t}px`,r.style.height=`${n}px`,r.style.position=`fixed`,r.style.left=`-10000px`,r.style.top=`-10000px`,document.body.appendChild(r);let i=l(r,null,{renderer:`canvas`,width:t,height:n});try{return i.setOption(e),i.getDataURL({type:`png`,pixelRatio:Ne})}catch{return}finally{i.dispose(),r.remove()}}var Ie;async function Le(e,t){let{Resvg:n}=await Re(),r=new n(e,{fitTo:{mode:`width`,value:t},background:`rgba(255, 255, 255, 0)`,font:{loadSystemFonts:!0}});try{let e=r.render();try{return Ot(e.asPng())}finally{e.free()}}finally{r.free()}}function Re(){return Ie??(Ie=(async()=>{let[t,r]=await Promise.all([n(()=>import(`./resvg-wasm-BO0DH4Au.js`),[]),n(()=>import(`./__vite-browser-external-CTd_dPxk.js`).then(t=>e(t.default,1)),__vite__mapDeps([0,1]))]),i=ze();if(!i)throw Error(`Unable to resolve @resvg/resvg-wasm/index_bg.wasm`);try{await t.initWasm(await r.readFile(i))}catch(e){if(!(e instanceof Error)||!e.message.includes(`Already initialized`))throw e}return t})()),Ie}function ze(){let e=import.meta.resolve;return e?new URL(e(`@resvg/resvg-wasm/index_bg.wasm`)):new URL(`/neo-ppt/assets/index_bg-Blvrv-U2.wasm`,``+import.meta.url)}var Be=!1;function Ve(){Be||!He()||(u({measureText:(e,t)=>({width:Ue(e,t)})}),Be=!0)}function He(){return typeof document>`u`||/jsdom/i.test(globalThis.navigator?.userAgent??``)}function Ue(e,t){let n=Number(/(\d+(?:\.\d+)?)px/.exec(t??``)?.[1]??12);return Array.from(e).reduce((e,t)=>e+(/[\u2E80-\u9FFF]/.test(t)?n:n*.56),0)}function We(e){let t=e.series.find(Tt);if(t){if(t.type===`heatmap`)return Ge(e,t);if(t.type===`sankey`)return Je(e,t);if(t.type===`treemap`)return Ke(e,t);if(t.type===`sunburst`)return qe(e,t)}}function Ge(e,t){let n=yt(e),r=bt(n,t.encode.x),i=bt(n,t.encode.y),a=n.map(e=>{let n=r.indexOf(xt(e[t.encode.x])),a=i.indexOf(xt(e[t.encode.y]));if(!(n<0||a<0))return[n,a,St(e[t.encode.value])]}).filter(e=>!!e),[o,s]=tt(a.map(e=>e[2]).filter(e=>e!==null),t),c=et(t,o,s),l=t.colorbar===void 0?!0:t.colorbar;return{...Ye(e),grid:Xe(e,l),xAxis:Qe(e.xAxis,r),yAxis:Qe(e.yAxis,i),visualMap:Ze(l,o,s,c),series:[{type:`heatmap`,data:a,label:$e(e,t)}]}}function Ke(e,t){return{...Ye(e),series:[{type:`treemap`,roam:!1,nodeClick:!1,breadcrumb:{show:!1},top:_t(e),left:8,right:8,bottom:8,data:it(e,t),label:st(e,t,`category`)}]}}function qe(e,t){return{...Ye(e),series:[{type:`sunburst`,radius:[0,`80%`],center:[`50%`,vt(e)?`56%`:`50%`],sort:null,nodeClick:!1,data:it(e,t),label:st(e,t,`category`)}]}}function Je(e,t){let n=ut(yt(e),t);return{...Ye(e),series:[{type:`sankey`,nodeAlign:t.nodeAlign??`justify`,top:_t(e),left:24,right:24,bottom:12,data:n.nodeNames.map((e,n)=>({name:e,itemStyle:{color:ft(t.fill,e,n,Ae[n%Ae.length]),...ht(t.border)}})),links:n.links,label:st(e,t,`category`),lineStyle:{color:`source`,opacity:.36,curveness:.5}}]}}function Ye(e){let t=vt(e),n=typeof e.title==`object`?e.title:void 0;return{animation:!1,backgroundColor:e.fill?.type===`solid`?e.fill.color:`rgba(255,255,255,0)`,textStyle:{fontFamily:wt(e.fontFamily)},title:t?{text:t,left:`center`,top:4,textStyle:{color:n?.color??`#333333`,fontSize:n?.fontSize??16,fontFamily:wt(n?.fontFamily??e.fontFamily),fontWeight:`normal`}}:void 0,tooltip:{trigger:`item`},legend:{show:!1}}}function Xe(e,t){let n=nt(t),r=rt(t),i={top:_t(e),left:52,right:24,bottom:36,containLabel:!0};return r?(n===`top`&&(i.top=Number(i.top)+34),n===`bottom`&&(i.bottom=62),n===`left`&&(i.left=92),n===`right`&&(i.right=72),i):i}function Ze(e,t,n,r){let i=typeof e==`object`?e:void 0,a=nt(e),o={top:{top:30,left:`center`,orient:`horizontal`},bottom:{bottom:4,left:`center`,orient:`horizontal`},left:{left:4,top:`middle`,orient:`vertical`},right:{right:4,top:`middle`,orient:`vertical`}};return{type:`continuous`,min:t,max:n,show:rt(e),calculable:!1,inRange:{color:r},textStyle:{color:i?.color,fontSize:i?.fontSize,fontFamily:wt(i?.fontFamily)},...o[a]??o.right}}function Qe(e,t){let n=Array.isArray(e)?e[0]:e,r=typeof n?.label==`object`?n.label:void 0;return{type:`category`,data:t,axisLabel:{show:n?.label!==!1,color:r?.color??`#4B5563`,fontSize:r?.fontSize??10,fontFamily:wt(r?.fontFamily)},axisLine:{show:n?.axisLine!==!1},splitLine:{show:n?.gridLine===!0}}}function $e(e,t){let n=gt(e,t);if(n)return{show:n.show===!0,color:n.color??`#111827`,fontSize:n.fontSize??10,fontFamily:wt(n.fontFamily??e.fontFamily),formatter:e=>Ct(e.value?.[2],n)}}function et(e,t,n){let r=Array.isArray(e.colorScheme)&&e.colorScheme.length?e.colorScheme:[];return e.colorScale?.type===`diverging`?r.length>=3?r.slice(0,3):[r[0]??Ae[1],r[1]??`#FFFFFF`,r[2]??Ae[0]]:r.length>=2?r:t<0&&n>0?[Ae[1],`#FFFFFF`,Ae[0]]:je}function tt(e,t){if(Array.isArray(t.colorScale?.domain))return t.colorScale.domain;if(!e.length)return[0,1];if(t.colorScale?.type===`diverging`){let t=Math.max(...e.map(e=>Math.abs(e)));return[-t,t]}let n=Math.min(...e),r=Math.max(...e);return n===r?[n,n+1]:[n,r]}function nt(e){let t=typeof e==`object`?e.position:void 0;return t===`top`||t===`bottom`||t===`left`||t===`right`?t:`right`}function rt(e){return e===!1?!1:!(Et(e)&&e.show===!1)}function it(e,t){let n=at(yt(e),t),r=t.type===`treemap`&&t.border===void 0?Me:t.border,i=typeof t.levels==`number`&&t.levels>0?t.levels:1/0;return n.map((e,n)=>ot(e,t,r,n,0,i))}function at(e,t){let n=new Map,r=e=>{let t=n.get(e);return t||(t={name:e,children:[]},n.set(e,t)),t};return e.forEach(e=>{let n=e[t.encode.category];if(n==null||n===``)return;let i=String(n),a=r(i),o=St(e[t.encode.value]);o!==null&&(a.value=o);let s=ct(t.encode.parent?e[t.encode.parent]:void 0);if(!s||s===i)return;let c=r(s);a.parentName=s,c.children.includes(a)||c.children.push(a)}),[...n.values()].filter(e=>!e.parentName||!n.has(e.parentName))}function ot(e,t,n,r,i,a,o=new Set){if(o.has(e.name))return{name:e.name,value:e.value??0};o.add(e.name);let s=i+1<a?e.children.map(e=>ot(e,t,n,r,i+1,a,new Set(o))):[],c=s.reduce((e,t)=>e+lt(t),0),l=s.length&&(e.value===void 0||e.value<=0)?c:e.value??c,u=Ae[r%Ae.length];return{name:e.name,value:l,itemStyle:{color:dt(t.fill,r,i,u),...ht(n)},...s.length?{children:s}:{}}}function st(e,t,n){let r=gt(e,t);if(!r)return;let i=r.content??n;return{show:r.show===!0,color:r.color,fontSize:r.fontSize,fontFamily:wt(r.fontFamily??e.fontFamily),formatter:e=>i===`category`?e.name??``:i===`percentage`?e.percent===void 0?``:`${Math.round(e.percent)}%`:Ct(e.value,r)}}function ct(e){if(!(e==null||e===``))return String(e)}function lt(e){return e.children?.length?e.value||e.children.reduce((e,t)=>e+lt(t),0):e.value}function ut(e,t){let n=[],r=new Set,i=new Map,a=new Map,o=[],s=e=>{r.has(e)||(r.add(e),n.push(e),i.set(e,0),a.set(e,[]))};e.forEach(e=>{let n=xt(e[t.encode.source]),r=xt(e[t.encode.target]);!n||!r||(s(n),s(r),a.get(n)?.push(r),i.set(r,(i.get(r)??0)+1),o.push({source:n,target:r,value:St(e[t.encode.flow])??0}))});let c=n.filter(e=>(i.get(e)??0)===0),l=[];for(;c.length;){let e=c.shift();l.push(e),a.get(e)?.forEach(e=>{i.set(e,(i.get(e)??0)-1),i.get(e)===0&&c.push(e)})}return{nodeNames:l.length===n.length?l:n,links:o}}function dt(e,t,n,r){if(Array.isArray(e)){let i=e[0];if(Array.isArray(i)){let i=e,a=i[t%i.length];return pt(a?.[n%a.length],r)}return pt(e[t%e.length],r)}return pt(e,r)}function ft(e,t,n,r){return Et(e)&&!Dt(e)&&!Array.isArray(e)?pt(e[t],r):pt(Array.isArray(e)?e[n%e.length]:e,r)}function pt(e,t){return typeof e==`string`?e:Dt(e)?mt(e):t}function mt(e){let t=e.stops.map(e=>({offset:e.position,color:e.color}));if(e.gradientType===`radial`)return{type:`radial`,x:.5,y:.5,r:.5,colorStops:t,global:!1};let n=(e.angle??0)/180*Math.PI;return{type:`linear`,x:.5-Math.cos(n)/2,y:.5-Math.sin(n)/2,x2:.5+Math.cos(n)/2,y2:.5+Math.sin(n)/2,colorStops:t,global:!1}}function ht(e){return e?{borderColor:e.color,borderWidth:e.width,borderType:e.style}:{}}function gt(e,t){return t.dataLabels??e.dataLabels}function _t(e){return vt(e)?Math.min(48,e.bounds[3]*.16):8}function vt(e){return typeof e.title==`string`?e.title:e.title?.text}function yt(e){return e.data.rows.map(t=>Object.fromEntries(e.data.cols.map((e,n)=>[e,t[n]??null])))}function bt(e,t){return Array.from(new Set(e.map(e=>xt(e[t]))))}function xt(e){return e==null?``:String(e)}function St(e){let t=Number(e);return Number.isFinite(t)?t:null}function Ct(e,t){let n=St(e);return n===null?e==null?``:String(e):t.numberFormat===`#,##0`?Math.round(n).toLocaleString(`en-US`):t.numberFormat===`0%`?`${Math.round(n*100)}%`:String(n)}function wt(e){if(e)return typeof e==`string`?e:[e.latin,e.ea].filter(Boolean).join(`, `)||void 0}function Tt(e){return e.type===`heatmap`||e.type===`sankey`||e.type===`treemap`||e.type===`sunburst`}function Et(e){return!!e&&typeof e==`object`}function Dt(e){return Et(e)&&e.type===`gradient`&&Array.isArray(e.stops)}function Ot(e){let t=``;for(let n=0;n<e.length;n+=32768)t+=String.fromCharCode(...e.subarray(n,n+32768));return btoa(t)}function kt(e){return e.series.some(e=>e.type===`heatmap`||e.type===`sankey`||e.type===`treemap`||e.type===`sunburst`)}var At=``,jt=`neo-design-static/g-font`,Mt=`application/vnd.openxmlformats-officedocument.presentationml.presentation`,Nt;function Pt(){return Nt??(Nt=(async()=>{try{return await d(`/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`)}catch{let{readFile:t}=await n(async()=>{let{readFile:t}=await import(`./__vite-browser-external-CTd_dPxk.js`).then(t=>e(t.default,1));return{readFile:t}},__vite__mapDeps([0,1])),r=[`/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`,`./neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`,`/neo-ppt/assets/pptd_wasm_bg-DPPWdROu.wasm`.replace(/^\//,``)];for(let e of r)try{return await d(await t(e))}catch{continue}throw Error(`[pptd-wasm] 无法加载 wasm(尝试了 ${r.join(`, `)})`)}})()),Nt}async function Ft(e,t){await Pt();let n=JSON.parse(JSON.stringify(e)),i={};await Bt(n,i),await Wt(n),Kt(n);let a=await Promise.all((t?.fonts??[]).map(async e=>({typeface:e.typeface,data:await It(e.fontBlob)}))),o=await qt(n.customFonts,e=>t?.onProgress?.(50+Math.round(e*40))),l=await zt(n),u=Date.now(),d=(e,t,n)=>r(`msh_nppt_export_sign`,{is_success:e,fail_stage:t,error_reason:n?n instanceof Error?n.message:String(n):void 0,duration:Date.now()-u}),p;try{p=await s(JSON.stringify(n))}catch(e){throw d(!1,`request`,e),e}let m;try{m=f(n,{fonts:a,customFonts:o,images:i,fileName:t?.fileName,metadata:t?.metadata,aiMetadata:t?.aiMetadata,slideTransition:t?.slideTransition,mathLoader:Rt,chartImages:l},p)}catch(e){let t=e instanceof Error?e.message:String(e);throw t.includes(`pptd export signature`)?(d(!1,`verify`,e),new c(t)):e}return d(!0),t?.onProgress?.(95),new Blob([m],{type:Mt})}async function It(e){return typeof e.arrayBuffer==`function`?new Uint8Array(await e.arrayBuffer()):new Promise((t,n)=>{let r=new FileReader;r.addEventListener(`load`,()=>t(new Uint8Array(r.result)),{once:!0}),r.addEventListener(`error`,()=>n(r.error),{once:!0}),r.readAsArrayBuffer(e)})}var Lt;function Rt(e,t){Lt??(Lt=document.implementation.createDocument(``,`root`,null));let n=le(Lt,e,{bold:t.bold||void 0,italic:t.italic??void 0,color:t.color??void 0,fontSize:t.fontSize??void 0,fontFamily:t.fontFamily,opacity:t.opacity??void 0})[0];if(!n||typeof n==`string`)return null;let r=new XMLSerializer;return Array.from(n.childNodes).map(e=>r.serializeToString(e)).join(``)}async function zt(e){let t=j(e),n=[];for(let[e,r]of(t.pages??[]).entries())for(let t of r.elements??[])t?.elementType===`chart`&&kt(t)&&n.push({slide:e+1,elementId:t.elementId,element:t});let r=await Promise.all(n.map(e=>Pe(e.element))),i=[];for(let[e,t]of n.entries()){let n=r[e];n&&i.push({slide:t.slide,elementId:t.elementId,data:Uint8Array.from(atob(n.split(`,`)[1]),e=>e.charCodeAt(0))})}return i}async function Bt(e,t){let n=new Set;Vt(e,e=>{typeof e.src==`string`&&e.src&&n.add(e.src)});let r=new Map;await Promise.all([...n].map(async(e,n)=>{let i=await Ht(e),a=i?`wasm-assets/img-${n}${i.ext}`:`wasm-assets/missing`;i&&(t[a]=i.bytes),r.set(e,a)})),Vt(e,e=>{let t=r.get(e.src);t&&(e.src=t)})}function Vt(e,t){for(let n of e.pages??[]){n.background?.type===`image`&&t(n.background);for(let e of n.elements??[])e?.elementType===`image`&&t(e),e?.fill?.type===`image`&&t(e.fill)}}async function Ht(e){try{let t=await fetch(e);return t.ok?{bytes:new Uint8Array(await t.arrayBuffer()),ext:Ut(e,t.headers.get(`content-type`)??``)}:void 0}catch{return}}function Ut(e,t){let n=/\.(png|jpe?g|gif|svg)(?:$|[?#])/i.exec(e)?.[1]?.toLowerCase(),r={"image/png":`png`,"image/jpeg":`jpg`,"image/gif":`gif`,"image/svg+xml":`svg`}[t.split(`;`)[0].trim()],i=n??r??`png`;return`.${i===`jpeg`?`jpg`:i}`}async function Wt(e){let t=[];for(let n of e.pages??[]){let e=n.elements??[];for(let[n,r]of e.entries())r?.elementType===`icon`&&t.push({elements:e,index:n,element:r})}let n=await Promise.all(t.map(e=>o(e.element.iconName)));for(let[e,r]of t.entries()){let t=n[e];r.elements[r.index]={...r.element,fill:r.element.fill??{type:`solid`,color:`#000000`},...t?{path:t.path,viewBox:t.viewBox}:{}}}}function Gt(e){if(e?.shapeName!==`custom`||typeof e.path!=`string`||e.viewBox)return;let t=e.path.indexOf(`;`);if(t<0)return;let[n,r]=e.path.slice(0,t).split(`,`).map(Number);!(n>0)||!(r>0)||(e.viewBox=[n,r],e.path=e.path.slice(t+1))}function Kt(e){for(let t of e.pages??[])for(let e of t.elements??[])e?.elementType===`shape`&&Gt(e),e?.elementType===`image`&&e.cropShape&&Gt(e.cropShape)}async function qt(e,t){let n=(e??[]).map(e=>Jt(e?.src)).filter(e=>!!e).map(e=>({family:e,url:Yt(e)}));if(!n.length)return[];let r=[];for(let[e,a]of n.entries())try{let e=await fetch(a.url);e.ok?r.push({family:a.family,data:new Uint8Array(await e.arrayBuffer())}):i(`[pptd-wasm] custom font "${a.family}" 下载失败: HTTP ${e.status}`)}catch(e){i(`[pptd-wasm] custom font "${a.family}" 下载失败`,e)}finally{t?.((e+1)/n.length)}return r}function Jt(e){if(!e)return;let t;try{t=new URL(e)}catch{return}if(t.hostname===`fonts.googleapis.com`)return t.searchParams.get(`family`)?.split(`:`)[0]?.trim()||void 0}function Yt(e){let t=Xt(e);return`${At}/${[...jt.split(`/`),`${t}.fntdata`].map(encodeURIComponent).join(`/`)}`}function Xt(e){return e.trim().replace(/[^\p{L}\p{N}._-]+/gu,`-`).replace(/^-+|-+$/g,``)}export{Ft as exportPPTDToPPTXByWasm};