1 line
156 KiB
JavaScript
1 line
156 KiB
JavaScript
(()=>{var __webpack_modules__={6:(t,e,s)=>{"use strict";s.r(e),s.d(e,{APPEND:()=>n,Expandable:()=>l,OPTIONS:()=>o,REMOVE:()=>a,copy:()=>u,defaultOptions:()=>m,expandable:()=>c,insert:()=>p,isObject:()=>r,keys:()=>d,lookup:()=>L,makeArray:()=>h,selectOptions:()=>f,selectOptionsFromKeys:()=>g,separateOptions:()=>R,userOptions:()=>E});const i={}.constructor;function r(t){return"object"==typeof t&&null!==t&&(t.constructor===i||t.constructor===l)}const n="[+]",a="[-]",o={invalidOption:"warn",optionError:(t,e)=>{if("fatal"===o.invalidOption)throw new Error(t);console.warn("MathJax: "+t)}};class l{}function c(t){return Object.assign(Object.create(l.prototype),t)}function h(t){return Array.isArray(t)?t:[t]}function d(t){return t?Object.keys(t).concat(Object.getOwnPropertySymbols(t)):[]}function u(t){const e={};for(const s of d(t)){const i=Object.getOwnPropertyDescriptor(t,s),n=i.value;Array.isArray(n)?i.value=p([],n,!1):r(n)&&(i.value=u(n)),i.enumerable&&(e[s]=i)}return Object.defineProperties(t.constructor===l?c({}):{},e)}function p(t,e,s=!0){for(let i of d(e)){if(s&&void 0===t[i]&&t.constructor!==l){"symbol"==typeof i&&(i=i.toString()),o.optionError(`Invalid option "${i}" (no default value).`,i);continue}const c=e[i];let h=t[i];if(!r(c)||null===h||"object"!=typeof h&&"function"!=typeof h)Array.isArray(c)?(t[i]=[],p(t[i],c,!1)):r(c)?t[i]=u(c):t[i]=c;else{const e=d(c);Array.isArray(h)&&(1===e.length&&(e[0]===n||e[0]===a)&&Array.isArray(c[e[0]])||2===e.length&&e.sort().join(",")===n+","+a&&Array.isArray(c[n])&&Array.isArray(c[a]))?(c[a]&&(h=t[i]=h.filter((t=>c[a].indexOf(t)<0))),c[n]&&(t[i]=[...h,...c[n]])):p(h,c,s)}}return t}function m(t,...e){return e.forEach((e=>p(t,e,!1))),t}function E(t,...e){return e.forEach((e=>p(t,e,!0))),t}function f(t,...e){const s={};for(const i of e)Object.hasOwn(t,i)&&(s[i]=t[i]);return s}function g(t,e){return f(t,...Object.keys(e))}function R(t,...e){const s=[];for(const i of e){const e={},r={};for(const s of Object.keys(t||{}))(void 0===i[s]?r:e)[s]=t[s];s.push(e),t=r}return s.unshift(t),s}function L(t,e,s=null){return Object.hasOwn(e,t)?e[t]:s}},46:(t,e,s)=>{"use strict";var i={};s.r(i),s.d(i,{HTMLAdaptor:()=>xt});var r={};s.r(r),s.d(r,{browserAdaptor:()=>bt});var n={};s.r(n),s.d(n,{AbstractFindMath:()=>Ct});var a={};s.r(a),s.d(a,{AbstractInputJax:()=>Ot});var o={};s.r(o),s.d(o,{AbstractOutputJax:()=>Tt});var l={};s.r(l),s.d(l,{END:()=>vt,LinkedList:()=>Mt,ListItem:()=>At});var c={};s.r(c),s.d(c,{AbstractMathList:()=>Dt});var h={};s.r(h),s.d(h,{AbstractMathItem:()=>wt,STATE:()=>St,newState:()=>_t,protoItem:()=>kt});var d={};s.r(d),s.d(d,{AbstractFactory:()=>Pt});var u={};s.r(u),s.d(u,{AbstractNodeFactory:()=>Bt});var p={};s.r(p),s.d(p,{Attributes:()=>$t,INHERIT:()=>jt});var m={};s.r(m),s.d(m,{AbstractEmptyNode:()=>Wt,AbstractNode:()=>Ft});var E={};s.r(E),s.d(E,{AbstractMmlBaseNode:()=>Yt,AbstractMmlEmptyNode:()=>Zt,AbstractMmlLayoutNode:()=>Vt,AbstractMmlNode:()=>Gt,AbstractMmlTokenNode:()=>Kt,MATHVARIANTS:()=>Xt,TEXCLASS:()=>Ht,TEXCLASSNAMES:()=>Jt,TextNode:()=>Qt,XMLNode:()=>te,indentAttributes:()=>Ut});var f={};s.r(f),s.d(f,{MmlMath:()=>ee});var g={};s.r(g),s.d(g,{MmlMi:()=>se});var R={};s.r(R),s.d(R,{MmlMn:()=>ie});var L={};s.r(L),s.d(L,{MMLSPACING:()=>le,MO:()=>ne,OPDEF:()=>re,OPTABLE:()=>ce,RANGES:()=>ae,getRange:()=>oe});var x={};s.r(x),s.d(x,{isPercent:()=>me,quotePattern:()=>de,replaceUnicode:()=>fe,sortLength:()=>he,split:()=>Ee,toEntity:()=>ge,unicodeChars:()=>ue,unicodeString:()=>pe});var N={};s.r(N),s.d(N,{MmlMo:()=>Re});var b={};s.r(b),s.d(b,{MmlMtext:()=>Le});var y={};s.r(y),s.d(y,{MmlMspace:()=>xe});var C={};s.r(C),s.d(C,{MmlMs:()=>Ne});var I={};s.r(I),s.d(I,{MmlInferredMrow:()=>ye,MmlMrow:()=>be});var O={};s.r(O),s.d(O,{MmlMfrac:()=>Ce});var T={};s.r(T),s.d(T,{MmlMsqrt:()=>Ie});var v={};s.r(v),s.d(v,{MmlMroot:()=>Oe});var A={};s.r(A),s.d(A,{MmlMstyle:()=>Te});var M={};s.r(M),s.d(M,{MmlMerror:()=>ve});var D={};s.r(D),s.d(D,{MmlMpadded:()=>Ae});var k={};s.r(k),s.d(k,{MmlMphantom:()=>Me});var w={};s.r(w),s.d(w,{MmlMfenced:()=>De});var S={};s.r(S),s.d(S,{MmlMenclose:()=>ke});var _={};s.r(_),s.d(_,{MmlMaction:()=>we});var P={};s.r(P),s.d(P,{MmlMsub:()=>_e,MmlMsubsup:()=>Se,MmlMsup:()=>Pe});var B={};s.r(B),s.d(B,{MmlMover:()=>$e,MmlMunder:()=>je,MmlMunderover:()=>Be});var j={};s.r(j),s.d(j,{MmlMmultiscripts:()=>Fe,MmlMprescripts:()=>We,MmlNone:()=>He});var $={};s.r($),s.d($,{MmlMtable:()=>Je});var F={};s.r(F),s.d(F,{MmlMlabeledtr:()=>ze,MmlMtr:()=>qe});var W={};s.r(W),s.d(W,{MmlMtd:()=>Xe});var H={};s.r(H),s.d(H,{MmlMaligngroup:()=>Ue});var J={};s.r(J),s.d(J,{MmlMalignmark:()=>Ge});var q={};s.r(q),s.d(q,{MmlMglyph:()=>Ke});var z={};s.r(z),s.d(z,{MmlAnnotation:()=>Ze,MmlAnnotationXML:()=>Ye,MmlSemantics:()=>Ve});var X={};s.r(X),s.d(X,{TeXAtom:()=>Qe});var U={};s.r(U),s.d(U,{MathChoice:()=>ts});var G={};s.r(G),s.d(G,{HtmlNode:()=>es});var K={};s.r(K),s.d(K,{MML:()=>ss});var V={};s.r(V),s.d(V,{MmlFactory:()=>is});var Y={};s.r(Y),s.d(Y,{BitField:()=>rs,BitFieldClass:()=>ns});var Z={};s.r(Z),s.d(Z,{AbstractMathDocument:()=>Es,RenderList:()=>cs,resetAllOptions:()=>ds,resetOptions:()=>hs});var Q={};s.r(Q),s.d(Q,{AbstractHandler:()=>gs});var tt={};s.r(tt),s.d(tt,{AbstractVisitor:()=>Ls});var et={};s.r(et),s.d(et,{DATAMJX:()=>xs,MmlVisitor:()=>Ns});var st={};s.r(st),s.d(st,{MathMLVisitor:()=>bs});var it={};s.r(it),s.d(it,{SerializedMmlVisitor:()=>ys});var rt={};s.r(rt),s.d(rt,{AbstractWrapper:()=>Cs});var nt={};s.r(nt),s.d(nt,{AbstractWrapperFactory:()=>Is});var at={};s.r(at),s.d(at,{HTMLMathItem:()=>Ts});var ot={};s.r(ot),s.d(ot,{HTMLMathList:()=>vs});var lt={};s.r(lt),s.d(lt,{HTMLDomStrings:()=>As});var ct={};s.r(ct),s.d(ct,{HTMLDocument:()=>Ms});var ht={};s.r(ht),s.d(ht,{HTMLHandler:()=>Ds});var dt={};s.r(dt),s.d(dt,{RegisterHTMLHandler:()=>ks});var ut={};s.r(ut),s.d(ut,{BIGDIMEN:()=>Ss,MATHSPACE:()=>Bs,RELUNITS:()=>Ps,UNITS:()=>_s,em:()=>Fs,length2em:()=>js,percent:()=>$s,px:()=>Ws});var pt={};s.r(pt),s.d(pt,{BBox:()=>Hs});var mt={};s.r(mt),s.d(mt,{StyleJsonSheet:()=>qs});var Et={};s.r(Et),s.d(Et,{max:()=>Gs,sum:()=>Us});var ft=s(977),gt=s(516),Rt=s(502),Lt=function(t,e,s,i){return new(s||(s=Promise))((function(r,n){function a(t){try{l(i.next(t))}catch(t){n(t)}}function o(t){try{l(i.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(a,o)}l((i=i.apply(t,e||[])).next())}))};class xt extends Rt.AbstractDOMAdaptor{constructor(t){super(t.document),this.canMeasureNodes=!0,this.window=t,this.parser=new t.DOMParser}parse(t,e="text/html"){return this.parser.parseFromString(t,e)}create(t,e){return e?this.document.createElementNS(e,t):this.document.createElement(t)}text(t){return this.document.createTextNode(t)}head(t=this.document){return t.head||t}body(t=this.document){return t.body||t}root(t=this.document){return t.documentElement||t}doctype(t=this.document){return t.doctype?`<!DOCTYPE ${t.doctype.name}>`:""}tags(t,e,s=null){const i=s?t.getElementsByTagNameNS(s,e):t.getElementsByTagName(e);return Array.from(i)}getElements(t,e){let s=[];for(const e of t)"string"==typeof e?s=s.concat(Array.from(this.document.querySelectorAll(e))):Array.isArray(e)||e instanceof this.window.NodeList||e instanceof this.window.HTMLCollection?s=s.concat(Array.from(e)):s.push(e);return s}getElement(t,e=this.document){return e.querySelector(t)}contains(t,e){return t.contains(e)}parent(t){return t.parentNode}append(t,e){return t.appendChild(e)}insert(t,e){return this.parent(e).insertBefore(t,e)}remove(t){return this.parent(t).removeChild(t)}replace(t,e){return this.parent(e).replaceChild(t,e)}clone(t,e=!0){return t.cloneNode(e)}split(t,e){return t.splitText(e)}next(t){return t.nextSibling}previous(t){return t.previousSibling}firstChild(t){return t.firstChild}lastChild(t){return t.lastChild}childNodes(t){return Array.from(t.childNodes)}childNode(t,e){return t.childNodes[e]}kind(t){const e=t.nodeType;return 1===e||3===e||8===e?t.nodeName.toLowerCase():""}value(t){return t.nodeValue||""}textContent(t){return t.textContent}innerHTML(t){return t.innerHTML}outerHTML(t){return t.outerHTML}serializeXML(t){return(new this.window.XMLSerializer).serializeToString(t)}setAttribute(t,e,s,i=null){return i?(e=i.replace(/.*\//,"")+":"+e.replace(/^.*:/,""),t.setAttributeNS(i,e,s)):t.setAttribute(e,s)}getAttribute(t,e){return t.getAttribute(e)}removeAttribute(t,e){return t.removeAttribute(e)}hasAttribute(t,e){return t.hasAttribute(e)}allAttributes(t){return Array.from(t.attributes).map((t=>({name:t.name,value:t.value})))}addClass(t,e){t.classList?t.classList.add(e):t.className=(t.className+" "+e).trim()}removeClass(t,e){t.classList?t.classList.remove(e):t.className=t.className.split(/ /).filter((t=>t!==e)).join(" ")}hasClass(t,e){return t.classList?t.classList.contains(e):t.className.split(/ /).includes(e)}setStyle(t,e,s){t.style[e]=s}getStyle(t,e){return t.style[e]}allStyles(t){return t.style.cssText}insertRules(t,e){for(const s of e)try{t.sheet.insertRule(s,t.sheet.cssRules.length)}catch(t){console.warn(`MathJax: can't insert css rule '${s}': ${t.message}`)}}cssText(t){return"style"!==this.kind(t)?"":Array.from(t.sheet.cssRules).map((t=>t.cssText)).join("\n")}fontSize(t){const e=this.window.getComputedStyle(t);return parseFloat(e.fontSize)}fontFamily(t){return this.window.getComputedStyle(t).fontFamily||""}nodeSize(t,e=1,s=!1){if(s&&t.getBBox){const{width:s,height:i}=t.getBBox();return[s/e,i/e]}return[t.offsetWidth/e,t.offsetHeight/e]}nodeBBox(t){const{left:e,right:s,top:i,bottom:r}=t.getBoundingClientRect();return{left:e,right:s,top:i,bottom:r}}createWorker(t,e){return Lt(this,void 0,void 0,(function*(){const{path:s,maps:i,worker:r}=e,n=`${s}/${r}`,a=`\n self.maps = '${Nt(i)}';\n importScripts('${Nt(n)}');\n `,o=URL.createObjectURL(new Blob([a],{type:"text/javascript"})),l=new Worker(o);return l.onmessage=t,URL.revokeObjectURL(o),l}))}}function Nt(t){return[...t].map((t=>("\\"===t||"'"===t?t="\\"+t:(t<" "||t>"~")&&(t=`\\u{${t.codePointAt(0).toString(16)}}`),t))).join("")}function bt(){return new xt(window)}var yt=s(6);class Ct{constructor(t){const e=this.constructor;this.options=(0,yt.userOptions)((0,yt.defaultOptions)({},e.OPTIONS),t)}}Ct.OPTIONS={};var It=s(174);class Ot{constructor(t={}){this.adaptor=null,this.mmlFactory=null;const e=this.constructor;this.options=(0,yt.userOptions)((0,yt.defaultOptions)({},e.OPTIONS),t),this.preFilters=new It.FunctionList(this.options.preFilters),this.postFilters=new It.FunctionList(this.options.postFilters)}get name(){return this.constructor.NAME}setAdaptor(t){this.adaptor=t}setMmlFactory(t){this.mmlFactory=t}initialize(){}reset(...t){}get processStrings(){return!0}findMath(t,e){return[]}executeFilters(t,e,s,i){const r={math:e,document:s,data:i};return t.execute(r),r.data}}Ot.NAME="generic",Ot.OPTIONS={preFilters:[],postFilters:[]};class Tt{constructor(t={}){this.adaptor=null;const e=this.constructor;this.options=(0,yt.userOptions)((0,yt.defaultOptions)({},e.OPTIONS),t),this.preFilters=new It.FunctionList(this.options.preFilters),this.postFilters=new It.FunctionList(this.options.postFilters)}get name(){return this.constructor.NAME}setAdaptor(t){this.adaptor=t}initialize(){}reset(...t){}getMetrics(t){}styleSheet(t){return null}pageElements(t){return null}executeFilters(t,e,s,i){const r={math:e,document:s,data:i};return t.execute(r),r.data}}Tt.NAME="generic",Tt.OPTIONS={preFilters:[],postFilters:[]};const vt=Symbol();class At{constructor(t=null){this.next=null,this.prev=null,this.data=t}}class Mt{constructor(...t){this.list=new At(vt),this.list.next=this.list.prev=this.list,this.push(...t)}isBefore(t,e){return t<e}push(...t){for(const e of t){const t=new At(e);t.next=this.list,t.prev=this.list.prev,this.list.prev=t,t.prev.next=t}return this}pop(){const t=this.list.prev;return t.data===vt?null:(this.list.prev=t.prev,t.prev.next=this.list,t.next=t.prev=null,t.data)}unshift(...t){for(const e of t.slice(0).reverse()){const t=new At(e);t.next=this.list.next,t.prev=this.list,this.list.next=t,t.next.prev=t}return this}shift(){const t=this.list.next;return t.data===vt?null:(this.list.next=t.next,t.next.prev=this.list,t.next=t.prev=null,t.data)}remove(...t){const e=new Map;for(const s of t)e.set(s,!0);let s=this.list.next;for(;s.data!==vt;){const t=s.next;e.has(s.data)&&(s.prev.next=s.next,s.next.prev=s.prev,s.next=s.prev=null),s=t}return this}clear(){return this.list.next.prev=this.list.prev.next=null,this.list.next=this.list.prev=this.list,this}*[Symbol.iterator](){let t=this.list.next;for(;t.data!==vt;)yield t.data,t=t.next}*reversed(){let t=this.list.prev;for(;t.data!==vt;)yield t.data,t=t.prev}insert(t,e=null){null===e&&(e=this.isBefore.bind(this));const s=new At(t);let i=this.list.next;for(;i.data!==vt&&e(i.data,s.data);)i=i.next;return s.prev=i.prev,s.next=i,i.prev.next=i.prev=s,this}sort(t=null){null===t&&(t=this.isBefore.bind(this));const e=[];for(const t of this)e.push(new Mt(t));for(this.list.next=this.list.prev=this.list;e.length>1;){const s=e.shift(),i=e.shift();s.merge(i,t),e.push(s)}return e.length&&(this.list=e[0].list),this}merge(t,e=null){null===e&&(e=this.isBefore.bind(this));let s=this.list.next,i=t.list.next;for(;s.data!==vt&&i.data!==vt;)e(i.data,s.data)?([i.prev.next,s.prev.next]=[s,i],[i.prev,s.prev]=[s.prev,i.prev],[this.list.prev.next,t.list.prev.next]=[t.list,this.list],[this.list.prev,t.list.prev]=[t.list.prev,this.list.prev],[s,i]=[i.next,s]):s=s.next;return i.data!==vt&&(this.list.prev.next=t.list.next,t.list.next.prev=this.list.prev,t.list.prev.next=this.list,this.list.prev=t.list.prev,t.list.next=t.list.prev=t.list),this}}class Dt extends Mt{isBefore(t,e){return t.start.i<e.start.i||t.start.i===e.start.i&&t.start.n<e.start.n}}function kt(t,e,s,i,r,n,a=null){return{open:t,math:e,close:s,n:i,start:{n:r},end:{n},display:a}}class wt{get isEscaped(){return null===this.display}constructor(t,e,s=!0,i={i:0,n:0,delim:""},r={i:0,n:0,delim:""}){this.root=null,this.typesetRoot=null,this.metrics={},this.inputData={},this.outputData={},this._state=St.UNPROCESSED,this.math=t,this.inputJax=e,this.display=s,this.start=i,this.end=r,this.root=null,this.typesetRoot=null,this.metrics={},this.inputData={},this.outputData={}}render(t){t.renderActions.renderMath(this,t)}rerender(t,e=St.RERENDER){this.state()>=e&&this.state(e-1),t.renderActions.renderMath(this,t,e)}convert(t,e=St.LAST){t.renderActions.renderConvert(this,t,e)}compile(t){this.state()<St.COMPILED&&(this.root=this.inputJax.compile(this,t),this.state(St.COMPILED))}typeset(t){this.state()<St.TYPESET&&(this.typesetRoot=t.outputJax[this.isEscaped?"escaped":"typeset"](this,t),this.state(St.TYPESET))}updateDocument(t){}removeFromDocument(t=!1){this.clear()}setMetrics(t,e,s,i){this.metrics={em:t,ex:e,containerWidth:s,scale:i}}state(t=null,e=!1){return null!=t&&(t<St.INSERTED&&this._state>=St.INSERTED&&this.removeFromDocument(e),t<St.TYPESET&&this._state>=St.TYPESET&&(this.outputData={}),t<St.COMPILED&&this._state>=St.COMPILED&&(this.inputData={}),this._state=t),this._state}reset(t=!1){this.state(St.UNPROCESSED,t)}clear(){}}const St={UNPROCESSED:0,FINDMATH:10,COMPILED:20,CONVERT:100,METRICS:110,RERENDER:125,TYPESET:150,INSERTED:200,LAST:1e4};function _t(t,e){if(t in St)throw Error("State "+t+" already exists");St[t]=e}class Pt{constructor(t=null){this.defaultKind="unknown",this.nodeMap=new Map,this.node={},null===t&&(t=this.constructor.defaultNodes);for(const e of Object.keys(t))this.setNodeClass(e,t[e])}create(t,...e){return(this.node[t]||this.node[this.defaultKind])(...e)}setNodeClass(t,e){this.nodeMap.set(t,e);const s=this.nodeMap.get(t);this.node[t]=(...t)=>new s(this,...t)}getNodeClass(t){return this.nodeMap.get(t)}deleteNodeClass(t){this.nodeMap.delete(t),delete this.node[t]}nodeIsKind(t,e){return t instanceof this.getNodeClass(e)}getKinds(){return Array.from(this.nodeMap.keys())}}Pt.defaultNodes={};class Bt extends Pt{create(t,e={},s=[]){return this.node[t](e,s)}}const jt="_inherit_";class $t{constructor(t,e){this.global=e,this.defaults=Object.create(e),this.inherited=Object.create(this.defaults),this.attributes=Object.create(this.inherited),Object.assign(this.defaults,t)}set(t,e){this.attributes[t]=e}setList(t){Object.assign(this.attributes,t)}unset(t){delete this.attributes[t]}get(t){let e=this.attributes[t];return e===jt&&(e=this.global[t]),e}getExplicit(t){return this.hasExplicit(t)?this.attributes[t]:void 0}hasExplicit(t){return Object.hasOwn(this.attributes,t)}hasOneOf(t){for(const e of t)if(this.hasExplicit(e))return!0;return!1}getList(...t){const e={};for(const s of t)e[s]=this.get(s);return e}setInherited(t,e){this.inherited[t]=e}getInherited(t){return this.inherited[t]}getDefault(t){return this.defaults[t]}isSet(t){return Object.hasOwn(this.attributes,t)||Object.hasOwn(this.inherited,t)}hasDefault(t){return t in this.defaults}getExplicitNames(){return Object.keys(this.attributes)}getInheritedNames(){return Object.keys(this.inherited)}getDefaultNames(){return Object.keys(this.defaults)}getGlobalNames(){return Object.keys(this.global)}getAllAttributes(){return this.attributes}getAllInherited(){return this.inherited}getAllDefaults(){return this.defaults}getAllGlobals(){return this.global}}class Ft{constructor(t,e={},s=[]){this.factory=t,this.parent=null,this.properties={},this.childNodes=[];for(const t of Object.keys(e))this.setProperty(t,e[t]);s.length&&this.setChildren(s)}get kind(){return"unknown"}setProperty(t,e){this.properties[t]=e}getProperty(t){return this.properties[t]}getPropertyNames(){return Object.keys(this.properties)}getAllProperties(){return this.properties}removeProperty(...t){for(const e of t)delete this.properties[e]}isKind(t){return this.factory.nodeIsKind(this,t)}setChildren(t){this.childNodes=[];for(const e of t)this.appendChild(e)}appendChild(t){return this.childNodes.push(t),t.parent=this,t}replaceChild(t,e){const s=this.childIndex(e);return null!==s&&(this.childNodes[s]=t,t.parent=this,e.parent===this&&(e.parent=null)),t}removeChild(t){const e=this.childIndex(t);return null!==e&&(this.childNodes.splice(e,1),t.parent=null),t}childIndex(t){const e=this.childNodes.indexOf(t);return-1===e?null:e}copy(){const t=this.factory.create(this.kind);t.properties=Object.assign({},this.properties);for(const e of this.childNodes||[])e&&t.appendChild(e.copy());return t}findNodes(t){const e=[];return this.walkTree((s=>{s.isKind(t)&&e.push(s)})),e}walkTree(t,e){t(this,e);for(const s of this.childNodes)s&&s.walkTree(t,e);return e}toString(){return this.kind+"("+this.childNodes.join(",")+")"}}class Wt extends Ft{setChildren(t){}appendChild(t){return t}replaceChild(t,e){return e}childIndex(t){return null}walkTree(t,e){return t(this,e),e}toString(){return this.kind}}const Ht={ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,NONE:-1},Jt=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER"],qt=["","thinmathspace","mediummathspace","thickmathspace"],zt=[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]],Xt=new Set(["normal","bold","italic","bold-italic","double-struck","fraktur","bold-fraktur","script","bold-script","sans-serif","bold-sans-serif","sans-serif-italic","sans-serif-bold-italic","monospace","inital","tailed","looped","stretched"]),Ut=["indentalign","indentalignfirst","indentshift","indentshiftfirst"];class Gt extends Ft{constructor(t,e={},s=[]){super(t),this.prevClass=null,this.prevLevel=null,this.texclass=null,this.arity<0&&(this.childNodes=[t.create("inferredMrow")],this.childNodes[0].parent=this),this.setChildren(s),this.attributes=new $t(t.getNodeClass(this.kind).defaults,t.getNodeClass("math").defaults),this.attributes.setList(e)}copy(t=!1){const e=this.factory.create(this.kind);if(e.properties=Object.assign({},this.properties),this.attributes){const s=this.attributes.getAllAttributes();for(const i of Object.keys(s))("id"!==i||t)&&e.attributes.set(i,s[i])}if(this.childNodes&&this.childNodes.length){let t=this.childNodes;1===t.length&&t[0].isInferred&&(t=t[0].childNodes);for(const s of t)s?e.appendChild(s.copy()):e.childNodes.push(null)}return e}get texClass(){return this.texclass}set texClass(t){this.texclass=t}get isToken(){return!1}get isEmbellished(){return!1}get isSpacelike(){return!1}get linebreakContainer(){return!1}get linebreakAlign(){return"data-align"}get arity(){return 1/0}get isInferred(){return!1}get Parent(){let t=this.parent;for(;t&&t.notParent;)t=t.Parent;return t}get notParent(){return!1}setChildren(t){return this.arity<0?this.childNodes[0].setChildren(t):super.setChildren(t)}appendChild(t){if(this.arity<0)return this.childNodes[0].appendChild(t),t;if(t.isInferred){if(this.arity===1/0)return t.childNodes.forEach((t=>super.appendChild(t))),t;const e=t;(t=this.factory.create("mrow")).setChildren(e.childNodes),t.attributes=e.attributes;for(const s of e.getPropertyNames())t.setProperty(s,e.getProperty(s))}return super.appendChild(t)}replaceChild(t,e){return this.arity<0?(this.childNodes[0].replaceChild(t,e),t):super.replaceChild(t,e)}core(){return this}coreMO(){return this}coreIndex(){return 0}childPosition(){let t=null,e=this.parent;for(;e&&e.notParent;)t=e,e=e.parent;if(t=t||this,e){let s=0;for(const i of e.childNodes){if(i===t)return s;s++}}return null}setTeXclass(t){return this.getPrevClass(t),null!=this.texClass?this:t}updateTeXclass(t){t&&(this.prevClass=t.prevClass,this.prevLevel=t.prevLevel,t.prevClass=t.prevLevel=null,this.texClass=t.texClass)}getPrevClass(t){t&&(this.prevClass=t.texClass,this.prevLevel=t.attributes.get("scriptlevel"))}texSpacing(){const t=null!=this.prevClass?this.prevClass:Ht.NONE,e=this.texClass||Ht.ORD;if(t===Ht.NONE||e===Ht.NONE)return"";const s=zt[t][e];return(this.prevLevel>0||this.attributes.get("scriptlevel")>0)&&s>=0?"":qt[Math.abs(s)]}hasSpacingAttributes(){return this.isEmbellished&&this.coreMO().hasSpacingAttributes()}setInheritedAttributes(t={},e=!1,s=0,i=!1){var r,n,a;const o=this.attributes.getAllDefaults();for(const e of Object.keys(t)){if(Object.hasOwn(o,e)||Object.hasOwn(Gt.alwaysInherit,e)){const[s,i]=t[e];(null===(n=null===(r=Gt.noInherit[s])||void 0===r?void 0:r[this.kind])||void 0===n?void 0:n[e])||this.attributes.setInherited(e,i)}(null===(a=Gt.stopInherit[this.kind])||void 0===a?void 0:a[e])&&delete(t=Object.assign({},t))[e]}void 0===this.attributes.getExplicit("displaystyle")&&this.attributes.setInherited("displaystyle",e);void 0===this.attributes.getExplicit("scriptlevel")&&this.attributes.setInherited("scriptlevel",s),i&&this.setProperty("texprimestyle",i);const l=this.arity;if(l>=0&&l!==1/0&&(1===l&&0===this.childNodes.length||1!==l&&this.childNodes.length!==l))if(l<this.childNodes.length)this.childNodes=this.childNodes.slice(0,l);else for(;this.childNodes.length<l;)this.appendChild(this.factory.create("mrow"));if(this.linebreakContainer&&!this.isEmbellished){const e=this.linebreakAlign;if(e){const s=this.attributes.get(e)||"left";t=this.addInheritedAttributes(t,{indentalign:s,indentshift:"0",indentalignfirst:s,indentshiftfirst:"0",indentalignlast:"indentalign",indentshiftlast:"indentshift"})}}this.setChildInheritedAttributes(t,e,s,i)}setChildInheritedAttributes(t,e,s,i){for(const r of this.childNodes)r.setInheritedAttributes(t,e,s,i)}addInheritedAttributes(t,e){const s=Object.assign({},t);for(const t of Object.keys(e))"displaystyle"!==t&&"scriptlevel"!==t&&"style"!==t&&(s[t]=[this.kind,e[t]]);return s}inheritAttributesFrom(t){const e=t.attributes,s=e.get("displaystyle"),i=e.get("scriptlevel"),r=e.isSet("mathsize")?{mathsize:["math",e.get("mathsize")]}:{},n=t.getProperty("texprimestyle")||!1;this.setInheritedAttributes(r,s,i,n)}verifyTree(t=null){if(null===t)return;this.verifyAttributes(t);const e=this.arity;t.checkArity&&e>=0&&e!==1/0&&(1===e&&0===this.childNodes.length||1!==e&&this.childNodes.length!==e)&&this.mError('Wrong number of children for "'+this.kind+'" node',t,!0),this.verifyChildren(t)}verifyAttributes(t){if(t.checkAttributes){const e=this.attributes,s=[];for(const t of e.getExplicitNames())"data-"===t.substring(0,5)||void 0!==e.getDefault(t)||t.match(/^(?:class|style|id|(?:xlink:)?href)$/)||s.push(t);s.length&&this.mError("Unknown attributes for "+this.kind+" node: "+s.join(", "),t)}if(t.checkMathvariants){const e=this.attributes.getExplicit("mathvariant");!e||Xt.has(e)||this.getProperty("ignore-variant")||this.mError(`Invalid mathvariant: ${e}`,t,!0)}}verifyChildren(t){for(const e of this.childNodes)e.verifyTree(t)}mError(t,e,s=!1){if(this.parent&&this.parent.isKind("merror"))return null;const i=this.factory.create("merror");if(i.attributes.set("data-mjx-message",t),e.fullErrors||s){const s=this.factory.create("mtext"),r=this.factory.create("text");r.setText(e.fullErrors?t:this.kind),s.appendChild(r),i.appendChild(s),this.parent.replaceChild(i,this),e.fullErrors||i.attributes.set("title",t)}else this.parent.replaceChild(i,this),i.appendChild(this);return i}}Gt.defaults={mathbackground:jt,mathcolor:jt,mathsize:jt,dir:jt},Gt.noInherit={mstyle:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},maligngroup:{mrow:{groupalign:!0},mtable:{groupalign:!0}},mtr:{msqrt:{"data-vertical-align":!0},mroot:{"data-vertical-align":!0}},mlabeledtr:{msqrt:{"data-vertical-align":!0},mroot:{"data-vertical-align":!0}}},Gt.stopInherit={mtd:{columnalign:!0,rowalign:!0,groupalign:!0}},Gt.alwaysInherit={scriptminsize:!0,scriptsizemultiplier:!0,infixlinebreakstyle:!0},Gt.verifyDefaults={checkArity:!0,checkAttributes:!1,checkMathvariants:!0,fullErrors:!1,fixMmultiscripts:!0,fixMtables:!0};class Kt extends Gt{get isToken(){return!0}getText(){let t="";for(const e of this.childNodes)e instanceof Qt?t+=e.getText():"textContent"in e&&(t+=e.textContent());return t}setChildInheritedAttributes(t,e,s,i){for(const r of this.childNodes)r instanceof Gt&&r.setInheritedAttributes(t,e,s,i)}walkTree(t,e){t(this,e);for(const s of this.childNodes)s instanceof Gt&&s.walkTree(t,e);return e}}Kt.defaults=Object.assign(Object.assign({},Gt.defaults),{mathvariant:"normal",mathsize:jt});class Vt extends Gt{get isSpacelike(){return this.childNodes[0].isSpacelike}get isEmbellished(){return this.childNodes[0].isEmbellished}get arity(){return-1}core(){return this.childNodes[0]}coreMO(){return this.childNodes[0].coreMO()}setTeXclass(t){return t=this.childNodes[0].setTeXclass(t),this.updateTeXclass(this.childNodes[0]),t}}Vt.defaults=Gt.defaults;class Yt extends Gt{get isEmbellished(){return this.childNodes[0].isEmbellished}core(){return this.childNodes[0]}coreMO(){return this.childNodes[0].coreMO()}setTeXclass(t){this.getPrevClass(t),this.texClass=Ht.ORD;const e=this.childNodes[0];let s=null;e&&(this.isEmbellished||e.isKind("mi")?(s=e.setTeXclass(t),this.updateTeXclass(this.core())):e.setTeXclass(null));for(const t of this.childNodes.slice(1))t&&t.setTeXclass(null);return s||this}}Yt.defaults=Gt.defaults;class Zt extends Wt{get isToken(){return!1}get isEmbellished(){return!1}get isSpacelike(){return!1}get linebreakContainer(){return!1}get linebreakAlign(){return""}get arity(){return 0}get isInferred(){return!1}get notParent(){return!1}get Parent(){return this.parent}get texClass(){return Ht.NONE}get prevClass(){return Ht.NONE}get prevLevel(){return 0}hasSpacingAttributes(){return!1}get attributes(){return null}core(){return this}coreMO(){return this}coreIndex(){return 0}childPosition(){return 0}setTeXclass(t){return t}texSpacing(){return""}setInheritedAttributes(t,e,s,i){}inheritAttributesFrom(t){}verifyTree(t){}mError(t,e,s=!1){return null}}class Qt extends Zt{constructor(){super(...arguments),this.text=""}get kind(){return"text"}getText(){return this.text}setText(t){return this.text=t,this}copy(){return this.factory.create(this.kind).setText(this.getText())}toString(){return this.text}}class te extends Zt{constructor(){super(...arguments),this.xml=null,this.adaptor=null}get kind(){return"XML"}getXML(){return this.xml}setXML(t,e=null){return this.xml=t,this.adaptor=e,this}getSerializedXML(){return this.adaptor.serializeXML(this.xml)}copy(){return this.factory.create(this.kind).setXML(this.adaptor.clone(this.xml))}toString(){return"XML data"}}class ee extends Vt{get kind(){return"math"}get linebreakContainer(){return!0}get linebreakAlign(){return""}setChildInheritedAttributes(t,e,s,i){"display"===this.attributes.get("mode")&&this.attributes.setInherited("display","block"),t=this.addInheritedAttributes(t,this.attributes.getAllAttributes()),e=!!this.attributes.get("displaystyle")||!this.attributes.get("displaystyle")&&"block"===this.attributes.get("display"),this.attributes.setInherited("displaystyle",e),s=this.attributes.get("scriptlevel")||this.constructor.defaults.scriptlevel,super.setChildInheritedAttributes(t,e,s,i)}verifyTree(t=null){super.verifyTree(t),this.parent&&this.mError("Improper nesting of math tags",t,!0)}}ee.defaults=Object.assign(Object.assign({},Vt.defaults),{mathvariant:"normal",mathsize:"normal",mathcolor:"",mathbackground:"transparent",dir:"ltr",scriptlevel:0,displaystyle:!1,display:"inline",maxwidth:"",overflow:"linebreak",altimg:"","altimg-width":"","altimg-height":"","altimg-valign":"",alttext:"",cdgroup:"",scriptsizemultiplier:1/Math.sqrt(2),scriptminsize:".4em",infixlinebreakstyle:"before",lineleading:"100%",linebreakmultchar:"\u2062",indentshift:"auto",indentalign:"auto",indenttarget:"",indentalignfirst:"indentalign",indentshiftfirst:"indentshift",indentalignlast:"indentalign",indentshiftlast:"indentshift"});class se extends Kt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"mi"}setInheritedAttributes(t={},e=!1,s=0,i=!1){super.setInheritedAttributes(t,e,s,i);this.getText().match(se.singleCharacter)&&!t.mathvariant&&this.attributes.setInherited("mathvariant","italic")}setTeXclass(t){this.getPrevClass(t);const e=this.getText();return e.length>1&&e.match(se.operatorName)&&"normal"===this.attributes.get("mathvariant")&&void 0===this.getProperty("autoOP")&&void 0===this.getProperty("texClass")&&(this.texClass=Ht.OP,this.setProperty("autoOP",!0)),this}}se.defaults=Object.assign({},Kt.defaults),se.operatorName=/^[a-z][a-z0-9]*$/i,se.singleCharacter=/^[\uD800-\uDBFF]?.[\u0300-\u036F\u1AB0-\u1ABE\u1DC0-\u1DFF\u20D0-\u20EF]*$/;class ie extends Kt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"mn"}}function re(t,e,s=Ht.BIN,i=null){return[t,e,s,i]}ie.defaults=Object.assign({},Kt.defaults);const ne={ORD:re(0,0,Ht.ORD),ORD11:re(1,1,Ht.ORD),ORD21:re(2,1,Ht.ORD),ORD02:re(0,2,Ht.ORD),ORD55:re(5,5,Ht.ORD),NONE:re(0,0,Ht.NONE),OP:re(1,2,Ht.OP,{largeop:!0,movablelimits:!0,symmetric:!0}),OPFIXED:re(1,2,Ht.OP,{largeop:!0,movablelimits:!0}),INTEGRAL:re(0,1,Ht.OP,{largeop:!0,symmetric:!0}),INTEGRAL2:re(1,2,Ht.OP,{largeop:!0,symmetric:!0}),BIN3:re(3,3,Ht.BIN),BIN4:re(4,4,Ht.BIN),BIN01:re(0,1,Ht.BIN),BIN5:re(5,5,Ht.BIN),TALLBIN:re(4,4,Ht.BIN,{stretchy:!0}),BINOP:re(4,4,Ht.BIN,{largeop:!0,movablelimits:!0}),REL:re(5,5,Ht.REL),REL1:re(1,1,Ht.REL,{stretchy:!0}),REL4:re(4,4,Ht.REL),RELSTRETCH:re(5,5,Ht.REL,{stretchy:!0}),RELACCENT:re(5,5,Ht.REL,{accent:!0}),WIDEREL:re(5,5,Ht.REL,{accent:!0,stretchy:!0}),OPEN:re(0,0,Ht.OPEN,{fence:!0,stretchy:!0,symmetric:!0}),CLOSE:re(0,0,Ht.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}),INNER:re(0,0,Ht.INNER),PUNCT:re(0,3,Ht.PUNCT),ACCENT:re(0,0,Ht.ORD,{accent:!0}),WIDEACCENT:re(0,0,Ht.ORD,{accent:!0,stretchy:!0})},ae=[[32,127,Ht.REL,"mo"],[160,191,Ht.ORD,"mo"],[192,591,Ht.ORD,"mi"],[688,879,Ht.ORD,"mo"],[880,6688,Ht.ORD,"mi"],[6832,6911,Ht.ORD,"mo"],[6912,7615,Ht.ORD,"mi"],[7616,7679,Ht.ORD,"mo"],[7680,8191,Ht.ORD,"mi"],[8192,8303,Ht.ORD,"mo"],[8304,8351,Ht.ORD,"mo"],[8448,8527,Ht.ORD,"mi"],[8528,8591,Ht.ORD,"mn"],[8592,8703,Ht.REL,"mo"],[8704,8959,Ht.BIN,"mo"],[8960,9215,Ht.ORD,"mo"],[9312,9471,Ht.ORD,"mn"],[9472,10223,Ht.ORD,"mo"],[10224,10239,Ht.REL,"mo"],[10240,10495,Ht.ORD,"mtext"],[10496,10623,Ht.REL,"mo"],[10624,10751,Ht.ORD,"mo"],[10752,11007,Ht.BIN,"mo"],[11008,11055,Ht.ORD,"mo"],[11056,11087,Ht.REL,"mo"],[11088,11263,Ht.ORD,"mo"],[11264,11744,Ht.ORD,"mi"],[11776,11903,Ht.ORD,"mo"],[11904,12255,Ht.ORD,"mi","normal"],[12272,12351,Ht.ORD,"mo"],[12352,42143,Ht.ORD,"mi","normal"],[42192,43055,Ht.ORD,"mi"],[43056,43071,Ht.ORD,"mn"],[43072,55295,Ht.ORD,"mi"],[63744,64255,Ht.ORD,"mi","normal"],[64256,65023,Ht.ORD,"mi"],[65024,65135,Ht.ORD,"mo"],[65136,65791,Ht.ORD,"mi"],[65792,65935,Ht.ORD,"mn"],[65936,74751,Ht.ORD,"mi","normal"],[74752,74879,Ht.ORD,"mn"],[74880,113823,Ht.ORD,"mi","normal"],[113824,119391,Ht.ORD,"mo"],[119648,119679,Ht.ORD,"mn"],[119808,120781,Ht.ORD,"mi"],[120782,120831,Ht.ORD,"mn"],[122624,129023,Ht.ORD,"mo"],[129024,129279,Ht.REL,"mo"],[129280,129535,Ht.ORD,"mo"],[131072,195103,Ht.ORD,"mi","normal"]];function oe(t){const e=ce.infix[t]||ce.prefix[t]||ce.postfix[t];if(e)return[0,0,e[2],"mo"];const s=t.codePointAt(0);for(const t of ae)if(s<=t[1]){if(s>=t[0])return t;break}return[0,0,Ht.REL,"mo"]}const le=[[0,0],[1,2],[3,3],[4,4],[0,0],[0,0],[0,3]],ce={prefix:{"(":ne.OPEN,"+":ne.BIN01,"-":ne.BIN01,"[":ne.OPEN,"{":ne.OPEN,"|":ne.OPEN,"||":[0,0,Ht.BIN,{fence:!0,stretchy:!0,symmetric:!0}],"|||":[0,0,Ht.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"\xac":ne.ORD21,"\xb1":ne.BIN01,"\u2016":[0,0,Ht.ORD,{fence:!0,stretchy:!0}],"\u2018":[0,0,Ht.OPEN,{fence:!0}],"\u201c":[0,0,Ht.OPEN,{fence:!0}],\u2145:ne.ORD21,\u2146:re(2,0,Ht.ORD),"\u2200":ne.ORD21,"\u2202":ne.ORD21,"\u2203":ne.ORD21,"\u2204":ne.ORD21,"\u2207":ne.ORD21,"\u220f":ne.OP,"\u2210":ne.OP,"\u2211":ne.OP,"\u2212":ne.BIN01,"\u2213":ne.BIN01,"\u221a":[1,1,Ht.ORD,{stretchy:!0}],"\u221b":ne.ORD11,"\u221c":ne.ORD11,"\u2220":ne.ORD,"\u2221":ne.ORD,"\u2222":ne.ORD,"\u222b":ne.INTEGRAL,"\u222c":ne.INTEGRAL,"\u222d":ne.INTEGRAL,"\u222e":ne.INTEGRAL,"\u222f":ne.INTEGRAL,"\u2230":ne.INTEGRAL,"\u2231":ne.INTEGRAL,"\u2232":ne.INTEGRAL,"\u2233":ne.INTEGRAL,"\u22c0":ne.OP,"\u22c1":ne.OP,"\u22c2":ne.OP,"\u22c3":ne.OP,"\u2308":ne.OPEN,"\u230a":ne.OPEN,"\u2329":ne.OPEN,"\u2772":ne.OPEN,"\u27e6":ne.OPEN,"\u27e8":ne.OPEN,"\u27ea":ne.OPEN,"\u27ec":ne.OPEN,"\u27ee":ne.OPEN,"\u2980":[0,0,Ht.ORD,{fence:!0,stretchy:!0}],"\u2983":ne.OPEN,"\u2985":ne.OPEN,"\u2987":ne.OPEN,"\u2989":ne.OPEN,"\u298b":ne.OPEN,"\u298d":ne.OPEN,"\u298f":ne.OPEN,"\u2991":ne.OPEN,"\u2993":ne.OPEN,"\u2995":ne.OPEN,"\u2997":ne.OPEN,"\u29fc":ne.OPEN,"\u2a00":ne.OP,"\u2a01":ne.OP,"\u2a02":ne.OP,"\u2a03":ne.OP,"\u2a04":ne.OP,"\u2a05":ne.OP,"\u2a06":ne.OP,"\u2a07":ne.OP,"\u2a08":ne.OP,"\u2a09":ne.OP,"\u2a0a":ne.OP,"\u2a0b":ne.INTEGRAL2,"\u2a0c":ne.INTEGRAL,"\u2a0d":ne.INTEGRAL2,"\u2a0e":ne.INTEGRAL2,"\u2a0f":ne.INTEGRAL2,"\u2a10":ne.OP,"\u2a11":ne.OP,"\u2a12":ne.OP,"\u2a13":ne.OP,"\u2a14":ne.OP,"\u2a15":ne.INTEGRAL2,"\u2a16":ne.INTEGRAL2,"\u2a17":ne.INTEGRAL2,"\u2a18":ne.INTEGRAL2,"\u2a19":ne.INTEGRAL2,"\u2a1a":ne.INTEGRAL2,"\u2a1b":ne.INTEGRAL2,"\u2a1c":ne.INTEGRAL2,"\u2afc":ne.OP,"\u2aff":ne.OP},postfix:{"!!":re(1,0),"!":[1,0,Ht.CLOSE,null],'"':ne.ACCENT,"&":ne.ORD,")":ne.CLOSE,"++":re(0,0),"--":re(0,0),"..":re(0,0),"...":ne.ORD,"'":ne.ACCENT,"]":ne.CLOSE,"^":ne.WIDEACCENT,_:ne.WIDEACCENT,"`":ne.ACCENT,"|":ne.CLOSE,"}":ne.CLOSE,"~":ne.WIDEACCENT,"||":[0,0,Ht.BIN,{fence:!0,stretchy:!0,symmetric:!0}],"|||":[0,0,Ht.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"\xa8":ne.ACCENT,\u00aa:ne.ACCENT,"\xaf":ne.WIDEACCENT,"\xb0":ne.ORD,"\xb2":ne.ACCENT,"\xb3":ne.ACCENT,"\xb4":ne.ACCENT,"\xb8":ne.ACCENT,"\xb9":ne.ACCENT,\u00ba:ne.ACCENT,\u02c6:ne.WIDEACCENT,\u02c7:ne.WIDEACCENT,\u02c9:ne.WIDEACCENT,\u02ca:ne.ACCENT,\u02cb:ne.ACCENT,\u02cd:ne.WIDEACCENT,"\u02d8":ne.ACCENT,"\u02d9":ne.ACCENT,"\u02da":ne.ACCENT,"\u02dc":ne.WIDEACCENT,"\u02dd":ne.ACCENT,"\u02f7":ne.WIDEACCENT,"\u0302":ne.WIDEACCENT,"\u0311":ne.ACCENT,"\u03f6":ne.REL,"\u2016":[0,0,Ht.ORD,{fence:!0,stretchy:!0}],"\u2019":[0,0,Ht.CLOSE,{fence:!0}],"\u201a":ne.ACCENT,"\u201b":ne.ACCENT,"\u201d":[0,0,Ht.CLOSE,{fence:!0}],"\u201e":ne.ACCENT,"\u201f":ne.ACCENT,"\u2032":ne.ORD,"\u2033":ne.ORD,"\u2034":ne.ORD,"\u2035":ne.ORD,"\u2036":ne.ORD,"\u2037":ne.ORD,"\u203e":ne.WIDEACCENT,"\u2057":ne.ORD,"\u20db":ne.ACCENT,"\u20dc":ne.ACCENT,"\u2309":ne.CLOSE,"\u230b":ne.CLOSE,"\u232a":ne.CLOSE,"\u23b4":ne.WIDEACCENT,"\u23b5":ne.WIDEACCENT,"\u23dc":ne.WIDEACCENT,"\u23dd":ne.WIDEACCENT,"\u23de":ne.WIDEACCENT,"\u23df":ne.WIDEACCENT,"\u23e0":ne.WIDEACCENT,"\u23e1":ne.WIDEACCENT,"\u25a0":ne.BIN3,"\u25a1":ne.BIN3,"\u25aa":ne.BIN3,"\u25ab":ne.BIN3,"\u25ad":ne.BIN3,"\u25ae":ne.BIN3,"\u25af":ne.BIN3,"\u25b0":ne.BIN3,"\u25b1":ne.BIN3,"\u25b2":ne.BIN4,"\u25b4":ne.BIN4,"\u25b6":ne.BIN4,"\u25b7":ne.BIN4,"\u25b8":ne.BIN4,"\u25bc":ne.BIN4,"\u25be":ne.BIN4,"\u25c0":ne.BIN4,"\u25c1":ne.BIN4,"\u25c2":ne.BIN4,"\u25c4":ne.BIN4,"\u25c5":ne.BIN4,"\u25c6":ne.BIN4,"\u25c7":ne.BIN4,"\u25c8":ne.BIN4,"\u25c9":ne.BIN4,"\u25cc":ne.BIN4,"\u25cd":ne.BIN4,"\u25ce":ne.BIN4,"\u25cf":ne.BIN4,"\u25d6":ne.BIN4,"\u25d7":ne.BIN4,"\u25e6":ne.BIN4,"\u266d":ne.ORD02,"\u266e":ne.ORD02,"\u266f":ne.ORD02,"\u2773":ne.CLOSE,"\u27e7":ne.CLOSE,"\u27e9":ne.CLOSE,"\u27eb":ne.CLOSE,"\u27ed":ne.CLOSE,"\u27ef":ne.CLOSE,"\u2980":[0,0,Ht.ORD,{fence:!0,stretchy:!0}],"\u2984":ne.CLOSE,"\u2986":ne.CLOSE,"\u2988":ne.CLOSE,"\u298a":ne.CLOSE,"\u298c":ne.CLOSE,"\u298e":ne.CLOSE,"\u2990":ne.CLOSE,"\u2992":ne.CLOSE,"\u2994":ne.CLOSE,"\u2996":ne.CLOSE,"\u2998":ne.CLOSE,"\u29fd":ne.CLOSE},infix:{"!=":ne.BIN4,"#":ne.ORD,$:ne.ORD,"%":[3,3,Ht.ORD,null],"&&":ne.BIN4,"":ne.ORD,"*":ne.BIN3,"**":re(1,1),"*=":ne.BIN4,"+":ne.BIN4,"+=":ne.BIN4,",":[0,3,Ht.PUNCT,{linebreakstyle:"after",separator:!0}],"-":ne.BIN4,"-=":ne.BIN4,"->":ne.BIN5,".":[0,3,Ht.PUNCT,{linebreakstyle:"after",separator:!0}],"/":ne.ORD11,"//":re(1,1),"/=":ne.BIN4,":":[1,2,Ht.REL,null],":=":ne.BIN4,";":[0,3,Ht.PUNCT,{linebreakstyle:"after",separator:!0}],"<":ne.REL,"<=":ne.BIN5,"<>":re(1,1),"=":ne.REL,"==":ne.BIN4,">":ne.REL,">=":ne.BIN5,"?":[1,1,Ht.CLOSE,null],"@":ne.ORD11,"\\":ne.ORD,"^":ne.ORD11,_:ne.ORD11,"|":[2,2,Ht.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"||":[2,2,Ht.BIN,{fence:!0,stretchy:!0,symmetric:!0}],"|||":[2,2,Ht.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"\xb1":ne.BIN4,"\xb7":ne.BIN4,"\xd7":ne.BIN4,"\xf7":ne.BIN4,\u02b9:ne.ORD,"\u0300":ne.ACCENT,"\u0301":ne.ACCENT,"\u0303":ne.WIDEACCENT,"\u0304":ne.ACCENT,"\u0306":ne.ACCENT,"\u0307":ne.ACCENT,"\u0308":ne.ACCENT,"\u030c":ne.ACCENT,"\u0332":ne.WIDEACCENT,"\u0338":ne.REL4,"\u2015":[0,0,Ht.ORD,{stretchy:!0}],"\u2017":[0,0,Ht.ORD,{stretchy:!0}],"\u2020":ne.BIN3,"\u2021":ne.BIN3,"\u2022":ne.BIN4,"\u2026":ne.INNER,"\u2043":ne.BIN4,"\u2044":ne.TALLBIN,"\u2061":ne.NONE,"\u2062":ne.NONE,"\u2063":[0,0,Ht.NONE,{linebreakstyle:"after",separator:!0}],"\u2064":ne.NONE,"\u20d7":ne.ACCENT,\u2111:ne.ORD,\u2113:ne.ORD,\u2118:ne.ORD,\u211c:ne.ORD,"\u2190":ne.WIDEREL,"\u2191":ne.RELSTRETCH,"\u2192":ne.WIDEREL,"\u2193":ne.RELSTRETCH,"\u2194":ne.WIDEREL,"\u2195":ne.RELSTRETCH,"\u2196":ne.RELSTRETCH,"\u2197":ne.RELSTRETCH,"\u2198":ne.RELSTRETCH,"\u2199":ne.RELSTRETCH,"\u219a":ne.RELACCENT,"\u219b":ne.RELACCENT,"\u219c":ne.WIDEREL,"\u219d":ne.WIDEREL,"\u219e":ne.WIDEREL,"\u219f":ne.WIDEREL,"\u21a0":ne.WIDEREL,"\u21a1":ne.RELSTRETCH,"\u21a2":ne.WIDEREL,"\u21a3":ne.WIDEREL,"\u21a4":ne.WIDEREL,"\u21a5":ne.RELSTRETCH,"\u21a6":ne.WIDEREL,"\u21a7":ne.RELSTRETCH,"\u21a8":ne.RELSTRETCH,"\u21a9":ne.WIDEREL,"\u21aa":ne.WIDEREL,"\u21ab":ne.WIDEREL,"\u21ac":ne.WIDEREL,"\u21ad":ne.WIDEREL,"\u21ae":ne.RELACCENT,"\u21af":ne.RELSTRETCH,"\u21b0":ne.RELSTRETCH,"\u21b1":ne.RELSTRETCH,"\u21b2":ne.RELSTRETCH,"\u21b3":ne.RELSTRETCH,"\u21b4":ne.RELSTRETCH,"\u21b5":ne.RELSTRETCH,"\u21b6":ne.RELACCENT,"\u21b7":ne.RELACCENT,"\u21b8":ne.REL,"\u21b9":ne.WIDEREL,"\u21ba":ne.REL,"\u21bb":ne.REL,"\u21bc":ne.WIDEREL,"\u21bd":ne.WIDEREL,"\u21be":ne.RELSTRETCH,"\u21bf":ne.RELSTRETCH,"\u21c0":ne.WIDEREL,"\u21c1":ne.WIDEREL,"\u21c2":ne.RELSTRETCH,"\u21c3":ne.RELSTRETCH,"\u21c4":ne.WIDEREL,"\u21c5":ne.RELSTRETCH,"\u21c6":ne.WIDEREL,"\u21c7":ne.WIDEREL,"\u21c8":ne.RELSTRETCH,"\u21c9":ne.WIDEREL,"\u21ca":ne.RELSTRETCH,"\u21cb":ne.WIDEREL,"\u21cc":ne.WIDEREL,"\u21cd":ne.RELACCENT,"\u21ce":ne.RELACCENT,"\u21cf":ne.RELACCENT,"\u21d0":ne.WIDEREL,"\u21d1":ne.RELSTRETCH,"\u21d2":ne.WIDEREL,"\u21d3":ne.RELSTRETCH,"\u21d4":ne.WIDEREL,"\u21d5":ne.RELSTRETCH,"\u21d6":ne.RELSTRETCH,"\u21d7":ne.RELSTRETCH,"\u21d8":ne.RELSTRETCH,"\u21d9":ne.RELSTRETCH,"\u21da":ne.WIDEREL,"\u21db":ne.WIDEREL,"\u21dc":ne.WIDEREL,"\u21dd":ne.WIDEREL,"\u21de":ne.REL,"\u21df":ne.REL,"\u21e0":ne.WIDEREL,"\u21e1":ne.RELSTRETCH,"\u21e2":ne.WIDEREL,"\u21e3":ne.RELSTRETCH,"\u21e4":ne.WIDEREL,"\u21e5":ne.WIDEREL,"\u21e6":ne.WIDEREL,"\u21e7":ne.RELSTRETCH,"\u21e8":ne.WIDEREL,"\u21e9":ne.RELSTRETCH,"\u21ea":ne.RELSTRETCH,"\u21eb":ne.RELSTRETCH,"\u21ec":ne.RELSTRETCH,"\u21ed":ne.RELSTRETCH,"\u21ee":ne.RELSTRETCH,"\u21ef":ne.RELSTRETCH,"\u21f0":ne.WIDEREL,"\u21f1":ne.REL,"\u21f2":ne.REL,"\u21f3":ne.RELSTRETCH,"\u21f4":ne.RELACCENT,"\u21f5":ne.RELSTRETCH,"\u21f6":ne.WIDEREL,"\u21f7":ne.RELACCENT,"\u21f8":ne.RELACCENT,"\u21f9":ne.RELACCENT,"\u21fa":ne.RELACCENT,"\u21fb":ne.RELACCENT,"\u21fc":ne.RELACCENT,"\u21fd":ne.WIDEREL,"\u21fe":ne.WIDEREL,"\u21ff":ne.WIDEREL,"\u2201":re(1,2,Ht.ORD),"\u2205":ne.ORD,"\u2206":ne.BIN3,"\u2208":ne.REL,"\u2209":ne.REL,"\u220a":ne.REL,"\u220b":ne.REL,"\u220c":ne.REL,"\u220d":ne.REL,"\u220e":ne.BIN3,"\u2212":ne.BIN4,"\u2213":ne.BIN4,"\u2214":ne.BIN4,"\u2215":ne.TALLBIN,"\u2216":ne.BIN4,"\u2217":ne.BIN4,"\u2218":ne.BIN4,"\u2219":ne.BIN4,"\u221d":ne.REL,"\u221e":ne.ORD,"\u221f":ne.REL,"\u2223":ne.REL,"\u2224":ne.REL,"\u2225":ne.REL,"\u2226":ne.REL,"\u2227":ne.BIN4,"\u2228":ne.BIN4,"\u2229":ne.BIN4,"\u222a":ne.BIN4,"\u2234":ne.REL,"\u2235":ne.REL,"\u2236":ne.REL,"\u2237":ne.REL,"\u2238":ne.BIN4,"\u2239":ne.REL,"\u223a":ne.BIN4,"\u223b":ne.REL,"\u223c":ne.REL,"\u223d":ne.REL,"\u223d\u0331":ne.BIN3,"\u223e":ne.REL,"\u223f":ne.BIN3,"\u2240":ne.BIN4,"\u2241":ne.REL,"\u2242":ne.REL,"\u2242\u0338":ne.REL,"\u2243":ne.REL,"\u2244":ne.REL,"\u2245":ne.REL,"\u2246":ne.REL,"\u2247":ne.REL,"\u2248":ne.REL,"\u2249":ne.REL,"\u224a":ne.REL,"\u224b":ne.REL,"\u224c":ne.REL,"\u224d":ne.REL,"\u224e":ne.REL,"\u224e\u0338":ne.REL,"\u224f":ne.REL,"\u224f\u0338":ne.REL,"\u2250":ne.REL,"\u2251":ne.REL,"\u2252":ne.REL,"\u2253":ne.REL,"\u2254":ne.REL,"\u2255":ne.REL,"\u2256":ne.REL,"\u2257":ne.REL,"\u2258":ne.REL,"\u2259":ne.REL,"\u225a":ne.REL,"\u225b":ne.REL,"\u225c":ne.REL,"\u225d":ne.REL,"\u225e":ne.REL,"\u225f":ne.REL,"\u2260":ne.REL,"\u2261":ne.REL,"\u2262":ne.REL,"\u2263":ne.REL,"\u2264":ne.REL,"\u2265":ne.REL,"\u2266":ne.REL,"\u2266\u0338":ne.REL,"\u2267":ne.REL,"\u2268":ne.REL,"\u2269":ne.REL,"\u226a":ne.REL,"\u226a\u0338":ne.REL,"\u226b":ne.REL,"\u226b\u0338":ne.REL,"\u226c":ne.REL,"\u226d":ne.REL,"\u226e":ne.REL,"\u226f":ne.REL,"\u2270":ne.REL,"\u2271":ne.REL,"\u2272":ne.REL,"\u2273":ne.REL,"\u2274":ne.REL,"\u2275":ne.REL,"\u2276":ne.REL,"\u2277":ne.REL,"\u2278":ne.REL,"\u2279":ne.REL,"\u227a":ne.REL,"\u227b":ne.REL,"\u227c":ne.REL,"\u227d":ne.REL,"\u227e":ne.REL,"\u227f":ne.REL,"\u227f\u0338":ne.REL,"\u2280":ne.REL,"\u2281":ne.REL,"\u2282":ne.REL,"\u2282\u20d2":ne.REL,"\u2283":ne.REL,"\u2283\u20d2":ne.REL,"\u2284":ne.REL,"\u2285":ne.REL,"\u2286":ne.REL,"\u2287":ne.REL,"\u2288":ne.REL,"\u2289":ne.REL,"\u228a":ne.REL,"\u228b":ne.REL,"\u228c":ne.BIN4,"\u228d":ne.BIN4,"\u228e":ne.BIN4,"\u228f":ne.REL,"\u228f\u0338":ne.REL,"\u2290":ne.REL,"\u2290\u0338":ne.REL,"\u2291":ne.REL,"\u2292":ne.REL,"\u2293":ne.BIN4,"\u2294":ne.BIN4,"\u2295":ne.BIN4,"\u2296":ne.BIN4,"\u2297":ne.BIN4,"\u2298":ne.BIN4,"\u2299":ne.BIN4,"\u229a":ne.BIN4,"\u229b":ne.BIN4,"\u229c":ne.BIN4,"\u229d":ne.BIN4,"\u229e":ne.BIN4,"\u229f":ne.BIN4,"\u22a0":ne.BIN4,"\u22a1":ne.BIN4,"\u22a2":ne.REL,"\u22a3":ne.REL,"\u22a4":ne.ORD55,"\u22a5":ne.REL,"\u22a6":ne.REL,"\u22a7":ne.REL,"\u22a8":ne.REL,"\u22a9":ne.REL,"\u22aa":ne.REL,"\u22ab":ne.REL,"\u22ac":ne.REL,"\u22ad":ne.REL,"\u22ae":ne.REL,"\u22af":ne.REL,"\u22b0":ne.REL,"\u22b1":ne.REL,"\u22b2":ne.REL,"\u22b3":ne.REL,"\u22b4":ne.REL,"\u22b5":ne.REL,"\u22b6":ne.REL,"\u22b7":ne.REL,"\u22b8":ne.REL,"\u22b9":ne.REL,"\u22ba":ne.BIN4,"\u22bb":ne.BIN4,"\u22bc":ne.BIN4,"\u22bd":ne.BIN4,"\u22be":ne.BIN3,"\u22bf":ne.BIN3,"\u22c4":ne.BIN4,"\u22c5":ne.BIN4,"\u22c6":ne.BIN4,"\u22c7":ne.BIN4,"\u22c8":ne.REL,"\u22c9":ne.BIN4,"\u22ca":ne.BIN4,"\u22cb":ne.BIN4,"\u22cc":ne.BIN4,"\u22cd":ne.REL,"\u22ce":ne.BIN4,"\u22cf":ne.BIN4,"\u22d0":ne.REL,"\u22d1":ne.REL,"\u22d2":ne.BIN4,"\u22d3":ne.BIN4,"\u22d4":ne.REL,"\u22d5":ne.REL,"\u22d6":ne.REL,"\u22d7":ne.REL,"\u22d8":ne.REL,"\u22d9":ne.REL,"\u22da":ne.REL,"\u22db":ne.REL,"\u22dc":ne.REL,"\u22dd":ne.REL,"\u22de":ne.REL,"\u22df":ne.REL,"\u22e0":ne.REL,"\u22e1":ne.REL,"\u22e2":ne.REL,"\u22e3":ne.REL,"\u22e4":ne.REL,"\u22e5":ne.REL,"\u22e6":ne.REL,"\u22e7":ne.REL,"\u22e8":ne.REL,"\u22e9":ne.REL,"\u22ea":ne.REL,"\u22eb":ne.REL,"\u22ec":ne.REL,"\u22ed":ne.REL,"\u22ee":ne.ORD55,"\u22ef":ne.INNER,"\u22f0":ne.REL,"\u22f1":[5,5,Ht.INNER,null],"\u22f2":ne.REL,"\u22f3":ne.REL,"\u22f4":ne.REL,"\u22f5":ne.REL,"\u22f6":ne.REL,"\u22f7":ne.REL,"\u22f8":ne.REL,"\u22f9":ne.REL,"\u22fa":ne.REL,"\u22fb":ne.REL,"\u22fc":ne.REL,"\u22fd":ne.REL,"\u22fe":ne.REL,"\u22ff":ne.REL,"\u2305":ne.BIN3,"\u2306":ne.BIN3,"\u2322":ne.REL4,"\u2323":ne.REL4,"\u2329":ne.OPEN,"\u232a":ne.CLOSE,"\u23aa":ne.ORD,"\u23af":[0,0,Ht.ORD,{stretchy:!0}],"\u23b0":ne.OPEN,"\u23b1":ne.CLOSE,"\u2500":ne.ORD,"\u25b3":ne.BIN4,"\u25b5":ne.BIN4,"\u25b9":ne.BIN4,"\u25bd":ne.BIN4,"\u25bf":ne.BIN4,"\u25c3":ne.BIN4,"\u25ef":ne.BIN3,"\u2660":ne.ORD,"\u2661":ne.ORD,"\u2662":ne.ORD,"\u2663":ne.ORD,"\u2758":ne.REL,"\u27f0":ne.RELSTRETCH,"\u27f1":ne.RELSTRETCH,"\u27f5":ne.WIDEREL,"\u27f6":ne.WIDEREL,"\u27f7":ne.WIDEREL,"\u27f8":ne.WIDEREL,"\u27f9":ne.WIDEREL,"\u27fa":ne.WIDEREL,"\u27fb":ne.WIDEREL,"\u27fc":ne.WIDEREL,"\u27fd":ne.WIDEREL,"\u27fe":ne.WIDEREL,"\u27ff":ne.WIDEREL,"\u2900":ne.RELACCENT,"\u2901":ne.RELACCENT,"\u2902":ne.RELACCENT,"\u2903":ne.RELACCENT,"\u2904":ne.RELACCENT,"\u2905":ne.RELACCENT,"\u2906":ne.RELACCENT,"\u2907":ne.RELACCENT,"\u2908":ne.REL,"\u2909":ne.REL,"\u290a":ne.RELSTRETCH,"\u290b":ne.RELSTRETCH,"\u290c":ne.WIDEREL,"\u290d":ne.WIDEREL,"\u290e":ne.WIDEREL,"\u290f":ne.WIDEREL,"\u2910":ne.WIDEREL,"\u2911":ne.RELACCENT,"\u2912":ne.RELSTRETCH,"\u2913":ne.RELSTRETCH,"\u2914":ne.RELACCENT,"\u2915":ne.RELACCENT,"\u2916":ne.RELACCENT,"\u2917":ne.RELACCENT,"\u2918":ne.RELACCENT,"\u2919":ne.RELACCENT,"\u291a":ne.RELACCENT,"\u291b":ne.RELACCENT,"\u291c":ne.RELACCENT,"\u291d":ne.RELACCENT,"\u291e":ne.RELACCENT,"\u291f":ne.RELACCENT,"\u2920":ne.RELACCENT,"\u2921":ne.RELSTRETCH,"\u2922":ne.RELSTRETCH,"\u2923":ne.REL,"\u2924":ne.REL,"\u2925":ne.REL,"\u2926":ne.REL,"\u2927":ne.REL,"\u2928":ne.REL,"\u2929":ne.REL,"\u292a":ne.REL,"\u292b":ne.REL,"\u292c":ne.REL,"\u292d":ne.REL,"\u292e":ne.REL,"\u292f":ne.REL,"\u2930":ne.REL,"\u2931":ne.REL,"\u2932":ne.REL,"\u2933":ne.RELACCENT,"\u2934":ne.REL,"\u2935":ne.REL,"\u2936":ne.REL,"\u2937":ne.REL,"\u2938":ne.REL,"\u2939":ne.REL,"\u293a":ne.RELACCENT,"\u293b":ne.RELACCENT,"\u293c":ne.RELACCENT,"\u293d":ne.RELACCENT,"\u293e":ne.REL,"\u293f":ne.REL,"\u2940":ne.REL,"\u2941":ne.REL,"\u2942":ne.RELACCENT,"\u2943":ne.RELACCENT,"\u2944":ne.RELACCENT,"\u2945":ne.RELACCENT,"\u2946":ne.RELACCENT,"\u2947":ne.RELACCENT,"\u2948":ne.RELACCENT,"\u2949":ne.REL,"\u294a":ne.RELACCENT,"\u294b":ne.RELACCENT,"\u294c":ne.REL,"\u294d":ne.REL,"\u294e":ne.WIDEREL,"\u294f":ne.RELSTRETCH,"\u2950":ne.WIDEREL,"\u2951":ne.RELSTRETCH,"\u2952":ne.WIDEREL,"\u2953":ne.WIDEREL,"\u2954":ne.RELSTRETCH,"\u2955":ne.RELSTRETCH,"\u2956":ne.RELSTRETCH,"\u2957":ne.RELSTRETCH,"\u2958":ne.RELSTRETCH,"\u2959":ne.RELSTRETCH,"\u295a":ne.WIDEREL,"\u295b":ne.WIDEREL,"\u295c":ne.RELSTRETCH,"\u295d":ne.RELSTRETCH,"\u295e":ne.WIDEREL,"\u295f":ne.WIDEREL,"\u2960":ne.RELSTRETCH,"\u2961":ne.RELSTRETCH,"\u2962":ne.RELACCENT,"\u2963":ne.REL,"\u2964":ne.RELACCENT,"\u2965":ne.REL,"\u2966":ne.RELACCENT,"\u2967":ne.RELACCENT,"\u2968":ne.RELACCENT,"\u2969":ne.RELACCENT,"\u296a":ne.RELACCENT,"\u296b":ne.RELACCENT,"\u296c":ne.RELACCENT,"\u296d":ne.RELACCENT,"\u296e":ne.RELSTRETCH,"\u296f":ne.RELSTRETCH,"\u2970":ne.RELACCENT,"\u2971":ne.RELACCENT,"\u2972":ne.RELACCENT,"\u2973":ne.RELACCENT,"\u2974":ne.RELACCENT,"\u2975":ne.RELACCENT,"\u2976":ne.RELACCENT,"\u2977":ne.RELACCENT,"\u2978":ne.RELACCENT,"\u2979":ne.RELACCENT,"\u297a":ne.RELACCENT,"\u297b":ne.RELACCENT,"\u297c":ne.RELACCENT,"\u297d":ne.RELACCENT,"\u297e":ne.REL,"\u297f":ne.REL,"\u2981":ne.BIN3,"\u2982":ne.BIN3,"\u2999":ne.BIN3,"\u299a":ne.BIN3,"\u299b":ne.BIN3,"\u299c":ne.BIN3,"\u299d":ne.BIN3,"\u299e":ne.BIN3,"\u299f":ne.BIN3,"\u29a0":ne.BIN3,"\u29a1":ne.BIN3,"\u29a2":ne.BIN3,"\u29a3":ne.BIN3,"\u29a4":ne.BIN3,"\u29a5":ne.BIN3,"\u29a6":ne.BIN3,"\u29a7":ne.BIN3,"\u29a8":ne.BIN3,"\u29a9":ne.BIN3,"\u29aa":ne.BIN3,"\u29ab":ne.BIN3,"\u29ac":ne.BIN3,"\u29ad":ne.BIN3,"\u29ae":ne.BIN3,"\u29af":ne.BIN3,"\u29b0":ne.BIN3,"\u29b1":ne.BIN3,"\u29b2":ne.BIN3,"\u29b3":ne.BIN3,"\u29b4":ne.BIN3,"\u29b5":ne.BIN3,"\u29b6":ne.BIN4,"\u29b7":ne.BIN4,"\u29b8":ne.BIN4,"\u29b9":ne.BIN4,"\u29ba":ne.BIN4,"\u29bb":ne.BIN4,"\u29bc":ne.BIN4,"\u29bd":ne.BIN4,"\u29be":ne.BIN4,"\u29bf":ne.BIN4,"\u29c0":ne.REL,"\u29c1":ne.REL,"\u29c2":ne.BIN3,"\u29c3":ne.BIN3,"\u29c4":ne.BIN4,"\u29c5":ne.BIN4,"\u29c6":ne.BIN4,"\u29c7":ne.BIN4,"\u29c8":ne.BIN4,"\u29c9":ne.BIN3,"\u29ca":ne.BIN3,"\u29cb":ne.BIN3,"\u29cc":ne.BIN3,"\u29cd":ne.BIN3,"\u29ce":ne.REL,"\u29cf":ne.REL,"\u29cf\u0338":ne.REL,"\u29d0":ne.REL,"\u29d0\u0338":ne.REL,"\u29d1":ne.REL,"\u29d2":ne.REL,"\u29d3":ne.REL,"\u29d4":ne.REL,"\u29d5":ne.REL,"\u29d6":ne.BIN4,"\u29d7":ne.BIN4,"\u29d8":ne.BIN3,"\u29d9":ne.BIN3,"\u29db":ne.BIN3,"\u29dc":ne.BIN3,"\u29dd":ne.BIN3,"\u29de":ne.REL,"\u29df":ne.BIN3,"\u29e0":ne.BIN3,"\u29e1":ne.REL,"\u29e2":ne.BIN4,"\u29e3":ne.REL,"\u29e4":ne.REL,"\u29e5":ne.REL,"\u29e6":ne.REL,"\u29e7":ne.BIN3,"\u29e8":ne.BIN3,"\u29e9":ne.BIN3,"\u29ea":ne.BIN3,"\u29eb":ne.BIN3,"\u29ec":ne.BIN3,"\u29ed":ne.BIN3,"\u29ee":ne.BIN3,"\u29ef":ne.BIN3,"\u29f0":ne.BIN3,"\u29f1":ne.BIN3,"\u29f2":ne.BIN3,"\u29f3":ne.BIN3,"\u29f4":ne.REL,"\u29f5":ne.BIN4,"\u29f6":ne.BIN4,"\u29f7":ne.BIN4,"\u29f8":ne.BIN3,"\u29f9":ne.BIN3,"\u29fa":ne.BIN3,"\u29fb":ne.BIN3,"\u29fe":ne.BIN4,"\u29ff":ne.BIN4,"\u2a1d":ne.BIN3,"\u2a1e":ne.BIN3,"\u2a1f":ne.BIN3,"\u2a20":ne.BIN3,"\u2a21":ne.BIN3,"\u2a22":ne.BIN4,"\u2a23":ne.BIN4,"\u2a24":ne.BIN4,"\u2a25":ne.BIN4,"\u2a26":ne.BIN4,"\u2a27":ne.BIN4,"\u2a28":ne.BIN4,"\u2a29":ne.BIN4,"\u2a2a":ne.BIN4,"\u2a2b":ne.BIN4,"\u2a2c":ne.BIN4,"\u2a2d":ne.BIN4,"\u2a2e":ne.BIN4,"\u2a2f":ne.BIN4,"\u2a30":ne.BIN4,"\u2a31":ne.BIN4,"\u2a32":ne.BIN4,"\u2a33":ne.BIN4,"\u2a34":ne.BIN4,"\u2a35":ne.BIN4,"\u2a36":ne.BIN4,"\u2a37":ne.BIN4,"\u2a38":ne.BIN4,"\u2a39":ne.BIN4,"\u2a3a":ne.BIN4,"\u2a3b":ne.BIN4,"\u2a3c":ne.BIN4,"\u2a3d":ne.BIN4,"\u2a3e":ne.BIN4,"\u2a3f":ne.BIN4,"\u2a40":ne.BIN4,"\u2a41":ne.BIN4,"\u2a42":ne.BIN4,"\u2a43":ne.BIN4,"\u2a44":ne.BIN4,"\u2a45":ne.BIN4,"\u2a46":ne.BIN4,"\u2a47":ne.BIN4,"\u2a48":ne.BIN4,"\u2a49":ne.BIN4,"\u2a4a":ne.BIN4,"\u2a4b":ne.BIN4,"\u2a4c":ne.BIN4,"\u2a4d":ne.BIN4,"\u2a4e":ne.BIN4,"\u2a4f":ne.BIN4,"\u2a50":ne.BIN4,"\u2a51":ne.BIN4,"\u2a52":ne.BIN4,"\u2a53":ne.BIN4,"\u2a54":ne.BIN4,"\u2a55":ne.BIN4,"\u2a56":ne.BIN4,"\u2a57":ne.BIN4,"\u2a58":ne.BIN4,"\u2a59":ne.REL,"\u2a5a":ne.BIN4,"\u2a5b":ne.BIN4,"\u2a5c":ne.BIN4,"\u2a5d":ne.BIN4,"\u2a5e":ne.BIN4,"\u2a5f":ne.BIN4,"\u2a60":ne.BIN4,"\u2a61":ne.BIN4,"\u2a62":ne.BIN4,"\u2a63":ne.BIN4,"\u2a64":ne.BIN4,"\u2a65":ne.BIN4,"\u2a66":ne.REL,"\u2a67":ne.REL,"\u2a68":ne.REL,"\u2a69":ne.REL,"\u2a6a":ne.REL,"\u2a6b":ne.REL,"\u2a6c":ne.REL,"\u2a6d":ne.REL,"\u2a6e":ne.REL,"\u2a6f":ne.REL,"\u2a70":ne.REL,"\u2a71":ne.BIN4,"\u2a72":ne.BIN4,"\u2a73":ne.REL,"\u2a74":ne.REL,"\u2a75":ne.REL,"\u2a76":ne.REL,"\u2a77":ne.REL,"\u2a78":ne.REL,"\u2a79":ne.REL,"\u2a7a":ne.REL,"\u2a7b":ne.REL,"\u2a7c":ne.REL,"\u2a7d":ne.REL,"\u2a7d\u0338":ne.REL,"\u2a7e":ne.REL,"\u2a7e\u0338":ne.REL,"\u2a7f":ne.REL,"\u2a80":ne.REL,"\u2a81":ne.REL,"\u2a82":ne.REL,"\u2a83":ne.REL,"\u2a84":ne.REL,"\u2a85":ne.REL,"\u2a86":ne.REL,"\u2a87":ne.REL,"\u2a88":ne.REL,"\u2a89":ne.REL,"\u2a8a":ne.REL,"\u2a8b":ne.REL,"\u2a8c":ne.REL,"\u2a8d":ne.REL,"\u2a8e":ne.REL,"\u2a8f":ne.REL,"\u2a90":ne.REL,"\u2a91":ne.REL,"\u2a92":ne.REL,"\u2a93":ne.REL,"\u2a94":ne.REL,"\u2a95":ne.REL,"\u2a96":ne.REL,"\u2a97":ne.REL,"\u2a98":ne.REL,"\u2a99":ne.REL,"\u2a9a":ne.REL,"\u2a9b":ne.REL,"\u2a9c":ne.REL,"\u2a9d":ne.REL,"\u2a9e":ne.REL,"\u2a9f":ne.REL,"\u2aa0":ne.REL,"\u2aa1":ne.REL,"\u2aa1\u0338":ne.REL,"\u2aa2":ne.REL,"\u2aa2\u0338":ne.REL,"\u2aa3":ne.REL,"\u2aa4":ne.REL,"\u2aa5":ne.REL,"\u2aa6":ne.REL,"\u2aa7":ne.REL,"\u2aa8":ne.REL,"\u2aa9":ne.REL,"\u2aaa":ne.REL,"\u2aab":ne.REL,"\u2aac":ne.REL,"\u2aad":ne.REL,"\u2aae":ne.REL,"\u2aaf":ne.REL,"\u2aaf\u0338":ne.REL,"\u2ab0":ne.REL,"\u2ab0\u0338":ne.REL,"\u2ab1":ne.REL,"\u2ab2":ne.REL,"\u2ab3":ne.REL,"\u2ab4":ne.REL,"\u2ab5":ne.REL,"\u2ab6":ne.REL,"\u2ab7":ne.REL,"\u2ab8":ne.REL,"\u2ab9":ne.REL,"\u2aba":ne.REL,"\u2abb":ne.REL,"\u2abc":ne.REL,"\u2abd":ne.REL,"\u2abe":ne.REL,"\u2abf":ne.REL,"\u2ac0":ne.REL,"\u2ac1":ne.REL,"\u2ac2":ne.REL,"\u2ac3":ne.REL,"\u2ac4":ne.REL,"\u2ac5":ne.REL,"\u2ac6":ne.REL,"\u2ac7":ne.REL,"\u2ac8":ne.REL,"\u2ac9":ne.REL,"\u2aca":ne.REL,"\u2acb":ne.REL,"\u2acc":ne.REL,"\u2acd":ne.REL,"\u2ace":ne.REL,"\u2acf":ne.REL,"\u2ad0":ne.REL,"\u2ad1":ne.REL,"\u2ad2":ne.REL,"\u2ad3":ne.REL,"\u2ad4":ne.REL,"\u2ad5":ne.REL,"\u2ad6":ne.REL,"\u2ad7":ne.REL,"\u2ad8":ne.REL,"\u2ad9":ne.REL,"\u2ada":ne.REL,"\u2adb":ne.REL,"\u2add":ne.REL,"\u2add\u0338":ne.REL,"\u2ade":ne.REL,"\u2adf":ne.REL,"\u2ae0":ne.REL,"\u2ae1":ne.REL,"\u2ae2":ne.REL,"\u2ae3":ne.REL,"\u2ae4":ne.REL,"\u2ae5":ne.REL,"\u2ae6":ne.REL,"\u2ae7":ne.REL,"\u2ae8":ne.REL,"\u2ae9":ne.REL,"\u2aea":ne.REL,"\u2aeb":ne.REL,"\u2aec":ne.REL,"\u2aed":ne.REL,"\u2aee":ne.REL,"\u2aef":ne.REL,"\u2af0":ne.REL,"\u2af1":ne.REL,"\u2af2":ne.REL,"\u2af3":ne.REL,"\u2af4":ne.BIN4,"\u2af5":ne.BIN4,"\u2af6":ne.BIN4,"\u2af7":ne.REL,"\u2af8":ne.REL,"\u2af9":ne.REL,"\u2afa":ne.REL,"\u2afb":ne.BIN4,"\u2afd":ne.BIN4,"\u2afe":ne.BIN3,"\u2b45":ne.RELSTRETCH,"\u2b46":ne.RELSTRETCH,"\u3008":ne.OPEN,"\u3009":ne.CLOSE,"\ufe37":ne.WIDEACCENT,"\ufe38":ne.WIDEACCENT}};function he(t,e){return t.length!==e.length?e.length-t.length:t===e?0:t<e?-1:1}function de(t){return t.replace(/([\^$(){}.+*?\-|[\]:\\])/g,"\\$1")}function ue(t){return Array.from(t).map((t=>t.codePointAt(0)))}function pe(t){return String.fromCodePoint(...t)}function me(t){return!!t.match(/%\s*$/)}function Ee(t){return t.trim().split(/\s+/)}function fe(t){return t.replace(/\\U(?:([0-9A-Fa-f]{4})|\{\s*([0-9A-Fa-f]{1,6})\s*\})|\\./g,((t,e,s)=>"\\\\"===t?"\\":String.fromCodePoint(parseInt(e||s,16))))}function ge(t){return`&#x${t.codePointAt(0).toString(16).toUpperCase()};`}ce.infix["^"]=ne.WIDEREL,ce.infix._=ne.WIDEREL,ce.infix["\u2adc"]=ne.REL;class Re extends Kt{constructor(){super(...arguments),this._texClass=null,this.lspace=5/18,this.rspace=5/18}get texClass(){return null===this._texClass?this.getOperatorDef(this.getText())[2]:this._texClass}set texClass(t){this._texClass=t}get kind(){return"mo"}get isEmbellished(){return!0}coreParent(){let t=null,e=this;const s=this.factory.getNodeClass("math");for(;e&&e.isEmbellished&&e.coreMO()===this&&!(e instanceof s);)t=e,e=e.parent;return t||this}coreText(t){if(!t)return"";if(t.isEmbellished)return t.coreMO().getText();for(;((t.isKind("mrow")||t.isKind("TeXAtom")||t.isKind("mstyle")||t.isKind("mphantom"))&&1===t.childNodes.length||t.isKind("munderover"))&&t.childNodes[0];)t=t.childNodes[0];return t.isToken?t.getText():""}hasSpacingAttributes(){return this.attributes.isSet("lspace")||this.attributes.isSet("rspace")}get isAccent(){let t=!1;const e=this.coreParent().parent;if(e){const s=e.isKind("mover")?e.childNodes[e.over].coreMO()?"accent":"":e.isKind("munder")?e.childNodes[e.under].coreMO()?"accentunder":"":e.isKind("munderover")?this===e.childNodes[e.over].coreMO()?"accent":this===e.childNodes[e.under].coreMO()?"accentunder":"":"";if(s){t=void 0!==e.attributes.getExplicit(s)?t:this.attributes.get("accent")}}return t}setTeXclass(t){const{form:e,fence:s}=this.attributes.getList("form","fence");return void 0===this.getProperty("texClass")&&this.hasSpacingAttributes()?null:(s&&this.texClass===Ht.REL&&("prefix"===e&&(this.texClass=Ht.OPEN),"postfix"===e&&(this.texClass=Ht.CLOSE)),this.adjustTeXclass(t))}adjustTeXclass(t){const e=this.texClass;let s=this.prevClass;if(e===Ht.NONE)return t;if(t?(!t.getProperty("autoOP")||e!==Ht.BIN&&e!==Ht.REL||(s=t.texClass=Ht.ORD),s=this.prevClass=t.texClass||Ht.ORD,this.prevLevel=this.attributes.getInherited("scriptlevel")):s=this.prevClass=Ht.NONE,e!==Ht.BIN||s!==Ht.NONE&&s!==Ht.BIN&&s!==Ht.OP&&s!==Ht.REL&&s!==Ht.OPEN&&s!==Ht.PUNCT)if(s!==Ht.BIN||e!==Ht.REL&&e!==Ht.CLOSE&&e!==Ht.PUNCT){if(e===Ht.BIN){let t=null,e=this.parent;for(;e&&e.parent&&e.isEmbellished&&(1===e.childNodes.length||!e.isKind("mrow")&&e.core()===t);)t=e,e=e.parent;t=t||this,e.childNodes[e.childNodes.length-1]===t&&(this.texClass=Ht.ORD)}}else t.texClass=this.prevClass=Ht.ORD;else this.texClass=Ht.ORD;return this}setInheritedAttributes(t={},e=!1,s=0,i=!1){super.setInheritedAttributes(t,e,s,i);const r=this.getText();this.checkOperatorTable(r),this.checkPseudoScripts(r),this.checkPrimes(r),this.checkMathAccent(r)}getOperatorDef(t){const[e,s,i]=this.handleExplicitForm(this.getForms());this.attributes.setInherited("form",e);const r=this.constructor,n=r.OPTABLE,a=n[e][t]||n[s][t]||n[i][t];if(a)return a;this.setProperty("noDictDef",!0);const o=this.attributes.get("movablelimits");if((!!t.match(r.opPattern)||o)&&void 0===this.getProperty("texClass"))return re(1,2,Ht.OP);const l=oe(t),[c,h]=r.MMLSPACING[l[2]];return re(c,h,l[2])}checkOperatorTable(t){const e=this.getOperatorDef(t);void 0===this.getProperty("texClass")&&(this.texClass=e[2]);for(const t of Object.keys(e[3]||{}))this.attributes.setInherited(t,e[3][t]);this.lspace=((e[0]||-1)+1)/18,this.rspace=((e[1]||-1)+1)/18}getForms(){let t=null,e=this.parent,s=this.Parent;for(;s&&s.isEmbellished;)t=e,e=s.parent,s=s.Parent;if(t=t||this,e&&e.isKind("mrow")&&1!==e.nonSpaceLength()){if(e.firstNonSpace()===t)return["prefix","infix","postfix"];if(e.lastNonSpace()===t)return["postfix","infix","prefix"]}return["infix","prefix","postfix"]}handleExplicitForm(t){if(this.attributes.isSet("form")){const e=this.attributes.get("form");t=[e].concat(t.filter((t=>t!==e)))}return t}checkPseudoScripts(t){const e=this.constructor.pseudoScripts;if(!t.match(e))return;const s=this.coreParent().Parent,i=!s||!(s.isKind("msubsup")&&!s.isKind("msub"));this.setProperty("pseudoscript",i),i&&(this.attributes.setInherited("lspace",0),this.attributes.setInherited("rspace",0))}checkPrimes(t){const e=this.constructor.primes;if(!t.match(e))return;const s=this.constructor.remapPrimes,i=pe(ue(t).map((t=>s[t])));this.setProperty("primes",i)}checkMathAccent(t){const e=this.Parent;if(void 0!==this.getProperty("mathaccent")||!e||!e.isKind("munderover"))return;const[s,i,r]=e.childNodes;if(s.isEmbellished&&s.coreMO()===this)return;const n=!(!i||!i.isEmbellished||i.coreMO()!==this),a=!(!r||!r.isEmbellished||i.coreMO()!==this);(n||a)&&(this.isMathAccent(t)?this.setProperty("mathaccent",!0):this.isMathAccentWithWidth(t)&&this.setProperty("mathaccent",!1))}isMathAccent(t=this.getText()){const e=this.constructor.mathaccents;return!!t.match(e)}isMathAccentWithWidth(t=this.getText()){const e=this.constructor.mathaccentsWithWidth;return!!t.match(e)}}Re.defaults=Object.assign(Object.assign({},Kt.defaults),{form:"infix",fence:!1,separator:!1,lspace:"thickmathspace",rspace:"thickmathspace",stretchy:!1,symmetric:!1,maxsize:"infinity",minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:"auto",lineleading:"100%",linebreakstyle:"before",indentalign:"auto",indentshift:"0",indenttarget:"",indentalignfirst:"indentalign",indentshiftfirst:"indentshift",indentalignlast:"indentalign",indentshiftlast:"indentshift"}),Re.MMLSPACING=le,Re.OPTABLE=ce,Re.pseudoScripts=new RegExp(["^[\"'*`","\xaa","\xb0","\xb2-\xb4","\xb9","\xba","\u2018-\u201f","\u2032-\u2037\u2057","\u2070\u2071","\u2074-\u207f","\u2080-\u208e","]+$"].join("")),Re.primes=new RegExp(["^[\"'","\u2018-\u201f","]+$"].join("")),Re.opPattern=/^[a-zA-Z]{2,}$/,Re.remapPrimes={34:8243,39:8242,8216:8245,8217:8242,8218:8242,8219:8245,8220:8246,8221:8243,8222:8243,8223:8246},Re.mathaccents=new RegExp(["^[","\xb4\u0301\u02ca","`\u0300\u02cb","\xa8\u0308","~\u0303\u02dc","\xaf\u0304\u02c9","\u02d8\u0306","\u02c7\u030c","^\u0302\u02c6","\u20d0\u20d1","\u20d6\u20d7\u20e1","\u02d9\u0307","\u02da\u030a","\u20db","\u20dc","]$"].join("")),Re.mathaccentsWithWidth=new RegExp(["^[","\u2190\u2192\u2194","\u23dc\u23dd","\u23de\u23df","]$"].join(""));class Le extends Kt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"mtext"}get isSpacelike(){return!!this.getText().match(/^\s*$/)&&!this.attributes.hasOneOf(Le.NONSPACELIKE)}}Le.NONSPACELIKE=["style","mathbackground","background"],Le.defaults=Object.assign({},Kt.defaults);class xe extends Kt{constructor(){super(...arguments),this.texclass=Ht.NONE}setTeXclass(t){return t}get kind(){return"mspace"}get arity(){return 0}get isSpacelike(){return!this.attributes.hasExplicit("linebreak")&&this.canBreak}get hasNewline(){const t=this.attributes.get("linebreak");return this.canBreak&&("newline"===t||"indentingnewline"===t)}get canBreak(){return!this.attributes.hasOneOf(xe.NONSPACELIKE)&&"-"!==String(this.attributes.get("width")).trim().charAt(0)}}xe.NONSPACELIKE=["height","depth","style","mathbackground","background"],xe.defaults=Object.assign(Object.assign({},Kt.defaults),{width:"0em",height:"0ex",depth:"0ex",linebreak:"auto",indentshift:"auto",indentalign:"auto",indenttarget:"",indentalignfirst:"indentalign",indentshiftfirst:"indentshift",indentalignlast:"indentalign",indentshiftlast:"indentshift"});class Ne extends Kt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"ms"}}Ne.defaults=Object.assign(Object.assign({},Kt.defaults),{lquote:'"',rquote:'"'});class be extends Gt{constructor(){super(...arguments),this._core=null}get kind(){return"mrow"}get isSpacelike(){for(const t of this.childNodes)if(!t.isSpacelike)return!1;return!0}get isEmbellished(){let t=!1,e=0;for(const s of this.childNodes){if(s)if(s.isEmbellished){if(t)return!1;t=!0,this._core=e}else if(!s.isSpacelike)return!1;e++}return t}core(){return this.isEmbellished&&null!=this._core?this.childNodes[this._core]:this}coreMO(){return this.isEmbellished&&null!=this._core?this.childNodes[this._core].coreMO():this}nonSpaceLength(){let t=0;for(const e of this.childNodes)e&&!e.isSpacelike&&t++;return t}firstNonSpace(){for(const t of this.childNodes)if(t&&!t.isSpacelike)return t;return null}lastNonSpace(){let t=this.childNodes.length;for(;--t>=0;){const e=this.childNodes[t];if(e&&!e.isSpacelike)return e}return null}setTeXclass(t){if(null!=this.getProperty("open")||null!=this.getProperty("close")){this.getPrevClass(t),t=null;for(const e of this.childNodes)t=e.setTeXclass(t);return null==this.texClass&&(this.texClass=Ht.INNER),this}for(const e of this.childNodes)t=e.setTeXclass(t);return this.childNodes[0]&&this.updateTeXclass(this.childNodes[0]),t}}be.defaults=Object.assign({},Gt.defaults);class ye extends be{get kind(){return"inferredMrow"}get isInferred(){return!0}get notParent(){return!0}toString(){return"["+this.childNodes.join(",")+"]"}}ye.defaults=be.defaults;class Ce extends Yt{get kind(){return"mfrac"}get arity(){return 2}get linebreakContainer(){return!0}get linebreakAlign(){return""}setTeXclass(t){this.getPrevClass(t);for(const t of this.childNodes)t.setTeXclass(null);return this}setChildInheritedAttributes(t,e,s,i){(!e||s>0)&&s++;const r=this.attributes.get("numalign"),n=this.attributes.get("denomalign"),a=this.addInheritedAttributes(Object.assign({},t),{numalign:r,indentshift:"0",indentalignfirst:r,indentshiftfirst:"0",indentalignlast:"indentalign",indentshiftlast:"indentshift"}),o=this.addInheritedAttributes(Object.assign({},t),{denalign:n,indentshift:"0",indentalignfirst:n,indentshiftfirst:"0",indentalignlast:"indentalign",indentshiftlast:"indentshift"});this.childNodes[0].setInheritedAttributes(a,!1,s,i),this.childNodes[1].setInheritedAttributes(o,!1,s,!0)}}Ce.defaults=Object.assign(Object.assign({},Yt.defaults),{linethickness:"medium",numalign:"center",denomalign:"center",bevelled:!1});class Ie extends Gt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"msqrt"}get arity(){return-1}get linebreakContainer(){return!0}setTeXclass(t){return this.getPrevClass(t),this.childNodes[0].setTeXclass(null),this}setChildInheritedAttributes(t,e,s,i){this.childNodes[0].setInheritedAttributes(t,e,s,!0)}}Ie.defaults=Object.assign(Object.assign({},Gt.defaults),{"data-vertical-align":"bottom"});class Oe extends Gt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"mroot"}get arity(){return 2}get linebreakContainer(){return!0}setTeXclass(t){return this.getPrevClass(t),this.childNodes[0].setTeXclass(null),this.childNodes[1].setTeXclass(null),this}setChildInheritedAttributes(t,e,s,i){this.childNodes[0].setInheritedAttributes(t,e,s,!0),this.childNodes[1].setInheritedAttributes(t,!1,s+2,i)}}Oe.defaults=Object.assign(Object.assign({},Gt.defaults),{"data-vertical-align":"bottom"});class Te extends Vt{get kind(){return"mstyle"}get notParent(){return this.childNodes[0]&&1===this.childNodes[0].childNodes.length}setInheritedAttributes(t={},e=!1,s=0,i=!1){this.attributes.setInherited("displaystyle",e),this.attributes.setInherited("scriptlevel",s),super.setInheritedAttributes(t,e,s,i)}setChildInheritedAttributes(t,e,s,i){let r=this.attributes.getExplicit("scriptlevel");null!=r&&(r=r.toString(),r.match(/^\s*[-+]/)?s+=parseInt(r):s=parseInt(r),i=!1);const n=this.attributes.getExplicit("displaystyle");null!=n&&(e=!0===n,i=!1);const a=this.attributes.getExplicit("data-cramped");null!=a&&(i=a),t=this.addInheritedAttributes(t,this.attributes.getAllAttributes()),this.childNodes[0].setInheritedAttributes(t,e,s,i)}}Te.defaults=Object.assign(Object.assign({},Vt.defaults),{scriptlevel:jt,displaystyle:jt,scriptsizemultiplier:1/Math.sqrt(2),scriptminsize:".4em",mathbackground:jt,mathcolor:jt,dir:jt,infixlinebreakstyle:"before"});class ve extends Gt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"merror"}get arity(){return-1}get linebreakContainer(){return!0}}ve.defaults=Object.assign({},Gt.defaults);class Ae extends Vt{get kind(){return"mpadded"}get linebreakContainer(){return!0}setTeXclass(t){return this.getProperty("vbox")?(this.getPrevClass(t),this.texClass=Ht.ORD,this.childNodes[0].setTeXclass(null),this):super.setTeXclass(t)}}Ae.defaults=Object.assign(Object.assign({},Vt.defaults),{width:"",height:"",depth:"",lspace:0,voffset:0});class Me extends Vt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"mphantom"}}Me.defaults=Object.assign({},Vt.defaults);class De extends Gt{constructor(){super(...arguments),this.texclass=Ht.INNER,this.separators=[],this.open=null,this.close=null}get kind(){return"mfenced"}setTeXclass(t){this.getPrevClass(t),this.open&&(t=this.open.setTeXclass(t)),this.childNodes[0]&&(t=this.childNodes[0].setTeXclass(t));for(let e=1,s=this.childNodes.length;e<s;e++)this.separators[e-1]&&(t=this.separators[e-1].setTeXclass(t)),this.childNodes[e]&&(t=this.childNodes[e].setTeXclass(t));return this.close&&(t=this.close.setTeXclass(t)),this.updateTeXclass(this.open),t}setChildInheritedAttributes(t,e,s,i){this.addFakeNodes();for(const r of[this.open,this.close].concat(this.separators))r&&r.setInheritedAttributes(t,e,s,i);super.setChildInheritedAttributes(t,e,s,i)}addFakeNodes(){let{open:t,close:e,separators:s}=this.attributes.getList("open","close","separators");if(t=t.replace(/[ \t\n\r]/g,""),e=e.replace(/[ \t\n\r]/g,""),s=s.replace(/[ \t\n\r]/g,""),t&&(this.open=this.fakeNode(t,{fence:!0,form:"prefix"},Ht.OPEN)),s){for(;s.length<this.childNodes.length-1;)s+=s.charAt(s.length-1);let t=0;for(const e of this.childNodes.slice(1))e&&this.separators.push(this.fakeNode(s.charAt(t++)))}e&&(this.close=this.fakeNode(e,{fence:!0,form:"postfix"},Ht.CLOSE))}fakeNode(t,e={},s=null){const i=this.factory.create("text").setText(t),r=this.factory.create("mo",e,[i]);return r.texClass=s,r.parent=this,r}}De.defaults=Object.assign(Object.assign({},Gt.defaults),{open:"(",close:")",separators:","});class ke extends Gt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"menclose"}get arity(){return-1}get linebreakContainer(){return!0}setTeXclass(t){return t=this.childNodes[0].setTeXclass(t),this.updateTeXclass(this.childNodes[0]),t}}ke.defaults=Object.assign(Object.assign({},Gt.defaults),{notation:"longdiv"});class we extends Gt{get kind(){return"maction"}get arity(){return 1}get selected(){const t=this.attributes.get("selection"),e=Math.max(1,Math.min(this.childNodes.length,t))-1;return this.childNodes[e]||this.factory.create("mrow")}get isEmbellished(){return this.selected.isEmbellished}get isSpacelike(){return this.selected.isSpacelike}core(){return this.selected.core()}coreMO(){return this.selected.coreMO()}verifyAttributes(t){super.verifyAttributes(t),"toggle"!==this.attributes.get("actiontype")&&this.attributes.hasExplicit("selection")&&this.attributes.unset("selection")}setTeXclass(t){"tooltip"===this.attributes.get("actiontype")&&this.childNodes[1]&&this.childNodes[1].setTeXclass(null);const e=this.selected;return t=e.setTeXclass(t),this.updateTeXclass(e),t}nextToggleSelection(){let t=Math.max(1,parseInt(this.attributes.get("selection"))+1);t>this.childNodes.length&&(t=1),this.attributes.set("selection",t)}setChildInheritedAttributes(t,e,s,i){var r,n;"tooltip"===this.attributes.get("actiontype").toLowerCase()?(null===(r=this.childNodes[0])||void 0===r||r.setInheritedAttributes(t,e,s,i),null===(n=this.childNodes[1])||void 0===n||n.setInheritedAttributes(t,!1,1,!1)):super.setChildInheritedAttributes(t,e,s,i)}}we.defaults=Object.assign(Object.assign({},Gt.defaults),{actiontype:"toggle",selection:1});class Se extends Yt{get kind(){return"msubsup"}get arity(){return 3}get base(){return 0}get sub(){return 1}get sup(){return 2}setChildInheritedAttributes(t,e,s,i){const r=this.childNodes;r[0].setInheritedAttributes(t,e,s,i),r[1].setInheritedAttributes(t,!1,s+1,i||1===this.sub),r[2]&&r[2].setInheritedAttributes(t,!1,s+1,i||2===this.sub)}}Se.defaults=Object.assign(Object.assign({},Yt.defaults),{subscriptshift:"",superscriptshift:""});class _e extends Se{get kind(){return"msub"}get arity(){return 2}}_e.defaults=Object.assign({},Se.defaults);class Pe extends Se{get kind(){return"msup"}get arity(){return 2}get sup(){return 1}get sub(){return 2}}Pe.defaults=Object.assign({},Se.defaults);class Be extends Yt{get kind(){return"munderover"}get arity(){return 3}get base(){return 0}get under(){return 1}get over(){return 2}get linebreakContainer(){return!0}setChildInheritedAttributes(t,e,s,i){const r=this.childNodes;r[0].setInheritedAttributes(t,e,s,i||!!r[this.over]);const n=!(e||!r[0].coreMO().attributes.get("movablelimits")),a=this.constructor.ACCENTS;r[1].setInheritedAttributes(t,!1,this.getScriptlevel(a[1],n,s),i||1===this.under),this.setInheritedAccent(1,a[1],e,s,i,n),r[2]&&(r[2].setInheritedAttributes(t,!1,this.getScriptlevel(a[2],n,s),i||2===this.under),this.setInheritedAccent(2,a[2],e,s,i,n))}getScriptlevel(t,e,s){return!e&&this.attributes.get(t)||s++,s}setInheritedAccent(t,e,s,i,r,n){const a=this.childNodes[t];if(!this.attributes.hasExplicit(e)&&a.isEmbellished){const t=a.coreMO().attributes.get("accent");this.attributes.setInherited(e,t),t!==this.attributes.getDefault(e)&&a.setInheritedAttributes({},s,this.getScriptlevel(e,n,i),r)}}}Be.defaults=Object.assign(Object.assign({},Yt.defaults),{accent:!1,accentunder:!1,align:"center"}),Be.ACCENTS=["","accentunder","accent"];class je extends Be{get kind(){return"munder"}get arity(){return 2}}je.defaults=Object.assign({},Be.defaults);class $e extends Be{get kind(){return"mover"}get arity(){return 2}get over(){return 1}get under(){return 2}}$e.defaults=Object.assign({},Be.defaults),$e.ACCENTS=["","accent","accentunder"];class Fe extends Se{get kind(){return"mmultiscripts"}get arity(){return 1}setChildInheritedAttributes(t,e,s,i){this.childNodes[0].setInheritedAttributes(t,e,s,i);let r=!1;for(let e=1,n=0;e<this.childNodes.length;e++){const a=this.childNodes[e];if(a.isKind("mprescripts")){if(!r&&(r=!0,e%2==0)){const t=this.factory.create("none");this.childNodes.splice(e,0,t),t.parent=this,e++}}else{const e=i||n%2==0;a.setInheritedAttributes(t,!1,s+1,e),n++}}this.childNodes.length%2==(r?1:0)&&(this.appendChild(this.factory.create("none")),this.childNodes[this.childNodes.length-1].setInheritedAttributes(t,!1,s+1,i))}verifyChildren(t){let e=!1;const s=t.fixMmultiscripts;for(let i=0;i<this.childNodes.length;i++){const r=this.childNodes[i];r.isKind("mprescripts")&&(e?r.mError(r.kind+" can only appear once in "+this.kind,t,!0):(e=!0,i%2!=0||s||this.mError("There must be an equal number of prescripts of each type",t)))}this.childNodes.length%2!=(e?1:0)||s||this.mError("There must be an equal number of scripts of each type",t),super.verifyChildren(t)}}Fe.defaults=Object.assign({},Se.defaults);class We extends Gt{get kind(){return"mprescripts"}get arity(){return 0}verifyTree(t){super.verifyTree(t),this.parent&&!this.parent.isKind("mmultiscripts")&&this.mError(this.kind+" must be a child of mmultiscripts",t,!0)}}We.defaults=Object.assign({},Gt.defaults);class He extends Gt{get kind(){return"none"}get arity(){return 0}verifyTree(t){super.verifyTree(t),this.parent&&!this.parent.isKind("mmultiscripts")&&this.mError(this.kind+" must be a child of mmultiscripts",t,!0)}}He.defaults=Object.assign({},Gt.defaults);class Je extends Gt{constructor(){super(...arguments),this.properties={useHeight:!0},this.texclass=Ht.ORD}get kind(){return"mtable"}get linebreakContainer(){return!0}get linebreakAlign(){return""}setInheritedAttributes(t,e,s,i){for(const e of Ut)t[e]&&this.attributes.setInherited(e,t[e][1]),this.attributes.hasExplicit(e)&&this.attributes.unset(e);super.setInheritedAttributes(t,e,s,i)}setChildInheritedAttributes(t,e,s,i){for(const t of this.childNodes)t.isKind("mtr")||this.replaceChild(this.factory.create("mtr"),t).appendChild(t);e=!(!this.attributes.getExplicit("displaystyle")&&!this.attributes.getDefault("displaystyle")),t=this.addInheritedAttributes(t,{columnalign:this.attributes.get("columnalign"),rowalign:"center","data-break-align":this.attributes.get("data-break-align")});const r=this.attributes.getExplicit("data-cramped"),n=Ee(this.attributes.get("rowalign"));for(const i of this.childNodes)t.rowalign[1]=n.shift()||t.rowalign[1],i.setInheritedAttributes(t,e,s,!!r)}verifyChildren(t){let e=null;const s=this.factory;for(let i=0;i<this.childNodes.length;i++){const r=this.childNodes[i];if(r.isKind("mtr"))e=null;else{const n=r.isKind("mtd");if(e?(this.removeChild(r),i--):e=this.replaceChild(s.create("mtr"),r),e.appendChild(n?r:s.create("mtd",{},[r])),!t.fixMtables){r.parent.removeChild(r),r.parent=this,n&&e.appendChild(s.create("mtd"));const i=r.mError("Children of "+this.kind+" must be mtr or mlabeledtr",t,n);e.childNodes[e.childNodes.length-1].appendChild(i)}}}super.verifyChildren(t)}setTeXclass(t){this.getPrevClass(t);for(const t of this.childNodes)t.setTeXclass(null);return this}}Je.defaults=Object.assign(Object.assign({},Gt.defaults),{align:"axis",rowalign:"baseline",columnalign:"center",groupalign:"{left}",alignmentscope:!0,columnwidth:"auto",width:"auto",rowspacing:"1ex",columnspacing:".8em",rowlines:"none",columnlines:"none",frame:"none",framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:"right",minlabelspacing:"0.8em","data-break-align":"top"});class qe extends Gt{get kind(){return"mtr"}get linebreakContainer(){return!0}get linebreakAlign(){return""}setChildInheritedAttributes(t,e,s,i){for(const t of this.childNodes)t.isKind("mtd")||this.replaceChild(this.factory.create("mtd"),t).appendChild(t);const r=Ee(this.attributes.get("columnalign")),n=Ee(this.attributes.get("data-break-align"));1===this.arity&&(r.unshift(this.parent.attributes.get("side")),n.unshift("top")),t=this.addInheritedAttributes(t,{rowalign:this.attributes.get("rowalign"),columnalign:"center","data-break-align":"top"});for(const a of this.childNodes)t.columnalign[1]=r.shift()||t.columnalign[1],t["data-vertical-align"]=[this.kind,n.shift()||t["data-break-align"][1]],a.setInheritedAttributes(t,e,s,i)}verifyChildren(t){if(!this.parent||this.parent.isKind("mtable")){for(const e of this.childNodes)if(!e.isKind("mtd")){this.replaceChild(this.factory.create("mtd"),e).appendChild(e),t.fixMtables||e.mError("Children of "+this.kind+" must be mtd",t)}super.verifyChildren(t)}else this.mError(this.kind+" can only be a child of an mtable",t,!0)}setTeXclass(t){this.getPrevClass(t);for(const t of this.childNodes)t.setTeXclass(null);return this}}qe.defaults=Object.assign(Object.assign({},Gt.defaults),{rowalign:jt,columnalign:jt,groupalign:jt,"data-break-align":"top"});class ze extends qe{get kind(){return"mlabeledtr"}get arity(){return 1}}class Xe extends Yt{get kind(){return"mtd"}get arity(){return-1}get linebreakContainer(){return!0}get linebreakAlign(){return"columnalign"}verifyChildren(t){!this.parent||this.parent.isKind("mtr")?super.verifyChildren(t):this.mError(this.kind+" can only be a child of an mtr or mlabeledtr",t,!0)}setTeXclass(t){return this.getPrevClass(t),this.childNodes[0].setTeXclass(null),this}}Xe.defaults=Object.assign(Object.assign({},Yt.defaults),{rowspan:1,columnspan:1,rowalign:jt,columnalign:jt,groupalign:jt,"data-vertical-align":"top"});class Ue extends Vt{get kind(){return"maligngroup"}get isSpacelike(){return!0}setChildInheritedAttributes(t,e,s,i){t=this.addInheritedAttributes(t,this.attributes.getAllAttributes()),super.setChildInheritedAttributes(t,e,s,i)}}Ue.defaults=Object.assign(Object.assign({},Vt.defaults),{groupalign:jt});class Ge extends Gt{get kind(){return"malignmark"}get arity(){return 0}get isSpacelike(){return!0}}Ge.defaults=Object.assign(Object.assign({},Gt.defaults),{edge:"left"});class Ke extends Kt{constructor(){super(...arguments),this.texclass=Ht.ORD}get kind(){return"mglyph"}verifyAttributes(t){const{src:e,fontfamily:s,index:i}=this.attributes.getList("src","fontfamily","index");""!==e||""!==s&&""!==i?super.verifyAttributes(t):this.mError("mglyph must have either src or fontfamily and index attributes",t,!0)}}Ke.defaults=Object.assign(Object.assign({},Kt.defaults),{alt:"",src:"",index:"",width:"auto",height:"auto",valign:"0em"});class Ve extends Yt{get kind(){return"semantics"}get arity(){return 1}get notParent(){return!0}}Ve.defaults=Object.assign(Object.assign({},Yt.defaults),{definitionUrl:null,encoding:null});class Ye extends Gt{get kind(){return"annotation-xml"}setChildInheritedAttributes(){}}Ye.defaults=Object.assign(Object.assign({},Gt.defaults),{definitionUrl:null,encoding:null,cd:"mathmlkeys",name:"",src:null});class Ze extends Ye{constructor(){super(...arguments),this.properties={isChars:!0}}get kind(){return"annotation"}}Ze.defaults=Object.assign({},Ye.defaults);class Qe extends Yt{get kind(){return"TeXAtom"}get arity(){return-1}get notParent(){return!0}constructor(t,e,s){super(t,e,s),this.texclass=Ht.ORD,this.setProperty("texClass",this.texClass)}setTeXclass(t){return this.childNodes[0].setTeXclass(null),this.adjustTeXclass(t)}adjustTeXclass(t){return t}}Qe.defaults=Object.assign({},Yt.defaults),Qe.prototype.adjustTeXclass=Re.prototype.adjustTeXclass;class ts extends Yt{get kind(){return"MathChoice"}get arity(){return 4}get notParent(){return!0}setInheritedAttributes(t,e,s,i){const r=e?0:Math.max(0,Math.min(s,2))+1,n=this.childNodes[r]||this.factory.create("mrow");this.parent.replaceChild(n,this),n.setInheritedAttributes(t,e,s,i)}}ts.defaults=Object.assign({},Yt.defaults);class es extends te{get kind(){return"html"}getHTML(){return this.getXML()}setHTML(t,e=null){try{e.getAttribute(t,"data-mjx-hdw")}catch(s){t=e.node("span",{},[t])}return this.setXML(t,e)}getSerializedHTML(){return this.adaptor.outerHTML(this.xml)}textContent(){return this.adaptor.textContent(this.xml)}toString(){const t=this.adaptor.kind(this.xml);return`HTML=<${t}>...</${t}>`}verifyTree(t){!this.parent||this.parent.isToken||this.mError("HTML can only be a child of a token element",t,!0)}}const ss={[ee.prototype.kind]:ee,[se.prototype.kind]:se,[ie.prototype.kind]:ie,[Re.prototype.kind]:Re,[Le.prototype.kind]:Le,[xe.prototype.kind]:xe,[Ne.prototype.kind]:Ne,[be.prototype.kind]:be,[ye.prototype.kind]:ye,[Ce.prototype.kind]:Ce,[Ie.prototype.kind]:Ie,[Oe.prototype.kind]:Oe,[Te.prototype.kind]:Te,[ve.prototype.kind]:ve,[Ae.prototype.kind]:Ae,[Me.prototype.kind]:Me,[De.prototype.kind]:De,[ke.prototype.kind]:ke,[we.prototype.kind]:we,[_e.prototype.kind]:_e,[Pe.prototype.kind]:Pe,[Se.prototype.kind]:Se,[je.prototype.kind]:je,[$e.prototype.kind]:$e,[Be.prototype.kind]:Be,[Fe.prototype.kind]:Fe,[We.prototype.kind]:We,[He.prototype.kind]:He,[Je.prototype.kind]:Je,[ze.prototype.kind]:ze,[qe.prototype.kind]:qe,[Xe.prototype.kind]:Xe,[Ue.prototype.kind]:Ue,[Ge.prototype.kind]:Ge,[Ke.prototype.kind]:Ke,[Ve.prototype.kind]:Ve,[Ze.prototype.kind]:Ze,[Ye.prototype.kind]:Ye,[Qe.prototype.kind]:Qe,[ts.prototype.kind]:ts,[Qt.prototype.kind]:Qt,[te.prototype.kind]:te,[es.prototype.kind]:es};class is extends Bt{get MML(){return this.node}}is.defaultNodes=ss;class rs{constructor(){this.bits=0}static allocate(...t){for(const e of t){if(this.has(e))throw new Error("Bit already allocated for "+e);if(this.next===rs.MAXBIT)throw new Error("Maximum number of bits already allocated");this.names.set(e,this.next),this.next<<=1}}static has(t){return this.names.has(t)}set(t){this.bits|=this.getBit(t)}clear(t){this.bits&=~this.getBit(t)}isSet(t){return!!(this.bits&this.getBit(t))}reset(){this.bits=0}getBit(t){const e=this.constructor.names.get(t);if(!e)throw new Error("Unknown bit-field name: "+t);return e}}function ns(...t){const e=class extends rs{};return e.allocate(...t),e}rs.MAXBIT=1<<31,rs.next=1,rs.names=new Map;var as=s(983),os=s(462),ls=function(t,e,s,i){return new(s||(s=Promise))((function(r,n){function a(t){try{l(i.next(t))}catch(t){n(t)}}function o(t){try{l(i.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(a,o)}l((i=i.apply(t,e||[])).next())}))};class cs extends as.PrioritizedList{static create(t){const e=new this;for(const s of Object.keys(t)){const[i,r]=this.action(s,t[s]);r&&e.add(i,r)}return e}static action(t,e){let s,i,r=!0;const n=e[0];if(1===e.length||"boolean"==typeof e[1])2===e.length&&(r=e[1]),[s,i]=this.methodActions(t);else if("string"==typeof e[1])if("string"==typeof e[2]){4===e.length&&(r=e[3]);const[t,n]=e.slice(1);[s,i]=this.methodActions(t,n)}else 3===e.length&&(r=e[2]),[s,i]=this.methodActions(e[1]);else 4===e.length&&(r=e[3]),[s,i]=e.slice(1);return[{id:t,renderDoc:s,renderMath:i,convert:r},n]}static methodActions(t,e=t){return[e=>(t&&e[t](),!1),(t,s)=>(e&&t[e](s),!1)]}renderDoc(t,e=St.UNPROCESSED){for(const s of this.items)if(s.priority>=e&&s.item.renderDoc(t))return}renderMath(t,e,s=St.UNPROCESSED){for(const i of this.items)if(i.priority>=s&&i.item.renderMath(t,e))return}renderConvert(t,e,s=St.LAST){for(const i of this.items){if(i.priority>s)return;if(i.item.convert&&i.item.renderMath(t,e))return}}findID(t){for(const e of this.items)if(e.item.id===t)return e.item;return null}}const hs={all:!1,processed:!1,inputJax:null,outputJax:null},ds={all:!0,processed:!0,inputJax:[],outputJax:[]};class us extends Ot{compile(t){return null}}class ps extends Tt{typeset(t,e=null){return null}escaped(t,e){return null}}class ms extends Dt{}class Es{constructor(t,e,s){const i=this.constructor;this.document=t,this.options=(0,yt.userOptions)((0,yt.defaultOptions)({},i.OPTIONS),s),this.math=new(this.options.MathList||ms),this.renderActions=cs.create(this.options.renderActions),this._actionPromises=[],this._readyPromise=Promise.resolve(),this.processed=new Es.ProcessBits,this.outputJax=this.options.OutputJax||new ps;let r=this.options.InputJax||[new us];Array.isArray(r)||(r=[r]),this.inputJax=r,this.adaptor=e,this.outputJax.setAdaptor(e),this.inputJax.map((t=>t.setAdaptor(e))),this.mmlFactory=this.options.MmlFactory||new is,this.inputJax.map((t=>t.setMmlFactory(this.mmlFactory))),this.outputJax.initialize(),this.inputJax.map((t=>t.initialize()))}get kind(){return this.constructor.KIND}addRenderAction(t,...e){const[s,i]=cs.action(t,e);this.renderActions.add(s,i)}removeRenderAction(t){const e=this.renderActions.findID(t);e&&this.renderActions.remove(e)}render(){return this.clearPromises(),this.renderActions.renderDoc(this),this}renderPromise(){return this.whenReady((()=>(0,os.handleRetriesFor)((()=>ls(this,void 0,void 0,(function*(){return this.render(),yield this.actionPromises(),this.clearPromises(),this}))))))}rerender(t=St.RERENDER){return this.state(t-1),this.render(),this}rerenderPromise(t=St.RERENDER){return this.whenReady((()=>(0,os.handleRetriesFor)((()=>ls(this,void 0,void 0,(function*(){return this.rerender(t),yield this.actionPromises(),this.clearPromises(),this}))))))}convert(t,e={}){let{format:s,display:i,end:r,ex:n,em:a,containerWidth:o,scale:l,family:c}=(0,yt.userOptions)({format:this.inputJax[0].name,display:!0,end:St.LAST,em:16,ex:8,containerWidth:null,scale:1,family:""},e);null===o&&(o=80*n);const h=this.inputJax.reduce(((t,e)=>e.name===s?e:t),null),d=new this.options.MathItem(t,h,i);return d.start.node=this.adaptor.body(this.document),d.setMetrics(a,n,o,l),c&&this.outputJax.options.mtextInheritFont&&(d.outputData.mtextFamily=c),c&&this.outputJax.options.merrorInheritFont&&(d.outputData.merrorFamily=c),this.clearPromises(),d.convert(this,r),d.typesetRoot||d.root}convertPromise(t,e={}){return this.whenReady((()=>(0,os.handleRetriesFor)((()=>ls(this,void 0,void 0,(function*(){const s=this.convert(t,e);return yield this.actionPromises(),this.clearPromises(),s}))))))}whenReady(t){return this._readyPromise=this._readyPromise.catch((t=>{})).then((()=>{const e=this._readyPromise;this._readyPromise=Promise.resolve();const s=t(),i=this._readyPromise.then((()=>s));return this._readyPromise=e,i}))}actionPromises(){return Promise.all(this._actionPromises)}clearPromises(){this._actionPromises=[]}savePromise(t){this._actionPromises.push(t)}findMath(t=null){return this.processed.set("findMath"),this}compile(){if(!this.processed.isSet("compile")){const t=[];for(const e of this.math)this.compileMath(e),void 0!==e.inputData.recompile&&t.push(e);for(const e of t){const t=e.inputData.recompile;e.state(t.state),e.inputData.recompile=t,this.compileMath(e)}this.processed.set("compile")}return this}compileMath(t){try{t.compile(this)}catch(e){if(e.retry||e.restart)throw e;this.options.compileError(this,t,e),t.inputData.error=e}}compileError(t,e){t.root=this.mmlFactory.create("math",null,[this.mmlFactory.create("merror",{"data-mjx-error":e.message,title:e.message},[this.mmlFactory.create("mtext",null,[this.mmlFactory.create("text").setText("Math input error")])])]),t.display&&t.root.attributes.set("display","block"),t.inputData.error=e.message}typeset(){if(!this.processed.isSet("typeset")){for(const t of this.math)try{t.typeset(this)}catch(e){if(e.retry||e.restart)throw e;this.options.typesetError(this,t,e),t.outputData.error=e}this.processed.set("typeset")}return this}typesetError(t,e){t.typesetRoot=this.adaptor.node("mjx-container",{class:"MathJax mjx-output-error",jax:this.outputJax.name},[this.adaptor.node("span",{"data-mjx-error":e.message,title:e.message,style:{color:"red","background-color":"yellow","line-height":"normal"}},[this.adaptor.text("Math output error")])]),t.display&&this.adaptor.setAttributes(t.typesetRoot,{style:{display:"block",margin:"1em 0","text-align":"center"}}),t.outputData.error=e.message}getMetrics(){return this.processed.isSet("getMetrics")||(this.outputJax.getMetrics(this),this.processed.set("getMetrics")),this}updateDocument(){if(!this.processed.isSet("updateDocument")){for(const t of this.math.reversed())t.updateDocument(this);this.processed.set("updateDocument")}return this}removeFromDocument(t=!1){return this}state(t,e=!1){for(const s of this.math)s.state(t,e);return t<St.INSERTED&&this.processed.clear("updateDocument"),t<St.TYPESET&&(this.processed.clear("typeset"),this.processed.clear("getMetrics")),t<St.COMPILED&&this.processed.clear("compile"),t<St.FINDMATH&&this.processed.clear("findMath"),this}reset(t={processed:!0}){return(t=(0,yt.userOptions)(Object.assign({},hs),t)).all&&Object.assign(t,ds),t.processed&&this.processed.reset(),t.inputJax&&this.inputJax.forEach((e=>e.reset(...t.inputJax))),t.outputJax&&this.outputJax.reset(...t.outputJax),this}clear(){return this.reset(),this.math.clear(),this}done(){return Promise.resolve()}concat(t){return this.math.merge(t),this}clearMathItemsWithin(t){const e=this.getMathItemsWithin(t);for(const t of e.slice(0).reverse())t.clear();return this.math.remove(...e),e}getMathItemsWithin(t){Array.isArray(t)||(t=[t]);const e=this.adaptor,s=[],i=e.getElements(t,this.document);t:for(const t of this.math)for(const r of i)if(t.start.node&&e.contains(r,t.start.node)){s.push(t);continue t}return s}}Es.KIND="MathDocument",Es.OPTIONS={OutputJax:null,InputJax:null,MmlFactory:null,MathList:ms,MathItem:class extends wt{},compileError:(t,e,s)=>{t.compileError(e,s)},typesetError:(t,e,s)=>{t.typesetError(e,s)},renderActions:(0,yt.expandable)({find:[St.FINDMATH,"findMath","",!1],compile:[St.COMPILED],metrics:[St.METRICS,"getMetrics","",!1],typeset:[St.TYPESET],update:[St.INSERTED,"updateDocument",!1]})},Es.ProcessBits=ns("findMath","compile","getMetrics","typeset","updateDocument");class fs extends Es{}class gs{constructor(t,e=5){this.documentClass=fs,this.adaptor=t,this.priority=e}get name(){return this.constructor.NAME}handlesDocument(t){return!1}create(t,e){return new this.documentClass(t,this.adaptor,e)}}gs.NAME="generic";var Rs=s(903);class Ls{static methodName(t){return"visit"+(t.charAt(0).toUpperCase()+t.substring(1)).replace(/[^a-z0-9_]/gi,"_")+"Node"}constructor(t){this.nodeHandlers=new Map;for(const e of t.getKinds()){const t=this[Ls.methodName(e)];t&&this.nodeHandlers.set(e,t)}}visitTree(t,...e){return this.visitNode(t,...e)}visitNode(t,...e){return(this.nodeHandlers.get(t.kind)||this.visitDefault).call(this,t,...e)}visitDefault(t,...e){if("childNodes"in t)for(const s of t.childNodes)this.visitNode(s,...e)}setNodeHandler(t,e){this.nodeHandlers.set(t,e)}removeNodeHandler(t){this.nodeHandlers.delete(t)}}const xs="data-mjx-";class Ns extends Ls{constructor(t=null){t||(t=new is),super(t)}visitTextNode(t,...e){}visitXMLNode(t,...e){}visitHtmlNode(t,...e){}getKind(t){const e=t.kind;return(0,yt.lookup)(e,this.constructor.rename,e)}getAttributeList(t){const e=this.constructor,s=(0,yt.lookup)(t.kind,e.defaultAttributes,{}),i=Object.assign({},s,this.getDataAttributes(t),t.attributes.getAllAttributes()),r=e.variants;return Object.hasOwn(i,"mathvariant")&&(Object.hasOwn(r,i.mathvariant)?i.mathvariant=r[i.mathvariant]:t.getProperty("ignore-variant")&&delete i.mathvariant),i}getDataAttributes(t){const e={},s=t.attributes.getExplicit("mathvariant"),i=this.constructor.variants;s&&(t.getProperty("ignore-variant")||Object.hasOwn(i,s))&&this.setDataAttribute(e,"variant",s),t.getProperty("variantForm")&&this.setDataAttribute(e,"alternate","1"),t.getProperty("pseudoscript")&&this.setDataAttribute(e,"pseudoscript","true"),!1===t.getProperty("autoOP")&&this.setDataAttribute(e,"auto-op","false");const r=t.getProperty("vbox");r&&this.setDataAttribute(e,"vbox",r);const n=t.getProperty("scriptalign");n&&this.setDataAttribute(e,"script-align",n);const a=t.getProperty("mathaccent");void 0!==a&&(a&&!t.isMathAccent()||!a&&!t.isMathAccentWithWidth())&&this.setDataAttribute(e,"mathaccent",a.toString());const o=t.getProperty("texClass");if(void 0!==o){let s=!0;if(o===Ht.OP&&t.isKind("mi")){const e=t.getText();s=!(e.length>1&&e.match(se.operatorName))}s&&this.setDataAttribute(e,"texclass",o<0?"NONE":Jt[o])}return t.getProperty("smallmatrix")&&this.setDataAttribute(e,"smallmatrix","true"),e}setDataAttribute(t,e,s){t[xs+e]=s}}Ns.rename={TeXAtom:"mrow"},Ns.variants={"-tex-calligraphic":"script","-tex-bold-calligraphic":"bold-script","-tex-oldstyle":"normal","-tex-bold-oldstyle":"bold","-tex-mathit":"italic"},Ns.defaultAttributes={math:{xmlns:"http://www.w3.org/1998/Math/MathML"}};class bs extends Ns{constructor(){super(...arguments),this.document=null}visitTree(t,e){this.document=e;const s=e.createElement("top");return this.visitNode(t,s),this.document=null,s.firstChild}visitTextNode(t,e){e.appendChild(this.document.createTextNode(t.getText()))}visitXMLNode(t,e){e.appendChild(t.getXML().cloneNode(!0))}visitHtmlNode(t,e){e.appendChild(t.getHTML().cloneNode(!0))}visitInferredMrowNode(t,e){for(const s of t.childNodes)this.visitNode(s,e)}visitDefault(t,e){const s=this.document.createElement(this.getKind(t));this.addAttributes(t,s);for(const e of t.childNodes)this.visitNode(e,s);e.appendChild(s)}addAttributes(t,e){const s=this.getAttributeList(t);for(const t of Object.keys(s))e.setAttribute(t,s[t].toString())}}class ys extends Ns{visitTree(t){return this.visitNode(t,"")}visitTextNode(t,e){return this.quoteHTML(t.getText())}visitXMLNode(t,e){return e+t.getSerializedXML()}visitHtmlNode(t,e){return t.getSerializedHTML()}visitInferredMrowNode(t,e){const s=[];for(const i of t.childNodes)s.push(this.visitNode(i,e));return s.join("\n")}visitAnnotationNode(t,e){const s=this.childNodeMml(t,"","");return`${e}<annotation${this.getAttributes(t)}>${s}</annotation>`}visitDefault(t,e){const s=this.getKind(t),[i,r]=t.isToken||0===t.childNodes.length?["",""]:["\n",e],n=this.childNodeMml(t,e+" ",i),a=n.match(/\S/)?i+n+r:"";return`${e}<${s}${this.getAttributes(t)}>${a}</${s}>`}childNodeMml(t,e,s){let i="";for(const r of t.childNodes)i+=this.visitNode(r,e)+s;return i}getAttributes(t){const e=[],s=this.getAttributeList(t);for(const t of Object.keys(s)){const i=String(s[t]);void 0!==i&&e.push(t+'="'+this.quoteHTML(i)+'"')}return e.length?" "+e.join(" "):""}quoteHTML(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/[\uD800-\uDBFF]./g,this.toEntity).replace(/[\u0080-\uD7FF\uE000-\uFFFF]/g,this.toEntity)}toEntity(t){return ge(t)}}class Cs{get kind(){return this.node.kind}constructor(t,e){this.factory=t,this.node=e}wrap(t){return this.factory.wrap(t)}walkTree(t,e){if(t(this,e),"childNodes"in this)for(const s of this.childNodes)s&&s.walkTree(t,e);return e}}class Is extends Pt{wrap(t,...e){return this.create(t.kind,t,...e)}}var Os=s(850);class Ts extends wt{get adaptor(){return this.inputJax.adaptor}constructor(t,e,s=!0,i={node:null,n:0,delim:""},r={node:null,n:0,delim:""}){super(t,e,s,i,r)}updateDocument(t){if(this.state()<St.INSERTED){if(this.inputJax.processStrings){let t=this.start.node;if(t===this.end.node)this.end.n&&this.end.n<this.adaptor.value(this.end.node).length&&this.adaptor.split(this.end.node,this.end.n),this.start.n&&(t=this.adaptor.split(this.start.node,this.start.n)),this.adaptor.replace(this.typesetRoot,t);else{for(this.start.n&&(t=this.adaptor.split(t,this.start.n));t!==this.end.node;){const e=this.adaptor.next(t);this.adaptor.remove(t),t=e}this.adaptor.insert(this.typesetRoot,t),this.end.n<this.adaptor.value(t).length&&this.adaptor.split(t,this.end.n),this.adaptor.remove(t)}}else this.adaptor.replace(this.typesetRoot,this.start.node);this.start.node=this.end.node=this.typesetRoot,this.start.n=this.end.n=0,this.state(St.INSERTED)}}updateStyleSheet(t){t.addStyleSheet()}removeFromDocument(t=!1){if(super.removeFromDocument(t),this.state()>=St.TYPESET){const e=this.adaptor,s=this.start.node;let i=e.text("");if(t){const t=this.start.delim+this.math+this.end.delim;if(this.inputJax.processStrings)i=e.text(t);else{const s=e.parse(t,"text/html");i=e.firstChild(e.body(s))}}e.parent(s)&&e.replace(i,s),this.start.node=this.end.node=i,this.start.n=this.end.n=0}}}class vs extends Dt{}class As{constructor(t=null){const e=this.constructor;this.options=(0,yt.userOptions)((0,yt.defaultOptions)({},e.OPTIONS),t),this.init(),this.getPatterns()}init(){this.strings=[],this.string="",this.snodes=[],this.nodes=[],this.stack=[]}getPatterns(){const t=(0,yt.makeArray)(this.options.skipHtmlTags),e=(0,yt.makeArray)(this.options.ignoreHtmlClass),s=(0,yt.makeArray)(this.options.processHtmlClass);this.skipHtmlTags=new RegExp("^(?:"+t.join("|")+")$","i"),this.ignoreHtmlClass=new RegExp("(?:^| )(?:"+e.join("|")+")(?: |$)"),this.processHtmlClass=new RegExp("(?:^| )(?:"+s+")(?: |$)")}pushString(){this.string.match(/\S/)&&(this.strings.push(this.string),this.nodes.push(this.snodes)),this.string="",this.snodes=[]}extendString(t,e){this.snodes.push([t,e.length]),this.string+=e}handleText(t,e){return e||this.extendString(t,this.adaptor.value(t)),this.adaptor.next(t)}handleTag(t,e){if(!e){const e=this.options.includeHtmlTags[this.adaptor.kind(t)];e instanceof Function?this.extendString(t,e(t,this.adaptor)):this.extendString(t,e)}return this.adaptor.next(t)}handleContainer(t,e){this.pushString();const s=this.adaptor.getAttribute(t,"class")||"",i=this.adaptor.kind(t)||"",r=this.processHtmlClass.exec(s);let n=t;return!this.adaptor.firstChild(t)||this.adaptor.getAttribute(t,"data-MJX")||!r&&this.skipHtmlTags.exec(i)?n=this.adaptor.next(t):(this.adaptor.next(t)&&this.stack.push([this.adaptor.next(t),e]),n=this.adaptor.firstChild(t),e=(e||this.ignoreHtmlClass.exec(s))&&!r),[n,e]}handleOther(t,e){return this.pushString(),this.adaptor.next(t)}find(t){this.init();const e=this.adaptor.next(t);let s=!1;const i=this.options.includeHtmlTags;for(;t&&t!==e;){const e=this.adaptor.kind(t);"#text"===e?t=this.handleText(t,s):Object.hasOwn(i,e)?t=this.handleTag(t,s):e?[t,s]=this.handleContainer(t,s):t=this.handleOther(t,s),!t&&this.stack.length&&(this.pushString(),[t,s]=this.stack.pop())}this.pushString();const r=[this.strings,this.nodes];return this.init(),r}}As.OPTIONS={skipHtmlTags:["script","noscript","style","textarea","pre","code","math","select","option","mjx-container"],includeHtmlTags:(0,yt.expandable)({br:"\n",wbr:"","#comment":""}),ignoreHtmlClass:"mathjax_ignore",processHtmlClass:"mathjax_process"},_t("STYLES",St.INSERTED+1);class Ms extends Es{constructor(t,e,s){const[i,r]=(0,yt.separateOptions)(s,As.OPTIONS);super(t,e,i),this.domStrings=this.options.DomStrings||new As(r),this.domStrings.adaptor=e,this.styles=[]}findPosition(t,e,s,i){const r=this.adaptor,n=1/(i[t].length||1);let a=t;for(const[o,l]of i[t]){if(e<=l&&"#text"===r.kind(o))return{i:a,node:o,n:Math.max(e,0),delim:s};e-=l,a+=n}return{node:null,n:0,delim:s}}mathItem(t,e,s){const i=t.math,r=this.findPosition(t.n,t.start.n,t.open,s),n=this.findPosition(t.n,t.end.n,t.close,s);return new this.options.MathItem(i,e,t.display,r,n)}findMath(t){if(!this.processed.isSet("findMath")){this.adaptor.document=this.document,t=(0,yt.userOptions)({elements:this.options.elements||[this.adaptor.body(this.document)]},t);const e=this.adaptor.getElements(t.elements,this.document);for(const t of this.inputJax){const s=t.processStrings?this.findMathFromStrings(t,e):this.findMathFromDOM(t,e);this.math.merge(s)}this.processed.set("findMath")}return this}findMathFromStrings(t,e){const s=[],i=[];for(const t of e){const[e,r]=this.domStrings.find(t);s.push(...e),i.push(...r)}const r=new this.options.MathList;for(const e of t.findMath(s))r.push(this.mathItem(e,t,i));return r}findMathFromDOM(t,e){const s=[];for(const i of e)for(const e of t.findMath(i))s.push(new this.options.MathItem(e.math,t,e.display,e.start,e.end));return new this.options.MathList(...s)}updateDocument(){return this.processed.isSet("updateDocument")||(this.addPageElements(),this.addStyleSheet(),super.updateDocument(),this.processed.set("updateDocument")),this}addPageElements(){const t=this.adaptor,e=t.body(this.document),s=this.documentPageElements();if(s){const i=t.firstChild(e);i?t.insert(s,i):t.append(e,s)}}addStyleSheet(){const t=this.documentStyleSheet(),e=this.adaptor;if(t&&!e.parent(t)){const s=e.head(this.document),i=this.findSheet(s,e.getAttribute(t,"id"));i?e.replace(t,i):e.append(s,t)}}findSheet(t,e){if(e)for(const s of this.adaptor.tags(t,"style"))if(this.adaptor.getAttribute(s,"id")===e)return s;return null}removeFromDocument(t=!1){if(this.processed.isSet("updateDocument"))for(const e of this.math)e.state()>=St.INSERTED&&e.state(St.TYPESET,t);return this.processed.clear("updateDocument"),this}documentStyleSheet(){return this.outputJax.styleSheet(this)}documentPageElements(){return this.outputJax.pageElements(this)}addStyles(t){this.styles.push(t),"insertStyles"in this.outputJax&&this.outputJax.insertStyles(t)}getStyles(){return this.styles}}Ms.KIND="HTML",Ms.OPTIONS=Object.assign(Object.assign({},Es.OPTIONS),{renderActions:(0,yt.expandable)(Object.assign(Object.assign({},Es.OPTIONS.renderActions),{styles:[St.STYLES,"","updateStyleSheet",!1]})),MathList:vs,MathItem:Ts,DomStrings:null});class Ds extends gs{constructor(){super(...arguments),this.documentClass=Ms}handlesDocument(t){const e=this.adaptor;if("string"==typeof t)try{t=e.parse(t,"text/html")}catch(t){}return t instanceof e.window.Document||t instanceof e.window.HTMLElement||t instanceof e.window.DocumentFragment}create(t,e){const s=this.adaptor;if("string"==typeof t)t=s.parse(t,"text/html");else if(t instanceof s.window.HTMLElement||t instanceof s.window.DocumentFragment){const e=t;t=s.parse("","text/html"),s.append(s.body(t),e)}return super.create(t,e)}}function ks(t){const e=new Ds(t);return Os.mathjax.handlers.register(e),e}var ws=s(780);const Ss=1e6,_s={px:1,in:96,cm:96/2.54,mm:96/25.4},Ps={em:1,ex:.431,pt:.1,pc:1.2,mu:1/18},Bs={veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18,thin:.04,medium:.06,thick:.1,normal:1,big:2,small:1/Math.sqrt(2),infinity:Ss};function js(t,e=0,s=1,i=16){if("string"!=typeof t&&(t=String(t)),""===t||null==t)return e;if(Bs[t])return Bs[t];const r=t.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);if(!r||""===r[0])return e;const n=parseFloat(r[1]||"1"),a=r[2];return Object.hasOwn(_s,a)?n*_s[a]/i/s:Object.hasOwn(Ps,a)?n*Ps[a]:"%"===a?n/100*e:n*e}function $s(t){return(100*t).toFixed(1).replace(/\.?0+$/,"")+"%"}function Fs(t){return Math.abs(t)<.001?"0":t.toFixed(3).replace(/\.?0+$/,"")+"em"}function Ws(t,e=-Ss,s=16){return t*=s,e&&t<e&&(t=e),Math.abs(t)<.1?"0":t.toFixed(1).replace(/\.0$/,"")+"px"}class Hs{static zero(){return new Hs({h:0,d:0,w:0})}static empty(){return new Hs}constructor(t={w:0,h:-Ss,d:-Ss}){this.w=t.w||0,this.h="h"in t?t.h:-Ss,this.d="d"in t?t.d:-Ss,this.L=this.R=this.ic=this.oc=this.sk=this.dx=0,this.scale=this.rscale=1,this.pwidth=""}empty(){return this.w=0,this.h=this.d=-Ss,this}clean(){this.w===-Ss&&(this.w=0),this.h===-Ss&&(this.h=0),this.d===-Ss&&(this.d=0)}rescale(t){this.w*=t,this.h*=t,this.d*=t}combine(t,e=0,s=0){const i=t.rscale,r=e+i*(t.w+t.L+t.R),n=s+i*t.h,a=i*t.d-s;r>this.w&&(this.w=r),n>this.h&&(this.h=n),a>this.d&&(this.d=a)}append(t){const e=t.rscale;this.w+=e*(t.w+t.L+t.R),e*t.h>this.h&&(this.h=e*t.h),e*t.d>this.d&&(this.d=e*t.d)}updateFrom(t){this.h=t.h,this.d=t.d,this.w=t.w,t.pwidth&&(this.pwidth=t.pwidth)}copy(){const t=new Hs;return Object.assign(t,this),t}}Hs.fullWidth="100%",Hs.boxSides=[["Top",0,"h"],["Right",1,"w"],["Bottom",2,"d"],["Left",3,"w"]];var Js=s(989);class qs{get cssText(){return this.getStyleString()}constructor(t=null){this.styles={},this.addStyles(t)}addStyles(t){if(t)for(const e of Object.keys(t))this.styles[e]||(this.styles[e]={}),Object.assign(this.styles[e],t[e])}removeStyles(...t){for(const e of t)delete this.styles[e]}clear(){this.styles={}}getStyleString(){return this.getStyleRules().join("\n\n")}getStyleRules(){const t=Object.keys(this.styles),e=new Array(t.length);let s=0;for(const i of t)e[s++]=i+" {\n"+this.getStyleDefString(this.styles[i])+"\n}";return e}getStyleDefString(t){const e=Object.keys(t),s=new Array(e.length);let i=0;for(const r of e)s[i++]=" "+r+": "+t[r]+";";return s.join("\n")}}var zs=s(292),Xs=s(939);function Us(t){return t.reduce(((t,e)=>t+e),0)}function Gs(t){return t.reduce(((t,e)=>Math.max(t,e)),0)}if(MathJax.loader&&MathJax.loader.checkVersion("core",gt.x,"core"),(0,ft.combineWithMathJax)({_:{adaptors:{HTMLAdaptor:i,browserAdaptor:r},components:{global:ft},core:{DOMAdaptor:Rt,FindMath:n,Handler:Q,HandlerList:Rs,InputJax:a,MathDocument:Z,MathItem:h,MathList:c,MmlTree:{Attributes:p,MML:K,MathMLVisitor:st,MmlFactory:V,MmlNode:E,MmlNodes:{HtmlNode:G,TeXAtom:X,maction:_,maligngroup:H,malignmark:J,math:f,mathchoice:U,menclose:S,merror:M,mfenced:w,mfrac:O,mglyph:q,mi:g,mmultiscripts:j,mn:R,mo:N,mpadded:D,mphantom:k,mroot:v,mrow:I,ms:C,mspace:y,msqrt:T,mstyle:A,msubsup:P,mtable:$,mtd:W,mtext:b,mtr:F,munderover:B,semantics:z},MmlVisitor:et,OperatorDictionary:L,SerializedMmlVisitor:it},OutputJax:o,Tree:{Factory:d,Node:m,NodeFactory:u,Visitor:tt,Wrapper:rt,WrapperFactory:nt}},handlers:{html_ts:dt,html:{HTMLDocument:ct,HTMLDomStrings:lt,HTMLHandler:ht,HTMLMathItem:at,HTMLMathList:ot}},mathjax:Os,util:{AsyncLoad:ws,BBox:pt,BitField:Y,Entities:Js,FunctionList:It,LinkedList:l,Options:yt,PrioritizedList:as,Retries:os,StyleJson:mt,Styles:zs,context:Xs,lengths:ut,numeric:Et,string:x}}}),MathJax.startup&&(MathJax.startup.registerConstructor("HTMLHandler",Ds),MathJax.startup.registerConstructor("browserAdaptor",bt),MathJax.startup.useHandler("HTMLHandler"),MathJax.startup.useAdaptor("browserAdaptor")),MathJax.loader){const t=MathJax.config.loader;MathJax._.mathjax.mathjax.asyncLoad=e=>"node:"===e.substring(0,5)?t.require(e):MathJax.loader.load(e).then((t=>t[0]))}},164:(t,e,s)=>{"use strict";var i={};s.r(i),s.d(i,{LiteElement:()=>g});var r={};s.r(r),s.d(r,{LiteDocument:()=>R});var n={};s.r(n),s.d(n,{LiteComment:()=>x,LiteText:()=>L});var a={};s.r(a),s.d(a,{LiteList:()=>N});var o={};s.r(o),s.d(o,{LiteParser:()=>M,PATTERNS:()=>A});var l={};s.r(l),s.d(l,{LiteWindow:()=>D});var c={};s.r(c),s.d(c,{LiteAdaptor:()=>_,LiteBase:()=>S,liteAdaptor:()=>P});var h=s(977),d=s(516),u=s(502),p=s(6),m=s(780),E=function(t,e,s,i){return new(s||(s=Promise))((function(r,n){function a(t){try{l(i.next(t))}catch(t){n(t)}}function o(t){try{l(i.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(a,o)}l((i=i.apply(t,e||[])).next())}))};const f={badCSS:!0,badSizes:!0};class g{constructor(t,e={},s=[]){this.kind=t,this.attributes=Object.assign({},e),this.children=[...s];for(const t of this.children)t.parent=this;this.styles=null}}class R{get kind(){return"#document"}constructor(t=null){this.defaultView=null,this.root=new g("html",{},[this.head=new g("head"),this.body=new g("body")]),this.type="",this.defaultView=t}}class L{get kind(){return"#text"}constructor(t=""){this.value=t}}class x extends L{get kind(){return"#comment"}}class N{constructor(t){this.nodes=[],this.nodes=[...t]}append(t){this.nodes.push(t)}[Symbol.iterator](){let t=0;return{next(){return t===this.nodes.length?{value:null,done:!0}:{value:this.nodes[t++],done:!1}}}}}var b=s(989);const y="[ \\n]+",C="[ \\n]*",I="[A-Za-z][^\0-\x1f \"'>/=\x7f-\x9f]*",O="[^\0-\x1f \"'>/=\x7f-\x9f]+",T=`${O}(?:${C}=${C}${`(?:'[^']*'|"[^"]*"|${y})`})?`,v=`(${O})(?:${C}=${C}${`(?:'([^']*)'|"([^"]*)"|(${y}))`})?`,A={tag:new RegExp(`(<(?:${I}(?:${y}${T})*${C}/?|/${I}|!--[^]*?--|![^]*?)(?:>|$))`,"u"),attr:new RegExp(T,"u"),attrsplit:new RegExp(v,"u")};class M{parseFromString(t,e="text/html",s=null){const i=s.createDocument();let r=s.body(i);const n=t.replace(/<\?.*?\?>/g,"").split(A.tag);for(;n.length;){const t=n.shift(),e=n.shift();t&&this.addText(s,r,t),e&&">"===e.charAt(e.length-1)&&("!"===e.charAt(1)?this.addComment(s,r,e):r="/"===e.charAt(1)?this.closeTag(s,r,e):this.openTag(s,r,e,n))}return this.checkDocument(s,i),i}addText(t,e,s){return s=b.translate(s),t.append(e,t.text(s))}addComment(t,e,s){return t.append(e,new x(s))}closeTag(t,e,s){const i=s.slice(2,s.length-1).toLowerCase();for(;t.parent(e)&&t.kind(e)!==i;)e=t.parent(e);return t.parent(e)}openTag(t,e,s,i){const r=this.constructor.PCDATA,n=this.constructor.SELF_CLOSING,a=s.match(/<(.*?)[\s\n>/]/)[1].toLowerCase(),o=t.node(a),l=s.replace(/^<.*?[\s\n>]/,"").split(A.attrsplit);return(l.pop().match(/>$/)||l.length<5)&&(this.addAttributes(t,o,l),t.append(e,o),n[a]||s.match(/\/>$/)||(r[a]?this.handlePCDATA(t,o,a,i):e=o)),e}addAttributes(t,e,s){for(;s.length;){const[,i,r,n,a]=s.splice(0,5),o=b.translate(r||n||a||"");t.setAttribute(e,i,o)}}handlePCDATA(t,e,s,i){const r=[],n="</"+s+">";let a="";for(;i.length&&a!==n;)r.push(a),r.push(i.shift()),a=i.shift();t.append(e,t.text(r.join("")))}checkDocument(t,e){const s=this.getOnlyChild(t,t.body(e));if(s){for(const i of t.childNodes(t.body(e))){if(i===s)break;i instanceof x&&i.value.match(/^<!DOCTYPE/)&&(e.type=i.value)}switch(t.kind(s)){case"html":for(const i of s.children)switch(t.kind(i)){case"head":e.head=i;break;case"body":e.body=i}e.root=s,t.remove(s),t.parent(e.body)!==s&&t.append(s,e.body),t.parent(e.head)!==s&&t.insert(e.head,e.body);break;case"head":e.head=t.replace(s,e.head);break;case"body":e.body=t.replace(s,e.body)}}}getOnlyChild(t,e){let s=null;for(const i of t.childNodes(e))if(i instanceof g){if(s)return null;s=i}return s}serialize(t,e,s=!1){const i=this.constructor.SELF_CLOSING,r=t.kind(e),n=this.allAttributes(t,e,s).map((t=>t.name+'="'+this.protectAttribute(t.value,s)+'"')).join(" "),a=this.serializeInner(t,e,s);return`<${r}`+(n?" "+n:"")+(s&&!a||i[r]?s?"/>":">":`>${a}</${r}>`)}serializeInner(t,e,s=!1){const i=this.constructor.PCDATA;return Object.hasOwn(i,e.kind)?t.childNodes(e).map((e=>t.value(e))).join(""):t.childNodes(e).map((e=>{const i=t.kind(e);return"#text"===i?this.protectHTML(t.value(e)):"#comment"===i?e.value:this.serialize(t,e,s)})).join("")}allAttributes(t,e,s){const i=t.allAttributes(e);if(!s)return i;const r=t.kind(e),n=this.constructor.XMLNS;if(!Object.hasOwn(n,r))return i;for(const{name:t}of i)if("xmlns"===t)return i;return i.push({name:"xmlns",value:n[r]}),i}protectAttribute(t,e){return"string"!=typeof t&&(t=String(t)),t=t.replace(/&/g,"&").replace(/"/g,"""),e&&(t=t.replace(/</g,"<").replace(/>/g,">")),t}protectHTML(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}}M.SELF_CLOSING={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},M.PCDATA={option:!0,textarea:!0,fieldset:!0,title:!0,style:!0,script:!0},M.XMLNS={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML",html:"http://www.w3.org/1999/xhtml"};class D{constructor(){this.DOMParser=M,this.NodeList=N,this.HTMLCollection=N,this.HTMLElement=g,this.DocumentFragment=N,this.Document=R,this.document=new R(this)}}var k=s(292),w=function(t,e,s,i){return new(s||(s=Promise))((function(r,n){function a(t){try{l(i.next(t))}catch(t){n(t)}}function o(t){try{l(i.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(a,o)}l((i=i.apply(t,e||[])).next())}))};class S extends u.AbstractDOMAdaptor{constructor(){super(),this.parser=new M,this.window=new D}parse(t,e){return this.parser.parseFromString(t,e,this)}create(t,e=null){return new g(t)}text(t){return new L(t)}comment(t){return new x(t)}createDocument(){return new R}head(t=this.document){return t.head}body(t=this.document){return t.body}root(t=this.document){return t.root}doctype(t=this.document){return t.type}tags(t,e,s=null,i=null){let r=[];const n=[];if(s)return n;let a=t;for(;a;){const t=a.kind;if("#text"!==t&&"#comment"!==t){if(t===e&&(n.push(a),n.length===i))return n;a.children.length&&(r=a.children.concat(r))}a=r.shift()}return n}elementById(t,e){let s=[],i=t;for(;i;){if("#text"!==i.kind&&"#comment"!==i.kind){if(i.attributes.id===e)return i;i.children.length&&(s=i.children.concat(s))}i=s.shift()}return null}elementsByClass(t,e,s=null){let i=[];const r=[];let n=t;for(;n;){if("#text"!==n.kind&&"#comment"!==n.kind){if((n.attributes.class||"").trim().split(/ +/).includes(e)&&(r.push(n),r.length===s))return r;n.children.length&&(i=n.children.concat(i))}n=i.shift()}return r}elementsByAttribute(t,e,s,i=null){let r=[];const n=[];let a=t;for(;a;){if("#text"!==a.kind&&"#comment"!==a.kind){if(a.attributes[e]===s&&(n.push(a),n.length===i))return n;a.children.length&&(r=a.children.concat(r))}a=r.shift()}return n}getElements(t,e){let s=[];const i=this.body(e);for(const e of t)if("string"==typeof e)if("#"===e.charAt(0)){const t=this.elementById(i,e.slice(1));t&&s.push(t)}else if("."===e.charAt(0))s=s.concat(this.elementsByClass(i,e.slice(1)));else if(e.match(/^[-a-z][-a-z0-9]*$/i))s=s.concat(this.tags(i,e));else{const t=e.match(/^\[(.*?)="(.*?)"\]$/);t&&(s=s.concat(this.elementsByAttribute(i,t[1],t[2])))}else Array.isArray(e)?s=s.concat(e):e instanceof this.window.NodeList||e instanceof this.window.HTMLCollection?s=s.concat(e.nodes):s.push(e);return s}getElement(t,e=this.document){if(e instanceof R&&(e=this.body(e)),"#"===t.charAt(0))return this.elementById(e,t.slice(1));if("."===t.charAt(0))return this.elementsByClass(e,t.slice(1),1)[0];if(t.match(/^[-a-z][-a-z0-9]*$/i))return this.tags(e,t,null,1)[0];const s=t.match(/^\[(.*?)="(.*?)"\]$/);return s?this.elementsByAttribute(e,s[1],s[2],1)[0]:null}contains(t,e){for(;e&&e!==t;)e=this.parent(e);return!!e}parent(t){return t.parent}childIndex(t){return t.parent?t.parent.children.findIndex((e=>e===t)):-1}append(t,e){return e.parent&&this.remove(e),t.children.push(e),e.parent=t,e}insert(t,e){if(t.parent&&this.remove(t),e&&e.parent){const s=this.childIndex(e);e.parent.children.splice(s,0,t),t.parent=e.parent}}remove(t){const e=this.childIndex(t);return e>=0&&t.parent.children.splice(e,1),t.parent=null,t}replace(t,e){const s=this.childIndex(e);return s>=0&&(e.parent.children[s]=t,t.parent=e.parent,e.parent=null),e}clone(t,e=!0){const s=new g(t.kind);return s.attributes=Object.assign({},t.attributes),s.children=e?t.children.map((t=>{if("#text"===t.kind)return new L(t.value);if("#comment"===t.kind)return new x(t.value);{const e=this.clone(t);return e.parent=s,e}})):[],s}split(t,e){const s=new L(t.value.slice(e));return t.value=t.value.slice(0,e),t.parent.children.splice(this.childIndex(t)+1,0,s),s.parent=t.parent,s}next(t){const e=t.parent;if(!e)return null;const s=this.childIndex(t)+1;return s>=0&&s<e.children.length?e.children[s]:null}previous(t){const e=t.parent;if(!e)return null;const s=this.childIndex(t)-1;return s>=0?e.children[s]:null}firstChild(t){return t.children[0]}lastChild(t){return t.children[t.children.length-1]}childNodes(t){return[...t.children]}childNode(t,e){return t.children[e]}kind(t){return t.kind}value(t){return"#text"===t.kind?t.value:"#comment"===t.kind?t.value.replace(/^<!(--)?((?:.|\n)*)\1>$/,"$2"):""}textContent(t){return t.children.reduce(((t,e)=>t+("#text"===e.kind?e.value:"#comment"===e.kind?"":this.textContent(e))),"")}innerHTML(t){return this.parser.serializeInner(this,t)}outerHTML(t){return this.parser.serialize(this,t)}serializeXML(t){return this.parser.serialize(this,t,!0)}setAttribute(t,e,s,i=null){"string"!=typeof s&&(s=String(s)),i&&(e=i.replace(/.*\//,"")+":"+e.replace(/^.*:/,"")),t.attributes[e]=s,"style"===e&&(t.styles=null)}getAttribute(t,e){return t.attributes[e]}removeAttribute(t,e){delete t.attributes[e]}hasAttribute(t,e){return Object.hasOwn(t.attributes,e)}allAttributes(t){const e=t.attributes,s=[];for(const t of Object.keys(e))s.push({name:t,value:e[t]});return s}addClass(t,e){const s=t.attributes.class,i=(null==s?void 0:s.split(/ /))||[];i.includes(e)||(i.push(e),t.attributes.class=i.join(" "))}removeClass(t,e){const s=t.attributes.class,i=(null==s?void 0:s.split(/ /))||[],r=i.indexOf(e);r>=0&&(i.splice(r,1),t.attributes.class=i.join(" "))}hasClass(t,e){return(t.attributes.class||"").split(/ /).includes(e)}setStyle(t,e,s){t.styles||(t.styles=new k.Styles(this.getAttribute(t,"style"))),t.styles.set(e,s),t.attributes.style=t.styles.cssText}getStyle(t,e){if(!t.styles){const e=this.getAttribute(t,"style");if(!e)return"";t.styles=new k.Styles(e)}return t.styles.get(e)}allStyles(t){return this.getAttribute(t,"style")}insertRules(t,e){t.children=[this.text(this.textContent(t)+"\n\n"+e.join("\n\n"))]}fontSize(t){return 0}fontFamily(t){return""}nodeSize(t,e=1,s=null){return[0,0]}nodeBBox(t){return{left:0,right:0,top:0,bottom:0}}createWorker(){return w(this,void 0,void 0,(function*(){return null}))}}class _ extends(function(t,e={}){var s;return e=(0,p.userOptions)((0,p.defaultOptions)({},f),e),(s=class extends t{constructor(...t){super(t[0]),this.canMeasureNodes=!1;const e=this.constructor;this.options=(0,p.userOptions)((0,p.defaultOptions)({},e.OPTIONS),t[1])}fontSize(t){return e.badCSS?this.options.fontSize:super.fontSize(t)}fontFamily(t){return e.badCSS?this.options.fontFamily:super.fontFamily(t)}nodeSize(t,i=1,r=null){if(!e.badSizes)return super.nodeSize(t,i,r);const n=this.textContent(t),a=Array.from(n.replace(s.cjkPattern,"")).length;return[(Array.from(n).length-a)*this.options.cjkCharWidth+a*this.options.unknownCharWidth,this.options.unknownCharHeight]}nodeBBox(t){return e.badSizes?{left:0,right:0,top:0,bottom:0}:super.nodeBBox(t)}createWorker(t,e){return E(this,void 0,void 0,(function*(){const{Worker:s}=yield(0,m.asyncLoad)("node:worker_threads");const{path:i,maps:r}=e,n=`${i}/${e.worker}`,a=new class{constructor(t,e={}){this.worker=new s(t,e)}addEventListener(t,e){this.worker.on(t,e)}postMessage(t){this.worker.postMessage({data:t})}terminate(){this.worker.terminate()}}(n,{type:"module",workerData:{maps:r}});return a.addEventListener("message",t),a}))}}).OPTIONS=Object.assign(Object.assign({},e.badCSS?{fontSize:16,fontFamily:"Times"}:{}),e.badSizes?{cjkCharWidth:1,unknownCharWidth:.6,unknownCharHeight:.8}:{}),s.cjkPattern=new RegExp(["[","\u1100-\u115f","\u2329\u232a","\u2e80-\u303e","\u3040-\u3247","\u3250-\u4dbf","\u4e00-\ua4c6","\ua960-\ua97c","\uac00-\ud7a3","\uf900-\ufaff","\ufe10-\ufe19","\ufe30-\ufe6b","\uff01-\uff60\uffe0-\uffe6","\u{1b000}-\u{1b001}","\u{1f200}-\u{1f251}","\u{20000}-\u{3fffd}","]"].join(""),"gu"),s}(S)){}function P(t=null){return new _(null,t)}MathJax.loader&&MathJax.loader.checkVersion("adaptors/liteDOM",d.x,"adaptors"),(0,h.combineWithMathJax)({_:{adaptors:{liteAdaptor:c,lite:{Document:r,Element:i,List:a,Parser:o,Text:n,Window:l}}}}),MathJax.startup&&(MathJax.startup.registerConstructor("liteAdaptor",P),MathJax.startup.useAdaptor("liteAdaptor",!0))},174:(t,e,s)=>{"use strict";s.r(e),s.d(e,{FunctionList:()=>r});var i=s(983);class r extends i.PrioritizedList{constructor(t=null){super(),t&&this.addList(t)}addList(t){for(const e of t)Array.isArray(e)?this.add(e[0],e[1]):this.add(e)}execute(...t){for(const e of this){if(!1===e.item(...t))return!1}return!0}asyncExecute(...t){let e=-1;const s=this.items;return new Promise(((i,r)=>{!function n(){for(;++e<s.length;){const a=s[e].item(...t);if(a instanceof Promise)return void a.then(n).catch((t=>r(t)));if(!1===a)return void i(!1)}i(!0)}()}))}}},281:(t,e,s)=>{"use strict";s.d(e,{s:()=>r});var i=s(288);const r={core:`${i.$}/core/core.js`,"adaptors/jsdom":`${i.$}/adaptors/jsdom/jsdom.js`,"adaptors/linkedom":`${i.$}/adaptors/linkedom/linkedom.js`,"adaptors/liteDOM":`${i.$}/adaptors/liteDOM/liteDOM.js`,"input/tex":`${i.$}/input/tex/tex.js`,"input/tex-base":`${i.$}/input/tex-base/tex-base.js`,"input/tex-full":`${i.$}/input/tex-full/tex-full.js`,"[tex]/action":`${i.$}/input/tex/extensions/action/action.js`,"[tex]/ams":`${i.$}/input/tex/extensions/ams/ams.js`,"[tex]/amscd":`${i.$}/input/tex/extensions/amscd/amscd.js`,"[tex]/autoload":`${i.$}/input/tex/extensions/autoload/autoload.js`,"[tex]/bbm":`${i.$}/input/tex/extensions/bbm/bbm.js`,"[tex]/bboldx":`${i.$}/input/tex/extensions/bboldx/bboldx.js`,"[tex]/bbox":`${i.$}/input/tex/extensions/bbox/bbox.js`,"[tex]/begingroup":`${i.$}/input/tex/extensions/begingroup/begingroup.js`,"[tex]/boldsymbol":`${i.$}/input/tex/extensions/boldsymbol/boldsymbol.js`,"[tex]/braket":`${i.$}/input/tex/extensions/braket/braket.js`,"[tex]/bussproofs":`${i.$}/input/tex/extensions/bussproofs/bussproofs.js`,"[tex]/cancel":`${i.$}/input/tex/extensions/cancel/cancel.js`,"[tex]/cases":`${i.$}/input/tex/extensions/cases/cases.js`,"[tex]/centernot":`${i.$}/input/tex/extensions/centernot/centernot.js`,"[tex]/color":`${i.$}/input/tex/extensions/color/color.js`,"[tex]/colortbl":`${i.$}/input/tex/extensions/colortbl/colortbl.js`,"[tex]/colorv2":`${i.$}/input/tex/extensions/colorv2/colorv2.js`,"[tex]/configmacros":`${i.$}/input/tex/extensions/configmacros/configmacros.js`,"[tex]/dsfont":`${i.$}/input/tex/extensions/dsfont/dsfont.js`,"[tex]/empheq":`${i.$}/input/tex/extensions/empheq/empheq.js`,"[tex]/enclose":`${i.$}/input/tex/extensions/enclose/enclose.js`,"[tex]/extpfeil":`${i.$}/input/tex/extensions/extpfeil/extpfeil.js`,"[tex]/gensymb":`${i.$}/input/tex/extensions/gensymb/gensymb.js`,"[tex]/html":`${i.$}/input/tex/extensions/html/html.js`,"[tex]/mathtools":`${i.$}/input/tex/extensions/mathtools/mathtools.js`,"[tex]/mhchem":`${i.$}/input/tex/extensions/mhchem/mhchem.js`,"[tex]/newcommand":`${i.$}/input/tex/extensions/newcommand/newcommand.js`,"[tex]/noerrors":`${i.$}/input/tex/extensions/noerrors/noerrors.js`,"[tex]/noundefined":`${i.$}/input/tex/extensions/noundefined/noundefined.js`,"[tex]/physics":`${i.$}/input/tex/extensions/physics/physics.js`,"[tex]/require":`${i.$}/input/tex/extensions/require/require.js`,"[tex]/setoptions":`${i.$}/input/tex/extensions/setoptions/setoptions.js`,"[tex]/tagformat":`${i.$}/input/tex/extensions/tagformat/tagformat.js`,"[tex]/texhtml":`${i.$}/input/tex/extensions/texhtml/texhtml.js`,"[tex]/textcomp":`${i.$}/input/tex/extensions/textcomp/textcomp.js`,"[tex]/textmacros":`${i.$}/input/tex/extensions/textmacros/textmacros.js`,"[tex]/unicode":`${i.$}/input/tex/extensions/unicode/unicode.js`,"[tex]/units":`${i.$}/input/tex/extensions/units/units.js`,"[tex]/upgreek":`${i.$}/input/tex/extensions/upgreek/upgreek.js`,"[tex]/verb":`${i.$}/input/tex/extensions/verb/verb.js`,"input/mml":`${i.$}/input/mml/mml.js`,"input/mml/entities":`${i.$}/input/mml/entities/entities.js`,"[mml]/mml3":`${i.$}/input/mml/extensions/mml3/mml3.js`,"input/asciimath":`${i.$}/input/asciimath/asciimath.js`,"output/chtml":`${i.$}/output/chtml/chtml.js`,"output/svg":`${i.$}/output/svg/svg.js`,"a11y/assistive-mml":`${i.$}/a11y/assistive-mml/assistive-mml.js`,"a11y/semantic-enrich":`${i.$}/a11y/semantic-enrich/semantic-enrich.js`,"a11y/speech":`${i.$}/a11y/speech/speech.js`,"a11y/complexity":`${i.$}/a11y/complexity/complexity.js`,"a11y/explorer":`${i.$}/a11y/explorer/explorer.js`,"a11y/sre":`${i.$}/a11y/sre/sre.js`,"[mathmaps]":`${i.$}/../../bundle/sre/mathmaps`,"ui/lazy":`${i.$}/ui/lazy/lazy.js`,"ui/menu":`${i.$}/ui/menu/menu.js`,"ui/safe":`${i.$}/ui/safe/safe.js`,"mml-chtml":`${i.$}/mml-chtml/mml-chtml.js`,"mml-chtml-nofont":`${i.$}/mml-chtml-nofont/mml-chtml-nofont.js`,"mml-svg":`${i.$}/mml-svg/mml-svg.js`,"mml-svg-nofont":`${i.$}/mml-svg-nofont/mml-svg-nofont.js`,"tex-chtml":`${i.$}/tex-chtml/tex-chtml.js`,"tex-chtml-nofont":`${i.$}/tex-chtml-nofont/tex-chtml-nofont.js`,"tex-svg":`${i.$}/tex-svg/tex-svg.js`,"tex-svg-nofont":`${i.$}/tex-svg-nofont/tex-svg-nofont.js`,"tex-mml-chtml":`${i.$}/tex-mml-chtml/tex-mml-chtml.js`,"tex-mml-chtml-nofont":`${i.$}/tex-mml-chtml-nofont/tex-mml-chtml-nofont.js`,"tex-mml-svg":`${i.$}/tex-mml-svg/tex-mml-svg.js`,"tex-mml-svg-nofont":`${i.$}/tex-mml-svg-nofont/tex-mml-svg-nofont.js`,loader:`${i.$}/loader/loader.js`,startup:`${i.$}/startup/startup.js`}},288:t=>{t.exports.$="/"},292:(t,e,s)=>{"use strict";s.r(e),s.d(e,{Styles:()=>p,TRBL:()=>i,WSC:()=>r});const i=["top","right","bottom","left"],r=["width","style","color"];function n(t){const e=t.split(/((?:'[^']*'|"[^"]*"|,[\s\n]|[^\s\n])*)/g),s=[];for(;e.length>1;)e.shift(),s.push(e.shift());return s}function a(t){const e=n(this.styles[t]);0===e.length&&e.push(""),1===e.length&&e.push(e[0]),2===e.length&&e.push(e[0]),3===e.length&&e.push(e[1]);for(const s of p.connect[t].children)this.setStyle(this.childName(t,s),e.shift())}const o=/^(?:[\d.]+(?:[a-z]+)|thin|medium|thick|inherit|initial|unset)$/,l=/^(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|initial|unset)$/;function c(t){const e={width:"",style:"",color:""};for(const s of n(this.styles[t]))s.match(o)&&""===e.width?e.width=s:s.match(l)&&""===e.style?e.style=s:e.color=s;for(const s of p.connect[t].children)this.setStyle(this.childName(t,s),e[s])}function h(t){const e=[];for(const s of p.connect[t].children){const i=this.styles[this.childName(t,s)];i&&e.push(i)}e.length?this.styles[t]=e.join(" "):delete this.styles[t]}const d={style:/^(?:normal|italic|oblique|inherit|initial|unset)$/,variant:new RegExp("^(?:"+["normal|none","inherit|initial|unset","common-ligatures|no-common-ligatures","discretionary-ligatures|no-discretionary-ligatures","historical-ligatures|no-historical-ligatures","contextual|no-contextual","(?:stylistic|character-variant|swash|ornaments|annotation)\\([^)]*\\)","small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","lining-nums|oldstyle-nums|proportional-nums|tabular-nums","diagonal-fractions|stacked-fractions","ordinal|slashed-zero","jis78|jis83|jis90|jis04|simplified|traditional","full-width|proportional-width","ruby"].join("|")+")$"),weight:/^(?:normal|bold|bolder|lighter|[1-9]00|inherit|initial|unset)$/,stretch:new RegExp("^(?:"+["normal","(?:(?:ultra|extra|semi)-)?(?:condensed|expanded)","inherit|initial|unset"].join("|")+")$"),size:new RegExp("^(?:"+["xx-small|x-small|small|medium|large|x-large|xx-large|larger|smaller","[\\d.]+%|[\\d.]+[a-z]+","inherit|initial|unset"].join("|")+")(?:/(?:normal|[\\d.]+(?:%|[a-z]+)?))?$")};function u(t,e){for(const s of p.connect[t].children){const i=this.childName(t,s);if(Array.isArray(e[s])){const t=e[s];t.length&&(this.styles[i]=t.join(" "))}else""!==e[s]&&(this.styles[i]=e[s])}}class p{constructor(t=""){this.parse(t)}sanitizeValue(t){const e=this.constructor.pattern;if(!t.match(e.sanitize))return t;const s=(t=t.replace(e.value,"$1")).replace(/\\./g,"").replace(/(['"]).*?\1/g,"").replace(/[^'"]/g,"");return s.length&&(t+=s.charAt(0)),t}get cssText(){var t,e;const s=[];for(const i of Object.keys(this.styles)){const r=this.parentName(i),n=i.replace(/.*-/,"");this.styles[r]&&(null===(e=null===(t=p.connect[r])||void 0===t?void 0:t.children)||void 0===e?void 0:e.includes(n))||s.push(`${i}: ${this.styles[i]};`)}return s.join(" ")}get styleList(){return Object.assign({},this.styles)}set(t,e){var s,i;for(t=this.normalizeName(t),this.setStyle(t,String(e)),p.connect[t]&&!p.connect[t].combine&&(this.combineChildren(t),delete this.styles[t]);t.match(/-/);){const e=t;if(t=this.parentName(t),!p.connect[e]&&!(null===(i=null===(s=p.connect[t])||void 0===s?void 0:s.children)||void 0===i?void 0:i.includes(e.substring(t.length+1))))break;p.connect[t].combine.call(this,t)}}get(t){return t=this.normalizeName(t),Object.hasOwn(this.styles,t)?this.styles[t]:""}setStyle(t,e){this.styles[t]=this.sanitizeValue(e),p.connect[t]&&p.connect[t].children&&p.connect[t].split.call(this,t),""===e&&delete this.styles[t]}combineChildren(t){const e=this.parentName(t);for(const s of p.connect[t].children){const t=this.childName(e,s);p.connect[t].combine.call(this,t)}}parentName(t){const e=t.replace(/-[^-]*$/,"");return t===e?"":e}childName(t,e){return e.match(/-/)?e:(p.connect[t]&&!p.connect[t].combine&&(e+=t.replace(/.*-/,"-"),t=this.parentName(t)),t+"-"+e)}normalizeName(t){return t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()))}parse(t=""){const e=this.constructor.pattern;this.styles={};const s=t.replace(/\n/g," ").replace(e.comment,"").split(e.style);for(;s.length>1;){const[t,e,i]=s.splice(0,3);if(t.match(/[^\s\n;]/))return;this.set(e,i)}}}p.pattern={sanitize:/['";]/,value:/^((:?'(?:\\.|[^'])*(?:'|$)|"(?:\\.|[^"])*(?:"|$)|\n|\\.|[^'";])*?)[\s\n]*(?:;|$).*/,style:/([-a-z]+)[\s\n]*:[\s\n]*((?:'(?:\\.|[^'])*(?:'|$)|"(?:\\.|[^"])*(?:"|$)|\n|\\.|[^'";])*?)[\s\n]*(?:;|$)/g,comment:/\/\*[^]*?\*\//g},p.connect={padding:{children:i,split:a,combine:function(t){const e=p.connect[t].children,s=[];for(const i of e){const e=this.styles[t+"-"+i];if(!e)return void delete this.styles[t];s.push(e)}s[3]===s[1]&&(s.pop(),s[2]===s[0]&&(s.pop(),s[1]===s[0]&&s.pop())),this.styles[t]=s.join(" ")}},border:{children:i,split:function(t){for(const e of p.connect[t].children)this.setStyle(this.childName(t,e),this.styles[t])},combine:function(t){const e=[...p.connect[t].children],s=this.styles[this.childName(t,e.shift())];for(const i of e)if(this.styles[this.childName(t,i)]!==s)return void delete this.styles[t];this.styles[t]=s}},"border-top":{children:r,split:c,combine:h},"border-right":{children:r,split:c,combine:h},"border-bottom":{children:r,split:c,combine:h},"border-left":{children:r,split:c,combine:h},"border-width":{children:i,split:a,combine:null},"border-style":{children:i,split:a,combine:null},"border-color":{children:i,split:a,combine:null},font:{children:["style","variant","weight","stretch","line-height","size","family"],split:function(t){const e=n(this.styles[t]),s={style:"",variant:[],weight:"",stretch:"",size:"",family:"","line-height":""};for(const t of e){s.family||(s.family=t);for(const e of Object.keys(d))if((Array.isArray(s[e])||""===s[e])&&t.match(d[e]))if(s.family===t&&(s.family=""),"size"===e){const[i,r]=t.split(/\//);s[e]=i,r&&(s["line-height"]=r)}else""===s.size&&(Array.isArray(s[e])?s[e].push(t):""===s[e]&&(s[e]=t))}u.call(this,t,s),delete this.styles[t]},combine:function(t){}}}},296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{Package:()=>a,PackageError:()=>n});var i=s(648),r=s(939);class n extends Error{constructor(t,e){super(t),this.package=e}}class a{get canLoad(){return 0===this.dependencyCount&&!this.noLoad&&!this.isLoading&&!this.hasFailed}static loadPromise(t){const e=i.CONFIG[t]||{},s=e.extraLoads?i.Loader.load(...e.extraLoads):Promise.resolve(),r=e.checkReady||(()=>Promise.resolve());return s.then((()=>r()))}static resolvePath(t,e=!0){const s={name:t,original:t,addExtension:e};return i.Loader.pathFilters.execute(s),s.name}static loadAll(){for(const t of this.packages.values())t.canLoad&&t.load()}constructor(t,e=!1){this.isLoaded=!1,this.result={},this.isLoading=!1,this.hasFailed=!1,this.dependents=[],this.dependencies=[],this.dependencyCount=0,this.provided=[],this.name=t,this.noLoad=e,a.packages.set(t,this),this.promise=this.makePromise(this.makeDependencies())}makeDependencies(){const t=[],e=a.packages,s=this.noLoad,r=this.name,n=[];Object.hasOwn(i.CONFIG.dependencies,r)?n.push(...i.CONFIG.dependencies[r]):"core"!==r&&n.push("core");for(const i of n){const r=e.get(i)||new a(i,s);this.dependencies.includes(r)||(r.addDependent(this,s),this.dependencies.push(r),r.isLoaded||(this.dependencyCount++,t.push(r.promise)))}return t}makePromise(t){let e=new Promise(((t,e)=>{this.resolve=t,this.reject=e}));const s=i.CONFIG[this.name]||{};return s.ready&&(e=e.then((t=>s.ready(this.name)))),t.length&&(t.push(e),e=Promise.all(t).then((t=>t.join(", ")))),s.failed&&e.catch((t=>s.failed(new n(t,this.name)))),e}load(){if(!this.isLoaded&&!this.isLoading&&!this.noLoad){this.isLoading=!0;const t=a.resolvePath(this.name);i.CONFIG.require?this.loadCustom(t):this.loadScript(t)}}loadCustom(t){try{const e=i.CONFIG.require(t);e instanceof Promise?e.then((t=>this.result=t)).then((()=>this.checkLoad())).catch((e=>this.failed("Can't load \""+t+'"\n'+e.message.trim()))):(this.result=e,this.checkLoad())}catch(t){this.failed(t.message)}}loadScript(t){const e=r.context.document.createElement("script");e.src=t,e.charset="UTF-8",e.onload=t=>this.checkLoad(),e.onerror=e=>this.failed("Can't load \""+t+'"'),r.context.document.head.appendChild(e)}loaded(){this.isLoaded=!0,this.isLoading=!1;for(const t of this.dependents)t.requirementSatisfied();for(const t of this.provided)t.loaded();this.resolve(this.name)}failed(t){this.hasFailed=!0,this.isLoading=!1,this.reject(new n(t,this.name))}checkLoad(){a.loadPromise(this.name).then((()=>this.loaded())).catch((t=>this.failed(t)))}requirementSatisfied(){this.dependencyCount&&(this.dependencyCount--,this.canLoad&&this.load())}provides(t=[]){for(const e of t){let t=a.packages.get(e);t||(i.CONFIG.dependencies[e]||(i.CONFIG.dependencies[e]=[]),i.CONFIG.dependencies[e].push(e),t=new a(e,!0),t.isLoading=!0),this.provided.push(t)}}addDependent(t,e){this.dependents.push(t),e||this.checkNoLoad()}checkNoLoad(){if(this.noLoad){this.noLoad=!1;for(const t of this.dependencies)t.checkNoLoad()}}}a.packages=new Map},462:(t,e,s)=>{"use strict";function i(t){return new Promise((function e(s,i){const r=t=>{var r;t.retry instanceof Promise?t.retry.then((()=>e(s,i))).catch((t=>i(t))):(null===(r=t.restart)||void 0===r?void 0:r.isCallback)?MathJax.Callback.After((()=>e(s,i)),t.restart):i(t)};try{const e=t();e instanceof Promise?e.then((t=>s(t))).catch((t=>r(t))):s(e)}catch(t){r(t)}}))}function r(t){const e=new Error("MathJax retry -- an asynchronous action is required; try using one of the promise-based functions and await its resolution.");throw e.retry=t,e}s.r(e),s.d(e,{handleRetriesFor:()=>i,retryAfter:()=>r})},502:(t,e,s)=>{"use strict";s.r(e),s.d(e,{AbstractDOMAdaptor:()=>i});class i{constructor(t=null){this.canMeasureNodes=!0,this.document=t}node(t,e={},s=[],i){const r=this.create(t,i);this.setAttributes(r,e);for(const t of s)this.append(r,t);return r}setProperty(t,e,s){t[e]=s}getProperty(t,e){return t[e]}setAttributes(t,e){if(e.style&&"string"!=typeof e.style)for(const s of Object.keys(e.style))this.setStyle(t,s.replace(/-([a-z])/g,((t,e)=>e.toUpperCase())),e.style[s]);if(e.properties)for(const s of Object.keys(e.properties))t[s]=e.properties[s];for(const s of Object.keys(e))"style"===s&&"string"!=typeof e.style||"properties"===s||this.setAttribute(t,s,e[s])}replace(t,e){return this.insert(t,e),this.remove(e),e}childNode(t,e){return this.childNodes(t)[e]}allClasses(t){const e=this.getAttribute(t,"class");return e?e.replace(/ +/g," ").replace(/^ /,"").replace(/ $/,"").split(/ /):[]}cssText(t){return"style"===this.kind(t)?this.textContent(t):""}}},516:(t,e,s)=>{"use strict";s.d(e,{x:()=>i});const i="4.0.0"},648:(t,e,s)=>{"use strict";s.r(e),s.d(e,{CONFIG:()=>p,Loader:()=>d,MathJax:()=>u,PathFilters:()=>c});var i=s(977),r=s(296),n=s(174);const a=i.MathJax.config||{};var o=s(939),l=function(t,e,s,i){return new(s||(s=Promise))((function(r,n){function a(t){try{l(i.next(t))}catch(t){n(t)}}function o(t){try{l(i.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(a,o)}l((i=i.apply(t,e||[])).next())}))};const c={source:t=>(Object.hasOwn(p.source,t.name)&&(t.name=p.source[t.name]),!0),normalize:t=>{const e=t.name;return e.match(/^(?:[a-z]+:\/)?\/|[a-z]:\\|\[/i)||(t.name="[mathjax]/"+e.replace(/^\.\//,"")),!0},prefix:t=>{let e;for(;(e=t.name.match(/^\[([^\]]*)\]/))&&Object.hasOwn(p.paths,e[1]);)t.name=p.paths[e[1]]+t.name.substring(e[0].length);return!0},addExtension:t=>(t.addExtension&&!t.name.match(/\.[^/]+$/)&&(t.name+=".js"),!0)},h=i.MathJax.version,d={versions:new Map,nestedLoads:[],ready(...t){0===t.length&&(t=Array.from(r.Package.packages.keys()));const e=[];for(const s of t){const t=r.Package.packages.get(s)||new r.Package(s,!0);e.push(t.promise)}return Promise.all(e)},load(...t){if(0===t.length)return Promise.resolve([]);let e=[];this.nestedLoads.unshift(e);const s=Promise.resolve().then((()=>l(this,void 0,void 0,(function*(){const s=[];for(const e of t){let t=r.Package.packages.get(e);t||(t=new r.Package(e),t.provides(p.provides[e])),t.checkNoLoad(),s.push(t.promise.then((()=>(p.versionWarnings&&t.isLoaded&&!d.versions.has(r.Package.resolvePath(e))&&console.warn(`No version information available for component ${e}`),t.result))))}r.Package.loadAll();const i=yield Promise.all(s);for(;e.length;){const t=Promise.all(e);e=this.nestedLoads[this.nestedLoads.indexOf(e)]=[],yield t}return this.nestedLoads.splice(this.nestedLoads.indexOf(e),1),i}))));return this.nestedLoads.slice(1).forEach((t=>t.push(s))),s},preLoaded(...t){for(const e of t){let t=r.Package.packages.get(e);t||(t=new r.Package(e,!0),t.provides(p.provides[e])),t.loaded()}},addPackageData(t,e){let s=p[t];s||(s=p[t]={});for(const[t,i]of Object.entries(e))if(Array.isArray(i)){s[t]||(s[t]=[]);const e=new Set([...s[t],...i]);s[t]=[...e]}else s[t]=i},defaultReady(){void 0!==u.startup&&u.config.startup.ready()},getRoot(){if(o.context.document){const t=o.context.document.currentScript||o.context.document.getElementById("MathJax-script");if(t&&t instanceof HTMLScriptElement)return t.src.replace(/\/[^/]*$/,"")}return a?.loader?.paths?.mathjax||a?.__dirname||"/"},checkVersion(t,e,s){return this.saveVersion(t),!(!p.versionWarnings||e===h)&&(console.warn(`Component ${t} uses ${e} of MathJax; version in use is ${h}`),!0)},saveVersion(t){d.versions.set(r.Package.resolvePath(t),h)},pathFilters:new n.FunctionList};d.pathFilters.add(c.source,0),d.pathFilters.add(c.normalize,10),d.pathFilters.add(c.prefix,20),d.pathFilters.add(c.addExtension,30);const u=i.MathJax;if(void 0===u.loader){(0,i.combineDefaults)(u.config,"loader",{paths:{mathjax:d.getRoot()},source:{},dependencies:{},provides:{},load:[],ready:d.defaultReady.bind(d),failed:t=>console.log(`MathJax(${t.package||"?"}): ${t.message}`),require:null,pathFilters:[],versionWarnings:!0}),(0,i.combineWithMathJax)({loader:d});for(const t of u.config.loader.pathFilters)Array.isArray(t)?d.pathFilters.add(t[0],t[1]):d.pathFilters.add(t)}const p=u.config.loader},680:(t,e,s)=>{"use strict";var i={};s.r(i),s.d(i,{CONFIG:()=>m,MathJax:()=>p,Startup:()=>u});var r=s(977),n=s(516),a=s(648),o=s(296),l=s(983),c=s(6),h=s(939),d=function(t,e,s,i){return new(s||(s=Promise))((function(r,n){function a(t){try{l(i.next(t))}catch(t){n(t)}}function o(t){try{l(i.throw(t))}catch(t){n(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof s?e:new s((function(t){t(e)}))).then(a,o)}l((i=i.apply(t,e||[])).next())}))};class u{static toMML(t){return u.visitor.visitTree(t,this.document)}static registerConstructor(t,e){u.constructors[t]=e}static useHandler(t,e=!1){m.handler&&!e||(m.handler=t)}static useAdaptor(t,e=!1){m.adaptor&&!e||(m.adaptor=t)}static useInput(t,e=!1){E&&!e||m.input.push(t)}static useOutput(t,e=!1){m.output&&!e||(m.output=t)}static extendHandler(t,e=10){u.extensions.add(t,e)}static defaultReady(){u.getComponents(),u.makeMethods(),u.pagePromise.then((()=>m.pageReady())).then((()=>u.promiseResolve())).catch((t=>u.promiseReject(t)))}static defaultPageReady(){return(m.loadAllFontFiles&&u.output.font?u.output.font.loadDynamicFiles():Promise.resolve()).then((()=>{var t;return null===(t=u.document.menu)||void 0===t?void 0:t.loadingPromise})).then(m.typeset&&p.typesetPromise?()=>u.typesetPromise(m.elements):Promise.resolve()).then((()=>u.promiseResolve()))}static typesetPromise(t){return this.hasTypeset=!0,u.document.whenReady((()=>d(this,void 0,void 0,(function*(){u.document.options.elements=t,u.document.reset(),yield u.document.renderPromise()}))))}static getComponents(){u.visitor=new p._.core.MmlTree.SerializedMmlVisitor.SerializedMmlVisitor,u.mathjax=p._.mathjax.mathjax,u.input=u.getInputJax(),u.output=u.getOutputJax(),u.adaptor=u.getAdaptor(),u.handler&&u.mathjax.handlers.unregister(u.handler),u.handler=u.getHandler(),u.handler&&(u.mathjax.handlers.register(u.handler),u.document=u.getDocument())}static makeMethods(){u.input&&u.output&&u.makeTypesetMethods();const t=u.output?u.output.name.toLowerCase():"";for(const e of u.input){const s=e.name.toLowerCase();u.makeMmlMethods(s,e),u.makeResetMethod(s,e),u.output&&u.makeOutputMethods(s,t,e)}p.done=()=>u.document.done(),p.whenReady=t=>u.document.whenReady(t)}static makeTypesetMethods(){p.typeset=(t=null)=>{this.hasTypeset=!0,u.document.options.elements=t,u.document.reset(),u.document.render()},p.typesetPromise=(t=null)=>u.typesetPromise(t),p.typesetClear=(t=null)=>{t?u.document.clearMathItemsWithin(t):u.document.clear()}}static makeOutputMethods(t,e,s){const i=t+"2"+e;p[i]=(t,e={})=>(e=Object.assign(Object.assign({},e),{format:s.name}),u.document.convert(t,e)),p[i+"Promise"]=(t,e={})=>(e=Object.assign(Object.assign({},e),{format:s.name}),u.document.convertPromise(t,e)),p[e+"Stylesheet"]=()=>u.output.styleSheet(u.document),"getMetricsFor"in u.output&&(p.getMetricsFor=(t,e)=>u.output.getMetricsFor(t,e))}static makeMmlMethods(t,e){const s=p._.core.MathItem.STATE;p[t+"2mml"]=(t,i={})=>(i=Object.assign(Object.assign({},i),{end:s.CONVERT,format:e.name}),u.toMML(u.document.convert(t,i))),p[t+"2mmlPromise"]=(t,...i)=>d(this,[t,...i],void 0,(function*(t,i={}){i=Object.assign(Object.assign({},i),{end:s.CONVERT,format:e.name});const r=yield u.document.convertPromise(t,i);return u.toMML(r)}))}static makeResetMethod(t,e){p[t+"Reset"]=(...t)=>e.reset(...t)}static getInputJax(){const t=[];for(const e of m.input){const s=u.constructors[e];if(!s)throw Error('Input Jax "'+e+'" is not defined (has it been loaded?)');t[e]=new s(p.config[e]),t.push(t[e])}return t}static getOutputJax(){const t=m.output;if(!t)return null;const e=u.constructors[t];if(!e)throw Error('Output Jax "'+t+'" is not defined (has it been loaded?)');return new e(p.config[t])}static getAdaptor(){const t=m.adaptor;if(!t||"none"===t)return null;const e=u.constructors[t];if(!e)throw Error('DOMAdaptor "'+t+'" is not defined (has it been loaded?)');return e(p.config[t])}static getHandler(){const t=m.handler;if(!t||"none"===t||!u.adaptor)return null;const e=u.constructors[t];if(!e)throw Error('Handler "'+t+'" is not defined (has it been loaded?)');let s=new e(u.adaptor,5);for(const t of u.extensions)s=t.item(s);return s}static getDocument(t=null){return u.mathjax.document(t||m.document,Object.assign(Object.assign({},p.config.options),{InputJax:u.input,OutputJax:u.output}))}}u.extensions=new l.PrioritizedList,u.constructors={},u.input=[],u.output=null,u.handler=null,u.adaptor=null,u.elements=null,u.document=null,u.promise=new Promise(((t,e)=>{u.promiseResolve=t,u.promiseReject=e})),u.pagePromise=new Promise(((t,e)=>{const s=r.GLOBAL.document;if(s&&s.readyState&&"complete"!==s.readyState&&"interactive"!==s.readyState){const e=()=>t();s.defaultView.addEventListener("load",e,!0),s.defaultView.addEventListener("DOMContentLoaded",e,!0)}else t()})),u.hasTypeset=!1,u.defaultOptionError=c.OPTIONS.optionError;const p=r.MathJax;void 0===p._.startup&&((0,r.combineDefaults)(p.config,"startup",{input:[],output:"",handler:null,adaptor:null,document:h.context.document||"",elements:null,typeset:!0,ready:u.defaultReady.bind(u),pageReady:u.defaultPageReady.bind(u)}),(0,r.combineWithMathJax)({startup:u,options:{}}),p.config.startup.invalidOption&&(c.OPTIONS.invalidOption=p.config.startup.invalidOption),p.config.startup.optionError&&(c.OPTIONS.optionError=p.config.startup.optionError));const m=p.config.startup,E=0!==m.input.length;MathJax.loader&&MathJax.loader.checkVersion("startup",n.x,"startup"),(0,r.combineWithMathJax)({_:{components:{loader:a,package:o,startup:i}}});a.Loader.preLoaded("loader","startup"),(0,r.combineDefaults)(MathJax.config.loader,"dependencies",{"a11y/semantic-enrich":["input/mml","a11y/sre"],"a11y/speech":["a11y/semantic-enrich"],"a11y/complexity":["a11y/semantic-enrich"],"a11y/explorer":["a11y/speech"],"[mml]/mml3":["input/mml"],"[tex]/action":["input/tex-base"],"[tex]/ams":["input/tex-base","[tex]/newcommand"],"[tex]/amscd":["input/tex-base"],"[tex]/autoload":["input/tex-base","[tex]/require"],"[tex]/bbm":["input/tex-base"],"[tex]/bboldx":["input/tex-base","[tex]/textmacros"],"[tex]/bbox":["input/tex-base"],"[tex]/begingroup":["input/tex-base","[tex]/newcommand"],"[tex]/boldsymbol":["input/tex-base"],"[tex]/braket":["input/tex-base"],"[tex]/bussproofs":["input/tex-base"],"[tex]/cancel":["input/tex-base","[tex]/enclose"],"[tex]/cases":["[tex]/empheq"],"[tex]/centernot":["input/tex-base"],"[tex]/color":["input/tex-base"],"[tex]/colortbl":["input/tex-base","[tex]/color"],"[tex]/colorv2":["input/tex-base"],"[tex]/configmacros":["input/tex-base","[tex]/newcommand"],"[tex]/dsfont":["input/tex-base"],"[tex]/empheq":["input/tex-base","[tex]/ams"],"[tex]/enclose":["input/tex-base"],"[tex]/extpfeil":["input/tex-base","[tex]/newcommand","[tex]/ams"],"[tex]/gensymb":["input/tex-base"],"[tex]/html":["input/tex-base"],"[tex]/mathtools":["input/tex-base","[tex]/newcommand","[tex]/ams","[tex]/boldsymbol"],"[tex]/mhchem":["input/tex-base","[tex]/ams"],"[tex]/newcommand":["input/tex-base"],"[tex]/noerrors":["input/tex-base"],"[tex]/noundefined":["input/tex-base"],"[tex]/physics":["input/tex-base"],"[tex]/require":["input/tex-base"],"[tex]/setoptions":["input/tex-base"],"[tex]/tagformat":["input/tex-base"],"[tex]/texhtml":["input/tex-base"],"[tex]/textcomp":["input/tex-base","[tex]/textmacros"],"[tex]/textmacros":["input/tex-base"],"[tex]/unicode":["input/tex-base"],"[tex]/units":["input/tex-base"],"[tex]/upgreek":["input/tex-base"],"[tex]/verb":["input/tex-base"],"ui/menu":["a11y/sre"]}),(0,r.combineDefaults)(MathJax.config.loader,"paths",{tex:"[mathjax]/input/tex/extensions",mml:"[mathjax]/input/mml/extensions",sre:"[mathjax]/sre",mathmaps:"[sre]/mathmaps"}),(0,r.combineDefaults)(MathJax.config.loader,"provides",{startup:["loader"],"input/tex":["input/tex-base","[tex]/ams","[tex]/newcommand","[tex]/textmacros","[tex]/noundefined","[tex]/require","[tex]/autoload","[tex]/configmacros"]}),(0,r.combineDefaults)(MathJax.config.loader,"source",{"[tex]/amsCd":"[tex]/amscd","[tex]/colorV2":"[tex]/colorv2","[tex]/configMacros":"[tex]/configmacros","[tex]/tagFormat":"[tex]/tagformat"})},780:(t,e,s)=>{"use strict";s.r(e),s.d(e,{asyncLoad:()=>r});var i=s(850);function r(t){return i.mathjax.asyncLoad?new Promise(((e,s)=>{const r=i.mathjax.asyncLoad(t);r instanceof Promise?r.then((t=>e(t))).catch((t=>s(t))):e(r)})):Promise.reject(`Can't load '${t}': No mathjax.asyncLoad method specified`)}},850:(t,e,s)=>{"use strict";s.r(e),s.d(e,{mathjax:()=>o});var i=s(516),r=s(903),n=s(462),a=s(939);const o={version:i.x,context:a.context,handlers:new r.HandlerList,document:function(t,e){return o.handlers.document(t,e)},handleRetriesFor:n.handleRetriesFor,retryAfter:n.retryAfter,asyncLoad:null,asyncIsSynchronous:!1}},903:(t,e,s)=>{"use strict";s.r(e),s.d(e,{HandlerList:()=>r});var i=s(983);class r extends i.PrioritizedList{register(t){return this.add(t,t.priority)}unregister(t){this.remove(t)}handlesDocument(t){for(const e of this){const s=e.item;if(s.handlesDocument(t))return s}throw new Error("Can't find handler for document")}document(t,e=null){return this.handlesDocument(t).create(t,e)}}},939:(t,e,s)=>{"use strict";s.r(e),s.d(e,{context:()=>r,hasWindow:()=>i});const i="undefined"!=typeof window,r={window:i?window:null,document:i?window.document:null,os:(()=>{if(i&&window.navigator){const t=window.navigator.appVersion,e=[["Win","Windows"],["Mac","MacOS"],["X11","Unix"],["Linux","Unix"]];for(const[s,i]of e)if(t.includes(s))return i;if(window.navigator.userAgent.includes("Android"))return"Unix"}return"unknown"})()}},977:(t,e,s)=>{"use strict";s.r(e),s.d(e,{GLOBAL:()=>r,MathJax:()=>c,combineConfig:()=>a,combineDefaults:()=>o,combineWithMathJax:()=>l,isObject:()=>n});var i=s(516);const r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:{};function n(t){return"object"==typeof t&&null!==t}function a(t,e,s=!1){var i;for(const r of Object.keys(e))"__esModule"!==r&&t[r]!==e[r]&&null!==e[r]&&void 0!==e[r]&&(n(t[r])&&n(e[r])?a(t[r],e[r],s||"_"===r):s&&(null===(i=Object.getOwnPropertyDescriptor(t,r))||void 0===i?void 0:i.get)||(t[r]=e[r]));return t}function o(t,e,s){t[e]||(t[e]={}),t=t[e];for(const e of Object.keys(s))n(t[e])&&n(s[e])?o(t,e,s[e]):null==t[e]&&null!=s[e]&&(t[e]=s[e]);return t}function l(t){return a(c,t)}void 0!==r.MathJax&&r.MathJax.constructor==={}.constructor||(r.MathJax={}),r.MathJax.version||(r.MathJax={version:i.x,_:{},config:r.MathJax});const c=r.MathJax},983:(t,e,s)=>{"use strict";s.r(e),s.d(e,{PrioritizedList:()=>i});class i{constructor(){this.items=[],this.items=[]}[Symbol.iterator](){let t=0;const e=this.items;return{next:()=>({value:e[t++],done:t>e.length})}}add(t,e=i.DEFAULTPRIORITY){let s=this.items.length;do{s--}while(s>=0&&e<this.items[s].priority);return this.items.splice(s+1,0,{item:t,priority:e}),t}remove(t){let e=this.items.length;do{e--}while(e>=0&&this.items[e].item!==t);return e>=0&&this.items.splice(e,1),this}}i.DEFAULTPRIORITY=5},989:(t,e,s)=>{"use strict";s.r(e),s.d(e,{add:()=>l,entities:()=>a,numeric:()=>u,options:()=>n,remove:()=>c,translate:()=>h});var i=s(462),r=s(780);const n={loadMissingEntities:!0},a={ApplyFunction:"\u2061",Backslash:"\u2216",Because:"\u2235",Breve:"\u02d8",Cap:"\u22d2",CenterDot:"\xb7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",Congruent:"\u2261",ContourIntegral:"\u222e",Coproduct:"\u2210",Cross:"\u2a2f",Cup:"\u22d3",CupCap:"\u224d",Dagger:"\u2021",Del:"\u2207",Delta:"\u0394",Diamond:"\u22c4",DifferentialD:"\u2146",DotEqual:"\u2250",DoubleDot:"\xa8",DoubleRightTee:"\u22a8",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownLeftVector:"\u21bd",DownRightVector:"\u21c1",DownTee:"\u22a4",Downarrow:"\u21d3",Element:"\u2208",EqualTilde:"\u2242",Equilibrium:"\u21cc",Exists:"\u2203",ExponentialE:"\u2147",FilledVerySmallSquare:"\u25aa",ForAll:"\u2200",Gamma:"\u0393",Gg:"\u22d9",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",Hacek:"\u02c7",Hat:"^",HumpDownHump:"\u224e",HumpEqual:"\u224f",Im:"\u2111",ImaginaryI:"\u2148",Integral:"\u222b",Intersection:"\u22c2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Lambda:"\u039b",Larr:"\u219e",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",LeftArrowRightArrow:"\u21c6",LeftCeiling:"\u2308",LeftDownVector:"\u21c3",LeftFloor:"\u230a",LeftRightArrow:"\u2194",LeftTee:"\u22a3",LeftTriangle:"\u22b2",LeftTriangleEqual:"\u22b4",LeftUpVector:"\u21bf",LeftVector:"\u21bc",Leftarrow:"\u21d0",Leftrightarrow:"\u21d4",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",Ll:"\u22d8",Lleftarrow:"\u21da",LongLeftArrow:"\u27f5",LongLeftRightArrow:"\u27f7",LongRightArrow:"\u27f6",Longleftarrow:"\u27f8",Longleftrightarrow:"\u27fa",Longrightarrow:"\u27f9",Lsh:"\u21b0",MinusPlus:"\u2213",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotLeftTriangle:"\u22ea",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotPrecedes:"\u2280",NotPrecedesSlantEqual:"\u22e0",NotRightTriangle:"\u22eb",NotRightTriangleEqual:"\u22ed",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsSlantEqual:"\u22e1",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotVerticalBar:"\u2224",Omega:"\u03a9",OverBar:"\u203e",OverBrace:"\u23de",PartialD:"\u2202",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",Product:"\u220f",Proportional:"\u221d",Psi:"\u03a8",Rarr:"\u21a0",Re:"\u211c",ReverseEquilibrium:"\u21cb",RightAngleBracket:"\u27e9",RightArrow:"\u2192",RightArrowLeftArrow:"\u21c4",RightCeiling:"\u2309",RightDownVector:"\u21c2",RightFloor:"\u230b",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTriangle:"\u22b3",RightTriangleEqual:"\u22b5",RightUpVector:"\u21be",RightVector:"\u21c0",Rightarrow:"\u21d2",Rrightarrow:"\u21db",Rsh:"\u21b1",Sigma:"\u03a3",SmallCircle:"\u2218",Sqrt:"\u221a",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Star:"\u22c6",Subset:"\u22d0",SubsetEqual:"\u2286",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",SuchThat:"\u220b",Sum:"\u2211",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22d1",Therefore:"\u2234",Theta:"\u0398",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",UnderBar:"_",UnderBrace:"\u23df",Union:"\u22c3",UnionPlus:"\u228e",UpArrow:"\u2191",UpDownArrow:"\u2195",UpTee:"\u22a5",Uparrow:"\u21d1",Updownarrow:"\u21d5",Upsilon:"\u03a5",Vdash:"\u22a9",Vee:"\u22c1",VerticalBar:"\u2223",VerticalTilde:"\u2240",Vvdash:"\u22aa",Wedge:"\u22c0",Xi:"\u039e",amp:"&",acute:"\xb4",aleph:"\u2135",alpha:"\u03b1",amalg:"\u2a3f",and:"\u2227",ang:"\u2220",angmsd:"\u2221",angsph:"\u2222",ape:"\u224a",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",beta:"\u03b2",beth:"\u2136",between:"\u226c",bigcirc:"\u25ef",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",blacklozenge:"\u29eb",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",bowtie:"\u22c8",boxdl:"\u2510",boxdr:"\u250c",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxur:"\u2514",bsol:"\\",bull:"\u2022",cap:"\u2229",check:"\u2713",chi:"\u03c7",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledR:"\xae",circledS:"\u24c8",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",clubs:"\u2663",colon:":",comp:"\u2201",ctdot:"\u22ef",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cup:"\u222a",curarr:"\u21b7",curlyvee:"\u22ce",curlywedge:"\u22cf",dagger:"\u2020",daleth:"\u2138",ddarr:"\u21ca",deg:"\xb0",delta:"\u03b4",digamma:"\u03dd",div:"\xf7",divideontimes:"\u22c7",dot:"\u02d9",doteqdot:"\u2251",dotplus:"\u2214",dotsquare:"\u22a1",dtdot:"\u22f1",ecir:"\u2256",efDot:"\u2252",egs:"\u2a96",ell:"\u2113",els:"\u2a95",empty:"\u2205",epsi:"\u03b5",epsiv:"\u03f5",erDot:"\u2253",eta:"\u03b7",eth:"\xf0",flat:"\u266d",fork:"\u22d4",frown:"\u2322",gEl:"\u2a8c",gamma:"\u03b3",gap:"\u2a86",gimel:"\u2137",gnE:"\u2269",gnap:"\u2a8a",gne:"\u2a88",gnsim:"\u22e7",gt:">",gtdot:"\u22d7",harrw:"\u21ad",hbar:"\u210f",hellip:"\u2026",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",imath:"\u0131",infin:"\u221e",intcal:"\u22ba",iota:"\u03b9",jmath:"\u0237",kappa:"\u03ba",kappav:"\u03f0",lEg:"\u2a8b",lambda:"\u03bb",lap:"\u2a85",larrlp:"\u21ab",larrtl:"\u21a2",lbrace:"{",lbrack:"[",le:"\u2264",leftleftarrows:"\u21c7",leftthreetimes:"\u22cb",lessdot:"\u22d6",lmoust:"\u23b0",lnE:"\u2268",lnap:"\u2a89",lne:"\u2a87",lnsim:"\u22e6",longmapsto:"\u27fc",looparrowright:"\u21ac",lowast:"\u2217",loz:"\u25ca",lt:"<",ltimes:"\u22c9",ltri:"\u25c3",macr:"\xaf",malt:"\u2720",mho:"\u2127",mu:"\u03bc",multimap:"\u22b8",nLeftarrow:"\u21cd",nLeftrightarrow:"\u21ce",nRightarrow:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",natur:"\u266e",nearr:"\u2197",nharr:"\u21ae",nlarr:"\u219a",not:"\xac",nrarr:"\u219b",nu:"\u03bd",nvDash:"\u22ad",nvdash:"\u22ac",nwarr:"\u2196",omega:"\u03c9",omicron:"\u03bf",or:"\u2228",osol:"\u2298",period:".",phi:"\u03c6",phiv:"\u03d5",pi:"\u03c0",piv:"\u03d6",prap:"\u2ab7",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",prime:"\u2032",psi:"\u03c8",quot:'"',rarrtl:"\u21a3",rbrace:"}",rbrack:"]",rho:"\u03c1",rhov:"\u03f1",rightrightarrows:"\u21c9",rightthreetimes:"\u22cc",ring:"\u02da",rmoust:"\u23b1",rtimes:"\u22ca",rtri:"\u25b9",scap:"\u2ab8",scnE:"\u2ab6",scnap:"\u2aba",scnsim:"\u22e9",sdot:"\u22c5",searr:"\u2198",sect:"\xa7",sharp:"\u266f",sigma:"\u03c3",sigmav:"\u03c2",simne:"\u2246",smile:"\u2323",spades:"\u2660",sub:"\u2282",subE:"\u2ac5",subnE:"\u2acb",subne:"\u228a",supE:"\u2ac6",supnE:"\u2acc",supne:"\u228b",swarr:"\u2199",tau:"\u03c4",theta:"\u03b8",thetav:"\u03d1",tilde:"\u02dc",times:"\xd7",triangle:"\u25b5",triangleq:"\u225c",upsi:"\u03c5",upuparrows:"\u21c8",veebar:"\u22bb",vellip:"\u22ee",weierp:"\u2118",xi:"\u03be",yen:"\xa5",zeta:"\u03b6",zigrarr:"\u21dd",nbsp:"\xa0",rsquo:"\u2019",lsquo:"\u2018"},o={};function l(t,e){Object.assign(a,t),o[e]=!0}function c(t){delete a[t]}function h(t){return t.replace(/&([a-z][a-z0-9]*|#(?:[0-9]+|x[0-9a-f]+));/gi,d)}function d(t,e){if("#"===e.charAt(0))return u(e.slice(1));if(a[e])return a[e];if(n.loadMissingEntities){const t=e.match(/^[a-zA-Z](fr|scr|opf)$/)?RegExp.$1:e.charAt(0).toLowerCase();o[t]||(o[t]=!0,(0,i.retryAfter)((0,r.asyncLoad)("./util/entities/"+t+".js")))}return t}function u(t){const e="x"===t.charAt(0)?parseInt(t.slice(1),16):parseInt(t);return String.fromCodePoint(e)}}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var s=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](s,s.exports,__webpack_require__),s.exports}__webpack_require__.d=(t,e)=>{for(var s in e)__webpack_require__.o(e,s)&&!__webpack_require__.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var __webpack_exports__={};(()=>{"use strict";__webpack_require__.d(__webpack_exports__,{MathJax:()=>node_main_MathJax});var _startup_init_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(680),_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(648),_js_components_package_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(296),_js_components_global_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(977),_core_core_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(46),_adaptors_liteDOM_liteDOM_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(164),_source_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(281);const node_main_MathJax=global.MathJax,path=eval('require("path")'),dir=node_main_MathJax.config.__dirname;(0,_js_components_global_js__WEBPACK_IMPORTED_MODULE_3__.combineDefaults)(node_main_MathJax.config,"loader",{paths:{"mathjax-newcm":"@mathjax/mathjax-newcm-font"},require:eval("(file) => import(file)"),failed:t=>{throw t}}),(0,_js_components_global_js__WEBPACK_IMPORTED_MODULE_3__.combineDefaults)(node_main_MathJax.config,"output",{font:"mathjax-newcm"}),_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.Loader.preLoaded("loader","startup","core","adaptors/liteDOM"),"node-main"===path.basename(dir)?(_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.CONFIG.paths.esm=_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.CONFIG.paths.mathjax,_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.CONFIG.paths.sre="[esm]/sre",_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.CONFIG.paths.mathjax=path.dirname(dir),(0,_js_components_global_js__WEBPACK_IMPORTED_MODULE_3__.combineDefaults)(_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.CONFIG,"source",_source_js__WEBPACK_IMPORTED_MODULE_6__.s)):_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.CONFIG.paths.mathjax=dir;const ROOT=path.resolve(dir,"..","..","..",path.basename(path.dirname(dir))),REQUIRE=node_main_MathJax.config.loader.require;node_main_MathJax._.mathjax.mathjax.asyncLoad=function(t){return REQUIRE("."===t.charAt(0)?path.resolve(ROOT,t):"["===t.charAt(0)?_js_components_package_js__WEBPACK_IMPORTED_MODULE_2__.Package.resolvePath(t):t)};const init=node_main_MathJax.init=(t={})=>((0,_js_components_global_js__WEBPACK_IMPORTED_MODULE_3__.combineConfig)(node_main_MathJax.config,t),_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.Loader.load(..._js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.CONFIG.load).then((()=>_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.CONFIG.ready())).then((()=>node_main_MathJax.startup.promise)).then((()=>node_main_MathJax)).catch((t=>_js_components_loader_js__WEBPACK_IMPORTED_MODULE_1__.CONFIG.failed(t))))})(),exports.MathJax=__webpack_exports__.MathJax})(); |