@elmethis/core 1.0.0-alpha.75 → 1.0.0-alpha.76
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/{Bash-DAHQZw3w.js → Bash-WYBLZ6dN.js} +1 -1
- package/dist/{C-BZYvGpR1.js → C-CiL3MgXD.js} +1 -1
- package/dist/{Cpp-By_B8uGA.js → Cpp-DGaYvAdX.js} +1 -1
- package/dist/{Csharp-gs28H_nL.js → Csharp-Ct8d2qVn.js} +1 -1
- package/dist/{Css-xOaohXlg.js → Css-FvuAcu2R.js} +1 -1
- package/dist/{Go-Cqt0p-zb.js → Go-BIJUZ_TS.js} +1 -1
- package/dist/{Html-C0Vi2WCy.js → Html-BBp7OzC3.js} +1 -1
- package/dist/{Java-DY4SHQ5H.js → Java-CEQl7WQm.js} +1 -1
- package/dist/{JavaScript-s3Adt_kP.js → JavaScript-BANAOGhm.js} +1 -1
- package/dist/{Json-aRuZ4gvo.js → Json-DW7kKcVo.js} +1 -1
- package/dist/{Kotlin-C8gLfEYM.js → Kotlin-B2d-LJmQ.js} +1 -1
- package/dist/{Lua-B7sWVfCJ.js → Lua-Bf5jWuVH.js} +1 -1
- package/dist/{Npm-F802ZIXk.js → Npm-Bnp79nRu.js} +1 -1
- package/dist/{Python-Dmr46PmM.js → Python-B9sQZMo4.js} +1 -1
- package/dist/{Rust-CIb3c-hm.js → Rust-CEASRGf_.js} +1 -1
- package/dist/{Sql-KAiUQaW2.js → Sql-CrtzZH3E.js} +1 -1
- package/dist/{Terraform-BYInNKku.js → Terraform-Df8FUB-_.js} +1 -1
- package/dist/{TypeScript-BzXsc5YC.js → TypeScript-BiLUlzzH.js} +1 -1
- package/dist/elmethis.js +2 -2
- package/dist/elmethis.umd.cjs +8 -8
- package/dist/{index-B-7ONtzH.js → index-0aq1vP7u.js} +264 -254
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, openBlock as I, createElementBlock as O, normalizeClass as _, normalizeStyle as W, createElementVNode as L, unref as q, toDisplayString as Ee, ref as
|
|
1
|
+
import { defineComponent as G, openBlock as I, createElementBlock as O, normalizeClass as _, normalizeStyle as W, createElementVNode as L, unref as q, toDisplayString as Ee, ref as Y, watch as Ke, createVNode as Q, Transition as jt, withCtx as _e, defineAsyncComponent as Te, onMounted as Kt, nextTick as h0, onUpdated as Ua, createTextVNode as Yt, getCurrentScope as Xi, onScopeDispose as Zi, readonly as Ki, getCurrentInstance as Wa, isRef as Ji, computed as it, shallowRef as L0, watchEffect as Qi, toRaw as eo, renderSlot as ke, createCommentVNode as Ie, createBlock as Se, resolveDynamicComponent as bt, mergeModels as rn, useModel as nn, Fragment as Oe, renderList as zt, h as de, markRaw as oe } from "vue";
|
|
2
2
|
var Ir = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
3
|
function to(r) {
|
|
4
4
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
@@ -2565,109 +2565,109 @@ const Io = /* @__PURE__ */ G({
|
|
|
2565
2565
|
case "rust":
|
|
2566
2566
|
case "rs":
|
|
2567
2567
|
return Te({
|
|
2568
|
-
loader: () => import("./Rust-
|
|
2568
|
+
loader: () => import("./Rust-CEASRGf_.js"),
|
|
2569
2569
|
loadingComponent: Ae
|
|
2570
2570
|
});
|
|
2571
2571
|
case "javascript":
|
|
2572
2572
|
case "js":
|
|
2573
2573
|
return Te({
|
|
2574
|
-
loader: () => import("./JavaScript-
|
|
2574
|
+
loader: () => import("./JavaScript-BANAOGhm.js"),
|
|
2575
2575
|
loadingComponent: Ae
|
|
2576
2576
|
});
|
|
2577
2577
|
case "typescript":
|
|
2578
2578
|
case "ts":
|
|
2579
2579
|
return Te({
|
|
2580
|
-
loader: () => import("./TypeScript-
|
|
2580
|
+
loader: () => import("./TypeScript-BiLUlzzH.js"),
|
|
2581
2581
|
loadingComponent: Ae
|
|
2582
2582
|
});
|
|
2583
2583
|
case "bash":
|
|
2584
2584
|
case "sh":
|
|
2585
2585
|
case "shell":
|
|
2586
2586
|
return Te({
|
|
2587
|
-
loader: () => import("./Bash-
|
|
2587
|
+
loader: () => import("./Bash-WYBLZ6dN.js"),
|
|
2588
2588
|
loadingComponent: Ae
|
|
2589
2589
|
});
|
|
2590
2590
|
case "tf":
|
|
2591
2591
|
case "terraform":
|
|
2592
2592
|
case "hcl":
|
|
2593
2593
|
return Te({
|
|
2594
|
-
loader: () => import("./Terraform-
|
|
2594
|
+
loader: () => import("./Terraform-Df8FUB-_.js"),
|
|
2595
2595
|
loadingComponent: Ae
|
|
2596
2596
|
});
|
|
2597
2597
|
case "html":
|
|
2598
2598
|
return Te({
|
|
2599
|
-
loader: () => import("./Html-
|
|
2599
|
+
loader: () => import("./Html-BBp7OzC3.js"),
|
|
2600
2600
|
loadingComponent: Ae
|
|
2601
2601
|
});
|
|
2602
2602
|
case "css":
|
|
2603
2603
|
return Te({
|
|
2604
|
-
loader: () => import("./Css-
|
|
2604
|
+
loader: () => import("./Css-FvuAcu2R.js"),
|
|
2605
2605
|
loadingComponent: Ae
|
|
2606
2606
|
});
|
|
2607
2607
|
case "npm":
|
|
2608
2608
|
return Te({
|
|
2609
|
-
loader: () => import("./Npm-
|
|
2609
|
+
loader: () => import("./Npm-Bnp79nRu.js"),
|
|
2610
2610
|
loadingComponent: Ae
|
|
2611
2611
|
});
|
|
2612
2612
|
case "java":
|
|
2613
2613
|
return Te({
|
|
2614
|
-
loader: () => import("./Java-
|
|
2614
|
+
loader: () => import("./Java-CEQl7WQm.js"),
|
|
2615
2615
|
loadingComponent: Ae
|
|
2616
2616
|
});
|
|
2617
2617
|
case "kotlin":
|
|
2618
2618
|
case "kt":
|
|
2619
2619
|
return Te({
|
|
2620
|
-
loader: () => import("./Kotlin-
|
|
2620
|
+
loader: () => import("./Kotlin-B2d-LJmQ.js"),
|
|
2621
2621
|
loadingComponent: Ae
|
|
2622
2622
|
});
|
|
2623
2623
|
case "go":
|
|
2624
2624
|
case "golang":
|
|
2625
2625
|
return Te({
|
|
2626
|
-
loader: () => import("./Go-
|
|
2626
|
+
loader: () => import("./Go-BIJUZ_TS.js"),
|
|
2627
2627
|
loadingComponent: Ae
|
|
2628
2628
|
});
|
|
2629
2629
|
case "python":
|
|
2630
2630
|
case "py":
|
|
2631
2631
|
return Te({
|
|
2632
|
-
loader: () => import("./Python-
|
|
2632
|
+
loader: () => import("./Python-B9sQZMo4.js"),
|
|
2633
2633
|
loadingComponent: Ae
|
|
2634
2634
|
});
|
|
2635
2635
|
case "sql":
|
|
2636
2636
|
return Te({
|
|
2637
|
-
loader: () => import("./Sql-
|
|
2637
|
+
loader: () => import("./Sql-CrtzZH3E.js"),
|
|
2638
2638
|
loadingComponent: Ae
|
|
2639
2639
|
});
|
|
2640
2640
|
case "json":
|
|
2641
2641
|
return Te({
|
|
2642
|
-
loader: () => import("./Json-
|
|
2642
|
+
loader: () => import("./Json-DW7kKcVo.js"),
|
|
2643
2643
|
loadingComponent: Ae
|
|
2644
2644
|
});
|
|
2645
2645
|
case "lua":
|
|
2646
2646
|
return Te({
|
|
2647
|
-
loader: () => import("./Lua-
|
|
2647
|
+
loader: () => import("./Lua-Bf5jWuVH.js"),
|
|
2648
2648
|
loadingComponent: Ae
|
|
2649
2649
|
});
|
|
2650
2650
|
case "cs":
|
|
2651
2651
|
case "csharp":
|
|
2652
2652
|
return Te({
|
|
2653
|
-
loader: () => import("./Csharp-
|
|
2653
|
+
loader: () => import("./Csharp-Ct8d2qVn.js"),
|
|
2654
2654
|
loadingComponent: Ae
|
|
2655
2655
|
});
|
|
2656
2656
|
case "cpp":
|
|
2657
2657
|
case "c++":
|
|
2658
2658
|
return Te({
|
|
2659
|
-
loader: () => import("./Cpp-
|
|
2659
|
+
loader: () => import("./Cpp-DGaYvAdX.js"),
|
|
2660
2660
|
loadingComponent: Ae
|
|
2661
2661
|
});
|
|
2662
2662
|
case "c":
|
|
2663
2663
|
return Te({
|
|
2664
|
-
loader: () => import("./C-
|
|
2664
|
+
loader: () => import("./C-CiL3MgXD.js"),
|
|
2665
2665
|
loadingComponent: Ae
|
|
2666
2666
|
});
|
|
2667
2667
|
default:
|
|
2668
2668
|
return Ae;
|
|
2669
2669
|
}
|
|
2670
|
-
}, n =
|
|
2670
|
+
}, n = Y(t());
|
|
2671
2671
|
return Ke(
|
|
2672
2672
|
() => e.language,
|
|
2673
2673
|
() => {
|
|
@@ -4204,7 +4204,7 @@ const qo = { class: "elmethis-prism-code-highlighter-pre" }, Vo = /* @__PURE__ *
|
|
|
4204
4204
|
language: { default: "txt" }
|
|
4205
4205
|
},
|
|
4206
4206
|
setup(r) {
|
|
4207
|
-
const e =
|
|
4207
|
+
const e = Y(null), t = async () => {
|
|
4208
4208
|
document != null && (Dn.plugins.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/", e.value && Dn.highlightElement(e.value));
|
|
4209
4209
|
};
|
|
4210
4210
|
return Kt(() => {
|
|
@@ -4353,7 +4353,7 @@ function Zo(r) {
|
|
|
4353
4353
|
function Ko(r, e, t = {}) {
|
|
4354
4354
|
const {
|
|
4355
4355
|
immediate: n = !0
|
|
4356
|
-
} = t, a =
|
|
4356
|
+
} = t, a = Y(!1);
|
|
4357
4357
|
let s = null;
|
|
4358
4358
|
function i() {
|
|
4359
4359
|
s && (clearTimeout(s), s = null);
|
|
@@ -4373,7 +4373,7 @@ function Ko(r, e, t = {}) {
|
|
|
4373
4373
|
};
|
|
4374
4374
|
}
|
|
4375
4375
|
const It = an ? window : void 0, Ja = an ? window.navigator : void 0;
|
|
4376
|
-
function
|
|
4376
|
+
function pt(r) {
|
|
4377
4377
|
var e;
|
|
4378
4378
|
const t = $e(r);
|
|
4379
4379
|
return (e = t == null ? void 0 : t.$el) != null ? e : t;
|
|
@@ -4386,7 +4386,7 @@ function Lt(...r) {
|
|
|
4386
4386
|
const s = [], i = () => {
|
|
4387
4387
|
s.forEach((d) => d()), s.length = 0;
|
|
4388
4388
|
}, o = (d, m, g, y) => (d.addEventListener(m, g, y), () => d.removeEventListener(m, g, y)), u = Ke(
|
|
4389
|
-
() => [
|
|
4389
|
+
() => [pt(e), $e(a)],
|
|
4390
4390
|
([d, m]) => {
|
|
4391
4391
|
if (i(), !d)
|
|
4392
4392
|
return;
|
|
@@ -4418,7 +4418,7 @@ function Qo(...r) {
|
|
|
4418
4418
|
}, i);
|
|
4419
4419
|
}
|
|
4420
4420
|
function el() {
|
|
4421
|
-
const r =
|
|
4421
|
+
const r = Y(!1), e = Wa();
|
|
4422
4422
|
return e && Kt(() => {
|
|
4423
4423
|
r.value = !0;
|
|
4424
4424
|
}, e), r;
|
|
@@ -4433,7 +4433,7 @@ function tl(r, e, t = {}) {
|
|
|
4433
4433
|
const i = Qt(() => n && "MutationObserver" in n), o = () => {
|
|
4434
4434
|
s && (s.disconnect(), s = void 0);
|
|
4435
4435
|
}, u = it(() => {
|
|
4436
|
-
const g = $e(r), y = (Array.isArray(g) ? g : [g]).map(
|
|
4436
|
+
const g = $e(r), y = (Array.isArray(g) ? g : [g]).map(pt).filter(Za);
|
|
4437
4437
|
return new Set(y);
|
|
4438
4438
|
}), h = Ke(
|
|
4439
4439
|
() => u.value,
|
|
@@ -4459,7 +4459,7 @@ function rl(r, e, t) {
|
|
|
4459
4459
|
resetOnExecute: o = !0,
|
|
4460
4460
|
shallow: u = !0,
|
|
4461
4461
|
throwError: h
|
|
4462
|
-
} = t ?? {}, d = u ? L0(e) :
|
|
4462
|
+
} = t ?? {}, d = u ? L0(e) : Y(e), m = Y(!1), g = Y(!1), y = L0(void 0);
|
|
4463
4463
|
async function x(j = 0, ...v) {
|
|
4464
4464
|
o && (d.value = e), y.value = void 0, m.value = !1, g.value = !0, j > 0 && await _r(j);
|
|
4465
4465
|
const b = typeof r == "function" ? r(...v) : r;
|
|
@@ -4497,7 +4497,7 @@ function rl(r, e, t) {
|
|
|
4497
4497
|
function nl(r, e = {}) {
|
|
4498
4498
|
const { window: t = It } = e, n = Qt(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
|
|
4499
4499
|
let a;
|
|
4500
|
-
const s =
|
|
4500
|
+
const s = Y(!1), i = (h) => {
|
|
4501
4501
|
s.value = h.matches;
|
|
4502
4502
|
}, o = () => {
|
|
4503
4503
|
a && ("removeEventListener" in a ? a.removeEventListener("change", i) : a.removeListener(i));
|
|
@@ -4544,7 +4544,7 @@ function Qa(r = {}) {
|
|
|
4544
4544
|
source: n,
|
|
4545
4545
|
copiedDuring: a = 1500,
|
|
4546
4546
|
legacy: s = !1
|
|
4547
|
-
} = r, i = Qt(() => e && "clipboard" in e), o = Hn("clipboard-read"), u = Hn("clipboard-write"), h = it(() => i.value || s), d =
|
|
4547
|
+
} = r, i = Qt(() => e && "clipboard" in e), o = Hn("clipboard-read"), u = Hn("clipboard-write"), h = it(() => i.value || s), d = Y(""), m = Y(!1), g = Ko(() => m.value = !1, a);
|
|
4548
4548
|
function y() {
|
|
4549
4549
|
i.value && j(o.value) ? e.clipboard.readText().then((v) => {
|
|
4550
4550
|
d.value = v;
|
|
@@ -4579,7 +4579,7 @@ function al(r, e, t = {}) {
|
|
|
4579
4579
|
s && (s.disconnect(), s = void 0);
|
|
4580
4580
|
}, u = it(() => {
|
|
4581
4581
|
const m = $e(r);
|
|
4582
|
-
return Array.isArray(m) ? m.map((g) =>
|
|
4582
|
+
return Array.isArray(m) ? m.map((g) => pt(g)) : [pt(m)];
|
|
4583
4583
|
}), h = Ke(
|
|
4584
4584
|
u,
|
|
4585
4585
|
(m) => {
|
|
@@ -4605,9 +4605,9 @@ function sl(r, e = {}) {
|
|
|
4605
4605
|
windowScroll: a = !0,
|
|
4606
4606
|
immediate: s = !0,
|
|
4607
4607
|
updateTiming: i = "sync"
|
|
4608
|
-
} = e, o =
|
|
4608
|
+
} = e, o = Y(0), u = Y(0), h = Y(0), d = Y(0), m = Y(0), g = Y(0), y = Y(0), x = Y(0);
|
|
4609
4609
|
function k() {
|
|
4610
|
-
const j =
|
|
4610
|
+
const j = pt(r);
|
|
4611
4611
|
if (!j) {
|
|
4612
4612
|
t && (o.value = 0, u.value = 0, h.value = 0, d.value = 0, m.value = 0, g.value = 0, y.value = 0, x.value = 0);
|
|
4613
4613
|
return;
|
|
@@ -4618,7 +4618,7 @@ function sl(r, e = {}) {
|
|
|
4618
4618
|
function M() {
|
|
4619
4619
|
i === "sync" ? k() : i === "next-frame" && requestAnimationFrame(() => k());
|
|
4620
4620
|
}
|
|
4621
|
-
return al(r, M), Ke(() =>
|
|
4621
|
+
return al(r, M), Ke(() => pt(r), (j) => !j && M()), tl(r, M, {
|
|
4622
4622
|
attributeFilter: ["style", "class"]
|
|
4623
4623
|
}), a && Lt("scroll", M, { capture: !0, passive: !0 }), n && Lt("resize", M, { passive: !0 }), Ka(() => {
|
|
4624
4624
|
s && M();
|
|
@@ -4634,7 +4634,7 @@ function sl(r, e = {}) {
|
|
|
4634
4634
|
update: M
|
|
4635
4635
|
};
|
|
4636
4636
|
}
|
|
4637
|
-
function
|
|
4637
|
+
function ot(r, e, t = {}) {
|
|
4638
4638
|
const {
|
|
4639
4639
|
root: n,
|
|
4640
4640
|
rootMargin: a = "0px",
|
|
@@ -4643,18 +4643,18 @@ function bt(r, e, t = {}) {
|
|
|
4643
4643
|
immediate: o = !0
|
|
4644
4644
|
} = t, u = Qt(() => i && "IntersectionObserver" in i), h = it(() => {
|
|
4645
4645
|
const x = $e(r);
|
|
4646
|
-
return (Array.isArray(x) ? x : [x]).map(
|
|
4646
|
+
return (Array.isArray(x) ? x : [x]).map(pt).filter(Za);
|
|
4647
4647
|
});
|
|
4648
4648
|
let d = Ut;
|
|
4649
|
-
const m =
|
|
4650
|
-
() => [h.value,
|
|
4649
|
+
const m = Y(o), g = u.value ? Ke(
|
|
4650
|
+
() => [h.value, pt(n), m.value],
|
|
4651
4651
|
([x, k]) => {
|
|
4652
4652
|
if (d(), !m.value || !x.length)
|
|
4653
4653
|
return;
|
|
4654
4654
|
const M = new IntersectionObserver(
|
|
4655
4655
|
e,
|
|
4656
4656
|
{
|
|
4657
|
-
root:
|
|
4657
|
+
root: pt(k),
|
|
4658
4658
|
rootMargin: a,
|
|
4659
4659
|
threshold: s
|
|
4660
4660
|
}
|
|
@@ -4704,10 +4704,10 @@ function es(r = {}) {
|
|
|
4704
4704
|
const { window: e = It, behavior: t = "auto" } = r;
|
|
4705
4705
|
if (!e)
|
|
4706
4706
|
return {
|
|
4707
|
-
x:
|
|
4708
|
-
y:
|
|
4707
|
+
x: Y(0),
|
|
4708
|
+
y: Y(0)
|
|
4709
4709
|
};
|
|
4710
|
-
const n =
|
|
4710
|
+
const n = Y(e.scrollX), a = Y(e.scrollY), s = it({
|
|
4711
4711
|
get() {
|
|
4712
4712
|
return n.value;
|
|
4713
4713
|
},
|
|
@@ -4742,7 +4742,7 @@ function ll(r = {}) {
|
|
|
4742
4742
|
listenOrientation: a = !0,
|
|
4743
4743
|
includeScrollbar: s = !0,
|
|
4744
4744
|
type: i = "inner"
|
|
4745
|
-
} = r, o =
|
|
4745
|
+
} = r, o = Y(t), u = Y(n), h = () => {
|
|
4746
4746
|
e && (i === "outer" ? (o.value = e.outerWidth, u.value = e.outerHeight) : s ? (o.value = e.innerWidth, u.value = e.innerHeight) : (o.value = e.document.documentElement.clientWidth, u.value = e.document.documentElement.clientHeight));
|
|
4747
4747
|
};
|
|
4748
4748
|
if (h(), Ka(h), Lt("resize", h, { passive: !0 }), a) {
|
|
@@ -4754,7 +4754,7 @@ function ll(r = {}) {
|
|
|
4754
4754
|
const ul = /* @__PURE__ */ G({
|
|
4755
4755
|
__name: "ElmTooltip",
|
|
4756
4756
|
setup(r) {
|
|
4757
|
-
const e =
|
|
4757
|
+
const e = Y(null), { x: t, y: n, width: a, height: s } = sl(e), i = ll(), o = Y(!1);
|
|
4758
4758
|
return (u, h) => (I(), O("span", {
|
|
4759
4759
|
ref_key: "el",
|
|
4760
4760
|
ref: e,
|
|
@@ -4823,7 +4823,7 @@ const ul = /* @__PURE__ */ G({
|
|
|
4823
4823
|
], 2),
|
|
4824
4824
|
Q(sn, null, {
|
|
4825
4825
|
original: _e(() => [
|
|
4826
|
-
(I(), Se(
|
|
4826
|
+
(I(), Se(bt(q(n) ? q(bo) : q(xo)), {
|
|
4827
4827
|
class: _(a.$style["copy-icon"]),
|
|
4828
4828
|
onClick: s[0] || (s[0] = () => {
|
|
4829
4829
|
q(t)(a.code);
|
|
@@ -5161,7 +5161,7 @@ class St {
|
|
|
5161
5161
|
return this.size >= 2;
|
|
5162
5162
|
}
|
|
5163
5163
|
}
|
|
5164
|
-
var ln = 0, P0 = 1, Wt = 2,
|
|
5164
|
+
var ln = 0, P0 = 1, Wt = 2, mt = 3, p0 = 4, Xe = 5, Xt = 6, Fe = 7, at = [new St(ln, 0, !1), new St(P0, 0, !0), new St(Wt, 1, !1), new St(mt, 1, !0), new St(p0, 2, !1), new St(Xe, 2, !0), new St(Xt, 3, !1), new St(Fe, 3, !0)], $l = [p0, Xe, p0, Xe, Xt, Fe, Xt, Fe], Il = [Xe, Xe, Xe, Xe, Fe, Fe, Fe, Fe], _l = [Wt, mt, p0, Xe, Xt, Fe, Xt, Fe], Ol = [mt, mt, Xe, Xe, Fe, Fe, Fe, Fe], Bl = [P0, P0, mt, mt, Xe, Xe, Fe, Fe], Rl = [ln, P0, Wt, mt, Wt, mt, Wt, mt], Z = {
|
|
5165
5165
|
DISPLAY: at[ln],
|
|
5166
5166
|
TEXT: at[Wt],
|
|
5167
5167
|
SCRIPT: at[p0],
|
|
@@ -7991,7 +7991,7 @@ var Zl = [
|
|
|
7991
7991
|
], qn = function(e, t) {
|
|
7992
7992
|
return t.size < 2 ? e : Zl[e - 1][t.size - 1];
|
|
7993
7993
|
};
|
|
7994
|
-
class
|
|
7994
|
+
class ht {
|
|
7995
7995
|
// A font family applies to a group of fonts (i.e. SansSerif), while a font
|
|
7996
7996
|
// represents a specific font (i.e. SansSerif Bold).
|
|
7997
7997
|
// See: https://tex.stackexchange.com/questions/22350/difference-between-textrm-and-mathrm
|
|
@@ -7999,7 +7999,7 @@ class dt {
|
|
|
7999
7999
|
* The base size index.
|
|
8000
8000
|
*/
|
|
8001
8001
|
constructor(e) {
|
|
8002
|
-
this.style = void 0, this.color = void 0, this.size = void 0, this.textSize = void 0, this.phantom = void 0, this.font = void 0, this.fontFamily = void 0, this.fontWeight = void 0, this.fontShape = void 0, this.sizeMultiplier = void 0, this.maxSize = void 0, this.minRuleThickness = void 0, this._fontMetrics = void 0, this.style = e.style, this.color = e.color, this.size = e.size ||
|
|
8002
|
+
this.style = void 0, this.color = void 0, this.size = void 0, this.textSize = void 0, this.phantom = void 0, this.font = void 0, this.fontFamily = void 0, this.fontWeight = void 0, this.fontShape = void 0, this.sizeMultiplier = void 0, this.maxSize = void 0, this.minRuleThickness = void 0, this._fontMetrics = void 0, this.style = e.style, this.color = e.color, this.size = e.size || ht.BASESIZE, this.textSize = e.textSize || this.size, this.phantom = !!e.phantom, this.font = e.font || "", this.fontFamily = e.fontFamily || "", this.fontWeight = e.fontWeight || "", this.fontShape = e.fontShape || "", this.sizeMultiplier = Pn[this.size - 1], this.maxSize = e.maxSize, this.minRuleThickness = e.minRuleThickness, this._fontMetrics = void 0;
|
|
8003
8003
|
}
|
|
8004
8004
|
/**
|
|
8005
8005
|
* Returns a new options object with the same properties as "this". Properties
|
|
@@ -8021,7 +8021,7 @@ class dt {
|
|
|
8021
8021
|
};
|
|
8022
8022
|
for (var n in e)
|
|
8023
8023
|
e.hasOwnProperty(n) && (t[n] = e[n]);
|
|
8024
|
-
return new
|
|
8024
|
+
return new ht(t);
|
|
8025
8025
|
}
|
|
8026
8026
|
/**
|
|
8027
8027
|
* Return an options object with the given style. If `this.style === style`,
|
|
@@ -8058,8 +8058,8 @@ class dt {
|
|
|
8058
8058
|
*/
|
|
8059
8059
|
havingBaseStyle(e) {
|
|
8060
8060
|
e = e || this.style.text();
|
|
8061
|
-
var t = qn(
|
|
8062
|
-
return this.size === t && this.textSize ===
|
|
8061
|
+
var t = qn(ht.BASESIZE, e);
|
|
8062
|
+
return this.size === t && this.textSize === ht.BASESIZE && this.style === e ? this : this.extend({
|
|
8063
8063
|
style: e,
|
|
8064
8064
|
size: t
|
|
8065
8065
|
});
|
|
@@ -8151,7 +8151,7 @@ class dt {
|
|
|
8151
8151
|
* `this.havingSize(BASESIZE).sizingClasses(this)`.
|
|
8152
8152
|
*/
|
|
8153
8153
|
baseSizingClasses() {
|
|
8154
|
-
return this.size !==
|
|
8154
|
+
return this.size !== ht.BASESIZE ? ["sizing", "reset-size" + this.size, "size" + ht.BASESIZE] : [];
|
|
8155
8155
|
}
|
|
8156
8156
|
/**
|
|
8157
8157
|
* Return the font metrics for this size.
|
|
@@ -8166,7 +8166,7 @@ class dt {
|
|
|
8166
8166
|
return this.phantom ? "transparent" : this.color;
|
|
8167
8167
|
}
|
|
8168
8168
|
}
|
|
8169
|
-
|
|
8169
|
+
ht.BASESIZE = 6;
|
|
8170
8170
|
var Rr = {
|
|
8171
8171
|
// https://en.wikibooks.org/wiki/LaTeX/Lengths and
|
|
8172
8172
|
// https://tex.stackexchange.com/a/8263
|
|
@@ -8354,7 +8354,7 @@ class Je {
|
|
|
8354
8354
|
return e ? (t += ">", t += s, t += "</span>", t) : s;
|
|
8355
8355
|
}
|
|
8356
8356
|
}
|
|
8357
|
-
class
|
|
8357
|
+
class vt {
|
|
8358
8358
|
constructor(e, t) {
|
|
8359
8359
|
this.children = void 0, this.attributes = void 0, this.children = e || [], this.attributes = t || {};
|
|
8360
8360
|
}
|
|
@@ -8439,7 +8439,7 @@ function l(r, e, t, n, a, s) {
|
|
|
8439
8439
|
replace: n
|
|
8440
8440
|
}, s && n && (ue[r][n] = ue[r][a]);
|
|
8441
8441
|
}
|
|
8442
|
-
var c = "math", B = "text", p = "main", w = "ams", ce = "accent-token", V = "bin", De = "close", e0 = "inner",
|
|
8442
|
+
var c = "math", B = "text", p = "main", w = "ams", ce = "accent-token", V = "bin", De = "close", e0 = "inner", X = "mathord", Me = "op-token", Ge = "open", K0 = "punct", S = "rel", xt = "spacing", z = "textord";
|
|
8443
8443
|
l(c, p, S, "≡", "\\equiv", !0);
|
|
8444
8444
|
l(c, p, S, "≺", "\\prec", !0);
|
|
8445
8445
|
l(c, p, S, "≻", "\\succ", !0);
|
|
@@ -8804,36 +8804,36 @@ l(c, p, z, "⊤", "\\top");
|
|
|
8804
8804
|
l(c, p, z, "⊥", "\\bot");
|
|
8805
8805
|
l(c, p, z, "∅", "\\emptyset");
|
|
8806
8806
|
l(c, w, z, "∅", "\\varnothing");
|
|
8807
|
-
l(c, p,
|
|
8808
|
-
l(c, p,
|
|
8809
|
-
l(c, p,
|
|
8810
|
-
l(c, p,
|
|
8811
|
-
l(c, p,
|
|
8812
|
-
l(c, p,
|
|
8813
|
-
l(c, p,
|
|
8814
|
-
l(c, p,
|
|
8815
|
-
l(c, p,
|
|
8816
|
-
l(c, p,
|
|
8817
|
-
l(c, p,
|
|
8818
|
-
l(c, p,
|
|
8819
|
-
l(c, p,
|
|
8820
|
-
l(c, p,
|
|
8821
|
-
l(c, p,
|
|
8822
|
-
l(c, p,
|
|
8823
|
-
l(c, p,
|
|
8824
|
-
l(c, p,
|
|
8825
|
-
l(c, p,
|
|
8826
|
-
l(c, p,
|
|
8827
|
-
l(c, p,
|
|
8828
|
-
l(c, p,
|
|
8829
|
-
l(c, p,
|
|
8830
|
-
l(c, p,
|
|
8831
|
-
l(c, p,
|
|
8832
|
-
l(c, p,
|
|
8833
|
-
l(c, p,
|
|
8834
|
-
l(c, p,
|
|
8835
|
-
l(c, p,
|
|
8836
|
-
l(c, p,
|
|
8807
|
+
l(c, p, X, "α", "\\alpha", !0);
|
|
8808
|
+
l(c, p, X, "β", "\\beta", !0);
|
|
8809
|
+
l(c, p, X, "γ", "\\gamma", !0);
|
|
8810
|
+
l(c, p, X, "δ", "\\delta", !0);
|
|
8811
|
+
l(c, p, X, "ϵ", "\\epsilon", !0);
|
|
8812
|
+
l(c, p, X, "ζ", "\\zeta", !0);
|
|
8813
|
+
l(c, p, X, "η", "\\eta", !0);
|
|
8814
|
+
l(c, p, X, "θ", "\\theta", !0);
|
|
8815
|
+
l(c, p, X, "ι", "\\iota", !0);
|
|
8816
|
+
l(c, p, X, "κ", "\\kappa", !0);
|
|
8817
|
+
l(c, p, X, "λ", "\\lambda", !0);
|
|
8818
|
+
l(c, p, X, "μ", "\\mu", !0);
|
|
8819
|
+
l(c, p, X, "ν", "\\nu", !0);
|
|
8820
|
+
l(c, p, X, "ξ", "\\xi", !0);
|
|
8821
|
+
l(c, p, X, "ο", "\\omicron", !0);
|
|
8822
|
+
l(c, p, X, "π", "\\pi", !0);
|
|
8823
|
+
l(c, p, X, "ρ", "\\rho", !0);
|
|
8824
|
+
l(c, p, X, "σ", "\\sigma", !0);
|
|
8825
|
+
l(c, p, X, "τ", "\\tau", !0);
|
|
8826
|
+
l(c, p, X, "υ", "\\upsilon", !0);
|
|
8827
|
+
l(c, p, X, "ϕ", "\\phi", !0);
|
|
8828
|
+
l(c, p, X, "χ", "\\chi", !0);
|
|
8829
|
+
l(c, p, X, "ψ", "\\psi", !0);
|
|
8830
|
+
l(c, p, X, "ω", "\\omega", !0);
|
|
8831
|
+
l(c, p, X, "ε", "\\varepsilon", !0);
|
|
8832
|
+
l(c, p, X, "ϑ", "\\vartheta", !0);
|
|
8833
|
+
l(c, p, X, "ϖ", "\\varpi", !0);
|
|
8834
|
+
l(c, p, X, "ϱ", "\\varrho", !0);
|
|
8835
|
+
l(c, p, X, "ς", "\\varsigma", !0);
|
|
8836
|
+
l(c, p, X, "φ", "\\varphi", !0);
|
|
8837
8837
|
l(c, p, V, "∗", "*", !0);
|
|
8838
8838
|
l(c, p, V, "+", "+");
|
|
8839
8839
|
l(c, p, V, "−", "-", !0);
|
|
@@ -8984,8 +8984,8 @@ l(c, p, ce, "^", "\\hat");
|
|
|
8984
8984
|
l(c, p, ce, "⃗", "\\vec");
|
|
8985
8985
|
l(c, p, ce, "˙", "\\dot");
|
|
8986
8986
|
l(c, p, ce, "˚", "\\mathring");
|
|
8987
|
-
l(c, p,
|
|
8988
|
-
l(c, p,
|
|
8987
|
+
l(c, p, X, "", "\\@imath");
|
|
8988
|
+
l(c, p, X, "", "\\@jmath");
|
|
8989
8989
|
l(c, p, z, "ı", "ı");
|
|
8990
8990
|
l(c, p, z, "ȷ", "ȷ");
|
|
8991
8991
|
l(B, p, z, "ı", "\\i", !0);
|
|
@@ -9050,7 +9050,7 @@ for (var pr = 0; pr < Wn.length; pr++) {
|
|
|
9050
9050
|
var q0 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
|
|
9051
9051
|
for (var mr = 0; mr < q0.length; mr++) {
|
|
9052
9052
|
var A0 = q0.charAt(mr);
|
|
9053
|
-
l(c, p,
|
|
9053
|
+
l(c, p, X, A0, A0), l(B, p, z, A0, A0);
|
|
9054
9054
|
}
|
|
9055
9055
|
l(c, w, z, "C", "ℂ");
|
|
9056
9056
|
l(B, w, z, "C", "ℂ");
|
|
@@ -9066,24 +9066,24 @@ l(c, w, z, "R", "ℝ");
|
|
|
9066
9066
|
l(B, w, z, "R", "ℝ");
|
|
9067
9067
|
l(c, w, z, "Z", "ℤ");
|
|
9068
9068
|
l(B, w, z, "Z", "ℤ");
|
|
9069
|
-
l(c, p,
|
|
9070
|
-
l(B, p,
|
|
9069
|
+
l(c, p, X, "h", "ℎ");
|
|
9070
|
+
l(B, p, X, "h", "ℎ");
|
|
9071
9071
|
var K = "";
|
|
9072
9072
|
for (var Re = 0; Re < q0.length; Re++) {
|
|
9073
9073
|
var ve = q0.charAt(Re);
|
|
9074
|
-
K = String.fromCharCode(55349, 56320 + Re), l(c, p,
|
|
9074
|
+
K = String.fromCharCode(55349, 56320 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), K = String.fromCharCode(55349, 56372 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), K = String.fromCharCode(55349, 56424 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), K = String.fromCharCode(55349, 56580 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), K = String.fromCharCode(55349, 56684 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), K = String.fromCharCode(55349, 56736 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), K = String.fromCharCode(55349, 56788 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), K = String.fromCharCode(55349, 56840 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), K = String.fromCharCode(55349, 56944 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), Re < 26 && (K = String.fromCharCode(55349, 56632 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K), K = String.fromCharCode(55349, 56476 + Re), l(c, p, X, ve, K), l(B, p, z, ve, K));
|
|
9075
9075
|
}
|
|
9076
9076
|
K = "𝕜";
|
|
9077
|
-
l(c, p,
|
|
9077
|
+
l(c, p, X, "k", K);
|
|
9078
9078
|
l(B, p, z, "k", K);
|
|
9079
9079
|
for (var Ft = 0; Ft < 10; Ft++) {
|
|
9080
9080
|
var Mt = Ft.toString();
|
|
9081
|
-
K = String.fromCharCode(55349, 57294 + Ft), l(c, p,
|
|
9081
|
+
K = String.fromCharCode(55349, 57294 + Ft), l(c, p, X, Mt, K), l(B, p, z, Mt, K), K = String.fromCharCode(55349, 57314 + Ft), l(c, p, X, Mt, K), l(B, p, z, Mt, K), K = String.fromCharCode(55349, 57324 + Ft), l(c, p, X, Mt, K), l(B, p, z, Mt, K), K = String.fromCharCode(55349, 57334 + Ft), l(c, p, X, Mt, K), l(B, p, z, Mt, K);
|
|
9082
9082
|
}
|
|
9083
9083
|
var Dr = "ÐÞþ";
|
|
9084
9084
|
for (var fr = 0; fr < Dr.length; fr++) {
|
|
9085
9085
|
var j0 = Dr.charAt(fr);
|
|
9086
|
-
l(c, p,
|
|
9086
|
+
l(c, p, X, j0, j0), l(B, p, z, j0, j0);
|
|
9087
9087
|
}
|
|
9088
9088
|
var z0 = [
|
|
9089
9089
|
["mathbf", "textbf", "Main-Bold"],
|
|
@@ -9429,7 +9429,7 @@ var z0 = [
|
|
|
9429
9429
|
oiiintSize1: ["oiiintSize1", 1.304, 0.499],
|
|
9430
9430
|
oiiintSize2: ["oiiintSize2", 1.98, 0.659]
|
|
9431
9431
|
}, f1 = function(e, t) {
|
|
9432
|
-
var [n, a, s] = hs[e], i = new Et(n), o = new
|
|
9432
|
+
var [n, a, s] = hs[e], i = new Et(n), o = new vt([i], {
|
|
9433
9433
|
width: N(a),
|
|
9434
9434
|
height: N(s),
|
|
9435
9435
|
// Override CSS rule `.katex svg { width: 100% }`
|
|
@@ -9460,20 +9460,20 @@ var z0 = [
|
|
|
9460
9460
|
}, Dt = {
|
|
9461
9461
|
number: 4,
|
|
9462
9462
|
unit: "mu"
|
|
9463
|
-
},
|
|
9463
|
+
}, dt = {
|
|
9464
9464
|
number: 5,
|
|
9465
9465
|
unit: "mu"
|
|
9466
9466
|
}, v1 = {
|
|
9467
9467
|
mord: {
|
|
9468
9468
|
mop: he,
|
|
9469
9469
|
mbin: Dt,
|
|
9470
|
-
mrel:
|
|
9470
|
+
mrel: dt,
|
|
9471
9471
|
minner: he
|
|
9472
9472
|
},
|
|
9473
9473
|
mop: {
|
|
9474
9474
|
mord: he,
|
|
9475
9475
|
mop: he,
|
|
9476
|
-
mrel:
|
|
9476
|
+
mrel: dt,
|
|
9477
9477
|
minner: he
|
|
9478
9478
|
},
|
|
9479
9479
|
mbin: {
|
|
@@ -9483,22 +9483,22 @@ var z0 = [
|
|
|
9483
9483
|
minner: Dt
|
|
9484
9484
|
},
|
|
9485
9485
|
mrel: {
|
|
9486
|
-
mord:
|
|
9487
|
-
mop:
|
|
9488
|
-
mopen:
|
|
9489
|
-
minner:
|
|
9486
|
+
mord: dt,
|
|
9487
|
+
mop: dt,
|
|
9488
|
+
mopen: dt,
|
|
9489
|
+
minner: dt
|
|
9490
9490
|
},
|
|
9491
9491
|
mopen: {},
|
|
9492
9492
|
mclose: {
|
|
9493
9493
|
mop: he,
|
|
9494
9494
|
mbin: Dt,
|
|
9495
|
-
mrel:
|
|
9495
|
+
mrel: dt,
|
|
9496
9496
|
minner: he
|
|
9497
9497
|
},
|
|
9498
9498
|
mpunct: {
|
|
9499
9499
|
mord: he,
|
|
9500
9500
|
mop: he,
|
|
9501
|
-
mrel:
|
|
9501
|
+
mrel: dt,
|
|
9502
9502
|
mopen: he,
|
|
9503
9503
|
mclose: he,
|
|
9504
9504
|
mpunct: he,
|
|
@@ -9508,7 +9508,7 @@ var z0 = [
|
|
|
9508
9508
|
mord: he,
|
|
9509
9509
|
mop: he,
|
|
9510
9510
|
mbin: Dt,
|
|
9511
|
-
mrel:
|
|
9511
|
+
mrel: dt,
|
|
9512
9512
|
mopen: he,
|
|
9513
9513
|
mpunct: he,
|
|
9514
9514
|
minner: he
|
|
@@ -9578,11 +9578,11 @@ var U0 = function(e) {
|
|
|
9578
9578
|
return e.type === "ordgroup" && e.body.length === 1 ? e.body[0] : e;
|
|
9579
9579
|
}, xe = function(e) {
|
|
9580
9580
|
return e.type === "ordgroup" ? e.body : [e];
|
|
9581
|
-
},
|
|
9582
|
-
display:
|
|
9583
|
-
text:
|
|
9584
|
-
script:
|
|
9585
|
-
scriptscript:
|
|
9581
|
+
}, yt = C.makeSpan, g1 = ["leftmost", "mbin", "mopen", "mrel", "mop", "mpunct"], b1 = ["rightmost", "mrel", "mclose", "mpunct"], x1 = {
|
|
9582
|
+
display: Z.DISPLAY,
|
|
9583
|
+
text: Z.TEXT,
|
|
9584
|
+
script: Z.SCRIPT,
|
|
9585
|
+
scriptscript: Z.SCRIPTSCRIPT
|
|
9586
9586
|
}, w1 = {
|
|
9587
9587
|
mord: "mord",
|
|
9588
9588
|
mop: "mop",
|
|
@@ -9609,7 +9609,7 @@ var U0 = function(e) {
|
|
|
9609
9609
|
var d = e[0];
|
|
9610
9610
|
d.type === "sizing" ? h = t.havingSize(d.size) : d.type === "styling" && (h = t.havingStyle(x1[d.style]));
|
|
9611
9611
|
}
|
|
9612
|
-
var m =
|
|
9612
|
+
var m = yt([a[0] || "leftmost"], [], t), g = yt([a[1] || "rightmost"], [], t), y = n === "root";
|
|
9613
9613
|
return Zn(s, (x, k) => {
|
|
9614
9614
|
var M = k.classes[0], j = x.classes[0];
|
|
9615
9615
|
M === "mbin" && U.contains(b1, j) ? k.classes[0] = "mord" : j === "mbin" && U.contains(g1, M) && (x.classes[0] = "mord");
|
|
@@ -9635,7 +9635,7 @@ var U0 = function(e) {
|
|
|
9635
9635
|
var d = t(o, n.node);
|
|
9636
9636
|
d && (n.insertAfter ? n.insertAfter(d) : (e.unshift(d), i++));
|
|
9637
9637
|
}
|
|
9638
|
-
h ? n.node = o : s && o.hasClass("newline") && (n.node =
|
|
9638
|
+
h ? n.node = o : s && o.hasClass("newline") && (n.node = yt(["leftmost"])), n.insertAfter = /* @__PURE__ */ ((m) => (g) => {
|
|
9639
9639
|
e.splice(m + 1, 0, g), i++;
|
|
9640
9640
|
})(i);
|
|
9641
9641
|
}
|
|
@@ -9658,14 +9658,14 @@ var U0 = function(e) {
|
|
|
9658
9658
|
return e ? (t && (e = k1(e, t)), w1[e.classes[0]] || null) : null;
|
|
9659
9659
|
}, m0 = function(e, t) {
|
|
9660
9660
|
var n = ["nulldelimiter"].concat(e.baseSizingClasses());
|
|
9661
|
-
return
|
|
9661
|
+
return yt(t.concat(n));
|
|
9662
9662
|
}, ne = function(e, t, n) {
|
|
9663
9663
|
if (!e)
|
|
9664
|
-
return
|
|
9664
|
+
return yt();
|
|
9665
9665
|
if (V0[e.type]) {
|
|
9666
9666
|
var a = V0[e.type](e, t);
|
|
9667
9667
|
if (n && t.size !== n.size) {
|
|
9668
|
-
a =
|
|
9668
|
+
a = yt(t.sizingClasses(n), [a], t);
|
|
9669
9669
|
var s = t.sizeMultiplier / n.sizeMultiplier;
|
|
9670
9670
|
a.height *= s, a.depth *= s;
|
|
9671
9671
|
}
|
|
@@ -9674,7 +9674,7 @@ var U0 = function(e) {
|
|
|
9674
9674
|
throw new H("Got group of unknown type: '" + e.type + "'");
|
|
9675
9675
|
};
|
|
9676
9676
|
function E0(r, e) {
|
|
9677
|
-
var t =
|
|
9677
|
+
var t = yt(["base"], r, e), n = yt(["strut"]);
|
|
9678
9678
|
return n.style.height = N(t.height + t.depth), t.depth && (n.style.verticalAlign = N(-t.depth)), t.children.unshift(n), t;
|
|
9679
9679
|
}
|
|
9680
9680
|
function Lr(r, e) {
|
|
@@ -9691,7 +9691,7 @@ function Lr(r, e) {
|
|
|
9691
9691
|
i.length > 0 && s.push(E0(i, e));
|
|
9692
9692
|
var h;
|
|
9693
9693
|
t ? (h = E0(je(t, e, !0)), h.classes = ["tag"], s.push(h)) : a && s.push(a);
|
|
9694
|
-
var d =
|
|
9694
|
+
var d = yt(["katex-html"], s);
|
|
9695
9695
|
if (d.setAttribute("aria-hidden", "true"), h) {
|
|
9696
9696
|
var m = h.children[0];
|
|
9697
9697
|
m.style.height = N(d.height + d.depth), d.depth && (m.style.verticalAlign = N(-d.depth));
|
|
@@ -9902,8 +9902,8 @@ function Kn(r, e, t, n, a) {
|
|
|
9902
9902
|
return C.makeSpan([d], [h]);
|
|
9903
9903
|
}
|
|
9904
9904
|
var vs = function(e) {
|
|
9905
|
-
return new
|
|
9906
|
-
style: e.displayMode ?
|
|
9905
|
+
return new ht({
|
|
9906
|
+
style: e.displayMode ? Z.DISPLAY : Z.TEXT,
|
|
9907
9907
|
maxSize: e.maxSize,
|
|
9908
9908
|
minRuleThickness: e.minRuleThickness
|
|
9909
9909
|
});
|
|
@@ -10036,7 +10036,7 @@ var vs = function(e) {
|
|
|
10036
10036
|
var x = [1, 1, 2, 2, 3, 3][d];
|
|
10037
10037
|
u === "widehat" || u === "widecheck" ? (o = [0, 1062, 2364, 2364, 2364][x], m = [0, 239, 300, 360, 420][x], y = [0, 0.24, 0.3, 0.3, 0.36, 0.42][x], g = u + x) : (o = [0, 600, 1033, 2339, 2340][x], m = [0, 260, 286, 306, 312][x], y = [0, 0.26, 0.286, 0.3, 0.306, 0.34][x], g = "tilde" + x);
|
|
10038
10038
|
}
|
|
10039
|
-
var k = new Et(g), M = new
|
|
10039
|
+
var k = new Et(g), M = new vt([k], {
|
|
10040
10040
|
width: "100%",
|
|
10041
10041
|
height: N(y),
|
|
10042
10042
|
viewBox: "0 0 " + o + " " + m,
|
|
@@ -10060,7 +10060,7 @@ var vs = function(e) {
|
|
|
10060
10060
|
throw new Error(`Correct katexImagesData or update code here to support
|
|
10061
10061
|
` + $ + " children.");
|
|
10062
10062
|
for (var re = 0; re < $; re++) {
|
|
10063
|
-
var ae = new Et(b[re]), qe = new
|
|
10063
|
+
var ae = new Et(b[re]), qe = new vt([ae], {
|
|
10064
10064
|
width: "400em",
|
|
10065
10065
|
height: N(E),
|
|
10066
10066
|
viewBox: "0 0 " + o + " " + T,
|
|
@@ -10109,14 +10109,14 @@ var vs = function(e) {
|
|
|
10109
10109
|
y2: "0",
|
|
10110
10110
|
"stroke-width": "0.046em"
|
|
10111
10111
|
}));
|
|
10112
|
-
var d = new
|
|
10112
|
+
var d = new vt(h, {
|
|
10113
10113
|
width: "100%",
|
|
10114
10114
|
height: N(o)
|
|
10115
10115
|
});
|
|
10116
10116
|
i = C.makeSvgSpan([], [d], s);
|
|
10117
10117
|
}
|
|
10118
10118
|
return i.height = o, i.style.height = N(o), i;
|
|
10119
|
-
},
|
|
10119
|
+
}, gt = {
|
|
10120
10120
|
encloseSpan: $1,
|
|
10121
10121
|
mathMLnode: z1,
|
|
10122
10122
|
svgSpan: C1
|
|
@@ -10145,7 +10145,7 @@ var fn = (r, e) => {
|
|
|
10145
10145
|
}
|
|
10146
10146
|
var d = n.label === "\\c", m = d ? s.height + s.depth : Math.min(s.height, e.fontMetrics().xHeight), g;
|
|
10147
10147
|
if (n.isStretchy)
|
|
10148
|
-
g =
|
|
10148
|
+
g = gt.svgSpan(n, e), g = C.makeVList({
|
|
10149
10149
|
positionType: "firstBaseline",
|
|
10150
10150
|
children: [{
|
|
10151
10151
|
type: "elem",
|
|
@@ -10186,7 +10186,7 @@ var fn = (r, e) => {
|
|
|
10186
10186
|
var j = C.makeSpan(["mord", "accent"], [g], e);
|
|
10187
10187
|
return a ? (a.children[0] = j, a.height = Math.max(j.height, a.height), a.classes[0] = "mord", a) : j;
|
|
10188
10188
|
}, gs = (r, e) => {
|
|
10189
|
-
var t = r.isStretchy ?
|
|
10189
|
+
var t = r.isStretchy ? gt.mathMLnode(r.label) : new F.MathNode("mo", [Qe(r.label, r.mode)]), n = new F.MathNode("mover", [le(r.base, e), t]);
|
|
10190
10190
|
return n.setAttribute("accent", "true"), n;
|
|
10191
10191
|
}, I1 = new RegExp(["\\acute", "\\grave", "\\ddot", "\\tilde", "\\bar", "\\breve", "\\check", "\\hat", "\\vec", "\\dot", "\\mathring"].map((r) => "\\" + r).join("|"));
|
|
10192
10192
|
P({
|
|
@@ -10252,7 +10252,7 @@ P({
|
|
|
10252
10252
|
};
|
|
10253
10253
|
},
|
|
10254
10254
|
htmlBuilder: (r, e) => {
|
|
10255
|
-
var t = ne(r.base, e), n =
|
|
10255
|
+
var t = ne(r.base, e), n = gt.svgSpan(r, e), a = r.label === "\\utilde" ? 0.12 : 0, s = C.makeVList({
|
|
10256
10256
|
positionType: "top",
|
|
10257
10257
|
positionData: t.height,
|
|
10258
10258
|
children: [{
|
|
@@ -10270,7 +10270,7 @@ P({
|
|
|
10270
10270
|
return C.makeSpan(["mord", "accentunder"], [s], e);
|
|
10271
10271
|
},
|
|
10272
10272
|
mathmlBuilder: (r, e) => {
|
|
10273
|
-
var t =
|
|
10273
|
+
var t = gt.mathMLnode(r.label), n = new F.MathNode("munder", [le(r.base, e), t]);
|
|
10274
10274
|
return n.setAttribute("accentunder", "true"), n;
|
|
10275
10275
|
}
|
|
10276
10276
|
});
|
|
@@ -10334,7 +10334,7 @@ P({
|
|
|
10334
10334
|
a.classes.push(s + "-arrow-pad");
|
|
10335
10335
|
var i;
|
|
10336
10336
|
r.below && (n = e.havingStyle(t.sub()), i = C.wrapFragment(ne(r.below, n, e), e), i.classes.push(s + "-arrow-pad"));
|
|
10337
|
-
var o =
|
|
10337
|
+
var o = gt.svgSpan(r, e), u = -e.fontMetrics().axisHeight + 0.5 * o.height, h = -e.fontMetrics().axisHeight - 0.5 * o.height - 0.111;
|
|
10338
10338
|
(a.depth > 0.25 || r.label === "\\xleftequilibrium") && (h -= a.depth);
|
|
10339
10339
|
var d;
|
|
10340
10340
|
if (i) {
|
|
@@ -10371,7 +10371,7 @@ P({
|
|
|
10371
10371
|
return d.children[0].children[0].children[1].classes.push("svg-align"), C.makeSpan(["mrel", "x-arrow"], [d], e);
|
|
10372
10372
|
},
|
|
10373
10373
|
mathmlBuilder(r, e) {
|
|
10374
|
-
var t =
|
|
10374
|
+
var t = gt.mathMLnode(r.label);
|
|
10375
10375
|
t.setAttribute("minsize", r.label.charAt(0) === "x" ? "1.75em" : "3.0em");
|
|
10376
10376
|
var n;
|
|
10377
10377
|
if (r.body) {
|
|
@@ -10960,8 +10960,8 @@ var l0 = function(e, t, n) {
|
|
|
10960
10960
|
}, L1 = function(e, t, n, a) {
|
|
10961
10961
|
return C.makeSymbol(e, "Size" + t + "-Regular", n, a);
|
|
10962
10962
|
}, js = function(e, t, n, a, s, i) {
|
|
10963
|
-
var o = L1(e, t, s, a), u = vn(C.makeSpan(["delimsizing", "size" + t], [o], a),
|
|
10964
|
-
return n && As(u, a,
|
|
10963
|
+
var o = L1(e, t, s, a), u = vn(C.makeSpan(["delimsizing", "size" + t], [o], a), Z.TEXT, a, i);
|
|
10964
|
+
return n && As(u, a, Z.TEXT), u;
|
|
10965
10965
|
}, vr = function(e, t, n) {
|
|
10966
10966
|
var a;
|
|
10967
10967
|
t === "Size1-Regular" ? a = "delim-size1" : a = "delim-size4";
|
|
@@ -10971,7 +10971,7 @@ var l0 = function(e, t, n) {
|
|
|
10971
10971
|
elem: s
|
|
10972
10972
|
};
|
|
10973
10973
|
}, yr = function(e, t, n) {
|
|
10974
|
-
var a = st["Size4-Regular"][e.charCodeAt(0)] ? st["Size4-Regular"][e.charCodeAt(0)][4] : st["Size1-Regular"][e.charCodeAt(0)][4], s = new Et("inner", Ul(e, Math.round(1e3 * t))), i = new
|
|
10974
|
+
var a = st["Size4-Regular"][e.charCodeAt(0)] ? st["Size4-Regular"][e.charCodeAt(0)][4] : st["Size1-Regular"][e.charCodeAt(0)][4], s = new Et("inner", Ul(e, Math.round(1e3 * t))), i = new vt([s], {
|
|
10975
10975
|
width: N(a),
|
|
10976
10976
|
height: N(t),
|
|
10977
10977
|
// Override CSS rule `.katex svg { width: 100% }`
|
|
@@ -11000,7 +11000,7 @@ var l0 = function(e, t, n) {
|
|
|
11000
11000
|
n && (ee *= a.sizeMultiplier);
|
|
11001
11001
|
var re = R / 2 - ee, ae = [];
|
|
11002
11002
|
if (m.length > 0) {
|
|
11003
|
-
var qe = R - k - b, me = Math.round(R * 1e3), Ce = Wl(m, Math.round(qe * 1e3)), He = new Et(m, Ce), we = (g / 1e3).toFixed(3) + "em", se = (me / 1e3).toFixed(3) + "em", fe = new
|
|
11003
|
+
var qe = R - k - b, me = Math.round(R * 1e3), Ce = Wl(m, Math.round(qe * 1e3)), He = new Et(m, Ce), we = (g / 1e3).toFixed(3) + "em", se = (me / 1e3).toFixed(3) + "em", fe = new vt([He], {
|
|
11004
11004
|
width: we,
|
|
11005
11005
|
height: se,
|
|
11006
11006
|
viewBox: "0 0 " + g + " " + me
|
|
@@ -11019,14 +11019,14 @@ var l0 = function(e, t, n) {
|
|
|
11019
11019
|
}
|
|
11020
11020
|
ae.push($0), ae.push(vr(o, y, s));
|
|
11021
11021
|
}
|
|
11022
|
-
var We = a.havingBaseStyle(
|
|
11022
|
+
var We = a.havingBaseStyle(Z.TEXT), be = C.makeVList({
|
|
11023
11023
|
positionType: "bottom",
|
|
11024
11024
|
positionData: re,
|
|
11025
11025
|
children: ae
|
|
11026
11026
|
}, We);
|
|
11027
|
-
return vn(C.makeSpan(["delimsizing", "mult"], [be], We),
|
|
11027
|
+
return vn(C.makeSpan(["delimsizing", "mult"], [be], We), Z.TEXT, a, i);
|
|
11028
11028
|
}, gr = 80, br = 0.08, xr = function(e, t, n, a, s) {
|
|
11029
|
-
var i = Gl(e, a, n), o = new Et(e, i), u = new
|
|
11029
|
+
var i = Gl(e, a, n), o = new Et(e, i), u = new vt([o], {
|
|
11030
11030
|
// Note: 1000:1 ratio of viewBox to document em width.
|
|
11031
11031
|
width: "400em",
|
|
11032
11032
|
height: N(t),
|
|
@@ -11053,13 +11053,13 @@ var l0 = function(e, t, n) {
|
|
|
11053
11053
|
throw new H("Illegal delimiter: '" + e + "'");
|
|
11054
11054
|
}, U1 = [{
|
|
11055
11055
|
type: "small",
|
|
11056
|
-
style:
|
|
11056
|
+
style: Z.SCRIPTSCRIPT
|
|
11057
11057
|
}, {
|
|
11058
11058
|
type: "small",
|
|
11059
|
-
style:
|
|
11059
|
+
style: Z.SCRIPT
|
|
11060
11060
|
}, {
|
|
11061
11061
|
type: "small",
|
|
11062
|
-
style:
|
|
11062
|
+
style: Z.TEXT
|
|
11063
11063
|
}, {
|
|
11064
11064
|
type: "large",
|
|
11065
11065
|
size: 1
|
|
@@ -11074,24 +11074,24 @@ var l0 = function(e, t, n) {
|
|
|
11074
11074
|
size: 4
|
|
11075
11075
|
}], W1 = [{
|
|
11076
11076
|
type: "small",
|
|
11077
|
-
style:
|
|
11077
|
+
style: Z.SCRIPTSCRIPT
|
|
11078
11078
|
}, {
|
|
11079
11079
|
type: "small",
|
|
11080
|
-
style:
|
|
11080
|
+
style: Z.SCRIPT
|
|
11081
11081
|
}, {
|
|
11082
11082
|
type: "small",
|
|
11083
|
-
style:
|
|
11083
|
+
style: Z.TEXT
|
|
11084
11084
|
}, {
|
|
11085
11085
|
type: "stack"
|
|
11086
11086
|
}], Cs = [{
|
|
11087
11087
|
type: "small",
|
|
11088
|
-
style:
|
|
11088
|
+
style: Z.SCRIPTSCRIPT
|
|
11089
11089
|
}, {
|
|
11090
11090
|
type: "small",
|
|
11091
|
-
style:
|
|
11091
|
+
style: Z.SCRIPT
|
|
11092
11092
|
}, {
|
|
11093
11093
|
type: "small",
|
|
11094
|
-
style:
|
|
11094
|
+
style: Z.TEXT
|
|
11095
11095
|
}, {
|
|
11096
11096
|
type: "large",
|
|
11097
11097
|
size: 1
|
|
@@ -11146,7 +11146,7 @@ var l0 = function(e, t, n) {
|
|
|
11146
11146
|
2 * d - h
|
|
11147
11147
|
);
|
|
11148
11148
|
return Is(e, m, !0, a, s, i);
|
|
11149
|
-
},
|
|
11149
|
+
}, ft = {
|
|
11150
11150
|
sqrtImage: q1,
|
|
11151
11151
|
sizedDelim: G1,
|
|
11152
11152
|
sizeToMaxHeight: c0,
|
|
@@ -11241,13 +11241,13 @@ P({
|
|
|
11241
11241
|
delim: t.text
|
|
11242
11242
|
};
|
|
11243
11243
|
},
|
|
11244
|
-
htmlBuilder: (r, e) => r.delim === "." ? C.makeSpan([r.mclass]) :
|
|
11244
|
+
htmlBuilder: (r, e) => r.delim === "." ? C.makeSpan([r.mclass]) : ft.sizedDelim(r.delim, r.size, e, r.mode, [r.mclass]),
|
|
11245
11245
|
mathmlBuilder: (r) => {
|
|
11246
11246
|
var e = [];
|
|
11247
11247
|
r.delim !== "." && e.push(Qe(r.delim, r.mode));
|
|
11248
11248
|
var t = new F.MathNode("mo", e);
|
|
11249
11249
|
r.mclass === "mopen" || r.mclass === "mclose" ? t.setAttribute("fence", "true") : t.setAttribute("fence", "false"), t.setAttribute("stretchy", "true");
|
|
11250
|
-
var n = N(
|
|
11250
|
+
var n = N(ft.sizeToMaxHeight[r.size]);
|
|
11251
11251
|
return t.setAttribute("minsize", n), t.setAttribute("maxsize", n), t;
|
|
11252
11252
|
}
|
|
11253
11253
|
});
|
|
@@ -11303,17 +11303,17 @@ P({
|
|
|
11303
11303
|
t[i].isMiddle ? s = !0 : (n = Math.max(t[i].height, n), a = Math.max(t[i].depth, a));
|
|
11304
11304
|
n *= e.sizeMultiplier, a *= e.sizeMultiplier;
|
|
11305
11305
|
var o;
|
|
11306
|
-
if (r.left === "." ? o = m0(e, ["mopen"]) : o =
|
|
11306
|
+
if (r.left === "." ? o = m0(e, ["mopen"]) : o = ft.leftRightDelim(r.left, n, a, e, r.mode, ["mopen"]), t.unshift(o), s)
|
|
11307
11307
|
for (var u = 1; u < t.length; u++) {
|
|
11308
11308
|
var h = t[u], d = h.isMiddle;
|
|
11309
|
-
d && (t[u] =
|
|
11309
|
+
d && (t[u] = ft.leftRightDelim(d.delim, n, a, d.options, r.mode, []));
|
|
11310
11310
|
}
|
|
11311
11311
|
var m;
|
|
11312
11312
|
if (r.right === ".")
|
|
11313
11313
|
m = m0(e, ["mclose"]);
|
|
11314
11314
|
else {
|
|
11315
11315
|
var g = r.rightColor ? e.withColor(r.rightColor) : e;
|
|
11316
|
-
m =
|
|
11316
|
+
m = ft.leftRightDelim(r.right, n, a, g, r.mode, ["mclose"]);
|
|
11317
11317
|
}
|
|
11318
11318
|
return t.push(m), C.makeSpan(["minner"], t, e);
|
|
11319
11319
|
},
|
|
@@ -11353,7 +11353,7 @@ P({
|
|
|
11353
11353
|
if (r.delim === ".")
|
|
11354
11354
|
t = m0(e, []);
|
|
11355
11355
|
else {
|
|
11356
|
-
t =
|
|
11356
|
+
t = ft.sizedDelim(r.delim, 1, e, r.mode, []);
|
|
11357
11357
|
var n = {
|
|
11358
11358
|
delim: r.delim,
|
|
11359
11359
|
options: e
|
|
@@ -11382,7 +11382,7 @@ var yn = (r, e) => {
|
|
|
11382
11382
|
a = a / d.sizeMultiplier;
|
|
11383
11383
|
var m = t.height + t.depth + u + h;
|
|
11384
11384
|
t.style.paddingLeft = N(m / 2 + u);
|
|
11385
|
-
var g = Math.floor(1e3 * m * a), y = ql(g), x = new
|
|
11385
|
+
var g = Math.floor(1e3 * m * a), y = ql(g), x = new vt([new Et("phase", y)], {
|
|
11386
11386
|
width: "400em",
|
|
11387
11387
|
height: N(g / 1e3),
|
|
11388
11388
|
viewBox: "0 0 400000 " + g,
|
|
@@ -11397,7 +11397,7 @@ var yn = (r, e) => {
|
|
|
11397
11397
|
// default
|
|
11398
11398
|
e.minRuleThickness
|
|
11399
11399
|
// User override.
|
|
11400
|
-
), k = e.fontMetrics().fboxsep + (n === "colorbox" ? 0 : j), M = k) : n === "angl" ? (j = Math.max(e.fontMetrics().defaultRuleThickness, e.minRuleThickness), k = 4 * j, M = Math.max(0, 0.25 - t.depth)) : (k = o ? 0.2 : 0, M = k), s =
|
|
11400
|
+
), k = e.fontMetrics().fboxsep + (n === "colorbox" ? 0 : j), M = k) : n === "angl" ? (j = Math.max(e.fontMetrics().defaultRuleThickness, e.minRuleThickness), k = 4 * j, M = Math.max(0, 0.25 - t.depth)) : (k = o ? 0.2 : 0, M = k), s = gt.encloseSpan(t, n, k, M, e), /fbox|boxed|fcolorbox/.test(n) ? (s.style.borderStyle = "solid", s.style.borderWidth = N(j)) : n === "angl" && j !== 0.049 && (s.style.borderTopWidth = N(j), s.style.borderRightWidth = N(j)), i = t.depth + M, r.backgroundColor && (s.style.backgroundColor = r.backgroundColor, r.borderColor && (s.style.borderColor = r.borderColor));
|
|
11401
11401
|
}
|
|
11402
11402
|
var v;
|
|
11403
11403
|
if (r.backgroundColor)
|
|
@@ -11588,7 +11588,7 @@ P({
|
|
|
11588
11588
|
}
|
|
11589
11589
|
});
|
|
11590
11590
|
var _s = {};
|
|
11591
|
-
function
|
|
11591
|
+
function lt(r) {
|
|
11592
11592
|
for (var {
|
|
11593
11593
|
type: e,
|
|
11594
11594
|
names: t,
|
|
@@ -11703,7 +11703,7 @@ function _t(r, e, t) {
|
|
|
11703
11703
|
function xn(r) {
|
|
11704
11704
|
return r.slice(0, 1) === "d" ? "display" : "text";
|
|
11705
11705
|
}
|
|
11706
|
-
var
|
|
11706
|
+
var ut = function(e, t) {
|
|
11707
11707
|
var n, a, s = e.body.length, i = e.hLinesBeforeRow, o = 0, u = new Array(s), h = [], d = Math.max(
|
|
11708
11708
|
// From LaTeX \showthe\arrayrulewidth. Equals 0.04 em.
|
|
11709
11709
|
t.fontMetrics().arrayRuleWidth,
|
|
@@ -11711,7 +11711,7 @@ var lt = function(e, t) {
|
|
|
11711
11711
|
// User override.
|
|
11712
11712
|
), m = 1 / t.fontMetrics().ptPerEm, g = 5 * m;
|
|
11713
11713
|
if (e.colSeparationType && e.colSeparationType === "small") {
|
|
11714
|
-
var y = t.havingStyle(
|
|
11714
|
+
var y = t.havingStyle(Z.SCRIPT).sizeMultiplier;
|
|
11715
11715
|
g = 0.2778 * (y / t.sizeMultiplier);
|
|
11716
11716
|
}
|
|
11717
11717
|
var x = e.colSeparationType === "CD" ? pe({
|
|
@@ -11817,7 +11817,7 @@ var lt = function(e, t) {
|
|
|
11817
11817
|
c: "center ",
|
|
11818
11818
|
l: "left ",
|
|
11819
11819
|
r: "right "
|
|
11820
|
-
},
|
|
11820
|
+
}, ct = function(e, t) {
|
|
11821
11821
|
for (var n = [], a = new F.MathNode("mtd", [], ["mtr-glue"]), s = new F.MathNode("mtd", [], ["mml-eqn-num"]), i = 0; i < e.body.length; i++) {
|
|
11822
11822
|
for (var o = e.body[i], u = [], h = 0; h < o.length; h++)
|
|
11823
11823
|
u.push(new F.MathNode("mtd", [le(o[h], t)]));
|
|
@@ -11890,7 +11890,7 @@ var lt = function(e, t) {
|
|
|
11890
11890
|
}
|
|
11891
11891
|
return i.colSeparationType = y ? "align" : "alignat", i;
|
|
11892
11892
|
};
|
|
11893
|
-
|
|
11893
|
+
lt({
|
|
11894
11894
|
type: "array",
|
|
11895
11895
|
names: ["array", "darray"],
|
|
11896
11896
|
props: {
|
|
@@ -11923,10 +11923,10 @@ ot({
|
|
|
11923
11923
|
};
|
|
11924
11924
|
return _t(r.parser, s, xn(r.envName));
|
|
11925
11925
|
},
|
|
11926
|
-
htmlBuilder:
|
|
11927
|
-
mathmlBuilder:
|
|
11926
|
+
htmlBuilder: ut,
|
|
11927
|
+
mathmlBuilder: ct
|
|
11928
11928
|
});
|
|
11929
|
-
|
|
11929
|
+
lt({
|
|
11930
11930
|
type: "array",
|
|
11931
11931
|
names: ["matrix", "pmatrix", "bmatrix", "Bmatrix", "vmatrix", "Vmatrix", "matrix*", "pmatrix*", "bmatrix*", "Bmatrix*", "vmatrix*", "Vmatrix*"],
|
|
11932
11932
|
props: {
|
|
@@ -11972,10 +11972,10 @@ ot({
|
|
|
11972
11972
|
// \right uninfluenced by \color in array
|
|
11973
11973
|
} : s;
|
|
11974
11974
|
},
|
|
11975
|
-
htmlBuilder:
|
|
11976
|
-
mathmlBuilder:
|
|
11975
|
+
htmlBuilder: ut,
|
|
11976
|
+
mathmlBuilder: ct
|
|
11977
11977
|
});
|
|
11978
|
-
|
|
11978
|
+
lt({
|
|
11979
11979
|
type: "array",
|
|
11980
11980
|
names: ["smallmatrix"],
|
|
11981
11981
|
props: {
|
|
@@ -11987,10 +11987,10 @@ ot({
|
|
|
11987
11987
|
}, t = _t(r.parser, e, "script");
|
|
11988
11988
|
return t.colSeparationType = "small", t;
|
|
11989
11989
|
},
|
|
11990
|
-
htmlBuilder:
|
|
11991
|
-
mathmlBuilder:
|
|
11990
|
+
htmlBuilder: ut,
|
|
11991
|
+
mathmlBuilder: ct
|
|
11992
11992
|
});
|
|
11993
|
-
|
|
11993
|
+
lt({
|
|
11994
11994
|
type: "array",
|
|
11995
11995
|
names: ["subarray"],
|
|
11996
11996
|
props: {
|
|
@@ -12017,10 +12017,10 @@ ot({
|
|
|
12017
12017
|
throw new H("{subarray} can contain only one column");
|
|
12018
12018
|
return s;
|
|
12019
12019
|
},
|
|
12020
|
-
htmlBuilder:
|
|
12021
|
-
mathmlBuilder:
|
|
12020
|
+
htmlBuilder: ut,
|
|
12021
|
+
mathmlBuilder: ct
|
|
12022
12022
|
});
|
|
12023
|
-
|
|
12023
|
+
lt({
|
|
12024
12024
|
type: "array",
|
|
12025
12025
|
names: ["cases", "dcases", "rcases", "drcases"],
|
|
12026
12026
|
props: {
|
|
@@ -12055,20 +12055,20 @@ ot({
|
|
|
12055
12055
|
rightColor: void 0
|
|
12056
12056
|
};
|
|
12057
12057
|
},
|
|
12058
|
-
htmlBuilder:
|
|
12059
|
-
mathmlBuilder:
|
|
12058
|
+
htmlBuilder: ut,
|
|
12059
|
+
mathmlBuilder: ct
|
|
12060
12060
|
});
|
|
12061
|
-
|
|
12061
|
+
lt({
|
|
12062
12062
|
type: "array",
|
|
12063
12063
|
names: ["align", "align*", "aligned", "split"],
|
|
12064
12064
|
props: {
|
|
12065
12065
|
numArgs: 0
|
|
12066
12066
|
},
|
|
12067
12067
|
handler: Bs,
|
|
12068
|
-
htmlBuilder:
|
|
12069
|
-
mathmlBuilder:
|
|
12068
|
+
htmlBuilder: ut,
|
|
12069
|
+
mathmlBuilder: ct
|
|
12070
12070
|
});
|
|
12071
|
-
|
|
12071
|
+
lt({
|
|
12072
12072
|
type: "array",
|
|
12073
12073
|
names: ["gathered", "gather", "gather*"],
|
|
12074
12074
|
props: {
|
|
@@ -12089,20 +12089,20 @@ ot({
|
|
|
12089
12089
|
};
|
|
12090
12090
|
return _t(r.parser, e, "display");
|
|
12091
12091
|
},
|
|
12092
|
-
htmlBuilder:
|
|
12093
|
-
mathmlBuilder:
|
|
12092
|
+
htmlBuilder: ut,
|
|
12093
|
+
mathmlBuilder: ct
|
|
12094
12094
|
});
|
|
12095
|
-
|
|
12095
|
+
lt({
|
|
12096
12096
|
type: "array",
|
|
12097
12097
|
names: ["alignat", "alignat*", "alignedat"],
|
|
12098
12098
|
props: {
|
|
12099
12099
|
numArgs: 1
|
|
12100
12100
|
},
|
|
12101
12101
|
handler: Bs,
|
|
12102
|
-
htmlBuilder:
|
|
12103
|
-
mathmlBuilder:
|
|
12102
|
+
htmlBuilder: ut,
|
|
12103
|
+
mathmlBuilder: ct
|
|
12104
12104
|
});
|
|
12105
|
-
|
|
12105
|
+
lt({
|
|
12106
12106
|
type: "array",
|
|
12107
12107
|
names: ["equation", "equation*"],
|
|
12108
12108
|
props: {
|
|
@@ -12119,10 +12119,10 @@ ot({
|
|
|
12119
12119
|
};
|
|
12120
12120
|
return _t(r.parser, e, "display");
|
|
12121
12121
|
},
|
|
12122
|
-
htmlBuilder:
|
|
12123
|
-
mathmlBuilder:
|
|
12122
|
+
htmlBuilder: ut,
|
|
12123
|
+
mathmlBuilder: ct
|
|
12124
12124
|
});
|
|
12125
|
-
|
|
12125
|
+
lt({
|
|
12126
12126
|
type: "array",
|
|
12127
12127
|
names: ["CD"],
|
|
12128
12128
|
props: {
|
|
@@ -12131,8 +12131,8 @@ ot({
|
|
|
12131
12131
|
handler(r) {
|
|
12132
12132
|
return rr(r), F1(r.parser);
|
|
12133
12133
|
},
|
|
12134
|
-
htmlBuilder:
|
|
12135
|
-
mathmlBuilder:
|
|
12134
|
+
htmlBuilder: ut,
|
|
12135
|
+
mathmlBuilder: ct
|
|
12136
12136
|
});
|
|
12137
12137
|
f("\\nonumber", "\\gdef\\@eqnsw{0}");
|
|
12138
12138
|
f("\\notag", "\\nonumber");
|
|
@@ -12297,7 +12297,7 @@ P({
|
|
|
12297
12297
|
});
|
|
12298
12298
|
var Ds = (r, e) => {
|
|
12299
12299
|
var t = e;
|
|
12300
|
-
return r === "display" ? t = t.id >=
|
|
12300
|
+
return r === "display" ? t = t.id >= Z.SCRIPT.id ? t.text() : Z.DISPLAY : r === "text" && t.size === Z.DISPLAY.size ? t = Z.TEXT : r === "script" ? t = Z.SCRIPT : r === "scriptscript" && (t = Z.SCRIPTSCRIPT), t;
|
|
12301
12301
|
}, wn = (r, e) => {
|
|
12302
12302
|
var t = Ds(r.size, e.style), n = t.fracNum(), a = t.fracDen(), s;
|
|
12303
12303
|
s = e.havingStyle(n);
|
|
@@ -12310,7 +12310,7 @@ var Ds = (r, e) => {
|
|
|
12310
12310
|
var h = ne(r.denom, s, e), d, m, g;
|
|
12311
12311
|
r.hasBarLine ? (r.barSize ? (m = pe(r.barSize, e), d = C.makeLineSpan("frac-line", e, m)) : d = C.makeLineSpan("frac-line", e), m = d.height, g = d.height) : (d = null, m = 0, g = e.fontMetrics().defaultRuleThickness);
|
|
12312
12312
|
var y, x, k;
|
|
12313
|
-
t.size ===
|
|
12313
|
+
t.size === Z.DISPLAY.size || r.size === "display" ? (y = e.fontMetrics().num1, m > 0 ? x = 3 * g : x = 7 * g, k = e.fontMetrics().denom1) : (m > 0 ? (y = e.fontMetrics().num2, x = g) : (y = e.fontMetrics().num3, x = 3 * g), k = e.fontMetrics().denom2);
|
|
12314
12314
|
var M;
|
|
12315
12315
|
if (d) {
|
|
12316
12316
|
var v = e.fontMetrics().axisHeight;
|
|
@@ -12349,9 +12349,9 @@ var Ds = (r, e) => {
|
|
|
12349
12349
|
}
|
|
12350
12350
|
s = e.havingStyle(t), M.height *= s.sizeMultiplier / e.sizeMultiplier, M.depth *= s.sizeMultiplier / e.sizeMultiplier;
|
|
12351
12351
|
var A;
|
|
12352
|
-
t.size ===
|
|
12352
|
+
t.size === Z.DISPLAY.size ? A = e.fontMetrics().delim1 : t.size === Z.SCRIPTSCRIPT.size ? A = e.havingStyle(Z.SCRIPT).fontMetrics().delim2 : A = e.fontMetrics().delim2;
|
|
12353
12353
|
var T, E;
|
|
12354
|
-
return r.leftDelim == null ? T = m0(e, ["mopen"]) : T =
|
|
12354
|
+
return r.leftDelim == null ? T = m0(e, ["mopen"]) : T = ft.customSizedDelim(r.leftDelim, A, !0, e.havingStyle(t), r.mode, ["mopen"]), r.continued ? E = C.makeSpan([]) : r.rightDelim == null ? E = m0(e, ["mclose"]) : E = ft.customSizedDelim(r.rightDelim, A, !0, e.havingStyle(t), r.mode, ["mclose"]), C.makeSpan(["mord"].concat(s.sizingClasses(e)), [T, C.makeSpan(["mfrac"], [M]), E], e);
|
|
12355
12355
|
}, kn = (r, e) => {
|
|
12356
12356
|
var t = new F.MathNode("mfrac", [le(r.numer, e), le(r.denom, e)]);
|
|
12357
12357
|
if (!r.hasBarLine)
|
|
@@ -12363,7 +12363,7 @@ var Ds = (r, e) => {
|
|
|
12363
12363
|
var a = Ds(r.size, e.style);
|
|
12364
12364
|
if (a.size !== e.style.size) {
|
|
12365
12365
|
t = new F.MathNode("mstyle", [t]);
|
|
12366
|
-
var s = a.size ===
|
|
12366
|
+
var s = a.size === Z.DISPLAY.size ? "true" : "false";
|
|
12367
12367
|
t.setAttribute("displaystyle", s), t.setAttribute("scriptlevel", "0");
|
|
12368
12368
|
}
|
|
12369
12369
|
if (r.leftDelim != null || r.rightDelim != null) {
|
|
@@ -12613,7 +12613,7 @@ P({
|
|
|
12613
12613
|
var Hs = (r, e) => {
|
|
12614
12614
|
var t = e.style, n, a;
|
|
12615
12615
|
r.type === "supsub" ? (n = r.sup ? ne(r.sup, e.havingStyle(t.sup()), e) : ne(r.sub, e.havingStyle(t.sub()), e), a = te(r.base, "horizBrace")) : a = te(r, "horizBrace");
|
|
12616
|
-
var s = ne(a.base, e.havingBaseStyle(
|
|
12616
|
+
var s = ne(a.base, e.havingBaseStyle(Z.DISPLAY)), i = gt.svgSpan(a, e), o;
|
|
12617
12617
|
if (a.isOver ? (o = C.makeVList({
|
|
12618
12618
|
positionType: "firstBaseline",
|
|
12619
12619
|
children: [{
|
|
@@ -12670,7 +12670,7 @@ var Hs = (r, e) => {
|
|
|
12670
12670
|
}
|
|
12671
12671
|
return C.makeSpan(["mord", a.isOver ? "mover" : "munder"], [o], e);
|
|
12672
12672
|
}, J1 = (r, e) => {
|
|
12673
|
-
var t =
|
|
12673
|
+
var t = gt.mathMLnode(r.label);
|
|
12674
12674
|
return new F.MathNode(r.isOver ? "mover" : "munder", [le(r.base, e), t]);
|
|
12675
12675
|
};
|
|
12676
12676
|
P({
|
|
@@ -13088,13 +13088,13 @@ P({
|
|
|
13088
13088
|
});
|
|
13089
13089
|
var oa = (r, e) => {
|
|
13090
13090
|
switch (e.style.size) {
|
|
13091
|
-
case
|
|
13091
|
+
case Z.DISPLAY.size:
|
|
13092
13092
|
return r.display;
|
|
13093
|
-
case
|
|
13093
|
+
case Z.TEXT.size:
|
|
13094
13094
|
return r.text;
|
|
13095
|
-
case
|
|
13095
|
+
case Z.SCRIPT.size:
|
|
13096
13096
|
return r.script;
|
|
13097
|
-
case
|
|
13097
|
+
case Z.SCRIPTSCRIPT.size:
|
|
13098
13098
|
return r.scriptscript;
|
|
13099
13099
|
default:
|
|
13100
13100
|
return r.text;
|
|
@@ -13229,7 +13229,7 @@ var Ls = (r, e, t, n, a, s, i) => {
|
|
|
13229
13229
|
var t, n, a = !1, s;
|
|
13230
13230
|
r.type === "supsub" ? (t = r.sup, n = r.sub, s = te(r.base, "op"), a = !0) : s = te(r, "op");
|
|
13231
13231
|
var i = e.style, o = !1;
|
|
13232
|
-
i.size ===
|
|
13232
|
+
i.size === Z.DISPLAY.size && s.symbol && !U.contains(Ns, s.name) && (o = !0);
|
|
13233
13233
|
var u;
|
|
13234
13234
|
if (s.symbol) {
|
|
13235
13235
|
var h = o ? "Size2-Regular" : "Size1-Regular", d = "";
|
|
@@ -13822,12 +13822,12 @@ P({
|
|
|
13822
13822
|
var t = ne(r.body, e.havingCrampedStyle());
|
|
13823
13823
|
t.height === 0 && (t.height = e.fontMetrics().xHeight), t = C.wrapFragment(t, e);
|
|
13824
13824
|
var n = e.fontMetrics(), a = n.defaultRuleThickness, s = a;
|
|
13825
|
-
e.style.id <
|
|
13825
|
+
e.style.id < Z.TEXT.id && (s = e.fontMetrics().xHeight);
|
|
13826
13826
|
var i = a + s / 4, o = t.height + t.depth + i + a, {
|
|
13827
13827
|
span: u,
|
|
13828
13828
|
ruleWidth: h,
|
|
13829
13829
|
advanceWidth: d
|
|
13830
|
-
} =
|
|
13830
|
+
} = ft.sqrtImage(o, e), m = u.height - h;
|
|
13831
13831
|
m > t.height + t.depth + i && (i = (i + m - t.height - t.depth) / 2);
|
|
13832
13832
|
var g = u.height - t.height - i - h;
|
|
13833
13833
|
t.style.paddingLeft = N(d);
|
|
@@ -13849,7 +13849,7 @@ P({
|
|
|
13849
13849
|
}]
|
|
13850
13850
|
}, e);
|
|
13851
13851
|
if (r.index) {
|
|
13852
|
-
var x = e.havingStyle(
|
|
13852
|
+
var x = e.havingStyle(Z.SCRIPTSCRIPT), k = ne(r.index, x, e), M = 0.6 * (y.height - y.depth), j = C.makeVList({
|
|
13853
13853
|
positionType: "shift",
|
|
13854
13854
|
positionData: -M,
|
|
13855
13855
|
children: [{
|
|
@@ -13870,10 +13870,10 @@ P({
|
|
|
13870
13870
|
}
|
|
13871
13871
|
});
|
|
13872
13872
|
var ua = {
|
|
13873
|
-
display:
|
|
13874
|
-
text:
|
|
13875
|
-
script:
|
|
13876
|
-
scriptscript:
|
|
13873
|
+
display: Z.DISPLAY,
|
|
13874
|
+
text: Z.TEXT,
|
|
13875
|
+
script: Z.SCRIPT,
|
|
13876
|
+
scriptscript: Z.SCRIPTSCRIPT
|
|
13877
13877
|
};
|
|
13878
13878
|
P({
|
|
13879
13879
|
type: "styling",
|
|
@@ -13916,10 +13916,10 @@ var n2 = function(e, t) {
|
|
|
13916
13916
|
var n = e.base;
|
|
13917
13917
|
if (n)
|
|
13918
13918
|
if (n.type === "op") {
|
|
13919
|
-
var a = n.limits && (t.style.size ===
|
|
13919
|
+
var a = n.limits && (t.style.size === Z.DISPLAY.size || n.alwaysHandleSupSub);
|
|
13920
13920
|
return a ? t0 : null;
|
|
13921
13921
|
} else if (n.type === "operatorname") {
|
|
13922
|
-
var s = n.alwaysHandleSupSub && (t.style.size ===
|
|
13922
|
+
var s = n.alwaysHandleSupSub && (t.style.size === Z.DISPLAY.size || n.limits);
|
|
13923
13923
|
return s ? Ps : null;
|
|
13924
13924
|
} else {
|
|
13925
13925
|
if (n.type === "accent")
|
|
@@ -13952,7 +13952,7 @@ Pt({
|
|
|
13952
13952
|
u = ne(s, x, e), g || (m = i.depth + x.fontMetrics().subDrop * x.sizeMultiplier / e.sizeMultiplier);
|
|
13953
13953
|
}
|
|
13954
13954
|
var k;
|
|
13955
|
-
e.style ===
|
|
13955
|
+
e.style === Z.DISPLAY ? k = h.sup1 : e.style.cramped ? k = h.sup3 : k = h.sup2;
|
|
13956
13956
|
var M = e.sizeMultiplier, j = N(0.5 / h.ptPerEm / M), v = null;
|
|
13957
13957
|
if (u) {
|
|
13958
13958
|
var b = r.base && r.base.type === "op" && r.base.name && (r.base.name === "\\oiint" || r.base.name === "\\oiiint");
|
|
@@ -14022,14 +14022,14 @@ Pt({
|
|
|
14022
14022
|
else if (r.sub)
|
|
14023
14023
|
if (r.sup) {
|
|
14024
14024
|
var h = r.base;
|
|
14025
|
-
h && h.type === "op" && h.limits && e.style ===
|
|
14025
|
+
h && h.type === "op" && h.limits && e.style === Z.DISPLAY || h && h.type === "operatorname" && h.alwaysHandleSupSub && (e.style === Z.DISPLAY || h.limits) ? i = "munderover" : i = "msubsup";
|
|
14026
14026
|
} else {
|
|
14027
14027
|
var u = r.base;
|
|
14028
|
-
u && u.type === "op" && u.limits && (e.style ===
|
|
14028
|
+
u && u.type === "op" && u.limits && (e.style === Z.DISPLAY || u.alwaysHandleSupSub) || u && u.type === "operatorname" && u.alwaysHandleSupSub && (u.limits || e.style === Z.DISPLAY) ? i = "munder" : i = "msub";
|
|
14029
14029
|
}
|
|
14030
14030
|
else {
|
|
14031
14031
|
var o = r.base;
|
|
14032
|
-
o && o.type === "op" && o.limits && (e.style ===
|
|
14032
|
+
o && o.type === "op" && o.limits && (e.style === Z.DISPLAY || o.alwaysHandleSupSub) || o && o.type === "operatorname" && o.alwaysHandleSupSub && (o.limits || e.style === Z.DISPLAY) ? i = "mover" : i = "msup";
|
|
14033
14033
|
}
|
|
14034
14034
|
return new F.MathNode(i, s);
|
|
14035
14035
|
}
|
|
@@ -16488,7 +16488,7 @@ var m2 = function(e, t) {
|
|
|
16488
16488
|
Span: x0,
|
|
16489
16489
|
Anchor: cn,
|
|
16490
16490
|
SymbolNode: Je,
|
|
16491
|
-
SvgNode:
|
|
16491
|
+
SvgNode: vt,
|
|
16492
16492
|
PathNode: Et,
|
|
16493
16493
|
LineNode: Fr
|
|
16494
16494
|
}
|
|
@@ -16500,7 +16500,7 @@ const g2 = /* @__PURE__ */ G({
|
|
|
16500
16500
|
block: { type: Boolean, default: !1 }
|
|
16501
16501
|
},
|
|
16502
16502
|
setup(r) {
|
|
16503
|
-
const e = r, t =
|
|
16503
|
+
const e = r, t = Y(null), n = () => {
|
|
16504
16504
|
if (t.value)
|
|
16505
16505
|
try {
|
|
16506
16506
|
y2.render(e.expression, t.value, {
|
|
@@ -16510,7 +16510,7 @@ const g2 = /* @__PURE__ */ G({
|
|
|
16510
16510
|
console.error("KaTeX rendering error:", a);
|
|
16511
16511
|
}
|
|
16512
16512
|
};
|
|
16513
|
-
return Kt(n), Ua(n), (a, s) => (I(), Se(
|
|
16513
|
+
return Kt(n), Ua(n), (a, s) => (I(), Se(bt(e.block ? "div" : "span"), {
|
|
16514
16514
|
class: _(a.$style.katex),
|
|
16515
16515
|
key: JSON.stringify(e),
|
|
16516
16516
|
ref_key: "targetRef",
|
|
@@ -17327,18 +17327,22 @@ const Zc = ["id"], Kc = /* @__PURE__ */ G({
|
|
|
17327
17327
|
id: {}
|
|
17328
17328
|
},
|
|
17329
17329
|
setup(r) {
|
|
17330
|
-
const e =
|
|
17331
|
-
return
|
|
17330
|
+
const e = Y(null), t = Y(!1);
|
|
17331
|
+
return ot(e, ([{ isIntersecting: n }], a) => {
|
|
17332
17332
|
t.value = n;
|
|
17333
17333
|
}), (n, a) => (I(), O("h1", {
|
|
17334
17334
|
ref_key: "target",
|
|
17335
17335
|
ref: e,
|
|
17336
17336
|
class: _(n.$style.h1),
|
|
17337
17337
|
id: n.id ?? q(r0)(n.text),
|
|
17338
|
-
style: W({
|
|
17338
|
+
style: W({
|
|
17339
|
+
"--scale": t.value ? 1 : 0,
|
|
17340
|
+
"--font-size": n.size,
|
|
17341
|
+
"--opacity": t.value ? 1 : 0
|
|
17342
|
+
})
|
|
17339
17343
|
}, Ee(n.text), 15, Zc));
|
|
17340
17344
|
}
|
|
17341
|
-
}), Jc = "
|
|
17345
|
+
}), Jc = "_h1_qcvt4_1", Qc = {
|
|
17342
17346
|
h1: Jc
|
|
17343
17347
|
}, e4 = {
|
|
17344
17348
|
$style: Qc
|
|
@@ -17350,8 +17354,8 @@ const Zc = ["id"], Kc = /* @__PURE__ */ G({
|
|
|
17350
17354
|
id: {}
|
|
17351
17355
|
},
|
|
17352
17356
|
setup(r) {
|
|
17353
|
-
const e =
|
|
17354
|
-
return
|
|
17357
|
+
const e = Y(null), t = Y(!1);
|
|
17358
|
+
return ot(e, ([{ isIntersecting: n }], a) => {
|
|
17355
17359
|
t.value = n;
|
|
17356
17360
|
}), (n, a) => (I(), O("h2", {
|
|
17357
17361
|
ref_key: "target",
|
|
@@ -17360,7 +17364,8 @@ const Zc = ["id"], Kc = /* @__PURE__ */ G({
|
|
|
17360
17364
|
id: n.id ?? q(r0)(n.text),
|
|
17361
17365
|
style: W({
|
|
17362
17366
|
"--scale": t.value ? 1 : 0,
|
|
17363
|
-
"--font-size": n.size
|
|
17367
|
+
"--font-size": n.size,
|
|
17368
|
+
"--opacity": t.value ? 1 : 0
|
|
17364
17369
|
})
|
|
17365
17370
|
}, [
|
|
17366
17371
|
Yt(Ee(n.text), 1),
|
|
@@ -17370,7 +17375,7 @@ const Zc = ["id"], Kc = /* @__PURE__ */ G({
|
|
|
17370
17375
|
}, null, 2)
|
|
17371
17376
|
], 14, t4));
|
|
17372
17377
|
}
|
|
17373
|
-
}), n4 = "
|
|
17378
|
+
}), n4 = "_h2_1k0br_1", a4 = "_underline_1k0br_50", s4 = {
|
|
17374
17379
|
h2: n4,
|
|
17375
17380
|
underline: a4
|
|
17376
17381
|
}, i4 = {
|
|
@@ -17383,13 +17388,18 @@ const Zc = ["id"], Kc = /* @__PURE__ */ G({
|
|
|
17383
17388
|
id: {}
|
|
17384
17389
|
},
|
|
17385
17390
|
setup(r) {
|
|
17386
|
-
|
|
17387
|
-
|
|
17388
|
-
|
|
17389
|
-
|
|
17390
|
-
|
|
17391
|
+
const e = Y(null), t = Y(!1);
|
|
17392
|
+
return ot(e, ([{ isIntersecting: n }], a) => {
|
|
17393
|
+
t.value = n;
|
|
17394
|
+
}), (n, a) => (I(), O("h3", {
|
|
17395
|
+
ref_key: "target",
|
|
17396
|
+
ref: e,
|
|
17397
|
+
class: _(n.$style.h3),
|
|
17398
|
+
id: n.id ?? q(r0)(n.text),
|
|
17399
|
+
style: W({ "--font-size": n.size, "--opacity": t.value ? 1 : 0 })
|
|
17400
|
+
}, Ee(n.text), 15, o4));
|
|
17391
17401
|
}
|
|
17392
|
-
}), u4 = "
|
|
17402
|
+
}), u4 = "_h3_h9bki_1", c4 = {
|
|
17393
17403
|
h3: u4
|
|
17394
17404
|
}, d4 = {
|
|
17395
17405
|
$style: c4
|
|
@@ -17564,7 +17574,7 @@ const Zc = ["id"], Kc = /* @__PURE__ */ G({
|
|
|
17564
17574
|
setup(r) {
|
|
17565
17575
|
return (e, t) => (I(), Se(sn, null, {
|
|
17566
17576
|
original: _e(() => [
|
|
17567
|
-
(I(), Se(
|
|
17577
|
+
(I(), Se(bt(
|
|
17568
17578
|
e.isLoading ? de(ar, { size: e.size }) : e.isLogin ? q(mo) : q(po)
|
|
17569
17579
|
), {
|
|
17570
17580
|
class: _(e.$style.icon),
|
|
@@ -17588,7 +17598,7 @@ const Zc = ["id"], Kc = /* @__PURE__ */ G({
|
|
|
17588
17598
|
$style: J4
|
|
17589
17599
|
}, Y3 = /* @__PURE__ */ J(Z4, [["__cssModules", Q4]]), za = "elmethis-theme";
|
|
17590
17600
|
function ed() {
|
|
17591
|
-
const r =
|
|
17601
|
+
const r = Y(!1), e = () => {
|
|
17592
17602
|
r.value = !r.value;
|
|
17593
17603
|
};
|
|
17594
17604
|
return Ke(r, () => {
|
|
@@ -18915,7 +18925,7 @@ const nh = {
|
|
|
18915
18925
|
onClick: t
|
|
18916
18926
|
}, [
|
|
18917
18927
|
Yt(Ee(n.text) + " ", 1),
|
|
18918
|
-
(I(), Se(
|
|
18928
|
+
(I(), Se(bt(
|
|
18919
18929
|
n.iconType != null ? n.iconType === "internal" ? q(N0) : q(Fn) : n.openInNewTab ? q(Fn) : q(N0)
|
|
18920
18930
|
), {
|
|
18921
18931
|
class: _(n.$style.icon)
|
|
@@ -19026,7 +19036,7 @@ const nh = {
|
|
|
19026
19036
|
margin: {}
|
|
19027
19037
|
},
|
|
19028
19038
|
setup(r) {
|
|
19029
|
-
const e = r, { isLoading: t, error: n } = ol({ src: e.src }), a =
|
|
19039
|
+
const e = r, { isLoading: t, error: n } = ol({ src: e.src }), a = Y(!1);
|
|
19030
19040
|
return Qo("Escape", (s) => {
|
|
19031
19041
|
s.preventDefault(), a.value = !1;
|
|
19032
19042
|
}), (s, i) => (I(), O(Oe, null, [
|
|
@@ -19208,8 +19218,8 @@ const nh = {
|
|
|
19208
19218
|
links: {}
|
|
19209
19219
|
},
|
|
19210
19220
|
setup(r) {
|
|
19211
|
-
const e =
|
|
19212
|
-
return
|
|
19221
|
+
const e = Y(null), t = Y(!1);
|
|
19222
|
+
return ot(e, ([{ isIntersecting: n }], a) => {
|
|
19213
19223
|
t.value = n;
|
|
19214
19224
|
}), (n, a) => (I(), O("nav", {
|
|
19215
19225
|
class: _(n.$style.container),
|
|
@@ -19224,7 +19234,7 @@ const nh = {
|
|
|
19224
19234
|
class: _(n.$style["link-container"]),
|
|
19225
19235
|
onClick: s.onClick
|
|
19226
19236
|
}, [
|
|
19227
|
-
(I(), Se(
|
|
19237
|
+
(I(), Se(bt(
|
|
19228
19238
|
i === 0 ? q(jo) : i === n.links.length - 1 ? q(wo) : q(Mo)
|
|
19229
19239
|
), {
|
|
19230
19240
|
class: _([n.$style.icon, n.$style.fade]),
|
|
@@ -19264,7 +19274,7 @@ const nh = {
|
|
|
19264
19274
|
position: { default: "right" }
|
|
19265
19275
|
},
|
|
19266
19276
|
setup(r) {
|
|
19267
|
-
const e =
|
|
19277
|
+
const e = Y(!1), { y: t } = es();
|
|
19268
19278
|
Ke(
|
|
19269
19279
|
() => t.value,
|
|
19270
19280
|
() => {
|
|
@@ -19752,8 +19762,8 @@ const Y0 = function() {
|
|
|
19752
19762
|
}(), ap = Y0.fetch ? (...r) => Y0.fetch(...r) : () => Promise.reject(new Error("[ofetch] global.fetch is not supported!")), sp = Y0.Headers, ip = Y0.AbortController, op = Ni({ fetch: ap, Headers: sp, AbortController: ip }), lp = /* @__PURE__ */ G({
|
|
19753
19763
|
__name: "ElmParagraph",
|
|
19754
19764
|
setup(r) {
|
|
19755
|
-
const e =
|
|
19756
|
-
return
|
|
19765
|
+
const e = Y(null), t = Y(!1);
|
|
19766
|
+
return ot(e, ([{ isIntersecting: n }], a) => {
|
|
19757
19767
|
t.value = n;
|
|
19758
19768
|
}), (n, a) => (I(), O("p", {
|
|
19759
19769
|
ref_key: "target",
|
|
@@ -19793,8 +19803,8 @@ const Y0 = function() {
|
|
|
19793
19803
|
margin: {}
|
|
19794
19804
|
},
|
|
19795
19805
|
setup(r) {
|
|
19796
|
-
const e =
|
|
19797
|
-
return
|
|
19806
|
+
const e = Y(null), t = Y(!1);
|
|
19807
|
+
return ot(e, ([{ isIntersecting: n }], a) => {
|
|
19798
19808
|
t.value = n;
|
|
19799
19809
|
}), (n, a) => (I(), O("hr", {
|
|
19800
19810
|
ref_key: "target",
|
|
@@ -19813,8 +19823,8 @@ const Y0 = function() {
|
|
|
19813
19823
|
}, qi = /* @__PURE__ */ J(hp, [["__cssModules", fp]]), Vi = /* @__PURE__ */ G({
|
|
19814
19824
|
__name: "ElmBulletedList",
|
|
19815
19825
|
setup(r) {
|
|
19816
|
-
const e =
|
|
19817
|
-
return
|
|
19826
|
+
const e = Y(null), t = Y(!1);
|
|
19827
|
+
return ot(e, ([{ isIntersecting: n }], a) => {
|
|
19818
19828
|
t.value = n;
|
|
19819
19829
|
}), (n, a) => (I(), O("ul", {
|
|
19820
19830
|
ref_key: "target",
|
|
@@ -19843,8 +19853,8 @@ const Y0 = function() {
|
|
|
19843
19853
|
}, Jr = /* @__PURE__ */ J(vp, [["__cssModules", bp]]), Gi = /* @__PURE__ */ G({
|
|
19844
19854
|
__name: "ElmNumberedList",
|
|
19845
19855
|
setup(r) {
|
|
19846
|
-
const e =
|
|
19847
|
-
return
|
|
19856
|
+
const e = Y(null), t = Y(!1);
|
|
19857
|
+
return ot(e, ([{ isIntersecting: n }], a) => {
|
|
19848
19858
|
t.value = n;
|
|
19849
19859
|
}), (n, a) => (I(), O("ol", {
|
|
19850
19860
|
ref_key: "target",
|
|
@@ -19864,7 +19874,7 @@ const Y0 = function() {
|
|
|
19864
19874
|
endpoint: {}
|
|
19865
19875
|
},
|
|
19866
19876
|
setup(r) {
|
|
19867
|
-
const e = r, t =
|
|
19877
|
+
const e = r, t = Y([]), n = Y(!0);
|
|
19868
19878
|
Kt(async () => {
|
|
19869
19879
|
n.value = !0, t.value = await a(e.id, e.endpoint), n.value = !1;
|
|
19870
19880
|
});
|
|
@@ -19999,7 +20009,7 @@ const Y0 = function() {
|
|
|
19999
20009
|
};
|
|
20000
20010
|
return (s, i) => (I(), O(Oe, null, [
|
|
20001
20011
|
n.value ? (I(), Se(zu, { key: 0 })) : Ie("", !0),
|
|
20002
|
-
(I(), Se(
|
|
20012
|
+
(I(), Se(bt(() => t.value)))
|
|
20003
20013
|
], 64));
|
|
20004
20014
|
}
|
|
20005
20015
|
});
|
|
@@ -20909,8 +20919,8 @@ const o3 = /* @__PURE__ */ G({
|
|
|
20909
20919
|
important: { code: "#9771bd", icon: Co },
|
|
20910
20920
|
warning: { code: "#b8a36e", icon: So },
|
|
20911
20921
|
caution: { code: "#b36472", icon: $o }
|
|
20912
|
-
}, t =
|
|
20913
|
-
return
|
|
20922
|
+
}, t = Y(null), n = Y(!1);
|
|
20923
|
+
return ot(t, ([{ isIntersecting: a }], s) => {
|
|
20914
20924
|
n.value = a;
|
|
20915
20925
|
}), (a, s) => (I(), O("aside", {
|
|
20916
20926
|
ref_key: "target",
|
|
@@ -20925,7 +20935,7 @@ const o3 = /* @__PURE__ */ G({
|
|
|
20925
20935
|
L("div", {
|
|
20926
20936
|
class: _(a.$style.header)
|
|
20927
20937
|
}, [
|
|
20928
|
-
(I(), Se(
|
|
20938
|
+
(I(), Se(bt(e[a.type].icon), {
|
|
20929
20939
|
class: _(a.$style.icon),
|
|
20930
20940
|
style: W({ "--icon-color": e[a.type].code })
|
|
20931
20941
|
}, null, 8, ["class", "style"])),
|
|
@@ -20948,8 +20958,8 @@ const o3 = /* @__PURE__ */ G({
|
|
|
20948
20958
|
}, k3 = /* @__PURE__ */ J(v3, [["__cssModules", w3]]), S3 = /* @__PURE__ */ G({
|
|
20949
20959
|
__name: "ElmBlockQuote",
|
|
20950
20960
|
setup(r) {
|
|
20951
|
-
const e =
|
|
20952
|
-
return
|
|
20961
|
+
const e = Y(null), t = Y(!1);
|
|
20962
|
+
return ot(e, ([{ isIntersecting: n }], a) => {
|
|
20953
20963
|
t.value = n;
|
|
20954
20964
|
}), (n, a) => (I(), O("blockquote", {
|
|
20955
20965
|
ref_key: "target",
|
|
@@ -21009,7 +21019,7 @@ const o3 = /* @__PURE__ */ G({
|
|
|
21009
21019
|
text: {}
|
|
21010
21020
|
},
|
|
21011
21021
|
setup(r) {
|
|
21012
|
-
return (e, t) => (I(), Se(
|
|
21022
|
+
return (e, t) => (I(), Se(bt(e.hasHeader ? "th" : "td"), { class: "cell" }, {
|
|
21013
21023
|
default: _e(() => [
|
|
21014
21024
|
e.text == null ? ke(e.$slots, "default", { key: 0 }, void 0, !0) : Ie("", !0),
|
|
21015
21025
|
Yt(" " + Ee(e.text), 1)
|
|
@@ -21065,7 +21075,7 @@ const o3 = /* @__PURE__ */ G({
|
|
|
21065
21075
|
);
|
|
21066
21076
|
return a;
|
|
21067
21077
|
};
|
|
21068
|
-
return (n, a) => (I(), Se(
|
|
21078
|
+
return (n, a) => (I(), Se(bt(() => t(n.json))));
|
|
21069
21079
|
}
|
|
21070
21080
|
});
|
|
21071
21081
|
export {
|