@versini/sassysaint 8.96.5 → 8.96.7

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 (27) hide show
  1. package/dist/chunks/{AboutChangelog.B08u8uMm.js → AboutChangelog.DL8jdIek.js} +4 -4
  2. package/dist/chunks/{AboutEntry.DxBGv6sL.js → AboutEntry.BFLLnGme.js} +13 -13
  3. package/dist/chunks/{App.mrdHvm2x.js → App.CJKFrA6-.js} +20 -20
  4. package/dist/chunks/{Chart.BjdN8UnW.js → Chart.CSWhd9RG.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.B27RLWrs.js → ChatBubbleAssistant.C6I-5Orm.js} +4 -4
  6. package/dist/chunks/{ChatBubbleUser.w66milpV.js → ChatBubbleUser.C-S51g0A.js} +6 -6
  7. package/dist/chunks/{ChatHistoryTable.B33bBiZd.js → ChatHistoryTable.B2EEHcfs.js} +3 -3
  8. package/dist/chunks/{HistoryEntry.CwIa6MrD.js → HistoryEntry.BzjaM1UY.js} +3 -3
  9. package/dist/chunks/{ProfileEntry.B04eJ5-N.js → ProfileEntry.DzrLAMah.js} +17 -17
  10. package/dist/chunks/{SettingsEntry.CHLhOzVL.js → SettingsEntry.A60L_M0z.js} +3 -3
  11. package/dist/chunks/{UsageEntry.CIwHrg9v.js → UsageEntry.BW445uil.js} +3 -3
  12. package/dist/chunks/{UserMemoriesPanel.X9Q1kv81.js → UserMemoriesPanel.DSY53LrE.js} +4 -4
  13. package/dist/chunks/{index.CYx8RYy0.js → index.BOdTcpg3.js} +2 -2
  14. package/dist/chunks/index.Bt_gWgjb.js +406 -0
  15. package/dist/chunks/{index.CxWha1Y5.js → index.CBv1GCGr.js} +1 -1
  16. package/dist/chunks/{index.CQ4ODk6d.js → index.C_x7bW7N.js} +4 -4
  17. package/dist/chunks/{index.DvKn88dW.js → index.D9-iukox.js} +1 -1
  18. package/dist/chunks/{index.eSd5QbGh.js → index.DPAUE7h1.js} +3 -3
  19. package/dist/chunks/{index.CmleaPdQ.js → index.DWswwPeZ.js} +1955 -2011
  20. package/dist/chunks/{index.Dtg8MsB4.js → index.Dg88qqte.js} +1 -1
  21. package/dist/chunks/{index.Bypx_xpz.js → index.gs7Cha7c.js} +1 -1
  22. package/dist/chunks/{useMarkdown.CsRnl7K0.js → useMarkdown.BhQqmPx6.js} +1010 -969
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/dist/style.css +1 -1
  26. package/package.json +3 -3
  27. package/dist/chunks/index.BTEtTBkb.js +0 -371
