@versini/sassysaint 5.5.37 → 5.5.38

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.
@@ -1,6 +1,6 @@
1
- import { jsx as We, jsxs as P0, Fragment as Sa } from "react/jsx-runtime";
2
- import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.Dskbm0QC.js";
3
- import { P as Is, L as Ds, j as Ls } from "./index.gfLDgD4t.js";
1
+ import { jsx as Ve, jsxs as P0, Fragment as Sa } from "react/jsx-runtime";
2
+ import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as Ns, parse as Sn, parse$1 as Nn, normalize as kn, svg as ks, html as Ts, visitParents as Ms, SKIP as As, longestStreak as Os, factorySpace as xr, markdownLineEnding as $t, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.Dp5F7VuZ.js";
3
+ import { Y as Is, L as Ds, j as Ls } from "./index.WqjiLYC2.js";
4
4
  import Bs, { useState as zs, useEffect as Ps } from "react";
5
5
  import Fs from "clsx";
6
6
  const ka = ({
@@ -16,7 +16,7 @@ const ka = ({
16
16
  }) => {
17
17
  const m = Fs(i, n);
18
18
  return /* @__PURE__ */ P0(Sa, { children: [
19
- /* @__PURE__ */ We(
19
+ /* @__PURE__ */ Ve(
20
20
  "svg",
21
21
  {
22
22
  xmlns: "http://www.w3.org/2000/svg",
@@ -30,17 +30,17 @@ const ka = ({
30
30
  children: t
31
31
  }
32
32
  ),
33
- o && c && /* @__PURE__ */ We("span", { className: "sr-only", children: o })
33
+ o && c && /* @__PURE__ */ Ve("span", { className: "sr-only", children: o })
34
34
  ] });
35
35
  };
36
36
  /*!
37
- @versini/ui-svgicon v4.0.3
37
+ @versini/ui-svgicon v4.0.7
38
38
  © 2025 gizmette.com
39
39
  */
40
40
  try {
41
41
  window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
42
- version: "4.0.3",
43
- buildTime: "01/14/2025 10:39 AM EST",
42
+ version: "4.0.7",
43
+ buildTime: "01/20/2025 01:49 PM EST",
44
44
  homepage: "https://github.com/aversini/ui-components",
45
45
  license: "MIT"
46
46
  });
@@ -62,21 +62,14 @@ const Us = ({
62
62
  title: r || "Copied",
63
63
  ...a,
64
64
  children: [
65
- /* @__PURE__ */ We(
65
+ /* @__PURE__ */ Ve(
66
66
  "path",
67
67
  {
68
- className: "fa-secondary",
69
- opacity: "0.4",
70
- d: "M0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96zM104 256c0-6.1 2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l47 47c37-37 74-74 111-111c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c2.3 2.3 4.1 5 5.3 7.9c.6 1.5 1 2.9 1.3 4.4c.2 1.1 .3 2.2 .3 2.2c.1 1.2 .1 1.2 .1 2.5c-.1 1.5-.1 1.9-.1 2.3c-.1 .7-.2 1.5-.3 2.2c-.3 1.5-.7 3-1.3 4.4c-1.2 2.9-2.9 5.6-5.3 7.9c-42.7 42.7-85.3 85.3-128 128c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7c-21.3-21.3-42.7-42.7-64-64c-4.7-4.7-7-10.8-7-17z"
68
+ d: "M0 96v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96m104 160c0-6.1 2.3-12.3 7-17 9.4-9.4 24.6-9.4 33.9 0l47 47 111-111c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c2.3 2.3 4.1 5 5.3 7.9.6 1.5 1 2.9 1.3 4.4.2 1.1.3 2.2.3 2.2.1 1.2.1 1.2.1 2.5-.1 1.5-.1 1.9-.1 2.3-.1.7-.2 1.5-.3 2.2-.3 1.5-.7 3-1.3 4.4-1.2 2.9-2.9 5.6-5.3 7.9l-128 128c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7l-64-64c-4.7-4.7-7-10.8-7-17z",
69
+ opacity: ".4"
71
70
  }
72
71
  ),
73
- /* @__PURE__ */ We(
74
- "path",
75
- {
76
- className: "fa-primary",
77
- d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z"
78
- }
79
- )
72
+ /* @__PURE__ */ Ve("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
80
73
  ]
81
74
  }
82
75
  ), qs = ({
@@ -85,7 +78,7 @@ const Us = ({
85
78
  title: r,
86
79
  monotone: n,
87
80
  ...a
88
- }) => /* @__PURE__ */ We(
81
+ }) => /* @__PURE__ */ Ve(
89
82
  ka,
90
83
  {
91
84
  defaultViewBox: "0 0 512 512",
@@ -94,17 +87,17 @@ const Us = ({
94
87
  className: t,
95
88
  title: r || "Copy",
96
89
  ...a,
97
- children: /* @__PURE__ */ We("path", { d: "M64 464l224 0c8.8 0 16-7.2 16-16l0-64 48 0 0 64c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l64 0 0 48-64 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zM224 304l224 0c8.8 0 16-7.2 16-16l0-224c0-8.8-7.2-16-16-16L224 48c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16zm-64-16l0-224c0-35.3 28.7-64 64-64L448 0c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64l-224 0c-35.3 0-64-28.7-64-64z" })
90
+ children: /* @__PURE__ */ Ve("path", { d: "M64 464h224c8.8 0 16-7.2 16-16v-64h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m160-160h224c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m-64-16V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64" })
98
91
  }
99
92
  );
100
93
  /*!
101
- @versini/ui-icons v4.4.2
94
+ @versini/ui-icons v4.5.2
102
95
  © 2025 gizmette.com
103
96
  */
104
97
  try {
105
98
  window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
106
- version: "4.4.2",
107
- buildTime: "01/14/2025 10:39 AM EST",
99
+ version: "4.5.2",
100
+ buildTime: "01/20/2025 01:49 PM EST",
108
101
  homepage: "https://github.com/aversini/ui-components",
109
102
  license: "MIT"
110
103
  });
@@ -121,7 +114,7 @@ const Ta = Bs.forwardRef(({ copyToClipboard: t, ...e }, r) => {
121
114
  }, 3e3)), () => {
122
115
  clearTimeout(o);
123
116
  };
124
- }, [n]), /* @__PURE__ */ We(
117
+ }, [n]), /* @__PURE__ */ Ve(
125
118
  Is,
126
119
  {
127
120
  ...e,
@@ -130,7 +123,7 @@ const Ta = Bs.forwardRef(({ copyToClipboard: t, ...e }, r) => {
130
123
  label: n ? "Copied to clipboard" : "Copy to clipboard",
131
124
  onClick: i,
132
125
  disabled: n,
133
- children: n ? /* @__PURE__ */ We(Us, { size: "size-3" }) : /* @__PURE__ */ We(qs, { size: "size-3" })
126
+ children: n ? /* @__PURE__ */ Ve(Us, { size: "size-3" }) : /* @__PURE__ */ Ve(qs, { size: "size-3" })
134
127
  }
135
128
  );
136
129
  });
@@ -224,7 +217,7 @@ function Gs(t) {
224
217
  function Ks(t) {
225
218
  return t !== null && typeof t == "object" && "type" in t && "tagName" in t;
226
219
  }
227
- const Mn = /\n/g, An = /[\t ]+/g, N0 = Gt("br"), On = Gt(Js), Ws = Gt("p"), Rn = Gt("tr"), Vs = Gt([
220
+ const Mn = /\n/g, An = /[\t ]+/g, N0 = Gt("br"), On = Gt(Js), Vs = Gt("p"), Rn = Gt("tr"), Ws = Gt([
228
221
  // List from: <https://html.spec.whatwg.org/multipage/rendering.html#hidden-elements>
229
222
  "datalist",
230
223
  "head",
@@ -365,12 +358,12 @@ function Aa(t, e, r) {
365
358
  function Ys(t, e, r) {
366
359
  const n = Ra(t, r), a = t.children || [];
367
360
  let i = -1, o = [];
368
- if (Vs(t))
361
+ if (Ws(t))
369
362
  return o;
370
363
  let c, u;
371
364
  for (N0(t) || Rn(t) && // @ts-expect-error: something up with types of parents.
372
365
  Tn(e, t, Rn) ? u = `
373
- ` : Ws(t) ? (c = 2, u = 2) : Ma(t) && (c = 1, u = 1); ++i < a.length; )
366
+ ` : Vs(t) ? (c = 2, u = 2) : Ma(t) && (c = 1, u = 1); ++i < a.length; )
374
367
  o = o.concat(
375
368
  Aa(a[i], t, {
376
369
  whitespace: n,
@@ -8730,7 +8723,7 @@ function Ko(t) {
8730
8723
  ]
8731
8724
  };
8732
8725
  }
8733
- const Wo = (t) => ({
8726
+ const Vo = (t) => ({
8734
8727
  IMPORTANT: {
8735
8728
  scope: "meta",
8736
8729
  begin: "!important"
@@ -8763,7 +8756,7 @@ const Wo = (t) => ({
8763
8756
  className: "attr",
8764
8757
  begin: /--[A-Za-z_][A-Za-z0-9_-]*/
8765
8758
  }
8766
- }), Vo = [
8759
+ }), Wo = [
8767
8760
  "a",
8768
8761
  "abbr",
8769
8762
  "address",
@@ -9324,7 +9317,7 @@ const Wo = (t) => ({
9324
9317
  // instead of getting false positives on say `font`
9325
9318
  ].reverse();
9326
9319
  function Jo(t) {
9327
- const e = Wo(t), r = Xo, n = Zo, a = "@[a-z-]+", i = "and or not only", c = {
9320
+ const e = Vo(t), r = Xo, n = Zo, a = "@[a-z-]+", i = "and or not only", c = {
9328
9321
  className: "variable",
9329
9322
  begin: "(\\$" + "[a-zA-Z-][a-zA-Z0-9_-]*" + ")\\b",
9330
9323
  relevance: 0
@@ -9352,7 +9345,7 @@ function Jo(t) {
9352
9345
  e.ATTRIBUTE_SELECTOR_MODE,
9353
9346
  {
9354
9347
  className: "selector-tag",
9355
- begin: "\\b(" + Vo.join("|") + ")\\b",
9348
+ begin: "\\b(" + Wo.join("|") + ")\\b",
9356
9349
  // was there, before, but why?
9357
9350
  relevance: 0
9358
9351
  },
@@ -10752,7 +10745,7 @@ function ll(t) {
10752
10745
  end: /}/
10753
10746
  };
10754
10747
  for (const ue of K.variants) {
10755
- const lt = ue.contains.find((Wt) => Wt.label === "interpol");
10748
+ const lt = ue.contains.find((Vt) => Vt.label === "interpol");
10756
10749
  lt.keywords = m;
10757
10750
  const ct = [
10758
10751
  ...p,
@@ -10924,7 +10917,7 @@ const Ur = "[A-Za-z$_][0-9A-Za-z$_]*", Ha = [
10924
10917
  "SyntaxError",
10925
10918
  "TypeError",
10926
10919
  "URIError"
10927
- ], Wa = [
10920
+ ], Va = [
10928
10921
  "setInterval",
10929
10922
  "setTimeout",
10930
10923
  "clearInterval",
@@ -10942,7 +10935,7 @@ const Ur = "[A-Za-z$_][0-9A-Za-z$_]*", Ha = [
10942
10935
  "encodeURIComponent",
10943
10936
  "escape",
10944
10937
  "unescape"
10945
- ], Va = [
10938
+ ], Wa = [
10946
10939
  "arguments",
10947
10940
  "this",
10948
10941
  "super",
@@ -10955,7 +10948,7 @@ const Ur = "[A-Za-z$_][0-9A-Za-z$_]*", Ha = [
10955
10948
  "global"
10956
10949
  // Node.js
10957
10950
  ], Ya = [].concat(
10958
- Wa,
10951
+ Va,
10959
10952
  Ga,
10960
10953
  Ka
10961
10954
  );
@@ -11003,7 +10996,7 @@ function cl(t) {
11003
10996
  keyword: Ha,
11004
10997
  literal: $a,
11005
10998
  built_in: Ya,
11006
- "variable.language": Va
10999
+ "variable.language": Wa
11007
11000
  }, u = "[0-9](_?[0-9])*", m = `\\.(${u})`, p = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", f = {
11008
11001
  className: "number",
11009
11002
  variants: [
@@ -11256,7 +11249,7 @@ function cl(t) {
11256
11249
  match: e.concat(
11257
11250
  /\b/,
11258
11251
  le([
11259
- ...Wa,
11252
+ ...Va,
11260
11253
  "super",
11261
11254
  "import"
11262
11255
  ]),
@@ -11514,7 +11507,7 @@ function ul(t) {
11514
11507
  keyword: Ha.concat(c),
11515
11508
  literal: $a,
11516
11509
  built_in: Ya.concat(n),
11517
- "variable.language": Va
11510
+ "variable.language": Wa
11518
11511
  }, m = {
11519
11512
  className: "meta",
11520
11513
  begin: "@" + r
@@ -12624,7 +12617,7 @@ function gl() {
12624
12617
  y.begin = y.match, delete y.match;
12625
12618
  }
12626
12619
  }
12627
- function Wt(y, T) {
12620
+ function Vt(y, T) {
12628
12621
  y.relevance === void 0 && (y.relevance = 1);
12629
12622
  }
12630
12623
  const sr = (y, T) => {
@@ -12639,7 +12632,7 @@ function gl() {
12639
12632
  Object.assign(B, { endsParent: !0 })
12640
12633
  ]
12641
12634
  }, y.relevance = 0, delete B.beforeMatch;
12642
- }, Vt = [
12635
+ }, Wt = [
12643
12636
  "of",
12644
12637
  "and",
12645
12638
  "for",
@@ -12666,15 +12659,15 @@ function gl() {
12666
12659
  function Me(Ae, G) {
12667
12660
  T && (G = G.map((H) => H.toLowerCase())), G.forEach(function(H) {
12668
12661
  const j = H.split("|");
12669
- ee[j[0]] = [Ae, Vi(j[0], j[1])];
12662
+ ee[j[0]] = [Ae, Wi(j[0], j[1])];
12670
12663
  });
12671
12664
  }
12672
12665
  }
12673
- function Vi(y, T) {
12666
+ function Wi(y, T) {
12674
12667
  return T ? Number(T) : Yi(y) ? 0 : 1;
12675
12668
  }
12676
12669
  function Yi(y) {
12677
- return Vt.includes(y.toLowerCase());
12670
+ return Wt.includes(y.toLowerCase());
12678
12671
  }
12679
12672
  const cn = {}, Ft = (y) => {
12680
12673
  console.error(y);
@@ -12799,7 +12792,7 @@ function gl() {
12799
12792
  // raw array if they wanted to perhaps manipulate it, etc.
12800
12793
  lt,
12801
12794
  // default to 1 relevance if not specified
12802
- Wt
12795
+ Vt
12803
12796
  ].forEach((Re) => Re(G, H)), G.isCompiled = !0;
12804
12797
  let Be = null;
12805
12798
  return typeof G.keywords == "object" && G.keywords.$pattern && (G.keywords = Object.assign({}, G.keywords), Be = G.keywords.$pattern, delete G.keywords.$pattern), Be = Be || /\w+/, G.keywords && (G.keywords = ln(G.keywords, y.case_insensitive)), j.keywordPatternRe = T(Be, !0), H && (G.begin || (G.begin = /\B|\b/), j.beginRe = T(j.begin), !G.end && !G.endsWithParent && (G.end = /\B|\b/), G.end && (j.endRe = T(j.end)), j.terminatorEnd = f(j.end) || "", G.endsWithParent && H.terminatorEnd && (j.terminatorEnd += (G.end ? "|" : "") + H.terminatorEnd)), G.illegal && (j.illegalRe = T(
@@ -12879,8 +12872,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Ie = C, fe = Y), se =
12879
12872
  }
12880
12873
  function or(C, Y, se, fe) {
12881
12874
  const Ie = /* @__PURE__ */ Object.create(null);
12882
- function it(z, W) {
12883
- return z.keywords[W];
12875
+ function it(z, V) {
12876
+ return z.keywords[V];
12884
12877
  }
12885
12878
  function Mt() {
12886
12879
  if (!te.keywords) {
@@ -12889,21 +12882,21 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Ie = C, fe = Y), se =
12889
12882
  }
12890
12883
  let z = 0;
12891
12884
  te.keywordPatternRe.lastIndex = 0;
12892
- let W = te.keywordPatternRe.exec(we), ae = "";
12893
- for (; W; ) {
12894
- ae += we.substring(z, W.index);
12895
- const de = dt.case_insensitive ? W[0].toLowerCase() : W[0], Fe = it(te, de);
12885
+ let V = te.keywordPatternRe.exec(we), ae = "";
12886
+ for (; V; ) {
12887
+ ae += we.substring(z, V.index);
12888
+ const de = dt.case_insensitive ? V[0].toLowerCase() : V[0], Fe = it(te, de);
12896
12889
  if (Fe) {
12897
12890
  const [bt, Es] = Fe;
12898
12891
  if (ze.addText(ae), ae = "", Ie[de] = (Ie[de] || 0) + 1, Ie[de] <= ns && (Er += Es), bt.startsWith("_"))
12899
- ae += W[0];
12892
+ ae += V[0];
12900
12893
  else {
12901
12894
  const xs = dt.classNameAliases[bt] || bt;
12902
- ut(W[0], xs);
12895
+ ut(V[0], xs);
12903
12896
  }
12904
12897
  } else
12905
- ae += W[0];
12906
- z = te.keywordPatternRe.lastIndex, W = te.keywordPatternRe.exec(we);
12898
+ ae += V[0];
12899
+ z = te.keywordPatternRe.lastIndex, V = te.keywordPatternRe.exec(we);
12907
12900
  }
12908
12901
  ae += we.substring(z), ze.addText(ae);
12909
12902
  }
@@ -12924,30 +12917,30 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Ie = C, fe = Y), se =
12924
12917
  function Ye() {
12925
12918
  te.subLanguage != null ? yr() : Mt(), we = "";
12926
12919
  }
12927
- function ut(z, W) {
12928
- z !== "" && (ze.startScope(W), ze.addText(z), ze.endScope());
12920
+ function ut(z, V) {
12921
+ z !== "" && (ze.startScope(V), ze.addText(z), ze.endScope());
12929
12922
  }
12930
- function yn(z, W) {
12923
+ function yn(z, V) {
12931
12924
  let ae = 1;
12932
- const de = W.length - 1;
12925
+ const de = V.length - 1;
12933
12926
  for (; ae <= de; ) {
12934
12927
  if (!z._emit[ae]) {
12935
12928
  ae++;
12936
12929
  continue;
12937
12930
  }
12938
- const Fe = dt.classNameAliases[z[ae]] || z[ae], bt = W[ae];
12931
+ const Fe = dt.classNameAliases[z[ae]] || z[ae], bt = V[ae];
12939
12932
  Fe ? ut(bt, Fe) : (we = bt, Mt(), we = ""), ae++;
12940
12933
  }
12941
12934
  }
12942
- function wn(z, W) {
12943
- return z.scope && typeof z.scope == "string" && ze.openNode(dt.classNameAliases[z.scope] || z.scope), z.beginScope && (z.beginScope._wrap ? (ut(we, dt.classNameAliases[z.beginScope._wrap] || z.beginScope._wrap), we = "") : z.beginScope._multi && (yn(z.beginScope, W), we = "")), te = Object.create(z, { parent: { value: te } }), te;
12935
+ function wn(z, V) {
12936
+ return z.scope && typeof z.scope == "string" && ze.openNode(dt.classNameAliases[z.scope] || z.scope), z.beginScope && (z.beginScope._wrap ? (ut(we, dt.classNameAliases[z.beginScope._wrap] || z.beginScope._wrap), we = "") : z.beginScope._multi && (yn(z.beginScope, V), we = "")), te = Object.create(z, { parent: { value: te } }), te;
12944
12937
  }
12945
- function En(z, W, ae) {
12938
+ function En(z, V, ae) {
12946
12939
  let de = D(z.endRe, ae);
12947
12940
  if (de) {
12948
12941
  if (z["on:end"]) {
12949
12942
  const Fe = new e(z);
12950
- z["on:end"](W, Fe), Fe.isMatchIgnored && (de = !1);
12943
+ z["on:end"](V, Fe), Fe.isMatchIgnored && (de = !1);
12951
12944
  }
12952
12945
  if (de) {
12953
12946
  for (; z.endsParent && z.parent; )
@@ -12956,60 +12949,60 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Ie = C, fe = Y), se =
12956
12949
  }
12957
12950
  }
12958
12951
  if (z.endsWithParent)
12959
- return En(z.parent, W, ae);
12952
+ return En(z.parent, V, ae);
12960
12953
  }
12961
12954
  function gs(z) {
12962
12955
  return te.matcher.regexIndex === 0 ? (we += z[0], 1) : (i0 = !0, 0);
12963
12956
  }
12964
12957
  function bs(z) {
12965
- const W = z[0], ae = z.rule, de = new e(ae), Fe = [ae.__beforeBegin, ae["on:begin"]];
12958
+ const V = z[0], ae = z.rule, de = new e(ae), Fe = [ae.__beforeBegin, ae["on:begin"]];
12966
12959
  for (const bt of Fe)
12967
12960
  if (bt && (bt(z, de), de.isMatchIgnored))
12968
- return gs(W);
12969
- return ae.skip ? we += W : (ae.excludeBegin && (we += W), Ye(), !ae.returnBegin && !ae.excludeBegin && (we = W)), wn(ae, z), ae.returnBegin ? 0 : W.length;
12961
+ return gs(V);
12962
+ return ae.skip ? we += V : (ae.excludeBegin && (we += V), Ye(), !ae.returnBegin && !ae.excludeBegin && (we = V)), wn(ae, z), ae.returnBegin ? 0 : V.length;
12970
12963
  }
12971
12964
  function vs(z) {
12972
- const W = z[0], ae = Y.substring(z.index), de = En(te, z, ae);
12965
+ const V = z[0], ae = Y.substring(z.index), de = En(te, z, ae);
12973
12966
  if (!de)
12974
12967
  return pn;
12975
12968
  const Fe = te;
12976
- te.endScope && te.endScope._wrap ? (Ye(), ut(W, te.endScope._wrap)) : te.endScope && te.endScope._multi ? (Ye(), yn(te.endScope, z)) : Fe.skip ? we += W : (Fe.returnEnd || Fe.excludeEnd || (we += W), Ye(), Fe.excludeEnd && (we = W));
12969
+ te.endScope && te.endScope._wrap ? (Ye(), ut(V, te.endScope._wrap)) : te.endScope && te.endScope._multi ? (Ye(), yn(te.endScope, z)) : Fe.skip ? we += V : (Fe.returnEnd || Fe.excludeEnd || (we += V), Ye(), Fe.excludeEnd && (we = V));
12977
12970
  do
12978
12971
  te.scope && ze.closeNode(), !te.skip && !te.subLanguage && (Er += te.relevance), te = te.parent;
12979
12972
  while (te !== de.parent);
12980
- return de.starts && wn(de.starts, z), Fe.returnEnd ? 0 : W.length;
12973
+ return de.starts && wn(de.starts, z), Fe.returnEnd ? 0 : V.length;
12981
12974
  }
12982
12975
  function ys() {
12983
12976
  const z = [];
12984
- for (let W = te; W !== dt; W = W.parent)
12985
- W.scope && z.unshift(W.scope);
12986
- z.forEach((W) => ze.openNode(W));
12977
+ for (let V = te; V !== dt; V = V.parent)
12978
+ V.scope && z.unshift(V.scope);
12979
+ z.forEach((V) => ze.openNode(V));
12987
12980
  }
12988
12981
  let wr = {};
12989
- function xn(z, W) {
12990
- const ae = W && W[0];
12982
+ function xn(z, V) {
12983
+ const ae = V && V[0];
12991
12984
  if (we += z, ae == null)
12992
12985
  return Ye(), 0;
12993
- if (wr.type === "begin" && W.type === "end" && wr.index === W.index && ae === "") {
12994
- if (we += Y.slice(W.index, W.index + 1), !Me) {
12986
+ if (wr.type === "begin" && V.type === "end" && wr.index === V.index && ae === "") {
12987
+ if (we += Y.slice(V.index, V.index + 1), !Me) {
12995
12988
  const de = new Error(`0 width match regex (${C})`);
12996
12989
  throw de.languageName = C, de.badRule = wr.rule, de;
12997
12990
  }
12998
12991
  return 1;
12999
12992
  }
13000
- if (wr = W, W.type === "begin")
13001
- return bs(W);
13002
- if (W.type === "illegal" && !se) {
12993
+ if (wr = V, V.type === "begin")
12994
+ return bs(V);
12995
+ if (V.type === "illegal" && !se) {
13003
12996
  const de = new Error('Illegal lexeme "' + ae + '" for mode "' + (te.scope || "<unnamed>") + '"');
13004
12997
  throw de.mode = te, de;
13005
- } else if (W.type === "end") {
13006
- const de = vs(W);
12998
+ } else if (V.type === "end") {
12999
+ const de = vs(V);
13007
13000
  if (de !== pn)
13008
13001
  return de;
13009
13002
  }
13010
- if (W.type === "illegal" && ae === "")
13003
+ if (V.type === "illegal" && ae === "")
13011
13004
  return 1;
13012
- if (a0 > 1e5 && a0 > W.index * 3)
13005
+ if (a0 > 1e5 && a0 > V.index * 3)
13013
13006
  throw new Error("potential infinite loop, way more iterations than matches");
13014
13007
  return we += ae, ae.length;
13015
13008
  }
@@ -13029,7 +13022,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Ie = C, fe = Y), se =
13029
13022
  a0++, i0 ? i0 = !1 : te.matcher.considerAll(), te.matcher.lastIndex = Ut;
13030
13023
  const z = te.matcher.exec(Y);
13031
13024
  if (!z) break;
13032
- const W = Y.substring(Ut, z.index), ae = xn(W, z);
13025
+ const V = Y.substring(Ut, z.index), ae = xn(V, z);
13033
13026
  Ut = z.index + ae;
13034
13027
  }
13035
13028
  xn(Y.substring(Ut));
@@ -13797,15 +13790,15 @@ var Hl = function(e, r) {
13797
13790
  return e === void 0 ? r : e;
13798
13791
  }, Gl = /([A-Z])/g, Kl = function(e) {
13799
13792
  return e.replace(Gl, "-$1").toLowerCase();
13800
- }, Wl = {
13793
+ }, Vl = {
13801
13794
  "&": "&amp;",
13802
13795
  ">": "&gt;",
13803
13796
  "<": "&lt;",
13804
13797
  '"': "&quot;",
13805
13798
  "'": "&#x27;"
13806
- }, Vl = /[&><"']/g;
13799
+ }, Wl = /[&><"']/g;
13807
13800
  function Yl(t) {
13808
- return String(t).replace(Vl, (e) => Wl[e]);
13801
+ return String(t).replace(Wl, (e) => Vl[e]);
13809
13802
  }
13810
13803
  var Ja = function t(e) {
13811
13804
  return e.type === "ordgroup" || e.type === "color" ? e.body.length === 1 ? t(e.body[0]) : e : e.type === "font" ? t(e.body) : e;
@@ -13819,7 +13812,7 @@ var Ja = function t(e) {
13819
13812
  }, Ql = function(e) {
13820
13813
  var r = /^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);
13821
13814
  return r ? r[2] !== ":" || !/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1]) ? null : r[1].toLowerCase() : "_relative";
13822
- }, V = {
13815
+ }, W = {
13823
13816
  contains: Hl,
13824
13817
  deflt: $l,
13825
13818
  escape: Yl,
@@ -13980,7 +13973,7 @@ class q0 {
13980
13973
  */
13981
13974
  isTrusted(e) {
13982
13975
  if (e.url && !e.protocol) {
13983
- var r = V.protocolFromUrl(e.url);
13976
+ var r = W.protocolFromUrl(e.url);
13984
13977
  if (r == null)
13985
13978
  return !1;
13986
13979
  e.protocol = r;
@@ -14546,7 +14539,7 @@ class hr {
14546
14539
  this.children = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, this.children = e, this.classes = [], this.height = 0, this.depth = 0, this.maxFontSize = 0, this.style = {};
14547
14540
  }
14548
14541
  hasClass(e) {
14549
- return V.contains(this.classes, e);
14542
+ return W.contains(this.classes, e);
14550
14543
  }
14551
14544
  /** Convert the fragment into a node. */
14552
14545
  toNode() {
@@ -17118,13 +17111,13 @@ var O0 = {
17118
17111
  return r;
17119
17112
  }, ni = function(e) {
17120
17113
  var r = "<" + e;
17121
- this.classes.length && (r += ' class="' + V.escape(Ct(this.classes)) + '"');
17114
+ this.classes.length && (r += ' class="' + W.escape(Ct(this.classes)) + '"');
17122
17115
  var n = "";
17123
17116
  for (var a in this.style)
17124
- this.style.hasOwnProperty(a) && (n += V.hyphenate(a) + ":" + this.style[a] + ";");
17125
- n && (r += ' style="' + V.escape(n) + '"');
17117
+ this.style.hasOwnProperty(a) && (n += W.hyphenate(a) + ":" + this.style[a] + ";");
17118
+ n && (r += ' style="' + W.escape(n) + '"');
17126
17119
  for (var i in this.attributes)
17127
- this.attributes.hasOwnProperty(i) && (r += " " + i + '="' + V.escape(this.attributes[i]) + '"');
17120
+ this.attributes.hasOwnProperty(i) && (r += " " + i + '="' + W.escape(this.attributes[i]) + '"');
17128
17121
  r += ">";
17129
17122
  for (var o = 0; o < this.children.length; o++)
17130
17123
  r += this.children[o].toMarkup();
@@ -17143,7 +17136,7 @@ class pr {
17143
17136
  this.attributes[e] = r;
17144
17137
  }
17145
17138
  hasClass(e) {
17146
- return V.contains(this.classes, e);
17139
+ return W.contains(this.classes, e);
17147
17140
  }
17148
17141
  toNode() {
17149
17142
  return ri.call(this, "span");
@@ -17160,7 +17153,7 @@ class G0 {
17160
17153
  this.attributes[e] = r;
17161
17154
  }
17162
17155
  hasClass(e) {
17163
- return V.contains(this.classes, e);
17156
+ return W.contains(this.classes, e);
17164
17157
  }
17165
17158
  toNode() {
17166
17159
  return ri.call(this, "a");
@@ -17174,7 +17167,7 @@ class wc {
17174
17167
  this.src = void 0, this.alt = void 0, this.classes = void 0, this.height = void 0, this.depth = void 0, this.maxFontSize = void 0, this.style = void 0, this.alt = r, this.src = e, this.classes = ["mord"], this.style = n;
17175
17168
  }
17176
17169
  hasClass(e) {
17177
- return V.contains(this.classes, e);
17170
+ return W.contains(this.classes, e);
17178
17171
  }
17179
17172
  toNode() {
17180
17173
  var e = document.createElement("img");
@@ -17184,10 +17177,10 @@ class wc {
17184
17177
  return e;
17185
17178
  }
17186
17179
  toMarkup() {
17187
- var e = '<img src="' + V.escape(this.src) + '"' + (' alt="' + V.escape(this.alt) + '"'), r = "";
17180
+ var e = '<img src="' + W.escape(this.src) + '"' + (' alt="' + W.escape(this.alt) + '"'), r = "";
17188
17181
  for (var n in this.style)
17189
- this.style.hasOwnProperty(n) && (r += V.hyphenate(n) + ":" + this.style[n] + ";");
17190
- return r && (e += ' style="' + V.escape(r) + '"'), e += "'/>", e;
17182
+ this.style.hasOwnProperty(n) && (r += W.hyphenate(n) + ":" + this.style[n] + ";");
17183
+ return r && (e += ' style="' + W.escape(r) + '"'), e += "'/>", e;
17191
17184
  }
17192
17185
  }
17193
17186
  var Ec = {
@@ -17204,7 +17197,7 @@ class et {
17204
17197
  m && this.classes.push(m + "_fallback"), /[îïíì]/.test(this.text) && (this.text = Ec[this.text]);
17205
17198
  }
17206
17199
  hasClass(e) {
17207
- return V.contains(this.classes, e);
17200
+ return W.contains(this.classes, e);
17208
17201
  }
17209
17202
  /**
17210
17203
  * Creates a text node or span from a symbol node. Note that a span is only
@@ -17222,13 +17215,13 @@ class et {
17222
17215
  */
17223
17216
  toMarkup() {
17224
17217
  var e = !1, r = "<span";
17225
- this.classes.length && (e = !0, r += ' class="', r += V.escape(Ct(this.classes)), r += '"');
17218
+ this.classes.length && (e = !0, r += ' class="', r += W.escape(Ct(this.classes)), r += '"');
17226
17219
  var n = "";
17227
17220
  this.italic > 0 && (n += "margin-right:" + this.italic + "em;");
17228
17221
  for (var a in this.style)
17229
- this.style.hasOwnProperty(a) && (n += V.hyphenate(a) + ":" + this.style[a] + ";");
17230
- n && (e = !0, r += ' style="' + V.escape(n) + '"');
17231
- var i = V.escape(this.text);
17222
+ this.style.hasOwnProperty(a) && (n += W.hyphenate(a) + ":" + this.style[a] + ";");
17223
+ n && (e = !0, r += ' style="' + W.escape(n) + '"');
17224
+ var i = W.escape(this.text);
17232
17225
  return e ? (r += ">", r += i, r += "</span>", r) : i;
17233
17226
  }
17234
17227
  }
@@ -17247,7 +17240,7 @@ class _t {
17247
17240
  toMarkup() {
17248
17241
  var e = '<svg xmlns="http://www.w3.org/2000/svg"';
17249
17242
  for (var r in this.attributes)
17250
- Object.prototype.hasOwnProperty.call(this.attributes, r) && (e += " " + r + '="' + V.escape(this.attributes[r]) + '"');
17243
+ Object.prototype.hasOwnProperty.call(this.attributes, r) && (e += " " + r + '="' + W.escape(this.attributes[r]) + '"');
17251
17244
  e += ">";
17252
17245
  for (var n = 0; n < this.children.length; n++)
17253
17246
  e += this.children[n].toMarkup();
@@ -17263,7 +17256,7 @@ class It {
17263
17256
  return this.alternate ? r.setAttribute("d", this.alternate) : r.setAttribute("d", Hn[this.pathName]), r;
17264
17257
  }
17265
17258
  toMarkup() {
17266
- return this.alternate ? '<path d="' + V.escape(this.alternate) + '"/>' : '<path d="' + V.escape(Hn[this.pathName]) + '"/>';
17259
+ return this.alternate ? '<path d="' + W.escape(this.alternate) + '"/>' : '<path d="' + W.escape(Hn[this.pathName]) + '"/>';
17267
17260
  }
17268
17261
  }
17269
17262
  class R0 {
@@ -17279,11 +17272,11 @@ class R0 {
17279
17272
  toMarkup() {
17280
17273
  var e = "<line";
17281
17274
  for (var r in this.attributes)
17282
- Object.prototype.hasOwnProperty.call(this.attributes, r) && (e += " " + r + '="' + V.escape(this.attributes[r]) + '"');
17275
+ Object.prototype.hasOwnProperty.call(this.attributes, r) && (e += " " + r + '="' + W.escape(this.attributes[r]) + '"');
17283
17276
  return e += "/>", e;
17284
17277
  }
17285
17278
  }
17286
- function Wn(t) {
17279
+ function Vn(t) {
17287
17280
  if (t instanceof et)
17288
17281
  return t;
17289
17282
  throw new Error("Expected symbolNode but got " + String(t) + ".");
@@ -17317,7 +17310,7 @@ function s(t, e, r, n, a, i) {
17317
17310
  replace: n
17318
17311
  }, i && n && (ge[t][n] = ge[t][a]);
17319
17312
  }
17320
- var l = "math", A = "text", d = "main", g = "ams", _e = "accent-token", U = "bin", $e = "close", rr = "inner", Z = "mathord", Ce = "op-token", Xe = "open", Wr = "punct", b = "rel", kt = "spacing", E = "textord";
17313
+ var l = "math", A = "text", d = "main", g = "ams", _e = "accent-token", U = "bin", $e = "close", rr = "inner", Z = "mathord", Ce = "op-token", Xe = "open", Vr = "punct", b = "rel", kt = "spacing", E = "textord";
17321
17314
  s(l, d, b, "≡", "\\equiv", !0);
17322
17315
  s(l, d, b, "≺", "\\prec", !0);
17323
17316
  s(l, d, b, "≻", "\\succ", !0);
@@ -17342,8 +17335,8 @@ s(l, d, b, "∝", "\\propto", !0);
17342
17335
  s(l, d, b, "⊢", "\\vdash", !0);
17343
17336
  s(l, d, b, "⊣", "\\dashv", !0);
17344
17337
  s(l, d, b, "∋", "\\owns");
17345
- s(l, d, Wr, ".", "\\ldotp");
17346
- s(l, d, Wr, "⋅", "\\cdotp");
17338
+ s(l, d, Vr, ".", "\\ldotp");
17339
+ s(l, d, Vr, "⋅", "\\cdotp");
17347
17340
  s(l, d, E, "#", "\\#");
17348
17341
  s(A, d, E, "#", "\\#");
17349
17342
  s(l, d, E, "&", "\\&");
@@ -17770,8 +17763,8 @@ s(A, d, kt, " ", "\\space");
17770
17763
  s(A, d, kt, " ", "\\nobreakspace");
17771
17764
  s(l, d, kt, null, "\\nobreak");
17772
17765
  s(l, d, kt, null, "\\allowbreak");
17773
- s(l, d, Wr, ",", ",");
17774
- s(l, d, Wr, ";", ";");
17766
+ s(l, d, Vr, ",", ",");
17767
+ s(l, d, Vr, ";", ";");
17775
17768
  s(l, g, U, "⊼", "\\barwedge", !0);
17776
17769
  s(l, g, U, "⊻", "\\veebar", !0);
17777
17770
  s(l, d, U, "⊙", "\\odot", !0);
@@ -17915,9 +17908,9 @@ s(A, d, E, "£", "\\pounds");
17915
17908
  s(A, d, E, "£", "\\textsterling", !0);
17916
17909
  s(l, g, E, "✠", "\\maltese");
17917
17910
  s(A, g, E, "✠", "\\maltese");
17918
- var Vn = '0123456789/@."';
17919
- for (var m0 = 0; m0 < Vn.length; m0++) {
17920
- var Yn = Vn.charAt(m0);
17911
+ var Wn = '0123456789/@."';
17912
+ for (var m0 = 0; m0 < Wn.length; m0++) {
17913
+ var Yn = Wn.charAt(m0);
17921
17914
  s(l, d, E, Yn, Yn);
17922
17915
  }
17923
17916
  var Zn = '0123456789!@*()-=+";:?/.,';
@@ -18045,13 +18038,13 @@ var Rr = [
18045
18038
  return ["", ""];
18046
18039
  throw new R("Unsupported character: " + e);
18047
18040
  }
18048
- }, Vr = function(e, r, n) {
18041
+ }, Wr = function(e, r, n) {
18049
18042
  return ge[n][e] && ge[n][e].replace && (e = ge[n][e].replace), {
18050
18043
  value: e,
18051
18044
  metrics: $0(e, r, n)
18052
18045
  };
18053
18046
  }, st = function(e, r, n, a, i) {
18054
- var o = Vr(e, r, n), c = o.metrics;
18047
+ var o = Wr(e, r, n), c = o.metrics;
18055
18048
  e = o.value;
18056
18049
  var u;
18057
18050
  if (c) {
@@ -18066,9 +18059,9 @@ var Rr = [
18066
18059
  }
18067
18060
  return u;
18068
18061
  }, kc = function(e, r, n, a) {
18069
- return a === void 0 && (a = []), n.font === "boldsymbol" && Vr(e, "Main-Bold", r).metrics ? st(e, "Main-Bold", r, n, a.concat(["mathbf"])) : e === "\\" || ge[r][e].font === "main" ? st(e, "Main-Regular", r, n, a) : st(e, "AMS-Regular", r, n, a.concat(["amsrm"]));
18062
+ return a === void 0 && (a = []), n.font === "boldsymbol" && Wr(e, "Main-Bold", r).metrics ? st(e, "Main-Bold", r, n, a.concat(["mathbf"])) : e === "\\" || ge[r][e].font === "main" ? st(e, "Main-Regular", r, n, a) : st(e, "AMS-Regular", r, n, a.concat(["amsrm"]));
18070
18063
  }, Tc = function(e, r, n, a, i) {
18071
- return i !== "textord" && Vr(e, "Math-BoldItalic", r).metrics ? {
18064
+ return i !== "textord" && Wr(e, "Math-BoldItalic", r).metrics ? {
18072
18065
  fontName: "Math-BoldItalic",
18073
18066
  fontClass: "boldsymbol"
18074
18067
  } : {
@@ -18085,7 +18078,7 @@ var Rr = [
18085
18078
  var w = Tc(i, a, r, o, n);
18086
18079
  f = w.fontName, v = [w.fontClass];
18087
18080
  } else c ? (f = oi[u].fontName, v = [u]) : (f = Cr(u, r.fontWeight, r.fontShape), v = [u, r.fontWeight, r.fontShape]);
18088
- if (Vr(i, f, a).metrics)
18081
+ if (Wr(i, f, a).metrics)
18089
18082
  return st(i, f, a, r, o.concat(v));
18090
18083
  if (ai.hasOwnProperty(i) && f.slice(0, 10) === "Typewriter") {
18091
18084
  for (var _ = [], x = 0; x < i.length; x++)
@@ -18490,7 +18483,7 @@ var Kr = function(e) {
18490
18483
  var f = St([a[0] || "leftmost"], [], r), v = St([a[1] || "rightmost"], [], r), w = n === "root";
18491
18484
  return Jn(i, (_, x) => {
18492
18485
  var N = x.classes[0], M = _.classes[0];
18493
- N === "mbin" && V.contains(qc, M) ? x.classes[0] = "mord" : M === "mbin" && V.contains(Uc, N) && (_.classes[0] = "mord");
18486
+ N === "mbin" && W.contains(qc, M) ? x.classes[0] = "mord" : M === "mbin" && W.contains(Uc, N) && (_.classes[0] = "mord");
18494
18487
  }, {
18495
18488
  node: f
18496
18489
  }, v, w), Jn(i, (_, x) => {
@@ -18614,8 +18607,8 @@ class Qe {
18614
18607
  toMarkup() {
18615
18608
  var e = "<" + this.type;
18616
18609
  for (var r in this.attributes)
18617
- Object.prototype.hasOwnProperty.call(this.attributes, r) && (e += " " + r + '="', e += V.escape(this.attributes[r]), e += '"');
18618
- this.classes.length > 0 && (e += ' class ="' + V.escape(Ct(this.classes)) + '"'), e += ">";
18610
+ Object.prototype.hasOwnProperty.call(this.attributes, r) && (e += " " + r + '="', e += W.escape(this.attributes[r]), e += '"');
18611
+ this.classes.length > 0 && (e += ' class ="' + W.escape(Ct(this.classes)) + '"'), e += ">";
18619
18612
  for (var n = 0; n < this.children.length; n++)
18620
18613
  e += this.children[n].toMarkup();
18621
18614
  return e += "</" + this.type + ">", e;
@@ -18642,7 +18635,7 @@ class cr {
18642
18635
  * (representing the text itself).
18643
18636
  */
18644
18637
  toMarkup() {
18645
- return V.escape(this.toText());
18638
+ return W.escape(this.toText());
18646
18639
  }
18647
18640
  /**
18648
18641
  * Converts the text node into a string
@@ -18688,9 +18681,9 @@ var O = {
18688
18681
  newDocumentFragment: di
18689
18682
  }, tt = function(e, r, n) {
18690
18683
  return ge[r][e] && ge[r][e].replace && e.charCodeAt(0) !== 55349 && !(ai.hasOwnProperty(e) && n && (n.fontFamily && n.fontFamily.slice(4, 6) === "tt" || n.font && n.font.slice(4, 6) === "tt")) && (e = ge[r][e].replace), new O.TextNode(e);
18691
- }, W0 = function(e) {
18684
+ }, V0 = function(e) {
18692
18685
  return e.length === 1 ? e[0] : new O.MathNode("mrow", e);
18693
- }, V0 = function(e, r) {
18686
+ }, W0 = function(e, r) {
18694
18687
  if (r.fontFamily === "texttt")
18695
18688
  return "monospace";
18696
18689
  if (r.fontFamily === "textsf")
@@ -18722,12 +18715,12 @@ var O = {
18722
18715
  if (n === "mathtt")
18723
18716
  return "monospace";
18724
18717
  var i = e.text;
18725
- if (V.contains(["\\imath", "\\jmath"], i))
18718
+ if (W.contains(["\\imath", "\\jmath"], i))
18726
18719
  return null;
18727
18720
  ge[a][i] && ge[a][i].replace && (i = ge[a][i].replace);
18728
18721
  var o = S.fontMap[n].fontName;
18729
18722
  return $0(i, o, a) ? S.fontMap[n].variant : null;
18730
- }, Ve = function(e, r, n) {
18723
+ }, We = function(e, r, n) {
18731
18724
  if (e.length === 1) {
18732
18725
  var a = pe(e[0], r);
18733
18726
  return n && a instanceof Qe && a.type === "mo" && (a.setAttribute("lspace", "0em"), a.setAttribute("rspace", "0em")), [a];
@@ -18759,7 +18752,7 @@ var O = {
18759
18752
  }
18760
18753
  return i;
18761
18754
  }, Dt = function(e, r, n) {
18762
- return W0(Ve(e, r, n));
18755
+ return V0(We(e, r, n));
18763
18756
  }, pe = function(e, r) {
18764
18757
  if (!e)
18765
18758
  return new O.MathNode("mrow");
@@ -18770,8 +18763,8 @@ var O = {
18770
18763
  throw new R("Got group of unknown type: '" + e.type + "'");
18771
18764
  };
18772
18765
  function jn(t, e, r, n, a) {
18773
- var i = Ve(t, r), o;
18774
- i.length === 1 && i[0] instanceof Qe && V.contains(["mrow", "mtable"], i[0].type) ? o = i[0] : o = new O.MathNode("mrow", i);
18766
+ var i = We(t, r), o;
18767
+ i.length === 1 && i[0] instanceof Qe && W.contains(["mrow", "mtable"], i[0].type) ? o = i[0] : o = new O.MathNode("mrow", i);
18775
18768
  var c = new O.MathNode("annotation", [new O.TextNode(e)]);
18776
18769
  c.setAttribute("encoding", "application/x-tex");
18777
18770
  var u = new O.MathNode("semantics", [o, c]), m = new O.MathNode("math", [u]);
@@ -18791,7 +18784,7 @@ var mi = function(e) {
18791
18784
  r.leqno && n.push("leqno"), r.fleqn && n.push("fleqn"), e = S.makeSpan(n, [e]);
18792
18785
  }
18793
18786
  return e;
18794
- }, Wc = function(e, r, n) {
18787
+ }, Vc = function(e, r, n) {
18795
18788
  var a = mi(n), i;
18796
18789
  if (n.output === "mathml")
18797
18790
  return jn(e, r, a, n.displayMode, !0);
@@ -18803,7 +18796,7 @@ var mi = function(e) {
18803
18796
  i = S.makeSpan(["katex"], [c, u]);
18804
18797
  }
18805
18798
  return hi(i, n);
18806
- }, Vc = function(e, r, n) {
18799
+ }, Wc = function(e, r, n) {
18807
18800
  var a = mi(n), i = D0(e, a), o = S.makeSpan(["katex"], [i]);
18808
18801
  return hi(o, n);
18809
18802
  }, Yc = {
@@ -18906,7 +18899,7 @@ var mi = function(e) {
18906
18899
  }, Jc = function(e, r) {
18907
18900
  function n() {
18908
18901
  var c = 4e5, u = e.label.slice(1);
18909
- if (V.contains(["widehat", "widecheck", "widetilde", "utilde"], u)) {
18902
+ if (W.contains(["widehat", "widecheck", "widetilde", "utilde"], u)) {
18910
18903
  var m = e, p = Qc(m.base), f, v, w;
18911
18904
  if (p > 5)
18912
18905
  u === "widehat" || u === "widecheck" ? (f = 420, c = 2364, w = 0.42, v = u + "4") : (f = 312, c = 2340, w = 0.34, v = "tilde4");
@@ -19016,10 +19009,10 @@ function Yr(t) {
19016
19009
  var Z0 = (t, e) => {
19017
19010
  var r, n, a;
19018
19011
  t && t.type === "supsub" ? (n = re(t.base, "accent"), r = n.base, t.base = r, a = xc(oe(t, e)), t.base = n) : (n = re(t, "accent"), r = n.base);
19019
- var i = oe(r, e.havingCrampedStyle()), o = n.isShifty && V.isCharacterBox(r), c = 0;
19012
+ var i = oe(r, e.havingCrampedStyle()), o = n.isShifty && W.isCharacterBox(r), c = 0;
19020
19013
  if (o) {
19021
- var u = V.getBaseElem(r), m = oe(u, e.havingCrampedStyle());
19022
- c = Wn(m).skew;
19014
+ var u = W.getBaseElem(r), m = oe(u, e.havingCrampedStyle());
19015
+ c = Vn(m).skew;
19023
19016
  }
19024
19017
  var p = n.label === "\\c", f = p ? i.height + i.depth : Math.min(i.height, e.fontMetrics().xHeight), v;
19025
19018
  if (n.isStretchy)
@@ -19043,7 +19036,7 @@ var Z0 = (t, e) => {
19043
19036
  n.label === "\\vec" ? (w = S.staticSvg("vec", e), _ = S.svgData.vec[1]) : (w = S.makeOrd({
19044
19037
  mode: n.mode,
19045
19038
  text: n.label
19046
- }, e, "textord"), w = Wn(w), w.italic = 0, _ = w.width, p && (f += w.depth)), v = S.makeSpan(["accent-body"], [w]);
19039
+ }, e, "textord"), w = Vn(w), w.italic = 0, _ = w.width, p && (f += w.depth)), v = S.makeSpan(["accent-body"], [w]);
19047
19040
  var x = n.label === "\\textcircled";
19048
19041
  x && (v.classes.push("accent-full"), f = i.height);
19049
19042
  var N = c;
@@ -19273,7 +19266,7 @@ function fi(t, e) {
19273
19266
  return t1([t.mclass], r, e);
19274
19267
  }
19275
19268
  function gi(t, e) {
19276
- var r, n = Ve(t.body, e);
19269
+ var r, n = We(t.body, e);
19277
19270
  return t.mclass === "minner" ? r = new O.MathNode("mpadded", n) : t.mclass === "mord" ? t.isCharacterBox ? (r = n[0], r.type = "mi") : r = new O.MathNode("mi", n) : (t.isCharacterBox ? (r = n[0], r.type = "mo") : r = new O.MathNode("mo", n), t.mclass === "mbin" ? (r.attributes.lspace = "0.22em", r.attributes.rspace = "0.22em") : t.mclass === "mpunct" ? (r.attributes.lspace = "0em", r.attributes.rspace = "0.17em") : t.mclass === "mopen" || t.mclass === "mclose" ? (r.attributes.lspace = "0em", r.attributes.rspace = "0em") : t.mclass === "minner" && (r.attributes.lspace = "0.0556em", r.attributes.width = "+0.1111em")), r;
19278
19271
  }
19279
19272
  P({
@@ -19294,7 +19287,7 @@ P({
19294
19287
  mclass: "m" + n.slice(5),
19295
19288
  // TODO(kevinb): don't prefix with 'm'
19296
19289
  body: Oe(a),
19297
- isCharacterBox: V.isCharacterBox(a)
19290
+ isCharacterBox: W.isCharacterBox(a)
19298
19291
  };
19299
19292
  },
19300
19293
  htmlBuilder: fi,
@@ -19319,7 +19312,7 @@ P({
19319
19312
  mode: r.mode,
19320
19313
  mclass: Zr(e[0]),
19321
19314
  body: Oe(e[1]),
19322
- isCharacterBox: V.isCharacterBox(e[1])
19315
+ isCharacterBox: W.isCharacterBox(e[1])
19323
19316
  };
19324
19317
  }
19325
19318
  });
@@ -19356,7 +19349,7 @@ P({
19356
19349
  mode: r.mode,
19357
19350
  mclass: o,
19358
19351
  body: [u],
19359
- isCharacterBox: V.isCharacterBox(u)
19352
+ isCharacterBox: W.isCharacterBox(u)
19360
19353
  };
19361
19354
  },
19362
19355
  htmlBuilder: fi,
@@ -19385,7 +19378,7 @@ P({
19385
19378
  return n.style.textShadow = "0.02em 0.01em 0.04px", n;
19386
19379
  },
19387
19380
  mathmlBuilder(t, e) {
19388
- var r = Ve(t.body, e), n = new O.MathNode("mstyle", r);
19381
+ var r = We(t.body, e), n = new O.MathNode("mstyle", r);
19389
19382
  return n.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px"), n;
19390
19383
  }
19391
19384
  });
@@ -19598,7 +19591,7 @@ var bi = (t, e) => {
19598
19591
  var r = De(t.body, e.withColor(t.color), !1);
19599
19592
  return S.makeFragment(r);
19600
19593
  }, vi = (t, e) => {
19601
- var r = Ve(t.body, e.withColor(t.color)), n = new O.MathNode("mstyle", r);
19594
+ var r = We(t.body, e.withColor(t.color)), n = new O.MathNode("mstyle", r);
19602
19595
  return n.setAttribute("mathcolor", t.color), n;
19603
19596
  };
19604
19597
  P({
@@ -19868,7 +19861,7 @@ var lr = function(e, r, n) {
19868
19861
  var c, u, m, p, f = "", v = 0;
19869
19862
  c = m = p = e, u = null;
19870
19863
  var w = "Size1-Regular";
19871
- e === "\\uparrow" ? m = p = "⏐" : e === "\\Uparrow" ? m = p = "‖" : e === "\\downarrow" ? c = m = "⏐" : e === "\\Downarrow" ? c = m = "‖" : e === "\\updownarrow" ? (c = "\\uparrow", m = "⏐", p = "\\downarrow") : e === "\\Updownarrow" ? (c = "\\Uparrow", m = "‖", p = "\\Downarrow") : V.contains(c1, e) ? (m = "∣", f = "vert", v = 333) : V.contains(u1, e) ? (m = "∥", f = "doublevert", v = 556) : e === "[" || e === "\\lbrack" ? (c = "⎡", m = "⎢", p = "⎣", w = "Size4-Regular", f = "lbrack", v = 667) : e === "]" || e === "\\rbrack" ? (c = "⎤", m = "⎥", p = "⎦", w = "Size4-Regular", f = "rbrack", v = 667) : e === "\\lfloor" || e === "⌊" ? (m = c = "⎢", p = "⎣", w = "Size4-Regular", f = "lfloor", v = 667) : e === "\\lceil" || e === "⌈" ? (c = "⎡", m = p = "⎢", w = "Size4-Regular", f = "lceil", v = 667) : e === "\\rfloor" || e === "⌋" ? (m = c = "⎥", p = "⎦", w = "Size4-Regular", f = "rfloor", v = 667) : e === "\\rceil" || e === "⌉" ? (c = "⎤", m = p = "⎥", w = "Size4-Regular", f = "rceil", v = 667) : e === "(" || e === "\\lparen" ? (c = "⎛", m = "⎜", p = "⎝", w = "Size4-Regular", f = "lparen", v = 875) : e === ")" || e === "\\rparen" ? (c = "⎞", m = "⎟", p = "⎠", w = "Size4-Regular", f = "rparen", v = 875) : e === "\\{" || e === "\\lbrace" ? (c = "⎧", u = "⎨", p = "⎩", m = "⎪", w = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (c = "⎫", u = "⎬", p = "⎭", m = "⎪", w = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (c = "⎧", p = "⎩", m = "⎪", w = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (c = "⎫", p = "⎭", m = "⎪", w = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (c = "⎧", p = "⎭", m = "⎪", w = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (c = "⎫", p = "⎩", m = "⎪", w = "Size4-Regular");
19864
+ e === "\\uparrow" ? m = p = "⏐" : e === "\\Uparrow" ? m = p = "‖" : e === "\\downarrow" ? c = m = "⏐" : e === "\\Downarrow" ? c = m = "‖" : e === "\\updownarrow" ? (c = "\\uparrow", m = "⏐", p = "\\downarrow") : e === "\\Updownarrow" ? (c = "\\Uparrow", m = "‖", p = "\\Downarrow") : W.contains(c1, e) ? (m = "∣", f = "vert", v = 333) : W.contains(u1, e) ? (m = "∥", f = "doublevert", v = 556) : e === "[" || e === "\\lbrack" ? (c = "⎡", m = "⎢", p = "⎣", w = "Size4-Regular", f = "lbrack", v = 667) : e === "]" || e === "\\rbrack" ? (c = "⎤", m = "⎥", p = "⎦", w = "Size4-Regular", f = "rbrack", v = 667) : e === "\\lfloor" || e === "⌊" ? (m = c = "⎢", p = "⎣", w = "Size4-Regular", f = "lfloor", v = 667) : e === "\\lceil" || e === "⌈" ? (c = "⎡", m = p = "⎢", w = "Size4-Regular", f = "lceil", v = 667) : e === "\\rfloor" || e === "⌋" ? (m = c = "⎥", p = "⎦", w = "Size4-Regular", f = "rfloor", v = 667) : e === "\\rceil" || e === "⌉" ? (c = "⎤", m = p = "⎥", w = "Size4-Regular", f = "rceil", v = 667) : e === "(" || e === "\\lparen" ? (c = "⎛", m = "⎜", p = "⎝", w = "Size4-Regular", f = "lparen", v = 875) : e === ")" || e === "\\rparen" ? (c = "⎞", m = "⎟", p = "⎠", w = "Size4-Regular", f = "rparen", v = 875) : e === "\\{" || e === "\\lbrace" ? (c = "⎧", u = "⎨", p = "⎩", m = "⎪", w = "Size4-Regular") : e === "\\}" || e === "\\rbrace" ? (c = "⎫", u = "⎬", p = "⎭", m = "⎪", w = "Size4-Regular") : e === "\\lgroup" || e === "⟮" ? (c = "⎧", p = "⎩", m = "⎪", w = "Size4-Regular") : e === "\\rgroup" || e === "⟯" ? (c = "⎫", p = "⎭", m = "⎪", w = "Size4-Regular") : e === "\\lmoustache" || e === "⎰" ? (c = "⎧", p = "⎭", m = "⎪", w = "Size4-Regular") : (e === "\\rmoustache" || e === "⎱") && (c = "⎫", p = "⎩", m = "⎪", w = "Size4-Regular");
19872
19865
  var _ = lr(c, w, i), x = _.height + _.depth, N = lr(m, w, i), M = N.height + N.depth, k = lr(p, w, i), D = k.height + k.depth, L = 0, F = 1;
19873
19866
  if (u !== null) {
19874
19867
  var q = lr(u, w, i);
@@ -19924,9 +19917,9 @@ var lr = function(e, r, n) {
19924
19917
  ruleWidth: (r.fontMetrics().sqrtRuleThickness + o) * i
19925
19918
  };
19926
19919
  }, Si = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "\\surd"], m1 = ["\\uparrow", "\\downarrow", "\\updownarrow", "\\Uparrow", "\\Downarrow", "\\Updownarrow", "|", "\\|", "\\vert", "\\Vert", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱"], Ni = ["<", ">", "\\langle", "\\rangle", "/", "\\backslash", "\\lt", "\\gt"], ur = [0, 1.2, 1.8, 2.4, 3], h1 = function(e, r, n, a, i) {
19927
- if (e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle"), V.contains(Si, e) || V.contains(Ni, e))
19920
+ if (e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle"), W.contains(Si, e) || W.contains(Ni, e))
19928
19921
  return xi(e, r, !1, n, a, i);
19929
- if (V.contains(m1, e))
19922
+ if (W.contains(m1, e))
19930
19923
  return _i(e, ur[r], !1, n, a, i);
19931
19924
  throw new R("Illegal delimiter: '" + e + "'");
19932
19925
  }, p1 = [{
@@ -20006,7 +19999,7 @@ var lr = function(e, r, n) {
20006
19999
  }, Mi = function(e, r, n, a, i, o) {
20007
20000
  e === "<" || e === "\\lt" || e === "⟨" ? e = "\\langle" : (e === ">" || e === "\\gt" || e === "⟩") && (e = "\\rangle");
20008
20001
  var c;
20009
- V.contains(Ni, e) ? c = p1 : V.contains(Si, e) ? c = ki : c = f1;
20002
+ W.contains(Ni, e) ? c = p1 : W.contains(Si, e) ? c = ki : c = f1;
20010
20003
  var u = Ti(e, r, c, a);
20011
20004
  return u.type === "small" ? o1(e, u.style, n, a, i, o) : u.type === "large" ? xi(e, u.size, n, a, i, o) : _i(e, r, n, a, i, o);
20012
20005
  }, b1 = function(e, r, n, a, i, o) {
@@ -20098,7 +20091,7 @@ var lr = function(e, r, n) {
20098
20091
  }, v1 = ["(", "\\lparen", ")", "\\rparen", "[", "\\lbrack", "]", "\\rbrack", "\\{", "\\lbrace", "\\}", "\\rbrace", "\\lfloor", "\\rfloor", "⌊", "⌋", "\\lceil", "\\rceil", "⌈", "⌉", "<", ">", "\\langle", "⟨", "\\rangle", "⟩", "\\lt", "\\gt", "\\lvert", "\\rvert", "\\lVert", "\\rVert", "\\lgroup", "\\rgroup", "⟮", "⟯", "\\lmoustache", "\\rmoustache", "⎰", "⎱", "/", "\\backslash", "|", "\\vert", "\\|", "\\Vert", "\\uparrow", "\\Uparrow", "\\downarrow", "\\Downarrow", "\\updownarrow", "\\Updownarrow", "."];
20099
20092
  function Xr(t, e) {
20100
20093
  var r = Yr(t);
20101
- if (r && V.contains(v1, r.text))
20094
+ if (r && W.contains(v1, r.text))
20102
20095
  return r;
20103
20096
  throw r ? new R("Invalid delimiter '" + r.text + "' after '" + e.funcName + "'", t) : new R("Invalid delimiter type '" + t.type + "'", t);
20104
20097
  }
@@ -20197,7 +20190,7 @@ P({
20197
20190
  },
20198
20191
  mathmlBuilder: (t, e) => {
20199
20192
  na(t);
20200
- var r = Ve(t.body, e);
20193
+ var r = We(t.body, e);
20201
20194
  if (t.left !== ".") {
20202
20195
  var n = new O.MathNode("mo", [tt(t.left, t.mode)]);
20203
20196
  n.setAttribute("fence", "true"), r.unshift(n);
@@ -20206,7 +20199,7 @@ P({
20206
20199
  var a = new O.MathNode("mo", [tt(t.right, t.mode)]);
20207
20200
  a.setAttribute("fence", "true"), t.rightColor && a.setAttribute("mathcolor", t.rightColor), r.push(a);
20208
20201
  }
20209
- return W0(r);
20202
+ return V0(r);
20210
20203
  }
20211
20204
  });
20212
20205
  P({
@@ -20246,7 +20239,7 @@ P({
20246
20239
  }
20247
20240
  });
20248
20241
  var Q0 = (t, e) => {
20249
- var r = S.wrapFragment(oe(t.body, e), e), n = t.label.slice(1), a = e.sizeMultiplier, i, o = 0, c = V.isCharacterBox(t.body);
20242
+ var r = S.wrapFragment(oe(t.body, e), e), n = t.label.slice(1), a = e.sizeMultiplier, i, o = 0, c = W.isCharacterBox(t.body);
20250
20243
  if (n === "sout")
20251
20244
  i = S.makeSpan(["stretchy", "sout"]), i.height = e.fontMetrics().defaultRuleThickness / a, o = -0.5 * e.fontMetrics().xHeight;
20252
20245
  else if (n === "phase") {
@@ -20596,11 +20589,11 @@ var ft = function(e, r) {
20596
20589
  number: 3,
20597
20590
  unit: "ex"
20598
20591
  }, r) : 12 * f, x = 3 * f, N = e.arraystretch * _, M = 0.7 * N, k = 0.3 * N, D = 0;
20599
- function L(Vt) {
20600
- for (var Yt = 0; Yt < Vt.length; ++Yt)
20592
+ function L(Wt) {
20593
+ for (var Yt = 0; Yt < Wt.length; ++Yt)
20601
20594
  Yt > 0 && (D += 0.25), m.push({
20602
20595
  pos: D,
20603
- isDashed: Vt[Yt]
20596
+ isDashed: Wt[Yt]
20604
20597
  });
20605
20598
  }
20606
20599
  for (L(o[0]), n = 0; n < e.body.length; ++n) {
@@ -20615,7 +20608,7 @@ var ft = function(e, r) {
20615
20608
  Ee && (he = Ne(Ee, r), he > 0 && (he += k, $ < he && ($ = he), he = 0)), e.addJot && ($ += x), Q.height = q, Q.depth = $, D += q, Q.pos = D, D += $ + he, u[n] = Q, L(o[n + 1]);
20616
20609
  }
20617
20610
  var le = D / 2 + r.fontMetrics().axisHeight, be = e.cols || [], ne = [], ve, Le, Pe = [];
20618
- if (e.tags && e.tags.some((Vt) => Vt))
20611
+ if (e.tags && e.tags.some((Wt) => Wt))
20619
20612
  for (n = 0; n < i; ++n) {
20620
20613
  var ie = u[n], Te = ie.pos - le, xe = e.tags[n], ye = void 0;
20621
20614
  xe === !0 ? ye = S.makeSpan(["eqn-num"], [], r) : xe === !1 ? ye = S.makeSpan([], [], r) : ye = S.makeSpan([], De(xe, r, !0), r), ye.depth = ie.depth, ye.height = ie.height, Pe.push({
@@ -20643,7 +20636,7 @@ var ft = function(e, r) {
20643
20636
  }
20644
20637
  if (!(a >= c)) {
20645
20638
  var ot = void 0;
20646
- (a > 0 || e.hskipBeforeAndAfter) && (ot = V.deflt(ce.pregap, v), ot !== 0 && (ve = S.makeSpan(["arraycolsep"], []), ve.style.width = I(ot), ne.push(ve)));
20639
+ (a > 0 || e.hskipBeforeAndAfter) && (ot = W.deflt(ce.pregap, v), ot !== 0 && (ve = S.makeSpan(["arraycolsep"], []), ve.style.width = I(ot), ne.push(ve)));
20647
20640
  var nt = [];
20648
20641
  for (n = 0; n < i; ++n) {
20649
20642
  var Pt = u[n], at = Pt[a];
@@ -20659,7 +20652,7 @@ var ft = function(e, r) {
20659
20652
  nt = S.makeVList({
20660
20653
  positionType: "individualShift",
20661
20654
  children: nt
20662
- }, r), nt = S.makeSpan(["col-align-" + (ce.align || "c")], [nt]), ne.push(nt), (a < c - 1 || e.hskipBeforeAndAfter) && (ot = V.deflt(ce.postgap, v), ot !== 0 && (ve = S.makeSpan(["arraycolsep"], []), ve.style.width = I(ot), ne.push(ve)));
20655
+ }, r), nt = S.makeSpan(["col-align-" + (ce.align || "c")], [nt]), ne.push(nt), (a < c - 1 || e.hskipBeforeAndAfter) && (ot = W.deflt(ce.postgap, v), ot !== 0 && (ve = S.makeSpan(["arraycolsep"], []), ve.style.width = I(ot), ne.push(ve)));
20663
20656
  }
20664
20657
  }
20665
20658
  if (u = S.makeSpan(["mtable"], ne), m.length > 0) {
@@ -20668,15 +20661,15 @@ var ft = function(e, r) {
20668
20661
  elem: u,
20669
20662
  shift: 0
20670
20663
  }]; m.length > 0; ) {
20671
- var ct = m.pop(), Wt = ct.pos - le;
20664
+ var ct = m.pop(), Vt = ct.pos - le;
20672
20665
  ct.isDashed ? lt.push({
20673
20666
  type: "elem",
20674
20667
  elem: ue,
20675
- shift: Wt
20668
+ shift: Vt
20676
20669
  }) : lt.push({
20677
20670
  type: "elem",
20678
20671
  elem: ir,
20679
- shift: Wt
20672
+ shift: Vt
20680
20673
  });
20681
20674
  }
20682
20675
  u = S.makeVList({
@@ -20953,7 +20946,7 @@ pt({
20953
20946
  numArgs: 0
20954
20947
  },
20955
20948
  handler(t) {
20956
- V.contains(["gather", "gather*"], t.envName) && Qr(t);
20949
+ W.contains(["gather", "gather*"], t.envName) && Qr(t);
20957
20950
  var e = {
20958
20951
  cols: [{
20959
20952
  type: "align",
@@ -21129,7 +21122,7 @@ P({
21129
21122
  handler: (t, e) => {
21130
21123
  var {
21131
21124
  parser: r
21132
- } = t, n = e[0], a = V.isCharacterBox(n);
21125
+ } = t, n = e[0], a = W.isCharacterBox(n);
21133
21126
  return {
21134
21127
  type: "mclass",
21135
21128
  mode: r.mode,
@@ -21254,7 +21247,7 @@ var Di = (t, e) => {
21254
21247
  var u = new O.MathNode("mo", [new O.TextNode(t.rightDelim.replace("\\", ""))]);
21255
21248
  u.setAttribute("fence", "true"), o.push(u);
21256
21249
  }
21257
- return W0(o);
21250
+ return V0(o);
21258
21251
  }
21259
21252
  return r;
21260
21253
  };
@@ -21667,7 +21660,7 @@ P({
21667
21660
  return S.makeFragment(r);
21668
21661
  },
21669
21662
  mathmlBuilder(t, e) {
21670
- return new O.MathNode("mrow", Ve(t.body, e));
21663
+ return new O.MathNode("mrow", We(t.body, e));
21671
21664
  }
21672
21665
  });
21673
21666
  P({
@@ -22009,7 +22002,7 @@ P({
22009
22002
  });
22010
22003
  var Bi = (t, e, r, n, a, i, o) => {
22011
22004
  t = S.makeSpan([], [t]);
22012
- var c = r && V.isCharacterBox(r), u, m;
22005
+ var c = r && W.isCharacterBox(r), u, m;
22013
22006
  if (e) {
22014
22007
  var p = oe(e, n.havingStyle(a.sup()), n);
22015
22008
  m = {
@@ -22107,7 +22100,7 @@ var Bi = (t, e, r, n, a, i, o) => {
22107
22100
  var r, n, a = !1, i;
22108
22101
  t.type === "supsub" ? (r = t.sup, n = t.sub, i = re(t.base, "op"), a = !0) : i = re(t, "op");
22109
22102
  var o = e.style, c = !1;
22110
- o.size === X.DISPLAY.size && i.symbol && !V.contains(zi, i.name) && (c = !0);
22103
+ o.size === X.DISPLAY.size && i.symbol && !W.contains(zi, i.name) && (c = !0);
22111
22104
  var u;
22112
22105
  if (i.symbol) {
22113
22106
  var m = c ? "Size2-Regular" : "Size1-Regular", p = "";
@@ -22139,9 +22132,9 @@ var Bi = (t, e, r, n, a, i, o) => {
22139
22132
  }, fr = (t, e) => {
22140
22133
  var r;
22141
22134
  if (t.symbol)
22142
- r = new Qe("mo", [tt(t.name, t.mode)]), V.contains(zi, t.name) && r.setAttribute("largeop", "false");
22135
+ r = new Qe("mo", [tt(t.name, t.mode)]), W.contains(zi, t.name) && r.setAttribute("largeop", "false");
22143
22136
  else if (t.body)
22144
- r = new Qe("mo", Ve(t.body, e));
22137
+ r = new Qe("mo", We(t.body, e));
22145
22138
  else {
22146
22139
  r = new Qe("mi", [new cr(t.name.slice(1))]);
22147
22140
  var n = new Qe("mo", [tt("⁡", "text")]);
@@ -22306,7 +22299,7 @@ var Pi = (t, e) => {
22306
22299
  o = S.makeSpan(["mop"], [], e);
22307
22300
  return a ? Bi(o, r, n, e, e.style, 0, 0) : o;
22308
22301
  }, _1 = (t, e) => {
22309
- for (var r = Ve(t.body, e.withFont("mathrm")), n = !0, a = 0; a < r.length; a++) {
22302
+ for (var r = We(t.body, e.withFont("mathrm")), n = !0, a = 0; a < r.length; a++) {
22310
22303
  var i = r[a];
22311
22304
  if (!(i instanceof O.SpaceNode)) if (i instanceof O.MathNode)
22312
22305
  switch (i.type) {
@@ -22434,7 +22427,7 @@ P({
22434
22427
  return S.makeFragment(r);
22435
22428
  },
22436
22429
  mathmlBuilder: (t, e) => {
22437
- var r = Ve(t.body, e);
22430
+ var r = We(t.body, e);
22438
22431
  return new O.MathNode("mphantom", r);
22439
22432
  }
22440
22433
  });
@@ -22469,7 +22462,7 @@ P({
22469
22462
  }, e), S.makeSpan(["mord"], [r], e);
22470
22463
  },
22471
22464
  mathmlBuilder: (t, e) => {
22472
- var r = Ve(Oe(t.body), e), n = new O.MathNode("mphantom", r), a = new O.MathNode("mpadded", [n]);
22465
+ var r = We(Oe(t.body), e), n = new O.MathNode("mphantom", r), a = new O.MathNode("mpadded", [n]);
22473
22466
  return a.setAttribute("height", "0px"), a.setAttribute("depth", "0px"), a;
22474
22467
  }
22475
22468
  });
@@ -22495,7 +22488,7 @@ P({
22495
22488
  return S.makeSpan(["mord", "rlap"], [r, n], e);
22496
22489
  },
22497
22490
  mathmlBuilder: (t, e) => {
22498
- var r = Ve(Oe(t.body), e), n = new O.MathNode("mphantom", r), a = new O.MathNode("mpadded", [n]);
22491
+ var r = We(Oe(t.body), e), n = new O.MathNode("mphantom", r), a = new O.MathNode("mpadded", [n]);
22499
22492
  return a.setAttribute("width", "0px"), a;
22500
22493
  }
22501
22494
  });
@@ -22616,7 +22609,7 @@ P({
22616
22609
  },
22617
22610
  htmlBuilder: S1,
22618
22611
  mathmlBuilder: (t, e) => {
22619
- var r = e.havingSize(t.size), n = Ve(t.body, r), a = new O.MathNode("mstyle", n);
22612
+ var r = e.havingSize(t.size), n = We(t.body, r), a = new O.MathNode("mstyle", n);
22620
22613
  return a.setAttribute("mathsize", I(r.sizeMultiplier)), a;
22621
22614
  }
22622
22615
  });
@@ -22782,7 +22775,7 @@ P({
22782
22775
  return Fi(t.body, n, e);
22783
22776
  },
22784
22777
  mathmlBuilder(t, e) {
22785
- var r = da[t.style], n = e.havingStyle(r), a = Ve(t.body, n), i = new O.MathNode("mstyle", a), o = {
22778
+ var r = da[t.style], n = e.havingStyle(r), a = We(t.body, n), i = new O.MathNode("mstyle", a), o = {
22786
22779
  display: ["0", "true"],
22787
22780
  text: ["0", "false"],
22788
22781
  script: ["1", "false"],
@@ -22802,7 +22795,7 @@ var N1 = function(e, r) {
22802
22795
  return i ? Pi : null;
22803
22796
  } else {
22804
22797
  if (n.type === "accent")
22805
- return V.isCharacterBox(n.base) ? Z0 : null;
22798
+ return W.isCharacterBox(n.base) ? Z0 : null;
22806
22799
  if (n.type === "horizBrace") {
22807
22800
  var o = !e.sub;
22808
22801
  return o === n.isOver ? Li : null;
@@ -22821,7 +22814,7 @@ Kt({
22821
22814
  base: n,
22822
22815
  sup: a,
22823
22816
  sub: i
22824
- } = t, o = oe(n, e), c, u, m = e.fontMetrics(), p = 0, f = 0, v = n && V.isCharacterBox(n);
22817
+ } = t, o = oe(n, e), c, u, m = e.fontMetrics(), p = 0, f = 0, v = n && W.isCharacterBox(n);
22825
22818
  if (a) {
22826
22819
  var w = e.havingStyle(e.style.sup());
22827
22820
  c = oe(a, w, e), v || (p = o.height - w.fontMetrics().supDrop * w.sizeMultiplier / e.sizeMultiplier);
@@ -22921,7 +22914,7 @@ Kt({
22921
22914
  mathmlBuilder(t, e) {
22922
22915
  var r = new O.MathNode("mo", [tt(t.text, t.mode)]);
22923
22916
  if (t.family === "bin") {
22924
- var n = V0(t, e);
22917
+ var n = W0(t, e);
22925
22918
  n === "bold-italic" && r.setAttribute("mathvariant", n);
22926
22919
  } else t.family === "punct" ? r.setAttribute("separator", "true") : (t.family === "open" || t.family === "close") && r.setAttribute("stretchy", "false");
22927
22920
  return r;
@@ -22938,7 +22931,7 @@ Kt({
22938
22931
  return S.makeOrd(t, e, "mathord");
22939
22932
  },
22940
22933
  mathmlBuilder(t, e) {
22941
- var r = new O.MathNode("mi", [tt(t.text, t.mode, e)]), n = V0(t, e) || "italic";
22934
+ var r = new O.MathNode("mi", [tt(t.text, t.mode, e)]), n = W0(t, e) || "italic";
22942
22935
  return n !== Ui[r.type] && r.setAttribute("mathvariant", n), r;
22943
22936
  }
22944
22937
  });
@@ -22948,7 +22941,7 @@ Kt({
22948
22941
  return S.makeOrd(t, e, "textord");
22949
22942
  },
22950
22943
  mathmlBuilder(t, e) {
22951
- var r = tt(t.text, t.mode, e), n = V0(t, e) || "normal", a;
22944
+ var r = tt(t.text, t.mode, e), n = W0(t, e) || "normal", a;
22952
22945
  return t.mode === "text" ? a = new O.MathNode("mtext", [r]) : /[0-9]/.test(t.text) ? a = new O.MathNode("mn", [r]) : t.text === "\\prime" ? a = new O.MathNode("mo", [r]) : a = new O.MathNode("mi", [r]), n !== Ui[a.type] && a.setAttribute("mathvariant", n), a;
22953
22946
  }
22954
22947
  });
@@ -23548,7 +23541,7 @@ var ya = {
23548
23541
  };
23549
23542
  h("\\dots", function(t) {
23550
23543
  var e = "\\dotso", r = t.expandAfterFuture().text;
23551
- return r in ya ? e = ya[r] : (r.slice(0, 4) === "\\not" || r in ge.math && V.contains(["bin", "rel"], ge.math[r].group)) && (e = "\\dotsb"), e;
23544
+ return r in ya ? e = ya[r] : (r.slice(0, 4) === "\\not" || r in ge.math && W.contains(["bin", "rel"], ge.math[r].group)) && (e = "\\dotsb"), e;
23552
23545
  });
23553
23546
  var an = {
23554
23547
  // \rightdelim@ checks for the following:
@@ -25257,7 +25250,7 @@ var B1 = function(e, r) {
25257
25250
  }, z1 = function(e, r) {
25258
25251
  var n = new q0(r);
25259
25252
  return sn(e, n);
25260
- }, Wi = function(e, r, n) {
25253
+ }, Vi = function(e, r, n) {
25261
25254
  if (n.throwOnError || !(e instanceof R))
25262
25255
  throw e;
25263
25256
  var a = S.makeSpan(["katex-error"], [new et(r)]);
@@ -25266,17 +25259,17 @@ var B1 = function(e, r) {
25266
25259
  var n = new q0(r);
25267
25260
  try {
25268
25261
  var a = sn(e, n);
25269
- return Wc(a, e, n);
25262
+ return Vc(a, e, n);
25270
25263
  } catch (i) {
25271
- return Wi(i, e, n);
25264
+ return Vi(i, e, n);
25272
25265
  }
25273
25266
  }, P1 = function(e, r) {
25274
25267
  var n = new q0(r);
25275
25268
  try {
25276
25269
  var a = sn(e, n);
25277
- return Vc(a, e, n);
25270
+ return Wc(a, e, n);
25278
25271
  } catch (i) {
25279
- return Wi(i, e, n);
25272
+ return Vi(i, e, n);
25280
25273
  }
25281
25274
  }, xa = {
25282
25275
  /**
@@ -25561,7 +25554,7 @@ const G1 = {
25561
25554
  tokenize: K1,
25562
25555
  concrete: !0
25563
25556
  }, _a = {
25564
- tokenize: W1,
25557
+ tokenize: V1,
25565
25558
  partial: !0
25566
25559
  };
25567
25560
  function K1(t, e, r) {
@@ -25639,7 +25632,7 @@ function K1(t, e, r) {
25639
25632
  }
25640
25633
  }
25641
25634
  }
25642
- function W1(t, e, r) {
25635
+ function V1(t, e, r) {
25643
25636
  const n = this;
25644
25637
  return a;
25645
25638
  function a(o) {
@@ -25649,7 +25642,7 @@ function W1(t, e, r) {
25649
25642
  return n.parser.lazy[n.now().line] ? r(o) : e(o);
25650
25643
  }
25651
25644
  }
25652
- function V1(t) {
25645
+ function W1(t) {
25653
25646
  let r = t.singleDollarTextMath;
25654
25647
  return r == null && (r = !0), {
25655
25648
  tokenize: n,
@@ -25698,7 +25691,7 @@ function X1(t) {
25698
25691
  36: G1
25699
25692
  },
25700
25693
  text: {
25701
- 36: V1(t)
25694
+ 36: W1(t)
25702
25695
  }
25703
25696
  };
25704
25697
  }
@@ -25719,12 +25712,12 @@ const j1 = () => (t) => {
25719
25712
  content: t
25720
25713
  }) => {
25721
25714
  const e = (r) => r.children.props["data-raw-code"] || "";
25722
- return /* @__PURE__ */ We(
25715
+ return /* @__PURE__ */ Ve(
25723
25716
  Rs,
25724
25717
  {
25725
25718
  components: {
25726
25719
  pre: (r) => /* @__PURE__ */ P0(Sa, { children: [
25727
- /* @__PURE__ */ We(Ds, { alignHorizontal: "flex-end", children: /* @__PURE__ */ We(Ls, { children: /* @__PURE__ */ We(
25720
+ /* @__PURE__ */ Ve(Ds, { alignHorizontal: "flex-end", children: /* @__PURE__ */ Ve(Ls, { children: /* @__PURE__ */ Ve(
25728
25721
  Ta,
25729
25722
  {
25730
25723
  copyToClipboard: () => e(r),
@@ -25733,7 +25726,7 @@ const j1 = () => (t) => {
25733
25726
  className: "mb-2 px-1"
25734
25727
  }
25735
25728
  ) }) }),
25736
- /* @__PURE__ */ We(
25729
+ /* @__PURE__ */ Ve(
25737
25730
  "pre",
25738
25731
  {
25739
25732
  ...r,