"use strict";(self.webpackChunkjupyter_web=self.webpackChunkjupyter_web||[]).push([[6113],{95272:function(V,v){var I=this&&this.__values||function(w){var A="function"==typeof Symbol&&Symbol.iterator,s=A&&w[A],m=0;if(s)return s.call(w);if(w&&"number"==typeof w.length)return{next:function(){return w&&m>=w.length&&(w=void 0),{value:w&&w[m++],done:!w}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")},C=this&&this.__read||function(w,A){var s="function"==typeof Symbol&&w[Symbol.iterator];if(!s)return w;var u,e,m=s.call(w),f=[];try{for(;(void 0===A||A-- >0)&&!(u=m.next()).done;)f.push(u.value)}catch(o){e={error:o}}finally{try{u&&!u.done&&(s=m.return)&&s.call(m)}finally{if(e)throw e.error}}return f},D=this&&this.__spreadArray||function(w,A,s){if(s||2===arguments.length)for(var f,m=0,u=A.length;m0)&&!(e=f.next()).done;)o.push(e.value)}catch(d){h={error:d}}finally{try{e&&!e.done&&(u=f.return)&&u.call(f)}finally{if(h)throw h.error}}return o},D=this&&this.__spreadArray||function(s,m,u){if(u||2===arguments.length)for(var o,f=0,e=m.length;f0)&&!(h=o.next()).done;)d.push(h.value)}catch(F){P={error:F}}finally{try{h&&!h.done&&(e=o.return)&&e.call(o)}finally{if(P)throw P.error}}return d},D=this&&this.__spreadArray||function(u,f,e){if(e||2===arguments.length)for(var d,o=0,h=f.length;o1&&(x.autoOP=!1));var O=E.create("token","mi",x,g);E.Push(O)},u.digit=function e(E,g){var x,j=E.configuration.options.digits,O=E.string.slice(E.i-1).match(j),t=s.default.getFontDef(E);O?(x=E.create("token","mn",t,O[0].replace(/[{}]/g,"")),E.i+=O[0].length-1):x=E.create("token","mo",t,g),E.Push(x)},u.controlSequence=function o(E,g){var x=E.GetCS();E.parse("macro",[E,x])},u.mathchar0mi=function h(E,g){var x=g.attributes||{mathvariant:A.TexConstant.Variant.ITALIC},j=E.create("token","mi",x,g.char);E.Push(j)},u.mathchar0mo=function d(E,g){var x=g.attributes||{};x.stretchy=!1;var j=E.create("token","mo",x,g.char);w.default.setProperty(j,"fixStretchy",!0),E.configuration.addNode("fixStretchy",j),E.Push(j)},u.mathchar7=function P(E,g){var x=g.attributes||{mathvariant:A.TexConstant.Variant.NORMAL};E.stack.env.font&&(x.mathvariant=E.stack.env.font);var j=E.create("token","mi",x,g.char);E.Push(j)},u.delimiter=function F(E,g){var x=g.attributes||{};x=Object.assign({fence:!1,stretchy:!1},x);var j=E.create("token","mo",x,g.char);E.Push(j)},u.environment=function N(E,g,x,j){var O=j[0],t=E.itemFactory.create("begin").setProperties({name:g,end:O});t=x.apply(void 0,D([E,t],C(j.slice(1)),!1)),E.Push(t)},v.default=m},46708:function(V,v,I){var C=this&&this.__read||function(e,o){var h="function"==typeof Symbol&&e[Symbol.iterator];if(!h)return e;var P,N,d=h.call(e),F=[];try{for(;(void 0===o||o-- >0)&&!(P=d.next()).done;)F.push(P.value)}catch(E){N={error:E}}finally{try{P&&!P.done&&(h=d.return)&&h.call(d)}finally{if(N)throw N.error}}return F},D=this&&this.__spreadArray||function(e,o,h){if(h||2===arguments.length)for(var F,d=0,P=o.length;d=e.length&&(e=void 0),{value:e&&e[d++],done:!e}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},w=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(v,"__esModule",{value:!0});var A=w(I(20164)),s=I(42023),m=w(I(60909)),u=I(80084),f=function(){function e(o,h){void 0===h&&(h=[]),this.options={},this.packageData=new Map,this.parsers=[],this.root=null,this.nodeLists={},this.error=!1,this.handlers=o.handlers,this.nodeFactory=new s.NodeFactory,this.nodeFactory.configuration=this,this.nodeFactory.setCreators(o.nodes),this.itemFactory=new A.default(o.items),this.itemFactory.configuration=this,u.defaultOptions.apply(void 0,D([this.options],C(h),!1)),(0,u.defaultOptions)(this.options,o.options)}return e.prototype.pushParser=function(o){this.parsers.unshift(o)},e.prototype.popParser=function(){this.parsers.shift()},Object.defineProperty(e.prototype,"parser",{get:function(){return this.parsers[0]},enumerable:!1,configurable:!0}),e.prototype.clear=function(){this.parsers=[],this.root=null,this.nodeLists={},this.error=!1,this.tags.resetTag()},e.prototype.addNode=function(o,h){var d=this.nodeLists[o];if(d||(d=this.nodeLists[o]=[]),d.push(h),h.kind!==o){var P=m.default.getProperty(h,"in-lists")||"",F=(P?P.split(/,/):[]).concat(o).join(",");m.default.setProperty(h,"in-lists",F)}},e.prototype.getList=function(o){var h,d,P=this.nodeLists[o]||[],F=[];try{for(var N=_(P),E=N.next();!E.done;E=N.next()){var g=E.value;this.inTree(g)&&F.push(g)}}catch(x){h={error:x}}finally{try{E&&!E.done&&(d=N.return)&&d.call(N)}finally{if(h)throw h.error}}return this.nodeLists[o]=F,F},e.prototype.removeFromList=function(o,h){var d,P,F=this.nodeLists[o]||[];try{for(var N=_(h),E=N.next();!E.done;E=N.next()){var g=E.value,x=F.indexOf(g);x>=0&&F.splice(x,1)}}catch(j){d={error:j}}finally{try{E&&!E.done&&(P=N.return)&&P.call(N)}finally{if(d)throw d.error}}},e.prototype.inTree=function(o){for(;o&&o!==this.root;)o=o.parent;return!!o},e}();v.default=f},90117:function(V,v,I){var f,C=this&&this.__extends||(f=function(e,o){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,d){h.__proto__=d}||function(h,d){for(var P in d)Object.prototype.hasOwnProperty.call(d,P)&&(h[P]=d[P])})(e,o)},function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function h(){this.constructor=e}f(e,o),e.prototype=null===o?Object.create(o):(h.prototype=o.prototype,new h)}),D=this&&this.__read||function(f,e){var o="function"==typeof Symbol&&f[Symbol.iterator];if(!o)return f;var d,F,h=o.call(f),P=[];try{for(;(void 0===e||e-- >0)&&!(d=h.next()).done;)P.push(d.value)}catch(N){F={error:N}}finally{try{d&&!d.done&&(o=h.return)&&o.call(h)}finally{if(F)throw F.error}}return P},_=this&&this.__spreadArray||function(f,e,o){if(o||2===arguments.length)for(var P,h=0,d=e.length;h=f.length&&(f=void 0),{value:f&&f[h++],done:!f}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},A=this&&this.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(v,"__esModule",{value:!0}),v.BaseItem=v.MmlStack=void 0;var s=A(I(6257)),m=function(){function f(e){this._nodes=e}return Object.defineProperty(f.prototype,"nodes",{get:function(){return this._nodes},enumerable:!1,configurable:!0}),f.prototype.Push=function(){for(var e,o=[],h=0;h{var C;Object.defineProperty(v,"__esModule",{value:!0}),v.TexConstant=void 0,(C=v.TexConstant||(v.TexConstant={})).Variant={NORMAL:"normal",BOLD:"bold",ITALIC:"italic",BOLDITALIC:"bold-italic",DOUBLESTRUCK:"double-struck",FRAKTUR:"fraktur",BOLDFRAKTUR:"bold-fraktur",SCRIPT:"script",BOLDSCRIPT:"bold-script",SANSSERIF:"sans-serif",BOLDSANSSERIF:"bold-sans-serif",SANSSERIFITALIC:"sans-serif-italic",SANSSERIFBOLDITALIC:"sans-serif-bold-italic",MONOSPACE:"monospace",INITIAL:"inital",TAILED:"tailed",LOOPED:"looped",STRETCHED:"stretched",CALLIGRAPHIC:"-tex-calligraphic",BOLDCALLIGRAPHIC:"-tex-bold-calligraphic",OLDSTYLE:"-tex-oldstyle",BOLDOLDSTYLE:"-tex-bold-oldstyle",MATHITALIC:"-tex-mathit"},C.Form={PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"},C.LineBreak={AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"},C.LineBreakStyle={BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"},C.IndentAlign={LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"},C.IndentShift={INDENTSHIFT:"indentshift"},C.LineThickness={THIN:"thin",MEDIUM:"medium",THICK:"thick"},C.Notation={LONGDIV:"longdiv",ACTUARIAL:"actuarial",PHASORANGLE:"phasorangle",RADICAL:"radical",BOX:"box",ROUNDEDBOX:"roundedbox",CIRCLE:"circle",LEFT:"left",RIGHT:"right",TOP:"top",BOTTOM:"bottom",UPDIAGONALSTRIKE:"updiagonalstrike",DOWNDIAGONALSTRIKE:"downdiagonalstrike",VERTICALSTRIKE:"verticalstrike",HORIZONTALSTRIKE:"horizontalstrike",NORTHEASTARROW:"northeastarrow",MADRUWB:"madruwb",UPDIAGONALARROW:"updiagonalarrow"},C.Align={TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"},C.Lines={NONE:"none",SOLID:"solid",DASHED:"dashed"},C.Side={LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"},C.Width={AUTO:"auto",FIT:"fit"},C.Actiontype={TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"},C.Overflow={LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"},C.Unit={EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"}},80677:function(V,v,I){var m,O,C=this&&this.__extends||(O=function(t,i){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(r[n]=a[n])})(t,i)},function(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function r(){this.constructor=t}O(t,i),t.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}),D=this&&this.__createBinding||(Object.create?function(O,t,i,r){void 0===r&&(r=i);var a=Object.getOwnPropertyDescriptor(t,i);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(O,r,a)}:function(O,t,i,r){void 0===r&&(r=i),O[r]=t[i]}),_=this&&this.__setModuleDefault||(Object.create?function(O,t){Object.defineProperty(O,"default",{enumerable:!0,value:t})}:function(O,t){O.default=t}),w=this&&this.__importStar||function(O){if(O&&O.__esModule)return O;var t={};if(null!=O)for(var i in O)"default"!==i&&Object.prototype.hasOwnProperty.call(O,i)&&D(t,O,i);return _(t,O),t},A=this&&this.__values||function(O){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&O[t],r=0;if(i)return i.call(O);if(O&&"number"==typeof O.length)return{next:function(){return O&&r>=O.length&&(O=void 0),{value:O&&O[r++],done:!O}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},s=this&&this.__importDefault||function(O){return O&&O.__esModule?O:{default:O}};Object.defineProperty(v,"__esModule",{value:!0}),v.BaseConfiguration=v.BaseTags=v.Other=void 0;var u=I(8890),f=I(96393),e=s(I(6257)),o=s(I(60909)),h=I(82652),d=w(I(33012)),P=I(22450);I(73338);var F=I(75738);function N(O,t){var r=O.stack.env.font?{mathvariant:O.stack.env.font}:{},a=f.MapHandler.getMap("remap").lookup(t),n=(0,F.getRange)(t),b=n?n[3]:"mo",T=O.create("token",b,r,a?a.char:t);n[4]&&T.attributes.set("mathvariant",n[4]),"mo"===b&&(o.default.setProperty(T,"fixStretchy",!0),O.configuration.addNode("fixStretchy",T)),O.Push(T)}new h.CharacterMap("remap",null,{"-":"\u2212","*":"\u2217","`":"\u2018"}),v.Other=N;var j=function(O){function t(){return null!==O&&O.apply(this,arguments)||this}return C(t,O),t}(P.AbstractTags);v.BaseTags=j,v.BaseConfiguration=u.Configuration.create("base",{handler:{character:["command","special","letter","digit"],delimiter:["delimiter"],macro:["delimiter","macros","mathchar0mi","mathchar0mo","mathchar7"],environment:["environment"]},fallback:{character:N,macro:function E(O,t){throw new e.default("UndefinedControlSequence","Undefined control sequence %1","\\"+t)},environment:function g(O,t){throw new e.default("UnknownEnv","Unknown environment '%1'",t)}},items:(m={},m[d.StartItem.prototype.kind]=d.StartItem,m[d.StopItem.prototype.kind]=d.StopItem,m[d.OpenItem.prototype.kind]=d.OpenItem,m[d.CloseItem.prototype.kind]=d.CloseItem,m[d.PrimeItem.prototype.kind]=d.PrimeItem,m[d.SubsupItem.prototype.kind]=d.SubsupItem,m[d.OverItem.prototype.kind]=d.OverItem,m[d.LeftItem.prototype.kind]=d.LeftItem,m[d.Middle.prototype.kind]=d.Middle,m[d.RightItem.prototype.kind]=d.RightItem,m[d.BeginItem.prototype.kind]=d.BeginItem,m[d.EndItem.prototype.kind]=d.EndItem,m[d.StyleItem.prototype.kind]=d.StyleItem,m[d.PositionItem.prototype.kind]=d.PositionItem,m[d.CellItem.prototype.kind]=d.CellItem,m[d.MmlItem.prototype.kind]=d.MmlItem,m[d.FnItem.prototype.kind]=d.FnItem,m[d.NotItem.prototype.kind]=d.NotItem,m[d.NonscriptItem.prototype.kind]=d.NonscriptItem,m[d.DotsItem.prototype.kind]=d.DotsItem,m[d.ArrayItem.prototype.kind]=d.ArrayItem,m[d.EqnArrayItem.prototype.kind]=d.EqnArrayItem,m[d.EquationItem.prototype.kind]=d.EquationItem,m),options:{maxMacros:1e3,baseURL:typeof document>"u"||0===document.getElementsByTagName("base").length?"":String(document.location).replace(/#.*$/,"")},tags:{base:j},postprocessors:[[function x(O){var t,i,r=O.data;try{for(var a=A(r.getList("nonscript")),n=a.next();!n.done;n=a.next()){var b=n.value;if(b.attributes.get("scriptlevel")>0){var T=b.parent;if(T.childNodes.splice(T.childIndex(b),1),r.removeFromList(b.kind,[b]),b.isKind("mrow")){var M=b.childNodes[0];r.removeFromList("mstyle",[M]),r.removeFromList("mspace",M.childNodes[0].childNodes)}}else b.isKind("mrow")&&(b.parent.replaceChild(b.childNodes[0],b),r.removeFromList("mrow",[b]))}}catch(k){t={error:k}}finally{try{n&&!n.done&&(i=a.return)&&i.call(a)}finally{if(t)throw t.error}}},-4]]})},33012:function(V,v,I){var y,C=this&&this.__extends||(y=function(c,l){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,S){p.__proto__=S}||function(p,S){for(var L in S)Object.prototype.hasOwnProperty.call(S,L)&&(p[L]=S[L])})(c,l)},function(c,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function p(){this.constructor=c}y(c,l),c.prototype=null===l?Object.create(l):(p.prototype=l.prototype,new p)}),D=this&&this.__read||function(y,c){var l="function"==typeof Symbol&&y[Symbol.iterator];if(!l)return y;var S,U,p=l.call(y),L=[];try{for(;(void 0===c||c-- >0)&&!(S=p.next()).done;)L.push(S.value)}catch(H){U={error:H}}finally{try{S&&!S.done&&(l=p.return)&&l.call(p)}finally{if(U)throw U.error}}return L},_=this&&this.__spreadArray||function(y,c,l){if(l||2===arguments.length)for(var L,p=0,S=c.length;pthis.maxrow&&(this.maxrow=this.row.length);var l="mtr",p=this.factory.configuration.tags.getTag();p&&(this.row=[p].concat(this.row),l="mlabeledtr"),this.factory.configuration.tags.clearTag();var S=this.create("node",l,this.row);this.table.push(S),this.row=[]},c.prototype.EndTable=function(){y.prototype.EndTable.call(this),this.factory.configuration.tags.end(),this.extendArray("columnalign",this.maxrow),this.extendArray("columnwidth",this.maxrow),this.extendArray("columnspacing",this.maxrow-1)},c.prototype.extendArray=function(l,p){if(this.arraydef[l]){var S=this.arraydef[l].split(/ /),L=_([],D(S),!1);if(L.length>1){for(;L.length",succ:"\u227b",prec:"\u227a",approx:"\u2248",succeq:"\u2ab0",preceq:"\u2aaf",supset:"\u2283",subset:"\u2282",supseteq:"\u2287",subseteq:"\u2286",in:"\u2208",ni:"\u220b",notin:"\u2209",owns:"\u220b",gg:"\u226b",ll:"\u226a",sim:"\u223c",simeq:"\u2243",perp:"\u22a5",equiv:"\u2261",asymp:"\u224d",smile:"\u2323",frown:"\u2322",ne:"\u2260",neq:"\u2260",cong:"\u2245",doteq:"\u2250",bowtie:"\u22c8",models:"\u22a8",notChar:"\u29f8",Leftrightarrow:"\u21d4",Leftarrow:"\u21d0",Rightarrow:"\u21d2",leftrightarrow:"\u2194",leftarrow:"\u2190",gets:"\u2190",rightarrow:"\u2192",to:["\u2192",{accent:!1}],mapsto:"\u21a6",leftharpoonup:"\u21bc",leftharpoondown:"\u21bd",rightharpoonup:"\u21c0",rightharpoondown:"\u21c1",nearrow:"\u2197",searrow:"\u2198",nwarrow:"\u2196",swarrow:"\u2199",rightleftharpoons:"\u21cc",hookrightarrow:"\u21aa",hookleftarrow:"\u21a9",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",Longleftrightarrow:"\u27fa",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",ldots:"\u2026",cdots:"\u22ef",vdots:"\u22ee",ddots:"\u22f1",dotsc:"\u2026",dotsb:"\u22ef",dotsm:"\u22ef",dotsi:"\u22ef",dotso:"\u2026",ldotp:[".",{texClass:e.TEXCLASS.PUNCT}],cdotp:["\u22c5",{texClass:e.TEXCLASS.PUNCT}],colon:[":",{texClass:e.TEXCLASS.PUNCT}]}),new A.CharacterMap("mathchar7",u.default.mathchar7,{Gamma:"\u0393",Delta:"\u0394",Theta:"\u0398",Lambda:"\u039b",Xi:"\u039e",Pi:"\u03a0",Sigma:"\u03a3",Upsilon:"\u03a5",Phi:"\u03a6",Psi:"\u03a8",Omega:"\u03a9",_:"_","#":"#",$:"$","%":"%","&":"&",And:"&"}),new A.DelimiterMap("delimiter",u.default.delimiter,{"(":"(",")":")","[":"[","]":"]","<":"\u27e8",">":"\u27e9","\\lt":"\u27e8","\\gt":"\u27e9","/":"/","|":["|",{texClass:e.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"\u23b0","\\rmoustache":"\u23b1","\\lgroup":"\u27ee","\\rgroup":"\u27ef","\\arrowvert":"\u23d0","\\Arrowvert":"\u2016","\\bracevert":"\u23aa","\\Vert":["\u2016",{texClass:e.TEXCLASS.ORD}],"\\|":["\u2016",{texClass:e.TEXCLASS.ORD}],"\\vert":["|",{texClass:e.TEXCLASS.ORD}],"\\uparrow":"\u2191","\\downarrow":"\u2193","\\updownarrow":"\u2195","\\Uparrow":"\u21d1","\\Downarrow":"\u21d3","\\Updownarrow":"\u21d5","\\backslash":"\\","\\rangle":"\u27e9","\\langle":"\u27e8","\\rbrace":"}","\\lbrace":"{","\\}":"}","\\{":"{","\\rceil":"\u2309","\\lceil":"\u2308","\\rfloor":"\u230b","\\lfloor":"\u230a","\\lbrack":"[","\\rbrack":"]"}),new A.CommandMap("macros",{displaystyle:["SetStyle","D",!0,0],textstyle:["SetStyle","T",!1,0],scriptstyle:["SetStyle","S",!1,1],scriptscriptstyle:["SetStyle","SS",!1,2],rm:["SetFont",s.TexConstant.Variant.NORMAL],mit:["SetFont",s.TexConstant.Variant.ITALIC],oldstyle:["SetFont",s.TexConstant.Variant.OLDSTYLE],cal:["SetFont",s.TexConstant.Variant.CALLIGRAPHIC],it:["SetFont",s.TexConstant.Variant.MATHITALIC],bf:["SetFont",s.TexConstant.Variant.BOLD],bbFont:["SetFont",s.TexConstant.Variant.DOUBLESTRUCK],scr:["SetFont",s.TexConstant.Variant.SCRIPT],frak:["SetFont",s.TexConstant.Variant.FRAKTUR],sf:["SetFont",s.TexConstant.Variant.SANSSERIF],tt:["SetFont",s.TexConstant.Variant.MONOSPACE],mathrm:["MathFont",s.TexConstant.Variant.NORMAL],mathup:["MathFont",s.TexConstant.Variant.NORMAL],mathnormal:["MathFont",""],mathbf:["MathFont",s.TexConstant.Variant.BOLD],mathbfup:["MathFont",s.TexConstant.Variant.BOLD],mathit:["MathFont",s.TexConstant.Variant.MATHITALIC],mathbfit:["MathFont",s.TexConstant.Variant.BOLDITALIC],mathbb:["MathFont",s.TexConstant.Variant.DOUBLESTRUCK],Bbb:["MathFont",s.TexConstant.Variant.DOUBLESTRUCK],mathfrak:["MathFont",s.TexConstant.Variant.FRAKTUR],mathbffrak:["MathFont",s.TexConstant.Variant.BOLDFRAKTUR],mathscr:["MathFont",s.TexConstant.Variant.SCRIPT],mathbfscr:["MathFont",s.TexConstant.Variant.BOLDSCRIPT],mathsf:["MathFont",s.TexConstant.Variant.SANSSERIF],mathsfup:["MathFont",s.TexConstant.Variant.SANSSERIF],mathbfsf:["MathFont",s.TexConstant.Variant.BOLDSANSSERIF],mathbfsfup:["MathFont",s.TexConstant.Variant.BOLDSANSSERIF],mathsfit:["MathFont",s.TexConstant.Variant.SANSSERIFITALIC],mathbfsfit:["MathFont",s.TexConstant.Variant.SANSSERIFBOLDITALIC],mathtt:["MathFont",s.TexConstant.Variant.MONOSPACE],mathcal:["MathFont",s.TexConstant.Variant.CALLIGRAPHIC],mathbfcal:["MathFont",s.TexConstant.Variant.BOLDCALLIGRAPHIC],symrm:["MathFont",s.TexConstant.Variant.NORMAL],symup:["MathFont",s.TexConstant.Variant.NORMAL],symnormal:["MathFont",""],symbf:["MathFont",s.TexConstant.Variant.BOLD],symbfup:["MathFont",s.TexConstant.Variant.BOLD],symit:["MathFont",s.TexConstant.Variant.ITALIC],symbfit:["MathFont",s.TexConstant.Variant.BOLDITALIC],symbb:["MathFont",s.TexConstant.Variant.DOUBLESTRUCK],symfrak:["MathFont",s.TexConstant.Variant.FRAKTUR],symbffrak:["MathFont",s.TexConstant.Variant.BOLDFRAKTUR],symscr:["MathFont",s.TexConstant.Variant.SCRIPT],symbfscr:["MathFont",s.TexConstant.Variant.BOLDSCRIPT],symsf:["MathFont",s.TexConstant.Variant.SANSSERIF],symsfup:["MathFont",s.TexConstant.Variant.SANSSERIF],symbfsf:["MathFont",s.TexConstant.Variant.BOLDSANSSERIF],symbfsfup:["MathFont",s.TexConstant.Variant.BOLDSANSSERIF],symsfit:["MathFont",s.TexConstant.Variant.SANSSERIFITALIC],symbfsfit:["MathFont",s.TexConstant.Variant.SANSSERIFBOLDITALIC],symtt:["MathFont",s.TexConstant.Variant.MONOSPACE],symcal:["MathFont",s.TexConstant.Variant.CALLIGRAPHIC],symbfcal:["MathFont",s.TexConstant.Variant.BOLDCALLIGRAPHIC],textrm:["HBox",null,s.TexConstant.Variant.NORMAL],textup:["HBox",null,s.TexConstant.Variant.NORMAL],textnormal:["HBox"],textit:["HBox",null,s.TexConstant.Variant.ITALIC],textbf:["HBox",null,s.TexConstant.Variant.BOLD],textsf:["HBox",null,s.TexConstant.Variant.SANSSERIF],texttt:["HBox",null,s.TexConstant.Variant.MONOSPACE],tiny:["SetSize",.5],Tiny:["SetSize",.6],scriptsize:["SetSize",.7],small:["SetSize",.85],normalsize:["SetSize",1],large:["SetSize",1.2],Large:["SetSize",1.44],LARGE:["SetSize",1.73],huge:["SetSize",2.07],Huge:["SetSize",2.49],arcsin:"NamedFn",arccos:"NamedFn",arctan:"NamedFn",arg:"NamedFn",cos:"NamedFn",cosh:"NamedFn",cot:"NamedFn",coth:"NamedFn",csc:"NamedFn",deg:"NamedFn",det:"NamedOp",dim:"NamedFn",exp:"NamedFn",gcd:"NamedOp",hom:"NamedFn",inf:"NamedOp",ker:"NamedFn",lg:"NamedFn",lim:"NamedOp",liminf:["NamedOp","lim inf"],limsup:["NamedOp","lim sup"],ln:"NamedFn",log:"NamedFn",max:"NamedOp",min:"NamedOp",Pr:"NamedOp",sec:"NamedFn",sin:"NamedFn",sinh:"NamedFn",sup:"NamedOp",tan:"NamedFn",tanh:"NamedFn",limits:["Limits",1],nolimits:["Limits",0],overline:["UnderOver","2015"],underline:["UnderOver","2015"],overbrace:["UnderOver","23DE",1],underbrace:["UnderOver","23DF",1],overparen:["UnderOver","23DC"],underparen:["UnderOver","23DD"],overrightarrow:["UnderOver","2192"],underrightarrow:["UnderOver","2192"],overleftarrow:["UnderOver","2190"],underleftarrow:["UnderOver","2190"],overleftrightarrow:["UnderOver","2194"],underleftrightarrow:["UnderOver","2194"],overset:"Overset",underset:"Underset",overunderset:"Overunderset",stackrel:["Macro","\\mathrel{\\mathop{#2}\\limits^{#1}}",2],stackbin:["Macro","\\mathbin{\\mathop{#2}\\limits^{#1}}",2],over:"Over",overwithdelims:"Over",atop:"Over",atopwithdelims:"Over",above:"Over",abovewithdelims:"Over",brace:["Over","{","}"],brack:["Over","[","]"],choose:["Over","(",")"],frac:"Frac",sqrt:"Sqrt",root:"Root",uproot:["MoveRoot","upRoot"],leftroot:["MoveRoot","leftRoot"],left:"LeftRight",right:"LeftRight",middle:"LeftRight",llap:"Lap",rlap:"Lap",raise:"RaiseLower",lower:"RaiseLower",moveleft:"MoveLeftRight",moveright:"MoveLeftRight",",":["Spacer",o.MATHSPACE.thinmathspace],":":["Spacer",o.MATHSPACE.mediummathspace],">":["Spacer",o.MATHSPACE.mediummathspace],";":["Spacer",o.MATHSPACE.thickmathspace],"!":["Spacer",o.MATHSPACE.negativethinmathspace],enspace:["Spacer",.5],quad:["Spacer",1],qquad:["Spacer",2],thinspace:["Spacer",o.MATHSPACE.thinmathspace],negthinspace:["Spacer",o.MATHSPACE.negativethinmathspace],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",rule:"rule",Rule:["Rule"],Space:["Rule","blank"],nonscript:"Nonscript",big:["MakeBig",e.TEXCLASS.ORD,.85],Big:["MakeBig",e.TEXCLASS.ORD,1.15],bigg:["MakeBig",e.TEXCLASS.ORD,1.45],Bigg:["MakeBig",e.TEXCLASS.ORD,1.75],bigl:["MakeBig",e.TEXCLASS.OPEN,.85],Bigl:["MakeBig",e.TEXCLASS.OPEN,1.15],biggl:["MakeBig",e.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",e.TEXCLASS.OPEN,1.75],bigr:["MakeBig",e.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",e.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",e.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",e.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",e.TEXCLASS.REL,.85],Bigm:["MakeBig",e.TEXCLASS.REL,1.15],biggm:["MakeBig",e.TEXCLASS.REL,1.45],Biggm:["MakeBig",e.TEXCLASS.REL,1.75],mathord:["TeXAtom",e.TEXCLASS.ORD],mathop:["TeXAtom",e.TEXCLASS.OP],mathopen:["TeXAtom",e.TEXCLASS.OPEN],mathclose:["TeXAtom",e.TEXCLASS.CLOSE],mathbin:["TeXAtom",e.TEXCLASS.BIN],mathrel:["TeXAtom",e.TEXCLASS.REL],mathpunct:["TeXAtom",e.TEXCLASS.PUNCT],mathinner:["TeXAtom",e.TEXCLASS.INNER],vcenter:["TeXAtom",e.TEXCLASS.VCENTER],buildrel:"BuildRel",hbox:["HBox",0],text:"HBox",mbox:["HBox",0],fbox:"FBox",boxed:["Macro","\\fbox{$\\displaystyle{#1}$}",1],framebox:"FrameBox",strut:"Strut",mathstrut:["Macro","\\vphantom{(}"],phantom:"Phantom",vphantom:["Phantom",1,0],hphantom:["Phantom",0,1],smash:"Smash",acute:["Accent","00B4"],grave:["Accent","0060"],ddot:["Accent","00A8"],tilde:["Accent","007E"],bar:["Accent","00AF"],breve:["Accent","02D8"],check:["Accent","02C7"],hat:["Accent","005E"],vec:["Accent","2192"],dot:["Accent","02D9"],widetilde:["Accent","007E",1],widehat:["Accent","005E",1],matrix:"Matrix",array:"Matrix",pmatrix:["Matrix","(",")"],cases:["Matrix","{","","left left",null,".1em",null,!0],eqalign:["Matrix",null,null,"right left",(0,o.em)(o.MATHSPACE.thickmathspace),".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"CrLaTeX",newline:["CrLaTeX",!0],hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left",(0,o.em)(o.MATHSPACE.thickmathspace),".5em","D",null,"right"],leqalignno:["Matrix",null,null,"right left",(0,o.em)(o.MATHSPACE.thickmathspace),".5em","D",null,"left"],hfill:"HFill",hfil:"HFill",hfilll:"HFill",bmod:["Macro",'\\mmlToken{mo}[lspace="thickmathspace" rspace="thickmathspace"]{mod}'],pmod:["Macro","\\pod{\\mmlToken{mi}{mod}\\kern 6mu #1}",1],mod:["Macro","\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}\\mmlToken{mi}{mod}\\,\\,#1",1],pod:["Macro","\\mathchoice{\\kern18mu}{\\kern8mu}{\\kern8mu}{\\kern8mu}(#1)",1],iff:["Macro","\\;\\Longleftrightarrow\\;"],skew:["Macro","{{#2{#3\\mkern#1mu}\\mkern-#1mu}{}}",3],pmb:["Macro","\\rlap{#1}\\kern1px{#1}",1],TeX:["Macro","T\\kern-.14em\\lower.5ex{E}\\kern-.115em X"],LaTeX:["Macro","L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX"]," ":["Macro","\\text{ }"],not:"Not",dots:"Dots",space:"Tilde","\xa0":"Tilde",begin:"BeginEnd",end:"BeginEnd",label:"HandleLabel",ref:"HandleRef",nonumber:"HandleNoTag",mathchoice:"MathChoice",mmlToken:"MmlToken"},m.default),new A.EnvironmentMap("environment",u.default.environment,{array:["AlignedArray"],equation:["Equation",null,!0],eqnarray:["EqnArray",null,!0,!0,"rcl",f.default.cols(0,o.MATHSPACE.thickmathspace),".5em"]},m.default),new A.CharacterMap("not_remap",null,{"\u2190":"\u219a","\u2192":"\u219b","\u2194":"\u21ae","\u21d0":"\u21cd","\u21d2":"\u21cf","\u21d4":"\u21ce","\u2208":"\u2209","\u220b":"\u220c","\u2223":"\u2224","\u2225":"\u2226","\u223c":"\u2241","~":"\u2241","\u2243":"\u2244","\u2245":"\u2247","\u2248":"\u2249","\u224d":"\u226d","=":"\u2260","\u2261":"\u2262","<":"\u226e",">":"\u226f","\u2264":"\u2270","\u2265":"\u2271","\u2272":"\u2274","\u2273":"\u2275","\u2276":"\u2278","\u2277":"\u2279","\u227a":"\u2280","\u227b":"\u2281","\u2282":"\u2284","\u2283":"\u2285","\u2286":"\u2288","\u2287":"\u2289","\u22a2":"\u22ac","\u22a8":"\u22ad","\u22a9":"\u22ae","\u22ab":"\u22af","\u227c":"\u22e0","\u227d":"\u22e1","\u2291":"\u22e2","\u2292":"\u22e3","\u22b2":"\u22ea","\u22b3":"\u22eb","\u22b4":"\u22ec","\u22b5":"\u22ed","\u2203":"\u2204"})},2158:function(V,v,I){var C=this&&this.__assign||function(){return C=Object.assign||function(t){for(var i,r=1,a=arguments.length;r0)&&!(n=a.next()).done;)b.push(n.value)}catch(M){T={error:M}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(T)throw T.error}}return b},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(v,"__esModule",{value:!0});var m=w(I(33012)),u=s(I(60909)),f=s(I(6257)),e=s(I(55571)),o=I(60742),h=s(I(39194)),d=I(91585),P=I(22450),F=I(21108),N=I(56692),E=I(80084),g={},j={fontfamily:1,fontsize:1,fontweight:1,fontstyle:1,color:1,background:1,id:1,class:1,href:1,style:1};function O(t,i){var r=t.stack.env,a=r.inRoot;r.inRoot=!0;var n=new e.default(i,r,t.configuration),b=n.mml(),T=n.stack.global;if(T.leftRoot||T.upRoot){var M={};T.leftRoot&&(M.width=T.leftRoot),T.upRoot&&(M.voffset=T.upRoot,M.height=T.upRoot),b=t.create("node","mpadded",[b],M)}return r.inRoot=a,b}g.Open=function(t,i){t.Push(t.itemFactory.create("open"))},g.Close=function(t,i){t.Push(t.itemFactory.create("close"))},g.Tilde=function(t,i){t.Push(t.create("token","mtext",{},N.entities.nbsp))},g.Space=function(t,i){},g.Superscript=function(t,i){var r;t.GetNext().match(/\d/)&&(t.string=t.string.substr(0,t.i+1)+" "+t.string.substr(t.i+1));var a,n,b=t.stack.Top();b.isKind("prime")?(n=(r=A(b.Peek(2),2))[0],a=r[1],t.stack.Pop()):(n=t.stack.Prev())||(n=t.create("token","mi",{},""));var T=u.default.getProperty(n,"movesupsub"),M=u.default.isType(n,"msubsup")?n.sup:n.over;if(u.default.isType(n,"msubsup")&&!u.default.isType(n,"msup")&&u.default.getChildAt(n,n.sup)||u.default.isType(n,"munderover")&&!u.default.isType(n,"mover")&&u.default.getChildAt(n,n.over)&&!u.default.getProperty(n,"subsupOK"))throw new f.default("DoubleExponent","Double exponent: use braces to clarify");(!u.default.isType(n,"msubsup")||u.default.isType(n,"msup"))&&(T?((!u.default.isType(n,"munderover")||u.default.isType(n,"mover")||u.default.getChildAt(n,n.over))&&(n=t.create("node","munderover",[n],{movesupsub:!0})),M=n.over):M=(n=t.create("node","msubsup",[n])).sup),t.Push(t.itemFactory.create("subsup",n).setProperties({position:M,primes:a,movesupsub:T}))},g.Subscript=function(t,i){var r;t.GetNext().match(/\d/)&&(t.string=t.string.substr(0,t.i+1)+" "+t.string.substr(t.i+1));var a,n,b=t.stack.Top();b.isKind("prime")?(n=(r=A(b.Peek(2),2))[0],a=r[1],t.stack.Pop()):(n=t.stack.Prev())||(n=t.create("token","mi",{},""));var T=u.default.getProperty(n,"movesupsub"),M=u.default.isType(n,"msubsup")?n.sub:n.under;if(u.default.isType(n,"msubsup")&&!u.default.isType(n,"msup")&&u.default.getChildAt(n,n.sub)||u.default.isType(n,"munderover")&&!u.default.isType(n,"mover")&&u.default.getChildAt(n,n.under)&&!u.default.getProperty(n,"subsupOK"))throw new f.default("DoubleSubscripts","Double subscripts: use braces to clarify");(!u.default.isType(n,"msubsup")||u.default.isType(n,"msup"))&&(T?((!u.default.isType(n,"munderover")||u.default.isType(n,"mover")||u.default.getChildAt(n,n.under))&&(n=t.create("node","munderover",[n],{movesupsub:!0})),M=n.under):M=(n=t.create("node","msubsup",[n])).sub),t.Push(t.itemFactory.create("subsup",n).setProperties({position:M,primes:a,movesupsub:T}))},g.Prime=function(t,i){var r=t.stack.Prev();if(r||(r=t.create("node","mi")),u.default.isType(r,"msubsup")&&!u.default.isType(r,"msup")&&u.default.getChildAt(r,r.sup))throw new f.default("DoubleExponentPrime","Prime causes double exponent: use braces to clarify");var a="";t.i--;do{a+=N.entities.prime,t.i++,i=t.GetNext()}while("'"===i||i===N.entities.rsquo);a=["","\u2032","\u2033","\u2034","\u2057"][a.length]||a;var n=t.create("token","mo",{variantForm:!0},a);t.Push(t.itemFactory.create("prime",r,n))},g.Comment=function(t,i){for(;t.i{Object.defineProperty(v,"__esModule",{value:!0}),v.px=v.emRounded=v.em=v.percent=v.length2em=v.MATHSPACE=v.RELUNITS=v.UNITS=v.BIGDIMEN=void 0,v.BIGDIMEN=1e6,v.UNITS={px:1,in:96,cm:96/2.54,mm:96/25.4},v.RELUNITS={em:1,ex:.431,pt:.1,pc:1.2,mu:1/18},v.MATHSPACE={veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18,thin:.04,medium:.06,thick:.1,normal:1,big:2,small:1/Math.sqrt(2),infinity:v.BIGDIMEN},v.length2em=function I(A,s,m,u){if(void 0===s&&(s=0),void 0===m&&(m=1),void 0===u&&(u=16),"string"!=typeof A&&(A=String(A)),""===A||null==A)return s;if(v.MATHSPACE[A])return v.MATHSPACE[A];var f=A.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);if(!f)return s;var e=parseFloat(f[1]||"1"),o=f[2];return v.UNITS.hasOwnProperty(o)?e*v.UNITS[o]/u/m:v.RELUNITS.hasOwnProperty(o)?e*v.RELUNITS[o]:"%"===o?e/100*s:e*s},v.percent=function C(A){return(100*A).toFixed(1).replace(/\.?0+$/,"")+"%"},v.em=function D(A){return Math.abs(A)<.001?"0":A.toFixed(3).replace(/\.?0+$/,"")+"em"},v.emRounded=function _(A,s){return void 0===s&&(s=16),A=(Math.round(A*s)+.05)/s,Math.abs(A)<.001?"0em":A.toFixed(3).replace(/\.?0+$/,"")+"em"},v.px=function w(A,s,m){return void 0===s&&(s=-v.BIGDIMEN),void 0===m&&(m=16),A*=m,s&&A