@@ -1,23 +1,64 @@
1
- import { jsx as Le, jsxs as Rt, Fragment as Tr } from "react/jsx-runtime";
2
- import { isTauri as Lr, ButtonCopy as zr, unObfuscate as _r, obfuscate as Mr } from "./index.CmleaPdQ.js";
3
- import { useCallback as Dt, useRef as Rn, useState as Nr, useEffect as vr } from "react";
4
- import { getDefaultExportFromCjs as Ot } from "./App.mrdHvm2x.js";
5
- const Ft = -1, ee = 0, $n = 1, ne = 2, ze = 3, _e = 4, Me = 5, Ne = 6, Bt = 7, Ut = 8, Qe = typeof self == "object" ? self : globalThis, Rr = (n, e) => {
1
+ import { jsx as Tn, jsxs as Rt, Fragment as Lr } from "react/jsx-runtime";
2
+ import Nr, { useState as Dt, useEffect as Ot, useCallback as Ft, useRef as Dn } from "react";
3
+ import { ButtonIcon as Mr, IconCopied as vr, IconCopy as Rr, isTauri as Dr, unObfuscate as Or, obfuscate as Fr } from "./index.DWswwPeZ.js";
4
+ import { getDefaultExportFromCjs as Bt } from "./App.CJKFrA6-.js";
5
+ /*!
6
+ @versini/ui-button v9.0.0
7
+ © 2025 gizmette.com
8
+ */
9
+ try {
10
+ window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
11
+ version: "9.0.0",
12
+ buildTime: "12/04/2025 04:00 PM EST",
13
+ homepage: "https://github.com/aversini/ui-components",
14
+ license: "MIT"
15
+ });
16
+ } catch {
17
+ }
18
+ const Ut = /* @__PURE__ */ Nr.forwardRef(({ copyToClipboard: n, ...e }, t) => {
19
+ const [r, i] = Dt(!1), l = () => {
20
+ typeof n == "string" && (navigator.clipboard.writeText(n), i(!0)), typeof n == "function" && (navigator.clipboard.writeText(n()), i(!0));
21
+ };
22
+ return Ot(() => {
23
+ let o;
24
+ return r && (o = window.setTimeout(() => {
25
+ i(!1);
26
+ }, 3e3)), () => {
27
+ clearTimeout(o);
28
+ };
29
+ }, [
30
+ r
31
+ ]), /* @__PURE__ */ Tn(Mr, {
32
+ ...e,
33
+ size: "small",
34
+ ref: t,
35
+ label: r ? "Copied to clipboard" : "Copy to clipboard",
36
+ onClick: l,
37
+ disabled: r,
38
+ children: r ? /* @__PURE__ */ Tn(vr, {
39
+ size: "size-3"
40
+ }) : /* @__PURE__ */ Tn(Rr, {
41
+ size: "size-3"
42
+ })
43
+ });
44
+ });
45
+ Ut.displayName = "ButtonCopy";
46
+ const jt = -1, te = 0, Hn = 1, ee = 2, ze = 3, Le = 4, Ne = 5, Me = 6, $t = 7, Ht = 8, Qe = typeof self == "object" ? self : globalThis, Br = (n, e) => {
6
47
  const t = (i, l) => (n.set(l, i), i), r = (i) => {
7
48
  if (n.has(i))
8
49
  return n.get(i);
9
50
  const [l, o] = e[i];
10
51
  switch (l) {
11
- case ee:
12
- case Ft:
52
+ case te:
53
+ case jt:
13
54
  return t(o, i);
14
- case $n: {
55
+ case Hn: {
15
56
  const a = t([], i);
16
57
  for (const s of o)
17
58
  a.push(r(s));
18
59
  return a;
19
60
  }
20
- case ne: {
61
+ case ee: {
21
62
  const a = t({}, i);
22
63
  for (const [s, u] of o)
23
64
  a[r(s)] = r(u);
@@ -25,27 +66,27 @@ const Ft = -1, ee = 0, $n = 1, ne = 2, ze = 3, _e = 4, Me = 5, Ne = 6, Bt = 7, U
25
66
  }
26
67
  case ze:
27
68
  return t(new Date(o), i);
28
- case _e: {
69
+ case Le: {
29
70
  const { source: a, flags: s } = o;
30
71
  return t(new RegExp(a, s), i);
31
72
  }
32
- case Me: {
73
+ case Ne: {
33
74
  const a = t(/* @__PURE__ */ new Map(), i);
34
75
  for (const [s, u] of o)
35
76
  a.set(r(s), r(u));
36
77
  return a;
37
78
  }
38
- case Ne: {
79
+ case Me: {
39
80
  const a = t(/* @__PURE__ */ new Set(), i);
40
81
  for (const s of o)
41
82
  a.add(r(s));
42
83
  return a;
43
84
  }
44
- case Bt: {
85
+ case $t: {
45
86
  const { name: a, message: s } = o;
46
87
  return t(new Qe[a](s), i);
47
88
  }
48
- case Ut:
89
+ case Ht:
49
90
  return t(BigInt(o), i);
50
91
  case "BigInt":
51
92
  return t(Object(BigInt(o)), i);
@@ -59,42 +100,42 @@ const Ft = -1, ee = 0, $n = 1, ne = 2, ze = 3, _e = 4, Me = 5, Ne = 6, Bt = 7, U
59
100
  return t(new Qe[l](o), i);
60
101
  };
61
102
  return r;
62
- }, Je = (n) => Rr(/* @__PURE__ */ new Map(), n)(0), Pn = "", { toString: Dr } = {}, { keys: Or } = Object, Dn = (n) => {
103
+ }, Je = (n) => Br(/* @__PURE__ */ new Map(), n)(0), Pn = "", { toString: Ur } = {}, { keys: jr } = Object, On = (n) => {
63
104
  const e = typeof n;
64
105
  if (e !== "object" || !n)
65
- return [ee, e];
66
- const t = Dr.call(n).slice(8, -1);
106
+ return [te, e];
107
+ const t = Ur.call(n).slice(8, -1);
67
108
  switch (t) {
68
109
  case "Array":
69
- return [$n, Pn];
110
+ return [Hn, Pn];
70
111
  case "Object":
71
- return [ne, Pn];
112
+ return [ee, Pn];
72
113
  case "Date":
73
114
  return [ze, Pn];
74
115
  case "RegExp":
75
- return [_e, Pn];
116
+ return [Le, Pn];
76
117
  case "Map":
77
- return [Me, Pn];
78
- case "Set":
79
118
  return [Ne, Pn];
119
+ case "Set":
120
+ return [Me, Pn];
80
121
  case "DataView":
81
- return [$n, t];
122
+ return [Hn, t];
82
123
  }
83
- return t.includes("Array") ? [$n, t] : t.includes("Error") ? [Bt, t] : [ne, t];
84
- }, Yn = ([n, e]) => n === ee && (e === "function" || e === "symbol"), Fr = (n, e, t, r) => {
124
+ return t.includes("Array") ? [Hn, t] : t.includes("Error") ? [$t, t] : [ee, t];
125
+ }, Kn = ([n, e]) => n === te && (e === "function" || e === "symbol"), $r = (n, e, t, r) => {
85
126
  const i = (o, a) => {
86
127
  const s = r.push(o) - 1;
87
128
  return t.set(a, s), s;
88
129
  }, l = (o) => {
89
130
  if (t.has(o))
90
131
  return t.get(o);
91
- let [a, s] = Dn(o);
132
+ let [a, s] = On(o);
92
133
  switch (a) {
93
- case ee: {
134
+ case te: {
94
135
  let c = o;
95
136
  switch (s) {
96
137
  case "bigint":
97
- a = Ut, c = o.toString();
138
+ a = Ht, c = o.toString();
98
139
  break;
99
140
  case "function":
100
141
  case "symbol":
@@ -103,11 +144,11 @@ const Ft = -1, ee = 0, $n = 1, ne = 2, ze = 3, _e = 4, Me = 5, Ne = 6, Bt = 7, U
103
144
  c = null;
104
145
  break;
105
146
  case "undefined":
106
- return i([Ft], o);
147
+ return i([jt], o);
107
148
  }
108
149
  return i([a, c], o);
109
150
  }
110
- case $n: {
151
+ case Hn: {
111
152
  if (s) {
112
153
  let d = o;
113
154
  return s === "DataView" ? d = new Uint8Array(o.buffer) : s === "ArrayBuffer" && (d = new Uint8Array(o)), i([s, [...d]], o);
@@ -117,7 +158,7 @@ const Ft = -1, ee = 0, $n = 1, ne = 2, ze = 3, _e = 4, Me = 5, Ne = 6, Bt = 7, U
117
158
  c.push(l(d));
118
159
  return f;
119
160
  }
120
- case ne: {
161
+ case ee: {
121
162
  if (s)
122
163
  switch (s) {
123
164
  case "BigInt":
@@ -130,26 +171,26 @@ const Ft = -1, ee = 0, $n = 1, ne = 2, ze = 3, _e = 4, Me = 5, Ne = 6, Bt = 7, U
130
171
  if (e && "toJSON" in o)
131
172
  return l(o.toJSON());
132
173
  const c = [], f = i([a, c], o);
133
- for (const d of Or(o))
134
- (n || !Yn(Dn(o[d]))) && c.push([l(d), l(o[d])]);
174
+ for (const d of jr(o))
175
+ (n || !Kn(On(o[d]))) && c.push([l(d), l(o[d])]);
135
176
  return f;
136
177
  }
137
178
  case ze:
138
179
  return i([a, o.toISOString()], o);
139
- case _e: {
180
+ case Le: {
140
181
  const { source: c, flags: f } = o;
141
182
  return i([a, { source: c, flags: f }], o);
142
183
  }
143
- case Me: {
184
+ case Ne: {
144
185
  const c = [], f = i([a, c], o);
145
186
  for (const [d, p] of o)
146
- (n || !(Yn(Dn(d)) || Yn(Dn(p)))) && c.push([l(d), l(p)]);
187
+ (n || !(Kn(On(d)) || Kn(On(p)))) && c.push([l(d), l(p)]);
147
188
  return f;
148
189
  }
149
- case Ne: {
190
+ case Me: {
150
191
  const c = [], f = i([a, c], o);
151
192
  for (const d of o)
152
- (n || !Yn(Dn(d))) && c.push(l(d));
193
+ (n || !Kn(On(d))) && c.push(l(d));
153
194
  return f;
154
195
  }
155
196
  }
@@ -159,11 +200,11 @@ const Ft = -1, ee = 0, $n = 1, ne = 2, ze = 3, _e = 4, Me = 5, Ne = 6, Bt = 7, U
159
200
  return l;
160
201
  }, Ze = (n, { json: e, lossy: t } = {}) => {
161
202
  const r = [];
162
- return Fr(!(e || t), !!e, /* @__PURE__ */ new Map(), r)(n), r;
203
+ return $r(!(e || t), !!e, /* @__PURE__ */ new Map(), r)(n), r;
163
204
  }, bn = typeof structuredClone == "function" ? (
164
205
  /* c8 ignore start */
165
206
  (n, e) => e && ("json" in e || "lossy" in e) ? Je(Ze(n, e)) : structuredClone(n)
166
- ) : (n, e) => Je(Ze(n, e)), jt = (
207
+ ) : (n, e) => Je(Ze(n, e)), Vt = (
167
208
  // Note: overloads in JSDoc can’t yet use different `@template`s.
168
209
  /**
169
210
  * @type {(
@@ -179,21 +220,21 @@ const Ft = -1, ee = 0, $n = 1, ne = 2, ze = 3, _e = 4, Me = 5, Ne = 6, Bt = 7, U
179
220
  */
180
221
  (function(n) {
181
222
  if (n == null)
182
- return jr;
223
+ return qr;
183
224
  if (typeof n == "string")
184
- return Ur(n);
225
+ return Vr(n);
185
226
  if (typeof n == "object")
186
- return Br(n);
227
+ return Hr(n);
187
228
  if (typeof n == "function")
188
229
  return ve(n);
189
230
  throw new Error("Expected function, string, or array as `test`");
190
231
  })
191
232
  );
192
- function Br(n) {
233
+ function Hr(n) {
193
234
  const e = [];
194
235
  let t = -1;
195
236
  for (; ++t < n.length; )
196
- e[t] = jt(n[t]);
237
+ e[t] = Vt(n[t]);
197
238
  return ve(r);
198
239
  function r(...i) {
199
240
  let l = -1;
@@ -202,7 +243,7 @@ function Br(n) {
202
243
  return !1;
203
244
  }
204
245
  }
205
- function Ur(n) {
246
+ function Vr(n) {
206
247
  return ve(e);
207
248
  function e(t) {
208
249
  return t.tagName === n;
@@ -211,7 +252,7 @@ function Ur(n) {
211
252
  function ve(n) {
212
253
  return e;
213
254
  function e(t, r, i) {
214
- return !!($r(t) && n.call(
255
+ return !!(Wr(t) && n.call(
215
256
  this,
216
257
  t,
217
258
  typeof r == "number" ? r : void 0,
@@ -219,26 +260,26 @@ function ve(n) {
219
260
  ));
220
261
  }
221
262
  }
222
- function jr(n) {
263
+ function qr(n) {
223
264
  return !!(n && typeof n == "object" && "type" in n && n.type === "element" && "tagName" in n && typeof n.tagName == "string");
224
265
  }
225
- function $r(n) {
266
+ function Wr(n) {
226
267
  return n !== null && typeof n == "object" && "type" in n && "tagName" in n;
227
268
  }
228
- const Hr = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Vr = /^[a-zA-Z]:\\/;
229
- function qr(n) {
269
+ const Xr = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Gr = /^[a-zA-Z]:\\/;
270
+ function Yr(n) {
230
271
  if (typeof n != "string")
231
272
  throw new TypeError(`Expected a \`string\`, got \`${typeof n}\``);
232
- return Vr.test(n) ? !1 : Hr.test(n);
273
+ return Gr.test(n) ? !1 : Xr.test(n);
233
274
  }
234
- function Wr(n) {
275
+ function Kr(n) {
235
276
  const e = String(n || "").trim();
236
277
  return e ? e.split(/[ \t\n\r\f]+/g) : [];
237
278
  }
238
- function Xr(n) {
279
+ function Qr(n) {
239
280
  return n.join(" ").trim();
240
281
  }
241
- const $t = (
282
+ const qt = (
242
283
  // Note: overloads in JSDoc can’t yet use different `@template`s.
243
284
  /**
244
285
  * @type {(
@@ -255,29 +296,29 @@ const $t = (
255
296
  */
256
297
  (function(n) {
257
298
  if (n == null)
258
- return Qr;
299
+ return ei;
259
300
  if (typeof n == "function")
260
- return te(n);
301
+ return re(n);
261
302
  if (typeof n == "object")
262
- return Array.isArray(n) ? Gr(n) : (
303
+ return Array.isArray(n) ? Jr(n) : (
263
304
  // Cast because `ReadonlyArray` goes into the above but `isArray`
264
305
  // narrows to `Array`.
265
- Yr(
306
+ Zr(
266
307
  /** @type {Props} */
267
308
  n
268
309
  )
269
310
  );
270
311
  if (typeof n == "string")
271
- return Kr(n);
312
+ return ni(n);
272
313
  throw new Error("Expected function, string, or object as test");
273
314
  })
274
315
  );
275
- function Gr(n) {
316
+ function Jr(n) {
276
317
  const e = [];
277
318
  let t = -1;
278
319
  for (; ++t < n.length; )
279
- e[t] = $t(n[t]);
280
- return te(r);
320
+ e[t] = qt(n[t]);
321
+ return re(r);
281
322
  function r(...i) {
282
323
  let l = -1;
283
324
  for (; ++l < e.length; )
@@ -285,12 +326,12 @@ function Gr(n) {
285
326
  return !1;
286
327
  }
287
328
  }
288
- function Yr(n) {
329
+ function Zr(n) {
289
330
  const e = (
290
331
  /** @type {Record<string, unknown>} */
291
332
  n
292
333
  );
293
- return te(t);
334
+ return re(t);
294
335
  function t(r) {
295
336
  const i = (
296
337
  /** @type {Record<string, unknown>} */
@@ -303,16 +344,16 @@ function Yr(n) {
303
344
  return !0;
304
345
  }
305
346
  }
306
- function Kr(n) {
307
- return te(e);
347
+ function ni(n) {
348
+ return re(e);
308
349
  function e(t) {
309
350
  return t && t.type === n;
310
351
  }
311
352
  }
312
- function te(n) {
353
+ function re(n) {
313
354
  return e;
314
355
  function e(t, r, i) {
315
- return !!(Jr(t) && n.call(
356
+ return !!(ti(t) && n.call(
316
357
  this,
317
358
  t,
318
359
  typeof r == "number" ? r : void 0,
@@ -320,17 +361,17 @@ function te(n) {
320
361
  ));
321
362
  }
322
363
  }
323
- function Qr() {
364
+ function ei() {
324
365
  return !0;
325
366
  }
326
- function Jr(n) {
367
+ function ti(n) {
327
368
  return n !== null && typeof n == "object" && "type" in n;
328
369
  }
329
- const Ht = [], jn = !0, nt = !1, ke = "skip";
330
- function Zr(n, e, t, r) {
370
+ const Wt = [], $n = !0, nt = !1, xe = "skip";
371
+ function ri(n, e, t, r) {
331
372
  let i;
332
373
  typeof e == "function" && typeof t != "function" ? (r = t, t = e) : i = e;
333
- const l = $t(i), o = r ? -1 : 1;
374
+ const l = qt(i), o = r ? -1 : 1;
334
375
  a(n, void 0, [])();
335
376
  function a(s, u, c) {
336
377
  const f = (
@@ -351,18 +392,18 @@ function Zr(n, e, t, r) {
351
392
  }
352
393
  return d;
353
394
  function d() {
354
- let p = Ht, w, b, L;
355
- if ((!e || l(s, u, c[c.length - 1] || void 0)) && (p = ni(t(s, c)), p[0] === nt))
395
+ let p = Wt, w, b, _;
396
+ if ((!e || l(s, u, c[c.length - 1] || void 0)) && (p = ii(t(s, c)), p[0] === nt))
356
397
  return p;
357
398
  if ("children" in s && s.children) {
358
399
  const x = (
359
400
  /** @type {UnistParent} */
360
401
  s
361
402
  );
362
- if (x.children && p[0] !== ke)
363
- for (b = (r ? x.children.length : -1) + o, L = c.concat(x); b > -1 && b < x.children.length; ) {
403
+ if (x.children && p[0] !== xe)
404
+ for (b = (r ? x.children.length : -1) + o, _ = c.concat(x); b > -1 && b < x.children.length; ) {
364
405
  const T = x.children[b];
365
- if (w = a(T, b, L)(), w[0] === nt)
406
+ if (w = a(T, b, _)(), w[0] === nt)
366
407
  return w;
367
408
  b = typeof w[1] == "number" ? w[1] : b + o;
368
409
  }
@@ -371,28 +412,28 @@ function Zr(n, e, t, r) {
371
412
  }
372
413
  }
373
414
  }
374
- function ni(n) {
375
- return Array.isArray(n) ? n : typeof n == "number" ? [jn, n] : n == null ? Ht : [n];
415
+ function ii(n) {
416
+ return Array.isArray(n) ? n : typeof n == "number" ? [$n, n] : n == null ? Wt : [n];
376
417
  }
377
418
  function wn(n, e, t, r) {
378
419
  let i, l, o;
379
- typeof e == "function" && typeof t != "function" ? (l = void 0, o = e, i = t) : (l = e, o = t, i = r), Zr(n, l, a, i);
420
+ typeof e == "function" && typeof t != "function" ? (l = void 0, o = e, i = t) : (l = e, o = t, i = r), ri(n, l, a, i);
380
421
  function a(s, u) {
381
422
  const c = u[u.length - 1], f = c ? c.children.indexOf(s) : void 0;
382
423
  return o(s, f, c);
383
424
  }
384
425
  }
385
- const ei = ["http", "https"], ti = ["nofollow"], ri = {};
386
- function ii(n) {
387
- const e = n || ri, t = e.protocols || ei, r = jt(e.test);
426
+ const li = ["http", "https"], oi = ["nofollow"], ai = {};
427
+ function ui(n) {
428
+ const e = n || ai, t = e.protocols || li, r = Vt(e.test);
388
429
  return function(i) {
389
430
  wn(i, "element", function(l, o, a) {
390
431
  if (l.tagName === "a" && typeof l.properties.href == "string" && r(l, o, a)) {
391
432
  const s = l.properties.href;
392
- if (qr(s) ? t.includes(s.slice(0, s.indexOf(":"))) : s.startsWith("//")) {
393
- const u = On(e.content, l), c = u && !Array.isArray(u) ? [u] : u, f = On(e.rel, l) || ti, d = typeof f == "string" ? Wr(f) : f, p = On(e.target, l), w = On(e.properties, l);
433
+ if (Yr(s) ? t.includes(s.slice(0, s.indexOf(":"))) : s.startsWith("//")) {
434
+ const u = Fn(e.content, l), c = u && !Array.isArray(u) ? [u] : u, f = Fn(e.rel, l) || oi, d = typeof f == "string" ? Kr(f) : f, p = Fn(e.target, l), w = Fn(e.properties, l);
394
435
  if (w && Object.assign(l.properties, bn(w)), d.length > 0 && (l.properties.rel = [...d]), p && (l.properties.target = p), c) {
395
- const b = On(e.contentProperties, l) || {};
436
+ const b = Fn(e.contentProperties, l) || {};
396
437
  l.children.push({
397
438
  type: "element",
398
439
  tagName: "span",
@@ -405,15 +446,15 @@ function ii(n) {
405
446
  });
406
447
  };
407
448
  }
408
- function On(n, e) {
449
+ function Fn(n, e) {
409
450
  return typeof n == "function" ? n(e) : n;
410
451
  }
411
- function li({ defaultOrigin: n = "", allowedLinkPrefixes: e = [], 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" }) {
452
+ function si({ defaultOrigin: n = "", allowedLinkPrefixes: e = [], 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" }) {
412
453
  const a = e.length && !e.every((u) => u === "*"), s = t.length && !t.every((u) => u === "*");
413
454
  if (!n && (a || s))
414
455
  throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");
415
456
  return (u) => {
416
- const c = si(n, e, t, r, i, l, o);
457
+ const c = hi(n, e, t, r, i, l, o);
417
458
  wn(u, c);
418
459
  };
419
460
  }
@@ -432,10 +473,10 @@ function et(n, e) {
432
473
  return null;
433
474
  }
434
475
  }
435
- function oi(n) {
476
+ function ci(n) {
436
477
  return typeof n != "string" ? !1 : n.startsWith("/");
437
478
  }
438
- const ai = /* @__PURE__ */ new Set([
479
+ const fi = /* @__PURE__ */ new Set([
439
480
  "https:",
440
481
  "http:",
441
482
  "irc:",
@@ -443,7 +484,7 @@ const ai = /* @__PURE__ */ new Set([
443
484
  "mailto:",
444
485
  "xmpp:",
445
486
  "blob:"
446
- ]), ui = /* @__PURE__ */ new Set([
487
+ ]), pi = /* @__PURE__ */ new Set([
447
488
  "javascript:",
448
489
  "data:",
449
490
  "file:",
@@ -473,24 +514,24 @@ function tt(n, e, t, r = !1, i = !1, l = []) {
473
514
  return null;
474
515
  }
475
516
  const o = et(n, t);
476
- if (!o || ui.has(o.protocol) || !(ai.has(o.protocol) || l.includes(o.protocol) || l.includes("*")))
517
+ if (!o || pi.has(o.protocol) || !(fi.has(o.protocol) || l.includes(o.protocol) || l.includes("*")))
477
518
  return null;
478
519
  if (o.protocol === "mailto:" || !o.protocol.match(/^https?:$/))
479
520
  return o.href;
480
- const s = oi(n);
521
+ const s = ci(n);
481
522
  return o && e.some((u) => {
482
523
  const c = et(u, t);
483
524
  return !c || c.origin !== o.origin ? !1 : o.href.startsWith(c.href);
484
525
  }) ? s ? o.pathname + o.search + o.hash : o.href : e.includes("*") ? o.protocol !== "https:" && o.protocol !== "http:" ? null : s ? o.pathname + o.search + o.hash : o.href : null;
485
526
  }
486
- const le = Symbol("node-seen"), si = (n, e, t, r, i, l, o) => {
527
+ const oe = Symbol("node-seen"), hi = (n, e, t, r, i, l, o) => {
487
528
  const a = (s, u, c) => {
488
529
  if (s.type !== "element" || // @ts-expect-error
489
- s[le])
490
- return jn;
530
+ s[oe])
531
+ return $n;
491
532
  if (s.tagName === "a") {
492
533
  const f = tt(s.properties.href, e, n, !1, !1, i);
493
- return f === null ? (s[le] = !0, wn(s, a), c && typeof u == "number" && (c.children[u] = {
534
+ return f === null ? (s[oe] = !0, wn(s, a), c && typeof u == "number" && (c.children[u] = {
494
535
  type: "element",
495
536
  tagName: "span",
496
537
  properties: {
@@ -504,11 +545,11 @@ const le = Symbol("node-seen"), si = (n, e, t, r, i, l, o) => {
504
545
  value: " [blocked]"
505
546
  }
506
547
  ]
507
- }), ke) : (s.properties.href = f, s.properties.target = "_blank", s.properties.rel = "noopener noreferrer", jn);
548
+ }), xe) : (s.properties.href = f, s.properties.target = "_blank", s.properties.rel = "noopener noreferrer", $n);
508
549
  }
509
550
  if (s.tagName === "img") {
510
551
  const f = tt(s.properties.src, t, n, r, !0, i);
511
- return f === null ? (s[le] = !0, wn(s, a), c && typeof u == "number" && (c.children[u] = {
552
+ return f === null ? (s[oe] = !0, wn(s, a), c && typeof u == "number" && (c.children[u] = {
512
553
  type: "element",
513
554
  tagName: "span",
514
555
  properties: {
@@ -520,13 +561,13 @@ const le = Symbol("node-seen"), si = (n, e, t, r, i, l, o) => {
520
561
  value: "[Image blocked: " + String(s.properties.alt || "No description") + "]"
521
562
  }
522
563
  ]
523
- }), ke) : (s.properties.src = f, jn);
564
+ }), xe) : (s.properties.src = f, $n);
524
565
  }
525
- return jn;
566
+ return $n;
526
567
  };
527
568
  return a;
528
569
  };
529
- function Qu(n) {
570
+ function es(n) {
530
571
  const e = [], t = String(n || "");
531
572
  let r = t.indexOf(","), i = 0, l = !1;
532
573
  for (; !l; ) {
@@ -536,24 +577,24 @@ function Qu(n) {
536
577
  }
537
578
  return e;
538
579
  }
539
- function ci(n, e) {
580
+ function mi(n, e) {
540
581
  const t = {};
541
582
  return (n[n.length - 1] === "" ? [...n, ""] : n).join(
542
583
  (t.padRight ? " " : "") + "," + (t.padLeft === !1 ? "" : " ")
543
584
  ).trim();
544
585
  }
545
- const fi = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, pi = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, hi = {};
586
+ 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 = {};
546
587
  function rt(n, e) {
547
- return (hi.jsx ? pi : fi).test(n);
588
+ return (yi.jsx ? gi : di).test(n);
548
589
  }
549
- const mi = /[ \t\n\f\r]/g;
550
- function di(n) {
590
+ const ki = /[ \t\n\f\r]/g;
591
+ function xi(n) {
551
592
  return typeof n == "object" ? n.type === "text" ? it(n.value) : !1 : it(n);
552
593
  }
553
594
  function it(n) {
554
- return n.replace(mi, "") === "";
595
+ return n.replace(ki, "") === "";
555
596
  }
556
- class Wn {
597
+ class Xn {
557
598
  /**
558
599
  * @param {SchemaType['property']} property
559
600
  * Property.
@@ -568,16 +609,16 @@ class Wn {
568
609
  this.normal = t, this.property = e, r && (this.space = r);
569
610
  }
570
611
  }
571
- Wn.prototype.normal = {};
572
- Wn.prototype.property = {};
573
- Wn.prototype.space = void 0;
574
- function Vt(n, e) {
612
+ Xn.prototype.normal = {};
613
+ Xn.prototype.property = {};
614
+ Xn.prototype.space = void 0;
615
+ function Xt(n, e) {
575
616
  const t = {}, r = {};
576
617
  for (const i of n)
577
618
  Object.assign(t, i.property), Object.assign(r, i.normal);
578
- return new Wn(t, r, e);
619
+ return new Xn(t, r, e);
579
620
  }
580
- function xe(n) {
621
+ function be(n) {
581
622
  return n.toLowerCase();
582
623
  }
583
624
  class J {
@@ -605,14 +646,14 @@ J.prototype.overloadedBoolean = !1;
605
646
  J.prototype.property = "";
606
647
  J.prototype.spaceSeparated = !1;
607
648
  J.prototype.space = void 0;
608
- let gi = 0;
609
- const N = Sn(), q = Sn(), be = Sn(), k = Sn(), $ = Sn(), Tn = Sn(), nn = Sn();
649
+ let bi = 0;
650
+ const M = Sn(), q = Sn(), we = Sn(), k = Sn(), $ = Sn(), _n = Sn(), nn = Sn();
610
651
  function Sn() {
611
- return 2 ** ++gi;
652
+ return 2 ** ++bi;
612
653
  }
613
- const we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: N, booleanish: q, commaOrSpaceSeparated: nn, commaSeparated: Tn, number: k, overloadedBoolean: be, spaceSeparated: $ }, Symbol.toStringTag, { value: "Module" })), oe = (
654
+ const Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: M, booleanish: q, commaOrSpaceSeparated: nn, commaSeparated: _n, number: k, overloadedBoolean: we, spaceSeparated: $ }, Symbol.toStringTag, { value: "Module" })), ae = (
614
655
  /** @type {ReadonlyArray<keyof typeof types>} */
615
- Object.keys(we)
656
+ Object.keys(Se)
616
657
  );
617
658
  class Re extends J {
618
659
  /**
@@ -631,9 +672,9 @@ class Re extends J {
631
672
  constructor(e, t, r, i) {
632
673
  let l = -1;
633
674
  if (super(e, t), lt(this, "space", i), typeof r == "number")
634
- for (; ++l < oe.length; ) {
635
- const o = oe[l];
636
- lt(this, oe[l], (r & we[o]) === we[o]);
675
+ for (; ++l < ae.length; ) {
676
+ const o = ae[l];
677
+ lt(this, ae[l], (r & Se[o]) === Se[o]);
637
678
  }
638
679
  }
639
680
  }
@@ -641,7 +682,7 @@ Re.prototype.defined = !0;
641
682
  function lt(n, e, t) {
642
683
  t && (n[e] = t);
643
684
  }
644
- function zn(n) {
685
+ function Ln(n) {
645
686
  const e = {}, t = {};
646
687
  for (const [r, i] of Object.entries(n.properties)) {
647
688
  const l = new Re(
@@ -650,11 +691,11 @@ function zn(n) {
650
691
  i,
651
692
  n.space
652
693
  );
653
- n.mustUseProperty && n.mustUseProperty.includes(r) && (l.mustUseProperty = !0), e[r] = l, t[xe(r)] = r, t[xe(l.attribute)] = r;
694
+ n.mustUseProperty && n.mustUseProperty.includes(r) && (l.mustUseProperty = !0), e[r] = l, t[be(r)] = r, t[be(l.attribute)] = r;
654
695
  }
655
- return new Wn(e, t, n.space);
696
+ return new Xn(e, t, n.space);
656
697
  }
657
- const qt = zn({
698
+ const Gt = Ln({
658
699
  properties: {
659
700
  ariaActiveDescendant: null,
660
701
  ariaAtomic: q,
@@ -710,13 +751,13 @@ const qt = zn({
710
751
  return e === "role" ? e : "aria-" + e.slice(4).toLowerCase();
711
752
  }
712
753
  });
713
- function Wt(n, e) {
754
+ function Yt(n, e) {
714
755
  return e in n ? n[e] : e;
715
756
  }
716
- function Xt(n, e) {
717
- return Wt(n, e.toLowerCase());
757
+ function Kt(n, e) {
758
+ return Yt(n, e.toLowerCase());
718
759
  }
719
- const yi = zn({
760
+ const wi = Ln({
720
761
  attributes: {
721
762
  acceptcharset: "accept-charset",
722
763
  classname: "class",
@@ -727,44 +768,44 @@ const yi = zn({
727
768
  properties: {
728
769
  // Standard Properties.
729
770
  abbr: null,
730
- accept: Tn,
771
+ accept: _n,
731
772
  acceptCharset: $,
732
773
  accessKey: $,
733
774
  action: null,
734
775
  allow: null,
735
- allowFullScreen: N,
736
- allowPaymentRequest: N,
737
- allowUserMedia: N,
776
+ allowFullScreen: M,
777
+ allowPaymentRequest: M,
778
+ allowUserMedia: M,
738
779
  alt: null,
739
780
  as: null,
740
- async: N,
781
+ async: M,
741
782
  autoCapitalize: null,
742
783
  autoComplete: $,
743
- autoFocus: N,
744
- autoPlay: N,
784
+ autoFocus: M,
785
+ autoPlay: M,
745
786
  blocking: $,
746
787
  capture: null,
747
788
  charSet: null,
748
- checked: N,
789
+ checked: M,
749
790
  cite: null,
750
791
  className: $,
751
792
  cols: k,
752
793
  colSpan: null,
753
794
  content: null,
754
795
  contentEditable: q,
755
- controls: N,
796
+ controls: M,
756
797
  controlsList: $,
757
- coords: k | Tn,
798
+ coords: k | _n,
758
799
  crossOrigin: null,
759
800
  data: null,
760
801
  dateTime: null,
761
802
  decoding: null,
762
- default: N,
763
- defer: N,
803
+ default: M,
804
+ defer: M,
764
805
  dir: null,
765
806
  dirName: null,
766
- disabled: N,
767
- download: be,
807
+ disabled: M,
808
+ download: we,
768
809
  draggable: q,
769
810
  encType: null,
770
811
  enterKeyHint: null,
@@ -773,11 +814,11 @@ const yi = zn({
773
814
  formAction: null,
774
815
  formEncType: null,
775
816
  formMethod: null,
776
- formNoValidate: N,
817
+ formNoValidate: M,
777
818
  formTarget: null,
778
819
  headers: $,
779
820
  height: k,
780
- hidden: be,
821
+ hidden: we,
781
822
  high: k,
782
823
  href: null,
783
824
  hrefLang: null,
@@ -786,15 +827,15 @@ const yi = zn({
786
827
  id: null,
787
828
  imageSizes: null,
788
829
  imageSrcSet: null,
789
- inert: N,
830
+ inert: M,
790
831
  inputMode: null,
791
832
  integrity: null,
792
833
  is: null,
793
- isMap: N,
834
+ isMap: M,
794
835
  itemId: null,
795
836
  itemProp: $,
796
837
  itemRef: $,
797
- itemScope: N,
838
+ itemScope: M,
798
839
  itemType: $,
799
840
  kind: null,
800
841
  label: null,
@@ -802,7 +843,7 @@ const yi = zn({
802
843
  language: null,
803
844
  list: null,
804
845
  loading: null,
805
- loop: N,
846
+ loop: M,
806
847
  low: k,
807
848
  manifest: null,
808
849
  max: null,
@@ -811,12 +852,12 @@ const yi = zn({
811
852
  method: null,
812
853
  min: null,
813
854
  minLength: k,
814
- multiple: N,
815
- muted: N,
855
+ multiple: M,
856
+ muted: M,
816
857
  name: null,
817
858
  nonce: null,
818
- noModule: N,
819
- noValidate: N,
859
+ noModule: M,
860
+ noValidate: M,
820
861
  onAbort: null,
821
862
  onAfterPrint: null,
822
863
  onAuxClick: null,
@@ -905,31 +946,31 @@ const yi = zn({
905
946
  onVolumeChange: null,
906
947
  onWaiting: null,
907
948
  onWheel: null,
908
- open: N,
949
+ open: M,
909
950
  optimum: k,
910
951
  pattern: null,
911
952
  ping: $,
912
953
  placeholder: null,
913
- playsInline: N,
954
+ playsInline: M,
914
955
  popover: null,
915
956
  popoverTarget: null,
916
957
  popoverTargetAction: null,
917
958
  poster: null,
918
959
  preload: null,
919
- readOnly: N,
960
+ readOnly: M,
920
961
  referrerPolicy: null,
921
962
  rel: $,
922
- required: N,
923
- reversed: N,
963
+ required: M,
964
+ reversed: M,
924
965
  rows: k,
925
966
  rowSpan: k,
926
967
  sandbox: $,
927
968
  scope: null,
928
- scoped: N,
929
- seamless: N,
930
- selected: N,
931
- shadowRootClonable: N,
932
- shadowRootDelegatesFocus: N,
969
+ scoped: M,
970
+ seamless: M,
971
+ selected: M,
972
+ shadowRootClonable: M,
973
+ shadowRootDelegatesFocus: M,
933
974
  shadowRootMode: null,
934
975
  shape: null,
935
976
  size: k,
@@ -949,7 +990,7 @@ const yi = zn({
949
990
  title: null,
950
991
  translate: null,
951
992
  type: null,
952
- typeMustMatch: N,
993
+ typeMustMatch: M,
953
994
  useMap: null,
954
995
  value: q,
955
996
  width: k,
@@ -995,9 +1036,9 @@ const yi = zn({
995
1036
  // `<object>`
996
1037
  color: null,
997
1038
  // `<font>` and `<hr>`. Use CSS instead
998
- compact: N,
1039
+ compact: M,
999
1040
  // Lists. Use CSS to reduce space between items instead
1000
- declare: N,
1041
+ declare: M,
1001
1042
  // `<object>`
1002
1043
  event: null,
1003
1044
  // `<script>`
@@ -1021,13 +1062,13 @@ const yi = zn({
1021
1062
  // `<body>`
1022
1063
  marginWidth: k,
1023
1064
  // `<body>`
1024
- noResize: N,
1065
+ noResize: M,
1025
1066
  // `<frame>`
1026
- noHref: N,
1067
+ noHref: M,
1027
1068
  // `<area>`. Use no href instead of an explicit `nohref`
1028
- noShade: N,
1069
+ noShade: M,
1029
1070
  // `<hr>`. Use background-color and height instead of borders
1030
- noWrap: N,
1071
+ noWrap: M,
1031
1072
  // `<td>` and `<th>`
1032
1073
  object: null,
1033
1074
  // `<applet>`
@@ -1067,8 +1108,8 @@ const yi = zn({
1067
1108
  allowTransparency: null,
1068
1109
  autoCorrect: null,
1069
1110
  autoSave: null,
1070
- disablePictureInPicture: N,
1071
- disableRemotePlayback: N,
1111
+ disablePictureInPicture: M,
1112
+ disableRemotePlayback: M,
1072
1113
  prefix: null,
1073
1114
  property: null,
1074
1115
  results: k,
@@ -1076,8 +1117,8 @@ const yi = zn({
1076
1117
  unselectable: null
1077
1118
  },
1078
1119
  space: "html",
1079
- transform: Xt
1080
- }), ki = zn({
1120
+ transform: Kt
1121
+ }), Si = Ln({
1081
1122
  attributes: {
1082
1123
  accentHeight: "accent-height",
1083
1124
  alignmentBaseline: "alignment-baseline",
@@ -1303,7 +1344,7 @@ const yi = zn({
1303
1344
  dur: null,
1304
1345
  divisor: k,
1305
1346
  dominantBaseline: null,
1306
- download: N,
1347
+ download: M,
1307
1348
  dx: null,
1308
1349
  dy: null,
1309
1350
  edgeMode: null,
@@ -1336,9 +1377,9 @@ const yi = zn({
1336
1377
  from: null,
1337
1378
  fx: null,
1338
1379
  fy: null,
1339
- g1: Tn,
1340
- g2: Tn,
1341
- glyphName: Tn,
1380
+ g1: _n,
1381
+ g2: _n,
1382
+ glyphName: _n,
1342
1383
  glyphOrientationHorizontal: null,
1343
1384
  glyphOrientationVertical: null,
1344
1385
  glyphRef: null,
@@ -1635,8 +1676,8 @@ const yi = zn({
1635
1676
  zoomAndPan: null
1636
1677
  },
1637
1678
  space: "svg",
1638
- transform: Wt
1639
- }), Gt = zn({
1679
+ transform: Yt
1680
+ }), Qt = Ln({
1640
1681
  properties: {
1641
1682
  xLinkActuate: null,
1642
1683
  xLinkArcRole: null,
@@ -1650,18 +1691,18 @@ const yi = zn({
1650
1691
  transform(n, e) {
1651
1692
  return "xlink:" + e.slice(5).toLowerCase();
1652
1693
  }
1653
- }), Yt = zn({
1694
+ }), Jt = Ln({
1654
1695
  attributes: { xmlnsxlink: "xmlns:xlink" },
1655
1696
  properties: { xmlnsXLink: null, xmlns: null },
1656
1697
  space: "xmlns",
1657
- transform: Xt
1658
- }), Kt = zn({
1698
+ transform: Kt
1699
+ }), Zt = Ln({
1659
1700
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
1660
1701
  space: "xml",
1661
1702
  transform(n, e) {
1662
1703
  return "xml:" + e.slice(3).toLowerCase();
1663
1704
  }
1664
- }), xi = {
1705
+ }), Ci = {
1665
1706
  classId: "classID",
1666
1707
  dataType: "datatype",
1667
1708
  itemId: "itemID",
@@ -1679,20 +1720,20 @@ const yi = zn({
1679
1720
  xLinkTitle: "xlinkTitle",
1680
1721
  xLinkType: "xlinkType",
1681
1722
  xmlnsXLink: "xmlnsXlink"
1682
- }, bi = /[A-Z]/g, ot = /-[a-z]/g, wi = /^data[-\w.:]+$/i;
1683
- function Si(n, e) {
1684
- const t = xe(e);
1723
+ }, Ii = /[A-Z]/g, ot = /-[a-z]/g, Ei = /^data[-\w.:]+$/i;
1724
+ function Pi(n, e) {
1725
+ const t = be(e);
1685
1726
  let r = e, i = J;
1686
1727
  if (t in n.normal)
1687
1728
  return n.property[n.normal[t]];
1688
- if (t.length > 4 && t.slice(0, 4) === "data" && wi.test(e)) {
1729
+ if (t.length > 4 && t.slice(0, 4) === "data" && Ei.test(e)) {
1689
1730
  if (e.charAt(4) === "-") {
1690
- const l = e.slice(5).replace(ot, Ii);
1731
+ const l = e.slice(5).replace(ot, Ti);
1691
1732
  r = "data" + l.charAt(0).toUpperCase() + l.slice(1);
1692
1733
  } else {
1693
1734
  const l = e.slice(4);
1694
1735
  if (!ot.test(l)) {
1695
- let o = l.replace(bi, Ci);
1736
+ let o = l.replace(Ii, Ai);
1696
1737
  o.charAt(0) !== "-" && (o = "-" + o), e = "data" + o;
1697
1738
  }
1698
1739
  }
@@ -1700,30 +1741,30 @@ function Si(n, e) {
1700
1741
  }
1701
1742
  return new i(r, e);
1702
1743
  }
1703
- function Ci(n) {
1744
+ function Ai(n) {
1704
1745
  return "-" + n.toLowerCase();
1705
1746
  }
1706
- function Ii(n) {
1747
+ function Ti(n) {
1707
1748
  return n.charAt(1).toUpperCase();
1708
1749
  }
1709
- const Ei = Vt([qt, yi, Gt, Yt, Kt], "html"), De = Vt([qt, ki, Gt, Yt, Kt], "svg");
1710
- var An = {}, ae, at;
1711
- function Pi() {
1712
- if (at) return ae;
1750
+ const _i = Xt([Gt, wi, Qt, Jt, Zt], "html"), De = Xt([Gt, Si, Qt, Jt, Zt], "svg");
1751
+ var An = {}, ue, at;
1752
+ function zi() {
1753
+ if (at) return ue;
1713
1754
  at = 1;
1714
1755
  var n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, e = /\n/g, t = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, l = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, o = /^[;\s]*/, a = /^\s+|\s+$/g, s = `
1715
1756
  `, u = "/", c = "*", f = "", d = "comment", p = "declaration";
1716
- ae = function(b, L) {
1757
+ ue = function(b, _) {
1717
1758
  if (typeof b != "string")
1718
1759
  throw new TypeError("First argument must be a string");
1719
1760
  if (!b) return [];
1720
- L = L || {};
1761
+ _ = _ || {};
1721
1762
  var x = 1, T = 1;
1722
1763
  function C(P) {
1723
1764
  var I = P.match(e);
1724
1765
  I && (x += I.length);
1725
- var _ = P.lastIndexOf(s);
1726
- T = ~_ ? P.length - _ : T + P.length;
1766
+ var L = P.lastIndexOf(s);
1767
+ T = ~L ? P.length - L : T + P.length;
1727
1768
  }
1728
1769
  function B() {
1729
1770
  var P = { line: x, column: T };
@@ -1732,20 +1773,20 @@ function Pi() {
1732
1773
  };
1733
1774
  }
1734
1775
  function j(P) {
1735
- this.start = P, this.end = { line: x, column: T }, this.source = L.source;
1776
+ this.start = P, this.end = { line: x, column: T }, this.source = _.source;
1736
1777
  }
1737
1778
  j.prototype.content = b;
1738
1779
  function y(P) {
1739
1780
  var I = new Error(
1740
- L.source + ":" + x + ":" + T + ": " + P
1781
+ _.source + ":" + x + ":" + T + ": " + P
1741
1782
  );
1742
- if (I.reason = P, I.filename = L.source, I.line = x, I.column = T, I.source = b, !L.silent) throw I;
1783
+ if (I.reason = P, I.filename = _.source, I.line = x, I.column = T, I.source = b, !_.silent) throw I;
1743
1784
  }
1744
1785
  function R(P) {
1745
1786
  var I = P.exec(b);
1746
1787
  if (I) {
1747
- var _ = I[0];
1748
- return C(_), b = b.slice(_.length), I;
1788
+ var L = I[0];
1789
+ return C(L), b = b.slice(L.length), I;
1749
1790
  }
1750
1791
  }
1751
1792
  function V() {
@@ -1764,10 +1805,10 @@ function Pi() {
1764
1805
  ++I;
1765
1806
  if (I += 2, f === b.charAt(I - 1))
1766
1807
  return y("End of comment missing");
1767
- var _ = b.slice(2, I - 2);
1768
- return T += 2, C(_), b = b.slice(I), T += 2, P({
1808
+ var L = b.slice(2, I - 2);
1809
+ return T += 2, C(L), b = b.slice(I), T += 2, P({
1769
1810
  type: d,
1770
- comment: _
1811
+ comment: L
1771
1812
  });
1772
1813
  }
1773
1814
  }
@@ -1775,10 +1816,10 @@ function Pi() {
1775
1816
  var P = B(), I = R(r);
1776
1817
  if (I) {
1777
1818
  if (F(), !R(i)) return y("property missing ':'");
1778
- var _ = R(l), W = P({
1819
+ var L = R(l), W = P({
1779
1820
  type: p,
1780
1821
  property: w(I[0].replace(n, f)),
1781
- value: _ ? w(_[0].replace(n, f)) : f
1822
+ value: L ? w(L[0].replace(n, f)) : f
1782
1823
  });
1783
1824
  return R(o), W;
1784
1825
  }
@@ -1795,17 +1836,17 @@ function Pi() {
1795
1836
  function w(b) {
1796
1837
  return b ? b.replace(a, f) : f;
1797
1838
  }
1798
- return ae;
1839
+ return ue;
1799
1840
  }
1800
1841
  var ut;
1801
- function Ai() {
1842
+ function Li() {
1802
1843
  if (ut) return An;
1803
1844
  ut = 1;
1804
1845
  var n = An && An.__importDefault || function(r) {
1805
1846
  return r && r.__esModule ? r : { default: r };
1806
1847
  };
1807
1848
  Object.defineProperty(An, "__esModule", { value: !0 }), An.default = t;
1808
- const e = n(/* @__PURE__ */ Pi());
1849
+ const e = n(/* @__PURE__ */ zi());
1809
1850
  function t(r, i) {
1810
1851
  let l = null;
1811
1852
  if (!r || typeof r != "string")
@@ -1820,10 +1861,10 @@ function Ai() {
1820
1861
  }
1821
1862
  return An;
1822
1863
  }
1823
- var Fn = {}, st;
1824
- function Ti() {
1825
- if (st) return Fn;
1826
- st = 1, Object.defineProperty(Fn, "__esModule", { value: !0 }), Fn.camelCase = void 0;
1864
+ var Bn = {}, st;
1865
+ function Ni() {
1866
+ if (st) return Bn;
1867
+ st = 1, Object.defineProperty(Bn, "__esModule", { value: !0 }), Bn.camelCase = void 0;
1827
1868
  var n = /^--[a-zA-Z0-9_-]+$/, e = /-([a-z])/g, t = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, i = /^-(ms)-/, l = function(u) {
1828
1869
  return !u || t.test(u) || n.test(u);
1829
1870
  }, o = function(u, c) {
@@ -1833,26 +1874,26 @@ function Ti() {
1833
1874
  }, s = function(u, c) {
1834
1875
  return c === void 0 && (c = {}), l(u) ? u : (u = u.toLowerCase(), c.reactCompat ? u = u.replace(i, a) : u = u.replace(r, a), u.replace(e, o));
1835
1876
  };
1836
- return Fn.camelCase = s, Fn;
1877
+ return Bn.camelCase = s, Bn;
1837
1878
  }
1838
- var Bn, ct;
1839
- function Li() {
1840
- if (ct) return Bn;
1879
+ var Un, ct;
1880
+ function Mi() {
1881
+ if (ct) return Un;
1841
1882
  ct = 1;
1842
- var n = Bn && Bn.__importDefault || function(i) {
1883
+ var n = Un && Un.__importDefault || function(i) {
1843
1884
  return i && i.__esModule ? i : { default: i };
1844
- }, e = n(/* @__PURE__ */ Ai()), t = /* @__PURE__ */ Ti();
1885
+ }, e = n(/* @__PURE__ */ Li()), t = /* @__PURE__ */ Ni();
1845
1886
  function r(i, l) {
1846
1887
  var o = {};
1847
1888
  return !i || typeof i != "string" || (0, e.default)(i, function(a, s) {
1848
1889
  a && s && (o[(0, t.camelCase)(a, l)] = s);
1849
1890
  }), o;
1850
1891
  }
1851
- return r.default = r, Bn = r, Bn;
1892
+ return r.default = r, Un = r, Un;
1852
1893
  }
1853
- var zi = /* @__PURE__ */ Li();
1854
- const _i = /* @__PURE__ */ Ot(zi), Qt = Jt("end"), Oe = Jt("start");
1855
- function Jt(n) {
1894
+ var vi = /* @__PURE__ */ Mi();
1895
+ const Ri = /* @__PURE__ */ Bt(vi), nr = er("end"), Oe = er("start");
1896
+ function er(n) {
1856
1897
  return e;
1857
1898
  function e(t) {
1858
1899
  const r = t && t.position && t.position[n] || {};
@@ -1864,19 +1905,19 @@ function Jt(n) {
1864
1905
  };
1865
1906
  }
1866
1907
  }
1867
- function Mi(n) {
1868
- const e = Oe(n), t = Qt(n);
1908
+ function Di(n) {
1909
+ const e = Oe(n), t = nr(n);
1869
1910
  if (e && t)
1870
1911
  return { start: e, end: t };
1871
1912
  }
1872
- function Hn(n) {
1873
- return !n || typeof n != "object" ? "" : "position" in n || "type" in n ? ft(n.position) : "start" in n || "end" in n ? ft(n) : "line" in n || "column" in n ? Se(n) : "";
1913
+ function Vn(n) {
1914
+ return !n || typeof n != "object" ? "" : "position" in n || "type" in n ? ft(n.position) : "start" in n || "end" in n ? ft(n) : "line" in n || "column" in n ? Ce(n) : "";
1874
1915
  }
1875
- function Se(n) {
1916
+ function Ce(n) {
1876
1917
  return pt(n && n.line) + ":" + pt(n && n.column);
1877
1918
  }
1878
1919
  function ft(n) {
1879
- return Se(n && n.start) + "-" + Se(n && n.end);
1920
+ return Ce(n && n.start) + "-" + Ce(n && n.end);
1880
1921
  }
1881
1922
  function pt(n) {
1882
1923
  return n && typeof n == "number" ? n : 1;
@@ -1952,7 +1993,7 @@ class Y extends Error {
1952
1993
  s && (l.place = s.position);
1953
1994
  }
1954
1995
  const a = l.place && "start" in l.place ? l.place.start : l.place;
1955
- this.ancestors = l.ancestors || void 0, this.cause = l.cause || void 0, this.column = a ? a.column : void 0, this.fatal = void 0, this.file = "", this.message = i, this.line = a ? a.line : void 0, this.name = Hn(l.place) || "1:1", this.place = l.place || void 0, this.reason = this.message, this.ruleId = l.ruleId || void 0, this.source = l.source || void 0, this.stack = o && l.cause && typeof l.cause.stack == "string" ? l.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
1996
+ this.ancestors = l.ancestors || void 0, this.cause = l.cause || void 0, this.column = a ? a.column : void 0, this.fatal = void 0, this.file = "", this.message = i, this.line = a ? a.line : void 0, this.name = Vn(l.place) || "1:1", this.place = l.place || void 0, this.reason = this.message, this.ruleId = l.ruleId || void 0, this.source = l.source || void 0, this.stack = o && l.cause && typeof l.cause.stack == "string" ? l.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
1956
1997
  }
1957
1998
  }
1958
1999
  Y.prototype.file = "";
@@ -1968,8 +2009,8 @@ Y.prototype.fatal = void 0;
1968
2009
  Y.prototype.place = void 0;
1969
2010
  Y.prototype.ruleId = void 0;
1970
2011
  Y.prototype.source = void 0;
1971
- const Fe = {}.hasOwnProperty, Ni = /* @__PURE__ */ new Map(), vi = /[A-Z]/g, Ri = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Di = /* @__PURE__ */ new Set(["td", "th"]), Zt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1972
- function Oi(n, e) {
2012
+ const Fe = {}.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";
2013
+ function ji(n, e) {
1973
2014
  if (!e || e.Fragment === void 0)
1974
2015
  throw new TypeError("Expected `Fragment` in options");
1975
2016
  const t = e.filePath || void 0;
@@ -1979,13 +2020,13 @@ function Oi(n, e) {
1979
2020
  throw new TypeError(
1980
2021
  "Expected `jsxDEV` in options when `development: true`"
1981
2022
  );
1982
- r = qi(t, e.jsxDEV);
2023
+ r = Yi(t, e.jsxDEV);
1983
2024
  } else {
1984
2025
  if (typeof e.jsx != "function")
1985
2026
  throw new TypeError("Expected `jsx` in production options");
1986
2027
  if (typeof e.jsxs != "function")
1987
2028
  throw new TypeError("Expected `jsxs` in production options");
1988
- r = Vi(t, e.jsx, e.jsxs);
2029
+ r = Gi(t, e.jsx, e.jsxs);
1989
2030
  }
1990
2031
  const i = {
1991
2032
  Fragment: e.Fragment,
@@ -1998,10 +2039,10 @@ function Oi(n, e) {
1998
2039
  ignoreInvalidStyle: e.ignoreInvalidStyle || !1,
1999
2040
  passKeys: e.passKeys !== !1,
2000
2041
  passNode: e.passNode || !1,
2001
- schema: e.space === "svg" ? De : Ei,
2042
+ schema: e.space === "svg" ? De : _i,
2002
2043
  stylePropertyNameCase: e.stylePropertyNameCase || "dom",
2003
2044
  tableCellAlignToStyle: e.tableCellAlignToStyle !== !1
2004
- }, l = nr(i, n, void 0);
2045
+ }, l = rr(i, n, void 0);
2005
2046
  return l && typeof l != "string" ? l : i.create(
2006
2047
  n,
2007
2048
  i.Fragment,
@@ -2009,31 +2050,31 @@ function Oi(n, e) {
2009
2050
  void 0
2010
2051
  );
2011
2052
  }
2012
- function nr(n, e, t) {
2053
+ function rr(n, e, t) {
2013
2054
  if (e.type === "element")
2014
- return Fi(n, e, t);
2055
+ return $i(n, e, t);
2015
2056
  if (e.type === "mdxFlowExpression" || e.type === "mdxTextExpression")
2016
- return Bi(n, e);
2057
+ return Hi(n, e);
2017
2058
  if (e.type === "mdxJsxFlowElement" || e.type === "mdxJsxTextElement")
2018
- return ji(n, e, t);
2059
+ return qi(n, e, t);
2019
2060
  if (e.type === "mdxjsEsm")
2020
- return Ui(n, e);
2061
+ return Vi(n, e);
2021
2062
  if (e.type === "root")
2022
- return $i(n, e, t);
2063
+ return Wi(n, e, t);
2023
2064
  if (e.type === "text")
2024
- return Hi(n, e);
2065
+ return Xi(n, e);
2025
2066
  }
2026
- function Fi(n, e, t) {
2067
+ function $i(n, e, t) {
2027
2068
  const r = n.schema;
2028
2069
  let i = r;
2029
2070
  e.tagName.toLowerCase() === "svg" && r.space === "html" && (i = De, n.schema = i), n.ancestors.push(e);
2030
- const l = tr(n, e.tagName, !1), o = Wi(n, e);
2071
+ const l = lr(n, e.tagName, !1), o = Ki(n, e);
2031
2072
  let a = Ue(n, e);
2032
- return Ri.has(e.tagName) && (a = a.filter(function(s) {
2033
- return typeof s == "string" ? !di(s) : !0;
2034
- })), er(n, o, l, e), Be(o, a), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
2073
+ return Bi.has(e.tagName) && (a = a.filter(function(s) {
2074
+ return typeof s == "string" ? !xi(s) : !0;
2075
+ })), ir(n, o, l, e), Be(o, a), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
2035
2076
  }
2036
- function Bi(n, e) {
2077
+ function Hi(n, e) {
2037
2078
  if (e.data && e.data.estree && n.evaluater) {
2038
2079
  const r = e.data.estree.body[0];
2039
2080
  return (
@@ -2041,31 +2082,31 @@ function Bi(n, e) {
2041
2082
  n.evaluater.evaluateExpression(r.expression)
2042
2083
  );
2043
2084
  }
2044
- qn(n, e.position);
2085
+ Wn(n, e.position);
2045
2086
  }
2046
- function Ui(n, e) {
2087
+ function Vi(n, e) {
2047
2088
  if (e.data && e.data.estree && n.evaluater)
2048
2089
  return (
2049
2090
  /** @type {Child | undefined} */
2050
2091
  n.evaluater.evaluateProgram(e.data.estree)
2051
2092
  );
2052
- qn(n, e.position);
2093
+ Wn(n, e.position);
2053
2094
  }
2054
- function ji(n, e, t) {
2095
+ function qi(n, e, t) {
2055
2096
  const r = n.schema;
2056
2097
  let i = r;
2057
2098
  e.name === "svg" && r.space === "html" && (i = De, n.schema = i), n.ancestors.push(e);
2058
- const l = e.name === null ? n.Fragment : tr(n, e.name, !0), o = Xi(n, e), a = Ue(n, e);
2059
- return er(n, o, l, e), Be(o, a), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
2099
+ const l = e.name === null ? n.Fragment : lr(n, e.name, !0), o = Qi(n, e), a = Ue(n, e);
2100
+ return ir(n, o, l, e), Be(o, a), n.ancestors.pop(), n.schema = r, n.create(e, l, o, t);
2060
2101
  }
2061
- function $i(n, e, t) {
2102
+ function Wi(n, e, t) {
2062
2103
  const r = {};
2063
2104
  return Be(r, Ue(n, e)), n.create(e, n.Fragment, r, t);
2064
2105
  }
2065
- function Hi(n, e) {
2106
+ function Xi(n, e) {
2066
2107
  return e.value;
2067
2108
  }
2068
- function er(n, e, t, r) {
2109
+ function ir(n, e, t, r) {
2069
2110
  typeof t != "string" && t !== n.Fragment && n.passNode && (e.node = r);
2070
2111
  }
2071
2112
  function Be(n, e) {
@@ -2074,14 +2115,14 @@ function Be(n, e) {
2074
2115
  t && (n.children = t);
2075
2116
  }
2076
2117
  }
2077
- function Vi(n, e, t) {
2118
+ function Gi(n, e, t) {
2078
2119
  return r;
2079
2120
  function r(i, l, o, a) {
2080
2121
  const u = Array.isArray(o.children) ? t : e;
2081
2122
  return a ? u(l, o, a) : u(l, o);
2082
2123
  }
2083
2124
  }
2084
- function qi(n, e) {
2125
+ function Yi(n, e) {
2085
2126
  return t;
2086
2127
  function t(r, i, l, o) {
2087
2128
  const a = Array.isArray(l.children), s = Oe(r);
@@ -2099,15 +2140,15 @@ function qi(n, e) {
2099
2140
  );
2100
2141
  }
2101
2142
  }
2102
- function Wi(n, e) {
2143
+ function Ki(n, e) {
2103
2144
  const t = {};
2104
2145
  let r, i;
2105
2146
  for (i in e.properties)
2106
2147
  if (i !== "children" && Fe.call(e.properties, i)) {
2107
- const l = Gi(n, i, e.properties[i]);
2148
+ const l = Ji(n, i, e.properties[i]);
2108
2149
  if (l) {
2109
2150
  const [o, a] = l;
2110
- n.tableCellAlignToStyle && o === "align" && typeof a == "string" && Di.has(e.tagName) ? r = a : t[o] = a;
2151
+ n.tableCellAlignToStyle && o === "align" && typeof a == "string" && Ui.has(e.tagName) ? r = a : t[o] = a;
2111
2152
  }
2112
2153
  }
2113
2154
  if (r) {
@@ -2119,7 +2160,7 @@ function Wi(n, e) {
2119
2160
  }
2120
2161
  return t;
2121
2162
  }
2122
- function Xi(n, e) {
2163
+ function Qi(n, e) {
2123
2164
  const t = {};
2124
2165
  for (const r of e.attributes)
2125
2166
  if (r.type === "mdxJsxExpressionAttribute")
@@ -2130,7 +2171,7 @@ function Xi(n, e) {
2130
2171
  n.evaluater.evaluateExpression(a.argument)
2131
2172
  );
2132
2173
  } else
2133
- qn(n, e.position);
2174
+ Wn(n, e.position);
2134
2175
  else {
2135
2176
  const i = r.name;
2136
2177
  let l;
@@ -2139,7 +2180,7 @@ function Xi(n, e) {
2139
2180
  const a = r.value.data.estree.body[0];
2140
2181
  l = n.evaluater.evaluateExpression(a.expression);
2141
2182
  } else
2142
- qn(n, e.position);
2183
+ Wn(n, e.position);
2143
2184
  else
2144
2185
  l = r.value === null ? !0 : r.value;
2145
2186
  t[i] = /** @type {Props[keyof Props]} */
@@ -2150,7 +2191,7 @@ function Xi(n, e) {
2150
2191
  function Ue(n, e) {
2151
2192
  const t = [];
2152
2193
  let r = -1;
2153
- const i = n.passKeys ? /* @__PURE__ */ new Map() : Ni;
2194
+ const i = n.passKeys ? /* @__PURE__ */ new Map() : Oi;
2154
2195
  for (; ++r < e.children.length; ) {
2155
2196
  const l = e.children[r];
2156
2197
  let o;
@@ -2161,27 +2202,27 @@ function Ue(n, e) {
2161
2202
  o = s + "-" + u, i.set(s, u + 1);
2162
2203
  }
2163
2204
  }
2164
- const a = nr(n, l, o);
2205
+ const a = rr(n, l, o);
2165
2206
  a !== void 0 && t.push(a);
2166
2207
  }
2167
2208
  return t;
2168
2209
  }
2169
- function Gi(n, e, t) {
2170
- const r = Si(n.schema, e);
2210
+ function Ji(n, e, t) {
2211
+ const r = Pi(n.schema, e);
2171
2212
  if (!(t == null || typeof t == "number" && Number.isNaN(t))) {
2172
- if (Array.isArray(t) && (t = r.commaSeparated ? ci(t) : Xr(t)), r.property === "style") {
2173
- let i = typeof t == "object" ? t : Yi(n, String(t));
2174
- return n.stylePropertyNameCase === "css" && (i = Ki(i)), ["style", i];
2213
+ if (Array.isArray(t) && (t = r.commaSeparated ? mi(t) : Qr(t)), r.property === "style") {
2214
+ let i = typeof t == "object" ? t : Zi(n, String(t));
2215
+ return n.stylePropertyNameCase === "css" && (i = nl(i)), ["style", i];
2175
2216
  }
2176
2217
  return [
2177
- n.elementAttributeNameCase === "react" && r.space ? xi[r.property] || r.property : r.attribute,
2218
+ n.elementAttributeNameCase === "react" && r.space ? Ci[r.property] || r.property : r.attribute,
2178
2219
  t
2179
2220
  ];
2180
2221
  }
2181
2222
  }
2182
- function Yi(n, e) {
2223
+ function Zi(n, e) {
2183
2224
  try {
2184
- return _i(e, { reactCompat: !0 });
2225
+ return Ri(e, { reactCompat: !0 });
2185
2226
  } catch (t) {
2186
2227
  if (n.ignoreInvalidStyle)
2187
2228
  return {};
@@ -2194,10 +2235,10 @@ function Yi(n, e) {
2194
2235
  ruleId: "style",
2195
2236
  source: "hast-util-to-jsx-runtime"
2196
2237
  });
2197
- throw i.file = n.filePath || void 0, i.url = Zt + "#cannot-parse-style-attribute", i;
2238
+ throw i.file = n.filePath || void 0, i.url = tr + "#cannot-parse-style-attribute", i;
2198
2239
  }
2199
2240
  }
2200
- function tr(n, e, t) {
2241
+ function lr(n, e, t) {
2201
2242
  let r;
2202
2243
  if (!t)
2203
2244
  r = { type: "Literal", value: e };
@@ -2226,9 +2267,9 @@ function tr(n, e, t) {
2226
2267
  }
2227
2268
  if (n.evaluater)
2228
2269
  return n.evaluater.evaluateExpression(r);
2229
- qn(n);
2270
+ Wn(n);
2230
2271
  }
2231
- function qn(n, e) {
2272
+ function Wn(n, e) {
2232
2273
  const t = new Y(
2233
2274
  "Cannot handle MDX estrees without `createEvaluater`",
2234
2275
  {
@@ -2238,39 +2279,39 @@ function qn(n, e) {
2238
2279
  source: "hast-util-to-jsx-runtime"
2239
2280
  }
2240
2281
  );
2241
- throw t.file = n.filePath || void 0, t.url = Zt + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2282
+ throw t.file = n.filePath || void 0, t.url = tr + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2242
2283
  }
2243
- function Ki(n) {
2284
+ function nl(n) {
2244
2285
  const e = {};
2245
2286
  let t;
2246
2287
  for (t in n)
2247
- Fe.call(n, t) && (e[Qi(t)] = n[t]);
2288
+ Fe.call(n, t) && (e[el(t)] = n[t]);
2248
2289
  return e;
2249
2290
  }
2250
- function Qi(n) {
2251
- let e = n.replace(vi, Ji);
2291
+ function el(n) {
2292
+ let e = n.replace(Fi, tl);
2252
2293
  return e.slice(0, 3) === "ms-" && (e = "-" + e), e;
2253
2294
  }
2254
- function Ji(n) {
2295
+ function tl(n) {
2255
2296
  return "-" + n.toLowerCase();
2256
2297
  }
2257
- function Zi(n) {
2298
+ function rl(n) {
2258
2299
  const e = (
2259
2300
  /** @type {Processor} */
2260
2301
  this
2261
2302
  );
2262
2303
  e.compiler = t;
2263
2304
  function t(r, i) {
2264
- return Oi(r, { filePath: i.path, ...n });
2305
+ return ji(r, { filePath: i.path, ...n });
2265
2306
  }
2266
2307
  }
2267
- const nl = {};
2268
- function el(n, e) {
2269
- const t = nl, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2270
- return rr(n, r, i);
2308
+ const il = {};
2309
+ function ll(n, e) {
2310
+ const t = il, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2311
+ return or(n, r, i);
2271
2312
  }
2272
- function rr(n, e, t) {
2273
- if (tl(n)) {
2313
+ function or(n, e, t) {
2314
+ if (ol(n)) {
2274
2315
  if ("value" in n)
2275
2316
  return n.type === "html" && !t ? "" : n.value;
2276
2317
  if (e && "alt" in n && n.alt)
@@ -2284,10 +2325,10 @@ function ht(n, e, t) {
2284
2325
  const r = [];
2285
2326
  let i = -1;
2286
2327
  for (; ++i < n.length; )
2287
- r[i] = rr(n[i], e, t);
2328
+ r[i] = or(n[i], e, t);
2288
2329
  return r.join("");
2289
2330
  }
2290
- function tl(n) {
2331
+ function ol(n) {
2291
2332
  return !!(n && typeof n == "object");
2292
2333
  }
2293
2334
  const mt = document.createElement("i");
@@ -2314,14 +2355,14 @@ function tn(n, e) {
2314
2355
  return n.length > 0 ? (cn(n, n.length, 0, e), n) : e;
2315
2356
  }
2316
2357
  const dt = {}.hasOwnProperty;
2317
- function rl(n) {
2358
+ function al(n) {
2318
2359
  const e = {};
2319
2360
  let t = -1;
2320
2361
  for (; ++t < n.length; )
2321
- il(e, n[t]);
2362
+ ul(e, n[t]);
2322
2363
  return e;
2323
2364
  }
2324
- function il(n, e) {
2365
+ function ul(n, e) {
2325
2366
  let t;
2326
2367
  for (t in e) {
2327
2368
  const i = (dt.call(n, t) ? n[t] : void 0) || (n[t] = {}), l = e[t];
@@ -2330,7 +2371,7 @@ function il(n, e) {
2330
2371
  for (o in l) {
2331
2372
  dt.call(i, o) || (i[o] = []);
2332
2373
  const a = l[o];
2333
- ll(
2374
+ sl(
2334
2375
  // @ts-expect-error Looks like a list.
2335
2376
  i[o],
2336
2377
  Array.isArray(a) ? a : a ? [a] : []
@@ -2338,14 +2379,14 @@ function il(n, e) {
2338
2379
  }
2339
2380
  }
2340
2381
  }
2341
- function ll(n, e) {
2382
+ function sl(n, e) {
2342
2383
  let t = -1;
2343
2384
  const r = [];
2344
2385
  for (; ++t < e.length; )
2345
2386
  (e[t].add === "after" ? n : r).push(e[t]);
2346
2387
  cn(n, 0, 0, r);
2347
2388
  }
2348
- function ir(n, e) {
2389
+ function ar(n, e) {
2349
2390
  const t = Number.parseInt(n, e);
2350
2391
  return (
2351
2392
  // C0 except for HT, LF, FF, CR, space.
@@ -2358,18 +2399,18 @@ function ir(n, e) {
2358
2399
  t > 1114111 ? "�" : String.fromCodePoint(t)
2359
2400
  );
2360
2401
  }
2361
- function Ln(n) {
2402
+ function zn(n) {
2362
2403
  return n.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
2363
2404
  }
2364
- const sn = yn(/[A-Za-z]/), en = yn(/[\dA-Za-z]/), ol = yn(/[#-'*+\--9=?A-Z^-~]/);
2365
- function Ce(n) {
2405
+ const sn = yn(/[A-Za-z]/), en = yn(/[\dA-Za-z]/), cl = yn(/[#-'*+\--9=?A-Z^-~]/);
2406
+ function Ie(n) {
2366
2407
  return (
2367
2408
  // Special whitespace codes (which have negative values), C0 and Control
2368
2409
  // character DEL
2369
2410
  n !== null && (n < 32 || n === 127)
2370
2411
  );
2371
2412
  }
2372
- const Ie = yn(/\d/), al = yn(/[\dA-Fa-f]/), ul = yn(/[!-/:-@[-`{-~]/);
2413
+ const Ee = yn(/\d/), fl = yn(/[\dA-Fa-f]/), pl = yn(/[!-/:-@[-`{-~]/);
2373
2414
  function z(n) {
2374
2415
  return n !== null && n < -2;
2375
2416
  }
@@ -2379,14 +2420,14 @@ function Q(n) {
2379
2420
  function D(n) {
2380
2421
  return n === -2 || n === -1 || n === 32;
2381
2422
  }
2382
- const sl = yn(new RegExp("\\p{P}|\\p{S}", "u")), cl = yn(/\s/);
2423
+ const hl = yn(new RegExp("\\p{P}|\\p{S}", "u")), ml = yn(/\s/);
2383
2424
  function yn(n) {
2384
2425
  return e;
2385
2426
  function e(t) {
2386
2427
  return t !== null && t > -1 && n.test(String.fromCharCode(t));
2387
2428
  }
2388
2429
  }
2389
- function _n(n) {
2430
+ function Nn(n) {
2390
2431
  const e = [];
2391
2432
  let t = -1, r = 0, i = 0;
2392
2433
  for (; ++t < n.length; ) {
@@ -2416,10 +2457,10 @@ function H(n, e, t, r) {
2416
2457
  return D(s) && l++ < i ? (n.consume(s), a) : (n.exit(t), e(s));
2417
2458
  }
2418
2459
  }
2419
- const fl = {
2420
- tokenize: pl
2460
+ const dl = {
2461
+ tokenize: gl
2421
2462
  };
2422
- function pl(n) {
2463
+ function gl(n) {
2423
2464
  const e = n.attempt(this.parser.constructs.contentInitial, r, i);
2424
2465
  let t;
2425
2466
  return e;
@@ -2448,12 +2489,12 @@ function pl(n) {
2448
2489
  return z(a) ? (n.consume(a), n.exit("chunkText"), l) : (n.consume(a), o);
2449
2490
  }
2450
2491
  }
2451
- const hl = {
2452
- tokenize: ml
2492
+ const yl = {
2493
+ tokenize: kl
2453
2494
  }, gt = {
2454
- tokenize: dl
2495
+ tokenize: xl
2455
2496
  };
2456
- function ml(n) {
2497
+ function kl(n) {
2457
2498
  const e = this, t = [];
2458
2499
  let r = 0, i, l, o;
2459
2500
  return a;
@@ -2519,12 +2560,12 @@ function ml(n) {
2519
2560
  }
2520
2561
  function b(C) {
2521
2562
  if (C === null) {
2522
- L(n.exit("chunkFlow"), !0), x(0), n.consume(C);
2563
+ _(n.exit("chunkFlow"), !0), x(0), n.consume(C);
2523
2564
  return;
2524
2565
  }
2525
- return z(C) ? (n.consume(C), L(n.exit("chunkFlow")), r = 0, e.interrupt = void 0, a) : (n.consume(C), b);
2566
+ return z(C) ? (n.consume(C), _(n.exit("chunkFlow")), r = 0, e.interrupt = void 0, a) : (n.consume(C), b);
2526
2567
  }
2527
- function L(C, B) {
2568
+ function _(C, B) {
2528
2569
  const j = e.sliceStream(C);
2529
2570
  if (B && j.push(null), C.previous = l, l && (l.next = C), l = C, i.defineSkip(C.start), i.write(j), e.parser.lazy[C.start.line]) {
2530
2571
  let y = i.events.length;
@@ -2565,13 +2606,13 @@ function ml(n) {
2565
2606
  i.write([null]), l = void 0, i = void 0, e.containerState._closeFlow = void 0;
2566
2607
  }
2567
2608
  }
2568
- function dl(n, e, t) {
2609
+ function xl(n, e, t) {
2569
2610
  return H(n, n.attempt(this.parser.constructs.document, e, t), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
2570
2611
  }
2571
2612
  function yt(n) {
2572
- if (n === null || Q(n) || cl(n))
2613
+ if (n === null || Q(n) || ml(n))
2573
2614
  return 1;
2574
- if (sl(n))
2615
+ if (hl(n))
2575
2616
  return 2;
2576
2617
  }
2577
2618
  function $e(n, e, t) {
@@ -2583,12 +2624,12 @@ function $e(n, e, t) {
2583
2624
  }
2584
2625
  return e;
2585
2626
  }
2586
- const Ee = {
2627
+ const Pe = {
2587
2628
  name: "attention",
2588
- resolveAll: gl,
2589
- tokenize: yl
2629
+ resolveAll: bl,
2630
+ tokenize: wl
2590
2631
  };
2591
- function gl(n, e) {
2632
+ function bl(n, e) {
2592
2633
  let t = -1, r, i, l, o, a, s, u, c;
2593
2634
  for (; ++t < n.length; )
2594
2635
  if (n[t][0] === "enter" && n[t][1].type === "attentionSequence" && n[t][1]._close) {
@@ -2643,7 +2684,7 @@ function gl(n, e) {
2643
2684
  n[t][1].type === "attentionSequence" && (n[t][1].type = "data");
2644
2685
  return n;
2645
2686
  }
2646
- function yl(n, e) {
2687
+ function wl(n, e) {
2647
2688
  const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = yt(r);
2648
2689
  let l;
2649
2690
  return o;
@@ -2660,11 +2701,11 @@ function yl(n, e) {
2660
2701
  function kt(n, e) {
2661
2702
  n.column += e, n.offset += e, n._bufferIndex += e;
2662
2703
  }
2663
- const kl = {
2704
+ const Sl = {
2664
2705
  name: "autolink",
2665
- tokenize: xl
2706
+ tokenize: Cl
2666
2707
  };
2667
- function xl(n, e, t) {
2708
+ function Cl(n, e, t) {
2668
2709
  let r = 0;
2669
2710
  return i;
2670
2711
  function i(p) {
@@ -2680,10 +2721,10 @@ function xl(n, e, t) {
2680
2721
  return p === 58 ? (n.consume(p), r = 0, s) : (p === 43 || p === 45 || p === 46 || en(p)) && r++ < 32 ? (n.consume(p), a) : (r = 0, u(p));
2681
2722
  }
2682
2723
  function s(p) {
2683
- return p === 62 ? (n.exit("autolinkProtocol"), n.enter("autolinkMarker"), n.consume(p), n.exit("autolinkMarker"), n.exit("autolink"), e) : p === null || p === 32 || p === 60 || Ce(p) ? t(p) : (n.consume(p), s);
2724
+ return p === 62 ? (n.exit("autolinkProtocol"), n.enter("autolinkMarker"), n.consume(p), n.exit("autolinkMarker"), n.exit("autolink"), e) : p === null || p === 32 || p === 60 || Ie(p) ? t(p) : (n.consume(p), s);
2684
2725
  }
2685
2726
  function u(p) {
2686
- return p === 64 ? (n.consume(p), c) : ol(p) ? (n.consume(p), u) : t(p);
2727
+ return p === 64 ? (n.consume(p), c) : cl(p) ? (n.consume(p), u) : t(p);
2687
2728
  }
2688
2729
  function c(p) {
2689
2730
  return en(p) ? f(p) : t(p);
@@ -2699,11 +2740,11 @@ function xl(n, e, t) {
2699
2740
  return t(p);
2700
2741
  }
2701
2742
  }
2702
- const re = {
2743
+ const ie = {
2703
2744
  partial: !0,
2704
- tokenize: bl
2745
+ tokenize: Il
2705
2746
  };
2706
- function bl(n, e, t) {
2747
+ function Il(n, e, t) {
2707
2748
  return r;
2708
2749
  function r(l) {
2709
2750
  return D(l) ? H(n, i, "linePrefix")(l) : i(l);
@@ -2712,15 +2753,15 @@ function bl(n, e, t) {
2712
2753
  return l === null || z(l) ? e(l) : t(l);
2713
2754
  }
2714
2755
  }
2715
- const lr = {
2756
+ const ur = {
2716
2757
  continuation: {
2717
- tokenize: Sl
2758
+ tokenize: Pl
2718
2759
  },
2719
- exit: Cl,
2760
+ exit: Al,
2720
2761
  name: "blockQuote",
2721
- tokenize: wl
2762
+ tokenize: El
2722
2763
  };
2723
- function wl(n, e, t) {
2764
+ function El(n, e, t) {
2724
2765
  const r = this;
2725
2766
  return i;
2726
2767
  function i(o) {
@@ -2736,37 +2777,37 @@ function wl(n, e, t) {
2736
2777
  return D(o) ? (n.enter("blockQuotePrefixWhitespace"), n.consume(o), n.exit("blockQuotePrefixWhitespace"), n.exit("blockQuotePrefix"), e) : (n.exit("blockQuotePrefix"), e(o));
2737
2778
  }
2738
2779
  }
2739
- function Sl(n, e, t) {
2780
+ function Pl(n, e, t) {
2740
2781
  const r = this;
2741
2782
  return i;
2742
2783
  function i(o) {
2743
2784
  return D(o) ? H(n, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : l(o);
2744
2785
  }
2745
2786
  function l(o) {
2746
- return n.attempt(lr, e, t)(o);
2787
+ return n.attempt(ur, e, t)(o);
2747
2788
  }
2748
2789
  }
2749
- function Cl(n) {
2790
+ function Al(n) {
2750
2791
  n.exit("blockQuote");
2751
2792
  }
2752
- const or = {
2793
+ const sr = {
2753
2794
  name: "characterEscape",
2754
- tokenize: Il
2795
+ tokenize: Tl
2755
2796
  };
2756
- function Il(n, e, t) {
2797
+ function Tl(n, e, t) {
2757
2798
  return r;
2758
2799
  function r(l) {
2759
2800
  return n.enter("characterEscape"), n.enter("escapeMarker"), n.consume(l), n.exit("escapeMarker"), i;
2760
2801
  }
2761
2802
  function i(l) {
2762
- return ul(l) ? (n.enter("characterEscapeValue"), n.consume(l), n.exit("characterEscapeValue"), n.exit("characterEscape"), e) : t(l);
2803
+ return pl(l) ? (n.enter("characterEscapeValue"), n.consume(l), n.exit("characterEscapeValue"), n.exit("characterEscape"), e) : t(l);
2763
2804
  }
2764
2805
  }
2765
- const ar = {
2806
+ const cr = {
2766
2807
  name: "characterReference",
2767
- tokenize: El
2808
+ tokenize: _l
2768
2809
  };
2769
- function El(n, e, t) {
2810
+ function _l(n, e, t) {
2770
2811
  const r = this;
2771
2812
  let i = 0, l, o;
2772
2813
  return a;
@@ -2777,7 +2818,7 @@ function El(n, e, t) {
2777
2818
  return f === 35 ? (n.enter("characterReferenceMarkerNumeric"), n.consume(f), n.exit("characterReferenceMarkerNumeric"), u) : (n.enter("characterReferenceValue"), l = 31, o = en, c(f));
2778
2819
  }
2779
2820
  function u(f) {
2780
- return f === 88 || f === 120 ? (n.enter("characterReferenceMarkerHexadecimal"), n.consume(f), n.exit("characterReferenceMarkerHexadecimal"), n.enter("characterReferenceValue"), l = 6, o = al, c) : (n.enter("characterReferenceValue"), l = 7, o = Ie, c(f));
2821
+ return f === 88 || f === 120 ? (n.enter("characterReferenceMarkerHexadecimal"), n.consume(f), n.exit("characterReferenceMarkerHexadecimal"), n.enter("characterReferenceValue"), l = 6, o = fl, c) : (n.enter("characterReferenceValue"), l = 7, o = Ee, c(f));
2781
2822
  }
2782
2823
  function c(f) {
2783
2824
  if (f === 59 && i) {
@@ -2789,13 +2830,13 @@ function El(n, e, t) {
2789
2830
  }
2790
2831
  const xt = {
2791
2832
  partial: !0,
2792
- tokenize: Al
2833
+ tokenize: Ll
2793
2834
  }, bt = {
2794
2835
  concrete: !0,
2795
2836
  name: "codeFenced",
2796
- tokenize: Pl
2837
+ tokenize: zl
2797
2838
  };
2798
- function Pl(n, e, t) {
2839
+ function zl(n, e, t) {
2799
2840
  const r = this, i = {
2800
2841
  partial: !0,
2801
2842
  tokenize: j
@@ -2829,9 +2870,9 @@ function Pl(n, e, t) {
2829
2870
  return y === null || z(y) ? (n.exit("chunkString"), n.exit("codeFencedFenceMeta"), f(y)) : y === 96 && y === a ? t(y) : (n.consume(y), w);
2830
2871
  }
2831
2872
  function b(y) {
2832
- return n.attempt(i, B, L)(y);
2873
+ return n.attempt(i, B, _)(y);
2833
2874
  }
2834
- function L(y) {
2875
+ function _(y) {
2835
2876
  return n.enter("lineEnding"), n.consume(y), n.exit("lineEnding"), x;
2836
2877
  }
2837
2878
  function x(y) {
@@ -2849,24 +2890,24 @@ function Pl(n, e, t) {
2849
2890
  function j(y, R, V) {
2850
2891
  let O = 0;
2851
2892
  return F;
2852
- function F(_) {
2853
- return y.enter("lineEnding"), y.consume(_), y.exit("lineEnding"), A;
2893
+ function F(L) {
2894
+ return y.enter("lineEnding"), y.consume(L), y.exit("lineEnding"), A;
2854
2895
  }
2855
- function A(_) {
2856
- return y.enter("codeFencedFence"), D(_) ? H(y, E, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(_) : E(_);
2896
+ function A(L) {
2897
+ return y.enter("codeFencedFence"), D(L) ? H(y, E, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : E(L);
2857
2898
  }
2858
- function E(_) {
2859
- return _ === a ? (y.enter("codeFencedFenceSequence"), P(_)) : V(_);
2899
+ function E(L) {
2900
+ return L === a ? (y.enter("codeFencedFenceSequence"), P(L)) : V(L);
2860
2901
  }
2861
- function P(_) {
2862
- return _ === a ? (O++, y.consume(_), P) : O >= o ? (y.exit("codeFencedFenceSequence"), D(_) ? H(y, I, "whitespace")(_) : I(_)) : V(_);
2902
+ function P(L) {
2903
+ return L === a ? (O++, y.consume(L), P) : O >= o ? (y.exit("codeFencedFenceSequence"), D(L) ? H(y, I, "whitespace")(L) : I(L)) : V(L);
2863
2904
  }
2864
- function I(_) {
2865
- return _ === null || z(_) ? (y.exit("codeFencedFence"), R(_)) : V(_);
2905
+ function I(L) {
2906
+ return L === null || z(L) ? (y.exit("codeFencedFence"), R(L)) : V(L);
2866
2907
  }
2867
2908
  }
2868
2909
  }
2869
- function Al(n, e, t) {
2910
+ function Ll(n, e, t) {
2870
2911
  const r = this;
2871
2912
  return i;
2872
2913
  function i(o) {
@@ -2876,14 +2917,14 @@ function Al(n, e, t) {
2876
2917
  return r.parser.lazy[r.now().line] ? t(o) : e(o);
2877
2918
  }
2878
2919
  }
2879
- const ue = {
2920
+ const se = {
2880
2921
  name: "codeIndented",
2881
- tokenize: Ll
2882
- }, Tl = {
2922
+ tokenize: Ml
2923
+ }, Nl = {
2883
2924
  partial: !0,
2884
- tokenize: zl
2925
+ tokenize: vl
2885
2926
  };
2886
- function Ll(n, e, t) {
2927
+ function Ml(n, e, t) {
2887
2928
  const r = this;
2888
2929
  return i;
2889
2930
  function i(u) {
@@ -2894,7 +2935,7 @@ function Ll(n, e, t) {
2894
2935
  return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? o(u) : t(u);
2895
2936
  }
2896
2937
  function o(u) {
2897
- return u === null ? s(u) : z(u) ? n.attempt(Tl, o, s)(u) : (n.enter("codeFlowValue"), a(u));
2938
+ return u === null ? s(u) : z(u) ? n.attempt(Nl, o, s)(u) : (n.enter("codeFlowValue"), a(u));
2898
2939
  }
2899
2940
  function a(u) {
2900
2941
  return u === null || z(u) ? (n.exit("codeFlowValue"), o(u)) : (n.consume(u), a);
@@ -2903,7 +2944,7 @@ function Ll(n, e, t) {
2903
2944
  return n.exit("codeIndented"), e(u);
2904
2945
  }
2905
2946
  }
2906
- function zl(n, e, t) {
2947
+ function vl(n, e, t) {
2907
2948
  const r = this;
2908
2949
  return i;
2909
2950
  function i(o) {
@@ -2914,13 +2955,13 @@ function zl(n, e, t) {
2914
2955
  return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? e(o) : z(o) ? i(o) : t(o);
2915
2956
  }
2916
2957
  }
2917
- const _l = {
2958
+ const Rl = {
2918
2959
  name: "codeText",
2919
- previous: Nl,
2920
- resolve: Ml,
2921
- tokenize: vl
2960
+ previous: Ol,
2961
+ resolve: Dl,
2962
+ tokenize: Fl
2922
2963
  };
2923
- function Ml(n) {
2964
+ function Dl(n) {
2924
2965
  let e = n.length - 4, t = 3, r, i;
2925
2966
  if ((n[t][1].type === "lineEnding" || n[t][1].type === "space") && (n[e][1].type === "lineEnding" || n[e][1].type === "space")) {
2926
2967
  for (r = t; ++r < e; )
@@ -2933,10 +2974,10 @@ function Ml(n) {
2933
2974
  i === void 0 ? r !== e && n[r][1].type !== "lineEnding" && (i = r) : (r === e || n[r][1].type === "lineEnding") && (n[i][1].type = "codeTextData", r !== i + 2 && (n[i][1].end = n[r - 1][1].end, n.splice(i + 2, r - i - 2), e -= r - i - 2, r = i + 2), i = void 0);
2934
2975
  return n;
2935
2976
  }
2936
- function Nl(n) {
2977
+ function Ol(n) {
2937
2978
  return n !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
2938
2979
  }
2939
- function vl(n, e, t) {
2980
+ function Fl(n, e, t) {
2940
2981
  let r = 0, i, l;
2941
2982
  return o;
2942
2983
  function o(f) {
@@ -2955,7 +2996,7 @@ function vl(n, e, t) {
2955
2996
  return f === 96 ? (n.consume(f), i++, c) : i === r ? (n.exit("codeTextSequence"), n.exit("codeText"), e(f)) : (l.type = "codeTextData", u(f));
2956
2997
  }
2957
2998
  }
2958
- class Rl {
2999
+ class Bl {
2959
3000
  /**
2960
3001
  * @param {ReadonlyArray<T> | null | undefined} [initial]
2961
3002
  * Initial items (optional).
@@ -3035,7 +3076,7 @@ class Rl {
3035
3076
  const i = t || 0;
3036
3077
  this.setCursor(Math.trunc(e));
3037
3078
  const l = this.right.splice(this.right.length - i, Number.POSITIVE_INFINITY);
3038
- return r && Un(this.left, r), l.reverse();
3079
+ return r && jn(this.left, r), l.reverse();
3039
3080
  }
3040
3081
  /**
3041
3082
  * Remove and return the highest-numbered item in the array, so
@@ -3070,7 +3111,7 @@ class Rl {
3070
3111
  * Nothing.
3071
3112
  */
3072
3113
  pushMany(e) {
3073
- this.setCursor(Number.POSITIVE_INFINITY), Un(this.left, e);
3114
+ this.setCursor(Number.POSITIVE_INFINITY), jn(this.left, e);
3074
3115
  }
3075
3116
  /**
3076
3117
  * Inserts a single item to the low-numbered side of the array;
@@ -3094,7 +3135,7 @@ class Rl {
3094
3135
  * Nothing.
3095
3136
  */
3096
3137
  unshiftMany(e) {
3097
- this.setCursor(0), Un(this.right, e.reverse());
3138
+ this.setCursor(0), jn(this.right, e.reverse());
3098
3139
  }
3099
3140
  /**
3100
3141
  * Move the cursor to a specific position in the array. Requires
@@ -3112,14 +3153,14 @@ class Rl {
3112
3153
  if (!(e === this.left.length || e > this.left.length && this.right.length === 0 || e < 0 && this.left.length === 0))
3113
3154
  if (e < this.left.length) {
3114
3155
  const t = this.left.splice(e, Number.POSITIVE_INFINITY);
3115
- Un(this.right, t.reverse());
3156
+ jn(this.right, t.reverse());
3116
3157
  } else {
3117
3158
  const t = this.right.splice(this.left.length + this.right.length - e, Number.POSITIVE_INFINITY);
3118
- Un(this.left, t.reverse());
3159
+ jn(this.left, t.reverse());
3119
3160
  }
3120
3161
  }
3121
3162
  }
3122
- function Un(n, e) {
3163
+ function jn(n, e) {
3123
3164
  let t = 0;
3124
3165
  if (e.length < 1e4)
3125
3166
  n.push(...e);
@@ -3127,10 +3168,10 @@ function Un(n, e) {
3127
3168
  for (; t < e.length; )
3128
3169
  n.push(...e.slice(t, t + 1e4)), t += 1e4;
3129
3170
  }
3130
- function ur(n) {
3171
+ function fr(n) {
3131
3172
  const e = {};
3132
3173
  let t = -1, r, i, l, o, a, s, u;
3133
- const c = new Rl(n);
3174
+ const c = new Bl(n);
3134
3175
  for (; ++t < c.length; ) {
3135
3176
  for (; t in e; )
3136
3177
  t = e[t];
@@ -3138,7 +3179,7 @@ function ur(n) {
3138
3179
  for (; ++l < s.length && s[l][1].type !== "content"; )
3139
3180
  s[l][1].type === "chunkText" && (s[l][1]._isInFirstContentOfListItem = !0, l++);
3140
3181
  if (r[0] === "enter")
3141
- r[1].contentType && (Object.assign(e, Dl(c, t)), t = e[t], u = !0);
3182
+ r[1].contentType && (Object.assign(e, Ul(c, t)), t = e[t], u = !0);
3142
3183
  else if (r[1]._container) {
3143
3184
  for (l = t, i = void 0; l--; )
3144
3185
  if (o = c.get(l), o[1].type === "lineEnding" || o[1].type === "lineEndingBlank")
@@ -3151,7 +3192,7 @@ function ur(n) {
3151
3192
  }
3152
3193
  return cn(n, 0, Number.POSITIVE_INFINITY, c.slice(0)), !u;
3153
3194
  }
3154
- function Dl(n, e) {
3195
+ function Ul(n, e) {
3155
3196
  const t = n.get(e)[1], r = n.get(e)[2];
3156
3197
  let i = e - 1;
3157
3198
  const l = [];
@@ -3159,7 +3200,7 @@ function Dl(n, e) {
3159
3200
  o || (o = r.parser[t.contentType](t.start), t._contentTypeTextTrailing && (o._contentTypeTextTrailing = !0));
3160
3201
  const a = o.events, s = [], u = {};
3161
3202
  let c, f, d = -1, p = t, w = 0, b = 0;
3162
- const L = [b];
3203
+ const _ = [b];
3163
3204
  for (; p; ) {
3164
3205
  for (; n.get(++i)[1] !== p; )
3165
3206
  ;
@@ -3167,26 +3208,26 @@ function Dl(n, e) {
3167
3208
  }
3168
3209
  for (p = t; ++d < a.length; )
3169
3210
  // Find a void token that includes a break.
3170
- 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 && (b = d + 1, L.push(b), p._tokenizer = void 0, p.previous = void 0, p = p.next);
3171
- for (o.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : L.pop(), d = L.length; d--; ) {
3172
- const x = a.slice(L[d], L[d + 1]), T = l.pop();
3211
+ 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 && (b = d + 1, _.push(b), p._tokenizer = void 0, p.previous = void 0, p = p.next);
3212
+ for (o.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : _.pop(), d = _.length; d--; ) {
3213
+ const x = a.slice(_[d], _[d + 1]), T = l.pop();
3173
3214
  s.push([T, T + x.length - 1]), n.splice(T, 2, x);
3174
3215
  }
3175
3216
  for (s.reverse(), d = -1; ++d < s.length; )
3176
3217
  u[w + s[d][0]] = w + s[d][1], w += s[d][1] - s[d][0] - 1;
3177
3218
  return u;
3178
3219
  }
3179
- const Ol = {
3180
- resolve: Bl,
3181
- tokenize: Ul
3182
- }, Fl = {
3220
+ const jl = {
3221
+ resolve: Hl,
3222
+ tokenize: Vl
3223
+ }, $l = {
3183
3224
  partial: !0,
3184
- tokenize: jl
3225
+ tokenize: ql
3185
3226
  };
3186
- function Bl(n) {
3187
- return ur(n), n;
3227
+ function Hl(n) {
3228
+ return fr(n), n;
3188
3229
  }
3189
- function Ul(n, e) {
3230
+ function Vl(n, e) {
3190
3231
  let t;
3191
3232
  return r;
3192
3233
  function r(a) {
@@ -3195,7 +3236,7 @@ function Ul(n, e) {
3195
3236
  }), i(a);
3196
3237
  }
3197
3238
  function i(a) {
3198
- return a === null ? l(a) : z(a) ? n.check(Fl, o, l)(a) : (n.consume(a), i);
3239
+ return a === null ? l(a) : z(a) ? n.check($l, o, l)(a) : (n.consume(a), i);
3199
3240
  }
3200
3241
  function l(a) {
3201
3242
  return n.exit("chunkContent"), n.exit("content"), e(a);
@@ -3207,7 +3248,7 @@ function Ul(n, e) {
3207
3248
  }), t = t.next, i;
3208
3249
  }
3209
3250
  }
3210
- function jl(n, e, t) {
3251
+ function ql(n, e, t) {
3211
3252
  const r = this;
3212
3253
  return i;
3213
3254
  function i(o) {
@@ -3220,12 +3261,12 @@ function jl(n, e, t) {
3220
3261
  return !r.parser.constructs.disable.null.includes("codeIndented") && a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? e(o) : n.interrupt(r.parser.constructs.flow, t, e)(o);
3221
3262
  }
3222
3263
  }
3223
- function sr(n, e, t, r, i, l, o, a, s) {
3264
+ function pr(n, e, t, r, i, l, o, a, s) {
3224
3265
  const u = s || Number.POSITIVE_INFINITY;
3225
3266
  let c = 0;
3226
3267
  return f;
3227
3268
  function f(x) {
3228
- return x === 60 ? (n.enter(r), n.enter(i), n.enter(l), n.consume(x), n.exit(l), d) : x === null || x === 32 || x === 41 || Ce(x) ? t(x) : (n.enter(r), n.enter(o), n.enter(a), n.enter("chunkString", {
3269
+ return x === 60 ? (n.enter(r), n.enter(i), n.enter(l), n.consume(x), n.exit(l), d) : x === null || x === 32 || x === 41 || Ie(x) ? t(x) : (n.enter(r), n.enter(o), n.enter(a), n.enter("chunkString", {
3229
3270
  contentType: "string"
3230
3271
  }), b(x));
3231
3272
  }
@@ -3241,13 +3282,13 @@ function sr(n, e, t, r, i, l, o, a, s) {
3241
3282
  return x === 60 || x === 62 || x === 92 ? (n.consume(x), p) : p(x);
3242
3283
  }
3243
3284
  function b(x) {
3244
- return !c && (x === null || x === 41 || Q(x)) ? (n.exit("chunkString"), n.exit(a), n.exit(o), n.exit(r), e(x)) : c < u && x === 40 ? (n.consume(x), c++, b) : x === 41 ? (n.consume(x), c--, b) : x === null || x === 32 || x === 40 || Ce(x) ? t(x) : (n.consume(x), x === 92 ? L : b);
3285
+ return !c && (x === null || x === 41 || Q(x)) ? (n.exit("chunkString"), n.exit(a), n.exit(o), n.exit(r), e(x)) : c < u && x === 40 ? (n.consume(x), c++, b) : x === 41 ? (n.consume(x), c--, b) : x === null || x === 32 || x === 40 || Ie(x) ? t(x) : (n.consume(x), x === 92 ? _ : b);
3245
3286
  }
3246
- function L(x) {
3287
+ function _(x) {
3247
3288
  return x === 40 || x === 41 || x === 92 ? (n.consume(x), b) : b(x);
3248
3289
  }
3249
3290
  }
3250
- function cr(n, e, t, r, i, l) {
3291
+ function hr(n, e, t, r, i, l) {
3251
3292
  const o = this;
3252
3293
  let a = 0, s;
3253
3294
  return u;
@@ -3271,7 +3312,7 @@ function cr(n, e, t, r, i, l) {
3271
3312
  return p === 91 || p === 92 || p === 93 ? (n.consume(p), a++, f) : f(p);
3272
3313
  }
3273
3314
  }
3274
- function fr(n, e, t, r, i, l) {
3315
+ function mr(n, e, t, r, i, l) {
3275
3316
  let o;
3276
3317
  return a;
3277
3318
  function a(d) {
@@ -3292,21 +3333,21 @@ function fr(n, e, t, r, i, l) {
3292
3333
  return d === o || d === 92 ? (n.consume(d), c) : c(d);
3293
3334
  }
3294
3335
  }
3295
- function Vn(n, e) {
3336
+ function qn(n, e) {
3296
3337
  let t;
3297
3338
  return r;
3298
3339
  function r(i) {
3299
3340
  return z(i) ? (n.enter("lineEnding"), n.consume(i), n.exit("lineEnding"), t = !0, r) : D(i) ? H(n, r, t ? "linePrefix" : "lineSuffix")(i) : e(i);
3300
3341
  }
3301
3342
  }
3302
- const $l = {
3343
+ const Wl = {
3303
3344
  name: "definition",
3304
- tokenize: Vl
3305
- }, Hl = {
3345
+ tokenize: Gl
3346
+ }, Xl = {
3306
3347
  partial: !0,
3307
- tokenize: ql
3348
+ tokenize: Yl
3308
3349
  };
3309
- function Vl(n, e, t) {
3350
+ function Gl(n, e, t) {
3310
3351
  const r = this;
3311
3352
  let i;
3312
3353
  return l;
@@ -3314,7 +3355,7 @@ function Vl(n, e, t) {
3314
3355
  return n.enter("definition"), o(p);
3315
3356
  }
3316
3357
  function o(p) {
3317
- return cr.call(
3358
+ return hr.call(
3318
3359
  r,
3319
3360
  n,
3320
3361
  a,
@@ -3326,13 +3367,13 @@ function Vl(n, e, t) {
3326
3367
  )(p);
3327
3368
  }
3328
3369
  function a(p) {
3329
- return i = Ln(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), p === 58 ? (n.enter("definitionMarker"), n.consume(p), n.exit("definitionMarker"), s) : t(p);
3370
+ return i = zn(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), p === 58 ? (n.enter("definitionMarker"), n.consume(p), n.exit("definitionMarker"), s) : t(p);
3330
3371
  }
3331
3372
  function s(p) {
3332
- return Q(p) ? Vn(n, u)(p) : u(p);
3373
+ return Q(p) ? qn(n, u)(p) : u(p);
3333
3374
  }
3334
3375
  function u(p) {
3335
- return sr(
3376
+ return pr(
3336
3377
  n,
3337
3378
  c,
3338
3379
  // Note: we don’t need to reset the way `markdown-rs` does.
@@ -3345,7 +3386,7 @@ function Vl(n, e, t) {
3345
3386
  )(p);
3346
3387
  }
3347
3388
  function c(p) {
3348
- return n.attempt(Hl, f, f)(p);
3389
+ return n.attempt(Xl, f, f)(p);
3349
3390
  }
3350
3391
  function f(p) {
3351
3392
  return D(p) ? H(n, d, "whitespace")(p) : d(p);
@@ -3354,13 +3395,13 @@ function Vl(n, e, t) {
3354
3395
  return p === null || z(p) ? (n.exit("definition"), r.parser.defined.push(i), e(p)) : t(p);
3355
3396
  }
3356
3397
  }
3357
- function ql(n, e, t) {
3398
+ function Yl(n, e, t) {
3358
3399
  return r;
3359
3400
  function r(a) {
3360
- return Q(a) ? Vn(n, i)(a) : t(a);
3401
+ return Q(a) ? qn(n, i)(a) : t(a);
3361
3402
  }
3362
3403
  function i(a) {
3363
- return fr(n, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
3404
+ return mr(n, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
3364
3405
  }
3365
3406
  function l(a) {
3366
3407
  return D(a) ? H(n, o, "whitespace")(a) : o(a);
@@ -3369,11 +3410,11 @@ function ql(n, e, t) {
3369
3410
  return a === null || z(a) ? e(a) : t(a);
3370
3411
  }
3371
3412
  }
3372
- const Wl = {
3413
+ const Kl = {
3373
3414
  name: "hardBreakEscape",
3374
- tokenize: Xl
3415
+ tokenize: Ql
3375
3416
  };
3376
- function Xl(n, e, t) {
3417
+ function Ql(n, e, t) {
3377
3418
  return r;
3378
3419
  function r(l) {
3379
3420
  return n.enter("hardBreakEscape"), n.consume(l), i;
@@ -3382,12 +3423,12 @@ function Xl(n, e, t) {
3382
3423
  return z(l) ? (n.exit("hardBreakEscape"), e(l)) : t(l);
3383
3424
  }
3384
3425
  }
3385
- const Gl = {
3426
+ const Jl = {
3386
3427
  name: "headingAtx",
3387
- resolve: Yl,
3388
- tokenize: Kl
3428
+ resolve: Zl,
3429
+ tokenize: no
3389
3430
  };
3390
- function Yl(n, e) {
3431
+ function Zl(n, e) {
3391
3432
  let t = n.length - 2, r = 3, i, l;
3392
3433
  return n[r][1].type === "whitespace" && (r += 2), t - 2 > r && n[t][1].type === "whitespace" && (t -= 2), n[t][1].type === "atxHeadingSequence" && (r === t - 1 || t - 4 > r && n[t - 2][1].type === "whitespace") && (t -= r + 1 === t ? 2 : 4), t > r && (i = {
3393
3434
  type: "atxHeadingText",
@@ -3400,7 +3441,7 @@ function Yl(n, e) {
3400
3441
  contentType: "text"
3401
3442
  }, cn(n, r, t - r + 1, [["enter", i, e], ["enter", l, e], ["exit", l, e], ["exit", i, e]])), n;
3402
3443
  }
3403
- function Kl(n, e, t) {
3444
+ function no(n, e, t) {
3404
3445
  let r = 0;
3405
3446
  return i;
3406
3447
  function i(c) {
@@ -3422,7 +3463,7 @@ function Kl(n, e, t) {
3422
3463
  return c === null || c === 35 || Q(c) ? (n.exit("atxHeadingText"), a(c)) : (n.consume(c), u);
3423
3464
  }
3424
3465
  }
3425
- const Ql = [
3466
+ const eo = [
3426
3467
  "address",
3427
3468
  "article",
3428
3469
  "aside",
@@ -3485,25 +3526,25 @@ const Ql = [
3485
3526
  "tr",
3486
3527
  "track",
3487
3528
  "ul"
3488
- ], wt = ["pre", "script", "style", "textarea"], Jl = {
3529
+ ], wt = ["pre", "script", "style", "textarea"], to = {
3489
3530
  concrete: !0,
3490
3531
  name: "htmlFlow",
3491
- resolveTo: eo,
3492
- tokenize: to
3493
- }, Zl = {
3532
+ resolveTo: lo,
3533
+ tokenize: oo
3534
+ }, ro = {
3494
3535
  partial: !0,
3495
- tokenize: io
3496
- }, no = {
3536
+ tokenize: uo
3537
+ }, io = {
3497
3538
  partial: !0,
3498
- tokenize: ro
3539
+ tokenize: ao
3499
3540
  };
3500
- function eo(n) {
3541
+ function lo(n) {
3501
3542
  let e = n.length;
3502
3543
  for (; e-- && !(n[e][0] === "enter" && n[e][1].type === "htmlFlow"); )
3503
3544
  ;
3504
3545
  return e > 1 && n[e - 2][1].type === "linePrefix" && (n[e][1].start = n[e - 2][1].start, n[e + 1][1].start = n[e - 2][1].start, n.splice(e - 2, 2)), n;
3505
3546
  }
3506
- function to(n, e, t) {
3547
+ function oo(n, e, t) {
3507
3548
  const r = this;
3508
3549
  let i, l, o, a, s;
3509
3550
  return u;
@@ -3514,7 +3555,7 @@ function to(n, e, t) {
3514
3555
  return n.enter("htmlFlow"), n.enter("htmlFlowData"), n.consume(m), f;
3515
3556
  }
3516
3557
  function f(m) {
3517
- return m === 33 ? (n.consume(m), d) : m === 47 ? (n.consume(m), l = !0, b) : m === 63 ? (n.consume(m), i = 3, r.interrupt ? e : h) : sn(m) ? (n.consume(m), o = String.fromCharCode(m), L) : t(m);
3558
+ return m === 33 ? (n.consume(m), d) : m === 47 ? (n.consume(m), l = !0, b) : m === 63 ? (n.consume(m), i = 3, r.interrupt ? e : h) : sn(m) ? (n.consume(m), o = String.fromCharCode(m), _) : t(m);
3518
3559
  }
3519
3560
  function d(m) {
3520
3561
  return m === 45 ? (n.consume(m), i = 2, p) : m === 91 ? (n.consume(m), i = 5, a = 0, w) : sn(m) ? (n.consume(m), i = 4, r.interrupt ? e : h) : t(m);
@@ -3527,14 +3568,14 @@ function to(n, e, t) {
3527
3568
  return m === on.charCodeAt(a++) ? (n.consume(m), a === on.length ? r.interrupt ? e : E : w) : t(m);
3528
3569
  }
3529
3570
  function b(m) {
3530
- return sn(m) ? (n.consume(m), o = String.fromCharCode(m), L) : t(m);
3571
+ return sn(m) ? (n.consume(m), o = String.fromCharCode(m), _) : t(m);
3531
3572
  }
3532
- function L(m) {
3573
+ function _(m) {
3533
3574
  if (m === null || m === 47 || m === 62 || Q(m)) {
3534
3575
  const on = m === 47, kn = o.toLowerCase();
3535
- return !on && !l && wt.includes(kn) ? (i = 1, r.interrupt ? e(m) : E(m)) : Ql.includes(o.toLowerCase()) ? (i = 6, on ? (n.consume(m), x) : r.interrupt ? e(m) : E(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? T(m) : C(m));
3576
+ return !on && !l && wt.includes(kn) ? (i = 1, r.interrupt ? e(m) : E(m)) : eo.includes(o.toLowerCase()) ? (i = 6, on ? (n.consume(m), x) : r.interrupt ? e(m) : E(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? T(m) : C(m));
3536
3577
  }
3537
- return m === 45 || en(m) ? (n.consume(m), o += String.fromCharCode(m), L) : t(m);
3578
+ return m === 45 || en(m) ? (n.consume(m), o += String.fromCharCode(m), _) : t(m);
3538
3579
  }
3539
3580
  function x(m) {
3540
3581
  return m === 62 ? (n.consume(m), r.interrupt ? e : E) : t(m);
@@ -3570,15 +3611,15 @@ function to(n, e, t) {
3570
3611
  return m === null || z(m) ? E(m) : D(m) ? (n.consume(m), A) : t(m);
3571
3612
  }
3572
3613
  function E(m) {
3573
- return m === 45 && i === 2 ? (n.consume(m), W) : m === 60 && i === 1 ? (n.consume(m), X) : m === 62 && i === 4 ? (n.consume(m), ln) : m === 63 && i === 3 ? (n.consume(m), h) : m === 93 && i === 5 ? (n.consume(m), fn) : z(m) && (i === 6 || i === 7) ? (n.exit("htmlFlowData"), n.check(Zl, pn, P)(m)) : m === null || z(m) ? (n.exit("htmlFlowData"), P(m)) : (n.consume(m), E);
3614
+ return m === 45 && i === 2 ? (n.consume(m), W) : m === 60 && i === 1 ? (n.consume(m), X) : m === 62 && i === 4 ? (n.consume(m), ln) : m === 63 && i === 3 ? (n.consume(m), h) : m === 93 && i === 5 ? (n.consume(m), fn) : z(m) && (i === 6 || i === 7) ? (n.exit("htmlFlowData"), n.check(ro, pn, P)(m)) : m === null || z(m) ? (n.exit("htmlFlowData"), P(m)) : (n.consume(m), E);
3574
3615
  }
3575
3616
  function P(m) {
3576
- return n.check(no, I, pn)(m);
3617
+ return n.check(io, I, pn)(m);
3577
3618
  }
3578
3619
  function I(m) {
3579
- return n.enter("lineEnding"), n.consume(m), n.exit("lineEnding"), _;
3620
+ return n.enter("lineEnding"), n.consume(m), n.exit("lineEnding"), L;
3580
3621
  }
3581
- function _(m) {
3622
+ function L(m) {
3582
3623
  return m === null || z(m) ? P(m) : (n.enter("htmlFlowData"), E(m));
3583
3624
  }
3584
3625
  function W(m) {
@@ -3607,7 +3648,7 @@ function to(n, e, t) {
3607
3648
  return n.exit("htmlFlow"), e(m);
3608
3649
  }
3609
3650
  }
3610
- function ro(n, e, t) {
3651
+ function ao(n, e, t) {
3611
3652
  const r = this;
3612
3653
  return i;
3613
3654
  function i(o) {
@@ -3617,17 +3658,17 @@ function ro(n, e, t) {
3617
3658
  return r.parser.lazy[r.now().line] ? t(o) : e(o);
3618
3659
  }
3619
3660
  }
3620
- function io(n, e, t) {
3661
+ function uo(n, e, t) {
3621
3662
  return r;
3622
3663
  function r(i) {
3623
- return n.enter("lineEnding"), n.consume(i), n.exit("lineEnding"), n.attempt(re, e, t);
3664
+ return n.enter("lineEnding"), n.consume(i), n.exit("lineEnding"), n.attempt(ie, e, t);
3624
3665
  }
3625
3666
  }
3626
- const lo = {
3667
+ const so = {
3627
3668
  name: "htmlText",
3628
- tokenize: oo
3669
+ tokenize: co
3629
3670
  };
3630
- function oo(n, e, t) {
3671
+ function co(n, e, t) {
3631
3672
  const r = this;
3632
3673
  let i, l, o;
3633
3674
  return a;
@@ -3657,9 +3698,9 @@ function oo(n, e, t) {
3657
3698
  return h === ln.charCodeAt(l++) ? (n.consume(h), l === ln.length ? b : w) : t(h);
3658
3699
  }
3659
3700
  function b(h) {
3660
- return h === null ? t(h) : h === 93 ? (n.consume(h), L) : z(h) ? (o = b, X(h)) : (n.consume(h), b);
3701
+ return h === null ? t(h) : h === 93 ? (n.consume(h), _) : z(h) ? (o = b, X(h)) : (n.consume(h), b);
3661
3702
  }
3662
- function L(h) {
3703
+ function _(h) {
3663
3704
  return h === 93 ? (n.consume(h), x) : b(h);
3664
3705
  }
3665
3706
  function x(h) {
@@ -3699,12 +3740,12 @@ function oo(n, e, t) {
3699
3740
  return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? t(h) : h === 34 || h === 39 ? (n.consume(h), i = h, P) : z(h) ? (o = E, X(h)) : D(h) ? (n.consume(h), E) : (n.consume(h), I);
3700
3741
  }
3701
3742
  function P(h) {
3702
- return h === i ? (n.consume(h), i = void 0, _) : h === null ? t(h) : z(h) ? (o = P, X(h)) : (n.consume(h), P);
3743
+ return h === i ? (n.consume(h), i = void 0, L) : h === null ? t(h) : z(h) ? (o = P, X(h)) : (n.consume(h), P);
3703
3744
  }
3704
3745
  function I(h) {
3705
3746
  return h === null || h === 34 || h === 39 || h === 60 || h === 61 || h === 96 ? t(h) : h === 47 || h === 62 || Q(h) ? O(h) : (n.consume(h), I);
3706
3747
  }
3707
- function _(h) {
3748
+ function L(h) {
3708
3749
  return h === 47 || h === 62 || Q(h) ? O(h) : t(h);
3709
3750
  }
3710
3751
  function W(h) {
@@ -3722,17 +3763,17 @@ function oo(n, e, t) {
3722
3763
  }
3723
3764
  const He = {
3724
3765
  name: "labelEnd",
3725
- resolveAll: co,
3726
- resolveTo: fo,
3727
- tokenize: po
3728
- }, ao = {
3729
- tokenize: ho
3730
- }, uo = {
3731
- tokenize: mo
3732
- }, so = {
3733
- tokenize: go
3766
+ resolveAll: mo,
3767
+ resolveTo: go,
3768
+ tokenize: yo
3769
+ }, fo = {
3770
+ tokenize: ko
3771
+ }, po = {
3772
+ tokenize: xo
3773
+ }, ho = {
3774
+ tokenize: bo
3734
3775
  };
3735
- function co(n) {
3776
+ function mo(n) {
3736
3777
  let e = -1;
3737
3778
  const t = [];
3738
3779
  for (; ++e < n.length; ) {
@@ -3744,7 +3785,7 @@ function co(n) {
3744
3785
  }
3745
3786
  return n.length !== t.length && cn(n, 0, n.length, t), n;
3746
3787
  }
3747
- function fo(n, e) {
3788
+ function go(n, e) {
3748
3789
  let t = n.length, r = 0, i, l, o, a;
3749
3790
  for (; t--; )
3750
3791
  if (i = n[t][1], l) {
@@ -3784,7 +3825,7 @@ function fo(n, e) {
3784
3825
  };
3785
3826
  return a = [["enter", s, e], ["enter", u, e]], a = tn(a, n.slice(l + 1, l + r + 3)), a = tn(a, [["enter", c, e]]), a = tn(a, $e(e.parser.constructs.insideSpan.null, n.slice(l + r + 4, o - 3), e)), a = tn(a, [["exit", c, e], n[o - 2], n[o - 1], ["exit", u, e]]), a = tn(a, n.slice(o + 1)), a = tn(a, [["exit", s, e]]), cn(n, l, n.length, a), n;
3786
3827
  }
3787
- function po(n, e, t) {
3828
+ function yo(n, e, t) {
3788
3829
  const r = this;
3789
3830
  let i = r.events.length, l, o;
3790
3831
  for (; i--; )
@@ -3794,16 +3835,16 @@ function po(n, e, t) {
3794
3835
  }
3795
3836
  return a;
3796
3837
  function a(d) {
3797
- return l ? l._inactive ? f(d) : (o = r.parser.defined.includes(Ln(r.sliceSerialize({
3838
+ return l ? l._inactive ? f(d) : (o = r.parser.defined.includes(zn(r.sliceSerialize({
3798
3839
  start: l.end,
3799
3840
  end: r.now()
3800
3841
  }))), n.enter("labelEnd"), n.enter("labelMarker"), n.consume(d), n.exit("labelMarker"), n.exit("labelEnd"), s) : t(d);
3801
3842
  }
3802
3843
  function s(d) {
3803
- return d === 40 ? n.attempt(ao, c, o ? c : f)(d) : d === 91 ? n.attempt(uo, c, o ? u : f)(d) : o ? c(d) : f(d);
3844
+ return d === 40 ? n.attempt(fo, c, o ? c : f)(d) : d === 91 ? n.attempt(po, c, o ? u : f)(d) : o ? c(d) : f(d);
3804
3845
  }
3805
3846
  function u(d) {
3806
- return n.attempt(so, c, f)(d);
3847
+ return n.attempt(ho, c, f)(d);
3807
3848
  }
3808
3849
  function c(d) {
3809
3850
  return e(d);
@@ -3812,47 +3853,47 @@ function po(n, e, t) {
3812
3853
  return l._balanced = !0, t(d);
3813
3854
  }
3814
3855
  }
3815
- function ho(n, e, t) {
3856
+ function ko(n, e, t) {
3816
3857
  return r;
3817
3858
  function r(f) {
3818
3859
  return n.enter("resource"), n.enter("resourceMarker"), n.consume(f), n.exit("resourceMarker"), i;
3819
3860
  }
3820
3861
  function i(f) {
3821
- return Q(f) ? Vn(n, l)(f) : l(f);
3862
+ return Q(f) ? qn(n, l)(f) : l(f);
3822
3863
  }
3823
3864
  function l(f) {
3824
- return f === 41 ? c(f) : sr(n, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(f);
3865
+ return f === 41 ? c(f) : pr(n, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(f);
3825
3866
  }
3826
3867
  function o(f) {
3827
- return Q(f) ? Vn(n, s)(f) : c(f);
3868
+ return Q(f) ? qn(n, s)(f) : c(f);
3828
3869
  }
3829
3870
  function a(f) {
3830
3871
  return t(f);
3831
3872
  }
3832
3873
  function s(f) {
3833
- return f === 34 || f === 39 || f === 40 ? fr(n, u, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(f) : c(f);
3874
+ return f === 34 || f === 39 || f === 40 ? mr(n, u, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(f) : c(f);
3834
3875
  }
3835
3876
  function u(f) {
3836
- return Q(f) ? Vn(n, c)(f) : c(f);
3877
+ return Q(f) ? qn(n, c)(f) : c(f);
3837
3878
  }
3838
3879
  function c(f) {
3839
3880
  return f === 41 ? (n.enter("resourceMarker"), n.consume(f), n.exit("resourceMarker"), n.exit("resource"), e) : t(f);
3840
3881
  }
3841
3882
  }
3842
- function mo(n, e, t) {
3883
+ function xo(n, e, t) {
3843
3884
  const r = this;
3844
3885
  return i;
3845
3886
  function i(a) {
3846
- return cr.call(r, n, l, o, "reference", "referenceMarker", "referenceString")(a);
3887
+ return hr.call(r, n, l, o, "reference", "referenceMarker", "referenceString")(a);
3847
3888
  }
3848
3889
  function l(a) {
3849
- return r.parser.defined.includes(Ln(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? e(a) : t(a);
3890
+ return r.parser.defined.includes(zn(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? e(a) : t(a);
3850
3891
  }
3851
3892
  function o(a) {
3852
3893
  return t(a);
3853
3894
  }
3854
3895
  }
3855
- function go(n, e, t) {
3896
+ function bo(n, e, t) {
3856
3897
  return r;
3857
3898
  function r(l) {
3858
3899
  return n.enter("reference"), n.enter("referenceMarker"), n.consume(l), n.exit("referenceMarker"), i;
@@ -3861,12 +3902,12 @@ function go(n, e, t) {
3861
3902
  return l === 93 ? (n.enter("referenceMarker"), n.consume(l), n.exit("referenceMarker"), n.exit("reference"), e) : t(l);
3862
3903
  }
3863
3904
  }
3864
- const yo = {
3905
+ const wo = {
3865
3906
  name: "labelStartImage",
3866
3907
  resolveAll: He.resolveAll,
3867
- tokenize: ko
3908
+ tokenize: So
3868
3909
  };
3869
- function ko(n, e, t) {
3910
+ function So(n, e, t) {
3870
3911
  const r = this;
3871
3912
  return i;
3872
3913
  function i(a) {
@@ -3879,12 +3920,12 @@ function ko(n, e, t) {
3879
3920
  return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(a) : e(a);
3880
3921
  }
3881
3922
  }
3882
- const xo = {
3923
+ const Co = {
3883
3924
  name: "labelStartLink",
3884
3925
  resolveAll: He.resolveAll,
3885
- tokenize: bo
3926
+ tokenize: Io
3886
3927
  };
3887
- function bo(n, e, t) {
3928
+ function Io(n, e, t) {
3888
3929
  const r = this;
3889
3930
  return i;
3890
3931
  function i(o) {
@@ -3894,21 +3935,21 @@ function bo(n, e, t) {
3894
3935
  return o === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(o) : e(o);
3895
3936
  }
3896
3937
  }
3897
- const se = {
3938
+ const ce = {
3898
3939
  name: "lineEnding",
3899
- tokenize: wo
3940
+ tokenize: Eo
3900
3941
  };
3901
- function wo(n, e) {
3942
+ function Eo(n, e) {
3902
3943
  return t;
3903
3944
  function t(r) {
3904
3945
  return n.enter("lineEnding"), n.consume(r), n.exit("lineEnding"), H(n, e, "linePrefix");
3905
3946
  }
3906
3947
  }
3907
- const Zn = {
3948
+ const ne = {
3908
3949
  name: "thematicBreak",
3909
- tokenize: So
3950
+ tokenize: Po
3910
3951
  };
3911
- function So(n, e, t) {
3952
+ function Po(n, e, t) {
3912
3953
  let r = 0, i;
3913
3954
  return l;
3914
3955
  function l(u) {
@@ -3926,43 +3967,43 @@ function So(n, e, t) {
3926
3967
  }
3927
3968
  const K = {
3928
3969
  continuation: {
3929
- tokenize: Po
3970
+ tokenize: zo
3930
3971
  },
3931
- exit: To,
3972
+ exit: No,
3932
3973
  name: "list",
3933
- tokenize: Eo
3934
- }, Co = {
3974
+ tokenize: _o
3975
+ }, Ao = {
3935
3976
  partial: !0,
3936
- tokenize: Lo
3937
- }, Io = {
3977
+ tokenize: Mo
3978
+ }, To = {
3938
3979
  partial: !0,
3939
- tokenize: Ao
3980
+ tokenize: Lo
3940
3981
  };
3941
- function Eo(n, e, t) {
3982
+ function _o(n, e, t) {
3942
3983
  const r = this, i = r.events[r.events.length - 1];
3943
3984
  let l = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
3944
3985
  return a;
3945
3986
  function a(p) {
3946
3987
  const w = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
3947
- if (w === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Ie(p)) {
3988
+ if (w === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Ee(p)) {
3948
3989
  if (r.containerState.type || (r.containerState.type = w, n.enter(w, {
3949
3990
  _container: !0
3950
3991
  })), w === "listUnordered")
3951
- return n.enter("listItemPrefix"), p === 42 || p === 45 ? n.check(Zn, t, u)(p) : u(p);
3992
+ return n.enter("listItemPrefix"), p === 42 || p === 45 ? n.check(ne, t, u)(p) : u(p);
3952
3993
  if (!r.interrupt || p === 49)
3953
3994
  return n.enter("listItemPrefix"), n.enter("listItemValue"), s(p);
3954
3995
  }
3955
3996
  return t(p);
3956
3997
  }
3957
3998
  function s(p) {
3958
- return Ie(p) && ++o < 10 ? (n.consume(p), s) : (!r.interrupt || o < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (n.exit("listItemValue"), u(p)) : t(p);
3999
+ return Ee(p) && ++o < 10 ? (n.consume(p), s) : (!r.interrupt || o < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (n.exit("listItemValue"), u(p)) : t(p);
3959
4000
  }
3960
4001
  function u(p) {
3961
4002
  return n.enter("listItemMarker"), n.consume(p), n.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, n.check(
3962
- re,
4003
+ ie,
3963
4004
  // Can’t be empty when interrupting.
3964
4005
  r.interrupt ? t : c,
3965
- n.attempt(Co, d, f)
4006
+ n.attempt(Ao, d, f)
3966
4007
  );
3967
4008
  }
3968
4009
  function c(p) {
@@ -3975,20 +4016,20 @@ function Eo(n, e, t) {
3975
4016
  return r.containerState.size = l + r.sliceSerialize(n.exit("listItemPrefix"), !0).length, e(p);
3976
4017
  }
3977
4018
  }
3978
- function Po(n, e, t) {
4019
+ function zo(n, e, t) {
3979
4020
  const r = this;
3980
- return r.containerState._closeFlow = void 0, n.check(re, i, l);
4021
+ return r.containerState._closeFlow = void 0, n.check(ie, i, l);
3981
4022
  function i(a) {
3982
4023
  return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, H(n, e, "listItemIndent", r.containerState.size + 1)(a);
3983
4024
  }
3984
4025
  function l(a) {
3985
- 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, n.attempt(Io, e, o)(a));
4026
+ 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, n.attempt(To, e, o)(a));
3986
4027
  }
3987
4028
  function o(a) {
3988
4029
  return r.containerState._closeFlow = !0, r.interrupt = void 0, H(n, n.attempt(K, e, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
3989
4030
  }
3990
4031
  }
3991
- function Ao(n, e, t) {
4032
+ function Lo(n, e, t) {
3992
4033
  const r = this;
3993
4034
  return H(n, i, "listItemIndent", r.containerState.size + 1);
3994
4035
  function i(l) {
@@ -3996,10 +4037,10 @@ function Ao(n, e, t) {
3996
4037
  return o && o[1].type === "listItemIndent" && o[2].sliceSerialize(o[1], !0).length === r.containerState.size ? e(l) : t(l);
3997
4038
  }
3998
4039
  }
3999
- function To(n) {
4040
+ function No(n) {
4000
4041
  n.exit(this.containerState.type);
4001
4042
  }
4002
- function Lo(n, e, t) {
4043
+ function Mo(n, e, t) {
4003
4044
  const r = this;
4004
4045
  return H(n, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
4005
4046
  function i(l) {
@@ -4009,10 +4050,10 @@ function Lo(n, e, t) {
4009
4050
  }
4010
4051
  const St = {
4011
4052
  name: "setextUnderline",
4012
- resolveTo: zo,
4013
- tokenize: _o
4053
+ resolveTo: vo,
4054
+ tokenize: Ro
4014
4055
  };
4015
- function zo(n, e) {
4056
+ function vo(n, e) {
4016
4057
  let t = n.length, r, i, l;
4017
4058
  for (; t--; )
4018
4059
  if (n[t][0] === "enter") {
@@ -4036,7 +4077,7 @@ function zo(n, e) {
4036
4077
  ...n[l][1].end
4037
4078
  }) : n[r][1] = o, n.push(["exit", o, e]), n;
4038
4079
  }
4039
- function _o(n, e, t) {
4080
+ function Ro(n, e, t) {
4040
4081
  const r = this;
4041
4082
  let i;
4042
4083
  return l;
@@ -4059,16 +4100,16 @@ function _o(n, e, t) {
4059
4100
  return u === null || z(u) ? (n.exit("setextHeadingLine"), e(u)) : t(u);
4060
4101
  }
4061
4102
  }
4062
- const Mo = {
4063
- tokenize: No
4103
+ const Do = {
4104
+ tokenize: Oo
4064
4105
  };
4065
- function No(n) {
4106
+ function Oo(n) {
4066
4107
  const e = this, t = n.attempt(
4067
4108
  // Try to parse a blank line.
4068
- re,
4109
+ ie,
4069
4110
  r,
4070
4111
  // Try to parse initial flow (essentially, only code).
4071
- n.attempt(this.parser.constructs.flowInitial, i, H(n, n.attempt(this.parser.constructs.flow, i, n.attempt(Ol, i)), "linePrefix"))
4112
+ n.attempt(this.parser.constructs.flowInitial, i, H(n, n.attempt(this.parser.constructs.flow, i, n.attempt(jl, i)), "linePrefix"))
4072
4113
  );
4073
4114
  return t;
4074
4115
  function r(l) {
@@ -4086,12 +4127,12 @@ function No(n) {
4086
4127
  return n.enter("lineEnding"), n.consume(l), n.exit("lineEnding"), e.currentConstruct = void 0, t;
4087
4128
  }
4088
4129
  }
4089
- const vo = {
4090
- resolveAll: hr()
4091
- }, Ro = pr("string"), Do = pr("text");
4092
- function pr(n) {
4130
+ const Fo = {
4131
+ resolveAll: gr()
4132
+ }, Bo = dr("string"), Uo = dr("text");
4133
+ function dr(n) {
4093
4134
  return {
4094
- resolveAll: hr(n === "text" ? Oo : void 0),
4135
+ resolveAll: gr(n === "text" ? jo : void 0),
4095
4136
  tokenize: e
4096
4137
  };
4097
4138
  function e(t) {
@@ -4125,7 +4166,7 @@ function pr(n) {
4125
4166
  }
4126
4167
  }
4127
4168
  }
4128
- function hr(n) {
4169
+ function gr(n) {
4129
4170
  return e;
4130
4171
  function e(t, r) {
4131
4172
  let i = -1, l;
@@ -4134,7 +4175,7 @@ function hr(n) {
4134
4175
  return n ? n(t, r) : t;
4135
4176
  }
4136
4177
  }
4137
- function Oo(n, e) {
4178
+ function jo(n, e) {
4138
4179
  let t = 0;
4139
4180
  for (; ++t <= n.length; )
4140
4181
  if ((t === n.length || n[t][1].type === "lineEnding") && n[t - 1][1].type === "data") {
@@ -4176,7 +4217,7 @@ function Oo(n, e) {
4176
4217
  }
4177
4218
  return n;
4178
4219
  }
4179
- const Fo = {
4220
+ const $o = {
4180
4221
  42: K,
4181
4222
  43: K,
4182
4223
  45: K,
@@ -4190,46 +4231,46 @@ const Fo = {
4190
4231
  55: K,
4191
4232
  56: K,
4192
4233
  57: K,
4193
- 62: lr
4194
- }, Bo = {
4195
- 91: $l
4196
- }, Uo = {
4197
- [-2]: ue,
4198
- [-1]: ue,
4199
- 32: ue
4200
- }, jo = {
4201
- 35: Gl,
4202
- 42: Zn,
4203
- 45: [St, Zn],
4204
- 60: Jl,
4234
+ 62: ur
4235
+ }, Ho = {
4236
+ 91: Wl
4237
+ }, Vo = {
4238
+ [-2]: se,
4239
+ [-1]: se,
4240
+ 32: se
4241
+ }, qo = {
4242
+ 35: Jl,
4243
+ 42: ne,
4244
+ 45: [St, ne],
4245
+ 60: to,
4205
4246
  61: St,
4206
- 95: Zn,
4247
+ 95: ne,
4207
4248
  96: bt,
4208
4249
  126: bt
4209
- }, $o = {
4210
- 38: ar,
4211
- 92: or
4212
- }, Ho = {
4213
- [-5]: se,
4214
- [-4]: se,
4215
- [-3]: se,
4216
- 33: yo,
4217
- 38: ar,
4218
- 42: Ee,
4219
- 60: [kl, lo],
4220
- 91: xo,
4221
- 92: [Wl, or],
4250
+ }, Wo = {
4251
+ 38: cr,
4252
+ 92: sr
4253
+ }, Xo = {
4254
+ [-5]: ce,
4255
+ [-4]: ce,
4256
+ [-3]: ce,
4257
+ 33: wo,
4258
+ 38: cr,
4259
+ 42: Pe,
4260
+ 60: [Sl, so],
4261
+ 91: Co,
4262
+ 92: [Kl, sr],
4222
4263
  93: He,
4223
- 95: Ee,
4224
- 96: _l
4225
- }, Vo = {
4226
- null: [Ee, vo]
4227
- }, qo = {
4264
+ 95: Pe,
4265
+ 96: Rl
4266
+ }, Go = {
4267
+ null: [Pe, Fo]
4268
+ }, Yo = {
4228
4269
  null: [42, 95]
4229
- }, Wo = {
4270
+ }, Ko = {
4230
4271
  null: []
4231
- }, Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: qo, contentInitial: Bo, disable: Wo, document: Fo, flow: jo, flowInitial: Uo, insideSpan: Vo, string: $o, text: Ho }, Symbol.toStringTag, { value: "Module" }));
4232
- function Go(n, e, t) {
4272
+ }, Qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: Yo, contentInitial: Ho, disable: Ko, document: $o, flow: qo, flowInitial: Vo, insideSpan: Go, string: Wo, text: Xo }, Symbol.toStringTag, { value: "Module" }));
4273
+ function Jo(n, e, t) {
4233
4274
  let r = {
4234
4275
  _bufferIndex: -1,
4235
4276
  _index: 0,
@@ -4263,13 +4304,13 @@ function Go(n, e, t) {
4263
4304
  let c = e.tokenize.call(u, s);
4264
4305
  return e.resolveAll && l.push(e), u;
4265
4306
  function f(A) {
4266
- return o = tn(o, A), L(), o[o.length - 1] !== null ? [] : (V(e, 0), u.events = $e(l, u.events, u), u.events);
4307
+ return o = tn(o, A), _(), o[o.length - 1] !== null ? [] : (V(e, 0), u.events = $e(l, u.events, u), u.events);
4267
4308
  }
4268
4309
  function d(A, E) {
4269
- return Ko(p(A), E);
4310
+ return na(p(A), E);
4270
4311
  }
4271
4312
  function p(A) {
4272
- return Yo(o, A);
4313
+ return Zo(o, A);
4273
4314
  }
4274
4315
  function w() {
4275
4316
  const {
@@ -4277,20 +4318,20 @@ function Go(n, e, t) {
4277
4318
  _index: E,
4278
4319
  line: P,
4279
4320
  column: I,
4280
- offset: _
4321
+ offset: L
4281
4322
  } = r;
4282
4323
  return {
4283
4324
  _bufferIndex: A,
4284
4325
  _index: E,
4285
4326
  line: P,
4286
4327
  column: I,
4287
- offset: _
4328
+ offset: L
4288
4329
  };
4289
4330
  }
4290
4331
  function b(A) {
4291
4332
  i[A.line] = A.column, F();
4292
4333
  }
4293
- function L() {
4334
+ function _() {
4294
4335
  let A;
4295
4336
  for (; r._index < o.length; ) {
4296
4337
  const E = o[r._index];
@@ -4326,7 +4367,7 @@ function Go(n, e, t) {
4326
4367
  }
4327
4368
  function R(A, E) {
4328
4369
  return P;
4329
- function P(I, _, W) {
4370
+ function P(I, L, W) {
4330
4371
  let X, rn, fn, h;
4331
4372
  return Array.isArray(I) ? (
4332
4373
  /* c8 ignore next 1 */
@@ -4341,13 +4382,13 @@ function Go(n, e, t) {
4341
4382
  function ln(G) {
4342
4383
  return Mn;
4343
4384
  function Mn(dn) {
4344
- const Cn = dn !== null && G[dn], In = dn !== null && G.null, Gn = [
4385
+ const Cn = dn !== null && G[dn], In = dn !== null && G.null, Yn = [
4345
4386
  // To do: add more extension tests.
4346
4387
  /* c8 ignore next 2 */
4347
4388
  ...Array.isArray(Cn) ? Cn : Cn ? [Cn] : [],
4348
4389
  ...Array.isArray(In) ? In : In ? [In] : []
4349
4390
  ];
4350
- return pn(Gn)(dn);
4391
+ return pn(Yn)(dn);
4351
4392
  }
4352
4393
  }
4353
4394
  function pn(G) {
@@ -4368,7 +4409,7 @@ function Go(n, e, t) {
4368
4409
  }
4369
4410
  }
4370
4411
  function on(G) {
4371
- return A(fn, h), _;
4412
+ return A(fn, h), L;
4372
4413
  }
4373
4414
  function kn(G) {
4374
4415
  return h.restore(), ++rn < X.length ? m(X[rn]) : W;
@@ -4379,20 +4420,20 @@ function Go(n, e, t) {
4379
4420
  A.resolveAll && !l.includes(A) && l.push(A), A.resolve && cn(u.events, E, u.events.length - E, A.resolve(u.events.slice(E), u)), A.resolveTo && (u.events = A.resolveTo(u.events, u));
4380
4421
  }
4381
4422
  function O() {
4382
- const A = w(), E = u.previous, P = u.currentConstruct, I = u.events.length, _ = Array.from(a);
4423
+ const A = w(), E = u.previous, P = u.currentConstruct, I = u.events.length, L = Array.from(a);
4383
4424
  return {
4384
4425
  from: I,
4385
4426
  restore: W
4386
4427
  };
4387
4428
  function W() {
4388
- r = A, u.previous = E, u.currentConstruct = P, u.events.length = I, a = _, F();
4429
+ r = A, u.previous = E, u.currentConstruct = P, u.events.length = I, a = L, F();
4389
4430
  }
4390
4431
  }
4391
4432
  function F() {
4392
4433
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
4393
4434
  }
4394
4435
  }
4395
- function Yo(n, e) {
4436
+ function Zo(n, e) {
4396
4437
  const t = e.start._index, r = e.start._bufferIndex, i = e.end._index, l = e.end._bufferIndex;
4397
4438
  let o;
4398
4439
  if (t === i)
@@ -4406,7 +4447,7 @@ function Yo(n, e) {
4406
4447
  }
4407
4448
  return o;
4408
4449
  }
4409
- function Ko(n, e) {
4450
+ function na(n, e) {
4410
4451
  let t = -1;
4411
4452
  const r = [];
4412
4453
  let i;
@@ -4446,35 +4487,35 @@ function Ko(n, e) {
4446
4487
  }
4447
4488
  return r.join("");
4448
4489
  }
4449
- function Qo(n) {
4490
+ function ea(n) {
4450
4491
  const r = {
4451
4492
  constructs: (
4452
4493
  /** @type {FullNormalizedExtension} */
4453
- rl([Xo, ...(n || {}).extensions || []])
4494
+ al([Qo, ...(n || {}).extensions || []])
4454
4495
  ),
4455
- content: i(fl),
4496
+ content: i(dl),
4456
4497
  defined: [],
4457
- document: i(hl),
4458
- flow: i(Mo),
4498
+ document: i(yl),
4499
+ flow: i(Do),
4459
4500
  lazy: {},
4460
- string: i(Ro),
4461
- text: i(Do)
4501
+ string: i(Bo),
4502
+ text: i(Uo)
4462
4503
  };
4463
4504
  return r;
4464
4505
  function i(l) {
4465
4506
  return o;
4466
4507
  function o(a) {
4467
- return Go(r, l, a);
4508
+ return Jo(r, l, a);
4468
4509
  }
4469
4510
  }
4470
4511
  }
4471
- function Jo(n) {
4472
- for (; !ur(n); )
4512
+ function ta(n) {
4513
+ for (; !fr(n); )
4473
4514
  ;
4474
4515
  return n;
4475
4516
  }
4476
4517
  const Ct = /[\0\t\n\r]/g;
4477
- function Zo() {
4518
+ function ra() {
4478
4519
  let n = 1, e = "", t = !0, r;
4479
4520
  return i;
4480
4521
  function i(l, o, a) {
@@ -4509,24 +4550,24 @@ function Zo() {
4509
4550
  return a && (r && s.push(-5), e && s.push(e), s.push(null)), s;
4510
4551
  }
4511
4552
  }
4512
- const na = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4513
- function ea(n) {
4514
- return n.replace(na, ta);
4553
+ const ia = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4554
+ function la(n) {
4555
+ return n.replace(ia, oa);
4515
4556
  }
4516
- function ta(n, e, t) {
4557
+ function oa(n, e, t) {
4517
4558
  if (e)
4518
4559
  return e;
4519
4560
  if (t.charCodeAt(0) === 35) {
4520
4561
  const i = t.charCodeAt(1), l = i === 120 || i === 88;
4521
- return ir(t.slice(l ? 2 : 1), l ? 16 : 10);
4562
+ return ar(t.slice(l ? 2 : 1), l ? 16 : 10);
4522
4563
  }
4523
4564
  return je(t) || n;
4524
4565
  }
4525
- const mr = {}.hasOwnProperty;
4526
- function ra(n, e, t) {
4527
- return typeof e != "string" && (t = e, e = void 0), ia(t)(Jo(Qo(t).document().write(Zo()(n, e, !0))));
4566
+ const yr = {}.hasOwnProperty;
4567
+ function aa(n, e, t) {
4568
+ return typeof e != "string" && (t = e, e = void 0), ua(t)(ta(ea(t).document().write(ra()(n, e, !0))));
4528
4569
  }
4529
- function ia(n) {
4570
+ function ua(n) {
4530
4571
  const e = {
4531
4572
  transforms: [],
4532
4573
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
@@ -4538,40 +4579,40 @@ function ia(n) {
4538
4579
  blockQuote: l(In),
4539
4580
  characterEscape: O,
4540
4581
  characterReference: O,
4541
- codeFenced: l(Gn),
4582
+ codeFenced: l(Yn),
4542
4583
  codeFencedFenceInfo: o,
4543
4584
  codeFencedFenceMeta: o,
4544
- codeIndented: l(Gn, o),
4545
- codeText: l(xr, o),
4585
+ codeIndented: l(Yn, o),
4586
+ codeText: l(Sr, o),
4546
4587
  codeTextData: O,
4547
4588
  data: O,
4548
4589
  codeFlowValue: O,
4549
- definition: l(br),
4590
+ definition: l(Cr),
4550
4591
  definitionDestinationString: o,
4551
4592
  definitionLabelString: o,
4552
4593
  definitionTitleString: o,
4553
- emphasis: l(wr),
4594
+ emphasis: l(Ir),
4554
4595
  hardBreakEscape: l(Xe),
4555
4596
  hardBreakTrailing: l(Xe),
4556
4597
  htmlFlow: l(Ge, o),
4557
4598
  htmlFlowData: O,
4558
4599
  htmlText: l(Ge, o),
4559
4600
  htmlTextData: O,
4560
- image: l(Sr),
4601
+ image: l(Er),
4561
4602
  label: o,
4562
4603
  link: l(Ye),
4563
- listItem: l(Cr),
4604
+ listItem: l(Pr),
4564
4605
  listItemValue: d,
4565
4606
  listOrdered: l(Ke, f),
4566
4607
  listUnordered: l(Ke),
4567
- paragraph: l(Ir),
4608
+ paragraph: l(Ar),
4568
4609
  reference: m,
4569
4610
  referenceString: o,
4570
4611
  resourceDestinationString: o,
4571
4612
  resourceTitleString: o,
4572
4613
  setextHeading: l(We),
4573
- strong: l(Er),
4574
- thematicBreak: l(Ar)
4614
+ strong: l(Tr),
4615
+ thematicBreak: l(zr)
4575
4616
  },
4576
4617
  exit: {
4577
4618
  atxHeading: s(),
@@ -4585,13 +4626,13 @@ function ia(n) {
4585
4626
  characterReferenceMarkerNumeric: kn,
4586
4627
  characterReferenceValue: G,
4587
4628
  characterReference: Mn,
4588
- codeFenced: s(L),
4629
+ codeFenced: s(_),
4589
4630
  codeFencedFence: b,
4590
4631
  codeFencedFenceInfo: p,
4591
4632
  codeFencedFenceMeta: w,
4592
4633
  codeFlowValue: F,
4593
4634
  codeIndented: s(x),
4594
- codeText: s(_),
4635
+ codeText: s(L),
4595
4636
  codeTextData: F,
4596
4637
  data: F,
4597
4638
  definition: s(),
@@ -4625,7 +4666,7 @@ function ia(n) {
4625
4666
  thematicBreak: s()
4626
4667
  }
4627
4668
  };
4628
- dr(e, (n || {}).mdastExtensions || []);
4669
+ kr(e, (n || {}).mdastExtensions || []);
4629
4670
  const t = {};
4630
4671
  return r;
4631
4672
  function r(g) {
@@ -4633,7 +4674,7 @@ function ia(n) {
4633
4674
  type: "root",
4634
4675
  children: []
4635
4676
  };
4636
- const M = {
4677
+ const N = {
4637
4678
  stack: [S],
4638
4679
  tokenStack: [],
4639
4680
  config: e,
@@ -4654,13 +4695,13 @@ function ia(n) {
4654
4695
  }
4655
4696
  for (U = -1; ++U < g.length; ) {
4656
4697
  const an = e[g[U][0]];
4657
- mr.call(an, g[U][1].type) && an[g[U][1].type].call(Object.assign({
4698
+ yr.call(an, g[U][1].type) && an[g[U][1].type].call(Object.assign({
4658
4699
  sliceSerialize: g[U][2].sliceSerialize
4659
- }, M), g[U][1]);
4700
+ }, N), g[U][1]);
4660
4701
  }
4661
- if (M.tokenStack.length > 0) {
4662
- const an = M.tokenStack[M.tokenStack.length - 1];
4663
- (an[1] || It).call(M, void 0, an[0]);
4702
+ if (N.tokenStack.length > 0) {
4703
+ const an = N.tokenStack[N.tokenStack.length - 1];
4704
+ (an[1] || It).call(N, void 0, an[0]);
4664
4705
  }
4665
4706
  for (S.position = {
4666
4707
  start: gn(g.length > 0 ? g[0][1].start : {
@@ -4677,19 +4718,19 @@ function ia(n) {
4677
4718
  S = e.transforms[U](S) || S;
4678
4719
  return S;
4679
4720
  }
4680
- function i(g, S, M) {
4681
- let v = S - 1, U = -1, an = !1, xn, hn, Nn, vn;
4682
- for (; ++v <= M; ) {
4721
+ function i(g, S, N) {
4722
+ let v = S - 1, U = -1, an = !1, xn, hn, vn, Rn;
4723
+ for (; ++v <= N; ) {
4683
4724
  const Z = g[v];
4684
4725
  switch (Z[1].type) {
4685
4726
  case "listUnordered":
4686
4727
  case "listOrdered":
4687
4728
  case "blockQuote": {
4688
- Z[0] === "enter" ? U++ : U--, vn = void 0;
4729
+ Z[0] === "enter" ? U++ : U--, Rn = void 0;
4689
4730
  break;
4690
4731
  }
4691
4732
  case "lineEndingBlank": {
4692
- Z[0] === "enter" && (xn && !vn && !U && !Nn && (Nn = v), vn = void 0);
4733
+ Z[0] === "enter" && (xn && !Rn && !U && !vn && (vn = v), Rn = void 0);
4693
4734
  break;
4694
4735
  }
4695
4736
  case "linePrefix":
@@ -4699,7 +4740,7 @@ function ia(n) {
4699
4740
  case "listItemPrefixWhitespace":
4700
4741
  break;
4701
4742
  default:
4702
- vn = void 0;
4743
+ Rn = void 0;
4703
4744
  }
4704
4745
  if (!U && Z[0] === "enter" && Z[1].type === "listItemPrefix" || U === -1 && Z[0] === "exit" && (Z[1].type === "listUnordered" || Z[1].type === "listOrdered")) {
4705
4746
  if (xn) {
@@ -4711,7 +4752,7 @@ function ia(n) {
4711
4752
  hn && (g[hn][1].type = "lineEndingBlank", an = !0), mn[1].type = "lineEnding", hn = En;
4712
4753
  } else if (!(mn[1].type === "linePrefix" || mn[1].type === "blockQuotePrefix" || mn[1].type === "blockQuotePrefixWhitespace" || mn[1].type === "blockQuoteMarker" || mn[1].type === "listItemIndent")) break;
4713
4754
  }
4714
- Nn && (!hn || Nn < hn) && (xn._spread = !0), xn.end = Object.assign({}, hn ? g[hn][1].start : Z[1].end), g.splice(hn || v, 0, ["exit", xn, Z[2]]), v++, M++;
4755
+ vn && (!hn || vn < hn) && (xn._spread = !0), xn.end = Object.assign({}, hn ? g[hn][1].start : Z[1].end), g.splice(hn || v, 0, ["exit", xn, Z[2]]), v++, N++;
4715
4756
  }
4716
4757
  if (Z[1].type === "listItemPrefix") {
4717
4758
  const En = {
@@ -4721,15 +4762,15 @@ function ia(n) {
4721
4762
  // @ts-expect-error: we’ll add `end` in a second.
4722
4763
  end: void 0
4723
4764
  };
4724
- xn = En, g.splice(v, 0, ["enter", En, Z[2]]), v++, M++, Nn = void 0, vn = !0;
4765
+ xn = En, g.splice(v, 0, ["enter", En, Z[2]]), v++, N++, vn = void 0, Rn = !0;
4725
4766
  }
4726
4767
  }
4727
4768
  }
4728
- return g[S][1]._spread = an, M;
4769
+ return g[S][1]._spread = an, N;
4729
4770
  }
4730
4771
  function l(g, S) {
4731
- return M;
4732
- function M(v) {
4772
+ return N;
4773
+ function N(v) {
4733
4774
  a.call(this, g(v), v), S && S.call(this, v);
4734
4775
  }
4735
4776
  }
@@ -4739,8 +4780,8 @@ function ia(n) {
4739
4780
  children: []
4740
4781
  });
4741
4782
  }
4742
- function a(g, S, M) {
4743
- this.stack[this.stack.length - 1].children.push(g), this.stack.push(g), this.tokenStack.push([S, M || void 0]), g.position = {
4783
+ function a(g, S, N) {
4784
+ this.stack[this.stack.length - 1].children.push(g), this.stack.push(g), this.tokenStack.push([S, N || void 0]), g.position = {
4744
4785
  start: gn(S.start),
4745
4786
  // @ts-expect-error: `end` will be patched later.
4746
4787
  end: void 0
@@ -4748,22 +4789,22 @@ function ia(n) {
4748
4789
  }
4749
4790
  function s(g) {
4750
4791
  return S;
4751
- function S(M) {
4752
- g && g.call(this, M), u.call(this, M);
4792
+ function S(N) {
4793
+ g && g.call(this, N), u.call(this, N);
4753
4794
  }
4754
4795
  }
4755
4796
  function u(g, S) {
4756
- const M = this.stack.pop(), v = this.tokenStack.pop();
4797
+ const N = this.stack.pop(), v = this.tokenStack.pop();
4757
4798
  if (v)
4758
4799
  v[0].type !== g.type && (S ? S.call(this, g, v[0]) : (v[1] || It).call(this, g, v[0]));
4759
- else throw new Error("Cannot close `" + g.type + "` (" + Hn({
4800
+ else throw new Error("Cannot close `" + g.type + "` (" + Vn({
4760
4801
  start: g.start,
4761
4802
  end: g.end
4762
4803
  }) + "): it’s not open");
4763
- M.position.end = gn(g.end);
4804
+ N.position.end = gn(g.end);
4764
4805
  }
4765
4806
  function c() {
4766
- return el(this.stack.pop());
4807
+ return ll(this.stack.pop());
4767
4808
  }
4768
4809
  function f() {
4769
4810
  this.data.expectingFirstListItemValue = !0;
@@ -4785,7 +4826,7 @@ function ia(n) {
4785
4826
  function b() {
4786
4827
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
4787
4828
  }
4788
- function L() {
4829
+ function _() {
4789
4830
  const g = this.resume(), S = this.stack[this.stack.length - 1];
4790
4831
  S.value = g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
4791
4832
  }
@@ -4794,8 +4835,8 @@ function ia(n) {
4794
4835
  S.value = g.replace(/(\r?\n|\r)$/g, "");
4795
4836
  }
4796
4837
  function T(g) {
4797
- const S = this.resume(), M = this.stack[this.stack.length - 1];
4798
- M.label = S, M.identifier = Ln(this.sliceSerialize(g)).toLowerCase();
4838
+ const S = this.resume(), N = this.stack[this.stack.length - 1];
4839
+ N.label = S, N.identifier = zn(this.sliceSerialize(g)).toLowerCase();
4799
4840
  }
4800
4841
  function C() {
4801
4842
  const g = this.resume(), S = this.stack[this.stack.length - 1];
@@ -4808,8 +4849,8 @@ function ia(n) {
4808
4849
  function j(g) {
4809
4850
  const S = this.stack[this.stack.length - 1];
4810
4851
  if (!S.depth) {
4811
- const M = this.sliceSerialize(g).length;
4812
- S.depth = M;
4852
+ const N = this.sliceSerialize(g).length;
4853
+ S.depth = N;
4813
4854
  }
4814
4855
  }
4815
4856
  function y() {
@@ -4823,13 +4864,13 @@ function ia(n) {
4823
4864
  this.data.setextHeadingSlurpLineEnding = void 0;
4824
4865
  }
4825
4866
  function O(g) {
4826
- const M = this.stack[this.stack.length - 1].children;
4827
- let v = M[M.length - 1];
4828
- (!v || v.type !== "text") && (v = Pr(), v.position = {
4867
+ const N = this.stack[this.stack.length - 1].children;
4868
+ let v = N[N.length - 1];
4869
+ (!v || v.type !== "text") && (v = _r(), v.position = {
4829
4870
  start: gn(g.start),
4830
4871
  // @ts-expect-error: we’ll add `end` later.
4831
4872
  end: void 0
4832
- }, M.push(v)), this.stack.push(v);
4873
+ }, N.push(v)), this.stack.push(v);
4833
4874
  }
4834
4875
  function F(g) {
4835
4876
  const S = this.stack.pop();
@@ -4838,8 +4879,8 @@ function ia(n) {
4838
4879
  function A(g) {
4839
4880
  const S = this.stack[this.stack.length - 1];
4840
4881
  if (this.data.atHardBreak) {
4841
- const M = S.children[S.children.length - 1];
4842
- M.position.end = gn(g.end), this.data.atHardBreak = void 0;
4882
+ const N = S.children[S.children.length - 1];
4883
+ N.position.end = gn(g.end), this.data.atHardBreak = void 0;
4843
4884
  return;
4844
4885
  }
4845
4886
  !this.data.setextHeadingSlurpLineEnding && e.canContainEols.includes(S.type) && (O.call(this, g), F.call(this, g));
@@ -4855,7 +4896,7 @@ function ia(n) {
4855
4896
  const g = this.resume(), S = this.stack[this.stack.length - 1];
4856
4897
  S.value = g;
4857
4898
  }
4858
- function _() {
4899
+ function L() {
4859
4900
  const g = this.resume(), S = this.stack[this.stack.length - 1];
4860
4901
  S.value = g;
4861
4902
  }
@@ -4878,16 +4919,16 @@ function ia(n) {
4878
4919
  this.data.referenceType = void 0;
4879
4920
  }
4880
4921
  function rn(g) {
4881
- const S = this.sliceSerialize(g), M = this.stack[this.stack.length - 2];
4882
- M.label = ea(S), M.identifier = Ln(S).toLowerCase();
4922
+ const S = this.sliceSerialize(g), N = this.stack[this.stack.length - 2];
4923
+ N.label = la(S), N.identifier = zn(S).toLowerCase();
4883
4924
  }
4884
4925
  function fn() {
4885
- const g = this.stack[this.stack.length - 1], S = this.resume(), M = this.stack[this.stack.length - 1];
4886
- if (this.data.inReference = !0, M.type === "link") {
4926
+ const g = this.stack[this.stack.length - 1], S = this.resume(), N = this.stack[this.stack.length - 1];
4927
+ if (this.data.inReference = !0, N.type === "link") {
4887
4928
  const v = g.children;
4888
- M.children = v;
4929
+ N.children = v;
4889
4930
  } else
4890
- M.alt = S;
4931
+ N.alt = S;
4891
4932
  }
4892
4933
  function h() {
4893
4934
  const g = this.resume(), S = this.stack[this.stack.length - 1];
@@ -4904,16 +4945,16 @@ function ia(n) {
4904
4945
  this.data.referenceType = "collapsed";
4905
4946
  }
4906
4947
  function on(g) {
4907
- const S = this.resume(), M = this.stack[this.stack.length - 1];
4908
- M.label = S, M.identifier = Ln(this.sliceSerialize(g)).toLowerCase(), this.data.referenceType = "full";
4948
+ const S = this.resume(), N = this.stack[this.stack.length - 1];
4949
+ N.label = S, N.identifier = zn(this.sliceSerialize(g)).toLowerCase(), this.data.referenceType = "full";
4909
4950
  }
4910
4951
  function kn(g) {
4911
4952
  this.data.characterReferenceType = g.type;
4912
4953
  }
4913
4954
  function G(g) {
4914
- const S = this.sliceSerialize(g), M = this.data.characterReferenceType;
4955
+ const S = this.sliceSerialize(g), N = this.data.characterReferenceType;
4915
4956
  let v;
4916
- M ? (v = ir(S, M === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : v = je(S);
4957
+ N ? (v = ar(S, N === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : v = je(S);
4917
4958
  const U = this.stack[this.stack.length - 1];
4918
4959
  U.value += v;
4919
4960
  }
@@ -4937,7 +4978,7 @@ function ia(n) {
4937
4978
  children: []
4938
4979
  };
4939
4980
  }
4940
- function Gn() {
4981
+ function Yn() {
4941
4982
  return {
4942
4983
  type: "code",
4943
4984
  lang: null,
@@ -4945,13 +4986,13 @@ function ia(n) {
4945
4986
  value: ""
4946
4987
  };
4947
4988
  }
4948
- function xr() {
4989
+ function Sr() {
4949
4990
  return {
4950
4991
  type: "inlineCode",
4951
4992
  value: ""
4952
4993
  };
4953
4994
  }
4954
- function br() {
4995
+ function Cr() {
4955
4996
  return {
4956
4997
  type: "definition",
4957
4998
  identifier: "",
@@ -4960,7 +5001,7 @@ function ia(n) {
4960
5001
  url: ""
4961
5002
  };
4962
5003
  }
4963
- function wr() {
5004
+ function Ir() {
4964
5005
  return {
4965
5006
  type: "emphasis",
4966
5007
  children: []
@@ -4985,7 +5026,7 @@ function ia(n) {
4985
5026
  value: ""
4986
5027
  };
4987
5028
  }
4988
- function Sr() {
5029
+ function Er() {
4989
5030
  return {
4990
5031
  type: "image",
4991
5032
  title: null,
@@ -5010,7 +5051,7 @@ function ia(n) {
5010
5051
  children: []
5011
5052
  };
5012
5053
  }
5013
- function Cr(g) {
5054
+ function Pr(g) {
5014
5055
  return {
5015
5056
  type: "listItem",
5016
5057
  spread: g._spread,
@@ -5018,25 +5059,25 @@ function ia(n) {
5018
5059
  children: []
5019
5060
  };
5020
5061
  }
5021
- function Ir() {
5062
+ function Ar() {
5022
5063
  return {
5023
5064
  type: "paragraph",
5024
5065
  children: []
5025
5066
  };
5026
5067
  }
5027
- function Er() {
5068
+ function Tr() {
5028
5069
  return {
5029
5070
  type: "strong",
5030
5071
  children: []
5031
5072
  };
5032
5073
  }
5033
- function Pr() {
5074
+ function _r() {
5034
5075
  return {
5035
5076
  type: "text",
5036
5077
  value: ""
5037
5078
  };
5038
5079
  }
5039
- function Ar() {
5080
+ function zr() {
5040
5081
  return {
5041
5082
  type: "thematicBreak"
5042
5083
  };
@@ -5049,17 +5090,17 @@ function gn(n) {
5049
5090
  offset: n.offset
5050
5091
  };
5051
5092
  }
5052
- function dr(n, e) {
5093
+ function kr(n, e) {
5053
5094
  let t = -1;
5054
5095
  for (; ++t < e.length; ) {
5055
5096
  const r = e[t];
5056
- Array.isArray(r) ? dr(n, r) : la(n, r);
5097
+ Array.isArray(r) ? kr(n, r) : sa(n, r);
5057
5098
  }
5058
5099
  }
5059
- function la(n, e) {
5100
+ function sa(n, e) {
5060
5101
  let t;
5061
5102
  for (t in e)
5062
- if (mr.call(e, t))
5103
+ if (yr.call(e, t))
5063
5104
  switch (t) {
5064
5105
  case "canContainEols": {
5065
5106
  const r = e[t];
@@ -5080,22 +5121,22 @@ function la(n, e) {
5080
5121
  }
5081
5122
  }
5082
5123
  function It(n, e) {
5083
- throw n ? new Error("Cannot close `" + n.type + "` (" + Hn({
5124
+ throw n ? new Error("Cannot close `" + n.type + "` (" + Vn({
5084
5125
  start: n.start,
5085
5126
  end: n.end
5086
- }) + "): a different token (`" + e.type + "`, " + Hn({
5127
+ }) + "): a different token (`" + e.type + "`, " + Vn({
5087
5128
  start: e.start,
5088
5129
  end: e.end
5089
- }) + ") is open") : new Error("Cannot close document, a token (`" + e.type + "`, " + Hn({
5130
+ }) + ") is open") : new Error("Cannot close document, a token (`" + e.type + "`, " + Vn({
5090
5131
  start: e.start,
5091
5132
  end: e.end
5092
5133
  }) + ") is still open");
5093
5134
  }
5094
- function oa(n) {
5135
+ function ca(n) {
5095
5136
  const e = this;
5096
5137
  e.parser = t;
5097
5138
  function t(r) {
5098
- return ra(r, {
5139
+ return aa(r, {
5099
5140
  ...e.data("settings"),
5100
5141
  ...n,
5101
5142
  // Note: these options are not in the readme.
@@ -5106,7 +5147,7 @@ function oa(n) {
5106
5147
  });
5107
5148
  }
5108
5149
  }
5109
- function aa(n, e) {
5150
+ function fa(n, e) {
5110
5151
  const t = {
5111
5152
  type: "element",
5112
5153
  tagName: "blockquote",
@@ -5115,12 +5156,12 @@ function aa(n, e) {
5115
5156
  };
5116
5157
  return n.patch(e, t), n.applyData(e, t);
5117
5158
  }
5118
- function ua(n, e) {
5159
+ function pa(n, e) {
5119
5160
  const t = { type: "element", tagName: "br", properties: {}, children: [] };
5120
5161
  return n.patch(e, t), [n.applyData(e, t), { type: "text", value: `
5121
5162
  ` }];
5122
5163
  }
5123
- function sa(n, e) {
5164
+ function ha(n, e) {
5124
5165
  const t = e.value ? e.value + `
5125
5166
  ` : "", r = {};
5126
5167
  e.lang && (r.className = ["language-" + e.lang]);
@@ -5132,7 +5173,7 @@ function sa(n, e) {
5132
5173
  };
5133
5174
  return e.meta && (i.data = { meta: e.meta }), n.patch(e, i), i = n.applyData(e, i), i = { type: "element", tagName: "pre", properties: {}, children: [i] }, n.patch(e, i), i;
5134
5175
  }
5135
- function ca(n, e) {
5176
+ function ma(n, e) {
5136
5177
  const t = {
5137
5178
  type: "element",
5138
5179
  tagName: "del",
@@ -5141,7 +5182,7 @@ function ca(n, e) {
5141
5182
  };
5142
5183
  return n.patch(e, t), n.applyData(e, t);
5143
5184
  }
5144
- function fa(n, e) {
5185
+ function da(n, e) {
5145
5186
  const t = {
5146
5187
  type: "element",
5147
5188
  tagName: "em",
@@ -5150,8 +5191,8 @@ function fa(n, e) {
5150
5191
  };
5151
5192
  return n.patch(e, t), n.applyData(e, t);
5152
5193
  }
5153
- function pa(n, e) {
5154
- const t = typeof n.options.clobberPrefix == "string" ? n.options.clobberPrefix : "user-content-", r = String(e.identifier).toUpperCase(), i = _n(r.toLowerCase()), l = n.footnoteOrder.indexOf(r);
5194
+ function ga(n, e) {
5195
+ const t = typeof n.options.clobberPrefix == "string" ? n.options.clobberPrefix : "user-content-", r = String(e.identifier).toUpperCase(), i = Nn(r.toLowerCase()), l = n.footnoteOrder.indexOf(r);
5155
5196
  let o, a = n.footnoteCounts.get(r);
5156
5197
  a === void 0 ? (a = 0, n.footnoteOrder.push(r), o = n.footnoteOrder.length) : o = l + 1, a += 1, n.footnoteCounts.set(r, a);
5157
5198
  const s = {
@@ -5174,7 +5215,7 @@ function pa(n, e) {
5174
5215
  };
5175
5216
  return n.patch(e, u), n.applyData(e, u);
5176
5217
  }
5177
- function ha(n, e) {
5218
+ function ya(n, e) {
5178
5219
  const t = {
5179
5220
  type: "element",
5180
5221
  tagName: "h" + e.depth,
@@ -5183,13 +5224,13 @@ function ha(n, e) {
5183
5224
  };
5184
5225
  return n.patch(e, t), n.applyData(e, t);
5185
5226
  }
5186
- function ma(n, e) {
5227
+ function ka(n, e) {
5187
5228
  if (n.options.allowDangerousHtml) {
5188
5229
  const t = { type: "raw", value: e.value };
5189
5230
  return n.patch(e, t), n.applyData(e, t);
5190
5231
  }
5191
5232
  }
5192
- function gr(n, e) {
5233
+ function xr(n, e) {
5193
5234
  const t = e.referenceType;
5194
5235
  let r = "]";
5195
5236
  if (t === "collapsed" ? r += "[]" : t === "full" && (r += "[" + (e.label || e.identifier) + "]"), e.type === "imageReference")
@@ -5199,22 +5240,22 @@ function gr(n, e) {
5199
5240
  const o = i[i.length - 1];
5200
5241
  return o && o.type === "text" ? o.value += r : i.push({ type: "text", value: r }), i;
5201
5242
  }
5202
- function da(n, e) {
5243
+ function xa(n, e) {
5203
5244
  const t = String(e.identifier).toUpperCase(), r = n.definitionById.get(t);
5204
5245
  if (!r)
5205
- return gr(n, e);
5206
- const i = { src: _n(r.url || ""), alt: e.alt };
5246
+ return xr(n, e);
5247
+ const i = { src: Nn(r.url || ""), alt: e.alt };
5207
5248
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5208
5249
  const l = { type: "element", tagName: "img", properties: i, children: [] };
5209
5250
  return n.patch(e, l), n.applyData(e, l);
5210
5251
  }
5211
- function ga(n, e) {
5212
- const t = { src: _n(e.url) };
5252
+ function ba(n, e) {
5253
+ const t = { src: Nn(e.url) };
5213
5254
  e.alt !== null && e.alt !== void 0 && (t.alt = e.alt), e.title !== null && e.title !== void 0 && (t.title = e.title);
5214
5255
  const r = { type: "element", tagName: "img", properties: t, children: [] };
5215
5256
  return n.patch(e, r), n.applyData(e, r);
5216
5257
  }
5217
- function ya(n, e) {
5258
+ function wa(n, e) {
5218
5259
  const t = { type: "text", value: e.value.replace(/\r?\n|\r/g, " ") };
5219
5260
  n.patch(e, t);
5220
5261
  const r = {
@@ -5225,11 +5266,11 @@ function ya(n, e) {
5225
5266
  };
5226
5267
  return n.patch(e, r), n.applyData(e, r);
5227
5268
  }
5228
- function ka(n, e) {
5269
+ function Sa(n, e) {
5229
5270
  const t = String(e.identifier).toUpperCase(), r = n.definitionById.get(t);
5230
5271
  if (!r)
5231
- return gr(n, e);
5232
- const i = { href: _n(r.url || "") };
5272
+ return xr(n, e);
5273
+ const i = { href: Nn(r.url || "") };
5233
5274
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5234
5275
  const l = {
5235
5276
  type: "element",
@@ -5239,8 +5280,8 @@ function ka(n, e) {
5239
5280
  };
5240
5281
  return n.patch(e, l), n.applyData(e, l);
5241
5282
  }
5242
- function xa(n, e) {
5243
- const t = { href: _n(e.url) };
5283
+ function Ca(n, e) {
5284
+ const t = { href: Nn(e.url) };
5244
5285
  e.title !== null && e.title !== void 0 && (t.title = e.title);
5245
5286
  const r = {
5246
5287
  type: "element",
@@ -5250,8 +5291,8 @@ function xa(n, e) {
5250
5291
  };
5251
5292
  return n.patch(e, r), n.applyData(e, r);
5252
5293
  }
5253
- function ba(n, e, t) {
5254
- const r = n.all(e), i = t ? wa(t) : yr(e), l = {}, o = [];
5294
+ function Ia(n, e, t) {
5295
+ const r = n.all(e), i = t ? Ea(t) : br(e), l = {}, o = [];
5255
5296
  if (typeof e.checked == "boolean") {
5256
5297
  const c = r[0];
5257
5298
  let f;
@@ -5274,22 +5315,22 @@ function ba(n, e, t) {
5274
5315
  const u = { type: "element", tagName: "li", properties: l, children: o };
5275
5316
  return n.patch(e, u), n.applyData(e, u);
5276
5317
  }
5277
- function wa(n) {
5318
+ function Ea(n) {
5278
5319
  let e = !1;
5279
5320
  if (n.type === "list") {
5280
5321
  e = n.spread || !1;
5281
5322
  const t = n.children;
5282
5323
  let r = -1;
5283
5324
  for (; !e && ++r < t.length; )
5284
- e = yr(t[r]);
5325
+ e = br(t[r]);
5285
5326
  }
5286
5327
  return e;
5287
5328
  }
5288
- function yr(n) {
5329
+ function br(n) {
5289
5330
  const e = n.spread;
5290
5331
  return e ?? n.children.length > 1;
5291
5332
  }
5292
- function Sa(n, e) {
5333
+ function Pa(n, e) {
5293
5334
  const t = {}, r = n.all(e);
5294
5335
  let i = -1;
5295
5336
  for (typeof e.start == "number" && e.start !== 1 && (t.start = e.start); ++i < r.length; ) {
@@ -5307,7 +5348,7 @@ function Sa(n, e) {
5307
5348
  };
5308
5349
  return n.patch(e, l), n.applyData(e, l);
5309
5350
  }
5310
- function Ca(n, e) {
5351
+ function Aa(n, e) {
5311
5352
  const t = {
5312
5353
  type: "element",
5313
5354
  tagName: "p",
@@ -5316,11 +5357,11 @@ function Ca(n, e) {
5316
5357
  };
5317
5358
  return n.patch(e, t), n.applyData(e, t);
5318
5359
  }
5319
- function Ia(n, e) {
5360
+ function Ta(n, e) {
5320
5361
  const t = { type: "root", children: n.wrap(n.all(e)) };
5321
5362
  return n.patch(e, t), n.applyData(e, t);
5322
5363
  }
5323
- function Ea(n, e) {
5364
+ function _a(n, e) {
5324
5365
  const t = {
5325
5366
  type: "element",
5326
5367
  tagName: "strong",
@@ -5329,7 +5370,7 @@ function Ea(n, e) {
5329
5370
  };
5330
5371
  return n.patch(e, t), n.applyData(e, t);
5331
5372
  }
5332
- function Pa(n, e) {
5373
+ function za(n, e) {
5333
5374
  const t = n.all(e), r = t.shift(), i = [];
5334
5375
  if (r) {
5335
5376
  const o = {
@@ -5346,7 +5387,7 @@ function Pa(n, e) {
5346
5387
  tagName: "tbody",
5347
5388
  properties: {},
5348
5389
  children: n.wrap(t, !0)
5349
- }, a = Oe(e.children[1]), s = Qt(e.children[e.children.length - 1]);
5390
+ }, a = Oe(e.children[1]), s = nr(e.children[e.children.length - 1]);
5350
5391
  a && s && (o.position = { start: a, end: s }), i.push(o);
5351
5392
  }
5352
5393
  const l = {
@@ -5357,7 +5398,7 @@ function Pa(n, e) {
5357
5398
  };
5358
5399
  return n.patch(e, l), n.applyData(e, l);
5359
5400
  }
5360
- function Aa(n, e, t) {
5401
+ function La(n, e, t) {
5361
5402
  const r = t ? t.children : void 0, l = (r ? r.indexOf(e) : 1) === 0 ? "th" : "td", o = t && t.type === "table" ? t.align : void 0, a = o ? o.length : e.children.length;
5362
5403
  let s = -1;
5363
5404
  const u = [];
@@ -5375,7 +5416,7 @@ function Aa(n, e, t) {
5375
5416
  };
5376
5417
  return n.patch(e, c), n.applyData(e, c);
5377
5418
  }
5378
- function Ta(n, e) {
5419
+ function Na(n, e) {
5379
5420
  const t = {
5380
5421
  type: "element",
5381
5422
  tagName: "td",
@@ -5386,7 +5427,7 @@ function Ta(n, e) {
5386
5427
  return n.patch(e, t), n.applyData(e, t);
5387
5428
  }
5388
5429
  const Et = 9, Pt = 32;
5389
- function La(n) {
5430
+ function Ma(n) {
5390
5431
  const e = String(n), t = /\r?\n|\r/g;
5391
5432
  let r = t.exec(e), i = 0;
5392
5433
  const l = [];
@@ -5411,11 +5452,11 @@ function At(n, e, t) {
5411
5452
  }
5412
5453
  return i > r ? n.slice(r, i) : "";
5413
5454
  }
5414
- function za(n, e) {
5415
- const t = { type: "text", value: La(String(e.value)) };
5455
+ function va(n, e) {
5456
+ const t = { type: "text", value: Ma(String(e.value)) };
5416
5457
  return n.patch(e, t), n.applyData(e, t);
5417
5458
  }
5418
- function _a(n, e) {
5459
+ function Ra(n, e) {
5419
5460
  const t = {
5420
5461
  type: "element",
5421
5462
  tagName: "hr",
@@ -5424,39 +5465,39 @@ function _a(n, e) {
5424
5465
  };
5425
5466
  return n.patch(e, t), n.applyData(e, t);
5426
5467
  }
5427
- const Ma = {
5428
- blockquote: aa,
5429
- break: ua,
5430
- code: sa,
5431
- delete: ca,
5432
- emphasis: fa,
5433
- footnoteReference: pa,
5434
- heading: ha,
5435
- html: ma,
5436
- imageReference: da,
5437
- image: ga,
5438
- inlineCode: ya,
5439
- linkReference: ka,
5440
- link: xa,
5441
- listItem: ba,
5442
- list: Sa,
5443
- paragraph: Ca,
5468
+ const Da = {
5469
+ blockquote: fa,
5470
+ break: pa,
5471
+ code: ha,
5472
+ delete: ma,
5473
+ emphasis: da,
5474
+ footnoteReference: ga,
5475
+ heading: ya,
5476
+ html: ka,
5477
+ imageReference: xa,
5478
+ image: ba,
5479
+ inlineCode: wa,
5480
+ linkReference: Sa,
5481
+ link: Ca,
5482
+ listItem: Ia,
5483
+ list: Pa,
5484
+ paragraph: Aa,
5444
5485
  // @ts-expect-error: root is different, but hard to type.
5445
- root: Ia,
5446
- strong: Ea,
5447
- table: Pa,
5448
- tableCell: Ta,
5449
- tableRow: Aa,
5450
- text: za,
5451
- thematicBreak: _a,
5452
- toml: Kn,
5453
- yaml: Kn,
5454
- definition: Kn,
5455
- footnoteDefinition: Kn
5486
+ root: Ta,
5487
+ strong: _a,
5488
+ table: za,
5489
+ tableCell: Na,
5490
+ tableRow: La,
5491
+ text: va,
5492
+ thematicBreak: Ra,
5493
+ toml: Qn,
5494
+ yaml: Qn,
5495
+ definition: Qn,
5496
+ footnoteDefinition: Qn
5456
5497
  };
5457
- function Kn() {
5498
+ function Qn() {
5458
5499
  }
5459
- function Na(n, e) {
5500
+ function Oa(n, e) {
5460
5501
  const t = [{ type: "text", value: "↩" }];
5461
5502
  return e > 1 && t.push({
5462
5503
  type: "element",
@@ -5465,11 +5506,11 @@ function Na(n, e) {
5465
5506
  children: [{ type: "text", value: String(e) }]
5466
5507
  }), t;
5467
5508
  }
5468
- function va(n, e) {
5509
+ function Fa(n, e) {
5469
5510
  return "Back to reference " + (n + 1) + (e > 1 ? "-" + e : "");
5470
5511
  }
5471
- function Ra(n) {
5472
- const e = typeof n.options.clobberPrefix == "string" ? n.options.clobberPrefix : "user-content-", t = n.options.footnoteBackContent || Na, r = n.options.footnoteBackLabel || va, i = n.options.footnoteLabel || "Footnotes", l = n.options.footnoteLabelTagName || "h2", o = n.options.footnoteLabelProperties || {
5512
+ function Ba(n) {
5513
+ const e = typeof n.options.clobberPrefix == "string" ? n.options.clobberPrefix : "user-content-", t = n.options.footnoteBackContent || Oa, r = n.options.footnoteBackLabel || Fa, i = n.options.footnoteLabel || "Footnotes", l = n.options.footnoteLabelTagName || "h2", o = n.options.footnoteLabelProperties || {
5473
5514
  className: ["sr-only"]
5474
5515
  }, a = [];
5475
5516
  let s = -1;
@@ -5479,7 +5520,7 @@ function Ra(n) {
5479
5520
  );
5480
5521
  if (!u)
5481
5522
  continue;
5482
- const c = n.all(u), f = String(u.identifier).toUpperCase(), d = _n(f.toLowerCase());
5523
+ const c = n.all(u), f = String(u.identifier).toUpperCase(), d = Nn(f.toLowerCase());
5483
5524
  let p = 0;
5484
5525
  const w = [], b = n.footnoteCounts.get(f);
5485
5526
  for (; b !== void 0 && ++p <= b; ) {
@@ -5497,10 +5538,10 @@ function Ra(n) {
5497
5538
  children: Array.isArray(T) ? T : [T]
5498
5539
  });
5499
5540
  }
5500
- const L = c[c.length - 1];
5501
- if (L && L.type === "element" && L.tagName === "p") {
5502
- const T = L.children[L.children.length - 1];
5503
- T && T.type === "text" ? T.value += " " : L.children.push({ type: "text", value: " " }), L.children.push(...w);
5541
+ const _ = c[c.length - 1];
5542
+ if (_ && _.type === "element" && _.tagName === "p") {
5543
+ const T = _.children[_.children.length - 1];
5544
+ T && T.type === "text" ? T.value += " " : _.children.push({ type: "text", value: " " }), _.children.push(...w);
5504
5545
  } else
5505
5546
  c.push(...w);
5506
5547
  const x = {
@@ -5539,11 +5580,11 @@ function Ra(n) {
5539
5580
  ]
5540
5581
  };
5541
5582
  }
5542
- const Pe = {}.hasOwnProperty, Da = {};
5543
- function Oa(n, e) {
5544
- const t = e || Da, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Ma, ...t.handlers }, a = {
5583
+ const Ae = {}.hasOwnProperty, Ua = {};
5584
+ function ja(n, e) {
5585
+ const t = e || Ua, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Da, ...t.handlers }, a = {
5545
5586
  all: u,
5546
- applyData: Ba,
5587
+ applyData: Ha,
5547
5588
  definitionById: r,
5548
5589
  footnoteById: i,
5549
5590
  footnoteCounts: l,
@@ -5551,8 +5592,8 @@ function Oa(n, e) {
5551
5592
  handlers: o,
5552
5593
  one: s,
5553
5594
  options: t,
5554
- patch: Fa,
5555
- wrap: ja
5595
+ patch: $a,
5596
+ wrap: qa
5556
5597
  };
5557
5598
  return wn(n, function(c) {
5558
5599
  if (c.type === "definition" || c.type === "footnoteDefinition") {
@@ -5562,16 +5603,16 @@ function Oa(n, e) {
5562
5603
  }), a;
5563
5604
  function s(c, f) {
5564
5605
  const d = c.type, p = a.handlers[d];
5565
- if (Pe.call(a.handlers, d) && p)
5606
+ if (Ae.call(a.handlers, d) && p)
5566
5607
  return p(a, c, f);
5567
5608
  if (a.options.passThrough && a.options.passThrough.includes(d)) {
5568
5609
  if ("children" in c) {
5569
- const { children: b, ...L } = c, x = bn(L);
5610
+ const { children: b, ..._ } = c, x = bn(_);
5570
5611
  return x.children = a.all(c), x;
5571
5612
  }
5572
5613
  return bn(c);
5573
5614
  }
5574
- return (a.options.unknownHandler || Ua)(a, c, f);
5615
+ return (a.options.unknownHandler || Va)(a, c, f);
5575
5616
  }
5576
5617
  function u(c) {
5577
5618
  const f = [];
@@ -5592,10 +5633,10 @@ function Oa(n, e) {
5592
5633
  return f;
5593
5634
  }
5594
5635
  }
5595
- function Fa(n, e) {
5596
- n.position && (e.position = Mi(n));
5636
+ function $a(n, e) {
5637
+ n.position && (e.position = Di(n));
5597
5638
  }
5598
- function Ba(n, e) {
5639
+ function Ha(n, e) {
5599
5640
  let t = e;
5600
5641
  if (n && n.data) {
5601
5642
  const r = n.data.hName, i = n.data.hChildren, l = n.data.hProperties;
@@ -5610,8 +5651,8 @@ function Ba(n, e) {
5610
5651
  }
5611
5652
  return t;
5612
5653
  }
5613
- function Ua(n, e) {
5614
- const t = e.data || {}, r = "value" in e && !(Pe.call(t, "hProperties") || Pe.call(t, "hChildren")) ? { type: "text", value: e.value } : {
5654
+ function Va(n, e) {
5655
+ const t = e.data || {}, r = "value" in e && !(Ae.call(t, "hProperties") || Ae.call(t, "hChildren")) ? { type: "text", value: e.value } : {
5615
5656
  type: "element",
5616
5657
  tagName: "div",
5617
5658
  properties: {},
@@ -5619,7 +5660,7 @@ function Ua(n, e) {
5619
5660
  };
5620
5661
  return n.patch(e, r), n.applyData(e, r);
5621
5662
  }
5622
- function ja(n, e) {
5663
+ function qa(n, e) {
5623
5664
  const t = [];
5624
5665
  let r = -1;
5625
5666
  for (e && t.push({ type: "text", value: `
@@ -5635,22 +5676,22 @@ function Tt(n) {
5635
5676
  e++, t = n.charCodeAt(e);
5636
5677
  return n.slice(e);
5637
5678
  }
5638
- function Lt(n, e) {
5639
- const t = Oa(n, e), r = t.one(n, void 0), i = Ra(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5679
+ function _t(n, e) {
5680
+ const t = ja(n, e), r = t.one(n, void 0), i = Ba(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5640
5681
  return i && l.children.push({ type: "text", value: `
5641
5682
  ` }, i), l;
5642
5683
  }
5643
- function $a(n, e) {
5684
+ function Wa(n, e) {
5644
5685
  return n && "run" in n ? async function(t, r) {
5645
5686
  const i = (
5646
5687
  /** @type {HastRoot} */
5647
- Lt(t, { file: r, ...e })
5688
+ _t(t, { file: r, ...e })
5648
5689
  );
5649
5690
  await n.run(i, r);
5650
5691
  } : function(t, r) {
5651
5692
  return (
5652
5693
  /** @type {HastRoot} */
5653
- Lt(t, { file: r, ...n || e })
5694
+ _t(t, { file: r, ...n || e })
5654
5695
  );
5655
5696
  };
5656
5697
  }
@@ -5658,10 +5699,10 @@ function zt(n) {
5658
5699
  if (n)
5659
5700
  throw n;
5660
5701
  }
5661
- var ce, _t;
5662
- function Ha() {
5663
- if (_t) return ce;
5664
- _t = 1;
5702
+ var fe, Lt;
5703
+ function Xa() {
5704
+ if (Lt) return fe;
5705
+ Lt = 1;
5665
5706
  var n = Object.prototype.hasOwnProperty, e = Object.prototype.toString, t = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = function(u) {
5666
5707
  return typeof Array.isArray == "function" ? Array.isArray(u) : e.call(u) === "[object Array]";
5667
5708
  }, l = function(u) {
@@ -5689,24 +5730,24 @@ function Ha() {
5689
5730
  } else return;
5690
5731
  return u[c];
5691
5732
  };
5692
- return ce = function s() {
5693
- var u, c, f, d, p, w, b = arguments[0], L = 1, x = arguments.length, T = !1;
5694
- for (typeof b == "boolean" && (T = b, b = arguments[1] || {}, L = 2), (b == null || typeof b != "object" && typeof b != "function") && (b = {}); L < x; ++L)
5695
- if (u = arguments[L], u != null)
5733
+ return fe = function s() {
5734
+ var u, c, f, d, p, w, b = arguments[0], _ = 1, x = arguments.length, T = !1;
5735
+ for (typeof b == "boolean" && (T = b, b = arguments[1] || {}, _ = 2), (b == null || typeof b != "object" && typeof b != "function") && (b = {}); _ < x; ++_)
5736
+ if (u = arguments[_], u != null)
5696
5737
  for (c in u)
5697
5738
  f = a(b, c), d = a(u, c), b !== d && (T && d && (l(d) || (p = i(d))) ? (p ? (p = !1, w = f && i(f) ? f : []) : w = f && l(f) ? f : {}, o(b, { name: c, newValue: s(T, w, d) })) : typeof d < "u" && o(b, { name: c, newValue: d }));
5698
5739
  return b;
5699
- }, ce;
5740
+ }, fe;
5700
5741
  }
5701
- var Va = /* @__PURE__ */ Ha();
5702
- const fe = /* @__PURE__ */ Ot(Va);
5703
- function Ae(n) {
5742
+ var Ga = /* @__PURE__ */ Xa();
5743
+ const pe = /* @__PURE__ */ Bt(Ga);
5744
+ function Te(n) {
5704
5745
  if (typeof n != "object" || n === null)
5705
5746
  return !1;
5706
5747
  const e = Object.getPrototypeOf(n);
5707
5748
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in n) && !(Symbol.iterator in n);
5708
5749
  }
5709
- function qa() {
5750
+ function Ya() {
5710
5751
  const n = [], e = { run: t, use: r };
5711
5752
  return e;
5712
5753
  function t(...i) {
@@ -5724,7 +5765,7 @@ function qa() {
5724
5765
  }
5725
5766
  for (; ++f < i.length; )
5726
5767
  (u[f] === null || u[f] === void 0) && (u[f] = i[f]);
5727
- i = u, c ? Wa(c, a)(...u) : o(null, ...u);
5768
+ i = u, c ? Ka(c, a)(...u) : o(null, ...u);
5728
5769
  }
5729
5770
  }
5730
5771
  function r(i) {
@@ -5735,7 +5776,7 @@ function qa() {
5735
5776
  return n.push(i), e;
5736
5777
  }
5737
5778
  }
5738
- function Wa(n, e) {
5779
+ function Ka(n, e) {
5739
5780
  let t;
5740
5781
  return r;
5741
5782
  function r(...o) {
@@ -5762,11 +5803,11 @@ function Wa(n, e) {
5762
5803
  i(null, o);
5763
5804
  }
5764
5805
  }
5765
- const un = { basename: Xa, dirname: Ga, extname: Ya, join: Ka, sep: "/" };
5766
- function Xa(n, e) {
5806
+ const un = { basename: Qa, dirname: Ja, extname: Za, join: nu, sep: "/" };
5807
+ function Qa(n, e) {
5767
5808
  if (e !== void 0 && typeof e != "string")
5768
5809
  throw new TypeError('"ext" argument must be a string');
5769
- Xn(n);
5810
+ Gn(n);
5770
5811
  let t = 0, r = -1, i = n.length, l;
5771
5812
  if (e === void 0 || e.length === 0 || e.length > n.length) {
5772
5813
  for (; i--; )
@@ -5791,8 +5832,8 @@ function Xa(n, e) {
5791
5832
  o < 0 && (l = !0, o = i + 1), a > -1 && (n.codePointAt(i) === e.codePointAt(a--) ? a < 0 && (r = i) : (a = -1, r = o));
5792
5833
  return t === r ? r = o : r < 0 && (r = n.length), n.slice(t, r);
5793
5834
  }
5794
- function Ga(n) {
5795
- if (Xn(n), n.length === 0)
5835
+ function Ja(n) {
5836
+ if (Gn(n), n.length === 0)
5796
5837
  return ".";
5797
5838
  let e = -1, t = n.length, r;
5798
5839
  for (; --t; )
@@ -5804,8 +5845,8 @@ function Ga(n) {
5804
5845
  } else r || (r = !0);
5805
5846
  return e < 0 ? n.codePointAt(0) === 47 ? "/" : "." : e === 1 && n.codePointAt(0) === 47 ? "//" : n.slice(0, e);
5806
5847
  }
5807
- function Ya(n) {
5808
- Xn(n);
5848
+ function Za(n) {
5849
+ Gn(n);
5809
5850
  let e = n.length, t = -1, r = 0, i = -1, l = 0, o;
5810
5851
  for (; e--; ) {
5811
5852
  const a = n.codePointAt(e);
@@ -5822,19 +5863,19 @@ function Ya(n) {
5822
5863
  l === 0 || // The (right-most) trimmed path component is exactly `..`.
5823
5864
  l === 1 && i === t - 1 && i === r + 1 ? "" : n.slice(i, t);
5824
5865
  }
5825
- function Ka(...n) {
5866
+ function nu(...n) {
5826
5867
  let e = -1, t;
5827
5868
  for (; ++e < n.length; )
5828
- Xn(n[e]), n[e] && (t = t === void 0 ? n[e] : t + "/" + n[e]);
5829
- return t === void 0 ? "." : Qa(t);
5869
+ Gn(n[e]), n[e] && (t = t === void 0 ? n[e] : t + "/" + n[e]);
5870
+ return t === void 0 ? "." : eu(t);
5830
5871
  }
5831
- function Qa(n) {
5832
- Xn(n);
5872
+ function eu(n) {
5873
+ Gn(n);
5833
5874
  const e = n.codePointAt(0) === 47;
5834
- let t = Ja(n, !e);
5875
+ let t = tu(n, !e);
5835
5876
  return t.length === 0 && !e && (t = "."), t.length > 0 && n.codePointAt(n.length - 1) === 47 && (t += "/"), e ? "/" + t : t;
5836
5877
  }
5837
- function Ja(n, e) {
5878
+ function tu(n, e) {
5838
5879
  let t = "", r = 0, i = -1, l = 0, o = -1, a, s;
5839
5880
  for (; ++o <= n.length; ) {
5840
5881
  if (o < n.length)
@@ -5865,24 +5906,24 @@ function Ja(n, e) {
5865
5906
  }
5866
5907
  return t;
5867
5908
  }
5868
- function Xn(n) {
5909
+ function Gn(n) {
5869
5910
  if (typeof n != "string")
5870
5911
  throw new TypeError(
5871
5912
  "Path must be a string. Received " + JSON.stringify(n)
5872
5913
  );
5873
5914
  }
5874
- const Za = { cwd: nu };
5875
- function nu() {
5915
+ const ru = { cwd: iu };
5916
+ function iu() {
5876
5917
  return "/";
5877
5918
  }
5878
- function Te(n) {
5919
+ function _e(n) {
5879
5920
  return !!(n !== null && typeof n == "object" && "href" in n && n.href && "protocol" in n && n.protocol && // @ts-expect-error: indexing is fine.
5880
5921
  n.auth === void 0);
5881
5922
  }
5882
- function eu(n) {
5923
+ function lu(n) {
5883
5924
  if (typeof n == "string")
5884
5925
  n = new URL(n);
5885
- else if (!Te(n)) {
5926
+ else if (!_e(n)) {
5886
5927
  const e = new TypeError(
5887
5928
  'The "path" argument must be of type string or an instance of URL. Received `' + n + "`"
5888
5929
  );
@@ -5892,9 +5933,9 @@ function eu(n) {
5892
5933
  const e = new TypeError("The URL must be of scheme file");
5893
5934
  throw e.code = "ERR_INVALID_URL_SCHEME", e;
5894
5935
  }
5895
- return tu(n);
5936
+ return ou(n);
5896
5937
  }
5897
- function tu(n) {
5938
+ function ou(n) {
5898
5939
  if (n.hostname !== "") {
5899
5940
  const r = new TypeError(
5900
5941
  'File URL host must be "localhost" or empty on darwin'
@@ -5915,7 +5956,7 @@ function tu(n) {
5915
5956
  }
5916
5957
  return decodeURIComponent(e);
5917
5958
  }
5918
- const pe = (
5959
+ const he = (
5919
5960
  /** @type {const} */
5920
5961
  [
5921
5962
  "history",
@@ -5926,7 +5967,7 @@ const pe = (
5926
5967
  "dirname"
5927
5968
  ]
5928
5969
  );
5929
- class ru {
5970
+ class au {
5930
5971
  /**
5931
5972
  * Create a new virtual file.
5932
5973
  *
@@ -5951,15 +5992,15 @@ class ru {
5951
5992
  */
5952
5993
  constructor(e) {
5953
5994
  let t;
5954
- e ? Te(e) ? t = { path: e } : typeof e == "string" || iu(e) ? t = { value: e } : t = e : t = {}, this.cwd = "cwd" in t ? "" : Za.cwd(), this.data = {}, this.history = [], this.messages = [];
5995
+ e ? _e(e) ? t = { path: e } : typeof e == "string" || uu(e) ? t = { value: e } : t = e : t = {}, this.cwd = "cwd" in t ? "" : ru.cwd(), this.data = {}, this.history = [], this.messages = [];
5955
5996
  let r = -1;
5956
- for (; ++r < pe.length; ) {
5957
- const l = pe[r];
5997
+ for (; ++r < he.length; ) {
5998
+ const l = he[r];
5958
5999
  l in t && t[l] !== void 0 && t[l] !== null && (this[l] = l === "history" ? [...t[l]] : t[l]);
5959
6000
  }
5960
6001
  let i;
5961
6002
  for (i in t)
5962
- pe.includes(i) || (this[i] = t[i]);
6003
+ he.includes(i) || (this[i] = t[i]);
5963
6004
  }
5964
6005
  /**
5965
6006
  * Get the basename (including extname) (example: `'index.min.js'`).
@@ -5983,7 +6024,7 @@ class ru {
5983
6024
  * Nothing.
5984
6025
  */
5985
6026
  set basename(e) {
5986
- me(e, "basename"), he(e, "basename"), this.path = un.join(this.dirname || "", e);
6027
+ de(e, "basename"), me(e, "basename"), this.path = un.join(this.dirname || "", e);
5987
6028
  }
5988
6029
  /**
5989
6030
  * Get the parent path (example: `'~'`).
@@ -6005,7 +6046,7 @@ class ru {
6005
6046
  * Nothing.
6006
6047
  */
6007
6048
  set dirname(e) {
6008
- Mt(this.basename, "dirname"), this.path = un.join(e || "", this.basename);
6049
+ Nt(this.basename, "dirname"), this.path = un.join(e || "", this.basename);
6009
6050
  }
6010
6051
  /**
6011
6052
  * Get the extname (including dot) (example: `'.js'`).
@@ -6029,7 +6070,7 @@ class ru {
6029
6070
  * Nothing.
6030
6071
  */
6031
6072
  set extname(e) {
6032
- if (he(e, "extname"), Mt(this.dirname, "extname"), e) {
6073
+ if (me(e, "extname"), Nt(this.dirname, "extname"), e) {
6033
6074
  if (e.codePointAt(0) !== 46)
6034
6075
  throw new Error("`extname` must start with `.`");
6035
6076
  if (e.includes(".", 1))
@@ -6059,7 +6100,7 @@ class ru {
6059
6100
  * Nothing.
6060
6101
  */
6061
6102
  set path(e) {
6062
- Te(e) && (e = eu(e)), me(e, "path"), this.path !== e && this.history.push(e);
6103
+ _e(e) && (e = lu(e)), de(e, "path"), this.path !== e && this.history.push(e);
6063
6104
  }
6064
6105
  /**
6065
6106
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -6083,7 +6124,7 @@ class ru {
6083
6124
  * Nothing.
6084
6125
  */
6085
6126
  set stem(e) {
6086
- me(e, "stem"), he(e, "stem"), this.path = un.join(this.dirname || "", e + (this.extname || ""));
6127
+ de(e, "stem"), me(e, "stem"), this.path = un.join(this.dirname || "", e + (this.extname || ""));
6087
6128
  }
6088
6129
  // Normal prototypal methods.
6089
6130
  /**
@@ -6296,24 +6337,24 @@ class ru {
6296
6337
  return this.value === void 0 ? "" : typeof this.value == "string" ? this.value : new TextDecoder(e || void 0).decode(this.value);
6297
6338
  }
6298
6339
  }
6299
- function he(n, e) {
6340
+ function me(n, e) {
6300
6341
  if (n && n.includes(un.sep))
6301
6342
  throw new Error(
6302
6343
  "`" + e + "` cannot be a path: did not expect `" + un.sep + "`"
6303
6344
  );
6304
6345
  }
6305
- function me(n, e) {
6346
+ function de(n, e) {
6306
6347
  if (!n)
6307
6348
  throw new Error("`" + e + "` cannot be empty");
6308
6349
  }
6309
- function Mt(n, e) {
6350
+ function Nt(n, e) {
6310
6351
  if (!n)
6311
6352
  throw new Error("Setting `" + e + "` requires `path` to be set too");
6312
6353
  }
6313
- function iu(n) {
6354
+ function uu(n) {
6314
6355
  return !!(n && typeof n == "object" && "byteLength" in n && "byteOffset" in n);
6315
6356
  }
6316
- const lu = (
6357
+ const su = (
6317
6358
  /**
6318
6359
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
6319
6360
  */
@@ -6334,13 +6375,13 @@ const lu = (
6334
6375
  };
6335
6376
  return Object.setPrototypeOf(l, r), l;
6336
6377
  })
6337
- ), ou = {}.hasOwnProperty;
6338
- class Ve extends lu {
6378
+ ), cu = {}.hasOwnProperty;
6379
+ class Ve extends su {
6339
6380
  /**
6340
6381
  * Create a processor.
6341
6382
  */
6342
6383
  constructor() {
6343
- 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();
6384
+ 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 = Ya();
6344
6385
  }
6345
6386
  /**
6346
6387
  * Copy a processor.
@@ -6363,7 +6404,7 @@ class Ve extends lu {
6363
6404
  const r = this.attachers[t];
6364
6405
  e.use(...r);
6365
6406
  }
6366
- return e.data(fe(!0, {}, this.namespace)), e;
6407
+ return e.data(pe(!0, {}, this.namespace)), e;
6367
6408
  }
6368
6409
  /**
6369
6410
  * Configure the processor with info available to all plugins.
@@ -6425,7 +6466,7 @@ class Ve extends lu {
6425
6466
  * the entire dataset when getting without key.
6426
6467
  */
6427
6468
  data(e, t) {
6428
- return typeof e == "string" ? arguments.length === 2 ? (ye("data", this.frozen), this.namespace[e] = t, this) : ou.call(this.namespace, e) && this.namespace[e] || void 0 : e ? (ye("data", this.frozen), this.namespace = e, this) : this.namespace;
6469
+ return typeof e == "string" ? arguments.length === 2 ? (ke("data", this.frozen), this.namespace[e] = t, this) : cu.call(this.namespace, e) && this.namespace[e] || void 0 : e ? (ke("data", this.frozen), this.namespace = e, this) : this.namespace;
6429
6470
  }
6430
6471
  /**
6431
6472
  * Freeze a processor.
@@ -6478,8 +6519,8 @@ class Ve extends lu {
6478
6519
  */
6479
6520
  parse(e) {
6480
6521
  this.freeze();
6481
- const t = Qn(e), r = this.parser || this.Parser;
6482
- return de("parse", r), r(String(t), t);
6522
+ const t = Jn(e), r = this.parser || this.Parser;
6523
+ return ge("parse", r), r(String(t), t);
6483
6524
  }
6484
6525
  /**
6485
6526
  * Process the given file as configured on the processor.
@@ -6525,9 +6566,9 @@ class Ve extends lu {
6525
6566
  */
6526
6567
  process(e, t) {
6527
6568
  const r = this;
6528
- return this.freeze(), de("process", this.parser || this.Parser), ge("process", this.compiler || this.Compiler), t ? i(void 0, t) : new Promise(i);
6569
+ return this.freeze(), ge("process", this.parser || this.Parser), ye("process", this.compiler || this.Compiler), t ? i(void 0, t) : new Promise(i);
6529
6570
  function i(l, o) {
6530
- const a = Qn(e), s = (
6571
+ const a = Jn(e), s = (
6531
6572
  /** @type {HeadTree extends undefined ? Node : HeadTree} */
6532
6573
  /** @type {unknown} */
6533
6574
  r.parse(a)
@@ -6540,7 +6581,7 @@ class Ve extends lu {
6540
6581
  /** @type {unknown} */
6541
6582
  f
6542
6583
  ), w = r.stringify(p, d);
6543
- su(w) ? d.value = w : d.result = w, u(
6584
+ hu(w) ? d.value = w : d.result = w, u(
6544
6585
  c,
6545
6586
  /** @type {VFileWithOutput<CompileResult>} */
6546
6587
  d
@@ -6584,7 +6625,7 @@ class Ve extends lu {
6584
6625
  */
6585
6626
  processSync(e) {
6586
6627
  let t = !1, r;
6587
- return this.freeze(), de("processSync", this.parser || this.Parser), ge("processSync", this.compiler || this.Compiler), this.process(e, i), vt("processSync", "process", t), r;
6628
+ return this.freeze(), ge("processSync", this.parser || this.Parser), ye("processSync", this.compiler || this.Compiler), this.process(e, i), vt("processSync", "process", t), r;
6588
6629
  function i(l, o) {
6589
6630
  t = !0, zt(l), r = o;
6590
6631
  }
@@ -6628,11 +6669,11 @@ class Ve extends lu {
6628
6669
  * transformed tree.
6629
6670
  */
6630
6671
  run(e, t, r) {
6631
- Nt(e), this.freeze();
6672
+ Mt(e), this.freeze();
6632
6673
  const i = this.transformers;
6633
6674
  return !r && typeof t == "function" && (r = t, t = void 0), r ? l(void 0, r) : new Promise(l);
6634
6675
  function l(o, a) {
6635
- const s = Qn(t);
6676
+ const s = Jn(t);
6636
6677
  i.run(e, s, u);
6637
6678
  function u(c, f, d) {
6638
6679
  const p = (
@@ -6698,8 +6739,8 @@ class Ve extends lu {
6698
6739
  */
6699
6740
  stringify(e, t) {
6700
6741
  this.freeze();
6701
- const r = Qn(t), i = this.compiler || this.Compiler;
6702
- return ge("stringify", i), Nt(e), i(e, r);
6742
+ const r = Jn(t), i = this.compiler || this.Compiler;
6743
+ return ye("stringify", i), Mt(e), i(e, r);
6703
6744
  }
6704
6745
  /**
6705
6746
  * Configure the processor to use a plugin, a list of usable values, or a
@@ -6760,7 +6801,7 @@ class Ve extends lu {
6760
6801
  */
6761
6802
  use(e, ...t) {
6762
6803
  const r = this.attachers, i = this.namespace;
6763
- if (ye("use", this.frozen), e != null) if (typeof e == "function")
6804
+ if (ke("use", this.frozen), e != null) if (typeof e == "function")
6764
6805
  s(e, t);
6765
6806
  else if (typeof e == "object")
6766
6807
  Array.isArray(e) ? a(e) : o(e);
@@ -6787,7 +6828,7 @@ class Ve extends lu {
6787
6828
  throw new Error(
6788
6829
  "Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither"
6789
6830
  );
6790
- a(u.plugins), u.settings && (i.settings = fe(!0, i.settings, u.settings));
6831
+ a(u.plugins), u.settings && (i.settings = pe(!0, i.settings, u.settings));
6791
6832
  }
6792
6833
  function a(u) {
6793
6834
  let c = -1;
@@ -6811,28 +6852,28 @@ class Ve extends lu {
6811
6852
  else if (c.length > 0) {
6812
6853
  let [p, ...w] = c;
6813
6854
  const b = r[d][1];
6814
- Ae(b) && Ae(p) && (p = fe(!0, b, p)), r[d] = [u, p, ...w];
6855
+ Te(b) && Te(p) && (p = pe(!0, b, p)), r[d] = [u, p, ...w];
6815
6856
  }
6816
6857
  }
6817
6858
  }
6818
6859
  }
6819
- const au = new Ve().freeze();
6820
- function de(n, e) {
6860
+ const fu = new Ve().freeze();
6861
+ function ge(n, e) {
6821
6862
  if (typeof e != "function")
6822
6863
  throw new TypeError("Cannot `" + n + "` without `parser`");
6823
6864
  }
6824
- function ge(n, e) {
6865
+ function ye(n, e) {
6825
6866
  if (typeof e != "function")
6826
6867
  throw new TypeError("Cannot `" + n + "` without `compiler`");
6827
6868
  }
6828
- function ye(n, e) {
6869
+ function ke(n, e) {
6829
6870
  if (e)
6830
6871
  throw new Error(
6831
6872
  "Cannot call `" + n + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
6832
6873
  );
6833
6874
  }
6834
- function Nt(n) {
6835
- if (!Ae(n) || typeof n.type != "string")
6875
+ function Mt(n) {
6876
+ if (!Te(n) || typeof n.type != "string")
6836
6877
  throw new TypeError("Expected node, got `" + n + "`");
6837
6878
  }
6838
6879
  function vt(n, e, t) {
@@ -6841,28 +6882,28 @@ function vt(n, e, t) {
6841
6882
  "`" + n + "` finished async. Use `" + e + "` instead"
6842
6883
  );
6843
6884
  }
6844
- function Qn(n) {
6845
- return uu(n) ? n : new ru(n);
6885
+ function Jn(n) {
6886
+ return pu(n) ? n : new au(n);
6846
6887
  }
6847
- function uu(n) {
6888
+ function pu(n) {
6848
6889
  return !!(n && typeof n == "object" && "message" in n && "messages" in n);
6849
6890
  }
6850
- function su(n) {
6851
- return typeof n == "string" || cu(n);
6891
+ function hu(n) {
6892
+ return typeof n == "string" || mu(n);
6852
6893
  }
6853
- function cu(n) {
6894
+ function mu(n) {
6854
6895
  return !!(n && typeof n == "object" && "byteLength" in n && "byteOffset" in n);
6855
6896
  }
6856
- const fu = ({
6897
+ const du = ({
6857
6898
  href: n,
6858
6899
  target: e,
6859
6900
  rel: t,
6860
6901
  children: r,
6861
6902
  ...i
6862
6903
  }) => {
6863
- const l = Dt(
6904
+ const l = Ft(
6864
6905
  async (o) => {
6865
- if (Lr() && n && pu(n)) {
6906
+ if (Dr() && n && gu(n)) {
6866
6907
  o.preventDefault(), o.stopPropagation();
6867
6908
  try {
6868
6909
  const { openUrl: a } = await import(
@@ -6877,29 +6918,29 @@ const fu = ({
6877
6918
  },
6878
6919
  [n, e]
6879
6920
  );
6880
- return /* @__PURE__ */ Le("a", { href: n, target: e, rel: t, onClick: l, ...i, children: r });
6921
+ return /* @__PURE__ */ Tn("a", { href: n, target: e, rel: t, onClick: l, ...i, children: r });
6881
6922
  };
6882
- function pu(n) {
6923
+ function gu(n) {
6883
6924
  try {
6884
6925
  return new URL(n, window.location.href).origin !== window.location.origin;
6885
6926
  } catch {
6886
6927
  return !0;
6887
6928
  }
6888
6929
  }
6889
- const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu = /(\*\*\*)([^*]*?)$/, yu = /(\*)([^*]*?)$/, ku = /(_)([^_]*?)$/, xu = /(`)([^`]*?)$/, bu = /(~~)([^~]*?)$/, wu = /\n[\t ]*(?:[-*+]|\d+\.)[\t ]+$/, Su = /(\n[\t ]*)([-*+]|\d+\.)([\t ]*)\n([\t ]*[^\s])/g, Cu = (n) => {
6930
+ const yu = /(!?\[)([^\]]*?)$/, ku = /(\*\*)([^*]*?)$/, xu = /(__)([^_]*?)$/, bu = /(\*\*\*)([^*]*?)$/, wu = /(\*)([^*]*?)$/, Su = /(_)([^_]*?)$/, Cu = /(`)([^`]*?)$/, Iu = /(~~)([^~]*?)$/, Eu = /\n[\t ]*(?:[-*+]|\d+\.)[\t ]+$/, Pu = /(\n[\t ]*)([-*+]|\d+\.)([\t ]*)\n([\t ]*[^\s])/g, Au = (n) => {
6890
6931
  let e = n;
6891
6932
  e = e.replace(
6892
- Su,
6933
+ Pu,
6893
6934
  (r, i, l, o, a) => `${i}${l} ${a}`
6894
6935
  );
6895
- const t = e.match(wu);
6936
+ const t = e.match(Eu);
6896
6937
  return t ? e.substring(0, e.length - t[0].length) : e;
6897
6938
  }, qe = (n) => {
6898
6939
  const e = (n.match(/```/g) || []).length;
6899
6940
  return e > 0 && e % 2 === 0 && n.includes(`
6900
6941
  `);
6901
- }, Iu = (n) => {
6902
- const e = n.match(hu);
6942
+ }, Tu = (n) => {
6943
+ const e = n.match(yu);
6903
6944
  if (e) {
6904
6945
  if (e[1].startsWith("!")) {
6905
6946
  const r = n.lastIndexOf(e[0]);
@@ -6908,8 +6949,8 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
6908
6949
  return `${n}](placeholder:incomplete-link)`;
6909
6950
  }
6910
6951
  return n;
6911
- }, Eu = (n) => {
6912
- const e = n.match(mu);
6952
+ }, _u = (n) => {
6953
+ const e = n.match(ku);
6913
6954
  if (e) {
6914
6955
  const t = e[2];
6915
6956
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -6923,8 +6964,8 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
6923
6964
  return `${n}**`;
6924
6965
  }
6925
6966
  return n;
6926
- }, Pu = (n) => {
6927
- const e = n.match(du);
6967
+ }, zu = (n) => {
6968
+ const e = n.match(xu);
6928
6969
  if (e) {
6929
6970
  const t = e[2];
6930
6971
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -6938,7 +6979,7 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
6938
6979
  return `${n}__`;
6939
6980
  }
6940
6981
  return n;
6941
- }, Au = (n) => {
6982
+ }, Lu = (n) => {
6942
6983
  let e = 0, t = !1, r = 0;
6943
6984
  for (let i = 0; i < n.length; i++) {
6944
6985
  const l = n[i];
@@ -6947,7 +6988,7 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
6947
6988
  r = i + 1;
6948
6989
  continue;
6949
6990
  }
6950
- if (l === "`" && !ie(n, i)) {
6991
+ if (l === "`" && !le(n, i)) {
6951
6992
  t = !t;
6952
6993
  continue;
6953
6994
  }
@@ -6965,14 +7006,14 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
6965
7006
  }
6966
7007
  }
6967
7008
  return e;
6968
- }, Tu = (n) => {
7009
+ }, Nu = (n) => {
6969
7010
  if (qe(n))
6970
7011
  return n;
6971
- if (n.match(yu)) {
7012
+ if (n.match(wu)) {
6972
7013
  let t = -1;
6973
7014
  for (let l = 0; l < n.length; l++)
6974
7015
  if (n[l] === "*" && n[l - 1] !== "*" && n[l + 1] !== "*") {
6975
- if (kr(n, l))
7016
+ if (wr(n, l))
6976
7017
  continue;
6977
7018
  t = l;
6978
7019
  break;
@@ -6984,11 +7025,11 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
6984
7025
  );
6985
7026
  if (!r || /^[\s_~*`]*$/.test(r))
6986
7027
  return n;
6987
- if (Au(n) % 2 === 1)
7028
+ if (Lu(n) % 2 === 1)
6988
7029
  return `${n}*`;
6989
7030
  }
6990
7031
  return n;
6991
- }, Lu = (n, e) => {
7032
+ }, Mu = (n, e) => {
6992
7033
  let t = !1, r = !1;
6993
7034
  for (let i = 0; i < n.length && i < e; i++) {
6994
7035
  if (n[i] === "\\" && n[i + 1] === "$") {
@@ -6998,19 +7039,19 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
6998
7039
  n[i] === "$" && (n[i + 1] === "$" ? (r = !r, i++, t = !1) : r || (t = !t));
6999
7040
  }
7000
7041
  return t || r;
7001
- }, ie = (n, e) => {
7042
+ }, le = (n, e) => {
7002
7043
  const t = n.substring(e, e + 3) === "```", r = e > 0 && n.substring(e - 1, e + 2) === "```", i = e > 1 && n.substring(e - 2, e + 1) === "```";
7003
7044
  return t || r || i;
7004
- }, kr = (n, e) => {
7045
+ }, wr = (n, e) => {
7005
7046
  let t = !1;
7006
7047
  for (let r = 0; r < n.length && r < e; r++)
7007
7048
  if (n[r] === "`") {
7008
- if (ie(n, r))
7049
+ if (le(n, r))
7009
7050
  continue;
7010
7051
  t = !t;
7011
7052
  }
7012
7053
  return t;
7013
- }, zu = (n) => {
7054
+ }, vu = (n) => {
7014
7055
  let e = 0, t = !1, r = !1, i = !1;
7015
7056
  for (let l = 0; l < n.length; l++) {
7016
7057
  const o = n[l], a = l > 0 ? n[l - 1] : "", s = l < n.length - 1 ? n[l + 1] : "";
@@ -7018,7 +7059,7 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
7018
7059
  l++;
7019
7060
  continue;
7020
7061
  }
7021
- if (o === "`" && !ie(n, l)) {
7062
+ if (o === "`" && !le(n, l)) {
7022
7063
  i = !i;
7023
7064
  continue;
7024
7065
  }
@@ -7033,13 +7074,13 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
7033
7074
  }
7034
7075
  }
7035
7076
  return e;
7036
- }, _u = (n) => {
7077
+ }, Ru = (n) => {
7037
7078
  if (qe(n))
7038
7079
  return n;
7039
- if (n.match(ku)) {
7080
+ if (n.match(Su)) {
7040
7081
  let t = -1;
7041
7082
  for (let l = 0; l < n.length; l++)
7042
- if (n[l] === "_" && n[l - 1] !== "_" && n[l + 1] !== "_" && n[l - 1] !== "\\" && !Lu(n, l) && !kr(n, l)) {
7083
+ if (n[l] === "_" && n[l - 1] !== "_" && n[l + 1] !== "_" && n[l - 1] !== "\\" && !Mu(n, l) && !wr(n, l)) {
7043
7084
  const o = l > 0 ? n[l - 1] : "", a = l < n.length - 1 ? n[l + 1] : "";
7044
7085
  if (o && a && /[\p{L}\p{N}_]/u.test(o) && /[\p{L}\p{N}_]/u.test(a))
7045
7086
  continue;
@@ -7053,16 +7094,16 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
7053
7094
  );
7054
7095
  if (!r || /^[\s_~*`]*$/.test(r))
7055
7096
  return n;
7056
- if (zu(n) % 2 === 1)
7097
+ if (vu(n) % 2 === 1)
7057
7098
  return `${n}_`;
7058
7099
  }
7059
7100
  return n;
7060
- }, Mu = (n) => {
7101
+ }, Du = (n) => {
7061
7102
  let e = 0;
7062
7103
  for (let t = 0; t < n.length; t++)
7063
- n[t] === "`" && !ie(n, t) && e++;
7104
+ n[t] === "`" && !le(n, t) && e++;
7064
7105
  return e;
7065
- }, Nu = (n) => {
7106
+ }, Ou = (n) => {
7066
7107
  if (n.match(/^```[^`\n]*```?$/) && !n.includes(`
7067
7108
  `))
7068
7109
  return n.endsWith("``") && !n.endsWith("```") ? `${n}\`` : n;
@@ -7070,17 +7111,17 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
7070
7111
  if (t > 0 && t % 2 === 0 && n.includes(`
7071
7112
  `) || (n.endsWith("```\n") || n.endsWith("```")) && t % 2 === 0)
7072
7113
  return n;
7073
- const i = n.match(xu);
7114
+ const i = n.match(Cu);
7074
7115
  if (i && !r) {
7075
7116
  const l = i[2];
7076
7117
  if (!l || /^[\s_~*`]*$/.test(l))
7077
7118
  return n;
7078
- if (Mu(n) % 2 === 1)
7119
+ if (Du(n) % 2 === 1)
7079
7120
  return `${n}\``;
7080
7121
  }
7081
7122
  return n;
7082
- }, vu = (n) => {
7083
- const e = n.match(bu);
7123
+ }, Fu = (n) => {
7124
+ const e = n.match(Iu);
7084
7125
  if (e) {
7085
7126
  const t = e[2];
7086
7127
  if (!t || /^[\s_~*`]*$/.test(t))
@@ -7089,7 +7130,7 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
7089
7130
  return `${n}~~`;
7090
7131
  }
7091
7132
  return n;
7092
- }, Ru = (n) => {
7133
+ }, Bu = (n) => {
7093
7134
  if ((n.match(/\$\$/g) || []).length % 2 === 0)
7094
7135
  return n;
7095
7136
  const t = n.indexOf("$$");
@@ -7097,7 +7138,7 @@ const hu = /(!?\[)([^\]]*?)$/, mu = /(\*\*)([^*]*?)$/, du = /(__)([^_]*?)$/, gu
7097
7138
  `, t) !== -1 && !n.endsWith(`
7098
7139
  `) ? `${n}
7099
7140
  $$` : `${n}$$`;
7100
- }, Du = (n) => {
7141
+ }, Uu = (n) => {
7101
7142
  let e = 0;
7102
7143
  const t = n.match(/\*+/g) || [];
7103
7144
  for (const r of t) {
@@ -7105,27 +7146,27 @@ $$` : `${n}$$`;
7105
7146
  i >= 3 && (e += Math.floor(i / 3));
7106
7147
  }
7107
7148
  return e;
7108
- }, Ou = (n) => {
7149
+ }, ju = (n) => {
7109
7150
  if (qe(n) || /^\*{4,}$/.test(n))
7110
7151
  return n;
7111
- const e = n.match(gu);
7152
+ const e = n.match(bu);
7112
7153
  if (e) {
7113
7154
  const t = e[2];
7114
7155
  if (!t || /^[\s_~*`]*$/.test(t))
7115
7156
  return n;
7116
- if (Du(n) % 2 === 1)
7157
+ if (Uu(n) % 2 === 1)
7117
7158
  return `${n}***`;
7118
7159
  }
7119
7160
  return n;
7120
- }, Fu = (n) => {
7161
+ }, $u = (n) => {
7121
7162
  if (!n || typeof n != "string")
7122
7163
  return n;
7123
7164
  let e = n;
7124
- e = Cu(e);
7125
- const t = Iu(e);
7126
- return t.endsWith("](placeholder:incomplete-link)") ? t : (e = t, e = Nu(e), e = Ou(e), e = Eu(e), e = Pu(e), e = Tu(e), e = _u(e), e = vu(e), e = Ru(e), e);
7165
+ e = Au(e);
7166
+ const t = Tu(e);
7167
+ return t.endsWith("](placeholder:incomplete-link)") ? t : (e = t, e = Ou(e), e = ju(e), e = _u(e), e = zu(e), e = Nu(e), e = Ru(e), e = Fu(e), e = Bu(e), e);
7127
7168
  };
7128
- class Bu {
7169
+ class Hu {
7129
7170
  remarkGfm = null;
7130
7171
  rehypeKatex = null;
7131
7172
  remarkMath = null;
@@ -7137,7 +7178,7 @@ class Bu {
7137
7178
  if (!this.remarkGfm) {
7138
7179
  const { default: e } = await import(
7139
7180
  /* webpackChunkName: "md-remark" */
7140
- "./index.Bypx_xpz.js"
7181
+ "./index.gs7Cha7c.js"
7141
7182
  );
7142
7183
  this.remarkGfm = e;
7143
7184
  }
@@ -7145,10 +7186,10 @@ class Bu {
7145
7186
  }
7146
7187
  async loadKatex() {
7147
7188
  if (!this.rehypeKatex) {
7148
- Vu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
7189
+ Gu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
7149
7190
  const { default: e } = await import(
7150
7191
  /* webpackChunkName: "md-rehype-katex" */
7151
- "./index.CYx8RYy0.js"
7192
+ "./index.BOdTcpg3.js"
7152
7193
  );
7153
7194
  this.rehypeKatex = e;
7154
7195
  }
@@ -7158,7 +7199,7 @@ class Bu {
7158
7199
  if (!this.remarkMath) {
7159
7200
  const { default: e } = await import(
7160
7201
  /* webpackChunkName: "md-remark" */
7161
- "./index.Dtg8MsB4.js"
7202
+ "./index.Dg88qqte.js"
7162
7203
  );
7163
7204
  this.remarkMath = e;
7164
7205
  }
@@ -7168,60 +7209,60 @@ class Bu {
7168
7209
  if (!this.rehypeHighlight) {
7169
7210
  const { default: e } = await import(
7170
7211
  /* webpackChunkName: "md-rehype-highlight" */
7171
- "./index.eSd5QbGh.js"
7212
+ "./index.DPAUE7h1.js"
7172
7213
  );
7173
7214
  this.rehypeHighlight = e;
7174
7215
  }
7175
7216
  return this.rehypeHighlight;
7176
7217
  }
7177
7218
  }
7178
- const Jn = new Bu(), Uu = ({
7219
+ const Zn = new Hu(), Vu = ({
7179
7220
  children: n,
7180
7221
  raw: e,
7181
7222
  ...t
7182
7223
  }) => /* @__PURE__ */ Rt("pre", { className: "relative pt-7 sm:pt-2 ps-0 sm:ps-3", ...t, children: [
7183
7224
  n,
7184
- /* @__PURE__ */ Le(
7185
- zr,
7225
+ /* @__PURE__ */ Tn(
7226
+ Ut,
7186
7227
  {
7187
7228
  mode: "light",
7188
7229
  focusMode: "light",
7189
- copyToClipboard: () => _r(e) || "",
7230
+ copyToClipboard: () => Or(e) || "",
7190
7231
  labelRight: "Copy",
7191
7232
  radius: "small",
7192
7233
  className: "mb-2 px-1 absolute top-2 right-2 font-sans font-normal text-xs"
7193
7234
  }
7194
7235
  )
7195
- ] }), ju = (n) => n.includes("```"), $u = (n) => n.includes("$$"), Hu = (n) => (
7236
+ ] }), qu = (n) => n.includes("```"), Wu = (n) => n.includes("$$"), Xu = (n) => (
7196
7237
  // urls.
7197
7238
  n.includes("http://") || n.includes("https://") || // table.
7198
7239
  n.includes("|") || // strikethrough.
7199
7240
  n.includes("~") || n.includes("~~") || // task lists.
7200
7241
  n.includes("- [ ]") || n.includes("- [x]")
7201
- ), Vu = (n) => {
7242
+ ), Gu = (n) => {
7202
7243
  const e = document.createElement("link");
7203
7244
  e.href = n, e.type = "text/css", e.rel = "stylesheet", e.id = "dynamic-katex-css", document.head.appendChild(e);
7204
- }, qu = () => (n) => {
7245
+ }, Yu = () => (n) => {
7205
7246
  wn(n, (e) => {
7206
7247
  if (e?.type === "element" && e?.tagName === "pre") {
7207
7248
  const [t] = e.children;
7208
7249
  if (t.tagName !== "code")
7209
7250
  return;
7210
- e.raw = Mr(t.children?.[0].value);
7251
+ e.raw = Fr(t.children?.[0].value);
7211
7252
  }
7212
7253
  });
7213
- }, Wu = () => (n) => {
7254
+ }, Ku = () => (n) => {
7214
7255
  wn(n, "element", (e) => {
7215
7256
  e?.type === "element" && e?.tagName === "pre" && (e.properties.raw = e.raw);
7216
7257
  });
7217
- }, Ju = ({
7258
+ }, ts = ({
7218
7259
  onError: n = () => {
7219
7260
  },
7220
7261
  parseIncomplete: e = !0
7221
7262
  } = {}) => {
7222
- const t = Rn(n), r = Rn(null), i = Rn(null), l = Rn(null), o = Rn({
7263
+ const t = Dn(n), r = Dn(null), i = Dn(null), l = Dn(null), o = Dn({
7223
7264
  rehypePlugins: [
7224
- qu,
7265
+ Yu,
7225
7266
  /**
7226
7267
  * Security: Harden against XSS by restricting allowed elements, attributes,
7227
7268
  * and URL protocols. Uses safe defaults for AI-generated content.
@@ -7235,7 +7276,7 @@ const Jn = new Bu(), Uu = ({
7235
7276
  * conversions or AI-generated content with inline images).
7236
7277
  */
7237
7278
  [
7238
- li,
7279
+ si,
7239
7280
  {
7240
7281
  defaultOrigin: typeof window < "u" ? window.location.origin : "https://localhost",
7241
7282
  allowedLinkPrefixes: ["*"],
@@ -7244,7 +7285,7 @@ const Jn = new Bu(), Uu = ({
7244
7285
  }
7245
7286
  ],
7246
7287
  [
7247
- ii,
7288
+ ui,
7248
7289
  {
7249
7290
  target: "_blank",
7250
7291
  rel: ["noopener", "noreferrer"]
@@ -7252,40 +7293,40 @@ const Jn = new Bu(), Uu = ({
7252
7293
  ]
7253
7294
  ],
7254
7295
  remarkPlugins: []
7255
- }), [a, s] = Nr(null);
7256
- vr(() => {
7296
+ }), [a, s] = Dt(null);
7297
+ Ot(() => {
7257
7298
  t.current = n;
7258
7299
  }, [n]);
7259
- const u = Dt(
7300
+ const u = Ft(
7260
7301
  (c) => {
7261
7302
  (async () => {
7262
- const f = e ? Fu(c) : c;
7263
- if (!r.current && ju(f)) {
7303
+ const f = e ? $u(c) : c;
7304
+ if (!r.current && qu(f)) {
7264
7305
  r.current = !0;
7265
- const p = await Jn.loadHighlight();
7306
+ const p = await Zn.loadHighlight();
7266
7307
  o.current.rehypePlugins.push(p);
7267
7308
  }
7268
- if (!i.current && Hu(f)) {
7309
+ if (!i.current && Xu(f)) {
7269
7310
  i.current = !0;
7270
- const p = await Jn.loadGfm();
7311
+ const p = await Zn.loadGfm();
7271
7312
  o.current.remarkPlugins.push(p);
7272
7313
  }
7273
- if (!l.current && $u(f)) {
7314
+ if (!l.current && Wu(f)) {
7274
7315
  l.current = !0;
7275
- const p = await Jn.loadKatex(), w = await Jn.loadMath();
7316
+ const p = await Zn.loadKatex(), w = await Zn.loadMath();
7276
7317
  o.current.remarkPlugins.push(w), o.current.rehypePlugins.push(p);
7277
7318
  }
7278
7319
  const d = [
7279
7320
  ...o.current.rehypePlugins,
7280
- Wu
7321
+ Ku
7281
7322
  ];
7282
- au().use(oa).use(o.current.remarkPlugins).use($a).use(d).use(Zi, {
7283
- Fragment: Tr,
7284
- jsx: Le,
7323
+ fu().use(ca).use(o.current.remarkPlugins).use(Wa).use(d).use(rl, {
7324
+ Fragment: Lr,
7325
+ jsx: Tn,
7285
7326
  jsxs: Rt,
7286
7327
  components: {
7287
- pre: Uu,
7288
- a: fu
7328
+ pre: Vu,
7329
+ a: du
7289
7330
  }
7290
7331
  }).process(f).then((p) => s(p.result)).catch(t.current);
7291
7332
  })();
@@ -7296,32 +7337,32 @@ const Jn = new Bu(), Uu = ({
7296
7337
  };
7297
7338
  export {
7298
7339
  nt as EXIT,
7299
- ke as SKIP,
7340
+ xe as SKIP,
7300
7341
  sn as asciiAlpha,
7301
7342
  en as asciiAlphanumeric,
7302
- Ce as asciiControl,
7303
- re as blankLine,
7343
+ Ie as asciiControl,
7344
+ ie as blankLine,
7304
7345
  yt as classifyCharacter,
7305
- rl as combineExtensions,
7306
- $t as convert,
7307
- jt as convertElement,
7346
+ al as combineExtensions,
7347
+ qt as convert,
7348
+ Vt as convertElement,
7308
7349
  H as factorySpace,
7309
- Si as find,
7310
- Ei as html,
7350
+ Pi as find,
7351
+ _i as html,
7311
7352
  z as markdownLineEnding,
7312
7353
  Q as markdownLineEndingOrSpace,
7313
7354
  D as markdownSpace,
7314
- xe as normalize,
7315
- Ln as normalizeIdentifier,
7316
- Wr as parse,
7317
- Qu as parse$1,
7355
+ be as normalize,
7356
+ zn as normalizeIdentifier,
7357
+ Kr as parse,
7358
+ es as parse$1,
7318
7359
  $e as resolveAll,
7319
7360
  cn as splice,
7320
7361
  De as svg,
7321
- el as toString,
7322
- sl as unicodePunctuation,
7323
- cl as unicodeWhitespace,
7324
- Ju as useMarkdown,
7362
+ ll as toString,
7363
+ hl as unicodePunctuation,
7364
+ ml as unicodeWhitespace,
7365
+ ts as useMarkdown,
7325
7366
  wn as visit,
7326
- Zr as visitParents
7367
+ ri as visitParents
7327
7368
  };