@versini/sassysaint 8.111.1 → 8.111.3

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 (81) hide show
  1. package/dist/chunks/{AboutChangelog.DBS-W0Io.js → AboutChangelog.DEKrUTg3.js} +2 -2
  2. package/dist/chunks/{AboutEntry.BALXq3uG.js → AboutEntry.DtlPqgFq.js} +7 -7
  3. package/dist/chunks/{App.DYc2zQb9.js → App.BGRzjrbt.js} +2358 -2345
  4. package/dist/chunks/{Bubble.CjFOupdI.js → Bubble.QSYju7U-.js} +1 -1
  5. package/dist/chunks/{ButtonIconDelete.CrLclEN-.js → ButtonIconDelete.DHjTCxTa.js} +21 -22
  6. package/dist/chunks/{Chart.DE2Pj6I-.js → Chart.DuetMnKn.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.Iepb3p0t.js → ChatBubbleAssistant.D3lIckh1.js} +4 -4
  8. package/dist/chunks/{ChatBubbleUser.BfkYxwnc.js → ChatBubbleUser.DVW35Z8i.js} +3 -3
  9. package/dist/chunks/{ChatHistoryTable.DD5ZuAbI.js → ChatHistoryTable.Dxbpo7ck.js} +4 -4
  10. package/dist/chunks/{HistoryEntry.C8Ld2sD4.js → HistoryEntry.BxmHCW43.js} +6 -6
  11. package/dist/chunks/{LoginEntry.C6nNtgTg.js → LoginEntry.skJhNhty.js} +4 -4
  12. package/dist/chunks/{LogoEntry.BzJx8V2c.js → LogoEntry.B2b4Yt9T.js} +204 -204
  13. package/dist/chunks/{MemoriesEntry.BEXE9loJ.js → MemoriesEntry.DR38VMVA.js} +5 -5
  14. package/dist/chunks/{ProfileEntry.3BYJrVIt.js → ProfileEntry.DidXR7UA.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.C6nWCZpc.js → SettingsEntry.BMRN3VCY.js} +5 -5
  16. package/dist/chunks/{UsageEntry.Dd-xUxjd.js → UsageEntry.w9OaCaF4.js} +5 -5
  17. package/dist/chunks/{_baseUniq.CO1pQ3TU.js → _baseUniq.DvrohptJ.js} +1 -1
  18. package/dist/chunks/{arc.UmkSc1Aq.js → arc.DZpAibrn.js} +1 -1
  19. package/dist/chunks/{architecture-U656AL7Q.BVslGbEi.js → architecture-U656AL7Q.75obykqH.js} +1 -1
  20. package/dist/chunks/{architectureDiagram-VXUJARFQ.CcnHrQNJ.js → architectureDiagram-VXUJARFQ.pvpoyqCy.js} +4 -4
  21. package/dist/chunks/{blockDiagram-VD42YOAC.DBW_inb5.js → blockDiagram-VD42YOAC.BU2QdSKu.js} +5 -5
  22. package/dist/chunks/{browser.B3njUrBi.js → browser.DhnrsZbt.js} +1 -1
  23. package/dist/chunks/{c4Diagram-YG6GDRKO.BSs-xFSk.js → c4Diagram-YG6GDRKO.DYkwL6tj.js} +2 -2
  24. package/dist/chunks/{channel.D0sWdRVT.js → channel.BHY66kqg.js} +1 -1
  25. package/dist/chunks/{chunk-4BX2VUAB.CjUvcA9v.js → chunk-4BX2VUAB.Bb73N5Y_.js} +1 -1
  26. package/dist/chunks/{chunk-55IACEB6.C2qmG191.js → chunk-55IACEB6.EJTrLywF.js} +1 -1
  27. package/dist/chunks/{chunk-B4BG7PRW.De4jw-e4.js → chunk-B4BG7PRW.B05H5NQI.js} +4 -4
  28. package/dist/chunks/{chunk-DI55MBZ5.Bs_RrXB7.js → chunk-DI55MBZ5.Dh0s-UnT.js} +3 -3
  29. package/dist/chunks/{chunk-FMBD7UC4.CBEVGMvu.js → chunk-FMBD7UC4.Cw7-UpbW.js} +1 -1
  30. package/dist/chunks/{chunk-QN33PNHL.DybGTku4.js → chunk-QN33PNHL.CUlNcxvp.js} +1 -1
  31. package/dist/chunks/{chunk-QZHKN3VN.C8J2iNyQ.js → chunk-QZHKN3VN.BC6_w42h.js} +1 -1
  32. package/dist/chunks/{chunk-TZMSLE5B.DWPNgloc.js → chunk-TZMSLE5B.acGXviQk.js} +1 -1
  33. package/dist/chunks/{classDiagram-2ON5EDUG.C8iMt-CB.js → classDiagram-2ON5EDUG.D8kN3SgN.js} +2 -2
  34. package/dist/chunks/{classDiagram-v2-WZHVMYZB.C8iMt-CB.js → classDiagram-v2-WZHVMYZB.D8kN3SgN.js} +2 -2
  35. package/dist/chunks/{clone.DeBg-xtY.js → clone.DUf0xir_.js} +1 -1
  36. package/dist/chunks/{cose-bilkent-S5V4N54A.DdmGTxAx.js → cose-bilkent-S5V4N54A.DRLIsg0b.js} +2 -2
  37. package/dist/chunks/{dagre-6UL2VRFP.DUYGMAN4.js → dagre-6UL2VRFP.D9hG5izt.js} +5 -5
  38. package/dist/chunks/{diagram-PSM6KHXK.Ccpr6tNA.js → diagram-PSM6KHXK.xULVc2co.js} +4 -4
  39. package/dist/chunks/{diagram-QEK2KX5R.DM7BsSur.js → diagram-QEK2KX5R.DJhjwGo4.js} +3 -3
  40. package/dist/chunks/{diagram-S2PKOQOG.CcNYo6mZ.js → diagram-S2PKOQOG.BHhhIiAD.js} +3 -3
  41. package/dist/chunks/{erDiagram-Q2GNP2WA.B8GbIkl0.js → erDiagram-Q2GNP2WA.DvbYawn6.js} +4 -4
  42. package/dist/chunks/{flowDiagram-NV44I4VS.D8a1Zxq6.js → flowDiagram-NV44I4VS.DWPYPBNY.js} +5 -5
  43. package/dist/chunks/{ganttDiagram-JELNMOA3.CxIyi0FP.js → ganttDiagram-JELNMOA3.C2ivXQOG.js} +2 -2
  44. package/dist/chunks/{gitGraph-F6HP7TQM.DdmXatf1.js → gitGraph-F6HP7TQM.SVu1f6lJ.js} +1 -1
  45. package/dist/chunks/{gitGraphDiagram-NY62KEGX.gdP5EUcb.js → gitGraphDiagram-NY62KEGX.BCjHXLCK.js} +4 -4
  46. package/dist/chunks/{graph.vmnThUrw.js → graph.BHn1sawQ.js} +2 -2
  47. package/dist/chunks/{index.Cwy5dqPH.js → index.BbGq3i0Z.js} +3 -3
  48. package/dist/chunks/{index.BJsn-vQm.js → index.CEpN9Mfy.js} +73 -73
  49. package/dist/chunks/{index.BiVcH-1l.js → index.CwvbWO48.js} +1 -1
  50. package/dist/chunks/{index.DFah9PmB.js → index.CxVl48pN.js} +3 -3
  51. package/dist/chunks/{index.DVV06j5x.js → index.DhDzmNGa.js} +1 -1
  52. package/dist/chunks/{index.CacVTYUi.js → index.jTMAwvqw.js} +1 -1
  53. package/dist/chunks/{index.CQ1tNoqY.js → index.mw7jb1FZ.js} +2 -2
  54. package/dist/chunks/{index._wuBqYM-.js → index.nS2ugdrV.js} +1 -1
  55. package/dist/chunks/{index.rtvKWBwR.js → index.wBZ-bAF2.js} +37 -37
  56. package/dist/chunks/{info-NVLQJR56.DGgSzZvD.js → info-NVLQJR56.B6GOsfuo.js} +1 -1
  57. package/dist/chunks/{infoDiagram-WHAUD3N6.Cr9uswM-.js → infoDiagram-WHAUD3N6.cdFwiHIE.js} +2 -2
  58. package/dist/chunks/{journeyDiagram-XKPGCS4Q.BeAeXdZw.js → journeyDiagram-XKPGCS4Q.CNCWl07w.js} +4 -4
  59. package/dist/chunks/{kanban-definition-3W4ZIXB7.BE8r8cZr.js → kanban-definition-3W4ZIXB7.DeWOoHnE.js} +2 -2
  60. package/dist/chunks/{layout.Ce8z59EY.js → layout.CfrMsjsl.js} +4 -4
  61. package/dist/chunks/{mermaid-parser.core.DV6o_bdd.js → mermaid-parser.core.B7ZGVptT.js} +10 -10
  62. package/dist/chunks/{min.tslYr6eP.js → min.BR9AxVjW.js} +2 -2
  63. package/dist/chunks/{mindmap-definition-VGOIOE7T.CuQAhOps.js → mindmap-definition-VGOIOE7T.DR_iVu-I.js} +4 -4
  64. package/dist/chunks/{packet-BFZMPI3H.Bcwvega6.js → packet-BFZMPI3H.D4P0CBH4.js} +1 -1
  65. package/dist/chunks/{pie-7BOR55EZ.D8RARbd5.js → pie-7BOR55EZ.jNr-y8mq.js} +1 -1
  66. package/dist/chunks/{pieDiagram-ADFJNKIX.CvBdPnGV.js → pieDiagram-ADFJNKIX.C_GyIBuS.js} +4 -4
  67. package/dist/chunks/{quadrantDiagram-AYHSOK5B.CROQ_Frk.js → quadrantDiagram-AYHSOK5B.xgs0dGMa.js} +1 -1
  68. package/dist/chunks/{radar-NHE76QYJ.CCshv9eV.js → radar-NHE76QYJ.mOtw_q2V.js} +1 -1
  69. package/dist/chunks/{rehype-mermaid.BdX4FNx6.js → rehype-mermaid.DBBytI1M.js} +33 -33
  70. package/dist/chunks/{requirementDiagram-UZGBJVZJ.CGaK5g7H.js → requirementDiagram-UZGBJVZJ.BgOTowCr.js} +3 -3
  71. package/dist/chunks/{sankeyDiagram-TZEHDZUN.BmuzrAiO.js → sankeyDiagram-TZEHDZUN.C6hMt0nE.js} +1 -1
  72. package/dist/chunks/{sequenceDiagram-WL72ISMW.WbZc3G3z.js → sequenceDiagram-WL72ISMW.DgpEBhZm.js} +3 -3
  73. package/dist/chunks/{stateDiagram-FKZM4ZOC.BcipU7Ac.js → stateDiagram-FKZM4ZOC.BiE_Lzjk.js} +4 -4
  74. package/dist/chunks/{stateDiagram-v2-4FDKWEC3.CsiWj86-.js → stateDiagram-v2-4FDKWEC3.KXeGw2Kg.js} +2 -2
  75. package/dist/chunks/{timeline-definition-IT6M3QCI.CGhuUKcI.js → timeline-definition-IT6M3QCI.DYXhP7Qb.js} +2 -2
  76. package/dist/chunks/{treemap-KMMF4GRG.DXHxrJFh.js → treemap-KMMF4GRG.FJkI1pin.js} +1 -1
  77. package/dist/chunks/{useMarkdown.DXXZNSYf.js → useMarkdown.BzkU5yrq.js} +608 -609
  78. package/dist/chunks/{xychartDiagram-PRI3JC2R.DcXD2HKb.js → xychartDiagram-PRI3JC2R.C6VyMJws.js} +1 -1
  79. package/dist/components/SassySaint/SassySaint.js +1 -1
  80. package/dist/index.js +3 -3
  81. package/package.json +3 -3
@@ -1,9 +1,9 @@
1
1
  import { jsx as Te, jsxs as Ot, Fragment as Jn } from "react/jsx-runtime";
