@pie-element/math-templated 8.0.6-next.20261018193205 → 8.0.6
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/browser/author/index.js +2 -2
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/author/index.js +2 -2
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{horizontal-keypad-BQdPpS_s.js → horizontal-keypad-D71I_hsg.js} +55 -55
- package/dist/browser/editor-runtime/{horizontal-keypad-BQdPpS_s.js.map → horizontal-keypad-D71I_hsg.js.map} +1 -1
- package/dist/browser/editor-runtime/{main-BLy9kMHK.js → main-CjydLdRr.js} +2 -2
- package/dist/browser/editor-runtime/{main-BLy9kMHK.js.map → main-CjydLdRr.js.map} +1 -1
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DlzgkqoE.js → mathjax-DqXi3q4c-M53s6mdE.js} +3 -3
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-DlzgkqoE.js.map → mathjax-DqXi3q4c-M53s6mdE.js.map} +1 -1
- package/dist/browser/editor-runtime/print/index.js +3 -3
- package/dist/browser/{horizontal-keypad-nLQVahKw.js → horizontal-keypad-DXhquYz2.js} +55 -55
- package/dist/browser/{horizontal-keypad-nLQVahKw.js.map → horizontal-keypad-DXhquYz2.js.map} +1 -1
- package/dist/browser/{main-CezVjYSb.js → main-CwjSoHLf.js} +2 -2
- package/dist/browser/{main-CezVjYSb.js.map → main-CwjSoHLf.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-DdmHhmSv.js → mathjax-DqXi3q4c-CBcqCJT1.js} +3 -3
- package/dist/browser/{mathjax-CptWnMbQ-DdmHhmSv.js.map → mathjax-DqXi3q4c-CBcqCJT1.js.map} +1 -1
- package/dist/browser/print/index.js +3 -3
- package/dist/index.iife.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/module/print.js +31 -31
- package/module/print.js.map +1 -1
- package/package.json +17 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as e, o as t, t as n } from "../rolldown-runtime-DY7j01NX.js";
|
|
2
|
-
import { $ as r, A as i, At as a, B as o, C as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, H as g, I as _, It as v, J as y, K as b, L as x, Lt as S, M as C, Mt as w, N as ee, Nt as T, O as te, Ot as E, P as D, Pt as O, Q as ne, R as re, S as k, St as ie, T as ae, Tt as A, U as oe, V as se, W as ce, Z as le, _ as ue, _t as de, a as fe, at as pe, b as me, bt as he, dt as j, et as ge, f as _e, ft as ve, g as ye, gt as be, h as xe, ht as Se, i as Ce, it as we, j as M, jt as Te, kt as Ee, lt as N, m as De, mt as P, n as Oe, nt as ke, o as Ae, ot as je, p as Me, pt as Ne, r as Pe, rt as Fe, s as Ie, st as Le, t as Re, tt as ze, ut as Be, v as Ve, vt as He, wt as Ue, x as We, xt as F, yt as Ge, z as Ke } from "../horizontal-keypad-
|
|
2
|
+
import { $ as r, A as i, At as a, B as o, C as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, H as g, I as _, It as v, J as y, K as b, L as x, Lt as S, M as C, Mt as w, N as ee, Nt as T, O as te, Ot as E, P as D, Pt as O, Q as ne, R as re, S as k, St as ie, T as ae, Tt as A, U as oe, V as se, W as ce, Z as le, _ as ue, _t as de, a as fe, at as pe, b as me, bt as he, dt as j, et as ge, f as _e, ft as ve, g as ye, gt as be, h as xe, ht as Se, i as Ce, it as we, j as M, jt as Te, kt as Ee, lt as N, m as De, mt as P, n as Oe, nt as ke, o as Ae, ot as je, p as Me, pt as Ne, r as Pe, rt as Fe, s as Ie, st as Le, t as Re, tt as ze, ut as Be, v as Ve, vt as He, wt as Ue, x as We, xt as F, yt as Ge, z as Ke } from "../horizontal-keypad-DXhquYz2.js";
|
|
3
3
|
import { _ as qe, c as Je, d as Ye, f as Xe, g as Ze, i as Qe, l as $e, m as et, n as tt, o as nt, r as rt, s as it, t as at, u as ot, v as st } from "../dist-CiGbvCAW.js";
|
|
4
4
|
import * as I from "react";
|
|
5
5
|
import L, { Component as ct, createContext as lt, createElement as ut, createRef as dt, forwardRef as ft, memo as pt, useCallback as mt, useContext as ht, useDebugValue as gt, useEffect as R, useId as _t, useLayoutEffect as vt, useMemo as yt, useRef as bt, useState as xt, version as St } from "react";
|
|
@@ -30538,7 +30538,7 @@ var HL = class extends I.Component {
|
|
|
30538
30538
|
}
|
|
30539
30539
|
}, gR = Object.freeze({
|
|
30540
30540
|
name: "@pie-element/math-templated",
|
|
30541
|
-
version: "8.0.6
|
|
30541
|
+
version: "8.0.6"
|
|
30542
30542
|
});
|
|
30543
30543
|
//#endregion
|
|
30544
30544
|
export { hR as default, gR as piePackage };
|
|
@@ -37731,7 +37731,7 @@ var { translator: E_ } = s, D_ = (0, b_.default)("@pie-element:math-templated:co
|
|
|
37731
37731
|
return c > i ? s.responseAreas = `No more than ${i} response areas should be defined.` : c < 1 && (s.responseAreas = "There should be at least 1 response area defined."), o(a) || (s.responses = a), s;
|
|
37732
37732
|
}, U_ = Object.freeze({
|
|
37733
37733
|
name: "@pie-element/math-templated",
|
|
37734
|
-
version: "8.0.6
|
|
37734
|
+
version: "8.0.6"
|
|
37735
37735
|
});
|
|
37736
37736
|
//#endregion
|
|
37737
37737
|
export { V_ as createCorrectResponseSession, I_ as createDefaultModel, M_ as getCorrectness, P_ as getLogTrace, N_ as getPartialScore, B_ as model, L_ as normalizeSession, F_ as outcome, U_ as piePackage, z_ as prepareVal, H_ as validate };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../main-
|
|
1
|
+
import { t as e } from "../main-CwjSoHLf.js";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { createRoot as n } from "react-dom/client";
|
|
4
4
|
//#region ../../shared/player-events/dist/index.js
|
|
@@ -125,7 +125,7 @@ var u = class e extends CustomEvent {
|
|
|
125
125
|
}
|
|
126
126
|
}, p = Object.freeze({
|
|
127
127
|
name: "@pie-element/math-templated",
|
|
128
|
-
version: "8.0.6
|
|
128
|
+
version: "8.0.6"
|
|
129
129
|
});
|
|
130
130
|
//#endregion
|
|
131
131
|
export { f as default, p as piePackage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, i as t, r as n, s as r, t as i } from "../rolldown-runtime-DgMJErsw.js";
|
|
2
|
-
import { $ as a, A as o, At as s, B as c, C as l, Ct as u, D as d, Dt as f, E as p, Et as m, F as h, Ft as g, G as _, H as v, I as y, It as b, J as x, K as S, L as C, Lt as w, M as T, Mt as E, N as D, Nt as O, O as k, Ot as A, P as j, Pt as ee, Q as M, R as N, S as P, St as te, T as ne, Tt as F, U as I, V as re, W as ie, Z as ae, _ as L, _t as oe, a as se, at as ce, b as le, bt as ue, dt as R, et as de, f as fe, ft as pe, g as me, gt as he, h as ge, ht as _e, i as z, it as B, j as ve, jt as ye, kt as be, lt as V, m as xe, mt as H, n as Se, nt as Ce, o as we, ot as Te, p as Ee, pt as De, r as Oe, rt as ke, s as Ae, st as je, t as Me, tt as Ne, ut as U, v as Pe, vt as Fe, wt as Ie, x as Le, xt as W, yt as Re, z as ze } from "../horizontal-keypad-
|
|
2
|
+
import { $ as a, A as o, At as s, B as c, C as l, Ct as u, D as d, Dt as f, E as p, Et as m, F as h, Ft as g, G as _, H as v, I as y, It as b, J as x, K as S, L as C, Lt as w, M as T, Mt as E, N as D, Nt as O, O as k, Ot as A, P as j, Pt as ee, Q as M, R as N, S as P, St as te, T as ne, Tt as F, U as I, V as re, W as ie, Z as ae, _ as L, _t as oe, a as se, at as ce, b as le, bt as ue, dt as R, et as de, f as fe, ft as pe, g as me, gt as he, h as ge, ht as _e, i as z, it as B, j as ve, jt as ye, kt as be, lt as V, m as xe, mt as H, n as Se, nt as Ce, o as we, ot as Te, p as Ee, pt as De, r as Oe, rt as ke, s as Ae, st as je, t as Me, tt as Ne, ut as U, v as Pe, vt as Fe, wt as Ie, x as Le, xt as W, yt as Re, z as ze } from "../horizontal-keypad-D71I_hsg.js";
|
|
3
3
|
import { _ as Be, c as Ve, d as He, f as Ue, g as We, i as Ge, l as Ke, m as qe, n as Je, o as Ye, r as Xe, s as Ze, t as Qe, u as $e, v as et } from "../dist-BgelMX3V.js";
|
|
4
4
|
import * as G from "react";
|
|
5
5
|
import K, { Component as tt, createContext as nt, createElement as rt, createRef as it, forwardRef as at, memo as ot, useCallback as st, useContext as ct, useDebugValue as lt, useEffect as q, useId as ut, useLayoutEffect as dt, useMemo as ft, useRef as J, useState as pt, version as mt } from "react";
|
|
@@ -13950,7 +13950,7 @@ var h_ = class extends G.Component {
|
|
|
13950
13950
|
}
|
|
13951
13951
|
}, U_ = Object.freeze({
|
|
13952
13952
|
name: "@pie-element/math-templated",
|
|
13953
|
-
version: "8.0.6
|
|
13953
|
+
version: "8.0.6"
|
|
13954
13954
|
});
|
|
13955
13955
|
//#endregion
|
|
13956
13956
|
export { H_ as default, U_ as piePackage };
|
|
@@ -37731,7 +37731,7 @@ var { translator: E_ } = s, D_ = (0, b_.default)("@pie-element:math-templated:co
|
|
|
37731
37731
|
return c > i ? s.responseAreas = `No more than ${i} response areas should be defined.` : c < 1 && (s.responseAreas = "There should be at least 1 response area defined."), o(a) || (s.responses = a), s;
|
|
37732
37732
|
}, U_ = Object.freeze({
|
|
37733
37733
|
name: "@pie-element/math-templated",
|
|
37734
|
-
version: "8.0.6
|
|
37734
|
+
version: "8.0.6"
|
|
37735
37735
|
});
|
|
37736
37736
|
//#endregion
|
|
37737
37737
|
export { V_ as createCorrectResponseSession, I_ as createDefaultModel, M_ as getCorrectness, P_ as getLogTrace, N_ as getPartialScore, B_ as model, L_ as normalizeSession, F_ as outcome, U_ as piePackage, z_ as prepareVal, H_ as validate };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../main-
|
|
1
|
+
import { t as e } from "../main-CjydLdRr.js";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import { createRoot as n } from "react-dom/client";
|
|
4
4
|
//#region ../../shared/player-events/dist/index.js
|
|
@@ -125,7 +125,7 @@ var u = class e extends CustomEvent {
|
|
|
125
125
|
}
|
|
126
126
|
}, p = Object.freeze({
|
|
127
127
|
name: "@pie-element/math-templated",
|
|
128
|
-
version: "8.0.6
|
|
128
|
+
version: "8.0.6"
|
|
129
129
|
});
|
|
130
130
|
//#endregion
|
|
131
131
|
export { f as default, p as piePackage };
|
package/dist/browser/editor-runtime/{horizontal-keypad-BQdPpS_s.js → horizontal-keypad-D71I_hsg.js}
RENAMED
|
@@ -12900,7 +12900,7 @@ var Bb;
|
|
|
12900
12900
|
function Vb() {
|
|
12901
12901
|
return Bb;
|
|
12902
12902
|
}
|
|
12903
|
-
var Hb = import("./mathjax-
|
|
12903
|
+
var Hb = import("./mathjax-DqXi3q4c-M53s6mdE.js");
|
|
12904
12904
|
Hb.catch(() => {});
|
|
12905
12905
|
async function Ub(e, t) {
|
|
12906
12906
|
let { createMathJax: n } = await Hb;
|
|
@@ -13599,25 +13599,7 @@ function wS(e) {
|
|
|
13599
13599
|
function TS(e) {
|
|
13600
13600
|
for (let t of e.querySelectorAll("mjx-container")) wS(t);
|
|
13601
13601
|
}
|
|
13602
|
-
var ES =
|
|
13603
|
-
function kS(e, t) {
|
|
13604
|
-
if (typeof window > "u") return;
|
|
13605
|
-
let n = globalThis;
|
|
13606
|
-
n[OS] ??= {
|
|
13607
|
-
logged: !1,
|
|
13608
|
-
conditions: []
|
|
13609
|
-
};
|
|
13610
|
-
let r = n[OS];
|
|
13611
|
-
if (r.conditions.includes(e)) return;
|
|
13612
|
-
r.conditions.push(e);
|
|
13613
|
-
let i = `[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${ES}`;
|
|
13614
|
-
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(DS, { detail: {
|
|
13615
|
-
condition: e,
|
|
13616
|
-
message: i,
|
|
13617
|
-
docsUrl: ES
|
|
13618
|
-
} }));
|
|
13619
|
-
}
|
|
13620
|
-
var AS = {
|
|
13602
|
+
var ES = {
|
|
13621
13603
|
parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
|
|
13622
13604
|
overarc: "\\overparen",
|
|
13623
13605
|
napprox: "\\not\\approx",
|
|
@@ -13625,36 +13607,54 @@ var AS = {
|
|
|
13625
13607
|
abs: ["\\left|#1\\right|", 1],
|
|
13626
13608
|
perpendicular: "\\perp",
|
|
13627
13609
|
divide: "\\div"
|
|
13628
|
-
},
|
|
13610
|
+
}, DS = /\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/, OS = /\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/, kS = /\\embed\{newLine\}\[\]/g, AS = [
|
|
13629
13611
|
["$$", "$$"],
|
|
13630
13612
|
["$", "$"],
|
|
13631
13613
|
["\\[", "\\]"],
|
|
13632
13614
|
["\\(", "\\)"]
|
|
13633
|
-
]
|
|
13615
|
+
];
|
|
13616
|
+
function jS(e) {
|
|
13617
|
+
for (let [t, n] of AS) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
13618
|
+
return e;
|
|
13619
|
+
}
|
|
13620
|
+
function MS(e) {
|
|
13621
|
+
return `\\(${jS(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e)}\\)`.replace(kS, "\\newline ");
|
|
13622
|
+
}
|
|
13623
|
+
var NS = "mathjax_ignore", PS = "mathjax_process", FS = "https://github.com/pie-framework/pie-players/blob/develop/docs/item-player/loading-strategies.md#one-mathjax-version-per-page", IS = "pie-mathjax-version-conflict", LS = Symbol.for("@pie-element/shared-math-rendering-mathjax/unsupported-page");
|
|
13624
|
+
function RS(e, t) {
|
|
13625
|
+
if (typeof window > "u") return;
|
|
13626
|
+
let n = globalThis;
|
|
13627
|
+
n[LS] ??= {
|
|
13628
|
+
logged: !1,
|
|
13629
|
+
conditions: []
|
|
13630
|
+
};
|
|
13631
|
+
let r = n[LS];
|
|
13632
|
+
if (r.conditions.includes(e)) return;
|
|
13633
|
+
r.conditions.push(e);
|
|
13634
|
+
let i = `[math-rendering] Unsupported page (${e}): ${t}. PIE supports one MathJax major version per page; with MathJax 3 and 4 on one page, math rendering is best effort and may break. See ${FS}`;
|
|
13635
|
+
r.logged || (r.logged = !0, console.error(i)), window.dispatchEvent(new CustomEvent(IS, { detail: {
|
|
13636
|
+
condition: e,
|
|
13637
|
+
message: i,
|
|
13638
|
+
docsUrl: FS
|
|
13639
|
+
} }));
|
|
13640
|
+
}
|
|
13641
|
+
var zS = "[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)", BS = Symbol.for("@pie-element/shared-math-rendering-mathjax/loading"), VS = "MJX-CHTML-styles", HS = "PIE-MJX-SVG-styles", US = "PIE-MathJax-Menu-Settings", WS = { "mjx-container[overflow=\"linebreak\"][display]": {
|
|
13634
13642
|
overflow: "auto clip",
|
|
13635
13643
|
"min-width": "initial !important"
|
|
13636
|
-
} },
|
|
13637
|
-
function
|
|
13644
|
+
} }, GS = 200, KS = 201, qS = 202;
|
|
13645
|
+
function JS(e) {
|
|
13638
13646
|
let t = [...e.matches("mjx-container") ? [e] : [], ...e.querySelectorAll("mjx-container")];
|
|
13639
13647
|
for (let e of t) for (let t of [e, ...e.querySelectorAll("[data-latex],[data-latex-item]")]) t.removeAttribute("data-latex"), t.removeAttribute("data-latex-item");
|
|
13640
13648
|
}
|
|
13641
|
-
function GS(e) {
|
|
13642
|
-
for (let [t, n] of FS) if (e.startsWith(t) && e.endsWith(n)) return e.substring(t.length, e.length - n.length);
|
|
13643
|
-
return e;
|
|
13644
|
-
}
|
|
13645
|
-
function KS(e) {
|
|
13646
|
-
return GS(e.includes("\\displaystyle") ? e.replace("\\displaystyle", "").trim() : e);
|
|
13647
|
-
}
|
|
13648
|
-
var qS = "mathjax_ignore", JS = "mathjax_process";
|
|
13649
13649
|
function YS(e, t) {
|
|
13650
|
-
let n = e.closest(`.${
|
|
13651
|
-
return n !== null && t.contains(n) && !n.classList.contains(
|
|
13650
|
+
let n = e.closest(`.${NS}, .${PS}`);
|
|
13651
|
+
return n !== null && t.contains(n) && !n.classList.contains("mathjax_process");
|
|
13652
13652
|
}
|
|
13653
13653
|
function XS(e) {
|
|
13654
13654
|
for (let t of e.querySelectorAll("[data-latex]")) {
|
|
13655
13655
|
if (t.dataset.mathHandled || t.closest("mjx-container") || YS(t, e)) continue;
|
|
13656
13656
|
let n = t.textContent;
|
|
13657
|
-
n && (t.textContent =
|
|
13657
|
+
n && (t.textContent = MS(n), t.dataset.mathHandled = "true");
|
|
13658
13658
|
}
|
|
13659
13659
|
}
|
|
13660
13660
|
function ZS(e) {
|
|
@@ -13662,7 +13662,7 @@ function ZS(e) {
|
|
|
13662
13662
|
}
|
|
13663
13663
|
function QS(e, t) {
|
|
13664
13664
|
for (let t of e.querySelectorAll("math")) if (!t.closest("mjx-assistive-mml")) return !0;
|
|
13665
|
-
return (t ?
|
|
13665
|
+
return (t ? OS : DS).test(e.textContent ?? "");
|
|
13666
13666
|
}
|
|
13667
13667
|
function $S(e) {
|
|
13668
13668
|
return new Promise((t, n) => {
|
|
@@ -13679,10 +13679,10 @@ function $S(e) {
|
|
|
13679
13679
|
typeset: !1,
|
|
13680
13680
|
ready: () => {
|
|
13681
13681
|
let e = Vb(), r = e?.startup, i = eC(e);
|
|
13682
|
-
i && (tC(e), nC(e, s.speechLocales), c(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (rC(r?.document), iC(r?.document), r?.document?.addStyles?.(
|
|
13682
|
+
i && (tC(e), nC(e, s.speechLocales), c(e?._?.a11y?.sre_ts?.locales, s.speechLocales)), r?.defaultReady?.(), i && (rC(r?.document), iC(r?.document), r?.document?.addStyles?.(WS), f(r?.document)), Promise.resolve(r?.promise).then(() => t(), n);
|
|
13683
13683
|
}
|
|
13684
13684
|
},
|
|
13685
|
-
tex: { macros: { ...
|
|
13685
|
+
tex: { macros: { ...ES } },
|
|
13686
13686
|
output: { displayOverflow: "linebreak" },
|
|
13687
13687
|
options: {
|
|
13688
13688
|
enableMenu: i,
|
|
@@ -13694,7 +13694,7 @@ function $S(e) {
|
|
|
13694
13694
|
a11y: { inTabOrder: p }
|
|
13695
13695
|
}
|
|
13696
13696
|
};
|
|
13697
|
-
r && m.tex && (console.warn(
|
|
13697
|
+
r && m.tex && (console.warn(zS), m.tex.inlineMath = [["$", "$"], ["\\(", "\\)"]], m.tex.processEscapes = !0), a || (m.chtml = { fontURL: "" });
|
|
13698
13698
|
let h = d(s.speechLocales);
|
|
13699
13699
|
h && m.options && (m.options.sre = { locale: h }), Ub(m, {
|
|
13700
13700
|
...s,
|
|
@@ -13711,18 +13711,18 @@ function tC(e) {
|
|
|
13711
13711
|
let t = e?._?.output, n = t?.chtml_ts?.CHTML;
|
|
13712
13712
|
n && (n.STYLESHEETID = Jb);
|
|
13713
13713
|
let r = t?.svg_ts?.SVG;
|
|
13714
|
-
r && (r.STYLESHEETID =
|
|
13714
|
+
r && (r.STYLESHEETID = HS);
|
|
13715
13715
|
}
|
|
13716
13716
|
function nC(e, t) {
|
|
13717
13717
|
let n = e?._?.ui?.menu?.Menu?.Menu;
|
|
13718
13718
|
if (n) {
|
|
13719
|
-
n.MENU_STORAGE =
|
|
13719
|
+
n.MENU_STORAGE = US;
|
|
13720
13720
|
try {
|
|
13721
|
-
let e = localStorage.getItem(
|
|
13721
|
+
let e = localStorage.getItem(US);
|
|
13722
13722
|
if (!e) return;
|
|
13723
13723
|
let { assistiveMml: n, locale: r, ...i } = JSON.parse(e), a = r === void 0 || !t || t.has(r);
|
|
13724
13724
|
if (n === void 0 && a) return;
|
|
13725
|
-
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(
|
|
13725
|
+
a && r !== void 0 && (i.locale = r), Object.keys(i).length ? localStorage.setItem(US, JSON.stringify(i)) : localStorage.removeItem(US);
|
|
13726
13726
|
} catch {}
|
|
13727
13727
|
}
|
|
13728
13728
|
}
|
|
@@ -13730,23 +13730,23 @@ function rC(e) {
|
|
|
13730
13730
|
if (!e) return;
|
|
13731
13731
|
let t = /* @__PURE__ */ new WeakSet(), n = (e) => {
|
|
13732
13732
|
let n = e.typesetRoot;
|
|
13733
|
-
!n || t.has(n) || (
|
|
13733
|
+
!n || t.has(n) || (JS(n), t.add(n));
|
|
13734
13734
|
};
|
|
13735
|
-
e.addRenderAction?.("pie-strip-latex",
|
|
13735
|
+
e.addRenderAction?.("pie-strip-latex", KS, (e) => {
|
|
13736
13736
|
for (let t of e.math ?? []) n(t);
|
|
13737
13737
|
return !1;
|
|
13738
13738
|
}, (e) => {
|
|
13739
13739
|
let t = e.typesetRoot;
|
|
13740
|
-
return t &&
|
|
13740
|
+
return t && JS(t), !1;
|
|
13741
13741
|
});
|
|
13742
13742
|
let r = e.outputJax?.chtmlStyles;
|
|
13743
|
-
r?.id ===
|
|
13743
|
+
r?.id === VS && (r.id = Jb), sC();
|
|
13744
13744
|
}
|
|
13745
13745
|
function iC(e) {
|
|
13746
13746
|
let t = (e) => {
|
|
13747
13747
|
e.typesetRoot && wS(e.typesetRoot);
|
|
13748
13748
|
};
|
|
13749
|
-
e?.addRenderAction?.("pie-name-math",
|
|
13749
|
+
e?.addRenderAction?.("pie-name-math", qS, (e) => {
|
|
13750
13750
|
for (let n of e.math ?? []) t(n);
|
|
13751
13751
|
return !1;
|
|
13752
13752
|
}, (e) => (t(e), !1));
|
|
@@ -13755,7 +13755,7 @@ function aC(e) {
|
|
|
13755
13755
|
return e instanceof HTMLStyleElement && Yb.includes(e.id);
|
|
13756
13756
|
}
|
|
13757
13757
|
function oC(e) {
|
|
13758
|
-
|
|
13758
|
+
RS("foreign-output-stylesheet", `another MathJax added <style id="${e.id}"> to <head>`);
|
|
13759
13759
|
}
|
|
13760
13760
|
function sC() {
|
|
13761
13761
|
let e = document.head, t = [...e.children].find(aC);
|
|
@@ -13777,7 +13777,7 @@ function sC() {
|
|
|
13777
13777
|
function cC(e) {
|
|
13778
13778
|
let t = e?.math;
|
|
13779
13779
|
if (!t?.remove) return;
|
|
13780
|
-
let n = [...t].filter((e) => (e.state?.() ?? 0) >=
|
|
13780
|
+
let n = [...t].filter((e) => (e.state?.() ?? 0) >= GS && e.typesetRoot?.isConnected === !1);
|
|
13781
13781
|
if (n.length !== 0) {
|
|
13782
13782
|
for (let e of [...n].reverse()) e.clear?.();
|
|
13783
13783
|
t.remove(...n);
|
|
@@ -13805,8 +13805,8 @@ function dC(e) {
|
|
|
13805
13805
|
});
|
|
13806
13806
|
}
|
|
13807
13807
|
function fC(e) {
|
|
13808
|
-
let t = Wb, n = t[
|
|
13809
|
-
return n || (n = dC(e), t[
|
|
13808
|
+
let t = Wb, n = t[BS];
|
|
13809
|
+
return n || (n = dC(e), t[BS] = n), n;
|
|
13810
13810
|
}
|
|
13811
13811
|
function pC(e = {}) {
|
|
13812
13812
|
let t = e.useSingleDollar ?? !1;
|
|
@@ -13827,7 +13827,7 @@ function pC(e = {}) {
|
|
|
13827
13827
|
} catch (e) {
|
|
13828
13828
|
throw i.typesetClear?.([n]), e;
|
|
13829
13829
|
}
|
|
13830
|
-
|
|
13830
|
+
JS(n), TS(n);
|
|
13831
13831
|
}
|
|
13832
13832
|
};
|
|
13833
13833
|
}
|
|
@@ -13878,7 +13878,7 @@ var EC = async (e) => {
|
|
|
13878
13878
|
let n = SC()?.wrapMath?.(e, t);
|
|
13879
13879
|
if (n != null) return n;
|
|
13880
13880
|
let [r, i] = t === "dollar" || t === "double_dollar" ? ["$", "$"] : ["\\(", "\\)"];
|
|
13881
|
-
return `${r}${
|
|
13881
|
+
return `${r}${jS(e)}${i}`;
|
|
13882
13882
|
}, OC = (e) => {
|
|
13883
13883
|
let t = e.trim();
|
|
13884
13884
|
return t.startsWith("\\[") && t.endsWith("\\]") ? {
|
|
@@ -17005,4 +17005,4 @@ var CE = (e) => e ? {
|
|
|
17005
17005
|
//#endregion
|
|
17006
17006
|
export { Zl as $, fb as A, vn as At, oy as B, YC as C, Mi as Ct, OC as D, I as Dt, DC as E, Gr as Et, Iy as F, te as Ft, Hv as G, Gv as H, My as I, O as It, Pm as J, Vv as K, Sy as L, D as Lt, Wy as M, sn as Mt, Uy as N, Wt as Nt, zb as O, Br as Ot, Hy as P, Gt as Pt, lu as Q, xy as R, $C as S, Bi as St, EC as T, Kr as Tt, Wv as U, ay as V, Uv as W, Om as X, km as Y, Ef as Z, Rw as _, Eo as _t, VT as a, Dl as at, Tw as b, ga as bt, bT as c, fs as ct, pT as d, Wo as dt, Xl as et, aT as f, Uo as ft, zw as g, Do as gt, Yw as h, Oo as ht, UT as i, Nl as it, Ky as j, gn as jt, Mb as k, Or as kt, vT as l, Ko as lt, Zw as m, R as mt, gE as n, Kl as nt, DT as o, Ds as ot, nT as p, Fo as pt, mv as q, lE as r, Gl as rt, CT as s, Es as st, AE as t, ql as tt, mT as u, Go as ut, Lw as v, To as vt, MC as w, oi as wt, Cw as x, pa as xt, Nw as y, wo as yt, _y as z };
|
|
17007
17007
|
|
|
17008
|
-
//# sourceMappingURL=horizontal-keypad-
|
|
17008
|
+
//# sourceMappingURL=horizontal-keypad-D71I_hsg.js.map
|