=0)return a}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return null},e.prototype.createAnnotationMenu=function(t,e,r){var n=this,o=this.findID(t,"Annotation");o.submenu=this.factory.get("subMenu")(this.factory,{items:e.map((function(t){var e=s(t,2),o=e[0],i=e[1];return{type:"command",id:o,content:o,action:function(){n.annotation=i,r()}}})),id:"annotations"},o),e.length?o.enable():o.disable()},e.prototype.dynamicSubmenus=function(){var t,r;try{for(var n=i(e.DynamicSubmenus),o=n.next();!o.done;o=n.next()){var a=s(o.value,2),l=a[0],c=a[1],u=this.find(l);if(u){var p=c(this,u);u.submenu=p,p.items.length?u.enable():u.disable()}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.DynamicSubmenus=new Map,e}(a.ContextMenu);e.MJContextMenu=c},8310:function(t,e,r){var n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.Menu=void 0;var i=r(5713),s=r(4474),a=r(9515),l=r(7233),c=r(5865),u=r(473),p=r(4414),h=r(4922),f=r(6914),d=r(3463),y=r(7309),m=a.MathJax,v="undefined"!=typeof window&&window.navigator&&"Mac"===window.navigator.platform.substr(0,3),b=function(){function t(t,e){var r=this;void 0===e&&(e={}),this.settings=null,this.defaultSettings=null,this.menu=null,this.MmlVisitor=new u.MmlVisitor,this.jax={CHTML:null,SVG:null},this.rerenderStart=s.STATE.LAST,this.about=new h.Info('MathJax v'+i.mathjax.version,(function(){var t=[];return t.push("Input Jax: "+r.document.inputJax.map((function(t){return t.name})).join(", ")),t.push("Output Jax: "+r.document.outputJax.name),t.push("Document Type: "+r.document.kind),t.join("
")}),'www.mathjax.org'),this.help=new h.Info("MathJax Help",(function(){return["MathJax is a JavaScript library that allows page"," authors to include mathematics within their web pages."," As a reader, you don't need to do anything to make that happen.
","Browsers: MathJax works with all modern browsers including"," Edge, Firefox, Chrome, Safari, Opera, and most mobile browsers.
","Math Menu: MathJax adds a contextual menu to equations."," Right-click or CTRL-click on any mathematics to access the menu.
",'',"
Show Math As: These options allow you to view the formula's"," source markup (as MathML or in its original format).
","
Copy to Clipboard: These options copy the formula's source markup,"," as MathML or in its original format, to the clipboard"," (in browsers that support that).
","
Math Settings: These give you control over features of MathJax,"," such the size of the mathematics, and the mechanism used"," to display equations.
","
Accessibility: MathJax can work with screen"," readers to make mathematics accessible to the visually impaired."," Turn on the explorer to enable generation of speech strings"," and the ability to investigate expressions interactively.
","
Language: This menu lets you select the language used by MathJax"," for its menus and warning messages. (Not yet implemented in version 3.)
","
","Math Zoom: If you are having difficulty reading an"," equation, MathJax can enlarge it to help you see it better, or"," you can scall all the math on the page to make it larger."," Turn these features on in the Math Settings menu.
","Preferences: MathJax uses your browser's localStorage database"," to save the preferences set via this menu locally in your browser. These"," are not used to track you, and are not transferred or used remotely by"," MathJax in any way.
"].join("\n")}),'www.mathjax.org'),this.mathmlCode=new p.SelectableInfo("MathJax MathML Expression",(function(){if(!r.menu.mathItem)return"";var t=r.toMML(r.menu.mathItem);return""+r.formatSource(t)+"
"}),""),this.originalText=new p.SelectableInfo("MathJax Original Source",(function(){if(!r.menu.mathItem)return"";var t=r.menu.mathItem.math;return''+r.formatSource(t)+"
"}),""),this.annotationText=new p.SelectableInfo("MathJax Annotation Text",(function(){if(!r.menu.mathItem)return"";var t=r.menu.annotation;return''+r.formatSource(t)+"
"}),""),this.zoomBox=new h.Info("MathJax Zoomed Expression",(function(){if(!r.menu.mathItem)return"";var t=r.menu.mathItem.typesetRoot.cloneNode(!0);return t.style.margin="0",''+t.outerHTML+"
"}),""),this.document=t,this.options=l.userOptions(l.defaultOptions({},this.constructor.OPTIONS),e),this.initSettings(),this.mergeUserSettings(),this.initMenu()}return Object.defineProperty(t.prototype,"isLoading",{get:function(){return t.loading>0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loadingPromise",{get:function(){return this.isLoading?(t._loadingPromise||(t._loadingPromise=new Promise((function(e,r){t._loadingOK=e,t._loadingFailed=r}))),t._loadingPromise):Promise.resolve()},enumerable:!1,configurable:!0}),t.prototype.initSettings=function(){this.settings=this.options.settings,this.jax=this.options.jax;var t=this.document.outputJax;this.jax[t.name]=t,this.settings.renderer=t.name,m._.a11y&&m._.a11y.explorer&&Object.assign(this.settings,this.document.options.a11y),this.settings.scale=t.options.scale,this.defaultSettings=Object.assign({},this.settings)},t.prototype.initMenu=function(){var t=this,e=new f.Parser([["contextMenu",c.MJContextMenu.fromJson.bind(c.MJContextMenu)]]);this.menu=e.parse({type:"contextMenu",id:"MathJax_Menu",pool:[this.variable("texHints"),this.variable("semantics"),this.variable("zoom"),this.variable("zscale"),this.variable("renderer",(function(e){return t.setRenderer(e)})),this.variable("alt"),this.variable("cmd"),this.variable("ctrl"),this.variable("shift"),this.variable("scale",(function(e){return t.setScale(e)})),this.variable("explorer",(function(e){return t.setExplorer(e)})),this.a11yVar("highlight"),this.a11yVar("backgroundColor"),this.a11yVar("backgroundOpacity"),this.a11yVar("foregroundColor"),this.a11yVar("foregroundOpacity"),this.a11yVar("speech"),this.a11yVar("subtitles"),this.a11yVar("braille"),this.a11yVar("viewBraille"),this.a11yVar("locale",(function(t){return SRE.setupEngine({locale:t})})),this.a11yVar("speechRules",(function(e){var r=n(e.split("-"),2),o=r[0],i=r[1];t.document.options.sre.domain=o,t.document.options.sre.style=i})),this.a11yVar("magnification"),this.a11yVar("magnify"),this.a11yVar("treeColoring"),this.a11yVar("infoType"),this.a11yVar("infoRole"),this.a11yVar("infoPrefix"),this.variable("autocollapse"),this.variable("collapsible",(function(e){return t.setCollapsible(e)})),this.variable("inTabOrder",(function(e){return t.setTabOrder(e)})),this.variable("assistiveMml",(function(e){return t.setAssistiveMml(e)}))],items:[this.submenu("Show","Show Math As",[this.command("MathMLcode","MathML Code",(function(){return t.mathmlCode.post()})),this.command("Original","Original Form",(function(){return t.originalText.post()})),this.submenu("Annotation","Annotation")]),this.submenu("Copy","Copy to Clipboard",[this.command("MathMLcode","MathML Code",(function(){return t.copyMathML()})),this.command("Original","Original Form",(function(){return t.copyOriginal()})),this.submenu("Annotation","Annotation")]),this.rule(),this.submenu("Settings","Math Settings",[this.submenu("Renderer","Math Renderer",this.radioGroup("renderer",[["CHTML"],["SVG"]])),this.rule(),this.submenu("ZoomTrigger","Zoom Trigger",[this.command("ZoomNow","Zoom Once Now",(function(){return t.zoom(null,"",t.menu.mathItem)})),this.rule(),this.radioGroup("zoom",[["Click"],["DoubleClick","Double-Click"],["NoZoom","No Zoom"]]),this.rule(),this.label("TriggerRequires","Trigger Requires:"),this.checkbox(v?"Option":"Alt",v?"Option":"Alt","alt"),this.checkbox("Command","Command","cmd",{hidden:!v}),this.checkbox("Control","Control","ctrl",{hiddne:v}),this.checkbox("Shift","Shift","shift")]),this.submenu("ZoomFactor","Zoom Factor",this.radioGroup("zscale",[["150%"],["175%"],["200%"],["250%"],["300%"],["400%"]])),this.rule(),this.command("Scale","Scale All Math...",(function(){return t.scaleAllMath()})),this.rule(),this.checkbox("texHints","Add TeX hints to MathML","texHints"),this.checkbox("semantics","Add original as annotation","semantics"),this.rule(),this.command("Reset","Reset to defaults",(function(){return t.resetDefaults()}))]),this.submenu("Accessibility","Accessibility",[this.checkbox("Activate","Activate","explorer"),this.submenu("Speech","Speech",[this.checkbox("Speech","Speech Output","speech"),this.checkbox("Subtitles","Speech Subtitles","subtitles"),this.checkbox("Braille","Braille Output","braille"),this.checkbox("View Braille","Braille Subtitles","viewBraille"),this.rule(),this.submenu("A11yLanguage","Language"),this.rule(),this.submenu("Mathspeak","Mathspeak Rules",this.radioGroup("speechRules",[["mathspeak-default","Verbose"],["mathspeak-brief","Brief"],["mathspeak-sbrief","Superbrief"]])),this.submenu("Clearspeak","Clearspeak Rules",this.radioGroup("speechRules",[["clearspeak-default","Auto"]])),this.submenu("ChromeVox","ChromeVox Rules",this.radioGroup("speechRules",[["chromevox-default","Standard"],["chromevox-alternative","Alternative"]]))]),this.submenu("Highlight","Highlight",[this.submenu("Background","Background",this.radioGroup("backgroundColor",[["Blue"],["Red"],["Green"],["Yellow"],["Cyan"],["Magenta"],["White"],["Black"]])),{type:"slider",variable:"backgroundOpacity",content:" "},this.submenu("Foreground","Foreground",this.radioGroup("foregroundColor",[["Black"],["White"],["Magenta"],["Cyan"],["Yellow"],["Green"],["Red"],["Blue"]])),{type:"slider",variable:"foregroundOpacity",content:" "},this.rule(),this.radioGroup("highlight",[["None"],["Hover"],["Flame"]]),this.rule(),this.checkbox("TreeColoring","Tree Coloring","treeColoring")]),this.submenu("Magnification","Magnification",[this.radioGroup("magnification",[["None"],["Keyboard"],["Mouse"]]),this.rule(),this.radioGroup("magnify",[["200%"],["300%"],["400%"],["500%"]])]),this.submenu("Semantic Info","Semantic Info",[this.checkbox("Type","Type","infoType"),this.checkbox("Role","Role","infoRole"),this.checkbox("Prefix","Prefix","infoPrefix")],!0),this.rule(),this.checkbox("Collapsible","Collapsible Math","collapsible"),this.checkbox("AutoCollapse","Auto Collapse","autocollapse",{disabled:!0}),this.rule(),this.checkbox("InTabOrder","Include in Tab Order","inTabOrder"),this.checkbox("AssistiveMml","Include Hidden MathML","assistiveMml")]),this.submenu("Language","Language"),this.rule(),this.command("About","About MathJax",(function(){return t.about.post()})),this.command("Help","MathJax Help",(function(){return t.help.post()}))]});var r=this.menu;this.about.attachMenu(r),this.help.attachMenu(r),this.originalText.attachMenu(r),this.annotationText.attachMenu(r),this.mathmlCode.attachMenu(r),this.zoomBox.attachMenu(r),this.checkLoadableItems(),this.enableExplorerItems(this.settings.explorer),r.showAnnotation=this.annotationText,r.copyAnnotation=this.copyAnnotation.bind(this),r.annotationTypes=this.options.annotationTypes,y.CssStyles.addInfoStyles(this.document.document),y.CssStyles.addMenuStyles(this.document.document)},t.prototype.checkLoadableItems=function(){var t,e;if(m&&m._&&m.loader&&m.startup)!this.settings.collapsible||m._.a11y&&m._.a11y.complexity||this.loadA11y("complexity"),!this.settings.explorer||m._.a11y&&m._.a11y.explorer||this.loadA11y("explorer"),!this.settings.assistiveMml||m._.a11y&&m._.a11y["assistive-mml"]||this.loadA11y("assistive-mml");else{var r=this.menu;try{for(var n=o(Object.keys(this.jax)),i=n.next();!i.done;i=n.next()){var s=i.value;this.jax[s]||r.findID("Settings","Renderer",s).disable()}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}r.findID("Accessibility","Activate").disable(),r.findID("Accessibility","AutoCollapse").disable(),r.findID("Accessibility","Collapsible").disable()}},t.prototype.enableExplorerItems=function(t){var e,r,n=this.menu.findID("Accessibility","Activate").menu;try{for(var i=o(n.items.slice(1)),s=i.next();!s.done;s=i.next()){var a=s.value;if(a instanceof d.Rule)break;t?a.enable():a.disable()}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},t.prototype.mergeUserSettings=function(){try{var e=localStorage.getItem(t.MENU_STORAGE);if(!e)return;Object.assign(this.settings,JSON.parse(e)),this.setA11y(this.settings)}catch(t){console.log("MathJax localStorage error: "+t.message)}},t.prototype.saveUserSettings=function(){var e,r,n={};try{for(var i=o(Object.keys(this.settings)),s=i.next();!s.done;s=i.next()){var a=s.value;this.settings[a]!==this.defaultSettings[a]&&(n[a]=this.settings[a])}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}try{Object.keys(n).length?localStorage.setItem(t.MENU_STORAGE,JSON.stringify(n)):localStorage.removeItem(t.MENU_STORAGE)}catch(t){console.log("MathJax localStorage error: "+t.message)}},t.prototype.setA11y=function(t){m._.a11y&&m._.a11y.explorer&&m._.a11y.explorer_ts.setA11yOptions(this.document,t)},t.prototype.getA11y=function(t){if(m._.a11y&&m._.a11y.explorer)return void 0!==this.document.options.a11y[t]?this.document.options.a11y[t]:this.document.options.sre[t]},t.prototype.setScale=function(t){this.document.outputJax.options.scale=parseFloat(t),this.document.rerender()},t.prototype.setRenderer=function(t){var e=this;if(this.jax[t])this.setOutputJax(t);else{var r=t.toLowerCase();this.loadComponent("output/"+r,(function(){var n=m.startup;r in n.constructors&&(n.useOutput(r,!0),n.output=n.getOutputJax(),e.jax[t]=n.output,e.setOutputJax(t))}))}},t.prototype.setOutputJax=function(t){this.jax[t].setAdaptor(this.document.adaptor),this.document.outputJax=this.jax[t],this.rerender()},t.prototype.setTabOrder=function(t){this.menu.store.inTaborder(t)},t.prototype.setAssistiveMml=function(t){this.document.options.enableAssistiveMml=t,!t||m._.a11y&&m._.a11y["assistive-mml"]?this.rerender():this.loadA11y("assistive-mml")},t.prototype.setExplorer=function(t){this.enableExplorerItems(t),this.document.options.enableExplorer=t,!t||m._.a11y&&m._.a11y.explorer?this.rerender(this.settings.collapsible?s.STATE.RERENDER:s.STATE.COMPILED):this.loadA11y("explorer")},t.prototype.setCollapsible=function(t){this.document.options.enableComplexity=t,!t||m._.a11y&&m._.a11y.complexity?this.rerender(s.STATE.COMPILED):this.loadA11y("complexity")},t.prototype.scaleAllMath=function(){var t=(100*parseFloat(this.settings.scale)).toFixed(1).replace(/.0$/,""),e=prompt("Scale all mathematics (compared to surrounding text) by",t+"%");if(e)if(e.match(/^\s*\d+(\.\d*)?\s*%?\s*$/)){var r=parseFloat(e)/100;r?this.setScale(String(r)):alert("The scale should not be zero")}else alert("The scale should be a percentage (e.g., 120%)")},t.prototype.resetDefaults=function(){var e,r;t.loading++;var n=this.menu.pool,i=this.defaultSettings;try{for(var a=o(Object.keys(this.settings)),l=a.next();!l.done;l=a.next()){var c=l.value,u=n.lookup(c);if(u){u.setValue(i[c]);var p=u.items[0];p&&p.executeCallbacks_()}else this.settings[c]=i[c]}}catch(t){e={error:t}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}t.loading--,this.rerender(s.STATE.COMPILED)},t.prototype.checkComponent=function(e){var r=t.loadingPromises.get(e);r&&i.mathjax.retryAfter(r)},t.prototype.loadComponent=function(e,r){if(!t.loadingPromises.has(e)){var n=m.loader;if(n){t.loading++;var o=n.load(e).then((function(){t.loading--,t.loadingPromises.delete(e),r(),0===t.loading&&t._loadingPromise&&(t._loadingPromise=null,t._loadingOK())})).catch((function(e){t._loadingPromise?(t._loadingPromise=null,t._loadingFailed(e)):console.log(e)}));t.loadingPromises.set(e,o)}}},t.prototype.loadA11y=function(e){var r=this,n=!s.STATE.ENRICHED;this.loadComponent("a11y/"+e,(function(){var o=m.startup;i.mathjax.handlers.unregister(o.handler),o.handler=o.getHandler(),i.mathjax.handlers.register(o.handler);var a=r.document;r.document=o.document=o.getDocument(),r.document.menu=r,r.document.outputJax.reset(),r.transferMathList(a),r.document.processed=a.processed,t._loadingPromise||(r.document.outputJax.reset(),r.rerender("complexity"===e||n?s.STATE.COMPILED:s.STATE.TYPESET))}))},t.prototype.transferMathList=function(t){var e,r,n=this.document.options.MathItem;try{for(var i=o(t.math),s=i.next();!s.done;s=i.next()){var a=s.value,l=new n;Object.assign(l,a),this.document.math.push(l)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},t.prototype.formatSource=function(t){return t.trim().replace(/&/g,"&").replace(//g,">")},t.prototype.toMML=function(t){return this.MmlVisitor.visitTree(t.root,t,{texHints:this.settings.texHints,semantics:this.settings.semantics&&"MathML"!==t.inputJax.name})},t.prototype.zoom=function(t,e,r){t&&!this.isZoomEvent(t,e)||(this.menu.mathItem=r,t&&this.menu.post(t),this.zoomBox.post())},t.prototype.isZoomEvent=function(t,e){return this.settings.zoom===e&&(!this.settings.alt||t.altKey)&&(!this.settings.ctrl||t.ctrlKey)&&(!this.settings.cmd||t.metaKey)&&(!this.settings.shift||t.shiftKey)},t.prototype.rerender=function(e){void 0===e&&(e=s.STATE.TYPESET),this.rerenderStart=Math.min(e,this.rerenderStart),t.loading||(this.rerenderStart<=s.STATE.COMPILED&&this.document.reset({inputJax:[]}),this.document.rerender(this.rerenderStart),this.rerenderStart=s.STATE.LAST)},t.prototype.copyMathML=function(){this.copyToClipboard(this.toMML(this.menu.mathItem))},t.prototype.copyOriginal=function(){this.copyToClipboard(this.menu.mathItem.math.trim())},t.prototype.copyAnnotation=function(){this.copyToClipboard(this.menu.annotation.trim())},t.prototype.copyToClipboard=function(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.cssText="height: 1px; width: 1px; padding: 1px; position: absolute; left: -10px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}catch(t){alert("Can't copy to clipboard: "+t.message)}document.body.removeChild(e)},t.prototype.addMenu=function(t){var e=this,r=t.typesetRoot;r.addEventListener("contextmenu",(function(){return e.menu.mathItem=t}),!0),r.addEventListener("keydown",(function(){return e.menu.mathItem=t}),!0),r.addEventListener("click",(function(r){return e.zoom(r,"Click",t)}),!0),r.addEventListener("dblclick",(function(r){return e.zoom(r,"DoubleClick",t)}),!0),this.menu.store.insert(r)},t.prototype.clear=function(){this.menu.store.clear()},t.prototype.variable=function(t,e){var r=this;return{name:t,getter:function(){return r.settings[t]},setter:function(n){r.settings[t]=n,e&&e(n),r.saveUserSettings()}}},t.prototype.a11yVar=function(t,e){var r=this;return{name:t,getter:function(){return r.getA11y(t)},setter:function(n){r.settings[t]=n;var o={};o[t]=n,r.setA11y(o),e&&e(n),r.saveUserSettings()}}},t.prototype.submenu=function(t,e,r,n){var i,s;void 0===r&&(r=[]),void 0===n&&(n=!1);var a=[];try{for(var l=o(r),c=l.next();!c.done;c=l.next()){var u=c.value;Array.isArray(u)?a=a.concat(u):a.push(u)}}catch(t){i={error:t}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(i)throw i.error}}return{type:"submenu",id:t,content:e,menu:{items:a},disabled:0===a.length||n}},t.prototype.command=function(t,e,r,n){return void 0===n&&(n={}),Object.assign({type:"command",id:t,content:e,action:r},n)},t.prototype.checkbox=function(t,e,r,n){return void 0===n&&(n={}),Object.assign({type:"checkbox",id:t,content:e,variable:r},n)},t.prototype.radioGroup=function(t,e){var r=this;return e.map((function(e){return r.radio(e[0],e[1]||e[0],t)}))},t.prototype.radio=function(t,e,r,n){return void 0===n&&(n={}),Object.assign({type:"radio",id:t,content:e,variable:r},n)},t.prototype.label=function(t,e){return{type:"label",id:t,content:e}},t.prototype.rule=function(){return{type:"rule"}},t.MENU_STORAGE="MathJax-Menu-Settings",t.OPTIONS={settings:{texHints:!0,semantics:!1,zoom:"NoZoom",zscale:"200%",renderer:"CHTML",alt:!1,cmd:!1,ctrl:!1,shift:!1,scale:1,autocollapse:!1,collapsible:!1,inTabOrder:!0,assistiveMml:!0,explorer:!1},jax:{CHTML:null,SVG:null},annotationTypes:l.expandable({TeX:["TeX","LaTeX","application/x-tex"],StarMath:["StarMath 5.0"],Maple:["Maple"],ContentMathML:["MathML-Content","application/mathml-content+xml"],OpenMath:["OpenMath"]})},t.loading=0,t.loadingPromises=new Map,t._loadingPromise=null,t._loadingOK=null,t._loadingFailed=null,t}();e.Menu=b},4001:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},a=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MenuHandler=e.MenuMathDocumentMixin=e.MenuMathItemMixin=void 0;var c=r(5713),u=r(4474),p=r(7233),h=r(8310);function f(t){return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.addMenu=function(t,e){void 0===e&&(e=!1),this.state()>=u.STATE.CONTEXT_MENU||(this.isEscaped||!t.options.enableMenu&&!e||t.menu.addMenu(this),this.state(u.STATE.CONTEXT_MENU))},e.prototype.checkLoading=function(t){t.checkLoading()},e}(t)}function d(t){var e;return(e=function(t){function e(){for(var e=[],r=0;r\n"+this.childNodeMml(e,r+" ","\n")+r+""},e.prototype.visitMathNode=function(e,r){if(!this.options.semantics||"TeX"!==this.mathItem.inputJax.name)return t.prototype.visitDefault.call(this,e,r);var n=e.childNodes.length&&e.childNodes[0].childNodes.length>1;return r+""},e}(i.SerializedMmlVisitor);e.MmlVisitor=a},4414:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SelectableInfo=void 0;var i=r(4922),s=r(2165),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.addEvents=function(t){var e=this;t.addEventListener("keypress",(function(t){"a"===t.key&&(t.ctrlKey||t.metaKey)&&(e.selectAll(),e.stop(t))}))},e.prototype.selectAll=function(){document.getSelection().selectAllChildren(this.html.querySelector("pre"))},e.prototype.copyToClipboard=function(){this.selectAll();try{document.execCommand("copy")}catch(t){alert("Can't copy to clipboard: "+t.message)}document.getSelection().removeAllRanges()},e.prototype.generateHtml=function(){var e=this;t.prototype.generateHtml.call(this);var r=this.html.querySelector("span."+s.HtmlClasses.INFOSIGNATURE).appendChild(document.createElement("input"));r.type="button",r.value="Copy to Clipboard",r.addEventListener("click",(function(t){return e.copyToClipboard()}))},e}(i.Info);e.SelectableInfo=a},9923:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.asyncLoad=void 0;var n=r(5713);e.asyncLoad=function(t){return n.mathjax.asyncLoad?new Promise((function(e,r){var o=n.mathjax.asyncLoad(t);o instanceof Promise?o.then((function(t){return e(t)})).catch((function(t){return r(t)})):e(o)})):Promise.reject("Can't load '"+t+"': No asyncLoad method specified")}},6469:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.BBox=e.BBoxStyleAdjust=void 0;var n=r(6010);e.BBoxStyleAdjust=[["borderTopWidth","h"],["borderRightWidth","w"],["borderBottomWidth","d"],["borderLeftWidth","w",0],["paddingTop","h"],["paddingRight","w"],["paddingBottom","d"],["paddingLeft","w",0]];var o=function(){function t(t){void 0===t&&(t={w:0,h:-n.BIGDIMEN,d:-n.BIGDIMEN}),this.w=t.w||0,this.h="h"in t?t.h:-n.BIGDIMEN,this.d="d"in t?t.d:-n.BIGDIMEN,this.L=this.R=this.ic=this.sk=this.dx=0,this.scale=this.rscale=1,this.pwidth=""}return t.zero=function(){return new t({h:0,d:0,w:0})},t.empty=function(){return new t},t.prototype.empty=function(){return this.w=0,this.h=this.d=-n.BIGDIMEN,this},t.prototype.clean=function(){this.w===-n.BIGDIMEN&&(this.w=0),this.h===-n.BIGDIMEN&&(this.h=0),this.d===-n.BIGDIMEN&&(this.d=0)},t.prototype.rescale=function(t){this.w*=t,this.h*=t,this.d*=t},t.prototype.combine=function(t,e,r){void 0===e&&(e=0),void 0===r&&(r=0);var n=t.rscale,o=e+n*(t.w+t.L+t.R),i=r+n*t.h,s=n*t.d-r;o>this.w&&(this.w=o),i>this.h&&(this.h=i),s>this.d&&(this.d=s)},t.prototype.append=function(t){var e=t.rscale;this.w+=e*(t.w+t.L+t.R),e*t.h>this.h&&(this.h=e*t.h),e*t.d>this.d&&(this.d=e*t.d)},t.prototype.updateFrom=function(t){this.h=t.h,this.d=t.d,this.w=t.w,t.pwidth&&(this.pwidth=t.pwidth)},t.fullWidth="100%",t}();e.BBox=o},6751:function(t,e){var r,n=this&&this.__extends||(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},s=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r",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 i={};function s(t,r){if("#"===r.charAt(0))return a(r.slice(1));if(e.entities[r])return e.entities[r];if(e.options.loadMissingEntities){var s=r.match(/^[a-zA-Z](fr|scr|opf)$/)?RegExp.$1:r.charAt(0).toLowerCase();i[s]||(i[s]=!0,n.retryAfter(o.asyncLoad("./util/entities/"+s+".js")))}return t}function a(t){var e="x"===t.charAt(0)?parseInt(t.slice(1),16):parseInt(t);return String.fromCodePoint(e)}e.add=function(t,r){Object.assign(e.entities,t),i[r]=!0},e.remove=function(t){delete e.entities[t]},e.translate=function(t){return t.replace(/&([a-z][a-z0-9]*|#(?:[0-9]+|x[0-9a-f]+));/gi,s)},e.numeric=a},7525:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},s=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},a=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},o=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=e.ListItem=e.END=void 0,e.END=Symbol();var s=function(t){void 0===t&&(t=null),this.next=null,this.prev=null,this.data=t};e.ListItem=s;var a=function(){function t(){for(var t=[],r=0;r1;){var c=o.shift(),u=o.shift();c.merge(u,e),o.push(c)}return o.length&&(this.list=o[0].list),this},t.prototype.merge=function(t,r){var o,i,s,a,l;void 0===r&&(r=null),null===r&&(r=this.isBefore.bind(this));for(var c=this.list.next,u=t.list.next;c.data!==e.END&&u.data!==e.END;)r(u.data,c.data)?(o=n([c,u],2),u.prev.next=o[0],c.prev.next=o[1],i=n([c.prev,u.prev],2),u.prev=i[0],c.prev=i[1],s=n([t.list,this.list],2),this.list.prev.next=s[0],t.list.prev.next=s[1],a=n([t.list.prev,this.list.prev],2),this.list.prev=a[0],t.list.prev=a[1],c=(l=n([u.next,c],2))[0],u=l[1]):c=c.next;return u.data!==e.END&&(this.list.prev.next=t.list.next,t.list.next.prev=this.list.prev,t.list.prev.next=this.list,this.list.prev=t.list.prev,t.list.next=t.list.prev=t.list),this},t}();e.LinkedList=a},7233:function(t,e){var r=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},o=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;re.length}}}},t.prototype.add=function(e,r){void 0===r&&(r=t.DEFAULTPRIORITY);var n=this.items.length;do{n--}while(n>=0&&r=0&&this.items[e].item!==t);e>=0&&this.items.splice(e,1)},t.DEFAULTPRIORITY=5,t}();e.PrioritizedList=r},4542:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.retryAfter=e.handleRetriesFor=void 0,e.handleRetriesFor=function(t){return new Promise((function e(r,n){try{r(t())}catch(t){t.retry&&t.retry instanceof Promise?t.retry.then((function(){return e(r,n)})).catch((function(t){return n(t)})):t.restart&&t.restart.isCallback?MathJax.Callback.After((function(){return e(r,n)}),t.restart):n(t)}}))},e.retryAfter=function(t){var e=new Error("MathJax retry");throw e.retry=t,e}},4139:function(t,e){var r=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.CssStyles=void 0;var n=function(){function t(t){void 0===t&&(t=null),this.styles={},this.addStyles(t)}return Object.defineProperty(t.prototype,"cssText",{get:function(){return this.getStyleString()},enumerable:!1,configurable:!0}),t.prototype.addStyles=function(t){var e,n;if(t)try{for(var o=r(Object.keys(t)),i=o.next();!i.done;i=o.next()){var s=i.value;this.styles[s]||(this.styles[s]={}),Object.assign(this.styles[s],t[s])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},t.prototype.removeStyles=function(){for(var t,e,n=[],o=0;o=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},o=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r1;)e.shift(),r.push(e.shift());return r}function l(t){var e,n,o=a(this.styles[t]);0===o.length&&o.push(""),1===o.length&&o.push(o[0]),2===o.length&&o.push(o[0]),3===o.length&&o.push(o[1]);try{for(var i=r(g.connect[t].children),s=i.next();!s.done;s=i.next()){var l=s.value;this.setStyle(this.childName(t,l),o.shift())}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}function c(t){var e,n,o=g.connect[t].children,i=[];try{for(var s=r(o),a=s.next();!a.done;a=s.next()){var l=a.value,c=this.styles[t+"-"+l];if(!c)return void delete this.styles[t];i.push(c)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}i[3]===i[1]&&(i.pop(),i[2]===i[0]&&(i.pop(),i[1]===i[0]&&i.pop())),this.styles[t]=i.join(" ")}function u(t){var e,n;try{for(var o=r(g.connect[t].children),i=o.next();!i.done;i=o.next()){var s=i.value;this.setStyle(this.childName(t,s),this.styles[t])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}}function p(t){var e,i,s=o([],n(g.connect[t].children)),a=this.styles[this.childName(t,s.shift())];try{for(var l=r(s),c=l.next();!c.done;c=l.next()){var u=c.value;if(this.styles[this.childName(t,u)]!==a)return void delete this.styles[t]}}catch(t){e={error:t}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(e)throw e.error}}this.styles[t]=a}var h=/^(?:[\d.]+(?:[a-z]+)|thin|medium|thick|inherit|initial|unset)$/,f=/^(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|inherit|initial|unset)$/;function d(t){var e,n,o,i,s={width:"",style:"",color:""};try{for(var l=r(a(this.styles[t])),c=l.next();!c.done;c=l.next()){var u=c.value;u.match(h)&&""===s.width?s.width=u:u.match(f)&&""===s.style?s.style=u:s.color=u}}catch(t){e={error:t}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}try{for(var p=r(g.connect[t].children),d=p.next();!d.done;d=p.next()){var y=d.value;this.setStyle(this.childName(t,y),s[y])}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}}function y(t){var e,n,o=[];try{for(var i=r(g.connect[t].children),s=i.next();!s.done;s=i.next()){var a=s.value,l=this.styles[this.childName(t,a)];l&&o.push(l)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}o.length?this.styles[t]=o.join(" "):delete this.styles[t]}var m={style:/^(?:normal|italic|oblique|inherit|initial|unset)$/,variant:new RegExp("^(?:"+["normal|none","inherit|initial|unset","common-ligatures|no-common-ligatures","discretionary-ligatures|no-discretionary-ligatures","historical-ligatures|no-historical-ligatures","contextual|no-contextual","(?:stylistic|character-variant|swash|ornaments|annotation)\\([^)]*\\)","small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","lining-nums|oldstyle-nums|proportional-nums|tabular-nums","diagonal-fractions|stacked-fractions","ordinal|slashed-zero","jis78|jis83|jis90|jis04|simplified|traditional","full-width|proportional-width","ruby"].join("|")+")$"),weight:/^(?:normal|bold|bolder|lighter|[1-9]00|inherit|initial|unset)$/,stretch:new RegExp("^(?:"+["normal","(?:(?:ultra|extra|semi)-)?condensed","(?:(?:semi|extra|ulta)-)?expanded","inherit|initial|unset"].join("|")+")$"),size:new RegExp("^(?:"+["xx-small|x-small|small|medium|large|x-large|xx-large|larger|smaller","[d.]+%|[d.]+[a-z]+","inherit|initial|unset"].join("|")+")(?:/(?:normal|[d.+](?:%|[a-z]+)?))?$")};function v(t){var e,o,i,s,l=a(this.styles[t]),c={style:"",variant:[],weight:"",stretch:"",size:"",family:"","line-height":""};try{for(var u=r(l),p=u.next();!p.done;p=u.next()){var h=p.value;c.family=h;try{for(var f=(i=void 0,r(Object.keys(m))),d=f.next();!d.done;d=f.next()){var y=d.value;if((Array.isArray(c[y])||""===c[y])&&h.match(m[y]))if("size"===y){var v=n(h.split(/\//),2),b=v[0],M=v[1];c[y]=b,M&&(c["line-height"]=M)}else""===c.size&&(Array.isArray(c[y])?c[y].push(h):c[y]=h)}}catch(t){i={error:t}}finally{try{d&&!d.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}}}catch(t){e={error:t}}finally{try{p&&!p.done&&(o=u.return)&&o.call(u)}finally{if(e)throw e.error}}!function(t,e){var n,o;try{for(var i=r(g.connect[t].children),s=i.next();!s.done;s=i.next()){var a=s.value,l=this.childName(t,a);if(Array.isArray(e[a])){var c=e[a];c.length&&(this.styles[l]=c.join(" "))}else""!==e[a]&&(this.styles[l]=e[a])}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}}(t,c),delete this.styles[t]}function b(t){}var g=function(){function t(t){void 0===t&&(t=""),this.parse(t)}return Object.defineProperty(t.prototype,"cssText",{get:function(){var t,e,n=[];try{for(var o=r(Object.keys(this.styles)),i=o.next();!i.done;i=o.next()){var s=i.value,a=this.parentName(s);this.styles[a]||n.push(s+": "+this.styles[s])}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n.join("; ")},enumerable:!1,configurable:!0}),t.prototype.set=function(e,r){for(e=this.normalizeName(e),this.setStyle(e,r),t.connect[e]&&!t.connect[e].combine&&(this.combineChildren(e),delete this.styles[e]);e.match(/-/)&&(e=this.parentName(e),t.connect[e]);)t.connect[e].combine.call(this,e)},t.prototype.get=function(t){return t=this.normalizeName(t),this.styles.hasOwnProperty(t)?this.styles[t]:""},t.prototype.setStyle=function(e,r){this.styles[e]=r,t.connect[e]&&t.connect[e].children&&t.connect[e].split.call(this,e),""===r&&delete this.styles[e]},t.prototype.combineChildren=function(e){var n,o,i=this.parentName(e);try{for(var s=r(t.connect[e].children),a=s.next();!a.done;a=s.next()){var l=a.value,c=this.childName(i,l);t.connect[c].combine.call(this,c)}}catch(t){n={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}},t.prototype.parentName=function(t){var e=t.replace(/-[^-]*$/,"");return t===e?"":e},t.prototype.childName=function(e,r){return r.match(/-/)?r:(t.connect[e]&&!t.connect[e].combine&&(r+=e.replace(/.*-/,"-"),e=this.parentName(e)),e+"-"+r)},t.prototype.normalizeName=function(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))},t.prototype.parse=function(t){void 0===t&&(t="");var e=this.constructor.pattern;this.styles={};for(var r=t.replace(e.comment,"").split(e.style);r.length>1;){var o=n(r.splice(0,3),3),i=o[0],s=o[1],a=o[2];if(i.match(/[^\s\n]/))return;this.set(s,a)}},t.pattern={style:/([-a-z]+)[\s\n]*:[\s\n]*((?:'[^']*'|"[^"]*"|\n|.)*?)[\s\n]*(?:;|$)/g,comment:/\/\*[^]*?\*\//g},t.connect={padding:{children:i,split:l,combine:c},border:{children:i,split:u,combine:p},"border-top":{children:s,split:d,combine:y},"border-right":{children:s,split:d,combine:y},"border-bottom":{children:s,split:d,combine:y},"border-left":{children:s,split:d,combine:y},"border-width":{children:i,split:l,combine:null},"border-style":{children:i,split:l,combine:null},"border-color":{children:i,split:l,combine:null},font:{children:["style","variant","weight","stretch","line-height","size","family"],split:v,combine:b}},t}();e.Styles=g},6010:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.px=e.emRounded=e.em=e.percent=e.length2em=e.MATHSPACE=e.RELUNITS=e.UNITS=e.BIGDIMEN=void 0,e.BIGDIMEN=1e6,e.UNITS={px:1,in:96,cm:96/2.54,mm:96/25.4},e.RELUNITS={em:1,ex:.431,pt:.1,pc:1.2,mu:1/18},e.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:e.BIGDIMEN},e.length2em=function(t,r,n,o){if(void 0===r&&(r=0),void 0===n&&(n=1),void 0===o&&(o=16),"string"!=typeof t&&(t=String(t)),""===t||null==t)return r;if(e.MATHSPACE[t])return e.MATHSPACE[t];var i=t.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);if(!i)return r;var s=parseFloat(i[1]||"1"),a=i[2];return e.UNITS.hasOwnProperty(a)?s*e.UNITS[a]/o/n:e.RELUNITS.hasOwnProperty(a)?s*e.RELUNITS[a]:"%"===a?s/100*r:s*r},e.percent=function(t){return(100*t).toFixed(1).replace(/\.?0+$/,"")+"%"},e.em=function(t){return Math.abs(t)<.001?"0":t.toFixed(3).replace(/\.?0+$/,"")+"em"},e.emRounded=function(t,e){return void 0===e&&(e=16),t=(Math.round(t*e)+.05)/e,Math.abs(t)<.001?"0em":t.toFixed(3).replace(/\.?0+$/,"")+"em"},e.px=function(t,r,n){return void 0===r&&(r=-e.BIGDIMEN),void 0===n&&(n=16),t*=n,r&&t0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},n=this&&this.__spreadArray||function(t,e){for(var r=0,n=e.length,o=t.length;r=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractItem=void 0;var s=r(9329),a=r(2556),l=r(2165),c=function(t){function e(e,r,n,o){var i=t.call(this,e,r)||this;return i._content=n,i.disabled=!1,i.callbacks=[],i._id=o||n,i}return o(e,t),Object.defineProperty(e.prototype,"content",{get:function(){return this._content},set:function(t){this._content=t,this.generateHtml(),this.menu&&this.menu.generateHtml()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),e.prototype.press=function(){this.disabled||(this.executeAction(),this.executeCallbacks_())},e.prototype.executeAction=function(){},e.prototype.registerCallback=function(t){-1===this.callbacks.indexOf(t)&&this.callbacks.push(t)},e.prototype.unregisterCallback=function(t){var e=this.callbacks.indexOf(t);-1!==e&&this.callbacks.splice(e,1)},e.prototype.mousedown=function(t){this.press(),this.stop(t)},e.prototype.mouseover=function(t){this.focus(),this.stop(t)},e.prototype.mouseout=function(t){this.deactivate(),this.stop(t)},e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this);var e=this.html;e.setAttribute("aria-disabled","false"),e.textContent=this.content},e.prototype.activate=function(){this.disabled||this.html.classList.add(l.HtmlClasses.MENUACTIVE)},e.prototype.deactivate=function(){this.html.classList.remove(l.HtmlClasses.MENUACTIVE)},e.prototype.focus=function(){this.menu.focused=this,t.prototype.focus.call(this),this.activate()},e.prototype.unfocus=function(){this.deactivate(),t.prototype.unfocus.call(this)},e.prototype.escape=function(t){a.MenuUtil.close(this)},e.prototype.up=function(t){this.menu.up(t)},e.prototype.down=function(t){this.menu.down(t)},e.prototype.left=function(t){this.menu.left(t)},e.prototype.right=function(t){this.menu.right(t)},e.prototype.space=function(t){this.press()},e.prototype.disable=function(){this.disabled=!0;var t=this.html;t.classList.add(l.HtmlClasses.MENUDISABLED),t.setAttribute("aria-disabled","true")},e.prototype.enable=function(){this.disabled=!1;var t=this.html;t.classList.remove(l.HtmlClasses.MENUDISABLED),t.removeAttribute("aria-disabled")},e.prototype.executeCallbacks_=function(){var t,e;try{for(var r=i(this.callbacks),n=r.next();!n.done;n=r.next()){var o=n.value;try{o(this)}catch(t){a.MenuUtil.error(t,"Callback for menu entry "+this.id+" failed.")}}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e}(s.AbstractEntry);e.AbstractItem=c},1484:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),i=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractMenu=void 0;var s=r(8372),a=r(1340),l=r(2165),c=r(6186),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.className=l.HtmlClasses.CONTEXTMENU,e.role="menu",e._items=[],e._baseMenu=null,e}return o(e,t),Object.defineProperty(e.prototype,"baseMenu",{get:function(){return this._baseMenu},set:function(t){this._baseMenu=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this._items},set:function(t){this._items=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"pool",{get:function(){return this.variablePool},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused},set:function(t){if(this._focused!==t){this._focused||this.unfocus();var e=this._focused;this._focused=t,e&&e.unfocus()}},enumerable:!1,configurable:!0}),e.prototype.up=function(t){var e=this.items.filter((function(t){return t instanceof a.AbstractItem&&!t.isHidden()}));if(0!==e.length)if(this.focused){var r=e.indexOf(this.focused);-1!==r&&e[r=r?--r:e.length-1].focus()}else e[e.length-1].focus()},e.prototype.down=function(t){var e=this.items.filter((function(t){return t instanceof a.AbstractItem&&!t.isHidden()}));if(0!==e.length)if(this.focused){var r=e.indexOf(this.focused);-1!==r&&e[r=++r===e.length?0:r].focus()}else e[0].focus()},e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this),this.generateMenu()},e.prototype.generateMenu=function(){var t,e,r=this.html;r.classList.add(l.HtmlClasses.MENU);try{for(var n=i(this.items),o=n.next();!o.done;o=n.next()){var s=o.value;if(s.isHidden()){var a=s.html;a.parentNode&&a.parentNode.removeChild(a)}else r.appendChild(s.html)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.post=function(e,r){this.variablePool.update(),t.prototype.post.call(this,e,r)},e.prototype.unpostSubmenus=function(){var t,e,r=this.items.filter((function(t){return t instanceof c.Submenu}));try{for(var n=i(r),o=n.next();!o.done;o=n.next()){var s=o.value;s.submenu.unpost(),s!==this.focused&&s.unfocus()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.unpost=function(){t.prototype.unpost.call(this),this.unpostSubmenus(),this.focused=null},e.prototype.find=function(t){var e,r;try{for(var n=i(this.items),o=n.next();!o.done;o=n.next()){var s=o.value;if("rule"!==s.type){if(s.id===t)return s;if("submenu"===s.type){var a=s.submenu.find(t);if(a)return a}}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return null},e}(s.AbstractPostable);e.AbstractMenu=u},2868:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractNavigatable=void 0;var n=r(3205),o=r(8853),i=function(){function t(){this.bubble=!1}return t.prototype.bubbleKey=function(){this.bubble=!0},t.prototype.keydown=function(t){switch(t.keyCode){case n.KEY.ESCAPE:this.escape(t);break;case n.KEY.RIGHT:this.right(t);break;case n.KEY.LEFT:this.left(t);break;case n.KEY.UP:this.up(t);break;case n.KEY.DOWN:this.down(t);break;case n.KEY.RETURN:case n.KEY.SPACE:this.space(t);break;default:return}this.bubble?this.bubble=!1:this.stop(t)},t.prototype.escape=function(t){},t.prototype.space=function(t){},t.prototype.left=function(t){},t.prototype.right=function(t){},t.prototype.up=function(t){},t.prototype.down=function(t){},t.prototype.stop=function(t){t&&(t.stopPropagation(),t.preventDefault(),t.cancelBubble=!0)},t.prototype.mousedown=function(t){return this.stop(t)},t.prototype.mouseup=function(t){return this.stop(t)},t.prototype.mouseover=function(t){return this.stop(t)},t.prototype.mouseout=function(t){return this.stop(t)},t.prototype.click=function(t){return this.stop(t)},t.prototype.addEvents=function(t){t.addEventListener(o.MOUSE.DOWN,this.mousedown.bind(this)),t.addEventListener(o.MOUSE.UP,this.mouseup.bind(this)),t.addEventListener(o.MOUSE.OVER,this.mouseover.bind(this)),t.addEventListener(o.MOUSE.OUT,this.mouseout.bind(this)),t.addEventListener(o.MOUSE.CLICK,this.click.bind(this)),t.addEventListener("keydown",this.keydown.bind(this)),t.addEventListener("dragstart",this.stop.bind(this)),t.addEventListener(o.MOUSE.SELECTSTART,this.stop.bind(this)),t.addEventListener("contextmenu",this.stop.bind(this)),t.addEventListener(o.MOUSE.DBLCLICK,this.stop.bind(this))},t}();e.AbstractNavigatable=i},8372:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractPostable=void 0;var i=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.posted=!1,e}return o(e,t),e.prototype.isPosted=function(){return this.posted},e.prototype.post=function(t,e){this.posted||(void 0!==t&&void 0!==e&&this.html.setAttribute("style","left: "+t+"px; top: "+e+"px;"),this.display(),this.posted=!0)},e.prototype.unpost=function(){if(this.posted){var t=this.html;t.parentNode&&t.parentNode.removeChild(t),this.posted=!1}},e}(r(9328).MenuElement);e.AbstractPostable=i},6765:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractVariableItem=void 0;var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this);var e=this.html;this.span||this.generateSpan(),e.appendChild(this.span),this.update()},e.prototype.register=function(){this.variable.register(this)},e.prototype.unregister=function(){this.variable.unregister(this)},e.prototype.update=function(){this.updateAria(),this.span&&this.updateSpan()},e}(r(1340).AbstractItem);e.AbstractVariableItem=i},5179:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.CloseButton=void 0;var i=r(8372),s=r(2165),a=function(t){function e(e){var r=t.call(this)||this;return r.element=e,r.className=s.HtmlClasses.MENUCLOSE,r.role="button",r}return o(e,t),e.prototype.generateHtml=function(){var t=document.createElement("span");t.classList.add(this.className),t.setAttribute("role",this.role),t.setAttribute("tabindex","0");var e=document.createElement("span");e.textContent="\xd7",t.appendChild(e),this.html=t},e.prototype.display=function(){},e.prototype.unpost=function(){t.prototype.unpost.call(this),this.element.unpost()},e.prototype.keydown=function(e){this.bubbleKey(),t.prototype.keydown.call(this,e)},e.prototype.space=function(t){this.unpost(),this.stop(t)},e.prototype.mousedown=function(t){this.unpost(),this.stop(t)},e}(i.AbstractPostable);e.CloseButton=a},5073:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.ContextMenu=void 0;var i=r(1484),s=r(2165),a=r(1932),l=r(2358),c=function(t){function e(e){var r=t.call(this)||this;return r.factory=e,r.id="",r.moving=!1,r._store=new a.MenuStore(r),r.widgets=[],r.variablePool=new l.VariablePool,r}return o(e,t),e.fromJson=function(t,e){var r=e.pool,n=e.items,o=e.id,i=void 0===o?"":o,s=new this(t);s.id=i;var a=t.get("variable");r.forEach((function(e){return a(t,e,s.pool)}));var l=t.get("items")(t,n,s);return s.items=l,s},e.prototype.generateHtml=function(){this.isPosted()&&this.unpost(),t.prototype.generateHtml.call(this),this._frame=document.createElement("div"),this._frame.classList.add(s.HtmlClasses.MENUFRAME);var e="left: 0px; top: 0px; z-index: 200; width: 100%; height: 100%; border: 0px; padding: 0px; margin: 0px;";this._frame.setAttribute("style","position: absolute; "+e);var r=document.createElement("div");r.setAttribute("style","position: fixed; "+e),this._frame.appendChild(r),r.addEventListener("mousedown",function(t){this.unpost(),this.unpostWidgets(),this.stop(t)}.bind(this))},e.prototype.display=function(){document.body.appendChild(this.frame),this.frame.appendChild(this.html),this.focus()},e.prototype.escape=function(t){this.unpost(),this.unpostWidgets()},e.prototype.unpost=function(){if(t.prototype.unpost.call(this),!(this.widgets.length>0)){this.frame.parentNode.removeChild(this.frame);var e=this.store;this.moving||e.insertTaborder(),e.active.focus()}},e.prototype.left=function(t){this.move_(this.store.previous())},e.prototype.right=function(t){this.move_(this.store.next())},Object.defineProperty(e.prototype,"frame",{get:function(){return this._frame},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"store",{get:function(){return this._store},enumerable:!1,configurable:!0}),e.prototype.post=function(e,r){if(void 0!==r)return this.moving||this.store.removeTaborder(),void t.prototype.post.call(this,e,r);var n,o,i,s=e;if(s instanceof Event?(n=s.target,this.stop(s)):n=s,s instanceof MouseEvent&&(o=s.pageX,i=s.pageY,o||i||!s.clientX||(o=s.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,i=s.clientY+document.body.scrollTop+document.documentElement.scrollTop)),!o&&!i&&n){var a=window.pageXOffset||document.documentElement.scrollLeft,l=window.pageYOffset||document.documentElement.scrollTop,c=n.getBoundingClientRect();o=(c.right+c.left)/2+a,i=(c.bottom+c.top)/2+l}this.store.active=n,this.anchor=this.store.active;var u=this.html;o+u.offsetWidth>document.body.offsetWidth-5&&(o=document.body.offsetWidth-u.offsetWidth-5),this.post(o,i)},e.prototype.registerWidget=function(t){this.widgets.push(t)},e.prototype.unregisterWidget=function(t){var e=this.widgets.indexOf(t);e>-1&&this.widgets.splice(e,1),0===this.widgets.length&&this.unpost()},e.prototype.unpostWidgets=function(){this.widgets.forEach((function(t){return t.unpost()}))},e.prototype.toJson=function(){return{type:""}},e.prototype.move_=function(t){this.anchor&&t!==this.anchor&&(this.moving=!0,this.unpost(),this.post(t),this.moving=!1)},e}(i.AbstractMenu);e.ContextMenu=c},7309:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.CssStyles=void 0;var n=r(2165);!function(t){function e(t){return"."+(n.HtmlClasses[t]||t)}var r={};r[e("INFOCLOSE")]="{ top:.2em; right:.2em;}",r[e("INFOCONTENT")]="{ overflow:auto; text-align:left; font-size:80%; padding:.4em .6em; border:1px inset; margin:1em 0px; max-height:20em; max-width:30em; background-color:#EEEEEE; white-space:normal;}",r[e("INFO")+e("MOUSEPOST")]="{outline:none;}",r[e("INFO")]='{ position:fixed; left:50%; width:auto; text-align:center; border:3px outset; padding:1em 2em; background-color:#DDDDDD; color:black; cursor:default; font-family:message-box; font-size:120%; font-style:normal; text-indent:0; text-transform:none; line-height:normal; letter-spacing:normal; word-spacing:normal; word-wrap:normal; white-space:nowrap; float:none; z-index:201; border-radius: 15px; /* Opera 10.5 and IE9 */ -webkit-border-radius:15px; /* Safari and Chrome */ -moz-border-radius:15px; /* Firefox */ -khtml-border-radius:15px; /* Konqueror */ box-shadow:0px 10px 20px #808080; /* Opera 10.5 and IE9 */ -webkit-box-shadow:0px 10px 20px #808080; /* Safari 3 & Chrome */ -moz-box-shadow:0px 10px 20px #808080; /* Forefox 3.5 */ -khtml-box-shadow:0px 10px 20px #808080; /* Konqueror */ filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color="gray", Positive="true"); /* IE */}';var o={};o[e("MENU")]="{ position:absolute; background-color:white; color:black; width:auto; padding:5px 0px; border:1px solid #CCCCCC; margin:0; cursor:default; font: menu; text-align:left; text-indent:0; text-transform:none; line-height:normal; letter-spacing:normal; word-spacing:normal; word-wrap:normal; white-space:nowrap; float:none; z-index:201; border-radius: 5px; /* Opera 10.5 and IE9 */ -webkit-border-radius: 5px; /* Safari and Chrome */ -moz-border-radius: 5px; /* Firefox */ -khtml-border-radius: 5px; /* Konqueror */ box-shadow:0px 10px 20px #808080; /* Opera 10.5 and IE9 */ -webkit-box-shadow:0px 10px 20px #808080; /* Safari 3 & Chrome */ -moz-box-shadow:0px 10px 20px #808080; /* Forefox 3.5 */ -khtml-box-shadow:0px 10px 20px #808080; /* Konqueror */}",o[e("MENUITEM")]="{ padding: 1px 2em; background:transparent;}",o[e("MENUARROW")]="{ position:absolute; right:.5em; padding-top:.25em; color:#666666; font-family: null; font-size: .75em}",o[e("MENUACTIVE")+" "+e("MENUARROW")]="{color:white}",o[e("MENUARROW")+e("RTL")]="{left:.5em; right:auto}",o[e("MENUCHECK")]="{ position:absolute; left:.7em; font-family: null}",o[e("MENUCHECK")+e("RTL")]="{ right:.7em; left:auto }",o[e("MENURADIOCHECK")]="{ position:absolute; left: .7em;}",o[e("MENURADIOCHECK")+e("RTL")]="{ right: .7em; left:auto}",o[e("MENUINPUTBOX")]="{ padding-left: 1em; right:.5em; color:#666666; font-family: null;}",o[e("MENUINPUTBOX")+e("RTL")]="{ left: .1em;}",o[e("MENUCOMBOBOX")]="{ left:.1em; padding-bottom:.5em;}",o[e("MENUSLIDER")]="{ left: .1em;}",o[e("SLIDERVALUE")]="{ position:absolute; right:.1em; padding-top:.25em; color:#333333; font-size: .75em}",o[e("SLIDERBAR")]="{ outline: none; background: #d3d3d3}",o[e("MENULABEL")]="{ padding: 1px 2em 3px 1.33em; font-style:italic}",o[e("MENURULE")]="{ border-top: 1px solid #DDDDDD; margin: 4px 3px;}",o[e("MENUDISABLED")]="{ color:GrayText}",o[e("MENUACTIVE")]="{ background-color: #606872; color: white;}",o[e("MENUDISABLED")+":focus"]="{ background-color: #E8E8E8}",o[e("MENULABEL")+":focus"]="{ background-color: #E8E8E8}",o[e("CONTEXTMENU")+":focus"]="{ outline:none}",o[e("CONTEXTMENU")+" "+e("MENUITEM")+":focus"]="{ outline:none}",o[e("SELECTIONMENU")]="{ position:relative; float:left; border-bottom: none; -webkit-box-shadow:none; -webkit-border-radius:0px; }",o[e("SELECTIONITEM")]="{ padding-right: 1em;}",o[e("SELECTION")]="{ right: 40%; width:50%; }",o[e("SELECTIONBOX")]="{ padding: 0em; max-height:20em; max-width: none; background-color:#FFFFFF;}",o[e("SELECTIONDIVIDER")]="{ clear: both; border-top: 2px solid #000000;}",o[e("MENU")+" "+e("MENUCLOSE")]="{ top:-10px; left:-10px}";var i={};i[e("MENUCLOSE")]='{ position:absolute; cursor:pointer; display:inline-block; border:2px solid #AAA; border-radius:18px; -webkit-border-radius: 18px; /* Safari and Chrome */ -moz-border-radius: 18px; /* Firefox */ -khtml-border-radius: 18px; /* Konqueror */ font-family: "Courier New", Courier; font-size:24px; color:#F0F0F0}',i[e("MENUCLOSE")+" span"]="{ display:block; background-color:#AAA; border:1.5px solid; border-radius:18px; -webkit-border-radius: 18px; /* Safari and Chrome */ -moz-border-radius: 18px; /* Firefox */ -khtml-border-radius: 18px; /* Konqueror */ line-height:0; padding:8px 0 6px /* may need to be browser-specific */}",i[e("MENUCLOSE")+":hover"]="{ color:white!important; border:2px solid #CCC!important}",i[e("MENUCLOSE")+":hover span"]="{ background-color:#CCC!important}",i[e("MENUCLOSE")+":hover:focus"]="{ outline:none}";var s=!1,a=!1,l=!1;function c(t){l||(u(i,t),l=!0)}function u(t,e){var r=e||document,n=r.createElement("style");n.type="text/css";var o="";for(var i in t)o+=i,o+=" ",o+=t[i],o+="\n";n.innerHTML=o,r.head.appendChild(n)}t.addMenuStyles=function(t){a||(u(o,t),a=!0,c(t))},t.addInfoStyles=function(t){s||(u(r,t),s=!0,c(t))}}(e.CssStyles||(e.CssStyles={}))},2165:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.HtmlAttrs=e.HtmlClasses=void 0;function r(t){return"CtxtMenu_"+t}function n(t){return r(t)}function o(t){return r(t)}e.HtmlClasses={ATTACHED:n("Attached"),CONTEXTMENU:n("ContextMenu"),MENU:n("Menu"),MENUARROW:n("MenuArrow"),MENUACTIVE:n("MenuActive"),MENUCHECK:n("MenuCheck"),MENUCLOSE:n("MenuClose"),MENUCOMBOBOX:n("MenuComboBox"),MENUDISABLED:n("MenuDisabled"),MENUFRAME:n("MenuFrame"),MENUITEM:n("MenuItem"),MENULABEL:n("MenuLabel"),MENURADIOCHECK:n("MenuRadioCheck"),MENUINPUTBOX:n("MenuInputBox"),MENURULE:n("MenuRule"),MENUSLIDER:n("MenuSlider"),MOUSEPOST:n("MousePost"),RTL:n("RTL"),INFO:n("Info"),INFOCLOSE:n("InfoClose"),INFOCONTENT:n("InfoContent"),INFOSIGNATURE:n("InfoSignature"),INFOTITLE:n("InfoTitle"),SLIDERVALUE:n("SliderValue"),SLIDERBAR:n("SliderBar"),SELECTION:n("Selection"),SELECTIONBOX:n("SelectionBox"),SELECTIONMENU:n("SelectionMenu"),SELECTIONDIVIDER:n("SelectionDivider"),SELECTIONITEM:n("SelectionItem")},e.HtmlAttrs={COUNTER:o("Counter"),KEYDOWNFUNC:o("keydownFunc"),CONTEXTMENUFUNC:o("contextmenuFunc"),OLDTAB:o("Oldtabindex"),TOUCHFUNC:o("TouchFunc")}},4922:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.Info=void 0;var i=r(5179),s=r(2165),a=function(t){function e(e,r,n){var o=t.call(this)||this;return o.title=e,o.signature=n,o.className=s.HtmlClasses.INFO,o.role="dialog",o.contentDiv=o.generateContent(),o.close=o.generateClose(),o.content=r||function(){return""},o}return o(e,t),e.prototype.attachMenu=function(t){this.menu=t},e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this);var e=this.html;e.appendChild(this.generateTitle()),e.appendChild(this.contentDiv),e.appendChild(this.generateSignature()),e.appendChild(this.close.html),e.setAttribute("tabindex","0")},e.prototype.post=function(){t.prototype.post.call(this);var e=document.documentElement,r=this.html,n=window.innerHeight||e.clientHeight||e.scrollHeight||0,o=Math.floor(-r.offsetWidth/2),i=Math.floor((n-r.offsetHeight)/3);r.setAttribute("style","margin-left: "+o+"px; top: "+i+"px;"),window.event instanceof MouseEvent&&r.classList.add(s.HtmlClasses.MOUSEPOST),r.focus()},e.prototype.display=function(){this.menu.registerWidget(this),this.contentDiv.innerHTML=this.content();var t=this.menu.html;t.parentNode&&t.parentNode.removeChild(t),this.menu.frame.appendChild(this.html)},e.prototype.click=function(t){},e.prototype.keydown=function(e){this.bubbleKey(),t.prototype.keydown.call(this,e)},e.prototype.escape=function(t){this.unpost()},e.prototype.unpost=function(){t.prototype.unpost.call(this),this.html.classList.remove(s.HtmlClasses.MOUSEPOST),this.menu.unregisterWidget(this)},e.prototype.generateClose=function(){var t=new i.CloseButton(this),e=t.html;return e.classList.add(s.HtmlClasses.INFOCLOSE),e.setAttribute("aria-label","Close Dialog Box"),t},e.prototype.generateTitle=function(){var t=document.createElement("span");return t.innerHTML=this.title,t.classList.add(s.HtmlClasses.INFOTITLE),t},e.prototype.generateContent=function(){var t=document.createElement("div");return t.classList.add(s.HtmlClasses.INFOCONTENT),t.setAttribute("tabindex","0"),t},e.prototype.generateSignature=function(){var t=document.createElement("span");return t.innerHTML=this.signature,t.classList.add(s.HtmlClasses.INFOSIGNATURE),t},e.prototype.toJson=function(){return{type:""}},e}(r(8372).AbstractPostable);e.Info=a},1409:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.Checkbox=void 0;var i=r(6765),s=r(2556),a=r(2165),l=function(t){function e(e,r,n,o){var i=t.call(this,e,"checkbox",r,o)||this;return i.role="menuitemcheckbox",i.variable=e.pool.lookup(n),i.register(),i}return o(e,t),e.fromJson=function(t,e,r){return new this(r,e.content,e.variable,e.id)},e.prototype.executeAction=function(){this.variable.setValue(!this.variable.getValue()),s.MenuUtil.close(this)},e.prototype.generateSpan=function(){this.span=document.createElement("span"),this.span.textContent="\u2713",this.span.classList.add(a.HtmlClasses.MENUCHECK)},e.prototype.updateAria=function(){this.html.setAttribute("aria-checked",this.variable.getValue()?"true":"false")},e.prototype.updateSpan=function(){this.span.style.display=this.variable.getValue()?"":"none"},e.prototype.toJson=function(){return{type:""}},e}(i.AbstractVariableItem);e.Checkbox=l},9886:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.Combo=void 0;var i=r(6765),s=r(2556),a=r(2165),l=r(3205),c=function(t){function e(e,r,n,o){var i=t.call(this,e,"combobox",r,o)||this;return i.role="combobox",i.inputEvent=!1,i.variable=e.pool.lookup(n),i.register(),i}return o(e,t),e.fromJson=function(t,e,r){return new this(r,e.content,e.variable,e.id)},e.prototype.executeAction=function(){this.variable.setValue(this.input.value,s.MenuUtil.getActiveElement(this))},e.prototype.space=function(e){t.prototype.space.call(this,e),s.MenuUtil.close(this)},e.prototype.focus=function(){t.prototype.focus.call(this),this.input.focus()},e.prototype.unfocus=function(){t.prototype.unfocus.call(this),this.updateSpan()},e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this),this.html.classList.add(a.HtmlClasses.MENUCOMBOBOX)},e.prototype.generateSpan=function(){this.span=document.createElement("span"),this.span.classList.add(a.HtmlClasses.MENUINPUTBOX),this.input=document.createElement("input"),this.input.addEventListener("keydown",this.inputKey.bind(this)),this.input.setAttribute("size","10em"),this.input.setAttribute("type","text"),this.input.setAttribute("tabindex","-1"),this.span.appendChild(this.input)},e.prototype.inputKey=function(t){this.bubbleKey(),this.inputEvent=!0},e.prototype.keydown=function(e){if(this.inputEvent&&e.keyCode!==l.KEY.ESCAPE&&e.keyCode!==l.KEY.RETURN)return this.inputEvent=!1,void e.stopPropagation();t.prototype.keydown.call(this,e),e.stopPropagation()},e.prototype.updateAria=function(){},e.prototype.updateSpan=function(){var t;try{t=this.variable.getValue(s.MenuUtil.getActiveElement(this))}catch(e){t=""}this.input.value=t},e.prototype.toJson=function(){return{type:""}},e}(i.AbstractVariableItem);e.Combo=c},3467:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.Command=void 0;var i=r(1340),s=r(2556),a=function(t){function e(e,r,n,o){var i=t.call(this,e,"command",r,o)||this;return i.command=n,i}return o(e,t),e.fromJson=function(t,e,r){return new this(r,e.content,e.action,e.id)},e.prototype.executeAction=function(){try{this.command(s.MenuUtil.getActiveElement(this))}catch(t){s.MenuUtil.error(t,"Illegal command callback.")}s.MenuUtil.close(this)},e.prototype.toJson=function(){return{type:""}},e}(i.AbstractItem);e.Command=a},2965:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.Label=void 0;var i=r(1340),s=r(2165),a=function(t){function e(e,r,n){return t.call(this,e,"label",r,n)||this}return o(e,t),e.fromJson=function(t,e,r){return new this(r,e.content,e.id)},e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this),this.html.classList.add(s.HtmlClasses.MENULABEL)},e.prototype.toJson=function(){return{type:""}},e}(i.AbstractItem);e.Label=a},385:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.Radio=void 0;var i=r(6765),s=r(2556),a=r(2165),l=function(t){function e(e,r,n,o){var i=t.call(this,e,"radio",r,o)||this;return i.role="menuitemradio",i.variable=e.pool.lookup(n),i.register(),i}return o(e,t),e.fromJson=function(t,e,r){return new this(r,e.content,e.variable,e.id)},e.prototype.executeAction=function(){this.variable.setValue(this.id),s.MenuUtil.close(this)},e.prototype.generateSpan=function(){this.span=document.createElement("span"),this.span.textContent="\u2713",this.span.classList.add(a.HtmlClasses.MENURADIOCHECK)},e.prototype.updateAria=function(){this.html.setAttribute("aria-checked",this.variable.getValue()===this.id?"true":"false")},e.prototype.updateSpan=function(){this.span.style.display=this.variable.getValue()===this.id?"":"none"},e.prototype.toJson=function(){return{type:""}},e}(i.AbstractVariableItem);e.Radio=l},3463:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.Rule=void 0;var i=r(9329),s=r(2165),a=function(t){function e(e){var r=t.call(this,e,"rule")||this;return r.className=s.HtmlClasses.MENUITEM,r.role="separator",r}return o(e,t),e.fromJson=function(t,e,r){return new this(r)},e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this);var e=this.html;e.classList.add(s.HtmlClasses.MENURULE),e.setAttribute("aria-orientation","vertical")},e.prototype.addEvents=function(t){},e.prototype.toJson=function(){return{type:"rule"}},e}(i.AbstractEntry);e.Rule=a},7625:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.Slider=void 0;var i=r(6765),s=r(2556),a=r(2165),l=r(3205),c=function(t){function e(e,r,n,o){var i=t.call(this,e,"slider",r,o)||this;return i.role="slider",i.labelId="ctx_slideLabel"+s.MenuUtil.counter(),i.valueId="ctx_slideValue"+s.MenuUtil.counter(),i.inputEvent=!1,i.variable=e.pool.lookup(n),i.register(),i}return o(e,t),e.fromJson=function(t,e,r){return new this(r,e.content,e.variable,e.id)},e.prototype.executeAction=function(){this.variable.setValue(this.input.value,s.MenuUtil.getActiveElement(this)),this.update()},e.prototype.space=function(e){t.prototype.space.call(this,e),s.MenuUtil.close(this)},e.prototype.focus=function(){t.prototype.focus.call(this),this.input.focus()},e.prototype.unfocus=function(){t.prototype.unfocus.call(this),this.updateSpan()},e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this),this.html.classList.add(a.HtmlClasses.MENUSLIDER),this.valueSpan=document.createElement("span"),this.valueSpan.setAttribute("id",this.valueId),this.valueSpan.classList.add(a.HtmlClasses.SLIDERVALUE),this.html.appendChild(this.valueSpan)},e.prototype.generateSpan=function(){this.span=document.createElement("span"),this.labelSpan=document.createElement("span"),this.labelSpan.setAttribute("id",this.labelId),this.labelSpan.appendChild(this.html.childNodes[0]),this.html.appendChild(this.labelSpan),this.input=document.createElement("input"),this.input.setAttribute("type","range"),this.input.setAttribute("min","0"),this.input.setAttribute("max","100"),this.input.setAttribute("aria-valuemin","0"),this.input.setAttribute("aria-valuemax","100"),this.input.setAttribute("aria-labelledby",this.labelId),this.input.addEventListener("keydown",this.inputKey.bind(this)),this.input.addEventListener("input",this.executeAction.bind(this)),this.input.classList.add(a.HtmlClasses.SLIDERBAR),this.span.appendChild(this.input)},e.prototype.inputKey=function(t){this.inputEvent=!0},e.prototype.mousedown=function(t){t.stopPropagation()},e.prototype.mouseup=function(t){event.stopPropagation()},e.prototype.keydown=function(e){var r=e.keyCode;return r===l.KEY.UP||r===l.KEY.DOWN?(e.preventDefault(),void t.prototype.keydown.call(this,e)):this.inputEvent&&r!==l.KEY.ESCAPE&&r!==l.KEY.RETURN?(this.inputEvent=!1,void e.stopPropagation()):(t.prototype.keydown.call(this,e),void e.stopPropagation())},e.prototype.updateAria=function(){var t=this.variable.getValue();t&&this.input&&(this.input.setAttribute("aria-valuenow",t),this.input.setAttribute("aria-valuetext",t+"%"))},e.prototype.updateSpan=function(){var t;try{t=this.variable.getValue(s.MenuUtil.getActiveElement(this)),this.valueSpan.innerHTML=t+"%"}catch(e){t=""}this.input.value=t},e.prototype.toJson=function(){return{type:""}},e}(i.AbstractVariableItem);e.Slider=c},6186:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.Submenu=void 0;var i=r(1340),s=r(2165),a=function(t){function e(e,r,n){var o=t.call(this,e,"submenu",r,n)||this;return o._submenu=null,o}return o(e,t),e.fromJson=function(t,e,r){var n=e.content,o=e.menu,i=new this(r,n,e.id),s=t.get("subMenu")(t,o,i);return i.submenu=s,i},Object.defineProperty(e.prototype,"submenu",{get:function(){return this._submenu},set:function(t){this._submenu=t},enumerable:!1,configurable:!0}),e.prototype.mouseover=function(t){this.focus(),this.stop(t)},e.prototype.mouseout=function(t){this.stop(t)},e.prototype.unfocus=function(){if(this.submenu.isPosted()){if(this.menu.focused!==this)return t.prototype.unfocus.call(this),void this.menu.unpostSubmenus();this.html.setAttribute("tabindex","-1"),this.html.blur()}else t.prototype.unfocus.call(this)},e.prototype.focus=function(){t.prototype.focus.call(this),this.submenu.isPosted()||this.disabled||this.submenu.post()},e.prototype.executeAction=function(){this.submenu.isPosted()?this.submenu.unpost():this.submenu.post()},e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this);var e=this.html;this.span=document.createElement("span"),this.span.textContent="\u25ba",this.span.classList.add(s.HtmlClasses.MENUARROW),e.appendChild(this.span),e.setAttribute("aria-haspopup","true")},e.prototype.left=function(e){this.submenu.isPosted()?this.submenu.unpost():t.prototype.left.call(this,e)},e.prototype.right=function(t){this.submenu.isPosted()?this.submenu.down(t):this.submenu.post()},e.prototype.toJson=function(){return{type:""}},e}(i.AbstractItem);e.Submenu=a},3205:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.KEY=void 0,function(t){t[t.RETURN=13]="RETURN",t[t.ESCAPE=27]="ESCAPE",t[t.SPACE=32]="SPACE",t[t.LEFT=37]="LEFT",t[t.UP=38]="UP",t[t.RIGHT=39]="RIGHT",t[t.DOWN=40]="DOWN"}(e.KEY||(e.KEY={}))},9328:function(t,e,r){var n,o=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.MenuElement=void 0;var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.addAttributes=function(t){for(var e in t)this.html.setAttribute(e,t[e])},Object.defineProperty(e.prototype,"html",{get:function(){return this._html||this.generateHtml(),this._html},set:function(t){this._html=t,this.addEvents(t)},enumerable:!1,configurable:!0}),e.prototype.generateHtml=function(){var t=document.createElement("div");t.classList.add(this.className),t.setAttribute("role",this.role),this.html=t},e.prototype.focus=function(){var t=this.html;t.setAttribute("tabindex","0"),t.focus()},e.prototype.unfocus=function(){var t=this.html;t.hasAttribute("tabindex")&&t.setAttribute("tabindex","-1");try{t.blur()}catch(t){}t.blur()},e}(r(2868).AbstractNavigatable);e.MenuElement=i},1932:function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.MenuStore=void 0;var o=r(2556),i=r(2165),s=r(3205),a=function(){function t(t){this.menu=t,this.store=[],this._active=null,this.counter=0,this.attachedClass=i.HtmlClasses.ATTACHED+"_"+o.MenuUtil.counter(),this.taborder=!0,this.attrMap={}}return Object.defineProperty(t.prototype,"active",{get:function(){return this._active},set:function(t){do{if(-1!==this.store.indexOf(t)){this._active=t;break}t=t.parentNode}while(t)},enumerable:!1,configurable:!0}),t.prototype.next=function(){var t=this.store.length;if(0===t)return this.active=null,null;var e=this.store.indexOf(this.active);return e=-1===e?0:e0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s},i=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},s=this&&this.__spread||function(){for(var t=[],e=0;e0)&&!(n=i.next()).done;)s.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s};Object.defineProperty(e,"__esModule",{value:!0}),e.SelectionBox=e.SelectionMenu=void 0;var s=r(2556),a=r(2165),l=r(1484),c=r(4922),u=function(t){function e(e){var r=t.call(this)||this;return r.anchor=e,r.className=a.HtmlClasses.SELECTIONMENU,r.variablePool=r.anchor.menu.pool,r.baseMenu=r.anchor.menu,r}return o(e,t),e.fromJson=function(t,e,r){var n=e.title,o=e.values,i=e.variable,s=new this(r),a=t.get("label")(t,{content:n||"",id:n||"id"},s),l=t.get("rule")(t,{},s),c=o.map((function(e){return t.get("radio")(t,{content:e,variable:i,id:e},s)})),u=[a,l].concat(c);return s.items=u,s},e.prototype.generateHtml=function(){t.prototype.generateHtml.call(this),this.items.forEach((function(t){return t.html.classList.add(a.HtmlClasses.SELECTIONITEM)}))},e.prototype.display=function(){},e.prototype.right=function(t){this.anchor.right(t)},e.prototype.left=function(t){this.anchor.left(t)},e}(l.AbstractMenu);e.SelectionMenu=u;var p=function(t){function e(e,r,n,o){void 0===n&&(n="none"),void 0===o&&(o="vertical");var i=t.call(this,e,null,r)||this;return i.style=n,i.grid=o,i._selections=[],i.prefix="ctxt-selection",i._balanced=!0,i}return o(e,t),e.fromJson=function(t,e,r){var n=e.title,o=e.signature,i=e.selections,s=new this(n,o,e.order,e.grid);s.attachMenu(r);var a=i.map((function(e){return t.get("selectionMenu")(t,e,s)}));return s.selections=a,s},e.prototype.attachMenu=function(t){this.menu=t},Object.defineProperty(e.prototype,"selections",{get:function(){return this._selections},set:function(t){var e=this;this._selections=[],t.forEach((function(t){return e.addSelection(t)}))},enumerable:!1,configurable:!0}),e.prototype.addSelection=function(t){t.anchor=this,this._selections.push(t)},e.prototype.rowDiv=function(t){var e=this,r=document.createElement("div");this.contentDiv.appendChild(r);var n=t.map((function(t){return r.appendChild(t.html),t.html.id||(t.html.id=e.prefix+s.MenuUtil.counter()),t.html.getBoundingClientRect()})),o=n.map((function(t){return t.width})),i=o.reduce((function(t,e){return t+e}),0),l=n.reduce((function(t,e){return Math.max(t,e.height)}),0);return r.classList.add(a.HtmlClasses.SELECTIONDIVIDER),r.setAttribute("style","height: "+l+"px;"),[r,i,l,o]},e.prototype.display=function(){if(t.prototype.display.call(this),this.order(),this.selections.length){for(var e=[],r=0,n=[],o=this.getChunkSize(this.selections.length),s=function(t){var s=a.selections.slice(t,t+o),l=i(a.rowDiv(s),4),c=l[0],u=l[1],p=l[2],h=l[3];e.push(c),r=Math.max(r,u),s.forEach((function(t){return t.html.style.height=p+"px"})),n=a.combineColumn(n,h)},a=this,l=0;ldocument.body.offsetWidth-5&&(i=Math.max(5,i-o-r.offsetWidth+6)),t.prototype.post.call(this,i,s)}},e.prototype.display=function(){this.baseMenu.frame.appendChild(this.html)},e.prototype.setBaseMenu=function(){var t=this;do{t=t.anchor.menu}while(t instanceof e);this.baseMenu=t},e.prototype.left=function(t){this.focused=null,this.anchor.focus()},e.prototype.toJson=function(){return{type:""}},e}(r(1484).AbstractMenu);e.SubMenu=i},3737:function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.Variable=void 0;var n=r(2556),o=function(){function t(t,e,r){this._name=t,this.getter=e,this.setter=r,this.items=[]}return t.fromJson=function(t,e,r){var n=new this(e.name,e.getter,e.setter);r.insert(n)},Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),t.prototype.getValue=function(t){try{return this.getter(t)}catch(t){return n.MenuUtil.error(t,"Command of variable "+this.name+" failed."),null}},t.prototype.setValue=function(t,e){try{this.setter(t,e)}catch(t){n.MenuUtil.error(t,"Command of variable "+this.name+" failed.")}this.update()},t.prototype.register=function(t){-1===this.items.indexOf(t)&&this.items.push(t)},t.prototype.unregister=function(t){var e=this.items.indexOf(t);-1!==e&&this.items.splice(e,1)},t.prototype.update=function(){this.items.forEach((function(t){return t.update()}))},t.prototype.registerCallback=function(t){this.items.forEach((function(e){return e.registerCallback(t)}))},t.prototype.unregisterCallback=function(t){this.items.forEach((function(e){return e.unregisterCallback(t)}))},t.prototype.toJson=function(){return{type:"variable",name:this.name,getter:this.getter.toString(),setter:this.setter.toString()}},t}();e.Variable=o},2358:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.VariablePool=void 0;var r=function(){function t(){this.pool={}}return t.prototype.insert=function(t){this.pool[t.name]=t},t.prototype.lookup=function(t){return this.pool[t]},t.prototype.remove=function(t){delete this.pool[t]},t.prototype.update=function(){for(var t in this.pool)this.pool[t].update()},t}();e.VariablePool=r}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n].call(i.exports,i,i.exports,r),i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),function(){var t=r(9515),e=r(235),n=r(265),o=r(2388);(0,t.combineWithMathJax)({_:{components:{loader:e,package:n,startup:o}}}),e.Loader.preLoad("loader","startup","core","input/mml","output/chtml","output/chtml/fonts/tex.js","ui/menu","a11y/assistive-mml");var i=r(444),s=r(6191),a=r(5009),l=r(3494),c=r(3670),u=r(805),p=r(9206),h=r(5722),f=r(4474),d=r(9e3),y=r(91),m=r(6336),v=r(1759),b=r(3909),g=r(9007),M=r(3948),O=r(9145),x=r(142),S=r(7590),E=r(3233),_=r(1334),C=r(6661),w=r(1581),T=r(5410),A=r(6850),L=r(3985),j=r(450),N=r(6405),R=r(3050),I=r(2756),B=r(7238),P=r(5741),k=r(6145),H=r(9878),D=r(7265),F=r(6030),X=r(7131),W=r(1314),J=r(4461),V=r(1349),U=r(4359),z=r(4770),K=r(5022),q=r(5184),G=r(9102),Z=r(6325),Y=r(4082),$=r(9259),Q=r(2975),tt=r(4574),et=r(4596),rt=r(7860),nt=r(8823),ot=r(8912),it=r(3811),st=r(6272),at=r(3683),lt=r(5138),ct=r(3726),ut=r(3363),pt=r(3335),ht=r(5713),ft=r(9923),dt=r(6469),yt=r(6751),mt=r(5368),vt=r(7525),bt=r(103),gt=r(7233),Mt=r(8666),Ot=r(4542),xt=r(4139),St=r(8054),Et=r(6010),_t=r(7875),Ct=r(505);(0,t.combineWithMathJax)({_:{adaptors:{HTMLAdaptor:i,browserAdaptor:s},components:{global:t},core:{DOMAdaptor:a,FindMath:l,Handler:c,HandlerList:u,InputJax:p,MathDocument:h,MathItem:f,MathList:d,MmlTree:{Attributes:y,MML:m,MathMLVisitor:v,MmlFactory:b,MmlNode:g,MmlNodes:{TeXAtom:M,maction:O,maligngroup:x,malignmark:S,math:E,mathchoice:_,menclose:C,merror:w,mfenced:T,mfrac:A,mglyph:L,mi:j,mmultiscripts:N,mn:R,mo:I,mpadded:B,mphantom:P,mroot:k,mrow:H,ms:D,mspace:F,msqrt:X,mstyle:W,msubsup:J,mtable:V,mtd:U,mtext:z,mtr:K,munderover:q,semantics:G},MmlVisitor:Z,OperatorDictionary:Y,SerializedMmlVisitor:$},OutputJax:Q,Tree:{Factory:tt,Node:et,NodeFactory:rt,Visitor:nt,Wrapper:ot,WrapperFactory:it}},handlers:{html_ts:st,html:{HTMLDocument:at,HTMLDomStrings:lt,HTMLHandler:ct,HTMLMathItem:ut,HTMLMathList:pt}},mathjax:ht,util:{AsyncLoad:ft,BBox:dt,BitField:yt,Entities:mt,FunctionList:vt,LinkedList:bt,Options:gt,PrioritizedList:Mt,Retries:Ot,StyleList:xt,Styles:St,lengths:Et,numeric:_t,string:Ct}}}),MathJax.startup&&(MathJax.startup.registerConstructor("HTMLHandler",ct.HTMLHandler),MathJax.startup.registerConstructor("browserAdaptor",s.browserAdaptor),MathJax.startup.useHandler("HTMLHandler"),MathJax.startup.useAdaptor("browserAdaptor")),MathJax.loader&&(MathJax._.mathjax.mathjax.asyncLoad=function(t){return MathJax.loader.load(t)});var wt=r(2892),Tt=r(625),At=r(2769);(0,t.combineWithMathJax)({_:{input:{mathml_ts:wt,mathml:{FindMathML:Tt,MathMLCompile:At}}}}),MathJax.startup&&(MathJax.startup.registerConstructor("mml",wt.MathML),MathJax.startup.useInput("mml")),MathJax.loader&&MathJax.loader.pathFilters.add((function(t){return t.name=t.name.replace(/\/util\/entities\/.*?\.js/,"/input/mml/entities.js"),!0}));var Lt=r(50),jt=r(8042),Nt=r(8270),Rt=r(6797),It=r(5355),Bt=r(9261),Pt=r(9086),kt=r(95),Ht=r(1148),Dt=r(8102),Ft=r(804),Xt=r(8147),Wt=r(2275),Jt=r(9063),Vt=r(6911),Ut=r(1653),zt=r(6781),Kt=r(6460),qt=r(6287),Gt=r(5964),Zt=r(8776),Yt=r(4798),$t=r(4597),Qt=r(2970),te=r(5610),ee=r(4300),re=r(8002),ne=r(7056),oe=r(1259),ie=r(3571),se=r(6590),ae=r(8650),le=r(421),ce=r(5884),ue=r(5552),pe=r(3055),he=r(7519),fe=r(4420),de=r(9800),ye=r(1160),me=r(1956),ve=r(7490),be=r(7313),ge=r(7555),Me=r(2688),Oe=r(5636),xe=r(5723),Se=r(8009),Ee=r(5023),_e=r(7096),Ce=r(6898),we=r(6991),Te=r(8411),Ae=r(4126),Le=r(258),je=r(4093),Ne=r(905),Re=r(6237),Ie=r(5164),Be=r(6319),Pe=r(5766),ke=r(1971),He=r(167),De=r(5806);(0,t.combineWithMathJax)({_:{output:{chtml_ts:Lt,chtml:{FontData:jt,Notation:Nt,Usage:Rt,Wrapper:It,WrapperFactory:Bt,Wrappers_ts:Pt,Wrappers:{TeXAtom:kt,TextNode:Ht,maction:Dt,math:Ft,menclose:Xt,mfenced:Wt,mfrac:Jt,mglyph:Vt,mi:Ut,mmultiscripts:zt,mn:Kt,mo:qt,mpadded:Gt,mroot:Zt,mrow:Yt,ms:$t,mspace:Qt,msqrt:te,msubsup:ee,mtable:re,mtd:ne,mtext:oe,mtr:ie,munderover:se,scriptbase:ae,semantics:le}},common:{FontData:ce,Notation:ue,OutputJax:pe,Wrapper:he,WrapperFactory:fe,Wrappers:{TeXAtom:de,TextNode:ye,maction:me,math:ve,menclose:be,mfenced:ge,mfrac:Me,mglyph:Oe,mi:xe,mmultiscripts:Se,mn:Ee,mo:_e,mpadded:Ce,mroot:we,mrow:Te,ms:Ae,mspace:Le,msqrt:je,msubsup:Ne,mtable:Re,mtd:Ie,mtext:Be,mtr:Pe,munderover:ke,scriptbase:He,semantics:De}}}}}),MathJax.loader&&(0,t.combineDefaults)(MathJax.config.loader,"output/chtml",{checkReady:function(){return MathJax.loader.load("output/chtml/fonts/tex")}}),MathJax.startup&&(MathJax.startup.registerConstructor("chtml",Lt.CHTML),MathJax.startup.useOutput("chtml"));var Fe=r(2760),Xe=r(4005),We=r(1015),Je=r(6555),Ve=r(2183),Ue=r(3490),ze=r(9056),Ke=r(3019),qe=r(2713),Ge=r(7517),Ze=r(4182),Ye=r(2679),$e=r(5469),Qe=r(775),tr=r(9551),er=r(6530),rr=r(4409),nr=r(5292),or=r(3980),ir=r(1103),sr=r(9124),ar=r(6001),lr=r(3696),cr=r(9587),ur=r(8348),pr=r(1376),hr=r(1439),fr=r(331),dr=r(4886),yr=r(4471),mr=r(5181),vr=r(3526),br=r(5649),gr=r(7153),Mr=r(5745),Or=r(1411),xr=r(6384),Sr=r(6041),Er=r(8199),_r=r(9848),Cr=r(7906),wr=r(2644),Tr=r(4926);if((0,t.combineWithMathJax)({_:{output:{chtml:{fonts:{tex_ts:Fe,tex:{"bold-italic":Xe,bold:We,"fraktur-bold":Je,fraktur:Ve,italic:Ue,largeop:ze,monospace:Ke,normal:qe,"sans-serif-bold-italic":Ge,"sans-serif-bold":Ze,"sans-serif-italic":Ye,"sans-serif":$e,smallop:Qe,"tex-calligraphic-bold":tr,"tex-size3":er,"tex-size4":rr,"tex-variant":nr}}},common:{fonts:{tex:{"bold-italic":or,bold:ir,delimiters:sr,"double-struck":ar,"fraktur-bold":lr,fraktur:cr,italic:ur,largeop:pr,monospace:hr,normal:fr,"sans-serif-bold-italic":dr,"sans-serif-bold":yr,"sans-serif-italic":mr,"sans-serif":vr,"script-bold":br,script:gr,smallop:Mr,"tex-calligraphic-bold":Or,"tex-calligraphic":xr,"tex-mathit":Sr,"tex-oldstyle-bold":Er,"tex-oldstyle":_r,"tex-size3":Cr,"tex-size4":wr,"tex-variant":Tr}}}}}}),MathJax.startup){(0,t.combineDefaults)(MathJax.config,"chtml",{fontURL:n.Package.resolvePath("output/chtml/fonts/woff-v2",!1)});var Ar=(0,gt.selectOptionsFromKeys)(MathJax.config.chtml||{},Fe.TeXFont.OPTIONS);(0,t.combineDefaults)(MathJax.config,"chtml",{font:new Fe.TeXFont(Ar)})}var Lr=r(5865),jr=r(8310),Nr=r(4001),Rr=r(473),Ir=r(4414);(0,t.combineWithMathJax)({_:{ui:{menu:{MJContextMenu:Lr,Menu:jr,MenuHandler:Nr,MmlVisitor:Rr,SelectableInfo:Ir}}}}),MathJax.startup&&"undefined"!=typeof window&&MathJax.startup.extendHandler((function(t){return(0,Nr.MenuHandler)(t)}),20);var Br=r(351);(0,t.combineWithMathJax)({_:{a11y:{"assistive-mml":Br}}}),MathJax.startup&&MathJax.startup.extendHandler((function(t){return(0,Br.AssistiveMmlHandler)(t)}));var Pr,kr={tex:"[mathjax]/input/tex/extensions",mml:"[mathjax]/input/mml/extensions",sre:"[mathjax]/sre/"+("undefined"==typeof window?"sre-node":"sre_browser")},Hr=["[tex]/action","[tex]/ams","[tex]/amscd","[tex]/bbox","[tex]/boldsymbol","[tex]/braket","[tex]/bussproofs","[tex]/cancel","[tex]/centernot","[tex]/color","[tex]/colortbl","[tex]/configmacros","[tex]/enclose","[tex]/extpfeil","[tex]/html","[tex]/mathtools","[tex]/mhchem","[tex]/newcommand","[tex]/noerrors","[tex]/noundefined","[tex]/physics","[tex]/require","[tex]/setoptions","[tex]/tagformat","[tex]/textcomp","[tex]/textmacros","[tex]/unicode","[tex]/verb","[tex]/cases","[tex]/empheq"],Dr={startup:["loader"],"input/tex":["input/tex-base","[tex]/ams","[tex]/newcommand","[tex]/noundefined","[tex]/require","[tex]/autoload","[tex]/configmacros"],"input/tex-full":["input/tex-base","[tex]/all-packages"].concat(Hr),"[tex]/all-packages":Hr};function Fr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o},i=this&&this.__spreadArray||function(Q,t){for(var T=0,e=t.length,r=Q.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AssistiveMmlHandler=t.AssistiveMmlMathDocumentMixin=t.AssistiveMmlMathItemMixin=t.LimitedMmlVisitor=void 0;var a=T(4474),l=T(9259),c=T(7233),u=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t.prototype.getAttributes=function(t){return Q.prototype.getAttributes.call(this,t).replace(/ ?id=".*?"/,"")},t}(l.SerializedMmlVisitor);function L(Q){return function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t.prototype.assistiveMml=function(Q,t){if(void 0===t&&(t=!1),!(this.state()>=a.STATE.ASSISTIVEMML)){if(!this.isEscaped&&(Q.options.enableAssistiveMml||t)){var T=Q.adaptor,e=Q.toMML(this.root).replace(/\n */g,"").replace(//g,""),r=T.firstChild(T.body(T.parse(e,"text/html"))),n=T.node("mjx-assistive-mml",{unselectable:"on",display:this.display?"block":"inline"},[r]);T.setAttribute(T.firstChild(this.typesetRoot),"aria-hidden","true"),T.setStyle(this.typesetRoot,"position","relative"),T.append(this.typesetRoot,n)}this.state(a.STATE.ASSISTIVEMML)}},t}(Q)}function p(Q){var t;return(t=function(Q){function t(){for(var t=[],T=0;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLAdaptor=void 0;var o=function(Q){function t(t){var T=Q.call(this,t.document)||this;return T.window=t,T.parser=new t.DOMParser,T}return r(t,Q),t.prototype.parse=function(Q,t){return void 0===t&&(t="text/html"),this.parser.parseFromString(Q,t)},t.prototype.create=function(Q,t){return t?this.document.createElementNS(t,Q):this.document.createElement(Q)},t.prototype.text=function(Q){return this.document.createTextNode(Q)},t.prototype.head=function(Q){return Q.head},t.prototype.body=function(Q){return Q.body},t.prototype.root=function(Q){return Q.documentElement},t.prototype.doctype=function(Q){return Q.doctype?"":""},t.prototype.tags=function(Q,t,T){void 0===T&&(T=null);var e=T?Q.getElementsByTagNameNS(T,t):Q.getElementsByTagName(t);return Array.from(e)},t.prototype.getElements=function(Q,t){var T,e,r=[];try{for(var o=n(Q),i=o.next();!i.done;i=o.next()){var s=i.value;"string"==typeof s?r=r.concat(Array.from(this.document.querySelectorAll(s))):Array.isArray(s)||s instanceof this.window.NodeList||s instanceof this.window.HTMLCollection?r=r.concat(Array.from(s)):r.push(s)}}catch(Q){T={error:Q}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(T)throw T.error}}return r},t.prototype.contains=function(Q,t){return Q.contains(t)},t.prototype.parent=function(Q){return Q.parentNode},t.prototype.append=function(Q,t){return Q.appendChild(t)},t.prototype.insert=function(Q,t){return this.parent(t).insertBefore(Q,t)},t.prototype.remove=function(Q){return this.parent(Q).removeChild(Q)},t.prototype.replace=function(Q,t){return this.parent(t).replaceChild(Q,t)},t.prototype.clone=function(Q){return Q.cloneNode(!0)},t.prototype.split=function(Q,t){return Q.splitText(t)},t.prototype.next=function(Q){return Q.nextSibling},t.prototype.previous=function(Q){return Q.previousSibling},t.prototype.firstChild=function(Q){return Q.firstChild},t.prototype.lastChild=function(Q){return Q.lastChild},t.prototype.childNodes=function(Q){return Array.from(Q.childNodes)},t.prototype.childNode=function(Q,t){return Q.childNodes[t]},t.prototype.kind=function(Q){var t=Q.nodeType;return 1===t||3===t||8===t?Q.nodeName.toLowerCase():""},t.prototype.value=function(Q){return Q.nodeValue||""},t.prototype.textContent=function(Q){return Q.textContent},t.prototype.innerHTML=function(Q){return Q.innerHTML},t.prototype.outerHTML=function(Q){return Q.outerHTML},t.prototype.serializeXML=function(Q){return(new this.window.XMLSerializer).serializeToString(Q)},t.prototype.setAttribute=function(Q,t,T,e){return void 0===e&&(e=null),e?(t=e.replace(/.*\//,"")+":"+t.replace(/^.*:/,""),Q.setAttributeNS(e,t,T)):Q.setAttribute(t,T)},t.prototype.getAttribute=function(Q,t){return Q.getAttribute(t)},t.prototype.removeAttribute=function(Q,t){return Q.removeAttribute(t)},t.prototype.hasAttribute=function(Q,t){return Q.hasAttribute(t)},t.prototype.allAttributes=function(Q){return Array.from(Q.attributes).map((function(Q){return{name:Q.name,value:Q.value}}))},t.prototype.addClass=function(Q,t){Q.classList?Q.classList.add(t):Q.className=(Q.className+" "+t).trim()},t.prototype.removeClass=function(Q,t){Q.classList?Q.classList.remove(t):Q.className=Q.className.split(/ /).filter((function(Q){return Q!==t})).join(" ")},t.prototype.hasClass=function(Q,t){return Q.classList?Q.classList.contains(t):Q.className.split(/ /).indexOf(t)>=0},t.prototype.setStyle=function(Q,t,T){Q.style[t]=T},t.prototype.getStyle=function(Q,t){return Q.style[t]},t.prototype.allStyles=function(Q){return Q.style.cssText},t.prototype.insertRules=function(Q,t){var T,e;try{for(var r=n(t.reverse()),o=r.next();!o.done;o=r.next()){var i=o.value;try{Q.sheet.insertRule(i,0)}catch(Q){console.warn("MathJax: can't insert css rule '"+i+"': "+Q.message)}}}catch(Q){T={error:Q}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(T)throw T.error}}},t.prototype.fontSize=function(Q){var t=this.window.getComputedStyle(Q);return parseFloat(t.fontSize)},t.prototype.fontFamily=function(Q){return this.window.getComputedStyle(Q).fontFamily||""},t.prototype.nodeSize=function(Q,t,T){if(void 0===t&&(t=1),void 0===T&&(T=!1),T&&Q.getBBox){var e=Q.getBBox();return[e.width/t,e.height/t]}return[Q.offsetWidth/t,Q.offsetHeight/t]},t.prototype.nodeBBox=function(Q){var t=Q.getBoundingClientRect();return{left:t.left,right:t.right,top:t.top,bottom:t.bottom}},t}(T(5009).AbstractDOMAdaptor);t.HTMLAdaptor=o},6191:function(Q,t,T){Object.defineProperty(t,"__esModule",{value:!0}),t.browserAdaptor=void 0;var e=T(444);t.browserAdaptor=function(){return new e.HTMLAdaptor(window)}},9515:function(Q,t,T){var e=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function r(Q){return"object"==typeof Q&&null!==Q}function n(Q,t){var T,o;try{for(var i=e(Object.keys(t)),s=i.next();!s.done;s=i.next()){var a=s.value;"__esModule"!==a&&(!r(Q[a])||!r(t[a])||t[a]instanceof Promise?null!==t[a]&&void 0!==t[a]&&(Q[a]=t[a]):n(Q[a],t[a]))}}catch(Q){T={error:Q}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(T)throw T.error}}return Q}Object.defineProperty(t,"__esModule",{value:!0}),t.MathJax=t.combineWithMathJax=t.combineDefaults=t.combineConfig=t.isObject=void 0,t.isObject=r,t.combineConfig=n,t.combineDefaults=function Q(t,T,n){var o,i;t[T]||(t[T]={}),t=t[T];try{for(var s=e(Object.keys(n)),a=s.next();!a.done;a=s.next()){var l=a.value;r(t[l])&&r(n[l])?Q(t,l,n[l]):null==t[l]&&null!=n[l]&&(t[l]=n[l])}}catch(Q){o={error:Q}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return t},t.combineWithMathJax=function(Q){return n(t.MathJax,Q)},void 0===T.g.MathJax&&(T.g.MathJax={}),T.g.MathJax.version||(T.g.MathJax={version:"3.2.0",_:{},config:T.g.MathJax}),t.MathJax=T.g.MathJax},235:function(Q,t,T){var e,r,n=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.CONFIG=t.MathJax=t.Loader=t.PathFilters=t.PackageError=t.Package=void 0;var o=T(9515),i=T(265),s=T(265);Object.defineProperty(t,"Package",{enumerable:!0,get:function(){return s.Package}}),Object.defineProperty(t,"PackageError",{enumerable:!0,get:function(){return s.PackageError}});var a,l=T(7525);if(t.PathFilters={source:function(Q){return t.CONFIG.source.hasOwnProperty(Q.name)&&(Q.name=t.CONFIG.source[Q.name]),!0},normalize:function(Q){var t=Q.name;return t.match(/^(?:[a-z]+:\/)?\/|[a-z]:\\|\[/i)||(Q.name="[mathjax]/"+t.replace(/^\.\//,"")),Q.addExtension&&!t.match(/\.[^\/]+$/)&&(Q.name+=".js"),!0},prefix:function(Q){for(var T;(T=Q.name.match(/^\[([^\]]*)\]/))&&t.CONFIG.paths.hasOwnProperty(T[1]);)Q.name=t.CONFIG.paths[T[1]]+Q.name.substr(T[0].length);return!0}},function(Q){Q.ready=function(){for(var Q,t,T=[],e=0;e=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),o=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o},i=this&&this.__spreadArray||function(Q,t){for(var T=0,e=t.length,r=Q.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},n=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),o=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o},o=this&&this.__spreadArray||function(Q,t){for(var T=0,e=t.length,r=Q.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractDOMAdaptor=void 0;var e=function(){function Q(Q){void 0===Q&&(Q=null),this.document=Q}return Q.prototype.node=function(Q,t,e,r){var n,o;void 0===t&&(t={}),void 0===e&&(e=[]);var i=this.create(Q,r);this.setAttributes(i,t);try{for(var s=T(e),a=s.next();!a.done;a=s.next()){var l=a.value;this.append(i,l)}}catch(Q){n={error:Q}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return i},Q.prototype.setAttributes=function(Q,t){var e,r,n,o,i,s;if(t.style&&"string"!=typeof t.style)try{for(var a=T(Object.keys(t.style)),l=a.next();!l.done;l=a.next()){var c=l.value;this.setStyle(Q,c.replace(/-([a-z])/g,(function(Q,t){return t.toUpperCase()})),t.style[c])}}catch(Q){e={error:Q}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}if(t.properties)try{for(var u=T(Object.keys(t.properties)),L=u.next();!L.done;L=u.next()){Q[c=L.value]=t.properties[c]}}catch(Q){n={error:Q}}finally{try{L&&!L.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}try{for(var p=T(Object.keys(t)),h=p.next();!h.done;h=p.next()){"style"===(c=h.value)&&"string"!=typeof t.style||"properties"===c||this.setAttribute(Q,c,t[c])}}catch(Q){i={error:Q}}finally{try{h&&!h.done&&(s=p.return)&&s.call(p)}finally{if(i)throw i.error}}},Q.prototype.replace=function(Q,t){return this.insert(Q,t),this.remove(t),t},Q.prototype.childNode=function(Q,t){return this.childNodes(Q)[t]},Q.prototype.allClasses=function(Q){var t=this.getAttribute(Q,"class");return t?t.replace(/ +/g," ").replace(/^ /,"").replace(/ $/,"").split(/ /):[]},Q}();t.AbstractDOMAdaptor=e},3494:function(Q,t,T){Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractFindMath=void 0;var e=T(7233),r=function(){function Q(Q){var t=this.constructor;this.options=e.userOptions(e.defaultOptions({},t.OPTIONS),Q)}return Q.OPTIONS={},Q}();t.AbstractFindMath=r},3670:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)});Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractHandler=void 0;var n=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t}(T(5722).AbstractMathDocument),o=function(){function Q(Q,t){void 0===t&&(t=5),this.documentClass=n,this.adaptor=Q,this.priority=t}return Object.defineProperty(Q.prototype,"name",{get:function(){return this.constructor.NAME},enumerable:!1,configurable:!0}),Q.prototype.handlesDocument=function(Q){return!1},Q.prototype.create=function(Q,t){return new this.documentClass(Q,this.adaptor,t)},Q.NAME="generic",Q}();t.AbstractHandler=o},805:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.HandlerList=void 0;var o=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t.prototype.register=function(Q){return this.add(Q,Q.priority)},t.prototype.unregister=function(Q){this.remove(Q)},t.prototype.handlesDocument=function(Q){var t,T;try{for(var e=n(this),r=e.next();!r.done;r=e.next()){var o=r.value.item;if(o.handlesDocument(Q))return o}}catch(Q){t={error:Q}}finally{try{r&&!r.done&&(T=e.return)&&T.call(e)}finally{if(t)throw t.error}}throw new Error("Can't find handler for document")},t.prototype.document=function(Q,t){return void 0===t&&(t=null),this.handlesDocument(Q).create(Q,t)},t}(T(8666).PrioritizedList);t.HandlerList=o},9206:function(Q,t,T){Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractInputJax=void 0;var e=T(7233),r=T(7525),n=function(){function Q(Q){void 0===Q&&(Q={}),this.adaptor=null,this.mmlFactory=null;var t=this.constructor;this.options=e.userOptions(e.defaultOptions({},t.OPTIONS),Q),this.preFilters=new r.FunctionList,this.postFilters=new r.FunctionList}return Object.defineProperty(Q.prototype,"name",{get:function(){return this.constructor.NAME},enumerable:!1,configurable:!0}),Q.prototype.setAdaptor=function(Q){this.adaptor=Q},Q.prototype.setMmlFactory=function(Q){this.mmlFactory=Q},Q.prototype.initialize=function(){},Q.prototype.reset=function(){for(var Q=[],t=0;t=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),o=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o},i=this&&this.__spreadArray||function(Q,t){for(var T=0,e=t.length,r=Q.length;T=t&&i.item.renderDoc(Q))return}}catch(Q){T={error:Q}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(T)throw T.error}}},t.prototype.renderMath=function(Q,t,T){var e,r;void 0===T&&(T=u.STATE.UNPROCESSED);try{for(var o=n(this.items),i=o.next();!i.done;i=o.next()){var s=i.value;if(s.priority>=T&&s.item.renderMath(Q,t))return}}catch(Q){e={error:Q}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},t.prototype.renderConvert=function(Q,t,T){var e,r;void 0===T&&(T=u.STATE.LAST);try{for(var o=n(this.items),i=o.next();!i.done;i=o.next()){var s=i.value;if(s.priority>T)return;if(s.item.convert&&s.item.renderMath(Q,t))return}}catch(Q){e={error:Q}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}},t.prototype.findID=function(Q){var t,T;try{for(var e=n(this.items),r=e.next();!r.done;r=e.next()){var o=r.value;if(o.item.id===Q)return o.item}}catch(Q){t={error:Q}}finally{try{r&&!r.done&&(T=e.return)&&T.call(e)}finally{if(t)throw t.error}}return null},t}(T(8666).PrioritizedList);t.RenderList=h,t.resetOptions={all:!1,processed:!1,inputJax:null,outputJax:null},t.resetAllOptions={all:!0,processed:!0,inputJax:[],outputJax:[]};var f=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t.prototype.compile=function(Q){return null},t}(a.AbstractInputJax),d=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t.prototype.typeset=function(Q,t){return void 0===t&&(t=null),null},t.prototype.escaped=function(Q,t){return null},t}(l.AbstractOutputJax),H=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t}(c.AbstractMathList),y=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t}(u.AbstractMathItem),m=function(){function Q(t,T,e){var r=this,n=this.constructor;this.document=t,this.options=s.userOptions(s.defaultOptions({},n.OPTIONS),e),this.math=new(this.options.MathList||H),this.renderActions=h.create(this.options.renderActions),this.processed=new Q.ProcessBits,this.outputJax=this.options.OutputJax||new d;var o=this.options.InputJax||[new f];Array.isArray(o)||(o=[o]),this.inputJax=o,this.adaptor=T,this.outputJax.setAdaptor(T),this.inputJax.map((function(Q){return Q.setAdaptor(T)})),this.mmlFactory=this.options.MmlFactory||new L.MmlFactory,this.inputJax.map((function(Q){return Q.setMmlFactory(r.mmlFactory)})),this.outputJax.initialize(),this.inputJax.map((function(Q){return Q.initialize()}))}return Object.defineProperty(Q.prototype,"kind",{get:function(){return this.constructor.KIND},enumerable:!1,configurable:!0}),Q.prototype.addRenderAction=function(Q){for(var t=[],T=1;T=T&&this.state(T-1),Q.renderActions.renderMath(this,Q,T)},Q.prototype.convert=function(Q,T){void 0===T&&(T=t.STATE.LAST),Q.renderActions.renderConvert(this,Q,T)},Q.prototype.compile=function(Q){this.state()=t.STATE.INSERTED&&this.removeFromDocument(T),Q=t.STATE.TYPESET&&(this.outputData={}),Q=t.STATE.COMPILED&&(this.inputData={}),this._state=Q),this._state},Q.prototype.reset=function(Q){void 0===Q&&(Q=!1),this.state(t.STATE.UNPROCESSED,Q)},Q}();t.AbstractMathItem=T,t.STATE={UNPROCESSED:0,FINDMATH:10,COMPILED:20,CONVERT:100,METRICS:110,RERENDER:125,TYPESET:150,INSERTED:200,LAST:1e4},t.newState=function(Q,T){if(Q in t.STATE)throw Error("State "+Q+" already exists");t.STATE[Q]=T}},9e3:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)});Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractMathList=void 0;var n=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t.prototype.isBefore=function(Q,t){return Q.start.i=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Attributes=t.INHERIT=void 0,t.INHERIT="_inherit_";var e=function(){function Q(Q,t){this.global=t,this.defaults=Object.create(t),this.inherited=Object.create(this.defaults),this.attributes=Object.create(this.inherited),Object.assign(this.defaults,Q)}return Q.prototype.set=function(Q,t){this.attributes[Q]=t},Q.prototype.setList=function(Q){Object.assign(this.attributes,Q)},Q.prototype.get=function(Q){var T=this.attributes[Q];return T===t.INHERIT&&(T=this.global[Q]),T},Q.prototype.getExplicit=function(Q){if(this.attributes.hasOwnProperty(Q))return this.attributes[Q]},Q.prototype.getList=function(){for(var Q,t,e=[],r=0;r=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.MathMLVisitor=void 0;var o=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t.document=null,t}return r(t,Q),t.prototype.visitTree=function(Q,t){this.document=t;var T=t.createElement("top");return this.visitNode(Q,T),this.document=null,T.firstChild},t.prototype.visitTextNode=function(Q,t){t.appendChild(this.document.createTextNode(Q.getText()))},t.prototype.visitXMLNode=function(Q,t){t.appendChild(Q.getXML().cloneNode(!0))},t.prototype.visitInferredMrowNode=function(Q,t){var T,e;try{for(var r=n(Q.childNodes),o=r.next();!o.done;o=r.next()){var i=o.value;this.visitNode(i,t)}}catch(Q){T={error:Q}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(T)throw T.error}}},t.prototype.visitDefault=function(Q,t){var T,e,r=this.document.createElement(Q.kind);this.addAttributes(Q,r);try{for(var o=n(Q.childNodes),i=o.next();!i.done;i=o.next()){var s=i.value;this.visitNode(s,r)}}catch(Q){T={error:Q}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(T)throw T.error}}t.appendChild(r)},t.prototype.addAttributes=function(Q,t){var T,e,r=Q.attributes,o=r.getExplicitNames();try{for(var i=n(o),s=i.next();!s.done;s=i.next()){var a=s.value;t.setAttribute(a,r.getExplicit(a).toString())}}catch(Q){T={error:Q}}finally{try{s&&!s.done&&(e=i.return)&&e.call(i)}finally{if(T)throw T.error}}},t}(T(6325).MmlVisitor);t.MathMLVisitor=o},3909:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)});Object.defineProperty(t,"__esModule",{value:!0}),t.MmlFactory=void 0;var n=T(7860),o=T(6336),i=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),Object.defineProperty(t.prototype,"MML",{get:function(){return this.node},enumerable:!1,configurable:!0}),t.defaultNodes=o.MML,t}(n.AbstractNodeFactory);t.MmlFactory=i},9007:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),o=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o};Object.defineProperty(t,"__esModule",{value:!0}),t.XMLNode=t.TextNode=t.AbstractMmlEmptyNode=t.AbstractMmlBaseNode=t.AbstractMmlLayoutNode=t.AbstractMmlTokenNode=t.AbstractMmlNode=t.indentAttributes=t.TEXCLASSNAMES=t.TEXCLASS=void 0;var s=T(91),a=T(4596);t.TEXCLASS={ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},t.TEXCLASSNAMES=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"];var l=["","thinmathspace","mediummathspace","thickmathspace"],c=[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]];t.indentAttributes=["indentalign","indentalignfirst","indentshift","indentshiftfirst"];var u=function(Q){function T(t,T,e){void 0===T&&(T={}),void 0===e&&(e=[]);var r=Q.call(this,t)||this;return r.prevClass=null,r.prevLevel=null,r.texclass=null,r.arity<0&&(r.childNodes=[t.create("inferredMrow")],r.childNodes[0].parent=r),r.setChildren(e),r.attributes=new s.Attributes(t.getNodeClass(r.kind).defaults,t.getNodeClass("math").defaults),r.attributes.setList(T),r}return r(T,Q),T.prototype.copy=function(Q){var t,T,e,r;void 0===Q&&(Q=!1);var i=this.factory.create(this.kind);if(i.properties=n({},this.properties),this.attributes){var s=this.attributes.getAllAttributes();try{for(var a=o(Object.keys(s)),l=a.next();!l.done;l=a.next()){var c=l.value;("id"!==c||Q)&&i.attributes.set(c,s[c])}}catch(Q){t={error:Q}}finally{try{l&&!l.done&&(T=a.return)&&T.call(a)}finally{if(t)throw t.error}}}if(this.childNodes&&this.childNodes.length){var u=this.childNodes;1===u.length&&u[0].isInferred&&(u=u[0].childNodes);try{for(var L=o(u),p=L.next();!p.done;p=L.next()){var h=p.value;h?i.appendChild(h.copy()):i.childNodes.push(null)}}catch(Q){e={error:Q}}finally{try{p&&!p.done&&(r=L.return)&&r.call(L)}finally{if(e)throw e.error}}}return i},Object.defineProperty(T.prototype,"texClass",{get:function(){return this.texclass},set:function(Q){this.texclass=Q},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isToken",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isEmbellished",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isSpacelike",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"linebreakContainer",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"hasNewLine",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"arity",{get:function(){return 1/0},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isInferred",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"Parent",{get:function(){for(var Q=this.parent;Q&&Q.notParent;)Q=Q.Parent;return Q},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"notParent",{get:function(){return!1},enumerable:!1,configurable:!0}),T.prototype.setChildren=function(t){return this.arity<0?this.childNodes[0].setChildren(t):Q.prototype.setChildren.call(this,t)},T.prototype.appendChild=function(t){var T,e,r=this;if(this.arity<0)return this.childNodes[0].appendChild(t),t;if(t.isInferred){if(this.arity===1/0)return t.childNodes.forEach((function(t){return Q.prototype.appendChild.call(r,t)})),t;var n=t;(t=this.factory.create("mrow")).setChildren(n.childNodes),t.attributes=n.attributes;try{for(var i=o(n.getPropertyNames()),s=i.next();!s.done;s=i.next()){var a=s.value;t.setProperty(a,n.getProperty(a))}}catch(Q){T={error:Q}}finally{try{s&&!s.done&&(e=i.return)&&e.call(i)}finally{if(T)throw T.error}}}return Q.prototype.appendChild.call(this,t)},T.prototype.replaceChild=function(t,T){return this.arity<0?(this.childNodes[0].replaceChild(t,T),t):Q.prototype.replaceChild.call(this,t,T)},T.prototype.core=function(){return this},T.prototype.coreMO=function(){return this},T.prototype.coreIndex=function(){return 0},T.prototype.childPosition=function(){for(var Q,t,T=this,e=T.parent;e&&e.notParent;)T=e,e=e.parent;if(e){var r=0;try{for(var n=o(e.childNodes),i=n.next();!i.done;i=n.next()){if(i.value===T)return r;r++}}catch(t){Q={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(Q)throw Q.error}}}return null},T.prototype.setTeXclass=function(Q){return this.getPrevClass(Q),null!=this.texClass?this:Q},T.prototype.updateTeXclass=function(Q){Q&&(this.prevClass=Q.prevClass,this.prevLevel=Q.prevLevel,Q.prevClass=Q.prevLevel=null,this.texClass=Q.texClass)},T.prototype.getPrevClass=function(Q){Q&&(this.prevClass=Q.texClass,this.prevLevel=Q.attributes.get("scriptlevel"))},T.prototype.texSpacing=function(){var Q=null!=this.prevClass?this.prevClass:t.TEXCLASS.NONE,T=this.texClass||t.TEXCLASS.ORD;if(Q===t.TEXCLASS.NONE||T===t.TEXCLASS.NONE)return"";Q===t.TEXCLASS.VCENTER&&(Q=t.TEXCLASS.ORD),T===t.TEXCLASS.VCENTER&&(T=t.TEXCLASS.ORD);var e=c[Q][T];return(this.prevLevel>0||this.attributes.get("scriptlevel")>0)&&e>=0?"":l[Math.abs(e)]},T.prototype.hasSpacingAttributes=function(){return this.isEmbellished&&this.coreMO().hasSpacingAttributes()},T.prototype.setInheritedAttributes=function(Q,t,e,r){var n,s;void 0===Q&&(Q={}),void 0===t&&(t=!1),void 0===e&&(e=0),void 0===r&&(r=!1);var a=this.attributes.getAllDefaults();try{for(var l=o(Object.keys(Q)),c=l.next();!c.done;c=l.next()){var u=c.value;if(a.hasOwnProperty(u)||T.alwaysInherit.hasOwnProperty(u)){var L=i(Q[u],2),p=L[0],h=L[1];((T.noInherit[p]||{})[this.kind]||{})[u]||this.attributes.setInherited(u,h)}}}catch(Q){n={error:Q}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(n)throw n.error}}void 0===this.attributes.getExplicit("displaystyle")&&this.attributes.setInherited("displaystyle",t),void 0===this.attributes.getExplicit("scriptlevel")&&this.attributes.setInherited("scriptlevel",e),r&&this.setProperty("texprimestyle",r);var f=this.arity;if(f>=0&&f!==1/0&&(1===f&&0===this.childNodes.length||1!==f&&this.childNodes.length!==f))if(f=0&&t!==1/0&&(1===t&&0===this.childNodes.length||1!==t&&this.childNodes.length!==t)&&this.mError('Wrong number of children for "'+this.kind+'" node',Q,!0),this.verifyChildren(Q)}},T.prototype.verifyAttributes=function(Q){var t,T;if(Q.checkAttributes){var e=this.attributes,r=[];try{for(var n=o(e.getExplicitNames()),i=n.next();!i.done;i=n.next()){var s=i.value;"data-"===s.substr(0,5)||void 0!==e.getDefault(s)||s.match(/^(?:class|style|id|(?:xlink:)?href)$/)||r.push(s)}}catch(Q){t={error:Q}}finally{try{i&&!i.done&&(T=n.return)&&T.call(n)}finally{if(t)throw t.error}}r.length&&this.mError("Unknown attributes for "+this.kind+" node: "+r.join(", "),Q)}},T.prototype.verifyChildren=function(Q){var t,T;try{for(var e=o(this.childNodes),r=e.next();!r.done;r=e.next()){r.value.verifyTree(Q)}}catch(Q){t={error:Q}}finally{try{r&&!r.done&&(T=e.return)&&T.call(e)}finally{if(t)throw t.error}}},T.prototype.mError=function(Q,t,T){if(void 0===T&&(T=!1),this.parent&&this.parent.isKind("merror"))return null;var e=this.factory.create("merror");if(t.fullErrors||T){var r=this.factory.create("mtext"),n=this.factory.create("text");n.setText(t.fullErrors?Q:this.kind),r.appendChild(n),e.appendChild(r),this.parent.replaceChild(e,this)}else this.parent.replaceChild(e,this),e.appendChild(this);return e},T.defaults={mathbackground:s.INHERIT,mathcolor:s.INHERIT,mathsize:s.INHERIT,dir:s.INHERIT},T.noInherit={mstyle:{mpadded:{width:!0,height:!0,depth:!0,lspace:!0,voffset:!0},mtable:{width:!0,height:!0,depth:!0,align:!0}},maligngroup:{mrow:{groupalign:!0},mtable:{groupalign:!0}}},T.alwaysInherit={scriptminsize:!0,scriptsizemultiplier:!0},T.verifyDefaults={checkArity:!0,checkAttributes:!1,fullErrors:!1,fixMmultiscripts:!0,fixMtables:!0},T}(a.AbstractNode);t.AbstractMmlNode=u;var L=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),Object.defineProperty(t.prototype,"isToken",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.getText=function(){var Q,t,T="";try{for(var e=o(this.childNodes),r=e.next();!r.done;r=e.next()){var n=r.value;n instanceof d&&(T+=n.getText())}}catch(t){Q={error:t}}finally{try{r&&!r.done&&(t=e.return)&&t.call(e)}finally{if(Q)throw Q.error}}return T},t.prototype.setChildInheritedAttributes=function(Q,t,T,e){var r,n;try{for(var i=o(this.childNodes),s=i.next();!s.done;s=i.next()){var a=s.value;a instanceof u&&a.setInheritedAttributes(Q,t,T,e)}}catch(Q){r={error:Q}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},t.prototype.walkTree=function(Q,t){var T,e;Q(this,t);try{for(var r=o(this.childNodes),n=r.next();!n.done;n=r.next()){var i=n.value;i instanceof u&&i.walkTree(Q,t)}}catch(Q){T={error:Q}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(T)throw T.error}}return t},t.defaults=n(n({},u.defaults),{mathvariant:"normal",mathsize:s.INHERIT}),t}(u);t.AbstractMmlTokenNode=L;var p=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),Object.defineProperty(t.prototype,"isSpacelike",{get:function(){return this.childNodes[0].isSpacelike},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmbellished",{get:function(){return this.childNodes[0].isEmbellished},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"arity",{get:function(){return-1},enumerable:!1,configurable:!0}),t.prototype.core=function(){return this.childNodes[0]},t.prototype.coreMO=function(){return this.childNodes[0].coreMO()},t.prototype.setTeXclass=function(Q){return Q=this.childNodes[0].setTeXclass(Q),this.updateTeXclass(this.childNodes[0]),Q},t.defaults=u.defaults,t}(u);t.AbstractMmlLayoutNode=p;var h=function(Q){function T(){return null!==Q&&Q.apply(this,arguments)||this}return r(T,Q),Object.defineProperty(T.prototype,"isEmbellished",{get:function(){return this.childNodes[0].isEmbellished},enumerable:!1,configurable:!0}),T.prototype.core=function(){return this.childNodes[0]},T.prototype.coreMO=function(){return this.childNodes[0].coreMO()},T.prototype.setTeXclass=function(Q){var T,e;this.getPrevClass(Q),this.texClass=t.TEXCLASS.ORD;var r=this.childNodes[0];r?this.isEmbellished||r.isKind("mi")?(Q=r.setTeXclass(Q),this.updateTeXclass(this.core())):(r.setTeXclass(null),Q=this):Q=this;try{for(var n=o(this.childNodes.slice(1)),i=n.next();!i.done;i=n.next()){var s=i.value;s&&s.setTeXclass(null)}}catch(Q){T={error:Q}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(T)throw T.error}}return Q},T.defaults=u.defaults,T}(u);t.AbstractMmlBaseNode=h;var f=function(Q){function T(){return null!==Q&&Q.apply(this,arguments)||this}return r(T,Q),Object.defineProperty(T.prototype,"isToken",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isEmbellished",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isSpacelike",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"linebreakContainer",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"hasNewLine",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"arity",{get:function(){return 0},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"isInferred",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"notParent",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"Parent",{get:function(){return this.parent},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"texClass",{get:function(){return t.TEXCLASS.NONE},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"prevClass",{get:function(){return t.TEXCLASS.NONE},enumerable:!1,configurable:!0}),Object.defineProperty(T.prototype,"prevLevel",{get:function(){return 0},enumerable:!1,configurable:!0}),T.prototype.hasSpacingAttributes=function(){return!1},Object.defineProperty(T.prototype,"attributes",{get:function(){return null},enumerable:!1,configurable:!0}),T.prototype.core=function(){return this},T.prototype.coreMO=function(){return this},T.prototype.coreIndex=function(){return 0},T.prototype.childPosition=function(){return 0},T.prototype.setTeXclass=function(Q){return Q},T.prototype.texSpacing=function(){return""},T.prototype.setInheritedAttributes=function(Q,t,T,e){},T.prototype.inheritAttributesFrom=function(Q){},T.prototype.verifyTree=function(Q){},T.prototype.mError=function(Q,t,T){void 0===T&&(T=!1)},T}(a.AbstractEmptyNode);t.AbstractMmlEmptyNode=f;var d=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t.text="",t}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"text"},enumerable:!1,configurable:!0}),t.prototype.getText=function(){return this.text},t.prototype.setText=function(Q){return this.text=Q,this},t.prototype.copy=function(){return this.factory.create(this.kind).setText(this.getText())},t.prototype.toString=function(){return this.text},t}(f);t.TextNode=d;var H=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t.xml=null,t.adaptor=null,t}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"XML"},enumerable:!1,configurable:!0}),t.prototype.getXML=function(){return this.xml},t.prototype.setXML=function(Q,t){return void 0===t&&(t=null),this.xml=Q,this.adaptor=t,this},t.prototype.getSerializedXML=function(){return this.adaptor.serializeXML(this.xml)},t.prototype.copy=function(){return this.factory.create(this.kind).setXML(this.adaptor.clone(this.xml))},t.prototype.toString=function(){return"XML data"},t}(f);t.XMLNode=H},3948:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;Tthis.childNodes.length&&(Q=1),this.attributes.set("selection",Q)},t.defaults=n(n({},o.AbstractMmlNode.defaults),{actiontype:"toggle",selection:1}),t}(o.AbstractMmlNode);t.MmlMaction=i},142:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.MmlMfenced=void 0;var i=T(9007),s=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t.texclass=i.TEXCLASS.INNER,t.separators=[],t.open=null,t.close=null,t}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"mfenced"},enumerable:!1,configurable:!0}),t.prototype.setTeXclass=function(Q){this.getPrevClass(Q),this.open&&(Q=this.open.setTeXclass(Q)),this.childNodes[0]&&(Q=this.childNodes[0].setTeXclass(Q));for(var t=1,T=this.childNodes.length;t=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.MmlMfrac=void 0;var i=T(9007),s=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"mfrac"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"arity",{get:function(){return 2},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.setTeXclass=function(Q){var t,T;this.getPrevClass(Q);try{for(var e=o(this.childNodes),r=e.next();!r.done;r=e.next()){r.value.setTeXclass(null)}}catch(Q){t={error:Q}}finally{try{r&&!r.done&&(T=e.return)&&T.call(e)}finally{if(t)throw t.error}}return this},t.prototype.setChildInheritedAttributes=function(Q,t,T,e){(!t||T>0)&&T++,this.childNodes[0].setInheritedAttributes(Q,!1,T,e),this.childNodes[1].setInheritedAttributes(Q,!1,T,!0)},t.defaults=n(n({},i.AbstractMmlBaseNode.defaults),{linethickness:"medium",numalign:"center",denomalign:"center",bevelled:!1}),t}(i.AbstractMmlBaseNode);t.MmlMfrac=s},3985:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;T1&&T.match(t.operatorName)&&"normal"===this.attributes.get("mathvariant")&&void 0===this.getProperty("autoOP")&&void 0===this.getProperty("texClass")&&(this.texClass=o.TEXCLASS.OP,this.setProperty("autoOP",!0)),this},t.defaults=n({},o.AbstractMmlTokenNode.defaults),t.operatorName=/^[a-z][a-z0-9]*$/i,t.singleCharacter=/^[\uD800-\uDBFF]?.[\u0300-\u036F\u1AB0-\u1ABE\u1DC0-\u1DFF\u20D0-\u20EF]*$/,t}(o.AbstractMmlTokenNode);t.MmlMi=i},6405:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;T0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o},i=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.MmlMo=void 0;var s=T(9007),a=T(4082),l=T(505),c=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t._texClass=null,t.lspace=5/18,t.rspace=5/18,t}return r(t,Q),Object.defineProperty(t.prototype,"texClass",{get:function(){if(null===this._texClass){var Q=this.getText(),t=o(this.handleExplicitForm(this.getForms()),3),T=t[0],e=t[1],r=t[2],n=this.constructor.OPTABLE,i=n[T][Q]||n[e][Q]||n[r][Q];return i?i[2]:s.TEXCLASS.REL}return this._texClass},set:function(Q){this._texClass=Q},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"kind",{get:function(){return"mo"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmbellished",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasNewLine",{get:function(){return"newline"===this.attributes.get("linebreak")},enumerable:!1,configurable:!0}),t.prototype.coreParent=function(){for(var Q=this,t=this,T=this.factory.getNodeClass("math");t&&t.isEmbellished&&t.coreMO()===this&&!(t instanceof T);)Q=t,t=t.parent;return Q},t.prototype.coreText=function(Q){if(!Q)return"";if(Q.isEmbellished)return Q.coreMO().getText();for(;((Q.isKind("mrow")||Q.isKind("TeXAtom")||Q.isKind("mstyle")||Q.isKind("mphantom"))&&1===Q.childNodes.length||Q.isKind("munderover"))&&Q.childNodes[0];)Q=Q.childNodes[0];return Q.isToken?Q.getText():""},t.prototype.hasSpacingAttributes=function(){return this.attributes.isSet("lspace")||this.attributes.isSet("rspace")},Object.defineProperty(t.prototype,"isAccent",{get:function(){var Q=!1,t=this.coreParent().parent;if(t){var T=t.isKind("mover")?t.childNodes[t.over].coreMO()?"accent":"":t.isKind("munder")?t.childNodes[t.under].coreMO()?"accentunder":"":t.isKind("munderover")?this===t.childNodes[t.over].coreMO()?"accent":this===t.childNodes[t.under].coreMO()?"accentunder":"":"";if(T)Q=void 0!==t.attributes.getExplicit(T)?Q:this.attributes.get("accent")}return Q},enumerable:!1,configurable:!0}),t.prototype.setTeXclass=function(Q){var t=this.attributes.getList("form","fence"),T=t.form,e=t.fence;return void 0===this.getProperty("texClass")&&(this.attributes.isSet("lspace")||this.attributes.isSet("rspace"))?null:(e&&this.texClass===s.TEXCLASS.REL&&("prefix"===T&&(this.texClass=s.TEXCLASS.OPEN),"postfix"===T&&(this.texClass=s.TEXCLASS.CLOSE)),this.adjustTeXclass(Q))},t.prototype.adjustTeXclass=function(Q){var t=this.texClass,T=this.prevClass;if(t===s.TEXCLASS.NONE)return Q;if(Q?(!Q.getProperty("autoOP")||t!==s.TEXCLASS.BIN&&t!==s.TEXCLASS.REL||(T=Q.texClass=s.TEXCLASS.ORD),T=this.prevClass=Q.texClass||s.TEXCLASS.ORD,this.prevLevel=this.attributes.getInherited("scriptlevel")):T=this.prevClass=s.TEXCLASS.NONE,t!==s.TEXCLASS.BIN||T!==s.TEXCLASS.NONE&&T!==s.TEXCLASS.BIN&&T!==s.TEXCLASS.OP&&T!==s.TEXCLASS.REL&&T!==s.TEXCLASS.OPEN&&T!==s.TEXCLASS.PUNCT)if(T!==s.TEXCLASS.BIN||t!==s.TEXCLASS.REL&&t!==s.TEXCLASS.CLOSE&&t!==s.TEXCLASS.PUNCT){if(t===s.TEXCLASS.BIN){for(var e=this,r=this.parent;r&&r.parent&&r.isEmbellished&&(1===r.childNodes.length||!r.isKind("mrow")&&r.core()===e);)e=r,r=r.parent;r.childNodes[r.childNodes.length-1]===e&&(this.texClass=s.TEXCLASS.ORD)}}else Q.texClass=this.prevClass=s.TEXCLASS.ORD;else this.texClass=s.TEXCLASS.ORD;return this},t.prototype.setInheritedAttributes=function(t,T,e,r){void 0===t&&(t={}),void 0===T&&(T=!1),void 0===e&&(e=0),void 0===r&&(r=!1),Q.prototype.setInheritedAttributes.call(this,t,T,e,r);var n=this.getText();this.checkOperatorTable(n),this.checkPseudoScripts(n),this.checkPrimes(n),this.checkMathAccent(n)},t.prototype.checkOperatorTable=function(Q){var t,T,e=o(this.handleExplicitForm(this.getForms()),3),r=e[0],n=e[1],s=e[2];this.attributes.setInherited("form",r);var l=this.constructor.OPTABLE,c=l[r][Q]||l[n][Q]||l[s][Q];if(c){void 0===this.getProperty("texClass")&&(this.texClass=c[2]);try{for(var u=i(Object.keys(c[3]||{})),L=u.next();!L.done;L=u.next()){var p=L.value;this.attributes.setInherited(p,c[3][p])}}catch(Q){t={error:Q}}finally{try{L&&!L.done&&(T=u.return)&&T.call(u)}finally{if(t)throw t.error}}this.lspace=(c[0]+1)/18,this.rspace=(c[1]+1)/18}else{var h=a.getRange(Q);if(h){void 0===this.getProperty("texClass")&&(this.texClass=h[2]);var f=this.constructor.MMLSPACING[h[2]];this.lspace=(f[0]+1)/18,this.rspace=(f[1]+1)/18}}},t.prototype.getForms=function(){for(var Q=this,t=this.parent,T=this.Parent;T&&T.isEmbellished;)Q=t,t=T.parent,T=T.Parent;if(t&&t.isKind("mrow")&&1!==t.nonSpaceLength()){if(t.firstNonSpace()===Q)return["prefix","infix","postfix"];if(t.lastNonSpace()===Q)return["postfix","infix","prefix"]}return["infix","prefix","postfix"]},t.prototype.handleExplicitForm=function(Q){if(this.attributes.isSet("form")){var t=this.attributes.get("form");Q=[t].concat(Q.filter((function(Q){return Q!==t})))}return Q},t.prototype.checkPseudoScripts=function(Q){var t=this.constructor.pseudoScripts;if(Q.match(t)){var T=this.coreParent().Parent,e=!T||!(T.isKind("msubsup")&&!T.isKind("msub"));this.setProperty("pseudoscript",e),e&&(this.attributes.setInherited("lspace",0),this.attributes.setInherited("rspace",0))}},t.prototype.checkPrimes=function(Q){var t=this.constructor.primes;if(Q.match(t)){var T=this.constructor.remapPrimes,e=l.unicodeString(l.unicodeChars(Q).map((function(Q){return T[Q]})));this.setProperty("primes",e)}},t.prototype.checkMathAccent=function(Q){var t=this.Parent;if(void 0===this.getProperty("mathaccent")&&t&&t.isKind("munderover")){var T=t.childNodes[0];if(!T.isEmbellished||T.coreMO()!==this){var e=this.constructor.mathaccents;Q.match(e)&&this.setProperty("mathaccent",!0)}}},t.defaults=n(n({},s.AbstractMmlTokenNode.defaults),{form:"infix",fence:!1,separator:!1,lspace:"thickmathspace",rspace:"thickmathspace",stretchy:!1,symmetric:!1,maxsize:"infinity",minsize:"0em",largeop:!1,movablelimits:!1,accent:!1,linebreak:"auto",lineleading:"1ex",linebreakstyle:"before",indentalign:"auto",indentshift:"0",indenttarget:"",indentalignfirst:"indentalign",indentshiftfirst:"indentshift",indentalignlast:"indentalign",indentshiftlast:"indentshift"}),t.MMLSPACING=a.MMLSPACING,t.OPTABLE=a.OPTABLE,t.pseudoScripts=new RegExp(["^[\"'*`","\xaa","\xb0","\xb2-\xb4","\xb9","\xba","\u2018-\u201f","\u2032-\u2037\u2057","\u2070\u2071","\u2074-\u207f","\u2080-\u208e","]+$"].join("")),t.primes=new RegExp(["^[\"'`","\u2018-\u201f","]+$"].join("")),t.remapPrimes={34:8243,39:8242,96:8245,8216:8245,8217:8242,8218:8242,8219:8245,8220:8246,8221:8243,8222:8243,8223:8246},t.mathaccents=new RegExp(["^[","\xb4\u0301\u02ca","`\u0300\u02cb","\xa8\u0308","~\u0303\u02dc","\xaf\u0304\u02c9","\u02d8\u0306","\u02c7\u030c","^\u0302\u02c6","\u2192\u20d7","\u02d9\u0307","\u02da\u030a","\u20db","\u20dc","]$"].join("")),t}(s.AbstractMmlTokenNode);t.MmlMo=c},7238:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.MmlInferredMrow=t.MmlMrow=void 0;var i=T(9007),s=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t._core=null,t}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"mrow"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSpacelike",{get:function(){var Q,t;try{for(var T=o(this.childNodes),e=T.next();!e.done;e=T.next()){if(!e.value.isSpacelike)return!1}}catch(t){Q={error:t}}finally{try{e&&!e.done&&(t=T.return)&&t.call(T)}finally{if(Q)throw Q.error}}return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEmbellished",{get:function(){var Q,t,T=!1,e=0;try{for(var r=o(this.childNodes),n=r.next();!n.done;n=r.next()){var i=n.value;if(i)if(i.isEmbellished){if(T)return!1;T=!0,this._core=e}else if(!i.isSpacelike)return!1;e++}}catch(t){Q={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(Q)throw Q.error}}return T},enumerable:!1,configurable:!0}),t.prototype.core=function(){return this.isEmbellished&&null!=this._core?this.childNodes[this._core]:this},t.prototype.coreMO=function(){return this.isEmbellished&&null!=this._core?this.childNodes[this._core].coreMO():this},t.prototype.nonSpaceLength=function(){var Q,t,T=0;try{for(var e=o(this.childNodes),r=e.next();!r.done;r=e.next()){var n=r.value;n&&!n.isSpacelike&&T++}}catch(t){Q={error:t}}finally{try{r&&!r.done&&(t=e.return)&&t.call(e)}finally{if(Q)throw Q.error}}return T},t.prototype.firstNonSpace=function(){var Q,t;try{for(var T=o(this.childNodes),e=T.next();!e.done;e=T.next()){var r=e.value;if(r&&!r.isSpacelike)return r}}catch(t){Q={error:t}}finally{try{e&&!e.done&&(t=T.return)&&t.call(T)}finally{if(Q)throw Q.error}}return null},t.prototype.lastNonSpace=function(){for(var Q=this.childNodes.length;--Q>=0;){var t=this.childNodes[Q];if(t&&!t.isSpacelike)return t}return null},t.prototype.setTeXclass=function(Q){var t,T,e,r;if(null!=this.getProperty("open")||null!=this.getProperty("close")){this.getPrevClass(Q),Q=null;try{for(var n=o(this.childNodes),s=n.next();!s.done;s=n.next()){Q=s.value.setTeXclass(Q)}}catch(Q){t={error:Q}}finally{try{s&&!s.done&&(T=n.return)&&T.call(n)}finally{if(t)throw t.error}}null==this.texClass&&(this.texClass=i.TEXCLASS.INNER)}else{try{for(var a=o(this.childNodes),l=a.next();!l.done;l=a.next()){Q=l.value.setTeXclass(Q)}}catch(Q){e={error:Q}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}this.childNodes[0]&&this.updateTeXclass(this.childNodes[0])}return Q},t.defaults=n({},i.AbstractMmlNode.defaults),t}(i.AbstractMmlNode);t.MmlMrow=s;var a=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"inferredMrow"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isInferred",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"notParent",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.toString=function(){return"["+this.childNodes.join(",")+"]"},t.defaults=s.defaults,t}(s);t.MmlInferredMrow=a},7265:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.MmlMtable=void 0;var i=T(9007),s=T(505),a=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t.properties={useHeight:!0},t.texclass=i.TEXCLASS.ORD,t}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"mtable"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.setInheritedAttributes=function(t,T,e,r){var n,s;try{for(var a=o(i.indentAttributes),l=a.next();!l.done;l=a.next()){var c=l.value;t[c]&&this.attributes.setInherited(c,t[c][1]),void 0!==this.attributes.getExplicit(c)&&delete this.attributes.getAllAttributes()[c]}}catch(Q){n={error:Q}}finally{try{l&&!l.done&&(s=a.return)&&s.call(a)}finally{if(n)throw n.error}}Q.prototype.setInheritedAttributes.call(this,t,T,e,r)},t.prototype.setChildInheritedAttributes=function(Q,t,T,e){var r,n,i,a;try{for(var l=o(this.childNodes),c=l.next();!c.done;c=l.next()){(f=c.value).isKind("mtr")||this.replaceChild(this.factory.create("mtr"),f).appendChild(f)}}catch(Q){r={error:Q}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}T=this.getProperty("scriptlevel")||T,t=!(!this.attributes.getExplicit("displaystyle")&&!this.attributes.getDefault("displaystyle")),Q=this.addInheritedAttributes(Q,{columnalign:this.attributes.get("columnalign"),rowalign:"center"});var u=this.attributes.getExplicit("data-cramped"),L=s.split(this.attributes.get("rowalign"));try{for(var p=o(this.childNodes),h=p.next();!h.done;h=p.next()){var f=h.value;Q.rowalign[1]=L.shift()||Q.rowalign[1],f.setInheritedAttributes(Q,t,T,!!u)}}catch(Q){i={error:Q}}finally{try{h&&!h.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}},t.prototype.verifyChildren=function(t){var T,e;if(!t.fixMtables)try{for(var r=o(this.childNodes),n=r.next();!n.done;n=r.next()){n.value.isKind("mtr")||this.mError("Children of "+this.kind+" must be mtr or mlabeledtr",t)}}catch(Q){T={error:Q}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(T)throw T.error}}Q.prototype.verifyChildren.call(this,t)},t.prototype.setTeXclass=function(Q){var t,T;this.getPrevClass(Q);try{for(var e=o(this.childNodes),r=e.next();!r.done;r=e.next()){r.value.setTeXclass(null)}}catch(Q){t={error:Q}}finally{try{r&&!r.done&&(T=e.return)&&T.call(e)}finally{if(t)throw t.error}}return this},t.defaults=n(n({},i.AbstractMmlNode.defaults),{align:"axis",rowalign:"baseline",columnalign:"center",groupalign:"{left}",alignmentscope:!0,columnwidth:"auto",width:"auto",rowspacing:"1ex",columnspacing:".8em",rowlines:"none",columnlines:"none",frame:"none",framespacing:"0.4em 0.5ex",equalrows:!1,equalcolumns:!1,displaystyle:!1,side:"right",minlabelspacing:"0.8em"}),t}(i.AbstractMmlNode);t.MmlMtable=a},4359:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.MmlMlabeledtr=t.MmlMtr=void 0;var i=T(9007),s=T(91),a=T(505),l=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"mtr"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"linebreakContainer",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.setChildInheritedAttributes=function(Q,t,T,e){var r,n,i,s;try{for(var l=o(this.childNodes),c=l.next();!c.done;c=l.next()){(h=c.value).isKind("mtd")||this.replaceChild(this.factory.create("mtd"),h).appendChild(h)}}catch(Q){r={error:Q}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}var u=a.split(this.attributes.get("columnalign"));1===this.arity&&u.unshift(this.parent.attributes.get("side")),Q=this.addInheritedAttributes(Q,{rowalign:this.attributes.get("rowalign"),columnalign:"center"});try{for(var L=o(this.childNodes),p=L.next();!p.done;p=L.next()){var h=p.value;Q.columnalign[1]=u.shift()||Q.columnalign[1],h.setInheritedAttributes(Q,t,T,e)}}catch(Q){i={error:Q}}finally{try{p&&!p.done&&(s=L.return)&&s.call(L)}finally{if(i)throw i.error}}},t.prototype.verifyChildren=function(t){var T,e;if(!this.parent||this.parent.isKind("mtable")){if(!t.fixMtables)try{for(var r=o(this.childNodes),n=r.next();!n.done;n=r.next()){var i=n.value;if(!i.isKind("mtd"))this.replaceChild(this.factory.create("mtr"),i).mError("Children of "+this.kind+" must be mtd",t,!0)}}catch(Q){T={error:Q}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(T)throw T.error}}Q.prototype.verifyChildren.call(this,t)}else this.mError(this.kind+" can only be a child of an mtable",t,!0)},t.prototype.setTeXclass=function(Q){var t,T;this.getPrevClass(Q);try{for(var e=o(this.childNodes),r=e.next();!r.done;r=e.next()){r.value.setTeXclass(null)}}catch(Q){t={error:Q}}finally{try{r&&!r.done&&(T=e.return)&&T.call(e)}finally{if(t)throw t.error}}return this},t.defaults=n(n({},i.AbstractMmlNode.defaults),{rowalign:s.INHERIT,columnalign:s.INHERIT,groupalign:s.INHERIT}),t}(i.AbstractMmlNode);t.MmlMtr=l;var c=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),Object.defineProperty(t.prototype,"kind",{get:function(){return"mlabeledtr"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"arity",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.MmlMlabeledtr=c},5184:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__assign||function(){return(n=Object.assign||function(Q){for(var t,T=1,e=arguments.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.OPTABLE=t.MMLSPACING=t.getRange=t.RANGES=t.MO=t.OPDEF=void 0;var r=T(9007);function n(Q,t,T,e){return void 0===T&&(T=r.TEXCLASS.BIN),void 0===e&&(e=null),[Q,t,T,e]}t.OPDEF=n,t.MO={ORD:n(0,0,r.TEXCLASS.ORD),ORD11:n(1,1,r.TEXCLASS.ORD),ORD21:n(2,1,r.TEXCLASS.ORD),ORD02:n(0,2,r.TEXCLASS.ORD),ORD55:n(5,5,r.TEXCLASS.ORD),OP:n(1,2,r.TEXCLASS.OP,{largeop:!0,movablelimits:!0,symmetric:!0}),OPFIXED:n(1,2,r.TEXCLASS.OP,{largeop:!0,movablelimits:!0}),INTEGRAL:n(0,1,r.TEXCLASS.OP,{largeop:!0,symmetric:!0}),INTEGRAL2:n(1,2,r.TEXCLASS.OP,{largeop:!0,symmetric:!0}),BIN3:n(3,3,r.TEXCLASS.BIN),BIN4:n(4,4,r.TEXCLASS.BIN),BIN01:n(0,1,r.TEXCLASS.BIN),BIN5:n(5,5,r.TEXCLASS.BIN),TALLBIN:n(4,4,r.TEXCLASS.BIN,{stretchy:!0}),BINOP:n(4,4,r.TEXCLASS.BIN,{largeop:!0,movablelimits:!0}),REL:n(5,5,r.TEXCLASS.REL),REL1:n(1,1,r.TEXCLASS.REL,{stretchy:!0}),REL4:n(4,4,r.TEXCLASS.REL),RELSTRETCH:n(5,5,r.TEXCLASS.REL,{stretchy:!0}),RELACCENT:n(5,5,r.TEXCLASS.REL,{accent:!0}),WIDEREL:n(5,5,r.TEXCLASS.REL,{accent:!0,stretchy:!0}),OPEN:n(0,0,r.TEXCLASS.OPEN,{fence:!0,stretchy:!0,symmetric:!0}),CLOSE:n(0,0,r.TEXCLASS.CLOSE,{fence:!0,stretchy:!0,symmetric:!0}),INNER:n(0,0,r.TEXCLASS.INNER),PUNCT:n(0,3,r.TEXCLASS.PUNCT),ACCENT:n(0,0,r.TEXCLASS.ORD,{accent:!0}),WIDEACCENT:n(0,0,r.TEXCLASS.ORD,{accent:!0,stretchy:!0})},t.RANGES=[[32,127,r.TEXCLASS.REL,"mo"],[160,191,r.TEXCLASS.ORD,"mo"],[192,591,r.TEXCLASS.ORD,"mi"],[688,879,r.TEXCLASS.ORD,"mo"],[880,6688,r.TEXCLASS.ORD,"mi"],[6832,6911,r.TEXCLASS.ORD,"mo"],[6912,7615,r.TEXCLASS.ORD,"mi"],[7616,7679,r.TEXCLASS.ORD,"mo"],[7680,8191,r.TEXCLASS.ORD,"mi"],[8192,8303,r.TEXCLASS.ORD,"mo"],[8304,8351,r.TEXCLASS.ORD,"mo"],[8448,8527,r.TEXCLASS.ORD,"mi"],[8528,8591,r.TEXCLASS.ORD,"mn"],[8592,8703,r.TEXCLASS.REL,"mo"],[8704,8959,r.TEXCLASS.BIN,"mo"],[8960,9215,r.TEXCLASS.ORD,"mo"],[9312,9471,r.TEXCLASS.ORD,"mn"],[9472,10223,r.TEXCLASS.ORD,"mo"],[10224,10239,r.TEXCLASS.REL,"mo"],[10240,10495,r.TEXCLASS.ORD,"mtext"],[10496,10623,r.TEXCLASS.REL,"mo"],[10624,10751,r.TEXCLASS.ORD,"mo"],[10752,11007,r.TEXCLASS.BIN,"mo"],[11008,11055,r.TEXCLASS.ORD,"mo"],[11056,11087,r.TEXCLASS.REL,"mo"],[11088,11263,r.TEXCLASS.ORD,"mo"],[11264,11744,r.TEXCLASS.ORD,"mi"],[11776,11903,r.TEXCLASS.ORD,"mo"],[11904,12255,r.TEXCLASS.ORD,"mi"],[12272,12351,r.TEXCLASS.ORD,"mo"],[12352,43055,r.TEXCLASS.ORD,"mi"],[43056,43071,r.TEXCLASS.ORD,"mn"],[43072,55295,r.TEXCLASS.ORD,"mi"],[63744,65023,r.TEXCLASS.ORD,"mi"],[65024,65135,r.TEXCLASS.ORD,"mo"],[65136,65791,r.TEXCLASS.ORD,"mi"],[65792,65935,r.TEXCLASS.ORD,"mn"],[65936,74751,r.TEXCLASS.ORD,"mi"],[74752,74879,r.TEXCLASS.ORD,"mn"],[74880,113823,r.TEXCLASS.ORD,"mi"],[113824,119391,r.TEXCLASS.ORD,"mo"],[119648,119679,r.TEXCLASS.ORD,"mn"],[119808,120781,r.TEXCLASS.ORD,"mi"],[120782,120831,r.TEXCLASS.ORD,"mn"],[122624,129023,r.TEXCLASS.ORD,"mo"],[129024,129279,r.TEXCLASS.REL,"mo"],[129280,129535,r.TEXCLASS.ORD,"mo"],[131072,195103,r.TEXCLASS.ORD,"mi"]],t.getRange=function(Q){var T,r,n=Q.codePointAt(0);try{for(var o=e(t.RANGES),i=o.next();!i.done;i=o.next()){var s=i.value;if(n<=s[1]){if(n>=s[0])return s;break}}}catch(Q){T={error:Q}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(T)throw T.error}}return null},t.MMLSPACING=[[0,0],[1,2],[3,3],[4,4],[0,0],[0,0],[0,3]],t.OPTABLE={prefix:{"(":t.MO.OPEN,"+":t.MO.BIN01,"-":t.MO.BIN01,"[":t.MO.OPEN,"{":t.MO.OPEN,"|":t.MO.OPEN,"||":[0,0,r.TEXCLASS.BIN,{fence:!0,stretchy:!0,symmetric:!0}],"|||":[0,0,r.TEXCLASS.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"\xac":t.MO.ORD21,"\xb1":t.MO.BIN01,"\u2016":[0,0,r.TEXCLASS.ORD,{fence:!0,stretchy:!0}],"\u2018":[0,0,r.TEXCLASS.OPEN,{fence:!0}],"\u201c":[0,0,r.TEXCLASS.OPEN,{fence:!0}],"\u2145":t.MO.ORD21,"\u2146":n(2,0,r.TEXCLASS.ORD),"\u2200":t.MO.ORD21,"\u2202":t.MO.ORD21,"\u2203":t.MO.ORD21,"\u2204":t.MO.ORD21,"\u2207":t.MO.ORD21,"\u220f":t.MO.OP,"\u2210":t.MO.OP,"\u2211":t.MO.OP,"\u2212":t.MO.BIN01,"\u2213":t.MO.BIN01,"\u221a":[1,1,r.TEXCLASS.ORD,{stretchy:!0}],"\u221b":t.MO.ORD11,"\u221c":t.MO.ORD11,"\u2220":t.MO.ORD,"\u2221":t.MO.ORD,"\u2222":t.MO.ORD,"\u222b":t.MO.INTEGRAL,"\u222c":t.MO.INTEGRAL,"\u222d":t.MO.INTEGRAL,"\u222e":t.MO.INTEGRAL,"\u222f":t.MO.INTEGRAL,"\u2230":t.MO.INTEGRAL,"\u2231":t.MO.INTEGRAL,"\u2232":t.MO.INTEGRAL,"\u2233":t.MO.INTEGRAL,"\u22c0":t.MO.OP,"\u22c1":t.MO.OP,"\u22c2":t.MO.OP,"\u22c3":t.MO.OP,"\u2308":t.MO.OPEN,"\u230a":t.MO.OPEN,"\u2329":t.MO.OPEN,"\u2772":t.MO.OPEN,"\u27e6":t.MO.OPEN,"\u27e8":t.MO.OPEN,"\u27ea":t.MO.OPEN,"\u27ec":t.MO.OPEN,"\u27ee":t.MO.OPEN,"\u2980":[0,0,r.TEXCLASS.ORD,{fence:!0,stretchy:!0}],"\u2983":t.MO.OPEN,"\u2985":t.MO.OPEN,"\u2987":t.MO.OPEN,"\u2989":t.MO.OPEN,"\u298b":t.MO.OPEN,"\u298d":t.MO.OPEN,"\u298f":t.MO.OPEN,"\u2991":t.MO.OPEN,"\u2993":t.MO.OPEN,"\u2995":t.MO.OPEN,"\u2997":t.MO.OPEN,"\u29fc":t.MO.OPEN,"\u2a00":t.MO.OP,"\u2a01":t.MO.OP,"\u2a02":t.MO.OP,"\u2a03":t.MO.OP,"\u2a04":t.MO.OP,"\u2a05":t.MO.OP,"\u2a06":t.MO.OP,"\u2a07":t.MO.OP,"\u2a08":t.MO.OP,"\u2a09":t.MO.OP,"\u2a0a":t.MO.OP,"\u2a0b":t.MO.INTEGRAL2,"\u2a0c":t.MO.INTEGRAL,"\u2a0d":t.MO.INTEGRAL2,"\u2a0e":t.MO.INTEGRAL2,"\u2a0f":t.MO.INTEGRAL2,"\u2a10":t.MO.OP,"\u2a11":t.MO.OP,"\u2a12":t.MO.OP,"\u2a13":t.MO.OP,"\u2a14":t.MO.OP,"\u2a15":t.MO.INTEGRAL2,"\u2a16":t.MO.INTEGRAL2,"\u2a17":t.MO.INTEGRAL2,"\u2a18":t.MO.INTEGRAL2,"\u2a19":t.MO.INTEGRAL2,"\u2a1a":t.MO.INTEGRAL2,"\u2a1b":t.MO.INTEGRAL2,"\u2a1c":t.MO.INTEGRAL2,"\u2afc":t.MO.OP,"\u2aff":t.MO.OP},postfix:{"!!":n(1,0),"!":[1,0,r.TEXCLASS.CLOSE,null],'"':t.MO.ACCENT,"&":t.MO.ORD,")":t.MO.CLOSE,"++":n(0,0),"--":n(0,0),"..":n(0,0),"...":t.MO.ORD,"'":t.MO.ACCENT,"]":t.MO.CLOSE,"^":t.MO.WIDEACCENT,_:t.MO.WIDEACCENT,"`":t.MO.ACCENT,"|":t.MO.CLOSE,"}":t.MO.CLOSE,"~":t.MO.WIDEACCENT,"||":[0,0,r.TEXCLASS.BIN,{fence:!0,stretchy:!0,symmetric:!0}],"|||":[0,0,r.TEXCLASS.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"\xa8":t.MO.ACCENT,"\xaa":t.MO.ACCENT,"\xaf":t.MO.WIDEACCENT,"\xb0":t.MO.ORD,"\xb2":t.MO.ACCENT,"\xb3":t.MO.ACCENT,"\xb4":t.MO.ACCENT,"\xb8":t.MO.ACCENT,"\xb9":t.MO.ACCENT,"\xba":t.MO.ACCENT,"\u02c6":t.MO.WIDEACCENT,"\u02c7":t.MO.WIDEACCENT,"\u02c9":t.MO.WIDEACCENT,"\u02ca":t.MO.ACCENT,"\u02cb":t.MO.ACCENT,"\u02cd":t.MO.WIDEACCENT,"\u02d8":t.MO.ACCENT,"\u02d9":t.MO.ACCENT,"\u02da":t.MO.ACCENT,"\u02dc":t.MO.WIDEACCENT,"\u02dd":t.MO.ACCENT,"\u02f7":t.MO.WIDEACCENT,"\u0302":t.MO.WIDEACCENT,"\u0311":t.MO.ACCENT,"\u03f6":t.MO.REL,"\u2016":[0,0,r.TEXCLASS.ORD,{fence:!0,stretchy:!0}],"\u2019":[0,0,r.TEXCLASS.CLOSE,{fence:!0}],"\u201a":t.MO.ACCENT,"\u201b":t.MO.ACCENT,"\u201d":[0,0,r.TEXCLASS.CLOSE,{fence:!0}],"\u201e":t.MO.ACCENT,"\u201f":t.MO.ACCENT,"\u2032":t.MO.ORD,"\u2033":t.MO.ACCENT,"\u2034":t.MO.ACCENT,"\u2035":t.MO.ACCENT,"\u2036":t.MO.ACCENT,"\u2037":t.MO.ACCENT,"\u203e":t.MO.WIDEACCENT,"\u2057":t.MO.ACCENT,"\u20db":t.MO.ACCENT,"\u20dc":t.MO.ACCENT,"\u2309":t.MO.CLOSE,"\u230b":t.MO.CLOSE,"\u232a":t.MO.CLOSE,"\u23b4":t.MO.WIDEACCENT,"\u23b5":t.MO.WIDEACCENT,"\u23dc":t.MO.WIDEACCENT,"\u23dd":t.MO.WIDEACCENT,"\u23de":t.MO.WIDEACCENT,"\u23df":t.MO.WIDEACCENT,"\u23e0":t.MO.WIDEACCENT,"\u23e1":t.MO.WIDEACCENT,"\u25a0":t.MO.BIN3,"\u25a1":t.MO.BIN3,"\u25aa":t.MO.BIN3,"\u25ab":t.MO.BIN3,"\u25ad":t.MO.BIN3,"\u25ae":t.MO.BIN3,"\u25af":t.MO.BIN3,"\u25b0":t.MO.BIN3,"\u25b1":t.MO.BIN3,"\u25b2":t.MO.BIN4,"\u25b4":t.MO.BIN4,"\u25b6":t.MO.BIN4,"\u25b7":t.MO.BIN4,"\u25b8":t.MO.BIN4,"\u25bc":t.MO.BIN4,"\u25be":t.MO.BIN4,"\u25c0":t.MO.BIN4,"\u25c1":t.MO.BIN4,"\u25c2":t.MO.BIN4,"\u25c4":t.MO.BIN4,"\u25c5":t.MO.BIN4,"\u25c6":t.MO.BIN4,"\u25c7":t.MO.BIN4,"\u25c8":t.MO.BIN4,"\u25c9":t.MO.BIN4,"\u25cc":t.MO.BIN4,"\u25cd":t.MO.BIN4,"\u25ce":t.MO.BIN4,"\u25cf":t.MO.BIN4,"\u25d6":t.MO.BIN4,"\u25d7":t.MO.BIN4,"\u25e6":t.MO.BIN4,"\u266d":t.MO.ORD02,"\u266e":t.MO.ORD02,"\u266f":t.MO.ORD02,"\u2773":t.MO.CLOSE,"\u27e7":t.MO.CLOSE,"\u27e9":t.MO.CLOSE,"\u27eb":t.MO.CLOSE,"\u27ed":t.MO.CLOSE,"\u27ef":t.MO.CLOSE,"\u2980":[0,0,r.TEXCLASS.ORD,{fence:!0,stretchy:!0}],"\u2984":t.MO.CLOSE,"\u2986":t.MO.CLOSE,"\u2988":t.MO.CLOSE,"\u298a":t.MO.CLOSE,"\u298c":t.MO.CLOSE,"\u298e":t.MO.CLOSE,"\u2990":t.MO.CLOSE,"\u2992":t.MO.CLOSE,"\u2994":t.MO.CLOSE,"\u2996":t.MO.CLOSE,"\u2998":t.MO.CLOSE,"\u29fd":t.MO.CLOSE},infix:{"!=":t.MO.BIN4,"#":t.MO.ORD,$:t.MO.ORD,"%":[3,3,r.TEXCLASS.ORD,null],"&&":t.MO.BIN4,"":t.MO.ORD,"*":t.MO.BIN3,"**":n(1,1),"*=":t.MO.BIN4,"+":t.MO.BIN4,"+=":t.MO.BIN4,",":[0,3,r.TEXCLASS.PUNCT,{linebreakstyle:"after",separator:!0}],"-":t.MO.BIN4,"-=":t.MO.BIN4,"->":t.MO.BIN5,".":[0,3,r.TEXCLASS.PUNCT,{separator:!0}],"/":t.MO.ORD11,"//":n(1,1),"/=":t.MO.BIN4,":":[1,2,r.TEXCLASS.REL,null],":=":t.MO.BIN4,";":[0,3,r.TEXCLASS.PUNCT,{linebreakstyle:"after",separator:!0}],"<":t.MO.REL,"<=":t.MO.BIN5,"<>":n(1,1),"=":t.MO.REL,"==":t.MO.BIN4,">":t.MO.REL,">=":t.MO.BIN5,"?":[1,1,r.TEXCLASS.CLOSE,null],"@":t.MO.ORD11,"\\":t.MO.ORD,"^":t.MO.ORD11,_:t.MO.ORD11,"|":[2,2,r.TEXCLASS.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"||":[2,2,r.TEXCLASS.BIN,{fence:!0,stretchy:!0,symmetric:!0}],"|||":[2,2,r.TEXCLASS.ORD,{fence:!0,stretchy:!0,symmetric:!0}],"\xb1":t.MO.BIN4,"\xb7":t.MO.BIN4,"\xd7":t.MO.BIN4,"\xf7":t.MO.BIN4,"\u02b9":t.MO.ORD,"\u0300":t.MO.ACCENT,"\u0301":t.MO.ACCENT,"\u0303":t.MO.WIDEACCENT,"\u0304":t.MO.ACCENT,"\u0306":t.MO.ACCENT,"\u0307":t.MO.ACCENT,"\u0308":t.MO.ACCENT,"\u030c":t.MO.ACCENT,"\u0332":t.MO.WIDEACCENT,"\u0338":t.MO.REL4,"\u2015":[0,0,r.TEXCLASS.ORD,{stretchy:!0}],"\u2017":[0,0,r.TEXCLASS.ORD,{stretchy:!0}],"\u2020":t.MO.BIN3,"\u2021":t.MO.BIN3,"\u2022":t.MO.BIN4,"\u2026":t.MO.INNER,"\u2043":t.MO.BIN4,"\u2044":t.MO.TALLBIN,"\u2061":t.MO.ORD,"\u2062":t.MO.ORD,"\u2063":[0,0,r.TEXCLASS.ORD,{linebreakstyle:"after",separator:!0}],"\u2064":t.MO.ORD,"\u20d7":t.MO.ACCENT,"\u2111":t.MO.ORD,"\u2113":t.MO.ORD,"\u2118":t.MO.ORD,"\u211c":t.MO.ORD,"\u2190":t.MO.WIDEREL,"\u2191":t.MO.RELSTRETCH,"\u2192":t.MO.WIDEREL,"\u2193":t.MO.RELSTRETCH,"\u2194":t.MO.WIDEREL,"\u2195":t.MO.RELSTRETCH,"\u2196":t.MO.RELSTRETCH,"\u2197":t.MO.RELSTRETCH,"\u2198":t.MO.RELSTRETCH,"\u2199":t.MO.RELSTRETCH,"\u219a":t.MO.RELACCENT,"\u219b":t.MO.RELACCENT,"\u219c":t.MO.WIDEREL,"\u219d":t.MO.WIDEREL,"\u219e":t.MO.WIDEREL,"\u219f":t.MO.WIDEREL,"\u21a0":t.MO.WIDEREL,"\u21a1":t.MO.RELSTRETCH,"\u21a2":t.MO.WIDEREL,"\u21a3":t.MO.WIDEREL,"\u21a4":t.MO.WIDEREL,"\u21a5":t.MO.RELSTRETCH,"\u21a6":t.MO.WIDEREL,"\u21a7":t.MO.RELSTRETCH,"\u21a8":t.MO.RELSTRETCH,"\u21a9":t.MO.WIDEREL,"\u21aa":t.MO.WIDEREL,"\u21ab":t.MO.WIDEREL,"\u21ac":t.MO.WIDEREL,"\u21ad":t.MO.WIDEREL,"\u21ae":t.MO.RELACCENT,"\u21af":t.MO.RELSTRETCH,"\u21b0":t.MO.RELSTRETCH,"\u21b1":t.MO.RELSTRETCH,"\u21b2":t.MO.RELSTRETCH,"\u21b3":t.MO.RELSTRETCH,"\u21b4":t.MO.RELSTRETCH,"\u21b5":t.MO.RELSTRETCH,"\u21b6":t.MO.RELACCENT,"\u21b7":t.MO.RELACCENT,"\u21b8":t.MO.REL,"\u21b9":t.MO.WIDEREL,"\u21ba":t.MO.REL,"\u21bb":t.MO.REL,"\u21bc":t.MO.WIDEREL,"\u21bd":t.MO.WIDEREL,"\u21be":t.MO.RELSTRETCH,"\u21bf":t.MO.RELSTRETCH,"\u21c0":t.MO.WIDEREL,"\u21c1":t.MO.WIDEREL,"\u21c2":t.MO.RELSTRETCH,"\u21c3":t.MO.RELSTRETCH,"\u21c4":t.MO.WIDEREL,"\u21c5":t.MO.RELSTRETCH,"\u21c6":t.MO.WIDEREL,"\u21c7":t.MO.WIDEREL,"\u21c8":t.MO.RELSTRETCH,"\u21c9":t.MO.WIDEREL,"\u21ca":t.MO.RELSTRETCH,"\u21cb":t.MO.WIDEREL,"\u21cc":t.MO.WIDEREL,"\u21cd":t.MO.RELACCENT,"\u21ce":t.MO.RELACCENT,"\u21cf":t.MO.RELACCENT,"\u21d0":t.MO.WIDEREL,"\u21d1":t.MO.RELSTRETCH,"\u21d2":t.MO.WIDEREL,"\u21d3":t.MO.RELSTRETCH,"\u21d4":t.MO.WIDEREL,"\u21d5":t.MO.RELSTRETCH,"\u21d6":t.MO.RELSTRETCH,"\u21d7":t.MO.RELSTRETCH,"\u21d8":t.MO.RELSTRETCH,"\u21d9":t.MO.RELSTRETCH,"\u21da":t.MO.WIDEREL,"\u21db":t.MO.WIDEREL,"\u21dc":t.MO.WIDEREL,"\u21dd":t.MO.WIDEREL,"\u21de":t.MO.REL,"\u21df":t.MO.REL,"\u21e0":t.MO.WIDEREL,"\u21e1":t.MO.RELSTRETCH,"\u21e2":t.MO.WIDEREL,"\u21e3":t.MO.RELSTRETCH,"\u21e4":t.MO.WIDEREL,"\u21e5":t.MO.WIDEREL,"\u21e6":t.MO.WIDEREL,"\u21e7":t.MO.RELSTRETCH,"\u21e8":t.MO.WIDEREL,"\u21e9":t.MO.RELSTRETCH,"\u21ea":t.MO.RELSTRETCH,"\u21eb":t.MO.RELSTRETCH,"\u21ec":t.MO.RELSTRETCH,"\u21ed":t.MO.RELSTRETCH,"\u21ee":t.MO.RELSTRETCH,"\u21ef":t.MO.RELSTRETCH,"\u21f0":t.MO.WIDEREL,"\u21f1":t.MO.REL,"\u21f2":t.MO.REL,"\u21f3":t.MO.RELSTRETCH,"\u21f4":t.MO.RELACCENT,"\u21f5":t.MO.RELSTRETCH,"\u21f6":t.MO.WIDEREL,"\u21f7":t.MO.RELACCENT,"\u21f8":t.MO.RELACCENT,"\u21f9":t.MO.RELACCENT,"\u21fa":t.MO.RELACCENT,"\u21fb":t.MO.RELACCENT,"\u21fc":t.MO.RELACCENT,"\u21fd":t.MO.WIDEREL,"\u21fe":t.MO.WIDEREL,"\u21ff":t.MO.WIDEREL,"\u2201":n(1,2,r.TEXCLASS.ORD),"\u2205":t.MO.ORD,"\u2206":t.MO.BIN3,"\u2208":t.MO.REL,"\u2209":t.MO.REL,"\u220a":t.MO.REL,"\u220b":t.MO.REL,"\u220c":t.MO.REL,"\u220d":t.MO.REL,"\u220e":t.MO.BIN3,"\u2212":t.MO.BIN4,"\u2213":t.MO.BIN4,"\u2214":t.MO.BIN4,"\u2215":t.MO.TALLBIN,"\u2216":t.MO.BIN4,"\u2217":t.MO.BIN4,"\u2218":t.MO.BIN4,"\u2219":t.MO.BIN4,"\u221d":t.MO.REL,"\u221e":t.MO.ORD,"\u221f":t.MO.REL,"\u2223":t.MO.REL,"\u2224":t.MO.REL,"\u2225":t.MO.REL,"\u2226":t.MO.REL,"\u2227":t.MO.BIN4,"\u2228":t.MO.BIN4,"\u2229":t.MO.BIN4,"\u222a":t.MO.BIN4,"\u2234":t.MO.REL,"\u2235":t.MO.REL,"\u2236":t.MO.REL,"\u2237":t.MO.REL,"\u2238":t.MO.BIN4,"\u2239":t.MO.REL,"\u223a":t.MO.BIN4,"\u223b":t.MO.REL,"\u223c":t.MO.REL,"\u223d":t.MO.REL,"\u223d\u0331":t.MO.BIN3,"\u223e":t.MO.REL,"\u223f":t.MO.BIN3,"\u2240":t.MO.BIN4,"\u2241":t.MO.REL,"\u2242":t.MO.REL,"\u2242\u0338":t.MO.REL,"\u2243":t.MO.REL,"\u2244":t.MO.REL,"\u2245":t.MO.REL,"\u2246":t.MO.REL,"\u2247":t.MO.REL,"\u2248":t.MO.REL,"\u2249":t.MO.REL,"\u224a":t.MO.REL,"\u224b":t.MO.REL,"\u224c":t.MO.REL,"\u224d":t.MO.REL,"\u224e":t.MO.REL,"\u224e\u0338":t.MO.REL,"\u224f":t.MO.REL,"\u224f\u0338":t.MO.REL,"\u2250":t.MO.REL,"\u2251":t.MO.REL,"\u2252":t.MO.REL,"\u2253":t.MO.REL,"\u2254":t.MO.REL,"\u2255":t.MO.REL,"\u2256":t.MO.REL,"\u2257":t.MO.REL,"\u2258":t.MO.REL,"\u2259":t.MO.REL,"\u225a":t.MO.REL,"\u225b":t.MO.REL,"\u225c":t.MO.REL,"\u225d":t.MO.REL,"\u225e":t.MO.REL,"\u225f":t.MO.REL,"\u2260":t.MO.REL,"\u2261":t.MO.REL,"\u2262":t.MO.REL,"\u2263":t.MO.REL,"\u2264":t.MO.REL,"\u2265":t.MO.REL,"\u2266":t.MO.REL,"\u2266\u0338":t.MO.REL,"\u2267":t.MO.REL,"\u2268":t.MO.REL,"\u2269":t.MO.REL,"\u226a":t.MO.REL,"\u226a\u0338":t.MO.REL,"\u226b":t.MO.REL,"\u226b\u0338":t.MO.REL,"\u226c":t.MO.REL,"\u226d":t.MO.REL,"\u226e":t.MO.REL,"\u226f":t.MO.REL,"\u2270":t.MO.REL,"\u2271":t.MO.REL,"\u2272":t.MO.REL,"\u2273":t.MO.REL,"\u2274":t.MO.REL,"\u2275":t.MO.REL,"\u2276":t.MO.REL,"\u2277":t.MO.REL,"\u2278":t.MO.REL,"\u2279":t.MO.REL,"\u227a":t.MO.REL,"\u227b":t.MO.REL,"\u227c":t.MO.REL,"\u227d":t.MO.REL,"\u227e":t.MO.REL,"\u227f":t.MO.REL,"\u227f\u0338":t.MO.REL,"\u2280":t.MO.REL,"\u2281":t.MO.REL,"\u2282":t.MO.REL,"\u2282\u20d2":t.MO.REL,"\u2283":t.MO.REL,"\u2283\u20d2":t.MO.REL,"\u2284":t.MO.REL,"\u2285":t.MO.REL,"\u2286":t.MO.REL,"\u2287":t.MO.REL,"\u2288":t.MO.REL,"\u2289":t.MO.REL,"\u228a":t.MO.REL,"\u228b":t.MO.REL,"\u228c":t.MO.BIN4,"\u228d":t.MO.BIN4,"\u228e":t.MO.BIN4,"\u228f":t.MO.REL,"\u228f\u0338":t.MO.REL,"\u2290":t.MO.REL,"\u2290\u0338":t.MO.REL,"\u2291":t.MO.REL,"\u2292":t.MO.REL,"\u2293":t.MO.BIN4,"\u2294":t.MO.BIN4,"\u2295":t.MO.BIN4,"\u2296":t.MO.BIN4,"\u2297":t.MO.BIN4,"\u2298":t.MO.BIN4,"\u2299":t.MO.BIN4,"\u229a":t.MO.BIN4,"\u229b":t.MO.BIN4,"\u229c":t.MO.BIN4,"\u229d":t.MO.BIN4,"\u229e":t.MO.BIN4,"\u229f":t.MO.BIN4,"\u22a0":t.MO.BIN4,"\u22a1":t.MO.BIN4,"\u22a2":t.MO.REL,"\u22a3":t.MO.REL,"\u22a4":t.MO.ORD55,"\u22a5":t.MO.REL,"\u22a6":t.MO.REL,"\u22a7":t.MO.REL,"\u22a8":t.MO.REL,"\u22a9":t.MO.REL,"\u22aa":t.MO.REL,"\u22ab":t.MO.REL,"\u22ac":t.MO.REL,"\u22ad":t.MO.REL,"\u22ae":t.MO.REL,"\u22af":t.MO.REL,"\u22b0":t.MO.REL,"\u22b1":t.MO.REL,"\u22b2":t.MO.REL,"\u22b3":t.MO.REL,"\u22b4":t.MO.REL,"\u22b5":t.MO.REL,"\u22b6":t.MO.REL,"\u22b7":t.MO.REL,"\u22b8":t.MO.REL,"\u22b9":t.MO.REL,"\u22ba":t.MO.BIN4,"\u22bb":t.MO.BIN4,"\u22bc":t.MO.BIN4,"\u22bd":t.MO.BIN4,"\u22be":t.MO.BIN3,"\u22bf":t.MO.BIN3,"\u22c4":t.MO.BIN4,"\u22c5":t.MO.BIN4,"\u22c6":t.MO.BIN4,"\u22c7":t.MO.BIN4,"\u22c8":t.MO.REL,"\u22c9":t.MO.BIN4,"\u22ca":t.MO.BIN4,"\u22cb":t.MO.BIN4,"\u22cc":t.MO.BIN4,"\u22cd":t.MO.REL,"\u22ce":t.MO.BIN4,"\u22cf":t.MO.BIN4,"\u22d0":t.MO.REL,"\u22d1":t.MO.REL,"\u22d2":t.MO.BIN4,"\u22d3":t.MO.BIN4,"\u22d4":t.MO.REL,"\u22d5":t.MO.REL,"\u22d6":t.MO.REL,"\u22d7":t.MO.REL,"\u22d8":t.MO.REL,"\u22d9":t.MO.REL,"\u22da":t.MO.REL,"\u22db":t.MO.REL,"\u22dc":t.MO.REL,"\u22dd":t.MO.REL,"\u22de":t.MO.REL,"\u22df":t.MO.REL,"\u22e0":t.MO.REL,"\u22e1":t.MO.REL,"\u22e2":t.MO.REL,"\u22e3":t.MO.REL,"\u22e4":t.MO.REL,"\u22e5":t.MO.REL,"\u22e6":t.MO.REL,"\u22e7":t.MO.REL,"\u22e8":t.MO.REL,"\u22e9":t.MO.REL,"\u22ea":t.MO.REL,"\u22eb":t.MO.REL,"\u22ec":t.MO.REL,"\u22ed":t.MO.REL,"\u22ee":t.MO.ORD55,"\u22ef":t.MO.INNER,"\u22f0":t.MO.REL,"\u22f1":[5,5,r.TEXCLASS.INNER,null],"\u22f2":t.MO.REL,"\u22f3":t.MO.REL,"\u22f4":t.MO.REL,"\u22f5":t.MO.REL,"\u22f6":t.MO.REL,"\u22f7":t.MO.REL,"\u22f8":t.MO.REL,"\u22f9":t.MO.REL,"\u22fa":t.MO.REL,"\u22fb":t.MO.REL,"\u22fc":t.MO.REL,"\u22fd":t.MO.REL,"\u22fe":t.MO.REL,"\u22ff":t.MO.REL,"\u2305":t.MO.BIN3,"\u2306":t.MO.BIN3,"\u2322":t.MO.REL4,"\u2323":t.MO.REL4,"\u2329":t.MO.OPEN,"\u232a":t.MO.CLOSE,"\u23aa":t.MO.ORD,"\u23af":[0,0,r.TEXCLASS.ORD,{stretchy:!0}],"\u23b0":t.MO.OPEN,"\u23b1":t.MO.CLOSE,"\u2500":t.MO.ORD,"\u25b3":t.MO.BIN4,"\u25b5":t.MO.BIN4,"\u25b9":t.MO.BIN4,"\u25bd":t.MO.BIN4,"\u25bf":t.MO.BIN4,"\u25c3":t.MO.BIN4,"\u25ef":t.MO.BIN3,"\u2660":t.MO.ORD,"\u2661":t.MO.ORD,"\u2662":t.MO.ORD,"\u2663":t.MO.ORD,"\u2758":t.MO.REL,"\u27f0":t.MO.RELSTRETCH,"\u27f1":t.MO.RELSTRETCH,"\u27f5":t.MO.WIDEREL,"\u27f6":t.MO.WIDEREL,"\u27f7":t.MO.WIDEREL,"\u27f8":t.MO.WIDEREL,"\u27f9":t.MO.WIDEREL,"\u27fa":t.MO.WIDEREL,"\u27fb":t.MO.WIDEREL,"\u27fc":t.MO.WIDEREL,"\u27fd":t.MO.WIDEREL,"\u27fe":t.MO.WIDEREL,"\u27ff":t.MO.WIDEREL,"\u2900":t.MO.RELACCENT,"\u2901":t.MO.RELACCENT,"\u2902":t.MO.RELACCENT,"\u2903":t.MO.RELACCENT,"\u2904":t.MO.RELACCENT,"\u2905":t.MO.RELACCENT,"\u2906":t.MO.RELACCENT,"\u2907":t.MO.RELACCENT,"\u2908":t.MO.REL,"\u2909":t.MO.REL,"\u290a":t.MO.RELSTRETCH,"\u290b":t.MO.RELSTRETCH,"\u290c":t.MO.WIDEREL,"\u290d":t.MO.WIDEREL,"\u290e":t.MO.WIDEREL,"\u290f":t.MO.WIDEREL,"\u2910":t.MO.WIDEREL,"\u2911":t.MO.RELACCENT,"\u2912":t.MO.RELSTRETCH,"\u2913":t.MO.RELSTRETCH,"\u2914":t.MO.RELACCENT,"\u2915":t.MO.RELACCENT,"\u2916":t.MO.RELACCENT,"\u2917":t.MO.RELACCENT,"\u2918":t.MO.RELACCENT,"\u2919":t.MO.RELACCENT,"\u291a":t.MO.RELACCENT,"\u291b":t.MO.RELACCENT,"\u291c":t.MO.RELACCENT,"\u291d":t.MO.RELACCENT,"\u291e":t.MO.RELACCENT,"\u291f":t.MO.RELACCENT,"\u2920":t.MO.RELACCENT,"\u2921":t.MO.RELSTRETCH,"\u2922":t.MO.RELSTRETCH,"\u2923":t.MO.REL,"\u2924":t.MO.REL,"\u2925":t.MO.REL,"\u2926":t.MO.REL,"\u2927":t.MO.REL,"\u2928":t.MO.REL,"\u2929":t.MO.REL,"\u292a":t.MO.REL,"\u292b":t.MO.REL,"\u292c":t.MO.REL,"\u292d":t.MO.REL,"\u292e":t.MO.REL,"\u292f":t.MO.REL,"\u2930":t.MO.REL,"\u2931":t.MO.REL,"\u2932":t.MO.REL,"\u2933":t.MO.RELACCENT,"\u2934":t.MO.REL,"\u2935":t.MO.REL,"\u2936":t.MO.REL,"\u2937":t.MO.REL,"\u2938":t.MO.REL,"\u2939":t.MO.REL,"\u293a":t.MO.RELACCENT,"\u293b":t.MO.RELACCENT,"\u293c":t.MO.RELACCENT,"\u293d":t.MO.RELACCENT,"\u293e":t.MO.REL,"\u293f":t.MO.REL,"\u2940":t.MO.REL,"\u2941":t.MO.REL,"\u2942":t.MO.RELACCENT,"\u2943":t.MO.RELACCENT,"\u2944":t.MO.RELACCENT,"\u2945":t.MO.RELACCENT,"\u2946":t.MO.RELACCENT,"\u2947":t.MO.RELACCENT,"\u2948":t.MO.RELACCENT,"\u2949":t.MO.REL,"\u294a":t.MO.RELACCENT,"\u294b":t.MO.RELACCENT,"\u294c":t.MO.REL,"\u294d":t.MO.REL,"\u294e":t.MO.WIDEREL,"\u294f":t.MO.RELSTRETCH,"\u2950":t.MO.WIDEREL,"\u2951":t.MO.RELSTRETCH,"\u2952":t.MO.WIDEREL,"\u2953":t.MO.WIDEREL,"\u2954":t.MO.RELSTRETCH,"\u2955":t.MO.RELSTRETCH,"\u2956":t.MO.RELSTRETCH,"\u2957":t.MO.RELSTRETCH,"\u2958":t.MO.RELSTRETCH,"\u2959":t.MO.RELSTRETCH,"\u295a":t.MO.WIDEREL,"\u295b":t.MO.WIDEREL,"\u295c":t.MO.RELSTRETCH,"\u295d":t.MO.RELSTRETCH,"\u295e":t.MO.WIDEREL,"\u295f":t.MO.WIDEREL,"\u2960":t.MO.RELSTRETCH,"\u2961":t.MO.RELSTRETCH,"\u2962":t.MO.RELACCENT,"\u2963":t.MO.REL,"\u2964":t.MO.RELACCENT,"\u2965":t.MO.REL,"\u2966":t.MO.RELACCENT,"\u2967":t.MO.RELACCENT,"\u2968":t.MO.RELACCENT,"\u2969":t.MO.RELACCENT,"\u296a":t.MO.RELACCENT,"\u296b":t.MO.RELACCENT,"\u296c":t.MO.RELACCENT,"\u296d":t.MO.RELACCENT,"\u296e":t.MO.RELSTRETCH,"\u296f":t.MO.RELSTRETCH,"\u2970":t.MO.RELACCENT,"\u2971":t.MO.RELACCENT,"\u2972":t.MO.RELACCENT,"\u2973":t.MO.RELACCENT,"\u2974":t.MO.RELACCENT,"\u2975":t.MO.RELACCENT,"\u2976":t.MO.RELACCENT,"\u2977":t.MO.RELACCENT,"\u2978":t.MO.RELACCENT,"\u2979":t.MO.RELACCENT,"\u297a":t.MO.RELACCENT,"\u297b":t.MO.RELACCENT,"\u297c":t.MO.RELACCENT,"\u297d":t.MO.RELACCENT,"\u297e":t.MO.REL,"\u297f":t.MO.REL,"\u2981":t.MO.BIN3,"\u2982":t.MO.BIN3,"\u2999":t.MO.BIN3,"\u299a":t.MO.BIN3,"\u299b":t.MO.BIN3,"\u299c":t.MO.BIN3,"\u299d":t.MO.BIN3,"\u299e":t.MO.BIN3,"\u299f":t.MO.BIN3,"\u29a0":t.MO.BIN3,"\u29a1":t.MO.BIN3,"\u29a2":t.MO.BIN3,"\u29a3":t.MO.BIN3,"\u29a4":t.MO.BIN3,"\u29a5":t.MO.BIN3,"\u29a6":t.MO.BIN3,"\u29a7":t.MO.BIN3,"\u29a8":t.MO.BIN3,"\u29a9":t.MO.BIN3,"\u29aa":t.MO.BIN3,"\u29ab":t.MO.BIN3,"\u29ac":t.MO.BIN3,"\u29ad":t.MO.BIN3,"\u29ae":t.MO.BIN3,"\u29af":t.MO.BIN3,"\u29b0":t.MO.BIN3,"\u29b1":t.MO.BIN3,"\u29b2":t.MO.BIN3,"\u29b3":t.MO.BIN3,"\u29b4":t.MO.BIN3,"\u29b5":t.MO.BIN3,"\u29b6":t.MO.BIN4,"\u29b7":t.MO.BIN4,"\u29b8":t.MO.BIN4,"\u29b9":t.MO.BIN4,"\u29ba":t.MO.BIN4,"\u29bb":t.MO.BIN4,"\u29bc":t.MO.BIN4,"\u29bd":t.MO.BIN4,"\u29be":t.MO.BIN4,"\u29bf":t.MO.BIN4,"\u29c0":t.MO.REL,"\u29c1":t.MO.REL,"\u29c2":t.MO.BIN3,"\u29c3":t.MO.BIN3,"\u29c4":t.MO.BIN4,"\u29c5":t.MO.BIN4,"\u29c6":t.MO.BIN4,"\u29c7":t.MO.BIN4,"\u29c8":t.MO.BIN4,"\u29c9":t.MO.BIN3,"\u29ca":t.MO.BIN3,"\u29cb":t.MO.BIN3,"\u29cc":t.MO.BIN3,"\u29cd":t.MO.BIN3,"\u29ce":t.MO.REL,"\u29cf":t.MO.REL,"\u29cf\u0338":t.MO.REL,"\u29d0":t.MO.REL,"\u29d0\u0338":t.MO.REL,"\u29d1":t.MO.REL,"\u29d2":t.MO.REL,"\u29d3":t.MO.REL,"\u29d4":t.MO.REL,"\u29d5":t.MO.REL,"\u29d6":t.MO.BIN4,"\u29d7":t.MO.BIN4,"\u29d8":t.MO.BIN3,"\u29d9":t.MO.BIN3,"\u29db":t.MO.BIN3,"\u29dc":t.MO.BIN3,"\u29dd":t.MO.BIN3,"\u29de":t.MO.REL,"\u29df":t.MO.BIN3,"\u29e0":t.MO.BIN3,"\u29e1":t.MO.REL,"\u29e2":t.MO.BIN4,"\u29e3":t.MO.REL,"\u29e4":t.MO.REL,"\u29e5":t.MO.REL,"\u29e6":t.MO.REL,"\u29e7":t.MO.BIN3,"\u29e8":t.MO.BIN3,"\u29e9":t.MO.BIN3,"\u29ea":t.MO.BIN3,"\u29eb":t.MO.BIN3,"\u29ec":t.MO.BIN3,"\u29ed":t.MO.BIN3,"\u29ee":t.MO.BIN3,"\u29ef":t.MO.BIN3,"\u29f0":t.MO.BIN3,"\u29f1":t.MO.BIN3,"\u29f2":t.MO.BIN3,"\u29f3":t.MO.BIN3,"\u29f4":t.MO.REL,"\u29f5":t.MO.BIN4,"\u29f6":t.MO.BIN4,"\u29f7":t.MO.BIN4,"\u29f8":t.MO.BIN3,"\u29f9":t.MO.BIN3,"\u29fa":t.MO.BIN3,"\u29fb":t.MO.BIN3,"\u29fe":t.MO.BIN4,"\u29ff":t.MO.BIN4,"\u2a1d":t.MO.BIN3,"\u2a1e":t.MO.BIN3,"\u2a1f":t.MO.BIN3,"\u2a20":t.MO.BIN3,"\u2a21":t.MO.BIN3,"\u2a22":t.MO.BIN4,"\u2a23":t.MO.BIN4,"\u2a24":t.MO.BIN4,"\u2a25":t.MO.BIN4,"\u2a26":t.MO.BIN4,"\u2a27":t.MO.BIN4,"\u2a28":t.MO.BIN4,"\u2a29":t.MO.BIN4,"\u2a2a":t.MO.BIN4,"\u2a2b":t.MO.BIN4,"\u2a2c":t.MO.BIN4,"\u2a2d":t.MO.BIN4,"\u2a2e":t.MO.BIN4,"\u2a2f":t.MO.BIN4,"\u2a30":t.MO.BIN4,"\u2a31":t.MO.BIN4,"\u2a32":t.MO.BIN4,"\u2a33":t.MO.BIN4,"\u2a34":t.MO.BIN4,"\u2a35":t.MO.BIN4,"\u2a36":t.MO.BIN4,"\u2a37":t.MO.BIN4,"\u2a38":t.MO.BIN4,"\u2a39":t.MO.BIN4,"\u2a3a":t.MO.BIN4,"\u2a3b":t.MO.BIN4,"\u2a3c":t.MO.BIN4,"\u2a3d":t.MO.BIN4,"\u2a3e":t.MO.BIN4,"\u2a3f":t.MO.BIN4,"\u2a40":t.MO.BIN4,"\u2a41":t.MO.BIN4,"\u2a42":t.MO.BIN4,"\u2a43":t.MO.BIN4,"\u2a44":t.MO.BIN4,"\u2a45":t.MO.BIN4,"\u2a46":t.MO.BIN4,"\u2a47":t.MO.BIN4,"\u2a48":t.MO.BIN4,"\u2a49":t.MO.BIN4,"\u2a4a":t.MO.BIN4,"\u2a4b":t.MO.BIN4,"\u2a4c":t.MO.BIN4,"\u2a4d":t.MO.BIN4,"\u2a4e":t.MO.BIN4,"\u2a4f":t.MO.BIN4,"\u2a50":t.MO.BIN4,"\u2a51":t.MO.BIN4,"\u2a52":t.MO.BIN4,"\u2a53":t.MO.BIN4,"\u2a54":t.MO.BIN4,"\u2a55":t.MO.BIN4,"\u2a56":t.MO.BIN4,"\u2a57":t.MO.BIN4,"\u2a58":t.MO.BIN4,"\u2a59":t.MO.REL,"\u2a5a":t.MO.BIN4,"\u2a5b":t.MO.BIN4,"\u2a5c":t.MO.BIN4,"\u2a5d":t.MO.BIN4,"\u2a5e":t.MO.BIN4,"\u2a5f":t.MO.BIN4,"\u2a60":t.MO.BIN4,"\u2a61":t.MO.BIN4,"\u2a62":t.MO.BIN4,"\u2a63":t.MO.BIN4,"\u2a64":t.MO.BIN4,"\u2a65":t.MO.BIN4,"\u2a66":t.MO.REL,"\u2a67":t.MO.REL,"\u2a68":t.MO.REL,"\u2a69":t.MO.REL,"\u2a6a":t.MO.REL,"\u2a6b":t.MO.REL,"\u2a6c":t.MO.REL,"\u2a6d":t.MO.REL,"\u2a6e":t.MO.REL,"\u2a6f":t.MO.REL,"\u2a70":t.MO.REL,"\u2a71":t.MO.BIN4,"\u2a72":t.MO.BIN4,"\u2a73":t.MO.REL,"\u2a74":t.MO.REL,"\u2a75":t.MO.REL,"\u2a76":t.MO.REL,"\u2a77":t.MO.REL,"\u2a78":t.MO.REL,"\u2a79":t.MO.REL,"\u2a7a":t.MO.REL,"\u2a7b":t.MO.REL,"\u2a7c":t.MO.REL,"\u2a7d":t.MO.REL,"\u2a7d\u0338":t.MO.REL,"\u2a7e":t.MO.REL,"\u2a7e\u0338":t.MO.REL,"\u2a7f":t.MO.REL,"\u2a80":t.MO.REL,"\u2a81":t.MO.REL,"\u2a82":t.MO.REL,"\u2a83":t.MO.REL,"\u2a84":t.MO.REL,"\u2a85":t.MO.REL,"\u2a86":t.MO.REL,"\u2a87":t.MO.REL,"\u2a88":t.MO.REL,"\u2a89":t.MO.REL,"\u2a8a":t.MO.REL,"\u2a8b":t.MO.REL,"\u2a8c":t.MO.REL,"\u2a8d":t.MO.REL,"\u2a8e":t.MO.REL,"\u2a8f":t.MO.REL,"\u2a90":t.MO.REL,"\u2a91":t.MO.REL,"\u2a92":t.MO.REL,"\u2a93":t.MO.REL,"\u2a94":t.MO.REL,"\u2a95":t.MO.REL,"\u2a96":t.MO.REL,"\u2a97":t.MO.REL,"\u2a98":t.MO.REL,"\u2a99":t.MO.REL,"\u2a9a":t.MO.REL,"\u2a9b":t.MO.REL,"\u2a9c":t.MO.REL,"\u2a9d":t.MO.REL,"\u2a9e":t.MO.REL,"\u2a9f":t.MO.REL,"\u2aa0":t.MO.REL,"\u2aa1":t.MO.REL,"\u2aa1\u0338":t.MO.REL,"\u2aa2":t.MO.REL,"\u2aa2\u0338":t.MO.REL,"\u2aa3":t.MO.REL,"\u2aa4":t.MO.REL,"\u2aa5":t.MO.REL,"\u2aa6":t.MO.REL,"\u2aa7":t.MO.REL,"\u2aa8":t.MO.REL,"\u2aa9":t.MO.REL,"\u2aaa":t.MO.REL,"\u2aab":t.MO.REL,"\u2aac":t.MO.REL,"\u2aad":t.MO.REL,"\u2aae":t.MO.REL,"\u2aaf":t.MO.REL,"\u2aaf\u0338":t.MO.REL,"\u2ab0":t.MO.REL,"\u2ab0\u0338":t.MO.REL,"\u2ab1":t.MO.REL,"\u2ab2":t.MO.REL,"\u2ab3":t.MO.REL,"\u2ab4":t.MO.REL,"\u2ab5":t.MO.REL,"\u2ab6":t.MO.REL,"\u2ab7":t.MO.REL,"\u2ab8":t.MO.REL,"\u2ab9":t.MO.REL,"\u2aba":t.MO.REL,"\u2abb":t.MO.REL,"\u2abc":t.MO.REL,"\u2abd":t.MO.REL,"\u2abe":t.MO.REL,"\u2abf":t.MO.REL,"\u2ac0":t.MO.REL,"\u2ac1":t.MO.REL,"\u2ac2":t.MO.REL,"\u2ac3":t.MO.REL,"\u2ac4":t.MO.REL,"\u2ac5":t.MO.REL,"\u2ac6":t.MO.REL,"\u2ac7":t.MO.REL,"\u2ac8":t.MO.REL,"\u2ac9":t.MO.REL,"\u2aca":t.MO.REL,"\u2acb":t.MO.REL,"\u2acc":t.MO.REL,"\u2acd":t.MO.REL,"\u2ace":t.MO.REL,"\u2acf":t.MO.REL,"\u2ad0":t.MO.REL,"\u2ad1":t.MO.REL,"\u2ad2":t.MO.REL,"\u2ad3":t.MO.REL,"\u2ad4":t.MO.REL,"\u2ad5":t.MO.REL,"\u2ad6":t.MO.REL,"\u2ad7":t.MO.REL,"\u2ad8":t.MO.REL,"\u2ad9":t.MO.REL,"\u2ada":t.MO.REL,"\u2adb":t.MO.REL,"\u2add":t.MO.REL,"\u2add\u0338":t.MO.REL,"\u2ade":t.MO.REL,"\u2adf":t.MO.REL,"\u2ae0":t.MO.REL,"\u2ae1":t.MO.REL,"\u2ae2":t.MO.REL,"\u2ae3":t.MO.REL,"\u2ae4":t.MO.REL,"\u2ae5":t.MO.REL,"\u2ae6":t.MO.REL,"\u2ae7":t.MO.REL,"\u2ae8":t.MO.REL,"\u2ae9":t.MO.REL,"\u2aea":t.MO.REL,"\u2aeb":t.MO.REL,"\u2aec":t.MO.REL,"\u2aed":t.MO.REL,"\u2aee":t.MO.REL,"\u2aef":t.MO.REL,"\u2af0":t.MO.REL,"\u2af1":t.MO.REL,"\u2af2":t.MO.REL,"\u2af3":t.MO.REL,"\u2af4":t.MO.BIN4,"\u2af5":t.MO.BIN4,"\u2af6":t.MO.BIN4,"\u2af7":t.MO.REL,"\u2af8":t.MO.REL,"\u2af9":t.MO.REL,"\u2afa":t.MO.REL,"\u2afb":t.MO.BIN4,"\u2afd":t.MO.BIN4,"\u2afe":t.MO.BIN3,"\u2b45":t.MO.RELSTRETCH,"\u2b46":t.MO.RELSTRETCH,"\u3008":t.MO.OPEN,"\u3009":t.MO.CLOSE,"\ufe37":t.MO.WIDEACCENT,"\ufe38":t.MO.WIDEACCENT}},t.OPTABLE.infix["^"]=t.MO.WIDEREL,t.OPTABLE.infix._=t.MO.WIDEREL,t.OPTABLE.infix["\u2adc"]=t.MO.REL},9259:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),o=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o};Object.defineProperty(t,"__esModule",{value:!0}),t.SerializedMmlVisitor=t.toEntity=t.DATAMJX=void 0;var i=T(6325),s=T(9007),a=T(450);t.DATAMJX="data-mjx-";t.toEntity=function(Q){return""+Q.codePointAt(0).toString(16).toUpperCase()+";"};var l=function(Q){function T(){return null!==Q&&Q.apply(this,arguments)||this}return r(T,Q),T.prototype.visitTree=function(Q){return this.visitNode(Q,"")},T.prototype.visitTextNode=function(Q,t){return this.quoteHTML(Q.getText())},T.prototype.visitXMLNode=function(Q,t){return t+Q.getSerializedXML()},T.prototype.visitInferredMrowNode=function(Q,t){var T,e,r=[];try{for(var o=n(Q.childNodes),i=o.next();!i.done;i=o.next()){var s=i.value;r.push(this.visitNode(s,t))}}catch(Q){T={error:Q}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(T)throw T.error}}return r.join("\n")},T.prototype.visitTeXAtomNode=function(Q,t){var T=this.childNodeMml(Q,t+" ","\n");return t+""+(T.match(/\S/)?"\n"+T+t:"")+""},T.prototype.visitAnnotationNode=function(Q,t){return t+""+this.childNodeMml(Q,"","")+""},T.prototype.visitDefault=function(Q,t){var T=Q.kind,e=o(Q.isToken||0===Q.childNodes.length?["",""]:["\n",t],2),r=e[0],n=e[1],i=this.childNodeMml(Q,t+" ",r);return t+"<"+T+this.getAttributes(Q)+">"+(i.match(/\S/)?r+i+n:"")+""+T+">"},T.prototype.childNodeMml=function(Q,t,T){var e,r,o="";try{for(var i=n(Q.childNodes),s=i.next();!s.done;s=i.next()){var a=s.value;o+=this.visitNode(a,t)+T}}catch(Q){e={error:Q}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return o},T.prototype.getAttributes=function(Q){var t,T,e=[],r=this.constructor.defaultAttributes[Q.kind]||{},o=Object.assign({},r,this.getDataAttributes(Q),Q.attributes.getAllAttributes()),i=this.constructor.variants;o.hasOwnProperty("mathvariant")&&i.hasOwnProperty(o.mathvariant)&&(o.mathvariant=i[o.mathvariant]);try{for(var s=n(Object.keys(o)),a=s.next();!a.done;a=s.next()){var l=a.value,c=String(o[l]);void 0!==c&&e.push(l+'="'+this.quoteHTML(c)+'"')}}catch(Q){t={error:Q}}finally{try{a&&!a.done&&(T=s.return)&&T.call(s)}finally{if(t)throw t.error}}return e.length?" "+e.join(" "):""},T.prototype.getDataAttributes=function(Q){var t={},T=Q.attributes.getExplicit("mathvariant"),e=this.constructor.variants;T&&e.hasOwnProperty(T)&&this.setDataAttribute(t,"variant",T),Q.getProperty("variantForm")&&this.setDataAttribute(t,"alternate","1"),Q.getProperty("pseudoscript")&&this.setDataAttribute(t,"pseudoscript","true"),!1===Q.getProperty("autoOP")&&this.setDataAttribute(t,"auto-op","false");var r=Q.getProperty("texClass");if(void 0!==r){var n=!0;if(r===s.TEXCLASS.OP&&Q.isKind("mi")){var o=Q.getText();n=!(o.length>1&&o.match(a.MmlMi.operatorName))}n&&this.setDataAttribute(t,"texclass",r<0?"NONE":s.TEXCLASSNAMES[r])}return Q.getProperty("scriptlevel")&&!1===Q.getProperty("useHeight")&&this.setDataAttribute(t,"smallmatrix","true"),t},T.prototype.setDataAttribute=function(Q,T,e){Q[t.DATAMJX+T]=e},T.prototype.quoteHTML=function(Q){return Q.replace(/&/g,"&").replace(//g,">").replace(/\"/g,""").replace(/[\uD800-\uDBFF]./g,t.toEntity).replace(/[\u0080-\uD7FF\uE000-\uFFFF]/g,t.toEntity)},T.variants={"-tex-calligraphic":"script","-tex-bold-calligraphic":"bold-script","-tex-oldstyle":"normal","-tex-bold-oldstyle":"bold","-tex-mathit":"italic"},T.defaultAttributes={math:{xmlns:"http://www.w3.org/1998/Math/MathML"}},T}(i.MmlVisitor);t.SerializedMmlVisitor=l},2975:function(Q,t,T){Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractOutputJax=void 0;var e=T(7233),r=T(7525),n=function(){function Q(Q){void 0===Q&&(Q={}),this.adaptor=null;var t=this.constructor;this.options=e.userOptions(e.defaultOptions({},t.OPTIONS),Q),this.postFilters=new r.FunctionList}return Object.defineProperty(Q.prototype,"name",{get:function(){return this.constructor.NAME},enumerable:!1,configurable:!0}),Q.prototype.setAdaptor=function(Q){this.adaptor=Q},Q.prototype.initialize=function(){},Q.prototype.reset=function(){for(var Q=[],t=0;t=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},e=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),o=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o},r=this&&this.__spreadArray||function(Q,t){for(var T=0,e=t.length,r=Q.length;T=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractEmptyNode=t.AbstractNode=void 0;var o=function(){function Q(Q,t,T){var e,r;void 0===t&&(t={}),void 0===T&&(T=[]),this.factory=Q,this.parent=null,this.properties={},this.childNodes=[];try{for(var o=n(Object.keys(t)),i=o.next();!i.done;i=o.next()){var s=i.value;this.setProperty(s,t[s])}}catch(Q){e={error:Q}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}T.length&&this.setChildren(T)}return Object.defineProperty(Q.prototype,"kind",{get:function(){return"unknown"},enumerable:!1,configurable:!0}),Q.prototype.setProperty=function(Q,t){this.properties[Q]=t},Q.prototype.getProperty=function(Q){return this.properties[Q]},Q.prototype.getPropertyNames=function(){return Object.keys(this.properties)},Q.prototype.getAllProperties=function(){return this.properties},Q.prototype.removeProperty=function(){for(var Q,t,T=[],e=0;e=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),o=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o},n=this&&this.__spreadArray||function(Q,t){for(var T=0,e=t.length,r=Q.length;T0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o},o=this&&this.__spreadArray||function(Q,t){for(var T=0,e=t.length,r=Q.length;T0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o},i=this&&this.__values||function(Q){var t="function"==typeof Symbol&&Symbol.iterator,T=t&&Q[t],e=0;if(T)return T.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLDocument=void 0;var s=T(5722),a=T(7233),l=T(3363),c=T(3335),u=T(5138),L=T(4474),p=function(Q){function t(t,T,e){var r=this,n=o(a.separateOptions(e,u.HTMLDomStrings.OPTIONS),2),i=n[0],s=n[1];return(r=Q.call(this,t,T,i)||this).domStrings=r.options.DomStrings||new u.HTMLDomStrings(s),r.domStrings.adaptor=T,r.styles=[],r}return r(t,Q),t.prototype.findPosition=function(Q,t,T,e){var r,n,s=this.adaptor;try{for(var a=i(e[Q]),l=a.next();!l.done;l=a.next()){var c=l.value,u=o(c,2),L=u[0],p=u[1];if(t<=p&&"#text"===s.kind(L))return{node:L,n:Math.max(t,0),delim:T};t-=p}}catch(Q){r={error:Q}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return{node:null,n:0,delim:T}},t.prototype.mathItem=function(Q,t,T){var e=Q.math,r=this.findPosition(Q.n,Q.start.n,Q.open,T),n=this.findPosition(Q.n,Q.end.n,Q.close,T);return new this.options.MathItem(e,t,Q.display,r,n)},t.prototype.findMath=function(Q){var t,T,e,r,n,s,l,c,u;if(!this.processed.isSet("findMath")){this.adaptor.document=this.document,Q=a.userOptions({elements:this.options.elements||[this.adaptor.body(this.document)]},Q);try{for(var L=i(this.adaptor.getElements(Q.elements,this.document)),p=L.next();!p.done;p=L.next()){var h=p.value,f=o([null,null],2),d=f[0],H=f[1];try{for(var y=(e=void 0,i(this.inputJax)),m=y.next();!m.done;m=y.next()){var V=m.value,v=new this.options.MathList;if(V.processStrings){null===d&&(d=(n=o(this.domStrings.find(h),2))[0],H=n[1]);try{for(var M=(s=void 0,i(V.findMath(d))),b=M.next();!b.done;b=M.next()){var g=b.value;v.push(this.mathItem(g,V,H))}}catch(Q){s={error:Q}}finally{try{b&&!b.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}}else try{for(var O=(c=void 0,i(V.findMath(h))),x=O.next();!x.done;x=O.next()){g=x.value;var _=new this.options.MathItem(g.math,V,g.display,g.start,g.end);v.push(_)}}catch(Q){c={error:Q}}finally{try{x&&!x.done&&(u=O.return)&&u.call(O)}finally{if(c)throw c.error}}this.math.merge(v)}}catch(Q){e={error:Q}}finally{try{m&&!m.done&&(r=y.return)&&r.call(y)}finally{if(e)throw e.error}}}}catch(Q){t={error:Q}}finally{try{p&&!p.done&&(T=L.return)&&T.call(L)}finally{if(t)throw t.error}}this.processed.set("findMath")}return this},t.prototype.updateDocument=function(){return this.processed.isSet("updateDocument")||(this.addPageElements(),this.addStyleSheet(),Q.prototype.updateDocument.call(this),this.processed.set("updateDocument")),this},t.prototype.addPageElements=function(){var Q=this.adaptor.body(this.document),t=this.documentPageElements();t&&this.adaptor.append(Q,t)},t.prototype.addStyleSheet=function(){var Q=this.documentStyleSheet(),t=this.adaptor;if(Q&&!t.parent(Q)){var T=t.head(this.document),e=this.findSheet(T,t.getAttribute(Q,"id"));e?t.replace(Q,e):t.append(T,Q)}},t.prototype.findSheet=function(Q,t){var T,e;if(t)try{for(var r=i(this.adaptor.tags(Q,"style")),n=r.next();!n.done;n=r.next()){var o=n.value;if(this.adaptor.getAttribute(o,"id")===t)return o}}catch(Q){T={error:Q}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(T)throw T.error}}return null},t.prototype.removeFromDocument=function(Q){var t,T;if(void 0===Q&&(Q=!1),this.processed.isSet("updateDocument"))try{for(var e=i(this.math),r=e.next();!r.done;r=e.next()){var n=r.value;n.state()>=L.STATE.INSERTED&&n.state(L.STATE.TYPESET,Q)}}catch(Q){t={error:Q}}finally{try{r&&!r.done&&(T=e.return)&&T.call(e)}finally{if(t)throw t.error}}return this.processed.clear("updateDocument"),this},t.prototype.documentStyleSheet=function(){return this.outputJax.styleSheet(this)},t.prototype.documentPageElements=function(){return this.outputJax.pageElements(this)},t.prototype.addStyles=function(Q){this.styles.push(Q)},t.prototype.getStyles=function(){return this.styles},t.KIND="HTML",t.OPTIONS=n(n({},s.AbstractMathDocument.OPTIONS),{renderActions:a.expandable(n(n({},s.AbstractMathDocument.OPTIONS.renderActions),{styles:[L.STATE.INSERTED+1,"","updateStyleSheet",!1]})),MathList:c.HTMLMathList,MathItem:l.HTMLMathItem,DomStrings:null}),t}(s.AbstractMathDocument);t.HTMLDocument=p},5138:function(Q,t,T){var e=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),o=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o};Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLDomStrings=void 0;var r=T(7233),n=function(){function Q(Q){void 0===Q&&(Q=null);var t=this.constructor;this.options=r.userOptions(r.defaultOptions({},t.OPTIONS),Q),this.init(),this.getPatterns()}return Q.prototype.init=function(){this.strings=[],this.string="",this.snodes=[],this.nodes=[],this.stack=[]},Q.prototype.getPatterns=function(){var Q=r.makeArray(this.options.skipHtmlTags),t=r.makeArray(this.options.ignoreHtmlClass),T=r.makeArray(this.options.processHtmlClass);this.skipHtmlTags=new RegExp("^(?:"+Q.join("|")+")$","i"),this.ignoreHtmlClass=new RegExp("(?:^| )(?:"+t.join("|")+")(?: |$)"),this.processHtmlClass=new RegExp("(?:^| )(?:"+T+")(?: |$)")},Q.prototype.pushString=function(){this.string.match(/\S/)&&(this.strings.push(this.string),this.nodes.push(this.snodes)),this.string="",this.snodes=[]},Q.prototype.extendString=function(Q,t){this.snodes.push([Q,t.length]),this.string+=t},Q.prototype.handleText=function(Q,t){return t||this.extendString(Q,this.adaptor.value(Q)),this.adaptor.next(Q)},Q.prototype.handleTag=function(Q,t){if(!t){var T=this.options.includeHtmlTags[this.adaptor.kind(Q)];this.extendString(Q,T)}return this.adaptor.next(Q)},Q.prototype.handleContainer=function(Q,t){this.pushString();var T=this.adaptor.getAttribute(Q,"class")||"",e=this.adaptor.kind(Q)||"",r=this.processHtmlClass.exec(T),n=Q;return!this.adaptor.firstChild(Q)||this.adaptor.getAttribute(Q,"data-MJX")||!r&&this.skipHtmlTags.exec(e)?n=this.adaptor.next(Q):(this.adaptor.next(Q)&&this.stack.push([this.adaptor.next(Q),t]),n=this.adaptor.firstChild(Q),t=(t||this.ignoreHtmlClass.exec(T))&&!r),[n,t]},Q.prototype.handleOther=function(Q,t){return this.pushString(),this.adaptor.next(Q)},Q.prototype.find=function(Q){var t,T;this.init();for(var r=this.adaptor.next(Q),n=!1,o=this.options.includeHtmlTags;Q&&Q!==r;){var i=this.adaptor.kind(Q);"#text"===i?Q=this.handleText(Q,n):o.hasOwnProperty(i)?Q=this.handleTag(Q,n):i?(Q=(t=e(this.handleContainer(Q,n),2))[0],n=t[1]):Q=this.handleOther(Q,n),!Q&&this.stack.length&&(this.pushString(),Q=(T=e(this.stack.pop(),2))[0],n=T[1])}this.pushString();var s=[this.strings,this.nodes];return this.init(),s},Q.OPTIONS={skipHtmlTags:["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],includeHtmlTags:{br:"\n",wbr:"","#comment":""},ignoreHtmlClass:"mathjax_ignore",processHtmlClass:"mathjax_process"},Q}();t.HTMLDomStrings=n},3726:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)});Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLHandler=void 0;var n=T(3670),o=T(3683),i=function(Q){function t(){var t=null!==Q&&Q.apply(this,arguments)||this;return t.documentClass=o.HTMLDocument,t}return r(t,Q),t.prototype.handlesDocument=function(Q){var t=this.adaptor;if("string"==typeof Q)try{Q=t.parse(Q,"text/html")}catch(Q){}return Q instanceof t.window.Document||Q instanceof t.window.HTMLElement||Q instanceof t.window.DocumentFragment},t.prototype.create=function(t,T){var e=this.adaptor;if("string"==typeof t)t=e.parse(t,"text/html");else if(t instanceof e.window.HTMLElement||t instanceof e.window.DocumentFragment){var r=t;t=e.parse("","text/html"),e.append(e.body(t),r)}return Q.prototype.create.call(this,t,T)},t}(n.AbstractHandler);t.HTMLHandler=i},3363:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)});Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLMathItem=void 0;var n=T(4474),o=function(Q){function t(t,T,e,r,n){return void 0===e&&(e=!0),void 0===r&&(r={node:null,n:0,delim:""}),void 0===n&&(n={node:null,n:0,delim:""}),Q.call(this,t,T,e,r,n)||this}return r(t,Q),Object.defineProperty(t.prototype,"adaptor",{get:function(){return this.inputJax.adaptor},enumerable:!1,configurable:!0}),t.prototype.updateDocument=function(Q){if(this.state()=n.STATE.TYPESET){var t=this.adaptor,T=this.start.node,e=t.text("");if(Q){var r=this.start.delim+this.math+this.end.delim;if(this.inputJax.processStrings)e=t.text(r);else{var o=t.parse(r,"text/html");e=t.firstChild(t.body(o))}}t.parent(T)&&t.replace(e,T),this.start.node=this.end.node=e,this.start.n=this.end.n=0}},t}(n.AbstractMathItem);t.HTMLMathItem=o},3335:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)});Object.defineProperty(t,"__esModule",{value:!0}),t.HTMLMathList=void 0;var n=function(Q){function t(){return null!==Q&&Q.apply(this,arguments)||this}return r(t,Q),t}(T(9e3).AbstractMathList);t.HTMLMathList=n},2892:function(Q,t,T){var e,r=this&&this.__extends||(e=function(Q,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,t){Q.__proto__=t}||function(Q,t){for(var T in t)Object.prototype.hasOwnProperty.call(t,T)&&(Q[T]=t[T])})(Q,t)},function(Q,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function T(){this.constructor=Q}e(Q,t),Q.prototype=null===t?Object.create(t):(T.prototype=t.prototype,new T)}),n=this&&this.__read||function(Q,t){var T="function"==typeof Symbol&&Q[Symbol.iterator];if(!T)return Q;var e,r,n=T.call(Q),o=[];try{for(;(void 0===t||t-- >0)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(T=n.return)&&T.call(n)}finally{if(r)throw r.error}}return o};Object.defineProperty(t,"__esModule",{value:!0}),t.MathML=void 0;var o=T(9206),i=T(7233),s=T(7525),a=T(625),l=T(2769),c=function(Q){function t(t){void 0===t&&(t={});var T=this,e=n(i.separateOptions(t,a.FindMathML.OPTIONS,l.MathMLCompile.OPTIONS),3),r=e[0],o=e[1],c=e[2];return(T=Q.call(this,r)||this).findMathML=T.options.FindMathML||new a.FindMathML(o),T.mathml=T.options.MathMLCompile||new l.MathMLCompile(c),T.mmlFilters=new s.FunctionList,T}return r(t,Q),t.prototype.setAdaptor=function(t){Q.prototype.setAdaptor.call(this,t),this.findMathML.adaptor=t,this.mathml.adaptor=t},t.prototype.setMmlFactory=function(t){Q.prototype.setMmlFactory.call(this,t),this.mathml.setMmlFactory(t)},Object.defineProperty(t.prototype,"processStrings",{get:function(){return!1},enumerable:!1,configurable:!0}),t.prototype.compile=function(Q,t){var T=Q.start.node;if(!T||!Q.end.node||this.options.forceReparse||"#text"===this.adaptor.kind(T)){var e=this.executeFilters(this.preFilters,Q,t,Q.math||""),r=this.checkForErrors(this.adaptor.parse(e,"text/"+this.options.parseAs)),n=this.adaptor.body(r);1!==this.adaptor.childNodes(n).length&&this.error("MathML must consist of a single element"),T=this.adaptor.remove(this.adaptor.firstChild(n)),"math"!==this.adaptor.kind(T).replace(/^[a-z]+:/,"")&&this.error("MathML must be formed by a