@versini/sassysaint 8.109.0 → 8.109.1

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.BRT56BDz.js → AboutChangelog.CHx3bA8W.js} +2 -2
  2. package/dist/chunks/{AboutEntry.CMdPepoL.js → AboutEntry.B7hjR8pi.js} +7 -7
  3. package/dist/chunks/{App.Wt9DAZC-.js → App.CvQU6EGq.js} +17 -17
  4. package/dist/chunks/{Bubble.DHQ4RPG6.js → Bubble.B5Bk6utN.js} +1 -1
  5. package/dist/chunks/{ButtonIconDelete.BiZeGt0X.js → ButtonIconDelete.C0IuterV.js} +2 -2
  6. package/dist/chunks/{Chart.D8o5vo-h.js → Chart.Bhit-mtQ.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.BtddW9mU.js → ChatBubbleAssistant.BFdbFREH.js} +4 -4
  8. package/dist/chunks/{ChatBubbleUser.CbmwaMlm.js → ChatBubbleUser.BR5AqwE9.js} +3 -3
  9. package/dist/chunks/{ChatHistoryTable.DKqwrBKD.js → ChatHistoryTable.BJUF2mNs.js} +4 -4
  10. package/dist/chunks/{HistoryEntry.DFec1Nmm.js → HistoryEntry.BiqgKjR3.js} +6 -6
  11. package/dist/chunks/{LoginEntry.DBwmp8As.js → LoginEntry.DKzVM9lq.js} +4 -4
  12. package/dist/chunks/{LogoEntry.SOgHBcue.js → LogoEntry.Et0a-97_.js} +1 -1
  13. package/dist/chunks/{MemoriesEntry.CITyGK6c.js → MemoriesEntry.yJKFVG54.js} +5 -5
  14. package/dist/chunks/{ProfileEntry.BGpx5xaf.js → ProfileEntry.8zXuUXK_.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.D3L4l7IC.js → SettingsEntry.BP8H8gHu.js} +5 -5
  16. package/dist/chunks/{UsageEntry.CmdeJLIV.js → UsageEntry.CamC3XI3.js} +5 -5
  17. package/dist/chunks/{_basePickBy.DH8qu2bB.js → _basePickBy.DwmlU26x.js} +2 -2
  18. package/dist/chunks/{_baseUniq.CrQICPim.js → _baseUniq.BQsx-qln.js} +1 -1
  19. package/dist/chunks/{arc.B-ORIToq.js → arc.ynrnfWOq.js} +1 -1
  20. package/dist/chunks/{architecture-U656AL7Q.CB6_RZNp.js → architecture-U656AL7Q.DtWoTE88.js} +1 -1
  21. package/dist/chunks/{architectureDiagram-VXUJARFQ.C7qK6HYe.js → architectureDiagram-VXUJARFQ.CDFvIr0j.js} +4 -4
  22. package/dist/chunks/{blockDiagram-VD42YOAC.DwHlAQP2.js → blockDiagram-VD42YOAC.BLWWo36R.js} +5 -5
  23. package/dist/chunks/{browser.6DQmJHgS.js → browser.BvYD8dc4.js} +1 -1
  24. package/dist/chunks/{c4Diagram-YG6GDRKO.CVlKk_bX.js → c4Diagram-YG6GDRKO.-whHC2cr.js} +2 -2
  25. package/dist/chunks/{channel.Cp5WxJIQ.js → channel.CiPC9guK.js} +1 -1
  26. package/dist/chunks/{chunk-4BX2VUAB.WBa0Ue2n.js → chunk-4BX2VUAB.BOZN6uSe.js} +1 -1
  27. package/dist/chunks/{chunk-55IACEB6.RtaLYhpZ.js → chunk-55IACEB6.wEa6Vrrn.js} +1 -1
  28. package/dist/chunks/{chunk-B4BG7PRW.EjCIJ_Sg.js → chunk-B4BG7PRW.sEhBCKvF.js} +4 -4
  29. package/dist/chunks/{chunk-DI55MBZ5.-iqCDsf4.js → chunk-DI55MBZ5.DJ2ZY0Xk.js} +3 -3
  30. package/dist/chunks/{chunk-FMBD7UC4.Bd4tH_tI.js → chunk-FMBD7UC4.jo8ibE98.js} +1 -1
  31. package/dist/chunks/{chunk-QN33PNHL.BFvp5Q5Y.js → chunk-QN33PNHL.FbSApAGi.js} +1 -1
  32. package/dist/chunks/{chunk-QZHKN3VN.BfDkJcT4.js → chunk-QZHKN3VN.B-GQnYi1.js} +1 -1
  33. package/dist/chunks/{chunk-TZMSLE5B.CNZv5C8k.js → chunk-TZMSLE5B.DeXLG4gm.js} +1 -1
  34. package/dist/chunks/{classDiagram-2ON5EDUG.D528Q0vD.js → classDiagram-2ON5EDUG.BFI_M0Vv.js} +2 -2
  35. package/dist/chunks/{classDiagram-v2-WZHVMYZB.D528Q0vD.js → classDiagram-v2-WZHVMYZB.BFI_M0Vv.js} +2 -2
  36. package/dist/chunks/{clone.oQvm9kWF.js → clone.CoM2ipCS.js} +1 -1
  37. package/dist/chunks/{cose-bilkent-S5V4N54A.C8MGhXyb.js → cose-bilkent-S5V4N54A.CW44zK-a.js} +2 -2
  38. package/dist/chunks/{dagre-6UL2VRFP.C70R4kjG.js → dagre-6UL2VRFP.VaYbgRPs.js} +6 -6
  39. package/dist/chunks/{diagram-PSM6KHXK.a0yfWeeT.js → diagram-PSM6KHXK.CrrlGnPy.js} +4 -4
  40. package/dist/chunks/{diagram-QEK2KX5R.CHu0oabd.js → diagram-QEK2KX5R.BSo_CGEX.js} +3 -3
  41. package/dist/chunks/{diagram-S2PKOQOG.DtAmuun8.js → diagram-S2PKOQOG.Rgo5A0oh.js} +3 -3
  42. package/dist/chunks/{erDiagram-Q2GNP2WA.CAVJYpQJ.js → erDiagram-Q2GNP2WA.v7LUWRA_.js} +4 -4
  43. package/dist/chunks/{flowDiagram-NV44I4VS.DpHS6qne.js → flowDiagram-NV44I4VS.CUK5d1OY.js} +5 -5
  44. package/dist/chunks/{ganttDiagram-JELNMOA3.DFb9KpTj.js → ganttDiagram-JELNMOA3.DSpVGXrZ.js} +2 -2
  45. package/dist/chunks/{gitGraph-F6HP7TQM.BBgVCGPo.js → gitGraph-F6HP7TQM.CR5ma9FN.js} +1 -1
  46. package/dist/chunks/{gitGraphDiagram-NY62KEGX.CmGPx1Oe.js → gitGraphDiagram-NY62KEGX.ddzDD3PJ.js} +4 -4
  47. package/dist/chunks/{graph.CYf6HeGF.js → graph.Dw7qTm3Q.js} +2 -2
  48. package/dist/chunks/{index.CIxznrNX.js → index.7QjsCYx3.js} +1 -1
  49. package/dist/chunks/{index.0AN8Lw62.js → index.BNY6p-fk.js} +2 -2
  50. package/dist/chunks/{index.Cqc0UUEV.js → index.Bo0ZyMS6.js} +1 -1
  51. package/dist/chunks/{index.Dfo3o3CL.js → index.CNOm7KYJ.js} +1 -1
  52. package/dist/chunks/{index.DMdseE_T.js → index.D0bvjdAE.js} +1 -1
  53. package/dist/chunks/{index.Df8WXgco.js → index.D1HS2InQ.js} +1 -1
  54. package/dist/chunks/{index.Bn0jEzpb.js → index.D3lm4Af9.js} +3 -3
  55. package/dist/chunks/{index.oY04wf0d.js → index.DZn5_zSr.js} +3 -3
  56. package/dist/chunks/{index.0CebFe3S.js → index.DpqePp5S.js} +1 -1
  57. package/dist/chunks/{info-NVLQJR56.BRzS8nLx.js → info-NVLQJR56.DUQkycDd.js} +1 -1
  58. package/dist/chunks/{infoDiagram-WHAUD3N6.CPQxCCp4.js → infoDiagram-WHAUD3N6.NPaVwPcu.js} +2 -2
  59. package/dist/chunks/{journeyDiagram-XKPGCS4Q.BUTeu-UH.js → journeyDiagram-XKPGCS4Q.sLc-NUAF.js} +4 -4
  60. package/dist/chunks/{kanban-definition-3W4ZIXB7.YU1qGGzj.js → kanban-definition-3W4ZIXB7.CJM-u6MS.js} +2 -2
  61. package/dist/chunks/{layout.DHq6HJUe.js → layout.BGNrNalg.js} +4 -4
  62. package/dist/chunks/{mermaid-parser.core.wRlJoAho.js → mermaid-parser.core.3uaMP7ZS.js} +11 -11
  63. package/dist/chunks/{mindmap-definition-VGOIOE7T.Ci0IapnU.js → mindmap-definition-VGOIOE7T.Q2m6DBXW.js} +3 -3
  64. package/dist/chunks/{packet-BFZMPI3H.A110pnSV.js → packet-BFZMPI3H.sN5Fa0Sr.js} +1 -1
  65. package/dist/chunks/{pie-7BOR55EZ.Ww9V4YV2.js → pie-7BOR55EZ.BScE_xM_.js} +1 -1
  66. package/dist/chunks/{pieDiagram-ADFJNKIX.CTPFheKw.js → pieDiagram-ADFJNKIX.WKnsLjJ9.js} +4 -4
  67. package/dist/chunks/{quadrantDiagram-AYHSOK5B.DcdJijIq.js → quadrantDiagram-AYHSOK5B.CF5uxytb.js} +1 -1
  68. package/dist/chunks/{radar-NHE76QYJ.BU4W5dF0.js → radar-NHE76QYJ.C3c_hhO0.js} +1 -1
  69. package/dist/chunks/{rehype-mermaid.BZ1zaur1.js → rehype-mermaid.9DNnJpsp.js} +33 -33
  70. package/dist/chunks/{requirementDiagram-UZGBJVZJ.CGnhgdQn.js → requirementDiagram-UZGBJVZJ.BgyWk-vG.js} +3 -3
  71. package/dist/chunks/{sankeyDiagram-TZEHDZUN.CF8uSFjn.js → sankeyDiagram-TZEHDZUN.DGhb8Q2q.js} +1 -1
  72. package/dist/chunks/{sequenceDiagram-WL72ISMW.BrgYjKXK.js → sequenceDiagram-WL72ISMW.BdgDMneu.js} +3 -3
  73. package/dist/chunks/{stateDiagram-FKZM4ZOC.BDnoXzuW.js → stateDiagram-FKZM4ZOC.WvFhN-Y1.js} +4 -4
  74. package/dist/chunks/{stateDiagram-v2-4FDKWEC3.DDDvYdXA.js → stateDiagram-v2-4FDKWEC3.XGGE9T11.js} +2 -2
  75. package/dist/chunks/{timeline-definition-IT6M3QCI.B24o5itR.js → timeline-definition-IT6M3QCI.BZ0pWBft.js} +2 -2
  76. package/dist/chunks/{treemap-KMMF4GRG.Bl1EPmIr.js → treemap-KMMF4GRG.DkuK4pnF.js} +1 -1
  77. package/dist/chunks/{useMarkdown.GA1S4l3A.js → useMarkdown.C-Fn6Ae-.js} +853 -841
  78. package/dist/chunks/{xychartDiagram-PRI3JC2R.UsbLUEhu.js → xychartDiagram-PRI3JC2R.D313uw2n.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,13 +1,13 @@
1
- import { jsx as Te, jsxs as vt, Fragment as _r } from "react/jsx-runtime";
2
- import { ButtonIcon as Mr, IconCopied as Nr, IconCopy as Rr } from "./LogoEntry.SOgHBcue.js";
3
- import vr, { useState as Dt, useEffect as Ot, useCallback as Ft, useRef as Ee } from "react";
4
- import { getDefaultExportFromCjs as Bt, unObfuscate as Dr, obfuscate as Or } from "./App.Wt9DAZC-.js";
5
- import { isTauri as Fr } from "./index.0AN8Lw62.js";
6
- const Ut = /* @__PURE__ */ vr.forwardRef(({ copyToClipboard: e, ...n }, t) => {
7
- const [r, i] = Dt(!1), l = () => {
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.Et0a-97_.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.CvQU6EGq.js";
5
+ import { isTauri as Ur } from "./index.BNY6p-fk.js";
6
+ const $t = /* @__PURE__ */ Dr.forwardRef(({ copyToClipboard: e, ...n }, t) => {
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
  };
10
- return Ot(() => {
10
+ return Bt(() => {
11
11
  let o;
12
12
  return r && (o = window.setTimeout(() => {
13
13
  i(!1);
@@ -16,29 +16,29 @@ const Ut = /* @__PURE__ */ vr.forwardRef(({ copyToClipboard: e, ...n }, t) => {
16
16
  };
17
17
  }, [
18
18
  r
19
- ]), /* @__PURE__ */ Te(Mr, {
19
+ ]), /* @__PURE__ */ Te(Nr, {
20
20
  ...n,
21
21
  size: "small",
22
22
  ref: t,
23
23
  label: r ? "Copied to clipboard" : "Copy to clipboard",
24
24
  onClick: l,
25
25
  disabled: r,
26
- children: r ? /* @__PURE__ */ Te(Nr, {
26
+ children: r ? /* @__PURE__ */ Te(Rr, {
27
27
  size: "size-3"
28
- }) : /* @__PURE__ */ Te(Rr, {
28
+ }) : /* @__PURE__ */ Te(vr, {
29
29
  size: "size-3"
30
30
  })
31
31
  });
32
32
  });
33
- Ut.displayName = "ButtonCopy";
34
- const jt = -1, nn = 0, He = 1, en = 2, zn = 3, _n = 4, Mn = 5, Nn = 6, $t = 7, Ht = 8, Qn = typeof self == "object" ? self : globalThis, Br = (e, n) => {
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) => {
35
35
  const t = (i, l) => (e.set(l, i), i), r = (i) => {
36
36
  if (e.has(i))
37
37
  return e.get(i);
38
38
  const [l, o] = n[i];
39
39
  switch (l) {
40
40
  case nn:
41
- case jt:
41
+ case Ht:
42
42
  return t(o, i);
43
43
  case He: {
44
44
  const a = t([], i);
@@ -52,29 +52,29 @@ const jt = -1, nn = 0, He = 1, en = 2, zn = 3, _n = 4, Mn = 5, Nn = 6, $t = 7, H
52
52
  a[r(s)] = r(u);
53
53
  return a;
54
54
  }
55
- case zn:
55
+ case _n:
56
56
  return t(new Date(o), i);
57
- case _n: {
57
+ case Mn: {
58
58
  const { source: a, flags: s } = o;
59
59
  return t(new RegExp(a, s), i);
60
60
  }
61
- case Mn: {
61
+ case Nn: {
62
62
  const a = t(/* @__PURE__ */ new Map(), i);
63
63
  for (const [s, u] of o)
64
64
  a.set(r(s), r(u));
65
65
  return a;
66
66
  }
67
- case Nn: {
67
+ case Rn: {
68
68
  const a = t(/* @__PURE__ */ new Set(), i);
69
69
  for (const s of o)
70
70
  a.add(r(s));
71
71
  return a;
72
72
  }
73
- case $t: {
73
+ case Vt: {
74
74
  const { name: a, message: s } = o;
75
- return t(new Qn[a](s), i);
75
+ return t(new Zn[a](s), i);
76
76
  }
77
- case Ht:
77
+ case qt:
78
78
  return t(BigInt(o), i);
79
79
  case "BigInt":
80
80
  return t(Object(BigInt(o)), i);
@@ -85,32 +85,32 @@ const jt = -1, nn = 0, He = 1, en = 2, zn = 3, _n = 4, Mn = 5, Nn = 6, $t = 7, H
85
85
  return t(new DataView(a), o);
86
86
  }
87
87
  }
88
- return t(new Qn[l](o), i);
88
+ return t(new Zn[l](o), i);
89
89
  };
90
90
  return r;
91
- }, Jn = (e) => Br(/* @__PURE__ */ new Map(), e)(0), Pe = "", { toString: Ur } = {}, { keys: jr } = Object, De = (e) => {
91
+ }, et = (e) => jr(/* @__PURE__ */ new Map(), e)(0), Pe = "", { toString: $r } = {}, { keys: Hr } = Object, De = (e) => {
92
92
  const n = typeof e;
93
93
  if (n !== "object" || !e)
94
94
  return [nn, n];
95
- const t = Ur.call(e).slice(8, -1);
95
+ const t = $r.call(e).slice(8, -1);
96
96
  switch (t) {
97
97
  case "Array":
98
98
  return [He, Pe];
99
99
  case "Object":
100
100
  return [en, Pe];
101
101
  case "Date":
102
- return [zn, Pe];
103
- case "RegExp":
104
102
  return [_n, Pe];
105
- case "Map":
103
+ case "RegExp":
106
104
  return [Mn, Pe];
107
- case "Set":
105
+ case "Map":
108
106
  return [Nn, Pe];
107
+ case "Set":
108
+ return [Rn, Pe];
109
109
  case "DataView":
110
110
  return [He, t];
111
111
  }
112
- return t.includes("Array") ? [He, t] : t.includes("Error") ? [$t, t] : [en, t];
113
- }, Ke = ([e, n]) => e === nn && (n === "function" || n === "symbol"), $r = (e, n, t, r) => {
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) => {
114
114
  const i = (o, a) => {
115
115
  const s = r.push(o) - 1;
116
116
  return t.set(a, s), s;
@@ -123,7 +123,7 @@ const jt = -1, nn = 0, He = 1, en = 2, zn = 3, _n = 4, Mn = 5, Nn = 6, $t = 7, H
123
123
  let c = o;
124
124
  switch (s) {
125
125
  case "bigint":
126
- a = Ht, c = o.toString();
126
+ a = qt, c = o.toString();
127
127
  break;
128
128
  case "function":
129
129
  case "symbol":
@@ -132,7 +132,7 @@ const jt = -1, nn = 0, He = 1, en = 2, zn = 3, _n = 4, Mn = 5, Nn = 6, $t = 7, H
132
132
  c = null;
133
133
  break;
134
134
  case "undefined":
135
- return i([jt], o);
135
+ return i([Ht], o);
136
136
  }
137
137
  return i([a, c], o);
138
138
  }
@@ -159,23 +159,23 @@ const jt = -1, nn = 0, He = 1, en = 2, zn = 3, _n = 4, Mn = 5, Nn = 6, $t = 7, H
159
159
  if (n && "toJSON" in o)
160
160
  return l(o.toJSON());
161
161
  const c = [], f = i([a, c], o);
162
- for (const d of jr(o))
162
+ for (const d of Hr(o))
163
163
  (e || !Ke(De(o[d]))) && c.push([l(d), l(o[d])]);
164
164
  return f;
165
165
  }
166
- case zn:
166
+ case _n:
167
167
  return i([a, o.toISOString()], o);
168
- case _n: {
168
+ case Mn: {
169
169
  const { source: c, flags: f } = o;
170
170
  return i([a, { source: c, flags: f }], o);
171
171
  }
172
- case Mn: {
172
+ case Nn: {
173
173
  const c = [], f = i([a, c], o);
174
174
  for (const [d, p] of o)
175
175
  (e || !(Ke(De(d)) || Ke(De(p)))) && c.push([l(d), l(p)]);
176
176
  return f;
177
177
  }
178
- case Nn: {
178
+ case Rn: {
179
179
  const c = [], f = i([a, c], o);
180
180
  for (const d of o)
181
181
  (e || !Ke(De(d))) && c.push(l(d));
@@ -186,13 +186,13 @@ const jt = -1, nn = 0, He = 1, en = 2, zn = 3, _n = 4, Mn = 5, Nn = 6, $t = 7, H
186
186
  return i([a, { name: s, message: u }], o);
187
187
  };
188
188
  return l;
189
- }, Zn = (e, { json: n, lossy: t } = {}) => {
189
+ }, nt = (e, { json: n, lossy: t } = {}) => {
190
190
  const r = [];
191
- return $r(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
191
+ return Vr(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
192
192
  }, xe = typeof structuredClone == "function" ? (
193
193
  /* c8 ignore start */
194
- (e, n) => n && ("json" in n || "lossy" in n) ? Jn(Zn(e, n)) : structuredClone(e)
195
- ) : (e, n) => Jn(Zn(e, n)), Vt = (
194
+ (e, n) => n && ("json" in n || "lossy" in n) ? et(nt(e, n)) : structuredClone(e)
195
+ ) : (e, n) => et(nt(e, n)), Wt = (
196
196
  // Note: overloads in JSDoc can’t yet use different `@template`s.
197
197
  /**
198
198
  * @type {(
@@ -208,22 +208,22 @@ const jt = -1, nn = 0, He = 1, en = 2, zn = 3, _n = 4, Mn = 5, Nn = 6, $t = 7, H
208
208
  */
209
209
  (function(e) {
210
210
  if (e == null)
211
- return qr;
211
+ return Xr;
212
212
  if (typeof e == "string")
213
- return Vr(e);
213
+ return Wr(e);
214
214
  if (typeof e == "object")
215
- return Hr(e);
215
+ return qr(e);
216
216
  if (typeof e == "function")
217
- return Rn(e);
217
+ return vn(e);
218
218
  throw new Error("Expected function, string, or array as `test`");
219
219
  })
220
220
  );
221
- function Hr(e) {
221
+ function qr(e) {
222
222
  const n = [];
223
223
  let t = -1;
224
224
  for (; ++t < e.length; )
225
- n[t] = Vt(e[t]);
226
- return Rn(r);
225
+ n[t] = Wt(e[t]);
226
+ return vn(r);
227
227
  function r(...i) {
228
228
  let l = -1;
229
229
  for (; ++l < n.length; )
@@ -231,16 +231,16 @@ function Hr(e) {
231
231
  return !1;
232
232
  }
233
233
  }
234
- function Vr(e) {
235
- return Rn(n);
234
+ function Wr(e) {
235
+ return vn(n);
236
236
  function n(t) {
237
237
  return t.tagName === e;
238
238
  }
239
239
  }
240
- function Rn(e) {
240
+ function vn(e) {
241
241
  return n;
242
242
  function n(t, r, i) {
243
- return !!(Wr(t) && e.call(
243
+ return !!(Yr(t) && e.call(
244
244
  this,
245
245
  t,
246
246
  typeof r == "number" ? r : void 0,
@@ -248,26 +248,26 @@ function Rn(e) {
248
248
  ));
249
249
  }
250
250
  }
251
- function qr(e) {
251
+ function Xr(e) {
252
252
  return !!(e && typeof e == "object" && "type" in e && e.type === "element" && "tagName" in e && typeof e.tagName == "string");
253
253
  }
254
- function Wr(e) {
254
+ function Yr(e) {
255
255
  return e !== null && typeof e == "object" && "type" in e && "tagName" in e;
256
256
  }
257
- const Xr = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Yr = /^[a-zA-Z]:\\/;
258
- function Gr(e) {
257
+ const Gr = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Kr = /^[a-zA-Z]:\\/;
258
+ function Qr(e) {
259
259
  if (typeof e != "string")
260
260
  throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);
261
- return Yr.test(e) ? !1 : Xr.test(e);
261
+ return Kr.test(e) ? !1 : Gr.test(e);
262
262
  }
263
- function Kr(e) {
263
+ function Jr(e) {
264
264
  const n = String(e || "").trim();
265
265
  return n ? n.split(/[ \t\n\r\f]+/g) : [];
266
266
  }
267
- function Qr(e) {
267
+ function Zr(e) {
268
268
  return e.join(" ").trim();
269
269
  }
270
- const qt = (
270
+ const Xt = (
271
271
  // Note: overloads in JSDoc can’t yet use different `@template`s.
272
272
  /**
273
273
  * @type {(
@@ -284,28 +284,28 @@ const qt = (
284
284
  */
285
285
  (function(e) {
286
286
  if (e == null)
287
- return ni;
287
+ return ri;
288
288
  if (typeof e == "function")
289
289
  return tn(e);
290
290
  if (typeof e == "object")
291
- return Array.isArray(e) ? Jr(e) : (
291
+ return Array.isArray(e) ? ei(e) : (
292
292
  // Cast because `ReadonlyArray` goes into the above but `isArray`
293
293
  // narrows to `Array`.
294
- Zr(
294
+ ni(
295
295
  /** @type {Props} */
296
296
  e
297
297
  )
298
298
  );
299
299
  if (typeof e == "string")
300
- return ei(e);
300
+ return ti(e);
301
301
  throw new Error("Expected function, string, or object as test");
302
302
  })
303
303
  );
304
- function Jr(e) {
304
+ function ei(e) {
305
305
  const n = [];
306
306
  let t = -1;
307
307
  for (; ++t < e.length; )
308
- n[t] = qt(e[t]);
308
+ n[t] = Xt(e[t]);
309
309
  return tn(r);
310
310
  function r(...i) {
311
311
  let l = -1;
@@ -314,7 +314,7 @@ function Jr(e) {
314
314
  return !1;
315
315
  }
316
316
  }
317
- function Zr(e) {
317
+ function ni(e) {
318
318
  const n = (
319
319
  /** @type {Record<string, unknown>} */
320
320
  e
@@ -332,7 +332,7 @@ function Zr(e) {
332
332
  return !0;
333
333
  }
334
334
  }
335
- function ei(e) {
335
+ function ti(e) {
336
336
  return tn(n);
337
337
  function n(t) {
338
338
  return t && t.type === e;
@@ -341,7 +341,7 @@ function ei(e) {
341
341
  function tn(e) {
342
342
  return n;
343
343
  function n(t, r, i) {
344
- return !!(ti(t) && e.call(
344
+ return !!(ii(t) && e.call(
345
345
  this,
346
346
  t,
347
347
  typeof r == "number" ? r : void 0,
@@ -349,17 +349,17 @@ function tn(e) {
349
349
  ));
350
350
  }
351
351
  }
352
- function ni() {
352
+ function ri() {
353
353
  return !0;
354
354
  }
355
- function ti(e) {
355
+ function ii(e) {
356
356
  return e !== null && typeof e == "object" && "type" in e;
357
357
  }
358
- const Wt = [], $e = !0, et = !1, xn = "skip";
359
- function ri(e, n, t, r) {
358
+ const Yt = [], $e = !0, tt = !1, xn = "skip";
359
+ function li(e, n, t, r) {
360
360
  let i;
361
361
  typeof n == "function" && typeof t != "function" ? (r = t, t = n) : i = n;
362
- const l = qt(i), o = r ? -1 : 1;
362
+ const l = Xt(i), o = r ? -1 : 1;
363
363
  a(e, void 0, [])();
364
364
  function a(s, u, c) {
365
365
  const f = (
@@ -380,8 +380,8 @@ function ri(e, n, t, r) {
380
380
  }
381
381
  return d;
382
382
  function d() {
383
- let p = Wt, b, w, L;
384
- if ((!n || l(s, u, c[c.length - 1] || void 0)) && (p = ii(t(s, c)), p[0] === et))
383
+ let p = Yt, b, w, T;
384
+ if ((!n || l(s, u, c[c.length - 1] || void 0)) && (p = oi(t(s, c)), p[0] === tt))
385
385
  return p;
386
386
  if ("children" in s && s.children) {
387
387
  const x = (
@@ -389,9 +389,9 @@ function ri(e, n, t, r) {
389
389
  s
390
390
  );
391
391
  if (x.children && p[0] !== xn)
392
- for (w = (r ? x.children.length : -1) + o, L = c.concat(x); w > -1 && w < x.children.length; ) {
393
- const T = x.children[w];
394
- if (b = a(T, w, L)(), b[0] === et)
392
+ for (w = (r ? x.children.length : -1) + o, T = c.concat(x); w > -1 && w < x.children.length; ) {
393
+ const L = x.children[w];
394
+ if (b = a(L, w, T)(), b[0] === tt)
395
395
  return b;
396
396
  w = typeof b[1] == "number" ? b[1] : w + o;
397
397
  }
@@ -400,26 +400,26 @@ function ri(e, n, t, r) {
400
400
  }
401
401
  }
402
402
  }
403
- function ii(e) {
404
- return Array.isArray(e) ? e : typeof e == "number" ? [$e, e] : e == null ? Wt : [e];
403
+ function oi(e) {
404
+ return Array.isArray(e) ? e : typeof e == "number" ? [$e, e] : e == null ? Yt : [e];
405
405
  }
406
406
  function be(e, n, t, r) {
407
407
  let i, l, o;
408
- typeof n == "function" && typeof t != "function" ? (l = void 0, o = n, i = t) : (l = n, o = t, i = r), ri(e, l, a, i);
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);
409
409
  function a(s, u) {
410
410
  const c = u[u.length - 1], f = c ? c.children.indexOf(s) : void 0;
411
411
  return o(s, f, c);
412
412
  }
413
413
  }
414
- const li = ["http", "https"], oi = ["nofollow"], ai = {};
415
- function ui(e) {
416
- const n = e || ai, t = n.protocols || li, r = Vt(n.test);
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);
417
417
  return function(i) {
418
418
  be(i, "element", function(l, o, a) {
419
419
  if (l.tagName === "a" && typeof l.properties.href == "string" && r(l, o, a)) {
420
420
  const s = l.properties.href;
421
- if (Gr(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) || oi, d = typeof f == "string" ? Kr(f) : f, p = Oe(n.target, l), b = Oe(n.properties, l);
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);
423
423
  if (b && Object.assign(l.properties, xe(b)), d.length > 0 && (l.properties.rel = [...d]), p && (l.properties.target = p), c) {
424
424
  const w = Oe(n.contentProperties, l) || {};
425
425
  l.children.push({
@@ -437,16 +437,16 @@ function ui(e) {
437
437
  function Oe(e, n) {
438
438
  return typeof e == "function" ? e(n) : e;
439
439
  }
440
- function si({ 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" }) {
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" }) {
441
441
  const a = n.length && !n.every((u) => u === "*"), s = t.length && !t.every((u) => u === "*");
442
442
  if (!e && (a || s))
443
443
  throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");
444
444
  return (u) => {
445
- const c = hi(e, n, t, r, i, l, o);
445
+ const c = di(e, n, t, r, i, l, o);
446
446
  be(u, c);
447
447
  };
448
448
  }
449
- function nt(e, n) {
449
+ function rt(e, n) {
450
450
  if (typeof e != "string")
451
451
  return null;
452
452
  try {
@@ -467,10 +467,10 @@ function nt(e, n) {
467
467
  return null;
468
468
  }
469
469
  }
470
- function ci(e) {
470
+ function pi(e) {
471
471
  return typeof e != "string" ? !1 : e.startsWith("/") || e.startsWith("./") || e.startsWith("../");
472
472
  }
473
- const fi = /* @__PURE__ */ new Set([
473
+ const hi = /* @__PURE__ */ new Set([
474
474
  "https:",
475
475
  "http:",
476
476
  "irc:",
@@ -478,13 +478,13 @@ const fi = /* @__PURE__ */ new Set([
478
478
  "mailto:",
479
479
  "xmpp:",
480
480
  "blob:"
481
- ]), pi = /* @__PURE__ */ new Set([
481
+ ]), mi = /* @__PURE__ */ new Set([
482
482
  "javascript:",
483
483
  "data:",
484
484
  "file:",
485
485
  "vbscript:"
486
486
  ]);
487
- function tt(e, n, t, r = !1, i = !1, l = []) {
487
+ function it(e, n, t, r = !1, i = !1, l = []) {
488
488
  if (!e)
489
489
  return null;
490
490
  if (typeof e == "string" && e.startsWith("#") && !i)
@@ -507,24 +507,24 @@ function tt(e, n, t, r = !1, i = !1, l = []) {
507
507
  }
508
508
  return null;
509
509
  }
510
- const o = nt(e, t);
511
- if (!o || pi.has(o.protocol) || !(fi.has(o.protocol) || l.includes(o.protocol) || l.includes("*")))
510
+ const o = rt(e, t);
511
+ if (!o || mi.has(o.protocol) || !(hi.has(o.protocol) || l.includes(o.protocol) || l.includes("*")))
512
512
  return null;
513
513
  if (o.protocol === "mailto:" || !o.protocol.match(/^https?:$/))
514
514
  return o.href;
515
- const s = ci(e);
515
+ const s = pi(e);
516
516
  return o && n.some((u) => {
517
- const c = nt(u, t);
517
+ const c = rt(u, t);
518
518
  return !c || c.origin !== o.origin ? !1 : o.href.startsWith(c.href);
519
519
  }) ? 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
520
  }
521
- const on = /* @__PURE__ */ Symbol("node-seen"), hi = (e, n, t, r, i, l, o) => {
521
+ const on = /* @__PURE__ */ Symbol("node-seen"), di = (e, n, t, r, i, l, o) => {
522
522
  const a = (s, u, c) => {
523
523
  if (s.type !== "element" || // @ts-expect-error
524
524
  s[on])
525
525
  return $e;
526
526
  if (s.tagName === "a") {
527
- const f = tt(s.properties.href, n, e, !1, !1, i);
527
+ const f = it(s.properties.href, n, e, !1, !1, i);
528
528
  return f === null ? (s[on] = !0, be(s, a), c && typeof u == "number" && (c.children[u] = {
529
529
  type: "element",
530
530
  tagName: "span",
@@ -542,7 +542,7 @@ const on = /* @__PURE__ */ Symbol("node-seen"), hi = (e, n, t, r, i, l, o) => {
542
542
  }), xn) : (s.properties.href = f, s.properties.target = "_blank", s.properties.rel = "noopener noreferrer", $e);
543
543
  }
544
544
  if (s.tagName === "img") {
545
- const f = tt(s.properties.src, t, e, r, !0, i);
545
+ const f = it(s.properties.src, t, e, r, !0, i);
546
546
  return f === null ? (s[on] = !0, be(s, a), c && typeof u == "number" && (c.children[u] = {
547
547
  type: "element",
548
548
  tagName: "span",
@@ -561,7 +561,7 @@ const on = /* @__PURE__ */ Symbol("node-seen"), hi = (e, n, t, r, i, l, o) => {
561
561
  };
562
562
  return a;
563
563
  };
564
- function rs(e) {
564
+ function ls(e) {
565
565
  const n = [], t = String(e || "");
566
566
  let r = t.indexOf(","), i = 0, l = !1;
567
567
  for (; !l; ) {
@@ -571,22 +571,22 @@ function rs(e) {
571
571
  }
572
572
  return n;
573
573
  }
574
- function mi(e, n) {
574
+ function gi(e, n) {
575
575
  const t = {};
576
576
  return (e[e.length - 1] === "" ? [...e, ""] : e).join(
577
577
  (t.padRight ? " " : "") + "," + (t.padLeft === !1 ? "" : " ")
578
578
  ).trim();
579
579
  }
580
- const di = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, gi = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, yi = {};
581
- function rt(e, n) {
582
- return (yi.jsx ? gi : di).test(e);
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 = {};
581
+ function lt(e, n) {
582
+ return (xi.jsx ? ki : yi).test(e);
583
583
  }
584
- const ki = /[ \t\n\f\r]/g;
585
- function xi(e) {
586
- return typeof e == "object" ? e.type === "text" ? it(e.value) : !1 : it(e);
584
+ const bi = /[ \t\n\f\r]/g;
585
+ function wi(e) {
586
+ return typeof e == "object" ? e.type === "text" ? ot(e.value) : !1 : ot(e);
587
587
  }
588
- function it(e) {
589
- return e.replace(ki, "") === "";
588
+ function ot(e) {
589
+ return e.replace(bi, "") === "";
590
590
  }
591
591
  class Xe {
592
592
  /**
@@ -606,7 +606,7 @@ class Xe {
606
606
  Xe.prototype.normal = {};
607
607
  Xe.prototype.property = {};
608
608
  Xe.prototype.space = void 0;
609
- function Xt(e, n) {
609
+ function Gt(e, n) {
610
610
  const t = {}, r = {};
611
611
  for (const i of e)
612
612
  Object.assign(t, i.property), Object.assign(r, i.normal);
@@ -640,16 +640,16 @@ J.prototype.overloadedBoolean = !1;
640
640
  J.prototype.property = "";
641
641
  J.prototype.spaceSeparated = !1;
642
642
  J.prototype.space = void 0;
643
- let bi = 0;
643
+ let Si = 0;
644
644
  const N = we(), q = we(), wn = we(), k = we(), $ = we(), Le = we(), ee = we();
645
645
  function we() {
646
- return 2 ** ++bi;
646
+ return 2 ** ++Si;
647
647
  }
648
648
  const Sn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: N, booleanish: q, commaOrSpaceSeparated: ee, commaSeparated: Le, number: k, overloadedBoolean: wn, spaceSeparated: $ }, Symbol.toStringTag, { value: "Module" })), an = (
649
649
  /** @type {ReadonlyArray<keyof typeof types>} */
650
650
  Object.keys(Sn)
651
651
  );
652
- class vn extends J {
652
+ class Dn extends J {
653
653
  /**
654
654
  * @constructor
655
655
  * @param {string} property
@@ -665,21 +665,21 @@ class vn extends J {
665
665
  */
666
666
  constructor(n, t, r, i) {
667
667
  let l = -1;
668
- if (super(n, t), lt(this, "space", i), typeof r == "number")
668
+ if (super(n, t), at(this, "space", i), typeof r == "number")
669
669
  for (; ++l < an.length; ) {
670
670
  const o = an[l];
671
- lt(this, an[l], (r & Sn[o]) === Sn[o]);
671
+ at(this, an[l], (r & Sn[o]) === Sn[o]);
672
672
  }
673
673
  }
674
674
  }
675
- vn.prototype.defined = !0;
676
- function lt(e, n, t) {
675
+ Dn.prototype.defined = !0;
676
+ function at(e, n, t) {
677
677
  t && (e[n] = t);
678
678
  }
679
679
  function _e(e) {
680
680
  const n = {}, t = {};
681
681
  for (const [r, i] of Object.entries(e.properties)) {
682
- const l = new vn(
682
+ const l = new Dn(
683
683
  r,
684
684
  e.transform(e.attributes || {}, r),
685
685
  i,
@@ -689,7 +689,7 @@ function _e(e) {
689
689
  }
690
690
  return new Xe(n, t, e.space);
691
691
  }
692
- const Yt = _e({
692
+ const Kt = _e({
693
693
  properties: {
694
694
  ariaActiveDescendant: null,
695
695
  ariaAtomic: q,
@@ -745,13 +745,13 @@ const Yt = _e({
745
745
  return n === "role" ? n : "aria-" + n.slice(4).toLowerCase();
746
746
  }
747
747
  });
748
- function Gt(e, n) {
748
+ function Qt(e, n) {
749
749
  return n in e ? e[n] : n;
750
750
  }
751
- function Kt(e, n) {
752
- return Gt(e, n.toLowerCase());
751
+ function Jt(e, n) {
752
+ return Qt(e, n.toLowerCase());
753
753
  }
754
- const wi = _e({
754
+ const Ci = _e({
755
755
  attributes: {
756
756
  acceptcharset: "accept-charset",
757
757
  classname: "class",
@@ -1111,8 +1111,8 @@ const wi = _e({
1111
1111
  unselectable: null
1112
1112
  },
1113
1113
  space: "html",
1114
- transform: Kt
1115
- }), Si = _e({
1114
+ transform: Jt
1115
+ }), Ii = _e({
1116
1116
  attributes: {
1117
1117
  accentHeight: "accent-height",
1118
1118
  alignmentBaseline: "alignment-baseline",
@@ -1670,8 +1670,8 @@ const wi = _e({
1670
1670
  zoomAndPan: null
1671
1671
  },
1672
1672
  space: "svg",
1673
- transform: Gt
1674
- }), Qt = _e({
1673
+ transform: Qt
1674
+ }), Zt = _e({
1675
1675
  properties: {
1676
1676
  xLinkActuate: null,
1677
1677
  xLinkArcRole: null,
@@ -1685,18 +1685,18 @@ const wi = _e({
1685
1685
  transform(e, n) {
1686
1686
  return "xlink:" + n.slice(5).toLowerCase();
1687
1687
  }
1688
- }), Jt = _e({
1688
+ }), er = _e({
1689
1689
  attributes: { xmlnsxlink: "xmlns:xlink" },
1690
1690
  properties: { xmlnsXLink: null, xmlns: null },
1691
1691
  space: "xmlns",
1692
- transform: Kt
1693
- }), Zt = _e({
1692
+ transform: Jt
1693
+ }), nr = _e({
1694
1694
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
1695
1695
  space: "xml",
1696
1696
  transform(e, n) {
1697
1697
  return "xml:" + n.slice(3).toLowerCase();
1698
1698
  }
1699
- }), Ci = {
1699
+ }), Ei = {
1700
1700
  classId: "classID",
1701
1701
  dataType: "datatype",
1702
1702
  itemId: "itemID",
@@ -1714,67 +1714,67 @@ const wi = _e({
1714
1714
  xLinkTitle: "xlinkTitle",
1715
1715
  xLinkType: "xlinkType",
1716
1716
  xmlnsXLink: "xmlnsXlink"
1717
- }, Ii = /[A-Z]/g, ot = /-[a-z]/g, Ei = /^data[-\w.:]+$/i;
1718
- function Pi(e, n) {
1717
+ }, Pi = /[A-Z]/g, ut = /-[a-z]/g, Ai = /^data[-\w.:]+$/i;
1718
+ function Ti(e, n) {
1719
1719
  const t = bn(n);
1720
1720
  let r = n, i = J;
1721
1721
  if (t in e.normal)
1722
1722
  return e.property[e.normal[t]];
1723
- if (t.length > 4 && t.slice(0, 4) === "data" && Ei.test(n)) {
1723
+ if (t.length > 4 && t.slice(0, 4) === "data" && Ai.test(n)) {
1724
1724
  if (n.charAt(4) === "-") {
1725
- const l = n.slice(5).replace(ot, Ti);
1725
+ const l = n.slice(5).replace(ut, zi);
1726
1726
  r = "data" + l.charAt(0).toUpperCase() + l.slice(1);
1727
1727
  } else {
1728
1728
  const l = n.slice(4);
1729
- if (!ot.test(l)) {
1730
- let o = l.replace(Ii, Ai);
1729
+ if (!ut.test(l)) {
1730
+ let o = l.replace(Pi, Li);
1731
1731
  o.charAt(0) !== "-" && (o = "-" + o), n = "data" + o;
1732
1732
  }
1733
1733
  }
1734
- i = vn;
1734
+ i = Dn;
1735
1735
  }
1736
1736
  return new i(r, n);
1737
1737
  }
1738
- function Ai(e) {
1738
+ function Li(e) {
1739
1739
  return "-" + e.toLowerCase();
1740
1740
  }
1741
- function Ti(e) {
1741
+ function zi(e) {
1742
1742
  return e.charAt(1).toUpperCase();
1743
1743
  }
1744
- const Li = Xt([Yt, wi, Qt, Jt, Zt], "html"), Dn = Xt([Yt, Si, Qt, Jt, Zt], "svg");
1745
- var Ae = {}, un, at;
1746
- function zi() {
1747
- if (at) return un;
1748
- at = 1;
1744
+ const _i = Gt([Kt, Ci, Zt, er, nr], "html"), On = Gt([Kt, Ii, Zt, er, nr], "svg");
1745
+ var Ae = {}, un, st;
1746
+ function Mi() {
1747
+ if (st) return un;
1748
+ st = 1;
1749
1749
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, n = /\n/g, t = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, l = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, o = /^[;\s]*/, a = /^\s+|\s+$/g, s = `
1750
1750
  `, u = "/", c = "*", f = "", d = "comment", p = "declaration";
1751
- un = function(w, L) {
1751
+ un = function(w, T) {
1752
1752
  if (typeof w != "string")
1753
1753
  throw new TypeError("First argument must be a string");
1754
1754
  if (!w) return [];
1755
- L = L || {};
1756
- var x = 1, T = 1;
1755
+ T = T || {};
1756
+ var x = 1, L = 1;
1757
1757
  function C(P) {
1758
1758
  var I = P.match(n);
1759
1759
  I && (x += I.length);
1760
1760
  var _ = P.lastIndexOf(s);
1761
- T = ~_ ? P.length - _ : T + P.length;
1761
+ L = ~_ ? P.length - _ : L + P.length;
1762
1762
  }
1763
1763
  function B() {
1764
- var P = { line: x, column: T };
1764
+ var P = { line: x, column: L };
1765
1765
  return function(I) {
1766
1766
  return I.position = new j(P), V(), I;
1767
1767
  };
1768
1768
  }
1769
1769
  function j(P) {
1770
- this.start = P, this.end = { line: x, column: T }, this.source = L.source;
1770
+ this.start = P, this.end = { line: x, column: L }, this.source = T.source;
1771
1771
  }
1772
1772
  j.prototype.content = w;
1773
1773
  function y(P) {
1774
1774
  var I = new Error(
1775
- L.source + ":" + x + ":" + T + ": " + P
1775
+ T.source + ":" + x + ":" + L + ": " + P
1776
1776
  );
1777
- if (I.reason = P, I.filename = L.source, I.line = x, I.column = T, I.source = w, !L.silent) throw I;
1777
+ if (I.reason = P, I.filename = T.source, I.line = x, I.column = L, I.source = w, !T.silent) throw I;
1778
1778
  }
1779
1779
  function v(P) {
1780
1780
  var I = P.exec(w);
@@ -1800,7 +1800,7 @@ function zi() {
1800
1800
  if (I += 2, f === w.charAt(I - 1))
1801
1801
  return y("End of comment missing");
1802
1802
  var _ = w.slice(2, I - 2);
1803
- return T += 2, C(_), w = w.slice(I), T += 2, P({
1803
+ return L += 2, C(_), w = w.slice(I), L += 2, P({
1804
1804
  type: d,
1805
1805
  comment: _
1806
1806
  });
@@ -1832,15 +1832,15 @@ function zi() {
1832
1832
  }
1833
1833
  return un;
1834
1834
  }
1835
- var ut;
1836
- function _i() {
1837
- if (ut) return Ae;
1838
- ut = 1;
1835
+ var ct;
1836
+ function Ni() {
1837
+ if (ct) return Ae;
1838
+ ct = 1;
1839
1839
  var e = Ae && Ae.__importDefault || function(r) {
1840
1840
  return r && r.__esModule ? r : { default: r };
1841
1841
  };
1842
1842
  Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.default = t;
1843
- const n = e(/* @__PURE__ */ zi());
1843
+ const n = e(/* @__PURE__ */ Mi());
1844
1844
  function t(r, i) {
1845
1845
  let l = null;
1846
1846
  if (!r || typeof r != "string")
@@ -1855,10 +1855,10 @@ function _i() {
1855
1855
  }
1856
1856
  return Ae;
1857
1857
  }
1858
- var Fe = {}, st;
1859
- function Mi() {
1860
- if (st) return Fe;
1861
- st = 1, Object.defineProperty(Fe, "__esModule", { value: !0 }), Fe.camelCase = void 0;
1858
+ var Fe = {}, ft;
1859
+ function Ri() {
1860
+ if (ft) return Fe;
1861
+ ft = 1, Object.defineProperty(Fe, "__esModule", { value: !0 }), Fe.camelCase = void 0;
1862
1862
  var e = /^--[a-zA-Z0-9_-]+$/, n = /-([a-z])/g, t = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, i = /^-(ms)-/, l = function(u) {
1863
1863
  return !u || t.test(u) || e.test(u);
1864
1864
  }, o = function(u, c) {
@@ -1870,13 +1870,13 @@ function Mi() {
1870
1870
  };
1871
1871
  return Fe.camelCase = s, Fe;
1872
1872
  }
1873
- var Be, ct;
1874
- function Ni() {
1875
- if (ct) return Be;
1876
- ct = 1;
1873
+ var Be, pt;
1874
+ function vi() {
1875
+ if (pt) return Be;
1876
+ pt = 1;
1877
1877
  var e = Be && Be.__importDefault || function(i) {
1878
1878
  return i && i.__esModule ? i : { default: i };
1879
- }, n = e(/* @__PURE__ */ _i()), t = /* @__PURE__ */ Mi();
1879
+ }, n = e(/* @__PURE__ */ Ni()), t = /* @__PURE__ */ Ri();
1880
1880
  function r(i, l) {
1881
1881
  var o = {};
1882
1882
  return !i || typeof i != "string" || (0, n.default)(i, function(a, s) {
@@ -1885,9 +1885,9 @@ function Ni() {
1885
1885
  }
1886
1886
  return r.default = r, Be = r, Be;
1887
1887
  }
1888
- var Ri = /* @__PURE__ */ Ni();
1889
- const vi = /* @__PURE__ */ Bt(Ri), er = nr("end"), On = nr("start");
1890
- function nr(e) {
1888
+ var Di = /* @__PURE__ */ vi();
1889
+ const Oi = /* @__PURE__ */ jt(Di), tr = rr("end"), Fn = rr("start");
1890
+ function rr(e) {
1891
1891
  return n;
1892
1892
  function n(t) {
1893
1893
  const r = t && t.position && t.position[e] || {};
@@ -1899,21 +1899,21 @@ function nr(e) {
1899
1899
  };
1900
1900
  }
1901
1901
  }
1902
- function Di(e) {
1903
- const n = On(e), t = er(e);
1902
+ function Fi(e) {
1903
+ const n = Fn(e), t = tr(e);
1904
1904
  if (n && t)
1905
1905
  return { start: n, end: t };
1906
1906
  }
1907
1907
  function Ve(e) {
1908
- return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? ft(e.position) : "start" in e || "end" in e ? ft(e) : "line" in e || "column" in e ? Cn(e) : "";
1908
+ return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? ht(e.position) : "start" in e || "end" in e ? ht(e) : "line" in e || "column" in e ? Cn(e) : "";
1909
1909
  }
1910
1910
  function Cn(e) {
1911
- return pt(e && e.line) + ":" + pt(e && e.column);
1911
+ return mt(e && e.line) + ":" + mt(e && e.column);
1912
1912
  }
1913
- function ft(e) {
1913
+ function ht(e) {
1914
1914
  return Cn(e && e.start) + "-" + Cn(e && e.end);
1915
1915
  }
1916
- function pt(e) {
1916
+ function mt(e) {
1917
1917
  return e && typeof e == "number" ? e : 1;
1918
1918
  }
1919
1919
  class G extends Error {
@@ -2003,8 +2003,8 @@ G.prototype.fatal = void 0;
2003
2003
  G.prototype.place = void 0;
2004
2004
  G.prototype.ruleId = void 0;
2005
2005
  G.prototype.source = void 0;
2006
- const Fn = {}.hasOwnProperty, Oi = /* @__PURE__ */ new Map(), Fi = /[A-Z]/g, Bi = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Ui = /* @__PURE__ */ new Set(["td", "th"]), tr = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
2007
- function ji(e, n) {
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) {
2008
2008
  if (!n || n.Fragment === void 0)
2009
2009
  throw new TypeError("Expected `Fragment` in options");
2010
2010
  const t = n.filePath || void 0;
@@ -2014,13 +2014,13 @@ function ji(e, n) {
2014
2014
  throw new TypeError(
2015
2015
  "Expected `jsxDEV` in options when `development: true`"
2016
2016
  );
2017
- r = Gi(t, n.jsxDEV);
2017
+ r = Qi(t, n.jsxDEV);
2018
2018
  } else {
2019
2019
  if (typeof n.jsx != "function")
2020
2020
  throw new TypeError("Expected `jsx` in production options");
2021
2021
  if (typeof n.jsxs != "function")
2022
2022
  throw new TypeError("Expected `jsxs` in production options");
2023
- r = Yi(t, n.jsx, n.jsxs);
2023
+ r = Ki(t, n.jsx, n.jsxs);
2024
2024
  }
2025
2025
  const i = {
2026
2026
  Fragment: n.Fragment,
@@ -2033,10 +2033,10 @@ function ji(e, n) {
2033
2033
  ignoreInvalidStyle: n.ignoreInvalidStyle || !1,
2034
2034
  passKeys: n.passKeys !== !1,
2035
2035
  passNode: n.passNode || !1,
2036
- schema: n.space === "svg" ? Dn : Li,
2036
+ schema: n.space === "svg" ? On : _i,
2037
2037
  stylePropertyNameCase: n.stylePropertyNameCase || "dom",
2038
2038
  tableCellAlignToStyle: n.tableCellAlignToStyle !== !1
2039
- }, l = rr(i, e, void 0);
2039
+ }, l = lr(i, e, void 0);
2040
2040
  return l && typeof l != "string" ? l : i.create(
2041
2041
  e,
2042
2042
  i.Fragment,
@@ -2044,31 +2044,31 @@ function ji(e, n) {
2044
2044
  void 0
2045
2045
  );
2046
2046
  }
2047
- function rr(e, n, t) {
2047
+ function lr(e, n, t) {
2048
2048
  if (n.type === "element")
2049
- return $i(e, n, t);
2049
+ return Vi(e, n, t);
2050
2050
  if (n.type === "mdxFlowExpression" || n.type === "mdxTextExpression")
2051
- return Hi(e, n);
2051
+ return qi(e, n);
2052
2052
  if (n.type === "mdxJsxFlowElement" || n.type === "mdxJsxTextElement")
2053
- return qi(e, n, t);
2053
+ return Xi(e, n, t);
2054
2054
  if (n.type === "mdxjsEsm")
2055
- return Vi(e, n);
2055
+ return Wi(e, n);
2056
2056
  if (n.type === "root")
2057
- return Wi(e, n, t);
2057
+ return Yi(e, n, t);
2058
2058
  if (n.type === "text")
2059
- return Xi(e, n);
2059
+ return Gi(e, n);
2060
2060
  }
2061
- function $i(e, n, t) {
2061
+ function Vi(e, n, t) {
2062
2062
  const r = e.schema;
2063
2063
  let i = r;
2064
- n.tagName.toLowerCase() === "svg" && r.space === "html" && (i = Dn, e.schema = i), e.ancestors.push(n);
2065
- const l = lr(e, n.tagName, !1), o = Ki(e, n);
2066
- let a = Un(e, n);
2067
- return Bi.has(n.tagName) && (a = a.filter(function(s) {
2068
- return typeof s == "string" ? !xi(s) : !0;
2069
- })), ir(e, o, l, n), Bn(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2070
- }
2071
- function Hi(e, n) {
2064
+ 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);
2066
+ 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);
2070
+ }
2071
+ function qi(e, n) {
2072
2072
  if (n.data && n.data.estree && e.evaluater) {
2073
2073
  const r = n.data.estree.body[0];
2074
2074
  return (
@@ -2078,7 +2078,7 @@ function Hi(e, n) {
2078
2078
  }
2079
2079
  We(e, n.position);
2080
2080
  }
2081
- function Vi(e, n) {
2081
+ function Wi(e, n) {
2082
2082
  if (n.data && n.data.estree && e.evaluater)
2083
2083
  return (
2084
2084
  /** @type {Child | undefined} */
@@ -2086,40 +2086,40 @@ function Vi(e, n) {
2086
2086
  );
2087
2087
  We(e, n.position);
2088
2088
  }
2089
- function qi(e, n, t) {
2089
+ function Xi(e, n, t) {
2090
2090
  const r = e.schema;
2091
2091
  let i = r;
2092
- n.name === "svg" && r.space === "html" && (i = Dn, e.schema = i), e.ancestors.push(n);
2093
- const l = n.name === null ? e.Fragment : lr(e, n.name, !0), o = Qi(e, n), a = Un(e, n);
2094
- return ir(e, o, l, n), Bn(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2092
+ 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);
2095
2095
  }
2096
- function Wi(e, n, t) {
2096
+ function Yi(e, n, t) {
2097
2097
  const r = {};
2098
- return Bn(r, Un(e, n)), e.create(n, e.Fragment, r, t);
2098
+ return Un(r, jn(e, n)), e.create(n, e.Fragment, r, t);
2099
2099
  }
2100
- function Xi(e, n) {
2100
+ function Gi(e, n) {
2101
2101
  return n.value;
2102
2102
  }
2103
- function ir(e, n, t, r) {
2103
+ function or(e, n, t, r) {
2104
2104
  typeof t != "string" && t !== e.Fragment && e.passNode && (n.node = r);
2105
2105
  }
2106
- function Bn(e, n) {
2106
+ function Un(e, n) {
2107
2107
  if (n.length > 0) {
2108
2108
  const t = n.length > 1 ? n : n[0];
2109
2109
  t && (e.children = t);
2110
2110
  }
2111
2111
  }
2112
- function Yi(e, n, t) {
2112
+ function Ki(e, n, t) {
2113
2113
  return r;
2114
2114
  function r(i, l, o, a) {
2115
2115
  const u = Array.isArray(o.children) ? t : n;
2116
2116
  return a ? u(l, o, a) : u(l, o);
2117
2117
  }
2118
2118
  }
2119
- function Gi(e, n) {
2119
+ function Qi(e, n) {
2120
2120
  return t;
2121
2121
  function t(r, i, l, o) {
2122
- const a = Array.isArray(l.children), s = On(r);
2122
+ const a = Array.isArray(l.children), s = Fn(r);
2123
2123
  return n(
2124
2124
  i,
2125
2125
  l,
@@ -2134,15 +2134,15 @@ function Gi(e, n) {
2134
2134
  );
2135
2135
  }
2136
2136
  }
2137
- function Ki(e, n) {
2137
+ function Ji(e, n) {
2138
2138
  const t = {};
2139
2139
  let r, i;
2140
2140
  for (i in n.properties)
2141
- if (i !== "children" && Fn.call(n.properties, i)) {
2142
- const l = Ji(e, i, n.properties[i]);
2141
+ if (i !== "children" && Bn.call(n.properties, i)) {
2142
+ const l = el(e, i, n.properties[i]);
2143
2143
  if (l) {
2144
2144
  const [o, a] = l;
2145
- e.tableCellAlignToStyle && o === "align" && typeof a == "string" && Ui.has(n.tagName) ? r = a : t[o] = a;
2145
+ e.tableCellAlignToStyle && o === "align" && typeof a == "string" && $i.has(n.tagName) ? r = a : t[o] = a;
2146
2146
  }
2147
2147
  }
2148
2148
  if (r) {
@@ -2154,7 +2154,7 @@ function Ki(e, n) {
2154
2154
  }
2155
2155
  return t;
2156
2156
  }
2157
- function Qi(e, n) {
2157
+ function Zi(e, n) {
2158
2158
  const t = {};
2159
2159
  for (const r of n.attributes)
2160
2160
  if (r.type === "mdxJsxExpressionAttribute")
@@ -2182,10 +2182,10 @@ function Qi(e, n) {
2182
2182
  }
2183
2183
  return t;
2184
2184
  }
2185
- function Un(e, n) {
2185
+ function jn(e, n) {
2186
2186
  const t = [];
2187
2187
  let r = -1;
2188
- const i = e.passKeys ? /* @__PURE__ */ new Map() : Oi;
2188
+ const i = e.passKeys ? /* @__PURE__ */ new Map() : Bi;
2189
2189
  for (; ++r < n.children.length; ) {
2190
2190
  const l = n.children[r];
2191
2191
  let o;
@@ -2196,27 +2196,27 @@ function Un(e, n) {
2196
2196
  o = s + "-" + u, i.set(s, u + 1);
2197
2197
  }
2198
2198
  }
2199
- const a = rr(e, l, o);
2199
+ const a = lr(e, l, o);
2200
2200
  a !== void 0 && t.push(a);
2201
2201
  }
2202
2202
  return t;
2203
2203
  }
2204
- function Ji(e, n, t) {
2205
- const r = Pi(e.schema, n);
2204
+ function el(e, n, t) {
2205
+ const r = Ti(e.schema, n);
2206
2206
  if (!(t == null || typeof t == "number" && Number.isNaN(t))) {
2207
- if (Array.isArray(t) && (t = r.commaSeparated ? mi(t) : Qr(t)), r.property === "style") {
2208
- let i = typeof t == "object" ? t : Zi(e, String(t));
2209
- return e.stylePropertyNameCase === "css" && (i = el(i)), ["style", i];
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];
2210
2210
  }
2211
2211
  return [
2212
- e.elementAttributeNameCase === "react" && r.space ? Ci[r.property] || r.property : r.attribute,
2212
+ e.elementAttributeNameCase === "react" && r.space ? Ei[r.property] || r.property : r.attribute,
2213
2213
  t
2214
2214
  ];
2215
2215
  }
2216
2216
  }
2217
- function Zi(e, n) {
2217
+ function nl(e, n) {
2218
2218
  try {
2219
- return vi(n, { reactCompat: !0 });
2219
+ return Oi(n, { reactCompat: !0 });
2220
2220
  } catch (t) {
2221
2221
  if (e.ignoreInvalidStyle)
2222
2222
  return {};
@@ -2229,10 +2229,10 @@ function Zi(e, n) {
2229
2229
  ruleId: "style",
2230
2230
  source: "hast-util-to-jsx-runtime"
2231
2231
  });
2232
- throw i.file = e.filePath || void 0, i.url = tr + "#cannot-parse-style-attribute", i;
2232
+ throw i.file = e.filePath || void 0, i.url = ir + "#cannot-parse-style-attribute", i;
2233
2233
  }
2234
2234
  }
2235
- function lr(e, n, t) {
2235
+ function ar(e, n, t) {
2236
2236
  let r;
2237
2237
  if (!t)
2238
2238
  r = { type: "Literal", value: n };
@@ -2240,7 +2240,7 @@ function lr(e, n, t) {
2240
2240
  const i = n.split(".");
2241
2241
  let l = -1, o;
2242
2242
  for (; ++l < i.length; ) {
2243
- const a = rt(i[l]) ? { type: "Identifier", name: i[l] } : { type: "Literal", value: i[l] };
2243
+ const a = lt(i[l]) ? { type: "Identifier", name: i[l] } : { type: "Literal", value: i[l] };
2244
2244
  o = o ? {
2245
2245
  type: "MemberExpression",
2246
2246
  object: o,
@@ -2251,13 +2251,13 @@ function lr(e, n, t) {
2251
2251
  }
2252
2252
  r = o;
2253
2253
  } else
2254
- r = rt(n) && !/^[a-z]/.test(n) ? { type: "Identifier", name: n } : { type: "Literal", value: n };
2254
+ r = lt(n) && !/^[a-z]/.test(n) ? { type: "Identifier", name: n } : { type: "Literal", value: n };
2255
2255
  if (r.type === "Literal") {
2256
2256
  const i = (
2257
2257
  /** @type {string | number} */
2258
2258
  r.value
2259
2259
  );
2260
- return Fn.call(e.components, i) ? e.components[i] : i;
2260
+ return Bn.call(e.components, i) ? e.components[i] : i;
2261
2261
  }
2262
2262
  if (e.evaluater)
2263
2263
  return e.evaluater.evaluateExpression(r);
@@ -2273,63 +2273,63 @@ function We(e, n) {
2273
2273
  source: "hast-util-to-jsx-runtime"
2274
2274
  }
2275
2275
  );
2276
- throw t.file = e.filePath || void 0, t.url = tr + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2276
+ throw t.file = e.filePath || void 0, t.url = ir + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2277
2277
  }
2278
- function el(e) {
2278
+ function tl(e) {
2279
2279
  const n = {};
2280
2280
  let t;
2281
2281
  for (t in e)
2282
- Fn.call(e, t) && (n[nl(t)] = e[t]);
2282
+ Bn.call(e, t) && (n[rl(t)] = e[t]);
2283
2283
  return n;
2284
2284
  }
2285
- function nl(e) {
2286
- let n = e.replace(Fi, tl);
2285
+ function rl(e) {
2286
+ let n = e.replace(Ui, il);
2287
2287
  return n.slice(0, 3) === "ms-" && (n = "-" + n), n;
2288
2288
  }
2289
- function tl(e) {
2289
+ function il(e) {
2290
2290
  return "-" + e.toLowerCase();
2291
2291
  }
2292
- function rl(e) {
2292
+ function ll(e) {
2293
2293
  const n = (
2294
2294
  /** @type {Processor} */
2295
2295
  this
2296
2296
  );
2297
2297
  n.compiler = t;
2298
2298
  function t(r, i) {
2299
- return ji(r, { filePath: i.path, ...e });
2299
+ return Hi(r, { filePath: i.path, ...e });
2300
2300
  }
2301
2301
  }
2302
- const il = {};
2303
- function ll(e, n) {
2304
- const t = il, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2305
- return or(e, r, i);
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);
2306
2306
  }
2307
- function or(e, n, t) {
2308
- if (ol(e)) {
2307
+ function ur(e, n, t) {
2308
+ if (ul(e)) {
2309
2309
  if ("value" in e)
2310
2310
  return e.type === "html" && !t ? "" : e.value;
2311
2311
  if (n && "alt" in e && e.alt)
2312
2312
  return e.alt;
2313
2313
  if ("children" in e)
2314
- return ht(e.children, n, t);
2314
+ return dt(e.children, n, t);
2315
2315
  }
2316
- return Array.isArray(e) ? ht(e, n, t) : "";
2316
+ return Array.isArray(e) ? dt(e, n, t) : "";
2317
2317
  }
2318
- function ht(e, n, t) {
2318
+ function dt(e, n, t) {
2319
2319
  const r = [];
2320
2320
  let i = -1;
2321
2321
  for (; ++i < e.length; )
2322
- r[i] = or(e[i], n, t);
2322
+ r[i] = ur(e[i], n, t);
2323
2323
  return r.join("");
2324
2324
  }
2325
- function ol(e) {
2325
+ function ul(e) {
2326
2326
  return !!(e && typeof e == "object");
2327
2327
  }
2328
- const mt = document.createElement("i");
2329
- function jn(e) {
2328
+ const gt = document.createElement("i");
2329
+ function $n(e) {
2330
2330
  const n = "&" + e + ";";
2331
- mt.innerHTML = n;
2332
- const t = mt.textContent;
2331
+ gt.innerHTML = n;
2332
+ const t = gt.textContent;
2333
2333
  return (
2334
2334
  // @ts-expect-error: TypeScript is wrong that `textContent` on elements can
2335
2335
  // yield `null`.
@@ -2348,24 +2348,24 @@ function se(e, n, t, r) {
2348
2348
  function te(e, n) {
2349
2349
  return e.length > 0 ? (se(e, e.length, 0, n), e) : n;
2350
2350
  }
2351
- const dt = {}.hasOwnProperty;
2352
- function al(e) {
2351
+ const yt = {}.hasOwnProperty;
2352
+ function sl(e) {
2353
2353
  const n = {};
2354
2354
  let t = -1;
2355
2355
  for (; ++t < e.length; )
2356
- ul(n, e[t]);
2356
+ cl(n, e[t]);
2357
2357
  return n;
2358
2358
  }
2359
- function ul(e, n) {
2359
+ function cl(e, n) {
2360
2360
  let t;
2361
2361
  for (t in n) {
2362
- const i = (dt.call(e, t) ? e[t] : void 0) || (e[t] = {}), l = n[t];
2362
+ const i = (yt.call(e, t) ? e[t] : void 0) || (e[t] = {}), l = n[t];
2363
2363
  let o;
2364
2364
  if (l)
2365
2365
  for (o in l) {
2366
- dt.call(i, o) || (i[o] = []);
2366
+ yt.call(i, o) || (i[o] = []);
2367
2367
  const a = l[o];
2368
- sl(
2368
+ fl(
2369
2369
  // @ts-expect-error Looks like a list.
2370
2370
  i[o],
2371
2371
  Array.isArray(a) ? a : a ? [a] : []
@@ -2373,14 +2373,14 @@ function ul(e, n) {
2373
2373
  }
2374
2374
  }
2375
2375
  }
2376
- function sl(e, n) {
2376
+ function fl(e, n) {
2377
2377
  let t = -1;
2378
2378
  const r = [];
2379
2379
  for (; ++t < n.length; )
2380
2380
  (n[t].add === "after" ? e : r).push(n[t]);
2381
2381
  se(e, 0, 0, r);
2382
2382
  }
2383
- function ar(e, n) {
2383
+ function sr(e, n) {
2384
2384
  const t = Number.parseInt(e, n);
2385
2385
  return (
2386
2386
  // C0 except for HT, LF, FF, CR, space.
@@ -2396,7 +2396,7 @@ function ar(e, n) {
2396
2396
  function ze(e) {
2397
2397
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
2398
2398
  }
2399
- const ue = ge(/[A-Za-z]/), ne = ge(/[\dA-Za-z]/), cl = ge(/[#-'*+\--9=?A-Z^-~]/);
2399
+ const ue = ge(/[A-Za-z]/), ne = ge(/[\dA-Za-z]/), pl = ge(/[#-'*+\--9=?A-Z^-~]/);
2400
2400
  function In(e) {
2401
2401
  return (
2402
2402
  // Special whitespace codes (which have negative values), C0 and Control
@@ -2404,7 +2404,7 @@ function In(e) {
2404
2404
  e !== null && (e < 32 || e === 127)
2405
2405
  );
2406
2406
  }
2407
- const En = ge(/\d/), fl = ge(/[\dA-Fa-f]/), pl = ge(/[!-/:-@[-`{-~]/);
2407
+ const En = ge(/\d/), hl = ge(/[\dA-Fa-f]/), ml = ge(/[!-/:-@[-`{-~]/);
2408
2408
  function z(e) {
2409
2409
  return e !== null && e < -2;
2410
2410
  }
@@ -2414,7 +2414,7 @@ function Q(e) {
2414
2414
  function D(e) {
2415
2415
  return e === -2 || e === -1 || e === 32;
2416
2416
  }
2417
- const hl = ge(new RegExp("\\p{P}|\\p{S}", "u")), ml = ge(/\s/);
2417
+ const dl = ge(new RegExp("\\p{P}|\\p{S}", "u")), gl = ge(/\s/);
2418
2418
  function ge(e) {
2419
2419
  return n;
2420
2420
  function n(t) {
@@ -2451,10 +2451,10 @@ function H(e, n, t, r) {
2451
2451
  return D(s) && l++ < i ? (e.consume(s), a) : (e.exit(t), n(s));
2452
2452
  }
2453
2453
  }
2454
- const dl = {
2455
- tokenize: gl
2454
+ const yl = {
2455
+ tokenize: kl
2456
2456
  };
2457
- function gl(e) {
2457
+ function kl(e) {
2458
2458
  const n = e.attempt(this.parser.constructs.contentInitial, r, i);
2459
2459
  let t;
2460
2460
  return n;
@@ -2483,12 +2483,12 @@ function gl(e) {
2483
2483
  return z(a) ? (e.consume(a), e.exit("chunkText"), l) : (e.consume(a), o);
2484
2484
  }
2485
2485
  }
2486
- const yl = {
2487
- tokenize: kl
2488
- }, gt = {
2489
- tokenize: xl
2486
+ const xl = {
2487
+ tokenize: bl
2488
+ }, kt = {
2489
+ tokenize: wl
2490
2490
  };
2491
- function kl(e) {
2491
+ function bl(e) {
2492
2492
  const n = this, t = [];
2493
2493
  let r = 0, i, l, o;
2494
2494
  return a;
@@ -2501,7 +2501,7 @@ function kl(e) {
2501
2501
  }
2502
2502
  function s(C) {
2503
2503
  if (r++, n.containerState._closeFlow) {
2504
- n.containerState._closeFlow = void 0, i && T();
2504
+ n.containerState._closeFlow = void 0, i && L();
2505
2505
  const B = n.events.length;
2506
2506
  let j = B, y;
2507
2507
  for (; j--; )
@@ -2527,23 +2527,23 @@ function kl(e) {
2527
2527
  return b(C);
2528
2528
  n.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
2529
2529
  }
2530
- return n.containerState = {}, e.check(gt, c, f)(C);
2530
+ return n.containerState = {}, e.check(kt, c, f)(C);
2531
2531
  }
2532
2532
  function c(C) {
2533
- return i && T(), x(r), d(C);
2533
+ return i && L(), x(r), d(C);
2534
2534
  }
2535
2535
  function f(C) {
2536
2536
  return n.parser.lazy[n.now().line] = r !== t.length, o = n.now().offset, b(C);
2537
2537
  }
2538
2538
  function d(C) {
2539
- return n.containerState = {}, e.attempt(gt, p, b)(C);
2539
+ return n.containerState = {}, e.attempt(kt, p, b)(C);
2540
2540
  }
2541
2541
  function p(C) {
2542
2542
  return r++, t.push([n.currentConstruct, n.containerState]), d(C);
2543
2543
  }
2544
2544
  function b(C) {
2545
2545
  if (C === null) {
2546
- i && T(), x(0), e.consume(C);
2546
+ i && L(), x(0), e.consume(C);
2547
2547
  return;
2548
2548
  }
2549
2549
  return i = i || n.parser.flow(n.now()), e.enter("chunkFlow", {
@@ -2554,12 +2554,12 @@ function kl(e) {
2554
2554
  }
2555
2555
  function w(C) {
2556
2556
  if (C === null) {
2557
- L(e.exit("chunkFlow"), !0), x(0), e.consume(C);
2557
+ T(e.exit("chunkFlow"), !0), x(0), e.consume(C);
2558
2558
  return;
2559
2559
  }
2560
- return z(C) ? (e.consume(C), L(e.exit("chunkFlow")), r = 0, n.interrupt = void 0, a) : (e.consume(C), w);
2560
+ return z(C) ? (e.consume(C), T(e.exit("chunkFlow")), r = 0, n.interrupt = void 0, a) : (e.consume(C), w);
2561
2561
  }
2562
- function L(C, B) {
2562
+ function T(C, B) {
2563
2563
  const j = n.sliceStream(C);
2564
2564
  if (B && j.push(null), C.previous = l, l && (l.next = C), l = C, i.defineSkip(C.start), i.write(j), n.parser.lazy[C.start.line]) {
2565
2565
  let y = i.events.length;
@@ -2596,20 +2596,20 @@ function kl(e) {
2596
2596
  }
2597
2597
  t.length = C;
2598
2598
  }
2599
- function T() {
2599
+ function L() {
2600
2600
  i.write([null]), l = void 0, i = void 0, n.containerState._closeFlow = void 0;
2601
2601
  }
2602
2602
  }
2603
- function xl(e, n, t) {
2603
+ function wl(e, n, t) {
2604
2604
  return H(e, e.attempt(this.parser.constructs.document, n, t), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
2605
2605
  }
2606
- function yt(e) {
2607
- if (e === null || Q(e) || ml(e))
2606
+ function xt(e) {
2607
+ if (e === null || Q(e) || gl(e))
2608
2608
  return 1;
2609
- if (hl(e))
2609
+ if (dl(e))
2610
2610
  return 2;
2611
2611
  }
2612
- function $n(e, n, t) {
2612
+ function Hn(e, n, t) {
2613
2613
  const r = [];
2614
2614
  let i = -1;
2615
2615
  for (; ++i < e.length; ) {
@@ -2620,10 +2620,10 @@ function $n(e, n, t) {
2620
2620
  }
2621
2621
  const Pn = {
2622
2622
  name: "attention",
2623
- resolveAll: bl,
2624
- tokenize: wl
2623
+ resolveAll: Sl,
2624
+ tokenize: Cl
2625
2625
  };
2626
- function bl(e, n) {
2626
+ function Sl(e, n) {
2627
2627
  let t = -1, r, i, l, o, a, s, u, c;
2628
2628
  for (; ++t < e.length; )
2629
2629
  if (e[t][0] === "enter" && e[t][1].type === "attentionSequence" && e[t][1]._close) {
@@ -2638,7 +2638,7 @@ function bl(e, n) {
2638
2638
  }, d = {
2639
2639
  ...e[t][1].start
2640
2640
  };
2641
- kt(f, -s), kt(d, s), o = {
2641
+ bt(f, -s), bt(d, s), o = {
2642
2642
  type: s > 1 ? "strongSequence" : "emphasisSequence",
2643
2643
  start: f,
2644
2644
  end: {
@@ -2670,7 +2670,7 @@ function bl(e, n) {
2670
2670
  ...o.start
2671
2671
  }, e[t][1].start = {
2672
2672
  ...a.end
2673
- }, u = [], e[r][1].end.offset - e[r][1].start.offset && (u = te(u, [["enter", e[r][1], n], ["exit", e[r][1], n]])), u = te(u, [["enter", i, n], ["enter", o, n], ["exit", o, n], ["enter", l, n]]), u = te(u, $n(n.parser.constructs.insideSpan.null, e.slice(r + 1, t), n)), u = te(u, [["exit", l, n], ["enter", a, n], ["exit", a, n], ["exit", i, n]]), e[t][1].end.offset - e[t][1].start.offset ? (c = 2, u = te(u, [["enter", e[t][1], n], ["exit", e[t][1], n]])) : c = 0, se(e, r - 1, t - r + 3, u), t = r + u.length - c - 2;
2673
+ }, u = [], e[r][1].end.offset - e[r][1].start.offset && (u = te(u, [["enter", e[r][1], n], ["exit", e[r][1], n]])), u = te(u, [["enter", i, n], ["enter", o, n], ["exit", o, n], ["enter", l, n]]), u = te(u, Hn(n.parser.constructs.insideSpan.null, e.slice(r + 1, t), n)), u = te(u, [["exit", l, n], ["enter", a, n], ["exit", a, n], ["exit", i, n]]), e[t][1].end.offset - e[t][1].start.offset ? (c = 2, u = te(u, [["enter", e[t][1], n], ["exit", e[t][1], n]])) : c = 0, se(e, r - 1, t - r + 3, u), t = r + u.length - c - 2;
2674
2674
  break;
2675
2675
  }
2676
2676
  }
@@ -2678,8 +2678,8 @@ function bl(e, n) {
2678
2678
  e[t][1].type === "attentionSequence" && (e[t][1].type = "data");
2679
2679
  return e;
2680
2680
  }
2681
- function wl(e, n) {
2682
- const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = yt(r);
2681
+ function Cl(e, n) {
2682
+ const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = xt(r);
2683
2683
  let l;
2684
2684
  return o;
2685
2685
  function o(s) {
@@ -2688,18 +2688,18 @@ function wl(e, n) {
2688
2688
  function a(s) {
2689
2689
  if (s === l)
2690
2690
  return e.consume(s), a;
2691
- const u = e.exit("attentionSequence"), c = yt(s), f = !c || c === 2 && i || t.includes(s), d = !i || i === 2 && c || t.includes(r);
2691
+ const u = e.exit("attentionSequence"), c = xt(s), f = !c || c === 2 && i || t.includes(s), d = !i || i === 2 && c || t.includes(r);
2692
2692
  return u._open = !!(l === 42 ? f : f && (i || !d)), u._close = !!(l === 42 ? d : d && (c || !f)), n(s);
2693
2693
  }
2694
2694
  }
2695
- function kt(e, n) {
2695
+ function bt(e, n) {
2696
2696
  e.column += n, e.offset += n, e._bufferIndex += n;
2697
2697
  }
2698
- const Sl = {
2698
+ const Il = {
2699
2699
  name: "autolink",
2700
- tokenize: Cl
2700
+ tokenize: El
2701
2701
  };
2702
- function Cl(e, n, t) {
2702
+ function El(e, n, t) {
2703
2703
  let r = 0;
2704
2704
  return i;
2705
2705
  function i(p) {
@@ -2718,7 +2718,7 @@ function Cl(e, n, t) {
2718
2718
  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
2719
  }
2720
2720
  function u(p) {
2721
- return p === 64 ? (e.consume(p), c) : cl(p) ? (e.consume(p), u) : t(p);
2721
+ return p === 64 ? (e.consume(p), c) : pl(p) ? (e.consume(p), u) : t(p);
2722
2722
  }
2723
2723
  function c(p) {
2724
2724
  return ne(p) ? f(p) : t(p);
@@ -2736,9 +2736,9 @@ function Cl(e, n, t) {
2736
2736
  }
2737
2737
  const rn = {
2738
2738
  partial: !0,
2739
- tokenize: Il
2739
+ tokenize: Pl
2740
2740
  };
2741
- function Il(e, n, t) {
2741
+ function Pl(e, n, t) {
2742
2742
  return r;
2743
2743
  function r(l) {
2744
2744
  return D(l) ? H(e, i, "linePrefix")(l) : i(l);
@@ -2747,15 +2747,15 @@ function Il(e, n, t) {
2747
2747
  return l === null || z(l) ? n(l) : t(l);
2748
2748
  }
2749
2749
  }
2750
- const ur = {
2750
+ const cr = {
2751
2751
  continuation: {
2752
- tokenize: Pl
2752
+ tokenize: Tl
2753
2753
  },
2754
- exit: Al,
2754
+ exit: Ll,
2755
2755
  name: "blockQuote",
2756
- tokenize: El
2756
+ tokenize: Al
2757
2757
  };
2758
- function El(e, n, t) {
2758
+ function Al(e, n, t) {
2759
2759
  const r = this;
2760
2760
  return i;
2761
2761
  function i(o) {
@@ -2771,37 +2771,37 @@ function El(e, n, t) {
2771
2771
  return D(o) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(o), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), n) : (e.exit("blockQuotePrefix"), n(o));
2772
2772
  }
2773
2773
  }
2774
- function Pl(e, n, t) {
2774
+ function Tl(e, n, t) {
2775
2775
  const r = this;
2776
2776
  return i;
2777
2777
  function i(o) {
2778
2778
  return D(o) ? H(e, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : l(o);
2779
2779
  }
2780
2780
  function l(o) {
2781
- return e.attempt(ur, n, t)(o);
2781
+ return e.attempt(cr, n, t)(o);
2782
2782
  }
2783
2783
  }
2784
- function Al(e) {
2784
+ function Ll(e) {
2785
2785
  e.exit("blockQuote");
2786
2786
  }
2787
- const sr = {
2787
+ const fr = {
2788
2788
  name: "characterEscape",
2789
- tokenize: Tl
2789
+ tokenize: zl
2790
2790
  };
2791
- function Tl(e, n, t) {
2791
+ function zl(e, n, t) {
2792
2792
  return r;
2793
2793
  function r(l) {
2794
2794
  return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(l), e.exit("escapeMarker"), i;
2795
2795
  }
2796
2796
  function i(l) {
2797
- return pl(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2797
+ return ml(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2798
2798
  }
2799
2799
  }
2800
- const cr = {
2800
+ const pr = {
2801
2801
  name: "characterReference",
2802
- tokenize: Ll
2802
+ tokenize: _l
2803
2803
  };
2804
- function Ll(e, n, t) {
2804
+ function _l(e, n, t) {
2805
2805
  const r = this;
2806
2806
  let i = 0, l, o;
2807
2807
  return a;
@@ -2812,25 +2812,25 @@ function Ll(e, n, t) {
2812
2812
  return f === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(f), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), l = 31, o = ne, c(f));
2813
2813
  }
2814
2814
  function u(f) {
2815
- return f === 88 || f === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(f), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = fl, c) : (e.enter("characterReferenceValue"), l = 7, o = En, c(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));
2816
2816
  }
2817
2817
  function c(f) {
2818
2818
  if (f === 59 && i) {
2819
2819
  const d = e.exit("characterReferenceValue");
2820
- return o === ne && !jn(r.sliceSerialize(d)) ? t(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), n);
2820
+ return o === ne && !$n(r.sliceSerialize(d)) ? t(f) : (e.enter("characterReferenceMarker"), e.consume(f), e.exit("characterReferenceMarker"), e.exit("characterReference"), n);
2821
2821
  }
2822
2822
  return o(f) && i++ < l ? (e.consume(f), c) : t(f);
2823
2823
  }
2824
2824
  }
2825
- const xt = {
2825
+ const wt = {
2826
2826
  partial: !0,
2827
- tokenize: _l
2828
- }, bt = {
2827
+ tokenize: Nl
2828
+ }, St = {
2829
2829
  concrete: !0,
2830
2830
  name: "codeFenced",
2831
- tokenize: zl
2831
+ tokenize: Ml
2832
2832
  };
2833
- function zl(e, n, t) {
2833
+ function Ml(e, n, t) {
2834
2834
  const r = this, i = {
2835
2835
  partial: !0,
2836
2836
  tokenize: j
@@ -2848,7 +2848,7 @@ function zl(e, n, t) {
2848
2848
  return y === a ? (o++, e.consume(y), c) : o < 3 ? t(y) : (e.exit("codeFencedFenceSequence"), D(y) ? H(e, f, "whitespace")(y) : f(y));
2849
2849
  }
2850
2850
  function f(y) {
2851
- return y === null || z(y) ? (e.exit("codeFencedFence"), r.interrupt ? n(y) : e.check(xt, w, B)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
2851
+ return y === null || z(y) ? (e.exit("codeFencedFence"), r.interrupt ? n(y) : e.check(wt, w, B)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
2852
2852
  contentType: "string"
2853
2853
  }), d(y));
2854
2854
  }
@@ -2864,19 +2864,19 @@ function zl(e, n, t) {
2864
2864
  return y === null || z(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(y)) : y === 96 && y === a ? t(y) : (e.consume(y), b);
2865
2865
  }
2866
2866
  function w(y) {
2867
- return e.attempt(i, B, L)(y);
2867
+ return e.attempt(i, B, T)(y);
2868
2868
  }
2869
- function L(y) {
2869
+ function T(y) {
2870
2870
  return e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), x;
2871
2871
  }
2872
2872
  function x(y) {
2873
- return l > 0 && D(y) ? H(e, T, "linePrefix", l + 1)(y) : T(y);
2873
+ return l > 0 && D(y) ? H(e, L, "linePrefix", l + 1)(y) : L(y);
2874
2874
  }
2875
- function T(y) {
2876
- return y === null || z(y) ? e.check(xt, w, B)(y) : (e.enter("codeFlowValue"), C(y));
2875
+ function L(y) {
2876
+ return y === null || z(y) ? e.check(wt, w, B)(y) : (e.enter("codeFlowValue"), C(y));
2877
2877
  }
2878
2878
  function C(y) {
2879
- return y === null || z(y) ? (e.exit("codeFlowValue"), T(y)) : (e.consume(y), C);
2879
+ return y === null || z(y) ? (e.exit("codeFlowValue"), L(y)) : (e.consume(y), C);
2880
2880
  }
2881
2881
  function B(y) {
2882
2882
  return e.exit("codeFenced"), n(y);
@@ -2901,7 +2901,7 @@ function zl(e, n, t) {
2901
2901
  }
2902
2902
  }
2903
2903
  }
2904
- function _l(e, n, t) {
2904
+ function Nl(e, n, t) {
2905
2905
  const r = this;
2906
2906
  return i;
2907
2907
  function i(o) {
@@ -2913,12 +2913,12 @@ function _l(e, n, t) {
2913
2913
  }
2914
2914
  const sn = {
2915
2915
  name: "codeIndented",
2916
- tokenize: Nl
2917
- }, Ml = {
2916
+ tokenize: vl
2917
+ }, Rl = {
2918
2918
  partial: !0,
2919
- tokenize: Rl
2919
+ tokenize: Dl
2920
2920
  };
2921
- function Nl(e, n, t) {
2921
+ function vl(e, n, t) {
2922
2922
  const r = this;
2923
2923
  return i;
2924
2924
  function i(u) {
@@ -2929,7 +2929,7 @@ function Nl(e, n, t) {
2929
2929
  return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? o(u) : t(u);
2930
2930
  }
2931
2931
  function o(u) {
2932
- return u === null ? s(u) : z(u) ? e.attempt(Ml, o, s)(u) : (e.enter("codeFlowValue"), a(u));
2932
+ return u === null ? s(u) : z(u) ? e.attempt(Rl, o, s)(u) : (e.enter("codeFlowValue"), a(u));
2933
2933
  }
2934
2934
  function a(u) {
2935
2935
  return u === null || z(u) ? (e.exit("codeFlowValue"), o(u)) : (e.consume(u), a);
@@ -2938,7 +2938,7 @@ function Nl(e, n, t) {
2938
2938
  return e.exit("codeIndented"), n(u);
2939
2939
  }
2940
2940
  }
2941
- function Rl(e, n, t) {
2941
+ function Dl(e, n, t) {
2942
2942
  const r = this;
2943
2943
  return i;
2944
2944
  function i(o) {
@@ -2949,13 +2949,13 @@ function Rl(e, n, t) {
2949
2949
  return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? n(o) : z(o) ? i(o) : t(o);
2950
2950
  }
2951
2951
  }
2952
- const vl = {
2952
+ const Ol = {
2953
2953
  name: "codeText",
2954
- previous: Ol,
2955
- resolve: Dl,
2956
- tokenize: Fl
2954
+ previous: Bl,
2955
+ resolve: Fl,
2956
+ tokenize: Ul
2957
2957
  };
2958
- function Dl(e) {
2958
+ function Fl(e) {
2959
2959
  let n = e.length - 4, t = 3, r, i;
2960
2960
  if ((e[t][1].type === "lineEnding" || e[t][1].type === "space") && (e[n][1].type === "lineEnding" || e[n][1].type === "space")) {
2961
2961
  for (r = t; ++r < n; )
@@ -2968,10 +2968,10 @@ function Dl(e) {
2968
2968
  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
2969
  return e;
2970
2970
  }
2971
- function Ol(e) {
2971
+ function Bl(e) {
2972
2972
  return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
2973
2973
  }
2974
- function Fl(e, n, t) {
2974
+ function Ul(e, n, t) {
2975
2975
  let r = 0, i, l;
2976
2976
  return o;
2977
2977
  function o(f) {
@@ -2990,7 +2990,7 @@ function Fl(e, n, t) {
2990
2990
  return f === 96 ? (e.consume(f), i++, c) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), n(f)) : (l.type = "codeTextData", u(f));
2991
2991
  }
2992
2992
  }
2993
- class Bl {
2993
+ class jl {
2994
2994
  /**
2995
2995
  * @param {ReadonlyArray<T> | null | undefined} [initial]
2996
2996
  * Initial items (optional).
@@ -3162,10 +3162,10 @@ function Ue(e, n) {
3162
3162
  for (; t < n.length; )
3163
3163
  e.push(...n.slice(t, t + 1e4)), t += 1e4;
3164
3164
  }
3165
- function fr(e) {
3165
+ function hr(e) {
3166
3166
  const n = {};
3167
3167
  let t = -1, r, i, l, o, a, s, u;
3168
- const c = new Bl(e);
3168
+ const c = new jl(e);
3169
3169
  for (; ++t < c.length; ) {
3170
3170
  for (; t in n; )
3171
3171
  t = n[t];
@@ -3173,7 +3173,7 @@ function fr(e) {
3173
3173
  for (; ++l < s.length && s[l][1].type !== "content"; )
3174
3174
  s[l][1].type === "chunkText" && (s[l][1]._isInFirstContentOfListItem = !0, l++);
3175
3175
  if (r[0] === "enter")
3176
- r[1].contentType && (Object.assign(n, Ul(c, t)), t = n[t], u = !0);
3176
+ r[1].contentType && (Object.assign(n, $l(c, t)), t = n[t], u = !0);
3177
3177
  else if (r[1]._container) {
3178
3178
  for (l = t, i = void 0; l--; )
3179
3179
  if (o = c.get(l), o[1].type === "lineEnding" || o[1].type === "lineEndingBlank")
@@ -3186,7 +3186,7 @@ function fr(e) {
3186
3186
  }
3187
3187
  return se(e, 0, Number.POSITIVE_INFINITY, c.slice(0)), !u;
3188
3188
  }
3189
- function Ul(e, n) {
3189
+ function $l(e, n) {
3190
3190
  const t = e.get(n)[1], r = e.get(n)[2];
3191
3191
  let i = n - 1;
3192
3192
  const l = [];
@@ -3194,7 +3194,7 @@ function Ul(e, n) {
3194
3194
  o || (o = r.parser[t.contentType](t.start), t._contentTypeTextTrailing && (o._contentTypeTextTrailing = !0));
3195
3195
  const a = o.events, s = [], u = {};
3196
3196
  let c, f, d = -1, p = t, b = 0, w = 0;
3197
- const L = [w];
3197
+ const T = [w];
3198
3198
  for (; p; ) {
3199
3199
  for (; e.get(++i)[1] !== p; )
3200
3200
  ;
@@ -3202,26 +3202,26 @@ function Ul(e, n) {
3202
3202
  }
3203
3203
  for (p = t; ++d < a.length; )
3204
3204
  // Find a void token that includes a break.
3205
- a[d][0] === "exit" && a[d - 1][0] === "enter" && a[d][1].type === a[d - 1][1].type && a[d][1].start.line !== a[d][1].end.line && (w = d + 1, L.push(w), p._tokenizer = void 0, p.previous = void 0, p = p.next);
3206
- for (o.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : L.pop(), d = L.length; d--; ) {
3207
- const x = a.slice(L[d], L[d + 1]), T = l.pop();
3208
- s.push([T, T + x.length - 1]), e.splice(T, 2, x);
3205
+ a[d][0] === "exit" && a[d - 1][0] === "enter" && a[d][1].type === a[d - 1][1].type && a[d][1].start.line !== a[d][1].end.line && (w = d + 1, T.push(w), p._tokenizer = void 0, p.previous = void 0, p = p.next);
3206
+ for (o.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : T.pop(), d = T.length; d--; ) {
3207
+ const x = a.slice(T[d], T[d + 1]), L = l.pop();
3208
+ s.push([L, L + x.length - 1]), e.splice(L, 2, x);
3209
3209
  }
3210
3210
  for (s.reverse(), d = -1; ++d < s.length; )
3211
3211
  u[b + s[d][0]] = b + s[d][1], b += s[d][1] - s[d][0] - 1;
3212
3212
  return u;
3213
3213
  }
3214
- const jl = {
3215
- resolve: Hl,
3216
- tokenize: Vl
3217
- }, $l = {
3214
+ const Hl = {
3215
+ resolve: ql,
3216
+ tokenize: Wl
3217
+ }, Vl = {
3218
3218
  partial: !0,
3219
- tokenize: ql
3219
+ tokenize: Xl
3220
3220
  };
3221
- function Hl(e) {
3222
- return fr(e), e;
3221
+ function ql(e) {
3222
+ return hr(e), e;
3223
3223
  }
3224
- function Vl(e, n) {
3224
+ function Wl(e, n) {
3225
3225
  let t;
3226
3226
  return r;
3227
3227
  function r(a) {
@@ -3230,7 +3230,7 @@ function Vl(e, n) {
3230
3230
  }), i(a);
3231
3231
  }
3232
3232
  function i(a) {
3233
- return a === null ? l(a) : z(a) ? e.check($l, o, l)(a) : (e.consume(a), i);
3233
+ return a === null ? l(a) : z(a) ? e.check(Vl, o, l)(a) : (e.consume(a), i);
3234
3234
  }
3235
3235
  function l(a) {
3236
3236
  return e.exit("chunkContent"), e.exit("content"), n(a);
@@ -3242,7 +3242,7 @@ function Vl(e, n) {
3242
3242
  }), t = t.next, i;
3243
3243
  }
3244
3244
  }
3245
- function ql(e, n, t) {
3245
+ function Xl(e, n, t) {
3246
3246
  const r = this;
3247
3247
  return i;
3248
3248
  function i(o) {
@@ -3255,7 +3255,7 @@ function ql(e, n, t) {
3255
3255
  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
3256
  }
3257
3257
  }
3258
- function pr(e, n, t, r, i, l, o, a, s) {
3258
+ function mr(e, n, t, r, i, l, o, a, s) {
3259
3259
  const u = s || Number.POSITIVE_INFINITY;
3260
3260
  let c = 0;
3261
3261
  return f;
@@ -3276,13 +3276,13 @@ function pr(e, n, t, r, i, l, o, a, s) {
3276
3276
  return x === 60 || x === 62 || x === 92 ? (e.consume(x), p) : p(x);
3277
3277
  }
3278
3278
  function w(x) {
3279
- return !c && (x === null || x === 41 || Q(x)) ? (e.exit("chunkString"), e.exit(a), e.exit(o), e.exit(r), n(x)) : c < u && x === 40 ? (e.consume(x), c++, w) : x === 41 ? (e.consume(x), c--, w) : x === null || x === 32 || x === 40 || In(x) ? t(x) : (e.consume(x), x === 92 ? L : w);
3279
+ return !c && (x === null || x === 41 || Q(x)) ? (e.exit("chunkString"), e.exit(a), e.exit(o), e.exit(r), n(x)) : c < u && x === 40 ? (e.consume(x), c++, w) : x === 41 ? (e.consume(x), c--, w) : x === null || x === 32 || x === 40 || In(x) ? t(x) : (e.consume(x), x === 92 ? T : w);
3280
3280
  }
3281
- function L(x) {
3281
+ function T(x) {
3282
3282
  return x === 40 || x === 41 || x === 92 ? (e.consume(x), w) : w(x);
3283
3283
  }
3284
3284
  }
3285
- function hr(e, n, t, r, i, l) {
3285
+ function dr(e, n, t, r, i, l) {
3286
3286
  const o = this;
3287
3287
  let a = 0, s;
3288
3288
  return u;
@@ -3306,7 +3306,7 @@ function hr(e, n, t, r, i, l) {
3306
3306
  return p === 91 || p === 92 || p === 93 ? (e.consume(p), a++, f) : f(p);
3307
3307
  }
3308
3308
  }
3309
- function mr(e, n, t, r, i, l) {
3309
+ function gr(e, n, t, r, i, l) {
3310
3310
  let o;
3311
3311
  return a;
3312
3312
  function a(d) {
@@ -3334,14 +3334,14 @@ function qe(e, n) {
3334
3334
  return z(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), t = !0, r) : D(i) ? H(e, r, t ? "linePrefix" : "lineSuffix")(i) : n(i);
3335
3335
  }
3336
3336
  }
3337
- const Wl = {
3337
+ const Yl = {
3338
3338
  name: "definition",
3339
- tokenize: Yl
3340
- }, Xl = {
3339
+ tokenize: Kl
3340
+ }, Gl = {
3341
3341
  partial: !0,
3342
- tokenize: Gl
3342
+ tokenize: Ql
3343
3343
  };
3344
- function Yl(e, n, t) {
3344
+ function Kl(e, n, t) {
3345
3345
  const r = this;
3346
3346
  let i;
3347
3347
  return l;
@@ -3349,7 +3349,7 @@ function Yl(e, n, t) {
3349
3349
  return e.enter("definition"), o(p);
3350
3350
  }
3351
3351
  function o(p) {
3352
- return hr.call(
3352
+ return dr.call(
3353
3353
  r,
3354
3354
  e,
3355
3355
  a,
@@ -3367,7 +3367,7 @@ function Yl(e, n, t) {
3367
3367
  return Q(p) ? qe(e, u)(p) : u(p);
3368
3368
  }
3369
3369
  function u(p) {
3370
- return pr(
3370
+ return mr(
3371
3371
  e,
3372
3372
  c,
3373
3373
  // Note: we don’t need to reset the way `markdown-rs` does.
@@ -3380,7 +3380,7 @@ function Yl(e, n, t) {
3380
3380
  )(p);
3381
3381
  }
3382
3382
  function c(p) {
3383
- return e.attempt(Xl, f, f)(p);
3383
+ return e.attempt(Gl, f, f)(p);
3384
3384
  }
3385
3385
  function f(p) {
3386
3386
  return D(p) ? H(e, d, "whitespace")(p) : d(p);
@@ -3389,13 +3389,13 @@ function Yl(e, n, t) {
3389
3389
  return p === null || z(p) ? (e.exit("definition"), r.parser.defined.push(i), n(p)) : t(p);
3390
3390
  }
3391
3391
  }
3392
- function Gl(e, n, t) {
3392
+ function Ql(e, n, t) {
3393
3393
  return r;
3394
3394
  function r(a) {
3395
3395
  return Q(a) ? qe(e, i)(a) : t(a);
3396
3396
  }
3397
3397
  function i(a) {
3398
- return mr(e, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
3398
+ return gr(e, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
3399
3399
  }
3400
3400
  function l(a) {
3401
3401
  return D(a) ? H(e, o, "whitespace")(a) : o(a);
@@ -3404,11 +3404,11 @@ function Gl(e, n, t) {
3404
3404
  return a === null || z(a) ? n(a) : t(a);
3405
3405
  }
3406
3406
  }
3407
- const Kl = {
3407
+ const Jl = {
3408
3408
  name: "hardBreakEscape",
3409
- tokenize: Ql
3409
+ tokenize: Zl
3410
3410
  };
3411
- function Ql(e, n, t) {
3411
+ function Zl(e, n, t) {
3412
3412
  return r;
3413
3413
  function r(l) {
3414
3414
  return e.enter("hardBreakEscape"), e.consume(l), i;
@@ -3417,12 +3417,12 @@ function Ql(e, n, t) {
3417
3417
  return z(l) ? (e.exit("hardBreakEscape"), n(l)) : t(l);
3418
3418
  }
3419
3419
  }
3420
- const Jl = {
3420
+ const eo = {
3421
3421
  name: "headingAtx",
3422
- resolve: Zl,
3423
- tokenize: eo
3422
+ resolve: no,
3423
+ tokenize: to
3424
3424
  };
3425
- function Zl(e, n) {
3425
+ function no(e, n) {
3426
3426
  let t = e.length - 2, r = 3, i, l;
3427
3427
  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
3428
  type: "atxHeadingText",
@@ -3435,7 +3435,7 @@ function Zl(e, n) {
3435
3435
  contentType: "text"
3436
3436
  }, se(e, r, t - r + 1, [["enter", i, n], ["enter", l, n], ["exit", l, n], ["exit", i, n]])), e;
3437
3437
  }
3438
- function eo(e, n, t) {
3438
+ function to(e, n, t) {
3439
3439
  let r = 0;
3440
3440
  return i;
3441
3441
  function i(c) {
@@ -3457,7 +3457,7 @@ function eo(e, n, t) {
3457
3457
  return c === null || c === 35 || Q(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), u);
3458
3458
  }
3459
3459
  }
3460
- const no = [
3460
+ const ro = [
3461
3461
  "address",
3462
3462
  "article",
3463
3463
  "aside",
@@ -3520,25 +3520,25 @@ const no = [
3520
3520
  "tr",
3521
3521
  "track",
3522
3522
  "ul"
3523
- ], wt = ["pre", "script", "style", "textarea"], to = {
3523
+ ], Ct = ["pre", "script", "style", "textarea"], io = {
3524
3524
  concrete: !0,
3525
3525
  name: "htmlFlow",
3526
- resolveTo: lo,
3527
- tokenize: oo
3528
- }, ro = {
3529
- partial: !0,
3526
+ resolveTo: ao,
3530
3527
  tokenize: uo
3531
- }, io = {
3528
+ }, lo = {
3532
3529
  partial: !0,
3533
- tokenize: ao
3530
+ tokenize: co
3531
+ }, oo = {
3532
+ partial: !0,
3533
+ tokenize: so
3534
3534
  };
3535
- function lo(e) {
3535
+ function ao(e) {
3536
3536
  let n = e.length;
3537
3537
  for (; n-- && !(e[n][0] === "enter" && e[n][1].type === "htmlFlow"); )
3538
3538
  ;
3539
3539
  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
3540
  }
3541
- function oo(e, n, t) {
3541
+ function uo(e, n, t) {
3542
3542
  const r = this;
3543
3543
  let i, l, o, a, s;
3544
3544
  return u;
@@ -3549,7 +3549,7 @@ function oo(e, n, t) {
3549
3549
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(m), f;
3550
3550
  }
3551
3551
  function f(m) {
3552
- return m === 33 ? (e.consume(m), d) : m === 47 ? (e.consume(m), l = !0, w) : m === 63 ? (e.consume(m), i = 3, r.interrupt ? n : h) : ue(m) ? (e.consume(m), o = String.fromCharCode(m), L) : t(m);
3552
+ return m === 33 ? (e.consume(m), d) : m === 47 ? (e.consume(m), l = !0, w) : m === 63 ? (e.consume(m), i = 3, r.interrupt ? n : h) : ue(m) ? (e.consume(m), o = String.fromCharCode(m), T) : t(m);
3553
3553
  }
3554
3554
  function d(m) {
3555
3555
  return m === 45 ? (e.consume(m), i = 2, p) : m === 91 ? (e.consume(m), i = 5, a = 0, b) : ue(m) ? (e.consume(m), i = 4, r.interrupt ? n : h) : t(m);
@@ -3562,20 +3562,20 @@ function oo(e, n, t) {
3562
3562
  return m === le.charCodeAt(a++) ? (e.consume(m), a === le.length ? r.interrupt ? n : E : b) : t(m);
3563
3563
  }
3564
3564
  function w(m) {
3565
- return ue(m) ? (e.consume(m), o = String.fromCharCode(m), L) : t(m);
3565
+ return ue(m) ? (e.consume(m), o = String.fromCharCode(m), T) : t(m);
3566
3566
  }
3567
- function L(m) {
3567
+ function T(m) {
3568
3568
  if (m === null || m === 47 || m === 62 || Q(m)) {
3569
3569
  const le = m === 47, ye = o.toLowerCase();
3570
- return !le && !l && wt.includes(ye) ? (i = 1, r.interrupt ? n(m) : E(m)) : no.includes(o.toLowerCase()) ? (i = 6, le ? (e.consume(m), x) : r.interrupt ? n(m) : E(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? T(m) : C(m));
3570
+ return !le && !l && Ct.includes(ye) ? (i = 1, r.interrupt ? n(m) : E(m)) : ro.includes(o.toLowerCase()) ? (i = 6, le ? (e.consume(m), x) : r.interrupt ? n(m) : E(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? L(m) : C(m));
3571
3571
  }
3572
- return m === 45 || ne(m) ? (e.consume(m), o += String.fromCharCode(m), L) : t(m);
3572
+ return m === 45 || ne(m) ? (e.consume(m), o += String.fromCharCode(m), T) : t(m);
3573
3573
  }
3574
3574
  function x(m) {
3575
3575
  return m === 62 ? (e.consume(m), r.interrupt ? n : E) : t(m);
3576
3576
  }
3577
- function T(m) {
3578
- return D(m) ? (e.consume(m), T) : F(m);
3577
+ function L(m) {
3578
+ return D(m) ? (e.consume(m), L) : F(m);
3579
3579
  }
3580
3580
  function C(m) {
3581
3581
  return m === 47 ? (e.consume(m), F) : m === 58 || m === 95 || ue(m) ? (e.consume(m), B) : D(m) ? (e.consume(m), C) : F(m);
@@ -3605,10 +3605,10 @@ function oo(e, n, t) {
3605
3605
  return m === null || z(m) ? E(m) : D(m) ? (e.consume(m), A) : t(m);
3606
3606
  }
3607
3607
  function E(m) {
3608
- return m === 45 && i === 2 ? (e.consume(m), W) : 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) : z(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(ro, fe, P)(m)) : m === null || z(m) ? (e.exit("htmlFlowData"), P(m)) : (e.consume(m), E);
3608
+ return m === 45 && i === 2 ? (e.consume(m), W) : 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) : z(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(lo, fe, P)(m)) : m === null || z(m) ? (e.exit("htmlFlowData"), P(m)) : (e.consume(m), E);
3609
3609
  }
3610
3610
  function P(m) {
3611
- return e.check(io, I, fe)(m);
3611
+ return e.check(oo, I, fe)(m);
3612
3612
  }
3613
3613
  function I(m) {
3614
3614
  return e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), _;
@@ -3625,7 +3625,7 @@ function oo(e, n, t) {
3625
3625
  function re(m) {
3626
3626
  if (m === 62) {
3627
3627
  const le = o.toLowerCase();
3628
- return wt.includes(le) ? (e.consume(m), ie) : E(m);
3628
+ return Ct.includes(le) ? (e.consume(m), ie) : E(m);
3629
3629
  }
3630
3630
  return ue(m) && o.length < 8 ? (e.consume(m), o += String.fromCharCode(m), re) : E(m);
3631
3631
  }
@@ -3642,7 +3642,7 @@ function oo(e, n, t) {
3642
3642
  return e.exit("htmlFlow"), n(m);
3643
3643
  }
3644
3644
  }
3645
- function ao(e, n, t) {
3645
+ function so(e, n, t) {
3646
3646
  const r = this;
3647
3647
  return i;
3648
3648
  function i(o) {
@@ -3652,17 +3652,17 @@ function ao(e, n, t) {
3652
3652
  return r.parser.lazy[r.now().line] ? t(o) : n(o);
3653
3653
  }
3654
3654
  }
3655
- function uo(e, n, t) {
3655
+ function co(e, n, t) {
3656
3656
  return r;
3657
3657
  function r(i) {
3658
3658
  return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(rn, n, t);
3659
3659
  }
3660
3660
  }
3661
- const so = {
3661
+ const fo = {
3662
3662
  name: "htmlText",
3663
- tokenize: co
3663
+ tokenize: po
3664
3664
  };
3665
- function co(e, n, t) {
3665
+ function po(e, n, t) {
3666
3666
  const r = this;
3667
3667
  let i, l, o;
3668
3668
  return a;
@@ -3673,7 +3673,7 @@ function co(e, n, t) {
3673
3673
  return h === 33 ? (e.consume(h), u) : h === 47 ? (e.consume(h), j) : h === 63 ? (e.consume(h), C) : ue(h) ? (e.consume(h), V) : t(h);
3674
3674
  }
3675
3675
  function u(h) {
3676
- return h === 45 ? (e.consume(h), c) : h === 91 ? (e.consume(h), l = 0, b) : ue(h) ? (e.consume(h), T) : t(h);
3676
+ return h === 45 ? (e.consume(h), c) : h === 91 ? (e.consume(h), l = 0, b) : ue(h) ? (e.consume(h), L) : t(h);
3677
3677
  }
3678
3678
  function c(h) {
3679
3679
  return h === 45 ? (e.consume(h), p) : t(h);
@@ -3692,16 +3692,16 @@ function co(e, n, t) {
3692
3692
  return h === ie.charCodeAt(l++) ? (e.consume(h), l === ie.length ? w : b) : t(h);
3693
3693
  }
3694
3694
  function w(h) {
3695
- return h === null ? t(h) : h === 93 ? (e.consume(h), L) : z(h) ? (o = w, X(h)) : (e.consume(h), w);
3695
+ return h === null ? t(h) : h === 93 ? (e.consume(h), T) : z(h) ? (o = w, X(h)) : (e.consume(h), w);
3696
3696
  }
3697
- function L(h) {
3697
+ function T(h) {
3698
3698
  return h === 93 ? (e.consume(h), x) : w(h);
3699
3699
  }
3700
3700
  function x(h) {
3701
3701
  return h === 62 ? W(h) : h === 93 ? (e.consume(h), x) : w(h);
3702
3702
  }
3703
- function T(h) {
3704
- return h === null || h === 62 ? W(h) : z(h) ? (o = T, X(h)) : (e.consume(h), T);
3703
+ function L(h) {
3704
+ return h === null || h === 62 ? W(h) : z(h) ? (o = L, X(h)) : (e.consume(h), L);
3705
3705
  }
3706
3706
  function C(h) {
3707
3707
  return h === null ? t(h) : h === 63 ? (e.consume(h), B) : z(h) ? (o = C, X(h)) : (e.consume(h), C);
@@ -3755,19 +3755,19 @@ function co(e, n, t) {
3755
3755
  return e.enter("htmlTextData"), o(h);
3756
3756
  }
3757
3757
  }
3758
- const Hn = {
3758
+ const Vn = {
3759
3759
  name: "labelEnd",
3760
- resolveAll: mo,
3761
- resolveTo: go,
3762
- tokenize: yo
3763
- }, fo = {
3764
- tokenize: ko
3765
- }, po = {
3760
+ resolveAll: yo,
3761
+ resolveTo: ko,
3766
3762
  tokenize: xo
3767
3763
  }, ho = {
3768
3764
  tokenize: bo
3765
+ }, mo = {
3766
+ tokenize: wo
3767
+ }, go = {
3768
+ tokenize: So
3769
3769
  };
3770
- function mo(e) {
3770
+ function yo(e) {
3771
3771
  let n = -1;
3772
3772
  const t = [];
3773
3773
  for (; ++n < e.length; ) {
@@ -3779,7 +3779,7 @@ function mo(e) {
3779
3779
  }
3780
3780
  return e.length !== t.length && se(e, 0, e.length, t), e;
3781
3781
  }
3782
- function go(e, n) {
3782
+ function ko(e, n) {
3783
3783
  let t = e.length, r = 0, i, l, o, a;
3784
3784
  for (; t--; )
3785
3785
  if (i = e[t][1], l) {
@@ -3817,9 +3817,9 @@ function go(e, n) {
3817
3817
  ...e[o - 2][1].start
3818
3818
  }
3819
3819
  };
3820
- 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, $n(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;
3820
+ 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
3821
  }
3822
- function yo(e, n, t) {
3822
+ function xo(e, n, t) {
3823
3823
  const r = this;
3824
3824
  let i = r.events.length, l, o;
3825
3825
  for (; i--; )
@@ -3835,10 +3835,10 @@ function yo(e, n, t) {
3835
3835
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(d), e.exit("labelMarker"), e.exit("labelEnd"), s) : t(d);
3836
3836
  }
3837
3837
  function s(d) {
3838
- return d === 40 ? e.attempt(fo, c, o ? c : f)(d) : d === 91 ? e.attempt(po, c, o ? u : f)(d) : o ? c(d) : f(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);
3839
3839
  }
3840
3840
  function u(d) {
3841
- return e.attempt(ho, c, f)(d);
3841
+ return e.attempt(go, c, f)(d);
3842
3842
  }
3843
3843
  function c(d) {
3844
3844
  return n(d);
@@ -3847,7 +3847,7 @@ function yo(e, n, t) {
3847
3847
  return l._balanced = !0, t(d);
3848
3848
  }
3849
3849
  }
3850
- function ko(e, n, t) {
3850
+ function bo(e, n, t) {
3851
3851
  return r;
3852
3852
  function r(f) {
3853
3853
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), i;
@@ -3856,7 +3856,7 @@ function ko(e, n, t) {
3856
3856
  return Q(f) ? qe(e, l)(f) : l(f);
3857
3857
  }
3858
3858
  function l(f) {
3859
- return f === 41 ? c(f) : pr(e, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(f);
3859
+ return f === 41 ? c(f) : mr(e, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(f);
3860
3860
  }
3861
3861
  function o(f) {
3862
3862
  return Q(f) ? qe(e, s)(f) : c(f);
@@ -3865,7 +3865,7 @@ function ko(e, n, t) {
3865
3865
  return t(f);
3866
3866
  }
3867
3867
  function s(f) {
3868
- return f === 34 || f === 39 || f === 40 ? mr(e, u, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(f) : c(f);
3868
+ return f === 34 || f === 39 || f === 40 ? gr(e, u, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(f) : c(f);
3869
3869
  }
3870
3870
  function u(f) {
3871
3871
  return Q(f) ? qe(e, c)(f) : c(f);
@@ -3874,11 +3874,11 @@ function ko(e, n, t) {
3874
3874
  return f === 41 ? (e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), e.exit("resource"), n) : t(f);
3875
3875
  }
3876
3876
  }
3877
- function xo(e, n, t) {
3877
+ function wo(e, n, t) {
3878
3878
  const r = this;
3879
3879
  return i;
3880
3880
  function i(a) {
3881
- return hr.call(r, e, l, o, "reference", "referenceMarker", "referenceString")(a);
3881
+ return dr.call(r, e, l, o, "reference", "referenceMarker", "referenceString")(a);
3882
3882
  }
3883
3883
  function l(a) {
3884
3884
  return r.parser.defined.includes(ze(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? n(a) : t(a);
@@ -3887,7 +3887,7 @@ function xo(e, n, t) {
3887
3887
  return t(a);
3888
3888
  }
3889
3889
  }
3890
- function bo(e, n, t) {
3890
+ function So(e, n, t) {
3891
3891
  return r;
3892
3892
  function r(l) {
3893
3893
  return e.enter("reference"), e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), i;
@@ -3896,12 +3896,12 @@ function bo(e, n, t) {
3896
3896
  return l === 93 ? (e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), e.exit("reference"), n) : t(l);
3897
3897
  }
3898
3898
  }
3899
- const wo = {
3899
+ const Co = {
3900
3900
  name: "labelStartImage",
3901
- resolveAll: Hn.resolveAll,
3902
- tokenize: So
3901
+ resolveAll: Vn.resolveAll,
3902
+ tokenize: Io
3903
3903
  };
3904
- function So(e, n, t) {
3904
+ function Io(e, n, t) {
3905
3905
  const r = this;
3906
3906
  return i;
3907
3907
  function i(a) {
@@ -3914,12 +3914,12 @@ function So(e, n, t) {
3914
3914
  return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(a) : n(a);
3915
3915
  }
3916
3916
  }
3917
- const Co = {
3917
+ const Eo = {
3918
3918
  name: "labelStartLink",
3919
- resolveAll: Hn.resolveAll,
3920
- tokenize: Io
3919
+ resolveAll: Vn.resolveAll,
3920
+ tokenize: Po
3921
3921
  };
3922
- function Io(e, n, t) {
3922
+ function Po(e, n, t) {
3923
3923
  const r = this;
3924
3924
  return i;
3925
3925
  function i(o) {
@@ -3931,9 +3931,9 @@ function Io(e, n, t) {
3931
3931
  }
3932
3932
  const cn = {
3933
3933
  name: "lineEnding",
3934
- tokenize: Eo
3934
+ tokenize: Ao
3935
3935
  };
3936
- function Eo(e, n) {
3936
+ function Ao(e, n) {
3937
3937
  return t;
3938
3938
  function t(r) {
3939
3939
  return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), H(e, n, "linePrefix");
@@ -3941,9 +3941,9 @@ function Eo(e, n) {
3941
3941
  }
3942
3942
  const Ze = {
3943
3943
  name: "thematicBreak",
3944
- tokenize: Po
3944
+ tokenize: To
3945
3945
  };
3946
- function Po(e, n, t) {
3946
+ function To(e, n, t) {
3947
3947
  let r = 0, i;
3948
3948
  return l;
3949
3949
  function l(u) {
@@ -3961,19 +3961,19 @@ function Po(e, n, t) {
3961
3961
  }
3962
3962
  const K = {
3963
3963
  continuation: {
3964
- tokenize: zo
3964
+ tokenize: Mo
3965
3965
  },
3966
- exit: Mo,
3966
+ exit: Ro,
3967
3967
  name: "list",
3968
- tokenize: Lo
3969
- }, Ao = {
3968
+ tokenize: _o
3969
+ }, Lo = {
3970
3970
  partial: !0,
3971
- tokenize: No
3972
- }, To = {
3971
+ tokenize: vo
3972
+ }, zo = {
3973
3973
  partial: !0,
3974
- tokenize: _o
3974
+ tokenize: No
3975
3975
  };
3976
- function Lo(e, n, t) {
3976
+ function _o(e, n, t) {
3977
3977
  const r = this, i = r.events[r.events.length - 1];
3978
3978
  let l = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
3979
3979
  return a;
@@ -3997,7 +3997,7 @@ function Lo(e, n, t) {
3997
3997
  rn,
3998
3998
  // Can’t be empty when interrupting.
3999
3999
  r.interrupt ? t : c,
4000
- e.attempt(Ao, d, f)
4000
+ e.attempt(Lo, d, f)
4001
4001
  );
4002
4002
  }
4003
4003
  function c(p) {
@@ -4010,20 +4010,20 @@ function Lo(e, n, t) {
4010
4010
  return r.containerState.size = l + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, n(p);
4011
4011
  }
4012
4012
  }
4013
- function zo(e, n, t) {
4013
+ function Mo(e, n, t) {
4014
4014
  const r = this;
4015
4015
  return r.containerState._closeFlow = void 0, e.check(rn, i, l);
4016
4016
  function i(a) {
4017
4017
  return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, H(e, n, "listItemIndent", r.containerState.size + 1)(a);
4018
4018
  }
4019
4019
  function l(a) {
4020
- return r.containerState.furtherBlankLines || !D(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(To, n, o)(a));
4020
+ return r.containerState.furtherBlankLines || !D(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));
4021
4021
  }
4022
4022
  function o(a) {
4023
4023
  return r.containerState._closeFlow = !0, r.interrupt = void 0, H(e, e.attempt(K, n, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
4024
4024
  }
4025
4025
  }
4026
- function _o(e, n, t) {
4026
+ function No(e, n, t) {
4027
4027
  const r = this;
4028
4028
  return H(e, i, "listItemIndent", r.containerState.size + 1);
4029
4029
  function i(l) {
@@ -4031,10 +4031,10 @@ function _o(e, n, t) {
4031
4031
  return o && o[1].type === "listItemIndent" && o[2].sliceSerialize(o[1], !0).length === r.containerState.size ? n(l) : t(l);
4032
4032
  }
4033
4033
  }
4034
- function Mo(e) {
4034
+ function Ro(e) {
4035
4035
  e.exit(this.containerState.type);
4036
4036
  }
4037
- function No(e, n, t) {
4037
+ function vo(e, n, t) {
4038
4038
  const r = this;
4039
4039
  return H(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
4040
4040
  function i(l) {
@@ -4042,12 +4042,12 @@ function No(e, n, t) {
4042
4042
  return !D(l) && o && o[1].type === "listItemPrefixWhitespace" ? n(l) : t(l);
4043
4043
  }
4044
4044
  }
4045
- const St = {
4045
+ const It = {
4046
4046
  name: "setextUnderline",
4047
- resolveTo: Ro,
4048
- tokenize: vo
4047
+ resolveTo: Do,
4048
+ tokenize: Oo
4049
4049
  };
4050
- function Ro(e, n) {
4050
+ function Do(e, n) {
4051
4051
  let t = e.length, r, i, l;
4052
4052
  for (; t--; )
4053
4053
  if (e[t][0] === "enter") {
@@ -4071,7 +4071,7 @@ function Ro(e, n) {
4071
4071
  ...e[l][1].end
4072
4072
  }) : e[r][1] = o, e.push(["exit", o, n]), e;
4073
4073
  }
4074
- function vo(e, n, t) {
4074
+ function Oo(e, n, t) {
4075
4075
  const r = this;
4076
4076
  let i;
4077
4077
  return l;
@@ -4094,16 +4094,16 @@ function vo(e, n, t) {
4094
4094
  return u === null || z(u) ? (e.exit("setextHeadingLine"), n(u)) : t(u);
4095
4095
  }
4096
4096
  }
4097
- const Do = {
4098
- tokenize: Oo
4097
+ const Fo = {
4098
+ tokenize: Bo
4099
4099
  };
4100
- function Oo(e) {
4100
+ function Bo(e) {
4101
4101
  const n = this, t = e.attempt(
4102
4102
  // Try to parse a blank line.
4103
4103
  rn,
4104
4104
  r,
4105
4105
  // Try to parse initial flow (essentially, only code).
4106
- e.attempt(this.parser.constructs.flowInitial, i, H(e, e.attempt(this.parser.constructs.flow, i, e.attempt(jl, i)), "linePrefix"))
4106
+ e.attempt(this.parser.constructs.flowInitial, i, H(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Hl, i)), "linePrefix"))
4107
4107
  );
4108
4108
  return t;
4109
4109
  function r(l) {
@@ -4121,12 +4121,12 @@ function Oo(e) {
4121
4121
  return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), n.currentConstruct = void 0, t;
4122
4122
  }
4123
4123
  }
4124
- const Fo = {
4125
- resolveAll: gr()
4126
- }, Bo = dr("string"), Uo = dr("text");
4127
- function dr(e) {
4124
+ const Uo = {
4125
+ resolveAll: kr()
4126
+ }, jo = yr("string"), $o = yr("text");
4127
+ function yr(e) {
4128
4128
  return {
4129
- resolveAll: gr(e === "text" ? jo : void 0),
4129
+ resolveAll: kr(e === "text" ? Ho : void 0),
4130
4130
  tokenize: n
4131
4131
  };
4132
4132
  function n(t) {
@@ -4160,7 +4160,7 @@ function dr(e) {
4160
4160
  }
4161
4161
  }
4162
4162
  }
4163
- function gr(e) {
4163
+ function kr(e) {
4164
4164
  return n;
4165
4165
  function n(t, r) {
4166
4166
  let i = -1, l;
@@ -4169,7 +4169,7 @@ function gr(e) {
4169
4169
  return e ? e(t, r) : t;
4170
4170
  }
4171
4171
  }
4172
- function jo(e, n) {
4172
+ function Ho(e, n) {
4173
4173
  let t = 0;
4174
4174
  for (; ++t <= e.length; )
4175
4175
  if ((t === e.length || e[t][1].type === "lineEnding") && e[t - 1][1].type === "data") {
@@ -4211,7 +4211,7 @@ function jo(e, n) {
4211
4211
  }
4212
4212
  return e;
4213
4213
  }
4214
- const $o = {
4214
+ const Vo = {
4215
4215
  42: K,
4216
4216
  43: K,
4217
4217
  45: K,
@@ -4225,46 +4225,46 @@ const $o = {
4225
4225
  55: K,
4226
4226
  56: K,
4227
4227
  57: K,
4228
- 62: ur
4229
- }, Ho = {
4230
- 91: Wl
4231
- }, Vo = {
4228
+ 62: cr
4229
+ }, qo = {
4230
+ 91: Yl
4231
+ }, Wo = {
4232
4232
  [-2]: sn,
4233
4233
  [-1]: sn,
4234
4234
  32: sn
4235
- }, qo = {
4236
- 35: Jl,
4235
+ }, Xo = {
4236
+ 35: eo,
4237
4237
  42: Ze,
4238
- 45: [St, Ze],
4239
- 60: to,
4240
- 61: St,
4238
+ 45: [It, Ze],
4239
+ 60: io,
4240
+ 61: It,
4241
4241
  95: Ze,
4242
- 96: bt,
4243
- 126: bt
4244
- }, Wo = {
4245
- 38: cr,
4246
- 92: sr
4247
- }, Xo = {
4242
+ 96: St,
4243
+ 126: St
4244
+ }, Yo = {
4245
+ 38: pr,
4246
+ 92: fr
4247
+ }, Go = {
4248
4248
  [-5]: cn,
4249
4249
  [-4]: cn,
4250
4250
  [-3]: cn,
4251
- 33: wo,
4252
- 38: cr,
4251
+ 33: Co,
4252
+ 38: pr,
4253
4253
  42: Pn,
4254
- 60: [Sl, so],
4255
- 91: Co,
4256
- 92: [Kl, sr],
4257
- 93: Hn,
4254
+ 60: [Il, fo],
4255
+ 91: Eo,
4256
+ 92: [Jl, fr],
4257
+ 93: Vn,
4258
4258
  95: Pn,
4259
- 96: vl
4260
- }, Yo = {
4261
- null: [Pn, Fo]
4262
- }, Go = {
4263
- null: [42, 95]
4259
+ 96: Ol
4264
4260
  }, Ko = {
4261
+ null: [Pn, Uo]
4262
+ }, Qo = {
4263
+ null: [42, 95]
4264
+ }, Jo = {
4265
4265
  null: []
4266
- }, Qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: Go, contentInitial: Ho, disable: Ko, document: $o, flow: qo, flowInitial: Vo, insideSpan: Yo, string: Wo, text: Xo }, Symbol.toStringTag, { value: "Module" }));
4267
- function Jo(e, n, t) {
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) {
4268
4268
  let r = {
4269
4269
  _bufferIndex: -1,
4270
4270
  _index: 0,
@@ -4277,7 +4277,7 @@ function Jo(e, n, t) {
4277
4277
  const s = {
4278
4278
  attempt: v(j),
4279
4279
  check: v(y),
4280
- consume: T,
4280
+ consume: L,
4281
4281
  enter: C,
4282
4282
  exit: B,
4283
4283
  interrupt: v(y, {
@@ -4298,13 +4298,13 @@ function Jo(e, n, t) {
4298
4298
  let c = n.tokenize.call(u, s);
4299
4299
  return n.resolveAll && l.push(n), u;
4300
4300
  function f(A) {
4301
- return o = te(o, A), L(), o[o.length - 1] !== null ? [] : (V(n, 0), u.events = $n(l, u.events, u), u.events);
4301
+ return o = te(o, A), T(), o[o.length - 1] !== null ? [] : (V(n, 0), u.events = Hn(l, u.events, u), u.events);
4302
4302
  }
4303
4303
  function d(A, E) {
4304
- return ea(p(A), E);
4304
+ return ta(p(A), E);
4305
4305
  }
4306
4306
  function p(A) {
4307
- return Zo(o, A);
4307
+ return na(o, A);
4308
4308
  }
4309
4309
  function b() {
4310
4310
  const {
@@ -4325,7 +4325,7 @@ function Jo(e, n, t) {
4325
4325
  function w(A) {
4326
4326
  i[A.line] = A.column, F();
4327
4327
  }
4328
- function L() {
4328
+ function T() {
4329
4329
  let A;
4330
4330
  for (; r._index < o.length; ) {
4331
4331
  const E = o[r._index];
@@ -4339,7 +4339,7 @@ function Jo(e, n, t) {
4339
4339
  function x(A) {
4340
4340
  c = c(A);
4341
4341
  }
4342
- function T(A) {
4342
+ function L(A) {
4343
4343
  z(A) ? (r.line++, r.column = 1, r.offset += A === -3 ? 2 : 1, F()) : A !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
4344
4344
  // strings.
4345
4345
  /** @type {string} */
@@ -4427,7 +4427,7 @@ function Jo(e, n, t) {
4427
4427
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
4428
4428
  }
4429
4429
  }
4430
- function Zo(e, n) {
4430
+ function na(e, n) {
4431
4431
  const t = n.start._index, r = n.start._bufferIndex, i = n.end._index, l = n.end._bufferIndex;
4432
4432
  let o;
4433
4433
  if (t === i)
@@ -4441,7 +4441,7 @@ function Zo(e, n) {
4441
4441
  }
4442
4442
  return o;
4443
4443
  }
4444
- function ea(e, n) {
4444
+ function ta(e, n) {
4445
4445
  let t = -1;
4446
4446
  const r = [];
4447
4447
  let i;
@@ -4481,42 +4481,42 @@ function ea(e, n) {
4481
4481
  }
4482
4482
  return r.join("");
4483
4483
  }
4484
- function na(e) {
4484
+ function ra(e) {
4485
4485
  const r = {
4486
4486
  constructs: (
4487
4487
  /** @type {FullNormalizedExtension} */
4488
- al([Qo, ...(e || {}).extensions || []])
4488
+ sl([Zo, ...(e || {}).extensions || []])
4489
4489
  ),
4490
- content: i(dl),
4490
+ content: i(yl),
4491
4491
  defined: [],
4492
- document: i(yl),
4493
- flow: i(Do),
4492
+ document: i(xl),
4493
+ flow: i(Fo),
4494
4494
  lazy: {},
4495
- string: i(Bo),
4496
- text: i(Uo)
4495
+ string: i(jo),
4496
+ text: i($o)
4497
4497
  };
4498
4498
  return r;
4499
4499
  function i(l) {
4500
4500
  return o;
4501
4501
  function o(a) {
4502
- return Jo(r, l, a);
4502
+ return ea(r, l, a);
4503
4503
  }
4504
4504
  }
4505
4505
  }
4506
- function ta(e) {
4507
- for (; !fr(e); )
4506
+ function ia(e) {
4507
+ for (; !hr(e); )
4508
4508
  ;
4509
4509
  return e;
4510
4510
  }
4511
- const Ct = /[\0\t\n\r]/g;
4512
- function ra() {
4511
+ const Et = /[\0\t\n\r]/g;
4512
+ function la() {
4513
4513
  let e = 1, n = "", t = !0, r;
4514
4514
  return i;
4515
4515
  function i(l, o, a) {
4516
4516
  const s = [];
4517
4517
  let u, c, f, d, p;
4518
4518
  for (l = n + (typeof l == "string" ? l.toString() : new TextDecoder(o || void 0).decode(l)), f = 0, n = "", t && (l.charCodeAt(0) === 65279 && f++, t = void 0); f < l.length; ) {
4519
- if (Ct.lastIndex = f, u = Ct.exec(l), d = u && u.index !== void 0 ? u.index : l.length, p = l.charCodeAt(d), !u) {
4519
+ if (Et.lastIndex = f, u = Et.exec(l), d = u && u.index !== void 0 ? u.index : l.length, p = l.charCodeAt(d), !u) {
4520
4520
  n = l.slice(f);
4521
4521
  break;
4522
4522
  }
@@ -4544,32 +4544,32 @@ function ra() {
4544
4544
  return a && (r && s.push(-5), n && s.push(n), s.push(null)), s;
4545
4545
  }
4546
4546
  }
4547
- const ia = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4548
- function la(e) {
4549
- return e.replace(ia, oa);
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);
4550
4550
  }
4551
- function oa(e, n, t) {
4551
+ function ua(e, n, t) {
4552
4552
  if (n)
4553
4553
  return n;
4554
4554
  if (t.charCodeAt(0) === 35) {
4555
4555
  const i = t.charCodeAt(1), l = i === 120 || i === 88;
4556
- return ar(t.slice(l ? 2 : 1), l ? 16 : 10);
4556
+ return sr(t.slice(l ? 2 : 1), l ? 16 : 10);
4557
4557
  }
4558
- return jn(t) || e;
4558
+ return $n(t) || e;
4559
4559
  }
4560
- const yr = {}.hasOwnProperty;
4561
- function aa(e, n, t) {
4562
- return typeof n != "string" && (t = n, n = void 0), ua(t)(ta(na(t).document().write(ra()(e, n, !0))));
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))));
4563
4563
  }
4564
- function ua(e) {
4564
+ function ca(e) {
4565
4565
  const n = {
4566
4566
  transforms: [],
4567
4567
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
4568
4568
  enter: {
4569
- autolink: l(Gn),
4569
+ autolink: l(Kn),
4570
4570
  autolinkProtocol: O,
4571
4571
  autolinkEmail: O,
4572
- atxHeading: l(Wn),
4572
+ atxHeading: l(Xn),
4573
4573
  blockQuote: l(Ce),
4574
4574
  characterEscape: O,
4575
4575
  characterReference: O,
@@ -4577,36 +4577,36 @@ function ua(e) {
4577
4577
  codeFencedFenceInfo: o,
4578
4578
  codeFencedFenceMeta: o,
4579
4579
  codeIndented: l(Ge, o),
4580
- codeText: l(Sr, o),
4580
+ codeText: l(Ir, o),
4581
4581
  codeTextData: O,
4582
4582
  data: O,
4583
4583
  codeFlowValue: O,
4584
- definition: l(Cr),
4584
+ definition: l(Er),
4585
4585
  definitionDestinationString: o,
4586
4586
  definitionLabelString: o,
4587
4587
  definitionTitleString: o,
4588
- emphasis: l(Ir),
4589
- hardBreakEscape: l(Xn),
4590
- hardBreakTrailing: l(Xn),
4591
- htmlFlow: l(Yn, o),
4588
+ emphasis: l(Pr),
4589
+ hardBreakEscape: l(Yn),
4590
+ hardBreakTrailing: l(Yn),
4591
+ htmlFlow: l(Gn, o),
4592
4592
  htmlFlowData: O,
4593
- htmlText: l(Yn, o),
4593
+ htmlText: l(Gn, o),
4594
4594
  htmlTextData: O,
4595
- image: l(Er),
4595
+ image: l(Ar),
4596
4596
  label: o,
4597
- link: l(Gn),
4598
- listItem: l(Pr),
4597
+ link: l(Kn),
4598
+ listItem: l(Tr),
4599
4599
  listItemValue: d,
4600
- listOrdered: l(Kn, f),
4601
- listUnordered: l(Kn),
4602
- paragraph: l(Ar),
4600
+ listOrdered: l(Qn, f),
4601
+ listUnordered: l(Qn),
4602
+ paragraph: l(Lr),
4603
4603
  reference: m,
4604
4604
  referenceString: o,
4605
4605
  resourceDestinationString: o,
4606
4606
  resourceTitleString: o,
4607
- setextHeading: l(Wn),
4608
- strong: l(Tr),
4609
- thematicBreak: l(zr)
4607
+ setextHeading: l(Xn),
4608
+ strong: l(zr),
4609
+ thematicBreak: l(Mr)
4610
4610
  },
4611
4611
  exit: {
4612
4612
  atxHeading: s(),
@@ -4620,7 +4620,7 @@ function ua(e) {
4620
4620
  characterReferenceMarkerNumeric: ye,
4621
4621
  characterReferenceValue: Y,
4622
4622
  characterReference: Ne,
4623
- codeFenced: s(L),
4623
+ codeFenced: s(T),
4624
4624
  codeFencedFence: w,
4625
4625
  codeFencedFenceInfo: p,
4626
4626
  codeFencedFenceMeta: b,
@@ -4631,7 +4631,7 @@ function ua(e) {
4631
4631
  data: F,
4632
4632
  definition: s(),
4633
4633
  definitionDestinationString: B,
4634
- definitionLabelString: T,
4634
+ definitionLabelString: L,
4635
4635
  definitionTitleString: C,
4636
4636
  emphasis: s(),
4637
4637
  hardBreakEscape: s(E),
@@ -4660,7 +4660,7 @@ function ua(e) {
4660
4660
  thematicBreak: s()
4661
4661
  }
4662
4662
  };
4663
- kr(n, (e || {}).mdastExtensions || []);
4663
+ br(n, (e || {}).mdastExtensions || []);
4664
4664
  const t = {};
4665
4665
  return r;
4666
4666
  function r(g) {
@@ -4689,13 +4689,13 @@ function ua(e) {
4689
4689
  }
4690
4690
  for (U = -1; ++U < g.length; ) {
4691
4691
  const oe = n[g[U][0]];
4692
- yr.call(oe, g[U][1].type) && oe[g[U][1].type].call(Object.assign({
4692
+ xr.call(oe, g[U][1].type) && oe[g[U][1].type].call(Object.assign({
4693
4693
  sliceSerialize: g[U][2].sliceSerialize
4694
4694
  }, M), g[U][1]);
4695
4695
  }
4696
4696
  if (M.tokenStack.length > 0) {
4697
4697
  const oe = M.tokenStack[M.tokenStack.length - 1];
4698
- (oe[1] || It).call(M, void 0, oe[0]);
4698
+ (oe[1] || Pt).call(M, void 0, oe[0]);
4699
4699
  }
4700
4700
  for (S.position = {
4701
4701
  start: de(g.length > 0 ? g[0][1].start : {
@@ -4790,7 +4790,7 @@ function ua(e) {
4790
4790
  function u(g, S) {
4791
4791
  const M = this.stack.pop(), R = this.tokenStack.pop();
4792
4792
  if (R)
4793
- R[0].type !== g.type && (S ? S.call(this, g, R[0]) : (R[1] || It).call(this, g, R[0]));
4793
+ R[0].type !== g.type && (S ? S.call(this, g, R[0]) : (R[1] || Pt).call(this, g, R[0]));
4794
4794
  else throw new Error("Cannot close `" + g.type + "` (" + Ve({
4795
4795
  start: g.start,
4796
4796
  end: g.end
@@ -4798,7 +4798,7 @@ function ua(e) {
4798
4798
  M.position.end = de(g.end);
4799
4799
  }
4800
4800
  function c() {
4801
- return ll(this.stack.pop());
4801
+ return al(this.stack.pop());
4802
4802
  }
4803
4803
  function f() {
4804
4804
  this.data.expectingFirstListItemValue = !0;
@@ -4820,7 +4820,7 @@ function ua(e) {
4820
4820
  function w() {
4821
4821
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
4822
4822
  }
4823
- function L() {
4823
+ function T() {
4824
4824
  const g = this.resume(), S = this.stack[this.stack.length - 1];
4825
4825
  S.value = g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
4826
4826
  }
@@ -4828,7 +4828,7 @@ function ua(e) {
4828
4828
  const g = this.resume(), S = this.stack[this.stack.length - 1];
4829
4829
  S.value = g.replace(/(\r?\n|\r)$/g, "");
4830
4830
  }
4831
- function T(g) {
4831
+ function L(g) {
4832
4832
  const S = this.resume(), M = this.stack[this.stack.length - 1];
4833
4833
  M.label = S, M.identifier = ze(this.sliceSerialize(g)).toLowerCase();
4834
4834
  }
@@ -4860,7 +4860,7 @@ function ua(e) {
4860
4860
  function O(g) {
4861
4861
  const M = this.stack[this.stack.length - 1].children;
4862
4862
  let R = M[M.length - 1];
4863
- (!R || R.type !== "text") && (R = Lr(), R.position = {
4863
+ (!R || R.type !== "text") && (R = _r(), R.position = {
4864
4864
  start: de(g.start),
4865
4865
  // @ts-expect-error: we’ll add `end` later.
4866
4866
  end: void 0
@@ -4914,7 +4914,7 @@ function ua(e) {
4914
4914
  }
4915
4915
  function re(g) {
4916
4916
  const S = this.sliceSerialize(g), M = this.stack[this.stack.length - 2];
4917
- M.label = la(S), M.identifier = ze(S).toLowerCase();
4917
+ M.label = aa(S), M.identifier = ze(S).toLowerCase();
4918
4918
  }
4919
4919
  function ce() {
4920
4920
  const g = this.stack[this.stack.length - 1], S = this.resume(), M = this.stack[this.stack.length - 1];
@@ -4948,7 +4948,7 @@ function ua(e) {
4948
4948
  function Y(g) {
4949
4949
  const S = this.sliceSerialize(g), M = this.data.characterReferenceType;
4950
4950
  let R;
4951
- M ? (R = ar(S, M === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : R = jn(S);
4951
+ M ? (R = sr(S, M === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : R = $n(S);
4952
4952
  const U = this.stack[this.stack.length - 1];
4953
4953
  U.value += R;
4954
4954
  }
@@ -4980,13 +4980,13 @@ function ua(e) {
4980
4980
  value: ""
4981
4981
  };
4982
4982
  }
4983
- function Sr() {
4983
+ function Ir() {
4984
4984
  return {
4985
4985
  type: "inlineCode",
4986
4986
  value: ""
4987
4987
  };
4988
4988
  }
4989
- function Cr() {
4989
+ function Er() {
4990
4990
  return {
4991
4991
  type: "definition",
4992
4992
  identifier: "",
@@ -4995,13 +4995,13 @@ function ua(e) {
4995
4995
  url: ""
4996
4996
  };
4997
4997
  }
4998
- function Ir() {
4998
+ function Pr() {
4999
4999
  return {
5000
5000
  type: "emphasis",
5001
5001
  children: []
5002
5002
  };
5003
5003
  }
5004
- function Wn() {
5004
+ function Xn() {
5005
5005
  return {
5006
5006
  type: "heading",
5007
5007
  // @ts-expect-error `depth` will be set later.
@@ -5009,18 +5009,18 @@ function ua(e) {
5009
5009
  children: []
5010
5010
  };
5011
5011
  }
5012
- function Xn() {
5012
+ function Yn() {
5013
5013
  return {
5014
5014
  type: "break"
5015
5015
  };
5016
5016
  }
5017
- function Yn() {
5017
+ function Gn() {
5018
5018
  return {
5019
5019
  type: "html",
5020
5020
  value: ""
5021
5021
  };
5022
5022
  }
5023
- function Er() {
5023
+ function Ar() {
5024
5024
  return {
5025
5025
  type: "image",
5026
5026
  title: null,
@@ -5028,7 +5028,7 @@ function ua(e) {
5028
5028
  alt: null
5029
5029
  };
5030
5030
  }
5031
- function Gn() {
5031
+ function Kn() {
5032
5032
  return {
5033
5033
  type: "link",
5034
5034
  title: null,
@@ -5036,7 +5036,7 @@ function ua(e) {
5036
5036
  children: []
5037
5037
  };
5038
5038
  }
5039
- function Kn(g) {
5039
+ function Qn(g) {
5040
5040
  return {
5041
5041
  type: "list",
5042
5042
  ordered: g.type === "listOrdered",
@@ -5045,7 +5045,7 @@ function ua(e) {
5045
5045
  children: []
5046
5046
  };
5047
5047
  }
5048
- function Pr(g) {
5048
+ function Tr(g) {
5049
5049
  return {
5050
5050
  type: "listItem",
5051
5051
  spread: g._spread,
@@ -5053,25 +5053,25 @@ function ua(e) {
5053
5053
  children: []
5054
5054
  };
5055
5055
  }
5056
- function Ar() {
5056
+ function Lr() {
5057
5057
  return {
5058
5058
  type: "paragraph",
5059
5059
  children: []
5060
5060
  };
5061
5061
  }
5062
- function Tr() {
5062
+ function zr() {
5063
5063
  return {
5064
5064
  type: "strong",
5065
5065
  children: []
5066
5066
  };
5067
5067
  }
5068
- function Lr() {
5068
+ function _r() {
5069
5069
  return {
5070
5070
  type: "text",
5071
5071
  value: ""
5072
5072
  };
5073
5073
  }
5074
- function zr() {
5074
+ function Mr() {
5075
5075
  return {
5076
5076
  type: "thematicBreak"
5077
5077
  };
@@ -5084,17 +5084,17 @@ function de(e) {
5084
5084
  offset: e.offset
5085
5085
  };
5086
5086
  }
5087
- function kr(e, n) {
5087
+ function br(e, n) {
5088
5088
  let t = -1;
5089
5089
  for (; ++t < n.length; ) {
5090
5090
  const r = n[t];
5091
- Array.isArray(r) ? kr(e, r) : sa(e, r);
5091
+ Array.isArray(r) ? br(e, r) : fa(e, r);
5092
5092
  }
5093
5093
  }
5094
- function sa(e, n) {
5094
+ function fa(e, n) {
5095
5095
  let t;
5096
5096
  for (t in n)
5097
- if (yr.call(n, t))
5097
+ if (xr.call(n, t))
5098
5098
  switch (t) {
5099
5099
  case "canContainEols": {
5100
5100
  const r = n[t];
@@ -5114,7 +5114,7 @@ function sa(e, n) {
5114
5114
  }
5115
5115
  }
5116
5116
  }
5117
- function It(e, n) {
5117
+ function Pt(e, n) {
5118
5118
  throw e ? new Error("Cannot close `" + e.type + "` (" + Ve({
5119
5119
  start: e.start,
5120
5120
  end: e.end
@@ -5126,11 +5126,11 @@ function It(e, n) {
5126
5126
  end: n.end
5127
5127
  }) + ") is still open");
5128
5128
  }
5129
- function ca(e) {
5129
+ function pa(e) {
5130
5130
  const n = this;
5131
5131
  n.parser = t;
5132
5132
  function t(r) {
5133
- return aa(r, {
5133
+ return sa(r, {
5134
5134
  ...n.data("settings"),
5135
5135
  ...e,
5136
5136
  // Note: these options are not in the readme.
@@ -5141,7 +5141,7 @@ function ca(e) {
5141
5141
  });
5142
5142
  }
5143
5143
  }
5144
- function fa(e, n) {
5144
+ function ha(e, n) {
5145
5145
  const t = {
5146
5146
  type: "element",
5147
5147
  tagName: "blockquote",
@@ -5150,12 +5150,12 @@ function fa(e, n) {
5150
5150
  };
5151
5151
  return e.patch(n, t), e.applyData(n, t);
5152
5152
  }
5153
- function pa(e, n) {
5153
+ function ma(e, n) {
5154
5154
  const t = { type: "element", tagName: "br", properties: {}, children: [] };
5155
5155
  return e.patch(n, t), [e.applyData(n, t), { type: "text", value: `
5156
5156
  ` }];
5157
5157
  }
5158
- function ha(e, n) {
5158
+ function da(e, n) {
5159
5159
  const t = n.value ? n.value + `
5160
5160
  ` : "", r = {};
5161
5161
  n.lang && (r.className = ["language-" + n.lang]);
@@ -5167,7 +5167,7 @@ function ha(e, n) {
5167
5167
  };
5168
5168
  return n.meta && (i.data = { meta: n.meta }), e.patch(n, i), i = e.applyData(n, i), i = { type: "element", tagName: "pre", properties: {}, children: [i] }, e.patch(n, i), i;
5169
5169
  }
5170
- function ma(e, n) {
5170
+ function ga(e, n) {
5171
5171
  const t = {
5172
5172
  type: "element",
5173
5173
  tagName: "del",
@@ -5176,7 +5176,7 @@ function ma(e, n) {
5176
5176
  };
5177
5177
  return e.patch(n, t), e.applyData(n, t);
5178
5178
  }
5179
- function da(e, n) {
5179
+ function ya(e, n) {
5180
5180
  const t = {
5181
5181
  type: "element",
5182
5182
  tagName: "em",
@@ -5185,7 +5185,7 @@ function da(e, n) {
5185
5185
  };
5186
5186
  return e.patch(n, t), e.applyData(n, t);
5187
5187
  }
5188
- function ga(e, n) {
5188
+ function ka(e, n) {
5189
5189
  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
5190
  let o, a = e.footnoteCounts.get(r);
5191
5191
  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 +5209,7 @@ function ga(e, n) {
5209
5209
  };
5210
5210
  return e.patch(n, u), e.applyData(n, u);
5211
5211
  }
5212
- function ya(e, n) {
5212
+ function xa(e, n) {
5213
5213
  const t = {
5214
5214
  type: "element",
5215
5215
  tagName: "h" + n.depth,
@@ -5218,13 +5218,13 @@ function ya(e, n) {
5218
5218
  };
5219
5219
  return e.patch(n, t), e.applyData(n, t);
5220
5220
  }
5221
- function ka(e, n) {
5221
+ function ba(e, n) {
5222
5222
  if (e.options.allowDangerousHtml) {
5223
5223
  const t = { type: "raw", value: n.value };
5224
5224
  return e.patch(n, t), e.applyData(n, t);
5225
5225
  }
5226
5226
  }
5227
- function xr(e, n) {
5227
+ function wr(e, n) {
5228
5228
  const t = n.referenceType;
5229
5229
  let r = "]";
5230
5230
  if (t === "collapsed" ? r += "[]" : t === "full" && (r += "[" + (n.label || n.identifier) + "]"), n.type === "imageReference")
@@ -5234,22 +5234,22 @@ function xr(e, n) {
5234
5234
  const o = i[i.length - 1];
5235
5235
  return o && o.type === "text" ? o.value += r : i.push({ type: "text", value: r }), i;
5236
5236
  }
5237
- function xa(e, n) {
5237
+ function wa(e, n) {
5238
5238
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5239
5239
  if (!r)
5240
- return xr(e, n);
5240
+ return wr(e, n);
5241
5241
  const i = { src: Me(r.url || ""), alt: n.alt };
5242
5242
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5243
5243
  const l = { type: "element", tagName: "img", properties: i, children: [] };
5244
5244
  return e.patch(n, l), e.applyData(n, l);
5245
5245
  }
5246
- function ba(e, n) {
5246
+ function Sa(e, n) {
5247
5247
  const t = { src: Me(n.url) };
5248
5248
  n.alt !== null && n.alt !== void 0 && (t.alt = n.alt), n.title !== null && n.title !== void 0 && (t.title = n.title);
5249
5249
  const r = { type: "element", tagName: "img", properties: t, children: [] };
5250
5250
  return e.patch(n, r), e.applyData(n, r);
5251
5251
  }
5252
- function wa(e, n) {
5252
+ function Ca(e, n) {
5253
5253
  const t = { type: "text", value: n.value.replace(/\r?\n|\r/g, " ") };
5254
5254
  e.patch(n, t);
5255
5255
  const r = {
@@ -5260,10 +5260,10 @@ function wa(e, n) {
5260
5260
  };
5261
5261
  return e.patch(n, r), e.applyData(n, r);
5262
5262
  }
5263
- function Sa(e, n) {
5263
+ function Ia(e, n) {
5264
5264
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5265
5265
  if (!r)
5266
- return xr(e, n);
5266
+ return wr(e, n);
5267
5267
  const i = { href: Me(r.url || "") };
5268
5268
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5269
5269
  const l = {
@@ -5274,7 +5274,7 @@ function Sa(e, n) {
5274
5274
  };
5275
5275
  return e.patch(n, l), e.applyData(n, l);
5276
5276
  }
5277
- function Ca(e, n) {
5277
+ function Ea(e, n) {
5278
5278
  const t = { href: Me(n.url) };
5279
5279
  n.title !== null && n.title !== void 0 && (t.title = n.title);
5280
5280
  const r = {
@@ -5285,8 +5285,8 @@ function Ca(e, n) {
5285
5285
  };
5286
5286
  return e.patch(n, r), e.applyData(n, r);
5287
5287
  }
5288
- function Ia(e, n, t) {
5289
- const r = e.all(n), i = t ? Ea(t) : br(n), l = {}, o = [];
5288
+ function Pa(e, n, t) {
5289
+ const r = e.all(n), i = t ? Aa(t) : Sr(n), l = {}, o = [];
5290
5290
  if (typeof n.checked == "boolean") {
5291
5291
  const c = r[0];
5292
5292
  let f;
@@ -5309,22 +5309,22 @@ function Ia(e, n, t) {
5309
5309
  const u = { type: "element", tagName: "li", properties: l, children: o };
5310
5310
  return e.patch(n, u), e.applyData(n, u);
5311
5311
  }
5312
- function Ea(e) {
5312
+ function Aa(e) {
5313
5313
  let n = !1;
5314
5314
  if (e.type === "list") {
5315
5315
  n = e.spread || !1;
5316
5316
  const t = e.children;
5317
5317
  let r = -1;
5318
5318
  for (; !n && ++r < t.length; )
5319
- n = br(t[r]);
5319
+ n = Sr(t[r]);
5320
5320
  }
5321
5321
  return n;
5322
5322
  }
5323
- function br(e) {
5323
+ function Sr(e) {
5324
5324
  const n = e.spread;
5325
5325
  return n ?? e.children.length > 1;
5326
5326
  }
5327
- function Pa(e, n) {
5327
+ function Ta(e, n) {
5328
5328
  const t = {}, r = e.all(n);
5329
5329
  let i = -1;
5330
5330
  for (typeof n.start == "number" && n.start !== 1 && (t.start = n.start); ++i < r.length; ) {
@@ -5342,7 +5342,7 @@ function Pa(e, n) {
5342
5342
  };
5343
5343
  return e.patch(n, l), e.applyData(n, l);
5344
5344
  }
5345
- function Aa(e, n) {
5345
+ function La(e, n) {
5346
5346
  const t = {
5347
5347
  type: "element",
5348
5348
  tagName: "p",
@@ -5351,11 +5351,11 @@ function Aa(e, n) {
5351
5351
  };
5352
5352
  return e.patch(n, t), e.applyData(n, t);
5353
5353
  }
5354
- function Ta(e, n) {
5354
+ function za(e, n) {
5355
5355
  const t = { type: "root", children: e.wrap(e.all(n)) };
5356
5356
  return e.patch(n, t), e.applyData(n, t);
5357
5357
  }
5358
- function La(e, n) {
5358
+ function _a(e, n) {
5359
5359
  const t = {
5360
5360
  type: "element",
5361
5361
  tagName: "strong",
@@ -5364,7 +5364,7 @@ function La(e, n) {
5364
5364
  };
5365
5365
  return e.patch(n, t), e.applyData(n, t);
5366
5366
  }
5367
- function za(e, n) {
5367
+ function Ma(e, n) {
5368
5368
  const t = e.all(n), r = t.shift(), i = [];
5369
5369
  if (r) {
5370
5370
  const o = {
@@ -5381,7 +5381,7 @@ function za(e, n) {
5381
5381
  tagName: "tbody",
5382
5382
  properties: {},
5383
5383
  children: e.wrap(t, !0)
5384
- }, a = On(n.children[1]), s = er(n.children[n.children.length - 1]);
5384
+ }, a = Fn(n.children[1]), s = tr(n.children[n.children.length - 1]);
5385
5385
  a && s && (o.position = { start: a, end: s }), i.push(o);
5386
5386
  }
5387
5387
  const l = {
@@ -5392,7 +5392,7 @@ function za(e, n) {
5392
5392
  };
5393
5393
  return e.patch(n, l), e.applyData(n, l);
5394
5394
  }
5395
- function _a(e, n, t) {
5395
+ function Na(e, n, t) {
5396
5396
  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
5397
  let s = -1;
5398
5398
  const u = [];
@@ -5410,7 +5410,7 @@ function _a(e, n, t) {
5410
5410
  };
5411
5411
  return e.patch(n, c), e.applyData(n, c);
5412
5412
  }
5413
- function Ma(e, n) {
5413
+ function Ra(e, n) {
5414
5414
  const t = {
5415
5415
  type: "element",
5416
5416
  tagName: "td",
@@ -5420,37 +5420,37 @@ function Ma(e, n) {
5420
5420
  };
5421
5421
  return e.patch(n, t), e.applyData(n, t);
5422
5422
  }
5423
- const Et = 9, Pt = 32;
5424
- function Na(e) {
5423
+ const At = 9, Tt = 32;
5424
+ function va(e) {
5425
5425
  const n = String(e), t = /\r?\n|\r/g;
5426
5426
  let r = t.exec(n), i = 0;
5427
5427
  const l = [];
5428
5428
  for (; r; )
5429
5429
  l.push(
5430
- At(n.slice(i, r.index), i > 0, !0),
5430
+ Lt(n.slice(i, r.index), i > 0, !0),
5431
5431
  r[0]
5432
5432
  ), i = r.index + r[0].length, r = t.exec(n);
5433
- return l.push(At(n.slice(i), i > 0, !1)), l.join("");
5433
+ return l.push(Lt(n.slice(i), i > 0, !1)), l.join("");
5434
5434
  }
5435
- function At(e, n, t) {
5435
+ function Lt(e, n, t) {
5436
5436
  let r = 0, i = e.length;
5437
5437
  if (n) {
5438
5438
  let l = e.codePointAt(r);
5439
- for (; l === Et || l === Pt; )
5439
+ for (; l === At || l === Tt; )
5440
5440
  r++, l = e.codePointAt(r);
5441
5441
  }
5442
5442
  if (t) {
5443
5443
  let l = e.codePointAt(i - 1);
5444
- for (; l === Et || l === Pt; )
5444
+ for (; l === At || l === Tt; )
5445
5445
  i--, l = e.codePointAt(i - 1);
5446
5446
  }
5447
5447
  return i > r ? e.slice(r, i) : "";
5448
5448
  }
5449
- function Ra(e, n) {
5450
- const t = { type: "text", value: Na(String(n.value)) };
5449
+ function Da(e, n) {
5450
+ const t = { type: "text", value: va(String(n.value)) };
5451
5451
  return e.patch(n, t), e.applyData(n, t);
5452
5452
  }
5453
- function va(e, n) {
5453
+ function Oa(e, n) {
5454
5454
  const t = {
5455
5455
  type: "element",
5456
5456
  tagName: "hr",
@@ -5459,31 +5459,31 @@ function va(e, n) {
5459
5459
  };
5460
5460
  return e.patch(n, t), e.applyData(n, t);
5461
5461
  }
5462
- const Da = {
5463
- blockquote: fa,
5464
- break: pa,
5465
- code: ha,
5466
- delete: ma,
5467
- emphasis: da,
5468
- footnoteReference: ga,
5469
- heading: ya,
5470
- html: ka,
5471
- imageReference: xa,
5472
- image: ba,
5473
- inlineCode: wa,
5474
- linkReference: Sa,
5475
- link: Ca,
5476
- listItem: Ia,
5477
- list: Pa,
5478
- paragraph: Aa,
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: Pa,
5477
+ list: Ta,
5478
+ paragraph: La,
5479
5479
  // @ts-expect-error: root is different, but hard to type.
5480
- root: Ta,
5481
- strong: La,
5482
- table: za,
5483
- tableCell: Ma,
5484
- tableRow: _a,
5485
- text: Ra,
5486
- thematicBreak: va,
5480
+ root: za,
5481
+ strong: _a,
5482
+ table: Ma,
5483
+ tableCell: Ra,
5484
+ tableRow: Na,
5485
+ text: Da,
5486
+ thematicBreak: Oa,
5487
5487
  toml: Qe,
5488
5488
  yaml: Qe,
5489
5489
  definition: Qe,
@@ -5491,7 +5491,7 @@ const Da = {
5491
5491
  };
5492
5492
  function Qe() {
5493
5493
  }
5494
- function Oa(e, n) {
5494
+ function Ba(e, n) {
5495
5495
  const t = [{ type: "text", value: "↩" }];
5496
5496
  return n > 1 && t.push({
5497
5497
  type: "element",
@@ -5500,11 +5500,11 @@ function Oa(e, n) {
5500
5500
  children: [{ type: "text", value: String(n) }]
5501
5501
  }), t;
5502
5502
  }
5503
- function Fa(e, n) {
5503
+ function Ua(e, n) {
5504
5504
  return "Back to reference " + (e + 1) + (n > 1 ? "-" + n : "");
5505
5505
  }
5506
- function Ba(e) {
5507
- const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = e.options.footnoteBackContent || Oa, r = e.options.footnoteBackLabel || Fa, i = e.options.footnoteLabel || "Footnotes", l = e.options.footnoteLabelTagName || "h2", o = e.options.footnoteLabelProperties || {
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 || {
5508
5508
  className: ["sr-only"]
5509
5509
  }, a = [];
5510
5510
  let s = -1;
@@ -5519,8 +5519,8 @@ function Ba(e) {
5519
5519
  const b = [], w = e.footnoteCounts.get(f);
5520
5520
  for (; w !== void 0 && ++p <= w; ) {
5521
5521
  b.length > 0 && b.push({ type: "text", value: " " });
5522
- let T = typeof t == "string" ? t : t(s, p);
5523
- typeof T == "string" && (T = { type: "text", value: T }), b.push({
5522
+ let L = typeof t == "string" ? t : t(s, p);
5523
+ typeof L == "string" && (L = { type: "text", value: L }), b.push({
5524
5524
  type: "element",
5525
5525
  tagName: "a",
5526
5526
  properties: {
@@ -5529,13 +5529,13 @@ function Ba(e) {
5529
5529
  ariaLabel: typeof r == "string" ? r : r(s, p),
5530
5530
  className: ["data-footnote-backref"]
5531
5531
  },
5532
- children: Array.isArray(T) ? T : [T]
5532
+ children: Array.isArray(L) ? L : [L]
5533
5533
  });
5534
5534
  }
5535
- const L = c[c.length - 1];
5536
- if (L && L.type === "element" && L.tagName === "p") {
5537
- const T = L.children[L.children.length - 1];
5538
- T && T.type === "text" ? T.value += " " : L.children.push({ type: "text", value: " " }), L.children.push(...b);
5535
+ const T = c[c.length - 1];
5536
+ if (T && T.type === "element" && T.tagName === "p") {
5537
+ const L = T.children[T.children.length - 1];
5538
+ L && L.type === "text" ? L.value += " " : T.children.push({ type: "text", value: " " }), T.children.push(...b);
5539
5539
  } else
5540
5540
  c.push(...b);
5541
5541
  const x = {
@@ -5574,11 +5574,11 @@ function Ba(e) {
5574
5574
  ]
5575
5575
  };
5576
5576
  }
5577
- const An = {}.hasOwnProperty, Ua = {};
5578
- function ja(e, n) {
5579
- const t = n || Ua, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Da, ...t.handlers }, a = {
5577
+ const An = {}.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 = {
5580
5580
  all: u,
5581
- applyData: Ha,
5581
+ applyData: qa,
5582
5582
  definitionById: r,
5583
5583
  footnoteById: i,
5584
5584
  footnoteCounts: l,
@@ -5586,8 +5586,8 @@ function ja(e, n) {
5586
5586
  handlers: o,
5587
5587
  one: s,
5588
5588
  options: t,
5589
- patch: $a,
5590
- wrap: qa
5589
+ patch: Va,
5590
+ wrap: Xa
5591
5591
  };
5592
5592
  return be(e, function(c) {
5593
5593
  if (c.type === "definition" || c.type === "footnoteDefinition") {
@@ -5601,12 +5601,12 @@ function ja(e, n) {
5601
5601
  return p(a, c, f);
5602
5602
  if (a.options.passThrough && a.options.passThrough.includes(d)) {
5603
5603
  if ("children" in c) {
5604
- const { children: w, ...L } = c, x = xe(L);
5604
+ const { children: w, ...T } = c, x = xe(T);
5605
5605
  return x.children = a.all(c), x;
5606
5606
  }
5607
5607
  return xe(c);
5608
5608
  }
5609
- return (a.options.unknownHandler || Va)(a, c, f);
5609
+ return (a.options.unknownHandler || Wa)(a, c, f);
5610
5610
  }
5611
5611
  function u(c) {
5612
5612
  const f = [];
@@ -5616,9 +5616,9 @@ function ja(e, n) {
5616
5616
  for (; ++p < d.length; ) {
5617
5617
  const b = a.one(d[p], c);
5618
5618
  if (b) {
5619
- if (p && d[p - 1].type === "break" && (!Array.isArray(b) && b.type === "text" && (b.value = Tt(b.value)), !Array.isArray(b) && b.type === "element")) {
5619
+ if (p && d[p - 1].type === "break" && (!Array.isArray(b) && b.type === "text" && (b.value = zt(b.value)), !Array.isArray(b) && b.type === "element")) {
5620
5620
  const w = b.children[0];
5621
- w && w.type === "text" && (w.value = Tt(w.value));
5621
+ w && w.type === "text" && (w.value = zt(w.value));
5622
5622
  }
5623
5623
  Array.isArray(b) ? f.push(...b) : f.push(b);
5624
5624
  }
@@ -5627,10 +5627,10 @@ function ja(e, n) {
5627
5627
  return f;
5628
5628
  }
5629
5629
  }
5630
- function $a(e, n) {
5631
- e.position && (n.position = Di(e));
5630
+ function Va(e, n) {
5631
+ e.position && (n.position = Fi(e));
5632
5632
  }
5633
- function Ha(e, n) {
5633
+ function qa(e, n) {
5634
5634
  let t = n;
5635
5635
  if (e && e.data) {
5636
5636
  const r = e.data.hName, i = e.data.hChildren, l = e.data.hProperties;
@@ -5645,7 +5645,7 @@ function Ha(e, n) {
5645
5645
  }
5646
5646
  return t;
5647
5647
  }
5648
- function Va(e, n) {
5648
+ function Wa(e, n) {
5649
5649
  const t = n.data || {}, r = "value" in n && !(An.call(t, "hProperties") || An.call(t, "hChildren")) ? { type: "text", value: n.value } : {
5650
5650
  type: "element",
5651
5651
  tagName: "div",
@@ -5654,7 +5654,7 @@ function Va(e, n) {
5654
5654
  };
5655
5655
  return e.patch(n, r), e.applyData(n, r);
5656
5656
  }
5657
- function qa(e, n) {
5657
+ function Xa(e, n) {
5658
5658
  const t = [];
5659
5659
  let r = -1;
5660
5660
  for (n && t.push({ type: "text", value: `
@@ -5664,39 +5664,39 @@ function qa(e, n) {
5664
5664
  return n && e.length > 0 && t.push({ type: "text", value: `
5665
5665
  ` }), t;
5666
5666
  }
5667
- function Tt(e) {
5667
+ function zt(e) {
5668
5668
  let n = 0, t = e.charCodeAt(n);
5669
5669
  for (; t === 9 || t === 32; )
5670
5670
  n++, t = e.charCodeAt(n);
5671
5671
  return e.slice(n);
5672
5672
  }
5673
- function Lt(e, n) {
5674
- const t = ja(e, n), r = t.one(e, void 0), i = Ba(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5673
+ 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: [] };
5675
5675
  return i && l.children.push({ type: "text", value: `
5676
5676
  ` }, i), l;
5677
5677
  }
5678
- function Wa(e, n) {
5678
+ function Ya(e, n) {
5679
5679
  return e && "run" in e ? async function(t, r) {
5680
5680
  const i = (
5681
5681
  /** @type {HastRoot} */
5682
- Lt(t, { file: r, ...n })
5682
+ _t(t, { file: r, ...n })
5683
5683
  );
5684
5684
  await e.run(i, r);
5685
5685
  } : function(t, r) {
5686
5686
  return (
5687
5687
  /** @type {HastRoot} */
5688
- Lt(t, { file: r, ...e || n })
5688
+ _t(t, { file: r, ...e || n })
5689
5689
  );
5690
5690
  };
5691
5691
  }
5692
- function zt(e) {
5692
+ function Mt(e) {
5693
5693
  if (e)
5694
5694
  throw e;
5695
5695
  }
5696
- var fn, _t;
5697
- function Xa() {
5698
- if (_t) return fn;
5699
- _t = 1;
5696
+ var fn, Nt;
5697
+ function Ga() {
5698
+ if (Nt) return fn;
5699
+ Nt = 1;
5700
5700
  var e = Object.prototype.hasOwnProperty, n = Object.prototype.toString, t = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = function(u) {
5701
5701
  return typeof Array.isArray == "function" ? Array.isArray(u) : n.call(u) === "[object Array]";
5702
5702
  }, l = function(u) {
@@ -5725,23 +5725,23 @@ function Xa() {
5725
5725
  return u[c];
5726
5726
  };
5727
5727
  return fn = function s() {
5728
- var u, c, f, d, p, b, w = arguments[0], L = 1, x = arguments.length, T = !1;
5729
- for (typeof w == "boolean" && (T = w, w = arguments[1] || {}, L = 2), (w == null || typeof w != "object" && typeof w != "function") && (w = {}); L < x; ++L)
5730
- if (u = arguments[L], u != null)
5728
+ var u, c, f, d, p, b, w = arguments[0], T = 1, x = arguments.length, L = !1;
5729
+ for (typeof w == "boolean" && (L = w, w = arguments[1] || {}, T = 2), (w == null || typeof w != "object" && typeof w != "function") && (w = {}); T < x; ++T)
5730
+ if (u = arguments[T], u != null)
5731
5731
  for (c in u)
5732
- f = a(w, c), d = a(u, c), w !== d && (T && d && (l(d) || (p = i(d))) ? (p ? (p = !1, b = f && i(f) ? f : []) : b = f && l(f) ? f : {}, o(w, { name: c, newValue: s(T, b, d) })) : typeof d < "u" && o(w, { name: c, newValue: d }));
5732
+ f = a(w, c), d = a(u, c), w !== d && (L && d && (l(d) || (p = i(d))) ? (p ? (p = !1, b = f && i(f) ? f : []) : b = f && l(f) ? f : {}, o(w, { name: c, newValue: s(L, b, d) })) : typeof d < "u" && o(w, { name: c, newValue: d }));
5733
5733
  return w;
5734
5734
  }, fn;
5735
5735
  }
5736
- var Ya = /* @__PURE__ */ Xa();
5737
- const pn = /* @__PURE__ */ Bt(Ya);
5736
+ var Ka = /* @__PURE__ */ Ga();
5737
+ const pn = /* @__PURE__ */ jt(Ka);
5738
5738
  function Tn(e) {
5739
5739
  if (typeof e != "object" || e === null)
5740
5740
  return !1;
5741
5741
  const n = Object.getPrototypeOf(e);
5742
5742
  return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
5743
5743
  }
5744
- function Ga() {
5744
+ function Qa() {
5745
5745
  const e = [], n = { run: t, use: r };
5746
5746
  return n;
5747
5747
  function t(...i) {
@@ -5759,7 +5759,7 @@ function Ga() {
5759
5759
  }
5760
5760
  for (; ++f < i.length; )
5761
5761
  (u[f] === null || u[f] === void 0) && (u[f] = i[f]);
5762
- i = u, c ? Ka(c, a)(...u) : o(null, ...u);
5762
+ i = u, c ? Ja(c, a)(...u) : o(null, ...u);
5763
5763
  }
5764
5764
  }
5765
5765
  function r(i) {
@@ -5770,7 +5770,7 @@ function Ga() {
5770
5770
  return e.push(i), n;
5771
5771
  }
5772
5772
  }
5773
- function Ka(e, n) {
5773
+ function Ja(e, n) {
5774
5774
  let t;
5775
5775
  return r;
5776
5776
  function r(...o) {
@@ -5797,8 +5797,8 @@ function Ka(e, n) {
5797
5797
  i(null, o);
5798
5798
  }
5799
5799
  }
5800
- const ae = { basename: Qa, dirname: Ja, extname: Za, join: eu, sep: "/" };
5801
- function Qa(e, n) {
5800
+ const ae = { basename: Za, dirname: eu, extname: nu, join: tu, sep: "/" };
5801
+ function Za(e, n) {
5802
5802
  if (n !== void 0 && typeof n != "string")
5803
5803
  throw new TypeError('"ext" argument must be a string');
5804
5804
  Ye(e);
@@ -5826,7 +5826,7 @@ function Qa(e, n) {
5826
5826
  o < 0 && (l = !0, o = i + 1), a > -1 && (e.codePointAt(i) === n.codePointAt(a--) ? a < 0 && (r = i) : (a = -1, r = o));
5827
5827
  return t === r ? r = o : r < 0 && (r = e.length), e.slice(t, r);
5828
5828
  }
5829
- function Ja(e) {
5829
+ function eu(e) {
5830
5830
  if (Ye(e), e.length === 0)
5831
5831
  return ".";
5832
5832
  let n = -1, t = e.length, r;
@@ -5839,7 +5839,7 @@ function Ja(e) {
5839
5839
  } else r || (r = !0);
5840
5840
  return n < 0 ? e.codePointAt(0) === 47 ? "/" : "." : n === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, n);
5841
5841
  }
5842
- function Za(e) {
5842
+ function nu(e) {
5843
5843
  Ye(e);
5844
5844
  let n = e.length, t = -1, r = 0, i = -1, l = 0, o;
5845
5845
  for (; n--; ) {
@@ -5857,19 +5857,19 @@ function Za(e) {
5857
5857
  l === 0 || // The (right-most) trimmed path component is exactly `..`.
5858
5858
  l === 1 && i === t - 1 && i === r + 1 ? "" : e.slice(i, t);
5859
5859
  }
5860
- function eu(...e) {
5860
+ function tu(...e) {
5861
5861
  let n = -1, t;
5862
5862
  for (; ++n < e.length; )
5863
5863
  Ye(e[n]), e[n] && (t = t === void 0 ? e[n] : t + "/" + e[n]);
5864
- return t === void 0 ? "." : nu(t);
5864
+ return t === void 0 ? "." : ru(t);
5865
5865
  }
5866
- function nu(e) {
5866
+ function ru(e) {
5867
5867
  Ye(e);
5868
5868
  const n = e.codePointAt(0) === 47;
5869
- let t = tu(e, !n);
5869
+ let t = iu(e, !n);
5870
5870
  return t.length === 0 && !n && (t = "."), t.length > 0 && e.codePointAt(e.length - 1) === 47 && (t += "/"), n ? "/" + t : t;
5871
5871
  }
5872
- function tu(e, n) {
5872
+ function iu(e, n) {
5873
5873
  let t = "", r = 0, i = -1, l = 0, o = -1, a, s;
5874
5874
  for (; ++o <= e.length; ) {
5875
5875
  if (o < e.length)
@@ -5906,15 +5906,15 @@ function Ye(e) {
5906
5906
  "Path must be a string. Received " + JSON.stringify(e)
5907
5907
  );
5908
5908
  }
5909
- const ru = { cwd: iu };
5910
- function iu() {
5909
+ const lu = { cwd: ou };
5910
+ function ou() {
5911
5911
  return "/";
5912
5912
  }
5913
5913
  function Ln(e) {
5914
5914
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
5915
5915
  e.auth === void 0);
5916
5916
  }
5917
- function lu(e) {
5917
+ function au(e) {
5918
5918
  if (typeof e == "string")
5919
5919
  e = new URL(e);
5920
5920
  else if (!Ln(e)) {
@@ -5927,9 +5927,9 @@ function lu(e) {
5927
5927
  const n = new TypeError("The URL must be of scheme file");
5928
5928
  throw n.code = "ERR_INVALID_URL_SCHEME", n;
5929
5929
  }
5930
- return ou(e);
5930
+ return uu(e);
5931
5931
  }
5932
- function ou(e) {
5932
+ function uu(e) {
5933
5933
  if (e.hostname !== "") {
5934
5934
  const r = new TypeError(
5935
5935
  'File URL host must be "localhost" or empty on darwin'
@@ -5961,7 +5961,7 @@ const hn = (
5961
5961
  "dirname"
5962
5962
  ]
5963
5963
  );
5964
- class au {
5964
+ class su {
5965
5965
  /**
5966
5966
  * Create a new virtual file.
5967
5967
  *
@@ -5986,7 +5986,7 @@ class au {
5986
5986
  */
5987
5987
  constructor(n) {
5988
5988
  let t;
5989
- n ? Ln(n) ? t = { path: n } : typeof n == "string" || uu(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : ru.cwd(), this.data = {}, this.history = [], this.messages = [];
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 = [];
5990
5990
  let r = -1;
5991
5991
  for (; ++r < hn.length; ) {
5992
5992
  const l = hn[r];
@@ -6040,7 +6040,7 @@ class au {
6040
6040
  * Nothing.
6041
6041
  */
6042
6042
  set dirname(n) {
6043
- Mt(this.basename, "dirname"), this.path = ae.join(n || "", this.basename);
6043
+ Rt(this.basename, "dirname"), this.path = ae.join(n || "", this.basename);
6044
6044
  }
6045
6045
  /**
6046
6046
  * Get the extname (including dot) (example: `'.js'`).
@@ -6064,7 +6064,7 @@ class au {
6064
6064
  * Nothing.
6065
6065
  */
6066
6066
  set extname(n) {
6067
- if (mn(n, "extname"), Mt(this.dirname, "extname"), n) {
6067
+ if (mn(n, "extname"), Rt(this.dirname, "extname"), n) {
6068
6068
  if (n.codePointAt(0) !== 46)
6069
6069
  throw new Error("`extname` must start with `.`");
6070
6070
  if (n.includes(".", 1))
@@ -6094,7 +6094,7 @@ class au {
6094
6094
  * Nothing.
6095
6095
  */
6096
6096
  set path(n) {
6097
- Ln(n) && (n = lu(n)), dn(n, "path"), this.path !== n && this.history.push(n);
6097
+ Ln(n) && (n = au(n)), dn(n, "path"), this.path !== n && this.history.push(n);
6098
6098
  }
6099
6099
  /**
6100
6100
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -6341,14 +6341,14 @@ function dn(e, n) {
6341
6341
  if (!e)
6342
6342
  throw new Error("`" + n + "` cannot be empty");
6343
6343
  }
6344
- function Mt(e, n) {
6344
+ function Rt(e, n) {
6345
6345
  if (!e)
6346
6346
  throw new Error("Setting `" + n + "` requires `path` to be set too");
6347
6347
  }
6348
- function uu(e) {
6348
+ function cu(e) {
6349
6349
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6350
6350
  }
6351
- const su = (
6351
+ const fu = (
6352
6352
  /**
6353
6353
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
6354
6354
  */
@@ -6369,13 +6369,13 @@ const su = (
6369
6369
  };
6370
6370
  return Object.setPrototypeOf(l, r), l;
6371
6371
  })
6372
- ), cu = {}.hasOwnProperty;
6373
- class Vn extends su {
6372
+ ), pu = {}.hasOwnProperty;
6373
+ class qn extends fu {
6374
6374
  /**
6375
6375
  * Create a processor.
6376
6376
  */
6377
6377
  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 = Ga();
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();
6379
6379
  }
6380
6380
  /**
6381
6381
  * Copy a processor.
@@ -6391,7 +6391,7 @@ class Vn extends su {
6391
6391
  copy() {
6392
6392
  const n = (
6393
6393
  /** @type {Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>} */
6394
- new Vn()
6394
+ new qn()
6395
6395
  );
6396
6396
  let t = -1;
6397
6397
  for (; ++t < this.attachers.length; ) {
@@ -6460,7 +6460,7 @@ class Vn extends su {
6460
6460
  * the entire dataset when getting without key.
6461
6461
  */
6462
6462
  data(n, t) {
6463
- return typeof n == "string" ? arguments.length === 2 ? (kn("data", this.frozen), this.namespace[n] = t, this) : cu.call(this.namespace, n) && this.namespace[n] || void 0 : n ? (kn("data", this.frozen), this.namespace = n, this) : this.namespace;
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;
6464
6464
  }
6465
6465
  /**
6466
6466
  * Freeze a processor.
@@ -6575,7 +6575,7 @@ class Vn extends su {
6575
6575
  /** @type {unknown} */
6576
6576
  f
6577
6577
  ), b = r.stringify(p, d);
6578
- hu(b) ? d.value = b : d.result = b, u(
6578
+ du(b) ? d.value = b : d.result = b, u(
6579
6579
  c,
6580
6580
  /** @type {VFileWithOutput<CompileResult>} */
6581
6581
  d
@@ -6619,9 +6619,9 @@ class Vn extends su {
6619
6619
  */
6620
6620
  processSync(n) {
6621
6621
  let t = !1, r;
6622
- return this.freeze(), gn("processSync", this.parser || this.Parser), yn("processSync", this.compiler || this.Compiler), this.process(n, i), Rt("processSync", "process", t), r;
6622
+ return this.freeze(), gn("processSync", this.parser || this.Parser), yn("processSync", this.compiler || this.Compiler), this.process(n, i), Dt("processSync", "process", t), r;
6623
6623
  function i(l, o) {
6624
- t = !0, zt(l), r = o;
6624
+ t = !0, Mt(l), r = o;
6625
6625
  }
6626
6626
  }
6627
6627
  /**
@@ -6663,7 +6663,7 @@ class Vn extends su {
6663
6663
  * transformed tree.
6664
6664
  */
6665
6665
  run(n, t, r) {
6666
- Nt(n), this.freeze();
6666
+ vt(n), this.freeze();
6667
6667
  const i = this.transformers;
6668
6668
  return !r && typeof t == "function" && (r = t, t = void 0), r ? l(void 0, r) : new Promise(l);
6669
6669
  function l(o, a) {
@@ -6697,9 +6697,9 @@ class Vn extends su {
6697
6697
  */
6698
6698
  runSync(n, t) {
6699
6699
  let r = !1, i;
6700
- return this.run(n, t, l), Rt("runSync", "run", r), i;
6700
+ return this.run(n, t, l), Dt("runSync", "run", r), i;
6701
6701
  function l(o, a) {
6702
- zt(o), i = a, r = !0;
6702
+ Mt(o), i = a, r = !0;
6703
6703
  }
6704
6704
  }
6705
6705
  /**
@@ -6734,7 +6734,7 @@ class Vn extends su {
6734
6734
  stringify(n, t) {
6735
6735
  this.freeze();
6736
6736
  const r = Je(t), i = this.compiler || this.Compiler;
6737
- return yn("stringify", i), Nt(n), i(n, r);
6737
+ return yn("stringify", i), vt(n), i(n, r);
6738
6738
  }
6739
6739
  /**
6740
6740
  * Configure the processor to use a plugin, a list of usable values, or a
@@ -6851,7 +6851,7 @@ class Vn extends su {
6851
6851
  }
6852
6852
  }
6853
6853
  }
6854
- const fu = new Vn().freeze();
6854
+ const hu = new qn().freeze();
6855
6855
  function gn(e, n) {
6856
6856
  if (typeof n != "function")
6857
6857
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -6866,38 +6866,38 @@ function kn(e, n) {
6866
6866
  "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
6867
6867
  );
6868
6868
  }
6869
- function Nt(e) {
6869
+ function vt(e) {
6870
6870
  if (!Tn(e) || typeof e.type != "string")
6871
6871
  throw new TypeError("Expected node, got `" + e + "`");
6872
6872
  }
6873
- function Rt(e, n, t) {
6873
+ function Dt(e, n, t) {
6874
6874
  if (!t)
6875
6875
  throw new Error(
6876
6876
  "`" + e + "` finished async. Use `" + n + "` instead"
6877
6877
  );
6878
6878
  }
6879
6879
  function Je(e) {
6880
- return pu(e) ? e : new au(e);
6880
+ return mu(e) ? e : new su(e);
6881
6881
  }
6882
- function pu(e) {
6882
+ function mu(e) {
6883
6883
  return !!(e && typeof e == "object" && "message" in e && "messages" in e);
6884
6884
  }
6885
- function hu(e) {
6886
- return typeof e == "string" || mu(e);
6885
+ function du(e) {
6886
+ return typeof e == "string" || gu(e);
6887
6887
  }
6888
- function mu(e) {
6888
+ function gu(e) {
6889
6889
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6890
6890
  }
6891
- const du = ({
6891
+ const yu = ({
6892
6892
  href: e,
6893
6893
  target: n,
6894
6894
  rel: t,
6895
6895
  children: r,
6896
6896
  ...i
6897
6897
  }) => {
6898
- const l = Ft(
6898
+ const l = Ut(
6899
6899
  async (o) => {
6900
- if (Fr() && e && gu(e)) {
6900
+ if (Ur() && e && ku(e)) {
6901
6901
  o.preventDefault(), o.stopPropagation();
6902
6902
  try {
6903
6903
  const { openUrl: a } = await import(
@@ -6914,27 +6914,32 @@ const du = ({
6914
6914
  );
6915
6915
  return /* @__PURE__ */ Te("a", { href: e, target: n, rel: t, onClick: l, ...i, children: r });
6916
6916
  };
6917
- function gu(e) {
6917
+ function ku(e) {
6918
6918
  try {
6919
6919
  return new URL(e, window.location.href).origin !== window.location.origin;
6920
6920
  } catch {
6921
6921
  return !0;
6922
6922
  }
6923
6923
  }
6924
- const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu = /(\*\*\*)([^*]*?)$/, wu = /(\*)([^*]*?)$/, Su = /(_)([^_]*?)$/, Cu = /(`)([^`]*?)$/, Iu = /(~~)([^~]*?)$/, Eu = /\n[\t ]*(?:[-*+]|\d+\.)[\t ]+$/, Pu = /(\n[\t ]*)([-*+]|\d+\.)([\t ]*)\n([\t ]*[^\s])/g, Au = (e) => {
6924
+ const zn = (e) => {
6925
+ if (!e)
6926
+ return !1;
6927
+ const t = e.props?.children;
6928
+ 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 = /(`)([^`]*?)$/, Pu = /(~~)([^~]*?)$/, Au = /\n[\t ]*(?:[-*+]|\d+\.)[\t ]+$/, Tu = /(\n[\t ]*)([-*+]|\d+\.)([\t ]*)\n([\t ]*[^\s])/g, Lu = (e) => {
6925
6930
  let n = e;
6926
6931
  n = n.replace(
6927
- Pu,
6932
+ Tu,
6928
6933
  (r, i, l, o, a) => `${i}${l} ${a}`
6929
6934
  );
6930
- const t = n.match(Eu);
6935
+ const t = n.match(Au);
6931
6936
  return t ? n.substring(0, n.length - t[0].length) : n;
6932
- }, qn = (e) => {
6937
+ }, Wn = (e) => {
6933
6938
  const n = (e.match(/```/g) || []).length;
6934
6939
  return n > 0 && n % 2 === 0 && e.includes(`
6935
6940
  `);
6936
- }, Tu = (e) => {
6937
- const n = e.match(yu);
6941
+ }, zu = (e) => {
6942
+ const n = e.match(xu);
6938
6943
  if (n) {
6939
6944
  if (n[1].startsWith("!")) {
6940
6945
  const r = e.lastIndexOf(n[0]);
@@ -6943,8 +6948,8 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
6943
6948
  return `${e}](placeholder:incomplete-link)`;
6944
6949
  }
6945
6950
  return e;
6946
- }, Lu = (e) => {
6947
- const n = e.match(ku);
6951
+ }, _u = (e) => {
6952
+ const n = e.match(bu);
6948
6953
  if (n) {
6949
6954
  const t = n[2];
6950
6955
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -6958,8 +6963,8 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
6958
6963
  return `${e}**`;
6959
6964
  }
6960
6965
  return e;
6961
- }, zu = (e) => {
6962
- const n = e.match(xu);
6966
+ }, Mu = (e) => {
6967
+ const n = e.match(wu);
6963
6968
  if (n) {
6964
6969
  const t = n[2];
6965
6970
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -6973,7 +6978,7 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
6973
6978
  return `${e}__`;
6974
6979
  }
6975
6980
  return e;
6976
- }, _u = (e) => {
6981
+ }, Nu = (e) => {
6977
6982
  let n = 0, t = !1, r = 0;
6978
6983
  for (let i = 0; i < e.length; i++) {
6979
6984
  const l = e[i];
@@ -7000,14 +7005,14 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
7000
7005
  }
7001
7006
  }
7002
7007
  return n;
7003
- }, Mu = (e) => {
7004
- if (qn(e))
7008
+ }, Ru = (e) => {
7009
+ if (Wn(e))
7005
7010
  return e;
7006
- if (e.match(wu)) {
7011
+ if (e.match(Cu)) {
7007
7012
  let t = -1;
7008
7013
  for (let l = 0; l < e.length; l++)
7009
7014
  if (e[l] === "*" && e[l - 1] !== "*" && e[l + 1] !== "*") {
7010
- if (wr(e, l))
7015
+ if (Cr(e, l))
7011
7016
  continue;
7012
7017
  t = l;
7013
7018
  break;
@@ -7019,11 +7024,11 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
7019
7024
  );
7020
7025
  if (!r || /^[\s_~*`]*$/.test(r))
7021
7026
  return e;
7022
- if (_u(e) % 2 === 1)
7027
+ if (Nu(e) % 2 === 1)
7023
7028
  return `${e}*`;
7024
7029
  }
7025
7030
  return e;
7026
- }, Nu = (e, n) => {
7031
+ }, vu = (e, n) => {
7027
7032
  let t = !1, r = !1;
7028
7033
  for (let i = 0; i < e.length && i < n; i++) {
7029
7034
  if (e[i] === "\\" && e[i + 1] === "$") {
@@ -7036,7 +7041,7 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
7036
7041
  }, ln = (e, n) => {
7037
7042
  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) === "```";
7038
7043
  return t || r || i;
7039
- }, wr = (e, n) => {
7044
+ }, Cr = (e, n) => {
7040
7045
  let t = !1;
7041
7046
  for (let r = 0; r < e.length && r < n; r++)
7042
7047
  if (e[r] === "`") {
@@ -7045,7 +7050,7 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
7045
7050
  t = !t;
7046
7051
  }
7047
7052
  return t;
7048
- }, Ru = (e) => {
7053
+ }, Du = (e) => {
7049
7054
  let n = 0, t = !1, r = !1, i = !1;
7050
7055
  for (let l = 0; l < e.length; l++) {
7051
7056
  const o = e[l], a = l > 0 ? e[l - 1] : "", s = l < e.length - 1 ? e[l + 1] : "";
@@ -7068,13 +7073,13 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
7068
7073
  }
7069
7074
  }
7070
7075
  return n;
7071
- }, vu = (e) => {
7072
- if (qn(e))
7076
+ }, Ou = (e) => {
7077
+ if (Wn(e))
7073
7078
  return e;
7074
- if (e.match(Su)) {
7079
+ if (e.match(Iu)) {
7075
7080
  let t = -1;
7076
7081
  for (let l = 0; l < e.length; l++)
7077
- if (e[l] === "_" && e[l - 1] !== "_" && e[l + 1] !== "_" && e[l - 1] !== "\\" && !Nu(e, l) && !wr(e, l)) {
7082
+ if (e[l] === "_" && e[l - 1] !== "_" && e[l + 1] !== "_" && e[l - 1] !== "\\" && !vu(e, l) && !Cr(e, l)) {
7078
7083
  const o = l > 0 ? e[l - 1] : "", a = l < e.length - 1 ? e[l + 1] : "";
7079
7084
  if (o && a && /[\p{L}\p{N}_]/u.test(o) && /[\p{L}\p{N}_]/u.test(a))
7080
7085
  continue;
@@ -7088,16 +7093,16 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
7088
7093
  );
7089
7094
  if (!r || /^[\s_~*`]*$/.test(r))
7090
7095
  return e;
7091
- if (Ru(e) % 2 === 1)
7096
+ if (Du(e) % 2 === 1)
7092
7097
  return `${e}_`;
7093
7098
  }
7094
7099
  return e;
7095
- }, Du = (e) => {
7100
+ }, Fu = (e) => {
7096
7101
  let n = 0;
7097
7102
  for (let t = 0; t < e.length; t++)
7098
7103
  e[t] === "`" && !ln(e, t) && n++;
7099
7104
  return n;
7100
- }, Ou = (e) => {
7105
+ }, Bu = (e) => {
7101
7106
  if (e.match(/^```[^`\n]*```?$/) && !e.includes(`
7102
7107
  `))
7103
7108
  return e.endsWith("``") && !e.endsWith("```") ? `${e}\`` : e;
@@ -7105,17 +7110,17 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
7105
7110
  if (t > 0 && t % 2 === 0 && e.includes(`
7106
7111
  `) || (e.endsWith("```\n") || e.endsWith("```")) && t % 2 === 0)
7107
7112
  return e;
7108
- const i = e.match(Cu);
7113
+ const i = e.match(Eu);
7109
7114
  if (i && !r) {
7110
7115
  const l = i[2];
7111
7116
  if (!l || /^[\s_~*`]*$/.test(l))
7112
7117
  return e;
7113
- if (Du(e) % 2 === 1)
7118
+ if (Fu(e) % 2 === 1)
7114
7119
  return `${e}\``;
7115
7120
  }
7116
7121
  return e;
7117
- }, Fu = (e) => {
7118
- const n = e.match(Iu);
7122
+ }, Uu = (e) => {
7123
+ const n = e.match(Pu);
7119
7124
  if (n) {
7120
7125
  const t = n[2];
7121
7126
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -7124,7 +7129,7 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
7124
7129
  return `${e}~~`;
7125
7130
  }
7126
7131
  return e;
7127
- }, Bu = (e) => {
7132
+ }, ju = (e) => {
7128
7133
  if ((e.match(/\$\$/g) || []).length % 2 === 0)
7129
7134
  return e;
7130
7135
  const t = e.indexOf("$$");
@@ -7132,7 +7137,7 @@ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu
7132
7137
  `, t) !== -1 && !e.endsWith(`
7133
7138
  `) ? `${e}
7134
7139
  $$` : `${e}$$`;
7135
- }, Uu = (e) => {
7140
+ }, $u = (e) => {
7136
7141
  let n = 0;
7137
7142
  const t = e.match(/\*+/g) || [];
7138
7143
  for (const r of t) {
@@ -7140,27 +7145,27 @@ $$` : `${e}$$`;
7140
7145
  i >= 3 && (n += Math.floor(i / 3));
7141
7146
  }
7142
7147
  return n;
7143
- }, ju = (e) => {
7144
- if (qn(e) || /^\*{4,}$/.test(e))
7148
+ }, Hu = (e) => {
7149
+ if (Wn(e) || /^\*{4,}$/.test(e))
7145
7150
  return e;
7146
- const n = e.match(bu);
7151
+ const n = e.match(Su);
7147
7152
  if (n) {
7148
7153
  const t = n[2];
7149
7154
  if (!t || /^[\s_~*`]*$/.test(t))
7150
7155
  return e;
7151
- if (Uu(e) % 2 === 1)
7156
+ if ($u(e) % 2 === 1)
7152
7157
  return `${e}***`;
7153
7158
  }
7154
7159
  return e;
7155
- }, $u = (e) => {
7160
+ }, Vu = (e) => {
7156
7161
  if (!e || typeof e != "string")
7157
7162
  return e;
7158
7163
  let n = e;
7159
- n = Au(n);
7160
- const t = Tu(n);
7161
- return t.endsWith("](placeholder:incomplete-link)") ? t : (n = t, n = Ou(n), n = ju(n), n = Lu(n), n = zu(n), n = Mu(n), n = vu(n), n = Fu(n), n = Bu(n), n);
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);
7162
7167
  };
7163
- class Hu {
7168
+ class qu {
7164
7169
  remarkGfm = null;
7165
7170
  rehypeKatex = null;
7166
7171
  remarkMath = null;
@@ -7172,7 +7177,7 @@ class Hu {
7172
7177
  if (!this.rehypeMermaid) {
7173
7178
  const { default: n } = await import(
7174
7179
  /* webpackChunkName: "md-rehype-mermaid" */
7175
- "./rehype-mermaid.BZ1zaur1.js"
7180
+ "./rehype-mermaid.9DNnJpsp.js"
7176
7181
  ).then((t) => t.rehypeMermaid);
7177
7182
  this.rehypeMermaid = n;
7178
7183
  }
@@ -7182,7 +7187,7 @@ class Hu {
7182
7187
  if (!this.remarkGfm) {
7183
7188
  const { default: n } = await import(
7184
7189
  /* webpackChunkName: "md-remark" */
7185
- "./index.Cqc0UUEV.js"
7190
+ "./index.Bo0ZyMS6.js"
7186
7191
  );
7187
7192
  this.remarkGfm = n;
7188
7193
  }
@@ -7190,10 +7195,10 @@ class Hu {
7190
7195
  }
7191
7196
  async loadKatex() {
7192
7197
  if (!this.rehypeKatex) {
7193
- Gu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
7198
+ Qu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
7194
7199
  const { default: n } = await import(
7195
7200
  /* webpackChunkName: "md-rehype-katex" */
7196
- "./index.oY04wf0d.js"
7201
+ "./index.DZn5_zSr.js"
7197
7202
  );
7198
7203
  this.rehypeKatex = n;
7199
7204
  }
@@ -7203,7 +7208,7 @@ class Hu {
7203
7208
  if (!this.remarkMath) {
7204
7209
  const { default: n } = await import(
7205
7210
  /* webpackChunkName: "md-remark" */
7206
- "./index.0CebFe3S.js"
7211
+ "./index.DpqePp5S.js"
7207
7212
  );
7208
7213
  this.remarkMath = n;
7209
7214
  }
@@ -7213,61 +7218,61 @@ class Hu {
7213
7218
  if (!this.rehypeHighlight) {
7214
7219
  const { default: n } = await import(
7215
7220
  /* webpackChunkName: "md-rehype-highlight" */
7216
- "./index.Bn0jEzpb.js"
7221
+ "./index.D3lm4Af9.js"
7217
7222
  );
7218
7223
  this.rehypeHighlight = n;
7219
7224
  }
7220
7225
  return this.rehypeHighlight;
7221
7226
  }
7222
7227
  }
7223
- const je = new Hu(), Vu = ({
7228
+ const je = new qu(), Wu = ({
7224
7229
  children: e,
7225
7230
  raw: n,
7226
7231
  ...t
7227
- }) => /* @__PURE__ */ vt("pre", { className: "relative pt-7 sm:pt-2 ps-0 sm:ps-3", ...t, children: [
7232
+ }) => /* @__PURE__ */ Ot("pre", { className: "relative pt-7 sm:pt-2 ps-0 sm:ps-3", ...t, children: [
7228
7233
  e,
7229
7234
  /* @__PURE__ */ Te(
7230
- Ut,
7235
+ $t,
7231
7236
  {
7232
7237
  mode: "dark",
7233
7238
  noBorder: !0,
7234
7239
  focusMode: "light",
7235
- copyToClipboard: () => Dr(n) || "",
7240
+ copyToClipboard: () => Fr(n) || "",
7236
7241
  labelRight: "Copy",
7237
7242
  radius: "small",
7238
7243
  className: "mb-2 px-1 absolute top-2 right-2 font-sans font-normal text-xs"
7239
7244
  }
7240
7245
  )
7241
- ] }), qu = (e) => /```(?!mermaid)/.test(e), Wu = (e) => e.includes("```mermaid"), Xu = (e) => e.includes("$$"), Yu = (e) => (
7246
+ ] }), Xu = (e) => /```(?!mermaid)/.test(e), Yu = (e) => e.includes("```mermaid"), Gu = (e) => e.includes("$$"), Ku = (e) => (
7242
7247
  // urls.
7243
7248
  e.includes("http://") || e.includes("https://") || // table.
7244
7249
  e.includes("|") || // strikethrough.
7245
7250
  e.includes("~") || e.includes("~~") || // task lists.
7246
7251
  e.includes("- [ ]") || e.includes("- [x]")
7247
- ), Gu = (e) => {
7252
+ ), Qu = (e) => {
7248
7253
  const n = document.createElement("link");
7249
7254
  n.href = e, n.type = "text/css", n.rel = "stylesheet", n.id = "dynamic-katex-css", document.head.appendChild(n);
7250
- }, Ku = () => (e) => {
7255
+ }, Ju = () => (e) => {
7251
7256
  be(e, (n) => {
7252
7257
  if (n?.type === "element" && n?.tagName === "pre") {
7253
7258
  const [t] = n.children;
7254
7259
  if (t.tagName !== "code")
7255
7260
  return;
7256
- n.raw = Or(t.children?.[0].value);
7261
+ n.raw = Br(t.children?.[0].value);
7257
7262
  }
7258
7263
  });
7259
- }, Qu = () => (e) => {
7264
+ }, Zu = () => (e) => {
7260
7265
  be(e, "element", (n) => {
7261
7266
  n?.type === "element" && n?.tagName === "pre" && (n.properties.raw = n.raw);
7262
7267
  });
7263
- }, is = ({
7268
+ }, os = ({
7264
7269
  onError: e = () => {
7265
7270
  },
7266
7271
  parseIncomplete: n = !0
7267
7272
  } = {}) => {
7268
7273
  const t = Ee(e), r = Ee(null), i = Ee(null), l = Ee(null), o = Ee(null), a = Ee({
7269
7274
  rehypePlugins: [
7270
- Ku,
7275
+ Ju,
7271
7276
  /**
7272
7277
  * Security: Harden against XSS by restricting allowed elements, attributes,
7273
7278
  * and URL protocols. Uses safe defaults for AI-generated content.
@@ -7281,7 +7286,7 @@ const je = new Hu(), Vu = ({
7281
7286
  * conversions or AI-generated content with inline images).
7282
7287
  */
7283
7288
  [
7284
- si,
7289
+ fi,
7285
7290
  {
7286
7291
  defaultOrigin: typeof window < "u" ? window.location.origin : "https://localhost",
7287
7292
  allowedLinkPrefixes: ["*"],
@@ -7290,7 +7295,7 @@ const je = new Hu(), Vu = ({
7290
7295
  }
7291
7296
  ],
7292
7297
  [
7293
- ui,
7298
+ ci,
7294
7299
  {
7295
7300
  target: "_blank",
7296
7301
  rel: ["noopener", "noreferrer"]
@@ -7298,47 +7303,54 @@ const je = new Hu(), Vu = ({
7298
7303
  ]
7299
7304
  ],
7300
7305
  remarkPlugins: []
7301
- }), [s, u] = Dt(null);
7302
- Ot(() => {
7306
+ }), [s, u] = Ft(null);
7307
+ Bt(() => {
7303
7308
  t.current = e;
7304
7309
  }, [e]);
7305
- const c = Ft(
7310
+ const c = Ut(
7306
7311
  (f) => {
7307
7312
  (async () => {
7308
- const d = n ? $u(f) : f;
7309
- if (!r.current && qu(d)) {
7313
+ const d = n ? Vu(f) : f;
7314
+ if (!r.current && Xu(d)) {
7310
7315
  r.current = !0;
7311
7316
  const b = await je.loadHighlight();
7312
7317
  a.current.rehypePlugins.push(b);
7313
7318
  }
7314
- if (!i.current && Yu(d)) {
7319
+ if (!i.current && Ku(d)) {
7315
7320
  i.current = !0;
7316
7321
  const b = await je.loadGfm();
7317
7322
  a.current.remarkPlugins.push(b);
7318
7323
  }
7319
- if (!l.current && Xu(d)) {
7324
+ if (!l.current && Gu(d)) {
7320
7325
  l.current = !0;
7321
7326
  const b = await je.loadKatex(), w = await je.loadMath();
7322
7327
  a.current.remarkPlugins.push(w), a.current.rehypePlugins.push(b);
7323
7328
  }
7324
- if (!o.current && Wu(d)) {
7329
+ if (!o.current && Yu(d)) {
7325
7330
  o.current = !0;
7326
7331
  const b = await je.loadMermaid();
7327
7332
  a.current.rehypePlugins.push(b);
7328
7333
  }
7329
7334
  const p = [
7330
7335
  ...a.current.rehypePlugins,
7331
- Qu
7336
+ Zu
7332
7337
  ];
7333
- fu().use(ca).use(a.current.remarkPlugins).use(Wa).use(p).use(rl, {
7334
- Fragment: _r,
7338
+ hu().use(pa).use(a.current.remarkPlugins).use(Ya).use(p).use(ll, {
7339
+ Fragment: Jn,
7335
7340
  jsx: Te,
7336
- jsxs: vt,
7341
+ jsxs: Ot,
7337
7342
  components: {
7338
- pre: Vu,
7339
- a: du
7343
+ pre: Wu,
7344
+ a: yu
7345
+ }
7346
+ }).process(d).then((b) => {
7347
+ const w = b.result;
7348
+ if (d && d.trim().length > 0 && !zn(w)) {
7349
+ u(Or(Jn, null, d));
7350
+ return;
7340
7351
  }
7341
- }).process(d).then((b) => u(b.result)).catch(t.current);
7352
+ u(w);
7353
+ }).catch(t.current);
7342
7354
  })();
7343
7355
  },
7344
7356
  [n]
@@ -7346,33 +7358,33 @@ const je = new Hu(), Vu = ({
7346
7358
  return [s, c];
7347
7359
  };
7348
7360
  export {
7349
- et as EXIT,
7361
+ tt as EXIT,
7350
7362
  xn as SKIP,
7351
7363
  ue as asciiAlpha,
7352
7364
  ne as asciiAlphanumeric,
7353
7365
  In as asciiControl,
7354
7366
  rn as blankLine,
7355
- yt as classifyCharacter,
7356
- al as combineExtensions,
7357
- qt as convert,
7358
- Vt as convertElement,
7367
+ xt as classifyCharacter,
7368
+ sl as combineExtensions,
7369
+ Xt as convert,
7370
+ Wt as convertElement,
7359
7371
  H as factorySpace,
7360
- Pi as find,
7361
- Li as html,
7372
+ Ti as find,
7373
+ _i as html,
7362
7374
  z as markdownLineEnding,
7363
7375
  Q as markdownLineEndingOrSpace,
7364
7376
  D as markdownSpace,
7365
7377
  bn as normalize,
7366
7378
  ze as normalizeIdentifier,
7367
- Kr as parse,
7368
- rs as parse$1,
7369
- $n as resolveAll,
7379
+ Jr as parse,
7380
+ ls as parse$1,
7381
+ Hn as resolveAll,
7370
7382
  se as splice,
7371
- Dn as svg,
7372
- ll as toString,
7373
- hl as unicodePunctuation,
7374
- ml as unicodeWhitespace,
7375
- is as useMarkdown,
7383
+ On as svg,
7384
+ al as toString,
7385
+ dl as unicodePunctuation,
7386
+ gl as unicodeWhitespace,
7387
+ os as useMarkdown,
7376
7388
  be as visit,
7377
- ri as visitParents
7389
+ li as visitParents
7378
7390
  };