"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[2707],{59171:function(e,t){var r=this&&this.__values||function(e){var t=typeof Symbol==="function"&&Symbol.iterator,r=t&&e[t],a=0;if(r)return r.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&a>=e.length)e=void 0;return{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var a=this&&this.__read||function(e,t){var r=typeof Symbol==="function"&&e[Symbol.iterator];if(!r)return e;var a=r.call(e),n,i=[],o;try{while((t===void 0||t-- >0)&&!(n=a.next()).done)i.push(n.value)}catch(s){o={error:s}}finally{try{if(n&&!n.done&&(r=a["return"]))r.call(a)}finally{if(o)throw o.error}}return i};var n=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,i;a0)&&!(n=a.next()).done)i.push(n.value)}catch(s){o={error:s}}finally{try{if(n&&!n.done&&(r=a["return"]))r.call(a)}finally{if(o)throw o.error}}return i};var n=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,i;a0)&&!(n=a.next()).done)i.push(n.value)}catch(s){o={error:s}}finally{try{if(n&&!n.done&&(r=a["return"]))r.call(a)}finally{if(o)throw o.error}}return i};var n=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,i;a1){r.autoOP=false}}var n=e.create("token","mi",r,t);e.Push(n)}e.variable=t;function r(e,t){var r;var a=e.configuration.options["digits"];var n=e.string.slice(e.i-1).match(a);var i=l.default.getFontDef(e);if(n){r=e.create("token","mn",i,n[0].replace(/[{}]/g,""));e.i+=n[0].length-1}else{r=e.create("token","mo",i,t)}e.Push(r)}e.digit=r;function i(e,t){var r=e.GetCS();e.parse("macro",[e,r])}e.controlSequence=i;function u(e,t){var r=t.attributes||{mathvariant:s.TexConstant.Variant.ITALIC};var a=e.create("token","mi",r,t.char);e.Push(a)}e.mathchar0mi=u;function c(e,t){var r=t.attributes||{};r["stretchy"]=false;var a=e.create("token","mo",r,t.char);o.default.setProperty(a,"fixStretchy",true);e.configuration.addNode("fixStretchy",a);e.Push(a)}e.mathchar0mo=c;function f(e,t){var r=t.attributes||{mathvariant:s.TexConstant.Variant.NORMAL};if(e.stack.env["font"]){r["mathvariant"]=e.stack.env["font"]}var a=e.create("token","mi",r,t.char);e.Push(a)}e.mathchar7=f;function p(e,t){var r=t.attributes||{};r=Object.assign({fence:false,stretchy:false},r);var a=e.create("token","mo",r,t.char);e.Push(a)}e.delimiter=p;function h(e,t,r,i){var o=i[0];var s=e.itemFactory.create("begin").setProperties({name:t,end:o});s=r.apply(void 0,n([e,s],a(i.slice(1)),false));e.Push(s)}e.environment=h})(u||(u={}));t["default"]=u},24404:function(e,t,r){var a=this&&this.__read||function(e,t){var r=typeof Symbol==="function"&&e[Symbol.iterator];if(!r)return e;var a=r.call(e),n,i=[],o;try{while((t===void 0||t-- >0)&&!(n=a.next()).done)i.push(n.value)}catch(s){o={error:s}}finally{try{if(n&&!n.done&&(r=a["return"]))r.call(a)}finally{if(o)throw o.error}}return i};var n=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,i;a=e.length)e=void 0;return{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var s=o(r(37564));var l=r(55361);var u=o(r(72691));var c=r(34981);var f=function(){function e(e,t){if(t===void 0){t=[]}this.options={};this.packageData=new Map;this.parsers=[];this.root=null;this.nodeLists={};this.error=false;this.handlers=e.handlers;this.nodeFactory=new l.NodeFactory;this.nodeFactory.configuration=this;this.nodeFactory.setCreators(e.nodes);this.itemFactory=new s.default(e.items);this.itemFactory.configuration=this;c.defaultOptions.apply(void 0,n([this.options],a(t),false));(0,c.defaultOptions)(this.options,e.options)}e.prototype.pushParser=function(e){this.parsers.unshift(e)};e.prototype.popParser=function(){this.parsers.shift()};Object.defineProperty(e.prototype,"parser",{get:function(){return this.parsers[0]},enumerable:false,configurable:true});e.prototype.clear=function(){this.parsers=[];this.root=null;this.nodeLists={};this.error=false;this.tags.resetTag()};e.prototype.addNode=function(e,t){var r=this.nodeLists[e];if(!r){r=this.nodeLists[e]=[]}r.push(t);if(t.kind!==e){var a=u.default.getProperty(t,"in-lists")||"";var n=(a?a.split(/,/):[]).concat(e).join(",");u.default.setProperty(t,"in-lists",n)}};e.prototype.getList=function(e){var t,r;var a=this.nodeLists[e]||[];var n=[];try{for(var o=i(a),s=o.next();!s.done;s=o.next()){var l=s.value;if(this.inTree(l)){n.push(l)}}}catch(u){t={error:u}}finally{try{if(s&&!s.done&&(r=o.return))r.call(o)}finally{if(t)throw t.error}}this.nodeLists[e]=n;return n};e.prototype.removeFromList=function(e,t){var r,a;var n=this.nodeLists[e]||[];try{for(var o=i(t),s=o.next();!s.done;s=o.next()){var l=s.value;var u=n.indexOf(l);if(u>=0){n.splice(u,1)}}}catch(c){r={error:c}}finally{try{if(s&&!s.done&&(a=o.return))a.call(o)}finally{if(r)throw r.error}}};e.prototype.inTree=function(e){while(e&&e!==this.root){e=e.parent}return!!e};return e}();t["default"]=f},37720:function(e,t,r){var a=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function a(){this.constructor=t}t.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}}();var n=this&&this.__read||function(e,t){var r=typeof Symbol==="function"&&e[Symbol.iterator];if(!r)return e;var a=r.call(e),n,i=[],o;try{while((t===void 0||t-- >0)&&!(n=a.next()).done)i.push(n.value)}catch(s){o={error:s}}finally{try{if(n&&!n.done&&(r=a["return"]))r.call(a)}finally{if(o)throw o.error}}return i};var i=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,i;a=e.length)e=void 0;return{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.BaseItem=t.MmlStack=void 0;var l=s(r(98770));var u=function(){function e(e){this._nodes=e}Object.defineProperty(e.prototype,"nodes",{get:function(){return this._nodes},enumerable:false,configurable:true});e.prototype.Push=function(){var e;var t=[];for(var r=0;r{Object.defineProperty(t,"__esModule",{value:true});t.TexConstant=void 0;var r;(function(e){e.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"};e.Form={PREFIX:"prefix",INFIX:"infix",POSTFIX:"postfix"};e.LineBreak={AUTO:"auto",NEWLINE:"newline",NOBREAK:"nobreak",GOODBREAK:"goodbreak",BADBREAK:"badbreak"};e.LineBreakStyle={BEFORE:"before",AFTER:"after",DUPLICATE:"duplicate",INFIXLINBREAKSTYLE:"infixlinebreakstyle"};e.IndentAlign={LEFT:"left",CENTER:"center",RIGHT:"right",AUTO:"auto",ID:"id",INDENTALIGN:"indentalign"};e.IndentShift={INDENTSHIFT:"indentshift"};e.LineThickness={THIN:"thin",MEDIUM:"medium",THICK:"thick"};e.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"};e.Align={TOP:"top",BOTTOM:"bottom",CENTER:"center",BASELINE:"baseline",AXIS:"axis",LEFT:"left",RIGHT:"right"};e.Lines={NONE:"none",SOLID:"solid",DASHED:"dashed"};e.Side={LEFT:"left",RIGHT:"right",LEFTOVERLAP:"leftoverlap",RIGHTOVERLAP:"rightoverlap"};e.Width={AUTO:"auto",FIT:"fit"};e.Actiontype={TOGGLE:"toggle",STATUSLINE:"statusline",TOOLTIP:"tooltip",INPUT:"input"};e.Overflow={LINBREAK:"linebreak",SCROLL:"scroll",ELIDE:"elide",TRUNCATE:"truncate",SCALE:"scale"};e.Unit={EM:"em",EX:"ex",PX:"px",IN:"in",CM:"cm",MM:"mm",PT:"pt",PC:"pc"}})(r=t.TexConstant||(t.TexConstant={}))},11252:function(e,t,r){var a=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function a(){this.constructor=t}t.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}}();var n=this&&this.__createBinding||(Object.create?function(e,t,r,a){if(a===undefined)a=r;var n=Object.getOwnPropertyDescriptor(t,r);if(!n||("get"in n?!t.__esModule:n.writable||n.configurable)){n={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,a,n)}:function(e,t,r,a){if(a===undefined)a=r;e[a]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var s=this&&this.__values||function(e){var t=typeof Symbol==="function"&&Symbol.iterator,r=t&&e[t],a=0;if(r)return r.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&a>=e.length)e=void 0;return{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};var u;Object.defineProperty(t,"__esModule",{value:true});t.BaseConfiguration=t.BaseTags=t.Other=void 0;var c=r(56441);var f=r(18437);var p=l(r(98770));var h=l(r(72691));var d=r(80209);var m=o(r(94650));var v=r(17782);r(69447);var y=r(56893);new d.CharacterMap("remap",null,{"-":"−","*":"∗","`":"‘"});function g(e,t){var r=e.stack.env["font"];var a=r?{mathvariant:e.stack.env["font"]}:{};var n=f.MapHandler.getMap("remap").lookup(t);var i=(0,y.getRange)(t);var o=i?i[3]:"mo";var s=e.create("token",o,a,n?n.char:t);i[4]&&s.attributes.set("mathvariant",i[4]);if(o==="mo"){h.default.setProperty(s,"fixStretchy",true);e.configuration.addNode("fixStretchy",s)}e.Push(s)}t.Other=g;function b(e,t){throw new p.default("UndefinedControlSequence","Undefined control sequence %1","\\"+t)}function A(e,t){throw new p.default("UnknownEnv","Unknown environment '%1'",t)}function S(e){var t,r;var a=e.data;try{for(var n=s(a.getList("nonscript")),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.attributes.get("scriptlevel")>0){var l=o.parent;l.childNodes.splice(l.childIndex(o),1);a.removeFromList(o.kind,[o]);if(o.isKind("mrow")){var u=o.childNodes[0];a.removeFromList("mstyle",[u]);a.removeFromList("mspace",u.childNodes[0].childNodes)}}else if(o.isKind("mrow")){o.parent.replaceChild(o.childNodes[0],o);a.removeFromList("mrow",[o])}}}catch(c){t={error:c}}finally{try{if(i&&!i.done&&(r=n.return))r.call(n)}finally{if(t)throw t.error}}}var P=function(e){a(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(v.AbstractTags);t.BaseTags=P;t.BaseConfiguration=c.Configuration.create("base",{handler:{character:["command","special","letter","digit"],delimiter:["delimiter"],macro:["delimiter","macros","mathchar0mi","mathchar0mo","mathchar7"],environment:["environment"]},fallback:{character:g,macro:b,environment:A},items:(u={},u[m.StartItem.prototype.kind]=m.StartItem,u[m.StopItem.prototype.kind]=m.StopItem,u[m.OpenItem.prototype.kind]=m.OpenItem,u[m.CloseItem.prototype.kind]=m.CloseItem,u[m.PrimeItem.prototype.kind]=m.PrimeItem,u[m.SubsupItem.prototype.kind]=m.SubsupItem,u[m.OverItem.prototype.kind]=m.OverItem,u[m.LeftItem.prototype.kind]=m.LeftItem,u[m.Middle.prototype.kind]=m.Middle,u[m.RightItem.prototype.kind]=m.RightItem,u[m.BeginItem.prototype.kind]=m.BeginItem,u[m.EndItem.prototype.kind]=m.EndItem,u[m.StyleItem.prototype.kind]=m.StyleItem,u[m.PositionItem.prototype.kind]=m.PositionItem,u[m.CellItem.prototype.kind]=m.CellItem,u[m.MmlItem.prototype.kind]=m.MmlItem,u[m.FnItem.prototype.kind]=m.FnItem,u[m.NotItem.prototype.kind]=m.NotItem,u[m.NonscriptItem.prototype.kind]=m.NonscriptItem,u[m.DotsItem.prototype.kind]=m.DotsItem,u[m.ArrayItem.prototype.kind]=m.ArrayItem,u[m.EqnArrayItem.prototype.kind]=m.EqnArrayItem,u[m.EquationItem.prototype.kind]=m.EquationItem,u),options:{maxMacros:1e3,baseURL:typeof document==="undefined"||document.getElementsByTagName("base").length===0?"":String(document.location).replace(/#.*$/,"")},tags:{base:P},postprocessors:[[S,-4]]})},94650:function(e,t,r){var a=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function a(){this.constructor=t}t.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}}();var n=this&&this.__read||function(e,t){var r=typeof Symbol==="function"&&e[Symbol.iterator];if(!r)return e;var a=r.call(e),n,i=[],o;try{while((t===void 0||t-- >0)&&!(n=a.next()).done)i.push(n.value)}catch(s){o={error:s}}finally{try{if(n&&!n.done&&(r=a["return"]))r.call(a)}finally{if(o)throw o.error}}return i};var i=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,i;athis.maxrow){this.maxrow=this.row.length}var e="mtr";var t=this.factory.configuration.tags.getTag();if(t){this.row=[t].concat(this.row);e="mlabeledtr"}this.factory.configuration.tags.clearTag();var r=this.create("node",e,this.row);this.table.push(r);this.row=[]};t.prototype.EndTable=function(){e.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)};t.prototype.extendArray=function(e,t){if(!this.arraydef[e])return;var r=this.arraydef[e].split(/ /);var a=i([],n(r),false);if(a.length>1){while(a.length",succ:"≻",prec:"≺",approx:"≈",succeq:"⪰",preceq:"⪯",supset:"⊃",subset:"⊂",supseteq:"⊇",subseteq:"⊆",in:"∈",ni:"∋",notin:"∉",owns:"∋",gg:"≫",ll:"≪",sim:"∼",simeq:"≃",perp:"⊥",equiv:"≡",asymp:"≍",smile:"⌣",frown:"⌢",ne:"≠",neq:"≠",cong:"≅",doteq:"≐",bowtie:"⋈",models:"⊨",notChar:"⧸",Leftrightarrow:"⇔",Leftarrow:"⇐",Rightarrow:"⇒",leftrightarrow:"↔",leftarrow:"←",gets:"←",rightarrow:"→",to:["→",{accent:false}],mapsto:"↦",leftharpoonup:"↼",leftharpoondown:"↽",rightharpoonup:"⇀",rightharpoondown:"⇁",nearrow:"↗",searrow:"↘",nwarrow:"↖",swarrow:"↙",rightleftharpoons:"⇌",hookrightarrow:"↪",hookleftarrow:"↩",longleftarrow:"⟵",Longleftarrow:"⟸",longrightarrow:"⟶",Longrightarrow:"⟹",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",ldots:"…",cdots:"⋯",vdots:"⋮",ddots:"⋱",dotsc:"…",dotsb:"⋯",dotsm:"⋯",dotsi:"⋯",dotso:"…",ldotp:[".",{texClass:p.TEXCLASS.PUNCT}],cdotp:["⋅",{texClass:p.TEXCLASS.PUNCT}],colon:[":",{texClass:p.TEXCLASS.PUNCT}]});new s.CharacterMap("mathchar7",c.default.mathchar7,{Gamma:"Γ",Delta:"Δ",Theta:"Θ",Lambda:"Λ",Xi:"Ξ",Pi:"Π",Sigma:"Σ",Upsilon:"Υ",Phi:"Φ",Psi:"Ψ",Omega:"Ω",_:"_","#":"#",$:"$","%":"%","&":"&",And:"&"});new s.DelimiterMap("delimiter",c.default.delimiter,{"(":"(",")":")","[":"[","]":"]","<":"⟨",">":"⟩","\\lt":"⟨","\\gt":"⟩","/":"/","|":["|",{texClass:p.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"⎰","\\rmoustache":"⎱","\\lgroup":"⟮","\\rgroup":"⟯","\\arrowvert":"⏐","\\Arrowvert":"‖","\\bracevert":"⎪","\\Vert":["‖",{texClass:p.TEXCLASS.ORD}],"\\|":["‖",{texClass:p.TEXCLASS.ORD}],"\\vert":["|",{texClass:p.TEXCLASS.ORD}],"\\uparrow":"↑","\\downarrow":"↓","\\updownarrow":"↕","\\Uparrow":"⇑","\\Downarrow":"⇓","\\Updownarrow":"⇕","\\backslash":"\\","\\rangle":"⟩","\\langle":"⟨","\\rbrace":"}","\\lbrace":"{","\\}":"}","\\{":"{","\\rceil":"⌉","\\lceil":"⌈","\\rfloor":"⌋","\\lfloor":"⌊","\\lbrack":"[","\\rbrack":"]"});new s.CommandMap("macros",{displaystyle:["SetStyle","D",true,0],textstyle:["SetStyle","T",false,0],scriptstyle:["SetStyle","S",false,1],scriptscriptstyle:["SetStyle","SS",false,2],rm:["SetFont",l.TexConstant.Variant.NORMAL],mit:["SetFont",l.TexConstant.Variant.ITALIC],oldstyle:["SetFont",l.TexConstant.Variant.OLDSTYLE],cal:["SetFont",l.TexConstant.Variant.CALLIGRAPHIC],it:["SetFont",l.TexConstant.Variant.MATHITALIC],bf:["SetFont",l.TexConstant.Variant.BOLD],bbFont:["SetFont",l.TexConstant.Variant.DOUBLESTRUCK],scr:["SetFont",l.TexConstant.Variant.SCRIPT],frak:["SetFont",l.TexConstant.Variant.FRAKTUR],sf:["SetFont",l.TexConstant.Variant.SANSSERIF],tt:["SetFont",l.TexConstant.Variant.MONOSPACE],mathrm:["MathFont",l.TexConstant.Variant.NORMAL],mathup:["MathFont",l.TexConstant.Variant.NORMAL],mathnormal:["MathFont",""],mathbf:["MathFont",l.TexConstant.Variant.BOLD],mathbfup:["MathFont",l.TexConstant.Variant.BOLD],mathit:["MathFont",l.TexConstant.Variant.MATHITALIC],mathbfit:["MathFont",l.TexConstant.Variant.BOLDITALIC],mathbb:["MathFont",l.TexConstant.Variant.DOUBLESTRUCK],Bbb:["MathFont",l.TexConstant.Variant.DOUBLESTRUCK],mathfrak:["MathFont",l.TexConstant.Variant.FRAKTUR],mathbffrak:["MathFont",l.TexConstant.Variant.BOLDFRAKTUR],mathscr:["MathFont",l.TexConstant.Variant.SCRIPT],mathbfscr:["MathFont",l.TexConstant.Variant.BOLDSCRIPT],mathsf:["MathFont",l.TexConstant.Variant.SANSSERIF],mathsfup:["MathFont",l.TexConstant.Variant.SANSSERIF],mathbfsf:["MathFont",l.TexConstant.Variant.BOLDSANSSERIF],mathbfsfup:["MathFont",l.TexConstant.Variant.BOLDSANSSERIF],mathsfit:["MathFont",l.TexConstant.Variant.SANSSERIFITALIC],mathbfsfit:["MathFont",l.TexConstant.Variant.SANSSERIFBOLDITALIC],mathtt:["MathFont",l.TexConstant.Variant.MONOSPACE],mathcal:["MathFont",l.TexConstant.Variant.CALLIGRAPHIC],mathbfcal:["MathFont",l.TexConstant.Variant.BOLDCALLIGRAPHIC],symrm:["MathFont",l.TexConstant.Variant.NORMAL],symup:["MathFont",l.TexConstant.Variant.NORMAL],symnormal:["MathFont",""],symbf:["MathFont",l.TexConstant.Variant.BOLD],symbfup:["MathFont",l.TexConstant.Variant.BOLD],symit:["MathFont",l.TexConstant.Variant.ITALIC],symbfit:["MathFont",l.TexConstant.Variant.BOLDITALIC],symbb:["MathFont",l.TexConstant.Variant.DOUBLESTRUCK],symfrak:["MathFont",l.TexConstant.Variant.FRAKTUR],symbffrak:["MathFont",l.TexConstant.Variant.BOLDFRAKTUR],symscr:["MathFont",l.TexConstant.Variant.SCRIPT],symbfscr:["MathFont",l.TexConstant.Variant.BOLDSCRIPT],symsf:["MathFont",l.TexConstant.Variant.SANSSERIF],symsfup:["MathFont",l.TexConstant.Variant.SANSSERIF],symbfsf:["MathFont",l.TexConstant.Variant.BOLDSANSSERIF],symbfsfup:["MathFont",l.TexConstant.Variant.BOLDSANSSERIF],symsfit:["MathFont",l.TexConstant.Variant.SANSSERIFITALIC],symbfsfit:["MathFont",l.TexConstant.Variant.SANSSERIFBOLDITALIC],symtt:["MathFont",l.TexConstant.Variant.MONOSPACE],symcal:["MathFont",l.TexConstant.Variant.CALLIGRAPHIC],symbfcal:["MathFont",l.TexConstant.Variant.BOLDCALLIGRAPHIC],textrm:["HBox",null,l.TexConstant.Variant.NORMAL],textup:["HBox",null,l.TexConstant.Variant.NORMAL],textnormal:["HBox"],textit:["HBox",null,l.TexConstant.Variant.ITALIC],textbf:["HBox",null,l.TexConstant.Variant.BOLD],textsf:["HBox",null,l.TexConstant.Variant.SANSSERIF],texttt:["HBox",null,l.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",h.MATHSPACE.thinmathspace],":":["Spacer",h.MATHSPACE.mediummathspace],">":["Spacer",h.MATHSPACE.mediummathspace],";":["Spacer",h.MATHSPACE.thickmathspace],"!":["Spacer",h.MATHSPACE.negativethinmathspace],enspace:["Spacer",.5],quad:["Spacer",1],qquad:["Spacer",2],thinspace:["Spacer",h.MATHSPACE.thinmathspace],negthinspace:["Spacer",h.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",p.TEXCLASS.ORD,.85],Big:["MakeBig",p.TEXCLASS.ORD,1.15],bigg:["MakeBig",p.TEXCLASS.ORD,1.45],Bigg:["MakeBig",p.TEXCLASS.ORD,1.75],bigl:["MakeBig",p.TEXCLASS.OPEN,.85],Bigl:["MakeBig",p.TEXCLASS.OPEN,1.15],biggl:["MakeBig",p.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",p.TEXCLASS.OPEN,1.75],bigr:["MakeBig",p.TEXCLASS.CLOSE,.85],Bigr:["MakeBig",p.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",p.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",p.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",p.TEXCLASS.REL,.85],Bigm:["MakeBig",p.TEXCLASS.REL,1.15],biggm:["MakeBig",p.TEXCLASS.REL,1.45],Biggm:["MakeBig",p.TEXCLASS.REL,1.75],mathord:["TeXAtom",p.TEXCLASS.ORD],mathop:["TeXAtom",p.TEXCLASS.OP],mathopen:["TeXAtom",p.TEXCLASS.OPEN],mathclose:["TeXAtom",p.TEXCLASS.CLOSE],mathbin:["TeXAtom",p.TEXCLASS.BIN],mathrel:["TeXAtom",p.TEXCLASS.REL],mathpunct:["TeXAtom",p.TEXCLASS.PUNCT],mathinner:["TeXAtom",p.TEXCLASS.INNER],vcenter:["TeXAtom",p.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,true],eqalign:["Matrix",null,null,"right left",(0,h.em)(h.MATHSPACE.thickmathspace),".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"CrLaTeX",newline:["CrLaTeX",true],hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left",(0,h.em)(h.MATHSPACE.thickmathspace),".5em","D",null,"right"],leqalignno:["Matrix",null,null,"right left",(0,h.em)(h.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"," ":"Tilde",begin:"BeginEnd",end:"BeginEnd",label:"HandleLabel",ref:"HandleRef",nonumber:"HandleNoTag",mathchoice:"MathChoice",mmlToken:"MmlToken"},u.default);new s.EnvironmentMap("environment",c.default.environment,{array:["AlignedArray"],equation:["Equation",null,true],eqnarray:["EqnArray",null,true,true,"rcl",f.default.cols(0,h.MATHSPACE.thickmathspace),".5em"]},u.default);new s.CharacterMap("not_remap",null,{"←":"↚","→":"↛","↔":"↮","⇐":"⇍","⇒":"⇏","⇔":"⇎","∈":"∉","∋":"∌","∣":"∤","∥":"∦","∼":"≁","~":"≁","≃":"≄","≅":"≇","≈":"≉","≍":"≭","=":"≠","≡":"≢","<":"≮",">":"≯","≤":"≰","≥":"≱","≲":"≴","≳":"≵","≶":"≸","≷":"≹","≺":"⊀","≻":"⊁","⊂":"⊄","⊃":"⊅","⊆":"⊈","⊇":"⊉","⊢":"⊬","⊨":"⊭","⊩":"⊮","⊫":"⊯","≼":"⋠","≽":"⋡","⊑":"⋢","⊒":"⋣","⊲":"⋪","⊳":"⋫","⊴":"⋬","⊵":"⋭","∃":"∄"})},38364:function(e,t,r){var a=this&&this.__assign||function(){a=Object.assign||function(e){for(var t,r=1,a=arguments.length;r0)&&!(n=a.next()).done)i.push(n.value)}catch(s){o={error:s}}finally{try{if(n&&!n.done&&(r=a["return"]))r.call(a)}finally{if(o)throw o.error}}return i};var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});var u=o(r(94650));var c=l(r(72691));var f=l(r(98770));var p=l(r(75845));var h=r(80469);var d=l(r(6980));var m=r(80747);var v=r(17782);var y=r(86810);var g=r(38316);var b=r(34981);var A={};var S=1.2/.85;var P={fontfamily:1,fontsize:1,fontweight:1,fontstyle:1,color:1,background:1,id:1,class:1,href:1,style:1};A.Open=function(e,t){e.Push(e.itemFactory.create("open"))};A.Close=function(e,t){e.Push(e.itemFactory.create("close"))};A.Tilde=function(e,t){e.Push(e.create("token","mtext",{},g.entities.nbsp))};A.Space=function(e,t){};A.Superscript=function(e,t){var r;if(e.GetNext().match(/\d/)){e.string=e.string.substr(0,e.i+1)+" "+e.string.substr(e.i+1)}var a;var n;var i=e.stack.Top();if(i.isKind("prime")){r=s(i.Peek(2),2),n=r[0],a=r[1];e.stack.Pop()}else{n=e.stack.Prev();if(!n){n=e.create("token","mi",{},"")}}var o=c.default.getProperty(n,"movesupsub");var l=c.default.isType(n,"msubsup")?n.sup:n.over;if(c.default.isType(n,"msubsup")&&!c.default.isType(n,"msup")&&c.default.getChildAt(n,n.sup)||c.default.isType(n,"munderover")&&!c.default.isType(n,"mover")&&c.default.getChildAt(n,n.over)&&!c.default.getProperty(n,"subsupOK")){throw new f.default("DoubleExponent","Double exponent: use braces to clarify")}if(!c.default.isType(n,"msubsup")||c.default.isType(n,"msup")){if(o){if(!c.default.isType(n,"munderover")||c.default.isType(n,"mover")||c.default.getChildAt(n,n.over)){n=e.create("node","munderover",[n],{movesupsub:true})}l=n.over}else{n=e.create("node","msubsup",[n]);l=n.sup}}e.Push(e.itemFactory.create("subsup",n).setProperties({position:l,primes:a,movesupsub:o}))};A.Subscript=function(e,t){var r;if(e.GetNext().match(/\d/)){e.string=e.string.substr(0,e.i+1)+" "+e.string.substr(e.i+1)}var a,n;var i=e.stack.Top();if(i.isKind("prime")){r=s(i.Peek(2),2),n=r[0],a=r[1];e.stack.Pop()}else{n=e.stack.Prev();if(!n){n=e.create("token","mi",{},"")}}var o=c.default.getProperty(n,"movesupsub");var l=c.default.isType(n,"msubsup")?n.sub:n.under;if(c.default.isType(n,"msubsup")&&!c.default.isType(n,"msup")&&c.default.getChildAt(n,n.sub)||c.default.isType(n,"munderover")&&!c.default.isType(n,"mover")&&c.default.getChildAt(n,n.under)&&!c.default.getProperty(n,"subsupOK")){throw new f.default("DoubleSubscripts","Double subscripts: use braces to clarify")}if(!c.default.isType(n,"msubsup")||c.default.isType(n,"msup")){if(o){if(!c.default.isType(n,"munderover")||c.default.isType(n,"mover")||c.default.getChildAt(n,n.under)){n=e.create("node","munderover",[n],{movesupsub:true})}l=n.under}else{n=e.create("node","msubsup",[n]);l=n.sub}}e.Push(e.itemFactory.create("subsup",n).setProperties({position:l,primes:a,movesupsub:o}))};A.Prime=function(e,t){var r=e.stack.Prev();if(!r){r=e.create("node","mi")}if(c.default.isType(r,"msubsup")&&!c.default.isType(r,"msup")&&c.default.getChildAt(r,r.sup)){throw new f.default("DoubleExponentPrime","Prime causes double exponent: use braces to clarify")}var a="";e.i--;do{a+=g.entities.prime;e.i++,t=e.GetNext()}while(t==="'"||t===g.entities.rsquo);a=["","′","″","‴","⁗"][a.length]||a;var n=e.create("token","mo",{variantForm:true},a);e.Push(e.itemFactory.create("prime",r,n))};A.Comment=function(e,t){while(e.i{Object.defineProperty(t,"__esModule",{value:true});t.px=t.emRounded=t.em=t.percent=t.length2em=t.MATHSPACE=t.RELUNITS=t.UNITS=t.BIGDIMEN=void 0;t.BIGDIMEN=1e6;t.UNITS={px:1,in:96,cm:96/2.54,mm:96/25.4};t.RELUNITS={em:1,ex:.431,pt:1/10,pc:12/10,mu:1/18};t.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:t.BIGDIMEN};function r(e,r,a,n){if(r===void 0){r=0}if(a===void 0){a=1}if(n===void 0){n=16}if(typeof e!=="string"){e=String(e)}if(e===""||e==null){return r}if(t.MATHSPACE[e]){return t.MATHSPACE[e]}var i=e.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);if(!i){return r}var o=parseFloat(i[1]||"1"),s=i[2];if(t.UNITS.hasOwnProperty(s)){return o*t.UNITS[s]/n/a}if(t.RELUNITS.hasOwnProperty(s)){return o*t.RELUNITS[s]}if(s==="%"){return o/100*r}return o*r}t.length2em=r;function a(e){return(100*e).toFixed(1).replace(/\.?0+$/,"")+"%"}t.percent=a;function n(e){if(Math.abs(e)<.001)return"0";return e.toFixed(3).replace(/\.?0+$/,"")+"em"}t.em=n;function i(e,t){if(t===void 0){t=16}e=(Math.round(e*t)+.05)/t;if(Math.abs(e)<.001)return"0em";return e.toFixed(3).replace(/\.?0+$/,"")+"em"}t.emRounded=i;function o(e,r,a){if(r===void 0){r=-t.BIGDIMEN}if(a===void 0){a=16}e*=a;if(r&&e