"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;n0)&&!(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;jD&&(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;p1&&(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;jp.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{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=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="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{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{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=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}}}]);