zudoku 0.46.2 → 0.47.0

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.
Files changed (123) hide show
  1. package/dist/config/config.d.ts +11 -0
  2. package/dist/config/validators/InputSidebarSchema.d.ts +4 -1
  3. package/dist/config/validators/InputSidebarSchema.js +1 -0
  4. package/dist/config/validators/InputSidebarSchema.js.map +1 -1
  5. package/dist/config/validators/SidebarSchema.d.ts +1 -1
  6. package/dist/config/validators/validate.d.ts +47 -47
  7. package/dist/config/validators/validate.js +11 -1
  8. package/dist/config/validators/validate.js.map +1 -1
  9. package/dist/config/validators/validate.test.d.ts +1 -0
  10. package/dist/config/validators/validate.test.js +80 -0
  11. package/dist/config/validators/validate.test.js.map +1 -0
  12. package/dist/lib/auth/issuer.d.ts +2 -0
  13. package/dist/lib/auth/issuer.js +34 -0
  14. package/dist/lib/auth/issuer.js.map +1 -0
  15. package/dist/lib/auth/issuer.test.d.ts +1 -0
  16. package/dist/lib/auth/issuer.test.js +81 -0
  17. package/dist/lib/auth/issuer.test.js.map +1 -0
  18. package/dist/lib/authentication/hook.d.ts +6 -0
  19. package/dist/lib/authentication/providers/auth0.js +1 -1
  20. package/dist/lib/authentication/providers/auth0.js.map +1 -1
  21. package/dist/lib/authentication/providers/azureb2c.d.ts +28 -0
  22. package/dist/lib/authentication/providers/azureb2c.js +145 -0
  23. package/dist/lib/authentication/providers/azureb2c.js.map +1 -0
  24. package/dist/lib/authentication/providers/clerk.js +3 -12
  25. package/dist/lib/authentication/providers/clerk.js.map +1 -1
  26. package/dist/lib/authentication/providers/openid.d.ts +1 -0
  27. package/dist/lib/authentication/providers/openid.js +38 -0
  28. package/dist/lib/authentication/providers/openid.js.map +1 -1
  29. package/dist/lib/authentication/providers/supabase.js +2 -9
  30. package/dist/lib/authentication/providers/supabase.js.map +1 -1
  31. package/dist/lib/authentication/state.d.ts +6 -5
  32. package/dist/lib/authentication/state.js +19 -6
  33. package/dist/lib/authentication/state.js.map +1 -1
  34. package/dist/lib/components/context/ZudokuProvider.d.ts +1 -1
  35. package/dist/lib/components/index.d.ts +6 -0
  36. package/dist/lib/components/navigation/SidebarItem.js +2 -3
  37. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  38. package/dist/lib/hooks/index.d.ts +6 -0
  39. package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.d.ts +1 -1
  40. package/dist/lib/plugins/openapi/playground/Headers.d.ts +2 -2
  41. package/dist/lib/plugins/openapi/playground/fileUtils.js +1 -1
  42. package/dist/lib/plugins/openapi/playground/fileUtils.js.map +1 -1
  43. package/dist/lib/util/MdxComponents.js +1 -1
  44. package/dist/lib/util/MdxComponents.js.map +1 -1
  45. package/dist/vite/build.js +2 -32
  46. package/dist/vite/build.js.map +1 -1
  47. package/lib/{Markdown-Cm4kj26S.js → Markdown-BUE2ViaD.js} +340 -337
  48. package/lib/{Markdown-Cm4kj26S.js.map → Markdown-BUE2ViaD.js.map} +1 -1
  49. package/lib/{MdxPage-fDGQtB5w.js → MdxPage-By4UkRkI.js} +4 -4
  50. package/lib/{MdxPage-fDGQtB5w.js.map → MdxPage-By4UkRkI.js.map} +1 -1
  51. package/lib/{OasProvider-CFBvfR3r.js → OasProvider-C6_Kx5O7.js} +2 -2
  52. package/lib/{OasProvider-CFBvfR3r.js.map → OasProvider-C6_Kx5O7.js.map} +1 -1
  53. package/lib/{OperationList-Xs4KWmsh.js → OperationList-BISd29LY.js} +6 -6
  54. package/lib/OperationList-BISd29LY.js.map +1 -0
  55. package/lib/{RouteGuard-CZ_uLv3g.js → RouteGuard-CgmsSw7T.js} +2 -2
  56. package/lib/{RouteGuard-CZ_uLv3g.js.map → RouteGuard-CgmsSw7T.js.map} +1 -1
  57. package/lib/{SchemaList-BWaNlmUJ.js → SchemaList-BqnRo5ov.js} +6 -6
  58. package/lib/{SchemaList-BWaNlmUJ.js.map → SchemaList-BqnRo5ov.js.map} +1 -1
  59. package/lib/{SchemaView-DdKJt2ln.js → SchemaView-CtYJpxQI.js} +3 -3
  60. package/lib/{SchemaView-DdKJt2ln.js.map → SchemaView-CtYJpxQI.js.map} +1 -1
  61. package/lib/{SignUp-B-1Pvc-8.js → SignUp-CrjeBbqN.js} +2 -2
  62. package/lib/{SignUp-B-1Pvc-8.js.map → SignUp-CrjeBbqN.js.map} +1 -1
  63. package/lib/{Slot-B99cbD-q.js → Slot-DANV2b7_.js} +4 -4
  64. package/lib/{Slot-B99cbD-q.js.map → Slot-DANV2b7_.js.map} +1 -1
  65. package/lib/{SyntaxHighlight-Cz6Me7-F.js → SyntaxHighlight-DtvR7RLF.js} +1291 -1265
  66. package/lib/SyntaxHighlight-DtvR7RLF.js.map +1 -0
  67. package/lib/{Toc-Qe7A4uj_.js → Toc-ClJBmdtI.js} +2 -2
  68. package/lib/{Toc-Qe7A4uj_.js.map → Toc-ClJBmdtI.js.map} +1 -1
  69. package/lib/{circular-w5eL5J8a.js → circular-pOdgLzpG.js} +2 -2
  70. package/lib/{circular-w5eL5J8a.js.map → circular-pOdgLzpG.js.map} +1 -1
  71. package/lib/clerk-yAKDC3Qz.js +24812 -0
  72. package/lib/clerk-yAKDC3Qz.js.map +1 -0
  73. package/lib/{createServer-p3yUA8Bu.js → createServer-qAtUf99r.js} +2625 -2615
  74. package/lib/createServer-qAtUf99r.js.map +1 -0
  75. package/lib/errors-Bpodza84.js +78 -0
  76. package/lib/errors-Bpodza84.js.map +1 -0
  77. package/lib/{hook-k7PfUIsj.js → hook-wIlTGE-2.js} +52 -31
  78. package/lib/{hook-k7PfUIsj.js.map → hook-wIlTGE-2.js.map} +1 -1
  79. package/lib/{index-yqBxBqxF.js → index-RFzRn4fM.js} +10 -10
  80. package/lib/index-RFzRn4fM.js.map +1 -0
  81. package/lib/{mutation-BSeQ8pEK.js → mutation-C-kdA_1r.js} +2 -2
  82. package/lib/{mutation-BSeQ8pEK.js.map → mutation-C-kdA_1r.js.map} +1 -1
  83. package/lib/ui/SyntaxHighlight.js +2 -2
  84. package/lib/{useMutation-CZSmsIGW.js → useMutation-3Ph3x6En.js} +3 -3
  85. package/lib/{useMutation-CZSmsIGW.js.map → useMutation-3Ph3x6En.js.map} +1 -1
  86. package/lib/zudoku.auth-auth0.js +2 -2
  87. package/lib/zudoku.auth-auth0.js.map +1 -1
  88. package/lib/zudoku.auth-azureb2c.js +9974 -0
  89. package/lib/zudoku.auth-azureb2c.js.map +1 -0
  90. package/lib/zudoku.auth-clerk.js +39 -48
  91. package/lib/zudoku.auth-clerk.js.map +1 -1
  92. package/lib/zudoku.auth-openid.js +291 -316
  93. package/lib/zudoku.auth-openid.js.map +1 -1
  94. package/lib/zudoku.components.js +1222 -1594
  95. package/lib/zudoku.components.js.map +1 -1
  96. package/lib/zudoku.hooks.js +2 -2
  97. package/lib/zudoku.plugin-api-catalog.js +2 -2
  98. package/lib/zudoku.plugin-api-keys.js +3 -3
  99. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  100. package/lib/zudoku.plugin-custom-pages.js +1 -1
  101. package/lib/zudoku.plugin-markdown.js +1 -1
  102. package/lib/zudoku.plugin-openapi.js +2 -2
  103. package/lib/zudoku.plugin-search-pagefind.js +2 -2
  104. package/package.json +37 -19
  105. package/src/lib/auth/issuer.test.ts +104 -0
  106. package/src/lib/auth/issuer.ts +38 -0
  107. package/src/lib/authentication/providers/auth0.tsx +1 -1
  108. package/src/lib/authentication/providers/azureb2c.tsx +196 -0
  109. package/src/lib/authentication/providers/clerk.tsx +3 -12
  110. package/src/lib/authentication/providers/openid.tsx +53 -0
  111. package/src/lib/authentication/providers/supabase.tsx +2 -9
  112. package/src/lib/authentication/state.ts +37 -7
  113. package/src/lib/components/context/ZudokuProvider.tsx +1 -1
  114. package/src/lib/components/navigation/SidebarItem.tsx +2 -1
  115. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
  116. package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +1 -1
  117. package/src/lib/plugins/openapi/playground/Headers.tsx +2 -2
  118. package/src/lib/plugins/openapi/playground/fileUtils.ts +1 -1
  119. package/src/lib/util/MdxComponents.tsx +1 -1
  120. package/lib/OperationList-Xs4KWmsh.js.map +0 -1
  121. package/lib/SyntaxHighlight-Cz6Me7-F.js.map +0 -1
  122. package/lib/createServer-p3yUA8Bu.js.map +0 -1
  123. package/lib/index-yqBxBqxF.js.map +0 -1
@@ -1,12 +1,12 @@
1
1
  import { j as P } from "./jsx-runtime-C5mzlN2N.js";
2
2
  import * as us from "react";
3
3
  import { useState as et, useEffect as Ye, useRef as Je, createContext as is, use as as, useCallback as ti, useMemo as sn, memo as ni } from "react";
4
- import { s as en, p as qe, a as or, v as Tn, b as ss, V as os, u as ls, t as cs, c as vr, d as zr, o as Me, z as ri, e as fs, f as hs, g as ds, i as ui, j as ms, k as Yr, E as ps, S as Es, l as Ts } from "./SyntaxHighlight-Cz6Me7-F.js";
4
+ import { s as en, p as qe, a as or, v as Tn, b as ss, V as os, u as ls, t as cs, c as vr, d as zr, o as Me, z as ri, e as fs, f as hs, g as ds, i as ui, j as ms, k as Yr, E as ps, S as Es, l as Ts } from "./SyntaxHighlight-DtvR7RLF.js";
5
5
  import { CheckIcon as bs, CopyIcon as gs, ChevronRightIcon as As, ExternalLinkIcon as _s, LinkIcon as Cs } from "lucide-react";
6
- import { c as ce } from "./cn-wvCW-ho6.js";
6
+ import { c as le } from "./cn-wvCW-ho6.js";
7
7
  import { u as bn, d as Is, g as lr, j as xs } from "./chunk-DQRVZFIR-BblmKnHy.js";
8
8
  import * as Et from "@radix-ui/react-tooltip";
9
- import { T as Ss, U as tn, j as ii, k as Ns } from "./hook-k7PfUIsj.js";
9
+ import { T as Ns, U as tn, j as ii, k as Ss } from "./hook-wIlTGE-2.js";
10
10
  import * as yn from "@radix-ui/react-collapsible";
11
11
  import { B as ks } from "./Button-BE9IVkWV.js";
12
12
  import { c as Os } from "./index-DI5SPFK9.js";
@@ -285,14 +285,14 @@ function Vs(e) {
285
285
  contentType: "flow",
286
286
  previous: a,
287
287
  _tokenizer: u
288
- }), S(R);
288
+ }), N(R);
289
289
  }
