@pie-qti/player-elements 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{define-XpbOHJoz.js → define-CqE08oOW.js} +3486 -2816
- package/dist/define-CqE08oOW.js.map +1 -0
- package/dist/{dist-CU6ScSS-.js → dist-B1Rc9Jhz.js} +4 -4
- package/dist/{dist-CU6ScSS-.js.map → dist-B1Rc9Jhz.js.map} +1 -1
- package/dist/dist-CQEJemjs.js +5061 -0
- package/dist/dist-CQEJemjs.js.map +1 -0
- package/dist/{dist-4hIHy9-L.js → dist-CsEP48m1.js} +2369 -2677
- package/dist/dist-CsEP48m1.js.map +1 -0
- package/dist/{dist-CxqtFqGy.js → dist-DQ_jFQFX.js} +22 -13
- package/dist/dist-DQ_jFQFX.js.map +1 -0
- package/dist/{element-DNnKo2Uk.js → element-DU-n15ch.js} +2 -2
- package/dist/{element-DNnKo2Uk.js.map → element-DU-n15ch.js.map} +1 -1
- package/dist/{element-class-iN9MRyjF-D6u8ACFm.js → element-class-DBV-1lkb-BeszDwN_.js} +2402 -2400
- package/dist/element-class-DBV-1lkb-BeszDwN_.js.map +1 -0
- package/dist/elements.js +3 -3
- package/dist/index.js +3 -3
- package/dist/item-toolbar-element-iE73NEkH.js +1922 -0
- package/dist/item-toolbar-element-iE73NEkH.js.map +1 -0
- package/dist/mathlive.min-3RSVNrlY-rQOKt03P.js +4 -0
- package/dist/mathlive.min-3RSVNrlY-rQOKt03P.js.map +1 -0
- package/dist/pie-assessment-toolkit-element-BGOTMhdG.js +8300 -0
- package/dist/pie-assessment-toolkit-element-BGOTMhdG.js.map +1 -0
- package/dist/pie-tool-calculator-CkQb5qxg.js +2243 -0
- package/dist/pie-tool-calculator-CkQb5qxg.js.map +1 -0
- package/dist/register-players.js +1 -1
- package/dist/register-players.js.map +1 -1
- package/dist/register.js +8227 -10359
- package/dist/register.js.map +1 -1
- package/dist/{resolveItems-hMDtJOXa.js → resolveItems-DhQQhD2k.js} +1808 -2164
- package/dist/resolveItems-DhQQhD2k.js.map +1 -0
- package/dist/{chunk-foFoljWS.js → rolldown-runtime-CEFd7nDs.js} +10 -3
- package/dist/{root--0fyaoNu.js → root-Dqg3cyBt.js} +12 -12
- package/dist/root-Dqg3cyBt.js.map +1 -0
- package/dist/{sre-CFPLI6BY.js → sre-BD1SyGce.js} +105 -85
- package/dist/{sre-CFPLI6BY.js.map → sre-BD1SyGce.js.map} +1 -1
- package/dist/tool-tts-inline-CA3VjWU4.js +3670 -0
- package/dist/tool-tts-inline-CA3VjWU4.js.map +1 -0
- package/dist/{tag-names-ClLtKtXt.js → types-BFOGFD4R.js} +4 -22
- package/dist/types-BFOGFD4R.js.map +1 -0
- package/package.json +8 -8
- package/dist/define-XpbOHJoz.js.map +0 -1
- package/dist/dist-4hIHy9-L.js.map +0 -1
- package/dist/dist-CxqtFqGy.js.map +0 -1
- package/dist/dist-Nkkk25AH.js +0 -1275
- package/dist/dist-Nkkk25AH.js.map +0 -1
- package/dist/element-class-iN9MRyjF-D6u8ACFm.js.map +0 -1
- package/dist/item-toolbar-element-3k36WOlC.js +0 -6086
- package/dist/item-toolbar-element-3k36WOlC.js.map +0 -1
- package/dist/mathlive.min-DeR46YTX-DamfKay_.js +0 -38802
- package/dist/mathlive.min-DeR46YTX-DamfKay_.js.map +0 -1
- package/dist/pie-assessment-toolkit-element-CP-OMtE6.js +0 -28516
- package/dist/pie-assessment-toolkit-element-CP-OMtE6.js.map +0 -1
- package/dist/pie-tool-calculator-VzYEjxiY.js +0 -2309
- package/dist/pie-tool-calculator-VzYEjxiY.js.map +0 -1
- package/dist/resolveItems-hMDtJOXa.js.map +0 -1
- package/dist/root--0fyaoNu.js.map +0 -1
- package/dist/tag-names-ClLtKtXt.js.map +0 -1
- package/dist/tool-tts-inline-B-xT_sdY.js +0 -2641
- package/dist/tool-tts-inline-B-xT_sdY.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mathlive.min-3RSVNrlY-rQOKt03P.js","names":[],"sources":["../../default-components/dist/chunks/mathlive.min-3RSVNrlY.js"],"sourcesContent":["//#region ../../node_modules/.bun/mathlive@0.110.0/node_modules/mathlive/mathlive.min.mjs\nvar e = Object.defineProperty, t = Object.defineProperties, n = Object.getOwnPropertyDescriptors, r = Object.getOwnPropertySymbols, i = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable, o = (t, n, r) => n in t ? e(t, n, {\n\tenumerable: !0,\n\tconfigurable: !0,\n\twritable: !0,\n\tvalue: r\n}) : t[n] = r, s = (e, t) => {\n\tfor (var n in t || (t = {})) i.call(t, n) && o(e, n, t[n]);\n\tif (r) for (var n of r(t)) a.call(t, n) && o(e, n, t[n]);\n\treturn e;\n}, c = (e, r) => t(e, n(r)), l = (e) => typeof e == \"symbol\" ? e : e + \"\", u = (e, t) => {\n\tvar n = {};\n\tfor (var o in e) i.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);\n\tif (e != null && r) for (var o of r(e)) t.indexOf(o) < 0 && a.call(e, o) && (n[o] = e[o]);\n\treturn n;\n};\nfunction d() {\n\treturn \"window\" in globalThis && \"document\" in globalThis;\n}\nfunction f() {\n\treturn \"matchMedia\" in window ? window.matchMedia(\"(pointer: coarse)\").matches : \"ontouchstart\" in window || navigator.maxTouchPoints > 0;\n}\nfunction p() {\n\ttry {\n\t\treturn window.self !== window.top;\n\t} catch {\n\t\treturn !0;\n\t}\n}\nfunction m() {\n\treturn typeof navigator.vibrate == \"function\";\n}\nfunction h() {\n\tif (!d()) return \"other\";\n\tlet e = navigator.userAgentData?.platform ?? navigator.platform;\n\treturn /^mac/i.test(e) ? navigator.maxTouchPoints === 5 ? \"ios\" : \"macos\" : /^win/i.test(e) ? \"windows\" : /android/i.test(navigator.userAgent) ? \"android\" : /iphone|ipod|ipad/i.test(navigator.userAgent) ? \"ios\" : /\\bcros\\b/i.test(navigator.userAgent) ? \"chromeos\" : \"other\";\n}\nfunction g() {\n\tif (!d()) return !0;\n\tif (/firefox/i.test(navigator.userAgent)) {\n\t\tlet e = navigator.userAgent.match(/firefox\\/(\\d+)/i);\n\t\treturn e ? parseInt(e[1]) >= 78 : !1;\n\t}\n\tif (/trident/i.test(navigator.userAgent)) return !1;\n\tif (/edge/i.test(navigator.userAgent)) {\n\t\tlet e = navigator.userAgent.match(/edg\\/(\\d+)/i);\n\t\treturn e ? parseInt(e[1]) >= 79 : !1;\n\t}\n\treturn !0;\n}\nfunction _() {\n\treturn HTMLElement.prototype.hasOwnProperty(\"popover\");\n}\nvar ee = {\n\tid: \"dvorak\",\n\tlocale: \"en\",\n\tdisplayName: \"Dvorak\",\n\tvirtualLayout: \"dvorak\",\n\tplatform: \"\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"å\",\n\t\t\t\"Å\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"≈\",\n\t\t\t\"˛\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"∆\",\n\t\t\t\"Ô\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"´\",\n\t\t\t\"´\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\".\",\n\t\t\t\">\",\n\t\t\t\"≥\",\n\t\t\t\"˘\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"¨\",\n\t\t\t\"¨\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"ˆ\",\n\t\t\t\"ˆ\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"∂\",\n\t\t\t\"Î\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"ç\",\n\t\t\t\"Ç\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"˙\",\n\t\t\t\"Ó\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"†\",\n\t\t\t\"ˇ\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"˜\",\n\t\t\t\"˜\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"Â\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"∫\",\n\t\t\t\"ı\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"®\",\n\t\t\t\"‰\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"¬\",\n\t\t\t\"Ò\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"'\",\n\t\t\t\"\\\"\",\n\t\t\t\"æ\",\n\t\t\t\"Æ\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"π\",\n\t\t\t\"∏\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"ø\",\n\t\t\t\"Ø\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"¥\",\n\t\t\t\"Á\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"©\",\n\t\t\t\"˝\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"˚\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\",\",\n\t\t\t\"<\",\n\t\t\t\"≤\",\n\t\t\t\"¯\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"œ\",\n\t\t\t\"Œ\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"ƒ\",\n\t\t\t\"Ï\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\";\",\n\t\t\t\":\",\n\t\t\t\"…\",\n\t\t\t\"Ú\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"¡\",\n\t\t\t\"⁄\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"@\",\n\t\t\t\"™\",\n\t\t\t\"€\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"#\",\n\t\t\t\"£\",\n\t\t\t\"‹\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"¢\",\n\t\t\t\"›\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"∞\",\n\t\t\t\"fi\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"^\",\n\t\t\t\"§\",\n\t\t\t\"fl\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"&\",\n\t\t\t\"¶\",\n\t\t\t\"‡\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"*\",\n\t\t\t\"•\",\n\t\t\t\"°\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\"(\",\n\t\t\t\"ª\",\n\t\t\t\"·\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\")\",\n\t\t\t\"º\",\n\t\t\t\"‚\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tMinus: [\n\t\t\t\"[\",\n\t\t\t\"{\",\n\t\t\t\"“\",\n\t\t\t\"”\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"]\",\n\t\t\t\"}\",\n\t\t\t\"‘\",\n\t\t\t\"’\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"/\",\n\t\t\t\"?\",\n\t\t\t\"÷\",\n\t\t\t\"¿\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"=\",\n\t\t\t\"+\",\n\t\t\t\"≠\",\n\t\t\t\"±\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"\\\\\",\n\t\t\t\"|\",\n\t\t\t\"«\",\n\t\t\t\"»\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"ß\",\n\t\t\t\"Í\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"–\",\n\t\t\t\"—\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"`\",\n\t\t\t\"~\",\n\t\t\t\"`\",\n\t\t\t\"`\"\n\t\t],\n\t\tComma: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"∑\",\n\t\t\t\"„\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"√\",\n\t\t\t\"◊\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"Ω\",\n\t\t\t\"¸\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\"\n\t\t],\n\t\tNumpad1: [\n\t\t\t\"1\",\n\t\t\t\"1\",\n\t\t\t\"1\",\n\t\t\t\"1\"\n\t\t],\n\t\tNumpad2: [\n\t\t\t\"2\",\n\t\t\t\"2\",\n\t\t\t\"2\",\n\t\t\t\"2\"\n\t\t],\n\t\tNumpad3: [\n\t\t\t\"3\",\n\t\t\t\"3\",\n\t\t\t\"3\",\n\t\t\t\"3\"\n\t\t],\n\t\tNumpad4: [\n\t\t\t\"4\",\n\t\t\t\"4\",\n\t\t\t\"4\",\n\t\t\t\"4\"\n\t\t],\n\t\tNumpad5: [\n\t\t\t\"5\",\n\t\t\t\"5\",\n\t\t\t\"5\",\n\t\t\t\"5\"\n\t\t],\n\t\tNumpad6: [\n\t\t\t\"6\",\n\t\t\t\"6\",\n\t\t\t\"6\",\n\t\t\t\"6\"\n\t\t],\n\t\tNumpad7: [\n\t\t\t\"7\",\n\t\t\t\"7\",\n\t\t\t\"7\",\n\t\t\t\"7\"\n\t\t],\n\t\tNumpad8: [\n\t\t\t\"8\",\n\t\t\t\"8\",\n\t\t\t\"8\",\n\t\t\t\"8\"\n\t\t],\n\t\tNumpad9: [\n\t\t\t\"9\",\n\t\t\t\"9\",\n\t\t\t\"9\",\n\t\t\t\"9\"\n\t\t],\n\t\tNumpad0: [\n\t\t\t\"0\",\n\t\t\t\"0\",\n\t\t\t\"0\",\n\t\t\t\"0\"\n\t\t],\n\t\tNumpadDecimal: [\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"§\",\n\t\t\t\"±\",\n\t\t\t\"§\",\n\t\t\t\"±\"\n\t\t],\n\t\tNumpadEqual: [\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\"\n\t\t],\n\t\tAudioVolumeUp: [\n\t\t\t\"\",\n\t\t\t\"=\",\n\t\t\t\"\",\n\t\t\t\"=\"\n\t\t]\n\t}\n}, v = {\n\tid: \"apple.en-intl\",\n\tdisplayName: \"English (international)\",\n\tvirtualLayout: \"qwerty\",\n\tplatform: \"apple\",\n\tlocale: \"en\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"å\",\n\t\t\t\"Å\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"∫\",\n\t\t\t\"ı\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"ç\",\n\t\t\t\"Ç\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"∂\",\n\t\t\t\"Î\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"´\",\n\t\t\t\"´\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"ƒ\",\n\t\t\t\"Ï\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"©\",\n\t\t\t\"˝\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"˙\",\n\t\t\t\"Ó\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"ˆ\",\n\t\t\t\"ˆ\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"∆\",\n\t\t\t\"Ô\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"˚\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"¬\",\n\t\t\t\"Ò\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"Â\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"˜\",\n\t\t\t\"˜\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"ø\",\n\t\t\t\"Ø\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"π\",\n\t\t\t\"∏\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"œ\",\n\t\t\t\"Œ\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"®\",\n\t\t\t\"‰\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"ß\",\n\t\t\t\"Í\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"†\",\n\t\t\t\"ˇ\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"¨\",\n\t\t\t\"¨\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"√\",\n\t\t\t\"◊\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"∑\",\n\t\t\t\"„\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"≈\",\n\t\t\t\"˛\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"¥\",\n\t\t\t\"Á\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"Ω\",\n\t\t\t\"¸\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"¡\",\n\t\t\t\"⁄\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"@\",\n\t\t\t\"™\",\n\t\t\t\"€\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"#\",\n\t\t\t\"£\",\n\t\t\t\"‹\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"¢\",\n\t\t\t\"›\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"∞\",\n\t\t\t\"fi\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"^\",\n\t\t\t\"§\",\n\t\t\t\"fl\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"&\",\n\t\t\t\"¶\",\n\t\t\t\"‡\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"*\",\n\t\t\t\"•\",\n\t\t\t\"°\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\"(\",\n\t\t\t\"ª\",\n\t\t\t\"·\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\")\",\n\t\t\t\"º\",\n\t\t\t\"‚\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tMinus: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"–\",\n\t\t\t\"—\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"=\",\n\t\t\t\"+\",\n\t\t\t\"≠\",\n\t\t\t\"±\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"[\",\n\t\t\t\"{\",\n\t\t\t\"“\",\n\t\t\t\"”\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"]\",\n\t\t\t\"}\",\n\t\t\t\"‘\",\n\t\t\t\"’\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"\\\\\",\n\t\t\t\"|\",\n\t\t\t\"«\",\n\t\t\t\"»\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\";\",\n\t\t\t\":\",\n\t\t\t\"…\",\n\t\t\t\"Ú\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"'\",\n\t\t\t\"\\\"\",\n\t\t\t\"æ\",\n\t\t\t\"Æ\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"`\",\n\t\t\t\"˜\",\n\t\t\t\"`\",\n\t\t\t\"`\"\n\t\t],\n\t\tComma: [\n\t\t\t\",\",\n\t\t\t\"<\",\n\t\t\t\"≤\",\n\t\t\t\"¯\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\".\",\n\t\t\t\">\",\n\t\t\t\"≥\",\n\t\t\t\"˘\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"/\",\n\t\t\t\"?\",\n\t\t\t\"÷\",\n\t\t\t\"¿\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\"\n\t\t],\n\t\tNumpad1: [\n\t\t\t\"1\",\n\t\t\t\"1\",\n\t\t\t\"1\",\n\t\t\t\"1\"\n\t\t],\n\t\tNumpad2: [\n\t\t\t\"2\",\n\t\t\t\"2\",\n\t\t\t\"2\",\n\t\t\t\"2\"\n\t\t],\n\t\tNumpad3: [\n\t\t\t\"3\",\n\t\t\t\"3\",\n\t\t\t\"3\",\n\t\t\t\"3\"\n\t\t],\n\t\tNumpad4: [\n\t\t\t\"4\",\n\t\t\t\"4\",\n\t\t\t\"4\",\n\t\t\t\"4\"\n\t\t],\n\t\tNumpad5: [\n\t\t\t\"5\",\n\t\t\t\"5\",\n\t\t\t\"5\",\n\t\t\t\"5\"\n\t\t],\n\t\tNumpad6: [\n\t\t\t\"6\",\n\t\t\t\"6\",\n\t\t\t\"6\",\n\t\t\t\"6\"\n\t\t],\n\t\tNumpad7: [\n\t\t\t\"7\",\n\t\t\t\"7\",\n\t\t\t\"7\",\n\t\t\t\"7\"\n\t\t],\n\t\tNumpad8: [\n\t\t\t\"8\",\n\t\t\t\"8\",\n\t\t\t\"8\",\n\t\t\t\"8\"\n\t\t],\n\t\tNumpad9: [\n\t\t\t\"9\",\n\t\t\t\"9\",\n\t\t\t\"9\",\n\t\t\t\"9\"\n\t\t],\n\t\tNumpad0: [\n\t\t\t\"0\",\n\t\t\t\"0\",\n\t\t\t\"0\",\n\t\t\t\"0\"\n\t\t],\n\t\tNumpadDecimal: [\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"§\",\n\t\t\t\"±\",\n\t\t\t\"§\",\n\t\t\t\"±\"\n\t\t],\n\t\tNumpadEqual: [\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\"\n\t\t],\n\t\tAudioVolumeUp: [\n\t\t\t\"\",\n\t\t\t\"=\",\n\t\t\t\"\",\n\t\t\t\"=\"\n\t\t]\n\t}\n}, y = {\n\tid: \"windows.en-intl\",\n\tdisplayName: \"English (international)\",\n\tplatform: \"windows\",\n\tvirtualLayout: \"qwerty\",\n\tlocale: \"en\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"á\",\n\t\t\t\"Á\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"©\",\n\t\t\t\"¢\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"ð\",\n\t\t\t\"Ð\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"é\",\n\t\t\t\"É\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"í\",\n\t\t\t\"Í\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"ø\",\n\t\t\t\"Ø\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"ñ\",\n\t\t\t\"Ñ\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"ó\",\n\t\t\t\"Ó\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"ö\",\n\t\t\t\"Ö\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"ä\",\n\t\t\t\"Ä\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"®\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"ß\",\n\t\t\t\"§\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"þ\",\n\t\t\t\"Þ\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"ú\",\n\t\t\t\"Ú\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"å\",\n\t\t\t\"Å\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"ü\",\n\t\t\t\"Ü\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"æ\",\n\t\t\t\"Æ\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"¡\",\n\t\t\t\"¹\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"@\",\n\t\t\t\"²\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"#\",\n\t\t\t\"³\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"¤\",\n\t\t\t\"£\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"€\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"^\",\n\t\t\t\"¼\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"&\",\n\t\t\t\"½\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"*\",\n\t\t\t\"¾\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\"(\",\n\t\t\t\"‘\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\")\",\n\t\t\t\"’\",\n\t\t\t\"\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tMinus: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"¥\",\n\t\t\t\"\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"=\",\n\t\t\t\"+\",\n\t\t\t\"×\",\n\t\t\t\"÷\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"[\",\n\t\t\t\"{\",\n\t\t\t\"«\",\n\t\t\t\"\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"]\",\n\t\t\t\"}\",\n\t\t\t\"»\",\n\t\t\t\"\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"\\\\\",\n\t\t\t\"|\",\n\t\t\t\"¬\",\n\t\t\t\"¦\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\";\",\n\t\t\t\":\",\n\t\t\t\"¶\",\n\t\t\t\"°\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"'\",\n\t\t\t\"\\\"\",\n\t\t\t\"´\",\n\t\t\t\"¨\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"`\",\n\t\t\t\"~\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tComma: [\n\t\t\t\",\",\n\t\t\t\"<\",\n\t\t\t\"ç\",\n\t\t\t\"Ç\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\".\",\n\t\t\t\">\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"/\",\n\t\t\t\"?\",\n\t\t\t\"¿\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"\\\\\",\n\t\t\t\"|\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t]\n\t}\n}, te = {\n\tid: \"linux.en\",\n\tdisplayName: \"English\",\n\tplatform: \"linux\",\n\tvirtualLayout: \"qwerty\",\n\tlocale: \"en\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"a\",\n\t\t\t\"A\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"b\",\n\t\t\t\"B\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"c\",\n\t\t\t\"C\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"d\",\n\t\t\t\"D\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"e\",\n\t\t\t\"E\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"f\",\n\t\t\t\"F\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"g\",\n\t\t\t\"G\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"h\",\n\t\t\t\"H\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"i\",\n\t\t\t\"I\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"j\",\n\t\t\t\"J\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"k\",\n\t\t\t\"K\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"l\",\n\t\t\t\"L\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"m\",\n\t\t\t\"M\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"n\",\n\t\t\t\"N\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"o\",\n\t\t\t\"O\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"p\",\n\t\t\t\"P\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"q\",\n\t\t\t\"Q\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"r\",\n\t\t\t\"R\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"s\",\n\t\t\t\"S\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"t\",\n\t\t\t\"T\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"u\",\n\t\t\t\"U\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"v\",\n\t\t\t\"V\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"w\",\n\t\t\t\"W\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"x\",\n\t\t\t\"X\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"y\",\n\t\t\t\"Y\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"z\",\n\t\t\t\"Z\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"1\",\n\t\t\t\"!\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"@\",\n\t\t\t\"2\",\n\t\t\t\"@\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"#\",\n\t\t\t\"3\",\n\t\t\t\"#\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"4\",\n\t\t\t\"$\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"5\",\n\t\t\t\"%\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"^\",\n\t\t\t\"6\",\n\t\t\t\"^\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"&\",\n\t\t\t\"7\",\n\t\t\t\"&\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"*\",\n\t\t\t\"8\",\n\t\t\t\"*\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\"(\",\n\t\t\t\"9\",\n\t\t\t\"(\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\")\",\n\t\t\t\"0\",\n\t\t\t\")\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tMinus: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"-\",\n\t\t\t\"_\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"=\",\n\t\t\t\"+\",\n\t\t\t\"=\",\n\t\t\t\"+\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"[\",\n\t\t\t\"{\",\n\t\t\t\"[\",\n\t\t\t\"{\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"]\",\n\t\t\t\"}\",\n\t\t\t\"]\",\n\t\t\t\"}\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"\\\\\",\n\t\t\t\"|\",\n\t\t\t\"\\\\\",\n\t\t\t\"|\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\";\",\n\t\t\t\":\",\n\t\t\t\";\",\n\t\t\t\":\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"'\",\n\t\t\t\"\\\"\",\n\t\t\t\"'\",\n\t\t\t\"\\\"\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"`\",\n\t\t\t\"~\",\n\t\t\t\"`\",\n\t\t\t\"~\"\n\t\t],\n\t\tComma: [\n\t\t\t\",\",\n\t\t\t\"<\",\n\t\t\t\",\",\n\t\t\t\"<\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\".\",\n\t\t\t\">\",\n\t\t\t\".\",\n\t\t\t\">\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"/\",\n\t\t\t\"?\",\n\t\t\t\"/\",\n\t\t\t\"?\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\"\n\t\t],\n\t\tNumpad1: [\n\t\t\t\"1\",\n\t\t\t\"1\",\n\t\t\t\"1\",\n\t\t\t\"1\"\n\t\t],\n\t\tNumpad2: [\n\t\t\t\"2\",\n\t\t\t\"2\",\n\t\t\t\"2\",\n\t\t\t\"2\"\n\t\t],\n\t\tNumpad3: [\n\t\t\t\"3\",\n\t\t\t\"3\",\n\t\t\t\"3\",\n\t\t\t\"3\"\n\t\t],\n\t\tNumpad4: [\n\t\t\t\"4\",\n\t\t\t\"4\",\n\t\t\t\"4\",\n\t\t\t\"4\"\n\t\t],\n\t\tNumpad5: [\n\t\t\t\"5\",\n\t\t\t\"5\",\n\t\t\t\"5\",\n\t\t\t\"5\"\n\t\t],\n\t\tNumpad6: [\n\t\t\t\"6\",\n\t\t\t\"6\",\n\t\t\t\"6\",\n\t\t\t\"6\"\n\t\t],\n\t\tNumpad7: [\n\t\t\t\"7\",\n\t\t\t\"7\",\n\t\t\t\"7\",\n\t\t\t\"7\"\n\t\t],\n\t\tNumpad8: [\n\t\t\t\"8\",\n\t\t\t\"8\",\n\t\t\t\"8\",\n\t\t\t\"8\"\n\t\t],\n\t\tNumpad9: [\n\t\t\t\"9\",\n\t\t\t\"9\",\n\t\t\t\"9\",\n\t\t\t\"9\"\n\t\t],\n\t\tNumpad0: [\n\t\t\t\"0\",\n\t\t\t\"0\",\n\t\t\t\"0\",\n\t\t\t\"0\"\n\t\t],\n\t\tNumpadDecimal: [\n\t\t\t\"\",\n\t\t\t\".\",\n\t\t\t\"\",\n\t\t\t\".\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"|\",\n\t\t\t\"¦\"\n\t\t],\n\t\tNumpadEqual: [\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\"\n\t\t],\n\t\tNumpadComma: [\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\"\n\t\t],\n\t\tNumpadParenLeft: [\n\t\t\t\"(\",\n\t\t\t\"(\",\n\t\t\t\"(\",\n\t\t\t\"(\"\n\t\t],\n\t\tNumpadParenRight: [\n\t\t\t\")\",\n\t\t\t\")\",\n\t\t\t\")\",\n\t\t\t\")\"\n\t\t]\n\t}\n}, ne = {\n\tid: \"apple.french\",\n\tlocale: \"fr\",\n\tdisplayName: \"French\",\n\tplatform: \"apple\",\n\tvirtualLayout: \"azerty\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"‡\",\n\t\t\t\"Ω\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"ß\",\n\t\t\t\"∫\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"©\",\n\t\t\t\"¢\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"∂\",\n\t\t\t\"∆\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"ê\",\n\t\t\t\"Ê\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"ƒ\",\n\t\t\t\"·\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"fi\",\n\t\t\t\"fl\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"Ì\",\n\t\t\t\"Î\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"î\",\n\t\t\t\"ï\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"Ï\",\n\t\t\t\"Í\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"È\",\n\t\t\t\"Ë\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"¬\",\n\t\t\t\"|\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\",\",\n\t\t\t\"?\",\n\t\t\t\"∞\",\n\t\t\t\"¿\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"~\",\n\t\t\t\"ı\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"œ\",\n\t\t\t\"Œ\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"π\",\n\t\t\t\"∏\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"æ\",\n\t\t\t\"Æ\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"®\",\n\t\t\t\"‚\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"Ò\",\n\t\t\t\"∑\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"†\",\n\t\t\t\"™\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"º\",\n\t\t\t\"ª\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"◊\",\n\t\t\t\"√\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"Â\",\n\t\t\t\"Å\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"≈\",\n\t\t\t\"⁄\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"Ú\",\n\t\t\t\"Ÿ\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"‹\",\n\t\t\t\"›\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"&\",\n\t\t\t\"1\",\n\t\t\t\"\",\n\t\t\t\"´\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"é\",\n\t\t\t\"2\",\n\t\t\t\"ë\",\n\t\t\t\"„\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"\\\"\",\n\t\t\t\"3\",\n\t\t\t\"“\",\n\t\t\t\"”\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"'\",\n\t\t\t\"4\",\n\t\t\t\"‘\",\n\t\t\t\"’\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"(\",\n\t\t\t\"5\",\n\t\t\t\"{\",\n\t\t\t\"[\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"§\",\n\t\t\t\"6\",\n\t\t\t\"¶\",\n\t\t\t\"å\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"è\",\n\t\t\t\"7\",\n\t\t\t\"«\",\n\t\t\t\"»\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"!\",\n\t\t\t\"8\",\n\t\t\t\"¡\",\n\t\t\t\"Û\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"ç\",\n\t\t\t\"9\",\n\t\t\t\"Ç\",\n\t\t\t\"Á\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"à\",\n\t\t\t\"0\",\n\t\t\t\"ø\",\n\t\t\t\"Ø\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tMinus: [\n\t\t\t\")\",\n\t\t\t\"°\",\n\t\t\t\"}\",\n\t\t\t\"]\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"—\",\n\t\t\t\"–\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"^\",\n\t\t\t\"¨\",\n\t\t\t\"ô\",\n\t\t\t\"Ô\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"$\",\n\t\t\t\"*\",\n\t\t\t\"€\",\n\t\t\t\"¥\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"`\",\n\t\t\t\"£\",\n\t\t\t\"@\",\n\t\t\t\"#\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"Ó\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"ù\",\n\t\t\t\"%\",\n\t\t\t\"Ù\",\n\t\t\t\"‰\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"≤\",\n\t\t\t\"≥\"\n\t\t],\n\t\tComma: [\n\t\t\t\";\",\n\t\t\t\".\",\n\t\t\t\"…\",\n\t\t\t\"•\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\":\",\n\t\t\t\"/\",\n\t\t\t\"÷\",\n\t\t\t\"\\\\\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"=\",\n\t\t\t\"+\",\n\t\t\t\"≠\",\n\t\t\t\"±\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\"\n\t\t],\n\t\tNumpadDecimal: [\n\t\t\t\",\",\n\t\t\t\".\",\n\t\t\t\",\",\n\t\t\t\".\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"@\",\n\t\t\t\"#\",\n\t\t\t\"•\",\n\t\t\t\"Ÿ\"\n\t\t],\n\t\tNumpadEqual: [\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\"\n\t\t]\n\t}\n}, re = {\n\tid: \"windows.french\",\n\tlocale: \"fr\",\n\tdisplayName: \"French\",\n\tvirtualLayout: \"azerty\",\n\tplatform: \"windows\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"€\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\",\",\n\t\t\t\"?\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"&\",\n\t\t\t\"1\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"é\",\n\t\t\t\"2\",\n\t\t\t\"~\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"\\\"\",\n\t\t\t\"3\",\n\t\t\t\"#\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"'\",\n\t\t\t\"4\",\n\t\t\t\"{\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"(\",\n\t\t\t\"5\",\n\t\t\t\"[\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"-\",\n\t\t\t\"6\",\n\t\t\t\"|\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"è\",\n\t\t\t\"7\",\n\t\t\t\"`\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"_\",\n\t\t\t\"8\",\n\t\t\t\"\\\\\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"ç\",\n\t\t\t\"9\",\n\t\t\t\"^\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"à\",\n\t\t\t\"0\",\n\t\t\t\"@\",\n\t\t\t\"\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tMinus: [\n\t\t\t\")\",\n\t\t\t\"°\",\n\t\t\t\"]\",\n\t\t\t\"\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"=\",\n\t\t\t\"+\",\n\t\t\t\"}\",\n\t\t\t\"\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"^\",\n\t\t\t\"¨\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"$\",\n\t\t\t\"£\",\n\t\t\t\"¤\",\n\t\t\t\"\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"*\",\n\t\t\t\"µ\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"ù\",\n\t\t\t\"%\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"²\",\n\t\t\t\"\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tComma: [\n\t\t\t\";\",\n\t\t\t\".\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\":\",\n\t\t\t\"/\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"!\",\n\t\t\t\"§\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t]\n\t}\n}, ie = {\n\tid: \"linux.french\",\n\tlocale: \"fr\",\n\tdisplayName: \"French\",\n\tvirtualLayout: \"azerty\",\n\tplatform: \"linux\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"@\",\n\t\t\t\"Ω\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"”\",\n\t\t\t\"’\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"¢\",\n\t\t\t\"©\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"ð\",\n\t\t\t\"Ð\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"€\",\n\t\t\t\"¢\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"đ\",\n\t\t\t\"ª\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"ŋ\",\n\t\t\t\"Ŋ\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"ħ\",\n\t\t\t\"Ħ\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"→\",\n\t\t\t\"ı\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"̉\",\n\t\t\t\"̛\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"ĸ\",\n\t\t\t\"&\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"ł\",\n\t\t\t\"Ł\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\",\",\n\t\t\t\"?\",\n\t\t\t\"́\",\n\t\t\t\"̋\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"n\",\n\t\t\t\"N\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"ø\",\n\t\t\t\"Ø\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"þ\",\n\t\t\t\"Þ\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"æ\",\n\t\t\t\"Æ\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"¶\",\n\t\t\t\"®\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"ß\",\n\t\t\t\"§\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"ŧ\",\n\t\t\t\"Ŧ\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"↓\",\n\t\t\t\"↑\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"“\",\n\t\t\t\"‘\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"«\",\n\t\t\t\"<\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"»\",\n\t\t\t\">\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"←\",\n\t\t\t\"¥\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"ł\",\n\t\t\t\"Ł\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"&\",\n\t\t\t\"1\",\n\t\t\t\"¹\",\n\t\t\t\"¡\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"é\",\n\t\t\t\"2\",\n\t\t\t\"~\",\n\t\t\t\"⅛\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"\\\"\",\n\t\t\t\"3\",\n\t\t\t\"#\",\n\t\t\t\"£\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"'\",\n\t\t\t\"4\",\n\t\t\t\"{\",\n\t\t\t\"$\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"(\",\n\t\t\t\"5\",\n\t\t\t\"[\",\n\t\t\t\"⅜\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"-\",\n\t\t\t\"6\",\n\t\t\t\"|\",\n\t\t\t\"⅝\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"è\",\n\t\t\t\"7\",\n\t\t\t\"`\",\n\t\t\t\"⅞\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"_\",\n\t\t\t\"8\",\n\t\t\t\"\\\\\",\n\t\t\t\"™\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"ç\",\n\t\t\t\"9\",\n\t\t\t\"^\",\n\t\t\t\"±\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"à\",\n\t\t\t\"0\",\n\t\t\t\"@\",\n\t\t\t\"°\"\n\t\t],\n\t\tEnter: [\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\"\n\t\t],\n\t\tEscape: [\n\t\t\t\"\\x1B\",\n\t\t\t\"\\x1B\",\n\t\t\t\"\\x1B\",\n\t\t\t\"\\x1B\"\n\t\t],\n\t\tBackspace: [\n\t\t\t\"\\b\",\n\t\t\t\"\\b\",\n\t\t\t\"\\b\",\n\t\t\t\"\\b\"\n\t\t],\n\t\tTab: [\n\t\t\t\"\t\",\n\t\t\t\"\",\n\t\t\t\"\t\",\n\t\t\t\"\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tMinus: [\n\t\t\t\")\",\n\t\t\t\"°\",\n\t\t\t\"]\",\n\t\t\t\"¿\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"=\",\n\t\t\t\"+\",\n\t\t\t\"}\",\n\t\t\t\"̨\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"̂\",\n\t\t\t\"̈\",\n\t\t\t\"̈\",\n\t\t\t\"̊\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"$\",\n\t\t\t\"£\",\n\t\t\t\"¤\",\n\t\t\t\"̄\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"*\",\n\t\t\t\"µ\",\n\t\t\t\"̀\",\n\t\t\t\"̆\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"º\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"ù\",\n\t\t\t\"%\",\n\t\t\t\"̂\",\n\t\t\t\"̌\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"²\",\n\t\t\t\"~\",\n\t\t\t\"¬\",\n\t\t\t\"¬\"\n\t\t],\n\t\tComma: [\n\t\t\t\";\",\n\t\t\t\".\",\n\t\t\t\"─\",\n\t\t\t\"×\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\":\",\n\t\t\t\"/\",\n\t\t\t\"·\",\n\t\t\t\"÷\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"!\",\n\t\t\t\"§\",\n\t\t\t\"̣\",\n\t\t\t\"̇\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\"\n\t\t],\n\t\tNumpadDecimal: [\n\t\t\t\"\",\n\t\t\t\".\",\n\t\t\t\"\",\n\t\t\t\".\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"|\",\n\t\t\t\"¦\"\n\t\t]\n\t}\n}, b = {\n\tid: \"apple.german\",\n\tlocale: \"de\",\n\tdisplayName: \"German\",\n\tvirtualLayout: \"qwertz\",\n\tplatform: \"apple\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"å\",\n\t\t\t\"Å\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"∫\",\n\t\t\t\"‹\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"ç\",\n\t\t\t\"Ç\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"∂\",\n\t\t\t\"™\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"€\",\n\t\t\t\"‰\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"ƒ\",\n\t\t\t\"Ï\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"©\",\n\t\t\t\"Ì\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"ª\",\n\t\t\t\"Ó\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"⁄\",\n\t\t\t\"Û\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"º\",\n\t\t\t\"ı\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"∆\",\n\t\t\t\"ˆ\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"@\",\n\t\t\t\"fl\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"˘\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"~\",\n\t\t\t\"›\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"ø\",\n\t\t\t\"Ø\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"π\",\n\t\t\t\"∏\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"«\",\n\t\t\t\"»\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"®\",\n\t\t\t\"¸\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"‚\",\n\t\t\t\"Í\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"†\",\n\t\t\t\"˝\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"¨\",\n\t\t\t\"Á\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"√\",\n\t\t\t\"◊\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"∑\",\n\t\t\t\"„\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"≈\",\n\t\t\t\"Ù\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"Ω\",\n\t\t\t\"ˇ\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"¥\",\n\t\t\t\"‡\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"¡\",\n\t\t\t\"¬\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"\\\"\",\n\t\t\t\"“\",\n\t\t\t\"”\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"§\",\n\t\t\t\"¶\",\n\t\t\t\"#\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"¢\",\n\t\t\t\"£\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"[\",\n\t\t\t\"fi\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"&\",\n\t\t\t\"]\",\n\t\t\t\"^\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"/\",\n\t\t\t\"|\",\n\t\t\t\"\\\\\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"(\",\n\t\t\t\"{\",\n\t\t\t\"˜\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\")\",\n\t\t\t\"}\",\n\t\t\t\"·\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\"=\",\n\t\t\t\"≠\",\n\t\t\t\"¯\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tMinus: [\n\t\t\t\"ß\",\n\t\t\t\"?\",\n\t\t\t\"¿\",\n\t\t\t\"˙\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"´\",\n\t\t\t\"`\",\n\t\t\t\"'\",\n\t\t\t\"˚\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"ü\",\n\t\t\t\"Ü\",\n\t\t\t\"•\",\n\t\t\t\"°\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"+\",\n\t\t\t\"*\",\n\t\t\t\"±\",\n\t\t\t\"\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"#\",\n\t\t\t\"'\",\n\t\t\t\"‘\",\n\t\t\t\"’\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"ö\",\n\t\t\t\"Ö\",\n\t\t\t\"œ\",\n\t\t\t\"Œ\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"ä\",\n\t\t\t\"Ä\",\n\t\t\t\"æ\",\n\t\t\t\"Æ\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"≤\",\n\t\t\t\"≥\"\n\t\t],\n\t\tComma: [\n\t\t\t\",\",\n\t\t\t\";\",\n\t\t\t\"∞\",\n\t\t\t\"˛\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\".\",\n\t\t\t\":\",\n\t\t\t\"…\",\n\t\t\t\"÷\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"–\",\n\t\t\t\"—\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\"\n\t\t],\n\t\tNumpadDecimal: [\n\t\t\t\",\",\n\t\t\t\",\",\n\t\t\t\".\",\n\t\t\t\".\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"^\",\n\t\t\t\"°\",\n\t\t\t\"„\",\n\t\t\t\"“\"\n\t\t],\n\t\tNumpadEqual: [\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\"\n\t\t]\n\t}\n}, ae = {\n\tid: \"windows.german\",\n\tlocale: \"de\",\n\tdisplayName: \"German\",\n\tplatform: \"windows\",\n\tvirtualLayout: \"qwertz\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"€\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"@\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"\\\"\",\n\t\t\t\"²\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"§\",\n\t\t\t\"³\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"&\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"/\",\n\t\t\t\"{\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"(\",\n\t\t\t\"[\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\")\",\n\t\t\t\"]\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\"=\",\n\t\t\t\"}\",\n\t\t\t\"\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tMinus: [\n\t\t\t\"ß\",\n\t\t\t\"?\",\n\t\t\t\"\\\\\",\n\t\t\t\"ẞ\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"´\",\n\t\t\t\"`\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"ü\",\n\t\t\t\"Ü\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"+\",\n\t\t\t\"*\",\n\t\t\t\"~\",\n\t\t\t\"\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"#\",\n\t\t\t\"'\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"ö\",\n\t\t\t\"Ö\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"ä\",\n\t\t\t\"Ä\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"^\",\n\t\t\t\"°\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tComma: [\n\t\t\t\",\",\n\t\t\t\";\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\".\",\n\t\t\t\":\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"|\",\n\t\t\t\"\"\n\t\t]\n\t}\n}, oe = {\n\tid: \"linux.german\",\n\tlocale: \"de\",\n\tdisplayName: \"German\",\n\tplatform: \"windows\",\n\tvirtualLayout: \"qwertz\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"æ\",\n\t\t\t\"Æ\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"“\",\n\t\t\t\"‘\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"¢\",\n\t\t\t\"©\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"ð\",\n\t\t\t\"Ð\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"€\",\n\t\t\t\"€\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"đ\",\n\t\t\t\"ª\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"ŋ\",\n\t\t\t\"Ŋ\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"ħ\",\n\t\t\t\"Ħ\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"→\",\n\t\t\t\"ı\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"̣\",\n\t\t\t\"̇\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"ĸ\",\n\t\t\t\"&\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"ł\",\n\t\t\t\"Ł\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"º\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"”\",\n\t\t\t\"’\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"ø\",\n\t\t\t\"Ø\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"þ\",\n\t\t\t\"Þ\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"@\",\n\t\t\t\"Ω\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"¶\",\n\t\t\t\"®\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"ſ\",\n\t\t\t\"ẞ\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"ŧ\",\n\t\t\t\"Ŧ\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"↓\",\n\t\t\t\"↑\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"„\",\n\t\t\t\"‚\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"ł\",\n\t\t\t\"Ł\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"«\",\n\t\t\t\"‹\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"←\",\n\t\t\t\"¥\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"»\",\n\t\t\t\"›\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"¹\",\n\t\t\t\"¡\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"\\\"\",\n\t\t\t\"²\",\n\t\t\t\"⅛\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"§\",\n\t\t\t\"³\",\n\t\t\t\"£\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"¼\",\n\t\t\t\"¤\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"½\",\n\t\t\t\"⅜\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"&\",\n\t\t\t\"¬\",\n\t\t\t\"⅝\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"/\",\n\t\t\t\"{\",\n\t\t\t\"⅞\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"(\",\n\t\t\t\"[\",\n\t\t\t\"™\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\")\",\n\t\t\t\"]\",\n\t\t\t\"±\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\"=\",\n\t\t\t\"}\",\n\t\t\t\"°\"\n\t\t],\n\t\tEnter: [\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\"\n\t\t],\n\t\tEscape: [\n\t\t\t\"\\x1B\",\n\t\t\t\"\\x1B\",\n\t\t\t\"\\x1B\",\n\t\t\t\"\\x1B\"\n\t\t],\n\t\tBackspace: [\n\t\t\t\"\\b\",\n\t\t\t\"\\b\",\n\t\t\t\"\\b\",\n\t\t\t\"\\b\"\n\t\t],\n\t\tTab: [\n\t\t\t\"\t\",\n\t\t\t\"\",\n\t\t\t\"\t\",\n\t\t\t\"\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tMinus: [\n\t\t\t\"ß\",\n\t\t\t\"?\",\n\t\t\t\"\\\\\",\n\t\t\t\"¿\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"́\",\n\t\t\t\"̀\",\n\t\t\t\"̧\",\n\t\t\t\"̨\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"ü\",\n\t\t\t\"Ü\",\n\t\t\t\"̈\",\n\t\t\t\"̊\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"+\",\n\t\t\t\"*\",\n\t\t\t\"~\",\n\t\t\t\"¯\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"#\",\n\t\t\t\"'\",\n\t\t\t\"’\",\n\t\t\t\"̆\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"ö\",\n\t\t\t\"Ö\",\n\t\t\t\"̋\",\n\t\t\t\"̣\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"ä\",\n\t\t\t\"Ä\",\n\t\t\t\"̂\",\n\t\t\t\"̌\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"̂\",\n\t\t\t\"°\",\n\t\t\t\"′\",\n\t\t\t\"″\"\n\t\t],\n\t\tComma: [\n\t\t\t\",\",\n\t\t\t\";\",\n\t\t\t\"·\",\n\t\t\t\"×\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\".\",\n\t\t\t\":\",\n\t\t\t\"…\",\n\t\t\t\"÷\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"–\",\n\t\t\t\"—\"\n\t\t],\n\t\tPrintScreen: [\n\t\t\t\"\",\n\t\t\t\"\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tPageUp: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\"\n\t\t],\n\t\tNumpad1: [\n\t\t\t\"\",\n\t\t\t\"1\",\n\t\t\t\"\",\n\t\t\t\"1\"\n\t\t],\n\t\tNumpad2: [\n\t\t\t\"\",\n\t\t\t\"2\",\n\t\t\t\"\",\n\t\t\t\"2\"\n\t\t],\n\t\tNumpad3: [\n\t\t\t\"\",\n\t\t\t\"3\",\n\t\t\t\"\",\n\t\t\t\"3\"\n\t\t],\n\t\tNumpad4: [\n\t\t\t\"\",\n\t\t\t\"4\",\n\t\t\t\"\",\n\t\t\t\"4\"\n\t\t],\n\t\tNumpad5: [\n\t\t\t\"\",\n\t\t\t\"5\",\n\t\t\t\"\",\n\t\t\t\"5\"\n\t\t],\n\t\tNumpad6: [\n\t\t\t\"\",\n\t\t\t\"6\",\n\t\t\t\"\",\n\t\t\t\"6\"\n\t\t],\n\t\tNumpad7: [\n\t\t\t\"\",\n\t\t\t\"7\",\n\t\t\t\"\",\n\t\t\t\"7\"\n\t\t],\n\t\tNumpad8: [\n\t\t\t\"\",\n\t\t\t\"8\",\n\t\t\t\"\",\n\t\t\t\"8\"\n\t\t],\n\t\tNumpad9: [\n\t\t\t\"\",\n\t\t\t\"9\",\n\t\t\t\"\",\n\t\t\t\"9\"\n\t\t],\n\t\tNumpad0: [\n\t\t\t\"\",\n\t\t\t\"0\",\n\t\t\t\"\",\n\t\t\t\"0\"\n\t\t],\n\t\tNumpadDecimal: [\n\t\t\t\"\",\n\t\t\t\",\",\n\t\t\t\"\",\n\t\t\t\",\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"|\",\n\t\t\t\"̱\"\n\t\t],\n\t\tAltRight: [\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\"\n\t\t],\n\t\tMetaRight: [\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\"\n\t\t]\n\t}\n}, se = {\n\tid: \"apple.spanish\",\n\tlocale: \"es\",\n\tdisplayName: \"Spanish ISO\",\n\tplatform: \"apple\",\n\tvirtualLayout: \"qwerty\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"å\",\n\t\t\t\"Å\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"ß\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"©\",\n\t\t\t\" \"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"∂\",\n\t\t\t\"∆\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"€\",\n\t\t\t\"€\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"ƒ\",\n\t\t\t\"fi\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"\",\n\t\t\t\"fl\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"™\",\n\t\t\t\" \"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"¶\",\n\t\t\t\"¯\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"§\",\n\t\t\t\"ˇ\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\" \",\n\t\t\t\"˘\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"˚\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\" \",\n\t\t\t\"˙\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"ø\",\n\t\t\t\"Ø\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"π\",\n\t\t\t\"∏\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"œ\",\n\t\t\t\"Œ\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"®\",\n\t\t\t\" \"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"∫\",\n\t\t\t\" \"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"†\",\n\t\t\t\"‡\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"√\",\n\t\t\t\"◊\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"æ\",\n\t\t\t\"Æ\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"∑\",\n\t\t\t\"›\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"¥\",\n\t\t\t\" \"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"Ω\",\n\t\t\t\"‹\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"|\",\n\t\t\t\"ı\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"\\\"\",\n\t\t\t\"@\",\n\t\t\t\"˝\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"·\",\n\t\t\t\"#\",\n\t\t\t\"•\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"¢\",\n\t\t\t\"£\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"∞\",\n\t\t\t\"‰\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"&\",\n\t\t\t\"¬\",\n\t\t\t\" \"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"/\",\n\t\t\t\"÷\",\n\t\t\t\"⁄\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"(\",\n\t\t\t\"“\",\n\t\t\t\"‘\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\")\",\n\t\t\t\"”\",\n\t\t\t\"’\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\"=\",\n\t\t\t\"≠\",\n\t\t\t\"≈\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tMinus: [\n\t\t\t\"'\",\n\t\t\t\"?\",\n\t\t\t\"´\",\n\t\t\t\"¸\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"¡\",\n\t\t\t\"¿\",\n\t\t\t\"‚\",\n\t\t\t\"˛\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"`\",\n\t\t\t\"^\",\n\t\t\t\"[\",\n\t\t\t\"ˆ\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"+\",\n\t\t\t\"*\",\n\t\t\t\"]\",\n\t\t\t\"±\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"ç\",\n\t\t\t\"Ç\",\n\t\t\t\"}\",\n\t\t\t\"»\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"ñ\",\n\t\t\t\"Ñ\",\n\t\t\t\"~\",\n\t\t\t\"˜\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"´\",\n\t\t\t\"¨\",\n\t\t\t\"{\",\n\t\t\t\"«\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"≤\",\n\t\t\t\"≥\"\n\t\t],\n\t\tComma: [\n\t\t\t\",\",\n\t\t\t\";\",\n\t\t\t\"„\",\n\t\t\t\"\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\".\",\n\t\t\t\":\",\n\t\t\t\"…\",\n\t\t\t\"…\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"–\",\n\t\t\t\"—\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\"\n\t\t],\n\t\tNumpad1: [\n\t\t\t\"1\",\n\t\t\t\"1\",\n\t\t\t\"1\",\n\t\t\t\"1\"\n\t\t],\n\t\tNumpad2: [\n\t\t\t\"2\",\n\t\t\t\"2\",\n\t\t\t\"2\",\n\t\t\t\"2\"\n\t\t],\n\t\tNumpad3: [\n\t\t\t\"3\",\n\t\t\t\"3\",\n\t\t\t\"3\",\n\t\t\t\"3\"\n\t\t],\n\t\tNumpad4: [\n\t\t\t\"4\",\n\t\t\t\"4\",\n\t\t\t\"4\",\n\t\t\t\"4\"\n\t\t],\n\t\tNumpad5: [\n\t\t\t\"5\",\n\t\t\t\"5\",\n\t\t\t\"5\",\n\t\t\t\"5\"\n\t\t],\n\t\tNumpad6: [\n\t\t\t\"6\",\n\t\t\t\"6\",\n\t\t\t\"6\",\n\t\t\t\"6\"\n\t\t],\n\t\tNumpad7: [\n\t\t\t\"7\",\n\t\t\t\"7\",\n\t\t\t\"7\",\n\t\t\t\"7\"\n\t\t],\n\t\tNumpad8: [\n\t\t\t\"8\",\n\t\t\t\"8\",\n\t\t\t\"8\",\n\t\t\t\"8\"\n\t\t],\n\t\tNumpad9: [\n\t\t\t\"9\",\n\t\t\t\"9\",\n\t\t\t\"9\",\n\t\t\t\"9\"\n\t\t],\n\t\tNumpad0: [\n\t\t\t\"0\",\n\t\t\t\"0\",\n\t\t\t\"0\",\n\t\t\t\"0\"\n\t\t],\n\t\tNumpadDecimal: [\n\t\t\t\",\",\n\t\t\t\",\",\n\t\t\t\",\",\n\t\t\t\",\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"º\",\n\t\t\t\"ª\",\n\t\t\t\"\\\\\",\n\t\t\t\"°\"\n\t\t]\n\t}\n}, ce = {\n\tid: \"windows.spanish\",\n\tlocale: \"es\",\n\tdisplayName: \"Spanish\",\n\tplatform: \"windows\",\n\tvirtualLayout: \"qwerty\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"€\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"|\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"\\\"\",\n\t\t\t\"@\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"·\",\n\t\t\t\"#\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"~\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"€\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"&\",\n\t\t\t\"¬\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"/\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"(\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\")\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\"=\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tMinus: [\n\t\t\t\"'\",\n\t\t\t\"?\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"¡\",\n\t\t\t\"¿\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"`\",\n\t\t\t\"^\",\n\t\t\t\"[\",\n\t\t\t\"\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"+\",\n\t\t\t\"*\",\n\t\t\t\"]\",\n\t\t\t\"\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"ç\",\n\t\t\t\"Ç\",\n\t\t\t\"}\",\n\t\t\t\"\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"ñ\",\n\t\t\t\"Ñ\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"´\",\n\t\t\t\"¨\",\n\t\t\t\"{\",\n\t\t\t\"\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"º\",\n\t\t\t\"ª\",\n\t\t\t\"\\\\\",\n\t\t\t\"\"\n\t\t],\n\t\tComma: [\n\t\t\t\",\",\n\t\t\t\";\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\".\",\n\t\t\t\":\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t]\n\t}\n}, le = {\n\tid: \"linux.spanish\",\n\tlocale: \"es\",\n\tdisplayName: \"Spanish\",\n\tplatform: \"linux\",\n\tvirtualLayout: \"qwerty\",\n\tscore: 0,\n\tmapping: {\n\t\tKeyA: [\n\t\t\t\"a\",\n\t\t\t\"A\",\n\t\t\t\"æ\",\n\t\t\t\"Æ\"\n\t\t],\n\t\tKeyB: [\n\t\t\t\"b\",\n\t\t\t\"B\",\n\t\t\t\"”\",\n\t\t\t\"’\"\n\t\t],\n\t\tKeyC: [\n\t\t\t\"c\",\n\t\t\t\"C\",\n\t\t\t\"¢\",\n\t\t\t\"©\"\n\t\t],\n\t\tKeyD: [\n\t\t\t\"d\",\n\t\t\t\"D\",\n\t\t\t\"ð\",\n\t\t\t\"Ð\"\n\t\t],\n\t\tKeyE: [\n\t\t\t\"e\",\n\t\t\t\"E\",\n\t\t\t\"€\",\n\t\t\t\"¢\"\n\t\t],\n\t\tKeyF: [\n\t\t\t\"f\",\n\t\t\t\"F\",\n\t\t\t\"đ\",\n\t\t\t\"ª\"\n\t\t],\n\t\tKeyG: [\n\t\t\t\"g\",\n\t\t\t\"G\",\n\t\t\t\"ŋ\",\n\t\t\t\"Ŋ\"\n\t\t],\n\t\tKeyH: [\n\t\t\t\"h\",\n\t\t\t\"H\",\n\t\t\t\"ħ\",\n\t\t\t\"Ħ\"\n\t\t],\n\t\tKeyI: [\n\t\t\t\"i\",\n\t\t\t\"I\",\n\t\t\t\"→\",\n\t\t\t\"ı\"\n\t\t],\n\t\tKeyJ: [\n\t\t\t\"j\",\n\t\t\t\"J\",\n\t\t\t\"̉\",\n\t\t\t\"̛\"\n\t\t],\n\t\tKeyK: [\n\t\t\t\"k\",\n\t\t\t\"K\",\n\t\t\t\"ĸ\",\n\t\t\t\"&\"\n\t\t],\n\t\tKeyL: [\n\t\t\t\"l\",\n\t\t\t\"L\",\n\t\t\t\"ł\",\n\t\t\t\"Ł\"\n\t\t],\n\t\tKeyM: [\n\t\t\t\"m\",\n\t\t\t\"M\",\n\t\t\t\"µ\",\n\t\t\t\"º\"\n\t\t],\n\t\tKeyN: [\n\t\t\t\"n\",\n\t\t\t\"N\",\n\t\t\t\"n\",\n\t\t\t\"N\"\n\t\t],\n\t\tKeyO: [\n\t\t\t\"o\",\n\t\t\t\"O\",\n\t\t\t\"ø\",\n\t\t\t\"Ø\"\n\t\t],\n\t\tKeyP: [\n\t\t\t\"p\",\n\t\t\t\"P\",\n\t\t\t\"þ\",\n\t\t\t\"Þ\"\n\t\t],\n\t\tKeyQ: [\n\t\t\t\"q\",\n\t\t\t\"Q\",\n\t\t\t\"@\",\n\t\t\t\"Ω\"\n\t\t],\n\t\tKeyR: [\n\t\t\t\"r\",\n\t\t\t\"R\",\n\t\t\t\"¶\",\n\t\t\t\"®\"\n\t\t],\n\t\tKeyS: [\n\t\t\t\"s\",\n\t\t\t\"S\",\n\t\t\t\"ß\",\n\t\t\t\"§\"\n\t\t],\n\t\tKeyT: [\n\t\t\t\"t\",\n\t\t\t\"T\",\n\t\t\t\"ŧ\",\n\t\t\t\"Ŧ\"\n\t\t],\n\t\tKeyU: [\n\t\t\t\"u\",\n\t\t\t\"U\",\n\t\t\t\"↓\",\n\t\t\t\"↑\"\n\t\t],\n\t\tKeyV: [\n\t\t\t\"v\",\n\t\t\t\"V\",\n\t\t\t\"“\",\n\t\t\t\"‘\"\n\t\t],\n\t\tKeyW: [\n\t\t\t\"w\",\n\t\t\t\"W\",\n\t\t\t\"ł\",\n\t\t\t\"Ł\"\n\t\t],\n\t\tKeyX: [\n\t\t\t\"x\",\n\t\t\t\"X\",\n\t\t\t\"»\",\n\t\t\t\">\"\n\t\t],\n\t\tKeyY: [\n\t\t\t\"y\",\n\t\t\t\"Y\",\n\t\t\t\"←\",\n\t\t\t\"¥\"\n\t\t],\n\t\tKeyZ: [\n\t\t\t\"z\",\n\t\t\t\"Z\",\n\t\t\t\"«\",\n\t\t\t\"<\"\n\t\t],\n\t\tDigit1: [\n\t\t\t\"1\",\n\t\t\t\"!\",\n\t\t\t\"|\",\n\t\t\t\"¡\"\n\t\t],\n\t\tDigit2: [\n\t\t\t\"2\",\n\t\t\t\"\\\"\",\n\t\t\t\"@\",\n\t\t\t\"⅛\"\n\t\t],\n\t\tDigit3: [\n\t\t\t\"3\",\n\t\t\t\"·\",\n\t\t\t\"#\",\n\t\t\t\"£\"\n\t\t],\n\t\tDigit4: [\n\t\t\t\"4\",\n\t\t\t\"$\",\n\t\t\t\"~\",\n\t\t\t\"$\"\n\t\t],\n\t\tDigit5: [\n\t\t\t\"5\",\n\t\t\t\"%\",\n\t\t\t\"½\",\n\t\t\t\"⅜\"\n\t\t],\n\t\tDigit6: [\n\t\t\t\"6\",\n\t\t\t\"&\",\n\t\t\t\"¬\",\n\t\t\t\"⅝\"\n\t\t],\n\t\tDigit7: [\n\t\t\t\"7\",\n\t\t\t\"/\",\n\t\t\t\"{\",\n\t\t\t\"⅞\"\n\t\t],\n\t\tDigit8: [\n\t\t\t\"8\",\n\t\t\t\"(\",\n\t\t\t\"[\",\n\t\t\t\"™\"\n\t\t],\n\t\tDigit9: [\n\t\t\t\"9\",\n\t\t\t\")\",\n\t\t\t\"]\",\n\t\t\t\"±\"\n\t\t],\n\t\tDigit0: [\n\t\t\t\"0\",\n\t\t\t\"=\",\n\t\t\t\"}\",\n\t\t\t\"°\"\n\t\t],\n\t\tEnter: [\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\"\n\t\t],\n\t\tEscape: [\n\t\t\t\"\\x1B\",\n\t\t\t\"\\x1B\",\n\t\t\t\"\\x1B\",\n\t\t\t\"\\x1B\"\n\t\t],\n\t\tBackspace: [\n\t\t\t\"\\b\",\n\t\t\t\"\\b\",\n\t\t\t\"\\b\",\n\t\t\t\"\\b\"\n\t\t],\n\t\tTab: [\n\t\t\t\"\t\",\n\t\t\t\"\",\n\t\t\t\"\t\",\n\t\t\t\"\"\n\t\t],\n\t\tSpace: [\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \",\n\t\t\t\" \"\n\t\t],\n\t\tMinus: [\n\t\t\t\"'\",\n\t\t\t\"?\",\n\t\t\t\"\\\\\",\n\t\t\t\"¿\"\n\t\t],\n\t\tEqual: [\n\t\t\t\"¡\",\n\t\t\t\"¿\",\n\t\t\t\"̃\",\n\t\t\t\"~\"\n\t\t],\n\t\tBracketLeft: [\n\t\t\t\"̀\",\n\t\t\t\"̂\",\n\t\t\t\"[\",\n\t\t\t\"̊\"\n\t\t],\n\t\tBracketRight: [\n\t\t\t\"+\",\n\t\t\t\"*\",\n\t\t\t\"]\",\n\t\t\t\"̄\"\n\t\t],\n\t\tBackslash: [\n\t\t\t\"ç\",\n\t\t\t\"Ç\",\n\t\t\t\"}\",\n\t\t\t\"̆\"\n\t\t],\n\t\tSemicolon: [\n\t\t\t\"ñ\",\n\t\t\t\"Ñ\",\n\t\t\t\"~\",\n\t\t\t\"̋\"\n\t\t],\n\t\tQuote: [\n\t\t\t\"́\",\n\t\t\t\"̈\",\n\t\t\t\"{\",\n\t\t\t\"{\"\n\t\t],\n\t\tBackquote: [\n\t\t\t\"º\",\n\t\t\t\"ª\",\n\t\t\t\"\\\\\",\n\t\t\t\"\\\\\"\n\t\t],\n\t\tComma: [\n\t\t\t\",\",\n\t\t\t\";\",\n\t\t\t\"─\",\n\t\t\t\"×\"\n\t\t],\n\t\tPeriod: [\n\t\t\t\".\",\n\t\t\t\":\",\n\t\t\t\"·\",\n\t\t\t\"÷\"\n\t\t],\n\t\tSlash: [\n\t\t\t\"-\",\n\t\t\t\"_\",\n\t\t\t\"̣\",\n\t\t\t\"̇\"\n\t\t],\n\t\tNumpadDivide: [\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\",\n\t\t\t\"/\"\n\t\t],\n\t\tNumpadMultiply: [\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\",\n\t\t\t\"*\"\n\t\t],\n\t\tNumpadSubtract: [\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\",\n\t\t\t\"-\"\n\t\t],\n\t\tNumpadAdd: [\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\",\n\t\t\t\"+\"\n\t\t],\n\t\tNumpadEnter: [\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\",\n\t\t\t\"\\r\"\n\t\t],\n\t\tNumpad1: [\n\t\t\t\"\",\n\t\t\t\"1\",\n\t\t\t\"\",\n\t\t\t\"1\"\n\t\t],\n\t\tNumpad2: [\n\t\t\t\"\",\n\t\t\t\"2\",\n\t\t\t\"\",\n\t\t\t\"2\"\n\t\t],\n\t\tNumpad3: [\n\t\t\t\"\",\n\t\t\t\"3\",\n\t\t\t\"\",\n\t\t\t\"3\"\n\t\t],\n\t\tNumpad4: [\n\t\t\t\"\",\n\t\t\t\"4\",\n\t\t\t\"\",\n\t\t\t\"4\"\n\t\t],\n\t\tNumpad5: [\n\t\t\t\"\",\n\t\t\t\"5\",\n\t\t\t\"\",\n\t\t\t\"5\"\n\t\t],\n\t\tNumpad6: [\n\t\t\t\"\",\n\t\t\t\"6\",\n\t\t\t\"\",\n\t\t\t\"6\"\n\t\t],\n\t\tNumpad7: [\n\t\t\t\"\",\n\t\t\t\"7\",\n\t\t\t\"\",\n\t\t\t\"7\"\n\t\t],\n\t\tNumpad8: [\n\t\t\t\"\",\n\t\t\t\"8\",\n\t\t\t\"\",\n\t\t\t\"8\"\n\t\t],\n\t\tNumpad9: [\n\t\t\t\"\",\n\t\t\t\"9\",\n\t\t\t\"\",\n\t\t\t\"9\"\n\t\t],\n\t\tNumpad0: [\n\t\t\t\"\",\n\t\t\t\"0\",\n\t\t\t\"\",\n\t\t\t\"0\"\n\t\t],\n\t\tNumpadDecimal: [\n\t\t\t\"\",\n\t\t\t\".\",\n\t\t\t\"\",\n\t\t\t\".\"\n\t\t],\n\t\tIntlBackslash: [\n\t\t\t\"<\",\n\t\t\t\">\",\n\t\t\t\"|\",\n\t\t\t\"¦\"\n\t\t],\n\t\tNumpadEqual: [\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\",\n\t\t\t\"=\"\n\t\t],\n\t\tNumpadComma: [\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\",\n\t\t\t\".\"\n\t\t],\n\t\tNumpadParenLeft: [\n\t\t\t\"(\",\n\t\t\t\"(\",\n\t\t\t\"(\",\n\t\t\t\"(\"\n\t\t],\n\t\tNumpadParenRight: [\n\t\t\t\")\",\n\t\t\t\")\",\n\t\t\t\")\",\n\t\t\t\")\"\n\t\t]\n\t}\n};\nfunction ue(e) {\n\tlet t = e.split(\"+\"), n = {\n\t\tshift: !1,\n\t\talt: !1,\n\t\tcmd: !1,\n\t\twin: !1,\n\t\tmeta: !1,\n\t\tctrl: !1,\n\t\tkey: t.pop()\n\t};\n\treturn t.includes(\"shift\") && (n.shift = !0), t.includes(\"alt\") && (n.alt = !0), t.includes(\"ctrl\") && (n.ctrl = !0), t.includes(\"cmd\") && (n.cmd = !0), t.includes(\"win\") && (n.win = !0), t.includes(\"meta\") && (n.meta = !0), n;\n}\nfunction de(e) {\n\tlet t = \"\";\n\treturn e.shift && (t += \"shift+\"), e.alt && (t += \"alt+\"), e.ctrl && (t += \"ctrl+\"), e.cmd && (t += \"cmd+\"), e.win && (t += \"win+\"), e.meta && (t += \"meta+\"), t + e.key;\n}\nvar fe = {\n\tenter: \"[Enter]\",\n\tescape: \"[Escape]\",\n\tbackspace: \"[Backspace]\",\n\ttab: \"[Tab]\",\n\tspace: \"[Space]\",\n\tpausebreak: \"[Pause]\",\n\tinsert: \"[Insert]\",\n\thome: \"[Home]\",\n\tpageup: \"[PageUp]\",\n\tdelete: \"[Delete]\",\n\tend: \"[End]\",\n\tpagedown: \"[PageDown]\",\n\tright: \"[ArrowRight]\",\n\tleft: \"[ArrowLeft]\",\n\tdown: \"[ArrowDown]\",\n\tup: \"[ArrowUp]\",\n\tnumpad0: \"[Numpad0]\",\n\tnumpad1: \"[Numpad1]\",\n\tnumpad2: \"[Numpad2]\",\n\tnumpad3: \"[Numpad3]\",\n\tnumpad4: \"[Numpad4]\",\n\tnumpad5: \"[Numpad5]\",\n\tnumpad6: \"[Numpad6]\",\n\tnumpad7: \"[Numpad7]\",\n\tnumpad8: \"[Numpad8]\",\n\tnumpad9: \"[Numpad9]\",\n\tnumpad_divide: \"[NumpadDivide]\",\n\tnumpad_multiply: \"[NumpadMultiply]\",\n\tnumpad_subtract: \"[NumpadSubtract]\",\n\tnumpad_add: \"[NumpadAdd]\",\n\tnumpad_decimal: \"[NumpadDecimal]\",\n\tnumpad_separator: \"[NumpadComma]\",\n\tcapslock: \"[Capslock]\",\n\tf1: \"[F1]\",\n\tf2: \"[F2]\",\n\tf3: \"[F3]\",\n\tf4: \"[F4]\",\n\tf5: \"[F5]\",\n\tf6: \"[F6]\",\n\tf7: \"[F7]\",\n\tf8: \"[F8]\",\n\tf9: \"[F9]\",\n\tf10: \"[F10]\",\n\tf11: \"[F11]\",\n\tf12: \"[F12]\",\n\tf13: \"[F13]\",\n\tf14: \"[F14]\",\n\tf15: \"[F15]\",\n\tf16: \"[F16]\",\n\tf17: \"[F17]\",\n\tf18: \"[F18]\",\n\tf19: \"[F19]\"\n}, pe = [], me;\nfunction he() {\n\tswitch (h()) {\n\t\tcase \"macos\":\n\t\tcase \"ios\": return \"apple\";\n\t\tcase \"windows\": return \"windows\";\n\t}\n\treturn \"linux\";\n}\nfunction ge(e) {\n\t(!e.platform || e.platform === he()) && pe.push(e);\n}\nfunction _e(e, t) {\n\tlet n = {\n\t\tshift: !1,\n\t\talt: !1,\n\t\tcmd: !1,\n\t\twin: !1,\n\t\tmeta: !1,\n\t\tctrl: !1,\n\t\tkey: \"\"\n\t};\n\tif (!e) return n;\n\tfor (let [r, i] of Object.entries(t.mapping)) {\n\t\tif (i[0] === e) return n.key = `[${r}]`, n;\n\t\tif (i[1] === e) return n.shift = !0, n.key = `[${r}]`, n;\n\t\tif (i[2] === e) return n.alt = !0, n.key = `[${r}]`, n;\n\t\tif (i[3] === e) return n.shift = !0, n.alt = !0, n.key = `[${r}]`, n;\n\t}\n\treturn n.key = fe[e] ?? \"\", n;\n}\nfunction ve(e) {\n\tif (e.code) return e;\n\tlet t = Object.entries(xe().mapping), n = !1, r = !1, i = \"\";\n\tfor (let a = 0; a < 4; a++) {\n\t\tfor (let [o, s] of t) if (s[a] === e.key) {\n\t\t\ti = o, a === 3 ? (n = !0, r = !0) : a === 2 ? n = !0 : a === 1 && (r = !0);\n\t\t\tbreak;\n\t\t}\n\t\tif (i) break;\n\t}\n\treturn new KeyboardEvent(e.type, c(s({}, e), {\n\t\taltKey: n,\n\t\tshiftKey: r,\n\t\tcode: i\n\t}));\n}\nfunction ye(e) {\n\tvar t;\n\tif (!e || e.key === \"Unidentified\" || e.key === \"Dead\") return;\n\tlet n = e.shiftKey && e.altKey ? 3 : e.altKey ? 2 : +!!e.shiftKey;\n\tfor (let r of pe) r.mapping[e.code]?.[n] === e.key ? r.score += 1 : (t = r.mapping[e.code]) != null && t[n] && (r.score = 0);\n\tpe.sort((e, t) => t.score - e.score);\n}\nfunction be(e) {\n\tme = pe.find((t) => e.startsWith(t.locale));\n}\nfunction xe() {\n\treturn me ?? pe[0];\n}\nfunction Se() {\n\tswitch (he()) {\n\t\tcase \"apple\": return v;\n\t\tcase \"windows\": return y;\n\t\tcase \"linux\": return te;\n\t}\n\treturn v;\n}\nswitch (he()) {\n\tcase \"apple\":\n\t\tge(v), ge(ne), ge(se), ge(b);\n\t\tbreak;\n\tcase \"windows\":\n\t\tge(y), ge(re), ge(ce), ge(ae);\n\t\tbreak;\n\tcase \"linux\": ge(te), ge(ie), ge(le), ge(oe);\n}\nge(ee);\nfunction x(e) {\n\treturn Array.isArray(e);\n}\nvar S = {\n\tstrings: {\n\t\ten: {\n\t\t\t\"keyboard.tooltip.symbols\": \"Symbols\",\n\t\t\t\"keyboard.tooltip.greek\": \"Greek Letters\",\n\t\t\t\"keyboard.tooltip.numeric\": \"Numeric\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"Roman Letters\",\n\t\t\t\"tooltip.copy to clipboard\": \"Copy to Clipboard\",\n\t\t\t\"tooltip.cut to clipboard\": \"Cut to Clipboard\",\n\t\t\t\"tooltip.paste from clipboard\": \"Paste from Clipboard\",\n\t\t\t\"tooltip.redo\": \"Redo\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"Toggle Virtual Keyboard\",\n\t\t\t\"tooltip.menu\": \"Menu\",\n\t\t\t\"tooltip.undo\": \"Undo\",\n\t\t\t\"menu.borders\": \"Borders\",\n\t\t\t\"menu.insert matrix\": \"Insert Matrix\",\n\t\t\t\"menu.array.add row above\": \"Add Row Before\",\n\t\t\t\"menu.array.add row below\": \"Add Row After\",\n\t\t\t\"menu.array.add column after\": \"Add Column After\",\n\t\t\t\"menu.array.add column before\": \"Add Column Before\",\n\t\t\t\"menu.array.delete row\": \"Delete Row\",\n\t\t\t\"menu.array.delete rows\": \"Delete Selected Rows\",\n\t\t\t\"menu.array.delete column\": \"Delete Column\",\n\t\t\t\"menu.array.delete columns\": \"Delete Selected Columns\",\n\t\t\t\"menu.mode\": \"Mode\",\n\t\t\t\"menu.mode-math\": \"Math\",\n\t\t\t\"menu.mode-text\": \"Text\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"menu.insert\": \"Insert\",\n\t\t\t\"menu.insert.abs\": \"Absolute Value\",\n\t\t\t\"menu.insert.abs-template\": \"\\\\left|x\\\\right|\",\n\t\t\t\"menu.insert.nth-root\": \"n<sup>th</sup> Root\",\n\t\t\t\"menu.insert.nth-root-template\": \"\\\\sqrt[n]{x}\",\n\t\t\t\"menu.insert.log-base\": \"Logarithm base a\",\n\t\t\t\"menu.insert.log-base-template\": \"\\\\log_a(x)\",\n\t\t\t\"menu.insert.heading-calculus\": \"Calculus\",\n\t\t\t\"menu.insert.derivative\": \"Derivative\",\n\t\t\t\"menu.insert.derivative-template\": \"\\\\dfrac{\\\\mathrm{d}}{\\\\mathrm{d}x}f(x)\\\\bigm|_{x=a}\",\n\t\t\t\"menu.insert.nth-derivative\": \"n<sup>th</sup> derivative\",\n\t\t\t\"menu.insert.nth-derivative-template\": \"\\\\dfrac{\\\\mathrm{d}^n}{\\\\mathrm{d}x^n}f(x)\\\\bigm|_{x=a}\",\n\t\t\t\"menu.insert.integral\": \"Integral\",\n\t\t\t\"menu.insert.integral-template\": \"$\\\\int_a^b f(x)\\\\,\\\\mathrm{d}x$\",\n\t\t\t\"menu.insert.sum\": \"Sum\",\n\t\t\t\"menu.insert.sum-template\": \"$\\\\sum_{i=1}^n x_i$\",\n\t\t\t\"menu.insert.product\": \"Product\",\n\t\t\t\"menu.insert.product-template\": \"\\\\prod_{i=1}^n x_i\",\n\t\t\t\"menu.insert.heading-complex-numbers\": \"Complex Numbers\",\n\t\t\t\"menu.insert.modulus\": \"Modulus\",\n\t\t\t\"menu.insert.modulus-template\": \"\\\\lvert z \\\\rvert\",\n\t\t\t\"menu.insert.argument\": \"Argument\",\n\t\t\t\"menu.insert.argument-template\": \"\\\\arg(z)\",\n\t\t\t\"menu.insert.real-part\": \"Real Part\",\n\t\t\t\"menu.insert.real-part-template\": \"\\\\Re(z)\",\n\t\t\t\"menu.insert.imaginary-part\": \"Imaginary Part\",\n\t\t\t\"menu.insert.imaginary-part-template\": \"\\\\Im(z)\",\n\t\t\t\"menu.insert.conjugate\": \"Conjugate\",\n\t\t\t\"menu.insert.conjugate-template\": \"\\\\overline{z}\",\n\t\t\t\"tooltip.blackboard\": \"Blackboard\",\n\t\t\t\"tooltip.bold\": \"Bold\",\n\t\t\t\"tooltip.italic\": \"Italic\",\n\t\t\t\"tooltip.fraktur\": \"Fraktur\",\n\t\t\t\"tooltip.script\": \"Script\",\n\t\t\t\"tooltip.caligraphic\": \"Caligraphic\",\n\t\t\t\"tooltip.typewriter\": \"Typewriter\",\n\t\t\t\"tooltip.roman-upright\": \"Roman Upright\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"Font Style\",\n\t\t\t\"menu.accent\": \"Accent\",\n\t\t\t\"menu.decoration\": \"Decoration\",\n\t\t\t\"menu.color\": \"Color\",\n\t\t\t\"menu.background-color\": \"Background\",\n\t\t\t\"menu.evaluate\": \"Evaluate\",\n\t\t\t\"menu.simplify\": \"Simplify\",\n\t\t\t\"menu.solve\": \"Solve\",\n\t\t\t\"menu.solve-for\": \"Solve for %@\",\n\t\t\t\"menu.cut\": \"Cut\",\n\t\t\t\"menu.copy\": \"Copy\",\n\t\t\t\"menu.copy-as-latex\": \"Copy as LaTeX\",\n\t\t\t\"menu.copy-as-typst\": \"Copy as Typst\",\n\t\t\t\"menu.copy-as-ascii-math\": \"Copy as ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"Copy as MathML\",\n\t\t\t\"menu.paste\": \"Paste\",\n\t\t\t\"menu.select-all\": \"Select All\",\n\t\t\t\"color.red\": \"Red\",\n\t\t\t\"color.orange\": \"Orange\",\n\t\t\t\"color.yellow\": \"Yellow\",\n\t\t\t\"color.lime\": \"Lime\",\n\t\t\t\"color.green\": \"Green\",\n\t\t\t\"color.teal\": \"Teal\",\n\t\t\t\"color.cyan\": \"Cyan\",\n\t\t\t\"color.blue\": \"Blue\",\n\t\t\t\"color.indigo\": \"Indigo\",\n\t\t\t\"color.purple\": \"Purple\",\n\t\t\t\"color.magenta\": \"Magenta\",\n\t\t\t\"color.black\": \"Black\",\n\t\t\t\"color.dark-grey\": \"Dark Grey\",\n\t\t\t\"color.grey\": \"Grey\",\n\t\t\t\"color.light-grey\": \"Light Grey\",\n\t\t\t\"color.white\": \"White\"\n\t\t},\n\t\tar: {\n\t\t\t\"keyboard.tooltip.symbols\": \"حرف او رمز\",\n\t\t\t\"keyboard.tooltip.greek\": \"حروف يونانية\",\n\t\t\t\"keyboard.tooltip.numeric\": \"الرقمية\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"رموز الاحرف الرومانية\",\n\t\t\t\"tooltip.copy to clipboard\": \"نسخ إلى الحافظة\",\n\t\t\t\"tooltip.cut to clipboard\": \"قص إلى الحافظة\",\n\t\t\t\"tooltip.paste from clipboard\": \"لصق من الحافظة\",\n\t\t\t\"tooltip.redo\": \"الإعادة\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"تبديل لوحة المفاتيح الإفتراضية\",\n\t\t\t\"tooltip.undo\": \"إلغاء\",\n\t\t\t\"menu.insert matrix\": \"أدخل المصفوفة\",\n\t\t\t\"menu.borders\": \"محددات المصفوفة\",\n\t\t\t\"menu.array.add row above\": \"أضف صفًا بعد ذلك\",\n\t\t\t\"menu.array.add row below\": \"أضف الصف قبل\",\n\t\t\t\"menu.array.add column after\": \"أضف العمود بعد ذلك\",\n\t\t\t\"menu.array.add column before\": \"أضف العمود قبل\",\n\t\t\t\"menu.array.delete row\": \"احذف صف\",\n\t\t\t\"menu.array.delete rows\": \"حذف الصفوف المحددة\",\n\t\t\t\"menu.array.delete column\": \"حذف العمود\",\n\t\t\t\"menu.array.delete columns\": \"حذف الأعمدة المحددة\",\n\t\t\t\"menu.mode\": \"وضع\",\n\t\t\t\"menu.mode-math\": \"رياضيات\",\n\t\t\t\"menu.mode-text\": \"نص\",\n\t\t\t\"menu.mode-latex\": \"لاتكس\",\n\t\t\t\"tooltip.blackboard\": \"سبورة\",\n\t\t\t\"tooltip.bold\": \"عريض\",\n\t\t\t\"tooltip.italic\": \"مائل\",\n\t\t\t\"tooltip.fraktur\": \"فراكتور\",\n\t\t\t\"tooltip.script\": \"سكريبت\",\n\t\t\t\"tooltip.caligraphic\": \"كاليجرافيك\",\n\t\t\t\"tooltip.typewriter\": \"آلة كاتبة\",\n\t\t\t\"tooltip.roman-upright\": \"روماني مستقيم\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"نمط الخط\",\n\t\t\t\"menu.accent\": \"تشكيل\",\n\t\t\t\"menu.decoration\": \"زخرفة\",\n\t\t\t\"menu.color\": \"لون\",\n\t\t\t\"menu.background-color\": \"الخلفية\",\n\t\t\t\"menu.evaluate\": \"تقييم\",\n\t\t\t\"menu.simplify\": \"تبسيط\",\n\t\t\t\"menu.solve\": \"حل\",\n\t\t\t\"menu.solve-for\": \"حل لـ %@\",\n\t\t\t\"menu.cut\": \"قص\",\n\t\t\t\"menu.copy\": \"نسخ\",\n\t\t\t\"menu.copy-as-latex\": \"نسخ كـ LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"نسخ كـ ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"نسخ كـ MathML\",\n\t\t\t\"menu.paste\": \"لصق\",\n\t\t\t\"menu.select-all\": \"تحديد الكل\",\n\t\t\t\"color.red\": \"أحمر\",\n\t\t\t\"color.orange\": \"برتقالي\",\n\t\t\t\"color.yellow\": \"أصفر\",\n\t\t\t\"color.lime\": \"ليموني\",\n\t\t\t\"color.green\": \"أخضر\",\n\t\t\t\"color.teal\": \"سماوي\",\n\t\t\t\"color.cyan\": \"سماوي فاتح\",\n\t\t\t\"color.blue\": \"أزرق\",\n\t\t\t\"color.indigo\": \"نيلي\",\n\t\t\t\"color.purple\": \"بنفسجي\",\n\t\t\t\"color.magenta\": \"أرجواني\",\n\t\t\t\"color.black\": \"أسود\",\n\t\t\t\"color.dark-grey\": \"رمادي غامق\",\n\t\t\t\"color.grey\": \"رمادي\",\n\t\t\t\"color.light-grey\": \"رمادي فاتح\",\n\t\t\t\"color.white\": \"أبيض\"\n\t\t},\n\t\tde: {\n\t\t\t\"keyboard.tooltip.symbols\": \"Symbole\",\n\t\t\t\"keyboard.tooltip.greek\": \"Griechische Buchstaben\",\n\t\t\t\"keyboard.tooltip.numeric\": \"Numerisch\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"Römische Buchstaben\",\n\t\t\t\"tooltip.copy to clipboard\": \"In die Zwischenablage kopieren\",\n\t\t\t\"tooltip.redo\": \"Wiederholen\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"Virtuelle Tastatur umschalten\",\n\t\t\t\"tooltip.undo\": \"Widerrufen\",\n\t\t\t\"menu.insert matrix\": \"Matrix einfügen\",\n\t\t\t\"menu.borders\": \"Matrixtrennzeichen\",\n\t\t\t\"menu.array.add row above\": \"Zeile hinzufügen nach\",\n\t\t\t\"menu.array.add row below\": \"Zeile hinzufügen vor\",\n\t\t\t\"menu.array.add column after\": \"Spalte hinzufügen nach\",\n\t\t\t\"menu.array.add column before\": \"Spalte hinzufügen vor\",\n\t\t\t\"menu.array.delete row\": \"Zeile löschen\",\n\t\t\t\"menu.array.delete rows\": \"Ausgewählte Zeilen löschen\",\n\t\t\t\"menu.array.delete column\": \"Spalte löschen\",\n\t\t\t\"menu.array.delete columns\": \"Ausgewählte Spalten löschen\",\n\t\t\t\"menu.mode\": \"Modus\",\n\t\t\t\"menu.mode-math\": \"Mathematik\",\n\t\t\t\"menu.mode-text\": \"Text\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"Tafel\",\n\t\t\t\"tooltip.bold\": \"Fett\",\n\t\t\t\"tooltip.italic\": \"Kursiv\",\n\t\t\t\"tooltip.fraktur\": \"Fraktur\",\n\t\t\t\"tooltip.script\": \"Skript\",\n\t\t\t\"tooltip.caligraphic\": \"Kalligraphie\",\n\t\t\t\"tooltip.typewriter\": \"Schreibmaschine\",\n\t\t\t\"tooltip.roman-upright\": \"Römisch aufrecht\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"Schriftstil\",\n\t\t\t\"menu.accent\": \"Akzent\",\n\t\t\t\"menu.decoration\": \"Dekoration\",\n\t\t\t\"menu.color\": \"Farbe\",\n\t\t\t\"menu.background-color\": \"Hintergrund\",\n\t\t\t\"menu.evaluate\": \"Auswerten\",\n\t\t\t\"menu.simplify\": \"Vereinfachen\",\n\t\t\t\"menu.solve\": \"Lösen\",\n\t\t\t\"menu.solve-for\": \"Lösen für %@\",\n\t\t\t\"menu.cut\": \"Ausschneiden\",\n\t\t\t\"menu.copy\": \"Kopieren\",\n\t\t\t\"menu.copy-as-latex\": \"Als LaTeX kopieren\",\n\t\t\t\"menu.copy-as-ascii-math\": \"Als ASCII Math kopieren\",\n\t\t\t\"menu.copy-as-mathml\": \"Als MathML kopieren\",\n\t\t\t\"menu.paste\": \"Einfügen\",\n\t\t\t\"menu.select-all\": \"Alles auswählen\",\n\t\t\t\"color.red\": \"Rot\",\n\t\t\t\"color.orange\": \"Orange\",\n\t\t\t\"color.yellow\": \"Gelb\",\n\t\t\t\"color.lime\": \"Limette\",\n\t\t\t\"color.green\": \"Grün\",\n\t\t\t\"color.teal\": \"Blaugrün\",\n\t\t\t\"color.cyan\": \"Cyan\",\n\t\t\t\"color.blue\": \"Blau\",\n\t\t\t\"color.indigo\": \"Indigo\",\n\t\t\t\"color.purple\": \"Lila\",\n\t\t\t\"color.magenta\": \"Magenta\",\n\t\t\t\"color.black\": \"Schwarz\",\n\t\t\t\"color.dark-grey\": \"Dunkelgrau\",\n\t\t\t\"color.grey\": \"Grau\",\n\t\t\t\"color.light-grey\": \"Hellgrau\",\n\t\t\t\"color.white\": \"Weiß\"\n\t\t},\n\t\tel: {\n\t\t\t\"keyboard.tooltip.symbols\": \"σύμβολα\",\n\t\t\t\"keyboard.tooltip.greek\": \"ελληνικά γράμματα\",\n\t\t\t\"keyboard.tooltip.numeric\": \"Αριθμητικός\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"Ρωμαϊκά γράμματα\",\n\t\t\t\"tooltip.copy to clipboard\": \"Αντιγραφή στο πρόχειρο\",\n\t\t\t\"tooltip.redo\": \"Ξανακάνω\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"Εναλλαγή εικονικού πληκτρολογίου\",\n\t\t\t\"tooltip.undo\": \"Ξεκάνω\",\n\t\t\t\"menu.insert matrix\": \"Εισαγωγή μήτρα\",\n\t\t\t\"menu.borders\": \"Οριοθέτες μήτρα\",\n\t\t\t\"menu.array.add row above\": \"Προσθήκη σειράς μετά\",\n\t\t\t\"menu.array.add row below\": \"Προσθήκη σειράς πριν\",\n\t\t\t\"menu.array.add column after\": \"Προσθήκη στήλης μετά\",\n\t\t\t\"menu.array.add column before\": \"Προσθήκη στήλης πριν\",\n\t\t\t\"menu.array.delete row\": \"Διαγραφή σειράς\",\n\t\t\t\"menu.array.delete rows\": \"Διαγραφή επιλεγμένων σειρών\",\n\t\t\t\"menu.array.delete column\": \"Διαγραφή στήλης\",\n\t\t\t\"menu.array.delete columns\": \"Διαγραφή επιλεγμένων στηλών\",\n\t\t\t\"menu.mode\": \"Λειτουργία\",\n\t\t\t\"menu.mode-math\": \"Μαθηματικά\",\n\t\t\t\"menu.mode-text\": \"Κείμενο\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"Πίνακας\",\n\t\t\t\"tooltip.bold\": \"Έντονη\",\n\t\t\t\"tooltip.italic\": \"Πλάγια\",\n\t\t\t\"tooltip.fraktur\": \"Φράκτουρ\",\n\t\t\t\"tooltip.script\": \"Σενάριο\",\n\t\t\t\"tooltip.caligraphic\": \"Καλλιγραφική\",\n\t\t\t\"tooltip.typewriter\": \"Μηχανή γραφής\",\n\t\t\t\"tooltip.roman-upright\": \"Ρωμαϊκό Κατακόρυφο\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"Στυλ γραμματοσειράς\",\n\t\t\t\"menu.accent\": \"Τόνος\",\n\t\t\t\"menu.decoration\": \"Διακόσμηση\",\n\t\t\t\"menu.color\": \"Χρώμα\",\n\t\t\t\"menu.background-color\": \"Χρώμα φόντου\",\n\t\t\t\"menu.evaluate\": \"Αξιολόγηση\",\n\t\t\t\"menu.simplify\": \"Απλοποίηση\",\n\t\t\t\"menu.solve\": \"Λύση\",\n\t\t\t\"menu.solve-for\": \"Λύση για %@\",\n\t\t\t\"menu.cut\": \"Αποκοπή\",\n\t\t\t\"menu.copy\": \"Αντιγραφή\",\n\t\t\t\"menu.copy-as-latex\": \"Αντιγραφή ως LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"Αντιγραφή ως ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"Αντιγραφή ως MathML\",\n\t\t\t\"menu.paste\": \"Επικόλληση\",\n\t\t\t\"menu.select-all\": \"Επιλογή όλων\",\n\t\t\t\"color.red\": \"Κόκκινο\",\n\t\t\t\"color.orange\": \"Πορτοκαλί\",\n\t\t\t\"color.yellow\": \"Κίτρινο\",\n\t\t\t\"color.lime\": \"Λαχανί\",\n\t\t\t\"color.green\": \"Πράσινο\",\n\t\t\t\"color.teal\": \"Κυανό\",\n\t\t\t\"color.cyan\": \"Γαλάζιο\",\n\t\t\t\"color.blue\": \"Μπλε\",\n\t\t\t\"color.indigo\": \"Ινδικό\",\n\t\t\t\"color.purple\": \"Μωβ\",\n\t\t\t\"color.magenta\": \"Ματζέντα\",\n\t\t\t\"color.black\": \"Μαύρο\",\n\t\t\t\"color.dark-grey\": \"Σκούρο Γκρι\",\n\t\t\t\"color.grey\": \"Γκρι\",\n\t\t\t\"color.light-grey\": \"Ανοιχτό Γκρι\",\n\t\t\t\"color.white\": \"Λευκό\"\n\t\t},\n\t\tes: {\n\t\t\t\"keyboard.tooltip.symbols\": \"Símbolos\",\n\t\t\t\"keyboard.tooltip.greek\": \"Letras griegas\",\n\t\t\t\"keyboard.tooltip.numeric\": \"Numérico\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"Letras romanas\",\n\t\t\t\"tooltip.copy to clipboard\": \"Copiar al portapapeles\",\n\t\t\t\"tooltip.redo\": \"Rehacer\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"Alternar teclado virtual\",\n\t\t\t\"tooltip.undo\": \"Deshacer\",\n\t\t\t\"menu.insert matrix\": \"Añadir Matriz\",\n\t\t\t\"menu.borders\": \"Delimitadores de Matriz\",\n\t\t\t\"menu.array.add row above\": \"Añadir Línea Antes\",\n\t\t\t\"menu.array.add row below\": \"Añadir Línea Despues\",\n\t\t\t\"menu.array.add column after\": \"Añadir Columna Despues\",\n\t\t\t\"menu.array.add column before\": \"Añadir Columna Antes\",\n\t\t\t\"menu.array.delete row\": \"Borrar Línea\",\n\t\t\t\"menu.array.delete rows\": \"Borrar Líneas Seleccionadas\",\n\t\t\t\"menu.array.delete column\": \"Borrar Columna\",\n\t\t\t\"menu.array.delete columns\": \"Borrar Columnas Seleccionadas\",\n\t\t\t\"menu.mode\": \"Modo\",\n\t\t\t\"menu.mode-math\": \"Matemáticas\",\n\t\t\t\"menu.mode-text\": \"Texto\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"Pizarra\",\n\t\t\t\"tooltip.bold\": \"Negrita\",\n\t\t\t\"tooltip.italic\": \"Cursiva\",\n\t\t\t\"tooltip.fraktur\": \"Fraktur\",\n\t\t\t\"tooltip.script\": \"Script\",\n\t\t\t\"tooltip.caligraphic\": \"Caligráfico\",\n\t\t\t\"tooltip.typewriter\": \"Máquina de escribir\",\n\t\t\t\"tooltip.roman-upright\": \"Romano Vertical\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"Estilo de fuente\",\n\t\t\t\"menu.accent\": \"Acento\",\n\t\t\t\"menu.decoration\": \"Decoración\",\n\t\t\t\"menu.color\": \"Color\",\n\t\t\t\"menu.background-color\": \"Fondo\",\n\t\t\t\"menu.evaluate\": \"Evaluar\",\n\t\t\t\"menu.simplify\": \"Simplificar\",\n\t\t\t\"menu.solve\": \"Resolver\",\n\t\t\t\"menu.solve-for\": \"Resolver para %@\",\n\t\t\t\"menu.cut\": \"Cortar\",\n\t\t\t\"menu.copy\": \"Copiar\",\n\t\t\t\"menu.copy-as-latex\": \"Copiar como LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"Copiar como ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"Copiar como MathML\",\n\t\t\t\"menu.paste\": \"Pegar\",\n\t\t\t\"menu.select-all\": \"Seleccionar todo\",\n\t\t\t\"color.red\": \"Rojo\",\n\t\t\t\"color.orange\": \"Naranja\",\n\t\t\t\"color.yellow\": \"Amarillo\",\n\t\t\t\"color.lime\": \"Lima\",\n\t\t\t\"color.green\": \"Verde\",\n\t\t\t\"color.teal\": \"Verde azulado\",\n\t\t\t\"color.cyan\": \"Cian\",\n\t\t\t\"color.blue\": \"Azul\",\n\t\t\t\"color.indigo\": \"Índigo\",\n\t\t\t\"color.purple\": \"Morado\",\n\t\t\t\"color.magenta\": \"Magenta\",\n\t\t\t\"color.black\": \"Negro\",\n\t\t\t\"color.dark-grey\": \"Gris oscuro\",\n\t\t\t\"color.grey\": \"Gris\",\n\t\t\t\"color.light-grey\": \"Gris claro\",\n\t\t\t\"color.white\": \"Blanco\"\n\t\t},\n\t\tfr: {\n\t\t\t\"keyboard.tooltip.symbols\": \"Symboles\",\n\t\t\t\"keyboard.tooltip.greek\": \"Lettres grecques\",\n\t\t\t\"keyboard.tooltip.numeric\": \"Numérique\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"Lettres romaines\",\n\t\t\t\"tooltip.menu\": \"Menu\",\n\t\t\t\"tooltip.copy to clipboard\": \"Copier dans le presse-papiers\",\n\t\t\t\"tooltip.redo\": \"Rétablir\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"Afficher/Masquer le clavier virtuel\",\n\t\t\t\"tooltip.undo\": \"Annuler\",\n\t\t\t\"menu.insert matrix\": \"Insérer une Matrice\",\n\t\t\t\"menu.borders\": \"Bords\",\n\t\t\t\"menu.array.add row above\": \"Ajouter une Ligne Avant\",\n\t\t\t\"menu.array.add row below\": \"Ajouter une Ligne Après\",\n\t\t\t\"menu.array.add column before\": \"Ajouter une Colonne Avant\",\n\t\t\t\"menu.array.add column after\": \"Ajouter une Colonne Après\",\n\t\t\t\"menu.array.delete row\": \"Enlever une Ligne\",\n\t\t\t\"menu.array.delete rows\": \"Enlever les Lignes Sélectionées\",\n\t\t\t\"menu.array.delete column\": \"Enlever une Colone\",\n\t\t\t\"menu.array.delete columns\": \"Enlever les Colonnes Sélectionées\",\n\t\t\t\"menu.mode\": \"Mode\",\n\t\t\t\"menu.mode-math\": \"Math\",\n\t\t\t\"menu.mode-text\": \"Text\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"Tableau noir\",\n\t\t\t\"tooltip.bold\": \"Gras\",\n\t\t\t\"tooltip.italic\": \"Italique\",\n\t\t\t\"tooltip.fraktur\": \"Fraktur\",\n\t\t\t\"tooltip.script\": \"Script\",\n\t\t\t\"tooltip.caligraphic\": \"Calligraphique\",\n\t\t\t\"tooltip.typewriter\": \"Machine à écrire\",\n\t\t\t\"tooltip.roman-upright\": \"Romain droit\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"Style de police\",\n\t\t\t\"menu.accent\": \"Accent\",\n\t\t\t\"menu.decoration\": \"Décoration\",\n\t\t\t\"menu.color\": \"Couleur\",\n\t\t\t\"menu.background-color\": \"Arrière-plan\",\n\t\t\t\"menu.evaluate\": \"Évaluer\",\n\t\t\t\"menu.simplify\": \"Simplifier\",\n\t\t\t\"menu.solve\": \"Résoudre\",\n\t\t\t\"menu.solve-for\": \"Résoudre pour %@\",\n\t\t\t\"menu.cut\": \"Couper\",\n\t\t\t\"menu.copy\": \"Copier\",\n\t\t\t\"menu.copy-as-latex\": \"Copier en LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"Copier en ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"Copier en MathML\",\n\t\t\t\"menu.paste\": \"Coller\",\n\t\t\t\"menu.select-all\": \"Sélectionner tout\",\n\t\t\t\"color.red\": \"Rouge\",\n\t\t\t\"color.orange\": \"Orange\",\n\t\t\t\"color.yellow\": \"Jaune\",\n\t\t\t\"color.lime\": \"Citron vert\",\n\t\t\t\"color.green\": \"Vert\",\n\t\t\t\"color.teal\": \"Turquoise\",\n\t\t\t\"color.cyan\": \"Cyan\",\n\t\t\t\"color.blue\": \"Bleu\",\n\t\t\t\"color.indigo\": \"Indigo\",\n\t\t\t\"color.purple\": \"Violet\",\n\t\t\t\"color.magenta\": \"Magenta\",\n\t\t\t\"color.black\": \"Noir\",\n\t\t\t\"color.dark-grey\": \"Gris foncé\",\n\t\t\t\"color.grey\": \"Gris\",\n\t\t\t\"color.light-grey\": \"Gris clair\",\n\t\t\t\"color.white\": \"Blanc\"\n\t\t},\n\t\the: {\n\t\t\t\"keyboard.tooltip.symbols\": \"סמלים\",\n\t\t\t\"keyboard.tooltip.greek\": \"אותיות יווניות\",\n\t\t\t\"keyboard.tooltip.numeric\": \"מספרי\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"מכתבים רומיים\",\n\t\t\t\"tooltip.copy to clipboard\": \"העתק ללוח\",\n\t\t\t\"tooltip.redo\": \"לַעֲשׂוֹת שׁוּב\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"החלף את המקלדת הווירטואלית\",\n\t\t\t\"tooltip.undo\": \"לבטל\",\n\t\t\t\"menu.insert matrix\": \"הכנס מטריקס\",\n\t\t\t\"menu.borders\": \"מפרידי מטריקס\",\n\t\t\t\"menu.array.add row above\": \"הוסף שורה אחרי\",\n\t\t\t\"menu.array.add row below\": \"הוסף שורה לפני\",\n\t\t\t\"menu.array.add column after\": \"הוסף עמודה אחרי\",\n\t\t\t\"menu.array.add column before\": \"הוסף עמודה לפני\",\n\t\t\t\"menu.array.delete row\": \"מחק שורה\",\n\t\t\t\"menu.array.delete rows\": \"מחק שורות שנבחרו\",\n\t\t\t\"menu.array.delete column\": \"מחק עמודה\",\n\t\t\t\"menu.array.delete columns\": \"מחק עמודות שנבחרו\",\n\t\t\t\"menu.mode\": \"מצב\",\n\t\t\t\"menu.mode-math\": \"מתמטיקה\",\n\t\t\t\"menu.mode-text\": \"טקסט\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"לוח שחור\",\n\t\t\t\"tooltip.bold\": \"מודגש\",\n\t\t\t\"tooltip.italic\": \"נטוי\",\n\t\t\t\"tooltip.fraktur\": \"פרקטור\",\n\t\t\t\"tooltip.script\": \"כתב\",\n\t\t\t\"tooltip.caligraphic\": \"קליגרפי\",\n\t\t\t\"tooltip.typewriter\": \"מכונת כתיבה\",\n\t\t\t\"tooltip.roman-upright\": \"רומי ישר\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"סגנון גופן\",\n\t\t\t\"menu.accent\": \"צליל\",\n\t\t\t\"menu.decoration\": \"קישוט\",\n\t\t\t\"menu.color\": \"צבע\",\n\t\t\t\"menu.background-color\": \"רקע\",\n\t\t\t\"menu.evaluate\": \"חשב\",\n\t\t\t\"menu.simplify\": \"פשט\",\n\t\t\t\"menu.solve\": \"פתור\",\n\t\t\t\"menu.solve-for\": \"פתור עבור %@\",\n\t\t\t\"menu.cut\": \"גזור\",\n\t\t\t\"menu.copy\": \"העתק\",\n\t\t\t\"menu.copy-as-latex\": \"העתק כ־LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"העתק כ־ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"העתק כ־MathML\",\n\t\t\t\"menu.paste\": \"הדבק\",\n\t\t\t\"menu.select-all\": \"בחר הכל\",\n\t\t\t\"color.red\": \"אדום\",\n\t\t\t\"color.orange\": \"כתום\",\n\t\t\t\"color.yellow\": \"צהוב\",\n\t\t\t\"color.lime\": \"ירוק ליים\",\n\t\t\t\"color.green\": \"ירוק\",\n\t\t\t\"color.teal\": \"טיל\",\n\t\t\t\"color.cyan\": \"ציאן\",\n\t\t\t\"color.blue\": \"כחול\",\n\t\t\t\"color.indigo\": \"אינדיגו\",\n\t\t\t\"color.purple\": \"סגול\",\n\t\t\t\"color.magenta\": \"מגנטה\",\n\t\t\t\"color.black\": \"שחור\",\n\t\t\t\"color.dark-grey\": \"אפור כהה\",\n\t\t\t\"color.grey\": \"אפור\",\n\t\t\t\"color.light-grey\": \"אפור בהיר\",\n\t\t\t\"color.white\": \"לבן\"\n\t\t},\n\t\tit: {\n\t\t\t\"keyboard.tooltip.symbols\": \"Simboli\",\n\t\t\t\"keyboard.tooltip.greek\": \"Lettere greche\",\n\t\t\t\"keyboard.tooltip.numeric\": \"Numerico\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"Lettere romane\",\n\t\t\t\"tooltip.copy to clipboard\": \"Copia negli appunti\",\n\t\t\t\"tooltip.cut to clipboard\": \"Taglia negli appunti\",\n\t\t\t\"tooltip.paste from clipboard\": \"Incolla dagli appunti\",\n\t\t\t\"tooltip.redo\": \"Ripeti\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"Attiva/disattiva tastiera virtuale\",\n\t\t\t\"tooltip.menu\": \"Menu\",\n\t\t\t\"tooltip.undo\": \"Annulla\",\n\t\t\t\"menu.borders\": \"Delimitatori\",\n\t\t\t\"menu.insert matrix\": \"Inserisci matrice\",\n\t\t\t\"menu.array.add row above\": \"Aggiungi riga sopra\",\n\t\t\t\"menu.array.add row below\": \"Aggiungi riga sotto\",\n\t\t\t\"menu.array.add column after\": \"Aggiungi colonna dopo\",\n\t\t\t\"menu.array.add column before\": \"Aggiungi colonna prima\",\n\t\t\t\"menu.array.delete row\": \"Elimina riga\",\n\t\t\t\"menu.array.delete rows\": \"Elimina righe selezionate\",\n\t\t\t\"menu.array.delete column\": \"Elimina colonna\",\n\t\t\t\"menu.array.delete columns\": \"Elimina colonne selezionate\",\n\t\t\t\"menu.mode\": \"Modalità\",\n\t\t\t\"menu.mode-math\": \"Matematica\",\n\t\t\t\"menu.mode-text\": \"Testo\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"menu.insert\": \"Inserisci\",\n\t\t\t\"menu.insert.abs\": \"Valore assoluto\",\n\t\t\t\"menu.insert.abs-template\": \"\\\\left|x\\\\right|\",\n\t\t\t\"menu.insert.nth-root\": \"Radice n-esima\",\n\t\t\t\"menu.insert.nth-root-template\": \"\\\\sqrt[n]{x}\",\n\t\t\t\"menu.insert.log-base\": \"Logaritmo in base a\",\n\t\t\t\"menu.insert.log-base-template\": \"\\\\log_a(x)\",\n\t\t\t\"menu.insert.heading-calculus\": \"Calcolo\",\n\t\t\t\"menu.insert.derivative\": \"Derivata\",\n\t\t\t\"menu.insert.derivative-template\": \"\\\\dfrac{\\\\mathrm{d}}{\\\\mathrm{d}x}f(x)\\\\bigm|_{x=a}\",\n\t\t\t\"menu.insert.nth-derivative\": \"Derivata n-esima\",\n\t\t\t\"menu.insert.nth-derivative-template\": \"\\\\dfrac{\\\\mathrm{d}^n}{\\\\mathrm{d}x^n}f(x)\\\\bigm|_{x=a}\",\n\t\t\t\"menu.insert.integral\": \"Integrale\",\n\t\t\t\"menu.insert.integral-template\": \"$\\\\int_a^b f(x)\\\\,\\\\mathrm{d}x$\",\n\t\t\t\"menu.insert.sum\": \"Somma\",\n\t\t\t\"menu.insert.sum-template\": \"$\\\\sum_{i=1}^n x_i$\",\n\t\t\t\"menu.insert.product\": \"Prodotto\",\n\t\t\t\"menu.insert.product-template\": \"\\\\prod_{i=1}^n x_i\",\n\t\t\t\"menu.insert.heading-complex-numbers\": \"Numeri complessi\",\n\t\t\t\"menu.insert.modulus\": \"Modulo\",\n\t\t\t\"menu.insert.modulus-template\": \"\\\\lvert z \\\\rvert\",\n\t\t\t\"menu.insert.argument\": \"Argomento\",\n\t\t\t\"menu.insert.argument-template\": \"\\\\arg(z)\",\n\t\t\t\"menu.insert.real-part\": \"Parte reale\",\n\t\t\t\"menu.insert.real-part-template\": \"\\\\Re(z)\",\n\t\t\t\"menu.insert.imaginary-part\": \"Parte immaginaria\",\n\t\t\t\"menu.insert.imaginary-part-template\": \"\\\\Im(z)\",\n\t\t\t\"menu.insert.conjugate\": \"Coniugato\",\n\t\t\t\"menu.insert.conjugate-template\": \"\\\\overline{z}\",\n\t\t\t\"tooltip.blackboard\": \"Lavagna\",\n\t\t\t\"tooltip.bold\": \"Grassetto\",\n\t\t\t\"tooltip.italic\": \"Corsivo\",\n\t\t\t\"tooltip.fraktur\": \"Fraktur\",\n\t\t\t\"tooltip.script\": \"Script\",\n\t\t\t\"tooltip.caligraphic\": \"Calligrafico\",\n\t\t\t\"tooltip.typewriter\": \"Macchina da scrivere\",\n\t\t\t\"tooltip.roman-upright\": \"Romano diritto\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"Stile carattere\",\n\t\t\t\"menu.accent\": \"Accento\",\n\t\t\t\"menu.decoration\": \"Decorazione\",\n\t\t\t\"menu.color\": \"Colore\",\n\t\t\t\"menu.background-color\": \"Sfondo\",\n\t\t\t\"menu.evaluate\": \"Valuta\",\n\t\t\t\"menu.simplify\": \"Semplifica\",\n\t\t\t\"menu.solve\": \"Risolvi\",\n\t\t\t\"menu.solve-for\": \"Risolvi per %@\",\n\t\t\t\"menu.cut\": \"Taglia\",\n\t\t\t\"menu.copy\": \"Copia\",\n\t\t\t\"menu.copy-as-latex\": \"Copia come LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"Copia come ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"Copia come MathML\",\n\t\t\t\"menu.paste\": \"Incolla\",\n\t\t\t\"menu.select-all\": \"Seleziona tutto\",\n\t\t\t\"color.red\": \"Rosso\",\n\t\t\t\"color.orange\": \"Arancione\",\n\t\t\t\"color.yellow\": \"Giallo\",\n\t\t\t\"color.lime\": \"Lime\",\n\t\t\t\"color.green\": \"Verde\",\n\t\t\t\"color.teal\": \"Verde acqua\",\n\t\t\t\"color.cyan\": \"Ciano\",\n\t\t\t\"color.blue\": \"Blu\",\n\t\t\t\"color.indigo\": \"Indaco\",\n\t\t\t\"color.purple\": \"Viola\",\n\t\t\t\"color.magenta\": \"Magenta\",\n\t\t\t\"color.black\": \"Nero\",\n\t\t\t\"color.dark-grey\": \"Grigio scuro\",\n\t\t\t\"color.grey\": \"Grigio\",\n\t\t\t\"color.light-grey\": \"Grigio chiaro\",\n\t\t\t\"color.white\": \"Bianco\"\n\t\t},\n\t\tja: {\n\t\t\t\"keyboard.tooltip.symbols\": \"シンボル\",\n\t\t\t\"keyboard.tooltip.greek\": \"ギリシャ文字\",\n\t\t\t\"keyboard.tooltip.numeric\": \"数値\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"ローマ字\",\n\t\t\t\"tooltip.menu\": \"メニュー\",\n\t\t\t\"tooltip.copy to clipboard\": \"クリップボードにコピー\",\n\t\t\t\"tooltip.redo\": \"やり直し\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"仮想キーボードの切り替え\",\n\t\t\t\"tooltip.undo\": \"元に戻す\",\n\t\t\t\"menu.insert matrix\": \"マトリックスを挿入\",\n\t\t\t\"menu.borders\": \"行列区切り文字\",\n\t\t\t\"menu.array.add row above\": \"後に行を追加\",\n\t\t\t\"menu.array.add row below\": \"前に行を追加\",\n\t\t\t\"menu.array.add column after\": \"後に列を追加\",\n\t\t\t\"menu.array.add column before\": \"前に列を追加\",\n\t\t\t\"menu.array.delete row\": \"行を削除\",\n\t\t\t\"menu.array.delete rows\": \"選択した行を削除する\",\n\t\t\t\"menu.array.delete column\": \"列を削除\",\n\t\t\t\"menu.array.delete columns\": \"選択した列を削除する\",\n\t\t\t\"menu.mode\": \"モード\",\n\t\t\t\"menu.mode-math\": \"数式\",\n\t\t\t\"menu.mode-text\": \"テキスト\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"黒板\",\n\t\t\t\"tooltip.bold\": \"太字\",\n\t\t\t\"tooltip.italic\": \"イタリック\",\n\t\t\t\"tooltip.fraktur\": \"フラクトゥール\",\n\t\t\t\"tooltip.script\": \"スクリプト\",\n\t\t\t\"tooltip.caligraphic\": \"カリグラフィック\",\n\t\t\t\"tooltip.typewriter\": \"タイプライター\",\n\t\t\t\"tooltip.roman-upright\": \"ローマ直立\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"フォントスタイル\",\n\t\t\t\"menu.accent\": \"アクセント\",\n\t\t\t\"menu.decoration\": \"装飾\",\n\t\t\t\"menu.color\": \"色\",\n\t\t\t\"menu.background-color\": \"背景\",\n\t\t\t\"menu.evaluate\": \"評価\",\n\t\t\t\"menu.simplify\": \"簡略化\",\n\t\t\t\"menu.solve\": \"解く\",\n\t\t\t\"menu.solve-for\": \"%@ を解く\",\n\t\t\t\"menu.cut\": \"切り取り\",\n\t\t\t\"menu.copy\": \"コピー\",\n\t\t\t\"menu.copy-as-latex\": \"LaTeXとしてコピー\",\n\t\t\t\"menu.copy-as-ascii-math\": \"ASCII Mathとしてコピー\",\n\t\t\t\"menu.copy-as-mathml\": \"MathMLとしてコピー\",\n\t\t\t\"menu.paste\": \"貼り付け\",\n\t\t\t\"menu.select-all\": \"すべて選択\",\n\t\t\t\"color.red\": \"赤\",\n\t\t\t\"color.orange\": \"オレンジ\",\n\t\t\t\"color.yellow\": \"黄色\",\n\t\t\t\"color.lime\": \"ライム\",\n\t\t\t\"color.green\": \"緑\",\n\t\t\t\"color.teal\": \"ティール\",\n\t\t\t\"color.cyan\": \"シアン\",\n\t\t\t\"color.blue\": \"青\",\n\t\t\t\"color.indigo\": \"インディゴ\",\n\t\t\t\"color.purple\": \"紫\",\n\t\t\t\"color.magenta\": \"マゼンタ\",\n\t\t\t\"color.black\": \"黒\",\n\t\t\t\"color.dark-grey\": \"濃いグレー\",\n\t\t\t\"color.grey\": \"グレー\",\n\t\t\t\"color.light-grey\": \"薄いグレー\",\n\t\t\t\"color.white\": \"白\"\n\t\t},\n\t\tko: {\n\t\t\t\"keyboard.tooltip.symbols\": \"기호\",\n\t\t\t\"keyboard.tooltip.greek\": \"그리스 문자\",\n\t\t\t\"keyboard.tooltip.numeric\": \"숫자\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"로마 문자\",\n\t\t\t\"tooltip.copy to clipboard\": \"클립 보드에 복사\",\n\t\t\t\"tooltip.redo\": \"다시 실행\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"가상 키보드 전환\",\n\t\t\t\"tooltip.undo\": \"실행 취소\",\n\t\t\t\"menu.insert matrix\": \"행렬 삽입\",\n\t\t\t\"menu.borders\": \"행렬 구분 기호\",\n\t\t\t\"menu.array.add row above\": \"뒤에 행 추가\",\n\t\t\t\"menu.array.add row below\": \"앞에 행 추가\",\n\t\t\t\"menu.array.add column after\": \"뒤에 열 추가\",\n\t\t\t\"menu.array.add column before\": \"앞에 열 추가\",\n\t\t\t\"menu.array.delete row\": \"행 삭제\",\n\t\t\t\"menu.array.delete rows\": \"선택한 행 삭제\",\n\t\t\t\"menu.array.delete column\": \"열 삭제\",\n\t\t\t\"menu.array.delete columns\": \"선택한 열 삭제\",\n\t\t\t\"menu.mode\": \"모드\",\n\t\t\t\"menu.mode-math\": \"수식\",\n\t\t\t\"menu.mode-text\": \"텍스트\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"칠판\",\n\t\t\t\"tooltip.bold\": \"굵게\",\n\t\t\t\"tooltip.italic\": \"이탤릭\",\n\t\t\t\"tooltip.fraktur\": \"프랙투어\",\n\t\t\t\"tooltip.script\": \"첨자\",\n\t\t\t\"tooltip.caligraphic\": \"필기체\",\n\t\t\t\"tooltip.typewriter\": \"타자기\",\n\t\t\t\"tooltip.roman-upright\": \"일반 로마자\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"글꼴 스타일\",\n\t\t\t\"menu.accent\": \"발음 기호\",\n\t\t\t\"menu.decoration\": \"장식\",\n\t\t\t\"menu.color\": \"색상\",\n\t\t\t\"menu.background-color\": \"배경\",\n\t\t\t\"menu.evaluate\": \"평가\",\n\t\t\t\"menu.simplify\": \"간소화\",\n\t\t\t\"menu.solve\": \"해결\",\n\t\t\t\"menu.solve-for\": \"%@에 대해 해결\",\n\t\t\t\"menu.cut\": \"잘라내기\",\n\t\t\t\"menu.copy\": \"복사\",\n\t\t\t\"menu.copy-as-latex\": \"LaTeX로 복사\",\n\t\t\t\"menu.copy-as-ascii-math\": \"ASCIIMath로 복사\",\n\t\t\t\"menu.copy-as-mathml\": \"MathML로 복사\",\n\t\t\t\"menu.paste\": \"붙여넣기\",\n\t\t\t\"menu.select-all\": \"모두 선택\",\n\t\t\t\"color.red\": \"빨강\",\n\t\t\t\"color.orange\": \"주황\",\n\t\t\t\"color.yellow\": \"노랑\",\n\t\t\t\"color.lime\": \"라임\",\n\t\t\t\"color.green\": \"초록\",\n\t\t\t\"color.teal\": \"청록\",\n\t\t\t\"color.cyan\": \"청색\",\n\t\t\t\"color.blue\": \"파랑\",\n\t\t\t\"color.indigo\": \"남색\",\n\t\t\t\"color.purple\": \"보라\",\n\t\t\t\"color.magenta\": \"자홍\",\n\t\t\t\"color.black\": \"검정\",\n\t\t\t\"color.dark-grey\": \"진한 회색\",\n\t\t\t\"color.grey\": \"회색\",\n\t\t\t\"color.light-grey\": \"연한 회색\",\n\t\t\t\"color.white\": \"흰색\"\n\t\t},\n\t\tpl: {\n\t\t\t\"keyboard.tooltip.symbols\": \"Symbolika\",\n\t\t\t\"keyboard.tooltip.greek\": \"Litery greckie\",\n\t\t\t\"keyboard.tooltip.numeric\": \"Numeryczne\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"Litery rzymskie\",\n\t\t\t\"tooltip.copy to clipboard\": \"Kopiuj do Schowka\",\n\t\t\t\"tooltip.cut to clipboard\": \"Wytnij ze Schowka\",\n\t\t\t\"tooltip.paste from clipboard\": \"Wklej ze Schowka\",\n\t\t\t\"tooltip.redo\": \"Przywróć\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"Przełącz klawiaturę wirtualną\",\n\t\t\t\"tooltip.menu\": \"Menu\",\n\t\t\t\"tooltip.undo\": \"Cofnij\",\n\t\t\t\"menu.borders\": \"Ograniczniki macierzy\",\n\t\t\t\"menu.insert matrix\": \"Wstaw macierz\",\n\t\t\t\"menu.array.add row above\": \"Dodaj wiersz przed\",\n\t\t\t\"menu.array.add row below\": \"Dodaj wiersz po\",\n\t\t\t\"menu.array.add column after\": \"Dodaj kolumnę po\",\n\t\t\t\"menu.array.add column before\": \"Dodaj kolumnę przed\",\n\t\t\t\"menu.array.delete row\": \"Usuń wiersz\",\n\t\t\t\"menu.array.delete rows\": \"Usuń wybrane wiersze\",\n\t\t\t\"menu.array.delete column\": \"Usuń kolumnę\",\n\t\t\t\"menu.array.delete columns\": \"Usuń wybrane kolumny\",\n\t\t\t\"menu.mode\": \"Tryb\",\n\t\t\t\"menu.mode-math\": \"Formuła\",\n\t\t\t\"menu.mode-text\": \"Tekst\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"menu.insert\": \"Wstaw\",\n\t\t\t\"menu.insert.abs\": \"Wartość bezwzględna\",\n\t\t\t\"menu.insert.abs-template\": \"\\\\left|x\\\\right|\",\n\t\t\t\"menu.insert.nth-root\": \"Pierwiastek n-tego stopnia\",\n\t\t\t\"menu.insert.nth-root-template\": \"\\\\sqrt[n]{x}\",\n\t\t\t\"menu.insert.log-base\": \"Logarytm o podstawie a\",\n\t\t\t\"menu.insert.log-base-template\": \"\\\\log_a(x)\",\n\t\t\t\"menu.insert.heading-calculus\": \"Rachunek różniczkowy i całkowy\",\n\t\t\t\"menu.insert.derivative\": \"Pochodna\",\n\t\t\t\"menu.insert.derivative-template\": \"\\\\dfrac{\\\\mathrm{d}}{\\\\mathrm{d}x}f(x)\\\\bigm|_{x=a}\",\n\t\t\t\"menu.insert.nth-derivative\": \"Pochodna n-tego rzędu\",\n\t\t\t\"menu.insert.nth-derivative-template\": \"\\\\dfrac{\\\\mathrm{d}^n}{\\\\mathrm{d}x^n}f(x)\\\\bigm|_{x=a}\",\n\t\t\t\"menu.insert.integral\": \"Całka\",\n\t\t\t\"menu.insert.integral-template\": \"$\\\\int_a^b f(x)\\\\,\\\\mathrm{d}x$\",\n\t\t\t\"menu.insert.sum\": \"Suma\",\n\t\t\t\"menu.insert.sum-template\": \"$\\\\sum_{i=1}^n x_i$\",\n\t\t\t\"menu.insert.product\": \"Iloczyn\",\n\t\t\t\"menu.insert.product-template\": \"\\\\prod_{i=1}^n x_i\",\n\t\t\t\"menu.insert.heading-complex-numbers\": \"Liczby zespolone\",\n\t\t\t\"menu.insert.modulus\": \"Moduł\",\n\t\t\t\"menu.insert.modulus-template\": \"\\\\lvert z \\\\rvert\",\n\t\t\t\"menu.insert.argument\": \"Argument\",\n\t\t\t\"menu.insert.argument-template\": \"\\\\arg(z)\",\n\t\t\t\"menu.insert.real-part\": \"Część rzeczywista\",\n\t\t\t\"menu.insert.real-part-template\": \"\\\\Re(z)\",\n\t\t\t\"menu.insert.imaginary-part\": \"Część urojona\",\n\t\t\t\"menu.insert.imaginary-part-template\": \"\\\\Im(z)\",\n\t\t\t\"menu.insert.conjugate\": \"Sprzężenie\",\n\t\t\t\"menu.insert.conjugate-template\": \"\\\\overline{z}\",\n\t\t\t\"tooltip.blackboard\": \"Tablica\",\n\t\t\t\"tooltip.bold\": \"Pogrubienie\",\n\t\t\t\"tooltip.italic\": \"Kursywa\",\n\t\t\t\"tooltip.fraktur\": \"Fraktura\",\n\t\t\t\"tooltip.script\": \"Skrypt\",\n\t\t\t\"tooltip.caligraphic\": \"Kaligraficzny\",\n\t\t\t\"tooltip.typewriter\": \"Maszynowy\",\n\t\t\t\"tooltip.roman-upright\": \"Rzymski prosto\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"Styl czcionki\",\n\t\t\t\"menu.accent\": \"Akcent\",\n\t\t\t\"menu.decoration\": \"Dekoracja\",\n\t\t\t\"menu.color\": \"Kolor\",\n\t\t\t\"menu.background-color\": \"Tło\",\n\t\t\t\"menu.evaluate\": \"Oblicz\",\n\t\t\t\"menu.simplify\": \"Uprość\",\n\t\t\t\"menu.solve\": \"Rozwiąż\",\n\t\t\t\"menu.solve-for\": \"Rozwiąż dla %@\",\n\t\t\t\"menu.cut\": \"Wytnij\",\n\t\t\t\"menu.copy\": \"Kopiuj\",\n\t\t\t\"menu.copy-as-latex\": \"Kopiuj jako LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"Kopiuj jako ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"Kopiuj jako MathML\",\n\t\t\t\"menu.paste\": \"Wklej\",\n\t\t\t\"menu.select-all\": \"Zaznacz wszystko\",\n\t\t\t\"color.red\": \"Czerwony\",\n\t\t\t\"color.orange\": \"Pomarańczowy\",\n\t\t\t\"color.yellow\": \"Żółty\",\n\t\t\t\"color.lime\": \"Limetkowy\",\n\t\t\t\"color.green\": \"Zielony\",\n\t\t\t\"color.teal\": \"Turkusowy\",\n\t\t\t\"color.cyan\": \"Cyjan\",\n\t\t\t\"color.blue\": \"Niebieski\",\n\t\t\t\"color.indigo\": \"Indygo\",\n\t\t\t\"color.purple\": \"Fioletowy\",\n\t\t\t\"color.magenta\": \"Magenta\",\n\t\t\t\"color.black\": \"Czarny\",\n\t\t\t\"color.dark-grey\": \"Ciemnoszary\",\n\t\t\t\"color.grey\": \"Szary\",\n\t\t\t\"color.light-grey\": \"Jasnoszary\",\n\t\t\t\"color.white\": \"Biały\"\n\t\t},\n\t\tpt: {\n\t\t\t\"keyboard.tooltip.symbols\": \"Símbolos\",\n\t\t\t\"keyboard.tooltip.greek\": \"Letras gregas\",\n\t\t\t\"keyboard.tooltip.numeric\": \"Numérico\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"Letras romanas\",\n\t\t\t\"tooltip.copy to clipboard\": \"Copiar para área de transferência\",\n\t\t\t\"tooltip.redo\": \"Refazer\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"Alternar teclado virtual\",\n\t\t\t\"tooltip.undo\": \"Desfazer\",\n\t\t\t\"menu.insert matrix\": \"Inserir Matriz\",\n\t\t\t\"menu.borders\": \"Delimitadores de matriz\",\n\t\t\t\"menu.array.add row above\": \"Adicionar linha depois\",\n\t\t\t\"menu.array.add row below\": \"Adicionar linha antes\",\n\t\t\t\"menu.array.add column after\": \"Adicionar coluna depois\",\n\t\t\t\"menu.array.add column before\": \"Adicionar coluna antes\",\n\t\t\t\"menu.array.delete row\": \"Excluir linha\",\n\t\t\t\"menu.array.delete rows\": \"Excluir linhas selecionadas\",\n\t\t\t\"menu.array.delete column\": \"Apagar Coluna\",\n\t\t\t\"menu.array.delete columns\": \"Excluir Colunas Selecionadas\",\n\t\t\t\"menu.mode\": \"Modo\",\n\t\t\t\"menu.mode-math\": \"Fórmula\",\n\t\t\t\"menu.mode-text\": \"Texto\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"Quadro Negro\",\n\t\t\t\"tooltip.bold\": \"Negrito\",\n\t\t\t\"tooltip.italic\": \"Itálico\",\n\t\t\t\"tooltip.fraktur\": \"Fraktur\",\n\t\t\t\"tooltip.script\": \"Script\",\n\t\t\t\"tooltip.caligraphic\": \"Caligráfico\",\n\t\t\t\"tooltip.typewriter\": \"Máquina de Escrever\",\n\t\t\t\"tooltip.roman-upright\": \"Romano Vertical\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"Estilo da Fonte\",\n\t\t\t\"menu.accent\": \"Acento\",\n\t\t\t\"menu.decoration\": \"Decoração\",\n\t\t\t\"menu.color\": \"Cor\",\n\t\t\t\"menu.background-color\": \"Cor de Fundo\",\n\t\t\t\"menu.evaluate\": \"Avaliar\",\n\t\t\t\"menu.simplify\": \"Simplificar\",\n\t\t\t\"menu.solve\": \"Resolver\",\n\t\t\t\"menu.solve-for\": \"Resolver para %@\",\n\t\t\t\"menu.cut\": \"Recortar\",\n\t\t\t\"menu.copy\": \"Copiar\",\n\t\t\t\"menu.copy-as-latex\": \"Copiar como LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"Copiar como ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"Copiar como MathML\",\n\t\t\t\"menu.paste\": \"Colar\",\n\t\t\t\"menu.select-all\": \"Selecionar Tudo\",\n\t\t\t\"color.red\": \"Vermelho\",\n\t\t\t\"color.orange\": \"Laranja\",\n\t\t\t\"color.yellow\": \"Amarelo\",\n\t\t\t\"color.lime\": \"Verde Lima\",\n\t\t\t\"color.green\": \"Verde\",\n\t\t\t\"color.teal\": \"Verde-azulado\",\n\t\t\t\"color.cyan\": \"Ciano\",\n\t\t\t\"color.blue\": \"Azul\",\n\t\t\t\"color.indigo\": \"Índigo\",\n\t\t\t\"color.purple\": \"Roxo\",\n\t\t\t\"color.magenta\": \"Magenta\",\n\t\t\t\"color.black\": \"Preto\",\n\t\t\t\"color.dark-grey\": \"Cinza Escuro\",\n\t\t\t\"color.grey\": \"Cinza\",\n\t\t\t\"color.light-grey\": \"Cinza Claro\",\n\t\t\t\"color.white\": \"Branco\"\n\t\t},\n\t\tuk: {\n\t\t\t\"keyboard.tooltip.symbols\": \"Символи\",\n\t\t\t\"keyboard.tooltip.greek\": \"Грецькі літери\",\n\t\t\t\"keyboard.tooltip.numeric\": \"Числовий\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"Римські літери\",\n\t\t\t\"tooltip.copy to clipboard\": \"Копіювати в буфер обміну\",\n\t\t\t\"tooltip.cut to clipboard\": \"Вирізати в буфер обміну\",\n\t\t\t\"tooltip.paste from clipboard\": \"Вставити з буфера обміну\",\n\t\t\t\"tooltip.redo\": \"Повторити\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"Переключити віртуальну клавіатуру\",\n\t\t\t\"tooltip.menu\": \"Меню\",\n\t\t\t\"tooltip.undo\": \"Скасувати\",\n\t\t\t\"menu.borders\": \"Межі\",\n\t\t\t\"menu.insert matrix\": \"Вставити матрицю\",\n\t\t\t\"menu.array.add row above\": \"Додати рядок перед\",\n\t\t\t\"menu.array.add row below\": \"Додати рядок після\",\n\t\t\t\"menu.array.add column after\": \"Додати стовпець після\",\n\t\t\t\"menu.array.add column before\": \"Додати стовпець перед\",\n\t\t\t\"menu.array.delete row\": \"Видалити рядок\",\n\t\t\t\"menu.array.delete rows\": \"Видалити вибрані рядки\",\n\t\t\t\"menu.array.delete column\": \"Видалити стовпець\",\n\t\t\t\"menu.array.delete columns\": \"Видалити вибрані стовпці\",\n\t\t\t\"menu.mode\": \"Режим\",\n\t\t\t\"menu.mode-math\": \"Математика\",\n\t\t\t\"menu.mode-text\": \"Текст\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"menu.insert\": \"Вставити\",\n\t\t\t\"menu.insert.abs\": \"Абсолютне значення\",\n\t\t\t\"menu.insert.abs-template\": \"\\\\left|x\\\\right|\",\n\t\t\t\"menu.insert.nth-root\": \"Корінь n-го степеня\",\n\t\t\t\"menu.insert.nth-root-template\": \"\\\\sqrt[n]{x}\",\n\t\t\t\"menu.insert.log-base\": \"Логарифм за основою a\",\n\t\t\t\"menu.insert.log-base-template\": \"\\\\log_a(x)\",\n\t\t\t\"menu.insert.heading-calculus\": \"Обчислення\",\n\t\t\t\"menu.insert.derivative\": \"Похідна\",\n\t\t\t\"menu.insert.derivative-template\": \"\\\\dfrac{\\\\mathrm{d}}{\\\\mathrm{d}x}f(x)\\\\bigm|_{x=a}\",\n\t\t\t\"menu.insert.nth-derivative\": \"Похідна n-го порядку\",\n\t\t\t\"menu.insert.nth-derivative-template\": \"\\\\dfrac{\\\\mathrm{d}^n}{\\\\mathrm{d}x^n}f(x)\\\\bigm|_{x=a}\",\n\t\t\t\"menu.insert.integral\": \"Інтеграл\",\n\t\t\t\"menu.insert.integral-template\": \"$\\\\int_a^b f(x)\\\\,\\\\mathrm{d}x$\",\n\t\t\t\"menu.insert.sum\": \"Сума\",\n\t\t\t\"menu.insert.sum-template\": \"$\\\\sum_{i=1}^n x_i$\",\n\t\t\t\"menu.insert.product\": \"Добуток\",\n\t\t\t\"menu.insert.product-template\": \"\\\\prod_{i=1}^n x_i\",\n\t\t\t\"menu.insert.heading-complex-numbers\": \"Комплексні числа\",\n\t\t\t\"menu.insert.modulus\": \"Модуль\",\n\t\t\t\"menu.insert.modulus-template\": \"\\\\lvert z \\\\rvert\",\n\t\t\t\"menu.insert.argument\": \"Аргумент\",\n\t\t\t\"menu.insert.argument-template\": \"\\\\arg(z)\",\n\t\t\t\"menu.insert.real-part\": \"Дійсна частина\",\n\t\t\t\"menu.insert.real-part-template\": \"\\\\Re(z)\",\n\t\t\t\"menu.insert.imaginary-part\": \"Уявна частина\",\n\t\t\t\"menu.insert.imaginary-part-template\": \"\\\\Im(z)\",\n\t\t\t\"menu.insert.conjugate\": \"Спряжене число\",\n\t\t\t\"menu.insert.conjugate-template\": \"\\\\overline{z}\",\n\t\t\t\"tooltip.blackboard\": \"Дошка\",\n\t\t\t\"tooltip.bold\": \"Жирний\",\n\t\t\t\"tooltip.italic\": \"Курсив\",\n\t\t\t\"tooltip.fraktur\": \"Фрактурний\",\n\t\t\t\"tooltip.script\": \"Рукописний\",\n\t\t\t\"tooltip.caligraphic\": \"Каліграфічний\",\n\t\t\t\"tooltip.typewriter\": \"Друкарський\",\n\t\t\t\"tooltip.roman-upright\": \"Прямий римський\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"Стиль шрифту\",\n\t\t\t\"menu.accent\": \"Акцент\",\n\t\t\t\"menu.decoration\": \"Оформлення\",\n\t\t\t\"menu.color\": \"Колір\",\n\t\t\t\"menu.background-color\": \"Фон\",\n\t\t\t\"menu.evaluate\": \"Обчислити\",\n\t\t\t\"menu.simplify\": \"Спростити\",\n\t\t\t\"menu.solve\": \"Розв’язати\",\n\t\t\t\"menu.solve-for\": \"Розв’язати для %@\",\n\t\t\t\"menu.cut\": \"Вирізати\",\n\t\t\t\"menu.copy\": \"Копіювати\",\n\t\t\t\"menu.copy-as-latex\": \"Копіювати як LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"Копіювати як ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"Копіювати як MathML\",\n\t\t\t\"menu.paste\": \"Вставити\",\n\t\t\t\"menu.select-all\": \"Вибрати все\",\n\t\t\t\"color.red\": \"Червоний\",\n\t\t\t\"color.orange\": \"Помаранчевий\",\n\t\t\t\"color.yellow\": \"Жовтий\",\n\t\t\t\"color.lime\": \"Лаймовий\",\n\t\t\t\"color.green\": \"Зелений\",\n\t\t\t\"color.teal\": \"Бірюзовий\",\n\t\t\t\"color.cyan\": \"Синьо-зелений\",\n\t\t\t\"color.blue\": \"Синій\",\n\t\t\t\"color.indigo\": \"Індиго\",\n\t\t\t\"color.purple\": \"Фіолетовий\",\n\t\t\t\"color.magenta\": \"Пурпурний\",\n\t\t\t\"color.black\": \"Чорний\",\n\t\t\t\"color.dark-grey\": \"Темно-сірий\",\n\t\t\t\"color.grey\": \"Сірий\",\n\t\t\t\"color.light-grey\": \"Світло-сірий\",\n\t\t\t\"color.white\": \"Білий\"\n\t\t},\n\t\t\"zh-cn\": {\n\t\t\t\"keyboard.tooltip.symbols\": \"符号\",\n\t\t\t\"keyboard.tooltip.greek\": \"希腊字母\",\n\t\t\t\"keyboard.tooltip.numeric\": \"数字\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"罗马字母\",\n\t\t\t\"tooltip.copy to clipboard\": \"复制到剪贴板\",\n\t\t\t\"tooltip.redo\": \"重做\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"切换虚拟键盘\",\n\t\t\t\"tooltip.undo\": \"撤消\",\n\t\t\t\"menu.insert matrix\": \"插入矩阵\",\n\t\t\t\"menu.borders\": \"矩阵分隔符\",\n\t\t\t\"menu.array.add row above\": \"在后面添加行\",\n\t\t\t\"menu.array.add row below\": \"在前面添加行\",\n\t\t\t\"menu.array.add column after\": \"在后面添加列r\",\n\t\t\t\"menu.array.add column before\": \"在前面添加列\",\n\t\t\t\"menu.array.delete row\": \"删除行\",\n\t\t\t\"menu.array.delete rows\": \"删除选定行\",\n\t\t\t\"menu.array.delete column\": \"删除列\",\n\t\t\t\"menu.array.delete columns\": \"删除选定的列\",\n\t\t\t\"menu.mode\": \"模式\",\n\t\t\t\"menu.mode-math\": \"数学\",\n\t\t\t\"menu.mode-text\": \"文本\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"黑板\",\n\t\t\t\"tooltip.bold\": \"粗体\",\n\t\t\t\"tooltip.italic\": \"斜体\",\n\t\t\t\"tooltip.fraktur\": \"Fraktur\",\n\t\t\t\"tooltip.script\": \"脚本\",\n\t\t\t\"tooltip.caligraphic\": \"草书\",\n\t\t\t\"tooltip.typewriter\": \"打字机\",\n\t\t\t\"tooltip.roman-upright\": \"罗马直立\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"字体样式\",\n\t\t\t\"menu.accent\": \"重音\",\n\t\t\t\"menu.decoration\": \"装饰\",\n\t\t\t\"menu.color\": \"颜色\",\n\t\t\t\"menu.background-color\": \"背景\",\n\t\t\t\"menu.evaluate\": \"计算\",\n\t\t\t\"menu.simplify\": \"简化\",\n\t\t\t\"menu.solve\": \"求解\",\n\t\t\t\"menu.solve-for\": \"求解 %@\",\n\t\t\t\"menu.cut\": \"剪切\",\n\t\t\t\"menu.copy\": \"复制\",\n\t\t\t\"menu.copy-as-latex\": \"复制为 LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"复制为 ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"复制为 MathML\",\n\t\t\t\"menu.paste\": \"粘贴\",\n\t\t\t\"menu.select-all\": \"全选\",\n\t\t\t\"color.red\": \"红色\",\n\t\t\t\"color.orange\": \"橙色\",\n\t\t\t\"color.yellow\": \"黄色\",\n\t\t\t\"color.lime\": \"绿黄色\",\n\t\t\t\"color.green\": \"绿色\",\n\t\t\t\"color.teal\": \"青色\",\n\t\t\t\"color.cyan\": \"蓝绿色\",\n\t\t\t\"color.blue\": \"蓝色\",\n\t\t\t\"color.indigo\": \"靛蓝色\",\n\t\t\t\"color.purple\": \"紫色\",\n\t\t\t\"color.magenta\": \"洋红色\",\n\t\t\t\"color.black\": \"黑色\",\n\t\t\t\"color.dark-grey\": \"深灰色\",\n\t\t\t\"color.grey\": \"灰色\",\n\t\t\t\"color.light-grey\": \"浅灰色\",\n\t\t\t\"color.white\": \"白色\"\n\t\t},\n\t\t\"zh-tw\": {\n\t\t\t\"keyboard.tooltip.symbols\": \"符號\",\n\t\t\t\"keyboard.tooltip.greek\": \"希臘字母\",\n\t\t\t\"keyboard.tooltip.numeric\": \"數字\",\n\t\t\t\"keyboard.tooltip.alphabetic\": \"羅馬字母\",\n\t\t\t\"tooltip.copy to clipboard\": \"複製到剪貼板\",\n\t\t\t\"tooltip.redo\": \"重做\",\n\t\t\t\"tooltip.toggle virtual keyboard\": \"切換虛擬鍵盤\",\n\t\t\t\"tooltip.undo\": \"撤消\",\n\t\t\t\"menu.insert matrix\": \"插入矩陣\",\n\t\t\t\"menu.borders\": \"矩陣分隔符\",\n\t\t\t\"menu.array.add row above\": \"在後面添加行\",\n\t\t\t\"menu.array.add row below\": \"在前面添加行\",\n\t\t\t\"menu.array.add column after\": \"在後面添加列\",\n\t\t\t\"menu.array.add column before\": \"在前面添加列\",\n\t\t\t\"menu.array.delete row\": \"刪除行\",\n\t\t\t\"menu.array.delete rows\": \"刪除選定行\",\n\t\t\t\"menu.array.delete column\": \"刪除列\",\n\t\t\t\"menu.array.delete columns\": \"刪除選定的列\",\n\t\t\t\"menu.mode\": \"模式\",\n\t\t\t\"menu.mode-math\": \"數學\",\n\t\t\t\"menu.mode-text\": \"文本\",\n\t\t\t\"menu.mode-latex\": \"LaTeX\",\n\t\t\t\"tooltip.blackboard\": \"黑板\",\n\t\t\t\"tooltip.bold\": \"粗體\",\n\t\t\t\"tooltip.italic\": \"斜體\",\n\t\t\t\"tooltip.fraktur\": \"Fraktur\",\n\t\t\t\"tooltip.script\": \"腳本\",\n\t\t\t\"tooltip.caligraphic\": \"草書\",\n\t\t\t\"tooltip.typewriter\": \"打字機\",\n\t\t\t\"tooltip.roman-upright\": \"羅馬直立\",\n\t\t\t\"tooltip.row-by-col\": \"%@ × %@\",\n\t\t\t\"menu.font-style\": \"字體樣式\",\n\t\t\t\"menu.accent\": \"重音\",\n\t\t\t\"menu.decoration\": \"裝飾\",\n\t\t\t\"menu.color\": \"顏色\",\n\t\t\t\"menu.background-color\": \"背景\",\n\t\t\t\"menu.evaluate\": \"計算\",\n\t\t\t\"menu.simplify\": \"簡化\",\n\t\t\t\"menu.solve\": \"求解\",\n\t\t\t\"menu.solve-for\": \"求解 %@\",\n\t\t\t\"menu.cut\": \"剪下\",\n\t\t\t\"menu.copy\": \"複製\",\n\t\t\t\"menu.copy-as-latex\": \"複製為 LaTeX\",\n\t\t\t\"menu.copy-as-ascii-math\": \"複製為 ASCII Math\",\n\t\t\t\"menu.copy-as-mathml\": \"複製為 MathML\",\n\t\t\t\"menu.paste\": \"貼上\",\n\t\t\t\"menu.select-all\": \"全選\",\n\t\t\t\"color.red\": \"紅色\",\n\t\t\t\"color.orange\": \"橙色\",\n\t\t\t\"color.yellow\": \"黃色\",\n\t\t\t\"color.lime\": \"綠黃色\",\n\t\t\t\"color.green\": \"綠色\",\n\t\t\t\"color.teal\": \"青色\",\n\t\t\t\"color.cyan\": \"藍綠色\",\n\t\t\t\"color.blue\": \"藍色\",\n\t\t\t\"color.indigo\": \"靛藍色\",\n\t\t\t\"color.purple\": \"紫色\",\n\t\t\t\"color.magenta\": \"洋紅色\",\n\t\t\t\"color.black\": \"黑色\",\n\t\t\t\"color.dark-grey\": \"深灰色\",\n\t\t\t\"color.grey\": \"灰色\",\n\t\t\t\"color.light-grey\": \"淺灰色\",\n\t\t\t\"color.white\": \"白色\"\n\t\t}\n\t},\n\t_locale: \"\",\n\t_dirty: !1,\n\t_subscribers: [],\n\t_numberFormatter: void 0,\n\tget locale() {\n\t\treturn S._locale || (S._locale = d() ? navigator.language.slice(0, 5) : \"en-US\"), S._locale;\n\t},\n\tset locale(e) {\n\t\tS._locale = e, S._numberFormatter = void 0, S.dirty = !0;\n\t},\n\tget numberFormatter() {\n\t\tif (!S._numberFormatter) try {\n\t\t\tS._numberFormatter = new Intl.NumberFormat(S.locale);\n\t\t} catch {\n\t\t\ttry {\n\t\t\t\tS._numberFormatter = new Intl.NumberFormat(S.locale.slice(0, 2));\n\t\t\t} catch {\n\t\t\t\tS._numberFormatter = new Intl.NumberFormat(\"en-US\");\n\t\t\t}\n\t\t}\n\t\treturn S._numberFormatter;\n\t},\n\tmerge(e, t) {\n\t\tif (typeof e == \"string\" && t) S.strings[e] = s(s({}, S.strings[e]), t), S.dirty = !0;\n\t\telse for (let t of Object.keys(e)) S.merge(t, e[t]);\n\t},\n\tget dirty() {\n\t\treturn S._dirty;\n\t},\n\tset dirty(e) {\n\t\tS._dirty || S._dirty === e || (S._dirty = !0, setTimeout(() => {\n\t\t\tS._dirty = !1, this._subscribers.forEach((e) => e?.());\n\t\t}, 0));\n\t},\n\tsubscribe(e) {\n\t\treturn S._subscribers.push(e), S._subscribers.length - 1;\n\t},\n\tunsubscribe(e) {\n\t\te < 0 || e >= S._subscribers.length || (S._subscribers[e] = void 0);\n\t},\n\tupdate(e) {\n\t\tlet t = e.querySelectorAll(\"[data-l10n-tooltip]\");\n\t\tfor (let e of t) {\n\t\t\tlet t = e.getAttribute(\"data-l10n-tooltip\");\n\t\t\tif (t) {\n\t\t\t\tlet n = C(t);\n\t\t\t\tn && e.setAttribute(\"data-tooltip\", n);\n\t\t\t}\n\t\t}\n\t\tt = e.querySelectorAll(\"[data-l10n-arial-label]\");\n\t\tfor (let e of t) {\n\t\t\tlet t = e.getAttribute(\"data-l10n-arial-label\");\n\t\t\tif (t) {\n\t\t\t\tlet n = C(t);\n\t\t\t\tn && e.setAttribute(\"aria-label\", n);\n\t\t\t}\n\t\t}\n\t}\n};\nfunction C(e, ...t) {\n\tif (e === void 0) return;\n\tlet n = \"\", r = S.locale;\n\tS.strings[r] && (n = S.strings[r][e]);\n\tlet i = r.slice(0, 2);\n\tif (!n && S.strings[i] && (n = S.strings[i][e]), n || (n = S.strings.en[e]), !n) return;\n\tlet a = /(%@|%([0-9]+)\\$@)/g, o = a.exec(n), s = 0;\n\tfor (; o;) {\n\t\tif (t[s++]) {\n\t\t\tlet e = t[o[2] ? parseInt(o[2], 10) - 1 : s - 1];\n\t\t\ttypeof e == \"number\" && (e = S.numberFormatter.format(e)), n = n.replace(o[1], e);\n\t\t}\n\t\to = a.exec(n);\n\t}\n\treturn n = n.replace(/%%/g, \"%\"), n;\n}\nvar Ce = {\n\tm0: \"#3F3D99\",\n\tm1: \"#993D71\",\n\tm2: \"#998B3D\",\n\tm3: \"#3D9956\",\n\tm4: \"#3D5A99\",\n\tm5: \"#993D90\",\n\tm6: \"#996D3D\",\n\tm7: \"#43993D\",\n\tm8: \"#3D7999\",\n\tm9: \"#843D99\"\n}, we = {\n\tblue: \"#0072BD\",\n\torange: \"#D95319\",\n\tyellow: \"#EDB120\",\n\tpurple: \"#7E2F8E\",\n\tgreen: \"#77AC30\",\n\tcyan: \"#4DBEEE\",\n\tred: \"#A2142F\"\n}, Te = {\n\tred: \"#fbbbb6\",\n\torange: \"#ffe0c2\",\n\tyellow: \"#fff1c2\",\n\tlime: \"#d0e8b9\",\n\tgreen: \"#bceac4\",\n\tteal: \"#b9f1f1\",\n\tcyan: \"#b8e5c9\",\n\tblue: \"#b6d9fb\",\n\tindigo: \"#d1c2f0\",\n\tpurple: \"#e3baf8\",\n\tmagenta: \"#f9c8e0\",\n\tblack: \"#353535\",\n\t\"dark-grey\": \"#8C8C8C\",\n\tgrey: \"#D0D0D0\",\n\t\"light-grey\": \"#F0F0F0\",\n\twhite: \"#ffffff\"\n}, Ee = {\n\tred: \"#d7170b\",\n\torange: \"#fe8a2b\",\n\tyellow: \"#ffc02b\",\n\tlime: \"#63b215\",\n\tgreen: \"#21ba3a\",\n\tteal: \"#17cfcf\",\n\tcyan: \"#13a7ec\",\n\tblue: \"#0d80f2\",\n\tindigo: \"#63c\",\n\tpurple: \"#a219e6\",\n\tmagenta: \"#eb4799\",\n\tblack: \"#000\",\n\t\"dark-grey\": \"#666\",\n\tgrey: \"#A6A6A6\",\n\t\"light-grey\": \"#d4d5d2\",\n\twhite: \"#ffffff\"\n}, De = {\n\tRed: \"red\",\n\tOrange: \"orange\",\n\tYellow: \"yellow\",\n\tLimeGreen: \"lime\",\n\tGreen: \"green\",\n\tTealBlue: \"teal\",\n\tBlue: \"blue\",\n\tViolet: \"indigo\",\n\tPurple: \"purple\",\n\tMagenta: \"magenta\",\n\tBlack: \"black\",\n\tGray: \"grey\",\n\tWhite: \"white\"\n}, Oe = {\n\tApricot: \"#FBB982\",\n\tAquamarine: \"#00B5BE\",\n\tBittersweet: \"#C04F17\",\n\tBlack: \"#221E1F\",\n\tBlue: \"#2D2F92\",\n\tBlueGreen: \"#00B3B8\",\n\tBlueViolet: \"#473992\",\n\tBrickRed: \"#B6321C\",\n\tBrown: \"#792500\",\n\tBurntOrange: \"#F7921D\",\n\tCadetBlue: \"#74729A\",\n\tCarnationPink: \"#F282B4\",\n\tCerulean: \"#00A2E3\",\n\tCornflowerBlue: \"#41B0E4\",\n\tCyan: \"#00AEEF\",\n\tDandelion: \"#FDBC42\",\n\tDarkOrchid: \"#A4538A\",\n\tEmerald: \"#00A99D\",\n\tForestGreen: \"#009B55\",\n\tFuchsia: \"#8C368C\",\n\tGoldenrod: \"#FFDF42\",\n\tGray: \"#949698\",\n\tGreen: \"#00A64F\",\n\tGreenYellow: \"#DFE674\",\n\tJungleGreen: \"#00A99A\",\n\tLavender: \"#F49EC4\",\n\tLimegreen: \"#8DC73E\",\n\tMagenta: \"#EC008C\",\n\tMahogany: \"#A9341F\",\n\tMaroon: \"#AF3235\",\n\tMelon: \"#F89E7B\",\n\tMidnightBlue: \"#006795\",\n\tMulberry: \"#A93C93\",\n\tNavyBlue: \"#006EB8\",\n\tOliveGreen: \"#3C8031\",\n\tOrange: \"#F58137\",\n\tOrangeRed: \"#ED135A\",\n\tOrchid: \"#AF72B0\",\n\tPeach: \"#F7965A\",\n\tPeriwinkle: \"#7977B8\",\n\tPineGreen: \"#008B72\",\n\tPlum: \"#92268F\",\n\tProcessBlue: \"#00B0F0\",\n\tPurple: \"#99479B\",\n\tRawSienna: \"#974006\",\n\tRed: \"#ED1B23\",\n\tRedOrange: \"#F26035\",\n\tRedViolet: \"#A1246B\",\n\tRhodamine: \"#EF559F\",\n\tRoyalBlue: \"#0071BC\",\n\tRoyalPurple: \"#613F99\",\n\tRubineRed: \"#ED017D\",\n\tSalmon: \"#F69289\",\n\tSeaGreen: \"#3FBC9D\",\n\tSepia: \"#671800\",\n\tSkyBlue: \"#46C5DD\",\n\tSpringGreen: \"#C6DC67\",\n\tTan: \"#DA9D76\",\n\tTealBlue: \"#00AEB3\",\n\tThistle: \"#D883B7\",\n\tTurquoise: \"#00B4CE\",\n\tViolet: \"#58429B\",\n\tVioletRed: \"#EF58A0\",\n\tWhite: \"#FFFFFF\",\n\tWildStrawberry: \"#EE2967\",\n\tYellow: \"#FFF200\",\n\tYellowGreen: \"#98CC70\",\n\tYellowOrange: \"#FAA21A\"\n};\nfunction ke(e) {\n\tvar t;\n\tlet n = e.split(\"!\"), r, i, a, o = 255, s = 255, c = 255, l = -1, u = n.length > 0 && n[0].startsWith(\"-\");\n\tu && (n[0] = n[0].slice(1));\n\tfor (let e = 0; e < n.length; e++) {\n\t\tr = o, i = s, a = c;\n\t\tlet u = n[e].trim().match(/^([A-Za-z\\d-]+)/)?.[1], d = u?.toLowerCase(), f = u && (t = Ee[d] ?? Ee[De[u]] ?? we[u] ?? Oe[u] ?? Ce[u]) != null ? t : n[e].trim(), p = f.match(/^#([\\da-f]{2})([\\da-f]{2})([\\da-f]{2})$/i);\n\t\tif (p != null && p[1] && p[2] && p[3]) o = Math.max(0, Math.min(255, Number.parseInt(p[1], 16))), s = Math.max(0, Math.min(255, Number.parseInt(p[2], 16))), c = Math.max(0, Math.min(255, Number.parseInt(p[3], 16)));\n\t\telse if (p = f.match(/^#([\\da-f]{3})$/i), p != null && p[1]) {\n\t\t\tlet e = Number.parseInt(p[1][0], 16), t = Number.parseInt(p[1][1], 16), n = Number.parseInt(p[1][2], 16);\n\t\t\to = Math.max(0, Math.min(255, e * 16 + e)), s = Math.max(0, Math.min(255, t * 16 + t)), c = Math.max(0, Math.min(255, n * 16 + n));\n\t\t} else if (p = f.match(/^rgb\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)$/i), p != null && p[1] && p[2] && p[3]) o = Math.max(0, Math.min(255, Number.parseInt(p[1]))), s = Math.max(0, Math.min(255, Number.parseInt(p[2]))), c = Math.max(0, Math.min(255, Number.parseInt(p[3])));\n\t\telse return;\n\t\tl >= 0 && (o = (1 - l) * o + l * r, s = (1 - l) * s + l * i, c = (1 - l) * c + l * a, l = -1), e + 1 < n.length && (l = Math.max(0, Math.min(100, Number.parseInt(n[++e]))) / 100);\n\t}\n\treturn l >= 0 && (o = l * o + (1 - l) * r, s = l * s + (1 - l) * i, c = l * c + (1 - l) * a), u && (o = 255 - o, s = 255 - s, c = 255 - c), \"#\" + (\"00\" + Math.round(o).toString(16)).slice(-2) + (\"00\" + Math.round(s).toString(16)).slice(-2) + (\"00\" + Math.round(c).toString(16)).slice(-2);\n}\nfunction Ae(e) {\n\treturn e = e.trim(), Te[e.toLowerCase()] ?? Te[De[e]] ?? ke(e);\n}\nfunction je(e) {\n\tif (!e || e[0] !== \"#\") return;\n\te = e.slice(1);\n\tlet t;\n\treturn e.length <= 4 ? (t = {\n\t\tr: parseInt(e[0] + e[0], 16),\n\t\tg: parseInt(e[1] + e[1], 16),\n\t\tb: parseInt(e[2] + e[2], 16)\n\t}, e.length === 4 && (t.a = parseInt(e[3] + e[3], 16) / 255)) : (t = {\n\t\tr: parseInt(e[0] + e[1], 16),\n\t\tg: parseInt(e[2] + e[3], 16),\n\t\tb: parseInt(e[4] + e[5], 16)\n\t}, e.length === 8 && (t.a = parseInt(e[6] + e[7], 16) / 255)), t && t.a === void 0 && (t.a = 1), t;\n}\nfunction Me(e, t, n) {\n\treturn n < 0 && (n += 6), n >= 6 && (n -= 6), n < 1 ? (t - e) * n + e : n < 3 ? t : n < 4 ? (t - e) * (4 - n) + e : e;\n}\nfunction Ne(e) {\n\tlet [t, n, r] = [\n\t\te.h,\n\t\te.s,\n\t\te.l\n\t];\n\tt = (t + 360) % 360 / 60, r = Math.max(0, Math.min(r, 1)), n = Math.max(0, Math.min(n, 1));\n\tlet i = r <= .5 ? r * (n + 1) : r + n - r * n, a = r * 2 - i;\n\treturn {\n\t\tr: Math.round(255 * Me(a, i, t + 2)),\n\t\tg: Math.round(255 * Me(a, i, t)),\n\t\tb: Math.round(255 * Me(a, i, t - 2))\n\t};\n}\nfunction Pe(e) {\n\treturn e < 0 ? 0 : e > 255 ? 255 : Math.round(e);\n}\nfunction Fe(e) {\n\tlet { r: t, g: n, b: r } = e, i = ((1 << 24) + (Pe(t) << 16) + (Pe(n) << 8) + Pe(r)).toString(16).slice(1);\n\treturn i[0] === i[1] && i[2] === i[3] && i[4] === i[5] && i[6] === i[7] && (i = i[0] + i[2] + i[4]), \"#\" + i;\n}\nfunction Ie(e) {\n\tlet { r: t, g: n, b: r } = e;\n\tt /= 255, n /= 255, r /= 255;\n\tlet i = Math.min(t, n, r), a = Math.max(t, n, r), o = a - i, s, c;\n\ta === i ? s = 0 : t === a ? s = (n - r) / o : n === a ? s = 2 + (r - t) / o : r === a && (s = 4 + (t - n) / o), s = Math.min(s * 60, 360), s < 0 && (s += 360);\n\tlet l = (i + a) / 2;\n\treturn c = a === i ? 0 : l <= .5 ? o / (a + i) : o / (2 - a - i), {\n\t\th: s,\n\t\ts: c,\n\t\tl\n\t};\n}\nfunction Le(e) {\n\tlet t = je(e);\n\tif (!t) return e;\n\tlet { h: n, s: r, l: i } = Ie(t);\n\treturn r += .1, i -= .1, Fe(Ne({\n\t\th: n,\n\t\ts: r,\n\t\tl: i\n\t}));\n}\nvar Re = {\n\t60: \"\\\\lt\",\n\t62: \"\\\\gt\",\n\t111: \"o\",\n\t38: \"\\\\&\",\n\t123: \"\\\\lbrace\",\n\t125: \"\\\\rbrace\",\n\t91: \"\\\\lbrack\",\n\t93: \"\\\\rbrack\",\n\t58: \"\\\\colon\",\n\t160: \"~\",\n\t172: \"\\\\neg\",\n\t183: \"\\\\cdot\",\n\t188: \"\\\\frac{1}{4}\",\n\t189: \"\\\\frac{1}{2}\",\n\t190: \"\\\\frac{3}{4}\",\n\t8304: \"^{0}\",\n\t8305: \"^{i}\",\n\t185: \"^{1}\",\n\t178: \"^{2}\",\n\t179: \"^{3}\",\n\t8224: \"\\\\dagger\",\n\t8225: \"\\\\ddagger\",\n\t8230: \"\\\\ldots\",\n\t8308: \"^{4}\",\n\t8309: \"^{5}\",\n\t8310: \"^{6}\",\n\t8311: \"^{7}\",\n\t8312: \"^{8}\",\n\t8313: \"^{9}\",\n\t8314: \"^{+}\",\n\t8315: \"^{-}\",\n\t8316: \"^{=}\",\n\t8319: \"^{n}\",\n\t8320: \"_{0}\",\n\t8321: \"_{1}\",\n\t8322: \"_{2}\",\n\t8323: \"_{3}\",\n\t8324: \"_{4}\",\n\t8325: \"_{5}\",\n\t8326: \"_{6}\",\n\t8327: \"_{7}\",\n\t8328: \"_{8}\",\n\t8329: \"_{9}\",\n\t8330: \"_{+}\",\n\t8331: \"_{-}\",\n\t8332: \"_{=}\",\n\t8336: \"_{a}\",\n\t8337: \"_{e}\",\n\t8338: \"_{o}\",\n\t8339: \"_{x}\",\n\t8242: \"\\\\prime\",\n\t39: \"\\\\prime\",\n\t8592: \"\\\\gets\",\n\t8594: \"\\\\to\",\n\t9651: \"\\\\triangle\",\n\t9661: \"\\\\triangledown\",\n\t8715: \"\\\\owns\",\n\t8727: \"\\\\ast\",\n\t8739: \"\\\\vert\",\n\t8741: \"\\\\Vert\",\n\t8743: \"\\\\land\",\n\t8744: \"\\\\lor\",\n\t8901: \"\\\\cdot\",\n\t8904: \"\\\\bowtie\",\n\t8800: \"\\\\ne\",\n\t8804: \"\\\\le\",\n\t8805: \"\\\\ge\",\n\t8869: \"\\\\bot\",\n\t10178: \"\\\\perp\",\n\t10231: \"\\\\biconditional\",\n\t10232: \"\\\\impliedby\",\n\t10233: \"\\\\implies\",\n\t10234: \"\\\\iff\",\n\t8450: \"\\\\mathbb{C}\",\n\t8469: \"\\\\mathbb{N}\",\n\t8473: \"\\\\mathbb{P}\",\n\t8474: \"\\\\mathbb{Q}\",\n\t8477: \"\\\\mathbb{R}\",\n\t8484: \"\\\\mathbb{Z}\",\n\t8461: \"\\\\mathbb{H}\",\n\t8476: \"\\\\Re\",\n\t8465: \"\\\\Im\",\n\t42: \"\\\\ast\",\n\t11036: \"\\\\square\",\n\t9633: \"\\\\square\",\n\t8720: \"\\\\coprod\",\n\t8716: \"\\\\not\\\\ni\",\n\t9671: \"\\\\diamond\",\n\t8846: \"\\\\uplus\",\n\t8851: \"\\\\sqcap\",\n\t8852: \"\\\\sqcup\",\n\t8768: \"\\\\wr\",\n\t8750: \"\\\\oint\",\n\t8226: \"\\\\textbullet\",\n\t8722: \"-\",\n\t978: \"\\\\Upsilon\"\n}, ze = {\n\t119893: 8462,\n\t119965: 8492,\n\t119968: 8496,\n\t119969: 8497,\n\t119971: 8459,\n\t119972: 8464,\n\t119975: 8466,\n\t119976: 8499,\n\t119981: 8475,\n\t119994: 8495,\n\t119996: 8458,\n\t120004: 8500,\n\t120070: 8493,\n\t120075: 8460,\n\t120076: 8465,\n\t120085: 8476,\n\t120093: 8488,\n\t120122: 8450,\n\t120127: 8461,\n\t120133: 8469,\n\t120135: 8473,\n\t120136: 8474,\n\t120137: 8477,\n\t120145: 8484\n}, Be = [\n\t{\n\t\tstart: 119808,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 119834,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120488,\n\t\tlen: 25,\n\t\toffset: 913,\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120514,\n\t\tlen: 25,\n\t\toffset: 945,\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 119860,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tstyle: \"italic\"\n\t},\n\t{\n\t\tstart: 119886,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tstyle: \"italic\"\n\t},\n\t{\n\t\tstart: 120546,\n\t\tlen: 25,\n\t\toffset: 913,\n\t\tstyle: \"italic\"\n\t},\n\t{\n\t\tstart: 120572,\n\t\tlen: 25,\n\t\toffset: 945,\n\t\tstyle: \"italic\"\n\t},\n\t{\n\t\tstart: 119912,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tstyle: \"bolditalic\"\n\t},\n\t{\n\t\tstart: 119938,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tstyle: \"bolditalic\"\n\t},\n\t{\n\t\tstart: 120604,\n\t\tlen: 25,\n\t\toffset: 913,\n\t\tstyle: \"bolditalic\"\n\t},\n\t{\n\t\tstart: 120630,\n\t\tlen: 25,\n\t\toffset: 945,\n\t\tstyle: \"bolditalic\"\n\t},\n\t{\n\t\tstart: 120782,\n\t\tlen: 10,\n\t\toffset: 48,\n\t\tvariant: \"main\",\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 119964,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"script\"\n\t},\n\t{\n\t\tstart: 119990,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"script\"\n\t},\n\t{\n\t\tstart: 120016,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"script\",\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120042,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"script\",\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120068,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"fraktur\"\n\t},\n\t{\n\t\tstart: 120094,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"fraktur\"\n\t},\n\t{\n\t\tstart: 120172,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"fraktur\",\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120198,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"fraktur\",\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120120,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"double-struck\"\n\t},\n\t{\n\t\tstart: 120146,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"double-struck\"\n\t},\n\t{\n\t\tstart: 120792,\n\t\tlen: 10,\n\t\toffset: 48,\n\t\tvariant: \"double-struck\"\n\t},\n\t{\n\t\tstart: 120432,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"monospace\"\n\t},\n\t{\n\t\tstart: 120458,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"monospace\"\n\t},\n\t{\n\t\tstart: 120822,\n\t\tlen: 10,\n\t\toffset: 48,\n\t\tvariant: \"monospace\"\n\t},\n\t{\n\t\tstart: 120224,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"sans-serif\"\n\t},\n\t{\n\t\tstart: 120250,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"sans-serif\"\n\t},\n\t{\n\t\tstart: 120276,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120302,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120328,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"italic\"\n\t},\n\t{\n\t\tstart: 120354,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"italic\"\n\t},\n\t{\n\t\tstart: 120380,\n\t\tlen: 26,\n\t\toffset: 65,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"bolditalic\"\n\t},\n\t{\n\t\tstart: 120406,\n\t\tlen: 26,\n\t\toffset: 97,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"bolditalic\"\n\t},\n\t{\n\t\tstart: 120662,\n\t\tlen: 25,\n\t\toffset: 913,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120688,\n\t\tlen: 25,\n\t\toffset: 945,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"bold\"\n\t},\n\t{\n\t\tstart: 120720,\n\t\tlen: 25,\n\t\toffset: 913,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"bolditalic\"\n\t},\n\t{\n\t\tstart: 120746,\n\t\tlen: 25,\n\t\toffset: 945,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"bolditalic\"\n\t},\n\t{\n\t\tstart: 120803,\n\t\tlen: 10,\n\t\toffset: 48,\n\t\tvariant: \"sans-serif\"\n\t},\n\t{\n\t\tstart: 120812,\n\t\tlen: 10,\n\t\toffset: 48,\n\t\tvariant: \"sans-serif\",\n\t\tstyle: \"bold\"\n\t}\n];\nfunction Ve(e, t, n) {\n\tif (!/[A-Za-z\\d]/.test(e) || (n === \"up\" && (n = void 0), !t && !n)) return;\n\tlet r = e.codePointAt(0);\n\tif (r === void 0) return e;\n\tfor (let e of Be) if ((!t || e.variant === t) && (!n || e.style === n) && r >= e.offset && r < e.offset + e.len) {\n\t\tlet t = e.start + r - e.offset;\n\t\treturn String.fromCodePoint(ze[t] || t);\n\t}\n}\nfunction He(e) {\n\tif ((e < 119808 || e > 120831) && (e < 8448 || e > 8527)) return { char: String.fromCodePoint(e) };\n\tfor (let t in ze) if (ze[t] === e) {\n\t\te = t.codePointAt(0) ?? 0;\n\t\tbreak;\n\t}\n\tfor (let t of Be) if (e >= t.start && e < t.start + t.len) return {\n\t\tchar: String.fromCodePoint(e - t.start + t.offset),\n\t\tvariant: t.variant,\n\t\tstyle: t.style\n\t};\n\treturn { char: String.fromCodePoint(e) };\n}\nfunction Ue(e) {\n\tif (\"{}<>[]$&*#^_%:'˜\".includes(e) || e.length > 1) return;\n\tlet t = e.codePointAt(0) ?? 0, n = Re[t];\n\tif (n) return n;\n\tlet { char: r, variant: i, style: a } = He(t);\n\tif (!(!i && !a)) {\n\t\tswitch (n = r, i) {\n\t\t\tcase \"double-struck\":\n\t\t\t\tn = `\\\\mathbb{${n}}`;\n\t\t\t\tbreak;\n\t\t\tcase \"fraktur\":\n\t\t\t\tn = `\\\\mathfrak{${n}}`;\n\t\t\t\tbreak;\n\t\t\tcase \"script\":\n\t\t\t\tn = `\\\\mathscr{${n}}`;\n\t\t\t\tbreak;\n\t\t\tcase \"sans-serif\":\n\t\t\t\tn = `\\\\mathsf{${n}}`;\n\t\t\t\tbreak;\n\t\t\tcase \"monospace\":\n\t\t\t\tn = `\\\\mathtt{${n}}`;\n\t\t\t\tbreak;\n\t\t\tcase \"calligraphic\": n = `\\\\mathcal{${n}}`;\n\t\t}\n\t\tswitch (a) {\n\t\t\tcase \"bold\":\n\t\t\t\tn = `\\\\mathbf{${n}}`;\n\t\t\t\tbreak;\n\t\t\tcase \"italic\":\n\t\t\t\tn = `\\\\mathit{${n}}`;\n\t\t\t\tbreak;\n\t\t\tcase \"bolditalic\": n = `\\\\mathbfit{${n}}`;\n\t\t}\n\t\treturn n;\n\t}\n}\nfunction w(e) {\n\treturn e ? Array.isArray(e) ? e : typeof e == \"object\" && \"group\" in e ? e.group : [] : [];\n}\nvar We = {}, Ge = s({}, Re), Ke = {}, qe = {}, Je = {\n\tstrut: {\n\t\tprimitive: !0,\n\t\tdef: \"\\\\phantom{\\\\rule[0.3\\\\baselineskip]{0}{0.7\\\\baselineskip}}\",\n\t\targs: 0,\n\t\tcaptureSelection: !0\n\t},\n\tiff: {\n\t\tprimitive: !0,\n\t\tcaptureSelection: !0,\n\t\tdef: \"\\\\;\\\\Longleftrightarrow\\\\;\"\n\t},\n\tnicefrac: \"^{#1}\\\\!\\\\!/\\\\!_{#2}\",\n\tphase: {\n\t\tdef: \"\\\\enclose{phasorangle}{#1}\",\n\t\targs: 1,\n\t\tcaptureSelection: !1\n\t},\n\trd: \"\\\\mathrm{d}\",\n\trD: \"\\\\mathrm{D}\",\n\todif: \"\\\\mathrm{d}\",\n\tdoubleStruckCapitalN: \"\\\\mathbb{N}\",\n\tdoubleStruckCapitalR: \"\\\\mathbb{R}\",\n\tdoubleStruckCapitalQ: \"\\\\mathbb{Q}\",\n\tdoubleStruckCapitalZ: \"\\\\mathbb{Z}\",\n\tdoubleStruckCapitalP: \"\\\\mathbb{P}\",\n\tscriptCapitalE: \"\\\\mathscr{E}\",\n\tscriptCapitalH: \"\\\\mathscr{H}\",\n\tscriptCapitalL: \"\\\\mathscr{L}\",\n\tgothicCapitalC: \"\\\\mathfrak{C}\",\n\tgothicCapitalH: \"\\\\mathfrak{H}\",\n\tgothicCapitalI: \"\\\\mathfrak{I}\",\n\tgothicCapitalR: \"\\\\mathfrak{R}\",\n\timaginaryI: \"\\\\mathrm{i}\",\n\timaginaryJ: \"\\\\mathrm{j}\",\n\texponentialE: \"\\\\mathrm{e}\",\n\tdifferentialD: \"\\\\mathrm{d}\",\n\tcapitalDifferentialD: \"\\\\mathrm{D}\",\n\tmathstrut: {\n\t\tdef: \"\\\\vphantom{(}\",\n\t\tprimitive: !0\n\t},\n\tangl: \"\\\\enclose{actuarial}{#1}\",\n\tangln: \"\\\\enclose{actuarial}{n}\",\n\tanglr: \"\\\\enclose{actuarial}{r}\",\n\tanglk: \"\\\\enclose{actuarial}{k}\",\n\tmathtools: {\n\t\tprimitive: !0,\n\t\tpackage: {\n\t\t\tordinarycolon: \":\",\n\t\t\tvcentcolon: \"\\\\mathrel{\\\\mathop\\\\ordinarycolon}\",\n\t\t\tdblcolon: \"{\\\\mathop{\\\\char\\\"2237}}\",\n\t\t\tcoloneqq: \"{\\\\mathop{\\\\char\\\"2254}}\",\n\t\t\tColoneqq: \"{\\\\mathop{\\\\char\\\"2A74}}\",\n\t\t\tcoloneq: \"{\\\\mathop{\\\\char\\\"2254}}\",\n\t\t\tColoneq: \"{\\\\mathop{\\\\char\\\"2A74}}\",\n\t\t\teqqcolon: \"{\\\\mathop{\\\\char\\\"2255}}\",\n\t\t\tEqqcolon: \"{\\\\mathop{\\\\char\\\"3D\\\\char\\\"2237}}\",\n\t\t\teqcolon: \"{\\\\mathop{\\\\char\\\"2255}}\",\n\t\t\tEqcolon: \"{\\\\mathop{\\\\char\\\"3D\\\\char\\\"2237}}\",\n\t\t\tcolonapprox: \"{\\\\mathop{\\\\char\\\"003A\\\\char\\\"2248}}\",\n\t\t\tColonapprox: \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"2248}}\",\n\t\t\tcolonsim: \"{\\\\mathop{\\\\char\\\"3A\\\\char\\\"223C}}\",\n\t\t\tColonsim: \"{\\\\mathop{\\\\char\\\"2237\\\\char\\\"223C}}\",\n\t\t\tcolondash: \"\\\\mathrel{\\\\vcentcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}\",\n\t\t\tColondash: \"\\\\mathrel{\\\\dblcolon\\\\mathrel{\\\\mkern-1.2mu}\\\\mathrel{-}}\",\n\t\t\tdashcolon: \"\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\",\n\t\t\tDashcolon: \"\\\\mathrel{\\\\mathrel{-}\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\"\n\t\t}\n\t},\n\tratio: \"\\\\vcentcolon\",\n\tcoloncolon: \"\\\\dblcolon\",\n\tcolonequals: \"\\\\coloneq\",\n\tcoloncolonequals: \"\\\\Coloneq\",\n\tequalscolon: \"\\\\eqcolon\",\n\tequalscoloncolon: \"\\\\Eqcolon\",\n\tcolonminus: \"\\\\colondash\",\n\tcoloncolonminus: \"\\\\Colondash\",\n\tminuscolon: \"\\\\dashcolon\",\n\tminuscoloncolon: \"\\\\Dashcolon\",\n\tcoloncolonapprox: \"\\\\Colonapprox\",\n\tcoloncolonsim: \"\\\\Colonsim\",\n\tsimcolon: \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\",\n\tSimcolon: \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\",\n\tsimcoloncolon: \"\\\\mathrel{\\\\sim\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\",\n\tapproxcolon: \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\vcentcolon}\",\n\tApproxcolon: \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\",\n\tapproxcoloncolon: \"\\\\mathrel{\\\\approx\\\\mathrel{\\\\mkern-1.2mu}\\\\dblcolon}\",\n\tnotni: \"\\\\mathrel{\\\\char`∌}\",\n\tlimsup: \"\\\\operatorname*{lim\\\\,sup}\",\n\tliminf: \"\\\\operatorname*{lim\\\\,inf}\",\n\tinjlim: \"\\\\operatorname*{inj\\\\,lim}\",\n\tprojlim: \"\\\\operatorname*{proj\\\\,lim}\",\n\tvarlimsup: \"\\\\operatorname*{\\\\overline{lim}}\",\n\tvarliminf: \"\\\\operatorname*{\\\\underline{lim}}\",\n\tvarinjlim: \"\\\\operatorname*{\\\\underrightarrow{lim}}\",\n\tvarprojlim: \"\\\\operatorname*{\\\\underleftarrow{lim}}\",\n\targmin: \"\\\\operatorname*{arg\\\\,min}\",\n\targmax: \"\\\\operatorname*{arg\\\\,max}\",\n\tplim: \"\\\\mathop{\\\\operatorname{plim}}\\\\limits\",\n\ttripledash: {\n\t\tdef: \"\\\\vphantom{-}\\\\raise{4mu}{\\\\mkern1.5mu\\\\rule{2mu}{1.5mu}\\\\mkern{2.25mu}\\\\rule{2mu}{1.5mu}\\\\mkern{2.25mu}\\\\rule{2mu}{1.5mu}\\\\mkern{2mu}}\",\n\t\texpand: !0\n\t},\n\t\"braket.sty\": { package: {\n\t\tbra: {\n\t\t\tdef: \"\\\\mathinner{\\\\langle{#1}|}\",\n\t\t\targs: 1,\n\t\t\tcaptureSelection: !1\n\t\t},\n\t\tket: {\n\t\t\tdef: \"\\\\mathinner{|{#1}\\\\rangle}\",\n\t\t\targs: 1,\n\t\t\tcaptureSelection: !1\n\t\t},\n\t\tbraket: {\n\t\t\tdef: \"\\\\mathinner{\\\\langle{#1}\\\\rangle}\",\n\t\t\targs: 1,\n\t\t\tcaptureSelection: !1\n\t\t},\n\t\tset: {\n\t\t\tdef: \"\\\\mathinner{\\\\lbrace #1 \\\\rbrace}\",\n\t\t\targs: 1,\n\t\t\tcaptureSelection: !1\n\t\t},\n\t\tBra: {\n\t\t\tdef: \"\\\\left\\\\langle #1\\\\right|\",\n\t\t\targs: 1,\n\t\t\tcaptureSelection: !1\n\t\t},\n\t\tKet: {\n\t\t\tdef: \"\\\\left|#1\\\\right\\\\rangle\",\n\t\t\targs: 1,\n\t\t\tcaptureSelection: !1\n\t\t},\n\t\tBraket: {\n\t\t\tdef: \"\\\\left\\\\langle{#1}\\\\right\\\\rangle\",\n\t\t\targs: 1,\n\t\t\tcaptureSelection: !1\n\t\t},\n\t\tSet: {\n\t\t\tdef: \"\\\\left\\\\lbrace #1 \\\\right\\\\rbrace\",\n\t\t\targs: 1,\n\t\t\tcaptureSelection: !1\n\t\t}\n\t} },\n\t\"amsmath.sty\": {\n\t\tpackage: {\n\t\t\tvarGamma: \"\\\\mathit{\\\\Gamma}\",\n\t\t\tvarDelta: \"\\\\mathit{\\\\Delta}\",\n\t\t\tvarTheta: \"\\\\mathit{\\\\Theta}\",\n\t\t\tvarLambda: \"\\\\mathit{\\\\Lambda}\",\n\t\t\tvarXi: \"\\\\mathit{\\\\Xi}\",\n\t\t\tvarPi: \"\\\\mathit{\\\\Pi}\",\n\t\t\tvarSigma: \"\\\\mathit{\\\\Sigma}\",\n\t\t\tvarUpsilon: \"\\\\mathit{\\\\Upsilon}\",\n\t\t\tvarPhi: \"\\\\mathit{\\\\Phi}\",\n\t\t\tvarPsi: \"\\\\mathit{\\\\Psi}\",\n\t\t\tvarOmega: \"\\\\mathit{\\\\Omega}\",\n\t\t\tpmod: {\n\t\t\t\tdef: \"\\\\quad(\\\\operatorname{mod}\\\\ #1)\",\n\t\t\t\targs: 1,\n\t\t\t\texpand: !1,\n\t\t\t\tcaptureSelection: !1\n\t\t\t},\n\t\t\tmod: {\n\t\t\t\tdef: \"\\\\quad\\\\operatorname{mod}\\\\,\\\\,#1\",\n\t\t\t\targs: 1,\n\t\t\t\texpand: !1\n\t\t\t},\n\t\t\tbmod: {\n\t\t\t\tdef: \"\\\\;\\\\mathbin{\\\\operatorname{mod }}\",\n\t\t\t\texpand: !1\n\t\t\t}\n\t\t},\n\t\tprimitive: !0\n\t},\n\t\"texvc.sty\": {\n\t\tpackage: {\n\t\t\tdarr: \"\\\\downarrow\",\n\t\t\tdArr: \"\\\\Downarrow\",\n\t\t\tDarr: \"\\\\Downarrow\",\n\t\t\tlang: \"\\\\langle\",\n\t\t\trang: \"\\\\rangle\",\n\t\t\tuarr: \"\\\\uparrow\",\n\t\t\tuArr: \"\\\\Uparrow\",\n\t\t\tUarr: \"\\\\Uparrow\",\n\t\t\tC: \"\\\\mathbb{C}\",\n\t\t\tH: \"\\\\mathbb{H}\",\n\t\t\tN: \"\\\\mathbb{N}\",\n\t\t\tQ: \"\\\\mathbb{Q}\",\n\t\t\tR: \"\\\\mathbb{R}\",\n\t\t\tZ: \"\\\\mathbb{Z}\",\n\t\t\talef: \"\\\\aleph\",\n\t\t\talefsym: \"\\\\aleph\",\n\t\t\tAlpha: \"\\\\mathrm{A}\",\n\t\t\tBeta: \"\\\\mathrm{B}\",\n\t\t\tbull: \"\\\\bullet\",\n\t\t\tChi: \"\\\\mathrm{X}\",\n\t\t\tclubs: \"\\\\clubsuit\",\n\t\t\tcnums: \"\\\\mathbb{C}\",\n\t\t\tComplex: \"\\\\mathbb{C}\",\n\t\t\tDagger: \"\\\\ddagger\",\n\t\t\tdiamonds: \"\\\\diamondsuit\",\n\t\t\tdoublecap: \"\\\\Cap\",\n\t\t\tdoublecup: \"\\\\Cup\",\n\t\t\tempty: \"\\\\emptyset\",\n\t\t\tEpsilon: \"\\\\mathrm{E}\",\n\t\t\tEta: \"\\\\mathrm{H}\",\n\t\t\texist: \"\\\\exists\",\n\t\t\thArr: \"\\\\Leftrightarrow\",\n\t\t\tharr: \"\\\\leftrightarrow\",\n\t\t\tHarr: \"\\\\Leftrightarrow\",\n\t\t\thearts: \"\\\\heartsuit\",\n\t\t\timage: \"\\\\Im\",\n\t\t\tinfin: \"\\\\infty\",\n\t\t\tIota: \"\\\\mathrm{I}\",\n\t\t\tisin: \"\\\\in\",\n\t\t\tKappa: \"\\\\mathrm{K}\",\n\t\t\tlarr: \"\\\\leftarrow\",\n\t\t\tLarr: \"\\\\Leftarrow\",\n\t\t\tlArr: \"\\\\Leftarrow\",\n\t\t\tlrarr: \"\\\\leftrightarrow\",\n\t\t\tLrarr: \"\\\\Leftrightarrow\",\n\t\t\tlrArr: \"\\\\Leftrightarrow\",\n\t\t\tMu: \"\\\\mathrm{M}\",\n\t\t\tnatnums: \"\\\\mathbb{N}\",\n\t\t\tNu: \"\\\\mathrm{N}\",\n\t\t\tOmicron: \"\\\\mathrm{O}\",\n\t\t\tpart: \"\\\\partial\",\n\t\t\tplusmn: \"\\\\pm\",\n\t\t\trarr: \"\\\\rightarrow\",\n\t\t\tRarr: \"\\\\Rightarrow\",\n\t\t\trArr: \"\\\\Rightarrow\",\n\t\t\treal: \"\\\\Re\",\n\t\t\treals: \"\\\\mathbb{R}\",\n\t\t\tReals: \"\\\\mathbb{R}\",\n\t\t\trestriction: \"\\\\upharpoonright\",\n\t\t\tRho: \"\\\\mathrm{P}\",\n\t\t\tsdot: \"\\\\cdot\",\n\t\t\tsect: \"\\\\S\",\n\t\t\tspades: \"\\\\spadesuit\",\n\t\t\tsub: \"\\\\subset\",\n\t\t\tsube: \"\\\\subseteq\",\n\t\t\tsupe: \"\\\\supseteq\",\n\t\t\tTau: \"\\\\mathrm{T}\",\n\t\t\tthetasym: \"\\\\vartheta\",\n\t\t\tvarcoppa: \"\\\\coppa\",\n\t\t\tweierp: \"\\\\wp\",\n\t\t\tZeta: \"\\\\mathrm{Z}\"\n\t\t},\n\t\tprimitive: !1\n\t}\n}, Ye = {\n\t\" \": 32,\n\t\"\\\\!\": 33,\n\t\"\\\\#\": 35,\n\t\"\\\\$\": 36,\n\t\"\\\\%\": 37,\n\t\"\\\\&\": 38,\n\t\"\\\\_\": 95,\n\t\"-\": 45,\n\t\"\\\\textunderscore\": 95,\n\t\"\\\\euro\": 8364,\n\t\"\\\\maltese\": 10016,\n\t\"\\\\{\": 123,\n\t\"\\\\}\": 125,\n\t\"\\\\textbraceleft\": 123,\n\t\"\\\\textbraceright\": 125,\n\t\"\\\\lbrace\": 123,\n\t\"\\\\rbrace\": 125,\n\t\"\\\\lbrack\": 91,\n\t\"\\\\rbrack\": 93,\n\t\"\\\\nobreakspace\": 160,\n\t\"\\\\ldots\": 8230,\n\t\"\\\\textellipsis\": 8230,\n\t\"\\\\backslash\": 92,\n\t\"`\": 8216,\n\t\"'\": 8217,\n\t\"``\": 8220,\n\t\"''\": 8221,\n\t\"\\\\degree\": 176,\n\t\"\\\\textasciicircum\": 94,\n\t\"\\\\textasciitilde\": 126,\n\t\"\\\\textasteriskcentered\": 42,\n\t\"\\\\textbackslash\": 92,\n\t\"\\\\textbullet\": 8226,\n\t\"\\\\textdollar\": 36,\n\t\"\\\\textsterling\": 163,\n\t\"\\\\textdagger\": 8224,\n\t\"\\\\textdaggerdbl\": 8225,\n\t\"–\": 8211,\n\t\"—\": 8212,\n\t\"‘\": 8216,\n\t\"’\": 8217,\n\t\"“\": 8220,\n\t\"”\": 8221,\n\t\"\\\"\": 8221,\n\t\"\\\\ss\": 223,\n\t\"\\\\ae\": 230,\n\t\"\\\\oe\": 339,\n\t\"\\\\AE\": 198,\n\t\"\\\\OE\": 338,\n\t\"\\\\O\": 216,\n\t\"\\\\i\": 305,\n\t\"\\\\j\": 567,\n\t\"\\\\aa\": 229,\n\t\"\\\\AA\": 197\n}, Xe = /[\\w!@*()-=+{}\\[\\]\\\\';:?/.,~<>`|$%#&^\" ]/, Ze, Qe;\ng() ? (Ze = /* @__PURE__ */ RegExp(\"\\\\p{Letter}\", \"u\"), Qe = /* @__PURE__ */ RegExp(\"[0-9\\\\p{Letter}]\", \"u\")) : (Ze = /[a-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/, Qe = /[\\da-zA-ZаАбБвВгГдДеЕёЁжЖзЗиИйЙкКлЛмМнНоОпПрРсСтТуУфФхХцЦчЧшШщЩъЪыЫьЬэЭюЮяĄąĆćĘꣳŃńÓóŚśŹźŻżàâäôéèëêïîçùûüÿæœÀÂÄÔÉÈËÊÏΟÇÙÛÜÆŒößÖẞìíòúÌÍÒÚáñÁÑ]/);\nfunction $e(e, t, n = \"mord\", r) {\n\tt !== void 0 && (We[e] = {\n\t\tdefinitionType: \"symbol\",\n\t\ttype: n,\n\t\tvariant: r,\n\t\tcodepoint: t\n\t}, Ge[t] || (Ge[t] = e));\n}\nfunction T(e, t, n) {\n\tif (typeof e == \"string\") {\n\t\tfor (let t = 0; t < e.length; t++) {\n\t\t\tlet n = e.charAt(t);\n\t\t\t$e(n, n.codePointAt(0));\n\t\t}\n\t\treturn;\n\t}\n\tfor (let [r, i, a, o] of e) $e(r, i, a ?? t, o ?? n);\n}\nfunction et(e, t) {\n\tfor (let n = e; n <= t; n++) $e(String.fromCodePoint(n), n);\n}\nfunction tt(e) {\n\treturn qe[e] ?? null;\n}\nfunction nt(e, t) {\n\tif (t.length === 0 || t === \"\\\\\" || !t.startsWith(\"\\\\\")) return [];\n\tlet n = [];\n\tfor (let e in Ke) e.startsWith(t) && !Ke[e].infix && n.push({\n\t\tmatch: e,\n\t\tfrequency: Ke[e].frequency ?? 0\n\t});\n\tfor (let e in We) e.startsWith(t) && n.push({\n\t\tmatch: e,\n\t\tfrequency: We[e].frequency ?? 0\n\t});\n\tlet r = t.substring(1);\n\tfor (let t of Object.keys(e.options.macros)) t.startsWith(r) && n.push({\n\t\tmatch: \"\\\\\" + t,\n\t\tfrequency: 0\n\t});\n\treturn n.sort((e, t) => e.frequency === t.frequency ? e.match.length === t.match.length ? e.match < t.match ? -1 : 1 : e.match.length - t.match.length : (t.frequency ?? 0) - (e.frequency ?? 0)), n.map((e) => e.match);\n}\nfunction rt(e) {\n\tlet t = \"auto\", n = e.match(/:([^=]+)/);\n\treturn n && (t = n[1].trim()), t;\n}\nfunction it(e) {\n\tif (!e) return [];\n\tlet t = [], n = e.split(\"]\");\n\tif (n[0].startsWith(\"[\")) {\n\t\tt.push({\n\t\t\tisOptional: !0,\n\t\t\ttype: rt(n[0].slice(1))\n\t\t});\n\t\tfor (let e = 1; e <= n.length; e++) t.push(...it(n[e]));\n\t} else if (n = e.split(\"}\"), n[0].startsWith(\"{\")) {\n\t\tt.push({\n\t\t\tisOptional: !1,\n\t\t\ttype: rt(n[0].slice(1))\n\t\t});\n\t\tfor (let e = 1; e <= n.length; e++) t.push(...it(n[e]));\n\t}\n\treturn t;\n}\nfunction at(e) {\n\tif (!e) return \"\";\n\tlet t = \"\", n = !0;\n\tfor (let r of e) typeof r.value == \"string\" ? t += r.value : n = !1;\n\treturn n ? t : \"\";\n}\nfunction ot(e, t, n) {\n\ttypeof e == \"string\" && (e = [e]);\n\tlet r = {\n\t\ttabular: !0,\n\t\trootOnly: !1,\n\t\tparams: it(t),\n\t\tcreateAtom: n\n\t};\n\tfor (let t of e) qe[t] = r;\n}\nfunction st(e, t, n) {\n\ttypeof e == \"string\" && (e = [e]);\n\tlet r = {\n\t\ttabular: n?.tabular ?? !1,\n\t\trootOnly: !0,\n\t\tparams: [],\n\t\tcreateAtom: t\n\t};\n\tfor (let t of e) qe[t] = r;\n}\nfunction E(e, t, n) {\n\tn || (n = {});\n\tlet r = {\n\t\tdefinitionType: \"function\",\n\t\tparams: it(t),\n\t\tifMode: n.ifMode,\n\t\tisFunction: n.isFunction ?? !1,\n\t\tapplyMode: n.applyMode,\n\t\tinfix: n.infix ?? !1,\n\t\tparse: n.parse,\n\t\tcreateAtom: n.createAtom,\n\t\tapplyStyle: n.applyStyle,\n\t\tserialize: n.serialize,\n\t\trender: n.render\n\t};\n\tif (typeof e == \"string\") Ke[\"\\\\\" + e] = r;\n\telse for (let t of e) Ke[\"\\\\\" + t] = r;\n}\nvar ct;\nfunction lt(e) {\n\treturn ct || (ct = dt(Je)), e ? dt(s(s({}, ct), e)) : ct;\n}\nfunction ut(e, t) {\n\tif (typeof e == \"string\") {\n\t\tlet n = 0, r = e;\n\t\treturn /(^|[^\\\\])#1/.test(r) && (n = 1), /(^|[^\\\\])#2/.test(r) && (n = 2), /(^|[^\\\\])#3/.test(r) && (n = 3), /(^|[^\\\\])#4/.test(r) && (n = 4), /(^|[^\\\\])#5/.test(r) && (n = 5), /(^|[^\\\\])#6/.test(r) && (n = 6), /(^|[^\\\\])#7/.test(r) && (n = 7), /(^|[^\\\\])#8/.test(r) && (n = 8), /(^|[^\\\\])#9/.test(r) && (n = 9), {\n\t\t\texpand: t?.expand ?? !0,\n\t\t\tcaptureSelection: t?.captureSelection ?? !0,\n\t\t\targs: n,\n\t\t\tdef: r\n\t\t};\n\t}\n\treturn s({\n\t\texpand: t?.expand ?? !0,\n\t\tcaptureSelection: t?.captureSelection ?? !0,\n\t\targs: 0\n\t}, e);\n}\nfunction dt(e) {\n\tif (!e) return {};\n\tlet t = {};\n\tfor (let n of Object.keys(e)) {\n\t\tlet r = e[n];\n\t\tif (r == null) delete t[n];\n\t\telse if (typeof r == \"object\" && \"package\" in r) for (let e of Object.keys(r.package)) t[e] = ut(r.package[e], {\n\t\t\texpand: !r.primitive,\n\t\t\tcaptureSelection: r.captureSelection\n\t\t});\n\t\telse t[n] = ut(r);\n\t}\n\treturn t;\n}\nfunction ft(e, t = \"math\") {\n\tif (!e || e.length === 0) return null;\n\tlet n = null;\n\tif (e.startsWith(\"\\\\\")) {\n\t\tif (n = Ke[e], n) return !n.ifMode || n.ifMode === t ? n : null;\n\t\tt === \"math\" ? n = We[e] : Ye[e] && (n = {\n\t\t\tdefinitionType: \"symbol\",\n\t\t\ttype: \"mord\",\n\t\t\tcodepoint: Ye[e]\n\t\t});\n\t} else if (t === \"math\") {\n\t\tif (n = We[e], !n && e.length === 1) {\n\t\t\tlet t = mt(\"math\", e.codePointAt(0));\n\t\t\treturn t.startsWith(\"\\\\\") ? c(s({}, ft(t, \"math\")), { command: t }) : null;\n\t\t}\n\t} else Ye[e] ? n = {\n\t\tdefinitionType: \"symbol\",\n\t\ttype: \"mord\",\n\t\tcodepoint: Ye[e]\n\t} : t === \"text\" && (n = {\n\t\tdefinitionType: \"symbol\",\n\t\ttype: \"mord\",\n\t\tcodepoint: e.codePointAt(0)\n\t});\n\treturn n ?? null;\n}\nfunction pt(e, t) {\n\treturn e.startsWith(\"\\\\\") ? t[e.slice(1)] : null;\n}\nfunction mt(e, t) {\n\treturn t === void 0 ? \"\" : e === \"math\" && Ge[t] ? Ge[t] : e === \"text\" && Object.keys(Ye).find((e) => Ye[e] === t) || String.fromCodePoint(t);\n}\nvar ht = [\n\t0,\n\t.68889,\n\t0,\n\t0,\n\t.72222\n], gt = [\n\t0,\n\t.68889,\n\t0,\n\t0,\n\t.66667\n], _t = [\n\t0,\n\t.68889,\n\t0,\n\t0,\n\t.77778\n], vt = [\n\t0,\n\t.68889,\n\t0,\n\t0,\n\t.61111\n], yt = [\n\t.16667,\n\t.68889,\n\t0,\n\t0,\n\t.77778\n], bt = [\n\t0,\n\t.68889,\n\t0,\n\t0,\n\t.55556\n], D = [\n\t0,\n\t0,\n\t0,\n\t0,\n\t.25\n], xt = [\n\t0,\n\t.825,\n\t0,\n\t0,\n\t2.33334\n], St = [\n\t0,\n\t.9,\n\t0,\n\t0,\n\t2.33334\n], Ct = [\n\t0,\n\t.68889,\n\t0,\n\t0,\n\t.54028\n], wt = [\n\t-.03598,\n\t.46402,\n\t0,\n\t0,\n\t.5\n], Tt = [\n\t-.13313,\n\t.36687,\n\t0,\n\t0,\n\t1\n], Et = [\n\t.01354,\n\t.52239,\n\t0,\n\t0,\n\t1\n], Dt = [\n\t.01354,\n\t.52239,\n\t0,\n\t0,\n\t1.11111\n], Ot = [\n\t0,\n\t.54986,\n\t0,\n\t0,\n\t1\n], kt = [\n\t0,\n\t.69224,\n\t0,\n\t0,\n\t.5\n], At = [\n\t0,\n\t.43056,\n\t0,\n\t0,\n\t1\n], jt = [\n\t.08198,\n\t.58198,\n\t0,\n\t0,\n\t.77778\n], Mt = [\n\t.19444,\n\t.69224,\n\t0,\n\t0,\n\t.41667\n], Nt = [\n\t.1808,\n\t.675,\n\t0,\n\t0,\n\t1\n], Pt = [\n\t.19444,\n\t.69224,\n\t0,\n\t0,\n\t.83334\n], Ft = [\n\t.13667,\n\t.63667,\n\t0,\n\t0,\n\t1\n], It = [\n\t-.064,\n\t.437,\n\t0,\n\t0,\n\t1.334\n], Lt = [\n\t.08167,\n\t.58167,\n\t0,\n\t0,\n\t.77778\n], Rt = [\n\t0,\n\t.69224,\n\t0,\n\t0,\n\t.72222\n], zt = [\n\t0,\n\t.69224,\n\t0,\n\t0,\n\t.66667\n], Bt = [\n\t-.13313,\n\t.36687,\n\t0,\n\t0,\n\t.77778\n], Vt = [\n\t.06062,\n\t.54986,\n\t0,\n\t0,\n\t.77778\n], Ht = [\n\t0,\n\t.69224,\n\t0,\n\t0,\n\t.77778\n], Ut = [\n\t.25583,\n\t.75583,\n\t0,\n\t0,\n\t.77778\n], Wt = [\n\t.25142,\n\t.75726,\n\t0,\n\t0,\n\t.77778\n], Gt = [\n\t.20576,\n\t.70576,\n\t0,\n\t0,\n\t.77778\n], Kt = [\n\t.30274,\n\t.79383,\n\t0,\n\t0,\n\t.77778\n], qt = [\n\t.22958,\n\t.72958,\n\t0,\n\t0,\n\t.77778\n], Jt = [\n\t.1808,\n\t.675,\n\t0,\n\t0,\n\t.77778\n], Yt = [\n\t.13667,\n\t.63667,\n\t0,\n\t0,\n\t.77778\n], Xt = [\n\t.13597,\n\t.63597,\n\t0,\n\t0,\n\t.77778\n], Zt = [\n\t.03517,\n\t.54986,\n\t0,\n\t0,\n\t.77778\n], Qt = [\n\t0,\n\t.675,\n\t0,\n\t0,\n\t.77778\n], $t = [\n\t.19444,\n\t.69224,\n\t0,\n\t0,\n\t.61111\n], en = [\n\t0,\n\t.54986,\n\t0,\n\t0,\n\t.76042\n], tn = [\n\t0,\n\t.54986,\n\t0,\n\t0,\n\t.66667\n], nn = [\n\t.0391,\n\t.5391,\n\t0,\n\t0,\n\t.77778\n], rn = [\n\t.03517,\n\t.54986,\n\t0,\n\t0,\n\t1.33334\n], an = [\n\t.38569,\n\t.88569,\n\t0,\n\t0,\n\t.77778\n], on = [\n\t.23222,\n\t.74111,\n\t0,\n\t0,\n\t.77778\n], sn = [\n\t.19444,\n\t.69224,\n\t0,\n\t0,\n\t.77778\n], cn = [\n\t0,\n\t.37788,\n\t0,\n\t0,\n\t.5\n], ln = [\n\t0,\n\t.54986,\n\t0,\n\t0,\n\t.72222\n], un = [\n\t0,\n\t.69224,\n\t0,\n\t0,\n\t.83334\n], dn = [\n\t.11111,\n\t.69224,\n\t0,\n\t0,\n\t.66667\n], fn = [\n\t.26167,\n\t.75726,\n\t0,\n\t0,\n\t.77778\n], pn = [\n\t.48256,\n\t.98256,\n\t0,\n\t0,\n\t.77778\n], mn = [\n\t.28481,\n\t.79383,\n\t0,\n\t0,\n\t.77778\n], hn = [\n\t.08167,\n\t.58167,\n\t0,\n\t0,\n\t.22222\n], gn = [\n\t.08167,\n\t.58167,\n\t0,\n\t0,\n\t.38889\n], _n = [\n\t0,\n\t.43056,\n\t.04028,\n\t0,\n\t.66667\n], vn = [\n\t.41951,\n\t.91951,\n\t0,\n\t0,\n\t.77778\n], yn = [\n\t.24982,\n\t.74947,\n\t0,\n\t0,\n\t.38865\n], bn = [\n\t.08319,\n\t.58283,\n\t0,\n\t0,\n\t.75623\n], xn = [\n\t0,\n\t.10803,\n\t0,\n\t0,\n\t.27764\n], Sn = [\n\t0,\n\t.47534,\n\t0,\n\t0,\n\t.50181\n], Cn = [\n\t.18906,\n\t.47534,\n\t0,\n\t0,\n\t.50181\n], wn = [\n\t0,\n\t.69141,\n\t0,\n\t0,\n\t.50181\n], Tn = [\n\t.24982,\n\t.74947,\n\t0,\n\t0,\n\t.27764\n], En = [\n\t0,\n\t.69141,\n\t0,\n\t0,\n\t.21471\n], Dn = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.44722\n], On = [\n\t0,\n\t.64444,\n\t0,\n\t0,\n\t.575\n], kn = [\n\t.08556,\n\t.58556,\n\t0,\n\t0,\n\t.89444\n], An = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.89444\n], jn = [\n\t0,\n\t.68611,\n\t0,\n\t0,\n\t.9\n], Mn = [\n\t0,\n\t.68611,\n\t0,\n\t0,\n\t.86944\n], Nn = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.575\n], Pn = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.31944\n], Fn = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.63889\n], In = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.31944\n], Ln = [\n\t0,\n\t.44444,\n\t0,\n\t0,\n\t.63889\n], Rn = [\n\t0,\n\t.44444,\n\t0,\n\t0,\n\t.51111\n], zn = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.575\n], Bn = [\n\t.13333,\n\t.63333,\n\t0,\n\t0,\n\t.89444\n], Vn = [\n\t0,\n\t.44444,\n\t0,\n\t0,\n\t.31944\n], Hn = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.86944\n], Un = [\n\t0,\n\t.68611,\n\t0,\n\t0,\n\t.69166\n], Wn = [\n\t0,\n\t.68611,\n\t0,\n\t0,\n\t.83055\n], Gn = [\n\t0,\n\t.68611,\n\t0,\n\t0,\n\t.89444\n], Kn = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.60278\n], qn = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.51111\n], Jn = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.83055\n], Yn = [\n\t-.10889,\n\t.39111,\n\t0,\n\t0,\n\t1.14999\n], Xn = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.575\n], Zn = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t1.14999\n], Qn = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.70277\n], $n = [\n\t.05556,\n\t.75,\n\t0,\n\t0,\n\t.575\n], er = [\n\t0,\n\t.68611,\n\t0,\n\t0,\n\t.95833\n], tr = [\n\t.08556,\n\t.58556,\n\t0,\n\t0,\n\t.76666\n], nr = [\n\t-.02639,\n\t.47361,\n\t0,\n\t0,\n\t.575\n], rr = [\n\t0,\n\t.44444,\n\t0,\n\t0,\n\t.89444\n], ir = [\n\t0,\n\t.55556,\n\t0,\n\t0,\n\t.76666\n], ar = [\n\t-.10889,\n\t.39111,\n\t0,\n\t0,\n\t.89444\n], or = [\n\t.00222,\n\t.50222,\n\t0,\n\t0,\n\t.89444\n], sr = [\n\t.19667,\n\t.69667,\n\t0,\n\t0,\n\t.89444\n], cr = [\n\t.08556,\n\t.58556,\n\t0,\n\t0,\n\t1.14999\n], lr = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.70277\n], ur = [\n\t-.02778,\n\t.47222,\n\t0,\n\t0,\n\t.575\n], dr = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.51111\n], fr = [\n\t-.13889,\n\t.36111,\n\t0,\n\t0,\n\t1.14999\n], pr = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t1.02222\n], mr = [\n\t.12963,\n\t.69444,\n\t0,\n\t0,\n\t.89444\n], hr = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.44722\n], gr = [\n\t0,\n\t.64444,\n\t.13167,\n\t0,\n\t.59111\n], _r = [\n\t.19444,\n\t.64444,\n\t.13167,\n\t0,\n\t.59111\n], vr = [\n\t0,\n\t.68611,\n\t.17208,\n\t0,\n\t.8961\n], yr = [\n\t.19444,\n\t.44444,\n\t.105,\n\t0,\n\t.53222\n], br = [\n\t0,\n\t.44444,\n\t.085,\n\t0,\n\t.82666\n], xr = [\n\t0,\n\t.69444,\n\t.06709,\n\t0,\n\t.59111\n], Sr = [\n\t0,\n\t.69444,\n\t.12945,\n\t0,\n\t.35555\n], Cr = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.94888\n], wr = [\n\t0,\n\t.69444,\n\t.11472,\n\t0,\n\t.59111\n], Tr = [\n\t0,\n\t.68611,\n\t.10778,\n\t0,\n\t.88555\n], Er = [\n\t0,\n\t.69444,\n\t.07939,\n\t0,\n\t.62055\n], Dr = [\n\t0,\n\t.69444,\n\t.12417,\n\t0,\n\t.30667\n], Or = [\n\t0,\n\t.64444,\n\t.13556,\n\t0,\n\t.51111\n], kr = [\n\t.19444,\n\t.64444,\n\t.13556,\n\t0,\n\t.51111\n], Ar = [\n\t0,\n\t.68333,\n\t.16389,\n\t0,\n\t.74333\n], jr = [\n\t.19444,\n\t.43056,\n\t.08847,\n\t0,\n\t.46\n], Mr = [\n\t0,\n\t.43056,\n\t.07514,\n\t0,\n\t.71555\n], Nr = [\n\t0,\n\t.69444,\n\t.06646,\n\t0,\n\t.51111\n], Pr = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.83129\n], Fr = [\n\t0,\n\t.69444,\n\t.1225,\n\t0,\n\t.51111\n], Ir = [\n\t0,\n\t.68333,\n\t.09403,\n\t0,\n\t.76666\n], Lr = [\n\t0,\n\t.68333,\n\t.11111,\n\t0,\n\t.76666\n], Rr = [\n\t0,\n\t.69444,\n\t.06961,\n\t0,\n\t.51444\n], zr = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.27778\n], Br = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.38889\n], Vr = [\n\t0,\n\t.64444,\n\t0,\n\t0,\n\t.5\n], Hr = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.77778\n], Ur = [\n\t0,\n\t.68333,\n\t0,\n\t0,\n\t.75\n], Wr = [\n\t0,\n\t.68333,\n\t0,\n\t0,\n\t.77778\n], Gr = [\n\t0,\n\t.68333,\n\t0,\n\t0,\n\t.68056\n], Kr = [\n\t0,\n\t.68333,\n\t0,\n\t0,\n\t.72222\n], qr = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.5\n], Jr = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.27778\n], O = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.5\n], Yr = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.55556\n], Xr = [\n\t0,\n\t.43056,\n\t0,\n\t0,\n\t.44445\n], Zr = [\n\t0,\n\t.43056,\n\t0,\n\t0,\n\t.5\n], Qr = [\n\t.19444,\n\t.43056,\n\t0,\n\t0,\n\t.55556\n], $r = [\n\t0,\n\t.43056,\n\t0,\n\t0,\n\t.55556\n], ei = [\n\t.08333,\n\t.58333,\n\t0,\n\t0,\n\t.77778\n], ti = [\n\t0,\n\t.43056,\n\t0,\n\t0,\n\t.27778\n], ni = [\n\t0,\n\t.66786,\n\t0,\n\t0,\n\t.27778\n], ri = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.75\n], ii = [\n\t0,\n\t.66786,\n\t0,\n\t0,\n\t.5\n], ai = [\n\t0,\n\t.68333,\n\t0,\n\t0,\n\t.625\n], oi = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.44445\n], si = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.72222\n], ci = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.5\n], li = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t1\n], ui = [\n\t.011,\n\t.511,\n\t0,\n\t0,\n\t1.126\n], di = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.61111\n], fi = [\n\t.05556,\n\t.75,\n\t0,\n\t0,\n\t.5\n], pi = [\n\t0,\n\t.68333,\n\t0,\n\t0,\n\t.83334\n], mi = [\n\t.0391,\n\t.5391,\n\t0,\n\t0,\n\t.66667\n], hi = [\n\t-.05555,\n\t.44445,\n\t0,\n\t0,\n\t.5\n], gi = [\n\t0,\n\t.43056,\n\t0,\n\t0,\n\t.77778\n], _i = [\n\t0,\n\t.55556,\n\t0,\n\t0,\n\t.66667\n], vi = [\n\t-.03625,\n\t.46375,\n\t0,\n\t0,\n\t.77778\n], yi = [\n\t-.01688,\n\t.48312,\n\t0,\n\t0,\n\t.77778\n], bi = [\n\t.0391,\n\t.5391,\n\t0,\n\t0,\n\t1\n], xi = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.61111\n], Si = [\n\t-.03472,\n\t.46528,\n\t0,\n\t0,\n\t.5\n], Ci = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.44445\n], wi = [\n\t-.14236,\n\t.35764,\n\t0,\n\t0,\n\t1\n], Ti = [\n\t.244,\n\t.744,\n\t0,\n\t0,\n\t.412\n], Ei = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.88889\n], Di = [\n\t.12963,\n\t.69444,\n\t0,\n\t0,\n\t.77778\n], Oi = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.38889\n], ki = [\n\t.011,\n\t.511,\n\t0,\n\t0,\n\t1.638\n], Ai = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t0\n], ji = [\n\t0,\n\t.44444,\n\t0,\n\t0,\n\t.575\n], Mi = [\n\t.19444,\n\t.44444,\n\t0,\n\t0,\n\t.575\n], Ni = [\n\t0,\n\t.68611,\n\t0,\n\t0,\n\t.75555\n], Pi = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.66759\n], Fi = [\n\t0,\n\t.68611,\n\t0,\n\t0,\n\t.80555\n], Ii = [\n\t0,\n\t.68611,\n\t.08229,\n\t0,\n\t.98229\n], Li = [\n\t0,\n\t.68611,\n\t0,\n\t0,\n\t.76666\n], Ri = [\n\t0,\n\t.44444,\n\t0,\n\t0,\n\t.58472\n], zi = [\n\t.19444,\n\t.44444,\n\t0,\n\t0,\n\t.6118\n], Bi = [\n\t.19444,\n\t.43056,\n\t0,\n\t0,\n\t.5\n], Vi = [\n\t0,\n\t.68333,\n\t.02778,\n\t.08334,\n\t.76278\n], Hi = [\n\t0,\n\t.68333,\n\t.08125,\n\t.05556,\n\t.83125\n], Ui = [\n\t0,\n\t.43056,\n\t0,\n\t.05556,\n\t.48472\n], Wi = [\n\t.19444,\n\t.43056,\n\t0,\n\t.08334,\n\t.51702\n], Gi = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.42778\n], Ki = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.55\n], qi = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.73334\n], Ji = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.79445\n], Yi = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.51945\n], Xi = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.70278\n], Zi = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.76389\n], Qi = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.34306\n], $i = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.56111\n], ea = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.25556\n], ta = [\n\t.19444,\n\t.45833,\n\t0,\n\t0,\n\t.56111\n], na = [\n\t0,\n\t.45833,\n\t0,\n\t0,\n\t.56111\n], ra = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.30556\n], ia = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.58056\n], aa = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.67223\n], oa = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.85556\n], sa = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.55834\n], ca = [\n\t0,\n\t.65556,\n\t.11156,\n\t0,\n\t.5\n], la = [\n\t0,\n\t.69444,\n\t.08094,\n\t0,\n\t.70834\n], ua = [\n\t.17014,\n\t0,\n\t0,\n\t0,\n\t.44445\n], da = [\n\t0,\n\t.69444,\n\t.0799,\n\t0,\n\t.5\n], fa = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.73752\n], pa = [\n\t0,\n\t.69444,\n\t.09205,\n\t0,\n\t.5\n], ma = [\n\t0,\n\t.69444,\n\t.09031,\n\t0,\n\t.77778\n], ha = [\n\t0,\n\t.69444,\n\t.07816,\n\t0,\n\t.27778\n], ga = [\n\t0,\n\t.69444,\n\t.00316,\n\t0,\n\t.5\n], _a = [\n\t.19444,\n\t.69444,\n\t0,\n\t0,\n\t.83334\n], va = [\n\t.05556,\n\t.75,\n\t0,\n\t0,\n\t.83334\n], ya = [\n\t0,\n\t.75,\n\t0,\n\t0,\n\t.5\n], ba = [\n\t.125,\n\t.08333,\n\t0,\n\t0,\n\t.27778\n], xa = [\n\t0,\n\t.08333,\n\t0,\n\t0,\n\t.27778\n], Sa = [\n\t0,\n\t.65556,\n\t0,\n\t0,\n\t.5\n], Ca = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.47222\n], wa = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.66667\n], Ta = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.59722\n], Ea = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.54167\n], Da = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.70834\n], Oa = [\n\t.25,\n\t.75,\n\t0,\n\t0,\n\t.28889\n], ka = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.51667\n], Aa = [\n\t0,\n\t.44444,\n\t0,\n\t0,\n\t.44445\n], ja = [\n\t.19444,\n\t.44444,\n\t0,\n\t0,\n\t.51667\n], Ma = [\n\t0,\n\t.44444,\n\t0,\n\t0,\n\t.38333\n], Na = [\n\t0,\n\t.44444,\n\t0,\n\t0,\n\t.51667\n], Pa = [\n\t0,\n\t.69444,\n\t0,\n\t0,\n\t.83334\n], Fa = [\n\t.35001,\n\t.85,\n\t0,\n\t0,\n\t.45834\n], Ia = [\n\t.35001,\n\t.85,\n\t0,\n\t0,\n\t.57778\n], La = [\n\t.35001,\n\t.85,\n\t0,\n\t0,\n\t.41667\n], Ra = [\n\t.35001,\n\t.85,\n\t0,\n\t0,\n\t.58334\n], za = [\n\t0,\n\t.72222,\n\t0,\n\t0,\n\t.55556\n], Ba = [\n\t1e-5,\n\t.6,\n\t0,\n\t0,\n\t.66667\n], Va = [\n\t1e-5,\n\t.6,\n\t0,\n\t0,\n\t.77778\n], Ha = [\n\t.25001,\n\t.75,\n\t0,\n\t0,\n\t.94445\n], Ua = [\n\t.306,\n\t.805,\n\t.19445,\n\t0,\n\t.47222\n], Wa = [\n\t.30612,\n\t.805,\n\t.19445,\n\t0,\n\t.47222\n], Ga = [\n\t.25001,\n\t.75,\n\t0,\n\t0,\n\t.83334\n], Ka = [\n\t.35001,\n\t.85,\n\t0,\n\t0,\n\t.47222\n], qa = [\n\t.25001,\n\t.75,\n\t0,\n\t0,\n\t1.11111\n], Ja = [\n\t.65002,\n\t1.15,\n\t0,\n\t0,\n\t.59722\n], Ya = [\n\t.65002,\n\t1.15,\n\t0,\n\t0,\n\t.81111\n], Xa = [\n\t.65002,\n\t1.15,\n\t0,\n\t0,\n\t.47222\n], Za = [\n\t.65002,\n\t1.15,\n\t0,\n\t0,\n\t.66667\n], Qa = [\n\t0,\n\t.75,\n\t0,\n\t0,\n\t1\n], $a = [\n\t.55001,\n\t1.05,\n\t0,\n\t0,\n\t1.27778\n], eo = [\n\t.862,\n\t1.36,\n\t.44445,\n\t0,\n\t.55556\n], to = [\n\t.86225,\n\t1.36,\n\t.44445,\n\t0,\n\t.55556\n], no = [\n\t.55001,\n\t1.05,\n\t0,\n\t0,\n\t1.11111\n], ro = [\n\t.65002,\n\t1.15,\n\t0,\n\t0,\n\t.52778\n], io = [\n\t.65002,\n\t1.15,\n\t0,\n\t0,\n\t.61111\n], ao = [\n\t.55001,\n\t1.05,\n\t0,\n\t0,\n\t1.51112\n], oo = [\n\t.95003,\n\t1.45,\n\t0,\n\t0,\n\t.73611\n], so = [\n\t.95003,\n\t1.45,\n\t0,\n\t0,\n\t1.04445\n], co = [\n\t.95003,\n\t1.45,\n\t0,\n\t0,\n\t.52778\n], lo = [\n\t.95003,\n\t1.45,\n\t0,\n\t0,\n\t.75\n], uo = [\n\t0,\n\t.75,\n\t0,\n\t0,\n\t1.44445\n], fo = [\n\t.95003,\n\t1.45,\n\t0,\n\t0,\n\t.58334\n], po = [\n\t1.25003,\n\t1.75,\n\t0,\n\t0,\n\t.79167\n], mo = [\n\t1.25003,\n\t1.75,\n\t0,\n\t0,\n\t1.27778\n], ho = [\n\t1.25003,\n\t1.75,\n\t0,\n\t0,\n\t.58334\n], go = [\n\t1.25003,\n\t1.75,\n\t0,\n\t0,\n\t.80556\n], _o = [\n\t0,\n\t.825,\n\t0,\n\t0,\n\t1.8889\n], vo = [\n\t1.25003,\n\t1.75,\n\t0,\n\t0,\n\t.63889\n], yo = [\n\t.64502,\n\t1.155,\n\t0,\n\t0,\n\t.875\n], bo = [\n\t1e-5,\n\t.6,\n\t0,\n\t0,\n\t.875\n], xo = [\n\t-99e-5,\n\t.601,\n\t0,\n\t0,\n\t.66667\n], So = [\n\t.64502,\n\t1.155,\n\t0,\n\t0,\n\t.66667\n], Co = [\n\t1e-5,\n\t.9,\n\t0,\n\t0,\n\t.88889\n], wo = [\n\t.65002,\n\t1.15,\n\t0,\n\t0,\n\t.88889\n], To = [\n\t.90001,\n\t0,\n\t0,\n\t0,\n\t.88889\n], Eo = [\n\t-.00499,\n\t.605,\n\t0,\n\t0,\n\t1.05556\n], Do = [\n\t0,\n\t.12,\n\t0,\n\t0,\n\t.45\n], k = [\n\t0,\n\t.61111,\n\t0,\n\t0,\n\t.525\n], Oo = [\n\t.08333,\n\t.69444,\n\t0,\n\t0,\n\t.525\n], ko = [\n\t-.08056,\n\t.53055,\n\t0,\n\t0,\n\t.525\n], Ao = [\n\t-.05556,\n\t.55556,\n\t0,\n\t0,\n\t.525\n], jo = [\n\t0,\n\t.43056,\n\t0,\n\t0,\n\t.525\n], Mo = [\n\t.22222,\n\t.43056,\n\t0,\n\t0,\n\t.525\n], No = [\n\t0,\n\t0,\n\t0,\n\t0,\n\t.525\n], Po = {\n\t\"AMS-Regular\": {\n\t\t32: D,\n\t\t65: ht,\n\t\t66: gt,\n\t\t67: ht,\n\t\t68: ht,\n\t\t69: gt,\n\t\t70: vt,\n\t\t71: _t,\n\t\t72: _t,\n\t\t73: [\n\t\t\t0,\n\t\t\t.68889,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.38889\n\t\t],\n\t\t74: [\n\t\t\t.16667,\n\t\t\t.68889,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t75: _t,\n\t\t76: gt,\n\t\t77: [\n\t\t\t0,\n\t\t\t.68889,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.94445\n\t\t],\n\t\t78: ht,\n\t\t79: yt,\n\t\t80: vt,\n\t\t81: yt,\n\t\t82: ht,\n\t\t83: bt,\n\t\t84: gt,\n\t\t85: ht,\n\t\t86: ht,\n\t\t87: [\n\t\t\t0,\n\t\t\t.68889,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t88: ht,\n\t\t89: ht,\n\t\t90: gt,\n\t\t107: bt,\n\t\t160: D,\n\t\t165: [\n\t\t\t0,\n\t\t\t.675,\n\t\t\t.025,\n\t\t\t0,\n\t\t\t.75\n\t\t],\n\t\t174: [\n\t\t\t.15559,\n\t\t\t.69224,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.94666\n\t\t],\n\t\t240: bt,\n\t\t295: Ct,\n\t\t710: xt,\n\t\t732: St,\n\t\t770: xt,\n\t\t771: St,\n\t\t989: Lt,\n\t\t1008: _n,\n\t\t8245: [\n\t\t\t0,\n\t\t\t.54986,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.275\n\t\t],\n\t\t8463: Ct,\n\t\t8487: ht,\n\t\t8498: bt,\n\t\t8502: gt,\n\t\t8503: [\n\t\t\t0,\n\t\t\t.68889,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.44445\n\t\t],\n\t\t8504: gt,\n\t\t8513: [\n\t\t\t0,\n\t\t\t.68889,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.63889\n\t\t],\n\t\t8592: wt,\n\t\t8594: wt,\n\t\t8602: Tt,\n\t\t8603: Tt,\n\t\t8606: Et,\n\t\t8608: Et,\n\t\t8610: Dt,\n\t\t8611: Dt,\n\t\t8619: Ot,\n\t\t8620: Ot,\n\t\t8621: [\n\t\t\t-.13313,\n\t\t\t.37788,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.38889\n\t\t],\n\t\t8622: Tt,\n\t\t8624: kt,\n\t\t8625: kt,\n\t\t8630: At,\n\t\t8631: At,\n\t\t8634: jt,\n\t\t8635: jt,\n\t\t8638: Mt,\n\t\t8639: Mt,\n\t\t8642: Mt,\n\t\t8643: Mt,\n\t\t8644: Nt,\n\t\t8646: Nt,\n\t\t8647: Nt,\n\t\t8648: Pt,\n\t\t8649: Nt,\n\t\t8650: Pt,\n\t\t8651: Et,\n\t\t8652: Et,\n\t\t8653: Tt,\n\t\t8654: Tt,\n\t\t8655: Tt,\n\t\t8666: Ft,\n\t\t8667: Ft,\n\t\t8669: [\n\t\t\t-.13313,\n\t\t\t.37788,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8672: It,\n\t\t8674: It,\n\t\t8705: [\n\t\t\t0,\n\t\t\t.825,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t8708: bt,\n\t\t8709: Lt,\n\t\t8717: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.42917\n\t\t],\n\t\t8722: wt,\n\t\t8724: [\n\t\t\t.08198,\n\t\t\t.69224,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t8726: Lt,\n\t\t8733: Ht,\n\t\t8736: Rt,\n\t\t8737: Rt,\n\t\t8738: [\n\t\t\t.03517,\n\t\t\t.52239,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.72222\n\t\t],\n\t\t8739: hn,\n\t\t8740: [\n\t\t\t.25142,\n\t\t\t.74111,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t8741: gn,\n\t\t8742: [\n\t\t\t.25142,\n\t\t\t.74111,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t8756: zt,\n\t\t8757: zt,\n\t\t8764: Bt,\n\t\t8765: [\n\t\t\t-.13313,\n\t\t\t.37788,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t8769: Bt,\n\t\t8770: vi,\n\t\t8774: Kt,\n\t\t8776: yi,\n\t\t8778: Lt,\n\t\t8782: Vt,\n\t\t8783: Vt,\n\t\t8785: jt,\n\t\t8786: jt,\n\t\t8787: jt,\n\t\t8790: Ht,\n\t\t8791: qt,\n\t\t8796: [\n\t\t\t.08198,\n\t\t\t.91667,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t8806: Ut,\n\t\t8807: Ut,\n\t\t8808: Wt,\n\t\t8809: Wt,\n\t\t8812: [\n\t\t\t.25583,\n\t\t\t.75583,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t8814: Gt,\n\t\t8815: Gt,\n\t\t8816: Kt,\n\t\t8817: Kt,\n\t\t8818: qt,\n\t\t8819: qt,\n\t\t8822: Jt,\n\t\t8823: Jt,\n\t\t8828: Yt,\n\t\t8829: Yt,\n\t\t8830: qt,\n\t\t8831: qt,\n\t\t8832: Gt,\n\t\t8833: Gt,\n\t\t8840: Kt,\n\t\t8841: Kt,\n\t\t8842: Xt,\n\t\t8843: Xt,\n\t\t8847: Zt,\n\t\t8848: Zt,\n\t\t8858: jt,\n\t\t8859: jt,\n\t\t8861: jt,\n\t\t8862: Qt,\n\t\t8863: Qt,\n\t\t8864: Qt,\n\t\t8865: Qt,\n\t\t8872: [\n\t\t\t0,\n\t\t\t.69224,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.61111\n\t\t],\n\t\t8873: Rt,\n\t\t8874: [\n\t\t\t0,\n\t\t\t.69224,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.88889\n\t\t],\n\t\t8876: vt,\n\t\t8877: vt,\n\t\t8878: ht,\n\t\t8879: ht,\n\t\t8882: Zt,\n\t\t8883: Zt,\n\t\t8884: Yt,\n\t\t8885: Yt,\n\t\t8888: [\n\t\t\t0,\n\t\t\t.54986,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.11111\n\t\t],\n\t\t8890: Qr,\n\t\t8891: $t,\n\t\t8892: $t,\n\t\t8901: [\n\t\t\t0,\n\t\t\t.54986,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t8903: Lt,\n\t\t8905: Lt,\n\t\t8906: Lt,\n\t\t8907: Ht,\n\t\t8908: Ht,\n\t\t8909: [\n\t\t\t-.03598,\n\t\t\t.46402,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t8910: en,\n\t\t8911: en,\n\t\t8912: Zt,\n\t\t8913: Zt,\n\t\t8914: tn,\n\t\t8915: tn,\n\t\t8916: zt,\n\t\t8918: nn,\n\t\t8919: nn,\n\t\t8920: rn,\n\t\t8921: rn,\n\t\t8922: an,\n\t\t8923: an,\n\t\t8926: Yt,\n\t\t8927: Yt,\n\t\t8928: Kt,\n\t\t8929: Kt,\n\t\t8934: on,\n\t\t8935: on,\n\t\t8936: on,\n\t\t8937: on,\n\t\t8938: Gt,\n\t\t8939: Gt,\n\t\t8940: Kt,\n\t\t8941: Kt,\n\t\t8994: sn,\n\t\t8995: sn,\n\t\t9416: [\n\t\t\t.15559,\n\t\t\t.69224,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.90222\n\t\t],\n\t\t9484: kt,\n\t\t9488: kt,\n\t\t9492: cn,\n\t\t9496: cn,\n\t\t9585: [\n\t\t\t.19444,\n\t\t\t.68889,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.88889\n\t\t],\n\t\t9586: [\n\t\t\t.19444,\n\t\t\t.74111,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.88889\n\t\t],\n\t\t9632: Qt,\n\t\t9633: Qt,\n\t\t9650: ln,\n\t\t9651: ln,\n\t\t9654: Zt,\n\t\t9660: ln,\n\t\t9661: ln,\n\t\t9664: Zt,\n\t\t9674: dn,\n\t\t9733: [\n\t\t\t.19444,\n\t\t\t.69224,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.94445\n\t\t],\n\t\t10003: un,\n\t\t10016: un,\n\t\t10731: dn,\n\t\t10846: [\n\t\t\t.19444,\n\t\t\t.75583,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.61111\n\t\t],\n\t\t10877: Yt,\n\t\t10878: Yt,\n\t\t10885: Ut,\n\t\t10886: Ut,\n\t\t10887: Xt,\n\t\t10888: Xt,\n\t\t10889: fn,\n\t\t10890: fn,\n\t\t10891: pn,\n\t\t10892: pn,\n\t\t10901: Yt,\n\t\t10902: Yt,\n\t\t10933: Wt,\n\t\t10934: Wt,\n\t\t10935: fn,\n\t\t10936: fn,\n\t\t10937: fn,\n\t\t10938: fn,\n\t\t10949: Ut,\n\t\t10950: Ut,\n\t\t10955: mn,\n\t\t10956: mn,\n\t\t57350: hn,\n\t\t57351: gn,\n\t\t57352: Lt,\n\t\t57353: _n,\n\t\t57356: Wt,\n\t\t57357: Wt,\n\t\t57358: vn,\n\t\t57359: Kt,\n\t\t57360: Kt,\n\t\t57361: vn,\n\t\t57366: Wt,\n\t\t57367: Wt,\n\t\t57368: Wt,\n\t\t57369: Wt,\n\t\t57370: Xt,\n\t\t57371: Xt\n\t},\n\t\"Caligraphic-Regular\": {\n\t\t32: D,\n\t\t65: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.19445,\n\t\t\t.79847\n\t\t],\n\t\t66: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.03041,\n\t\t\t.13889,\n\t\t\t.65681\n\t\t],\n\t\t67: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.05834,\n\t\t\t.13889,\n\t\t\t.52653\n\t\t],\n\t\t68: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.02778,\n\t\t\t.08334,\n\t\t\t.77139\n\t\t],\n\t\t69: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.08944,\n\t\t\t.11111,\n\t\t\t.52778\n\t\t],\n\t\t70: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.09931,\n\t\t\t.11111,\n\t\t\t.71875\n\t\t],\n\t\t71: [\n\t\t\t.09722,\n\t\t\t.68333,\n\t\t\t.0593,\n\t\t\t.11111,\n\t\t\t.59487\n\t\t],\n\t\t72: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.00965,\n\t\t\t.11111,\n\t\t\t.84452\n\t\t],\n\t\t73: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.07382,\n\t\t\t0,\n\t\t\t.54452\n\t\t],\n\t\t74: [\n\t\t\t.09722,\n\t\t\t.68333,\n\t\t\t.18472,\n\t\t\t.16667,\n\t\t\t.67778\n\t\t],\n\t\t75: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.01445,\n\t\t\t.05556,\n\t\t\t.76195\n\t\t],\n\t\t76: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.13889,\n\t\t\t.68972\n\t\t],\n\t\t77: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.13889,\n\t\t\t1.2009\n\t\t],\n\t\t78: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.14736,\n\t\t\t.08334,\n\t\t\t.82049\n\t\t],\n\t\t79: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.02778,\n\t\t\t.11111,\n\t\t\t.79611\n\t\t],\n\t\t80: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.08222,\n\t\t\t.08334,\n\t\t\t.69556\n\t\t],\n\t\t81: [\n\t\t\t.09722,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.11111,\n\t\t\t.81667\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.8475\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.075,\n\t\t\t.13889,\n\t\t\t.60556\n\t\t],\n\t\t84: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.25417,\n\t\t\t0,\n\t\t\t.54464\n\t\t],\n\t\t85: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.09931,\n\t\t\t.08334,\n\t\t\t.62583\n\t\t],\n\t\t86: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.08222,\n\t\t\t0,\n\t\t\t.61278\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.08222,\n\t\t\t.08334,\n\t\t\t.98778\n\t\t],\n\t\t88: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.14643,\n\t\t\t.13889,\n\t\t\t.7133\n\t\t],\n\t\t89: [\n\t\t\t.09722,\n\t\t\t.68333,\n\t\t\t.08222,\n\t\t\t.08334,\n\t\t\t.66834\n\t\t],\n\t\t90: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.07944,\n\t\t\t.13889,\n\t\t\t.72473\n\t\t],\n\t\t160: D\n\t},\n\t\"Fraktur-Regular\": {\n\t\t32: D,\n\t\t33: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.29574\n\t\t],\n\t\t34: En,\n\t\t38: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.73786\n\t\t],\n\t\t39: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.21201\n\t\t],\n\t\t40: yn,\n\t\t41: yn,\n\t\t42: [\n\t\t\t0,\n\t\t\t.62119,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27764\n\t\t],\n\t\t43: bn,\n\t\t44: xn,\n\t\t45: bn,\n\t\t46: xn,\n\t\t47: [\n\t\t\t.24982,\n\t\t\t.74947,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.50181\n\t\t],\n\t\t48: Sn,\n\t\t49: Sn,\n\t\t50: Sn,\n\t\t51: Cn,\n\t\t52: Cn,\n\t\t53: Cn,\n\t\t54: wn,\n\t\t55: Cn,\n\t\t56: wn,\n\t\t57: Cn,\n\t\t58: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.21606\n\t\t],\n\t\t59: [\n\t\t\t.12604,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.21606\n\t\t],\n\t\t61: [\n\t\t\t-.13099,\n\t\t\t.36866,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.75623\n\t\t],\n\t\t63: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.36245\n\t\t],\n\t\t65: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.7176\n\t\t],\n\t\t66: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.88397\n\t\t],\n\t\t67: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.61254\n\t\t],\n\t\t68: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.83158\n\t\t],\n\t\t69: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.66278\n\t\t],\n\t\t70: [\n\t\t\t.12604,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.61119\n\t\t],\n\t\t71: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.78539\n\t\t],\n\t\t72: [\n\t\t\t.06302,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.7203\n\t\t],\n\t\t73: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55448\n\t\t],\n\t\t74: [\n\t\t\t.12604,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55231\n\t\t],\n\t\t75: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.66845\n\t\t],\n\t\t76: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.66602\n\t\t],\n\t\t77: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.04953\n\t\t],\n\t\t78: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.83212\n\t\t],\n\t\t79: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.82699\n\t\t],\n\t\t80: [\n\t\t\t.18906,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.82753\n\t\t],\n\t\t81: [\n\t\t\t.03781,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.82699\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.82807\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.82861\n\t\t],\n\t\t84: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.66899\n\t\t],\n\t\t85: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.64576\n\t\t],\n\t\t86: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.83131\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.04602\n\t\t],\n\t\t88: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.71922\n\t\t],\n\t\t89: [\n\t\t\t.18906,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.83293\n\t\t],\n\t\t90: [\n\t\t\t.12604,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.60201\n\t\t],\n\t\t91: Tn,\n\t\t93: Tn,\n\t\t94: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.49965\n\t\t],\n\t\t97: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.50046\n\t\t],\n\t\t98: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.51315\n\t\t],\n\t\t99: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.38946\n\t\t],\n\t\t100: [\n\t\t\t0,\n\t\t\t.62119,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.49857\n\t\t],\n\t\t101: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.40053\n\t\t],\n\t\t102: [\n\t\t\t.18906,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.32626\n\t\t],\n\t\t103: [\n\t\t\t.18906,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5037\n\t\t],\n\t\t104: [\n\t\t\t.18906,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.52126\n\t\t],\n\t\t105: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27899\n\t\t],\n\t\t106: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.28088\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.38946\n\t\t],\n\t\t108: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27953\n\t\t],\n\t\t109: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.76676\n\t\t],\n\t\t110: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.52666\n\t\t],\n\t\t111: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.48885\n\t\t],\n\t\t112: [\n\t\t\t.18906,\n\t\t\t.52396,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.50046\n\t\t],\n\t\t113: [\n\t\t\t.18906,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.48912\n\t\t],\n\t\t114: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.38919\n\t\t],\n\t\t115: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.44266\n\t\t],\n\t\t116: [\n\t\t\t0,\n\t\t\t.62119,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.33301\n\t\t],\n\t\t117: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5172\n\t\t],\n\t\t118: [\n\t\t\t0,\n\t\t\t.52396,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5118\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.52396,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.77351\n\t\t],\n\t\t120: [\n\t\t\t.18906,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.38865\n\t\t],\n\t\t121: [\n\t\t\t.18906,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.49884\n\t\t],\n\t\t122: [\n\t\t\t.18906,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.39054\n\t\t],\n\t\t160: D,\n\t\t8216: En,\n\t\t8217: En,\n\t\t58112: [\n\t\t\t0,\n\t\t\t.62119,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.49749\n\t\t],\n\t\t58113: [\n\t\t\t0,\n\t\t\t.62119,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.4983\n\t\t],\n\t\t58114: [\n\t\t\t.18906,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.33328\n\t\t],\n\t\t58115: [\n\t\t\t.18906,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.32923\n\t\t],\n\t\t58116: [\n\t\t\t.18906,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.50343\n\t\t],\n\t\t58117: [\n\t\t\t0,\n\t\t\t.69141,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.33301\n\t\t],\n\t\t58118: [\n\t\t\t0,\n\t\t\t.62119,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.33409\n\t\t],\n\t\t58119: [\n\t\t\t0,\n\t\t\t.47534,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.50073\n\t\t]\n\t},\n\t\"Main-Bold\": {\n\t\t32: D,\n\t\t33: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.35\n\t\t],\n\t\t34: Kn,\n\t\t35: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.95833\n\t\t],\n\t\t36: $n,\n\t\t37: [\n\t\t\t.05556,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.95833\n\t\t],\n\t\t38: An,\n\t\t39: In,\n\t\t40: Dn,\n\t\t41: Dn,\n\t\t42: [\n\t\t\t0,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.575\n\t\t],\n\t\t43: Bn,\n\t\t44: [\n\t\t\t.19444,\n\t\t\t.15556,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.31944\n\t\t],\n\t\t45: Ma,\n\t\t46: [\n\t\t\t0,\n\t\t\t.15556,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.31944\n\t\t],\n\t\t47: Nn,\n\t\t48: On,\n\t\t49: On,\n\t\t50: On,\n\t\t51: On,\n\t\t52: On,\n\t\t53: On,\n\t\t54: On,\n\t\t55: On,\n\t\t56: On,\n\t\t57: On,\n\t\t58: Vn,\n\t\t59: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.31944\n\t\t],\n\t\t60: kn,\n\t\t61: ar,\n\t\t62: kn,\n\t\t63: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.54305\n\t\t],\n\t\t64: An,\n\t\t65: Mn,\n\t\t66: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.81805\n\t\t],\n\t\t67: Wn,\n\t\t68: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.88194\n\t\t],\n\t\t69: Ni,\n\t\t70: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.72361\n\t\t],\n\t\t71: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.90416\n\t\t],\n\t\t72: jn,\n\t\t73: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.43611\n\t\t],\n\t\t74: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.59444\n\t\t],\n\t\t75: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.90138\n\t\t],\n\t\t76: Un,\n\t\t77: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.09166\n\t\t],\n\t\t78: jn,\n\t\t79: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.86388\n\t\t],\n\t\t80: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.78611\n\t\t],\n\t\t81: [\n\t\t\t.19444,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.86388\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.8625\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.63889\n\t\t],\n\t\t84: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.8\n\t\t],\n\t\t85: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.88472\n\t\t],\n\t\t86: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.01597,\n\t\t\t0,\n\t\t\t.86944\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.01597,\n\t\t\t0,\n\t\t\t1.18888\n\t\t],\n\t\t88: Mn,\n\t\t89: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.02875,\n\t\t\t0,\n\t\t\t.86944\n\t\t],\n\t\t90: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.70277\n\t\t],\n\t\t91: Pn,\n\t\t92: Nn,\n\t\t93: Pn,\n\t\t94: zn,\n\t\t95: [\n\t\t\t.31,\n\t\t\t.13444,\n\t\t\t.03194,\n\t\t\t0,\n\t\t\t.575\n\t\t],\n\t\t97: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55902\n\t\t],\n\t\t98: Fn,\n\t\t99: Rn,\n\t\t100: Fn,\n\t\t101: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.52708\n\t\t],\n\t\t102: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.10903,\n\t\t\t0,\n\t\t\t.35139\n\t\t],\n\t\t103: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.01597,\n\t\t\t0,\n\t\t\t.575\n\t\t],\n\t\t104: Fn,\n\t\t105: In,\n\t\t106: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.35139\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.60694\n\t\t],\n\t\t108: In,\n\t\t109: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.95833\n\t\t],\n\t\t110: Ln,\n\t\t111: ji,\n\t\t112: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.63889\n\t\t],\n\t\t113: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.60694\n\t\t],\n\t\t114: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.47361\n\t\t],\n\t\t115: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.45361\n\t\t],\n\t\t116: [\n\t\t\t0,\n\t\t\t.63492,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.44722\n\t\t],\n\t\t117: Ln,\n\t\t118: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.01597,\n\t\t\t0,\n\t\t\t.60694\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.01597,\n\t\t\t0,\n\t\t\t.83055\n\t\t],\n\t\t120: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.60694\n\t\t],\n\t\t121: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.01597,\n\t\t\t0,\n\t\t\t.60694\n\t\t],\n\t\t122: Rn,\n\t\t123: Nn,\n\t\t124: Pn,\n\t\t125: Nn,\n\t\t126: [\n\t\t\t.35,\n\t\t\t.34444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.575\n\t\t],\n\t\t160: D,\n\t\t163: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.86853\n\t\t],\n\t\t168: zn,\n\t\t172: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.76666\n\t\t],\n\t\t176: Hn,\n\t\t177: Bn,\n\t\t184: [\n\t\t\t.17014,\n\t\t\t0,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t198: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.04166\n\t\t],\n\t\t215: Bn,\n\t\t216: [\n\t\t\t.04861,\n\t\t\t.73472,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.89444\n\t\t],\n\t\t223: Ta,\n\t\t230: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.83055\n\t\t],\n\t\t247: Bn,\n\t\t248: [\n\t\t\t.09722,\n\t\t\t.54167,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.575\n\t\t],\n\t\t305: Vn,\n\t\t338: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.16944\n\t\t],\n\t\t339: rr,\n\t\t567: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.35139\n\t\t],\n\t\t710: zn,\n\t\t711: [\n\t\t\t0,\n\t\t\t.63194,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.575\n\t\t],\n\t\t713: [\n\t\t\t0,\n\t\t\t.59611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.575\n\t\t],\n\t\t714: zn,\n\t\t715: zn,\n\t\t728: zn,\n\t\t729: In,\n\t\t730: Hn,\n\t\t732: zn,\n\t\t733: zn,\n\t\t915: Un,\n\t\t916: er,\n\t\t920: Gn,\n\t\t923: Fi,\n\t\t926: Li,\n\t\t928: jn,\n\t\t931: Wn,\n\t\t933: Gn,\n\t\t934: Wn,\n\t\t936: Gn,\n\t\t937: Wn,\n\t\t8211: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.03194,\n\t\t\t0,\n\t\t\t.575\n\t\t],\n\t\t8212: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.03194,\n\t\t\t0,\n\t\t\t1.14999\n\t\t],\n\t\t8216: In,\n\t\t8217: In,\n\t\t8220: Kn,\n\t\t8221: Kn,\n\t\t8224: qn,\n\t\t8225: qn,\n\t\t8242: [\n\t\t\t0,\n\t\t\t.55556,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.34444\n\t\t],\n\t\t8407: [\n\t\t\t0,\n\t\t\t.72444,\n\t\t\t.15486,\n\t\t\t0,\n\t\t\t.575\n\t\t],\n\t\t8463: Pi,\n\t\t8465: Jn,\n\t\t8467: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.47361\n\t\t],\n\t\t8472: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.74027\n\t\t],\n\t\t8476: Jn,\n\t\t8501: lr,\n\t\t8592: Yn,\n\t\t8593: Xn,\n\t\t8594: Yn,\n\t\t8595: Xn,\n\t\t8596: Yn,\n\t\t8597: Nn,\n\t\t8598: Zn,\n\t\t8599: Zn,\n\t\t8600: Zn,\n\t\t8601: Zn,\n\t\t8636: Yn,\n\t\t8637: Yn,\n\t\t8640: Yn,\n\t\t8641: Yn,\n\t\t8656: Yn,\n\t\t8657: Qn,\n\t\t8658: Yn,\n\t\t8659: Qn,\n\t\t8660: Yn,\n\t\t8661: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.70277\n\t\t],\n\t\t8704: Fn,\n\t\t8706: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.06389,\n\t\t\t0,\n\t\t\t.62847\n\t\t],\n\t\t8707: Fn,\n\t\t8709: $n,\n\t\t8711: er,\n\t\t8712: tr,\n\t\t8715: tr,\n\t\t8722: Bn,\n\t\t8723: Bn,\n\t\t8725: Nn,\n\t\t8726: Nn,\n\t\t8727: ur,\n\t\t8728: nr,\n\t\t8729: nr,\n\t\t8730: [\n\t\t\t.18,\n\t\t\t.82,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.95833\n\t\t],\n\t\t8733: rr,\n\t\t8734: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.14999\n\t\t],\n\t\t8736: Rt,\n\t\t8739: Pn,\n\t\t8741: Nn,\n\t\t8743: ir,\n\t\t8744: ir,\n\t\t8745: ir,\n\t\t8746: ir,\n\t\t8747: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.12778,\n\t\t\t0,\n\t\t\t.56875\n\t\t],\n\t\t8764: ar,\n\t\t8768: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.31944\n\t\t],\n\t\t8771: or,\n\t\t8776: [\n\t\t\t.02444,\n\t\t\t.52444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.89444\n\t\t],\n\t\t8781: or,\n\t\t8801: or,\n\t\t8804: sr,\n\t\t8805: sr,\n\t\t8810: cr,\n\t\t8811: cr,\n\t\t8826: kn,\n\t\t8827: kn,\n\t\t8834: kn,\n\t\t8835: kn,\n\t\t8838: sr,\n\t\t8839: sr,\n\t\t8846: ir,\n\t\t8849: sr,\n\t\t8850: sr,\n\t\t8851: ir,\n\t\t8852: ir,\n\t\t8853: Bn,\n\t\t8854: Bn,\n\t\t8855: Bn,\n\t\t8856: Bn,\n\t\t8857: Bn,\n\t\t8866: lr,\n\t\t8867: lr,\n\t\t8868: An,\n\t\t8869: An,\n\t\t8900: nr,\n\t\t8901: [\n\t\t\t-.02639,\n\t\t\t.47361,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.31944\n\t\t],\n\t\t8902: ur,\n\t\t8968: dr,\n\t\t8969: dr,\n\t\t8970: dr,\n\t\t8971: dr,\n\t\t8994: fr,\n\t\t8995: fr,\n\t\t9651: pr,\n\t\t9657: ur,\n\t\t9661: pr,\n\t\t9667: ur,\n\t\t9711: Zn,\n\t\t9824: mr,\n\t\t9825: mr,\n\t\t9826: mr,\n\t\t9827: mr,\n\t\t9837: [\n\t\t\t0,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.44722\n\t\t],\n\t\t9838: hr,\n\t\t9839: hr,\n\t\t10216: Dn,\n\t\t10217: Dn,\n\t\t10815: jn,\n\t\t10927: sr,\n\t\t10928: sr,\n\t\t57376: Ai\n\t},\n\t\"Main-BoldItalic\": {\n\t\t32: D,\n\t\t33: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11417,\n\t\t\t0,\n\t\t\t.38611\n\t\t],\n\t\t34: Er,\n\t\t35: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.06833,\n\t\t\t0,\n\t\t\t.94444\n\t\t],\n\t\t37: [\n\t\t\t.05556,\n\t\t\t.75,\n\t\t\t.12861,\n\t\t\t0,\n\t\t\t.94444\n\t\t],\n\t\t38: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08528,\n\t\t\t0,\n\t\t\t.88555\n\t\t],\n\t\t39: Sr,\n\t\t40: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.15806,\n\t\t\t0,\n\t\t\t.47333\n\t\t],\n\t\t41: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.03306,\n\t\t\t0,\n\t\t\t.47333\n\t\t],\n\t\t42: [\n\t\t\t0,\n\t\t\t.75,\n\t\t\t.14333,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t43: [\n\t\t\t.10333,\n\t\t\t.60333,\n\t\t\t.03306,\n\t\t\t0,\n\t\t\t.88555\n\t\t],\n\t\t44: [\n\t\t\t.19444,\n\t\t\t.14722,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.35555\n\t\t],\n\t\t45: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.02611,\n\t\t\t0,\n\t\t\t.41444\n\t\t],\n\t\t46: [\n\t\t\t0,\n\t\t\t.14722,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.35555\n\t\t],\n\t\t47: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.15806,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t48: gr,\n\t\t49: gr,\n\t\t50: gr,\n\t\t51: gr,\n\t\t52: _r,\n\t\t53: gr,\n\t\t54: gr,\n\t\t55: _r,\n\t\t56: gr,\n\t\t57: gr,\n\t\t58: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.06695,\n\t\t\t0,\n\t\t\t.35555\n\t\t],\n\t\t59: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.06695,\n\t\t\t0,\n\t\t\t.35555\n\t\t],\n\t\t61: [\n\t\t\t-.10889,\n\t\t\t.39111,\n\t\t\t.06833,\n\t\t\t0,\n\t\t\t.88555\n\t\t],\n\t\t63: wr,\n\t\t64: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.09208,\n\t\t\t0,\n\t\t\t.88555\n\t\t],\n\t\t65: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.86555\n\t\t],\n\t\t66: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.0992,\n\t\t\t0,\n\t\t\t.81666\n\t\t],\n\t\t67: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.14208,\n\t\t\t0,\n\t\t\t.82666\n\t\t],\n\t\t68: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.09062,\n\t\t\t0,\n\t\t\t.87555\n\t\t],\n\t\t69: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.11431,\n\t\t\t0,\n\t\t\t.75666\n\t\t],\n\t\t70: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.12903,\n\t\t\t0,\n\t\t\t.72722\n\t\t],\n\t\t71: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.07347,\n\t\t\t0,\n\t\t\t.89527\n\t\t],\n\t\t72: vr,\n\t\t73: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.15681,\n\t\t\t0,\n\t\t\t.47166\n\t\t],\n\t\t74: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.145,\n\t\t\t0,\n\t\t\t.61055\n\t\t],\n\t\t75: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.14208,\n\t\t\t0,\n\t\t\t.89499\n\t\t],\n\t\t76: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.69777\n\t\t],\n\t\t77: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.17208,\n\t\t\t0,\n\t\t\t1.07277\n\t\t],\n\t\t78: vr,\n\t\t79: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.09062,\n\t\t\t0,\n\t\t\t.85499\n\t\t],\n\t\t80: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.0992,\n\t\t\t0,\n\t\t\t.78721\n\t\t],\n\t\t81: [\n\t\t\t.19444,\n\t\t\t.68611,\n\t\t\t.09062,\n\t\t\t0,\n\t\t\t.85499\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.02559,\n\t\t\t0,\n\t\t\t.85944\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.11264,\n\t\t\t0,\n\t\t\t.64999\n\t\t],\n\t\t84: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.12903,\n\t\t\t0,\n\t\t\t.7961\n\t\t],\n\t\t85: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.17208,\n\t\t\t0,\n\t\t\t.88083\n\t\t],\n\t\t86: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.18625,\n\t\t\t0,\n\t\t\t.86555\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.18625,\n\t\t\t0,\n\t\t\t1.15999\n\t\t],\n\t\t88: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.15681,\n\t\t\t0,\n\t\t\t.86555\n\t\t],\n\t\t89: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.19803,\n\t\t\t0,\n\t\t\t.86555\n\t\t],\n\t\t90: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.14208,\n\t\t\t0,\n\t\t\t.70888\n\t\t],\n\t\t91: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.1875,\n\t\t\t0,\n\t\t\t.35611\n\t\t],\n\t\t93: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.09972,\n\t\t\t0,\n\t\t\t.35611\n\t\t],\n\t\t94: xr,\n\t\t95: [\n\t\t\t.31,\n\t\t\t.13444,\n\t\t\t.09811,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t97: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.09426,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t98: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.07861,\n\t\t\t0,\n\t\t\t.53222\n\t\t],\n\t\t99: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.05222,\n\t\t\t0,\n\t\t\t.53222\n\t\t],\n\t\t100: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.10861,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t101: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.085,\n\t\t\t0,\n\t\t\t.53222\n\t\t],\n\t\t102: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.21778,\n\t\t\t0,\n\t\t\t.4\n\t\t],\n\t\t103: yr,\n\t\t104: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.09426,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t105: [\n\t\t\t0,\n\t\t\t.69326,\n\t\t\t.11387,\n\t\t\t0,\n\t\t\t.35555\n\t\t],\n\t\t106: [\n\t\t\t.19444,\n\t\t\t.69326,\n\t\t\t.1672,\n\t\t\t0,\n\t\t\t.35555\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11111,\n\t\t\t0,\n\t\t\t.53222\n\t\t],\n\t\t108: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.10861,\n\t\t\t0,\n\t\t\t.29666\n\t\t],\n\t\t109: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.09426,\n\t\t\t0,\n\t\t\t.94444\n\t\t],\n\t\t110: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.09426,\n\t\t\t0,\n\t\t\t.64999\n\t\t],\n\t\t111: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.07861,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t112: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.07861,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t113: yr,\n\t\t114: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.11111,\n\t\t\t0,\n\t\t\t.50167\n\t\t],\n\t\t115: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.08167,\n\t\t\t0,\n\t\t\t.48694\n\t\t],\n\t\t116: [\n\t\t\t0,\n\t\t\t.63492,\n\t\t\t.09639,\n\t\t\t0,\n\t\t\t.385\n\t\t],\n\t\t117: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.09426,\n\t\t\t0,\n\t\t\t.62055\n\t\t],\n\t\t118: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.11111,\n\t\t\t0,\n\t\t\t.53222\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.11111,\n\t\t\t0,\n\t\t\t.76777\n\t\t],\n\t\t120: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.12583,\n\t\t\t0,\n\t\t\t.56055\n\t\t],\n\t\t121: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.105,\n\t\t\t0,\n\t\t\t.56166\n\t\t],\n\t\t122: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.13889,\n\t\t\t0,\n\t\t\t.49055\n\t\t],\n\t\t126: [\n\t\t\t.35,\n\t\t\t.34444,\n\t\t\t.11472,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t160: D,\n\t\t168: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11473,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t176: Cr,\n\t\t184: [\n\t\t\t.17014,\n\t\t\t0,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.53222\n\t\t],\n\t\t198: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.11431,\n\t\t\t0,\n\t\t\t1.02277\n\t\t],\n\t\t216: [\n\t\t\t.04861,\n\t\t\t.73472,\n\t\t\t.09062,\n\t\t\t0,\n\t\t\t.88555\n\t\t],\n\t\t223: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.09736,\n\t\t\t0,\n\t\t\t.665\n\t\t],\n\t\t230: br,\n\t\t248: [\n\t\t\t.09722,\n\t\t\t.54167,\n\t\t\t.09458,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t305: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.09426,\n\t\t\t0,\n\t\t\t.35555\n\t\t],\n\t\t338: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.11431,\n\t\t\t0,\n\t\t\t1.14054\n\t\t],\n\t\t339: br,\n\t\t567: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.04611,\n\t\t\t0,\n\t\t\t.385\n\t\t],\n\t\t710: xr,\n\t\t711: [\n\t\t\t0,\n\t\t\t.63194,\n\t\t\t.08271,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t713: [\n\t\t\t0,\n\t\t\t.59444,\n\t\t\t.10444,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t714: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08528,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t715: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t728: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.10333,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t729: Sr,\n\t\t730: Cr,\n\t\t732: wr,\n\t\t733: wr,\n\t\t915: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.12903,\n\t\t\t0,\n\t\t\t.69777\n\t\t],\n\t\t916: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.94444\n\t\t],\n\t\t920: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.09062,\n\t\t\t0,\n\t\t\t.88555\n\t\t],\n\t\t923: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.80666\n\t\t],\n\t\t926: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.15092,\n\t\t\t0,\n\t\t\t.76777\n\t\t],\n\t\t928: vr,\n\t\t931: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.11431,\n\t\t\t0,\n\t\t\t.82666\n\t\t],\n\t\t933: Tr,\n\t\t934: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.05632,\n\t\t\t0,\n\t\t\t.82666\n\t\t],\n\t\t936: Tr,\n\t\t937: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.0992,\n\t\t\t0,\n\t\t\t.82666\n\t\t],\n\t\t8211: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.09811,\n\t\t\t0,\n\t\t\t.59111\n\t\t],\n\t\t8212: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.09811,\n\t\t\t0,\n\t\t\t1.18221\n\t\t],\n\t\t8216: Sr,\n\t\t8217: Sr,\n\t\t8220: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.16772,\n\t\t\t0,\n\t\t\t.62055\n\t\t],\n\t\t8221: Er\n\t},\n\t\"Main-Italic\": {\n\t\t32: D,\n\t\t33: Dr,\n\t\t34: Rr,\n\t\t35: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.06616,\n\t\t\t0,\n\t\t\t.81777\n\t\t],\n\t\t37: [\n\t\t\t.05556,\n\t\t\t.75,\n\t\t\t.13639,\n\t\t\t0,\n\t\t\t.81777\n\t\t],\n\t\t38: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.09694,\n\t\t\t0,\n\t\t\t.76666\n\t\t],\n\t\t39: Dr,\n\t\t40: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.16194,\n\t\t\t0,\n\t\t\t.40889\n\t\t],\n\t\t41: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.03694,\n\t\t\t0,\n\t\t\t.40889\n\t\t],\n\t\t42: [\n\t\t\t0,\n\t\t\t.75,\n\t\t\t.14917,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t43: [\n\t\t\t.05667,\n\t\t\t.56167,\n\t\t\t.03694,\n\t\t\t0,\n\t\t\t.76666\n\t\t],\n\t\t44: [\n\t\t\t.19444,\n\t\t\t.10556,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t45: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.02826,\n\t\t\t0,\n\t\t\t.35778\n\t\t],\n\t\t46: [\n\t\t\t0,\n\t\t\t.10556,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t47: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.16194,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t48: Or,\n\t\t49: Or,\n\t\t50: Or,\n\t\t51: Or,\n\t\t52: kr,\n\t\t53: Or,\n\t\t54: Or,\n\t\t55: kr,\n\t\t56: Or,\n\t\t57: Or,\n\t\t58: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.0582,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t59: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.0582,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t61: [\n\t\t\t-.13313,\n\t\t\t.36687,\n\t\t\t.06616,\n\t\t\t0,\n\t\t\t.76666\n\t\t],\n\t\t63: Fr,\n\t\t64: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.09597,\n\t\t\t0,\n\t\t\t.76666\n\t\t],\n\t\t65: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.74333\n\t\t],\n\t\t66: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.10257,\n\t\t\t0,\n\t\t\t.70389\n\t\t],\n\t\t67: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.14528,\n\t\t\t0,\n\t\t\t.71555\n\t\t],\n\t\t68: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.09403,\n\t\t\t0,\n\t\t\t.755\n\t\t],\n\t\t69: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.12028,\n\t\t\t0,\n\t\t\t.67833\n\t\t],\n\t\t70: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.13305,\n\t\t\t0,\n\t\t\t.65277\n\t\t],\n\t\t71: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.08722,\n\t\t\t0,\n\t\t\t.77361\n\t\t],\n\t\t72: Ar,\n\t\t73: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.15806,\n\t\t\t0,\n\t\t\t.38555\n\t\t],\n\t\t74: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.14028,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t75: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.14528,\n\t\t\t0,\n\t\t\t.76888\n\t\t],\n\t\t76: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.62722\n\t\t],\n\t\t77: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.16389,\n\t\t\t0,\n\t\t\t.89666\n\t\t],\n\t\t78: Ar,\n\t\t79: Ir,\n\t\t80: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.10257,\n\t\t\t0,\n\t\t\t.67833\n\t\t],\n\t\t81: [\n\t\t\t.19444,\n\t\t\t.68333,\n\t\t\t.09403,\n\t\t\t0,\n\t\t\t.76666\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.03868,\n\t\t\t0,\n\t\t\t.72944\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.11972,\n\t\t\t0,\n\t\t\t.56222\n\t\t],\n\t\t84: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.13305,\n\t\t\t0,\n\t\t\t.71555\n\t\t],\n\t\t85: Ar,\n\t\t86: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.18361,\n\t\t\t0,\n\t\t\t.74333\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.18361,\n\t\t\t0,\n\t\t\t.99888\n\t\t],\n\t\t88: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.15806,\n\t\t\t0,\n\t\t\t.74333\n\t\t],\n\t\t89: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.19383,\n\t\t\t0,\n\t\t\t.74333\n\t\t],\n\t\t90: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.14528,\n\t\t\t0,\n\t\t\t.61333\n\t\t],\n\t\t91: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.1875,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t93: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.10528,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t94: Nr,\n\t\t95: [\n\t\t\t.31,\n\t\t\t.12056,\n\t\t\t.09208,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t97: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.07671,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t98: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.06312,\n\t\t\t0,\n\t\t\t.46\n\t\t],\n\t\t99: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.05653,\n\t\t\t0,\n\t\t\t.46\n\t\t],\n\t\t100: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.10333,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t101: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.07514,\n\t\t\t0,\n\t\t\t.46\n\t\t],\n\t\t102: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.21194,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t103: jr,\n\t\t104: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.07671,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t105: [\n\t\t\t0,\n\t\t\t.65536,\n\t\t\t.1019,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t106: [\n\t\t\t.19444,\n\t\t\t.65536,\n\t\t\t.14467,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.10764,\n\t\t\t0,\n\t\t\t.46\n\t\t],\n\t\t108: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.10333,\n\t\t\t0,\n\t\t\t.25555\n\t\t],\n\t\t109: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.07671,\n\t\t\t0,\n\t\t\t.81777\n\t\t],\n\t\t110: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.07671,\n\t\t\t0,\n\t\t\t.56222\n\t\t],\n\t\t111: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.06312,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t112: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.06312,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t113: jr,\n\t\t114: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.10764,\n\t\t\t0,\n\t\t\t.42166\n\t\t],\n\t\t115: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.08208,\n\t\t\t0,\n\t\t\t.40889\n\t\t],\n\t\t116: [\n\t\t\t0,\n\t\t\t.61508,\n\t\t\t.09486,\n\t\t\t0,\n\t\t\t.33222\n\t\t],\n\t\t117: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.07671,\n\t\t\t0,\n\t\t\t.53666\n\t\t],\n\t\t118: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.10764,\n\t\t\t0,\n\t\t\t.46\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.10764,\n\t\t\t0,\n\t\t\t.66444\n\t\t],\n\t\t120: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.12042,\n\t\t\t0,\n\t\t\t.46389\n\t\t],\n\t\t121: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.08847,\n\t\t\t0,\n\t\t\t.48555\n\t\t],\n\t\t122: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.12292,\n\t\t\t0,\n\t\t\t.40889\n\t\t],\n\t\t126: [\n\t\t\t.35,\n\t\t\t.31786,\n\t\t\t.11585,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t160: D,\n\t\t168: [\n\t\t\t0,\n\t\t\t.66786,\n\t\t\t.10474,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t176: Pr,\n\t\t184: [\n\t\t\t.17014,\n\t\t\t0,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.46\n\t\t],\n\t\t198: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.12028,\n\t\t\t0,\n\t\t\t.88277\n\t\t],\n\t\t216: [\n\t\t\t.04861,\n\t\t\t.73194,\n\t\t\t.09403,\n\t\t\t0,\n\t\t\t.76666\n\t\t],\n\t\t223: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.10514,\n\t\t\t0,\n\t\t\t.53666\n\t\t],\n\t\t230: Mr,\n\t\t248: [\n\t\t\t.09722,\n\t\t\t.52778,\n\t\t\t.09194,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t338: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.12028,\n\t\t\t0,\n\t\t\t.98499\n\t\t],\n\t\t339: Mr,\n\t\t710: Nr,\n\t\t711: [\n\t\t\t0,\n\t\t\t.62847,\n\t\t\t.08295,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t713: [\n\t\t\t0,\n\t\t\t.56167,\n\t\t\t.10333,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t714: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.09694,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t715: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t728: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.10806,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t729: [\n\t\t\t0,\n\t\t\t.66786,\n\t\t\t.11752,\n\t\t\t0,\n\t\t\t.30667\n\t\t],\n\t\t730: Pr,\n\t\t732: [\n\t\t\t0,\n\t\t\t.66786,\n\t\t\t.11585,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t733: Fr,\n\t\t915: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.13305,\n\t\t\t0,\n\t\t\t.62722\n\t\t],\n\t\t916: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.81777\n\t\t],\n\t\t920: Ir,\n\t\t923: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.69222\n\t\t],\n\t\t926: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.15294,\n\t\t\t0,\n\t\t\t.66444\n\t\t],\n\t\t928: Ar,\n\t\t931: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.12028,\n\t\t\t0,\n\t\t\t.71555\n\t\t],\n\t\t933: Lr,\n\t\t934: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.05986,\n\t\t\t0,\n\t\t\t.71555\n\t\t],\n\t\t936: Lr,\n\t\t937: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.10257,\n\t\t\t0,\n\t\t\t.71555\n\t\t],\n\t\t8211: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.09208,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t8212: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.09208,\n\t\t\t0,\n\t\t\t1.02222\n\t\t],\n\t\t8216: Dr,\n\t\t8217: Dr,\n\t\t8220: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.1685,\n\t\t\t0,\n\t\t\t.51444\n\t\t],\n\t\t8221: Rr,\n\t\t8463: Ct\n\t},\n\t\"Main-Regular\": {\n\t\t32: D,\n\t\t33: zr,\n\t\t34: O,\n\t\t35: _a,\n\t\t36: fi,\n\t\t37: va,\n\t\t38: Hr,\n\t\t39: zr,\n\t\t40: Br,\n\t\t41: Br,\n\t\t42: ya,\n\t\t43: ei,\n\t\t44: [\n\t\t\t.19444,\n\t\t\t.10556,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t45: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.33333\n\t\t],\n\t\t46: [\n\t\t\t0,\n\t\t\t.10556,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t47: qr,\n\t\t48: Vr,\n\t\t49: Vr,\n\t\t50: Vr,\n\t\t51: Vr,\n\t\t52: Vr,\n\t\t53: Vr,\n\t\t54: Vr,\n\t\t55: Vr,\n\t\t56: Vr,\n\t\t57: Vr,\n\t\t58: ti,\n\t\t59: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t60: nn,\n\t\t61: Bt,\n\t\t62: nn,\n\t\t63: Ca,\n\t\t64: Hr,\n\t\t65: Ur,\n\t\t66: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.70834\n\t\t],\n\t\t67: Kr,\n\t\t68: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.76389\n\t\t],\n\t\t69: Gr,\n\t\t70: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.65278\n\t\t],\n\t\t71: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.78472\n\t\t],\n\t\t72: Ur,\n\t\t73: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.36111\n\t\t],\n\t\t74: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.51389\n\t\t],\n\t\t75: Wr,\n\t\t76: ai,\n\t\t77: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.91667\n\t\t],\n\t\t78: Ur,\n\t\t79: Wr,\n\t\t80: Gr,\n\t\t81: [\n\t\t\t.19444,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.73611\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55556\n\t\t],\n\t\t84: Kr,\n\t\t85: Ur,\n\t\t86: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.75\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t1.02778\n\t\t],\n\t\t88: Ur,\n\t\t89: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.025,\n\t\t\t0,\n\t\t\t.75\n\t\t],\n\t\t90: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.61111\n\t\t],\n\t\t91: Jr,\n\t\t92: qr,\n\t\t93: Jr,\n\t\t94: O,\n\t\t95: [\n\t\t\t.31,\n\t\t\t.12056,\n\t\t\t.02778,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t97: Zr,\n\t\t98: Yr,\n\t\t99: Xr,\n\t\t100: Yr,\n\t\t101: Xr,\n\t\t102: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.07778,\n\t\t\t0,\n\t\t\t.30556\n\t\t],\n\t\t103: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t104: Yr,\n\t\t105: ni,\n\t\t106: [\n\t\t\t.19444,\n\t\t\t.66786,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.30556\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.52778\n\t\t],\n\t\t108: zr,\n\t\t109: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.83334\n\t\t],\n\t\t110: $r,\n\t\t111: Zr,\n\t\t112: Qr,\n\t\t113: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.52778\n\t\t],\n\t\t114: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.39167\n\t\t],\n\t\t115: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.39445\n\t\t],\n\t\t116: [\n\t\t\t0,\n\t\t\t.61508,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.38889\n\t\t],\n\t\t117: $r,\n\t\t118: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.52778\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.72222\n\t\t],\n\t\t120: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.52778\n\t\t],\n\t\t121: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.52778\n\t\t],\n\t\t122: Xr,\n\t\t123: qr,\n\t\t124: Jr,\n\t\t125: qr,\n\t\t126: [\n\t\t\t.35,\n\t\t\t.31786,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t160: D,\n\t\t163: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.76909\n\t\t],\n\t\t167: oi,\n\t\t168: ii,\n\t\t172: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t176: ri,\n\t\t177: ei,\n\t\t182: di,\n\t\t184: ua,\n\t\t198: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.90278\n\t\t],\n\t\t215: ei,\n\t\t216: [\n\t\t\t.04861,\n\t\t\t.73194,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t223: O,\n\t\t230: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.72222\n\t\t],\n\t\t247: ei,\n\t\t248: [\n\t\t\t.09722,\n\t\t\t.52778,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t305: ti,\n\t\t338: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.01389\n\t\t],\n\t\t339: gi,\n\t\t567: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.30556\n\t\t],\n\t\t710: O,\n\t\t711: [\n\t\t\t0,\n\t\t\t.62847,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t713: [\n\t\t\t0,\n\t\t\t.56778,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t714: O,\n\t\t715: O,\n\t\t728: O,\n\t\t729: ni,\n\t\t730: ri,\n\t\t732: ii,\n\t\t733: O,\n\t\t915: ai,\n\t\t916: pi,\n\t\t920: Wr,\n\t\t923: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.69445\n\t\t],\n\t\t926: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t928: Ur,\n\t\t931: Kr,\n\t\t933: Wr,\n\t\t934: Kr,\n\t\t936: Wr,\n\t\t937: Kr,\n\t\t8211: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.02778,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t8212: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.02778,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8216: zr,\n\t\t8217: zr,\n\t\t8220: O,\n\t\t8221: O,\n\t\t8224: oi,\n\t\t8225: oi,\n\t\t8230: [\n\t\t\t0,\n\t\t\t.12,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.172\n\t\t],\n\t\t8242: [\n\t\t\t0,\n\t\t\t.55556,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.275\n\t\t],\n\t\t8407: [\n\t\t\t0,\n\t\t\t.71444,\n\t\t\t.15382,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t8463: Ct,\n\t\t8465: si,\n\t\t8467: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t.11111,\n\t\t\t.41667\n\t\t],\n\t\t8472: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.11111,\n\t\t\t.63646\n\t\t],\n\t\t8476: si,\n\t\t8501: xi,\n\t\t8592: Tt,\n\t\t8593: ci,\n\t\t8594: Tt,\n\t\t8595: ci,\n\t\t8596: Tt,\n\t\t8597: qr,\n\t\t8598: li,\n\t\t8599: li,\n\t\t8600: li,\n\t\t8601: li,\n\t\t8614: [\n\t\t\t.011,\n\t\t\t.511,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8617: ui,\n\t\t8618: ui,\n\t\t8636: Tt,\n\t\t8637: Tt,\n\t\t8640: Tt,\n\t\t8641: Tt,\n\t\t8652: [\n\t\t\t.011,\n\t\t\t.671,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8656: Tt,\n\t\t8657: di,\n\t\t8658: Tt,\n\t\t8659: di,\n\t\t8660: Tt,\n\t\t8661: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.61111\n\t\t],\n\t\t8704: Yr,\n\t\t8706: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.05556,\n\t\t\t.08334,\n\t\t\t.5309\n\t\t],\n\t\t8707: Yr,\n\t\t8709: fi,\n\t\t8711: pi,\n\t\t8712: mi,\n\t\t8715: mi,\n\t\t8722: ei,\n\t\t8723: ei,\n\t\t8725: qr,\n\t\t8726: qr,\n\t\t8727: Si,\n\t\t8728: hi,\n\t\t8729: hi,\n\t\t8730: [\n\t\t\t.2,\n\t\t\t.8,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.83334\n\t\t],\n\t\t8733: gi,\n\t\t8734: At,\n\t\t8736: Rt,\n\t\t8739: Jr,\n\t\t8741: qr,\n\t\t8743: _i,\n\t\t8744: _i,\n\t\t8745: _i,\n\t\t8746: _i,\n\t\t8747: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.11111,\n\t\t\t0,\n\t\t\t.41667\n\t\t],\n\t\t8764: Bt,\n\t\t8768: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t8771: vi,\n\t\t8773: [\n\t\t\t-.022,\n\t\t\t.589,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8776: yi,\n\t\t8781: vi,\n\t\t8784: [\n\t\t\t-.133,\n\t\t\t.67,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.778\n\t\t],\n\t\t8801: vi,\n\t\t8804: Xt,\n\t\t8805: Xt,\n\t\t8810: bi,\n\t\t8811: bi,\n\t\t8826: nn,\n\t\t8827: nn,\n\t\t8834: nn,\n\t\t8835: nn,\n\t\t8838: Xt,\n\t\t8839: Xt,\n\t\t8846: _i,\n\t\t8849: Xt,\n\t\t8850: Xt,\n\t\t8851: _i,\n\t\t8852: _i,\n\t\t8853: ei,\n\t\t8854: ei,\n\t\t8855: ei,\n\t\t8856: ei,\n\t\t8857: ei,\n\t\t8866: xi,\n\t\t8867: xi,\n\t\t8868: Hr,\n\t\t8869: Hr,\n\t\t8872: [\n\t\t\t.249,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.867\n\t\t],\n\t\t8900: hi,\n\t\t8901: [\n\t\t\t-.05555,\n\t\t\t.44445,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t8902: Si,\n\t\t8904: [\n\t\t\t.005,\n\t\t\t.505,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.9\n\t\t],\n\t\t8942: [\n\t\t\t.03,\n\t\t\t.9,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.278\n\t\t],\n\t\t8943: [\n\t\t\t-.19,\n\t\t\t.31,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.172\n\t\t],\n\t\t8945: [\n\t\t\t-.1,\n\t\t\t.82,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.282\n\t\t],\n\t\t8968: Ci,\n\t\t8969: Ci,\n\t\t8970: Ci,\n\t\t8971: Ci,\n\t\t8994: wi,\n\t\t8995: wi,\n\t\t9136: Ti,\n\t\t9137: Ti,\n\t\t9651: Ei,\n\t\t9657: Si,\n\t\t9661: Ei,\n\t\t9667: Si,\n\t\t9711: li,\n\t\t9824: Di,\n\t\t9825: Di,\n\t\t9826: Di,\n\t\t9827: Di,\n\t\t9837: [\n\t\t\t0,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.38889\n\t\t],\n\t\t9838: Oi,\n\t\t9839: Oi,\n\t\t10216: Br,\n\t\t10217: Br,\n\t\t10222: Ti,\n\t\t10223: Ti,\n\t\t10229: [\n\t\t\t.011,\n\t\t\t.511,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.609\n\t\t],\n\t\t10230: ki,\n\t\t10231: [\n\t\t\t.011,\n\t\t\t.511,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.859\n\t\t],\n\t\t10232: [\n\t\t\t.024,\n\t\t\t.525,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.609\n\t\t],\n\t\t10233: [\n\t\t\t.024,\n\t\t\t.525,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.638\n\t\t],\n\t\t10234: [\n\t\t\t.024,\n\t\t\t.525,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.858\n\t\t],\n\t\t10236: ki,\n\t\t10815: Ur,\n\t\t10927: Xt,\n\t\t10928: Xt,\n\t\t57376: Ai\n\t},\n\t\"Math-BoldItalic\": {\n\t\t32: D,\n\t\t48: ji,\n\t\t49: ji,\n\t\t50: ji,\n\t\t51: Mi,\n\t\t52: Mi,\n\t\t53: Mi,\n\t\t54: On,\n\t\t55: Mi,\n\t\t56: On,\n\t\t57: Mi,\n\t\t65: Mn,\n\t\t66: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.04835,\n\t\t\t0,\n\t\t\t.8664\n\t\t],\n\t\t67: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.06979,\n\t\t\t0,\n\t\t\t.81694\n\t\t],\n\t\t68: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.03194,\n\t\t\t0,\n\t\t\t.93812\n\t\t],\n\t\t69: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.05451,\n\t\t\t0,\n\t\t\t.81007\n\t\t],\n\t\t70: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.15972,\n\t\t\t0,\n\t\t\t.68889\n\t\t],\n\t\t71: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.88673\n\t\t],\n\t\t72: Ii,\n\t\t73: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.07778,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t74: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.10069,\n\t\t\t0,\n\t\t\t.63125\n\t\t],\n\t\t75: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.06979,\n\t\t\t0,\n\t\t\t.97118\n\t\t],\n\t\t76: Ni,\n\t\t77: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.11424,\n\t\t\t0,\n\t\t\t1.14201\n\t\t],\n\t\t78: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.11424,\n\t\t\t0,\n\t\t\t.95034\n\t\t],\n\t\t79: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.03194,\n\t\t\t0,\n\t\t\t.83666\n\t\t],\n\t\t80: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.15972,\n\t\t\t0,\n\t\t\t.72309\n\t\t],\n\t\t81: [\n\t\t\t.19444,\n\t\t\t.68611,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.86861\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.00421,\n\t\t\t0,\n\t\t\t.87235\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.05382,\n\t\t\t0,\n\t\t\t.69271\n\t\t],\n\t\t84: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.15972,\n\t\t\t0,\n\t\t\t.63663\n\t\t],\n\t\t85: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.11424,\n\t\t\t0,\n\t\t\t.80027\n\t\t],\n\t\t86: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.25555,\n\t\t\t0,\n\t\t\t.67778\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.15972,\n\t\t\t0,\n\t\t\t1.09305\n\t\t],\n\t\t88: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.07778,\n\t\t\t0,\n\t\t\t.94722\n\t\t],\n\t\t89: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.25555,\n\t\t\t0,\n\t\t\t.67458\n\t\t],\n\t\t90: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.06979,\n\t\t\t0,\n\t\t\t.77257\n\t\t],\n\t\t97: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.63287\n\t\t],\n\t\t98: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.52083\n\t\t],\n\t\t99: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.51342\n\t\t],\n\t\t100: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.60972\n\t\t],\n\t\t101: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55361\n\t\t],\n\t\t102: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.11042,\n\t\t\t0,\n\t\t\t.56806\n\t\t],\n\t\t103: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.5449\n\t\t],\n\t\t104: Pi,\n\t\t105: [\n\t\t\t0,\n\t\t\t.69326,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.4048\n\t\t],\n\t\t106: [\n\t\t\t.19444,\n\t\t\t.69326,\n\t\t\t.0622,\n\t\t\t0,\n\t\t\t.47083\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.01852,\n\t\t\t0,\n\t\t\t.6037\n\t\t],\n\t\t108: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.0088,\n\t\t\t0,\n\t\t\t.34815\n\t\t],\n\t\t109: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.0324\n\t\t],\n\t\t110: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.71296\n\t\t],\n\t\t111: Ri,\n\t\t112: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.60092\n\t\t],\n\t\t113: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.54213\n\t\t],\n\t\t114: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.03194,\n\t\t\t0,\n\t\t\t.5287\n\t\t],\n\t\t115: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.53125\n\t\t],\n\t\t116: [\n\t\t\t0,\n\t\t\t.63492,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.41528\n\t\t],\n\t\t117: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.68102\n\t\t],\n\t\t118: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.56666\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.02778,\n\t\t\t0,\n\t\t\t.83148\n\t\t],\n\t\t120: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.65903\n\t\t],\n\t\t121: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.59028\n\t\t],\n\t\t122: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.04213,\n\t\t\t0,\n\t\t\t.55509\n\t\t],\n\t\t160: D,\n\t\t915: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.15972,\n\t\t\t0,\n\t\t\t.65694\n\t\t],\n\t\t916: er,\n\t\t920: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.03194,\n\t\t\t0,\n\t\t\t.86722\n\t\t],\n\t\t923: Fi,\n\t\t926: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.07458,\n\t\t\t0,\n\t\t\t.84125\n\t\t],\n\t\t928: Ii,\n\t\t931: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.05451,\n\t\t\t0,\n\t\t\t.88507\n\t\t],\n\t\t933: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.15972,\n\t\t\t0,\n\t\t\t.67083\n\t\t],\n\t\t934: Li,\n\t\t936: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.11653,\n\t\t\t0,\n\t\t\t.71402\n\t\t],\n\t\t937: [\n\t\t\t0,\n\t\t\t.68611,\n\t\t\t.04835,\n\t\t\t0,\n\t\t\t.8789\n\t\t],\n\t\t945: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.76064\n\t\t],\n\t\t946: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.03403,\n\t\t\t0,\n\t\t\t.65972\n\t\t],\n\t\t947: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.06389,\n\t\t\t0,\n\t\t\t.59003\n\t\t],\n\t\t948: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.03819,\n\t\t\t0,\n\t\t\t.52222\n\t\t],\n\t\t949: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.52882\n\t\t],\n\t\t950: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.06215,\n\t\t\t0,\n\t\t\t.50833\n\t\t],\n\t\t951: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.6\n\t\t],\n\t\t952: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.03194,\n\t\t\t0,\n\t\t\t.5618\n\t\t],\n\t\t953: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.41204\n\t\t],\n\t\t954: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.66759\n\t\t],\n\t\t955: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.67083\n\t\t],\n\t\t956: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.70787\n\t\t],\n\t\t957: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.06898,\n\t\t\t0,\n\t\t\t.57685\n\t\t],\n\t\t958: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.03021,\n\t\t\t0,\n\t\t\t.50833\n\t\t],\n\t\t959: Ri,\n\t\t960: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.68241\n\t\t],\n\t\t961: zi,\n\t\t962: [\n\t\t\t.09722,\n\t\t\t.44444,\n\t\t\t.07917,\n\t\t\t0,\n\t\t\t.42361\n\t\t],\n\t\t963: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.68588\n\t\t],\n\t\t964: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.13472,\n\t\t\t0,\n\t\t\t.52083\n\t\t],\n\t\t965: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.63055\n\t\t],\n\t\t966: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.74722\n\t\t],\n\t\t967: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.71805\n\t\t],\n\t\t968: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.75833\n\t\t],\n\t\t969: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.03704,\n\t\t\t0,\n\t\t\t.71782\n\t\t],\n\t\t977: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.69155\n\t\t],\n\t\t981: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.7125\n\t\t],\n\t\t982: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.03194,\n\t\t\t0,\n\t\t\t.975\n\t\t],\n\t\t1009: zi,\n\t\t1013: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.48333\n\t\t],\n\t\t57649: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.39352\n\t\t],\n\t\t57911: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.43889\n\t\t]\n\t},\n\t\"Math-Italic\": {\n\t\t32: D,\n\t\t48: Zr,\n\t\t49: Zr,\n\t\t50: Zr,\n\t\t51: Bi,\n\t\t52: Bi,\n\t\t53: Bi,\n\t\t54: Vr,\n\t\t55: Bi,\n\t\t56: Vr,\n\t\t57: Bi,\n\t\t65: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.13889,\n\t\t\t.75\n\t\t],\n\t\t66: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.05017,\n\t\t\t.08334,\n\t\t\t.75851\n\t\t],\n\t\t67: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.07153,\n\t\t\t.08334,\n\t\t\t.71472\n\t\t],\n\t\t68: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.02778,\n\t\t\t.05556,\n\t\t\t.82792\n\t\t],\n\t\t69: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.05764,\n\t\t\t.08334,\n\t\t\t.7382\n\t\t],\n\t\t70: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.13889,\n\t\t\t.08334,\n\t\t\t.64306\n\t\t],\n\t\t71: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.78625\n\t\t],\n\t\t72: Hi,\n\t\t73: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.07847,\n\t\t\t.11111,\n\t\t\t.43958\n\t\t],\n\t\t74: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.09618,\n\t\t\t.16667,\n\t\t\t.55451\n\t\t],\n\t\t75: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.07153,\n\t\t\t.05556,\n\t\t\t.84931\n\t\t],\n\t\t76: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.02778,\n\t\t\t.68056\n\t\t],\n\t\t77: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.10903,\n\t\t\t.08334,\n\t\t\t.97014\n\t\t],\n\t\t78: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.10903,\n\t\t\t.08334,\n\t\t\t.80347\n\t\t],\n\t\t79: Vi,\n\t\t80: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.13889,\n\t\t\t.08334,\n\t\t\t.64201\n\t\t],\n\t\t81: [\n\t\t\t.19444,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.79056\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.00773,\n\t\t\t.08334,\n\t\t\t.75929\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.05764,\n\t\t\t.08334,\n\t\t\t.6132\n\t\t],\n\t\t84: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.13889,\n\t\t\t.08334,\n\t\t\t.58438\n\t\t],\n\t\t85: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.10903,\n\t\t\t.02778,\n\t\t\t.68278\n\t\t],\n\t\t86: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.22222,\n\t\t\t0,\n\t\t\t.58333\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.13889,\n\t\t\t0,\n\t\t\t.94445\n\t\t],\n\t\t88: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.07847,\n\t\t\t.08334,\n\t\t\t.82847\n\t\t],\n\t\t89: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.22222,\n\t\t\t0,\n\t\t\t.58056\n\t\t],\n\t\t90: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.07153,\n\t\t\t.08334,\n\t\t\t.68264\n\t\t],\n\t\t97: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.52859\n\t\t],\n\t\t98: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.42917\n\t\t],\n\t\t99: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.05556,\n\t\t\t.43276\n\t\t],\n\t\t100: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t.16667,\n\t\t\t.52049\n\t\t],\n\t\t101: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.05556,\n\t\t\t.46563\n\t\t],\n\t\t102: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.10764,\n\t\t\t.16667,\n\t\t\t.48959\n\t\t],\n\t\t103: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.03588,\n\t\t\t.02778,\n\t\t\t.47697\n\t\t],\n\t\t104: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.57616\n\t\t],\n\t\t105: [\n\t\t\t0,\n\t\t\t.65952,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.34451\n\t\t],\n\t\t106: [\n\t\t\t.19444,\n\t\t\t.65952,\n\t\t\t.05724,\n\t\t\t0,\n\t\t\t.41181\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.03148,\n\t\t\t0,\n\t\t\t.5206\n\t\t],\n\t\t108: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.01968,\n\t\t\t.08334,\n\t\t\t.29838\n\t\t],\n\t\t109: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.87801\n\t\t],\n\t\t110: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.60023\n\t\t],\n\t\t111: Ui,\n\t\t112: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.50313\n\t\t],\n\t\t113: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.03588,\n\t\t\t.08334,\n\t\t\t.44641\n\t\t],\n\t\t114: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.02778,\n\t\t\t.05556,\n\t\t\t.45116\n\t\t],\n\t\t115: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.05556,\n\t\t\t.46875\n\t\t],\n\t\t116: [\n\t\t\t0,\n\t\t\t.61508,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.36111\n\t\t],\n\t\t117: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.02778,\n\t\t\t.57246\n\t\t],\n\t\t118: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.03588,\n\t\t\t.02778,\n\t\t\t.48472\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.02691,\n\t\t\t.08334,\n\t\t\t.71592\n\t\t],\n\t\t120: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.02778,\n\t\t\t.57153\n\t\t],\n\t\t121: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.03588,\n\t\t\t.05556,\n\t\t\t.49028\n\t\t],\n\t\t122: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.04398,\n\t\t\t.05556,\n\t\t\t.46505\n\t\t],\n\t\t160: D,\n\t\t915: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.13889,\n\t\t\t.08334,\n\t\t\t.61528\n\t\t],\n\t\t916: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.16667,\n\t\t\t.83334\n\t\t],\n\t\t920: Vi,\n\t\t923: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.16667,\n\t\t\t.69445\n\t\t],\n\t\t926: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.07569,\n\t\t\t.08334,\n\t\t\t.74236\n\t\t],\n\t\t928: Hi,\n\t\t931: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.05764,\n\t\t\t.08334,\n\t\t\t.77986\n\t\t],\n\t\t933: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.13889,\n\t\t\t.05556,\n\t\t\t.58333\n\t\t],\n\t\t934: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.66667\n\t\t],\n\t\t936: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.11,\n\t\t\t.05556,\n\t\t\t.61222\n\t\t],\n\t\t937: [\n\t\t\t0,\n\t\t\t.68333,\n\t\t\t.05017,\n\t\t\t.08334,\n\t\t\t.7724\n\t\t],\n\t\t945: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.0037,\n\t\t\t.02778,\n\t\t\t.6397\n\t\t],\n\t\t946: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.05278,\n\t\t\t.08334,\n\t\t\t.56563\n\t\t],\n\t\t947: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.05556,\n\t\t\t0,\n\t\t\t.51773\n\t\t],\n\t\t948: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.03785,\n\t\t\t.05556,\n\t\t\t.44444\n\t\t],\n\t\t949: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.46632\n\t\t],\n\t\t950: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.07378,\n\t\t\t.08334,\n\t\t\t.4375\n\t\t],\n\t\t951: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t.03588,\n\t\t\t.05556,\n\t\t\t.49653\n\t\t],\n\t\t952: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.02778,\n\t\t\t.08334,\n\t\t\t.46944\n\t\t],\n\t\t953: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.05556,\n\t\t\t.35394\n\t\t],\n\t\t954: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.57616\n\t\t],\n\t\t955: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.58334\n\t\t],\n\t\t956: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.02778,\n\t\t\t.60255\n\t\t],\n\t\t957: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.06366,\n\t\t\t.02778,\n\t\t\t.49398\n\t\t],\n\t\t958: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.04601,\n\t\t\t.11111,\n\t\t\t.4375\n\t\t],\n\t\t959: Ui,\n\t\t960: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.03588,\n\t\t\t0,\n\t\t\t.57003\n\t\t],\n\t\t961: Wi,\n\t\t962: [\n\t\t\t.09722,\n\t\t\t.43056,\n\t\t\t.07986,\n\t\t\t.08334,\n\t\t\t.36285\n\t\t],\n\t\t963: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.03588,\n\t\t\t0,\n\t\t\t.57141\n\t\t],\n\t\t964: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.1132,\n\t\t\t.02778,\n\t\t\t.43715\n\t\t],\n\t\t965: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.03588,\n\t\t\t.02778,\n\t\t\t.54028\n\t\t],\n\t\t966: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.65417\n\t\t],\n\t\t967: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.05556,\n\t\t\t.62569\n\t\t],\n\t\t968: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.03588,\n\t\t\t.11111,\n\t\t\t.65139\n\t\t],\n\t\t969: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.03588,\n\t\t\t0,\n\t\t\t.62245\n\t\t],\n\t\t977: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.59144\n\t\t],\n\t\t981: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.59583\n\t\t],\n\t\t982: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t.02778,\n\t\t\t0,\n\t\t\t.82813\n\t\t],\n\t\t1009: Wi,\n\t\t1013: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.05556,\n\t\t\t.4059\n\t\t],\n\t\t57649: [\n\t\t\t0,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.02778,\n\t\t\t.32246\n\t\t],\n\t\t57911: [\n\t\t\t.19444,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t.08334,\n\t\t\t.38403\n\t\t]\n\t},\n\t\"SansSerif-Bold\": {\n\t\t32: D,\n\t\t33: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.36667\n\t\t],\n\t\t34: sa,\n\t\t35: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.91667\n\t\t],\n\t\t36: [\n\t\t\t.05556,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t37: [\n\t\t\t.05556,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.02912\n\t\t],\n\t\t38: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.83056\n\t\t],\n\t\t39: ra,\n\t\t40: Gi,\n\t\t41: Gi,\n\t\t42: [\n\t\t\t0,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t43: [\n\t\t\t.11667,\n\t\t\t.61667,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.85556\n\t\t],\n\t\t44: [\n\t\t\t.10556,\n\t\t\t.13056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.30556\n\t\t],\n\t\t45: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.36667\n\t\t],\n\t\t46: [\n\t\t\t0,\n\t\t\t.13056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.30556\n\t\t],\n\t\t47: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t48: Ki,\n\t\t49: Ki,\n\t\t50: Ki,\n\t\t51: Ki,\n\t\t52: Ki,\n\t\t53: Ki,\n\t\t54: Ki,\n\t\t55: Ki,\n\t\t56: Ki,\n\t\t57: Ki,\n\t\t58: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.30556\n\t\t],\n\t\t59: [\n\t\t\t.10556,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.30556\n\t\t],\n\t\t61: [\n\t\t\t-.09375,\n\t\t\t.40625,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.85556\n\t\t],\n\t\t63: Yi,\n\t\t64: qi,\n\t\t65: qi,\n\t\t66: qi,\n\t\t67: Xi,\n\t\t68: Ji,\n\t\t69: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.64167\n\t\t],\n\t\t70: xi,\n\t\t71: qi,\n\t\t72: Ji,\n\t\t73: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.33056\n\t\t],\n\t\t74: Yi,\n\t\t75: Zi,\n\t\t76: ia,\n\t\t77: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.97778\n\t\t],\n\t\t78: Ji,\n\t\t79: Ji,\n\t\t80: Xi,\n\t\t81: [\n\t\t\t.10556,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.79445\n\t\t],\n\t\t82: Xi,\n\t\t83: xi,\n\t\t84: qi,\n\t\t85: Zi,\n\t\t86: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.01528,\n\t\t\t0,\n\t\t\t.73334\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.01528,\n\t\t\t0,\n\t\t\t1.03889\n\t\t],\n\t\t88: qi,\n\t\t89: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.0275,\n\t\t\t0,\n\t\t\t.73334\n\t\t],\n\t\t90: aa,\n\t\t91: Qi,\n\t\t93: Qi,\n\t\t94: Ki,\n\t\t95: [\n\t\t\t.35,\n\t\t\t.10833,\n\t\t\t.03056,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t97: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t98: $i,\n\t\t99: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.48889\n\t\t],\n\t\t100: $i,\n\t\t101: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.51111\n\t\t],\n\t\t102: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.07639,\n\t\t\t0,\n\t\t\t.33611\n\t\t],\n\t\t103: [\n\t\t\t.19444,\n\t\t\t.45833,\n\t\t\t.01528,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t104: $i,\n\t\t105: ea,\n\t\t106: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.28611\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.53056\n\t\t],\n\t\t108: ea,\n\t\t109: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.86667\n\t\t],\n\t\t110: na,\n\t\t111: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t112: ta,\n\t\t113: ta,\n\t\t114: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t.01528,\n\t\t\t0,\n\t\t\t.37222\n\t\t],\n\t\t115: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.42167\n\t\t],\n\t\t116: [\n\t\t\t0,\n\t\t\t.58929,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.40417\n\t\t],\n\t\t117: na,\n\t\t118: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t.01528,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t.01528,\n\t\t\t0,\n\t\t\t.74445\n\t\t],\n\t\t120: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t121: [\n\t\t\t.19444,\n\t\t\t.45833,\n\t\t\t.01528,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t122: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.47639\n\t\t],\n\t\t126: [\n\t\t\t.35,\n\t\t\t.34444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t160: D,\n\t\t168: Ki,\n\t\t176: qi,\n\t\t180: Ki,\n\t\t184: [\n\t\t\t.17014,\n\t\t\t0,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.48889\n\t\t],\n\t\t305: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.25556\n\t\t],\n\t\t567: [\n\t\t\t.19444,\n\t\t\t.45833,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.28611\n\t\t],\n\t\t710: Ki,\n\t\t711: [\n\t\t\t0,\n\t\t\t.63542,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t713: [\n\t\t\t0,\n\t\t\t.63778,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t728: Ki,\n\t\t729: ra,\n\t\t730: qi,\n\t\t732: Ki,\n\t\t733: Ki,\n\t\t915: ia,\n\t\t916: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.91667\n\t\t],\n\t\t920: oa,\n\t\t923: aa,\n\t\t926: qi,\n\t\t928: Ji,\n\t\t931: Ji,\n\t\t933: oa,\n\t\t934: Ji,\n\t\t936: oa,\n\t\t937: Ji,\n\t\t8211: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t.03056,\n\t\t\t0,\n\t\t\t.55\n\t\t],\n\t\t8212: [\n\t\t\t0,\n\t\t\t.45833,\n\t\t\t.03056,\n\t\t\t0,\n\t\t\t1.10001\n\t\t],\n\t\t8216: ra,\n\t\t8217: ra,\n\t\t8220: sa,\n\t\t8221: sa\n\t},\n\t\"SansSerif-Italic\": {\n\t\t32: D,\n\t\t33: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.05733,\n\t\t\t0,\n\t\t\t.31945\n\t\t],\n\t\t34: ga,\n\t\t35: [\n\t\t\t.19444,\n\t\t\t.69444,\n\t\t\t.05087,\n\t\t\t0,\n\t\t\t.83334\n\t\t],\n\t\t36: [\n\t\t\t.05556,\n\t\t\t.75,\n\t\t\t.11156,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t37: [\n\t\t\t.05556,\n\t\t\t.75,\n\t\t\t.03126,\n\t\t\t0,\n\t\t\t.83334\n\t\t],\n\t\t38: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.03058,\n\t\t\t0,\n\t\t\t.75834\n\t\t],\n\t\t39: ha,\n\t\t40: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.13164,\n\t\t\t0,\n\t\t\t.38889\n\t\t],\n\t\t41: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.02536,\n\t\t\t0,\n\t\t\t.38889\n\t\t],\n\t\t42: [\n\t\t\t0,\n\t\t\t.75,\n\t\t\t.11775,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t43: [\n\t\t\t.08333,\n\t\t\t.58333,\n\t\t\t.02536,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t44: ba,\n\t\t45: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.01946,\n\t\t\t0,\n\t\t\t.33333\n\t\t],\n\t\t46: xa,\n\t\t47: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.13164,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t48: ca,\n\t\t49: ca,\n\t\t50: ca,\n\t\t51: ca,\n\t\t52: ca,\n\t\t53: ca,\n\t\t54: ca,\n\t\t55: ca,\n\t\t56: ca,\n\t\t57: ca,\n\t\t58: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.02502,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t59: [\n\t\t\t.125,\n\t\t\t.44444,\n\t\t\t.02502,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t61: [\n\t\t\t-.13,\n\t\t\t.37,\n\t\t\t.05087,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t63: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11809,\n\t\t\t0,\n\t\t\t.47222\n\t\t],\n\t\t64: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.07555,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t65: wa,\n\t\t66: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08293,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t67: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11983,\n\t\t\t0,\n\t\t\t.63889\n\t\t],\n\t\t68: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.07555,\n\t\t\t0,\n\t\t\t.72223\n\t\t],\n\t\t69: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11983,\n\t\t\t0,\n\t\t\t.59722\n\t\t],\n\t\t70: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.13372,\n\t\t\t0,\n\t\t\t.56945\n\t\t],\n\t\t71: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11983,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t72: la,\n\t\t73: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.13372,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t74: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08094,\n\t\t\t0,\n\t\t\t.47222\n\t\t],\n\t\t75: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11983,\n\t\t\t0,\n\t\t\t.69445\n\t\t],\n\t\t76: Ea,\n\t\t77: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08094,\n\t\t\t0,\n\t\t\t.875\n\t\t],\n\t\t78: la,\n\t\t79: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.07555,\n\t\t\t0,\n\t\t\t.73611\n\t\t],\n\t\t80: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08293,\n\t\t\t0,\n\t\t\t.63889\n\t\t],\n\t\t81: [\n\t\t\t.125,\n\t\t\t.69444,\n\t\t\t.07555,\n\t\t\t0,\n\t\t\t.73611\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08293,\n\t\t\t0,\n\t\t\t.64584\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.09205,\n\t\t\t0,\n\t\t\t.55556\n\t\t],\n\t\t84: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.13372,\n\t\t\t0,\n\t\t\t.68056\n\t\t],\n\t\t85: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08094,\n\t\t\t0,\n\t\t\t.6875\n\t\t],\n\t\t86: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.1615,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.1615,\n\t\t\t0,\n\t\t\t.94445\n\t\t],\n\t\t88: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.13372,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t89: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.17261,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t90: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11983,\n\t\t\t0,\n\t\t\t.61111\n\t\t],\n\t\t91: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.15942,\n\t\t\t0,\n\t\t\t.28889\n\t\t],\n\t\t93: [\n\t\t\t.25,\n\t\t\t.75,\n\t\t\t.08719,\n\t\t\t0,\n\t\t\t.28889\n\t\t],\n\t\t94: da,\n\t\t95: [\n\t\t\t.35,\n\t\t\t.09444,\n\t\t\t.08616,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t97: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.00981,\n\t\t\t0,\n\t\t\t.48056\n\t\t],\n\t\t98: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.03057,\n\t\t\t0,\n\t\t\t.51667\n\t\t],\n\t\t99: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.08336,\n\t\t\t0,\n\t\t\t.44445\n\t\t],\n\t\t100: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.09483,\n\t\t\t0,\n\t\t\t.51667\n\t\t],\n\t\t101: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.06778,\n\t\t\t0,\n\t\t\t.44445\n\t\t],\n\t\t102: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.21705,\n\t\t\t0,\n\t\t\t.30556\n\t\t],\n\t\t103: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.10836,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t104: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.01778,\n\t\t\t0,\n\t\t\t.51667\n\t\t],\n\t\t105: [\n\t\t\t0,\n\t\t\t.67937,\n\t\t\t.09718,\n\t\t\t0,\n\t\t\t.23889\n\t\t],\n\t\t106: [\n\t\t\t.19444,\n\t\t\t.67937,\n\t\t\t.09162,\n\t\t\t0,\n\t\t\t.26667\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08336,\n\t\t\t0,\n\t\t\t.48889\n\t\t],\n\t\t108: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.09483,\n\t\t\t0,\n\t\t\t.23889\n\t\t],\n\t\t109: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.01778,\n\t\t\t0,\n\t\t\t.79445\n\t\t],\n\t\t110: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.01778,\n\t\t\t0,\n\t\t\t.51667\n\t\t],\n\t\t111: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.06613,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t112: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.0389,\n\t\t\t0,\n\t\t\t.51667\n\t\t],\n\t\t113: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.04169,\n\t\t\t0,\n\t\t\t.51667\n\t\t],\n\t\t114: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.10836,\n\t\t\t0,\n\t\t\t.34167\n\t\t],\n\t\t115: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.0778,\n\t\t\t0,\n\t\t\t.38333\n\t\t],\n\t\t116: [\n\t\t\t0,\n\t\t\t.57143,\n\t\t\t.07225,\n\t\t\t0,\n\t\t\t.36111\n\t\t],\n\t\t117: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.04169,\n\t\t\t0,\n\t\t\t.51667\n\t\t],\n\t\t118: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.10836,\n\t\t\t0,\n\t\t\t.46111\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.10836,\n\t\t\t0,\n\t\t\t.68334\n\t\t],\n\t\t120: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.09169,\n\t\t\t0,\n\t\t\t.46111\n\t\t],\n\t\t121: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.10836,\n\t\t\t0,\n\t\t\t.46111\n\t\t],\n\t\t122: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.08752,\n\t\t\t0,\n\t\t\t.43472\n\t\t],\n\t\t126: [\n\t\t\t.35,\n\t\t\t.32659,\n\t\t\t.08826,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t160: D,\n\t\t168: [\n\t\t\t0,\n\t\t\t.67937,\n\t\t\t.06385,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t176: fa,\n\t\t184: ua,\n\t\t305: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.04169,\n\t\t\t0,\n\t\t\t.23889\n\t\t],\n\t\t567: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.04169,\n\t\t\t0,\n\t\t\t.26667\n\t\t],\n\t\t710: da,\n\t\t711: [\n\t\t\t0,\n\t\t\t.63194,\n\t\t\t.08432,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t713: [\n\t\t\t0,\n\t\t\t.60889,\n\t\t\t.08776,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t714: pa,\n\t\t715: O,\n\t\t728: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.09483,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t729: [\n\t\t\t0,\n\t\t\t.67937,\n\t\t\t.07774,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t730: fa,\n\t\t732: [\n\t\t\t0,\n\t\t\t.67659,\n\t\t\t.08826,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t733: pa,\n\t\t915: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.13372,\n\t\t\t0,\n\t\t\t.54167\n\t\t],\n\t\t916: Pa,\n\t\t920: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.07555,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t923: xi,\n\t\t926: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.12816,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t928: la,\n\t\t931: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.11983,\n\t\t\t0,\n\t\t\t.72222\n\t\t],\n\t\t933: ma,\n\t\t934: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.04603,\n\t\t\t0,\n\t\t\t.72222\n\t\t],\n\t\t936: ma,\n\t\t937: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.08293,\n\t\t\t0,\n\t\t\t.72222\n\t\t],\n\t\t8211: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.08616,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t8212: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.08616,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8216: ha,\n\t\t8217: ha,\n\t\t8220: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.14205,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t8221: ga\n\t},\n\t\"SansSerif-Regular\": {\n\t\t32: D,\n\t\t33: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.31945\n\t\t],\n\t\t34: O,\n\t\t35: _a,\n\t\t36: fi,\n\t\t37: va,\n\t\t38: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.75834\n\t\t],\n\t\t39: zr,\n\t\t40: Br,\n\t\t41: Br,\n\t\t42: ya,\n\t\t43: ei,\n\t\t44: ba,\n\t\t45: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.33333\n\t\t],\n\t\t46: xa,\n\t\t47: qr,\n\t\t48: Sa,\n\t\t49: Sa,\n\t\t50: Sa,\n\t\t51: Sa,\n\t\t52: Sa,\n\t\t53: Sa,\n\t\t54: Sa,\n\t\t55: Sa,\n\t\t56: Sa,\n\t\t57: Sa,\n\t\t58: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t59: [\n\t\t\t.125,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t61: [\n\t\t\t-.13,\n\t\t\t.37,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t63: Ca,\n\t\t64: wa,\n\t\t65: wa,\n\t\t66: wa,\n\t\t67: Fn,\n\t\t68: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.72223\n\t\t],\n\t\t69: Ta,\n\t\t70: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.56945\n\t\t],\n\t\t71: wa,\n\t\t72: Da,\n\t\t73: zr,\n\t\t74: Ca,\n\t\t75: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.69445\n\t\t],\n\t\t76: Ea,\n\t\t77: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.875\n\t\t],\n\t\t78: Da,\n\t\t79: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.73611\n\t\t],\n\t\t80: Fn,\n\t\t81: [\n\t\t\t.125,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.73611\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.64584\n\t\t],\n\t\t83: Yr,\n\t\t84: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.68056\n\t\t],\n\t\t85: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.6875\n\t\t],\n\t\t86: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.94445\n\t\t],\n\t\t88: wa,\n\t\t89: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.025,\n\t\t\t0,\n\t\t\t.66667\n\t\t],\n\t\t90: xi,\n\t\t91: Oa,\n\t\t93: Oa,\n\t\t94: O,\n\t\t95: [\n\t\t\t.35,\n\t\t\t.09444,\n\t\t\t.02778,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t97: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.48056\n\t\t],\n\t\t98: ka,\n\t\t99: Aa,\n\t\t100: ka,\n\t\t101: Aa,\n\t\t102: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t.06944,\n\t\t\t0,\n\t\t\t.30556\n\t\t],\n\t\t103: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t104: ka,\n\t\t105: [\n\t\t\t0,\n\t\t\t.67937,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.23889\n\t\t],\n\t\t106: [\n\t\t\t.19444,\n\t\t\t.67937,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.26667\n\t\t],\n\t\t107: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.48889\n\t\t],\n\t\t108: [\n\t\t\t0,\n\t\t\t.69444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.23889\n\t\t],\n\t\t109: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.79445\n\t\t],\n\t\t110: Na,\n\t\t111: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t112: ja,\n\t\t113: ja,\n\t\t114: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.34167\n\t\t],\n\t\t115: Ma,\n\t\t116: [\n\t\t\t0,\n\t\t\t.57143,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.36111\n\t\t],\n\t\t117: Na,\n\t\t118: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.46111\n\t\t],\n\t\t119: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.68334\n\t\t],\n\t\t120: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.46111\n\t\t],\n\t\t121: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t.01389,\n\t\t\t0,\n\t\t\t.46111\n\t\t],\n\t\t122: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.43472\n\t\t],\n\t\t126: [\n\t\t\t.35,\n\t\t\t.32659,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t160: D,\n\t\t168: [\n\t\t\t0,\n\t\t\t.67937,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t176: wa,\n\t\t184: ua,\n\t\t305: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.23889\n\t\t],\n\t\t567: [\n\t\t\t.19444,\n\t\t\t.44444,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.26667\n\t\t],\n\t\t710: O,\n\t\t711: [\n\t\t\t0,\n\t\t\t.63194,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t713: [\n\t\t\t0,\n\t\t\t.60889,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t714: O,\n\t\t715: O,\n\t\t728: O,\n\t\t729: [\n\t\t\t0,\n\t\t\t.67937,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.27778\n\t\t],\n\t\t730: wa,\n\t\t732: [\n\t\t\t0,\n\t\t\t.67659,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t733: O,\n\t\t915: Ea,\n\t\t916: Pa,\n\t\t920: Hr,\n\t\t923: xi,\n\t\t926: wa,\n\t\t928: Da,\n\t\t931: si,\n\t\t933: Hr,\n\t\t934: si,\n\t\t936: Hr,\n\t\t937: si,\n\t\t8211: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.02778,\n\t\t\t0,\n\t\t\t.5\n\t\t],\n\t\t8212: [\n\t\t\t0,\n\t\t\t.44444,\n\t\t\t.02778,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8216: zr,\n\t\t8217: zr,\n\t\t8220: O,\n\t\t8221: O\n\t},\n\t\"Script-Regular\": {\n\t\t32: D,\n\t\t65: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.22925,\n\t\t\t0,\n\t\t\t.80253\n\t\t],\n\t\t66: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.04087,\n\t\t\t0,\n\t\t\t.90757\n\t\t],\n\t\t67: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.1689,\n\t\t\t0,\n\t\t\t.66619\n\t\t],\n\t\t68: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.09371,\n\t\t\t0,\n\t\t\t.77443\n\t\t],\n\t\t69: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.18583,\n\t\t\t0,\n\t\t\t.56162\n\t\t],\n\t\t70: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.13634,\n\t\t\t0,\n\t\t\t.89544\n\t\t],\n\t\t71: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.17322,\n\t\t\t0,\n\t\t\t.60961\n\t\t],\n\t\t72: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.29694,\n\t\t\t0,\n\t\t\t.96919\n\t\t],\n\t\t73: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.19189,\n\t\t\t0,\n\t\t\t.80907\n\t\t],\n\t\t74: [\n\t\t\t.27778,\n\t\t\t.7,\n\t\t\t.19189,\n\t\t\t0,\n\t\t\t1.05159\n\t\t],\n\t\t75: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.31259,\n\t\t\t0,\n\t\t\t.91364\n\t\t],\n\t\t76: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.19189,\n\t\t\t0,\n\t\t\t.87373\n\t\t],\n\t\t77: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.15981,\n\t\t\t0,\n\t\t\t1.08031\n\t\t],\n\t\t78: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.3525,\n\t\t\t0,\n\t\t\t.9015\n\t\t],\n\t\t79: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.08078,\n\t\t\t0,\n\t\t\t.73787\n\t\t],\n\t\t80: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.08078,\n\t\t\t0,\n\t\t\t1.01262\n\t\t],\n\t\t81: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.03305,\n\t\t\t0,\n\t\t\t.88282\n\t\t],\n\t\t82: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.06259,\n\t\t\t0,\n\t\t\t.85\n\t\t],\n\t\t83: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.19189,\n\t\t\t0,\n\t\t\t.86767\n\t\t],\n\t\t84: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.29087,\n\t\t\t0,\n\t\t\t.74697\n\t\t],\n\t\t85: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.25815,\n\t\t\t0,\n\t\t\t.79996\n\t\t],\n\t\t86: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.27523,\n\t\t\t0,\n\t\t\t.62204\n\t\t],\n\t\t87: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.27523,\n\t\t\t0,\n\t\t\t.80532\n\t\t],\n\t\t88: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.26006,\n\t\t\t0,\n\t\t\t.94445\n\t\t],\n\t\t89: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.2939,\n\t\t\t0,\n\t\t\t.70961\n\t\t],\n\t\t90: [\n\t\t\t0,\n\t\t\t.7,\n\t\t\t.24037,\n\t\t\t0,\n\t\t\t.8212\n\t\t],\n\t\t160: D\n\t},\n\t\"Size1-Regular\": {\n\t\t32: D,\n\t\t40: Fa,\n\t\t41: Fa,\n\t\t47: Ia,\n\t\t91: La,\n\t\t92: Ia,\n\t\t93: La,\n\t\t123: Ra,\n\t\t125: Ra,\n\t\t160: D,\n\t\t710: za,\n\t\t732: za,\n\t\t770: za,\n\t\t771: za,\n\t\t8214: [\n\t\t\t-99e-5,\n\t\t\t.601,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.77778\n\t\t],\n\t\t8593: Ba,\n\t\t8595: Ba,\n\t\t8657: Va,\n\t\t8659: Va,\n\t\t8719: Ha,\n\t\t8720: Ha,\n\t\t8721: [\n\t\t\t.25001,\n\t\t\t.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.05556\n\t\t],\n\t\t8730: [\n\t\t\t.35001,\n\t\t\t.85,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8739: [\n\t\t\t-.00599,\n\t\t\t.606,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.33333\n\t\t],\n\t\t8741: [\n\t\t\t-.00599,\n\t\t\t.606,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.55556\n\t\t],\n\t\t8747: Wa,\n\t\t8748: Ua,\n\t\t8749: Ua,\n\t\t8750: Wa,\n\t\t8896: Ga,\n\t\t8897: Ga,\n\t\t8898: Ga,\n\t\t8899: Ga,\n\t\t8968: Ka,\n\t\t8969: Ka,\n\t\t8970: Ka,\n\t\t8971: Ka,\n\t\t9168: xo,\n\t\t10216: Ka,\n\t\t10217: Ka,\n\t\t10752: qa,\n\t\t10753: qa,\n\t\t10754: qa,\n\t\t10756: Ga,\n\t\t10758: Ga\n\t},\n\t\"Size2-Regular\": {\n\t\t32: D,\n\t\t40: Ja,\n\t\t41: Ja,\n\t\t47: Ya,\n\t\t91: Xa,\n\t\t92: Ya,\n\t\t93: Xa,\n\t\t123: Za,\n\t\t125: Za,\n\t\t160: D,\n\t\t710: Qa,\n\t\t732: Qa,\n\t\t770: Qa,\n\t\t771: Qa,\n\t\t8719: $a,\n\t\t8720: $a,\n\t\t8721: [\n\t\t\t.55001,\n\t\t\t1.05,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.44445\n\t\t],\n\t\t8730: [\n\t\t\t.65002,\n\t\t\t1.15,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8747: to,\n\t\t8748: eo,\n\t\t8749: eo,\n\t\t8750: to,\n\t\t8896: no,\n\t\t8897: no,\n\t\t8898: no,\n\t\t8899: no,\n\t\t8968: ro,\n\t\t8969: ro,\n\t\t8970: ro,\n\t\t8971: ro,\n\t\t10216: io,\n\t\t10217: io,\n\t\t10752: ao,\n\t\t10753: ao,\n\t\t10754: ao,\n\t\t10756: no,\n\t\t10758: no\n\t},\n\t\"Size3-Regular\": {\n\t\t32: D,\n\t\t40: oo,\n\t\t41: oo,\n\t\t47: so,\n\t\t91: co,\n\t\t92: so,\n\t\t93: co,\n\t\t123: lo,\n\t\t125: lo,\n\t\t160: D,\n\t\t710: uo,\n\t\t732: uo,\n\t\t770: uo,\n\t\t771: uo,\n\t\t8730: [\n\t\t\t.95003,\n\t\t\t1.45,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8968: fo,\n\t\t8969: fo,\n\t\t8970: fo,\n\t\t8971: fo,\n\t\t10216: lo,\n\t\t10217: lo\n\t},\n\t\"Size4-Regular\": {\n\t\t32: D,\n\t\t40: po,\n\t\t41: po,\n\t\t47: mo,\n\t\t91: ho,\n\t\t92: mo,\n\t\t93: ho,\n\t\t123: go,\n\t\t125: go,\n\t\t160: D,\n\t\t710: _o,\n\t\t732: _o,\n\t\t770: _o,\n\t\t771: _o,\n\t\t8730: [\n\t\t\t1.25003,\n\t\t\t1.75,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t],\n\t\t8968: vo,\n\t\t8969: vo,\n\t\t8970: vo,\n\t\t8971: vo,\n\t\t9115: yo,\n\t\t9116: bo,\n\t\t9117: yo,\n\t\t9118: yo,\n\t\t9119: bo,\n\t\t9120: yo,\n\t\t9121: So,\n\t\t9122: xo,\n\t\t9123: So,\n\t\t9124: So,\n\t\t9125: xo,\n\t\t9126: So,\n\t\t9127: Co,\n\t\t9128: wo,\n\t\t9129: To,\n\t\t9130: [\n\t\t\t0,\n\t\t\t.3,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.88889\n\t\t],\n\t\t9131: Co,\n\t\t9132: wo,\n\t\t9133: To,\n\t\t9143: [\n\t\t\t.88502,\n\t\t\t.915,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1.05556\n\t\t],\n\t\t10216: go,\n\t\t10217: go,\n\t\t57344: Eo,\n\t\t57345: Eo,\n\t\t57680: Do,\n\t\t57681: Do,\n\t\t57682: Do,\n\t\t57683: Do\n\t},\n\t\"Typewriter-Regular\": {\n\t\t32: No,\n\t\t33: k,\n\t\t34: k,\n\t\t35: k,\n\t\t36: Oo,\n\t\t37: Oo,\n\t\t38: k,\n\t\t39: k,\n\t\t40: Oo,\n\t\t41: Oo,\n\t\t42: [\n\t\t\t0,\n\t\t\t.52083,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t43: ko,\n\t\t44: [\n\t\t\t.13889,\n\t\t\t.125,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t45: ko,\n\t\t46: [\n\t\t\t0,\n\t\t\t.125,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t47: Oo,\n\t\t48: k,\n\t\t49: k,\n\t\t50: k,\n\t\t51: k,\n\t\t52: k,\n\t\t53: k,\n\t\t54: k,\n\t\t55: k,\n\t\t56: k,\n\t\t57: k,\n\t\t58: jo,\n\t\t59: [\n\t\t\t.13889,\n\t\t\t.43056,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t60: Ao,\n\t\t61: [\n\t\t\t-.19549,\n\t\t\t.41562,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t62: Ao,\n\t\t63: k,\n\t\t64: k,\n\t\t65: k,\n\t\t66: k,\n\t\t67: k,\n\t\t68: k,\n\t\t69: k,\n\t\t70: k,\n\t\t71: k,\n\t\t72: k,\n\t\t73: k,\n\t\t74: k,\n\t\t75: k,\n\t\t76: k,\n\t\t77: k,\n\t\t78: k,\n\t\t79: k,\n\t\t80: k,\n\t\t81: [\n\t\t\t.13889,\n\t\t\t.61111,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t82: k,\n\t\t83: k,\n\t\t84: k,\n\t\t85: k,\n\t\t86: k,\n\t\t87: k,\n\t\t88: k,\n\t\t89: k,\n\t\t90: k,\n\t\t91: Oo,\n\t\t92: Oo,\n\t\t93: Oo,\n\t\t94: k,\n\t\t95: [\n\t\t\t.09514,\n\t\t\t0,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t96: k,\n\t\t97: jo,\n\t\t98: k,\n\t\t99: jo,\n\t\t100: k,\n\t\t101: jo,\n\t\t102: k,\n\t\t103: Mo,\n\t\t104: k,\n\t\t105: k,\n\t\t106: [\n\t\t\t.22222,\n\t\t\t.61111,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t107: k,\n\t\t108: k,\n\t\t109: jo,\n\t\t110: jo,\n\t\t111: jo,\n\t\t112: Mo,\n\t\t113: Mo,\n\t\t114: jo,\n\t\t115: jo,\n\t\t116: [\n\t\t\t0,\n\t\t\t.55358,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t117: jo,\n\t\t118: jo,\n\t\t119: jo,\n\t\t120: jo,\n\t\t121: Mo,\n\t\t122: jo,\n\t\t123: Oo,\n\t\t124: Oo,\n\t\t125: Oo,\n\t\t126: k,\n\t\t127: k,\n\t\t160: No,\n\t\t176: k,\n\t\t184: [\n\t\t\t.19445,\n\t\t\t0,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t305: jo,\n\t\t567: Mo,\n\t\t711: [\n\t\t\t0,\n\t\t\t.56597,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t713: [\n\t\t\t0,\n\t\t\t.56555,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t],\n\t\t714: k,\n\t\t715: k,\n\t\t728: k,\n\t\t730: k,\n\t\t770: k,\n\t\t771: k,\n\t\t776: k,\n\t\t915: k,\n\t\t916: k,\n\t\t920: k,\n\t\t923: k,\n\t\t926: k,\n\t\t928: k,\n\t\t931: k,\n\t\t933: k,\n\t\t934: k,\n\t\t936: k,\n\t\t937: k,\n\t\t8216: k,\n\t\t8217: k,\n\t\t8242: k,\n\t\t9251: [\n\t\t\t.11111,\n\t\t\t.21944,\n\t\t\t0,\n\t\t\t0,\n\t\t\t.525\n\t\t]\n\t}\n}, Fo = /[\\u3040-\\u309F]|[\\u30A0-\\u30FF]|[\\u4E00-\\u9FAF]|[\\uAC00-\\uD7AF]/, Io = 10, Lo = .25, Ro = 1.2, zo = .431, Bo = {\n\tslant: [\n\t\t.25,\n\t\t.25,\n\t\t.25\n\t],\n\tspace: [\n\t\t0,\n\t\t0,\n\t\t0\n\t],\n\tstretch: [\n\t\t0,\n\t\t0,\n\t\t0\n\t],\n\tshrink: [\n\t\t0,\n\t\t0,\n\t\t0\n\t],\n\txHeight: [\n\t\tzo,\n\t\tzo,\n\t\tzo\n\t],\n\tquad: [\n\t\t1,\n\t\t1.171,\n\t\t1.472\n\t],\n\textraSpace: [\n\t\t0,\n\t\t0,\n\t\t0\n\t],\n\tnum1: [\n\t\t.5,\n\t\t.732,\n\t\t.925\n\t],\n\tnum2: [\n\t\t.394,\n\t\t.384,\n\t\t.5\n\t],\n\tnum3: [\n\t\t.444,\n\t\t.471,\n\t\t.504\n\t],\n\tdenom1: [\n\t\t.686,\n\t\t.752,\n\t\t1.025\n\t],\n\tdenom2: [\n\t\t.345,\n\t\t.344,\n\t\t.532\n\t],\n\tsup1: [\n\t\t.413,\n\t\t.503,\n\t\t.504\n\t],\n\tsup2: [\n\t\t.363,\n\t\t.431,\n\t\t.404\n\t],\n\tsup3: [\n\t\t.289,\n\t\t.286,\n\t\t.294\n\t],\n\tsub1: [\n\t\t.15,\n\t\t.143,\n\t\t.2\n\t],\n\tsub2: [\n\t\t.247,\n\t\t.286,\n\t\t.4\n\t],\n\tsupDrop: [\n\t\t.386,\n\t\t.353,\n\t\t.494\n\t],\n\tsubDrop: [\n\t\t.05,\n\t\t.071,\n\t\t.1\n\t],\n\tdelim1: [\n\t\t2.39,\n\t\t1.7,\n\t\t1.98\n\t],\n\tdelim2: [\n\t\t1.01,\n\t\t1.157,\n\t\t1.42\n\t],\n\taxisHeight: [\n\t\tLo,\n\t\tLo,\n\t\tLo\n\t],\n\tdefaultRuleThickness: [\n\t\t.04,\n\t\t.049,\n\t\t.049\n\t],\n\tbigOpSpacing1: [\n\t\t.111,\n\t\t.111,\n\t\t.111\n\t],\n\tbigOpSpacing2: [\n\t\t.166,\n\t\t.166,\n\t\t.166\n\t],\n\tbigOpSpacing3: [\n\t\t.2,\n\t\t.2,\n\t\t.2\n\t],\n\tbigOpSpacing4: [\n\t\t.6,\n\t\t.611,\n\t\t.611\n\t],\n\tbigOpSpacing5: [\n\t\t.1,\n\t\t.143,\n\t\t.143\n\t],\n\tsqrtRuleThickness: [\n\t\t.04,\n\t\t.04,\n\t\t.04\n\t]\n}, Vo = [\n\t0,\n\t.5,\n\t.7,\n\t.8,\n\t.9,\n\t1,\n\t1.2,\n\t1.44,\n\t1.728,\n\t2.074,\n\t2.488\n], Ho = 5, Uo = {\n\t\"\\xA0\": \" \",\n\t\"\": \" \",\n\tÅ: \"A\",\n\tÇ: \"C\",\n\tÐ: \"D\",\n\tÞ: \"o\",\n\tå: \"a\",\n\tç: \"c\",\n\tð: \"d\",\n\tþ: \"o\",\n\tА: \"A\",\n\tБ: \"B\",\n\tВ: \"B\",\n\tГ: \"F\",\n\tД: \"A\",\n\tЕ: \"E\",\n\tЖ: \"K\",\n\tЗ: \"3\",\n\tИ: \"N\",\n\tЙ: \"N\",\n\tК: \"K\",\n\tЛ: \"N\",\n\tМ: \"M\",\n\tН: \"H\",\n\tО: \"O\",\n\tП: \"N\",\n\tР: \"P\",\n\tС: \"C\",\n\tТ: \"T\",\n\tУ: \"y\",\n\tФ: \"O\",\n\tХ: \"X\",\n\tЦ: \"U\",\n\tЧ: \"h\",\n\tШ: \"W\",\n\tЩ: \"W\",\n\tЪ: \"B\",\n\tЫ: \"X\",\n\tЬ: \"B\",\n\tЭ: \"3\",\n\tЮ: \"X\",\n\tЯ: \"R\",\n\tа: \"a\",\n\tб: \"b\",\n\tв: \"a\",\n\tг: \"r\",\n\tд: \"y\",\n\tе: \"e\",\n\tж: \"m\",\n\tз: \"e\",\n\tи: \"n\",\n\tй: \"n\",\n\tк: \"n\",\n\tл: \"n\",\n\tм: \"m\",\n\tн: \"n\",\n\tо: \"o\",\n\tп: \"n\",\n\tр: \"p\",\n\tс: \"c\",\n\tт: \"o\",\n\tу: \"y\",\n\tф: \"b\",\n\tх: \"x\",\n\tц: \"n\",\n\tч: \"n\",\n\tш: \"w\",\n\tщ: \"w\",\n\tъ: \"a\",\n\tы: \"m\",\n\tь: \"a\",\n\tэ: \"e\",\n\tю: \"m\",\n\tя: \"r\"\n};\nfunction Wo(e, t) {\n\te === void 0 && (e = 77);\n\tlet n = Po[t][e];\n\tif (n) return {\n\t\tdefaultMetrics: !1,\n\t\tdepth: n[0],\n\t\theight: n[1],\n\t\titalic: n[2],\n\t\tskew: n[3],\n\t\twidth: n[4]\n\t};\n\tif (e === 11034) return {\n\t\tdefaultMetrics: !0,\n\t\tdepth: .2,\n\t\theight: .8,\n\t\titalic: 0,\n\t\tskew: 0,\n\t\twidth: .8\n\t};\n\tlet r = String.fromCodePoint(e);\n\tif (r in Uo) e = Uo[r].codePointAt(0);\n\telse if (Fo.test(r)) return e = 77, {\n\t\tdefaultMetrics: !0,\n\t\tdepth: .2,\n\t\theight: .9,\n\t\titalic: 0,\n\t\tskew: 0,\n\t\twidth: 1\n\t};\n\treturn {\n\t\tdefaultMetrics: !0,\n\t\tdepth: .2,\n\t\theight: .7,\n\t\titalic: 0,\n\t\tskew: 0,\n\t\twidth: .8\n\t};\n}\nvar Go = {\n\toverrightarrow: [\n\t\t[\"rightarrow\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMaxYMin\"\n\t],\n\toverleftarrow: [\n\t\t[\"leftarrow\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMinYMin\"\n\t],\n\tunderrightarrow: [\n\t\t[\"rightarrow\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMaxYMin\"\n\t],\n\tunderleftarrow: [\n\t\t[\"leftarrow\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMinYMin\"\n\t],\n\txrightarrow: [\n\t\t[\"rightarrow\"],\n\t\t1.469,\n\t\t522,\n\t\t\"xMaxYMin\"\n\t],\n\tlongrightarrow: [\n\t\t[\"rightarrow\"],\n\t\t1.469,\n\t\t522,\n\t\t\"xMaxYMin\"\n\t],\n\txleftarrow: [\n\t\t[\"leftarrow\"],\n\t\t1.469,\n\t\t522,\n\t\t\"xMinYMin\"\n\t],\n\tlongleftarrow: [\n\t\t[\"leftarrow\"],\n\t\t1.469,\n\t\t522,\n\t\t\"xMinYMin\"\n\t],\n\tOverrightarrow: [\n\t\t[\"doublerightarrow\"],\n\t\t.888,\n\t\t560,\n\t\t\"xMaxYMin\"\n\t],\n\txRightarrow: [\n\t\t[\"doublerightarrow\"],\n\t\t1.526,\n\t\t560,\n\t\t\"xMaxYMin\"\n\t],\n\txLeftarrow: [\n\t\t[\"doubleleftarrow\"],\n\t\t1.526,\n\t\t560,\n\t\t\"xMinYMin\"\n\t],\n\toverleftharpoon: [\n\t\t[\"leftharpoon\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMinYMin\"\n\t],\n\txleftharpoonup: [\n\t\t[\"leftharpoon\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMinYMin\"\n\t],\n\txleftharpoondown: [\n\t\t[\"leftharpoondown\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMinYMin\"\n\t],\n\toverrightharpoon: [\n\t\t[\"rightharpoon\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMaxYMin\"\n\t],\n\txrightharpoonup: [\n\t\t[\"rightharpoon\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMaxYMin\"\n\t],\n\txrightharpoondown: [\n\t\t[\"rightharpoondown\"],\n\t\t.888,\n\t\t522,\n\t\t\"xMaxYMin\"\n\t],\n\txlongequal: [\n\t\t[\"longequal\"],\n\t\t.888,\n\t\t334,\n\t\t\"xMinYMin\"\n\t],\n\txtwoheadleftarrow: [\n\t\t[\"twoheadleftarrow\"],\n\t\t.888,\n\t\t334,\n\t\t\"xMinYMin\"\n\t],\n\txtwoheadrightarrow: [\n\t\t[\"twoheadrightarrow\"],\n\t\t.888,\n\t\t334,\n\t\t\"xMaxYMin\"\n\t],\n\toverleftrightarrow: [\n\t\t[\"leftarrow\", \"rightarrow\"],\n\t\t.888,\n\t\t522\n\t],\n\toverbrace: [\n\t\t[\n\t\t\t\"leftbrace\",\n\t\t\t\"midbrace\",\n\t\t\t\"rightbrace\"\n\t\t],\n\t\t1.6,\n\t\t548\n\t],\n\tunderbrace: [\n\t\t[\n\t\t\t\"leftbraceunder\",\n\t\t\t\"midbraceunder\",\n\t\t\t\"rightbraceunder\"\n\t\t],\n\t\t1.6,\n\t\t548\n\t],\n\tunderleftrightarrow: [\n\t\t[\"leftarrow\", \"rightarrow\"],\n\t\t.888,\n\t\t522\n\t],\n\txleftrightarrow: [\n\t\t[\"leftarrow\", \"rightarrow\"],\n\t\t1.75,\n\t\t522\n\t],\n\tlongleftrightarrow: [\n\t\t[\"leftarrow\", \"rightarrow\"],\n\t\t1.75,\n\t\t522\n\t],\n\txLeftrightarrow: [\n\t\t[\"doubleleftarrow\", \"doublerightarrow\"],\n\t\t1.75,\n\t\t560\n\t],\n\txrightleftharpoons: [\n\t\t[\"leftharpoondownplus\", \"rightharpoonplus\"],\n\t\t1.75,\n\t\t716\n\t],\n\tlongrightleftharpoons: [\n\t\t[\"leftharpoondownplus\", \"rightharpoonplus\"],\n\t\t1.75,\n\t\t716\n\t],\n\txleftrightharpoons: [\n\t\t[\"leftharpoonplus\", \"rightharpoondownplus\"],\n\t\t1.75,\n\t\t716\n\t],\n\tlongleftrightharpoons: [\n\t\t[\"leftharpoonplus\", \"rightharpoondownplus\"],\n\t\t1.75,\n\t\t716\n\t],\n\txhookleftarrow: [\n\t\t[\"leftarrow\", \"righthook\"],\n\t\t1.08,\n\t\t522\n\t],\n\txhookrightarrow: [\n\t\t[\"lefthook\", \"rightarrow\"],\n\t\t1.08,\n\t\t522\n\t],\n\toverlinesegment: [\n\t\t[\"leftlinesegment\", \"rightlinesegment\"],\n\t\t.888,\n\t\t522\n\t],\n\tunderlinesegment: [\n\t\t[\"leftlinesegment\", \"rightlinesegment\"],\n\t\t.888,\n\t\t522\n\t],\n\tovergroup: [\n\t\t[\"leftgroup\", \"rightgroup\"],\n\t\t.888,\n\t\t342\n\t],\n\tundergroup: [\n\t\t[\"leftgroupunder\", \"rightgroupunder\"],\n\t\t.888,\n\t\t342\n\t],\n\txmapsto: [\n\t\t[\"leftmapsto\", \"rightarrow\"],\n\t\t1.5,\n\t\t522\n\t],\n\txtofrom: [\n\t\t[\"leftToFrom\", \"rightToFrom\"],\n\t\t1.75,\n\t\t528\n\t],\n\txleftrightarrows: [\n\t\t[\"baraboveleftarrow\", \"rightarrowabovebar\"],\n\t\t1.75,\n\t\t901\n\t],\n\tlongleftrightarrows: [\n\t\t[\"baraboveleftarrow\", \"rightarrowabovebar\"],\n\t\t1.75,\n\t\t901\n\t],\n\txRightleftharpoons: [\n\t\t[\"baraboveshortleftharpoon\", \"rightharpoonaboveshortbar\"],\n\t\t1.75,\n\t\t716\n\t],\n\tlongRightleftharpoons: [\n\t\t[\"baraboveshortleftharpoon\", \"rightharpoonaboveshortbar\"],\n\t\t1.75,\n\t\t716\n\t],\n\txLeftrightharpoons: [\n\t\t[\"shortbaraboveleftharpoon\", \"shortrightharpoonabovebar\"],\n\t\t1.75,\n\t\t716\n\t],\n\tlongLeftrightharpoons: [\n\t\t[\"shortbaraboveleftharpoon\", \"shortrightharpoonabovebar\"],\n\t\t1.75,\n\t\t716\n\t]\n}, Ko = {\n\twidehat1: [\n\t\t1062,\n\t\t239,\n\t\t.24\n\t],\n\twidehat2: [\n\t\t2364,\n\t\t300,\n\t\t.3\n\t],\n\twidehat3: [\n\t\t2364,\n\t\t360,\n\t\t.36\n\t],\n\twidehat4: [\n\t\t2364,\n\t\t420,\n\t\t.42\n\t],\n\twidecheck1: [\n\t\t1062,\n\t\t239,\n\t\t.24\n\t],\n\twidecheck2: [\n\t\t2364,\n\t\t300,\n\t\t.3\n\t],\n\twidecheck3: [\n\t\t2364,\n\t\t360,\n\t\t.36\n\t],\n\twidecheck4: [\n\t\t2364,\n\t\t420,\n\t\t.42\n\t],\n\twidetilde1: [\n\t\t600,\n\t\t260,\n\t\t.26\n\t],\n\twidetilde2: [\n\t\t1033,\n\t\t286,\n\t\t.286\n\t],\n\twidetilde3: [\n\t\t2339,\n\t\t306,\n\t\t.306\n\t],\n\twidetilde4: [\n\t\t2340,\n\t\t312,\n\t\t.34\n\t],\n\toverarc: [\n\t\t1061,\n\t\t159,\n\t\t.3\n\t],\n\tunderarc: [\n\t\t1061,\n\t\t159,\n\t\t.3\n\t]\n}, qo = {\n\tdoubleleftarrow: \"M262 157\\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\\nm8 0v40h399730v-40zm0 194v40h399730v-40z\",\n\tdoublerightarrow: \"M399738 392l\\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z\",\n\tleftarrow: \"M400000 241H110l3-3c68.7-52.7 113.7-120\\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\\n l-3-3h399890zM100 241v40h399900v-40z\",\n\tleftbrace: \"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z\",\n\tleftbraceunder: \"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z\",\n\toverarc: \"M529 0c179 0 524 115 524 115 5 1 9 5 9 10 0 1-1 2-1 3l-4 22c-1 5-5 9-11 9h-2s-338-93-512-92c-174 0-513 92-513 92h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13 0 0 342-115 520-115z\",\n\tunderarc: \"m 529 160\\n c -179 0 -524 -115 -524 -115\\n c -5 -1 -9 -5 -9 -10\\n c 0 -1 1 -2 1 -3\\n l 4 -22\\n c 1 -5 5 -9 11 -9\\n h 2\\n s 338 93 512 92\\n c 174 0 513 -92 513 -92\\n h 2\\n c 5 0 9 4 11 9\\n l 5 22\\n c 1 6 -2 12 -8 13\\n c 0 0 -342 115 -520 115\\n z\\n \",\n\tleftgroup: \"M400000 80\\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\\n 435 0h399565z\",\n\tleftgroupunder: \"M400000 262\\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\\n 435 219h399565z\",\n\tleftharpoon: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z\",\n\tleftharpoonplus: \"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\\nm0 0v40h400000v-40z\",\n\tleftharpoondown: \"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z\",\n\tleftharpoondownplus: \"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z\",\n\tlefthook: \"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\\n 71.5 23h399859zM103 281v-40h399897v40z\",\n\tleftlinesegment: \"M40 281 V428 H0 V94 H40 V241 H400000 v40z\\nM40 281 V428 H0 V94 H40 V241 H400000 v40z\",\n\tleftmapsto: \"M40 281 V448H0V74H40V241H400000v40z\\nM40 281 V448H0V74H40V241H400000v40z\",\n\tleftToFrom: \"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z\",\n\tlongequal: \"M0 50 h400000 v40H0z m0 194h40000v40H0z\\nM0 50 h400000 v40H0z m0 194h40000v40H0z\",\n\tmidbrace: \"M200428 334\\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z\",\n\tmidbraceunder: \"M199572 214\\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z\",\n\toiintSize1: \"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z\",\n\toiintSize2: \"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\\nc0 110 84 276 504 276s502.4-166 502.4-276z\",\n\toiiintSize1: \"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z\",\n\toiiintSize2: \"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z\",\n\trightarrow: \"M0 241v40h399891c-47.3 35.3-84 78-110 128\\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n 151.7 139 205zm0 0v40h399900v-40z\",\n\trightbrace: \"M400000 542l\\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z\",\n\trightbraceunder: \"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z\",\n\trightgroup: \"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\\n 3-1 3-3v-38c-76-158-257-219-435-219H0z\",\n\trightgroupunder: \"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z\",\n\trightharpoon: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\\n 69.2 92 94.5zm0 0v40h399900v-40z\",\n\trightharpoonplus: \"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z\",\n\trightharpoondown: \"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z\",\n\trightharpoondownplus: \"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\\nm0-194v40h400000v-40zm0 0v40h400000v-40z\",\n\trighthook: \"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z\",\n\trightlinesegment: \"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z\",\n\trightToFrom: \"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z\",\n\ttwoheadleftarrow: \"M0 167c68 40\\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z\",\n\ttwoheadrightarrow: \"M400000 167\\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z\",\n\twidetilde1: \"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\\n-68.267.847-113-73.952-191-73.952z\",\n\twidetilde2: \"M344 55.266c-142 0-300.638 81.316-311.5 86.418\\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z\",\n\twidetilde3: \"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\\n -338 0-409-156.573-744-156.573z\",\n\twidetilde4: \"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\\n -175.236-744-175.236z\",\n\tvec: \"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\\nc-16-25.333-24-45-24-59z\",\n\twidehat1: \"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z\",\n\twidehat2: \"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n\twidehat3: \"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n\twidehat4: \"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z\",\n\twidecheck1: \"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z\",\n\twidecheck2: \"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n\twidecheck3: \"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n\twidecheck4: \"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z\",\n\tbaraboveleftarrow: \"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z\",\n\trightarrowabovebar: \"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z\",\n\tbaraboveshortleftharpoon: \"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z\",\n\trightharpoonaboveshortbar: \"M0,241 l0,40c399126,0,399993,0,399993,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z\",\n\tshortbaraboveleftharpoon: \"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z\",\n\tshortrightharpoonabovebar: \"M53,241l0,40c398570,0,399437,0,399437,0\\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z\"\n};\nfunction Jo(e) {\n\tif (Ko[e]) {\n\t\tlet [t, n, r] = Ko[e], i = `<span class=\"ML__stretchy\" style=\"height:${r}em\"><svg width=\"100%\" height=\"${r}em\" viewBox=\"0 0 ${t} ${n}\" preserveAspectRatio=\"none\" ><path fill=\"currentcolor\" d=\"${qo[e]}\"></path></svg></span>`;\n\t\treturn `<span style=\"display:inline-block;height:${Math.floor(100 * r / 2) / 100}em;min-width:0\">${i}</span>`;\n\t}\n\tlet [t, n, r, i] = Go[e], a, o, s = r / 1e3;\n\treturn t.length === 3 ? (a = [\n\t\t\"slice-1-of-3\",\n\t\t\"slice-2-of-3\",\n\t\t\"slice-3-of-3\"\n\t], o = [\n\t\t\"xMinYMin\",\n\t\t\"xMidYMin\",\n\t\t\"xMaxYMin\"\n\t]) : t.length === 2 ? (a = [\"slice-1-of-2\", \"slice-2-of-2\"], o = [\"xMinYMin\", \"xMaxYMin\"]) : (a = [\"slice-1-of-1\"], o = [i]), `<span style=\"display:inline-block;height:${s}em;min-width:${n}em;\">${t.map((e, t) => `<span class=\"${a[t]}\" style=height:${s}em><svg width=400em height=${s}em viewBox=\"0 0 400000 ${r}\" preserveAspectRatio=\"${o[t]} slice\"><path fill=\"currentcolor\" d=\"${qo[e]}\"></path></svg></span>`).join(\"\")}</span>`;\n}\nfunction Yo(e) {\n\treturn Go[e] ? Go[e][2] / 1e3 : Ko[e][2];\n}\nfunction Xo(e) {\n\tlet t = [];\n\tfor (let n = 0; n < e.length; n++) {\n\t\tlet r = e.charCodeAt(n);\n\t\tif (r === 13 && e.charCodeAt(n + 1) === 10 && (r = 10, n++), (r === 13 || r === 12) && (r = 10), r === 0 && (r = 65533), r >= 55296 && r <= 56319) {\n\t\t\tlet t = e.charCodeAt(n + 1);\n\t\t\tif (t >= 56320 && t <= 57343) {\n\t\t\t\tlet e = r - 55296, i = t - 56320;\n\t\t\t\tr = 2 ** 16 + e * 1024 + i, n++;\n\t\t\t}\n\t\t}\n\t\tt.push(r);\n\t}\n\treturn t;\n}\nvar Zo = 8205, Qo = [\n\t[Zo, 1],\n\t[65038, 2],\n\t[127995, 5],\n\t[129456, 4],\n\t[917536, 96]\n], $o, es = [127462, 127487];\nfunction ts(e) {\n\tif ($o === void 0) {\n\t\t$o = {};\n\t\tfor (let e of Qo) for (let t = e[0]; t <= e[0] + e[1] - 1; t++) $o[t] = !0;\n\t}\n\treturn $o[e] ?? !1;\n}\nfunction ns(e) {\n\treturn e >= es[0] && e <= es[1];\n}\nfunction rs(e) {\n\tif (/^[\\u0020-\\u00FF]*$/.test(e)) return e;\n\tlet t = [], n = Xo(e), r = 0;\n\tfor (; r < n.length;) {\n\t\tlet e = n[r++], i = n[r];\n\t\tif (i === Zo) {\n\t\t\tlet e = r - 1;\n\t\t\tfor (r += 2; n[r] === Zo;) r += 2;\n\t\t\tt.push(String.fromCodePoint(...n.slice(e, r - e + 1)));\n\t\t} else if (ts(i)) {\n\t\t\tlet e = r - 1;\n\t\t\tfor (; ts(n[r]);) r += n[r] === Zo ? 2 : 1;\n\t\t\tt.push(String.fromCodePoint(...n.slice(e, 2 * r - e - 1)));\n\t\t} else ns(e) ? (r += 1, t.push(String.fromCodePoint(...n.slice(r - 2, 2)))) : t.push(String.fromCodePoint(e));\n\t}\n\treturn t;\n}\nvar is = class {\n\tconstructor(e) {\n\t\tthis.obeyspaces = !1, this.pos = 0, this.s = rs(e);\n\t}\n\tend() {\n\t\treturn this.pos >= this.s.length;\n\t}\n\tget() {\n\t\treturn this.pos < this.s.length ? this.s[this.pos++] : \"\";\n\t}\n\tpeek() {\n\t\treturn this.s[this.pos];\n\t}\n\tmatch(e) {\n\t\tlet t = typeof this.s == \"string\" ? e.exec(this.s.slice(this.pos)) : e.exec(this.s.slice(this.pos).join(\"\"));\n\t\treturn t != null && t[0] ? (this.pos += t[0].length, t[0]) : \"\";\n\t}\n\tnext() {\n\t\tif (this.end()) return null;\n\t\tif (!this.obeyspaces && this.match(/^[ \\f\\n\\r\\t\\v\\u00A0\\u2028\\u2029]+/) || this.obeyspaces && this.match(/^[ \\f\\n\\r\\t\\v\\u00A0\\u2028\\u2029]/)) return \"<space>\";\n\t\tlet e = this.get();\n\t\tif (e === \"\\\\\") {\n\t\t\tif (!this.end()) {\n\t\t\t\tlet e = this.match(/^[a-zA-Z\\*]+/);\n\t\t\t\treturn e ? this.match(/^[ \\f\\n\\r\\t\\v\\u00A0\\u2028\\u2029]*/) : e = this.get(), \"\\\\\" + e;\n\t\t\t}\n\t\t} else {\n\t\t\tif (e === \"{\") return \"<{>\";\n\t\t\tif (e === \"}\") return \"<}>\";\n\t\t\tif (e === \"^\") {\n\t\t\t\tif (this.peek() === \"^\") {\n\t\t\t\t\tthis.get();\n\t\t\t\t\tlet e = this.match(/^(\\^(\\^(\\^(\\^[\\da-f])?[\\da-f])?[\\da-f])?[\\da-f])?[\\da-f]{2}/);\n\t\t\t\t\tif (e) return String.fromCodePoint(Number.parseInt(e.slice(e.lastIndexOf(\"^\") + 1), 16));\n\t\t\t\t}\n\t\t\t\treturn e;\n\t\t\t}\n\t\t\tif (e === \"#\") {\n\t\t\t\tif (!this.end()) {\n\t\t\t\t\tlet e = !1;\n\t\t\t\t\tif (/[\\d?@]/.test(this.peek()) && (e = !0, this.pos + 1 < this.s.length)) {\n\t\t\t\t\t\tlet t = this.s[this.pos + 1];\n\t\t\t\t\t\te = /[^\\dA-Za-z]/.test(t);\n\t\t\t\t\t}\n\t\t\t\t\treturn e ? \"#\" + this.get() : \"#\";\n\t\t\t\t}\n\t\t\t} else if (e === \"$\") return this.peek() === \"$\" ? (this.get(), \"<$$>\") : \"<$>\";\n\t\t}\n\t\treturn e;\n\t}\n};\nfunction as(e, t) {\n\tlet n = [], r = e.next();\n\tif (r && r !== \"\\\\relax\") {\n\t\tif (r === \"\\\\noexpand\") r = e.next(), r && n.push(r);\n\t\telse if (r === \"\\\\obeyspaces\") e.obeyspaces = !0;\n\t\telse if (r === \"\\\\bgroup\") n.push(\"<{>\");\n\t\telse if (r === \"\\\\egroup\") n.push(\"<}>\");\n\t\telse if (r === \"\\\\string\") {\n\t\t\tif (r = e.next(), r) {\n\t\t\t\tif (r.startsWith(\"\\\\\")) for (let e of r) n.push(e === \"\\\\\" ? \"\\\\backslash\" : e);\n\t\t\t\telse r === \"<{>\" ? n.push(\"\\\\{\") : r === \"<space>\" ? n.push(\"~\") : r === \"<}>\" && n.push(\"\\\\}\");\n\t\t\t}\n\t\t} else if (r === \"\\\\csname\") {\n\t\t\tfor (; e.peek() === \"<space>\";) e.next();\n\t\t\tlet i = \"\", a = !1, o = [];\n\t\t\tdo {\n\t\t\t\tif (o.length === 0) {\n\t\t\t\t\tif (/^#[\\d?@]$/.test(e.peek())) {\n\t\t\t\t\t\tlet n = e.get().slice(1);\n\t\t\t\t\t\to = os(t?.(n) ?? t?.(\"?\") ?? \"\\\\placeholder{}\", t), r = o[0];\n\t\t\t\t\t} else r = e.next(), o = r ? [r] : [];\n\t\t\t\t}\n\t\t\t\ta = o.length === 0, !a && r === \"\\\\endcsname\" && (a = !0, o.shift()), a || (a = r === \"<$>\" || r === \"<$$>\" || r === \"<{>\" || r === \"<}>\" || typeof r == \"string\" && r.length > 1 && r.startsWith(\"\\\\\")), a || (i += o.shift());\n\t\t\t} while (!a);\n\t\t\ti && n.push(\"\\\\\" + i), n.push(...o);\n\t\t} else if (r !== \"\\\\endcsname\") {\n\t\t\tif (r.length > 1 && r.startsWith(\"#\")) {\n\t\t\t\tlet e = r.slice(1);\n\t\t\t\tn.push(...os(t?.(e) ?? t?.(\"?\") ?? \"\\\\placeholder{}\", t));\n\t\t\t} else n.push(r);\n\t\t}\n\t}\n\treturn n;\n}\nfunction os(e, t = null) {\n\tif (!e) return [];\n\tlet n = [], r = \"\";\n\tfor (let t of e.toString().split(/\\r?\\n/)) {\n\t\tr && n.push(r), r = \" \";\n\t\tlet e = t.match(/((?:\\\\%)|[^%])*/);\n\t\te !== null && n.push(e[0]);\n\t}\n\tlet i = new is(n.join(\"\")), a = [];\n\tdo\n\t\ta.push(...as(i, t));\n\twhile (!i.end());\n\treturn a;\n}\nfunction A(e) {\n\tlet t = \"\", n = [];\n\tfor (let r of e) r && (t && /^[a-zA-Z\\*]/.test(r) && n.push(t), n.push(r), /^\\\\[a-zA-Z]+\\*?[\\\"\\'][^\\ ]+$/.test(r) && n.push(\" \"), t = /\\\\[a-zA-Z]+\\*?$/.test(r) ? \" \" : \"\");\n\treturn n.join(\"\");\n}\nfunction j(e, ...t) {\n\treturn e.startsWith(\"\\\\\"), t.length === 0 ? e : A([e, ...t.map((e) => `{${e}}`)]);\n}\nfunction ss(e) {\n\treturn A(e.map((e) => ({\n\t\t\"<space>\": \" \",\n\t\t\"<$$>\": \"$$\",\n\t\t\"<$>\": \"$\",\n\t\t\"<{>\": \"{\",\n\t\t\"<}>\": \"}\"\n\t})[e] ?? e));\n}\nvar cs = class e {\n\tconstructor(t) {\n\t\te._registry[t] = this;\n\t}\n\tstatic createAtom(t, n, r) {\n\t\treturn e._registry[t].createAtom(n, ft(n, t), r);\n\t}\n\tstatic serialize(t, n) {\n\t\tvar r;\n\t\tif (!t || t.length === 0) return \"\";\n\t\tif ((r = n.skipStyles) != null && r) {\n\t\t\tlet r = [];\n\t\t\tfor (let i of us(t)) {\n\t\t\t\tlet t = e._registry[i[0].mode];\n\t\t\t\tr.push(...t.serialize(i, n));\n\t\t\t}\n\t\t\treturn A(r);\n\t\t}\n\t\treturn A(gs(t, n));\n\t}\n\tstatic getFont(t, n, r) {\n\t\treturn e._registry[t].getFont(n, r);\n\t}\n};\ncs._registry = {};\nvar ls = cs;\nfunction us(e) {\n\tlet t = [], n = [], r = \"NONE\";\n\tfor (let i of e) i.type !== \"first\" && (i.mode === r ? n.push(i) : (n.length > 0 && t.push(n), n = [i], r = i.mode));\n\treturn n.length > 0 && t.push(n), t;\n}\nfunction ds(e) {\n\tif (e?.mode !== \"math\") return \"\";\n\tlet { style: t } = e;\n\treturn !t || !t.variantStyle ? \"\" : t.variantStyle === \"bold\" || t.variantStyle === \"bolditalic\" ? \"bold\" : \"\";\n}\nfunction fs(e) {\n\tif (!e) return \"\";\n\tlet { style: t } = e;\n\tif (!t) return \"\";\n\tlet n = t.variant;\n\treturn n === void 0 && (n = \"normal\"), ![\n\t\t\"calligraphic\",\n\t\t\"fraktur\",\n\t\t\"double-struck\",\n\t\t\"script\",\n\t\t\"monospace\",\n\t\t\"sans-serif\"\n\t].includes(n) && t.variantStyle && (n += \"-\" + t.variantStyle), n;\n}\nfunction ps(e, t) {\n\tlet n = [], r = [], i;\n\tfor (let a of e) {\n\t\tif (a.type === \"first\") continue;\n\t\tlet e;\n\t\te = t === \"variant\" ? fs(a) : t === \"bold\" ? ds(a) : a.style[t], e === i ? r.push(a) : (r.length > 0 && n.push(r), r = [a], i = e);\n\t}\n\treturn r.length > 0 && n.push(r), n;\n}\nfunction ms(e, t) {\n\tlet { parent: n } = e[0], r = n?.style.color, i = [];\n\tfor (let a of us(e)) {\n\t\tlet e = t.defaultMode;\n\t\tfor (let o of ps(a, \"color\")) {\n\t\t\tlet a = o[0].style, l = ls._registry[o[0].mode].serialize(o, c(s({}, t), { defaultMode: e === \"text\" ? \"text\" : \"math\" }));\n\t\t\t!t.skipStyles && a.color && a.color !== \"none\" && (!n || r !== a.color) ? i.push(j(\"\\\\textcolor\", a.verbatimColor ?? a.color, A(l))) : i.push(A(l));\n\t\t}\n\t}\n\treturn i;\n}\nfunction hs(e, t) {\n\tlet { parent: n } = e[0], r = n?.style.backgroundColor;\n\treturn ps(e, \"backgroundColor\").map((e) => {\n\t\tif (e.length > 0 || e[0].type !== \"box\") {\n\t\t\tlet i = e[0].style;\n\t\t\tif (i.backgroundColor && i.backgroundColor !== \"none\" && (!n || r !== i.backgroundColor)) return j(\"\\\\colorbox\", i.verbatimBackgroundColor ?? i.backgroundColor, A(ms(e, c(s({}, t), { defaultMode: \"text\" }))));\n\t\t}\n\t\treturn A(ms(e, t));\n\t});\n}\nfunction gs(e, t) {\n\tif (e.length === 0) return [];\n\tlet { parent: n } = e[0], r = n?.style.fontSize, i = [];\n\tfor (let a of ps(e, \"fontSize\")) {\n\t\tlet e = a[0].style.fontSize, o = hs(a, t);\n\t\to && (e && e !== \"auto\" && (!n || r !== e) ? i.push([\n\t\t\t\"\",\n\t\t\t\"\\\\tiny\",\n\t\t\t\"\\\\scriptsize\",\n\t\t\t\"\\\\footnotesize\",\n\t\t\t\"\\\\small\",\n\t\t\t\"\\\\normalsize\",\n\t\t\t\"\\\\large\",\n\t\t\t\"\\\\Large\",\n\t\t\t\"\\\\LARGE\",\n\t\t\t\"\\\\huge\",\n\t\t\t\"\\\\Huge\"\n\t\t][e], ...o) : i.push(...o));\n\t}\n\treturn i;\n}\nfunction _s(e) {\n\treturn e ? {\n\t\tmord: \"ord\",\n\t\tmbin: \"bin\",\n\t\tmop: \"op\",\n\t\tmrel: \"rel\",\n\t\tmopen: \"open\",\n\t\tmclose: \"close\",\n\t\tmpunct: \"punct\",\n\t\tminner: \"inner\",\n\t\tspacing: \"ignore\",\n\t\tlatex: \"latex\",\n\t\tcomposition: \"inner\",\n\t\terror: \"inner\",\n\t\tplaceholder: \"ord\",\n\t\tsupsub: \"ignore\"\n\t}[e] : void 0;\n}\nfunction vs(e) {\n\tif (e.length === 0) return \"ord\";\n\tlet t = _s(e[0].type), n = _s(e[e.length - 1].type);\n\treturn t && t === n ? t : \"ord\";\n}\nfunction ys(e, t) {\n\tif (typeof e == \"string\") return e;\n\tif (typeof e == \"number\") {\n\t\tlet n = Math.ceil(100 * e) / 100;\n\t\treturn n === 0 ? \"0\" : n.toString() + (t ?? \"\");\n\t}\n\treturn \"\";\n}\nvar M = class e {\n\tconstructor(t, n) {\n\t\tif (typeof t == \"number\" ? this.value = String.fromCodePoint(t) : typeof t == \"string\" ? this.value = t : x(t) ? this.children = t.filter((e) => e !== null) : t && t instanceof e && (this.children = [t]), this.children) for (let e of this.children) e.parent = this;\n\t\tthis.type = n?.type ?? \"ignore\", this.isSelected = n?.isSelected === !0, n != null && n.caret && (this.caret = n.caret), this.classes = n?.classes ?? \"\", this.isTight = n?.isTight ?? !1, n != null && n.attributes && (this.attributes = n.attributes);\n\t\tlet r = n?.fontFamily;\n\t\tn != null && n.style && this.value && (r = ls.getFont(n.mode ?? \"math\", this, c(s({ variant: \"normal\" }, n.style), { letterShapeStyle: n.letterShapeStyle })) ?? void 0), r || (r = \"Main-Regular\"), this._height = 0, this._depth = 0, this._width = 0, this.hasExplicitWidth = !1, this.skew = 0, this.italic = 0, this.maxFontSize = 0, this.scale = 1, n?.maxFontSize !== void 0 && (this.maxFontSize = n.maxFontSize), ws(this, r);\n\t}\n\tset atomID(e) {\n\t\te === void 0 || e.length === 0 || (this.id = e);\n\t}\n\tselected(e) {\n\t\tif (this.isSelected !== e && (this.isSelected = e, this.children)) for (let t of this.children) t.selected(e);\n\t}\n\tsetStyle(e, t, n) {\n\t\tif (t === void 0) return;\n\t\tlet r = ys(t, n);\n\t\tr.length > 0 && (this.cssProperties || (this.cssProperties = {}), this.cssProperties[e] = r);\n\t}\n\tsetTop(e) {\n\t\tNumber.isFinite(e) && Math.abs(e) > .01 && (this.cssProperties || (this.cssProperties = {}), this.cssProperties.top = ys(e, \"em\"), this.height -= e, this.depth += e);\n\t}\n\tget left() {\n\t\tvar e;\n\t\treturn (e = this.cssProperties) != null && e[\"margin-left\"] ? Number.parseFloat(this.cssProperties[\"margin-left\"]) : 0;\n\t}\n\tset left(e) {\n\t\tNumber.isFinite(e) && (e === 0 ? this.cssProperties && delete this.cssProperties[\"margin-left\"] : (this.cssProperties || (this.cssProperties = {}), this.cssProperties[\"margin-left\"] = ys(e, \"em\")));\n\t}\n\tset right(e) {\n\t\tNumber.isFinite(e) && (e === 0 ? this.cssProperties && delete this.cssProperties[\"margin-right\"] : (this.cssProperties || (this.cssProperties = {}), this.cssProperties[\"margin-right\"] = ys(e, \"em\")));\n\t}\n\tset bottom(e) {\n\t\tNumber.isFinite(e) && (e === 0 ? this.cssProperties && delete this.cssProperties[\"margin-bottom\"] : (this.cssProperties || (this.cssProperties = {}), this.cssProperties[\"margin-bottom\"] = ys(e, \"em\")));\n\t}\n\tget width() {\n\t\treturn this._width * this.scale;\n\t}\n\tset width(e) {\n\t\tthis._width = e, this.hasExplicitWidth = !0;\n\t}\n\tset softWidth(e) {}\n\tget height() {\n\t\treturn this._height * this.scale;\n\t}\n\tset height(e) {\n\t\tthis._height = e;\n\t}\n\tget depth() {\n\t\treturn this._depth * this.scale;\n\t}\n\tset depth(e) {\n\t\tthis._depth = e;\n\t}\n\twrap(e) {\n\t\tlet t = e.parent;\n\t\tif (!t) return this;\n\t\te.isPhantom && this.setStyle(\"opacity\", 0);\n\t\tlet n = e.color;\n\t\tn && n !== t.color && this.setStyle(\"color\", n);\n\t\tlet r = e.backgroundColor;\n\t\tthis.isSelected && (r = Le(r)), r && r !== t.backgroundColor && (this.setStyle(\"background-color\", r), this.setStyle(\"--bg-color\", r), this.setStyle(\"display\", \"inline-block\"), this.setStyle(\"position\", \"relative\"), this.classes = this.classes ? `${this.classes} ML__bg` : \"ML__bg\");\n\t\tlet i = e.scalingFactor;\n\t\treturn this.scale = i, this.skew *= i, this.italic *= i, this;\n\t}\n\ttoMarkup() {\n\t\tlet e = this.value ? Ts(this.value) : \"\";\n\t\tif (this.children) for (let t of this.children) e += t.toMarkup();\n\t\tlet t = \"\";\n\t\tif (this.svgBody) t = Jo(this.svgBody);\n\t\telse if (this.svgOverlay) {\n\t\t\tt = \"<span style=\\\"\", t += \"display: inline-block;\", t += `height:${Math.floor(100 * (this.height + this.depth)) / 100}em;`, t += `vertical-align:${Math.floor(100 * this.depth) / 100}em;`, t += \"\\\">\", t += e, t += \"</span>\", t += \"<svg style=\\\"position:absolute;overflow:visible;\", t += `height:${Math.floor(100 * (this.height + this.depth)) / 100}em;`;\n\t\t\tlet n = this.cssProperties?.padding;\n\t\t\tn ? (t += `top:${n};`, t += `left:${n};`, t += `width:calc(100% - 2 * ${n} );`) : t += \"top:0;left:0;width:100%;\", t += \"z-index:2;\", t += \"\\\"\", this.svgStyle && (t += this.svgStyle), t += ` viewBox=\"0 0 ${Math.floor(100 * this.width) / 100} ${Math.floor(100 * (this.height + this.depth)) / 100}\"`, t += `>${this.svgOverlay}</svg>`;\n\t\t}\n\t\tlet n = [], r = this.classes.split(\" \");\n\t\tr.push({\n\t\t\tlatex: \"ML__raw-latex\",\n\t\t\tplaceholder: \"ML__placeholder\",\n\t\t\terror: \"ML__error\"\n\t\t}[this.type] ?? \"\"), this.caret === \"latex\" && r.push(\"ML__latex-caret\"), this.isSelected && r.push(\"ML__selected\");\n\t\tlet i = r.length === 1 ? r[0] : r.filter((e, t, n) => e.length > 0 && n.indexOf(e) === t).join(\" \");\n\t\tif (i.length > 0 && n.push(`class=${Ds(`\"${i}\"`)}`), this.id && n.push(` data-atom-id=${Ds(this.id)}`), this.cssId && n.push(` id=${Ds(`\"${this.cssId.replace(/ /g, \"-\")}\"`)}`), this.attributes && n.push(...Object.keys(this.attributes).map((e) => `${Es(e)}=${Ds(this.attributes[e])}`)), this.htmlData) {\n\t\t\tlet e = this.htmlData.split(\",\");\n\t\t\tfor (let t of e) {\n\t\t\t\tlet e = t.match(/([^=]+)=(.+$)/);\n\t\t\t\tif (e) {\n\t\t\t\t\tlet t = Es(e[1]);\n\t\t\t\t\tif (t) {\n\t\t\t\t\t\tif (t === \"href\") {\n\t\t\t\t\t\t\tlet t = new URL(e[2]);\n\t\t\t\t\t\t\tif (t.protocol !== \"http:\" && t.protocol !== \"https:\") throw Error(`Invalid URL: ${e[2]}`);\n\t\t\t\t\t\t\tn.push(`href=\"${e[2].replace(/\"/g, \""\")}\"`);\n\t\t\t\t\t\t} else n.push(`data-${t}=${Ds(e[2])}`);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tlet e = Es(t);\n\t\t\t\t\te && n.push(`data-${e} `);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tlet a = this.cssProperties ?? {};\n\t\tthis.hasExplicitWidth && a.width === void 0 && (a.width = `${Math.ceil(this._width * 100) / 100}em`);\n\t\tlet o = Object.keys(a).map((e) => `${e}:${a[e]}`);\n\t\tif (this.scale !== void 0 && this.scale !== 1 && (e.length > 0 || t.length > 0) && o.push(`font-size: ${Math.ceil(this.scale * 1e4) / 100}%`), this.htmlStyle) for (let e of this.htmlStyle.split(\";\")) {\n\t\t\tlet t = e.match(/([^:]+):(.+$)/);\n\t\t\tif (t) {\n\t\t\t\tlet e = t[1].trim().replace(/ /g, \"-\");\n\t\t\t\te && o.push(`${e}:${t[2]}`);\n\t\t\t}\n\t\t}\n\t\to.length > 0 && n.push(`style=${Ds(o.join(\";\"))}`);\n\t\tlet s = \"\";\n\t\treturn s = n.length > 0 || t.length > 0 ? `<span ${n.join(\" \")}>${e}${t}</span>` : e, this.caret === \"text\" ? s += \"<span class=\\\"ML__text-caret\\\"></span>\" : this.caret === \"math\" && (s += \"<span class=\\\"ML__caret\\\"></span>\"), s;\n\t}\n\ttryCoalesceWith(e) {\n\t\tif (this.svgBody || !this.value || e.svgBody || !e.value) return !1;\n\t\tlet t = this.children && this.children.length > 0, n = e.children && e.children.length > 0;\n\t\tif (t || n) return !1;\n\t\tif (e.cssProperties || this.cssProperties) {\n\t\t\tfor (let t of [\n\t\t\t\t\"border\",\n\t\t\t\t\"border-left\",\n\t\t\t\t\"border-right\",\n\t\t\t\t\"border-right-width\",\n\t\t\t\t\"left\",\n\t\t\t\t\"margin\",\n\t\t\t\t\"margin-left\",\n\t\t\t\t\"margin-right\",\n\t\t\t\t\"padding\",\n\t\t\t\t\"position\",\n\t\t\t\t\"width\"\n\t\t\t]) if (e.cssProperties && t in e.cssProperties || this.cssProperties && t in this.cssProperties) return !1;\n\t\t}\n\t\tlet r = this.cssProperties ? Object.keys(this.cssProperties).length : 0;\n\t\tif (r !== (e.cssProperties ? Object.keys(e.cssProperties).length : 0)) return !1;\n\t\tif (r > 0) {\n\t\t\tfor (let t of Object.keys(this.cssProperties)) if (this.cssProperties[t] !== e.cssProperties[t]) return !1;\n\t\t}\n\t\tlet i = this.classes.trim().replace(/\\s+/g, \" \").split(\" \"), a = e.classes.trim().replace(/\\s+/g, \" \").split(\" \");\n\t\tif (i.length !== a.length) return !1;\n\t\ti.sort(), a.sort();\n\t\tfor (let [e, t] of i.entries()) if (t === \"ML__vertical-separator\" || t !== a[e]) return !1;\n\t\treturn this.value += e.value, this.height = Math.max(this.height, e.height), this.depth = Math.max(this.depth, e.depth), this._width += e._width, this.maxFontSize = Math.max(this.maxFontSize, e.maxFontSize), this.italic = e.italic, !0;\n\t}\n};\nfunction bs(e) {\n\tif (!e || e.length === 0) return [];\n\te[0].children = bs(e[0].children);\n\tlet t = [e[0]];\n\tfor (let n = 1; n < e.length; n++) t[t.length - 1].tryCoalesceWith(e[n]) || (e[n].children = bs(e[n].children), t.push(e[n]));\n\treturn t;\n}\nfunction xs(e) {\n\treturn e.children && (e.children = bs(e.children)), e;\n}\nfunction Ss(e, t) {\n\tif (!e) return new M(null, t);\n\tlet n = new M(null, {\n\t\tclasses: \"ML__strut\",\n\t\ttype: \"ignore\"\n\t});\n\tn.setStyle(\"height\", Math.max(0, e.height), \"em\");\n\tlet r = [n];\n\tif (e.depth !== 0) {\n\t\tlet t = new M(null, {\n\t\t\tclasses: \"ML__strut--bottom\",\n\t\t\ttype: \"ignore\"\n\t\t});\n\t\tt.setStyle(\"height\", e.height + e.depth, \"em\"), t.setStyle(\"vertical-align\", -e.depth, \"em\"), r.push(t);\n\t}\n\treturn r.push(e), new M(r, c(s({}, t), { type: \"lift\" }));\n}\nfunction Cs(e) {\n\tlet t = Yo(e) / 2, n = new M(null, { maxFontSize: 0 });\n\treturn n.height = t + .166, n.depth = t - .166, n.svgBody = e, n;\n}\nfunction ws(e, t) {\n\tif (e.type === \"latex\") {\n\t\te.height = .9, e.depth = .2, e._width = 1;\n\t\treturn;\n\t}\n\tif (e.value) {\n\t\te.height = -1 / 0, e.depth = -1 / 0, e._width = 0, e.skew = -1 / 0, e.italic = -1 / 0;\n\t\tfor (let n = 0; n < e.value.length; n++) {\n\t\t\tlet r = Wo(e.value.codePointAt(n), t);\n\t\t\te.height = Math.max(e.height, r.height), e.depth = Math.max(e.depth, r.depth), e._width += r.width, e.skew = r.skew, e.italic = r.italic;\n\t\t}\n\t\treturn;\n\t}\n\tif (e.children && e.children.length > 0) {\n\t\tlet t = -1 / 0, n = -1 / 0, r = 0;\n\t\tfor (let i of e.children) i.height > t && (t = i.height), i.depth > n && (n = i.depth), r = Math.max(r, i.maxFontSize ?? 0);\n\t\te.height = t, e.depth = n, e._width = e.children.reduce((e, t) => e + t.width, 0), e.maxFontSize = r;\n\t}\n}\nfunction Ts(e) {\n\treturn e.replace(/&/g, \"&\").replace(/</g, \"<\").replace(/>/g, \">\");\n}\nfunction Es(e) {\n\tif (e = e.trim().replace(/ /g, \"-\"), e.length === 0) throw Error(\"Invalid empty attribute name\");\n\tif (/[\\x20\\x09\\x0a\\x0c\\x0d\"'>/=\\x00-\\x1f]/.test(e)) throw Error(`Invalid attribute name \"${e}\"`);\n\treturn e;\n}\nfunction Ds(e) {\n\tif (e = e.trim(), e.startsWith(\"\\\"\") && e.endsWith(\"\\\"\")) {\n\t\tif (/\"/.test(e.slice(1, -1))) throw Error(`Invalid attribute value: ${e}`);\n\t\treturn e;\n\t}\n\tif (e.startsWith(\"'\") && e.endsWith(\"'\")) {\n\t\tif (/'/.test(e.slice(1, -1))) throw Error(`Invalid attribute value: ${e}`);\n\t\treturn e;\n\t}\n\tif (e.length === 0) throw Error(\"Invalid empty attribute value\");\n\treturn `\"${e.replace(/\"/g, \""\")}\"`;\n}\nfunction Os(e) {\n\tif (\"individualShift\" in e) {\n\t\tlet t = e.individualShift, n = t[0];\n\t\tif (n == null) return [null, 0];\n\t\tlet r = [n], i = -n.shift - n.box.depth, a = i;\n\t\tfor (let e = 1; e < t.length; e++) {\n\t\t\tlet i = t[e], o = -i.shift - a - i.box.depth, s = o - (n.box.height + n.box.depth);\n\t\t\ta += o, r.push(s), r.push(i), n = i;\n\t\t}\n\t\treturn [r, i];\n\t}\n\tif (\"top\" in e) {\n\t\tlet t = e.top;\n\t\tfor (let n of e.children) t -= typeof n == \"number\" ? n : n.box.height + n.box.depth;\n\t\treturn [e.children, t];\n\t}\n\tif (\"bottom\" in e) return [e.children, -e.bottom];\n\tif (\"firstBaseline\" in e) {\n\t\tlet t = e.firstBaseline[0];\n\t\tif (typeof t == \"number\") throw Error(\"First child must be an element.\");\n\t\treturn [e.firstBaseline, -t.box.depth];\n\t}\n\tif (\"shift\" in e) {\n\t\tlet t = e.children[0];\n\t\tif (typeof t == \"number\") throw Error(\"First child must be an element.\");\n\t\treturn [e.children, -t.box.depth - e.shift];\n\t}\n\treturn [null, 0];\n}\nfunction ks(e) {\n\tlet [t, n] = Os(e);\n\tif (!t) return [\n\t\t[],\n\t\t0,\n\t\t0\n\t];\n\tlet r = new M(null, { classes: \"ML__pstrut\" }), i = 0;\n\tfor (let e of t) if (typeof e != \"number\") {\n\t\tlet t = e.box;\n\t\ti = Math.max(i, t.maxFontSize, t.height);\n\t}\n\ti += 2, r.height = i, r.setStyle(\"height\", i, \"em\");\n\tlet a = [], o = n, s = n, c = n, l = 0;\n\tfor (let e of t) {\n\t\tif (typeof e == \"number\") c += e;\n\t\telse {\n\t\t\tlet t = e.box, n = e.classes ?? [], o = new M([r, t], {\n\t\t\t\tclasses: n.join(\" \"),\n\t\t\t\tstyle: e.style\n\t\t\t});\n\t\t\tt.setStyle(\"height\", t.height + t.depth, \"em\"), t.setStyle(\"display\", \"inline-block\"), o.setStyle(\"top\", -i - c - t.depth, \"em\"), e.marginLeft && o.setStyle(\"margin-left\", e.marginLeft, \"em\"), e.marginRight && o.setStyle(\"margin-right\", e.marginRight, \"em\"), a.push(o), c += t.height + t.depth, l = Math.max(l, o.width);\n\t\t}\n\t\to = Math.min(o, c), s = Math.max(s, c);\n\t}\n\ta.forEach((e) => {\n\t\te.softWidth = l;\n\t});\n\tlet u = new M(a, { classes: \"ML__vlist\" });\n\tif (u.softWidth = l, u.height = s, u.setStyle(\"height\", s, \"em\"), o >= 0) return [\n\t\t[new M(u, { classes: \"ML__vlist-r\" })],\n\t\ts,\n\t\t-o\n\t];\n\tlet d = new M(new M(null), { classes: \"ML__vlist\" });\n\td.height = -o, d.setStyle(\"height\", -o, \"em\");\n\tlet f = new M(8203, {\n\t\tclasses: \"ML__vlist-s\",\n\t\tmaxFontSize: 0\n\t});\n\treturn f.softWidth = 0, f.height = 0, f.depth = 0, [\n\t\t[new M([u, f], { classes: \"ML__vlist-r\" }), new M(d, { classes: \"ML__vlist-r\" })],\n\t\ts,\n\t\t-o\n\t];\n}\nvar N = class extends M {\n\tconstructor(e, t) {\n\t\tlet [n, r, i] = ks(e);\n\t\tsuper(n.length === 1 ? n[0] : n, {\n\t\t\ttype: t?.type,\n\t\t\tclasses: (t?.classes ?? \"\") + \" ML__vlist-t\" + (n.length === 2 ? \" ML__vlist-t2\" : \"\")\n\t\t}), this.height = r, this.depth = i, this.softWidth = n.reduce((e, t) => Math.max(e, t.width), 0);\n\t}\n};\nfunction As(e, t) {\n\tlet n = e.metrics, r = new M(t.base), i = t.baseShift ?? 0, a = t.slant ?? 0, o = 0, s = 0;\n\tt.above && (o = t.aboveShift ?? Math.max(n.bigOpSpacing1, n.bigOpSpacing3 - t.above.depth)), t.below && (s = t.belowShift ?? Math.max(n.bigOpSpacing2, n.bigOpSpacing4 - t.below.height));\n\tlet c = null;\n\treturn c = t.below && t.above ? new N({\n\t\tbottom: n.bigOpSpacing5 + t.below.height + t.below.depth + s + r.depth + i,\n\t\tchildren: [\n\t\t\tn.bigOpSpacing5,\n\t\t\t{\n\t\t\t\tbox: t.below,\n\t\t\t\tmarginLeft: -a,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t},\n\t\t\ts,\n\t\t\t{\n\t\t\t\tbox: r,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t},\n\t\t\to,\n\t\t\t{\n\t\t\t\tbox: t.above,\n\t\t\t\tmarginLeft: a,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t},\n\t\t\tn.bigOpSpacing5\n\t\t]\n\t}).wrap(e) : t.below && !t.above ? new N({\n\t\ttop: r.height - i,\n\t\tchildren: [\n\t\t\tn.bigOpSpacing5,\n\t\t\t{\n\t\t\t\tbox: t.below,\n\t\t\t\tmarginLeft: -a,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t},\n\t\t\ts,\n\t\t\t{\n\t\t\t\tbox: r,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t}\n\t\t]\n\t}).wrap(e) : !t.below && t.above ? new N({\n\t\tbottom: r.depth + i,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tbox: r,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t},\n\t\t\to,\n\t\t\t{\n\t\t\t\tbox: t.above,\n\t\t\t\tmarginLeft: a,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t},\n\t\t\tn.bigOpSpacing5\n\t\t]\n\t}).wrap(e) : new N({\n\t\tbottom: r.depth + i,\n\t\tchildren: [{ box: r }, n.bigOpSpacing5]\n\t}).wrap(e), new M(c, { type: t.type ?? \"op\" });\n}\nvar js = 7, Ms = 6, Ns = 5, Ps = 4, Fs = 3, Is = 2, Ls = 1, Rs = 0, zs = class {\n\tconstructor(e, t, n) {\n\t\tthis.id = e, this.sizeDelta = t, this.cramped = n;\n\t\tlet r = {\n\t\t\t\"-4\": 2,\n\t\t\t\"-3\": 1,\n\t\t\t0: 0\n\t\t}[t];\n\t\tthis.metrics = Object.keys(Bo).reduce((e, t) => c(s({}, e), { [t]: Bo[t][r] }), {});\n\t}\n\tgetFontSize(e) {\n\t\treturn Math.max(1, e + this.sizeDelta);\n\t}\n\tget sup() {\n\t\treturn Vs[[\n\t\t\tRs,\n\t\t\tLs,\n\t\t\tRs,\n\t\t\tLs,\n\t\t\tIs,\n\t\t\tFs,\n\t\t\tIs,\n\t\t\tFs\n\t\t][this.id]];\n\t}\n\tget sub() {\n\t\treturn Vs[[\n\t\t\tRs,\n\t\t\tRs,\n\t\t\tRs,\n\t\t\tRs,\n\t\t\tIs,\n\t\t\tIs,\n\t\t\tIs,\n\t\t\tIs\n\t\t][this.id]];\n\t}\n\tget fracNum() {\n\t\treturn Vs[[\n\t\t\tRs,\n\t\t\tLs,\n\t\t\tRs,\n\t\t\tLs,\n\t\t\tIs,\n\t\t\tFs,\n\t\t\tPs,\n\t\t\tNs\n\t\t][this.id]];\n\t}\n\tget fracDen() {\n\t\treturn Vs[[\n\t\t\tRs,\n\t\t\tRs,\n\t\t\tRs,\n\t\t\tRs,\n\t\t\tIs,\n\t\t\tIs,\n\t\t\tPs,\n\t\t\tPs\n\t\t][this.id]];\n\t}\n\tget cramp() {\n\t\treturn Vs[[\n\t\t\tRs,\n\t\t\tRs,\n\t\t\tIs,\n\t\t\tIs,\n\t\t\tPs,\n\t\t\tPs,\n\t\t\tMs,\n\t\t\tMs\n\t\t][this.id]];\n\t}\n\tget isTight() {\n\t\treturn this.sizeDelta < 0;\n\t}\n}, Bs = {\n\t7: new zs(js, 0, !1),\n\t6: new zs(Ms, 0, !0),\n\t5: new zs(Ns, 0, !1),\n\t4: new zs(Ps, 0, !0),\n\t3: new zs(Fs, -3, !1),\n\t2: new zs(Is, -3, !0),\n\t1: new zs(Ls, -4, !1),\n\t0: new zs(Rs, -4, !0)\n}, Vs = c(s({}, Bs), {\n\tdisplaystyle: Bs[js],\n\ttextstyle: Bs[Ns],\n\tscriptstyle: Bs[Fs],\n\tscriptscriptstyle: Bs[Ls]\n});\nfunction Hs(e, t) {\n\tif (!e) return 0;\n\tlet n = {\n\t\tpt: 1,\n\t\tmm: 7227 / 2540,\n\t\tcm: 7227 / 254,\n\t\tex: 35271 / 8192,\n\t\tpx: 3 / 4,\n\t\tem: Io,\n\t\tbp: 803 / 800,\n\t\tdd: 1238 / 1157,\n\t\tpc: 12,\n\t\tin: 72.27,\n\t\tmu: 10 / 18\n\t}[e.unit ?? \"pt\"];\n\tif (Number.isFinite(t)) {\n\t\tlet r = 10 ** t;\n\t\treturn Math.round(e.dimension / Io * n * r) / r;\n\t}\n\treturn e.dimension * n;\n}\nfunction Us(e, t) {\n\tif (e === null) return 0;\n\tlet n = Hs(e) / Io;\n\tif (Number.isFinite(t)) {\n\t\tlet e = 10 ** t;\n\t\treturn Math.round(n * e) / e;\n\t}\n\treturn n;\n}\nfunction Ws(e) {\n\treturn `${e.dimension}${e.unit ?? \"pt\"}`;\n}\nfunction Gs(e) {\n\tlet t = Ws(e.glue);\n\treturn e.grow && e.grow.dimension !== 0 && (t += ` plus ${Ws(e.grow)}`), e.shrink && e.shrink.dimension !== 0 && (t += ` minus ${Ws(e.shrink)}`), t;\n}\nfunction Ks(e) {\n\tvar t;\n\tif (e == null) return null;\n\tlet n = \"\";\n\tif (\"dimension\" in e && (n = `${e.dimension}${e.unit ?? \"pt\"}`), \"glue\" in e && (n = Gs(e)), \"number\" in e) {\n\t\tif (!(\"base\" in e) || e.base === \"decimal\") n = Number(e.number).toString();\n\t\telse if (e.base === \"alpha\") n = `\\`${String.fromCodePoint(e.number)}`;\n\t\telse {\n\t\t\tlet t = Math.round(e.number) >>> 0;\n\t\t\te.base === \"hexadecimal\" ? (n = Number(t).toString(16).toUpperCase(), n = t <= 255 ? n.padStart(2, \"0\") : t <= 65535 ? n.padStart(4, \"0\") : t <= 16777215 ? n.padStart(6, \"0\") : n.padStart(8, \"0\"), n = `\"${n}`) : e.base === \"octal\" && (n = Number(t).toString(8), n = t <= 63 ? n.padStart(2, \"0\") : t <= 30583 ? n.padStart(4, \"0\") : n.padStart(8, \"0\"), n = `'${n}`);\n\t\t}\n\t}\n\treturn \"register\" in e && (\"factor\" in e && (e.factor === -1 ? n = \"-\" : e.factor !== 1 && (n = Number(e.factor).toString())), \"global\" in e && e.global && (n += \"\\\\global\"), n += `\\\\${e.register}`), \"string\" in e && (n = e.string), (t = e.relax) != null && t && (n += \"\\\\relax\"), n;\n}\nfunction qs(e, t) {\n\treturn e == null ? null : \"number\" in e ? c(s({}, e), { number: e.number * t }) : \"register\" in e ? \"factor\" in e && e.factor ? c(s({}, e), { factor: e.factor * t }) : c(s({}, e), { factor: t }) : \"dimension\" in e ? c(s({}, e), { dimension: e.dimension * t }) : \"glue\" in e ? e.shrink && e.grow ? {\n\t\tglue: qs(e.glue, t),\n\t\tshrink: qs(e.shrink, t),\n\t\tgrow: qs(e.grow, t)\n\t} : e.shrink ? {\n\t\tglue: qs(e.glue, t),\n\t\tshrink: qs(e.shrink, t)\n\t} : e.grow ? {\n\t\tglue: qs(e.glue, t),\n\t\tgrow: qs(e.grow, t)\n\t} : { glue: qs(e.glue, t) } : null;\n}\nvar Js = {\n\t\"p@\": { dimension: 1 },\n\t\"z@\": { dimension: 0 },\n\tmaxdimen: { dimension: 16383.99999 },\n\thfuzz: { dimension: .1 },\n\tvfuzz: { dimension: .1 },\n\toverfullrule: { dimension: 5 },\n\thsize: {\n\t\tdimension: 6.5,\n\t\tunit: \"in\"\n\t},\n\tvsize: {\n\t\tdimension: 8.9,\n\t\tunit: \"in\"\n\t},\n\tparindent: { dimension: 20 },\n\tmaxdepth: { dimension: 4 },\n\tsplitmaxdepth: { register: \"maxdimen\" },\n\tboxmaxdepth: { register: \"maxdimen\" },\n\tdelimitershortfall: { dimension: 5 },\n\tnulldelimiterspace: {\n\t\tdimension: 1.2,\n\t\tunit: \"pt\"\n\t},\n\tscriptspace: { dimension: .5 },\n\ttopskip: { dimension: 10 },\n\tsplittopskip: { dimension: 10 },\n\tnormalbaselineskip: { dimension: 12 },\n\tnormallineskip: { dimension: 1 },\n\tnormallineskiplimit: { dimension: 0 },\n\tjot: { dimension: 3 },\n\tdoublerulesep: { dimension: 2 },\n\tarrayrulewidth: { dimension: .4 },\n\tarraycolsep: { dimension: 5 },\n\tfboxsep: { dimension: 3 },\n\tfboxrule: { dimension: .4 },\n\t\"z@skip\": {\n\t\tglue: { dimension: 0 },\n\t\tshrink: { dimension: 0 },\n\t\tgrow: { dimension: 0 }\n\t},\n\thideskip: {\n\t\tglue: { dimension: -1e3 },\n\t\tgrow: {\n\t\t\tdimension: 1,\n\t\t\tunit: \"fill\"\n\t\t}\n\t},\n\t\"@flushglue\": {\n\t\tglue: { dimension: 0 },\n\t\tgrow: {\n\t\t\tdimension: 1,\n\t\t\tunit: \"fill\"\n\t\t}\n\t},\n\tparskip: {\n\t\tglue: { dimension: 0 },\n\t\tgrow: { dimension: 1 }\n\t},\n\tabovedisplayskip: {\n\t\tglue: { dimension: 12 },\n\t\tgrow: { dimension: 3 },\n\t\tshrink: { dimension: 9 }\n\t},\n\tabovedisplayshortskip: {\n\t\tglue: { dimension: 0 },\n\t\tgrow: { dimension: 3 }\n\t},\n\tbelowdisplayskip: {\n\t\tglue: { dimension: 12 },\n\t\tgrow: { dimension: 3 },\n\t\tshrink: { dimension: 9 }\n\t},\n\tbelowdisplayshortskip: {\n\t\tglue: { dimension: 7 },\n\t\tgrow: { dimension: 3 },\n\t\tshrink: { dimension: 4 }\n\t},\n\tparfillskip: {\n\t\tglue: { dimension: 0 },\n\t\tgrow: {\n\t\t\tdimension: 1,\n\t\t\tunit: \"fil\"\n\t\t}\n\t},\n\tthinmuskip: { glue: {\n\t\tdimension: 3,\n\t\tunit: \"mu\"\n\t} },\n\tmedmuskip: {\n\t\tglue: {\n\t\t\tdimension: 4,\n\t\t\tunit: \"mu\"\n\t\t},\n\t\tgrow: {\n\t\t\tdimension: 2,\n\t\t\tunit: \"mu\"\n\t\t},\n\t\tshrink: {\n\t\t\tdimension: 4,\n\t\t\tunit: \"mu\"\n\t\t}\n\t},\n\tthickmuskip: {\n\t\tglue: {\n\t\t\tdimension: 5,\n\t\t\tunit: \"mu\"\n\t\t},\n\t\tgrow: {\n\t\t\tdimension: 5,\n\t\t\tunit: \"mu\"\n\t\t}\n\t},\n\tsmallskipamount: {\n\t\tglue: { dimension: 3 },\n\t\tgrow: { dimension: 1 },\n\t\tshrink: { dimension: 1 }\n\t},\n\tmedskipamount: {\n\t\tglue: { dimension: 6 },\n\t\tgrow: { dimension: 2 },\n\t\tshrink: { dimension: 3 }\n\t},\n\tbigskipamount: {\n\t\tglue: { dimension: 12 },\n\t\tgrow: { dimension: 2 },\n\t\tshrink: { dimension: 4 }\n\t},\n\tpretolerance: 100,\n\ttolerance: 200,\n\thbadness: 1e3,\n\tvbadness: 1e3,\n\tlinepenalty: 10,\n\thyphenpenalty: 50,\n\texhyphenpenalty: 50,\n\tbinoppenalty: 700,\n\trelpenalty: 500,\n\tclubpenalty: 150,\n\twidowpenalty: 150,\n\tdisplaywidowpenalty: 50,\n\tbrokenpenalty: 100,\n\tpredisplaypenalty: 1e4,\n\tdoublehyphendemerits: 1e4,\n\tfinalhyphendemerits: 5e3,\n\tadjdemerits: 1e4,\n\ttracinglostchars: 1,\n\tuchyph: 1,\n\tdelimiterfactor: 901,\n\tdefaulthyphenchar: \"\\\\-\",\n\tdefaultskewchar: -1,\n\tnewlinechar: -1,\n\tshowboxbreadth: 5,\n\tshowboxdepth: 3,\n\terrorcontextlines: 5,\n\tinterdisplaylinepenalty: 100,\n\tinterfootnotelinepenalty: 100,\n\tbaselineSkip: 1.2,\n\tarraystretch: 1,\n\tmonth: (/* @__PURE__ */ new Date()).getMonth() + 1,\n\tday: (/* @__PURE__ */ new Date()).getDate(),\n\tyear: (/* @__PURE__ */ new Date()).getFullYear()\n};\nfunction Ys() {\n\treturn s({}, Js);\n}\nfunction Xs() {\n\treturn {\n\t\tregisters: Ys(),\n\t\tsmartFence: !1,\n\t\trenderPlaceholder: void 0,\n\t\tplaceholderSymbol: \"▢\",\n\t\tletterShapeStyle: S.locale.startsWith(\"fr\") ? \"french\" : \"tex\",\n\t\tminFontScale: 0,\n\t\tmaxMatrixCols: 10,\n\t\tcolorMap: ke,\n\t\tbackgroundColorMap: Ae,\n\t\tgetMacro: (e) => pt(e, lt())\n\t};\n}\nvar P = class e {\n\tconstructor(t, n) {\n\t\tlet r;\n\t\tt != null && t.parent ? (this.parent = t.parent, r = t.parent, this.registers = {}) : (r = s(s({}, Xs()), t?.from ?? {}), this.registers = r.registers), r.atomIdsSettings && (this.atomIdsSettings = s({}, r.atomIdsSettings)), this.renderPlaceholder = r.renderPlaceholder, this.isPhantom = t?.isPhantom ?? this.parent?.isPhantom ?? !1, this.letterShapeStyle = r.letterShapeStyle, this.minFontScale = r.minFontScale, this.maxMatrixCols = r.maxMatrixCols, this.color = n != null && n.color && n.color !== \"none\" ? n.color : this.parent?.color ?? \"\", this.backgroundColor = n != null && n.backgroundColor && n.backgroundColor !== \"none\" ? n.backgroundColor : this.parent?.backgroundColor ?? \"\", this.size = n != null && n.fontSize && n.fontSize !== \"auto\" && n.fontSize !== this.parent?.size ? n.fontSize : this.parent?.size ?? Ho;\n\t\tlet i = this.parent?.mathstyle ?? Vs.displaystyle;\n\t\tif (typeof t?.mathstyle == \"string\") {\n\t\t\tif (r instanceof e) switch (t.mathstyle) {\n\t\t\t\tcase \"cramp\":\n\t\t\t\t\ti = i.cramp;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"superscript\":\n\t\t\t\t\ti = i.sup;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"subscript\":\n\t\t\t\t\ti = i.sub;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"numerator\":\n\t\t\t\t\ti = i.fracNum;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"denominator\":\n\t\t\t\t\ti = i.fracDen;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tswitch (t.mathstyle) {\n\t\t\t\tcase \"textstyle\":\n\t\t\t\t\ti = Vs.textstyle;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"displaystyle\":\n\t\t\t\t\ti = Vs.displaystyle;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"scriptstyle\":\n\t\t\t\t\ti = Vs.scriptstyle;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"scriptscriptstyle\": i = Vs.scriptscriptstyle;\n\t\t\t}\n\t\t}\n\t\tthis.mathstyle = i, this.smartFence = r.smartFence, this.placeholderSymbol = r.placeholderSymbol, this.colorMap = r.colorMap ?? ((e) => e), this.backgroundColorMap = r.backgroundColorMap ?? ((e) => e), this.getMacro = r.getMacro, this.parent !== void 0 || this.registers;\n\t}\n\tmakeID() {\n\t\tif (!this.atomIdsSettings) return;\n\t\tif (this.atomIdsSettings.overrideID) return this.atomIdsSettings.overrideID;\n\t\tif (typeof this.atomIdsSettings.seed != \"number\") return `${Date.now().toString(36).slice(-2)}${Math.floor(Math.random() * 1e5).toString(36)}`;\n\t\tlet e = this.atomIdsSettings.seed.toString(36);\n\t\treturn this.atomIdsSettings.seed += 1, e;\n\t}\n\tscale(e) {\n\t\treturn e * this.effectiveFontSize;\n\t}\n\tget scalingFactor() {\n\t\treturn this.parent ? this.effectiveFontSize / this.parent.effectiveFontSize : 1;\n\t}\n\tget isDisplayStyle() {\n\t\treturn this.mathstyle.id === js || this.mathstyle.id === Ms;\n\t}\n\tget isCramped() {\n\t\treturn this.mathstyle.cramped;\n\t}\n\tget isTight() {\n\t\treturn this.mathstyle.isTight;\n\t}\n\tget metrics() {\n\t\treturn this.mathstyle.metrics;\n\t}\n\tget effectiveFontSize() {\n\t\treturn Math.max(Vo[Math.max(1, this.size + this.mathstyle.sizeDelta)], this.minFontScale);\n\t}\n\tgetRegister(e) {\n\t\tif (this.registers && e in this.registers) return this.registers[e];\n\t\tif (this.parent) return this.parent.getRegister(e);\n\t}\n\tgetRegisterAsNumber(e) {\n\t\tlet t = this.getRegister(e);\n\t\tif (typeof t == \"number\") return t;\n\t\tif (typeof t == \"string\") return Number(t);\n\t}\n\tgetRegisterAsGlue(e) {\n\t\tif (this.registers && e in this.registers) {\n\t\t\tlet t = this.registers[e];\n\t\t\treturn typeof t == \"object\" && \"glue\" in t ? t : typeof t == \"object\" && \"dimension\" in t ? { glue: { dimension: t.dimension } } : typeof t == \"number\" ? { glue: { dimension: t } } : void 0;\n\t\t}\n\t\tif (this.parent) return this.parent.getRegisterAsGlue(e);\n\t}\n\tgetRegisterAsEm(e, t) {\n\t\treturn Us(this.getRegisterAsDimension(e), t);\n\t}\n\tgetRegisterAsDimension(e) {\n\t\tif (this.registers && e in this.registers) {\n\t\t\tlet t = this.registers[e];\n\t\t\treturn typeof t == \"object\" && \"glue\" in t ? t.glue : typeof t == \"object\" && \"dimension\" in t ? t : typeof t == \"number\" ? { dimension: t } : void 0;\n\t\t}\n\t\tif (this.parent) return this.parent.getRegisterAsDimension(e);\n\t}\n\tsetRegister(e, t) {\n\t\tif (t === void 0) {\n\t\t\tdelete this.registers[e];\n\t\t\treturn;\n\t\t}\n\t\tthis.registers[e] = t;\n\t}\n\tevaluate(e) {\n\t\tif (!e || !(\"register\" in e)) return e;\n\t\tlet t = this;\n\t\tif (\"global\" in e && e.global) for (; t.parent;) t = t.parent;\n\t\tlet n = 1;\n\t\t\"factor\" in e && e.factor !== 1 && e.factor !== void 0 && (n = e.factor);\n\t\tlet r = t.getRegister(e.register);\n\t\tif (r === void 0) return;\n\t\tif (typeof r == \"string\") return { string: Number(r).toString() + r };\n\t\tif (typeof r == \"number\") return { number: n * r };\n\t\tlet i = t.evaluate(r);\n\t\tif (i !== void 0) return \"string\" in i ? { string: Number(r).toString() + i.string } : \"number\" in i ? { number: n * i.number } : \"dimension\" in i ? c(s({}, i), { dimension: n * i.dimension }) : \"glue\" in i ? c(s({}, i), {\n\t\t\tglue: c(s({}, i.glue), { dimension: n * i.glue.dimension }),\n\t\t\tshrink: i.shrink ? c(s({}, i.shrink), { dimension: n * i.shrink.dimension }) : void 0,\n\t\t\tgrow: i.grow ? c(s({}, i.grow), { dimension: n * i.grow.dimension }) : void 0\n\t\t}) : e;\n\t}\n\ttoDimension(e) {\n\t\tlet t = this.evaluate(e);\n\t\tif (t === void 0) return null;\n\t\tif (\"dimension\" in t) return t;\n\t\tif (\"glue\" in t) return t.glue;\n\t\tif (\"number\" in t) return { dimension: t.number };\n\t\tif (\"string\" in t) {\n\t\t\tlet e = parseFloat(t.string), n = t.string.match(/(mm|cm|ex|px|em|bp|dd|pc|in|mu)$/);\n\t\t\treturn n ? {\n\t\t\t\tdimension: e,\n\t\t\t\tunit: n[0]\n\t\t\t} : { dimension: e };\n\t\t}\n\t\treturn null;\n\t}\n\ttoEm(e, t) {\n\t\tif (e === null) return 0;\n\t\tlet n = this.toDimension(e);\n\t\treturn n === null ? 0 : Hs(n, t) / Io;\n\t}\n\ttoNumber(e) {\n\t\tif (e === null) return null;\n\t\tlet t = this.evaluate(e);\n\t\treturn t === void 0 ? null : \"number\" in t ? t.number : \"dimension\" in t ? t.dimension : \"glue\" in t ? t.glue.dimension : \"string\" in t ? Number(t.string) : null;\n\t}\n\ttoColor(e) {\n\t\tif (e === null) return null;\n\t\tlet t = this.evaluate(e);\n\t\treturn t === void 0 ? null : \"string\" in t ? this.colorMap?.call(this, t.string) ?? t.string : null;\n\t}\n\ttoBackgroundColor(e) {\n\t\tif (e === null) return null;\n\t\tlet t = this.evaluate(e);\n\t\treturn t === void 0 ? null : \"string\" in t ? this.backgroundColorMap?.call(this, t.string) ?? t.string : null;\n\t}\n}, Zs = [\n\t\"body\",\n\t\"above\",\n\t\"below\",\n\t\"superscript\",\n\t\"subscript\"\n];\nfunction Qs(e) {\n\treturn typeof e == \"string\" && Zs.includes(e);\n}\nfunction $s(e) {\n\treturn e !== void 0 && Array.isArray(e) && e.length === 2;\n}\nvar F = class e {\n\tconstructor(e) {\n\t\tthis.isRoot = !1, this.type = e.type, typeof e.value == \"string\" && (this.value = e.value), this.command = e.command ?? this.value ?? \"\", this.mode = e.mode ?? \"math\", e.isFunction && (this.isFunction = !0), (e.isRoot || this.type === \"root\") && (this.isRoot = !0), e.limits && (this.subsupPlacement = e.limits), this.style = s({}, e.style ?? {}), this.displayContainsHighlight = e.displayContainsHighlight ?? !1, this.captureSelection = e.captureSelection ?? !1, this.skipBoundary = e.skipBoundary ?? !1, e.verbatimLatex !== void 0 && e.verbatimLatex !== null && (this.verbatimLatex = e.verbatimLatex), e.args && (this.args = e.args), e.body && (this.body = e.body), this._changeCounter = 0;\n\t}\n\tstatic createBox(e, t, n) {\n\t\tif (!t) return null;\n\t\tlet r = ec(t), i = [];\n\t\tfor (let t of r) {\n\t\t\tlet n = t[0].style, r = tc(e, t, { style: {\n\t\t\t\tcolor: n.color,\n\t\t\t\tbackgroundColor: n.backgroundColor,\n\t\t\t\tfontSize: n.fontSize\n\t\t\t} });\n\t\t\tr && i.push(r);\n\t\t}\n\t\tif (i.length === 0) return null;\n\t\tlet a = (n?.classes ?? \"\").trim();\n\t\treturn i.length === 1 && !a && !(n != null && n.type) ? i[0].wrap(e) : new M(i, {\n\t\t\tclasses: a,\n\t\t\ttype: n?.type\n\t\t}).wrap(e);\n\t}\n\tstatic serialize(e, t) {\n\t\treturn ls.serialize(e, t);\n\t}\n\tstatic commonAncestor(e, t) {\n\t\tif (e === t || e.parent === t.parent) return e.parent;\n\t\tlet n = /* @__PURE__ */ new WeakSet(), { parent: r } = e;\n\t\tfor (; r;) n.add(r), r = r.parent;\n\t\tfor (r = t.parent; r;) {\n\t\t\tif (n.has(r)) return r;\n\t\t\tr = r.parent;\n\t\t}\n\t}\n\tstatic fromJson(t) {\n\t\treturn typeof t == \"string\" ? new e({\n\t\t\ttype: \"mord\",\n\t\t\tvalue: t,\n\t\t\tmode: \"math\"\n\t\t}) : new e(t);\n\t}\n\ttoJson() {\n\t\tif (this._json) return this._json;\n\t\tlet e = {};\n\t\tif (this.type && (e.type = this.type), this.mode !== \"math\" && (e.mode = this.mode), this.command && this.command !== this.value && (e.command = this.command), this.value !== void 0 && (e.value = this.value), this.style && Object.keys(this.style).length > 0 && (e.style = s({}, this.style)), this.verbatimLatex !== void 0 && (e.verbatimLatex = this.verbatimLatex), this.subsupPlacement && (e.subsupPlacement = this.subsupPlacement), this.explicitSubsupPlacement && (e.explicitSubsupPlacement = !0), this.isFunction && (e.isFunction = !0), this.displayContainsHighlight && (e.displayContainsHighlight = !0), this.skipBoundary && (e.skipBoundary = !0), this.captureSelection && (e.captureSelection = !0), this.args && (e.args = rc(this.args)), this._branches) for (let t of Object.keys(this._branches)) this._branches[t] && (e[t] = this._branches[t].filter((e) => e.type !== \"first\").map((e) => e.toJson()));\n\t\treturn e.type === \"mord\" && Object.keys(e).length === 2 && \"value\" in e ? e.value : (this._json = e, e);\n\t}\n\tget changeCounter() {\n\t\treturn this.parent ? this.parent.changeCounter : this._changeCounter;\n\t}\n\tset isDirty(e) {\n\t\te && (this._json = void 0, this.parent || this._changeCounter++, \"verbatimLatex\" in this && (this.verbatimLatex = void 0), this._children = void 0, this.parent && (this.parent.isDirty = !0));\n\t}\n\t_serialize(e) {\n\t\tif (!(e.expandMacro || e.skipStyles || e.skipPlaceholders) && typeof this.verbatimLatex == \"string\") return this.verbatimLatex;\n\t\tlet t = ft(this.command, this.mode);\n\t\treturn t != null && t.serialize ? t.serialize(this, e) : this.body && this.command ? A([j(this.command, this.bodyToLatex(e)), this.supsubToLatex(e)]) : this.body ? A([this.bodyToLatex(e), this.supsubToLatex(e)]) : !this.value || this.value === \"\" ? \"\" : this.command;\n\t}\n\tbodyToLatex(e) {\n\t\tlet t = e.defaultMode ?? (this.mode === \"math\" ? \"math\" : \"text\");\n\t\treturn ls.serialize(this.body, c(s({}, e), { defaultMode: t }));\n\t}\n\taboveToLatex(e) {\n\t\treturn ls.serialize(this.above, e);\n\t}\n\tbelowToLatex(e) {\n\t\treturn ls.serialize(this.below, e);\n\t}\n\tsupsubToLatex(e) {\n\t\tlet t = \"\";\n\t\tif (e = c(s({}, e), { defaultMode: \"math\" }), this.branch(\"subscript\") !== void 0) {\n\t\t\tlet n = ls.serialize(this.subscript, e);\n\t\t\tn.length === 0 ? t += \"_{}\" : n.length === 1 && /^[0-9]$/.test(n) ? t += `_${n}` : t += `_{${n}}`;\n\t\t}\n\t\tif (this.branch(\"superscript\") !== void 0) {\n\t\t\tlet n = ls.serialize(this.superscript, e);\n\t\t\tn.length === 0 ? t += \"^{}\" : n.length === 1 ? n === \"′\" ? t += \"^\\\\prime \" : n === \"″\" ? t += \"^\\\\doubleprime \" : /^[0-9]$/.test(n) ? t += `^${n}` : t += `^{${n}}` : t += `^{${n}}`;\n\t\t}\n\t\treturn t;\n\t}\n\tget treeDepth() {\n\t\tlet e = 1, t = this.parent;\n\t\tfor (; t;) t = t.parent, e += 1;\n\t\treturn e;\n\t}\n\tget inCaptureSelection() {\n\t\tlet e = this;\n\t\tfor (; e;) {\n\t\t\tif (e.captureSelection) return !0;\n\t\t\te = e.parent;\n\t\t}\n\t\treturn !1;\n\t}\n\tget parentPrompt() {\n\t\tlet e = this.parent;\n\t\tfor (; e;) {\n\t\t\tif (e.type === \"prompt\" && !e.captureSelection) return e;\n\t\t\te = e.parent;\n\t\t}\n\t\treturn null;\n\t}\n\tbranch(e) {\n\t\tif (Qs(e) && this._branches) return this._branches[e];\n\t}\n\tget branches() {\n\t\tif (!this._branches) return [];\n\t\tlet e = [];\n\t\tfor (let t of Zs) this._branches[t] && e.push(t);\n\t\treturn e;\n\t}\n\tcreateBranch(e) {\n\t\treturn Qs(e), Qs(e) ? (this._branches ? this._branches[e] || (this._branches[e] = [this.makeFirstAtom(e)]) : this._branches = { [e]: [this.makeFirstAtom(e)] }, this.isDirty = !0, this._branches[e]) : [];\n\t}\n\tget row() {\n\t\treturn $s(this.parentBranch) ? this.parentBranch[0] : -1;\n\t}\n\tget col() {\n\t\treturn $s(this.parentBranch) ? this.parentBranch[1] : -1;\n\t}\n\tget body() {\n\t\treturn this._branches?.body;\n\t}\n\tset body(e) {\n\t\tthis.setChildren(e, \"body\");\n\t}\n\tget superscript() {\n\t\treturn this._branches?.superscript;\n\t}\n\tset superscript(e) {\n\t\tthis.setChildren(e, \"superscript\");\n\t}\n\tget subscript() {\n\t\treturn this._branches?.subscript;\n\t}\n\tset subscript(e) {\n\t\tthis.setChildren(e, \"subscript\");\n\t}\n\tget above() {\n\t\treturn this._branches?.above;\n\t}\n\tset above(e) {\n\t\tthis.setChildren(e, \"above\");\n\t}\n\tget below() {\n\t\treturn this._branches?.below;\n\t}\n\tset below(e) {\n\t\tthis.setChildren(e, \"below\");\n\t}\n\tapplyStyle(e, t) {\n\t\tthis.isDirty = !0, t != null && t.unstyledOnly ? (e.color && !this.style.color && (this.style.color = e.color), e.backgroundColor && !this.style.backgroundColor && (this.style.backgroundColor = e.backgroundColor), e.fontFamily && !this.style.fontFamily && (this.style.fontFamily = e.fontFamily), e.fontShape && !this.style.fontShape && (this.style.fontShape = e.fontShape), e.fontSeries && !this.style.fontSeries && (this.style.fontSeries = e.fontSeries), e.fontSize && !this.style.fontSize && (this.style.fontSize = e.fontSize), e.variant && !this.style.variant && (this.style.variant = e.variant), e.variantStyle && !this.style.variantStyle && (this.style.variantStyle = e.variantStyle)) : this.style = s(s({}, this.style), e), this.style.fontFamily === \"none\" && delete this.style.fontFamily, this.style.fontShape === \"auto\" && delete this.style.fontShape, this.style.fontSeries === \"auto\" && delete this.style.fontSeries, this.style.color === \"none\" && (delete this.style.color, delete this.style.verbatimColor), this.style.backgroundColor === \"none\" && (delete this.style.backgroundColor, delete this.style.verbatimBackgroundColor), this.style.fontSize === \"auto\" && delete this.style.fontSize;\n\t\tfor (let n of this.children) n.applyStyle(e, t);\n\t}\n\tgetInitialBaseElement() {\n\t\tvar e;\n\t\treturn this.hasEmptyBranch(\"body\") ? this : ((e = this.body) == null || e[0].type, this.body[1]?.getInitialBaseElement() ?? this);\n\t}\n\tgetFinalBaseElement() {\n\t\treturn this.hasEmptyBranch(\"body\") ? this : this.body[this.body.length - 1].getFinalBaseElement();\n\t}\n\tisCharacterBox() {\n\t\treturn this.type === \"leftright\" || this.type === \"genfrac\" || this.type === \"subsup\" || this.type === \"delim\" || this.type === \"array\" || this.type === \"surd\" ? !1 : this.getFinalBaseElement().type === \"mord\";\n\t}\n\thasEmptyBranch(e) {\n\t\tlet t = this.branch(e);\n\t\treturn !t || (t.length, t[0].type, t.length === 1);\n\t}\n\tsetChildren(e, t) {\n\t\tif (!e || (Qs(t), !Qs(t))) return;\n\t\tlet n = e[0]?.type === \"first\" ? [...e] : [this.makeFirstAtom(t), ...e];\n\t\tthis._branches ? this._branches[t] = n : this._branches = { [t]: n };\n\t\tfor (let n of e) n.parent = this, n.parentBranch = t;\n\t\tthis.isDirty = !0;\n\t}\n\tmakeFirstAtom(t) {\n\t\tlet n = new e({\n\t\t\ttype: \"first\",\n\t\t\tmode: this.mode\n\t\t});\n\t\treturn n.parent = this, n.parentBranch = t, n;\n\t}\n\taddChild(e, t) {\n\t\te.type, this.createBranch(t).push(e), this.isDirty = !0, e.parent = this, e.parentBranch = t;\n\t}\n\taddChildBefore(e, t) {\n\t\tt.parentBranch;\n\t\tlet n = this.createBranch(t.parentBranch);\n\t\tn.splice(n.indexOf(t), 0, e), this.isDirty = !0, e.parent = this, e.parentBranch = t.parentBranch;\n\t}\n\taddChildAfter(e, t) {\n\t\tt.parentBranch;\n\t\tlet n = this.createBranch(t.parentBranch);\n\t\tn.splice(n.indexOf(t) + 1, 0, e), this.isDirty = !0, e.parent = this, e.parentBranch = t.parentBranch;\n\t}\n\taddChildren(e, t) {\n\t\tlet n = this.createBranch(t);\n\t\tfor (let r of e) r.parent = this, r.parentBranch = t, n.push(r);\n\t\tthis.isDirty = !0;\n\t}\n\taddChildrenAfter(e, t) {\n\t\te.length === 0 || e[0].type, t.parentBranch;\n\t\tlet n = this.createBranch(t.parentBranch);\n\t\tn.splice(n.indexOf(t) + 1, 0, ...e), this.isDirty = !0;\n\t\tfor (let n of e) n.parent = this, n.parentBranch = t.parentBranch;\n\t\treturn e[e.length - 1];\n\t}\n\tremoveBranch(e) {\n\t\tlet t = this.branch(e);\n\t\tif (Qs(e) && (this._branches[e] = void 0), !t) return [];\n\t\tfor (let e of t) e.parent = void 0, e.parentBranch = void 0;\n\t\tt[0].type;\n\t\tlet [n, ...r] = t;\n\t\treturn this.isDirty = !0, r;\n\t}\n\tremoveChild(e) {\n\t\tif (e.parent, e.type === \"first\") return;\n\t\tlet t = this.branch(e.parentBranch), n = t.indexOf(e);\n\t\tt.splice(n, 1), this.isDirty = !0, e.parent = void 0, e.parentBranch = void 0;\n\t}\n\tget siblings() {\n\t\treturn this.parent ? this.parent.branch(this.parentBranch) : [];\n\t}\n\tget firstSibling() {\n\t\treturn this.siblings[0];\n\t}\n\tget lastSibling() {\n\t\tlet { siblings: e } = this;\n\t\treturn e[e.length - 1];\n\t}\n\tget isFirstSibling() {\n\t\treturn this === this.firstSibling;\n\t}\n\tget isLastSibling() {\n\t\treturn this === this.lastSibling;\n\t}\n\tget hasNoSiblings() {\n\t\treturn this.siblings.length === 1;\n\t}\n\tget leftSibling() {\n\t\tthis.parent;\n\t\tlet e = this.parent.branch(this.parentBranch);\n\t\treturn e[e.indexOf(this) - 1];\n\t}\n\tget rightSibling() {\n\t\tthis.parent;\n\t\tlet e = this.parent.branch(this.parentBranch);\n\t\treturn e[e.indexOf(this) + 1];\n\t}\n\tget hasChildren() {\n\t\treturn !!(this._branches && this.children.length > 0);\n\t}\n\tget firstChild() {\n\t\treturn this.hasChildren, this.children[0];\n\t}\n\tget lastChild() {\n\t\tthis.hasChildren;\n\t\tlet { children: e } = this;\n\t\treturn e[e.length - 1];\n\t}\n\tget children() {\n\t\tif (this._children) return this._children;\n\t\tif (!this._branches) return [];\n\t\tlet e = [];\n\t\tfor (let t of Zs) if (this._branches[t]) for (let n of this._branches[t]) e.push(...n.children), e.push(n);\n\t\treturn this._children = e, e;\n\t}\n\trender(e) {\n\t\tif (this.type === \"first\" && !e.atomIdsSettings) return null;\n\t\tlet t = ft(this.command, this.mode);\n\t\tif (t != null && t.render) return t.render(this, e);\n\t\tlet n = new P({ parent: e }, this.style), r = this.createBox(n, { classes: this.parent ? \"\" : \"ML__base\" });\n\t\treturn r ? (!this.subsupPlacement && (this.superscript || this.subscript) && (r = this.attachSupsub(n, { base: r })), r.wrap(n)) : null;\n\t}\n\tattachSupsub(t, n) {\n\t\tlet r = n.base, i = this.superscript, a = this.subscript;\n\t\tif (!i && !a) return r;\n\t\tlet o = null, s = null, c = n.isCharacterBox ?? this.isCharacterBox(), l = 0;\n\t\tif (i) {\n\t\t\tlet n = new P({\n\t\t\t\tparent: t,\n\t\t\t\tmathstyle: \"superscript\"\n\t\t\t});\n\t\t\to = e.createBox(n, i), c || (l = r.height - t.metrics.supDrop * n.scalingFactor);\n\t\t}\n\t\tlet u = 0;\n\t\tif (a) {\n\t\t\tlet n = new P({\n\t\t\t\tparent: t,\n\t\t\t\tmathstyle: \"subscript\"\n\t\t\t});\n\t\t\ts = e.createBox(n, a), c || (u = r.depth + t.metrics.subDrop * n.scalingFactor);\n\t\t}\n\t\tlet d;\n\t\td = t.isDisplayStyle ? t.metrics.sup1 : t.isCramped ? t.metrics.sup3 : t.metrics.sup2;\n\t\tlet f = .5 / Io / t.scalingFactor, p = null;\n\t\tif (s && o) {\n\t\t\tl = Math.max(l, d, o.depth + .25 * t.metrics.xHeight), u = Math.max(u, t.metrics.sub2);\n\t\t\tlet e = t.metrics.defaultRuleThickness;\n\t\t\tif (l - o.depth - (s.height - u) < 4 * e) {\n\t\t\t\tu = 4 * e - (l - o.depth) + s.height;\n\t\t\t\tlet n = .8 * t.metrics.xHeight - (l - o.depth);\n\t\t\t\tn > 0 && (l += n, u -= n);\n\t\t\t}\n\t\t\tlet n = this.type === \"extensible-symbol\" && r.italic ? -r.italic : 0;\n\t\t\tp = new N({ individualShift: [{\n\t\t\t\tbox: s,\n\t\t\t\tshift: u,\n\t\t\t\tmarginLeft: n\n\t\t\t}, {\n\t\t\t\tbox: o,\n\t\t\t\tshift: -l\n\t\t\t}] });\n\t\t} else s && !o ? (u = Math.max(u, t.metrics.sub1, s.height - .8 * zo), p = new N({\n\t\t\tshift: u,\n\t\t\tchildren: [{\n\t\t\t\tbox: s,\n\t\t\t\tmarginRight: f,\n\t\t\t\tmarginLeft: this.isCharacterBox() ? -r.italic : 0\n\t\t\t}]\n\t\t})) : !s && o && (l = Math.max(l, d, o.depth + .25 * zo), p = new N({\n\t\t\tshift: -l,\n\t\t\tchildren: [{\n\t\t\t\tbox: o,\n\t\t\t\tmarginRight: f\n\t\t\t}]\n\t\t}));\n\t\treturn new M([r, new M(p, {\n\t\t\tcaret: this.caret,\n\t\t\tisSelected: this.isSelected,\n\t\t\tclasses: \"ML__msubsup\"\n\t\t})], { type: n.type });\n\t}\n\tattachLimits(t, n) {\n\t\tlet r = this.superscript ? e.createBox(new P({\n\t\t\tparent: t,\n\t\t\tmathstyle: \"superscript\"\n\t\t}, this.style), this.superscript) : null, i = this.subscript ? e.createBox(new P({\n\t\t\tparent: t,\n\t\t\tmathstyle: \"subscript\"\n\t\t}, this.style), this.subscript) : null;\n\t\treturn !r && !i ? n.base.wrap(t) : As(t, c(s({}, n), {\n\t\t\tabove: r,\n\t\t\tbelow: i\n\t\t}));\n\t}\n\tbind(e, t) {\n\t\tif (!t || e.isPhantom || this.value === \"\") return t;\n\t\tlet n = this.parent;\n\t\tfor (; n && !n.captureSelection;) n = n.parent;\n\t\treturn n != null && n.captureSelection || (this.id || (this.id = e.makeID()), t.atomID = this.id), t;\n\t}\n\tcreateBox(t, n) {\n\t\tlet r = this.value ?? this.body, i = n?.boxType ?? _s(this.type), a = n?.classes ?? \"\";\n\t\tthis.mode === \"text\" && (a += \" ML__text\");\n\t\tlet o = typeof r == \"string\" || r === void 0 ? new M(r ?? null, {\n\t\t\ttype: i,\n\t\t\tisSelected: this.isSelected,\n\t\t\tmode: this.mode,\n\t\t\tmaxFontSize: t.scalingFactor,\n\t\t\tstyle: c(s({ variant: \"normal\" }, this.style), { fontSize: Math.max(1, t.size + t.mathstyle.sizeDelta) }),\n\t\t\tletterShapeStyle: t.letterShapeStyle,\n\t\t\tclasses: a\n\t\t}) : e.createBox(t, r, {\n\t\t\ttype: i,\n\t\t\tclasses: a\n\t\t}) ?? new M(null);\n\t\treturn t.isTight && (o.isTight = !0), (this.mode !== \"math\" || this.style.variant === \"main\") && (o.italic = 0), o.right = o.italic, this.bind(t, o), this.caret && !this.superscript && !this.subscript && (o.caret = this.caret), o;\n\t}\n\tisDigit() {\n\t\treturn this.type === \"mord\" && this.value ? /^[\\d,\\.]$/.test(this.value) : this.type === \"group\" && this.body?.length === 2 && this.body[0].type === \"first\" && this.body[1].value === \",\";\n\t}\n\tasDigit() {\n\t\treturn this.type === \"mord\" && this.value && /^[\\d,\\.]$/.test(this.value) ? this.value : this.type === \"group\" && this.body?.length === 2 && this.body[0].type === \"first\" && this.body[1].value === \",\" ? \".\" : \"\";\n\t}\n};\nfunction ec(e) {\n\tlet t, n = [], r = [];\n\tfor (let i of e) {\n\t\tif (i.type === \"first\") {\n\t\t\tr.push(i);\n\t\t\tcontinue;\n\t\t}\n\t\tif (!t && !i.style) r.push(i);\n\t\telse {\n\t\t\tlet e = i.style;\n\t\t\tt && e.color === t.color && e.backgroundColor === t.backgroundColor && e.fontSize === t.fontSize ? r.push(i) : (r.length > 0 && n.push(r), r = [i], t = e);\n\t\t}\n\t}\n\treturn r.length > 0 && n.push(r), n;\n}\nfunction tc(e, t, n) {\n\tvar r, i, a;\n\tif (!t || t.length === 0) return null;\n\tlet o = new P({ parent: e }, n.style), l = !((r = o.atomIdsSettings) != null && r.groupNumbers), u = [];\n\tif (t.length === 1) {\n\t\tlet e = t[0], n = e.render(o);\n\t\tn && (l && e.isSelected && n.selected(!0), u = [n]);\n\t} else {\n\t\tlet e = \"\", n = !0;\n\t\tfor (let r of t) {\n\t\t\t(i = o.atomIdsSettings) != null && i.groupNumbers && e && (n && r.isDigit() || !n && nc(r)) && (o.atomIdsSettings.overrideID = e);\n\t\t\tlet t = r.render(o);\n\t\t\to.atomIdsSettings && (o.atomIdsSettings.overrideID = void 0), t && ((a = o.atomIdsSettings) != null && a.groupNumbers && ((r.isDigit() || nc(r)) && (!e || n !== r.isDigit()) && (n = r.isDigit(), e = r.id ?? \"\"), e && (!(r.isDigit() || nc(r)) || !r.hasEmptyBranch(\"superscript\") || !r.hasEmptyBranch(\"subscript\")) && (e = \"\")), l && r.isSelected && t.selected(!0), u.push(t));\n\t\t}\n\t}\n\tif (u.length === 0) return null;\n\tlet d = new M(u, c(s({ isTight: o.isTight }, n), { type: n.type ?? \"lift\" }));\n\treturn d.isSelected = u.every((e) => e.isSelected), d.wrap(o);\n}\nfunction nc(e) {\n\treturn e.mode === \"text\";\n}\nfunction rc(e) {\n\treturn e.map((e) => e === null ? \"<null>\" : Array.isArray(e) && e[0] instanceof F ? { atoms: e.map((e) => e.toJson()) } : typeof e == \"object\" && \"group\" in e ? { group: e.group.map((e) => e.toJson()) } : e);\n}\nvar ic = class e extends F {\n\tconstructor(e, t, n) {\n\t\tsuper({\n\t\t\ttype: \"text\",\n\t\t\tcommand: e,\n\t\t\tmode: \"text\",\n\t\t\tdisplayContainsHighlight: !0\n\t\t}), this.value = t, this.verbatimLatex = t, this.applyStyle(n);\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.command, t.value, t.style);\n\t}\n\trender(e) {\n\t\tlet t = this.createBox(e);\n\t\treturn this.caret && (t.caret = this.caret), t;\n\t}\n\t_serialize(e) {\n\t\treturn this.verbatimLatex ?? mt(\"text\", this.value.codePointAt(0));\n\t}\n};\nfunction ac(e, t) {\n\tif (e.direction === t.direction) {\n\t\tlet n = e.ranges.length;\n\t\tif (t.ranges.length === n) {\n\t\t\tlet r = 0;\n\t\t\tfor (; r < n && oc(e.ranges[r], t.ranges[r]) === \"equal\";) r++;\n\t\t\treturn r === n ? \"equal\" : \"different\";\n\t\t}\n\t}\n\treturn \"different\";\n}\nfunction oc(e, t) {\n\treturn e[0] === t[0] && e[1] === t[1] ? \"equal\" : \"different\";\n}\nfunction sc(e) {\n\tlet t = 1 / 0, n = -1 / 0;\n\tfor (let r of e.ranges) t = Math.min(t, r[0], r[1]), n = Math.max(n, r[0], r[1]);\n\treturn [t, n];\n}\nfunction cc(e) {\n\treturn typeof e == \"number\" && !Number.isNaN(e);\n}\nfunction lc(e) {\n\treturn Array.isArray(e) && e.length === 2;\n}\nfunction uc(e) {\n\treturn typeof e == \"object\" && !!e && \"ranges\" in e && Array.isArray(e.ranges);\n}\nfunction dc(e, t) {\n\tlet n = e.at(t), r;\n\tif (n) {\n\t\tr = n.mode;\n\t\tlet e = n.parent;\n\t\tfor (; !r && e;) e && (r = e.mode), e = e.parent;\n\t}\n\treturn r;\n}\nfunction fc(e, t) {\n\tif (!t) return \"\";\n\tif (typeof t == \"string\") return t;\n\tif (!e || t.after === void 0) return t.value;\n\tlet n = !1, r = !1, i = !1, a = !1, o = !1, s = !1, c = !1, l = !1, u = !1, d = !1, f = !1, p = !1, m = !1, h = !1, g = !1, _ = e[0], ee = 0;\n\tfor (; _ != null && _.type && /^(subsup|placeholder)$/.test(_.type);) ee += 1, _ = e[ee];\n\treturn n = !_ || _.type === \"first\", _ && (h = _.mode === \"text\", r = !h && _.type === \"mord\" && Ze.test(_.value), i = !h && _.type === \"mord\" && /\\d+$/.test(_.value), a = !h && _.isFunction, o = _.type === \"genfrac\", s = _.type === \"surd\", c = _.type === \"mbin\", l = _.type === \"mrel\", u = _.type === \"mop\" || _.type === \"operator\" || _.type === \"extensible-symbol\", d = _.type === \"mpunct\" || _.type === \"minner\", f = _.type === \"array\", p = _.type === \"mopen\", m = _.type === \"mclose\" || _.type === \"leftright\", g = _.type === \"space\"), t.after.includes(\"nothing\") && n || t.after.includes(\"letter\") && r || t.after.includes(\"digit\") && i || t.after.includes(\"function\") && a || t.after.includes(\"frac\") && o || t.after.includes(\"surd\") && s || t.after.includes(\"binop\") && c || t.after.includes(\"relop\") && l || t.after.includes(\"operator\") && u || t.after.includes(\"punct\") && d || t.after.includes(\"array\") && f || t.after.includes(\"openfence\") && p || t.after.includes(\"closefence\") && m || t.after.includes(\"text\") && h || t.after.includes(\"space\") && g ? t.value : \"\";\n}\nfunction pc(e, t, n) {\n\treturn n ? fc(e, n[t]) : \"\";\n}\nvar mc = {\n\t\"&\": \"\\\\&\",\n\t\"%\": \"\\\\%\",\n\t$: \"\\\\$\",\n\t\"''\": \"^{\\\\doubleprime}\",\n\t\"'''\": \"^{\\\\prime\\\\prime\\\\prime}\",\n\t\"''''\": \"^{\\\\prime\\\\prime\\\\prime\\\\prime}\",\n\talpha: \"\\\\alpha\",\n\tdelta: \"\\\\delta\",\n\tDelta: \"\\\\Delta\",\n\tpi: \"\\\\pi\",\n\tPi: \"\\\\Pi\",\n\ttheta: \"\\\\theta\",\n\tTheta: \"\\\\Theta\",\n\tii: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\imaginaryI\"\n\t},\n\tjj: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\imaginaryJ\"\n\t},\n\tee: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\exponentialE\"\n\t},\n\tnabla: \"\\\\nabla\",\n\tgrad: \"\\\\nabla\",\n\tdel: \"\\\\partial\",\n\tdeg: {\n\t\tafter: \"digit+space\",\n\t\tvalue: \"\\\\degree\"\n\t},\n\tinfty: \"\\\\infty\",\n\t\"∞\": \"\\\\infty\",\n\too: {\n\t\tafter: \"nothing+digit+frac+surd+binop+relop+punct+array+openfence+closefence+space\",\n\t\tvalue: \"\\\\infty\"\n\t},\n\t\"∑\": \"\\\\sum\",\n\tsum: \"\\\\sum_{#?}^{#?}\",\n\tint: \"\\\\int_{#?}^{#?}\",\n\tprod: \"\\\\prod_{#?}^{#?}\",\n\tsqrt: \"\\\\sqrt{#?}\",\n\t\"∆\": \"\\\\differentialD\",\n\t\"∂\": \"\\\\differentialD\",\n\tsin: \"\\\\sin\",\n\tcos: \"\\\\cos\",\n\ttan: \"\\\\tan\",\n\tarccos: \"\\\\arccos\",\n\tarcsin: \"\\\\arcsin\",\n\tarctan: \"\\\\arctan\",\n\tarctg: \"\\\\operatorname{arctg}\",\n\tarcsec: \"\\\\operatorname{arcsec}\",\n\tarccsc: \"\\\\operatorname{arccsc}\",\n\tarsinh: \"\\\\operatorname{arsinh}\",\n\tarccosh: \"\\\\operatorname{arccosh}\",\n\tarcosh: \"\\\\operatorname{arcosh}\",\n\tartanh: \"\\\\operatorname{artanh}\",\n\tarctanh: \"\\\\operatorname{arctanh}\",\n\tarcsech: \"\\\\operatorname{arcsech}\",\n\tarccsch: \"\\\\operatorname{arccsch}\",\n\tch: \"\\\\operatorname{ch}\",\n\tcosec: \"\\\\operatorname{cosec}\",\n\tcosh: \"\\\\cosh\",\n\tcot: \"\\\\cot\",\n\tcotg: \"\\\\operatorname{cotg}\",\n\tcoth: \"\\\\coth\",\n\tcsc: \"\\\\csc\",\n\tctg: \"\\\\operatorname{ctg}\",\n\tcth: \"\\\\operatorname{cth}\",\n\tsec: \"\\\\sec\",\n\tsech: \"\\\\operatorname{sech}\",\n\tsinh: \"\\\\sinh\",\n\tsh: \"\\\\operatorname{sh}\",\n\ttanh: \"\\\\tanh\",\n\ttg: \"\\\\operatorname{tg}\",\n\tth: \"\\\\operatorname{th}\",\n\targ: \"\\\\arg\",\n\tlg: \"\\\\lg\",\n\tlb: \"\\\\operatorname{lb}\",\n\tlog: \"\\\\log_{#?}\",\n\tln: \"\\\\ln\",\n\texp: \"\\\\exp\",\n\tlim: \"\\\\lim_{#?\\\\to#?}\",\n\tdx: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\differentialD x\"\n\t},\n\tdy: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\differentialD y\"\n\t},\n\tdt: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\differentialD t\"\n\t},\n\tAA: \"\\\\forall\",\n\tEE: \"\\\\exists\",\n\t\"!EE\": \"\\\\nexists\",\n\t\"&&\": \"\\\\land\",\n\txin: {\n\t\tafter: \"nothing+text+relop+punct+openfence+space\",\n\t\tvalue: \"x \\\\in\"\n\t},\n\tsint: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\sin t\"\n\t},\n\tin: {\n\t\tafter: \"nothing+letter+closefence\",\n\t\tvalue: \"\\\\in\"\n\t},\n\t\"!in\": \"\\\\notin\",\n\tNN: \"\\\\mathbb{N}\",\n\tZZ: \"\\\\mathbb{Z}\",\n\tQQ: \"\\\\mathbb{Q}\",\n\tRR: \"\\\\mathbb{R}\",\n\tCC: \"\\\\mathbb{C}\",\n\txx: \"\\\\times\",\n\t\"+-\": \"\\\\pm\",\n\t\"≠\": \"\\\\ne\",\n\t\"!=\": \"\\\\ne\",\n\t\"≥\": \"\\\\ge\",\n\t\">=\": \"\\\\ge\",\n\t\"≤\": \"\\\\le\",\n\t\"<=\": \"\\\\le\",\n\t\"<<\": \"\\\\ll\",\n\t\">>\": \"\\\\gg\",\n\t\"~~\": \"\\\\approx\",\n\t\"≈\": \"\\\\approx\",\n\t\"?=\": \"\\\\questeq\",\n\t\"÷\": \"\\\\div\",\n\t\"¬\": \"\\\\neg\",\n\t\":=\": \"\\\\coloneq\",\n\t\"::\": \"\\\\Colon\",\n\t\"(:\": \"\\\\langle\",\n\t\":)\": \"\\\\rangle\",\n\tbeta: \"\\\\beta\",\n\tchi: \"\\\\chi\",\n\tepsilon: \"\\\\epsilon\",\n\tvarepsilon: \"\\\\varepsilon\",\n\teta: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\eta\"\n\t},\n\tgamma: \"\\\\gamma\",\n\tGamma: \"\\\\Gamma\",\n\tiota: \"\\\\iota\",\n\tkappa: \"\\\\kappa\",\n\tlambda: \"\\\\lambda\",\n\tLambda: \"\\\\Lambda\",\n\tmu: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\mu\"\n\t},\n\tnu: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\nu\"\n\t},\n\tµ: \"\\\\mu\",\n\tphi: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\phi\"\n\t},\n\tPhi: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\Phi\"\n\t},\n\tvarphi: \"\\\\varphi\",\n\tpsi: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\psi\"\n\t},\n\tPsi: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\Psi\"\n\t},\n\trho: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\rho\"\n\t},\n\tsigma: \"\\\\sigma\",\n\tSigma: \"\\\\Sigma\",\n\ttau: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\tau\"\n\t},\n\tvartheta: \"\\\\vartheta\",\n\tupsilon: \"\\\\upsilon\",\n\txi: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space\",\n\t\tvalue: \"\\\\xi\"\n\t},\n\tXi: {\n\t\tafter: \"nothing+digit+function+frac+surd+binop+relop+punct+array+openfence+closefence+space+text\",\n\t\tvalue: \"\\\\Xi\"\n\t},\n\tzeta: \"\\\\zeta\",\n\tomega: \"\\\\omega\",\n\tOmega: \"\\\\Omega\",\n\tΩ: \"\\\\omega\",\n\tforall: \"\\\\forall\",\n\texists: \"\\\\exists\",\n\t\"!exists\": \"\\\\nexists\",\n\t\":.\": \"\\\\therefore\",\n\tliminf: \"\\\\liminf_{#?}\",\n\tlimsup: \"\\\\limsup_{#?}\",\n\targmin: \"\\\\operatorname*{arg~min}_{#?}\",\n\targmax: \"\\\\operatorname*{arg~max}_{#?}\",\n\tdet: \"\\\\det\",\n\tmod: \"\\\\bmod{#?}\",\n\t\"(mod\": \"\\\\pmod{#?}\",\n\tmax: \"\\\\max\",\n\tmin: \"\\\\min\",\n\terf: \"\\\\operatorname{erf}\",\n\terfc: \"\\\\operatorname{erfc}\",\n\tbessel: \"\\\\operatorname{bessel}\",\n\tmean: \"\\\\operatorname{mean}\",\n\tmedian: \"\\\\operatorname{median}\",\n\tfft: \"\\\\operatorname{fft}\",\n\tlcm: \"\\\\operatorname{lcm}\",\n\tgcd: \"\\\\gcd\",\n\trandomReal: \"\\\\operatorname{randomReal}\",\n\trandomInteger: \"\\\\operatorname{randomInteger}\",\n\tRe: \"\\\\operatorname{Re}\",\n\tIm: \"\\\\operatorname{Im}\",\n\tmm: {\n\t\tafter: \"nothing+digit+operator\",\n\t\tvalue: \"\\\\operatorname{mm}\"\n\t},\n\tcm: {\n\t\tafter: \"nothing+digit+operator\",\n\t\tvalue: \"\\\\operatorname{cm}\"\n\t},\n\tkm: {\n\t\tafter: \"nothing+digit+operator\",\n\t\tvalue: \"\\\\operatorname{km}\"\n\t},\n\tkg: {\n\t\tafter: \"nothing+digit+operator\",\n\t\tvalue: \"\\\\operatorname{kg}\"\n\t},\n\tft: {\n\t\tafter: \"nothing+digit+operator\",\n\t\tvalue: \"\\\\operatorname{ft}\"\n\t},\n\tinch: {\n\t\tafter: \"nothing+digit+operator\",\n\t\tvalue: \"\\\\operatorname{inch}\"\n\t},\n\tmi: {\n\t\tafter: \"nothing+digit+operator\",\n\t\tvalue: \"\\\\operatorname{mi}\"\n\t},\n\t\"...\": \"\\\\ldots\",\n\t\"+...\": \"+\\\\cdots\",\n\t\"-...\": \"-\\\\cdots\",\n\t\"->...\": \"\\\\to\\\\cdots\",\n\t\"-->...\": \"\\\\longrightarrow\\\\cdots\",\n\t\"->\": \"\\\\to\",\n\t\"|->\": \"\\\\mapsto\",\n\t\"-->\": \"\\\\longrightarrow\",\n\t\"<--\": \"\\\\longleftarrow\",\n\t\"=>\": \"\\\\Rightarrow\",\n\t\"==>\": \"\\\\Longrightarrow\",\n\t\"<=>\": \"\\\\iff\",\n\t\"<->\": \"\\\\leftrightarrow\",\n\t\"(.)\": \"\\\\odot\",\n\t\"(+)\": \"\\\\oplus\",\n\t\"(/)\": \"\\\\oslash\",\n\t\"(*)\": \"\\\\otimes\",\n\t\"(-)\": \"\\\\ominus\",\n\t\"||\": \"\\\\Vert\",\n\t\"*\": \"\\\\cdot\",\n\t\"**\": \"\\\\star\",\n\t\"***\": \"\\\\ast\",\n\t\"//\": \"\\\\slash\",\n\t\"\\\\\\\\\": \"\\\\backslash\",\n\tsetminus: \"\\\\backslash\",\n\t\"|><\": \"\\\\ltimes\",\n\t\"><|\": \"\\\\rtimes\",\n\t\"|><|\": \"\\\\bowtie\",\n\t\"-:\": \"\\\\div\",\n\tdivide: \"\\\\div\",\n\t\"@\": \"\\\\circ\",\n\t\"^^\": \"\\\\wedge\",\n\t\"^^^\": \"\\\\bigwedge\",\n\tvv: \"\\\\vee\",\n\tvvv: \"\\\\bigvee\",\n\tnn: \"\\\\cap\",\n\tnnn: \"\\\\bigcap\",\n\tuu: \"\\\\cup\",\n\tuuu: \"\\\\bigcup\",\n\t\"-=\": \"\\\\equiv\",\n\t\"~=\": \"\\\\cong\",\n\tlt: \"<\",\n\t\"lt=\": \"\\\\leq\",\n\tgt: \">\",\n\t\"gt=\": \"\\\\geq\",\n\t\"-<\": \"\\\\prec\",\n\t\"-lt\": \"\\\\prec\",\n\t\"-<=\": \"\\\\preceq\",\n\t\">-=\": \"\\\\succeq\",\n\tprop: \"\\\\propto\",\n\tdiamond: \"\\\\diamond\",\n\tsquare: \"\\\\square\",\n\tiff: \"\\\\iff\",\n\tsub: \"\\\\subset\",\n\tsup: \"\\\\supset\",\n\tsube: \"\\\\subseteq\",\n\tsupe: \"\\\\supseteq\",\n\tuarr: \"\\\\uparrow\",\n\tdarr: \"\\\\downarrow\",\n\trarr: \"\\\\rightarrow\",\n\trArr: \"\\\\Rightarrow\",\n\tlarr: \"\\\\leftarrow\",\n\tlArr: \"\\\\Leftarrow\",\n\tharr: \"\\\\leftrightarrow\",\n\thArr: \"\\\\Leftrightarrow\",\n\taleph: \"\\\\aleph\",\n\tand: \"\\\\land\",\n\tor: \"\\\\lor\",\n\tnot: \"\\\\neg\",\n\t\"_|_\": \"\\\\bot\",\n\tTT: \"\\\\top\",\n\t\"|--\": \"\\\\vdash\",\n\t\"|==\": \"\\\\models\",\n\t\"|__\": \"\\\\lfloor\",\n\t\"__|\": \"\\\\rfloor\",\n\t\"|~\": \"\\\\lceil\",\n\t\"~|\": \"\\\\rceil\",\n\t\">->\": \"\\\\rightarrowtail\",\n\t\"->>\": \"\\\\twoheadrightarrow\",\n\t\">->>\": \"\\\\twoheadrightarrowtail\",\n\ttimes: \"\\\\times\",\n\tof: \"\\\\circ\",\n\tinfinity: \"\\\\infty\",\n\tdefint: \"\\\\int_{#?}^{#?}\",\n\tapproaches: \"\\\\to\",\n\tceil: \"\\\\left\\\\lceil#?\\\\right\\\\rceil\",\n\tfloor: \"\\\\left\\\\lfloor#?\\\\right\\\\rfloor\",\n\tunion: \"\\\\cup\",\n\tasterisk: \"\\\\ast\",\n\tfrac: \"\\\\frac{#?}{#?}\",\n\tcbrt: \"\\\\sqrt[3]{#?}\",\n\tnthroot: \"\\\\sqrt[#?]{#?}\"\n};\nfunction hc(e, t) {\n\tlet n = t?.format ?? \"auto\";\n\treturn n === \"auto\" && ([n, e] = Sc(e)), n === \"ascii-math\" ? (e = e.replace(/\\u2061/gu, \"\"), e = e.replace(/\\u3016/gu, \"{\"), e = e.replace(/\\u3017/gu, \"}\"), e = e.replace(/([^\\\\])sinx/g, \"$1\\\\sin x\"), e = e.replace(/([^\\\\])cosx/g, \"$1\\\\cos x \"), e = e.replace(/\\u2013/g, \"-\"), [\"ascii-math\", gc(e, { inlineShortcuts: t?.inlineShortcuts })]) : [\"latex\", e];\n}\nfunction gc(e, t) {\n\tif (e = e.trim(), !e) return \"\";\n\tlet n = t.inlineShortcuts ?? mc;\n\tif (e.startsWith(\"^\") || e.startsWith(\"_\")) {\n\t\tlet { match: r, rest: i } = vc(e.slice(1), {\n\t\t\tinlineShortcuts: n,\n\t\t\tnoWrap: !0\n\t\t});\n\t\treturn `${e[0]}{${r}}${gc(i, t)}`;\n\t}\n\tlet r = e.match(/^(sqrt|\\u221A)(.*)/);\n\tif (r) {\n\t\tlet { match: e, rest: i } = vc(r[2], {\n\t\t\tinlineShortcuts: n,\n\t\t\tnoWrap: !0\n\t\t});\n\t\treturn `\\\\sqrt{${e ?? \"\\\\placeholder{}\"}}${gc(i, t)}`;\n\t}\n\tif (r = e.match(/^(\\\\cbrt|\\u221B)(.*)/), r) {\n\t\tlet { match: e, rest: i } = vc(r[2], {\n\t\t\tinlineShortcuts: n,\n\t\t\tnoWrap: !0\n\t\t});\n\t\treturn `\\\\sqrt[3]{${e ?? \"\\\\placeholder{}\"}}${gc(i, t)}`;\n\t}\n\tif (r = e.match(/^abs(.*)/), r) {\n\t\tlet { match: e, rest: i } = vc(r[1], {\n\t\t\tinlineShortcuts: n,\n\t\t\tnoWrap: !0\n\t\t});\n\t\treturn `\\\\left|${e ?? \"\\\\placeholder{}\"}\\\\right|${gc(i, t)}`;\n\t}\n\tif (r = e.match(/^[\"”“](.*?)[\"”“](.*)/), r) return `\\\\text{${r[1]}}${gc(r[2], t)}`;\n\tif (r = e.match(/^([^a-zA-Z0-9\\(\\{\\[\\_\\^\\\\\\s\"]+)(.*)/), r) return `${yc(r[1], n)}${gc(r[2], t)}`;\n\tif (/^([fgh])[^a-zA-Z]/.test(e)) {\n\t\tlet { rest: r, match: i } = vc(e.slice(1), {\n\t\t\tinlineShortcuts: n,\n\t\t\tnoWrap: !0\n\t\t}), a = \"\";\n\t\treturn a = e[1] === \"(\" ? `${e[0]}\\\\left(${i}\\\\right)` : e[0] + i, a + gc(r, t);\n\t}\n\tif (r = e.match(/^([a-zA-Z]+)(.*)/), r) return yc(r[1], n) + gc(r[2], t);\n\tlet { match: i, rest: a } = vc(e, {\n\t\tinlineShortcuts: n,\n\t\tnoWrap: !0\n\t});\n\tif (i && a[0] === \"/\") {\n\t\tlet e = vc(a.slice(1), {\n\t\t\tinlineShortcuts: n,\n\t\t\tnoWrap: !0\n\t\t});\n\t\tif (e.match) return `\\\\frac{${i}}{${e.match}}${gc(e.rest, t)}`;\n\t} else return e.startsWith(\"(\") ? \"\\\\left(\" + i + \"\\\\right)\" + gc(a, t) : i + gc(a, t);\n\treturn r = e.match(/^(\\s+)(.*)$/), r ? \" \" + gc(r[2], t) : e;\n}\nvar _c = {\n\t\"[\": \"\\\\lbrack\",\n\t\"]\": \"\\\\rbrack\",\n\t\"{\": \"\\\\lbrace\",\n\t\"}\": \"\\\\rbrace\"\n};\nfunction vc(e, t) {\n\tlet n = \"\";\n\te = e.trim();\n\tlet r = e, i = e.charAt(0), a = {\n\t\t\"(\": \")\",\n\t\t\"{\": \"}\",\n\t\t\"[\": \"]\"\n\t}[i];\n\tif (a) {\n\t\tlet o = 1, s = 1;\n\t\tfor (; s < e.length && o > 0;) e[s] === i && o++, e[s] === a && o--, s++;\n\t\tif (o === 0) {\n\t\t\tlet o = gc(e.substring(1, s - 1), t);\n\t\t\tn = t.noWrap && i === \"(\" ? o : `\\\\left${_c[i] ?? i}${o}\\\\right${_c[a] ?? a}`, r = e.slice(Math.max(0, s));\n\t\t} else n = e.substring(1, s), r = \"\";\n\t} else {\n\t\tlet i = e.match(/^([a-zA-Z]+)/);\n\t\tif (i) {\n\t\t\tlet n = pc(null, e, t.inlineShortcuts);\n\t\t\tif (n) return n = n.replace(\"_{#?}\", \"\"), n = n.replace(\"^{#?}\", \"\"), {\n\t\t\t\tmatch: n,\n\t\t\t\trest: e.slice(n.length)\n\t\t\t};\n\t\t}\n\t\tif (i = e.match(/^([a-zA-Z])/), i) return {\n\t\t\tmatch: i[1],\n\t\t\trest: e.slice(1)\n\t\t};\n\t\tif (i = e.match(/^(-)?\\d+(\\.\\d*)?/), i) return {\n\t\t\tmatch: i[0],\n\t\t\trest: e.slice(i[0].length)\n\t\t};\n\t\t/^\\\\(left|right)/.test(e) || (i = e.match(/^(\\\\[a-zA-Z]+)/), i && (r = e.slice(i[1].length), n = i[1]));\n\t}\n\treturn {\n\t\tmatch: n,\n\t\trest: r\n\t};\n}\nfunction yc(e, t) {\n\tlet n = pc(null, e, t);\n\treturn n ? (n = n.replace(\"_{#?}\", \"\"), n = n.replace(\"^{#?}\", \"\"), n += \" \") : n = e, n;\n}\nvar bc = [\n\t[\"\\\\[\", \"\\\\]\"],\n\t[\"\\\\(\", \"\\\\)\"],\n\t[\"$$\", \"$$\"],\n\t[\"$\", \"$\"],\n\t[\"\\\\begin{math}\", \"\\\\end{math}\"],\n\t[\"\\\\begin{displaymath}\", \"\\\\end{displaymath}\"],\n\t[\"\\\\begin{equation}\", \"\\\\end{equation}\"],\n\t[\"\\\\begin{equation*}\", \"\\\\end{equation*}\"]\n];\nfunction xc(e) {\n\tlet t = e.trim();\n\tfor (let e of bc) if (t.startsWith(e[0]) && t.endsWith(e[1])) return [!0, t.substring(e[0].length, t.length - e[1].length)];\n\treturn [!1, e];\n}\nfunction Sc(e) {\n\tif (e = e.trim(), e.length <= 1) return [\"latex\", e];\n\tlet t;\n\treturn [t, e] = xc(e), t ? [\"latex\", e] : e.startsWith(\"`\") && e.endsWith(\"`\") ? (e = e.substring(1, e.length - 1), [\"ascii-math\", e]) : e.includes(\"\\\\\") ? [\"latex\", e] : /\\$.+\\$/.test(e) ? [\"latex\", `\\\\text{${e}}`] : [void 0, e];\n}\nvar Cc = \"$$\", wc = \"$$\", Tc = (e, t, n) => (bc.some((e) => t.startsWith(e[0]) && t.endsWith(e[1])) || (t = `${Cc} ${t} ${wc}`), t), Ec = class e {\n\tconstructor(t) {\n\t\te._modes[t] = this;\n\t}\n\tstatic onPaste(t, n, r) {\n\t\tvar i;\n\t\tif (!n.contentEditable && n.userSelect === \"none\") return n.model.announce(\"plonk\"), !1;\n\t\tif (typeof r == \"string\") {\n\t\t\tlet e = new DataTransfer();\n\t\t\te.setData(\"text/plain\", r), r = e;\n\t\t}\n\t\tlet a = new ClipboardEvent(\"paste\", {\n\t\t\tclipboardData: r,\n\t\t\tcancelable: !0\n\t\t});\n\t\treturn (i = n.host) != null && i.dispatchEvent(a) ? e._modes[t].onPaste(n, r) : !1;\n\t}\n\tstatic copyToClipboard(e, t) {\n\t\tif (!e.contentEditable && e.userSelect === \"none\") {\n\t\t\te.model.announce(\"plonk\");\n\t\t\treturn;\n\t\t}\n\t\tlet n = e.model, r = n.selectionIsCollapsed ? [0, n.lastOffset] : sc(n.selection), i = n.getValue(r, t);\n\t\tnavigator.clipboard.writeText(i).then(() => {}, () => e.model.announce(\"plonk\"));\n\t}\n\tstatic onCopy(e, t) {\n\t\tvar n;\n\t\tif (!t.clipboardData) return;\n\t\tif (!e.contentEditable && e.userSelect === \"none\") {\n\t\t\te.model.announce(\"plonk\");\n\t\t\treturn;\n\t\t}\n\t\tlet r = e.model, i = r.selectionIsCollapsed ? [0, r.lastOffset] : sc(r.selection), a = r.getAtoms(i);\n\t\tif (a.every((e) => e.mode === \"text\" || !e.mode)) t.clipboardData.setData(\"text/plain\", a.filter((e) => e instanceof ic).map((e) => e.value).join(\"\"));\n\t\telse if (a.every((e) => e.mode === \"latex\")) t.clipboardData.setData(\"text/plain\", r.getAtoms(i, { includeChildren: !0 }).map((e) => e.value ?? \"\").join(\"\"));\n\t\telse {\n\t\t\tlet o;\n\t\t\to = a.length === 1 && a[0].verbatimLatex !== void 0 ? a[0].verbatimLatex : r.getValue(i, \"latex-expanded\"), t.clipboardData.setData(\"application/x-latex\", o);\n\t\t\ttry {\n\t\t\t\tt.clipboardData.setData(\"text/plain\", e.options.onExport(e, o, i));\n\t\t\t} catch {}\n\t\t\tif (a.length === 1) {\n\t\t\t\tlet e = a[0];\n\t\t\t\t(e.type === \"root\" || e.type === \"group\") && (a = e.body.filter((e) => e.type !== \"first\"));\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tt.clipboardData.setData(\"application/json+mathlive\", JSON.stringify(a.map((e) => e.toJson())));\n\t\t\t} catch {}\n\t\t\tif ((n = window[Symbol.for(\"io.cortexjs.compute-engine\")]) != null && n.ComputeEngine) {\n\t\t\t\tlet e = globalThis.MathfieldElement.computeEngine;\n\t\t\t\tif (e) try {\n\t\t\t\t\tlet n = e.jsonSerializationOptions;\n\t\t\t\t\te.jsonSerializationOptions = { metadata: [\"latex\"] };\n\t\t\t\t\tlet a = e.parse(r.getValue(i, \"latex-unstyled\"));\n\t\t\t\t\te.jsonSerializationOptions = n;\n\t\t\t\t\tlet o = JSON.stringify(a.json);\n\t\t\t\t\to && t.clipboardData.setData(\"application/json\", o);\n\t\t\t\t} catch {}\n\t\t\t}\n\t\t}\n\t\tt.preventDefault();\n\t}\n\tstatic insert(t, n, r = {}) {\n\t\tlet i = r.mode === \"auto\" ? t.mode : r.mode ?? t.mode;\n\t\treturn e._modes[i].insert(t, n, r);\n\t}\n\tonPaste(e, t) {\n\t\treturn !1;\n\t}\n\tinsert(e, t, n) {\n\t\treturn !1;\n\t}\n};\nEc._modes = {};\nvar I = Ec, Dc = [\n\t{\n\t\tkey: \"left\",\n\t\tcommand: \"moveToPreviousChar\"\n\t},\n\t{\n\t\tkey: \"right\",\n\t\tcommand: \"moveToNextChar\"\n\t},\n\t{\n\t\tkey: \"up\",\n\t\tcommand: \"moveUp\"\n\t},\n\t{\n\t\tkey: \"down\",\n\t\tcommand: \"moveDown\"\n\t},\n\t{\n\t\tkey: \"shift+[ArrowLeft]\",\n\t\tcommand: \"extendSelectionBackward\"\n\t},\n\t{\n\t\tkey: \"shift+[ArrowRight]\",\n\t\tcommand: \"extendSelectionForward\"\n\t},\n\t{\n\t\tkey: \"shift+[ArrowUp]\",\n\t\tcommand: \"extendSelectionUpward\"\n\t},\n\t{\n\t\tkey: \"shift+[ArrowDown]\",\n\t\tcommand: \"extendSelectionDownward\"\n\t},\n\t{\n\t\tkey: \"[Backspace]\",\n\t\tcommand: \"deleteBackward\"\n\t},\n\t{\n\t\tkey: \"[Delete]\",\n\t\tcommand: \"deleteForward\"\n\t},\n\t{\n\t\tkey: \"shift+[Backspace]\",\n\t\tcommand: \"deleteForward\"\n\t},\n\t{\n\t\tkey: \"alt+[Backspace]\",\n\t\tcommand: \"deletePreviousWord\"\n\t},\n\t{\n\t\tkey: \"alt+[Delete]\",\n\t\tcommand: \"deleteNextWord\"\n\t},\n\t{\n\t\tkey: \"ctrl+[Backspace]\",\n\t\tcommand: \"deleteToGroupStart\"\n\t},\n\t{\n\t\tkey: \"ctrl+[Delete]\",\n\t\tcommand: \"deleteToGroupEnd\"\n\t},\n\t{\n\t\tkey: \"ctrl+shift+[Backspace]\",\n\t\tcommand: \"deleteToGroupEnd\"\n\t},\n\t{\n\t\tkey: \"alt+[ArrowLeft]\",\n\t\tcommand: \"moveToPreviousWord\"\n\t},\n\t{\n\t\tkey: \"alt+[ArrowRight]\",\n\t\tcommand: \"moveToNextWord\"\n\t},\n\t{\n\t\tkey: \"shift+alt+[ArrowLeft]\",\n\t\tcommand: \"extendToPreviousWord\"\n\t},\n\t{\n\t\tkey: \"shift+alt+[ArrowRight]\",\n\t\tcommand: \"extendToNextWord\"\n\t},\n\t{\n\t\tkey: \"ctrl+[ArrowLeft]\",\n\t\tcommand: \"moveToGroupStart\"\n\t},\n\t{\n\t\tkey: \"ctrl+[ArrowRight]\",\n\t\tcommand: \"moveToGroupEnd\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+[ArrowLeft]\",\n\t\tcommand: \"extendToGroupStart\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+[ArrowRight]\",\n\t\tcommand: \"extendToGroupEnd\"\n\t},\n\t{\n\t\tkey: \"[Home]\",\n\t\tcommand: \"moveToMathfieldStart\"\n\t},\n\t{\n\t\tkey: \"cmd+[ArrowLeft]\",\n\t\tcommand: \"moveToMathfieldStart\"\n\t},\n\t{\n\t\tkey: \"shift+[Home]\",\n\t\tcommand: \"extendToMathFieldStart\"\n\t},\n\t{\n\t\tkey: \"shift+cmd+[ArrowLeft]\",\n\t\tcommand: \"extendToMathFieldStart\"\n\t},\n\t{\n\t\tkey: \"[End]\",\n\t\tcommand: \"moveToMathfieldEnd\"\n\t},\n\t{\n\t\tkey: \"cmd+[ArrowRight]\",\n\t\tcommand: \"moveToMathfieldEnd\"\n\t},\n\t{\n\t\tkey: \"shift+[End]\",\n\t\tcommand: \"extendToMathFieldEnd\"\n\t},\n\t{\n\t\tkey: \"shift+cmd+[ArrowRight]\",\n\t\tcommand: \"extendToMathFieldEnd\"\n\t},\n\t{\n\t\tkey: \"[Pageup]\",\n\t\tcommand: \"moveToGroupStart\"\n\t},\n\t{\n\t\tkey: \"[Pagedown]\",\n\t\tcommand: \"moveToGroupEnd\"\n\t},\n\t{\n\t\tkey: \"[Tab]\",\n\t\tcommand: \"moveToNextGroup\"\n\t},\n\t{\n\t\tkey: \"shift+[Tab]\",\n\t\tcommand: \"moveToPreviousGroup\"\n\t},\n\t{\n\t\tkey: \"[Escape]\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"switchMode\", \"latex\"]\n\t},\n\t{\n\t\tkey: \"[Escape]\",\n\t\tifMode: \"text\",\n\t\tcommand: [\"switchMode\", \"latex\"]\n\t},\n\t{\n\t\tkey: \"[Escape]\",\n\t\tifMode: \"latex\",\n\t\tcommand: [\n\t\t\t\"complete\",\n\t\t\t\"complete\",\n\t\t\t{ selectItem: \"true\" }\n\t\t]\n\t},\n\t{\n\t\tkey: \"\\\\\",\n\t\tifMode: \"math\",\n\t\tcommand: [\n\t\t\t\"switchMode\",\n\t\t\t\"latex\",\n\t\t\t\"\",\n\t\t\t\"\\\\\"\n\t\t]\n\t},\n\t{\n\t\tkey: \"[IntlBackslash]\",\n\t\tifMode: \"math\",\n\t\tcommand: [\n\t\t\t\"switchMode\",\n\t\t\t\"latex\",\n\t\t\t\"\",\n\t\t\t\"\\\\\"\n\t\t]\n\t},\n\t{\n\t\tkey: \"[Tab]\",\n\t\tifMode: \"latex\",\n\t\tcommand: [\"complete\", \"accept-suggestion\"]\n\t},\n\t{\n\t\tkey: \"[Return]\",\n\t\tifMode: \"latex\",\n\t\tcommand: [\"complete\", \"accept-all\"]\n\t},\n\t{\n\t\tkey: \"[Enter]\",\n\t\tifMode: \"latex\",\n\t\tcommand: [\"complete\", \"accept-all\"]\n\t},\n\t{\n\t\tkey: \"shift+[Escape]\",\n\t\tifMode: \"latex\",\n\t\tcommand: [\"complete\", \"reject\"]\n\t},\n\t{\n\t\tkey: \"[ArrowDown]\",\n\t\tifMode: \"latex\",\n\t\tcommand: \"nextSuggestion\"\n\t},\n\t{\n\t\tkey: \"[ArrowUp]\",\n\t\tifMode: \"latex\",\n\t\tcommand: \"previousSuggestion\"\n\t},\n\t{\n\t\tkey: \"ctrl+a\",\n\t\tifPlatform: \"!macos\",\n\t\tcommand: \"selectAll\"\n\t},\n\t{\n\t\tkey: \"cmd+a\",\n\t\tcommand: \"selectAll\"\n\t},\n\t{\n\t\tkey: \"[Cut]\",\n\t\tcommand: \"cutToClipboard\"\n\t},\n\t{\n\t\tkey: \"[Copy]\",\n\t\tcommand: \"copyToClipboard\"\n\t},\n\t{\n\t\tkey: \"[Paste]\",\n\t\tcommand: \"pasteFromClipboard\"\n\t},\n\t{\n\t\tkey: \"[Clear]\",\n\t\tcommand: \"deleteBackward\"\n\t},\n\t{\n\t\tkey: \"[Undo]\",\n\t\tcommand: \"undo\"\n\t},\n\t{\n\t\tkey: \"[Redo]\",\n\t\tcommand: \"redo\"\n\t},\n\t{\n\t\tkey: \"[EraseEof]\",\n\t\tcommand: \"deleteToGroupEnd\"\n\t},\n\t{\n\t\tkey: \"ctrl+x\",\n\t\tifPlatform: \"ios\",\n\t\tcommand: \"cutToClipboard\"\n\t},\n\t{\n\t\tkey: \"cmd+x\",\n\t\tifPlatform: \"ios\",\n\t\tcommand: \"cutToClipboard\"\n\t},\n\t{\n\t\tkey: \"ctrl+c\",\n\t\tifPlatform: \"ios\",\n\t\tcommand: \"copyToClipboard\"\n\t},\n\t{\n\t\tkey: \"cmd+c\",\n\t\tifPlatform: \"ios\",\n\t\tcommand: \"copyToClipboard\"\n\t},\n\t{\n\t\tkey: \"ctrl+v\",\n\t\tifPlatform: \"ios\",\n\t\tcommand: \"pasteFromClipboard\"\n\t},\n\t{\n\t\tkey: \"cmd+v\",\n\t\tifPlatform: \"ios\",\n\t\tcommand: \"pasteFromClipboard\"\n\t},\n\t{\n\t\tkey: \"ctrl+z\",\n\t\tifPlatform: \"!macos\",\n\t\tcommand: \"undo\"\n\t},\n\t{\n\t\tkey: \"cmd+z\",\n\t\tcommand: \"undo\"\n\t},\n\t{\n\t\tkey: \"ctrl+y\",\n\t\tifPlatform: \"!macos\",\n\t\tcommand: \"redo\"\n\t},\n\t{\n\t\tkey: \"shift+cmd+y\",\n\t\tcommand: \"redo\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+z\",\n\t\tifPlatform: \"!macos\",\n\t\tcommand: \"redo\"\n\t},\n\t{\n\t\tkey: \"shift+cmd+z\",\n\t\tcommand: \"redo\"\n\t},\n\t{\n\t\tkey: \"ctrl+b\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"moveToPreviousChar\"\n\t},\n\t{\n\t\tkey: \"ctrl+f\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"moveToNextChar\"\n\t},\n\t{\n\t\tkey: \"ctrl+p\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"moveUp\"\n\t},\n\t{\n\t\tkey: \"ctrl+n\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"moveDown\"\n\t},\n\t{\n\t\tkey: \"ctrl+a\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"moveToMathfieldStart\"\n\t},\n\t{\n\t\tkey: \"ctrl+e\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"moveToMathfieldEnd\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+b\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"extendSelectionBackward\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+f\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"extendSelectionForward\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+p\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"extendSelectionUpward\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+n\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"extendSelectionDownward\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+a\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"extendToMathFieldStart\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+e\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"extendToMathFieldEnd\"\n\t},\n\t{\n\t\tkey: \"alt+ctrl+b\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"moveToPreviousWord\"\n\t},\n\t{\n\t\tkey: \"alt+ctrl+f\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"moveToNextWord\"\n\t},\n\t{\n\t\tkey: \"shift+alt+ctrl+b\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"extendToPreviousWord\"\n\t},\n\t{\n\t\tkey: \"shift+alt+ctrl+f\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"extendToNextWord\"\n\t},\n\t{\n\t\tkey: \"ctrl+h\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"deleteBackward\"\n\t},\n\t{\n\t\tkey: \"ctrl+d\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"deleteForward\"\n\t},\n\t{\n\t\tkey: \"ctrl+l\",\n\t\tifPlatform: \"macos\",\n\t\tcommand: \"scrollIntoView\"\n\t},\n\t{\n\t\tkey: \"ctrl+[Digit2]\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\sqrt{#0}\"]\n\t},\n\t{\n\t\tkey: \"ctrl+[Digit5]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"moveToOpposite\"\n\t},\n\t{\n\t\tkey: \"ctrl+[Digit6]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"moveToSuperscript\"\n\t},\n\t{\n\t\tkey: \"ctrl+[Return]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowAfter\"\n\t},\n\t{\n\t\tkey: \"ctrl+[Enter]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowAfter\"\n\t},\n\t{\n\t\tkey: \"cmd+[Return]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowAfter\"\n\t},\n\t{\n\t\tkey: \"cmd+[Enter]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowAfter\"\n\t},\n\t{\n\t\tkey: \"alt+p\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\pi\"]\n\t},\n\t{\n\t\tkey: \"alt+v\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\sqrt{#0}\"]\n\t},\n\t{\n\t\tkey: \"alt+shift+v\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\sqrt[#0]{#1}\"]\n\t},\n\t{\n\t\tkey: \"alt+o\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\emptyset\"]\n\t},\n\t{\n\t\tkey: \"alt+d\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\differentialD\"]\n\t},\n\t{\n\t\tkey: \"shift+alt+o\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\varnothing\"]\n\t},\n\t{\n\t\tkey: \"shift+alt+d\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\partial\"]\n\t},\n\t{\n\t\tkey: \"alt+[Backslash]\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\backslash\"]\n\t},\n\t{\n\t\tkey: \"[NumpadDivide]\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\frac{#@}{#?}\"]\n\t},\n\t{\n\t\tkey: \"alt+[NumpadDivide]\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\frac{#?}{#@}\"]\n\t},\n\t{\n\t\tkey: \"shift+alt+k\",\n\t\tcommand: \"toggleKeystrokeCaption\"\n\t},\n\t{\n\t\tkey: \"alt+[Space]\",\n\t\tcommand: \"toggleContextMenu\"\n\t},\n\t{\n\t\tkey: \"alt+shift+[Space]\",\n\t\tcommand: \"toggleVirtualKeyboard\"\n\t},\n\t{\n\t\tkey: \"alt+ctrl+[ArrowUp]\",\n\t\tcommand: [\n\t\t\t\"speak\",\n\t\t\t\"all\",\n\t\t\t{ withHighlighting: !1 }\n\t\t]\n\t},\n\t{\n\t\tkey: \"alt+ctrl+[ArrowDown]\",\n\t\tcommand: [\n\t\t\t\"speak\",\n\t\t\t\"selection\",\n\t\t\t{ withHighlighting: !1 }\n\t\t]\n\t},\n\t{\n\t\tkey: \"shift+[Quote]\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\n\t\t\t\"switchMode\",\n\t\t\t\"text\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t]\n\t},\n\t{\n\t\tkey: \"shift+[Quote]\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"text\",\n\t\tcommand: [\n\t\t\t\"switchMode\",\n\t\t\t\"math\",\n\t\t\t\"\",\n\t\t\t\"\"\n\t\t]\n\t},\n\t{\n\t\tkey: \"shift+alt+[KeyT]\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"switchMode\", \"text\"]\n\t},\n\t{\n\t\tkey: \"shift+alt+[KeyT]\",\n\t\tifMode: \"text\",\n\t\tcommand: [\"switchMode\", \"math\"]\n\t},\n\t{\n\t\tkey: \"/\",\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\frac{#@}{#?}\"]\n\t},\n\t{\n\t\tkey: \"alt+/\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"/\"]\n\t},\n\t{\n\t\tkey: \"alt+shift+/\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"/\"]\n\t},\n\t{\n\t\tkey: \"alt+[BracketLeft]\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\left\\\\lbrack #0 \\\\right\\\\rbrack\"]\n\t},\n\t{\n\t\tkey: \"ctrl+[Minus]\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: \"moveToSubscript\"\n\t},\n\t{\n\t\tkey: \"shift+alt+[BracketLeft]\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\left\\\\lbrace #0 \\\\right\\\\rbrace\"]\n\t},\n\t{\n\t\tkey: \"ctrl+;\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowAfter\"\n\t},\n\t{\n\t\tkey: \"cmd+;\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowAfter\"\n\t},\n\t{\n\t\tkey: \"shift+ctrl+;\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowBefore\"\n\t},\n\t{\n\t\tkey: \"shift+cmd+;\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowBefore\"\n\t},\n\t{\n\t\tkey: \"alt+[Tab]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addColumnAfter\"\n\t},\n\t{\n\t\tkey: \"shift+alt+[Tab]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addColumnBefore\"\n\t},\n\t{\n\t\tkey: \"alt+[Enter]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowAfter\"\n\t},\n\t{\n\t\tkey: \"shift+alt+[Enter]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowBefore\"\n\t},\n\t{\n\t\tkey: \"alt+[Return]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowAfter\"\n\t},\n\t{\n\t\tkey: \"shift+alt+[Return]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"addRowBefore\"\n\t},\n\t{\n\t\tkey: \"shift+[Backspace]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"removeColumn\"\n\t},\n\t{\n\t\tkey: \"shift+[Delete]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"removeRow\"\n\t},\n\t{\n\t\tkey: \"shift+alt+[Backspace]\",\n\t\tifMode: \"math\",\n\t\tcommand: \"removeRow\"\n\t},\n\t{\n\t\tkey: \"alt+[Digit5]\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"$\\\\infty\"]\n\t},\n\t{\n\t\tkey: \"alt+[Digit9]\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"(\"]\n\t},\n\t{\n\t\tkey: \"alt+[Digit0]\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \")\"]\n\t},\n\t{\n\t\tkey: \"alt+|\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"|\"]\n\t},\n\t{\n\t\tkey: \"shift+[Backquote]\",\n\t\tifLayout: [\n\t\t\t\"apple.en-intl\",\n\t\t\t\"windows.en-intl\",\n\t\t\t\"linux.en\"\n\t\t],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"\\\\~\"]\n\t},\n\t{\n\t\tkey: \"[Backquote]\",\n\t\tifLayout: [\"windows.french\", \"linux.french\"],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"^2\"]\n\t},\n\t{\n\t\tkey: \"[Backquote]\",\n\t\tifLayout: [\"windows.german\", \"linux.german\"],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"^\"]\n\t},\n\t{\n\t\tkey: \"[IntlBackslash]\",\n\t\tifLayout: [\"apple.german\"],\n\t\tifMode: \"math\",\n\t\tcommand: [\"insert\", \"^\"]\n\t}\n], Oc = {\n\t\"\\\\sqrt\": [\"alt+v\", \"ctrl+[Digit2]\"],\n\t\"\\\\pi\": \"alt+p\",\n\t\"\\\\infty\": \"alt+[Digit5]\",\n\t\"\\\\differentialD\": \"alt+d\",\n\t\"\\\\partial\": \"shift+alt+d\",\n\t\"\\\\frac\": \"Slash\",\n\t\"\\\\emptyset\": \"alt+o\",\n\t\"\\\\varnothing\": \"shift+alt+o\",\n\t\"\\\\~\": \"~\"\n};\nfunction kc(e) {\n\treturn e.element?.mathfield === e;\n}\nfunction Ac(e) {\n\treturn e.querySelector(\".ML__caret\") ?? e.querySelector(\".ML__text-caret\") ?? e.querySelector(\".ML__latex-caret\");\n}\nfunction jc(e) {\n\tlet t = Ac(e);\n\tif (!t) return null;\n\tlet n = t.getBoundingClientRect();\n\treturn {\n\t\tx: n.right,\n\t\ty: n.bottom,\n\t\theight: n.height\n\t};\n}\nfunction Mc(e) {\n\tif (!e.parent) return \"root\";\n\tlet t = e.parent.id ?? \"\";\n\treturn t += typeof e.parentBranch == \"string\" ? \"-\" + e.parentBranch : `-${e.parentBranch[0]}/${e.parentBranch[0]}`, t;\n}\nfunction Nc(e, t, n) {\n\tif (!t) return null;\n\tlet r = e.field.getBoundingClientRect(), i = t.right - t.left, a = t.bottom - t.top, o = Math.ceil(t.left - r.left + e.field.scrollLeft * n), s = Math.ceil(t.top - r.top);\n\treturn {\n\t\tleft: o,\n\t\tright: o + i,\n\t\ttop: s,\n\t\tbottom: s + a\n\t};\n}\nfunction Pc(e) {\n\tlet t = e, n = t.getBoundingClientRect();\n\tfor (; n.bottom === n.top && t.parentElement instanceof Element && (t = t.parentElement, n = t.getBoundingClientRect(), n.bottom === n.top););\n\tlet r = getComputedStyle(t), i = parseInt(r.marginRight), a = n.right - n.left, o = n.bottom - n.top;\n\tif (a === 0 || !Number.isFinite(a)) {\n\t\tlet e = parseFloat(r.width);\n\t\tNumber.isFinite(e) && e > 0 ? a = e : t instanceof HTMLElement && t.offsetWidth > 0 && (a = t.offsetWidth);\n\t}\n\tif (o === 0 || !Number.isFinite(o)) {\n\t\tlet e = parseFloat(r.height);\n\t\tNumber.isFinite(e) && e > 0 ? o = e : t instanceof HTMLElement && t.offsetHeight > 0 && (o = t.offsetHeight);\n\t}\n\tlet s = {\n\t\ttop: n.top - 1,\n\t\tbottom: n.top - 1 + o,\n\t\tleft: n.left,\n\t\tright: n.left + a - 1 + i\n\t};\n\tif (e.children.length === 0 || e.tagName.toUpperCase() === \"SVG\") return s;\n\tfor (let t of e.children) if (t.nodeType === 1 && \"atomId\" in t.dataset && !t.classList.contains(\"ML__pstrut\")) {\n\t\tlet e = Pc(t);\n\t\ts.left = Math.min(s.left, e.left), s.right = Math.max(s.right, e.right), s.top = Math.min(s.top, e.top), s.bottom = Math.max(s.bottom, e.bottom);\n\t}\n\treturn s;\n}\nfunction Fc(e, t) {\n\tif (!t.id) return null;\n\tlet n = e.atomBoundsCache?.get(t.id) ?? null;\n\tif (n !== null) return n;\n\tlet r = e.field.querySelectorAll(`[data-atom-id=\"${t.id}\"]`), i = Array.from(r);\n\tif (t.type === \"prompt\") {\n\t\tfor (let e of i) if (e.classList.contains(\"ML__prompt-atom\")) {\n\t\t\tlet t = e.querySelector(\".ML__prompt\");\n\t\t\tif (t) {\n\t\t\t\tlet e = Pc(t);\n\t\t\t\tn ? (n.left = Math.min(n.left, e.left), n.right = Math.max(n.right, e.right), n.top = Math.min(n.top, e.top), n.bottom = Math.max(n.bottom, e.bottom)) : n = e;\n\t\t\t}\n\t\t}\n\t}\n\tfor (let e of i) {\n\t\tlet t = Pc(e);\n\t\tn ? (n.left = Math.min(n.left, t.left), n.right = Math.max(n.right, t.right), n.top = Math.min(n.top, t.top), n.bottom = Math.max(n.bottom, t.bottom)) : n = t;\n\t}\n\treturn e.atomBoundsCache && (n ? e.atomBoundsCache.set(t.id, n) : e.atomBoundsCache.delete(t.id)), n ?? null;\n}\nfunction Ic(e, t) {\n\tlet [n, r] = t, i = null;\n\tfor (let t = n; t <= r; t++) {\n\t\tlet n = Fc(e, e.model.at(t));\n\t\tn && (i ? (i.top = Math.min(i.top, n.top), i.bottom = Math.max(i.bottom, n.bottom), i.left = Math.min(i.left, n.left), i.right = Math.max(i.right, n.right)) : i = n);\n\t}\n\treturn i ?? {\n\t\ttop: 0,\n\t\tbottom: 0,\n\t\tleft: 0,\n\t\tright: 0\n\t};\n}\nfunction Lc(e, t, n) {\n\tlet r = /* @__PURE__ */ new Map(), i = e.field, a = i.offsetWidth, o = Math.floor(i.getBoundingClientRect().width) / a;\n\to = isNaN(o) ? 1 : o;\n\tfor (let i of e.model.getAtoms(t, { includeChildren: !0 })) {\n\t\tif (n != null && n.excludeAtomsWithBackground && i.style.backgroundColor) continue;\n\t\tlet t = Nc(e, Fc(e, i), o);\n\t\tif (t) {\n\t\t\tlet e = Mc(i);\n\t\t\tif (r.has(e)) {\n\t\t\t\tlet n = r.get(e);\n\t\t\t\tr.set(e, {\n\t\t\t\t\tleft: Math.min(n.left, t.left),\n\t\t\t\t\tright: Math.max(n.right, t.right),\n\t\t\t\t\ttop: Math.min(n.top, t.top),\n\t\t\t\t\tbottom: Math.max(n.bottom, t.bottom)\n\t\t\t\t});\n\t\t\t} else r.set(e, t);\n\t\t}\n\t}\n\treturn [...r.values()];\n}\nfunction Rc(e, t) {\n\treturn e.model.selection.ranges.reduce((n, r) => n.concat(...Lc(e, r, t)), []);\n}\nfunction zc(e, t) {\n\treturn e === \"*\" || t === \"none\" ? !0 : t === \"same-origin\" ? !window.origin || e === window.origin : typeof t == \"function\" && t(e);\n}\nfunction Bc(e) {\n\tlet t = 0, n = 0, r = e.offsetWidth, i = e.offsetHeight;\n\tfor (; e instanceof HTMLElement;) t += e.offsetTop, n += e.offsetLeft, e = e.offsetParent;\n\treturn new DOMRect(n, t, r, i);\n}\nfunction Vc(e, t) {\n\tif (!e) return;\n\tlet n = e.model.at(t);\n\tif (!n) return;\n\tlet r = {}, i = Fc(e, n);\n\ti && (r.bounds = new DOMRect(i.left, i.top, i.right - i.left, i.bottom - i.top)), r.depth = n.treeDepth - 2, r.style = n.style;\n\tlet a = n;\n\tfor (; a;) {\n\t\tif (a.command === \"\\\\htmlData\" && a.args && typeof a.args[0] == \"string\") {\n\t\t\tlet e = a.args[0].split(\",\");\n\t\t\tfor (let t of e) {\n\t\t\t\tlet e = t.match(/([^=]+)=(.+$)/);\n\t\t\t\tif (e) {\n\t\t\t\t\tlet t = e[1].trim().replace(/ /g, \"-\");\n\t\t\t\t\tt && (r.data || (r.data = {}), r.data[t] = e[2]);\n\t\t\t\t} else {\n\t\t\t\t\tlet e = t.trim().replace(/ /g, \"-\");\n\t\t\t\t\te && (r.data || (r.data = {}), r.data[e] = void 0);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t(a.command === \"\\\\htmlId\" || a.command === \"\\\\cssId\") && !r.id && a.args && typeof a.args[0] == \"string\" && (r.id = a.args[0]), a = a.parent;\n\t}\n\treturn (n.mode === \"math\" || n.mode === \"text\") && (r.latex = F.serialize([n], { defaultMode: \"math\" })), r;\n}\nfunction Hc(e, t) {\n\tlet n = e.model.at(t);\n\tfor (; n;) {\n\t\tif (n.command === \"\\\\href\") {\n\t\t\tlet e = n.args[0];\n\t\t\tif (typeof e == \"string\") return e;\n\t\t}\n\t\tn = n.parent;\n\t}\n\treturn \"\";\n}\nvar Uc = \"@keyframes ML__caret-blink {\\n 0%,\\n 100% {\\n opacity: 1;\\n }\\n 50% {\\n opacity: 0;\\n }\\n}\\n:host {\\n display: block;\\n}\\n.ML__container {\\n display: inline-flex;\\n flex-flow: row;\\n justify-content: space-between;\\n align-items: flex-end;\\n min-height: 39px;\\n /* Need some room for the virtual keyboard toggle */\\n width: 100%;\\n padding: 4px;\\n box-sizing: border-box;\\n /* This attribute is necessary to work around a Firefox issue where\\n where clicking multiple times on the border leads to a focused mathfield that cannot be edited until focus is lost and regained (also fixes the multiple cursor issue on firefox that can occur with the same sequence of events).\\n */\\n pointer-events: auto;\\n /* Prevent the browser from trying to interpret touch gestures in the field */\\n /* \\\"Disabling double-tap to zoom removes the need for browsers to\\n delay the generation of click events when the user taps the screen.\\\" */\\n touch-action: none;\\n --_caret-color: var(--caret-color, hsl(var(--_hue), 40%, 49%));\\n --_selection-color: var(--selection-color, #000);\\n --_selection-background-color: var(--selection-background-color, hsl(var(--_hue), 70%, 85%));\\n --_text-highlight-background-color: var(--highlight-text, hsla(var(--_hue), 40%, 50%, 0.1));\\n --_contains-highlight-background-color: var(--contains-highlight-background-color, hsl(var(--_hue), 40%, 95%));\\n --_smart-fence-color: var(--smart-fence-color, currentColor);\\n --_smart-fence-opacity: var(--smart-fence-opacity, 0.5);\\n --_contains-highlight-color: var(--contains-highlight-color, var(--_caret-color));\\n --_latex-color: var(--latex-color, hsl(var(--_hue), 80%, 40%));\\n --_correct-color: var(--correct-color, #10a000);\\n --_incorrect-color: var(--incorrect-color, #a01b00);\\n --_composition-background-color: var(--composition-background-color, #fff1c2);\\n --_composition-text-color: var(--composition-text-color, black);\\n --_composition-underline-color: var(--composition-underline-color, transparent);\\n --_tooltip-border: var(--tooltip-border, 1px solid transparent);\\n --_tooltip-border-radius: var(--tooltip-border-radius, 8px);\\n --_tooltip-background-color: var(--tooltip-background-color, #616161);\\n --_tooltip-color: var(--tooltip-color, #fff);\\n --_tooltip-box-shadow: var(--tooltip-box-shadow, 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2));\\n}\\n@media (prefers-color-scheme: dark) {\\n .ML__container {\\n --_contains-highlight-color: var(--contains-highlight-color, hsl(var(--_hue), 85%, 75%));\\n --_caret-color: var(--caret-color, hsl(var(--_hue), 65%, 55%));\\n --_selection-color: var(--selection-color, #fff);\\n --_selection-background-color: var(--selection-background-color, hsl(var(--_hue), 65%, 55%));\\n --_text-highlight-background-color: var(--text-highlight-background-color, hsla(var(--_hue), 40%, 50%, 0.6));\\n --_contains-highlight-background-color: var(--contains-highlight-background-color, hsl(var(--_hue), 5%, 34%));\\n --_latex-color: var(--primary, hsl(var(--_hue), 40%, 50%));\\n --_composition-background-color: #69571c;\\n --_composition-text-color: white;\\n --_placeholder-color: hsl(var(--_hue), 60%, 69%);\\n --_smart-fence-color: var(--smart-fence-color, #fff);\\n --_smart-fence-opacity: var(--smart-fence-opacity, 0.7);\\n }\\n}\\n@media (forced-colors: active) {\\n .ML__container {\\n --_caret-color: white;\\n --_selection-color: white;\\n --_smart-fence-color: white;\\n --_latex-color: white;\\n --_correct-color: white;\\n --_incorrect-color: white;\\n --_composition-text-color: white;\\n }\\n}\\n@media (hover: none) and (pointer: coarse) {\\n :host(:not(:focus)) .ML__container {\\n pointer-events: none;\\n }\\n}\\n/* This is the actual field content (formula) */\\n.ML__content {\\n display: flex;\\n align-items: center;\\n align-self: center;\\n position: relative;\\n overflow: hidden;\\n padding: 2px 3px 2px 1px;\\n width: 100%;\\n /* Encourage the browser to use the GPU to render the field.\\n Weirdly, this is required for prompts to be rendered correctly. \\n */\\n isolation: isolate;\\n text-shadow: var(--text-shadow);\\n}\\n.ML__content .ML__latex {\\n text-shadow: var(--text-shadow);\\n}\\n.ML__content .ML__sqrt-line {\\n box-shadow: var(--text-shadow);\\n}\\n.ML__content .ML__frac-line {\\n box-shadow: var(--text-shadow);\\n}\\n/* Container for the virtual keyboard toggle and menu toggle buttons */\\n.ML__toggles {\\n display: flex;\\n flex-direction: row;\\n align-items: flex-start;\\n gap: 0;\\n align-self: flex-start;\\n}\\n/* Vertical layout modifier */\\n.ML__toggles--vertical {\\n flex-direction: column;\\n align-items: center;\\n gap: 4px;\\n}\\n.ML__toggles--vertical .ML__virtual-keyboard-toggle,\\n.ML__toggles--vertical .ML__menu-toggle {\\n margin-right: 0;\\n}\\n.ML__virtual-keyboard-toggle,\\n.ML__menu-toggle {\\n box-sizing: border-box;\\n display: flex;\\n align-self: center;\\n align-items: center;\\n flex-shrink: 0;\\n flex-direction: column;\\n justify-content: center;\\n width: 34px;\\n height: 34px;\\n padding: 0;\\n margin-right: 4px;\\n cursor: pointer;\\n /* Avoid some weird blinking with :hover */\\n border-radius: 8px;\\n border: 1px solid transparent;\\n transition: background 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\\n color: hsl(var(--_hue), 40%, 50%);\\n fill: currentColor;\\n background: transparent;\\n}\\n.ML__virtual-keyboard-toggle:hover,\\n.ML__menu-toggle:hover {\\n background: hsla(0, 0%, 70%, 0.3);\\n color: #333;\\n fill: currentColor;\\n}\\n.ML__virtual-keyboard-toggle > span,\\n.ML__menu-toggle > span {\\n display: flex;\\n align-self: center;\\n align-items: center;\\n}\\n@media (pointer: coarse) {\\n .ML__virtual-keyboard-toggle,\\n .ML__menu-toggle {\\n min-width: 60px;\\n min-height: 60px;\\n }\\n}\\n/* The invisible element used to capture keyboard events. We're just trying\\n really hard to make sure it doesn't show. */\\n.ML__keyboard-sink {\\n display: inline-block;\\n resize: none;\\n outline: none;\\n border: none;\\n pointer-events: none;\\n /* Need these for Microsoft Edge */\\n position: fixed;\\n clip: rect(0 0 0 0);\\n /* Need this to prevent iOS Safari from auto-zooming */\\n font-size: 1em;\\n font-family: KaTeX_Main;\\n line-height: 0.5;\\n /* On Chromium, if this is 0, no keyboard events are received */\\n /* Preferred over clip */\\n clip-path: inset(50%);\\n}\\n[part='placeholder'] {\\n color: var(--neutral-400);\\n}\\n.ML__composition {\\n background: var(--_composition-background-color);\\n color: var(--_composition-text-color);\\n text-decoration: underline var(--_composition-underline-color);\\n}\\n.ML__caret {\\n display: inline-block;\\n}\\n.ML__caret::after {\\n content: '';\\n visibility: hidden;\\n width: 0;\\n display: inline-block;\\n height: 0.76em;\\n --_caret-width: clamp(2px, 0.08em, 10px);\\n border: none;\\n border-radius: calc(var(--_caret-width) / 2);\\n border-right: var(--_caret-width) solid var(--_caret-color);\\n margin-right: calc(-1 * var(--_caret-width));\\n position: relative;\\n left: -0.045em;\\n bottom: -0.05em;\\n animation: ML__caret-blink 1.05s step-end forwards infinite;\\n}\\n.ML__text-caret::after {\\n content: '';\\n visibility: hidden;\\n width: 0;\\n display: inline-block;\\n height: 0.76em;\\n --_caret-width: clamp(2px, 0.08em, 10px);\\n border: none;\\n border-radius: calc(var(--_caret-width) / 2);\\n border-right: var(--_caret-width) solid var(--_caret-color);\\n margin-right: calc(-1 * var(--_caret-width));\\n position: relative;\\n left: -0.045em;\\n bottom: -0.05em;\\n animation: ML__caret-blink 1.05s step-end forwards infinite;\\n}\\n.ML__latex-caret::after {\\n content: '';\\n visibility: hidden;\\n --_caret-width: clamp(2px, 0.08em, 10px);\\n border: none;\\n border-radius: calc(var(--_caret-width) / 2);\\n border-right: var(--_caret-width) solid var(--_latex-color);\\n margin-right: calc(-1 * var(--_caret-width));\\n position: relative;\\n left: -0.019em;\\n animation: ML__caret-blink 1.05s step-end forwards infinite;\\n}\\n.ML__focused .ML__latex-caret::after,\\n.ML__focused .ML__text-caret::after,\\n.ML__focused .ML__caret::after {\\n visibility: visible;\\n}\\n.ML__focused .ML__text {\\n background: var(--_text-highlight-background-color);\\n}\\n/* When using smartFence, the anticipated closing fence is displayed\\nwith this style */\\n.ML__smart-fence__close {\\n opacity: var(--_smart-fence-opacity);\\n color: var(--_smart-fence-color);\\n}\\n.ML__focused .ML__selected,\\n.ML__focused .ML__selected .ML__contains-caret,\\n.ML__focused .ML__selected .ML__smart-fence__close,\\n.ML__focused .ML__selected .ML__placeholder {\\n color: var(--_selection-color);\\n opacity: 1;\\n}\\n.ML__empty-line-anchor::after {\\n content: '';\\n position: absolute;\\n left: 0;\\n top: 50%;\\n transform: translateY(-50%);\\n width: 8px;\\n height: 20px;\\n border-radius: 2px;\\n background: transparent;\\n opacity: 0;\\n pointer-events: none;\\n}\\n.ML__focused .ML__empty-line-anchor.ML__selected::after {\\n background: var(--_selection-background-color);\\n opacity: 1;\\n}\\n.ML__selection {\\n box-sizing: border-box;\\n background: transparent;\\n}\\n:host(:focus) .ML__selection {\\n background: var(--_selection-background-color) !important;\\n}\\n.ML__contains-caret.ML__close,\\n.ML__contains-caret.ML__open,\\n.ML__contains-caret > .ML__close,\\n.ML__contains-caret > .ML__open,\\n.ML__contains-caret .ML__sqrt-sign,\\n.ML__contains-caret .ML__sqrt-line {\\n color: var(--_contains-highlight-color);\\n}\\n.ML__contains-highlight {\\n box-sizing: border-box;\\n background: transparent;\\n}\\n.ML__focused .ML__contains-highlight {\\n background: var(--_contains-highlight-background-color);\\n}\\n.ML__raw-latex {\\n font-family: 'Berkeley Mono', 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;\\n font-weight: 400;\\n font-size: 0.8em;\\n letter-spacing: -0.05em;\\n color: var(--_latex-color);\\n}\\n.ML__suggestion {\\n color: var(--neutral-500);\\n}\\n.ML__virtual-keyboard-toggle.is-visible.is-pressed:hover {\\n background: hsl(var(--_hue), 25%, 35%);\\n color: #fafafa;\\n fill: currentColor;\\n}\\n.ML__virtual-keyboard-toggle.is-pressed,\\n.ML__virtual-keyboard-toggle.is-active:hover,\\n.ML__virtual-keyboard-toggle.is-active {\\n background: hsl(var(--_hue), 25%, 35%);\\n color: #fafafa;\\n fill: currentColor;\\n}\\n/* Add an attribute 'data-tooltip' to automatically show a\\n tooltip over a element on hover.\\n*/\\n[data-tooltip] {\\n position: relative;\\n}\\n[data-tooltip]::after {\\n content: attr(data-tooltip);\\n position: absolute;\\n display: block;\\n z-index: 2;\\n pointer-events: none;\\n right: auto;\\n top: calc(-100% - 4px);\\n width: max-content;\\n max-width: 200px;\\n padding: 8px 8px;\\n border-radius: 4px;\\n background: #616161;\\n color: #fff;\\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\\n text-align: center;\\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\\n font-style: normal;\\n font-weight: 400;\\n font-size: 13px;\\n /* Phone */\\n opacity: 0;\\n transform: scale(0.5);\\n}\\n@media only screen and (max-width: 767px) {\\n [data-tooltip]::after {\\n padding: 8px 16px;\\n font-size: 16px;\\n }\\n}\\nmenu [data-tooltip]::after {\\n left: 100%;\\n top: 0%;\\n}\\nmenu .ML__base {\\n cursor: default;\\n}\\n/** Don't display if we're tracking, i.e. have the pointer down */\\n.tracking [data-tooltip]:hover::after {\\n /* Use visibility, not display. Display will remove the after from the DOM, and the override below will not work */\\n visibility: hidden;\\n}\\n/** But do display if tracking and inside a menu */\\n.tracking menu li[data-tooltip]:hover::after,\\n[data-tooltip]:hover::after {\\n visibility: visible;\\n opacity: 1;\\n transform: scale(1);\\n transition-property: opacity, scale;\\n transition-duration: 0.15s;\\n transition-delay: 1s;\\n transition-timing-function: cubic-bezier(0.4, 0, 1, 1);\\n}\\n.ML__prompt {\\n border-radius: 2px;\\n}\\n.ML__editablePromptBox {\\n outline: 1px solid #acacac;\\n border-radius: 2px;\\n z-index: -1;\\n}\\n.ML__focused .ML__focusedPromptBox {\\n outline: highlight auto 1px;\\n}\\n.ML__lockedPromptBox {\\n background-color: rgba(142, 142, 141, 0.4);\\n z-index: -1;\\n}\\n.ML__correctPromptBox {\\n outline: 1px solid var(--_correct-color);\\n box-shadow: 0 0 5px var(--_correct-color);\\n}\\n.ML__incorrectPromptBox {\\n outline: 1px solid var(--_incorrect-color);\\n box-shadow: 0 0 5px var(--_incorrect-color);\\n}\\n.variant-submenu {\\n display: flex;\\n flex-direction: column;\\n padding: 8px;\\n}\\n.variant-submenu [part='menu-item'].ML__xl {\\n font-size: 2rem;\\n text-align: center;\\n margin: 0;\\n}\\n.ML__center-menu .label {\\n text-align: center;\\n}\\n.insert-matrix-submenu {\\n /* Grid doesn't work on Safari */\\n --_menu-item-size: 25px;\\n width: calc(5 * var(--_menu-item-size));\\n display: flex;\\n flex-wrap: wrap;\\n padding: 8px;\\n align-content: center;\\n justify-content: center;\\n}\\n.insert-matrix-submenu [part='menu-item'] {\\n width: var(--_menu-item-size);\\n height: var(--_menu-item-size);\\n font-size: 21px;\\n border: none;\\n border-radius: 0;\\n line-height: 21px;\\n text-align: center;\\n padding: 0;\\n margin: 0;\\n}\\n.border-submenu [part='menu-item'] {\\n font-size: 2rem;\\n line-height: 1.2;\\n text-align: center;\\n}\\n.swatches-submenu {\\n --_swatch-size: 2rem;\\n --_columns: 4;\\n display: flex;\\n flex-flow: wrap;\\n padding: 8px;\\n max-width: calc(var(--_columns) * (var(--_swatch-size) + 18px) + 16px);\\n box-sizing: border-box;\\n}\\n.menu-swatch {\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n box-sizing: border-box;\\n width: fit-content;\\n height: fit-content;\\n margin: 2px;\\n padding: 0;\\n background: var(--neutral-200);\\n}\\n.menu-swatch > .label {\\n padding: 0;\\n margin: 0;\\n line-height: 0;\\n}\\n.menu-swatch > .label > span {\\n display: inline-block;\\n margin: 6px;\\n min-width: var(--_swatch-size);\\n min-height: var(--_swatch-size);\\n border-radius: 50%;\\n}\\n.menu-swatch.active {\\n background: var(--neutral-100);\\n z-index: 1;\\n scale: 1.4;\\n}\\n.menu-swatch.active > .label > span {\\n border-radius: 2px;\\n}\\n.menu-swatch .ui-checkmark,\\n.menu-swatch .ui-mixedmark {\\n position: absolute;\\n margin: 0;\\n padding: 0;\\n color: white;\\n}\\n.menu-swatch.dark-contrast .ui-checkmark,\\n.menu-swatch.dark-contrast .ui-mixedmark {\\n color: #000;\\n}\\n.ML__insert-template {\\n font-size: 1em;\\n}\\n.ML__insert-label {\\n opacity: 0.5;\\n margin-left: 2ex;\\n}\\n\", Wc = \".ML__container {\\n min-height: auto !important;\\n --_hue: var(--hue, 212);\\n --_placeholder-color: var(--placeholder-color, hsl(var(--_hue), 40%, 49%));\\n --_placeholder-opacity: var(--placeholder-opacity, 0.4);\\n --_text-font-family: var(--text-font-family, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif);\\n}\\n.ML__sr-only {\\n position: absolute;\\n width: 1px;\\n height: 1px;\\n margin: -1px;\\n padding: 0;\\n overflow: hidden;\\n clip: rect(0, 0, 0, 0);\\n clip-path: inset(50%);\\n white-space: nowrap;\\n border: 0;\\n}\\n.ML__is-inline {\\n display: inline-block;\\n}\\n.ML__base {\\n visibility: inherit;\\n display: inline-block;\\n position: relative;\\n cursor: text;\\n padding: 0;\\n margin: 0;\\n box-sizing: content-box;\\n border: 0;\\n outline: 0;\\n vertical-align: baseline;\\n font-weight: inherit;\\n font-family: inherit;\\n font-style: inherit;\\n text-decoration: none;\\n width: min-content;\\n}\\n.ML__strut,\\n.ML__strut--bottom {\\n display: inline-block;\\n min-height: 0.5em;\\n}\\n.ML__small-delim {\\n font-family: KaTeX_Main;\\n}\\n/* Text mode */\\n.ML__text {\\n font-family: var(--_text-font-family);\\n white-space: pre;\\n}\\n/* Use cmr for 'math upright' */\\n.ML__cmr {\\n font-family: KaTeX_Main;\\n font-style: normal;\\n}\\n.ML__mathit {\\n font-family: KaTeX_Math;\\n /* The KaTeX_Math font is italic by default, so the font-style below is only \\n useful when a fallback font is used\\n */\\n font-style: italic;\\n}\\n.ML__mathbf {\\n font-family: KaTeX_Main;\\n font-weight: bold;\\n}\\n/* Lowercase greek symbols should stick to math font when \\\\mathbf is applied \\n to match TeX idiosyncratic behavior */\\n.lcGreek.ML__mathbf {\\n font-family: KaTeX_Math;\\n}\\n.ML__mathbfit {\\n font-family: KaTeX_Math;\\n font-weight: bold;\\n font-style: italic;\\n}\\n.ML__ams {\\n font-family: KaTeX_AMS;\\n}\\n/* Blackboard */\\n.ML__bb {\\n font-family: KaTeX_AMS;\\n}\\n.ML__cal {\\n font-family: KaTeX_Caligraphic;\\n}\\n.ML__frak {\\n font-family: KaTeX_Fraktur;\\n}\\n.ML__tt {\\n font-family: KaTeX_Typewriter;\\n}\\n.ML__script {\\n font-family: KaTeX_Script;\\n}\\n.ML__sans {\\n font-family: KaTeX_SansSerif;\\n}\\n.ML__series_ul {\\n font-weight: 100;\\n}\\n.ML__series_el {\\n font-weight: 100;\\n}\\n.ML__series_l {\\n font-weight: 200;\\n}\\n.ML__series_sl {\\n font-weight: 300;\\n}\\n.ML__series_sb {\\n font-weight: 500;\\n}\\n.ML__bold {\\n font-weight: 700;\\n}\\n.ML__series_eb {\\n font-weight: 800;\\n}\\n.ML__series_ub {\\n font-weight: 900;\\n}\\n.ML__series_uc {\\n font-stretch: ultra-condensed;\\n}\\n.ML__series_ec {\\n font-stretch: extra-condensed;\\n}\\n.ML__series_c {\\n font-stretch: condensed;\\n}\\n.ML__series_sc {\\n font-stretch: semi-condensed;\\n}\\n.ML__series_sx {\\n font-stretch: semi-expanded;\\n}\\n.ML__series_x {\\n font-stretch: expanded;\\n}\\n.ML__series_ex {\\n font-stretch: extra-expanded;\\n}\\n.ML__series_ux {\\n font-stretch: ultra-expanded;\\n}\\n.ML__it {\\n font-style: italic;\\n}\\n.ML__shape_ol {\\n -webkit-text-stroke: 1px black;\\n text-stroke: 1px black;\\n color: transparent;\\n}\\n.ML__shape_sc {\\n font-variant: small-caps;\\n}\\n.ML__shape_sl {\\n font-style: oblique;\\n}\\n/* First level emphasis */\\n.ML__emph {\\n color: #bc2612;\\n}\\n/* Second level emphasis */\\n.ML__emph .ML__emph {\\n color: #0c7f99;\\n}\\n.ML__highlight {\\n color: #007cb2;\\n background: #edd1b0;\\n}\\n.ML__center {\\n text-align: center;\\n}\\n.ML__left {\\n text-align: left;\\n}\\n.ML__right {\\n text-align: right;\\n}\\n.ML__label_padding {\\n padding: 0 0.5em;\\n}\\n.ML__frac-line {\\n width: 100%;\\n min-height: 1px;\\n}\\n.ML__frac-line:after {\\n content: '';\\n display: block;\\n margin-top: max(-1px, -0.04em);\\n min-height: max(1px, 0.04em);\\n /* Ensure the line is visible when printing even if \\\"turn off background images\\\" is on*/\\n -webkit-print-color-adjust: exact;\\n print-color-adjust: exact;\\n /* There's a bug since Chrome 62 where \\n sub-pixel border lines don't draw at some zoom \\n levels (110%, 90%). \\n Setting the min-height used to work around it, but that workaround\\n broke in Chrome 84 or so.\\n Setting the background (and the min-height) seems to work for now.\\n */\\n background: currentColor;\\n box-sizing: content-box;\\n /* Vuetify sets the box-sizing to inherit \\n causes the fraction line to not draw at all sizes (see #26) */\\n /* On some versions of Firefox on Windows, the line fails to \\n draw at some zoom levels, but setting the transform triggers\\n the hardware accelerated path, which works */\\n transform: translate(0, 0);\\n forced-color-adjust: preserve-parent-color;\\n}\\n@media (forced-colors: active) {\\n .ML__frac-line {\\n min-height: 0px;\\n }\\n}\\n.ML__sqrt {\\n display: inline-block;\\n}\\n.ML__sqrt-sign {\\n display: inline-block;\\n position: relative;\\n}\\n.ML__sqrt-line {\\n display: inline-block;\\n height: max(1px, 0.04em);\\n width: 100%;\\n}\\n.ML__sqrt-line:before {\\n content: '';\\n display: block;\\n margin-top: min(-1px, -0.04em);\\n min-height: max(1px, 0.04em);\\n /* Ensure the line is visible when printing even if \\\"turn off background images\\\" is on*/\\n -webkit-print-color-adjust: exact;\\n print-color-adjust: exact;\\n background: currentColor;\\n /* On some versions of Firefox on Windows, the line fails to \\n draw at some zoom levels, but setting the transform triggers\\n the hardware accelerated path, which works */\\n transform: translate(0, 0);\\n forced-color-adjust: preserve-parent-color;\\n}\\n@media (forced-colors: active) {\\n .ML__sqrt-line:after {\\n background: white !important;\\n }\\n}\\n.ML__sqrt-line:after {\\n border-bottom-width: 1px;\\n content: ' ';\\n display: block;\\n margin-top: -0.1em;\\n}\\n.ML__sqrt-index {\\n margin-left: 0.27777778em;\\n margin-right: -0.55555556em;\\n}\\n.ML__delim-size1 {\\n font-family: KaTeX_Size1;\\n}\\n.ML__delim-size2 {\\n font-family: KaTeX_Size2;\\n}\\n.ML__delim-size3 {\\n font-family: KaTeX_Size3;\\n}\\n.ML__delim-size4 {\\n font-family: KaTeX_Size4;\\n}\\n.ML__delim-mult .delim-size1 > span {\\n font-family: KaTeX_Size1;\\n}\\n.ML__delim-mult .delim-size4 > span {\\n font-family: KaTeX_Size4;\\n}\\n.ML__accent-body {\\n font-family: KaTeX_Main;\\n}\\n.ML__accent-combining-char {\\n position: relative;\\n left: 0.24em;\\n}\\n/** The markup for a LaTeX formula, either in an editable mathfield or \\n in a static display.\\n*/\\n.ML__latex {\\n display: inline-block;\\n direction: ltr;\\n text-align: left;\\n text-indent: 0;\\n text-rendering: auto;\\n font-family: inherit;\\n font-style: normal;\\n font-size-adjust: none;\\n font-stretch: normal;\\n font-variant-caps: normal;\\n letter-spacing: normal;\\n line-height: 1.2;\\n word-wrap: normal;\\n word-spacing: normal;\\n white-space: nowrap;\\n text-shadow: none;\\n -webkit-user-select: none;\\n user-select: none;\\n width: min-content;\\n forced-color-adjust: preserve-parent-color;\\n}\\n.ML__latex .style-wrap {\\n position: relative;\\n}\\n.ML__latex .ML__mfrac {\\n display: inline-block;\\n}\\n.ML__latex .ML__left-right {\\n display: inline-block;\\n}\\n.ML__latex .ML__vlist-t {\\n display: inline-table;\\n table-layout: fixed;\\n border-collapse: collapse;\\n}\\n.ML__latex .ML__vlist-r {\\n display: table-row;\\n}\\n.ML__latex .ML__vlist {\\n display: table-cell;\\n vertical-align: bottom;\\n position: relative;\\n}\\n.ML__latex .ML__vlist > span {\\n display: block;\\n height: 0;\\n position: relative;\\n}\\n.ML__latex .ML__vlist > span > span {\\n display: inline-block;\\n}\\n.ML__latex .ML__vlist > span > .ML__pstrut {\\n overflow: hidden;\\n width: 0;\\n}\\n.ML__latex .ML__vlist-t2 {\\n margin-right: -2px;\\n}\\n.ML__latex .ML__vlist-s {\\n display: table-cell;\\n vertical-align: bottom;\\n font-size: 1px;\\n width: 2px;\\n min-width: 2px;\\n}\\n.ML__latex .ML__msubsup {\\n text-align: left;\\n}\\n.ML__latex .ML__negativethinspace {\\n display: inline-block;\\n margin-left: -0.16667em;\\n height: 0.71em;\\n}\\n.ML__latex .ML__thinspace {\\n display: inline-block;\\n width: 0.16667em;\\n height: 0.71em;\\n}\\n.ML__latex .ML__mediumspace {\\n display: inline-block;\\n width: 0.22222em;\\n height: 0.71em;\\n}\\n.ML__latex .ML__thickspace {\\n display: inline-block;\\n width: 0.27778em;\\n height: 0.71em;\\n}\\n.ML__latex .ML__enspace {\\n display: inline-block;\\n width: 0.5em;\\n height: 0.71em;\\n}\\n.ML__latex .ML__quad {\\n display: inline-block;\\n width: 1em;\\n height: 0.71em;\\n}\\n.ML__latex .ML__qquad {\\n display: inline-block;\\n width: 2em;\\n height: 0.71em;\\n}\\n.ML__latex .ML__llap,\\n.ML__latex .ML__rlap {\\n width: 0;\\n position: relative;\\n display: inline-block;\\n}\\n.ML__latex .ML__llap > .ML__inner,\\n.ML__latex .ML__rlap > .ML__inner {\\n position: absolute;\\n}\\n.ML__latex .ML__llap > .ML__fix,\\n.ML__latex .ML__rlap > .ML__fix {\\n display: inline-block;\\n}\\n.ML__latex .ML__llap > .ML__inner {\\n right: 0;\\n}\\n.ML__latex .ML__rlap > .ML__inner {\\n left: 0;\\n}\\n.ML__latex .ML__rule {\\n display: inline-block;\\n border: solid 0;\\n position: relative;\\n box-sizing: border-box;\\n}\\n.ML__latex .overline .overline-line,\\n.ML__latex .underline .underline-line {\\n width: 100%;\\n}\\n.ML__latex .overline .overline-line:before,\\n.ML__latex .underline .underline-line:before {\\n content: '';\\n border-bottom-style: solid;\\n border-bottom-width: max(1px, 0.04em);\\n -webkit-print-color-adjust: exact;\\n print-color-adjust: exact;\\n display: block;\\n}\\n.ML__latex .overline .overline-line:after,\\n.ML__latex .underline .underline-line:after {\\n border-bottom-style: solid;\\n border-bottom-width: max(1px, 0.04em);\\n -webkit-print-color-adjust: exact;\\n print-color-adjust: exact;\\n content: '';\\n display: block;\\n margin-top: -1px;\\n}\\n.ML__latex .ML__stretchy {\\n display: block;\\n position: absolute;\\n width: 100%;\\n left: 0;\\n overflow: hidden;\\n}\\n.ML__latex .ML__stretchy:before,\\n.ML__latex .ML__stretchy:after {\\n content: '';\\n}\\n.ML__latex .ML__stretchy svg {\\n display: block;\\n position: absolute;\\n width: 100%;\\n height: inherit;\\n fill: currentColor;\\n stroke: currentColor;\\n fill-rule: nonzero;\\n fill-opacity: 1;\\n stroke-width: 1;\\n stroke-linecap: butt;\\n stroke-linejoin: miter;\\n stroke-miterlimit: 4;\\n stroke-dasharray: none;\\n stroke-dashoffset: 0;\\n stroke-opacity: 1;\\n}\\n.ML__latex .slice-1-of-2 {\\n display: inline-flex;\\n position: absolute;\\n left: 0;\\n width: 50.2%;\\n overflow: hidden;\\n}\\n.ML__latex .slice-2-of-2 {\\n display: inline-flex;\\n position: absolute;\\n right: 0;\\n width: 50.2%;\\n overflow: hidden;\\n}\\n.ML__latex .slice-1-of-3 {\\n display: inline-flex;\\n position: absolute;\\n left: 0;\\n width: 25.1%;\\n overflow: hidden;\\n}\\n.ML__latex .slice-2-of-3 {\\n display: inline-flex;\\n position: absolute;\\n left: 25%;\\n width: 50%;\\n overflow: hidden;\\n}\\n.ML__latex .slice-3-of-3 {\\n display: inline-flex;\\n position: absolute;\\n right: 0;\\n width: 25.1%;\\n overflow: hidden;\\n}\\n.ML__latex .slice-1-of-1 {\\n display: inline-flex;\\n position: absolute;\\n width: 100%;\\n left: 0;\\n overflow: hidden;\\n}\\n.ML__latex .ML__nulldelimiter {\\n display: inline-block;\\n}\\n.ML__latex .ML__op-group {\\n display: inline-block;\\n}\\n.ML__latex .ML__op-symbol {\\n position: relative;\\n}\\n.ML__latex .ML__op-symbol.ML__small-op {\\n font-family: KaTeX_Size1;\\n}\\n.ML__latex .ML__op-symbol.ML__large-op {\\n font-family: KaTeX_Size2;\\n}\\n.ML__latex:has(.ML__center_environment),\\n.ML__latex:has(.ML__multiline_environment),\\n.ML__latex:has(.ML__align_environment),\\n.ML__latex:has(.ML__eqnarray_environment),\\n.ML__latex:has(.ML__gather_environment) {\\n width: 100%;\\n}\\n.ML__latex .ML__multiline_environment {\\n display: inline-flex;\\n width: 100%;\\n}\\n.ML__latex .ML__center_environment {\\n display: inline-flex;\\n width: 100%;\\n justify-content: center;\\n}\\n.ML__latex .ML__align_environment,\\n.ML__latex .ML__eqnarray_environment,\\n.ML__latex .ML__gather_environment {\\n display: inline-block;\\n}\\n.ML__latex .ML__mtable .ML__vertical-separator {\\n display: inline-block;\\n min-width: 1px;\\n box-sizing: border-box;\\n}\\n.ML__latex .ML__mtable .ML__arraycolsep {\\n display: inline-block;\\n}\\n.ML__latex .ML__mtable .col-align-m > .ML__vlist-t {\\n text-align: center;\\n}\\n.ML__latex .ML__mtable .col-align-c > .ML__vlist-t {\\n text-align: center;\\n}\\n.ML__latex .ML__mtable .col-align-l > .ML__vlist-t {\\n text-align: left;\\n}\\n.ML__latex .ML__mtable .col-align-r > .ML__vlist-t {\\n text-align: right;\\n}\\n[data-href] {\\n cursor: pointer;\\n}\\n.ML__error {\\n display: inline-block;\\n background-image: radial-gradient(ellipse at center, hsl(341, 100%, 40%), rgba(0, 0, 0, 0) 70%);\\n background-color: hsla(341, 100%, 40%, 0.1);\\n background-repeat: repeat-x;\\n background-size: 3px 3px;\\n padding-bottom: 3px;\\n background-position: 0 100%;\\n}\\n.ML__error > .ML__error {\\n background: transparent;\\n padding: 0;\\n}\\n.ML__placeholder {\\n color: var(--_placeholder-color);\\n opacity: var(--_placeholder-opacity);\\n padding-left: 0.4ex;\\n padding-right: 0.4ex;\\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\\n}\\n.ML__notation {\\n position: absolute;\\n box-sizing: border-box;\\n line-height: 0;\\n}\\n/* This class is used to implement the `\\\\mathtip` and `\\\\texttip` commands\\n For UI elements, see `[data-ML__tooltip]`\\n*/\\n.ML__tooltip-container {\\n position: relative;\\n transform: scale(0);\\n}\\n.ML__tooltip-container .ML__tooltip-content {\\n position: fixed;\\n display: inline-table;\\n visibility: hidden;\\n z-index: 2;\\n width: max-content;\\n max-width: 400px;\\n padding: 12px 12px;\\n border: var(--_tooltip-border);\\n border-radius: var(--_tooltip-border-radius);\\n background: var(--_tooltip-background-color);\\n --_selection-color: var(--_tooltip-color);\\n color: var(--_tooltip-color);\\n box-shadow: var(--_tooltip-box-shadow);\\n opacity: 0;\\n transition: opacity 0.15s cubic-bezier(0.4, 0, 1, 1);\\n}\\n.ML__tooltip-container .ML__tooltip-content .ML__text {\\n white-space: normal;\\n}\\n.ML__tooltip-container .ML__tooltip-content .ML__base {\\n display: contents;\\n}\\n.ML__tooltip-container:hover .ML__tooltip-content {\\n visibility: visible;\\n opacity: 1;\\n font-size: 0.75em;\\n transform: scale(1) translate(0, 3em);\\n}\\n.ML__bg {\\n background-color: transparent !important;\\n}\\n.ML__bg::before {\\n content: '';\\n position: absolute;\\n top: 0;\\n left: 0;\\n right: 0;\\n bottom: 0;\\n background-color: var(--bg-color);\\n z-index: -1;\\n box-sizing: border-box;\\n}\\n\", Gc = \"#mathlive-environment-popover.is-visible {\\n visibility: visible;\\n}\\n#mathlive-environment-popover {\\n --_environment-panel-height: var(--environment-panel-height, 70px);\\n --_accent-color: var(--accent-color, #aaa);\\n --_background: var(--environment-panel-background, #fff);\\n --_button-background: var(--environment-panel-button-background, white);\\n --_button-background-hover: var(--environment-panel-button-background-hover, #f5f5f7);\\n --_button-background-active: var(--environment-panel-button-background-active, #f5f5f7);\\n --_button-text: var(--environment-panel-button-text, #e3e4e8);\\n position: absolute;\\n width: calc(var(--_environment-panel-height) * 2);\\n height: var(--_environment-panel-height);\\n border-radius: 4px;\\n border: 1.5px solid var(--_accent-color);\\n background-color: var(--_background);\\n box-shadow: 0 0 30px 0 var(--environment-shadow, rgba(0, 0, 0, 0.4));\\n pointer-events: all;\\n visibility: hidden;\\n}\\n#mathlive-environment-popover .MLEP__array-buttons {\\n height: calc(var(--_environment-panel-height) * 5/4);\\n width: calc(var(--_environment-panel-height) * 5/4);\\n margin-left: calc(0px - var(--_environment-panel-height) * 0.16);\\n margin-top: calc(0px - var(--_environment-panel-height) * 0.19);\\n}\\n#mathlive-environment-popover .MLEP__array-buttons .font {\\n fill: white;\\n}\\n#mathlive-environment-popover .MLEP__array-buttons circle {\\n fill: #7f7f7f;\\n transition: fill 300ms;\\n}\\n#mathlive-environment-popover .MLEP__array-buttons .MLEP__array-insert-background {\\n fill-opacity: 1;\\n fill: var(--_background);\\n stroke: var(--_accent-color);\\n stroke-width: 3px;\\n}\\n#mathlive-environment-popover .MLEP__array-buttons line {\\n stroke: var(--_accent-color);\\n stroke-opacity: 0;\\n stroke-width: 40;\\n pointer-events: none;\\n transition: stroke-opacity 300ms;\\n stroke-linecap: round;\\n}\\n#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover circle {\\n fill: var(--_accent-color);\\n}\\n#mathlive-environment-popover .MLEP__array-buttons g[data-command]:hover line {\\n stroke-opacity: 1;\\n}\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls {\\n height: 100%;\\n width: 50%;\\n}\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options {\\n width: var(--_environment-panel-height);\\n height: var(--_environment-panel-height);\\n display: flex;\\n flex-wrap: wrap;\\n flex-direction: row;\\n justify-content: space-around;\\n}\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg {\\n pointer-events: all;\\n margin-top: 2px;\\n width: calc(var(--_environment-panel-height) / 3 * 28 / 24);\\n height: calc(var(--_environment-panel-height) / 3 - 2px);\\n border-radius: calc(var(--_environment-panel-height) / 25);\\n background-color: var(--_button-background);\\n}\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg:hover {\\n background-color: var(--_button-background-hover);\\n}\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path,\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg line {\\n stroke: var(--_button-text);\\n stroke-width: 2;\\n stroke-linecap: round;\\n}\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg rect,\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg path {\\n fill-opacity: 0;\\n}\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active {\\n pointer-events: none;\\n background-color: var(--_button-background-active);\\n}\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active path,\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active line {\\n stroke: var(--_accent-color);\\n}\\n#mathlive-environment-popover .MLEP__environment-delimiter-controls .MLEP__array-delimiter-options svg.active circle {\\n fill: var(--_accent-color);\\n}\\n\", Kc = \"/* The element that display info while in latex mode */\\n#mathlive-suggestion-popover {\\n --_suggestion-zindex: var(--suggestion-zindex, 100);\\n background-color: rgba(97, 97, 97);\\n color: #fff;\\n text-align: center;\\n border-radius: 8px;\\n position: fixed;\\n z-index: var(--_suggestion-zindex);\\n display: none;\\n flex-direction: column;\\n justify-content: center;\\n box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);\\n}\\n#mathlive-suggestion-popover.top-tip::after {\\n content: '';\\n position: absolute;\\n top: -15px;\\n left: calc(50% - 15px);\\n width: 0;\\n height: 0;\\n border-left: 15px solid transparent;\\n border-right: 15px solid transparent;\\n border-bottom: 15px solid rgba(97, 97, 97);\\n font-size: 1rem;\\n}\\n#mathlive-suggestion-popover.bottom-tip::after {\\n content: '';\\n position: absolute;\\n bottom: -15px;\\n left: calc(50% - 15px);\\n width: 0;\\n height: 0;\\n border-left: 15px solid transparent;\\n border-right: 15px solid transparent;\\n border-top: 15px solid rgba(97, 97, 97);\\n font-size: 1rem;\\n}\\n#mathlive-suggestion-popover.is-animated {\\n transition: all 0.2s cubic-bezier(0.64, 0.09, 0.08, 1);\\n animation: ML__fade-in cubic-bezier(0, 0, 0.2, 1) 0.15s;\\n}\\n#mathlive-suggestion-popover.is-visible {\\n display: flex;\\n}\\n@keyframes ML__fade-in {\\n from {\\n opacity: 0;\\n }\\n to {\\n opacity: 1;\\n }\\n}\\n/* The wrapper class for the entire content of the popover panel */\\n#mathlive-suggestion-popover ul {\\n display: flex;\\n flex-flow: column;\\n list-style: none;\\n margin: 0;\\n padding: 0;\\n align-items: flex-start;\\n max-height: 400px;\\n overflow-y: auto;\\n}\\n#mathlive-suggestion-popover li {\\n display: flex;\\n flex-direction: row;\\n justify-content: space-between;\\n margin: 8px;\\n padding: 8px;\\n width: calc(100% - 16px - 16px);\\n column-gap: 1em;\\n border-radius: 8px;\\n cursor: pointer;\\n /* Since the content can be clicked on, provide feedback on hover */\\n}\\n#mathlive-suggestion-popover li a {\\n color: #5ea6fd;\\n padding-top: 0.3em;\\n margin-top: 0.4em;\\n display: block;\\n}\\n#mathlive-suggestion-popover li a:hover {\\n color: #5ea6fd;\\n text-decoration: underline;\\n}\\n#mathlive-suggestion-popover li:hover,\\n#mathlive-suggestion-popover li.is-pressed,\\n#mathlive-suggestion-popover li.is-active {\\n background: rgba(255, 255, 255, 0.1);\\n}\\n/* The command inside a popover (inside a #mathlive-suggestion-popover) */\\n.ML__popover__command {\\n font-size: 1.6rem;\\n font-family: KaTeX_Main;\\n}\\n.ML__popover__current {\\n background: #5ea6fd;\\n color: #fff;\\n}\\n.ML__popover__latex {\\n font-family: 'IBM Plex Mono', 'Source Code Pro', Consolas, 'Roboto Mono', Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Courier, monospace;\\n align-self: center;\\n}\\n/* The keyboard shortcuts for a symbol as displayed in the popover */\\n.ML__popover__keybinding {\\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\\n font-size: 0.8em;\\n opacity: 0.7;\\n}\\n/* Style for the character that joins the modifiers of a keyboard shortcut \\n(usually a \\\"+\\\" sign)*/\\n.ML__shortcut-join {\\n opacity: 0.5;\\n}\\n\", qc = \"/* The element that displays the keys as the user type them */\\n#mathlive-keystroke-caption-panel {\\n visibility: hidden;\\n /*min-width: 160px;*/\\n /*background-color: rgba(97, 97, 200, .95);*/\\n background: var(--secondary, hsl(var(--_hue), 19%, 26%));\\n border-color: var(--secondary-border, hsl(0, 0%, 91%));\\n box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);\\n text-align: center;\\n border-radius: 6px;\\n padding: 16px;\\n position: absolute;\\n z-index: 1;\\n display: flex;\\n flex-direction: row-reverse;\\n justify-content: center;\\n --keystroke: white;\\n --on-keystroke: #555;\\n --keystroke-border: #f7f7f7;\\n}\\n@media (prefers-color-scheme: dark) {\\n body:not([theme='light']) #mathlive-keystroke-caption-panel {\\n --keystroke: hsl(var(--_hue), 50%, 30%);\\n --on-keystroke: hsl(0, 0%, 98%);\\n --keystroke-border: hsl(var(--_hue), 50%, 25%);\\n }\\n}\\nbody[theme='dark'] #mathlive-keystroke-caption-panel {\\n --keystroke: hsl(var(--_hue), 50%, 30%);\\n --on-keystroke: hsl(0, 0%, 98%);\\n --keystroke-border: hsl(var(--_hue), 50%, 25%);\\n}\\n#mathlive-keystroke-caption-panel > span {\\n min-width: 14px;\\n /*height: 8px;*/\\n margin: 0 8px 0 0;\\n padding: 4px;\\n background-color: var(--keystroke);\\n color: var(--on-keystroke);\\n fill: currentColor;\\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\\n font-size: 1em;\\n border-radius: 6px;\\n border: 2px solid var(--keystroke-border);\\n /*box-shadow: 0 7px 14px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);*/\\n}\\n\", Jc = \".ML__keyboard {\\n --_keyboard-height: 0;\\n --_keyboard-zindex: var(--keyboard-zindex, 105);\\n --_accent-color: var(--keyboard-accent-color, #0c75d8);\\n --_background: var(--keyboard-background, #cacfd7);\\n --_border: var(--keyboard-border, #ddd);\\n --_padding-horizontal: var(--keyboard-padding-horizontal, 0px);\\n --_padding-top: var(--keyboard-padding-top, 5px);\\n --_padding-bottom: var(--keyboard-padding-bottom, 0px);\\n --_row-padding-left: var(--keyboard-row-padding-left, 0px);\\n --_row-padding-right: var(--keyboard-row-padding-right, 0px);\\n --_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);\\n --_toolbar-text-active: var(--keyboard-toolbar-text-active, var(--_accent-color));\\n --_toolbar-background: var(--keyboard-toolbar-background, transparent);\\n --_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);\\n --_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);\\n --_toolbar-font-size: var(--keyboard-toolbar-font-size, '135%');\\n --_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);\\n --_keycap-background: var(--keycap-background, #f0f0f0);\\n --_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);\\n --_keycap-background-active: var(--keycap-background-active, var(--_accent-color));\\n --_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));\\n --_keycap-border: var(--keycap-border, #e5e6e9);\\n --_keycap-border-bottom: var(--keycap-border-bottom, #8d8f92);\\n --_keycap-text: var(--keycap-text, #000);\\n --_keycap-text-active: var(--keycap-text-active, #fff);\\n --_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));\\n --_keycap-text-pressed: var(--keycap-text-pressed, #fff);\\n --_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));\\n --_keycap-primary-background: var(--keycap-primary-background, var(--_accent-color));\\n --_keycap-primary-text: var(--keycap-primary-text, #ddd);\\n --_keycap-primary-background-hover: var(--keycap-primary-background-hover, #0d80f2);\\n --_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);\\n --_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);\\n --_keycap-secondary-text: var(--keycap-secondary-text, #060707);\\n --_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);\\n --_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);\\n --_keycap-height: var(--keycap-height, 60px);\\n /* Keycap width (incl. margin) */\\n --_keycap-max-width: var(--keycap-max-width, 100px);\\n --_keycap-gap: var(--keycap-gap, 8px);\\n --_keycap-font-size: var(--keycap-font-size, clamp(16px, 4cqw, 24px));\\n --_keycap-small-font-size: var(--keycap-small-font-size, calc(var(--keycap-font-size) * 0.8));\\n --_keycap-extra-small-font-size: var(--keycap-extra-small-font-size, calc(var(--keycap-font-size) / 1.42));\\n --_variant-panel-background: var(--variant-panel-background, #f0f0f0);\\n --_variant-keycap-text: var(--variant-keycap-text, var(--_keycap-text));\\n --_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));\\n --_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));\\n --_variant-keycap-length: var(--variant-keycap-length, 70px);\\n --_variant-keycap-font-size: var(--variant-keycap-font-size, 30px);\\n --_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 12px);\\n --_keycap-shift-font-size: var(--keycap-shift-font-size, 16px);\\n --_keycap-shift-color: var(--keycap-shift-color, var(--_accent-color));\\n --_box-placeholder-color: var(--box-placeholder-color, var(--_accent-color));\\n --_box-placeholder-pressed-color: var(--box-placeholder-pressed-color, var(--keycap-text-pressed));\\n --_keycap-glyph-size: var(--keycap-glyph-size, 20px);\\n --_keycap-glyph-size-lg: var(--keycap-glyph-size-lg, 24px);\\n --_keycap-glyph-size-xl: var(--keycap-glyph-size-xl, 50px);\\n}\\n.is-math-mode .MLK__rows .if-text-mode,\\n.is-text-mode .MLK__rows .if-math-mode {\\n display: none;\\n}\\n.if-can-undo,\\n.if-can-redo,\\n.if-can-copy,\\n.if-can-cut,\\n.if-can-paste {\\n opacity: 0.4;\\n pointer-events: none;\\n}\\n.can-undo .if-can-undo,\\n.can-redo .if-can-redo,\\n.can-copy .if-can-copy,\\n.can-cut .if-can-cut,\\n.can-paste .if-can-paste {\\n opacity: 1;\\n pointer-events: all;\\n}\\nbody > .ML__keyboard {\\n position: fixed;\\n --_padding-bottom: calc(var(--keyboard-padding-bottom, 0px) + env(safe-area-inset-bottom, 0));\\n}\\nbody > .ML__keyboard.is-visible > .MLK__backdrop {\\n box-shadow: 0 -5px 6px rgba(0, 0, 0, 0.08);\\n border-top: 1px solid var(--_border);\\n}\\nbody > .ML__keyboard.backdrop-is-transparent.is-visible > .MLK__backdrop {\\n box-shadow: none;\\n border: none;\\n}\\nbody > .ML__keyboard.is-visible.animate > .MLK__backdrop {\\n transition: 0.28s cubic-bezier(0, 0, 0.2, 1);\\n transition-property: transform, opacity;\\n transition-timing-function: cubic-bezier(0.4, 0, 1, 1);\\n}\\n.ML__keyboard {\\n position: relative;\\n overflow: hidden;\\n top: 0;\\n left: 0;\\n height: 100%;\\n width: 100%;\\n z-index: var(--_keyboard-zindex);\\n box-sizing: border-box;\\n outline: none;\\n border: none;\\n margin: 0;\\n padding: 0;\\n line-height: 1;\\n overflow-wrap: unset;\\n text-align: left;\\n vertical-align: baseline;\\n cursor: auto;\\n white-space: pre;\\n box-shadow: none;\\n opacity: 1;\\n transform: none;\\n pointer-events: none;\\n}\\n.ML__keyboard :where(div) {\\n box-sizing: border-box;\\n outline: none;\\n border: none;\\n margin: 0;\\n padding: 0;\\n line-height: 1;\\n overflow-wrap: unset;\\n text-align: left;\\n vertical-align: baseline;\\n cursor: auto;\\n white-space: pre;\\n box-shadow: none;\\n transform: none;\\n}\\n.MLK__backdrop {\\n position: absolute;\\n bottom: calc(-1 * var(--_keyboard-height));\\n width: 100%;\\n height: var(--_keyboard-height);\\n box-sizing: border-box;\\n padding-top: var(--_padding-top);\\n padding-bottom: var(--_padding-bottom);\\n padding-left: var(--_padding-horizontal);\\n padding-right: var(--_padding-horizontal);\\n opacity: 0;\\n visibility: hidden;\\n transform: translate(0, 0);\\n background: var(--_background);\\n}\\n.backdrop-is-transparent .MLK__backdrop {\\n background: transparent;\\n}\\n/* If a custom layout has a custom container/backdrop\\n (backdrop-is-transparent), make sure to let pointer event go through. */\\n.backdrop-is-transparent .MLK__plate {\\n background: transparent;\\n pointer-events: none;\\n}\\n/* If a custom layout has a custom container/backdrop, make sure to \\n allow pointer events on it. */\\n.backdrop-is-transparent .MLK__layer > div > div {\\n pointer-events: all;\\n}\\n.ML__keyboard.is-visible > .MLK__backdrop {\\n transform: translate(0, calc(-1 * var(--_keyboard-height)));\\n opacity: 1;\\n visibility: visible;\\n}\\n.caps-lock-indicator {\\n display: none;\\n width: 8px;\\n height: 8px;\\n background: #0cbc0c;\\n box-shadow: inset 0 0 4px 0 #13ca13, 0 0 4px 0 #a9ef48;\\n border-radius: 8px;\\n right: 8px;\\n top: 8px;\\n position: absolute;\\n}\\n.ML__keyboard.is-caps-lock .caps-lock-indicator {\\n display: block;\\n}\\n.ML__keyboard.is-caps-lock .shift {\\n background: var(--_keycap-background-active);\\n color: var(--_keycap-text-active);\\n}\\n.MLK__plate {\\n position: absolute;\\n top: var(--_padding-top);\\n left: var(--_padding-horizontal);\\n width: calc(100% - 2 * var(--_padding-horizontal));\\n margin: 0;\\n padding: 0;\\n box-sizing: border-box;\\n container-type: inline-size;\\n touch-action: none;\\n -webkit-user-select: none;\\n user-select: none;\\n pointer-events: all;\\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\\n font-size: 16px;\\n /* Size of toolbar labels */\\n font-weight: 400;\\n text-shadow: none;\\n}\\n.ML__box-placeholder {\\n color: var(--_box-placeholder-color);\\n}\\n.MLK__tex {\\n font-family: KaTeX_Main, KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;\\n}\\n.MLK__tex-math {\\n font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;\\n font-style: italic;\\n}\\n.MLK__layer {\\n display: none;\\n outline: none;\\n}\\n.MLK__layer.is-visible {\\n display: flex;\\n flex-flow: column;\\n}\\n/* Keyboard layouts are made or rows of keys... */\\n.MLK__rows {\\n --_keycap-width: var(--keycap-width, min(var(--_keycap-max-width), 10cqw));\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n border-collapse: separate;\\n clear: both;\\n border: 0;\\n margin: 0;\\n margin-bottom: var(--_keycap-gap);\\n gap: var(--_keycap-gap);\\n /* If the styling include, e.g., some shadows, they will be\\n cut off by the overflow. In that case, set the padding to \\n compensate. */\\n padding-left: var(--_row-padding-left);\\n padding-right: var(--_row-padding-right);\\n overflow: visible;\\n touch-action: none;\\n}\\n.MLK__rows > .MLK__row {\\n display: flex;\\n flex-flow: row;\\n justify-content: center;\\n width: 100%;\\n gap: var(--_keycap-gap);\\n margin: 0;\\n padding: 0;\\n /* For the alignment of the text on some modifiers (e.g. shift) */\\n /* Extra spacing between two adjacent keys */\\n}\\n.MLK__rows > .MLK__row .tex {\\n font-family: KaTeX_Math, KaTeX_Main, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;\\n}\\n.MLK__rows > .MLK__row .tex-math {\\n font-family: KaTeX_Math, 'Cambria Math', 'Asana Math', OpenSymbol, Symbola, STIX, Times, serif !important;\\n}\\n.MLK__rows > .MLK__row .big-op {\\n font-size: calc(1.25 * var(--_keycap-font-size));\\n}\\n.MLK__rows > .MLK__row .small {\\n font-size: var(--_keycap-small-font-size);\\n}\\n.MLK__rows > .MLK__row .bottom {\\n justify-content: flex-end;\\n}\\n.MLK__rows > .MLK__row .left {\\n align-items: flex-start;\\n padding-left: 12px;\\n}\\n.MLK__rows > .MLK__row .right {\\n align-items: flex-end;\\n padding-right: 12px;\\n}\\n.MLK__rows > .MLK__row .w0 {\\n width: 0;\\n}\\n.MLK__rows > .MLK__row .w5 {\\n width: calc(0.5 * var(--_keycap-width) - var(--_keycap-gap));\\n}\\n.MLK__rows > .MLK__row .w15 {\\n width: calc(1.5 * var(--_keycap-width) - var(--_keycap-gap));\\n}\\n.MLK__rows > .MLK__row .w20 {\\n width: calc(2 * var(--_keycap-width) - var(--_keycap-gap));\\n}\\n.MLK__rows > .MLK__row .w40 {\\n width: calc(4 * var(--_keycap-width) - var(--_keycap-gap));\\n}\\n.MLK__rows > .MLK__row .w50 {\\n width: calc(5 * var(--_keycap-width) - var(--_keycap-gap));\\n}\\n.MLK__rows > .MLK__row .MLK__keycap.w50 {\\n font-size: 80%;\\n padding-top: 10px;\\n font-weight: 100;\\n}\\n.MLK__rows > .MLK__row .separator {\\n background: transparent;\\n border: none;\\n pointer-events: none;\\n}\\n.MLK__rows > .MLK__row .horizontal-rule {\\n height: 6px;\\n margin-top: 3px;\\n margin-bottom: 0;\\n width: 100%;\\n border-radius: 0;\\n border-top: var(--_horizontal-rule);\\n}\\n.MLK__rows > .MLK__row .ghost {\\n background: var(--_toolbar-background);\\n border: none;\\n color: var(--_toolbar-text);\\n}\\n.MLK__rows > .MLK__row .ghost:hover {\\n background: var(--_toolbar-background-hover);\\n}\\n.MLK__rows > .MLK__row .bigfnbutton {\\n font-size: var(--_keycap-extra-small-font-size);\\n}\\n.MLK__rows > .MLK__row .shift,\\n.MLK__rows > .MLK__row .action {\\n color: var(--_keycap-secondary-text);\\n background: var(--_keycap-secondary-background);\\n border-color: var(--_keycap-secondary-border);\\n border-bottom-color: var(--_keycap-secondary-border-bottom);\\n line-height: 0.8;\\n font-size: min(1rem, var(--_keycap-small-font-size));\\n font-weight: 600;\\n padding: 8px 12px 8px 12px;\\n}\\n.MLK__rows > .MLK__row .shift:hover,\\n.MLK__rows > .MLK__row .action:hover {\\n background: var(--_keycap-secondary-background-hover);\\n}\\n.MLK__rows > .MLK__row .action.primary {\\n background: var(--_keycap-primary-background);\\n color: var(--_keycap-primary-text);\\n}\\n.MLK__rows > .MLK__row .action.primary:hover {\\n background: var(--_keycap-primary-background-hover);\\n color: var(--_keycap-primary-text);\\n}\\n.MLK__rows > .MLK__row .shift.selected,\\n.MLK__rows > .MLK__row .action.selected {\\n color: var(--_toolbar-text-active);\\n}\\n.MLK__rows > .MLK__row .shift.selected.is-pressed,\\n.MLK__rows > .MLK__row .action.selected.is-pressed,\\n.MLK__rows > .MLK__row .shift.selected.is-active,\\n.MLK__rows > .MLK__row .action.selected.is-active {\\n color: white;\\n}\\n.MLK__rows > .MLK__row .warning {\\n background: #cd0030;\\n color: white;\\n}\\n.MLK__rows > .MLK__row .warning svg.svg-glyph {\\n width: var(--_keycap-glyph-size-lg);\\n height: var(--_keycap-glyph-size-lg);\\n min-height: var(--_keycap-glyph-size-lg);\\n}\\n/** A regular keycap\\n * Use the :where() pseudo-class to give it a very low specifity, \\n * so that it can be overriden by custom style.\\n */\\n:where(.MLK__rows > .MLK__row div) {\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: space-evenly;\\n width: calc(var(--_keycap-width) - var(--_keycap-gap));\\n height: var(--_keycap-height);\\n box-sizing: border-box;\\n padding: 0;\\n vertical-align: top;\\n text-align: center;\\n float: left;\\n color: var(--_keycap-text);\\n fill: currentColor;\\n font-size: var(--_keycap-font-size);\\n background: var(--_keycap-background);\\n border: 1px solid var(--_keycap-border);\\n border-bottom-color: var(--_keycap-border-bottom);\\n border-radius: 6px;\\n cursor: pointer;\\n touch-action: none;\\n /* Keys with a variants panel */\\n position: relative;\\n overflow: hidden;\\n -webkit-user-select: none;\\n user-select: none;\\n -webkit-tap-highlight-color: transparent;\\n}\\n:where(.MLK__rows > .MLK__row div):hover {\\n overflow: visible;\\n background: var(--_keycap-background-hover);\\n color: var(--_keycap-text-hover);\\n}\\n:where(.MLK__rows > .MLK__row div) .ML__latex {\\n pointer-events: none;\\n touch-action: none;\\n}\\n:where(.MLK__rows > .MLK__row div) svg.svg-glyph {\\n margin: 8px 0;\\n width: var(--_keycap-glyph-size);\\n height: var(--_keycap-glyph-size);\\n min-height: var(--_keycap-glyph-size);\\n}\\n:where(.MLK__rows > .MLK__row div) svg.svg-glyph-lg {\\n margin: 8px 0;\\n width: var(--_keycap-glyph-size-lg);\\n height: var(--_keycap-glyph-size-lg);\\n min-height: var(--_keycap-glyph-size-lg);\\n}\\n:where(.MLK__rows > .MLK__row div).MLK__tex-math {\\n font-size: 25px;\\n}\\n:where(.MLK__rows > .MLK__row div).is-pressed {\\n background: var(--_keycap-background-pressed);\\n color: var(--_keycap-text-pressed);\\n --_box-placeholder-color: var(--_box-placeholder-pressed-color);\\n}\\n:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,\\n:where(.MLK__rows > .MLK__row div).action.is-active,\\n:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,\\n:where(.MLK__rows > .MLK__row div).action.is-pressed {\\n z-index: calc(var(--_keyboard-zindex) - 5);\\n}\\n:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active aside,\\n:where(.MLK__rows > .MLK__row div).action.is-active aside,\\n:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed aside,\\n:where(.MLK__rows > .MLK__row div).action.is-pressed aside {\\n display: none;\\n}\\n:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active .MLK__shift,\\n:where(.MLK__rows > .MLK__row div).action.is-active .MLK__shift,\\n:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed .MLK__shift,\\n:where(.MLK__rows > .MLK__row div).action.is-pressed .MLK__shift {\\n display: none;\\n}\\n:where(.MLK__rows > .MLK__row div).shift.is-pressed,\\n:where(.MLK__rows > .MLK__row div).MLK__keycap.is-pressed,\\n:where(.MLK__rows > .MLK__row div).action.is-pressed {\\n background: var(--_keycap-background-pressed);\\n color: var(--_keycap-text-pressed);\\n}\\n:where(.MLK__rows > .MLK__row div).shift.is-active,\\n:where(.MLK__rows > .MLK__row div).MLK__keycap.is-active,\\n:where(.MLK__rows > .MLK__row div).action.is-active {\\n background: var(--_keycap-background-active);\\n color: var(--_keycap-text-active);\\n --_box-placeholder-color: var(--_box-placeholder-pressed-color);\\n}\\n:where(.MLK__rows > .MLK__row div) small {\\n color: var(--_keycap-secondary-text);\\n}\\n:where(.MLK__rows > .MLK__row div) aside {\\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\\n font-size: 10px;\\n line-height: 10px;\\n color: var(--_keycap-secondary-text);\\n}\\n/* Add an attribute 'data-tooltip' to display a tooltip on hover.\\nNote there are a different set of tooltip rules for the keyboard toggle\\n(it's in a different CSS tree) */\\n.ML__keyboard [data-tooltip] {\\n position: relative;\\n}\\n.ML__keyboard [data-tooltip]::after {\\n position: absolute;\\n display: inline-table;\\n content: attr(data-tooltip);\\n top: inherit;\\n bottom: 100%;\\n width: max-content;\\n max-width: 200px;\\n padding: 8px 8px;\\n background: #616161;\\n color: #fff;\\n text-align: center;\\n z-index: 2;\\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);\\n border-radius: 2px;\\n font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;\\n font-weight: 400;\\n font-size: 12px;\\n transition: all 0.15s cubic-bezier(0.4, 0, 1, 1) 1s;\\n opacity: 0;\\n transform: scale(0.5);\\n}\\n.ML__keyboard [data-tooltip]:hover {\\n position: relative;\\n}\\n.ML__keyboard [data-tooltip]:hover::after {\\n opacity: 1;\\n transform: scale(1);\\n}\\n.MLK__toolbar {\\n align-self: center;\\n display: flex;\\n flex-flow: row;\\n justify-content: space-between;\\n width: 100%;\\n max-width: 996px;\\n min-height: 32px;\\n /* Icons for undo/redo, etc. */\\n}\\n.MLK__toolbar svg {\\n height: 20px;\\n width: 20px;\\n}\\n.MLK__toolbar > .left {\\n position: relative;\\n display: flex;\\n justify-content: flex-start;\\n flex-flow: row;\\n}\\n.MLK__toolbar > .right {\\n display: flex;\\n justify-content: flex-end;\\n flex-flow: row;\\n}\\n.MLK__toolbar > div > div {\\n /* \\\"button\\\" in the toolbar */\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n color: var(--_toolbar-text);\\n fill: currentColor;\\n background: var(--_toolbar-background);\\n font-size: var(--_toolbar-font-size);\\n padding: 4px 15px;\\n cursor: pointer;\\n width: max-content;\\n min-width: 42px;\\n min-height: 34px;\\n border: none;\\n padding-left: 10px;\\n padding-right: 10px;\\n padding-bottom: 8px;\\n padding-top: 8px;\\n margin-top: 0;\\n margin-bottom: 4px;\\n margin-left: 4px;\\n margin-right: 4px;\\n border-radius: 8px;\\n box-shadow: none;\\n border-bottom: 2px solid transparent;\\n}\\n.MLK__toolbar > div > div:not(.disabled):not(.selected):hover {\\n background: var(--_toolbar-background-hover);\\n}\\n.MLK__toolbar > div > div.disabled svg,\\n.MLK__toolbar > div > div.disabled:hover svg,\\n.MLK__toolbar > div > div.disabled.is-pressed svg {\\n color: var(--_toolbar-text);\\n opacity: 0.2;\\n}\\n.MLK__toolbar > div > div:hover,\\n.MLK__toolbar > div > div:active,\\n.MLK__toolbar > div > div.is-pressed,\\n.MLK__toolbar > div > div.is-active {\\n color: var(--_toolbar-text-active);\\n}\\n.MLK__toolbar > div > div.selected {\\n color: var(--_toolbar-text-active);\\n background: var(--_toolbar-background-selected);\\n border-radius: 0;\\n border-bottom-color: var(--_toolbar-text-active);\\n padding-bottom: 4px;\\n margin-bottom: 8px;\\n}\\n/* This is the element that displays variants on press+hold */\\n.MLK__variant-panel {\\n visibility: hidden;\\n position: fixed;\\n display: flex;\\n flex-flow: row wrap-reverse;\\n justify-content: center;\\n align-content: center;\\n margin: 0;\\n padding: 0;\\n bottom: auto;\\n top: 0;\\n box-sizing: content-box;\\n transform: none;\\n z-index: calc(var(--_keyboard-zindex) + 1);\\n touch-action: none;\\n max-width: 350px;\\n background: var(--_variant-panel-background);\\n text-align: center;\\n border-radius: 6px;\\n padding: 6px;\\n box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);\\n transition: none;\\n}\\n.MLK__variant-panel.is-visible {\\n visibility: visible;\\n}\\n.MLK__variant-panel.compact {\\n --_variant-keycap-length: var(--variant-keycap-length, 50px);\\n --_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);\\n --_variant-keycap-aside-font-size: var(--variant-keycap-aside-font-size, 10px);\\n}\\n.MLK__variant-panel .item {\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n font-size: var(--_variant-keycap-font-size);\\n height: var(--_variant-keycap-length);\\n width: var(--_variant-keycap-length);\\n margin: 0;\\n box-sizing: border-box;\\n border-radius: 5px;\\n border: 1px solid transparent;\\n background: transparent;\\n pointer-events: all;\\n cursor: pointer;\\n color: var(--_variant-keycap-text);\\n fill: currentColor;\\n}\\n@media (max-height: 412px) {\\n .MLK__variant-panel .item {\\n --_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);\\n --_variant-keycap-length: var(--variant-keycap-length, 50px);\\n }\\n}\\n.MLK__variant-panel .item .ML__latex {\\n pointer-events: none;\\n}\\n.MLK__variant-panel .item:hover {\\n color: var(--_keycap-text-hover);\\n}\\n.MLK__variant-panel .item.is-active {\\n background: var(--_variant-keycap-background-active);\\n color: var(--_variant-keycap-text-active);\\n --_box-placeholder-color: var(--_box-placeholder-pressed-color);\\n}\\n.MLK__variant-panel .item.is-pressed {\\n background: var(--_variant-keycap-background-pressed);\\n color: var(--_variant-keycap-text-pressed);\\n --_box-placeholder-color: var(--_box-placeholder-pressed-color);\\n}\\n.MLK__variant-panel .item.small {\\n font-size: var(--_keycap-small-font-size);\\n}\\n.MLK__variant-panel .item.swatch-button {\\n box-sizing: border-box;\\n background: #fbfbfb;\\n}\\n.MLK__variant-panel .item.swatch-button > span {\\n display: inline-block;\\n margin: 6px;\\n width: calc(100% - 12px);\\n height: calc(100% - 12px);\\n border-radius: 50%;\\n}\\n.MLK__variant-panel .item.swatch-button:hover {\\n background: #f0f0f0;\\n}\\n.MLK__variant-panel .item.swatch-button:hover > span {\\n border-radius: 2px;\\n}\\n.MLK__variant-panel .item.box > div,\\n.MLK__variant-panel .item.box > span {\\n border: 1px dashed rgba(0, 0, 0, 0.24);\\n}\\n.MLK__variant-panel .item .warning {\\n min-height: 60px;\\n min-width: 60px;\\n background: #cd0030;\\n color: white;\\n padding: 5px;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n border-radius: 5px;\\n}\\n.MLK__variant-panel .item .warning.is-pressed,\\n.MLK__variant-panel .item .warning.is-active {\\n background: red;\\n}\\n.MLK__variant-panel .item .warning svg.svg-glyph {\\n width: var(--_keycap-glyph-size-xl);\\n height: var(--_keycap-glyph-size-xl);\\n}\\n.MLK__variant-panel .item aside {\\n font-size: var(--_variant-keycap-aside-font-size);\\n line-height: 12px;\\n opacity: 0.78;\\n padding-top: 2px;\\n width: 100%;\\n text-align: center;\\n text-wrap: wrap;\\n}\\n.MLK__keycap {\\n position: relative;\\n}\\n.MLK__shift {\\n display: block;\\n position: absolute;\\n right: 4px;\\n top: 4px;\\n font-size: var(--_keycap-shift-font-size);\\n color: var(--_keycap-shift-color);\\n}\\n.hide-shift .MLK__shift {\\n display: none;\\n}\\n@media (max-width: 414px) {\\n .MLK__variant-panel {\\n max-width: 350px;\\n --_variant-keycap-font-size: var(--variant-keycap-font-size, 24px);\\n --_variant-keycap-length: var(--variant-keycap-length, 50px);\\n }\\n}\\n/* @xs breakpoint: iPhone 5 */\\n@container (max-width: 414px) {\\n .MLK__rows {\\n --_keycap-gap: max(var(--_keycap-gap, 2px), 2px);\\n --_keycap-height: var(--keycap-height, 42px);\\n --_keycap-width: var(--keycap-width, min(min(var(--_keycap-max-width)), 10cqw), 62px));\\n }\\n .MLK__toolbar > div > div {\\n font-size: 100%;\\n margin-left: 2px;\\n margin-right: 2px;\\n }\\n .MLK__rows .shift,\\n .MLK__rows .action {\\n font-size: 65%;\\n }\\n .MLK__rows .warning svg.svg-glyph {\\n width: 14px;\\n height: 14px;\\n min-height: 14px;\\n }\\n}\\n@container (max-width: 744px) {\\n .MLK__rows {\\n --_keycap-gap: max(var(--keycap-gap, 2px), 2px);\\n --_keycap-height: var(--keycap-height, 52px);\\n --_keycap-width: var(--keycap-width, min(min(var(--_keycap-max-width), 10cqw), 62px));\\n }\\n .MLK__toolbar > div > div {\\n padding-left: 0;\\n padding-right: 0;\\n }\\n .MLK__tooltip::after {\\n padding: 8px 16px;\\n font-size: 16px;\\n }\\n .MLK__rows > .MLK__row > div.fnbutton {\\n font-size: 16px;\\n }\\n .MLK__rows > .MLK__row > div.bigfnbutton {\\n font-size: calc(var(--_keycap-extra-small-font-size) / 1.55);\\n }\\n .MLK__rows > .MLK__row > div.small {\\n font-size: 13px;\\n }\\n .MLK__rows > .MLK__row > div > aside {\\n display: none;\\n }\\n .MLK__shift {\\n display: none;\\n }\\n}\\n/* Medium breakpoint: larger phones */\\n@container (max-width: 768px) {\\n .MLK__rows {\\n --_keycap-height: var(--keycap-height, 42px);\\n }\\n .MLK__rows > .MLK__row > div > small {\\n font-size: 14px;\\n }\\n}\\n@media (max-height: 768px) {\\n .MLK__rows {\\n --_keycap-height: var(--keycap-height, 42px);\\n }\\n .MLK__rows > .MLK__row > div > small {\\n font-size: 14px;\\n }\\n}\\n@container (max-width: 1444px) {\\n .MLK__rows .if-wide {\\n display: none;\\n }\\n}\\n@media (prefers-color-scheme: dark) {\\n .ML__keyboard {\\n --_accent-color: var(--keyboard-accent-color, #0b5c9c);\\n --_background: var(--keyboard-background, #151515);\\n --_border: var(--keyboard-border, transparent);\\n --_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);\\n --_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);\\n --keyboard-toolbar-background-hover: #303030;\\n --_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);\\n --_keycap-background: var(--keycap-background, #1f2022);\\n --_keycap-background-hover: var(--keycap-background-hover, #2f3032);\\n --_keycap-border: var(--_keycap-border, transparent);\\n --_keycap-border-bottom: var(--_keycap-border-bottom, transparent);\\n --_keycap-text: var(--keycap-text, #e3e4e8);\\n --_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);\\n --_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);\\n --_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);\\n --keycap-secondary-border: transparent;\\n --keycap-secondary-border-bottom: transparent;\\n --_keycap-secondary-border: var(--keycap-secondary-border, transparent);\\n --_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);\\n --_variant-panel-background: var(--variant-panel-background, #303030);\\n --_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);\\n }\\n}\\n/* Same as the media query, but with a class */\\n[theme='dark'] .ML__keyboard {\\n --_accent-color: var(--keyboard-accent-color, #0b5c9c);\\n --_background: var(--keyboard-background, #151515);\\n --_border: var(--keyboard-border, transparent);\\n --_toolbar-text: var(--keyboard-toolbar-text, #e3e4e8);\\n --_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #303030);\\n --keyboard-toolbar-background-hover: #303030;\\n --_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #303030);\\n --_keycap-background: var(--keycap-background, #1f2022);\\n --_keycap-background-hover: var(--keycap-background-hover, #2f3032);\\n --_keycap-border: var(--_keycap-border, transparent);\\n --_keycap-border-bottom: var(--_keycap-border-bottom, transparent);\\n --_keycap-text: var(--keycap-text, #e3e4e8);\\n --_keycap-secondary-background: var(--keycap-secondary-background, #3d4144);\\n --_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #4d5154);\\n --_keycap-secondary-text: var(--keycap-secondary-text, #e7ebee);\\n --keycap-secondary-border: transparent;\\n --keycap-secondary-border-bottom: transparent;\\n --_keycap-secondary-border: var(--keycap-secondary-border, transparent);\\n --_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, transparent);\\n --_variant-panel-background: var(--variant-panel-background, #303030);\\n --_variant-keycap-text-active: var(--variant-keycap-text-active, #fff);\\n}\\n[theme='light'] .ML__keyboard {\\n --_accent-color: var(--keyboard-accent-color, #0c75d8);\\n --_background: var(--keyboard-background, #cacfd7);\\n --_border: var(--keyboard-border, #ddd);\\n --_toolbar-text: var(--keyboard-toolbar-text, #2c2e2f);\\n --_toolbar-background: var(--keyboard-toolbar-background, transparent);\\n --_toolbar-background-hover: var(--keyboard-toolbar-background-hover, #eee);\\n --_toolbar-background-selected: var(--keyboard-toolbar-background-selected, transparent);\\n --_horizontal-rule: var(--keyboard-horizontal-rule, 1px solid #fff);\\n --_keycap-background: var(--keycap-background, white);\\n --_keycap-background-hover: var(--keycap-background-hover, #f5f5f7);\\n --_keycap-background-active: var(--keycap-background-active, var(--_accent-color));\\n --_keycap-background-pressed: var(--keycap-background-pressed, var(--_accent-color));\\n --_keycap-border: var(--_keycap-border, #e5e6e9);\\n --_keycap-border-bottom: var(--_keycap-border-bottom, #8d8f92);\\n --_keycap-text: var(--keycap-text, #000);\\n --_keycap-text-active: var(--keycap-text-active, #fff);\\n --_keycap-text-hover: var(--keycap-text-hover, var(--_keycap-text));\\n --_keycap-text-pressed: var(--keycap-text-pressed, #fff);\\n --_keycap-shift-text: var(--keycap-shift-text, var(--_accent-color));\\n --_keycap-secondary-background: var(--keycap-secondary-background, #a0a9b8);\\n --_keycap-secondary-background-hover: var(--keycap-secondary-background-hover, #7d8795);\\n --_keycap-secondary-text: var(--keycap-secondary-text, #060707);\\n --_keycap-secondary-border: var(--keycap-secondary-border, #c5c9d0);\\n --_keycap-secondary-border-bottom: var(--keycap-secondary-border-bottom, #989da6);\\n --_variant-panel-background: var(--variant-panel-background, #f0f0f0);\\n --_variant-keycap-text: var(--variant-keycap-textvar, var(--_keycap-text));\\n --_variant-keycap-text-active: var(--variant-keycap-text-active, var(--_keycap-text-active));\\n --_variant-keycap-background-active: var(--variant-keycap-background-active, var(--_accent-color));\\n}\\n\", Yc = \":host {\\n --primary-color: #5898ff;\\n --primary-color-dimmed: #c0c0f0;\\n --primary-color-dark: var(--blue-500);\\n --primary-color-light: var(--blue-100);\\n --primary-color-reverse: #ffffff;\\n --secondary-color: #ff8a65;\\n --secondary-color-dimmed: #f0d5c5;\\n --secondary-color-dark: var(--orange-500);\\n --secondary-color-light: var(--orange-100);\\n --secondary-color-reverse: #ffffff;\\n --link-color: #5898ff;\\n --link-color-dimmed: #c5c5c5;\\n --link-color-dark: #121212;\\n --link-color-light: #e2e2e2;\\n --link-color-reverse: #ffffff;\\n --semantic-blue: var(--blue-700);\\n --semantic-red: var(--red-400);\\n --semantic-orange: var(--orange-400);\\n --semantic-green: var(--green-700);\\n --neutral-100: #f5f5f5;\\n --neutral-200: #eeeeee;\\n --neutral-300: #e0e0e0;\\n --neutral-400: #bdbdbd;\\n --neutral-500: #9e9e9e;\\n --neutral-600: #757575;\\n --neutral-700: #616161;\\n --neutral-800: #424242;\\n --neutral-900: #212121;\\n --red-25: #fff8f7;\\n --red-50: #fff1ef;\\n --red-100: #ffeae6;\\n --red-200: #ffcac1;\\n --red-300: #ffa495;\\n --red-400: #ff7865;\\n --red-500: #f21c0d;\\n --red-600: #e50018;\\n --red-700: #d30024;\\n --red-800: #bd002c;\\n --red-900: #a1002f;\\n --orange-25: #fffbf8;\\n --orange-50: #fff7f1;\\n --orange-100: #fff3ea;\\n --orange-200: #ffe1c9;\\n --orange-300: #ffcca2;\\n --orange-400: #ffb677;\\n --orange-500: #fe9310;\\n --orange-600: #f58700;\\n --orange-700: #ea7c00;\\n --orange-800: #dc6d00;\\n --orange-900: #ca5b00;\\n --brown-25: #fff8ef;\\n --brown-50: #fff1df;\\n --brown-100: #ffe9ce;\\n --brown-200: #ebcca6;\\n --brown-300: #cdaf8a;\\n --brown-400: #af936f;\\n --brown-500: #856a47;\\n --brown-600: #7f5e34;\\n --brown-700: #78511f;\\n --brown-800: #6e4200;\\n --brown-900: #593200;\\n --yellow-25: #fffdf9;\\n --yellow-50: #fffcf2;\\n --yellow-100: #fffaec;\\n --yellow-200: #fff2ce;\\n --yellow-300: #ffe8ab;\\n --yellow-400: #ffdf85;\\n --yellow-500: #ffcf33;\\n --yellow-600: #f1c000;\\n --yellow-700: #dfb200;\\n --yellow-800: #c9a000;\\n --yellow-900: #ad8a00;\\n --lime-25: #f4ffee;\\n --lime-50: #e9ffdd;\\n --lime-100: #ddffca;\\n --lime-200: #a8fb6f;\\n --lime-300: #94e659;\\n --lime-400: #80d142;\\n --lime-500: #63b215;\\n --lime-600: #45a000;\\n --lime-700: #268e00;\\n --lime-800: #007417;\\n --lime-900: #005321;\\n --green-25: #f5fff5;\\n --green-50: #ebffea;\\n --green-100: #e0ffdf;\\n --green-200: #a7ffa7;\\n --green-300: #5afa65;\\n --green-400: #45e953;\\n --green-500: #17cf36;\\n --green-600: #00b944;\\n --green-700: #00a34a;\\n --green-800: #008749;\\n --green-900: #00653e;\\n --teal-25: #f3ffff;\\n --teal-50: #e6fffe;\\n --teal-100: #d9fffe;\\n --teal-200: #8dfffe;\\n --teal-300: #57f4f4;\\n --teal-400: #43e5e5;\\n --teal-500: #17cfcf;\\n --teal-600: #00c2c0;\\n --teal-700: #00b5b1;\\n --teal-800: #00a49e;\\n --teal-900: #009087;\\n --cyan-25: #f7fcff;\\n --cyan-50: #eff8ff;\\n --cyan-100: #e7f5ff;\\n --cyan-200: #c2e6ff;\\n --cyan-300: #95d5ff;\\n --cyan-400: #61c4ff;\\n --cyan-500: #13a7ec;\\n --cyan-600: #069eda;\\n --cyan-700: #0095c9;\\n --cyan-800: #0088b2;\\n --cyan-900: #0a7897;\\n --blue-25: #f7faff;\\n --blue-50: #eef5ff;\\n --blue-100: #e5f1ff;\\n --blue-200: #bfdbff;\\n --blue-300: #92c2ff;\\n --blue-400: #63a8ff;\\n --blue-500: #0d80f2;\\n --blue-600: #0077db;\\n --blue-700: #006dc4;\\n --blue-800: #0060a7;\\n --blue-900: #005086;\\n --indigo-25: #f8f7ff;\\n --indigo-50: #f1efff;\\n --indigo-100: #eae7ff;\\n --indigo-200: #ccc3ff;\\n --indigo-300: #ac99ff;\\n --indigo-400: #916aff;\\n --indigo-500: #63c;\\n --indigo-600: #5a21b2;\\n --indigo-700: #4e0b99;\\n --indigo-800: #3b0071;\\n --indigo-900: #220040;\\n --purple-25: #fbf7ff;\\n --purple-50: #f8f0ff;\\n --purple-100: #f4e8ff;\\n --purple-200: #e4c4ff;\\n --purple-300: #d49aff;\\n --purple-400: #c36aff;\\n --purple-500: #a219e6;\\n --purple-600: #9000c4;\\n --purple-700: #7c009f;\\n --purple-800: #600073;\\n --purple-900: #3d0043;\\n --magenta-25: #fff8fb;\\n --magenta-50: #fff2f6;\\n --magenta-100: #ffebf2;\\n --magenta-200: #ffcddf;\\n --magenta-300: #ffa8cb;\\n --magenta-400: #ff7fb7;\\n --magenta-500: #eb4799;\\n --magenta-600: #da3689;\\n --magenta-700: #c82179;\\n --magenta-800: #b00065;\\n --magenta-900: #8a004c;\\n}\\n@media (prefers-color-scheme: dark) {\\n :host {\\n --semantic-blue: var(--blue-700);\\n --semantic-red: var(--red-400);\\n --semantic-orange: var(--orange-400);\\n --semantic-green: var(--green-700);\\n --semantic-bg-blue: var(--blue-25);\\n --semantic-bg-red: var(--red-25);\\n --semantic-bg-orange: var(--orange-25);\\n --semantic-bg-green: var(--green-25);\\n --neutral-100: #121212;\\n --neutral-200: #424242;\\n --neutral-300: #616161;\\n --neutral-400: #757575;\\n --neutral-500: #9e9e9e;\\n --neutral-600: #bdbdbd;\\n --neutral-700: #e0e0e0;\\n --neutral-800: #eeeeee;\\n --neutral-900: #f5f5f5;\\n }\\n}\\n:host([theme='dark']) {\\n --semantic-blue: var(--blue-700);\\n --semantic-red: var(--red-400);\\n --semantic-orange: var(--orange-400);\\n --semantic-green: var(--green-700);\\n --semantic-bg-blue: var(--blue-25);\\n --semantic-bg-red: var(--red-25);\\n --semantic-bg-orange: var(--orange-25);\\n --semantic-bg-green: var(--green-25);\\n --neutral-100: #121212;\\n --neutral-200: #424242;\\n --neutral-300: #616161;\\n --neutral-400: #757575;\\n --neutral-500: #9e9e9e;\\n --neutral-600: #bdbdbd;\\n --neutral-700: #e0e0e0;\\n --neutral-800: #eeeeee;\\n --neutral-900: #f5f5f5;\\n}\\n/* @media (prefers-color-scheme: dark) {\\n :host {\\n --label-color: #fff;\\n --active-label-color: #000;\\n --menu-bg: #525252;\\n --active-bg: #5898ff;\\n --active-bg-dimmed: #5c5c5c;\\n }\\n} */\\n:host {\\n --ui-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';\\n --ui-font-size: 14px;\\n --ui-line-height: 1.5;\\n --ui-letter-spacing: 0.007em;\\n --mono-font-family: 'Berkeley Mono', 'JetBrains Mono', 'IBM Plex Mono', 'Source Code Pro', Menlo, Monaco, 'Courier New', monospace;\\n --ui-layer-1: var(--neutral-100);\\n --ui-layer-2: var(--neutral-200);\\n --ui-layer-3: var(--neutral-300);\\n --ui-layer-4: var(--neutral-400);\\n --ui-layer-5: var(--neutral-500);\\n --ui-layer-6: var(--neutral-600);\\n --ui-border-color: var(--primary-color);\\n --ui-border-radius: 4px;\\n --ui-text: var(--neutral-900);\\n --ui-text-secondary: var(--neutral-700);\\n --ui-text-placeholder: var(--neutral-500);\\n --ui-text-muted: var(--neutral-300);\\n /** A field is a UI element in which a user can type data, for\\n * example an input or textarea element.\\n */\\n --ui-field-bg: var(--neutral-100);\\n --ui-field-bg-hover: var(--neutral-100);\\n --ui-field-bg-disabled: var(--neutral-300);\\n --ui-field-bg-invalid: var(--red-100);\\n --ui-field-bg-focus: var(--neutral-100);\\n --ui-field-border: 0.5px solid var(--border-color);\\n --ui-field-border-hover: 0.5px solid var(--border-color);\\n --ui-field-border-disabled: 0.5px solid var(--border-color);\\n --ui-field-border-invalid: 0.5px solid var(--border-color);\\n --ui-field-border-focus: 0.5px solid var(--border-color);\\n --ui-menu-bg: var(--neutral-100);\\n --ui-menu-text: var(--neutral-900);\\n --ui-menu-bg-hover: var(--neutral-200);\\n --ui-menu-text-hover: var(--neutral-900);\\n /** The `active` state is used for the state of menu items\\n * when they are selected.\\n */\\n --ui-menu-bg-active: var(--primary-color);\\n --ui-menu-text-active: var(--primary-color-reverse);\\n /** The `active-muted` set is used for the state of\\n * submenus when they are open.\\n */\\n --ui-menu-bg-active-muted: var(--neutral-300);\\n --ui-menu-text-active-muted: var(--neutral-900);\\n /* --ui-menu-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.302),\\n0 2px 6px 2px rgba(60, 64, 67, 0.149); */\\n --ui-menu-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.2);\\n --ui-menu-divider: 0.5px solid #c7c7c7;\\n /* var(--neutral-300); */\\n --ui-menu-z-index: 10000;\\n --page-bg: var(--neutral-100);\\n --content-bg: var(--neutral-200);\\n}\\n@media (prefers-color-scheme: dark) {\\n :host {\\n --ui-menu-bg: var(--neutral-200);\\n }\\n}\\n:host([theme='dark']) {\\n --ui-menu-bg: var(--neutral-200);\\n}\\n/* PingFang SC is a macOS font. Microsoft Yahei is a Windows font. \\n Noto is a Linux/Android font.\\n*/\\n:lang(zh-cn),\\n:lang(zh-sg),\\n:lang(zh-my),\\n:lang(zh) {\\n --ui-font-family: -apple-system, system-ui, 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans CJK SC', 'Noto Sans SC', 'Noto Sans', 'Microsoft Yahei UI', 'Microsoft YaHei New', 'Microsoft Yahei', '微软雅黑', SimSun, '宋体', STXihei, '华文细黑', sans-serif;\\n}\\n:lang(zh-tw),\\n:lang(zh-hk),\\n:lang(zh-mo) {\\n --ui-font-family: -apple-system, system-ui, 'Noto Sans', 'Microsoft JhengHei UI', 'Microsoft JhengHei', '微軟正黑體', '新細明體', 'PMingLiU', '細明體', 'MingLiU', sans-serif;\\n}\\n:lang(ja),\\n:lang(ja-jp),\\n:lang(ja-jp-mac) {\\n --ui-font-family: -apple-system, system-ui, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans CJK JP', 'Noto Sans JP', 'Noto Sans', '游ゴシック', '游ゴシック体', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'MS Pゴシック', 'MS PGothic', sans-serif;\\n}\\n:lang(ko),\\n:lang(ko-kr),\\n:lang(ko-kr-std) {\\n --ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR', 'Noto Sans', 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', '애플 SD 산돌고딕 Neo', 'Apple SD 산돌고딕 Neo', '돋움', Dotum, sans-serif;\\n}\\n:lang(ko-kr-apple) {\\n --ui-font-family: -apple-system, system-ui, 'Noto Sans CJK KR', 'Noto Sans KR', 'Noto Sans', 'Apple SD Gothic Neo', '애플 SD 산돌고딕 Neo', 'Apple SD 산돌고딕 Neo', '돋움', Dotum, sans-serif;\\n}\\n:lang(zh-cn),\\n:lang(zh-sg),\\n:lang(zh-my),\\n:lang(zh),\\n:lang(zh-tw),\\n:lang(zh-hk),\\n:lang(zh-mo),\\n:lang(ja),\\n:lang(ja-jp),\\n:lang(ja-jp-mac),\\n:lang(ko),\\n:lang(ko-kr),\\n:lang(ko-kr-std),\\n:lang(ko-kr-apple) {\\n --ui-font-size: 1rem;\\n --ui-line-height: 1.7;\\n --ui-letter-spacing: 0;\\n}\\n:dir(rtl) {\\n --ui-line-height: auto;\\n --ui-letter-spacing: 0;\\n}\\n\", Xc = \".ui-menu *,\\n.ui-menu ::before,\\n.ui-menu ::after {\\n box-sizing: border-box;\\n}\\n.ui-menu {\\n display: none;\\n color-scheme: light dark;\\n -webkit-user-select: none;\\n /* Important: Safari iOS doesn't respect user-select */\\n user-select: none;\\n cursor: default;\\n -webkit-touch-callout: none;\\n -webkit-tap-highlight-color: rgba(0 0 0 0);\\n --active-label-color: #fff;\\n /* ui-menu-text-active */\\n --label-color: #121212;\\n /* ui-menu-text */\\n --menu-bg: #e2e2e2;\\n /* ui-menu-background */\\n --active-bg: #5898ff;\\n /* ui-menu-background-active */\\n --active-bg-dimmed: #c5c5c5;\\n /* ui-menu-background-active-muted */\\n}\\n/** Use the :where pseudo selector to make the specificity of the\\n * selector 0, so that it can be overridden by the user.\\n */\\n:where(.ui-menu-container) {\\n position: absolute;\\n overflow: visible;\\n width: auto;\\n height: auto;\\n z-index: 10000;\\n border-radius: 8px;\\n background: var(--ui-menu-bg);\\n box-shadow: var(--ui-menu-shadow);\\n list-style: none;\\n padding: 6px 0 6px 0;\\n margin: 0;\\n user-select: none;\\n cursor: default;\\n color: var(--ui-menu-text);\\n font-weight: normal;\\n font-style: normal;\\n text-shadow: none;\\n text-transform: none;\\n letter-spacing: 0;\\n outline: none;\\n opacity: 1;\\n /* The [popover] elements have a 1px solid black border. Ugh. */\\n border: none;\\n width: fit-content;\\n height: fit-content;\\n}\\n:where(.ui-menu-container > li) {\\n display: flex;\\n flex-flow: row;\\n align-items: center;\\n padding: 1px 7px 1px 7px;\\n margin-top: 0;\\n margin-left: 6px;\\n margin-right: 6px;\\n border-radius: 4px;\\n white-space: nowrap;\\n position: relative;\\n outline: none;\\n fill: currentColor;\\n user-select: none;\\n cursor: default;\\n text-align: left;\\n color: inherit;\\n font-family: var(--ui-font-family);\\n font-size: var(--ui-font-size);\\n line-height: var(--ui-line-height);\\n letter-spacing: var(--ui-letter-spacing);\\n}\\n:where(.ui-menu-container > li > .label) {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n appearance: none;\\n background: none;\\n outline: none;\\n width: 100%;\\n margin: 0;\\n padding: 1px 2px 1px 1px;\\n overflow: visible;\\n border: 1px solid transparent;\\n white-space: nowrap;\\n text-align: start;\\n align-content: center;\\n}\\n:where(.ui-menu-container > li:has(.heading)) {\\n margin-top: 0.5em;\\n}\\n:where(.ui-menu-container > li > .label.heading) {\\n font-weight: bold;\\n opacity: 0.4;\\n}\\n:where(.ui-menu-container > li.indent > .label) {\\n margin-inline-start: 12px;\\n}\\n:where(.ui-menu-container > li > .label.indent) {\\n margin-inline-start: 12px;\\n}\\n:where(.ui-menu-container > li[role='divider']) {\\n border-bottom: 1px solid var(--ui-menu-divider);\\n border-radius: 0;\\n padding: 0;\\n margin-left: 15px;\\n margin-right: 15px;\\n padding-top: 5px;\\n margin-bottom: 5px;\\n width: calc(100% - 30px);\\n /** 100% - (margin-left + margin-right) */\\n}\\n:where(.ui-menu-container > li[aria-disabled='true']) {\\n opacity: 0.5;\\n}\\n:where(.ui-menu-container > li.active) {\\n background: var(--ui-menu-bg-active);\\n background: -apple-system-control-accent;\\n color: var(--ui-menu-text-active);\\n}\\n:where(.ui-menu-container > li.active.is-submenu-open) {\\n background: var(--ui-menu-bg-active-muted);\\n color: inherit;\\n}\\n:where(.ui-menu-container > li[aria-haspopup='true'] > .label) {\\n padding-inline-end: 0;\\n}\\n:where(.ui-menu-container > li[aria-haspopup='true'].active::after) {\\n color: var(--ui-menu-text-active);\\n}\\n/** Keyboard shortcut */\\n:where(.ui-menu-container > li > kbd) {\\n font-family: var(--ui-font-family);\\n margin-inline-start: 12px;\\n opacity: 0.4;\\n}\\n:where(.ui-menu-container > li.active > kbd) {\\n opacity: 0.85;\\n}\\n.ui-trailing-chevron {\\n display: flex;\\n margin-inline-start: 24px;\\n width: 10px;\\n height: 10px;\\n margin-bottom: 4px;\\n}\\n.ui-trailing-chevron:dir(rtl) {\\n transform: scaleX(-1);\\n}\\n.ui-checkmark {\\n display: flex;\\n margin-inline-end: -11px;\\n margin-inline-start: -4px;\\n margin-top: 2px;\\n width: 16px;\\n height: 16px;\\n}\\n.ui-mixedmark {\\n display: flex;\\n margin-inline-end: -11px;\\n margin-inline-start: -4px;\\n margin-top: 2px;\\n width: 16px;\\n height: 16px;\\n}\\n\", Zc;\nfunction Qc(e) {\n\tlet t = \"\";\n\tswitch (e) {\n\t\tcase \"mathfield-element\":\n\t\t\tt = \"\\n :host { display: inline-block; background-color: field; color: fieldtext; border-width: 1px; border-style: solid; border-color: #acacac; border-radius: 2px;}\\n :host([hidden]) { display: none; }\\n :host([disabled]), :host([disabled]:focus), :host([disabled]:focus-within) { outline: none; opacity: .5; }\\n :host(:focus), :host(:focus-within) {\\n outline: Highlight auto 1px; /* For Firefox */\\n outline: -webkit-focus-ring-color auto 1px;\\n }\\n :host([readonly]:focus), :host([readonly]:focus-within),\\n :host([read-only]:focus), :host([read-only]:focus-within) {\\n outline: none;\\n }\";\n\t\t\tbreak;\n\t\tcase \"core\":\n\t\t\tt = Wc;\n\t\t\tbreak;\n\t\tcase \"mathfield\":\n\t\t\tt = Uc;\n\t\t\tbreak;\n\t\tcase \"environment-popover\":\n\t\t\tt = Gc;\n\t\t\tbreak;\n\t\tcase \"suggestion-popover\":\n\t\t\tt = Kc;\n\t\t\tbreak;\n\t\tcase \"keystroke-caption\":\n\t\t\tt = qc;\n\t\t\tbreak;\n\t\tcase \"virtual-keyboard\":\n\t\t\tt = Jc;\n\t\t\tbreak;\n\t\tcase \"ui\":\n\t\t\tt = Yc;\n\t\t\tbreak;\n\t\tcase \"menu\": t = Xc;\n\t}\n\treturn t;\n}\nfunction $c(e) {\n\treturn Zc || (Zc = {}), Zc[e] || (Zc[e] = new CSSStyleSheet(), Zc[e].replaceSync(Qc(e))), Zc[e];\n}\nvar el;\nfunction tl(e) {\n\ttry {\n\t\tif (!(\"adoptedStyleSheets\" in document)) {\n\t\t\tif (window.document.getElementById(`mathlive-style-${e}`)) return;\n\t\t\tlet t = window.document.createElement(\"style\");\n\t\t\tt.id = `mathlive-style-${e}`, t.append(window.document.createTextNode(Qc(e))), window.document.head.appendChild(t);\n\t\t\treturn;\n\t\t}\n\t\tif (el || (el = {}), (el[e] ?? 0) !== 0) el[e] += 1;\n\t\telse {\n\t\t\tlet t = $c(e);\n\t\t\tdocument.adoptedStyleSheets = [...document.adoptedStyleSheets, t], el[e] = 1;\n\t\t}\n\t} catch (t) {\n\t\tconsole.error(\"Error injecting stylesheet\", e, t);\n\t}\n}\nfunction nl(e) {\n\tif (\"adoptedStyleSheets\" in document && el != null && el[e] && (--el[e], el[e] <= 0)) {\n\t\tlet t = Zc[e];\n\t\tdocument.adoptedStyleSheets = document.adoptedStyleSheets.filter((e) => e !== t);\n\t}\n}\nvar rl = class e extends F {\n\tconstructor(e) {\n\t\tsuper(c(s({}, e), {\n\t\t\ttype: \"accent\",\n\t\t\tbody: e.body ?? void 0\n\t\t})), e.accentChar ? this.accent = e.accentChar : this.svgAccent = e?.svgAccent, this.skipBoundary = !0, this.captureSelection = !0;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t);\n\t}\n\ttoJson() {\n\t\treturn c(s({}, super.toJson()), {\n\t\t\taccentChar: this.accent,\n\t\t\tsvgAccent: this.svgAccent\n\t\t});\n\t}\n\trender(e) {\n\t\tlet t = new P({\n\t\t\tparent: e,\n\t\t\tmathstyle: \"cramp\"\n\t\t}, this.style), n = F.createBox(t, this.body) ?? new M(\"□\", { style: this.style }), r = 0;\n\t\t!this.hasEmptyBranch(\"body\") && this.body.length === 2 && this.body[1].isCharacterBox() && (r = n.skew);\n\t\tlet i = Math.min(n.height, zo), a;\n\t\tif (this.svgAccent) a = Cs(this.svgAccent), i = t.metrics.bigOpSpacing1 - i;\n\t\telse if (this.accent) {\n\t\t\tlet e = new M(this.accent, { fontFamily: \"Main-Regular\" });\n\t\t\te.italic = 0, a = new M(e, { classes: \"ML__accent-body\" + (this.accent === 8407 || this.accent === 8411 || this.accent === 8412 ? \" ML__accent-combining-char\" : \"\") });\n\t\t}\n\t\tlet o = (n.width - a.width) / 2 + n.left + 2 * r;\n\t\ta = new N({\n\t\t\tshift: 0,\n\t\t\tchildren: [\n\t\t\t\t{ box: new M(n) },\n\t\t\t\t-i,\n\t\t\t\t{\n\t\t\t\t\tbox: a,\n\t\t\t\t\tmarginLeft: o,\n\t\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t\t}\n\t\t\t]\n\t\t});\n\t\tlet s = new M(a, { type: \"ord\" });\n\t\treturn this.caret && (s.caret = this.caret), this.bind(t, s.wrap(t)), this.attachSupsub(t, { base: s });\n\t}\n}, il = {\n\t\"(\": \")\",\n\t\"{\": \"}\",\n\t\"[\": \"]\",\n\t\"|\": \"|\",\n\t\"\\\\lbrace\": \"\\\\rbrace\",\n\t\"\\\\lparen\": \"\\\\rparen\",\n\t\"\\\\{\": \"\\\\}\",\n\t\"\\\\langle\": \"\\\\rangle\",\n\t\"\\\\lfloor\": \"\\\\rfloor\",\n\t\"\\\\lceil\": \"\\\\rceil\",\n\t\"\\\\vert\": \"\\\\vert\",\n\t\"\\\\lvert\": \"\\\\rvert\",\n\t\"\\\\Vert\": \"\\\\Vert\",\n\t\"\\\\lVert\": \"\\\\rVert\",\n\t\"\\\\lbrack\": \"\\\\rbrack\",\n\t\"\\\\ulcorner\": \"\\\\urcorner\",\n\t\"\\\\llcorner\": \"\\\\lrcorner\",\n\t\"\\\\lgroup\": \"\\\\rgroup\",\n\t\"\\\\lmoustache\": \"\\\\rmoustache\"\n}, al = Object.fromEntries(Object.entries(il).map(([e, t]) => [t, e]));\nfunction ol(e) {\n\treturn {\n\t\t\"[\": 91,\n\t\t\"]\": 93,\n\t\t\"(\": 40,\n\t\t\")\": 41,\n\t\t\"\\\\mid\": 8739,\n\t\t\"|\": 8739,\n\t\t\"∣\": 8739,\n\t\t\"∥\": 8741,\n\t\t\"\\\\|\": 8739,\n\t\t\"\\\\{\": 123,\n\t\t\"\\\\}\": 125,\n\t\t\"\\\\lbrace\": 123,\n\t\t\"\\\\rbrace\": 125,\n\t\t\"\\\\lparen\": 40,\n\t\t\"\\\\rparen\": 41,\n\t\t\"\\\\lbrack\": 91,\n\t\t\"\\\\rbrack\": 93,\n\t\t\"\\\\vert\": 8739,\n\t\t\"\\\\lvert\": 8739,\n\t\t\"\\\\mvert\": 8739,\n\t\t\"\\\\rvert\": 8739,\n\t\t\"\\\\Vert\": 8741,\n\t\t\"\\\\lVert\": 8741,\n\t\t\"\\\\mVert\": 8741,\n\t\t\"\\\\rVert\": 8741,\n\t\t\"\\\\parallel\": 8741,\n\t\t\"\\\\shortparallel\": 8741,\n\t\t\"\\\\langle\": 10216,\n\t\t\"\\\\rangle\": 10217,\n\t\t\"\\\\lfloor\": 8970,\n\t\t\"\\\\rfloor\": 8971,\n\t\t\"\\\\lceil\": 8968,\n\t\t\"\\\\rceil\": 8969,\n\t\t\"\\\\ulcorner\": 9484,\n\t\t\"\\\\urcorner\": 9488,\n\t\t\"\\\\llcorner\": 9492,\n\t\t\"\\\\lrcorner\": 9496,\n\t\t\"\\\\lgroup\": 10222,\n\t\t\"\\\\rgroup\": 10223,\n\t\t\"\\\\lmoustache\": 9136,\n\t\t\"\\\\rmoustache\": 9137,\n\t\t\"\\\\surd\": 8730\n\t}[e] ?? e.codePointAt(0);\n}\nfunction sl(e, t, n, r) {\n\tlet i = new M(ol(e), {\n\t\tfontFamily: \"Main-Regular\",\n\t\tisSelected: r.isSelected,\n\t\tclasses: \"ML__small-delim \" + (r.classes ?? \"\")\n\t}).wrap(t);\n\treturn n && i.setTop((1 - t.scalingFactor) * Lo), i;\n}\nfunction cl(e, t, n, r, i) {\n\tlet a = new P({\n\t\tparent: r,\n\t\tmathstyle: \"textstyle\"\n\t}, i?.style), o = new M(ol(e), {\n\t\tfontFamily: `Size${t}-Regular`,\n\t\tisSelected: i.isSelected,\n\t\tclasses: (i.classes ?? \"\") + ` ML__delim-size${t}`,\n\t\ttype: i.type ?? \"ignore\"\n\t}).wrap(a);\n\treturn n && o.setTop((1 - a.scalingFactor) * Lo), o;\n}\nfunction ll(e, t, n, r, i) {\n\tlet a, o, l, u;\n\ta = l = u = ol(e), o = null;\n\tlet d = \"Size1-Regular\";\n\te === \"\\\\vert\" || e === \"\\\\lvert\" || e === \"\\\\rvert\" || e === \"\\\\mvert\" || e === \"\\\\mid\" ? l = a = u = 8739 : e === \"\\\\Vert\" || e === \"\\\\lVert\" || e === \"\\\\rVert\" || e === \"\\\\mVert\" || e === \"\\\\|\" ? l = a = u = 8741 : e === \"\\\\uparrow\" ? l = u = 9168 : e === \"\\\\Uparrow\" ? l = u = 8214 : e === \"\\\\downarrow\" ? a = l = 9168 : e === \"\\\\Downarrow\" ? a = l = 8214 : e === \"\\\\updownarrow\" ? (a = 8593, l = 9168, u = 8595) : e === \"\\\\Updownarrow\" ? (a = 8657, l = 8214, u = 8659) : e === \"[\" || e === \"\\\\lbrack\" ? (a = 9121, l = 9122, u = 9123, d = \"Size4-Regular\") : e === \"]\" || e === \"\\\\rbrack\" ? (a = 9124, l = 9125, u = 9126, d = \"Size4-Regular\") : e === \"\\\\lfloor\" || e === \"⌊\" ? (l = a = 9122, u = 9123, d = \"Size4-Regular\") : e === \"\\\\lceil\" || e === \"⌈\" ? (a = 9121, l = u = 9122, d = \"Size4-Regular\") : e === \"\\\\rfloor\" || e === \"⌋\" ? (l = a = 9125, u = 9126, d = \"Size4-Regular\") : e === \"\\\\rceil\" || e === \"⌉\" ? (a = 9124, l = u = 9125, d = \"Size4-Regular\") : e === \"(\" || e === \"\\\\lparen\" ? (a = 9115, l = 9116, u = 9117, d = \"Size4-Regular\") : e === \")\" || e === \"\\\\rparen\" ? (a = 9118, l = 9119, u = 9120, d = \"Size4-Regular\") : e === \"\\\\{\" || e === \"\\\\lbrace\" ? (a = 9127, o = 9128, u = 9129, l = 9130, d = \"Size4-Regular\") : e === \"\\\\}\" || e === \"\\\\rbrace\" ? (a = 9131, o = 9132, u = 9133, l = 9130, d = \"Size4-Regular\") : e === \"\\\\lgroup\" || e === \"⟮\" ? (a = 9127, u = 9129, l = 9130, d = \"Size4-Regular\") : e === \"\\\\rgroup\" || e === \"⟯\" ? (a = 9131, u = 9133, l = 9130, d = \"Size4-Regular\") : e === \"\\\\lmoustache\" || e === \"⎰\" ? (a = 9127, u = 9133, l = 9130, d = \"Size4-Regular\") : e === \"\\\\rmoustache\" || e === \"⎱\" ? (a = 9131, u = 9129, l = 9130, d = \"Size4-Regular\") : e === \"\\\\surd\" ? (a = 57345, u = 9143, l = 57344, d = \"Size4-Regular\") : e === \"\\\\ulcorner\" ? (a = 9484, l = u = 32) : e === \"\\\\urcorner\" ? (a = 9488, l = u = 32) : e === \"\\\\llcorner\" ? (u = 9492, l = a = 32) : e === \"\\\\lrcorner\" && (a = 9496, l = a = 32);\n\tlet f = Wo(a, d), p = f.height + f.depth, m = Wo(l, d), h = m.height + m.depth, g = Wo(u, d), _ = g.height + g.depth, ee = 0, v = 1;\n\tif (o !== null) {\n\t\tlet e = Wo(o, d);\n\t\tee = e.height + e.depth, v = 2;\n\t}\n\tlet y = p + _ + ee, te = Math.max(0, Math.ceil((t - y) / (v * h))), ne = y + te * v * h, re = Lo;\n\tn && (re *= r.scalingFactor);\n\tlet ie = ne / 2 - re, b = [];\n\tb.push({ box: new M(u, { fontFamily: d }) }), b.push(-.008);\n\tlet ae = new M(l, { fontFamily: d });\n\tif (o === null) for (let e = 0; e < te; e++) b.push({ box: ae });\n\telse {\n\t\tfor (let e = 0; e < te; e++) b.push({ box: ae });\n\t\tb.push(-.008), b.push({ box: new M(o, { fontFamily: d }) }), b.push(-.008);\n\t\tfor (let e = 0; e < te; e++) b.push({ box: ae });\n\t}\n\tb.push(-.008), b.push({ box: new M(a, { fontFamily: d }) });\n\tlet oe = \"\";\n\treturn d === \"Size1-Regular\" ? oe = \" delim-size1\" : d === \"Size4-Regular\" && (oe = \" delim-size4\"), new M(new N({\n\t\tbottom: ie,\n\t\tchildren: b\n\t}, { classes: oe }), c(s({}, i ?? {}), { classes: (i?.classes ?? \"\") + \" ML__delim-mult\" }));\n}\nvar ul = /* @__PURE__ */ new Set([\n\t\"(\",\n\t\")\",\n\t\"\\\\lparen\",\n\t\"\\\\rparen\",\n\t\"[\",\n\t\"]\",\n\t\"\\\\lbrack\",\n\t\"\\\\rbrack\",\n\t\"\\\\{\",\n\t\"\\\\}\",\n\t\"\\\\lbrace\",\n\t\"\\\\rbrace\",\n\t\"\\\\lfloor\",\n\t\"\\\\rfloor\",\n\t\"\\\\lceil\",\n\t\"\\\\rceil\",\n\t\"\\\\surd\",\n\t\"⌊\",\n\t\"⌋\",\n\t\"⌈\",\n\t\"⌉\"\n]), dl = /* @__PURE__ */ new Set([\n\t\"\\\\uparrow\",\n\t\"\\\\downarrow\",\n\t\"\\\\updownarrow\",\n\t\"\\\\Uparrow\",\n\t\"\\\\Downarrow\",\n\t\"\\\\Updownarrow\",\n\t\"|\",\n\t\"\\\\|\",\n\t\"\\\\vert\",\n\t\"\\\\Vert\",\n\t\"\\\\lvert\",\n\t\"\\\\rvert\",\n\t\"\\\\lVert\",\n\t\"\\\\rVert\",\n\t\"\\\\mvert\",\n\t\"\\\\mid\",\n\t\"\\\\lgroup\",\n\t\"\\\\rgroup\",\n\t\"\\\\lmoustache\",\n\t\"\\\\rmoustache\",\n\t\"⟮\",\n\t\"⟯\",\n\t\"⎰\",\n\t\"⎱\"\n]), fl = /* @__PURE__ */ new Set([\n\t\"<\",\n\t\">\",\n\t\"\\\\langle\",\n\t\"\\\\rangle\",\n\t\"/\",\n\t\"\\\\backslash\",\n\t\"\\\\lt\",\n\t\"\\\\gt\"\n]), pl = [\n\t0,\n\t1.2,\n\t1.8,\n\t2.4,\n\t3\n];\nfunction ml(e, t, n, r) {\n\treturn e === void 0 || e === \".\" ? Sl(n, r.classes) : (e === \"<\" || e === \"\\\\lt\" || e === \"⟨\" ? e = \"\\\\langle\" : (e === \">\" || e === \"\\\\gt\" || e === \"⟩\") && (e = \"\\\\rangle\"), ul.has(e) || fl.has(e) ? cl(e, t, !1, n, r) : dl.has(e) ? ll(e, pl[t], !1, n, r) : (\"\" + e, null));\n}\nvar hl = [\n\t{\n\t\ttype: \"small\",\n\t\tmathstyle: \"scriptscriptstyle\"\n\t},\n\t{\n\t\ttype: \"small\",\n\t\tmathstyle: \"scriptstyle\"\n\t},\n\t{\n\t\ttype: \"small\",\n\t\tmathstyle: \"textstyle\"\n\t},\n\t{\n\t\ttype: \"large\",\n\t\tsize: 1\n\t},\n\t{\n\t\ttype: \"large\",\n\t\tsize: 2\n\t},\n\t{\n\t\ttype: \"large\",\n\t\tsize: 3\n\t},\n\t{\n\t\ttype: \"large\",\n\t\tsize: 4\n\t}\n], gl = [\n\t{\n\t\ttype: \"small\",\n\t\tmathstyle: \"scriptscriptstyle\"\n\t},\n\t{\n\t\ttype: \"small\",\n\t\tmathstyle: \"scriptscriptstyle\"\n\t},\n\t{\n\t\ttype: \"small\",\n\t\tmathstyle: \"textstyle\"\n\t},\n\t{ type: \"stack\" }\n], _l = [\n\t{\n\t\ttype: \"small\",\n\t\tmathstyle: \"scriptscriptstyle\"\n\t},\n\t{\n\t\ttype: \"small\",\n\t\tmathstyle: \"scriptstyle\"\n\t},\n\t{\n\t\ttype: \"small\",\n\t\tmathstyle: \"textstyle\"\n\t},\n\t{\n\t\ttype: \"large\",\n\t\tsize: 1\n\t},\n\t{\n\t\ttype: \"large\",\n\t\tsize: 2\n\t},\n\t{\n\t\ttype: \"large\",\n\t\tsize: 3\n\t},\n\t{\n\t\ttype: \"large\",\n\t\tsize: 4\n\t},\n\t{ type: \"stack\" }\n];\nfunction vl(e) {\n\treturn e.type === \"small\" ? \"Main-Regular\" : e.type === \"large\" ? \"Size\" + e.size + \"-Regular\" : (e.type, \"Size4-Regular\");\n}\nfunction yl(e, t, n, r) {\n\tlet i = {\n\t\t\"-4\": 0,\n\t\t\"-3\": 1,\n\t\t0: 2\n\t}[r.mathstyle.sizeDelta];\n\tfor (let a = i; a < n.length && n[a].type !== \"stack\"; a++) {\n\t\tlet i = Wo(e, vl(n[a]));\n\t\tif (i.defaultMetrics) return {\n\t\t\ttype: \"small\",\n\t\t\tmathstyle: \"scriptstyle\"\n\t\t};\n\t\tlet o = i.height + i.depth;\n\t\tif (n[a].type === \"small\" && (n[a].mathstyle === \"scriptscriptstyle\" ? o *= Math.max(Vo[Math.max(1, r.size - 2)], r.minFontScale) : n[a].mathstyle === \"scriptstyle\" && (o *= Math.max(Vo[Math.max(1, r.size - 1)], r.minFontScale))), o > t) return n[a];\n\t}\n\treturn n[n.length - 1];\n}\nfunction bl(e, t, n, r, i, a) {\n\tif (!t || t.length === 0 || t === \".\") return Sl(i);\n\tt === \"<\" || t === \"\\\\lt\" ? t = \"\\\\langle\" : (t === \">\" || t === \"\\\\gt\") && (t = \"\\\\rangle\");\n\tlet o;\n\to = fl.has(t) ? hl : ul.has(t) ? _l : gl;\n\tlet l = yl(ol(t), n, o, i), u = new P({\n\t\tparent: i,\n\t\tmathstyle: l.mathstyle\n\t}, a?.style);\n\treturn l.type === \"small\" ? sl(t, u, r, c(s({}, a), { type: e })) : l.type === \"large\" ? cl(t, l.size, r, u, c(s({}, a), { type: e })) : (l.type, ll(t, n, r, u, c(s({}, a), { type: e })));\n}\nfunction xl(e, t, n, r, i, a) {\n\tif (t === \".\") return Sl(i, a?.classes);\n\tlet o = Lo * i.scalingFactor, s = 5 / Io, c = Math.max(n - o, r + o);\n\treturn bl(e, t, Math.max(c / 500 * 901, 2 * c - s), !0, i, a);\n}\nfunction Sl(e, t) {\n\tlet n = new M(null, {\n\t\tclasses: \" ML__nulldelimiter \" + (t ?? \"\"),\n\t\ttype: \"ignore\"\n\t});\n\treturn n.width = e.getRegisterAsEm(\"nulldelimiterspace\"), n.wrap(new P({\n\t\tparent: e,\n\t\tmathstyle: \"textstyle\"\n\t}));\n}\nvar Cl = class e extends F {\n\tconstructor(e) {\n\t\tsuper({\n\t\t\ttype: \"placeholder\",\n\t\t\tcommand: \"\\\\placeholder\",\n\t\t\tmode: e?.mode ?? \"math\",\n\t\t\tstyle: e?.style\n\t\t}), this.captureSelection = !0;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t);\n\t}\n\ttoJson() {\n\t\treturn super.toJson();\n\t}\n\trender(e) {\n\t\tlet t;\n\t\treturn this.value = e.placeholderSymbol, t = typeof e.renderPlaceholder == \"function\" ? e.renderPlaceholder(e) : this.createBox(e), this.caret && (t.classes += \" ML__placeholder-selected\"), t;\n\t}\n\t_serialize(e) {\n\t\treturn e.skipPlaceholders ? \"\" : \"\\\\placeholder{}\";\n\t}\n}, wl = [\n\t\"matrix\",\n\t\"matrix*\",\n\t\"pmatrix\",\n\t\"pmatrix*\",\n\t\"bmatrix\",\n\t\"bmatrix*\",\n\t\"Bmatrix\",\n\t\"Bmatrix*\",\n\t\"vmatrix\",\n\t\"vmatrix*\",\n\t\"Vmatrix\",\n\t\"Vmatrix*\"\n], Tl = [\n\t\"cases\",\n\t\"dcases\",\n\t\"rcases\"\n], El = [\n\t\"align\",\n\t\"align*\",\n\t\"aligned\",\n\t\"gather\",\n\t\"gather*\",\n\t\"gathered\",\n\t\"split\"\n], Dl = [\n\t\"array\",\n\t\"subequations\",\n\t\"eqnarray\"\n];\nfunction Ol(e) {\n\treturn El.includes(e) || Tl.includes(e) || Tl.includes(e) || wl.includes(e) || Dl.includes(e);\n}\nfunction kl(e) {\n\treturn wl.includes(e);\n}\nfunction Al(e) {\n\treturn Tl.includes(e);\n}\nfunction jl(e) {\n\treturn El.includes(e);\n}\nfunction Ml(e, t, n) {\n\tlet r = 0;\n\tfor (let e of n.columns) \"align\" in e && (r += 1);\n\tr = Math.max(r, n.minColumns);\n\tlet i = 0, a = [];\n\tfor (let o of t) {\n\t\ti = Math.max(i, Math.min(o.length, r));\n\t\tlet t = 0;\n\t\tfor (; t < o.length;) {\n\t\t\tlet i = [], s = Math.min(o.length, t + r);\n\t\t\tfor (; t < s;) i.push(Fl(o[t], e.mode)), t += 1;\n\t\t\tif (i.length < n.minColumns) for (; i.length < n.minColumns;) i.push([new F({\n\t\t\t\ttype: \"first\",\n\t\t\t\tmode: e.mode\n\t\t\t})]);\n\t\t\ta.push(i);\n\t\t}\n\t}\n\t!e.isMultiline && a.length > 0 && a[a.length - 1].length === 1 && Il(a[a.length - 1][0]) && a.pop();\n\tlet o = [];\n\tfor (let t of a) {\n\t\tif (t.length !== i) for (let n = t.length; n < i; n++) e.isMultiline ? t.push([new F({\n\t\t\ttype: \"first\",\n\t\t\tmode: e.mode\n\t\t})]) : t.push([new F({\n\t\t\ttype: \"first\",\n\t\t\tmode: e.mode\n\t\t}), new Cl()]);\n\t\to.push(t);\n\t}\n\tlet s = 0, c = 0;\n\tfor (let t of o) {\n\t\tc = 0;\n\t\tfor (let n of t) {\n\t\t\tfor (let t of n) t.parent = e, t.parentBranch = [s, c];\n\t\t\tc += 1;\n\t\t}\n\t\ts += 1;\n\t}\n\treturn e.isDirty = !0, o;\n}\nfunction Nl(e) {\n\treturn e.length > 0 && e.every((e) => e.type === \"first\");\n}\nfunction Pl(e, t, n) {\n\tlet r = new M(null, { classes: \"ML__empty-line-anchor\" }), i = e[0];\n\ti && (i.id || (i.id = t.makeID()), r.atomID = i.id), r.setStyle(\"display\", \"inline-block\"), r.setStyle(\"width\", 0), r.setStyle(\"position\", \"relative\"), r.setStyle(\"height\", Math.max(0, n.height + n.depth), \"em\"), r.setStyle(\"vertical-align\", -n.depth, \"em\"), r.height = n.height, r.depth = n.depth;\n\tlet a = e.find((e) => e.caret);\n\treturn a != null && a.caret && (r.caret = a.caret), e.some((e) => e.isSelected) && r.selected(!0), r;\n}\nfunction Fl(e, t) {\n\treturn e.length === 0 ? [new F({\n\t\ttype: \"first\",\n\t\tmode: t\n\t})] : e[0].type === \"first\" ? (e.slice(1).some((e) => e.type === \"first\"), e) : [new F({\n\t\ttype: \"first\",\n\t\tmode: t\n\t}), ...e];\n}\nfunction Il(e) {\n\treturn e.length === 1 && e[0].type === \"first\";\n}\nvar L = class e extends F {\n\tget isMultiline() {\n\t\tlet e = this.environmentName;\n\t\treturn [\n\t\t\t\"lines\",\n\t\t\t\"multline\",\n\t\t\t\"multline*\",\n\t\t\t\"align\",\n\t\t\t\"split\",\n\t\t\t\"gather\",\n\t\t\t\"gathered\"\n\t\t].includes(e);\n\t}\n\tconstructor(e, t, n, r = {}) {\n\t\tif (super({\n\t\t\ttype: \"array\",\n\t\t\tisRoot: r.isRoot\n\t\t}), this.environmentName = e, r.columns) r.columns.length === 0 ? this.colFormat = [{ align: \"l\" }] : this.colFormat = [...r.columns];\n\t\telse if (r.minColumns) {\n\t\t\tlet e = [];\n\t\t\tfor (let t = 0; t < r.minColumns; t++) e.push({ align: \"l\" });\n\t\t\tthis.colFormat = e;\n\t\t} else this.colFormat = [\n\t\t\t{ align: \"l\" },\n\t\t\t{ align: \"l\" },\n\t\t\t{ align: \"l\" },\n\t\t\t{ align: \"l\" },\n\t\t\t{ align: \"l\" },\n\t\t\t{ align: \"l\" },\n\t\t\t{ align: \"l\" },\n\t\t\t{ align: \"l\" },\n\t\t\t{ align: \"l\" },\n\t\t\t{ align: \"l\" }\n\t\t];\n\t\tthis.minColumns = r.minColumns ?? 1, this.minRows = r.minRows ?? 1, this.maxRows = r.maxRows ?? 1 / 0, this._rows = Ml(this, t, {\n\t\t\tcolumns: this.colFormat,\n\t\t\tminColumns: this.minColumns,\n\t\t\tminRows: this.minRows,\n\t\t\tmaxRows: this.maxRows\n\t\t}), this.rowGaps = n, r.arraycolsep !== void 0 && (this.arraycolsep = r.arraycolsep), this.colSeparationType = r.colSeparationType, r.arraystretch !== void 0 && (this.arraystretch = r.arraystretch), r.mathstyleName && (this.mathstyleName = r.mathstyleName), r.leftDelim && (this.leftDelim = r.leftDelim), r.rightDelim && (this.rightDelim = r.rightDelim), this.classes = r.classes ?? [];\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.environmentName, t.array, t.rowGaps, t);\n\t}\n\ttoJson() {\n\t\tlet e = c(s({}, super.toJson()), {\n\t\t\tenvironmentName: this.environmentName,\n\t\t\tarray: this._rows.map((e) => e.map((e) => e.map((e) => e.toJson()))),\n\t\t\trowGaps: this.rowGaps,\n\t\t\tcolumns: this.colFormat,\n\t\t\tcolSeparationType: this.colSeparationType,\n\t\t\tminColumns: this.minColumns,\n\t\t\tminRows: this.minRows,\n\t\t\tmaxRows: this.maxRows\n\t\t});\n\t\treturn this.arraystretch !== void 0 && (e.arraystretch = this.arraystretch), this.arraycolsep !== void 0 && (e.arraycolsep = this.arraycolsep), this.leftDelim && (e.leftDelim = this.leftDelim), this.rightDelim && (e.rightDelim = this.rightDelim), this.isRoot && (e.isRoot = !0), e.minColumns = this.minColumns, e.minRows = this.minRows, e.maxRows = this.maxRows, this.mathstyleName && (e.mathstyleName = this.mathstyleName), this.classes.length > 0 && (e.classes = this.classes), e;\n\t}\n\tbranch(e) {\n\t\tif ($s(e)) return this._rows[e[0]][e[1]] ?? void 0;\n\t}\n\tcreateBranch(e) {\n\t\treturn $s(e) ? (this.isDirty = !0, this.branch(e) ?? []) : [];\n\t}\n\tget rowCount() {\n\t\treturn this._rows.length;\n\t}\n\tget colCount() {\n\t\treturn this._rows[0].length;\n\t}\n\tget maxColumns() {\n\t\treturn this.colFormat.filter((e) => !!e.align).length;\n\t}\n\tremoveBranch(e) {\n\t\tif (Qs(e)) return super.removeBranch(e);\n\t\tlet [t, ...n] = this.branch(e);\n\t\treturn t.type, this._rows[e[0]][e[1]] = void 0, n.forEach((e) => {\n\t\t\te.parent = void 0, e.parentBranch = void 0;\n\t\t}), this.isDirty = !0, n;\n\t}\n\tget hasChildren() {\n\t\treturn this.children.length > 0;\n\t}\n\tget children() {\n\t\tlet e = [];\n\t\tfor (let t of this._rows) for (let n of t) if (n) for (let t of n) e.push(...t.children), e.push(t);\n\t\treturn [...e, ...super.children];\n\t}\n\trender(e) {\n\t\tlet t = new P({\n\t\t\tparent: e,\n\t\t\tmathstyle: this.mathstyleName\n\t\t}, this.style), n = t.getRegisterAsEm(\"arrayrulewidth\"), r = t.getRegisterAsEm(\"arraycolsep\"), i = t.getRegisterAsEm(\"doublerulesep\"), a = this.arraystretch ?? t.getRegisterAsNumber(\"arraystretch\") ?? 1, o = typeof this.arraycolsep == \"number\" ? this.arraycolsep : r;\n\t\tthis.colSeparationType === \"small\" && (o = .2778 * (new P({\n\t\t\tparent: e,\n\t\t\tmathstyle: \"scriptstyle\"\n\t\t}).scalingFactor / e.scalingFactor));\n\t\tlet s = a * Ro, c = .7 * s, l = .3 * s, u = 0, d = [], f = 0, p = this._rows.length;\n\t\tfor (let e = 0; e < p; ++e) {\n\t\t\tlet n = this._rows[e];\n\t\t\tf = Math.max(f, n.length);\n\t\t\tlet r = new P({\n\t\t\t\tparent: t,\n\t\t\t\tmathstyle: this.mathstyleName\n\t\t\t}, this.style), i = c / r.scalingFactor, a = l / r.scalingFactor, o = {\n\t\t\t\tcells: [],\n\t\t\t\theight: 0,\n\t\t\t\tdepth: 0,\n\t\t\t\tpos: 0\n\t\t\t};\n\t\t\tfor (let e of n) {\n\t\t\t\tlet t = this.isMultiline && e && Nl(e) ? Pl(e, r, {\n\t\t\t\t\theight: c / r.scalingFactor,\n\t\t\t\t\tdepth: l / r.scalingFactor\n\t\t\t\t}) : F.createBox(r, e, { type: \"ignore\" }) ?? new M(null, { type: \"ignore\" });\n\t\t\t\ta = Math.max(a, t.depth), i = Math.max(i, t.height), o.cells.push(t);\n\t\t\t}\n\t\t\tlet s = Us(this.rowGaps[e]) ?? 0;\n\t\t\ts > 0 && (s += l, a = Math.max(a, s), s = 0), e < p - 1 && !kl(this.environmentName) && this.environmentName !== \"cases\" && this.environmentName !== \"array\" && (a += t.getRegisterAsEm(\"jot\")), o.height = i, o.depth = a, u += i, o.pos = u, u += a + s, d.push(o);\n\t\t}\n\t\tlet m = this.environmentName === \"array\" && !this.isMultiline ? d[0].height : u / 2 + Lo, h = [];\n\t\tfor (let e = 0; e < f; e++) {\n\t\t\tlet t = [];\n\t\t\tfor (let n of d) {\n\t\t\t\tlet r = n.cells[e];\n\t\t\t\tr && (r.depth = n.depth, r.height = n.height, t.push({\n\t\t\t\t\tbox: r,\n\t\t\t\t\tshift: n.pos - m\n\t\t\t\t}));\n\t\t\t}\n\t\t\tt.length > 0 && h.push(new N({ individualShift: t }));\n\t\t}\n\t\tlet g = [], _ = !1, ee = !1, v = 0, y = !this.leftDelim, { colFormat: te } = this;\n\t\tfor (let t of te) {\n\t\t\tif (\"align\" in t && v >= h.length) break;\n\t\t\tif (\"align\" in t) _ ? g.push(zl(2 * o)) : (ee || y) && g.push(zl(o)), g.push(new M(h[v], { classes: \"col-align-\" + t.align })), v++, _ = !0, ee = !1, y = !1;\n\t\t\telse if (\"gap\" in t) {\n\t\t\t\tif (typeof t.gap == \"number\") g.push(zl(t.gap));\n\t\t\t\telse {\n\t\t\t\t\tlet n = Bl(e, d, m, t.gap);\n\t\t\t\t\tn && g.push(n);\n\t\t\t\t}\n\t\t\t\t_ = !1, ee = !1, y = !1;\n\t\t\t} else if (\"separator\" in t) {\n\t\t\t\tlet e = new M(null, { classes: \"ML__vertical-separator\" });\n\t\t\t\te.height = u, e.setStyle(\"height\", u, \"em\"), e.setStyle(\"border-right\", `${n}em ${t.separator} currentColor`), e.setStyle(\"vertical-align\", -(u - m), \"em\");\n\t\t\t\tlet r = 0;\n\t\t\t\tee ? r = i - n : _ && (r = o - n), e.left = r, g.push(e), _ = !1, ee = !0, y = !1;\n\t\t\t}\n\t\t}\n\t\t_ && !this.rightDelim && g.push(zl(o));\n\t\tlet ne = new M(g, { classes: [\"ML__mtable\", ...this.classes].join(\" \") });\n\t\tif (this.environmentName === \"array\" && !this.isMultiline && (ne.height = d[0].height, ne.depth = u - d[0].height), (!this.leftDelim || this.leftDelim === \".\") && (!this.rightDelim || this.rightDelim === \".\")) return this.caret && (ne.caret = this.caret), this.bind(e, ne);\n\t\tlet re = ne.height, ie = ne.depth, b = this.bind(e, new M([\n\t\t\tthis.bind(e, xl(\"open\", this.leftDelim ?? \".\", re, ie, t, { isSelected: this.isSelected })),\n\t\t\tne,\n\t\t\tthis.bind(e, xl(\"close\", this.rightDelim ?? \".\", re, ie, t, { isSelected: this.isSelected }))\n\t\t], { type: \"ord\" }));\n\t\treturn b ? (b.setStyle(\"display\", \"inline-block\"), this.caret && (b.caret = this.caret), this.bind(e, this.attachSupsub(e, { base: b }))) : null;\n\t}\n\t_serialize(e) {\n\t\tlet t = [];\n\t\tif (this.environmentName === \"lines\" && this._rows.length > 1 ? t.push(\"\\\\displaylines{\") : this.environmentName !== \"lines\" && t.push(`\\\\begin{${this.environmentName}}`), this.environmentName === \"array\") {\n\t\t\tif (t.push(\"{\"), this.colFormat !== void 0) for (let e of this.colFormat) \"align\" in e && typeof e.align == \"string\" ? t.push(e.align) : \"separator\" in e && e.separator === \"solid\" ? t.push(\"|\") : \"separator\" in e && e.separator === \"dashed\" && t.push(\":\");\n\t\t\tt.push(\"}\");\n\t\t}\n\t\tfor (let n = 0; n < this._rows.length; n++) {\n\t\t\tfor (let r = 0; r < this._rows[n].length; r++) r > 0 && t.push(\" & \"), t.push(F.serialize(this._rows[n][r], e));\n\t\t\tif (n < this._rows.length - 1) {\n\t\t\t\tlet e = this.rowGaps[n];\n\t\t\t\te != null && e.dimension ? t.push(`\\\\\\\\[${e.dimension} ${e.unit ?? \"pt\"}] `) : t.push(\"\\\\\\\\ \");\n\t\t\t}\n\t\t}\n\t\treturn this.environmentName === \"lines\" && this._rows.length > 1 ? t.push(\"}\") : this.environmentName !== \"lines\" && t.push(`\\\\end{${this.environmentName}}`), A(t);\n\t}\n\tforEachCell(e) {\n\t\tfor (let t = 0; t < this.rowCount; t++) for (let n = 0; n < this.colCount; n++) e(this._rows[t][n], t, n);\n\t}\n\tgetCell(e, t) {\n\t\treturn this._rows[e]?.[t];\n\t}\n\tsetCell(e, t, n) {\n\t\tthis.type === \"array\" && Array.isArray(this._rows) && this._rows[e][t];\n\t\tfor (let n of this._rows[e][t]) n.parent = void 0, n.parentBranch = void 0;\n\t\tlet r = [new F({\n\t\t\ttype: \"first\",\n\t\t\tmode: this.mode\n\t\t}), ...n.filter((e) => e.type !== \"first\")];\n\t\tthis._rows[e][t] = r, Rl(this), this.isDirty = !0;\n\t}\n\taddRowBefore(e) {\n\t\tthis.type === \"array\" && Array.isArray(this._rows), this._rows.splice(e, 0, Array.from({ length: this.colCount }, () => Ll(this, !this.isMultiline))), Rl(this), this.isDirty = !0;\n\t}\n\taddRowAfter(e) {\n\t\tthis.type === \"array\" && Array.isArray(this._rows), this._rows.splice(e + 1, 0, Array.from({ length: this.colCount }, () => Ll(this, !this.isMultiline))), Rl(this), this.isDirty = !0;\n\t}\n\tremoveRow(e) {\n\t\tthis.type === \"array\" && Array.isArray(this._rows) && this.rowCount;\n\t\tlet t = this._rows.splice(e, 1);\n\t\tfor (let e of t) for (let t of e) if (t) for (let e of t) e.parent = void 0, e.parentBranch = void 0;\n\t\tRl(this), this.isDirty = !0;\n\t}\n\taddColumnBefore(e) {\n\t\tthis.type === \"array\" && Array.isArray(this._rows);\n\t\tfor (let t of this._rows) t.splice(e, 0, Ll(this));\n\t\tRl(this), this.isDirty = !0;\n\t}\n\taddColumnAfter(e) {\n\t\tthis.type === \"array\" && Array.isArray(this._rows);\n\t\tfor (let t of this._rows) t.splice(e + 1, 0, Ll(this));\n\t\tRl(this), this.isDirty = !0;\n\t}\n\taddColumn() {\n\t\tthis.addColumnAfter(this.colCount - 1);\n\t}\n\tremoveColumn(e) {\n\t\tthis.type === \"array\" && Array.isArray(this._rows) && this.colCount;\n\t\tfor (let t of this._rows) {\n\t\t\tlet n = t.splice(e, 1);\n\t\t\tfor (let e of n) if (e) for (let t of e) t.parent = void 0, t.parentBranch = void 0;\n\t\t}\n\t\tRl(this), this.isDirty = !0;\n\t}\n\tget cells() {\n\t\tlet e = [];\n\t\tfor (let t of this._rows) for (let n of t) n && e.push(n.filter((e) => e.type !== \"first\"));\n\t\treturn e;\n\t}\n\tget rows() {\n\t\treturn this._rows;\n\t}\n};\nfunction Ll(e, t = !1) {\n\tlet n = new F({\n\t\ttype: \"first\",\n\t\tmode: e.mode\n\t});\n\tn.parent = e;\n\tlet r = [n];\n\tif (t) {\n\t\tlet t = new Cl();\n\t\tt.parent = e, r.push(t);\n\t}\n\treturn r;\n}\nfunction Rl(e) {\n\tfor (let t = 0; t < e.rowCount; t++) for (let n = 0; n < e.colCount; n++) {\n\t\tlet r = e.getCell(t, n);\n\t\tif (r) for (let i of r) i && (i.parent = e, i.parentBranch = [t, n]);\n\t}\n}\nfunction zl(e) {\n\tlet t = new M(null, { classes: \"ML__arraycolsep\" });\n\treturn t.width = e, t;\n}\nfunction Bl(e, t, n, r) {\n\tif (!r) return null;\n\tlet i = [];\n\tfor (let a of t) {\n\t\tlet t = F.createBox(e, r, { type: \"ignore\" });\n\t\tt && (t.depth = a.depth, t.height = a.height, i.push({\n\t\t\tbox: t,\n\t\t\tshift: a.pos - n\n\t\t}));\n\t}\n\treturn new N({ individualShift: i }).wrap(e);\n}\nvar Vl = class e extends F {\n\tconstructor(e) {\n\t\tsuper({\n\t\t\tmode: e.mode,\n\t\t\tcommand: e.command,\n\t\t\tstyle: e.style,\n\t\t\tbody: e.body,\n\t\t\ttype: \"box\"\n\t\t}), this.framecolor = e.framecolor, this.backgroundcolor = e.backgroundcolor, this.padding = e.padding, this.offset = e.offset, this.border = e.border;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t);\n\t}\n\ttoJson() {\n\t\treturn c(s({}, super.toJson()), {\n\t\t\tframecolor: this.framecolor,\n\t\t\tbackgroundcolor: this.backgroundcolor,\n\t\t\tpadding: this.padding,\n\t\t\toffset: this.offset,\n\t\t\tborder: this.border\n\t\t});\n\t}\n\trender(e) {\n\t\tlet t = F.createBox(e, this.body, { type: \"lift\" });\n\t\tif (!t) return null;\n\t\tlet n = e.toEm(this.offset ?? { dimension: 0 });\n\t\tt.depth += n, t.setStyle(\"display\", \"inline-block\"), t.setStyle(\"position\", \"relative\"), t.setStyle(\"height\", Math.floor(100 * t.height + t.depth) / 100, \"em\"), t.setStyle(\"vertical-align\", -Math.floor(100 * t.height) / 100, \"em\");\n\t\tlet r = new P({ parent: e }, this.style), i = r.toEm(this.padding ?? { register: \"fboxsep\" }), a = new M(null, { classes: \"ML__box\" });\n\t\ta.height = t.height + i, a.depth = t.depth + i, a.setStyle(\"box-sizing\", \"border-box\"), a.setStyle(\"position\", \"absolute\"), a.setStyle(\"top\", -i + .3, \"em\"), a.setStyle(\"left\", 0), a.setStyle(\"height\", a.height + a.depth, \"em\"), a.setStyle(\"width\", \"100%\"), this.backgroundcolor && a.setStyle(\"background-color\", r.toBackgroundColor(this.backgroundcolor) ?? \"transparent\"), this.framecolor && a.setStyle(\"border\", `${r.getRegisterAsEm(\"fboxrule\", 2)}em solid ${r.toColor(this.framecolor) ?? \"black\"}`), this.border && a.setStyle(\"border\", this.border);\n\t\tlet o = new M([a, t], { type: \"lift\" });\n\t\treturn o.setStyle(\"display\", \"inline-block\"), o.setStyle(\"position\", \"relative\"), o.setStyle(\"line-height\", 0), o.height = t.height + i + (n > 0 ? n : 0), o.depth = t.depth + i + (n < 0 ? -n : 0), o.setStyle(\"padding-left\", i, \"em\"), o.setStyle(\"padding-right\", i, \"em\"), o.setStyle(\"height\", Math.floor(100 * (t.height + t.depth + 2 * i + Math.abs(n))) / 100, \"em\"), o.setStyle(\"margin-top\", -i, \"em\"), o.setStyle(\"top\", Math.floor(100 * (t.depth - t.height + 2 * i - n)) / 100, \"em\"), o.setStyle(\"vertical-align\", Math.floor(100 * (t.depth + 2 * i)) / 100, \"em\"), this.caret && (o.caret = this.caret), this.attachSupsub(e, { base: o });\n\t}\n\t_serialize(e) {\n\t\treturn e.skipStyles ? A([this.bodyToLatex(e), this.supsubToLatex(e)]) : super._serialize(e);\n\t}\n}, Hl = class e extends F {\n\tconstructor(e, t) {\n\t\tsuper({\n\t\t\ttype: \"composition\",\n\t\t\tmode: t?.mode ?? \"math\",\n\t\t\tvalue: e\n\t\t});\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.value, t);\n\t}\n\ttoJson() {\n\t\treturn super.toJson();\n\t}\n\trender(e) {\n\t\tlet t = new M(this.value, {\n\t\t\tclasses: \"ML__composition\",\n\t\t\ttype: \"composition\"\n\t\t});\n\t\treturn this.bind(e, t), this.caret && (t.caret = this.caret), t;\n\t}\n\t_serialize(e) {\n\t\treturn \"\";\n\t}\n}, Ul = class e extends F {\n\tconstructor(e) {\n\t\tsuper({\n\t\t\ttype: \"error\",\n\t\t\tvalue: e,\n\t\t\tcommand: e,\n\t\t\tmode: \"math\"\n\t\t}), this.verbatimLatex = e;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.command);\n\t}\n\ttoJson() {\n\t\treturn super.toJson();\n\t}\n\trender(e) {\n\t\tlet t = this.createBox(e, { classes: \"ML__error\" });\n\t\treturn this.caret && (t.caret = this.caret), t;\n\t}\n}, Wl = class e extends F {\n\tconstructor(e, t) {\n\t\tsuper({\n\t\t\ttype: \"group\",\n\t\t\tmode: t\n\t\t}), this.body = e, this.boxType = e.length > 1 ? \"ord\" : \"ignore\", this.skipBoundary = !0, this.displayContainsHighlight = !1, e?.length === 1 && e[0].command === \",\" && (this.captureSelection = !0);\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.body, t.mode);\n\t}\n\trender(e) {\n\t\tlet t = F.createBox(e, this.body, { type: this.boxType });\n\t\treturn t ? (this.caret && (t.caret = this.caret), this.bind(e, t)) : null;\n\t}\n\t_serialize(e) {\n\t\tif (!(e.expandMacro || e.skipStyles || e.skipPlaceholders) && typeof this.verbatimLatex == \"string\") return this.verbatimLatex;\n\t\tlet t = ft(this.command, this.mode);\n\t\treturn t != null && t.serialize ? t.serialize(this, e) : `{${this.bodyToLatex(e)}}`;\n\t}\n}, R = class e extends F {\n\tconstructor(e, t, n) {\n\t\tsuper({\n\t\t\ttype: \"leftright\",\n\t\t\tstyle: n.style,\n\t\t\tdisplayContainsHighlight: !0\n\t\t}), this.variant = e, this.body = t, this.leftDelim = n.leftDelim, this.rightDelim = n.rightDelim;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.variant ?? \"\", t.body, t);\n\t}\n\ttoJson() {\n\t\tlet e = super.toJson();\n\t\treturn this.variant && (e.variant = this.variant), this.leftDelim && (e.leftDelim = this.leftDelim), this.rightDelim && (e.rightDelim = this.rightDelim), e;\n\t}\n\t_serialize(e) {\n\t\tlet t = this.matchingRightDelim();\n\t\treturn this.variant === \"left...right\" ? A([\n\t\t\t\"\\\\left\",\n\t\t\tthis.leftDelim ?? \".\",\n\t\t\tthis.bodyToLatex(e),\n\t\t\t\"\\\\right\",\n\t\t\tt\n\t\t]) : this.variant === \"mleft...mright\" ? A([\n\t\t\t\"\\\\mleft\",\n\t\t\tthis.leftDelim ?? \".\",\n\t\t\tthis.bodyToLatex(e),\n\t\t\t\"\\\\mright\",\n\t\t\tt\n\t\t]) : A([\n\t\t\t!this.leftDelim || this.leftDelim === \".\" ? \"\" : this.leftDelim,\n\t\t\tthis.bodyToLatex(e),\n\t\t\tt\n\t\t]);\n\t}\n\tmatchingRightDelim() {\n\t\tif (this.rightDelim && this.rightDelim !== \"?\") return this.rightDelim;\n\t\tlet e = this.leftDelim ?? \".\";\n\t\treturn il[e] ?? e;\n\t}\n\trender(e) {\n\t\tvar t;\n\t\tlet n = new P({ parent: e }, this.style);\n\t\tthis.body;\n\t\tlet r = new P({\n\t\t\tparent: e,\n\t\t\tmathstyle: \"textstyle\"\n\t\t}, this.style), i = F.createBox(n, this.body, { type: \"inner\" }) ?? new M(null, { type: \"inner\" }), a = i.height / r.scalingFactor, o = i.depth / r.scalingFactor, s = [];\n\t\tif (this.leftDelim && s.push(this.bind(r, xl(\"open\", this.leftDelim, a, o, r, {\n\t\t\tisSelected: this.isSelected,\n\t\t\tclasses: \"ML__open\" + (this.containsCaret ? \" ML__contains-caret\" : \"\"),\n\t\t\tmode: this.mode,\n\t\t\tstyle: this.style\n\t\t}))), i && (Gl(i.children, this, n, a, o), s.push(i)), this.rightDelim) {\n\t\t\tlet e = this.containsCaret ? \" ML__contains-caret\" : \"\", t = this.rightDelim;\n\t\t\tt === \"?\" && (n.smartFence ? (t = this.matchingRightDelim(), e += \" ML__smart-fence__close\") : t = \".\"), s.push(this.bind(r, xl(\"close\", t, a, o, r, {\n\t\t\t\tisSelected: this.isSelected,\n\t\t\t\tclasses: e + \" ML__close\",\n\t\t\t\tmode: this.mode,\n\t\t\t\tstyle: this.style\n\t\t\t})));\n\t\t}\n\t\tlet c = this.variant === \"mleft...mright\", l = this.leftSibling;\n\t\tl && (!c && l.isFunction && (c = !0), !c && l.type === \"subsup\" && (t = l.leftSibling) != null && t.isFunction && (c = !0));\n\t\tlet u = new M(s, {\n\t\t\ttype: c ? \"close\" : \"inner\",\n\t\t\tclasses: \"ML__left-right\"\n\t\t});\n\t\treturn u.setStyle(\"margin-top\", `${-i.depth}em`), u.setStyle(\"height\", `${i.height + i.depth}em`), this.caret && (u.caret = this.caret), this.bind(n, u.wrap(n));\n\t}\n};\nfunction Gl(e, t, n, r, i) {\n\tif (e) for (let a = 0; a < e.length; a++) {\n\t\tlet o = e[a];\n\t\to.type === \"middle\" ? (e[a] = t.bind(n, xl(\"inner\", o.value, r, i, n, { isSelected: t.isSelected })), e[a].caret = o.caret, e[a].isSelected = o.isSelected, e[a].cssId = o.cssId, e[a].htmlData = o.htmlData, e[a].htmlStyle = o.htmlStyle, e[a].attributes = o.attributes, e[a].cssProperties = o.cssProperties) : o.children && Gl(o.children, t, n, r, i);\n\t}\n}\nvar Kl = class e extends F {\n\tconstructor(e, t) {\n\t\tsuper({\n\t\t\ttype: \"macro\",\n\t\t\tcommand: e,\n\t\t\tstyle: t.style\n\t\t}), this.body = t.body, this.captureSelection = t.captureSelection === void 0 ? !t.args : t.captureSelection, this.macroArgs = t.args, this.expand = t.expand ?? !1;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.command, t);\n\t}\n\ttoJson() {\n\t\tlet e = super.toJson();\n\t\treturn this.expand && (e.expand = !0), this.captureSelection !== void 0 && (e.captureSelection = this.captureSelection), this.macroArgs && (e.args = this.macroArgs), e;\n\t}\n\t_serialize(e) {\n\t\treturn e.expandMacro && this.expand ? this.bodyToLatex(e) : this.command + (this.macroArgs ?? \"\");\n\t}\n\tapplyStyle(e, t) {\n\t\tlet n = {};\n\t\te.color && (n.color = e.color), e.backgroundColor && (n.backgroundColor = e.backgroundColor), super.applyStyle(n, t);\n\t}\n\trender(e) {\n\t\tlet t = F.createBox(e, this.body, { type: \"lift\" });\n\t\treturn t ? (this.caret && (t.caret = this.caret), this.bind(e, t)) : null;\n\t}\n}, ql = class e extends F {\n\tconstructor() {\n\t\tsuper({ type: \"macro-argument\" });\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e();\n\t}\n\ttoJson() {\n\t\treturn super.toJson();\n\t}\n\t_serialize(e) {\n\t\treturn \"\";\n\t}\n\trender(e) {\n\t\treturn null;\n\t}\n}, Jl = class e extends F {\n\tconstructor(e, t, n = !1, r, i) {\n\t\tsuper({\n\t\t\ttype: \"prompt\",\n\t\t\tmode: i?.mode ?? \"math\",\n\t\t\tstyle: i?.style,\n\t\t\tcommand: \"\\\\placeholder\"\n\t\t}), this.body = r, this.correctness = t, this.placeholderId = e, this.locked = n, this.captureSelection = this.locked;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.placeholderId, t.correctness, t.locked, t.body, t);\n\t}\n\ttoJson() {\n\t\tlet e = super.toJson();\n\t\treturn this.placeholderId && (e.placeholderId = this.placeholderId), this.body || delete e.body, this.body && (e.body = this.body.filter((e) => e.type !== \"first\").map((e) => e.toJson())), this.correctness && (e.correctness = this.correctness), e.locked = this.locked, e;\n\t}\n\trender(e) {\n\t\tlet t = new P({ parent: e }), n = t.getRegisterAsEm(\"fboxsep\"), r = n, i = n, a = F.createBox(e, this.body);\n\t\tif (!a) return null;\n\t\tlet o = !this.body || this.body.length === 0 || this.body.every((e) => e.type === \"first\") ? new Cl({\n\t\t\tmode: this.mode,\n\t\t\tstyle: this.style\n\t\t}).render(new P({\n\t\t\tparent: e,\n\t\t\tisPhantom: !0\n\t\t})) : null, s = o?.height ?? t.metrics.xHeight, c = o?.depth ?? s / 2, l = Math.max(a.height ?? 0, s), u = Math.max(a.depth ?? 0, c);\n\t\ta.setStyle(\"vertical-align\", `calc(-${l}em + 2px)`), this.correctness === \"correct\" ? a.setStyle(\"color\", \"var(--correct-color, var(--ML__correct-color))\") : this.correctness === \"incorrect\" && a.setStyle(\"color\", \"var(--incorrect-color, var(--ML__incorrect-color))\");\n\t\tlet d = l + u + 2 * i - 2 * r, f = new M(a, { type: \"ord\" });\n\t\tf.setStyle(\"display\", \"inline-block\"), f.height = l, f.depth = u, f.setStyle(\"height\", l + u, \"em\"), f.setStyle(\"vertical-align\", -i, \"em\"), (a.width ?? 0) < d && (f.width = d, f.setStyle(\"width\", d, \"em\"));\n\t\tlet p = \"ML__prompt \";\n\t\tthis.locked ? p += \" ML__lockedPromptBox \" : p += \" ML__editablePromptBox \", this.correctness === \"correct\" ? p += \" ML__correctPromptBox \" : this.correctness === \"incorrect\" && (p += \" ML__incorrectPromptBox \"), this.containsCaret && (p += \" ML__focusedPromptBox \");\n\t\tlet m = new M(null, {\n\t\t\tclasses: p,\n\t\t\tattributes: { part: \"prompt\" }\n\t\t});\n\t\tm.height = f.height + i, m.depth = f.depth + i, m.width = f.width + 2 * r, m.setStyle(\"position\", \"absolute\"), m.setStyle(\"height\", f.height + f.depth + 2 * i, \"em\"), r === 0 && m.setStyle(\"width\", \"100%\"), r !== 0 && (m.setStyle(\"width\", `calc(100% + ${2 * r}em)`), m.setStyle(\"top\", n, \"em\"), m.setStyle(\"left\", -r, \"em\"));\n\t\tlet h = \"\";\n\t\tthis.correctness === \"incorrect\" && (h += \"<line x1=\\\"3%\\\" y1=\\\"97%\\\" x2=\\\"97%\\\" y2=\\\"3%\\\" stroke-width=\\\"0.5\\\" stroke=\\\"var(--incorrect-color, var(--ML__incorrect-color))\\\" stroke-linecap=\\\"round\\\" />\"), h && (m.svgOverlay = h);\n\t\tlet g = new M([m, f], { classes: \"ML__prompt-atom\" });\n\t\tf.setStyle(\"line-height\", 1), g.setStyle(\"position\", \"relative\"), g.setStyle(\"display\", \"inline-block\"), g.setStyle(\"line-height\", 0), g.height = l + i + .2, g.depth = u + i, g.left = r, g.right = r, g.setStyle(\"height\", l + 2 * i, \"em\"), g.setStyle(\"top\", u - l - i / 2, \"em\"), g.setStyle(\"vertical-align\", f.depth, \"em\"), g.setStyle(\"margin-left\", .5, \"em\"), g.setStyle(\"margin-right\", .5, \"em\"), this.caret && (g.caret = this.caret);\n\t\tlet _ = this.attachSupsub(e, { base: g }), ee = this.bind(t, _);\n\t\treturn ee && this.id && (m.atomID = this.id, f.atomID = this.id, g.atomID = this.id), ee;\n\t}\n\t_serialize(e) {\n\t\tlet t = this.bodyToLatex(e) ?? \"\";\n\t\tif (e.skipPlaceholders) return t;\n\t\tlet n = \"\\\\placeholder\";\n\t\treturn this.placeholderId && (n += `[${this.placeholderId}]`), this.correctness === \"correct\" ? n += \"[correct]\" : this.correctness === \"incorrect\" && (n += \"[incorrect]\"), this.locked && (n += \"[locked]\"), j(n, t);\n\t}\n}, Yl = class e extends F {\n\tconstructor(e) {\n\t\tsuper({\n\t\t\ttype: \"subsup\",\n\t\t\tstyle: e?.style\n\t\t}), this.subsupPlacement = \"auto\";\n\t}\n\tget children() {\n\t\tif (!this._children) {\n\t\t\tlet e = [], t = this.branch(\"subscript\");\n\t\t\tif (t) for (let n of t) e.push(...n.children), e.push(n);\n\t\t\tlet n = this.branch(\"superscript\");\n\t\t\tif (n) for (let t of n) e.push(...t.children), e.push(t);\n\t\t\tthis._children = e;\n\t\t}\n\t\treturn this._children;\n\t}\n\tstatic fromJson(t) {\n\t\tlet n = new e(t);\n\t\tfor (let e of Zs) t[e] && n.setChildren(t[e], e);\n\t\treturn n;\n\t}\n\trender(e) {\n\t\tlet t = new P({\n\t\t\tparent: e,\n\t\t\tisPhantom: !0\n\t\t}), n = this.leftSibling, r = n.render(t) ?? new M(null), i = new M(null);\n\t\treturn i.height = r.height, i.depth = r.depth, this.attachSupsub(e, {\n\t\t\tbase: i,\n\t\t\tisCharacterBox: n.isCharacterBox(),\n\t\t\ttype: \"ignore\"\n\t\t});\n\t}\n\t_serialize(e) {\n\t\treturn this.supsubToLatex(e);\n\t}\n};\nfunction Xl(e) {\n\treturn e ? !/^(<$$>|<$>|<space>|<{>|<}>|#[0-9\\?]|\\\\.+)$/.test(e) : !1;\n}\nvar Zl = class {\n\tconstructor(e, t, n) {\n\t\tthis.errors = [], this.index = 0, this.endCount = 0, n ?? (n = {}), this.tokens = e, this.context = t instanceof P && !(n != null && n.parseMode) && !n.mathstyle ? t : new P({\n\t\t\tfrom: t,\n\t\t\tmathstyle: n.mathstyle\n\t\t}, n.style), this.args = n.args ?? void 0, this.smartFence = this.context.smartFence, this.parsingContext = {\n\t\t\tparent: void 0,\n\t\t\tmathlist: [],\n\t\t\tstyle: n.style ?? {},\n\t\t\tparseMode: n.parseMode ?? \"math\",\n\t\t\tmathstyle: n.mathstyle ?? \"displaystyle\",\n\t\t\ttabular: !1\n\t\t};\n\t}\n\tbeginContext(e) {\n\t\tif (e != null && e.root) {\n\t\t\tthis.parsingContext = {\n\t\t\t\tparent: this.parsingContext.parent,\n\t\t\t\tmathlist: [],\n\t\t\t\tstyle: {},\n\t\t\t\tparseMode: e?.mode ?? \"math\",\n\t\t\t\tmathstyle: e?.mathstyle ?? \"displaystyle\",\n\t\t\t\ttabular: e?.tabular ?? !1\n\t\t\t};\n\t\t\treturn;\n\t\t}\n\t\tlet t = this.parsingContext, n = {\n\t\t\tparent: t,\n\t\t\tmathlist: [],\n\t\t\tstyle: s({}, t.style),\n\t\t\tparseMode: e?.mode ?? t.parseMode,\n\t\t\tmathstyle: e?.mathstyle ?? t.mathstyle,\n\t\t\ttabular: e?.tabular ?? !1\n\t\t};\n\t\tthis.parsingContext = n;\n\t}\n\tendContext() {\n\t\tthis.parsingContext = this.parsingContext.parent;\n\t}\n\tonError(e) {\n\t\tthis.errors.push(s({\n\t\t\tbefore: ss(this.tokens.slice(this.index, this.index + 10)),\n\t\t\tafter: ss(this.tokens.slice(Math.max(0, this.index - 10), this.index))\n\t\t}, e));\n\t}\n\tget mathlist() {\n\t\treturn this.parsingContext.mathlist;\n\t}\n\tset mathlist(e) {\n\t\tthis.parsingContext.mathlist = e;\n\t}\n\tget parseMode() {\n\t\treturn this.parsingContext.parseMode;\n\t}\n\tset parseMode(e) {\n\t\tthis.parsingContext.parseMode = e;\n\t}\n\tget tabularMode() {\n\t\treturn this.parsingContext.tabular;\n\t}\n\tget style() {\n\t\tlet e = this.parsingContext;\n\t\tfor (; e;) {\n\t\t\tif (e.style) return s({}, e.style);\n\t\t\te = e.parent;\n\t\t}\n\t\treturn {};\n\t}\n\tset style(e) {\n\t\tthis.parsingContext.style = e;\n\t}\n\tend() {\n\t\treturn this.endCount++, this.index >= this.tokens.length || this.endCount > 1e3;\n\t}\n\tnext() {\n\t\tthis.index += 1;\n\t}\n\tget() {\n\t\treturn this.endCount = 0, this.index < this.tokens.length ? this.tokens[this.index++] : \"\";\n\t}\n\tpeek() {\n\t\treturn this.tokens[this.index];\n\t}\n\texpandUnicode() {\n\t\tif (!this.peek() || this.parseMode !== \"math\") return;\n\t\tlet e = Ue(this.peek());\n\t\te && this.tokens.splice(this.index, 1, ...os(e));\n\t}\n\tmatch(e) {\n\t\treturn this.tokens[this.index] === e && (this.index++, !0);\n\t}\n\tlastSubsupAtom() {\n\t\tlet e;\n\t\treturn this.mathlist.length > 0 && (e = this.mathlist[this.mathlist.length - 1], e.type === \"subsup\" || e.subsupPlacement !== void 0) || (e = new Yl({ style: this.style }), this.mathlist.push(e)), e;\n\t}\n\thasPattern(e) {\n\t\treturn e.test(this.tokens[this.index]);\n\t}\n\thasInfixCommand() {\n\t\tlet { index: e } = this;\n\t\tif (e < this.tokens.length && this.tokens[e].startsWith(\"\\\\\")) {\n\t\t\tlet t = ft(this.tokens[e], this.parseMode);\n\t\t\treturn !t || t.definitionType === \"symbol\" || t.ifMode && !t.ifMode.includes(this.parseMode) ? !1 : t.infix ?? !1;\n\t\t}\n\t\treturn !1;\n\t}\n\tmatchColumnSeparator() {\n\t\treturn !this.tabularMode || this.peek() !== \"&\" ? !1 : (this.index++, !0);\n\t}\n\tmatchRowSeparator() {\n\t\tif (!this.tabularMode) return !1;\n\t\tlet e = this.peek();\n\t\treturn e !== \"\\\\\\\\\" && e !== \"\\\\cr\" && e !== \"\\\\tabularnewline\" ? !1 : (this.index++, !0);\n\t}\n\tplaceholder() {\n\t\tlet e = this.args?.call(this, \"?\");\n\t\treturn e ? Ql(e, {\n\t\t\tparseMode: this.parseMode,\n\t\t\tmathstyle: \"textstyle\"\n\t\t}) : [new Cl({\n\t\t\tmode: this.parseMode,\n\t\t\tstyle: this.style\n\t\t})];\n\t}\n\tskipWhitespace() {\n\t\tfor (; this.match(\"<space>\"););\n\t}\n\tskipUntilToken(e) {\n\t\tlet t = this.tokens[this.index];\n\t\tfor (; t && t !== e;) t = this.tokens[++this.index];\n\t\tt === e && this.index++;\n\t}\n\tskipFiller() {\n\t\tfor (; this.match(\"\\\\relax\") || this.match(\"<space>\"););\n\t}\n\tmatchKeyword(e) {\n\t\tlet t = this.index, n = this.end(), r = \"\";\n\t\tfor (; !n;) {\n\t\t\tlet t = this.get();\n\t\t\tXl(t) ? (r += t, n = this.end() || r.length >= e.length) : n = !0;\n\t\t}\n\t\tlet i = e.toUpperCase() === r.toUpperCase();\n\t\treturn i || (this.index = t), i;\n\t}\n\tscanString() {\n\t\tlet e = \"\";\n\t\tfor (; !this.end();) {\n\t\t\tlet t = this.peek();\n\t\t\tif (t === \"]\") return e;\n\t\t\tif (t === \"<space>\") e += \" \";\n\t\t\telse if (t.startsWith(\"\\\\\")) this.onError({ code: \"unexpected-command-in-string\" }), e += t.substring(1);\n\t\t\telse if (Xl(t)) e += t;\n\t\t\telse return e;\n\t\t\tthis.next();\n\t\t}\n\t\treturn e;\n\t}\n\tscanBalancedString() {\n\t\tlet e = \"\", t = this.end(), n = 1;\n\t\tfor (; !t;) {\n\t\t\tlet r = this.get();\n\t\t\tr === \"<space>\" ? e += \" \" : r === \"<{>\" ? (e += \"{\", n += 1) : r === \"<}>\" ? (--n, n > 0 ? e += \"}\" : --this.index) : e += r === \"<$>\" ? \"$\" : r === \"<$$>\" ? \"$$\" : r, t = n === 0 || this.end();\n\t\t}\n\t\treturn e;\n\t}\n\tscanLiteralGroup() {\n\t\tif (!this.match(\"<{>\")) return \"\";\n\t\tlet e = \"\", t = 1;\n\t\tfor (; t > 0 && !this.end();) {\n\t\t\tlet n = this.get();\n\t\t\tn === \"<}>\" ? (--t, t > 0 && (e += \"}\")) : n === \"<{>\" ? (t += 1, e += \"{\") : (/\\\\[a-zA-Z]+$/.test(e) && /^[a-zA-Z]/.test(n) && (e += \" \"), e += {\n\t\t\t\t\"<space>\": \" \",\n\t\t\t\t\"<$$>\": \"$$\",\n\t\t\t\t\"<$>\": \"$\"\n\t\t\t}[n] ?? n);\n\t\t}\n\t\treturn e;\n\t}\n\tscanNumber(e = !0) {\n\t\tlet t = !1, n = this.peek();\n\t\tfor (; n === \"<space>\" || n === \"+\" || n === \"-\";) this.get(), n === \"-\" && (t = !t), n = this.peek();\n\t\te = !!e;\n\t\tlet r = 10, i = /\\d/;\n\t\tif (this.match(\"'\")) r = 8, i = /[0-7]/, e = !0;\n\t\telse if (this.match(\"\\\"\")) r = 16, i = /[\\dA-F]/, e = !0;\n\t\telse if (this.match(\"x\")) r = 16, i = /[\\dA-Fa-f]/, e = !0;\n\t\telse if (this.match(\"`\")) return n = this.get(), n ? n.length === 2 && n.startsWith(\"\\\\\") ? {\n\t\t\tnumber: (t ? -1 : 1) * (n.codePointAt(1) ?? 0),\n\t\t\tbase: \"alpha\"\n\t\t} : {\n\t\t\tnumber: (t ? -1 : 1) * (n.codePointAt(0) ?? 0),\n\t\t\tbase: \"alpha\"\n\t\t} : null;\n\t\tlet a = \"\";\n\t\tfor (; this.hasPattern(i);) a += this.get();\n\t\tif (!e && (this.match(\".\") || this.match(\",\"))) for (a += \".\"; this.hasPattern(i);) a += this.get();\n\t\tlet o = e ? Number.parseInt(a, r) : Number.parseFloat(a);\n\t\treturn Number.isNaN(o) ? null : {\n\t\t\tnumber: t ? -o : o,\n\t\t\tbase: r === 16 ? \"hexadecimal\" : r === 8 ? \"octal\" : \"decimal\"\n\t\t};\n\t}\n\tscanRegister() {\n\t\tlet e = this.index, t = this.scanNumber(!1);\n\t\tif (this.skipWhitespace(), this.match(\"\\\\relax\")) return t;\n\t\tlet n = !1;\n\t\tif (t === null) for (;;) {\n\t\t\tlet e = this.peek();\n\t\t\tif (e === \"-\") n = !n;\n\t\t\telse if (e !== \"+\") break;\n\t\t\tthis.next(), this.skipWhitespace();\n\t\t}\n\t\tif (this.match(\"\\\\global\")) {\n\t\t\tthis.skipWhitespace();\n\t\t\tlet r = this.get();\n\t\t\treturn r.startsWith(\"\\\\\") ? t ? {\n\t\t\t\tregister: r,\n\t\t\t\tglobal: !0,\n\t\t\t\tfactor: (n ? -1 : 1) * t.number\n\t\t\t} : n ? {\n\t\t\t\tregister: r,\n\t\t\t\tglobal: !0,\n\t\t\t\tfactor: -1\n\t\t\t} : {\n\t\t\t\tregister: r,\n\t\t\t\tglobal: !0\n\t\t\t} : (this.index = e, null);\n\t\t}\n\t\tlet r = this.get();\n\t\treturn r != null && r.startsWith(\"\\\\\") ? (r = r.substring(1), this.context.registers[r] ? !n || t !== null ? {\n\t\t\tregister: r,\n\t\t\tfactor: (n ? -1 : 1) * (t?.number ?? 1)\n\t\t} : { register: r } : (this.index = e, null)) : (this.index = e, null);\n\t}\n\tscanValue() {\n\t\tlet e = this.scanRegister();\n\t\tif (e) return e;\n\t\tlet t = this.index, n = this.scanGlueOrDimen();\n\t\tif (n && (\"unit\" in n || \"glue\" in n && \"unit\" in n.glue)) return n;\n\t\tthis.index = t;\n\t\tlet r = this.scanNumber();\n\t\tif (r) return r;\n\t\tif (this.end() || !Xl(this.peek())) return null;\n\t\tlet i = this.scanString();\n\t\treturn i.length > 0 ? { string: i } : null;\n\t}\n\tscanDimen() {\n\t\tlet e = this.scanNumber(!1);\n\t\tif (e === null) return null;\n\t\tlet t = e.number;\n\t\tthis.skipWhitespace(), this.matchKeyword(\"true\"), this.skipWhitespace();\n\t\tlet n;\n\t\treturn this.matchKeyword(\"pt\") ? n = \"pt\" : this.matchKeyword(\"mm\") ? n = \"mm\" : this.matchKeyword(\"cm\") ? n = \"cm\" : this.matchKeyword(\"ex\") ? n = \"ex\" : this.matchKeyword(\"px\") ? n = \"px\" : this.matchKeyword(\"em\") ? n = \"em\" : this.matchKeyword(\"bp\") ? n = \"bp\" : this.matchKeyword(\"dd\") ? n = \"dd\" : this.matchKeyword(\"pc\") ? n = \"pc\" : this.matchKeyword(\"in\") ? n = \"in\" : this.matchKeyword(\"mu\") && (n = \"mu\"), n ? {\n\t\t\tdimension: t,\n\t\t\tunit: n\n\t\t} : { dimension: t };\n\t}\n\tscanGlueOrDimen() {\n\t\tlet e = this.scanDimen();\n\t\tif (e === null) return null;\n\t\tif (this.skipWhitespace(), this.match(\"\\\\relax\")) return e;\n\t\tlet t = { glue: e };\n\t\tif (this.matchKeyword(\"plus\")) {\n\t\t\tlet e = this.scanDimen();\n\t\t\tif (e) t.grow = e;\n\t\t\telse return t;\n\t\t}\n\t\tif (this.skipWhitespace(), this.match(\"\\\\relax\")) return t;\n\t\tif (this.skipWhitespace(), this.matchKeyword(\"minus\")) {\n\t\t\tlet e = this.scanDimen();\n\t\t\tif (e) t.shrink = e;\n\t\t\telse return t;\n\t\t}\n\t\treturn !t.grow && !t.shrink ? e : t;\n\t}\n\tscanColspec() {\n\t\tthis.skipWhitespace();\n\t\tlet e = [];\n\t\tfor (; !this.end() && this.peek() !== \"<}>\" && this.peek() !== \"]\";) {\n\t\t\tlet t = this.get();\n\t\t\tt === \"c\" || t === \"r\" || t === \"l\" ? e.push({ align: t }) : t === \"|\" ? e.push({ separator: \"solid\" }) : t === \":\" ? e.push({ separator: \"dashed\" }) : t === \"@\" && (this.match(\"<{>\") && (this.beginContext({ mode: \"math\" }), e.push({ gap: this.scan((e) => e === \"<}>\") }), this.endContext()), this.match(\"<}>\") || this.onError({ code: \"unbalanced-braces\" }));\n\t\t}\n\t\treturn e;\n\t}\n\tscanModeSet() {\n\t\tlet e;\n\t\tif (this.match(\"\\\\(\") && (e = \"textstyle\"), !e && this.match(\"\\\\[\") && (e = \"displaystyle\"), !e) return null;\n\t\tthis.beginContext({\n\t\t\tmode: \"math\",\n\t\t\tmathstyle: e\n\t\t});\n\t\tlet t = this.scan((t) => t === (e === \"displaystyle\" ? \"\\\\]\" : \"\\\\)\"));\n\t\treturn this.match(e === \"displaystyle\" ? \"\\\\]\" : \"\\\\)\") || this.onError({ code: \"unbalanced-mode-shift\" }), this.endContext(), t;\n\t}\n\tscanModeShift() {\n\t\tlet e = \"\";\n\t\tif (this.match(\"<$>\") && (e = \"<$>\"), !e && this.match(\"<$$>\") && (e = \"<$$>\"), !e) return null;\n\t\tthis.beginContext({\n\t\t\tmode: \"math\",\n\t\t\tmathstyle: e === \"<$>\" ? \"textstyle\" : \"displaystyle\"\n\t\t});\n\t\tlet t = this.scan((t) => t === e);\n\t\treturn this.match(e) || this.onError({ code: \"unbalanced-mode-shift\" }), this.endContext(), t;\n\t}\n\tscanEnvironment() {\n\t\tif (!this.match(\"\\\\begin\")) return null;\n\t\tlet e = this.scanArgument(\"string\");\n\t\tif (!e) return null;\n\t\tlet t = tt(e);\n\t\tif (!t) return this.onError({\n\t\t\tcode: \"unknown-environment\",\n\t\t\targ: e\n\t\t}), null;\n\t\tlet n = [];\n\t\tif (t.params) for (let r of t.params) if (r.isOptional) n.push(this.scanOptionalArgument(r.type));\n\t\telse {\n\t\t\tlet t = this.scanArgument(r.type);\n\t\t\tt || this.onError({\n\t\t\t\tcode: \"missing-argument\",\n\t\t\t\targ: e\n\t\t\t}), n.push(t);\n\t\t}\n\t\tthis.beginContext({\n\t\t\ttabular: t.tabular,\n\t\t\troot: t.rootOnly\n\t\t});\n\t\tlet r = [], i = [], a = [], o = !1;\n\t\tdo\n\t\t\tif (this.end() && (this.onError({\n\t\t\t\tcode: \"unbalanced-environment\",\n\t\t\t\targ: e\n\t\t\t}), o = !0), !o && this.match(\"\\\\end\") && (this.scanArgument(\"string\") !== e && this.onError({\n\t\t\t\tcode: \"unbalanced-environment\",\n\t\t\t\targ: e\n\t\t\t}), o = !0), !o) {\n\t\t\t\tif (this.matchColumnSeparator()) a.push(this.mathlist), this.mathlist = [];\n\t\t\t\telse if (this.matchRowSeparator()) {\n\t\t\t\t\ta.push(this.mathlist), this.mathlist = [];\n\t\t\t\t\tlet e = null;\n\t\t\t\t\tthis.skipWhitespace(), this.match(\"[\") && (e = this.scanDimen(), this.skipWhitespace(), this.match(\"]\")), i.push(e ?? { dimension: 0 }), r.push(a), a = [];\n\t\t\t\t} else this.mathlist.push(...this.scan((e) => [\n\t\t\t\t\t\"<}>\",\n\t\t\t\t\t\"&\",\n\t\t\t\t\t\"\\\\end\",\n\t\t\t\t\t\"\\\\cr\",\n\t\t\t\t\t\"\\\\\\\\\",\n\t\t\t\t\t\"\\\\tabularnewline\"\n\t\t\t\t].includes(e)));\n\t\t\t}\n\t\twhile (!o);\n\t\treturn a.push(this.mathlist), a.length > 0 && r.push(a), this.endContext(), t.rootOnly && (this.index = this.tokens.length), t.createAtom(e, r, i, n, this.context.maxMatrixCols);\n\t}\n\tscanExpression() {\n\t\tlet e = this.mathlist;\n\t\tif (this.mathlist = [], this.parseExpression()) {\n\t\t\tlet t = this.mathlist;\n\t\t\treturn this.mathlist = e, t;\n\t\t}\n\t\treturn this.mathlist = e, null;\n\t}\n\tscan(e) {\n\t\tthis.beginContext(), e || (e = (e) => e === \"<}>\");\n\t\tlet t = \"\", n = null, r = [], i = null;\n\t\tfor (; !this.end() && !e(this.peek());) this.hasInfixCommand() && !t ? (t = this.get(), n = ft(t, \"math\"), n && (r = this.scanArguments(n)[1]), i = this.mathlist, this.mathlist = []) : this.parseExpression();\n\t\tlet a;\n\t\treturn t ? (r.unshift(this.mathlist), i && r.unshift(i), a = [n.createAtom({\n\t\t\tcommand: t,\n\t\t\targs: r,\n\t\t\tstyle: this.style,\n\t\t\tmode: this.parseMode\n\t\t})]) : a = this.mathlist, this.endContext(), a;\n\t}\n\tscanGroup() {\n\t\tlet e = this.index;\n\t\tif (!this.match(\"<{>\")) return null;\n\t\tlet t = this.scan((e) => e === \"<}>\");\n\t\tif (this.match(\"<}>\") || this.onError({ code: \"unbalanced-braces\" }), t.length === 1 && t[0].type === \"placeholder\") return t[0];\n\t\tlet n = new Wl(t, this.parseMode);\n\t\treturn n.verbatimLatex = ss(this.tokens.slice(e, this.index)), n;\n\t}\n\tscanSmartFence() {\n\t\tif (this.skipWhitespace(), !this.match(\"(\")) return null;\n\t\tthis.beginContext();\n\t\tlet e = 1;\n\t\tfor (; !this.end() && e !== 0;) this.match(\"(\") && (e += 1), this.match(\")\") && --e, e !== 0 && this.parseExpression();\n\t\tlet t = new R(\"\", this.mathlist, {\n\t\t\tleftDelim: \"(\",\n\t\t\trightDelim: e === 0 ? \")\" : \"?\"\n\t\t});\n\t\treturn this.endContext(), t;\n\t}\n\tscanDelim() {\n\t\tthis.skipWhitespace();\n\t\tlet e = this.peek();\n\t\tif (!e) return this.onError({ code: \"unexpected-end-of-string\" }), null;\n\t\tif (!Xl(e) && !e.startsWith(\"\\\\\")) return null;\n\t\tthis.next();\n\t\tlet t = ft(e, \"math\");\n\t\treturn t ? t.definitionType === \"function\" && t.ifMode && !t.ifMode.includes(this.parseMode) ? (this.onError({\n\t\t\tcode: \"unexpected-delimiter\",\n\t\t\targ: e\n\t\t}), null) : t.definitionType === \"symbol\" && (t.type === \"mopen\" || t.type === \"mclose\") || /^(\\.|\\?|\\||<|>|\\\\vert|\\\\Vert|\\\\\\||\\\\surd|\\\\uparrow|\\\\downarrow|\\\\Uparrow|\\\\Downarrow|\\\\updownarrow|\\\\Updownarrow|\\\\mid|\\\\mvert|\\\\mVert)$/.test(e) ? e : (this.onError({\n\t\t\tcode: \"unexpected-delimiter\",\n\t\t\targ: e\n\t\t}), null) : (this.onError({\n\t\t\tcode: \"unknown-command\",\n\t\t\targ: e\n\t\t}), null);\n\t}\n\tscanLeftRight() {\n\t\tif (this.match(\"\\\\right\")) return this.onError({ code: \"unbalanced-braces\" }), new Ul(\"\\\\right\");\n\t\tif (this.match(\"\\\\mright\")) return this.onError({ code: \"unbalanced-braces\" }), new Ul(\"\\\\mright\");\n\t\tlet e = \"\\\\right\";\n\t\tif (!this.match(\"\\\\left\")) {\n\t\t\tif (!this.match(\"\\\\mleft\")) return null;\n\t\t\te = \"\\\\mright\";\n\t\t}\n\t\tlet t = this.scanDelim();\n\t\tif (!t) return this.onError({ code: \"unexpected-delimiter\" }), new Ul(e === \"\\\\right\" ? \"\\\\left\" : \"\\\\mleft\");\n\t\tfor (this.beginContext(); !this.end() && !this.match(e);) this.parseExpression();\n\t\tlet n = this.mathlist;\n\t\tthis.endContext();\n\t\tlet r = this.scanDelim() ?? \".\";\n\t\treturn new R(e === \"\\\\right\" ? \"left...right\" : \"mleft...mright\", n, {\n\t\t\tleftDelim: t,\n\t\t\trightDelim: r,\n\t\t\tstyle: this.style\n\t\t});\n\t}\n\tparseSupSub() {\n\t\tif (this.parseMode !== \"math\") return !1;\n\t\tlet e = this.peek();\n\t\tif (e !== \"^\" && e !== \"_\" && e !== \"'\") return !1;\n\t\tlet t = this.lastSubsupAtom();\n\t\tfor (; e === \"^\" || e === \"_\" || e === \"'\";) this.match(\"'\") ? this.match(\"'\") ? t.addChild(new F({\n\t\t\ttype: \"mord\",\n\t\t\tcommand: \"\\\\doubleprime\",\n\t\t\tmode: \"math\",\n\t\t\tvalue: \"′′\"\n\t\t}), \"superscript\") : t.addChild(new F({\n\t\t\ttype: \"mord\",\n\t\t\tcommand: \"\\\\prime\",\n\t\t\tmode: \"math\",\n\t\t\tvalue: \"′\"\n\t\t}), \"superscript\") : (this.match(\"^\") || this.match(\"_\")) && t.addChildren(w(this.scanArgument(\"expression\")), e === \"_\" ? \"subscript\" : \"superscript\"), e = this.peek();\n\t\treturn !0;\n\t}\n\tparseLimits() {\n\t\tif (this.parseMode !== \"math\") return !1;\n\t\tlet e = this.match(\"\\\\limits\"), t = !e && this.match(\"\\\\nolimits\"), n = !t && !e && this.match(\"\\\\displaylimits\");\n\t\tif (!e && !t && !n) return !1;\n\t\tlet r = this.mathlist.length > 0 ? this.mathlist[this.mathlist.length - 1] : null;\n\t\treturn r !== null && (r.explicitSubsupPlacement = !0, e && (r.subsupPlacement = \"over-under\"), t && (r.subsupPlacement = \"adjacent\"), n && (r.subsupPlacement = \"auto\"), !0);\n\t}\n\tscanArguments(e) {\n\t\tif (!(e != null && e.params)) return [void 0, []];\n\t\tlet t, n = [], r = e.infix ? 2 : 0;\n\t\tfor (; r < e.params.length;) {\n\t\t\tlet i = e.params[r];\n\t\t\ti.type === \"rest\" ? n.push(this.scan((e) => [\n\t\t\t\t\"<}>\",\n\t\t\t\t\"&\",\n\t\t\t\t\"\\\\end\",\n\t\t\t\t\"\\\\cr\",\n\t\t\t\t\"\\\\\\\\\",\n\t\t\t\t\"\\\\tabularnewline\",\n\t\t\t\t\"\\\\right\"\n\t\t\t].includes(e))) : i.isOptional ? n.push(this.scanOptionalArgument(i.type)) : i.type.endsWith(\"*\") ? t = i.type.slice(0, -1) : n.push(this.scanArgument(i.type)), r += 1;\n\t\t}\n\t\treturn [t, n];\n\t}\n\tscanSymbolOrLiteral() {\n\t\tlet e = this.peek();\n\t\tif (!e) return null;\n\t\tthis.next();\n\t\tlet t;\n\t\tif (Xl(e)) {\n\t\t\tlet t = ls.createAtom(this.parseMode, e, s({}, this.style));\n\t\t\treturn t ? [t] : null;\n\t\t}\n\t\tif (t = this.scanMacro(e), t) return [t];\n\t\tif (e.startsWith(\"\\\\\")) {\n\t\t\tlet n = ft(e, this.parseMode);\n\t\t\tif (!n) return this.onError({\n\t\t\t\tcode: \"unknown-command\",\n\t\t\t\targ: e\n\t\t\t}), [new Ul(e)];\n\t\t\tif (n.definitionType === \"symbol\") {\n\t\t\t\tlet r = s({}, this.style);\n\t\t\t\tn.variant && (r.variant = n.variant), t = new F({\n\t\t\t\t\ttype: n.type,\n\t\t\t\t\tcommand: e,\n\t\t\t\t\tstyle: r,\n\t\t\t\t\tvalue: String.fromCodePoint(n.codepoint),\n\t\t\t\t\tmode: this.parseMode,\n\t\t\t\t\tverbatimLatex: e\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tif (n.applyMode || n.applyStyle || n.infix) return this.onError({\n\t\t\t\t\tcode: \"invalid-command\",\n\t\t\t\t\targ: e\n\t\t\t\t}), [new Ul(e)];\n\t\t\t\tn.createAtom && (t = n.createAtom({\n\t\t\t\t\tcommand: e,\n\t\t\t\t\targs: [],\n\t\t\t\t\tstyle: this.style,\n\t\t\t\t\tmode: this.parseMode\n\t\t\t\t}));\n\t\t\t}\n\t\t}\n\t\treturn t ? [t] : null;\n\t}\n\tscanArgument(e) {\n\t\tthis.skipFiller();\n\t\tlet t = this.parseMode;\n\t\tif (e === \"auto\" && (e = t), !this.match(\"<{>\")) {\n\t\t\tif (e === \"string\") return this.scanString();\n\t\t\tif (e === \"value\") return this.scanValue();\n\t\t\tif (e === \"delim\") return this.scanDelim() ?? \".\";\n\t\t\tif (e === \"expression\") return this.scanExpression();\n\t\t\tif (e === \"math\") {\n\t\t\t\te !== t && this.beginContext({ mode: \"math\" });\n\t\t\t\tlet n = this.scanSymbolOrLiteral();\n\t\t\t\treturn e !== t && this.endContext(), n;\n\t\t\t}\n\t\t\tif (e === \"text\") {\n\t\t\t\te !== t && this.beginContext({ mode: \"text\" });\n\t\t\t\tlet n = this.scanSymbolOrLiteral();\n\t\t\t\treturn e !== t && this.endContext(), n;\n\t\t\t}\n\t\t\treturn e === \"balanced-string\" ? null : e === \"rest\" ? this.scan((e) => [\n\t\t\t\t\"<}>\",\n\t\t\t\t\"&\",\n\t\t\t\t\"\\\\end\",\n\t\t\t\t\"\\\\cr\",\n\t\t\t\t\"\\\\\\\\\",\n\t\t\t\t\"\\\\tabularnewline\",\n\t\t\t\t\"\\\\right\"\n\t\t\t].includes(e)) : null;\n\t\t}\n\t\tif (e === \"text\") {\n\t\t\tthis.beginContext({ mode: \"text\" });\n\t\t\tdo\n\t\t\t\tthis.mathlist.push(...this.scan());\n\t\t\twhile (!this.match(\"<}>\") && !this.end());\n\t\t\tlet e = this.mathlist;\n\t\t\treturn this.endContext(), { group: e };\n\t\t}\n\t\tif (e === \"math\") {\n\t\t\tthis.beginContext({ mode: \"math\" });\n\t\t\tdo\n\t\t\t\tthis.mathlist.push(...this.scan());\n\t\t\twhile (!this.match(\"<}>\") && !this.end());\n\t\t\tlet e = this.mathlist;\n\t\t\treturn this.endContext(), { group: e };\n\t\t}\n\t\tif (e === \"rest\") {\n\t\t\tlet e = this.scan();\n\t\t\treturn this.match(\"<}>\") || this.onError({ code: \"unbalanced-braces\" }), { group: e };\n\t\t}\n\t\tlet n = null;\n\t\tif (e === \"expression\") {\n\t\t\tthis.beginContext({ mode: \"math\" });\n\t\t\tdo\n\t\t\t\tthis.mathlist.push(...this.scan());\n\t\t\twhile (!this.match(\"<}>\") && !this.end());\n\t\t\tlet e = this.mathlist;\n\t\t\treturn this.endContext(), { group: e };\n\t\t}\n\t\treturn e === \"string\" ? n = this.scanString() : e === \"balanced-string\" ? n = this.scanBalancedString() : e === \"colspec\" ? n = this.scanColspec() : e === \"value\" && (n = this.scanValue()), this.skipUntilToken(\"<}>\"), n;\n\t}\n\tscanOptionalArgument(e) {\n\t\tif (e = e === \"auto\" ? this.parseMode : e, this.skipFiller(), !this.match(\"[\")) return null;\n\t\tlet t = null;\n\t\tfor (; !this.end() && !this.match(\"]\");) if (e === \"string\") t = this.scanString();\n\t\telse if (e === \"value\") t = this.scanValue();\n\t\telse if (e === \"colspec\") t = this.scanColspec();\n\t\telse if (e === \"bbox\") {\n\t\t\tlet e = {}, n = this.scanString().toLowerCase().trim().split(/,(?![^(]*\\)(?:(?:[^(]*\\)){2})*[^\"]*$)/);\n\t\t\tfor (let t of n) {\n\t\t\t\tlet n = t.match(/^\\s*([\\d.]+)\\s*([a-z]{2})/);\n\t\t\t\tif (n) e.padding = {\n\t\t\t\t\tdimension: Number.parseFloat(n[1]),\n\t\t\t\t\tunit: n[2]\n\t\t\t\t};\n\t\t\t\telse {\n\t\t\t\t\tlet n = t.match(/^\\s*border\\s*:\\s*(.*)/);\n\t\t\t\t\tn ? e.border = n[1] : e.backgroundcolor = { string: t };\n\t\t\t\t}\n\t\t\t}\n\t\t\tt = e;\n\t\t} else e === \"math\" && (this.beginContext({ mode: \"math\" }), t = this.mathlist.concat(this.scan((e) => e === \"]\")), this.endContext());\n\t\treturn t;\n\t}\n\tscanSymbolOrCommand(e) {\n\t\tif (e === \"\\\\placeholder\") {\n\t\t\tlet e = this.scanOptionalArgument(\"string\"), t = this.scanOptionalArgument(\"math\"), n = F.serialize(t, { defaultMode: \"math\" }), r = [], i;\n\t\t\t!i && n === \"correct\" ? i = \"correct\" : !i && n === \"incorrect\" ? i = \"incorrect\" : n !== \"\" && (r = t);\n\t\t\tlet a = this.scanOptionalArgument(\"string\") === \"locked\", o = this.scanArgument(\"auto\"), s;\n\t\t\treturn s = o && Array.isArray(o) && o.length > 0 ? o : o && typeof o == \"object\" && \"group\" in o ? o.group : r, e ? [new Jl(e, i, a, s ?? r, {\n\t\t\t\tmode: this.parseMode,\n\t\t\t\tstyle: this.style\n\t\t\t})] : [new Cl({\n\t\t\t\tmode: this.parseMode,\n\t\t\t\tstyle: this.style\n\t\t\t})];\n\t\t}\n\t\tif (e === \"\\\\renewcommand\" || e === \"\\\\newcommand\" || e === \"\\\\providecommand\" || e === \"\\\\def\") {\n\t\t\tlet t = this.index, n = this.scanLiteralGroup() || this.next();\n\t\t\tif (!n) return null;\n\t\t\tif (this.context.registers[n.substring(1)]) {\n\t\t\t\tlet r = this.scanArgument(\"string\");\n\t\t\t\treturn r !== null && (this.context.registers[n.substring(1)] = r), [new F({\n\t\t\t\t\ttype: \"text\",\n\t\t\t\t\tvalue: \"\",\n\t\t\t\t\tverbatimLatex: A([e, ss(this.tokens.slice(t, this.index))])\n\t\t\t\t})];\n\t\t\t}\n\t\t}\n\t\tlet t = this.scanMacro(e);\n\t\tif (t) return [t];\n\t\tlet n = ft(e, this.parseMode);\n\t\tif (!n) return this.parseMode === \"text\" ? (/[a-zA-Z]/.test(this.peek() ?? \"\") && (e += \" \"), [...e].map((e) => new F({\n\t\t\ttype: \"text\",\n\t\t\tvalue: e,\n\t\t\tmode: \"text\",\n\t\t\tstyle: this.style\n\t\t}))) : (this.onError({\n\t\t\tcode: \"unknown-command\",\n\t\t\targ: e\n\t\t}), [new Ul(e)]);\n\t\tlet r = this.index;\n\t\tif (n.definitionType === \"symbol\") {\n\t\t\tlet r = s({}, this.style);\n\t\t\tn.variant && (r.variant = n.variant), t = new F({\n\t\t\t\ttype: n.type,\n\t\t\t\tcommand: e,\n\t\t\t\tstyle: r,\n\t\t\t\tvalue: String.fromCodePoint(n.codepoint),\n\t\t\t\tmode: this.parseMode\n\t\t\t});\n\t\t} else {\n\t\t\tif (n.ifMode && !n.ifMode.includes(this.parseMode)) return [];\n\t\t\tlet r = this.parseMode;\n\t\t\tn.applyMode && (this.parseMode = n.applyMode);\n\t\t\tlet i, a = [];\n\t\t\tif (n.parse ? a = n.parse(this) : [i, a] = this.scanArguments(n), this.parseMode = r, n.applyMode && !n.applyStyle && !n.createAtom) return w(a[0]);\n\t\t\tif (n.infix) return this.onError({\n\t\t\t\tcode: \"too-many-infix-commands\",\n\t\t\t\targ: e\n\t\t\t}), null;\n\t\t\tif (typeof n.createAtom == \"function\") t = n.createAtom({\n\t\t\t\tcommand: e,\n\t\t\t\targs: a,\n\t\t\t\tstyle: this.style,\n\t\t\t\tmode: this.parseMode\n\t\t\t}), i && (t.body = w(this.scanArgument(i)));\n\t\t\telse if (typeof n.applyStyle == \"function\") {\n\t\t\t\tlet t = n.applyStyle(this.style, e, a, this.context), r = this.parseMode;\n\t\t\t\tif (n.applyMode && (this.parseMode = n.applyMode), i) {\n\t\t\t\t\tlet e = this.style;\n\t\t\t\t\tthis.style = t;\n\t\t\t\t\tlet n = this.scanArgument(i);\n\t\t\t\t\treturn this.style = e, this.parseMode = r, w(n);\n\t\t\t\t}\n\t\t\t\tthis.style = t;\n\t\t\t} else t = new F({\n\t\t\t\ttype: \"mord\",\n\t\t\t\tcommand: n.command ?? e,\n\t\t\t\tstyle: s({}, this.style),\n\t\t\t\tvalue: e,\n\t\t\t\tmode: n.applyMode ?? this.parseMode\n\t\t\t});\n\t\t}\n\t\tif (!t) return null;\n\t\tif (t instanceof F && t.verbatimLatex === void 0 && !/^\\\\(llap|rlap|class|cssId|htmlData)$/.test(e)) {\n\t\t\tlet n = A([e, ss(this.tokens.slice(r, this.index))]);\n\t\t\tn && (t.verbatimLatex = n);\n\t\t}\n\t\tif (t.verbatimLatex === null && (t.verbatimLatex = void 0), t.isFunction && this.smartFence) {\n\t\t\tlet e = this.scanSmartFence();\n\t\t\tif (e) return [t, e];\n\t\t}\n\t\treturn [t];\n\t}\n\tscanSymbolCommandOrLiteral() {\n\t\tthis.expandUnicode();\n\t\tlet e = this.get();\n\t\tif (!e) return null;\n\t\tif (Xl(e)) {\n\t\t\tlet t = ls.createAtom(this.parseMode, e, s({}, this.style));\n\t\t\tif (!t) return null;\n\t\t\tif (t.isFunction && this.smartFence) {\n\t\t\t\tlet e = this.scanSmartFence();\n\t\t\t\tif (e) return [t, e];\n\t\t\t}\n\t\t\treturn [t];\n\t\t}\n\t\treturn e.startsWith(\"\\\\\") ? this.scanSymbolOrCommand(e) : e === \"<space>\" ? this.parseMode === \"text\" ? [new ic(\" \", \" \", this.style)] : null : (e === \"<}>\" ? this.onError({\n\t\t\tlatex: \"\",\n\t\t\tcode: \"unbalanced-braces\"\n\t\t}) : this.onError({\n\t\t\tlatex: \"\",\n\t\t\tcode: \"unexpected-token\",\n\t\t\targ: e\n\t\t}), null);\n\t}\n\tscanMacro(e) {\n\t\tlet t = this.context.getMacro(e);\n\t\tif (!t) return null;\n\t\tlet n = this.index, r = t.args, i = { \"?\": this.args?.call(this, \"?\") };\n\t\tfor (let e = 1; e <= r; e++) {\n\t\t\tlet t = this.scanLiteralGroup();\n\t\t\tif (!t) {\n\t\t\t\tlet e = this.index;\n\t\t\t\tthis.scanExpression(), t = ss(this.tokens.slice(e, this.index));\n\t\t\t}\n\t\t\ti[e] = t;\n\t\t}\n\t\treturn new Kl(e, {\n\t\t\texpand: t.expand,\n\t\t\tcaptureSelection: t.captureSelection,\n\t\t\targs: n === this.index ? null : ss(this.tokens.slice(n, this.index)),\n\t\t\tstyle: this.parsingContext.style,\n\t\t\tbody: Ql(t.def, {\n\t\t\t\tcontext: this.context,\n\t\t\t\tparseMode: this.parseMode,\n\t\t\t\targs: (e) => i[e],\n\t\t\t\tmathstyle: this.parsingContext.mathstyle,\n\t\t\t\tstyle: this.parsingContext.style\n\t\t\t})\n\t\t});\n\t}\n\tparseExpression() {\n\t\tlet e = this.scanEnvironment() ?? this.scanModeShift() ?? this.scanModeSet() ?? this.scanGroup() ?? this.scanLeftRight();\n\t\tif (e === null) {\n\t\t\tif (this.parseSupSub() || this.parseLimits()) return !0;\n\t\t\te = this.scanSymbolCommandOrLiteral();\n\t\t}\n\t\treturn e ? (x(e) ? this.mathlist.push(...e) : this.mathlist.push(e), !0) : !1;\n\t}\n};\nfunction Ql(e, t) {\n\tlet n = t?.args ?? void 0, r = new Zl(os(e, n), t?.context, {\n\t\targs: n,\n\t\tmathstyle: t?.mathstyle ?? \"displaystyle\",\n\t\tparseMode: t?.parseMode ?? \"math\",\n\t\tstyle: t?.style ?? {}\n\t}), i = [];\n\tfor (; !r.end();) i.push(...r.scan(() => !1));\n\treturn i;\n}\nfunction $l(e, t) {\n\tlet n = new Zl(os(e, null), t?.context, {\n\t\tmathstyle: \"displaystyle\",\n\t\tparseMode: t?.parseMode ?? \"math\"\n\t});\n\tfor (; !n.end();) n.scan();\n\treturn n.errors;\n}\nvar eu = class e extends F {\n\tconstructor(e, t) {\n\t\tsuper({ type: \"chem\" }, {\n\t\t\tcommand: e,\n\t\t\tmode: \"math\"\n\t\t});\n\t\tlet n = B.go(z.go(t, e === \"\\\\pu\" ? \"pu\" : \"ce\"), !1);\n\t\tthis.body = Ql(n), this._verbatimLatex = e + \"{\" + t + \"}\", this.arg = t, this.captureSelection = !0;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.command, t.arg);\n\t}\n\tset verbatimLatex(e) {}\n\tget verbatimLatex() {\n\t\treturn this._verbatimLatex;\n\t}\n\ttoJson() {\n\t\treturn c(s({}, super.toJson()), { arg: this.arg });\n\t}\n\trender(e) {\n\t\tlet t = F.createBox(e, this.body, { type: \"inner\" });\n\t\treturn this.caret && (t.caret = this.caret), this.bind(e, t);\n\t}\n\t_serialize(e) {\n\t\treturn this.verbatimLatex, this.verbatimLatex;\n\t}\n};\nE([\"ce\", \"pu\"], \"{chemformula:balanced-string}\", { createAtom: (e) => new eu(e.command, e.args[0] ?? \"\") });\nvar z = {\n\tgo: function(e, t) {\n\t\tif (!e) return [];\n\t\tt === void 0 && (t = \"ce\");\n\t\tvar n = \"0\", r = {};\n\t\tr.parenthesisLevel = 0, e = e.replace(/\\n/g, \" \"), e = e.replace(/[\\u2212\\u2013\\u2014\\u2010]/g, \"-\"), e = e.replace(/[\\u2026]/g, \"...\");\n\t\tfor (var i, a = 10, o = [];;) {\n\t\t\ti === e ? a-- : (a = 10, i = e);\n\t\t\tvar s = z.stateMachines[t], c = s.transitions[n] || s.transitions[\"*\"];\n\t\t\te: for (var l = 0; l < c.length; l++) {\n\t\t\t\tvar u = z.patterns.match_(c[l].pattern, e);\n\t\t\t\tif (u) {\n\t\t\t\t\tfor (var d = c[l].task, f = 0; f < d.action_.length; f++) {\n\t\t\t\t\t\tvar p;\n\t\t\t\t\t\tif (s.actions[d.action_[f].type_]) p = s.actions[d.action_[f].type_](r, u.match_, d.action_[f].option);\n\t\t\t\t\t\telse if (z.actions[d.action_[f].type_]) p = z.actions[d.action_[f].type_](r, u.match_, d.action_[f].option);\n\t\t\t\t\t\telse throw [\"MhchemBugA\", \"mhchem bug A. Please report. (\" + d.action_[f].type_ + \")\"];\n\t\t\t\t\t\tz.concatArray(o, p);\n\t\t\t\t\t}\n\t\t\t\t\tif (n = d.nextState || n, e.length > 0) {\n\t\t\t\t\t\tif (d.revisit || (e = u.remainder), !d.toContinue) break e;\n\t\t\t\t\t} else return o;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (a <= 0) throw [\"MhchemBugU\", \"mhchem bug U. Please report.\"];\n\t\t}\n\t},\n\tconcatArray: function(e, t) {\n\t\tif (t) {\n\t\t\tif (Object.prototype.toString.call(t) === \"[object Array]\") for (var n = 0; n < t.length; n++) e.push(t[n]);\n\t\t\telse e.push(t);\n\t\t}\n\t},\n\tpatterns: {\n\t\tpatterns: {\n\t\t\tempty: /^$/,\n\t\t\telse: /^./,\n\t\t\telse2: /^./,\n\t\t\tspace: /^\\s/,\n\t\t\t\"space A\": /^\\s(?=[A-Z\\\\$])/,\n\t\t\tspace$: /^\\s$/,\n\t\t\t\"a-z\": /^[a-z]/,\n\t\t\tx: /^x/,\n\t\t\tx$: /^x$/,\n\t\t\ti$: /^i$/,\n\t\t\tletters: /^(?:[a-zA-Z\\u03B1-\\u03C9\\u0391-\\u03A9?@]|(?:\\\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\\s+|\\{\\}|(?![a-zA-Z]))))+/,\n\t\t\t\"\\\\greek\": /^\\\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\\s+|\\{\\}|(?![a-zA-Z]))/,\n\t\t\t\"one lowercase latin letter $\": /^(?:([a-z])(?:$|[^a-zA-Z]))$/,\n\t\t\t\"$one lowercase latin letter$ $\": /^\\$(?:([a-z])(?:$|[^a-zA-Z]))\\$$/,\n\t\t\t\"one lowercase greek letter $\": /^(?:\\$?[\\u03B1-\\u03C9]\\$?|\\$?\\\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\\s*\\$?)(?:\\s+|\\{\\}|(?![a-zA-Z]))$/,\n\t\t\tdigits: /^[0-9]+/,\n\t\t\t\"-9.,9\": /^[+\\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\\.[0-9]+))/,\n\t\t\t\"-9.,9 no missing 0\": /^[+\\-]?[0-9]+(?:[.,][0-9]+)?/,\n\t\t\t\"(-)(9.,9)(e)(99)\": function(e) {\n\t\t\t\tvar t = e.match(/^(\\+\\-|\\+\\/\\-|\\+|\\-|\\\\pm\\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\\.[0-9]+))?(\\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\\.[0-9]+))\\))?(?:(?:([eE])|\\s*(\\*|x|\\\\times|\\u00D7)\\s*10\\^)([+\\-]?[0-9]+|\\{[+\\-]?[0-9]+\\}))?/);\n\t\t\t\treturn t && t[0] ? {\n\t\t\t\t\tmatch_: t.slice(1),\n\t\t\t\t\tremainder: e.substr(t[0].length)\n\t\t\t\t} : null;\n\t\t\t},\n\t\t\t\"(-)(9)^(-9)\": function(e) {\n\t\t\t\tvar t = e.match(/^(\\+\\-|\\+\\/\\-|\\+|\\-|\\\\pm\\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\\.[0-9]+)?)\\^([+\\-]?[0-9]+|\\{[+\\-]?[0-9]+\\})/);\n\t\t\t\treturn t && t[0] ? {\n\t\t\t\t\tmatch_: t.slice(1),\n\t\t\t\t\tremainder: e.substr(t[0].length)\n\t\t\t\t} : null;\n\t\t\t},\n\t\t\t\"state of aggregation $\": function(e) {\n\t\t\t\tvar t = z.patterns.findObserveGroups(e, \"\", /^\\([a-z]{1,3}(?=[\\),])/, \")\", \"\");\n\t\t\t\tif (t && t.remainder.match(/^($|[\\s,;\\)\\]\\}])/)) return t;\n\t\t\t\tvar n = e.match(/^(?:\\((?:\\\\ca\\s?)?\\$[amothc]\\$\\))/);\n\t\t\t\treturn n ? {\n\t\t\t\t\tmatch_: n[0],\n\t\t\t\t\tremainder: e.substr(n[0].length)\n\t\t\t\t} : null;\n\t\t\t},\n\t\t\t\"_{(state of aggregation)}$\": /^_\\{(\\([a-z]{1,3}\\))\\}/,\n\t\t\t\"{[(\": /^(?:\\\\\\{|\\[|\\()/,\n\t\t\t\")]}\": /^(?:\\)|\\]|\\\\\\})/,\n\t\t\t\", \": /^[,;]\\s*/,\n\t\t\t\",\": /^[,;]/,\n\t\t\t\".\": /^[.]/,\n\t\t\t\". \": /^([.\\u22C5\\u00B7\\u2022])\\s*/,\n\t\t\t\"...\": /^\\.\\.\\.(?=$|[^.])/,\n\t\t\t\"* \": /^([*])\\s*/,\n\t\t\t\"^{(...)}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"^{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"^($...$)\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"^\", \"$\", \"$\", \"\");\n\t\t\t},\n\t\t\t\"^a\": /^\\^([0-9]+|[^\\\\_])/,\n\t\t\t\"^\\\\x{}{}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"^\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\", \"\", \"{\", \"}\", \"\", !0);\n\t\t\t},\n\t\t\t\"^\\\\x{}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"^\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\");\n\t\t\t},\n\t\t\t\"^\\\\x\": /^\\^(\\\\[a-zA-Z]+)\\s*/,\n\t\t\t\"^(-1)\": /^\\^(-?\\d+)/,\n\t\t\t\"'\": /^'/,\n\t\t\t\"_{(...)}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"_{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"_($...$)\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"_\", \"$\", \"$\", \"\");\n\t\t\t},\n\t\t\t_9: /^_([+\\-]?[0-9]+|[^\\\\])/,\n\t\t\t\"_\\\\x{}{}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"_\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\", \"\", \"{\", \"}\", \"\", !0);\n\t\t\t},\n\t\t\t\"_\\\\x{}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"_\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\");\n\t\t\t},\n\t\t\t\"_\\\\x\": /^_(\\\\[a-zA-Z]+)\\s*/,\n\t\t\t\"^_\": /^(?:\\^(?=_)|\\_(?=\\^)|[\\^_]$)/,\n\t\t\t\"{}\": /^\\{\\}/,\n\t\t\t\"{...}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\", \"{\", \"}\", \"\");\n\t\t\t},\n\t\t\t\"{(...)}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"$...$\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\", \"$\", \"$\", \"\");\n\t\t\t},\n\t\t\t\"${(...)}$\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"${\", \"\", \"\", \"}$\");\n\t\t\t},\n\t\t\t\"$(...)$\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"$\", \"\", \"\", \"$\");\n\t\t\t},\n\t\t\t\"=<>\": /^[=<>]/,\n\t\t\t\"#\": /^[#\\u2261]/,\n\t\t\t\"+\": /^\\+/,\n\t\t\t\"-$\": /^-(?=[\\s_},;\\]/]|$|\\([a-z]+\\))/,\n\t\t\t\"-9\": /^-(?=[0-9])/,\n\t\t\t\"- orbital overlap\": /^-(?=(?:[spd]|sp)(?:$|[\\s,;\\)\\]\\}]))/,\n\t\t\t\"-\": /^-/,\n\t\t\t\"pm-operator\": /^(?:\\\\pm|\\$\\\\pm\\$|\\+-|\\+\\/-)/,\n\t\t\toperator: /^(?:\\+|(?:[\\-=<>]|<<|>>|\\\\approx|\\$\\\\approx\\$)(?=\\s|$|-?[0-9]))/,\n\t\t\tarrowUpDown: /^(?:v|\\(v\\)|\\^|\\(\\^\\))(?=$|[\\s,;\\)\\]\\}])/,\n\t\t\t\"\\\\bond{(...)}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\\\\bond{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"->\": /^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\\u2192\\u27F6\\u21CC])/,\n\t\t\tCMT: /^[CMT](?=\\[)/,\n\t\t\t\"[(...)]\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"[\", \"\", \"\", \"]\");\n\t\t\t},\n\t\t\t\"1st-level escape\": /^(&|\\\\\\\\|\\\\hline)\\s*/,\n\t\t\t\"\\\\,\": /^(?:\\\\[,\\ ;:])/,\n\t\t\t\"\\\\x{}{}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\", \"\", \"{\", \"}\", \"\", !0);\n\t\t\t},\n\t\t\t\"\\\\x{}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\", /^\\\\[a-zA-Z]+\\{/, \"}\", \"\");\n\t\t\t},\n\t\t\t\"\\\\ca\": /^\\\\ca(?:\\s+|(?![a-zA-Z]))/,\n\t\t\t\"\\\\x\": /^(?:\\\\[a-zA-Z]+\\s*|\\\\[_&{}%])/,\n\t\t\torbital: /^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,\n\t\t\tothers: /^[\\/~|]/,\n\t\t\t\"\\\\frac{(...)}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\\\\frac{\", \"\", \"\", \"}\", \"{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"\\\\overset{(...)}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\\\\overset{\", \"\", \"\", \"}\", \"{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"\\\\underset{(...)}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\\\\underset{\", \"\", \"\", \"}\", \"{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"\\\\underbrace{(...)}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\\\\underbrace{\", \"\", \"\", \"}_\", \"{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"\\\\color{(...)}0\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\\\\color{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"\\\\color{(...)}{(...)}1\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\\\\color{\", \"\", \"\", \"}\", \"{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"\\\\color(...){(...)}2\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\\\\color\", \"\\\\\", \"\", /^(?=\\{)/, \"{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\t\"\\\\ce{(...)}\": function(e) {\n\t\t\t\treturn z.patterns.findObserveGroups(e, \"\\\\ce{\", \"\", \"\", \"}\");\n\t\t\t},\n\t\t\toxidation$: /^(?:[+-][IVX]+|\\\\pm\\s*0|\\$\\\\pm\\$\\s*0)$/,\n\t\t\t\"d-oxidation$\": /^(?:[+-]?\\s?[IVX]+|\\\\pm\\s*0|\\$\\\\pm\\$\\s*0)$/,\n\t\t\t\"roman numeral\": /^[IVX]+/,\n\t\t\t\"1/2$\": /^[+\\-]?(?:[0-9]+|\\$[a-z]\\$|[a-z])\\/[0-9]+(?:\\$[a-z]\\$|[a-z])?$/,\n\t\t\tamount: function(e) {\n\t\t\t\tvar t;\n\t\t\t\tif (t = e.match(/^(?:(?:(?:\\([+\\-]?[0-9]+\\/[0-9]+\\)|[+\\-]?(?:[0-9]+|\\$[a-z]\\$|[a-z])\\/[0-9]+|[+\\-]?[0-9]+[.,][0-9]+|[+\\-]?\\.[0-9]+|[+\\-]?[0-9]+)(?:[a-z](?=\\s*[A-Z]))?)|[+\\-]?[a-z](?=\\s*[A-Z])|\\+(?!\\s))/), t) return {\n\t\t\t\t\tmatch_: t[0],\n\t\t\t\t\tremainder: e.substr(t[0].length)\n\t\t\t\t};\n\t\t\t\tvar n = z.patterns.findObserveGroups(e, \"\", \"$\", \"$\", \"\");\n\t\t\t\treturn n && (t = n.match_.match(/^\\$(?:\\(?[+\\-]?(?:[0-9]*[a-z]?[+\\-])?[0-9]*[a-z](?:[+\\-][0-9]*[a-z]?)?\\)?|\\+|-)\\$$/), t) ? {\n\t\t\t\t\tmatch_: t[0],\n\t\t\t\t\tremainder: e.substr(t[0].length)\n\t\t\t\t} : null;\n\t\t\t},\n\t\t\tamount2: function(e) {\n\t\t\t\treturn this.amount(e);\n\t\t\t},\n\t\t\t\"(KV letters),\": /^(?:[A-Z][a-z]{0,2}|i)(?=,)/,\n\t\t\tformula$: function(e) {\n\t\t\t\tif (e.match(/^\\([a-z]+\\)$/)) return null;\n\t\t\t\tvar t = e.match(/^(?:[a-z]|(?:[0-9\\ \\+\\-\\,\\.\\(\\)]+[a-z])+[0-9\\ \\+\\-\\,\\.\\(\\)]*|(?:[a-z][0-9\\ \\+\\-\\,\\.\\(\\)]+)+[a-z]?)$/);\n\t\t\t\treturn t ? {\n\t\t\t\t\tmatch_: t[0],\n\t\t\t\t\tremainder: e.substr(t[0].length)\n\t\t\t\t} : null;\n\t\t\t},\n\t\t\tuprightEntities: /^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,\n\t\t\t\"/\": /^\\s*(\\/)\\s*/,\n\t\t\t\"//\": /^\\s*(\\/\\/)\\s*/,\n\t\t\t\"*\": /^\\s*[*.]\\s*/\n\t\t},\n\t\tfindObserveGroups: function(e, t, n, r, i, a, o, s, c, l) {\n\t\t\tvar u = function(e, t) {\n\t\t\t\tif (typeof t == \"string\") return e.indexOf(t) === 0 ? t : null;\n\t\t\t\tvar n = e.match(t);\n\t\t\t\treturn n ? n[0] : null;\n\t\t\t}, d = function(e, t, n) {\n\t\t\t\tfor (var r = 0; t < e.length;) {\n\t\t\t\t\tvar i = e.charAt(t), a = u(e.substr(t), n);\n\t\t\t\t\tif (a !== null && r === 0) return {\n\t\t\t\t\t\tendMatchBegin: t,\n\t\t\t\t\t\tendMatchEnd: t + a.length\n\t\t\t\t\t};\n\t\t\t\t\tif (i === \"{\") r++;\n\t\t\t\t\telse if (i === \"}\") {\n\t\t\t\t\t\tif (r === 0) throw [\"ExtraCloseMissingOpen\", \"Extra close brace or missing open brace\"];\n\t\t\t\t\t\tr--;\n\t\t\t\t\t}\n\t\t\t\t\tt++;\n\t\t\t\t}\n\t\t\t\treturn null;\n\t\t\t}, f = u(e, t);\n\t\t\tif (f === null || (e = e.substr(f.length), f = u(e, n), f === null)) return null;\n\t\t\tvar p = d(e, f.length, r || i);\n\t\t\tif (p === null) return null;\n\t\t\tvar m = e.substring(0, r ? p.endMatchEnd : p.endMatchBegin);\n\t\t\tif (a || o) {\n\t\t\t\tvar h = this.findObserveGroups(e.substr(p.endMatchEnd), a, o, s, c);\n\t\t\t\tif (h === null) return null;\n\t\t\t\tvar g = [m, h.match_];\n\t\t\t\treturn {\n\t\t\t\t\tmatch_: l ? g.join(\"\") : g,\n\t\t\t\t\tremainder: h.remainder\n\t\t\t\t};\n\t\t\t}\n\t\t\treturn {\n\t\t\t\tmatch_: m,\n\t\t\t\tremainder: e.substr(p.endMatchEnd)\n\t\t\t};\n\t\t},\n\t\tmatch_: function(e, t) {\n\t\t\tvar n = z.patterns.patterns[e];\n\t\t\tif (n === void 0) throw [\"MhchemBugP\", \"mhchem bug P. Please report. (\" + e + \")\"];\n\t\t\tif (typeof n == \"function\") return z.patterns.patterns[e](t);\n\t\t\tvar r = t.match(n);\n\t\t\tif (r) {\n\t\t\t\tvar i;\n\t\t\t\treturn i = r[2] ? [r[1], r[2]] : r[1] ? r[1] : r[0], {\n\t\t\t\t\tmatch_: i,\n\t\t\t\t\tremainder: t.substr(r[0].length)\n\t\t\t\t};\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t},\n\tactions: {\n\t\t\"a=\": function(e, t) {\n\t\t\te.a = (e.a || \"\") + t;\n\t\t},\n\t\t\"b=\": function(e, t) {\n\t\t\te.b = (e.b || \"\") + t;\n\t\t},\n\t\t\"p=\": function(e, t) {\n\t\t\te.p = (e.p || \"\") + t;\n\t\t},\n\t\t\"o=\": function(e, t) {\n\t\t\te.o = (e.o || \"\") + t;\n\t\t},\n\t\t\"q=\": function(e, t) {\n\t\t\te.q = (e.q || \"\") + t;\n\t\t},\n\t\t\"d=\": function(e, t) {\n\t\t\te.d = (e.d || \"\") + t;\n\t\t},\n\t\t\"rm=\": function(e, t) {\n\t\t\te.rm = (e.rm || \"\") + t;\n\t\t},\n\t\t\"text=\": function(e, t) {\n\t\t\te.text_ = (e.text_ || \"\") + t;\n\t\t},\n\t\tinsert: function(e, t, n) {\n\t\t\treturn { type_: n };\n\t\t},\n\t\t\"insert+p1\": function(e, t, n) {\n\t\t\treturn {\n\t\t\t\ttype_: n,\n\t\t\t\tp1: t\n\t\t\t};\n\t\t},\n\t\t\"insert+p1+p2\": function(e, t, n) {\n\t\t\treturn {\n\t\t\t\ttype_: n,\n\t\t\t\tp1: t[0],\n\t\t\t\tp2: t[1]\n\t\t\t};\n\t\t},\n\t\tcopy: function(e, t) {\n\t\t\treturn t;\n\t\t},\n\t\trm: function(e, t) {\n\t\t\treturn {\n\t\t\t\ttype_: \"rm\",\n\t\t\t\tp1: t || \"\"\n\t\t\t};\n\t\t},\n\t\ttext: function(e, t) {\n\t\t\treturn z.go(t, \"text\");\n\t\t},\n\t\t\"{text}\": function(e, t) {\n\t\t\tvar n = [\"{\"];\n\t\t\treturn z.concatArray(n, z.go(t, \"text\")), n.push(\"}\"), n;\n\t\t},\n\t\t\"tex-math\": function(e, t) {\n\t\t\treturn z.go(t, \"tex-math\");\n\t\t},\n\t\t\"tex-math tight\": function(e, t) {\n\t\t\treturn z.go(t, \"tex-math tight\");\n\t\t},\n\t\tbond: function(e, t, n) {\n\t\t\treturn {\n\t\t\t\ttype_: \"bond\",\n\t\t\t\tkind_: n || t\n\t\t\t};\n\t\t},\n\t\t\"color0-output\": function(e, t) {\n\t\t\treturn {\n\t\t\t\ttype_: \"color0\",\n\t\t\t\tcolor: t[0]\n\t\t\t};\n\t\t},\n\t\tce: function(e, t) {\n\t\t\treturn z.go(t);\n\t\t},\n\t\t\"1/2\": function(e, t) {\n\t\t\tvar n = [];\n\t\t\tt.match(/^[+\\-]/) && (n.push(t.substr(0, 1)), t = t.substr(1));\n\t\t\tvar r = t.match(/^([0-9]+|\\$[a-z]\\$|[a-z])\\/([0-9]+)(\\$[a-z]\\$|[a-z])?$/);\n\t\t\treturn r[1] = r[1].replace(/\\$/g, \"\"), n.push({\n\t\t\t\ttype_: \"frac\",\n\t\t\t\tp1: r[1],\n\t\t\t\tp2: r[2]\n\t\t\t}), r[3] && (r[3] = r[3].replace(/\\$/g, \"\"), n.push({\n\t\t\t\ttype_: \"tex-math\",\n\t\t\t\tp1: r[3]\n\t\t\t})), n;\n\t\t},\n\t\t\"9,9\": function(e, t) {\n\t\t\treturn z.go(t, \"9,9\");\n\t\t}\n\t},\n\tcreateTransitions: function(e) {\n\t\tvar t, n, r, i, a = {};\n\t\tfor (t in e) for (n in e[t]) for (r = n.split(\"|\"), e[t][n].stateArray = r, i = 0; i < r.length; i++) a[r[i]] = [];\n\t\tfor (t in e) for (n in e[t]) for (r = e[t][n].stateArray || [], i = 0; i < r.length; i++) {\n\t\t\tvar o = e[t][n];\n\t\t\tif (o.action_) {\n\t\t\t\to.action_ = [].concat(o.action_);\n\t\t\t\tfor (var s = 0; s < o.action_.length; s++) typeof o.action_[s] == \"string\" && (o.action_[s] = { type_: o.action_[s] });\n\t\t\t} else o.action_ = [];\n\t\t\tfor (var c = t.split(\"|\"), l = 0; l < c.length; l++) if (r[i] === \"*\") for (var u in a) a[u].push({\n\t\t\t\tpattern: c[l],\n\t\t\t\ttask: o\n\t\t\t});\n\t\t\telse a[r[i]].push({\n\t\t\t\tpattern: c[l],\n\t\t\t\ttask: o\n\t\t\t});\n\t\t}\n\t\treturn a;\n\t},\n\tstateMachines: {}\n};\nz.stateMachines = {\n\tce: {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": { action_: \"output\" } },\n\t\t\telse: { \"0|1|2\": {\n\t\t\t\taction_: \"beginsWithBond=false\",\n\t\t\t\trevisit: !0,\n\t\t\t\ttoContinue: !0\n\t\t\t} },\n\t\t\toxidation$: { 0: { action_: \"oxidation-output\" } },\n\t\t\tCMT: {\n\t\t\t\tr: {\n\t\t\t\t\taction_: \"rdt=\",\n\t\t\t\t\tnextState: \"rt\"\n\t\t\t\t},\n\t\t\t\trd: {\n\t\t\t\t\taction_: \"rqt=\",\n\t\t\t\t\tnextState: \"rdt\"\n\t\t\t\t}\n\t\t\t},\n\t\t\tarrowUpDown: { \"0|1|2|as\": {\n\t\t\t\taction_: [\n\t\t\t\t\t\"sb=false\",\n\t\t\t\t\t\"output\",\n\t\t\t\t\t\"operator\"\n\t\t\t\t],\n\t\t\t\tnextState: \"1\"\n\t\t\t} },\n\t\t\tuprightEntities: { \"0|1|2\": {\n\t\t\t\taction_: [\"o=\", \"output\"],\n\t\t\t\tnextState: \"1\"\n\t\t\t} },\n\t\t\torbital: { \"0|1|2|3\": {\n\t\t\t\taction_: \"o=\",\n\t\t\t\tnextState: \"o\"\n\t\t\t} },\n\t\t\t\"->\": {\n\t\t\t\t\"0|1|2|3\": {\n\t\t\t\t\taction_: \"r=\",\n\t\t\t\t\tnextState: \"r\"\n\t\t\t\t},\n\t\t\t\t\"a|as\": {\n\t\t\t\t\taction_: [\"output\", \"r=\"],\n\t\t\t\t\tnextState: \"r\"\n\t\t\t\t},\n\t\t\t\t\"*\": {\n\t\t\t\t\taction_: [\"output\", \"r=\"],\n\t\t\t\t\tnextState: \"r\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"+\": {\n\t\t\t\to: {\n\t\t\t\t\taction_: \"d= kv\",\n\t\t\t\t\tnextState: \"d\"\n\t\t\t\t},\n\t\t\t\t\"d|D\": {\n\t\t\t\t\taction_: \"d=\",\n\t\t\t\t\tnextState: \"d\"\n\t\t\t\t},\n\t\t\t\tq: {\n\t\t\t\t\taction_: \"d=\",\n\t\t\t\t\tnextState: \"qd\"\n\t\t\t\t},\n\t\t\t\t\"qd|qD\": {\n\t\t\t\t\taction_: \"d=\",\n\t\t\t\t\tnextState: \"qd\"\n\t\t\t\t},\n\t\t\t\tdq: {\n\t\t\t\t\taction_: [\"output\", \"d=\"],\n\t\t\t\t\tnextState: \"d\"\n\t\t\t\t},\n\t\t\t\t3: {\n\t\t\t\t\taction_: [\n\t\t\t\t\t\t\"sb=false\",\n\t\t\t\t\t\t\"output\",\n\t\t\t\t\t\t\"operator\"\n\t\t\t\t\t],\n\t\t\t\t\tnextState: \"0\"\n\t\t\t\t}\n\t\t\t},\n\t\t\tamount: { \"0|2\": {\n\t\t\t\taction_: \"a=\",\n\t\t\t\tnextState: \"a\"\n\t\t\t} },\n\t\t\t\"pm-operator\": { \"0|1|2|a|as\": {\n\t\t\t\taction_: [\n\t\t\t\t\t\"sb=false\",\n\t\t\t\t\t\"output\",\n\t\t\t\t\t{\n\t\t\t\t\t\ttype_: \"operator\",\n\t\t\t\t\t\toption: \"\\\\pm\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\tnextState: \"0\"\n\t\t\t} },\n\t\t\toperator: { \"0|1|2|a|as\": {\n\t\t\t\taction_: [\n\t\t\t\t\t\"sb=false\",\n\t\t\t\t\t\"output\",\n\t\t\t\t\t\"operator\"\n\t\t\t\t],\n\t\t\t\tnextState: \"0\"\n\t\t\t} },\n\t\t\t\"-$\": {\n\t\t\t\t\"o|q\": {\n\t\t\t\t\taction_: [\"charge or bond\", \"output\"],\n\t\t\t\t\tnextState: \"qd\"\n\t\t\t\t},\n\t\t\t\td: {\n\t\t\t\t\taction_: \"d=\",\n\t\t\t\t\tnextState: \"d\"\n\t\t\t\t},\n\t\t\t\tD: {\n\t\t\t\t\taction_: [\"output\", {\n\t\t\t\t\t\ttype_: \"bond\",\n\t\t\t\t\t\toption: \"-\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"3\"\n\t\t\t\t},\n\t\t\t\tq: {\n\t\t\t\t\taction_: \"d=\",\n\t\t\t\t\tnextState: \"qd\"\n\t\t\t\t},\n\t\t\t\tqd: {\n\t\t\t\t\taction_: \"d=\",\n\t\t\t\t\tnextState: \"qd\"\n\t\t\t\t},\n\t\t\t\t\"qD|dq\": {\n\t\t\t\t\taction_: [\"output\", {\n\t\t\t\t\t\ttype_: \"bond\",\n\t\t\t\t\t\toption: \"-\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"3\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"-9\": { \"3|o\": {\n\t\t\t\taction_: [\"output\", {\n\t\t\t\t\ttype_: \"insert\",\n\t\t\t\t\toption: \"hyphen\"\n\t\t\t\t}],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"- orbital overlap\": {\n\t\t\t\to: {\n\t\t\t\t\taction_: [\"output\", {\n\t\t\t\t\t\ttype_: \"insert\",\n\t\t\t\t\t\toption: \"hyphen\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"2\"\n\t\t\t\t},\n\t\t\t\td: {\n\t\t\t\t\taction_: [\"output\", {\n\t\t\t\t\t\ttype_: \"insert\",\n\t\t\t\t\t\toption: \"hyphen\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"2\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"-\": {\n\t\t\t\t\"0|1|2\": {\n\t\t\t\t\taction_: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\t\t\toption: 1\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"beginsWithBond=true\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttype_: \"bond\",\n\t\t\t\t\t\t\toption: \"-\"\n\t\t\t\t\t\t}\n\t\t\t\t\t],\n\t\t\t\t\tnextState: \"3\"\n\t\t\t\t},\n\t\t\t\t3: { action_: {\n\t\t\t\t\ttype_: \"bond\",\n\t\t\t\t\toption: \"-\"\n\t\t\t\t} },\n\t\t\t\ta: {\n\t\t\t\t\taction_: [\"output\", {\n\t\t\t\t\t\ttype_: \"insert\",\n\t\t\t\t\t\toption: \"hyphen\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"2\"\n\t\t\t\t},\n\t\t\t\tas: {\n\t\t\t\t\taction_: [{\n\t\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\t\toption: 2\n\t\t\t\t\t}, {\n\t\t\t\t\t\ttype_: \"bond\",\n\t\t\t\t\t\toption: \"-\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"3\"\n\t\t\t\t},\n\t\t\t\tb: { action_: \"b=\" },\n\t\t\t\to: {\n\t\t\t\t\taction_: {\n\t\t\t\t\t\ttype_: \"- after o/d\",\n\t\t\t\t\t\toption: !1\n\t\t\t\t\t},\n\t\t\t\t\tnextState: \"2\"\n\t\t\t\t},\n\t\t\t\tq: {\n\t\t\t\t\taction_: {\n\t\t\t\t\t\ttype_: \"- after o/d\",\n\t\t\t\t\t\toption: !1\n\t\t\t\t\t},\n\t\t\t\t\tnextState: \"2\"\n\t\t\t\t},\n\t\t\t\t\"d|qd|dq\": {\n\t\t\t\t\taction_: {\n\t\t\t\t\t\ttype_: \"- after o/d\",\n\t\t\t\t\t\toption: !0\n\t\t\t\t\t},\n\t\t\t\t\tnextState: \"2\"\n\t\t\t\t},\n\t\t\t\t\"D|qD|p\": {\n\t\t\t\t\taction_: [\"output\", {\n\t\t\t\t\t\ttype_: \"bond\",\n\t\t\t\t\t\toption: \"-\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"3\"\n\t\t\t\t}\n\t\t\t},\n\t\t\tamount2: { \"1|3\": {\n\t\t\t\taction_: \"a=\",\n\t\t\t\tnextState: \"a\"\n\t\t\t} },\n\t\t\tletters: {\n\t\t\t\t\"0|1|2|3|a|as|b|p|bp|o\": {\n\t\t\t\t\taction_: \"o=\",\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t},\n\t\t\t\t\"q|dq\": {\n\t\t\t\t\taction_: [\"output\", \"o=\"],\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t},\n\t\t\t\t\"d|D|qd|qD\": {\n\t\t\t\t\taction_: \"o after d\",\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t}\n\t\t\t},\n\t\t\tdigits: {\n\t\t\t\to: {\n\t\t\t\t\taction_: \"q=\",\n\t\t\t\t\tnextState: \"q\"\n\t\t\t\t},\n\t\t\t\t\"d|D\": {\n\t\t\t\t\taction_: \"q=\",\n\t\t\t\t\tnextState: \"dq\"\n\t\t\t\t},\n\t\t\t\tq: {\n\t\t\t\t\taction_: [\"output\", \"o=\"],\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t},\n\t\t\t\ta: {\n\t\t\t\t\taction_: \"o=\",\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"space A\": { \"b|p|bp\": {} },\n\t\t\tspace: {\n\t\t\t\ta: { nextState: \"as\" },\n\t\t\t\t0: { action_: \"sb=false\" },\n\t\t\t\t\"1|2\": { action_: \"sb=true\" },\n\t\t\t\t\"r|rt|rd|rdt|rdq\": {\n\t\t\t\t\taction_: \"output\",\n\t\t\t\t\tnextState: \"0\"\n\t\t\t\t},\n\t\t\t\t\"*\": {\n\t\t\t\t\taction_: [\"output\", \"sb=true\"],\n\t\t\t\t\tnextState: \"1\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"1st-level escape\": {\n\t\t\t\t\"1|2\": { action_: [\"output\", {\n\t\t\t\t\ttype_: \"insert+p1\",\n\t\t\t\t\toption: \"1st-level escape\"\n\t\t\t\t}] },\n\t\t\t\t\"*\": {\n\t\t\t\t\taction_: [\"output\", {\n\t\t\t\t\t\ttype_: \"insert+p1\",\n\t\t\t\t\t\toption: \"1st-level escape\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"0\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"[(...)]\": {\n\t\t\t\t\"r|rt\": {\n\t\t\t\t\taction_: \"rd=\",\n\t\t\t\t\tnextState: \"rd\"\n\t\t\t\t},\n\t\t\t\t\"rd|rdt\": {\n\t\t\t\t\taction_: \"rq=\",\n\t\t\t\t\tnextState: \"rdq\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"...\": {\n\t\t\t\t\"o|d|D|dq|qd|qD\": {\n\t\t\t\t\taction_: [\"output\", {\n\t\t\t\t\t\ttype_: \"bond\",\n\t\t\t\t\t\toption: \"...\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"3\"\n\t\t\t\t},\n\t\t\t\t\"*\": {\n\t\t\t\t\taction_: [{\n\t\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\t\toption: 1\n\t\t\t\t\t}, {\n\t\t\t\t\t\ttype_: \"insert\",\n\t\t\t\t\t\toption: \"ellipsis\"\n\t\t\t\t\t}],\n\t\t\t\t\tnextState: \"1\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\". |* \": { \"*\": {\n\t\t\t\taction_: [\"output\", {\n\t\t\t\t\ttype_: \"insert\",\n\t\t\t\t\toption: \"addition compound\"\n\t\t\t\t}],\n\t\t\t\tnextState: \"1\"\n\t\t\t} },\n\t\t\t\"state of aggregation $\": { \"*\": {\n\t\t\t\taction_: [\"output\", \"state of aggregation\"],\n\t\t\t\tnextState: \"1\"\n\t\t\t} },\n\t\t\t\"{[(\": {\n\t\t\t\t\"a|as|o\": {\n\t\t\t\t\taction_: [\n\t\t\t\t\t\t\"o=\",\n\t\t\t\t\t\t\"output\",\n\t\t\t\t\t\t\"parenthesisLevel++\"\n\t\t\t\t\t],\n\t\t\t\t\tnextState: \"2\"\n\t\t\t\t},\n\t\t\t\t\"0|1|2|3\": {\n\t\t\t\t\taction_: [\n\t\t\t\t\t\t\"o=\",\n\t\t\t\t\t\t\"output\",\n\t\t\t\t\t\t\"parenthesisLevel++\"\n\t\t\t\t\t],\n\t\t\t\t\tnextState: \"2\"\n\t\t\t\t},\n\t\t\t\t\"*\": {\n\t\t\t\t\taction_: [\n\t\t\t\t\t\t\"output\",\n\t\t\t\t\t\t\"o=\",\n\t\t\t\t\t\t\"output\",\n\t\t\t\t\t\t\"parenthesisLevel++\"\n\t\t\t\t\t],\n\t\t\t\t\tnextState: \"2\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\")]}\": {\n\t\t\t\t\"0|1|2|3|b|p|bp|o\": {\n\t\t\t\t\taction_: [\"o=\", \"parenthesisLevel--\"],\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t},\n\t\t\t\t\"a|as|d|D|q|qd|qD|dq\": {\n\t\t\t\t\taction_: [\n\t\t\t\t\t\t\"output\",\n\t\t\t\t\t\t\"o=\",\n\t\t\t\t\t\t\"parenthesisLevel--\"\n\t\t\t\t\t],\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\", \": { \"*\": {\n\t\t\t\taction_: [\"output\", \"comma\"],\n\t\t\t\tnextState: \"0\"\n\t\t\t} },\n\t\t\t\"^_\": { \"*\": {} },\n\t\t\t\"^{(...)}|^($...$)\": {\n\t\t\t\t\"0|1|2|as\": {\n\t\t\t\t\taction_: \"b=\",\n\t\t\t\t\tnextState: \"b\"\n\t\t\t\t},\n\t\t\t\tp: {\n\t\t\t\t\taction_: \"b=\",\n\t\t\t\t\tnextState: \"bp\"\n\t\t\t\t},\n\t\t\t\t\"3|o\": {\n\t\t\t\t\taction_: \"d= kv\",\n\t\t\t\t\tnextState: \"D\"\n\t\t\t\t},\n\t\t\t\tq: {\n\t\t\t\t\taction_: \"d=\",\n\t\t\t\t\tnextState: \"qD\"\n\t\t\t\t},\n\t\t\t\t\"d|D|qd|qD|dq\": {\n\t\t\t\t\taction_: [\"output\", \"d=\"],\n\t\t\t\t\tnextState: \"D\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"^a|^\\\\x{}{}|^\\\\x{}|^\\\\x|'\": {\n\t\t\t\t\"0|1|2|as\": {\n\t\t\t\t\taction_: \"b=\",\n\t\t\t\t\tnextState: \"b\"\n\t\t\t\t},\n\t\t\t\tp: {\n\t\t\t\t\taction_: \"b=\",\n\t\t\t\t\tnextState: \"bp\"\n\t\t\t\t},\n\t\t\t\t\"3|o\": {\n\t\t\t\t\taction_: \"d= kv\",\n\t\t\t\t\tnextState: \"d\"\n\t\t\t\t},\n\t\t\t\tq: {\n\t\t\t\t\taction_: \"d=\",\n\t\t\t\t\tnextState: \"qd\"\n\t\t\t\t},\n\t\t\t\t\"d|qd|D|qD\": { action_: \"d=\" },\n\t\t\t\tdq: {\n\t\t\t\t\taction_: [\"output\", \"d=\"],\n\t\t\t\t\tnextState: \"d\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"_{(state of aggregation)}$\": { \"d|D|q|qd|qD|dq\": {\n\t\t\t\taction_: [\"output\", \"q=\"],\n\t\t\t\tnextState: \"q\"\n\t\t\t} },\n\t\t\t\"_{(...)}|_($...$)|_9|_\\\\x{}{}|_\\\\x{}|_\\\\x\": {\n\t\t\t\t\"0|1|2|as\": {\n\t\t\t\t\taction_: \"p=\",\n\t\t\t\t\tnextState: \"p\"\n\t\t\t\t},\n\t\t\t\tb: {\n\t\t\t\t\taction_: \"p=\",\n\t\t\t\t\tnextState: \"bp\"\n\t\t\t\t},\n\t\t\t\t\"3|o\": {\n\t\t\t\t\taction_: \"q=\",\n\t\t\t\t\tnextState: \"q\"\n\t\t\t\t},\n\t\t\t\t\"d|D\": {\n\t\t\t\t\taction_: \"q=\",\n\t\t\t\t\tnextState: \"dq\"\n\t\t\t\t},\n\t\t\t\t\"q|qd|qD|dq\": {\n\t\t\t\t\taction_: [\"output\", \"q=\"],\n\t\t\t\t\tnextState: \"q\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"=<>\": { \"0|1|2|3|a|as|o|q|d|D|qd|qD|dq\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 2\n\t\t\t\t}, \"bond\"],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"#\": { \"0|1|2|3|a|as|o\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 2\n\t\t\t\t}, {\n\t\t\t\t\ttype_: \"bond\",\n\t\t\t\t\toption: \"#\"\n\t\t\t\t}],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"{}\": { \"*\": {\n\t\t\t\taction_: {\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 1\n\t\t\t\t},\n\t\t\t\tnextState: \"1\"\n\t\t\t} },\n\t\t\t\"{...}\": {\n\t\t\t\t\"0|1|2|3|a|as|b|p|bp\": {\n\t\t\t\t\taction_: \"o=\",\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t},\n\t\t\t\t\"o|d|D|q|qd|qD|dq\": {\n\t\t\t\t\taction_: [\"output\", \"o=\"],\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"$...$\": {\n\t\t\t\ta: { action_: \"a=\" },\n\t\t\t\t\"0|1|2|3|as|b|p|bp|o\": {\n\t\t\t\t\taction_: \"o=\",\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t},\n\t\t\t\t\"as|o\": { action_: \"o=\" },\n\t\t\t\t\"q|d|D|qd|qD|dq\": {\n\t\t\t\t\taction_: [\"output\", \"o=\"],\n\t\t\t\t\tnextState: \"o\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"\\\\bond{(...)}\": { \"*\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 2\n\t\t\t\t}, \"bond\"],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"\\\\frac{(...)}\": { \"*\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 1\n\t\t\t\t}, \"frac-output\"],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"\\\\overset{(...)}\": { \"*\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 2\n\t\t\t\t}, \"overset-output\"],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"\\\\underset{(...)}\": { \"*\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 2\n\t\t\t\t}, \"underset-output\"],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"\\\\underbrace{(...)}\": { \"*\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 2\n\t\t\t\t}, \"underbrace-output\"],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"\\\\color{(...)}{(...)}1|\\\\color(...){(...)}2\": { \"*\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 2\n\t\t\t\t}, \"color-output\"],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"\\\\color{(...)}0\": { \"*\": { action_: [{\n\t\t\t\ttype_: \"output\",\n\t\t\t\toption: 2\n\t\t\t}, \"color0-output\"] } },\n\t\t\t\"\\\\ce{(...)}\": { \"*\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 2\n\t\t\t\t}, \"ce\"],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\t\"\\\\,\": { \"*\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 1\n\t\t\t\t}, \"copy\"],\n\t\t\t\tnextState: \"1\"\n\t\t\t} },\n\t\t\t\"\\\\x{}{}|\\\\x{}|\\\\x\": {\n\t\t\t\t\"0|1|2|3|a|as|b|p|bp|o|c0\": {\n\t\t\t\t\taction_: [\"o=\", \"output\"],\n\t\t\t\t\tnextState: \"3\"\n\t\t\t\t},\n\t\t\t\t\"*\": {\n\t\t\t\t\taction_: [\n\t\t\t\t\t\t\"output\",\n\t\t\t\t\t\t\"o=\",\n\t\t\t\t\t\t\"output\"\n\t\t\t\t\t],\n\t\t\t\t\tnextState: \"3\"\n\t\t\t\t}\n\t\t\t},\n\t\t\tothers: { \"*\": {\n\t\t\t\taction_: [{\n\t\t\t\t\ttype_: \"output\",\n\t\t\t\t\toption: 1\n\t\t\t\t}, \"copy\"],\n\t\t\t\tnextState: \"3\"\n\t\t\t} },\n\t\t\telse2: {\n\t\t\t\ta: {\n\t\t\t\t\taction_: \"a to o\",\n\t\t\t\t\tnextState: \"o\",\n\t\t\t\t\trevisit: !0\n\t\t\t\t},\n\t\t\t\tas: {\n\t\t\t\t\taction_: [\"output\", \"sb=true\"],\n\t\t\t\t\tnextState: \"1\",\n\t\t\t\t\trevisit: !0\n\t\t\t\t},\n\t\t\t\t\"r|rt|rd|rdt|rdq\": {\n\t\t\t\t\taction_: [\"output\"],\n\t\t\t\t\tnextState: \"0\",\n\t\t\t\t\trevisit: !0\n\t\t\t\t},\n\t\t\t\t\"*\": {\n\t\t\t\t\taction_: [\"output\", \"copy\"],\n\t\t\t\t\tnextState: \"3\"\n\t\t\t\t}\n\t\t\t}\n\t\t}),\n\t\tactions: {\n\t\t\t\"o after d\": function(e, t) {\n\t\t\t\tvar n;\n\t\t\t\tif ((e.d || \"\").match(/^[0-9]+$/)) {\n\t\t\t\t\tvar r = e.d;\n\t\t\t\t\te.d = void 0, n = this.output(e), e.b = r;\n\t\t\t\t} else n = this.output(e);\n\t\t\t\treturn z.actions[\"o=\"](e, t), n;\n\t\t\t},\n\t\t\t\"d= kv\": function(e, t) {\n\t\t\t\te.d = t, e.dType = \"kv\";\n\t\t\t},\n\t\t\t\"charge or bond\": function(e, t) {\n\t\t\t\tif (e.beginsWithBond) {\n\t\t\t\t\tvar n = [];\n\t\t\t\t\treturn z.concatArray(n, this.output(e)), z.concatArray(n, z.actions.bond(e, t, \"-\")), n;\n\t\t\t\t}\n\t\t\t\te.d = t;\n\t\t\t},\n\t\t\t\"- after o/d\": function(e, t, n) {\n\t\t\t\tvar r = z.patterns.match_(\"orbital\", e.o || \"\"), i = z.patterns.match_(\"one lowercase greek letter $\", e.o || \"\"), a = z.patterns.match_(\"one lowercase latin letter $\", e.o || \"\"), o = z.patterns.match_(\"$one lowercase latin letter$ $\", e.o || \"\"), s = t === \"-\" && (r && r.remainder === \"\" || i || a || o);\n\t\t\t\ts && !e.a && !e.b && !e.p && !e.d && !e.q && !r && a && (e.o = \"$\" + e.o + \"$\");\n\t\t\t\tvar c = [];\n\t\t\t\treturn s ? (z.concatArray(c, this.output(e)), c.push({ type_: \"hyphen\" })) : (r = z.patterns.match_(\"digits\", e.d || \"\"), n && r && r.remainder === \"\" ? (z.concatArray(c, z.actions[\"d=\"](e, t)), z.concatArray(c, this.output(e))) : (z.concatArray(c, this.output(e)), z.concatArray(c, z.actions.bond(e, t, \"-\")))), c;\n\t\t\t},\n\t\t\t\"a to o\": function(e) {\n\t\t\t\te.o = e.a, e.a = void 0;\n\t\t\t},\n\t\t\t\"sb=true\": function(e) {\n\t\t\t\te.sb = !0;\n\t\t\t},\n\t\t\t\"sb=false\": function(e) {\n\t\t\t\te.sb = !1;\n\t\t\t},\n\t\t\t\"beginsWithBond=true\": function(e) {\n\t\t\t\te.beginsWithBond = !0;\n\t\t\t},\n\t\t\t\"beginsWithBond=false\": function(e) {\n\t\t\t\te.beginsWithBond = !1;\n\t\t\t},\n\t\t\t\"parenthesisLevel++\": function(e) {\n\t\t\t\te.parenthesisLevel++;\n\t\t\t},\n\t\t\t\"parenthesisLevel--\": function(e) {\n\t\t\t\te.parenthesisLevel--;\n\t\t\t},\n\t\t\t\"state of aggregation\": function(e, t) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"state of aggregation\",\n\t\t\t\t\tp1: z.go(t, \"o\")\n\t\t\t\t};\n\t\t\t},\n\t\t\tcomma: function(e, t) {\n\t\t\t\tvar n = t.replace(/\\s*$/, \"\");\n\t\t\t\treturn n !== t && e.parenthesisLevel === 0 ? {\n\t\t\t\t\ttype_: \"comma enumeration L\",\n\t\t\t\t\tp1: n\n\t\t\t\t} : {\n\t\t\t\t\ttype_: \"comma enumeration M\",\n\t\t\t\t\tp1: n\n\t\t\t\t};\n\t\t\t},\n\t\t\toutput: function(e, t, n) {\n\t\t\t\tvar r;\n\t\t\t\tif (!e.r) r = [], !e.a && !e.b && !e.p && !e.o && !e.q && !e.d && !n || (e.sb && r.push({ type_: \"entitySkip\" }), !e.o && !e.q && !e.d && !e.b && !e.p && n !== 2 ? (e.o = e.a, e.a = void 0) : !e.o && !e.q && !e.d && (e.b || e.p) ? (e.o = e.a, e.d = e.b, e.q = e.p, e.a = e.b = e.p = void 0) : e.o && e.dType === \"kv\" && z.patterns.match_(\"d-oxidation$\", e.d || \"\") ? e.dType = \"oxidation\" : e.o && e.dType === \"kv\" && !e.q && (e.dType = void 0), r.push({\n\t\t\t\t\ttype_: \"chemfive\",\n\t\t\t\t\ta: z.go(e.a, \"a\"),\n\t\t\t\t\tb: z.go(e.b, \"bd\"),\n\t\t\t\t\tp: z.go(e.p, \"pq\"),\n\t\t\t\t\to: z.go(e.o, \"o\"),\n\t\t\t\t\tq: z.go(e.q, \"pq\"),\n\t\t\t\t\td: z.go(e.d, e.dType === \"oxidation\" ? \"oxidation\" : \"bd\"),\n\t\t\t\t\tdType: e.dType\n\t\t\t\t}));\n\t\t\t\telse {\n\t\t\t\t\tvar i = e.rdt === \"M\" ? z.go(e.rd, \"tex-math\") : e.rdt === \"T\" ? [{\n\t\t\t\t\t\ttype_: \"text\",\n\t\t\t\t\t\tp1: e.rd || \"\"\n\t\t\t\t\t}] : z.go(e.rd), a = e.rqt === \"M\" ? z.go(e.rq, \"tex-math\") : e.rqt === \"T\" ? [{\n\t\t\t\t\t\ttype_: \"text\",\n\t\t\t\t\t\tp1: e.rq || \"\"\n\t\t\t\t\t}] : z.go(e.rq);\n\t\t\t\t\tr = {\n\t\t\t\t\t\ttype_: \"arrow\",\n\t\t\t\t\t\tr: e.r,\n\t\t\t\t\t\trd: i,\n\t\t\t\t\t\trq: a\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tfor (var o in e) o !== \"parenthesisLevel\" && o !== \"beginsWithBond\" && delete e[o];\n\t\t\t\treturn r;\n\t\t\t},\n\t\t\t\"oxidation-output\": function(e, t) {\n\t\t\t\tvar n = [\"{\"];\n\t\t\t\treturn z.concatArray(n, z.go(t, \"oxidation\")), n.push(\"}\"), n;\n\t\t\t},\n\t\t\t\"frac-output\": function(e, t) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"frac-ce\",\n\t\t\t\t\tp1: z.go(t[0]),\n\t\t\t\t\tp2: z.go(t[1])\n\t\t\t\t};\n\t\t\t},\n\t\t\t\"overset-output\": function(e, t) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"overset\",\n\t\t\t\t\tp1: z.go(t[0]),\n\t\t\t\t\tp2: z.go(t[1])\n\t\t\t\t};\n\t\t\t},\n\t\t\t\"underset-output\": function(e, t) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"underset\",\n\t\t\t\t\tp1: z.go(t[0]),\n\t\t\t\t\tp2: z.go(t[1])\n\t\t\t\t};\n\t\t\t},\n\t\t\t\"underbrace-output\": function(e, t) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"underbrace\",\n\t\t\t\t\tp1: z.go(t[0]),\n\t\t\t\t\tp2: z.go(t[1])\n\t\t\t\t};\n\t\t\t},\n\t\t\t\"color-output\": function(e, t) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"color\",\n\t\t\t\t\tcolor1: t[0],\n\t\t\t\t\tcolor2: z.go(t[1])\n\t\t\t\t};\n\t\t\t},\n\t\t\t\"r=\": function(e, t) {\n\t\t\t\te.r = t;\n\t\t\t},\n\t\t\t\"rdt=\": function(e, t) {\n\t\t\t\te.rdt = t;\n\t\t\t},\n\t\t\t\"rd=\": function(e, t) {\n\t\t\t\te.rd = t;\n\t\t\t},\n\t\t\t\"rqt=\": function(e, t) {\n\t\t\t\te.rqt = t;\n\t\t\t},\n\t\t\t\"rq=\": function(e, t) {\n\t\t\t\te.rq = t;\n\t\t\t},\n\t\t\toperator: function(e, t, n) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"operator\",\n\t\t\t\t\tkind_: n || t\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t},\n\ta: {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": {} },\n\t\t\t\"1/2$\": { 0: { action_: \"1/2\" } },\n\t\t\telse: { 0: {\n\t\t\t\tnextState: \"1\",\n\t\t\t\trevisit: !0\n\t\t\t} },\n\t\t\t\"$(...)$\": { \"*\": {\n\t\t\t\taction_: \"tex-math tight\",\n\t\t\t\tnextState: \"1\"\n\t\t\t} },\n\t\t\t\",\": { \"*\": { action_: {\n\t\t\t\ttype_: \"insert\",\n\t\t\t\toption: \"commaDecimal\"\n\t\t\t} } },\n\t\t\telse2: { \"*\": { action_: \"copy\" } }\n\t\t}),\n\t\tactions: {}\n\t},\n\to: {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": {} },\n\t\t\t\"1/2$\": { 0: { action_: \"1/2\" } },\n\t\t\telse: { 0: {\n\t\t\t\tnextState: \"1\",\n\t\t\t\trevisit: !0\n\t\t\t} },\n\t\t\tletters: { \"*\": { action_: \"rm\" } },\n\t\t\t\"\\\\ca\": { \"*\": { action_: {\n\t\t\t\ttype_: \"insert\",\n\t\t\t\toption: \"circa\"\n\t\t\t} } },\n\t\t\t\"\\\\x{}{}|\\\\x{}|\\\\x\": { \"*\": { action_: \"copy\" } },\n\t\t\t\"${(...)}$|$(...)$\": { \"*\": { action_: \"tex-math\" } },\n\t\t\t\"{(...)}\": { \"*\": { action_: \"{text}\" } },\n\t\t\telse2: { \"*\": { action_: \"copy\" } }\n\t\t}),\n\t\tactions: {}\n\t},\n\ttext: {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": { action_: \"output\" } },\n\t\t\t\"{...}\": { \"*\": { action_: \"text=\" } },\n\t\t\t\"${(...)}$|$(...)$\": { \"*\": { action_: \"tex-math\" } },\n\t\t\t\"\\\\greek\": { \"*\": { action_: [\"output\", \"rm\"] } },\n\t\t\t\"\\\\,|\\\\x{}{}|\\\\x{}|\\\\x\": { \"*\": { action_: [\"output\", \"copy\"] } },\n\t\t\telse: { \"*\": { action_: \"text=\" } }\n\t\t}),\n\t\tactions: { output: function(e) {\n\t\t\tif (e.text_) {\n\t\t\t\tvar t = {\n\t\t\t\t\ttype_: \"text\",\n\t\t\t\t\tp1: e.text_\n\t\t\t\t};\n\t\t\t\tfor (var n in e) delete e[n];\n\t\t\t\treturn t;\n\t\t\t}\n\t\t} }\n\t},\n\tpq: {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": {} },\n\t\t\t\"state of aggregation $\": { \"*\": { action_: \"state of aggregation\" } },\n\t\t\ti$: { 0: {\n\t\t\t\tnextState: \"!f\",\n\t\t\t\trevisit: !0\n\t\t\t} },\n\t\t\t\"(KV letters),\": { 0: {\n\t\t\t\taction_: \"rm\",\n\t\t\t\tnextState: \"0\"\n\t\t\t} },\n\t\t\tformula$: { 0: {\n\t\t\t\tnextState: \"f\",\n\t\t\t\trevisit: !0\n\t\t\t} },\n\t\t\t\"1/2$\": { 0: { action_: \"1/2\" } },\n\t\t\telse: { 0: {\n\t\t\t\tnextState: \"!f\",\n\t\t\t\trevisit: !0\n\t\t\t} },\n\t\t\t\"${(...)}$|$(...)$\": { \"*\": { action_: \"tex-math\" } },\n\t\t\t\"{(...)}\": { \"*\": { action_: \"text\" } },\n\t\t\t\"a-z\": { f: { action_: \"tex-math\" } },\n\t\t\tletters: { \"*\": { action_: \"rm\" } },\n\t\t\t\"-9.,9\": { \"*\": { action_: \"9,9\" } },\n\t\t\t\",\": { \"*\": { action_: {\n\t\t\t\ttype_: \"insert+p1\",\n\t\t\t\toption: \"comma enumeration S\"\n\t\t\t} } },\n\t\t\t\"\\\\color{(...)}{(...)}1|\\\\color(...){(...)}2\": { \"*\": { action_: \"color-output\" } },\n\t\t\t\"\\\\color{(...)}0\": { \"*\": { action_: \"color0-output\" } },\n\t\t\t\"\\\\ce{(...)}\": { \"*\": { action_: \"ce\" } },\n\t\t\t\"\\\\,|\\\\x{}{}|\\\\x{}|\\\\x\": { \"*\": { action_: \"copy\" } },\n\t\t\telse2: { \"*\": { action_: \"copy\" } }\n\t\t}),\n\t\tactions: {\n\t\t\t\"state of aggregation\": function(e, t) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"state of aggregation subscript\",\n\t\t\t\t\tp1: z.go(t, \"o\")\n\t\t\t\t};\n\t\t\t},\n\t\t\t\"color-output\": function(e, t) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"color\",\n\t\t\t\t\tcolor1: t[0],\n\t\t\t\t\tcolor2: z.go(t[1], \"pq\")\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t},\n\tbd: {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": {} },\n\t\t\tx$: { 0: {\n\t\t\t\tnextState: \"!f\",\n\t\t\t\trevisit: !0\n\t\t\t} },\n\t\t\tformula$: { 0: {\n\t\t\t\tnextState: \"f\",\n\t\t\t\trevisit: !0\n\t\t\t} },\n\t\t\telse: { 0: {\n\t\t\t\tnextState: \"!f\",\n\t\t\t\trevisit: !0\n\t\t\t} },\n\t\t\t\"-9.,9 no missing 0\": { \"*\": { action_: \"9,9\" } },\n\t\t\t\".\": { \"*\": { action_: {\n\t\t\t\ttype_: \"insert\",\n\t\t\t\toption: \"electron dot\"\n\t\t\t} } },\n\t\t\t\"a-z\": { f: { action_: \"tex-math\" } },\n\t\t\tx: { \"*\": { action_: {\n\t\t\t\ttype_: \"insert\",\n\t\t\t\toption: \"KV x\"\n\t\t\t} } },\n\t\t\tletters: { \"*\": { action_: \"rm\" } },\n\t\t\t\"'\": { \"*\": { action_: {\n\t\t\t\ttype_: \"insert\",\n\t\t\t\toption: \"prime\"\n\t\t\t} } },\n\t\t\t\"${(...)}$|$(...)$\": { \"*\": { action_: \"tex-math\" } },\n\t\t\t\"{(...)}\": { \"*\": { action_: \"text\" } },\n\t\t\t\"\\\\color{(...)}{(...)}1|\\\\color(...){(...)}2\": { \"*\": { action_: \"color-output\" } },\n\t\t\t\"\\\\color{(...)}0\": { \"*\": { action_: \"color0-output\" } },\n\t\t\t\"\\\\ce{(...)}\": { \"*\": { action_: \"ce\" } },\n\t\t\t\"\\\\,|\\\\x{}{}|\\\\x{}|\\\\x\": { \"*\": { action_: \"copy\" } },\n\t\t\telse2: { \"*\": { action_: \"copy\" } }\n\t\t}),\n\t\tactions: { \"color-output\": function(e, t) {\n\t\t\treturn {\n\t\t\t\ttype_: \"color\",\n\t\t\t\tcolor1: t[0],\n\t\t\t\tcolor2: z.go(t[1], \"bd\")\n\t\t\t};\n\t\t} }\n\t},\n\toxidation: {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": {} },\n\t\t\t\"roman numeral\": { \"*\": { action_: \"roman-numeral\" } },\n\t\t\t\"${(...)}$|$(...)$\": { \"*\": { action_: \"tex-math\" } },\n\t\t\telse: { \"*\": { action_: \"copy\" } }\n\t\t}),\n\t\tactions: { \"roman-numeral\": function(e, t) {\n\t\t\treturn {\n\t\t\t\ttype_: \"roman numeral\",\n\t\t\t\tp1: t || \"\"\n\t\t\t};\n\t\t} }\n\t},\n\t\"tex-math\": {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": { action_: \"output\" } },\n\t\t\t\"\\\\ce{(...)}\": { \"*\": { action_: [\"output\", \"ce\"] } },\n\t\t\t\"{...}|\\\\,|\\\\x{}{}|\\\\x{}|\\\\x\": { \"*\": { action_: \"o=\" } },\n\t\t\telse: { \"*\": { action_: \"o=\" } }\n\t\t}),\n\t\tactions: { output: function(e) {\n\t\t\tif (e.o) {\n\t\t\t\tvar t = {\n\t\t\t\t\ttype_: \"tex-math\",\n\t\t\t\t\tp1: e.o\n\t\t\t\t};\n\t\t\t\tfor (var n in e) delete e[n];\n\t\t\t\treturn t;\n\t\t\t}\n\t\t} }\n\t},\n\t\"tex-math tight\": {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": { action_: \"output\" } },\n\t\t\t\"\\\\ce{(...)}\": { \"*\": { action_: [\"output\", \"ce\"] } },\n\t\t\t\"{...}|\\\\,|\\\\x{}{}|\\\\x{}|\\\\x\": { \"*\": { action_: \"o=\" } },\n\t\t\t\"-|+\": { \"*\": { action_: \"tight operator\" } },\n\t\t\telse: { \"*\": { action_: \"o=\" } }\n\t\t}),\n\t\tactions: {\n\t\t\t\"tight operator\": function(e, t) {\n\t\t\t\te.o = (e.o || \"\") + \"{\" + t + \"}\";\n\t\t\t},\n\t\t\toutput: function(e) {\n\t\t\t\tif (e.o) {\n\t\t\t\t\tvar t = {\n\t\t\t\t\t\ttype_: \"tex-math\",\n\t\t\t\t\t\tp1: e.o\n\t\t\t\t\t};\n\t\t\t\t\tfor (var n in e) delete e[n];\n\t\t\t\t\treturn t;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t\"9,9\": {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": {} },\n\t\t\t\",\": { \"*\": { action_: \"comma\" } },\n\t\t\telse: { \"*\": { action_: \"copy\" } }\n\t\t}),\n\t\tactions: { comma: function() {\n\t\t\treturn { type_: \"commaDecimal\" };\n\t\t} }\n\t},\n\tpu: {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": { action_: \"output\" } },\n\t\t\tspace$: { \"*\": { action_: [\"output\", \"space\"] } },\n\t\t\t\"{[(|)]}\": { \"0|a\": { action_: \"copy\" } },\n\t\t\t\"(-)(9)^(-9)\": { 0: {\n\t\t\t\taction_: \"number^\",\n\t\t\t\tnextState: \"a\"\n\t\t\t} },\n\t\t\t\"(-)(9.,9)(e)(99)\": { 0: {\n\t\t\t\taction_: \"enumber\",\n\t\t\t\tnextState: \"a\"\n\t\t\t} },\n\t\t\tspace: { \"0|a\": {} },\n\t\t\t\"pm-operator\": { \"0|a\": {\n\t\t\t\taction_: {\n\t\t\t\t\ttype_: \"operator\",\n\t\t\t\t\toption: \"\\\\pm\"\n\t\t\t\t},\n\t\t\t\tnextState: \"0\"\n\t\t\t} },\n\t\t\toperator: { \"0|a\": {\n\t\t\t\taction_: \"copy\",\n\t\t\t\tnextState: \"0\"\n\t\t\t} },\n\t\t\t\"//\": { d: {\n\t\t\t\taction_: \"o=\",\n\t\t\t\tnextState: \"/\"\n\t\t\t} },\n\t\t\t\"/\": { d: {\n\t\t\t\taction_: \"o=\",\n\t\t\t\tnextState: \"/\"\n\t\t\t} },\n\t\t\t\"{...}|else\": {\n\t\t\t\t\"0|d\": {\n\t\t\t\t\taction_: \"d=\",\n\t\t\t\t\tnextState: \"d\"\n\t\t\t\t},\n\t\t\t\ta: {\n\t\t\t\t\taction_: [\"space\", \"d=\"],\n\t\t\t\t\tnextState: \"d\"\n\t\t\t\t},\n\t\t\t\t\"/|q\": {\n\t\t\t\t\taction_: \"q=\",\n\t\t\t\t\tnextState: \"q\"\n\t\t\t\t}\n\t\t\t}\n\t\t}),\n\t\tactions: {\n\t\t\tenumber: function(e, t) {\n\t\t\t\tvar n = [];\n\t\t\t\treturn t[0] === \"+-\" || t[0] === \"+/-\" ? n.push(\"\\\\pm \") : t[0] && n.push(t[0]), t[1] && (z.concatArray(n, z.go(t[1], \"pu-9,9\")), t[2] && (t[2].match(/[,.]/) ? z.concatArray(n, z.go(t[2], \"pu-9,9\")) : n.push(t[2])), (t[3] || t[4]) && (t[3] === \"e\" || t[4] === \"*\" ? n.push({ type_: \"cdot\" }) : n.push({ type_: \"times\" }))), t[5] && n.push(\"10^{\" + t[5] + \"}\"), n;\n\t\t\t},\n\t\t\t\"number^\": function(e, t) {\n\t\t\t\tvar n = [];\n\t\t\t\treturn t[0] === \"+-\" || t[0] === \"+/-\" ? n.push(\"\\\\pm \") : t[0] && n.push(t[0]), z.concatArray(n, z.go(t[1], \"pu-9,9\")), n.push(\"^{\" + t[2] + \"}\"), n;\n\t\t\t},\n\t\t\toperator: function(e, t, n) {\n\t\t\t\treturn {\n\t\t\t\t\ttype_: \"operator\",\n\t\t\t\t\tkind_: n || t\n\t\t\t\t};\n\t\t\t},\n\t\t\tspace: function() {\n\t\t\t\treturn { type_: \"pu-space-1\" };\n\t\t\t},\n\t\t\toutput: function(e) {\n\t\t\t\tvar t, n = z.patterns.match_(\"{(...)}\", e.d || \"\");\n\t\t\t\tn && n.remainder === \"\" && (e.d = n.match_);\n\t\t\t\tvar r = z.patterns.match_(\"{(...)}\", e.q || \"\");\n\t\t\t\tif (r && r.remainder === \"\" && (e.q = r.match_), e.d && (e.d = e.d.replace(/\\u00B0C|\\^oC|\\^{o}C/g, \"{}^{\\\\circ}C\"), e.d = e.d.replace(/\\u00B0F|\\^oF|\\^{o}F/g, \"{}^{\\\\circ}F\")), e.q) {\n\t\t\t\t\te.q = e.q.replace(/\\u00B0C|\\^oC|\\^{o}C/g, \"{}^{\\\\circ}C\"), e.q = e.q.replace(/\\u00B0F|\\^oF|\\^{o}F/g, \"{}^{\\\\circ}F\");\n\t\t\t\t\tvar i = {\n\t\t\t\t\t\td: z.go(e.d, \"pu\"),\n\t\t\t\t\t\tq: z.go(e.q, \"pu\")\n\t\t\t\t\t};\n\t\t\t\t\te.o === \"//\" ? t = {\n\t\t\t\t\t\ttype_: \"pu-frac\",\n\t\t\t\t\t\tp1: i.d,\n\t\t\t\t\t\tp2: i.q\n\t\t\t\t\t} : (t = i.d, i.d.length > 1 || i.q.length > 1 ? t.push({ type_: \" / \" }) : t.push({ type_: \"/\" }), z.concatArray(t, i.q));\n\t\t\t\t} else t = z.go(e.d, \"pu-2\");\n\t\t\t\tfor (var a in e) delete e[a];\n\t\t\t\treturn t;\n\t\t\t}\n\t\t}\n\t},\n\t\"pu-2\": {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: { \"*\": { action_: \"output\" } },\n\t\t\t\"*\": { \"*\": {\n\t\t\t\taction_: [\"output\", \"cdot\"],\n\t\t\t\tnextState: \"0\"\n\t\t\t} },\n\t\t\t\"\\\\x\": { \"*\": { action_: \"rm=\" } },\n\t\t\tspace: { \"*\": {\n\t\t\t\taction_: [\"output\", \"space\"],\n\t\t\t\tnextState: \"0\"\n\t\t\t} },\n\t\t\t\"^{(...)}|^(-1)\": { 1: { action_: \"^(-1)\" } },\n\t\t\t\"-9.,9\": {\n\t\t\t\t0: {\n\t\t\t\t\taction_: \"rm=\",\n\t\t\t\t\tnextState: \"0\"\n\t\t\t\t},\n\t\t\t\t1: {\n\t\t\t\t\taction_: \"^(-1)\",\n\t\t\t\t\tnextState: \"0\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"{...}|else\": { \"*\": {\n\t\t\t\taction_: \"rm=\",\n\t\t\t\tnextState: \"1\"\n\t\t\t} }\n\t\t}),\n\t\tactions: {\n\t\t\tcdot: function() {\n\t\t\t\treturn { type_: \"tight cdot\" };\n\t\t\t},\n\t\t\t\"^(-1)\": function(e, t) {\n\t\t\t\te.rm += \"^{\" + t + \"}\";\n\t\t\t},\n\t\t\tspace: function() {\n\t\t\t\treturn { type_: \"pu-space-2\" };\n\t\t\t},\n\t\t\toutput: function(e) {\n\t\t\t\tvar t = [];\n\t\t\t\tif (e.rm) {\n\t\t\t\t\tvar n = z.patterns.match_(\"{(...)}\", e.rm || \"\");\n\t\t\t\t\tt = n && n.remainder === \"\" ? z.go(n.match_, \"pu\") : {\n\t\t\t\t\t\ttype_: \"rm\",\n\t\t\t\t\t\tp1: e.rm\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tfor (var r in e) delete e[r];\n\t\t\t\treturn t;\n\t\t\t}\n\t\t}\n\t},\n\t\"pu-9,9\": {\n\t\ttransitions: z.createTransitions({\n\t\t\tempty: {\n\t\t\t\t0: { action_: \"output-0\" },\n\t\t\t\to: { action_: \"output-o\" }\n\t\t\t},\n\t\t\t\",\": { 0: {\n\t\t\t\taction_: [\"output-0\", \"comma\"],\n\t\t\t\tnextState: \"o\"\n\t\t\t} },\n\t\t\t\".\": { 0: {\n\t\t\t\taction_: [\"output-0\", \"copy\"],\n\t\t\t\tnextState: \"o\"\n\t\t\t} },\n\t\t\telse: { \"*\": { action_: \"text=\" } }\n\t\t}),\n\t\tactions: {\n\t\t\tcomma: function() {\n\t\t\t\treturn { type_: \"commaDecimal\" };\n\t\t\t},\n\t\t\t\"output-0\": function(e) {\n\t\t\t\tvar t = [];\n\t\t\t\tif (e.text_ = e.text_ || \"\", e.text_.length > 4) {\n\t\t\t\t\tvar n = e.text_.length % 3;\n\t\t\t\t\tn === 0 && (n = 3);\n\t\t\t\t\tfor (var r = e.text_.length - 3; r > 0; r -= 3) t.push(e.text_.substr(r, 3)), t.push({ type_: \"1000 separator\" });\n\t\t\t\t\tt.push(e.text_.substr(0, n)), t.reverse();\n\t\t\t\t} else t.push(e.text_);\n\t\t\t\tfor (var i in e) delete e[i];\n\t\t\t\treturn t;\n\t\t\t},\n\t\t\t\"output-o\": function(e) {\n\t\t\t\tvar t = [];\n\t\t\t\tif (e.text_ = e.text_ || \"\", e.text_.length > 4) {\n\t\t\t\t\tfor (var n = e.text_.length - 3, r = 0; r < n; r += 3) t.push(e.text_.substr(r, 3)), t.push({ type_: \"1000 separator\" });\n\t\t\t\t\tt.push(e.text_.substr(r));\n\t\t\t\t} else t.push(e.text_);\n\t\t\t\tfor (var i in e) delete e[i];\n\t\t\t\treturn t;\n\t\t\t}\n\t\t}\n\t}\n};\nvar B = {\n\tgo: function(e, t) {\n\t\tif (!e) return \"\";\n\t\tfor (var n = \"\", r = !1, i = 0; i < e.length; i++) {\n\t\t\tvar a = e[i];\n\t\t\ttypeof a == \"string\" ? n += a : (n += B._go2(a), a.type_ === \"1st-level escape\" && (r = !0));\n\t\t}\n\t\treturn !t && !r && n && (n = \"{\" + n + \"}\"), n;\n\t},\n\t_goInner: function(e) {\n\t\treturn e && B.go(e, !0);\n\t},\n\t_go2: function(e) {\n\t\tvar t;\n\t\tswitch (e.type_) {\n\t\t\tcase \"chemfive\":\n\t\t\t\tt = \"\";\n\t\t\t\tvar n = {\n\t\t\t\t\ta: B._goInner(e.a),\n\t\t\t\t\tb: B._goInner(e.b),\n\t\t\t\t\tp: B._goInner(e.p),\n\t\t\t\t\to: B._goInner(e.o),\n\t\t\t\t\tq: B._goInner(e.q),\n\t\t\t\t\td: B._goInner(e.d)\n\t\t\t\t};\n\t\t\t\tn.a && (n.a.match(/^[+\\-]/) && (n.a = \"{\" + n.a + \"}\"), t += n.a + \"\\\\,\"), (n.b || n.p) && (t += \"{\\\\vphantom{X}}\", t += \"^{\\\\hphantom{\" + (n.b || \"\") + \"}}_{\\\\hphantom{\" + (n.p || \"\") + \"}}\", t += \"{\\\\vphantom{X}}\", t += \"^{\\\\smash[t]{\\\\vphantom{2}}\\\\llap{\" + (n.b || \"\") + \"}}\", t += \"_{\\\\vphantom{2}\\\\llap{\\\\smash[t]{\" + (n.p || \"\") + \"}}}\"), n.o && (n.o.match(/^[+\\-]/) && (n.o = \"{\" + n.o + \"}\"), t += n.o), e.dType === \"kv\" ? ((n.d || n.q) && (t += \"{\\\\vphantom{X}}\"), n.d && (t += \"^{\" + n.d + \"}\"), n.q && (t += \"_{\\\\smash[t]{\" + n.q + \"}}\")) : e.dType === \"oxidation\" ? (n.d && (t += \"{\\\\vphantom{X}}\", t += \"^{\" + n.d + \"}\"), n.q && (t += \"{\\\\vphantom{X}}\", t += \"_{\\\\smash[t]{\" + n.q + \"}}\")) : (n.q && (t += \"{\\\\vphantom{X}}\", t += \"_{\\\\smash[t]{\" + n.q + \"}}\"), n.d && (t += \"{\\\\vphantom{X}}\", t += \"^{\" + n.d + \"}\"));\n\t\t\t\tbreak;\n\t\t\tcase \"rm\":\n\t\t\t\tt = \"\\\\mathrm{\" + e.p1 + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"text\":\n\t\t\t\te.p1.match(/[\\^_]/) ? (e.p1 = e.p1.replace(\" \", \"~\").replace(\"-\", \"\\\\text{-}\"), t = \"\\\\mathrm{\" + e.p1 + \"}\") : t = \"\\\\text{\" + e.p1 + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"roman numeral\":\n\t\t\t\tt = \"\\\\mathrm{\" + e.p1 + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"state of aggregation\":\n\t\t\t\tt = \"\\\\mskip2mu \" + B._goInner(e.p1);\n\t\t\t\tbreak;\n\t\t\tcase \"state of aggregation subscript\":\n\t\t\t\tt = \"\\\\mskip1mu \" + B._goInner(e.p1);\n\t\t\t\tbreak;\n\t\t\tcase \"bond\":\n\t\t\t\tif (t = B._getBond(e.kind_), !t) throw [\"MhchemErrorBond\", \"mhchem Error. Unknown bond type (\" + e.kind_ + \")\"];\n\t\t\t\tbreak;\n\t\t\tcase \"frac\":\n\t\t\t\tvar r = \"\\\\frac{\" + e.p1 + \"}{\" + e.p2 + \"}\";\n\t\t\t\tt = \"\\\\mathchoice{\\\\textstyle\" + r + \"}{\" + r + \"}{\" + r + \"}{\" + r + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"pu-frac\":\n\t\t\t\tvar i = \"\\\\frac{\" + B._goInner(e.p1) + \"}{\" + B._goInner(e.p2) + \"}\";\n\t\t\t\tt = \"\\\\mathchoice{\\\\textstyle\" + i + \"}{\" + i + \"}{\" + i + \"}{\" + i + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"tex-math\":\n\t\t\t\tt = e.p1 + \" \";\n\t\t\t\tbreak;\n\t\t\tcase \"frac-ce\":\n\t\t\t\tt = \"\\\\frac{\" + B._goInner(e.p1) + \"}{\" + B._goInner(e.p2) + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"overset\":\n\t\t\t\tt = \"\\\\overset{\" + B._goInner(e.p1) + \"}{\" + B._goInner(e.p2) + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"underset\":\n\t\t\t\tt = \"\\\\underset{\" + B._goInner(e.p1) + \"}{\" + B._goInner(e.p2) + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"underbrace\":\n\t\t\t\tt = \"\\\\underbrace{\" + B._goInner(e.p1) + \"}_{\" + B._goInner(e.p2) + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"color\":\n\t\t\t\tt = \"{\\\\color{\" + e.color1 + \"}{\" + B._goInner(e.color2) + \"}}\";\n\t\t\t\tbreak;\n\t\t\tcase \"color0\":\n\t\t\t\tt = \"\\\\color{\" + e.color + \"}\";\n\t\t\t\tbreak;\n\t\t\tcase \"arrow\":\n\t\t\t\tvar a = {\n\t\t\t\t\trd: B._goInner(e.rd),\n\t\t\t\t\trq: B._goInner(e.rq)\n\t\t\t\t}, o = B._getArrow(e.r);\n\t\t\t\ta.rd || a.rq ? e.r === \"<=>\" || e.r === \"<=>>\" || e.r === \"<<=>\" || e.r === \"<-->\" ? (o = \"\\\\long\" + o, a.rd && (o = \"\\\\overset{\" + a.rd + \"}{\" + o + \"}\"), a.rq && (o = e.r === \"<-->\" ? \"\\\\underset{\\\\lower2mu{\" + a.rq + \"}}{\" + o + \"}\" : \"\\\\underset{\\\\lower6mu{\" + a.rq + \"}}{\" + o + \"}\"), o = \" {}\\\\mathrel{\" + o + \"}{} \") : (a.rq && (o += \"[{\" + a.rq + \"}]\"), o += \"{\" + a.rd + \"}\", o = \" {}\\\\mathrel{\\\\x\" + o + \"}{} \") : o = \" {}\\\\mathrel{\\\\long\" + o + \"}{} \", t = o;\n\t\t\t\tbreak;\n\t\t\tcase \"operator\":\n\t\t\t\tt = B._getOperator(e.kind_);\n\t\t\t\tbreak;\n\t\t\tcase \"1st-level escape\":\n\t\t\t\tt = e.p1 + \" \";\n\t\t\t\tbreak;\n\t\t\tcase \"space\":\n\t\t\t\tt = \" \";\n\t\t\t\tbreak;\n\t\t\tcase \"entitySkip\":\n\t\t\t\tt = \"~\";\n\t\t\t\tbreak;\n\t\t\tcase \"pu-space-1\":\n\t\t\t\tt = \"~\";\n\t\t\t\tbreak;\n\t\t\tcase \"pu-space-2\":\n\t\t\t\tt = \"\\\\mkern3mu \";\n\t\t\t\tbreak;\n\t\t\tcase \"1000 separator\":\n\t\t\t\tt = \"\\\\mkern2mu \";\n\t\t\t\tbreak;\n\t\t\tcase \"commaDecimal\":\n\t\t\t\tt = \"{,}\";\n\t\t\t\tbreak;\n\t\t\tcase \"comma enumeration L\":\n\t\t\t\tt = \"{\" + e.p1 + \"}\\\\mkern6mu \";\n\t\t\t\tbreak;\n\t\t\tcase \"comma enumeration M\":\n\t\t\t\tt = \"{\" + e.p1 + \"}\\\\mkern3mu \";\n\t\t\t\tbreak;\n\t\t\tcase \"comma enumeration S\":\n\t\t\t\tt = \"{\" + e.p1 + \"}\\\\mkern1mu \";\n\t\t\t\tbreak;\n\t\t\tcase \"hyphen\":\n\t\t\t\tt = \"\\\\text{-}\";\n\t\t\t\tbreak;\n\t\t\tcase \"addition compound\":\n\t\t\t\tt = \"\\\\,{\\\\cdot}\\\\,\";\n\t\t\t\tbreak;\n\t\t\tcase \"electron dot\":\n\t\t\t\tt = \"\\\\mkern1mu \\\\bullet\\\\mkern1mu \";\n\t\t\t\tbreak;\n\t\t\tcase \"KV x\":\n\t\t\t\tt = \"{\\\\times}\";\n\t\t\t\tbreak;\n\t\t\tcase \"prime\":\n\t\t\t\tt = \"\\\\prime \";\n\t\t\t\tbreak;\n\t\t\tcase \"cdot\":\n\t\t\t\tt = \"\\\\cdot \";\n\t\t\t\tbreak;\n\t\t\tcase \"tight cdot\":\n\t\t\t\tt = \"\\\\mkern1mu{\\\\cdot}\\\\mkern1mu \";\n\t\t\t\tbreak;\n\t\t\tcase \"times\":\n\t\t\t\tt = \"\\\\times \";\n\t\t\t\tbreak;\n\t\t\tcase \"circa\":\n\t\t\t\tt = \"{\\\\sim}\";\n\t\t\t\tbreak;\n\t\t\tcase \"^\":\n\t\t\t\tt = \"uparrow\";\n\t\t\t\tbreak;\n\t\t\tcase \"v\":\n\t\t\t\tt = \"downarrow\";\n\t\t\t\tbreak;\n\t\t\tcase \"ellipsis\":\n\t\t\t\tt = \"\\\\ldots \";\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tt = \"/\";\n\t\t\t\tbreak;\n\t\t\tcase \" / \":\n\t\t\t\tt = \"\\\\,/\\\\,\";\n\t\t\t\tbreak;\n\t\t\tdefault: throw [\"MhchemBugT\", \"mhchem bug T. Please report.\"];\n\t\t}\n\t\treturn t;\n\t},\n\t_getArrow: function(e) {\n\t\tswitch (e) {\n\t\t\tcase \"->\": return \"rightarrow\";\n\t\t\tcase \"→\": return \"rightarrow\";\n\t\t\tcase \"⟶\": return \"rightarrow\";\n\t\t\tcase \"<-\": return \"leftarrow\";\n\t\t\tcase \"<->\": return \"leftrightarrow\";\n\t\t\tcase \"<-->\": return \"leftrightarrows\";\n\t\t\tcase \"<=>\": return \"rightleftharpoons\";\n\t\t\tcase \"⇌\": return \"rightleftharpoons\";\n\t\t\tcase \"<=>>\": return \"Rightleftharpoons\";\n\t\t\tcase \"<<=>\": return \"Leftrightharpoons\";\n\t\t\tdefault: throw [\"MhchemBugT\", \"mhchem bug T. Please report.\"];\n\t\t}\n\t},\n\t_getBond: function(e) {\n\t\tswitch (e) {\n\t\t\tcase \"-\": return \"{-}\";\n\t\t\tcase \"1\": return \"{-}\";\n\t\t\tcase \"=\": return \"{=}\";\n\t\t\tcase \"2\": return \"{=}\";\n\t\t\tcase \"#\": return \"{\\\\equiv}\";\n\t\t\tcase \"3\": return \"{\\\\equiv}\";\n\t\t\tcase \"~\": return \"{\\\\tripledash}\";\n\t\t\tcase \"~-\": return \"{\\\\rlap{\\\\lower.1em{-}}\\\\raise.1em{\\\\tripledash}}\";\n\t\t\tcase \"~=\": return \"{\\\\rlap{\\\\lower.2em{-}}\\\\rlap{\\\\raise.2em{\\\\tripledash}}-}\";\n\t\t\tcase \"~--\": return \"{\\\\rlap{\\\\lower.2em{-}}\\\\rlap{\\\\raise.2em{\\\\tripledash}}-}\";\n\t\t\tcase \"-~-\": return \"{\\\\rlap{\\\\lower.2em{-}}\\\\rlap{\\\\raise.2em{-}}\\\\tripledash}\";\n\t\t\tcase \"...\": return \"{{\\\\cdot}{\\\\cdot}{\\\\cdot}}\";\n\t\t\tcase \"....\": return \"{{\\\\cdot}{\\\\cdot}{\\\\cdot}{\\\\cdot}}\";\n\t\t\tcase \"->\": return \"{\\\\rightarrow}\";\n\t\t\tcase \"<-\": return \"{\\\\leftarrow}\";\n\t\t\tcase \"<\": return \"{<}\";\n\t\t\tcase \">\": return \"{>}\";\n\t\t\tdefault: throw [\"MhchemBugT\", \"mhchem bug T. Please report.\"];\n\t\t}\n\t},\n\t_getOperator: function(e) {\n\t\tswitch (e) {\n\t\t\tcase \"+\": return \" {}+{} \";\n\t\t\tcase \"-\": return \" {}-{} \";\n\t\t\tcase \"=\": return \" {}={} \";\n\t\t\tcase \"<\": return \" {}<{} \";\n\t\t\tcase \">\": return \" {}>{} \";\n\t\t\tcase \"<<\": return \" {}\\\\ll{} \";\n\t\t\tcase \">>\": return \" {}\\\\gg{} \";\n\t\t\tcase \"\\\\pm\": return \" {}\\\\pm{} \";\n\t\t\tcase \"\\\\approx\": return \" {}\\\\approx{} \";\n\t\t\tcase \"$\\\\approx$\": return \" {}\\\\approx{} \";\n\t\t\tcase \"v\": return \" \\\\downarrow{} \";\n\t\t\tcase \"(v)\": return \" \\\\downarrow{} \";\n\t\t\tcase \"^\": return \" \\\\uparrow{} \";\n\t\t\tcase \"(^)\": return \" \\\\uparrow{} \";\n\t\t\tdefault: throw [\"MhchemBugT\", \"mhchem bug T. Please report.\"];\n\t\t}\n\t}\n}, tu = class e extends F {\n\tconstructor(e) {\n\t\tsuper(c(s({}, e), { type: \"delim\" })), this.value = e.delim, this.size = e.size;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t);\n\t}\n\ttoJson() {\n\t\treturn c(s({}, super.toJson()), {\n\t\t\tdelim: this.value,\n\t\t\tsize: this.size\n\t\t});\n\t}\n\trender(e) {\n\t\treturn new M(this.value, { type: \"middle\" });\n\t}\n\t_serialize(e) {\n\t\tif (!(e.expandMacro || e.skipStyles || e.skipPlaceholders) && typeof this.verbatimLatex == \"string\") return this.verbatimLatex;\n\t\tlet t = ft(this.command, this.mode);\n\t\treturn t != null && t.serialize ? t.serialize(this, e) : j(this.command, this.value);\n\t}\n}, nu = class e extends F {\n\tconstructor(e) {\n\t\tsuper(c(s({}, e), {\n\t\t\ttype: \"sizeddelim\",\n\t\t\tvalue: e.delim\n\t\t})), this.delimType = e.delimType, this.size = e.size;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t);\n\t}\n\ttoJson() {\n\t\treturn c(s({}, super.toJson()), {\n\t\t\tdelim: this.value,\n\t\t\tsize: this.size,\n\t\t\tdelimType: this.delimType\n\t\t});\n\t}\n\trender(e) {\n\t\tlet t = ml(this.value, this.size, e, {\n\t\t\tclasses: {\n\t\t\t\topen: \"ML__open\",\n\t\t\t\tclose: \"ML__close\"\n\t\t\t}[this.delimType],\n\t\t\ttype: this.delimType,\n\t\t\tisSelected: this.isSelected\n\t\t});\n\t\treturn t ? (t = this.bind(e, t), this.caret && (t.caret = this.caret), t) : null;\n\t}\n\t_serialize(e) {\n\t\tif (!(e.expandMacro || e.skipStyles || e.skipPlaceholders) && typeof this.verbatimLatex == \"string\") return this.verbatimLatex;\n\t\tlet t = ft(this.command, this.mode);\n\t\treturn t != null && t.serialize ? t.serialize(this, e) : j(this.command, this.value);\n\t}\n};\nfunction ru(e) {\n\treturn e.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/</g, \"<\").replace(/>/g, \">\");\n}\nvar iu = class e extends F {\n\tconstructor(e, t, n, r) {\n\t\tsuper({\n\t\t\ttype: \"enclose\",\n\t\t\tcommand: e,\n\t\t\tstyle: r.style\n\t\t}), this.body = t, this.backgroundcolor = r.backgroundcolor, n.updiagonalarrow && (n.updiagonalstrike = !1), n.box && (n.left = !1, n.right = !1, n.bottom = !1, n.top = !1), this.notation = n, this.shadow = r.shadow ?? \"none\", this.strokeWidth = r.strokeWidth ?? \"0.06em\", this.strokeWidth || (this.strokeWidth = \"0.06em\"), this.strokeStyle = r.strokeStyle, this.svgStrokeStyle = r.svgStrokeStyle, this.strokeColor = r.strokeColor, this.borderStyle = r.borderStyle, this.padding = r.padding, this.captureSelection = !1;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.command, t.body, t.notation, t);\n\t}\n\ttoJson() {\n\t\treturn c(s({}, super.toJson()), {\n\t\t\tnotation: this.notation,\n\t\t\tshadow: this.shadow,\n\t\t\tstrokeWidth: this.strokeWidth,\n\t\t\tstrokeStyle: this.strokeStyle,\n\t\t\tsvgStrokeStyle: this.svgStrokeStyle,\n\t\t\tstrokeColor: this.strokeColor,\n\t\t\tborderStyle: this.borderStyle,\n\t\t\tpadding: this.padding\n\t\t});\n\t}\n\t_serialize(e) {\n\t\tif (!(e.expandMacro || e.skipStyles || e.skipPlaceholders) && typeof this.verbatimLatex == \"string\") return this.verbatimLatex;\n\t\tlet t = ft(this.command, this.mode);\n\t\tif (t != null && t.serialize) return t.serialize(this, e);\n\t\tlet n = this.command ?? \"\";\n\t\tif (this.command === \"\\\\enclose\") {\n\t\t\tn += \"{\" + Object.keys(this.notation).join(\" \") + \"}\";\n\t\t\tlet e = \"\", t = \"\";\n\t\t\tthis.backgroundcolor && this.backgroundcolor !== \"transparent\" && (e += t + \"mathbackground=\\\"\" + this.backgroundcolor + \"\\\"\", t = \",\"), this.shadow && this.shadow !== \"auto\" && (e += t + \"shadow=\\\"\" + this.shadow + \"\\\"\", t = \",\"), this.strokeWidth || this.strokeStyle !== \"solid\" ? (e += t + this.borderStyle, t = \",\") : this.strokeColor && this.strokeColor !== \"currentColor\" && (e += t + \"mathcolor=\\\"\" + this.strokeColor + \"\\\"\", t = \",\"), e && (n += `[${e}]`);\n\t\t}\n\t\treturn j(n, this.bodyToLatex(e));\n\t}\n\trender(e) {\n\t\tlet t = new P({ parent: e }, this.style), n = F.createBox(t, this.body);\n\t\tif (!n) return null;\n\t\tlet r = ou(this.borderStyle), i = t.toEm(!this.padding || this.padding === \"auto\" ? { register: \"fboxsep\" } : { string: this.padding });\n\t\tn.setStyle(\"position\", \"relative\"), n.setStyle(\"display\", \"inline-block\"), n.setStyle(\"height\", n.height + n.depth, \"em\"), n.setStyle(\"width\", n.width, \"em\");\n\t\tlet a = new M(null, { classes: \"ML__notation\" }), o = n.height + n.depth + 2 * i, s = n.width + 2 * i, c = \"\", l = Math.min(i * .2, .05);\n\t\tif (this.notation.horizontalstrike) {\n\t\t\tlet e = 2 * i + n.height - zo / 2;\n\t\t\tc += this.line((i + l).toString(), e.toString(), (i + n.width - l).toString(), e.toString());\n\t\t}\n\t\tif (this.notation.verticalstrike) {\n\t\t\tlet e = i + n.width / 2;\n\t\t\tc += this.line(e.toString(), (i + l).toString(), e.toString(), (o - i - l).toString());\n\t\t}\n\t\tif (this.notation.updiagonalstrike && (c += this.line((i + l).toString(), (o - i - l).toString(), (i + n.width - l).toString(), (i + l).toString())), this.notation.downdiagonalstrike && (c += this.line((i + l).toString(), (i + l).toString(), (i + n.width - l).toString(), (o - i - l).toString())), this.notation.updiagonalarrow) {\n\t\t\tc += this.line(i.toString(), (2 * i + n.depth + n.height).toString(), (i + n.width).toString(), i.toString());\n\t\t\tlet e = .03 * Math.sqrt(s * s + o * o) * 1, t = n.width * e, r = (n.depth + n.height) * e, a = i + n.width, l = i;\n\t\t\tl + r - .4 * t < 0 && (l = .4 * t - r), c += \"<polygon points=\\\"\", c += `${a},${l} ${a - t - .4 * r},${l + r - .4 * t} `, c += `${a - .7 * t},${l + .7 * r} ${a - t + .4 * r},${l + r + .4 * t} `, c += `${a},${l}`, c += `\" stroke='none' fill=\"${ru(this.strokeColor ?? \"\")}\"`, c += \"/>\";\n\t\t}\n\t\tlet u = 0;\n\t\tif (this.notation.phasorangle) {\n\t\t\tlet e = cu(t), r = (n.height + n.depth + 2 * e + 2 * i).toString(), a = (n.height + n.depth) / 2;\n\t\t\tc += this.line(i.toString(), r, (i + a + n.width).toString(), r), c += this.line(i.toString(), r, (i + a).toString(), (i - e).toString()), o += e, u = a, n.left += o / 2 - i;\n\t\t}\n\t\tif (this.notation.longdiv) {\n\t\t\tlet e = cu(t);\n\t\t\to += e, c += this.line(i.toString(), i.toString(), (i + n.width).toString(), i.toString());\n\t\t\tlet r = .3;\n\t\t\tu = r + e, n.left += r + e, n.setTop(i + e), c += \"<path d=\\\"\", c += `M ${i} ${i} a${r} ${(n.depth + n.height + 2 * e) / 2}, 0, 1, 1, 0 ${n.depth + n.height + 2 * e} \"`, c += ` stroke-width=\"${su(t)}\" stroke=\"${ru(this.strokeColor ?? \"\")}\" fill=\"none\"`, c += \"/>\";\n\t\t}\n\t\tif (a.width = n.width + 2 * i + u, a.height = n.height + 2 * i, a.depth = n.depth, a.setStyle(\"box-sizing\", \"border-box\"), a.setStyle(\"left\", `calc(-1 * ${r} - ${i}em)`), a.setStyle(\"height\", `calc( ${n.height + n.depth + 2 * i}em + ${r})`), a.setStyle(\"top\", \"0em\"), a.setStyle(\"width\", `calc(${n.width + 2 * i}em + ${r})`), this.backgroundcolor && a.setStyle(\"background-color\", this.backgroundcolor), this.notation.box && a.setStyle(\"border\", \"1px solid red\"), this.notation.actuarial && (a.setStyle(\"border-top\", this.borderStyle), a.setStyle(\"border-right\", this.borderStyle)), this.notation.madruwb && (a.setStyle(\"border-bottom\", this.borderStyle), a.setStyle(\"border-right\", this.borderStyle)), this.notation.roundedbox && (a.setStyle(\"border-radius\", \"8px\"), a.setStyle(\"border\", this.borderStyle)), this.notation.circle && (a.setStyle(\"border-radius\", \"50%\"), a.setStyle(\"border\", this.borderStyle)), this.notation.top && a.setStyle(\"border-top\", this.borderStyle), this.notation.left && a.setStyle(\"border-left\", this.borderStyle), this.notation.right && a.setStyle(\"border-right\", this.borderStyle), this.notation.bottom && a.setStyle(\"border-bottom\", this.borderStyle), c) {\n\t\t\tlet e = \"\";\n\t\t\tthis.shadow === \"auto\" && (e += \"filter: drop-shadow(0 0 .5px rgba(255, 255, 255, .7)) drop-shadow(1px 1px 2px #333)\"), this.shadow !== \"none\" && (e += `filter: drop-shadow(${ru(this.shadow ?? \"\")})`), e += ` stroke-width=\"${ru(this.strokeWidth ?? \"\")}\" stroke=\"${ru(this.strokeColor ?? \"\")}\"`, e += \" stroke-linecap=\\\"round\\\"\", this.svgStrokeStyle && (e += ` stroke-dasharray=\"${ru(this.svgStrokeStyle)}\"`), a.svgStyle = e, a.svgOverlay = c;\n\t\t}\n\t\tlet d = new M([a, n]);\n\t\treturn d.setStyle(\"position\", \"relative\"), d.setStyle(\"height\", `${Math.floor(100 * (a.depth + a.height)) / 100}em`), d.setStyle(\"display\", \"inline-block\"), d.height = a.height, d.depth = a.depth, d.width = a.width - 2 * i, d.left = i, d.right = i, this.caret && (d.caret = this.caret), d.wrap(t);\n\t}\n\tline(e, t, n, r) {\n\t\treturn `<line x1=\"${au(e)}\" y1=\"${au(t)}\" x2=\"${au(n)}\" y2=\"${au(r)}\" vector-effect=\"non-scaling-stroke\"></line>`;\n\t}\n};\nfunction au(e) {\n\treturn typeof e == \"number\" ? `${Math.floor(100 * e) / 100}%` : e;\n}\nfunction ou(e) {\n\tif (!e) return \"1px\";\n\tlet t = e.match(/([0-9][a-zA-Z\\%]+)/);\n\treturn t === null ? \"1px\" : t[1];\n}\nfunction su(e) {\n\treturn (Math.floor(100 * e.metrics.sqrtRuleThickness / e.scalingFactor) / 100 / 10).toString() + \"em\";\n}\nfunction cu(e) {\n\tlet t = e.isDisplayStyle ? zo : e.metrics.defaultRuleThickness;\n\treturn e.metrics.defaultRuleThickness + e.scalingFactor * t / 4;\n}\nvar lu = { fractionNavigationOrder: \"numerator-denominator\" }, uu = class e extends F {\n\tconstructor(e, t, n) {\n\t\tsuper(c(s({}, n), {\n\t\t\ttype: \"genfrac\",\n\t\t\tdisplayContainsHighlight: !0\n\t\t})), this.above = e, this.below = t, this.hasBarLine = n?.hasBarLine ?? !0, this.continuousFraction = n?.continuousFraction ?? !1, this.align = n?.align ?? \"center\", this.numerPrefix = n?.numerPrefix, this.denomPrefix = n?.denomPrefix, this.mathstyleName = n?.mathstyleName, this.leftDelim = n?.leftDelim, this.rightDelim = n?.rightDelim;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.above, t.below, t);\n\t}\n\ttoJson() {\n\t\tlet e = {};\n\t\treturn this.continuousFraction && (e.continuousFraction = !0), this.align !== \"center\" && (e.align = this.align), this.numerPrefix && (e.numerPrefix = this.numerPrefix), this.denomPrefix && (e.denomPrefix = this.denomPrefix), this.leftDelim && (e.leftDelim = this.leftDelim), this.rightDelim && (e.rightDelim = this.rightDelim), this.hasBarLine || (e.hasBarLine = !1), this.mathstyleName && (e.mathstyleName = this.mathstyleName), s(s({}, super.toJson()), e);\n\t}\n\tget children() {\n\t\tif (this._children) return this._children;\n\t\tlet e = [];\n\t\tif (lu.fractionNavigationOrder === \"denominator-numerator\") {\n\t\t\tfor (let t of this.below) e.push(...t.children), e.push(t);\n\t\t\tfor (let t of this.above) e.push(...t.children), e.push(t);\n\t\t} else {\n\t\t\tfor (let t of this.above) e.push(...t.children), e.push(t);\n\t\t\tfor (let t of this.below) e.push(...t.children), e.push(t);\n\t\t}\n\t\treturn this._children = e, e;\n\t}\n\trender(e) {\n\t\tlet t = new P({\n\t\t\tparent: e,\n\t\t\tmathstyle: this.mathstyleName\n\t\t}, this.style), n = t.metrics, r = new P({\n\t\t\tparent: t,\n\t\t\tmathstyle: this.continuousFraction ? \"\" : \"numerator\"\n\t\t}, this.style), i = this.numerPrefix ? new M([new M(this.numerPrefix), F.createBox(r, this.above)], {\n\t\t\tisTight: r.isTight,\n\t\t\ttype: \"ignore\"\n\t\t}) : F.createBox(r, this.above, { type: \"ignore\" }) ?? new M(null, { type: \"ignore\" }), a = new P({\n\t\t\tparent: t,\n\t\t\tmathstyle: this.continuousFraction ? \"\" : \"denominator\"\n\t\t}, this.style), o = this.denomPrefix ? new M([new M(this.denomPrefix), F.createBox(a, this.below, { type: \"ignore\" })]) : F.createBox(a, this.below, { type: \"ignore\" }) ?? new M(null, { type: \"ignore\" }), s = this.hasBarLine ? n.defaultRuleThickness : 0, c, l = 0, u;\n\t\tt.isDisplayStyle ? (c = r.metrics.num1, l = s > 0 ? 3 * s : 7 * s, u = a.metrics.denom1) : (s > 0 ? (c = r.metrics.num2, l = s) : (c = r.metrics.num3, l = 3 * n.defaultRuleThickness), u = a.metrics.denom2);\n\t\tlet d = [];\n\t\tthis.isSelected && d.push(\"ML__selected\");\n\t\tlet f = i.depth, p = o.height, m;\n\t\tif (s <= 0) {\n\t\t\tlet e = c - f - (p - u);\n\t\t\te < l && (c += (l - e) / 2, u += (l - e) / 2), m = new N({ individualShift: [{\n\t\t\t\tbox: i,\n\t\t\t\tshift: -c,\n\t\t\t\tclasses: [...d, du(this.align)]\n\t\t\t}, {\n\t\t\t\tbox: o,\n\t\t\t\tshift: u,\n\t\t\t\tclasses: [...d, du(this.align)]\n\t\t\t}] }).wrap(t);\n\t\t} else {\n\t\t\tlet e = new M(null, {\n\t\t\t\tclasses: \"ML__frac-line\",\n\t\t\t\tmode: this.mode,\n\t\t\t\tstyle: this.style\n\t\t\t});\n\t\t\te.softWidth = Math.max(i.width, o.width), e.height = s / 2, e.depth = s / 2;\n\t\t\tlet n = Lo + s / 2;\n\t\t\tc < l + f + n && (c = l + f + n);\n\t\t\tlet r = Lo - s / 2;\n\t\t\tu < l + p - r && (u = l + p - r), m = new N({ individualShift: [\n\t\t\t\t{\n\t\t\t\t\tbox: o,\n\t\t\t\t\tshift: u,\n\t\t\t\t\tclasses: [...d, du(this.align)]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tbox: e,\n\t\t\t\t\tshift: -r,\n\t\t\t\t\tclasses: d\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tbox: i,\n\t\t\t\t\tshift: -c,\n\t\t\t\t\tclasses: [...d, du(this.align)]\n\t\t\t\t}\n\t\t\t] }).wrap(t);\n\t\t}\n\t\tlet h = t.isDisplayStyle ? n.delim1 : n.delim2, g = this.leftDelim ? this.bind(e, bl(\"open\", this.leftDelim, h, !0, e, {\n\t\t\tstyle: this.style,\n\t\t\tmode: this.mode,\n\t\t\tisSelected: this.isSelected\n\t\t})) : Sl(t, \"ML__open\"), _ = null;\n\t\t_ = this.continuousFraction ? new M(null, { type: \"close\" }) : this.rightDelim ? this.bind(e, bl(\"close\", this.rightDelim, h, !0, e, {\n\t\t\tstyle: this.style,\n\t\t\tmode: this.mode,\n\t\t\tisSelected: this.isSelected\n\t\t})) : Sl(t, \"ML__close\");\n\t\tlet ee = new M([\n\t\t\tg,\n\t\t\tm,\n\t\t\t_\n\t\t], {\n\t\t\tisTight: t.isTight,\n\t\t\ttype: \"inner\",\n\t\t\tclasses: \"ML__mfrac\"\n\t\t}), v = this.bind(e, ee);\n\t\treturn this.caret && (v.caret = this.caret), this.attachSupsub(e, { base: v });\n\t}\n};\nfunction du(e) {\n\treturn {\n\t\tleft: \"ML__left\",\n\t\tright: \"ML__right\",\n\t\tcenter: \"ML__center\"\n\t}[e] ?? \"ML__center\";\n}\nvar V = class e extends F {\n\tconstructor(e, t) {\n\t\tsuper({\n\t\t\ttype: \"latex\",\n\t\t\tvalue: e,\n\t\t\tmode: \"latex\"\n\t\t}), this.isSuggestion = t?.isSuggestion ?? !1, this.isError = !1;\n\t}\n\tstatic fromJson(t) {\n\t\tlet n = new e(t.value);\n\t\treturn t.isSuggestion && (n.isSuggestion = !0), t.isError && (n.isError = !0), n;\n\t}\n\ttoJson() {\n\t\tlet e = {};\n\t\treturn this.isSuggestion && (e.isSuggestion = !0), this.isError && (e.isError = !0), s({\n\t\t\ttype: \"latex\",\n\t\t\tvalue: this.value\n\t\t}, e);\n\t}\n\trender(e) {\n\t\tlet t = new M(this.value, {\n\t\t\tclasses: this.isSuggestion ? \"ML__suggestion\" : this.isError ? \"ML__error\" : \"\",\n\t\t\ttype: \"latex\",\n\t\t\tmaxFontSize: 1\n\t\t});\n\t\treturn t ? (this.caret && (t.caret = this.caret), this.bind(e, t)) : null;\n\t}\n}, fu = class e extends F {\n\tconstructor(e = \"\") {\n\t\tsuper({\n\t\t\ttype: \"latexgroup\",\n\t\t\tmode: \"latex\"\n\t\t}), this.body = [...e].map((e) => new V(e)), this.skipBoundary = !0;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e();\n\t}\n\ttoJson() {\n\t\treturn super.toJson();\n\t}\n\trender(e) {\n\t\tlet t = F.createBox(e, this.body);\n\t\treturn t ? (this.caret && (t.caret = this.caret), this.bind(e, t)) : null;\n\t}\n\t_serialize(e) {\n\t\treturn this.body?.map((e) => e.value).join(\"\") ?? \"\";\n\t}\n}, pu = class e extends F {\n\tconstructor(e, t) {\n\t\tsuper(c(s({}, t), {\n\t\t\ttype: \"extensible-symbol\",\n\t\t\tisFunction: t?.isFunction\n\t\t})), this.value = e, this.variant = t?.variant, this.subsupPlacement = t?.limits;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.symbol, t);\n\t}\n\ttoJson() {\n\t\tlet e = super.toJson();\n\t\treturn this.variant && (e.variant = this.variant), this.subsupPlacement && (e.limits = this.subsupPlacement), this.value && (e.symbol = this.value), e;\n\t}\n\trender(e) {\n\t\tlet t = e.isDisplayStyle && this.value !== \"\\\\smallint\", n = new M(this.value, {\n\t\t\tfontFamily: t ? \"Size2-Regular\" : \"Size1-Regular\",\n\t\t\tclasses: \"ML__op-symbol \" + (t ? \"ML__large-op\" : \"ML__small-op\"),\n\t\t\ttype: \"op\",\n\t\t\tmaxFontSize: e.scalingFactor,\n\t\t\tisSelected: this.isSelected\n\t\t});\n\t\tif (!n) return null;\n\t\tn.right = n.italic;\n\t\tlet r = (n.height - n.depth) / 2 - Lo * e.scalingFactor, i = n.italic;\n\t\tn.setTop(r);\n\t\tlet a = n;\n\t\tif (this.superscript || this.subscript) {\n\t\t\tlet t = this.subsupPlacement ?? \"auto\";\n\t\t\tt === \"auto\" && e.isDisplayStyle && (t = \"over-under\"), a = t === \"over-under\" ? this.attachLimits(e, {\n\t\t\t\tbase: n,\n\t\t\t\tbaseShift: r,\n\t\t\t\tslant: i\n\t\t\t}) : this.attachSupsub(e, { base: n });\n\t\t}\n\t\treturn new M(this.bind(e, a), {\n\t\t\ttype: \"op\",\n\t\t\tcaret: this.caret,\n\t\t\tisSelected: this.isSelected,\n\t\t\tclasses: \"ML__op-group\"\n\t\t}).wrap(e);\n\t}\n\t_serialize(e) {\n\t\tif (!(e.expandMacro || e.skipStyles || e.skipPlaceholders) && typeof this.verbatimLatex == \"string\") return this.verbatimLatex;\n\t\tlet t = ft(this.command, this.mode);\n\t\tif (t != null && t.serialize) return t.serialize(this, e);\n\t\tlet n = [];\n\t\treturn n.push(this.command), this.explicitSubsupPlacement && (this.subsupPlacement === \"over-under\" && n.push(\"\\\\limits\"), this.subsupPlacement === \"adjacent\" && n.push(\"\\\\nolimits\"), this.subsupPlacement === \"auto\" && n.push(\"\\\\displaylimits\")), n.push(this.supsubToLatex(e)), A(n);\n\t}\n}, mu = class e extends F {\n\tconstructor(e) {\n\t\tlet t = e.body;\n\t\tsuper(c(s({}, e), {\n\t\t\ttype: \"overlap\",\n\t\t\tbody: typeof t == \"string\" ? [new F({ value: t })] : t,\n\t\t\tstyle: e?.style\n\t\t})), this.skipBoundary = !0, this.align = e?.align, this.boxType = e?.boxType;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t);\n\t}\n\ttoJson() {\n\t\tlet e = {};\n\t\treturn this.align && (e.align = this.align), this.boxType && (e.boxType = this.boxType), s(s({}, super.toJson()), e);\n\t}\n\trender(e) {\n\t\tlet t = F.createBox(e, this.body, { classes: \"ML__inner\" });\n\t\treturn t ? (this.caret && (t.caret = this.caret), this.bind(e, new M([t, new M(null, { classes: \"ML__fix\" })], {\n\t\t\tclasses: this.align === \"right\" ? \"ML__rlap\" : \"ML__llap\",\n\t\t\ttype: this.boxType\n\t\t}))) : null;\n\t}\n}, hu = class e extends F {\n\tconstructor(e) {\n\t\tsuper({\n\t\t\ttype: \"overunder\",\n\t\t\tcommand: e.command,\n\t\t\tstyle: e.style,\n\t\t\tmode: e.mode,\n\t\t\tbody: e.body,\n\t\t\tskipBoundary: e.skipBoundary ?? !0\n\t\t}), this.subsupPlacement = e.supsubPlacement, this.svgAbove = e.svgAbove, this.svgBelow = e.svgBelow, this.svgBody = e.svgBody, this.above = e.above, this.below = e.below, this.boxType = e.boxType ?? \"ord\", this.paddedBody = e.paddedBody ?? !1, this.paddedLabels = e.paddedLabels ?? !1;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t);\n\t}\n\ttoJson() {\n\t\tlet e = super.toJson();\n\t\treturn this.skipBoundary || (e.skipBoundary = !1), this.subsupPlacement && (e.subsupPlacement = this.subsupPlacement), this.svgAbove && (e.svgAbove = this.svgAbove), this.svgBelow && (e.svgBelow = this.svgBelow), this.svgBody && (e.svgBody = this.svgBody), this.boxType !== \"ord\" && (e.boxType = this.boxType), this.paddedBody && (e.paddedBody = !0), this.paddedLabels && (e.paddedLabels = !0), e;\n\t}\n\trender(e) {\n\t\tlet t = this.svgBody ? Cs(this.svgBody) : F.createBox(e, this.body, { type: \"ignore\" }), n = new P({\n\t\t\tparent: e,\n\t\t\tmathstyle: \"scriptstyle\"\n\t\t}, this.style), r = null;\n\t\tthis.svgAbove ? r = Cs(this.svgAbove) : this.above && (r = F.createBox(n, this.above, { type: \"ignore\" }));\n\t\tlet i = null;\n\t\tthis.svgBelow ? i = Cs(this.svgBelow) : this.below && (i = F.createBox(n, this.below, { type: \"ignore\" })), this.paddedBody && (t = new M([\n\t\t\tSl(e, \"ML__open\"),\n\t\t\tt,\n\t\t\tSl(e, \"ML__close\")\n\t\t], { type: \"ignore\" }));\n\t\tlet a = gu(e, {\n\t\t\tbase: t,\n\t\t\tabove: r,\n\t\t\tbelow: i,\n\t\t\ttype: this.boxType === \"bin\" || this.boxType === \"rel\" ? this.boxType : \"ord\",\n\t\t\tpaddedAboveBelow: this.paddedLabels\n\t\t});\n\t\treturn a ? (a = this.subsupPlacement === \"over-under\" ? this.attachLimits(e, {\n\t\t\tbase: a,\n\t\t\ttype: a.type\n\t\t}) : this.attachSupsub(e, { base: a }), this.caret && (a.caret = this.caret), this.bind(e, a)) : null;\n\t}\n};\nfunction gu(e, t) {\n\tif (!t.base) return null;\n\tif (!t.above && !t.below) {\n\t\tlet e = new M(t.base, { type: t.type });\n\t\treturn e.setStyle(\"position\", \"relative\"), e;\n\t}\n\tlet n = 0;\n\tt.above && (n = e.metrics.bigOpSpacing5);\n\tlet r = null, i = t.base, a = [\"ML__center\"];\n\treturn t.paddedAboveBelow && a.push(\"ML__label_padding\"), t.below && t.above ? r = new N({\n\t\tbottom: e.metrics.bigOpSpacing5 + t.below.height + t.below.depth + i.depth + 0,\n\t\tchildren: [\n\t\t\te.metrics.bigOpSpacing5,\n\t\t\t{\n\t\t\t\tbox: t.below,\n\t\t\t\tclasses: a\n\t\t\t},\n\t\t\t{\n\t\t\t\tbox: i,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t},\n\t\t\tn,\n\t\t\t{\n\t\t\t\tbox: t.above,\n\t\t\t\tclasses: a\n\t\t\t},\n\t\t\te.metrics.bigOpSpacing5\n\t\t]\n\t}) : t.below ? r = new N({\n\t\ttop: i.height - 0,\n\t\tchildren: [\n\t\t\te.metrics.bigOpSpacing5,\n\t\t\t{\n\t\t\t\tbox: t.below,\n\t\t\t\tclasses: a\n\t\t\t},\n\t\t\t{\n\t\t\t\tbox: i,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t}\n\t\t]\n\t}) : t.above && (r = new N({\n\t\tbottom: i.depth + 0,\n\t\tchildren: [\n\t\t\t{\n\t\t\t\tbox: i,\n\t\t\t\tclasses: [\"ML__center\"]\n\t\t\t},\n\t\t\tn,\n\t\t\t{\n\t\t\t\tbox: t.above,\n\t\t\t\tclasses: a\n\t\t\t},\n\t\t\te.metrics.bigOpSpacing5\n\t\t]\n\t})), new M(r, { type: t.type });\n}\nvar _u = class e extends F {\n\tconstructor(e) {\n\t\tsuper(c(s({}, e), { type: \"phantom\" })), this.captureSelection = !0, this.isInvisible = e.isInvisible ?? !1, this.smashDepth = e.smashDepth ?? !1, this.smashHeight = e.smashHeight ?? !1, this.smashWidth = e.smashWidth ?? !1;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t);\n\t}\n\ttoJson() {\n\t\tlet e = {};\n\t\treturn this.isInvisible && (e.isInvisible = !0), this.smashDepth && (e.smashDepth = !0), this.smashHeight && (e.smashHeight = !0), this.smashWidth && (e.smashWidth = !0), s(s({}, super.toJson()), e);\n\t}\n\trender(e) {\n\t\tlet t = new P({\n\t\t\tparent: e,\n\t\t\tisPhantom: !0\n\t\t});\n\t\tif (!this.smashDepth && !this.smashHeight && !this.smashWidth) return this.isInvisible, F.createBox(t, this.body, { classes: \"ML__inner\" });\n\t\tlet n = F.createBox(this.isInvisible ? t : e, this.body);\n\t\tif (!n) return null;\n\t\tif (this.smashWidth) return new M([n, new M(null, { classes: \"ML__fix\" })], { classes: \"ML__rlap\" }).wrap(e);\n\t\tif (!this.smashHeight && !this.smashDepth) return n;\n\t\tif (this.smashHeight && (n.height = 0), this.smashDepth && (n.depth = 0), n.children) for (let e of n.children) this.smashHeight && (e.height = 0), this.smashDepth && (e.depth = 0);\n\t\treturn new N({ firstBaseline: [{ box: n }] }, { type: n.type }).wrap(e);\n\t}\n}, vu = class e extends F {\n\tconstructor(e) {\n\t\tsuper(s({ type: \"spacing\" }, e)), this.width = e?.width, this._braced = e?.braced ?? !1;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t);\n\t}\n\ttoJson() {\n\t\tlet e = super.toJson();\n\t\treturn this.width !== void 0 && (e.width = this.width), this._braced && (e.braced = !0), e;\n\t}\n\trender(e) {\n\t\tif (this.command === \"space\") return new M(this.mode === \"math\" ? null : \" \");\n\t\tlet t;\n\t\treturn this.width === void 0 ? t = new M(null, { classes: {\n\t\t\t\"\\\\qquad\": \"ML__qquad\",\n\t\t\t\"\\\\quad\": \"ML__quad\",\n\t\t\t\"\\\\enspace\": \"ML__enspace\",\n\t\t\t\"\\\\;\": \"ML__thickspace\",\n\t\t\t\"\\\\:\": \"ML__mediumspace\",\n\t\t\t\"\\\\>\": \"ML__mediumspace\",\n\t\t\t\"\\\\,\": \"ML__thinspace\",\n\t\t\t\"\\\\!\": \"ML__negativethinspace\"\n\t\t}[this.command] ?? \"ML__mediumspace\" }) : (t = new M(null, { classes: \"ML__mspace\" }), t.left = e.toEm(this.width)), t = this.bind(e, t), this.caret && (t.caret = this.caret), t;\n\t}\n\t_serialize(e) {\n\t\tif (!e.expandMacro && typeof this.verbatimLatex == \"string\") return this.verbatimLatex;\n\t\tlet t = ft(this.command, this.mode);\n\t\tif (t != null && t.serialize) return t.serialize(this, e);\n\t\tlet n = this.command ?? \"\";\n\t\treturn this.width === void 0 ? n : this._braced && !(\"register\" in this.width) ? `${n}{${Ks(this.width)}}` : `${n}${Ks(this.width)}`;\n\t}\n}, yu = class e extends F {\n\tconstructor(e) {\n\t\tsuper(c(s({}, e), {\n\t\t\ttype: \"surd\",\n\t\t\tmode: e.mode ?? \"math\",\n\t\t\tstyle: e.style,\n\t\t\tdisplayContainsHighlight: !0,\n\t\t\tbody: e.body\n\t\t})), this.above = e.index;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(c(s({}, t), { index: t.above }));\n\t}\n\t_serialize(e) {\n\t\tif (!(e.expandMacro || e.skipStyles || e.skipPlaceholders) && typeof this.verbatimLatex == \"string\") return this.verbatimLatex;\n\t\tlet t = ft(this.command, this.mode);\n\t\tif (t != null && t.serialize) return t.serialize(this, e);\n\t\tlet n = this.command, r = this.bodyToLatex(e);\n\t\treturn this.above && !this.hasEmptyBranch(\"above\") ? j(`${n}[${this.aboveToLatex(e)}]`, r) : /^[0-9]$/.test(r) ? `${n}${r}` : j(n, r);\n\t}\n\tget children() {\n\t\tif (this._children) return this._children;\n\t\tlet e = [];\n\t\tif (this.above) for (let t of this.above) e.push(...t.children), e.push(t);\n\t\tif (this.body) for (let t of this.body) e.push(...t.children), e.push(t);\n\t\treturn this._children = e, e;\n\t}\n\trender(e) {\n\t\tlet t = new P({\n\t\t\tparent: e,\n\t\t\tmathstyle: \"cramp\"\n\t\t}, this.style), n = F.createBox(t, this.body, { type: \"inner\" }) ?? new M(null), r = t.scalingFactor, i = t.metrics.defaultRuleThickness / r, a = e.isDisplayStyle ? zo : i, o = new M(null, {\n\t\t\tclasses: \"ML__sqrt-line\",\n\t\t\tstyle: this.style\n\t\t});\n\t\to.height = i, o.softWidth = n.width;\n\t\tlet s = r * (i + a / 4), c = Math.max(r * 2 * a, n.height + n.depth) + s + i, l = new P({ parent: e }, this.style), u = this.bind(l, new M(bl(\"inner\", \"\\\\surd\", c, !1, l, { isSelected: this.isSelected }), {\n\t\t\tisSelected: this.isSelected,\n\t\t\tclasses: \"ML__sqrt-sign\",\n\t\t\tstyle: this.style\n\t\t}));\n\t\tif (!u) return null;\n\t\tlet d = u.height + u.depth - i;\n\t\td > n.height + n.depth + s && (s = (s + d - (n.height + n.depth)) / 2), u.setTop(u.height - n.height - s);\n\t\tlet f = this.bind(e, new N({ firstBaseline: [\n\t\t\t{ box: new M(n) },\n\t\t\ts - 2 * i,\n\t\t\t{ box: o },\n\t\t\ti\n\t\t] })), p = F.createBox(new P({\n\t\t\tparent: e,\n\t\t\tmathstyle: \"scriptscriptstyle\"\n\t\t}), this.above, { type: \"ignore\" });\n\t\tif (!p) {\n\t\t\tlet t = new M([u, f], {\n\t\t\t\tclasses: this.containsCaret ? \"ML__contains-caret\" : \"\",\n\t\t\t\ttype: \"inner\"\n\t\t\t});\n\t\t\treturn t.setStyle(\"display\", \"inline-block\"), t.setStyle(\"height\", t.height + t.depth, \"em\"), this.caret && (t.caret = this.caret), this.bind(e, t);\n\t\t}\n\t\tlet m = new M([\n\t\t\tnew M(new N({\n\t\t\t\tshift: -.6 * (Math.max(u.height, f.height) - Math.max(u.depth, f.depth)),\n\t\t\t\tchildren: [{ box: p }]\n\t\t\t}), {\n\t\t\t\tclasses: \"ML__sqrt-index\",\n\t\t\t\ttype: \"ignore\"\n\t\t\t}),\n\t\t\tu,\n\t\t\tf\n\t\t], {\n\t\t\ttype: \"inner\",\n\t\t\tclasses: this.containsCaret ? \"ML__contains-caret\" : \"\"\n\t\t});\n\t\treturn m.height = u.height, m.depth = u.depth, this.caret && (m.caret = this.caret), this.bind(e, m);\n\t}\n}, bu = class extends M {\n\tconstructor(e) {\n\t\tsuper(null, { type: \"skip\" }), this._width = e;\n\t}\n\ttoMarkup() {\n\t\treturn `<span style=\"display:inline-block;width:${Math.ceil(this.width * 100) / 100}em\"></span>`;\n\t}\n};\nfunction xu(e, t) {\n\tif (!e.parent) return;\n\tlet n = e.parent.children, r = n.indexOf(e), i = r - 1;\n\tfor (; i >= 0 && n[i].type === \"ignore\";) --i;\n\tif (i < 0 && e.parent.parent && e.parent.type === \"lift\") {\n\t\txu(e.parent, t);\n\t\treturn;\n\t}\n\tr > 0 && n[r - 1].type === \"skip\" ? n[r - 1].width += t : n.splice(r, 0, new bu(t));\n}\nvar Su = {\n\tord: {\n\t\top: 3,\n\t\tbin: 4,\n\t\trel: 5,\n\t\tinner: 3\n\t},\n\top: {\n\t\tord: 3,\n\t\top: 3,\n\t\trel: 5,\n\t\tinner: 3\n\t},\n\tbin: {\n\t\tord: 4,\n\t\top: 4,\n\t\topen: 4,\n\t\tinner: 4\n\t},\n\trel: {\n\t\tord: 5,\n\t\top: 5,\n\t\topen: 5,\n\t\tinner: 5\n\t},\n\tclose: {\n\t\top: 3,\n\t\tbin: 4,\n\t\trel: 5,\n\t\tinner: 3\n\t},\n\tpunct: {\n\t\tord: 3,\n\t\top: 3,\n\t\trel: 3,\n\t\topen: 3,\n\t\tpunct: 3,\n\t\tinner: 3\n\t},\n\tinner: {\n\t\tord: 3,\n\t\top: 3,\n\t\tbin: 4,\n\t\trel: 5,\n\t\topen: 3,\n\t\tpunct: 3,\n\t\tinner: 3\n\t}\n}, Cu = {\n\tord: { op: 3 },\n\top: {\n\t\tord: 3,\n\t\top: 3\n\t},\n\tclose: { op: 3 },\n\tinner: { op: 3 }\n};\nfunction wu(e) {\n\tEu(e, (e, t) => {\n\t\tt.type === \"bin\" && (!e || /^(middle|bin|op|rel|open|punct)$/.test(e.type)) && (t.type = \"ord\"), e?.type === \"bin\" && /^(rel|close|punct)$/.test(t.type) && (e.type = \"ord\"), t.type !== \"ignore\" && (e = t);\n\t});\n}\nfunction Tu(e, t) {\n\tif (!e.children) return e;\n\tlet n = e.children;\n\twu(n);\n\tlet r = t.getRegisterAsEm(\"thinmuskip\"), i = t.getRegisterAsEm(\"medmuskip\"), a = t.getRegisterAsEm(\"thickmuskip\");\n\treturn Eu(n, (e, t) => {\n\t\tif (!e) return;\n\t\tlet n = e.type, o = (t.isTight ? Cu[n] ?? null : Su[n] ?? null)?.[t.type] ?? null;\n\t\to === 3 && xu(t, r), o === 4 && xu(t, i), o === 5 && xu(t, a);\n\t}), e;\n}\nfunction Eu(e, t, n = void 0) {\n\tif (!e) return n;\n\te = [...e];\n\tfor (let r of e) r.type === \"lift\" ? n = Eu(r.children, t, n) : r.type === \"ignore\" ? Eu(r.children, t) : (t(n, r), Eu(r.children, t), n = r);\n\treturn n;\n}\nvar Du = class e extends F {\n\tconstructor(e) {\n\t\tsuper({\n\t\t\ttype: \"tooltip\",\n\t\t\tcommand: e.command,\n\t\t\tmode: e.mode,\n\t\t\tstyle: e.style,\n\t\t\tbody: e.body,\n\t\t\tdisplayContainsHighlight: !0\n\t\t}), this.tooltip = new F({\n\t\t\ttype: \"root\",\n\t\t\tmode: e.content,\n\t\t\tbody: e.tooltip,\n\t\t\tstyle: {}\n\t\t}), this.skipBoundary = !0, this.captureSelection = !1;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(c(s({}, t), { tooltip: ku(t.tooltip) }));\n\t}\n\ttoJson() {\n\t\tlet e = this.tooltip.body?.filter((e) => e.type !== \"first\").map((e) => e.toJson());\n\t\treturn c(s({}, super.toJson()), { tooltip: e });\n\t}\n\trender(e) {\n\t\tlet t = F.createBox(e, this.body);\n\t\tif (!t) return null;\n\t\tlet n = new P({\n\t\t\tparent: e,\n\t\t\tmathstyle: \"displaystyle\"\n\t\t}, { fontSize: Ho }), r = new M([xs(Tu(new M(this.tooltip.render(n), { classes: \"ML__tooltip-content\" }), n)), t], { classes: \"ML__tooltip-container\" });\n\t\treturn this.caret && (r.caret = this.caret), this.bind(e, r);\n\t}\n}, Ou = class e extends F {\n\tconstructor(e, t) {\n\t\tsuper(c(s({}, t), {\n\t\t\ttype: \"operator\",\n\t\t\tisFunction: t?.isFunction\n\t\t})), this.value = e, this.variant = t?.variant, this.variantStyle = t?.variantStyle, this.subsupPlacement = t?.limits;\n\t}\n\tstatic fromJson(t) {\n\t\treturn new e(t.symbol, t);\n\t}\n\ttoJson() {\n\t\tlet e = super.toJson();\n\t\treturn this.variant && (e.variant = this.variant), this.variantStyle && (e.variantStyle = this.variantStyle), this.subsupPlacement && (e.limits = this.subsupPlacement), this.value && (e.symbol = this.value), e;\n\t}\n\trender(e) {\n\t\tlet t = new M(this.value, {\n\t\t\ttype: \"op\",\n\t\t\tmode: \"math\",\n\t\t\tmaxFontSize: e.scalingFactor,\n\t\t\tstyle: {\n\t\t\t\tvariant: this.variant,\n\t\t\t\tvariantStyle: this.variantStyle\n\t\t\t},\n\t\t\tisSelected: this.isSelected,\n\t\t\tletterShapeStyle: e.letterShapeStyle\n\t\t}), n = t;\n\t\tif (this.superscript || this.subscript) {\n\t\t\tlet r = this.subsupPlacement ?? \"auto\";\n\t\t\tn = r === \"over-under\" || r === \"auto\" && e.isDisplayStyle ? this.attachLimits(e, { base: t }) : this.attachSupsub(e, { base: t });\n\t\t}\n\t\treturn new M(this.bind(e, n), {\n\t\t\ttype: \"op\",\n\t\t\tcaret: this.caret,\n\t\t\tisSelected: this.isSelected,\n\t\t\tclasses: \"ML__op-group\"\n\t\t}).wrap(e);\n\t}\n\t_serialize(e) {\n\t\tif (!(e.expandMacro || e.skipStyles || e.skipPlaceholders) && typeof this.verbatimLatex == \"string\") return this.verbatimLatex;\n\t\tlet t = ft(this.command, this.mode);\n\t\tif (t != null && t.serialize) return t.serialize(this, e);\n\t\tlet n = [this.command];\n\t\treturn this.explicitSubsupPlacement && (this.subsupPlacement === \"over-under\" && n.push(\"\\\\limits\"), this.subsupPlacement === \"adjacent\" && n.push(\"\\\\nolimits\"), this.subsupPlacement === \"auto\" && n.push(\"\\\\displaylimits\")), n.push(this.supsubToLatex(e)), A(n);\n\t}\n};\nfunction ku(e) {\n\tif (x(e)) return e.map((e) => ku(e));\n\tif (typeof e == \"string\") return F.fromJson(e);\n\te = s({}, e);\n\tfor (let t of Zs) e[t] && (e[t] = ku(e[t]));\n\te.args && (e.args = Au(e.args)), e.array && (e.array = ku(e.array));\n\tlet t = e.type, n;\n\tt === \"accent\" && (n = rl.fromJson(e)), t === \"array\" && (n = L.fromJson(e)), t === \"box\" && (n = Vl.fromJson(e)), t === \"chem\" && (n = eu.fromJson(e)), t === \"composition\" && (n = Hl.fromJson(e)), t === \"delim\" && (n = tu.fromJson(e)), t === \"enclose\" && (n = iu.fromJson(e)), t === \"error\" && (n = Ul.fromJson(e)), t === \"extensible-symbol\" && (n = pu.fromJson(e)), t === \"genfrac\" && (n = uu.fromJson(e)), t === \"group\" && (n = Wl.fromJson(e)), t === \"latex\" && (n = V.fromJson(e)), t === \"latexgroup\" && (n = fu.fromJson(e)), t === \"leftright\" && (n = R.fromJson(e)), t === \"macro\" && (n = Kl.fromJson(e)), t === \"macro-argument\" && (n = ql.fromJson(e)), t === \"operator\" && (n = Ou.fromJson(e)), t === \"overlap\" && (n = mu.fromJson(e)), t === \"overunder\" && (n = hu.fromJson(e)), t === \"placeholder\" && (n = Cl.fromJson(e)), t === \"prompt\" && (n = Jl.fromJson(e)), t === \"phantom\" && (n = _u.fromJson(e)), t === \"sizeddelim\" && (n = nu.fromJson(e)), t === \"spacing\" && (n = vu.fromJson(e)), t === \"subsup\" && (n = Yl.fromJson(e)), t === \"surd\" && (n = yu.fromJson(e)), t === \"text\" && (n = ic.fromJson(e)), t === \"tooltip\" && (n = Du.fromJson(e)), n || (!t || [\n\t\t\"first\",\n\t\t\"mbin\",\n\t\t\"mrel\",\n\t\t\"mclose\",\n\t\t\"minner\",\n\t\t\"mop\",\n\t\t\"mopen\",\n\t\t\"mord\",\n\t\t\"mpunct\",\n\t\t\"root\",\n\t\t\"space\"\n\t].includes(t), `${t}`, n = F.fromJson(e));\n\tfor (let t of Zs) e[t] && n.setChildren(e[t], t);\n\treturn e.verbatimLatex !== void 0 && (n.verbatimLatex = e.verbatimLatex), e.subsupPlacement && (n.subsupPlacement = e.subsupPlacement), e.explicitSubsupPlacement && (n.explicitSubsupPlacement = !0), e.isFunction && (n.isFunction = !0), e.skipBoundary && (n.skipBoundary = !0), e.captureSelection && (n.captureSelection = !0), n;\n}\nfunction Au(e) {\n\tif (e) {\n\t\tif (typeof e == \"string\") return e;\n\t\tif (Array.isArray(e)) return e.map((e) => e === \"<null>\" ? null : typeof e == \"object\" && \"group\" in e ? { group: e.group.map((e) => ku(e)) } : typeof e == \"object\" && \"atoms\" in e ? e.atoms.map((e) => ku(e)) : e);\n\t}\n}\nfunction ju(e, t) {\n\t!e || !t || (x(e) ? e.forEach((e) => ju(e, t)) : typeof e == \"object\" && e.applyStyle(t, { unstyledOnly: !0 }));\n}\nfunction Mu(e, t, n, r) {\n\tfunction i(e, t) {\n\t\tfor (let n of a) if (n.style[e] !== t) return !1;\n\t\treturn !0;\n\t}\n\tif (t = e.normalizeRange(t), t[0] === t[1]) return !1;\n\tlet a = e.getAtoms(t, { includeChildren: !0 });\n\tr.operation === \"toggle\" && (n.color && i(\"color\", n.color) && (n.color = \"none\", delete n.verbatimColor), n.backgroundColor && i(\"backgroundColor\", n.backgroundColor) && (n.backgroundColor = \"none\", delete n.verbatimBackgroundColor), n.fontFamily && i(\"fontFamily\", n.fontFamily) && (n.fontFamily = \"none\"), n.fontSeries && i(\"fontSeries\", n.fontSeries) && (n.fontSeries = \"auto\"), n.fontShape && i(\"fontShape\", n.fontShape) && (n.fontShape = \"auto\"), n.fontSize && i(\"fontSize\", n.fontSize) && (n.fontSize = Ho), n.variant && i(\"variant\", n.variant) && (n.variant = \"normal\"), n.variantStyle && i(\"variantStyle\", n.variantStyle) && (n.variantStyle = \"\"));\n\tfor (let e of a) e.applyStyle(n);\n\treturn !0;\n}\nfunction Nu(e) {\n\treturn {\n\t\tup: \"italic\",\n\t\tbold: \"bolditalic\",\n\t\titalic: \"italic\",\n\t\tbolditalic: \"bolditalic\",\n\t\t\"\": \"italic\"\n\t}[e ?? \"\"];\n}\nfunction Pu(e) {\n\treturn {\n\t\tup: \"up\",\n\t\tbold: \"bold\",\n\t\titalic: void 0,\n\t\tbolditalic: \"bold\",\n\t\t\"\": void 0\n\t}[e ?? \"\"];\n}\nvar Fu = {\n\tacute: 714,\n\tgrave: 715,\n\tdot: 729,\n\tddot: 168,\n\tdddot: 8411,\n\tddddot: 8412,\n\tmathring: 730,\n\ttilde: 126,\n\tbar: 713,\n\tbreve: 728,\n\tcheck: 711,\n\that: 94,\n\tvec: 8407\n};\nE(Object.keys(Fu), \"{body:auto}\", { createAtom: (e) => new rl(c(s({}, e), {\n\tbody: w(e.args[0]),\n\taccentChar: Fu[e.command.slice(1)]\n})) }), E([\n\t\"widehat\",\n\t\"widecheck\",\n\t\"widetilde\"\n], \"{body:auto}\", { createAtom: (e) => {\n\tlet t = at(w(e.args[0]));\n\treturn new rl(c(s({}, e), {\n\t\tbody: w(e.args[0]),\n\t\tsvgAccent: e.command.slice(1) + (t.length > 5 ? \"4\" : [\n\t\t\t\"1\",\n\t\t\t\"1\",\n\t\t\t\"2\",\n\t\t\t\"2\",\n\t\t\t\"3\",\n\t\t\t\"3\"\n\t\t][t.length])\n\t}));\n} }), E([\n\t\"overarc\",\n\t\"overparen\",\n\t\"wideparen\"\n], \"{body:auto}\", { createAtom: (e) => new rl(c(s({}, e), {\n\tbody: w(e.args[0]),\n\tsvgAccent: \"overarc\"\n})) }), E([\"underarc\", \"underparen\"], \"{body:auto}\", { createAtom: (e) => new hu(c(s({}, e), {\n\tbody: w(e.args[0]),\n\tsvgBelow: \"underarc\"\n})) }), E(\"utilde\", \"{body:auto}\", { createAtom: (e) => {\n\tlet t = w(e.args[0]), n = at(t), r = \"widetilde\" + (n.length > 5 ? \"4\" : [\n\t\t\"1\",\n\t\t\"1\",\n\t\t\"2\",\n\t\t\"2\",\n\t\t\"3\",\n\t\t\"3\"\n\t][n.length]);\n\treturn new hu(c(s({}, e), {\n\t\tbody: t,\n\t\tsvgBelow: r,\n\t\tboxType: vs(t)\n\t}));\n} }), E(\"^\", \"{:string}\", { createAtom: (e) => {\n\tvar t;\n\treturn new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tisFunction: !1,\n\t\tlimits: \"adjacent\",\n\t\tvalue: e.args[0] && (t = {\n\t\t\ta: \"â\",\n\t\t\te: \"ê\",\n\t\t\ti: \"î\",\n\t\t\to: \"ô\",\n\t\t\tu: \"û\",\n\t\t\tA: \"Â\",\n\t\t\tE: \"Ê\",\n\t\t\tI: \"Î\",\n\t\t\tO: \"Ô\",\n\t\t\tU: \"Û\"\n\t\t}[e.args[0]]) != null ? t : \"^\"\n\t}));\n} }), E(\"`\", \"{:string}\", { createAtom: (e) => {\n\tvar t;\n\treturn new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tisFunction: !1,\n\t\tlimits: \"adjacent\",\n\t\tvalue: e.args[0] && (t = {\n\t\t\ta: \"à\",\n\t\t\te: \"è\",\n\t\t\ti: \"ì\",\n\t\t\to: \"ò\",\n\t\t\tu: \"ù\",\n\t\t\tA: \"À\",\n\t\t\tE: \"È\",\n\t\t\tI: \"Ì\",\n\t\t\tO: \"Ò\",\n\t\t\tU: \"Ù\"\n\t\t}[e.args[0]]) != null ? t : \"`\"\n\t}));\n} }), E(\"'\", \"{:string}\", { createAtom: (e) => {\n\tvar t;\n\treturn new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tisFunction: !1,\n\t\tlimits: \"adjacent\",\n\t\tvalue: e.args[0] && (t = {\n\t\t\ta: \"á\",\n\t\t\te: \"é\",\n\t\t\ti: \"í\",\n\t\t\to: \"ó\",\n\t\t\tu: \"ú\",\n\t\t\tA: \"Á\",\n\t\t\tE: \"É\",\n\t\t\tI: \"Í\",\n\t\t\tO: \"Ó\",\n\t\t\tU: \"Ú\"\n\t\t}[e.args[0]]) != null ? t : \"'\"\n\t}));\n} }), E(\"\\\"\", \"{:string}\", { createAtom: (e) => {\n\tvar t;\n\treturn new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tisFunction: !1,\n\t\tlimits: \"adjacent\",\n\t\tvalue: (t = e.args) != null && t[0] ? {\n\t\t\ta: \"ä\",\n\t\t\te: \"ë\",\n\t\t\ti: \"ï\",\n\t\t\to: \"ö\",\n\t\t\tu: \"ü\",\n\t\t\tA: \"Ä\",\n\t\t\tE: \"Ë\",\n\t\t\tI: \"Ë\",\n\t\t\tO: \"Ö\",\n\t\t\tU: \"Ü\"\n\t\t}[e.args[0]] ?? \"\\\"\" + e.args[0] : \"\\\"\"\n\t}));\n} }), E(\".\", \"{:string}\", { createAtom: (e) => {\n\tvar t;\n\treturn new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tisFunction: !1,\n\t\tlimits: \"adjacent\",\n\t\tvalue: (t = e.args) != null && t[0] ? {\n\t\t\ta: \"ȧ\",\n\t\t\te: \"ė\",\n\t\t\ti: \"̇i\",\n\t\t\to: \"ȯ\",\n\t\t\tu: \"̇u\",\n\t\t\tA: \"Ȧ\",\n\t\t\tE: \"Ė\",\n\t\t\tI: \"İ\",\n\t\t\tO: \"Ȯ\",\n\t\t\tU: \"̇U\"\n\t\t}[e.args[0]] ?? \".\" + e.args[0] : \".\"\n\t}));\n} }), E(\"=\", \"{:string}\", { createAtom: (e) => {\n\tvar t;\n\treturn new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tisFunction: !1,\n\t\tlimits: \"adjacent\",\n\t\tvalue: (t = e.args) != null && t[0] ? {\n\t\t\ta: \"ā\",\n\t\t\te: \"ē\",\n\t\t\ti: \"ī\",\n\t\t\to: \"ō\",\n\t\t\tu: \"ū\",\n\t\t\tA: \"Ā\",\n\t\t\tE: \"Ē\",\n\t\t\tI: \"Ī\",\n\t\t\tO: \"Ō\",\n\t\t\tU: \"Ū\"\n\t\t}[e.args[0]] ?? \"=\" + e.args[0] : \"=\"\n\t}));\n} }), E(\"~\", \"{:string}\", { createAtom: (e) => {\n\tvar t;\n\treturn new F(c(s({ type: \"mord\" }, e), {\n\t\tisFunction: !1,\n\t\tlimits: \"adjacent\",\n\t\tvalue: e.args[0] && (t = {\n\t\t\tn: \"ñ\",\n\t\t\tN: \"Ñ\",\n\t\t\ta: \"ã\",\n\t\t\to: \"õ\",\n\t\t\tA: \"Ã\",\n\t\t\tO: \"Õ\"\n\t\t}[e.args[0]]) != null ? t : \"´\"\n\t}));\n} }), E(\"c\", \"{:string}\", { createAtom: (e) => {\n\tvar t;\n\treturn new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tisFunction: !1,\n\t\tlimits: \"adjacent\",\n\t\tvalue: e.args[0] && (t = {\n\t\t\tc: \"ç\",\n\t\t\tC: \"Ç\"\n\t\t}[e.args[0]]) != null ? t : \"\"\n\t}));\n} }), E(\"enclose\", \"{notation:string}[style:string]{body:auto}\", { createAtom: (e) => {\n\tlet t = e.args, n = {\n\t\tstrokeColor: \"currentColor\",\n\t\tstrokeWidth: \"\",\n\t\tstrokeStyle: \"solid\",\n\t\tbackgroundcolor: \"transparent\",\n\t\tpadding: \"auto\",\n\t\tshadow: \"none\",\n\t\tsvgStrokeStyle: void 0,\n\t\tborderStyle: void 0,\n\t\tstyle: e.style ?? {}\n\t};\n\tif (t[1]) {\n\t\tlet e = t[1].split(/,(?![^(]*\\)(?:(?:[^(]*\\)){2})*[^\"]*$)/);\n\t\tfor (let t of e) {\n\t\t\tlet e = t.match(/\\s*(\\S+)\\s+(\\S+)\\s+(.*)/);\n\t\t\tif (e) n.strokeWidth = e[1], n.strokeStyle = e[2], n.strokeColor = e[3];\n\t\t\telse {\n\t\t\t\tlet e = t.match(/\\s*([a-z]*)\\s*=\\s*\"(.*)\"/);\n\t\t\t\te && (e[1] === \"mathbackground\" ? n.backgroundcolor = e[2] : e[1] === \"mathcolor\" ? n.strokeColor = e[2] : e[1] === \"padding\" ? n.padding = e[2] : e[1] === \"shadow\" && (n.shadow = e[2]));\n\t\t\t}\n\t\t}\n\t\tn.strokeStyle === \"dashed\" ? n.svgStrokeStyle = \"5,5\" : n.strokeStyle === \"dotted\" && (n.svgStrokeStyle = \"1,5\");\n\t}\n\tn.borderStyle = `${n.strokeWidth} ${n.strokeStyle} ${n.strokeColor}`;\n\tlet r = {};\n\treturn (t[0] ?? \"\").split(/[, ]/).filter((e) => e.length > 0).forEach((e) => {\n\t\tr[e.toLowerCase()] = !0;\n\t}), new iu(e.command, w(t[2]), r, n);\n} }), E(\"cancel\", \"{body:auto}\", { createAtom: (e) => new iu(e.command, w(e.args[0]), { updiagonalstrike: !0 }, {\n\tstrokeColor: \"currentColor\",\n\tstrokeWidth: \"\",\n\tstrokeStyle: \"solid\",\n\tborderStyle: \"1px solid currentColor\",\n\tbackgroundcolor: \"transparent\",\n\tpadding: \"auto\",\n\tshadow: \"none\",\n\tstyle: e.style ?? {}\n}) }), E(\"bcancel\", \"{body:auto}\", { createAtom: (e) => new iu(e.command, w(e.args[0]), { downdiagonalstrike: !0 }, {\n\tstrokeColor: \"currentColor\",\n\tstrokeWidth: \"\",\n\tstrokeStyle: \"solid\",\n\tborderStyle: \"1px solid currentColor\",\n\tbackgroundcolor: \"transparent\",\n\tpadding: \"auto\",\n\tshadow: \"none\",\n\tstyle: e.style ?? {}\n}) }), E(\"xcancel\", \"{body:auto}\", { createAtom: (e) => new iu(e.command, w(e.args[0]), {\n\tupdiagonalstrike: !0,\n\tdowndiagonalstrike: !0\n}, {\n\tstrokeColor: \"currentColor\",\n\tstrokeWidth: \"\",\n\tstrokeStyle: \"solid\",\n\tborderStyle: \"1px solid currentColor\",\n\tbackgroundcolor: \"transparent\",\n\tpadding: \"auto\",\n\tshadow: \"none\",\n\tstyle: e.style ?? {}\n}) }), st([\"math\", \"displaymath\"], Iu), st(\"center\", Iu), ot([\"multline\", \"multline*\"], \"\", Iu), E(\"displaylines\", \"\", {\n\tparse: (e) => {\n\t\tif (e.skipWhitespace(), !e.match(\"<{>\")) return [];\n\t\tlet t = [], n = [];\n\t\te.mathlist.length > 0 && t.push([e.mathlist]), e.beginContext({\n\t\t\ttabular: !0,\n\t\t\troot: !0\n\t\t});\n\t\tdo {\n\t\t\tif (e.end() || e.match(\"<}>\")) break;\n\t\t\te.matchColumnSeparator() || e.matchRowSeparator() ? (t.push([n]), n = []) : n.push(...e.scan((e) => [\n\t\t\t\t\"<}>\",\n\t\t\t\t\"&\",\n\t\t\t\t\"\\\\cr\",\n\t\t\t\t\"\\\\\\\\\",\n\t\t\t\t\"\\\\tabularnewline\"\n\t\t\t].includes(e)));\n\t\t} while (!0);\n\t\te.endContext(), t.push([n]);\n\t\tlet r = e.scan();\n\t\treturn r.length > 0 && t.push([r]), t;\n\t},\n\tcreateAtom: (e) => new L(\"lines\", e.args, [], {\n\t\tleftDelim: \".\",\n\t\trightDelim: \".\",\n\t\tcolumns: [{ align: \"l\" }],\n\t\tclasses: [\"ML__multiline_environment\"],\n\t\tisRoot: !0,\n\t\tminColumns: 1,\n\t\tmaxColumns: 1,\n\t\tminRows: 1\n\t})\n}), ot(\"split\", \"\", Iu), ot([\n\t\"gather\",\n\t\"gather*\",\n\t\"gathered\"\n], \"\", Iu), ot([\n\t\"equation\",\n\t\"equation*\",\n\t\"subequations\"\n], \"\", Iu), st([\n\t\"align\",\n\t\"align*\",\n\t\"eqnarray\"\n], Iu, { tabular: !0 }), ot([\"aligned\"], \"\", Iu), ot(\"array\", \"{columns:colspec}\", (e, t, n, r) => new L(e, t, n, {\n\tcolumns: r[0],\n\tmathstyleName: \"textstyle\"\n})), ot([\n\t\"matrix\",\n\t\"pmatrix\",\n\t\"bmatrix\",\n\t\"Bmatrix\",\n\t\"vmatrix\",\n\t\"Vmatrix\",\n\t\"matrix*\",\n\t\"pmatrix*\",\n\t\"bmatrix*\",\n\t\"Bmatrix*\",\n\t\"vmatrix*\",\n\t\"Vmatrix*\"\n], \"[columns:colspec]\", Iu), ot([\"smallmatrix\", \"smallmatrix*\"], \"[columns:colspec]\", Iu), ot([\n\t\"cases\",\n\t\"dcases\",\n\t\"rcases\"\n], \"\", Iu);\nfunction Iu(e, t = [[[]]], n = [], r = [], i) {\n\tswitch (e) {\n\t\tcase \"math\": return new L(e, t, n, {\n\t\t\tmathstyleName: \"textstyle\",\n\t\t\tisRoot: !0,\n\t\t\tminColumns: 1,\n\t\t\tmaxColumns: 1,\n\t\t\tminRows: 1,\n\t\t\tmaxRows: 1\n\t\t});\n\t\tcase \"displaymath\": return new L(e, t, n, {\n\t\t\tmathstyleName: \"textstyle\",\n\t\t\tisRoot: !0,\n\t\t\tminColumns: 1,\n\t\t\tmaxColumns: 1,\n\t\t\tminRows: 1,\n\t\t\tmaxRows: 1\n\t\t});\n\t\tcase \"center\": return new L(e, t, n, {\n\t\t\tcolumns: [{ align: \"c\" }],\n\t\t\tclasses: [\"ML__center_environment\"],\n\t\t\tisRoot: !0,\n\t\t\tminColumns: 1,\n\t\t\tmaxColumns: 1,\n\t\t\tminRows: 1,\n\t\t\tmaxRows: 1\n\t\t});\n\t\tcase \"multline\":\n\t\tcase \"multline*\": return new L(e, t, n, {\n\t\t\tcolumns: [{ align: \"m\" }],\n\t\t\tleftDelim: \".\",\n\t\t\trightDelim: \".\",\n\t\t\tisRoot: !0,\n\t\t\tminColumns: 1,\n\t\t\tmaxColumns: 1,\n\t\t\tminRows: 1\n\t\t});\n\t\tcase \"split\": return new L(e, t, n, {\n\t\t\tcolumns: [{ align: \"r\" }, { align: \"l\" }],\n\t\t\tminColumns: 2,\n\t\t\tminRows: 1,\n\t\t\tisRoot: !1\n\t\t});\n\t\tcase \"gather\":\n\t\tcase \"gather*\": return new L(e, t, n, {\n\t\t\tcolumns: [\n\t\t\t\t{ gap: .25 },\n\t\t\t\t{ align: \"c\" },\n\t\t\t\t{ gap: 0 }\n\t\t\t],\n\t\t\tminColumns: 1,\n\t\t\tmaxColumns: 1,\n\t\t\tminRows: 1,\n\t\t\tisRoot: !0,\n\t\t\tclasses: [\"ML__gather_environment\"]\n\t\t});\n\t\tcase \"gathered\": return new L(e, t, n, {\n\t\t\tcolumns: [\n\t\t\t\t{ gap: .25 },\n\t\t\t\t{ align: \"c\" },\n\t\t\t\t{ gap: 0 }\n\t\t\t],\n\t\t\tminColumns: 1,\n\t\t\tmaxColumns: 1,\n\t\t\tminRows: 1\n\t\t});\n\t\tcase \"equation\":\n\t\tcase \"equation*\":\n\t\tcase \"subequations\": return new L(e, t, n, {\n\t\t\tcolumns: [{ align: \"c\" }],\n\t\t\tisRoot: !0,\n\t\t\tminColumns: 1,\n\t\t\tmaxColumns: 1,\n\t\t\tminRows: 1\n\t\t});\n\t\tcase \"aligned\": {\n\t\t\tlet r = 0;\n\t\t\tfor (let e of t) r = Math.max(r, e.length);\n\t\t\tlet i = [\n\t\t\t\t{ gap: 0 },\n\t\t\t\t{ align: \"r\" },\n\t\t\t\t{ gap: .25 },\n\t\t\t\t{ align: \"l\" }\n\t\t\t], a = 2;\n\t\t\tfor (; a < r;) i.push({ gap: 1 }, { align: \"r\" }, { gap: .25 }, { align: \"l\" }), a += 2;\n\t\t\treturn i.push({ gap: 0 }), new L(e, t, n, {\n\t\t\t\tarraycolsep: 0,\n\t\t\t\tcolumns: i,\n\t\t\t\tminColumns: 2,\n\t\t\t\tminRows: 1,\n\t\t\t\tisRoot: e !== \"aligned\"\n\t\t\t});\n\t\t}\n\t\tcase \"eqnarray\": return new L(e, t, n, {\n\t\t\tarraycolsep: 0,\n\t\t\tcolumns: [\n\t\t\t\t{ gap: 0 },\n\t\t\t\t{ align: \"r\" },\n\t\t\t\t{ align: \"c\" },\n\t\t\t\t{ align: \"l\" }\n\t\t\t],\n\t\t\tminColumns: 3,\n\t\t\tmaxColumns: 3,\n\t\t\tminRows: 1,\n\t\t\tisRoot: !0,\n\t\t\tclasses: [\"ML__eqnarray_environment\"]\n\t\t});\n\t\tcase \"align\":\n\t\tcase \"align*\": return new L(e, t, n, {\n\t\t\tarraycolsep: 0,\n\t\t\tcolumns: [\n\t\t\t\t{ gap: 0 },\n\t\t\t\t{ align: \"r\" },\n\t\t\t\t{ gap: .25 },\n\t\t\t\t{ align: \"l\" }\n\t\t\t],\n\t\t\tminColumns: 2,\n\t\t\tmaxColumns: 2,\n\t\t\tminRows: 1,\n\t\t\tisRoot: !0,\n\t\t\tclasses: [\"ML__align_environment\"]\n\t\t});\n\t\tcase \"pmatrix\":\n\t\tcase \"pmatrix*\": return new L(e, t, n, {\n\t\t\tmathstyleName: \"textstyle\",\n\t\t\tleftDelim: \"(\",\n\t\t\trightDelim: \")\",\n\t\t\tcolumns: Lu(r[0], i)\n\t\t});\n\t\tcase \"bmatrix\":\n\t\tcase \"bmatrix*\": return new L(e, t, n, {\n\t\t\tmathstyleName: \"textstyle\",\n\t\t\tleftDelim: \"[\",\n\t\t\trightDelim: \"]\",\n\t\t\tcolumns: Lu(r[0], i)\n\t\t});\n\t\tcase \"Bmatrix\":\n\t\tcase \"Bmatrix*\": return new L(e, t, n, {\n\t\t\tmathstyleName: \"textstyle\",\n\t\t\tleftDelim: \"\\\\lbrace\",\n\t\t\trightDelim: \"\\\\rbrace\",\n\t\t\tcolumns: Lu(r[0], i)\n\t\t});\n\t\tcase \"vmatrix\":\n\t\tcase \"vmatrix*\": return new L(e, t, n, {\n\t\t\tmathstyleName: \"textstyle\",\n\t\t\tleftDelim: \"\\\\vert\",\n\t\t\trightDelim: \"\\\\vert\",\n\t\t\tcolumns: Lu(r[0], i)\n\t\t});\n\t\tcase \"Vmatrix\":\n\t\tcase \"Vmatrix*\": return new L(e, t, n, {\n\t\t\tmathstyleName: \"textstyle\",\n\t\t\tleftDelim: \"\\\\Vert\",\n\t\t\trightDelim: \"\\\\Vert\",\n\t\t\tcolumns: Lu(r[0], i)\n\t\t});\n\t\tcase \"matrix\":\n\t\tcase \"matrix*\": return new L(e, t, n, {\n\t\t\tmathstyleName: \"textstyle\",\n\t\t\tleftDelim: \".\",\n\t\t\trightDelim: \".\",\n\t\t\tcolumns: Lu(r?.[0], i)\n\t\t});\n\t\tcase \"smallmatrix\":\n\t\tcase \"smallmatrix*\": return new L(e, t, n, {\n\t\t\tmathstyleName: \"scriptstyle\",\n\t\t\tcolumns: Lu(r?.[0], i),\n\t\t\tcolSeparationType: \"small\",\n\t\t\tarraystretch: .5\n\t\t});\n\t\tcase \"cases\":\n\t\tcase \"dcases\": return new L(e, t, n, {\n\t\t\tmathstyleName: e === \"dcases\" ? \"displaystyle\" : \"textstyle\",\n\t\t\tarraystretch: 1.2,\n\t\t\tleftDelim: \"\\\\lbrace\",\n\t\t\trightDelim: \".\",\n\t\t\tcolumns: Ru()\n\t\t});\n\t\tcase \"rcases\": return new L(e, t, n, {\n\t\t\tarraystretch: 1.2,\n\t\t\tleftDelim: \".\",\n\t\t\trightDelim: \"\\\\rbrace\",\n\t\t\tcolumns: Ru()\n\t\t});\n\t\tcase \"lines\": return new L(e, t, n, {\n\t\t\tleftDelim: \".\",\n\t\t\trightDelim: \".\",\n\t\t\tcolumns: [{ align: \"l\" }],\n\t\t\tisRoot: !0,\n\t\t\tminColumns: 1,\n\t\t\tmaxColumns: 1,\n\t\t\tminRows: 1\n\t\t});\n\t}\n\treturn new L(e, t, n, { mathstyleName: \"textstyle\" });\n}\nfunction Lu(e, t = 10) {\n\treturn e ?? Array(t).fill({ align: \"c\" });\n}\nfunction Ru(e = 10) {\n\tlet t = [];\n\tfor (let n = 0; n < e; n++) n > 0 && t.push({ gap: 1 }), t.push({ align: \"l\" });\n\treturn t;\n}\nE([\n\t\"overrightarrow\",\n\t\"overleftarrow\",\n\t\"Overrightarrow\",\n\t\"overleftharpoon\",\n\t\"overrightharpoon\",\n\t\"overleftrightarrow\",\n\t\"overlinesegment\",\n\t\"overgroup\"\n], \"{:auto}\", { createAtom: (e) => new hu(c(s({}, e), {\n\tbody: w(e.args?.[0]),\n\tskipBoundary: !1,\n\tsupsubPlacement: \"over-under\",\n\tpaddedBody: !0,\n\tboxType: \"rel\",\n\tsvgAbove: e.command.slice(1)\n})) }), E(\"overbrace\", \"{:auto}\", { createAtom: (e) => new hu(c(s({}, e), {\n\tbody: w(e.args[0]),\n\tskipBoundary: !1,\n\tsupsubPlacement: \"over-under\",\n\tpaddedBody: !0,\n\tboxType: \"ord\",\n\tsvgAbove: e.command.slice(1)\n})) }), E([\n\t\"underrightarrow\",\n\t\"underleftarrow\",\n\t\"underleftrightarrow\",\n\t\"underlinesegment\",\n\t\"undergroup\"\n], \"{:auto}\", { createAtom: (e) => new hu(c(s({}, e), {\n\tbody: w(e.args[0]),\n\tskipBoundary: !1,\n\tsupsubPlacement: \"over-under\",\n\tpaddedBody: !0,\n\tboxType: \"rel\",\n\tsvgBelow: e.command.slice(1)\n})) }), E([\"underbrace\"], \"{:auto}\", { createAtom: (e) => new hu(c(s({}, e), {\n\tbody: w(e.args[0]),\n\tskipBoundary: !1,\n\tsupsubPlacement: \"over-under\",\n\tpaddedBody: !0,\n\tboxType: \"ord\",\n\tsvgBelow: e.command.slice(1)\n})) }), E(/* @__PURE__ */ \"xrightarrow.longrightarrow.xleftarrow.longleftarrow.xRightarrow.xLeftarrow.xleftharpoonup.xleftharpoondown.xrightharpoonup.xrightharpoondown.xlongequal.xtwoheadleftarrow.xtwoheadrightarrow.xleftrightarrow.longleftrightarrow.xLeftrightarrow.xrightleftharpoons.longrightleftharpoons.xleftrightharpoons.xhookleftarrow.xhookrightarrow.xmapsto.xtofrom.xleftrightarrows.longleftrightarrows.xRightleftharpoons.longRightleftharpoons.xLeftrightharpoons.longLeftrightharpoons\".split(\".\"), \"[:auto]{:auto}\", {\n\tcreateAtom: (e) => new hu(c(s({}, e), {\n\t\tsvgBody: e.command.slice(1),\n\t\tabove: w(e.args?.[1])?.length === 0 ? void 0 : w(e.args?.[1]),\n\t\tbelow: w(e.args?.[0]) ?? null,\n\t\tskipBoundary: !1,\n\t\tsupsubPlacement: \"over-under\",\n\t\tpaddedBody: !0,\n\t\tpaddedLabels: !0,\n\t\tboxType: \"rel\"\n\t})),\n\tserialize: (e, t) => e.command + (e.hasEmptyBranch(\"below\") ? \"\" : `[${e.belowToLatex(t)}]`) + `{${e.aboveToLatex(t)}}${e.supsubToLatex(t)}`\n}), E(/* @__PURE__ */ \"arccos.arcsin.arctan.arctg.arcctg.arg.ch.cos.cosh.cot.cotg.coth.ctg.cth.csc.cosec.deg.dim.exp.gcd.hom.inf.ker.lb.lg.ln.log.Pr.sec.sh.sin.sinh.sup.tan.tanh.tg.th.arcsec.arccsc.arsinh.arcosh.artanh.arcsech.arccsch\".split(\".\"), \"\", {\n\tisFunction: !0,\n\tifMode: \"math\",\n\tcreateAtom: (e) => new Ou(e.command.slice(1), c(s({}, e), {\n\t\tlimits: \"adjacent\",\n\t\tisFunction: !0,\n\t\tvariant: \"main\",\n\t\tvariantStyle: \"up\"\n\t}))\n}), E([\"liminf\", \"limsup\"], \"\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new Ou({\n\t\t\"\\\\liminf\": \"lim inf\",\n\t\t\"\\\\limsup\": \"lim sup\"\n\t}[e.command], c(s({}, e), {\n\t\tlimits: \"over-under\",\n\t\tvariant: \"main\"\n\t}))\n}), E([\"lim\", \"mod\"], \"\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new Ou(e.command.slice(1), c(s({}, e), {\n\t\tlimits: \"over-under\",\n\t\tvariant: \"main\"\n\t}))\n}), E([\n\t\"det\",\n\t\"max\",\n\t\"min\"\n], \"\", {\n\tifMode: \"math\",\n\tisFunction: !0,\n\tcreateAtom: (e) => new Ou(e.command.slice(1), c(s({}, e), {\n\t\tlimits: \"over-under\",\n\t\tisFunction: !0,\n\t\tvariant: \"main\"\n\t}))\n}), E(\"ang\", \"{:math}\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new F(c(s({}, e), { body: w(e.args[0]) })),\n\tserialize: (e, t) => `\\\\ang{${e.bodyToLatex(t)}}`,\n\trender: (e, t) => {\n\t\tlet n = e.createBox(t), r = n.caret;\n\t\treturn n.caret = void 0, new M([n, new M(\"°\", { style: c(s({}, e.style), {\n\t\t\tvariant: \"normal\",\n\t\t\tvariantStyle: \"up\"\n\t\t}) })], {\n\t\t\ttype: \"inner\",\n\t\t\tisSelected: e.isSelected,\n\t\t\tcaret: r\n\t\t});\n\t}\n}), E(\"sqrt\", \"[index:auto]{radicand:expression}\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new yu(c(s({}, e), {\n\t\tbody: w(e.args[1]),\n\t\tindex: e.args[0] ? w(e.args[0]) : void 0\n\t}))\n}), E([\n\t\"frac\",\n\t\"dfrac\",\n\t\"tfrac\",\n\t\"binom\",\n\t\"dbinom\",\n\t\"tbinom\"\n], \"{:expression}{:expression}\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => {\n\t\tlet t = s({}, e), n = e.command, r = e.args;\n\t\tswitch (n) {\n\t\t\tcase \"\\\\dfrac\":\n\t\t\tcase \"\\\\frac\":\n\t\t\tcase \"\\\\tfrac\":\n\t\t\t\tt.hasBarLine = !0;\n\t\t\t\tbreak;\n\t\t\tcase \"\\\\atopfrac\":\n\t\t\t\tt.hasBarLine = !1;\n\t\t\t\tbreak;\n\t\t\tcase \"\\\\dbinom\":\n\t\t\tcase \"\\\\binom\":\n\t\t\tcase \"\\\\tbinom\":\n\t\t\t\tt.hasBarLine = !1, t.leftDelim = \"(\", t.rightDelim = \")\";\n\t\t\t\tbreak;\n\t\t\tcase \"\\\\cfrac\": t.hasBarLine = !0, t.continuousFraction = !0;\n\t\t}\n\t\tswitch (n) {\n\t\t\tcase \"\\\\dfrac\":\n\t\t\tcase \"\\\\dbinom\":\n\t\t\t\tt.mathstyleName = \"displaystyle\";\n\t\t\t\tbreak;\n\t\t\tcase \"\\\\tfrac\":\n\t\t\tcase \"\\\\tbinom\": t.mathstyleName = \"textstyle\";\n\t\t}\n\t\treturn new uu(r[0] ? w(r[0]) : [new Cl()], r[1] ? w(r[1]) : [new Cl()], t);\n\t},\n\tserialize: (e, t) => {\n\t\tlet n = e.aboveToLatex(t), r = e.belowToLatex(t);\n\t\treturn /^[0-9]$/.test(n) && /^[0-9]$/.test(r) ? `${e.command}${n}${r}` : j(e.command, n, r);\n\t}\n}), E([\"cfrac\"], \"[:string]{:expression}{:expression}\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => {\n\t\tlet t = s({}, e), n = e.args;\n\t\treturn t.hasBarLine = !0, t.continuousFraction = !0, n[0] === \"r\" && (t.align = \"right\"), n[0] === \"l\" && (t.align = \"left\"), new uu(n[1] ? w(n[1]) : [new Cl()], n[2] ? w(n[2]) : [new Cl()], t);\n\t},\n\tserialize: (e, t) => {\n\t\tlet n = e.aboveToLatex(t), r = e.belowToLatex(t);\n\t\treturn j(e.command, n, r);\n\t}\n}), E([\"brace\", \"brack\"], \"\", {\n\tinfix: !0,\n\tcreateAtom: (e) => new uu(w(e.args[0]), w(e.args[1]), c(s({}, e), {\n\t\thasBarLine: !1,\n\t\tleftDelim: e.command === \"\\\\brace\" ? \"\\\\lbrace\" : \"\\\\lbrack\",\n\t\trightDelim: e.command === \"\\\\brace\" ? \"\\\\rbrace\" : \"\\\\rbrack\"\n\t})),\n\tserialize: (e, t) => A([\n\t\te.aboveToLatex(t),\n\t\te.command,\n\t\te.belowToLatex(t)\n\t])\n}), E([\n\t\"over\",\n\t\"atop\",\n\t\"choose\"\n], \"\", {\n\tinfix: !0,\n\tcreateAtom: (e) => {\n\t\tlet t, n, r = e.args;\n\t\treturn e.command === \"\\\\choose\" && (t = \"(\", n = \")\"), new uu(w(r[0]), w(r[1]), c(s({}, e), {\n\t\t\thasBarLine: e.command === \"\\\\over\",\n\t\t\tleftDelim: t,\n\t\t\trightDelim: n\n\t\t}));\n\t},\n\tserialize: (e, t) => A([\n\t\te.aboveToLatex(t),\n\t\te.command,\n\t\te.belowToLatex(t)\n\t])\n}), E([\"overwithdelims\", \"atopwithdelims\"], \"{numer:auto}{denom:auto}{left-delim:delim}{right-delim:delim}\", {\n\tinfix: !0,\n\tcreateAtom: (e) => {\n\t\tlet t = e.args;\n\t\treturn new uu(w(t[0]), w(t[1]), c(s({}, e), {\n\t\t\tleftDelim: t[2] ?? \".\",\n\t\t\trightDelim: t[3] ?? \".\",\n\t\t\thasBarLine: !1\n\t\t}));\n\t},\n\tserialize: (e, t) => `${e.aboveToLatex(t)} ${e.command}${e.leftDelim}${e.rightDelim}${e.belowToLatex(t)}`\n}), E(\"pdiff\", \"{numerator}{denominator}\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new uu(w(e.args[0]), w(e.args[1]), c(s({}, e), {\n\t\thasBarLine: !0,\n\t\tnumerPrefix: \"∂\",\n\t\tdenomPrefix: \"∂\"\n\t})),\n\tserialize: (e, t) => A([\n\t\te.aboveToLatex(t),\n\t\te.command,\n\t\te.belowToLatex(t)\n\t])\n}), E([\n\t\"sum\",\n\t\"prod\",\n\t\"bigcup\",\n\t\"bigcap\",\n\t\"coprod\",\n\t\"bigvee\",\n\t\"bigwedge\",\n\t\"biguplus\",\n\t\"bigotimes\",\n\t\"bigoplus\",\n\t\"bigodot\",\n\t\"bigsqcup\",\n\t\"intop\"\n], \"\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new pu({\n\t\tcoprod: \"∐\",\n\t\tbigvee: \"⋁\",\n\t\tbigwedge: \"⋀\",\n\t\tbiguplus: \"⨄\",\n\t\tbigcap: \"⋂\",\n\t\tbigcup: \"⋃\",\n\t\tintop: \"∫\",\n\t\tprod: \"∏\",\n\t\tsum: \"∑\",\n\t\tbigotimes: \"⨂\",\n\t\tbigoplus: \"⨁\",\n\t\tbigodot: \"⨀\",\n\t\tbigsqcup: \"⨆\",\n\t\tsmallint: \"∫\"\n\t}[e.command.slice(1)], c(s({}, e), {\n\t\tlimits: \"auto\",\n\t\tvariant: \"main\"\n\t}))\n}), E(\"smallint\", \"\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new Ou(\"∫\", c(s({}, e), {\n\t\tlimits: \"adjacent\",\n\t\tvariant: \"main\"\n\t}))\n});\nvar zu = {\n\tint: \"∫\",\n\tiint: \"∬\",\n\tiiint: \"∭\",\n\toint: \"∮\",\n\toiint: \"∯\",\n\toiiint: \"∰\",\n\tintclockwise: \"∱\",\n\tvarointclockwise: \"∲\",\n\tointctrclockwise: \"∳\",\n\tintctrclockwise: \"⨑\",\n\tsqcup: \"⊔\",\n\tsqcap: \"⊓\",\n\tuplus: \"⊎\",\n\twr: \"≀\",\n\tamalg: \"⨿\",\n\tCap: \"⋒\",\n\tCup: \"⋓\",\n\tdoublecap: \"⋒\",\n\tdoublecup: \"⋓\"\n};\nE(Object.keys(zu), \"\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => {\n\t\tlet t = zu[e.command.slice(1)];\n\t\treturn new pu(t, c(s({}, e), {\n\t\t\tlimits: \"adjacent\",\n\t\t\tvariant: {\n\t\t\t\t\"⋒\": \"ams\",\n\t\t\t\t\"⋓\": \"ams\"\n\t\t\t}[t]\n\t\t}));\n\t}\n}), E([\"Re\", \"Im\"], \"\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new Ou({\n\t\t\"\\\\Re\": \"ℜ\",\n\t\t\"\\\\Im\": \"ℑ\"\n\t}[e.command], c(s({}, e), {\n\t\tlimits: \"adjacent\",\n\t\tisFunction: !0,\n\t\tvariant: \"fraktur\"\n\t}))\n}), E(\"middle\", \"{:delim}\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new tu(c(s({}, e), {\n\t\tdelim: e.args[0] ?? \"|\",\n\t\tsize: 1\n\t}))\n}), E(\"the\", \"{:value}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), {\n\t\tcaptureSelection: !0,\n\t\tverbatimLatex: null\n\t})),\n\trender: (e, t) => {\n\t\tlet n = new P({ parent: t }, e.style), r = \"\";\n\t\treturn e.isSelected && (r += \" ML__selected\"), new M((Ks(n.evaluate(e.args[0])) ?? \"\").split(\"\").map((t) => new M(t, {\n\t\t\ttype: \"ord\",\n\t\t\tclasses: r,\n\t\t\tmode: e.mode,\n\t\t\tisSelected: e.isSelected,\n\t\t\tstyle: s({ variant: \"main\" }, e.style)\n\t\t})), {\n\t\t\ttype: \"lift\",\n\t\t\tstyle: e.style,\n\t\t\tcaret: e.caret,\n\t\t\tisSelected: e.isSelected,\n\t\t\tclasses: r\n\t\t}).wrap(n);\n\t},\n\tserialize: (e) => `\\\\the${Ks(e.args[0]) ?? \"\\\\relax\"}`\n}), E(\"mathtip\", \"{:auto}{:math}\", {\n\tcreateAtom: (e) => new Du(c(s({}, e), {\n\t\tbody: w(e.args[0]),\n\t\ttooltip: w(e.args[1]),\n\t\tcontent: \"math\"\n\t})),\n\tserialize: (e, t) => t.skipStyles ? e.bodyToLatex(t) : `\\\\mathtip{${e.bodyToLatex(t)}}{${F.serialize([e.tooltip], c(s({}, t), { defaultMode: \"math\" }))}}`\n}), E(\"texttip\", \"{:auto}{:text}\", {\n\tcreateAtom: (e) => new Du(c(s({}, e), {\n\t\tbody: w(e.args[0]),\n\t\ttooltip: w(e.args[1]),\n\t\tcontent: \"text\"\n\t})),\n\tserialize: (e, t) => t.skipStyles ? e.bodyToLatex(t) : `\\\\texttip{${e.bodyToLatex(t)}}{${F.serialize([e.tooltip], c(s({}, t), { defaultMode: \"text\" }))}}`\n}), E(\"error\", \"{:math}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), { body: w(e.args[0]) })),\n\tserialize: (e, t) => `\\\\error{${e.bodyToLatex(t)}}`,\n\trender: (e, t) => e.createBox(t, { classes: \"ML__error\" })\n}), E(\"ensuremath\", \"{:math}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), { body: w(e.args[0]) })),\n\tserialize: (e, t) => `${e.command}{${e.bodyToLatex(c(s({}, t), { defaultMode: \"math\" }))}}`\n}), E(\"color\", \"{:value}\", { applyStyle: (e, t, n, r) => c(s({}, e), {\n\tverbatimColor: Ks(n[0]) ?? void 0,\n\tcolor: r.toColor(n[0] ?? { string: \"red\" })\n}) }), E(\"textcolor\", \"{:value}{content:auto*}\", { applyStyle: (e, t, n, r) => c(s({}, e), {\n\tverbatimColor: Ks(n[0]) ?? void 0,\n\tcolor: r.toColor(n[0] ?? { string: \"red\" })\n}) }), E(\"boxed\", \"{content:math}\", { createAtom: (e) => new Vl(c(s({}, e), {\n\tbody: w(e.args[0]),\n\tframecolor: { string: \"black\" }\n})) }), E(\"colorbox\", \"{:value}{:text*}\", { applyStyle: (e, t, n, r) => c(s({}, e), {\n\tverbatimBackgroundColor: Ks(n[0]) ?? void 0,\n\tbackgroundColor: r.toBackgroundColor(n[0] ?? { string: \"yellow\" })\n}) }), E(\"fcolorbox\", \"{frame-color:value}{background-color:value}{content:text}\", {\n\tapplyMode: \"text\",\n\tcreateAtom: (e) => new Vl(c(s({}, e), {\n\t\tbody: w(e.args[2]),\n\t\tframecolor: e.args[0] ?? { string: \"blue\" },\n\t\tbackgroundcolor: e.args[1] ?? { string: \"yellow\" }\n\t})),\n\tserialize: (e, t) => t.skipStyles ? e.bodyToLatex(c(s({}, t), { defaultMode: \"text\" })) : j(e.command, Ks(e.framecolor) ?? \"\", Ks(e.backgroundcolor) ?? \"\", e.bodyToLatex(c(s({}, t), { defaultMode: \"text\" })))\n}), E(\"bbox\", \"[:bbox]{body:auto}\", {\n\tcreateAtom: (e) => {\n\t\tlet t = e.args[0], n = w(e.args[1]);\n\t\treturn t ? new Vl(c(s({}, e), {\n\t\t\tbody: n,\n\t\t\tpadding: t.padding,\n\t\t\tborder: t.border,\n\t\t\tbackgroundcolor: t.backgroundcolor ?? void 0\n\t\t})) : new Vl(c(s({}, e), { body: n }));\n\t},\n\tserialize: (e, t) => {\n\t\tif (t.skipStyles) return e.bodyToLatex(t);\n\t\tlet n = e.command;\n\t\tif (Number.isFinite(e.padding) || e.border !== void 0 || e.backgroundcolor !== void 0) {\n\t\t\tlet t = [];\n\t\t\te.padding && t.push(Ks(e.padding) ?? \"\"), e.border && t.push(`border: ${e.border}`), e.backgroundcolor && t.push(Ks(e.backgroundcolor) ?? \"\"), n += `[${t.join(\",\")}]`;\n\t\t}\n\t\treturn j(n, e.bodyToLatex(t));\n\t}\n}), E([\n\t\"displaystyle\",\n\t\"textstyle\",\n\t\"scriptstyle\",\n\t\"scriptscriptstyle\"\n], \"{:rest}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), { body: w(e.args[0]) })),\n\trender: (e, t) => {\n\t\tlet n = new P({\n\t\t\tparent: t,\n\t\t\tmathstyle: e.command.slice(1)\n\t\t}, e.style), r = F.createBox(n, e.body, { type: \"lift\" });\n\t\treturn e.caret && (r.caret = e.caret), e.bind(t, r);\n\t},\n\tserialize: (e, t) => t.skipStyles ? e.bodyToLatex(t) : `{${A([e.command, e.bodyToLatex(t)])}}`\n}), E([\n\t\"tiny\",\n\t\"scriptsize\",\n\t\"footnotesize\",\n\t\"small\",\n\t\"normalsize\",\n\t\"large\",\n\t\"Large\",\n\t\"LARGE\",\n\t\"huge\",\n\t\"Huge\"\n], \"\", { applyStyle: (e, t) => c(s({}, e), { fontSize: {\n\t\"\\\\tiny\": 1,\n\t\"\\\\scriptsize\": 2,\n\t\"\\\\footnotesize\": 3,\n\t\"\\\\small\": 4,\n\t\"\\\\normalsize\": 5,\n\t\"\\\\large\": 6,\n\t\"\\\\Large\": 7,\n\t\"\\\\LARGE\": 8,\n\t\"\\\\huge\": 9,\n\t\"\\\\Huge\": 10\n}[t] }) }), E(\"fontseries\", \"{:string}\", {\n\tifMode: \"text\",\n\tapplyStyle: (e, t, n) => c(s({}, e), { fontSeries: n[0] ?? \"auto\" })\n}), E(\"fontshape\", \"{:string}\", {\n\tifMode: \"text\",\n\tapplyStyle: (e, t, n) => c(s({}, e), { fontShape: n[0] ?? \"auto\" })\n}), E(\"fontfamily\", \"{:string}\", {\n\tifMode: \"text\",\n\tapplyStyle: (e, t, n) => c(s({}, e), { fontFamily: n[0] ?? \"roman\" })\n}), E(\"selectfont\", \"\", {\n\tifMode: \"text\",\n\tapplyStyle: (e) => e\n}), E(\"bf\", \"{:rest*}\", { applyStyle: (e) => c(s({}, e), {\n\tfontSeries: \"b\",\n\tfontShape: \"n\",\n\tfontFamily: \"roman\"\n}) }), E([\n\t\"boldsymbol\",\n\t\"bm\",\n\t\"bold\"\n], \"{:math*}\", {\n\tapplyMode: \"math\",\n\tapplyStyle: (e) => c(s({}, e), { variantStyle: \"bold\" })\n}), E(\"bfseries\", \"{:rest*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontSeries: \"b\" })\n}), E(\"mdseries\", \"{:rest*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontSeries: \"m\" })\n}), E(\"upshape\", \"{:rest*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontShape: \"n\" })\n}), E(\"slshape\", \"{:rest*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontShape: \"sl\" })\n}), E(\"scshape\", \"{:rest*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontShape: \"sc\" })\n}), E(\"textbf\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontSeries: \"b\" })\n}), E(\"textmd\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontSeries: \"m\" })\n}), E(\"textup\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontShape: \"n\" })\n}), E(\"textnormal\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), {\n\t\tfontShape: \"n\",\n\t\tfontSeries: \"m\"\n\t})\n}), E(\"textsl\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontShape: \"sl\" })\n}), E(\"textit\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontShape: \"it\" })\n}), E(\"textsc\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontShape: \"sc\" })\n}), E(\"textrm\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontFamily: \"roman\" })\n}), E(\"textsf\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontFamily: \"sans-serif\" })\n}), E(\"texttt\", \"{:text*}\", {\n\tapplyMode: \"text\",\n\tapplyStyle: (e) => c(s({}, e), { fontFamily: \"monospace\" })\n}), E(\"mathbf\", \"{:math*}\", {\n\tapplyMode: \"math\",\n\tapplyStyle: (e) => c(s({}, e), {\n\t\tvariant: \"normal\",\n\t\tvariantStyle: \"bold\"\n\t})\n}), E(\"mathit\", \"{:math*}\", {\n\tapplyMode: \"math\",\n\tapplyStyle: (e) => c(s({}, e), {\n\t\tvariant: \"main\",\n\t\tvariantStyle: \"italic\"\n\t})\n}), E(\"mathnormal\", \"{:math*}\", {\n\tapplyMode: \"math\",\n\tapplyStyle: (e) => c(s({}, e), {\n\t\tvariant: \"normal\",\n\t\tvariantStyle: \"italic\"\n\t})\n}), E(\"mathbfit\", \"{:math*}\", {\n\tapplyMode: \"math\",\n\tapplyStyle: (e) => c(s({}, e), {\n\t\tvariant: \"main\",\n\t\tvariantStyle: \"bolditalic\"\n\t})\n}), E(\"mathrm\", \"{:math*}\", {\n\tapplyMode: \"math\",\n\tapplyStyle: (e) => c(s({}, e), {\n\t\tvariant: \"normal\",\n\t\tvariantStyle: \"up\"\n\t})\n}), E(\"mathsf\", \"{:math*}\", {\n\tapplyMode: \"math\",\n\tapplyStyle: (e) => c(s({}, e), {\n\t\tvariant: \"sans-serif\",\n\t\tvariantStyle: \"up\"\n\t})\n}), E(\"mathtt\", \"{:math*}\", {\n\tapplyMode: \"math\",\n\tapplyStyle: (e) => c(s({}, e), {\n\t\tvariant: \"monospace\",\n\t\tvariantStyle: \"up\"\n\t})\n}), E(\"it\", \"{:rest*}\", { applyStyle: (e) => c(s({}, e), {\n\tfontSeries: \"m\",\n\tfontShape: \"it\",\n\tfontFamily: \"roman\",\n\tvariantStyle: \"italic\"\n}) }), E(\"rmfamily\", \"{:rest*}\", { applyStyle: (e) => c(s({}, e), { fontFamily: \"roman\" }) }), E(\"sffamily\", \"{:rest*}\", { applyStyle: (e) => c(s({}, e), { fontFamily: \"sans-serif\" }) }), E(\"ttfamily\", \"{:rest*}\", { applyStyle: (e) => c(s({}, e), { fontFamily: \"monospace\" }) }), E([\"Bbb\", \"mathbb\"], \"{:math*}\", { applyStyle: (e) => c(s({}, e), {\n\tvariant: \"double-struck\",\n\tvariantStyle: Pu(e.variantStyle)\n}) }), E([\"frak\", \"mathfrak\"], \"{:math*}\", { applyStyle: (e) => c(s({}, e), {\n\tvariant: \"fraktur\",\n\tvariantStyle: Pu(e.variantStyle)\n}) }), E(\"mathcal\", \"{:math*}\", { applyStyle: (e) => c(s({}, e), {\n\tvariant: \"calligraphic\",\n\tvariantStyle: Pu(e.variantStyle)\n}) }), E(\"mathscr\", \"{:math*}\", { applyStyle: (e) => c(s({}, e), {\n\tvariant: \"script\",\n\tvariantStyle: Pu(e.variantStyle)\n}) }), E(\"mbox\", \"{:text}\", {\n\tifMode: \"math\",\n\tcreateAtom: (e) => new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tbody: w(e.args[0]),\n\t\tmode: \"math\"\n\t})),\n\tserialize: (e, t) => j(\"\\\\mbox\", e.bodyToLatex(c(s({}, t), { defaultMode: \"text\" })))\n}), E(\"text\", \"{:text}\", {\n\tifMode: \"math\",\n\tapplyMode: \"text\"\n}), E([\"class\", \"htmlClass\"], \"{name:string}{content:auto*}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tbody: w(e.args[1])\n\t})),\n\tserialize: (e, t) => !e.args[0] || t.skipStyles ? e.bodyToLatex(t) : `${e.command}{${e.args[0]}}{${e.bodyToLatex(t)}}`,\n\trender: (e, t) => e.createBox(t, {\n\t\tclasses: e.args[0] ?? \"\",\n\t\tboxType: \"lift\"\n\t})\n}), E([\"cssId\", \"htmlId\"], \"{id:string}{content:auto*}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tbody: w(e.args[1])\n\t})),\n\tserialize: (e, t) => {\n\t\tvar n;\n\t\treturn !((n = e.args) != null && n[0]) || t.skipStyles ? e.bodyToLatex(t) : `${e.command}{${e.args[0]}}{${e.bodyToLatex(t)}}`;\n\t},\n\trender: (e, t) => {\n\t\tlet n = e.createBox(t);\n\t\treturn n.cssId = e.args[0] ?? \"\", n;\n\t}\n}), E(\"htmlData\", \"{data:string}{content:auto*}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tbody: w(e.args[1])\n\t})),\n\tserialize: (e, t) => {\n\t\tvar n;\n\t\treturn !((n = e.args) != null && n[0]) || t.skipStyles ? e.bodyToLatex(t) : `\\\\htmlData{${e.args[0]}}{${e.bodyToLatex(t)}}`;\n\t},\n\trender: (e, t) => {\n\t\tlet n = e.createBox(t);\n\t\treturn n.htmlData = e.args[0] ?? \"\", n;\n\t}\n}), E([\"style\", \"htmlStyle\"], \"{data:string}{content:auto*}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tbody: w(e.args[1])\n\t})),\n\tserialize: (e, t) => {\n\t\tvar n;\n\t\treturn !((n = e.args) != null && n[0]) || t.skipStyles ? e.bodyToLatex(t) : `${e.command}{${e.args[0]}}{${e.bodyToLatex(t)}}`;\n\t},\n\trender: (e, t) => {\n\t\tlet n = e.createBox(t);\n\t\treturn n.htmlStyle = e.args[0] ?? \"\", n;\n\t}\n}), E(\"href\", \"{url:string}{content:auto*}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), {\n\t\ttype: \"mord\",\n\t\tbody: w(e.args[1])\n\t})),\n\trender: (e, t) => {\n\t\tlet n = e.createBox(t), r = e.args[0] ?? \"\";\n\t\treturn r && (n.htmlData = `href=${r}`), n;\n\t}\n}), E(\"em\", \"{:rest}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), { body: w(e.args[0]) })),\n\tserialize: (e, t) => t.skipStyles ? e.bodyToLatex(t) : `{\\\\em ${e.bodyToLatex(t)}}`,\n\trender: (e, t) => e.createBox(t, {\n\t\tclasses: \"ML__emph\",\n\t\tboxType: \"lift\"\n\t})\n}), E(\"emph\", \"{:auto}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), { body: w(e.args[1]) })),\n\tserialize: (e, t) => t.skipStyles ? e.bodyToLatex(t) : `\\\\emph{${e.bodyToLatex(t)}}`,\n\trender: (e, t) => e.createBox(t, {\n\t\tclasses: \"ML__emph\",\n\t\tboxType: \"lift\"\n\t})\n});\nvar Bu = {\n\t\"\\\\bigl\": {\n\t\tmclass: \"mopen\",\n\t\tsize: 1\n\t},\n\t\"\\\\Bigl\": {\n\t\tmclass: \"mopen\",\n\t\tsize: 2\n\t},\n\t\"\\\\biggl\": {\n\t\tmclass: \"mopen\",\n\t\tsize: 3\n\t},\n\t\"\\\\Biggl\": {\n\t\tmclass: \"mopen\",\n\t\tsize: 4\n\t},\n\t\"\\\\bigr\": {\n\t\tmclass: \"mclose\",\n\t\tsize: 1\n\t},\n\t\"\\\\Bigr\": {\n\t\tmclass: \"mclose\",\n\t\tsize: 2\n\t},\n\t\"\\\\biggr\": {\n\t\tmclass: \"mclose\",\n\t\tsize: 3\n\t},\n\t\"\\\\Biggr\": {\n\t\tmclass: \"mclose\",\n\t\tsize: 4\n\t},\n\t\"\\\\bigm\": {\n\t\tmclass: \"mrel\",\n\t\tsize: 1\n\t},\n\t\"\\\\Bigm\": {\n\t\tmclass: \"mrel\",\n\t\tsize: 2\n\t},\n\t\"\\\\biggm\": {\n\t\tmclass: \"mrel\",\n\t\tsize: 3\n\t},\n\t\"\\\\Biggm\": {\n\t\tmclass: \"mrel\",\n\t\tsize: 4\n\t},\n\t\"\\\\big\": {\n\t\tmclass: \"mord\",\n\t\tsize: 1\n\t},\n\t\"\\\\Big\": {\n\t\tmclass: \"mord\",\n\t\tsize: 2\n\t},\n\t\"\\\\bigg\": {\n\t\tmclass: \"mord\",\n\t\tsize: 3\n\t},\n\t\"\\\\Bigg\": {\n\t\tmclass: \"mord\",\n\t\tsize: 4\n\t}\n};\nE([\n\t\"bigl\",\n\t\"Bigl\",\n\t\"biggl\",\n\t\"Biggl\",\n\t\"bigr\",\n\t\"Bigr\",\n\t\"biggr\",\n\t\"Biggr\",\n\t\"bigm\",\n\t\"Bigm\",\n\t\"biggm\",\n\t\"Biggm\",\n\t\"big\",\n\t\"Big\",\n\t\"bigg\",\n\t\"Bigg\"\n], \"{:delim}\", {\n\tcreateAtom: (e) => new nu(c(s({}, e), {\n\t\tdelim: e.args[0] ?? \".\",\n\t\tsize: Bu[e.command].size,\n\t\tdelimType: Bu[e.command].mclass\n\t})),\n\tserialize: (e, t) => A([e.command, /^[a-zA-Z]/.test(e.value) ? `{${e.value}}` : e.value])\n}), E([\"hspace\", \"hspace*\"], \"{width:value}\", { createAtom: (e) => new vu(c(s({}, e), { width: e.args[0] ?? { dimension: 0 } })) }), E([\n\t\"mkern\",\n\t\"kern\",\n\t\"mskip\",\n\t\"hskip\",\n\t\"mspace\"\n], \"{width:value}\", { createAtom: (e) => new vu(c(s({}, e), { width: e.args[0] ?? { dimension: 0 } })) }), E(\"mathchoice\", \"{:math}{:math}{:math}{:math}\", {\n\tcreateAtom: (e) => new F(e),\n\trender: (e, t) => {\n\t\tlet n = 0, r = t.mathstyle.id;\n\t\t(r === Ns || r === Ps) && (n = 1), (r === Fs || r === Is) && (n = 2), (r === Ls || r === Rs) && (n = 3);\n\t\tlet i = w(e.args[n]);\n\t\treturn F.createBox(t, i);\n\t},\n\tserialize: (e, t) => `\\\\mathchoice{${F.serialize(e.args[0], t)}}{${F.serialize(e.args[1], t)}}{${F.serialize(e.args[2], t)}}{${F.serialize(e.args[3], t)}}`\n}), E(\"mathop\", \"{:auto}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), {\n\t\ttype: \"mop\",\n\t\tbody: w(e.args[0]),\n\t\tlimits: \"over-under\",\n\t\tisFunction: !0,\n\t\tcaptureSelection: !0\n\t})),\n\trender: (e, t) => {\n\t\tlet n = F.createBox(t, e.body);\n\t\tif (e.superscript || e.subscript) {\n\t\t\tlet r = e.subsupPlacement ?? \"auto\";\n\t\t\tn = r === \"over-under\" || r === \"auto\" && t.isDisplayStyle ? e.attachLimits(t, { base: n }) : e.attachSupsub(t, { base: n });\n\t\t}\n\t\treturn e.caret && (n.caret = e.caret), new M(e.bind(t, n), {\n\t\t\ttype: \"op\",\n\t\t\tisSelected: e.isSelected,\n\t\t\tclasses: \"ML__op-group\"\n\t\t});\n\t},\n\tserialize: (e, t) => {\n\t\tlet n = [j(e.command, e.bodyToLatex(t))];\n\t\treturn e.explicitSubsupPlacement && (e.subsupPlacement === \"over-under\" && n.push(\"\\\\limits\"), e.subsupPlacement === \"adjacent\" && n.push(\"\\\\nolimits\"), e.subsupPlacement === \"auto\" && n.push(\"\\\\displaylimits\")), n.push(e.supsubToLatex(t)), A(n);\n\t}\n}), E([\n\t\"mathbin\",\n\t\"mathrel\",\n\t\"mathopen\",\n\t\"mathclose\",\n\t\"mathpunct\",\n\t\"mathord\",\n\t\"mathinner\"\n], \"{:auto}\", { createAtom: (e) => new F(c(s({}, e), {\n\ttype: {\n\t\t\"\\\\mathbin\": \"mbin\",\n\t\t\"\\\\mathrel\": \"mrel\",\n\t\t\"\\\\mathopen\": \"mopen\",\n\t\t\"\\\\mathclose\": \"mclose\",\n\t\t\"\\\\mathpunct\": \"mpunct\",\n\t\t\"\\\\mathord\": \"mord\",\n\t\t\"\\\\mathinner\": \"minner\"\n\t}[e.command],\n\tbody: w(e.args[0])\n})) }), E([\"operatorname\", \"operatorname*\"], \"{operator:math}\", {\n\tcreateAtom: (e) => {\n\t\tlet t = w(e.args[0]).map((e) => (e.type !== \"first\" && (e.type = \"mord\", e.value = {\n\t\t\t\"∗\": \"*\",\n\t\t\t\"−\": \"-\"\n\t\t}[e.value] ?? e.value, e.isFunction = !1, !e.style.variant && !e.style.variantStyle && (e.style.variant = \"main\", e.style.variantStyle = \"up\")), e));\n\t\treturn new F(c(s({}, e), {\n\t\t\ttype: \"mop\",\n\t\t\tbody: t,\n\t\t\tisFunction: !0,\n\t\t\tlimits: e.command === \"\\\\operatorname\" ? \"adjacent\" : \"over-under\"\n\t\t}));\n\t},\n\trender: (e, t) => {\n\t\tlet n = F.createBox(t, e.body);\n\t\tif (e.superscript || e.subscript) {\n\t\t\tlet r = e.subsupPlacement ?? \"auto\";\n\t\t\tn = r === \"over-under\" || r === \"auto\" && t.isDisplayStyle ? e.attachLimits(t, { base: n }) : e.attachSupsub(t, { base: n });\n\t\t}\n\t\treturn e.caret && (n.caret = e.caret), new M(e.bind(t, n), {\n\t\t\ttype: \"op\",\n\t\t\tisSelected: e.isSelected,\n\t\t\tclasses: \"ML__op-group\"\n\t\t});\n\t},\n\tserialize: (e, t) => {\n\t\tlet n = [j(e.command, e.bodyToLatex(t))];\n\t\treturn e.explicitSubsupPlacement && (e.subsupPlacement === \"over-under\" && n.push(\"\\\\limits\"), e.subsupPlacement === \"adjacent\" && n.push(\"\\\\nolimits\"), e.subsupPlacement === \"auto\" && n.push(\"\\\\displaylimits\")), n.push(e.supsubToLatex(t)), A(n);\n\t}\n}), E([\"char\", \"unicode\"], \"{charcode:value}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), { type: e.mode === \"text\" ? \"text\" : \"mord\" })),\n\tserialize: (e) => `${e.command}${Ks(e.args[0] ?? {\n\t\tnumber: 10067,\n\t\tbase: \"hexadecimal\"\n\t})}`,\n\trender: (e, t) => {\n\t\tlet n = t.evaluate(e.args[0]);\n\t\treturn (!n || !(\"number\" in n)) && (n = {\n\t\t\tnumber: 10067,\n\t\t\tbase: \"hexadecimal\"\n\t\t}), e.value = String.fromCodePoint(n.number), e.createBox(t);\n\t}\n}), E(\"rule\", \"[raise:value]{width:value}{thickness:value}\", {\n\tcreateAtom: (e) => new F(e),\n\trender: (e, t) => {\n\t\tlet n = new P({\n\t\t\tparent: t,\n\t\t\tmathstyle: \"textstyle\"\n\t\t}, e.style), r = n.toEm(e.args[0] ?? { dimension: 0 }), i = n.toEm(e.args[1] ?? { dimension: 10 }), a = n.toEm(e.args[2] ?? { dimension: 10 }), o = new M(null, {\n\t\t\tclasses: \"ML__rule\",\n\t\t\ttype: \"ord\"\n\t\t});\n\t\treturn o.width = i, o.height = a + r, o.depth = -r, o.setStyle(\"border-right-width\", i, \"em\"), o.setStyle(\"border-top-width\", a, \"em\"), o.setStyle(\"border-color\", e.style.color), o.setStyle(\"vertical-align\", r, \"em\"), e.isSelected && o.setStyle(\"opacity\", \"50%\"), e.bind(n, o), e.caret && (o.caret = e.caret), o.wrap(t);\n\t},\n\tserialize: (e) => `\\\\rule${e.args[0] ? `[${Ks(e.args[0])}]` : \"\"}{${Ks(e.args[1])}}{${Ks(e.args[2])}}`\n}), E([\"overline\", \"underline\"], \"{:auto}\", {\n\tcreateAtom: (e) => new F(c(s({}, e), { body: w(e.args[0]) })),\n\trender: (e, t) => {\n\t\tlet n = e.command.substring(1), r = new P({\n\t\t\tparent: t,\n\t\t\tmathstyle: \"cramp\"\n\t\t}, e.style), i = F.createBox(r, e.body);\n\t\tif (!i) return null;\n\t\tlet a = r.metrics.defaultRuleThickness / r.scalingFactor, o = new M(null, { classes: n + \"-line\" });\n\t\to.height = a, o.maxFontSize = a * 1.125 * r.scalingFactor;\n\t\tlet s;\n\t\treturn s = n === \"overline\" ? new N({\n\t\t\tshift: 0,\n\t\t\tchildren: [\n\t\t\t\t{ box: i },\n\t\t\t\t3 * a,\n\t\t\t\t{ box: o },\n\t\t\t\ta\n\t\t\t]\n\t\t}) : new N({\n\t\t\ttop: i.height,\n\t\t\tchildren: [\n\t\t\t\ta,\n\t\t\t\t{ box: o },\n\t\t\t\t3 * a,\n\t\t\t\t{ box: i }\n\t\t\t]\n\t\t}), e.caret && (s.caret = e.caret), new M(s, {\n\t\t\tclasses: n,\n\t\t\ttype: \"ignore\"\n\t\t});\n\t}\n}), E(\"overset\", \"{:auto}{base:auto}\", {\n\tcreateAtom: (e) => {\n\t\tlet t = w(e.args[1]);\n\t\treturn new hu(c(s({}, e), {\n\t\t\tabove: w(e.args[0]),\n\t\t\tbody: t,\n\t\t\tskipBoundary: !1,\n\t\t\tboxType: vs(t)\n\t\t}));\n\t},\n\tserialize: (e, t) => j(e.command, e.aboveToLatex(t), e.bodyToLatex(t))\n}), E(\"underset\", \"{:auto}{base:auto}\", {\n\tcreateAtom: (e) => {\n\t\tlet t = w(e.args[1]);\n\t\treturn new hu(c(s({}, e), {\n\t\t\tbelow: w(e.args[0]),\n\t\t\tbody: t,\n\t\t\tskipBoundary: !1,\n\t\t\tboxType: vs(t)\n\t\t}));\n\t},\n\tserialize: (e, t) => j(e.command, e.belowToLatex(t), e.bodyToLatex(t))\n}), E(\"overunderset\", \"{above:auto}{below:auto}{base:auto}\", {\n\tcreateAtom: (e) => {\n\t\tlet t = w(e.args[2]);\n\t\treturn new hu(c(s({}, e), {\n\t\t\tabove: w(e.args[0]),\n\t\t\tbelow: w(e.args[1]),\n\t\t\tbody: t,\n\t\t\tskipBoundary: !1,\n\t\t\tboxType: vs(t)\n\t\t}));\n\t},\n\tserialize: (e, t) => j(e.command, e.belowToLatex(t), e.bodyToLatex(t))\n}), E([\"stackrel\", \"stackbin\"], \"[below:auto]{above:auto}{base:auto}\", {\n\tcreateAtom: (e) => new hu(c(s({}, e), {\n\t\tbody: w(e.args[2]),\n\t\tabove: w(e.args[1]),\n\t\tbelow: w(e.args[0]),\n\t\tskipBoundary: !1,\n\t\tboxType: e.command === \"\\\\stackrel\" ? \"rel\" : \"bin\"\n\t})),\n\tserialize: (e, t) => j(e.command, e.aboveToLatex(t), e.bodyToLatex(t))\n}), E(\"smash\", \"[:string]{:auto}\", { createAtom: (e) => new _u(c(s({}, e), {\n\tbody: w(e.args[1]),\n\tsmashHeight: e.args[0]?.includes(\"t\") ?? !0,\n\tsmashDepth: e.args[0]?.includes(\"b\") ?? !0\n})) }), E(\"vphantom\", \"{:auto}\", { createAtom: (e) => new _u(c(s({}, e), {\n\tbody: w(e.args[0]),\n\tisInvisible: !0,\n\tsmashWidth: !0\n})) }), E(\"hphantom\", \"{:auto}\", { createAtom: (e) => new _u(c(s({}, e), {\n\tbody: w(e.args[0]),\n\tisInvisible: !0,\n\tsmashHeight: !0,\n\tsmashDepth: !0\n})) }), E(\"phantom\", \"{:auto}\", { createAtom: (e) => new _u(c(s({}, e), {\n\tbody: w(e.args[0]),\n\tisInvisible: !0\n})) }), E(\"mathstrut\", \"\", { createAtom: (e) => new _u(c(s({}, e), {\n\tbody: [new F({ value: \"(\" })],\n\tisInvisible: !0\n})) }), E(\"not\", \"{:math}\", {\n\tcreateAtom: (e) => {\n\t\tlet t = w(e.args[0]);\n\t\treturn t.length === 0 ? new F(c(s({}, e), {\n\t\t\ttype: \"mrel\",\n\t\t\tvalue: \"\"\n\t\t})) : new F(c(s({}, e), {\n\t\t\tbody: [new mu(c(s({}, e), {\n\t\t\t\tbody: \"\",\n\t\t\t\talign: \"right\"\n\t\t\t})), ...t],\n\t\t\tcaptureSelection: !0\n\t\t}));\n\t},\n\tserialize: (e, t) => {\n\t\tlet n = e.args[0], r = n && typeof n == \"object\" && \"group\" in n;\n\t\treturn e.value === \"\" ? r ? \"\\\\not{}\" : \"\\\\not\" : r ? `\\\\not{${F.serialize(n.group, t)}}` : `\\\\not${F.serialize(n, t)}`;\n\t},\n\trender: (e, t) => {\n\t\tif (e.value) return e.createBox(t);\n\t\tlet n = e.args[0] && typeof e.args[0] == \"object\" && \"group\" in e.args[0] ? \"ord\" : vs(w(e.args[0])), r = F.createBox(t, e.body, { type: n });\n\t\treturn e.caret && (r.caret = e.caret), e.bind(t, r);\n\t}\n}), E([\"ne\", \"neq\"], \"\", {\n\tcreateAtom: (e) => new F(c(s({}, e), {\n\t\ttype: \"mrel\",\n\t\tbody: [new mu(c(s({}, e), {\n\t\t\tbody: \"\",\n\t\t\talign: \"right\",\n\t\t\tboxType: \"rel\"\n\t\t})), new F(c(s({}, e), { value: \"=\" }))],\n\t\tcaptureSelection: !0\n\t})),\n\tserialize: (e) => e.command\n}), E(\"rlap\", \"{:auto}\", { createAtom: (e) => new mu(c(s({}, e), {\n\tbody: w(e.args[0]),\n\talign: \"right\"\n})) }), E(\"llap\", \"{:auto}\", { createAtom: (e) => new mu(c(s({}, e), {\n\tbody: w(e.args[0]),\n\talign: \"left\"\n})) }), E(\"mathrlap\", \"{:math}\", { createAtom: (e) => new mu(c(s({}, e), {\n\tbody: w(e.args[0]),\n\talign: \"right\"\n})) }), E(\"mathllap\", \"{:math}\", { createAtom: (e) => new mu(c(s({}, e), {\n\tbody: w(e.args[0]),\n\talign: \"left\"\n})) }), E(\"raisebox\", \"{:value}{:text}\", {\n\tcreateAtom: (e) => new Vl(c(s({}, e), {\n\t\tbody: w(e.args[1]),\n\t\tpadding: { dimension: 0 },\n\t\toffset: e.args[0] ?? { dimension: 0 }\n\t})),\n\tserialize: (e, t) => j(\"\\\\raisebox\", Ks(e.offset) ?? \"0pt\", e.bodyToLatex(t))\n}), E(\"raise\", \"{:value}{:auto}\", {\n\tcreateAtom: (e) => new Vl(c(s({}, e), {\n\t\tbody: w(e.args[1]),\n\t\tpadding: { dimension: 0 },\n\t\toffset: e.args[0] ?? { dimension: 0 }\n\t})),\n\tserialize: (e, t) => j(\"\\\\raise\", Ks(e.offset) ?? \"0pt\", e.bodyToLatex(t))\n}), E(\"lower\", \"{:value}{:auto}\", {\n\tcreateAtom: (e) => new Vl(c(s({}, e), {\n\t\tbody: w(e.args[1]),\n\t\tpadding: { dimension: 0 },\n\t\toffset: qs(e.args[0], -1) ?? { dimension: 0 }\n\t})),\n\tserialize: (e, t) => j(\"\\\\lower\", Ks(qs(e.offset ?? { dimension: 0 }, -1)) ?? \"0pt\", e.bodyToLatex(t))\n}), T(\"0123456789/@.?!\"), et(65, 90), et(97, 122), T([\n\t[\"\\\\forall\", 8704],\n\t[\"\\\\exists\", 8707],\n\t[\n\t\t\"\\\\nexists\",\n\t\t8708,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\mid\",\n\t\t8739,\n\t\t\"mrel\"\n\t],\n\t[\"\\\\top\", 8868],\n\t[\"\\\\bot\", 8869]\n]), T([\n\t[\"\\\\#\", 35],\n\t[\"\\\\&\", 38],\n\t[\"\\\\parallelogram\", 9649],\n\t[\"\\\\spadesuit\", 9824],\n\t[\"\\\\heartsuit\", 9825],\n\t[\"\\\\diamondsuit\", 9826],\n\t[\"\\\\clubsuit\", 9827],\n\t[\"\\\\flat\", 9837],\n\t[\"\\\\natural\", 9838],\n\t[\"\\\\sharp\", 9839]\n]), T([\n\t[\"\\\\backslash\", 92],\n\t[\"\\\\nabla\", 8711],\n\t[\"\\\\partial\", 8706],\n\t[\"\\\\ell\", 8467],\n\t[\"\\\\hbar\", 8463],\n\t[\"\\\\pounds\", 163],\n\t[\"\\\\euro\", 8364]\n]), T([\n\t[\"\\\\rightarrow\", 8594],\n\t[\"\\\\to\", 8594],\n\t[\"\\\\leftarrow\", 8592],\n\t[\"\\\\gets\", 8592],\n\t[\"\\\\Rightarrow\", 8658],\n\t[\"\\\\Leftarrow\", 8656],\n\t[\"\\\\longrightarrow\", 10230],\n\t[\"\\\\longleftarrow\", 10229],\n\t[\"\\\\Longrightarrow\", 10233],\n\t[\"\\\\implies\", 10233],\n\t[\"\\\\Longleftarrow\", 10232],\n\t[\"\\\\impliedby\", 10232],\n\t[\"\\\\longleftrightarrow\", 10231],\n\t[\"\\\\biconditional\", 10231],\n\t[\"\\\\Longleftrightarrow\", 10234],\n\t[\"\\\\mapsto\", 8614],\n\t[\"\\\\longmapsto\", 10236],\n\t[\"\\\\uparrow\", 8593],\n\t[\"\\\\downarrow\", 8595],\n\t[\"\\\\Uparrow\", 8657],\n\t[\"\\\\Downarrow\", 8659],\n\t[\"\\\\updownarrow\", 8597],\n\t[\"\\\\Updownarrow\", 8661],\n\t[\"\\\\hookrightarrow\", 8618],\n\t[\"\\\\hookleftarrow\", 8617],\n\t[\"\\\\rightharpoonup\", 8640],\n\t[\"\\\\leftharpoonup\", 8636],\n\t[\"\\\\rightharpoondown\", 8641],\n\t[\"\\\\leftharpoondown\", 8637],\n\t[\"\\\\searrow\", 8600],\n\t[\"\\\\nearrow\", 8599],\n\t[\"\\\\swarrow\", 8601],\n\t[\"\\\\nwarrow\", 8598],\n\t[\"\\\\originalof\", 8886],\n\t[\"\\\\laplace\", 8886],\n\t[\"\\\\imageof\", 8887],\n\t[\"\\\\Laplace\", 8887]\n], \"mrel\"), T([\n\t[\n\t\t\"\\\\mapsfrom\",\n\t\t8612,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\Mapsfrom\",\n\t\t10502,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\MapsTo\",\n\t\t10503,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\Yup\",\n\t\t8516,\n\t\t\"mord\"\n\t],\n\t[\n\t\t\"\\\\lightning\",\n\t\t8623,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\leftarrowtriangle\",\n\t\t8701,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\rightarrowtriangle\",\n\t\t8702,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\leftrightarrowtriangle\",\n\t\t8703,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\boxdot\",\n\t\t8865,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\bigtriangleup\",\n\t\t9651,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\bigtriangledown\",\n\t\t9661,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\boxbar\",\n\t\t9707,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\Lbag\",\n\t\t10181,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\Rbag\",\n\t\t10182,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\llbracket\",\n\t\t10214,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rrbracket\",\n\t\t10215,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\longmapsfrom\",\n\t\t10235,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\Longmapsfrom\",\n\t\t10237,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\Longmapsto\",\n\t\t10238,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\boxslash\",\n\t\t10692,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\boxbslash\",\n\t\t10693,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\boxast\",\n\t\t10694,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\boxcircle\",\n\t\t10695,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\boxbox\",\n\t\t10696,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\fatsemi\",\n\t\t10783,\n\t\t\"mop\"\n\t],\n\t[\n\t\t\"\\\\leftslice\",\n\t\t10918,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\rightslice\",\n\t\t10919,\n\t\t\"mrel\"\n\t],\n\t[\n\t\t\"\\\\interleave\",\n\t\t10996,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\biginterleave\",\n\t\t11004,\n\t\t\"mop\"\n\t],\n\t[\n\t\t\"\\\\sslash\",\n\t\t11005,\n\t\t\"mbin\"\n\t],\n\t[\n\t\t\"\\\\talloblong\",\n\t\t11006,\n\t\t\"mbin\"\n\t]\n]), T([\n\t[\n\t\t\"\\\\lbrace\",\n\t\t123,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rbrace\",\n\t\t125,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\lparen\",\n\t\t40,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rparen\",\n\t\t41,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\langle\",\n\t\t10216,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rangle\",\n\t\t10217,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\lfloor\",\n\t\t8970,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rfloor\",\n\t\t8971,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\lceil\",\n\t\t8968,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rceil\",\n\t\t8969,\n\t\t\"mclose\"\n\t],\n\t[\"\\\\vert\", 8739],\n\t[\n\t\t\"\\\\lvert\",\n\t\t8739,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rvert\",\n\t\t8739,\n\t\t\"mclose\"\n\t],\n\t[\"\\\\|\", 8741],\n\t[\"\\\\Vert\", 8741],\n\t[\"\\\\mVert\", 8741],\n\t[\n\t\t\"\\\\lVert\",\n\t\t8741,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rVert\",\n\t\t8741,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\lbrack\",\n\t\t91,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rbrack\",\n\t\t93,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\{\",\n\t\t123,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\}\",\n\t\t125,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"(\",\n\t\t40,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\")\",\n\t\t41,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"[\",\n\t\t91,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"]\",\n\t\t93,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\ulcorner\",\n\t\t9484,\n\t\t\"mopen\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\urcorner\",\n\t\t9488,\n\t\t\"mclose\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\llcorner\",\n\t\t9492,\n\t\t\"mopen\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\lrcorner\",\n\t\t9496,\n\t\t\"mclose\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\lgroup\",\n\t\t10222,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rgroup\",\n\t\t10223,\n\t\t\"mclose\"\n\t],\n\t[\n\t\t\"\\\\lmoustache\",\n\t\t9136,\n\t\t\"mopen\"\n\t],\n\t[\n\t\t\"\\\\rmoustache\",\n\t\t9137,\n\t\t\"mclose\"\n\t]\n]), T([\n\t[\"\\\\dashrightarrow\", 8674],\n\t[\"\\\\dashleftarrow\", 8672],\n\t[\"\\\\Rrightarrow\", 8667],\n\t[\"\\\\Lleftarrow\", 8666],\n\t[\"\\\\leftrightarrows\", 8646],\n\t[\"\\\\rightleftarrows\", 8644],\n\t[\"\\\\curvearrowright\", 8631],\n\t[\"\\\\curvearrowleft\", 8630],\n\t[\"\\\\rightrightarrows\", 8649],\n\t[\"\\\\leftleftarrows\", 8647],\n\t[\"\\\\upuparrows\", 8648],\n\t[\"\\\\downdownarrows\", 8650],\n\t[\"\\\\vartriangle\", 9651],\n\t[\"\\\\triangleq\", 8796],\n\t[\"\\\\vartriangleleft\", 8882],\n\t[\"\\\\trianglelefteq\", 8884],\n\t[\"\\\\ntriangleleft\", 8938],\n\t[\"\\\\ntrianglelefteq\", 8940],\n\t[\"\\\\vartriangleright\", 8883],\n\t[\"\\\\trianglerighteq\", 8885],\n\t[\"\\\\ntriangleright\", 8939],\n\t[\"\\\\ntrianglerighteq\", 8941],\n\t[\"\\\\blacktriangleleft\", 9664],\n\t[\"\\\\blacktriangleright\", 9654],\n\t[\"\\\\leftarrowtail\", 8610],\n\t[\"\\\\rightarrowtail\", 8611],\n\t[\"\\\\looparrowright\", 8620],\n\t[\"\\\\looparrowleft\", 8619],\n\t[\"\\\\twoheadleftarrow\", 8606],\n\t[\"\\\\twoheadrightarrow\", 8608],\n\t[\"\\\\twoheadrightarrowtail\", 10518],\n\t[\"\\\\rightleftharpoons\", 8652],\n\t[\"\\\\leftrightharpoons\", 8651],\n\t[\"\\\\Rsh\", 8625],\n\t[\"\\\\Lsh\", 8624],\n\t[\"\\\\circlearrowright\", 8635],\n\t[\"\\\\circlearrowleft\", 8634],\n\t[\"\\\\restriction\", 8638],\n\t[\"\\\\upharpoonright\", 8638],\n\t[\"\\\\upharpoonleft\", 8639],\n\t[\"\\\\downharpoonright\", 8642],\n\t[\"\\\\downharpoonleft\", 8643],\n\t[\"\\\\rightsquigarrow\", 8669],\n\t[\"\\\\leadsto\", 8669],\n\t[\"\\\\leftrightsquigarrow\", 8621],\n\t[\"\\\\multimap\", 8888],\n\t[\"\\\\nleftarrow\", 8602],\n\t[\"\\\\nrightarrow\", 8603],\n\t[\"\\\\nRightarrow\", 8655],\n\t[\"\\\\nLeftarrow\", 8653],\n\t[\"\\\\nleftrightarrow\", 8622],\n\t[\"\\\\nLeftrightarrow\", 8654],\n\t[\"\\\\nvrightarrow\", 8696],\n\t[\"\\\\nvtwoheadrightarrow\", 10496],\n\t[\"\\\\nvrightarrowtail\", 10516],\n\t[\"\\\\nvtwoheadrightarrowtail\", 10519],\n\t[\"\\\\shortparallel\", 8741],\n\t[\"\\\\nless\", 8814],\n\t[\"\\\\nleqslant\", 57360],\n\t[\"\\\\lneq\", 10887],\n\t[\"\\\\lneqq\", 8808],\n\t[\"\\\\nleqq\", 57361],\n\t[\"\\\\lvertneqq\", 57356],\n\t[\"\\\\lnsim\", 8934],\n\t[\"\\\\lnapprox\", 10889],\n\t[\"\\\\nprec\", 8832],\n\t[\"\\\\npreceq\", 8928],\n\t[\"\\\\precnsim\", 8936],\n\t[\"\\\\precnapprox\", 10937],\n\t[\"\\\\nsim\", 8769],\n\t[\"\\\\nshortmid\", 57350],\n\t[\"\\\\nmid\", 8740],\n\t[\"\\\\nvdash\", 8876],\n\t[\"\\\\nvDash\", 8877],\n\t[\"\\\\ngtr\", 8815],\n\t[\"\\\\ngeqslant\", 57359],\n\t[\"\\\\ngeqq\", 57358],\n\t[\"\\\\gneq\", 10888],\n\t[\"\\\\gneqq\", 8809],\n\t[\"\\\\gvertneqq\", 57357],\n\t[\"\\\\gnsim\", 8935],\n\t[\"\\\\gnapprox\", 10890],\n\t[\"\\\\nsucc\", 8833],\n\t[\"\\\\nsucceq\", 8929],\n\t[\"\\\\succnsim\", 8937],\n\t[\"\\\\succnapprox\", 10938],\n\t[\"\\\\ncong\", 8774],\n\t[\"\\\\nshortparallel\", 57351],\n\t[\"\\\\nparallel\", 8742],\n\t[\"\\\\nVDash\", 8879],\n\t[\"\\\\nsupseteqq\", 57368],\n\t[\"\\\\supsetneq\", 8843],\n\t[\"\\\\varsupsetneq\", 57371],\n\t[\"\\\\supsetneqq\", 10956],\n\t[\"\\\\varsupsetneqq\", 57369],\n\t[\"\\\\nVdash\", 8878],\n\t[\"\\\\precneqq\", 10933],\n\t[\"\\\\succneqq\", 10934],\n\t[\"\\\\nsubseteqq\", 57366],\n\t[\"\\\\leqslant\", 10877],\n\t[\"\\\\geqslant\", 10878],\n\t[\"\\\\gtrsim\", 8819],\n\t[\"\\\\approxeq\", 8778],\n\t[\"\\\\thickapprox\", 8776],\n\t[\"\\\\lessapprox\", 10885],\n\t[\"\\\\gtrapprox\", 10886],\n\t[\"\\\\precapprox\", 10935],\n\t[\"\\\\succapprox\", 10936],\n\t[\"\\\\thicksim\", 8764],\n\t[\"\\\\succsim\", 8831],\n\t[\"\\\\precsim\", 8830],\n\t[\"\\\\backsim\", 8765],\n\t[\"\\\\eqsim\", 8770],\n\t[\"\\\\backsimeq\", 8909],\n\t[\"\\\\lesssim\", 8818],\n\t[\"\\\\nleq\", 8816],\n\t[\"\\\\ngeq\", 8817],\n\t[\"\\\\smallsmile\", 8995],\n\t[\"\\\\smallfrown\", 8994],\n\t[\"\\\\leqq\", 8806],\n\t[\"\\\\eqslantless\", 10901],\n\t[\"\\\\lll\", 8920],\n\t[\"\\\\lessgtr\", 8822],\n\t[\"\\\\lesseqgtr\", 8922],\n\t[\"\\\\lesseqqgtr\", 10891],\n\t[\"\\\\risingdotseq\", 8787],\n\t[\"\\\\fallingdotseq\", 8786],\n\t[\"\\\\subseteqq\", 10949],\n\t[\"\\\\Subset\", 8912],\n\t[\"\\\\sqsubset\", 8847],\n\t[\"\\\\preccurlyeq\", 8828],\n\t[\"\\\\curlyeqprec\", 8926],\n\t[\"\\\\vDash\", 8872],\n\t[\"\\\\Vvdash\", 8874],\n\t[\"\\\\bumpeq\", 8783],\n\t[\"\\\\Bumpeq\", 8782],\n\t[\"\\\\geqq\", 8807],\n\t[\"\\\\eqslantgtr\", 10902],\n\t[\"\\\\ggg\", 8921],\n\t[\"\\\\gtrless\", 8823],\n\t[\"\\\\gtreqless\", 8923],\n\t[\"\\\\gtreqqless\", 10892],\n\t[\"\\\\supseteqq\", 10950],\n\t[\"\\\\Supset\", 8913],\n\t[\"\\\\sqsupset\", 8848],\n\t[\"\\\\succcurlyeq\", 8829],\n\t[\"\\\\curlyeqsucc\", 8927],\n\t[\"\\\\Vdash\", 8873],\n\t[\"\\\\shortmid\", 8739],\n\t[\"\\\\between\", 8812],\n\t[\"\\\\pitchfork\", 8916],\n\t[\"\\\\varpropto\", 8733],\n\t[\"\\\\backepsilon\", 8717],\n\t[\"\\\\llless\", 8920],\n\t[\"\\\\gggtr\", 8921],\n\t[\"\\\\doteqdot\", 8785],\n\t[\"\\\\Doteq\", 8785],\n\t[\"\\\\eqcirc\", 8790],\n\t[\"\\\\circeq\", 8791],\n\t[\"\\\\therefore\", 8756],\n\t[\"\\\\because\", 8757]\n], \"mrel\", \"ams\"), T([\n\t[\"+\", 43],\n\t[\"-\", 8722],\n\t[\"−\", 8722],\n\t[\"\\\\pm\", 177],\n\t[\"\\\\mp\", 8723],\n\t[\"*\", 8727],\n\t[\"\\\\times\", 215],\n\t[\"\\\\div\", 247],\n\t[\"\\\\divides\", 8739],\n\t[\"\\\\cdot\", 8901],\n\t[\"\\\\cap\", 8745],\n\t[\"\\\\cup\", 8746],\n\t[\"\\\\setminus\", 8726],\n\t[\"\\\\land\", 8743],\n\t[\"\\\\wedge\", 8743],\n\t[\"\\\\lor\", 8744],\n\t[\"\\\\vee\", 8744],\n\t[\"\\\\circ\", 8728],\n\t[\"\\\\bigcirc\", 9711],\n\t[\"\\\\bullet\", 8729],\n\t[\"\\\\oplus\", 8853],\n\t[\"\\\\ominus\", 8854],\n\t[\"\\\\otimes\", 8855],\n\t[\"\\\\odot\", 8857],\n\t[\"\\\\oslash\", 8856],\n\t[\"\\\\bigtriangleup\", 9651],\n\t[\"\\\\bigtriangledown\", 9661],\n\t[\"\\\\triangleleft\", 9667],\n\t[\"\\\\triangleright\", 9657],\n\t[\"\\\\And\", 38],\n\t[\"\\\\dagger\", 8224],\n\t[\"\\\\dag\", 8224],\n\t[\"\\\\ddag\", 8225],\n\t[\"\\\\ddagger\", 8225],\n\t[\"\\\\ast\", 8727],\n\t[\"\\\\star\", 8902],\n\t[\"\\\\bigstar\", 9733],\n\t[\"\\\\diamond\", 8900]\n], \"mbin\"), T([\n\t[\"\\\\lhd\", 8882],\n\t[\"\\\\rhd\", 8883],\n\t[\"\\\\lessdot\", 8918],\n\t[\"\\\\gtrdot\", 8919],\n\t[\"\\\\ltimes\", 8905],\n\t[\"\\\\rtimes\", 8906],\n\t[\"\\\\leftthreetimes\", 8907],\n\t[\"\\\\rightthreetimes\", 8908],\n\t[\"\\\\intercal\", 8890],\n\t[\"\\\\dotplus\", 8724],\n\t[\"\\\\doublebarwedge\", 10846],\n\t[\"\\\\divideontimes\", 8903],\n\t[\"\\\\centerdot\", 8901],\n\t[\"\\\\smallsetminus\", 8726],\n\t[\"\\\\barwedge\", 8892],\n\t[\"\\\\veebar\", 8891],\n\t[\"\\\\nor\", 8891],\n\t[\"\\\\curlywedge\", 8911],\n\t[\"\\\\curlyvee\", 8910],\n\t[\"\\\\boxminus\", 8863],\n\t[\"\\\\boxplus\", 8862],\n\t[\"\\\\boxtimes\", 8864],\n\t[\"\\\\boxdot\", 8865],\n\t[\"\\\\circleddash\", 8861],\n\t[\"\\\\circledast\", 8859],\n\t[\"\\\\circledcirc\", 8858],\n\t[\"\\\\unlhd\", 8884],\n\t[\"\\\\unrhd\", 8885]\n], \"mbin\", \"ams\"), T([\n\t[\"\\\\surd\", 8730],\n\t[\"\\\\S\", 167],\n\t[\"\\\\infty\", 8734],\n\t[\"\\\\prime\", 8242],\n\t[\"\\\\doubleprime\", 8243],\n\t[\"\\\\angle\", 8736],\n\t[\"`\", 8216],\n\t[\"\\\\$\", 36],\n\t[\"\\\\%\", 37],\n\t[\"\\\\_\", 95],\n\t[\"\\\\alpha\", 945],\n\t[\"\\\\beta\", 946],\n\t[\"\\\\gamma\", 947],\n\t[\"\\\\delta\", 948],\n\t[\"\\\\epsilon\", 1013],\n\t[\"\\\\varepsilon\", 949],\n\t[\"\\\\zeta\", 950],\n\t[\"\\\\eta\", 951],\n\t[\"\\\\theta\", 952],\n\t[\"\\\\vartheta\", 977],\n\t[\"\\\\iota\", 953],\n\t[\"\\\\kappa\", 954],\n\t[\n\t\t\"\\\\varkappa\",\n\t\t1008,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\"\\\\lambda\", 955],\n\t[\"\\\\mu\", 956],\n\t[\"\\\\nu\", 957],\n\t[\"\\\\xi\", 958],\n\t[\"\\\\omicron\", 111],\n\t[\"\\\\pi\", 960],\n\t[\"\\\\varpi\", 982],\n\t[\"\\\\rho\", 961],\n\t[\"\\\\varrho\", 1009],\n\t[\"\\\\sigma\", 963],\n\t[\"\\\\varsigma\", 962],\n\t[\"\\\\tau\", 964],\n\t[\"\\\\phi\", 981],\n\t[\"\\\\varphi\", 966],\n\t[\"\\\\upsilon\", 965],\n\t[\"\\\\chi\", 967],\n\t[\"\\\\psi\", 968],\n\t[\"\\\\omega\", 969],\n\t[\"\\\\Gamma\", 915],\n\t[\"\\\\Delta\", 916],\n\t[\"\\\\Theta\", 920],\n\t[\"\\\\Lambda\", 923],\n\t[\"\\\\Xi\", 926],\n\t[\"\\\\Pi\", 928],\n\t[\"\\\\Sigma\", 931],\n\t[\"\\\\Upsilon\", 933],\n\t[\"\\\\Phi\", 934],\n\t[\"\\\\Psi\", 936],\n\t[\"\\\\Omega\", 937],\n\t[\n\t\t\"\\\\digamma\",\n\t\t989,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\varkappa\",\n\t\t1008,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\coppa\",\n\t\t985,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\koppa\",\n\t\t985,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\Coppa\",\n\t\t984,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\Koppa\",\n\t\t984,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\sampi\",\n\t\t993,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\n\t\t\"\\\\Sampi\",\n\t\t992,\n\t\t\"mord\",\n\t\t\"ams\"\n\t],\n\t[\"\\\\emptyset\", 8709]\n]), T([\n\t[\"=\", 61],\n\t[\"<\", 60],\n\t[\"\\\\lt\", 60],\n\t[\">\", 62],\n\t[\"\\\\gt\", 62],\n\t[\"\\\\le\", 8804],\n\t[\"\\\\leq\", 8804],\n\t[\"\\\\ge\", 8805],\n\t[\"\\\\geq\", 8805],\n\t[\"\\\\ll\", 8810],\n\t[\"\\\\gg\", 8811],\n\t[\"\\\\coloneq\", 8788],\n\t[\"\\\\coloneqq\", 8788],\n\t[\"\\\\colonequals\", 8788],\n\t[\"\\\\measeq\", 8797],\n\t[\"\\\\eqdef\", 8798],\n\t[\"\\\\questeq\", 8799],\n\t[\":\", 58],\n\t[\"\\\\cong\", 8773],\n\t[\"\\\\equiv\", 8801],\n\t[\"\\\\prec\", 8826],\n\t[\"\\\\preceq\", 10927],\n\t[\"\\\\succ\", 8827],\n\t[\"\\\\succeq\", 10928],\n\t[\"\\\\perp\", 10178],\n\t[\"\\\\propto\", 8733],\n\t[\"\\\\Colon\", 8759],\n\t[\"\\\\smile\", 8995],\n\t[\"\\\\frown\", 8994],\n\t[\"\\\\sim\", 8764],\n\t[\"\\\\doteq\", 8784],\n\t[\"\\\\bowtie\", 8904],\n\t[\"\\\\Join\", 8904],\n\t[\"\\\\asymp\", 8781],\n\t[\"\\\\sqsubseteq\", 8849],\n\t[\"\\\\sqsupseteq\", 8850],\n\t[\"\\\\approx\", 8776],\n\t[\"\\\\~\", 126],\n\t[\"\\\\leftrightarrow\", 8596],\n\t[\"\\\\Leftrightarrow\", 8660],\n\t[\"\\\\models\", 8872],\n\t[\"\\\\vdash\", 8866],\n\t[\"\\\\dashv\", 8867],\n\t[\"\\\\roundimplies\", 10608],\n\t[\"\\\\in\", 8712],\n\t[\"\\\\notin\", 8713],\n\t[\"\\\\ni\", 8715],\n\t[\"\\\\owns\", 8715],\n\t[\"\\\\subset\", 8834],\n\t[\"\\\\supset\", 8835],\n\t[\"\\\\subseteq\", 8838],\n\t[\"\\\\supseteq\", 8839],\n\t[\"\\\\differencedelta\", 8710],\n\t[\"\\\\mvert\", 8739],\n\t[\"\\\\parallel\", 8741],\n\t[\"\\\\simeq\", 8771]\n], \"mrel\"), T([\n\t[\"\\\\lnot\", 172],\n\t[\"\\\\neg\", 172],\n\t[\"\\\\triangle\", 9651],\n\t[\"\\\\subsetneq\", 8842],\n\t[\"\\\\varsubsetneq\", 57370],\n\t[\"\\\\subsetneqq\", 10955],\n\t[\"\\\\varsubsetneqq\", 57367],\n\t[\"\\\\nsubset\", 8836],\n\t[\"\\\\nsupset\", 8837],\n\t[\"\\\\nsubseteq\", 8840],\n\t[\"\\\\nsupseteq\", 8841]\n], \"mrel\", \"ams\"), T([[\"\\\\wp\", 8472], [\"\\\\aleph\", 8501]]), T([\n\t[\"\\\\blacktriangle\", 9650],\n\t[\"\\\\hslash\", 8463],\n\t[\"\\\\Finv\", 8498],\n\t[\"\\\\Game\", 8513],\n\t[\"\\\\eth\", 240],\n\t[\"\\\\mho\", 8487],\n\t[\"\\\\Bbbk\", 107],\n\t[\"\\\\yen\", 165],\n\t[\"\\\\square\", 9633],\n\t[\"\\\\Box\", 9633],\n\t[\"\\\\blacksquare\", 9632],\n\t[\"\\\\circledS\", 9416],\n\t[\"\\\\circledR\", 174],\n\t[\"\\\\triangledown\", 9661],\n\t[\"\\\\blacktriangledown\", 9660],\n\t[\"\\\\checkmark\", 10003],\n\t[\"\\\\diagup\", 9585],\n\t[\"\\\\measuredangle\", 8737],\n\t[\"\\\\sphericalangle\", 8738],\n\t[\"\\\\backprime\", 8245],\n\t[\"\\\\backdoubleprime\", 8246],\n\t[\"\\\\Diamond\", 9674],\n\t[\"\\\\lozenge\", 9674],\n\t[\"\\\\blacklozenge\", 10731],\n\t[\"\\\\varnothing\", 8709],\n\t[\"\\\\complement\", 8705],\n\t[\"\\\\maltese\", 10016],\n\t[\"\\\\beth\", 8502],\n\t[\"\\\\daleth\", 8504],\n\t[\"\\\\gimel\", 8503]\n], \"mord\", \"ams\"), T([[\"\\\\ \", 160], [\"~\", 160]], \"space\"), E([\n\t\"!\",\n\t\",\",\n\t\":\",\n\t\";\",\n\t\">\",\n\t\"enskip\",\n\t\"enspace\",\n\t\"quad\",\n\t\"qquad\"\n], \"\", { createAtom: (e) => new vu(e) }), E(\"space\", \"\", { createAtom: (e) => new vu(e) }), T([\n\t[\"\\\\colon\", 58],\n\t[\"\\\\cdotp\", 8901],\n\t[\n\t\t\"\\\\vdots\",\n\t\t8942,\n\t\t\"mord\"\n\t],\n\t[\"\\\\ldotp\", 46],\n\t[\",\", 44],\n\t[\";\", 59]\n], \"mpunct\"), T([\n\t[\"\\\\cdots\", 8943],\n\t[\"\\\\ddots\", 8945],\n\t[\"\\\\ldots\", 8230],\n\t[\"\\\\mathellipsis\", 8230]\n], \"minner\"), T([\n\t[\"\\\\/\", 47],\n\t[\n\t\t\"|\",\n\t\t8739,\n\t\t\"mord\"\n\t],\n\t[\"\\\\imath\", 305],\n\t[\"\\\\jmath\", 567],\n\t[\"\\\\degree\", 176],\n\t[\"'\", 8242],\n\t[\"\\\"\", 8221]\n]);\nvar Vu = {\n\tmain: [\"Main-Regular\", \"ML__cmr\"],\n\t\"main-italic\": [\"Main-Italic\", \"ML__cmr ML__it\"],\n\t\"main-bold\": [\"Main-Bold\", \"ML__cmr ML__bold\"],\n\t\"main-bolditalic\": [\"Main-BoldItalic\", \"ML__cmr ML__bold ML__it\"],\n\tnormal: [\"Main-Regular\", \"ML__cmr\"],\n\t\"normal-bold\": [\"Main-Bold\", \"ML__mathbf\"],\n\t\"normal-italic\": [\"Math-Italic\", \"ML__mathit\"],\n\t\"normal-bolditalic\": [\"Math-BoldItalic\", \"ML__mathbfit\"],\n\troman: [\"Main-Regular\", \"ML__cmr\"],\n\t\"roman-bold\": [\"Main-Bold\", \"ML__mathbf\"],\n\t\"roman-italic\": [\"Math-Italic\", \"ML__mathit\"],\n\t\"roman-bolditalic\": [\"Math-BoldItalic\", \"ML__mathbfit\"],\n\tams: [\"AMS-Regular\", \"ML__ams\"],\n\t\"ams-bold\": [\"AMS-Regular\", \"ML__ams ML__bold\"],\n\t\"ams-italic\": [\"AMS-Regular\", \"ML__ams ML__it\"],\n\t\"ams-bolditalic\": [\"AMS-Regular\", \"ML__ams ML__bold ML__it\"],\n\t\"sans-serif\": [\"SansSerif-Regular\", \"ML__sans\"],\n\t\"sans-serif-bold\": [\"SansSerif-Regular\", \"ML__sans ML__bold\"],\n\t\"sans-serif-italic\": [\"SansSerif-Regular\", \"ML__sans ML__it\"],\n\t\"sans-serif-bolditalic\": [\"SansSerif-Regular\", \"ML__sans ML__bold ML__it\"],\n\tcalligraphic: [\"Caligraphic-Regular\", \"ML__cal\"],\n\t\"calligraphic-bold\": [\"Caligraphic-Regular\", \"ML__cal ML__bold\"],\n\t\"calligraphic-italic\": [\"Caligraphic-Regular\", \"ML__cal ML__it\"],\n\t\"calligraphic-bolditalic\": [\"Caligraphic-Regular\", \"ML__cal ML__bold ML__it\"],\n\tscript: [\"Script-Regular\", \"ML__script\"],\n\t\"script-bold\": [\"Script-Regular\", \"ML__script ML__bold\"],\n\t\"script-italic\": [\"Script-Regular\", \"ML__script ML__it\"],\n\t\"script-bolditalic\": [\"Script-Regular\", \"ML__script ML__bold ML__it\"],\n\tfraktur: [\"Fraktur-Regular\", \"ML__frak\"],\n\t\"fraktur-bold\": [\"Fraktur-Regular\", \"ML__frak ML__bold\"],\n\t\"fraktur-italic\": [\"Fraktur-Regular\", \"ML__frak ML__it\"],\n\t\"fraktur-bolditalic\": [\"Fraktur-Regular\", \"ML__frak ML__bold ML__it\"],\n\tmonospace: [\"Typewriter-Regular\", \"ML__tt\"],\n\t\"monospace-bold\": [\"Typewriter-Regular\", \"ML__tt ML__bold\"],\n\t\"monospace-italic\": [\"Typewriter-Regular\", \"ML__tt ML__it\"],\n\t\"monospace-bolditalic\": [\"Typewriter-Regular\", \"ML__tt ML__bold ML__it\"],\n\t\"double-struck\": [\"AMS-Regular\", \"ML__bb\"],\n\t\"double-struck-bold\": [\"AMS-Regular\", \"ML__bb ML__bold\"],\n\t\"double-struck-italic\": [\"AMS-Regular\", \"ML__bb ML_italic\"],\n\t\"double-struck-bolditalic\": [\"AMS-Regular\", \"ML__bb ML_bolditalic\"]\n}, Hu = {\n\t\"double-struck\": /^[A-Z ]$/,\n\tscript: /^[A-Z ]$/,\n\tcalligraphic: /^[\\dA-Z ]$/,\n\tfraktur: /^[\\dA-Za-z ]$|^[!\"#$%&'()*+,\\-./:;=?[]^’‘]$/,\n\tmonospace: /^[\\dA-Za-z ]$|^[!\"&'()*+,\\-./:;=?@[\\]^_~\\u0131\\u0237\\u0393\\u0394\\u0398\\u039B\\u039E\\u03A0\\u03A3\\u03A5\\u03A8\\u03A9]$/,\n\t\"sans-serif\": /^[\\dA-Za-z ]$|^[!\"&'()*+,\\-./:;=?@[\\]^_~\\u0131\\u0237\\u0393\\u0394\\u0398\\u039B\\u039E\\u03A0\\u03A3\\u03A5\\u03A8\\u03A9]$/\n}, Uu = /^[\\u03B1-\\u03C9]|\\u03D1|\\u03D5|\\u03D6|\\u03F1|\\u03F5]$/, Wu = [\n\t/^[a-z]$/,\n\t/^[A-Z]$/,\n\tUu,\n\t/^[\\u0393|\\u0394\\u0398\\u039B\\u039E\\u03A0\\u03A3\\u03A5\\u03A6\\u03A8\\u03A9]$/\n], Gu = {\n\tiso: [\n\t\t\"it\",\n\t\t\"it\",\n\t\t\"it\",\n\t\t\"it\"\n\t],\n\ttex: [\n\t\t\"it\",\n\t\t\"it\",\n\t\t\"it\",\n\t\t\"up\"\n\t],\n\tfrench: [\n\t\t\"it\",\n\t\t\"up\",\n\t\t\"up\",\n\t\t\"up\"\n\t],\n\tupright: [\n\t\t\"up\",\n\t\t\"up\",\n\t\t\"up\",\n\t\t\"up\"\n\t]\n}, Ku = class extends ls {\n\tconstructor() {\n\t\tsuper(\"math\");\n\t}\n\tcreateAtom(e, t, n) {\n\t\tif (t === null) return new F({\n\t\t\ttype: \"mord\",\n\t\t\tmode: \"math\",\n\t\t\tcommand: e,\n\t\t\tvalue: e,\n\t\t\tstyle: n\n\t\t});\n\t\tlet r;\n\t\ttry {\n\t\t\tr = globalThis.MathfieldElement?.isFunction(t.command ?? e) ?? !1;\n\t\t} catch {\n\t\t\tr = !1;\n\t\t}\n\t\tif (t.definitionType === \"symbol\") {\n\t\t\tlet i = new F({\n\t\t\t\ttype: t.type ?? \"mord\",\n\t\t\t\tmode: \"math\",\n\t\t\t\tcommand: t.command ?? e,\n\t\t\t\tvalue: String.fromCodePoint(t.codepoint),\n\t\t\t\tisFunction: r,\n\t\t\t\tstyle: n\n\t\t\t});\n\t\t\treturn e.startsWith(\"\\\\\") && (i.verbatimLatex = e), i;\n\t\t}\n\t\tlet i = new F({\n\t\t\ttype: \"mord\",\n\t\t\tmode: \"math\",\n\t\t\tcommand: t.command ?? e,\n\t\t\tvalue: e,\n\t\t\tisFunction: r,\n\t\t\tstyle: n\n\t\t});\n\t\treturn e.startsWith(\"\\\\\") && (i.verbatimLatex = e), i;\n\t}\n\tserialize(e, t) {\n\t\tlet n = qu(e, c(s({}, t), { defaultMode: \"math\" }));\n\t\treturn n.length === 0 || t.defaultMode !== \"text\" ? n : [\n\t\t\t\"$ \",\n\t\t\t...n,\n\t\t\t\" $\"\n\t\t];\n\t}\n\tgetFont(e, t) {\n\t\tif (t.variant, t.fontFamily) {\n\t\t\tlet n = t.fontFamily;\n\t\t\tt.fontSeries === \"b\" && t.fontShape === \"it\" ? n += \"-bolditalic\" : t.fontSeries === \"b\" ? n += \"-bold\" : t.fontShape === \"it\" && (n += \"-italic\");\n\t\t\tlet r = Vu[n] ?? Vu[t.fontFamily];\n\t\t\tif (!r) return console.error(`Unknown font family variant: ${n}`), null;\n\t\t\tlet [i, a] = r;\n\t\t\treturn a && (e.classes += \" \" + a), i;\n\t\t}\n\t\tlet { variant: n } = t, { variantStyle: r } = t;\n\t\tif (n === \"normal\" && !r && /[\\u00A3\\u0131\\u0237]/.test(e.value) && (n = \"main\", r = \"italic\"), n === \"normal\" && !r && e.value.length === 1) {\n\t\t\tlet n = !1;\n\t\t\tWu.forEach((r, i) => {\n\t\t\t\tr.test(e.value) && Gu[t.letterShapeStyle ?? \"tex\"][i] === \"it\" && (n = !0);\n\t\t\t}), n && (r = Nu(r));\n\t\t}\n\t\tr === \"up\" && (r = void 0);\n\t\tlet i = r ? n + \"-\" + r : n;\n\t\tVu[i];\n\t\tlet [a, o] = Vu[i];\n\t\tif (Hu[n] && !Hu[n].test(e.value)) {\n\t\t\tlet t = Ve(e.value, n, r);\n\t\t\treturn t || (t = Ve(e.value, n) ?? e.value, e.classes += {\n\t\t\t\tbold: \" ML__bold\",\n\t\t\t\titalic: \" ML__it\",\n\t\t\t\t\"bold-italic\": \" ML__bold ML__it\"\n\t\t\t}[r ?? \"\"] ?? \"\"), e.value = t, null;\n\t\t}\n\t\treturn Uu.test(e.value) && (e.classes += \" lcGreek\"), o && (e.classes += \" \" + o), a;\n\t}\n};\nfunction qu(e, t) {\n\treturn ps(e, \"bold\").map((e) => {\n\t\tif (ds(e[0]) !== \"bold\" || ds(e[0].parent) === \"bold\") return A(Ju(e, t));\n\t\tlet n = A(e.map((e) => e.value ?? \"\"));\n\t\treturn /^[a-zA-Z0-9]+$/.test(n) ? j(\"\\\\mathbf\", A(Ju(e, t))) : j(\"\\\\bm\", A(Ju(e, t)));\n\t});\n}\nfunction Ju(e, t) {\n\tlet { parent: n } = e[0], r = fs(n);\n\treturn ps(e, \"variant\").map((e) => {\n\t\tlet n = fs(e[0]), i = \"\";\n\t\tn && n !== r && (i = {\n\t\t\tcalligraphic: \"\\\\mathcal\",\n\t\t\t\"calligraphic-uo\": \"\\\\mathcal\",\n\t\t\tfraktur: \"\\\\mathfrak\",\n\t\t\t\"fraktur-uo\": \"\\\\mathfrak\",\n\t\t\t\"double-struck\": \"\\\\mathbb\",\n\t\t\t\"double-struck-uo\": \"\\\\mathbb\",\n\t\t\tscript: \"\\\\mathscr\",\n\t\t\t\"script-uo\": \"\\\\mathscr\",\n\t\t\tmonospace: \"\\\\mathtt\",\n\t\t\t\"monospace-uo\": \"\\\\mathtt\",\n\t\t\t\"sans-serif\": \"\\\\mathsf\",\n\t\t\t\"sans-serif-uo\": \"\\\\mathsf\",\n\t\t\tnormal: \"\",\n\t\t\t\"normal-up\": \"\\\\mathrm\",\n\t\t\t\"normal-italic\": \"\\\\mathnormal\",\n\t\t\t\"normal-bold\": \"\",\n\t\t\t\"normal-bolditalic\": \"\\\\mathbfit\",\n\t\t\tams: \"\",\n\t\t\t\"ams-up\": \"\\\\mathrm\",\n\t\t\t\"ams-italic\": \"\\\\mathit\",\n\t\t\t\"ams-bold\": \"\",\n\t\t\t\"ams-bolditalic\": \"\\\\mathbfit\",\n\t\t\tmain: \"\",\n\t\t\t\"main-up\": \"\\\\mathrm\",\n\t\t\t\"main-italic\": \"\\\\mathit\",\n\t\t\t\"main-bold\": \"\",\n\t\t\t\"main-bolditalic\": \"\\\\mathbfit\"\n\t\t}[n]);\n\t\tlet a = \"\", o = e[e.length - 1], s = i && e.length > 0 && (o.branch(\"subscript\") !== void 0 || o.branch(\"superscript\") !== void 0);\n\t\ts && (a = o.supsubToLatex(t));\n\t\tlet c = A(e.map((n, r) => {\n\t\t\tif (s && r === e.length - 1) {\n\t\t\t\tlet e = ft(n.command, n.mode);\n\t\t\t\treturn e != null && e.serialize ? e.serialize(n, t) : n.body && n.command ? j(n.command, n.bodyToLatex(t)) : n.body ? n.bodyToLatex(t) : !n.value || n.value === \"\" ? \"\" : n.command || n.value;\n\t\t\t}\n\t\t\treturn n._serialize(t);\n\t\t}));\n\t\treturn i ? j(i, c) + a : c;\n\t});\n}\nnew Ku();\nfunction Yu(e, t) {\n\treturn e.map((e) => e._serialize(t));\n}\nfunction Xu(e, t) {\n\treturn ps(e, \"fontShape\").map((e) => {\n\t\tlet n = Yu(e, t), { fontShape: r } = e[0].style, i = \"\";\n\t\treturn r === \"it\" && (i = \"\\\\textit\"), r === \"sl\" && (i = \"\\\\textsl\"), r === \"sc\" && (i = \"\\\\textsc\"), r === \"n\" && (i = \"\\\\textup\"), !i && r ? `{${j(\"\\\\fontshape\", r)}${A(n)}}` : i ? j(i, A(n)) : A(n);\n\t});\n}\nfunction Zu(e, t) {\n\treturn ps(e, \"fontSeries\").map((e) => {\n\t\tlet n = Xu(e, t), { fontSeries: r } = e[0].style, i = \"\";\n\t\treturn r === \"b\" && (i = \"\\\\textbf\"), r === \"l\" && (i = \"\\\\textlf\"), r === \"m\" && (i = \"\\\\textmd\"), r && !i ? `{${j(\"\\\\fontseries\", r)}${A(n)}}` : i ? j(i, A(n)) : A(n);\n\t});\n}\nfunction Qu(e, t) {\n\treturn ps(e, \"fontSize\").map((e) => {\n\t\tlet n = Zu(e, t), r = [\n\t\t\t\"\",\n\t\t\t\"\\\\tiny\",\n\t\t\t\"\\\\scriptsize\",\n\t\t\t\"\\\\footnotesize\",\n\t\t\t\"\\\\small\",\n\t\t\t\"\\\\normalsize\",\n\t\t\t\"\\\\large\",\n\t\t\t\"\\\\Large\",\n\t\t\t\"\\\\LARGE\",\n\t\t\t\"\\\\huge\",\n\t\t\t\"\\\\Huge\"\n\t\t][e[0].style.fontSize ?? \"\"] ?? \"\";\n\t\treturn r ? `${r} ${A(n)}` : A(n);\n\t});\n}\nfunction $u(e, t, n) {\n\treturn ps(e, \"fontFamily\").map((e) => {\n\t\tn = n && !e.every((e) => e.style.fontFamily || e.style.fontShape || e.style.fontSeries || e.style.fontSize);\n\t\tlet r = Qu(e, t), { fontFamily: i } = e[0].style, a = {\n\t\t\troman: \"textrm\",\n\t\t\tmonospace: \"texttt\",\n\t\t\t\"sans-serif\": \"textsf\"\n\t\t}[i ?? \"\"] ?? \"\";\n\t\treturn a ? `\\\\${a}{${A(r)}}` : i ? `{\\\\fontfamily{${e[0].style.fontFamily}} ${A(r)}}` : n ? `\\\\text{${A(r)}}` : A(r);\n\t});\n}\nvar ed = {\n\troman: \"\",\n\t\"sans-serif\": \"ML__sans\",\n\tmonospace: \"ML__tt\"\n};\nnew class extends ls {\n\tconstructor() {\n\t\tsuper(\"text\");\n\t}\n\tcreateAtom(e, t, n) {\n\t\treturn t && t.definitionType === \"symbol\" ? new ic(e, String.fromCodePoint(t.codepoint), n ?? {}) : null;\n\t}\n\tserialize(e, t) {\n\t\treturn $u(e, c(s({}, t), { defaultMode: \"text\" }), t.defaultMode !== \"text\");\n\t}\n\tgetFont(e, t) {\n\t\tlet { fontFamily: n } = t;\n\t\tif (ed[n] ? e.classes += \" \" + ed[n] : n && e.setStyle(\"font-family\", n), t.fontShape && (e.classes += \" \", e.classes += {\n\t\t\tit: \"ML__it\",\n\t\t\tsl: \"ML__shape_sl\",\n\t\t\tsc: \"ML__shape_sc\",\n\t\t\tol: \"ML__shape_ol\"\n\t\t}[t.fontShape] ?? \"\"), t.fontSeries) {\n\t\t\tlet n = t.fontSeries.match(/(.?[lbm])?(.?[cx])?/);\n\t\t\tn && (e.classes += \" \", e.classes += {\n\t\t\t\tul: \"ML__series_ul\",\n\t\t\t\tel: \"ML__series_el\",\n\t\t\t\tl: \"ML__series_l\",\n\t\t\t\tsl: \"ML__series_sl\",\n\t\t\t\tm: \"\",\n\t\t\t\tsb: \"ML__series_sb\",\n\t\t\t\tb: \"ML__bold\",\n\t\t\t\teb: \"ML__series_eb\",\n\t\t\t\tub: \"ML__series_ub\"\n\t\t\t}[n[1] ?? \"\"] ?? \"\", e.classes += \" \", e.classes += {\n\t\t\t\tuc: \"ML__series_uc\",\n\t\t\t\tec: \"ML__series_ec\",\n\t\t\t\tc: \"ML__series_c\",\n\t\t\t\tsc: \"ML__series_sc\",\n\t\t\t\tn: \"\",\n\t\t\t\tsx: \"ML__series_sx\",\n\t\t\t\tx: \"ML__series_x\",\n\t\t\t\tex: \"ML__series_ex\",\n\t\t\t\tux: \"ML__series_ux\"\n\t\t\t}[n[2] ?? \"\"] ?? \"\");\n\t\t}\n\t\treturn \"Main-Regular\";\n\t}\n}(), new class extends ls {\n\tconstructor() {\n\t\tsuper(\"latex\");\n\t}\n\tcreateAtom(e) {\n\t\treturn new V(e);\n\t}\n\tserialize(e, t) {\n\t\treturn e.filter((e) => e instanceof V && !e.isSuggestion).map((e) => e.value);\n\t}\n\tgetFont() {\n\t\treturn null;\n\t}\n}();\nfunction td(e) {\n\tlet t = /macos|ios/.test(h()), n = e.split(\"+\"), r = \"\";\n\tfor (let e of n) r && (r += t ? \" \" : \"<span class=\\\"ML__shortcut-join\\\">+</span>\"), e.startsWith(\"[Key\") ? r += e.slice(4, 5) : e.startsWith(\"Key\") ? r += e.slice(3, 4) : e.startsWith(\"[Digit\") ? r += e.slice(6, 7) : e.startsWith(\"Digit\") ? r += e.slice(5, 6) : r += {\n\t\tcmd: \"⌘\",\n\t\tmeta: t ? \"⌘\" : \"Ctrl\",\n\t\tshift: t ? \"⇧\" : \"Shift\",\n\t\talt: t ? \"⌥\" : \"Alt\",\n\t\tctrl: t ? \"⌃\" : \"Ctrl\",\n\t\t\"\\n\": t ? \"⏎\" : \"Return\",\n\t\t\"[return]\": t ? \"⏎\" : \"Return\",\n\t\t\"[enter]\": t ? \"⌤\" : \"Enter\",\n\t\t\"[tab]\": t ? \"⇥\" : \"Tab\",\n\t\t\"[escape]\": \"Esc\",\n\t\t\"[backspace]\": t ? \"⌫\" : \"Backspace\",\n\t\t\"[delete]\": t ? \"⌦\" : \"Del\",\n\t\t\"[pageup]\": t ? \"⇞\" : \"Page Up\",\n\t\t\"[pagedown]\": t ? \"⇟\" : \"Page Down\",\n\t\t\"[home]\": t ? \"⤒\" : \"Home\",\n\t\t\"[end]\": t ? \"⤓\" : \"End\",\n\t\t\"[space]\": \"Space\",\n\t\t\"[equal]\": \"=\",\n\t\t\"[minus]\": \"-\",\n\t\t\"[comma]\": \",\",\n\t\t\"[slash]\": \"/\",\n\t\t\"[backslash]\": \"\\\\\",\n\t\t\"[bracketleft]\": \"[\",\n\t\t\"[bracketright]\": \"]\",\n\t\tsemicolon: \";\",\n\t\tperiod: \".\",\n\t\tcomma: \",\",\n\t\tminus: \"-\",\n\t\tequal: \"=\",\n\t\tquote: \"'\",\n\t\tbackslash: \"\\\\\",\n\t\tintlbackslash: \"\\\\\",\n\t\tbackquote: \"`\",\n\t\tslash: \"/\",\n\t\tnumpadmultiply: \"* 🔢\",\n\t\tnumpaddivide: \"/ 🔢\",\n\t\tnumpadsubtract: \"- 🔢\",\n\t\tnumpadadd: \"+ 🔢\",\n\t\tnumpaddecimal: \". 🔢\",\n\t\tnumpadcomma: \", 🔢\",\n\t\thelp: \"help\",\n\t\tleft: \"⇠\",\n\t\tup: \"⇡\",\n\t\tright: \"⇢\",\n\t\tdown: \"⇣\",\n\t\t\"[arrowleft]\": \"⇠\",\n\t\t\"[arrowup]\": \"⇡\",\n\t\t\"[arrowright]\": \"⇢\",\n\t\t\"[arrowdown]\": \"⇣\"\n\t}[e.toLowerCase()] ?? e.toUpperCase();\n\treturn r;\n}\nfunction nd(e) {\n\tif (e instanceof MouseEvent || e instanceof PointerEvent) return {\n\t\tx: e.clientX,\n\t\ty: e.clientY\n\t};\n\tif (typeof TouchEvent < \"u\" && e instanceof TouchEvent) {\n\t\tlet t = [...e.touches].reduce((e, t) => ({\n\t\t\tx: e.x + t.clientX,\n\t\t\ty: e.y + t.clientY\n\t\t}), {\n\t\t\tx: 0,\n\t\t\ty: 0\n\t\t}), n = e.touches.length;\n\t\treturn {\n\t\t\tx: t.x / n,\n\t\t\ty: t.y / n\n\t\t};\n\t}\n}\nfunction rd(e) {\n\tlet t = {\n\t\talt: !1,\n\t\tcontrol: !1,\n\t\tshift: !1,\n\t\tmeta: !1\n\t};\n\treturn (e instanceof MouseEvent || e instanceof PointerEvent || typeof TouchEvent < \"u\" && e instanceof TouchEvent || e instanceof KeyboardEvent) && (e.altKey && (t.alt = !0), e.ctrlKey && (t.control = !0), e.metaKey && (t.meta = !0), e.shiftKey && (t.shift = !0)), t;\n}\nfunction id(e, t) {\n\treturn !e && t || e && !t ? !1 : !e || !t || e.alt === t.alt && e.control === t.control && e.shift === t.shift && e.meta === t.meta;\n}\nvar ad = /* @__PURE__ */ new Set(/* @__PURE__ */ \"Backquote.Digit0.Digit1.Digit2.Digit3.Digit4.Digit5.Digit6.Digit7.Digit8.Digit9.Minus.Equal.IntlYen.KeyQ.KeyW.KeyE.KeyR.KeyT.KeyY.KeyU.KeyI.KeyO.KeyP.BracketLeft.BracketRight.Backslash.KeyA.KeyS.KeyD.KeyF.KeyG.KeyH.KeyJ.KeyK.KeyL.Semicolon.Quote.IntlBackslash.KeyZ.KeyX.KeyC.KeyV.KeyB.KeyN.KeyM.Comma.Period.Slash.IntlRo.Space.Numpad0.Numpad1.Numpad2.Numpad3.Numpad4.Numpad5.Numpad6.Numpad7.Numpad8.Numpad9.NumpadAdd.NumpadComma.NumpadDecimal.NumpadDivide.NumpadEqual.NumpadHash.NumpadMultiply.NumpadParenLeft.NumpadParenRight.NumpadStar.NumpadSubstract\".split(\".\"));\nfunction od(e) {\n\treturn e.ctrlKey || e.metaKey || [\"Dead\", \"Process\"].includes(e.key) ? !1 : e.code === \"\" || ad.has(e.code);\n}\nfunction sd() {\n\tvar e;\n\tlet t = document.activeElement;\n\tfor (; (e = t?.shadowRoot) != null && e.activeElement;) t = t.shadowRoot.activeElement;\n\treturn t;\n}\nvar cd = class e {\n\tstatic get scrim() {\n\t\treturn e._scrim || (e._scrim = new e()), e._scrim;\n\t}\n\tstatic open(t) {\n\t\te.scrim.open(t);\n\t}\n\tstatic close() {\n\t\te.scrim.close();\n\t}\n\tstatic get state() {\n\t\treturn e.scrim.state;\n\t}\n\tstatic get element() {\n\t\treturn e.scrim.element;\n\t}\n\tconstructor(e) {\n\t\tthis.lightDismiss = e?.lightDismiss ?? !0, this.translucent = e?.translucent ?? !1, this.state = \"closed\";\n\t}\n\tget element() {\n\t\tif (this._element) return this._element;\n\t\tlet e = document.createElement(\"div\");\n\t\treturn e.setAttribute(\"role\", \"presentation\"), e.style.position = \"fixed\", e.style.contain = \"content\", e.style.top = \"0\", e.style.left = \"0\", e.style.right = \"0\", e.style.bottom = \"0\", e.style.zIndex = \"var(--scrim-zindex, 10099)\", e.style.outline = \"none\", this.translucent ? (e.style.background = \"rgba(255, 255, 255, .2)\", e.style.backdropFilter = \"contrast(40%)\") : e.style.background = \"transparent\", this._element = e, e;\n\t}\n\topen(e) {\n\t\tif (this.state !== \"closed\") return;\n\t\tthis.state = \"opening\", this.onDismiss = e?.onDismiss, this.savedActiveElement = sd();\n\t\tlet { element: t } = this;\n\t\t(e?.root ?? document.body).appendChild(t), t.addEventListener(\"click\", this), document.addEventListener(\"touchmove\", this, !1), document.addEventListener(\"scroll\", this, !1);\n\t\tlet n = window.innerWidth - document.documentElement.clientWidth;\n\t\tthis.savedMarginRight = document.body.style.marginRight, this.savedOverflow = document.body.style.overflow, document.body.style.overflow = \"hidden\";\n\t\tlet r = Number.parseFloat(getComputedStyle(document.body).marginRight);\n\t\tdocument.body.style.marginRight = `${r + n}px`;\n\t\tlet i = document.querySelector(\".MLK__plate\");\n\t\tif (i instanceof HTMLElement) {\n\t\t\tthis.savedMlkPaddingRight = i.style.paddingRight;\n\t\t\tlet e = Number.parseFloat(getComputedStyle(i).paddingRight);\n\t\t\ti.style.paddingRight = `${e + n}px`;\n\t\t}\n\t\te != null && e.child && t.append(e.child), this.state = \"open\";\n\t}\n\tclose() {\n\t\tvar e, t;\n\t\tif (this.state !== \"open\") {\n\t\t\tthis.element.parentElement;\n\t\t\treturn;\n\t\t}\n\t\tthis.state = \"closing\", typeof this.onDismiss == \"function\" && this.onDismiss(), this.onDismiss = void 0;\n\t\tlet { element: n } = this;\n\t\tn.removeEventListener(\"click\", this), document.removeEventListener(\"touchmove\", this, !1), document.removeEventListener(\"scroll\", this, !1), n.remove(), document.body.style.overflow = this.savedOverflow ?? \"\", document.body.style.marginRight = this.savedMarginRight ?? \"\";\n\t\tlet r = document.querySelector(\".MLK__plate\");\n\t\tr instanceof HTMLElement && (r.style.paddingRight = this.savedMlkPaddingRight ?? \"\"), sd() !== this.savedActiveElement && ((t = (e = this.savedActiveElement)?.focus) == null || t.call(e)), n.innerHTML = \"\", this.state = \"closed\";\n\t}\n\thandleEvent(e) {\n\t\tthis.lightDismiss && (e.target === this._element && e.type === \"click\" || e.target === document && (e.type === \"touchmove\" || e.type === \"scroll\")) && (this.close(), e.preventDefault(), e.stopPropagation());\n\t}\n};\nfunction ld(e, t, n) {\n\tlet r = null, i = null, a = !1, o = !1, s = !1, c = new AbortController(), l = c.signal;\n\treturn e.addEventListener(\"keydown\", (t) => {\n\t\tif (a || t.key === \"Process\" || t.code === \"CapsLock\" || /(Control|Meta|Alt|Shift)(Left|Right)/.test(t.code)) {\n\t\t\tr = null;\n\t\t\treturn;\n\t\t}\n\t\tr = t, i = null, n.onKeystroke(t) ? e.textContent = \"\" : r = null;\n\t}, {\n\t\tcapture: !0,\n\t\tsignal: l\n\t}), e.addEventListener(\"keypress\", (e) => {\n\t\ta || (r && i && n.onKeystroke(r), i = e);\n\t}, {\n\t\tcapture: !0,\n\t\tsignal: l\n\t}), e.addEventListener(\"compositionstart\", (t) => {\n\t\te.textContent = \"\", a = !0, n.onCompositionStart(t.data);\n\t}, {\n\t\tcapture: !0,\n\t\tsignal: l\n\t}), e.addEventListener(\"compositionupdate\", (e) => {\n\t\ta && n.onCompositionUpdate(e.data);\n\t}, {\n\t\tcapture: !0,\n\t\tsignal: l\n\t}), e.addEventListener(\"compositionend\", (t) => {\n\t\te.textContent = \"\", a && (a = !1, n.onCompositionEnd(t.data));\n\t}, {\n\t\tcapture: !0,\n\t\tsignal: l\n\t}), e.addEventListener(\"beforeinput\", (e) => e.stopImmediatePropagation(), { signal: l }), e.addEventListener(\"input\", (t) => {\n\t\tif (!a && (e.textContent = \"\", t.inputType !== \"insertCompositionText\")) {\n\t\t\tif (t.inputType === \"insertFromPaste\") {\n\t\t\t\tt.preventDefault(), t.stopPropagation();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn.onInput(t.data ?? \"\"), t.preventDefault(), t.stopPropagation();\n\t\t}\n\t}, { signal: l }), e.addEventListener(\"paste\", (t) => {\n\t\te.focus({ preventScroll: !0 }), e.textContent = \"\", n.onPaste(t) || t.preventDefault(), t.stopImmediatePropagation();\n\t}, { signal: l }), e.addEventListener(\"cut\", (e) => n.onCut(e), {\n\t\tcapture: !0,\n\t\tsignal: l\n\t}), e.addEventListener(\"copy\", (e) => n.onCopy(e), {\n\t\tcapture: !0,\n\t\tsignal: l\n\t}), e.addEventListener(\"blur\", (a) => {\n\t\tif (a.relatedTarget?._mathfield?.element === t) {\n\t\t\te.focus({ preventScroll: !0 }), a.preventDefault(), a.stopPropagation();\n\t\t\treturn;\n\t\t}\n\t\tlet c = !1, l = a.relatedTarget;\n\t\tfor (; l;) {\n\t\t\tif (l.classList.contains(\"ML__keyboard\")) {\n\t\t\t\tc = !0;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tl = l.parentElement;\n\t\t}\n\t\tif (c) {\n\t\t\te.focus({ preventScroll: !0 }), a.preventDefault(), a.stopPropagation();\n\t\t\treturn;\n\t\t}\n\t\tlet u = cd.state;\n\t\tif (u === \"open\" || u === \"opening\") {\n\t\t\ta.preventDefault(), a.stopPropagation();\n\t\t\treturn;\n\t\t}\n\t\tif (a.relatedTarget === a.target.getRootNode().host) {\n\t\t\ta.preventDefault(), a.stopPropagation();\n\t\t\treturn;\n\t\t}\n\t\ts || o || (s = !0, r = null, i = null, n.onBlur(), s = !1);\n\t}, {\n\t\tcapture: !0,\n\t\tsignal: l\n\t}), e.addEventListener(\"focus\", (e) => {\n\t\ts || o || (o = !0, n.onFocus(), o = !1);\n\t}, {\n\t\tcapture: !0,\n\t\tsignal: l\n\t}), {\n\t\tdispose: () => c.abort(),\n\t\tcancelComposition: () => {\n\t\t\ta && (typeof e.blur == \"function\" && e.blur(), requestAnimationFrame(() => e.focus({ preventScroll: !0 })));\n\t\t},\n\t\tblur: () => {\n\t\t\ttypeof e.blur == \"function\" && (s = !0, e.blur(), s = !1);\n\t\t},\n\t\tfocus: () => {\n\t\t\t!o && typeof e.focus == \"function\" && (o = !0, e.focus({ preventScroll: !0 }), o = !1);\n\t\t},\n\t\thasFocus: () => sd() === e,\n\t\tsetAriaLabel: (t) => e.setAttribute(\"aria-label\", t),\n\t\tsetValue: (t) => {\n\t\t\tvar n;\n\t\t\te.textContent !== t && (e.textContent = t, e.style.left = \"-1000px\", (n = window.getSelection()) == null || n.selectAllChildren(e));\n\t\t},\n\t\tmoveTo: (t, n) => {\n\t\t\te.style.top = `${n}px`, e.style.left = `${t}px`;\n\t\t}\n\t};\n}\nfunction ud(e) {\n\tif (!e || !od(e)) return \"\";\n\tlet t;\n\treturn e.key === \"Unidentified\" && e.target && (t = e.target.value), t = t ?? e.key ?? e.code, /^(Dead|Return|Enter|Tab|Escape|Delete|PageUp|PageDown|Home|End|Help|ArrowLeft|ArrowRight|ArrowUp|ArrowDown)$/.test(t) && (t = \"\"), t;\n}\nfunction dd(e) {\n\te = ve(e);\n\tlet t = [];\n\treturn e.ctrlKey && t.push(\"ctrl\"), e.metaKey && t.push(\"meta\"), e.altKey && t.push(\"alt\"), e.shiftKey && t.push(\"shift\"), t.length === 0 ? `[${e.code}]` : (t.push(`[${e.code}]`), t.join(\"+\"));\n}\nfunction fd(e) {\n\tif (d()) {\n\t\tlet t = h(), n = e.startsWith(\"!\"), r = e.endsWith(t);\n\t\tif (n && !r || !n && r) return !0;\n\t}\n\treturn e !== \"!other\" && e === \"other\";\n}\nfunction pd(e, t, n) {\n\tif (e.length === 0) return \"\";\n\tlet r = de(ue(dd(n))), i = de({\n\t\tkey: n.key,\n\t\tshift: n.shiftKey,\n\t\talt: n.altKey,\n\t\tctrl: n.ctrlKey,\n\t\tmeta: n.metaKey || n.ctrlKey && /macos|ios/.test(h()),\n\t\tcmd: !1,\n\t\twin: !1\n\t});\n\tfor (let n = e.length - 1; n >= 0; n--) if ((e[n].key === r || e[n].key === i) && (!e[n].ifMode || e[n].ifMode === t)) return e[n].command;\n\treturn \"\";\n}\nfunction md(e) {\n\tlet t = e;\n\treturn x(t) && (t = t.length > 0 ? t[0] + \"(\" + t.slice(1).join(\"\") + \")\" : \"\"), t;\n}\nfunction hd(e, t) {\n\tlet n = [];\n\tif (typeof t == \"string\") {\n\t\tlet e = Oc[t];\n\t\tx(e) ? n = e.slice() : e && n.push(e);\n\t}\n\tlet r = md(t), i = RegExp(\"^\" + r.replace(\"\\\\\", \"\\\\\\\\\").replace(\"|\", \"\\\\|\").replace(\"*\", \"\\\\*\").replace(\"$\", \"\\\\$\").replace(\"^\", \"\\\\^\") + \"([^*a-zA-Z]|$)\");\n\tfor (let t of e) i.test(md(t.command)) && n.push(t.key);\n\treturn n.map(td);\n}\nfunction gd(e, t) {\n\tif (e.ifPlatform && !/^!?(macos|windows|android|ios|chromeos|other)$/.test(e.ifPlatform)) throw Error(`Unexpected platform \"${e.ifPlatform}\" for keybinding ${e.key}`);\n\tif (e.ifLayout !== void 0 && (t.score === 0 || !e.ifLayout.includes(t.id))) return;\n\tlet n = ue(e.key), r = e.ifPlatform;\n\tif (n.cmd) {\n\t\tif (r && r !== \"macos\" && r !== \"ios\") throw Error(\"Unexpected \\\"cmd\\\" modifier with platform \\\"\" + r + \"\\\"\\n\\\"cmd\\\" modifier can only be used with macOS or iOS platform.\");\n\t\tr || (r = h() === \"ios\" ? \"ios\" : \"macos\"), n.win = !1, n.cmd = !1, n.meta = !0;\n\t}\n\tif (n.win) {\n\t\tif (r && r !== \"windows\") throw Error(\"Unexpected \\\"win\\\" modifier with platform \\\"\" + r + \"\\\"\\n\\\"win\\\" modifier can only be used with Windows platform.\");\n\t\tr = \"windows\", n.win = !1, n.cmd = !1, n.meta = !0;\n\t}\n\tif (r && !fd(r)) return;\n\tif (/^\\[.+\\]$/.test(n.key)) return c(s({}, e), { key: de(n) });\n\tlet i = _e(n.key, t);\n\tif (!i) return c(s({}, e), { key: de(n) });\n\tif (i.shift && n.shift || i.alt && n.alt) throw Error(`The keybinding ${e.key} (${_d(e.command)}) is conflicting with the key combination ${de(i)} using the ${t.displayName} keyboard layout`);\n\treturn i.shift = i.shift || n.shift, i.alt = i.alt || n.alt, i.meta = n.meta, i.ctrl = n.ctrl, c(s({}, e), { key: de(i) });\n}\nfunction _d(e) {\n\tif (Array.isArray(e)) {\n\t\tlet t = [...e];\n\t\treturn t.shift() + \"(\" + t.map((e) => typeof e == \"string\" ? `\"${e}\"` : e.toString()).join(\", \") + \")\";\n\t}\n\treturn e;\n}\nfunction vd(e, t) {\n\tlet n = [], r = [];\n\tfor (let i of e) try {\n\t\tlet e = gd(i, t);\n\t\tif (!e) continue;\n\t\tlet n = r.find((t) => t.key === e.key && t.ifMode === e.ifMode);\n\t\tif (n) throw Error(`Ambiguous key binding ${i.key} (${_d(i.command)}) matches ${n.key} (${_d(n.command)}) with the ${t.displayName} keyboard layout`);\n\t\tr.push(e);\n\t} catch (e) {\n\t\te instanceof Error && n.push(e.message);\n\t}\n\treturn [r, n];\n}\nvar yd = class extends I {\n\tconstructor() {\n\t\tsuper(\"latex\");\n\t}\n\tcreateAtom(e) {\n\t\treturn new V(e);\n\t}\n\tonPaste(e, t) {\n\t\tif (!t) return !1;\n\t\tlet n = typeof t == \"string\" ? t : t.getData(\"application/x-latex\") || t.getData(\"text/plain\");\n\t\treturn n && e.model.contentWillChange({\n\t\t\tinputType: \"insertFromPaste\",\n\t\t\tdata: n\n\t\t}) ? (e.stopCoalescingUndo(), e.stopRecording(), this.insert(e.model, n) && (e.startRecording(), e.snapshot(\"paste\"), e.model.contentDidChange({ inputType: \"insertFromPaste\" }), H(e)), e.startRecording(), !0) : !1;\n\t}\n\tinsert(e, t, n) {\n\t\tif (!e.contentWillChange({\n\t\t\tdata: t,\n\t\t\tinputType: \"insertText\"\n\t\t})) return !1;\n\t\tn || (n = {}), n.insertionMode || (n.insertionMode = \"replaceSelection\"), n.selectionMode || (n.selectionMode = \"placeholder\");\n\t\tlet { silenceNotifications: r } = e;\n\t\tn.silenceNotifications && (e.silenceNotifications = !0);\n\t\tlet i = e.silenceNotifications;\n\t\te.silenceNotifications = !0, n.insertionMode === \"replaceSelection\" && !e.selectionIsCollapsed ? e.deleteAtoms(sc(e.selection)) : n.insertionMode === \"replaceAll\" ? (e.root.setChildren([], \"body\"), e.position = 0) : n.insertionMode === \"insertBefore\" ? e.collapseSelection(\"backward\") : n.insertionMode === \"insertAfter\" && e.collapseSelection(\"forward\");\n\t\tlet a = [];\n\t\tfor (let e of t) Xe.test(e) && a.push(new V(e));\n\t\tlet o = e.at(e.position);\n\t\tif (o instanceof fu && (o = o.lastChild), !(o.parent instanceof fu)) {\n\t\t\tlet e = new fu();\n\t\t\to.parent.addChildAfter(e, o), o = e.firstChild;\n\t\t}\n\t\tlet s = o.parent.addChildrenAfter(a, o);\n\t\treturn e.silenceNotifications = i, n.selectionMode === \"before\" || (n.selectionMode === \"item\" ? e.setSelection(e.anchor, e.offsetOf(s)) : s && (e.position = e.offsetOf(s))), e.contentDidChange({\n\t\t\tdata: t,\n\t\t\tinputType: \"insertText\"\n\t\t}), e.silenceNotifications = r, !0;\n\t}\n};\nfunction bd(e) {\n\treturn e.atoms.find((e) => e.type === \"latexgroup\");\n}\nfunction xd(e) {\n\treturn (bd(e)?.body)?.filter((e) => e.type === \"latex\") ?? [];\n}\nfunction Sd(e, t) {\n\tlet n = 0, r = !1, i = Number.isFinite(t?.before) ? t?.before ?? 0 : e.lastOffset;\n\tfor (; n <= i && !r;) {\n\t\tlet t = e.at(n);\n\t\tr = t instanceof V && t.isSuggestion, r || n++;\n\t}\n\tif (!r) return [void 0, void 0];\n\tlet a = n, o = !1;\n\tfor (; a <= i && !o;) {\n\t\tlet t = e.at(a);\n\t\to = !(t instanceof V && t.isSuggestion), o || a++;\n\t}\n\treturn [n - 1, a - 1];\n}\nnew yd();\nfunction Cd(e, t) {\n\te.flushInlineShortcutBuffer(), e.stopCoalescingUndo();\n\tlet n = wd(e, t), { model: r } = e;\n\treturn r.selectionIsCollapsed ? (e.defaultStyle.fontSeries && n.fontSeries === e.defaultStyle.fontSeries && (n.fontSeries = \"auto\"), n.fontShape && n.fontShape === e.defaultStyle.fontShape && (n.fontShape = \"auto\"), n.color && n.color === e.defaultStyle.color && (n.color = \"none\"), n.backgroundColor && n.backgroundColor === e.defaultStyle.backgroundColor && (n.backgroundColor = \"none\"), n.fontSize && n.fontSize === e.defaultStyle.fontSize && (n.fontSize = \"auto\"), e.defaultStyle = s(s({}, e.defaultStyle), n)) : e.model.deferNotifications({\n\t\tcontent: !0,\n\t\ttype: \"insertText\"\n\t}, () => {\n\t\tr.selection.ranges.forEach((e) => Mu(r, e, n, { operation: \"toggle\" })), e.snapshot(\"style-change\");\n\t}), !0;\n}\nsf({ applyStyle: Cd }, {\n\ttarget: \"mathfield\",\n\tcanUndo: !0,\n\tchangeContent: !0\n});\nfunction wd(e, t) {\n\tlet n = {};\n\tif (typeof t.color == \"string\") {\n\t\tlet r = e.colorMap(t.color ?? t.verbatimColor) ?? \"none\";\n\t\tr !== t.color && (n.verbatimColor = t.verbatimColor ?? t.color), n.color = r;\n\t}\n\tif (typeof t.backgroundColor == \"string\") {\n\t\tlet r = e.backgroundColorMap(t.backgroundColor ?? t.verbatimBackgroundColor) ?? \"none\";\n\t\tr !== t.backgroundColor && (n.verbatimBackgroundColor = t.verbatimBackgroundColor ?? t.backgroundColor), n.backgroundColor = r;\n\t}\n\ttypeof t.fontFamily == \"string\" && (n.fontFamily = t.fontFamily), typeof t.series == \"string\" && (n.fontSeries = t.series), typeof t.fontSeries == \"string\" && (n.fontSeries = t.fontSeries.toLowerCase()), n.fontSeries && (n.fontSeries = {\n\t\tbold: \"b\",\n\t\tmedium: \"m\",\n\t\tnormal: \"m\"\n\t}[n.fontSeries] ?? n.fontSeries), typeof t.shape == \"string\" && (n.fontShape = t.shape), typeof t.fontShape == \"string\" && (n.fontShape = t.fontShape.toLowerCase()), n.fontShape && (n.fontShape = {\n\t\titalic: \"it\",\n\t\tup: \"n\",\n\t\tupright: \"n\",\n\t\tnormal: \"n\"\n\t}[n.fontShape] ?? n.fontShape), t.variant && (n.variant = t.variant.toLowerCase()), t.variantStyle !== void 0 && (n.variantStyle = typeof t.variantStyle == \"string\" && t.variantStyle !== \"\" ? t.variantStyle.toLowerCase() : t.variantStyle);\n\tlet r = t.size ?? t.fontSize;\n\treturn typeof r == \"number\" ? n.fontSize = Math.max(1, Math.min(10, r)) : typeof r == \"string\" && (n.fontSize = {\n\t\tsize1: 1,\n\t\tsize2: 2,\n\t\tsize3: 3,\n\t\tsize4: 4,\n\t\tsize5: 5,\n\t\tsize6: 6,\n\t\tsize7: 7,\n\t\tsize8: 8,\n\t\tsize9: 9,\n\t\tsize10: 10\n\t}[r.toLowerCase()] ?? {\n\t\ttiny: 1,\n\t\tscriptsize: 2,\n\t\tfootnotesize: 3,\n\t\tsmall: 4,\n\t\tnormal: 5,\n\t\tnormalsize: 5,\n\t\tlarge: 6,\n\t\tLarge: 7,\n\t\tLARGE: 8,\n\t\thuge: 9,\n\t\tHuge: 10\n\t}[r]), n;\n}\nfunction Td(e, t, n) {\n\tlet r = e.model;\n\tif (r.mode === \"latex\") return {};\n\tlet i = e.styleBias;\n\tif (i === \"none\") return e.defaultStyle;\n\tif (r.mode === \"text\") return r.at(i === \"right\" ? n.after : n.before)?.style ?? e.defaultStyle;\n\tif (r.mode === \"math\") {\n\t\tlet t = r.at(i === \"right\" ? n.after : n.before);\n\t\treturn s(t ? c(s({}, t.style), { variant: \"normal\" }) : { variant: \"normal\" }, e.defaultStyle);\n\t}\n\treturn {};\n}\nfunction Ed(e) {\n\tlet t = e.options.onInsertStyle;\n\tif (t === null) return {};\n\tt === void 0 && (t = Td);\n\tlet n = e.model, r = e.styleBias, i = n.at(n.position), a = Dd(n, i, r), o = Dd(n, i.rightSibling, r);\n\treturn t(e, n.position, {\n\t\tbefore: a,\n\t\tafter: o\n\t});\n}\nfunction Dd(e, t, n) {\n\treturn !t || t.type === \"first\" && n !== \"right\" ? -1 : t.type === \"group\" ? !t.body || t.body.length < 2 ? -1 : t.body?.length === 1 || n !== \"right\" ? e.offsetOf(t.body[0]) : e.offsetOf(t.body[t.body.length - 1]) : e.offsetOf(t);\n}\nfunction Od(e) {\n\tlet t = xd(e.model).filter((e) => e.isSuggestion);\n\tif (t.length !== 0) {\n\t\te.model.position = e.model.offsetOf(t[0].leftSibling);\n\t\tfor (let e of t) e.parent.removeChild(e);\n\t}\n}\nfunction kd(e, t) {\n\tlet { model: n } = e;\n\tOd(e);\n\tfor (let e of xd(n)) e.isError = !1;\n\tif (!n.selectionIsCollapsed || e.options.popoverPolicy === \"off\") {\n\t\tzd(e);\n\t\treturn;\n\t}\n\tlet r = [], i = n.at(n.position);\n\tfor (; i && i instanceof V && /^[a-zA-Z\\*]$/.test(i.value);) i = i.leftSibling;\n\tif (i && i instanceof V && i.value === \"\\\\\") for (r.push(i), i = i.rightSibling; i && i instanceof V && /^[a-zA-Z\\*]$/.test(i.value);) r.push(i), i = i.rightSibling;\n\tlet a = r.map((e) => e.value).join(\"\"), o = nt(e, a);\n\tif (o.length === 0) {\n\t\tif (/^\\\\[a-zA-Z\\*]+$/.test(a)) for (let e of r) e.isError = !0;\n\t\tzd(e);\n\t\treturn;\n\t}\n\tlet s = t?.atIndex ?? 0;\n\te.suggestionIndex = s < 0 ? o.length - 1 : s % o.length;\n\tlet c = o[e.suggestionIndex];\n\tif (c !== a) {\n\t\tlet t = r[r.length - 1];\n\t\tt.parent.addChildrenAfter([...c.slice(a.length - c.length)].map((e) => new V(e, { isSuggestion: !0 })), t), $d(e, { interactive: !0 });\n\t}\n\tId(e, o);\n}\nfunction Ad(e) {\n\tlet [t, n] = Sd(e, { before: e.position });\n\tif (t === void 0 || n === void 0) return !1;\n\tlet r = !1;\n\treturn e.getAtoms([t, n]).forEach((e) => {\n\t\te.isSuggestion && (e.isSuggestion = !1, r = !0);\n\t}), r;\n}\nfunction jd(e, t = \"accept\", n) {\n\tvar r;\n\tzd(e);\n\tlet i = bd(e.model);\n\tif (!i) return !1;\n\tif (t === \"accept-suggestion\" || t === \"accept-all\") {\n\t\tlet n = xd(e.model).filter((e) => e.isSuggestion);\n\t\tif (n.length !== 0) {\n\t\t\tfor (let e of n) e.isSuggestion = !1;\n\t\t\te.model.position = e.model.offsetOf(n[n.length - 1]);\n\t\t}\n\t\tif (t === \"accept-suggestion\") return n.length !== 0;\n\t}\n\tlet a = xd(e.model).filter((e) => !e.isSuggestion).map((e) => e.value).join(\"\"), o = i.leftSibling;\n\tif (i.parent.removeChild(i), e.model.position = e.model.offsetOf(o), e.switchMode(n?.mode ?? \"math\"), t === \"reject\") return !0;\n\tlet c = s({}, Ed(e));\n\treturn !/^[a-zA-Z0-9]$/.test(a) && e.styleBias !== \"none\" && (c.variant = \"normal\", c.variantStyle = void 0), I.insert(e.model, a, {\n\t\tselectionMode: (r = n?.selectItem) != null && r ? \"item\" : \"placeholder\",\n\t\tformat: \"latex\",\n\t\tmode: \"math\",\n\t\tstyle: c\n\t}), e.snapshot(), e.model.announce(\"replacement\"), e.switchMode(\"math\"), !0;\n}\nfunction Md(e) {\n\tlet t = document.getElementById(e);\n\treturn t ? t.dataset.refcount = Number(Number.parseInt(t.dataset.refcount ?? \"0\") + 1).toString() : (t = document.createElement(\"div\"), t.setAttribute(\"aria-hidden\", \"true\"), t.dataset.refcount = \"1\", t.id = e, document.body.append(t)), t;\n}\nfunction Nd(e) {\n\tlet t = document.getElementById(e);\n\tif (!t) return;\n\tlet n = Number.parseInt(t.getAttribute(\"data-refcount\") ?? \"0\");\n\tn <= 1 ? t.remove() : t.dataset.refcount = Number(n - 1).toString();\n}\nfunction Pd(e) {\n\treturn e.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/</g, \"<\").replace(/>/g, \">\");\n}\nfunction Fd(e, t) {\n\tlet n = new P({ from: e.context });\n\treturn Ss(xs(Tu(new M(new F({\n\t\tmode: \"math\",\n\t\ttype: \"root\",\n\t\tbody: Ql(t, { context: n })\n\t}).render(n), { classes: \"ML__base\" }), n)), { classes: \"ML__latex\" }).toMarkup();\n}\nfunction Id(e, t) {\n\tvar n;\n\tif (t.length === 0) {\n\t\tzd(e);\n\t\treturn;\n\t}\n\tlet r = \"\";\n\tfor (let [n, i] of t.entries()) {\n\t\tlet t = i, a = Fd(e, i), o = hd(e.keybindings, t).join(\"<br>\");\n\t\tr += `<li role=\"button\" data-command=\"${Pd(t)}\" ${n === e.suggestionIndex ? \"class=ML__popover__current\" : \"\"}><span class=\"ML__popover__latex\">${Pd(t)}</span><span class=\"ML__popover__command\">${a}</span>`, o && (r += `<span class=\"ML__popover__keybinding\">${o}</span>`), r += \"</li>\";\n\t}\n\tlet i = Bd(e, `<ul>${r}</ul>`);\n\tLd() && ((n = i.querySelector(\".ML__popover__current\")) == null || n.scrollIntoView({\n\t\tblock: \"nearest\",\n\t\tinline: \"nearest\"\n\t})), setTimeout(() => {\n\t\tvar t;\n\t\ti && !Ld() && (i.classList.add(\"is-visible\"), Rd(e), (t = i.querySelector(\".ML__popover__current\")) == null || t.scrollIntoView({\n\t\t\tblock: \"nearest\",\n\t\t\tinline: \"nearest\"\n\t\t}));\n\t}, 32);\n}\nfunction Ld() {\n\tlet e = document.getElementById(\"mathlive-suggestion-popover\");\n\treturn e ? e.classList.contains(\"is-visible\") : !1;\n}\nfunction Rd(e, t) {\n\tif (!e.element || e.element.mathfield !== e || !Ld()) return;\n\tif (e.model.at(e.model.position)?.type !== \"latex\") {\n\t\tzd(e);\n\t\treturn;\n\t}\n\tif (t != null && t.deferred) {\n\t\tsetTimeout(() => Rd(e), 32);\n\t\treturn;\n\t}\n\tlet n = jc(e.field);\n\tif (!n) return;\n\tlet r = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight, i = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, a = window.innerWidth - document.documentElement.clientWidth, o = window.innerHeight - document.documentElement.clientHeight, s = window.mathVirtualKeyboard?.boundingRect.height ?? 0, c = document.getElementById(\"mathlive-suggestion-popover\");\n\tn.x + c.offsetWidth / 2 > i - a ? c.style.left = `${i - c.offsetWidth - a}px` : n.x - c.offsetWidth / 2 < 0 ? c.style.left = \"0\" : c.style.left = `${n.x - c.offsetWidth / 2}px`;\n\tlet l = n.y - n.height;\n\tr - o - s - n.y < l ? (c.classList.add(\"ML__popover--reverse-direction\"), c.classList.remove(\"top-tip\"), c.classList.add(\"bottom-tip\"), c.style.top = `${n.y - n.height - c.offsetHeight - 15}px`) : (c.classList.remove(\"ML__popover--reverse-direction\"), c.classList.add(\"top-tip\"), c.classList.remove(\"bottom-tip\"), c.style.top = `${n.y + 15}px`);\n}\nfunction zd(e) {\n\te.suggestionIndex = 0, document.getElementById(\"mathlive-suggestion-popover\") && Nd(\"mathlive-suggestion-popover\");\n}\nfunction Bd(e, t) {\n\tlet n = document.getElementById(\"mathlive-suggestion-popover\");\n\treturn n ? Nd(\"mathlive-suggestion-popover\") : (tl(\"suggestion-popover\"), tl(\"core\")), n = Md(\"mathlive-suggestion-popover\"), n.addEventListener(\"pointerdown\", (e) => e.preventDefault()), n.addEventListener(\"click\", (t) => {\n\t\tlet n = t.target;\n\t\tfor (; n && !n.dataset.command;) n = n.parentElement;\n\t\tn && (jd(e, \"reject\"), I.insert(e.model, n.dataset.command, {\n\t\t\tselectionMode: \"placeholder\",\n\t\t\tformat: \"latex\",\n\t\t\tmode: \"math\"\n\t\t}), e.dirty = !0, e.focus());\n\t}), n.innerHTML = globalThis.MathfieldElement.createHTML(t), n;\n}\nfunction Vd() {\n\tdocument.getElementById(\"mathlive-suggestion-popover\") && (Nd(\"mathlive-suggestion-popover\"), nl(\"suggestion-popover\"), nl(\"core\"));\n}\nfunction Hd() {\n\tlet e = String((/* @__PURE__ */ Error()).stack).replace(/^Error.*\\n/, \"\").split(\"\\n\");\n\tif (e.length === 0) return console.error(`Can't use relative paths to specify assets location because the sourcefile location could not be determined (unexpected stack trace format \"${(/* @__PURE__ */ Error()).stack}\").`), \"\";\n\tlet t = e[1], n = t.match(/http.*\\.ts[\\?:]/);\n\treturn n && (t = e[2]), n = t.match(/(https?:.*):[0-9]+:[0-9]+/), n || (n = t.match(/at (.*(\\.ts))[\\?:]/), n || (n = t.match(/at (.*(\\.mjs|\\.js))[\\?:]/))), n ? n[1] : (console.error(e), console.error(`Can't use relative paths to specify assets location because the source file location could not be determined (unexpected location \"${t}\").`), \"\");\n}\nvar Ud = null, Wd = (globalThis == null ? void 0 : globalThis.document)?.currentScript?.src || Hd();\nasync function Gd(e) {\n\tif (/^(?:[a-z+]+:)?\\/\\//i.test(e)) {\n\t\ttry {\n\t\t\treturn new URL(e).href;\n\t\t} catch {}\n\t\tif (e.startsWith(\"//\")) try {\n\t\t\treturn new URL(`${window.location.protocol}${e}`).href;\n\t\t} catch {}\n\t\treturn e;\n\t}\n\tif (Ud === null) try {\n\t\tlet e = await fetch(Wd, { method: \"HEAD\" });\n\t\te.status === 200 && (Ud = e.url, Ud = Ud.replace(/\\/\\+esm$/, \"/\"), Ud.includes(\"jsdelivr.net/\") && (Ud += \"/\"));\n\t} catch {\n\t\tconsole.error(`Invalid URL \"${e}\" (relative to \"${Wd}\")`);\n\t}\n\treturn new URL(e, Ud ?? Wd).href;\n}\nfunction Kd(e, t, n = {}) {\n\treturn new FontFace(e, `url(${t}.woff2) format('woff2')`, n);\n}\nvar qd = \"not-loaded\";\nasync function Jd() {\n\treturn qd = \"not-loaded\", Yd();\n}\nasync function Yd() {\n\tif (qd === \"not-loaded\") {\n\t\tif (qd = \"loading\", getComputedStyle(document.documentElement).getPropertyValue(\"--ML__static-fonts\") ?? !1) {\n\t\t\tqd = \"ready\";\n\t\t\treturn;\n\t\t}\n\t\tif (document.body.classList.remove(\"ML__fonts-did-not-load\"), \"fonts\" in document) {\n\t\t\tlet e = [\n\t\t\t\t\"KaTeX_Main\",\n\t\t\t\t\"KaTeX_Math\",\n\t\t\t\t\"KaTeX_AMS\",\n\t\t\t\t\"KaTeX_Caligraphic\",\n\t\t\t\t\"KaTeX_Fraktur\",\n\t\t\t\t\"KaTeX_SansSerif\",\n\t\t\t\t\"KaTeX_Script\",\n\t\t\t\t\"KaTeX_Typewriter\",\n\t\t\t\t\"KaTeX_Size1\",\n\t\t\t\t\"KaTeX_Size2\",\n\t\t\t\t\"KaTeX_Size3\",\n\t\t\t\t\"KaTeX_Size4\"\n\t\t\t], t = Array.from(document.fonts).map((e) => e.family);\n\t\t\tif (e.every((e) => t.includes(e))) {\n\t\t\t\tqd = \"ready\";\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!globalThis.MathfieldElement.fontsDirectory) {\n\t\t\t\tqd = \"not-loaded\";\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tlet n = await Gd(globalThis.MathfieldElement.fontsDirectory);\n\t\t\tif (!n) {\n\t\t\t\tdocument.body.classList.add(\"ML__fonts-did-not-load\"), qd = \"error\";\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn.endsWith(\"/\") && (n = n.slice(0, -1));\n\t\t\tlet r = [\n\t\t\t\t[\"KaTeX_Main-Regular\"],\n\t\t\t\t[\"KaTeX_Main-BoldItalic\", {\n\t\t\t\t\tstyle: \"italic\",\n\t\t\t\t\tweight: \"bold\"\n\t\t\t\t}],\n\t\t\t\t[\"KaTeX_Main-Bold\", { weight: \"bold\" }],\n\t\t\t\t[\"KaTeX_Main-Italic\", { style: \"italic\" }],\n\t\t\t\t[\"KaTeX_Math-Italic\", { style: \"italic\" }],\n\t\t\t\t[\"KaTeX_Math-BoldItalic\", {\n\t\t\t\t\tstyle: \"italic\",\n\t\t\t\t\tweight: \"bold\"\n\t\t\t\t}],\n\t\t\t\t[\"KaTeX_AMS-Regular\"],\n\t\t\t\t[\"KaTeX_Caligraphic-Regular\"],\n\t\t\t\t[\"KaTeX_Caligraphic-Bold\", { weight: \"bold\" }],\n\t\t\t\t[\"KaTeX_Fraktur-Regular\"],\n\t\t\t\t[\"KaTeX_Fraktur-Bold\", { weight: \"bold\" }],\n\t\t\t\t[\"KaTeX_SansSerif-Regular\"],\n\t\t\t\t[\"KaTeX_SansSerif-Bold\", { weight: \"bold\" }],\n\t\t\t\t[\"KaTeX_SansSerif-Italic\", { style: \"italic\" }],\n\t\t\t\t[\"KaTeX_Script-Regular\"],\n\t\t\t\t[\"KaTeX_Typewriter-Regular\"],\n\t\t\t\t[\"KaTeX_Size1-Regular\"],\n\t\t\t\t[\"KaTeX_Size2-Regular\"],\n\t\t\t\t[\"KaTeX_Size3-Regular\"],\n\t\t\t\t[\"KaTeX_Size4-Regular\"]\n\t\t\t].map((e) => Kd(e[0].replace(/-[a-zA-Z]+$/, \"\"), `${n}/${e[0]}`, e[1]));\n\t\t\ttry {\n\t\t\t\t(await Promise.all(r.map((e) => {\n\t\t\t\t\ttry {\n\t\t\t\t\t\treturn e.load();\n\t\t\t\t\t} catch {}\n\t\t\t\t}))).forEach((e) => document.fonts.add(e)), qd = \"ready\";\n\t\t\t\treturn;\n\t\t\t} catch (e) {\n\t\t\t\tconsole.error(`MathLive 0.110.0: The math fonts could not be loaded from \"${n}\"`, { cause: e }), document.body.classList.add(\"ML__fonts-did-not-load\");\n\t\t\t}\n\t\t\tqd = \"error\";\n\t\t}\n\t}\n}\nfunction Xd(e, t = 0) {\n\tlet n = 3735928559 ^ t, r = 1103547991 ^ t;\n\tfor (let t = 0; t < e.length; t++) {\n\t\tlet i = e.charCodeAt(t);\n\t\tn = Math.imul(n ^ i, 2654435761), r = Math.imul(r ^ i, 1597334677);\n\t}\n\treturn n = Math.imul(n ^ n >>> 16, 2246822507), n ^= Math.imul(r ^ r >>> 13, 3266489909), r = Math.imul(r ^ r >>> 16, 2246822507), r ^= Math.imul(n ^ n >>> 13, 3266489909), 4294967296 * (2097151 & r) + (n >>> 0);\n}\nfunction H(e, t) {\n\t!e || e.dirty || !e.field || (e.resizeObserver.unobserve(e.field), e.dirty = !0, requestAnimationFrame(() => {\n\t\tkc(e) && e.dirty && (e.atomBoundsCache = /* @__PURE__ */ new Map(), $d(e, t), e.resizeObserver.observe(e.field), e.resizeObserverStarted = !0);\n\t}));\n}\nfunction Zd(e, t) {\n\tt = t ?? {};\n\tlet n = new P({\n\t\tfrom: c(s({}, e.context), {\n\t\t\tatomIdsSettings: {\n\t\t\t\tseed: t.forHighlighting ? Xd(F.serialize([e.model.root], {\n\t\t\t\t\texpandMacro: !1,\n\t\t\t\t\tdefaultMode: e.options.defaultMode\n\t\t\t\t})) : \"random\",\n\t\t\t\tgroupNumbers: t.forHighlighting ?? !1\n\t\t\t},\n\t\t\tletterShapeStyle: e.options.letterShapeStyle\n\t\t}),\n\t\tmathstyle: e.options.defaultMode === \"inline-math\" ? \"textstyle\" : \"displaystyle\"\n\t});\n\treturn Ss(Tu(e.model.root.render(n), n), {\n\t\tclasses: e.hasEditablePrompts ? \"ML__latex ML__prompting\" : \"ML__latex\",\n\t\tattributes: {\n\t\t\ttranslate: \"no\",\n\t\t\t\"aria-hidden\": \"true\"\n\t\t}\n\t});\n}\nfunction Qd(e, t) {\n\ttry {\n\t\tlet { model: n } = e;\n\t\tn.root.caret = void 0, n.root.isSelected = !1, n.root.containsCaret = !0;\n\t\tfor (let e of n.atoms) e.caret = void 0, e.isSelected = !1, e.containsCaret = !1;\n\t\tif (n.selectionIsCollapsed) {\n\t\t\tlet t = n.at(n.position);\n\t\t\tt.caret = e.model.mode;\n\t\t\tlet r = t.parent;\n\t\t\tfor (; r;) r.containsCaret = !0, r = r.parent;\n\t\t} else {\n\t\t\tlet e = n.getAtoms(n.selection, {\n\t\t\t\tincludeChildren: !0,\n\t\t\t\tincludeFirstAtoms: !0\n\t\t\t});\n\t\t\tfor (let t of e) t.isSelected = !0;\n\t\t}\n\t\treturn Zd(e, t).toMarkup();\n\t} catch (e) {\n\t\treturn console.error(e), \"<span class=\\\"ML__latex\\\" translate=\\\"no\\\" aria-hidden=\\\"true\\\">🚫</span>\";\n\t}\n}\nfunction $d(e, t) {\n\tif (!kc(e)) return;\n\tt ?? (t = {});\n\tlet n = e.element.querySelector(\"[part=virtual-keyboard-toggle]\");\n\tn && (n.style.display = e.hasEditableContent ? \"\" : \"none\");\n\tlet r = e.field;\n\tif (!r) return;\n\tlet i = e.isSelectionEditable && e.hasFocus(), a = r.classList.contains(\"ML__focused\");\n\ta && !i ? r.classList.remove(\"ML__focused\") : !a && i && r.classList.add(\"ML__focused\");\n\tlet o = Qd(e, t), s = e.element.querySelector(\"[part=menu-toggle]\");\n\tif (s) {\n\t\tlet t = !1;\n\t\t(e.disabled || e.readOnly && !e.hasEditableContent || e.userSelect === \"none\") && (t = !0), !t && e.element.offsetWidth < 50 && (t = !0), s.style.display = t ? \"none\" : \"\";\n\t}\n\tif (e.model.atoms.length <= 1) {\n\t\tlet t = e.options.contentPlaceholder;\n\t\tt && (o += `<span part=placeholder class=\"ML__content-placeholder\">${Y(t)}</span>`);\n\t}\n\tr.innerHTML = globalThis.MathfieldElement.createHTML(o), ef(e, t.interactive), e.updateToggleLayout(), e.dirty = !1;\n}\nfunction ef(e, t) {\n\tvar n;\n\tlet r = e.field;\n\tif (!r) return;\n\tfor (let e of r.querySelectorAll(\".ML__selection, .ML__contains-highlight\")) e.remove();\n\tif (!(t != null && t) && qd !== \"error\" && qd !== \"ready\") {\n\t\tsetTimeout(() => {\n\t\t\tqd === \"ready\" ? ef(e) : setTimeout(() => ef(e), 128);\n\t\t}, 32);\n\t\treturn;\n\t}\n\tlet i = e.model;\n\t(n = e.atomBoundsCache) == null || n.clear();\n\tlet a, o = () => {\n\t\tif (a !== void 0) return a;\n\t\tlet e = r.offsetWidth, t = r.getBoundingClientRect().width;\n\t\treturn a = Math.floor(t) / e, isNaN(a) && (a = 1), a;\n\t};\n\tif (i.selectionIsCollapsed) {\n\t\tRd(e, { deferred: !0 });\n\t\tlet t = i.at(i.position);\n\t\tfor (; t && t.type !== \"prompt\" && !(t.containsCaret && t.displayContainsHighlight);) t = t.parent;\n\t\tif (t != null && t.containsCaret && t.displayContainsHighlight) {\n\t\t\tlet n = o(), i = Nc(e, Fc(e, t), n);\n\t\t\tif (i) {\n\t\t\t\ti.left /= n, i.right /= n, i.top /= n, i.bottom /= n;\n\t\t\t\tlet e = document.createElement(\"div\");\n\t\t\t\te.classList.add(\"ML__contains-highlight\"), e.style.position = \"absolute\", e.style.left = `${i.left + 1}px`, e.style.top = `${Math.ceil(i.top)}px`, e.style.width = `${Math.ceil(i.right - i.left)}px`, e.style.height = `${Math.ceil(i.bottom - i.top)}px`, r.insertBefore(e, r.childNodes[0]);\n\t\t\t}\n\t\t}\n\t\treturn;\n\t}\n\tlet s = o(), c = tf(Rc(e, { excludeAtomsWithBackground: !0 }));\n\tfor (let e of c) {\n\t\te.left /= s, e.right /= s, e.top /= s, e.bottom /= s;\n\t\tlet t = document.createElement(\"div\");\n\t\tt.classList.add(\"ML__selection\"), t.style.position = \"absolute\", t.style.left = `${e.left}px`, t.style.top = `${e.top}px`, t.style.width = `${Math.ceil(e.right - e.left)}px`, t.style.height = `${Math.max(1, Math.ceil(e.bottom - e.top - 1))}px`, r.insertBefore(t, r.childNodes[0]);\n\t}\n}\nfunction tf(e) {\n\tlet t = [];\n\tfor (let n of e) {\n\t\tlet e = !1;\n\t\tfor (let r of t) if (n.left === r.left && n.right === r.right && n.top === r.top && n.bottom === r.bottom) {\n\t\t\te = !0;\n\t\t\tbreak;\n\t\t}\n\t\te || t.push(n);\n\t}\n\te = t, t = [];\n\tfor (let n of e) {\n\t\tlet r = 0;\n\t\tfor (let t of e) if (n.left >= t.left && n.right <= t.right && n.top >= t.top && n.bottom <= t.bottom && (r += 1, r > 1)) break;\n\t\tr === 1 && t.push(n);\n\t}\n\treturn t;\n}\nfunction nf(e) {\n\tif (!e) return;\n\tlet t = e.model, n = t.selection, r = F.serialize([t.root], {\n\t\texpandMacro: !1,\n\t\tdefaultMode: e.options.defaultMode\n\t});\n\tI.insert(t, r, {\n\t\tinsertionMode: \"replaceAll\",\n\t\tselectionMode: \"after\",\n\t\tformat: \"latex\",\n\t\tsilenceNotifications: !0,\n\t\tmode: \"math\"\n\t});\n\tlet i = t.silenceNotifications;\n\tt.silenceNotifications = !0, t.selection = n, t.silenceNotifications = i, H(e);\n}\nfunction rf() {\n\tfor (let e of document.querySelectorAll(\".ML__mathfield\")) \"_mathfield\" in e && nf(e._mathfield);\n}\nvar af = 3, of;\nfunction sf(e, t) {\n\tt = s({\n\t\ttarget: \"mathfield\",\n\t\tcanUndo: !1,\n\t\taudioFeedback: void 0,\n\t\tchangeContent: !1,\n\t\tchangeSelection: !1\n\t}, t ?? {}), of || (of = {});\n\tfor (let n of Object.keys(e)) of[n], of[n] = c(s({}, t), { fn: e[n] });\n}\nfunction cf(e) {\n\tlet t;\n\tif (Array.isArray(e)) {\n\t\tif (e[0] === \"performWithFeedback\") return cf(e[1]);\n\t\tt = e[0];\n\t} else t = e;\n\treturn of[t];\n}\nfunction lf(e) {\n\treturn cf(e)?.target;\n}\nfunction uf(e, t) {\n\tif (t = mf(t), !t) return !1;\n\tlet n, r = [], i = !1, a = !1;\n\tx(t) ? (n = t[0], r = t.slice(1)) : n = t;\n\tlet o = of[n], s = o?.target;\n\tif (s === \"model\") {\n\t\tif (!e.isSelectionEditable && o != null && o.changeContent) return e.model.announce(\"plonk\"), !1;\n\t\t/^(delete|add)/.test(n) && (n !== \"deleteBackward\" && e.flushInlineShortcutBuffer(), e.snapshot(n)), /^complete/.test(n) || Od(e), of[n].fn(e.model, ...r), kd(e), a = !0, i = !0;\n\t} else if (s === \"virtual-keyboard\") a = window.mathVirtualKeyboard?.executeCommand(t) ?? !1, i = !0;\n\telse if (of[n]) {\n\t\tif (!e.isSelectionEditable && o != null && o.changeContent) return e.model.announce(\"plonk\"), !1;\n\t\t/^(undo|redo)/.test(n) && e.flushInlineShortcutBuffer(), a = of[n].fn(e, ...r), i = !0;\n\t} else throw Error(`Unknown command \"${n}\"`);\n\treturn s !== \"virtual-keyboard\" && (!e.model.selectionIsCollapsed || o != null && o.changeSelection && n !== \"deleteBackward\") && (e.flushInlineShortcutBuffer(), o != null && o.changeContent || e.stopCoalescingUndo(), e.defaultStyle = {}), a && (o != null && o.changeSelection && i ? (e.dirty = !0, e.scrollIntoView()) : H(e)), i;\n}\nfunction df(e, t) {\n\tif (!e) return !1;\n\te.focus(), P_.keypressVibration && m() && navigator.vibrate(af);\n\tlet n = cf(t);\n\tglobalThis.MathfieldElement.playSound(n?.audioFeedback ?? \"keypress\");\n\tlet r = e.executeCommand(t);\n\treturn e.scrollIntoView(), r;\n}\nsf({ performWithFeedback: (e, t) => df(e, t) });\nfunction ff(e) {\n\treturn kd(e, { atIndex: e.suggestionIndex + 1 }), !1;\n}\nfunction pf(e) {\n\treturn kd(e, { atIndex: e.suggestionIndex - 1 }), !1;\n}\nsf({ complete: jd }, {\n\ttarget: \"mathfield\",\n\taudioFeedback: \"return\",\n\tcanUndo: !0,\n\tchangeContent: !0,\n\tchangeSelection: !0\n}), sf({ dispatchEvent: (e, t, n) => e.host?.dispatchEvent(new CustomEvent(t, { detail: n })) ?? !1 }, { target: \"mathfield\" }), sf({\n\tnextSuggestion: ff,\n\tpreviousSuggestion: pf\n}, {\n\ttarget: \"mathfield\",\n\taudioFeedback: \"keypress\",\n\tchangeSelection: !0\n});\nfunction mf(e) {\n\tif (!e) return;\n\tif (x(e) && e.length > 0) {\n\t\tlet t = e[0];\n\t\treturn t = t.replace(/-\\w/g, (e) => e[1].toUpperCase()), t === \"performWithFeedback\" && e.length === 2 ? [t, mf(e[1])] : [t, ...e.slice(1)];\n\t}\n\tif (typeof e != \"string\") return;\n\tlet t = e.trim().match(/^([a-zA-Z0-9-]+)\\((.*)\\)$/);\n\treturn t ? [t[1].replace(/-\\w/g, (e) => e[1].toUpperCase()), ...t[2].split(\",\").map((e) => e.trim()).map((e) => {\n\t\tif (/\"[^\"]*\"/.test(e) || /'[^']*'/.test(e)) return e.slice(1, -1);\n\t\tif (/^true$/.test(e)) return !0;\n\t\tif (/^false$/.test(e)) return !1;\n\t\tif (/^[-]?\\d+$/.test(e)) return parseInt(e, 10);\n\t\tif (/^\\{.*\\}$/.test(e)) try {\n\t\t\treturn JSON.parse(e);\n\t\t} catch {\n\t\t\treturn console.error(\"Invalid argument:\", e), e;\n\t\t}\n\t\treturn mf(e);\n\t})] : e.replace(/-\\w/g, (e) => e[1].toUpperCase());\n}\nvar hf = \"mathlive#virtual-keyboard-message\";\nfunction gf(e) {\n\treturn e.type === \"message\" && e.data?.type === hf;\n}\nvar _f = class e {\n\tconstructor() {\n\t\tthis.targetOrigin = window.origin, this.originValidator = \"none\", this.targetWindow = window.top, this._boundingRect = new DOMRect(0, 0, 0, 0), this._isShifted = !1, window.addEventListener(\"message\", this), this.sendMessage(\"proxy-created\"), this.listeners = {};\n\t}\n\tstatic get singleton() {\n\t\treturn this._singleton || (this._singleton = new e()), this._singleton;\n\t}\n\tgetKeycap(e) {}\n\tsetKeycap(e, t) {\n\t\tthis.sendMessage(\"update-setting\", { setKeycap: {\n\t\t\tkeycap: e,\n\t\t\tvalue: t\n\t\t} });\n\t}\n\tset alphabeticLayout(e) {\n\t\tthis.sendMessage(\"update-setting\", { alphabeticLayout: e });\n\t}\n\tset layouts(e) {\n\t\tthis.sendMessage(\"update-setting\", { layouts: e });\n\t}\n\tget normalizedLayouts() {\n\t\treturn [];\n\t}\n\tset editToolbar(e) {\n\t\tthis.sendMessage(\"update-setting\", { editToolbar: e });\n\t}\n\tset container(e) {\n\t\tthrow Error(\"Container inside an iframe cannot be changed\");\n\t}\n\tshow(e) {\n\t\tthis.dispatchEvent(new CustomEvent(\"before-virtual-keyboard-toggle\", {\n\t\t\tdetail: { visible: !0 },\n\t\t\tbubbles: !0,\n\t\t\tcancelable: !0,\n\t\t\tcomposed: !0\n\t\t})) && (this.sendMessage(\"show\", e), this.dispatchEvent(new Event(\"virtual-keyboard-toggle\")));\n\t}\n\thide(e) {\n\t\tthis.dispatchEvent(new CustomEvent(\"before-virtual-keyboard-toggle\", {\n\t\t\tdetail: { visible: !1 },\n\t\t\tbubbles: !0,\n\t\t\tcancelable: !0,\n\t\t\tcomposed: !0\n\t\t})) && (this.sendMessage(\"hide\", e), this.dispatchEvent(new Event(\"virtual-keyboard-toggle\")));\n\t}\n\tget isShifted() {\n\t\treturn this._isShifted;\n\t}\n\tget visible() {\n\t\treturn this._boundingRect.height > 0;\n\t}\n\tset visible(e) {\n\t\te ? this.show() : this.hide();\n\t}\n\tget boundingRect() {\n\t\treturn this._boundingRect;\n\t}\n\texecuteCommand(e) {\n\t\treturn this.sendMessage(\"execute-command\", { command: e }), !0;\n\t}\n\tupdateToolbar(e) {\n\t\tthis.sendMessage(\"update-toolbar\", e);\n\t}\n\tupdate(e) {\n\t\tthis.sendMessage(\"update-setting\", e);\n\t}\n\tconnect() {\n\t\tthis.sendMessage(\"connect\");\n\t}\n\tdisconnect() {\n\t\tthis.sendMessage(\"disconnect\");\n\t}\n\taddEventListener(e, t, n) {\n\t\tthis.listeners[e] || (this.listeners[e] = /* @__PURE__ */ new Set()), this.listeners[e].has(t) || this.listeners[e].add(t);\n\t}\n\tdispatchEvent(e) {\n\t\treturn !this.listeners[e.type] || this.listeners[e.type].size === 0 || (this.listeners[e.type].forEach((t) => {\n\t\t\ttypeof t == \"function\" ? t(e) : t?.handleEvent(e);\n\t\t}), !e.defaultPrevented);\n\t}\n\tremoveEventListener(e, t, n) {\n\t\tthis.listeners[e] && this.listeners[e].delete(t);\n\t}\n\thandleEvent(e) {\n\t\tif (gf(e)) {\n\t\t\tif (!zc(e.origin, this.originValidator)) throw new DOMException(`Message from unknown origin (${e.origin}) cannot be handled`, \"SecurityError\");\n\t\t\tthis.handleMessage(e.data);\n\t\t}\n\t}\n\thandleMessage(e) {\n\t\tlet { action: t } = e;\n\t\tif (t === \"execute-command\") {\n\t\t\tlet { command: t } = e;\n\t\t\tlf(t) === \"virtual-keyboard\" && this.executeCommand(t);\n\t\t\treturn;\n\t\t}\n\t\tif (t === \"synchronize-proxy\") {\n\t\t\tthis._boundingRect = e.boundingRect, this._isShifted = e.isShifted;\n\t\t\treturn;\n\t\t}\n\t\tif (t === \"geometry-changed\") {\n\t\t\tthis._boundingRect = e.boundingRect, this.dispatchEvent(new Event(\"geometrychange\"));\n\t\t\treturn;\n\t\t}\n\t}\n\tsendMessage(e, t = {}) {\n\t\tif (!this.targetWindow) throw new DOMException(\"A frame does not have access to the top window and can't communicate with the keyboard.\", \"SecurityError\");\n\t\tthis.targetWindow.postMessage(s({\n\t\t\ttype: hf,\n\t\t\taction: e\n\t\t}, t), this.targetOrigin);\n\t}\n}, vf = {\n\tnumeric: {\n\t\tlabel: \"123\",\n\t\tlabelClass: \"MLK__tex-math\",\n\t\ttooltip: \"keyboard.tooltip.numeric\",\n\t\trows: [\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\tlatex: \"x\",\n\t\t\t\t\tshift: \"y\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"y\",\n\t\t\t\t\t\t\"z\",\n\t\t\t\t\t\t\"t\",\n\t\t\t\t\t\t\"r\",\n\t\t\t\t\t\t\"x^2\",\n\t\t\t\t\t\t\"x^n\",\n\t\t\t\t\t\t\"x^{#?}\",\n\t\t\t\t\t\t\"x_n\",\n\t\t\t\t\t\t\"x_i\",\n\t\t\t\t\t\t\"x_{#?}\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"f(#?)\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"g(#?)\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"n\",\n\t\t\t\t\tshift: \"a\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"i\",\n\t\t\t\t\t\t\"j\",\n\t\t\t\t\t\t\"p\",\n\t\t\t\t\t\t\"k\",\n\t\t\t\t\t\t\"a\",\n\t\t\t\t\t\t\"u\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t\"[separator-5]\",\n\t\t\t\t\"[7]\",\n\t\t\t\t\"[8]\",\n\t\t\t\t\"[9]\",\n\t\t\t\t\"[/]\",\n\t\t\t\t\"[separator-5]\",\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\exponentialE\",\n\t\t\t\t\tshift: \"\\\\ln\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"\\\\exp\",\n\t\t\t\t\t\t\"\\\\times 10^{#?}\",\n\t\t\t\t\t\t\"\\\\ln\",\n\t\t\t\t\t\t\"\\\\log_{10}\",\n\t\t\t\t\t\t\"\\\\log\",\n\t\t\t\t\t\t\"\\\\lg\",\n\t\t\t\t\t\t\"\\\\operatorname{lb}\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\imaginaryI\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"\\\\Re\",\n\t\t\t\t\t\t\"\\\\Im\",\n\t\t\t\t\t\t\"\\\\imaginaryJ\",\n\t\t\t\t\t\t\"\\\\Vert #0 \\\\Vert\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\pi\",\n\t\t\t\t\tshift: \"\\\\sin\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"\\\\prod\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\theta\",\n\t\t\t\t\t\t\taside: \"theta\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\rho\",\n\t\t\t\t\t\t\taside: \"rho\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\tau\",\n\t\t\t\t\t\t\taside: \"tau\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"\\\\sin\",\n\t\t\t\t\t\t\"\\\\cos\",\n\t\t\t\t\t\t\"\\\\tan\"\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t],\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<\",\n\t\t\t\t\tlatex: \"<\",\n\t\t\t\t\tclass: \"hide-shift\",\n\t\t\t\t\tshift: {\n\t\t\t\t\t\tlatex: \"\\\\le\",\n\t\t\t\t\t\tlabel: \"≤\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \">\",\n\t\t\t\t\tlatex: \">\",\n\t\t\t\t\tclass: \"hide-shift\",\n\t\t\t\t\tshift: {\n\t\t\t\t\t\tlatex: \"\\\\ge\",\n\t\t\t\t\t\tlabel: \"≥\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"[separator-5]\",\n\t\t\t\t\"[4]\",\n\t\t\t\t\"[5]\",\n\t\t\t\t\"[6]\",\n\t\t\t\t\"[*]\",\n\t\t\t\t\"[separator-5]\",\n\t\t\t\t{\n\t\t\t\t\tclass: \"hide-shift\",\n\t\t\t\t\tlatex: \"#@^2}\",\n\t\t\t\t\tshift: \"#@^{\\\\prime}}\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"#@^{#0}}\",\n\t\t\t\t\tclass: \"hide-shift\",\n\t\t\t\t\tshift: \"#@_{#?}\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tclass: \"hide-shift\",\n\t\t\t\t\tlatex: \"\\\\sqrt{#0}\",\n\t\t\t\t\tshift: { latex: \"\\\\sqrt[#0]{#?}}\" }\n\t\t\t\t}\n\t\t\t],\n\t\t\t[\n\t\t\t\t\"[(]\",\n\t\t\t\t\"[)]\",\n\t\t\t\t\"[separator-5]\",\n\t\t\t\t\"[1]\",\n\t\t\t\t\"[2]\",\n\t\t\t\t\"[3]\",\n\t\t\t\t\"[-]\",\n\t\t\t\t\"[separator-5]\",\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\int^{\\\\infty}_{0}\\\\!#?\\\\,\\\\mathrm{d}x\",\n\t\t\t\t\tclass: \"small hide-shift\",\n\t\t\t\t\tshift: \"\\\\int\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\int_{#?}^{#?}\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\int\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\iint\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\iiint\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\oint\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"\\\\mathrm{d}x\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\dfrac{\\\\mathrm{d}}{\\\\mathrm{d} x}\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\frac{\\\\partial}{\\\\partial x}\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"\\\\partial\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tclass: \"hide-shift\",\n\t\t\t\t\tlatex: \"\\\\forall\",\n\t\t\t\t\tshift: \"\\\\exists\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[backspace]\",\n\t\t\t\t\twidth: 1\n\t\t\t\t}\n\t\t\t],\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[shift]\",\n\t\t\t\t\twidth: 2\n\t\t\t\t},\n\t\t\t\t\"[separator-5]\",\n\t\t\t\t\"[0]\",\n\t\t\t\t\"[.]\",\n\t\t\t\t\"[=]\",\n\t\t\t\t\"[+]\",\n\t\t\t\t\"[separator-5]\",\n\t\t\t\t\"[left]\",\n\t\t\t\t\"[right]\",\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[action]\",\n\t\t\t\t\twidth: 1\n\t\t\t\t}\n\t\t\t]\n\t\t]\n\t},\n\tgreek: {\n\t\tlabel: \"αβγ\",\n\t\tlabelClass: \"MLK__tex-math\",\n\t\ttooltip: \"keyboard.tooltip.greek\",\n\t\trows: [\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>φ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\varphi\",\n\t\t\t\t\taside: \"phi var.\",\n\t\t\t\t\tshift: \"\\\\Phi\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ς</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\varsigma\",\n\t\t\t\t\taside: \"sigma var.\",\n\t\t\t\t\tshift: \"\\\\Sigma\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ϵ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\epsilon\",\n\t\t\t\t\taside: \"epsilon\",\n\t\t\t\t\tshift: \"\\\\char\\\"0190\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ρ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\rho\",\n\t\t\t\t\taside: \"rho\",\n\t\t\t\t\tshift: \"\\\\char\\\"3A1\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>τ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\tau\",\n\t\t\t\t\taside: \"tau\",\n\t\t\t\t\tshift: \"\\\\char\\\"3A4\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>υ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\upsilon\",\n\t\t\t\t\taside: \"upsilon\",\n\t\t\t\t\tshift: \"\\\\Upsilon\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>θ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\theta\",\n\t\t\t\t\taside: \"theta\",\n\t\t\t\t\tshift: \"\\\\Theta\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ι</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\iota\",\n\t\t\t\t\taside: \"iota\",\n\t\t\t\t\tshift: \"\\\\char\\\"399\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ο</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\omicron\",\n\t\t\t\t\taside: \"omicron\",\n\t\t\t\t\tshift: \"\\\\char\\\"39F\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>π</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\pi\",\n\t\t\t\t\taside: \"pi\",\n\t\t\t\t\tshift: \"\\\\Pi\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t[\n\t\t\t\t\"[separator-5]\",\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>α</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\alpha\",\n\t\t\t\t\taside: \"alpha\",\n\t\t\t\t\tshift: \"\\\\char\\\"391\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>σ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\sigma\",\n\t\t\t\t\taside: \"sigma\",\n\t\t\t\t\tshift: \"\\\\Sigma\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>δ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\delta\",\n\t\t\t\t\taside: \"delta\",\n\t\t\t\t\tshift: \"\\\\Delta\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\phi\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\phi\",\n\t\t\t\t\taside: \"phi\",\n\t\t\t\t\tshift: \"\\\\Phi\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>γ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\gamma\",\n\t\t\t\t\taside: \"gamma\",\n\t\t\t\t\tshift: \"\\\\Gamma\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>η</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\eta\",\n\t\t\t\t\taside: \"eta\",\n\t\t\t\t\tshift: \"\\\\char\\\"397\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ξ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\xi\",\n\t\t\t\t\taside: \"xi\",\n\t\t\t\t\tshift: \"\\\\Xi\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>κ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\kappa\",\n\t\t\t\t\taside: \"kappa\",\n\t\t\t\t\tshift: \"\\\\Kappa\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>λ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\lambda\",\n\t\t\t\t\taside: \"lambda\",\n\t\t\t\t\tshift: \"\\\\Lambda\"\n\t\t\t\t},\n\t\t\t\t\"[separator-5]\"\n\t\t\t],\n\t\t\t[\n\t\t\t\t\"[shift]\",\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ζ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\zeta\",\n\t\t\t\t\taside: \"zeta\",\n\t\t\t\t\tshift: \"\\\\char\\\"396\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>χ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\chi\",\n\t\t\t\t\taside: \"chi\",\n\t\t\t\t\tshift: \"\\\\char\\\"3A7\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ψ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\psi\",\n\t\t\t\t\taside: \"psi\",\n\t\t\t\t\tshift: \"\\\\Psi\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ω</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\omega\",\n\t\t\t\t\taside: \"omega\",\n\t\t\t\t\tshift: \"\\\\Omega\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>β</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\beta\",\n\t\t\t\t\taside: \"beta\",\n\t\t\t\t\tshift: \"\\\\char\\\"392\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ν</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\nu\",\n\t\t\t\t\taside: \"nu\",\n\t\t\t\t\tshift: \"\\\\char\\\"39D\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>μ</i>\",\n\t\t\t\t\tclass: \"MLK__tex hide-shift\",\n\t\t\t\t\tinsert: \"\\\\mu\",\n\t\t\t\t\taside: \"mu\",\n\t\t\t\t\tshift: \"\\\\char\\\"39C\"\n\t\t\t\t},\n\t\t\t\t\"[backspace]\"\n\t\t\t],\n\t\t\t[\n\t\t\t\t\"[separator]\",\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ε</i>\",\n\t\t\t\t\tclass: \"MLK__tex\",\n\t\t\t\t\tinsert: \"\\\\varepsilon\",\n\t\t\t\t\taside: \"epsilon var.\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ϑ</i>\",\n\t\t\t\t\tclass: \"MLK__tex\",\n\t\t\t\t\tinsert: \"\\\\vartheta\",\n\t\t\t\t\taside: \"theta var.\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ϰ</i>\",\n\t\t\t\t\tclass: \"MLK__tex\",\n\t\t\t\t\tinsert: \"\\\\varkappa\",\n\t\t\t\t\taside: \"kappa var.\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ϖ</i>\",\n\t\t\t\t\tclass: \"MLK__tex\",\n\t\t\t\t\tinsert: \"\\\\varpi\",\n\t\t\t\t\taside: \"pi var.\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"<i>ϱ</i>\",\n\t\t\t\t\tclass: \"MLK__tex\",\n\t\t\t\t\tinsert: \"\\\\varrho\",\n\t\t\t\t\taside: \"rho var.\"\n\t\t\t\t},\n\t\t\t\t\"[left]\",\n\t\t\t\t\"[right]\",\n\t\t\t\t\"[action]\"\n\t\t\t]\n\t\t]\n\t},\n\tsymbols: {\n\t\tlabel: \"∞≠∈\",\n\t\tlabelClass: \"MLK__tex\",\n\t\ttooltip: \"keyboard.tooltip.symbols\",\n\t\trows: [\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\sin\",\n\t\t\t\t\tshift: \"\\\\sin^{-1}\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\sinh\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\sin^{-1}\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\operatorname{arsinh}\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t\"\\\\ln\",\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\mathrm{abs}\",\n\t\t\t\t\tinsert: \"\\\\mathrm{abs}\\\\left(#0\\\\right)\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\rightarrow\",\n\t\t\t\t\tshift: \"\\\\Rightarrow\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\implies\",\n\t\t\t\t\t\t\taside: \"implies\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\to\",\n\t\t\t\t\t\t\taside: \"to\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"\\\\dashv\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\roundimplies\",\n\t\t\t\t\t\t\taside: \"round implies\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\exists\",\n\t\t\t\t\tvariants: [\"\\\\nexists\"],\n\t\t\t\t\tshift: \"\\\\nexists\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\in\",\n\t\t\t\t\tshift: \"\\\\notin\",\n\t\t\t\t\tvariants: [\"\\\\notin\", \"\\\\owns\"]\n\t\t\t\t},\n\t\t\t\t\"\\\\cup\",\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\overrightarrow{#@}\",\n\t\t\t\t\tshift: \"\\\\overleftarrow{#@}\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"\\\\overleftarrow{#@}\",\n\t\t\t\t\t\t\"\\\\bar{#@}\",\n\t\t\t\t\t\t\"\\\\vec{#@}\",\n\t\t\t\t\t\t\"\\\\hat{#@}\",\n\t\t\t\t\t\t\"\\\\check{#@}\",\n\t\t\t\t\t\t\"\\\\dot{#@}\",\n\t\t\t\t\t\t\"\\\\ddot{#@}\",\n\t\t\t\t\t\t\"\\\\mathring{#@}\",\n\t\t\t\t\t\t\"\\\\breve{#@}\",\n\t\t\t\t\t\t\"\\\\acute{#@}\",\n\t\t\t\t\t\t\"\\\\tilde{#@}\",\n\t\t\t\t\t\t\"\\\\grave{#@}\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tclass: \"small hide-shift\",\n\t\t\t\t\tlatex: \"\\\\lim_{#?}\",\n\t\t\t\t\tshift: \"\\\\lim_{x\\\\to\\\\infty}\",\n\t\t\t\t\tvariants: [{\n\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\tlatex: \"\\\\liminf_{#?}\"\n\t\t\t\t\t}, {\n\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\tlatex: \"\\\\limsup_{#?}\"\n\t\t\t\t\t}]\n\t\t\t\t},\n\t\t\t\t\"\\\\exponentialE\"\n\t\t\t],\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\cos\",\n\t\t\t\t\tshift: \"\\\\cos^{-1}\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\cosh\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\cos^{-1}\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\operatorname{arcosh}\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\log\",\n\t\t\t\t\tshift: \"\\\\log_{10}\",\n\t\t\t\t\tvariants: [\"\\\\log_{#0}\", \"\\\\log_{10}\"]\n\t\t\t\t},\n\t\t\t\t\"\\\\left\\\\vert#0\\\\right\\\\vert\",\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\larr\",\n\t\t\t\t\tshift: \"\\\\lArr\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\impliedby\",\n\t\t\t\t\t\t\taside: \"implied by\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\gets\",\n\t\t\t\t\t\t\taside: \"gets\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"\\\\lArr\",\n\t\t\t\t\t\t\"\\\\vdash\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\models\",\n\t\t\t\t\t\t\taside: \"models\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\forall\",\n\t\t\t\t\tshift: \"\\\\lnot\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\land\",\n\t\t\t\t\t\t\taside: \"and\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\lor\",\n\t\t\t\t\t\t\taside: \"or\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\oplus\",\n\t\t\t\t\t\t\taside: \"xor\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\lnot\",\n\t\t\t\t\t\t\taside: \"not\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\downarrow\",\n\t\t\t\t\t\t\taside: \"nor\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\uparrow\",\n\t\t\t\t\t\t\taside: \"nand\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\curlywedge\",\n\t\t\t\t\t\t\taside: \"nor\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\bar\\\\curlywedge\",\n\t\t\t\t\t\t\taside: \"nand\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\ni\",\n\t\t\t\t\tshift: \"\\\\not\\\\owns\"\n\t\t\t\t},\n\t\t\t\t\"\\\\cap\",\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\overline{#@}\",\n\t\t\t\t\tshift: \"\\\\underline{#@}\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"\\\\overbrace{#@}\",\n\t\t\t\t\t\t\"\\\\overlinesegment{#@}\",\n\t\t\t\t\t\t\"\\\\overleftrightarrow{#@}\",\n\t\t\t\t\t\t\"\\\\overrightarrow{#@}\",\n\t\t\t\t\t\t\"\\\\overleftarrow{#@}\",\n\t\t\t\t\t\t\"\\\\overgroup{#@}\",\n\t\t\t\t\t\t\"\\\\underbrace{#@}\",\n\t\t\t\t\t\t\"\\\\underlinesegment{#@}\",\n\t\t\t\t\t\t\"\\\\underleftrightarrow{#@}\",\n\t\t\t\t\t\t\"\\\\underrightarrow{#@}\",\n\t\t\t\t\t\t\"\\\\underleftarrow{#@}\",\n\t\t\t\t\t\t\"\\\\undergroup{#@}\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tclass: \"hide-shift small\",\n\t\t\t\t\tlatex: \"\\\\int\",\n\t\t\t\t\tshift: \"\\\\iint\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\int_{#?}^{#?}\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\int\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\smallint\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\iint\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\iiint\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\oint\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"\\\\intop\",\n\t\t\t\t\t\t\"\\\\iiint\",\n\t\t\t\t\t\t\"\\\\oiint\",\n\t\t\t\t\t\t\"\\\\oiiint\",\n\t\t\t\t\t\t\"\\\\intclockwise\",\n\t\t\t\t\t\t\"\\\\varointclockwise\",\n\t\t\t\t\t\t\"\\\\ointctrclockwise\",\n\t\t\t\t\t\t\"\\\\intctrclockwise\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\pi\",\n\t\t\t\t\tshift: \"\\\\tau\",\n\t\t\t\t\tvariants: [\"\\\\tau\"]\n\t\t\t\t}\n\t\t\t],\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\tan\",\n\t\t\t\t\tshift: \"\\\\tan^{-1}\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\tanh\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\tan^{-1}\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\operatorname{artanh}\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\arctan\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\operatorname{arctg}\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tclass: \"small\",\n\t\t\t\t\t\t\tlatex: \"\\\\operatorname{tg}\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\exp\",\n\t\t\t\t\tinsert: \"\\\\exp\\\\left(#0\\\\right)\",\n\t\t\t\t\tvariants: [\"\\\\exponentialE^{#0}\"]\n\t\t\t\t},\n\t\t\t\t\"\\\\left\\\\Vert#0\\\\right\\\\Vert\",\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\lrArr\",\n\t\t\t\t\tshift: \"\\\\leftrightarrow\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\iff\",\n\t\t\t\t\t\t\taside: \"if and only if\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"\\\\leftrightarrow\",\n\t\t\t\t\t\t\"\\\\leftrightarrows\",\n\t\t\t\t\t\t\"\\\\Leftrightarrow\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"^\\\\biconditional\",\n\t\t\t\t\t\t\taside: \"biconditional\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\vert\",\n\t\t\t\t\tshift: \"!\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"#@^{\\\\complement}\",\n\t\t\t\t\taside: \"complement\",\n\t\t\t\t\tvariants: [{\n\t\t\t\t\t\tlatex: \"\\\\setminus\",\n\t\t\t\t\t\taside: \"set minus\"\n\t\t\t\t\t}, {\n\t\t\t\t\t\tlatex: \"\\\\smallsetminus\",\n\t\t\t\t\t\taside: \"small set minus\"\n\t\t\t\t\t}]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\subset\",\n\t\t\t\t\tshift: \"\\\\subseteq\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"\\\\subset\",\n\t\t\t\t\t\t\"\\\\subseteq\",\n\t\t\t\t\t\t\"\\\\subsetneq\",\n\t\t\t\t\t\t\"\\\\varsubsetneq\",\n\t\t\t\t\t\t\"\\\\subsetneqq\",\n\t\t\t\t\t\t\"\\\\nsubset\",\n\t\t\t\t\t\t\"\\\\nsubseteq\",\n\t\t\t\t\t\t\"\\\\supset\",\n\t\t\t\t\t\t\"\\\\supseteq\",\n\t\t\t\t\t\t\"\\\\supsetneq\",\n\t\t\t\t\t\t\"\\\\supsetneqq\",\n\t\t\t\t\t\t\"\\\\nsupset\",\n\t\t\t\t\t\t\"\\\\nsupseteq\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"#@^{\\\\prime}\",\n\t\t\t\t\tshift: \"#@^{\\\\doubleprime}\",\n\t\t\t\t\tvariants: [\"#@^{\\\\doubleprime}\", \"#@\\\\degree\"]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\mathrm{d}\",\n\t\t\t\t\tshift: \"\\\\partial\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"\\\\mathrm{d}x\",\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\dfrac{\\\\mathrm{d}}{\\\\mathrm{d} x}\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\frac{\\\\partial}{\\\\partial x}\",\n\t\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"\\\\partial\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlatex: \"\\\\infty\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"\\\\aleph_0\",\n\t\t\t\t\t\t\"\\\\aleph_1\",\n\t\t\t\t\t\t\"\\\\omega\",\n\t\t\t\t\t\t\"\\\\mathfrak{m}\"\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t],\n\t\t\t[\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[shift]\",\n\t\t\t\t\twidth: 2\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tclass: \"box\",\n\t\t\t\t\tlatex: \",\",\n\t\t\t\t\tshift: \";\",\n\t\t\t\t\tvariants: [\";\", \"?\"]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tclass: \"box\",\n\t\t\t\t\tlatex: \"\\\\colon\",\n\t\t\t\t\tshift: \"\\\\Colon\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\Colon\",\n\t\t\t\t\t\t\taside: \"such that\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \":\",\n\t\t\t\t\t\t\taside: \"ratio\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\vdots\",\n\t\t\t\t\t\t\taside: \"\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\ddots\",\n\t\t\t\t\t\t\taside: \"\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\ldotp\",\n\t\t\t\t\t\t\taside: \"low dot\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\cdotp\",\n\t\t\t\t\t\t\taside: \"center dot\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\ldots\",\n\t\t\t\t\t\t\taside: \"low ellipsis\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\cdots\",\n\t\t\t\t\t\t\taside: \"center ellipsis\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\therefore\",\n\t\t\t\t\t\t\taside: \"therefore\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlatex: \"\\\\because\",\n\t\t\t\t\t\t\taside: \"because\",\n\t\t\t\t\t\t\tclass: \"box\"\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tclass: \"box\",\n\t\t\t\t\tlatex: \"\\\\cdot\",\n\t\t\t\t\taside: \"centered dot\",\n\t\t\t\t\tshift: \"\\\\ast\",\n\t\t\t\t\tvariants: [\n\t\t\t\t\t\t\"\\\\circ\",\n\t\t\t\t\t\t\"\\\\bigcirc\",\n\t\t\t\t\t\t\"\\\\bullet\",\n\t\t\t\t\t\t\"\\\\odot\",\n\t\t\t\t\t\t\"\\\\oslash\",\n\t\t\t\t\t\t\"\\\\circledcirc\",\n\t\t\t\t\t\t\"\\\\ast\",\n\t\t\t\t\t\t\"\\\\star\",\n\t\t\t\t\t\t\"\\\\times\",\n\t\t\t\t\t\t\"\\\\doteq\",\n\t\t\t\t\t\t\"\\\\doteqdot\"\n\t\t\t\t\t]\n\t\t\t\t},\n\t\t\t\t\"[separator]\",\n\t\t\t\t\"[left]\",\n\t\t\t\t\"[right]\",\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[backspace]\",\n\t\t\t\t\twidth: 1,\n\t\t\t\t\tclass: \"action hide-shift\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[action]\",\n\t\t\t\t\twidth: 1\n\t\t\t\t}\n\t\t\t]\n\t\t]\n\t},\n\tcompact: {\n\t\tlabel: \"compact\",\n\t\trows: [\n\t\t\t[\n\t\t\t\t\"[+]\",\n\t\t\t\t\"[-]\",\n\t\t\t\t\"[*]\",\n\t\t\t\t\"[/]\",\n\t\t\t\t\"[=]\",\n\t\t\t\t\"[.]\",\n\t\t\t\t\"[(]\",\n\t\t\t\t\"[)]\",\n\t\t\t\t\"\\\\sqrt{#0}\",\n\t\t\t\t\"#@^{#?}\"\n\t\t\t],\n\t\t\t[\n\t\t\t\t\"[1]\",\n\t\t\t\t\"[2]\",\n\t\t\t\t\"[3]\",\n\t\t\t\t\"[4]\",\n\t\t\t\t\"[5]\",\n\t\t\t\t\"[6]\",\n\t\t\t\t\"[7]\",\n\t\t\t\t\"[8]\",\n\t\t\t\t\"[9]\",\n\t\t\t\t\"[0]\"\n\t\t\t],\n\t\t\t[\"[hr]\"],\n\t\t\t[\n\t\t\t\t\"[undo]\",\n\t\t\t\t\"[redo]\",\n\t\t\t\t\"[separator]\",\n\t\t\t\t\"[separator]\",\n\t\t\t\t\"[separator]\",\n\t\t\t\t\"[left]\",\n\t\t\t\t\"[right]\",\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[backspace]\",\n\t\t\t\t\tclass: \"action hide-shift\"\n\t\t\t\t},\n\t\t\t\t\"[hide-keyboard]\"\n\t\t\t]\n\t\t]\n\t},\n\tminimalist: {\n\t\tlabel: \"minimalist\",\n\t\tlayers: [{\n\t\t\tstyle: \"\\n div.minimalist-backdrop {\\n display: flex;\\n justify-content: center;\\n } \\n div.minimalist-container {\\n --keycap-height: 40px;\\n --keycap-max-width: 53px;\\n --keycap-small-font-size: 12px;\\n background: var(--keyboard-background);\\n padding: 20px 20px 0px 20px;\\n border-top-left-radius: 8px;\\n border-top-right-radius: 8px;\\n border: 1px solid var(--keyboard-border);\\n box-shadow: 0 0 32px rgb(0 0 0 / 30%);\\n } \\n \",\n\t\t\tbackdrop: \"minimalist-backdrop\",\n\t\t\tcontainer: \"minimalist-container\",\n\t\t\trows: [\n\t\t\t\t[\n\t\t\t\t\t\"+\",\n\t\t\t\t\t\"-\",\n\t\t\t\t\t\"\\\\times\",\n\t\t\t\t\t{\n\t\t\t\t\t\tlatex: \"\\\\frac{#@}{#0}\",\n\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t},\n\t\t\t\t\t\"=\",\n\t\t\t\t\t\"[.]\",\n\t\t\t\t\t\"(\",\n\t\t\t\t\t\")\",\n\t\t\t\t\t{\n\t\t\t\t\t\tlatex: \"\\\\sqrt{#0}\",\n\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlatex: \"#@^{#?}\",\n\t\t\t\t\t\tclass: \"small\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t[\n\t\t\t\t\t\"1\",\n\t\t\t\t\t\"2\",\n\t\t\t\t\t\"3\",\n\t\t\t\t\t\"4\",\n\t\t\t\t\t\"5\",\n\t\t\t\t\t\"6\",\n\t\t\t\t\t\"7\",\n\t\t\t\t\t\"8\",\n\t\t\t\t\t\"9\",\n\t\t\t\t\t\"0\"\n\t\t\t\t],\n\t\t\t\t[\"[hr]\"],\n\t\t\t\t[\n\t\t\t\t\t\"[undo]\",\n\t\t\t\t\t\"[redo]\",\n\t\t\t\t\t\"[separator]\",\n\t\t\t\t\t\"[separator]\",\n\t\t\t\t\t\"[separator]\",\n\t\t\t\t\t\"[left]\",\n\t\t\t\t\t\"[right]\",\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: \"[backspace]\",\n\t\t\t\t\t\tclass: \"action hide-shift\"\n\t\t\t\t\t},\n\t\t\t\t\t\"[hide-keyboard]\"\n\t\t\t\t]\n\t\t\t]\n\t\t}]\n\t},\n\t\"numeric-only\": {\n\t\tlabel: \"123\",\n\t\tlabelClass: \"MLK__tex-math\",\n\t\ttooltip: \"keyboard.tooltip.numeric\",\n\t\tid: \"numeric-only\",\n\t\trows: [\n\t\t\t[\n\t\t\t\t\"7\",\n\t\t\t\t\"8\",\n\t\t\t\t\"9\",\n\t\t\t\t\"[separator]\",\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[backspace]\",\n\t\t\t\t\twidth: 2\n\t\t\t\t}\n\t\t\t],\n\t\t\t[\n\t\t\t\t\"4\",\n\t\t\t\t\"5\",\n\t\t\t\t\"6\",\n\t\t\t\t\"[separator]\",\n\t\t\t\t\"[separator]\",\n\t\t\t\t\"[separator]\"\n\t\t\t],\n\t\t\t[\n\t\t\t\t\"1\",\n\t\t\t\t\"2\",\n\t\t\t\t\"3\",\n\t\t\t\t\"[separator]\",\n\t\t\t\t\"[separator]\",\n\t\t\t\t\"[separator]\"\n\t\t\t],\n\t\t\t[\n\t\t\t\t\"0\",\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[.]\",\n\t\t\t\t\tvariants: []\n\t\t\t\t},\n\t\t\t\t\"-\",\n\t\t\t\t\"[separator]\",\n\t\t\t\t\"[left]\",\n\t\t\t\t\"[right]\"\n\t\t\t]\n\t\t]\n\t}\n}, yf = {\n\t0: [\"\\\\varnothing\", \"\\\\infty\"],\n\t1: [\n\t\t\"\\\\frac{1}{#@}\",\n\t\t\"#@^{-1}\",\n\t\t\"\\\\times 10^{#?}\",\n\t\t\"\\\\phi\",\n\t\t\"\\\\imaginaryI\"\n\t],\n\t2: [\n\t\t\"\\\\frac{1}{2}\",\n\t\t\"#@^2\",\n\t\t\"\\\\sqrt2\",\n\t\t\"\\\\exponentialE\"\n\t],\n\t3: [\n\t\t\"\\\\frac{1}{3}\",\n\t\t\"#@^3\",\n\t\t\"\\\\sqrt3\",\n\t\t\"\\\\pi\"\n\t],\n\t4: [\"\\\\frac{1}{4}\", \"#@^4\"],\n\t5: [\n\t\t\"\\\\frac{1}{5}\",\n\t\t\"#@^5\",\n\t\t\"\\\\sqrt5\"\n\t],\n\t6: [\"\\\\frac{1}{6}\", \"#@^6\"],\n\t7: [\"\\\\frac{1}{7}\", \"#@^7\"],\n\t8: [\"\\\\frac{1}{8}\", \"#@^8\"],\n\t9: [\"\\\\frac{1}{9}\", \"#@^9\"],\n\t\".\": [\n\t\t\".\",\n\t\t\",\",\n\t\t\";\",\n\t\t\"\\\\colon\"\n\t],\n\t\",\": [\n\t\t\"{,}\",\n\t\t\".\",\n\t\t\";\",\n\t\t\"\\\\colon\"\n\t],\n\ta: [\n\t\t{\n\t\t\tlatex: \"\\\\aleph\",\n\t\t\taside: \"aleph\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\forall\",\n\t\t\taside: \"for all\"\n\t\t},\n\t\t\"å\",\n\t\t\"à\",\n\t\t\"á\",\n\t\t\"â\",\n\t\t\"ä\",\n\t\t\"æ\"\n\t],\n\tA: [\n\t\t{\n\t\t\tlatex: \"\\\\aleph\",\n\t\t\taside: \"aleph\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\forall\",\n\t\t\taside: \"for all\"\n\t\t},\n\t\t\"Å\",\n\t\t\"À\",\n\t\t\"Á\",\n\t\t\"Â\",\n\t\t\"Ä\",\n\t\t\"Æ\"\n\t],\n\tb: [{\n\t\tlatex: \"\\\\beth\",\n\t\taside: \"beth\"\n\t}],\n\tc: [{\n\t\tlatex: \"\\\\C\",\n\t\taside: \"set of complex numbers\"\n\t}, \"ç\"],\n\td: [{\n\t\tlatex: \"\\\\daleth\",\n\t\taside: \"daleth\"\n\t}],\n\te: [\n\t\t{\n\t\t\tlatex: \"\\\\exponentialE\",\n\t\t\taside: \"exponential e\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\exists\",\n\t\t\taside: \"there is\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\nexists\",\n\t\t\taside: \"there isn’t\"\n\t\t},\n\t\t\"è\",\n\t\t\"é\",\n\t\t\"ê\",\n\t\t\"ë\"\n\t],\n\tE: [\n\t\t{\n\t\t\tlatex: \"\\\\exponentialE\",\n\t\t\taside: \"exponential e\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\exists\",\n\t\t\taside: \"there is\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\nexists\",\n\t\t\taside: \"there isn’t\"\n\t\t},\n\t\t\"È\",\n\t\t\"É\",\n\t\t\"Ê\",\n\t\t\"Ë\"\n\t],\n\tg: [{\n\t\tlatex: \"\\\\gimel\",\n\t\taside: \"gimel\"\n\t}],\n\th: [{\n\t\tlatex: \"\\\\hbar\",\n\t\taside: \"h bar\"\n\t}, {\n\t\tlatex: \"\\\\hslash\",\n\t\taside: \"h slash\"\n\t}],\n\ti: [\n\t\t{\n\t\t\tlatex: \"\\\\imaginaryI\",\n\t\t\taside: \"imaginary i\"\n\t\t},\n\t\t\"ì\",\n\t\t\"í\",\n\t\t\"î\",\n\t\t\"ï\"\n\t],\n\tI: [\n\t\t{\n\t\t\tlatex: \"\\\\imaginaryI\",\n\t\t\taside: \"imaginary i\"\n\t\t},\n\t\t\"Ì\",\n\t\t\"Í\",\n\t\t\"Î\",\n\t\t\"Ï\"\n\t],\n\tj: [{\n\t\tlatex: \"\\\\imaginaryJ\",\n\t\taside: \"imaginary j\"\n\t}],\n\tl: [{\n\t\tlatex: \"\\\\ell\",\n\t\taside: \"ell\"\n\t}],\n\tn: [{\n\t\tlatex: \"\\\\mathbb{N}\",\n\t\taside: \"set of natural numbers\"\n\t}, \"ñ\"],\n\to: [\n\t\t\"ø\",\n\t\t\"œ\",\n\t\t\"ò\",\n\t\t\"ó\",\n\t\t\"ô\",\n\t\t\"ö\"\n\t],\n\tO: [\n\t\t\"ø\",\n\t\t\"Œ\",\n\t\t\"Ò\",\n\t\t\"Ó\",\n\t\t\"Ô\",\n\t\t\"Ö\"\n\t],\n\tp: [{\n\t\tlatex: \"\\\\mathbb{P}\",\n\t\taside: \"set of primes\"\n\t}],\n\tq: [{\n\t\tlatex: \"\\\\mathbb{Q}\",\n\t\taside: \"set of rational numbers\"\n\t}],\n\tr: [{\n\t\tlatex: \"\\\\mathbb{R}\",\n\t\taside: \"set of real numbers\"\n\t}],\n\tu: [\n\t\t\"ù\",\n\t\t\"ú\",\n\t\t\"û\",\n\t\t\"ü\"\n\t],\n\tU: [\n\t\t\"Ù\",\n\t\t\"Ú\",\n\t\t\"Û\",\n\t\t\"Ü\"\n\t],\n\tz: [{\n\t\tlatex: \"\\\\mathbb{Z}\",\n\t\taside: \"set of integers\"\n\t}],\n\ty: [\"ý\", \"ÿ\"],\n\tY: [\"Ÿ\"],\n\tspace: [\n\t\t{\n\t\t\tlatex: \"\\\\char\\\"203A\\\\!\\\\char\\\"2039\",\n\t\t\tinsert: \"\\\\!\",\n\t\t\taside: \"negative thin space<br>⁻³⧸₁₈ em\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\char\\\"203A\\\\,\\\\char\\\"2039\",\n\t\t\tinsert: \"\\\\,\",\n\t\t\taside: \"thin space<br>³⧸₁₈ em\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\char\\\"203A\\\\:\\\\char\\\"2039\",\n\t\t\tinsert: \"\\\\:\",\n\t\t\taside: \"medium space<br>⁴⧸₁₈ em\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\char\\\"203A\\\\;\\\\char\\\"2039\",\n\t\t\tinsert: \"\\\\;\",\n\t\t\taside: \"thick space<br>⁵⧸₁₈ em\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\char\\\"203A\\\\ \\\\char\\\"2039\",\n\t\t\tinsert: \"\\\\ \",\n\t\t\taside: \"⅓ em\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\char\\\"203A\\\\enspace\\\\char\\\"2039\",\n\t\t\tinsert: \"\\\\enspace\",\n\t\t\taside: \"½ em\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\char\\\"203A\\\\quad\\\\char\\\"2039\",\n\t\t\tinsert: \"\\\\quad\",\n\t\t\taside: \"1 em\"\n\t\t},\n\t\t{\n\t\t\tlatex: \"\\\\char\\\"203A\\\\qquad\\\\char\\\"2039\",\n\t\t\tinsert: \"\\\\qquad\",\n\t\t\taside: \"2 em\"\n\t\t}\n\t]\n}, bf;\nfunction xf(e, t) {\n\tlet n = rp.singleton;\n\tif (!n) return;\n\tlet r = tp(e), i = \"\";\n\tif (window.mathVirtualKeyboard.isShifted) {\n\t\tlet e = n.getKeycap(r?.id)?.shift;\n\t\ttypeof e == \"object\" && \"variants\" in e && (i = e.variants ?? \"\");\n\t} else i = n.getKeycap(r?.id)?.variants ?? \"\";\n\tif (typeof i == \"string\" && !wf(i) || Array.isArray(i) && i.length === 0) {\n\t\tt?.();\n\t\treturn;\n\t}\n\tlet a = {}, o = \"\";\n\tfor (let e of Tf(i)) {\n\t\tlet t = Yf(e), n = Date.now().toString(36).slice(-2) + Math.floor(Math.random() * 1e5).toString(36);\n\t\ta[n] = t;\n\t\tlet [r, i] = qf(t);\n\t\to += `<div id=${n} class=\"item ${i}\">${r}</div>`;\n\t}\n\tlet s = document.createElement(\"div\");\n\ts.setAttribute(\"aria-hidden\", \"true\"), s.className = \"MLK__variant-panel\", s.style.height = \"auto\";\n\tlet c = Object.keys(a).length, l = 5;\n\tc === 1 ? l = 1 : c === 2 || c === 4 ? l = 2 : c === 3 || c === 5 || c === 6 ? l = 3 : c >= 7 && c < 14 && (l = 4), s.style.width = `calc(var(--variant-keycap-length) * ${l} + 12px)`, s.innerHTML = P_.createHTML(o), cd.open({\n\t\troot: (n?.container)?.querySelector(\".ML__keyboard\"),\n\t\tchild: s\n\t}), bf = new AbortController();\n\tlet { signal: u } = bf, d = e?.getBoundingClientRect();\n\tif (d) {\n\t\td.top - s.clientHeight < 0 && (s.style.width = \"auto\", c <= 6 ? s.style.height = \"56px\" : c <= 12 ? s.style.height = \"108px\" : c <= 18 ? s.style.height = \"205px\" : s.classList.add(\"compact\"));\n\t\tlet e = Math.max(0, Math.min(window.innerWidth - s.offsetWidth, (d.left + d.right - s.offsetWidth) / 2)), i = d.top - s.clientHeight + 5;\n\t\ts.style.left = `${e}px`, s.style.top = `${i}px`, s.classList.add(\"is-visible\"), requestAnimationFrame(() => {\n\t\t\tvar e;\n\t\t\ts.addEventListener(\"pointerup\", (e) => {\n\t\t\t\tlet n = tp(e.target);\n\t\t\t\t!(n != null && n.id) || !a[n.id] || ($f(a[n.id]), Sf(), t?.(), e.preventDefault());\n\t\t\t}, {\n\t\t\t\tcapture: !0,\n\t\t\t\tpassive: !1,\n\t\t\t\tsignal: u\n\t\t\t}), s.addEventListener(\"pointerenter\", (e) => {\n\t\t\t\tlet t = tp(e.target);\n\t\t\t\t!(t != null && t.id) || !a[t.id] || t.classList.add(\"is-active\");\n\t\t\t}, {\n\t\t\t\tcapture: !0,\n\t\t\t\tsignal: u\n\t\t\t}), s.addEventListener(\"pointerleave\", (e) => {\n\t\t\t\tlet t = tp(e.target);\n\t\t\t\te.target && \"tagName\" in e.target && typeof e.target.tagName == \"string\" && e.target.tagName.toUpperCase() === \"ASIDE\" || !(t != null && t.id) || !a[t.id] || t.classList.remove(\"is-active\");\n\t\t\t}, {\n\t\t\t\tcapture: !0,\n\t\t\t\tsignal: u\n\t\t\t}), (e = n.getKeycap(r?.id)) != null && e.stickyVariantPanel ? window.addEventListener(\"pointerdown\", (e) => {\n\t\t\t\tif (!(e.target instanceof Node)) return;\n\t\t\t\tlet n = s.contains(e.target);\n\t\t\t\te.target === s || n || (Sf(), t?.());\n\t\t\t}, { signal: u }) : (window.addEventListener(\"pointercancel\", () => {\n\t\t\t\tSf(), t?.();\n\t\t\t}, { signal: u }), window.addEventListener(\"pointerup\", () => {\n\t\t\t\tSf(), t?.();\n\t\t\t}, { signal: u }));\n\t\t});\n\t}\n}\nfunction Sf() {\n\tbf?.abort(), bf = null, cd.state === \"open\" && cd.close();\n}\nfunction Cf(e) {\n\tif (e === \"foreground-color\") {\n\t\tlet e = [];\n\t\tfor (let t of Object.keys(Ee)) e.push({\n\t\t\tclass: \"swatch-button\",\n\t\t\tlabel: \"<span style=\\\"border: 3px solid \" + Ee[t] + \"\\\"></span>\",\n\t\t\tcommand: [\"applyStyle\", { color: t }]\n\t\t});\n\t\treturn e;\n\t}\n\tif (e === \"background-color\") {\n\t\tlet e = [];\n\t\tfor (let t of Object.keys(Te)) e.push({\n\t\t\tclass: \"swatch-button\",\n\t\t\tlabel: \"<span style=\\\"background:\" + Te[t] + \"\\\"></span>\",\n\t\t\tcommand: [\"applyStyle\", { backgroundColor: t }]\n\t\t});\n\t\treturn e;\n\t}\n}\nfunction wf(e) {\n\treturn yf[e] !== void 0;\n}\nfunction Tf(e) {\n\treturn typeof e == \"string\" ? (yf[e] || (yf[e] = Cf(e) ?? []), yf[e]) : e;\n}\nfunction Ef(e) {\n\treturn typeof e == \"string\" ? e : Object.entries(e).map(([e, t]) => `${e}:${t} !important`).join(\";\");\n}\nfunction Df(e) {\n\treturn Object.keys(e).map((t) => `${t} {${Ef(e[t])}}`).join(\"\");\n}\nfunction Of(e) {\n\tif (!e) return \"\";\n\tlet t = new P();\n\treturn Ss(xs(Tu(new M(new F({\n\t\tmode: \"math\",\n\t\ttype: \"root\",\n\t\tbody: Ql(e, {\n\t\t\tcontext: t,\n\t\t\targs: (e) => e === \"@\" ? \"{\\\\class{ML__box-placeholder}{\\\\blacksquare}}\" : \"\\\\placeholder{}\"\n\t\t})\n\t}).render(t), { classes: \"ML__base\" }), t)), { classes: \"ML__latex\" }).toMarkup();\n}\nfunction kf(e) {\n\treturn e.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/</g, \"<\").replace(/>/g, \">\");\n}\nfunction Af(e) {\n\treturn e.replace(/<\\/?[^>]+(>|$)/g, \" \");\n}\nfunction jf(e) {\n\tlet t = e.tooltip ?? (typeof e.label == \"string\" ? Af(e.label) : void 0) ?? e.insert ?? e.latex ?? e.key;\n\treturn t && t.replace(/\\s+/g, \" \").trim() || null;\n}\nfunction Mf(e) {\n\tif (e == null) return null;\n\ttry {\n\t\treturn JSON.stringify(e);\n\t} catch {\n\t\treturn null;\n\t}\n}\nfunction Nf(e) {\n\treturn e.insert ?? e.latex ?? e.key ?? null;\n}\nfunction Pf(e) {\n\tif (Array.isArray(e)) return e.map((e) => Pf(e)).flat();\n\tlet t = typeof e == \"string\" ? { markup: e } : e;\n\treturn \"rows\" in t && Array.isArray(t.rows) && (t.rows = t.rows.map((e) => e.map((e) => Yf(e)))), t.id ?? (t.id = \"ML__layer_\" + Date.now().toString(36).slice(-2) + Math.floor(Math.random() * 1e5).toString(36)), [t];\n}\nfunction Ff() {\n\tlet e = window.mathVirtualKeyboard.alphabeticLayout;\n\tif (e === \"auto\") {\n\t\tlet t = xe();\n\t\tt && (e = t.virtualLayout), (!e || e === \"auto\") && (e = {\n\t\t\tfr: \"azerty\",\n\t\t\tbe: \"azerty\",\n\t\t\tal: \"qwertz\",\n\t\t\tba: \"qwertz\",\n\t\t\tcz: \"qwertz\",\n\t\t\tde: \"qwertz\",\n\t\t\thu: \"qwertz\",\n\t\t\tsk: \"qwertz\",\n\t\t\tch: \"qwertz\"\n\t\t}[S.locale.slice(0, 2)] ?? \"qwerty\");\n\t}\n\tlet t = {\n\t\tqwerty: [\n\t\t\t\"qwertyuiop\",\n\t\t\t\" asdfghjkl \",\n\t\t\t\"^zxcvbnm~\"\n\t\t],\n\t\tazerty: [\n\t\t\t\"azertyuiop\",\n\t\t\t\"qsdfghjklm\",\n\t\t\t\"^ wxcvbn ~\"\n\t\t],\n\t\tqwertz: [\n\t\t\t\"qwertzuiop\",\n\t\t\t\" asdfghjkl \",\n\t\t\t\"^yxcvbnm~\"\n\t\t],\n\t\tdvorak: [\n\t\t\t\"^ pyfgcrl \",\n\t\t\t\"aoeuidhtns\",\n\t\t\t\"qjkxbmwvz~\"\n\t\t],\n\t\tcolemak: [\n\t\t\t\" qwfpgjluy \",\n\t\t\t\"arstdhneio\",\n\t\t\t\"^zxcvbkm~\"\n\t\t]\n\t}, n = t[e] ?? t.qwerty, r = e === \"azerty\" ? [[\n\t\t{\n\t\t\tlabel: \"1\",\n\t\t\tvariants: \"1\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"2\",\n\t\t\tshift: { latex: \"é\" },\n\t\t\tvariants: \"2\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"3\",\n\t\t\tshift: { latex: \"ù\" },\n\t\t\tvariants: \"3\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"4\",\n\t\t\tvariants: \"4\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"5\",\n\t\t\tshift: {\n\t\t\t\tlabel: \"(\",\n\t\t\t\tlatex: \"(\"\n\t\t\t},\n\t\t\tvariants: \"5\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"6\",\n\t\t\tshift: {\n\t\t\t\tlabel: \")\",\n\t\t\t\tlatex: \")\"\n\t\t\t},\n\t\t\tvariants: \"6\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"7\",\n\t\t\tshift: { latex: \"è\" },\n\t\t\tvariants: \"7\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"8\",\n\t\t\tshift: { latex: \"ê\" },\n\t\t\tvariants: \"8\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"9\",\n\t\t\tshift: { latex: \"ç\" },\n\t\t\tvariants: \"9\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"0\",\n\t\t\tshift: { latex: \"à\" },\n\t\t\tvariants: \"0\"\n\t\t}\n\t]] : [[\n\t\t{\n\t\t\tlabel: \"1\",\n\t\t\tvariants: \"1\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"2\",\n\t\t\tvariants: \"2\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"3\",\n\t\t\tvariants: \"3\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"4\",\n\t\t\tvariants: \"4\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"5\",\n\t\t\tshift: { latex: \"\\\\frac{#@}{#?}\" },\n\t\t\tvariants: \"5\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"6\",\n\t\t\tshift: { latex: \"#@^#?\" },\n\t\t\tvariants: \"6\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"7\",\n\t\t\tvariants: \"7\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"8\",\n\t\t\tshift: { latex: \"\\\\times\" },\n\t\t\tvariants: \"8\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"9\",\n\t\t\tshift: {\n\t\t\t\tlabel: \"(\",\n\t\t\t\tlatex: \"(\"\n\t\t\t},\n\t\t\tvariants: \"9\"\n\t\t},\n\t\t{\n\t\t\tlabel: \"0\",\n\t\t\tshift: {\n\t\t\t\tlabel: \")\",\n\t\t\t\tlatex: \")\"\n\t\t\t},\n\t\t\tvariants: \"0\"\n\t\t}\n\t]];\n\tfor (let t of n) {\n\t\tlet n = [];\n\t\tfor (let r of t) /[a-z]/.test(r) ? n.push({\n\t\t\tlabel: r,\n\t\t\tclass: \"hide-shift\",\n\t\t\tshift: {\n\t\t\t\tlabel: r.toUpperCase(),\n\t\t\t\tvariants: wf(r.toUpperCase()) ? r.toUpperCase() : void 0\n\t\t\t},\n\t\t\tvariants: wf(r) ? r : void 0\n\t\t}) : r === \"~\" ? e === \"dvorak\" ? n.push({\n\t\t\tlabel: \"[backspace]\",\n\t\t\twidth: 1\n\t\t}) : n.push(\"[backspace]\") : r === \"^\" ? n.push(\"[shift]\") : r === \" \" && n.push(\"[separator-5]\");\n\t\tr.push(n);\n\t}\n\treturn r.push([\n\t\t\"[-]\",\n\t\t\"[+]\",\n\t\t\"[=]\",\n\t\t{\n\t\t\tlabel: \" \",\n\t\t\twidth: 1.5\n\t\t},\n\t\t{\n\t\t\tlabel: \",\",\n\t\t\tshift: \";\",\n\t\t\tvariants: \".\",\n\t\t\tclass: \"hide-shift\"\n\t\t},\n\t\t\"[.]\",\n\t\t\"[left]\",\n\t\t\"[right]\",\n\t\t{\n\t\t\tlabel: \"[action]\",\n\t\t\twidth: 1.5\n\t\t}\n\t]), {\n\t\tlabel: \"abc\",\n\t\tlabelClass: \"MLK__tex-math\",\n\t\ttooltip: \"keyboard.tooltip.alphabetic\",\n\t\tlayers: Pf({ rows: r })\n\t};\n}\nfunction If(e) {\n\tif (e === \"alphabetic\") return Ff();\n\tif (typeof e == \"string\") return vf[e], `${e}`, If(vf[e]);\n\tlet t;\n\tif (\"rows\" in e && Array.isArray(e.rows)) {\n\t\t\"layers\" in e || \"markup\" in e;\n\t\tlet n = e, { rows: r } = n;\n\t\tt = c(s({}, u(n, [\"rows\"])), { layers: Pf({ rows: e.rows }) });\n\t} else if (\"markup\" in e && typeof e.markup == \"string\") {\n\t\tlet n = e, { markup: r } = n;\n\t\tt = c(s({}, u(n, [\"markup\"])), { layers: Pf(e.markup) });\n\t} else t = s({}, e), \"layers\" in e ? t.layers = Pf(e.layers) : console.error(\"MathLive 0.110.0: provide either a \\\"rows\\\", \\\"markup\\\" or \\\"layers\\\" property\");\n\tlet n = !1, r = !1;\n\tfor (let e of t.layers) if (e.rows) for (let t of e.rows.flat()) {\n\t\tnp(t) && (n = !0);\n\t\tlet e = t.command;\n\t\ttypeof e == \"string\" && [\n\t\t\t\"undo\",\n\t\t\t\"redo\",\n\t\t\t\"cut\",\n\t\t\t\"copy\",\n\t\t\t\"paste\"\n\t\t].includes(e) && (r = !0);\n\t}\n\treturn (!(\"displayShiftedKeycaps\" in e) || e.displayShiftedKeycaps === void 0) && (t.displayShiftedKeycaps = n), (!(\"displayEditToolbar\" in e) || e.displayEditToolbar === void 0) && (t.displayEditToolbar = !r), t;\n}\nfunction Lf(e, t) {\n\tlet n = \"<div class=\\\"left\\\">\";\n\tif (e.normalizedLayouts.length > 1) for (let [r, i] of e.normalizedLayouts.entries()) {\n\t\tlet e = i, a = [r === t ? \"selected\" : \"layer-switch\"];\n\t\te.tooltip && a.push(\"MLK__tooltip\"), e.labelClass && a.push(...e.labelClass.split(\" \")), n += `<div class=\"${a.join(\" \")}\"`, e.tooltip && (n += \" data-tooltip='\" + (C(e.tooltip) ?? e.tooltip) + \"' \"), r !== t && (n += `data-layer=\"${e.layers[0].id}\"`), n += `>${e.label ?? \"untitled\"}</div>`;\n\t}\n\treturn n += \"</div>\", n;\n}\nfunction Rf(e, t) {\n\tlet n = \"\";\n\tif (e.editToolbar === \"none\") return \"\";\n\tlet r = [];\n\tt.selectionIsCollapsed ? r.push(\"undo\", \"redo\", \"pasteFromClipboard\") : r.push(\"cutToClipboard\", \"copyToClipboard\", \"pasteFromClipboard\");\n\tlet i = {\n\t\tundo: `<div class='action ${t.canUndo === !1 ? \"disabled\" : \"\"}'\n data-command='\"undo\"'\n data-tooltip='${C(\"tooltip.undo\")}'>\n <svg><use xlink:href='#svg-undo' /></svg>\n </div>`,\n\t\tredo: `<div class='action ${t.canRedo === !1 ? \"disabled\" : \"\"}'\n data-command='\"redo\"'\n data-tooltip='${C(\"tooltip.redo\")}'>\n <svg><use xlink:href='#svg-redo' /></svg>\n </div>`,\n\t\tcutToClipboard: `\n <div class='action'\n data-command='\"cutToClipboard\"'\n data-tooltip='${C(\"tooltip.cut to clipboard\")}'>\n <svg><use xlink:href='#svg-cut' /></svg>\n </div>\n `,\n\t\tcopyToClipboard: `\n <div class='action'\n data-command='\"copyToClipboard\"'\n data-tooltip='${C(\"tooltip.copy to clipboard\")}'>\n <svg><use xlink:href='#svg-copy' /></svg>\n </div>\n `,\n\t\tpasteFromClipboard: `\n <div class='action'\n data-command='\"pasteFromClipboard\"'\n data-tooltip='${C(\"tooltip.paste from clipboard\")}'>\n <svg><use xlink:href='#svg-paste' /></svg>\n </div>\n `\n\t};\n\treturn n += r.map((e) => i[e]).join(\"\"), n;\n}\nfunction zf(e) {\n\tfor (let t of e) Bf(t);\n}\nfunction Bf(e) {\n\tlet t = rp.singleton;\n\tif (!t) return;\n\tlet n = {};\n\tif (!e.id) {\n\t\tif (e.hasAttribute(\"data-label\") && (n.label = e.dataset.label), e.hasAttribute(\"data-latex\") && (n.latex = e.dataset.latex), e.hasAttribute(\"data-key\") && (n.key = e.dataset.key), e.hasAttribute(\"data-insert\") && (n.insert = e.dataset.insert), e.hasAttribute(\"data-variants\") && (n.variants = e.dataset.variants), e.hasAttribute(\"data-aside\") && (n.aside = e.dataset.aside), e.className && (n.class = e.className), !n.label && !n.latex && !n.key && !n.insert && (n.latex = e.innerText, n.label = e.innerHTML), e.hasAttribute(\"data-command\")) try {\n\t\t\tn.command = JSON.parse(e.dataset.command);\n\t\t} catch (e) {\n\t\t\tconsole.warn(\"Invalid JSON in data-command attribute\", e);\n\t\t}\n\t\te.id = t.registerKeycap(n);\n\t}\n\tif (!e.innerHTML) {\n\t\tlet [t, r] = qf(n);\n\t\te.innerHTML = globalThis.MathfieldElement.createHTML(t);\n\t}\n}\nfunction Vf() {\n\ttl(\"virtual-keyboard\"), tl(\"core\"), Yd();\n}\nfunction Hf() {\n\tnl(\"core\"), nl(\"virtual-keyboard\");\n}\nvar Uf = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" style=\\\"display: none;\\\">\\n\\n<symbol id=\\\"svg-delete-backward\\\" viewBox=\\\"0 0 576 512\\\">\\n <path d=\\\"M432.1 208.1L385.9 256L432.1 303C442.3 312.4 442.3 327.6 432.1 336.1C423.6 346.3 408.4 346.3 399 336.1L352 289.9L304.1 336.1C295.6 346.3 280.4 346.3 271 336.1C261.7 327.6 261.7 312.4 271 303L318.1 256L271 208.1C261.7 199.6 261.7 184.4 271 175C280.4 165.7 295.6 165.7 304.1 175L352 222.1L399 175C408.4 165.7 423.6 165.7 432.1 175C442.3 184.4 442.3 199.6 432.1 208.1V208.1zM512 64C547.3 64 576 92.65 576 128V384C576 419.3 547.3 448 512 448H205.3C188.3 448 172 441.3 160 429.3L9.372 278.6C3.371 272.6 0 264.5 0 256C0 247.5 3.372 239.4 9.372 233.4L160 82.75C172 70.74 188.3 64 205.3 64L512 64zM528 128C528 119.2 520.8 112 512 112H205.3C201 112 196.9 113.7 193.9 116.7L54.63 256L193.9 395.3C196.9 398.3 201 400 205.3 400H512C520.8 400 528 392.8 528 384V128z\\\"/>\\n</symbol>\\n\\n<symbol id=\\\"svg-shift\\\" viewBox=\\\"0 0 384 512\\\">\\n <path d=\\\"M2.438 252.3C7.391 264.2 19.06 272 32 272h80v160c0 26.51 21.49 48 48 48h64C250.5 480 272 458.5 272 432v-160H352c12.94 0 24.61-7.797 29.56-19.75c4.953-11.97 2.219-25.72-6.938-34.88l-160-176C208.4 35.13 200.2 32 192 32S175.6 35.13 169.4 41.38l-160 176C.2188 226.5-2.516 240.3 2.438 252.3zM192 86.63L313.4 224H224v208H160V224H70.63L192 86.63z\\\"/>\\n</symbol>\\n\\n<symbol id=\\\"svg-commit\\\" viewBox=\\\"0 0 512 512\\\">\\n <path d=\\\"M135 432.1l-128-128C2.344 300.3 0 294.2 0 288s2.344-12.28 7.031-16.97l128-128c9.375-9.375 24.56-9.375 33.94 0s9.375 24.56 0 33.94L81.94 264H464v-208C464 42.75 474.8 32 488 32S512 42.75 512 56V288c0 13.25-10.75 24-24 24H81.94l87.03 87.03c9.375 9.375 9.375 24.56 0 33.94S144.4 442.3 135 432.1z\\\"/>\\n</symbol>\\n\\n\\n<symbol id=\\\"circle-plus\\\" viewBox=\\\"0 0 512 512\\\"><path d=\\\"M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344c0 13.3 10.7 24 24 24s24-10.7 24-24V280h64c13.3 0 24-10.7 24-24s-10.7-24-24-24H280V168c0-13.3-10.7-24-24-24s-24 10.7-24 24v64H168c-13.3 0-24 10.7-24 24s10.7 24 24 24h64v64z\\\"/></symbol>\\n\\n<symbol id=\\\"svg-command\\\" viewBox=\\\"0 0 640 512\\\">\\n <path d=\\\"M34.495 36.465l211.051 211.05c4.686 4.686 4.686 12.284 0 16.971L34.495 475.535c-4.686 4.686-12.284 4.686-16.97 0l-7.071-7.07c-4.686-4.686-4.686-12.284 0-16.971L205.947 256 10.454 60.506c-4.686-4.686-4.686-12.284 0-16.971l7.071-7.07c4.686-4.687 12.284-4.687 16.97 0zM640 468v-10c0-6.627-5.373-12-12-12H300c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h328c6.627 0 12-5.373 12-12z\\\"/>\\n</symbol>\\n\\n<symbol id=\\\"svg-undo\\\" viewBox=\\\"0 0 512 512\\\">\\n <path d=\\\"M20 8h10c6.627 0 12 5.373 12 12v110.625C85.196 57.047 165.239 7.715 256.793 8.001 393.18 8.428 504.213 120.009 504 256.396 503.786 393.181 392.834 504 256 504c-63.926 0-122.202-24.187-166.178-63.908-5.113-4.618-5.354-12.561-.482-17.433l7.069-7.069c4.503-4.503 11.749-4.714 16.482-.454C150.782 449.238 200.935 470 256 470c117.744 0 214-95.331 214-214 0-117.744-95.331-214-214-214-82.862 0-154.737 47.077-190.289 116H180c6.627 0 12 5.373 12 12v10c0 6.627-5.373 12-12 12H20c-6.627 0-12-5.373-12-12V20c0-6.627 5.373-12 12-12z\\\"/>\\n</symbol>\\n<symbol id=\\\"svg-redo\\\" viewBox=\\\"0 0 512 512\\\">\\n <path d=\\\"M492 8h-10c-6.627 0-12 5.373-12 12v110.625C426.804 57.047 346.761 7.715 255.207 8.001 118.82 8.428 7.787 120.009 8 256.396 8.214 393.181 119.166 504 256 504c63.926 0 122.202-24.187 166.178-63.908 5.113-4.618 5.354-12.561.482-17.433l-7.069-7.069c-4.503-4.503-11.749-4.714-16.482-.454C361.218 449.238 311.065 470 256 470c-117.744 0-214-95.331-214-214 0-117.744 95.331-214 214-214 82.862 0 154.737 47.077 190.289 116H332c-6.627 0-12 5.373-12 12v10c0 6.627 5.373 12 12 12h160c6.627 0 12-5.373 12-12V20c0-6.627-5.373-12-12-12z\\\"/>\\n</symbol>\\n<symbol id=\\\"svg-arrow-left\\\" viewBox=\\\"0 0 320 512\\\">\\n <path d=\\\"M206.7 464.6l-183.1-191.1C18.22 267.1 16 261.1 16 256s2.219-11.97 6.688-16.59l183.1-191.1c9.152-9.594 24.34-9.906 33.9-.7187c9.625 9.125 9.938 24.37 .7187 33.91L73.24 256l168 175.4c9.219 9.5 8.906 24.78-.7187 33.91C231 474.5 215.8 474.2 206.7 464.6z\\\"/>\\n</symbol>\\n<symbol id=\\\"svg-arrow-right\\\" viewBox=\\\"0 0 320 512\\\">\\n <path d=\\\"M113.3 47.41l183.1 191.1c4.469 4.625 6.688 10.62 6.688 16.59s-2.219 11.97-6.688 16.59l-183.1 191.1c-9.152 9.594-24.34 9.906-33.9 .7187c-9.625-9.125-9.938-24.38-.7187-33.91l168-175.4L78.71 80.6c-9.219-9.5-8.906-24.78 .7187-33.91C88.99 37.5 104.2 37.82 113.3 47.41z\\\"/>\\n</symbol>\\n<symbol id=\\\"svg-tab\\\" viewBox=\\\"0 0 448 512\\\">\\n <path d=\\\"M32 217.1c0-8.8 7.2-16 16-16h144v-93.9c0-7.1 8.6-10.7 13.6-5.7l143.5 143.1c6.3 6.3 6.3 16.4 0 22.7L205.6 410.4c-5 5-13.6 1.5-13.6-5.7v-93.9H48c-8.8 0-16-7.2-16-16v-77.7m-32 0v77.7c0 26.5 21.5 48 48 48h112v61.9c0 35.5 43 53.5 68.2 28.3l143.6-143c18.8-18.8 18.8-49.2 0-68L228.2 78.9c-25.1-25.1-68.2-7.3-68.2 28.3v61.9H48c-26.5 0-48 21.6-48 48zM436 64h-8c-6.6 0-12 5.4-12 12v360c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12z\\\"/>\\n</symbol>\\n<symbol id=\\\"svg-paste\\\" viewBox=\\\"0 0 512 512\\\"><path d=\\\"M160 32c11.6 0 21.3 8.2 23.5 19.2C185 58.6 191.6 64 199.2 64H208c8.8 0 16 7.2 16 16V96H96V80c0-8.8 7.2-16 16-16h8.8c7.6 0 14.2-5.4 15.7-12.8C138.7 40.2 148.4 32 160 32zM64 64h2.7C65 69 64 74.4 64 80V96c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V80c0-5.6-1-11-2.7-16H256c17.7 0 32 14.3 32 32h32c0-35.3-28.7-64-64-64H210.6c-9-18.9-28.3-32-50.6-32s-41.6 13.1-50.6 32H64C28.7 32 0 60.7 0 96V384c0 35.3 28.7 64 64 64H192V416H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM288 480c-17.7 0-32-14.3-32-32V192c0-17.7 14.3-32 32-32h96v56c0 22.1 17.9 40 40 40h56V448c0 17.7-14.3 32-32 32H288zM416 165.3L474.7 224H424c-4.4 0-8-3.6-8-8V165.3zM448 512c35.3 0 64-28.7 64-64V235.9c0-12.7-5.1-24.9-14.1-33.9l-59.9-59.9c-9-9-21.2-14.1-33.9-14.1H288c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H448z\\\"/></symbol>\\n<symbol id=\\\"svg-cut\\\" viewBox=\\\"0 0 512 512\\\"><path d=\\\"M485.6 444.2L333.6 314.9C326.9 309.2 326.1 299.1 331.8 292.4C337.5 285.6 347.6 284.8 354.4 290.5L506.4 419.8C513.1 425.5 513.9 435.6 508.2 442.4C502.5 449.1 492.4 449.9 485.6 444.2zM485.7 67.76C492.5 62.07 502.5 62.94 508.2 69.69C513.9 76.45 513.1 86.55 506.3 92.24L208.5 343.1C218.3 359.7 224 379.2 224 400C224 461.9 173.9 512 112 512C50.14 512 0 461.9 0 400C0 338.1 50.14 288 112 288C141.5 288 168.4 299.4 188.4 318.1L262.2 256L188.4 193.9C168.4 212.6 141.5 224 112 224C50.14 224 0 173.9 0 112C0 50.14 50.14 0 112 0C173.9 0 224 50.14 224 112C224 132.8 218.3 152.3 208.5 168.9L287 235.1L485.7 67.76zM32 112C32 156.2 67.82 192 112 192C156.2 192 192 156.2 192 112C192 67.82 156.2 32 112 32C67.82 32 32 67.82 32 112zM112 480C156.2 480 192 444.2 192 400C192 355.8 156.2 320 112 320C67.82 320 32 355.8 32 400C32 444.2 67.82 480 112 480z\\\"/></symbol>\\n<symbol id=\\\"svg-copy\\\" viewBox=\\\"0 0 512 512\\\"><path d=\\\"M272 416C263.2 416 256 423.2 256 432V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V192c0-17.67 14.33-32 32-32h112C184.8 160 192 152.8 192 144C192 135.2 184.8 128 176 128H63.99c-35.35 0-64 28.65-64 64l.0098 256C0 483.3 28.65 512 64 512h160c35.35 0 64-28.65 64-64v-16C288 423.2 280.8 416 272 416zM502.6 86.63l-77.25-77.25C419.4 3.371 411.2 0 402.7 0H288C252.7 0 224 28.65 224 64v256c0 35.35 28.65 64 64 64h160c35.35 0 64-28.65 64-64V109.3C512 100.8 508.6 92.63 502.6 86.63zM416 45.25L466.7 96H416V45.25zM480 320c0 17.67-14.33 32-32 32h-160c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h96l.0026 64c0 17.67 14.33 32 32 32H480V320z\\\"/>\\n</symbol>\\n<symbol id=\\\"svg-angle-double-right\\\" viewBox=\\\"0 0 512 512\\\"><path d=\\\"M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z\\\"/>\\n</symbol>\\n<symbol id=\\\"svg-angle-double-left\\\" viewBox=\\\"0 0 512 512\\\"><path d=\\\"M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z\\\"/>\\n</symbol>\\n<symbol id=\\\"svg-trash\\\" viewBox=\\\"0 0 448 512\\\">\\n <path d=\\\"M336 64l-33.6-44.8C293.3 7.1 279.1 0 264 0h-80c-15.1 0-29.3 7.1-38.4 19.2L112 64H24C10.7 64 0 74.7 0 88v2c0 3.3 2.7 6 6 6h26v368c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V96h26c3.3 0 6-2.7 6-6v-2c0-13.3-10.7-24-24-24h-88zM184 32h80c5 0 9.8 2.4 12.8 6.4L296 64H152l19.2-25.6c3-4 7.8-6.4 12.8-6.4zm200 432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V96h320v368zm-176-44V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm-80 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zm160 0V156c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v264c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12z\\\"/>\\n</symbol>\\n<symbol id=\\\"svg-keyboard-down\\\" viewBox=\\\"0 0 576 512\\\"><path d=\\\"M64 48c-8.8 0-16 7.2-16 16V240c0 8.8 7.2 16 16 16H512c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H64zM0 64C0 28.7 28.7 0 64 0H512c35.3 0 64 28.7 64 64V240c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM159 359c9.4-9.4 24.6-9.4 33.9 0l95 95 95-95c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L305 505c-4.5 4.5-10.6 7-17 7s-12.5-2.5-17-7L159 393c-9.4-9.4-9.4-24.6 0-33.9zm1-167c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V192zM120 88h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H120c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H200c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H280c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16zm64 16c0-8.8 7.2-16 16-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H360c-8.8 0-16-7.2-16-16V104zm96-16h16c8.8 0 16 7.2 16 16v16c0 8.8-7.2 16-16 16H440c-8.8 0-16-7.2-16-16V104c0-8.8 7.2-16 16-16z\\\"/></symbol>\\n</svg>\";\nfunction Wf(e) {\n\te.resetKeycapRegistry(), Vf();\n\tlet t = document.createElement(\"div\");\n\tt.className = \"ML__keyboard\";\n\tlet n = document.createElement(\"div\");\n\tn.className = \"MLK__plate\", n.innerHTML = globalThis.MathfieldElement.createHTML(Uf + e.normalizedLayouts.map((t, n) => Gf(e, t, n)).join(\"\"));\n\tlet r = document.createElement(\"div\");\n\tr.className = \"MLK__backdrop\", r.appendChild(n), t.appendChild(r), t.addEventListener(\"pointerdown\", Zf, { passive: !1 });\n\tlet i = t.querySelectorAll(\".ML__edit-toolbar\");\n\tif (i) for (let t of i) t.addEventListener(\"click\", (t) => {\n\t\tlet n = t.target, r = \"\";\n\t\tfor (; n && !r;) r = n?.getAttribute(\"data-command\") ?? \"\", n = n?.parentElement ?? null;\n\t\tr && e.executeCommand(JSON.parse(r));\n\t});\n\tzf(t.querySelectorAll(\".MLK__keycap, .action, .fnbutton, .bigfnbutton\"));\n\tlet a = t.querySelectorAll(\".MLK__layer\");\n\ta.length;\n\tfor (let e of a) e.addEventListener(\"pointerdown\", (e) => e.preventDefault());\n\treturn e.currentLayer = e.latentLayer, t;\n}\nfunction Gf(e, t, n) {\n\tvar r;\n\tlet i = [];\n\tif (!(\"layers\" in t)) return \"\";\n\tfor (let a of t.layers) i.push(`<div tabindex=\"-1\" class=\"MLK__layer\" id=\"${a.id}\">`), (e.normalizedLayouts.length > 1 || t.displayEditToolbar) && (i.push(\"<div class='MLK__toolbar' role='toolbar'>\"), i.push(Lf(e, n)), ((r = t.displayEditToolbar) == null || r) && i.push(\"<div class=\\\"ML__edit-toolbar right\\\"></div>\"), i.push(\"</div>\")), i.push(Kf(e, a)), i.push(\"</div>\");\n\treturn i.join(\"\");\n}\nfunction Kf(e, t) {\n\tif (typeof t == \"string\") return t;\n\tlet n = \"\";\n\tif (typeof t.style == \"string\" ? n += `<style>${t.style}</style>` : typeof t.style == \"object\" && (n += `<style>${Df(t.style)}</style>`), t.backdrop && (n += `<div class='${t.backdrop}'>`), t.container && (n += `<div class='${t.container}'>`), t.rows) {\n\t\tn += \"<div class=MLK__rows>\";\n\t\tfor (let r of t.rows) {\n\t\t\tn += \"<div dir=\\\"ltr\\\" class=MLK__row>\";\n\t\t\tfor (let t of r) if (t) {\n\t\t\t\tlet r = e.registerKeycap(t), [i, a] = qf(t);\n\t\t\t\t/(^|\\s)separator/.test(a) ? n += `<div class=\"${a}\"` : n += `<div tabindex=\"-1\" id=\"${r}\" class=\"${a}\"`, t.tooltip && (n += ` data-tooltip=\"${kf(t.tooltip)}\"`);\n\t\t\t\tlet o = jf(t);\n\t\t\t\to && (n += ` aria-label=\"${kf(o)}\"`);\n\t\t\t\tlet s = Mf(t.command);\n\t\t\t\ts && (n += ` data-command=\"${kf(s)}\"`);\n\t\t\t\tlet c = Nf(t);\n\t\t\t\tc && (n += ` data-keycap-value=\"${kf(c)}\"`), n += `>${i}</div>`;\n\t\t\t}\n\t\t\tn += \"</div>\";\n\t\t}\n\t\tn += \"</div>\";\n\t} else t.markup && (n += t.markup);\n\treturn t.container && (n += \"</div>\"), t.backdrop && (n += \"</div>\"), n;\n}\nfunction qf(e, t = { shifted: !1 }) {\n\tlet n = \"\", r = e.class ?? \"\";\n\tif (t.shifted && np(e) && (r += \" is-active\"), t.shifted && \"shift\" in e) typeof e.shift == \"string\" ? n = Of(e.shift) : typeof e.shift == \"object\" && (n = e.shift.label ? e.shift.label : (Of(e.shift.latex || e.shift.insert || \"\") || e.shift.key) ?? \"\"), typeof e.shift == \"object\" && (r = e.shift.class ?? e.class ?? \"\");\n\telse {\n\t\tif (n = e.label ? e.label : (Of(e.latex || e.insert || \"\") || e.key) ?? \"\", e.shift) {\n\t\t\tlet t;\n\t\t\tt = typeof e.shift == \"string\" ? Of(e.shift) : e.shift.label ? e.shift.label : (Of(e.shift.latex || e.shift.insert || \"\") || e.shift.key) ?? \"\", n += `<span class=\"MLK__shift\">${t}</span>`;\n\t\t}\n\t\te.aside && (n += `<aside>${e.aside}</aside>`);\n\t}\n\treturn e.layer && !/layer-switch/.test(r) && (r += \" layer-switch\"), /(^|\\s)(separator|action|shift|fnbutton|bigfnbutton)($|\\s)/.test(r) || (r += \" MLK__keycap\"), !/\\bw[0-9]+\\b/.test(r) && e.width && (r += {\n\t\t0: \" w0\",\n\t\t.5: \" w5\",\n\t\t1.5: \" w15\",\n\t\t2: \" w20\",\n\t\t5: \" w50\"\n\t}[e.width] ?? \"\"), [n, r || \"MLK__keycap\"];\n}\nvar Jf = {\n\t\"[left]\": {\n\t\tclass: \"action hide-shift\",\n\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-arrow-left /></svg>\",\n\t\tcommand: \"performWithFeedback(moveToPreviousChar)\",\n\t\tshift: {\n\t\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-angle-double-left /></svg>\",\n\t\t\tcommand: \"performWithFeedback(extendSelectionBackward)\"\n\t\t}\n\t},\n\t\"[right]\": {\n\t\tclass: \"action hide-shift\",\n\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-arrow-right /></svg>\",\n\t\tcommand: \"performWithFeedback(moveToNextChar)\",\n\t\tshift: {\n\t\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-angle-double-right /></svg>\",\n\t\t\tcommand: \"performWithFeedback(extendSelectionForward)\"\n\t\t}\n\t},\n\t\"[up]\": {\n\t\tclass: \"action hide-shift\",\n\t\tlabel: \"↑\",\n\t\tcommand: \"performWithFeedback(moveUp)\",\n\t\tshift: {\n\t\t\tlabel: \"↟\",\n\t\t\tcommand: \"performWithFeedback(extendSelectionUpward)\"\n\t\t}\n\t},\n\t\"[down]\": {\n\t\tclass: \"action hide-shift\",\n\t\tlabel: \"↓\",\n\t\tcommand: \"performWithFeedback(moveDown)\",\n\t\tshift: {\n\t\t\tlabel: \"↡\",\n\t\t\tcommand: \"performWithFeedback(extendSelectionDownward)\"\n\t\t}\n\t},\n\t\"[return]\": {\n\t\tclass: \"action hide-shift\",\n\t\tcommand: \"performWithFeedback(commit)\",\n\t\tshift: { command: \"performWithFeedback(addRowAfter)\" },\n\t\twidth: 1.5,\n\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>\"\n\t},\n\t\"[action]\": {\n\t\tclass: \"action hide-shift\",\n\t\tcommand: \"performWithFeedback(commit)\",\n\t\tshift: {\n\t\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#circle-plus /></svg>\",\n\t\t\tcommand: \"performWithFeedback(addRowAfter)\"\n\t\t},\n\t\twidth: 1.5,\n\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-commit /></svg>\"\n\t},\n\t\"[hr]\": { class: \"separator horizontal-rule\" },\n\t\"[hide-keyboard]\": {\n\t\tclass: \"action\",\n\t\tcommand: [\"hideVirtualKeyboard\"],\n\t\twidth: 1.5,\n\t\tlabel: \"<svg class=svg-glyph-lg><use xlink:href=#svg-keyboard-down /></svg>\"\n\t},\n\t\"[.]\": {\n\t\tvariants: \".\",\n\t\tcommand: \"performWithFeedback(insertDecimalSeparator)\",\n\t\tshift: \",\",\n\t\tclass: \"big-op hide-shift\",\n\t\tlabel: \".\"\n\t},\n\t\"[,]\": {\n\t\tvariants: \",\",\n\t\tcommand: \"performWithFeedback(insertDecimalSeparator)\",\n\t\tshift: \".\",\n\t\tclass: \"big-op hide-shift\",\n\t\tlabel: \",\"\n\t},\n\t\"[+]\": {\n\t\tvariants: [{\n\t\t\tlatex: \"\\\\sum_{#0}^{#0}\",\n\t\t\tclass: \"small\"\n\t\t}, \"\\\\oplus\"],\n\t\tlatex: \"+\",\n\t\tlabel: \"+\",\n\t\tclass: \"big-op hide-shift\",\n\t\tshift: {\n\t\t\tlatex: \"\\\\sum\",\n\t\t\tinsert: \"\\\\sum\",\n\t\t\tclass: \"small\"\n\t\t}\n\t},\n\t\"[-]\": {\n\t\tvariants: [\"\\\\pm\", \"\\\\ominus\"],\n\t\tlatex: \"-\",\n\t\tlabel: \"−\",\n\t\tshift: \"\\\\pm\",\n\t\tclass: \"big-op hide-shift\"\n\t},\n\t\"[/]\": {\n\t\tclass: \"big-op hide-shift\",\n\t\tshift: {\n\t\t\tclass: \"\",\n\t\t\tlatex: \"\\\\frac{1}{#@}\"\n\t\t},\n\t\tvariants: [\n\t\t\t\"/\",\n\t\t\t\"\\\\div\",\n\t\t\t\"\\\\%\",\n\t\t\t\"\\\\oslash\"\n\t\t],\n\t\tlatex: \"\\\\frac{#@}{#?}\",\n\t\tlabel: \"÷\"\n\t},\n\t\"[*]\": {\n\t\tvariants: [\n\t\t\t{\n\t\t\t\tlatex: \"\\\\prod_{#0}^{#0}\",\n\t\t\t\tclass: \"small\"\n\t\t\t},\n\t\t\t\"\\\\otimes\",\n\t\t\t\"\\\\cdot\"\n\t\t],\n\t\tlatex: \"\\\\cdot\",\n\t\tlabel: \"×\",\n\t\tshift: { latex: \"\\\\times\" },\n\t\tclass: \"big-op hide-shift\"\n\t},\n\t\"[=]\": {\n\t\tvariants: [\n\t\t\t\"\\\\neq\",\n\t\t\t\"\\\\equiv\",\n\t\t\t\"\\\\varpropto\",\n\t\t\t\"\\\\thickapprox\",\n\t\t\t\"\\\\lt\",\n\t\t\t\"\\\\gt\",\n\t\t\t\"\\\\le\",\n\t\t\t\"\\\\ge\"\n\t\t],\n\t\tlatex: \"=\",\n\t\tlabel: \"=\",\n\t\tshift: {\n\t\t\tlabel: \"≠\",\n\t\t\tlatex: \"\\\\ne\"\n\t\t},\n\t\tclass: \"big-op hide-shift\"\n\t},\n\t\"[backspace]\": {\n\t\tclass: \"action bottom right hide-shift\",\n\t\twidth: 1.5,\n\t\tcommand: \"performWithFeedback(deleteBackward)\",\n\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-delete-backward /></svg>\",\n\t\tshift: {\n\t\t\tclass: \"action warning\",\n\t\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-trash /></svg>\",\n\t\t\tcommand: \"deleteAll\"\n\t\t}\n\t},\n\t\"[undo]\": {\n\t\tclass: \"ghost if-can-undo\",\n\t\tcommand: \"undo\",\n\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-undo /></svg>\",\n\t\ttooltip: \"tooltip.undo\"\n\t},\n\t\"[redo]\": {\n\t\tclass: \"ghost if-can-redo\",\n\t\tcommand: \"redo\",\n\t\tlabel: \"<svg class=svg-glyph><use xlink:href=#svg-redo /></svg>\",\n\t\ttooltip: \"tooltip.redo\"\n\t},\n\t\"[(]\": {\n\t\tvariants: [\n\t\t\t{\n\t\t\t\tlatex: \"\\\\lbrack\",\n\t\t\t\tkey: \"[\"\n\t\t\t},\n\t\t\t\"\\\\langle\",\n\t\t\t\"\\\\lfloor\",\n\t\t\t\"\\\\lceil\",\n\t\t\t{\n\t\t\t\tlatex: \"\\\\lbrace\",\n\t\t\t\tkey: \"{\"\n\t\t\t}\n\t\t],\n\t\tkey: \"(\",\n\t\tlabel: \"(\",\n\t\tshift: {\n\t\t\tlabel: \"[\",\n\t\t\tkey: \"[\"\n\t\t},\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[)]\": {\n\t\tvariants: [\n\t\t\t{\n\t\t\t\tlatex: \"\\\\rbrack\",\n\t\t\t\tkey: \"]\"\n\t\t\t},\n\t\t\t\"\\\\rangle\",\n\t\t\t\"\\\\rfloor\",\n\t\t\t\"\\\\rceil\",\n\t\t\t{\n\t\t\t\tlatex: \"\\\\rbrace\",\n\t\t\t\tkey: \"}\"\n\t\t\t}\n\t\t],\n\t\tkey: \")\",\n\t\tlabel: \")\",\n\t\tshift: {\n\t\t\tlabel: \"]\",\n\t\t\tlatex: \"\\\\rbrack\"\n\t\t},\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[0]\": {\n\t\tvariants: \"0\",\n\t\tlatex: \"0\",\n\t\tlabel: \"0\",\n\t\tshift: \"\\\\infty\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[1]\": {\n\t\tvariants: \"1\",\n\t\tlatex: \"1\",\n\t\tlabel: \"1\",\n\t\tshift: \"#@^{-1}\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[2]\": {\n\t\tvariants: \"2\",\n\t\tlatex: \"2\",\n\t\tlabel: \"2\",\n\t\tshift: \"#@^2\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[3]\": {\n\t\tvariants: \"3\",\n\t\tlatex: \"3\",\n\t\tlabel: \"3\",\n\t\tshift: \"#@^3\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[4]\": {\n\t\tvariants: \"4\",\n\t\tlatex: \"4\",\n\t\tlabel: \"4\",\n\t\tshift: \"#@^4\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[5]\": {\n\t\tvariants: \"5\",\n\t\tlatex: \"5\",\n\t\tlabel: \"5\",\n\t\tshift: \"#@^5\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[6]\": {\n\t\tvariants: \"6\",\n\t\tlatex: \"6\",\n\t\tlabel: \"6\",\n\t\tshift: \"#@^6\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[7]\": {\n\t\tvariants: \"7\",\n\t\tlatex: \"7\",\n\t\tlabel: \"7\",\n\t\tshift: \"#@^7\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[8]\": {\n\t\tvariants: \"8\",\n\t\tlatex: \"8\",\n\t\tlabel: \"8\",\n\t\tshift: \"#@^8\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[9]\": {\n\t\tvariants: \"9\",\n\t\tlatex: \"9\",\n\t\tlabel: \"9\",\n\t\tshift: \"#@^9\",\n\t\tclass: \"hide-shift\"\n\t},\n\t\"[separator-5]\": {\n\t\tclass: \"separator\",\n\t\twidth: .5\n\t},\n\t\"[separator]\": { class: \"separator\" },\n\t\"[separator-10]\": { class: \"separator\" },\n\t\"[separator-15]\": {\n\t\tclass: \"separator\",\n\t\twidth: 1.5\n\t},\n\t\"[separator-20]\": {\n\t\tclass: \"separator\",\n\t\twidth: 2\n\t},\n\t\"[separator-50]\": {\n\t\tclass: \"separator\",\n\t\twidth: 5\n\t},\n\t\"[shift]\": {\n\t\tclass: \"shift bottom left\",\n\t\twidth: 1.5,\n\t\tlabel: \"<span class=caps-lock-indicator></span><svg class=svg-glyph><use xlink:href=#svg-shift /></svg>\"\n\t},\n\t\"[foreground-color]\": {\n\t\tvariants: \"foreground-color\",\n\t\tcommand: [\"applyStyle\", { color: \"red\" }],\n\t\tlabel: \"<span style='border-radius: 50%;width:22px;height:22px; border: 3px solid #cc2428; box-sizing: border-box'>\"\n\t},\n\t\"[background-color]\": {\n\t\tvariants: \"background-color\",\n\t\tcommand: [\"applyStyle\", { backgroundColor: \"yellow\" }],\n\t\tlabel: \"<span style='border-radius: 50%;width:22px;height:22px; background:#fff590; box-sizing: border-box'></span>\"\n\t}\n};\nfunction Yf(e) {\n\tif (typeof e == \"string\") {\n\t\tif (e === \"[.]\" && globalThis.MathfieldElement.decimalSeparator === \",\" && (e = \"[,]\"), !Jf[e]) return { latex: e };\n\t\te = { label: e };\n\t}\n\tlet t;\n\treturn \"label\" in e && e.label && Jf[e.label] && (t = c(s(s({}, Jf[e.label]), e), { label: Jf[e.label].label })), \"key\" in e && e.key && Jf[e.key] && (t = c(s(s({}, Jf[e.key]), e), { key: Jf[e.key].key })), t ? (t.command === \"insertDecimalSeparator\" && (t.label = globalThis.MathfieldElement.decimalSeparator ?? \".\"), (t.tooltip === void 0 || t.tooltip === null || t.tooltip === !1) && delete t.tooltip, (t.tooltip === void 0 || t.tooltip === null || t.tooltip === !1) && delete t.tooltip, (t.aside === void 0 || t.aside === null || t.aside === !1) && delete t.aside, (t.variants === void 0 || t.variants === null || t.variants === !1) && delete t.variants, (t.shift === void 0 || t.shift === null || t.shift === !1) && delete t.shift, t) : e;\n}\nvar Xf;\nfunction Zf(e) {\n\tif (e.button !== 0) return;\n\tlet t = rp.singleton;\n\tif (!t) return;\n\tlet n = e.target;\n\tfor (; n && !n.getAttribute(\"data-layer\");) n = n.parentElement;\n\tif (n) {\n\t\tt.currentLayer = n.getAttribute(\"data-layer\") ?? \"\", e.preventDefault();\n\t\treturn;\n\t}\n\tlet r = tp(e.target);\n\tif (!(r != null && r.id)) return;\n\tlet i = t.getKeycap(r.id);\n\tif (!i) return;\n\te.type;\n\tlet a = t;\n\tif (!a.connectedMathfieldWindow) {\n\t\tlet e = window.focusedMathfield?.call(window);\n\t\tif (e) {\n\t\t\tlet t = e.element?.ownerDocument?.defaultView;\n\t\t\tt && t !== window && (a.connectedMathfieldWindow = t);\n\t\t}\n\t}\n\tlet o = new AbortController(), s = o.signal;\n\tr.classList.add(\"is-pressed\"), r.addEventListener(\"pointerenter\", Qf(o), {\n\t\tcapture: !0,\n\t\tsignal: s\n\t}), r.addEventListener(\"pointerleave\", Qf(o), {\n\t\tcapture: !0,\n\t\tsignal: s\n\t}), r.addEventListener(\"pointercancel\", Qf(o), { signal: s }), r.addEventListener(\"pointerup\", Qf(o), { signal: s }), np(i) && (r.classList.add(\"is-active\"), t.shiftPressCount++), i.variants && (Xf && clearTimeout(Xf), Xf = setTimeout(() => {\n\t\tr.classList.contains(\"is-pressed\") && (r.classList.remove(\"is-pressed\"), r.classList.add(\"is-active\"), e.target && \"releasePointerCapture\" in e.target && e.target.releasePointerCapture(e.pointerId), xf(r, () => {\n\t\t\to.abort(), r?.classList.remove(\"is-active\");\n\t\t}));\n\t}, i.stickyVariantPanel ? 0 : 300)), e.preventDefault();\n}\nfunction Qf(e) {\n\treturn (t) => {\n\t\tlet n = tp(t.target);\n\t\tif (!(n != null && n.id)) return;\n\t\tlet r = rp.singleton;\n\t\tif (!r) return;\n\t\tlet i = r.getKeycap(n.id);\n\t\tif (i) {\n\t\t\tif (t.type === \"pointerenter\" && t.target === n && t.isPrimary && n.classList.add(\"is-pressed\"), t.type === \"pointercancel\") {\n\t\t\t\tn.classList.remove(\"is-pressed\"), np(i) && (r.shiftPressCount--, n.classList.toggle(\"is-active\", r.isShifted)), e.abort();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (t.type === \"pointerleave\" && t.target === n) {\n\t\t\t\tn.classList.remove(\"is-pressed\"), np(i) && (r.shiftPressCount--, n.classList.toggle(\"is-active\", r.isShifted));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (t.type === \"pointerup\") {\n\t\t\t\tXf && clearTimeout(Xf), np(i) ? n.classList.toggle(\"is-active\", r.isShifted) : n.classList.contains(\"is-pressed\") && (n.classList.remove(\"is-pressed\"), r.isShifted && i.shift ? typeof i.shift == \"string\" ? r.executeCommand([\n\t\t\t\t\t\"insert\",\n\t\t\t\t\ti.shift,\n\t\t\t\t\t{\n\t\t\t\t\t\tfocus: !0,\n\t\t\t\t\t\tfeedback: !0,\n\t\t\t\t\t\tscrollIntoView: !0,\n\t\t\t\t\t\tmode: \"math\",\n\t\t\t\t\t\tformat: \"latex\"\n\t\t\t\t\t}\n\t\t\t\t]) : $f(i.shift) : $f(i), r.shiftPressCount === 1 && !t.shiftKey && (r.shiftPressCount = 0)), e.abort(), t.preventDefault();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t};\n}\nfunction $f(e) {\n\tlet t = e.command;\n\t!t && e.insert && (t = [\n\t\t\"insert\",\n\t\te.insert,\n\t\t{\n\t\t\tfocus: !0,\n\t\t\tfeedback: !0,\n\t\t\tscrollIntoView: !0,\n\t\t\tmode: \"math\",\n\t\t\tformat: \"latex\"\n\t\t}\n\t]), !t && e.key && (t = [\n\t\t\"typedText\",\n\t\te.key,\n\t\t{\n\t\t\tfocus: !0,\n\t\t\tfeedback: !0,\n\t\t\tsimulateKeystroke: !0\n\t\t}\n\t]), !t && e.latex && (t = [\n\t\t\"insert\",\n\t\te.latex,\n\t\t{\n\t\t\tfocus: !0,\n\t\t\tfeedback: !0,\n\t\t\tscrollIntoView: !0,\n\t\t\tmode: \"math\",\n\t\t\tformat: \"latex\"\n\t\t}\n\t]), t || (t = [\n\t\t\"typedText\",\n\t\te.label,\n\t\t{\n\t\t\tfocus: !0,\n\t\t\tfeedback: !0,\n\t\t\tsimulateKeystroke: !0\n\t\t}\n\t]), rp.singleton && rp.singleton.executeCommand(t);\n}\nfunction ep(e) {\n\tif (e.nodeType !== 1) return !1;\n\tlet t = e.classList;\n\treturn t.contains(\"MLK__keycap\") || t.contains(\"shift\") || t.contains(\"action\") || t.contains(\"fnbutton\") || t.contains(\"bigfnbutton\");\n}\nfunction tp(e) {\n\tif (!e) return;\n\tlet t = e;\n\tfor (; t && !ep(t);) t = t.parentElement;\n\treturn t ?? void 0;\n}\nfunction np(e) {\n\treturn !!e.class && /(^|\\s)shift($|\\s)/.test(e.class);\n}\nvar rp = class e {\n\tconstructor() {\n\t\tthis.originalContainerBottomPadding = null, this.keycapRegistry = {}, this._shiftPressCount = 0, this.isSandbox = !1;\n\t\tvar e;\n\t\tthis.targetOrigin = window.origin, this.originValidator = \"none\", this._alphabeticLayout = \"auto\", this._layouts = Object.freeze([\"default\"]), this._editToolbar = \"default\", this._container = void 0, this._visible = !1, this._rebuilding = !1, this.observer = new ResizeObserver((e) => {\n\t\t\tthis.adjustBoundingRect(), this.dispatchEvent(new Event(\"geometrychange\")), this.sendMessage(\"geometry-changed\", { boundingRect: this.boundingRect });\n\t\t}), this.listeners = {};\n\t\ttry {\n\t\t\t(e = window.top) == null || e.addEventListener(\"message\", this);\n\t\t} catch {\n\t\t\twindow.addEventListener(\"message\", this);\n\t\t}\n\t\tf() && document.addEventListener(\"focusin\", (e) => {\n\t\t\tlet t = e.target;\n\t\t\tt != null && t.isConnected && setTimeout(() => {\n\t\t\t\tlet e = ip();\n\t\t\t\te && e.mathVirtualKeyboardPolicy === \"auto\" && e.hasEditableContent && this.show({ animate: !0 });\n\t\t\t}, 300);\n\t\t}), document.addEventListener(\"focusout\", (e) => {\n\t\t\te.target instanceof A_ && e.target.mathVirtualKeyboardPolicy !== \"manual\" && setTimeout(() => {\n\t\t\t\tip() || this.hide();\n\t\t\t}, 300);\n\t\t});\n\t}\n\tget currentLayer() {\n\t\treturn this._element?.querySelector(\".MLK__layer.is-visible\")?.id ?? \"\";\n\t}\n\tset currentLayer(e) {\n\t\tvar t;\n\t\tif (!this._element) {\n\t\t\tthis.latentLayer = e;\n\t\t\treturn;\n\t\t}\n\t\tlet n = e ? this._element.querySelector(`#${e}.MLK__layer`) : null;\n\t\tn || (n = this._element.querySelector(\".MLK__layer\")), n && ((t = this._element.querySelector(\".MLK__layer.is-visible\")) == null || t.classList.remove(\"is-visible\"), n.classList.add(\"is-visible\")), this.render();\n\t}\n\tget shiftPressCount() {\n\t\treturn this._shiftPressCount;\n\t}\n\tset shiftPressCount(e) {\n\t\tvar t;\n\t\tthis._shiftPressCount = e > 2 || e < 0 ? 0 : e, (t = this._element) == null || t.classList.toggle(\"is-caps-lock\", this.shiftPressCount === 2), this.render();\n\t}\n\tget isShifted() {\n\t\treturn this._shiftPressCount > 0;\n\t}\n\tresetKeycapRegistry() {\n\t\tthis.keycapRegistry = {};\n\t}\n\tregisterKeycap(e) {\n\t\tlet t = \"ML__k\" + Date.now().toString(36).slice(-2) + Math.floor(Math.random() * 1e5).toString(36);\n\t\treturn this.keycapRegistry[t] = e, t;\n\t}\n\tsetKeycap(e, t) {\n\t\tJf[e] = Yf(t), this.rebuild();\n\t}\n\tgetKeycap(e) {\n\t\treturn e ? Jf[e] ?? this.keycapRegistry[e] : void 0;\n\t}\n\tgetLayer(e) {\n\t\tlet t = this.normalizedLayouts;\n\t\tfor (let n of t) for (let t of n.layers) if (t.id === e) return t;\n\t}\n\tget alphabeticLayout() {\n\t\treturn this._alphabeticLayout;\n\t}\n\tset alphabeticLayout(e) {\n\t\tthis._alphabeticLayout = e, this._normalizedLayouts = void 0, this.rebuild();\n\t}\n\tget layouts() {\n\t\treturn this._layouts;\n\t}\n\tset layouts(e) {\n\t\tthis.updateNormalizedLayouts(e), this.rebuild();\n\t}\n\tupdateNormalizedLayouts(e) {\n\t\tlet t = Array.isArray(e) ? [...e] : [e], n = t.findIndex((e) => e === \"default\");\n\t\tn >= 0 && t.splice(n, 1, \"numeric\", \"symbols\", \"alphabetic\", \"greek\"), this._layouts = Object.freeze(t), this._normalizedLayouts = t.map((e) => If(e));\n\t}\n\tget normalizedLayouts() {\n\t\treturn this._normalizedLayouts || this.updateNormalizedLayouts(this._layouts), this._normalizedLayouts;\n\t}\n\tget editToolbar() {\n\t\treturn this._editToolbar;\n\t}\n\tset editToolbar(e) {\n\t\tthis._editToolbar = e, this.rebuild();\n\t}\n\tget container() {\n\t\treturn this._container === void 0 ? window.document.body : this._container;\n\t}\n\tset container(e) {\n\t\tthis._container = e, this.rebuild();\n\t}\n\tstatic get singleton() {\n\t\tif (this._singleton === void 0) try {\n\t\t\tthis._singleton = new e();\n\t\t} catch {\n\t\t\tthis._singleton = null;\n\t\t}\n\t\treturn this._singleton;\n\t}\n\tget style() {\n\t\treturn this._style;\n\t}\n\taddEventListener(e, t, n) {\n\t\tthis.listeners[e] || (this.listeners[e] = /* @__PURE__ */ new Set()), this.listeners[e].has(t) || this.listeners[e].add(t);\n\t}\n\tdispatchEvent(e) {\n\t\treturn !this.listeners[e.type] || this.listeners[e.type].size === 0 || (this.listeners[e.type].forEach((t) => {\n\t\t\ttypeof t == \"function\" ? t(e) : t?.handleEvent(e);\n\t\t}), !e.defaultPrevented);\n\t}\n\tremoveEventListener(e, t, n) {\n\t\tthis.listeners[e] && this.listeners[e].delete(t);\n\t}\n\tget element() {\n\t\treturn this._element;\n\t}\n\tset element(e) {\n\t\tvar t;\n\t\tthis._element !== e && ((t = this._element) == null || t.remove(), this._element = e);\n\t}\n\tget visible() {\n\t\treturn this._visible;\n\t}\n\tset visible(e) {\n\t\te ? this.show() : this.hide();\n\t}\n\tget boundingRect() {\n\t\tif (!this._visible) return new DOMRect();\n\t\tlet e = this._element?.getElementsByClassName(\"MLK__plate\")[0];\n\t\treturn e ? e.getBoundingClientRect() : new DOMRect();\n\t}\n\tadjustBoundingRect() {\n\t\tif (!this._element) return;\n\t\tlet e = this.boundingRect.height;\n\t\tif (this.container === document.body) {\n\t\t\tthis._element.style.setProperty(\"--_keyboard-height\", `calc(${e}px + var(--_padding-top) + var(--_padding-bottom))`);\n\t\t\tlet t = e - 1;\n\t\t\tthis.container.style.paddingBottom = this.originalContainerBottomPadding ? `calc(${this.originalContainerBottomPadding} + ${t}px)` : `${t}px`;\n\t\t} else this._element.style.setProperty(\"--_keyboard-height\", `${e}px`);\n\t}\n\trebuild() {\n\t\tif (this._rebuilding || !this._element) return;\n\t\tthis._rebuilding = !0;\n\t\tlet e = this.currentLayer;\n\t\trequestAnimationFrame(() => {\n\t\t\tthis._rebuilding = !1, this._element && (this._element.remove(), this._element = void 0), this.visible && (this.buildAndAttachElement(), this.currentLayer = e, this.render(), this.adjustBoundingRect(), this._element.classList.add(\"is-visible\"));\n\t\t});\n\t}\n\trender() {\n\t\tvar e;\n\t\tif (!this._element) return;\n\t\tlet t = this.getLayer(this.currentLayer);\n\t\tthis._element.classList.toggle(\"backdrop-is-transparent\", !!(t && (t.backdrop || t.container)));\n\t\tlet n = this._element.querySelectorAll(\".MLK__layer.is-visible .MLK__keycap, .MLK__layer.is-visible .action, .fnbutton, .MLK__layer.is-visible .bigfnbutton, .MLK__layer.is-visible .shift\");\n\t\tif (!n) return;\n\t\tlet r = this.isShifted;\n\t\tfor (let t of n) {\n\t\t\tlet n = this.getKeycap(t.id);\n\t\t\tif (n) {\n\t\t\t\tlet [i, a] = qf(n, { shifted: r });\n\t\t\t\tt.innerHTML = globalThis.MathfieldElement.createHTML(i), t.className = a, r && typeof n.shift == \"object\" && (e = n.shift) != null && e.tooltip ? t.dataset.tooltip = n.shift.tooltip : !r && n.tooltip && (t.dataset.tooltip = n.tooltip);\n\t\t\t}\n\t\t}\n\t}\n\tshow(e) {\n\t\tvar t;\n\t\tif (this._visible) return;\n\t\tlet n = this.container;\n\t\tif (n && window.mathVirtualKeyboard && this.stateWillChange(!0)) {\n\t\t\tif (this._element || (this.buildAndAttachElement(), this.adjustBoundingRect()), !this._visible) {\n\t\t\t\tlet e = this._element.getElementsByClassName(\"MLK__plate\")[0];\n\t\t\t\tif (e && this.observer.observe(e), n === window.document.body) {\n\t\t\t\t\tlet t = n.style.paddingBottom;\n\t\t\t\t\tthis.originalContainerBottomPadding = t;\n\t\t\t\t\tlet r = e.offsetHeight - 1;\n\t\t\t\t\tn.style.paddingBottom = t ? `calc(${t} + ${r}px)` : `${r}px`;\n\t\t\t\t}\n\t\t\t\twindow.addEventListener(\"mouseup\", this), window.addEventListener(\"blur\", this), window.addEventListener(\"keydown\", this, { capture: !0 }), window.addEventListener(\"keyup\", this, { capture: !0 }), (t = this._element) == null || t.classList.toggle(\"is-caps-lock\", this.shiftPressCount === 2), this.currentLayer = this.latentLayer;\n\t\t\t}\n\t\t\tthis._visible = !0, e != null && e.animate ? requestAnimationFrame(() => {\n\t\t\t\tthis._element && (this._element.classList.add(\"animate\"), this._element.addEventListener(\"transitionend\", () => this._element?.classList.remove(\"animate\"), { once: !0 }), this._element.classList.add(\"is-visible\"), this.stateChanged());\n\t\t\t}) : (this._element.classList.add(\"is-visible\"), this.stateChanged());\n\t\t}\n\t}\n\thide(e) {\n\t\tvar t;\n\t\tlet n = this.container;\n\t\tif (n && this._visible && this.stateWillChange(!1)) {\n\t\t\tif (this._visible = !1, this._element) {\n\t\t\t\tthis.latentLayer = this.currentLayer;\n\t\t\t\tlet e = this._element.getElementsByClassName(\"MLK__plate\")[0];\n\t\t\t\te && this.observer.unobserve(e), window.removeEventListener(\"mouseup\", this), window.removeEventListener(\"blur\", this), window.removeEventListener(\"keydown\", this, { capture: !0 }), window.removeEventListener(\"keyup\", this, { capture: !0 }), window.removeEventListener(\"contextmenu\", this, { capture: !0 }), Sf(), Hf(), (t = this._element) == null || t.remove(), this._element = void 0, this.originalContainerBottomPadding !== null && (n.style.paddingBottom = this.originalContainerBottomPadding);\n\t\t\t}\n\t\t\tthis.stateChanged();\n\t\t}\n\t}\n\tget height() {\n\t\treturn this.element?.offsetHeight ?? 0;\n\t}\n\tbuildAndAttachElement() {\n\t\tvar e;\n\t\tthis.element, this.element = Wf(this), window.addEventListener(\"contextmenu\", this, { capture: !0 }), this.element.addEventListener(\"contextmenu\", (e) => {\n\t\t\te.shiftKey || ((e.ctrlKey || e.button === 2) && xf(e.target), e.preventDefault(), e.stopPropagation());\n\t\t}, { capture: !0 }), (e = this.container) == null || e.appendChild(this.element);\n\t}\n\thandleEvent(e) {\n\t\tif (gf(e)) {\n\t\t\tif (!zc(e.origin, this.originValidator)) throw new DOMException(`Message from unknown origin (${e.origin}) cannot be handled`, \"SecurityError\");\n\t\t\tif (e.data.action === \"disconnect\") {\n\t\t\t\tif (this._visible) return;\n\t\t\t\tthis.connectedMathfieldWindow = void 0;\n\t\t\t} else e.data.action !== \"update-setting\" && e.data.action !== \"proxy-created\" && e.data.action !== \"execute-command\" && (e.source, this.connectedMathfieldWindow = e.source);\n\t\t\tthis.handleMessage(e.data, e.source);\n\t\t}\n\t\tif (this._element) switch (e.type) {\n\t\t\tcase \"mouseup\":\n\t\t\tcase \"blur\":\n\t\t\t\tdocument.body.style.userSelect = \"\", this.shiftPressCount = 0;\n\t\t\t\tbreak;\n\t\t\tcase \"contextmenu\":\n\t\t\t\te.button !== 2 && e.preventDefault();\n\t\t\t\tbreak;\n\t\t\tcase \"keydown\":\n\t\t\t\te.key === \"Shift\" && !e.repeat && (this.shiftPressCount = 1);\n\t\t\t\tbreak;\n\t\t\tcase \"keyup\":\n\t\t\t\t(e.key === \"Shift\" || !e.getModifierState(\"Shift\") && this.shiftPressCount !== 2) && (this.shiftPressCount = 0);\n\t\t\t\tbreak;\n\t\t}\n\t}\n\thandleMessage(e, t) {\n\t\tlet { action: n } = e;\n\t\tif (n === \"execute-command\") {\n\t\t\tlet { command: n } = e, r = lf(n);\n\t\t\tif (window === window.top && t !== window || t === window && r !== \"virtual-keyboard\") return;\n\t\t\tthis.executeCommand(n);\n\t\t\treturn;\n\t\t}\n\t\tif ((n === \"connect\" || n === \"show\") && this.sendMessage(\"synchronize-proxy\", {\n\t\t\tboundingRect: this.boundingRect,\n\t\t\talphabeticLayout: this._alphabeticLayout,\n\t\t\tlayouts: this._layouts,\n\t\t\teditToolbar: this._editToolbar\n\t\t}, t), n !== \"disconnect\" && !this.isSandbox) {\n\t\t\tif (n === \"show\") {\n\t\t\t\te.animate === void 0 ? this.show() : this.show({ animate: e.animate });\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (n === \"hide\") {\n\t\t\t\te.animate === void 0 ? this.hide() : this.hide({ animate: e.animate });\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (n === \"update-setting\") {\n\t\t\t\tif (e.alphabeticLayout && (this.alphabeticLayout = e.alphabeticLayout), e.layouts && (this.layouts = e.layouts), e.editToolbar && (this.editToolbar = e.editToolbar), e.setKeycap) {\n\t\t\t\t\tlet { keycap: t, value: n } = e.setKeycap;\n\t\t\t\t\tthis.setKeycap(t, n), this.render();\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (n === \"proxy-created\") {\n\t\t\t\tthis.sendMessage(\"synchronize-proxy\", {\n\t\t\t\t\tboundingRect: this.boundingRect,\n\t\t\t\t\talphabeticLayout: this._alphabeticLayout,\n\t\t\t\t\tlayouts: this._layouts,\n\t\t\t\t\teditToolbar: this._editToolbar\n\t\t\t\t}, t);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\tsendMessage(e, t, n) {\n\t\tif (t.command && this.dispatchEvent(new CustomEvent(\"math-virtual-keyboard-command\", { detail: t.command })), n || (n = this.connectedMathfieldWindow), this.targetOrigin === null || this.targetOrigin === \"null\" || n === window) {\n\t\t\twindow.dispatchEvent(new MessageEvent(\"message\", {\n\t\t\t\tsource: window,\n\t\t\t\torigin: window.origin,\n\t\t\t\tdata: s({\n\t\t\t\t\ttype: hf,\n\t\t\t\t\taction: e\n\t\t\t\t}, t)\n\t\t\t}));\n\t\t\treturn;\n\t\t}\n\t\tif (n) n.postMessage(s({\n\t\t\ttype: hf,\n\t\t\taction: e\n\t\t}, t), { targetOrigin: this.targetOrigin });\n\t\telse if (e === \"execute-command\" && Array.isArray(t.command) && t.command[0] === \"insert\") {\n\t\t\tlet e = t.command[1].split(\"\");\n\t\t\tfor (let t of e) this.dispatchEvent(new KeyboardEvent(\"keydown\", {\n\t\t\t\tkey: t,\n\t\t\t\tbubbles: !0\n\t\t\t})), this.dispatchEvent(new KeyboardEvent(\"keyup\", {\n\t\t\t\tkey: t,\n\t\t\t\tbubbles: !0\n\t\t\t}));\n\t\t}\n\t}\n\tstateWillChange(e) {\n\t\treturn this.dispatchEvent(new CustomEvent(\"before-virtual-keyboard-toggle\", {\n\t\t\tdetail: { visible: e },\n\t\t\tbubbles: !0,\n\t\t\tcancelable: !0,\n\t\t\tcomposed: !0\n\t\t}));\n\t}\n\tstateChanged() {\n\t\tthis.dispatchEvent(new Event(\"virtual-keyboard-toggle\")), this._visible || (this.dispatchEvent(new Event(\"geometrychange\")), this.sendMessage(\"geometry-changed\", { boundingRect: this.boundingRect }));\n\t}\n\tfocus() {\n\t\tthis.sendMessage(\"focus\", {});\n\t}\n\tblur() {\n\t\tthis.sendMessage(\"blur\", {});\n\t}\n\tupdateToolbar(e) {\n\t\tlet t = this._element;\n\t\tif (!t) return;\n\t\tt.classList.toggle(\"is-math-mode\", e.mode === \"math\"), t.classList.toggle(\"is-text-mode\", e.mode === \"text\"), t.classList.toggle(\"can-undo\", e.canUndo), t.classList.toggle(\"can-redo\", e.canRedo), t.classList.toggle(\"can-copy\", !e.selectionIsCollapsed), t.classList.toggle(\"can-cut\", !e.selectionIsCollapsed), t.classList.toggle(\"can-paste\", !0);\n\t\tlet n = t.querySelectorAll(\".ML__edit-toolbar\");\n\t\tif (n) for (let t of n) t.innerHTML = Rf(this, e);\n\t}\n\tupdate(e) {\n\t\tthis._style = e.style, this.updateToolbar(e);\n\t}\n\tconnect() {\n\t\tthis.connectedMathfieldWindow = window;\n\t}\n\tdisconnect() {\n\t\tthis._visible || (this.connectedMathfieldWindow = void 0);\n\t}\n\texecuteCommand(e) {\n\t\tif (e = mf(e), !e) return !1;\n\t\tlet t, n = [], r = lf(e);\n\t\treturn x(e) ? (t = e[0], t === \"performWithFeedback\" && (r = lf(e.slice(1))), n = e.slice(1)) : t = e, r === \"virtual-keyboard\" ? of[t].fn(void 0, ...n) : (this.sendMessage(\"execute-command\", { command: e }), !1);\n\t}\n\tdispose() {\n\t\twindow.removeEventListener(\"mouseup\", this), window.removeEventListener(\"blur\", this), window.removeEventListener(\"message\", this);\n\t}\n};\nfunction ip() {\n\tlet e = sd(), t = null;\n\tfor (; e;) {\n\t\tif (\"host\" in e && e.host instanceof A_) {\n\t\t\tt = e.host;\n\t\t\tbreak;\n\t\t}\n\t\te = e.parentNode;\n\t}\n\treturn t;\n}\nd() && !(\"mathVirtualKeyboard\" in window) && (window === window.top ? ap() : Object.defineProperty(window, \"mathVirtualKeyboard\", {\n\tget: () => _f.singleton,\n\tconfigurable: !0\n}));\nfunction ap() {\n\tlet e = rp.singleton;\n\treturn window.mathVirtualKeyboard !== e && Object.defineProperty(window, \"mathVirtualKeyboard\", { get: () => e }), e;\n}\nfunction op(e) {\n\tlet t = {};\n\tfor (let n of Object.keys(e)) switch (n) {\n\t\tcase \"scriptDepth\":\n\t\t\tlet r = e.scriptDepth;\n\t\t\tif (x(r)) t.scriptDepth = [r[0], r[1]];\n\t\t\telse if (typeof r == \"number\") t.scriptDepth = [r, r];\n\t\t\telse if (typeof r == \"string\") {\n\t\t\t\tlet [e, n] = r.split(\",\").map((e) => parseInt(e.trim()));\n\t\t\t\tt.scriptDepth = [e, n];\n\t\t\t} else throw TypeError(\"Unexpected value for scriptDepth\");\n\t\t\tbreak;\n\t\tcase \"mathVirtualKeyboardPolicy\":\n\t\t\tlet i = e.mathVirtualKeyboardPolicy.toLowerCase();\n\t\t\tif (i === \"sandboxed\") {\n\t\t\t\tlet e = ap();\n\t\t\t\te && (e.isSandbox = !0), i = \"manual\";\n\t\t\t}\n\t\t\tt.mathVirtualKeyboardPolicy = i;\n\t\t\tbreak;\n\t\tcase \"letterShapeStyle\":\n\t\t\tt.letterShapeStyle = e.letterShapeStyle === \"auto\" ? S.locale.startsWith(\"fr\") ? \"french\" : \"tex\" : e.letterShapeStyle;\n\t\t\tbreak;\n\t\tcase \"defaultMode\":\n\t\t\t[\n\t\t\t\t\"text\",\n\t\t\t\t\"math\",\n\t\t\t\t\"inline-math\"\n\t\t\t].includes(e.defaultMode) ? t.defaultMode = e.defaultMode : (console.error(\"MathLive 0.110.0: valid values for defaultMode are \\\"text\\\", \\\"math\\\" or \\\"inline-math\\\"\"), t.defaultMode = \"math\");\n\t\t\tbreak;\n\t\tcase \"macros\":\n\t\t\tt.macros = dt(e.macros);\n\t\t\tbreak;\n\t\tdefault: t[n] = x(e[n]) ? [...e[n]] : typeof e[n] == \"object\" && !(e[n] instanceof Element) && n !== \"computeEngine\" ? s({}, e[n]) : e[n];\n\t}\n\treturn t;\n}\nfunction sp(e, t) {\n\tlet n;\n\tn = typeof t == \"string\" ? [t] : t === void 0 ? Object.keys(e) : t;\n\tlet r = {};\n\tfor (let t of n) r[t] = e[t] === null ? null : x(e[t]) ? [...e[t]] : typeof e[t] == \"object\" && !(e[t] instanceof Element) && t !== \"computeEngine\" ? s({}, e[t]) : e[t];\n\treturn typeof t == \"string\" ? r[t] : r;\n}\nfunction cp() {\n\treturn {\n\t\treadOnly: !1,\n\t\tdefaultMode: \"math\",\n\t\tmacros: {},\n\t\tregisters: {},\n\t\tcolorMap: ke,\n\t\tbackgroundColorMap: Ae,\n\t\tletterShapeStyle: S.locale.startsWith(\"fr\") ? \"french\" : \"tex\",\n\t\tminFontScale: 0,\n\t\tmaxMatrixCols: 10,\n\t\tsmartMode: !1,\n\t\tsmartFence: !0,\n\t\tsmartSuperscript: !0,\n\t\tscriptDepth: [1 / 0, 1 / 0],\n\t\tremoveExtraneousParentheses: !0,\n\t\tisImplicitFunction: (e) => (/* @__PURE__ */ \"\\\\sin.\\\\cos.\\\\tan.\\\\arcsin.\\\\arccos.\\\\arctan.\\\\arcsec.\\\\arccsc.\\\\arsinh.\\\\arcosh.\\\\artanh.\\\\arcsech.\\\\arccsch.\\\\arg.\\\\ch.\\\\cosec.\\\\cosh.\\\\cot.\\\\cotg.\\\\coth.\\\\csc.\\\\ctg.\\\\cth.\\\\sec.\\\\sinh.\\\\sh.\\\\tanh.\\\\tg.\\\\th.\\\\lg.\\\\lb.\\\\log.\\\\ln\".split(\".\")).includes(e),\n\t\tmathModeSpace: \"\",\n\t\tplaceholderSymbol: \"▢\",\n\t\tcontentPlaceholder: \"\",\n\t\tpopoverPolicy: \"auto\",\n\t\tenvironmentPopoverPolicy: \"off\",\n\t\tkeybindings: Dc,\n\t\tinlineShortcuts: mc,\n\t\tinlineShortcutTimeout: 0,\n\t\tmathVirtualKeyboardPolicy: \"auto\",\n\t\toriginValidator: \"none\",\n\t\tonInsertStyle: Td,\n\t\tonInlineShortcut: () => \"\",\n\t\tonScrollIntoView: null,\n\t\tonExport: Tc,\n\t\tvalue: \"\"\n\t};\n}\nfunction lp(e) {\n\treturn e.defaultMode === \"inline-math\" ? \"math\" : e.defaultMode;\n}\nfunction up(e, t) {\n\tlet n = e.at(e.position);\n\tif (n.type === \"composition\") n.value = t;\n\telse {\n\t\tlet { caret: r } = n;\n\t\tn.caret = void 0;\n\t\tlet i = new Hl(t, { mode: n.mode });\n\t\ti.caret = r, n.parent.addChildAfter(i, n), e.position += 1;\n\t}\n}\nfunction dp(e) {\n\tlet t = e.at(e.position);\n\tt.type === \"composition\" && (t.parent.removeChild(t), --e.position);\n}\nfunction fp(e) {\n\tlet t = e.at(e.position);\n\tfor (; t && !$s(t.parentBranch);) t = t.parent;\n\treturn [t.firstSibling, t.lastSibling];\n}\nfunction pp(e, t) {\n\tlet n = e.at(e.position);\n\tfor (; n && !(n.parent instanceof L);) n = n.parent;\n\tif (n?.type === \"array\" && n.environmentName, !n || !(n.parent instanceof L)) {\n\t\tlet r = e.at(e.position);\n\t\tif (n = r, !n.parent.parent) {\n\t\t\tlet n = e.extractAtoms([e.position, e.lastOffset]), i = e.extractAtoms([0, e.position]), a;\n\t\t\treturn t.endsWith(\"column\") ? (i.length === 0 && (i = Dp()), n.length === 0 && (n = Dp()), a = Iu(\"split\", [[i, n]]), e.root = a, mp(a, 0, 0) ? gp(e, a, 0, 0) : mp(a, 0, 1) ? gp(e, a, 0, 1) : e.position = e.offsetOf(r)) : (a = Iu(\"lines\", [[i], [n]]), e.root = a, gp(e, a, 1, 0)), [void 0, [0, 0]];\n\t\t}\n\t\tif (n.parent instanceof R) {\n\t\t\tlet r = n.parent, i = e.extractAtoms([e.position, e.offsetOf(r.lastChild)]), a = e.extractAtoms([e.offsetOf(r.firstChild), e.position]);\n\t\t\ta.length === 0 && (a = Dp()), i.length === 0 && (i = Dp());\n\t\t\tlet o = \"pmatrix\", s = r.leftDelim, c = r.rightDelim;\n\t\t\ts === \"(\" && (c === \")\" || c === \"?\") ? o = \"pmatrix\" : (s === \"[\" || s === \"\\\\lbrack\") && (c === \"]\" || c === \"\\\\rbrack\" || c === \"?\") ? o = \"bmatrix\" : s === \"\\\\vert\" && c === \"\\\\vert\" ? o = \"vmatrix\" : s === \"\\\\Vert\" && c === \"\\\\Vert\" ? o = \"Vmatrix\" : (s === \"{\" || s === \"\\\\lbrace\") && (c === \".\" || c === \"?\") && (o = \"cases\");\n\t\t\tlet l = Iu(o, t.endsWith(\"column\") ? [[a, i]] : [[a], [i]]);\n\t\t\treturn r.parent.addChildBefore(l, r), r.parent.removeChild(r), mp(l, 0, 0) ? gp(e, l, 0, 0) : t.endsWith(\"column\") ? mp(l, 0, 1) ? gp(e, l, 0, 1) : e.position = e.offsetOf(n) : mp(l, 1, 0) ? gp(e, l, 1, 0) : e.position = e.offsetOf(n), [void 0, [0, 0]];\n\t\t}\n\t}\n\treturn n && n.parent instanceof L ? [n.parent, n.parentBranch] : [void 0, [0, 0]];\n}\nfunction mp(e, t, n) {\n\tlet r = e.getCell(t, n);\n\treturn r?.length === 2 && r[1].type === \"placeholder\";\n}\nfunction hp(e, t, n, r) {\n\tlet i = t.getCell(n, r);\n\treturn i ? [e.offsetOf(i[0]), e.offsetOf(i[i.length - 1])] : -1;\n}\nfunction gp(e, t, n, r) {\n\tlet i = hp(e, t, n, r);\n\ttypeof i != \"number\" && e.setSelection(i);\n}\nfunction _p(e, t, n, r, i) {\n\tlet a = t.getCell(n, r);\n\ta && e.setPositionHandlingPlaceholder(e.offsetOf(a[i === \"start\" ? 0 : a.length - 1]));\n}\nfunction vp(e, t) {\n\tlet [n, [r, i]] = pp(e, t);\n\tif (n) switch (t) {\n\t\tcase \"after row\":\n\t\t\tn.addRowAfter(r), _p(e, n, r + 1, 0, \"end\");\n\t\t\tbreak;\n\t\tcase \"after column\":\n\t\t\tif (n.maxColumns <= n.colCount) {\n\t\t\t\te.announce(\"plonk\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn.addColumnAfter(i), _p(e, n, r, i + 1, \"end\");\n\t\t\tbreak;\n\t\tcase \"before row\":\n\t\t\tn.addRowBefore(r), _p(e, n, r, 0, \"start\");\n\t\t\tbreak;\n\t\tcase \"before column\":\n\t\t\tif (n.maxColumns <= n.colCount) {\n\t\t\t\te.announce(\"plonk\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tn.addColumnBefore(i), _p(e, n, r, i, \"start\");\n\t\t\tbreak;\n\t}\n}\nfunction yp(e) {\n\tvar t;\n\tlet n = e.at(e.position);\n\tif (!$s(n.parentBranch) && n.parent !== e.root && e.root.type !== \"root\") return e.announce(\"plonk\"), !1;\n\tif (!e.contentWillChange({ inputType: \"insertText\" })) return !1;\n\tif ((t = e.parentEnvironment) != null && t.isMultiline) {\n\t\te.selectionIsCollapsed || e.deleteAtoms(sc(e.selection));\n\t\tlet [t, n] = fp(e), r = e.extractAtoms([e.position, e.offsetOf(n)]), i = e.extractAtoms([e.offsetOf(t), e.position]), a = t.parent, [o, s] = t.parentBranch;\n\t\treturn a.setCell(o, s, i), vp(e, \"after row\"), a.setCell(o + 1, s, r), e.position = e.offsetOf(a.getCell(o + 1, s)[0]), e.contentDidChange({ inputType: \"insertText\" }), !0;\n\t}\n\treturn vp(e, \"after row\"), e.contentDidChange({ inputType: \"insertText\" }), !0;\n}\nfunction bp(e) {\n\treturn e.contentWillChange({ inputType: \"insertText\" }) ? (vp(e, \"before row\"), e.contentDidChange({ inputType: \"insertText\" }), !0) : !1;\n}\nfunction xp(e) {\n\treturn e.contentWillChange({ inputType: \"insertText\" }) ? (vp(e, \"after column\"), e.contentDidChange({ inputType: \"insertText\" }), !0) : !1;\n}\nfunction Sp(e) {\n\treturn e.contentWillChange({ inputType: \"insertText\" }) ? (vp(e, \"before column\"), e.contentDidChange({ inputType: \"insertText\" }), !0) : !1;\n}\nfunction Cp(e, t) {\n\tif (!e.contentWillChange({})) return !1;\n\te.mathfield.snapshot();\n\tlet n = \".\", r = \".\";\n\tswitch (t) {\n\t\tcase \"pmatrix\":\n\t\tcase \"pmatrix*\":\n\t\t\tn = \"(\", r = \")\";\n\t\t\tbreak;\n\t\tcase \"bmatrix\":\n\t\tcase \"bmatrix*\":\n\t\t\tn = \"[\", r = \"]\";\n\t\t\tbreak;\n\t\tcase \"Bmatrix\":\n\t\tcase \"Bmatrix*\":\n\t\t\tn = \"\\\\lbrace\", r = \"\\\\rbrace\";\n\t\t\tbreak;\n\t\tcase \"vmatrix\":\n\t\tcase \"vmatrix*\":\n\t\t\tn = \"\\\\vert\", r = \"\\\\vert\";\n\t\t\tbreak;\n\t\tcase \"Vmatrix\":\n\t\tcase \"Vmatrix*\":\n\t\t\tn = \"\\\\Vert\", r = \"\\\\Vert\";\n\t\t\tbreak;\n\t\tcase \"matrix\":\n\t\tcase \"matrix*\":\n\t\t\tn = \".\", r = \".\";\n\t\t\tbreak;\n\t\tcase \"cases\":\n\t\tcase \"dcases\":\n\t\t\tn = \"\\\\lbrace\";\n\t\t\tbreak;\n\t\tcase \"rcases\": r = \"\\\\rbrace\";\n\t}\n\tlet i = e.at(e.position), a = i.type === \"array\" ? i : e.parentEnvironment;\n\treturn a.environmentName = t, a.leftDelim = n, a.rightDelim = r, e.contentDidChange({}), !0;\n}\nfunction wp(e, t) {\n\tlet n = e.at(e.position);\n\tfor (; n && !(Array.isArray(n.parentBranch) && n.parent instanceof L);) n = n.parent;\n\tif (Array.isArray(n?.parentBranch) && n?.parent instanceof L) {\n\t\tlet r = n.parent, i = n.parentBranch, a;\n\t\tswitch (t) {\n\t\t\tcase \"row\":\n\t\t\t\tif (r.rowCount > 1) {\n\t\t\t\t\tr.removeRow(i[0]);\n\t\t\t\t\tlet t = r.getCell(Math.max(0, i[0] - 1), i[1]);\n\t\t\t\t\ta = e.offsetOf(t[t.length - 1]);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"column\": if (r.colCount > r.minColumns) {\n\t\t\t\tr.removeColumn(i[1]);\n\t\t\t\tlet t = r.getCell(i[0], Math.max(0, i[1] - 1));\n\t\t\t\ta = e.offsetOf(t[t.length - 1]);\n\t\t\t}\n\t\t}\n\t\ta !== void 0 && e.setPositionHandlingPlaceholder(a);\n\t}\n}\nfunction Tp(e) {\n\treturn e.contentWillChange({ inputType: \"deleteContent\" }) ? (wp(e, \"row\"), e.contentDidChange({ inputType: \"deleteContent\" }), !0) : !1;\n}\nfunction Ep(e) {\n\treturn e.contentWillChange({ inputType: \"deleteContent\" }) ? (wp(e, \"column\"), e.contentDidChange({ inputType: \"deleteContent\" }), !0) : !1;\n}\nsf({\n\taddRowAfter: yp,\n\taddColumnAfter: xp,\n\taddRowBefore: bp,\n\taddColumnBefore: Sp,\n\tremoveRow: Tp,\n\tremoveColumn: Ep,\n\tsetEnvironment: Cp\n}, {\n\ttarget: \"model\",\n\tcanUndo: !0,\n\tchangeContent: !0,\n\tchangeSelection: !0\n});\nfunction Dp() {\n\treturn [new Cl()];\n}\nvar Op = class e {\n\tconstructor(e) {\n\t\tthis.recording = !1, this.model = e, this.reset();\n\t}\n\treset() {\n\t\tthis.stack = [], this.index = -1, this.lastOp = \"\";\n\t}\n\tstartRecording() {\n\t\tthis.recording = !0;\n\t}\n\tstopRecording() {\n\t\tthis.recording = !1;\n\t}\n\tcanUndo() {\n\t\treturn this.index - 1 >= 0;\n\t}\n\tcanRedo() {\n\t\treturn this.stack.length - 1 > this.index;\n\t}\n\tstopCoalescing(e) {\n\t\te && this.index >= 0 && (this.stack[this.index].selection = e), this.lastOp = \"\";\n\t}\n\tundo() {\n\t\tif (!this.canUndo()) return !1;\n\t\tlet e = this.stack[this.index - 1];\n\t\treturn --this.index, this.lastOp = \"\", this.model.setState(e, {\n\t\t\tsilenceNotifications: !1,\n\t\t\ttype: \"undo\"\n\t\t}), !0;\n\t}\n\tredo() {\n\t\tif (!this.canRedo()) return !1;\n\t\tlet e = this.stack[this.index + 1];\n\t\treturn this.index += 1, this.lastOp = \"\", this.model.setState(e, {\n\t\t\tsilenceNotifications: !1,\n\t\t\ttype: \"redo\"\n\t\t}), !0;\n\t}\n\tpop() {\n\t\tthis.canUndo() && (this.stack.splice(this.index, this.stack.length - this.index), --this.index);\n\t}\n\tsnapshot(t) {\n\t\treturn this.recording ? (t && t === this.lastOp && this.pop(), this.stack.splice(this.index + 1, this.stack.length - this.index - 1), this.stack.push(this.model.getState()), this.index += 1, this.stack.length > e.maximumDepth && (this.stack.shift(), --this.index), this.lastOp = t ?? \"\", !0) : !1;\n\t}\n};\nOp.maximumDepth = 1e3;\nvar kp = Op;\nfunction Ap(e, t, n, r) {\n\tlet i = n.parent;\n\tif ($s(r) && n instanceof L && n.isMultiline && Pp(e, n, r[0], t)) return !0;\n\tif (i && n instanceof R) {\n\t\tlet a = !r && t === \"forward\" || r === \"body\" && t === \"backward\", o = a ? e.offsetOf(n.firstChild) : e.offsetOf(n.lastChild);\n\t\treturn a ? n.rightDelim !== \"?\" && n.rightDelim !== \".\" ? (n.leftDelim = \".\", n.isDirty = !0) : (i.addChildrenAfter(n.removeBranch(\"body\"), n), i.removeChild(n), o--) : n.leftDelim !== \"?\" && n.leftDelim !== \".\" ? (n.rightDelim = \".\", n.isDirty = !0) : (i.addChildrenAfter(n.removeBranch(\"body\"), n), i.removeChild(n), o--), e.position = o, !0;\n\t}\n\tif (i && n.type === \"surd\") {\n\t\tif (t === \"forward\" && !r || t === \"backward\" && r === \"body\") {\n\t\t\tlet t = n.leftSibling;\n\t\t\tn.hasChildren && i.addChildrenAfter(n.removeBranch(\"body\"), n), i.removeChild(n), e.position = e.offsetOf(t);\n\t\t} else t === \"forward\" && r === \"body\" ? e.position = e.offsetOf(n) : !r && t === \"backward\" ? n.hasChildren ? e.position = e.offsetOf(n.lastChild) : (e.position = Math.max(0, e.offsetOf(n) - 1), i.removeChild(n)) : r === \"above\" && (n.hasEmptyBranch(\"above\") && n.removeBranch(\"above\"), e.position = t === \"backward\" ? e.offsetOf(n.leftSibling) : e.offsetOf(n.body[0]));\n\t\treturn !0;\n\t}\n\tif (i && (n.type === \"box\" || n.type === \"enclose\")) {\n\t\tlet a = r && t === \"backward\" || !r && t === \"forward\" ? n.leftSibling : n.lastChild;\n\t\treturn i.addChildrenAfter(n.removeBranch(\"body\"), n), i.removeChild(n), e.position = e.offsetOf(a), !0;\n\t}\n\tif (n.type === \"genfrac\" || n.type === \"overunder\") {\n\t\tif (!r) return n.type === \"overunder\" && n.hasEmptyBranch(\"body\") || n.type === \"genfrac\" && n.hasEmptyBranch(\"below\") && n.hasEmptyBranch(\"above\") ? !1 : (e.position = e.offsetOf(t === \"forward\" ? n.firstChild : n.lastChild), !0);\n\t\tlet a = A_.fractionNavigationOrder === \"numerator-denominator\" ? \"above\" : \"below\", o = a === \"above\" ? \"below\" : \"above\";\n\t\tif (i && (t === \"forward\" && r === a || t === \"backward\" && r === o)) {\n\t\t\tlet t = n.removeBranch(a), r = n.removeBranch(o);\n\t\t\treturn i.addChildrenAfter([...t, ...r], n), i.removeChild(n), e.position = e.offsetOf(t.length > 0 ? t[t.length - 1] : r[0]), !0;\n\t\t}\n\t\treturn e.position = t === \"backward\" ? e.offsetOf(n.leftSibling) : e.offsetOf(n), !0;\n\t}\n\tif (n.type === \"extensible-symbol\" || n.type === \"subsup\" || n.type === \"operator\") {\n\t\tif (!r && t === \"forward\") return !1;\n\t\tif (!r) {\n\t\t\tif (n.subscript || n.superscript) {\n\t\t\t\tlet r = t === \"forward\" ? n.superscript?.[0] ?? n.subscript?.[0] : n.subscript?.[0].lastSibling ?? n.superscript?.[0].lastSibling;\n\t\t\t\treturn r && (e.position = e.offsetOf(r)), !0;\n\t\t\t}\n\t\t\treturn !1;\n\t\t}\n\t\tif (!n.hasChildren && n.type === \"subsup\") {\n\t\t\tlet r = t === \"forward\" ? e.offsetOf(n) : Math.max(0, e.offsetOf(n) - 1);\n\t\t\treturn n.parent.removeChild(n), e.position = r, !0;\n\t\t}\n\t\tif (r && n.hasEmptyBranch(r)) {\n\t\t\tif (n.removeBranch(r), n.type === \"subsup\" && !n.subscript && !n.superscript) {\n\t\t\t\tlet r = t === \"forward\" ? e.offsetOf(n) : Math.max(0, e.offsetOf(n) - 1);\n\t\t\t\treturn n.parent.removeChild(n), e.position = r, !0;\n\t\t\t}\n\t\t\treturn e.position = r === \"superscript\" && t === \"backward\" ? e.offsetOf(n.firstChild) - 1 : r === \"subscript\" && t === \"backward\" ? n.superscript ? e.offsetOf(n.superscript[0].lastSibling) : e.offsetOf(n.firstChild) - 1 : e.offsetOf(n), !0;\n\t\t}\n\t\treturn r === \"superscript\" ? e.position = t === \"backward\" ? e.offsetOf(n.firstChild) - 1 : n.subscript ? e.offsetOf(n.subscript[0]) : e.offsetOf(n) : r === \"subscript\" && (e.position = t === \"backward\" && n.superscript ? e.offsetOf(n.superscript[0].lastSibling) : t === \"backward\" ? e.offsetOf(n.firstChild) - 1 : e.offsetOf(n)), !0;\n\t}\n\tif (i?.type === \"genfrac\" && !r && n.type !== \"first\") {\n\t\tlet t = e.offsetOf(n.leftSibling);\n\t\treturn i.removeChild(n), i.hasEmptyBranch(\"above\") && i.hasEmptyBranch(\"below\") ? (t = e.offsetOf(i.leftSibling), i.parent.removeChild(i), e.announce(\"delete\", void 0, [i]), e.position = t, !0) : (e.announce(\"delete\", void 0, [n]), e.position = t, !0);\n\t}\n\tif (t === \"backward\" && (i?.command === \"\\\\ln\" || i?.command === \"\\\\log\") && n.parentBranch !== \"body\") {\n\t\tlet t = e.offsetOf(i.leftSibling);\n\t\treturn i.parent.removeChild(i), e.announce(\"delete\", void 0, [i]), e.position = t, !0;\n\t}\n\treturn !1;\n}\nfunction jp(e) {\n\treturn !e.mathfield.isSelectionEditable || !e.contentWillChange({ inputType: \"deleteContentBackward\" }) ? !1 : e.selectionIsCollapsed ? e.deferNotifications({\n\t\tcontent: !0,\n\t\tselection: !0,\n\t\ttype: \"deleteContentBackward\"\n\t}, () => {\n\t\tvar t;\n\t\tlet n = e.at(e.position);\n\t\tif (n && Ap(e, \"backward\", n)) return;\n\t\tif (n != null && n.isFirstSibling) {\n\t\t\tif (Ap(e, \"backward\", n.parent, n.parentBranch)) return;\n\t\t\tn = null;\n\t\t}\n\t\tif (!n) {\n\t\t\te.announce(\"plonk\");\n\t\t\treturn;\n\t\t}\n\t\tlet r = n.parent;\n\t\tif (e.position = e.offsetOf(n.leftSibling), r.removeChild(n), e.announce(\"delete\", void 0, [n]), r.type === \"latexgroup\" && r.hasEmptyBranch(\"body\")) {\n\t\t\tlet n = e.offsetOf(r.leftSibling);\n\t\t\t(t = r.parent) == null || t.removeChild(r), e.position = Math.max(0, n);\n\t\t}\n\t\te.root.hasEmptyBranch(\"body\") && e.mathfield.flushInlineShortcutBuffer();\n\t}) : Np(e, sc(e.selection), \"deleteContentBackward\");\n}\nfunction Mp(e) {\n\treturn !e.mathfield.isSelectionEditable || !e.contentWillChange({ inputType: \"deleteContentForward\" }) ? !1 : e.selectionIsCollapsed ? e.deferNotifications({\n\t\tcontent: !0,\n\t\tselection: !0,\n\t\ttype: \"deleteContentForward\"\n\t}, () => {\n\t\tvar t;\n\t\tlet n = e.at(e.position).rightSibling;\n\t\tif (n && Ap(e, \"forward\", n)) return;\n\t\tif (n) {\n\t\t\tif (e.at(e.position).isLastSibling && Ap(e, \"forward\", n.parent, n.parentBranch)) return;\n\t\t} else {\n\t\t\tif (n = e.at(e.position), n.isLastSibling && Ap(e, \"forward\", n.parent, n.parentBranch)) return;\n\t\t\tn = void 0;\n\t\t}\n\t\tif (e.position === e.lastOffset || !n) {\n\t\t\te.announce(\"plonk\");\n\t\t\treturn;\n\t\t}\n\t\tlet r = n.parent;\n\t\tr.removeChild(n);\n\t\tlet i = e.at(e.position)?.rightSibling;\n\t\tfor (; i?.type === \"subsup\";) i.parent.removeChild(i), i = e.at(e.position)?.rightSibling;\n\t\tif (e.announce(\"delete\", void 0, [n]), r.type === \"latexgroup\" && r.hasEmptyBranch(\"body\")) {\n\t\t\tlet n = e.offsetOf(r.leftSibling);\n\t\t\t(t = r.parent) == null || t.removeChild(r), e.position = Math.max(0, n);\n\t\t}\n\t\te.root.hasEmptyBranch(\"body\") && e.mathfield.flushInlineShortcutBuffer();\n\t}) : Np(e, sc(e.selection), \"deleteContentForward\");\n}\nfunction Np(e, t, n) {\n\tlet r = e.getAtoms(t);\n\tif (r.length > 0 && r[0].parent) {\n\t\tlet i = r[0];\n\t\tfor (; i && !(i instanceof L);) i = i.parent;\n\t\tlet a = r[r.length - 1];\n\t\tfor (; a && !(a instanceof L);) a = a.parent;\n\t\tif (i && i instanceof L) {\n\t\t\tlet t = i;\n\t\t\tif (t && a === t && t.isMultiline) {\n\t\t\t\tlet [r, i] = [Math.min(e.position, e.anchor), Math.max(e.position, e.anchor)], [a, o] = e.at(r).parentBranch, [s, c] = e.at(i).parentBranch;\n\t\t\t\tif (s - a + 1 >= 2) return e.deferNotifications({\n\t\t\t\t\tcontent: !0,\n\t\t\t\t\tselection: !0,\n\t\t\t\t\ttype: n\n\t\t\t\t}, () => {\n\t\t\t\t\tlet n = t.getCell(a, o), l = t.getCell(s, c);\n\t\t\t\t\tif (!n || !l) return;\n\t\t\t\t\te.extractAtoms([r, i]);\n\t\t\t\t\tlet u = t.getCell(a, o);\n\t\t\t\t\tt.getCell(s, c);\n\t\t\t\t\tfor (let e = s - 1; e > a; e--) t.removeRow(e);\n\t\t\t\t\tif (a !== s) {\n\t\t\t\t\t\tlet e = t.getCell(a + 1, o);\n\t\t\t\t\t\tif (u && e) {\n\t\t\t\t\t\t\tlet n = [...u.filter((e) => e.type !== \"first\"), ...e.filter((e) => e.type !== \"first\")];\n\t\t\t\t\t\t\tt.setCell(a, o, n), t.removeRow(a + 1);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlet d = t.getCell(a, o);\n\t\t\t\t\tif (d) {\n\t\t\t\t\t\tlet t = u ? u.filter((e) => e.type !== \"first\").length : 0;\n\t\t\t\t\t\te.position = e.offsetOf(d[t] ?? d[0]);\n\t\t\t\t\t} else e.position = r;\n\t\t\t\t\tt.isDirty = !0;\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\tlet o = r[0].parent.firstChild;\n\t\to.type === \"first\" && (o = o.rightSibling);\n\t\tlet s = r[r.length - 1].parent.lastChild, c = r[0];\n\t\tc.type === \"first\" && (c = c.rightSibling);\n\t\tlet l = r[r.length - 1];\n\t\tif (c === o && l === s) {\n\t\t\tlet n = r[0].parent;\n\t\t\tn.parent && n.type !== \"prompt\" && (t = [e.offsetOf(n.leftSibling), e.offsetOf(n)]);\n\t\t}\n\t\tif (r.length === 1 && r[0].type === \"placeholder\" && r[0].parent.type === \"genfrac\") {\n\t\t\tlet t = r[0].parent, i = r[0].parentBranch === \"below\" ? \"above\" : \"below\", a = e.offsetOf(t.leftSibling);\n\t\t\treturn e.deferNotifications({\n\t\t\t\tcontent: !0,\n\t\t\t\tselection: !0,\n\t\t\t\ttype: n\n\t\t\t}, () => {\n\t\t\t\tvar n, r;\n\t\t\t\tlet o = t.removeBranch(i);\n\t\t\t\tif (o.length === 1 && o[0].type === \"placeholder\") (r = t.parent) == null || r.removeChild(t), e.position = Math.max(0, a);\n\t\t\t\telse {\n\t\t\t\t\tlet r = t.parent.addChildrenAfter(o, t);\n\t\t\t\t\t(n = t.parent) == null || n.removeChild(t), e.position = e.offsetOf(r);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\treturn e.deferNotifications({\n\t\tcontent: !0,\n\t\tselection: !0,\n\t\ttype: n\n\t}, () => {\n\t\tlet n = /* @__PURE__ */ new Map();\n\t\tif (r.length > 0) {\n\t\t\tlet e = r[0], t = r[r.length - 1], i = /* @__PURE__ */ new Set(), a = e.parent;\n\t\t\tfor (; a;) (a.type === \"surd\" || a.type === \"box\" || a.type === \"enclose\" || a.type === \"leftright\" || a.type === \"genfrac\" || a.type === \"overunder\") && a.parent && i.add(a), a = a.parent;\n\t\t\tlet o = /* @__PURE__ */ new Set();\n\t\t\tfor (a = t.parent; a;) (a.type === \"surd\" || a.type === \"box\" || a.type === \"enclose\" || a.type === \"leftright\" || a.type === \"genfrac\" || a.type === \"overunder\") && a.parent && o.add(a), a = a.parent;\n\t\t\tfor (let e of r) for (a = e.parent; a;) {\n\t\t\t\tif ((a.type === \"surd\" || a.type === \"box\" || a.type === \"enclose\" || a.type === \"leftright\" || a.type === \"genfrac\" || a.type === \"overunder\") && a.parent) {\n\t\t\t\t\tn.has(a) || n.set(a, {\n\t\t\t\t\t\tcontainsStart: i.has(a),\n\t\t\t\t\t\tcontainsEnd: o.has(a)\n\t\t\t\t\t});\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ta = a.parent;\n\t\t\t}\n\t\t}\n\t\tlet i = Math.min(...t);\n\t\te.deleteAtoms(t);\n\t\tfor (let [t, r] of n) {\n\t\t\tif (!t.parent) continue;\n\t\t\tlet n = r.containsStart !== r.containsEnd;\n\t\t\tif (t.type === \"surd\" || t.type === \"box\" || t.type === \"enclose\" || t.type === \"leftright\") {\n\t\t\t\tlet i = t.branch(\"body\");\n\t\t\t\tif (!i || i.length === 0 || i.length === 1 && i[0].type === \"placeholder\") {\n\t\t\t\t\tlet n = e.offsetOf(t.leftSibling);\n\t\t\t\t\tt.parent.removeChild(t), e.position = Math.max(0, n);\n\t\t\t\t} else if (n && !r.containsStart && r.containsEnd) {\n\t\t\t\t\tlet n = e.offsetOf(t.leftSibling), r = t.removeBranch(\"body\");\n\t\t\t\t\tr && r.length > 0 && t.parent.addChildrenAfter(r, t), t.parent.removeChild(t), e.position = Math.max(0, n);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (t.type === \"genfrac\") {\n\t\t\t\tlet i = t.branch(\"above\"), a = t.branch(\"below\"), o = !i || i.length === 0 || i.length === 1 && i[0].type === \"placeholder\", s = !a || a.length === 0 || a.length === 1 && a[0].type === \"placeholder\";\n\t\t\t\tif (o && s) {\n\t\t\t\t\tlet n = e.offsetOf(t.leftSibling);\n\t\t\t\t\tt.parent.removeChild(t), e.position = Math.max(0, n);\n\t\t\t\t} else if (o && !s) {\n\t\t\t\t\tlet n = e.offsetOf(t.leftSibling), r = t.removeBranch(\"below\");\n\t\t\t\t\tr && r.length > 0 && t.parent.addChildrenAfter(r, t), t.parent.removeChild(t), e.position = Math.max(0, n);\n\t\t\t\t} else if (!o && s) {\n\t\t\t\t\tlet n = e.offsetOf(t.leftSibling), r = t.removeBranch(\"above\");\n\t\t\t\t\tr && r.length > 0 && t.parent.addChildrenAfter(r, t), t.parent.removeChild(t), e.position = Math.max(0, n);\n\t\t\t\t} else if (n && !r.containsStart && r.containsEnd && !o && !s) {\n\t\t\t\t\tlet n = e.offsetOf(t.leftSibling), r = t.removeBranch(\"above\");\n\t\t\t\t\tr && r.length > 0 && t.parent.addChildrenAfter(r, t), t.parent.removeChild(t), e.position = Math.max(0, n);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tn.size === 0 && (e.position = i), e.root.hasEmptyBranch(\"body\") && e.mathfield.flushInlineShortcutBuffer();\n\t});\n}\nfunction Pp(e, t, n, r) {\n\tif (!(t instanceof L) || !t.isMultiline || t.rows.length === 1 || t.rows[n].length > 1) return !1;\n\tlet i = t.getCell(n, 0);\n\tif (!i) return !1;\n\tif (t.removeRow(n), r === \"backward\") {\n\t\tlet r = t.getCell(n - 1, 0);\n\t\tif (!r) return e.position = e.offsetOf(t), !0;\n\t\te.position = r.length > 0 ? e.offsetOf(r[r.length - 1]) : e.offsetOf(t), t.setCell(n - 1, 0, [...r, ...i]);\n\t} else {\n\t\tlet r = t.getCell(n, 0);\n\t\tif (!r) return e.position = e.offsetOf(t), !0;\n\t\te.position = r.length > 0 ? e.offsetOf(r[0]) : e.offsetOf(t), t.setCell(n, 0, [...i, ...r]);\n\t}\n\treturn !0;\n}\nfunction Fp(e, t, n) {\n\tif (e.at(t).mode !== \"text\") return t;\n\tlet r = n === \"backward\" ? -1 : 1, i;\n\tif (Qe.test(e.at(t).value)) {\n\t\tlet n = t, a;\n\t\tdo\n\t\t\ta = e.at(n).mode === \"text\" && Qe.test(e.at(n).value), n += r;\n\t\twhile (e.at(n) && a);\n\t\ti = e.at(n) ? n - 2 * r : n - r;\n\t} else if (/\\s/.test(e.at(t).value)) {\n\t\tlet n = t;\n\t\tfor (; e.at(n)?.mode === \"text\" && /\\s/.test(e.at(n).value);) n += r;\n\t\tif (!e.at(n)) i = n - r;\n\t\telse {\n\t\t\tlet t = !0;\n\t\t\tdo\n\t\t\t\tt = e.at(n).mode === \"text\" && !/\\s/.test(e.at(n).value), n += r;\n\t\t\twhile (e.at(n) && t);\n\t\t\ti = e.at(n) ? n - 2 * r : n - r;\n\t\t}\n\t} else {\n\t\tlet n = t;\n\t\tfor (; e.at(n)?.mode === \"text\" && !/\\s/.test(e.at(n).value);) n += r;\n\t\ti = e.at(n) ? n : n - r;\n\t\tlet a = !0;\n\t\tfor (; e.at(n) && a;) a = e.at(n).mode === \"text\" && /\\s/.test(e.at(n).value), a && (i = n), n += r;\n\t\ti = e.at(n) ? n - 2 * r : n - r;\n\t}\n\treturn i - (r > 0 ? 0 : 1);\n}\nfunction Ip(e, t, n) {\n\tvar r, i, a;\n\tlet o = e.position;\n\t(r = n?.extend) != null && r || e.collapseSelection(t);\n\tlet s = e.at(e.position);\n\tif (t === \"forward\" && (s.type === \"subsup\" ? (s = s.rightSibling, s || (s = e.at(e.position + 1))) : s = e.at(e.position + 1)), !s) return e.announce(\"plonk\"), !1;\n\tlet c = e.offsetOf(s);\n\tif (s instanceof ic) c = Fp(e, c, t);\n\telse if (s instanceof V) {\n\t\tif (s.isSuggestion) for (; s && s instanceof V;) s.isSuggestion = !1, c = e.offsetOf(s), s = s.rightSibling;\n\t\telse if (t === \"forward\") {\n\t\t\tif (s = s.rightSibling, !s || !(s instanceof V)) return e.announce(\"plonk\"), !1;\n\t\t\tfor (; s && s instanceof V && /[a-zA-Z\\*]/.test(s.value);) c = e.offsetOf(s), s = s.rightSibling;\n\t\t} else {\n\t\t\tif (s = s.leftSibling, !s || !(s instanceof V)) return e.announce(\"plonk\"), !1;\n\t\t\tfor (; s && s instanceof V && /[a-zA-Z\\*]/.test(s.value);) c = e.offsetOf(s), s = s.leftSibling;\n\t\t}\n\t} else if (t === \"forward\" && s.type === \"mopen\") {\n\t\tlet t = 0;\n\t\tdo\n\t\t\ts.type === \"mopen\" ? t += 1 : s.type === \"mclose\" && --t, s = s.rightSibling;\n\t\twhile (!s.isLastSibling && t !== 0);\n\t\tc = e.offsetOf(s.leftSibling);\n\t} else if (t === \"backward\" && s.type === \"mclose\") {\n\t\tlet t = 0;\n\t\tdo\n\t\t\ts.type === \"mopen\" ? t += 1 : s.type === \"mclose\" && --t, s = s.leftSibling;\n\t\twhile (!s.isFirstSibling && t !== 0);\n\t\tc = e.offsetOf(s);\n\t} else if (t === \"backward\") {\n\t\tif (s.type === \"first\") for (; c > 0 && s.type === \"first\";) --c, s = e.at(c);\n\t\telse {\n\t\t\tlet t = s.type;\n\t\t\ts.type === \"subsup\" && (c = e.offsetOf(e.at(c).leftSibling)), --c;\n\t\t\tlet n = e.at(c)?.type;\n\t\t\tfor (; c >= 0 && n === t;) e.at(c)?.type === \"subsup\" ? c = e.offsetOf(e.at(c).leftSibling) : --c, n = e.at(c).type;\n\t\t}\n\t} else {\n\t\tlet { type: t } = s, n = e.at(c)?.type, { lastOffset: r } = e;\n\t\tfor (; c <= r && (n === t || n === \"subsup\");) {\n\t\t\tfor (; e.at(c).rightSibling?.type === \"subsup\";) c = e.offsetOf(e.at(c).rightSibling);\n\t\t\tc += 1, n = e.at(c)?.type;\n\t\t}\n\t\t--c;\n\t}\n\tif ((i = n?.extend) != null && i) {\n\t\tif (!e.setSelection(e.anchor, c)) return e.announce(\"plonk\"), !1;\n\t\te.announce(\"move\", o);\n\t} else {\n\t\tif (c === e.position) return e.announce(\"plonk\"), !1;\n\t\t(a = n?.delete) != null && a ? t === \"forward\" ? Np(e, [o, c], \"deleteWordForward\") : (Np(e, [o, c], \"deleteWordBackward\"), e.position = c) : (e.position = c, e.announce(\"move\", o));\n\t}\n\treturn e.mathfield.stopCoalescingUndo(), !0;\n}\nfunction Lp(e, t, n) {\n\tif (n = n ?? { extend: !1 }, e.mathfield.styleBias = t === \"backward\" ? \"right\" : \"left\", t !== \"forward\") {\n\t\tlet [t, n] = Sd(e);\n\t\tt !== void 0 && n !== void 0 && e.deleteAtoms([t, n]);\n\t}\n\tif (t === \"upward\") return Hp(e, n);\n\tif (t === \"downward\") return Up(e, n);\n\tif (n.extend) {\n\t\tlet n = Rp(e, e.position, t);\n\t\tn < 0 && (n = 0), n > e.lastOffset && (n = e.lastOffset);\n\t\tlet r = e.setSelection(e.anchor, n);\n\t\treturn e.mathfield.stopCoalescingUndo(), r;\n\t}\n\tif (e.selectionIsPlaceholder) {\n\t\te.collapseSelection(t);\n\t\tlet n = Lp(e, t);\n\t\treturn e.mathfield.stopCoalescingUndo(), n;\n\t}\n\tlet r = e.position, i = r;\n\tif (e.collapseSelection(t) ? (r = e.position, zp(e, r) || (r = Rp(e, r, t))) : r = Rp(e, r, t), r < 0 || r > e.lastOffset) {\n\t\tlet n = !0;\n\t\treturn e.silenceNotifications || (n = e.mathfield.host?.dispatchEvent(new CustomEvent(\"move-out\", {\n\t\t\tdetail: { direction: t },\n\t\t\tcancelable: !0,\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t})) ?? !0), n && e.announce(\"plonk\"), n;\n\t}\n\treturn e.setPositionHandlingPlaceholder(r), e.mathfield.stopCoalescingUndo(), e.announce(\"move\", i), !0;\n}\nfunction Rp(e, t, n) {\n\treturn t += n === \"forward\" ? 1 : -1, t < 0 || t > e.lastOffset || zp(e, t) ? t : Rp(e, t, n);\n}\nfunction zp(e, t) {\n\tvar n;\n\tlet r = e.at(t), i = r.parent;\n\tfor (; i && !i.inCaptureSelection;) i = i.parent;\n\treturn !(i != null && i.inCaptureSelection || (n = r.parent) != null && n.skipBoundary && (!r.isFirstSibling && r.isLastSibling || r.type === \"first\") || e.mathfield.hasEditablePrompts && !r.parentPrompt);\n}\nfunction Bp(e, t, n) {\n\tlet r = 1 / 0, i = 0;\n\tfor (; i < t.length; i++) {\n\t\tlet a = t[i], o = e.getHTMLElement(a);\n\t\tif (!o) continue;\n\t\tlet s = Bc(o).right, c = Math.abs(n - s);\n\t\tif (c <= r) r = c;\n\t\telse break;\n\t}\n\treturn t[i - 1];\n}\nfunction Vp(e, t, n, r, i) {\n\tlet a = e.mathfield.hasEditablePrompts, o = a ? n.filter((e) => e.type === \"prompt\" && !e.captureSelection) : n, s = Bc(e.mathfield.getHTMLElement(t)).right, c = e.offsetOf(Bp(e.mathfield, o, s)) - +!!a;\n\tif (r) {\n\t\tlet [t, n] = e.selection.ranges[0], r;\n\t\tr = c < (i === \"up\" ? t : n) ? {\n\t\t\tranges: [[c, n]],\n\t\t\tdirection: \"backward\"\n\t\t} : {\n\t\t\tranges: [[t, c]],\n\t\t\tdirection: \"forward\"\n\t\t}, e.setSelection(r);\n\t} else e.setPositionHandlingPlaceholder(c);\n\te.announce(`move ${i}`);\n}\nfunction Hp(e, t) {\n\tlet n = t?.extend ?? !1;\n\tn || e.collapseSelection(\"backward\");\n\tlet r = () => {\n\t\tlet t = !0;\n\t\treturn e.silenceNotifications || (t = e.mathfield.host?.dispatchEvent(new CustomEvent(\"move-out\", {\n\t\t\tdetail: { direction: \"upward\" },\n\t\t\tcancelable: !0,\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t})) ?? !0), e.announce(t ? \"line\" : \"plonk\"), t;\n\t}, i = e.at(e.position), a = i;\n\tfor (; a && a.parentBranch !== \"below\" && !(Array.isArray(a.parentBranch) && a.parent instanceof L);) a = a.parent;\n\tif (Array.isArray(a?.parentBranch) && a.parent instanceof L) {\n\t\tlet t = a.parent;\n\t\tif (a.parentBranch[0] < 1) return r();\n\t\tlet o = a.parentBranch[0] - 1, s = t.getCell(o, a.parentBranch[1]);\n\t\tif (!s.some((e) => e.type === \"prompt\" && !e.captureSelection) && e.mathfield.hasEditablePrompts) return r();\n\t\tVp(e, i, s, n, \"up\");\n\t} else if (a) {\n\t\tlet t = a.parent.branch(\"above\") ?? a.parent.createBranch(\"above\");\n\t\tif (!t.some((e) => e.type === \"prompt\" && e.placeholderId) && e.mathfield.hasEditablePrompts) return r();\n\t\tVp(e, i, t, n, \"up\");\n\t} else return r();\n\treturn e.mathfield.stopCoalescingUndo(), !0;\n}\nfunction Up(e, t) {\n\tlet n = t?.extend ?? !1;\n\tn || e.collapseSelection(\"forward\");\n\tlet r = () => {\n\t\tlet t = !0;\n\t\treturn e.silenceNotifications || (t = e.mathfield.host?.dispatchEvent(new CustomEvent(\"move-out\", {\n\t\t\tdetail: { direction: \"downward\" },\n\t\t\tcancelable: !0,\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t})) ?? !0), e.announce(t ? \"line\" : \"plonk\"), t;\n\t}, i = e.at(e.position), a = i;\n\tfor (; a && a.parentBranch !== \"above\" && !($s(a.parentBranch) && a.parent instanceof L);) a = a.parent;\n\tif ($s(a?.parentBranch) && a.parent instanceof L) {\n\t\tlet t = a.parent;\n\t\tif (a.parentBranch[0] + 1 > t.rows.length - 1) return r();\n\t\tlet o = a.parentBranch[0] + 1, s = t.getCell(o, a.parentBranch[1]);\n\t\tif (!s.some((e) => e.type === \"prompt\" && !e.captureSelection) && e.mathfield.hasEditablePrompts) return r();\n\t\tVp(e, i, s, n, \"down\");\n\t} else if (a) {\n\t\tlet t = a.parent.branch(\"below\") ?? a.parent.createBranch(\"below\");\n\t\tif (!t.some((e) => e.type === \"prompt\") && e.mathfield.hasEditablePrompts) return r();\n\t\tVp(e, i, t, n, \"down\");\n\t} else return r();\n\treturn !0;\n}\nfunction Wp(e) {\n\tlet t = e.position, n = e.at(t).parent;\n\treturn n != null && n.parent ? (e.position = e.offsetOf(n), e.mathfield.stopCoalescingUndo(), e.announce(\"move\", t), !0) : (e.announce(\"plonk\"), !1);\n}\nfunction Gp(e) {\n\tlet t = 0, n = e.at(e.position), r = !1;\n\tfor (; n;) n.hasEmptyBranch(\"superscript\") ? n.hasEmptyBranch(\"subscript\") || (r = !1) : (t += 1, r = !0), n = n.parent;\n\treturn r ? t : 0;\n}\nfunction Kp(e) {\n\tlet t = 0, n = e.at(e.position), r = !1;\n\tfor (; n;) n.hasEmptyBranch(\"subscript\") ? n.hasEmptyBranch(\"superscript\") || (r = !1) : (t += 1, r = !0), n = n.parent;\n\treturn r ? t : 0;\n}\nfunction qp(e) {\n\tif (e.collapseSelection(), Gp(e) >= e.mathfield.options.scriptDepth[1]) return e.announce(\"plonk\"), !1;\n\tlet t = e.at(e.position);\n\tif (t.subsupPlacement === void 0) {\n\t\tlet e = t.rightSibling;\n\t\te?.type !== \"subsup\" && (e = new Yl({ style: t.style }), t.parent.addChildAfter(e, t)), t = e;\n\t}\n\treturn t.createBranch(\"superscript\"), e.setSelection(e.getSiblingsRange(e.offsetOf(t.superscript[0]))), !0;\n}\nfunction Jp(e) {\n\tif (e.collapseSelection(), Kp(e) >= e.mathfield.options.scriptDepth[0]) return e.announce(\"plonk\"), !1;\n\tlet t = e.at(e.position);\n\tif (t.subsupPlacement === void 0) {\n\t\tlet e = t.rightSibling;\n\t\te?.type !== \"subsup\" && (e = new Yl({ style: t.style }), t.parent.addChildAfter(e, t)), t = e;\n\t}\n\treturn t.createBranch(\"subscript\"), e.setSelection(e.getSiblingsRange(e.offsetOf(t.subscript[0]))), !0;\n}\nfunction Yp() {\n\tfunction e(e) {\n\t\tlet n = [], i = [];\n\t\treturn [...e.querySelectorAll(\"input, select, textarea, a[href], button,\\n [tabindex], audio[controls], video[controls],\\n [contenteditable]:not([contenteditable=\\\"false\\\"]), details>summary\")].filter(t).forEach((e, t) => {\n\t\t\tlet a = r(e);\n\t\t\ta === 0 ? n.push(e) : i.push({\n\t\t\t\tdocumentOrder: t,\n\t\t\t\ttabIndex: a,\n\t\t\t\tnode: e\n\t\t\t});\n\t\t}), i.sort((e, t) => e.tabIndex === t.tabIndex ? e.documentOrder - t.documentOrder : e.tabIndex - t.tabIndex).map((e) => e.node).concat(n);\n\t}\n\tfunction t(e) {\n\t\treturn !(!n(e) || i(e) || r(e) < 0);\n\t}\n\tfunction n(e) {\n\t\treturn !(e.disabled || e.type === \"hidden\" && e.tagName.toUpperCase() === \"INPUT\" || s(e));\n\t}\n\tfunction r(e) {\n\t\tlet t = Number.parseInt(e.getAttribute(\"tabindex\") ?? \"NaN\", 10);\n\t\treturn Number.isNaN(t) ? e.contentEditable === \"true\" || (e.nodeName === \"AUDIO\" || e.nodeName === \"VIDEO\") && e.getAttribute(\"tabindex\") === null ? 0 : e.tabIndex : t;\n\t}\n\tfunction i(e) {\n\t\treturn e.tagName.toUpperCase() === \"INPUT\" && e.type === \"radio\" && !o(e);\n\t}\n\tfunction a(e, t) {\n\t\tfor (let n of e) if (n.checked && n.form === t) return n;\n\t\treturn null;\n\t}\n\tfunction o(e) {\n\t\tif (!e.name) return !0;\n\t\tlet t = a((e.form ?? e.ownerDocument).querySelectorAll(\"input[type=\\\"radio\\\"][name=\\\"\" + e.name + \"\\\"]\"), e.form);\n\t\treturn !t || t === e;\n\t}\n\tfunction s(e) {\n\t\tif (!d() || e === document.activeElement || e.contains(document.activeElement)) return !1;\n\t\tif (getComputedStyle(e).visibility === \"hidden\") return !0;\n\t\tlet t = e.getBoundingClientRect();\n\t\tif (t.width === 0 || t.height === 0) return !0;\n\t\tfor (; e;) {\n\t\t\tif (getComputedStyle(e).display === \"none\") return !0;\n\t\t\te = e.parentElement;\n\t\t}\n\t\treturn !1;\n\t}\n\treturn d() ? e(document.body) : [];\n}\nfunction Xp(e, t, n = \"forward\") {\n\tlet r = e.position;\n\tif (x(t)) {\n\t\tlet i = e.offsetOf(t[0]), a = e.offsetOf(t[t.length - 1]);\n\t\treturn n === \"forward\" ? e.setSelection(i, a) : e.setSelection(a, i), e.announce(\"move\", r), e.mathfield.stopCoalescingUndo(), !0;\n\t}\n\treturn n === \"forward\" ? Xp(e, [t.leftSibling, t]) : Xp(e, [t, t.leftSibling]);\n}\nfunction Zp(e, t) {\n\tlet n = e.position;\n\tif (typeof t == \"number\" && (t = e.at(t)), t.type === \"prompt\") e.setSelection(e.offsetOf(t.firstChild), e.offsetOf(t.lastChild));\n\telse {\n\t\tlet n = e.offsetOf(t);\n\t\tt.type === \"placeholder\" ? e.setSelection(n - 1, n) : e.position = n;\n\t}\n\treturn e.announce(\"move\", n), e.mathfield.stopCoalescingUndo(), !0;\n}\nfunction Qp(e, t) {\n\tlet n = t === \"forward\" ? 1 : -1;\n\te.at(e.anchor).type === \"placeholder\" && Lp(e, t);\n\tlet r, i = e.at(e.anchor).parentPrompt;\n\tr = i ? t === \"forward\" ? e.offsetOf(i) + 1 : e.offsetOf(i.leftSibling) : Math.max(e.position + n, 0);\n\tlet a = $p(e, r, t);\n\tif (!a || t === \"forward\" && e.offsetOf(a) < r || t === \"backward\" && e.offsetOf(a) > r) {\n\t\tif (!(e.mathfield.host?.dispatchEvent(new CustomEvent(\"move-out\", {\n\t\t\tdetail: { direction: t },\n\t\t\tcancelable: !0,\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t})) ?? !0)) return e.announce(\"plonk\"), !1;\n\t\tlet r = Yp();\n\t\tif (!document.activeElement || r.length <= 1) return e.announce(\"plonk\"), !1;\n\t\tlet i = r.indexOf(document.activeElement) + n;\n\t\treturn i < 0 && (i = r.length - 1), i >= r.length && (i = 0), r[i].focus(), e.mathfield.stopCoalescingUndo(), !0;\n\t}\n\treturn Zp(e, a), !0;\n}\nfunction $p(e, t = 0, n = \"forward\") {\n\treturn e.findAtom((t) => t.type === \"placeholder\" || t.type === \"prompt\" || !e.mathfield.readOnly && t.treeDepth > 2 && t.isFirstSibling && t.isLastSibling, t, n);\n}\nsf({\n\tmoveToOpposite: (e) => {\n\t\tlet t = {\n\t\t\tsuperscript: \"subscript\",\n\t\t\tsubscript: \"superscript\",\n\t\t\tabove: \"below\",\n\t\t\tbelow: \"above\"\n\t\t}, n = e.at(e.position), { parent: r } = n;\n\t\tif (!r) return e.announce(\"plonk\"), !1;\n\t\tlet i = n.parentBranch, a;\n\t\tif (typeof i == \"string\" && (a = t[i]), !a) {\n\t\t\tlet t = n.subsupPlacement ? Jp(e) : qp(e);\n\t\t\treturn e.mathfield.stopCoalescingUndo(), t;\n\t\t}\n\t\tr.branch(a) || r.createBranch(a);\n\t\tlet o = e.setSelection(e.getBranchRange(e.offsetOf(r), a));\n\t\treturn e.mathfield.stopCoalescingUndo(), o;\n\t},\n\tmoveBeforeParent: (e) => {\n\t\tlet { parent: t } = e.at(e.position);\n\t\treturn t ? (e.position = e.offsetOf(t), e.mathfield.stopCoalescingUndo(), !0) : (e.announce(\"plonk\"), !1);\n\t},\n\tmoveAfterParent: (e) => Wp(e),\n\tmoveToNextChar: (e) => Lp(e, \"forward\"),\n\tmoveToPreviousChar: (e) => Lp(e, \"backward\"),\n\tmoveUp: (e) => Lp(e, \"upward\"),\n\tmoveDown: (e) => Lp(e, \"downward\"),\n\tmoveToNextWord: (e) => Ip(e, \"forward\"),\n\tmoveToPreviousWord: (e) => Ip(e, \"backward\"),\n\tmoveToGroupStart: (e) => {\n\t\tlet t = e.offsetOf(e.at(e.position).firstSibling);\n\t\treturn t === e.position ? (e.announce(\"plonk\"), !1) : (e.position = t, e.mathfield.stopCoalescingUndo(), !0);\n\t},\n\tmoveToGroupEnd: (e) => {\n\t\tlet t = e.offsetOf(e.at(e.position).lastSibling);\n\t\treturn t === e.position ? (e.announce(\"plonk\"), !1) : (e.position = t, e.mathfield.stopCoalescingUndo(), !0);\n\t},\n\tmoveToNextGroup: (e) => {\n\t\tif (e.position === e.lastOffset && e.anchor === e.lastOffset) return Qp(e, \"forward\");\n\t\tlet t = e.at(e.position);\n\t\tif (t.mode === \"text\") {\n\t\t\tif (e.selectionIsCollapsed) {\n\t\t\t\tlet n = t;\n\t\t\t\tfor (; n?.mode === \"text\";) n = n.leftSibling;\n\t\t\t\tlet r = t;\n\t\t\t\tfor (; r.rightSibling?.mode === \"text\";) r = r.rightSibling;\n\t\t\t\tif (n && r) return Xp(e, [n, r]);\n\t\t\t}\n\t\t\tif (t.rightSibling.mode === \"text\") {\n\t\t\t\tlet n = t;\n\t\t\t\tfor (; n?.mode === \"text\";) n = n.rightSibling;\n\t\t\t\treturn n ? (Zp(e, n.leftSibling ?? n), e.mathfield.switchMode(\"math\"), !0) : Zp(e, e.lastOffset);\n\t\t\t}\n\t\t}\n\t\tlet n = e.at(e.anchor).parentPrompt, r = n ? e.offsetOf(n) + 1 : Math.max(e.position + 1, 0), i = $p(e, r, \"forward\");\n\t\tif (i && e.offsetOf(i) < r) return Qp(e, \"forward\");\n\t\tif (i) return Zp(e, i);\n\t\tlet a = em(e, t, (e) => e.type === \"leftright\" || e.type === \"text\", \"forward\");\n\t\tif (a) {\n\t\t\tif (a.mode === \"text\") {\n\t\t\t\tlet t = a;\n\t\t\t\tfor (; t?.mode === \"text\";) t = t.rightSibling;\n\t\t\t\treturn Xp(e, [a.leftSibling ?? a, t.leftSibling ?? t]);\n\t\t\t}\n\t\t\treturn Xp(e, a);\n\t\t}\n\t\tlet o = t.parent;\n\t\tif (o) {\n\t\t\tif (o.type === \"leftright\" || o.type === \"surd\") return Xp(e, o);\n\t\t\tif (t.parentBranch === \"superscript\" && o.subscript) return Xp(e, o.subscript);\n\t\t\tif (t.parentBranch === \"above\" && o.below) return Xp(e, o.below);\n\t\t\tif (t.parentBranch === \"superscript\" || t.parentBranch === \"subscript\") return Zp(e, o);\n\t\t\tif (t.parentBranch === \"above\" || t.parentBranch === \"below\") return Xp(e, o);\n\t\t}\n\t\treturn Zp(e, e.lastOffset);\n\t},\n\tmoveToPreviousGroup: (e) => {\n\t\tif (e.position === 0 && e.anchor === 0) return Qp(e, \"backward\");\n\t\tlet t = e.at(e.position), n = t.mode;\n\t\tif (n === \"text\") {\n\t\t\tif (e.selectionIsCollapsed) {\n\t\t\t\tlet n = t;\n\t\t\t\tfor (; n?.mode === \"text\";) n = n.leftSibling;\n\t\t\t\tlet r = t;\n\t\t\t\tfor (; r.rightSibling?.mode === \"text\";) r = r.rightSibling;\n\t\t\t\tif (n && r) return Xp(e, [n, r]);\n\t\t\t}\n\t\t\tfor (; t?.mode === \"text\";) t = t.leftSibling;\n\t\t\treturn t ? Zp(e, t) : Zp(e, 0);\n\t\t}\n\t\tlet r = e.at(e.anchor).parentPrompt, i = r ? e.offsetOf(r.leftSibling) : Math.max(e.position - 1, 0), a = $p(e, i, \"backward\");\n\t\tif (a && e.offsetOf(a) > i) return Qp(e, \"backward\");\n\t\tif (a) return Zp(e, a);\n\t\tif (n === \"math\") {\n\t\t\tlet n = em(e, t, (e) => e.type === \"leftright\" || e.type === \"text\", \"backward\");\n\t\t\tif (n) {\n\t\t\t\tif (n.mode === \"text\") {\n\t\t\t\t\tlet t = n;\n\t\t\t\t\tfor (; t?.mode === \"text\";) t = t.leftSibling;\n\t\t\t\t\treturn Xp(e, [n, t]);\n\t\t\t\t}\n\t\t\t\treturn Xp(e, n);\n\t\t\t}\n\t\t\tlet r = t.parent;\n\t\t\tif (r) {\n\t\t\t\tif (r.type === \"leftright\" || r.type === \"surd\") return Xp(e, r);\n\t\t\t\tif (t.parentBranch === \"subscript\" && r.superscript) return Xp(e, r.superscript);\n\t\t\t\tif (t.parentBranch === \"below\" && r.above) return Xp(e, r.above);\n\t\t\t\tif (t.parentBranch === \"superscript\" || t.parentBranch === \"subscript\") return Zp(e, r);\n\t\t\t\tif (t.parentBranch === \"above\" || t.parentBranch === \"below\") return Xp(e, r);\n\t\t\t}\n\t\t\treturn Zp(e, 0);\n\t\t}\n\t\treturn !1;\n\t},\n\tmoveToMathfieldStart: (e) => e.selectionIsCollapsed && e.position === 0 ? (e.announce(\"plonk\"), !1) : (e.position = 0, e.mathfield.stopCoalescingUndo(), !0),\n\tmoveToMathfieldEnd: (e) => e.selectionIsCollapsed && e.position === e.lastOffset ? (e.announce(\"plonk\"), !1) : (e.position = e.lastOffset, e.mathfield.stopCoalescingUndo(), !0),\n\tmoveToSuperscript: qp,\n\tmoveToSubscript: Jp\n}, {\n\ttarget: \"model\",\n\tchangeSelection: !0\n}), sf({\n\tmoveToNextPlaceholder: (e) => Qp(e, \"forward\"),\n\tmoveToPreviousPlaceholder: (e) => Qp(e, \"backward\")\n}, {\n\ttarget: \"model\",\n\tchangeSelection: !0,\n\taudioFeedback: \"return\"\n});\nfunction em(e, t, n, r) {\n\tif (r === \"forward\") {\n\t\tlet e = t.rightSibling;\n\t\tfor (; e && !n(e);) e = e.rightSibling;\n\t\treturn e;\n\t}\n\tlet i = t.leftSibling;\n\tfor (; i && !n(i);) i = i.leftSibling;\n\treturn i;\n}\nfunction tm(e, t, n) {\n\ttypeof t == \"function\" && (n = t, t = 1 / 0), t === void 0 && (t = 1 / 0);\n\tlet r = e.position, i = !1, a = \"\";\n\tfor (; !i;) {\n\t\tlet o = e.at(r);\n\t\ti = t === 0 || o === void 0 || o.type === \"first\" || o.mode !== \"math\" || !(o.type && /mord|mpunct|operator/.test(o.type) || o.type === \"mop\" && /[a-zA-Z ]+/.test(o.value)) || !o.hasEmptyBranch(\"superscript\") || !o.hasEmptyBranch(\"subscript\") || typeof n == \"function\" && !n(o), i || (o.mode = \"text\", o.command = o.value, o.verbatimLatex = void 0, a += o.value), --r, --t;\n\t}\n\te.contentDidChange({\n\t\tdata: a,\n\t\tinputType: \"insertText\"\n\t});\n}\nfunction nm(e, t, n) {\n\ttypeof t == \"function\" && (n = t, t = 1 / 0), t === void 0 && (t = 1 / 0);\n\tlet r = e.position, i = !1, a = [];\n\tfor (; !i;) {\n\t\tlet o = e.at(r);\n\t\ti = t === 0 || !o || o.type === \"first\" || o.isFirstSibling || o.mode !== \"text\" || o.value === \" \" || typeof n == \"function\" && !n(o), i || (a.push(F.serialize([o], { defaultMode: \"math\" })), o.mode = \"math\"), --r, --t;\n\t}\n\trm(e), e.contentDidChange({\n\t\tdata: A(a),\n\t\tinputType: \"insertText\"\n\t});\n}\nfunction rm(e) {\n\tlet t = e.position - 1;\n\tfor (; t >= 0 && e.at(t)?.mode === \"math\";) --t;\n\tif (!(t < 0) && e.at(t).mode === \"text\" && e.at(t).value === \" \" && e.at(t - 1).mode === \"math\") {\n\t\te.at(t - 1).parent.removeChild(e.at(t - 1));\n\t\tlet n = e.silenceNotifications;\n\t\te.silenceNotifications = !0, --e.position, e.silenceNotifications = n, e.contentDidChange({ inputType: \"deleteContent\" });\n\t}\n}\nfunction im(e) {\n\tlet t = \"\", n = e.position, r = !1;\n\tfor (; !r;) {\n\t\tlet i = e.at(n);\n\t\tr = !(i && (i.mode === \"text\" || i.mode === \"math\" && i.type && /mord|mpunct/.test(i.type))), r || (t = i.value + t), --n;\n\t}\n\treturn t;\n}\nfunction am(e, t, n) {\n\tlet { model: r } = e;\n\tif (r.mode === \"latex\" || !r.at(r.position).isLastSibling || !n || !od(n)) return !1;\n\tlet i = ud(n);\n\tif (!r.selectionIsCollapsed) return !!(e.model.mode === \"text\" && /[/_^]/.test(i));\n\tlet a = im(r) + i;\n\tif (e.model.mode === \"text\") {\n\t\tif (t === \"Esc\" || /[/\\\\]/.test(i)) return !0;\n\t\tif (/[\\^_]/.test(i)) return /(^|\\s)[a-zA-Z][^_]$/.test(a) && nm(r, 1), !0;\n\t\tlet e = {\n\t\t\t\")\": \"(\",\n\t\t\t\"}\": \"{\",\n\t\t\t\"]\": \"[\"\n\t\t}[i], { parent: n } = r.at(r.position);\n\t\tif (e && n instanceof R && n.leftDelim === e) return !0;\n\t\tif (/(^|[^a-zA-Z])(a|I) $/.test(a)) return !1;\n\t\tif (/[$€£₤₺¥¤฿¢₡₧₨₹₩₱]/u.test(i)) return !0;\n\t\tif (/(^|[^a-zA-Z'’])[a-zA-Z] $/.test(a)) return nm(r, 1), !1;\n\t\tif (/\\D\\.[^\\d\\s]$/.test(a)) {\n\t\t\tnm(r, 1);\n\t\t\tlet e = r.at(r.position);\n\t\t\treturn e.value = \"⋅\", e.style.variant = \"normal\", e.command = \"\\\\cdot\", e.verbatimLatex = void 0, r.contentDidChange({\n\t\t\t\tdata: \"\\\\cdot\",\n\t\t\t\tinputType: \"insertText\"\n\t\t\t}), !0;\n\t\t}\n\t\tif (/(^|\\s)[a-zA-Z][^a-zA-Z]$/.test(a) || /\\.\\d$/.test(a) || /\\([\\d+\\-.]$/.test(a)) return nm(r, 1), !0;\n\t\tif (/\\([a-z][,;]$/.test(a)) return nm(r, 2), !0;\n\t\tif (/[\\d+\\-=><*|]$/.test(i)) return rm(r), !0;\n\t} else {\n\t\tif (t === \"[Space]\") return tm(r, void 0, (e) => /[a-z][:,;.]$/.test(e.value)), !0;\n\t\tif (/[a-zA-Z]{3,}$/.test(a) && !/(dxd|abc|xyz|uvw)$/.test(a)) return tm(r, void 0, (e) => /[a-zA-Z]/.test(e.value)), !0;\n\t\tif (/(^|\\W)(if)$/i.test(a)) return tm(r, 1), !0;\n\t\tif (/(\\u0393|\\u0394|\\u0398|\\u039B|\\u039E|\\u03A0|\\u03A3|\\u03A5|\\u03A6|\\u03A8|\\u03A9|[\\u03B1-\\u03C9]|\\u03D1|\\u03D5|\\u03D6|\\u03F1|\\u03F5){3,}$/u.test(a) && !/(αβγ)$/.test(a)) return tm(r, void 0, (e) => /(:|,|;|.|\\u0393|\\u0394|\\u0398|\\u039B|\\u039E|\\u03A0|\\u03A3|\\u03A5|\\u03A6|\\u03A8|\\u03A9|[\\u03B1-\\u03C9]|\\u03D1|\\u03D5|\\u03D6|\\u03F1|\\u03F5)/u.test(e.value)), !0;\n\t\tif (i === \"?\" || i === \".\" && !/[\\d-+]\\.$/.test(a)) return !0;\n\t}\n\treturn !1;\n}\nfunction om(e, t) {\n\tif (!e.isSelectionEditable || !e.keystrokeCaptionVisible) return;\n\tlet n = cm(), r = e.element.getBoundingClientRect();\n\tn.style.left = `${r.left}px`, n.style.top = `${r.top - 64}px`, n.innerHTML = globalThis.MathfieldElement.createHTML(\"<span>\" + (td(t) || t) + \"</span>\" + n.innerHTML), n.style.visibility = \"visible\", setTimeout(() => {\n\t\tn.childNodes.length > 0 && n.childNodes[n.childNodes.length - 1].remove(), n.childNodes.length === 0 && (n.style.visibility = \"hidden\");\n\t}, 3e3);\n}\nfunction sm(e) {\n\tif (e.keystrokeCaptionVisible = !e.keystrokeCaptionVisible, e.keystrokeCaptionVisible) {\n\t\tlet e = cm();\n\t\te.innerHTML = \"\";\n\t} else {\n\t\tlet e = Md(\"mathlive-keystroke-caption-panel\");\n\t\te.style.visibility = \"hidden\";\n\t}\n\treturn !1;\n}\nfunction cm() {\n\treturn document.getElementById(\"mathlive-keystroke-caption-panel\") || (tl(\"keystroke-caption\"), tl(\"core\"), Md(\"mathlive-keystroke-caption-panel\"));\n}\nfunction lm() {\n\tdocument.getElementById(\"mathlive-keystroke-caption-panel\") && (Nd(\"mathlive-keystroke-caption-panel\"), nl(\"core\"), nl(\"keystroke-caption\"));\n}\nfunction um(e, t) {\n\tvar n, r;\n\tlet { model: i } = e, a = dd(t);\n\tif (t.isTrusted) {\n\t\tye(t);\n\t\tlet n = xe();\n\t\te.keyboardLayout !== n.id && (e.keyboardLayout = n.id, e._keybindings = void 0);\n\t}\n\tif (clearTimeout(e.inlineShortcutBufferFlushTimer), e.inlineShortcutBufferFlushTimer = 0, om(e, a), t.isTrusted && t.defaultPrevented) return e.flushInlineShortcutBuffer(), !1;\n\tlet o, s = 0, c = \"\", l = 0, u = e.inlineShortcutBuffer, d = !1;\n\tif (e.isSelectionEditable && i.selectionIsPlaceholder && od(t) && (e.flushInlineShortcutBuffer(), i.deleteAtoms(sc(i.selection)), e.snapshot(\"delete\"), d = !0), e.isSelectionEditable) {\n\t\tif (i.mode === \"math\" && (!i.selectionIsPlaceholder || d)) {\n\t\t\tif (a === \"[Backspace]\") e.undoManager.lastOp === \"insert-shortcut\" ? c = \"undo\" : u.pop();\n\t\t\telse if (!od(t)) e.flushInlineShortcutBuffer();\n\t\t\telse {\n\t\t\t\tlet n = ud(t), r = [...u[u.length - 1]?.keystrokes ?? [], n];\n\t\t\t\tu.push({\n\t\t\t\t\tstate: i.getState(),\n\t\t\t\t\tkeystrokes: r,\n\t\t\t\t\tleftSiblings: hm(e)\n\t\t\t\t}), s = 0;\n\t\t\t\tlet a = \"\";\n\t\t\t\tfor (; !o && s < r.length;) l = u.length - (r.length - s), a = r.slice(s).join(\"\"), o = pc(u[l].leftSiblings, a, e.options.inlineShortcuts), !o && /^[a-zA-Z][a-zA-Z0-9]+?([_\\^][a-zA-Z0-9\\*\\+\\-]+?)?$/.test(a) && (o = e.options.onInlineShortcut(e, a)), s += 1;\n\t\t\t\te.flushInlineShortcutBuffer({ defer: !0 });\n\t\t\t}\n\t\t}\n\t\te.options.smartMode && (o ? e.switchMode(\"math\") : am(e, a, t) && (e.switchMode({\n\t\t\tmath: \"text\",\n\t\t\ttext: \"math\"\n\t\t}[i.mode]), c = \"\"));\n\t}\n\tif (!o) {\n\t\tif (c || (c = pd(e.keybindings, i.mode, t)), !c && (a === \"[Enter]\" || a === \"[Return]\")) {\n\t\t\tlet r = !0;\n\t\t\treturn i.contentWillChange({ inputType: \"insertLineBreak\" }) && (e.host && (r = e.host.dispatchEvent(new Event(\"change\", {\n\t\t\t\tbubbles: !0,\n\t\t\t\tcomposed: !0\n\t\t\t}))), !r && t.preventDefault ? (t.preventDefault(), t.stopPropagation()) : ((n = i.parentEnvironment) != null && n.isMultiline && e.executeCommand(\"addRowAfter\"), i.contentDidChange({ inputType: \"insertLineBreak\" }))), r;\n\t\t}\n\t\tif (a === \"[Space]\" && i.mode === \"latex\" && jd(e, \"accept-all\")) return e.dirty = !0, e.scrollIntoView(), t.preventDefault && (t.preventDefault(), t.stopPropagation()), !1;\n\t\tif ((!c || a === \"[Space]\") && i.mode === \"math\") {\n\t\t\tif (a === \"[Space]\") {\n\t\t\t\tif (e.styleBias = \"none\", e.flushInlineShortcutBuffer(), e.options.mathModeSpace) return I.insert(i, e.options.mathModeSpace, {\n\t\t\t\t\tformat: \"latex\",\n\t\t\t\t\tmode: \"math\"\n\t\t\t\t}), e.snapshot(\"insert-space\"), c = \"\", e.dirty = !0, e.scrollIntoView(), t.preventDefault && (t.preventDefault(), t.stopPropagation()), !1;\n\t\t\t\tlet n = i.at(i.position + 1), r = i.at(i.position - 1);\n\t\t\t\tif (n?.mode === \"text\" || r?.mode === \"text\") return I.insert(i, \" \", { mode: \"text\" }), e.snapshot(\"insert-space\"), e.dirty = !0, e.scrollIntoView(), !1;\n\t\t\t}\n\t\t\t(r = i.at(i.position)) != null && r.isDigit() && globalThis.MathfieldElement.decimalSeparator === \",\" && ud(t) === \",\" && (c = \"insertDecimalSeparator\");\n\t\t}\n\t}\n\tif (!o && !c) {\n\t\tif (i.mathfield.smartFence) {\n\t\t\tif (vm(i, ud(t), Ed(e))) return e.dirty = !0, e.scrollIntoView(), t.preventDefault && t.preventDefault(), !1;\n\t\t} else {\n\t\t\tlet { parent: n } = i.at(i.position);\n\t\t\tif (n instanceof R && n.rightDelim === \"?\" && i.at(i.position).isLastSibling && /^[)}\\]|]$/.test(a)) return e.snapshot(), n.isDirty = !0, n.rightDelim = a, i.position += 1, i.selectionDidChange(), i.contentDidChange({\n\t\t\t\tdata: ud(t),\n\t\t\t\tinputType: \"insertText\"\n\t\t\t}), e.snapshot(\"insert-fence\"), e.dirty = !0, e.scrollIntoView(), t.preventDefault && t.preventDefault(), !1;\n\t\t\tif (!i.selectionIsCollapsed) {\n\t\t\t\tlet n = ud(t);\n\t\t\t\tif (n === \"(\" || n === \"{\" || n === \"[\") {\n\t\t\t\t\tlet r = {\n\t\t\t\t\t\t\"(\": \"(\",\n\t\t\t\t\t\t\"{\": \"\\\\lbrace\",\n\t\t\t\t\t\t\"[\": \"\\\\lbrack\"\n\t\t\t\t\t}[n], a = {\n\t\t\t\t\t\t\"(\": \")\",\n\t\t\t\t\t\t\"{\": \"\\\\rbrace\",\n\t\t\t\t\t\t\"[\": \"\\\\rbrack\"\n\t\t\t\t\t}[n], [o, s] = sc(i.selection);\n\t\t\t\t\treturn e.snapshot(), i.position = s, I.insert(i, a, { format: \"latex\" }), i.position = o, I.insert(i, r, { format: \"latex\" }), i.setSelection(o + 1, s + 1), i.contentDidChange({\n\t\t\t\t\t\tdata: n,\n\t\t\t\t\t\tinputType: \"insertText\"\n\t\t\t\t\t}), e.snapshot(\"insert-fence\"), e.dirty = !0, e.scrollIntoView(), t.preventDefault && t.preventDefault(), !1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn !0;\n\t}\n\tlet f = i.at(Math.max(i.position, i.anchor)), { parent: p } = f;\n\tif (c === \"moveAfterParent\" && p instanceof R && f.isLastSibling && e.options.smartFence && p.rightDelim === \"?\" && (e.snapshot(), p.rightDelim = p.matchingRightDelim(), p.isDirty = !0, i.contentDidChange({ inputType: \"insertText\" }), e.snapshot(\"insert-fence\")), e.keyboardDelegate.cancelComposition(), c) e.executeCommand(c);\n\telse if (o) {\n\t\tlet t = Ed(e);\n\t\ti.setState(u[l].state);\n\t\tlet n = u[u.length - 1].keystrokes;\n\t\tn = n.slice(s - 1);\n\t\tfor (let e of n) I.insert(i, e, {\n\t\t\tsilenceNotifications: !0,\n\t\t\tstyle: t\n\t\t});\n\t\te.snapshot(\"insert-shortcut\"), i.setState(u[l].state), i.deferNotifications({\n\t\t\tcontent: !0,\n\t\t\tselection: !0,\n\t\t\tdata: o,\n\t\t\ttype: \"insertText\"\n\t\t}, () => (I.insert(i, o, {\n\t\t\tformat: \"latex\",\n\t\t\tstyle: t\n\t\t}), rm(e.model), o.endsWith(\" \") && (e.switchMode(\"text\"), I.insert(i, \" \", {\n\t\t\tstyle: t,\n\t\t\tmode: \"text\"\n\t\t})), e.snapshot(), i.selectionIsCollapsed || e.flushInlineShortcutBuffer(), !0)), e.dirty = !0, i.announce(\"replacement\");\n\t}\n\treturn e.scrollIntoView(), t.preventDefault && t.preventDefault(), !1;\n}\nfunction dm(e) {\n\tlet { position: t } = e, n = t, r = [];\n\tfor (; n > 0;) {\n\t\tlet t = e.at(n), i = t.value;\n\t\tif (t.type === \"mord\" || t.type === \"mbin\" && (i === \"+\" || i === \"-\" || i === \"−\")) r.unshift(t), n--;\n\t\telse break;\n\t}\n\tif (r.length === 0) return null;\n\tlet i = r.map((e) => e.value).join(\"\"), a = (globalThis.MathfieldElement?.decimalSeparator ?? \".\") === \".\" ? \"\\\\.\" : \",\", o = RegExp(`^(\\\\d+(?:${a}\\\\d*)?)[eE]([+\\\\-\\u2212]?)(\\\\d+)$`), s = i.match(o);\n\tif (!s) return null;\n\tlet c = s[1], l = s[2] + s[3];\n\treturn {\n\t\tstartOffset: n,\n\t\tendOffset: t,\n\t\tsignificand: c,\n\t\texponent: l\n\t};\n}\nfunction fm(e, t) {\n\tlet n = globalThis.MathfieldElement?.scientificNotationTemplate;\n\tif (!n || n === \"\" || !n.includes(\"#1\") || !n.includes(\"#2\")) return null;\n\tlet r = n.replace(\"#1\", e);\n\treturn r = r.replace(\"#2\", t), r;\n}\nfunction pm(e) {\n\tlet { model: t } = e;\n\tif (t.mode !== \"math\") return !1;\n\tlet n = dm(t);\n\tif (!n) return !1;\n\tlet r = fm(n.significand, n.exponent);\n\treturn r ? (t.deferNotifications({\n\t\tcontent: !0,\n\t\tselection: !0,\n\t\ttype: \"insertText\"\n\t}, () => {\n\t\tt.selection = {\n\t\t\tranges: [[n.startOffset, n.endOffset]],\n\t\t\tdirection: \"forward\"\n\t\t}, I.insert(t, r, {\n\t\t\tinsertionMode: \"replaceSelection\",\n\t\t\tselectionMode: \"after\"\n\t\t});\n\t}), e.snapshot(\"format-scientific-notation\"), e.dirty = !0, e.scrollIntoView(), !0) : !1;\n}\nfunction mm(e, t, n) {\n\tlet { model: r } = e;\n\tif (!e.isSelectionEditable) {\n\t\tr.announce(\"plonk\");\n\t\treturn;\n\t}\n\tn ?? (n = {}), n.focus && e.focus(), n.feedback && globalThis.MathfieldElement.playSound(\"keypress\"), typeof n.mode == \"string\" && (e.switchMode(n.mode), e.snapshot());\n\tlet i = rs(t), a = window.mathVirtualKeyboard;\n\tif (a != null && a.isShifted && (i = typeof i == \"string\" ? i.toUpperCase() : i.map((e) => e.toUpperCase())), n.simulateKeystroke) {\n\t\tlet t = !0;\n\t\tfor (let n of i) um(e, new KeyboardEvent(\"keypress\", { key: n })) && (t = !1);\n\t\tif (t) return;\n\t}\n\tif (r.mode === \"latex\") {\n\t\tif (r.deferNotifications({\n\t\t\tcontent: !0,\n\t\t\tselection: !0,\n\t\t\tdata: t,\n\t\t\ttype: \"insertText\"\n\t\t}, () => {\n\t\t\tOd(e);\n\t\t\tfor (let e of i) I.insert(r, e, { insertionMode: \"replaceSelection\" });\n\t\t\te.snapshot(\"insert-latex\"), kd(e);\n\t\t}), t === \"}\") {\n\t\t\tlet t = xd(r).map((e) => e.value).join(\"\"), n = t.match(/^\\\\([a-zA-Z]+)/);\n\t\t\tif (n) {\n\t\t\t\tlet r = ft(\"\\\\\" + n[1], \"math\");\n\t\t\t\tif (r?.definitionType === \"function\") {\n\t\t\t\t\tlet n = r.params.filter((e) => !e.isOptional).length;\n\t\t\t\t\tif (n > 0) {\n\t\t\t\t\t\tlet r = 0, i = 0, a = !0;\n\t\t\t\t\t\tfor (let e = 0; e < t.length; e++) {\n\t\t\t\t\t\t\tlet n = t[e];\n\t\t\t\t\t\t\tif (a) {\n\t\t\t\t\t\t\t\tif (n === \"\\\\\" || /[a-zA-Z]/.test(n)) continue;\n\t\t\t\t\t\t\t\ta = !1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tn === \"{\" ? r++ : n === \"}\" && (r--, r === 0 && i++);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (r === 0 && i === n && jd(e, \"accept-all\")) {\n\t\t\t\t\t\t\te.dirty = !0, e.scrollIntoView();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t} else if (r.mode === \"text\") {\n\t\tlet t = s(s({}, _m(r)), e.defaultStyle);\n\t\tfor (let e of i) I.insert(r, e, {\n\t\t\tstyle: t,\n\t\t\tinsertionMode: \"replaceSelection\"\n\t\t});\n\t\te.snapshot(\"insert-text\");\n\t} else if (r.mode === \"math\") for (let t of i) gm(e, t);\n\te.dirty = !0, e.scrollIntoView();\n}\nfunction hm(e) {\n\tlet t = e.model, n = [], r = t.at(Math.min(t.position, t.anchor));\n\tfor (; r.type !== \"first\";) n.push(r), r = r.leftSibling;\n\treturn n;\n}\nfunction gm(e, t) {\n\tlet n = e.model;\n\t/\\d/.test(t) || pm(e);\n\tlet r = {\n\t\t\"^\": \"moveToSuperscript\",\n\t\t_: \"moveToSubscript\",\n\t\t\" \": e.options.mathModeSpace ? [\"insert\", e.options.mathModeSpace] : \"moveAfterParent\"\n\t}[t];\n\tif (r === \"moveAfterParent\") {\n\t\tlet t = n.at(Math.max(n.position, n.anchor)), { parent: r } = t;\n\t\tr instanceof R && t.isLastSibling && e.options.smartFence && r.rightDelim === \"?\" && (e.snapshot(), r.rightDelim = r.matchingRightDelim(), r.isDirty = !0, n.contentDidChange({ inputType: \"insertText\" }), e.snapshot(\"insert-fence\"));\n\t}\n\tif (r) {\n\t\te.executeCommand(r);\n\t\treturn;\n\t}\n\tlet i = s({}, Ed(e));\n\t!/[a-zA-Z0-9]/.test(t) && e.styleBias !== \"none\" && (i.variant = \"normal\", i.variantStyle = void 0);\n\tlet a = n.at(n.position), o = n.selectionIsPlaceholder;\n\tif (/\\d/.test(t) && e.options.smartSuperscript && a.parentBranch === \"superscript\" && a.parent.type !== \"mop\" && a.parent.type !== \"operator\" && a.parent.type !== \"extensible-symbol\" && a.hasNoSiblings) {\n\t\tif (!I.insert(n, t, {\n\t\t\tstyle: i,\n\t\t\tinsertionMode: \"replaceSelection\",\n\t\t\tselectionMode: o ? \"after\" : \"placeholder\"\n\t\t})) {\n\t\t\te.undoManager.pop();\n\t\t\treturn;\n\t\t}\n\t\te.snapshot(\"insert-mord\"), Wp(n);\n\t\treturn;\n\t}\n\tlet c = t;\n\tif (c === \"{\" ? c = \"\\\\lbrace\" : c === \"}\" ? c = \"\\\\rbrace\" : c === \"&\" ? c = \"\\\\&\" : c === \"#\" ? c = \"\\\\#\" : c === \"$\" ? c = \"\\\\$\" : c === \"%\" ? c = \"\\\\%\" : c === \"~\" ? c = \"\\\\~\" : c === \"\\\\\" && (c = \"\\\\backslash\"), I.insert(n, c, {\n\t\tstyle: i,\n\t\tinsertionMode: \"replaceSelection\",\n\t\tselectionMode: o ? \"after\" : \"placeholder\"\n\t}) && (e.snapshot(`insert-${n.at(n.position).type}`), /\\d/.test(t))) {\n\t\tlet t = e.options.inlineShortcutTimeout > 0 ? e.options.inlineShortcutTimeout : 1e3;\n\t\tclearTimeout(e.scientificNotationTimer), e.scientificNotationTimer = setTimeout(() => {\n\t\t\tpm(e);\n\t\t}, t);\n\t}\n}\nfunction _m(e) {\n\tif (e.selectionIsCollapsed) return e.at(e.position)?.style ?? {};\n\tlet t = sc(e.selection)[0];\n\treturn e.at(t + 1)?.style ?? {};\n}\nfunction vm(e, t, n) {\n\tif (!t || e.mode !== \"math\") return !1;\n\tlet r = e.at(e.position), { parent: i } = r, a = {\n\t\t\"(\": \"(\",\n\t\t\")\": \")\",\n\t\t\"{\": \"\\\\lbrace\",\n\t\t\"}\": \"\\\\rbrace\",\n\t\t\"[\": \"\\\\lbrack\",\n\t\t\"]\": \"\\\\rbrack\",\n\t\t\"|\": \"|\"\n\t}[t];\n\tif (!a) return !1;\n\tlet o = al[a], s = il[a];\n\tif (!e.selectionIsCollapsed) {\n\t\te.mathfield.snapshot();\n\t\tlet [t, n] = sc(e.selection), r = e.extractAtoms([t, n]);\n\t\tr = r.filter((e) => e.type !== \"first\");\n\t\tlet o = i.addChildrenAfter([new R(\"left...right\", r, {\n\t\t\tleftDelim: a,\n\t\t\trightDelim: s\n\t\t})], e.at(t));\n\t\treturn e.setSelection(e.offsetOf(o.firstChild), e.offsetOf(o.lastChild)), e.mathfield.snapshot(\"insert-fence\"), e.contentDidChange({\n\t\t\tdata: a,\n\t\t\tinputType: \"insertText\"\n\t\t}), !0;\n\t}\n\tif (a === \"|\") {\n\t\tlet t = i instanceof R ? i.leftDelim + i.rightDelim : \"\";\n\t\tif (t === \"\\\\lbrace\\\\rbrace\" || t === \"\\\\{\\\\}\" || t === \"\\\\lbrace?\") return e.mathfield.snapshot(), I.insert(e, \"\\\\,\\\\middle\\\\vert\\\\,\", {\n\t\t\tformat: \"latex\",\n\t\t\tstyle: n\n\t\t}), e.mathfield.snapshot(\"insert-fence\"), e.contentDidChange({\n\t\t\tdata: a,\n\t\t\tinputType: \"insertText\"\n\t\t}), !0;\n\t}\n\tif (s) {\n\t\tif (i instanceof R && i.firstChild === r && (i.leftDelim === \"?\" || i.leftDelim === \".\")) return i.leftDelim = a, i.isDirty = !0, e.mathfield.snapshot(), e.contentDidChange({\n\t\t\tdata: a,\n\t\t\tinputType: \"insertText\"\n\t\t}), e.mathfield.snapshot(\"insert-fence\"), !0;\n\t\tif (!(i instanceof R)) {\n\t\t\tlet t = r;\n\t\t\tfor (; t && (t.type !== \"mclose\" || t.value !== s);) t = t.rightSibling;\n\t\t\tif (t) {\n\t\t\t\te.mathfield.snapshot();\n\t\t\t\tlet n = e.extractAtoms([e.offsetOf(r), e.offsetOf(t)]);\n\t\t\t\tn.pop(), n = n.filter((e) => e.type !== \"first\");\n\t\t\t\tlet o = new R(\"left...right\", n, {\n\t\t\t\t\tleftDelim: a,\n\t\t\t\t\trightDelim: s\n\t\t\t\t});\n\t\t\t\treturn i.addChildrenAfter([o], r), e.position = e.offsetOf(o.firstChild), e.contentDidChange({\n\t\t\t\t\tdata: a,\n\t\t\t\t\tinputType: \"insertText\"\n\t\t\t\t}), e.mathfield.snapshot(\"insert-fence\"), !0;\n\t\t\t}\n\t\t}\n\t\tlet t = e.offsetOf(r.lastSibling), o;\n\t\tfor (o = e.position; o <= t; o++) {\n\t\t\tlet t = e.at(o);\n\t\t\tif (t instanceof R && (t.leftDelim === \"?\" || t.leftDelim === \".\") && bm(a, t.rightDelim)) break;\n\t\t}\n\t\tlet c = e.at(o);\n\t\tif (o <= t && c instanceof R) {\n\t\t\tc.leftDelim = a, e.mathfield.snapshot();\n\t\t\tlet t = e.extractAtoms([e.position, o - 1]);\n\t\t\treturn t = t.filter((e) => e.type !== \"first\"), c.addChildren(t, c.parentBranch), e.position += 1, e.contentDidChange({\n\t\t\t\tdata: a,\n\t\t\t\tinputType: \"insertText\"\n\t\t\t}), e.mathfield.snapshot(\"insert-fence\"), !0;\n\t\t}\n\t\tif (i instanceof R && (i.leftDelim === \"?\" || i.leftDelim === \".\") && bm(a, i.rightDelim)) {\n\t\t\ti.isDirty = !0, i.leftDelim = a, e.mathfield.snapshot();\n\t\t\tlet t = e.extractAtoms([e.offsetOf(r.firstSibling), e.position]);\n\t\t\tfor (let e of t) i.parent.addChildBefore(e, i);\n\t\t\treturn e.contentDidChange({\n\t\t\t\tdata: a,\n\t\t\t\tinputType: \"insertText\"\n\t\t\t}), e.mathfield.snapshot(\"insert-fence\"), !0;\n\t\t}\n\t\tif (!(i instanceof R && i.leftDelim === \"|\")) {\n\t\t\tif (a === \"(\") {\n\t\t\t\tlet t = e.position - 1, n = !1;\n\t\t\t\tfor (; t >= 0;) {\n\t\t\t\t\tlet r = e.at(t);\n\t\t\t\t\tif (r.type === \"first\") break;\n\t\t\t\t\tif (r.type === \"mord\" && r.value && /^[\\d]$/.test(r.value)) {\n\t\t\t\t\t\t--t;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif (r.type === \"group\" && r.body?.length === 2 && r.body[0].type === \"first\" && r.body[1].value === \",\") {\n\t\t\t\t\t\tn = !0;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tif (r.type === \"mord\" && (r.value === \",\" || r.value === \".\")) {\n\t\t\t\t\t\tn = !0;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (n) return !1;\n\t\t\t}\n\t\t\tif (e.mathfield.snapshot(), I.insert(e, `\\\\left${a}\\\\right?`, {\n\t\t\t\tformat: \"latex\",\n\t\t\t\tstyle: n\n\t\t\t}), r.lastSibling.type !== \"first\") {\n\t\t\t\tlet t = e.offsetOf(r.lastSibling), n = e.extractAtoms([e.position, t]);\n\t\t\t\te.at(e.position).body = n, --e.position;\n\t\t\t}\n\t\t\treturn e.mathfield.snapshot(\"insert-fence\"), !0;\n\t\t}\n\t}\n\tif (o) {\n\t\tif (a === \")\") {\n\t\t\tlet t = e.position - 1, n = !1;\n\t\t\tfor (; t >= 0;) {\n\t\t\t\tlet r = e.at(t);\n\t\t\t\tif (r.type === \"first\") break;\n\t\t\t\tif (r.type === \"mord\" && r.value && /^[\\d]$/.test(r.value)) {\n\t\t\t\t\tn = !0, --t;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (n && e.at(t).type === \"mopen\" && e.at(t).value === \"(\") return !1;\n\t\t}\n\t\tlet t = r;\n\t\tfor (; t;) {\n\t\t\tif (t.type === \"mopen\" && t.value === o) {\n\t\t\t\te.mathfield.snapshot();\n\t\t\t\tlet n = t.leftSibling, s = e.extractAtoms([e.offsetOf(t.leftSibling), e.offsetOf(r)]);\n\t\t\t\t[, ...s] = s;\n\t\t\t\tlet c = new R(\"left...right\", s, {\n\t\t\t\t\tleftDelim: o,\n\t\t\t\t\trightDelim: a\n\t\t\t\t});\n\t\t\t\treturn i.addChildrenAfter([c], n), e.position = e.offsetOf(c), e.contentDidChange({\n\t\t\t\t\tdata: a,\n\t\t\t\t\tinputType: \"insertText\"\n\t\t\t\t}), e.mathfield.snapshot(\"insert-fence\"), !0;\n\t\t\t}\n\t\t\tt = t.leftSibling;\n\t\t}\n\t\tif (i instanceof R && r.isLastSibling && ym(i.leftDelim, a)) return e.mathfield.snapshot(), i.isDirty = !0, i.rightDelim = a, e.position += 1, e.contentDidChange({\n\t\t\tdata: a,\n\t\t\tinputType: \"insertText\"\n\t\t}), e.mathfield.snapshot(\"insert-fence\"), !0;\n\t\tlet s = e.offsetOf(r.firstSibling), c;\n\t\tfor (c = e.position; c >= s; c--) {\n\t\t\tlet t = e.at(c);\n\t\t\tif (t instanceof R && (t.rightDelim === \"?\" || t.rightDelim === \".\") && ym(t.leftDelim, a)) break;\n\t\t}\n\t\tlet l = e.at(c);\n\t\tif (c >= s && l instanceof R) return e.mathfield.snapshot(), l.rightDelim = a, l.addChildren(e.extractAtoms([c, e.position]), l.parentBranch), e.contentDidChange({\n\t\t\tdata: a,\n\t\t\tinputType: \"insertText\"\n\t\t}), e.mathfield.snapshot(\"insert-fence\"), !0;\n\t\tif (i instanceof R && (i.rightDelim === \"?\" || i.rightDelim === \".\") && ym(i.leftDelim, a)) return e.mathfield.snapshot(), i.isDirty = !0, i.rightDelim = a, i.parent.addChildren(e.extractAtoms([e.position, e.offsetOf(r.lastSibling)]), i.parentBranch), e.position = e.offsetOf(i), e.contentDidChange({\n\t\t\tdata: a,\n\t\t\tinputType: \"insertText\"\n\t\t}), e.mathfield.snapshot(\"insert-fence\"), !0;\n\t\tlet u = i.parent;\n\t\treturn u instanceof R && (u.rightDelim === \"?\" || u.rightDelim === \".\") && e.at(e.position).isLastSibling ? (e.position = e.offsetOf(u), vm(e, a, n)) : !1;\n\t}\n\treturn !1;\n}\nfunction ym(e, t) {\n\treturn e ? [\n\t\t\"(\",\n\t\t\"\\\\lparen\",\n\t\t\"{\",\n\t\t\"\\\\{\",\n\t\t\"\\\\lbrace\",\n\t\t\"[\",\n\t\t\"\\\\lbrack\"\n\t].includes(e) ? [\n\t\t\")\",\n\t\t\"\\\\rparen\",\n\t\t\"}\",\n\t\t\"\\\\}\",\n\t\t\"\\\\rbrace\",\n\t\t\"]\",\n\t\t\"\\\\rbrack\"\n\t].includes(t) : il[e] === t : !0;\n}\nfunction bm(e, t) {\n\treturn t ? [\n\t\t\")\",\n\t\t\"\\\\rparen\",\n\t\t\"}\",\n\t\t\"\\\\}\",\n\t\t\"\\\\rbrace\",\n\t\t\"]\",\n\t\t\"\\\\rbrack\"\n\t].includes(t) ? [\n\t\t\"(\",\n\t\t\"\\\\lparen\",\n\t\t\"{\",\n\t\t\"\\\\{\",\n\t\t\"\\\\lbrace\",\n\t\t\"[\",\n\t\t\"\\\\lbrack\"\n\t].includes(e) : al[t] === e : !0;\n}\nsf({\n\tscrollIntoView: (e) => (e.scrollIntoView(), !0),\n\tscrollToStart: (e) => (e.field.scroll(0, 0), !0),\n\tscrollToEnd: (e) => {\n\t\tlet t = e.field.getBoundingClientRect();\n\t\treturn e.field.scroll(t.left - window.scrollX, 0), !0;\n\t},\n\ttoggleKeystrokeCaption: sm,\n\ttoggleContextMenu: (e) => {\n\t\tlet t = e.toggleContextMenu();\n\t\treturn t || e.model.announce(\"plonk\"), t;\n\t},\n\tplonk: (e) => (e.model.announce(\"plonk\"), !0),\n\tswitchMode: (e, t, n, r) => (e.switchMode(t, n, r), !0)\n}), sf({\n\tundo: (e) => (e.undo(), !0),\n\tredo: (e) => (e.redo(), !0)\n}, {\n\ttarget: \"mathfield\",\n\tchangeContent: !0\n}), sf({\n\tinsert: (e, t, n) => e.insert(t, n),\n\ttypedText: (e, t, n) => (mm(e, t, n), !0),\n\tinsertDecimalSeparator: (e) => {\n\t\tlet t = e.model;\n\t\treturn t.mode === \"math\" && globalThis.MathfieldElement.decimalSeparator === \",\" && t.at(Math.max(t.position, t.anchor)).isDigit() ? (e.insert(\"{,}\", { format: \"latex\" }), e.snapshot(\"insert-mord\"), !0) : (e.insert(\".\"), !0);\n\t},\n\tcommit: (e) => {\n\t\tvar t, n;\n\t\tlet r = e.model;\n\t\treturn r.contentWillChange({ inputType: \"insertLineBreak\" }) && ((t = e.host) == null || t.dispatchEvent(new Event(\"change\", {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t})), (n = r.parentEnvironment) != null && n.isMultiline && e.executeCommand(\"addRowAfter\"), r.contentDidChange({ inputType: \"insertLineBreak\" })), !0;\n\t},\n\tinsertPrompt: (e, t, n) => {\n\t\tlet r = e.getPrompts(), i = \"prompt-\" + Date.now().toString(36).slice(-2) + Math.floor(Math.random() * 1e5).toString(36), a = 0;\n\t\tfor (; r.includes(i) && a < 100;) {\n\t\t\tif (a === 99) return console.error(\"could not find a unique ID after 100 tries\"), !1;\n\t\t\ti = \"prompt-\" + Date.now().toString(36).slice(-2) + Math.floor(Math.random() * 1e5).toString(36), a++;\n\t\t}\n\t\treturn e.insert(`\\\\placeholder[${t ?? i}]{}`, n), !0;\n\t}\n}, {\n\ttarget: \"mathfield\",\n\tcanUndo: !0,\n\tchangeContent: !0,\n\tchangeSelection: !0\n}), sf({ copyToClipboard: (e) => (e.focus(), e.model.selectionIsCollapsed && e.select(), \"queryCommandSupported\" in document && document.queryCommandSupported(\"copy\") && document.execCommand(\"copy\") || e.element.querySelector(\".ML__keyboard-sink\").dispatchEvent(new ClipboardEvent(\"copy\", {\n\tbubbles: !0,\n\tcomposed: !0\n})), !1) }, { target: \"mathfield\" }), sf({\n\tcutToClipboard: (e) => (e.focus(), \"queryCommandSupported\" in document && document.queryCommandSupported(\"cut\") && document.execCommand(\"cut\") || e.element.querySelector(\".ML__keyboard-sink\").dispatchEvent(new ClipboardEvent(\"cut\", {\n\t\tbubbles: !0,\n\t\tcomposed: !0\n\t})), !0),\n\tpasteFromClipboard: (e) => (e.focus(), \"queryCommandSupported\" in document && document.queryCommandSupported(\"paste\") ? (document.execCommand(\"paste\"), !0) : (navigator.clipboard.readText().then((t) => {\n\t\tt && e.model.contentWillChange({\n\t\t\tinputType: \"insertFromPaste\",\n\t\t\tdata: t\n\t\t}) ? (e.stopCoalescingUndo(), e.stopRecording(), e.insert(t, { mode: e.model.mode }) && (kd(e), e.startRecording(), e.snapshot(\"paste\"), e.model.contentDidChange({ inputType: \"insertFromPaste\" }), H(e))) : e.model.announce(\"plonk\"), e.startRecording();\n\t}).catch(() => {\n\t\te.model.announce(\"plonk\"), e.startRecording();\n\t}), !0))\n}, {\n\ttarget: \"mathfield\",\n\tcanUndo: !0,\n\tchangeContent: !0,\n\tchangeSelection: !0\n});\nfunction xm(e) {\n\tlet [t, n] = sc(e.selection);\n\tif (t = Sm(e, t, \"backward\"), n = Sm(e, n, \"forward\"), t === n) {\n\t\tlet r = e.at(t);\n\t\tif (r.type === \"leftright\") return e.setSelection(e.offsetOf(r.firstChild) - 1, n);\n\t\tif (r.type === \"first\" && (r.parent.type === \"leftright\" || r.parent.type === \"surd\")) return e.setSelection(t - 1, e.offsetOf(r.parent.lastChild) + 1);\n\t\te.setSelection(t - 1, n);\n\t} else e.setSelection(t, n);\n\treturn !0;\n}\nfunction Sm(e, t, n) {\n\tvar r;\n\tlet i = e.at(t);\n\tif (!i) return t;\n\tlet a = n === \"forward\" ? 1 : -1;\n\tif (i.mode === \"text\") {\n\t\tfor (; i && !(i.mode !== \"text\" || !Qe.test(i.value));) t += a, i = e.at(t);\n\t\treturn n === \"backward\" ? t - 1 : t;\n\t}\n\tif (i.mode === \"latex\") {\n\t\tif (/[a-zA-Z\\\\*]/.test(i.value)) {\n\t\t\tif (n === \"backward\") for (; i?.mode === \"latex\" && i.value !== \"\\\\\" && /[a-zA-Z]/.test(i.value);) t += a, i = e.at(t);\n\t\t\telse for (; i?.mode === \"latex\" && /[a-zA-Z\\\\*]/.test(i.value);) t += a, i = e.at(t);\n\t\t} else if (i.value === \"{\") {\n\t\t\tif (n === \"forward\") {\n\t\t\t\tfor (; i?.mode === \"latex\" && i.value !== \"}\";) t += a, i = e.at(t);\n\t\t\t\treturn t;\n\t\t\t}\n\t\t\treturn t - 1;\n\t\t} else if (i.value === \"}\") {\n\t\t\tif (n === \"backward\") {\n\t\t\t\tfor (; i?.mode === \"latex\" && i.value !== \"{\";) t += a, i = e.at(t);\n\t\t\t\treturn t - 1;\n\t\t\t}\n\t\t\treturn t;\n\t\t}\n\t\treturn t - 1;\n\t}\n\tif (i.mode === \"math\") {\n\t\tif (i.isDigit()) {\n\t\t\tfor (; (r = e.at(t + a)) != null && r.isDigit();) t += a;\n\t\t\treturn n === \"backward\" ? t - 1 : t;\n\t\t}\n\t\tif (i.style.variant || i.style.variantStyle) {\n\t\t\tlet r = i.style.variant, o = i.style.variantStyle;\n\t\t\tfor (;;) {\n\t\t\t\tlet n = e.at(t + a);\n\t\t\t\tif (!n || n.style.variant !== r || n.style.variantStyle !== o) break;\n\t\t\t\tt += a;\n\t\t\t}\n\t\t\treturn n === \"backward\" ? t - 1 : t;\n\t\t}\n\t\treturn t;\n\t}\n\treturn t;\n}\nsf({\n\tselectGroup: (e) => {\n\t\tlet t = xm(e);\n\t\treturn t || e.announce(\"plonk\"), t;\n\t},\n\tselectAll: (e) => e.setSelection(0, e.lastOffset),\n\textendSelectionForward: (e) => Lp(e, \"forward\", { extend: !0 }),\n\textendSelectionBackward: (e) => Lp(e, \"backward\", { extend: !0 }),\n\textendToNextWord: (e) => Ip(e, \"forward\", { extend: !0 }),\n\textendToPreviousWord: (e) => Ip(e, \"backward\", { extend: !0 }),\n\textendSelectionUpward: (e) => Lp(e, \"upward\", { extend: !0 }),\n\textendSelectionDownward: (e) => Lp(e, \"downward\", { extend: !0 }),\n\textendToNextBoundary: (e) => Ip(e, \"forward\", { extend: !0 }),\n\textendToPreviousBoundary: (e) => Ip(e, \"backward\", { extend: !0 }),\n\textendToGroupStart: (e) => {\n\t\tlet t = e.setSelection(e.anchor, e.offsetOf(e.at(e.position).firstSibling));\n\t\treturn t || e.announce(\"plonk\"), t;\n\t},\n\textendToGroupEnd: (e) => {\n\t\tlet t = e.setSelection(e.anchor, e.offsetOf(e.at(e.position).lastSibling));\n\t\treturn t || e.announce(\"plonk\"), t;\n\t},\n\textendToMathFieldStart: (e) => {\n\t\tlet t = e.setSelection(e.anchor, 0);\n\t\treturn t || e.announce(\"plonk\"), t;\n\t},\n\textendToMathFieldEnd: (e) => {\n\t\tlet t = e.setSelection(e.anchor, e.lastOffset);\n\t\treturn t || e.announce(\"plonk\"), t;\n\t}\n}, {\n\ttarget: \"model\",\n\tchangeSelection: !0\n});\nvar Cm = null, wm = 0, Tm = class e {\n\tstatic start(t, n, r, i) {\n\t\tvar a;\n\t\te.element = t, (a = e.controller) == null || a.abort(), e.controller = new AbortController();\n\t\tlet o = { signal: e.controller.signal };\n\t\t\"PointerEvent\" in window ? (t.addEventListener(\"pointermove\", r, o), t.addEventListener(\"pointerup\", i, o), t.addEventListener(\"pointercancel\", i, o), Em(n) && (e.pointerId = n.pointerId, t.setPointerCapture(n.pointerId))) : (window.addEventListener(\"mousemove\", r, o), window.addEventListener(\"blur\", i, o), window.addEventListener(\"mouseup\", i, o));\n\t}\n\tstatic stop() {\n\t\tvar t;\n\t\t(t = e.controller) == null || t.abort(), e.controller = void 0, typeof e.pointerId == \"number\" && (e.element.releasePointerCapture(e.pointerId), e.pointerId = void 0);\n\t}\n};\nfunction Em(e) {\n\treturn e !== null && globalThis.PointerEvent !== void 0 && e instanceof PointerEvent;\n}\nfunction Dm(e, t, n) {\n\treturn e >= n.left && e <= n.right && t >= n.top && t <= n.bottom;\n}\nfunction Om(e, t, n) {\n\treturn e < t ? t : e > n ? n : e;\n}\nfunction km(e, t) {\n\tif (t.buttons > 1) return;\n\te.atomBoundsCache ? e.atomBoundsCache.clear() : e.atomBoundsCache = /* @__PURE__ */ new Map();\n\tlet n = e, r, i = !1, a = !1, o = \"none\", s = !1, c = !1, l = t.clientX, u = t.clientY, d = Date.now(), f = n.field, p = setInterval(() => {\n\t\ts ? f.scroll({\n\t\t\ttop: 0,\n\t\t\tleft: f.scrollLeft - 16\n\t\t}) : c && f.scroll({\n\t\t\ttop: 0,\n\t\t\tleft: f.scrollLeft + 16\n\t\t});\n\t}, 32);\n\tfunction m() {\n\t\tTm.stop(), i = !1, clearInterval(p), e.element.classList.remove(\"tracking\"), t && t.preventDefault();\n\t}\n\tfunction h(t) {\n\t\tif (!n.hasFocus()) {\n\t\t\tm();\n\t\t\treturn;\n\t\t}\n\t\tlet i = t.clientX, o = t.clientY, p = Em(t) && t.pointerType === \"touch\" ? 20 : 5;\n\t\tif (Date.now() < d + 500 && Math.abs(l - i) < p && Math.abs(u - o) < p) {\n\t\t\tt.preventDefault(), t.stopPropagation();\n\t\t\treturn;\n\t\t}\n\t\tlet h = f.getBoundingClientRect();\n\t\tc = i > h.right, s = i < h.left;\n\t\tlet g = r;\n\t\tEm(t) && (t.isPrimary || (g = Nm(n, t.clientX, t.clientY, { bias: 0 })));\n\t\tlet _ = Nm(n, i, o, { bias: i <= l ? i === l ? 0 : -1 : 1 });\n\t\tg >= 0 && _ >= 0 && (n.model.extendSelectionTo(g, _), H(e)), a && xm(n.model);\n\t}\n\tCm && Math.abs(Cm.x - l) < 5 && Math.abs(Cm.y - u) < 5 && Date.now() < Cm.time + 500 ? (wm += 1, Cm.time = d) : (Cm = {\n\t\tx: l,\n\t\ty: u,\n\t\ttime: d\n\t}, wm = 1);\n\tlet g = f.getBoundingClientRect(), _ = e.container?.getBoundingClientRect() ?? e.element.getBoundingClientRect(), ee = e.element?.getBoundingClientRect() ?? _, v = Dm(l, u, g), y = !v && _ ? Dm(l, u, _) : !1, te = !v && !y && ee ? Dm(l, u, ee) : !1, ne = v ? l : y || te ? Om(l, g.left, g.right) : l, re = v ? u : y || te ? Om(u, g.top, g.bottom) : u;\n\tif (v || y || te) {\n\t\tif (e.flushInlineShortcutBuffer(), r = Nm(e, ne, re, { bias: 0 }), r !== e.model.anchor) {\n\t\t\tlet t = e.defaultStyle.variantStyle;\n\t\t\te.defaultStyle = t === void 0 ? {} : { variantStyle: t }, e.styleBias = \"left\";\n\t\t}\n\t\tif (r >= 0) {\n\t\t\tif (e.element.classList.add(\"tracking\"), t.shiftKey) {\n\t\t\t\tlet t = e.model.selectionIsCollapsed;\n\t\t\t\te.model.extendSelectionTo(e.model.anchor, r), o = Ad(e.model) || t ? \"all\" : \"selection\";\n\t\t\t} else if (e.model.at(r).type === \"placeholder\" || e.model.at(r).type === \"prompt\") {\n\t\t\t\tlet t = e.model.at(r);\n\t\t\t\tt.hasChildren && t.firstChild ? e.model.position = e.model.offsetOf(t.firstChild) : e.model.setSelection(r - 1, r), o = \"selection\";\n\t\t\t} else if (e.model.at(r).rightSibling?.type === \"placeholder\" || e.model.at(r).rightSibling?.type === \"prompt\") {\n\t\t\t\tlet t = e.model.at(r).rightSibling;\n\t\t\t\tt.hasChildren && t.firstChild ? e.model.position = e.model.offsetOf(t.firstChild) : e.model.setSelection(r, r + 1), o = \"selection\";\n\t\t\t} else {\n\t\t\t\tlet t = e.model.at(r);\n\t\t\t\tif (t.captureSelection && t.hasChildren && t.body && t.body.length > 0) {\n\t\t\t\t\tlet n = t.body.find((e) => e.type !== \"first\");\n\t\t\t\t\tn && (n.type === \"placeholder\" || n.type === \"prompt\") && n.hasChildren && n.firstChild ? (e.model.position = e.model.offsetOf(n.firstChild), o = \"selection\") : (e.model.position = r, o = Ad(e.model) ? \"all\" : \"selection\");\n\t\t\t\t} else e.model.position = r, o = Ad(e.model) ? \"all\" : \"selection\";\n\t\t\t}\n\t\t\tt.detail === 3 || wm > 2 ? (m(), (t.detail === 3 || wm === 3) && (e.model.selection = { ranges: [[0, e.model.lastOffset]] }, o = \"all\")) : i || (i = !0, Tm.start(f, t, h, m), (t.detail === 2 || wm === 2) && (a = !0, xm(e.model), o = \"all\"));\n\t\t}\n\t\te.hasFocus() || (o = \"none\", e.onFocus(), e.model.announce(\"line\"));\n\t} else Cm = null;\n\te.stopCoalescingUndo(), o !== \"none\" && (e.model.selectionIsCollapsed && (o = \"all\"), H(e)), t.preventDefault();\n}\nfunction Am(e, t, n) {\n\tif (e >= n.left && e <= n.right && t >= n.top && t <= n.bottom) return 0;\n\tlet r = e - (n.left + n.right) / 2, i = t - (n.top + n.bottom) / 2;\n\treturn r * r + i * i;\n}\nfunction jm(e, t, n, r, i) {\n\tif (!n.id) return [1 / 0, null];\n\tif (t.has(n.id)) return t.get(n.id);\n\tlet a = Fc(e, n);\n\tif (!a) return [1 / 0, null];\n\tlet o = [1 / 0, null], s = e.model;\n\tif (n instanceof L) {\n\t\tlet a = -1, s = 1 / 0;\n\t\tfor (let t = 0; t < n.rows.length; t++) {\n\t\t\tlet r = n.rows[t];\n\t\t\tif (!r || r.length === 0) continue;\n\t\t\tlet o = 1 / 0, c = -1 / 0;\n\t\t\tfor (let t of r) if (t) for (let n of t) {\n\t\t\t\tlet t = Fc(e, n);\n\t\t\t\tt && (o = Math.min(o, t.top), c = Math.max(c, t.bottom));\n\t\t\t}\n\t\t\tif (o !== 1 / 0 && c !== -1 / 0) {\n\t\t\t\tlet e;\n\t\t\t\te = i < o ? o - i : i > c ? i - c : 0, e < s && (s = e, a = t);\n\t\t\t}\n\t\t}\n\t\tlet c = a >= 0 ? [n.rows[a]] : n.rows;\n\t\tfor (let n of c) for (let a of n) if (a) for (let n of a) {\n\t\t\tlet a = jm(e, t, n, r, i);\n\t\t\ta[0] <= o[0] && (o = a);\n\t\t}\n\t\tif (!n.isMultiline) for (let a of n.children) {\n\t\t\tlet n = jm(e, t, a, r, i);\n\t\t\tn[0] <= o[0] && (o = n);\n\t\t}\n\t} else if (n.hasChildren && !n.captureSelection && r >= a.left && r <= a.right) {\n\t\tlet a = n.children;\n\t\tfor (let n of a) {\n\t\t\tlet a = jm(e, t, n, r, i);\n\t\t\ta[0] <= o[0] && (o = a);\n\t\t}\n\t\tfor (let a of n.branches) {\n\t\t\tlet c = n.branch(a);\n\t\t\tif (!c || c.length === 0) continue;\n\t\t\tlet l = Ic(e, [s.offsetOf(c[0]), s.offsetOf(c[c.length - 1])]);\n\t\t\tif (i >= l.top && i <= l.bottom) for (let n of c) {\n\t\t\t\tlet a = jm(e, t, n, r, i);\n\t\t\t\ta[0] <= o[0] && (o = a);\n\t\t\t}\n\t\t}\n\t}\n\treturn o[1] || (o = [Am(r, i, a), n]), t.set(n.id, o), o;\n}\nfunction Mm(e, t, n) {\n\tlet [, r] = jm(e, /* @__PURE__ */ new Map(), e.model.root, t, n);\n\treturn r;\n}\nfunction Nm(e, t, n, r) {\n\tlet i = e.field.querySelector(\".ML__latex\").getBoundingClientRect();\n\tif (!i) return 0;\n\tif (t > i.right || n > i.bottom + 8) return e.model.lastOffset;\n\tif (t < i.left || n < i.top - 8) return 0;\n\tr = r ?? {}, r.bias = r.bias ?? 0;\n\tlet a = Mm(e, t, n), o = [], s = a;\n\tfor (; s;) o.unshift(s), s = s.parent;\n\tfor (let e of o) if (e.captureSelection) {\n\t\ta = e;\n\t\tbreak;\n\t}\n\tlet c = e.model.offsetOf(a);\n\tif (c < 0) return -1;\n\tif (a.leftSibling) {\n\t\tlet n = a.type === \"placeholder\" || a.type === \"prompt\";\n\t\tif (r.bias === 0 && !n) {\n\t\t\tlet n = Fc(e, a);\n\t\t\tn && t < (n.left + n.right) / 2 && (c = e.model.offsetOf(a.leftSibling));\n\t\t} else r.bias < 0 && (c = e.model.offsetOf(a.leftSibling));\n\t}\n\treturn c;\n}\nvar Pm = class extends I {\n\tconstructor() {\n\t\tsuper(\"math\");\n\t}\n\tonPaste(e, t) {\n\t\tif (!t || !e.model.contentWillChange({\n\t\t\tdata: typeof t == \"string\" ? t : null,\n\t\t\tdataTransfer: typeof t == \"string\" ? null : t,\n\t\t\tinputType: \"insertFromPaste\"\n\t\t})) return !1;\n\t\tlet n = \"\", r = \"auto\", i = typeof t == \"string\" ? \"\" : t.getData(\"application/json+mathlive\");\n\t\tif (i) try {\n\t\t\tlet t = JSON.parse(i);\n\t\t\tif (t && Array.isArray(t)) {\n\t\t\t\te.snapshot();\n\t\t\t\tlet n = ku(t), { model: r } = e;\n\t\t\t\tr.selectionIsCollapsed || r.deleteAtoms(sc(r.selection));\n\t\t\t\tlet i = r.at(r.position);\n\t\t\t\tif (i.parent instanceof L) {\n\t\t\t\t\ti.parentBranch;\n\t\t\t\t\tlet e = [], t = [];\n\t\t\t\t\tn[0].type === \"first\" && n.shift(), n[n.length - 1].type === \"first\" && n.pop();\n\t\t\t\t\tfor (let r of n) r.type === \"first\" && t.length > 0 ? (e.push(t), t = [r]) : t.push(r);\n\t\t\t\t\tt.length > 0 && e.push(t);\n\t\t\t\t\tlet r = Number(i.parentBranch[0]), a = Number(i.parentBranch[1]), o = i.parent.maxColumns;\n\t\t\t\t\tfor (; i.parent.colCount - a < e.length && i.parent.colCount < o;) i.parent.addColumn();\n\t\t\t\t\ti.parent.addChildrenAfter(e[0], i);\n\t\t\t\t\tfor (let t = 1; t < e.length; t++) a++, a >= o && (a = 0, i.parent.addRowAfter(r), r++), i.parent.setCell(r, a, e[t]);\n\t\t\t\t} else i.parent.addChildrenAfter(n.filter((e) => e.type !== \"first\"), i);\n\t\t\t\treturn r.position = r.offsetOf(n[n.length - 1]), r.contentDidChange({ inputType: \"insertFromPaste\" }), H(e), !0;\n\t\t\t}\n\t\t} catch {}\n\t\tif (i = typeof t == \"string\" ? \"\" : t.getData(\"application/json\"), i && globalThis.MathfieldElement.computeEngine) try {\n\t\t\tlet e = JSON.parse(i);\n\t\t\tif (typeof e == \"object\" && \"latex\" in e && e.latex && (n = e.latex), !n) {\n\t\t\t\tlet t = globalThis.MathfieldElement.computeEngine.box(e);\n\t\t\t\tt && !t.has(\"Error\") && (n = t.latex);\n\t\t\t}\n\t\t\tn || (r = \"latex\");\n\t\t} catch {}\n\t\tif (!n && typeof t != \"string\" && (n = t.getData(\"application/x-latex\"), n && (r = \"latex\")), n || (n = typeof t == \"string\" ? t : t.getData(\"text/plain\")), n) {\n\t\t\tlet t;\n\t\t\treturn [t, n] = xc(n), r === \"auto\" && t && (r = \"latex\"), e.stopCoalescingUndo(), e.stopRecording(), this.insert(e.model, n, { format: r }) && (e.startRecording(), e.snapshot(\"paste\"), H(e)), e.startRecording(), !0;\n\t\t}\n\t\treturn !1;\n\t}\n\tinsert(e, t, n) {\n\t\tlet r = typeof t == \"string\" ? t : globalThis.MathfieldElement.computeEngine?.box(t).latex ?? \"\";\n\t\tif (!n.silenceNotifications && !e.contentWillChange({\n\t\t\tdata: r,\n\t\t\tinputType: \"insertText\"\n\t\t})) return !1;\n\t\tn.insertionMode || (n.insertionMode = \"replaceSelection\"), n.selectionMode || (n.selectionMode = \"placeholder\"), n.format || (n.format = \"auto\");\n\t\tlet { silenceNotifications: i } = e;\n\t\tn.silenceNotifications && (e.silenceNotifications = !0);\n\t\tlet a = e.silenceNotifications;\n\t\te.silenceNotifications = !0;\n\t\tlet o = {\n\t\t\t\"?\": \"\\\\placeholder{}\",\n\t\t\t\"@\": \"\\\\placeholder{}\"\n\t\t};\n\t\to[0] = n.insertionMode === \"replaceAll\" ? \"\" : e.getValue(e.selection, \"latex-unstyled\"), n.insertionMode === \"replaceSelection\" ? e.deleteAtoms(sc(e.selection)) : n.insertionMode === \"replaceAll\" ? e.deleteAtoms() : n.insertionMode === \"insertBefore\" ? e.collapseSelection(\"backward\") : n.insertionMode === \"insertAfter\" && e.collapseSelection(\"forward\");\n\t\tlet s = e.at(e.position);\n\t\ts && !s.isLastSibling && e.at(e.position + 1)?.type === \"placeholder\" ? e.deleteAtoms([e.position, e.position + 1]) : s?.type === \"placeholder\" && e.deleteAtoms([e.position - 1, e.position]);\n\t\tlet c = -1;\n\t\to[0] ? o[\"@\"] = o[0] : typeof t == \"string\" && /(^|[^\\\\])#@/.test(t) && (c = Lm(e), c >= 0 && (o[\"@\"] = e.getValue(c, e.position, \"latex\"))), o[0] || (o[0] = o[\"?\"]);\n\t\tlet l = !1, u = (e) => (l = !0, o[e]), [d, f] = Fm(e, t, u, n);\n\t\tif (!f) return !1;\n\t\tlet p = f.length === 1 && f[0].type === \"genfrac\", m = e.at(e.position);\n\t\tp && c >= 0 && typeof e.mathfield.options.isImplicitFunction == \"function\" && m && e.mathfield.options.isImplicitFunction(m.command) && (o[\"@\"] = o[\"?\"], l = !1, [d, f] = Fm(e, t, u, n));\n\t\tlet h = e.position;\n\t\tif (f.length === 1 && f[0].isRoot) e.root = f[0];\n\t\telse {\n\t\t\tlet n = e.at(e.position)?.parent ?? e.root, r = n.hasEmptyBranch(\"body\");\n\t\t\tif (p && d !== \"latex\" && e.mathfield.options.removeExtraneousParentheses && n instanceof R && n.leftDelim === \"(\" && r) {\n\t\t\t\tlet e = n.parent, t = n.parentBranch;\n\t\t\t\te.removeChild(n), e.setChildren(f, t);\n\t\t\t}\n\t\t\tlet i = e.at(e.position);\n\t\t\tif (i) i.parent.addChildrenAfter(f, i);\n\t\t\telse {\n\t\t\t\tlet e = n.branch(\"body\")?.[0];\n\t\t\t\te ? n.addChildrenAfter(f, e) : n.setChildren(f, \"body\");\n\t\t\t}\n\t\t\tif (c >= 0) {\n\t\t\t\te.deleteAtoms([c, h]);\n\t\t\t\tlet t = e.root.branch(\"body\");\n\t\t\t\tif (t) for (let n of t) n.parent !== e.root && (n.parent = e.root, n.parentBranch = \"body\");\n\t\t\t}\n\t\t\td === \"latex\" && typeof t == \"string\" && n?.type === \"root\" && r && !l && (n.verbatimLatex = t);\n\t\t}\n\t\te.silenceNotifications = a;\n\t\tlet g = f[f.length - 1];\n\t\tif (n.selectionMode === \"placeholder\") {\n\t\t\tlet t;\n\t\t\tif (f.length === 1 && f[0].type === \"genfrac\" && (t = f[0].branch(\"above\")?.find((e) => e.type === \"placeholder\"), !t && (t = f[0].branch(\"below\")?.find((e) => e.type === \"placeholder\"))), t || (t = f.flatMap((e) => [e, ...e.children]).find((e) => e.type === \"placeholder\")), t) {\n\t\t\t\tlet n = e.offsetOf(t);\n\t\t\t\te.setSelection(n - 1, n), e.announce(\"move\");\n\t\t\t} else if (g) {\n\t\t\t\tlet t = g.body, n = g.hasEmptyBranch(\"body\");\n\t\t\t\tt && n ? e.setSelection(e.offsetOf(t[0]), e.offsetOf(t[t.length - 1]) + 1) : e.position = e.offsetOf(g);\n\t\t\t}\n\t\t} else n.selectionMode === \"before\" || (n.selectionMode === \"after\" ? g && (e.position = e.offsetOf(g)) : n.selectionMode === \"item\" && e.setSelection(e.anchor, e.offsetOf(g)));\n\t\treturn e.contentDidChange({\n\t\t\tdata: r,\n\t\t\tinputType: \"insertText\"\n\t\t}), e.silenceNotifications = i, !0;\n\t}\n};\nfunction Fm(e, t, n, r) {\n\tvar i;\n\tlet a, o = [];\n\tif (typeof t != \"string\" || r.format === \"math-json\") {\n\t\tlet n = globalThis.MathfieldElement.computeEngine;\n\t\tif (!n) return [\"math-json\", []];\n\t\t[a, t] = [\"latex\", n.box(t).latex], o = Ql(t, { context: e.mathfield.context });\n\t} else typeof t == \"string\" && r.format === \"ascii-math\" ? ([a, t] = hc(t, {\n\t\tformat: \"ascii-math\",\n\t\tinlineShortcuts: e.mathfield.options.inlineShortcuts\n\t}), o = Ql(t, { context: e.mathfield.context }), a !== \"latex\" && e.mathfield.options.removeExtraneousParentheses && (o = o.map((e) => Im(e)))) : (r.format === \"auto\" || (i = r.format) != null && i.startsWith(\"latex\")) && (r.format === \"auto\" && ([a, t] = hc(t, {\n\t\tformat: \"auto\",\n\t\tinlineShortcuts: e.mathfield.options.inlineShortcuts\n\t})), r.format === \"latex\" && ([, t] = xc(t)), o = Ql(t, {\n\t\tcontext: e.mathfield.context,\n\t\targs: n\n\t}), r.format !== \"latex\" && e.mathfield.options.removeExtraneousParentheses && (o = o.map((e) => Im(e))));\n\treturn ju(o, r.style), [a ?? \"latex\", o];\n}\nfunction Im(e) {\n\tif (e instanceof R && e.leftDelim !== \"(\" && e.rightDelim === \")\") {\n\t\tlet t = e.body?.filter((e) => e.type !== \"first\");\n\t\tif (t?.length === 1 && t[0].type === \"genfrac\") return t[0];\n\t}\n\tfor (let t of e.branches) e.hasEmptyBranch(t) || e.setChildren(e.branch(t).map((e) => Im(e)), t);\n\treturn e instanceof L && e.forEachCell((t, n, r) => {\n\t\te.setCell(n, r, t.map((e) => Im(e)));\n\t}), e;\n}\nfunction Lm(e) {\n\tlet t = e.at(e.position);\n\tif (!t) return -1;\n\tif (t.mode === \"text\") {\n\t\tfor (; !t.isFirstSibling && t.mode === \"text\";) t = t.leftSibling;\n\t\treturn e.offsetOf(t);\n\t}\n\tlet n = t, r = !1;\n\tif (t.type === \"mclose\") {\n\t\tlet e = al[t.value];\n\t\tfor (; !t.isFirstSibling && (t.type !== \"mopen\" || t.value !== e);) {\n\t\t\tlet e = t.leftSibling;\n\t\t\tif (!e) break;\n\t\t\tt = e;\n\t\t}\n\t\tif (!t.isFirstSibling) {\n\t\t\tlet e = t.leftSibling;\n\t\t\te && (t = e);\n\t\t}\n\t\tr = !0;\n\t} else if (t.type === \"leftright\") {\n\t\tlet e = t.leftSibling;\n\t\te && (t = e), r = !0;\n\t}\n\tif (r) for (; !t.isFirstSibling && (t.isFunction || zm(t));) {\n\t\tlet e = t.leftSibling;\n\t\tif (!e) break;\n\t\tt = e;\n\t}\n\telse {\n\t\tlet e = [];\n\t\tfor (; !t.isFirstSibling && (zm(t) || e.length > 0);) {\n\t\t\tt.type === \"mclose\" && e.unshift(t.value), t.type === \"mopen\" && e.length > 0 && t.value === al[e[0]] && e.shift();\n\t\t\tlet n = t.leftSibling;\n\t\t\tif (!n) break;\n\t\t\tt = n;\n\t\t}\n\t}\n\treturn n === t ? -1 : e.offsetOf(t);\n}\nfunction Rm(e) {\n\tif (e.type === \"mord\" && e.value === \"e\") {\n\t\tlet t = e.leftSibling;\n\t\tif (t && t.isDigit()) return !0;\n\t}\n\tif (e.type === \"mbin\" && (e.value === \"+\" || e.value === \"-\" || e.value === \"−\")) {\n\t\tlet t = e.leftSibling, n = e.rightSibling;\n\t\tif (t?.type === \"mord\" && t.value === \"e\" && n && n.isDigit()) {\n\t\t\tlet e = t.leftSibling;\n\t\t\tif (e && e.isDigit()) return !0;\n\t\t}\n\t}\n\tif (e.type === \"subsup\") {\n\t\tlet t = e.leftSibling;\n\t\tif (t && t.isDigit() && t.value === \"0\") {\n\t\t\tlet e = t.leftSibling;\n\t\t\tif (e && e.isDigit() && e.value === \"1\") {\n\t\t\t\tlet t = e.leftSibling;\n\t\t\t\tif (t?.type === \"mbin\" && (t.value === \"×\" || t.value === \"\\\\times\")) {\n\t\t\t\t\tlet e = t.leftSibling;\n\t\t\t\t\tif (e && e.isDigit()) return !0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tif (e.isDigit() && e.value === \"0\") {\n\t\tlet t = e.leftSibling, n = e.rightSibling;\n\t\tif (t && t.isDigit() && t.value === \"1\" && n?.type === \"subsup\") {\n\t\t\tlet e = t.leftSibling;\n\t\t\tif (e?.type === \"mbin\" && (e.value === \"×\" || e.value === \"\\\\times\")) {\n\t\t\t\tlet t = e.leftSibling;\n\t\t\t\tif (t && t.isDigit()) return !0;\n\t\t\t}\n\t\t}\n\t}\n\tif (e.isDigit() && e.value === \"1\") {\n\t\tlet t = e.rightSibling;\n\t\tif (t && t.isDigit() && t.value === \"0\" && t.rightSibling?.type === \"subsup\") {\n\t\t\tlet t = e.leftSibling;\n\t\t\tif (t?.type === \"mbin\" && (t.value === \"×\" || t.value === \"\\\\times\")) {\n\t\t\t\tlet e = t.leftSibling;\n\t\t\t\tif (e && e.isDigit()) return !0;\n\t\t\t}\n\t\t}\n\t}\n\tif (e.type === \"mbin\" && (e.value === \"×\" || e.value === \"\\\\times\")) {\n\t\tlet t = e.leftSibling, n = e.rightSibling;\n\t\tif (t && t.isDigit() && n && n.isDigit() && n.value === \"1\") {\n\t\t\tlet e = n.rightSibling;\n\t\t\tif (e && e.isDigit() && e.value === \"0\" && e.rightSibling?.type === \"subsup\") return !0;\n\t\t}\n\t}\n\treturn !1;\n}\nfunction zm(e) {\n\treturn e.isDigit() || Rm(e) ? !0 : e.type && /^(mord|surd|subsup|leftright|mop|mclose)$/.test(e.type) ? e.type !== \"extensible-symbol\" : !1;\n}\nnew Pm();\nvar Bm = class extends I {\n\tconstructor() {\n\t\tsuper(\"text\");\n\t}\n\tonPaste(e, t) {\n\t\tif (!t) return !1;\n\t\tlet n = typeof t == \"string\" ? t : t.getData(\"text/plain\");\n\t\treturn n && e.model.contentWillChange({\n\t\t\tinputType: \"insertFromPaste\",\n\t\t\tdata: n\n\t\t}) ? (e.stopCoalescingUndo(), e.stopRecording(), this.insert(e.model, n) && (e.model.contentDidChange({ inputType: \"insertFromPaste\" }), e.startRecording(), e.snapshot(\"paste\"), H(e)), e.startRecording(), !0) : !1;\n\t}\n\tinsert(e, t, n = {}) {\n\t\tif (!e.contentWillChange({\n\t\t\tdata: t,\n\t\t\tinputType: \"insertText\"\n\t\t})) return !1;\n\t\tn.insertionMode || (n.insertionMode = \"replaceSelection\"), n.selectionMode || (n.selectionMode = \"placeholder\"), n.format || (n.format = \"auto\");\n\t\tlet { silenceNotifications: r } = e;\n\t\tn.silenceNotifications && (e.silenceNotifications = !0);\n\t\tlet i = e.silenceNotifications;\n\t\te.silenceNotifications = !0, n.insertionMode === \"replaceSelection\" && !e.selectionIsCollapsed ? e.deleteAtoms(sc(e.selection)) : n.insertionMode === \"replaceAll\" ? (e.root.setChildren([], \"body\"), e.position = 0) : n.insertionMode === \"insertBefore\" ? e.collapseSelection(\"backward\") : n.insertionMode === \"insertAfter\" && e.collapseSelection(\"forward\");\n\t\tlet a = Vm(t, e.mathfield.context);\n\t\tif (ju(a, n.style), !a) return !1;\n\t\tlet o = e.at(e.position), s = o.parent.addChildrenAfter(a, o);\n\t\treturn e.silenceNotifications = i, n.selectionMode === \"before\" || (n.selectionMode === \"item\" ? e.setSelection(e.anchor, e.offsetOf(s)) : s && (e.position = e.offsetOf(s))), e.contentDidChange({\n\t\t\tdata: t,\n\t\t\tinputType: \"insertText\"\n\t\t}), e.silenceNotifications = r, !0;\n\t}\n};\nfunction Vm(e, t) {\n\tif (e.includes(\"$\")) {\n\t\tlet n = [], r = 0, i = !1, a = \"\";\n\t\tfor (; r < e.length;) e[r] === \"$\" ? r + 1 < e.length && e[r + 1] === \"$\" ? (!i && a ? (n.push(Hm(a)), a = \"\") : i && a && (n.push(a), a = \"\"), n.push(\"$$\"), i = !i, r += 2) : (!i && a ? (n.push(Hm(a)), a = \"\") : i && a && (n.push(a), a = \"\"), n.push(\"$\"), i = !i, r += 1) : (a += e[r], r += 1);\n\t\treturn a && (i ? n.push(a) : n.push(Hm(a))), Ql(n.join(\"\"), {\n\t\t\tcontext: t,\n\t\t\tparseMode: \"text\"\n\t\t});\n\t}\n\treturn Ql(Hm(e), {\n\t\tcontext: t,\n\t\tparseMode: \"text\"\n\t});\n}\nfunction Hm(e) {\n\treturn e = e.replace(/\\\\/g, \"\\\\textbackslash \"), e = e.replace(/#/g, \"\\\\#\"), e = e.replace(/%/g, \"\\\\%\"), e = e.replace(/&/g, \"\\\\&\"), e = e.replace(/_/g, \"\\\\_\"), e = e.replace(/{/g, \"\\\\textbraceleft \"), e = e.replace(/}/g, \"\\\\textbraceright \"), e = e.replace(/lbrace/g, \"\\\\textbraceleft \"), e = e.replace(/rbrace/g, \"\\\\textbraceright \"), e = e.replace(/\\^/g, \"\\\\textasciicircum \"), e = e.replace(/~/g, \"\\\\textasciitilde \"), e = e.replace(/£/g, \"\\\\textsterling \"), e;\n}\nnew Bm();\nfunction Um(e) {\n\treturn {\n\t\tvalue: e.model.getValue(),\n\t\tselectionIsCollapsed: e.model.selectionIsCollapsed,\n\t\tcanUndo: e.canUndo(),\n\t\tcanRedo: e.canRedo(),\n\t\tstyle: Wm(e.model),\n\t\tmode: e.model.mode\n\t};\n}\nfunction Wm(e) {\n\tif (e.selectionIsCollapsed) return e.at(e.position)?.style;\n\tlet t = e.getAtoms(e.selection);\n\tif (t.length === 0) return {};\n\tlet n = s({}, t[0].style);\n\tfor (let e of t) for (let [t, r] of Object.entries(e.style)) n[t] !== r && delete n[t];\n\treturn n;\n}\nvar U = 4, Gm = 20, W = 2 * (Gm + U), Km = (e, t) => `\n <line x1=\"${e + Gm}\" y1=\"${t + Gm}\" \n x2=\"${e > t ? e + Gm : 7 * Gm + 10 * U}\" \n y2=\"${e < t ? t + Gm : 7 * Gm + 10 * U}\"/>\n <svg id=\"plus\" viewBox=\"0 0 40 40\" x=\"${e}\" y=\"${t}\" width=\"40\" height=\"40\">\n <circle class=\"cls-2\" cx=\"20\" cy=\"20\" r=\"20\"/>\n <path class=\"font\" d=\"m33.33,20c0,1.84-1.49,3.34-3.33,3.34h-6.67v6.66c0,1.84-1.49,3.34-3.33,3.34s-3.34-1.5-3.34-3.34v-6.66h-6.66c-1.84,0-3.34-1.5-3.34-3.34s1.5-3.33,3.34-3.33h6.66v-6.67c0-1.84,1.5-3.33,3.34-3.33s3.33,1.49,3.33,3.33v6.67h6.67c1.84,0,3.33,1.49,3.33,3.33Z\"/>\n </svg>`, qm = (e, t) => `\n <line x1=\"${e + Gm}\" y1=\"${t + Gm}\" \n x2=\"${e > t ? e + Gm : 7 * Gm + 10 * U}\" \n y2=\"${e < t ? t + Gm : 7 * Gm + 10 * U}\"/>\n <svg id=\"minus\" viewBox=\"0 0 40 40\" x=\"${e}\" y=\"${t}\" width=\"40\" height=\"40\">\n <circle class=\"cls-2\" cx=\"20\" cy=\"20\" r=\"20\"/>\n <path class=\"font\" d=\"m33.33,20c0,1.84-1.49,3.33-3.33,3.33H10c-1.84,0-3.34-1.49-3.34-3.33s1.5-3.34,3.34-3.34h20c1.84,0,3.33,1.5,3.33,3.34Z\"/>\n </svg>`, Jm = (e, t, n) => `\n <svg id=\"arrow\" viewBox=\"0 0 40 40\" x=\"${e}\" y=\"${t}\" width=\"40\" height=\"40\">\n <circle class=\"cls-2\" cx=\"20\" cy=\"20\" r=\"20\"/>\n <g transform=\"rotate(${n})\" transform-origin=\"20 20\">\n <path class=\"font\" d=\"m17.7,7.23h4.6c.52,0,.94.42.94.94v13.82c0,.52.42.94.94.94h3.39c.83,0,1.25,1.01.66,1.6l-7.56,7.56c-.37.37-.96.37-1.32,0l-7.56-7.56c-.59-.59-.17-1.6.66-1.6h3.39c.52,0,.94-.42.94-.94v-13.82c0-.52.42-.94.94-.94Z\"/>\n </g> \n </svg>`, Ym = `\n<svg class=\"MLEP__array-buttons\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" \nviewBox=\n\"-2 -2 ${8 * Gm + 10 * U + 5} ${8 * Gm + 10 * U + 5}\">\n <rect \n class=\"MLEP__array-insert-background rows\"\n x=\"0\" \n y=\"${W + U}\" \n height=\"${3 * W}\" \n width=\"${W}\" \n rx=\"${W / 2}\"/>\n <rect \n class=\"MLEP__array-insert-background columns\"\n x=\"${W + U}\" \n y=\"0\" \n height=\"${W}\" \n width=\"${3 * W}\" \n rx=\"${W / 2}\"/>\n <g data-command='\"moveDown\"'>\n ${Jm(2 * (U + W), 2 * U + 3 * W, 0)}\n </g>\n <g data-command='\"moveUp\"'>\n ${Jm(2 * (U + W), 2 * U + W, 180)}\n </g>\n <g data-command='\"moveToNextWord\"'>\n ${Jm(2 * U + 3 * W, 2 * (U + W), -90)}\n </g>\n <g data-command='\"moveToPreviousWord\"'>\n ${Jm(2 * U + W, 2 * (U + W), 90)}\n </g>\n <g>\n\n <g data-command='\"addColumnBefore\"'>\n ${Km(2 * U + W, U)}\n </g>\n <g data-command='\"removeColumn\"'>\n ${qm(2 * U + 2 * W, U)}\n </g>\n <g data-command='\"addColumnAfter\"'>\n ${Km(2 * U + 3 * W, U)}\n </g>\n <g data-command='\"addRowBefore\"'>\n ${Km(U, 2 * U + W)}\n </g>\n <g data-command='\"removeRow\"'>\n ${qm(U, 2 * U + 2 * W)}\n </g>\n <g data-command='\"addRowAfter\"'>\n ${Km(U, 2 * U + 3 * W)}\n </g>\n</svg>`, Xm = (e) => `\n<svg id=\"matrix\" class=\"${e}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 28 24\" \n data-command='[\"setEnvironment\",\"matrix\"]'>\n <rect class=\"cls-1\" width=\"28\" height=\"24\"/>\n <circle cx=\"10\" cy=\"8\" r=\"1\"/>\n <circle cx=\"14\" cy=\"12\" r=\"1\"/>\n <circle cx=\"18\" cy=\"16\" r=\"1\"/></svg>`, Zm = (e) => `\n<svg id=\"pmatrix\" class=\"${e}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 28 24\" \ndata-command='[\"setEnvironment\",\"pmatrix\"]'>\n <rect class=\"cls-1\" width=\"28\" height=\"24\"/>\n <path class=\"cls-2\" d=\"m6,4c-3.96,4.6-3.96,11.4,0,16\"/>\n <path class=\"cls-2\" d=\"m22,4c3.96,4.6,3.96,11.4,0,16\"/>\n <circle cx=\"10\" cy=\"8\" r=\"1\"/>\n <circle cx=\"14\" cy=\"12\" r=\"1\"/>\n <circle cx=\"18\" cy=\"16\" r=\"1\"/></svg>`, Qm = (e) => `\n<svg id=\"Bmatrix\" class=\"${e}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 28 24\" \n data-command='[\"setEnvironment\",\"Bmatrix\"]'>\n <rect class=\"cls-1\" width=\"28\" height=\"24\"/>\n <path class=\"cls-2\" d=\"m6,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2\"/>\n <path class=\"cls-2\" d=\"m22,4c1.1,0,2,.9,2,2v3c0,1.66.9,3,2,3-1.1,0-2,1.34-2,3v3c0,1.1-.9,2-2,2\"/>\n <circle cx=\"10\" cy=\"8\" r=\"1\"/>\n <circle cx=\"14\" cy=\"12\" r=\"1\"/>\n <circle cx=\"18\" cy=\"16\" r=\"1\"/>\n</svg>`, $m = (e) => `\n<svg id=\"bmatrix\" class=\"${e}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 28 24\" \n data-command='[\"setEnvironment\",\"bmatrix\"]'>\n <rect class=\"cls-1\" width=\"28\" height=\"24\"/>\n <path class=\"cls-2\" d=\"m6,4h-3v16h3\"/>\n <path class=\"cls-2\" d=\"m22,4h3v16h-3\"/>\n <circle cx=\"10\" cy=\"8\" r=\"1\"/>\n <circle cx=\"14\" cy=\"12\" r=\"1\"/>\n <circle cx=\"18\" cy=\"16\" r=\"1\"/>\n</svg>`, eh = (e) => `\n<svg id=\"vmatrix\" class=\"${e}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 28 24\" \n data-command='[\"setEnvironment\",\"vmatrix\"]'>\n <rect class=\"cls-1\" width=\"28\" height=\"24\"/>\n <circle cx=\"10\" cy=\"8\" r=\"1\"/>\n <circle cx=\"14\" cy=\"12\" r=\"1\"/>\n <circle cx=\"18\" cy=\"16\" r=\"1\"/>\n <line class=\"cls-2\" x1=\"4\" y1=\"4\" x2=\"4\" y2=\"20\"/>\n <line class=\"cls-2\" x1=\"24\" y1=\"4\" x2=\"24\" y2=\"20\"/>\n</svg>`, th = (e) => `\n<svg id=\"Vmatrix\" class=\"${e}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"-3.5 -3 35 30\" \n data-command='[\"setEnvironment\",\"Vmatrix\"]'>\n <rect class=\"cls-1\" width=\"28\" height=\"24\"/>\n <circle cx=\"10\" cy=\"8\" r=\"1\"/>\n <circle cx=\"14\" cy=\"12\" r=\"1\"/>\n <circle cx=\"18\" cy=\"16\" r=\"1\"/>\n <line class=\"cls-2\" x1=\"6\" y1=\"4\" x2=\"6\" y2=\"20\"/>\n <line class=\"cls-2\" x1=\"22\" y1=\"4\" x2=\"22\" y2=\"20\"/>\n <line class=\"cls-2\" x1=\"2\" y1=\"4\" x2=\"2\" y2=\"20\"/>\n <line class=\"cls-2\" x1=\"26\" y1=\"4\" x2=\"26\" y2=\"20\"/>\n</svg>`, nh = (e) => `\n<svg id=\"cases\" class=\"${e}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 28 24\" \n data-command='[\"setEnvironment\",\"cases\"]'>\n <rect class=\"cls-1\" width=\"28\" height=\"24\"/>\n <path class=\"cls-2\" d=\"m10,4c-1.1,0-2,.9-2,2v3c0,1.66-.9,3-2,3,1.1,0,2,1.34,2,3v3c0,1.1.9,2,2,2\"/>\n <circle cx=\"13\" cy=\"8\" r=\"1\"/>\n <circle cx=\"13\" cy=\"16\" r=\"1\"/>\n <circle cx=\"21\" cy=\"8\" r=\"1\"/>\n <circle cx=\"21\" cy=\"16\" r=\"1\"/>\n</svg>`, rh = (e) => `\n<svg id=\"rcases\" class=\"${e}\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 28 24\" \n data-command='[\"setEnvironment\",\"rcases\"]'>\n <rect class=\"cls-1\" width=\"28\" height=\"24\"/>\n <path class=\"cls-2\" d=\"m18,20c1.1,0,2-.9,2-2v-3c0-1.66.9-3,2-3-1.1,0-2-1.34-2-3v-3c0-1.1-.9-2-2-2\"/>\n <circle cx=\"15\" cy=\"8\" r=\"1\"/>\n <circle cx=\"15\" cy=\"16\" r=\"1\"/>\n <circle cx=\"7\" cy=\"8\" r=\"1\"/>\n <circle cx=\"7\" cy=\"16\" r=\"1\"/>\n</svg>`, ih = {\n\tmatrix: Xm,\n\tpmatrix: Zm,\n\tbmatrix: $m,\n\tBmatrix: Qm,\n\tvmatrix: eh,\n\tVmatrix: th\n}, ah = {\n\tcases: nh,\n\trcases: rh,\n\tBmatrix: Qm\n};\nfunction oh(e) {\n\tlet t = e.model.parentEnvironment?.rows;\n\tif (!t) return;\n\tlet n = 0;\n\tt.forEach((e) => {\n\t\t(!n || e.length > n) && (n = e.length);\n\t});\n\tlet r = document.getElementById(\"mathlive-environment-popover\");\n\tr || (r = Md(\"mathlive-environment-popover\"), tl(\"environment-popover\"), tl(\"core\"), r.setAttribute(\"aria-hidden\", \"true\"));\n\tlet i, a = r.querySelector(\".MLEP__environment-controls\");\n\ta ? i = a : (i = document.createElement(\"div\"), r.innerHTML = \"\", r.appendChild(i)), i.className = \"MLEP__environment-controls\", i.style.display = \"flex\", i.style.width = \"100%\", i.style.height = \"100%\", i.style.boxSizing = \"border-box\", i.innerHTML = Ym;\n\tlet o = [], s = \"\", c = e.model.parentEnvironment.environmentName;\n\tif (kl(c)) {\n\t\tlet e = uh(c);\n\t\ts = ih[e](\"active\");\n\t\tlet t = ih, { [e]: n } = t, r = u(t, [l(e)]);\n\t\to = Object.values(r).map((e) => e(\"inactive\"));\n\t} else if (Al(c)) {\n\t\tlet e = dh(c);\n\t\ts = ah[e](\"active\");\n\t\tlet t = ah, { [e]: n } = t, r = u(t, [l(e)]);\n\t\to = Object.values(r).map((e) => e(\"inactive\"));\n\t} else jl(c) && (s = ih.matrix(\"active\"), o = Object.values(ah).map((e) => e(\"inactive\")));\n\tlet d = document.createElement(\"div\");\n\td.className = \"MLEP__environment-delimiter-controls\", d.style.display = \"flex\", d.style.flexDirection = \"column\", d.innerHTML = `\n <div class='MLEP__array-delimiter-options'>\n ${s}\n ${o.join(\"\")}\n </div>`, s && i.appendChild(d), i.querySelectorAll(\"[data-command]\").forEach((t) => {\n\t\tlet n = t.dataset.command, r = n;\n\t\ttry {\n\t\t\tr = JSON.parse(n);\n\t\t} catch {}\n\t\tt.addEventListener(\"mousedown\", (e) => e.preventDefault()), r && t.addEventListener(\"click\", () => e.executeCommand(r));\n\t});\n\tlet f = e.field?.getBoundingClientRect();\n\tf && (r.style.top = `${window.scrollY + (f.top - r.clientHeight - 15)}px`, r.style.left = `${f.left + 20}px`, r.classList.add(\"is-visible\"));\n}\nfunction sh() {\n\tdocument.getElementById(\"mathlive-environment-popover\")?.classList.remove(\"is-visible\");\n}\nfunction ch() {\n\tdocument.getElementById(\"mathlive-environment-popover\") && (Nd(\"mathlive-environment-popover\"), nl(\"environment-popover\"), nl(\"core\"));\n}\nfunction lh(e) {\n\tif (!e.hasFocus()) return;\n\tlet t = !1;\n\tif (e.model.mode === \"math\") {\n\t\tlet n = e.model.parentEnvironment;\n\t\tif (n != null && n.rows && Ol(n.environmentName)) {\n\t\t\tlet n = e.options.environmentPopoverPolicy;\n\t\t\tt = n === \"auto\" || n === \"on\";\n\t\t}\n\t}\n\tt ? oh(e) : sh();\n}\nfunction uh(e) {\n\treturn e.replace(\"*\", \"\");\n}\nfunction dh(e) {\n\treturn e === \"dcases\" ? \"cases\" : e;\n}\nfunction fh(e) {\n\tlet t = getComputedStyle(e).direction;\n\treturn t === \"ltr\" || t === \"rtl\" ? t : \"ltr\";\n}\nfunction ph(e, t, n) {\n\treturn t === \"left\" || t === \"leading\" && n === \"ltr\" || t === \"trailing\" && n === \"rtl\" ? e.left : e.right;\n}\nfunction mh(e, t, n, r) {\n\treturn n === \"middle\" ? e - t / 2 : n === \"start\" && r === \"rtl\" || n === \"end\" && r === \"ltr\" || n === \"top\" || n === \"right\" ? Math.max(0, e - t) : e;\n}\nfunction hh(e, t, n, r) {\n\treturn n === \"middle\" ? e - t / 2 : n === \"start\" && r === \"ltr\" || n === \"end\" && r === \"rtl\" || n === \"top\" || n === \"right\" ? e : e - t;\n}\nfunction gh(e, t) {\n\tlet n = fh(e) ?? \"ltr\";\n\te.style.position = \"fixed\", e.style.left = \"\", e.style.top = \"\", e.style.right = \"\", e.style.bottom = \"\", e.style.height = \"\", e.style.width = \"\";\n\tlet r = e.getBoundingClientRect(), i = Number.isFinite(t.maxHeight) ? Math.min(t.maxHeight, window.innerHeight) : window.innerHeight, a = Math.min(i, t.height ?? r.height), o = mh(t.location.y, a, t.verticalPos, n);\n\to + a > window.innerHeight - 8 && (t.alternateLocation ? (o = mh(t.alternateLocation.y, a, t.verticalPos, n), o + a > window.innerHeight - 8 && (o = void 0)) : o = void 0), Number.isFinite(o) || (o = Math.max(8, window.innerHeight - 8 - a), 8 + a > window.innerHeight - 8 && (e.style.bottom = \"8px\")), a = Math.min(o + a, window.innerHeight - 8) - o;\n\tlet s = Number.isFinite(t.maxWidth) ? Math.min(t.maxWidth, window.innerWidth) : window.innerWidth, c = Math.min(s, t.width ?? r.width), l = mh(t.location.x, c, t.horizontalPos, n);\n\tl + c > window.innerWidth - 8 && (t.alternateLocation ? (l = hh(t.alternateLocation.x, c, t.verticalPos, n), l + c > window.innerWidth - 8 && (l = void 0)) : l = void 0), Number.isFinite(l) || (l = Math.max(8, window.innerWidth - 8 - c), 8 + c > window.innerWidth - 8 && (e.style.right = \"8px\")), c = Math.min(l + c, window.innerWidth - 8) - l, n === \"rtl\" ? e.style.right = `${Math.ceil(window.innerWidth - l - c).toString()}px` : e.style.left = `${Math.ceil(l).toString()}px`, e.style.top = `${Math.ceil(o).toString()}px`, a !== r.height && (e.style.height = `${Math.ceil(a).toString()}px`), c !== r.width && (e.style.width = `${Math.ceil(c).toString()}px`);\n}\nfunction _h(e, t) {\n\treturn Math.hypot(t.x - e.x, t.y - e.y);\n}\nfunction vh(e) {\n\treturn \"submenu\" in e;\n}\nfunction yh(e) {\n\treturn \"type\" in e && e.type === \"command\" || \"onMenuSelect\" in e || \"id\" in e;\n}\nfunction bh(e) {\n\treturn \"type\" in e && e.type === \"divider\";\n}\nfunction xh(e) {\n\treturn \"type\" in e && e.type === \"heading\";\n}\nvar Sh = {};\nfunction Ch(e) {\n\tlet t = Sh[e];\n\tif (!t) {\n\t\tlet n;\n\t\tswitch (e) {\n\t\t\tcase \"checkmark\":\n\t\t\t\tn = \"<span aria-hidden=\\\"true\\\" class=\\\"ui-checkmark\\\"><svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 512 512\\\"><path fill=\\\"currentColor\\\" d=\\\"M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z\\\"></path></svg>\\n </span>\";\n\t\t\t\tbreak;\n\t\t\tcase \"trailing-chevron\":\n\t\t\t\tn = \"<span aria-hidden=\\\"true\\\" class=\\\"ui-trailing-chevron\\\"><svg focusable=\\\"false\\\" role=\\\"img\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 320 512\\\"><path fill=\\\"currentColor\\\" d=\\\"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z\\\"></path></svg></span>\";\n\t\t\t\tbreak;\n\t\t\tcase \"mixedmark\": n = \"<span aria-hidden=\\\"true\\\" class=\\\"ui-mixedmark\\\"><svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"16\\\" viewBox=\\\"0 0 512 512\\\"><path fill=\\\"currentColor\\\" d=\\\"M0 256c0-13.3 10.7-24 24-24H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24c-13.3 0-24-10.7-24-24z\\\"/></svg></span>\";\n\t\t}\n\t\tif (n) {\n\t\t\tlet r = document.createElement(\"template\");\n\t\t\tr.innerHTML = n, Sh[e] = r, t = r;\n\t\t}\n\t}\n\tif (t) {\n\t\tif (\"content\" in t) return t.content.cloneNode(!0);\n\t\tlet e = document.createElement(\"svg\");\n\t\treturn e.innerHTML = t.innerHTML, e;\n\t}\n}\nvar wh = 80, Th = class {\n\tconstructor(e, t) {\n\t\tthis._className = \"\", this._element = null, this.parentMenu = t, this._declaration = e, Object.freeze(this._declaration), vh(e) ? (this.type = \"submenu\", this.submenu = new Oh(e.submenu, {\n\t\t\tparentMenu: t,\n\t\t\tsubmenuClass: e.submenuClass,\n\t\t\tcolumnCount: e.columnCount\n\t\t})) : this.type = e.type ?? \"command\", this.hasCheck = yh(e) && e.checked !== void 0;\n\t}\n\tget rootMenu() {\n\t\treturn this.parentMenu.rootMenu;\n\t}\n\tget abortController() {\n\t\treturn this._abortController || (this._abortController = new AbortController()), this._abortController;\n\t}\n\tdispose() {\n\t\tvar e, t;\n\t\t(e = this._abortController) == null || e.abort(), this._abortController = void 0, (t = this._element) == null || t.remove(), this._element = null, this.submenu && this.submenu.dispose(), this.submenu = void 0;\n\t}\n\tget menuItem() {\n\t\treturn this._declaration;\n\t}\n\tget label() {\n\t\treturn this._label ?? \"\";\n\t}\n\tset label(e) {\n\t\te === void 0 && (e = \"\"), e !== this._label && (this._label = e, this.dirty = !0);\n\t}\n\tget visible() {\n\t\treturn this._visible;\n\t}\n\tset visible(e) {\n\t\te !== this._visible && (this._visible = e, this.dirty = !0);\n\t}\n\tget enabled() {\n\t\treturn this._enabled;\n\t}\n\tset enabled(e) {\n\t\tthis._enabled = e, this.element && (e ? this.element.removeAttribute(\"aria-disabled\") : this.element.setAttribute(\"aria-disabled\", \"true\")), this.dirty = !0;\n\t}\n\tget checked() {\n\t\treturn this._checked;\n\t}\n\tset checked(e) {\n\t\tthis._checked = e, this.dirty = !0;\n\t}\n\tget tooltip() {\n\t\treturn this._tooltip;\n\t}\n\tset tooltip(e) {\n\t\te !== this._tooltip && (this._tooltip = e, this.dirty = !0);\n\t}\n\tget ariaLabel() {\n\t\treturn this._ariaLabel;\n\t}\n\tset ariaLabel(e) {\n\t\te !== this._ariaLabel && (this._ariaLabel = e, this.dirty = !0);\n\t}\n\tget active() {\n\t\treturn this.element?.classList.contains(\"active\") ?? !1;\n\t}\n\tset active(e) {\n\t\tthis.element && this.element.classList.toggle(\"active\", e);\n\t}\n\tupdateState(e) {\n\t\tlet t = this._declaration;\n\t\tif (bh(t)) {\n\t\t\tthis.enabled = !1, this.checked = !1;\n\t\t\treturn;\n\t\t}\n\t\txh(t) && (this.enabled = !1, this.checked = !1, this.visible = !0), yh(t) && (this.checked = Dh(t.checked, e) ?? !1), (yh(t) || vh(t)) && (this.enabled = Dh(t.enabled, e) ?? !0, this.visible = Dh(t.visible, e) ?? !0, this.visible && this.enabled && this.submenu && (this.submenu.updateState(e), this.submenu.visible || (this.visible = !1))), (yh(t) || xh(t) || vh(t)) && (this.label = Dh(t.label, e), this._className = Dh(t.class, e), this.tooltip = Dh(t.tooltip, e), this.ariaLabel = Dh(t.ariaLabel, e)), this._element && this.updateElement();\n\t}\n\tset dirty(e) {\n\t\te && this.parentMenu && (this.parentMenu.dirty = !0);\n\t}\n\tupdateElement() {\n\t\tif (!this.visible || !this.element) return;\n\t\tlet e = this.element;\n\t\te.textContent = \"\", e.className = \"\", e.className = this._className ?? \"\", this.enabled ? e.removeAttribute(\"aria-disabled\") : e.setAttribute(\"aria-disabled\", \"true\"), this.checked === !0 ? (e.setAttribute(\"aria-checked\", \"true\"), e.append(Ch(\"checkmark\"))) : this.checked === \"mixed\" ? (e.setAttribute(\"aria-checked\", \"mixed\"), e.append(Ch(\"mixedmark\"))) : e.removeAttribute(\"aria-checked\"), this.ariaLabel && e.setAttribute(\"aria-label\", this.ariaLabel);\n\t\tlet t = document.createElement(\"span\");\n\t\tif (t.className = this.parentMenu.hasCheck ? \"label indent\" : \"label\", this.type === \"heading\" && t.classList.add(\"heading\"), t.innerHTML = this.label, e.append(t), this._tooltip && e.setAttribute(\"data-tooltip\", this._tooltip), yh(this._declaration) && this._declaration.keyboardShortcut) {\n\t\t\tlet t = document.createElement(\"kbd\");\n\t\t\tt.innerHTML = td(this._declaration.keyboardShortcut), e.append(t);\n\t\t}\n\t\tthis.type === \"submenu\" && e.append(Ch(\"trailing-chevron\"));\n\t}\n\tget element() {\n\t\tif (this._element) return this._element;\n\t\tif (bh(this._declaration)) {\n\t\t\tlet e = document.createElement(\"li\");\n\t\t\treturn e.setAttribute(\"part\", \"menu-divider\"), e.setAttribute(\"role\", \"divider\"), this._element = e, e;\n\t\t}\n\t\tlet e = document.createElement(\"li\");\n\t\tthis._element = e, (yh(this._declaration) || xh(this._declaration) || vh(this._declaration)) && e.setAttribute(\"part\", \"menu-item\"), e.setAttribute(\"tabindex\", \"-1\"), this.hasCheck ? e.setAttribute(\"role\", \"menuitemcheckbox\") : e.setAttribute(\"role\", \"menuitem\"), this.type === \"submenu\" && (e.setAttribute(\"aria-haspopup\", \"true\"), e.setAttribute(\"aria-expanded\", \"false\"));\n\t\tlet t = this.abortController.signal;\n\t\treturn e.addEventListener(\"pointerenter\", this, { signal: t }), e.addEventListener(\"pointerleave\", this, { signal: t }), e.addEventListener(\"pointerup\", this, { signal: t }), e.addEventListener(\"click\", this, { signal: t }), this._element;\n\t}\n\tdispatchSelect() {\n\t\tif (!yh(this._declaration)) return;\n\t\tlet e = new CustomEvent(\"menu-select\", {\n\t\t\tcancelable: !0,\n\t\t\tbubbles: !0,\n\t\t\tdetail: {\n\t\t\t\tmodifiers: this.rootMenu.modifiers,\n\t\t\t\tid: this._declaration.id,\n\t\t\t\tdata: this._declaration.data\n\t\t\t}\n\t\t});\n\t\tthis.parentMenu.dispatchEvent(e) && typeof this._declaration.onMenuSelect == \"function\" && this._declaration.onMenuSelect({\n\t\t\ttarget: this.parentMenu.host ?? void 0,\n\t\t\tmodifiers: this.rootMenu.modifiers,\n\t\t\tid: this._declaration.id,\n\t\t\tdata: this._declaration.data\n\t\t});\n\t}\n\thandleEvent(e) {\n\t\tvar t;\n\t\tif (!(!this.visible || !this.enabled)) {\n\t\t\tif (e.type === \"click\") {\n\t\t\t\tthis.rootMenu.state === \"modal\" && this.select(), e.stopPropagation(), e.preventDefault();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (e.type === \"pointerenter\") {\n\t\t\t\tlet n = e;\n\t\t\t\tthis.rootMenu.cancelDelayedOperation(), this.parentMenu.isSubmenuOpen && (t = this.parentMenu.activeMenuItem) != null && t.movingTowardSubmenu(n) ? this.rootMenu.scheduleOperation(() => {\n\t\t\t\t\tthis.parentMenu.activeMenuItem = this, this.openSubmenu();\n\t\t\t\t}) : (this.parentMenu.activeMenuItem = this, this.openSubmenu({ withDelay: !0 }));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (e.type === \"pointerleave\") {\n\t\t\t\tthis.rootMenu.activeSubmenu === this.parentMenu && (this.parentMenu.activeMenuItem = null);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (e.type === \"pointerup\") {\n\t\t\t\tthis.rootMenu.state !== \"modal\" && this.select(), e.stopPropagation(), e.preventDefault();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\tselect() {\n\t\tif (this.rootMenu.cancelDelayedOperation(), this.type === \"submenu\") {\n\t\t\tthis.openSubmenu();\n\t\t\treturn;\n\t\t}\n\t\tthis.active = !1, setTimeout(() => {\n\t\t\tthis.active = !0, setTimeout(() => {\n\t\t\t\tthis.active = !1, this.rootMenu.hide(), this.dispatchSelect();\n\t\t\t}, wh);\n\t\t}, wh);\n\t}\n\topenSubmenu(e) {\n\t\tvar t;\n\t\tif (this.type !== \"submenu\" || !this.element) return;\n\t\tif ((t = e?.withDelay) != null && t) {\n\t\t\tthis.rootMenu.scheduleOperation(() => this.openSubmenu());\n\t\t\treturn;\n\t\t}\n\t\tlet n = this.element.getBoundingClientRect(), r = fh(this.element);\n\t\tthis.submenu.show({\n\t\t\tcontainer: this.rootMenu.element.parentNode,\n\t\t\tlocation: {\n\t\t\t\tx: ph(n, \"trailing\", r),\n\t\t\t\ty: n.top - 4\n\t\t\t},\n\t\t\talternateLocation: {\n\t\t\t\tx: ph(n, \"leading\", r),\n\t\t\t\ty: n.top - 4\n\t\t\t}\n\t\t});\n\t}\n\tmovingTowardSubmenu(e) {\n\t\tif (!this.element || this.type !== \"submenu\") return !1;\n\t\tlet t = this.rootMenu.lastMoveEvent;\n\t\tif (!t) return !1;\n\t\tlet n = e.timeStamp - t.timeStamp;\n\t\tif (n > 500) return !1;\n\t\tlet r = e.clientX - t.clientX;\n\t\tif (Eh(r, t.clientY - e.clientY, n) <= .2) return !1;\n\t\tlet i = \"right\";\n\t\tif (this.submenu.element) {\n\t\t\tlet e = this.submenu.element.getBoundingClientRect(), t = this.element.getBoundingClientRect();\n\t\t\te.left < t.left + t.width / 2 && (i = \"left\");\n\t\t}\n\t\treturn i === \"right\" ? r > 0 : r < 0;\n\t}\n};\nfunction Eh(e, t, n) {\n\treturn Math.hypot(e, t) / n;\n}\nfunction Dh(e, t) {\n\treturn e === void 0 || typeof e != \"function\" ? e : (t ?? (t = {\n\t\talt: !1,\n\t\tcontrol: !1,\n\t\tshift: !1,\n\t\tmeta: !1\n\t}), e(t));\n}\nvar Oh = class e {\n\tconstructor(e, t) {\n\t\tthis._element = null, this._activeMenuItem = null, this._dirty = !0, this.parentMenu = t?.parentMenu ?? null, this._submenuClass = t?.submenuClass, this.columnCount = t?.columnCount ?? 1, this.isSubmenuOpen = !1, this.menuItems = e;\n\t}\n\tget children() {\n\t\treturn Object.freeze([...this._menuItems]);\n\t}\n\tset menuItems(e) {\n\t\tlet t = this.parentMenu;\n\t\tthis.dispose(), this.parentMenu = t, e = [...e], this._menuItems = e.map((e) => e.onCreate ? e.onCreate(e, this) : new Th(e, this)), this.hasCheck = void 0, this.dirty = !0;\n\t}\n\tdispose() {\n\t\tvar e;\n\t\tthis.hide(), this._element && this._element.remove(), this._abortController && this._abortController.abort(), (e = this._menuItems) == null || e.forEach((e) => e.dispose()), this._menuItems = [], this._activeMenuItem = null, this.parentMenu = null;\n\t}\n\thandleEvent(e) {\n\t\tif (e.type === \"wheel\" && this._element) {\n\t\t\tlet t = e;\n\t\t\tthis._element.scrollBy(0, t.deltaY), e.stopPropagation();\n\t\t}\n\t}\n\tdispatchEvent(e) {\n\t\treturn this.rootMenu.dispatchEvent(e);\n\t}\n\tget host() {\n\t\treturn this.rootMenu.host;\n\t}\n\tget rootMenu() {\n\t\treturn this.parentMenu.rootMenu;\n\t}\n\tupdateState(e) {\n\t\tvar t, n;\n\t\tthis._menuItems.forEach((t) => t.updateState(e));\n\t\tlet r = this.hasCheck;\n\t\tthis.hasCheck = this._menuItems.some((e) => e.visible && e.hasCheck), this.hasCheck !== r && this._menuItems.forEach((t) => t.updateState(e));\n\t\tlet i, a = 0;\n\t\tfor (let e of this._menuItems) e.type === \"heading\" ? (i && a === 0 && (i.visible = !1), i = e, a = 0) : e.type === \"divider\" && i ? (i.visible = a > 0, i = void 0, a = 0) : i && e.visible && (a += 1);\n\t\ti && (i.visible = a > 0);\n\t\tlet o = !0;\n\t\tfor (let e of this._menuItems) e.type === \"divider\" ? (e.visible = !o, o = !0) : e.visible && (o = !1);\n\t\t(t = this.activeMenuItem) != null && t.visible || (this.activeMenuItem = null), !((n = this.activeMenuItem) != null && n.enabled) && this.activeMenuItem?.type === \"submenu\" && this._activeMenuItem.submenu.hide(), this._dirty = !1;\n\t}\n\tget enabled() {\n\t\treturn this.updateIfDirty(), this._menuItems.some((e) => e.type !== \"divider\" && e.visible && e.enabled);\n\t}\n\tget visible() {\n\t\treturn this.updateIfDirty(), this._menuItems.some((e) => e.type !== \"divider\" && e.visible);\n\t}\n\tset dirty(e) {\n\t\tthis._dirty !== e && e && this.parentMenu && (this._dirty = !0, this.parentMenu.dirty = !0);\n\t}\n\tupdateIfDirty() {\n\t\tthis._dirty && this.updateState(this.rootMenu.modifiers);\n\t}\n\tupdateElement() {\n\t\tvar e;\n\t\tif (this._element) {\n\t\t\tthis._element.textContent = \"\";\n\t\t\tfor (let { element: e, visible: t } of this._menuItems) e && t && this._element.append(e);\n\t\t\t(e = this._element.querySelector(\"li:first-of-type\")) == null || e.setAttribute(\"tabindex\", \"0\");\n\t\t}\n\t}\n\tget element() {\n\t\tif (this._element) return this._element;\n\t\tlet e = document.createElement(\"menu\");\n\t\te.setAttribute(\"role\", \"menu\"), e.setAttribute(\"tabindex\", \"-1\"), e.setAttribute(\"aria-orientation\", \"vertical\"), e.setAttribute(\"part\", \"ui-menu-container\"), this._submenuClass && e.classList.add(this._submenuClass), e.classList.add(\"ui-menu-container\"), this._abortController || (this._abortController = new AbortController());\n\t\tlet t = this._abortController.signal;\n\t\treturn e.addEventListener(\"focus\", this, { signal: t }), e.addEventListener(\"wheel\", this, {\n\t\t\tpassive: !0,\n\t\t\tsignal: t\n\t\t}), this._element = e, this.updateElement(), e;\n\t}\n\tget activeMenuItem() {\n\t\treturn this._activeMenuItem;\n\t}\n\tset activeMenuItem(e) {\n\t\tvar t, n, r, i;\n\t\tif (this.rootMenu.cancelDelayedOperation(), e !== this._activeMenuItem) {\n\t\t\tif (this.activeMenuItem) {\n\t\t\t\tlet e = this.activeMenuItem;\n\t\t\t\te.active = !1, (t = e.submenu) == null || t.hide();\n\t\t\t}\n\t\t\tif (!((n = e?.visible) == null || n)) {\n\t\t\t\tthis._activeMenuItem = null;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis._activeMenuItem = e, e && (e.active = !0);\n\t\t}\n\t\te ? (r = e.element) == null || r.focus({ preventScroll: !0 }) : (i = this._element) == null || i.focus({ preventScroll: !0 });\n\t}\n\tget firstMenuItem() {\n\t\tthis.updateIfDirty();\n\t\tlet e = 0, t = !1, n = this._menuItems;\n\t\tfor (; !t && e <= n.length - 1;) {\n\t\t\tlet r = n[e];\n\t\t\tt = r.type !== \"divider\" && r.visible && r.enabled, e += 1;\n\t\t}\n\t\treturn t ? n[e - 1] : null;\n\t}\n\tget lastMenuItem() {\n\t\tthis.updateIfDirty();\n\t\tlet e = this._menuItems, t = e.length - 1, n = !1;\n\t\tfor (; !n && t >= 0;) {\n\t\t\tlet r = e[t];\n\t\t\tn = r.type !== \"divider\" && r.visible && r.enabled, --t;\n\t\t}\n\t\treturn n ? e[t + 1] : null;\n\t}\n\tnextMenuItem(e) {\n\t\tif (e === 0) return this._activeMenuItem;\n\t\tif (!this._activeMenuItem) return e > 0 ? this.firstMenuItem : this.lastMenuItem;\n\t\tif (!this.firstMenuItem || !this.lastMenuItem || !this._activeMenuItem) return null;\n\t\tthis.updateIfDirty();\n\t\tlet t = this._menuItems.indexOf(this.firstMenuItem), n = this._menuItems.indexOf(this.lastMenuItem), r = this._menuItems.indexOf(this._activeMenuItem), i = 1;\n\t\tfor (; r >= t && r <= n;) {\n\t\t\tr += e > 0 ? 1 : -1;\n\t\t\tlet t = this._menuItems[r];\n\t\t\tif (!t) break;\n\t\t\tif (t.visible && t.enabled) {\n\t\t\t\tif (i === Math.abs(e)) return this._menuItems[r];\n\t\t\t\ti += 1;\n\t\t\t}\n\t\t}\n\t\treturn e > 0 ? this.lastMenuItem : this.firstMenuItem;\n\t}\n\tgetMenuItemColumn(e) {\n\t\tthis.updateIfDirty();\n\t\tlet t = this._menuItems.filter((e) => e.visible && e.enabled).indexOf(e);\n\t\treturn t < 0 ? -1 : t % this.columnCount;\n\t}\n\tstatic get collator() {\n\t\treturn e._collator || (e._collator = new Intl.Collator(void 0, {\n\t\t\tusage: \"search\",\n\t\t\tsensitivity: \"base\"\n\t\t})), e._collator;\n\t}\n\tfindMenuItem(t) {\n\t\tthis.updateIfDirty();\n\t\tlet n = this._menuItems.filter((e) => e.type !== \"divider\" && e.visible && e.enabled);\n\t\tif (n.length === 0) return null;\n\t\tlet r = Math.max(...n.map((e) => e.label.length)) - t.length;\n\t\tif (r < 0) return null;\n\t\tlet i = null, a = 0;\n\t\tfor (; a < r && !i;) i = n.find((n) => e.collator.compare(t, n.label.substring(a, t.length)) === 0) ?? null, a++;\n\t\treturn i;\n\t}\n\tshow(e) {\n\t\treturn !this.visible || !e.container ? !1 : (this.updateElement(), e.container.appendChild(this.element), _() && (this.element.popover = \"manual\", this.element.showPopover()), e.location && gh(this.element, {\n\t\t\tlocation: e.location,\n\t\t\talternateLocation: e.alternateLocation,\n\t\t\tverticalPos: \"bottom\",\n\t\t\thorizontalPos: \"start\"\n\t\t}), kh(), this.element.focus({ preventScroll: !0 }), jh(), this.parentMenu && (this.parentMenu.openSubmenu = this), !0);\n\t}\n\thide() {\n\t\tvar e, t, n, r;\n\t\tthis.openSubmenu = null, this.activeMenuItem = null, this.parentMenu && (this.parentMenu.openSubmenu = null), !(!((e = this._element) != null && e.isConnected) || !this._element.parentElement) && (_() && (t = this._element) != null && t.popover && this._element.hidePopover(), kh(), (n = this.parentMenu?.element) == null || n.focus(), (r = this._element?.parentNode) == null || r.removeChild(this._element), jh());\n\t}\n\tset openSubmenu(e) {\n\t\tvar t, n;\n\t\tlet r = e !== null;\n\t\tthis.activeMenuItem?.type === \"submenu\" && ((t = this.activeMenuItem.element) == null || t.setAttribute(\"aria-expanded\", r.toString())), (n = this.activeMenuItem?.element) == null || n.classList.toggle(\"is-submenu-open\", r), this.isSubmenuOpen = r;\n\t}\n};\nfunction kh() {\n\tdocument.addEventListener(\"focusin\", Ah, !0), document.addEventListener(\"focusout\", Ah, !0), document.addEventListener(\"focus\", Ah, !0), document.addEventListener(\"blur\", Ah, !0);\n}\nfunction Ah(e) {\n\te.stopImmediatePropagation(), e.preventDefault();\n}\nfunction jh() {\n\tdocument.removeEventListener(\"focusin\", Ah, !0), document.removeEventListener(\"focusout\", Ah, !0), document.removeEventListener(\"focus\", Ah, !0), document.removeEventListener(\"blur\", Ah, !0);\n}\nvar Mh = class e extends Oh {\n\tconstructor(e, t) {\n\t\tsuper(e), this.state = \"closed\", this.typingBufferResetTimer = 0, this.hysteresisTimer = 0, this._updating = !1, this._host = t?.host ?? null, this.isDynamic = e.some(Ph), this._modifiers = {\n\t\t\tshift: !1,\n\t\t\tcontrol: !1,\n\t\t\talt: !1,\n\t\t\tmeta: !1\n\t\t}, this.typingBuffer = \"\", this.state = \"closed\";\n\t}\n\tget modifiers() {\n\t\treturn this._modifiers;\n\t}\n\tset modifiers(e) {\n\t\tid(this._modifiers, e) || (this._modifiers = e, this.dirty = !0);\n\t}\n\tget activeSubmenu() {\n\t\tlet e = this;\n\t\tfor (; e.isSubmenuOpen;) e = e.activeMenuItem.submenu;\n\t\treturn e;\n\t}\n\tset dirty(e) {\n\t\tthis._updating || this._dirty !== e && (this._dirty = !0, e && setTimeout(() => {\n\t\t\tthis.updateState(this.modifiers), this.updateElement();\n\t\t}));\n\t}\n\tupdateState(e) {\n\t\tthis._updating = !0, this.modifiers = e ?? this.modifiers, super.updateState(this.modifiers), this._updating = !1;\n\t}\n\thandleKeyupEvent(e) {\n\t\tthis.isDynamic && (this.modifiers = rd(e)), e.stopImmediatePropagation();\n\t}\n\thandleKeydownEvent(e) {\n\t\tvar t;\n\t\tif (e.key === \"Tab\" || e.key === \"Escape\") {\n\t\t\tthis.hide();\n\t\t\treturn;\n\t\t}\n\t\tthis.isDynamic && (this.modifiers = rd(e));\n\t\tlet n = !0, r = this.activeSubmenu, i = r.activeMenuItem;\n\t\tswitch (e.key) {\n\t\t\tcase \" \":\n\t\t\tcase \"Space\":\n\t\t\tcase \"Return\":\n\t\t\tcase \"Enter\":\n\t\t\t\ti?.select(rd(e));\n\t\t\t\tbreak;\n\t\t\tcase \"ArrowRight\":\n\t\t\t\tif (i?.type === \"submenu\") i.select(rd(e)), this.activeSubmenu.activeMenuItem = this.activeSubmenu.firstMenuItem;\n\t\t\t\telse if (!i) r.activeMenuItem = r.firstMenuItem;\n\t\t\t\telse {\n\t\t\t\t\tlet e = r.getMenuItemColumn(i) ?? -1;\n\t\t\t\t\tif (e >= 0 && e < (r.columnCount ?? 1) - 1) {\n\t\t\t\t\t\tlet e = r.nextMenuItem(1);\n\t\t\t\t\t\te && (r.activeMenuItem = e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"ArrowLeft\":\n\t\t\t\tif (r === this.rootMenu) i || (r.activeMenuItem = r.firstMenuItem);\n\t\t\t\telse if ((i && (t = r.getMenuItemColumn(i)) != null ? t : -1) <= 0 || !i) {\n\t\t\t\t\tr.hide();\n\t\t\t\t\tlet e = r.parentMenu.activeMenuItem;\n\t\t\t\t\tif (e) {\n\t\t\t\t\t\tlet { element: t } = e;\n\t\t\t\t\t\tt?.focus(), t?.classList.remove(\"is-submenu-open\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tlet e = r.nextMenuItem(-1);\n\t\t\t\t\te && (r.activeMenuItem = e);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"ArrowDown\":\n\t\t\t\tr.activeMenuItem = r.nextMenuItem(r.columnCount);\n\t\t\t\tbreak;\n\t\t\tcase \"ArrowUp\":\n\t\t\t\tr.activeMenuItem = r.nextMenuItem(-r.columnCount);\n\t\t\t\tbreak;\n\t\t\tcase \"Home\":\n\t\t\tcase \"PageUp\":\n\t\t\t\tr.activeMenuItem = r.firstMenuItem;\n\t\t\t\tbreak;\n\t\t\tcase \"End\":\n\t\t\tcase \"PageDown\":\n\t\t\t\tr.activeMenuItem = r.lastMenuItem;\n\t\t\t\tbreak;\n\t\t\tcase \"Backspace\":\n\t\t\t\tif (this.typingBuffer && (this.typingBuffer = this.typingBuffer.slice(0, -1), this.typingBuffer)) {\n\t\t\t\t\tclearTimeout(this.typingBufferResetTimer);\n\t\t\t\t\tlet e = r.findMenuItem(this.typingBuffer);\n\t\t\t\t\te && (r.activeMenuItem = e), this.typingBufferResetTimer = setTimeout(() => {\n\t\t\t\t\t\tthis.typingBuffer = \"\";\n\t\t\t\t\t}, 500);\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault: if (od(e)) {\n\t\t\t\tisFinite(this.typingBufferResetTimer) && clearTimeout(this.typingBufferResetTimer), this.typingBuffer += e.key;\n\t\t\t\tlet t = r.findMenuItem(this.typingBuffer);\n\t\t\t\tt && (r.activeMenuItem = t), this.typingBufferResetTimer = setTimeout(() => {\n\t\t\t\t\tthis.typingBuffer = \"\";\n\t\t\t\t}, 500);\n\t\t\t} else n = !1;\n\t\t}\n\t\tn && (e.preventDefault(), e.stopPropagation());\n\t}\n\thandleEvent(e) {\n\t\tif (e.type === \"keydown\") this.handleKeydownEvent(e);\n\t\telse if (e.type === \"keyup\") this.handleKeyupEvent(e);\n\t\telse if (e.type === \"pointermove\") this.lastMoveEvent = e;\n\t\telse if (e.type === \"pointerup\") Number.isFinite(this.rootMenu._openTimestamp) && Date.now() - this.rootMenu._openTimestamp < 120 ? this.state = \"modal\" : this.state === \"modal\" && e.target === this.scrim && this.hide();\n\t\telse if (e.type === \"contextmenu\") {\n\t\t\te.preventDefault(), e.stopPropagation();\n\t\t\treturn;\n\t\t}\n\t\tsuper.handleEvent(e);\n\t}\n\tdispatchEvent(e) {\n\t\treturn !this._host || this._host.dispatchEvent(e);\n\t}\n\tget host() {\n\t\treturn this._host;\n\t}\n\tget scrim() {\n\t\treturn cd.element;\n\t}\n\tconnectScrim(e) {\n\t\tlet t = this.scrim;\n\t\tt.addEventListener(\"pointerup\", this, !0), t.addEventListener(\"contextmenu\", this), t.addEventListener(\"keydown\", this), t.addEventListener(\"keyup\", this), t.addEventListener(\"pointermove\", this), cd.open({\n\t\t\troot: e,\n\t\t\tonDismiss: () => this.hide()\n\t\t});\n\t}\n\tdisconnectScrim() {\n\t\tlet e = this.scrim;\n\t\te.removeEventListener(\"pointerup\", this, !0), e.removeEventListener(\"contextmenu\", this), e.removeEventListener(\"keydown\", this), e.removeEventListener(\"keyup\", this), e.removeEventListener(\"pointermove\", this), cd.state === \"open\" && cd.scrim.close();\n\t}\n\tget rootMenu() {\n\t\treturn this;\n\t}\n\tshow(e) {\n\t\treturn this._onDismiss = e?.onDismiss, e != null && e.modifiers && (this.modifiers = e.modifiers), this.updateState(), this.connectScrim(e?.target), super.show(c(s({}, e), { container: this.scrim })) ? (this._openTimestamp = Date.now(), this.state = \"open\", !0) : (this.disconnectScrim(), !1);\n\t}\n\thide() {\n\t\tthis.cancelDelayedOperation(), this.state !== void 0 && (this.state !== \"closed\" && (this.activeMenuItem = null, cd.element.parentElement.focus(), super.hide(), this.state = \"closed\", this.disconnectScrim()), this._onDismiss && (this._onDismiss(), this._onDismiss = void 0));\n\t}\n\tscheduleOperation(t) {\n\t\tthis.cancelDelayedOperation();\n\t\tlet n = e.SUBMENU_DELAY;\n\t\tif (n <= 0) {\n\t\t\tt();\n\t\t\treturn;\n\t\t}\n\t\tthis.hysteresisTimer = setTimeout(() => {\n\t\t\tthis.hysteresisTimer = 0, t();\n\t\t}, n);\n\t}\n\tcancelDelayedOperation() {\n\t\tthis.hysteresisTimer && (clearTimeout(this.hysteresisTimer), this.hysteresisTimer = 0);\n\t}\n};\nMh.SUBMENU_DELAY = 120;\nvar Nh = Mh;\nfunction Ph(e) {\n\treturn bh(e) ? !1 : typeof e.label == \"function\" || typeof e.ariaLabel == \"function\" || typeof e.tooltip == \"function\" || (yh(e) || vh(e)) && (typeof e.enabled == \"function\" || typeof e.visible == \"function\") || yh(e) && typeof e.checked == \"function\" ? !0 : vh(e) ? e.submenu.some(Ph) : !1;\n}\nvar Fh = class {};\nFh.DELAY = 300, Fh.MAX_DISTANCE = 10;\nfunction Ih(e) {\n\treturn new Promise((t, n) => {\n\t\tlet r = nd(e);\n\t\tr || t(!1);\n\t\tlet i = r, a = setTimeout(() => {\n\t\t\to.abort(), t(_h(i, r) < Fh.MAX_DISTANCE);\n\t\t}, Fh.DELAY), o = new AbortController(), s = o.signal;\n\t\tfor (let e of [\n\t\t\t\"pointermove\",\n\t\t\t\"pointerup\",\n\t\t\t\"pointercancel\"\n\t\t]) window.addEventListener(e, (e) => {\n\t\t\tif (e.type === \"pointerup\" || e.type === \"pointercancel\") clearTimeout(a), o.abort(), t(!1);\n\t\t\telse if (e.type === \"pointermove\") {\n\t\t\t\tlet t = nd(e);\n\t\t\t\tt && (i = t);\n\t\t\t}\n\t\t}, {\n\t\t\tpassive: !0,\n\t\t\tsignal: s\n\t\t});\n\t});\n}\nasync function Lh(e, t, n) {\n\tif (e.defaultPrevented) return !1;\n\tif (e.type === \"contextmenu\") {\n\t\tlet r = e;\n\t\tif (e.preventDefault(), e.stopPropagation(), n.show({\n\t\t\ttarget: t,\n\t\t\tlocation: nd(r),\n\t\t\tmodifiers: rd(r)\n\t\t})) return !0;\n\t}\n\tif (e.type === \"keydown\") {\n\t\tlet r = e;\n\t\tif (r.code === \"ContextMenu\" || r.code === \"F10\" && r.shiftKey) {\n\t\t\tlet i = t?.getBoundingClientRect();\n\t\t\tif (Rh(t) && i && n.show({\n\t\t\t\ttarget: t,\n\t\t\t\tlocation: {\n\t\t\t\t\tx: Math.ceil(i.left + i.width / 2),\n\t\t\t\t\ty: Math.ceil(i.top + i.height / 2)\n\t\t\t\t},\n\t\t\t\tmodifiers: rd(r)\n\t\t\t})) return e.preventDefault(), e.stopPropagation(), !0;\n\t\t}\n\t}\n\tif (e.type === \"pointerdown\" && e.pointerType !== \"mouse\" && e.button === 0) {\n\t\tlet r = e.target;\n\t\tfor (; r && t !== r;) r = r.parentNode;\n\t\tif (!r || !n.visible) return !1;\n\t\tlet i = nd(e);\n\t\tif (await Ih(e)) return n.state !== \"closed\" || !Rh(t) ? !1 : (n.show({\n\t\t\ttarget: t,\n\t\t\tlocation: i\n\t\t}), !0);\n\t}\n\treturn !1;\n}\nfunction Rh(e) {\n\treturn e.dispatchEvent(new Event(\"contextmenu\", { cancelable: !0 }));\n}\nvar zh = \"<mo>⁡</mo>\", Bh = \"<mo>⁢</mo>\";\nfunction Vh(e) {\n\treturn e.replace(/&/g, \"&\").replace(/\"/g, \""\").replace(/'/g, \"'\").replace(/</g, \"<\").replace(/>/g, \">\");\n}\nfunction G(e, t) {\n\treturn !e || !t.generateID ? \"\" : ` extid=\"${e}\"`;\n}\nfunction Hh(e, t, n) {\n\tlet r = !1;\n\tt = t ?? e.atoms.length;\n\tlet i = \"\", a = \"\", o = e.atoms[e.index], s = o.style?.variant, c = o.style?.variantStyle, l = \"\";\n\tif (o.value && (s || c)) {\n\t\tlet t = Ve(o.value, s, c) ?? o.value;\n\t\tif (t !== o.value) return e.index += 1, i = `<mi${G(o.id, n)}>${t}</mi>`, Gh(i, e, n) || (e.mathML += i, e.lastType = \"mi\"), !0;\n\t\tl = {\n\t\t\tupnormal: \"normal\",\n\t\t\tboldnormal: \"bold\",\n\t\t\titalicmain: \"italic\",\n\t\t\tbolditalicmain: \"bold-italic\",\n\t\t\t\"updouble-struck\": \"double-struck\",\n\t\t\t\"double-struck\": \"double-struck\",\n\t\t\tboldfraktur: \"bold-fraktur\",\n\t\t\tcalligraphic: \"script\",\n\t\t\tupcalligraphic: \"script\",\n\t\t\tscript: \"script\",\n\t\t\tboldscript: \"bold-script\",\n\t\t\tboldcalligraphic: \"bold-script\",\n\t\t\tfraktur: \"fraktur\",\n\t\t\t\"upsans-serif\": \"sans-serif\",\n\t\t\t\"boldsans-serif\": \"bold-sans-serif\",\n\t\t\t\"italicsans-serif\": \"sans-serif-italic\",\n\t\t\t\"bolditalicsans-serif\": \"sans-serif-bold-italic\",\n\t\t\tmonospace: \"monospace\"\n\t\t}[(c ?? \"\") + (s ?? \"\")] ?? \"\", l && (l = ` mathvariant=\"${l}\"`);\n\t}\n\tlet u = {\n\t\t\"\\\\exponentialE\": \"ⅇ\",\n\t\t\"\\\\imaginaryI\": \"ⅈ\",\n\t\t\"\\\\differentialD\": \"ⅆ\",\n\t\t\"\\\\capitalDifferentialD\": \"ⅅ\",\n\t\t\"\\\\alpha\": \"α\",\n\t\t\"\\\\pi\": \"π\",\n\t\t\"\\\\infty\": \"∞\",\n\t\t\"\\\\forall\": \"∀\",\n\t\t\"\\\\nexists\": \"∄\",\n\t\t\"\\\\exists\": \"∃\",\n\t\t\"\\\\hbar\": \"ℏ\",\n\t\t\"\\\\cdotp\": \"⋅\",\n\t\t\"\\\\ldots\": \"…\",\n\t\t\"\\\\cdots\": \"⋯\",\n\t\t\"\\\\ddots\": \"⋱\",\n\t\t\"\\\\vdots\": \"⋮\",\n\t\t\"\\\\ldotp\": \".\"\n\t};\n\tif (o.command === \"!\") return e.index += 1, i = \"<mo>!</mo>\", Gh(i, e, n) || (e.mathML += i, e.lastType = \"mo\"), !0;\n\tif (u[o.command]) {\n\t\te.index += 1;\n\t\tlet t = `<mi${G(o.id, n)}${l}>${u[o.command]}</mi>`;\n\t\treturn (e.lastType === \"mi\" || e.lastType === \"mn\" || e.lastType === \"mtext\" || e.lastType === \"fence\") && (t = Bh + t), Gh(t, e, n) || (e.mathML += t, e.lastType = \"mi\"), !0;\n\t}\n\tif (o.command === \"\\\\operatorname\") a = Zh(o.body), e.index += 1;\n\telse if (s || c) for (; e.index < t && (o.type === \"mord\" || o.type === \"macro\") && !o.isDigit() && s === (o.style?.variant ?? \"\") && c === (o.style?.variantStyle ?? \"\");) a += Zh([o]), e.index += 1, o = e.atoms[e.index];\n\telse (o.type === \"mord\" || o.type === \"macro\") && !o.isDigit() && (a += Zh([o]), e.index += 1);\n\tif (a.length > 0) {\n\t\tr = !0, i = `<mi${l}>${a}</mi>`;\n\t\tlet t = e.lastType;\n\t\ti.endsWith(\">f</mi>\") || i.endsWith(\">g</mi>\") ? (i += zh, e.lastType = \"applyfunction\") : e.lastType = /^<mo>(.*)<\\/mo>$/.test(i) ? \"mo\" : \"mi\", Gh(i, e, n) || ((t === \"mi\" || t === \"mn\" || t === \"mtext\" || t === \"fence\") && (i = Bh + i), e.mathML += i);\n\t}\n\treturn r;\n}\nfunction Uh(e) {\n\treturn e.index < e.atoms.length && e.atoms[e.index].superscript && e.atoms[e.index].type === \"subsup\";\n}\nfunction Wh(e) {\n\tlet t = -1, n = e.index, r = !1, i = !1;\n\tfor (; n < e.atoms.length && !r && !i;) {\n\t\tlet t = e.atoms[n];\n\t\tr = !t.isDigit(), i = !r && t.superscript !== void 0, n++;\n\t}\n\treturn i && (t = n - 1), t;\n}\nfunction Gh(e, t, n) {\n\tlet r = t.atoms[t.index - 1];\n\tif (!r) return !1;\n\tif (!r.superscript && !r.subscript) {\n\t\tif (t.atoms[t.index]?.type === \"subsup\") r = t.atoms[t.index], t.index += 1;\n\t\telse return !1;\n\t}\n\tlet i = t.lastType;\n\tt.lastType = \"\";\n\tlet a = K(r.superscript, n);\n\tt.lastType = \"\";\n\tlet o = K(r.subscript, n);\n\tif (t.lastType = i, !a && !o) return !1;\n\tlet s = \"\";\n\treturn a && o ? s = `<msubsup>${e}${o}${a}</msubsup>` : a ? s = `<msup>${e}${a}</msup>` : o && (s = `<msub>${e}${o}</msub>`), t.mathML += s, t.lastType = \"\", !0;\n}\nfunction Kh(e, t, n) {\n\tt = t ?? e.atoms.length;\n\tlet r = e.index, i = \"\", a = Wh(e);\n\tfor (a >= 0 && a < t && (t = a); e.index < t && e.atoms[e.index].mode === \"text\";) i += e.atoms[e.index].value ? e.atoms[e.index].value : \" \", e.index += 1;\n\treturn i.length > 0 && (i = `<mtext ${G(e.atoms[r].id, n)}>${Vh(i)}</mtext>`, a < 0 && Uh(e) && (a = e.index, e.index += 1), Gh(i, e, n) || (e.mathML += i, e.lastType = \"mtext\"), !0);\n}\nfunction qh(e, t, n) {\n\tt = t ?? e.atoms.length;\n\tlet r = e.index, i = \"\", a = Wh(e);\n\tfor (a >= 0 && a < t && (t = a); e.index < t && e.atoms[e.index].isDigit();) i += e.atoms[e.index].asDigit(), e.index += 1;\n\treturn i.length <= 0 ? !1 : (i = \"<mn\" + G(e.atoms[r].id, n) + \">\" + i + \"</mn>\", a < 0 && Uh(e) && (a = e.index, e.index += 1), Gh(i, e, n) || (e.mathML += i, e.lastType = \"mn\"), !0);\n}\nfunction Jh(e, t, n) {\n\tlet r = !1;\n\tt = t ?? e.atoms.length;\n\tlet i = \"\", a = \"\";\n\tif (e.index < t && e.atoms[e.index].type === \"mopen\") {\n\t\tlet o = !1, s = 0, c = e.index, l = -1, u = c + 1;\n\t\tfor (; u < t && !o;) e.atoms[u].type === \"mopen\" ? s += 1 : e.atoms[u].type === \"mclose\" && --s, s === -1 && (o = !0, l = u), u += 1;\n\t\to && (i = \"<mrow>\", i += Xh(e.atoms[c], n), i += K(e.atoms, n, c + 1, l), i += Xh(e.atoms[l], n), i += \"</mrow>\", e.index = l + 1, (e.lastType === \"mi\" || e.lastType === \"mn\" || e.lastType === \"mfrac\" || e.lastType === \"fence\") && (e.mathML += Bh), Gh(i, e, n) && (r = !0, e.lastType = \"\", i = \"\"), a = \"fence\");\n\t}\n\treturn i.length > 0 && (r = !0, e.mathML += i, e.lastType = a), r;\n}\nfunction Yh(e, t, n) {\n\tlet r = !1;\n\tt = t ?? e.atoms.length;\n\tlet i = \"\", a = \"\", o = e.atoms[e.index];\n\tif (!o) return !1;\n\tlet s = {\n\t\t\"\\\\ne\": \"≠\",\n\t\t\"\\\\neq\": \"≠\",\n\t\t\"\\\\pm\": \"±\",\n\t\t\"\\\\times\": \"×\",\n\t\t\"\\\\colon\": \":\",\n\t\t\"\\\\vert\": \"|\",\n\t\t\"\\\\Vert\": \"∥\",\n\t\t\"\\\\mid\": \"∣\",\n\t\t\"\\\\{\": \"{\",\n\t\t\"\\\\}\": \"}\",\n\t\t\"\\\\lbrace\": \"{\",\n\t\t\"\\\\rbrace\": \"}\",\n\t\t\"\\\\lbrack\": \"[\",\n\t\t\"\\\\rbrack\": \"]\",\n\t\t\"\\\\lparen\": \"(\",\n\t\t\"\\\\rparen\": \")\",\n\t\t\"\\\\langle\": \"⟨\",\n\t\t\"\\\\rangle\": \"⟩\",\n\t\t\"\\\\lfloor\": \"⌊\",\n\t\t\"\\\\rfloor\": \"⌋\",\n\t\t\"\\\\lceil\": \"⌈\",\n\t\t\"\\\\rceil\": \"⌉\"\n\t};\n\tif (s[o.command]) {\n\t\te.index += 1;\n\t\tlet t = `<mo${G(o.id, n)}>${s[o.command]}</mo>`;\n\t\treturn Gh(t, e, n) || (e.mathML += t, e.lastType = \"mo\"), !0;\n\t}\n\tif (e.index < t && (o.type === \"mbin\" || o.type === \"mrel\")) i += Qh(e.atoms[e.index], n), e.index += 1, a = \"mo\";\n\telse if (e.index < t && (o.type === \"mop\" || o.type === \"operator\" || o.type === \"extensible-symbol\")) {\n\t\tif (o.subsupPlacement === \"over-under\" && (o.superscript || o.subscript)) {\n\t\t\tlet t = Xh(o, n);\n\t\t\treturn o.superscript && o.subscript ? (i += \"<munderover>\" + t, i += K(o.subscript, n), i += K(o.superscript, n), i += \"</munderover>\") : o.superscript ? (i += \"<mover>\" + t, i += K(o.superscript, n), i += \"</mover>\") : o.subscript && (i += \"<munder>\" + t, i += K(o.subscript, n), i += \"</munder>\"), e.mathML += i, e.lastType = \"mo\", e.index += 1, !0;\n\t\t}\n\t\t{\n\t\t\tlet t = e.atoms[e.index], r = t.value === \"\\\\operatorname\", o = r ? \"<mi class=\\\"MathML-Unit\\\"\" + G(t.id, n) + \">\" + Zh(t.value) + \"</mi>\" : Xh(t, n);\n\t\t\ti += o, !r && !/^<mo>(.*)<\\/mo>$/.test(o) ? (i += zh, a = \"applyfunction\") : a = r ? \"mi\" : \"mo\";\n\t\t}\n\t\t(e.lastType === \"mi\" || e.lastType === \"mn\") && !/^<mo>(.*)<\\/mo>$/.test(i) && (i = Bh + i), e.index += 1;\n\t}\n\treturn i.length > 0 && (r = !0, Gh(i, e, n) || (e.mathML += i, e.lastType = a)), r;\n}\nfunction K(e, t, n, r) {\n\tt ?? (t = {});\n\tlet i = {\n\t\tatoms: [],\n\t\tindex: n ?? 0,\n\t\tmathML: \"\",\n\t\tlastType: \"\"\n\t};\n\tif (typeof e == \"number\" || typeof e == \"boolean\") i.mathML = e.toString();\n\telse if (typeof e == \"string\") i.mathML = e;\n\telse if (e instanceof F) i.mathML = Qh(e, t);\n\telse if (Array.isArray(e)) {\n\t\ti.atoms = e;\n\t\tlet n = 0;\n\t\tfor (r = r || (e ? e.length : 0); i.index < r;) if (Kh(i, r, t) || qh(i, r, t) || Hh(i, r, t) || Yh(i, r, t) || Jh(i, r, t)) n += 1;\n\t\telse if (i.index < r) {\n\t\t\tlet e = Qh(i.atoms[i.index], t);\n\t\t\ti.lastType === \"mn\" && e.length > 0 && i.atoms[i.index].type === \"genfrac\" && (e = \"<mo>⁤</mo>\" + e), i.lastType = i.atoms[i.index].type === \"genfrac\" ? \"mfrac\" : \"\", i.index += 1, Gh(e, i, t) ? n += 1 : e.length > 0 && (i.mathML += e, n += 1);\n\t\t}\n\t\tn > 1 && (i.mathML = \"<mrow>\" + i.mathML + \"</mrow>\");\n\t}\n\treturn i.mathML;\n}\nfunction Xh(e, t) {\n\tlet n = \"\", r = Zh(e.value);\n\treturn r && (n = \"<mo\" + G(e.id, t) + \">\" + r + \"</mo>\"), n;\n}\nfunction Zh(e) {\n\tif (!e) return \"\";\n\tif (typeof e == \"string\") return Vh(e);\n\tif (!Array.isArray(e) && typeof e.body == \"string\") return Vh(e.body);\n\tlet t = \"\";\n\tfor (let n of e) typeof n.value == \"string\" && (t += n.value);\n\treturn Vh(t);\n}\nfunction Qh(e, t) {\n\tvar n, r, i, a;\n\tif (e.mode === \"text\") return `<mi${G(e.id, t)}>${Vh(e.value)}</mi>`;\n\tlet o = {\n\t\twidehat: \"^\",\n\t\twidecheck: \"ˇ\",\n\t\twidetilde: \"~\",\n\t\tutilde: \"~\",\n\t\toverleftarrow: \"←\",\n\t\tunderleftarrow: \"←\",\n\t\txleftarrow: \"←\",\n\t\tlongleftarrow: \"←\",\n\t\toverrightarrow: \"→\",\n\t\tunderrightarrow: \"→\",\n\t\txrightarrow: \"→\",\n\t\tlongrightarrow: \"→\",\n\t\tunderbrace: \"⏟\",\n\t\toverbrace: \"⏞\",\n\t\tovergroup: \"⏠\",\n\t\tundergroup: \"⏡\",\n\t\toverleftrightarrow: \"↔\",\n\t\tunderleftrightarrow: \"↔\",\n\t\txleftrightarrow: \"↔\",\n\t\tOverrightarrow: \"⇒\",\n\t\txRightarrow: \"⇒\",\n\t\toverleftharpoon: \"↼\",\n\t\txleftharpoonup: \"↼\",\n\t\toverrightharpoon: \"⇀\",\n\t\txrightharpoonup: \"⇀\",\n\t\txLeftarrow: \"⇐\",\n\t\txLeftrightarrow: \"⇔\",\n\t\txhookleftarrow: \"↩\",\n\t\txhookrightarrow: \"↪\",\n\t\txmapsto: \"↦\",\n\t\txrightharpoondown: \"⇁\",\n\t\txleftharpoondown: \"↽\",\n\t\txrightleftharpoons: \"⇌\",\n\t\tlongrightleftharpoons: \"⇌\",\n\t\txleftrightharpoons: \"⇋\",\n\t\txtwoheadleftarrow: \"↞\",\n\t\txtwoheadrightarrow: \"↠\",\n\t\txlongequal: \"=\",\n\t\txtofrom: \"⇄\",\n\t\txleftrightarrows: \"⇄\",\n\t\txRightleftharpoons: \"⇌\",\n\t\tlongRightleftharpoons: \"⇌\",\n\t\txLeftrightharpoons: \"⇋\",\n\t\tlongLeftrightharpoons: \"⇋\"\n\t}, s = {\n\t\t\"\\\\!\": -3 / 18,\n\t\t\"\\\\ \": 6 / 18,\n\t\t\"\\\\,\": 3 / 18,\n\t\t\"\\\\:\": 4 / 18,\n\t\t\"\\\\>\": 4 / 18,\n\t\t\"\\\\;\": 5 / 18,\n\t\t\"\\\\enspace\": .5,\n\t\t\"\\\\quad\": 1,\n\t\t\"\\\\qquad\": 2,\n\t\t\"\\\\enskip\": .5\n\t}, c = \"\", l = \"\", u, d, f, p, m, h, { command: g } = e;\n\tif (e.command === \"\\\\error\") return `<merror${G(e.id, t)}>${K(e.body, t)}</merror>`;\n\tlet _ = {\n\t\t\"\\\\vert\": \"|\",\n\t\t\"\\\\Vert\": \"∥\",\n\t\t\"\\\\mid\": \"∣\",\n\t\t\"\\\\lbrack\": \"[\",\n\t\t\"\\\\rbrack\": \"]\",\n\t\t\"\\\\{\": \"{\",\n\t\t\"\\\\}\": \"}\",\n\t\t\"\\\\lbrace\": \"{\",\n\t\t\"\\\\rbrace\": \"}\",\n\t\t\"\\\\lparen\": \"(\",\n\t\t\"\\\\rparen\": \")\",\n\t\t\"\\\\langle\": \"⟨\",\n\t\t\"\\\\rangle\": \"⟩\",\n\t\t\"\\\\lfloor\": \"⌊\",\n\t\t\"\\\\rfloor\": \"⌋\",\n\t\t\"\\\\lceil\": \"⌈\",\n\t\t\"\\\\rceil\": \"⌉\"\n\t}, ee = {\n\t\t\"\\\\vec\": \"⃗\",\n\t\t\"\\\\acute\": \"´\",\n\t\t\"\\\\grave\": \"`\",\n\t\t\"\\\\dot\": \"˙\",\n\t\t\"\\\\ddot\": \"¨\",\n\t\t\"\\\\tilde\": \"~\",\n\t\t\"\\\\bar\": \"¯\",\n\t\t\"\\\\breve\": \"˘\",\n\t\t\"\\\\check\": \"ˇ\",\n\t\t\"\\\\hat\": \"^\"\n\t};\n\tswitch (e.type) {\n\t\tcase \"first\": break;\n\t\tcase \"error\":\n\t\t\tif (e.command === \"\\\\\\\\\") break;\n\t\t\tc = `<merror${G(e.id, t)}>${K(e.body, t)}</merror>`;\n\t\t\tbreak;\n\t\tcase \"group\":\n\t\tcase \"root\":\n\t\t\tc = K(e.body, t);\n\t\t\tbreak;\n\t\tcase \"array\":\n\t\t\tlet v = e;\n\t\t\tif ((v.leftDelim && v.leftDelim !== \".\" || v.rightDelim && v.rightDelim !== \".\") && (c += \"<mrow>\", v.leftDelim && v.leftDelim !== \".\" && (c += `<mo>${Vh(_[v.leftDelim] || v.leftDelim)}</mo>`)), c += \"<mtable\", v.colFormat) {\n\t\t\t\tfor (c += \" columnalign=\\\"\", f = 0; f < v.colFormat.length; f++) {\n\t\t\t\t\tlet e = v.colFormat[f];\n\t\t\t\t\t\"align\" in e && (c += {\n\t\t\t\t\t\tl: \"left\",\n\t\t\t\t\t\tc: \"center\",\n\t\t\t\t\t\tr: \"right\"\n\t\t\t\t\t}[e.align] + \" \");\n\t\t\t\t}\n\t\t\t\tc += \"\\\"\";\n\t\t\t}\n\t\t\tfor (c += \">\", d = 0; d < v.rows.length; d++) {\n\t\t\t\tfor (c += \"<mtr>\", u = 0; u < v.rows[d].length; u++) c += \"<mtd>\" + K(v.rows[d][u], t) + \"</mtd>\";\n\t\t\t\tc += \"</mtr>\";\n\t\t\t}\n\t\t\tc += \"</mtable>\", (v.leftDelim && v.leftDelim !== \".\" || v.rightDelim && v.rightDelim !== \".\") && (v.rightDelim && v.rightDelim !== \".\" && (c += `<mo>${Vh(_[v.rightDelim] || v.rightDelim)}</mo>`), c += \"</mrow>\");\n\t\t\tbreak;\n\t\tcase \"genfrac\":\n\t\t\tlet y = e;\n\t\t\t(y.leftDelim || y.rightDelim) && (c += \"<mrow>\"), y.leftDelim && y.leftDelim !== \".\" && (c += \"<mo\" + G(e.id, t) + \">\" + Vh(_[y.leftDelim] || y.leftDelim) + \"</mo>\"), y.hasBarLine ? (c += \"<mfrac>\", c += K(e.above, t) || \"<mi> </mi>\", c += K(e.below, t) || \"<mi> </mi>\", c += \"</mfrac>\") : (c += \"<mtable\" + G(e.id, t) + \">\", c += \"<mtr>\" + K(e.above, t) + \"</mtr>\", c += \"<mtr>\" + K(e.below, t) + \"</mtr>\", c += \"</mtable>\"), y.rightDelim && y.rightDelim !== \".\" && (c += \"<mo\" + G(e.id, t) + \">\" + Vh(_[y.rightDelim] || y.rightDelim) + \"</mo>\"), (y.leftDelim || y.rightDelim) && (c += \"</mrow>\");\n\t\t\tbreak;\n\t\tcase \"surd\":\n\t\t\te.hasEmptyBranch(\"above\") ? (c += \"<msqrt\" + G(e.id, t) + \">\", c += K(e.body, t), c += \"</msqrt>\") : (c += \"<mroot\" + G(e.id, t) + \">\", c += K(e.body, t), c += K(e.above, t), c += \"</mroot>\");\n\t\t\tbreak;\n\t\tcase \"leftright\":\n\t\t\tlet te = e, ne = te.leftDelim;\n\t\t\tc = \"<mrow>\", ne && ne !== \".\" && (c += `<mo${G(e.id, t)}>${Vh(_[ne] ?? ne)}</mo>`), e.body && (c += K(e.body, t));\n\t\t\tlet re = te.matchingRightDelim();\n\t\t\tre && re !== \".\" && (c += `<mo${G(e.id, t)}>${Vh(_[re] ?? re)}</mo>`), c += \"</mrow>\";\n\t\t\tbreak;\n\t\tcase \"sizeddelim\":\n\t\tcase \"delim\":\n\t\t\tc += `<mo${G(e.id, t)}>${Vh(_[e.value] || e.value)}</mo>`;\n\t\t\tbreak;\n\t\tcase \"accent\":\n\t\t\tlet ie = e;\n\t\t\tc += \"<mover accent=\\\"true\\\"\" + G(e.id, t) + \">\", c += K(e.body, t), c += \"<mo>\" + (ee[g] || ie.accent) + \"</mo>\", c += \"</mover>\";\n\t\t\tbreak;\n\t\tcase \"line\":\n\t\tcase \"overlap\": break;\n\t\tcase \"overunder\":\n\t\t\tlet b = e;\n\t\t\tm = e.above, p = e.below, (b.svgAbove || m) && (b.svgBelow || p) ? h = e.body : m && m.length > 0 ? (h = e.body, (n = e.body?.[0]) != null && n.below ? (p = e.body[0].below, h = e.body[0].body) : e.body?.[0]?.type === \"first\" && (r = e.body?.[1]) != null && r.below && (p = e.body[1].below, h = e.body[1].body)) : p && p.length > 0 && (h = e.body, (i = e.body?.[0]) != null && i.above ? (m = e.body[0].above, h = e.body[0].body) : e.body?.[0]?.type === \"first\" && (a = e.body?.[1]) != null && a.above && (m = e.body[1].above, h = e.body[1].body)), (b.svgAbove || m) && (b.svgBelow || p) ? (c += `<munderover ${G(e.id, t)}>`, c += o[b.svgBody] ?? K(h, t), c += o[b.svgBelow] ?? K(p, t), c += o[b.svgAbove] ?? K(m, t), c += \"</munderover>\") : b.svgAbove || m ? (c += `<mover ${G(e.id, t)}>` + (o[b.svgBody] ?? K(h, t)), c += o[b.svgAbove] ?? K(m, t), c += \"</mover>\") : (b.svgBelow || p) && (c += `<munder ${G(e.id, t)}>` + (o[b.svgBody] ?? K(h, t)), c += o[b.svgBelow] ?? K(p, t), c += \"</munder>\");\n\t\t\tbreak;\n\t\tcase \"placeholder\":\n\t\t\tc += \"?\";\n\t\t\tbreak;\n\t\tcase \"mord\": {\n\t\t\tif (c = typeof e.value == \"string\" ? e.value : g, c.length > 0 && c.startsWith(\"\\\\\")) typeof e.value == \"string\" && e.value.charCodeAt(0) > 255 ? c = String.fromCodePoint(e.value.codePointAt(0)) : typeof e.value == \"string\" && (c = e.value.charAt(0));\n\t\t\telse if (e.command === \"\\\\char\") {\n\t\t\t\tlet t = e.args?.[0];\n\t\t\t\tif (t !== void 0 && \"number\" in t) {\n\t\t\t\t\tlet e = t.number;\n\t\t\t\t\ttypeof e == \"number\" && e >= 0 && e <= 1114111 && (c = String.fromCodePoint(e));\n\t\t\t\t}\n\t\t\t} else typeof e.value == \"string\" ? c = e.value : (console.error(\"Did not expect this\"), c = \"\");\n\t\t\tlet n = /\\d/.test(c) ? \"mn\" : \"mi\";\n\t\t\tc = `<${n}${G(e.id, t)}>${Vh(c)}</${n}>`;\n\t\t\tbreak;\n\t\t}\n\t\tcase \"mbin\":\n\t\tcase \"mrel\":\n\t\tcase \"minner\":\n\t\t\tc = Xh(e, t);\n\t\t\tbreak;\n\t\tcase \"mpunct\":\n\t\t\tc = \"<mo separator=\\\"true\\\"\" + G(e.id, t) + \">\" + g + \"</mo>\";\n\t\t\tbreak;\n\t\tcase \"mop\":\n\t\tcase \"operator\":\n\t\tcase \"extensible-symbol\":\n\t\t\te.value !== \"\" && (c = \"<mo\" + G(e.id, t) + \">\", c += g === \"\\\\operatorname\" ? e.body : g || e.body, c += \"</mo>\");\n\t\t\tbreak;\n\t\tcase \"box\":\n\t\t\tlet ae = e;\n\t\t\tc = \"<menclose notation=\\\"box\\\"\", ae.backgroundcolor && (c += \" mathbackground=\\\"\" + ae.backgroundcolor + \"\\\"\"), c += G(e.id, t) + \">\" + K(e.body, t) + \"</menclose>\";\n\t\t\tbreak;\n\t\tcase \"spacing\":\n\t\t\tc += \"<mspace width=\\\"\" + (s[g] ?? 0) + \"em\\\"/>\";\n\t\t\tbreak;\n\t\tcase \"enclose\":\n\t\t\tlet oe = e;\n\t\t\tc = \"<menclose notation=\\\"\";\n\t\t\tfor (let e in oe.notation) Object.prototype.hasOwnProperty.call(oe.notation, e) && oe.notation[e] && (c += l + e, l = \" \");\n\t\t\tc += G(e.id, t) + \"\\\">\" + K(e.body, t) + \"</menclose>\";\n\t\t\tbreak;\n\t\tcase \"prompt\":\n\t\t\tc = \"<menclose notation=\\\"roundexbox\\\"\\\"\\\">\" + K(e.body, t) + \"</menclose>\";\n\t\t\tbreak;\n\t\tcase \"space\":\n\t\t\tc += \" \";\n\t\t\tbreak;\n\t\tcase \"subsup\": break;\n\t\tcase \"phantom\": break;\n\t\tcase \"composition\": break;\n\t\tcase \"rule\": break;\n\t\tcase \"chem\": break;\n\t\tcase \"mopen\":\n\t\t\tc += Xh(e, t);\n\t\t\tbreak;\n\t\tcase \"mclose\":\n\t\t\tc += Xh(e, t);\n\t\t\tbreak;\n\t\tcase \"macro\":\n\t\t\t{\n\t\t\t\tlet n = e.command + Zh(e.macroArgs);\n\t\t\t\tn && (c += `<mo ${G(e.id, t)}>${n}</mo>`);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"latexgroup\":\n\t\t\tc += K(e.body, t);\n\t\t\tbreak;\n\t\tcase \"latex\":\n\t\t\tc += \"<mtext\" + G(e.id, t) + \">\" + Vh(e.value) + \"</mtext>\";\n\t\t\tbreak;\n\t\tcase \"tooltip\":\n\t\t\tc += K(e.body, t);\n\t\t\tbreak;\n\t\tcase \"text\":\n\t\t\tc += `<mtext ${G(e.id, t)}x>${Vh(e.value)}</mtext>`;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tif (e.command === \"\\\\displaystyle\") return `<mrow ${G(e.id, t)} displaystyle=\"true\">${K(e.body, t)}</mrow>`;\n\t\t\tif (e.command === \"\\\\textstyle\") return `<mrow ${G(e.id, t)} displaystyle=\"false\">${K(e.body, t)}</mrow>`;\n\t\t\tconsole.info(\"Unexpected element in conversion to MathML:\", e);\n\t}\n\treturn c;\n}\nvar $h = {\n\t\"\\\\alpha\": \"alpha \",\n\t\"\\\\mu\": \"mew \",\n\t\"\\\\sigma\": \"sigma \",\n\t\"\\\\pi\": \"pie \",\n\t\"\\\\imaginaryI\": \"imaginary eye \",\n\t\"\\\\imaginaryJ\": \"imaginary jay \",\n\t\"\\\\sum\": \"Summation \",\n\t\"\\\\prod\": \"Product \",\n\t\"+\": \"plus \",\n\t\"-\": \"minus \",\n\t\";\": \"<break time=\\\"150ms\\\"/> semi-colon <break time=\\\"150ms\\\"/>\",\n\t\",\": \"<break time=\\\"150ms\\\"/> comma <break time=\\\"150ms\\\"/>\",\n\t\"|\": \"<break time=\\\"150ms\\\"/>Vertical bar<break time=\\\"150ms\\\"/>\",\n\t\"(\": \"<break time=\\\"150ms\\\"/>Open paren. <break time=\\\"150ms\\\"/>\",\n\t\")\": \"<break time=\\\"150ms\\\"/> Close paren. <break time=\\\"150ms\\\"/>\",\n\t\"=\": \"equals \",\n\t\"<\": \"is less than \",\n\t\"\\\\lt\": \"is less than \",\n\t\"<=\": \"is less than or equal to \",\n\t\"\\\\le\": \"is less than or equal to \",\n\t\"\\\\gt\": \"is greater than \",\n\t\">\": \"is greater than \",\n\t\"\\\\pm\": \"plus or minus\",\n\t\"\\\\mp\": \"minus or plus\",\n\t\"\\\\ge\": \"is greater than or equal to \",\n\t\"\\\\geq\": \"is greater than or equal to \",\n\t\"\\\\leq\": \"is less than or equal to \",\n\t\"\\\\ne\": \"is not equal to \",\n\t\"\\\\neq\": \"is not equal to \",\n\t\"!\": \"factorial \",\n\t\"\\\\sin\": \"sine \",\n\t\"\\\\cos\": \"cosine \",\n\t\"\": \"\",\n\t\"−\": \"minus \",\n\t\":\": \"<break time=\\\"150ms\\\"/> such that <break time=\\\"200ms\\\"/> \",\n\t\"\\\\colon\": \"<break time=\\\"150ms\\\"/> such that <break time=\\\"200ms\\\"/> \",\n\t\"\\\\hbar\": \"etch bar \",\n\t\"\\\\iff\": \"<break time=\\\"200ms\\\"/>if, and only if, <break time=\\\"200ms\\\"/>\",\n\t\"\\\\Longleftrightarrow\": \"<break time=\\\"200ms\\\"/>if, and only if, <break time=\\\"200ms\\\"/>\",\n\t\"\\\\land\": \"and \",\n\t\"\\\\lor\": \"or \",\n\t\"\\\\neg\": \"not \",\n\t\"\\\\div\": \"divided by \",\n\t\"\\\\forall\": \"for all \",\n\t\"\\\\exists\": \"there exists \",\n\t\"\\\\nexists\": \"there does not exists \",\n\t\"\\\\in\": \"element of \",\n\t\"\\\\N\": \"the set <break time=\\\"150ms\\\"/><say-as interpret-as=\\\"character\\\">n</say-as>\",\n\t\"\\\\C\": \"the set <break time=\\\"150ms\\\"/><say-as interpret-as=\\\"character\\\">c</say-as>\",\n\t\"\\\\Z\": \"the set <break time=\\\"150ms\\\"/><say-as interpret-as=\\\"character\\\">z</say-as>\",\n\t\"\\\\Q\": \"the set <break time=\\\"150ms\\\"/><say-as interpret-as=\\\"character\\\">q</say-as>\",\n\t\"\\\\infty\": \"infinity \",\n\t\"\\\\nabla\": \"nabla \",\n\t\"\\\\partial\": \"partial derivative of \",\n\t\"\\\\cdot\": \"times \",\n\t\"\\\\cdots\": \"dot dot dot \",\n\t\"\\\\Rightarrow\": \"implies \",\n\t\"\\\\lparen\": \"<break time=\\\"150ms\\\"/>open paren<break time=\\\"150ms\\\"/>\",\n\t\"\\\\rparen\": \"<break time=\\\"150ms\\\"/>close paren<break time=\\\"150ms\\\"/>\",\n\t\"\\\\lbrace\": \"<break time=\\\"150ms\\\"/>open brace<break time=\\\"150ms\\\"/>\",\n\t\"\\\\{\": \"<break time=\\\"150ms\\\"/>open brace<break time=\\\"150ms\\\"/>\",\n\t\"\\\\rbrace\": \"<break time=\\\"150ms\\\"/>close brace<break time=\\\"150ms\\\"/>\",\n\t\"\\\\}\": \"<break time=\\\"150ms\\\"/>close brace<break time=\\\"150ms\\\"/>\",\n\t\"\\\\langle\": \"<break time=\\\"150ms\\\"/>left angle bracket<break time=\\\"150ms\\\"/>\",\n\t\"\\\\rangle\": \"<break time=\\\"150ms\\\"/>right angle bracket<break time=\\\"150ms\\\"/>\",\n\t\"\\\\lfloor\": \"<break time=\\\"150ms\\\"/>open floor<break time=\\\"150ms\\\"/>\",\n\t\"\\\\rfloor\": \"<break time=\\\"150ms\\\"/>close floor<break time=\\\"150ms\\\"/>\",\n\t\"\\\\lceil\": \"<break time=\\\"150ms\\\"/>open ceiling<break time=\\\"150ms\\\"/>\",\n\t\"\\\\rceil\": \"<break time=\\\"150ms\\\"/>close ceiling<break time=\\\"150ms\\\"/>\",\n\t\"\\\\vert\": \"<break time=\\\"150ms\\\"/>vertical bar<break time=\\\"150ms\\\"/>\",\n\t\"\\\\mvert\": \"<break time=\\\"150ms\\\"/>divides<break time=\\\"150ms\\\"/>\",\n\t\"\\\\lvert\": \"<break time=\\\"150ms\\\"/>left vertical bar<break time=\\\"150ms\\\"/>\",\n\t\"\\\\rvert\": \"<break time=\\\"150ms\\\"/>right vertical bar<break time=\\\"150ms\\\"/>\",\n\t\"\\\\lbrack\": \"<break time=\\\"150ms\\\"/> open square bracket <break time=\\\"150ms\\\"/>\",\n\t\"\\\\rbrack\": \"<break time=\\\"150ms\\\"/> close square bracket <break time=\\\"150ms\\\"/>\",\n\tmm: \"millimeters\",\n\tcm: \"centimeters\",\n\tkm: \"kilometers\",\n\tkg: \"kilograms\"\n}, eg = {\n\tarray: \"array\",\n\tmatrix: \"matrix\",\n\tpmatrix: \"parenthesis matrix\",\n\tbmatrix: \"square brackets matrix\",\n\tBmatrix: \"braces matrix\",\n\tvmatrix: \"bars matrix\",\n\tVmatrix: \"double bars matrix\",\n\t\"matrix*\": \"matrix\",\n\tsmallmatrix: \"small matrix\"\n};\nfunction tg(e) {\n\tlet t = \"\";\n\treturn e.startsWith(\"\\\\\") && (t = \" \" + e.replace(\"\\\\\", \"\") + \" \"), t;\n}\nfunction ng(e) {\n\tlet t = 0;\n\tif (x(e)) for (let n of e) n.type !== \"first\" && (t += 1);\n\treturn t === 1;\n}\nfunction rg(e) {\n\tif (x(e)) {\n\t\tfor (let t of e) if (t.type !== \"first\" && t.id) return t.id.toString();\n\t}\n\treturn \"\";\n}\nfunction ig(e) {\n\tlet t = \"\";\n\tif (x(e)) for (let n of e) n.type !== \"first\" && typeof n.value == \"string\" && (t += n.value);\n\treturn t;\n}\nfunction ag(e) {\n\treturn e ? e.map((e) => e.value).join(\"\") : \"\";\n}\nfunction og(e) {\n\tif (e && !e.some((e) => e.type !== \"first\" && e.value === void 0)) return e.map((e) => e.value).join(\"\");\n}\nfunction sg(e) {\n\treturn `<emphasis>${e}</emphasis>`;\n}\nfunction cg(e, t) {\n\tlet n = \"\", r = !1, i = !1;\n\tfor (let a = 0; a < t.length; a++) t[a].type !== \"first\" && (t[a].mode !== \"text\" && (i = !1), a < t.length - 2 && t[a].type === \"mopen\" && t[a + 2].type === \"mclose\" && t[a + 1].type === \"mord\" ? (n += \" of \", n += sg(q(e, t[a + 1])), a += 2) : t[a].mode === \"text\" ? i ? n += t[a].value ?? \" \" : (i = !0, n += q(\"text\", t[a])) : t[a].isDigit() ? r ? n += t[a].asDigit() : (r = !0, n += q(e, t[a])) : (r = !1, n += q(e, t[a])));\n\treturn n;\n}\nfunction q(e, t) {\n\tfunction n(e) {\n\t\treturn globalThis.MathfieldElement.textToSpeechMarkup ? /[a-z]/.test(e) ? ` <say-as interpret-as=\"character\">${e}</say-as>` : /[A-Z]/.test(e) ? `capital <say-as interpret-as=\"character\">${e.toLowerCase()}</say-as>` : e : /[a-z]/.test(e) ? \" '\" + e.toUpperCase() + \"'\" : /[A-Z]/.test(e) ? \" 'capital \" + e.toUpperCase() + \"'\" : e;\n\t}\n\tif (!t) return \"\";\n\tif (x(t)) return cg(e, t);\n\tlet r = \"\";\n\tif (t.id && e === \"math\" && (r += \"<mark name=\\\"\" + t.id.toString() + \"\\\"/>\"), t.mode === \"text\") return r + t.value;\n\tlet i = \"\", a = \"\", o = \"\", s = !1, { command: c } = t;\n\tswitch (c) {\n\t\tcase \"\\\\vec\": return \"vector \" + q(e, t.body);\n\t\tcase \"\\\\acute\": return q(e, t.body) + \" acute\";\n\t\tcase \"\\\\grave\": return q(e, t.body) + \" grave\";\n\t\tcase \"\\\\dot\": return \"dot over\" + q(e, t.body);\n\t\tcase \"\\\\ddot\": return \"double dot over\" + q(e, t.body);\n\t\tcase \"\\\\mathring\": return \"ring over\" + q(e, t.body);\n\t\tcase \"\\\\tilde\":\n\t\tcase \"\\\\widetilde\": return \"tilde over\" + q(e, t.body);\n\t\tcase \"\\\\bar\": return q(e, t.body) + \" bar\";\n\t\tcase \"\\\\breve\": return q(e, t.body) + \" breve\";\n\t\tcase \"\\\\check\":\n\t\tcase \"\\\\widecheck\": return \"check over \" + q(e, t.body);\n\t\tcase \"\\\\hat\":\n\t\tcase \"\\\\widehat\": return \"hat over\" + q(e, t.body);\n\t\tcase \"\\\\overarc\":\n\t\tcase \"\\\\overparen\":\n\t\tcase \"\\\\wideparen\": return \"arc over \" + q(e, t.body);\n\t\tcase \"\\\\underarc\":\n\t\tcase \"\\\\underparen\": return \"arc under \" + q(e, t.body);\n\t\tcase \"\\\\mathop\": return og(t.body) ?? q(e, t.body);\n\t\tcase \"\\\\mathit\": return og(t.body) ?? q(e, t.body);\n\t\tcase \"\\\\mathrm\": return og(t.body) ?? q(e, t.body);\n\t\tcase \"\\\\mathbb\": return \"blackboard\" + (og(t.body) ?? q(e, t.body));\n\t}\n\tswitch (t.type) {\n\t\tcase \"prompt\":\n\t\t\tlet l = t.body.length > 1 ? \"start input . <break time=\\\"500ms\\\"/> \" + q(e, t.body) + \". <break time=\\\"500ms\\\"/> end input\" : \"blank\";\n\t\t\tr += \" <break time=\\\"300ms\\\"/> \" + l + \". <break time=\\\"700ms\\\"/>\" + (t.correctness ?? \"\") + \" . <break time=\\\"700ms\\\"/> \";\n\t\t\tbreak;\n\t\tcase \"array\":\n\t\t\tlet u = t.rows, d = t.environmentName;\n\t\t\tif (Object.keys(eg).includes(d)) {\n\t\t\t\tr += ` begin ${eg[d]} `;\n\t\t\t\tfor (let e = 0; e < u.length; e++) {\n\t\t\t\t\te > 0 && (r += \",\"), r += ` row ${e + 1} `;\n\t\t\t\t\tfor (let t = 0; t < u[e].length; t++) t > 0 && (r += \",\"), r += ` column ${t + 1}: `, r += q(\"math\", u[e][t]);\n\t\t\t\t}\n\t\t\t\tr += ` end ${eg[d]} `;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"group\":\n\t\t\tc === \"\\\\ne\" ? r += \" not equal \" : (c === \"\\\\not\" && (r += \" not \"), r += q(\"math\", t.body));\n\t\t\tbreak;\n\t\tcase \"root\":\n\t\t\tr += q(\"math\", t.body);\n\t\t\tbreak;\n\t\tcase \"genfrac\":\n\t\t\tif (i = q(\"math\", t.above), a = q(\"math\", t.below), ng(t.above) && ng(t.below)) {\n\t\t\t\tlet e = {\n\t\t\t\t\t\"1/2\": \" half \",\n\t\t\t\t\t\"1/3\": \" one third \",\n\t\t\t\t\t\"2/3\": \" two third\",\n\t\t\t\t\t\"1/4\": \" one quarter \",\n\t\t\t\t\t\"3/4\": \" three quarter \",\n\t\t\t\t\t\"1/5\": \" one fifth \",\n\t\t\t\t\t\"2/5\": \" two fifths \",\n\t\t\t\t\t\"3/5\": \" three fifths \",\n\t\t\t\t\t\"4/5\": \" four fifths \",\n\t\t\t\t\t\"1/6\": \" one sixth \",\n\t\t\t\t\t\"5/6\": \" five sixths \",\n\t\t\t\t\t\"1/8\": \" one eight \",\n\t\t\t\t\t\"3/8\": \" three eights \",\n\t\t\t\t\t\"5/8\": \" five eights \",\n\t\t\t\t\t\"7/8\": \" seven eights \",\n\t\t\t\t\t\"1/9\": \" one ninth \",\n\t\t\t\t\t\"2/9\": \" two ninths \",\n\t\t\t\t\t\"4/9\": \" four ninths \",\n\t\t\t\t\t\"5/9\": \" five ninths \",\n\t\t\t\t\t\"7/9\": \" seven ninths \",\n\t\t\t\t\t\"8/9\": \" eight ninths \"\n\t\t\t\t}[ig(t.above) + \"/\" + ig(t.below)];\n\t\t\t\te ? r = e : r += i + \" over \" + a;\n\t\t\t} else r += \" the fraction <break time=\\\"150ms\\\"/>\" + i + \" over <break time=\\\"150ms\\\"/>\" + a + \".<break time=\\\"150ms\\\"/> End fraction.<break time=\\\"150ms\\\"/>\";\n\t\t\tbreak;\n\t\tcase \"surd\":\n\t\t\tif (o = q(\"math\", t.body), t.hasEmptyBranch(\"above\")) r += ng(t.body) ? \" the square root of \" + o + \" , \" : \" the square root of <break time=\\\"200ms\\\"/>\" + o + \". <break time=\\\"200ms\\\"/> End square root\";\n\t\t\telse {\n\t\t\t\tlet e = q(\"math\", t.above);\n\t\t\t\te = e.trim();\n\t\t\t\tlet n = e.replace(/<mark([^/]*)\\/>/g, \"\");\n\t\t\t\tr += n === \"3\" ? \" the cube root of <break time=\\\"200ms\\\"/>\" + o + \". <break time=\\\"200ms\\\"/> End cube root\" : n === \"n\" ? \" the nth root of <break time=\\\"200ms\\\"/>\" + o + \". <break time=\\\"200ms\\\"/> End root\" : \" the root with index: <break time=\\\"200ms\\\"/>\" + e + \", of <break time=\\\"200ms\\\"/>\" + o + \". <break time=\\\"200ms\\\"/> End root\";\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"leftright\":\n\t\t\t{\n\t\t\t\tlet e = t;\n\t\t\t\tr += (e.leftDelim ? $h[e.leftDelim] : void 0) ?? e.leftDelim, r += q(\"math\", t.body), r += (e.rightDelim ? $h[e.rightDelim] : void 0) ?? e.rightDelim;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"rule\": break;\n\t\tcase \"overunder\": break;\n\t\tcase \"overlap\": break;\n\t\tcase \"macro\":\n\t\t\tlet f = c.replace(/^\\\\/g, \"\"), p = lt()[f];\n\t\t\tp != null && p.expand ? r += q(\"math\", t.body) : r += `${f} `;\n\t\t\tbreak;\n\t\tcase \"placeholder\":\n\t\t\tr += \"placeholder \";\n\t\t\tbreak;\n\t\tcase \"delim\":\n\t\tcase \"sizeddelim\":\n\t\tcase \"mord\":\n\t\tcase \"minner\":\n\t\tcase \"mbin\":\n\t\tcase \"mrel\":\n\t\tcase \"mpunct\":\n\t\tcase \"mopen\":\n\t\tcase \"mclose\": {\n\t\t\tif (c === \"\\\\mathbin\" || c === \"\\\\mathrel\" || c === \"\\\\mathopen\" || c === \"\\\\mathclose\" || c === \"\\\\mathpunct\" || c === \"\\\\mathord\" || c === \"\\\\mathinner\") {\n\t\t\t\tr = q(e, t.body);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlet i = t.isDigit() ? t.asDigit() : t.value, a = t.command;\n\t\t\tif ((t.type === \"delim\" || t.type === \"sizeddelim\") && (a = t.value, i = a), e === \"text\") r += i;\n\t\t\telse {\n\t\t\t\tif (t.type === \"mbin\" && (r += \"<break time=\\\"150ms\\\"/>\"), i) {\n\t\t\t\t\tlet e = $h[i] || (a ? $h[a.trim()] : \"\");\n\t\t\t\t\tif (e) r += \" \" + e;\n\t\t\t\t\telse {\n\t\t\t\t\t\tlet e = a ? tg(a.trim()) : \"\";\n\t\t\t\t\t\tr += e || n(i);\n\t\t\t\t\t}\n\t\t\t\t} else r += q(\"math\", t.body);\n\t\t\t\tt.type === \"mbin\" && (r += \"<break time=\\\"150ms\\\"/>\");\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tcase \"mop\":\n\t\tcase \"operator\":\n\t\tcase \"extensible-symbol\":\n\t\t\tif (t.value !== \"\") {\n\t\t\t\tlet e = t.command;\n\t\t\t\tif (e === \"\\\\sum\") {\n\t\t\t\t\tif (!t.hasEmptyBranch(\"superscript\") && !t.hasEmptyBranch(\"subscript\")) {\n\t\t\t\t\t\tlet e = q(\"math\", t.superscript);\n\t\t\t\t\t\te = e.trim();\n\t\t\t\t\t\tlet n = q(\"math\", t.subscript);\n\t\t\t\t\t\tn = n.trim(), r += \" the summation from <break time=\\\"200ms\\\"/>\" + n + \"<break time=\\\"200ms\\\"/> to <break time=\\\"200ms\\\"/>\" + e + \"<break time=\\\"200ms\\\"/> of <break time=\\\"150ms\\\"/>\", s = !0;\n\t\t\t\t\t} else if (t.hasEmptyBranch(\"subscript\")) r += \" the summation of\";\n\t\t\t\t\telse {\n\t\t\t\t\t\tlet e = q(\"math\", t.subscript);\n\t\t\t\t\t\te = e.trim(), r += \" the summation from <break time=\\\"200ms\\\"/>\" + e + \"<break time=\\\"200ms\\\"/> of <break time=\\\"150ms\\\"/>\", s = !0;\n\t\t\t\t\t}\n\t\t\t\t} else if (e === \"\\\\prod\") {\n\t\t\t\t\tif (!t.hasEmptyBranch(\"superscript\") && !t.hasEmptyBranch(\"subscript\")) {\n\t\t\t\t\t\tlet e = q(\"math\", t.superscript);\n\t\t\t\t\t\te = e.trim();\n\t\t\t\t\t\tlet n = q(\"math\", t.subscript);\n\t\t\t\t\t\tn = n.trim(), r += \" the product from <break time=\\\"200ms\\\"/>\" + n + \"<break time=\\\"200ms\\\"/> to <break time=\\\"200ms\\\"/>\" + e + \"<break time=\\\"200ms\\\"/> of <break time=\\\"150ms\\\"/>\", s = !0;\n\t\t\t\t\t} else if (t.hasEmptyBranch(\"subscript\")) r += \" the product of \";\n\t\t\t\t\telse {\n\t\t\t\t\t\tlet e = q(\"math\", t.subscript);\n\t\t\t\t\t\te = e.trim(), r += \" the product from <break time=\\\"200ms\\\"/>\" + e + \"<break time=\\\"200ms\\\"/> of <break time=\\\"150ms\\\"/>\", s = !0;\n\t\t\t\t\t}\n\t\t\t\t} else if (e === \"\\\\int\") {\n\t\t\t\t\tif (!t.hasEmptyBranch(\"superscript\") && !t.hasEmptyBranch(\"subscript\")) {\n\t\t\t\t\t\tlet e = q(\"math\", t.superscript);\n\t\t\t\t\t\te = e.trim();\n\t\t\t\t\t\tlet n = q(\"math\", t.subscript);\n\t\t\t\t\t\tn = n.trim(), r += \" the integral from <break time=\\\"200ms\\\"/>\" + sg(n) + \"<break time=\\\"200ms\\\"/> to <break time=\\\"200ms\\\"/>\" + sg(e) + \" <break time=\\\"200ms\\\"/> of \", s = !0;\n\t\t\t\t\t} else r += \" the integral of <break time=\\\"200ms\\\"/> \";\n\t\t\t\t} else if (e === \"\\\\operatorname\" || e === \"\\\\operatorname*\") r += ag(t.body) + \" \";\n\t\t\t\telse if (typeof t.value == \"string\") {\n\t\t\t\t\tlet e = $h[t.value] ?? (t.command ? $h[t.command] : void 0);\n\t\t\t\t\tr += e || \" \" + t.value;\n\t\t\t\t} else t.command && (t.command === \"\\\\mathop\" ? r += q(\"math\", t.body) : r += t.command.startsWith(\"\\\\\") ? \" \" + t.command.slice(1) : \" \" + t.command);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"enclose\": o = q(\"math\", t.body), r += \" crossed out \" + o + \". End crossed out.\";\n\t}\n\tif (!s && !t.hasEmptyBranch(\"superscript\")) {\n\t\tlet n = q(e, t.superscript);\n\t\tn = n.trim();\n\t\tlet i = n.replace(/<[^>]*>/g, \"\");\n\t\tif (ng(t.superscript)) {\n\t\t\tif (e === \"math\") {\n\t\t\t\tlet e = rg(t.superscript);\n\t\t\t\te && (r += \"<mark name=\\\"\" + e + \"\\\"/>\");\n\t\t\t}\n\t\t\tr += i === \"′\" ? \" prime \" : i === \"2\" ? \" squared \" : i === \"3\" ? \" cubed \" : Number.isNaN(Number.parseInt(i)) ? \" to the \" + n + \"; \" : \" to the <say-as interpret-as=\\\"ordinal\\\">\" + i + \"</say-as> power; \";\n\t\t} else r += Number.isNaN(Number.parseInt(i)) ? \" raised to the \" + n + \"; \" : \" raised to the <say-as interpret-as=\\\"ordinal\\\">\" + i + \"</say-as> power; \";\n\t}\n\tif (!s && !t.hasEmptyBranch(\"subscript\")) {\n\t\tlet e = q(\"math\", t.subscript);\n\t\te = e.trim(), r += ng(t.subscript) ? \" sub \" + e : \" subscript \" + e + \". End subscript. \";\n\t}\n\treturn r;\n}\nfunction lg(e) {\n\tlet t = globalThis.MathfieldElement;\n\tif (t.textToSpeechRules === \"sre\" && (\"sre\" in window || \"SRE\" in window)) {\n\t\tlet n = K(e);\n\t\tif (n) {\n\t\t\tt.textToSpeechMarkup && (t.textToSpeechRulesOptions = t.textToSpeechRulesOptions ?? {}, t.textToSpeechRulesOptions = c(s({}, t.textToSpeechRulesOptions), { markup: t.textToSpeechMarkup }), t.textToSpeechRulesOptions.markup === \"ssml\" && (t.textToSpeechRulesOptions = c(s({}, t.textToSpeechRulesOptions), { markup: \"ssml_step\" })), t.textToSpeechRulesOptions = c(s({}, t.textToSpeechRulesOptions), { rate: t.speechEngineRate }));\n\t\t\tlet e = window.SRE ?? globalThis.sre.System.getInstance();\n\t\t\tt.textToSpeechRulesOptions && e.setupEngine(t.textToSpeechRulesOptions);\n\t\t\tlet r = \"\";\n\t\t\ttry {\n\t\t\t\tr = e.toSpeech(n);\n\t\t\t} catch (e) {\n\t\t\t\tconsole.error(\"MathLive 0.110.0: `SRE.toSpeech()` runtime error\", e);\n\t\t\t}\n\t\t\treturn r;\n\t\t}\n\t\treturn \"\";\n\t}\n\tlet n = q(\"math\", e);\n\tif (t.textToSpeechMarkup === \"ssml\") {\n\t\tlet e = \"\";\n\t\tt.speechEngineRate && (e = \"<prosody rate=\\\"\" + t.speechEngineRate + \"\\\">\"), n = \"<?xml version=\\\"1.0\\\"?><speak version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2001/10/synthesis\\\" xml:lang=\\\"en-US\\\"><amazon:auto-breaths>\" + e + \"<p><s>\" + n + \"</s></p>\" + (e ? \"</prosody>\" : \"\") + \"</amazon:auto-breaths></speak>\";\n\t} else n = t.textToSpeechMarkup === \"mac\" && h() === \"macos\" ? n.replace(/<mark([^/]*)\\/>/g, \"\").replace(/<emphasis>/g, \"[[emph+]]\").replace(/<\\/emphasis>/g, \"\").replace(/<break time=\"(\\d*)ms\"\\/>/g, \"[[slc $1]]\").replace(/<say-as[^>]*>/g, \"\").replace(/<\\/say-as>/g, \"\") : n.replace(/<[^>]*>/g, \"\").replace(/\\s{2,}/g, \" \");\n\treturn n;\n}\nvar ug = {\n\t\"\\\\ne\": \"≠\",\n\t\"\\\\neq\": \"≠\",\n\t\"−\": \"-\",\n\t\"-\": \"-\",\n\t\"\\\\alpha\": \"alpha\",\n\t\"\\\\beta\": \"beta\",\n\t\"\\\\gamma\": \"gamma\",\n\t\"\\\\delta\": \"delta\",\n\t\"\\\\epsilon\": \"epsilon\",\n\t\"\\\\varepsilon\": \"varepsilon\",\n\t\"\\\\zeta\": \"zeta\",\n\t\"\\\\eta\": \"eta\",\n\t\"\\\\theta\": \"theta\",\n\t\"\\\\vartheta\": \"vartheta\",\n\t\"\\\\iota\": \"iota\",\n\t\"\\\\kappa\": \"kappa\",\n\t\"\\\\lambda\": \"lambda\",\n\t\"\\\\mu\": \"mu\",\n\t\"\\\\nu\": \"nu\",\n\t\"\\\\xi\": \"xi\",\n\t\"\\\\pi\": \"pi\",\n\t\"\\\\rho\": \"rho\",\n\t\"\\\\sigma\": \"sigma\",\n\t\"\\\\tau\": \"tau\",\n\t\"\\\\upsilon\": \"upsilon\",\n\t\"\\\\phi\": \"phi\",\n\t\"\\\\varphi\": \"varphi\",\n\t\"\\\\chi\": \"chi\",\n\t\"\\\\psi\": \"psi\",\n\t\"\\\\omega\": \"omega\",\n\t\"\\\\Gamma\": \"Gamma\",\n\t\"\\\\Delta\": \"Delta\",\n\t\"\\\\Theta\": \"Theta\",\n\t\"\\\\Lambda\": \"Lambda\",\n\t\"\\\\Xi\": \"Xi\",\n\t\"\\\\Pi\": \"Pi\",\n\t\"\\\\Sigma\": \"Sigma\",\n\t\"\\\\Phi\": \"Phi\",\n\t\"\\\\Psi\": \"Psi\",\n\t\"\\\\Omega\": \"Omega\",\n\t\"\\\\exponentialE\": \"e\",\n\t\"\\\\imaginaryI\": \"i\",\n\t\"\\\\imaginaryJ\": \"j\",\n\t\"\\\\!\": \" \",\n\t\"\\\\,\": \" \",\n\t\"\\\\:\": \" \",\n\t\"\\\\>\": \" \",\n\t\"\\\\;\": \" \",\n\t\"\\\\enskip\": \" \",\n\t\"\\\\enspace\": \" \",\n\t\"\\\\qquad\": \" \",\n\t\"\\\\quad\": \" \",\n\t\"\\\\infty\": \"oo\",\n\t\"\\\\R\": \"RR\",\n\t\"\\\\mathbb{R}\": \"RR\",\n\t\"\\\\N\": \"NN\",\n\t\"\\\\mathbb{N}\": \"NN\",\n\t\"\\\\Z\": \"ZZ\",\n\t\"\\\\mathbb{Z}\": \"ZZ\",\n\t\"\\\\Q\": \"QQ\",\n\t\"\\\\mathbb{Q}\": \"QQ\",\n\t\"\\\\C\": \"CC\",\n\t\"\\\\mathbb{C}\": \"CC\",\n\t\"\\\\emptyset\": \"O/\",\n\t\"\\\\varnothing\": \"O/\",\n\t\"\\\\varDelta\": \"Delta\",\n\t\"\\\\varTheta\": \"Theta\",\n\t\"\\\\varLambda\": \"Lambda\",\n\t\"\\\\varXi\": \"Xi\",\n\t\"\\\\varPi\": \"Pi\",\n\t\"\\\\varSigma\": \"Sigma\",\n\t\"\\\\varUpsilon\": \"Upsilon\",\n\t\"\\\\varPhi\": \"Phi\",\n\t\"\\\\varPsi\": \"Psi\",\n\t\"\\\\varOmega\": \"Omega\"\n}, dg = {\n\t\"\\\\pm\": \"+-\",\n\t\"\\\\colon\": \" : \",\n\t\"\\\\sum\": \" sum \",\n\t\"\\\\prod\": \" prod \",\n\t\"\\\\bigcap\": \" nnn \",\n\t\"\\\\bigcup\": \" uuu \",\n\t\"\\\\int\": \" int \",\n\t\"\\\\oint\": \" oint \",\n\t\"\\\\ge\": \">=\",\n\t\"\\\\le\": \"<=\",\n\t\"\\\\ne\": \"!=\",\n\t\"\\\\neq\": \"!=\",\n\t\"\\\\lt\": \"<\",\n\t\"\\\\gt\": \">\",\n\t\"\\\\gets\": \"<-\",\n\t\"\\\\to\": \"->\",\n\t\"\\\\land\": \" and \",\n\t\"\\\\lor\": \" or \",\n\t\"\\\\lnot\": \" not \",\n\t\"\\\\forall\": \" AA \",\n\t\"\\\\exists\": \" EE \",\n\t\"\\\\in\": \" in \",\n\t\"\\\\notin\": \" !in \",\n\t\"\\\\mapsto\": \"|->\",\n\t\"\\\\implies\": \"=>\",\n\t\"\\\\iff\": \"<=>\",\n\t\"\\\\cdot\": \" * \",\n\t\"\\\\ast\": \" ** \",\n\t\"\\\\star\": \" *** \",\n\t\"\\\\times\": \" * \",\n\t\"\\\\div\": \" -: \",\n\t\"\\\\ltimes\": \" |>< \",\n\t\"\\\\rtimes\": \" ><| \",\n\t\"\\\\bowtie\": \" |><| \",\n\t\"\\\\circ\": \"@\"\n}, fg = {\n\t\"\\\\vert\": \"|\",\n\t\"\\\\Vert\": \"||\",\n\t\"\\\\mid\": \"|\",\n\t\"\\\\lbrack\": \"[\",\n\t\"\\\\rbrack\": \"]\",\n\t\"\\\\lbrace\": \"{\",\n\t\"\\\\rbrace\": \"}\",\n\t\"\\\\lparen\": \"(\",\n\t\"\\\\rparen\": \")\",\n\t\"\\\\langle\": \"(:\",\n\t\"\\\\rangle\": \":)\"\n};\nfunction pg(e) {\n\tlet t = \"\";\n\tfor (let n of e) {\n\t\tlet e = t[t.length - 1];\n\t\te !== void 0 && (/\\d$/.test(e) && /^\\d/.test(n) || /[a-zA-Z]$/.test(e) && /^[a-zA-Z]/.test(n)) && (t += \" \"), t += n;\n\t}\n\treturn t;\n}\nfunction J(e, t) {\n\tif (!e) return \"\";\n\tif (x(e)) {\n\t\tif (e.length === 0) return \"\";\n\t\tif (e[0].mode === \"latex\") return e.map((e) => J(e)).join(\"\");\n\t\tif (e[0].mode === \"text\") {\n\t\t\tlet n = 0, r = \"\";\n\t\t\tfor (; e[n]?.mode === \"text\";) r += e[n].body ? J(e[n].body, t) : e[n].value, n++;\n\t\t\treturn t != null && t.plain ? r + J(e.slice(n), t) : `\"${r}\" ${J(e.slice(n))}`;\n\t\t}\n\t\tlet n = 0, r = [];\n\t\tfor (; e[n]?.mode === \"math\";) {\n\t\t\tlet i = \"\";\n\t\t\tfor (; e[n]?.type === \"mord\" && /\\d/.test(e[n].value);) i += e[n++].value;\n\t\t\ti ? r.push(i) : r.push(J(e[n++], t));\n\t\t}\n\t\treturn r.push(J(e.slice(n), t)), pg(r);\n\t}\n\tif (e.mode === \"text\") return t != null && t.plain ? e.value : `\"${e.value}\"`;\n\tlet n = \"\", { command: r } = e, i;\n\tif (r === \"\\\\placeholder\") return `(${J(e.body, t)})`;\n\tlet a = F.serialize([e], {\n\t\texpandMacro: !1,\n\t\tdefaultMode: \"math\"\n\t});\n\tswitch (e.type) {\n\t\tcase \"accent\":\n\t\t\tn = `${{\n\t\t\t\t\"\\\\vec\": \"vec\",\n\t\t\t\t\"\\\\dot\": \"dot\",\n\t\t\t\t\"\\\\ddot\": \"ddot\",\n\t\t\t\t\"\\\\bar\": \"bar\",\n\t\t\t\t\"\\\\hat\": \"hat\",\n\t\t\t\t\"\\\\acute\": \"acute;\",\n\t\t\t\t\"\\\\grave\": \"grave\",\n\t\t\t\t\"\\\\tilde\": \"tilde\",\n\t\t\t\t\"\\\\breve\": \"breave\",\n\t\t\t\t\"\\\\check\": \"check\"\n\t\t\t}[r] ?? \"\"} ${J(e.body, t)} `;\n\t\t\tbreak;\n\t\tcase \"first\": return \"\";\n\t\tcase \"latexgroup\": return e.body.map((e) => e.value).join(\"\");\n\t\tcase \"group\":\n\t\tcase \"root\":\n\t\t\tn = ug[r] ?? J(e.body, t);\n\t\t\tbreak;\n\t\tcase \"genfrac\":\n\t\t\t{\n\t\t\t\tlet r = e;\n\t\t\t\t(r.leftDelim || r.rightDelim) && (n = r.leftDelim === \".\" || !r.leftDelim ? \"{:\" : r.leftDelim), r.hasBarLine ? (n += \"(\", n += J(r.above, t), n += \")/(\", n += J(r.below, t), n += \")\") : (n += \"((\", n += J(r.above, t), n += \") choose (\", n += J(r.below, t), n += \"))\"), (r.leftDelim || r.rightDelim) && (n += r.rightDelim === \".\" || !r.rightDelim ? \"{:\" : r.rightDelim);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"surd\":\n\t\t\te.hasEmptyBranch(\"above\") ? n += `sqrt(${J(e.body, t)})` : n += `root(${J(e.above, t)})(${J(e.body, t)})`;\n\t\t\tbreak;\n\t\tcase \"latex\":\n\t\t\tn = e.value;\n\t\t\tbreak;\n\t\tcase \"leftright\":\n\t\t\t{\n\t\t\t\tlet r = e, i = r.leftDelim;\n\t\t\t\ti && fg[i] && (i = fg[i]), n += i === \".\" || !i ? \"{:\" : i, n += J(r.body, t);\n\t\t\t\tlet a = r.matchingRightDelim();\n\t\t\t\ta && fg[a] && (a = fg[a]), n += a === \".\" || !a ? \":}\" : a;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"sizeddelim\":\n\t\tcase \"delim\":\n\t\t\tn = e.value;\n\t\t\tbreak;\n\t\tcase \"overlap\": break;\n\t\tcase \"overunder\": break;\n\t\tcase \"mord\":\n\t\t\tif (ug[a]) return ug[a];\n\t\t\tn = ug[r] ?? r ?? r ?? (typeof e.value == \"string\" ? e.value : \"\"), n.startsWith(\"\\\\\") && (n += \" \"), i = r ? r.match(/{?\\\\char\"([\\dabcdefABCDEF]+)}?/) : null, i ? n = String.fromCodePoint(Number.parseInt(\"0x\" + i[1])) : n.length > 0 && n.startsWith(\"\\\\\") && (n = typeof e.value == \"string\" ? e.value.charAt(0) : e.command), n = mg(n, e.style);\n\t\t\tbreak;\n\t\tcase \"mbin\":\n\t\tcase \"mrel\":\n\t\tcase \"minner\":\n\t\t\tn = ug[a] ?? ug[r] ?? dg[r] ?? e.value;\n\t\t\tbreak;\n\t\tcase \"mopen\":\n\t\tcase \"mclose\":\n\t\t\tn = e.value;\n\t\t\tbreak;\n\t\tcase \"mpunct\":\n\t\t\tn = dg[r] ?? r;\n\t\t\tbreak;\n\t\tcase \"mop\":\n\t\tcase \"operator\":\n\t\tcase \"extensible-symbol\":\n\t\t\te.value !== \"\" && (n = dg[r] ? dg[r] : r === \"\\\\operatorname\" ? J(e.body, t) : e.value ?? r, n += \" \");\n\t\t\tbreak;\n\t\tcase \"array\":\n\t\t\tlet o = e.environmentName;\n\t\t\tif (e.isMultiline) n = e.rows.map((e) => e.map((e) => J(e, t)).join(\"\")).join(\"\\n\");\n\t\t\telse {\n\t\t\t\tlet r = {\n\t\t\t\t\tbmatrix: [\"[\", \"]\"],\n\t\t\t\t\t\"bmatrix*\": [\"[\", \"]\"]\n\t\t\t\t}[o] ?? [\"(\", \")\"], i = [], a = e.rows;\n\t\t\t\tfor (let e of a) {\n\t\t\t\t\tlet n = [];\n\t\t\t\t\tfor (let r of e) n.push(J(r, t));\n\t\t\t\t\ti.push(r[0] + n.join(\",\") + r[1]);\n\t\t\t\t}\n\t\t\t\tlet s = {\n\t\t\t\t\tbmatrix: [\"[\", \"]\"],\n\t\t\t\t\t\"bmatrix*\": [\"[\", \"]\"],\n\t\t\t\t\tcases: [\"{\", \":}\"]\n\t\t\t\t}[o] ?? [\"(\", \")\"];\n\t\t\t\tn = s[0] + i.join(\",\") + s[1];\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"box\": break;\n\t\tcase \"spacing\":\n\t\t\tn = ug[a] ?? ug[r] ?? \" \";\n\t\t\tbreak;\n\t\tcase \"enclose\":\n\t\t\tn = \"(\" + J(e.body, t) + \")\";\n\t\t\tbreak;\n\t\tcase \"space\":\n\t\t\tn = \" \";\n\t\t\tbreak;\n\t\tcase \"subsup\":\n\t\t\tn = \"\";\n\t\t\tbreak;\n\t\tcase \"macro\": n = ug[a] ?? ug[r] ?? dg[r] ?? J(e.body, t);\n\t}\n\tif (!e.hasEmptyBranch(\"subscript\")) {\n\t\tn += \"_\";\n\t\tlet r = J(e.subscript, t);\n\t\tn += r.length === 1 ? r : `(${r})`;\n\t}\n\tif (!e.hasEmptyBranch(\"superscript\")) {\n\t\tn += \"^\";\n\t\tlet r = J(e.superscript, t);\n\t\tn += r.length === 1 ? r : `(${r})`;\n\t}\n\treturn n;\n}\nfunction mg(e, t) {\n\tif (!t) return e;\n\tlet n = e;\n\treturn t.variant === \"double-struck\" && (n = `bbb \"${n}\"`), t.variant === \"script\" && (n = `cc \"${n}\"`), t.variant === \"fraktur\" && (n = `fr \"${n}\"`), t.variant === \"sans-serif\" && (n = `sf \"${n}\"`), t.variant === \"monospace\" && (n = `tt \"${n}\"`), t.variantStyle === \"bold\" && (n = `bb \"${n}\"`), t.color ? `color({${t.color}})(${n})` : n;\n}\nfunction Y(e, t) {\n\tlet n = c(s({}, Xs()), { renderPlaceholder: () => new M(160, { maxFontSize: 1 }) });\n\tif (t != null && t.letterShapeStyle && t?.letterShapeStyle !== \"auto\" && (n.letterShapeStyle = t.letterShapeStyle), t != null && t.macros) {\n\t\tlet e = dt(t?.macros);\n\t\tn.getMacro = (t) => pt(t, e);\n\t}\n\tt != null && t.registers && (n.registers = s(s({}, n.registers), t.registers));\n\tlet r = t?.defaultMode ?? \"math\", i = \"math\", a = \"displaystyle\";\n\tr === \"inline-math\" ? a = \"textstyle\" : r === \"math\" ? a = \"displaystyle\" : r === \"text\" && (a = \"textstyle\", i = \"text\");\n\tlet o = new P({ from: n }), l = new F({\n\t\ttype: \"root\",\n\t\tmode: i,\n\t\tbody: Ql(e, {\n\t\t\tcontext: o,\n\t\t\tparseMode: i,\n\t\t\tmathstyle: a\n\t\t})\n\t}).render(o);\n\treturn l ? (xs(Tu(l, o)), Ss(l, { classes: \"ML__latex\" }).toMarkup()) : \"\";\n}\nfunction hg(e, t = {}) {\n\treturn K(Ql(e, {\n\t\tparseMode: \"math\",\n\t\targs: () => \"\",\n\t\tmathstyle: \"displaystyle\"\n\t}), t);\n}\nfunction gg(e) {\n\treturn lg(Ql(e, {\n\t\tparseMode: \"math\",\n\t\tmathstyle: \"displaystyle\"\n\t}));\n}\nvar _g;\nfunction vg(e) {\n\tif (!_g) {\n\t\tlet e = globalThis[Symbol.for(\"io.cortexjs.compute-engine\")]?.ComputeEngine;\n\t\te ? _g = new e() : console.error(\"MathLive 0.110.0: The CortexJS Compute Engine library is not available.\\n \\n Load the library, for example with:\\n \\n import \\\"https://esm.run/@cortex-js/compute-engine\\\"\");\n\t}\n\treturn _g?.box(e).latex ?? \"\";\n}\nfunction yg(e) {\n\treturn hc(e, { format: \"ascii-math\" })[1];\n}\nfunction bg(e) {\n\tif (typeof e == \"string\") {\n\t\tlet t = Sg(e);\n\t\tif (!t) throw Error(`Invalid color: ${e}`);\n\t\treturn t;\n\t}\n\treturn \"C\" in e ? kg(e) : \"a\" in e ? Og(e) : e;\n}\nfunction xg(e) {\n\treturn e < 0 ? 0 : e > 255 ? 255 : Math.round(e);\n}\nfunction Sg(e) {\n\tif (!e || e[0] !== \"#\") return;\n\te = e.slice(1);\n\tlet t;\n\treturn e.length <= 4 ? (t = {\n\t\tr: parseInt(e[0] + e[0], 16),\n\t\tg: parseInt(e[1] + e[1], 16),\n\t\tb: parseInt(e[2] + e[2], 16)\n\t}, e.length === 4 && (t.a = parseInt(e[3] + e[3], 16) / 255)) : (t = {\n\t\tr: parseInt(e[0] + e[1], 16),\n\t\tg: parseInt(e[2] + e[3], 16),\n\t\tb: parseInt(e[4] + e[5], 16)\n\t}, e.length === 8 && (t.a = parseInt(e[6] + e[7], 16) / 255)), t?.a === void 0 && (t.a = 1), t;\n}\nfunction Cg(e) {\n\tlet [t, n, r] = [\n\t\te.L,\n\t\te.C,\n\t\te.H\n\t], i = r * Math.PI / 180, a = {\n\t\tL: t,\n\t\ta: n * Math.cos(i),\n\t\tb: n * Math.sin(i)\n\t};\n\treturn e.alpha !== void 0 && (a.alpha = e.alpha), a;\n}\nfunction wg(e) {\n\tlet [t, n, r] = [\n\t\te.L,\n\t\te.a,\n\t\te.b\n\t], i = {\n\t\tL: t,\n\t\tC: Math.sqrt(n * n + r * r),\n\t\tH: Math.atan2(r, n) * 180 / Math.PI\n\t};\n\treturn e.alpha !== void 0 && (i.alpha = e.alpha), i;\n}\nfunction Tg(e) {\n\tlet [t, n, r] = [\n\t\te.L,\n\t\te.a,\n\t\te.b\n\t], i = (.9999999984505198 * t + .39633779217376786 * n + .2158037580607588 * r) ** 3, a = (1.00000000888176 * t - .10556134232365635 * n - .0638541747717059 * r) ** 3, o = (t * 1.000000054672411 - .0894841820949657 * n - 1.2914855378640917 * r) ** 3, s = 4.076741661347994 * i - 3.307711590408193 * a + .230969928729428 * o, c = -1.2684380040921763 * i + 2.6097574006633715 * a - .3413193963102197 * o, l = -.004196086541837188 * i - .7034186144594493 * a + 1.7076147009309444 * o, u = (e) => {\n\t\tlet t = Math.abs(e);\n\t\treturn t <= .0031308 ? e * 12.92 : (Math.sign(e) || 1) * (1.055 * t ** (1 / 2.4) - .055);\n\t};\n\treturn [\n\t\tu(s),\n\t\tu(c),\n\t\tu(l)\n\t];\n}\nfunction Eg(e) {\n\tlet [t, n, r] = e;\n\treturn t >= 0 && t <= 1 && n >= 0 && n <= 1 && r >= 0 && r <= 1;\n}\nfunction Dg(e, t) {\n\tlet [n, r, i] = e;\n\treturn n = xg(n * 255), r = xg(r * 255), i = xg(i * 255), t === void 0 ? {\n\t\tr: n,\n\t\tg: r,\n\t\tb: i\n\t} : {\n\t\tr: n,\n\t\tg: r,\n\t\tb: i,\n\t\talpha: t\n\t};\n}\nfunction Og(e) {\n\tlet [t, n, r] = Tg(e);\n\tif (Eg([\n\t\tt,\n\t\tn,\n\t\tr\n\t])) return Dg([\n\t\tt,\n\t\tn,\n\t\tr\n\t], e.alpha);\n\tlet i = wg(e);\n\tif (i.C = 0, [t, n, r] = Tg(Cg(i)), !Eg([\n\t\tt,\n\t\tn,\n\t\tr\n\t])) return Dg([\n\t\tt,\n\t\tn,\n\t\tr\n\t], e.alpha);\n\tlet a = 0, o = e.L, s = (a + o) / 2;\n\tfor (i.C = s; o - a > 87890625e-12;) s = (a + o) / 2, i.C = s, [t, n, r] = Tg(Cg(i)), Eg([\n\t\tt,\n\t\tn,\n\t\tr\n\t]) ? a = s : o = s;\n\treturn Dg([\n\t\tt,\n\t\tn,\n\t\tr\n\t], e.alpha);\n}\nfunction kg(e) {\n\treturn Og(Cg(e));\n}\nfunction Ag(e, t) {\n\tlet n = bg(e), r = bg(t), i = .022;\n\tfunction a(e) {\n\t\treturn e >= i ? e : e + (i - e) ** 1.414;\n\t}\n\tfunction o(e) {\n\t\treturn (e < 0 ? -1 : 1) * Math.abs(e) ** 2.4;\n\t}\n\tlet s = a(o(r.r / 255) * .2126729 + o(r.g / 255) * .7151522 + o(r.b / 255) * .072175), c = a(o(n.r / 255) * .2126729 + o(n.g / 255) * .7151522 + o(n.b / 255) * .072175), l, u, d;\n\treturn Math.abs(c - s) < 5e-4 ? u = 0 : c > s ? (l = c ** .56 - s ** .57, u = l * 1.14) : (l = c ** .65 - s ** .62, u = l * 1.14), d = Math.abs(u) < .1 ? 0 : u > 0 ? u - .027 : u + .027, d * 100;\n}\nfunction jg(e, t, n) {\n\tn ?? (n = \"#fff\"), t ?? (t = \"#000\");\n\tlet r = Ag(e, n), i = Ag(e, t);\n\treturn Math.abs(r) > Math.abs(i) ? n : t;\n}\nfunction Mg(e) {\n\tlet t = bg(e), n = ((1 << 24) + (xg(t.r) << 16) + (xg(t.g) << 8) + xg(t.b)).toString(16).slice(1);\n\treturn t.alpha !== void 0 && t.alpha < 1 && (n += (\"00\" + Math.round(t.alpha * 255).toString(16)).slice(-2)), n[0] === n[1] && n[2] === n[3] && n[4] === n[5] && n[6] === n[7] && (n = n[0] + n[2] + n[4] + (t.alpha !== void 0 && t.alpha < 1 ? n[6] : \"\")), \"#\" + n;\n}\nfunction X(e) {\n\tlet t = Ng(e), n = \"\";\n\tfor (let e of t) {\n\t\tif (typeof e.value != \"string\") return \"\";\n\t\tn += e.value;\n\t}\n\treturn n;\n}\nfunction Ng(e) {\n\tlet t = e.model.selection.ranges;\n\tif (t.length !== 1) return [];\n\tlet n = e.model.getAtoms(t[0]);\n\treturn n.length === 1 && n[0].isRoot && (n = n[0].children), n.filter((e) => e.type !== \"first\");\n}\nfunction Pg(e, t) {\n\tlet n = Ng(e);\n\tif (n.length !== 1) return !1;\n\tlet r = Hu[t];\n\treturn r ? !!r.test(n[0].value) : !1;\n}\nfunction Fg(e) {\n\treturn [\n\t\tXg(e, \"double-struck\", \"mathbb\", \"tooltip.blackboard\"),\n\t\tXg(e, \"fraktur\", \"mathfrak\", \"tooltip.fraktur\"),\n\t\tXg(e, \"calligraphic\", \"mathcal\", \"tooltip.caligraphic\"),\n\t\tZg(e, \"up\", \"mathrm\", \"tooltip.roman-upright\"),\n\t\tZg(e, \"bold\", \"bm\", \"tooltip.bold\"),\n\t\tZg(e, \"italic\", \"mathit\", \"tooltip.italic\")\n\t];\n}\nfunction Ig(e) {\n\treturn [\n\t\t{\n\t\t\tid: \"accent-vec\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\vec{${X(e)}}`),\n\t\t\tvisible: () => X(e).length === 1,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\vec{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-overrightarrow\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\overrightarrow{${X(e)}}`),\n\t\t\tvisible: () => X(e).length > 0,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\overrightarrow{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-overleftarrow\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\overleftarrow{${X(e)}}`),\n\t\t\tvisible: () => X(e).length > 0,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\overleftarrow{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-dot\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\dot{${X(e)}}`),\n\t\t\tvisible: () => X(e).length === 1,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\dot{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-ddot\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\ddot{${X(e)}}`),\n\t\t\tvisible: () => X(e).length === 1,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\ddot{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-bar\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\bar{${X(e)}}`),\n\t\t\tvisible: () => X(e).length === 1,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\bar{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-overline\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\overline{${X(e)}}`),\n\t\t\tvisible: () => X(e).length > 0,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\overline{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-overgroup\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\overgroup{${X(e)}}`),\n\t\t\tvisible: () => X(e).length > 0,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\overgroup{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-overbrace\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\overbrace{${X(e)}}`),\n\t\t\tvisible: () => X(e).length > 0,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\overbrace{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-underline\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\underline{${X(e)}}`),\n\t\t\tvisible: () => X(e).length > 0,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\underline{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-undergroup\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\undergroup{${X(e)}}`),\n\t\t\tvisible: () => X(e).length > 0,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\undergroup{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"accent-underbrace\",\n\t\t\tclass: \"ML__center-menu\",\n\t\t\tlabel: () => Y(`\\\\underbrace{${X(e)}}`),\n\t\t\tvisible: () => X(e).length > 0,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\underbrace{#@}\", { selectionMode: \"item\" })\n\t\t}\n\t];\n}\nfunction Lg(e) {\n\treturn [\n\t\t{\n\t\t\tid: \"decoration-boxed\",\n\t\t\tlabel: () => Y(`\\\\boxed{${e.getValue(e.model.selection)}}}`),\n\t\t\tonMenuSelect: () => e.insert(\"\\\\boxed{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"decoration-red-box\",\n\t\t\tlabel: () => Y(`\\\\bbox[5px, border: 2px solid red]{${e.getValue(e.model.selection)}}`),\n\t\t\tonMenuSelect: () => e.insert(\"\\\\bbox[5px, border: 2px solid red]{#@}\", { selectionMode: \"item\" })\n\t\t},\n\t\t{\n\t\t\tid: \"decoration-dashed-black-box\",\n\t\t\tlabel: () => Y(`\\\\bbox[5px, border: 2px dashed black]{${e.getValue(e.model.selection)}}`),\n\t\t\tonMenuSelect: () => e.insert(\"\\\\bbox[5px, border: 2px dashed black]{#@}\", { selectionMode: \"item\" })\n\t\t}\n\t];\n}\nfunction Rg(e) {\n\tlet t = [];\n\tfor (let n of Object.keys(Te)) t.push({\n\t\tid: `background-color-${n}`,\n\t\tclass: (Mg(jg(Te[n])) === \"#000\" ? \"dark-contrast\" : \"light-contrast\") + \" menu-swatch\",\n\t\tlabel: `<span style=\"background:${Te[n]} \"></span>`,\n\t\tariaLabel: () => C(n) ?? n,\n\t\tchecked: () => ({\n\t\t\tsome: \"mixed\",\n\t\t\tall: !0\n\t\t})[e.queryStyle({ backgroundColor: n })] ?? !1,\n\t\tonMenuSelect: () => e.applyStyle({ backgroundColor: n }, { operation: \"toggle\" })\n\t});\n\treturn t;\n}\nfunction zg(e) {\n\tlet t = [];\n\tfor (let n of Object.keys(Ee)) t.push({\n\t\tid: `color-${n}`,\n\t\tclass: (jg(Ee[n]) === \"#000\" ? \"dark-contrast\" : \"light-contrast\") + \" menu-swatch\",\n\t\tlabel: `<span style=\"background:${Ee[n]} \"></span>`,\n\t\tariaLabel: () => C(n) ?? n,\n\t\tchecked: () => ({\n\t\t\tsome: \"mixed\",\n\t\t\tall: !0\n\t\t})[e.queryStyle({ color: n })] ?? !1,\n\t\tonMenuSelect: () => e.applyStyle({ color: n }, { operation: \"toggle\" })\n\t});\n\treturn t;\n}\nvar Bg = class extends Th {\n\tconstructor(e, t, n, r) {\n\t\tsuper(e, t), this.row = n, this.col = r;\n\t}\n\tset active(e) {\n\t\tlet t = this.parentMenu.children;\n\t\tif (e) for (let e of t) e.element.classList.toggle(\"active\", e.row <= this.row && e.col <= this.col);\n\t\telse for (let e of t) e.element.classList.remove(\"active\");\n\t}\n};\nfunction Vg(e) {\n\tlet t = [];\n\tfor (let n = 1; n <= 5; n++) for (let r = 1; r <= 5; r++) t.push({\n\t\tid: `insert-matrix-${n}x${r}`,\n\t\tonCreate: (e, t) => new Bg(e, t, n, r),\n\t\tlabel: \"☐\",\n\t\ttooltip: () => C(\"tooltip.row-by-col\", n, r),\n\t\tdata: {\n\t\t\trow: n,\n\t\t\tcol: r\n\t\t},\n\t\tonMenuSelect: () => {\n\t\t\te.insert(`\\\\begin{pmatrix}${Array(n).fill(Array(r).fill(\"#?\").join(\" & \")).join(\"\\\\\\\\\")}\\\\end{pmatrix}`, { selectionMode: \"item\" });\n\t\t}\n\t});\n\treturn t;\n}\nfunction Hg(e) {\n\treturn [\n\t\t{\n\t\t\tlabel: () => C(\"menu.array.add row above\"),\n\t\t\tid: \"add-row-above\",\n\t\t\tonMenuSelect: () => e.executeCommand(\"addRowBefore\"),\n\t\t\tkeyboardShortcut: \"shift+alt+[Return]\",\n\t\t\tvisible: () => {\n\t\t\t\tif (!e.isSelectionEditable || !Ug(e)) return !1;\n\t\t\t\tlet [t, n] = Kg(e), [r, i] = qg(e);\n\t\t\t\treturn t !== r;\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.array.add row below\"),\n\t\t\tid: \"add-row-below\",\n\t\t\tonMenuSelect: () => e.executeCommand(\"addRowAfter\"),\n\t\t\tkeyboardShortcut: \"alt+[Return]\",\n\t\t\tvisible: () => {\n\t\t\t\tif (!e.isSelectionEditable || !Ug(e)) return !1;\n\t\t\t\tlet [t, n] = Kg(e), [r, i] = qg(e);\n\t\t\t\treturn t !== r;\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.array.add column before\"),\n\t\t\tid: \"add-column-before\",\n\t\t\tonMenuSelect: () => e.executeCommand(\"addColumnBefore\"),\n\t\t\tvisible: () => {\n\t\t\t\tif (!e.isSelectionEditable || !Ug(e)) return !1;\n\t\t\t\tlet [t, n] = Kg(e), [r, i] = qg(e);\n\t\t\t\treturn n !== i;\n\t\t\t},\n\t\t\tkeyboardShortcut: \"shift+alt+[Tab]\",\n\t\t\tenabled: () => {\n\t\t\t\tlet t = e.model.parentEnvironment;\n\t\t\t\tif (!t) return !1;\n\t\t\t\tlet [n, r] = Gg(e);\n\t\t\t\treturn n < t.maxColumns;\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.array.add column after\"),\n\t\t\tid: \"add-column-after\",\n\t\t\tonMenuSelect: () => e.executeCommand(\"addColumnAfter\"),\n\t\t\tkeyboardShortcut: \"alt+[Tab]\",\n\t\t\tvisible: () => {\n\t\t\t\tif (!e.isSelectionEditable || !Ug(e)) return !1;\n\t\t\t\tlet [t, n] = Kg(e), [r, i] = qg(e);\n\t\t\t\treturn n !== i;\n\t\t\t}\n\t\t},\n\t\t{ type: \"divider\" },\n\t\t{\n\t\t\tlabel: () => C(\"menu.array.delete row\"),\n\t\t\tid: \"delete-row\",\n\t\t\tonMenuSelect: () => e.executeCommand(\"removeRow\"),\n\t\t\tenabled: () => {\n\t\t\t\tlet [t, n] = Kg(e), [r, i] = Gg(e);\n\t\t\t\treturn r > t;\n\t\t\t},\n\t\t\tvisible: () => {\n\t\t\t\tif (!e.isSelectionEditable || !Ug(e)) return !1;\n\t\t\t\tlet [t, n] = Kg(e), [r, i] = qg(e);\n\t\t\t\treturn t !== r;\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.array.delete column\"),\n\t\t\tid: \"delete-column\",\n\t\t\tonMenuSelect: () => e.executeCommand(\"removeColumn\"),\n\t\t\tenabled: () => {\n\t\t\t\tlet [t, n] = Kg(e), [r, i] = Gg(e);\n\t\t\t\treturn i > n;\n\t\t\t},\n\t\t\tvisible: () => {\n\t\t\t\tif (!e.isSelectionEditable || !Ug(e)) return !1;\n\t\t\t\tlet [t, n] = Kg(e), [r, i] = qg(e);\n\t\t\t\treturn n !== i;\n\t\t\t}\n\t\t},\n\t\t{ type: \"divider\" },\n\t\t{\n\t\t\tlabel: () => C(\"menu.borders\"),\n\t\t\tvisible: () => (Wg(e) || Ug(e)) && e.isSelectionEditable,\n\t\t\tsubmenu: [\n\t\t\t\t{\n\t\t\t\t\tlabel: \" ⋱ \",\n\t\t\t\t\tid: \"environment-no-border\",\n\t\t\t\t\tonMenuSelect: () => Jg(e, \"matrix\")\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"(⋱)\",\n\t\t\t\t\tid: \"environment-parentheses\",\n\t\t\t\t\tonMenuSelect: () => Jg(e, \"pmatrix\")\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"[⋱]\",\n\t\t\t\t\tid: \"environment-brackets\",\n\t\t\t\t\tonMenuSelect: () => Jg(e, \"bmatrix\")\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"|⋱|\",\n\t\t\t\t\tid: \"environment-bar\",\n\t\t\t\t\tonMenuSelect: () => Jg(e, \"vmatrix\")\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: \"{⋱}\",\n\t\t\t\t\tid: \"environment-braces\",\n\t\t\t\t\tonMenuSelect: () => Jg(e, \"Bmatrix\")\n\t\t\t\t}\n\t\t\t],\n\t\t\tsubmenuClass: \"border-submenu\"\n\t\t},\n\t\t{ type: \"divider\" },\n\t\t{\n\t\t\tlabel: () => C(\"menu.insert matrix\"),\n\t\t\tid: \"insert-matrix\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tsubmenu: Vg(e),\n\t\t\tsubmenuClass: \"insert-matrix-submenu\",\n\t\t\tcolumnCount: 5\n\t\t},\n\t\t{ type: \"divider\" },\n\t\t{\n\t\t\tlabel: () => C(\"menu.insert\"),\n\t\t\tid: \"insert\",\n\t\t\tsubmenu: Qg(e)\n\t\t},\n\t\t{ type: \"divider\" },\n\t\t{\n\t\t\tlabel: () => C(\"menu.mode\"),\n\t\t\tid: \"mode\",\n\t\t\tvisible: () => e.isSelectionEditable && e.model.selectionIsCollapsed,\n\t\t\tsubmenu: [\n\t\t\t\t{\n\t\t\t\t\tlabel: () => C(\"menu.mode-math\"),\n\t\t\t\t\tid: \"mode-math\",\n\t\t\t\t\tonMenuSelect: () => {\n\t\t\t\t\t\tjd(e, \"accept-all\"), e.executeCommand([\"switchMode\", \"math\"]);\n\t\t\t\t\t},\n\t\t\t\t\tchecked: () => e.model.mode === \"math\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: () => C(\"menu.mode-text\"),\n\t\t\t\t\tid: \"mode-text\",\n\t\t\t\t\tonMenuSelect: () => {\n\t\t\t\t\t\tjd(e, \"accept-all\"), e.executeCommand([\"switchMode\", \"text\"]);\n\t\t\t\t\t},\n\t\t\t\t\tchecked: () => e.model.mode === \"text\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: () => C(\"menu.mode-latex\"),\n\t\t\t\t\tid: \"mode-latex\",\n\t\t\t\t\tonMenuSelect: () => e.executeCommand([\"switchMode\", \"latex\"]),\n\t\t\t\t\tchecked: () => e.model.mode === \"latex\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{ type: \"divider\" },\n\t\t{\n\t\t\tlabel: () => C(\"menu.font-style\"),\n\t\t\tid: \"variant\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tsubmenu: Fg(e),\n\t\t\tsubmenuClass: \"variant-submenu\"\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.color\"),\n\t\t\tid: \"color\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tsubmenu: zg(e),\n\t\t\tcolumnCount: 4,\n\t\t\tsubmenuClass: \"swatches-submenu\"\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.background-color\"),\n\t\t\tid: \"background-color\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tsubmenu: Rg(e),\n\t\t\tcolumnCount: 4,\n\t\t\tsubmenuClass: \"swatches-submenu\"\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.accent\"),\n\t\t\tid: \"accent\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tsubmenu: Ig(e),\n\t\t\tsubmenuClass: \"variant-submenu\"\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.decoration\"),\n\t\t\tid: \"decoration\",\n\t\t\tvisible: () => e.isSelectionEditable && X(e).length > 0,\n\t\t\tsubmenu: Lg(e),\n\t\t\tsubmenuClass: \"variant-submenu\"\n\t\t},\n\t\t{ type: \"divider\" },\n\t\t{\n\t\t\tlabel: () => C(\"menu.evaluate\"),\n\t\t\tid: \"ce-evaluate\",\n\t\t\tvisible: () => e.isSelectionEditable && globalThis.MathfieldElement.computeEngine !== null,\n\t\t\tonMenuSelect: () => {\n\t\t\t\tlet t = Yg(e);\n\t\t\t\tif (!t) {\n\t\t\t\t\te.model.announce(\"plonk\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\te.model.selectionIsCollapsed ? (e.model.position = e.model.lastOffset, e.insert(`=${t}`, {\n\t\t\t\t\tinsertionMode: \"insertAfter\",\n\t\t\t\t\tselectionMode: \"item\"\n\t\t\t\t})) : e.insert(t, {\n\t\t\t\t\tinsertionMode: \"replaceSelection\",\n\t\t\t\t\tselectionMode: \"item\"\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.simplify\"),\n\t\t\tid: \"ce-simplify\",\n\t\t\tvisible: () => e.isSelectionEditable && globalThis.MathfieldElement.computeEngine !== null,\n\t\t\tonMenuSelect: () => {\n\t\t\t\tif (e.model.selectionIsCollapsed) {\n\t\t\t\t\tlet t = e.expression?.simplify();\n\t\t\t\t\tif (e.model.position = e.model.lastOffset, !t) {\n\t\t\t\t\t\te.model.announce(\"plonk\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\te.insert(`=${t.latex}`, {\n\t\t\t\t\t\tinsertionMode: \"insertAfter\",\n\t\t\t\t\t\tselectionMode: \"item\"\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tlet t = globalThis.MathfieldElement.computeEngine?.parse(e.getValue(e.model.selection)).simplify();\n\t\t\t\t\tif (!t) {\n\t\t\t\t\t\te.model.announce(\"plonk\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\te.insert(t.latex, {\n\t\t\t\t\t\tinsertionMode: \"replaceSelection\",\n\t\t\t\t\t\tselectionMode: \"item\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tlabel: () => {\n\t\t\t\tlet t = globalThis.MathfieldElement.computeEngine;\n\t\t\t\tif (t === null) return \"\";\n\t\t\t\tlet n = e.expression?.unknowns[0];\n\t\t\t\tif (n) {\n\t\t\t\t\tlet e = t.box(n).latex;\n\t\t\t\t\treturn C(\"menu.solve-for\", Y(e));\n\t\t\t\t}\n\t\t\t\treturn C(\"menu.solve\");\n\t\t\t},\n\t\t\tid: \"ce-solve\",\n\t\t\tvisible: () => e.isSelectionEditable && globalThis.MathfieldElement.computeEngine !== null && e.expression?.unknowns.length === 1 && e.expression.unknowns[0] !== \"Nothing\",\n\t\t\tonMenuSelect: () => {\n\t\t\t\tlet t = e.expression, n = t?.unknowns[0], r = t.solve(n), i = Array.isArray(r) ? r.map((e) => e.simplify().latex ?? \"\") : null;\n\t\t\t\tif (!i) {\n\t\t\t\t\te.model.announce(\"plonk\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\te.insert(`${n}=${i.length === 1 ? i[0] : \"\\\\left\\\\lbrace\" + i?.join(\", \") + \"\\\\right\\\\rbrace\"}`, {\n\t\t\t\t\tinsertionMode: \"replaceAll\",\n\t\t\t\t\tselectionMode: \"item\"\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\t{ type: \"divider\" },\n\t\t{\n\t\t\tlabel: () => C(\"menu.cut\"),\n\t\t\tid: \"cut\",\n\t\t\tonMenuSelect: () => e.executeCommand(\"cutToClipboard\"),\n\t\t\tvisible: () => !e.options.readOnly && e.isSelectionEditable,\n\t\t\tkeyboardShortcut: \"meta+X\"\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.copy\"),\n\t\t\tid: \"copy\",\n\t\t\tsubmenu: [\n\t\t\t\t{\n\t\t\t\t\tlabel: () => C(\"menu.copy-as-latex\"),\n\t\t\t\t\tid: \"copy-latex\",\n\t\t\t\t\tonMenuSelect: () => I.copyToClipboard(e, \"latex\"),\n\t\t\t\t\tkeyboardShortcut: \"meta+C\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: () => C(\"menu.copy-as-typst\"),\n\t\t\t\t\tid: \"copy-latex\",\n\t\t\t\t\tonMenuSelect: () => I.copyToClipboard(e, \"typst\")\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: () => C(\"menu.copy-as-ascii-math\"),\n\t\t\t\t\tid: \"copy-ascii-math\",\n\t\t\t\t\tonMenuSelect: () => I.copyToClipboard(e, \"ascii-math\")\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: () => C(\"menu.copy-as-mathml\"),\n\t\t\t\t\tid: \"copy-math-ml\",\n\t\t\t\t\tonMenuSelect: () => I.copyToClipboard(e, \"math-ml\")\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.paste\"),\n\t\t\tid: \"paste\",\n\t\t\tonMenuSelect: () => e.executeCommand(\"pasteFromClipboard\"),\n\t\t\tvisible: () => e.hasEditableContent,\n\t\t\tkeyboardShortcut: \"meta+V\"\n\t\t},\n\t\t{\n\t\t\tlabel: () => C(\"menu.select-all\"),\n\t\t\tid: \"select-all\",\n\t\t\tkeyboardShortcut: \"meta+A\",\n\t\t\tonMenuSelect: () => e.executeCommand(\"selectAll\")\n\t\t}\n\t];\n}\nfunction Ug(e) {\n\tlet t = e.model.parentEnvironment?.environmentName ?? \"\";\n\treturn [\n\t\t\"array\",\n\t\t\"matrix\",\n\t\t\"pmatrix\",\n\t\t\"bmatrix\",\n\t\t\"vmatrix\",\n\t\t\"Bmatrix\",\n\t\t\"cases\",\n\t\t\"dcases\",\n\t\t\"rcases\"\n\t].includes(t);\n}\nfunction Wg(e) {\n\tlet t = e.model.at(e.model.position);\n\tif (t.type !== \"array\") return !1;\n\tlet n = t.environmentName;\n\treturn [\n\t\t\"matrix\",\n\t\t\"pmatrix\",\n\t\t\"bmatrix\",\n\t\t\"vmatrix\",\n\t\t\"Bmatrix\"\n\t].includes(n);\n}\nfunction Gg(e) {\n\tlet t = e.model.parentEnvironment?.rows;\n\treturn t ? [t.length, t.reduce((e, t) => Math.max(e, t.length), 0)] : [0, 0];\n}\nfunction Kg(e) {\n\tlet t = e.model.parentEnvironment;\n\treturn t ? [t.minRows, t.minColumns] : [0, 0];\n}\nfunction qg(e) {\n\tlet t = e.model.parentEnvironment;\n\treturn t ? [t.maxRows, t.maxColumns] : [0, 0];\n}\nfunction Jg(e, t) {\n\tOd(e), e.flushInlineShortcutBuffer(), Cp(e.model, t), H(e);\n}\nfunction Yg(e) {\n\tlet t;\n\tif (t = e.model.selectionIsCollapsed ? globalThis.MathfieldElement.computeEngine?.parse(e.getValue(), { canonical: !1 }) : globalThis.MathfieldElement.computeEngine?.parse(e.getValue(e.model.selection), { canonical: !1 }), !t) return \"\";\n\tlet n = t.evaluate();\n\treturn n.isSame(t) && (n = t.N()), n.latex;\n}\nfunction Xg(e, t, n, r) {\n\treturn {\n\t\tid: `variant-${t}`,\n\t\tlabel: () => X(e).length < 12 ? Y(`\\\\${n}{${X(e)}}`) : C(r) ?? r,\n\t\tclass: \"ML__xl\",\n\t\ttooltip: () => C(r) ?? r,\n\t\tvisible: () => Pg(e, t),\n\t\tchecked: () => ({\n\t\t\tsome: \"mixed\",\n\t\t\tall: !0\n\t\t})[e.queryStyle({ variant: t })] ?? !1,\n\t\tonMenuSelect: () => e.applyStyle({ variant: t }, { operation: \"toggle\" })\n\t};\n}\nfunction Zg(e, t, n, r) {\n\treturn {\n\t\tid: `variant-style-${t}`,\n\t\tlabel: () => {\n\t\t\tlet t = X(e);\n\t\t\treturn t.length > 0 && t.length < 12 ? Y(`\\\\${n}{${X(e)}}`) : C(r) ?? r;\n\t\t},\n\t\tclass: () => {\n\t\t\tlet t = X(e);\n\t\t\treturn t.length > 0 && t.length < 12 ? \"ML__xl\" : \"\";\n\t\t},\n\t\ttooltip: () => C(r) ?? r,\n\t\tvisible: !0,\n\t\tchecked: () => ({\n\t\t\tsome: \"mixed\",\n\t\t\tall: !0\n\t\t})[e.queryStyle({ variantStyle: t })] ?? !1,\n\t\tonMenuSelect: () => e.applyStyle({ variantStyle: t }, { operation: \"toggle\" })\n\t};\n}\nfunction Qg(e) {\n\treturn [\n\t\t{\n\t\t\tlabel: () => $g(\"abs\"),\n\t\t\tid: \"insert-abs\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"|#?|\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"nth-root\"),\n\t\t\tid: \"insert-nth-root\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\sqrt[#?]{#?}\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"log-base\"),\n\t\t\tid: \"insert-log-base\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\log_{#?}{#?}\")\n\t\t},\n\t\t{\n\t\t\ttype: \"heading\",\n\t\t\tlabel: () => C(\"menu.insert.heading-calculus\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"derivative\"),\n\t\t\tid: \"insert-derivative\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\dfrac{\\\\mathrm{d}}{\\\\mathrm{d}x}#?\\\\bigm|_{x=#?}\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"nth-derivative\"),\n\t\t\tid: \"insert-nth-derivative\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\dfrac{\\\\mathrm{d}^#?}{\\\\mathrm{d}x^#?}#?\\\\bigm|_{x=#?}\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"integral\"),\n\t\t\tid: \"insert-integral\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\int_#?^#?#?\\\\,\\\\mathrm{d}#?\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"sum\"),\n\t\t\tid: \"insert-sum\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\sum_#?^#?#?\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"product\"),\n\t\t\tid: \"insert-product\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\prod_#?^#?#?\")\n\t\t},\n\t\t{\n\t\t\ttype: \"heading\",\n\t\t\tlabel: () => C(\"menu.insert.heading-complex-numbers\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"modulus\"),\n\t\t\tid: \"insert-modulus\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\lvert#?\\\\rvert\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"argument\"),\n\t\t\tid: \"insert-argument\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\arg(#?)\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"real-part\"),\n\t\t\tid: \"insert-real-part\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\Re(#?)\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"imaginary-part\"),\n\t\t\tid: \"insert-imaginary-part\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\Im(#?)\")\n\t\t},\n\t\t{\n\t\t\tlabel: () => $g(\"conjugate\"),\n\t\t\tid: \"insert-conjugate\",\n\t\t\tvisible: () => e.isSelectionEditable,\n\t\t\tonMenuSelect: () => e.insert(\"\\\\overline{#?}\")\n\t\t}\n\t];\n}\nfunction $g(e) {\n\treturn `<span class='ML__insert-template'> ${Y(C(`menu.insert.${e}-template`))}</span><span class=\"ML__insert-label\">${C(`menu.insert.${e}`)}</span>`;\n}\nvar e_ = {\n\t\"\\\\ne\": \"!=\",\n\t\"\\\\neq\": \"!=\",\n\t\"−\": \"-\",\n\t\"-\": \"-\",\n\t\"\\\\alpha\": \"alpha\",\n\t\"\\\\beta\": \"beta\",\n\t\"\\\\gamma\": \"gamma\",\n\t\"\\\\delta\": \"delta\",\n\t\"\\\\epsilon\": \"epsilon.alt\",\n\t\"\\\\varepsilon\": \"epsilon\",\n\t\"\\\\zeta\": \"zeta\",\n\t\"\\\\eta\": \"eta\",\n\t\"\\\\theta\": \"theta.alt\",\n\t\"\\\\vartheta\": \"theta\",\n\t\"\\\\iota\": \"iota\",\n\t\"\\\\kappa\": \"kappa\",\n\t\"\\\\lambda\": \"lambda\",\n\t\"\\\\mu\": \"mu\",\n\t\"\\\\nu\": \"nu\",\n\t\"\\\\xi\": \"xi\",\n\t\"\\\\pi\": \"pi\",\n\t\"\\\\rho\": \"rho\",\n\t\"\\\\sigma\": \"sigma\",\n\t\"\\\\tau\": \"tau\",\n\t\"\\\\upsilon\": \"upsilon\",\n\t\"\\\\phi\": \"phi.alt\",\n\t\"\\\\varphi\": \"phi\",\n\t\"\\\\chi\": \"chi\",\n\t\"\\\\psi\": \"psi\",\n\t\"\\\\omega\": \"omega\",\n\t\"\\\\Gamma\": \"Gamma\",\n\t\"\\\\Delta\": \"Delta\",\n\t\"\\\\Theta\": \"Theta\",\n\t\"\\\\Lambda\": \"Lambda\",\n\t\"\\\\Xi\": \"Xi\",\n\t\"\\\\Pi\": \"Pi\",\n\t\"\\\\Sigma\": \"Sigma\",\n\t\"\\\\Phi\": \"Phi\",\n\t\"\\\\Psi\": \"Psi\",\n\t\"\\\\Omega\": \"Omega\",\n\t\"\\\\exponentialE\": \"e\",\n\t\"\\\\imaginaryI\": \"i\",\n\t\"\\\\imaginaryJ\": \"j\",\n\t\"\\\\!\": \" #h(-1em/6) \",\n\t\"\\\\,\": \" thin \",\n\t\"\\\\:\": \" med \",\n\t\"\\\\>\": \" med \",\n\t\"\\\\;\": \" thick \",\n\t\"\\\\enskip\": \"space.en\",\n\t\"\\\\enspace\": \"space.en\",\n\t\"\\\\qquad\": \"space.quad space.quad\",\n\t\"\\\\quad\": \"space.quad\",\n\t\"\\\\infty\": \"infinity\",\n\t\"\\\\R\": \"RR\",\n\t\"\\\\mathbb{R}\": \"RR\",\n\t\"\\\\N\": \"NN\",\n\t\"\\\\mathbb{N}\": \"NN\",\n\t\"\\\\Z\": \"ZZ\",\n\t\"\\\\mathbb{Z}\": \"ZZ\",\n\t\"\\\\Q\": \"QQ\",\n\t\"\\\\mathbb{Q}\": \"QQ\",\n\t\"\\\\C\": \"CC\",\n\t\"\\\\mathbb{C}\": \"CC\",\n\t\"\\\\emptyset\": \"emptyset\",\n\t\"\\\\varnothing\": \"nothing\",\n\t\"\\\\varDelta\": \"Delta\",\n\t\"\\\\varTheta\": \"Theta\",\n\t\"\\\\varLambda\": \"Lambda\",\n\t\"\\\\varXi\": \"Xi\",\n\t\"\\\\varPi\": \"Pi\",\n\t\"\\\\varSigma\": \"Sigma\",\n\t\"\\\\varUpsilon\": \"Upsilon\",\n\t\"\\\\varPhi\": \"Phi\",\n\t\"\\\\varPsi\": \"Psi\",\n\t\"\\\\varOmega\": \"Omega\",\n\t\"\\\\vert\": \" | \",\n\t\"\\\\Vert\": \" || \",\n\t\"\\\\mid\": \" divides \",\n\t\"\\\\lbrack\": \" bracket.l \",\n\t\"\\\\rbrack\": \" bracket.r \",\n\t\"\\\\lbrace\": \" brace.l \",\n\t\"\\\\rbrace\": \" brace.r \",\n\t\"\\\\lparen\": \" paren.l \",\n\t\"\\\\rparen\": \" paren.r \",\n\t\"\\\\langle\": \" angle.l \",\n\t\"\\\\rangle\": \" angle.r \",\n\t\"\\\\differentialD\": \" dif \",\n\t\"\\\\diamond\": \" diamond.stroked.small \",\n\t\"\\\\square\": \" square.stroked.small \",\n\t\"\\\\lceil\": \" ceil.l \",\n\t\"\\\\rceil\": \" ceil.r \",\n\t\"\\\\lfloor\": \" floor.l \",\n\t\"\\\\rfloor\": \" floor.r \",\n\t\"\\\\aleph\": \" aleph \",\n\t\"\\\\bet\": \" bet \",\n\t\"\\\\gimel\": \" gimel \",\n\t\"\\\\dalet\": \" dalet \",\n\t\"\\\\mod\": \" mod \",\n\t\"\\\\equiv\": \" equiv \",\n\t\"\\\\subset\": \" subset \",\n\t\"\\\\supset\": \" supset \",\n\t\"\\\\subseteq\": \" subset.eq \",\n\t\"\\\\supseteq\": \" supset.eq \",\n\t\"\\\\subsetneq\": \" subset.neq \",\n\t\"\\\\supsetneq\": \" supset.neq \",\n\t\"\\\\supsetneqq\": \" supset.neq \",\n\t\"\\\\nsubset\": \" subset.not \",\n\t\"\\\\nsupset\": \" supset.not \",\n\t\"\\\\nsubseteq\": \" subset.eq.not \",\n\t\"\\\\nsupseteq\": \" supset.eq.not \",\n\t\"\\\\approx\": \" approx \",\n\t\"\\\\uparrow\": \" arrow.t \",\n\t\"\\\\downarrow\": \" arrow.b \",\n\t\"\\\\rightarrow\": \" arrow.r \",\n\t\"\\\\leftarrow\": \" arrow.l \",\n\t\"\\\\longmapsto\": \" mapsto.long \",\n\t\"\\\\longmapsfrom\": \" arrow.l.bar.long \",\n\t\"/\": \"\\\\/\",\n\t\"&\": \"&\"\n}, t_ = {\n\t\"[\": \" bracket.l \",\n\t\"]\": \" bracket.r \",\n\t\"{\": \" brace.l \",\n\t\"}\": \" brace.r \",\n\t\"(\": \" paren.l \",\n\t\")\": \" paren.r \",\n\t\"<\": \" angle.l \",\n\t\">\": \" angle.r \",\n\t\".\": \"\"\n}, n_ = {\n\t\" bracket.l \": \"[\",\n\t\" bracket.r \": \"]\",\n\t\" brace.l \": \"{\",\n\t\" brace.r \": \"}\",\n\t\" paren.l \": \"(\",\n\t\" paren.r \": \")\",\n\t\" angle.l \": \" angle.l \",\n\t\" angle.r \": \" angle.r \"\n}, r_ = {\n\t\"\\\\pm\": \"plus.minus\",\n\t\"\\\\colon\": \" : \",\n\t\"\\\\sum\": \" sum \",\n\t\"\\\\prod\": \" product \",\n\t\"\\\\bigcap\": \" inter.big \",\n\t\"\\\\bigcup\": \" union.big \",\n\t\"\\\\int\": \" integral \",\n\t\"\\\\iint\": \" integral.double \",\n\t\"\\\\iiint\": \" integral.triple \",\n\t\"\\\\intop\": \" integral \",\n\t\"\\\\oint\": \" integral.cont \",\n\t\"\\\\oiint\": \" integral.surf \",\n\t\"\\\\oiiint\": \" integral.vol \",\n\t\"\\\\setminus\": \" without \",\n\t\"\\\\vdots\": \" without \",\n\t\"\\\\ddots\": \" dots.down \",\n\t\"\\\\ge\": \">=\",\n\t\"\\\\le\": \"<=\",\n\t\"\\\\ne\": \"!=\",\n\t\"\\\\neq\": \"!=\",\n\t\"\\\\lt\": \"<\",\n\t\"\\\\gt\": \">\",\n\t\"\\\\gets\": \"<-\",\n\t\"\\\\to\": \"->\",\n\t\"\\\\land\": \" and \",\n\t\"\\\\lor\": \" or \",\n\t\"\\\\lnot\": \" not \",\n\t\"\\\\forall\": \" forall \",\n\t\"\\\\exists\": \" exists \",\n\t\"\\\\in\": \" in \",\n\t\"\\\\notin\": \" in.not \",\n\t\"\\\\mapsto\": \"|->\",\n\t\"\\\\implies\": \"==>\",\n\t\"\\\\iff\": \"<==>\",\n\t\"\\\\cdot\": \" dot.op \",\n\t\"\\\\ast\": \" * \",\n\t\"\\\\star\": \" star.op \",\n\t\"\\\\times\": \" times \",\n\t\"\\\\div\": \" div \",\n\t\"\\\\ltimes\": \" times.l \",\n\t\"\\\\rtimes\": \" times.r \",\n\t\"\\\\bowtie\": \" ⋈ \",\n\t\"\\\\circ\": \" circle.stroked.small \"\n}, i_ = {\n\tunderarc: \"underparen\",\n\tunderparen: \"underparen\",\n\tunderbrace: \"underbrace\",\n\tunderline: \"underline\",\n\toverarc: \"overparen\",\n\toverparen: \"overparen\",\n\toverbrace: \"overbrace\",\n\toverline: \"overline\",\n\tcancel: \"cancel\",\n\tdisplaystyle: \"display\",\n\ttextstyle: \"inline\"\n}, a_ = {\n\tlongrightarrow: (e) => `arrow.r.long^(${Z(e.above)})`,\n\tlongleftarrow: (e) => `arrow.l.long^(${Z(e.above)})`\n};\nfunction o_(e) {\n\tlet t = \"\";\n\tfor (let n of e) {\n\t\tlet e = t[t.length - 1];\n\t\te !== void 0 && (/\\d$/.test(e) && /^\\d/.test(n) || /[a-zA-Z]$/.test(e) && /^[a-zA-Z]/.test(n)) && (t += \" \"), t += n;\n\t}\n\treturn t;\n}\nfunction Z(e) {\n\tvar t;\n\tif (!e) return \"\";\n\tif (x(e)) {\n\t\tif (e.length === 0) return \"\";\n\t\tif (e[0].mode === \"latex\") return e.map((e) => Z(e)).join(\"\");\n\t\tif (e[0].mode === \"text\") {\n\t\t\tlet t = 0, n = \"\";\n\t\t\tfor (; e[t]?.mode === \"text\";) n += e[t].body ? Z(e[t].body) : e[t].value, t++;\n\t\t\treturn ` \"${n}\" ${Z(e.slice(t))}`;\n\t\t}\n\t\tlet t = 0, n = [];\n\t\tfor (; e[t]?.mode === \"math\";) {\n\t\t\tlet r = \"\";\n\t\t\tfor (; e[t]?.type === \"mord\" && /\\d/.test(e[t].value);) r += e[t++].value;\n\t\t\tr ? n.push(r) : n.push(Z(e[t++]));\n\t\t}\n\t\treturn n.push(Z(e.slice(t))), o_(n);\n\t}\n\tif (e.mode === \"text\") return `\"${e.value}\"`;\n\tlet n = \"\", { command: r } = e, i;\n\tif (r === \"\\\\placeholder\") return `\"${Z(e.body)}\"`;\n\tlet a = F.serialize([e], {\n\t\texpandMacro: !0,\n\t\tdefaultMode: \"math\"\n\t});\n\tswitch (e.type) {\n\t\tcase \"accent\":\n\t\t\tn = `${{\n\t\t\t\t\"\\\\vec\": \"arrow\",\n\t\t\t\t\"\\\\dot\": \"dot\",\n\t\t\t\t\"\\\\ddot\": \"dot.double\",\n\t\t\t\t\"\\\\bar\": \"overline\",\n\t\t\t\t\"\\\\hat\": \"hat\",\n\t\t\t\t\"\\\\acute\": \"acute\",\n\t\t\t\t\"\\\\grave\": \"grave\",\n\t\t\t\t\"\\\\tilde\": \"tilde\",\n\t\t\t\t\"\\\\breve\": \"breve\",\n\t\t\t\t\"\\\\check\": \"caron\"\n\t\t\t}[r] ?? \"\"}(${Z(e.body)}) `;\n\t\t\tbreak;\n\t\tcase \"first\": return \"\";\n\t\tcase \"latexgroup\": return e.body.map((e) => e.value).join(\"\");\n\t\tcase \"group\":\n\t\tcase \"root\":\n\t\t\tn = e_[r] ?? Z(e.body);\n\t\t\tbreak;\n\t\tcase \"genfrac\":\n\t\t\t{\n\t\t\t\tlet t = e;\n\t\t\t\tt.hasBarLine ? (n += \"(\", n += Z(t.above), n += \")/(\", n += Z(t.below), n += \")\") : n += `binom(${Z(t.above)}, ${Z(t.below)})`;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"surd\":\n\t\t\te.hasEmptyBranch(\"above\") ? n += `sqrt(${Z(e.body)})` : n += `root(${Z(e.above)}, ${Z(e.body)})`;\n\t\t\tbreak;\n\t\tcase \"latex\":\n\t\t\tn = e.value;\n\t\t\tbreak;\n\t\tcase \"leftright\":\n\t\t\t{\n\t\t\t\tlet t = e, r = t.leftDelim;\n\t\t\t\tr && e_[r] && (r = e_[r]);\n\t\t\t\tlet i = t.matchingRightDelim();\n\t\t\t\ti && e_[i] && (i = e_[i]), r && (r = t_[r] ?? r), i && (i = t_[i] ?? i), n = r && i ? `lr(${n_[r] ?? r}${Z(t.body)}${n_[i] ?? i})` : `lr(${r}${Z(t.body)}${i})`;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"sizeddelim\":\n\t\tcase \"delim\":\n\t\t\tn = e.value;\n\t\t\tbreak;\n\t\tcase \"overlap\": break;\n\t\tcase \"mord\":\n\t\t\tif (e_[a]) return e_[a];\n\t\t\tn = e_[r] ?? r ?? r ?? (typeof e.value == \"string\" ? e.value : \"\"), n.startsWith(\"\\\\\") && (n += \" \"), i = r ? r.match(/{?\\\\char\"([\\dabcdefABCDEF]+)}?/) : null, i ? n = String.fromCodePoint(Number.parseInt(\"0x\" + i[1])) : n.length > 0 && n.startsWith(\"\\\\\") && (n = typeof e.value == \"string\" ? e.value.charAt(0) : e.command), n = s_(n, e.style), n = ` ${n} `;\n\t\t\tbreak;\n\t\tcase \"mbin\":\n\t\tcase \"mrel\":\n\t\tcase \"minner\":\n\t\t\tn = e_[a] ?? e_[r] ?? r_[r] ?? e.value;\n\t\t\tbreak;\n\t\tcase \"mopen\":\n\t\tcase \"mclose\":\n\t\t\tn = e_[a] ?? e.value;\n\t\t\tbreak;\n\t\tcase \"mpunct\":\n\t\t\tn = r_[r] ?? r;\n\t\t\tbreak;\n\t\tcase \"mop\":\n\t\tcase \"operator\":\n\t\tcase \"extensible-symbol\":\n\t\t\te.value !== \"\" && (n = r_[r] ? r_[r] : r === \"\\\\operatorname\" ? Z(e.body) : e.value ?? r, n += \" \");\n\t\t\tbreak;\n\t\tcase \"array\":\n\t\t\tlet o = e.environmentName;\n\t\t\tif (e.isMultiline) n = e.rows.map((e) => e.map((e) => Z(e)).join(\"\")).join(\"\\n\");\n\t\t\telse {\n\t\t\t\tlet t = e.rows, r = t.map((e) => e.map(Z).join(\", \")), i = {\n\t\t\t\t\tpmatrix: \"\\\"(\\\"\",\n\t\t\t\t\tbmatrix: \"\\\"[\\\"\",\n\t\t\t\t\t\"bmatrix*\": \"\\\"[\\\"\",\n\t\t\t\t\tBmatrix: \"\\\"{\\\"\",\n\t\t\t\t\tvmatrix: \"\\\"|\\\"\",\n\t\t\t\t\tmatrix: \"#none\"\n\t\t\t\t}[o];\n\t\t\t\tn = i ? `mat(delim: ${i}, ${r.join(\" ; \")})` : o === \"cases\" || o === \"rcases\" ? `cases(reverse: #${o === \"rcases\"}, ${r.join(\", \")})` : o === \"aligned\" ? t.map((e) => e.map(Z).join(\" & \")).join(\" \\\\ \") : t.map((e) => e.map(Z).join(\"\")).join(\"\");\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"box\": break;\n\t\tcase \"spacing\":\n\t\t\tn = e_[a] ?? e_[r] ?? \" \";\n\t\t\tbreak;\n\t\tcase \"space\":\n\t\t\tn = \" \";\n\t\t\tbreak;\n\t\tcase \"subsup\":\n\t\t\tn = (t = e.leftSibling) != null && t.value ? \"\" : \"\\\"\\\"\";\n\t\t\tbreak;\n\t\tcase \"macro\": n = e_[a] ?? e_[r] ?? r_[r] ?? Z(e.body);\n\t}\n\tif (!n) {\n\t\tlet t = i_[e.command.slice(1)];\n\t\tt && (n = `${t}(${Z(e.body)})`);\n\t}\n\tif (!n) {\n\t\tlet t = a_[e.command.slice(1)];\n\t\tt && (n = t(e));\n\t}\n\tif (!e.hasEmptyBranch(\"subscript\")) {\n\t\tn += \"_\";\n\t\tlet t = Z(e.subscript);\n\t\tn += t.length === 1 ? t : `(${t})`;\n\t}\n\tif (!e.hasEmptyBranch(\"superscript\")) {\n\t\tn += \"^\";\n\t\tlet t = Z(e.superscript);\n\t\tn += t.length === 1 ? t : `(${t})`;\n\t}\n\treturn n;\n}\nfunction s_(e, t) {\n\tif (!t) return e;\n\tlet n = e;\n\treturn t.variant === \"double-struck\" && (n = `bb(${n})`), t.variant === \"script\" && (n = `cal(${n})`), t.variant === \"fraktur\" && (n = `frak(${n})`), t.variant === \"sans-serif\" && (n = `sans(${n})`), t.variant === \"monospace\" && (n = `mono(${n})`), t.variantStyle === \"bold\" && (n = `bold(${n})`), n;\n}\nfunction c_(e, t) {\n\treturn typeof e == \"string\" ? e + lg(t) : lg(e);\n}\nfunction l_(e) {\n\tlet t;\n\tif (e.parent.type === \"prompt\") e.parentBranch === \"body\" && (t = \"prompt\");\n\telse if (e.parentBranch === \"body\") {\n\t\tif (e.type === \"first\" && (e.parent.type === \"root\" ? t = \"mathfield\" : e.parent.type === \"surd\" ? t = \"radicand\" : e.parent.type === \"genfrac\" ? t = \"fraction\" : e.parent.type === \"sizeddelim\" && (t = \"delimiter\"), t)) return t;\n\t\te.type === \"subsup\" ? e.superscript && e.subscript ? t = \"superscript and subscript\" : e.superscript ? t = \"superscript\" : e.subscript && (t = \"subscript\") : e.type && (t = {\n\t\t\taccent: \"accented\",\n\t\t\tarray: \"array\",\n\t\t\tbox: \"box\",\n\t\t\tchem: \"chemical formula\",\n\t\t\tdelim: \"delimiter\",\n\t\t\tenclose: \"cross out\",\n\t\t\t\"extensible-symbol\": \"extensible symbol\",\n\t\t\terror: \"error\",\n\t\t\tfirst: \"first\",\n\t\t\tgenfrac: \"fraction\",\n\t\t\tgroup: \"group\",\n\t\t\tlatex: \"LaTeX\",\n\t\t\tleftright: \"delimiter\",\n\t\t\tline: \"line\",\n\t\t\tsubsup: \"subscript-superscript\",\n\t\t\toperator: \"operator\",\n\t\t\toverunder: \"over-under\",\n\t\t\tplaceholder: \"placeholder\",\n\t\t\trule: \"rule\",\n\t\t\tsizeddelim: \"delimiter\",\n\t\t\tspace: \"space\",\n\t\t\tspacing: \"spacing\",\n\t\t\tsurd: \"square root\",\n\t\t\ttext: \"text\",\n\t\t\tprompt: \"prompt\",\n\t\t\troot: \"math field\",\n\t\t\tmop: \"operator\"\n\t\t}[e.type] ?? \"parent\");\n\t} else if (e.parent.type === \"genfrac\") {\n\t\tif (e.parentBranch === \"above\") return \"numerator\";\n\t\tif (e.parentBranch === \"below\") return \"denominator\";\n\t} else e.parent.type === \"surd\" ? e.parentBranch === \"above\" && (t = \"index\") : e.parentBranch === \"superscript\" ? t = \"superscript\" : e.parentBranch === \"subscript\" && (t = \"subscript\");\n\treturn t ?? \"parent\";\n}\nfunction u_(e, t, n, r) {\n\tlet i = \"\";\n\tif (t === \"plonk\") {\n\t\tglobalThis.MathfieldElement.playSound(\"plonk\"), e.flushInlineShortcutBuffer();\n\t\treturn;\n\t}\n\tif (t === \"delete\") i = c_(\"deleted: \", r);\n\telse if (t === \"focus\" || t.includes(\"move\")) i = d_(e.model, n), i += f_(e.model);\n\telse if (t === \"replacement\") i = c_(e.model.at(e.model.position));\n\telse if (t === \"line\") {\n\t\tlet t = c_(e.model.root);\n\t\te.keyboardDelegate.setAriaLabel(t);\n\t} else i = r ? c_(t + \" \", r) : t;\n\tif (i && e.ariaLiveText) {\n\t\tlet t = e.ariaLiveText.textContent.includes(\"\\xA0\") ? \" \" : \" \\xA0 \";\n\t\te.ariaLiveText.textContent = i + t;\n\t}\n}\nfunction d_(e, t) {\n\tif (Number.isNaN(t)) return \"\";\n\tlet n = e.at(t);\n\tif (!n || n.treeDepth <= e.at(e.position).treeDepth) return \"\";\n\tlet r = \"\", i = n.parent, a = e.at(e.position).parent;\n\tfor (; i !== e.root && i !== a;) r += `out of ${l_(i)};`, i = i.parent;\n\treturn r;\n}\nfunction f_(e) {\n\tif (!e.selectionIsCollapsed) return `selected: ${c_(e.getAtoms(e.selection))}`;\n\tlet t = \"\", n = e.at(e.position);\n\tif (n.isFirstSibling && (t = `start of ${l_(n)}: `), n.isLastSibling) {\n\t\tif (!n.isFirstSibling) {\n\t\t\tif (!n.parent.parent) return `${c_(n)}; end of mathfield`;\n\t\t\tt = `${c_(n)}; end of ${l_(n)}`;\n\t\t}\n\t} else t += c_(n);\n\treturn t;\n}\nvar p_ = class {\n\tconstructor(e, t, n) {\n\t\tthis.mathfield = e, this.mode = t, this.silenceNotifications = !1, this._selection = {\n\t\t\tranges: [[0, 0]],\n\t\t\tdirection: \"none\"\n\t\t}, this._anchor = 0, this._position = 0, this.root = n;\n\t}\n\tdispose() {\n\t\tthis.mathfield = void 0;\n\t}\n\tgetState() {\n\t\tlet e = { ranges: [...this._selection.ranges] };\n\t\treturn this.selection.direction && this.selection.direction !== \"none\" && (e.direction = this.selection.direction), {\n\t\t\tcontent: this.root.toJson(),\n\t\t\tselection: e,\n\t\t\tmode: this.mode\n\t\t};\n\t}\n\tsetState(e, t) {\n\t\tlet n = this.silenceNotifications;\n\t\tthis.silenceNotifications = t?.silenceNotifications ?? !0;\n\t\tlet r = {};\n\t\tif (t?.type === \"undo\" && (r = { inputType: \"historyUndo\" }), t?.type === \"redo\" && (r = { inputType: \"historyRedo\" }), this.contentWillChange(r)) {\n\t\t\tlet t = this.silenceNotifications;\n\t\t\tthis.silenceNotifications = !0, this.mode = e.mode, this.root = ku(e.content), this.selection = e.selection, this.silenceNotifications = t, this.contentDidChange(r), this.selectionDidChange();\n\t\t}\n\t\tthis.silenceNotifications = n;\n\t}\n\tget atoms() {\n\t\treturn this.root.children;\n\t}\n\tget selection() {\n\t\treturn this._selection;\n\t}\n\tset selection(e) {\n\t\tthis.setSelection(e);\n\t}\n\tsetSelection(e, t) {\n\t\treturn !this.mathfield.contentEditable && this.mathfield.userSelect === \"none\" ? !1 : this.deferNotifications({\n\t\t\tselection: !0,\n\t\t\tcontent: !0\n\t\t}, () => {\n\t\t\tvar n, r, i;\n\t\t\tlet a = this.normalizeSelection(e, t);\n\t\t\tif (a === void 0) throw TypeError(\"Invalid selection\");\n\t\t\tif (a.ranges.length === 1 && a.ranges[0][0] === a.ranges[0][1]) {\n\t\t\t\tlet e = a.ranges[0][0];\n\t\t\t\tif (!this.mathfield.dirty && !((n = this.at(e)) != null && n.parentPrompt) && this.mathfield.hasEditablePrompts) {\n\t\t\t\t\tif ((r = this.at(e - 1)) != null && r.parentPrompt) {\n\t\t\t\t\t\tthis._anchor = this.normalizeOffset(e - 1), this._position = this._anchor, this._selection = this.normalizeSelection(this._anchor);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tif ((i = this.at(e + 1)) != null && i.parentPrompt) {\n\t\t\t\t\t\tthis._anchor = this.normalizeOffset(e + 1), this._position = this._anchor, this._selection = this.normalizeSelection(this._anchor);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tthis._anchor = 0, this._position = 0, this._selection = { ranges: [[0, 0]] };\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis._anchor = e, this._position = e, this._selection = a;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tlet o = sc(a);\n\t\t\to = g_(this, o), a.direction === \"backward\" ? [this._position, this._anchor] = o : [this._anchor, this._position] = o;\n\t\t\tlet s = o[0] + 1;\n\t\t\tfor (; s <= this.lastOffset && this.at(s)?.type === \"first\" && s < o[1];) s += 1;\n\t\t\tlet c = s <= this.lastOffset ? this.at(s) : this.at(o[1]), l = this.at(o[1]), u = F.commonAncestor(c, l);\n\t\t\tthis._selection = (u?.type === \"array\" && c.parent === u && l.parent, {\n\t\t\t\tranges: [o],\n\t\t\t\tdirection: a.direction\n\t\t\t}), this._position >= 0 && (this._position, this.lastOffset);\n\t\t});\n\t}\n\tsetPositionHandlingPlaceholder(e) {\n\t\tlet t = this.at(e);\n\t\tt?.type === \"placeholder\" ? this.setSelection(e - 1, e) : t?.rightSibling?.type === \"placeholder\" ? this.setSelection(e, e + 1) : this.position = e, t instanceof V && t.isSuggestion && (t.isSuggestion = !1), this.mathfield.stopCoalescingUndo();\n\t}\n\tget position() {\n\t\treturn this._position;\n\t}\n\tset position(e) {\n\t\tthis.setSelection(e, e);\n\t}\n\tget anchor() {\n\t\treturn this._anchor;\n\t}\n\tget selectionIsCollapsed() {\n\t\treturn this._anchor === this._position;\n\t}\n\tget selectionIsPlaceholder() {\n\t\treturn Math.abs(this._anchor - this._position) === 1 && this.at(Math.max(this._anchor, this._position)).type === \"placeholder\";\n\t}\n\tcollapseSelection(e = \"forward\") {\n\t\treturn this._anchor !== this._position && (this.position = e === \"backward\" ? Math.min(this._anchor, this._position) : Math.max(this._anchor, this._position), !0);\n\t}\n\tget lastOffset() {\n\t\treturn this.atoms.length - 1;\n\t}\n\tat(e) {\n\t\treturn this.atoms[e];\n\t}\n\toffsetOf(e) {\n\t\treturn this.atoms.indexOf(e);\n\t}\n\tgetSiblingsRange(e) {\n\t\tlet t = this.at(e), { parent: n } = t;\n\t\tif (!n) return [0, this.lastOffset];\n\t\tlet r = t.parent.branch(t.parentBranch);\n\t\treturn [this.offsetOf(r[0]), this.offsetOf(r[r.length - 1])];\n\t}\n\tgetBranchRange(e, t) {\n\t\tlet n = this.at(e).branch(t);\n\t\treturn [this.offsetOf(n[0]), this.offsetOf(n[n.length - 1])];\n\t}\n\tgetCellRange(e) {\n\t\tthis.getParentCell(e);\n\t\tlet t = this.at(e);\n\t\tif (t) {\n\t\t\tfor (; t && t.parent?.type !== \"array\";) t = t.parent;\n\t\t\tif (t?.parent?.type === \"array\") return [this.offsetOf(t.firstSibling), this.offsetOf(t.lastSibling)];\n\t\t}\n\t}\n\tgetAtoms(e, t, n) {\n\t\tlet r = n ?? {};\n\t\tif (uc(e)) {\n\t\t\tif (r = t ?? {}, e.ranges.length > 1) return e.ranges.reduce((e, t) => [...e, ...this.getAtoms(t, r)], []);\n\t\t\te = e.ranges[0];\n\t\t}\n\t\tlet i, a;\n\t\tif (cc(e)) {\n\t\t\tif (i = e, !cc(t)) return [];\n\t\t\ta = t;\n\t\t} else [i, a] = e, Object.keys(r).length === 0 && (r = t ?? {});\n\t\tif (!Number.isFinite(i)) return [];\n\t\tr.includeChildren === void 0 && (r.includeChildren = !1), i < 0 && (i = this.lastOffset - i + 1), a < 0 && (a = this.lastOffset + a + 1);\n\t\tlet o = Math.min(i, a), s = Math.max(i, a), c = o === 0 ? 0 : o + 1, l = s;\n\t\tif (!r.includeChildren && c === 1 && l === this.lastOffset) return [this.root];\n\t\tlet u = [];\n\t\tfor (let e = c; e <= l; e++) {\n\t\t\tlet t = this.atoms[e];\n\t\t\tm_(this, t, c, l, r.includeFirstAtoms) && u.push(t);\n\t\t}\n\t\treturn r.includeChildren || (u = u.filter((e) => {\n\t\t\tlet t = !1, { parent: n } = e;\n\t\t\tfor (; n && !t;) t = m_(this, n, c, l, r.includeFirstAtoms), n = n.parent;\n\t\t\treturn !t;\n\t\t})), u;\n\t}\n\tfindAtom(e, t = 0, n = \"forward\") {\n\t\tlet r, i = this.lastOffset;\n\t\tif (n === \"forward\") {\n\t\t\tfor (let n = t; n <= i; n++) if (r = this.atoms[n], e(r)) return r;\n\t\t\tfor (let n = 0; n < t; n++) if (r = this.atoms[n], e(r)) return r;\n\t\t\treturn;\n\t\t}\n\t\tfor (let n = t; n >= 0; n--) if (r = this.atoms[n], e(r)) return r;\n\t\tfor (let n = i; n > t; n--) if (r = this.atoms[n], e(r)) return r;\n\t}\n\textractAtoms(e) {\n\t\tlet t = this.getAtoms(e);\n\t\tt.length === 1 && !t[0].parent && t[0].isRoot && (t = t[0] instanceof L ? t[0].rows.flatMap((e) => e.flatMap((e) => e)) : [...t[0].body ?? t[0].children], t = t.filter((e) => e.type !== \"first\"));\n\t\tfor (let e of t) e.parent.removeChild(e);\n\t\treturn t;\n\t}\n\tdeleteAtoms(e) {\n\t\tif (e ?? (e = [0, -1]), this.extractAtoms(e), e[0] === 0 && e[1] === -1 && this.root instanceof L) for (; this.root.rowCount > 1;) this.root.removeRow(1);\n\t\tthis.position = e[0];\n\t}\n\tatomToString(e, t) {\n\t\tlet n = t ?? \"latex\";\n\t\tif (n.startsWith(\"latex\")) return F.serialize([e], {\n\t\t\texpandMacro: n === \"latex-expanded\",\n\t\t\tskipStyles: n === \"latex-unstyled\",\n\t\t\tskipPlaceholders: n === \"latex-without-placeholders\",\n\t\t\tdefaultMode: this.mathfield.options.defaultMode\n\t\t});\n\t\tif (n === \"math-ml\") return K(e);\n\t\tif (n === \"spoken\") return lg(e);\n\t\tif (n === \"spoken-text\") {\n\t\t\tlet t = globalThis.MathfieldElement.textToSpeechMarkup;\n\t\t\tglobalThis.MathfieldElement.textToSpeechMarkup = \"\";\n\t\t\tlet n = lg(e);\n\t\t\treturn globalThis.MathfieldElement.textToSpeechMarkup = t, n;\n\t\t}\n\t\tif (n === \"spoken-ssml\" || n === \"spoken-ssml-with-highlighting\") {\n\t\t\tlet t = globalThis.MathfieldElement.textToSpeechMarkup;\n\t\t\tglobalThis.MathfieldElement.textToSpeechMarkup = \"ssml\";\n\t\t\tlet n = lg(e);\n\t\t\treturn globalThis.MathfieldElement.textToSpeechMarkup = t, n;\n\t\t}\n\t\treturn n === \"typst\" ? Z(e) : n === \"plain-text\" ? J(e, { plain: !0 }) : n === \"ascii-math\" ? J(e) : (console.error(`MathLive 0.110.0: Unexpected format \"${n}`), \"\");\n\t}\n\tgetValue(e, t, n) {\n\t\tif (e === void 0) return this.atomToString(this.root, \"latex\");\n\t\tif (typeof e == \"string\" && e !== \"math-json\") return this.atomToString(this.root, e);\n\t\tlet r, i;\n\t\tif (cc(e) && cc(t) ? (r = [this.normalizeRange([e, t])], i = n) : lc(e) ? (r = [this.normalizeRange(e)], i = t) : uc(e) ? (r = e.ranges, i = t) : (r = [this.normalizeRange([0, -1])], i = e), i ?? (i = \"latex\"), i === \"math-json\") {\n\t\t\tif (!globalThis.MathfieldElement.computeEngine) return window[Symbol.for(\"io.cortexjs.compute-engine\")] || console.error(\"The CortexJS Compute Engine library is not available.\\nLoad the library, for example with:\\nimport \\\"https://esm.run/@cortex-js/compute-engine\\\"\"), \"[\\\"Error\\\", \\\"compute-engine-not-available\\\"]\";\n\t\t\tlet e = this.getValue({ ranges: r }, \"latex-unstyled\");\n\t\t\ttry {\n\t\t\t\tlet t = globalThis.MathfieldElement.computeEngine.parse(e);\n\t\t\t\treturn JSON.stringify(t.json);\n\t\t\t} catch (e) {\n\t\t\t\treturn JSON.stringify([\"Error\", `'${e.toString()}'`]);\n\t\t\t}\n\t\t}\n\t\tif (i.startsWith(\"latex\")) {\n\t\t\tlet e = {\n\t\t\t\texpandMacro: i === \"latex-expanded\",\n\t\t\t\tskipStyles: i === \"latex-unstyled\",\n\t\t\t\tskipPlaceholders: i === \"latex-without-placeholders\",\n\t\t\t\tdefaultMode: this.mathfield.options.defaultMode\n\t\t\t};\n\t\t\treturn A(r.map((t) => F.serialize(this.getAtoms(t), e)));\n\t\t}\n\t\treturn r.map((e) => this.getAtoms(e).map((e) => this.atomToString(e, i)).join(\"\")).join(\"\");\n\t}\n\textendSelectionTo(e, t) {\n\t\treturn !this.mathfield.contentEditable && this.mathfield.userSelect === \"none\" ? !1 : this.deferNotifications({ selection: !0 }, () => {\n\t\t\tlet [n, r] = this.normalizeRange([e, t]), i = /* @__PURE__ */ new Set([\n\t\t\t\t\"genfrac\",\n\t\t\t\t\"subsup\",\n\t\t\t\t\"accent\",\n\t\t\t\t\"box\",\n\t\t\t\t\"overlap\",\n\t\t\t\t\"overunder\"\n\t\t\t]), { parent: a } = this.at(r);\n\t\t\tif (a != null && a.type && i.has(a.type)) for (; a != null && a.type && i.has(a.type) && h_(this, a, [n, r]);) r = this.offsetOf(a), a = a.parent;\n\t\t\tfor (a = this.at(n).parent; a != null && a.type && i.has(a.type) && h_(this, a, [n, r]);) n = this.offsetOf(a.leftSibling), a = a.parent;\n\t\t\tif (a = this.at(r).parent, a != null && a.type && i.has(a.type)) for (; a != null && a.type && i.has(a.type) && h_(this, a, [n, r]);) r = this.offsetOf(a), a = a.parent;\n\t\t\tthis._position = this.normalizeOffset(t), this._selection = {\n\t\t\t\tranges: [[n, r]],\n\t\t\t\tdirection: \"none\"\n\t\t\t};\n\t\t});\n\t}\n\tannounce(e, t, n = []) {\n\t\t(this.mathfield.host?.dispatchEvent(new CustomEvent(\"announce\", {\n\t\t\tdetail: {\n\t\t\t\tcommand: e,\n\t\t\t\tpreviousPosition: t,\n\t\t\t\tatoms: n\n\t\t\t},\n\t\t\tcancelable: !0,\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t})) ?? !0) && u_(this.mathfield, e, t, n);\n\t}\n\tdeferNotifications(e, t) {\n\t\tlet n = this._selection, r = this._anchor, i = this._position, a = this.silenceNotifications;\n\t\tthis.silenceNotifications = !0;\n\t\tlet o = this.root.changeCounter;\n\t\tt(), this.silenceNotifications = a;\n\t\tlet s = r !== this._anchor || i !== this._position || ac(this._selection, n) === \"different\";\n\t\te.selection && s && this.selectionDidChange();\n\t\tlet c = this.root.changeCounter !== o;\n\t\treturn e.content && c && this.contentDidChange({ inputType: e.type }), c || s;\n\t}\n\tnormalizeOffset(e) {\n\t\treturn e > 0 ? e = Math.min(e, this.lastOffset) : e < 0 && (e = this.lastOffset + e + 1), e;\n\t}\n\tnormalizeRange(e) {\n\t\tlet [t, n] = e;\n\t\treturn t = this.normalizeOffset(t), n = this.normalizeOffset(n), t < n ? [t, n] : [n, t];\n\t}\n\tnormalizeSelection(e, t) {\n\t\tlet n;\n\t\tif (cc(e)) {\n\t\t\tlet r = this.normalizeOffset(e);\n\t\t\tif (cc(t)) {\n\t\t\t\tlet e = this.normalizeOffset(t);\n\t\t\t\tn = r <= e ? {\n\t\t\t\t\tranges: [[r, e]],\n\t\t\t\t\tdirection: \"none\"\n\t\t\t\t} : {\n\t\t\t\t\tranges: [[e, r]],\n\t\t\t\t\tdirection: \"backward\"\n\t\t\t\t};\n\t\t\t} else n = {\n\t\t\t\tranges: [[r, r]],\n\t\t\t\tdirection: \"none\"\n\t\t\t};\n\t\t} else if (lc(e)) {\n\t\t\tlet t = this.normalizeOffset(e[0]), r = this.normalizeOffset(e[1]);\n\t\t\tn = t <= r ? {\n\t\t\t\tranges: [[t, r]],\n\t\t\t\tdirection: \"none\"\n\t\t\t} : {\n\t\t\t\tranges: [[r, t]],\n\t\t\t\tdirection: \"backward\"\n\t\t\t};\n\t\t} else uc(e) && (n = {\n\t\t\tranges: e.ranges.map((e) => this.normalizeRange(e)),\n\t\t\tdirection: e.direction ?? \"none\"\n\t\t});\n\t\treturn n;\n\t}\n\tget parentEnvironment() {\n\t\tlet e = this.at(this.position).parent;\n\t\tif (e) {\n\t\t\tfor (; e.parent && e.type !== \"array\";) e = e.parent;\n\t\t\tif (e.type === \"array\") return e;\n\t\t}\n\t}\n\tget parentCell() {\n\t\treturn this.getParentCell(this.position);\n\t}\n\tgetParentCell(e) {\n\t\tlet t = this.at(e);\n\t\tif (t) {\n\t\t\tfor (; t && t.parent?.type !== \"array\";) t = t.parent;\n\t\t\tif (t?.parent?.type === \"array\") return t.parentBranch;\n\t\t}\n\t}\n\tcontentWillChange(e = {}) {\n\t\tif (this.silenceNotifications || !this.mathfield) return !0;\n\t\tlet t = this.silenceNotifications;\n\t\tthis.silenceNotifications = !0;\n\t\tlet n = this.mathfield.onContentWillChange(e);\n\t\treturn this.silenceNotifications = t, n;\n\t}\n\tcontentDidChange(e) {\n\t\tvar t;\n\t\tif (window.mathVirtualKeyboard.visible && window.mathVirtualKeyboard.update(Um(this.mathfield)), this.silenceNotifications || !((t = this.mathfield) != null && t.host)) return;\n\t\tlet n = this.silenceNotifications;\n\t\tthis.silenceNotifications = !0, setTimeout(() => {\n\t\t\t!this.mathfield || !kc(this.mathfield) || !this.mathfield.host || this.mathfield.host.dispatchEvent(new InputEvent(\"input\", c(s({}, e), {\n\t\t\t\tdata: e.data ? e.data : e.inputType ?? \"\",\n\t\t\t\tbubbles: !0,\n\t\t\t\tcomposed: !0\n\t\t\t})));\n\t\t}, 0), this.silenceNotifications = n;\n\t}\n\tselectionDidChange() {\n\t\tif (!this.mathfield) return;\n\t\tlet e = this.silenceNotifications;\n\t\te || (this.silenceNotifications = !0, this.mathfield.onSelectionDidChange()), this.silenceNotifications = e;\n\t}\n};\nfunction m_(e, t, n, r, i) {\n\tlet a = e.offsetOf(t);\n\tif (a < n || a > r) return !1;\n\tif (!t.hasChildren) return !0;\n\tlet o = i ? t.firstChild : v_(t);\n\tif (!o) return !0;\n\tlet s = i ? t.lastChild : y_(t);\n\tif (!s) return !0;\n\tlet c = e.offsetOf(o);\n\tif (c >= n && c <= r) {\n\t\tlet t = e.offsetOf(s);\n\t\tif (t >= n && t <= r) return !0;\n\t}\n\treturn !1;\n}\nfunction h_(e, t, n) {\n\tif (!(t != null && t.hasChildren)) return !1;\n\tlet [r, i] = n, a = v_(t);\n\tif (!a) return !1;\n\tlet o = y_(t);\n\tif (!o) return !1;\n\tlet s = e.offsetOf(a), c = e.offsetOf(o);\n\treturn s >= r && s <= i && c >= s && c <= i;\n}\nfunction g_(e, t) {\n\tlet [n, r] = t, i = r + 1;\n\tif (i > e.lastOffset) return t;\n\tlet a = e.at(i);\n\treturn __(e, a, n, r) && (r = e.offsetOf(a)), [n, r];\n}\nfunction __(e, t, n, r) {\n\tif (t?.type !== \"subsup\" || !h_(e, t, [n, r])) return !1;\n\tlet i = t.leftSibling;\n\tif (!i) return !1;\n\tlet a = e.offsetOf(i);\n\treturn a > n && a <= r;\n}\nfunction v_(e) {\n\tfor (let t of e.children) if (t.type !== \"first\") return t;\n}\nfunction y_(e) {\n\tlet { children: t } = e;\n\tfor (let e = t.length - 1; e >= 0; e--) if (t[e].type !== \"first\") return t[e];\n}\nsf({\n\tdeleteAll: (e) => e.contentWillChange({ inputType: \"deleteContent\" }) && Np(e, [0, -1], \"deleteContent\"),\n\tdeleteForward: (e) => Mp(e),\n\tdeleteBackward: (e) => jp(e),\n\tdeleteNextWord: (e) => e.contentWillChange({ inputType: \"deleteWordForward\" }) && Ip(e, \"forward\", { delete: !0 }),\n\tdeletePreviousWord: (e) => e.contentWillChange({ inputType: \"deleteWordBackward\" }) && Ip(e, \"backward\", { delete: !0 }),\n\tdeleteToGroupStart: (e) => {\n\t\tif (!e.contentWillChange({ inputType: \"deleteSoftLineBackward\" })) return !1;\n\t\tlet t = e.offsetOf(e.at(e.position).firstSibling);\n\t\treturn t === e.position ? (e.announce(\"plonk\"), !1) : (e.deferNotifications({\n\t\t\tcontent: !0,\n\t\t\tselection: !0,\n\t\t\ttype: \"deleteSoftLineBackward\"\n\t\t}, () => e.deleteAtoms([e.anchor, t])), e.position = t, !0);\n\t},\n\tdeleteToGroupEnd: (e) => {\n\t\tif (!e.contentWillChange({ inputType: \"deleteSoftLineForward\" })) return !1;\n\t\tlet t = e.offsetOf(e.at(e.position).lastSibling);\n\t\treturn t === e.position ? (e.announce(\"plonk\"), !1) : (e.deferNotifications({\n\t\t\tcontent: !0,\n\t\t\tselection: !0,\n\t\t\ttype: \"deleteSoftLineForward\"\n\t\t}, () => e.deleteAtoms([e.anchor, t])), !0);\n\t},\n\tdeleteToMathFieldStart: (e) => e.contentWillChange({ inputType: \"deleteHardLineBackward\" }) && Np(e, [e.anchor, 0], \"deleteHardLineBackward\"),\n\tdeleteToMathFieldEnd: (e) => e.contentWillChange({ inputType: \"deleteHardLineForward\" }) && Np(e, [e.anchor, -1], \"deleteHardLineForward\")\n}, {\n\ttarget: \"model\",\n\taudioFeedback: \"delete\",\n\tcanUndo: !0,\n\tchangeContent: !0,\n\tchangeSelection: !0\n});\nvar b_ = `<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"width: 21px;\" viewBox=\"0 0 576 512\" role=\"img\" aria-label=\"${C(\"tooltip.toggle virtual keyboard\")}\"><path d=\"M528 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm16 336c0 8.823-7.177 16-16 16H48c-8.823 0-16-7.177-16-16V112c0-8.823 7.177-16 16-16h480c8.823 0 16 7.177 16 16v288zM168 268v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-336 80v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm384 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zM120 188v-24c0-6.627-5.373-12-12-12H84c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm96 0v-24c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12zm-96 152v-8c0-6.627-5.373-12-12-12H180c-6.627 0-12 5.373-12 12v8c0 6.627 5.373 12 12 12h216c6.627 0 12-5.373 12-12z\"/></svg>`, x_ = `<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"height: 18px;\" viewBox=\"0 0 448 512\" role=\"img\" aria-label=\"${C(\"tooltip.menu\")}\"><path d=\"M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z\"/></svg>`, S_ = class e {\n\tconstructor(e, t) {\n\t\tthis.focusBlurInProgress = !1, this.programmaticFocusInProgress = !1, this.connectedToVirtualKeyboard = !1, this.options = s(c(s({}, cp()), {\n\t\t\tmacros: lt(),\n\t\t\tregisters: Ys()\n\t\t}), op(t)), this.eventController = new AbortController();\n\t\tlet n = this.eventController.signal;\n\t\tt.eventSink && (this.host = t.eventSink), this.element = e, e.mathfield = this, this.blurred = !0, this.keystrokeCaptionVisible = !1, this.suggestionIndex = 0, this.inlineShortcutBuffer = [], this.inlineShortcutBufferFlushTimer = 0, this.scientificNotationTimer = 0, this.defaultStyle = {}, this.styleBias = \"left\", this.options.defaultMode === \"inline-math\" ? this.element.classList.add(\"ML__is-inline\") : this.element.classList.remove(\"ML__is-inline\"), this.dirty = !1;\n\t\tlet r = t.value ?? this.element.textContent ?? \"\";\n\t\tr = r.trim();\n\t\tlet i = lp(this.options), a = Ql(r, { context: this.context }), o;\n\t\to = a.length === 1 && a[0].isRoot ? a[0] : new F({\n\t\t\ttype: \"root\",\n\t\t\tmode: i,\n\t\t\tbody: a\n\t\t}), this.model = new p_(this, i, o), this.undoManager = new kp(this.model);\n\t\tlet l = [];\n\t\tif (l.push(\"<span contenteditable=true role=textbox aria-autocomplete=none aria-multiline=false part=keyboard-sink class=ML__keyboard-sink autocapitalize=off autocomplete=off autocorrect=off spellcheck=false inputmode=none tabindex=0></span>\"), l.push(\"<span part=container class=ML__container style=\\\"visibility:hidden\\\">\"), l.push(\"<span part=content class=ML__content>\"), l.push(Qd(this)), l.push(\"</span>\"), l.push(\"<div class=ML__toggles>\"), window.mathVirtualKeyboard && (l.push(`<div part=virtual-keyboard-toggle class=ML__virtual-keyboard-toggle role=button ${this.hasEditableContent ? \"\" : \"style=\\\"display:none;\\\"\"} data-l10n-tooltip=\"tooltip.toggle virtual keyboard\">`), l.push(b_), l.push(\"</div>\")), l.push(\"<div part=menu-toggle class=ML__menu-toggle role=button data-l10n-tooltip=\\\"tooltip.menu\\\">\"), l.push(x_), l.push(\"</div>\"), l.push(\"</div>\"), l.push(\"</span>\"), l.push(\"<span class=ML__sr-only>\"), l.push(\"<span role=status aria-live=assertive aria-atomic=true></span>\"), l.push(\"</span>\"), this.element.innerHTML = globalThis.MathfieldElement.createHTML(l.join(\"\")), !this.element.children) {\n\t\t\tconsole.error(\"%cMathLive 0.110.0: Something went wrong and the mathfield could not be created.%c\\nIf you are using Vue, this may be because you are using the runtime-only build of Vue. Make sure to include `runtimeCompiler: true` in your Vue configuration. There may a warning from Vue in the log above.\", \"color:red;font-family:system-ui;font-size:1.2rem;font-weight:bold\", \"color:inherit;font-family:system-ui;font-size:inherit;font-weight:inherit\");\n\t\t\treturn;\n\t\t}\n\t\tthis._l10Subscription = S.subscribe(() => S.update(this.element)), S.update(this.element), this.container = this.element.querySelector(\"[part=container]\"), this.field = this.container.querySelector(\"[part=content]\"), this.field.addEventListener(\"click\", (e) => e.stopImmediatePropagation(), {\n\t\t\tcapture: !1,\n\t\t\tsignal: n\n\t\t}), this.field.addEventListener(\"wheel\", this, {\n\t\t\tpassive: !1,\n\t\t\tsignal: n\n\t\t});\n\t\tlet u = this.element;\n\t\tif (\"PointerEvent\" in window ? u.addEventListener(\"pointerdown\", this, { signal: n }) : u.addEventListener(\"mousedown\", this, { signal: n }), this.host) {\n\t\t\tlet e = (e) => {\n\t\t\t\te.target === this.host && this.handleEvent(e);\n\t\t\t};\n\t\t\t\"PointerEvent\" in window ? this.host.addEventListener(\"pointerdown\", e, { signal: n }) : this.host.addEventListener(\"mousedown\", e, { signal: n });\n\t\t}\n\t\tlet d = this.element.querySelector(\"[part=virtual-keyboard-toggle]\");\n\t\td?.addEventListener(\"pointerdown\", (e) => {\n\t\t\te.currentTarget === d && (window.mathVirtualKeyboard.visible ? window.mathVirtualKeyboard.hide() : (window.mathVirtualKeyboard.show({ animate: !0 }), window.mathVirtualKeyboard.update(Um(this)), setTimeout(() => this.scrollIntoView(), 300)), e.preventDefault(), e.stopPropagation(), this.hasFocus() || this.focus({ preventScroll: !0 }));\n\t\t}, { signal: n }), this.field.addEventListener(\"contextmenu\", this, { signal: n });\n\t\tlet f = this.element.querySelector(\"[part=menu-toggle]\");\n\t\tf?.addEventListener(\"pointerdown\", (e) => {\n\t\t\tif (e.currentTarget !== f) return;\n\t\t\tlet t = this.menu;\n\t\t\tif (t.state !== \"closed\") return;\n\t\t\tthis.element.classList.add(\"tracking\");\n\t\t\tlet n = f.getBoundingClientRect();\n\t\t\tt.modifiers = rd(e), t.show({\n\t\t\t\ttarget: f,\n\t\t\t\tlocation: {\n\t\t\t\t\tx: n.left,\n\t\t\t\t\ty: n.bottom\n\t\t\t\t},\n\t\t\t\tonDismiss: () => this.element.classList.remove(\"tracking\")\n\t\t\t}), e.preventDefault(), e.stopPropagation();\n\t\t}, { signal: n }), (this.disabled || this.readOnly && !this.hasEditableContent || this.userSelect === \"none\") && (f.style.display = \"none\"), this.ariaLiveText = this.element.querySelector(\"[role=status]\") ?? void 0, this.keyboardDelegate = ld(this.element.querySelector(\".ML__keyboard-sink\"), this.element, this), window.addEventListener(\"resize\", this, { signal: n }), document.addEventListener(\"scroll\", this, { signal: n }), this.resizeObserver = new ResizeObserver((e) => {\n\t\t\tif (this.resizeObserverStarted) {\n\t\t\t\tthis.resizeObserverStarted = !1;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.updateToggleLayout(), H(this);\n\t\t}), this.resizeObserverStarted = !0, this.resizeObserver.observe(this.field), this.resizeObserver.observe(this.container), setTimeout(() => this.updateToggleLayout(), 100), window.mathVirtualKeyboard.addEventListener(\"virtual-keyboard-toggle\", this, { signal: n }), me && !S.locale.startsWith(me.locale) && be(S.locale), qd !== \"ready\" && document.fonts.ready.then(() => ef(this)), e.querySelector(\"[part=container]\").style.removeProperty(\"visibility\"), this.undoManager.startRecording(), this.undoManager.snapshot(\"set-value\"), H(this);\n\t}\n\tconnectToVirtualKeyboard() {\n\t\tthis.connectedToVirtualKeyboard || (this.connectedToVirtualKeyboard = !0, window.addEventListener(\"message\", this, { signal: this.eventController.signal }), window.mathVirtualKeyboard.connect(), window.mathVirtualKeyboard.visible && window.mathVirtualKeyboard.update(Um(this)), lh(this));\n\t}\n\tdisconnectFromVirtualKeyboard() {\n\t\tthis.connectedToVirtualKeyboard && (window.removeEventListener(\"message\", this), window.mathVirtualKeyboard.disconnect(), this.connectedToVirtualKeyboard = !1, sh());\n\t}\n\tshowMenu(e) {\n\t\tlet t = e?.location ?? jc(this.field) ?? void 0, n = e?.modifiers, r = this.element.querySelector(\"[part=container]\");\n\t\treturn this._menu.show({\n\t\t\ttarget: r,\n\t\t\tlocation: t,\n\t\t\tmodifiers: n\n\t\t});\n\t}\n\tget colorMap() {\n\t\treturn (e) => {\n\t\t\tvar t;\n\t\t\treturn (t = this.options).colorMap?.call(t, e) ?? ke(e);\n\t\t};\n\t}\n\tget backgroundColorMap() {\n\t\treturn (e) => {\n\t\t\tvar t, n;\n\t\t\treturn (t = this.options).backgroundColorMap?.call(t, e) ?? (n = this.options).colorMap?.call(n, e) ?? Ae(e);\n\t\t};\n\t}\n\tget smartFence() {\n\t\treturn this.options.smartFence ?? !1;\n\t}\n\tget readOnly() {\n\t\treturn this.options.readOnly ?? !1;\n\t}\n\tget disabled() {\n\t\treturn this.host?.disabled ?? !1;\n\t}\n\tget contentEditable() {\n\t\treturn this.host ? this.host.getAttribute(\"contenteditable\") !== \"false\" : !1;\n\t}\n\tget userSelect() {\n\t\tif (!this.host) return \"\";\n\t\tlet e = getComputedStyle(this.host);\n\t\treturn e.getPropertyValue(\"user-select\") || e.getPropertyValue(\"-webkit-user-select\");\n\t}\n\tget hasEditableContent() {\n\t\treturn this.disabled || !this.contentEditable ? !1 : !this.readOnly || this.hasEditablePrompts;\n\t}\n\tget hasEditablePrompts() {\n\t\treturn this.readOnly && !this.disabled && this.contentEditable && this.model.findAtom((e) => e.type === \"prompt\" && !e.locked) !== void 0;\n\t}\n\tget isSelectionEditable() {\n\t\tif (this.disabled || !this.contentEditable) return !1;\n\t\tif (!this.readOnly) return !0;\n\t\tlet e = this.model.at(this.model.anchor), t = this.model.at(this.model.position), n = F.commonAncestor(e, t);\n\t\treturn !!(n?.type === \"prompt\" || n != null && n.parentPrompt);\n\t}\n\tget letterShapeStyle() {\n\t\treturn this.options.letterShapeStyle ?? \"tex\";\n\t}\n\tget minFontScale() {\n\t\treturn this.options.minFontScale;\n\t}\n\tget maxMatrixCols() {\n\t\treturn this.options.maxMatrixCols;\n\t}\n\tqueryStyle(e) {\n\t\tlet t = wd(this, e);\n\t\t\"verbatimColor\" in t && delete t.verbatimColor, \"verbatimBackgroundColor\" in t && delete t.verbatimBackgroundColor;\n\t\tlet n = Object.keys(t).length;\n\t\tif (n === 0) return \"all\";\n\t\tif (n > 1) {\n\t\t\tfor (let e of Object.keys(t)) {\n\t\t\t\tlet n = this.queryStyle({ [e]: t[e] });\n\t\t\t\tif (n === \"none\") return \"none\";\n\t\t\t\tif (n === \"some\") return \"some\";\n\t\t\t}\n\t\t\treturn \"all\";\n\t\t}\n\t\tlet r = Object.keys(t)[0], i = t[r];\n\t\tif (this.model.selectionIsCollapsed) return Ed(this)[r] === i ? \"all\" : \"none\";\n\t\tlet a = this.model.getAtoms(this.model.selection, { includeChildren: !0 }), o = a.length;\n\t\tif (o === 0) return \"none\";\n\t\tlet s = 0;\n\t\tfor (let e of a) {\n\t\t\tif (e.type === \"first\") {\n\t\t\t\t--o;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\te.style[r] === i && (s += 1);\n\t\t}\n\t\treturn s === 0 ? \"none\" : s === o ? \"all\" : \"some\";\n\t}\n\tget keybindings() {\n\t\tif (this._keybindings) return this._keybindings;\n\t\tlet [e, t] = vd(this.options.keybindings, xe() ?? Se());\n\t\treturn xe()?.score > 0 && (this._keybindings = e, t.length > 0 && console.error(\"MathLive 0.110.0: Invalid keybindings for current keyboard layout\", t)), e;\n\t}\n\tget menu() {\n\t\treturn this._menu ?? (this._menu = new Nh(Hg(this), { host: this.host })), this._menu;\n\t}\n\tset menuItems(e) {\n\t\tthis._menu ? this._menu.menuItems = e : this._menu = new Nh(e, { host: this.host });\n\t}\n\tsetOptions(e) {\n\t\tthis.options = s(s({}, this.options), op(e)), this._keybindings = void 0, this.options.defaultMode === \"inline-math\" ? this.element.classList.add(\"ML__is-inline\") : this.element.classList.remove(\"ML__is-inline\");\n\t\tlet t = this.options.defaultMode;\n\t\tt === \"inline-math\" && (t = \"math\"), this.model.root.firstChild?.mode !== t && (this.model.root.firstChild.mode = t), this.options.readOnly && this.hasFocus() && window.mathVirtualKeyboard.visible && this.executeCommand(\"hideVirtualKeyboard\");\n\t\tlet n = F.serialize([this.model.root], {\n\t\t\texpandMacro: !1,\n\t\t\tdefaultMode: this.options.defaultMode\n\t\t});\n\t\t(\"macros\" in e || this.model.getValue() !== n) && nf(this), (\"value\" in e || \"registers\" in e || \"colorMap\" in e || \"backgroundColorMap\" in e || \"letterShapeStyle\" in e || \"minFontScale\" in e || \"maxMatrixCols\" in e || \"readOnly\" in e || \"contentPlaceholder\" in e || \"placeholderSymbol\" in e) && H(this);\n\t}\n\tgetOptions(e) {\n\t\treturn sp(this.options, e);\n\t}\n\tgetOption(e) {\n\t\treturn sp(this.options, e);\n\t}\n\tasync handleEvent(e) {\n\t\tvar t, n;\n\t\tif (kc(this)) {\n\t\t\tif (gf(e)) {\n\t\t\t\tif (!zc(e.origin, this.options.originValidator ?? \"none\")) throw new DOMException(`Message from unknown origin (${e.origin}) cannot be handled`, \"SecurityError\");\n\t\t\t\tlet { action: t } = e.data;\n\t\t\t\tif (t === \"execute-command\") {\n\t\t\t\t\tlet t = mf(e.data.command);\n\t\t\t\t\tif (!t || lf(t) === \"virtual-keyboard\") return;\n\t\t\t\t\tthis.executeCommand(t);\n\t\t\t\t} else t === \"update-state\" || (t === \"focus\" ? this.focus({ preventScroll: !0 }) : t === \"blur\" && this.blur());\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tswitch (e.type) {\n\t\t\t\tcase \"focus\":\n\t\t\t\t\tthis.programmaticFocusInProgress || this.onFocus({ suppressEvents: !0 });\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"blur\":\n\t\t\t\t\tthis.onBlur({ dispatchEvents: !1 });\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"mousedown\":\n\t\t\t\t\tthis.userSelect !== \"none\" && !((t = e.target) != null && t.closest(\"[part=virtual-keyboard-toggle],[part=menu-toggle]\")) && km(this, e);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"pointerdown\":\n\t\t\t\t\t!e.defaultPrevented && this.userSelect !== \"none\" && !((n = e.target) != null && n.closest(\"[part=virtual-keyboard-toggle],[part=menu-toggle]\")) && (km(this, e), e.shiftKey === !1 && await Lh(e, this.container, this.menu) && Tm.stop());\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"contextmenu\":\n\t\t\t\t\tthis.userSelect !== \"none\" && e.shiftKey === !1 && await Lh(e, this.container, this.menu) && Tm.stop();\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"virtual-keyboard-toggle\":\n\t\t\t\t\tthis.hasFocus() && lh(this), this.hasFocus() && this.options.mathVirtualKeyboardPolicy !== \"manual\" && (this.focusBlurInProgress = !0, this.keyboardDelegate.blur(), this.keyboardDelegate.focus(), this.focusBlurInProgress = !1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"resize\":\n\t\t\t\t\tthis.geometryChangeTimer && cancelAnimationFrame(this.geometryChangeTimer), this.geometryChangeTimer = requestAnimationFrame(() => kc(this) && this.onGeometryChange());\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"scroll\":\n\t\t\t\t\tthis.geometryChangeTimer && cancelAnimationFrame(this.geometryChangeTimer), this.geometryChangeTimer = requestAnimationFrame(() => kc(this) && this.onGeometryChange());\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"wheel\":\n\t\t\t\t\tthis.onWheel(e);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"message\": break;\n\t\t\t\tdefault: console.warn(\"Unexpected event type\", e.type);\n\t\t\t}\n\t\t}\n\t}\n\tupdateToggleLayout() {\n\t\tif (!this.element || !this.host) return;\n\t\tlet e = this.element.querySelector(\".ML__toggles\");\n\t\tif (!e) return;\n\t\tlet t = this.host.offsetHeight, n = e.classList.contains(\"ML__toggles--vertical\");\n\t\tt >= 100 && !n ? e.classList.add(\"ML__toggles--vertical\") : t < 100 && n && e.classList.remove(\"ML__toggles--vertical\");\n\t}\n\tdispose() {\n\t\tif (!kc(this)) return;\n\t\tS.unsubscribe(this._l10Subscription), this.keyboardDelegate.dispose(), this.keyboardDelegate = void 0, this.eventController.abort(), this.eventController = void 0, this.resizeObserver.disconnect(), window.mathVirtualKeyboard.removeEventListener(\"virtual-keyboard-toggle\", this), this.disconnectFromVirtualKeyboard(), this.model.dispose();\n\t\tlet e = this.element;\n\t\tdelete e.mathfield, this.element = void 0, this.host = void 0, this.field = void 0, this.ariaLiveText = void 0, lm(), Vd(), ch();\n\t}\n\tflushInlineShortcutBuffer(e) {\n\t\tif (e ?? (e = { defer: !1 }), !e.defer) {\n\t\t\tthis.inlineShortcutBuffer.length = 0, clearTimeout(this.inlineShortcutBufferFlushTimer), this.inlineShortcutBufferFlushTimer = 0;\n\t\t\treturn;\n\t\t}\n\t\tthis.options.inlineShortcutTimeout > 0 && (clearTimeout(this.inlineShortcutBufferFlushTimer), this.inlineShortcutBufferFlushTimer = setTimeout(() => this.flushInlineShortcutBuffer(), this.options.inlineShortcutTimeout));\n\t}\n\texecuteCommand(e) {\n\t\treturn lf(e) === \"virtual-keyboard\" ? (this.focus({ preventScroll: !0 }), window.mathVirtualKeyboard.executeCommand(e), requestAnimationFrame(() => window.mathVirtualKeyboard.update(Um(this))), !1) : uf(this, e);\n\t}\n\tget errors() {\n\t\treturn $l(this.model.getValue(), { context: this.context });\n\t}\n\tgetValue(e, t, n) {\n\t\treturn this.model.getValue(e, t, n);\n\t}\n\tsetValue(e, t) {\n\t\tt = t ?? { mode: \"math\" }, t.insertionMode === void 0 && (t.insertionMode = \"replaceAll\"), (t.format === void 0 || t.format === \"auto\") && (t.format = \"latex\"), (t.mode === void 0 || t.mode === \"auto\") && (t.mode = dc(this.model, this.model.position) ?? \"math\");\n\t\tlet n = this.undoManager.canUndo();\n\t\tI.insert(this.model, e, t) && (H(this), n || this.undoManager.reset(), this.undoManager.snapshot(\"set-value\"));\n\t}\n\tget expression() {\n\t\tlet e = globalThis.MathfieldElement.computeEngine;\n\t\treturn e ? e.box(e.parse(this.model.getValue(\"latex-unstyled\"))) : (console.error(\"MathLive 0.110.0: no compute engine available. Make sure the Compute Engine library is loaded.\"), null);\n\t}\n\tscrollIntoView() {\n\t\tvar e;\n\t\tif (!this.element) return;\n\t\tif (this.host) {\n\t\t\tif (this.options.onScrollIntoView) this.options.onScrollIntoView(this);\n\t\t\telse if (this.host.scrollIntoView({\n\t\t\t\tblock: \"nearest\",\n\t\t\t\tinline: \"nearest\"\n\t\t\t}), window.mathVirtualKeyboard.visible && window.mathVirtualKeyboard.container === window.document.body) {\n\t\t\t\tlet t = window.mathVirtualKeyboard.boundingRect, n = this.host.getBoundingClientRect();\n\t\t\t\tn.bottom > t.top && ((e = window.document.scrollingElement) == null || e.scrollBy(0, n.bottom - t.top + 8));\n\t\t\t}\n\t\t}\n\t\tthis.dirty && $d(this, { interactive: !0 });\n\t\tlet t = this.field.getBoundingClientRect(), n = null;\n\t\tif (this.model.selectionIsCollapsed) n = jc(this.field);\n\t\telse {\n\t\t\tlet e = Rc(this);\n\t\t\tif (e.length > 0) {\n\t\t\t\tlet r = -1 / 0, i = 1 / 0, a = -1 / 0;\n\t\t\t\tfor (let t of e) t.right > r && (r = t.right), t.top < i && (i = t.top), t.bottom > a && (a = t.bottom);\n\t\t\t\tlet o = a - i;\n\t\t\t\tn = {\n\t\t\t\t\tx: r + t.left - this.field.scrollLeft,\n\t\t\t\t\ty: i + t.top - this.field.scrollTop,\n\t\t\t\t\theight: o\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t\tif (this.host && n) {\n\t\t\tlet e = this.host.getBoundingClientRect(), t = n.y, r = n.y + n.height, i = this.host.scrollTop;\n\t\t\tt < e.top + 20 ? i = t - e.top + this.host.scrollTop - 20 : r > e.bottom - 20 && (i = r - e.bottom + this.host.scrollTop + 20), i !== this.host.scrollTop && this.host.scroll({\n\t\t\t\ttop: i,\n\t\t\t\tbehavior: \"auto\"\n\t\t\t});\n\t\t}\n\t\tif (n) {\n\t\t\tlet e = n.x - window.scrollX, r = this.field.scrollLeft;\n\t\t\te < t.left ? r = e - t.left + this.field.scrollLeft - 20 : e > t.right && (r = e - t.right + this.field.scrollLeft + 20), this.field.scroll({\n\t\t\t\ttop: this.field.scrollTop,\n\t\t\t\tleft: r\n\t\t\t});\n\t\t}\n\t}\n\tinsert(e, t) {\n\t\tif (typeof e != \"string\" || e.length === 0 && (t?.insertionMode === \"insertBefore\" || t?.insertionMode === \"insertAfter\") || e.length === 0 && this.model.selectionIsCollapsed) return !1;\n\t\tif (this.flushInlineShortcutBuffer(), t = t ?? { mode: \"math\" }, t.focus && this.focus(), t.feedback && (globalThis.MathfieldElement.keypressVibration && m() && navigator.vibrate(af), globalThis.MathfieldElement.playSound(\"keypress\")), e === \"\\\\\\\\\") yp(this.model);\n\t\telse if (e === \"&\") xp(this.model);\n\t\telse if (this.model.selectionIsCollapsed) {\n\t\t\tlet n = s({}, Ed(this));\n\t\t\t!/^[a-zA-Z0-9]$/.test(e) && this.styleBias !== \"none\" && (n.variant = \"normal\", n.variantStyle = void 0), I.insert(this.model, e, s({ style: n }, t));\n\t\t} else I.insert(this.model, e, t);\n\t\treturn this.snapshot(`insert-${this.model.at(this.model.position).type}`), H(this), t.scrollIntoView && this.scrollIntoView(), !0;\n\t}\n\tswitchMode(e, t = \"\", n = \"\") {\n\t\tif (this.model.mode === e || !this.hasEditableContent || !this.contentEditable || this.disabled) return;\n\t\tlet { model: r } = this, i = r.mode;\n\t\tif (r.mode = e, this.host && !this.host.dispatchEvent(new Event(\"mode-change\", {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0,\n\t\t\tcancelable: !0\n\t\t}))) {\n\t\t\tr.mode = i;\n\t\t\treturn;\n\t\t}\n\t\tr.mode = i, r.deferNotifications({\n\t\t\tcontent: !!n || !!t,\n\t\t\tselection: !0,\n\t\t\ttype: \"insertText\"\n\t\t}, () => {\n\t\t\tlet i = r.at(r.position), a = (e, t) => {\n\t\t\t\tif (!e) return;\n\t\t\t\tlet n = r.mode === \"math\" ? Ql(hc(e, { format: \"ascii-math\" })[1], { context: this.context }) : [...e].map((e) => new ic(e, e, {}));\n\t\t\t\tif (t.select) {\n\t\t\t\t\tlet e = i.parent.addChildrenAfter(n, i);\n\t\t\t\t\tr.setSelection(r.offsetOf(n[0].leftSibling), r.offsetOf(e));\n\t\t\t\t} else r.position = r.offsetOf(i.parent.addChildrenAfter(n, i));\n\t\t\t\tc = !0;\n\t\t\t}, o = (e, t) => {\n\t\t\t\tlet n = new fu(e);\n\t\t\t\ti.parent.addChildAfter(n, i), t.select ? r.setSelection(r.offsetOf(n.firstChild), r.offsetOf(n.lastChild)) : r.position = r.offsetOf(n.lastChild), c = !0;\n\t\t\t}, s = () => {\n\t\t\t\tlet t = e === \"latex\" ? \"latex\" : e === \"math\" ? \"plain-text\" : \"ascii-math\", a = sc(r.selection), o = this.model.getValue(a, t), s = this.model.extractAtoms(a);\n\t\t\t\treturn s.length === 1 && s[0].type === \"placeholder\" && (o = n), i = r.at(a[0]), o;\n\t\t\t}, c = !1;\n\t\t\tif (this.flushInlineShortcutBuffer(), this.stopCoalescingUndo(), jd(this, \"accept\"), r.selectionIsCollapsed) a(t, { select: !1 }), r.mode = e, e === \"latex\" ? o(n, { select: !1 }) : a(n, { select: !1 });\n\t\t\telse {\n\t\t\t\tlet t = s();\n\t\t\t\tr.mode = e, e === \"latex\" ? o(t, { select: !0 }) : a(t, { select: !0 });\n\t\t\t}\n\t\t\treturn H(this), this.undoManager.snapshot(e === \"latex\" ? \"insert-latex\" : \"insert\"), c;\n\t\t}), r.mode = e, window.mathVirtualKeyboard.update(Um(this));\n\t}\n\thasFocus() {\n\t\treturn !this.blurred;\n\t}\n\tfocus(e) {\n\t\tvar t;\n\t\tthis.disabled || this.focusBlurInProgress || (this.hasFocus() || (this.programmaticFocusInProgress = !0, this.onFocus(), this.model.announce(\"line\")), (t = e?.preventScroll) != null && t || this.scrollIntoView());\n\t}\n\tblur() {\n\t\tthis.disconnectFromVirtualKeyboard(), this.hasFocus() && this.keyboardDelegate.blur();\n\t}\n\tselect() {\n\t\tthis.model.selection = { ranges: [[0, this.model.lastOffset]] }, this.focus();\n\t}\n\tapplyStyle(e, t = {}) {\n\t\tlet n, r = \"set\", i = !1;\n\t\tlc(t) ? n = t : (t.operation === \"toggle\" && (r = \"toggle\"), n = t.range, i = t.silenceNotifications ?? !1), n && (n = this.model.normalizeRange(n)), n && n[0] === n[1] && (n = void 0);\n\t\tlet a = wd(this, e);\n\t\tif (n === void 0 && this.model.selectionIsCollapsed) {\n\t\t\tif (r === \"set\") {\n\t\t\t\tlet e = s({}, this.defaultStyle);\n\t\t\t\t\"color\" in a && delete e.verbatimColor, \"backgroundColor\" in a && delete e.verbatimBackgroundColor, this.defaultStyle = s(s({}, e), a), this.styleBias = \"none\";\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tlet e = Ed(this), t = s({}, this.defaultStyle);\n\t\t\tfor (let n of Object.keys(a)) e[n] === a[n] ? (n === \"color\" && delete t.verbatimColor, n === \"backgroundColor\" && delete t.verbatimBackgroundColor, delete t[n]) : t[n] = a[n];\n\t\t\tthis.defaultStyle = t, this.styleBias = \"none\";\n\t\t\treturn;\n\t\t}\n\t\tthis.model.deferNotifications({\n\t\t\tcontent: !i,\n\t\t\ttype: \"insertText\"\n\t\t}, () => {\n\t\t\tif (n === void 0) for (let e of this.model.selection.ranges) Mu(this.model, e, a, { operation: r });\n\t\t\telse Mu(this.model, n, a, { operation: r });\n\t\t}), H(this);\n\t}\n\ttoggleContextMenu() {\n\t\tlet e = this.menu;\n\t\tif (!e.visible) return !1;\n\t\tif (e.state === \"open\") return e.hide(), !0;\n\t\tlet t = Vc(this, this.model.position)?.bounds;\n\t\tif (!t) return !1;\n\t\tlet n = {\n\t\t\tx: t.right,\n\t\t\ty: t.bottom\n\t\t};\n\t\treturn e.show({\n\t\t\ttarget: this.element.querySelector(\"[part=container]\"),\n\t\t\tlocation: n,\n\t\t\tonDismiss: () => this.element?.focus()\n\t\t}), !0;\n\t}\n\tgetPrompt(e) {\n\t\treturn this.model.findAtom((t) => t.type === \"prompt\" && t.placeholderId === e);\n\t}\n\tgetPromptValue(e, t) {\n\t\tlet n = this.getPrompt(e);\n\t\tif (!n) return \"\";\n\t\tlet r = this.model.offsetOf(n.firstChild), i = this.model.offsetOf(n.lastChild);\n\t\treturn this.model.getValue(r, i, t);\n\t}\n\tgetPrompts(e) {\n\t\treturn this.model.atoms.filter((t) => t.type === \"prompt\" ? !e || !(e.id && t.placeholderId !== e.id || e.locked && t.locked !== e.locked || e.correctness === \"undefined\" && t.correctness || e.correctness && t.correctness !== e.correctness) : !1).map((e) => e.placeholderId);\n\t}\n\tsetPromptValue(e, t, n) {\n\t\tif (t !== void 0) {\n\t\t\tlet r = this.getPrompt(e);\n\t\t\tif (!r) {\n\t\t\t\tconsole.error(`MathLive 0.110.0: unknown prompt ${e}`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tlet i = this.model.getBranchRange(this.model.offsetOf(r), \"body\");\n\t\t\tthis.model.setSelection(i), this.insert(t, c(s({}, n), { insertionMode: \"replaceSelection\" }));\n\t\t}\n\t\tn != null && n.silenceNotifications && (this.valueOnFocus = this.getValue()), H(this);\n\t}\n\tsetPromptState(e, t, n) {\n\t\tlet r = this.getPrompt(e);\n\t\tif (!r) {\n\t\t\tconsole.error(`MathLive 0.110.0: unknown prompt ${e}`);\n\t\t\treturn;\n\t\t}\n\t\tt === \"undefined\" ? r.correctness = void 0 : typeof t == \"string\" && (r.correctness = t), typeof n == \"boolean\" && (r.locked = n, r.captureSelection = n), H(this);\n\t}\n\tgetPromptState(e) {\n\t\tlet t = this.getPrompt(e);\n\t\treturn t ? [t.correctness, t.locked] : (console.error(`MathLive 0.110.0: unknown prompt ${e}`), [void 0, !0]);\n\t}\n\tgetPromptRange(e) {\n\t\tlet t = this.getPrompt(e);\n\t\treturn t ? this.model.getBranchRange(this.model.offsetOf(t), \"body\") : (console.error(`MathLive 0.110.0: unknown prompt ${e}`), [0, 0]);\n\t}\n\tcanUndo() {\n\t\treturn this.undoManager.canUndo();\n\t}\n\tcanRedo() {\n\t\treturn this.undoManager.canRedo();\n\t}\n\tpopUndoStack() {\n\t\tthis.undoManager.pop(), window.mathVirtualKeyboard.visible && window.mathVirtualKeyboard.update(Um(this));\n\t}\n\tsnapshot(e) {\n\t\tvar t;\n\t\tthis.undoManager.snapshot(e) && (window.mathVirtualKeyboard.visible && window.mathVirtualKeyboard.update(Um(this)), (t = this.host) == null || t.dispatchEvent(new CustomEvent(\"undo-state-change\", {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0,\n\t\t\tdetail: { type: \"snapshot\" }\n\t\t})));\n\t}\n\tstopCoalescingUndo() {\n\t\tthis.undoManager.stopCoalescing(this.model.selection);\n\t}\n\tstopRecording() {\n\t\tthis.undoManager.stopRecording();\n\t}\n\tstartRecording() {\n\t\tthis.undoManager.startRecording();\n\t}\n\tundo() {\n\t\tvar e;\n\t\tthis.undoManager.undo() && ((e = this.host) == null || e.dispatchEvent(new CustomEvent(\"undo-state-change\", {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0,\n\t\t\tdetail: { type: \"undo\" }\n\t\t})));\n\t}\n\tredo() {\n\t\tvar e;\n\t\tthis.undoManager.redo() && ((e = this.host) == null || e.dispatchEvent(new CustomEvent(\"undo-state-change\", {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0,\n\t\t\tdetail: { type: \"redo\" }\n\t\t})));\n\t}\n\tresetUndo() {\n\t\tvar e;\n\t\t(e = this.undoManager) == null || e.reset();\n\t}\n\tonSelectionDidChange() {\n\t\tvar e;\n\t\tlet t = this.model;\n\t\tif (t.mathfield.hasFocus() && this.keyboardDelegate.setValue(t.getValue(t.selection, \"latex-expanded\")), t.selectionIsCollapsed) {\n\t\t\tlet e = bd(t), n = t.position, r = t.at(n), i = r.mode ?? lp(this.options);\n\t\t\tif (e && (n < t.offsetOf(e.firstChild) || n > t.offsetOf(e.lastChild))) {\n\t\t\t\tjd(this, \"accept\", { mode: i });\n\t\t\t\tlet e = t.offsetOf(r);\n\t\t\t\te >= 0 && (t.position = e);\n\t\t\t} else {\n\t\t\t\tlet r = t.at(n + 1);\n\t\t\t\tr?.type === \"first\" && r.mode === \"latex\" ? t.position = n + 1 : e && r?.mode !== \"latex\" ? t.position = n - 1 : this.switchMode(i);\n\t\t\t}\n\t\t}\n\t\t(e = this.host) == null || e.dispatchEvent(new Event(\"selection-change\", {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t})), window.mathVirtualKeyboard.visible && window.mathVirtualKeyboard.update(Um(this)), lh(this);\n\t}\n\tonContentWillChange(e) {\n\t\treturn this.host?.dispatchEvent(new InputEvent(\"beforeinput\", c(s({}, e), {\n\t\t\tdata: e.data ? e.data : e.inputType ?? \"\",\n\t\t\tcancelable: !0,\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t}))) ?? !0;\n\t}\n\tonFocus(t) {\n\t\tif (this.disabled || this.focusBlurInProgress || !this.blurred) return;\n\t\tlet n = e._globallyFocusedMathfield;\n\t\tn && n !== this && !n.disabled && n.hasFocus() && n.onBlur({ dispatchEvents: !0 }), this.focusBlurInProgress = !0, this.blurred = !1, e._globallyFocusedMathfield = this, this.stopCoalescingUndo(), this.valueOnFocus = this.model.getValue(), this.hasEditablePrompts && !this.model.at(this.model.anchor).parentPrompt && this.executeCommand(\"moveToNextPlaceholder\"), $d(this, { interactive: !0 }), setTimeout(() => {\n\t\t\tvar e;\n\t\t\tif (kc(this)) {\n\t\t\t\tif (t?.suppressEvents ?? !1) {\n\t\t\t\t\tlet t = new AbortController(), n = t.signal, r = (e) => {\n\t\t\t\t\t\te.preventDefault(), e.stopPropagation();\n\t\t\t\t\t};\n\t\t\t\t\tfor (let t of [\"focus\", \"focusin\"]) (e = this.host) == null || e.addEventListener(t, r, {\n\t\t\t\t\t\tcapture: !0,\n\t\t\t\t\t\tsignal: n\n\t\t\t\t\t});\n\t\t\t\t\tthis.focusBlurInProgress = !1, this.keyboardDelegate.focus(), this.connectToVirtualKeyboard(), setTimeout(() => t.abort(), 0);\n\t\t\t\t} else this.focusBlurInProgress = !1, this.keyboardDelegate.focus(), this.connectToVirtualKeyboard(), setTimeout(() => {\n\t\t\t\t\tthis.programmaticFocusInProgress = !1;\n\t\t\t\t}, 0);\n\t\t\t}\n\t\t}, 60);\n\t}\n\tonBlur(t) {\n\t\tvar n, r, i;\n\t\tif (!(this.focusBlurInProgress || this.blurred) && (this.focusBlurInProgress = !0, this.stopCoalescingUndo(), this.blurred = !0, e._globallyFocusedMathfield === this && (e._globallyFocusedMathfield = void 0), this.ariaLiveText && (this.ariaLiveText.textContent = \"\"), zd(this), this.model.getValue() !== this.valueOnFocus && ((n = this.host) == null || n.dispatchEvent(new Event(\"change\", {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t}))), this.disconnectFromVirtualKeyboard(), (t?.dispatchEvents ?? !0) && ((r = this.host) == null || r.dispatchEvent(new Event(\"blur\", {\n\t\t\tbubbles: !1,\n\t\t\tcomposed: !0\n\t\t})), (i = this.host) == null || i.dispatchEvent(new UIEvent(\"focusout\", {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t}))), H(this), this.focusBlurInProgress = !1, sh(), P_.restoreFocusWhenDocumentFocused)) {\n\t\t\tlet e = new AbortController(), t = e.signal;\n\t\t\twindow.addEventListener(\"blur\", () => {\n\t\t\t\twindow.addEventListener(\"focus\", () => {\n\t\t\t\t\tkc(this) && this.focus({ preventScroll: !0 });\n\t\t\t\t}, {\n\t\t\t\t\tonce: !0,\n\t\t\t\t\tsignal: t\n\t\t\t\t});\n\t\t\t}, {\n\t\t\t\tonce: !0,\n\t\t\t\tsignal: t\n\t\t\t}), document.addEventListener(\"focusin\", () => e.abort(), { once: !0 }), document.addEventListener(\"click\", () => e.abort(), { once: !0 });\n\t\t}\n\t}\n\tonInput(e) {\n\t\tmm(this, e);\n\t}\n\tonKeystroke(e) {\n\t\treturn um(this, e);\n\t}\n\tonCompositionStart(e) {\n\t\tNp(this.model, sc(this.model.selection), \"insertText\");\n\t\tlet t = jc(this.field);\n\t\tt && requestAnimationFrame(() => {\n\t\t\t$d(this), this.keyboardDelegate.moveTo(t.x, t.y - t.height);\n\t\t});\n\t}\n\tonCompositionUpdate(e) {\n\t\tup(this.model, e), H(this);\n\t}\n\tonCompositionEnd(e) {\n\t\tdp(this.model), mm(this, e, { simulateKeystroke: !0 });\n\t}\n\tonCut(e) {\n\t\tif (!this.isSelectionEditable) {\n\t\t\tthis.model.announce(\"plonk\");\n\t\t\treturn;\n\t\t}\n\t\tthis.model.contentWillChange({ inputType: \"deleteByCut\" }) && (this.stopCoalescingUndo(), e.clipboardData ? I.onCopy(this, e) : I.copyToClipboard(this, \"latex\"), Np(this.model, sc(this.model.selection), \"deleteByCut\"), this.snapshot(\"cut\"), H(this));\n\t}\n\tonCopy(e) {\n\t\te.clipboardData ? I.onCopy(this, e) : I.copyToClipboard(this, \"latex\");\n\t}\n\tonPaste(e) {\n\t\tlet t = this.isSelectionEditable;\n\t\treturn t && (t = I.onPaste(this.model.at(this.model.position).mode, this, e.clipboardData)), t || this.model.announce(\"plonk\"), e.preventDefault(), e.stopPropagation(), t;\n\t}\n\tonGeometryChange() {\n\t\tvar e;\n\t\t(e = this._menu) == null || e.hide(), Rd(this), lh(this);\n\t}\n\tonWheel(e) {\n\t\tlet t = 5 * e.deltaX;\n\t\tif (!Number.isFinite(t) || t === 0) return;\n\t\tlet n = this.field;\n\t\tt < 0 && n.scrollLeft === 0 || t > 0 && n.offsetWidth + n.scrollLeft >= n.scrollWidth || (n.scrollBy({\n\t\t\ttop: 0,\n\t\t\tleft: t\n\t\t}), e.preventDefault(), e.stopPropagation());\n\t}\n\tgetHTMLElement(e) {\n\t\tlet t = e;\n\t\tfor (; !t.id && t.hasChildren;) t = e.children[0];\n\t\treturn this.field.querySelector(`[data-atom-id=\"${t.id}\"]`);\n\t}\n\tget context() {\n\t\treturn {\n\t\t\tregisters: this.options.registers ?? {},\n\t\t\tsmartFence: this.smartFence,\n\t\t\tletterShapeStyle: this.letterShapeStyle,\n\t\t\tminFontScale: this.minFontScale,\n\t\t\tmaxMatrixCols: this.maxMatrixCols,\n\t\t\tplaceholderSymbol: this.options.placeholderSymbol ?? \"▢\",\n\t\t\tcolorMap: (e) => this.colorMap(e),\n\t\t\tbackgroundColorMap: (e) => this.backgroundColorMap(e),\n\t\t\tgetMacro: (e) => pt(e, this.options.macros),\n\t\t\tatomIdsSettings: {\n\t\t\t\tseed: \"random\",\n\t\t\t\tgroupNumbers: !1\n\t\t\t}\n\t\t};\n\t}\n};\nsf({ speak: (e, t, n) => C_(e, t, n) }, { target: \"mathfield\" });\nfunction C_(e, t, n) {\n\tvar r;\n\tn = n ?? { withHighlighting: !1 };\n\tlet { model: i } = e;\n\tfunction a(e) {\n\t\tlet t = null;\n\t\tswitch (e) {\n\t\t\tcase \"all\":\n\t\t\t\tt = i.root;\n\t\t\t\tbreak;\n\t\t\tcase \"selection\":\n\t\t\t\tt = i.getAtoms(i.selection);\n\t\t\t\tbreak;\n\t\t\tcase \"left\":\n\t\t\t\tt = i.getAtoms(i.offsetOf(i.at(i.position).leftSibling), i.position);\n\t\t\t\tbreak;\n\t\t\tcase \"right\":\n\t\t\t\tt = i.getAtoms(i.position, i.offsetOf(i.at(i.position).rightSibling));\n\t\t\t\tbreak;\n\t\t\tcase \"group\":\n\t\t\t\tt = i.getAtoms(i.getSiblingsRange(i.position));\n\t\t\t\tbreak;\n\t\t\tcase \"parent\": {\n\t\t\t\tlet { parent: e } = i.at(i.position);\n\t\t\t\tt = e != null && e.parent ? e : i.root;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tdefault: t = i.root;\n\t\t}\n\t\treturn t;\n\t}\n\tfunction o(e) {\n\t\tlet t = \"\";\n\t\tswitch (e) {\n\t\t\tcase \"all\":\n\t\t\t\tconsole.error(\"Internal failure: speak all failed\");\n\t\t\t\tbreak;\n\t\t\tcase \"selection\":\n\t\t\t\tt = \"no selection\";\n\t\t\t\tbreak;\n\t\t\tcase \"left\":\n\t\t\t\tt = \"at start\";\n\t\t\t\tbreak;\n\t\t\tcase \"right\":\n\t\t\t\tt = \"at end\";\n\t\t\t\tbreak;\n\t\t\tcase \"group\":\n\t\t\t\tconsole.error(\"Internal failure: speak group failed\");\n\t\t\t\tbreak;\n\t\t\tcase \"parent\":\n\t\t\t\tt = \"no parent\";\n\t\t\t\tbreak;\n\t\t\tdefault: console.error(\"unknown speak_ param value: \\\"\" + e + \"\\\"\");\n\t\t}\n\t\treturn t;\n\t}\n\tlet s = globalThis.MathfieldElement, c = a(t);\n\tif (c === null) return (r = s.speakHook) == null || r.call(s, o(t)), !1;\n\t(n.withHighlighting || s.speechEngine === \"amazon\") && (s.textToSpeechMarkup = globalThis.sre && s.textToSpeechRules === \"sre\" ? \"ssml_step\" : \"ssml\");\n\tlet l = lg(c);\n\treturn d() && n.withHighlighting ? (q_().readAloudMathfield = e, $d(e, { forHighlighting: !0 }), s.readAloudHook && s.readAloudHook(e.field, l)) : s.speakHook && s.speakHook(l), !1;\n}\nfunction w_(e) {\n\tif (!d()) return;\n\tlet t = globalThis.MathfieldElement;\n\tif (!t.speechEngine || t.speechEngine === \"local\") {\n\t\tlet t = new SpeechSynthesisUtterance(e);\n\t\tglobalThis.speechSynthesis.speak(t);\n\t} else if (t.speechEngine === \"amazon\") {\n\t\tif (!(\"AWS\" in window)) console.error(\"MathLive 0.110.0: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk\");\n\t\telse {\n\t\t\tlet n = new globalThis.AWS.Polly({ apiVersion: \"2016-06-10\" }), r = {\n\t\t\t\tOutputFormat: \"mp3\",\n\t\t\t\tVoiceId: t.speechEngineVoice ?? \"Joanna\",\n\t\t\t\tEngine: [\n\t\t\t\t\t\"Amy\",\n\t\t\t\t\t\"Emma\",\n\t\t\t\t\t\"Brian\",\n\t\t\t\t\t\"Ivy\",\n\t\t\t\t\t\"Joanna\",\n\t\t\t\t\t\"Kendra\",\n\t\t\t\t\t\"Kimberly\",\n\t\t\t\t\t\"Salli\",\n\t\t\t\t\t\"Joey\",\n\t\t\t\t\t\"Justin\",\n\t\t\t\t\t\"Matthew\"\n\t\t\t\t].includes(t.speechEngineVoice ?? \"Joanna\") ? \"neural\" : \"standard\",\n\t\t\t\tText: e,\n\t\t\t\tTextType: \"ssml\"\n\t\t\t};\n\t\t\tn.synthesizeSpeech(r, (e, t) => {\n\t\t\t\tif (e) console.trace(`MathLive 0.110.0: \\`polly.synthesizeSpeech()\\` error: ${e}`);\n\t\t\t\telse if (t != null && t.AudioStream) {\n\t\t\t\t\tlet e = new Uint8Array(t.AudioStream), n = new Blob([e.buffer], { type: \"audio/mpeg\" }), r = URL.createObjectURL(n);\n\t\t\t\t\tnew Audio(r).play().catch((e) => console.error(e));\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t} else t.speechEngine === \"google\" && console.error(\"MathLive 0.110.0: The Google speech engine is not supported yet. Please come again.\");\n}\nfunction T_(e) {\n\tif (e && (e.classList.remove(\"ML__highlight\"), e.children)) for (let t of e.children) T_(t);\n}\nfunction E_(e, t) {\n\te && (!t || e.dataset?.atomId === t ? (e.classList.add(\"ML__highlight\"), e.children && e.children.length > 0 && [...e.children].forEach((e) => {\n\t\te instanceof HTMLElement && E_(e);\n\t})) : (e.classList.remove(\"ML__highlight\"), e.children && e.children.length > 0 && [...e.children].forEach((e) => {\n\t\te instanceof HTMLElement && E_(e, t);\n\t})));\n}\nfunction D_(e, t) {\n\tif (!d()) return;\n\tif (globalThis.MathfieldElement.speechEngine !== \"amazon\") {\n\t\tconsole.error(\"MathLive 0.110.0: Use Amazon TTS Engine for synchronized highlighting\"), typeof globalThis.MathfieldElement.speakHook == \"function\" && globalThis.MathfieldElement.speakHook(t);\n\t\treturn;\n\t}\n\tif (!globalThis.AWS) {\n\t\tconsole.error(\"MathLive 0.110.0: AWS SDK not loaded. See https://www.npmjs.com/package/aws-sdk\");\n\t\treturn;\n\t}\n\tlet n = new globalThis.AWS.Polly({ apiVersion: \"2016-06-10\" }), r = {\n\t\tOutputFormat: \"json\",\n\t\tVoiceId: globalThis.MathfieldElement.speechEngineVoice ?? \"Joanna\",\n\t\tEngine: \"standard\",\n\t\tText: t,\n\t\tTextType: \"ssml\",\n\t\tSpeechMarkTypes: [\"ssml\"]\n\t};\n\tq_().readAloudElement = e, n.synthesizeSpeech(r, (e, i) => {\n\t\tif (e) {\n\t\t\tconsole.trace(`MathLive 0.110.0: \\`polly.synthesizeSpeech()\\` error: ${e}`);\n\t\t\treturn;\n\t\t}\n\t\tif (!(i != null && i.AudioStream)) return;\n\t\tlet a = new TextDecoder(\"utf-8\").decode(new Uint8Array(i.AudioStream));\n\t\tq_().readAloudMarks = a.split(\"\\n\").map((e) => e ? JSON.parse(e) : {}), q_().readAloudTokens = [];\n\t\tfor (let e of q_().readAloudMarks) e.value && q_().readAloudTokens.push(e.value);\n\t\tq_().readAloudCurrentMark = \"\", r.OutputFormat = \"mp3\", r.SpeechMarkTypes = [], n.synthesizeSpeech(r, (e, n) => {\n\t\t\tif (e) {\n\t\t\t\tconsole.trace(`MathLive 0.110.0: \\`polly.synthesizeSpeech(\"${t}\") error:${e}`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!(n != null && n.AudioStream)) return;\n\t\t\tlet r = new Uint8Array(n.AudioStream), i = new Blob([r.buffer], { type: \"audio/mpeg\" }), a = URL.createObjectURL(i), o = q_();\n\t\t\to.readAloudAudio ? o.readAloudAudio.pause() : (o.readAloudAudio = new Audio(), o.readAloudAudio.addEventListener(\"ended\", () => {\n\t\t\t\tlet e = o.readAloudMathfield;\n\t\t\t\to.readAloudStatus = \"ended\", document.body.dispatchEvent(new Event(\"read-aloud-status-change\", {\n\t\t\t\t\tbubbles: !0,\n\t\t\t\t\tcomposed: !0\n\t\t\t\t})), e ? ($d(e), o.readAloudElement = null, o.readAloudMathfield = null, o.readAloudTokens = [], o.readAloudMarks = [], o.readAloudCurrentMark = \"\") : T_(o.readAloudElement);\n\t\t\t}), o.readAloudAudio.addEventListener(\"timeupdate\", () => {\n\t\t\t\tlet e = \"\", t = o.readAloudAudio.currentTime * 1e3 + 100;\n\t\t\t\tfor (let n of o.readAloudMarks) n.time < t && (e = n.value);\n\t\t\t\to.readAloudCurrentMark !== e && (o.readAloudCurrentToken = e, e && e === o.readAloudFinalToken ? o.readAloudAudio.pause() : (o.readAloudCurrentMark = e, E_(o.readAloudElement, o.readAloudCurrentMark)));\n\t\t\t})), o.readAloudAudio.src = a, o.readAloudStatus = \"playing\", document.body.dispatchEvent(new Event(\"read-aloud-status-change\", {\n\t\t\t\tbubbles: !0,\n\t\t\t\tcomposed: !0\n\t\t\t})), o.readAloudAudio.play();\n\t\t});\n\t});\n}\nd() || console.error(\"MathLive 0.110.0: this version of the MathLive library is for use in the browser. A subset of the API is available on the server side in the \\\"mathlive-ssr\\\" library. If using server side rendering (with React for example) you may want to do a dynamic import of the MathLive library inside a `useEffect()` call.\");\nvar Q = /* @__PURE__ */ new WeakMap(), O_ = .5, k_ = {\n\tletterShapeStyle: \"mf.letterShapeStyle = ...\",\n\thorizontalSpacingScale: \"Removed. Use `\\\"thinmuskip\\\"`, `\\\"medmuskip\\\"`, and `\\\"thickmuskip\\\"` registers \",\n\tmacros: \"mf.macros = ...\",\n\tregisters: \"mf.registers = ...\",\n\tbackgroundColorMap: \"mf.backgroundColorMap = ...\",\n\tcolorMap: \"mf.colorMap = ...\",\n\tenablePopover: \"mf.popoverPolicy = ...\",\n\tmathModeSpace: \"mf.mathModeSpace = ...\",\n\tplaceholderSymbol: \"mf.placeholderSymbol = ...\",\n\treadOnly: \"mf.readOnly = ...\",\n\tremoveExtraneousParentheses: \"mf.removeExtraneousParentheses = ...\",\n\tscriptDepth: \"mf.scriptDepth = ...\",\n\tsmartFence: \"mf.smartFence = ...\",\n\tsmartMode: \"mf.smartMode = ...\",\n\tsmartSuperscript: \"mf.smartSuperscript = ...\",\n\tinlineShortcutTimeout: \"mf.inlineShortcutTimeout = ...\",\n\tinlineShortcuts: \"mf.inlineShortcuts = ...\",\n\tkeybindings: \"mf.keybindings = ...\",\n\tvirtualKeyboardMode: \"mf.mathVirtualKeyboardPolicy = ...\",\n\tcustomVirtualKeyboardLayers: \"mathVirtualKeyboard.layers = ...\",\n\tcustomVirtualKeyboards: \"mathVirtualKeyboard.layouts = ...\",\n\tkeypressSound: \"mathVirtualKeyboard.keypressSound = ...\",\n\tkeypressVibration: \"mathVirtualKeyboard.keypressVibration = ...\",\n\tplonkSound: \"mathVirtualKeyboard.plonkSound = ...\",\n\tvirtualKeyboardContainer: \"mathVirtualKeyboard.container = ...\",\n\tvirtualKeyboardLayout: \"mathVirtualKeyboard.alphabeticLayout = ...\",\n\tvirtualKeyboardTheme: \"No longer supported\",\n\tvirtualKeyboardToggleGlyph: \"No longer supported\",\n\tvirtualKeyboardToolbar: \"mathVirtualKeyboard.editToolbar = ...\",\n\tvirtualKeyboards: \"Use `mathVirtualKeyboard.layouts`\",\n\tspeechEngine: \"`MathfieldElement.speechEngine`\",\n\tspeechEngineRate: \"`MathfieldElement.speechEngineRate`\",\n\tspeechEngineVoice: \"`MathfieldElement.speechEngineVoice`\",\n\ttextToSpeechMarkup: \"`MathfieldElement.textToSpeechMarkup`\",\n\ttextToSpeechRules: \"`MathfieldElement.textToSpeechRules`\",\n\ttextToSpeechRulesOptions: \"`MathfieldElement.textToSpeechRulesOptions`\",\n\treadAloudHook: \"`MathfieldElement.readAloudHook`\",\n\tspeakHook: \"`MathfieldElement.speakHook`\",\n\tcomputeEngine: \"`MathfieldElement.computeEngine`\",\n\tfontsDirectory: \"`MathfieldElement.fontsDirectory`\",\n\tsoundsDirectory: \"`MathfieldElement.soundsDirectory`\",\n\tcreateHTML: \"`MathfieldElement.createHTML`\",\n\tonExport: \"`mf.onExport`\",\n\tonInlineShortcut: \"`mf.onInlineShortcut`\",\n\tonScrollIntoView: \"`mf.onScrollIntoView`\",\n\tlocale: \"MathfieldElement.locale = ...\",\n\tstrings: \"MathfieldElement.strings = ...\",\n\tdecimalSeparator: \"MathfieldElement.decimalSeparator = ...\",\n\tfractionNavigationOrder: \"MathfieldElement.fractionNavigationOrder = ...\"\n}, $ = class e extends HTMLElement {\n\tconstructor(e) {\n\t\tif (super(), this._observer = null, e) {\n\t\t\tlet t = [];\n\t\t\tfor (let n of Object.keys(e)) if (k_[n]) {\n\t\t\t\tif (k_[n].startsWith(\"mf.\")) {\n\t\t\t\t\tif (k_[n].startsWith(`mf.${n}`)) t.push(`Option \\`${n}\\` cannot be used as a constructor option. Use ${k_[n]}`);\n\t\t\t\t\telse {\n\t\t\t\t\t\tlet e = k_[n].match(/([a-zA-Z]+) =/);\n\t\t\t\t\t\tt.push(`Option \\`${n}\\` has been renamed \\`${e[1]}\\``);\n\t\t\t\t\t}\n\t\t\t\t} else t.push(`Option \\`${n}\\` cannot be used as a constructor option. Use ${k_[n]}`);\n\t\t\t}\n\t\t\tif (t.length > 0) {\n\t\t\t\tconsole.group(\"%cMathLive 0.110.0: %cInvalid Options\", \"color:#12b; font-size: 1.1rem\", \"color:#db1111; font-size: 1.1rem\"), console.warn(\"Some of the options passed to `new MathfieldElement(...)` are invalid. \\n See mathfield/changelog/ for details.\");\n\t\t\t\tfor (let e of t) console.warn(e);\n\t\t\t\tconsole.groupEnd();\n\t\t\t}\n\t\t}\n\t\tif (N_() && (this._internals = this.attachInternals(), this._internals.role = \"math\", this._internals.ariaLabel = \"math input field\", this._internals.ariaMultiLine = \"false\"), this.attachShadow({\n\t\t\tmode: \"open\",\n\t\t\tdelegatesFocus: !0\n\t\t}), this.shadowRoot && \"adoptedStyleSheets\" in this.shadowRoot) {\n\t\t\tthis.shadowRoot.adoptedStyleSheets = [\n\t\t\t\t$c(\"core\"),\n\t\t\t\t$c(\"mathfield\"),\n\t\t\t\t$c(\"mathfield-element\"),\n\t\t\t\t$c(\"ui\"),\n\t\t\t\t$c(\"menu\")\n\t\t\t], this.shadowRoot.appendChild(document.createElement(\"span\"));\n\t\t\tlet e = document.createElement(\"slot\");\n\t\t\te.style.display = \"none\", this.shadowRoot.appendChild(e);\n\t\t} else this.shadowRoot.innerHTML = \"<style>\" + Qc(\"core\") + Qc(\"mathfield\") + Qc(\"mathfield-element\") + Qc(\"ui\") + Qc(\"menu\") + \"</style><span></span><slot style=\\\"display:none\\\"></slot>\";\n\t\te && this._setOptions(e);\n\t}\n\tstatic get formAssociated() {\n\t\treturn N_();\n\t}\n\tstatic get optionsAttributes() {\n\t\treturn {\n\t\t\t\"default-mode\": \"string\",\n\t\t\t\"letter-shape-style\": \"string\",\n\t\t\t\"min-font-scale\": \"number\",\n\t\t\t\"max-matrix-cols\": \"number\",\n\t\t\t\"popover-policy\": \"string\",\n\t\t\t\"math-mode-space\": \"string\",\n\t\t\t\"read-only\": \"boolean\",\n\t\t\t\"remove-extraneous-parentheses\": \"on/off\",\n\t\t\t\"smart-fence\": \"on/off\",\n\t\t\t\"smart-mode\": \"on/off\",\n\t\t\t\"smart-superscript\": \"on/off\",\n\t\t\t\"inline-shortcut-timeout\": \"string\",\n\t\t\t\"script-depth\": \"string\",\n\t\t\tplaceholder: \"string\",\n\t\t\t\"virtual-keyboard-target-origin\": \"string\",\n\t\t\t\"math-virtual-keyboard-policy\": \"string\"\n\t\t};\n\t}\n\tstatic get observedAttributes() {\n\t\treturn [\n\t\t\t...Object.keys(this.optionsAttributes),\n\t\t\t\"contenteditable\",\n\t\t\t\"disabled\",\n\t\t\t\"readonly\",\n\t\t\t\"read-only\"\n\t\t];\n\t}\n\tstatic get fontsDirectory() {\n\t\treturn this._fontsDirectory;\n\t}\n\tstatic set fontsDirectory(e) {\n\t\te !== this._fontsDirectory && (this._fontsDirectory = e, Jd());\n\t}\n\tget fontsDirectory() {\n\t\tthrow Error(\"Use MathfieldElement.fontsDirectory instead\");\n\t}\n\tset fontsDirectory(e) {\n\t\tthrow Error(\"Use MathfieldElement.fontsDirectory instead\");\n\t}\n\tstatic get soundsDirectory() {\n\t\treturn this._soundsDirectory;\n\t}\n\tstatic set soundsDirectory(e) {\n\t\tthis._soundsDirectory = e, this.audioBuffers = {};\n\t}\n\tget soundsDirectory() {\n\t\tthrow Error(\"Use MathfieldElement.soundsDirectory instead\");\n\t}\n\tset soundsDirectory(e) {\n\t\tthrow Error(\"Use MathfieldElement.soundsDirectory instead\");\n\t}\n\tstatic get keypressSound() {\n\t\treturn this._keypressSound;\n\t}\n\tstatic set keypressSound(e) {\n\t\tthis.audioBuffers = {}, e === null ? this._keypressSound = {\n\t\t\tspacebar: null,\n\t\t\treturn: null,\n\t\t\tdelete: null,\n\t\t\tdefault: null\n\t\t} : typeof e == \"string\" ? this._keypressSound = {\n\t\t\tspacebar: e,\n\t\t\treturn: e,\n\t\t\tdelete: e,\n\t\t\tdefault: e\n\t\t} : typeof e == \"object\" && \"default\" in e && (this._keypressSound = {\n\t\t\tspacebar: e.spacebar ?? e.default,\n\t\t\treturn: e.return ?? e.default,\n\t\t\tdelete: e.delete ?? e.default,\n\t\t\tdefault: e.default\n\t\t});\n\t}\n\tstatic get plonkSound() {\n\t\treturn this._plonkSound;\n\t}\n\tstatic set plonkSound(e) {\n\t\tthis.audioBuffers = {}, this._plonkSound = e;\n\t}\n\tstatic get audioContext() {\n\t\treturn this._audioContext || (this._audioContext = new AudioContext()), this._audioContext;\n\t}\n\tstatic get speechEngine() {\n\t\treturn this._speechEngine;\n\t}\n\tstatic set speechEngine(e) {\n\t\tthis._speechEngine = e;\n\t}\n\tstatic get speechEngineRate() {\n\t\treturn this._speechEngineRate;\n\t}\n\tstatic set speechEngineRate(e) {\n\t\tthis._speechEngineRate = e;\n\t}\n\tstatic get speechEngineVoice() {\n\t\treturn this._speechEngineVoice;\n\t}\n\tstatic set speechEngineVoice(e) {\n\t\tthis._speechEngineVoice = e;\n\t}\n\tstatic get textToSpeechMarkup() {\n\t\treturn this._textToSpeechMarkup;\n\t}\n\tstatic set textToSpeechMarkup(e) {\n\t\tthis._textToSpeechMarkup = e;\n\t}\n\tstatic get textToSpeechRules() {\n\t\treturn this._textToSpeechRules;\n\t}\n\tstatic set textToSpeechRules(e) {\n\t\tthis._textToSpeechRules = e;\n\t}\n\tstatic get textToSpeechRulesOptions() {\n\t\treturn this._textToSpeechRulesOptions;\n\t}\n\tstatic set textToSpeechRulesOptions(e) {\n\t\tthis._textToSpeechRulesOptions = e;\n\t}\n\tstatic get locale() {\n\t\treturn S.locale;\n\t}\n\tstatic set locale(e) {\n\t\te === \"auto\" && (e = navigator.language.slice(0, 5)), S.locale = e;\n\t}\n\tget locale() {\n\t\tthrow Error(\"Use MathfieldElement.locale instead\");\n\t}\n\tset locale(e) {\n\t\tthrow Error(\"Use MathfieldElement.locale instead\");\n\t}\n\tstatic get strings() {\n\t\treturn S.strings;\n\t}\n\tstatic set strings(e) {\n\t\tS.merge(e);\n\t}\n\tget strings() {\n\t\tthrow Error(\"Use MathfieldElement.strings instead\");\n\t}\n\tset strings(e) {\n\t\tthrow Error(\"Use MathfieldElement.strings instead\");\n\t}\n\tstatic get decimalSeparator() {\n\t\treturn this._decimalSeparator;\n\t}\n\tstatic set decimalSeparator(e) {\n\t\tthis._decimalSeparator = e, this._computeEngine && console.warn(\"MathLive 0.110.0: setting MathfieldElement.decimalSeparator after the Compute Engine has been created has no effect on the engine. Reassign MathfieldElement.computeEngine with a freshly configured instance to apply the new separator.\");\n\t}\n\tget decimalSeparator() {\n\t\tthrow Error(\"Use MathfieldElement.decimalSeparator instead\");\n\t}\n\tset decimalSeparator(e) {\n\t\tthrow Error(\"Use MathfieldElement.decimalSeparator instead\");\n\t}\n\tstatic set scientificNotationTemplate(e) {\n\t\tthis._scientificNotationTemplate = e;\n\t}\n\tstatic get scientificNotationTemplate() {\n\t\treturn this._scientificNotationTemplate;\n\t}\n\tstatic get fractionNavigationOrder() {\n\t\treturn lu.fractionNavigationOrder;\n\t}\n\tstatic set fractionNavigationOrder(e) {\n\t\tif (e !== \"numerator-denominator\" && e !== \"denominator-numerator\") throw Error(\"Invalid value\");\n\t\tlu.fractionNavigationOrder !== e && (lu.fractionNavigationOrder = e, rf());\n\t}\n\tstatic get computeEngine() {\n\t\tif (this._computeEngine === void 0) {\n\t\t\tlet e = window[Symbol.for(\"io.cortexjs.compute-engine\")], t = e?.ComputeEngine;\n\t\t\tif (!t) return null;\n\t\t\tif (this._computeEngine = new t(), this._computeEngine && this.decimalSeparator === \",\") {\n\t\t\t\tlet [t, n] = String(e?.version ?? \"\").split(\".\").map((e) => parseInt(e, 10));\n\t\t\t\t(t > 0 || t === 0 && n >= 58) && (this._computeEngine.latexOptions = c(s({}, this._computeEngine.latexOptions), { decimalSeparator: \"{,}\" }));\n\t\t\t}\n\t\t}\n\t\treturn this._computeEngine ?? null;\n\t}\n\tstatic set computeEngine(e) {\n\t\tthis._computeEngine = e;\n\t}\n\tget computeEngine() {\n\t\tthrow Error(\"Use MathfieldElement.computeEngine instead\");\n\t}\n\tset computeEngine(e) {\n\t\tthrow Error(\"Use MathfieldElement.computeEngine instead\");\n\t}\n\tstatic get isFunction() {\n\t\treturn typeof this._isFunction == \"function\" ? this._isFunction : () => !1;\n\t}\n\tstatic set isFunction(e) {\n\t\tthis._isFunction = e, rf();\n\t}\n\tstatic async loadSound(e) {\n\t\tdelete this.audioBuffers[e];\n\t\tlet t = \"\";\n\t\tswitch (e) {\n\t\t\tcase \"keypress\":\n\t\t\t\tt = this._keypressSound.default;\n\t\t\t\tbreak;\n\t\t\tcase \"return\":\n\t\t\t\tt = this._keypressSound.return;\n\t\t\t\tbreak;\n\t\t\tcase \"spacebar\":\n\t\t\t\tt = this._keypressSound.spacebar;\n\t\t\t\tbreak;\n\t\t\tcase \"delete\":\n\t\t\t\tt = this._keypressSound.delete;\n\t\t\t\tbreak;\n\t\t\tcase \"plonk\": t = this.plonkSound;\n\t\t}\n\t\tif (typeof t != \"string\") return;\n\t\tt = t.trim();\n\t\tlet n = this.soundsDirectory;\n\t\tif (n != null && n !== \"null\" && t !== \"none\" && t !== \"null\") try {\n\t\t\tlet r = await (await fetch(await Gd(`${n}/${t}`))).arrayBuffer(), i = await this.audioContext.decodeAudioData(r);\n\t\t\tthis.audioBuffers[e] = i;\n\t\t} catch {}\n\t}\n\tstatic async playSound(e) {\n\t\tif ((this.audioContext.state === \"suspended\" || this.audioContext.state === \"interrupted\") && await this.audioContext.resume(), this.audioBuffers[e] || await this.loadSound(e), !this.audioBuffers[e]) return;\n\t\tlet t = this.audioContext.createBufferSource();\n\t\tt.buffer = this.audioBuffers[e];\n\t\tlet n = this.audioContext.createGain();\n\t\tn.gain.value = O_, t.connect(n).connect(this.audioContext.destination), t.start();\n\t}\n\tshowMenu(e) {\n\t\treturn this._mathfield?.showMenu(e) ?? !1;\n\t}\n\tget mathVirtualKeyboard() {\n\t\tthrow Error(\"The `mathVirtualKeyboard` property is not available on the MathfieldElement. Use `window.mathVirtualKeyboard` instead.\");\n\t}\n\tonPointerDown() {\n\t\twindow.addEventListener(\"pointerup\", (t) => {\n\t\t\tlet n = this._mathfield;\n\t\t\tif (n && t.target === this && !n.disabled) {\n\t\t\t\tthis.dispatchEvent(new MouseEvent(\"click\", {\n\t\t\t\t\taltKey: t.altKey,\n\t\t\t\t\tbutton: t.button,\n\t\t\t\t\tbuttons: t.buttons,\n\t\t\t\t\tclientX: t.clientX,\n\t\t\t\t\tclientY: t.clientY,\n\t\t\t\t\tctrlKey: t.ctrlKey,\n\t\t\t\t\tmetaKey: t.metaKey,\n\t\t\t\t\tmovementX: t.movementX,\n\t\t\t\t\tmovementY: t.movementY,\n\t\t\t\t\trelatedTarget: t.relatedTarget,\n\t\t\t\t\tscreenX: t.screenX,\n\t\t\t\t\tscreenY: t.screenY,\n\t\t\t\t\tshiftKey: t.shiftKey\n\t\t\t\t}));\n\t\t\t\tlet r = this.getOffsetFromPoint(t.clientX, t.clientY);\n\t\t\t\tr >= 0 && e.openUrl(Hc(n, r)), t.pointerType === \"touch\" && this.selectionIsCollapsed && (this.position = r);\n\t\t\t}\n\t\t}, { once: !0 });\n\t}\n\tgetPromptValue(e, t) {\n\t\treturn this._mathfield?.getPromptValue(e, t) ?? \"\";\n\t}\n\tsetPromptValue(e, t, n) {\n\t\tvar r;\n\t\t(r = this._mathfield) == null || r.setPromptValue(e, t, n);\n\t}\n\tgetPromptRange(e) {\n\t\treturn this._mathfield?.getPromptRange(e) ?? null;\n\t}\n\tgetPrompts(e) {\n\t\treturn this._mathfield?.getPrompts(e) ?? [];\n\t}\n\tget hasEditableContent() {\n\t\treturn this._mathfield?.hasEditableContent ?? !1;\n\t}\n\tget form() {\n\t\treturn this._internals?.form;\n\t}\n\tget name() {\n\t\treturn this.getAttribute(\"name\") ?? \"\";\n\t}\n\tget type() {\n\t\treturn this.localName;\n\t}\n\tget mode() {\n\t\treturn this._mathfield?.model.mode ?? (this.defaultMode === \"text\" ? \"text\" : \"math\");\n\t}\n\tset mode(e) {\n\t\tvar t;\n\t\t(t = this._mathfield) == null || t.switchMode(e);\n\t}\n\tget expression() {\n\t\tif (this._mathfield) return window[Symbol.for(\"io.cortexjs.compute-engine\")] ? this._mathfield.expression : (console.error(\"MathLive 0.110.0: The CortexJS Compute Engine library is not available.\\n \\n Load the library, for example with:\\n \\n import \\\"https://esm.run/@cortex-js/compute-engine\\\"\"), null);\n\t}\n\tset expression(t) {\n\t\tif (!this._mathfield) return;\n\t\tlet n = e.computeEngine?.box(t).latex ?? null;\n\t\tn !== null && this._mathfield.setValue(n), window[Symbol.for(\"io.cortexjs.compute-engine\")] || console.error(\"MathLive 0.110.0: The Compute Engine library is not available.\\n \\n Load the library, for example with:\\n \\n import \\\"https://esm.run/@cortex-js/compute-engine\\\"\");\n\t}\n\tget errors() {\n\t\treturn this._mathfield?.errors ?? [];\n\t}\n\t_getOptions(e) {\n\t\treturn this._mathfield ? sp(this._mathfield.options, e) : Q.has(this) ? s({}, sp(s(s({}, cp()), op(Q.get(this).options)), e)) : null;\n\t}\n\tgetOptions(e) {\n\t\treturn console.warn(\"%cMathLive 0.110.0: %cDeprecated Usage%c\\n `mf.getOptions()` is deprecated. Read the property directly on the mathfield instead.\\n See mathfield/changelog/ for details.\", \"color:#12b; font-size: 1.1rem\", \"color:#db1111; font-size: 1.1rem\", \"color: inherit, font-size: 1rem\"), this._mathfield ? sp(this._mathfield.options, e) : Q.has(this) ? sp(s(s({}, cp()), op(Q.get(this).options)), e) : null;\n\t}\n\treflectAttributes() {\n\t\tlet t = cp(), n = this._getOptions();\n\t\tObject.keys(e.optionsAttributes).forEach((r) => {\n\t\t\tlet i = r === \"placeholder\" ? \"contentPlaceholder\" : j_(r);\n\t\t\te.optionsAttributes[r] === \"on/off\" ? t[i] === n[i] ? this.removeAttribute(r) : this.setAttribute(r, n[i] ? \"on\" : \"off\") : t[i] !== n[i] && (e.optionsAttributes[r] === \"boolean\" ? n[i] ? this.setAttribute(r, \"\") : this.removeAttribute(r) : (typeof n[i] == \"string\" || typeof n[i] == \"number\") && this.setAttribute(r, n[i].toString()));\n\t\t});\n\t}\n\tgetOption(e) {\n\t\treturn console.warn(\"%cMathLive 0.110.0: %cDeprecated Usage%c\\n `mf.getOption()` is deprecated. Read the property directly on the mathfield instead.\\n See mathfield/changelog/ for details.\", \"color:#12b; font-size: 1.1rem\", \"color:#db1111; font-size: 1.1rem\", \"color: inherit, font-size: 1rem\"), this._getOptions([e])[e];\n\t}\n\t_getOption(e) {\n\t\treturn this._getOptions([e])[e];\n\t}\n\t_setOptions(e) {\n\t\tif (this._mathfield) this._mathfield.setOptions(e);\n\t\telse if (Q.has(this)) {\n\t\t\tlet t = s(s({}, Q.get(this).options), e);\n\t\t\tQ.set(this, c(s({}, Q.get(this)), {\n\t\t\t\tselection: { ranges: t.readOnly ? [[0, 0]] : [[0, -1]] },\n\t\t\t\toptions: t\n\t\t\t}));\n\t\t} else Q.set(this, {\n\t\t\tvalue: void 0,\n\t\t\tselection: { ranges: [[0, 0]] },\n\t\t\toptions: e,\n\t\t\tmenuItems: void 0\n\t\t});\n\t\tthis.reflectAttributes();\n\t}\n\tsetOptions(e) {\n\t\tconsole.group(\"%cMathLive 0.110.0: %cDeprecated Usage\", \"color:#12b; font-size: 1.1rem\", \"color:#db1111; font-size: 1.1rem\"), console.warn(\" `mf.setOptions()` is deprecated. Set the property directly on the mathfield instead.\\n See mathfield/changelog/ for details.\");\n\t\tfor (let t of Object.keys(e)) k_[t] && console.warn(`\\`mf.setOptions({${t}:...})\\` -> ${k_[t]}`);\n\t\tconsole.groupEnd(), this._setOptions(e);\n\t}\n\texecuteCommand(...e) {\n\t\tlet t;\n\t\tif (t = e.length === 1 ? e[0] : [e[0], ...e.slice(1)], t) return this._mathfield?.executeCommand(t) ?? !1;\n\t\tthrow Error(\"Invalid selector\");\n\t}\n\tgetValue(e, t, n) {\n\t\tif (this._mathfield) return this._mathfield.model.getValue(e, t, n);\n\t\tif (Q.has(this)) {\n\t\t\tlet r, i, a;\n\t\t\tif (uc(e) ? ([r, i] = e.ranges[0], a = t) : lc(e) ? ([r, i] = e, a = t) : cc(e) && cc(t) ? (r = e, i = t, a = n) : (r = 0, i = -1, a = e), (a === void 0 || a === \"latex\") && r === 0 && i === -1) return Q.get(this).value ?? this.textContent ?? \"\";\n\t\t}\n\t\treturn \"\";\n\t}\n\tsetValue(e, t) {\n\t\tif (this._mathfield && e !== void 0) {\n\t\t\tif (this._mathfield.model.getValue() === e) return;\n\t\t\tt ?? (t = {\n\t\t\t\tsilenceNotifications: !0,\n\t\t\t\tmode: \"math\"\n\t\t\t}), this._mathfield.setValue(e, t);\n\t\t\treturn;\n\t\t}\n\t\tif (Q.has(this)) {\n\t\t\tlet t = Q.get(this).options;\n\t\t\tQ.set(this, {\n\t\t\t\tvalue: e,\n\t\t\t\tselection: {\n\t\t\t\t\tranges: [[-1, -1]],\n\t\t\t\t\tdirection: \"forward\"\n\t\t\t\t},\n\t\t\t\toptions: t,\n\t\t\t\tmenuItems: void 0\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tlet n = M_(this);\n\t\tQ.set(this, {\n\t\t\tvalue: e,\n\t\t\tselection: {\n\t\t\t\tranges: [[-1, -1]],\n\t\t\t\tdirection: \"forward\"\n\t\t\t},\n\t\t\toptions: n,\n\t\t\tmenuItems: void 0\n\t\t});\n\t}\n\thasFocus() {\n\t\treturn this._mathfield?.hasFocus() ?? !1;\n\t}\n\tfocus() {\n\t\tvar e;\n\t\tthis.disabled || (e = this._mathfield) == null || e.focus();\n\t}\n\tblur() {\n\t\tvar e;\n\t\t(e = this._mathfield) == null || e.blur();\n\t}\n\tselect() {\n\t\tvar e;\n\t\t(e = this._mathfield) == null || e.select();\n\t}\n\tinsert(e, t) {\n\t\treturn this._mathfield?.insert(e, t) ?? !1;\n\t}\n\tapplyStyle(e, t) {\n\t\treturn this._mathfield?.applyStyle(e, t);\n\t}\n\tqueryStyle(e) {\n\t\treturn this._mathfield?.queryStyle(e) ?? \"none\";\n\t}\n\tgetOffsetFromPoint(e, t, n) {\n\t\treturn this._mathfield ? Nm(this._mathfield, e, t, n) : -1;\n\t}\n\tgetElementInfo(e) {\n\t\treturn Vc(this._mathfield, e);\n\t}\n\tresetUndo() {\n\t\tvar e;\n\t\t(e = this._mathfield) == null || e.resetUndo();\n\t}\n\tcanUndo() {\n\t\treturn this._mathfield ? this._mathfield.canUndo() : !1;\n\t}\n\tcanRedo() {\n\t\treturn this._mathfield ? this._mathfield.canRedo() : !1;\n\t}\n\thandleEvent(e) {\n\t\tvar t, n;\n\t\tif (cd.state !== \"closed\" || this._mathfield?.menu?.state !== \"closed\" || (e.type === \"pointerdown\" && this.onPointerDown(), e.type === \"focus\") || e.type !== \"blur\") return;\n\t\tlet r = f();\n\t\tr && (t = window == null ? void 0 : window.mathVirtualKeyboard) != null && t.visible || cd.scrim?.state !== \"closed\" || r && p() || (n = this._mathfield) == null || n.onBlur({ dispatchEvents: !1 });\n\t}\n\tconnectedCallback() {\n\t\tvar t;\n\t\tlet n = this.shadowRoot, r = n.host, i = window.getComputedStyle(this).userSelect !== \"none\";\n\t\tif (i) r.addEventListener(\"pointerdown\", this, !0);\n\t\telse {\n\t\t\tlet e = n.querySelector(\"span\");\n\t\t\te.style.pointerEvents = \"none\";\n\t\t}\n\t\tr.addEventListener(\"focus\", this, !0), r.addEventListener(\"blur\", this, !0), this._observer = new MutationObserver(() => {\n\t\t\tthis.value = this.textContent ?? \"\";\n\t\t}), this._observer.observe(this, {\n\t\t\tchildList: !0,\n\t\t\tcharacterData: !0,\n\t\t\tsubtree: !0\n\t\t}), N_() || (this.hasAttribute(\"role\") || this.setAttribute(\"role\", \"math\"), this.hasAttribute(\"aria-label\") || this.setAttribute(\"aria-label\", \"math input field\"), this.setAttribute(\"aria-multiline\", \"false\")), i && !this.hasAttribute(\"contenteditable\") && this.setAttribute(\"contenteditable\", \"true\"), this.hasAttribute(\"tabindex\") || this.setAttribute(\"tabindex\", \"0\");\n\t\tlet a = n.querySelector(\"slot:not([name])\");\n\t\tif (a) try {\n\t\t\tthis._style = a.assignedElements().filter((e) => e.tagName.toLowerCase() === \"style\").map((e) => e.textContent).join(\"\");\n\t\t} catch (e) {\n\t\t\tconsole.error(e);\n\t\t}\n\t\tif (this._style) {\n\t\t\tlet e = document.createElement(\"style\");\n\t\t\te.textContent = this._style, n.appendChild(e);\n\t\t}\n\t\tlet o = \"\";\n\t\tif (o = this.hasAttribute(\"value\") ? this.getAttribute(\"value\") : a?.assignedNodes().map((e) => e.nodeType === 3 ? e.textContent : \"\").join(\"\").trim() ?? \"\", this._mathfield = new S_(n.querySelector(\":host > span\"), c(s({}, Q.get(this)?.options ?? M_(this)), {\n\t\t\teventSink: this,\n\t\t\tvalue: o\n\t\t})), !Q.has(this)) {\n\t\t\tthis.upgradeProperty(\"disabled\"), this.upgradeProperty(\"readonly\");\n\t\t\tfor (let t of Object.keys(e.optionsAttributes)) this.upgradeProperty(j_(t));\n\t\t}\n\t\tif (!((t = this._mathfield) != null && t.model)) {\n\t\t\tthis._mathfield = null;\n\t\t\treturn;\n\t\t}\n\t\tif (Q.has(this)) {\n\t\t\tlet e = this._mathfield, t = Q.get(this), n = t.menuItems;\n\t\t\te.model.deferNotifications({\n\t\t\t\tcontent: !1,\n\t\t\t\tselection: !1\n\t\t\t}, () => {\n\t\t\t\tlet n = t.value;\n\t\t\t\tn !== void 0 && e.setValue(n), e.model.selection = t.selection, Q.delete(this);\n\t\t\t}), n && (this.menuItems = n);\n\t\t}\n\t\twindow.queueMicrotask(() => {\n\t\t\tthis.isConnected && this.dispatchEvent(new Event(\"mount\", {\n\t\t\t\tcancelable: !1,\n\t\t\t\tbubbles: !0,\n\t\t\t\tcomposed: !0\n\t\t\t}));\n\t\t}), Yd();\n\t}\n\tdisconnectedCallback() {\n\t\tvar t;\n\t\tif (this.shadowRoot.host.removeEventListener(\"pointerdown\", this, !0), !this._mathfield) return;\n\t\t(t = this._observer) == null || t.disconnect(), this._observer = null, window.queueMicrotask(() => this.dispatchEvent(new Event(\"unmount\", {\n\t\t\tcancelable: !1,\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0\n\t\t})));\n\t\tlet n = sp(this._mathfield.options, Object.keys(e.optionsAttributes).map((e) => j_(e)));\n\t\tQ.set(this, {\n\t\t\tvalue: this._mathfield.getValue(),\n\t\t\tselection: this._mathfield.model.selection,\n\t\t\tmenuItems: this._mathfield.menu?.menuItems ?? void 0,\n\t\t\toptions: n\n\t\t}), this._mathfield.dispose(), this._mathfield = null;\n\t}\n\tupgradeProperty(e) {\n\t\tif (this.hasOwnProperty(e)) {\n\t\t\tlet t = this[e];\n\t\t\tdelete this[e], (e === \"readonly\" || e === \"read-only\") && (e = \"readOnly\"), this[e] = t;\n\t\t}\n\t}\n\tattributeChangedCallback(e, t, n) {\n\t\tif (t === n) return;\n\t\tlet r = n !== null;\n\t\tswitch (e) {\n\t\t\tcase \"contenteditable\":\n\t\t\t\tH(this._mathfield);\n\t\t\t\tbreak;\n\t\t\tcase \"placeholder\":\n\t\t\t\tn === !1 && (n = \"\"), this.placeholder = n;\n\t\t\t\tbreak;\n\t\t\tcase \"disabled\":\n\t\t\t\tthis.disabled = r;\n\t\t\t\tbreak;\n\t\t\tcase \"read-only\":\n\t\t\tcase \"readonly\": this.readOnly = r;\n\t\t}\n\t}\n\tget readonly() {\n\t\treturn this.hasAttribute(\"readonly\") || this.hasAttribute(\"read-only\");\n\t}\n\tset readonly(e) {\n\t\tlet t = !!e;\n\t\tt ? (this.setAttribute(\"readonly\", \"\"), N_() ? this._internals.ariaReadOnly = \"true\" : this.setAttribute(\"aria-readonly\", \"true\"), this.setAttribute(\"aria-readonly\", \"true\")) : (N_() ? this._internals.ariaReadOnly = \"false\" : this.removeAttribute(\"aria-readonly\"), this.removeAttribute(\"readonly\"), this.removeAttribute(\"read-only\")), this._setOptions({ readOnly: t });\n\t}\n\tget disabled() {\n\t\treturn this.hasAttribute(\"disabled\");\n\t}\n\tset disabled(e) {\n\t\tvar t;\n\t\tlet n = !!e;\n\t\tn ? this.setAttribute(\"disabled\", \"\") : this.removeAttribute(\"disabled\"), N_() ? this._internals.ariaDisabled = n ? \"true\" : \"false\" : this.setAttribute(\"aria-disabled\", n ? \"true\" : \"false\"), n && (t = this._mathfield) != null && t.hasFocus && window.mathVirtualKeyboard.visible && this._mathfield.executeCommand(\"hideVirtualKeyboard\");\n\t}\n\tget value() {\n\t\treturn this.getValue();\n\t}\n\tset value(e) {\n\t\tthis.setValue(e);\n\t}\n\tget defaultMode() {\n\t\treturn this._getOption(\"defaultMode\");\n\t}\n\tset defaultMode(e) {\n\t\tthis._setOptions({ defaultMode: e });\n\t}\n\tget macros() {\n\t\tif (!this._mathfield) throw Error(\"Mathfield not mounted\");\n\t\treturn this._getOption(\"macros\");\n\t}\n\tset macros(e) {\n\t\tthis._setOptions({ macros: e });\n\t}\n\tget registers() {\n\t\tif (!this._mathfield) throw Error(\"Mathfield not mounted\");\n\t\tlet e = this;\n\t\treturn new Proxy({}, {\n\t\t\tget: (t, n) => {\n\t\t\t\tif (typeof n == \"string\") return e._getOption(\"registers\")[n];\n\t\t\t},\n\t\t\tset(t, n, r) {\n\t\t\t\treturn typeof n == \"string\" && (e._setOptions({ registers: c(s({}, e._getOption(\"registers\")), { [n]: r }) }), !0);\n\t\t\t},\n\t\t\townKeys: () => Reflect.ownKeys(e._getOption(\"registers\")),\n\t\t\tgetOwnPropertyDescriptor: (t, n) => {\n\t\t\t\tlet r = e._getOption(\"registers\")[n];\n\t\t\t\tif (r !== void 0) return {\n\t\t\t\t\tconfigurable: !0,\n\t\t\t\t\tenumerable: !0,\n\t\t\t\t\tvalue: r,\n\t\t\t\t\twritable: !0\n\t\t\t\t};\n\t\t\t}\n\t\t});\n\t}\n\tset registers(e) {\n\t\tthis._setOptions({ registers: e });\n\t}\n\tget colorMap() {\n\t\treturn this._getOption(\"colorMap\");\n\t}\n\tset colorMap(e) {\n\t\tthis._setOptions({ colorMap: e });\n\t}\n\tget backgroundColorMap() {\n\t\treturn this._getOption(\"backgroundColorMap\");\n\t}\n\tset backgroundColorMap(e) {\n\t\tthis._setOptions({ backgroundColorMap: e });\n\t}\n\tget letterShapeStyle() {\n\t\treturn this._getOption(\"letterShapeStyle\");\n\t}\n\tset letterShapeStyle(e) {\n\t\tthis._setOptions({ letterShapeStyle: e });\n\t}\n\tget minFontScale() {\n\t\treturn this._getOption(\"minFontScale\");\n\t}\n\tset minFontScale(e) {\n\t\tthis._setOptions({ minFontScale: e });\n\t}\n\tget maxMatrixCols() {\n\t\treturn this._getOption(\"maxMatrixCols\");\n\t}\n\tset maxMatrixCols(e) {\n\t\tthis._setOptions({ maxMatrixCols: e });\n\t}\n\tget smartMode() {\n\t\treturn this._getOption(\"smartMode\");\n\t}\n\tset smartMode(e) {\n\t\tthis._setOptions({ smartMode: e });\n\t}\n\tget smartFence() {\n\t\treturn this._getOption(\"smartFence\");\n\t}\n\tset smartFence(e) {\n\t\tthis._setOptions({ smartFence: e });\n\t}\n\tget smartSuperscript() {\n\t\treturn this._getOption(\"smartSuperscript\");\n\t}\n\tset smartSuperscript(e) {\n\t\tthis._setOptions({ smartSuperscript: e });\n\t}\n\tget scriptDepth() {\n\t\treturn this._getOption(\"scriptDepth\");\n\t}\n\tset scriptDepth(e) {\n\t\tthis._setOptions({ scriptDepth: e });\n\t}\n\tget removeExtraneousParentheses() {\n\t\treturn this._getOption(\"removeExtraneousParentheses\");\n\t}\n\tset removeExtraneousParentheses(e) {\n\t\tthis._setOptions({ removeExtraneousParentheses: e });\n\t}\n\tget mathModeSpace() {\n\t\treturn this._getOption(\"mathModeSpace\");\n\t}\n\tset mathModeSpace(e) {\n\t\tthis._setOptions({ mathModeSpace: e });\n\t}\n\tget placeholderSymbol() {\n\t\treturn this._getOption(\"placeholderSymbol\");\n\t}\n\tset placeholderSymbol(e) {\n\t\tthis._setOptions({ placeholderSymbol: e });\n\t}\n\tget placeholder() {\n\t\treturn this._getOption(\"contentPlaceholder\");\n\t}\n\tset placeholder(e) {\n\t\tthis._setOptions({ contentPlaceholder: e });\n\t}\n\tget popoverPolicy() {\n\t\treturn this._getOption(\"popoverPolicy\");\n\t}\n\tset popoverPolicy(e) {\n\t\tthis._setOptions({ popoverPolicy: e });\n\t}\n\tget environmentPopoverPolicy() {\n\t\treturn this._getOption(\"environmentPopoverPolicy\");\n\t}\n\tset environmentPopoverPolicy(e) {\n\t\tthis._setOptions({ environmentPopoverPolicy: e });\n\t}\n\tget menuItems() {\n\t\tif (!this._mathfield) throw Error(\"Mathfield not mounted\");\n\t\treturn this._mathfield.menu._menuItems.map((e) => e.menuItem) ?? [];\n\t}\n\tset menuItems(e) {\n\t\tif (!this._mathfield) throw Error(\"Mathfield not mounted\");\n\t\tif (this._mathfield) {\n\t\t\tlet t = this._mathfield.element?.querySelector(\"[part=menu-toggle]\");\n\t\t\tt && (t.style.display = e.length === 0 ? \"none\" : \"\"), this._mathfield.menu.menuItems = e;\n\t\t}\n\t}\n\tget mathVirtualKeyboardPolicy() {\n\t\treturn this._getOption(\"mathVirtualKeyboardPolicy\");\n\t}\n\tset mathVirtualKeyboardPolicy(e) {\n\t\tthis._setOptions({ mathVirtualKeyboardPolicy: e });\n\t}\n\tget inlineShortcuts() {\n\t\tif (!this._mathfield) throw Error(\"Mathfield not mounted\");\n\t\treturn this._getOption(\"inlineShortcuts\");\n\t}\n\tset inlineShortcuts(e) {\n\t\tif (!this._mathfield) throw Error(\"Mathfield not mounted\");\n\t\tthis._setOptions({ inlineShortcuts: e });\n\t}\n\tget inlineShortcutTimeout() {\n\t\treturn this._getOption(\"inlineShortcutTimeout\");\n\t}\n\tset inlineShortcutTimeout(e) {\n\t\tthis._setOptions({ inlineShortcutTimeout: e });\n\t}\n\tget keybindings() {\n\t\tif (!this._mathfield) throw Error(\"Mathfield not mounted\");\n\t\treturn this._getOption(\"keybindings\");\n\t}\n\tset keybindings(e) {\n\t\tif (!this._mathfield) throw Error(\"Mathfield not mounted\");\n\t\tthis._setOptions({ keybindings: e });\n\t}\n\tget onInsertStyle() {\n\t\tlet e = this._getOption(\"onInsertStyle\");\n\t\treturn e === void 0 ? Td : e;\n\t}\n\tset onInsertStyle(e) {\n\t\tthis._setOptions({ onInsertStyle: e });\n\t}\n\tget onInlineShortcut() {\n\t\treturn this._getOption(\"onInlineShortcut\");\n\t}\n\tset onInlineShortcut(e) {\n\t\tthis._setOptions({ onInlineShortcut: e });\n\t}\n\tget onScrollIntoView() {\n\t\treturn this._getOption(\"onScrollIntoView\");\n\t}\n\tset onScrollIntoView(e) {\n\t\tthis._setOptions({ onScrollIntoView: e });\n\t}\n\tget onExport() {\n\t\treturn this._getOption(\"onExport\");\n\t}\n\tset onExport(e) {\n\t\tthis._setOptions({ onExport: e });\n\t}\n\tget readOnly() {\n\t\treturn this._getOption(\"readOnly\");\n\t}\n\tset readOnly(e) {\n\t\tthis._setOptions({ readOnly: e });\n\t}\n\tget isSelectionEditable() {\n\t\treturn this._mathfield?.isSelectionEditable ?? !1;\n\t}\n\tsetPromptState(e, t, n) {\n\t\tvar r;\n\t\t(r = this._mathfield) == null || r.setPromptState(e, t, n);\n\t}\n\tgetPromptState(e) {\n\t\treturn this._mathfield?.getPromptState(e) ?? [void 0, !0];\n\t}\n\tget selection() {\n\t\treturn this._mathfield ? this._mathfield.model.selection : Q.has(this) ? Q.get(this).selection : {\n\t\t\tranges: [[0, 0]],\n\t\t\tdirection: \"forward\"\n\t\t};\n\t}\n\tset selection(e) {\n\t\tif (typeof e == \"number\" && (e = { ranges: [[e, e]] }), this._mathfield) {\n\t\t\tthis._mathfield.model.selection = e, H(this._mathfield);\n\t\t\treturn;\n\t\t}\n\t\tif (Q.has(this)) {\n\t\t\tQ.set(this, c(s({}, Q.get(this)), { selection: e }));\n\t\t\treturn;\n\t\t}\n\t\tQ.set(this, {\n\t\t\tvalue: void 0,\n\t\t\tselection: e,\n\t\t\toptions: M_(this),\n\t\t\tmenuItems: void 0\n\t\t});\n\t}\n\tget selectionIsCollapsed() {\n\t\tlet e = this.selection;\n\t\treturn e.ranges.length === 1 && e.ranges[0][0] === e.ranges[0][1];\n\t}\n\tget position() {\n\t\treturn this._mathfield ? this._mathfield.model.position : Q.has(this) ? Q.get(this).selection.ranges[0][0] : 0;\n\t}\n\tset position(e) {\n\t\tif (this._mathfield && (this._mathfield.model.position = e, H(this._mathfield)), Q.has(this)) {\n\t\t\tQ.set(this, c(s({}, Q.get(this)), { selection: { ranges: [[e, e]] } }));\n\t\t\treturn;\n\t\t}\n\t\tQ.set(this, {\n\t\t\tvalue: void 0,\n\t\t\tselection: { ranges: [[e, e]] },\n\t\t\toptions: M_(this),\n\t\t\tmenuItems: void 0\n\t\t});\n\t}\n\tget lastOffset() {\n\t\treturn this._mathfield?.model.lastOffset ?? -1;\n\t}\n};\n$.version = \"0.110.0\", $.openUrl = (e) => {\n\tif (!e) return;\n\tlet t = new URL(e);\n\tif (![\n\t\t\"http:\",\n\t\t\"https:\",\n\t\t\"file:\"\n\t].includes(t.protocol.toLowerCase())) {\n\t\t$.playSound(\"plonk\");\n\t\treturn;\n\t}\n\twindow.open(t, \"_blank\");\n}, $._fontsDirectory = \"./fonts/\", $._soundsDirectory = \"./sounds\", $.keypressVibration = !0, $._keypressSound = {\n\tspacebar: \"keypress-spacebar.wav\",\n\treturn: \"keypress-return.wav\",\n\tdelete: \"keypress-delete.wav\",\n\tdefault: \"keypress-standard.wav\"\n}, $._plonkSound = \"plonk.wav\", $.audioBuffers = {}, $.createHTML = (e) => e, $._speechEngineRate = \"100%\", $._speechEngineVoice = \"Joanna\", $._textToSpeechMarkup = \"\", $._textToSpeechRules = \"mathlive\", $._textToSpeechRulesOptions = {}, $.speakHook = w_, $.readAloudHook = D_, $.restoreFocusWhenDocumentFocused = !0, $._decimalSeparator = \".\", $._scientificNotationTemplate = \"#1\\\\times10^{#2}\", $._isFunction = (e) => globalThis.MathfieldElement.computeEngine?.parse(e).domain?.isFunction ?? !1;\nvar A_ = $;\nfunction j_(e) {\n\treturn e.replace(/[^a-zA-Z\\d]+(.)/g, (e, t) => t.toUpperCase());\n}\nfunction M_(e) {\n\tlet t = { readOnly: !1 }, n = A_.optionsAttributes;\n\treturn Object.keys(n).forEach((r) => {\n\t\tif (e.hasAttribute(r)) {\n\t\t\tlet i = e.getAttribute(r);\n\t\t\tr === \"placeholder\" ? t.contentPlaceholder = i ?? \"\" : n[r] === \"boolean\" ? t[j_(r)] = !0 : n[r] === \"on/off\" ? (i = i?.toLowerCase() ?? \"\", i === \"on\" || i === \"true\" ? t[j_(r)] = !0 : i === \"off\" || i === \"false\" ? t[j_(r)] = !1 : t[j_(r)] = void 0) : n[r] === \"number\" ? t[j_(r)] = Number.parseFloat(i ?? \"0\") : t[j_(r)] = i;\n\t\t}\n\t}), t;\n}\nfunction N_() {\n\treturn !(!(\"ElementInternals\" in window) || !HTMLElement.prototype.attachInternals || !(\"role\" in window.ElementInternals.prototype));\n}\nvar P_ = A_, F_, I_, L_;\nif (d() && !((F_ = window.customElements) != null && F_.get(\"math-field\"))) {\n\twindow[I_ = Symbol.for(\"io.cortexjs.mathlive\")] ?? (window[I_] = {});\n\tlet e = window[Symbol.for(\"io.cortexjs.mathlive\")];\n\te.version = \"0.110.0\", globalThis.MathfieldElement = A_, (L_ = window.customElements) == null || L_.define(\"math-field\", A_);\n}\nvar R_ = !1, z_ = null;\nfunction B_() {\n\tR_ || z_ || (z_ = Yd().then(() => {\n\t\tR_ = !0;\n\t}));\n}\nvar V_ = class extends HTMLElement {\n\tconstructor() {\n\t\tif (super(), this._hasRendered = !1, this._shadowRoot = this.attachShadow({ mode: \"open\" }), \"adoptedStyleSheets\" in this._shadowRoot) this._shadowRoot.adoptedStyleSheets = [$c(\"core\")];\n\t\telse {\n\t\t\tlet e = document.createElement(\"style\");\n\t\t\te.textContent = Qc(\"core\"), this._shadowRoot.appendChild(e);\n\t\t}\n\t\tthis._contentSlot = document.createElement(\"div\"), this._contentSlot.style.display = \"none\", this._contentSlot.setAttribute(\"part\", \"content\"), this._renderContainer = document.createElement(\"div\"), this._renderContainer.setAttribute(\"part\", \"render\"), this._renderContainer.setAttribute(\"aria-hidden\", \"true\"), this._errorFallback = document.createElement(\"div\"), this._errorFallback.style.display = \"none\", this._errorFallback.setAttribute(\"part\", \"error\"), this._shadowRoot.appendChild(this._contentSlot), this._shadowRoot.appendChild(this._renderContainer), this._shadowRoot.appendChild(this._errorFallback), this.addEventListener(\"keydown\", this._handleKeydown.bind(this));\n\t}\n\tstatic get observedAttributes() {\n\t\treturn [\n\t\t\t\"mode\",\n\t\t\t\"format\",\n\t\t\t\"macros\",\n\t\t\t\"letter-shape-style\",\n\t\t\t\"min-font-scale\",\n\t\t\t\"max-matrix-cols\"\n\t\t];\n\t}\n\tconnectedCallback() {\n\t\tB_(), \"IntersectionObserver\" in window && !this._hasRendered ? (this._observer = new IntersectionObserver((e) => {\n\t\t\tvar t;\n\t\t\te[0].isIntersecting && !this._hasRendered && (this.render(), (t = this._observer) == null || t.disconnect());\n\t\t}, { rootMargin: \"50px\" }), this._observer.observe(this)) : this.render();\n\t}\n\tdisconnectedCallback() {\n\t\tvar e;\n\t\t(e = this._observer) == null || e.disconnect();\n\t}\n\tattributeChangedCallback(e, t, n) {\n\t\tt !== n && this._hasRendered && this.render();\n\t}\n\t_handleKeydown(e) {\n\t\tif (this.getAttribute(\"tabindex\") !== null && (e.key === \" \" || e.key === \"Enter\")) {\n\t\t\te.preventDefault();\n\t\t\tlet t = this.getAttribute(\"aria-label\");\n\t\t\tif (t && \"speechSynthesis\" in window) {\n\t\t\t\tlet e = new SpeechSynthesisUtterance(t);\n\t\t\t\tspeechSynthesis.speak(e);\n\t\t\t}\n\t\t}\n\t}\n\tget mode() {\n\t\tlet e = this.getAttribute(\"mode\");\n\t\treturn e === \"textstyle\" || e === \"displaystyle\" ? e : this.getDefaultMathstyle();\n\t}\n\tset mode(e) {\n\t\tthis.setAttribute(\"mode\", e);\n\t}\n\tget format() {\n\t\tlet e = this.getAttribute(\"format\");\n\t\treturn e === \"latex\" || e === \"ascii-math\" || e === \"math-json\" ? e : \"latex\";\n\t}\n\tset format(e) {\n\t\tthis.setAttribute(\"format\", e);\n\t}\n\tget letterShapeStyle() {\n\t\tlet e = this.getAttribute(\"letter-shape-style\");\n\t\tif (e === \"auto\" || e === \"tex\" || e === \"iso\" || e === \"french\" || e === \"upright\") return e;\n\t}\n\tset letterShapeStyle(e) {\n\t\te === void 0 ? this.removeAttribute(\"letter-shape-style\") : this.setAttribute(\"letter-shape-style\", e);\n\t}\n\tget macros() {\n\t\treturn this.getAttribute(\"macros\") ?? void 0;\n\t}\n\tset macros(e) {\n\t\te === void 0 ? this.removeAttribute(\"macros\") : this.setAttribute(\"macros\", e);\n\t}\n\tget minFontScale() {\n\t\tlet e = this.getAttribute(\"min-font-scale\");\n\t\treturn e ? parseFloat(e) : void 0;\n\t}\n\tset minFontScale(e) {\n\t\te === void 0 ? this.removeAttribute(\"min-font-scale\") : this.setAttribute(\"min-font-scale\", String(e));\n\t}\n\tget maxMatrixCols() {\n\t\tlet e = this.getAttribute(\"max-matrix-cols\");\n\t\treturn e ? parseInt(e, 10) : void 0;\n\t}\n\tset maxMatrixCols(e) {\n\t\te === void 0 ? this.removeAttribute(\"max-matrix-cols\") : this.setAttribute(\"max-matrix-cols\", String(e));\n\t}\n\trender() {\n\t\ttry {\n\t\t\tlet e = this.textContent?.trim() ?? \"\";\n\t\t\tif (!e) {\n\t\t\t\tthis._renderContainer.innerHTML = \"\", this._errorFallback.style.display = \"none\", this._renderContainer.style.display = \"none\", this._removeMathML();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis._contentSlot.textContent = e;\n\t\t\tlet t, n = this.format;\n\t\t\tt = n === \"ascii-math\" ? yg(e) : n === \"math-json\" ? vg(JSON.parse(e)) : e;\n\t\t\tlet r = { defaultMode: this.mode === \"displaystyle\" ? \"math\" : \"inline-math\" };\n\t\t\tif (this.letterShapeStyle && (r.letterShapeStyle = this.letterShapeStyle), this.macros) try {\n\t\t\t\tr.macros = JSON.parse(this.macros);\n\t\t\t} catch (e) {\n\t\t\t\tconsole.warn(\"Invalid macros JSON:\", e);\n\t\t\t}\n\t\t\tthis.minFontScale !== void 0 && (r.minFontScale = this.minFontScale), this.maxMatrixCols !== void 0 && (r.maxMatrixCols = this.maxMatrixCols);\n\t\t\tlet i = Y(t, r);\n\t\t\tthis._renderContainer.innerHTML = i, this._renderContainer.style.display = this.getDefaultDisplay(), this._errorFallback.style.display = \"none\", this._updateAccessibility(t), this._hasRendered = !0, this.dispatchEvent(new CustomEvent(\"render\", {\n\t\t\t\tbubbles: !0,\n\t\t\t\tcomposed: !0,\n\t\t\t\tdetail: {\n\t\t\t\t\tformat: n,\n\t\t\t\t\tcontent: t\n\t\t\t\t}\n\t\t\t}));\n\t\t} catch (e) {\n\t\t\tconsole.error(\"MathLive static element render error:\", e), this._renderContainer.style.display = \"none\", this._errorFallback.textContent = this.textContent ?? \"\", this._errorFallback.style.display = \"block\", this._removeMathML(), this.dispatchEvent(new CustomEvent(\"render-error\", {\n\t\t\t\tbubbles: !0,\n\t\t\t\tcomposed: !0,\n\t\t\t\tdetail: {\n\t\t\t\t\terror: e,\n\t\t\t\t\tcontent: this.textContent\n\t\t\t\t}\n\t\t\t}));\n\t\t}\n\t}\n\t_updateAccessibility(e) {\n\t\tif (!this.hasAttribute(\"aria-label\")) try {\n\t\t\tlet t = gg(e);\n\t\t\tthis.setAttribute(\"aria-label\", t);\n\t\t} catch (e) {\n\t\t\tconsole.warn(\"Could not generate speakable text:\", e);\n\t\t}\n\t\tthis.hasAttribute(\"role\") || this.setAttribute(\"role\", \"img\"), this._addMathML(e);\n\t}\n\t_addMathML(e) {\n\t\ttry {\n\t\t\tlet t = hg(e);\n\t\t\tthis._mathMLContainer || (this._mathMLContainer = document.createElement(\"div\"), this._mathMLContainer.style.position = \"absolute\", this._mathMLContainer.style.width = \"1px\", this._mathMLContainer.style.height = \"1px\", this._mathMLContainer.style.overflow = \"hidden\", this._mathMLContainer.style.clip = \"rect(0, 0, 0, 0)\", this._mathMLContainer.setAttribute(\"aria-hidden\", \"false\"), this._shadowRoot.appendChild(this._mathMLContainer)), this._mathMLContainer.innerHTML = t;\n\t\t} catch (e) {\n\t\t\tconsole.warn(\"Could not generate MathML:\", e);\n\t\t}\n\t}\n\t_removeMathML() {\n\t\tthis._mathMLContainer && (this._mathMLContainer.remove(), this._mathMLContainer = void 0);\n\t}\n}, H_ = class extends V_ {\n\tgetDefaultMathstyle() {\n\t\treturn \"textstyle\";\n\t}\n\tgetDefaultDisplay() {\n\t\treturn \"inline-flex\";\n\t}\n}, U_ = class extends V_ {\n\tgetDefaultMathstyle() {\n\t\treturn \"displaystyle\";\n\t}\n\tgetDefaultDisplay() {\n\t\treturn \"flex\";\n\t}\n};\nfunction W_() {\n\tvar e, t, n, r;\n\ttypeof window < \"u\" && ((e = window.customElements) != null && e.get(\"math-span\") || (t = window.customElements) == null || t.define(\"math-span\", H_), (n = window.customElements) != null && n.get(\"math-div\") || (r = window.customElements) == null || r.define(\"math-div\", U_));\n}\nW_();\nfunction G_(e, t) {\n\tlet n = rp.singleton;\n\treturn n ? (n.show(), Sf(), n.currentLayer = t, n.render(), n.focus(), !0) : !1;\n}\nfunction K_() {\n\tlet e = window.mathVirtualKeyboard;\n\treturn e.visible ? e.hide({ animate: !0 }) : e.show({ animate: !0 }), !1;\n}\nsf({\n\tswitchKeyboardLayer: G_,\n\ttoggleVirtualKeyboard: K_,\n\thideVirtualKeyboard: () => (window.mathVirtualKeyboard.hide({ animate: !0 }), !1),\n\tshowVirtualKeyboard: () => (window.mathVirtualKeyboard.show({ animate: !0 }), !1)\n}, { target: \"virtual-keyboard\" });\nfunction q_() {\n\tvar e;\n\treturn globalThis[e = Symbol.for(\"io.cortexjs.mathlive\")] ?? (globalThis[e] = {}), globalThis[Symbol.for(\"io.cortexjs.mathlive\")];\n}\n//#endregion\n\n//# sourceMappingURL=mathlive.min-3RSVNrlY.js.map"],"mappings":"iBAghjByB,IAAI,KAAK,EAAA,CAAG,SAAS,IAAI,oBAC3B,IAAI,KAAK,EAAA,CAAG,QAAQ,oBACnB,IAAI,KAAK,EAAA,CAAG,YAAY"}
|