2
- import { ButtonIcon as Nr, IconCopied as Rr, IconCopy as vr } from "./LogoEntry.BzJx8V2c.js";
3
- import Dr, { useState as Ft, useEffect as Bt, useCallback as Ut, useRef as Ee, createElement as Or } from "react";
4
- import { getDefaultExportFromCjs as jt, unObfuscate as Fr, obfuscate as Br } from "./App.DYc2zQb9.js";
5
- import { isTauri as Ur } from "./index.CQ1tNoqY.js";
6
- const $t = /* @__PURE__ */ Dr.forwardRef(({ copyToClipboard: e, ...n }, t) => {
2
+ import { ButtonIcon as Mr, IconCopied as Nr, IconCopy as Rr } from "./LogoEntry.B2b4Yt9T.js";
3
+ import { useState as Ft, useEffect as Bt, useCallback as Ut, useRef as Ee, createElement as vr } from "react";
4
+ import { getDefaultExportFromCjs as jt, unObfuscate as Dr, obfuscate as Or } from "./App.BGRzjrbt.js";
5
+ import { isTauri as Fr } from "./index.mw7jb1FZ.js";
6
+ function Br({ copyToClipboard: e, ref: n, ...t }) {
7
7
  const [r, i] = Ft(!1), l = () => {
8
8
  typeof e == "string" && (navigator.clipboard.writeText(e), i(!0)), typeof e == "function" && (navigator.clipboard.writeText(e()), i(!0));
9
9
  };
@@ -16,29 +16,28 @@ const $t = /* @__PURE__ */ Dr.forwardRef(({ copyToClipboard: e, ...n }, t) => {
16
16
  };
17
17
  }, [
18
18
  r
19
- ]), /* @__PURE__ */ Te(Nr, {
20
- ...n,
19
+ ]), /* @__PURE__ */ Te(Mr, {
20
+ ...t,
21
21
  size: "small",
22
- ref: t,
22
+ ref: n,
23
23
  label: r ? "Copied to clipboard" : "Copy to clipboard",
24
24
  onClick: l,
25
25
  disabled: r,
26
- children: r ? /* @__PURE__ */ Te(Rr, {
26
+ children: r ? /* @__PURE__ */ Te(Nr, {
27
27
  size: "size-3"
28
- }) : /* @__PURE__ */ Te(vr, {
28
+ }) : /* @__PURE__ */ Te(Rr, {
29
29
  size: "size-3"
30
30
  })
31
31
  });
32
- });
33
- $t.displayName = "ButtonCopy";
34
- const Ht = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Vt = 7, qt = 8, Zn = typeof self == "object" ? self : globalThis, jr = (e, n) => {
32
+ }
33
+ const $t = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Ht = 7, Vt = 8, Zn = typeof self == "object" ? self : globalThis, Ur = (e, n) => {
35
34
  const t = (i, l) => (e.set(l, i), i), r = (i) => {
36
35
  if (e.has(i))
37
36
  return e.get(i);
38
37
  const [l, o] = n[i];
39
38
  switch (l) {
40
39
  case nn:
41
- case Ht:
40
+ case $t:
42
41
  return t(o, i);
43
42
  case He: {
44
43
  const a = t([], i);
@@ -70,11 +69,11 @@ const Ht = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Vt = 7, q
70
69
  a.add(r(s));
71
70
  return a;
72
71
  }
73
- case Vt: {
72
+ case Ht: {
74
73
  const { name: a, message: s } = o;
75
74
  return t(new Zn[a](s), i);
76
75
  }
77
- case qt:
76
+ case Vt:
78
77
  return t(BigInt(o), i);
79
78
  case "BigInt":
80
79
  return t(Object(BigInt(o)), i);
@@ -88,11 +87,11 @@ const Ht = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Vt = 7, q
88
87
  return t(new Zn[l](o), i);
89
88
  };
90
89
  return r;
91
- }, et = (e) => jr(/* @__PURE__ */ new Map(), e)(0), Ae = "", { toString: $r } = {}, { keys: Hr } = Object, De = (e) => {
90
+ }, et = (e) => Ur(/* @__PURE__ */ new Map(), e)(0), Ae = "", { toString: jr } = {}, { keys: $r } = Object, De = (e) => {
92
91
  const n = typeof e;
93
92
  if (n !== "object" || !e)
94
93
  return [nn, n];
95
- const t = $r.call(e).slice(8, -1);
94
+ const t = jr.call(e).slice(8, -1);
96
95
  switch (t) {
97
96
  case "Array":
98
97
  return [He, Ae];
@@ -109,8 +108,8 @@ const Ht = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Vt = 7, q
109
108
  case "DataView":
110
109
  return [He, t];
111
110
  }
112
- return t.includes("Array") ? [He, t] : t.includes("Error") ? [Vt, t] : [en, t];
113
- }, Ke = ([e, n]) => e === nn && (n === "function" || n === "symbol"), Vr = (e, n, t, r) => {
111
+ return t.includes("Array") ? [He, t] : t.includes("Error") ? [Ht, t] : [en, t];
112
+ }, Ke = ([e, n]) => e === nn && (n === "function" || n === "symbol"), Hr = (e, n, t, r) => {
114
113
  const i = (o, a) => {
115
114
  const s = r.push(o) - 1;
116
115
  return t.set(a, s), s;
@@ -123,7 +122,7 @@ const Ht = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Vt = 7, q
123
122
  let c = o;
124
123
  switch (s) {
125
124
  case "bigint":
126
- a = qt, c = o.toString();
125
+ a = Vt, c = o.toString();
127
126
  break;
128
127
  case "function":
129
128
  case "symbol":
@@ -132,7 +131,7 @@ const Ht = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Vt = 7, q
132
131
  c = null;
133
132
  break;
134
133
  case "undefined":
135
- return i([Ht], o);
134
+ return i([$t], o);
136
135
  }
137
136
  return i([a, c], o);
138
137
  }
@@ -159,7 +158,7 @@ const Ht = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Vt = 7, q
159
158
  if (n && "toJSON" in o)
160
159
  return l(o.toJSON());
161
160
  const c = [], f = i([a, c], o);
162
- for (const d of Hr(o))
161
+ for (const d of $r(o))
163
162
  (e || !Ke(De(o[d]))) && c.push([l(d), l(o[d])]);
164
163
  return f;
165
164
  }
@@ -188,11 +187,11 @@ const Ht = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Vt = 7, q
188
187
  return l;
189
188
  }, nt = (e, { json: n, lossy: t } = {}) => {
190
189
  const r = [];
191
- return Vr(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
190
+ return Hr(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
192
191
  }, xe = typeof structuredClone == "function" ? (
193
192
  /* c8 ignore start */
194
193
  (e, n) => n && ("json" in n || "lossy" in n) ? et(nt(e, n)) : structuredClone(e)
195
- ) : (e, n) => et(nt(e, n)), Wt = (
194
+ ) : (e, n) => et(nt(e, n)), qt = (
196
195
  // Note: overloads in JSDoc can’t yet use different `@template`s.
197
196
  /**
198
197
  * @type {(
@@ -208,21 +207,21 @@ const Ht = -1, nn = 0, He = 1, en = 2, _n = 3, Mn = 4, Nn = 5, Rn = 6, Vt = 7, q
208
207
  */
209
208
  (function(e) {
210
209
  if (e == null)
211
- return Xr;
210
+ return Wr;
212
211
  if (typeof e == "string")
213
- return Wr(e);
214
- if (typeof e == "object")
215
212
  return qr(e);
213
+ if (typeof e == "object")
214
+ return Vr(e);
216
215
  if (typeof e == "function")
217
216
  return vn(e);
218
217
  throw new Error("Expected function, string, or array as `test`");
219
218
  })
220
219
  );
221
- function qr(e) {
220
+ function Vr(e) {
222
221
  const n = [];
223
222
  let t = -1;
224
223
  for (; ++t < e.length; )
225
- n[t] = Wt(e[t]);
224
+ n[t] = qt(e[t]);
226
225
  return vn(r);
227
226
  function r(...i) {
228
227
  let l = -1;
@@ -231,7 +230,7 @@ function qr(e) {
231
230
  return !1;
232
231
  }
233
232
  }
234
- function Wr(e) {
233
+ function qr(e) {
235
234
  return vn(n);
236
235
  function n(t) {
237
236
  return t.tagName === e;
@@ -240,7 +239,7 @@ function Wr(e) {
240
239
  function vn(e) {
241
240
  return n;
242
241
  function n(t, r, i) {
243
- return !!(Yr(t) && e.call(
242
+ return !!(Xr(t) && e.call(
244
243
  this,
245
244
  t,
246
245
  typeof r == "number" ? r : void 0,
@@ -248,26 +247,26 @@ function vn(e) {
248
247
  ));
249
248
  }
250
249
  }
251
- function Xr(e) {
250
+ function Wr(e) {
252
251
  return !!(e && typeof e == "object" && "type" in e && e.type === "element" && "tagName" in e && typeof e.tagName == "string");
253
252
  }
254
- function Yr(e) {
253
+ function Xr(e) {
255
254
  return e !== null && typeof e == "object" && "type" in e && "tagName" in e;
256
255
  }
257
- const Gr = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Kr = /^[a-zA-Z]:\\/;
258
- function Qr(e) {
256
+ const Yr = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Gr = /^[a-zA-Z]:\\/;
257
+ function Kr(e) {
259
258
  if (typeof e != "string")
260
259
  throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);
261
- return Kr.test(e) ? !1 : Gr.test(e);
260
+ return Gr.test(e) ? !1 : Yr.test(e);
262
261
  }
263
- function Jr(e) {
262
+ function Qr(e) {
264
263
  const n = String(e || "").trim();
265
264
  return n ? n.split(/[ \t\n\r\f]+/g) : [];
266
265
  }
267
- function Zr(e) {
266
+ function Jr(e) {
268
267
  return e.join(" ").trim();
269
268
  }
270
- const Xt = (
269
+ const Wt = (
271
270
  // Note: overloads in JSDoc can’t yet use different `@template`s.
272
271
  /**
273
272
  * @type {(
@@ -284,28 +283,28 @@ const Xt = (
284
283
  */
285
284
  (function(e) {
286
285
  if (e == null)
287
- return ri;
286
+ return ti;
288
287
  if (typeof e == "function")
289
288
  return tn(e);
290
289
  if (typeof e == "object")
291
- return Array.isArray(e) ? ei(e) : (
290
+ return Array.isArray(e) ? Zr(e) : (
292
291
  // Cast because `ReadonlyArray` goes into the above but `isArray`
293
292
  // narrows to `Array`.
294
- ni(
293
+ ei(
295
294
  /** @type {Props} */
296
295
  e
297
296
  )
298
297
  );
299
298
  if (typeof e == "string")
300
- return ti(e);
299
+ return ni(e);
301
300
  throw new Error("Expected function, string, or object as test");
302
301
  })
303
302
  );
304
- function ei(e) {
303
+ function Zr(e) {
305
304
  const n = [];
306
305
  let t = -1;
307
306
  for (; ++t < e.length; )
308
- n[t] = Xt(e[t]);
307
+ n[t] = Wt(e[t]);
309
308
  return tn(r);
310
309
  function r(...i) {
311
310
  let l = -1;
@@ -314,7 +313,7 @@ function ei(e) {
314
313
  return !1;
315
314
  }
316
315
  }
317
- function ni(e) {
316
+ function ei(e) {
318
317
  const n = (
319
318
  /** @type {Record<string, unknown>} */
320
319
  e
@@ -332,7 +331,7 @@ function ni(e) {
332
331
  return !0;
333
332
  }
334
333
  }
335
- function ti(e) {
334
+ function ni(e) {
336
335
  return tn(n);
337
336
  function n(t) {
338
337
  return t && t.type === e;
@@ -341,7 +340,7 @@ function ti(e) {
341
340
  function tn(e) {
342
341
  return n;
343
342
  function n(t, r, i) {
344
- return !!(ii(t) && e.call(
343
+ return !!(ri(t) && e.call(
345
344
  this,
346
345
  t,
347
346
  typeof r == "number" ? r : void 0,
@@ -349,17 +348,17 @@ function tn(e) {
349
348
  ));
350
349
  }
351
350
  }
352
- function ri() {
351
+ function ti() {
353
352
  return !0;
354
353
  }
355
- function ii(e) {
354
+ function ri(e) {
356
355
  return e !== null && typeof e == "object" && "type" in e;
357
356
  }
358
- const Yt = [], $e = !0, tt = !1, xn = "skip";
359
- function li(e, n, t, r) {
357
+ const Xt = [], $e = !0, tt = !1, xn = "skip";
358
+ function ii(e, n, t, r) {
360
359
  let i;
361
360
  typeof n == "function" && typeof t != "function" ? (r = t, t = n) : i = n;
362
- const l = Xt(i), o = r ? -1 : 1;
361
+ const l = Wt(i), o = r ? -1 : 1;
363
362
  a(e, void 0, [])();
364
363
  function a(s, u, c) {
365
364
  const f = (
@@ -380,8 +379,8 @@ function li(e, n, t, r) {
380
379
  }
381
380
  return d;
382
381
  function d() {
383
- let p = Yt, b, S, E;
384
- if ((!n || l(s, u, c[c.length - 1] || void 0)) && (p = oi(t(s, c)), p[0] === tt))
382
+ let p = Xt, b, S, E;
383
+ if ((!n || l(s, u, c[c.length - 1] || void 0)) && (p = li(t(s, c)), p[0] === tt))
385
384
  return p;
386
385
  if ("children" in s && s.children) {
387
386
  const k = (
@@ -400,26 +399,26 @@ function li(e, n, t, r) {
400
399
  }
401
400
  }
402
401
  }
403
- function oi(e) {
404
- return Array.isArray(e) ? e : typeof e == "number" ? [$e, e] : e == null ? Yt : [e];
402
+ function li(e) {
403
+ return Array.isArray(e) ? e : typeof e == "number" ? [$e, e] : e == null ? Xt : [e];
405
404
  }
406
405
  function be(e, n, t, r) {
407
406
  let i, l, o;
408
- typeof n == "function" && typeof t != "function" ? (l = void 0, o = n, i = t) : (l = n, o = t, i = r), li(e, l, a, i);
407
+ typeof n == "function" && typeof t != "function" ? (l = void 0, o = n, i = t) : (l = n, o = t, i = r), ii(e, l, a, i);
409
408
  function a(s, u) {
410
409
  const c = u[u.length - 1], f = c ? c.children.indexOf(s) : void 0;
411
410
  return o(s, f, c);
412
411
  }
413
412
  }
414
- const ai = ["http", "https"], ui = ["nofollow"], si = {};
415
- function ci(e) {
416
- const n = e || si, t = n.protocols || ai, r = Wt(n.test);
413
+ const oi = ["http", "https"], ai = ["nofollow"], ui = {};
414
+ function si(e) {
415
+ const n = e || ui, t = n.protocols || oi, r = qt(n.test);
417
416
  return function(i) {
418
417
  be(i, "element", function(l, o, a) {
419
418
  if (l.tagName === "a" && typeof l.properties.href == "string" && r(l, o, a)) {
420
419
  const s = l.properties.href;
421
- if (Qr(s) ? t.includes(s.slice(0, s.indexOf(":"))) : s.startsWith("//")) {
422
- const u = Oe(n.content, l), c = u && !Array.isArray(u) ? [u] : u, f = Oe(n.rel, l) || ui, d = typeof f == "string" ? Jr(f) : f, p = Oe(n.target, l), b = Oe(n.properties, l);
420
+ if (Kr(s) ? t.includes(s.slice(0, s.indexOf(":"))) : s.startsWith("//")) {
421
+ const u = Oe(n.content, l), c = u && !Array.isArray(u) ? [u] : u, f = Oe(n.rel, l) || ai, d = typeof f == "string" ? Qr(f) : f, p = Oe(n.target, l), b = Oe(n.properties, l);
423
422
  if (b && Object.assign(l.properties, xe(b)), d.length > 0 && (l.properties.rel = [...d]), p && (l.properties.target = p), c) {
424
423
  const S = Oe(n.contentProperties, l) || {};
425
424
  l.children.push({
@@ -437,12 +436,12 @@ function ci(e) {
437
436
  function Oe(e, n) {
438
437
  return typeof e == "function" ? e(n) : e;
439
438
  }
440
- function fi({ defaultOrigin: e = "", allowedLinkPrefixes: n = [], allowedImagePrefixes: t = [], allowDataImages: r = !1, allowedProtocols: i = [], blockedImageClass: l = "inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm", blockedLinkClass: o = "text-gray-500" }) {
439
+ function ci({ defaultOrigin: e = "", allowedLinkPrefixes: n = [], allowedImagePrefixes: t = [], allowDataImages: r = !1, allowedProtocols: i = [], blockedImageClass: l = "inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm", blockedLinkClass: o = "text-gray-500" }) {
441
440
  const a = n.length && !n.every((u) => u === "*"), s = t.length && !t.every((u) => u === "*");
442
441
  if (!e && (a || s))
443
442
  throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");
444
443
  return (u) => {
445
- const c = di(e, n, t, r, i, l, o);
444
+ const c = mi(e, n, t, r, i, l, o);
446
445
  be(u, c);
447
446
  };
448
447
  }
@@ -467,10 +466,10 @@ function rt(e, n) {
467
466
  return null;
468
467
  }
469
468
  }
470
- function pi(e) {
469
+ function fi(e) {
471
470
  return typeof e != "string" ? !1 : e.startsWith("/") || e.startsWith("./") || e.startsWith("../");
472
471
  }
473
- const hi = /* @__PURE__ */ new Set([
472
+ const pi = /* @__PURE__ */ new Set([
474
473
  "https:",
475
474
  "http:",
476
475
  "irc:",
@@ -478,7 +477,7 @@ const hi = /* @__PURE__ */ new Set([
478
477
  "mailto:",
479
478
  "xmpp:",
480
479
  "blob:"
481
- ]), mi = /* @__PURE__ */ new Set([
480
+ ]), hi = /* @__PURE__ */ new Set([
482
481
  "javascript:",
483
482
  "data:",
484
483
  "file:",
@@ -508,17 +507,17 @@ function it(e, n, t, r = !1, i = !1, l = []) {
508
507
  return null;
509
508
  }
510
509
  const o = rt(e, t);
511
- if (!o || mi.has(o.protocol) || !(hi.has(o.protocol) || l.includes(o.protocol) || l.includes("*")))
510
+ if (!o || hi.has(o.protocol) || !(pi.has(o.protocol) || l.includes(o.protocol) || l.includes("*")))
512
511
  return null;
513
512
  if (o.protocol === "mailto:" || !o.protocol.match(/^https?:$/))
514
513
  return o.href;
515
- const s = pi(e);
514
+ const s = fi(e);
516
515
  return o && n.some((u) => {
517
516
  const c = rt(u, t);
518
517
  return !c || c.origin !== o.origin ? !1 : o.href.startsWith(c.href);
519
518
  }) ? s ? o.pathname + o.search + o.hash : o.href : n.includes("*") ? o.protocol !== "https:" && o.protocol !== "http:" ? null : s ? o.pathname + o.search + o.hash : o.href : null;
520
519
  }
521
- const on = /* @__PURE__ */ Symbol("node-seen"), di = (e, n, t, r, i, l, o) => {
520
+ const on = /* @__PURE__ */ Symbol("node-seen"), mi = (e, n, t, r, i, l, o) => {
522
521
  const a = (s, u, c) => {
523
522
  if (s.type !== "element" || // @ts-expect-error
524
523
  s[on])
@@ -561,7 +560,7 @@ const on = /* @__PURE__ */ Symbol("node-seen"), di = (e, n, t, r, i, l, o) => {
561
560
  };
562
561
  return a;
563
562
  };
564
- function ls(e) {
563
+ function is(e) {
565
564
  const n = [], t = String(e || "");
566
565
  let r = t.indexOf(","), i = 0, l = !1;
567
566
  for (; !l; ) {
@@ -571,22 +570,22 @@ function ls(e) {
571
570
  }
572
571
  return n;
573
572
  }
574
- function gi(e, n) {
573
+ function di(e, n) {
575
574
  const t = {};
576
575
  return (e[e.length - 1] === "" ? [...e, ""] : e).join(
577
576
  (t.padRight ? " " : "") + "," + (t.padLeft === !1 ? "" : " ")
578
577
  ).trim();
579
578
  }
580
- const yi = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, ki = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, xi = {};
579
+ const gi = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, yi = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, ki = {};
581
580
  function lt(e, n) {
582
- return (xi.jsx ? ki : yi).test(e);
581
+ return (ki.jsx ? yi : gi).test(e);
583
582
  }
584
- const bi = /[ \t\n\f\r]/g;
585
- function wi(e) {
583
+ const xi = /[ \t\n\f\r]/g;
584
+ function bi(e) {
586
585
  return typeof e == "object" ? e.type === "text" ? ot(e.value) : !1 : ot(e);
587
586
  }
588
587
  function ot(e) {
589
- return e.replace(bi, "") === "";
588
+ return e.replace(xi, "") === "";
590
589
  }
591
590
  class Xe {
592
591
  /**
@@ -606,7 +605,7 @@ class Xe {
606
605
  Xe.prototype.normal = {};
607
606
  Xe.prototype.property = {};
608
607
  Xe.prototype.space = void 0;
609
- function Gt(e, n) {
608
+ function Yt(e, n) {
610
609
  const t = {}, r = {};
611
610
  for (const i of e)
612
611
  Object.assign(t, i.property), Object.assign(r, i.normal);
@@ -640,10 +639,10 @@ J.prototype.overloadedBoolean = !1;
640
639
  J.prototype.property = "";
641
640
  J.prototype.spaceSeparated = !1;
642
641
  J.prototype.space = void 0;
643
- let Si = 0;
642
+ let wi = 0;
644
643
  const M = we(), W = we(), wn = we(), x = we(), V = we(), Le = we(), ee = we();
645
644
  function we() {
646
- return 2 ** ++Si;
645
+ return 2 ** ++wi;
647
646
  }
648
647
  const Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: M, booleanish: W, commaOrSpaceSeparated: ee, commaSeparated: Le, number: x, overloadedBoolean: wn, spaceSeparated: V }, Symbol.toStringTag, { value: "Module" })), an = (
649
648
  /** @type {ReadonlyArray<keyof typeof types>} */
@@ -689,7 +688,7 @@ function _e(e) {
689
688
  }
690
689
  return new Xe(n, t, e.space);
691
690
  }
692
- const Kt = _e({
691
+ const Gt = _e({
693
692
  properties: {
694
693
  ariaActiveDescendant: null,
695
694
  ariaAtomic: W,
@@ -745,13 +744,13 @@ const Kt = _e({
745
744
  return n === "role" ? n : "aria-" + n.slice(4).toLowerCase();
746
745
  }
747
746
  });
748
- function Qt(e, n) {
747
+ function Kt(e, n) {
749
748
  return n in e ? e[n] : n;
750
749
  }
751
- function Jt(e, n) {
752
- return Qt(e, n.toLowerCase());
750
+ function Qt(e, n) {
751
+ return Kt(e, n.toLowerCase());
753
752
  }
754
- const Ci = _e({
753
+ const Si = _e({
755
754
  attributes: {
756
755
  acceptcharset: "accept-charset",
757
756
  classname: "class",
@@ -1111,8 +1110,8 @@ const Ci = _e({
1111
1110
  unselectable: null
1112
1111
  },
1113
1112
  space: "html",
1114
- transform: Jt
1115
- }), Ii = _e({
1113
+ transform: Qt
1114
+ }), Ci = _e({
1116
1115
  attributes: {
1117
1116
  accentHeight: "accent-height",
1118
1117
  alignmentBaseline: "alignment-baseline",
@@ -1670,8 +1669,8 @@ const Ci = _e({
1670
1669
  zoomAndPan: null
1671
1670
  },
1672
1671
  space: "svg",
1673
- transform: Qt
1674
- }), Zt = _e({
1672
+ transform: Kt
1673
+ }), Jt = _e({
1675
1674
  properties: {
1676
1675
  xLinkActuate: null,
1677
1676
  xLinkArcRole: null,
@@ -1685,18 +1684,18 @@ const Ci = _e({
1685
1684
  transform(e, n) {
1686
1685
  return "xlink:" + n.slice(5).toLowerCase();
1687
1686
  }
1688
- }), er = _e({
1687
+ }), Zt = _e({
1689
1688
  attributes: { xmlnsxlink: "xmlns:xlink" },
1690
1689
  properties: { xmlnsXLink: null, xmlns: null },
1691
1690
  space: "xmlns",
1692
- transform: Jt
1693
- }), nr = _e({
1691
+ transform: Qt
1692
+ }), er = _e({
1694
1693
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
1695
1694
  space: "xml",
1696
1695
  transform(e, n) {
1697
1696
  return "xml:" + n.slice(3).toLowerCase();
1698
1697
  }
1699
- }), Ei = {
1698
+ }), Ii = {
1700
1699
  classId: "classID",
1701
1700
  dataType: "datatype",
1702
1701
  itemId: "itemID",
@@ -1714,20 +1713,20 @@ const Ci = _e({
1714
1713
  xLinkTitle: "xlinkTitle",
1715
1714
  xLinkType: "xlinkType",
1716
1715
  xmlnsXLink: "xmlnsXlink"
1717
- }, Ai = /[A-Z]/g, ut = /-[a-z]/g, Pi = /^data[-\w.:]+$/i;
1718
- function Ti(e, n) {
1716
+ }, Ei = /[A-Z]/g, ut = /-[a-z]/g, Ai = /^data[-\w.:]+$/i;
1717
+ function Pi(e, n) {
1719
1718
  const t = bn(n);
1720
1719
  let r = n, i = J;
1721
1720
  if (t in e.normal)
1722
1721
  return e.property[e.normal[t]];
1723
- if (t.length > 4 && t.slice(0, 4) === "data" && Pi.test(n)) {
1722
+ if (t.length > 4 && t.slice(0, 4) === "data" && Ai.test(n)) {
1724
1723
  if (n.charAt(4) === "-") {
1725
- const l = n.slice(5).replace(ut, zi);
1724
+ const l = n.slice(5).replace(ut, Li);
1726
1725
  r = "data" + l.charAt(0).toUpperCase() + l.slice(1);
1727
1726
  } else {
1728
1727
  const l = n.slice(4);
1729
1728
  if (!ut.test(l)) {
1730
- let o = l.replace(Ai, Li);
1729
+ let o = l.replace(Ei, Ti);
1731
1730
  o.charAt(0) !== "-" && (o = "-" + o), n = "data" + o;
1732
1731
  }
1733
1732
  }
@@ -1735,15 +1734,15 @@ function Ti(e, n) {
1735
1734
  }
1736
1735
  return new i(r, n);
1737
1736
  }
1738
- function Li(e) {
1737
+ function Ti(e) {
1739
1738
  return "-" + e.toLowerCase();
1740
1739
  }
1741
- function zi(e) {
1740
+ function Li(e) {
1742
1741
  return e.charAt(1).toUpperCase();
1743
1742
  }
1744
- const _i = Gt([Kt, Ci, Zt, er, nr], "html"), On = Gt([Kt, Ii, Zt, er, nr], "svg");
1743
+ const zi = Yt([Gt, Si, Jt, Zt, er], "html"), On = Yt([Gt, Ci, Jt, Zt, er], "svg");
1745
1744
  var Pe = {}, un, st;
1746
- function Mi() {
1745
+ function _i() {
1747
1746
  if (st) return un;
1748
1747
  st = 1;
1749
1748
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, n = /\n/g, t = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, l = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, o = /^[;\s]*/, a = /^\s+|\s+$/g, s = `
@@ -1833,14 +1832,14 @@ function Mi() {
1833
1832
  return un = b, un;
1834
1833
  }
1835
1834
  var ct;
1836
- function Ni() {
1835
+ function Mi() {
1837
1836
  if (ct) return Pe;
1838
1837
  ct = 1;
1839
1838
  var e = Pe && Pe.__importDefault || function(r) {
1840
1839
  return r && r.__esModule ? r : { default: r };
1841
1840
  };
1842
1841
  Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.default = t;
1843
- const n = e(/* @__PURE__ */ Mi());
1842
+ const n = e(/* @__PURE__ */ _i());
1844
1843
  function t(r, i) {
1845
1844
  let l = null;
1846
1845
  if (!r || typeof r != "string")
@@ -1856,7 +1855,7 @@ function Ni() {
1856
1855
  return Pe;
1857
1856
  }
1858
1857
  var Fe = {}, ft;
1859
- function Ri() {
1858
+ function Ni() {
1860
1859
  if (ft) return Fe;
1861
1860
  ft = 1, Object.defineProperty(Fe, "__esModule", { value: !0 }), Fe.camelCase = void 0;
1862
1861
  var e = /^--[a-zA-Z0-9_-]+$/, n = /-([a-z])/g, t = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, i = /^-(ms)-/, l = function(u) {
@@ -1871,12 +1870,12 @@ function Ri() {
1871
1870
  return Fe.camelCase = s, Fe;
1872
1871
  }
1873
1872
  var Be, pt;
1874
- function vi() {
1873
+ function Ri() {
1875
1874
  if (pt) return Be;
1876
1875
  pt = 1;
1877
1876
  var e = Be && Be.__importDefault || function(i) {
1878
1877
  return i && i.__esModule ? i : { default: i };
1879
- }, n = e(/* @__PURE__ */ Ni()), t = /* @__PURE__ */ Ri();
1878
+ }, n = e(/* @__PURE__ */ Mi()), t = /* @__PURE__ */ Ni();
1880
1879
  function r(i, l) {
1881
1880
  var o = {};
1882
1881
  return !i || typeof i != "string" || (0, n.default)(i, function(a, s) {
@@ -1885,9 +1884,9 @@ function vi() {
1885
1884
  }
1886
1885
  return r.default = r, Be = r, Be;
1887
1886
  }
1888
- var Di = /* @__PURE__ */ vi();
1889
- const Oi = /* @__PURE__ */ jt(Di), tr = rr("end"), Fn = rr("start");
1890
- function rr(e) {
1887
+ var vi = /* @__PURE__ */ Ri();
1888
+ const Di = /* @__PURE__ */ jt(vi), nr = tr("end"), Fn = tr("start");
1889
+ function tr(e) {
1891
1890
  return n;
1892
1891
  function n(t) {
1893
1892
  const r = t && t.position && t.position[e] || {};
@@ -1899,8 +1898,8 @@ function rr(e) {
1899
1898
  };
1900
1899
  }
1901
1900
  }
1902
- function Fi(e) {
1903
- const n = Fn(e), t = tr(e);
1901
+ function Oi(e) {
1902
+ const n = Fn(e), t = nr(e);
1904
1903
  if (n && t)
1905
1904
  return { start: n, end: t };
1906
1905
  }
@@ -2003,8 +2002,8 @@ G.prototype.fatal = void 0;
2003
2002
  G.prototype.place = void 0;
2004
2003
  G.prototype.ruleId = void 0;
2005
2004
  G.prototype.source = void 0;
2006
- const Bn = {}.hasOwnProperty, Bi = /* @__PURE__ */ new Map(), Ui = /[A-Z]/g, ji = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), $i = /* @__PURE__ */ new Set(["td", "th"]), ir = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
2007
- function Hi(e, n) {
2005
+ const Bn = {}.hasOwnProperty, Fi = /* @__PURE__ */ new Map(), Bi = /[A-Z]/g, Ui = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), ji = /* @__PURE__ */ new Set(["td", "th"]), rr = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
2006
+ function $i(e, n) {
2008
2007
  if (!n || n.Fragment === void 0)
2009
2008
  throw new TypeError("Expected `Fragment` in options");
2010
2009
  const t = n.filePath || void 0;
@@ -2014,13 +2013,13 @@ function Hi(e, n) {
2014
2013
  throw new TypeError(
2015
2014
  "Expected `jsxDEV` in options when `development: true`"
2016
2015
  );
2017
- r = Qi(t, n.jsxDEV);
2016
+ r = Ki(t, n.jsxDEV);
2018
2017
  } else {
2019
2018
  if (typeof n.jsx != "function")
2020
2019
  throw new TypeError("Expected `jsx` in production options");
2021
2020
  if (typeof n.jsxs != "function")
2022
2021
  throw new TypeError("Expected `jsxs` in production options");
2023
- r = Ki(t, n.jsx, n.jsxs);
2022
+ r = Gi(t, n.jsx, n.jsxs);
2024
2023
  }
2025
2024
  const i = {
2026
2025
  Fragment: n.Fragment,
@@ -2033,10 +2032,10 @@ function Hi(e, n) {
2033
2032
  ignoreInvalidStyle: n.ignoreInvalidStyle || !1,
2034
2033
  passKeys: n.passKeys !== !1,
2035
2034
  passNode: n.passNode || !1,
2036
- schema: n.space === "svg" ? On : _i,
2035
+ schema: n.space === "svg" ? On : zi,
2037
2036
  stylePropertyNameCase: n.stylePropertyNameCase || "dom",
2038
2037
  tableCellAlignToStyle: n.tableCellAlignToStyle !== !1
2039
- }, l = lr(i, e, void 0);
2038
+ }, l = ir(i, e, void 0);
2040
2039
  return l && typeof l != "string" ? l : i.create(
2041
2040
  e,
2042
2041
  i.Fragment,
@@ -2044,31 +2043,31 @@ function Hi(e, n) {
2044
2043
  void 0
2045
2044
  );
2046
2045
  }
2047
- function lr(e, n, t) {
2046
+ function ir(e, n, t) {
2048
2047
  if (n.type === "element")
2049
- return Vi(e, n, t);
2048
+ return Hi(e, n, t);
2050
2049
  if (n.type === "mdxFlowExpression" || n.type === "mdxTextExpression")
2051
- return qi(e, n);
2050
+ return Vi(e, n);
2052
2051
  if (n.type === "mdxJsxFlowElement" || n.type === "mdxJsxTextElement")
2053
- return Xi(e, n, t);
2052
+ return Wi(e, n, t);
2054
2053
  if (n.type === "mdxjsEsm")
2055
- return Wi(e, n);
2054
+ return qi(e, n);
2056
2055
  if (n.type === "root")
2057
- return Yi(e, n, t);
2056
+ return Xi(e, n, t);
2058
2057
  if (n.type === "text")
2059
- return Gi(e, n);
2058
+ return Yi(e, n);
2060
2059
  }
2061
- function Vi(e, n, t) {
2060
+ function Hi(e, n, t) {
2062
2061
  const r = e.schema;
2063
2062
  let i = r;
2064
2063
  n.tagName.toLowerCase() === "svg" && r.space === "html" && (i = On, e.schema = i), e.ancestors.push(n);
2065
- const l = ar(e, n.tagName, !1), o = Ji(e, n);
2064
+ const l = or(e, n.tagName, !1), o = Qi(e, n);
2066
2065
  let a = jn(e, n);
2067
- return ji.has(n.tagName) && (a = a.filter(function(s) {
2068
- return typeof s == "string" ? !wi(s) : !0;
2069
- })), or(e, o, l, n), Un(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2066
+ return Ui.has(n.tagName) && (a = a.filter(function(s) {
2067
+ return typeof s == "string" ? !bi(s) : !0;
2068
+ })), lr(e, o, l, n), Un(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2070
2069
  }
2071
- function qi(e, n) {
2070
+ function Vi(e, n) {
2072
2071
  if (n.data && n.data.estree && e.evaluater) {
2073
2072
  const r = n.data.estree.body[0];
2074
2073
  return (
@@ -2078,7 +2077,7 @@ function qi(e, n) {
2078
2077
  }
2079
2078
  We(e, n.position);
2080
2079
  }
2081
- function Wi(e, n) {
2080
+ function qi(e, n) {
2082
2081
  if (n.data && n.data.estree && e.evaluater)
2083
2082
  return (
2084
2083
  /** @type {Child | undefined} */
@@ -2086,21 +2085,21 @@ function Wi(e, n) {
2086
2085
  );
2087
2086
  We(e, n.position);
2088
2087
  }
2089
- function Xi(e, n, t) {
2088
+ function Wi(e, n, t) {
2090
2089
  const r = e.schema;
2091
2090
  let i = r;
2092
2091
  n.name === "svg" && r.space === "html" && (i = On, e.schema = i), e.ancestors.push(n);
2093
- const l = n.name === null ? e.Fragment : ar(e, n.name, !0), o = Zi(e, n), a = jn(e, n);
2094
- return or(e, o, l, n), Un(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2092
+ const l = n.name === null ? e.Fragment : or(e, n.name, !0), o = Ji(e, n), a = jn(e, n);
2093
+ return lr(e, o, l, n), Un(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2095
2094
  }
2096
- function Yi(e, n, t) {
2095
+ function Xi(e, n, t) {
2097
2096
  const r = {};
2098
2097
  return Un(r, jn(e, n)), e.create(n, e.Fragment, r, t);
2099
2098
  }
2100
- function Gi(e, n) {
2099
+ function Yi(e, n) {
2101
2100
  return n.value;
2102
2101
  }
2103
- function or(e, n, t, r) {
2102
+ function lr(e, n, t, r) {
2104
2103
  typeof t != "string" && t !== e.Fragment && e.passNode && (n.node = r);
2105
2104
  }
2106
2105
  function Un(e, n) {
@@ -2109,14 +2108,14 @@ function Un(e, n) {
2109
2108
  t && (e.children = t);
2110
2109
  }
2111
2110
  }
2112
- function Ki(e, n, t) {
2111
+ function Gi(e, n, t) {
2113
2112
  return r;
2114
2113
  function r(i, l, o, a) {
2115
2114
  const u = Array.isArray(o.children) ? t : n;
2116
2115
  return a ? u(l, o, a) : u(l, o);
2117
2116
  }
2118
2117
  }
2119
- function Qi(e, n) {
2118
+ function Ki(e, n) {
2120
2119
  return t;
2121
2120
  function t(r, i, l, o) {
2122
2121
  const a = Array.isArray(l.children), s = Fn(r);
@@ -2134,15 +2133,15 @@ function Qi(e, n) {
2134
2133
  );
2135
2134
  }
2136
2135
  }
2137
- function Ji(e, n) {
2136
+ function Qi(e, n) {
2138
2137
  const t = {};
2139
2138
  let r, i;
2140
2139
  for (i in n.properties)
2141
2140
  if (i !== "children" && Bn.call(n.properties, i)) {
2142
- const l = el(e, i, n.properties[i]);
2141
+ const l = Zi(e, i, n.properties[i]);
2143
2142
  if (l) {
2144
2143
  const [o, a] = l;
2145
- e.tableCellAlignToStyle && o === "align" && typeof a == "string" && $i.has(n.tagName) ? r = a : t[o] = a;
2144
+ e.tableCellAlignToStyle && o === "align" && typeof a == "string" && ji.has(n.tagName) ? r = a : t[o] = a;
2146
2145
  }
2147
2146
  }
2148
2147
  if (r) {
@@ -2154,7 +2153,7 @@ function Ji(e, n) {
2154
2153
  }
2155
2154
  return t;
2156
2155
  }
2157
- function Zi(e, n) {
2156
+ function Ji(e, n) {
2158
2157
  const t = {};
2159
2158
  for (const r of n.attributes)
2160
2159
  if (r.type === "mdxJsxExpressionAttribute")
@@ -2185,7 +2184,7 @@ function Zi(e, n) {
2185
2184
  function jn(e, n) {
2186
2185
  const t = [];
2187
2186
  let r = -1;
2188
- const i = e.passKeys ? /* @__PURE__ */ new Map() : Bi;
2187
+ const i = e.passKeys ? /* @__PURE__ */ new Map() : Fi;
2189
2188
  for (; ++r < n.children.length; ) {
2190
2189
  const l = n.children[r];
2191
2190
  let o;
@@ -2196,27 +2195,27 @@ function jn(e, n) {
2196
2195
  o = s + "-" + u, i.set(s, u + 1);
2197
2196
  }
2198
2197
  }
2199
- const a = lr(e, l, o);
2198
+ const a = ir(e, l, o);
2200
2199
  a !== void 0 && t.push(a);
2201
2200
  }
2202
2201
  return t;
2203
2202
  }
2204
- function el(e, n, t) {
2205
- const r = Ti(e.schema, n);
2203
+ function Zi(e, n, t) {
2204
+ const r = Pi(e.schema, n);
2206
2205
  if (!(t == null || typeof t == "number" && Number.isNaN(t))) {
2207
- if (Array.isArray(t) && (t = r.commaSeparated ? gi(t) : Zr(t)), r.property === "style") {
2208
- let i = typeof t == "object" ? t : nl(e, String(t));
2209
- return e.stylePropertyNameCase === "css" && (i = tl(i)), ["style", i];
2206
+ if (Array.isArray(t) && (t = r.commaSeparated ? di(t) : Jr(t)), r.property === "style") {
2207
+ let i = typeof t == "object" ? t : el(e, String(t));
2208
+ return e.stylePropertyNameCase === "css" && (i = nl(i)), ["style", i];
2210
2209
  }
2211
2210
  return [
2212
- e.elementAttributeNameCase === "react" && r.space ? Ei[r.property] || r.property : r.attribute,
2211
+ e.elementAttributeNameCase === "react" && r.space ? Ii[r.property] || r.property : r.attribute,
2213
2212
  t
2214
2213
  ];
2215
2214
  }
2216
2215
  }
2217
- function nl(e, n) {
2216
+ function el(e, n) {
2218
2217
  try {
2219
- return Oi(n, { reactCompat: !0 });
2218
+ return Di(n, { reactCompat: !0 });
2220
2219
  } catch (t) {
2221
2220
  if (e.ignoreInvalidStyle)
2222
2221
  return {};
@@ -2229,10 +2228,10 @@ function nl(e, n) {
2229
2228
  ruleId: "style",
2230
2229
  source: "hast-util-to-jsx-runtime"
2231
2230
  });
2232
- throw i.file = e.filePath || void 0, i.url = ir + "#cannot-parse-style-attribute", i;
2231
+ throw i.file = e.filePath || void 0, i.url = rr + "#cannot-parse-style-attribute", i;
2233
2232
  }
2234
2233
  }
2235
- function ar(e, n, t) {
2234
+ function or(e, n, t) {
2236
2235
  let r;
2237
2236
  if (!t)
2238
2237
  r = { type: "Literal", value: n };
@@ -2273,39 +2272,39 @@ function We(e, n) {
2273
2272
  source: "hast-util-to-jsx-runtime"
2274
2273
  }
2275
2274
  );
2276
- throw t.file = e.filePath || void 0, t.url = ir + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2275
+ throw t.file = e.filePath || void 0, t.url = rr + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2277
2276
  }
2278
- function tl(e) {
2277
+ function nl(e) {
2279
2278
  const n = {};
2280
2279
  let t;
2281
2280
  for (t in e)
2282
- Bn.call(e, t) && (n[rl(t)] = e[t]);
2281
+ Bn.call(e, t) && (n[tl(t)] = e[t]);
2283
2282
  return n;
2284
2283
  }
2285
- function rl(e) {
2286
- let n = e.replace(Ui, il);
2284
+ function tl(e) {
2285
+ let n = e.replace(Bi, rl);
2287
2286
  return n.slice(0, 3) === "ms-" && (n = "-" + n), n;
2288
2287
  }
2289
- function il(e) {
2288
+ function rl(e) {
2290
2289
  return "-" + e.toLowerCase();
2291
2290
  }
2292
- function ll(e) {
2291
+ function il(e) {
2293
2292
  const n = (
2294
2293
  /** @type {Processor} */
2295
2294
  this
2296
2295
  );
2297
2296
  n.compiler = t;
2298
2297
  function t(r, i) {
2299
- return Hi(r, { filePath: i.path, ...e });
2298
+ return $i(r, { filePath: i.path, ...e });
2300
2299
  }
2301
2300
  }
2302
- const ol = {};
2303
- function al(e, n) {
2304
- const t = ol, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2305
- return ur(e, r, i);
2301
+ const ll = {};
2302
+ function ol(e, n) {
2303
+ const t = ll, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2304
+ return ar(e, r, i);
2306
2305
  }
2307
- function ur(e, n, t) {
2308
- if (ul(e)) {
2306
+ function ar(e, n, t) {
2307
+ if (al(e)) {
2309
2308
  if ("value" in e)
2310
2309
  return e.type === "html" && !t ? "" : e.value;
2311
2310
  if (n && "alt" in e && e.alt)
@@ -2319,10 +2318,10 @@ function dt(e, n, t) {
2319
2318
  const r = [];
2320
2319
  let i = -1;
2321
2320
  for (; ++i < e.length; )
2322
- r[i] = ur(e[i], n, t);
2321
+ r[i] = ar(e[i], n, t);
2323
2322
  return r.join("");
2324
2323
  }
2325
- function ul(e) {
2324
+ function al(e) {
2326
2325
  return !!(e && typeof e == "object");
2327
2326
  }
2328
2327
  const gt = document.createElement("i");
@@ -2349,14 +2348,14 @@ function te(e, n) {
2349
2348
  return e.length > 0 ? (se(e, e.length, 0, n), e) : n;
2350
2349
  }
2351
2350
  const yt = {}.hasOwnProperty;
2352
- function sl(e) {
2351
+ function ul(e) {
2353
2352
  const n = {};
2354
2353
  let t = -1;
2355
2354
  for (; ++t < e.length; )
2356
- cl(n, e[t]);
2355
+ sl(n, e[t]);
2357
2356
  return n;
2358
2357
  }
2359
- function cl(e, n) {
2358
+ function sl(e, n) {
2360
2359
  let t;
2361
2360
  for (t in n) {
2362
2361
  const i = (yt.call(e, t) ? e[t] : void 0) || (e[t] = {}), l = n[t];
@@ -2365,7 +2364,7 @@ function cl(e, n) {
2365
2364
  for (o in l) {
2366
2365
  yt.call(i, o) || (i[o] = []);
2367
2366
  const a = l[o];
2368
- fl(
2367
+ cl(
2369
2368
  // @ts-expect-error Looks like a list.
2370
2369
  i[o],
2371
2370
  Array.isArray(a) ? a : a ? [a] : []
@@ -2373,14 +2372,14 @@ function cl(e, n) {
2373
2372
  }
2374
2373
  }
2375
2374
  }
2376
- function fl(e, n) {
2375
+ function cl(e, n) {
2377
2376
  let t = -1;
2378
2377
  const r = [];
2379
2378
  for (; ++t < n.length; )
2380
2379
  (n[t].add === "after" ? e : r).push(n[t]);
2381
2380
  se(e, 0, 0, r);
2382
2381
  }
2383
- function sr(e, n) {
2382
+ function ur(e, n) {
2384
2383
  const t = Number.parseInt(e, n);
2385
2384
  return (
2386
2385
  // C0 except for HT, LF, FF, CR, space.
@@ -2396,7 +2395,7 @@ function sr(e, n) {
2396
2395
  function ze(e) {
2397
2396
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
2398
2397
  }
2399
- const ue = ge(/[A-Za-z]/), ne = ge(/[\dA-Za-z]/), pl = ge(/[#-'*+\--9=?A-Z^-~]/);
2398
+ const ue = ge(/[A-Za-z]/), ne = ge(/[\dA-Za-z]/), fl = ge(/[#-'*+\--9=?A-Z^-~]/);
2400
2399
  function In(e) {
2401
2400
  return (
2402
2401
  // Special whitespace codes (which have negative values), C0 and Control
@@ -2404,7 +2403,7 @@ function In(e) {
2404
2403
  e !== null && (e < 32 || e === 127)
2405
2404
  );
2406
2405
  }
2407
- const En = ge(/\d/), hl = ge(/[\dA-Fa-f]/), ml = ge(/[!-/:-@[-`{-~]/);
2406
+ const En = ge(/\d/), pl = ge(/[\dA-Fa-f]/), hl = ge(/[!-/:-@[-`{-~]/);
2408
2407
  function L(e) {
2409
2408
  return e !== null && e < -2;
2410
2409
  }
@@ -2414,7 +2413,7 @@ function Q(e) {
2414
2413
  function v(e) {
2415
2414
  return e === -2 || e === -1 || e === 32;
2416
2415
  }
2417
- const dl = ge(new RegExp("\\p{P}|\\p{S}", "u")), gl = ge(/\s/);
2416
+ const ml = ge(new RegExp("\\p{P}|\\p{S}", "u")), dl = ge(/\s/);
2418
2417
  function ge(e) {
2419
2418
  return n;
2420
2419
  function n(t) {
@@ -2451,10 +2450,10 @@ function q(e, n, t, r) {
2451
2450
  return v(s) && l++ < i ? (e.consume(s), a) : (e.exit(t), n(s));
2452
2451
  }
2453
2452
  }
2454
- const yl = {
2455
- tokenize: kl
2453
+ const gl = {
2454
+ tokenize: yl
2456
2455
  };
2457
- function kl(e) {
2456
+ function yl(e) {
2458
2457
  const n = e.attempt(this.parser.constructs.contentInitial, r, i);
2459
2458
  let t;
2460
2459
  return n;
@@ -2483,12 +2482,12 @@ function kl(e) {
2483
2482
  return L(a) ? (e.consume(a), e.exit("chunkText"), l) : (e.consume(a), o);
2484
2483
  }
2485
2484
  }
2486
- const xl = {
2487
- tokenize: bl
2485
+ const kl = {
2486
+ tokenize: xl
2488
2487
  }, kt = {
2489
- tokenize: wl
2488
+ tokenize: bl
2490
2489
  };
2491
- function bl(e) {
2490
+ function xl(e) {
2492
2491
  const n = this, t = [];
2493
2492
  let r = 0, i, l, o;
2494
2493
  return a;
@@ -2600,13 +2599,13 @@ function bl(e) {
2600
2599
  i.write([null]), l = void 0, i = void 0, n.containerState._closeFlow = void 0;
2601
2600
  }
2602
2601
  }
2603
- function wl(e, n, t) {
2602
+ function bl(e, n, t) {
2604
2603
  return q(e, e.attempt(this.parser.constructs.document, n, t), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
2605
2604
  }
2606
2605
  function xt(e) {
2607
- if (e === null || Q(e) || gl(e))
2606
+ if (e === null || Q(e) || dl(e))
2608
2607
  return 1;
2609
- if (dl(e))
2608
+ if (ml(e))
2610
2609
  return 2;
2611
2610
  }
2612
2611
  function Hn(e, n, t) {
@@ -2620,10 +2619,10 @@ function Hn(e, n, t) {
2620
2619
  }
2621
2620
  const An = {
2622
2621
  name: "attention",
2623
- resolveAll: Sl,
2624
- tokenize: Cl
2622
+ resolveAll: wl,
2623
+ tokenize: Sl
2625
2624
  };
2626
- function Sl(e, n) {
2625
+ function wl(e, n) {
2627
2626
  let t = -1, r, i, l, o, a, s, u, c;
2628
2627
  for (; ++t < e.length; )
2629
2628
  if (e[t][0] === "enter" && e[t][1].type === "attentionSequence" && e[t][1]._close) {
@@ -2678,7 +2677,7 @@ function Sl(e, n) {
2678
2677
  e[t][1].type === "attentionSequence" && (e[t][1].type = "data");
2679
2678
  return e;
2680
2679
  }
2681
- function Cl(e, n) {
2680
+ function Sl(e, n) {
2682
2681
  const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = xt(r);
2683
2682
  let l;
2684
2683
  return o;
@@ -2695,11 +2694,11 @@ function Cl(e, n) {
2695
2694
  function bt(e, n) {
2696
2695
  e.column += n, e.offset += n, e._bufferIndex += n;
2697
2696
  }
2698
- const Il = {
2697
+ const Cl = {
2699
2698
  name: "autolink",
2700
- tokenize: El
2699
+ tokenize: Il
2701
2700
  };
2702
- function El(e, n, t) {
2701
+ function Il(e, n, t) {
2703
2702
  let r = 0;
2704
2703
  return i;
2705
2704
  function i(p) {
@@ -2718,7 +2717,7 @@ function El(e, n, t) {
2718
2717
  return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), n) : p === null || p === 32 || p === 60 || In(p) ? t(p) : (e.consume(p), s);
2719
2718
  }
2720
2719
  function u(p) {
2721
- return p === 64 ? (e.consume(p), c) : pl(p) ? (e.consume(p), u) : t(p);
2720
+ return p === 64 ? (e.consume(p), c) : fl(p) ? (e.consume(p), u) : t(p);
2722
2721
  }
2723
2722
  function c(p) {
2724
2723
  return ne(p) ? f(p) : t(p);
@@ -2736,9 +2735,9 @@ function El(e, n, t) {
2736
2735
  }
2737
2736
  const rn = {
2738
2737
  partial: !0,
2739
- tokenize: Al
2738
+ tokenize: El
2740
2739
  };
2741
- function Al(e, n, t) {
2740
+ function El(e, n, t) {
2742
2741
  return r;
2743
2742
  function r(l) {
2744
2743
  return v(l) ? q(e, i, "linePrefix")(l) : i(l);
@@ -2747,15 +2746,15 @@ function Al(e, n, t) {
2747
2746
  return l === null || L(l) ? n(l) : t(l);
2748
2747
  }
2749
2748
  }
2750
- const cr = {
2749
+ const sr = {
2751
2750
  continuation: {
2752
- tokenize: Tl
2751
+ tokenize: Pl
2753
2752
  },
2754
- exit: Ll,
2753
+ exit: Tl,
2755
2754
  name: "blockQuote",
2756
- tokenize: Pl
2755
+ tokenize: Al
2757
2756
  };
2758
- function Pl(e, n, t) {
2757
+ function Al(e, n, t) {
2759
2758
  const r = this;
2760
2759
  return i;
2761
2760
  function i(o) {
@@ -2771,37 +2770,37 @@ function Pl(e, n, t) {
2771
2770
  return v(o) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(o), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), n) : (e.exit("blockQuotePrefix"), n(o));
2772
2771
  }
2773
2772
  }
2774
- function Tl(e, n, t) {
2773
+ function Pl(e, n, t) {
2775
2774
  const r = this;
2776
2775
  return i;
2777
2776
  function i(o) {
2778
2777
  return v(o) ? q(e, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : l(o);
2779
2778
  }
2780
2779
  function l(o) {
2781
- return e.attempt(cr, n, t)(o);
2780
+ return e.attempt(sr, n, t)(o);
2782
2781
  }
2783
2782
  }
2784
- function Ll(e) {
2783
+ function Tl(e) {
2785
2784
  e.exit("blockQuote");
2786
2785
  }
2787
- const fr = {
2786
+ const cr = {
2788
2787
  name: "characterEscape",
2789
- tokenize: zl
2788
+ tokenize: Ll
2790
2789
  };
2791
- function zl(e, n, t) {
2790
+ function Ll(e, n, t) {
2792
2791
  return r;
2793
2792
  function r(l) {
2794
2793
  return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(l), e.exit("escapeMarker"), i;
2795
2794
  }
2796
2795
  function i(l) {
2797
- return ml(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2796
+ return hl(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2798
2797
  }
2799
2798
  }
2800
- const pr = {
2799
+ const fr = {
2801
2800
  name: "characterReference",
2802
- tokenize: _l
2801
+ tokenize: zl
2803
2802
  };
2804
- function _l(e, n, t) {
2803
+ function zl(e, n, t) {
2805
2804
  const r = this;
2806
2805
  let i = 0, l, o;
2807
2806
  return a;
@@ -2812,7 +2811,7 @@ function _l(e, n, t) {
2812
2811
  return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), l = 31, o = ne, c(f));
2813
2812
  }
2814
2813
  function u(f) {
2815
- return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = hl, c) : (e.enter("characterReferenceValue"), l = 7, o = En, c(f));
2814
+ return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = pl, c) : (e.enter("characterReferenceValue"), l = 7, o = En, c(f));
2816
2815
  }
2817
2816
  function c(f) {
2818
2817
  if (f === 59 && i) {
@@ -2824,13 +2823,13 @@ function _l(e, n, t) {
2824
2823
  }
2825
2824
  const wt = {
2826
2825
  partial: !0,
2827
- tokenize: Nl
2826
+ tokenize: Ml
2828
2827
  }, St = {
2829
2828
  concrete: !0,
2830
2829
  name: "codeFenced",
2831
- tokenize: Ml
2830
+ tokenize: _l
2832
2831
  };
2833
- function Ml(e, n, t) {
2832
+ function _l(e, n, t) {
2834
2833
  const r = this, i = {
2835
2834
  partial: !0,
2836
2835
  tokenize: j
@@ -2901,7 +2900,7 @@ function Ml(e, n, t) {
2901
2900
  }
2902
2901
  }
2903
2902
  }
2904
- function Nl(e, n, t) {
2903
+ function Ml(e, n, t) {
2905
2904
  const r = this;
2906
2905
  return i;
2907
2906
  function i(o) {
@@ -2913,12 +2912,12 @@ function Nl(e, n, t) {
2913
2912
  }
2914
2913
  const sn = {
2915
2914
  name: "codeIndented",
2916
- tokenize: vl
2917
- }, Rl = {
2915
+ tokenize: Rl
2916
+ }, Nl = {
2918
2917
  partial: !0,
2919
- tokenize: Dl
2918
+ tokenize: vl
2920
2919
  };
2921
- function vl(e, n, t) {
2920
+ function Rl(e, n, t) {
2922
2921
  const r = this;
2923
2922
  return i;
2924
2923
  function i(u) {
@@ -2929,7 +2928,7 @@ function vl(e, n, t) {
2929
2928
  return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? o(u) : t(u);
2930
2929
  }
2931
2930
  function o(u) {
2932
- return u === null ? s(u) : L(u) ? e.attempt(Rl, o, s)(u) : (e.enter("codeFlowValue"), a(u));
2931
+ return u === null ? s(u) : L(u) ? e.attempt(Nl, o, s)(u) : (e.enter("codeFlowValue"), a(u));
2933
2932
  }
2934
2933
  function a(u) {
2935
2934
  return u === null || L(u) ? (e.exit("codeFlowValue"), o(u)) : (e.consume(u), a);
@@ -2938,7 +2937,7 @@ function vl(e, n, t) {
2938
2937
  return e.exit("codeIndented"), n(u);
2939
2938
  }
2940
2939
  }
2941
- function Dl(e, n, t) {
2940
+ function vl(e, n, t) {
2942
2941
  const r = this;
2943
2942
  return i;
2944
2943
  function i(o) {
@@ -2949,13 +2948,13 @@ function Dl(e, n, t) {
2949
2948
  return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? n(o) : L(o) ? i(o) : t(o);
2950
2949
  }
2951
2950
  }
2952
- const Ol = {
2951
+ const Dl = {
2953
2952
  name: "codeText",
2954
- previous: Bl,
2955
- resolve: Fl,
2956
- tokenize: Ul
2953
+ previous: Fl,
2954
+ resolve: Ol,
2955
+ tokenize: Bl
2957
2956
  };
2958
- function Fl(e) {
2957
+ function Ol(e) {
2959
2958
  let n = e.length - 4, t = 3, r, i;
2960
2959
  if ((e[t][1].type === "lineEnding" || e[t][1].type === "space") && (e[n][1].type === "lineEnding" || e[n][1].type === "space")) {
2961
2960
  for (r = t; ++r < n; )
@@ -2968,10 +2967,10 @@ function Fl(e) {
2968
2967
  i === void 0 ? r !== n && e[r][1].type !== "lineEnding" && (i = r) : (r === n || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), n -= r - i - 2, r = i + 2), i = void 0);
2969
2968
  return e;
2970
2969
  }
2971
- function Bl(e) {
2970
+ function Fl(e) {
2972
2971
  return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
2973
2972
  }
2974
- function Ul(e, n, t) {
2973
+ function Bl(e, n, t) {
2975
2974
  let r = 0, i, l;
2976
2975
  return o;
2977
2976
  function o(f) {
@@ -2990,7 +2989,7 @@ function Ul(e, n, t) {
2990
2989
  return f === 96 ? (e.consume(f), i++, c) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), n(f)) : (l.type = "codeTextData", u(f));
2991
2990
  }
2992
2991
  }
2993
- class jl {
2992
+ class Ul {
2994
2993
  /**
2995
2994
  * @param {ReadonlyArray<T> | null | undefined} [initial]
2996
2995
  * Initial items (optional).
@@ -3162,10 +3161,10 @@ function Ue(e, n) {
3162
3161
  for (; t < n.length; )
3163
3162
  e.push(...n.slice(t, t + 1e4)), t += 1e4;
3164
3163
  }
3165
- function hr(e) {
3164
+ function pr(e) {
3166
3165
  const n = {};
3167
3166
  let t = -1, r, i, l, o, a, s, u;
3168
- const c = new jl(e);
3167
+ const c = new Ul(e);
3169
3168
  for (; ++t < c.length; ) {
3170
3169
  for (; t in n; )
3171
3170
  t = n[t];
@@ -3173,7 +3172,7 @@ function hr(e) {
3173
3172
  for (; ++l < s.length && s[l][1].type !== "content"; )
3174
3173
  s[l][1].type === "chunkText" && (s[l][1]._isInFirstContentOfListItem = !0, l++);
3175
3174
  if (r[0] === "enter")
3176
- r[1].contentType && (Object.assign(n, $l(c, t)), t = n[t], u = !0);
3175
+ r[1].contentType && (Object.assign(n, jl(c, t)), t = n[t], u = !0);
3177
3176
  else if (r[1]._container) {
3178
3177
  for (l = t, i = void 0; l--; )
3179
3178
  if (o = c.get(l), o[1].type === "lineEnding" || o[1].type === "lineEndingBlank")
@@ -3186,7 +3185,7 @@ function hr(e) {
3186
3185
  }
3187
3186
  return se(e, 0, Number.POSITIVE_INFINITY, c.slice(0)), !u;
3188
3187
  }
3189
- function $l(e, n) {
3188
+ function jl(e, n) {
3190
3189
  const t = e.get(n)[1], r = e.get(n)[2];
3191
3190
  let i = n - 1;
3192
3191
  const l = [];
@@ -3211,17 +3210,17 @@ function $l(e, n) {
3211
3210
  u[b + s[d][0]] = b + s[d][1], b += s[d][1] - s[d][0] - 1;
3212
3211
  return u;
3213
3212
  }
3214
- const Hl = {
3215
- resolve: ql,
3216
- tokenize: Wl
3217
- }, Vl = {
3213
+ const $l = {
3214
+ resolve: Vl,
3215
+ tokenize: ql
3216
+ }, Hl = {
3218
3217
  partial: !0,
3219
- tokenize: Xl
3218
+ tokenize: Wl
3220
3219
  };
3221
- function ql(e) {
3222
- return hr(e), e;
3220
+ function Vl(e) {
3221
+ return pr(e), e;
3223
3222
  }
3224
- function Wl(e, n) {
3223
+ function ql(e, n) {
3225
3224
  let t;
3226
3225
  return r;
3227
3226
  function r(a) {
@@ -3230,7 +3229,7 @@ function Wl(e, n) {
3230
3229
  }), i(a);
3231
3230
  }
3232
3231
  function i(a) {
3233
- return a === null ? l(a) : L(a) ? e.check(Vl, o, l)(a) : (e.consume(a), i);
3232
+ return a === null ? l(a) : L(a) ? e.check(Hl, o, l)(a) : (e.consume(a), i);
3234
3233
  }
3235
3234
  function l(a) {
3236
3235
  return e.exit("chunkContent"), e.exit("content"), n(a);
@@ -3242,7 +3241,7 @@ function Wl(e, n) {
3242
3241
  }), t = t.next, i;
3243
3242
  }
3244
3243
  }
3245
- function Xl(e, n, t) {
3244
+ function Wl(e, n, t) {
3246
3245
  const r = this;
3247
3246
  return i;
3248
3247
  function i(o) {
@@ -3255,7 +3254,7 @@ function Xl(e, n, t) {
3255
3254
  return !r.parser.constructs.disable.null.includes("codeIndented") && a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? n(o) : e.interrupt(r.parser.constructs.flow, t, n)(o);
3256
3255
  }
3257
3256
  }
3258
- function mr(e, n, t, r, i, l, o, a, s) {
3257
+ function hr(e, n, t, r, i, l, o, a, s) {
3259
3258
  const u = s || Number.POSITIVE_INFINITY;
3260
3259
  let c = 0;
3261
3260
  return f;
@@ -3282,7 +3281,7 @@ function mr(e, n, t, r, i, l, o, a, s) {
3282
3281
  return k === 40 || k === 41 || k === 92 ? (e.consume(k), S) : S(k);
3283
3282
  }
3284
3283
  }
3285
- function dr(e, n, t, r, i, l) {
3284
+ function mr(e, n, t, r, i, l) {
3286
3285
  const o = this;
3287
3286
  let a = 0, s;
3288
3287
  return u;
@@ -3306,7 +3305,7 @@ function dr(e, n, t, r, i, l) {
3306
3305
  return p === 91 || p === 92 || p === 93 ? (e.consume(p), a++, f) : f(p);
3307
3306
  }
3308
3307
  }
3309
- function gr(e, n, t, r, i, l) {
3308
+ function dr(e, n, t, r, i, l) {
3310
3309
  let o;
3311
3310
  return a;
3312
3311
  function a(d) {
@@ -3334,14 +3333,14 @@ function qe(e, n) {
3334
3333
  return L(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), t = !0, r) : v(i) ? q(e, r, t ? "linePrefix" : "lineSuffix")(i) : n(i);
3335
3334
  }
3336
3335
  }
3337
- const Yl = {
3336
+ const Xl = {
3338
3337
  name: "definition",
3339
- tokenize: Kl
3340
- }, Gl = {
3338
+ tokenize: Gl
3339
+ }, Yl = {
3341
3340
  partial: !0,
3342
- tokenize: Ql
3341
+ tokenize: Kl
3343
3342
  };
3344
- function Kl(e, n, t) {
3343
+ function Gl(e, n, t) {
3345
3344
  const r = this;
3346
3345
  let i;
3347
3346
  return l;
@@ -3349,7 +3348,7 @@ function Kl(e, n, t) {
3349
3348
  return e.enter("definition"), o(p);
3350
3349
  }
3351
3350
  function o(p) {
3352
- return dr.call(
3351
+ return mr.call(
3353
3352
  r,
3354
3353
  e,
3355
3354
  a,
@@ -3367,7 +3366,7 @@ function Kl(e, n, t) {
3367
3366
  return Q(p) ? qe(e, u)(p) : u(p);
3368
3367
  }
3369
3368
  function u(p) {
3370
- return mr(
3369
+ return hr(
3371
3370
  e,
3372
3371
  c,
3373
3372
  // Note: we don’t need to reset the way `markdown-rs` does.
@@ -3380,7 +3379,7 @@ function Kl(e, n, t) {
3380
3379
  )(p);
3381
3380
  }
3382
3381
  function c(p) {
3383
- return e.attempt(Gl, f, f)(p);
3382
+ return e.attempt(Yl, f, f)(p);
3384
3383
  }
3385
3384
  function f(p) {
3386
3385
  return v(p) ? q(e, d, "whitespace")(p) : d(p);
@@ -3389,13 +3388,13 @@ function Kl(e, n, t) {
3389
3388
  return p === null || L(p) ? (e.exit("definition"), r.parser.defined.push(i), n(p)) : t(p);
3390
3389
  }
3391
3390
  }
3392
- function Ql(e, n, t) {
3391
+ function Kl(e, n, t) {
3393
3392
  return r;
3394
3393
  function r(a) {
3395
3394
  return Q(a) ? qe(e, i)(a) : t(a);
3396
3395
  }
3397
3396
  function i(a) {
3398
- return gr(e, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
3397
+ return dr(e, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
3399
3398
  }
3400
3399
  function l(a) {
3401
3400
  return v(a) ? q(e, o, "whitespace")(a) : o(a);
@@ -3404,11 +3403,11 @@ function Ql(e, n, t) {
3404
3403
  return a === null || L(a) ? n(a) : t(a);
3405
3404
  }
3406
3405
  }
3407
- const Jl = {
3406
+ const Ql = {
3408
3407
  name: "hardBreakEscape",
3409
- tokenize: Zl
3408
+ tokenize: Jl
3410
3409
  };
3411
- function Zl(e, n, t) {
3410
+ function Jl(e, n, t) {
3412
3411
  return r;
3413
3412
  function r(l) {
3414
3413
  return e.enter("hardBreakEscape"), e.consume(l), i;
@@ -3417,12 +3416,12 @@ function Zl(e, n, t) {
3417
3416
  return L(l) ? (e.exit("hardBreakEscape"), n(l)) : t(l);
3418
3417
  }
3419
3418
  }
3420
- const eo = {
3419
+ const Zl = {
3421
3420
  name: "headingAtx",
3422
- resolve: no,
3423
- tokenize: to
3421
+ resolve: eo,
3422
+ tokenize: no
3424
3423
  };
3425
- function no(e, n) {
3424
+ function eo(e, n) {
3426
3425
  let t = e.length - 2, r = 3, i, l;
3427
3426
  return e[r][1].type === "whitespace" && (r += 2), t - 2 > r && e[t][1].type === "whitespace" && (t -= 2), e[t][1].type === "atxHeadingSequence" && (r === t - 1 || t - 4 > r && e[t - 2][1].type === "whitespace") && (t -= r + 1 === t ? 2 : 4), t > r && (i = {
3428
3427
  type: "atxHeadingText",
@@ -3435,7 +3434,7 @@ function no(e, n) {
3435
3434
  contentType: "text"
3436
3435
  }, se(e, r, t - r + 1, [["enter", i, n], ["enter", l, n], ["exit", l, n], ["exit", i, n]])), e;
3437
3436
  }
3438
- function to(e, n, t) {
3437
+ function no(e, n, t) {
3439
3438
  let r = 0;
3440
3439
  return i;
3441
3440
  function i(c) {
@@ -3457,7 +3456,7 @@ function to(e, n, t) {
3457
3456
  return c === null || c === 35 || Q(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), u);
3458
3457
  }
3459
3458
  }
3460
- const ro = [
3459
+ const to = [
3461
3460
  "address",
3462
3461
  "article",
3463
3462
  "aside",
@@ -3520,25 +3519,25 @@ const ro = [
3520
3519
  "tr",
3521
3520
  "track",
3522
3521
  "ul"
3523
- ], Ct = ["pre", "script", "style", "textarea"], io = {
3522
+ ], Ct = ["pre", "script", "style", "textarea"], ro = {
3524
3523
  concrete: !0,
3525
3524
  name: "htmlFlow",
3526
- resolveTo: ao,
3527
- tokenize: uo
3528
- }, lo = {
3529
- partial: !0,
3530
- tokenize: co
3531
- }, oo = {
3525
+ resolveTo: oo,
3526
+ tokenize: ao
3527
+ }, io = {
3532
3528
  partial: !0,
3533
3529
  tokenize: so
3530
+ }, lo = {
3531
+ partial: !0,
3532
+ tokenize: uo
3534
3533
  };
3535
- function ao(e) {
3534
+ function oo(e) {
3536
3535
  let n = e.length;
3537
3536
  for (; n-- && !(e[n][0] === "enter" && e[n][1].type === "htmlFlow"); )
3538
3537
  ;
3539
3538
  return n > 1 && e[n - 2][1].type === "linePrefix" && (e[n][1].start = e[n - 2][1].start, e[n + 1][1].start = e[n - 2][1].start, e.splice(n - 2, 2)), e;
3540
3539
  }
3541
- function uo(e, n, t) {
3540
+ function ao(e, n, t) {
3542
3541
  const r = this;
3543
3542
  let i, l, o, a, s;
3544
3543
  return u;
@@ -3567,7 +3566,7 @@ function uo(e, n, t) {
3567
3566
  function E(m) {
3568
3567
  if (m === null || m === 47 || m === 62 || Q(m)) {
3569
3568
  const le = m === 47, ye = o.toLowerCase();
3570
- return !le && !l && Ct.includes(ye) ? (i = 1, r.interrupt ? n(m) : A(m)) : ro.includes(o.toLowerCase()) ? (i = 6, le ? (e.consume(m), k) : r.interrupt ? n(m) : A(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? z(m) : I(m));
3569
+ return !le && !l && Ct.includes(ye) ? (i = 1, r.interrupt ? n(m) : A(m)) : to.includes(o.toLowerCase()) ? (i = 6, le ? (e.consume(m), k) : r.interrupt ? n(m) : A(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? z(m) : I(m));
3571
3570
  }
3572
3571
  return m === 45 || ne(m) ? (e.consume(m), o += String.fromCharCode(m), E) : t(m);
3573
3572
  }
@@ -3605,10 +3604,10 @@ function uo(e, n, t) {
3605
3604
  return m === null || L(m) ? A(m) : v(m) ? (e.consume(m), P) : t(m);
3606
3605
  }
3607
3606
  function A(m) {
3608
- return m === 45 && i === 2 ? (e.consume(m), F) : m === 60 && i === 1 ? (e.consume(m), X) : m === 62 && i === 4 ? (e.consume(m), ie) : m === 63 && i === 3 ? (e.consume(m), h) : m === 93 && i === 5 ? (e.consume(m), ce) : L(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(lo, fe, H)(m)) : m === null || L(m) ? (e.exit("htmlFlowData"), H(m)) : (e.consume(m), A);
3607
+ return m === 45 && i === 2 ? (e.consume(m), F) : m === 60 && i === 1 ? (e.consume(m), X) : m === 62 && i === 4 ? (e.consume(m), ie) : m === 63 && i === 3 ? (e.consume(m), h) : m === 93 && i === 5 ? (e.consume(m), ce) : L(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(io, fe, H)(m)) : m === null || L(m) ? (e.exit("htmlFlowData"), H(m)) : (e.consume(m), A);
3609
3608
  }
3610
3609
  function H(m) {
3611
- return e.check(oo, T, fe)(m);
3610
+ return e.check(lo, T, fe)(m);
3612
3611
  }
3613
3612
  function T(m) {
3614
3613
  return e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), C;
@@ -3642,7 +3641,7 @@ function uo(e, n, t) {
3642
3641
  return e.exit("htmlFlow"), n(m);
3643
3642
  }
3644
3643
  }
3645
- function so(e, n, t) {
3644
+ function uo(e, n, t) {
3646
3645
  const r = this;
3647
3646
  return i;
3648
3647
  function i(o) {
@@ -3652,17 +3651,17 @@ function so(e, n, t) {
3652
3651
  return r.parser.lazy[r.now().line] ? t(o) : n(o);
3653
3652
  }
3654
3653
  }
3655
- function co(e, n, t) {
3654
+ function so(e, n, t) {
3656
3655
  return r;
3657
3656
  function r(i) {
3658
3657
  return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(rn, n, t);
3659
3658
  }
3660
3659
  }
3661
- const fo = {
3660
+ const co = {
3662
3661
  name: "htmlText",
3663
- tokenize: po
3662
+ tokenize: fo
3664
3663
  };
3665
- function po(e, n, t) {
3664
+ function fo(e, n, t) {
3666
3665
  const r = this;
3667
3666
  let i, l, o;
3668
3667
  return a;
@@ -3757,17 +3756,17 @@ function po(e, n, t) {
3757
3756
  }
3758
3757
  const Vn = {
3759
3758
  name: "labelEnd",
3760
- resolveAll: yo,
3761
- resolveTo: ko,
3759
+ resolveAll: go,
3760
+ resolveTo: yo,
3761
+ tokenize: ko
3762
+ }, po = {
3762
3763
  tokenize: xo
3763
3764
  }, ho = {
3764
3765
  tokenize: bo
3765
3766
  }, mo = {
3766
3767
  tokenize: wo
3767
- }, go = {
3768
- tokenize: So
3769
3768
  };
3770
- function yo(e) {
3769
+ function go(e) {
3771
3770
  let n = -1;
3772
3771
  const t = [];
3773
3772
  for (; ++n < e.length; ) {
@@ -3779,7 +3778,7 @@ function yo(e) {
3779
3778
  }
3780
3779
  return e.length !== t.length && se(e, 0, e.length, t), e;
3781
3780
  }
3782
- function ko(e, n) {
3781
+ function yo(e, n) {
3783
3782
  let t = e.length, r = 0, i, l, o, a;
3784
3783
  for (; t--; )
3785
3784
  if (i = e[t][1], l) {
@@ -3819,7 +3818,7 @@ function ko(e, n) {
3819
3818
  };
3820
3819
  return a = [["enter", s, n], ["enter", u, n]], a = te(a, e.slice(l + 1, l + r + 3)), a = te(a, [["enter", c, n]]), a = te(a, Hn(n.parser.constructs.insideSpan.null, e.slice(l + r + 4, o - 3), n)), a = te(a, [["exit", c, n], e[o - 2], e[o - 1], ["exit", u, n]]), a = te(a, e.slice(o + 1)), a = te(a, [["exit", s, n]]), se(e, l, e.length, a), e;
3821
3820
  }
3822
- function xo(e, n, t) {
3821
+ function ko(e, n, t) {
3823
3822
  const r = this;
3824
3823
  let i = r.events.length, l, o;
3825
3824
  for (; i--; )
@@ -3835,10 +3834,10 @@ function xo(e, n, t) {
3835
3834
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(d), e.exit("labelMarker"), e.exit("labelEnd"), s) : t(d);
3836
3835
  }
3837
3836
  function s(d) {
3838
- return d === 40 ? e.attempt(ho, c, o ? c : f)(d) : d === 91 ? e.attempt(mo, c, o ? u : f)(d) : o ? c(d) : f(d);
3837
+ return d === 40 ? e.attempt(po, c, o ? c : f)(d) : d === 91 ? e.attempt(ho, c, o ? u : f)(d) : o ? c(d) : f(d);
3839
3838
  }
3840
3839
  function u(d) {
3841
- return e.attempt(go, c, f)(d);
3840
+ return e.attempt(mo, c, f)(d);
3842
3841
  }
3843
3842
  function c(d) {
3844
3843
  return n(d);
@@ -3847,7 +3846,7 @@ function xo(e, n, t) {
3847
3846
  return l._balanced = !0, t(d);
3848
3847
  }
3849
3848
  }
3850
- function bo(e, n, t) {
3849
+ function xo(e, n, t) {
3851
3850
  return r;
3852
3851
  function r(f) {
3853
3852
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), i;
@@ -3856,7 +3855,7 @@ function bo(e, n, t) {
3856
3855
  return Q(f) ? qe(e, l)(f) : l(f);
3857
3856
  }
3858
3857
  function l(f) {
3859
- return f === 41 ? c(f) : mr(e, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(f);
3858
+ return f === 41 ? c(f) : hr(e, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(f);
3860
3859
  }
3861
3860
  function o(f) {
3862
3861
  return Q(f) ? qe(e, s)(f) : c(f);
@@ -3865,7 +3864,7 @@ function bo(e, n, t) {
3865
3864
  return t(f);
3866
3865
  }
3867
3866
  function s(f) {
3868
- return f === 34 || f === 39 || f === 40 ? gr(e, u, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(f) : c(f);
3867
+ return f === 34 || f === 39 || f === 40 ? dr(e, u, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(f) : c(f);
3869
3868
  }
3870
3869
  function u(f) {
3871
3870
  return Q(f) ? qe(e, c)(f) : c(f);
@@ -3874,11 +3873,11 @@ function bo(e, n, t) {
3874
3873
  return f === 41 ? (e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), e.exit("resource"), n) : t(f);
3875
3874
  }
3876
3875
  }
3877
- function wo(e, n, t) {
3876
+ function bo(e, n, t) {
3878
3877
  const r = this;
3879
3878
  return i;
3880
3879
  function i(a) {
3881
- return dr.call(r, e, l, o, "reference", "referenceMarker", "referenceString")(a);
3880
+ return mr.call(r, e, l, o, "reference", "referenceMarker", "referenceString")(a);
3882
3881
  }
3883
3882
  function l(a) {
3884
3883
  return r.parser.defined.includes(ze(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? n(a) : t(a);
@@ -3887,7 +3886,7 @@ function wo(e, n, t) {
3887
3886
  return t(a);
3888
3887
  }
3889
3888
  }
3890
- function So(e, n, t) {
3889
+ function wo(e, n, t) {
3891
3890
  return r;
3892
3891
  function r(l) {
3893
3892
  return e.enter("reference"), e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), i;
@@ -3896,12 +3895,12 @@ function So(e, n, t) {
3896
3895
  return l === 93 ? (e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), e.exit("reference"), n) : t(l);
3897
3896
  }
3898
3897
  }
3899
- const Co = {
3898
+ const So = {
3900
3899
  name: "labelStartImage",
3901
3900
  resolveAll: Vn.resolveAll,
3902
- tokenize: Io
3901
+ tokenize: Co
3903
3902
  };
3904
- function Io(e, n, t) {
3903
+ function Co(e, n, t) {
3905
3904
  const r = this;
3906
3905
  return i;
3907
3906
  function i(a) {
@@ -3914,12 +3913,12 @@ function Io(e, n, t) {
3914
3913
  return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(a) : n(a);
3915
3914
  }
3916
3915
  }
3917
- const Eo = {
3916
+ const Io = {
3918
3917
  name: "labelStartLink",
3919
3918
  resolveAll: Vn.resolveAll,
3920
- tokenize: Ao
3919
+ tokenize: Eo
3921
3920
  };
3922
- function Ao(e, n, t) {
3921
+ function Eo(e, n, t) {
3923
3922
  const r = this;
3924
3923
  return i;
3925
3924
  function i(o) {
@@ -3931,9 +3930,9 @@ function Ao(e, n, t) {
3931
3930
  }
3932
3931
  const cn = {
3933
3932
  name: "lineEnding",
3934
- tokenize: Po
3933
+ tokenize: Ao
3935
3934
  };
3936
- function Po(e, n) {
3935
+ function Ao(e, n) {
3937
3936
  return t;
3938
3937
  function t(r) {
3939
3938
  return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), q(e, n, "linePrefix");
@@ -3941,9 +3940,9 @@ function Po(e, n) {
3941
3940
  }
3942
3941
  const Ze = {
3943
3942
  name: "thematicBreak",
3944
- tokenize: To
3943
+ tokenize: Po
3945
3944
  };
3946
- function To(e, n, t) {
3945
+ function Po(e, n, t) {
3947
3946
  let r = 0, i;
3948
3947
  return l;
3949
3948
  function l(u) {
@@ -3961,19 +3960,19 @@ function To(e, n, t) {
3961
3960
  }
3962
3961
  const K = {
3963
3962
  continuation: {
3964
- tokenize: Mo
3963
+ tokenize: _o
3965
3964
  },
3966
- exit: Ro,
3965
+ exit: No,
3967
3966
  name: "list",
3968
- tokenize: _o
3969
- }, Lo = {
3967
+ tokenize: zo
3968
+ }, To = {
3970
3969
  partial: !0,
3971
- tokenize: vo
3972
- }, zo = {
3970
+ tokenize: Ro
3971
+ }, Lo = {
3973
3972
  partial: !0,
3974
- tokenize: No
3973
+ tokenize: Mo
3975
3974
  };
3976
- function _o(e, n, t) {
3975
+ function zo(e, n, t) {
3977
3976
  const r = this, i = r.events[r.events.length - 1];
3978
3977
  let l = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
3979
3978
  return a;
@@ -3997,7 +3996,7 @@ function _o(e, n, t) {
3997
3996
  rn,
3998
3997
  // Can’t be empty when interrupting.
3999
3998
  r.interrupt ? t : c,
4000
- e.attempt(Lo, d, f)
3999
+ e.attempt(To, d, f)
4001
4000
  );
4002
4001
  }
4003
4002
  function c(p) {
@@ -4010,20 +4009,20 @@ function _o(e, n, t) {
4010
4009
  return r.containerState.size = l + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, n(p);
4011
4010
  }
4012
4011
  }
4013
- function Mo(e, n, t) {
4012
+ function _o(e, n, t) {
4014
4013
  const r = this;
4015
4014
  return r.containerState._closeFlow = void 0, e.check(rn, i, l);
4016
4015
  function i(a) {
4017
4016
  return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, q(e, n, "listItemIndent", r.containerState.size + 1)(a);
4018
4017
  }
4019
4018
  function l(a) {
4020
- return r.containerState.furtherBlankLines || !v(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(zo, n, o)(a));
4019
+ return r.containerState.furtherBlankLines || !v(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(Lo, n, o)(a));
4021
4020
  }
4022
4021
  function o(a) {
4023
4022
  return r.containerState._closeFlow = !0, r.interrupt = void 0, q(e, e.attempt(K, n, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
4024
4023
  }
4025
4024
  }
4026
- function No(e, n, t) {
4025
+ function Mo(e, n, t) {
4027
4026
  const r = this;
4028
4027
  return q(e, i, "listItemIndent", r.containerState.size + 1);
4029
4028
  function i(l) {
@@ -4031,10 +4030,10 @@ function No(e, n, t) {
4031
4030
  return o && o[1].type === "listItemIndent" && o[2].sliceSerialize(o[1], !0).length === r.containerState.size ? n(l) : t(l);
4032
4031
  }
4033
4032
  }
4034
- function Ro(e) {
4033
+ function No(e) {
4035
4034
  e.exit(this.containerState.type);
4036
4035
  }
4037
- function vo(e, n, t) {
4036
+ function Ro(e, n, t) {
4038
4037
  const r = this;
4039
4038
  return q(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
4040
4039
  function i(l) {
@@ -4044,10 +4043,10 @@ function vo(e, n, t) {
4044
4043
  }
4045
4044
  const It = {
4046
4045
  name: "setextUnderline",
4047
- resolveTo: Do,
4048
- tokenize: Oo
4046
+ resolveTo: vo,
4047
+ tokenize: Do
4049
4048
  };
4050
- function Do(e, n) {
4049
+ function vo(e, n) {
4051
4050
  let t = e.length, r, i, l;
4052
4051
  for (; t--; )
4053
4052
  if (e[t][0] === "enter") {
@@ -4071,7 +4070,7 @@ function Do(e, n) {
4071
4070
  ...e[l][1].end
4072
4071
  }) : e[r][1] = o, e.push(["exit", o, n]), e;
4073
4072
  }
4074
- function Oo(e, n, t) {
4073
+ function Do(e, n, t) {
4075
4074
  const r = this;
4076
4075
  let i;
4077
4076
  return l;
@@ -4094,16 +4093,16 @@ function Oo(e, n, t) {
4094
4093
  return u === null || L(u) ? (e.exit("setextHeadingLine"), n(u)) : t(u);
4095
4094
  }
4096
4095
  }
4097
- const Fo = {
4098
- tokenize: Bo
4096
+ const Oo = {
4097
+ tokenize: Fo
4099
4098
  };
4100
- function Bo(e) {
4099
+ function Fo(e) {
4101
4100
  const n = this, t = e.attempt(
4102
4101
  // Try to parse a blank line.
4103
4102
  rn,
4104
4103
  r,
4105
4104
  // Try to parse initial flow (essentially, only code).
4106
- e.attempt(this.parser.constructs.flowInitial, i, q(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Hl, i)), "linePrefix"))
4105
+ e.attempt(this.parser.constructs.flowInitial, i, q(e, e.attempt(this.parser.constructs.flow, i, e.attempt($l, i)), "linePrefix"))
4107
4106
  );
4108
4107
  return t;
4109
4108
  function r(l) {
@@ -4121,12 +4120,12 @@ function Bo(e) {
4121
4120
  return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), n.currentConstruct = void 0, t;
4122
4121
  }
4123
4122
  }
4124
- const Uo = {
4125
- resolveAll: kr()
4126
- }, jo = yr("string"), $o = yr("text");
4127
- function yr(e) {
4123
+ const Bo = {
4124
+ resolveAll: yr()
4125
+ }, Uo = gr("string"), jo = gr("text");
4126
+ function gr(e) {
4128
4127
  return {
4129
- resolveAll: kr(e === "text" ? Ho : void 0),
4128
+ resolveAll: yr(e === "text" ? $o : void 0),
4130
4129
  tokenize: n
4131
4130
  };
4132
4131
  function n(t) {
@@ -4160,7 +4159,7 @@ function yr(e) {
4160
4159
  }
4161
4160
  }
4162
4161
  }
4163
- function kr(e) {
4162
+ function yr(e) {
4164
4163
  return n;
4165
4164
  function n(t, r) {
4166
4165
  let i = -1, l;
@@ -4169,7 +4168,7 @@ function kr(e) {
4169
4168
  return e ? e(t, r) : t;
4170
4169
  }
4171
4170
  }
4172
- function Ho(e, n) {
4171
+ function $o(e, n) {
4173
4172
  let t = 0;
4174
4173
  for (; ++t <= e.length; )
4175
4174
  if ((t === e.length || e[t][1].type === "lineEnding") && e[t - 1][1].type === "data") {
@@ -4211,7 +4210,7 @@ function Ho(e, n) {
4211
4210
  }
4212
4211
  return e;
4213
4212
  }
4214
- const Vo = {
4213
+ const Ho = {
4215
4214
  42: K,
4216
4215
  43: K,
4217
4216
  45: K,
@@ -4225,46 +4224,46 @@ const Vo = {
4225
4224
  55: K,
4226
4225
  56: K,
4227
4226
  57: K,
4228
- 62: cr
4227
+ 62: sr
4228
+ }, Vo = {
4229
+ 91: Xl
4229
4230
  }, qo = {
4230
- 91: Yl
4231
- }, Wo = {
4232
4231
  [-2]: sn,
4233
4232
  [-1]: sn,
4234
4233
  32: sn
4235
- }, Xo = {
4236
- 35: eo,
4234
+ }, Wo = {
4235
+ 35: Zl,
4237
4236
  42: Ze,
4238
4237
  45: [It, Ze],
4239
- 60: io,
4238
+ 60: ro,
4240
4239
  61: It,
4241
4240
  95: Ze,
4242
4241
  96: St,
4243
4242
  126: St
4243
+ }, Xo = {
4244
+ 38: fr,
4245
+ 92: cr
4244
4246
  }, Yo = {
4245
- 38: pr,
4246
- 92: fr
4247
- }, Go = {
4248
4247
  [-5]: cn,
4249
4248
  [-4]: cn,
4250
4249
  [-3]: cn,
4251
- 33: Co,
4252
- 38: pr,
4250
+ 33: So,
4251
+ 38: fr,
4253
4252
  42: An,
4254
- 60: [Il, fo],
4255
- 91: Eo,
4256
- 92: [Jl, fr],
4253
+ 60: [Cl, co],
4254
+ 91: Io,
4255
+ 92: [Ql, cr],
4257
4256
  93: Vn,
4258
4257
  95: An,
4259
- 96: Ol
4258
+ 96: Dl
4259
+ }, Go = {
4260
+ null: [An, Bo]
4260
4261
  }, Ko = {
4261
- null: [An, Uo]
4262
- }, Qo = {
4263
4262
  null: [42, 95]
4264
- }, Jo = {
4263
+ }, Qo = {
4265
4264
  null: []
4266
- }, Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: Qo, contentInitial: qo, disable: Jo, document: Vo, flow: Xo, flowInitial: Wo, insideSpan: Ko, string: Yo, text: Go }, Symbol.toStringTag, { value: "Module" }));
4267
- function ea(e, n, t) {
4265
+ }, Jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: Ko, contentInitial: Vo, disable: Qo, document: Ho, flow: Wo, flowInitial: qo, insideSpan: Go, string: Xo, text: Yo }, Symbol.toStringTag, { value: "Module" }));
4266
+ function Zo(e, n, t) {
4268
4267
  let r = {
4269
4268
  _bufferIndex: -1,
4270
4269
  _index: 0,
@@ -4301,10 +4300,10 @@ function ea(e, n, t) {
4301
4300
  return o = te(o, P), E(), o[o.length - 1] !== null ? [] : ($(n, 0), u.events = Hn(l, u.events, u), u.events);
4302
4301
  }
4303
4302
  function d(P, A) {
4304
- return ta(p(P), A);
4303
+ return na(p(P), A);
4305
4304
  }
4306
4305
  function p(P) {
4307
- return na(o, P);
4306
+ return ea(o, P);
4308
4307
  }
4309
4308
  function b() {
4310
4309
  const {
@@ -4427,7 +4426,7 @@ function ea(e, n, t) {
4427
4426
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
4428
4427
  }
4429
4428
  }
4430
- function na(e, n) {
4429
+ function ea(e, n) {
4431
4430
  const t = n.start._index, r = n.start._bufferIndex, i = n.end._index, l = n.end._bufferIndex;
4432
4431
  let o;
4433
4432
  if (t === i)
@@ -4441,7 +4440,7 @@ function na(e, n) {
4441
4440
  }
4442
4441
  return o;
4443
4442
  }
4444
- function ta(e, n) {
4443
+ function na(e, n) {
4445
4444
  let t = -1;
4446
4445
  const r = [];
4447
4446
  let i;
@@ -4481,35 +4480,35 @@ function ta(e, n) {
4481
4480
  }
4482
4481
  return r.join("");
4483
4482
  }
4484
- function ra(e) {
4483
+ function ta(e) {
4485
4484
  const r = {
4486
4485
  constructs: (
4487
4486
  /** @type {FullNormalizedExtension} */
4488
- sl([Zo, ...(e || {}).extensions || []])
4487
+ ul([Jo, ...(e || {}).extensions || []])
4489
4488
  ),
4490
- content: i(yl),
4489
+ content: i(gl),
4491
4490
  defined: [],
4492
- document: i(xl),
4493
- flow: i(Fo),
4491
+ document: i(kl),
4492
+ flow: i(Oo),
4494
4493
  lazy: {},
4495
- string: i(jo),
4496
- text: i($o)
4494
+ string: i(Uo),
4495
+ text: i(jo)
4497
4496
  };
4498
4497
  return r;
4499
4498
  function i(l) {
4500
4499
  return o;
4501
4500
  function o(a) {
4502
- return ea(r, l, a);
4501
+ return Zo(r, l, a);
4503
4502
  }
4504
4503
  }
4505
4504
  }
4506
- function ia(e) {
4507
- for (; !hr(e); )
4505
+ function ra(e) {
4506
+ for (; !pr(e); )
4508
4507
  ;
4509
4508
  return e;
4510
4509
  }
4511
4510
  const Et = /[\0\t\n\r]/g;
4512
- function la() {
4511
+ function ia() {
4513
4512
  let e = 1, n = "", t = !0, r;
4514
4513
  return i;
4515
4514
  function i(l, o, a) {
@@ -4544,24 +4543,24 @@ function la() {
4544
4543
  return a && (r && s.push(-5), n && s.push(n), s.push(null)), s;
4545
4544
  }
4546
4545
  }
4547
- const oa = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4548
- function aa(e) {
4549
- return e.replace(oa, ua);
4546
+ const la = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4547
+ function oa(e) {
4548
+ return e.replace(la, aa);
4550
4549
  }
4551
- function ua(e, n, t) {
4550
+ function aa(e, n, t) {
4552
4551
  if (n)
4553
4552
  return n;
4554
4553
  if (t.charCodeAt(0) === 35) {
4555
4554
  const i = t.charCodeAt(1), l = i === 120 || i === 88;
4556
- return sr(t.slice(l ? 2 : 1), l ? 16 : 10);
4555
+ return ur(t.slice(l ? 2 : 1), l ? 16 : 10);
4557
4556
  }
4558
4557
  return $n(t) || e;
4559
4558
  }
4560
- const xr = {}.hasOwnProperty;
4561
- function sa(e, n, t) {
4562
- return typeof n != "string" && (t = n, n = void 0), ca(t)(ia(ra(t).document().write(la()(e, n, !0))));
4559
+ const kr = {}.hasOwnProperty;
4560
+ function ua(e, n, t) {
4561
+ return typeof n != "string" && (t = n, n = void 0), sa(t)(ra(ta(t).document().write(ia()(e, n, !0))));
4563
4562
  }
4564
- function ca(e) {
4563
+ function sa(e) {
4565
4564
  const n = {
4566
4565
  transforms: [],
4567
4566
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
@@ -4577,36 +4576,36 @@ function ca(e) {
4577
4576
  codeFencedFenceInfo: o,
4578
4577
  codeFencedFenceMeta: o,
4579
4578
  codeIndented: l(Ge, o),
4580
- codeText: l(Ir, o),
4579
+ codeText: l(Cr, o),
4581
4580
  codeTextData: D,
4582
4581
  data: D,
4583
4582
  codeFlowValue: D,
4584
- definition: l(Er),
4583
+ definition: l(Ir),
4585
4584
  definitionDestinationString: o,
4586
4585
  definitionLabelString: o,
4587
4586
  definitionTitleString: o,
4588
- emphasis: l(Ar),
4587
+ emphasis: l(Er),
4589
4588
  hardBreakEscape: l(Yn),
4590
4589
  hardBreakTrailing: l(Yn),
4591
4590
  htmlFlow: l(Gn, o),
4592
4591
  htmlFlowData: D,
4593
4592
  htmlText: l(Gn, o),
4594
4593
  htmlTextData: D,
4595
- image: l(Pr),
4594
+ image: l(Ar),
4596
4595
  label: o,
4597
4596
  link: l(Kn),
4598
- listItem: l(Tr),
4597
+ listItem: l(Pr),
4599
4598
  listItemValue: d,
4600
4599
  listOrdered: l(Qn, f),
4601
4600
  listUnordered: l(Qn),
4602
- paragraph: l(Lr),
4601
+ paragraph: l(Tr),
4603
4602
  reference: m,
4604
4603
  referenceString: o,
4605
4604
  resourceDestinationString: o,
4606
4605
  resourceTitleString: o,
4607
4606
  setextHeading: l(Xn),
4608
- strong: l(zr),
4609
- thematicBreak: l(Mr)
4607
+ strong: l(Lr),
4608
+ thematicBreak: l(_r)
4610
4609
  },
4611
4610
  exit: {
4612
4611
  atxHeading: s(),
@@ -4660,7 +4659,7 @@ function ca(e) {
4660
4659
  thematicBreak: s()
4661
4660
  }
4662
4661
  };
4663
- br(n, (e || {}).mdastExtensions || []);
4662
+ xr(n, (e || {}).mdastExtensions || []);
4664
4663
  const t = {};
4665
4664
  return r;
4666
4665
  function r(g) {
@@ -4689,7 +4688,7 @@ function ca(e) {
4689
4688
  }
4690
4689
  for (U = -1; ++U < g.length; ) {
4691
4690
  const oe = n[g[U][0]];
4692
- xr.call(oe, g[U][1].type) && oe[g[U][1].type].call(Object.assign({
4691
+ kr.call(oe, g[U][1].type) && oe[g[U][1].type].call(Object.assign({
4693
4692
  sliceSerialize: g[U][2].sliceSerialize
4694
4693
  }, _), g[U][1]);
4695
4694
  }
@@ -4798,7 +4797,7 @@ function ca(e) {
4798
4797
  _.position.end = de(g.end);
4799
4798
  }
4800
4799
  function c() {
4801
- return al(this.stack.pop());
4800
+ return ol(this.stack.pop());
4802
4801
  }
4803
4802
  function f() {
4804
4803
  this.data.expectingFirstListItemValue = !0;
@@ -4860,7 +4859,7 @@ function ca(e) {
4860
4859
  function D(g) {
4861
4860
  const _ = this.stack[this.stack.length - 1].children;
4862
4861
  let N = _[_.length - 1];
4863
- (!N || N.type !== "text") && (N = _r(), N.position = {
4862
+ (!N || N.type !== "text") && (N = zr(), N.position = {
4864
4863
  start: de(g.start),
4865
4864
  // @ts-expect-error: we’ll add `end` later.
4866
4865
  end: void 0
@@ -4914,7 +4913,7 @@ function ca(e) {
4914
4913
  }
4915
4914
  function re(g) {
4916
4915
  const w = this.sliceSerialize(g), _ = this.stack[this.stack.length - 2];
4917
- _.label = aa(w), _.identifier = ze(w).toLowerCase();
4916
+ _.label = oa(w), _.identifier = ze(w).toLowerCase();
4918
4917
  }
4919
4918
  function ce() {
4920
4919
  const g = this.stack[this.stack.length - 1], w = this.resume(), _ = this.stack[this.stack.length - 1];
@@ -4948,7 +4947,7 @@ function ca(e) {
4948
4947
  function Y(g) {
4949
4948
  const w = this.sliceSerialize(g), _ = this.data.characterReferenceType;
4950
4949
  let N;
4951
- _ ? (N = sr(w, _ === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : N = $n(w);
4950
+ _ ? (N = ur(w, _ === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : N = $n(w);
4952
4951
  const U = this.stack[this.stack.length - 1];
4953
4952
  U.value += N;
4954
4953
  }
@@ -4980,13 +4979,13 @@ function ca(e) {
4980
4979
  value: ""
4981
4980
  };
4982
4981
  }
4983
- function Ir() {
4982
+ function Cr() {
4984
4983
  return {
4985
4984
  type: "inlineCode",
4986
4985
  value: ""
4987
4986
  };
4988
4987
  }
4989
- function Er() {
4988
+ function Ir() {
4990
4989
  return {
4991
4990
  type: "definition",
4992
4991
  identifier: "",
@@ -4995,7 +4994,7 @@ function ca(e) {
4995
4994
  url: ""
4996
4995
  };
4997
4996
  }
4998
- function Ar() {
4997
+ function Er() {
4999
4998
  return {
5000
4999
  type: "emphasis",
5001
5000
  children: []
@@ -5020,7 +5019,7 @@ function ca(e) {
5020
5019
  value: ""
5021
5020
  };
5022
5021
  }
5023
- function Pr() {
5022
+ function Ar() {
5024
5023
  return {
5025
5024
  type: "image",
5026
5025
  title: null,
@@ -5045,7 +5044,7 @@ function ca(e) {
5045
5044
  children: []
5046
5045
  };
5047
5046
  }
5048
- function Tr(g) {
5047
+ function Pr(g) {
5049
5048
  return {
5050
5049
  type: "listItem",
5051
5050
  spread: g._spread,
@@ -5053,25 +5052,25 @@ function ca(e) {
5053
5052
  children: []
5054
5053
  };
5055
5054
  }
5056
- function Lr() {
5055
+ function Tr() {
5057
5056
  return {
5058
5057
  type: "paragraph",
5059
5058
  children: []
5060
5059
  };
5061
5060
  }
5062
- function zr() {
5061
+ function Lr() {
5063
5062
  return {
5064
5063
  type: "strong",
5065
5064
  children: []
5066
5065
  };
5067
5066
  }
5068
- function _r() {
5067
+ function zr() {
5069
5068
  return {
5070
5069
  type: "text",
5071
5070
  value: ""
5072
5071
  };
5073
5072
  }
5074
- function Mr() {
5073
+ function _r() {
5075
5074
  return {
5076
5075
  type: "thematicBreak"
5077
5076
  };
@@ -5084,17 +5083,17 @@ function de(e) {
5084
5083
  offset: e.offset
5085
5084
  };
5086
5085
  }
5087
- function br(e, n) {
5086
+ function xr(e, n) {
5088
5087
  let t = -1;
5089
5088
  for (; ++t < n.length; ) {
5090
5089
  const r = n[t];
5091
- Array.isArray(r) ? br(e, r) : fa(e, r);
5090
+ Array.isArray(r) ? xr(e, r) : ca(e, r);
5092
5091
  }
5093
5092
  }
5094
- function fa(e, n) {
5093
+ function ca(e, n) {
5095
5094
  let t;
5096
5095
  for (t in n)
5097
- if (xr.call(n, t))
5096
+ if (kr.call(n, t))
5098
5097
  switch (t) {
5099
5098
  case "canContainEols": {
5100
5099
  const r = n[t];
@@ -5126,11 +5125,11 @@ function At(e, n) {
5126
5125
  end: n.end
5127
5126
  }) + ") is still open");
5128
5127
  }
5129
- function pa(e) {
5128
+ function fa(e) {
5130
5129
  const n = this;
5131
5130
  n.parser = t;
5132
5131
  function t(r) {
5133
- return sa(r, {
5132
+ return ua(r, {
5134
5133
  ...n.data("settings"),
5135
5134
  ...e,
5136
5135
  // Note: these options are not in the readme.
@@ -5141,7 +5140,7 @@ function pa(e) {
5141
5140
  });
5142
5141
  }
5143
5142
  }
5144
- function ha(e, n) {
5143
+ function pa(e, n) {
5145
5144
  const t = {
5146
5145
  type: "element",
5147
5146
  tagName: "blockquote",
@@ -5150,12 +5149,12 @@ function ha(e, n) {
5150
5149
  };
5151
5150
  return e.patch(n, t), e.applyData(n, t);
5152
5151
  }
5153
- function ma(e, n) {
5152
+ function ha(e, n) {
5154
5153
  const t = { type: "element", tagName: "br", properties: {}, children: [] };
5155
5154
  return e.patch(n, t), [e.applyData(n, t), { type: "text", value: `
5156
5155
  ` }];
5157
5156
  }
5158
- function da(e, n) {
5157
+ function ma(e, n) {
5159
5158
  const t = n.value ? n.value + `
5160
5159
  ` : "", r = {}, i = n.lang ? n.lang.split(/\s+/) : [];
5161
5160
  i.length > 0 && (r.className = ["language-" + i[0]]);
@@ -5167,7 +5166,7 @@ function da(e, n) {
5167
5166
  };
5168
5167
  return n.meta && (l.data = { meta: n.meta }), e.patch(n, l), l = e.applyData(n, l), l = { type: "element", tagName: "pre", properties: {}, children: [l] }, e.patch(n, l), l;
5169
5168
  }
5170
- function ga(e, n) {
5169
+ function da(e, n) {
5171
5170
  const t = {
5172
5171
  type: "element",
5173
5172
  tagName: "del",
@@ -5176,7 +5175,7 @@ function ga(e, n) {
5176
5175
  };
5177
5176
  return e.patch(n, t), e.applyData(n, t);
5178
5177
  }
5179
- function ya(e, n) {
5178
+ function ga(e, n) {
5180
5179
  const t = {
5181
5180
  type: "element",
5182
5181
  tagName: "em",
@@ -5185,7 +5184,7 @@ function ya(e, n) {
5185
5184
  };
5186
5185
  return e.patch(n, t), e.applyData(n, t);
5187
5186
  }
5188
- function ka(e, n) {
5187
+ function ya(e, n) {
5189
5188
  const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(n.identifier).toUpperCase(), i = Me(r.toLowerCase()), l = e.footnoteOrder.indexOf(r);
5190
5189
  let o, a = e.footnoteCounts.get(r);
5191
5190
  a === void 0 ? (a = 0, e.footnoteOrder.push(r), o = e.footnoteOrder.length) : o = l + 1, a += 1, e.footnoteCounts.set(r, a);
@@ -5209,7 +5208,7 @@ function ka(e, n) {
5209
5208
  };
5210
5209
  return e.patch(n, u), e.applyData(n, u);
5211
5210
  }
5212
- function xa(e, n) {
5211
+ function ka(e, n) {
5213
5212
  const t = {
5214
5213
  type: "element",
5215
5214
  tagName: "h" + n.depth,
@@ -5218,13 +5217,13 @@ function xa(e, n) {
5218
5217
  };
5219
5218
  return e.patch(n, t), e.applyData(n, t);
5220
5219
  }
5221
- function ba(e, n) {
5220
+ function xa(e, n) {
5222
5221
  if (e.options.allowDangerousHtml) {
5223
5222
  const t = { type: "raw", value: n.value };
5224
5223
  return e.patch(n, t), e.applyData(n, t);
5225
5224
  }
5226
5225
  }
5227
- function wr(e, n) {
5226
+ function br(e, n) {
5228
5227
  const t = n.referenceType;
5229
5228
  let r = "]";
5230
5229
  if (t === "collapsed" ? r += "[]" : t === "full" && (r += "[" + (n.label || n.identifier) + "]"), n.type === "imageReference")
@@ -5234,22 +5233,22 @@ function wr(e, n) {
5234
5233
  const o = i[i.length - 1];
5235
5234
  return o && o.type === "text" ? o.value += r : i.push({ type: "text", value: r }), i;
5236
5235
  }
5237
- function wa(e, n) {
5236
+ function ba(e, n) {
5238
5237
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5239
5238
  if (!r)
5240
- return wr(e, n);
5239
+ return br(e, n);
5241
5240
  const i = { src: Me(r.url || ""), alt: n.alt };
5242
5241
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5243
5242
  const l = { type: "element", tagName: "img", properties: i, children: [] };
5244
5243
  return e.patch(n, l), e.applyData(n, l);
5245
5244
  }
5246
- function Sa(e, n) {
5245
+ function wa(e, n) {
5247
5246
  const t = { src: Me(n.url) };
5248
5247
  n.alt !== null && n.alt !== void 0 && (t.alt = n.alt), n.title !== null && n.title !== void 0 && (t.title = n.title);
5249
5248
  const r = { type: "element", tagName: "img", properties: t, children: [] };
5250
5249
  return e.patch(n, r), e.applyData(n, r);
5251
5250
  }
5252
- function Ca(e, n) {
5251
+ function Sa(e, n) {
5253
5252
  const t = { type: "text", value: n.value.replace(/\r?\n|\r/g, " ") };
5254
5253
  e.patch(n, t);
5255
5254
  const r = {
@@ -5260,10 +5259,10 @@ function Ca(e, n) {
5260
5259
  };
5261
5260
  return e.patch(n, r), e.applyData(n, r);
5262
5261
  }
5263
- function Ia(e, n) {
5262
+ function Ca(e, n) {
5264
5263
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5265
5264
  if (!r)
5266
- return wr(e, n);
5265
+ return br(e, n);
5267
5266
  const i = { href: Me(r.url || "") };
5268
5267
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5269
5268
  const l = {
@@ -5274,7 +5273,7 @@ function Ia(e, n) {
5274
5273
  };
5275
5274
  return e.patch(n, l), e.applyData(n, l);
5276
5275
  }
5277
- function Ea(e, n) {
5276
+ function Ia(e, n) {
5278
5277
  const t = { href: Me(n.url) };
5279
5278
  n.title !== null && n.title !== void 0 && (t.title = n.title);
5280
5279
  const r = {
@@ -5285,8 +5284,8 @@ function Ea(e, n) {
5285
5284
  };
5286
5285
  return e.patch(n, r), e.applyData(n, r);
5287
5286
  }
5288
- function Aa(e, n, t) {
5289
- const r = e.all(n), i = t ? Pa(t) : Sr(n), l = {}, o = [];
5287
+ function Ea(e, n, t) {
5288
+ const r = e.all(n), i = t ? Aa(t) : wr(n), l = {}, o = [];
5290
5289
  if (typeof n.checked == "boolean") {
5291
5290
  const c = r[0];
5292
5291
  let f;
@@ -5309,22 +5308,22 @@ function Aa(e, n, t) {
5309
5308
  const u = { type: "element", tagName: "li", properties: l, children: o };
5310
5309
  return e.patch(n, u), e.applyData(n, u);
5311
5310
  }
5312
- function Pa(e) {
5311
+ function Aa(e) {
5313
5312
  let n = !1;
5314
5313
  if (e.type === "list") {
5315
5314
  n = e.spread || !1;
5316
5315
  const t = e.children;
5317
5316
  let r = -1;
5318
5317
  for (; !n && ++r < t.length; )
5319
- n = Sr(t[r]);
5318
+ n = wr(t[r]);
5320
5319
  }
5321
5320
  return n;
5322
5321
  }
5323
- function Sr(e) {
5322
+ function wr(e) {
5324
5323
  const n = e.spread;
5325
5324
  return n ?? e.children.length > 1;
5326
5325
  }
5327
- function Ta(e, n) {
5326
+ function Pa(e, n) {
5328
5327
  const t = {}, r = e.all(n);
5329
5328
  let i = -1;
5330
5329
  for (typeof n.start == "number" && n.start !== 1 && (t.start = n.start); ++i < r.length; ) {
@@ -5342,7 +5341,7 @@ function Ta(e, n) {
5342
5341
  };
5343
5342
  return e.patch(n, l), e.applyData(n, l);
5344
5343
  }
5345
- function La(e, n) {
5344
+ function Ta(e, n) {
5346
5345
  const t = {
5347
5346
  type: "element",
5348
5347
  tagName: "p",
@@ -5351,11 +5350,11 @@ function La(e, n) {
5351
5350
  };
5352
5351
  return e.patch(n, t), e.applyData(n, t);
5353
5352
  }
5354
- function za(e, n) {
5353
+ function La(e, n) {
5355
5354
  const t = { type: "root", children: e.wrap(e.all(n)) };
5356
5355
  return e.patch(n, t), e.applyData(n, t);
5357
5356
  }
5358
- function _a(e, n) {
5357
+ function za(e, n) {
5359
5358
  const t = {
5360
5359
  type: "element",
5361
5360
  tagName: "strong",
@@ -5364,7 +5363,7 @@ function _a(e, n) {
5364
5363
  };
5365
5364
  return e.patch(n, t), e.applyData(n, t);
5366
5365
  }
5367
- function Ma(e, n) {
5366
+ function _a(e, n) {
5368
5367
  const t = e.all(n), r = t.shift(), i = [];
5369
5368
  if (r) {
5370
5369
  const o = {
@@ -5381,7 +5380,7 @@ function Ma(e, n) {
5381
5380
  tagName: "tbody",
5382
5381
  properties: {},
5383
5382
  children: e.wrap(t, !0)
5384
- }, a = Fn(n.children[1]), s = tr(n.children[n.children.length - 1]);
5383
+ }, a = Fn(n.children[1]), s = nr(n.children[n.children.length - 1]);
5385
5384
  a && s && (o.position = { start: a, end: s }), i.push(o);
5386
5385
  }
5387
5386
  const l = {
@@ -5392,7 +5391,7 @@ function Ma(e, n) {
5392
5391
  };
5393
5392
  return e.patch(n, l), e.applyData(n, l);
5394
5393
  }
5395
- function Na(e, n, t) {
5394
+ function Ma(e, n, t) {
5396
5395
  const r = t ? t.children : void 0, l = (r ? r.indexOf(n) : 1) === 0 ? "th" : "td", o = t && t.type === "table" ? t.align : void 0, a = o ? o.length : n.children.length;
5397
5396
  let s = -1;
5398
5397
  const u = [];
@@ -5410,7 +5409,7 @@ function Na(e, n, t) {
5410
5409
  };
5411
5410
  return e.patch(n, c), e.applyData(n, c);
5412
5411
  }
5413
- function Ra(e, n) {
5412
+ function Na(e, n) {
5414
5413
  const t = {
5415
5414
  type: "element",
5416
5415
  tagName: "td",
@@ -5421,7 +5420,7 @@ function Ra(e, n) {
5421
5420
  return e.patch(n, t), e.applyData(n, t);
5422
5421
  }
5423
5422
  const Pt = 9, Tt = 32;
5424
- function va(e) {
5423
+ function Ra(e) {
5425
5424
  const n = String(e), t = /\r?\n|\r/g;
5426
5425
  let r = t.exec(n), i = 0;
5427
5426
  const l = [];
@@ -5446,11 +5445,11 @@ function Lt(e, n, t) {
5446
5445
  }
5447
5446
  return i > r ? e.slice(r, i) : "";
5448
5447
  }
5449
- function Da(e, n) {
5450
- const t = { type: "text", value: va(String(n.value)) };
5448
+ function va(e, n) {
5449
+ const t = { type: "text", value: Ra(String(n.value)) };
5451
5450
  return e.patch(n, t), e.applyData(n, t);
5452
5451
  }
5453
- function Oa(e, n) {
5452
+ function Da(e, n) {
5454
5453
  const t = {
5455
5454
  type: "element",
5456
5455
  tagName: "hr",
@@ -5459,31 +5458,31 @@ function Oa(e, n) {
5459
5458
  };
5460
5459
  return e.patch(n, t), e.applyData(n, t);
5461
5460
  }
5462
- const Fa = {
5463
- blockquote: ha,
5464
- break: ma,
5465
- code: da,
5466
- delete: ga,
5467
- emphasis: ya,
5468
- footnoteReference: ka,
5469
- heading: xa,
5470
- html: ba,
5471
- imageReference: wa,
5472
- image: Sa,
5473
- inlineCode: Ca,
5474
- linkReference: Ia,
5475
- link: Ea,
5476
- listItem: Aa,
5477
- list: Ta,
5478
- paragraph: La,
5461
+ const Oa = {
5462
+ blockquote: pa,
5463
+ break: ha,
5464
+ code: ma,
5465
+ delete: da,
5466
+ emphasis: ga,
5467
+ footnoteReference: ya,
5468
+ heading: ka,
5469
+ html: xa,
5470
+ imageReference: ba,
5471
+ image: wa,
5472
+ inlineCode: Sa,
5473
+ linkReference: Ca,
5474
+ link: Ia,
5475
+ listItem: Ea,
5476
+ list: Pa,
5477
+ paragraph: Ta,
5479
5478
  // @ts-expect-error: root is different, but hard to type.
5480
- root: za,
5481
- strong: _a,
5482
- table: Ma,
5483
- tableCell: Ra,
5484
- tableRow: Na,
5485
- text: Da,
5486
- thematicBreak: Oa,
5479
+ root: La,
5480
+ strong: za,
5481
+ table: _a,
5482
+ tableCell: Na,
5483
+ tableRow: Ma,
5484
+ text: va,
5485
+ thematicBreak: Da,
5487
5486
  toml: Qe,
5488
5487
  yaml: Qe,
5489
5488
  definition: Qe,
@@ -5491,7 +5490,7 @@ const Fa = {
5491
5490
  };
5492
5491
  function Qe() {
5493
5492
  }
5494
- function Ba(e, n) {
5493
+ function Fa(e, n) {
5495
5494
  const t = [{ type: "text", value: "↩" }];
5496
5495
  return n > 1 && t.push({
5497
5496
  type: "element",
@@ -5500,11 +5499,11 @@ function Ba(e, n) {
5500
5499
  children: [{ type: "text", value: String(n) }]
5501
5500
  }), t;
5502
5501
  }
5503
- function Ua(e, n) {
5502
+ function Ba(e, n) {
5504
5503
  return "Back to reference " + (e + 1) + (n > 1 ? "-" + n : "");
5505
5504
  }
5506
- function ja(e) {
5507
- const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = e.options.footnoteBackContent || Ba, r = e.options.footnoteBackLabel || Ua, i = e.options.footnoteLabel || "Footnotes", l = e.options.footnoteLabelTagName || "h2", o = e.options.footnoteLabelProperties || {
5505
+ function Ua(e) {
5506
+ const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = e.options.footnoteBackContent || Fa, r = e.options.footnoteBackLabel || Ba, i = e.options.footnoteLabel || "Footnotes", l = e.options.footnoteLabelTagName || "h2", o = e.options.footnoteLabelProperties || {
5508
5507
  className: ["sr-only"]
5509
5508
  }, a = [];
5510
5509
  let s = -1;
@@ -5574,11 +5573,11 @@ function ja(e) {
5574
5573
  ]
5575
5574
  };
5576
5575
  }
5577
- const Pn = {}.hasOwnProperty, $a = {};
5578
- function Ha(e, n) {
5579
- const t = n || $a, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Fa, ...t.handlers }, a = {
5576
+ const Pn = {}.hasOwnProperty, ja = {};
5577
+ function $a(e, n) {
5578
+ const t = n || ja, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Oa, ...t.handlers }, a = {
5580
5579
  all: u,
5581
- applyData: qa,
5580
+ applyData: Va,
5582
5581
  definitionById: r,
5583
5582
  footnoteById: i,
5584
5583
  footnoteCounts: l,
@@ -5586,8 +5585,8 @@ function Ha(e, n) {
5586
5585
  handlers: o,
5587
5586
  one: s,
5588
5587
  options: t,
5589
- patch: Va,
5590
- wrap: Xa
5588
+ patch: Ha,
5589
+ wrap: Wa
5591
5590
  };
5592
5591
  return be(e, function(c) {
5593
5592
  if (c.type === "definition" || c.type === "footnoteDefinition") {
@@ -5606,7 +5605,7 @@ function Ha(e, n) {
5606
5605
  }
5607
5606
  return xe(c);
5608
5607
  }
5609
- return (a.options.unknownHandler || Wa)(a, c, f);
5608
+ return (a.options.unknownHandler || qa)(a, c, f);
5610
5609
  }
5611
5610
  function u(c) {
5612
5611
  const f = [];
@@ -5627,10 +5626,10 @@ function Ha(e, n) {
5627
5626
  return f;
5628
5627
  }
5629
5628
  }
5630
- function Va(e, n) {
5631
- e.position && (n.position = Fi(e));
5629
+ function Ha(e, n) {
5630
+ e.position && (n.position = Oi(e));
5632
5631
  }
5633
- function qa(e, n) {
5632
+ function Va(e, n) {
5634
5633
  let t = n;
5635
5634
  if (e && e.data) {
5636
5635
  const r = e.data.hName, i = e.data.hChildren, l = e.data.hProperties;
@@ -5645,7 +5644,7 @@ function qa(e, n) {
5645
5644
  }
5646
5645
  return t;
5647
5646
  }
5648
- function Wa(e, n) {
5647
+ function qa(e, n) {
5649
5648
  const t = n.data || {}, r = "value" in n && !(Pn.call(t, "hProperties") || Pn.call(t, "hChildren")) ? { type: "text", value: n.value } : {
5650
5649
  type: "element",
5651
5650
  tagName: "div",
@@ -5654,7 +5653,7 @@ function Wa(e, n) {
5654
5653
  };
5655
5654
  return e.patch(n, r), e.applyData(n, r);
5656
5655
  }
5657
- function Xa(e, n) {
5656
+ function Wa(e, n) {
5658
5657
  const t = [];
5659
5658
  let r = -1;
5660
5659
  for (n && t.push({ type: "text", value: `
@@ -5671,11 +5670,11 @@ function zt(e) {
5671
5670
  return e.slice(n);
5672
5671
  }
5673
5672
  function _t(e, n) {
5674
- const t = Ha(e, n), r = t.one(e, void 0), i = ja(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5673
+ const t = $a(e, n), r = t.one(e, void 0), i = Ua(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5675
5674
  return i && l.children.push({ type: "text", value: `
5676
5675
  ` }, i), l;
5677
5676
  }
5678
- function Ya(e, n) {
5677
+ function Xa(e, n) {
5679
5678
  return e && "run" in e ? async function(t, r) {
5680
5679
  const i = (
5681
5680
  /** @type {HastRoot} */
@@ -5694,7 +5693,7 @@ function Mt(e) {
5694
5693
  throw e;
5695
5694
  }
5696
5695
  var fn, Nt;
5697
- function Ga() {
5696
+ function Ya() {
5698
5697
  if (Nt) return fn;
5699
5698
  Nt = 1;
5700
5699
  var e = Object.prototype.hasOwnProperty, n = Object.prototype.toString, t = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = function(u) {
@@ -5733,15 +5732,15 @@ function Ga() {
5733
5732
  return S;
5734
5733
  }, fn;
5735
5734
  }
5736
- var Ka = /* @__PURE__ */ Ga();
5737
- const pn = /* @__PURE__ */ jt(Ka);
5735
+ var Ga = /* @__PURE__ */ Ya();
5736
+ const pn = /* @__PURE__ */ jt(Ga);
5738
5737
  function Tn(e) {
5739
5738
  if (typeof e != "object" || e === null)
5740
5739
  return !1;
5741
5740
  const n = Object.getPrototypeOf(e);
5742
5741
  return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
5743
5742
  }
5744
- function Qa() {
5743
+ function Ka() {
5745
5744
  const e = [], n = { run: t, use: r };
5746
5745
  return n;
5747
5746
  function t(...i) {
@@ -5759,7 +5758,7 @@ function Qa() {
5759
5758
  }
5760
5759
  for (; ++f < i.length; )
5761
5760
  (u[f] === null || u[f] === void 0) && (u[f] = i[f]);
5762
- i = u, c ? Ja(c, a)(...u) : o(null, ...u);
5761
+ i = u, c ? Qa(c, a)(...u) : o(null, ...u);
5763
5762
  }
5764
5763
  }
5765
5764
  function r(i) {
@@ -5770,7 +5769,7 @@ function Qa() {
5770
5769
  return e.push(i), n;
5771
5770
  }
5772
5771
  }
5773
- function Ja(e, n) {
5772
+ function Qa(e, n) {
5774
5773
  let t;
5775
5774
  return r;
5776
5775
  function r(...o) {
@@ -5797,8 +5796,8 @@ function Ja(e, n) {
5797
5796
  i(null, o);
5798
5797
  }
5799
5798
  }
5800
- const ae = { basename: Za, dirname: eu, extname: nu, join: tu, sep: "/" };
5801
- function Za(e, n) {
5799
+ const ae = { basename: Ja, dirname: Za, extname: eu, join: nu, sep: "/" };
5800
+ function Ja(e, n) {
5802
5801
  if (n !== void 0 && typeof n != "string")
5803
5802
  throw new TypeError('"ext" argument must be a string');
5804
5803
  Ye(e);
@@ -5826,7 +5825,7 @@ function Za(e, n) {
5826
5825
  o < 0 && (l = !0, o = i + 1), a > -1 && (e.codePointAt(i) === n.codePointAt(a--) ? a < 0 && (r = i) : (a = -1, r = o));
5827
5826
  return t === r ? r = o : r < 0 && (r = e.length), e.slice(t, r);
5828
5827
  }
5829
- function eu(e) {
5828
+ function Za(e) {
5830
5829
  if (Ye(e), e.length === 0)
5831
5830
  return ".";
5832
5831
  let n = -1, t = e.length, r;
@@ -5839,7 +5838,7 @@ function eu(e) {
5839
5838
  } else r || (r = !0);
5840
5839
  return n < 0 ? e.codePointAt(0) === 47 ? "/" : "." : n === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, n);
5841
5840
  }
5842
- function nu(e) {
5841
+ function eu(e) {
5843
5842
  Ye(e);
5844
5843
  let n = e.length, t = -1, r = 0, i = -1, l = 0, o;
5845
5844
  for (; n--; ) {
@@ -5857,19 +5856,19 @@ function nu(e) {
5857
5856
  l === 0 || // The (right-most) trimmed path component is exactly `..`.
5858
5857
  l === 1 && i === t - 1 && i === r + 1 ? "" : e.slice(i, t);
5859
5858
  }
5860
- function tu(...e) {
5859
+ function nu(...e) {
5861
5860
  let n = -1, t;
5862
5861
  for (; ++n < e.length; )
5863
5862
  Ye(e[n]), e[n] && (t = t === void 0 ? e[n] : t + "/" + e[n]);
5864
- return t === void 0 ? "." : ru(t);
5863
+ return t === void 0 ? "." : tu(t);
5865
5864
  }
5866
- function ru(e) {
5865
+ function tu(e) {
5867
5866
  Ye(e);
5868
5867
  const n = e.codePointAt(0) === 47;
5869
- let t = iu(e, !n);
5868
+ let t = ru(e, !n);
5870
5869
  return t.length === 0 && !n && (t = "."), t.length > 0 && e.codePointAt(e.length - 1) === 47 && (t += "/"), n ? "/" + t : t;
5871
5870
  }
5872
- function iu(e, n) {
5871
+ function ru(e, n) {
5873
5872
  let t = "", r = 0, i = -1, l = 0, o = -1, a, s;
5874
5873
  for (; ++o <= e.length; ) {
5875
5874
  if (o < e.length)
@@ -5906,15 +5905,15 @@ function Ye(e) {
5906
5905
  "Path must be a string. Received " + JSON.stringify(e)
5907
5906
  );
5908
5907
  }
5909
- const lu = { cwd: ou };
5910
- function ou() {
5908
+ const iu = { cwd: lu };
5909
+ function lu() {
5911
5910
  return "/";
5912
5911
  }
5913
5912
  function Ln(e) {
5914
5913
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
5915
5914
  e.auth === void 0);
5916
5915
  }
5917
- function au(e) {
5916
+ function ou(e) {
5918
5917
  if (typeof e == "string")
5919
5918
  e = new URL(e);
5920
5919
  else if (!Ln(e)) {
@@ -5927,9 +5926,9 @@ function au(e) {
5927
5926
  const n = new TypeError("The URL must be of scheme file");
5928
5927
  throw n.code = "ERR_INVALID_URL_SCHEME", n;
5929
5928
  }
5930
- return uu(e);
5929
+ return au(e);
5931
5930
  }
5932
- function uu(e) {
5931
+ function au(e) {
5933
5932
  if (e.hostname !== "") {
5934
5933
  const r = new TypeError(
5935
5934
  'File URL host must be "localhost" or empty on darwin'
@@ -5961,7 +5960,7 @@ const hn = (
5961
5960
  "dirname"
5962
5961
  ]
5963
5962
  );
5964
- class su {
5963
+ class uu {
5965
5964
  /**
5966
5965
  * Create a new virtual file.
5967
5966
  *
@@ -5986,7 +5985,7 @@ class su {
5986
5985
  */
5987
5986
  constructor(n) {
5988
5987
  let t;
5989
- n ? Ln(n) ? t = { path: n } : typeof n == "string" || cu(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : lu.cwd(), this.data = {}, this.history = [], this.messages = [];
5988
+ n ? Ln(n) ? t = { path: n } : typeof n == "string" || su(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : iu.cwd(), this.data = {}, this.history = [], this.messages = [];
5990
5989
  let r = -1;
5991
5990
  for (; ++r < hn.length; ) {
5992
5991
  const l = hn[r];
@@ -6094,7 +6093,7 @@ class su {
6094
6093
  * Nothing.
6095
6094
  */
6096
6095
  set path(n) {
6097
- Ln(n) && (n = au(n)), dn(n, "path"), this.path !== n && this.history.push(n);
6096
+ Ln(n) && (n = ou(n)), dn(n, "path"), this.path !== n && this.history.push(n);
6098
6097
  }
6099
6098
  /**
6100
6099
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -6345,10 +6344,10 @@ function Rt(e, n) {
6345
6344
  if (!e)
6346
6345
  throw new Error("Setting `" + n + "` requires `path` to be set too");
6347
6346
  }
6348
- function cu(e) {
6347
+ function su(e) {
6349
6348
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6350
6349
  }
6351
- const fu = (
6350
+ const cu = (
6352
6351
  /**
6353
6352
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
6354
6353
  */
@@ -6369,13 +6368,13 @@ const fu = (
6369
6368
  };
6370
6369
  return Object.setPrototypeOf(l, r), l;
6371
6370
  })
6372
- ), pu = {}.hasOwnProperty;
6373
- class qn extends fu {
6371
+ ), fu = {}.hasOwnProperty;
6372
+ class qn extends cu {
6374
6373
  /**
6375
6374
  * Create a processor.
6376
6375
  */
6377
6376
  constructor() {
6378
- 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 = Qa();
6377
+ 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 = Ka();
6379
6378
  }
6380
6379
  /**
6381
6380
  * Copy a processor.
@@ -6460,7 +6459,7 @@ class qn extends fu {
6460
6459
  * the entire dataset when getting without key.
6461
6460
  */
6462
6461
  data(n, t) {
6463
- return typeof n == "string" ? arguments.length === 2 ? (kn("data", this.frozen), this.namespace[n] = t, this) : pu.call(this.namespace, n) && this.namespace[n] || void 0 : n ? (kn("data", this.frozen), this.namespace = n, this) : this.namespace;
6462
+ return typeof n == "string" ? arguments.length === 2 ? (kn("data", this.frozen), this.namespace[n] = t, this) : fu.call(this.namespace, n) && this.namespace[n] || void 0 : n ? (kn("data", this.frozen), this.namespace = n, this) : this.namespace;
6464
6463
  }
6465
6464
  /**
6466
6465
  * Freeze a processor.
@@ -6575,7 +6574,7 @@ class qn extends fu {
6575
6574
  /** @type {unknown} */
6576
6575
  f
6577
6576
  ), b = r.stringify(p, d);
6578
- du(b) ? d.value = b : d.result = b, u(
6577
+ mu(b) ? d.value = b : d.result = b, u(
6579
6578
  c,
6580
6579
  /** @type {VFileWithOutput<CompileResult>} */
6581
6580
  d
@@ -6851,7 +6850,7 @@ class qn extends fu {
6851
6850
  }
6852
6851
  }
6853
6852
  }
6854
- const hu = new qn().freeze();
6853
+ const pu = new qn().freeze();
6855
6854
  function gn(e, n) {
6856
6855
  if (typeof n != "function")
6857
6856
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -6877,18 +6876,18 @@ function Dt(e, n, t) {
6877
6876
  );
6878
6877
  }
6879
6878
  function Je(e) {
6880
- return mu(e) ? e : new su(e);
6879
+ return hu(e) ? e : new uu(e);
6881
6880
  }
6882
- function mu(e) {
6881
+ function hu(e) {
6883
6882
  return !!(e && typeof e == "object" && "message" in e && "messages" in e);
6884
6883
  }
6885
- function du(e) {
6886
- return typeof e == "string" || gu(e);
6884
+ function mu(e) {
6885
+ return typeof e == "string" || du(e);
6887
6886
  }
6888
- function gu(e) {
6887
+ function du(e) {
6889
6888
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6890
6889
  }
6891
- const yu = ({
6890
+ const gu = ({
6892
6891
  href: e,
6893
6892
  target: n,
6894
6893
  rel: t,
@@ -6897,7 +6896,7 @@ const yu = ({
6897
6896
  }) => {
6898
6897
  const l = Ut(
6899
6898
  async (o) => {
6900
- if (Ur() && e && ku(e)) {
6899
+ if (Fr() && e && yu(e)) {
6901
6900
  o.preventDefault(), o.stopPropagation();
6902
6901
  try {
6903
6902
  const { openUrl: a } = await import(
@@ -6914,7 +6913,7 @@ const yu = ({
6914
6913
  );
6915
6914
  return /* @__PURE__ */ Te("a", { href: e, target: n, rel: t, onClick: l, ...i, children: r });
6916
6915
  };
6917
- function ku(e) {
6916
+ function yu(e) {
6918
6917
  try {
6919
6918
  return new URL(e, window.location.href).origin !== window.location.origin;
6920
6919
  } catch {
@@ -6926,20 +6925,20 @@ const zn = (e) => {
6926
6925
  return !1;
6927
6926
  const t = e.props?.children;
6928
6927
  return t == null ? !1 : typeof t == "string" ? t.trim().length > 0 : typeof t == "number" ? !0 : Array.isArray(t) ? t.some((r) => typeof r == "string" ? r.trim().length > 0 : typeof r == "number" ? !0 : r && typeof r == "object" && "props" in r ? zn(r) : !1) : typeof t == "object" && "props" in t ? zn(t) : !1;
6929
- }, xu = /(!?\[)([^\]]*?)$/, bu = /(\*\*)([^*]*?)$/, wu = /(__)([^_]*?)$/, Su = /(\*\*\*)([^*]*?)$/, Cu = /(\*)([^*]*?)$/, Iu = /(_)([^_]*?)$/, Eu = /(`)([^`]*?)$/, Au = /(~~)([^~]*?)$/, Pu = /\n[\t ]*(?:[-*+]|\d+\.)[\t ]+$/, Tu = /(\n[\t ]*)([-*+]|\d+\.)([\t ]*)\n([\t ]*[^\s])/g, Lu = (e) => {
6928
+ }, ku = /(!?\[)([^\]]*?)$/, xu = /(\*\*)([^*]*?)$/, bu = /(__)([^_]*?)$/, wu = /(\*\*\*)([^*]*?)$/, Su = /(\*)([^*]*?)$/, Cu = /(_)([^_]*?)$/, Iu = /(`)([^`]*?)$/, Eu = /(~~)([^~]*?)$/, Au = /\n[\t ]*(?:[-*+]|\d+\.)[\t ]+$/, Pu = /(\n[\t ]*)([-*+]|\d+\.)([\t ]*)\n([\t ]*[^\s])/g, Tu = (e) => {
6930
6929
  let n = e;
6931
6930
  n = n.replace(
6932
- Tu,
6931
+ Pu,
6933
6932
  (r, i, l, o, a) => `${i}${l} ${a}`
6934
6933
  );
6935
- const t = n.match(Pu);
6934
+ const t = n.match(Au);
6936
6935
  return t ? n.substring(0, n.length - t[0].length) : n;
6937
6936
  }, Wn = (e) => {
6938
6937
  const n = (e.match(/```/g) || []).length;
6939
6938
  return n > 0 && n % 2 === 0 && e.includes(`
6940
6939
  `);
6941
- }, zu = (e) => {
6942
- const n = e.match(xu);
6940
+ }, Lu = (e) => {
6941
+ const n = e.match(ku);
6943
6942
  if (n) {
6944
6943
  if (n[1].startsWith("!")) {
6945
6944
  const r = e.lastIndexOf(n[0]);
@@ -6948,8 +6947,8 @@ const zn = (e) => {
6948
6947
  return `${e}](placeholder:incomplete-link)`;
6949
6948
  }
6950
6949
  return e;
6951
- }, _u = (e) => {
6952
- const n = e.match(bu);
6950
+ }, zu = (e) => {
6951
+ const n = e.match(xu);
6953
6952
  if (n) {
6954
6953
  const t = n[2];
6955
6954
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -6963,8 +6962,8 @@ const zn = (e) => {
6963
6962
  return `${e}**`;
6964
6963
  }
6965
6964
  return e;
6966
- }, Mu = (e) => {
6967
- const n = e.match(wu);
6965
+ }, _u = (e) => {
6966
+ const n = e.match(bu);
6968
6967
  if (n) {
6969
6968
  const t = n[2];
6970
6969
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -6978,7 +6977,7 @@ const zn = (e) => {
6978
6977
  return `${e}__`;
6979
6978
  }
6980
6979
  return e;
6981
- }, Nu = (e) => {
6980
+ }, Mu = (e) => {
6982
6981
  let n = 0, t = !1, r = 0;
6983
6982
  for (let i = 0; i < e.length; i++) {
6984
6983
  const l = e[i];
@@ -7005,14 +7004,14 @@ const zn = (e) => {
7005
7004
  }
7006
7005
  }
7007
7006
  return n;
7008
- }, Ru = (e) => {
7007
+ }, Nu = (e) => {
7009
7008
  if (Wn(e))
7010
7009
  return e;
7011
- if (e.match(Cu)) {
7010
+ if (e.match(Su)) {
7012
7011
  let t = -1;
7013
7012
  for (let l = 0; l < e.length; l++)
7014
7013
  if (e[l] === "*" && e[l - 1] !== "*" && e[l + 1] !== "*") {
7015
- if (Cr(e, l))
7014
+ if (Sr(e, l))
7016
7015
  continue;
7017
7016
  t = l;
7018
7017
  break;
@@ -7024,11 +7023,11 @@ const zn = (e) => {
7024
7023
  );
7025
7024
  if (!r || /^[\s_~*`]*$/.test(r))
7026
7025
  return e;
7027
- if (Nu(e) % 2 === 1)
7026
+ if (Mu(e) % 2 === 1)
7028
7027
  return `${e}*`;
7029
7028
  }
7030
7029
  return e;
7031
- }, vu = (e, n) => {
7030
+ }, Ru = (e, n) => {
7032
7031
  let t = !1, r = !1;
7033
7032
  for (let i = 0; i < e.length && i < n; i++) {
7034
7033
  if (e[i] === "\\" && e[i + 1] === "$") {
@@ -7041,7 +7040,7 @@ const zn = (e) => {
7041
7040
  }, ln = (e, n) => {
7042
7041
  const t = e.substring(n, n + 3) === "```", r = n > 0 && e.substring(n - 1, n + 2) === "```", i = n > 1 && e.substring(n - 2, n + 1) === "```";
7043
7042
  return t || r || i;
7044
- }, Cr = (e, n) => {
7043
+ }, Sr = (e, n) => {
7045
7044
  let t = !1;
7046
7045
  for (let r = 0; r < e.length && r < n; r++)
7047
7046
  if (e[r] === "`") {
@@ -7050,7 +7049,7 @@ const zn = (e) => {
7050
7049
  t = !t;
7051
7050
  }
7052
7051
  return t;
7053
- }, Du = (e) => {
7052
+ }, vu = (e) => {
7054
7053
  let n = 0, t = !1, r = !1, i = !1;
7055
7054
  for (let l = 0; l < e.length; l++) {
7056
7055
  const o = e[l], a = l > 0 ? e[l - 1] : "", s = l < e.length - 1 ? e[l + 1] : "";
@@ -7073,13 +7072,13 @@ const zn = (e) => {
7073
7072
  }
7074
7073
  }
7075
7074
  return n;
7076
- }, Ou = (e) => {
7075
+ }, Du = (e) => {
7077
7076
  if (Wn(e))
7078
7077
  return e;
7079
- if (e.match(Iu)) {
7078
+ if (e.match(Cu)) {
7080
7079
  let t = -1;
7081
7080
  for (let l = 0; l < e.length; l++)
7082
- if (e[l] === "_" && e[l - 1] !== "_" && e[l + 1] !== "_" && e[l - 1] !== "\\" && !vu(e, l) && !Cr(e, l)) {
7081
+ if (e[l] === "_" && e[l - 1] !== "_" && e[l + 1] !== "_" && e[l - 1] !== "\\" && !Ru(e, l) && !Sr(e, l)) {
7083
7082
  const o = l > 0 ? e[l - 1] : "", a = l < e.length - 1 ? e[l + 1] : "";
7084
7083
  if (o && a && /[\p{L}\p{N}_]/u.test(o) && /[\p{L}\p{N}_]/u.test(a))
7085
7084
  continue;
@@ -7093,16 +7092,16 @@ const zn = (e) => {
7093
7092
  );
7094
7093
  if (!r || /^[\s_~*`]*$/.test(r))
7095
7094
  return e;
7096
- if (Du(e) % 2 === 1)
7095
+ if (vu(e) % 2 === 1)
7097
7096
  return `${e}_`;
7098
7097
  }
7099
7098
  return e;
7100
- }, Fu = (e) => {
7099
+ }, Ou = (e) => {
7101
7100
  let n = 0;
7102
7101
  for (let t = 0; t < e.length; t++)
7103
7102
  e[t] === "`" && !ln(e, t) && n++;
7104
7103
  return n;
7105
- }, Bu = (e) => {
7104
+ }, Fu = (e) => {
7106
7105
  if (e.match(/^```[^`\n]*```?$/) && !e.includes(`
7107
7106
  `))
7108
7107
  return e.endsWith("``") && !e.endsWith("```") ? `${e}\`` : e;
@@ -7110,17 +7109,17 @@ const zn = (e) => {
7110
7109
  if (t > 0 && t % 2 === 0 && e.includes(`
7111
7110
  `) || (e.endsWith("```\n") || e.endsWith("```")) && t % 2 === 0)
7112
7111
  return e;
7113
- const i = e.match(Eu);
7112
+ const i = e.match(Iu);
7114
7113
  if (i && !r) {
7115
7114
  const l = i[2];
7116
7115
  if (!l || /^[\s_~*`]*$/.test(l))
7117
7116
  return e;
7118
- if (Fu(e) % 2 === 1)
7117
+ if (Ou(e) % 2 === 1)
7119
7118
  return `${e}\``;
7120
7119
  }
7121
7120
  return e;
7122
- }, Uu = (e) => {
7123
- const n = e.match(Au);
7121
+ }, Bu = (e) => {
7122
+ const n = e.match(Eu);
7124
7123
  if (n) {
7125
7124
  const t = n[2];
7126
7125
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -7129,7 +7128,7 @@ const zn = (e) => {
7129
7128
  return `${e}~~`;
7130
7129
  }
7131
7130
  return e;
7132
- }, ju = (e) => {
7131
+ }, Uu = (e) => {
7133
7132
  if ((e.match(/\$\$/g) || []).length % 2 === 0)
7134
7133
  return e;
7135
7134
  const t = e.indexOf("$$");
@@ -7137,7 +7136,7 @@ const zn = (e) => {
7137
7136
  `, t) !== -1 && !e.endsWith(`
7138
7137
  `) ? `${e}
7139
7138
  $$` : `${e}$$`;
7140
- }, $u = (e) => {
7139
+ }, ju = (e) => {
7141
7140
  let n = 0;
7142
7141
  const t = e.match(/\*+/g) || [];
7143
7142
  for (const r of t) {
@@ -7145,27 +7144,27 @@ $$` : `${e}$$`;
7145
7144
  i >= 3 && (n += Math.floor(i / 3));
7146
7145
  }
7147
7146
  return n;
7148
- }, Hu = (e) => {
7147
+ }, $u = (e) => {
7149
7148
  if (Wn(e) || /^\*{4,}$/.test(e))
7150
7149
  return e;
7151
- const n = e.match(Su);
7150
+ const n = e.match(wu);
7152
7151
  if (n) {
7153
7152
  const t = n[2];
7154
7153
  if (!t || /^[\s_~*`]*$/.test(t))
7155
7154
  return e;
7156
- if ($u(e) % 2 === 1)
7155
+ if (ju(e) % 2 === 1)
7157
7156
  return `${e}***`;
7158
7157
  }
7159
7158
  return e;
7160
- }, Vu = (e) => {
7159
+ }, Hu = (e) => {
7161
7160
  if (!e || typeof e != "string")
7162
7161
  return e;
7163
7162
  let n = e;
7164
- n = Lu(n);
7165
- const t = zu(n);
7166
- return t.endsWith("](placeholder:incomplete-link)") ? t : (n = t, n = Bu(n), n = Hu(n), n = _u(n), n = Mu(n), n = Ru(n), n = Ou(n), n = Uu(n), n = ju(n), n);
7163
+ n = Tu(n);
7164
+ const t = Lu(n);
7165
+ return t.endsWith("](placeholder:incomplete-link)") ? t : (n = t, n = Fu(n), n = $u(n), n = zu(n), n = _u(n), n = Nu(n), n = Du(n), n = Bu(n), n = Uu(n), n);
7167
7166
  };
7168
- class qu {
7167
+ class Vu {
7169
7168
  remarkGfm = null;
7170
7169
  rehypeKatex = null;
7171
7170
  remarkMath = null;
@@ -7177,7 +7176,7 @@ class qu {
7177
7176
  if (!this.rehypeMermaid) {
7178
7177
  const { default: n } = await import(
7179
7178
  /* webpackChunkName: "md-rehype-mermaid" */
7180
- "./rehype-mermaid.BdX4FNx6.js"
7179
+ "./rehype-mermaid.DBBytI1M.js"
7181
7180
  ).then((t) => t.rehypeMermaid);
7182
7181
  this.rehypeMermaid = n;
7183
7182
  }
@@ -7187,7 +7186,7 @@ class qu {
7187
7186
  if (!this.remarkGfm) {
7188
7187
  const { default: n } = await import(
7189
7188
  /* webpackChunkName: "md-remark" */
7190
- "./index.CacVTYUi.js"
7189
+ "./index.jTMAwvqw.js"
7191
7190
  );
7192
7191
  this.remarkGfm = n;
7193
7192
  }
@@ -7195,10 +7194,10 @@ class qu {
7195
7194
  }
7196
7195
  async loadKatex() {
7197
7196
  if (!this.rehypeKatex) {
7198
- Qu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
7197
+ Ku("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
7199
7198
  const { default: n } = await import(
7200
7199
  /* webpackChunkName: "md-rehype-katex" */
7201
- "./index.Cwy5dqPH.js"
7200
+ "./index.BbGq3i0Z.js"
7202
7201
  );
7203
7202
  this.rehypeKatex = n;
7204
7203
  }
@@ -7208,7 +7207,7 @@ class qu {
7208
7207
  if (!this.remarkMath) {
7209
7208
  const { default: n } = await import(
7210
7209
  /* webpackChunkName: "md-remark" */
7211
- "./index._wuBqYM-.js"
7210
+ "./index.nS2ugdrV.js"
7212
7211
  );
7213
7212
  this.remarkMath = n;
7214
7213
  }
@@ -7218,61 +7217,61 @@ class qu {
7218
7217
  if (!this.rehypeHighlight) {
7219
7218
  const { default: n } = await import(
7220
7219
  /* webpackChunkName: "md-rehype-highlight" */
7221
- "./index.DFah9PmB.js"
7220
+ "./index.CxVl48pN.js"
7222
7221
  );
7223
7222
  this.rehypeHighlight = n;
7224
7223
  }
7225
7224
  return this.rehypeHighlight;
7226
7225
  }
7227
7226
  }
7228
- const je = new qu(), Wu = ({
7227
+ const je = new Vu(), qu = ({
7229
7228
  children: e,
7230
7229
  raw: n,
7231
7230
  ...t
7232
7231
  }) => /* @__PURE__ */ Ot("pre", { className: "relative pt-7 sm:pt-2 ps-0 sm:ps-3", ...t, children: [
7233
7232
  e,
7234
7233
  /* @__PURE__ */ Te(
7235
- $t,
7234
+ Br,
7236
7235
  {
7237
7236
  mode: "dark",
7238
7237
  noBorder: !0,
7239
7238
  focusMode: "light",
7240
- copyToClipboard: () => Fr(n) || "",
7239
+ copyToClipboard: () => Dr(n) || "",
7241
7240
  labelRight: "Copy",
7242
7241
  radius: "small",
7243
7242
  className: "mb-2 px-1 absolute top-2 right-2 font-sans font-normal text-xs"
7244
7243
  }
7245
7244
  )
7246
- ] }), Xu = (e) => /```(?!mermaid)/.test(e), Yu = (e) => e.includes("```mermaid"), Gu = (e) => e.includes("$$"), Ku = (e) => (
7245
+ ] }), Wu = (e) => /```(?!mermaid)/.test(e), Xu = (e) => e.includes("```mermaid"), Yu = (e) => e.includes("$$"), Gu = (e) => (
7247
7246
  // urls.
7248
7247
  e.includes("http://") || e.includes("https://") || // table.
7249
7248
  e.includes("|") || // strikethrough.
7250
7249
  e.includes("~") || e.includes("~~") || // task lists.
7251
7250
  e.includes("- [ ]") || e.includes("- [x]")
7252
- ), Qu = (e) => {
7251
+ ), Ku = (e) => {
7253
7252
  const n = document.createElement("link");
7254
7253
  n.href = e, n.type = "text/css", n.rel = "stylesheet", n.id = "dynamic-katex-css", document.head.appendChild(n);
7255
- }, Ju = () => (e) => {
7254
+ }, Qu = () => (e) => {
7256
7255
  be(e, (n) => {
7257
7256
  if (n?.type === "element" && n?.tagName === "pre") {
7258
7257
  const [t] = n.children;
7259
7258
  if (t.tagName !== "code")
7260
7259
  return;
7261
- n.raw = Br(t.children?.[0].value);
7260
+ n.raw = Or(t.children?.[0].value);
7262
7261
  }
7263
7262
  });
7264
- }, Zu = () => (e) => {
7263
+ }, Ju = () => (e) => {
7265
7264
  be(e, "element", (n) => {
7266
7265
  n?.type === "element" && n?.tagName === "pre" && (n.properties.raw = n.raw);
7267
7266
  });
7268
- }, os = ({
7267
+ }, ls = ({
7269
7268
  onError: e = () => {
7270
7269
  },
7271
7270
  parseIncomplete: n = !0
7272
7271
  } = {}) => {
7273
7272
  const t = Ee(e), r = Ee(null), i = Ee(null), l = Ee(null), o = Ee(null), a = Ee({
7274
7273
  rehypePlugins: [
7275
- Ju,
7274
+ Qu,
7276
7275
  /**
7277
7276
  * Security: Harden against XSS by restricting allowed elements, attributes,
7278
7277
  * and URL protocols. Uses safe defaults for AI-generated content.
@@ -7286,7 +7285,7 @@ const je = new qu(), Wu = ({
7286
7285
  * conversions or AI-generated content with inline images).
7287
7286
  */
7288
7287
  [
7289
- fi,
7288
+ ci,
7290
7289
  {
7291
7290
  defaultOrigin: typeof window < "u" ? window.location.origin : "https://localhost",
7292
7291
  allowedLinkPrefixes: ["*"],
@@ -7295,7 +7294,7 @@ const je = new qu(), Wu = ({
7295
7294
  }
7296
7295
  ],
7297
7296
  [
7298
- ci,
7297
+ si,
7299
7298
  {
7300
7299
  target: "_blank",
7301
7300
  rel: ["noopener", "noreferrer"]
@@ -7310,43 +7309,43 @@ const je = new qu(), Wu = ({
7310
7309
  const c = Ut(
7311
7310
  (f) => {
7312
7311
  (async () => {
7313
- const d = n ? Vu(f) : f;
7314
- if (!r.current && Xu(d)) {
7312
+ const d = n ? Hu(f) : f;
7313
+ if (!r.current && Wu(d)) {
7315
7314
  r.current = !0;
7316
7315
  const b = await je.loadHighlight();
7317
7316
  a.current.rehypePlugins.push(b);
7318
7317
  }
7319
- if (!i.current && Ku(d)) {
7318
+ if (!i.current && Gu(d)) {
7320
7319
  i.current = !0;
7321
7320
  const b = await je.loadGfm();
7322
7321
  a.current.remarkPlugins.push(b);
7323
7322
  }
7324
- if (!l.current && Gu(d)) {
7323
+ if (!l.current && Yu(d)) {
7325
7324
  l.current = !0;
7326
7325
  const b = await je.loadKatex(), S = await je.loadMath();
7327
7326
  a.current.remarkPlugins.push(S), a.current.rehypePlugins.push(b);
7328
7327
  }
7329
- if (!o.current && Yu(d)) {
7328
+ if (!o.current && Xu(d)) {
7330
7329
  o.current = !0;
7331
7330
  const b = await je.loadMermaid();
7332
7331
  a.current.rehypePlugins.push(b);
7333
7332
  }
7334
7333
  const p = [
7335
7334
  ...a.current.rehypePlugins,
7336
- Zu
7335
+ Ju
7337
7336
  ];
7338
- hu().use(pa).use(a.current.remarkPlugins).use(Ya).use(p).use(ll, {
7337
+ pu().use(fa).use(a.current.remarkPlugins).use(Xa).use(p).use(il, {
7339
7338
  Fragment: Jn,
7340
7339
  jsx: Te,
7341
7340
  jsxs: Ot,
7342
7341
  components: {
7343
- pre: Wu,
7344
- a: yu
7342
+ pre: qu,
7343
+ a: gu
7345
7344
  }
7346
7345
  }).process(d).then((b) => {
7347
7346
  const S = b.result;
7348
7347
  if (d && d.trim().length > 0 && !zn(S)) {
7349
- u(Or(Jn, null, d));
7348
+ u(vr(Jn, null, d));
7350
7349
  return;
7351
7350
  }
7352
7351
  u(S);
@@ -7365,26 +7364,26 @@ export {
7365
7364
  In as asciiControl,
7366
7365
  rn as blankLine,
7367
7366
  xt as classifyCharacter,
7368
- sl as combineExtensions,
7369
- Xt as convert,
7370
- Wt as convertElement,
7367
+ ul as combineExtensions,
7368
+ Wt as convert,
7369
+ qt as convertElement,
7371
7370
  q as factorySpace,
7372
- Ti as find,
7373
- _i as html,
7371
+ Pi as find,
7372
+ zi as html,
7374
7373
  L as markdownLineEnding,
7375
7374
  Q as markdownLineEndingOrSpace,
7376
7375
  v as markdownSpace,
7377
7376
  bn as normalize,
7378
7377
  ze as normalizeIdentifier,
7379
- Jr as parse,
7380
- ls as parse$1,
7378
+ Qr as parse,
7379
+ is as parse$1,
7381
7380
  Hn as resolveAll,
7382
7381
  se as splice,
7383
7382
  On as svg,
7384
- al as toString,
7385
- dl as unicodePunctuation,
7386
- gl as unicodeWhitespace,
7387
- os as useMarkdown,
7383
+ ol as toString,
7384
+ ml as unicodePunctuation,
7385
+ dl as unicodeWhitespace,
7386
+ ls as useMarkdown,
7388
7387
  be as visit,
7389
- li as visitParents
7388
+ ii as visitParents
7390
7389
  };