You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
venv/PyCharm 2025.2.1.1/plugins/python/jupyter-web/7347.js

1 line
55 KiB

"use strict";(self.webpackChunkjupyter_web=self.webpackChunkjupyter_web||[]).push([[7347,1326],{31539:(H,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.VERSION=void 0,c.VERSION="3.2.2"},52494:function(H,c,O){var v,g=this&&this.__extends||(v=function(T,a){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,f){u.__proto__=f}||function(u,f){for(var n in f)Object.prototype.hasOwnProperty.call(f,n)&&(u[n]=f[n])})(T,a)},function(T,a){if("function"!=typeof a&&null!==a)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");function u(){this.constructor=T}v(T,a),T.prototype=null===a?Object.create(a):(u.prototype=a.prototype,new u)}),C=this&&this.__values||function(v){var T="function"==typeof Symbol&&Symbol.iterator,a=T&&v[T],u=0;if(a)return a.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&u>=v.length&&(v=void 0),{value:v&&v[u++],done:!v}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(c,"__esModule",{value:!0}),c.HandlerList=void 0;var m=function(v){function T(){return null!==v&&v.apply(this,arguments)||this}return g(T,v),T.prototype.register=function(a){return this.add(a,a.priority)},T.prototype.unregister=function(a){this.remove(a)},T.prototype.handlesDocument=function(a){var u,f;try{for(var n=C(this),e=n.next();!e.done;e=n.next()){var r=e.value.item;if(r.handlesDocument(a))return r}}catch(i){u={error:i}}finally{try{e&&!e.done&&(f=n.return)&&f.call(n)}finally{if(u)throw u.error}}throw new Error("Can't find handler for document")},T.prototype.document=function(a,u){return void 0===u&&(u=null),this.handlesDocument(a).create(a,u)},T}(O(63670).PrioritizedList);c.HandlerList=m},8890:function(H,c,O){var g=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},C=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var s,l,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(s=i.next()).done;)o.push(s.value)}catch(h){l={error:h}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(l)throw l.error}}return o};Object.defineProperty(c,"__esModule",{value:!0}),c.ParserConfiguration=c.ConfigurationHandler=c.Configuration=void 0;var f,e,t,w=O(80084),m=O(96393),v=O(55418),T=O(63670),a=O(22450),u=function(){function e(t,r,i,s,o,l,h,y,A,b,k,B,I){void 0===r&&(r={}),void 0===i&&(i={}),void 0===s&&(s={}),void 0===o&&(o={}),void 0===l&&(l={}),void 0===h&&(h={}),void 0===y&&(y=[]),void 0===A&&(A=[]),void 0===b&&(b=null),void 0===k&&(k=null),this.name=t,this.handler=r,this.fallback=i,this.items=s,this.tags=o,this.options=l,this.nodes=h,this.preprocessors=y,this.postprocessors=A,this.initMethod=b,this.configMethod=k,this.priority=B,this.parser=I,this.handler=Object.assign({character:[],delimiter:[],macro:[],environment:[]},r)}return e.makeProcessor=function(t,r){return Array.isArray(t)?t:[t,r]},e._create=function(t,r){var i=this;void 0===r&&(r={});var s=r.priority||T.PrioritizedList.DEFAULTPRIORITY,o=r.init?this.makeProcessor(r.init,s):null,l=r.config?this.makeProcessor(r.config,s):null,h=(r.preprocessors||[]).map(function(b){return i.makeProcessor(b,s)}),y=(r.postprocessors||[]).map(function(b){return i.makeProcessor(b,s)}),A=r.parser||"tex";return new e(t,r.handler||{},r.fallback||{},r.items||{},r.tags||{},r.options||{},r.nodes||{},h,y,o,l,s,A)},e.create=function(t,r){void 0===r&&(r={});var i=e._create(t,r);return f.set(t,i),i},e.local=function(t){return void 0===t&&(t={}),e._create("",t)},Object.defineProperty(e.prototype,"init",{get:function(){return this.initMethod?this.initMethod[0]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return this.configMethod?this.configMethod[0]:null},enumerable:!1,configurable:!0}),e}();c.Configuration=u,e=f=c.ConfigurationHandler||(c.ConfigurationHandler={}),t=new Map,e.set=function(r,i){t.set(r,i)},e.get=function(r){return t.get(r)},e.keys=function(){return t.keys()};var n=function(){function e(t,r){var i,s,o,l;void 0===r&&(r=["tex"]),this.initMethod=new v.FunctionList,this.configMethod=new v.FunctionList,this.configurations=new T.PrioritizedList,this.parsers=[],this.handlers=new m.SubHandlers,this.items={},this.tags={},this.options={},this.nodes={},this.parsers=r;try{for(var h=g(t.slice().reverse()),y=h.next();!y.done;y=h.next()){var A=y.value;this.addPackage(A)}}catch(V){i={error:V}}finally{try{y&&!y.done&&(s=h.return)&&s.call(h)}finally{if(i)throw i.error}}try{for(var b=g(this.configurations),k=b.next();!k.done;k=b.next()){var B=k.value,I=B.item,R=B.priority;this.append(I,R)}}catch(V){o={error:V}}finally{try{k&&!k.done&&(l=b.return)&&l.call(b)}finally{if(o)throw o.error}}}return e.prototype.init=function(){this.initMethod.execute(this)},e.prototype.config=function(t){var r,i;this.configMethod.execute(this,t);try{for(var s=g(this.configurations),o=s.next();!o.done;o=s.next()){var l=o.value;this.addFilters(t,l.item)}}catch(h){r={error:h}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}},e.prototype.addPackage=function(t){var r="string"==typeof t?t:t[0],i=this.getPackage(r);i&&this.configurations.add(i,"string"==typeof t?i.priority:t[1])},e.prototype.add=function(t,r,i){var s,o;void 0===i&&(i={});var l=this.getPackage(t);this.append(l),this.configurations.add(l,l.priority),this.init();var h=r.parseOptions;h.nodeFactory.setCreators(l.nodes);try{for(var y=g(Object.keys(l.items)),A=y.next();!A.done;A=y.next()){var b=A.value;h.itemFactory.setNodeClass(b,l.items[b])}}catch(k){s={error:k}}finally{try{A&&!A.done&&(o=y.return)&&o.call(y)}finally{if(s)throw s.error}}a.TagsFactory.addTags(l.tags),(0,w.defaultOptions)(h.options,l.options),(0,w.userOptions)(h.options,i),this.addFilters(r,l),l.config&&l.config(this,r)},e.prototype.getPackage=function(t){var r=f.get(t);if(r&&this.parsers.indexOf(r.parser)<0)throw Error("Package ".concat(t," doesn't target the proper parser"));return r},e.prototype.append=function(t,r){r=r||t.priority,t.initMethod&&this.initMethod.add(t.initMethod[0],t.initMethod[1]),t.configMethod&&this.configMethod.add(t.configMethod[0],t.configMethod[1]),this.handlers.add(t.handler,t.fallback,r),Object.assign(this.items,t.items),Object.assign(this.tags,t.tags),(0,w.defaultOptions)(this.options,t.options),Object.assign(this.nodes,t.nodes)},e.prototype.addFilters=function(t,r){var i,s,o,l;try{for(var h=g(r.preprocessors),y=h.next();!y.done;y=h.next()){var A=C(y.value,2),b=A[0],k=A[1];t.preFilters.add(b,k)}}catch(J){i={error:J}}finally{try{y&&!y.done&&(s=h.return)&&s.call(h)}finally{if(i)throw i.error}}try{for(var B=g(r.postprocessors),I=B.next();!I.done;I=B.next()){var R=C(I.value,2),V=R[0];k=R[1];t.postFilters.add(V,k)}}catch(J){o={error:J}}finally{try{I&&!I.done&&(l=B.return)&&l.call(B)}finally{if(o)throw o.error}}},e}();c.ParserConfiguration=n},96393:function(H,c,O){var g=this&&this.__values||function(u){var f="function"==typeof Symbol&&Symbol.iterator,n=f&&u[f],e=0;if(n)return n.call(u);if(u&&"number"==typeof u.length)return{next:function(){return u&&e>=u.length&&(u=void 0),{value:u&&u[e++],done:!u}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")},C=this&&this.__read||function(u,f){var n="function"==typeof Symbol&&u[Symbol.iterator];if(!n)return u;var t,i,e=n.call(u),r=[];try{for(;(void 0===f||f-- >0)&&!(t=e.next()).done;)r.push(t.value)}catch(s){i={error:s}}finally{try{t&&!t.done&&(n=e.return)&&n.call(e)}finally{if(i)throw i.error}}return r};Object.defineProperty(c,"__esModule",{value:!0}),c.SubHandlers=c.SubHandler=c.MapHandler=void 0;var v,u,f,w=O(63670),m=O(55418);u=v=c.MapHandler||(c.MapHandler={}),f=new Map,u.register=function(n){f.set(n.name,n)},u.getMap=function(n){return f.get(n)};var T=function(){function u(){this._configuration=new w.PrioritizedList,this._fallback=new m.FunctionList}return u.prototype.add=function(f,n,e){var t,r;void 0===e&&(e=w.PrioritizedList.DEFAULTPRIORITY);try{for(var i=g(f.slice().reverse()),s=i.next();!s.done;s=i.next()){var o=s.value,l=v.getMap(o);if(!l)return void this.warn("Configuration "+o+" not found! Omitted.");this._configuration.add(l,e)}}catch(h){t={error:h}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}n&&this._fallback.add(n,e)},u.prototype.parse=function(f){var n,e;try{for(var t=g(this._configuration),r=t.next();!r.done;r=t.next()){var s=r.value.item.parse(f);if(s)return s}}catch(y){n={error:y}}finally{try{r&&!r.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}var o=C(f,2),l=o[0],h=o[1];Array.from(this._fallback)[0].item(l,h)},u.prototype.lookup=function(f){var n=this.applicable(f);return n?n.lookup(f):null},u.prototype.contains=function(f){return!!this.applicable(f)},u.prototype.toString=function(){var f,n,e=[];try{for(var t=g(this._configuration),r=t.next();!r.done;r=t.next()){var i=r.value.item;e.push(i.name)}}catch(s){f={error:s}}finally{try{r&&!r.done&&(n=t.return)&&n.call(t)}finally{if(f)throw f.error}}return e.join(", ")},u.prototype.applicable=function(f){var n,e;try{for(var t=g(this._configuration),r=t.next();!r.done;r=t.next()){var i=r.value.item;if(i.contains(f))return i}}catch(s){n={error:s}}finally{try{r&&!r.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}return null},u.prototype.retrieve=function(f){var n,e;try{for(var t=g(this._configuration),r=t.next();!r.done;r=t.next()){var i=r.value.item;if(i.name===f)return i}}catch(s){n={error:s}}finally{try{r&&!r.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}return null},u.prototype.warn=function(f){console.log("TexParser Warning: "+f)},u}();c.SubHandler=T;var a=function(){function u(){this.map=new Map}return u.prototype.add=function(f,n,e){var t,r;void 0===e&&(e=w.PrioritizedList.DEFAULTPRIORITY);try{for(var i=g(Object.keys(f)),s=i.next();!s.done;s=i.next()){var l=s.value,h=this.get(l);h||(h=new T,this.set(l,h)),h.add(f[l],n[l],e)}}catch(y){t={error:y}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},u.prototype.set=function(f,n){this.map.set(f,n)},u.prototype.get=function(f){return this.map.get(f)},u.prototype.retrieve=function(f){var n,e;try{for(var t=g(this.map.values()),r=t.next();!r.done;r=t.next()){var s=r.value.retrieve(f);if(s)return s}}catch(o){n={error:o}}finally{try{r&&!r.done&&(e=t.return)&&e.call(t)}finally{if(n)throw n.error}}return null},u.prototype.keys=function(){return this.map.keys()},u}();c.SubHandlers=a},60909:function(H,c,O){var g=this&&this.__values||function(a){var u="function"==typeof Symbol&&Symbol.iterator,f=u&&a[u],n=0;if(f)return f.call(a);if(a&&"number"==typeof a.length)return{next:function(){return a&&n>=a.length&&(a=void 0),{value:a&&a[n++],done:!a}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")},C=this&&this.__read||function(a,u){var f="function"==typeof Symbol&&a[Symbol.iterator];if(!f)return a;var e,r,n=f.call(a),t=[];try{for(;(void 0===u||u-- >0)&&!(e=n.next()).done;)t.push(e.value)}catch(i){r={error:i}}finally{try{e&&!e.done&&(f=n.return)&&f.call(n)}finally{if(r)throw r.error}}return t},w=this&&this.__spreadArray||function(a,u,f){if(f||2===arguments.length)for(var t,n=0,e=u.length;n<e;n++)(t||!(n in u))&&(t||(t=Array.prototype.slice.call(u,0,n)),t[n]=u[n]);return a.concat(t||Array.prototype.slice.call(u))};Object.defineProperty(c,"__esModule",{value:!0});var T,m=O(91585),v=O(4902);(function(a){var u=new Map([["autoOP",!0],["fnOP",!0],["movesupsub",!0],["subsupOK",!0],["texprimestyle",!0],["useHeight",!0],["variantForm",!0],["withDelims",!0],["mathaccent",!0],["open",!0],["close",!0]]);function s(E,F){var x,$;try{for(var X=g(Object.keys(F)),q=X.next();!q.done;q=X.next()){var G=q.value,Y=F[G];"texClass"===G?(E.texClass=Y,E.setProperty(G,Y)):"movablelimits"===G?(E.setProperty("movablelimits",Y),(E.isKind("mo")||E.isKind("mstyle"))&&E.attributes.set("movablelimits",Y)):"inferred"===G||(u.has(G)?E.setProperty(G,Y):E.attributes.set(G,Y))}}catch(Q){x={error:Q}}finally{try{q&&!q.done&&($=X.return)&&$.call(X)}finally{if(x)throw x.error}}}function A(E,F,x){E.childNodes[F]=x,x&&(x.parent=E)}function B(E,F){return E.isKind(F)}a.createEntity=function f(E){return String.fromCodePoint(parseInt(E,16))},a.getChildren=function n(E){return E.childNodes},a.getText=function e(E){return E.getText()},a.appendChildren=function t(E,F){var x,$;try{for(var X=g(F),q=X.next();!q.done;q=X.next()){var G=q.value;E.appendChild(G)}}catch(Y){x={error:Y}}finally{try{q&&!q.done&&($=X.return)&&$.call(X)}finally{if(x)throw x.error}}},a.setAttribute=function r(E,F,x){E.attributes.set(F,x)},a.setProperty=function i(E,F,x){E.setProperty(F,x)},a.setProperties=s,a.getProperty=function o(E,F){return E.getProperty(F)},a.getAttribute=function l(E,F){return E.attributes.get(F)},a.removeProperties=function h(E){for(var F=[],x=1;x<arguments.length;x++)F[x-1]=arguments[x];E.removeProperty.apply(E,w([],C(F),!1))},a.getChildAt=function y(E,F){return E.childNodes[F]},a.setChild=A,a.copyChildren=function b(E,F){for(var x=E.childNodes,$=0;$<x.length;$++)A(F,$,x[$])},a.copyAttributes=function k(E,F){F.attributes=E.attributes,s(F,E.getAllProperties())},a.isType=B,a.isEmbellished=function I(E){return E.isEmbellished},a.getTexClass=function R(E){return E.texClass},a.getCoreMO=function V(E){return E.coreMO()},a.isNode=function J(E){return E instanceof m.AbstractMmlNode||E instanceof m.AbstractMmlEmptyNode},a.isInferred=function K(E){return E.isInferred},a.getForm=function Z(E){var F,x;if(!B(E,"mo"))return null;var $=E,X=$.getForms();try{for(var q=g(X),G=q.next();!G.done;G=q.next()){var Y=G.value,Q=v.MmlMo.OPTABLE[Y][$.getText()];if(Q)return Q}}catch(tt){F={error:tt}}finally{try{G&&!G.done&&(x=q.return)&&x.call(q)}finally{if(F)throw F.error}}return null}})(T||(T={})),c.default=T},39194:function(H,c,O){var g=this&&this.__read||function(n,e){var t="function"==typeof Symbol&&n[Symbol.iterator];if(!t)return n;var i,o,r=t.call(n),s=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(l){o={error:l}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(o)throw o.error}}return s},C=this&&this.__values||function(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],r=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(c,"__esModule",{value:!0});var f,m=O(91585),v=w(O(60909)),T=w(O(55571)),a=w(O(6257)),u=O(56692);(function(n){var e=7.2,r={em:function(d){return d},ex:function(d){return.43*d},pt:function(d){return d/10},pc:function(d){return 1.2*d},px:function(d){return d*e/72},in:function(d){return d*e},cm:function(d){return d*e/2.54},mm:function(d){return d*e/25.4},mu:function(d){return d/18}},i="([-+]?([.,]\\d+|\\d+([.,]\\d*)?))",s="(pt|em|ex|mu|px|mm|cm|in|pc)",o=RegExp("^\\s*"+i+"\\s*"+s+"\\s*$"),l=RegExp("^\\s*"+i+"\\s*"+s+" ?");function h(d,p){void 0===p&&(p=!1);var S=d.match(p?l:o);return S?function y(d){var p=g(d,3),S=p[0],D=p[1],_=p[2];return"mu"!==D?[S,D,_]:[b(r[D](parseFloat(S||"1"))).slice(0,-2),"em",_]}([S[1].replace(/,/,"."),S[4],S[0].length]):[null,null,0]}function b(d){return Math.abs(d)<6e-4?"0em":d.toFixed(3).replace(/\.?0+$/,"")+"em"}function R(d,p,S){("{"===p||"}"===p)&&(p="\\"+p);var D="{\\bigg"+S+" "+p+"}",_="{\\big"+S+" "+p+"}";return new T.default("\\mathchoice"+D+_+_+_,{},d).mml()}function K(d,p,S){p=p.replace(/^\s+/,u.entities.nbsp).replace(/\s+$/,u.entities.nbsp);var D=d.create("text",p);return d.create("node","mtext",[],S,D)}function X(d,p,S){if(S.match(/^[a-z]/i)&&p.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)&&(p+=" "),p.length+S.length>d.configuration.options.maxBuffer)throw new a.default("MaxBufferSize","MathJax internal buffer size exceeded; is there a recursive macro call?");return p+S}function et(d,p){for(;p>0;)d=d.trim().slice(1,-1),p--;return d.trim()}function rt(d,p){for(var S=d.length,D=0,_="",j=0,M=0,P=!0,L=!1;j<S;){var N=d[j++];switch(N){case" ":break;case"{":P?M++:(L=!1,M>D&&(M=D)),D++;break;case"}":D&&D--,(P||L)&&(M--,L=!0),P=!1;break;default:if(!D&&-1!==p.indexOf(N))return[L?"true":et(_,M),N,d.slice(j)];P=!1,L=!1}_+=N}if(D)throw new a.default("ExtraOpenMissingClose","Extra open brace or missing close brace");return[L?"true":et(_,M),"",d.slice(j)]}n.matchDimen=h,n.dimen2em=function A(d){var p=g(h(d),2),S=p[0],D=p[1],_=parseFloat(S||"1"),j=r[D];return j?j(_):0},n.Em=b,n.cols=function k(){for(var d=[],p=0;p<arguments.length;p++)d[p]=arguments[p];return d.map(function(S){return b(S)}).join(" ")},n.fenced=function B(d,p,S,D,_,j){void 0===_&&(_=""),void 0===j&&(j="");var L,M=d.nodeFactory,P=M.create("node","mrow",[],{open:p,close:D,texClass:m.TEXCLASS.INNER});if(_)L=new T.default("\\"+_+"l"+p,d.parser.stack.env,d).mml();else{var N=M.create("text",p);L=M.create("node","mo",[],{fence:!0,stretchy:!0,symmetric:!0,texClass:m.TEXCLASS.OPEN},N)}if(v.default.appendChildren(P,[L,S]),_)L=new T.default("\\"+_+"r"+D,d.parser.stack.env,d).mml();else{var W=M.create("text",D);L=M.create("node","mo",[],{fence:!0,stretchy:!0,symmetric:!0,texClass:m.TEXCLASS.CLOSE},W)}return j&&L.attributes.set("mathcolor",j),v.default.appendChildren(P,[L]),P},n.fixedFence=function I(d,p,S,D){var _=d.nodeFactory.create("node","mrow",[],{open:p,close:D,texClass:m.TEXCLASS.ORD});return p&&v.default.appendChildren(_,[R(d,p,"l")]),v.default.isType(S,"mrow")?v.default.appendChildren(_,v.default.getChildren(S)):v.default.appendChildren(_,[S]),D&&v.default.appendChildren(_,[R(d,D,"r")]),_},n.mathPalette=R,n.fixInitialMO=function V(d,p){for(var S=0,D=p.length;S<D;S++){var _=p[S];if(_&&!v.default.isType(_,"mspace")&&(!v.default.isType(_,"TeXAtom")||v.default.getChildren(_)[0]&&v.default.getChildren(v.default.getChildren(_)[0]).length)){if(v.default.isEmbellished(_)||v.default.isType(_,"TeXAtom")&&v.default.getTexClass(_)===m.TEXCLASS.REL){var j=d.nodeFactory.create("node","mi");p.unshift(j)}break}}},n.internalMath=function J(d,p,S,D){if(d.configuration.options.internalMath)return d.configuration.options.internalMath(d,p,S,D);var N,W,_=D||d.stack.env.font,j=_?{mathvariant:_}:{},M=[],P=0,L=0,z="",U=0;if(p.match(/\\?[${}\\]|\\\(|\\(eq)?ref\s*\{/)){for(;P<p.length;)if("$"===(N=p.charAt(P++)))"$"===z&&0===U?(W=d.create("node","TeXAtom",[new T.default(p.slice(L,P-1),{},d.configuration).mml()]),M.push(W),z="",L=P):""===z&&(L<P-1&&M.push(K(d,p.slice(L,P-1),j)),z="$",L=P);else if("{"===N&&""!==z)U++;else if("}"===N)if("}"===z&&0===U){var at=new T.default(p.slice(L,P),{},d.configuration).mml();W=d.create("node","TeXAtom",[at],j),M.push(W),z="",L=P}else""!==z&&U&&U--;else if("\\"===N)if(""===z&&p.substr(P).match(/^(eq)?ref\s*\{/)){var ut=RegExp["$&"].length;L<P-1&&M.push(K(d,p.slice(L,P-1),j)),z="}",L=P-1,P+=ut}else"("===(N=p.charAt(P++))&&""===z?(L<P-2&&M.push(K(d,p.slice(L,P-2),j)),z=")",L=P):")"===N&&")"===z&&0===U?(W=d.create("node","TeXAtom",[new T.default(p.slice(L,P-2),{},d.configuration).mml()]),M.push(W),z="",L=P):N.match(/[${}\\]/)&&""===z&&(P--,p=p.substr(0,P-1)+p.substr(P));if(""!==z)throw new a.default("MathNotTerminated","Math not terminated in text box")}return L<p.length&&M.push(K(d,p.slice(L),j)),null!=S?M=[d.create("node","mstyle",M,{displaystyle:!1,scriptlevel:S})]:M.length>1&&(M=[d.create("node","mrow",M)]),M},n.internalText=K,n.underOver=function Z(d,p,S,D,_){if(n.checkMovableLimits(p),v.default.isType(p,"munderover")&&v.default.isEmbellished(p)){v.default.setProperties(v.default.getCoreMO(p),{lspace:0,rspace:0});var j=d.create("node","mo",[],{rspace:0});p=d.create("node","mrow",[j,p])}var M=d.create("node","munderover",[p]);v.default.setChild(M,"over"===D?M.over:M.under,S);var P=M;return _&&(P=d.create("node","TeXAtom",[M],{texClass:m.TEXCLASS.OP,movesupsub:!0})),v.default.setProperty(P,"subsupOK",!0),P},n.checkMovableLimits=function E(d){var p=v.default.isType(d,"mo")?v.default.getForm(d):null;(v.default.getProperty(d,"movablelimits")||p&&p[3]&&p[3].movablelimits)&&v.default.setProperties(d,{movablelimits:!1})},n.trimSpaces=function F(d){if("string"!=typeof d)return d;var p=d.trim();return p.match(/\\$/)&&d.match(/ $/)&&(p+=" "),p},n.setArrayAlign=function x(d,p){return"t"===(p=n.trimSpaces(p||""))?d.arraydef.align="baseline 1":"b"===p?d.arraydef.align="baseline -1":"c"===p?d.arraydef.align="axis":p&&(d.arraydef.align=p),d},n.substituteArgs=function $(d,p,S){for(var D="",_="",j=0;j<S.length;){var M=S.charAt(j++);if("\\"===M)D+=M+S.charAt(j++);else if("#"===M)if("#"===(M=S.charAt(j++)))D+=M;else{if(!M.match(/[1-9]/)||parseInt(M,10)>p.length)throw new a.default("IllegalMacroParam","Illegal macro parameter reference");_=X(d,X(d,_,D),p[parseInt(M,10)-1]),D=""}else D+=M}return X(d,_,D)},n.addArgs=X,n.checkMaxMacros=function q(d,p){if(void 0===p&&(p=!0),!(++d.macroCount<=d.configuration.options.maxMacros))throw p?new a.default("MaxMacroSub1","MathJax maximum macro substitution count exceeded; is here a recursive macro call?"):new a.default("MaxMacroSub2","MathJax maximum substitution count exceeded; is there a recursive latex environment?")},n.checkEqnEnv=function G(d){if(d.stack.global.eqnenv)throw new a.default("ErroneousNestingEq","Erroneous nesting of equation structures");d.stack.global.eqnenv=!0},n.copyNode=function Y(d,p){var S=d.copy(),D=p.configuration;return S.walkTree(function(_){var j,M;D.addNode(_.kind,_);var P=(_.getProperty("in-lists")||"").split(/,/);try{for(var L=C(P),N=L.next();!N.done;N=L.next()){var W=N.value;W&&D.addNode(W,_)}}catch(z){j={error:z}}finally{try{N&&!N.done&&(M=L.return)&&M.call(L)}finally{if(j)throw j.error}}}),S},n.MmlFilterAttribute=function Q(d,p,S){return S},n.getFontDef=function tt(d){var p=d.stack.env.font;return p?{mathvariant:p}:{}},n.keyvalOptions=function nt(d,p,S){var D,_;void 0===p&&(p=null),void 0===S&&(S=!1);var j=function it(d){for(var p,S,j,M,P,D={},_=d;_;)p=g(rt(_,["=",","]),3),M=p[0],j=p[1],_=p[2],"="===j?(S=g(rt(_,[","]),3),P=S[0],j=S[1],_=S[2],P="false"===P||"true"===P?JSON.parse(P):P,D[M]=P):M&&(D[M]=!0);return D}(d);if(p)try{for(var M=C(Object.keys(j)),P=M.next();!P.done;P=M.next()){var L=P.value;if(!p.hasOwnProperty(L)){if(S)throw new a.default("InvalidOption","Invalid option: %1",L);delete j[L]}}}catch(N){D={error:N}}finally{try{P&&!P.done&&(_=M.return)&&_.call(M)}finally{if(D)throw D.error}}return j}})(f||(f={})),c.default=f},72944:function(H,c,O){var g=this&&this.__values||function(a){var u="function"==typeof Symbol&&Symbol.iterator,f=u&&a[u],n=0;if(f)return f.call(a);if(a&&"number"==typeof a.length)return{next:function(){return a&&n>=a.length&&(a=void 0),{value:a&&a[n++],done:!a}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")},C=this&&this.__read||function(a,u){var f="function"==typeof Symbol&&a[Symbol.iterator];if(!f)return a;var e,r,n=f.call(a),t=[];try{for(;(void 0===u||u-- >0)&&!(e=n.next()).done;)t.push(e.value)}catch(i){r={error:i}}finally{try{e&&!e.done&&(f=n.return)&&f.call(n)}finally{if(r)throw r.error}}return t},w=this&&this.__spreadArray||function(a,u,f){if(f||2===arguments.length)for(var t,n=0,e=u.length;n<e;n++)(t||!(n in u))&&(t||(t=Array.prototype.slice.call(u,0,n)),t[n]=u[n]);return a.concat(t||Array.prototype.slice.call(u))},m=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(c,"__esModule",{value:!0});var v=m(O(60909)),T=function(){function a(u,f,n){this._factory=u,this._env=f,this.global={},this.stack=[],this.global={isInner:n},this.stack=[this._factory.create("start",this.global)],f&&(this.stack[0].env=f),this.env=this.stack[0].env}return Object.defineProperty(a.prototype,"env",{get:function(){return this._env},set:function(u){this._env=u},enumerable:!1,configurable:!0}),a.prototype.Push=function(){for(var u,f,n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];try{for(var t=g(n),r=t.next();!r.done;r=t.next()){var i=r.value;if(i){var s=v.default.isNode(i)?this._factory.create("mml",i):i;s.global=this.global;var o=C(this.stack.length?this.Top().checkItem(s):[null,!0],2),l=o[0],h=o[1];if(h){if(l){this.Pop(),this.Push.apply(this,w([],C(l),!1));continue}this.stack.push(s),s.env?(s.copyEnv&&Object.assign(s.env,this.env),this.env=s.env):s.env=this.env}}}}catch(y){u={error:y}}finally{try{r&&!r.done&&(f=t.return)&&f.call(t)}finally{if(u)throw u.error}}},a.prototype.Pop=function(){var u=this.stack.pop();return u.isOpen||delete u.env,this.env=this.stack.length?this.Top().env:{},u},a.prototype.Top=function(u){return void 0===u&&(u=1),this.stack.length<u?null:this.stack[this.stack.length-u]},a.prototype.Prev=function(u){var f=this.Top();return u?f.First:f.Pop()},a.prototype.toString=function(){return"stack[\n "+this.stack.join("\n ")+"\n]"},a}();c.default=T},95889:(H,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.Macro=c.Symbol=void 0;var O=function(){function C(w,m,v){this._symbol=w,this._char=m,this._attributes=v}return Object.defineProperty(C.prototype,"symbol",{get:function(){return this._symbol},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"char",{get:function(){return this._char},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"attributes",{get:function(){return this._attributes},enumerable:!1,configurable:!0}),C}();c.Symbol=O;var g=function(){function C(w,m,v){void 0===v&&(v=[]),this._symbol=w,this._func=m,this._args=v}return Object.defineProperty(C.prototype,"symbol",{get:function(){return this._symbol},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"func",{get:function(){return this._func},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"args",{get:function(){return this._args},enumerable:!1,configurable:!0}),C}();c.Macro=g},82652:function(H,c,O){var o,g=this&&this.__extends||(o=function(l,h){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,A){y.__proto__=A}||function(y,A){for(var b in A)Object.prototype.hasOwnProperty.call(A,b)&&(y[b]=A[b])})(l,h)},function(l,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function y(){this.constructor=l}o(l,h),l.prototype=null===h?Object.create(h):(y.prototype=h.prototype,new y)}),C=this&&this.__read||function(o,l){var h="function"==typeof Symbol&&o[Symbol.iterator];if(!h)return o;var A,k,y=h.call(o),b=[];try{for(;(void 0===l||l-- >0)&&!(A=y.next()).done;)b.push(A.value)}catch(B){k={error:B}}finally{try{A&&!A.done&&(h=y.return)&&h.call(y)}finally{if(k)throw k.error}}return b},w=this&&this.__values||function(o){var l="function"==typeof Symbol&&Symbol.iterator,h=l&&o[l],y=0;if(h)return h.call(o);if(o&&"number"==typeof o.length)return{next:function(){return o&&y>=o.length&&(o=void 0),{value:o&&o[y++],done:!o}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")},m=this&&this.__spreadArray||function(o,l,h){if(h||2===arguments.length)for(var b,y=0,A=l.length;y<A;y++)(b||!(y in l))&&(b||(b=Array.prototype.slice.call(l,0,y)),b[y]=l[y]);return o.concat(b||Array.prototype.slice.call(l))};Object.defineProperty(c,"__esModule",{value:!0}),c.EnvironmentMap=c.CommandMap=c.MacroMap=c.DelimiterMap=c.CharacterMap=c.AbstractParseMap=c.RegExpMap=c.AbstractSymbolMap=c.parseResult=void 0;var v=O(95889),T=O(96393);function a(o){return void 0===o||o}c.parseResult=a;var u=function(){function o(l,h){this._name=l,this._parser=h,T.MapHandler.register(this)}return Object.defineProperty(o.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),o.prototype.parserFor=function(l){return this.contains(l)?this.parser:null},o.prototype.parse=function(l){var h=C(l,2),y=h[0],A=h[1],b=this.parserFor(A),k=this.lookup(A);return b&&k?a(b(y,k)):null},Object.defineProperty(o.prototype,"parser",{get:function(){return this._parser},set:function(l){this._parser=l},enumerable:!1,configurable:!0}),o}();c.AbstractSymbolMap=u;var f=function(o){function l(h,y,A){var b=o.call(this,h,y)||this;return b._regExp=A,b}return g(l,o),l.prototype.contains=function(h){return this._regExp.test(h)},l.prototype.lookup=function(h){return this.contains(h)?h:null},l}(u);c.RegExpMap=f;var n=function(o){function l(){var h=null!==o&&o.apply(this,arguments)||this;return h.map=new Map,h}return g(l,o),l.prototype.lookup=function(h){return this.map.get(h)},l.prototype.contains=function(h){return this.map.has(h)},l.prototype.add=function(h,y){this.map.set(h,y)},l.prototype.remove=function(h){this.map.delete(h)},l}(u);c.AbstractParseMap=n;var e=function(o){function l(h,y,A){var b,k,B=o.call(this,h,y)||this;try{for(var I=w(Object.keys(A)),R=I.next();!R.done;R=I.next()){var V=R.value,J=A[V],K=C("string"==typeof J?[J,null]:J,2),Z=K[0],E=K[1],F=new v.Symbol(V,Z,E);B.add(V,F)}}catch(x){b={error:x}}finally{try{R&&!R.done&&(k=I.return)&&k.call(I)}finally{if(b)throw b.error}}return B}return g(l,o),l}(n);c.CharacterMap=e;var t=function(o){function l(){return null!==o&&o.apply(this,arguments)||this}return g(l,o),l.prototype.parse=function(h){var y=C(h,2),A=y[0],b=y[1];return o.prototype.parse.call(this,[A,"\\"+b])},l}(e);c.DelimiterMap=t;var r=function(o){function l(h,y,A){var b,k,B=o.call(this,h,null)||this;try{for(var I=w(Object.keys(y)),R=I.next();!R.done;R=I.next()){var V=R.value,J=y[V],K=C("string"==typeof J?[J]:J),Z=K[0],E=K.slice(1),F=new v.Macro(V,A[Z],E);B.add(V,F)}}catch(x){b={error:x}}finally{try{R&&!R.done&&(k=I.return)&&k.call(I)}finally{if(b)throw b.error}}return B}return g(l,o),l.prototype.parserFor=function(h){var y=this.lookup(h);return y?y.func:null},l.prototype.parse=function(h){var y=C(h,2),A=y[0],b=y[1],k=this.lookup(b),B=this.parserFor(b);return k&&B?a(B.apply(void 0,m([A,k.symbol],C(k.args),!1))):null},l}(n);c.MacroMap=r;var i=function(o){function l(){return null!==o&&o.apply(this,arguments)||this}return g(l,o),l.prototype.parse=function(h){var y=C(h,2),A=y[0],b=y[1],k=this.lookup(b),B=this.parserFor(b);if(!k||!B)return null;var I=A.currentCS;A.currentCS="\\"+b;var R=B.apply(void 0,m([A,"\\"+k.symbol],C(k.args),!1));return A.currentCS=I,a(R)},l}(r);c.CommandMap=i;var s=function(o){function l(h,y,A,b){var k=o.call(this,h,A,b)||this;return k.parser=y,k}return g(l,o),l.prototype.parse=function(h){var y=C(h,2),A=y[0],b=y[1],k=this.lookup(b),B=this.parserFor(b);return k&&B?a(this.parser(A,k.symbol,B,k.args)):null},l}(r);c.EnvironmentMap=s},22450:function(H,c,O){var e,g=this&&this.__extends||(e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,s){i.__proto__=s}||function(i,s){for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i[o]=s[o])})(t,r)},function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function i(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(i.prototype=r.prototype,new i)}),C=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(c,"__esModule",{value:!0}),c.TagsFactory=c.AllTags=c.NoTags=c.AbstractTags=c.TagInfo=c.Label=void 0;var m=w(O(55571)),v=function e(t,r){void 0===t&&(t="???"),void 0===r&&(r=""),this.tag=t,this.id=r};c.Label=v;var T=function e(t,r,i,s,o,l,h,y){void 0===t&&(t=""),void 0===r&&(r=!1),void 0===i&&(i=!1),void 0===s&&(s=null),void 0===o&&(o=""),void 0===l&&(l=""),void 0===h&&(h=!1),void 0===y&&(y=""),this.env=t,this.taggable=r,this.defaultTags=i,this.tag=s,this.tagId=o,this.tagFormat=l,this.noTag=h,this.labelId=y};c.TagInfo=T;var a=function(){function e(){this.counter=0,this.allCounter=0,this.configuration=null,this.ids={},this.allIds={},this.labels={},this.allLabels={},this.redo=!1,this.refUpdate=!1,this.currentTag=new T,this.history=[],this.stack=[],this.enTag=function(t,r){var i=this.configuration.nodeFactory,s=i.create("node","mtd",[t]),o=i.create("node","mlabeledtr",[r,s]);return i.create("node","mtable",[o],{side:this.configuration.options.tagSide,minlabelspacing:this.configuration.options.tagIndent,displaystyle:!0})}}return e.prototype.start=function(t,r,i){this.currentTag&&this.stack.push(this.currentTag),this.currentTag=new T(t,r,i)},Object.defineProperty(e.prototype,"env",{get:function(){return this.currentTag.env},enumerable:!1,configurable:!0}),e.prototype.end=function(){this.history.push(this.currentTag),this.currentTag=this.stack.pop()},e.prototype.tag=function(t,r){this.currentTag.tag=t,this.currentTag.tagFormat=r?t:this.formatTag(t),this.currentTag.noTag=!1},e.prototype.notag=function(){this.tag("",!0),this.currentTag.noTag=!0},Object.defineProperty(e.prototype,"noTag",{get:function(){return this.currentTag.noTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.currentTag.labelId},set:function(t){this.currentTag.labelId=t},enumerable:!1,configurable:!0}),e.prototype.formatUrl=function(t,r){return r+"#"+encodeURIComponent(t)},e.prototype.formatTag=function(t){return"("+t+")"},e.prototype.formatId=function(t){return"mjx-eqn:"+t.replace(/\s/g,"_")},e.prototype.formatNumber=function(t){return t.toString()},e.prototype.autoTag=function(){null==this.currentTag.tag&&(this.counter++,this.tag(this.formatNumber(this.counter),!1))},e.prototype.clearTag=function(){this.label="",this.tag(null,!0),this.currentTag.tagId=""},e.prototype.getTag=function(t){if(void 0===t&&(t=!1),t)return this.autoTag(),this.makeTag();var r=this.currentTag;return r.taggable&&!r.noTag&&(r.defaultTags&&this.autoTag(),r.tag)?this.makeTag():null},e.prototype.resetTag=function(){this.history=[],this.redo=!1,this.refUpdate=!1,this.clearTag()},e.prototype.reset=function(t){void 0===t&&(t=0),this.resetTag(),this.counter=this.allCounter=t,this.allLabels={},this.allIds={}},e.prototype.startEquation=function(t){this.history=[],this.stack=[],this.clearTag(),this.currentTag=new T("",void 0,void 0),this.labels={},this.ids={},this.counter=this.allCounter,this.redo=!1;var r=t.inputData.recompile;r&&(this.refUpdate=!0,this.counter=r.counter)},e.prototype.finishEquation=function(t){this.redo&&(t.inputData.recompile={state:t.state(),counter:this.allCounter}),this.refUpdate||(this.allCounter=this.counter),Object.assign(this.allIds,this.ids),Object.assign(this.allLabels,this.labels)},e.prototype.finalize=function(t,r){if(!r.display||this.currentTag.env||null==this.currentTag.tag)return t;var i=this.makeTag();return this.enTag(t,i)},e.prototype.makeId=function(){this.currentTag.tagId=this.formatId(this.configuration.options.useLabelIds&&this.label||this.currentTag.tag)},e.prototype.makeTag=function(){this.makeId(),this.label&&(this.labels[this.label]=new v(this.currentTag.tag,this.currentTag.tagId));var t=new m.default("\\text{"+this.currentTag.tagFormat+"}",{},this.configuration).mml();return this.configuration.nodeFactory.create("node","mtd",[t],{id:this.currentTag.tagId})},e}();c.AbstractTags=a;var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.prototype.autoTag=function(){},t.prototype.getTag=function(){return this.currentTag.tag?e.prototype.getTag.call(this):null},t}(a);c.NoTags=u;var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.prototype.finalize=function(r,i){if(!i.display||this.history.find(function(o){return o.taggable}))return r;var s=this.getTag(!0);return this.enTag(r,s)},t}(a);c.AllTags=f,function(e){var t=new Map([["none",u],["all",f]]),r="none";e.OPTIONS={tags:r,tagSide:"right",tagIndent:"0.8em",useLabelIds:!0,ignoreDuplicateLabels:!1},e.add=function(i,s){t.set(i,s)},e.addTags=function(i){var s,o;try{for(var l=C(Object.keys(i)),h=l.next();!h.done;h=l.next()){var y=h.value;e.add(y,i[y])}}catch(A){s={error:A}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(s)throw s.error}}},e.create=function(i){var s=t.get(i)||t.get(r);if(!s)throw Error("Unknown tags class");return new s},e.setDefault=function(i){r=i},e.getDefault=function(){return e.create(r)}}(c.TagsFactory||(c.TagsFactory={}))},6257:(H,c)=>{Object.defineProperty(c,"__esModule",{value:!0});var O=function(){function g(C,w){for(var m=[],v=2;v<arguments.length;v++)m[v-2]=arguments[v];this.id=C,this.message=g.processString(w,m)}return g.processString=function(C,w){for(var m=C.split(g.pattern),v=1,T=m.length;v<T;v+=2){var a=m[v].charAt(0);if(a>="0"&&a<="9")m[v]=w[parseInt(m[v],10)-1],"number"==typeof m[v]&&(m[v]=m[v].toString());else if("{"===a)if((a=m[v].substr(1))>="0"&&a<="9")m[v]=w[parseInt(m[v].substr(1,m[v].length-2),10)-1],"number"==typeof m[v]&&(m[v]=m[v].toString());else{m[v].match(/^\{([a-z]+):%(\d+)\|(.*)\}$/)&&(m[v]="%"+m[v])}null==m[v]&&(m[v]="???")}return m.join("")},g.pattern=/%(\d+|\{\d+\}|\{[a-z]+:\%\d+(?:\|(?:%\{\d+\}|%.|[^\}])*)+\}|.)/g,g}();c.default=O},55571:function(H,c,O){var g=this&&this.__values||function(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],r=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},C=this&&this.__read||function(n,e){var t="function"==typeof Symbol&&n[Symbol.iterator];if(!t)return n;var i,o,r=t.call(n),s=[];try{for(;(void 0===e||e-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(l){o={error:l}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(o)throw o.error}}return s},w=this&&this.__spreadArray||function(n,e,t){if(t||2===arguments.length)for(var s,r=0,i=e.length;r<i;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return n.concat(s||Array.prototype.slice.call(e))},m=this&&this.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(c,"__esModule",{value:!0});var v=m(O(39194)),T=m(O(72944)),a=m(O(6257)),u=O(91585),f=function(){function n(e,t,r){var i,s;this._string=e,this.configuration=r,this.macroCount=0,this.i=0,this.currentCS="";var h,o=t.hasOwnProperty("isInner"),l=t.isInner;if(delete t.isInner,t){h={};try{for(var y=g(Object.keys(t)),A=y.next();!A.done;A=y.next()){var b=A.value;h[b]=t[b]}}catch(k){i={error:k}}finally{try{A&&!A.done&&(s=y.return)&&s.call(y)}finally{if(i)throw i.error}}}this.configuration.pushParser(this),this.stack=new T.default(this.itemFactory,h,!o||l),this.Parse(),this.Push(this.itemFactory.create("stop"))}return Object.defineProperty(n.prototype,"options",{get:function(){return this.configuration.options},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemFactory",{get:function(){return this.configuration.itemFactory},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tags",{get:function(){return this.configuration.tags},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"string",{get:function(){return this._string},set:function(e){this._string=e},enumerable:!1,configurable:!0}),n.prototype.parse=function(e,t){return this.configuration.handlers.get(e).parse(t)},n.prototype.lookup=function(e,t){return this.configuration.handlers.get(e).lookup(t)},n.prototype.contains=function(e,t){return this.configuration.handlers.get(e).contains(t)},n.prototype.toString=function(){var e,t,r="";try{for(var i=g(Array.from(this.configuration.handlers.keys())),s=i.next();!s.done;s=i.next()){var o=s.value;r+=o+": "+this.configuration.handlers.get(o)+"\n"}}catch(l){e={error:l}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return r},n.prototype.Parse=function(){for(var e;this.i<this.string.length;)e=this.getCodePoint(),this.i+=e.length,this.parse("character",[this,e])},n.prototype.Push=function(e){e instanceof u.AbstractMmlNode&&e.isInferred?this.PushAll(e.childNodes):this.stack.Push(e)},n.prototype.PushAll=function(e){var t,r;try{for(var i=g(e),s=i.next();!s.done;s=i.next()){var o=s.value;this.stack.Push(o)}}catch(l){t={error:l}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},n.prototype.mml=function(){if(!this.stack.Top().isKind("mml"))return null;var e=this.stack.Top().First;return this.configuration.popParser(),e},n.prototype.convertDelimiter=function(e){var t=this.lookup("delimiter",e);return t?t.char:null},n.prototype.getCodePoint=function(){var e=this.string.codePointAt(this.i);return void 0===e?"":String.fromCodePoint(e)},n.prototype.nextIsSpace=function(){return!!this.string.charAt(this.i).match(/\s/)},n.prototype.GetNext=function(){for(;this.nextIsSpace();)this.i++;return this.getCodePoint()},n.prototype.GetCS=function(){var e=this.string.slice(this.i).match(/^(([a-z]+) ?|[\uD800-\uDBFF].|.)/i);return e?(this.i+=e[0].length,e[2]||e[1]):(this.i++," ")},n.prototype.GetArgument=function(e,t){switch(this.GetNext()){case"":if(!t)throw new a.default("MissingArgFor","Missing argument for %1",this.currentCS);return null;case"}":if(!t)throw new a.default("ExtraCloseMissingOpen","Extra close brace or missing open brace");return null;case"\\":return this.i++,"\\"+this.GetCS();case"{":for(var r=++this.i,i=1;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"\\":this.i++;break;case"{":i++;break;case"}":if(0==--i)return this.string.slice(r,this.i-1)}throw new a.default("MissingCloseBrace","Missing close brace")}var s=this.getCodePoint();return this.i+=s.length,s},n.prototype.GetBrackets=function(e,t){if("["!==this.GetNext())return t;for(var r=++this.i,i=0;this.i<this.string.length;)switch(this.string.charAt(this.i++)){case"{":i++;break;case"\\":this.i++;break;case"}":if(i--<=0)throw new a.default("ExtraCloseLooking","Extra close brace while looking for %1","']'");break;case"]":if(0===i)return this.string.slice(r,this.i-1)}throw new a.default("MissingCloseBracket","Could not find closing ']' for argument to %1",this.currentCS)},n.prototype.GetDelimiter=function(e,t){var r=this.GetNext();if(this.i+=r.length,this.i<=this.string.length&&("\\"===r?r+=this.GetCS():"{"===r&&t&&(this.i--,r=this.GetArgument(e).trim()),this.contains("delimiter",r)))return this.convertDelimiter(r);throw new a.default("MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",this.currentCS)},n.prototype.GetDimen=function(e){if("{"===this.GetNext()){var t=this.GetArgument(e),r=C(v.default.matchDimen(t),2),i=r[0],s=r[1];if(i)return i+s}else{t=this.string.slice(this.i);var o=C(v.default.matchDimen(t,!0),3),l=(i=o[0],s=o[1],o[2]);if(i)return this.i+=l,i+s}throw new a.default("MissingDimOrUnits","Missing dimension or its units for %1",this.currentCS)},n.prototype.GetUpTo=function(e,t){for(;this.nextIsSpace();)this.i++;for(var r=this.i,i=0;this.i<this.string.length;){var s=this.i,o=this.GetNext();switch(this.i+=o.length,o){case"\\":o+=this.GetCS();break;case"{":i++;break;case"}":if(0===i)throw new a.default("ExtraCloseLooking","Extra close brace while looking for %1",t);i--}if(0===i&&o===t)return this.string.slice(r,s)}throw new a.default("TokenNotFoundForCommand","Could not find %1 for %2",t,this.currentCS)},n.prototype.ParseArg=function(e){return new n(this.GetArgument(e),this.stack.env,this.configuration).mml()},n.prototype.ParseUpTo=function(e,t){return new n(this.GetUpTo(e,t),this.stack.env,this.configuration).mml()},n.prototype.GetDelimiterArg=function(e){var t=v.default.trimSpaces(this.GetArgument(e));if(""===t)return null;if(this.contains("delimiter",t))return t;throw new a.default("MissingOrUnrecognizedDelim","Missing or unrecognized delimiter for %1",this.currentCS)},n.prototype.GetStar=function(){var e="*"===this.GetNext();return e&&this.i++,e},n.prototype.create=function(e){for(var t,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return(t=this.configuration.nodeFactory).create.apply(t,w([e],C(r),!1))},n}();c.default=f},31326:(H,c,O)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.mathjax=void 0;var g=O(31539),C=O(52494),w=O(185);c.mathjax={version:g.VERSION,handlers:new C.HandlerList,document:function(m,v){return c.mathjax.handlers.document(m,v)},handleRetriesFor:w.handleRetriesFor,retryAfter:w.retryAfter,asyncLoad:null}},95040:(H,c,O)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.asyncLoad=void 0;var g=O(31326);c.asyncLoad=function C(w){return g.mathjax.asyncLoad?new Promise(function(m,v){var T=g.mathjax.asyncLoad(w);T instanceof Promise?T.then(function(a){return m(a)}).catch(function(a){return v(a)}):m(T)}):Promise.reject("Can't load '".concat(w,"': No asyncLoad method specified"))}},56692:(H,c,O)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.numeric=c.translate=c.remove=c.add=c.entities=c.options=void 0;var g=O(185),C=O(95040);c.options={loadMissingEntities:!0},c.entities={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"};var w={};function a(f,n){if("#"===n.charAt(0))return u(n.slice(1));if(c.entities[n])return c.entities[n];if(c.options.loadMissingEntities){var e=n.match(/^[a-zA-Z](fr|scr|opf)$/)?RegExp.$1:n.charAt(0).toLowerCase();w[e]||(w[e]=!0,(0,g.retryAfter)((0,C.asyncLoad)("./util/entities/"+e+".js")))}return f}function u(f){var n="x"===f.charAt(0)?parseInt(f.slice(1),16):parseInt(f);return String.fromCodePoint(n)}c.add=function m(f,n){Object.assign(c.entities,f),w[n]=!0},c.remove=function v(f){delete c.entities[f]},c.translate=function T(f){return f.replace(/&([a-z][a-z0-9]*|#(?:[0-9]+|x[0-9a-f]+));/gi,a)},c.numeric=u},55418:function(H,c,O){var a,g=this&&this.__extends||(a=function(u,f){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,e){n.__proto__=e}||function(n,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])})(u,f)},function(u,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function n(){this.constructor=u}a(u,f),u.prototype=null===f?Object.create(f):(n.prototype=f.prototype,new n)}),C=this&&this.__values||function(a){var u="function"==typeof Symbol&&Symbol.iterator,f=u&&a[u],n=0;if(f)return f.call(a);if(a&&"number"==typeof a.length)return{next:function(){return a&&n>=a.length&&(a=void 0),{value:a&&a[n++],done:!a}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__read||function(a,u){var f="function"==typeof Symbol&&a[Symbol.iterator];if(!f)return a;var e,r,n=f.call(a),t=[];try{for(;(void 0===u||u-- >0)&&!(e=n.next()).done;)t.push(e.value)}catch(i){r={error:i}}finally{try{e&&!e.done&&(f=n.return)&&f.call(n)}finally{if(r)throw r.error}}return t},m=this&&this.__spreadArray||function(a,u,f){if(f||2===arguments.length)for(var t,n=0,e=u.length;n<e;n++)(t||!(n in u))&&(t||(t=Array.prototype.slice.call(u,0,n)),t[n]=u[n]);return a.concat(t||Array.prototype.slice.call(u))};Object.defineProperty(c,"__esModule",{value:!0}),c.FunctionList=void 0;var T=function(a){function u(){return null!==a&&a.apply(this,arguments)||this}return g(u,a),u.prototype.execute=function(){for(var f,n,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];try{for(var r=C(this),i=r.next();!i.done;i=r.next()){var s=i.value,o=s.item.apply(s,m([],w(e),!1));if(!1===o)return!1}}catch(l){f={error:l}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(f)throw f.error}}return!0},u.prototype.asyncExecute=function(){for(var f=[],n=0;n<arguments.length;n++)f[n]=arguments[n];var e=-1,t=this.items;return new Promise(function(r,i){!function s(){for(var o;++e<t.length;){var l=(o=t[e]).item.apply(o,m([],w(f),!1));if(l instanceof Promise)return void l.then(s).catch(function(h){return i(h)});if(!1===l)return void r(!1)}r(!0)}()})},u}(O(63670).PrioritizedList);c.FunctionList=T},63670:(H,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.PrioritizedList=void 0;var O=function(){function g(){this.items=[],this.items=[]}return g.prototype[Symbol.iterator]=function(){var C=0,w=this.items;return{next:function(){return{value:w[C++],done:C>w.length}}}},g.prototype.add=function(C,w){void 0===w&&(w=g.DEFAULTPRIORITY);var m=this.items.length;do{m--}while(m>=0&&w<this.items[m].priority);return this.items.splice(m+1,0,{item:C,priority:w}),C},g.prototype.remove=function(C){var w=this.items.length;do{w--}while(w>=0&&this.items[w].item!==C);w>=0&&this.items.splice(w,1)},g.DEFAULTPRIORITY=5,g}();c.PrioritizedList=O},185:(H,c)=>{Object.defineProperty(c,"__esModule",{value:!0}),c.retryAfter=c.handleRetriesFor=void 0,c.handleRetriesFor=function O(C){return new Promise(function w(m,v){try{m(C())}catch(T){T.retry&&T.retry instanceof Promise?T.retry.then(function(){return w(m,v)}).catch(function(a){return v(a)}):T.restart&&T.restart.isCallback?MathJax.Callback.After(function(){return w(m,v)},T.restart):v(T)}})},c.retryAfter=function g(C){var w=new Error("MathJax retry");throw w.retry=C,w}}}]);