290
- function S(R) {
290
+ function N(R) {
291
291
  if (R === null) {
292
292
  L(e.exit("chunkFlow"), !0), x(0), e.consume(R);
293
293
  return;
294
294
  }
295
- return H(R) ? (e.consume(R), L(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(R), S);
295
+ return H(R) ? (e.consume(R), L(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(R), N);
296
296
  }
297
297
  function L(R, z) {
298
298
  const Y = t.sliceStream(R);
@@ -599,7 +599,7 @@ function ro(e, t, n) {
599
599
  return k === o ? (i++, e.consume(k), h) : i < 3 ? n(k) : (e.exit("codeFencedFenceSequence"), j(k) ? W(e, f, "whitespace")(k) : f(k));
600
600
  }
601
601
  function f(k) {
602
- return k === null || H(k) ? (e.exit("codeFencedFence"), r.interrupt ? t(k) : e.check(Gr, S, z)(k)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
602
+ return k === null || H(k) ? (e.exit("codeFencedFence"), r.interrupt ? t(k) : e.check(Gr, N, z)(k)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
603
603
  contentType: "string"
604
604
  }), p(k));
605
605
  }
@@ -614,7 +614,7 @@ function ro(e, t, n) {
614
614
  function A(k) {
615
615
  return k === null || H(k) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(k)) : k === 96 && k === o ? n(k) : (e.consume(k), A);
616
616
  }
617
- function S(k) {
617
+ function N(k) {
618
618
  return e.attempt(u, z, L)(k);
619
619
  }
620
620
  function L(k) {
@@ -629,7 +629,7 @@ function ro(e, t, n) {
629
629
  )(k) : w(k);
630
630
  }
631
631
  function w(k) {
632
- return k === null || H(k) ? e.check(Gr, S, z)(k) : (e.enter("codeFlowValue"), R(k));
632
+ return k === null || H(k) ? e.check(Gr, N, z)(k) : (e.enter("codeFlowValue"), R(k));
633
633
  }
634
634
  function R(k) {
635
635
  return k === null || H(k) ? (e.exit("codeFlowValue"), w(k)) : (e.consume(k), R);
@@ -774,8 +774,8 @@ function ho(e, t) {
774
774
  const n = e[t][1], r = e[t][2];
775
775
  let u = t - 1;
776
776
  const a = [], i = n._tokenizer || r.parser[n.contentType](n.start), o = i.events, l = [], c = {};
777
- let h, f, p = -1, m = n, A = 0, S = 0;
778
- const L = [S];
777
+ let h, f, p = -1, m = n, A = 0, N = 0;
778
+ const L = [N];
779
779
  for (; m; ) {
780
780
  for (; e[++u][1] !== m; )
781
781
  ;
@@ -783,7 +783,7 @@ function ho(e, t) {
783
783
  }
784
784
  for (m = n; ++p < o.length; )
785
785
  // Find a void token that includes a break.
786
- o[p][0] === "exit" && o[p - 1][0] === "enter" && o[p][1].type === o[p - 1][1].type && o[p][1].start.line !== o[p][1].end.line && (S = p + 1, L.push(S), m._tokenizer = void 0, m.previous = void 0, m = m.next);
786
+ o[p][0] === "exit" && o[p - 1][0] === "enter" && o[p][1].type === o[p - 1][1].type && o[p][1].start.line !== o[p][1].end.line && (N = p + 1, L.push(N), m._tokenizer = void 0, m.previous = void 0, m = m.next);
787
787
  for (i.events = [], m ? (m._tokenizer = void 0, m.previous = void 0) : L.pop(), p = L.length; p--; ) {
788
788
  const x = o.slice(L[p], L[p + 1]), w = a.pop();
789
789
  l.unshift([w, w + x.length - 1]), Oe(e, w, 2, x);
@@ -847,7 +847,7 @@ function hi(e, t, n, r, u, a, i, o, l) {
847
847
  function f(x) {
848
848
  return x === 60 ? (e.enter(r), e.enter(u), e.enter(a), e.consume(x), e.exit(a), p) : x === null || x === 32 || x === 41 || on(x) ? n(x) : (e.enter(r), e.enter(i), e.enter(o), e.enter("chunkString", {
849
849
  contentType: "string"
850
- }), S(x));
850
+ }), N(x));
851
851
  }
852
852
  function p(x) {
853
853
  return x === 62 ? (e.enter(a), e.consume(x), e.exit(a), e.exit(u), e.exit(r), t) : (e.enter(o), e.enter("chunkString", {
@@ -860,11 +860,11 @@ function hi(e, t, n, r, u, a, i, o, l) {
860
860
  function A(x) {
861
861
  return x === 60 || x === 62 || x === 92 ? (e.consume(x), m) : m(x);
862
862
  }
863
- function S(x) {
864
- return !h && (x === null || x === 41 || J(x)) ? (e.exit("chunkString"), e.exit(o), e.exit(i), e.exit(r), t(x)) : h < c && x === 40 ? (e.consume(x), h++, S) : x === 41 ? (e.consume(x), h--, S) : x === null || x === 32 || x === 40 || on(x) ? n(x) : (e.consume(x), x === 92 ? L : S);
863
+ function N(x) {
864
+ return !h && (x === null || x === 41 || J(x)) ? (e.exit("chunkString"), e.exit(o), e.exit(i), e.exit(r), t(x)) : h < c && x === 40 ? (e.consume(x), h++, N) : x === 41 ? (e.consume(x), h--, N) : x === null || x === 32 || x === 40 || on(x) ? n(x) : (e.consume(x), x === 92 ? L : N);
865
865
  }
866
866
  function L(x) {
867
- return x === 40 || x === 41 || x === 92 ? (e.consume(x), S) : S(x);
867
+ return x === 40 || x === 41 || x === 92 ? (e.consume(x), N) : N(x);
868
868
  }
869
869
  }
870
870
  function di(e, t, n, r, u, a) {
@@ -1011,12 +1011,12 @@ function xo(e, t, n) {
1011
1011
  return H(a) ? (e.exit("hardBreakEscape"), t(a)) : n(a);
1012
1012
  }
1013
1013
  }
1014
- const So = {
1014
+ const No = {
1015
1015
  name: "headingAtx",
1016
1016
  tokenize: ko,
1017
- resolve: No
1017
+ resolve: So
1018
1018
  };
1019
- function No(e, t) {
1019
+ function So(e, t) {
1020
1020
  let n = e.length - 2, r = 3, u, a;
1021
1021
  return e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r && (u = {
1022
1022
  type: "atxHeadingText",
@@ -1148,7 +1148,7 @@ function Po(e, t, n) {
1148
1148
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(g), f;
1149
1149
  }
1150
1150
  function f(g) {
1151
- return g === 33 ? (e.consume(g), p) : g === 47 ? (e.consume(g), a = !0, S) : g === 63 ? (e.consume(g), u = 3, r.interrupt ? t : b) : de(g) ? (e.consume(g), i = String.fromCharCode(g), L) : n(g);
1151
+ return g === 33 ? (e.consume(g), p) : g === 47 ? (e.consume(g), a = !0, N) : g === 63 ? (e.consume(g), u = 3, r.interrupt ? t : b) : de(g) ? (e.consume(g), i = String.fromCharCode(g), L) : n(g);
1152
1152
  }
1153
1153
  function p(g) {
1154
1154
  return g === 45 ? (e.consume(g), u = 2, m) : g === 91 ? (e.consume(g), u = 5, o = 0, A) : de(g) ? (e.consume(g), u = 4, r.interrupt ? t : b) : n(g);
@@ -1160,7 +1160,7 @@ function Po(e, t, n) {
1160
1160
  const Ie = "CDATA[";
1161
1161
  return g === Ie.charCodeAt(o++) ? (e.consume(g), o === Ie.length ? r.interrupt ? t : F : A) : n(g);
1162
1162
  }
1163
- function S(g) {
1163
+ function N(g) {
1164
1164
  return de(g) ? (e.consume(g), i = String.fromCharCode(g), L) : n(g);
1165
1165
  }
1166
1166
  function L(g) {
@@ -1204,7 +1204,7 @@ function Po(e, t, n) {
1204
1204
  return g === null || H(g) ? F(g) : j(g) ? (e.consume(g), B) : n(g);
1205
1205
  }
1206
1206
  function F(g) {
1207
- return g === 45 && u === 2 ? (e.consume(g), le) : g === 60 && u === 1 ? (e.consume(g), se) : g === 62 && u === 4 ? (e.consume(g), Ce) : g === 63 && u === 3 ? (e.consume(g), b) : g === 93 && u === 5 ? (e.consume(g), Le) : H(g) && (u === 6 || u === 7) ? (e.exit("htmlFlowData"), e.check(
1207
+ return g === 45 && u === 2 ? (e.consume(g), ce) : g === 60 && u === 1 ? (e.consume(g), se) : g === 62 && u === 4 ? (e.consume(g), Ce) : g === 63 && u === 3 ? (e.consume(g), b) : g === 93 && u === 5 ? (e.consume(g), Le) : H(g) && (u === 6 || u === 7) ? (e.exit("htmlFlowData"), e.check(
1208
1208
  Lo,
1209
1209
  Re,
1210
1210
  $
@@ -1223,7 +1223,7 @@ function Po(e, t, n) {
1223
1223
  function G(g) {
1224
1224
  return g === null || H(g) ? $(g) : (e.enter("htmlFlowData"), F(g));
1225
1225
  }
1226
- function le(g) {
1226
+ function ce(g) {
1227
1227
  return g === 45 ? (e.consume(g), b) : F(g);
1228
1228
  }
1229
1229
  function se(g) {
@@ -1292,29 +1292,29 @@ function Fo(e, t, n) {
1292
1292
  return b === 45 ? (e.consume(b), m) : f(b);
1293
1293
  }
1294
1294
  function m(b) {
1295
- return b === 62 ? le(b) : b === 45 ? p(b) : f(b);
1295
+ return b === 62 ? ce(b) : b === 45 ? p(b) : f(b);
1296
1296
  }
1297
1297
  function A(b) {
1298
1298
  const Ce = "CDATA[";
1299
- return b === Ce.charCodeAt(a++) ? (e.consume(b), a === Ce.length ? S : A) : n(b);
1299
+ return b === Ce.charCodeAt(a++) ? (e.consume(b), a === Ce.length ? N : A) : n(b);
1300
1300
  }
1301
- function S(b) {
1302
- return b === null ? n(b) : b === 93 ? (e.consume(b), L) : H(b) ? (i = S, se(b)) : (e.consume(b), S);
1301
+ function N(b) {
1302
+ return b === null ? n(b) : b === 93 ? (e.consume(b), L) : H(b) ? (i = N, se(b)) : (e.consume(b), N);
1303
1303
  }
1304
1304
  function L(b) {
1305
- return b === 93 ? (e.consume(b), x) : S(b);
1305
+ return b === 93 ? (e.consume(b), x) : N(b);
1306
1306
  }
1307
1307
  function x(b) {
1308
- return b === 62 ? le(b) : b === 93 ? (e.consume(b), x) : S(b);
1308
+ return b === 62 ? ce(b) : b === 93 ? (e.consume(b), x) : N(b);
1309
1309
  }
1310
1310
  function w(b) {
1311
- return b === null || b === 62 ? le(b) : H(b) ? (i = w, se(b)) : (e.consume(b), w);
1311
+ return b === null || b === 62 ? ce(b) : H(b) ? (i = w, se(b)) : (e.consume(b), w);
1312
1312
  }
1313
1313
  function R(b) {
1314
1314
  return b === null ? n(b) : b === 63 ? (e.consume(b), z) : H(b) ? (i = R, se(b)) : (e.consume(b), R);
1315
1315
  }
1316
1316
  function z(b) {
1317
- return b === 62 ? le(b) : R(b);
1317
+ return b === 62 ? ce(b) : R(b);
1318
1318
  }
1319
1319
  function Y(b) {
1320
1320
  return de(b) ? (e.consume(b), k) : n(b);
@@ -1323,13 +1323,13 @@ function Fo(e, t, n) {
1323
1323
  return b === 45 || fe(b) ? (e.consume(b), k) : Q(b);
1324
1324
  }
1325
1325
  function Q(b) {
1326
- return H(b) ? (i = Q, se(b)) : j(b) ? (e.consume(b), Q) : le(b);
1326
+ return H(b) ? (i = Q, se(b)) : j(b) ? (e.consume(b), Q) : ce(b);
1327
1327
  }
1328
1328
  function ee(b) {
1329
1329
  return b === 45 || fe(b) ? (e.consume(b), ee) : b === 47 || b === 62 || J(b) ? X(b) : n(b);
1330
1330
  }
1331
1331
  function X(b) {
1332
- return b === 47 ? (e.consume(b), le) : b === 58 || b === 95 || de(b) ? (e.consume(b), I) : H(b) ? (i = X, se(b)) : j(b) ? (e.consume(b), X) : le(b);
1332
+ return b === 47 ? (e.consume(b), ce) : b === 58 || b === 95 || de(b) ? (e.consume(b), I) : H(b) ? (i = X, se(b)) : j(b) ? (e.consume(b), X) : ce(b);
1333
1333
  }
1334
1334
  function I(b) {
1335
1335
  return b === 45 || b === 46 || b === 58 || b === 95 || fe(b) ? (e.consume(b), I) : B(b);
@@ -1349,7 +1349,7 @@ function Fo(e, t, n) {
1349
1349
  function G(b) {
1350
1350
  return b === 47 || b === 62 || J(b) ? X(b) : n(b);
1351
1351
  }
1352
- function le(b) {
1352
+ function ce(b) {
1353
1353
  return b === 62 ? (e.consume(b), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(b);
1354
1354
  }
1355
1355
  function se(b) {
@@ -1932,7 +1932,7 @@ function ml(e, t, n) {
1932
1932
  sliceStream: m,
1933
1933
  sliceSerialize: p,
1934
1934
  now: A,
1935
- defineSkip: S,
1935
+ defineSkip: N,
1936
1936
  write: f
1937
1937
  };
1938
1938
  let h = t.tokenize.call(c, l);
@@ -1956,7 +1956,7 @@ function ml(e, t, n) {
1956
1956
  _bufferIndex: G
1957
1957
  };
1958
1958
  }
1959
- function S(B) {
1959
+ function N(B) {
1960
1960
  u[B.line] = B.column, I();
1961
1961
  }
1962
1962
  function L() {
@@ -1992,7 +1992,7 @@ function ml(e, t, n) {
1992
1992
  }
1993
1993
  function Q(B, F) {
1994
1994
  return $;
1995
- function $(ne, G, le) {
1995
+ function $(ne, G, ce) {
1996
1996
  let se, _e, Le, b;
1997
1997
  return Array.isArray(ne) ? Re(ne) : "tokenize" in ne ? (
1998
1998
  // @ts-expect-error Looks like a construct.
@@ -2011,7 +2011,7 @@ function ml(e, t, n) {
2011
2011
  }
2012
2012
  }
2013
2013
  function Re(oe) {
2014
- return se = oe, _e = 0, oe.length === 0 ? le : g(oe[_e]);
2014
+ return se = oe, _e = 0, oe.length === 0 ? ce : g(oe[_e]);
2015
2015
  }
2016
2016
  function g(oe) {
2017
2017
  return Ct;
@@ -2031,7 +2031,7 @@ function ml(e, t, n) {
2031
2031
  return B(Le, b), G;
2032
2032
  }
2033
2033
  function We(oe) {
2034
- return b.restore(), ++_e < se.length ? g(se[_e]) : le;
2034
+ return b.restore(), ++_e < se.length ? g(se[_e]) : ce;
2035
2035
  }
2036
2036
  }
2037
2037
  }
@@ -2046,10 +2046,10 @@ function ml(e, t, n) {
2046
2046
  function X() {
2047
2047
  const B = A(), F = c.previous, $ = c.currentConstruct, ne = c.events.length, G = Array.from(o);
2048
2048
  return {
2049
- restore: le,
2049
+ restore: ce,
2050
2050
  from: ne
2051
2051
  };
2052
- function le() {
2052
+ function ce() {
2053
2053
  r = B, c.previous = F, c.currentConstruct = $, c.events.length = ne, o = G, I();
2054
2054
  }
2055
2055
  }
@@ -2134,7 +2134,7 @@ const Tl = {
2134
2134
  [-1]: Rn,
2135
2135
  32: Rn
2136
2136
  }, Al = {
2137
- 35: So,
2137
+ 35: No,
2138
2138
  42: nn,
2139
2139
  45: [$r, nn],
2140
2140
  60: yo,
@@ -2162,13 +2162,13 @@ const Tl = {
2162
2162
  null: [Kn, cl]
2163
2163
  }, xl = {
2164
2164
  null: [42, 95]
2165
- }, Sl = {
2165
+ }, Nl = {
2166
2166
  null: []
2167
- }, Nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2167
+ }, Sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2168
2168
  __proto__: null,
2169
2169
  attentionMarkers: xl,
2170
2170
  contentInitial: bl,
2171
- disable: Sl,
2171
+ disable: Nl,
2172
2172
  document: Tl,
2173
2173
  flow: Al,
2174
2174
  flowInitial: gl,
@@ -2179,7 +2179,7 @@ const Tl = {
2179
2179
  function kl(e) {
2180
2180
  const n = (
2181
2181
  /** @type {FullNormalizedExtension} */
2182
- Bs([Nl, ...(e || {}).extensions || []])
2182
+ Bs([Sl, ...(e || {}).extensions || []])
2183
2183
  ), r = {
2184
2184
  defined: [],
2185
2185
  lazy: {},
@@ -2319,7 +2319,7 @@ function wl(e) {
2319
2319
  characterReferenceMarkerNumeric: We,
2320
2320
  characterReferenceValue: oe,
2321
2321
  codeFenced: l(L),
2322
- codeFencedFence: S,
2322
+ codeFencedFence: N,
2323
2323
  codeFencedFenceInfo: m,
2324
2324
  codeFencedFenceMeta: A,
2325
2325
  codeFlowValue: I,
@@ -2342,7 +2342,7 @@ function wl(e) {
2342
2342
  label: Le,
2343
2343
  labelText: _e,
2344
2344
  lineEnding: B,
2345
- link: l(le),
2345
+ link: l(ce),
2346
2346
  listItem: l(),
2347
2347
  listOrdered: l(),
2348
2348
  listUnordered: l(),
@@ -2361,7 +2361,7 @@ function wl(e) {
2361
2361
  bi(t, (e || {}).mdastExtensions || []);
2362
2362
  const n = {};
2363
2363
  return r;
2364
- function r(N) {
2364
+ function r(S) {
2365
2365
  let M = {
2366
2366
  type: "root",
2367
2367
  children: []
@@ -2377,24 +2377,24 @@ function wl(e) {
2377
2377
  data: n
2378
2378
  }, V = [];
2379
2379
  let K = -1;
2380
- for (; ++K < N.length; )
2381
- if (N[K][1].type === "listOrdered" || N[K][1].type === "listUnordered")
2382
- if (N[K][0] === "enter")
2380
+ for (; ++K < S.length; )
2381
+ if (S[K][1].type === "listOrdered" || S[K][1].type === "listUnordered")
2382
+ if (S[K][0] === "enter")
2383
2383
  V.push(K);
2384
2384
  else {
2385
2385
  const xe = V.pop();
2386
- K = u(N, xe, K);
2386
+ K = u(S, xe, K);
2387
2387
  }
2388
- for (K = -1; ++K < N.length; ) {
2389
- const xe = t[N[K][0]];
2390
- Ti.call(xe, N[K][1].type) && xe[N[K][1].type].call(
2388
+ for (K = -1; ++K < S.length; ) {
2389
+ const xe = t[S[K][0]];
2390
+ Ti.call(xe, S[K][1].type) && xe[S[K][1].type].call(
2391
2391
  Object.assign(
2392
2392
  {
2393
- sliceSerialize: N[K][2].sliceSerialize
2393
+ sliceSerialize: S[K][2].sliceSerialize
2394
2394
  },
2395
2395
  U
2396
2396
  ),
2397
- N[K][1]
2397
+ S[K][1]
2398
2398
  );
2399
2399
  }
2400
2400
  if (U.tokenStack.length > 0) {
@@ -2403,14 +2403,14 @@ function wl(e) {
2403
2403
  }
2404
2404
  for (M.position = {
2405
2405
  start: He(
2406
- N.length > 0 ? N[0][1].start : {
2406
+ S.length > 0 ? S[0][1].start : {
2407
2407
  line: 1,
2408
2408
  column: 1,
2409
2409
  offset: 0
2410
2410
  }
2411
2411
  ),
2412
2412
  end: He(
2413
- N.length > 0 ? N[N.length - 2][1].end : {
2413
+ S.length > 0 ? S[S.length - 2][1].end : {
2414
2414
  line: 1,
2415
2415
  column: 1,
2416
2416
  offset: 0
@@ -2420,10 +2420,10 @@ function wl(e) {
2420
2420
  M = t.transforms[K](M) || M;
2421
2421
  return M;
2422
2422
  }
2423
- function u(N, M, U) {
2423
+ function u(S, M, U) {
2424
2424
  let V = M - 1, K = -1, xe = !1, Ge, De, It, xt;
2425
2425
  for (; ++V <= U; ) {
2426
- const Ee = N[V];
2426
+ const Ee = S[V];
2427
2427
  switch (Ee[1].type) {
2428
2428
  case "listUnordered":
2429
2429
  case "listOrdered":
@@ -2448,16 +2448,16 @@ function wl(e) {
2448
2448
  if (Ge) {
2449
2449
  let at = V;
2450
2450
  for (De = void 0; at--; ) {
2451
- const Pe = N[at];
2451
+ const Pe = S[at];
2452
2452
  if (Pe[1].type === "lineEnding" || Pe[1].type === "lineEndingBlank") {
2453
2453
  if (Pe[0] === "exit") continue;
2454
- De && (N[De][1].type = "lineEndingBlank", xe = !0), Pe[1].type = "lineEnding", De = at;
2454
+ De && (S[De][1].type = "lineEndingBlank", xe = !0), Pe[1].type = "lineEnding", De = at;
2455
2455
  } else if (!(Pe[1].type === "linePrefix" || Pe[1].type === "blockQuotePrefix" || Pe[1].type === "blockQuotePrefixWhitespace" || Pe[1].type === "blockQuoteMarker" || Pe[1].type === "listItemIndent")) break;
2456
2456
  }
2457
2457
  It && (!De || It < De) && (Ge._spread = !0), Ge.end = Object.assign(
2458
2458
  {},
2459
- De ? N[De][1].start : Ee[1].end
2460
- ), N.splice(De || V, 0, ["exit", Ge, Ee[2]]), V++, U++;
2459
+ De ? S[De][1].start : Ee[1].end
2460
+ ), S.splice(De || V, 0, ["exit", Ge, Ee[2]]), V++, U++;
2461
2461
  }
2462
2462
  if (Ee[1].type === "listItemPrefix") {
2463
2463
  const at = {
@@ -2467,16 +2467,16 @@ function wl(e) {
2467
2467
  // @ts-expect-error: we’ll add `end` in a second.
2468
2468
  end: void 0
2469
2469
  };
2470
- Ge = at, N.splice(V, 0, ["enter", at, Ee[2]]), V++, U++, It = void 0, xt = !0;
2470
+ Ge = at, S.splice(V, 0, ["enter", at, Ee[2]]), V++, U++, It = void 0, xt = !0;
2471
2471
  }
2472
2472
  }
2473
2473
  }
2474
- return N[M][1]._spread = xe, U;
2474
+ return S[M][1]._spread = xe, U;
2475
2475
  }
2476
- function a(N, M) {
2476
+ function a(S, M) {
2477
2477
  return U;
2478
2478
  function U(V) {
2479
- o.call(this, N(V), V), M && M.call(this, V);
2479
+ o.call(this, S(V), V), M && M.call(this, V);
2480
2480
  }
2481
2481
  }
2482
2482
  function i() {
@@ -2485,30 +2485,30 @@ function wl(e) {
2485
2485
  children: []
2486
2486
  });
2487
2487
  }
2488
- function o(N, M, U) {
2489
- this.stack[this.stack.length - 1].children.push(N), this.stack.push(N), this.tokenStack.push([M, U]), N.position = {
2488
+ function o(S, M, U) {
2489
+ this.stack[this.stack.length - 1].children.push(S), this.stack.push(S), this.tokenStack.push([M, U]), S.position = {
2490
2490
  start: He(M.start),
2491
2491
  // @ts-expect-error: `end` will be patched later.
2492
2492
  end: void 0
2493
2493
  };
2494
2494
  }
2495
- function l(N) {
2495
+ function l(S) {
2496
2496
  return M;
2497
2497
  function M(U) {
2498
- N && N.call(this, U), c.call(this, U);
2498
+ S && S.call(this, U), c.call(this, U);
2499
2499
  }
2500
2500
  }
2501
- function c(N, M) {
2501
+ function c(S, M) {
2502
2502
  const U = this.stack.pop(), V = this.tokenStack.pop();
2503
2503
  if (V)
2504
- V[0].type !== N.type && (M ? M.call(this, N, V[0]) : (V[1] || Zr).call(this, N, V[0]));
2504
+ V[0].type !== S.type && (M ? M.call(this, S, V[0]) : (V[1] || Zr).call(this, S, V[0]));
2505
2505
  else throw new Error(
2506
- "Cannot close `" + N.type + "` (" + en({
2507
- start: N.start,
2508
- end: N.end
2506
+ "Cannot close `" + S.type + "` (" + en({
2507
+ start: S.start,
2508
+ end: S.end
2509
2509
  }) + "): it’s not open"
2510
2510
  );
2511
- U.position.end = He(N.end);
2511
+ U.position.end = He(S.end);
2512
2512
  }
2513
2513
  function h() {
2514
2514
  return cr(this.stack.pop());
@@ -2516,136 +2516,136 @@ function wl(e) {
2516
2516
  function f() {
2517
2517
  this.data.expectingFirstListItemValue = !0;
2518
2518
  }
2519
- function p(N) {
2519
+ function p(S) {
2520
2520
  if (this.data.expectingFirstListItemValue) {
2521
2521
  const M = this.stack[this.stack.length - 2];
2522
- M.start = Number.parseInt(this.sliceSerialize(N), 10), this.data.expectingFirstListItemValue = void 0;
2522
+ M.start = Number.parseInt(this.sliceSerialize(S), 10), this.data.expectingFirstListItemValue = void 0;
2523
2523
  }
2524
2524
  }
2525
2525
  function m() {
2526
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2527
- M.lang = N;
2526
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2527
+ M.lang = S;
2528
2528
  }
2529
2529
  function A() {
2530
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2531
- M.meta = N;
2530
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2531
+ M.meta = S;
2532
2532
  }
2533
- function S() {
2533
+ function N() {
2534
2534
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
2535
2535
  }
2536
2536
  function L() {
2537
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2538
- M.value = N.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
2537
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2538
+ M.value = S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
2539
2539
  }
2540
2540
  function x() {
2541
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2542
- M.value = N.replace(/(\r?\n|\r)$/g, "");
2541
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2542
+ M.value = S.replace(/(\r?\n|\r)$/g, "");
2543
2543
  }
2544
- function w(N) {
2544
+ function w(S) {
2545
2545
  const M = this.resume(), U = this.stack[this.stack.length - 1];
2546
2546
  U.label = M, U.identifier = ht(
2547
- this.sliceSerialize(N)
2547
+ this.sliceSerialize(S)
2548
2548
  ).toLowerCase();
2549
2549
  }
2550
2550
  function R() {
2551
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2552
- M.title = N;
2551
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2552
+ M.title = S;
2553
2553
  }
2554
2554
  function z() {
2555
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2556
- M.url = N;
2555
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2556
+ M.url = S;
2557
2557
  }
2558
- function Y(N) {
2558
+ function Y(S) {
2559
2559
  const M = this.stack[this.stack.length - 1];
2560
2560
  if (!M.depth) {
2561
- const U = this.sliceSerialize(N).length;
2561
+ const U = this.sliceSerialize(S).length;
2562
2562
  M.depth = U;
2563
2563
  }
2564
2564
  }
2565
2565
  function k() {
2566
2566
  this.data.setextHeadingSlurpLineEnding = !0;
2567
2567
  }
2568
- function Q(N) {
2568
+ function Q(S) {
2569
2569
  const M = this.stack[this.stack.length - 1];
2570
- M.depth = this.sliceSerialize(N).codePointAt(0) === 61 ? 1 : 2;
2570
+ M.depth = this.sliceSerialize(S).codePointAt(0) === 61 ? 1 : 2;
2571
2571
  }
2572
2572
  function ee() {
2573
2573
  this.data.setextHeadingSlurpLineEnding = void 0;
2574
2574
  }
2575
- function X(N) {
2575
+ function X(S) {
2576
2576
  const U = this.stack[this.stack.length - 1].children;
2577
2577
  let V = U[U.length - 1];
2578
2578
  (!V || V.type !== "text") && (V = ns(), V.position = {
2579
- start: He(N.start),
2579
+ start: He(S.start),
2580
2580
  // @ts-expect-error: we’ll add `end` later.
2581
2581
  end: void 0
2582
2582
  }, U.push(V)), this.stack.push(V);
2583
2583
  }
2584
- function I(N) {
2584
+ function I(S) {
2585
2585
  const M = this.stack.pop();
2586
- M.value += this.sliceSerialize(N), M.position.end = He(N.end);
2586
+ M.value += this.sliceSerialize(S), M.position.end = He(S.end);
2587
2587
  }
2588
- function B(N) {
2588
+ function B(S) {
2589
2589
  const M = this.stack[this.stack.length - 1];
2590
2590
  if (this.data.atHardBreak) {
2591
2591
  const U = M.children[M.children.length - 1];
2592
- U.position.end = He(N.end), this.data.atHardBreak = void 0;
2592
+ U.position.end = He(S.end), this.data.atHardBreak = void 0;
2593
2593
  return;
2594
2594
  }
2595
- !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(M.type) && (X.call(this, N), I.call(this, N));
2595
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(M.type) && (X.call(this, S), I.call(this, S));
2596
2596
  }
2597
2597
  function F() {
2598
2598
  this.data.atHardBreak = !0;
2599
2599
  }
2600
2600
  function $() {
2601
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2602
- M.value = N;
2601
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2602
+ M.value = S;
2603
2603
  }
2604
2604
  function ne() {
2605
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2606
- M.value = N;
2605
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2606
+ M.value = S;
2607
2607
  }
2608
2608
  function G() {
2609
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2610
- M.value = N;
2609
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2610
+ M.value = S;
2611
2611
  }
2612
- function le() {
2613
- const N = this.stack[this.stack.length - 1];
2612
+ function ce() {
2613
+ const S = this.stack[this.stack.length - 1];
2614
2614
  if (this.data.inReference) {
2615
2615
  const M = this.data.referenceType || "shortcut";
2616
- N.type += "Reference", N.referenceType = M, delete N.url, delete N.title;
2616
+ S.type += "Reference", S.referenceType = M, delete S.url, delete S.title;
2617
2617
  } else
2618
- delete N.identifier, delete N.label;
2618
+ delete S.identifier, delete S.label;
2619
2619
  this.data.referenceType = void 0;
2620
2620
  }
2621
2621
  function se() {
2622
- const N = this.stack[this.stack.length - 1];
2622
+ const S = this.stack[this.stack.length - 1];
2623
2623
  if (this.data.inReference) {
2624
2624
  const M = this.data.referenceType || "shortcut";
2625
- N.type += "Reference", N.referenceType = M, delete N.url, delete N.title;
2625
+ S.type += "Reference", S.referenceType = M, delete S.url, delete S.title;
2626
2626
  } else
2627
- delete N.identifier, delete N.label;
2627
+ delete S.identifier, delete S.label;
2628
2628
  this.data.referenceType = void 0;
2629
2629
  }
2630
- function _e(N) {
2631
- const M = this.sliceSerialize(N), U = this.stack[this.stack.length - 2];
2630
+ function _e(S) {
2631
+ const M = this.sliceSerialize(S), U = this.stack[this.stack.length - 2];
2632
2632
  U.label = Rl(M), U.identifier = ht(M).toLowerCase();
2633
2633
  }
2634
2634
  function Le() {
2635
- const N = this.stack[this.stack.length - 1], M = this.resume(), U = this.stack[this.stack.length - 1];
2635
+ const S = this.stack[this.stack.length - 1], M = this.resume(), U = this.stack[this.stack.length - 1];
2636
2636
  if (this.data.inReference = !0, U.type === "link") {
2637
- const V = N.children;
2637
+ const V = S.children;
2638
2638
  U.children = V;
2639
2639
  } else
2640
2640
  U.alt = M;
2641
2641
  }
2642
2642
  function b() {
2643
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2644
- M.url = N;
2643
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2644
+ M.url = S;
2645
2645
  }
2646
2646
  function Ce() {
2647
- const N = this.resume(), M = this.stack[this.stack.length - 1];
2648
- M.title = N;
2647
+ const S = this.resume(), M = this.stack[this.stack.length - 1];
2648
+ M.title = S;
2649
2649
  }
2650
2650
  function Re() {
2651
2651
  this.data.inReference = void 0;
@@ -2653,34 +2653,34 @@ function wl(e) {
2653
2653
  function g() {
2654
2654
  this.data.referenceType = "collapsed";
2655
2655
  }
2656
- function Ie(N) {
2656
+ function Ie(S) {
2657
2657
  const M = this.resume(), U = this.stack[this.stack.length - 1];
2658
2658
  U.label = M, U.identifier = ht(
2659
- this.sliceSerialize(N)
2659
+ this.sliceSerialize(S)
2660
2660
  ).toLowerCase(), this.data.referenceType = "full";
2661
2661
  }
2662
- function We(N) {
2663
- this.data.characterReferenceType = N.type;
2662
+ function We(S) {
2663
+ this.data.characterReferenceType = S.type;
2664
2664
  }
2665
- function oe(N) {
2666
- const M = this.sliceSerialize(N), U = this.data.characterReferenceType;
2665
+ function oe(S) {
2666
+ const M = this.sliceSerialize(S), U = this.data.characterReferenceType;
2667
2667
  let V;
2668
2668
  U ? (V = si(
2669
2669
  M,
2670
2670
  U === "characterReferenceMarkerNumeric" ? 10 : 16
2671
2671
  ), this.data.characterReferenceType = void 0) : V = fr(M);
2672
2672
  const K = this.stack.pop();
2673
- K.value += V, K.position.end = He(N.end);
2673
+ K.value += V, K.position.end = He(S.end);
2674
2674
  }
2675
- function Ct(N) {
2676
- I.call(this, N);
2675
+ function Ct(S) {
2676
+ I.call(this, S);
2677
2677
  const M = this.stack[this.stack.length - 1];
2678
- M.url = this.sliceSerialize(N);
2678
+ M.url = this.sliceSerialize(S);
2679
2679
  }
2680
- function Fe(N) {
2681
- I.call(this, N);
2680
+ function Fe(S) {
2681
+ I.call(this, S);
2682
2682
  const M = this.stack[this.stack.length - 1];
2683
- M.url = "mailto:" + this.sliceSerialize(N);
2683
+ M.url = "mailto:" + this.sliceSerialize(S);
2684
2684
  }
2685
2685
  function it() {
2686
2686
  return {
@@ -2752,19 +2752,19 @@ function wl(e) {
2752
2752
  children: []
2753
2753
  };
2754
2754
  }
2755
- function Ur(N) {
2755
+ function Ur(S) {
2756
2756
  return {
2757
2757
  type: "list",
2758
- ordered: N.type === "listOrdered",
2758
+ ordered: S.type === "listOrdered",
2759
2759
  start: null,
2760
- spread: N._spread,
2760
+ spread: S._spread,
2761
2761
  children: []
2762
2762
  };
2763
2763
  }
2764
- function Za(N) {
2764
+ function Za(S) {
2765
2765
  return {
2766
2766
  type: "listItem",
2767
- spread: N._spread,
2767
+ spread: S._spread,
2768
2768
  checked: null,
2769
2769
  children: []
2770
2770
  };
@@ -3287,7 +3287,7 @@ const _i = -1, _n = 0, Dt = 1, ln = 2, mr = 3, pr = 4, Er = 5, Tr = 6, Ci = 7, I
3287
3287
  return n(new ru[a](i), u);
3288
3288
  };
3289
3289
  return r;
3290
- }, uu = (e) => lc(/* @__PURE__ */ new Map(), e)(0), st = "", { toString: cc } = {}, { keys: fc } = Object, St = (e) => {
3290
+ }, uu = (e) => lc(/* @__PURE__ */ new Map(), e)(0), st = "", { toString: cc } = {}, { keys: fc } = Object, Nt = (e) => {
3291
3291
  const t = typeof e;
3292
3292
  if (t !== "object" || !e)
3293
3293
  return [_n, t];
@@ -3316,7 +3316,7 @@ const _i = -1, _n = 0, Dt = 1, ln = 2, mr = 3, pr = 4, Er = 5, Tr = 6, Ci = 7, I
3316
3316
  }, a = (i) => {
3317
3317
  if (n.has(i))
3318
3318
  return n.get(i);
3319
- let [o, l] = St(i);
3319
+ let [o, l] = Nt(i);
3320
3320
  switch (o) {
3321
3321
  case _n: {
3322
3322
  let h = i;
@@ -3359,7 +3359,7 @@ const _i = -1, _n = 0, Dt = 1, ln = 2, mr = 3, pr = 4, Er = 5, Tr = 6, Ci = 7, I
3359
3359
  return a(i.toJSON());
3360
3360
  const h = [], f = u([o, h], i);
3361
3361
  for (const p of fc(i))
3362
- (e || !Gt(St(i[p]))) && h.push([a(p), a(i[p])]);
3362
+ (e || !Gt(Nt(i[p]))) && h.push([a(p), a(i[p])]);
3363
3363
  return f;
3364
3364
  }
3365
3365
  case mr:
@@ -3371,13 +3371,13 @@ const _i = -1, _n = 0, Dt = 1, ln = 2, mr = 3, pr = 4, Er = 5, Tr = 6, Ci = 7, I
3371
3371
  case Er: {
3372
3372
  const h = [], f = u([o, h], i);
3373
3373
  for (const [p, m] of i)
3374
- (e || !(Gt(St(p)) || Gt(St(m)))) && h.push([a(p), a(m)]);
3374
+ (e || !(Gt(Nt(p)) || Gt(Nt(m)))) && h.push([a(p), a(m)]);
3375
3375
  return f;
3376
3376
  }
3377
3377
  case Tr: {
3378
3378
  const h = [], f = u([o, h], i);
3379
3379
  for (const p of i)
3380
- (e || !Gt(St(p))) && h.push(a(p));
3380
+ (e || !Gt(Nt(p))) && h.push(a(p));
3381
3381
  return f;
3382
3382
  }
3383
3383
  }
@@ -3417,8 +3417,8 @@ function pc(e) {
3417
3417
  continue;
3418
3418
  const h = e.all(c), f = String(c.identifier).toUpperCase(), p = Tt(f.toLowerCase());
3419
3419
  let m = 0;
3420
- const A = [], S = e.footnoteCounts.get(f);
3421
- for (; S !== void 0 && ++m <= S; ) {
3420
+ const A = [], N = e.footnoteCounts.get(f);
3421
+ for (; N !== void 0 && ++m <= N; ) {
3422
3422
  A.length > 0 && A.push({ type: "text", value: " " });
3423
3423
  let w = typeof n == "string" ? n : n(l, m);
3424
3424
  typeof w == "string" && (w = { type: "text", value: w }), A.push({
@@ -3502,7 +3502,7 @@ function Tc(e, t) {
3502
3502
  return m(o, h, f);
3503
3503
  if (o.options.passThrough && o.options.passThrough.includes(p)) {
3504
3504
  if ("children" in h) {
3505
- const { children: S, ...L } = h, x = cn(L);
3505
+ const { children: N, ...L } = h, x = cn(L);
3506
3506
  return x.children = o.all(h), x;
3507
3507
  }
3508
3508
  return cn(h);
@@ -3518,8 +3518,8 @@ function Tc(e, t) {
3518
3518
  const A = o.one(p[m], h);
3519
3519
  if (A) {
3520
3520
  if (m && p[m - 1].type === "break" && (!Array.isArray(A) && A.type === "text" && (A.value = au(A.value)), !Array.isArray(A) && A.type === "element")) {
3521
- const S = A.children[0];
3522
- S && S.type === "text" && (S.value = au(S.value));
3521
+ const N = A.children[0];
3522
+ N && N.type === "text" && (N.value = au(N.value));
3523
3523
  }
3524
3524
  Array.isArray(A) ? f.push(...A) : f.push(A);
3525
3525
  }
@@ -3626,12 +3626,12 @@ function Ic() {
3626
3626
  return c[h];
3627
3627
  };
3628
3628
  return Pn = function l() {
3629
- var c, h, f, p, m, A, S = arguments[0], L = 1, x = arguments.length, w = !1;
3630
- for (typeof S == "boolean" && (w = S, S = arguments[1] || {}, L = 2), (S == null || typeof S != "object" && typeof S != "function") && (S = {}); L < x; ++L)
3629
+ var c, h, f, p, m, A, N = arguments[0], L = 1, x = arguments.length, w = !1;
3630
+ for (typeof N == "boolean" && (w = N, N = arguments[1] || {}, L = 2), (N == null || typeof N != "object" && typeof N != "function") && (N = {}); L < x; ++L)
3631
3631
  if (c = arguments[L], c != null)
3632
3632
  for (h in c)
3633
- f = o(S, h), p = o(c, h), S !== p && (w && p && (a(p) || (m = u(p))) ? (m ? (m = !1, A = f && u(f) ? f : []) : A = f && a(f) ? f : {}, i(S, { name: h, newValue: l(w, A, p) })) : typeof p < "u" && i(S, { name: h, newValue: p }));
3634
- return S;
3633
+ f = o(N, h), p = o(c, h), N !== p && (w && p && (a(p) || (m = u(p))) ? (m ? (m = !1, A = f && u(f) ? f : []) : A = f && a(f) ? f : {}, i(N, { name: h, newValue: l(w, A, p) })) : typeof p < "u" && i(N, { name: h, newValue: p }));
3634
+ return N;
3635
3635
  }, Pn;
3636
3636
  }
3637
3637
  var xc = Ic();
@@ -3642,7 +3642,7 @@ function Jn(e) {
3642
3642
  const t = Object.getPrototypeOf(e);
3643
3643
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
3644
3644
  }
3645
- function Sc() {
3645
+ function Nc() {
3646
3646
  const e = [], t = { run: n, use: r };
3647
3647
  return t;
3648
3648
  function n(...u) {
@@ -3660,7 +3660,7 @@ function Sc() {
3660
3660
  }
3661
3661
  for (; ++f < u.length; )
3662
3662
  (c[f] === null || c[f] === void 0) && (c[f] = u[f]);
3663
- u = c, h ? Nc(h, o)(...c) : i(null, ...c);
3663
+ u = c, h ? Sc(h, o)(...c) : i(null, ...c);
3664
3664
  }
3665
3665
  }
3666
3666
  function r(u) {
@@ -3671,7 +3671,7 @@ function Sc() {
3671
3671
  return e.push(u), t;
3672
3672
  }
3673
3673
  }
3674
- function Nc(e, t) {
3674
+ function Sc(e, t) {
3675
3675
  let n;
3676
3676
  return r;
3677
3677
  function r(...i) {
@@ -3698,7 +3698,7 @@ function Nc(e, t) {
3698
3698
  u(null, i);
3699
3699
  }
3700
3700
  }
3701
- const Ne = { basename: kc, dirname: Oc, extname: yc, join: Lc, sep: "/" };
3701
+ const Se = { basename: kc, dirname: Oc, extname: yc, join: Lc, sep: "/" };
3702
3702
  function kc(e, t) {
3703
3703
  if (t !== void 0 && typeof t != "string")
3704
3704
  throw new TypeError('"ext" argument must be a string');
@@ -3904,7 +3904,7 @@ class xi {
3904
3904
  * Basename.
3905
3905
  */
3906
3906
  get basename() {
3907
- return typeof this.path == "string" ? Ne.basename(this.path) : void 0;
3907
+ return typeof this.path == "string" ? Se.basename(this.path) : void 0;
3908
3908
  }
3909
3909
  /**
3910
3910
  * Set basename (including extname) (`'index.min.js'`).
@@ -3919,7 +3919,7 @@ class xi {
3919
3919
  * Nothing.
3920
3920
  */
3921
3921
  set basename(t) {
3922
- Fn(t, "basename"), Bn(t, "basename"), this.path = Ne.join(this.dirname || "", t);
3922
+ Fn(t, "basename"), Bn(t, "basename"), this.path = Se.join(this.dirname || "", t);
3923
3923
  }
3924
3924
  /**
3925
3925
  * Get the parent path (example: `'~'`).
@@ -3928,7 +3928,7 @@ class xi {
3928
3928
  * Dirname.
3929
3929
  */
3930
3930
  get dirname() {
3931
- return typeof this.path == "string" ? Ne.dirname(this.path) : void 0;
3931
+ return typeof this.path == "string" ? Se.dirname(this.path) : void 0;
3932
3932
  }
3933
3933
  /**
3934
3934
  * Set the parent path (example: `'~'`).
@@ -3941,7 +3941,7 @@ class xi {
3941
3941
  * Nothing.
3942
3942
  */
3943
3943
  set dirname(t) {
3944
- cu(this.basename, "dirname"), this.path = Ne.join(t || "", this.basename);
3944
+ cu(this.basename, "dirname"), this.path = Se.join(t || "", this.basename);
3945
3945
  }
3946
3946
  /**
3947
3947
  * Get the extname (including dot) (example: `'.js'`).
@@ -3950,7 +3950,7 @@ class xi {
3950
3950
  * Extname.
3951
3951
  */
3952
3952
  get extname() {
3953
- return typeof this.path == "string" ? Ne.extname(this.path) : void 0;
3953
+ return typeof this.path == "string" ? Se.extname(this.path) : void 0;
3954
3954
  }
3955
3955
  /**
3956
3956
  * Set the extname (including dot) (example: `'.js'`).
@@ -3971,7 +3971,7 @@ class xi {
3971
3971
  if (t.includes(".", 1))
3972
3972
  throw new Error("`extname` cannot contain multiple dots");
3973
3973
  }
3974
- this.path = Ne.join(this.dirname, this.stem + (t || ""));
3974
+ this.path = Se.join(this.dirname, this.stem + (t || ""));
3975
3975
  }
3976
3976
  /**
3977
3977
  * Get the full path (example: `'~/index.min.js'`).
@@ -4004,7 +4004,7 @@ class xi {
4004
4004
  * Stem.
4005
4005
  */
4006
4006
  get stem() {
4007
- return typeof this.path == "string" ? Ne.basename(this.path, this.extname) : void 0;
4007
+ return typeof this.path == "string" ? Se.basename(this.path, this.extname) : void 0;
4008
4008
  }
4009
4009
  /**
4010
4010
  * Set the stem (basename w/o extname) (example: `'index.min'`).
@@ -4019,7 +4019,7 @@ class xi {
4019
4019
  * Nothing.
4020
4020
  */
4021
4021
  set stem(t) {
4022
- Fn(t, "stem"), Bn(t, "stem"), this.path = Ne.join(this.dirname || "", t + (this.extname || ""));
4022
+ Fn(t, "stem"), Bn(t, "stem"), this.path = Se.join(this.dirname || "", t + (this.extname || ""));
4023
4023
  }
4024
4024
  // Normal prototypal methods.
4025
4025
  /**
@@ -4233,9 +4233,9 @@ class xi {
4233
4233
  }
4234
4234
  }
4235
4235
  function Bn(e, t) {
4236
- if (e && e.includes(Ne.sep))
4236
+ if (e && e.includes(Se.sep))
4237
4237
  throw new Error(
4238
- "`" + t + "` cannot be a path: did not expect `" + Ne.sep + "`"
4238
+ "`" + t + "` cannot be a path: did not expect `" + Se.sep + "`"
4239
4239
  );
4240
4240
  }
4241
4241
  function Fn(e, t) {
@@ -4276,7 +4276,7 @@ class br extends Hc {
4276
4276
  * Create a processor.
4277
4277
  */
4278
4278
  constructor() {
4279
- super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = Sc();
4279
+ super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = Nc();
4280
4280
  }
4281
4281
  /**
4282
4282
  * Copy a processor.
@@ -4746,8 +4746,8 @@ class br extends Hc {
4746
4746
  r.push([c, ...h]);
4747
4747
  else if (h.length > 0) {
4748
4748
  let [m, ...A] = h;
4749
- const S = r[p][1];
4750
- Jn(S) && Jn(m) && (m = wn(!0, S, m)), r[p] = [c, m, ...A];
4749
+ const N = r[p][1];
4750
+ Jn(N) && Jn(m) && (m = wn(!0, N, m)), r[p] = [c, m, ...A];
4751
4751
  }
4752
4752
  }
4753
4753
  }
@@ -4880,8 +4880,8 @@ function Kc(e, t) {
4880
4880
  let m;
4881
4881
  for (m in Ln)
4882
4882
  if (Object.hasOwn(Ln, m) && Object.hasOwn(h.properties, m)) {
4883
- const A = h.properties[m], S = Ln[m];
4884
- (S === null || S.includes(h.tagName)) && (h.properties[m] = l(String(A || ""), m, h));
4883
+ const A = h.properties[m], N = Ln[m];
4884
+ (N === null || N.includes(h.tagName)) && (h.properties[m] = l(String(A || ""), m, h));
4885
4885
  }
4886
4886
  }
4887
4887
  if (h.type === "element") {
@@ -4900,14 +4900,14 @@ function $c(e) {
4900
4900
  Vc.test(e.slice(0, t)) ? e : ""
4901
4901
  );
4902
4902
  }
4903
- const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Ni = 7, ki = 8, pu = typeof self == "object" ? self : globalThis, Jc = (e, t) => {
4903
+ const Ni = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Si = 7, ki = 8, pu = typeof self == "object" ? self : globalThis, Jc = (e, t) => {
4904
4904
  const n = (u, a) => (e.set(a, u), u), r = (u) => {
4905
4905
  if (e.has(u))
4906
4906
  return e.get(u);
4907
4907
  const [a, i] = t[u];
4908
4908
  switch (a) {
4909
4909
  case Cn:
4910
- case Si:
4910
+ case Ni:
4911
4911
  return n(i, u);
4912
4912
  case fn: {
4913
4913
  const o = n([], u);
@@ -4939,7 +4939,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Ni = 7, k
4939
4939
  o.add(r(l));
4940
4940
  return o;
4941
4941
  }
4942
- case Ni: {
4942
+ case Si: {
4943
4943
  const { name: o, message: l } = i;
4944
4944
  return n(new pu[o](l), u);
4945
4945
  }
@@ -4951,7 +4951,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Ni = 7, k
4951
4951
  return n(new pu[a](i), u);
4952
4952
  };
4953
4953
  return r;
4954
- }, Eu = (e) => Jc(/* @__PURE__ */ new Map(), e)(0), ot = "", { toString: Zc } = {}, { keys: e0 } = Object, Nt = (e) => {
4954
+ }, Eu = (e) => Jc(/* @__PURE__ */ new Map(), e)(0), ot = "", { toString: Zc } = {}, { keys: e0 } = Object, St = (e) => {
4955
4955
  const t = typeof e;
4956
4956
  if (t !== "object" || !e)
4957
4957
  return [Cn, t];
@@ -4970,7 +4970,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Ni = 7, k
4970
4970
  case "Set":
4971
4971
  return [Cr, ot];
4972
4972
  }
4973
- return n.includes("Array") ? [fn, n] : n.includes("Error") ? [Ni, n] : [hn, n];
4973
+ return n.includes("Array") ? [fn, n] : n.includes("Error") ? [Si, n] : [hn, n];
4974
4974
  }, Kt = ([e, t]) => e === Cn && (t === "function" || t === "symbol"), t0 = (e, t, n, r) => {
4975
4975
  const u = (i, o) => {
4976
4976
  const l = r.push(i) - 1;
@@ -4978,7 +4978,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Ni = 7, k
4978
4978
  }, a = (i) => {
4979
4979
  if (n.has(i))
4980
4980
  return n.get(i);
4981
- let [o, l] = Nt(i);
4981
+ let [o, l] = St(i);
4982
4982
  switch (o) {
4983
4983
  case Cn: {
4984
4984
  let h = i;
@@ -4993,7 +4993,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Ni = 7, k
4993
4993
  h = null;
4994
4994
  break;
4995
4995
  case "undefined":
4996
- return u([Si], i);
4996
+ return u([Ni], i);
4997
4997
  }
4998
4998
  return u([o, h], i);
4999
4999
  }
@@ -5019,7 +5019,7 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Ni = 7, k
5019
5019
  return a(i.toJSON());
5020
5020
  const h = [], f = u([o, h], i);
5021
5021
  for (const p of e0(i))
5022
- (e || !Kt(Nt(i[p]))) && h.push([a(p), a(i[p])]);
5022
+ (e || !Kt(St(i[p]))) && h.push([a(p), a(i[p])]);
5023
5023
  return f;
5024
5024
  }
5025
5025
  case gr:
@@ -5031,13 +5031,13 @@ const Si = -1, Cn = 0, fn = 1, hn = 2, gr = 3, Ar = 4, _r = 5, Cr = 6, Ni = 7, k
5031
5031
  case _r: {
5032
5032
  const h = [], f = u([o, h], i);
5033
5033
  for (const [p, m] of i)
5034
- (e || !(Kt(Nt(p)) || Kt(Nt(m)))) && h.push([a(p), a(m)]);
5034
+ (e || !(Kt(St(p)) || Kt(St(m)))) && h.push([a(p), a(m)]);
5035
5035
  return f;
5036
5036
  }
5037
5037
  case Cr: {
5038
5038
  const h = [], f = u([o, h], i);
5039
5039
  for (const p of i)
5040
- (e || !Kt(Nt(p))) && h.push(a(p));
5040
+ (e || !Kt(St(p))) && h.push(a(p));
5041
5041
  return f;
5042
5042
  }
5043
5043
  }
@@ -6401,7 +6401,7 @@ const $e = {
6401
6401
  }, Fi = {}.hasOwnProperty, g0 = Object.prototype;
6402
6402
  function A0(e, t) {
6403
6403
  const n = t || {};
6404
- return Sr(
6404
+ return Nr(
6405
6405
  {
6406
6406
  file: n.file || void 0,
6407
6407
  location: !1,
@@ -6411,7 +6411,7 @@ function A0(e, t) {
6411
6411
  e
6412
6412
  );
6413
6413
  }
6414
- function Sr(e, t) {
6414
+ function Nr(e, t) {
6415
6415
  let n;
6416
6416
  switch (t.nodeName) {
6417
6417
  case "#comment": {
@@ -6466,7 +6466,7 @@ function Hi(e, t) {
6466
6466
  for (; ++n < t.length; ) {
6467
6467
  const u = (
6468
6468
  /** @type {RootContent} */
6469
- Sr(e, t[n])
6469
+ Nr(e, t[n])
6470
6470
  );
6471
6471
  r.push(u);
6472
6472
  }
@@ -6488,7 +6488,7 @@ function _0(e, t) {
6488
6488
  t
6489
6489
  ), l = o.sourceCodeLocation, c = l && l.startTag && ft(l.startTag), h = l && l.endTag && ft(l.endTag), f = (
6490
6490
  /** @type {Root} */
6491
- Sr(e, o.content)
6491
+ Nr(e, o.content)
6492
6492
  );
6493
6493
  c && h && e.file && (f.position = { start: c.end, end: h.start }), i.content = f;
6494
6494
  }
@@ -6534,23 +6534,23 @@ function ft(e) {
6534
6534
  function xu(e) {
6535
6535
  return e.line && e.column ? e : void 0;
6536
6536
  }
6537
- const I0 = {}, x0 = {}.hasOwnProperty, Ui = ri("type", { handlers: { root: N0, element: R0, text: y0, comment: L0, doctype: O0 } });
6538
- function S0(e, t) {
6537
+ const I0 = {}, x0 = {}.hasOwnProperty, Ui = ri("type", { handlers: { root: S0, element: R0, text: y0, comment: L0, doctype: O0 } });
6538
+ function N0(e, t) {
6539
6539
  const r = (t || I0).space;
6540
6540
  return Ui(e, r === "svg" ? qt : In);
6541
6541
  }
6542
- function N0(e, t) {
6542
+ function S0(e, t) {
6543
6543
  const n = {
6544
6544
  nodeName: "#document",
6545
6545
  // @ts-expect-error: `parse5` uses enums, which are actually strings.
6546
6546
  mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
6547
6547
  childNodes: []
6548
6548
  };
6549
- return n.childNodes = Nr(e.children, n, t), gt(e, n), n;
6549
+ return n.childNodes = Sr(e.children, n, t), gt(e, n), n;
6550
6550
  }
6551
6551
  function k0(e, t) {
6552
6552
  const n = { nodeName: "#document-fragment", childNodes: [] };
6553
- return n.childNodes = Nr(e.children, n, t), gt(e, n), n;
6553
+ return n.childNodes = Sr(e.children, n, t), gt(e, n), n;
6554
6554
  }
6555
6555
  function O0(e) {
6556
6556
  const t = {
@@ -6604,7 +6604,7 @@ function R0(e, t) {
6604
6604
  childNodes: [],
6605
6605
  parentNode: null
6606
6606
  };
6607
- return o.childNodes = Nr(e.children, o, r), gt(e, o), e.tagName === "template" && e.content && (o.content = k0(e.content, r)), o;
6607
+ return o.childNodes = Sr(e.children, o, r), gt(e, o), e.tagName === "template" && e.content && (o.content = k0(e.content, r)), o;
6608
6608
  }
6609
6609
  function D0(e, t, n) {
6610
6610
  const r = xr(e, t);
@@ -6621,7 +6621,7 @@ function D0(e, t, n) {
6621
6621
  }
6622
6622
  return u;
6623
6623
  }
6624
- function Nr(e, t, n) {
6624
+ function Sr(e, t, n) {
6625
6625
  let r = -1;
6626
6626
  const u = [];
6627
6627
  if (e)
@@ -7376,7 +7376,7 @@ function K0(e) {
7376
7376
  function Ue(e) {
7377
7377
  return K0(e) || Lt(e);
7378
7378
  }
7379
- function Su(e) {
7379
+ function Nu(e) {
7380
7380
  return Ue(e) || X0(e);
7381
7381
  }
7382
7382
  function $t(e) {
@@ -7385,7 +7385,7 @@ function $t(e) {
7385
7385
  function Qi(e) {
7386
7386
  return e === d.SPACE || e === d.LINE_FEED || e === d.TABULATION || e === d.FORM_FEED;
7387
7387
  }
7388
- function Nu(e) {
7388
+ function Su(e) {
7389
7389
  return Qi(e) || e === d.SOLIDUS || e === d.GREATER_THAN_SIGN;
7390
7390
  }
7391
7391
  function $0(e) {
@@ -8268,7 +8268,7 @@ class J0 {
8268
8268
  // Script data double escape start state
8269
8269
  //------------------------------------------------------------------
8270
8270
  _stateScriptDataDoubleEscapeStart(t) {
8271
- if (this.preprocessor.startsWith(me.SCRIPT, !1) && Nu(this.preprocessor.peek(me.SCRIPT.length))) {
8271
+ if (this.preprocessor.startsWith(me.SCRIPT, !1) && Su(this.preprocessor.peek(me.SCRIPT.length))) {
8272
8272
  this._emitCodePoint(t);
8273
8273
  for (let n = 0; n < me.SCRIPT.length; n++)
8274
8274
  this._emitCodePoint(this._consume());
@@ -8359,7 +8359,7 @@ class J0 {
8359
8359
  // Script data double escape end state
8360
8360
  //------------------------------------------------------------------
8361
8361
  _stateScriptDataDoubleEscapeEnd(t) {
8362
- if (this.preprocessor.startsWith(me.SCRIPT, !1) && Nu(this.preprocessor.peek(me.SCRIPT.length))) {
8362
+ if (this.preprocessor.startsWith(me.SCRIPT, !1) && Su(this.preprocessor.peek(me.SCRIPT.length))) {
8363
8363
  this._emitCodePoint(t);
8364
8364
  for (let n = 0; n < me.SCRIPT.length; n++)
8365
8365
  this._emitCodePoint(this._consume());
@@ -9273,12 +9273,12 @@ class J0 {
9273
9273
  this.active = !1, this.preprocessor.pos = this.preprocessor.html.length - 1, this.consumedAfterSnapshot = 0, this.preprocessor.endOfChunkHit = !0;
9274
9274
  return;
9275
9275
  }
9276
- t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(d.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && Su(this.preprocessor.peek(1)) ? E.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
9276
+ t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(d.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && Nu(this.preprocessor.peek(1)) ? E.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
9277
9277
  }
9278
9278
  // Ambiguos ampersand state
9279
9279
  //------------------------------------------------------------------
9280
9280
  _stateAmbiguousAmpersand(t) {
9281
- Su(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === d.SEMICOLON && this._err(C.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
9281
+ Nu(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === d.SEMICOLON && this._err(C.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
9282
9282
  }
9283
9283
  }
9284
9284
  const Gi = /* @__PURE__ */ new Set([s.DD, s.DT, s.LI, s.OPTGROUP, s.OPTION, s.P, s.RB, s.RP, s.RT, s.RTC]), ku = /* @__PURE__ */ new Set([
@@ -10045,10 +10045,10 @@ function xf(e, t, n) {
10045
10045
  }
10046
10046
  return t === O.SVG && (e === s.FOREIGN_OBJECT || e === s.DESC || e === s.TITLE);
10047
10047
  }
10048
- function Sf(e, t, n, r) {
10048
+ function Nf(e, t, n, r) {
10049
10049
  return (!r || r === O.HTML) && xf(e, t, n) || (!r || r === O.MATHML) && If(e, t);
10050
10050
  }
10051
- const Nf = "hidden", kf = 8, Of = 3;
10051
+ const Sf = "hidden", kf = 8, Of = 3;
10052
10052
  var T;
10053
10053
  (function(e) {
10054
10054
  e[e.INITIAL = 0] = "INITIAL", e[e.BEFORE_HTML = 1] = "BEFORE_HTML", e[e.BEFORE_HEAD = 2] = "BEFORE_HEAD", e[e.IN_HEAD = 3] = "IN_HEAD", e[e.IN_HEAD_NO_SCRIPT = 4] = "IN_HEAD_NO_SCRIPT", e[e.AFTER_HEAD = 5] = "AFTER_HEAD", e[e.IN_BODY = 6] = "IN_BODY", e[e.TEXT = 7] = "TEXT", e[e.IN_TABLE = 8] = "IN_TABLE", e[e.IN_TABLE_TEXT = 9] = "IN_TABLE_TEXT", e[e.IN_CAPTION = 10] = "IN_CAPTION", e[e.IN_COLUMN_GROUP = 11] = "IN_COLUMN_GROUP", e[e.IN_TABLE_BODY = 12] = "IN_TABLE_BODY", e[e.IN_ROW = 13] = "IN_ROW", e[e.IN_CELL = 14] = "IN_CELL", e[e.IN_SELECT = 15] = "IN_SELECT", e[e.IN_SELECT_IN_TABLE = 16] = "IN_SELECT_IN_TABLE", e[e.IN_TEMPLATE = 17] = "IN_TEMPLATE", e[e.AFTER_BODY = 18] = "AFTER_BODY", e[e.IN_FRAMESET = 19] = "IN_FRAMESET", e[e.AFTER_FRAMESET = 20] = "AFTER_FRAMESET", e[e.AFTER_AFTER_BODY = 21] = "AFTER_AFTER_BODY", e[e.AFTER_AFTER_FRAMESET = 22] = "AFTER_AFTER_FRAMESET";
@@ -10324,7 +10324,7 @@ class wu {
10324
10324
  /** @protected */
10325
10325
  _isIntegrationPoint(t, n, r) {
10326
10326
  const u = this.treeAdapter.getNamespaceURI(n), a = this.treeAdapter.getAttrList(n);
10327
- return Sf(t, u, a, r);
10327
+ return Nf(t, u, a, r);
10328
10328
  }
10329
10329
  //Active formatting elements reconstruction
10330
10330
  /** @protected */
@@ -10684,7 +10684,7 @@ class wu {
10684
10684
  break;
10685
10685
  }
10686
10686
  case T.IN_HEAD: {
10687
- Se(this, t);
10687
+ Ne(this, t);
10688
10688
  break;
10689
10689
  }
10690
10690
  case T.IN_HEAD_NO_SCRIPT: {
@@ -10716,7 +10716,7 @@ class wu {
10716
10716
  break;
10717
10717
  }
10718
10718
  case T.IN_TABLE_BODY: {
10719
- Nn(this, t);
10719
+ Sn(this, t);
10720
10720
  break;
10721
10721
  }
10722
10722
  case T.IN_ROW: {
@@ -10793,7 +10793,7 @@ class wu {
10793
10793
  break;
10794
10794
  }
10795
10795
  case T.IN_BODY: {
10796
- Sn(this, t);
10796
+ Nn(this, t);
10797
10797
  break;
10798
10798
  }
10799
10799
  case T.TEXT: {
@@ -11081,7 +11081,7 @@ function Yf(e, t) {
11081
11081
  function wt(e, t) {
11082
11082
  e._insertFakeElement(_.HEAD, s.HEAD), e.headElement = e.openElements.current, e.insertionMode = T.IN_HEAD, e._processToken(t);
11083
11083
  }
11084
- function Se(e, t) {
11084
+ function Ne(e, t) {
11085
11085
  switch (t.tagID) {
11086
11086
  case s.HTML: {
11087
11087
  he(e, t);
@@ -11163,7 +11163,7 @@ function jf(e, t) {
11163
11163
  case s.META:
11164
11164
  case s.NOFRAMES:
11165
11165
  case s.STYLE: {
11166
- Se(e, t);
11166
+ Ne(e, t);
11167
11167
  break;
11168
11168
  }
11169
11169
  case s.NOSCRIPT: {
@@ -11216,7 +11216,7 @@ function Wf(e, t) {
11216
11216
  case s.STYLE:
11217
11217
  case s.TEMPLATE:
11218
11218
  case s.TITLE: {
11219
- e._err(t, C.abandonedHeadElementChild), e.openElements.push(e.headElement, s.HEAD), Se(e, t), e.openElements.remove(e.headElement);
11219
+ e._err(t, C.abandonedHeadElementChild), e.openElements.push(e.headElement, s.HEAD), Ne(e, t), e.openElements.remove(e.headElement);
11220
11220
  break;
11221
11221
  }
11222
11222
  case s.HEAD: {
@@ -11265,7 +11265,7 @@ function xn(e, t) {
11265
11265
  break;
11266
11266
  }
11267
11267
  case q.END_TAG: {
11268
- Sn(e, t);
11268
+ Nn(e, t);
11269
11269
  break;
11270
11270
  }
11271
11271
  case q.EOF: {
@@ -11345,7 +11345,7 @@ function ra(e, t) {
11345
11345
  }
11346
11346
  function ua(e) {
11347
11347
  const t = qi(e, Ze.TYPE);
11348
- return t != null && t.toLowerCase() === Nf;
11348
+ return t != null && t.toLowerCase() === Sf;
11349
11349
  }
11350
11350
  function lh(e, t) {
11351
11351
  e._reconstructActiveFormattingElements(), e._appendElement(t, O.HTML), ua(t) || (e.framesetOk = !1), t.ackSelfClosing = !0;
@@ -11505,7 +11505,7 @@ function he(e, t) {
11505
11505
  case s.BGSOUND:
11506
11506
  case s.BASEFONT:
11507
11507
  case s.TEMPLATE: {
11508
- Se(e, t);
11508
+ Ne(e, t);
11509
11509
  break;
11510
11510
  }
11511
11511
  case s.BODY: {
@@ -11615,11 +11615,11 @@ function xh(e, t) {
11615
11615
  const n = t.tagID;
11616
11616
  e.openElements.hasInScope(n) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(n));
11617
11617
  }
11618
- function Sh(e) {
11618
+ function Nh(e) {
11619
11619
  const t = e.openElements.tmplCount > 0, { formElement: n } = e;
11620
11620
  t || (e.formElement = null), (n || t) && e.openElements.hasInScope(s.FORM) && (e.openElements.generateImpliedEndTags(), t ? e.openElements.popUntilTagNamePopped(s.FORM) : n && e.openElements.remove(n));
11621
11621
  }
11622
- function Nh(e) {
11622
+ function Sh(e) {
11623
11623
  e.openElements.hasInButtonScope(s.P) || e._insertFakeElement(_.P, s.P), e._closePElement();
11624
11624
  }
11625
11625
  function kh(e) {
@@ -11651,7 +11651,7 @@ function ia(e, t) {
11651
11651
  break;
11652
11652
  }
11653
11653
  }
11654
- function Sn(e, t) {
11654
+ function Nn(e, t) {
11655
11655
  switch (t.tagID) {
11656
11656
  case s.A:
11657
11657
  case s.B:
@@ -11671,7 +11671,7 @@ function Sn(e, t) {
11671
11671
  break;
11672
11672
  }
11673
11673
  case s.P: {
11674
- Nh(e);
11674
+ Sh(e);
11675
11675
  break;
11676
11676
  }
11677
11677
  case s.DL:
@@ -11735,7 +11735,7 @@ function Sn(e, t) {
11735
11735
  break;
11736
11736
  }
11737
11737
  case s.FORM: {
11738
- Sh(e);
11738
+ Nh(e);
11739
11739
  break;
11740
11740
  }
11741
11741
  case s.APPLET:
@@ -11790,7 +11790,7 @@ function Fh(e, t) {
11790
11790
  e.openElements.clearBackToTableContext(), e._insertElement(t, O.HTML), e.insertionMode = T.IN_TABLE_BODY;
11791
11791
  }
11792
11792
  function Hh(e, t) {
11793
- e.openElements.clearBackToTableContext(), e._insertFakeElement(_.TBODY, s.TBODY), e.insertionMode = T.IN_TABLE_BODY, Nn(e, t);
11793
+ e.openElements.clearBackToTableContext(), e._insertFakeElement(_.TBODY, s.TBODY), e.insertionMode = T.IN_TABLE_BODY, Sn(e, t);
11794
11794
  }
11795
11795
  function Uh(e, t) {
11796
11796
  e.openElements.hasInTableScope(s.TABLE) && (e.openElements.popUntilTagNamePopped(s.TABLE), e._resetInsertionMode(), e._processStartTag(t));
@@ -11812,7 +11812,7 @@ function pt(e, t) {
11812
11812
  case s.STYLE:
11813
11813
  case s.SCRIPT:
11814
11814
  case s.TEMPLATE: {
11815
- Se(e, t);
11815
+ Ne(e, t);
11816
11816
  break;
11817
11817
  }
11818
11818
  case s.COL: {
@@ -11920,7 +11920,7 @@ function qh(e, t) {
11920
11920
  case s.TR:
11921
11921
  break;
11922
11922
  default:
11923
- Sn(e, t);
11923
+ Nn(e, t);
11924
11924
  }
11925
11925
  }
11926
11926
  function Lr(e, t) {
@@ -11934,7 +11934,7 @@ function Lr(e, t) {
11934
11934
  break;
11935
11935
  }
11936
11936
  case s.TEMPLATE: {
11937
- Se(e, t);
11937
+ Ne(e, t);
11938
11938
  break;
11939
11939
  }
11940
11940
  default:
@@ -11960,7 +11960,7 @@ function jh(e, t) {
11960
11960
  function mn(e, t) {
11961
11961
  e.openElements.currentTagId === s.COLGROUP && (e.openElements.pop(), e.insertionMode = T.IN_TABLE, e._processToken(t));
11962
11962
  }
11963
- function Nn(e, t) {
11963
+ function Sn(e, t) {
11964
11964
  switch (t.tagID) {
11965
11965
  case s.TR: {
11966
11966
  e.openElements.clearBackToTableBodyContext(), e._insertElement(t, O.HTML), e.insertionMode = T.IN_ROW;
@@ -12024,7 +12024,7 @@ function kn(e, t) {
12024
12024
  case s.TFOOT:
12025
12025
  case s.THEAD:
12026
12026
  case s.TR: {
12027
- e.openElements.hasInTableScope(s.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE_BODY, Nn(e, t));
12027
+ e.openElements.hasInTableScope(s.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = T.IN_TABLE_BODY, Sn(e, t));
12028
12028
  break;
12029
12029
  }
12030
12030
  default:
@@ -12086,7 +12086,7 @@ function Wh(e, t) {
12086
12086
  case s.HTML:
12087
12087
  break;
12088
12088
  default:
12089
- Sn(e, t);
12089
+ Nn(e, t);
12090
12090
  }
12091
12091
  }
12092
12092
  function fa(e, t) {
@@ -12116,7 +12116,7 @@ function fa(e, t) {
12116
12116
  }
12117
12117
  case s.SCRIPT:
12118
12118
  case s.TEMPLATE: {
12119
- Se(e, t);
12119
+ Ne(e, t);
12120
12120
  break;
12121
12121
  }
12122
12122
  }
@@ -12162,7 +12162,7 @@ function Xh(e, t) {
12162
12162
  case s.STYLE:
12163
12163
  case s.TEMPLATE:
12164
12164
  case s.TITLE: {
12165
- Se(e, t);
12165
+ Ne(e, t);
12166
12166
  break;
12167
12167
  }
12168
12168
  // Re-process the token in the appropriate mode
@@ -12179,7 +12179,7 @@ function Xh(e, t) {
12179
12179
  break;
12180
12180
  }
12181
12181
  case s.TR: {
12182
- e.tmplInsertionModeStack[0] = T.IN_TABLE_BODY, e.insertionMode = T.IN_TABLE_BODY, Nn(e, t);
12182
+ e.tmplInsertionModeStack[0] = T.IN_TABLE_BODY, e.insertionMode = T.IN_TABLE_BODY, Sn(e, t);
12183
12183
  break;
12184
12184
  }
12185
12185
  case s.TD:
@@ -12229,7 +12229,7 @@ function Jh(e, t) {
12229
12229
  break;
12230
12230
  }
12231
12231
  case s.NOFRAMES: {
12232
- Se(e, t);
12232
+ Ne(e, t);
12233
12233
  break;
12234
12234
  }
12235
12235
  }
@@ -12244,7 +12244,7 @@ function ed(e, t) {
12244
12244
  break;
12245
12245
  }
12246
12246
  case s.NOFRAMES: {
12247
- Se(e, t);
12247
+ Ne(e, t);
12248
12248
  break;
12249
12249
  }
12250
12250
  }
@@ -12265,7 +12265,7 @@ function rd(e, t) {
12265
12265
  break;
12266
12266
  }
12267
12267
  case s.NOFRAMES: {
12268
- Se(e, t);
12268
+ Ne(e, t);
12269
12269
  break;
12270
12270
  }
12271
12271
  }
@@ -12443,7 +12443,7 @@ function Td(e, t) {
12443
12443
  const r = t.parser.openElements.current;
12444
12444
  let u = "namespaceURI" in r ? r.namespaceURI : $e.html;
12445
12445
  u === $e.html && n === "svg" && (u = $e.svg);
12446
- const a = S0(
12446
+ const a = N0(
12447
12447
  // Shallow clone to not delve into `children`: we only need the attributes.
12448
12448
  { ...e, children: [] },
12449
12449
  { space: u === $e.svg ? "svg" : "html" }
@@ -12566,20 +12566,20 @@ function Id(e) {
12566
12566
  let r = -1;
12567
12567
  for (; ++r < n.length; ) {
12568
12568
  const u = n[r];
12569
- t.push([xd(u[0]), Sd(u[1])]);
12569
+ t.push([xd(u[0]), Nd(u[1])]);
12570
12570
  }
12571
12571
  return t;
12572
12572
  }
12573
12573
  function xd(e) {
12574
12574
  return typeof e == "string" ? new RegExp(Ps(e), "g") : e;
12575
12575
  }
12576
- function Sd(e) {
12576
+ function Nd(e) {
12577
12577
  return typeof e == "function" ? e : function() {
12578
12578
  return e;
12579
12579
  };
12580
12580
  }
12581
12581
  const Vn = "phrasing", Wn = ["autolink", "link", "image", "label"];
12582
- function Nd() {
12582
+ function Sd() {
12583
12583
  return {
12584
12584
  transforms: [Pd],
12585
12585
  enter: {
@@ -12845,7 +12845,7 @@ function rm(e, t) {
12845
12845
  const n = t || {}, r = (n.align || []).concat(), u = n.stringLength || nm, a = [], i = [], o = [], l = [];
12846
12846
  let c = 0, h = -1;
12847
12847
  for (; ++h < e.length; ) {
12848
- const S = [], L = [];
12848
+ const N = [], L = [];
12849
12849
  let x = -1;
12850
12850
  for (e[h].length > c && (c = e[h].length); ++x < e[h].length; ) {
12851
12851
  const w = um(e[h][x]);
@@ -12853,25 +12853,25 @@ function rm(e, t) {
12853
12853
  const R = u(w);
12854
12854
  L[x] = R, (l[x] === void 0 || R > l[x]) && (l[x] = R);
12855
12855
  }
12856
- S.push(w);
12856
+ N.push(w);
12857
12857
  }
12858
- i[h] = S, o[h] = L;
12858
+ i[h] = N, o[h] = L;
12859
12859
  }
12860
12860
  let f = -1;
12861
12861
  if (typeof r == "object" && "length" in r)
12862
12862
  for (; ++f < c; )
12863
12863
  a[f] = Hu(r[f]);
12864
12864
  else {
12865
- const S = Hu(r);
12865
+ const N = Hu(r);
12866
12866
  for (; ++f < c; )
12867
- a[f] = S;
12867
+ a[f] = N;
12868
12868
  }
12869
12869
  f = -1;
12870
12870
  const p = [], m = [];
12871
12871
  for (; ++f < c; ) {
12872
- const S = a[f];
12872
+ const N = a[f];
12873
12873
  let L = "", x = "";
12874
- S === 99 ? (L = ":", x = ":") : S === 108 ? L = ":" : S === 114 && (x = ":");
12874
+ N === 99 ? (L = ":", x = ":") : N === 108 ? L = ":" : N === 114 && (x = ":");
12875
12875
  let w = n.alignDelimiters === !1 ? 1 : Math.max(
12876
12876
  1,
12877
12877
  l[f] - L.length - x.length
@@ -12882,11 +12882,11 @@ function rm(e, t) {
12882
12882
  i.splice(1, 0, p), o.splice(1, 0, m), h = -1;
12883
12883
  const A = [];
12884
12884
  for (; ++h < i.length; ) {
12885
- const S = i[h], L = o[h];
12885
+ const N = i[h], L = o[h];
12886
12886
  f = -1;
12887
12887
  const x = [];
12888
12888
  for (; ++f < c; ) {
12889
- const w = S[f] || "";
12889
+ const w = N[f] || "";
12890
12890
  let R = "", z = "";
12891
12891
  if (n.alignDelimiters !== !1) {
12892
12892
  const Y = l[f] - (L[f] || 0), k = a[f];
@@ -13149,15 +13149,15 @@ function Tm(e, t, n, r) {
13149
13149
  });
13150
13150
  return /^[\t ]/.test(c) && (c = vt(c.charCodeAt(0)) + c.slice(1)), c = c ? i + " " + c : i, n.options.closeAtx && (c += " " + i), l(), o(), c;
13151
13151
  }
13152
- Sa.peek = bm;
13153
- function Sa(e) {
13152
+ Na.peek = bm;
13153
+ function Na(e) {
13154
13154
  return e.value || "";
13155
13155
  }
13156
13156
  function bm() {
13157
13157
  return "<";
13158
13158
  }
13159
- Na.peek = gm;
13160
- function Na(e, t, n, r) {
13159
+ Sa.peek = gm;
13160
+ function Sa(e, t, n, r) {
13161
13161
  const u = Rr(n), a = u === '"' ? "Quote" : "Apostrophe", i = n.enter("image");
13162
13162
  let o = n.enter("label");
13163
13163
  const l = n.createTracker(r);
@@ -13330,7 +13330,7 @@ function xm(e) {
13330
13330
  );
13331
13331
  return n;
13332
13332
  }
13333
- function Sm(e) {
13333
+ function Nm(e) {
13334
13334
  const t = e.options.bulletOrdered || ".";
13335
13335
  if (t !== "." && t !== ")")
13336
13336
  throw new Error(
@@ -13346,9 +13346,9 @@ function Da(e) {
13346
13346
  );
13347
13347
  return t;
13348
13348
  }
13349
- function Nm(e, t, n, r) {
13349
+ function Sm(e, t, n, r) {
13350
13350
  const u = n.enter("list"), a = n.bulletCurrent;
13351
- let i = e.ordered ? Sm(n) : Dr(n);
13351
+ let i = e.ordered ? Nm(n) : Dr(n);
13352
13352
  const o = e.ordered ? i === "." ? ")" : "." : xm(n);
13353
13353
  let l = t && n.bulletLastUsed ? i === n.bulletLastUsed : !1;
13354
13354
  if (!e.ordered) {
@@ -13492,13 +13492,13 @@ const wa = {
13492
13492
  emphasis: xa,
13493
13493
  hardBreak: vu,
13494
13494
  heading: Tm,
13495
- html: Sa,
13496
- image: Na,
13495
+ html: Na,
13496
+ image: Sa,
13497
13497
  imageReference: ka,
13498
13498
  inlineCode: Oa,
13499
13499
  link: La,
13500
13500
  linkReference: Ra,
13501
- list: Nm,
13501
+ list: Sm,
13502
13502
  listItem: Om,
13503
13503
  paragraph: ym,
13504
13504
  root: Rm,
@@ -13586,16 +13586,16 @@ function qm(e) {
13586
13586
  tableRow: o
13587
13587
  }
13588
13588
  };
13589
- function i(m, A, S, L) {
13590
- return c(h(m, S, L), m.align);
13589
+ function i(m, A, N, L) {
13590
+ return c(h(m, N, L), m.align);
13591
13591
  }
13592
- function o(m, A, S, L) {
13593
- const x = f(m, S, L), w = c([x]);
13592
+ function o(m, A, N, L) {
13593
+ const x = f(m, N, L), w = c([x]);
13594
13594
  return w.slice(0, w.indexOf(`
13595
13595
  `));
13596
13596
  }
13597
- function l(m, A, S, L) {
13598
- const x = S.enter("tableCell"), w = S.enter("phrasing"), R = S.containerPhrasing(m, {
13597
+ function l(m, A, N, L) {
13598
+ const x = N.enter("tableCell"), w = N.enter("phrasing"), R = N.containerPhrasing(m, {
13599
13599
  ...L,
13600
13600
  before: a,
13601
13601
  after: a
@@ -13613,25 +13613,25 @@ function qm(e) {
13613
13613
  stringLength: u
13614
13614
  });
13615
13615
  }
13616
- function h(m, A, S) {
13616
+ function h(m, A, N) {
13617
13617
  const L = m.children;
13618
13618
  let x = -1;
13619
13619
  const w = [], R = A.enter("table");
13620
13620
  for (; ++x < L.length; )
13621
- w[x] = f(L[x], A, S);
13621
+ w[x] = f(L[x], A, N);
13622
13622
  return R(), w;
13623
13623
  }
13624
- function f(m, A, S) {
13624
+ function f(m, A, N) {
13625
13625
  const L = m.children;
13626
13626
  let x = -1;
13627
13627
  const w = [], R = A.enter("tableRow");
13628
13628
  for (; ++x < L.length; )
13629
- w[x] = l(L[x], m, A, S);
13629
+ w[x] = l(L[x], m, A, N);
13630
13630
  return R(), w;
13631
13631
  }
13632
- function p(m, A, S) {
13633
- let L = wa.inlineCode(m, A, S);
13634
- return S.stack.includes("tableCell") && (L = L.replace(/\|/g, "\\$&")), L;
13632
+ function p(m, A, N) {
13633
+ let L = wa.inlineCode(m, A, N);
13634
+ return N.stack.includes("tableCell") && (L = L.replace(/\|/g, "\\$&")), L;
13635
13635
  }
13636
13636
  }
13637
13637
  function jm() {
@@ -13688,7 +13688,7 @@ function Qm(e, t, n, r) {
13688
13688
  }
13689
13689
  function Gm() {
13690
13690
  return [
13691
- Nd(),
13691
+ Sd(),
13692
13692
  Qd(),
13693
13693
  $d(),
13694
13694
  Fm(),
@@ -14114,8 +14114,8 @@ function b1(e, t, n) {
14114
14114
  return n(A);
14115
14115
  if (A === 93) {
14116
14116
  e.exit("chunkString");
14117
- const S = e.exit("gfmFootnoteDefinitionLabelString");
14118
- return a = Wt(r.sliceSerialize(S)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(A), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
14117
+ const N = e.exit("gfmFootnoteDefinitionLabelString");
14118
+ return a = Wt(r.sliceSerialize(N)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(A), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
14119
14119
  }
14120
14120
  return J(A) || (o = !0), i++, e.consume(A), A === 92 ? f : h;
14121
14121
  }
@@ -14195,12 +14195,12 @@ function C1(e) {
14195
14195
  return c === 126 && h[h.length - 1][1].type !== "characterEscape" ? l(A) : (i.enter("strikethroughSequenceTemporary"), m(A));
14196
14196
  }
14197
14197
  function m(A) {
14198
- const S = mt(c);
14198
+ const N = mt(c);
14199
14199
  if (A === 126)
14200
14200
  return f > 1 ? l(A) : (i.consume(A), f++, m);
14201
14201
  if (f < 2 && !n) return l(A);
14202
14202
  const L = i.exit("strikethroughSequenceTemporary"), x = mt(A);
14203
- return L._open = !x || x === 2 && !!S, L._close = !S || S === 2 && !!x, o(A);
14203
+ return L._open = !x || x === 2 && !!N, L._close = !N || N === 2 && !!x, o(A);
14204
14204
  }
14205
14205
  }
14206
14206
  }
@@ -14272,7 +14272,7 @@ function x1(e, t, n, r) {
14272
14272
  e.map.push([t, n, r]);
14273
14273
  }
14274
14274
  }
14275
- function S1(e, t) {
14275
+ function N1(e, t) {
14276
14276
  let n = !1;
14277
14277
  const r = [];
14278
14278
  for (; t < e.length; ) {
@@ -14292,7 +14292,7 @@ function S1(e, t) {
14292
14292
  }
14293
14293
  return r;
14294
14294
  }
14295
- function N1() {
14295
+ function S1() {
14296
14296
  return {
14297
14297
  flow: {
14298
14298
  null: {
@@ -14337,9 +14337,9 @@ function k1(e, t, n) {
14337
14337
  return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(I) : (e.enter("tableDelimiterRow"), i = !1, j(I) ? W(e, A, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(I) : A(I));
14338
14338
  }
14339
14339
  function A(I) {
14340
- return I === 45 || I === 58 ? L(I) : I === 124 ? (i = !0, e.enter("tableCellDivider"), e.consume(I), e.exit("tableCellDivider"), S) : Y(I);
14340
+ return I === 45 || I === 58 ? L(I) : I === 124 ? (i = !0, e.enter("tableCellDivider"), e.consume(I), e.exit("tableCellDivider"), N) : Y(I);
14341
14341
  }
14342
- function S(I) {
14342
+ function N(I) {
14343
14343
  return j(I) ? W(e, L, "whitespace")(I) : L(I);
14344
14344
  }
14345
14345
  function L(I) {
@@ -14392,7 +14392,7 @@ function O1(e, t) {
14392
14392
  }
14393
14393
  for (l !== 0 && ju(p, t, l, c, h), p.consume(t.events), n = -1; ++n < t.events.length; ) {
14394
14394
  const m = t.events[n];
14395
- m[0] === "enter" && m[1].type === "table" && (m[1]._align = S1(t.events, n));
14395
+ m[0] === "enter" && m[1].type === "table" && (m[1]._align = N1(t.events, n));
14396
14396
  }
14397
14397
  return e;
14398
14398
  }
@@ -14414,8 +14414,8 @@ function Jt(e, t, n, r, u, a) {
14414
14414
  if (e.add(n[2], 0, [["enter", f, t]]), r !== 2) {
14415
14415
  const p = t.events[n[2]], m = t.events[n[3]];
14416
14416
  if (p[1].end = Object.assign({}, m[1].end), p[1].type = "chunkText", p[1].contentType = "text", n[3] > n[2] + 1) {
14417
- const A = n[2] + 1, S = n[3] - n[2] - 1;
14418
- e.add(A, S, []);
14417
+ const A = n[2] + 1, N = n[3] - n[2] - 1;
14418
+ e.add(A, N, []);
14419
14419
  }
14420
14420
  }
14421
14421
  e.add(n[3] + 1, 0, [["exit", f, t]]);
@@ -14475,7 +14475,7 @@ function P1(e) {
14475
14475
  t1(),
14476
14476
  m1(),
14477
14477
  C1(e),
14478
- N1(),
14478
+ S1(),
14479
14479
  L1()
14480
14480
  ]);
14481
14481
  }
@@ -14501,7 +14501,7 @@ const B1 = ({
14501
14501
  return e ? /* @__PURE__ */ P.jsxs(
14502
14502
  "div",
14503
14503
  {
14504
- className: ce(
14504
+ className: le(
14505
14505
  "code-block-wrapper relative group bg-muted/50 rounded-md",
14506
14506
  i && "line-numbers"
14507
14507
  ),
@@ -14510,7 +14510,7 @@ const B1 = ({
14510
14510
  /* @__PURE__ */ P.jsx(
14511
14511
  "div",
14512
14512
  {
14513
- className: ce(
14513
+ className: le(
14514
14514
  "code-block text-sm not-prose scrollbar overflow-x-auto scrollbar p-4",
14515
14515
  o.className
14516
14516
  ),
@@ -14521,7 +14521,7 @@ const B1 = ({
14521
14521
  a && /* @__PURE__ */ P.jsx(
14522
14522
  "span",
14523
14523
  {
14524
- className: ce(
14524
+ className: le(
14525
14525
  "absolute top-1.5 end-3 !text-[11px] font-mono text-muted-foreground transition group-hover:opacity-0",
14526
14526
  t && "top-12",
14527
14527
  r === "always" && "hidden"
@@ -14535,7 +14535,7 @@ const B1 = ({
14535
14535
  type: "button",
14536
14536
  "aria-label": "Copy code",
14537
14537
  title: "Copy code",
14538
- className: ce(
14538
+ className: le(
14539
14539
  "absolute top-2 end-2 p-2 hover:outline hover:outline-border/75 dark:hover:outline-border rounded-md text-sm text-muted-foreground transition",
14540
14540
  t && "top-10",
14541
14541
  r === "hover" && "opacity-0 group-hover:opacity-100",
@@ -14628,14 +14628,14 @@ const B1 = ({
14628
14628
  Et.Arrow,
14629
14629
  {
14630
14630
  ...e,
14631
- className: ce(e.className, "fill-border")
14631
+ className: le(e.className, "fill-border")
14632
14632
  }
14633
14633
  ), ja = us.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ P.jsx(
14634
14634
  Et.Content,
14635
14635
  {
14636
14636
  ref: r,
14637
14637
  sideOffset: t,
14638
- className: ce(
14638
+ className: le(
14639
14639
  "z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
14640
14640
  e
14641
14641
  ),
@@ -14669,7 +14669,7 @@ const Y1 = {
14669
14669
  }) => /* @__PURE__ */ P.jsx(
14670
14670
  "span",
14671
14671
  {
14672
- className: ce(
14672
+ className: le(
14673
14673
  "flex items-center duration-200 transition-opacity text-center uppercase text-[0.65rem] leading-5 font-bold rounded-sm text-background dark:text-zinc-50 h-full",
14674
14674
  e === "outline" ? "px-3" : "mt-0.5 px-1",
14675
14675
  r ? q1[e] : Y1[e],
@@ -14811,35 +14811,35 @@ function Va(e, t, n, r) {
14811
14811
  var sp = "[object Arguments]", op = "[object Boolean]", lp = "[object Date]", cp = "[object Error]", fp = "[object Map]", hp = "[object Number]", dp = "[object Object]", mp = "[object RegExp]", pp = "[object Set]", Ep = "[object String]", Tp = "[object URL]", bp = Array.isArray, Ju = typeof ArrayBuffer == "function" && ArrayBuffer.isView ? ArrayBuffer.isView : null, Zu = Object.assign, gp = Object.prototype.toString.call.bind(Object.prototype.toString);
14812
14812
  function Ap(e) {
14813
14813
  var t = e.areArraysEqual, n = e.areDatesEqual, r = e.areErrorsEqual, u = e.areFunctionsEqual, a = e.areMapsEqual, i = e.areNumbersEqual, o = e.areObjectsEqual, l = e.arePrimitiveWrappersEqual, c = e.areRegExpsEqual, h = e.areSetsEqual, f = e.areTypedArraysEqual, p = e.areUrlsEqual;
14814
- return function(A, S, L) {
14815
- if (A === S)
14814
+ return function(A, N, L) {
14815
+ if (A === N)
14816
14816
  return !0;
14817
- if (A == null || S == null)
14817
+ if (A == null || N == null)
14818
14818
  return !1;
14819
14819
  var x = typeof A;
14820
- if (x !== typeof S)
14820
+ if (x !== typeof N)
14821
14821
  return !1;
14822
14822
  if (x !== "object")
14823
- return x === "number" ? i(A, S, L) : x === "function" ? u(A, S, L) : !1;
14823
+ return x === "number" ? i(A, N, L) : x === "function" ? u(A, N, L) : !1;
14824
14824
  var w = A.constructor;
14825
- if (w !== S.constructor)
14825
+ if (w !== N.constructor)
14826
14826
  return !1;
14827
14827
  if (w === Object)
14828
- return o(A, S, L);
14828
+ return o(A, N, L);
14829
14829
  if (bp(A))
14830
- return t(A, S, L);
14830
+ return t(A, N, L);
14831
14831
  if (Ju != null && Ju(A))
14832
- return f(A, S, L);
14832
+ return f(A, N, L);
14833
14833
  if (w === Date)
14834
- return n(A, S, L);
14834
+ return n(A, N, L);
14835
14835
  if (w === RegExp)
14836
- return c(A, S, L);
14836
+ return c(A, N, L);
14837
14837
  if (w === Map)
14838
- return a(A, S, L);
14838
+ return a(A, N, L);
14839
14839
  if (w === Set)
14840
- return h(A, S, L);
14840
+ return h(A, N, L);
14841
14841
  var R = gp(A);
14842
- return R === lp ? n(A, S, L) : R === mp ? c(A, S, L) : R === fp ? a(A, S, L) : R === pp ? h(A, S, L) : R === dp ? typeof A.then != "function" && typeof S.then != "function" && o(A, S, L) : R === Tp ? p(A, S, L) : R === cp ? r(A, S, L) : R === sp ? o(A, S, L) : R === op || R === hp || R === Ep ? l(A, S, L) : !1;
14842
+ return R === lp ? n(A, N, L) : R === mp ? c(A, N, L) : R === fp ? a(A, N, L) : R === pp ? h(A, N, L) : R === dp ? typeof A.then != "function" && typeof N.then != "function" && o(A, N, L) : R === Tp ? p(A, N, L) : R === cp ? r(A, N, L) : R === sp ? o(A, N, L) : R === op || R === hp || R === Ep ? l(A, N, L) : !1;
14843
14843
  };
14844
14844
  }
14845
14845
  function _p(e) {
@@ -14940,19 +14940,19 @@ function Ve(e) {
14940
14940
  var t = e.circular, n = t === void 0 ? !1 : t, r = e.createInternalComparator, u = e.createState, a = e.strict, i = a === void 0 ? !1 : a, o = _p(e), l = Ap(o), c = r ? r(l) : Cp(l);
14941
14941
  return Ip({ circular: n, comparator: l, createState: u, equals: c, strict: i });
14942
14942
  }
14943
- const Sp = ({
14943
+ const Np = ({
14944
14944
  category: e,
14945
14945
  onRequestClose: t
14946
14946
  }) => {
14947
- const n = Ss(e), [r, u] = et(!1), a = bn(), i = e.collapsible ?? !0, o = e.collapsed ?? !0, l = !!(!i || !o || n), [c, h] = et(l), f = Is(e.link?.id ?? "");
14947
+ const n = Ns(e), [r, u] = et(!1), a = bn(), i = e.collapsible ?? !0, o = e.collapsed ?? !0, l = !!(!i || !o || n), [c, h] = et(l), f = Is(e.link?.id ?? "");
14948
14948
  Ye(() => {
14949
14949
  n && h(!0);
14950
14950
  }, [n]);
14951
14951
  const p = i && /* @__PURE__ */ P.jsx(
14952
14952
  ks,
14953
14953
  {
14954
- onClick: (S) => {
14955
- S.preventDefault(), h((L) => !L), u(!0);
14954
+ onClick: (N) => {
14955
+ N.preventDefault(), h((L) => !L), u(!0);
14956
14956
  },
14957
14957
  variant: "ghost",
14958
14958
  size: "icon",
@@ -14961,7 +14961,7 @@ const Sp = ({
14961
14961
  As,
14962
14962
  {
14963
14963
  size: 16,
14964
- className: ce(
14964
+ className: le(
14965
14965
  r && "transition",
14966
14966
  "shrink-0 group-data-[state=open]:rotate-90 rtl:rotate-180"
14967
14967
  )
@@ -14972,7 +14972,7 @@ const Sp = ({
14972
14972
  e.icon,
14973
14973
  {
14974
14974
  size: 16,
14975
- className: ce("align-[-0.125em] ", f && "text-primary")
14975
+ className: le("align-[-0.125em] ", f && "text-primary")
14976
14976
  }
14977
14977
  ), A = tn({
14978
14978
  className: [
@@ -15017,26 +15017,26 @@ const Sp = ({
15017
15017
  /* @__PURE__ */ P.jsx(
15018
15018
  yn.Content,
15019
15019
  {
15020
- className: ce(
15020
+ className: le(
15021
15021
  // CollapsibleContent class is used to animate and it should only be applied when the user has triggered the toggle
15022
15022
  r && "CollapsibleContent",
15023
15023
  e.items.length === 0 && "hidden",
15024
15024
  "ms-6 my-1"
15025
15025
  ),
15026
- children: /* @__PURE__ */ P.jsx("ul", { className: "relative after:absolute after:-start-(--padding-nav-item) after:translate-x-[1.5px] after:top-0 after:bottom-0 after:w-px after:bg-border", children: e.items.map((S) => /* @__PURE__ */ P.jsx(
15027
- Np,
15026
+ children: /* @__PURE__ */ P.jsx("ul", { className: "relative after:absolute after:-start-(--padding-nav-item) after:translate-x-[1.5px] after:top-0 after:bottom-0 after:w-px after:bg-border", children: e.items.map((N) => /* @__PURE__ */ P.jsx(
15027
+ Sp,
15028
15028
  {
15029
15029
  onRequestClose: t,
15030
- item: S
15030
+ item: N
15031
15031
  },
15032
- ("id" in S ? S.id : "") + ("href" in S ? S.href : "") + S.label
15032
+ ("id" in N ? N.id : "") + ("href" in N ? N.href : "") + N.label
15033
15033
  )) })
15034
15034
  }
15035
15035
  )
15036
15036
  ]
15037
15037
  }
15038
15038
  );
15039
- }, Wa = ni(Sp, xp);
15039
+ }, Wa = ni(Np, xp);
15040
15040
  Wa.displayName = "SidebarCategory";
15041
15041
  const ei = ({
15042
15042
  label: e,
@@ -15049,7 +15049,7 @@ const ei = ({
15049
15049
  /* @__PURE__ */ P.jsx(
15050
15050
  "span",
15051
15051
  {
15052
- className: ce("truncate flex-1", t),
15052
+ className: le("truncate flex-1", t),
15053
15053
  title: e,
15054
15054
  ref: n,
15055
15055
  children: e
@@ -15071,7 +15071,7 @@ const ei = ({
15071
15071
  )
15072
15072
  ] }) })
15073
15073
  ] });
15074
- }, Qa = "data-anchor", Np = ({
15074
+ }, Qa = "data-anchor", Sp = ({
15075
15075
  item: e,
15076
15076
  onRequestClose: t
15077
15077
  }) => {
@@ -15106,11 +15106,12 @@ const ei = ({
15106
15106
  rel: "noopener noreferrer",
15107
15107
  onClick: t,
15108
15108
  children: [
15109
+ e.icon && /* @__PURE__ */ P.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
15109
15110
  /* @__PURE__ */ P.jsx("span", { className: "whitespace-normal", children: e.label }),
15110
15111
  /* @__PURE__ */ P.jsx("span", { className: "whitespace-nowrap", children: /* @__PURE__ */ P.jsx(_s, { className: "inline -translate-y-0.5", size: 12 }) })
15111
15112
  ]
15112
15113
  }
15113
- ) : /* @__PURE__ */ P.jsx(
15114
+ ) : /* @__PURE__ */ P.jsxs(
15114
15115
  Xa,
15115
15116
  {
15116
15117
  to: {
@@ -15120,14 +15121,16 @@ const ei = ({
15120
15121
  },
15121
15122
  [Qa]: e.href.split("#")[1],
15122
15123
  className: tn({
15123
- isActive: e.href === [n.pathname, r].join("#"),
15124
- className: e.badge?.placement !== "start" && "justify-between"
15124
+ isActive: e.href === [n.pathname, r].join("#")
15125
15125
  }),
15126
15126
  onClick: t,
15127
- children: e.badge ? /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
15128
- /* @__PURE__ */ P.jsx(ei, { label: e.label }),
15129
- /* @__PURE__ */ P.jsx(Vu, { ...e.badge })
15130
- ] }) : /* @__PURE__ */ P.jsx("span", { className: "break-all", children: e.label })
15127
+ children: [
15128
+ e.icon && /* @__PURE__ */ P.jsx(e.icon, { size: 16, className: "align-[-0.125em]" }),
15129
+ e.badge ? /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
15130
+ /* @__PURE__ */ P.jsx(ei, { label: e.label }),
15131
+ /* @__PURE__ */ P.jsx(Vu, { ...e.badge })
15132
+ ] }) : /* @__PURE__ */ P.jsx("span", { className: "break-all", children: e.label })
15133
+ ]
15131
15134
  }
15132
15135
  );
15133
15136
  }
@@ -15208,7 +15211,7 @@ const ei = ({
15208
15211
  a,
15209
15212
  {
15210
15213
  className: Op({
15211
- className: ce(r, "flex items-center gap-[0.33em]"),
15214
+ className: le(r, "flex items-center gap-[0.33em]"),
15212
15215
  level: e
15213
15216
  }),
15214
15217
  ref: u ? i : void 0,
@@ -15257,14 +15260,14 @@ const ei = ({
15257
15260
  }) => /* @__PURE__ */ P.jsx(Lp, { asChild: !0, enabled: n, onClick: r, children: /* @__PURE__ */ P.jsx(
15258
15261
  "code",
15259
15262
  {
15260
- className: ce(
15263
+ className: le(
15261
15264
  "font-mono border p-1 py-0.5 rounded-sm bg-border/50 dark:bg-border/70 [overflow-wrap:anywhere]",
15262
15265
  e
15263
15266
  ),
15264
15267
  children: t
15265
15268
  }
15266
15269
  ) }), Dp = {
15267
- img: ({ node: e, ...t }) => /\.(mp4|webm|mov|avi)$/.test(t.src ?? "") ? /* @__PURE__ */ P.jsx("video", { src: t.src, controls: !0, playsInline: !0, autoPlay: !0, loop: !0 }) : /* @__PURE__ */ P.jsx("img", { ...t, className: "rounded-md" }),
15270
+ img: ({ node: e, ...t }) => /\.(mp4|webm|mov|avi)$/.test(t.src ?? "") ? /* @__PURE__ */ P.jsx("video", { src: t.src, controls: !0, playsInline: !0, autoPlay: !0, loop: !0 }) : /* @__PURE__ */ P.jsx("img", { ...t, className: le("rounded-md", t.className) }),
15268
15271
  h1: ({ children: e, id: t }) => /* @__PURE__ */ P.jsx(lt, { level: 1, id: t, children: e }),
15269
15272
  h2: ({ children: e, id: t }) => /* @__PURE__ */ P.jsx(lt, { level: 2, id: t, children: e }),
15270
15273
  h3: ({ children: e, id: t }) => /* @__PURE__ */ P.jsx(lt, { level: 3, id: t, children: e }),
@@ -15282,7 +15285,7 @@ const ei = ({
15282
15285
  caution: (e) => /* @__PURE__ */ P.jsx(Xe, { type: "caution", ...e }),
15283
15286
  warning: (e) => /* @__PURE__ */ P.jsx(Xe, { type: "caution", ...e }),
15284
15287
  danger: (e) => /* @__PURE__ */ P.jsx(Xe, { type: "danger", ...e }),
15285
- pre: (e) => /* @__PURE__ */ P.jsx("pre", { className: ce("not-prose my-4", e.className), ...e }),
15288
+ pre: (e) => /* @__PURE__ */ P.jsx("pre", { className: le("not-prose my-4", e.className), ...e }),
15286
15289
  code: ({
15287
15290
  className: e,
15288
15291
  node: t,
@@ -15293,14 +15296,14 @@ const ei = ({
15293
15296
  ...i
15294
15297
  }) => {
15295
15298
  const o = e?.match(/language?-(\w+)/);
15296
- return u === "true" || u === !0 ? /* @__PURE__ */ P.jsx(Rp, { className: ce(e, "inline"), children: n }) : /* @__PURE__ */ P.jsx(
15299
+ return u === "true" || u === !0 ? /* @__PURE__ */ P.jsx(Rp, { className: le(e, "inline"), children: n }) : /* @__PURE__ */ P.jsx(
15297
15300
  B1,
15298
15301
  {
15299
15302
  language: o?.[1],
15300
15303
  showLanguageIndicator: !0,
15301
15304
  showLineNumbers: a,
15302
15305
  title: r,
15303
- children: /* @__PURE__ */ P.jsx("code", { className: ce(e, "not-inline"), ...i, children: n })
15306
+ children: /* @__PURE__ */ P.jsx("code", { className: le(e, "not-inline"), ...i, children: n })
15304
15307
  }
15305
15308
  );
15306
15309
  }
@@ -15310,7 +15313,7 @@ const ei = ({
15310
15313
  className: t,
15311
15314
  components: n
15312
15315
  }) => {
15313
- const { syntaxHighlighting: r } = Ns().options, u = sn(
15316
+ const { syntaxHighlighting: r } = Ss().options, u = sn(
15314
15317
  () => [
15315
15318
  _d,
15316
15319
  ...Ts(r?.themes)
@@ -15340,10 +15343,10 @@ export {
15340
15343
  Jp as P,
15341
15344
  Lp as S,
15342
15345
  Kp as V,
15343
- Np as a,
15346
+ Sp as a,
15344
15347
  $p as b,
15345
15348
  Dp as c,
15346
15349
  kp as s,
15347
15350
  wr as u
15348
15351
  };
15349
- //# sourceMappingURL=Markdown-Cm4kj26S.js.map
15352
+ //# sourceMappingURL=Markdown-BUE2ViaD.js.map