@versini/sassysaint 8.32.0 → 8.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  import * as rn from "react/jsx-runtime";
2
- import { jsx as se, jsxs as Pn, Fragment as Er } from "react/jsx-runtime";
3
- import { le as Ir, unObfuscate as Tr, obfuscate as Pr } from "./index.CUxX2279.js";
4
- import Ar, { useState as Lt, useEffect as _t, useRef as Re, useCallback as zr } from "react";
5
- import { getDefaultExportFromCjs as vt } from "./App.DfOsnbbK.js";
6
- import Lr from "clsx";
7
- const Nt = ({
2
+ import { jsx as ae, jsxs as Pn, Fragment as Ir } from "react/jsx-runtime";
3
+ import { le as Tr, isTauri as Pr, unObfuscate as Ar, obfuscate as zr } from "./index.CdkODDe_.js";
4
+ import Lr, { useState as Lt, useEffect as _t, useCallback as vt, useRef as Re } from "react";
5
+ import { getDefaultExportFromCjs as Nt } from "./App.DzjONISj.js";
6
+ import _r from "clsx";
7
+ const Rt = ({
8
8
  children: e,
9
9
  fill: n,
10
10
  viewBox: t,
@@ -15,8 +15,8 @@ const Nt = ({
15
15
  semantic: a = !1,
16
16
  ...s
17
17
  }) => {
18
- const u = Lr(l, r);
19
- return /* @__PURE__ */ se(Er, { children: /* @__PURE__ */ Pn(
18
+ const u = _r(l, r);
19
+ return /* @__PURE__ */ ae(Ir, { children: /* @__PURE__ */ Pn(
20
20
  "svg",
21
21
  {
22
22
  xmlns: "http://www.w3.org/2000/svg",
@@ -28,7 +28,7 @@ const Nt = ({
28
28
  focusable: !1,
29
29
  ...s,
30
30
  children: [
31
- o && a && /* @__PURE__ */ se("title", { children: o }),
31
+ o && a && /* @__PURE__ */ ae("title", { children: o }),
32
32
  e
33
33
  ]
34
34
  }
@@ -47,14 +47,14 @@ try {
47
47
  });
48
48
  } catch {
49
49
  }
50
- const _r = ({
50
+ const vr = ({
51
51
  className: e,
52
52
  viewBox: n,
53
53
  title: t,
54
54
  monotone: r,
55
55
  ...i
56
56
  }) => /* @__PURE__ */ Pn(
57
- Nt,
57
+ Rt,
58
58
  {
59
59
  defaultViewBox: "0 0 448 512",
60
60
  size: "size-5",
@@ -63,24 +63,24 @@ const _r = ({
63
63
  title: t || "Copied",
64
64
  ...i,
65
65
  children: [
66
- /* @__PURE__ */ se(
66
+ /* @__PURE__ */ ae(
67
67
  "path",
68
68
  {
69
69
  d: "M0 96v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96m104 160c0-6.1 2.3-12.3 7-17 9.4-9.4 24.6-9.4 33.9 0l47 47 111-111c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c2.3 2.3 4.1 5 5.3 7.9.6 1.5 1 2.9 1.3 4.4.2 1.1.3 2.2.3 2.2.1 1.2.1 1.2.1 2.5-.1 1.5-.1 1.9-.1 2.3-.1.7-.2 1.5-.3 2.2-.3 1.5-.7 3-1.3 4.4-1.2 2.9-2.9 5.6-5.3 7.9l-128 128c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7l-64-64c-4.7-4.7-7-10.8-7-17z",
70
70
  opacity: ".4"
71
71
  }
72
72
  ),
73
- /* @__PURE__ */ se("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
73
+ /* @__PURE__ */ ae("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
74
74
  ]
75
75
  }
76
- ), vr = ({
76
+ ), Nr = ({
77
77
  className: e,
78
78
  viewBox: n,
79
79
  title: t,
80
80
  monotone: r,
81
81
  ...i
82
- }) => /* @__PURE__ */ se(
83
- Nt,
82
+ }) => /* @__PURE__ */ ae(
83
+ Rt,
84
84
  {
85
85
  defaultViewBox: "0 0 512 512",
86
86
  size: "size-5",
@@ -88,7 +88,7 @@ const _r = ({
88
88
  className: e,
89
89
  title: t || "Copy",
90
90
  ...i,
91
- children: /* @__PURE__ */ se("path", { d: "M64 464h224c8.8 0 16-7.2 16-16v-64h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m160-160h224c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m-64-16V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64" })
91
+ children: /* @__PURE__ */ ae("path", { d: "M64 464h224c8.8 0 16-7.2 16-16v-64h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m160-160h224c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m-64-16V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64" })
92
92
  }
93
93
  );
94
94
  /*!
@@ -104,7 +104,7 @@ try {
104
104
  });
105
105
  } catch {
106
106
  }
107
- const Rt = Ar.forwardRef(({ copyToClipboard: e, ...n }, t) => {
107
+ const Dt = Lr.forwardRef(({ copyToClipboard: e, ...n }, t) => {
108
108
  const [r, i] = Lt(!1), l = () => {
109
109
  typeof e == "string" && (navigator.clipboard.writeText(e), i(!0)), typeof e == "function" && (navigator.clipboard.writeText(e()), i(!0));
110
110
  };
@@ -115,8 +115,8 @@ const Rt = Ar.forwardRef(({ copyToClipboard: e, ...n }, t) => {
115
115
  }, 3e3)), () => {
116
116
  clearTimeout(o);
117
117
  };
118
- }, [r]), /* @__PURE__ */ se(
119
- Ir,
118
+ }, [r]), /* @__PURE__ */ ae(
119
+ Tr,
120
120
  {
121
121
  ...n,
122
122
  size: "small",
@@ -124,19 +124,19 @@ const Rt = Ar.forwardRef(({ copyToClipboard: e, ...n }, t) => {
124
124
  label: r ? "Copied to clipboard" : "Copy to clipboard",
125
125
  onClick: l,
126
126
  disabled: r,
127
- children: r ? /* @__PURE__ */ se(_r, { size: "size-3" }) : /* @__PURE__ */ se(vr, { size: "size-3" })
127
+ children: r ? /* @__PURE__ */ ae(vr, { size: "size-3" }) : /* @__PURE__ */ ae(Nr, { size: "size-3" })
128
128
  }
129
129
  );
130
130
  });
131
- Rt.displayName = "ButtonCopy";
132
- const Dt = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ft = 7, Ot = 8, Xn = typeof self == "object" ? self : globalThis, Nr = (e, n) => {
131
+ Dt.displayName = "ButtonCopy";
132
+ const Ft = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ot = 7, Mt = 8, Xn = typeof self == "object" ? self : globalThis, Rr = (e, n) => {
133
133
  const t = (i, l) => (e.set(l, i), i), r = (i) => {
134
134
  if (e.has(i))
135
135
  return e.get(i);
136
136
  const [l, o] = n[i];
137
137
  switch (l) {
138
138
  case Ze:
139
- case Dt:
139
+ case Ft:
140
140
  return t(o, i);
141
141
  case je: {
142
142
  const a = t([], i);
@@ -168,11 +168,11 @@ const Dt = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ft = 7, O
168
168
  a.add(r(s));
169
169
  return a;
170
170
  }
171
- case Ft: {
171
+ case Ot: {
172
172
  const { name: a, message: s } = o;
173
173
  return t(new Xn[a](s), i);
174
174
  }
175
- case Ot:
175
+ case Mt:
176
176
  return t(BigInt(o), i);
177
177
  case "BigInt":
178
178
  return t(Object(BigInt(o)), i);
@@ -186,11 +186,11 @@ const Dt = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ft = 7, O
186
186
  return t(new Xn[l](o), i);
187
187
  };
188
188
  return r;
189
- }, Yn = (e) => Nr(/* @__PURE__ */ new Map(), e)(0), Ie = "", { toString: Rr } = {}, { keys: Dr } = Object, De = (e) => {
189
+ }, Yn = (e) => Rr(/* @__PURE__ */ new Map(), e)(0), Ie = "", { toString: Dr } = {}, { keys: Fr } = Object, De = (e) => {
190
190
  const n = typeof e;
191
191
  if (n !== "object" || !e)
192
192
  return [Ze, n];
193
- const t = Rr.call(e).slice(8, -1);
193
+ const t = Dr.call(e).slice(8, -1);
194
194
  switch (t) {
195
195
  case "Array":
196
196
  return [je, Ie];
@@ -207,8 +207,8 @@ const Dt = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ft = 7, O
207
207
  case "DataView":
208
208
  return [je, t];
209
209
  }
210
- return t.includes("Array") ? [je, t] : t.includes("Error") ? [Ft, t] : [Je, t];
211
- }, Ge = ([e, n]) => e === Ze && (n === "function" || n === "symbol"), Fr = (e, n, t, r) => {
210
+ return t.includes("Array") ? [je, t] : t.includes("Error") ? [Ot, t] : [Je, t];
211
+ }, Ge = ([e, n]) => e === Ze && (n === "function" || n === "symbol"), Or = (e, n, t, r) => {
212
212
  const i = (o, a) => {
213
213
  const s = r.push(o) - 1;
214
214
  return t.set(a, s), s;
@@ -221,7 +221,7 @@ const Dt = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ft = 7, O
221
221
  let c = o;
222
222
  switch (s) {
223
223
  case "bigint":
224
- a = Ot, c = o.toString();
224
+ a = Mt, c = o.toString();
225
225
  break;
226
226
  case "function":
227
227
  case "symbol":
@@ -230,7 +230,7 @@ const Dt = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ft = 7, O
230
230
  c = null;
231
231
  break;
232
232
  case "undefined":
233
- return i([Dt], o);
233
+ return i([Ft], o);
234
234
  }
235
235
  return i([a, c], o);
236
236
  }
@@ -257,7 +257,7 @@ const Dt = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ft = 7, O
257
257
  if (n && "toJSON" in o)
258
258
  return l(o.toJSON());
259
259
  const c = [], p = i([a, c], o);
260
- for (const d of Dr(o))
260
+ for (const d of Fr(o))
261
261
  (e || !Ge(De(o[d]))) && c.push([l(d), l(o[d])]);
262
262
  return p;
263
263
  }
@@ -286,11 +286,11 @@ const Dt = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ft = 7, O
286
286
  return l;
287
287
  }, Kn = (e, { json: n, lossy: t } = {}) => {
288
288
  const r = [];
289
- return Fr(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
289
+ return Or(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
290
290
  }, be = typeof structuredClone == "function" ? (
291
291
  /* c8 ignore start */
292
292
  (e, n) => n && ("json" in n || "lossy" in n) ? Yn(Kn(e, n)) : structuredClone(e)
293
- ) : (e, n) => Yn(Kn(e, n)), Mt = (
293
+ ) : (e, n) => Yn(Kn(e, n)), Bt = (
294
294
  // Note: overloads in JSDoc can’t yet use different `@template`s.
295
295
  /**
296
296
  * @type {(
@@ -306,21 +306,21 @@ const Dt = -1, Ze = 0, je = 1, Je = 2, An = 3, zn = 4, Ln = 5, _n = 6, Ft = 7, O
306
306
  */
307
307
  function(e) {
308
308
  if (e == null)
309
- return Br;
309
+ return jr;
310
310
  if (typeof e == "string")
311
- return Mr(e);
311
+ return Br(e);
312
312
  if (typeof e == "object")
313
- return Or(e);
313
+ return Mr(e);
314
314
  if (typeof e == "function")
315
315
  return vn(e);
316
316
  throw new Error("Expected function, string, or array as `test`");
317
317
  }
318
318
  );
319
- function Or(e) {
319
+ function Mr(e) {
320
320
  const n = [];
321
321
  let t = -1;
322
322
  for (; ++t < e.length; )
323
- n[t] = Mt(e[t]);
323
+ n[t] = Bt(e[t]);
324
324
  return vn(r);
325
325
  function r(...i) {
326
326
  let l = -1;
@@ -329,7 +329,7 @@ function Or(e) {
329
329
  return !1;
330
330
  }
331
331
  }
332
- function Mr(e) {
332
+ function Br(e) {
333
333
  return vn(n);
334
334
  function n(t) {
335
335
  return t.tagName === e;
@@ -338,7 +338,7 @@ function Mr(e) {
338
338
  function vn(e) {
339
339
  return n;
340
340
  function n(t, r, i) {
341
- return !!(jr(t) && e.call(
341
+ return !!(Hr(t) && e.call(
342
342
  this,
343
343
  t,
344
344
  typeof r == "number" ? r : void 0,
@@ -346,26 +346,26 @@ function vn(e) {
346
346
  ));
347
347
  }
348
348
  }
349
- function Br(e) {
349
+ function jr(e) {
350
350
  return !!(e && typeof e == "object" && "type" in e && e.type === "element" && "tagName" in e && typeof e.tagName == "string");
351
351
  }
352
- function jr(e) {
352
+ function Hr(e) {
353
353
  return e !== null && typeof e == "object" && "type" in e && "tagName" in e;
354
354
  }
355
- const Hr = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Vr = /^[a-zA-Z]:\\/;
356
- function Ur(e) {
355
+ const Ur = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Vr = /^[a-zA-Z]:\\/;
356
+ function qr(e) {
357
357
  if (typeof e != "string")
358
358
  throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);
359
- return Vr.test(e) ? !1 : Hr.test(e);
359
+ return Vr.test(e) ? !1 : Ur.test(e);
360
360
  }
361
- function qr(e) {
361
+ function $r(e) {
362
362
  const n = String(e || "").trim();
363
363
  return n ? n.split(/[ \t\n\r\f]+/g) : [];
364
364
  }
365
- function $r(e) {
365
+ function Wr(e) {
366
366
  return e.join(" ").trim();
367
367
  }
368
- const Bt = (
368
+ const jt = (
369
369
  // Note: overloads in JSDoc can’t yet use different `@template`s.
370
370
  /**
371
371
  * @type {(
@@ -382,21 +382,21 @@ const Bt = (
382
382
  */
383
383
  function(e) {
384
384
  if (e == null)
385
- return Yr;
385
+ return Kr;
386
386
  if (typeof e == "function")
387
387
  return en(e);
388
388
  if (typeof e == "object")
389
- return Array.isArray(e) ? Wr(e) : Gr(e);
389
+ return Array.isArray(e) ? Gr(e) : Xr(e);
390
390
  if (typeof e == "string")
391
- return Xr(e);
391
+ return Yr(e);
392
392
  throw new Error("Expected function, string, or object as test");
393
393
  }
394
394
  );
395
- function Wr(e) {
395
+ function Gr(e) {
396
396
  const n = [];
397
397
  let t = -1;
398
398
  for (; ++t < e.length; )
399
- n[t] = Bt(e[t]);
399
+ n[t] = jt(e[t]);
400
400
  return en(r);
401
401
  function r(...i) {
402
402
  let l = -1;
@@ -405,7 +405,7 @@ function Wr(e) {
405
405
  return !1;
406
406
  }
407
407
  }
408
- function Gr(e) {
408
+ function Xr(e) {
409
409
  const n = (
410
410
  /** @type {Record<string, unknown>} */
411
411
  e
@@ -423,7 +423,7 @@ function Gr(e) {
423
423
  return !0;
424
424
  }
425
425
  }
426
- function Xr(e) {
426
+ function Yr(e) {
427
427
  return en(n);
428
428
  function n(t) {
429
429
  return t && t.type === e;
@@ -432,7 +432,7 @@ function Xr(e) {
432
432
  function en(e) {
433
433
  return n;
434
434
  function n(t, r, i) {
435
- return !!(Kr(t) && e.call(
435
+ return !!(Qr(t) && e.call(
436
436
  this,
437
437
  t,
438
438
  typeof r == "number" ? r : void 0,
@@ -440,17 +440,17 @@ function en(e) {
440
440
  ));
441
441
  }
442
442
  }
443
- function Yr() {
443
+ function Kr() {
444
444
  return !0;
445
445
  }
446
- function Kr(e) {
446
+ function Qr(e) {
447
447
  return e !== null && typeof e == "object" && "type" in e;
448
448
  }
449
- const jt = [], Qr = !0, Qn = !1, Jr = "skip";
450
- function Zr(e, n, t, r) {
449
+ const Ht = [], Jr = !0, Qn = !1, Zr = "skip";
450
+ function ei(e, n, t, r) {
451
451
  let i;
452
452
  typeof n == "function" && typeof t != "function" ? (r = t, t = n) : i = n;
453
- const l = Bt(i), o = r ? -1 : 1;
453
+ const l = jt(i), o = r ? -1 : 1;
454
454
  a(e, void 0, [])();
455
455
  function a(s, u, c) {
456
456
  const p = (
@@ -471,15 +471,15 @@ function Zr(e, n, t, r) {
471
471
  }
472
472
  return d;
473
473
  function d() {
474
- let f = jt, w, b, z;
475
- if ((!n || l(s, u, c[c.length - 1] || void 0)) && (f = ei(t(s, c)), f[0] === Qn))
474
+ let f = Ht, w, b, z;
475
+ if ((!n || l(s, u, c[c.length - 1] || void 0)) && (f = ni(t(s, c)), f[0] === Qn))
476
476
  return f;
477
477
  if ("children" in s && s.children) {
478
478
  const k = (
479
479
  /** @type {UnistParent} */
480
480
  s
481
481
  );
482
- if (k.children && f[0] !== Jr)
482
+ if (k.children && f[0] !== Zr)
483
483
  for (b = (r ? k.children.length : -1) + o, z = c.concat(k); b > -1 && b < k.children.length; ) {
484
484
  const A = k.children[b];
485
485
  if (w = a(A, b, z)(), w[0] === Qn)
@@ -491,26 +491,26 @@ function Zr(e, n, t, r) {
491
491
  }
492
492
  }
493
493
  }
494
- function ei(e) {
495
- return Array.isArray(e) ? e : typeof e == "number" ? [Qr, e] : e == null ? jt : [e];
494
+ function ni(e) {
495
+ return Array.isArray(e) ? e : typeof e == "number" ? [Jr, e] : e == null ? Ht : [e];
496
496
  }
497
497
  function nn(e, n, t, r) {
498
498
  let i, l, o;
499
- typeof n == "function" && typeof t != "function" ? (l = void 0, o = n, i = t) : (l = n, o = t, i = r), Zr(e, l, a, i);
499
+ typeof n == "function" && typeof t != "function" ? (l = void 0, o = n, i = t) : (l = n, o = t, i = r), ei(e, l, a, i);
500
500
  function a(s, u) {
501
501
  const c = u[u.length - 1], p = c ? c.children.indexOf(s) : void 0;
502
502
  return o(s, p, c);
503
503
  }
504
504
  }
505
- const ni = ["http", "https"], ti = ["nofollow"], ri = {};
506
- function ii(e) {
507
- const n = e || ri, t = n.protocols || ni, r = Mt(n.test);
505
+ const ti = ["http", "https"], ri = ["nofollow"], ii = {};
506
+ function li(e) {
507
+ const n = e || ii, t = n.protocols || ti, r = Bt(n.test);
508
508
  return function(i) {
509
509
  nn(i, "element", function(l, o, a) {
510
510
  if (l.tagName === "a" && typeof l.properties.href == "string" && r(l, o, a)) {
511
511
  const s = l.properties.href;
512
- if (Ur(s) ? t.includes(s.slice(0, s.indexOf(":"))) : s.startsWith("//")) {
513
- const u = Fe(n.content, l), c = u && !Array.isArray(u) ? [u] : u, p = Fe(n.rel, l) || ti, d = typeof p == "string" ? qr(p) : p, f = Fe(n.target, l), w = Fe(n.properties, l);
512
+ if (qr(s) ? t.includes(s.slice(0, s.indexOf(":"))) : s.startsWith("//")) {
513
+ const u = Fe(n.content, l), c = u && !Array.isArray(u) ? [u] : u, p = Fe(n.rel, l) || ri, d = typeof p == "string" ? $r(p) : p, f = Fe(n.target, l), w = Fe(n.properties, l);
514
514
  if (w && Object.assign(l.properties, be(w)), d.length > 0 && (l.properties.rel = [...d]), f && (l.properties.target = f), c) {
515
515
  const b = Fe(n.contentProperties, l) || {};
516
516
  l.children.push({
@@ -528,7 +528,7 @@ function ii(e) {
528
528
  function Fe(e, n) {
529
529
  return typeof e == "function" ? e(n) : e;
530
530
  }
531
- function ku(e) {
531
+ function Su(e) {
532
532
  const n = [], t = String(e || "");
533
533
  let r = t.indexOf(","), i = 0, l = !1;
534
534
  for (; !l; ) {
@@ -538,22 +538,22 @@ function ku(e) {
538
538
  }
539
539
  return n;
540
540
  }
541
- function li(e, n) {
541
+ function oi(e, n) {
542
542
  const t = {};
543
543
  return (e[e.length - 1] === "" ? [...e, ""] : e).join(
544
544
  (t.padRight ? " " : "") + "," + (t.padLeft === !1 ? "" : " ")
545
545
  ).trim();
546
546
  }
547
- const oi = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, ai = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, ui = {};
547
+ const ai = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, ui = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, si = {};
548
548
  function Jn(e, n) {
549
- return (ui.jsx ? ai : oi).test(e);
549
+ return (si.jsx ? ui : ai).test(e);
550
550
  }
551
- const si = /[ \t\n\f\r]/g;
552
- function ci(e) {
551
+ const ci = /[ \t\n\f\r]/g;
552
+ function pi(e) {
553
553
  return typeof e == "object" ? e.type === "text" ? Zn(e.value) : !1 : Zn(e);
554
554
  }
555
555
  function Zn(e) {
556
- return e.replace(si, "") === "";
556
+ return e.replace(ci, "") === "";
557
557
  }
558
558
  class qe {
559
559
  /**
@@ -573,7 +573,7 @@ class qe {
573
573
  qe.prototype.normal = {};
574
574
  qe.prototype.property = {};
575
575
  qe.prototype.space = void 0;
576
- function Ht(e, n) {
576
+ function Ut(e, n) {
577
577
  const t = {}, r = {};
578
578
  for (const i of e)
579
579
  Object.assign(t, i.property), Object.assign(r, i.normal);
@@ -607,12 +607,12 @@ J.prototype.overloadedBoolean = !1;
607
607
  J.prototype.property = "";
608
608
  J.prototype.spaceSeparated = !1;
609
609
  J.prototype.space = void 0;
610
- let pi = 0;
611
- const N = we(), $ = we(), xn = we(), x = we(), V = we(), Pe = we(), ee = we();
610
+ let fi = 0;
611
+ const N = we(), $ = we(), xn = we(), x = we(), U = we(), Pe = we(), ee = we();
612
612
  function we() {
613
- return 2 ** ++pi;
613
+ return 2 ** ++fi;
614
614
  }
615
- const kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: N, booleanish: $, commaOrSpaceSeparated: ee, commaSeparated: Pe, number: x, overloadedBoolean: xn, spaceSeparated: V }, Symbol.toStringTag, { value: "Module" })), ln = (
615
+ const kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: N, booleanish: $, commaOrSpaceSeparated: ee, commaSeparated: Pe, number: x, overloadedBoolean: xn, spaceSeparated: U }, Symbol.toStringTag, { value: "Module" })), ln = (
616
616
  /** @type {ReadonlyArray<keyof typeof types>} */
617
617
  Object.keys(kn)
618
618
  );
@@ -666,36 +666,36 @@ const Vt = ze({
666
666
  ariaColCount: x,
667
667
  ariaColIndex: x,
668
668
  ariaColSpan: x,
669
- ariaControls: V,
669
+ ariaControls: U,
670
670
  ariaCurrent: null,
671
- ariaDescribedBy: V,
671
+ ariaDescribedBy: U,
672
672
  ariaDetails: null,
673
673
  ariaDisabled: $,
674
- ariaDropEffect: V,
674
+ ariaDropEffect: U,
675
675
  ariaErrorMessage: null,
676
676
  ariaExpanded: $,
677
- ariaFlowTo: V,
677
+ ariaFlowTo: U,
678
678
  ariaGrabbed: $,
679
679
  ariaHasPopup: null,
680
680
  ariaHidden: $,
681
681
  ariaInvalid: null,
682
682
  ariaKeyShortcuts: null,
683
683
  ariaLabel: null,
684
- ariaLabelledBy: V,
684
+ ariaLabelledBy: U,
685
685
  ariaLevel: x,
686
686
  ariaLive: null,
687
687
  ariaModal: $,
688
688
  ariaMultiLine: $,
689
689
  ariaMultiSelectable: $,
690
690
  ariaOrientation: null,
691
- ariaOwns: V,
691
+ ariaOwns: U,
692
692
  ariaPlaceholder: null,
693
693
  ariaPosInSet: x,
694
694
  ariaPressed: $,
695
695
  ariaReadOnly: $,
696
696
  ariaRelevant: null,
697
697
  ariaRequired: $,
698
- ariaRoleDescription: V,
698
+ ariaRoleDescription: U,
699
699
  ariaRowCount: x,
700
700
  ariaRowIndex: x,
701
701
  ariaRowSpan: x,
@@ -712,13 +712,13 @@ const Vt = ze({
712
712
  return n === "role" ? n : "aria-" + n.slice(4).toLowerCase();
713
713
  }
714
714
  });
715
- function Ut(e, n) {
715
+ function qt(e, n) {
716
716
  return n in e ? e[n] : n;
717
717
  }
718
- function qt(e, n) {
719
- return Ut(e, n.toLowerCase());
718
+ function $t(e, n) {
719
+ return qt(e, n.toLowerCase());
720
720
  }
721
- const fi = ze({
721
+ const hi = ze({
722
722
  attributes: {
723
723
  acceptcharset: "accept-charset",
724
724
  classname: "class",
@@ -730,8 +730,8 @@ const fi = ze({
730
730
  // Standard Properties.
731
731
  abbr: null,
732
732
  accept: Pe,
733
- acceptCharset: V,
734
- accessKey: V,
733
+ acceptCharset: U,
734
+ accessKey: U,
735
735
  action: null,
736
736
  allow: null,
737
737
  allowFullScreen: N,
@@ -741,21 +741,21 @@ const fi = ze({
741
741
  as: null,
742
742
  async: N,
743
743
  autoCapitalize: null,
744
- autoComplete: V,
744
+ autoComplete: U,
745
745
  autoFocus: N,
746
746
  autoPlay: N,
747
- blocking: V,
747
+ blocking: U,
748
748
  capture: null,
749
749
  charSet: null,
750
750
  checked: N,
751
751
  cite: null,
752
- className: V,
752
+ className: U,
753
753
  cols: x,
754
754
  colSpan: null,
755
755
  content: null,
756
756
  contentEditable: $,
757
757
  controls: N,
758
- controlsList: V,
758
+ controlsList: U,
759
759
  coords: x | Pe,
760
760
  crossOrigin: null,
761
761
  data: null,
@@ -777,14 +777,14 @@ const fi = ze({
777
777
  formMethod: null,
778
778
  formNoValidate: N,
779
779
  formTarget: null,
780
- headers: V,
780
+ headers: U,
781
781
  height: x,
782
782
  hidden: xn,
783
783
  high: x,
784
784
  href: null,
785
785
  hrefLang: null,
786
- htmlFor: V,
787
- httpEquiv: V,
786
+ htmlFor: U,
787
+ httpEquiv: U,
788
788
  id: null,
789
789
  imageSizes: null,
790
790
  imageSrcSet: null,
@@ -794,10 +794,10 @@ const fi = ze({
794
794
  is: null,
795
795
  isMap: N,
796
796
  itemId: null,
797
- itemProp: V,
798
- itemRef: V,
797
+ itemProp: U,
798
+ itemRef: U,
799
799
  itemScope: N,
800
- itemType: V,
800
+ itemType: U,
801
801
  kind: null,
802
802
  label: null,
803
803
  lang: null,
@@ -910,7 +910,7 @@ const fi = ze({
910
910
  open: N,
911
911
  optimum: x,
912
912
  pattern: null,
913
- ping: V,
913
+ ping: U,
914
914
  placeholder: null,
915
915
  playsInline: N,
916
916
  popover: null,
@@ -920,12 +920,12 @@ const fi = ze({
920
920
  preload: null,
921
921
  readOnly: N,
922
922
  referrerPolicy: null,
923
- rel: V,
923
+ rel: U,
924
924
  required: N,
925
925
  reversed: N,
926
926
  rows: x,
927
927
  rowSpan: x,
928
- sandbox: V,
928
+ sandbox: U,
929
929
  scope: null,
930
930
  scoped: N,
931
931
  seamless: N,
@@ -963,7 +963,7 @@ const fi = ze({
963
963
  // Several. Use CSS `text-align` instead,
964
964
  aLink: null,
965
965
  // `<body>`. Use CSS `a:active {color}` instead
966
- archive: V,
966
+ archive: U,
967
967
  // `<object>`. List of URIs to archives
968
968
  axis: null,
969
969
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -1078,8 +1078,8 @@ const fi = ze({
1078
1078
  unselectable: null
1079
1079
  },
1080
1080
  space: "html",
1081
- transform: qt
1082
- }), hi = ze({
1081
+ transform: $t
1082
+ }), mi = ze({
1083
1083
  attributes: {
1084
1084
  accentHeight: "accent-height",
1085
1085
  alignmentBaseline: "alignment-baseline",
@@ -1278,7 +1278,7 @@ const fi = ze({
1278
1278
  by: null,
1279
1279
  calcMode: null,
1280
1280
  capHeight: x,
1281
- className: V,
1281
+ className: U,
1282
1282
  clip: null,
1283
1283
  clipPath: null,
1284
1284
  clipPathUnits: null,
@@ -1513,7 +1513,7 @@ const fi = ze({
1513
1513
  patternTransform: null,
1514
1514
  patternUnits: null,
1515
1515
  phase: null,
1516
- ping: V,
1516
+ ping: U,
1517
1517
  pitch: null,
1518
1518
  playbackOrder: null,
1519
1519
  pointerEvents: null,
@@ -1637,8 +1637,8 @@ const fi = ze({
1637
1637
  zoomAndPan: null
1638
1638
  },
1639
1639
  space: "svg",
1640
- transform: Ut
1641
- }), $t = ze({
1640
+ transform: qt
1641
+ }), Wt = ze({
1642
1642
  properties: {
1643
1643
  xLinkActuate: null,
1644
1644
  xLinkArcRole: null,
@@ -1652,18 +1652,18 @@ const fi = ze({
1652
1652
  transform(e, n) {
1653
1653
  return "xlink:" + n.slice(5).toLowerCase();
1654
1654
  }
1655
- }), Wt = ze({
1655
+ }), Gt = ze({
1656
1656
  attributes: { xmlnsxlink: "xmlns:xlink" },
1657
1657
  properties: { xmlnsXLink: null, xmlns: null },
1658
1658
  space: "xmlns",
1659
- transform: qt
1660
- }), Gt = ze({
1659
+ transform: $t
1660
+ }), Xt = ze({
1661
1661
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
1662
1662
  space: "xml",
1663
1663
  transform(e, n) {
1664
1664
  return "xml:" + n.slice(3).toLowerCase();
1665
1665
  }
1666
- }), mi = {
1666
+ }), di = {
1667
1667
  classId: "classID",
1668
1668
  dataType: "datatype",
1669
1669
  itemId: "itemID",
@@ -1681,20 +1681,20 @@ const fi = ze({
1681
1681
  xLinkTitle: "xlinkTitle",
1682
1682
  xLinkType: "xlinkType",
1683
1683
  xmlnsXLink: "xmlnsXlink"
1684
- }, di = /[A-Z]/g, nt = /-[a-z]/g, gi = /^data[-\w.:]+$/i;
1685
- function yi(e, n) {
1684
+ }, gi = /[A-Z]/g, nt = /-[a-z]/g, yi = /^data[-\w.:]+$/i;
1685
+ function xi(e, n) {
1686
1686
  const t = yn(n);
1687
1687
  let r = n, i = J;
1688
1688
  if (t in e.normal)
1689
1689
  return e.property[e.normal[t]];
1690
- if (t.length > 4 && t.slice(0, 4) === "data" && gi.test(n)) {
1690
+ if (t.length > 4 && t.slice(0, 4) === "data" && yi.test(n)) {
1691
1691
  if (n.charAt(4) === "-") {
1692
- const l = n.slice(5).replace(nt, ki);
1692
+ const l = n.slice(5).replace(nt, bi);
1693
1693
  r = "data" + l.charAt(0).toUpperCase() + l.slice(1);
1694
1694
  } else {
1695
1695
  const l = n.slice(4);
1696
1696
  if (!nt.test(l)) {
1697
- let o = l.replace(di, xi);
1697
+ let o = l.replace(gi, ki);
1698
1698
  o.charAt(0) !== "-" && (o = "-" + o), n = "data" + o;
1699
1699
  }
1700
1700
  }
@@ -1702,15 +1702,15 @@ function yi(e, n) {
1702
1702
  }
1703
1703
  return new i(r, n);
1704
1704
  }
1705
- function xi(e) {
1705
+ function ki(e) {
1706
1706
  return "-" + e.toLowerCase();
1707
1707
  }
1708
- function ki(e) {
1708
+ function bi(e) {
1709
1709
  return e.charAt(1).toUpperCase();
1710
1710
  }
1711
- const bi = Ht([Vt, fi, $t, Wt, Gt], "html"), Rn = Ht([Vt, hi, $t, Wt, Gt], "svg");
1711
+ const wi = Ut([Vt, hi, Wt, Gt, Xt], "html"), Rn = Ut([Vt, mi, Wt, Gt, Xt], "svg");
1712
1712
  var Te = {}, on, tt;
1713
- function wi() {
1713
+ function Si() {
1714
1714
  if (tt) return on;
1715
1715
  tt = 1;
1716
1716
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, n = /\n/g, t = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, l = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, o = /^[;\s]*/, a = /^\s+|\s+$/g, s = `
@@ -1800,14 +1800,14 @@ function wi() {
1800
1800
  return on;
1801
1801
  }
1802
1802
  var rt;
1803
- function Si() {
1803
+ function Ci() {
1804
1804
  if (rt) return Te;
1805
1805
  rt = 1;
1806
1806
  var e = Te && Te.__importDefault || function(r) {
1807
1807
  return r && r.__esModule ? r : { default: r };
1808
1808
  };
1809
1809
  Object.defineProperty(Te, "__esModule", { value: !0 }), Te.default = t;
1810
- var n = e(/* @__PURE__ */ wi());
1810
+ var n = e(/* @__PURE__ */ Si());
1811
1811
  function t(r, i) {
1812
1812
  var l = null;
1813
1813
  if (!r || typeof r != "string")
@@ -1823,7 +1823,7 @@ function Si() {
1823
1823
  return Te;
1824
1824
  }
1825
1825
  var Oe = {}, it;
1826
- function Ci() {
1826
+ function Ei() {
1827
1827
  if (it) return Oe;
1828
1828
  it = 1, Object.defineProperty(Oe, "__esModule", { value: !0 }), Oe.camelCase = void 0;
1829
1829
  var e = /^--[a-zA-Z0-9_-]+$/, n = /-([a-z])/g, t = /^[^-]+$/, r = /^-(webkit|moz|ms|o|khtml)-/, i = /^-(ms)-/, l = function(u) {
@@ -1838,12 +1838,12 @@ function Ci() {
1838
1838
  return Oe.camelCase = s, Oe;
1839
1839
  }
1840
1840
  var Me, lt;
1841
- function Ei() {
1841
+ function Ii() {
1842
1842
  if (lt) return Me;
1843
1843
  lt = 1;
1844
1844
  var e = Me && Me.__importDefault || function(i) {
1845
1845
  return i && i.__esModule ? i : { default: i };
1846
- }, n = e(/* @__PURE__ */ Si()), t = /* @__PURE__ */ Ci();
1846
+ }, n = e(/* @__PURE__ */ Ci()), t = /* @__PURE__ */ Ei();
1847
1847
  function r(i, l) {
1848
1848
  var o = {};
1849
1849
  return !i || typeof i != "string" || (0, n.default)(i, function(a, s) {
@@ -1852,9 +1852,9 @@ function Ei() {
1852
1852
  }
1853
1853
  return r.default = r, Me = r, Me;
1854
1854
  }
1855
- var Ii = /* @__PURE__ */ Ei();
1856
- const Ti = /* @__PURE__ */ vt(Ii), Xt = Yt("end"), Dn = Yt("start");
1857
- function Yt(e) {
1855
+ var Ti = /* @__PURE__ */ Ii();
1856
+ const Pi = /* @__PURE__ */ Nt(Ti), Yt = Kt("end"), Dn = Kt("start");
1857
+ function Kt(e) {
1858
1858
  return n;
1859
1859
  function n(t) {
1860
1860
  const r = t && t.position && t.position[e] || {};
@@ -1866,8 +1866,8 @@ function Yt(e) {
1866
1866
  };
1867
1867
  }
1868
1868
  }
1869
- function Pi(e) {
1870
- const n = Dn(e), t = Xt(e);
1869
+ function Ai(e) {
1870
+ const n = Dn(e), t = Yt(e);
1871
1871
  if (n && t)
1872
1872
  return { start: n, end: t };
1873
1873
  }
@@ -1970,8 +1970,8 @@ Y.prototype.fatal = void 0;
1970
1970
  Y.prototype.place = void 0;
1971
1971
  Y.prototype.ruleId = void 0;
1972
1972
  Y.prototype.source = void 0;
1973
- const Fn = {}.hasOwnProperty, Ai = /* @__PURE__ */ new Map(), zi = /[A-Z]/g, Li = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), _i = /* @__PURE__ */ new Set(["td", "th"]), Kt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1974
- function vi(e, n) {
1973
+ const Fn = {}.hasOwnProperty, zi = /* @__PURE__ */ new Map(), Li = /[A-Z]/g, _i = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), vi = /* @__PURE__ */ new Set(["td", "th"]), Qt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1974
+ function Ni(e, n) {
1975
1975
  if (!n || n.Fragment === void 0)
1976
1976
  throw new TypeError("Expected `Fragment` in options");
1977
1977
  const t = n.filePath || void 0;
@@ -1981,13 +1981,13 @@ function vi(e, n) {
1981
1981
  throw new TypeError(
1982
1982
  "Expected `jsxDEV` in options when `development: true`"
1983
1983
  );
1984
- r = ji(t, n.jsxDEV);
1984
+ r = Hi(t, n.jsxDEV);
1985
1985
  } else {
1986
1986
  if (typeof n.jsx != "function")
1987
1987
  throw new TypeError("Expected `jsx` in production options");
1988
1988
  if (typeof n.jsxs != "function")
1989
1989
  throw new TypeError("Expected `jsxs` in production options");
1990
- r = Bi(t, n.jsx, n.jsxs);
1990
+ r = ji(t, n.jsx, n.jsxs);
1991
1991
  }
1992
1992
  const i = {
1993
1993
  Fragment: n.Fragment,
@@ -2000,10 +2000,10 @@ function vi(e, n) {
2000
2000
  ignoreInvalidStyle: n.ignoreInvalidStyle || !1,
2001
2001
  passKeys: n.passKeys !== !1,
2002
2002
  passNode: n.passNode || !1,
2003
- schema: n.space === "svg" ? Rn : bi,
2003
+ schema: n.space === "svg" ? Rn : wi,
2004
2004
  stylePropertyNameCase: n.stylePropertyNameCase || "dom",
2005
2005
  tableCellAlignToStyle: n.tableCellAlignToStyle !== !1
2006
- }, l = Qt(i, e, void 0);
2006
+ }, l = Jt(i, e, void 0);
2007
2007
  return l && typeof l != "string" ? l : i.create(
2008
2008
  e,
2009
2009
  i.Fragment,
@@ -2011,31 +2011,31 @@ function vi(e, n) {
2011
2011
  void 0
2012
2012
  );
2013
2013
  }
2014
- function Qt(e, n, t) {
2014
+ function Jt(e, n, t) {
2015
2015
  if (n.type === "element")
2016
- return Ni(e, n, t);
2016
+ return Ri(e, n, t);
2017
2017
  if (n.type === "mdxFlowExpression" || n.type === "mdxTextExpression")
2018
- return Ri(e, n);
2018
+ return Di(e, n);
2019
2019
  if (n.type === "mdxJsxFlowElement" || n.type === "mdxJsxTextElement")
2020
- return Fi(e, n, t);
2020
+ return Oi(e, n, t);
2021
2021
  if (n.type === "mdxjsEsm")
2022
- return Di(e, n);
2022
+ return Fi(e, n);
2023
2023
  if (n.type === "root")
2024
- return Oi(e, n, t);
2024
+ return Mi(e, n, t);
2025
2025
  if (n.type === "text")
2026
- return Mi(e, n);
2026
+ return Bi(e, n);
2027
2027
  }
2028
- function Ni(e, n, t) {
2028
+ function Ri(e, n, t) {
2029
2029
  const r = e.schema;
2030
2030
  let i = r;
2031
2031
  n.tagName.toLowerCase() === "svg" && r.space === "html" && (i = Rn, e.schema = i), e.ancestors.push(n);
2032
- const l = Zt(e, n.tagName, !1), o = Hi(e, n);
2032
+ const l = er(e, n.tagName, !1), o = Ui(e, n);
2033
2033
  let a = Mn(e, n);
2034
- return Li.has(n.tagName) && (a = a.filter(function(s) {
2035
- return typeof s == "string" ? !ci(s) : !0;
2036
- })), Jt(e, o, l, n), On(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2034
+ return _i.has(n.tagName) && (a = a.filter(function(s) {
2035
+ return typeof s == "string" ? !pi(s) : !0;
2036
+ })), Zt(e, o, l, n), On(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2037
2037
  }
2038
- function Ri(e, n) {
2038
+ function Di(e, n) {
2039
2039
  if (n.data && n.data.estree && e.evaluater) {
2040
2040
  const r = n.data.estree.body[0];
2041
2041
  return (
@@ -2043,31 +2043,31 @@ function Ri(e, n) {
2043
2043
  e.evaluater.evaluateExpression(r.expression)
2044
2044
  );
2045
2045
  }
2046
- Ue(e, n.position);
2046
+ Ve(e, n.position);
2047
2047
  }
2048
- function Di(e, n) {
2048
+ function Fi(e, n) {
2049
2049
  if (n.data && n.data.estree && e.evaluater)
2050
2050
  return (
2051
2051
  /** @type {Child | undefined} */
2052
2052
  e.evaluater.evaluateProgram(n.data.estree)
2053
2053
  );
2054
- Ue(e, n.position);
2054
+ Ve(e, n.position);
2055
2055
  }
2056
- function Fi(e, n, t) {
2056
+ function Oi(e, n, t) {
2057
2057
  const r = e.schema;
2058
2058
  let i = r;
2059
2059
  n.name === "svg" && r.space === "html" && (i = Rn, e.schema = i), e.ancestors.push(n);
2060
- const l = n.name === null ? e.Fragment : Zt(e, n.name, !0), o = Vi(e, n), a = Mn(e, n);
2061
- return Jt(e, o, l, n), On(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2060
+ const l = n.name === null ? e.Fragment : er(e, n.name, !0), o = Vi(e, n), a = Mn(e, n);
2061
+ return Zt(e, o, l, n), On(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2062
2062
  }
2063
- function Oi(e, n, t) {
2063
+ function Mi(e, n, t) {
2064
2064
  const r = {};
2065
2065
  return On(r, Mn(e, n)), e.create(n, e.Fragment, r, t);
2066
2066
  }
2067
- function Mi(e, n) {
2067
+ function Bi(e, n) {
2068
2068
  return n.value;
2069
2069
  }
2070
- function Jt(e, n, t, r) {
2070
+ function Zt(e, n, t, r) {
2071
2071
  typeof t != "string" && t !== e.Fragment && e.passNode && (n.node = r);
2072
2072
  }
2073
2073
  function On(e, n) {
@@ -2076,14 +2076,14 @@ function On(e, n) {
2076
2076
  t && (e.children = t);
2077
2077
  }
2078
2078
  }
2079
- function Bi(e, n, t) {
2079
+ function ji(e, n, t) {
2080
2080
  return r;
2081
2081
  function r(i, l, o, a) {
2082
2082
  const u = Array.isArray(o.children) ? t : n;
2083
2083
  return a ? u(l, o, a) : u(l, o);
2084
2084
  }
2085
2085
  }
2086
- function ji(e, n) {
2086
+ function Hi(e, n) {
2087
2087
  return t;
2088
2088
  function t(r, i, l, o) {
2089
2089
  const a = Array.isArray(l.children), s = Dn(r);
@@ -2101,15 +2101,15 @@ function ji(e, n) {
2101
2101
  );
2102
2102
  }
2103
2103
  }
2104
- function Hi(e, n) {
2104
+ function Ui(e, n) {
2105
2105
  const t = {};
2106
2106
  let r, i;
2107
2107
  for (i in n.properties)
2108
2108
  if (i !== "children" && Fn.call(n.properties, i)) {
2109
- const l = Ui(e, i, n.properties[i]);
2109
+ const l = qi(e, i, n.properties[i]);
2110
2110
  if (l) {
2111
2111
  const [o, a] = l;
2112
- e.tableCellAlignToStyle && o === "align" && typeof a == "string" && _i.has(n.tagName) ? r = a : t[o] = a;
2112
+ e.tableCellAlignToStyle && o === "align" && typeof a == "string" && vi.has(n.tagName) ? r = a : t[o] = a;
2113
2113
  }
2114
2114
  }
2115
2115
  if (r) {
@@ -2132,7 +2132,7 @@ function Vi(e, n) {
2132
2132
  e.evaluater.evaluateExpression(a.argument)
2133
2133
  );
2134
2134
  } else
2135
- Ue(e, n.position);
2135
+ Ve(e, n.position);
2136
2136
  else {
2137
2137
  const i = r.name;
2138
2138
  let l;
@@ -2141,7 +2141,7 @@ function Vi(e, n) {
2141
2141
  const a = r.value.data.estree.body[0];
2142
2142
  l = e.evaluater.evaluateExpression(a.expression);
2143
2143
  } else
2144
- Ue(e, n.position);
2144
+ Ve(e, n.position);
2145
2145
  else
2146
2146
  l = r.value === null ? !0 : r.value;
2147
2147
  t[i] = /** @type {Props[keyof Props]} */
@@ -2152,7 +2152,7 @@ function Vi(e, n) {
2152
2152
  function Mn(e, n) {
2153
2153
  const t = [];
2154
2154
  let r = -1;
2155
- const i = e.passKeys ? /* @__PURE__ */ new Map() : Ai;
2155
+ const i = e.passKeys ? /* @__PURE__ */ new Map() : zi;
2156
2156
  for (; ++r < n.children.length; ) {
2157
2157
  const l = n.children[r];
2158
2158
  let o;
@@ -2163,27 +2163,27 @@ function Mn(e, n) {
2163
2163
  o = s + "-" + u, i.set(s, u + 1);
2164
2164
  }
2165
2165
  }
2166
- const a = Qt(e, l, o);
2166
+ const a = Jt(e, l, o);
2167
2167
  a !== void 0 && t.push(a);
2168
2168
  }
2169
2169
  return t;
2170
2170
  }
2171
- function Ui(e, n, t) {
2172
- const r = yi(e.schema, n);
2171
+ function qi(e, n, t) {
2172
+ const r = xi(e.schema, n);
2173
2173
  if (!(t == null || typeof t == "number" && Number.isNaN(t))) {
2174
- if (Array.isArray(t) && (t = r.commaSeparated ? li(t) : $r(t)), r.property === "style") {
2175
- let i = typeof t == "object" ? t : qi(e, String(t));
2176
- return e.stylePropertyNameCase === "css" && (i = $i(i)), ["style", i];
2174
+ if (Array.isArray(t) && (t = r.commaSeparated ? oi(t) : Wr(t)), r.property === "style") {
2175
+ let i = typeof t == "object" ? t : $i(e, String(t));
2176
+ return e.stylePropertyNameCase === "css" && (i = Wi(i)), ["style", i];
2177
2177
  }
2178
2178
  return [
2179
- e.elementAttributeNameCase === "react" && r.space ? mi[r.property] || r.property : r.attribute,
2179
+ e.elementAttributeNameCase === "react" && r.space ? di[r.property] || r.property : r.attribute,
2180
2180
  t
2181
2181
  ];
2182
2182
  }
2183
2183
  }
2184
- function qi(e, n) {
2184
+ function $i(e, n) {
2185
2185
  try {
2186
- return Ti(n, { reactCompat: !0 });
2186
+ return Pi(n, { reactCompat: !0 });
2187
2187
  } catch (t) {
2188
2188
  if (e.ignoreInvalidStyle)
2189
2189
  return {};
@@ -2196,10 +2196,10 @@ function qi(e, n) {
2196
2196
  ruleId: "style",
2197
2197
  source: "hast-util-to-jsx-runtime"
2198
2198
  });
2199
- throw i.file = e.filePath || void 0, i.url = Kt + "#cannot-parse-style-attribute", i;
2199
+ throw i.file = e.filePath || void 0, i.url = Qt + "#cannot-parse-style-attribute", i;
2200
2200
  }
2201
2201
  }
2202
- function Zt(e, n, t) {
2202
+ function er(e, n, t) {
2203
2203
  let r;
2204
2204
  if (!t)
2205
2205
  r = { type: "Literal", value: n };
@@ -2228,9 +2228,9 @@ function Zt(e, n, t) {
2228
2228
  }
2229
2229
  if (e.evaluater)
2230
2230
  return e.evaluater.evaluateExpression(r);
2231
- Ue(e);
2231
+ Ve(e);
2232
2232
  }
2233
- function Ue(e, n) {
2233
+ function Ve(e, n) {
2234
2234
  const t = new Y(
2235
2235
  "Cannot handle MDX estrees without `createEvaluater`",
2236
2236
  {
@@ -2240,39 +2240,39 @@ function Ue(e, n) {
2240
2240
  source: "hast-util-to-jsx-runtime"
2241
2241
  }
2242
2242
  );
2243
- throw t.file = e.filePath || void 0, t.url = Kt + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2243
+ throw t.file = e.filePath || void 0, t.url = Qt + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2244
2244
  }
2245
- function $i(e) {
2245
+ function Wi(e) {
2246
2246
  const n = {};
2247
2247
  let t;
2248
2248
  for (t in e)
2249
- Fn.call(e, t) && (n[Wi(t)] = e[t]);
2249
+ Fn.call(e, t) && (n[Gi(t)] = e[t]);
2250
2250
  return n;
2251
2251
  }
2252
- function Wi(e) {
2253
- let n = e.replace(zi, Gi);
2252
+ function Gi(e) {
2253
+ let n = e.replace(Li, Xi);
2254
2254
  return n.slice(0, 3) === "ms-" && (n = "-" + n), n;
2255
2255
  }
2256
- function Gi(e) {
2256
+ function Xi(e) {
2257
2257
  return "-" + e.toLowerCase();
2258
2258
  }
2259
- function Xi(e) {
2259
+ function Yi(e) {
2260
2260
  const n = (
2261
2261
  /** @type {Processor} */
2262
2262
  this
2263
2263
  );
2264
2264
  n.compiler = t;
2265
2265
  function t(r, i) {
2266
- return vi(r, { filePath: i.path, ...e });
2266
+ return Ni(r, { filePath: i.path, ...e });
2267
2267
  }
2268
2268
  }
2269
- const Yi = {};
2270
- function Ki(e, n) {
2271
- const t = Yi, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2272
- return er(e, r, i);
2269
+ const Ki = {};
2270
+ function Qi(e, n) {
2271
+ const t = Ki, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2272
+ return nr(e, r, i);
2273
2273
  }
2274
- function er(e, n, t) {
2275
- if (Qi(e)) {
2274
+ function nr(e, n, t) {
2275
+ if (Ji(e)) {
2276
2276
  if ("value" in e)
2277
2277
  return e.type === "html" && !t ? "" : e.value;
2278
2278
  if (n && "alt" in e && e.alt)
@@ -2286,10 +2286,10 @@ function ut(e, n, t) {
2286
2286
  const r = [];
2287
2287
  let i = -1;
2288
2288
  for (; ++i < e.length; )
2289
- r[i] = er(e[i], n, t);
2289
+ r[i] = nr(e[i], n, t);
2290
2290
  return r.join("");
2291
2291
  }
2292
- function Qi(e) {
2292
+ function Ji(e) {
2293
2293
  return !!(e && typeof e == "object");
2294
2294
  }
2295
2295
  const st = document.createElement("i");
@@ -2316,14 +2316,14 @@ function te(e, n) {
2316
2316
  return e.length > 0 ? (ce(e, e.length, 0, n), e) : n;
2317
2317
  }
2318
2318
  const ct = {}.hasOwnProperty;
2319
- function Ji(e) {
2319
+ function Zi(e) {
2320
2320
  const n = {};
2321
2321
  let t = -1;
2322
2322
  for (; ++t < e.length; )
2323
- Zi(n, e[t]);
2323
+ el(n, e[t]);
2324
2324
  return n;
2325
2325
  }
2326
- function Zi(e, n) {
2326
+ function el(e, n) {
2327
2327
  let t;
2328
2328
  for (t in n) {
2329
2329
  const i = (ct.call(e, t) ? e[t] : void 0) || (e[t] = {}), l = n[t];
@@ -2332,7 +2332,7 @@ function Zi(e, n) {
2332
2332
  for (o in l) {
2333
2333
  ct.call(i, o) || (i[o] = []);
2334
2334
  const a = l[o];
2335
- el(
2335
+ nl(
2336
2336
  // @ts-expect-error Looks like a list.
2337
2337
  i[o],
2338
2338
  Array.isArray(a) ? a : a ? [a] : []
@@ -2340,14 +2340,14 @@ function Zi(e, n) {
2340
2340
  }
2341
2341
  }
2342
2342
  }
2343
- function el(e, n) {
2343
+ function nl(e, n) {
2344
2344
  let t = -1;
2345
2345
  const r = [];
2346
2346
  for (; ++t < n.length; )
2347
2347
  (n[t].add === "after" ? e : r).push(n[t]);
2348
2348
  ce(e, 0, 0, r);
2349
2349
  }
2350
- function nr(e, n) {
2350
+ function tr(e, n) {
2351
2351
  const t = Number.parseInt(e, n);
2352
2352
  return (
2353
2353
  // C0 except for HT, LF, FF, CR, space.
@@ -2363,7 +2363,7 @@ function nr(e, n) {
2363
2363
  function Ae(e) {
2364
2364
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
2365
2365
  }
2366
- const ue = ye(/[A-Za-z]/), ne = ye(/[\dA-Za-z]/), nl = ye(/[#-'*+\--9=?A-Z^-~]/);
2366
+ const se = ye(/[A-Za-z]/), ne = ye(/[\dA-Za-z]/), tl = ye(/[#-'*+\--9=?A-Z^-~]/);
2367
2367
  function wn(e) {
2368
2368
  return (
2369
2369
  // Special whitespace codes (which have negative values), C0 and Control
@@ -2371,7 +2371,7 @@ function wn(e) {
2371
2371
  e !== null && (e < 32 || e === 127)
2372
2372
  );
2373
2373
  }
2374
- const Sn = ye(/\d/), tl = ye(/[\dA-Fa-f]/), rl = ye(/[!-/:-@[-`{-~]/);
2374
+ const Sn = ye(/\d/), rl = ye(/[\dA-Fa-f]/), il = ye(/[!-/:-@[-`{-~]/);
2375
2375
  function L(e) {
2376
2376
  return e !== null && e < -2;
2377
2377
  }
@@ -2381,7 +2381,7 @@ function Q(e) {
2381
2381
  function F(e) {
2382
2382
  return e === -2 || e === -1 || e === 32;
2383
2383
  }
2384
- const il = ye(new RegExp("\\p{P}|\\p{S}", "u")), ll = ye(/\s/);
2384
+ const ll = ye(new RegExp("\\p{P}|\\p{S}", "u")), ol = ye(/\s/);
2385
2385
  function ye(e) {
2386
2386
  return n;
2387
2387
  function n(t) {
@@ -2407,7 +2407,7 @@ function Le(e) {
2407
2407
  }
2408
2408
  return n.join("") + e.slice(r);
2409
2409
  }
2410
- function U(e, n, t, r) {
2410
+ function V(e, n, t, r) {
2411
2411
  const i = r ? r - 1 : Number.POSITIVE_INFINITY;
2412
2412
  let l = 0;
2413
2413
  return o;
@@ -2418,10 +2418,10 @@ function U(e, n, t, r) {
2418
2418
  return F(s) && l++ < i ? (e.consume(s), a) : (e.exit(t), n(s));
2419
2419
  }
2420
2420
  }
2421
- const ol = {
2422
- tokenize: al
2421
+ const al = {
2422
+ tokenize: ul
2423
2423
  };
2424
- function al(e) {
2424
+ function ul(e) {
2425
2425
  const n = e.attempt(this.parser.constructs.contentInitial, r, i);
2426
2426
  let t;
2427
2427
  return n;
@@ -2430,7 +2430,7 @@ function al(e) {
2430
2430
  e.consume(a);
2431
2431
  return;
2432
2432
  }
2433
- return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), U(e, n, "linePrefix");
2433
+ return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), V(e, n, "linePrefix");
2434
2434
  }
2435
2435
  function i(a) {
2436
2436
  return e.enter("paragraph"), l(a);
@@ -2450,12 +2450,12 @@ function al(e) {
2450
2450
  return L(a) ? (e.consume(a), e.exit("chunkText"), l) : (e.consume(a), o);
2451
2451
  }
2452
2452
  }
2453
- const ul = {
2454
- tokenize: sl
2455
- }, pt = {
2453
+ const sl = {
2456
2454
  tokenize: cl
2455
+ }, pt = {
2456
+ tokenize: pl
2457
2457
  };
2458
- function sl(e) {
2458
+ function cl(e) {
2459
2459
  const n = this, t = [];
2460
2460
  let r = 0, i, l, o;
2461
2461
  return a;
@@ -2567,13 +2567,13 @@ function sl(e) {
2567
2567
  i.write([null]), l = void 0, i = void 0, n.containerState._closeFlow = void 0;
2568
2568
  }
2569
2569
  }
2570
- function cl(e, n, t) {
2571
- return U(e, e.attempt(this.parser.constructs.document, n, t), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
2570
+ function pl(e, n, t) {
2571
+ return V(e, e.attempt(this.parser.constructs.document, n, t), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
2572
2572
  }
2573
2573
  function ft(e) {
2574
- if (e === null || Q(e) || ll(e))
2574
+ if (e === null || Q(e) || ol(e))
2575
2575
  return 1;
2576
- if (il(e))
2576
+ if (ll(e))
2577
2577
  return 2;
2578
2578
  }
2579
2579
  function jn(e, n, t) {
@@ -2587,10 +2587,10 @@ function jn(e, n, t) {
2587
2587
  }
2588
2588
  const Cn = {
2589
2589
  name: "attention",
2590
- resolveAll: pl,
2591
- tokenize: fl
2590
+ resolveAll: fl,
2591
+ tokenize: hl
2592
2592
  };
2593
- function pl(e, n) {
2593
+ function fl(e, n) {
2594
2594
  let t = -1, r, i, l, o, a, s, u, c;
2595
2595
  for (; ++t < e.length; )
2596
2596
  if (e[t][0] === "enter" && e[t][1].type === "attentionSequence" && e[t][1]._close) {
@@ -2645,7 +2645,7 @@ function pl(e, n) {
2645
2645
  e[t][1].type === "attentionSequence" && (e[t][1].type = "data");
2646
2646
  return e;
2647
2647
  }
2648
- function fl(e, n) {
2648
+ function hl(e, n) {
2649
2649
  const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = ft(r);
2650
2650
  let l;
2651
2651
  return o;
@@ -2662,18 +2662,18 @@ function fl(e, n) {
2662
2662
  function ht(e, n) {
2663
2663
  e.column += n, e.offset += n, e._bufferIndex += n;
2664
2664
  }
2665
- const hl = {
2665
+ const ml = {
2666
2666
  name: "autolink",
2667
- tokenize: ml
2667
+ tokenize: dl
2668
2668
  };
2669
- function ml(e, n, t) {
2669
+ function dl(e, n, t) {
2670
2670
  let r = 0;
2671
2671
  return i;
2672
2672
  function i(f) {
2673
2673
  return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), l;
2674
2674
  }
2675
2675
  function l(f) {
2676
- return ue(f) ? (e.consume(f), o) : f === 64 ? t(f) : u(f);
2676
+ return se(f) ? (e.consume(f), o) : f === 64 ? t(f) : u(f);
2677
2677
  }
2678
2678
  function o(f) {
2679
2679
  return f === 43 || f === 45 || f === 46 || ne(f) ? (r = 1, a(f)) : u(f);
@@ -2685,7 +2685,7 @@ function ml(e, n, t) {
2685
2685
  return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), n) : f === null || f === 32 || f === 60 || wn(f) ? t(f) : (e.consume(f), s);
2686
2686
  }
2687
2687
  function u(f) {
2688
- return f === 64 ? (e.consume(f), c) : nl(f) ? (e.consume(f), u) : t(f);
2688
+ return f === 64 ? (e.consume(f), c) : tl(f) ? (e.consume(f), u) : t(f);
2689
2689
  }
2690
2690
  function c(f) {
2691
2691
  return ne(f) ? p(f) : t(f);
@@ -2703,26 +2703,26 @@ function ml(e, n, t) {
2703
2703
  }
2704
2704
  const tn = {
2705
2705
  partial: !0,
2706
- tokenize: dl
2706
+ tokenize: gl
2707
2707
  };
2708
- function dl(e, n, t) {
2708
+ function gl(e, n, t) {
2709
2709
  return r;
2710
2710
  function r(l) {
2711
- return F(l) ? U(e, i, "linePrefix")(l) : i(l);
2711
+ return F(l) ? V(e, i, "linePrefix")(l) : i(l);
2712
2712
  }
2713
2713
  function i(l) {
2714
2714
  return l === null || L(l) ? n(l) : t(l);
2715
2715
  }
2716
2716
  }
2717
- const tr = {
2717
+ const rr = {
2718
2718
  continuation: {
2719
- tokenize: yl
2719
+ tokenize: xl
2720
2720
  },
2721
- exit: xl,
2721
+ exit: kl,
2722
2722
  name: "blockQuote",
2723
- tokenize: gl
2723
+ tokenize: yl
2724
2724
  };
2725
- function gl(e, n, t) {
2725
+ function yl(e, n, t) {
2726
2726
  const r = this;
2727
2727
  return i;
2728
2728
  function i(o) {
@@ -2738,37 +2738,37 @@ function gl(e, n, t) {
2738
2738
  return F(o) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(o), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), n) : (e.exit("blockQuotePrefix"), n(o));
2739
2739
  }
2740
2740
  }
2741
- function yl(e, n, t) {
2741
+ function xl(e, n, t) {
2742
2742
  const r = this;
2743
2743
  return i;
2744
2744
  function i(o) {
2745
- return F(o) ? U(e, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : l(o);
2745
+ return F(o) ? V(e, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : l(o);
2746
2746
  }
2747
2747
  function l(o) {
2748
- return e.attempt(tr, n, t)(o);
2748
+ return e.attempt(rr, n, t)(o);
2749
2749
  }
2750
2750
  }
2751
- function xl(e) {
2751
+ function kl(e) {
2752
2752
  e.exit("blockQuote");
2753
2753
  }
2754
- const rr = {
2754
+ const ir = {
2755
2755
  name: "characterEscape",
2756
- tokenize: kl
2756
+ tokenize: bl
2757
2757
  };
2758
- function kl(e, n, t) {
2758
+ function bl(e, n, t) {
2759
2759
  return r;
2760
2760
  function r(l) {
2761
2761
  return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(l), e.exit("escapeMarker"), i;
2762
2762
  }
2763
2763
  function i(l) {
2764
- return rl(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2764
+ return il(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2765
2765
  }
2766
2766
  }
2767
- const ir = {
2767
+ const lr = {
2768
2768
  name: "characterReference",
2769
- tokenize: bl
2769
+ tokenize: wl
2770
2770
  };
2771
- function bl(e, n, t) {
2771
+ function wl(e, n, t) {
2772
2772
  const r = this;
2773
2773
  let i = 0, l, o;
2774
2774
  return a;
@@ -2779,7 +2779,7 @@ function bl(e, n, t) {
2779
2779
  return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), l = 31, o = ne, c(p));
2780
2780
  }
2781
2781
  function u(p) {
2782
- return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = tl, c) : (e.enter("characterReferenceValue"), l = 7, o = Sn, c(p));
2782
+ return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = rl, c) : (e.enter("characterReferenceValue"), l = 7, o = Sn, c(p));
2783
2783
  }
2784
2784
  function c(p) {
2785
2785
  if (p === 59 && i) {
@@ -2791,13 +2791,13 @@ function bl(e, n, t) {
2791
2791
  }
2792
2792
  const mt = {
2793
2793
  partial: !0,
2794
- tokenize: Sl
2794
+ tokenize: Cl
2795
2795
  }, dt = {
2796
2796
  concrete: !0,
2797
2797
  name: "codeFenced",
2798
- tokenize: wl
2798
+ tokenize: Sl
2799
2799
  };
2800
- function wl(e, n, t) {
2800
+ function Sl(e, n, t) {
2801
2801
  const r = this, i = {
2802
2802
  partial: !0,
2803
2803
  tokenize: H
@@ -2812,7 +2812,7 @@ function wl(e, n, t) {
2812
2812
  return l = D && D[1].type === "linePrefix" ? D[2].sliceSerialize(D[1], !0).length : 0, a = y, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(y);
2813
2813
  }
2814
2814
  function c(y) {
2815
- return y === a ? (o++, e.consume(y), c) : o < 3 ? t(y) : (e.exit("codeFencedFenceSequence"), F(y) ? U(e, p, "whitespace")(y) : p(y));
2815
+ return y === a ? (o++, e.consume(y), c) : o < 3 ? t(y) : (e.exit("codeFencedFenceSequence"), F(y) ? V(e, p, "whitespace")(y) : p(y));
2816
2816
  }
2817
2817
  function p(y) {
2818
2818
  return y === null || L(y) ? (e.exit("codeFencedFence"), r.interrupt ? n(y) : e.check(mt, b, B)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
@@ -2820,7 +2820,7 @@ function wl(e, n, t) {
2820
2820
  }), d(y));
2821
2821
  }
2822
2822
  function d(y) {
2823
- return y === null || L(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(y)) : F(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), U(e, f, "whitespace")(y)) : y === 96 && y === a ? t(y) : (e.consume(y), d);
2823
+ return y === null || L(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(y)) : F(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), V(e, f, "whitespace")(y)) : y === 96 && y === a ? t(y) : (e.consume(y), d);
2824
2824
  }
2825
2825
  function f(y) {
2826
2826
  return y === null || L(y) ? p(y) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
@@ -2837,7 +2837,7 @@ function wl(e, n, t) {
2837
2837
  return e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), k;
2838
2838
  }
2839
2839
  function k(y) {
2840
- return l > 0 && F(y) ? U(e, A, "linePrefix", l + 1)(y) : A(y);
2840
+ return l > 0 && F(y) ? V(e, A, "linePrefix", l + 1)(y) : A(y);
2841
2841
  }
2842
2842
  function A(y) {
2843
2843
  return y === null || L(y) ? e.check(mt, b, B)(y) : (e.enter("codeFlowValue"), C(y));
@@ -2855,20 +2855,20 @@ function wl(e, n, t) {
2855
2855
  return y.enter("lineEnding"), y.consume(_), y.exit("lineEnding"), P;
2856
2856
  }
2857
2857
  function P(_) {
2858
- return y.enter("codeFencedFence"), F(_) ? U(y, I, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(_) : I(_);
2858
+ return y.enter("codeFencedFence"), F(_) ? V(y, I, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(_) : I(_);
2859
2859
  }
2860
2860
  function I(_) {
2861
2861
  return _ === a ? (y.enter("codeFencedFenceSequence"), T(_)) : q(_);
2862
2862
  }
2863
2863
  function T(_) {
2864
- return _ === a ? (O++, y.consume(_), T) : O >= o ? (y.exit("codeFencedFenceSequence"), F(_) ? U(y, E, "whitespace")(_) : E(_)) : q(_);
2864
+ return _ === a ? (O++, y.consume(_), T) : O >= o ? (y.exit("codeFencedFenceSequence"), F(_) ? V(y, E, "whitespace")(_) : E(_)) : q(_);
2865
2865
  }
2866
2866
  function E(_) {
2867
2867
  return _ === null || L(_) ? (y.exit("codeFencedFence"), D(_)) : q(_);
2868
2868
  }
2869
2869
  }
2870
2870
  }
2871
- function Sl(e, n, t) {
2871
+ function Cl(e, n, t) {
2872
2872
  const r = this;
2873
2873
  return i;
2874
2874
  function i(o) {
@@ -2880,23 +2880,23 @@ function Sl(e, n, t) {
2880
2880
  }
2881
2881
  const an = {
2882
2882
  name: "codeIndented",
2883
- tokenize: El
2884
- }, Cl = {
2885
- partial: !0,
2886
2883
  tokenize: Il
2884
+ }, El = {
2885
+ partial: !0,
2886
+ tokenize: Tl
2887
2887
  };
2888
- function El(e, n, t) {
2888
+ function Il(e, n, t) {
2889
2889
  const r = this;
2890
2890
  return i;
2891
2891
  function i(u) {
2892
- return e.enter("codeIndented"), U(e, l, "linePrefix", 5)(u);
2892
+ return e.enter("codeIndented"), V(e, l, "linePrefix", 5)(u);
2893
2893
  }
2894
2894
  function l(u) {
2895
2895
  const c = r.events[r.events.length - 1];
2896
2896
  return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? o(u) : t(u);
2897
2897
  }
2898
2898
  function o(u) {
2899
- return u === null ? s(u) : L(u) ? e.attempt(Cl, o, s)(u) : (e.enter("codeFlowValue"), a(u));
2899
+ return u === null ? s(u) : L(u) ? e.attempt(El, o, s)(u) : (e.enter("codeFlowValue"), a(u));
2900
2900
  }
2901
2901
  function a(u) {
2902
2902
  return u === null || L(u) ? (e.exit("codeFlowValue"), o(u)) : (e.consume(u), a);
@@ -2905,24 +2905,24 @@ function El(e, n, t) {
2905
2905
  return e.exit("codeIndented"), n(u);
2906
2906
  }
2907
2907
  }
2908
- function Il(e, n, t) {
2908
+ function Tl(e, n, t) {
2909
2909
  const r = this;
2910
2910
  return i;
2911
2911
  function i(o) {
2912
- return r.parser.lazy[r.now().line] ? t(o) : L(o) ? (e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), i) : U(e, l, "linePrefix", 5)(o);
2912
+ return r.parser.lazy[r.now().line] ? t(o) : L(o) ? (e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), i) : V(e, l, "linePrefix", 5)(o);
2913
2913
  }
2914
2914
  function l(o) {
2915
2915
  const a = r.events[r.events.length - 1];
2916
2916
  return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? n(o) : L(o) ? i(o) : t(o);
2917
2917
  }
2918
2918
  }
2919
- const Tl = {
2919
+ const Pl = {
2920
2920
  name: "codeText",
2921
- previous: Al,
2922
- resolve: Pl,
2923
- tokenize: zl
2921
+ previous: zl,
2922
+ resolve: Al,
2923
+ tokenize: Ll
2924
2924
  };
2925
- function Pl(e) {
2925
+ function Al(e) {
2926
2926
  let n = e.length - 4, t = 3, r, i;
2927
2927
  if ((e[t][1].type === "lineEnding" || e[t][1].type === "space") && (e[n][1].type === "lineEnding" || e[n][1].type === "space")) {
2928
2928
  for (r = t; ++r < n; )
@@ -2935,10 +2935,10 @@ function Pl(e) {
2935
2935
  i === void 0 ? r !== n && e[r][1].type !== "lineEnding" && (i = r) : (r === n || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), n -= r - i - 2, r = i + 2), i = void 0);
2936
2936
  return e;
2937
2937
  }
2938
- function Al(e) {
2938
+ function zl(e) {
2939
2939
  return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
2940
2940
  }
2941
- function zl(e, n, t) {
2941
+ function Ll(e, n, t) {
2942
2942
  let r = 0, i, l;
2943
2943
  return o;
2944
2944
  function o(p) {
@@ -2957,7 +2957,7 @@ function zl(e, n, t) {
2957
2957
  return p === 96 ? (e.consume(p), i++, c) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), n(p)) : (l.type = "codeTextData", u(p));
2958
2958
  }
2959
2959
  }
2960
- class Ll {
2960
+ class _l {
2961
2961
  /**
2962
2962
  * @param {ReadonlyArray<T> | null | undefined} [initial]
2963
2963
  * Initial items (optional).
@@ -3129,10 +3129,10 @@ function Be(e, n) {
3129
3129
  for (; t < n.length; )
3130
3130
  e.push(...n.slice(t, t + 1e4)), t += 1e4;
3131
3131
  }
3132
- function lr(e) {
3132
+ function or(e) {
3133
3133
  const n = {};
3134
3134
  let t = -1, r, i, l, o, a, s, u;
3135
- const c = new Ll(e);
3135
+ const c = new _l(e);
3136
3136
  for (; ++t < c.length; ) {
3137
3137
  for (; t in n; )
3138
3138
  t = n[t];
@@ -3140,7 +3140,7 @@ function lr(e) {
3140
3140
  for (; ++l < s.length && s[l][1].type !== "content"; )
3141
3141
  s[l][1].type === "chunkText" && (s[l][1]._isInFirstContentOfListItem = !0, l++);
3142
3142
  if (r[0] === "enter")
3143
- r[1].contentType && (Object.assign(n, _l(c, t)), t = n[t], u = !0);
3143
+ r[1].contentType && (Object.assign(n, vl(c, t)), t = n[t], u = !0);
3144
3144
  else if (r[1]._container) {
3145
3145
  for (l = t, i = void 0; l--; )
3146
3146
  if (o = c.get(l), o[1].type === "lineEnding" || o[1].type === "lineEndingBlank")
@@ -3153,7 +3153,7 @@ function lr(e) {
3153
3153
  }
3154
3154
  return ce(e, 0, Number.POSITIVE_INFINITY, c.slice(0)), !u;
3155
3155
  }
3156
- function _l(e, n) {
3156
+ function vl(e, n) {
3157
3157
  const t = e.get(n)[1], r = e.get(n)[2];
3158
3158
  let i = n - 1;
3159
3159
  const l = [];
@@ -3178,17 +3178,17 @@ function _l(e, n) {
3178
3178
  u[w + s[d][0]] = w + s[d][1], w += s[d][1] - s[d][0] - 1;
3179
3179
  return u;
3180
3180
  }
3181
- const vl = {
3182
- resolve: Rl,
3183
- tokenize: Dl
3184
- }, Nl = {
3185
- partial: !0,
3181
+ const Nl = {
3182
+ resolve: Dl,
3186
3183
  tokenize: Fl
3184
+ }, Rl = {
3185
+ partial: !0,
3186
+ tokenize: Ol
3187
3187
  };
3188
- function Rl(e) {
3189
- return lr(e), e;
3188
+ function Dl(e) {
3189
+ return or(e), e;
3190
3190
  }
3191
- function Dl(e, n) {
3191
+ function Fl(e, n) {
3192
3192
  let t;
3193
3193
  return r;
3194
3194
  function r(a) {
@@ -3197,7 +3197,7 @@ function Dl(e, n) {
3197
3197
  }), i(a);
3198
3198
  }
3199
3199
  function i(a) {
3200
- return a === null ? l(a) : L(a) ? e.check(Nl, o, l)(a) : (e.consume(a), i);
3200
+ return a === null ? l(a) : L(a) ? e.check(Rl, o, l)(a) : (e.consume(a), i);
3201
3201
  }
3202
3202
  function l(a) {
3203
3203
  return e.exit("chunkContent"), e.exit("content"), n(a);
@@ -3209,11 +3209,11 @@ function Dl(e, n) {
3209
3209
  }), t = t.next, i;
3210
3210
  }
3211
3211
  }
3212
- function Fl(e, n, t) {
3212
+ function Ol(e, n, t) {
3213
3213
  const r = this;
3214
3214
  return i;
3215
3215
  function i(o) {
3216
- return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), U(e, l, "linePrefix");
3216
+ return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), V(e, l, "linePrefix");
3217
3217
  }
3218
3218
  function l(o) {
3219
3219
  if (o === null || L(o))
@@ -3222,7 +3222,7 @@ function Fl(e, n, t) {
3222
3222
  return !r.parser.constructs.disable.null.includes("codeIndented") && a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? n(o) : e.interrupt(r.parser.constructs.flow, t, n)(o);
3223
3223
  }
3224
3224
  }
3225
- function or(e, n, t, r, i, l, o, a, s) {
3225
+ function ar(e, n, t, r, i, l, o, a, s) {
3226
3226
  const u = s || Number.POSITIVE_INFINITY;
3227
3227
  let c = 0;
3228
3228
  return p;
@@ -3249,7 +3249,7 @@ function or(e, n, t, r, i, l, o, a, s) {
3249
3249
  return k === 40 || k === 41 || k === 92 ? (e.consume(k), b) : b(k);
3250
3250
  }
3251
3251
  }
3252
- function ar(e, n, t, r, i, l) {
3252
+ function ur(e, n, t, r, i, l) {
3253
3253
  const o = this;
3254
3254
  let a = 0, s;
3255
3255
  return u;
@@ -3273,7 +3273,7 @@ function ar(e, n, t, r, i, l) {
3273
3273
  return f === 91 || f === 92 || f === 93 ? (e.consume(f), a++, p) : p(f);
3274
3274
  }
3275
3275
  }
3276
- function ur(e, n, t, r, i, l) {
3276
+ function sr(e, n, t, r, i, l) {
3277
3277
  let o;
3278
3278
  return a;
3279
3279
  function a(d) {
@@ -3283,7 +3283,7 @@ function ur(e, n, t, r, i, l) {
3283
3283
  return d === o ? (e.enter(i), e.consume(d), e.exit(i), e.exit(r), n) : (e.enter(l), u(d));
3284
3284
  }
3285
3285
  function u(d) {
3286
- return d === o ? (e.exit(l), s(o)) : d === null ? t(d) : L(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), U(e, u, "linePrefix")) : (e.enter("chunkString", {
3286
+ return d === o ? (e.exit(l), s(o)) : d === null ? t(d) : L(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), V(e, u, "linePrefix")) : (e.enter("chunkString", {
3287
3287
  contentType: "string"
3288
3288
  }), c(d));
3289
3289
  }
@@ -3294,21 +3294,21 @@ function ur(e, n, t, r, i, l) {
3294
3294
  return d === o || d === 92 ? (e.consume(d), c) : c(d);
3295
3295
  }
3296
3296
  }
3297
- function Ve(e, n) {
3297
+ function Ue(e, n) {
3298
3298
  let t;
3299
3299
  return r;
3300
3300
  function r(i) {
3301
- return L(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), t = !0, r) : F(i) ? U(e, r, t ? "linePrefix" : "lineSuffix")(i) : n(i);
3301
+ return L(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), t = !0, r) : F(i) ? V(e, r, t ? "linePrefix" : "lineSuffix")(i) : n(i);
3302
3302
  }
3303
3303
  }
3304
- const Ol = {
3304
+ const Ml = {
3305
3305
  name: "definition",
3306
- tokenize: Bl
3307
- }, Ml = {
3308
- partial: !0,
3309
3306
  tokenize: jl
3307
+ }, Bl = {
3308
+ partial: !0,
3309
+ tokenize: Hl
3310
3310
  };
3311
- function Bl(e, n, t) {
3311
+ function jl(e, n, t) {
3312
3312
  const r = this;
3313
3313
  let i;
3314
3314
  return l;
@@ -3316,7 +3316,7 @@ function Bl(e, n, t) {
3316
3316
  return e.enter("definition"), o(f);
3317
3317
  }
3318
3318
  function o(f) {
3319
- return ar.call(
3319
+ return ur.call(
3320
3320
  r,
3321
3321
  e,
3322
3322
  a,
@@ -3331,10 +3331,10 @@ function Bl(e, n, t) {
3331
3331
  return i = Ae(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : t(f);
3332
3332
  }
3333
3333
  function s(f) {
3334
- return Q(f) ? Ve(e, u)(f) : u(f);
3334
+ return Q(f) ? Ue(e, u)(f) : u(f);
3335
3335
  }
3336
3336
  function u(f) {
3337
- return or(
3337
+ return ar(
3338
3338
  e,
3339
3339
  c,
3340
3340
  // Note: we don’t need to reset the way `markdown-rs` does.
@@ -3347,31 +3347,31 @@ function Bl(e, n, t) {
3347
3347
  )(f);
3348
3348
  }
3349
3349
  function c(f) {
3350
- return e.attempt(Ml, p, p)(f);
3350
+ return e.attempt(Bl, p, p)(f);
3351
3351
  }
3352
3352
  function p(f) {
3353
- return F(f) ? U(e, d, "whitespace")(f) : d(f);
3353
+ return F(f) ? V(e, d, "whitespace")(f) : d(f);
3354
3354
  }
3355
3355
  function d(f) {
3356
3356
  return f === null || L(f) ? (e.exit("definition"), r.parser.defined.push(i), n(f)) : t(f);
3357
3357
  }
3358
3358
  }
3359
- function jl(e, n, t) {
3359
+ function Hl(e, n, t) {
3360
3360
  return r;
3361
3361
  function r(a) {
3362
- return Q(a) ? Ve(e, i)(a) : t(a);
3362
+ return Q(a) ? Ue(e, i)(a) : t(a);
3363
3363
  }
3364
3364
  function i(a) {
3365
- return ur(e, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
3365
+ return sr(e, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
3366
3366
  }
3367
3367
  function l(a) {
3368
- return F(a) ? U(e, o, "whitespace")(a) : o(a);
3368
+ return F(a) ? V(e, o, "whitespace")(a) : o(a);
3369
3369
  }
3370
3370
  function o(a) {
3371
3371
  return a === null || L(a) ? n(a) : t(a);
3372
3372
  }
3373
3373
  }
3374
- const Hl = {
3374
+ const Ul = {
3375
3375
  name: "hardBreakEscape",
3376
3376
  tokenize: Vl
3377
3377
  };
@@ -3384,12 +3384,12 @@ function Vl(e, n, t) {
3384
3384
  return L(l) ? (e.exit("hardBreakEscape"), n(l)) : t(l);
3385
3385
  }
3386
3386
  }
3387
- const Ul = {
3387
+ const ql = {
3388
3388
  name: "headingAtx",
3389
- resolve: ql,
3390
- tokenize: $l
3389
+ resolve: $l,
3390
+ tokenize: Wl
3391
3391
  };
3392
- function ql(e, n) {
3392
+ function $l(e, n) {
3393
3393
  let t = e.length - 2, r = 3, i, l;
3394
3394
  return e[r][1].type === "whitespace" && (r += 2), t - 2 > r && e[t][1].type === "whitespace" && (t -= 2), e[t][1].type === "atxHeadingSequence" && (r === t - 1 || t - 4 > r && e[t - 2][1].type === "whitespace") && (t -= r + 1 === t ? 2 : 4), t > r && (i = {
3395
3395
  type: "atxHeadingText",
@@ -3402,7 +3402,7 @@ function ql(e, n) {
3402
3402
  contentType: "text"
3403
3403
  }, ce(e, r, t - r + 1, [["enter", i, n], ["enter", l, n], ["exit", l, n], ["exit", i, n]])), e;
3404
3404
  }
3405
- function $l(e, n, t) {
3405
+ function Wl(e, n, t) {
3406
3406
  let r = 0;
3407
3407
  return i;
3408
3408
  function i(c) {
@@ -3415,7 +3415,7 @@ function $l(e, n, t) {
3415
3415
  return c === 35 && r++ < 6 ? (e.consume(c), o) : c === null || Q(c) ? (e.exit("atxHeadingSequence"), a(c)) : t(c);
3416
3416
  }
3417
3417
  function a(c) {
3418
- return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || L(c) ? (e.exit("atxHeading"), n(c)) : F(c) ? U(e, a, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
3418
+ return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || L(c) ? (e.exit("atxHeading"), n(c)) : F(c) ? V(e, a, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
3419
3419
  }
3420
3420
  function s(c) {
3421
3421
  return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), a(c));
@@ -3424,7 +3424,7 @@ function $l(e, n, t) {
3424
3424
  return c === null || c === 35 || Q(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), u);
3425
3425
  }
3426
3426
  }
3427
- const Wl = [
3427
+ const Gl = [
3428
3428
  "address",
3429
3429
  "article",
3430
3430
  "aside",
@@ -3487,25 +3487,25 @@ const Wl = [
3487
3487
  "tr",
3488
3488
  "track",
3489
3489
  "ul"
3490
- ], gt = ["pre", "script", "style", "textarea"], Gl = {
3490
+ ], gt = ["pre", "script", "style", "textarea"], Xl = {
3491
3491
  concrete: !0,
3492
3492
  name: "htmlFlow",
3493
- resolveTo: Kl,
3494
- tokenize: Ql
3495
- }, Xl = {
3496
- partial: !0,
3497
- tokenize: Zl
3493
+ resolveTo: Ql,
3494
+ tokenize: Jl
3498
3495
  }, Yl = {
3499
3496
  partial: !0,
3500
- tokenize: Jl
3497
+ tokenize: eo
3498
+ }, Kl = {
3499
+ partial: !0,
3500
+ tokenize: Zl
3501
3501
  };
3502
- function Kl(e) {
3502
+ function Ql(e) {
3503
3503
  let n = e.length;
3504
3504
  for (; n-- && !(e[n][0] === "enter" && e[n][1].type === "htmlFlow"); )
3505
3505
  ;
3506
3506
  return n > 1 && e[n - 2][1].type === "linePrefix" && (e[n][1].start = e[n - 2][1].start, e[n + 1][1].start = e[n - 2][1].start, e.splice(n - 2, 2)), e;
3507
3507
  }
3508
- function Ql(e, n, t) {
3508
+ function Jl(e, n, t) {
3509
3509
  const r = this;
3510
3510
  let i, l, o, a, s;
3511
3511
  return u;
@@ -3516,10 +3516,10 @@ function Ql(e, n, t) {
3516
3516
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(m), p;
3517
3517
  }
3518
3518
  function p(m) {
3519
- return m === 33 ? (e.consume(m), d) : m === 47 ? (e.consume(m), l = !0, b) : m === 63 ? (e.consume(m), i = 3, r.interrupt ? n : h) : ue(m) ? (e.consume(m), o = String.fromCharCode(m), z) : t(m);
3519
+ return m === 33 ? (e.consume(m), d) : m === 47 ? (e.consume(m), l = !0, b) : m === 63 ? (e.consume(m), i = 3, r.interrupt ? n : h) : se(m) ? (e.consume(m), o = String.fromCharCode(m), z) : t(m);
3520
3520
  }
3521
3521
  function d(m) {
3522
- return m === 45 ? (e.consume(m), i = 2, f) : m === 91 ? (e.consume(m), i = 5, a = 0, w) : ue(m) ? (e.consume(m), i = 4, r.interrupt ? n : h) : t(m);
3522
+ return m === 45 ? (e.consume(m), i = 2, f) : m === 91 ? (e.consume(m), i = 5, a = 0, w) : se(m) ? (e.consume(m), i = 4, r.interrupt ? n : h) : t(m);
3523
3523
  }
3524
3524
  function f(m) {
3525
3525
  return m === 45 ? (e.consume(m), r.interrupt ? n : h) : t(m);
@@ -3529,12 +3529,12 @@ function Ql(e, n, t) {
3529
3529
  return m === le.charCodeAt(a++) ? (e.consume(m), a === le.length ? r.interrupt ? n : I : w) : t(m);
3530
3530
  }
3531
3531
  function b(m) {
3532
- return ue(m) ? (e.consume(m), o = String.fromCharCode(m), z) : t(m);
3532
+ return se(m) ? (e.consume(m), o = String.fromCharCode(m), z) : t(m);
3533
3533
  }
3534
3534
  function z(m) {
3535
3535
  if (m === null || m === 47 || m === 62 || Q(m)) {
3536
3536
  const le = m === 47, xe = o.toLowerCase();
3537
- return !le && !l && gt.includes(xe) ? (i = 1, r.interrupt ? n(m) : I(m)) : Wl.includes(o.toLowerCase()) ? (i = 6, le ? (e.consume(m), k) : r.interrupt ? n(m) : I(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? A(m) : C(m));
3537
+ return !le && !l && gt.includes(xe) ? (i = 1, r.interrupt ? n(m) : I(m)) : Gl.includes(o.toLowerCase()) ? (i = 6, le ? (e.consume(m), k) : r.interrupt ? n(m) : I(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? A(m) : C(m));
3538
3538
  }
3539
3539
  return m === 45 || ne(m) ? (e.consume(m), o += String.fromCharCode(m), z) : t(m);
3540
3540
  }
@@ -3545,7 +3545,7 @@ function Ql(e, n, t) {
3545
3545
  return F(m) ? (e.consume(m), A) : M(m);
3546
3546
  }
3547
3547
  function C(m) {
3548
- return m === 47 ? (e.consume(m), M) : m === 58 || m === 95 || ue(m) ? (e.consume(m), B) : F(m) ? (e.consume(m), C) : M(m);
3548
+ return m === 47 ? (e.consume(m), M) : m === 58 || m === 95 || se(m) ? (e.consume(m), B) : F(m) ? (e.consume(m), C) : M(m);
3549
3549
  }
3550
3550
  function B(m) {
3551
3551
  return m === 45 || m === 46 || m === 58 || m === 95 || ne(m) ? (e.consume(m), B) : H(m);
@@ -3572,10 +3572,10 @@ function Ql(e, n, t) {
3572
3572
  return m === null || L(m) ? I(m) : F(m) ? (e.consume(m), P) : t(m);
3573
3573
  }
3574
3574
  function I(m) {
3575
- return m === 45 && i === 2 ? (e.consume(m), W) : m === 60 && i === 1 ? (e.consume(m), G) : m === 62 && i === 4 ? (e.consume(m), ie) : m === 63 && i === 3 ? (e.consume(m), h) : m === 93 && i === 5 ? (e.consume(m), pe) : L(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Xl, fe, T)(m)) : m === null || L(m) ? (e.exit("htmlFlowData"), T(m)) : (e.consume(m), I);
3575
+ return m === 45 && i === 2 ? (e.consume(m), W) : m === 60 && i === 1 ? (e.consume(m), G) : m === 62 && i === 4 ? (e.consume(m), ie) : m === 63 && i === 3 ? (e.consume(m), h) : m === 93 && i === 5 ? (e.consume(m), pe) : L(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Yl, fe, T)(m)) : m === null || L(m) ? (e.exit("htmlFlowData"), T(m)) : (e.consume(m), I);
3576
3576
  }
3577
3577
  function T(m) {
3578
- return e.check(Yl, E, fe)(m);
3578
+ return e.check(Kl, E, fe)(m);
3579
3579
  }
3580
3580
  function E(m) {
3581
3581
  return e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), _;
@@ -3594,7 +3594,7 @@ function Ql(e, n, t) {
3594
3594
  const le = o.toLowerCase();
3595
3595
  return gt.includes(le) ? (e.consume(m), ie) : I(m);
3596
3596
  }
3597
- return ue(m) && o.length < 8 ? (e.consume(m), o += String.fromCharCode(m), re) : I(m);
3597
+ return se(m) && o.length < 8 ? (e.consume(m), o += String.fromCharCode(m), re) : I(m);
3598
3598
  }
3599
3599
  function pe(m) {
3600
3600
  return m === 93 ? (e.consume(m), h) : I(m);
@@ -3609,7 +3609,7 @@ function Ql(e, n, t) {
3609
3609
  return e.exit("htmlFlow"), n(m);
3610
3610
  }
3611
3611
  }
3612
- function Jl(e, n, t) {
3612
+ function Zl(e, n, t) {
3613
3613
  const r = this;
3614
3614
  return i;
3615
3615
  function i(o) {
@@ -3619,17 +3619,17 @@ function Jl(e, n, t) {
3619
3619
  return r.parser.lazy[r.now().line] ? t(o) : n(o);
3620
3620
  }
3621
3621
  }
3622
- function Zl(e, n, t) {
3622
+ function eo(e, n, t) {
3623
3623
  return r;
3624
3624
  function r(i) {
3625
3625
  return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(tn, n, t);
3626
3626
  }
3627
3627
  }
3628
- const eo = {
3628
+ const no = {
3629
3629
  name: "htmlText",
3630
- tokenize: no
3630
+ tokenize: to
3631
3631
  };
3632
- function no(e, n, t) {
3632
+ function to(e, n, t) {
3633
3633
  const r = this;
3634
3634
  let i, l, o;
3635
3635
  return a;
@@ -3637,10 +3637,10 @@ function no(e, n, t) {
3637
3637
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(h), s;
3638
3638
  }
3639
3639
  function s(h) {
3640
- return h === 33 ? (e.consume(h), u) : h === 47 ? (e.consume(h), H) : h === 63 ? (e.consume(h), C) : ue(h) ? (e.consume(h), q) : t(h);
3640
+ return h === 33 ? (e.consume(h), u) : h === 47 ? (e.consume(h), H) : h === 63 ? (e.consume(h), C) : se(h) ? (e.consume(h), q) : t(h);
3641
3641
  }
3642
3642
  function u(h) {
3643
- return h === 45 ? (e.consume(h), c) : h === 91 ? (e.consume(h), l = 0, w) : ue(h) ? (e.consume(h), A) : t(h);
3643
+ return h === 45 ? (e.consume(h), c) : h === 91 ? (e.consume(h), l = 0, w) : se(h) ? (e.consume(h), A) : t(h);
3644
3644
  }
3645
3645
  function c(h) {
3646
3646
  return h === 45 ? (e.consume(h), f) : t(h);
@@ -3677,7 +3677,7 @@ function no(e, n, t) {
3677
3677
  return h === 62 ? W(h) : C(h);
3678
3678
  }
3679
3679
  function H(h) {
3680
- return ue(h) ? (e.consume(h), y) : t(h);
3680
+ return se(h) ? (e.consume(h), y) : t(h);
3681
3681
  }
3682
3682
  function y(h) {
3683
3683
  return h === 45 || ne(h) ? (e.consume(h), y) : D(h);
@@ -3689,7 +3689,7 @@ function no(e, n, t) {
3689
3689
  return h === 45 || ne(h) ? (e.consume(h), q) : h === 47 || h === 62 || Q(h) ? O(h) : t(h);
3690
3690
  }
3691
3691
  function O(h) {
3692
- return h === 47 ? (e.consume(h), W) : h === 58 || h === 95 || ue(h) ? (e.consume(h), M) : L(h) ? (o = O, G(h)) : F(h) ? (e.consume(h), O) : W(h);
3692
+ return h === 47 ? (e.consume(h), W) : h === 58 || h === 95 || se(h) ? (e.consume(h), M) : L(h) ? (o = O, G(h)) : F(h) ? (e.consume(h), O) : W(h);
3693
3693
  }
3694
3694
  function M(h) {
3695
3695
  return h === 45 || h === 46 || h === 58 || h === 95 || ne(h) ? (e.consume(h), M) : P(h);
@@ -3716,7 +3716,7 @@ function no(e, n, t) {
3716
3716
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), re;
3717
3717
  }
3718
3718
  function re(h) {
3719
- return F(h) ? U(e, pe, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(h) : pe(h);
3719
+ return F(h) ? V(e, pe, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(h) : pe(h);
3720
3720
  }
3721
3721
  function pe(h) {
3722
3722
  return e.enter("htmlTextData"), o(h);
@@ -3724,17 +3724,17 @@ function no(e, n, t) {
3724
3724
  }
3725
3725
  const Hn = {
3726
3726
  name: "labelEnd",
3727
- resolveAll: lo,
3728
- resolveTo: oo,
3729
- tokenize: ao
3730
- }, to = {
3727
+ resolveAll: oo,
3728
+ resolveTo: ao,
3731
3729
  tokenize: uo
3732
3730
  }, ro = {
3733
3731
  tokenize: so
3734
3732
  }, io = {
3735
3733
  tokenize: co
3734
+ }, lo = {
3735
+ tokenize: po
3736
3736
  };
3737
- function lo(e) {
3737
+ function oo(e) {
3738
3738
  let n = -1;
3739
3739
  const t = [];
3740
3740
  for (; ++n < e.length; ) {
@@ -3746,7 +3746,7 @@ function lo(e) {
3746
3746
  }
3747
3747
  return e.length !== t.length && ce(e, 0, e.length, t), e;
3748
3748
  }
3749
- function oo(e, n) {
3749
+ function ao(e, n) {
3750
3750
  let t = e.length, r = 0, i, l, o, a;
3751
3751
  for (; t--; )
3752
3752
  if (i = e[t][1], l) {
@@ -3786,7 +3786,7 @@ function oo(e, n) {
3786
3786
  };
3787
3787
  return a = [["enter", s, n], ["enter", u, n]], a = te(a, e.slice(l + 1, l + r + 3)), a = te(a, [["enter", c, n]]), a = te(a, jn(n.parser.constructs.insideSpan.null, e.slice(l + r + 4, o - 3), n)), a = te(a, [["exit", c, n], e[o - 2], e[o - 1], ["exit", u, n]]), a = te(a, e.slice(o + 1)), a = te(a, [["exit", s, n]]), ce(e, l, e.length, a), e;
3788
3788
  }
3789
- function ao(e, n, t) {
3789
+ function uo(e, n, t) {
3790
3790
  const r = this;
3791
3791
  let i = r.events.length, l, o;
3792
3792
  for (; i--; )
@@ -3802,10 +3802,10 @@ function ao(e, n, t) {
3802
3802
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(d), e.exit("labelMarker"), e.exit("labelEnd"), s) : t(d);
3803
3803
  }
3804
3804
  function s(d) {
3805
- return d === 40 ? e.attempt(to, c, o ? c : p)(d) : d === 91 ? e.attempt(ro, c, o ? u : p)(d) : o ? c(d) : p(d);
3805
+ return d === 40 ? e.attempt(ro, c, o ? c : p)(d) : d === 91 ? e.attempt(io, c, o ? u : p)(d) : o ? c(d) : p(d);
3806
3806
  }
3807
3807
  function u(d) {
3808
- return e.attempt(io, c, p)(d);
3808
+ return e.attempt(lo, c, p)(d);
3809
3809
  }
3810
3810
  function c(d) {
3811
3811
  return n(d);
@@ -3814,38 +3814,38 @@ function ao(e, n, t) {
3814
3814
  return l._balanced = !0, t(d);
3815
3815
  }
3816
3816
  }
3817
- function uo(e, n, t) {
3817
+ function so(e, n, t) {
3818
3818
  return r;
3819
3819
  function r(p) {
3820
3820
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), i;
3821
3821
  }
3822
3822
  function i(p) {
3823
- return Q(p) ? Ve(e, l)(p) : l(p);
3823
+ return Q(p) ? Ue(e, l)(p) : l(p);
3824
3824
  }
3825
3825
  function l(p) {
3826
- return p === 41 ? c(p) : or(e, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
3826
+ return p === 41 ? c(p) : ar(e, o, a, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
3827
3827
  }
3828
3828
  function o(p) {
3829
- return Q(p) ? Ve(e, s)(p) : c(p);
3829
+ return Q(p) ? Ue(e, s)(p) : c(p);
3830
3830
  }
3831
3831
  function a(p) {
3832
3832
  return t(p);
3833
3833
  }
3834
3834
  function s(p) {
3835
- return p === 34 || p === 39 || p === 40 ? ur(e, u, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : c(p);
3835
+ return p === 34 || p === 39 || p === 40 ? sr(e, u, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : c(p);
3836
3836
  }
3837
3837
  function u(p) {
3838
- return Q(p) ? Ve(e, c)(p) : c(p);
3838
+ return Q(p) ? Ue(e, c)(p) : c(p);
3839
3839
  }
3840
3840
  function c(p) {
3841
3841
  return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), n) : t(p);
3842
3842
  }
3843
3843
  }
3844
- function so(e, n, t) {
3844
+ function co(e, n, t) {
3845
3845
  const r = this;
3846
3846
  return i;
3847
3847
  function i(a) {
3848
- return ar.call(r, e, l, o, "reference", "referenceMarker", "referenceString")(a);
3848
+ return ur.call(r, e, l, o, "reference", "referenceMarker", "referenceString")(a);
3849
3849
  }
3850
3850
  function l(a) {
3851
3851
  return r.parser.defined.includes(Ae(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? n(a) : t(a);
@@ -3854,7 +3854,7 @@ function so(e, n, t) {
3854
3854
  return t(a);
3855
3855
  }
3856
3856
  }
3857
- function co(e, n, t) {
3857
+ function po(e, n, t) {
3858
3858
  return r;
3859
3859
  function r(l) {
3860
3860
  return e.enter("reference"), e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), i;
@@ -3863,12 +3863,12 @@ function co(e, n, t) {
3863
3863
  return l === 93 ? (e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), e.exit("reference"), n) : t(l);
3864
3864
  }
3865
3865
  }
3866
- const po = {
3866
+ const fo = {
3867
3867
  name: "labelStartImage",
3868
3868
  resolveAll: Hn.resolveAll,
3869
- tokenize: fo
3869
+ tokenize: ho
3870
3870
  };
3871
- function fo(e, n, t) {
3871
+ function ho(e, n, t) {
3872
3872
  const r = this;
3873
3873
  return i;
3874
3874
  function i(a) {
@@ -3881,12 +3881,12 @@ function fo(e, n, t) {
3881
3881
  return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(a) : n(a);
3882
3882
  }
3883
3883
  }
3884
- const ho = {
3884
+ const mo = {
3885
3885
  name: "labelStartLink",
3886
3886
  resolveAll: Hn.resolveAll,
3887
- tokenize: mo
3887
+ tokenize: go
3888
3888
  };
3889
- function mo(e, n, t) {
3889
+ function go(e, n, t) {
3890
3890
  const r = this;
3891
3891
  return i;
3892
3892
  function i(o) {
@@ -3898,19 +3898,19 @@ function mo(e, n, t) {
3898
3898
  }
3899
3899
  const un = {
3900
3900
  name: "lineEnding",
3901
- tokenize: go
3901
+ tokenize: yo
3902
3902
  };
3903
- function go(e, n) {
3903
+ function yo(e, n) {
3904
3904
  return t;
3905
3905
  function t(r) {
3906
- return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), U(e, n, "linePrefix");
3906
+ return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), V(e, n, "linePrefix");
3907
3907
  }
3908
3908
  }
3909
3909
  const Qe = {
3910
3910
  name: "thematicBreak",
3911
- tokenize: yo
3911
+ tokenize: xo
3912
3912
  };
3913
- function yo(e, n, t) {
3913
+ function xo(e, n, t) {
3914
3914
  let r = 0, i;
3915
3915
  return l;
3916
3916
  function l(u) {
@@ -3923,24 +3923,24 @@ function yo(e, n, t) {
3923
3923
  return u === i ? (e.enter("thematicBreakSequence"), s(u)) : r >= 3 && (u === null || L(u)) ? (e.exit("thematicBreak"), n(u)) : t(u);
3924
3924
  }
3925
3925
  function s(u) {
3926
- return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), F(u) ? U(e, a, "whitespace")(u) : a(u));
3926
+ return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), F(u) ? V(e, a, "whitespace")(u) : a(u));
3927
3927
  }
3928
3928
  }
3929
3929
  const K = {
3930
3930
  continuation: {
3931
- tokenize: wo
3931
+ tokenize: So
3932
3932
  },
3933
- exit: Co,
3933
+ exit: Eo,
3934
3934
  name: "list",
3935
- tokenize: bo
3936
- }, xo = {
3937
- partial: !0,
3938
- tokenize: Eo
3935
+ tokenize: wo
3939
3936
  }, ko = {
3940
3937
  partial: !0,
3941
- tokenize: So
3938
+ tokenize: Io
3939
+ }, bo = {
3940
+ partial: !0,
3941
+ tokenize: Co
3942
3942
  };
3943
- function bo(e, n, t) {
3943
+ function wo(e, n, t) {
3944
3944
  const r = this, i = r.events[r.events.length - 1];
3945
3945
  let l = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
3946
3946
  return a;
@@ -3964,7 +3964,7 @@ function bo(e, n, t) {
3964
3964
  tn,
3965
3965
  // Can’t be empty when interrupting.
3966
3966
  r.interrupt ? t : c,
3967
- e.attempt(xo, d, p)
3967
+ e.attempt(ko, d, p)
3968
3968
  );
3969
3969
  }
3970
3970
  function c(f) {
@@ -3977,33 +3977,33 @@ function bo(e, n, t) {
3977
3977
  return r.containerState.size = l + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, n(f);
3978
3978
  }
3979
3979
  }
3980
- function wo(e, n, t) {
3980
+ function So(e, n, t) {
3981
3981
  const r = this;
3982
3982
  return r.containerState._closeFlow = void 0, e.check(tn, i, l);
3983
3983
  function i(a) {
3984
- return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, U(e, n, "listItemIndent", r.containerState.size + 1)(a);
3984
+ return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, V(e, n, "listItemIndent", r.containerState.size + 1)(a);
3985
3985
  }
3986
3986
  function l(a) {
3987
- return r.containerState.furtherBlankLines || !F(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(ko, n, o)(a));
3987
+ return r.containerState.furtherBlankLines || !F(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(bo, n, o)(a));
3988
3988
  }
3989
3989
  function o(a) {
3990
- return r.containerState._closeFlow = !0, r.interrupt = void 0, U(e, e.attempt(K, n, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
3990
+ return r.containerState._closeFlow = !0, r.interrupt = void 0, V(e, e.attempt(K, n, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
3991
3991
  }
3992
3992
  }
3993
- function So(e, n, t) {
3993
+ function Co(e, n, t) {
3994
3994
  const r = this;
3995
- return U(e, i, "listItemIndent", r.containerState.size + 1);
3995
+ return V(e, i, "listItemIndent", r.containerState.size + 1);
3996
3996
  function i(l) {
3997
3997
  const o = r.events[r.events.length - 1];
3998
3998
  return o && o[1].type === "listItemIndent" && o[2].sliceSerialize(o[1], !0).length === r.containerState.size ? n(l) : t(l);
3999
3999
  }
4000
4000
  }
4001
- function Co(e) {
4001
+ function Eo(e) {
4002
4002
  e.exit(this.containerState.type);
4003
4003
  }
4004
- function Eo(e, n, t) {
4004
+ function Io(e, n, t) {
4005
4005
  const r = this;
4006
- return U(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
4006
+ return V(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
4007
4007
  function i(l) {
4008
4008
  const o = r.events[r.events.length - 1];
4009
4009
  return !F(l) && o && o[1].type === "listItemPrefixWhitespace" ? n(l) : t(l);
@@ -4011,10 +4011,10 @@ function Eo(e, n, t) {
4011
4011
  }
4012
4012
  const yt = {
4013
4013
  name: "setextUnderline",
4014
- resolveTo: Io,
4015
- tokenize: To
4014
+ resolveTo: To,
4015
+ tokenize: Po
4016
4016
  };
4017
- function Io(e, n) {
4017
+ function To(e, n) {
4018
4018
  let t = e.length, r, i, l;
4019
4019
  for (; t--; )
4020
4020
  if (e[t][0] === "enter") {
@@ -4038,7 +4038,7 @@ function Io(e, n) {
4038
4038
  ...e[l][1].end
4039
4039
  }) : e[r][1] = o, e.push(["exit", o, n]), e;
4040
4040
  }
4041
- function To(e, n, t) {
4041
+ function Po(e, n, t) {
4042
4042
  const r = this;
4043
4043
  let i;
4044
4044
  return l;
@@ -4055,22 +4055,22 @@ function To(e, n, t) {
4055
4055
  return e.enter("setextHeadingLineSequence"), a(u);
4056
4056
  }
4057
4057
  function a(u) {
4058
- return u === i ? (e.consume(u), a) : (e.exit("setextHeadingLineSequence"), F(u) ? U(e, s, "lineSuffix")(u) : s(u));
4058
+ return u === i ? (e.consume(u), a) : (e.exit("setextHeadingLineSequence"), F(u) ? V(e, s, "lineSuffix")(u) : s(u));
4059
4059
  }
4060
4060
  function s(u) {
4061
4061
  return u === null || L(u) ? (e.exit("setextHeadingLine"), n(u)) : t(u);
4062
4062
  }
4063
4063
  }
4064
- const Po = {
4065
- tokenize: Ao
4064
+ const Ao = {
4065
+ tokenize: zo
4066
4066
  };
4067
- function Ao(e) {
4067
+ function zo(e) {
4068
4068
  const n = this, t = e.attempt(
4069
4069
  // Try to parse a blank line.
4070
4070
  tn,
4071
4071
  r,
4072
4072
  // Try to parse initial flow (essentially, only code).
4073
- e.attempt(this.parser.constructs.flowInitial, i, U(e, e.attempt(this.parser.constructs.flow, i, e.attempt(vl, i)), "linePrefix"))
4073
+ e.attempt(this.parser.constructs.flowInitial, i, V(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Nl, i)), "linePrefix"))
4074
4074
  );
4075
4075
  return t;
4076
4076
  function r(l) {
@@ -4088,12 +4088,12 @@ function Ao(e) {
4088
4088
  return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), n.currentConstruct = void 0, t;
4089
4089
  }
4090
4090
  }
4091
- const zo = {
4092
- resolveAll: cr()
4093
- }, Lo = sr("string"), _o = sr("text");
4094
- function sr(e) {
4091
+ const Lo = {
4092
+ resolveAll: pr()
4093
+ }, _o = cr("string"), vo = cr("text");
4094
+ function cr(e) {
4095
4095
  return {
4096
- resolveAll: cr(e === "text" ? vo : void 0),
4096
+ resolveAll: pr(e === "text" ? No : void 0),
4097
4097
  tokenize: n
4098
4098
  };
4099
4099
  function n(t) {
@@ -4127,7 +4127,7 @@ function sr(e) {
4127
4127
  }
4128
4128
  }
4129
4129
  }
4130
- function cr(e) {
4130
+ function pr(e) {
4131
4131
  return n;
4132
4132
  function n(t, r) {
4133
4133
  let i = -1, l;
@@ -4136,7 +4136,7 @@ function cr(e) {
4136
4136
  return e ? e(t, r) : t;
4137
4137
  }
4138
4138
  }
4139
- function vo(e, n) {
4139
+ function No(e, n) {
4140
4140
  let t = 0;
4141
4141
  for (; ++t <= e.length; )
4142
4142
  if ((t === e.length || e[t][1].type === "lineEnding") && e[t - 1][1].type === "data") {
@@ -4178,7 +4178,7 @@ function vo(e, n) {
4178
4178
  }
4179
4179
  return e;
4180
4180
  }
4181
- const No = {
4181
+ const Ro = {
4182
4182
  42: K,
4183
4183
  43: K,
4184
4184
  45: K,
@@ -4192,46 +4192,46 @@ const No = {
4192
4192
  55: K,
4193
4193
  56: K,
4194
4194
  57: K,
4195
- 62: tr
4196
- }, Ro = {
4197
- 91: Ol
4195
+ 62: rr
4198
4196
  }, Do = {
4197
+ 91: Ml
4198
+ }, Fo = {
4199
4199
  [-2]: an,
4200
4200
  [-1]: an,
4201
4201
  32: an
4202
- }, Fo = {
4203
- 35: Ul,
4202
+ }, Oo = {
4203
+ 35: ql,
4204
4204
  42: Qe,
4205
4205
  45: [yt, Qe],
4206
- 60: Gl,
4206
+ 60: Xl,
4207
4207
  61: yt,
4208
4208
  95: Qe,
4209
4209
  96: dt,
4210
4210
  126: dt
4211
- }, Oo = {
4212
- 38: ir,
4213
- 92: rr
4214
4211
  }, Mo = {
4212
+ 38: lr,
4213
+ 92: ir
4214
+ }, Bo = {
4215
4215
  [-5]: un,
4216
4216
  [-4]: un,
4217
4217
  [-3]: un,
4218
- 33: po,
4219
- 38: ir,
4218
+ 33: fo,
4219
+ 38: lr,
4220
4220
  42: Cn,
4221
- 60: [hl, eo],
4222
- 91: ho,
4223
- 92: [Hl, rr],
4221
+ 60: [ml, no],
4222
+ 91: mo,
4223
+ 92: [Ul, ir],
4224
4224
  93: Hn,
4225
4225
  95: Cn,
4226
- 96: Tl
4227
- }, Bo = {
4228
- null: [Cn, zo]
4226
+ 96: Pl
4229
4227
  }, jo = {
4230
- null: [42, 95]
4228
+ null: [Cn, Lo]
4231
4229
  }, Ho = {
4230
+ null: [42, 95]
4231
+ }, Uo = {
4232
4232
  null: []
4233
- }, Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: jo, contentInitial: Ro, disable: Ho, document: No, flow: Fo, flowInitial: Do, insideSpan: Bo, string: Oo, text: Mo }, Symbol.toStringTag, { value: "Module" }));
4234
- function Uo(e, n, t) {
4233
+ }, Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: Ho, contentInitial: Do, disable: Uo, document: Ro, flow: Oo, flowInitial: Fo, insideSpan: jo, string: Mo, text: Bo }, Symbol.toStringTag, { value: "Module" }));
4234
+ function qo(e, n, t) {
4235
4235
  let r = {
4236
4236
  _bufferIndex: -1,
4237
4237
  _index: 0,
@@ -4268,10 +4268,10 @@ function Uo(e, n, t) {
4268
4268
  return o = te(o, P), z(), o[o.length - 1] !== null ? [] : (q(n, 0), u.events = jn(l, u.events, u), u.events);
4269
4269
  }
4270
4270
  function d(P, I) {
4271
- return $o(f(P), I);
4271
+ return Wo(f(P), I);
4272
4272
  }
4273
4273
  function f(P) {
4274
- return qo(o, P);
4274
+ return $o(o, P);
4275
4275
  }
4276
4276
  function w() {
4277
4277
  const {
@@ -4394,7 +4394,7 @@ function Uo(e, n, t) {
4394
4394
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
4395
4395
  }
4396
4396
  }
4397
- function qo(e, n) {
4397
+ function $o(e, n) {
4398
4398
  const t = n.start._index, r = n.start._bufferIndex, i = n.end._index, l = n.end._bufferIndex;
4399
4399
  let o;
4400
4400
  if (t === i)
@@ -4408,7 +4408,7 @@ function qo(e, n) {
4408
4408
  }
4409
4409
  return o;
4410
4410
  }
4411
- function $o(e, n) {
4411
+ function Wo(e, n) {
4412
4412
  let t = -1;
4413
4413
  const r = [];
4414
4414
  let i;
@@ -4448,35 +4448,35 @@ function $o(e, n) {
4448
4448
  }
4449
4449
  return r.join("");
4450
4450
  }
4451
- function Wo(e) {
4451
+ function Go(e) {
4452
4452
  const r = {
4453
4453
  constructs: (
4454
4454
  /** @type {FullNormalizedExtension} */
4455
- Ji([Vo, ...(e || {}).extensions || []])
4455
+ Zi([Vo, ...(e || {}).extensions || []])
4456
4456
  ),
4457
- content: i(ol),
4457
+ content: i(al),
4458
4458
  defined: [],
4459
- document: i(ul),
4460
- flow: i(Po),
4459
+ document: i(sl),
4460
+ flow: i(Ao),
4461
4461
  lazy: {},
4462
- string: i(Lo),
4463
- text: i(_o)
4462
+ string: i(_o),
4463
+ text: i(vo)
4464
4464
  };
4465
4465
  return r;
4466
4466
  function i(l) {
4467
4467
  return o;
4468
4468
  function o(a) {
4469
- return Uo(r, l, a);
4469
+ return qo(r, l, a);
4470
4470
  }
4471
4471
  }
4472
4472
  }
4473
- function Go(e) {
4474
- for (; !lr(e); )
4473
+ function Xo(e) {
4474
+ for (; !or(e); )
4475
4475
  ;
4476
4476
  return e;
4477
4477
  }
4478
4478
  const xt = /[\0\t\n\r]/g;
4479
- function Xo() {
4479
+ function Yo() {
4480
4480
  let e = 1, n = "", t = !0, r;
4481
4481
  return i;
4482
4482
  function i(l, o, a) {
@@ -4511,24 +4511,24 @@ function Xo() {
4511
4511
  return a && (r && s.push(-5), n && s.push(n), s.push(null)), s;
4512
4512
  }
4513
4513
  }
4514
- const Yo = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4515
- function Ko(e) {
4516
- return e.replace(Yo, Qo);
4514
+ const Ko = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4515
+ function Qo(e) {
4516
+ return e.replace(Ko, Jo);
4517
4517
  }
4518
- function Qo(e, n, t) {
4518
+ function Jo(e, n, t) {
4519
4519
  if (n)
4520
4520
  return n;
4521
4521
  if (t.charCodeAt(0) === 35) {
4522
4522
  const i = t.charCodeAt(1), l = i === 120 || i === 88;
4523
- return nr(t.slice(l ? 2 : 1), l ? 16 : 10);
4523
+ return tr(t.slice(l ? 2 : 1), l ? 16 : 10);
4524
4524
  }
4525
4525
  return Bn(t) || e;
4526
4526
  }
4527
- const pr = {}.hasOwnProperty;
4528
- function Jo(e, n, t) {
4529
- return typeof n != "string" && (t = n, n = void 0), Zo(t)(Go(Wo(t).document().write(Xo()(e, n, !0))));
4527
+ const fr = {}.hasOwnProperty;
4528
+ function Zo(e, n, t) {
4529
+ return typeof n != "string" && (t = n, n = void 0), ea(t)(Xo(Go(t).document().write(Yo()(e, n, !0))));
4530
4530
  }
4531
- function Zo(e) {
4531
+ function ea(e) {
4532
4532
  const n = {
4533
4533
  transforms: [],
4534
4534
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
@@ -4536,7 +4536,7 @@ function Zo(e) {
4536
4536
  autolink: l(Wn),
4537
4537
  autolinkProtocol: O,
4538
4538
  autolinkEmail: O,
4539
- atxHeading: l(Un),
4539
+ atxHeading: l(Vn),
4540
4540
  blockQuote: l(Ce),
4541
4541
  characterEscape: O,
4542
4542
  characterReference: O,
@@ -4544,36 +4544,36 @@ function Zo(e) {
4544
4544
  codeFencedFenceInfo: o,
4545
4545
  codeFencedFenceMeta: o,
4546
4546
  codeIndented: l(We, o),
4547
- codeText: l(dr, o),
4547
+ codeText: l(gr, o),
4548
4548
  codeTextData: O,
4549
4549
  data: O,
4550
4550
  codeFlowValue: O,
4551
- definition: l(gr),
4551
+ definition: l(yr),
4552
4552
  definitionDestinationString: o,
4553
4553
  definitionLabelString: o,
4554
4554
  definitionTitleString: o,
4555
- emphasis: l(yr),
4555
+ emphasis: l(xr),
4556
4556
  hardBreakEscape: l(qn),
4557
4557
  hardBreakTrailing: l(qn),
4558
4558
  htmlFlow: l($n, o),
4559
4559
  htmlFlowData: O,
4560
4560
  htmlText: l($n, o),
4561
4561
  htmlTextData: O,
4562
- image: l(xr),
4562
+ image: l(kr),
4563
4563
  label: o,
4564
4564
  link: l(Wn),
4565
- listItem: l(kr),
4565
+ listItem: l(br),
4566
4566
  listItemValue: d,
4567
4567
  listOrdered: l(Gn, p),
4568
4568
  listUnordered: l(Gn),
4569
- paragraph: l(br),
4569
+ paragraph: l(wr),
4570
4570
  reference: m,
4571
4571
  referenceString: o,
4572
4572
  resourceDestinationString: o,
4573
4573
  resourceTitleString: o,
4574
- setextHeading: l(Un),
4575
- strong: l(wr),
4576
- thematicBreak: l(Cr)
4574
+ setextHeading: l(Vn),
4575
+ strong: l(Sr),
4576
+ thematicBreak: l(Er)
4577
4577
  },
4578
4578
  exit: {
4579
4579
  atxHeading: s(),
@@ -4627,7 +4627,7 @@ function Zo(e) {
4627
4627
  thematicBreak: s()
4628
4628
  }
4629
4629
  };
4630
- fr(n, (e || {}).mdastExtensions || []);
4630
+ hr(n, (e || {}).mdastExtensions || []);
4631
4631
  const t = {};
4632
4632
  return r;
4633
4633
  function r(g) {
@@ -4656,7 +4656,7 @@ function Zo(e) {
4656
4656
  }
4657
4657
  for (j = -1; ++j < g.length; ) {
4658
4658
  const oe = n[g[j][0]];
4659
- pr.call(oe, g[j][1].type) && oe[g[j][1].type].call(Object.assign({
4659
+ fr.call(oe, g[j][1].type) && oe[g[j][1].type].call(Object.assign({
4660
4660
  sliceSerialize: g[j][2].sliceSerialize
4661
4661
  }, v), g[j][1]);
4662
4662
  }
@@ -4765,7 +4765,7 @@ function Zo(e) {
4765
4765
  v.position.end = ge(g.end);
4766
4766
  }
4767
4767
  function c() {
4768
- return Ki(this.stack.pop());
4768
+ return Qi(this.stack.pop());
4769
4769
  }
4770
4770
  function p() {
4771
4771
  this.data.expectingFirstListItemValue = !0;
@@ -4827,7 +4827,7 @@ function Zo(e) {
4827
4827
  function O(g) {
4828
4828
  const v = this.stack[this.stack.length - 1].children;
4829
4829
  let R = v[v.length - 1];
4830
- (!R || R.type !== "text") && (R = Sr(), R.position = {
4830
+ (!R || R.type !== "text") && (R = Cr(), R.position = {
4831
4831
  start: ge(g.start),
4832
4832
  // @ts-expect-error: we’ll add `end` later.
4833
4833
  end: void 0
@@ -4881,7 +4881,7 @@ function Zo(e) {
4881
4881
  }
4882
4882
  function re(g) {
4883
4883
  const S = this.sliceSerialize(g), v = this.stack[this.stack.length - 2];
4884
- v.label = Ko(S), v.identifier = Ae(S).toLowerCase();
4884
+ v.label = Qo(S), v.identifier = Ae(S).toLowerCase();
4885
4885
  }
4886
4886
  function pe() {
4887
4887
  const g = this.stack[this.stack.length - 1], S = this.resume(), v = this.stack[this.stack.length - 1];
@@ -4915,7 +4915,7 @@ function Zo(e) {
4915
4915
  function X(g) {
4916
4916
  const S = this.sliceSerialize(g), v = this.data.characterReferenceType;
4917
4917
  let R;
4918
- v ? (R = nr(S, v === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : R = Bn(S);
4918
+ v ? (R = tr(S, v === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : R = Bn(S);
4919
4919
  const j = this.stack[this.stack.length - 1];
4920
4920
  j.value += R;
4921
4921
  }
@@ -4947,13 +4947,13 @@ function Zo(e) {
4947
4947
  value: ""
4948
4948
  };
4949
4949
  }
4950
- function dr() {
4950
+ function gr() {
4951
4951
  return {
4952
4952
  type: "inlineCode",
4953
4953
  value: ""
4954
4954
  };
4955
4955
  }
4956
- function gr() {
4956
+ function yr() {
4957
4957
  return {
4958
4958
  type: "definition",
4959
4959
  identifier: "",
@@ -4962,13 +4962,13 @@ function Zo(e) {
4962
4962
  url: ""
4963
4963
  };
4964
4964
  }
4965
- function yr() {
4965
+ function xr() {
4966
4966
  return {
4967
4967
  type: "emphasis",
4968
4968
  children: []
4969
4969
  };
4970
4970
  }
4971
- function Un() {
4971
+ function Vn() {
4972
4972
  return {
4973
4973
  type: "heading",
4974
4974
  // @ts-expect-error `depth` will be set later.
@@ -4987,7 +4987,7 @@ function Zo(e) {
4987
4987
  value: ""
4988
4988
  };
4989
4989
  }
4990
- function xr() {
4990
+ function kr() {
4991
4991
  return {
4992
4992
  type: "image",
4993
4993
  title: null,
@@ -5012,7 +5012,7 @@ function Zo(e) {
5012
5012
  children: []
5013
5013
  };
5014
5014
  }
5015
- function kr(g) {
5015
+ function br(g) {
5016
5016
  return {
5017
5017
  type: "listItem",
5018
5018
  spread: g._spread,
@@ -5020,25 +5020,25 @@ function Zo(e) {
5020
5020
  children: []
5021
5021
  };
5022
5022
  }
5023
- function br() {
5023
+ function wr() {
5024
5024
  return {
5025
5025
  type: "paragraph",
5026
5026
  children: []
5027
5027
  };
5028
5028
  }
5029
- function wr() {
5029
+ function Sr() {
5030
5030
  return {
5031
5031
  type: "strong",
5032
5032
  children: []
5033
5033
  };
5034
5034
  }
5035
- function Sr() {
5035
+ function Cr() {
5036
5036
  return {
5037
5037
  type: "text",
5038
5038
  value: ""
5039
5039
  };
5040
5040
  }
5041
- function Cr() {
5041
+ function Er() {
5042
5042
  return {
5043
5043
  type: "thematicBreak"
5044
5044
  };
@@ -5051,17 +5051,17 @@ function ge(e) {
5051
5051
  offset: e.offset
5052
5052
  };
5053
5053
  }
5054
- function fr(e, n) {
5054
+ function hr(e, n) {
5055
5055
  let t = -1;
5056
5056
  for (; ++t < n.length; ) {
5057
5057
  const r = n[t];
5058
- Array.isArray(r) ? fr(e, r) : ea(e, r);
5058
+ Array.isArray(r) ? hr(e, r) : na(e, r);
5059
5059
  }
5060
5060
  }
5061
- function ea(e, n) {
5061
+ function na(e, n) {
5062
5062
  let t;
5063
5063
  for (t in n)
5064
- if (pr.call(n, t))
5064
+ if (fr.call(n, t))
5065
5065
  switch (t) {
5066
5066
  case "canContainEols": {
5067
5067
  const r = n[t];
@@ -5093,11 +5093,11 @@ function kt(e, n) {
5093
5093
  end: n.end
5094
5094
  }) + ") is still open");
5095
5095
  }
5096
- function na(e) {
5096
+ function ta(e) {
5097
5097
  const n = this;
5098
5098
  n.parser = t;
5099
5099
  function t(r) {
5100
- return Jo(r, {
5100
+ return Zo(r, {
5101
5101
  ...n.data("settings"),
5102
5102
  ...e,
5103
5103
  // Note: these options are not in the readme.
@@ -5108,7 +5108,7 @@ function na(e) {
5108
5108
  });
5109
5109
  }
5110
5110
  }
5111
- function ta(e, n) {
5111
+ function ra(e, n) {
5112
5112
  const t = {
5113
5113
  type: "element",
5114
5114
  tagName: "blockquote",
@@ -5117,12 +5117,12 @@ function ta(e, n) {
5117
5117
  };
5118
5118
  return e.patch(n, t), e.applyData(n, t);
5119
5119
  }
5120
- function ra(e, n) {
5120
+ function ia(e, n) {
5121
5121
  const t = { type: "element", tagName: "br", properties: {}, children: [] };
5122
5122
  return e.patch(n, t), [e.applyData(n, t), { type: "text", value: `
5123
5123
  ` }];
5124
5124
  }
5125
- function ia(e, n) {
5125
+ function la(e, n) {
5126
5126
  const t = n.value ? n.value + `
5127
5127
  ` : "", r = {};
5128
5128
  n.lang && (r.className = ["language-" + n.lang]);
@@ -5134,7 +5134,7 @@ function ia(e, n) {
5134
5134
  };
5135
5135
  return n.meta && (i.data = { meta: n.meta }), e.patch(n, i), i = e.applyData(n, i), i = { type: "element", tagName: "pre", properties: {}, children: [i] }, e.patch(n, i), i;
5136
5136
  }
5137
- function la(e, n) {
5137
+ function oa(e, n) {
5138
5138
  const t = {
5139
5139
  type: "element",
5140
5140
  tagName: "del",
@@ -5143,7 +5143,7 @@ function la(e, n) {
5143
5143
  };
5144
5144
  return e.patch(n, t), e.applyData(n, t);
5145
5145
  }
5146
- function oa(e, n) {
5146
+ function aa(e, n) {
5147
5147
  const t = {
5148
5148
  type: "element",
5149
5149
  tagName: "em",
@@ -5152,7 +5152,7 @@ function oa(e, n) {
5152
5152
  };
5153
5153
  return e.patch(n, t), e.applyData(n, t);
5154
5154
  }
5155
- function aa(e, n) {
5155
+ function ua(e, n) {
5156
5156
  const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(n.identifier).toUpperCase(), i = Le(r.toLowerCase()), l = e.footnoteOrder.indexOf(r);
5157
5157
  let o, a = e.footnoteCounts.get(r);
5158
5158
  a === void 0 ? (a = 0, e.footnoteOrder.push(r), o = e.footnoteOrder.length) : o = l + 1, a += 1, e.footnoteCounts.set(r, a);
@@ -5176,7 +5176,7 @@ function aa(e, n) {
5176
5176
  };
5177
5177
  return e.patch(n, u), e.applyData(n, u);
5178
5178
  }
5179
- function ua(e, n) {
5179
+ function sa(e, n) {
5180
5180
  const t = {
5181
5181
  type: "element",
5182
5182
  tagName: "h" + n.depth,
@@ -5185,13 +5185,13 @@ function ua(e, n) {
5185
5185
  };
5186
5186
  return e.patch(n, t), e.applyData(n, t);
5187
5187
  }
5188
- function sa(e, n) {
5188
+ function ca(e, n) {
5189
5189
  if (e.options.allowDangerousHtml) {
5190
5190
  const t = { type: "raw", value: n.value };
5191
5191
  return e.patch(n, t), e.applyData(n, t);
5192
5192
  }
5193
5193
  }
5194
- function hr(e, n) {
5194
+ function mr(e, n) {
5195
5195
  const t = n.referenceType;
5196
5196
  let r = "]";
5197
5197
  if (t === "collapsed" ? r += "[]" : t === "full" && (r += "[" + (n.label || n.identifier) + "]"), n.type === "imageReference")
@@ -5201,22 +5201,22 @@ function hr(e, n) {
5201
5201
  const o = i[i.length - 1];
5202
5202
  return o && o.type === "text" ? o.value += r : i.push({ type: "text", value: r }), i;
5203
5203
  }
5204
- function ca(e, n) {
5204
+ function pa(e, n) {
5205
5205
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5206
5206
  if (!r)
5207
- return hr(e, n);
5207
+ return mr(e, n);
5208
5208
  const i = { src: Le(r.url || ""), alt: n.alt };
5209
5209
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5210
5210
  const l = { type: "element", tagName: "img", properties: i, children: [] };
5211
5211
  return e.patch(n, l), e.applyData(n, l);
5212
5212
  }
5213
- function pa(e, n) {
5213
+ function fa(e, n) {
5214
5214
  const t = { src: Le(n.url) };
5215
5215
  n.alt !== null && n.alt !== void 0 && (t.alt = n.alt), n.title !== null && n.title !== void 0 && (t.title = n.title);
5216
5216
  const r = { type: "element", tagName: "img", properties: t, children: [] };
5217
5217
  return e.patch(n, r), e.applyData(n, r);
5218
5218
  }
5219
- function fa(e, n) {
5219
+ function ha(e, n) {
5220
5220
  const t = { type: "text", value: n.value.replace(/\r?\n|\r/g, " ") };
5221
5221
  e.patch(n, t);
5222
5222
  const r = {
@@ -5227,10 +5227,10 @@ function fa(e, n) {
5227
5227
  };
5228
5228
  return e.patch(n, r), e.applyData(n, r);
5229
5229
  }
5230
- function ha(e, n) {
5230
+ function ma(e, n) {
5231
5231
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5232
5232
  if (!r)
5233
- return hr(e, n);
5233
+ return mr(e, n);
5234
5234
  const i = { href: Le(r.url || "") };
5235
5235
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5236
5236
  const l = {
@@ -5241,7 +5241,7 @@ function ha(e, n) {
5241
5241
  };
5242
5242
  return e.patch(n, l), e.applyData(n, l);
5243
5243
  }
5244
- function ma(e, n) {
5244
+ function da(e, n) {
5245
5245
  const t = { href: Le(n.url) };
5246
5246
  n.title !== null && n.title !== void 0 && (t.title = n.title);
5247
5247
  const r = {
@@ -5252,8 +5252,8 @@ function ma(e, n) {
5252
5252
  };
5253
5253
  return e.patch(n, r), e.applyData(n, r);
5254
5254
  }
5255
- function da(e, n, t) {
5256
- const r = e.all(n), i = t ? ga(t) : mr(n), l = {}, o = [];
5255
+ function ga(e, n, t) {
5256
+ const r = e.all(n), i = t ? ya(t) : dr(n), l = {}, o = [];
5257
5257
  if (typeof n.checked == "boolean") {
5258
5258
  const c = r[0];
5259
5259
  let p;
@@ -5276,22 +5276,22 @@ function da(e, n, t) {
5276
5276
  const u = { type: "element", tagName: "li", properties: l, children: o };
5277
5277
  return e.patch(n, u), e.applyData(n, u);
5278
5278
  }
5279
- function ga(e) {
5279
+ function ya(e) {
5280
5280
  let n = !1;
5281
5281
  if (e.type === "list") {
5282
5282
  n = e.spread || !1;
5283
5283
  const t = e.children;
5284
5284
  let r = -1;
5285
5285
  for (; !n && ++r < t.length; )
5286
- n = mr(t[r]);
5286
+ n = dr(t[r]);
5287
5287
  }
5288
5288
  return n;
5289
5289
  }
5290
- function mr(e) {
5290
+ function dr(e) {
5291
5291
  const n = e.spread;
5292
5292
  return n ?? e.children.length > 1;
5293
5293
  }
5294
- function ya(e, n) {
5294
+ function xa(e, n) {
5295
5295
  const t = {}, r = e.all(n);
5296
5296
  let i = -1;
5297
5297
  for (typeof n.start == "number" && n.start !== 1 && (t.start = n.start); ++i < r.length; ) {
@@ -5309,7 +5309,7 @@ function ya(e, n) {
5309
5309
  };
5310
5310
  return e.patch(n, l), e.applyData(n, l);
5311
5311
  }
5312
- function xa(e, n) {
5312
+ function ka(e, n) {
5313
5313
  const t = {
5314
5314
  type: "element",
5315
5315
  tagName: "p",
@@ -5318,11 +5318,11 @@ function xa(e, n) {
5318
5318
  };
5319
5319
  return e.patch(n, t), e.applyData(n, t);
5320
5320
  }
5321
- function ka(e, n) {
5321
+ function ba(e, n) {
5322
5322
  const t = { type: "root", children: e.wrap(e.all(n)) };
5323
5323
  return e.patch(n, t), e.applyData(n, t);
5324
5324
  }
5325
- function ba(e, n) {
5325
+ function wa(e, n) {
5326
5326
  const t = {
5327
5327
  type: "element",
5328
5328
  tagName: "strong",
@@ -5331,7 +5331,7 @@ function ba(e, n) {
5331
5331
  };
5332
5332
  return e.patch(n, t), e.applyData(n, t);
5333
5333
  }
5334
- function wa(e, n) {
5334
+ function Sa(e, n) {
5335
5335
  const t = e.all(n), r = t.shift(), i = [];
5336
5336
  if (r) {
5337
5337
  const o = {
@@ -5348,7 +5348,7 @@ function wa(e, n) {
5348
5348
  tagName: "tbody",
5349
5349
  properties: {},
5350
5350
  children: e.wrap(t, !0)
5351
- }, a = Dn(n.children[1]), s = Xt(n.children[n.children.length - 1]);
5351
+ }, a = Dn(n.children[1]), s = Yt(n.children[n.children.length - 1]);
5352
5352
  a && s && (o.position = { start: a, end: s }), i.push(o);
5353
5353
  }
5354
5354
  const l = {
@@ -5359,7 +5359,7 @@ function wa(e, n) {
5359
5359
  };
5360
5360
  return e.patch(n, l), e.applyData(n, l);
5361
5361
  }
5362
- function Sa(e, n, t) {
5362
+ function Ca(e, n, t) {
5363
5363
  const r = t ? t.children : void 0, l = (r ? r.indexOf(n) : 1) === 0 ? "th" : "td", o = t && t.type === "table" ? t.align : void 0, a = o ? o.length : n.children.length;
5364
5364
  let s = -1;
5365
5365
  const u = [];
@@ -5377,7 +5377,7 @@ function Sa(e, n, t) {
5377
5377
  };
5378
5378
  return e.patch(n, c), e.applyData(n, c);
5379
5379
  }
5380
- function Ca(e, n) {
5380
+ function Ea(e, n) {
5381
5381
  const t = {
5382
5382
  type: "element",
5383
5383
  tagName: "td",
@@ -5388,7 +5388,7 @@ function Ca(e, n) {
5388
5388
  return e.patch(n, t), e.applyData(n, t);
5389
5389
  }
5390
5390
  const bt = 9, wt = 32;
5391
- function Ea(e) {
5391
+ function Ia(e) {
5392
5392
  const n = String(e), t = /\r?\n|\r/g;
5393
5393
  let r = t.exec(n), i = 0;
5394
5394
  const l = [];
@@ -5413,11 +5413,11 @@ function St(e, n, t) {
5413
5413
  }
5414
5414
  return i > r ? e.slice(r, i) : "";
5415
5415
  }
5416
- function Ia(e, n) {
5417
- const t = { type: "text", value: Ea(String(n.value)) };
5416
+ function Ta(e, n) {
5417
+ const t = { type: "text", value: Ia(String(n.value)) };
5418
5418
  return e.patch(n, t), e.applyData(n, t);
5419
5419
  }
5420
- function Ta(e, n) {
5420
+ function Pa(e, n) {
5421
5421
  const t = {
5422
5422
  type: "element",
5423
5423
  tagName: "hr",
@@ -5426,31 +5426,31 @@ function Ta(e, n) {
5426
5426
  };
5427
5427
  return e.patch(n, t), e.applyData(n, t);
5428
5428
  }
5429
- const Pa = {
5430
- blockquote: ta,
5431
- break: ra,
5432
- code: ia,
5433
- delete: la,
5434
- emphasis: oa,
5435
- footnoteReference: aa,
5436
- heading: ua,
5437
- html: sa,
5438
- imageReference: ca,
5439
- image: pa,
5440
- inlineCode: fa,
5441
- linkReference: ha,
5442
- link: ma,
5443
- listItem: da,
5444
- list: ya,
5445
- paragraph: xa,
5429
+ const Aa = {
5430
+ blockquote: ra,
5431
+ break: ia,
5432
+ code: la,
5433
+ delete: oa,
5434
+ emphasis: aa,
5435
+ footnoteReference: ua,
5436
+ heading: sa,
5437
+ html: ca,
5438
+ imageReference: pa,
5439
+ image: fa,
5440
+ inlineCode: ha,
5441
+ linkReference: ma,
5442
+ link: da,
5443
+ listItem: ga,
5444
+ list: xa,
5445
+ paragraph: ka,
5446
5446
  // @ts-expect-error: root is different, but hard to type.
5447
- root: ka,
5448
- strong: ba,
5449
- table: wa,
5450
- tableCell: Ca,
5451
- tableRow: Sa,
5452
- text: Ia,
5453
- thematicBreak: Ta,
5447
+ root: ba,
5448
+ strong: wa,
5449
+ table: Sa,
5450
+ tableCell: Ea,
5451
+ tableRow: Ca,
5452
+ text: Ta,
5453
+ thematicBreak: Pa,
5454
5454
  toml: Xe,
5455
5455
  yaml: Xe,
5456
5456
  definition: Xe,
@@ -5458,7 +5458,7 @@ const Pa = {
5458
5458
  };
5459
5459
  function Xe() {
5460
5460
  }
5461
- function Aa(e, n) {
5461
+ function za(e, n) {
5462
5462
  const t = [{ type: "text", value: "↩" }];
5463
5463
  return n > 1 && t.push({
5464
5464
  type: "element",
@@ -5467,11 +5467,11 @@ function Aa(e, n) {
5467
5467
  children: [{ type: "text", value: String(n) }]
5468
5468
  }), t;
5469
5469
  }
5470
- function za(e, n) {
5470
+ function La(e, n) {
5471
5471
  return "Back to reference " + (e + 1) + (n > 1 ? "-" + n : "");
5472
5472
  }
5473
- function La(e) {
5474
- const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = e.options.footnoteBackContent || Aa, r = e.options.footnoteBackLabel || za, i = e.options.footnoteLabel || "Footnotes", l = e.options.footnoteLabelTagName || "h2", o = e.options.footnoteLabelProperties || {
5473
+ function _a(e) {
5474
+ const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = e.options.footnoteBackContent || za, r = e.options.footnoteBackLabel || La, i = e.options.footnoteLabel || "Footnotes", l = e.options.footnoteLabelTagName || "h2", o = e.options.footnoteLabelProperties || {
5475
5475
  className: ["sr-only"]
5476
5476
  }, a = [];
5477
5477
  let s = -1;
@@ -5541,11 +5541,11 @@ function La(e) {
5541
5541
  ]
5542
5542
  };
5543
5543
  }
5544
- const En = {}.hasOwnProperty, _a = {};
5545
- function va(e, n) {
5546
- const t = n || _a, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Pa, ...t.handlers }, a = {
5544
+ const En = {}.hasOwnProperty, va = {};
5545
+ function Na(e, n) {
5546
+ const t = n || va, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Aa, ...t.handlers }, a = {
5547
5547
  all: u,
5548
- applyData: Ra,
5548
+ applyData: Da,
5549
5549
  definitionById: r,
5550
5550
  footnoteById: i,
5551
5551
  footnoteCounts: l,
@@ -5553,8 +5553,8 @@ function va(e, n) {
5553
5553
  handlers: o,
5554
5554
  one: s,
5555
5555
  options: t,
5556
- patch: Na,
5557
- wrap: Fa
5556
+ patch: Ra,
5557
+ wrap: Oa
5558
5558
  };
5559
5559
  return nn(e, function(c) {
5560
5560
  if (c.type === "definition" || c.type === "footnoteDefinition") {
@@ -5573,7 +5573,7 @@ function va(e, n) {
5573
5573
  }
5574
5574
  return be(c);
5575
5575
  }
5576
- return (a.options.unknownHandler || Da)(a, c, p);
5576
+ return (a.options.unknownHandler || Fa)(a, c, p);
5577
5577
  }
5578
5578
  function u(c) {
5579
5579
  const p = [];
@@ -5594,10 +5594,10 @@ function va(e, n) {
5594
5594
  return p;
5595
5595
  }
5596
5596
  }
5597
- function Na(e, n) {
5598
- e.position && (n.position = Pi(e));
5599
- }
5600
5597
  function Ra(e, n) {
5598
+ e.position && (n.position = Ai(e));
5599
+ }
5600
+ function Da(e, n) {
5601
5601
  let t = n;
5602
5602
  if (e && e.data) {
5603
5603
  const r = e.data.hName, i = e.data.hChildren, l = e.data.hProperties;
@@ -5612,7 +5612,7 @@ function Ra(e, n) {
5612
5612
  }
5613
5613
  return t;
5614
5614
  }
5615
- function Da(e, n) {
5615
+ function Fa(e, n) {
5616
5616
  const t = n.data || {}, r = "value" in n && !(En.call(t, "hProperties") || En.call(t, "hChildren")) ? { type: "text", value: n.value } : {
5617
5617
  type: "element",
5618
5618
  tagName: "div",
@@ -5621,7 +5621,7 @@ function Da(e, n) {
5621
5621
  };
5622
5622
  return e.patch(n, r), e.applyData(n, r);
5623
5623
  }
5624
- function Fa(e, n) {
5624
+ function Oa(e, n) {
5625
5625
  const t = [];
5626
5626
  let r = -1;
5627
5627
  for (n && t.push({ type: "text", value: `
@@ -5638,11 +5638,11 @@ function Ct(e) {
5638
5638
  return e.slice(n);
5639
5639
  }
5640
5640
  function Et(e, n) {
5641
- const t = va(e, n), r = t.one(e, void 0), i = La(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5641
+ const t = Na(e, n), r = t.one(e, void 0), i = _a(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5642
5642
  return i && l.children.push({ type: "text", value: `
5643
5643
  ` }, i), l;
5644
5644
  }
5645
- function Oa(e, n) {
5645
+ function Ma(e, n) {
5646
5646
  return e && "run" in e ? async function(t, r) {
5647
5647
  const i = (
5648
5648
  /** @type {HastRoot} */
@@ -5661,7 +5661,7 @@ function It(e) {
5661
5661
  throw e;
5662
5662
  }
5663
5663
  var sn, Tt;
5664
- function Ma() {
5664
+ function Ba() {
5665
5665
  if (Tt) return sn;
5666
5666
  Tt = 1;
5667
5667
  var e = Object.prototype.hasOwnProperty, n = Object.prototype.toString, t = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = function(u) {
@@ -5700,15 +5700,15 @@ function Ma() {
5700
5700
  return b;
5701
5701
  }, sn;
5702
5702
  }
5703
- var Ba = /* @__PURE__ */ Ma();
5704
- const cn = /* @__PURE__ */ vt(Ba);
5703
+ var ja = /* @__PURE__ */ Ba();
5704
+ const cn = /* @__PURE__ */ Nt(ja);
5705
5705
  function In(e) {
5706
5706
  if (typeof e != "object" || e === null)
5707
5707
  return !1;
5708
5708
  const n = Object.getPrototypeOf(e);
5709
5709
  return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
5710
5710
  }
5711
- function ja() {
5711
+ function Ha() {
5712
5712
  const e = [], n = { run: t, use: r };
5713
5713
  return n;
5714
5714
  function t(...i) {
@@ -5726,7 +5726,7 @@ function ja() {
5726
5726
  }
5727
5727
  for (; ++p < i.length; )
5728
5728
  (u[p] === null || u[p] === void 0) && (u[p] = i[p]);
5729
- i = u, c ? Ha(c, a)(...u) : o(null, ...u);
5729
+ i = u, c ? Ua(c, a)(...u) : o(null, ...u);
5730
5730
  }
5731
5731
  }
5732
5732
  function r(i) {
@@ -5737,7 +5737,7 @@ function ja() {
5737
5737
  return e.push(i), n;
5738
5738
  }
5739
5739
  }
5740
- function Ha(e, n) {
5740
+ function Ua(e, n) {
5741
5741
  let t;
5742
5742
  return r;
5743
5743
  function r(...o) {
@@ -5764,7 +5764,7 @@ function Ha(e, n) {
5764
5764
  i(null, o);
5765
5765
  }
5766
5766
  }
5767
- const ae = { basename: Va, dirname: Ua, extname: qa, join: $a, sep: "/" };
5767
+ const ue = { basename: Va, dirname: qa, extname: $a, join: Wa, sep: "/" };
5768
5768
  function Va(e, n) {
5769
5769
  if (n !== void 0 && typeof n != "string")
5770
5770
  throw new TypeError('"ext" argument must be a string');
@@ -5793,7 +5793,7 @@ function Va(e, n) {
5793
5793
  o < 0 && (l = !0, o = i + 1), a > -1 && (e.codePointAt(i) === n.codePointAt(a--) ? a < 0 && (r = i) : (a = -1, r = o));
5794
5794
  return t === r ? r = o : r < 0 && (r = e.length), e.slice(t, r);
5795
5795
  }
5796
- function Ua(e) {
5796
+ function qa(e) {
5797
5797
  if ($e(e), e.length === 0)
5798
5798
  return ".";
5799
5799
  let n = -1, t = e.length, r;
@@ -5806,7 +5806,7 @@ function Ua(e) {
5806
5806
  } else r || (r = !0);
5807
5807
  return n < 0 ? e.codePointAt(0) === 47 ? "/" : "." : n === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, n);
5808
5808
  }
5809
- function qa(e) {
5809
+ function $a(e) {
5810
5810
  $e(e);
5811
5811
  let n = e.length, t = -1, r = 0, i = -1, l = 0, o;
5812
5812
  for (; n--; ) {
@@ -5824,19 +5824,19 @@ function qa(e) {
5824
5824
  l === 0 || // The (right-most) trimmed path component is exactly `..`.
5825
5825
  l === 1 && i === t - 1 && i === r + 1 ? "" : e.slice(i, t);
5826
5826
  }
5827
- function $a(...e) {
5827
+ function Wa(...e) {
5828
5828
  let n = -1, t;
5829
5829
  for (; ++n < e.length; )
5830
5830
  $e(e[n]), e[n] && (t = t === void 0 ? e[n] : t + "/" + e[n]);
5831
- return t === void 0 ? "." : Wa(t);
5831
+ return t === void 0 ? "." : Ga(t);
5832
5832
  }
5833
- function Wa(e) {
5833
+ function Ga(e) {
5834
5834
  $e(e);
5835
5835
  const n = e.codePointAt(0) === 47;
5836
- let t = Ga(e, !n);
5836
+ let t = Xa(e, !n);
5837
5837
  return t.length === 0 && !n && (t = "."), t.length > 0 && e.codePointAt(e.length - 1) === 47 && (t += "/"), n ? "/" + t : t;
5838
5838
  }
5839
- function Ga(e, n) {
5839
+ function Xa(e, n) {
5840
5840
  let t = "", r = 0, i = -1, l = 0, o = -1, a, s;
5841
5841
  for (; ++o <= e.length; ) {
5842
5842
  if (o < e.length)
@@ -5873,15 +5873,15 @@ function $e(e) {
5873
5873
  "Path must be a string. Received " + JSON.stringify(e)
5874
5874
  );
5875
5875
  }
5876
- const Xa = { cwd: Ya };
5877
- function Ya() {
5876
+ const Ya = { cwd: Ka };
5877
+ function Ka() {
5878
5878
  return "/";
5879
5879
  }
5880
5880
  function Tn(e) {
5881
5881
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
5882
5882
  e.auth === void 0);
5883
5883
  }
5884
- function Ka(e) {
5884
+ function Qa(e) {
5885
5885
  if (typeof e == "string")
5886
5886
  e = new URL(e);
5887
5887
  else if (!Tn(e)) {
@@ -5894,9 +5894,9 @@ function Ka(e) {
5894
5894
  const n = new TypeError("The URL must be of scheme file");
5895
5895
  throw n.code = "ERR_INVALID_URL_SCHEME", n;
5896
5896
  }
5897
- return Qa(e);
5897
+ return Ja(e);
5898
5898
  }
5899
- function Qa(e) {
5899
+ function Ja(e) {
5900
5900
  if (e.hostname !== "") {
5901
5901
  const r = new TypeError(
5902
5902
  'File URL host must be "localhost" or empty on darwin'
@@ -5928,7 +5928,7 @@ const pn = (
5928
5928
  "dirname"
5929
5929
  ]
5930
5930
  );
5931
- class Ja {
5931
+ class Za {
5932
5932
  /**
5933
5933
  * Create a new virtual file.
5934
5934
  *
@@ -5953,7 +5953,7 @@ class Ja {
5953
5953
  */
5954
5954
  constructor(n) {
5955
5955
  let t;
5956
- n ? Tn(n) ? t = { path: n } : typeof n == "string" || Za(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : Xa.cwd(), this.data = {}, this.history = [], this.messages = [];
5956
+ n ? Tn(n) ? t = { path: n } : typeof n == "string" || eu(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : Ya.cwd(), this.data = {}, this.history = [], this.messages = [];
5957
5957
  let r = -1;
5958
5958
  for (; ++r < pn.length; ) {
5959
5959
  const l = pn[r];
@@ -5970,7 +5970,7 @@ class Ja {
5970
5970
  * Basename.
5971
5971
  */
5972
5972
  get basename() {
5973
- return typeof this.path == "string" ? ae.basename(this.path) : void 0;
5973
+ return typeof this.path == "string" ? ue.basename(this.path) : void 0;
5974
5974
  }
5975
5975
  /**
5976
5976
  * Set basename (including extname) (`'index.min.js'`).
@@ -5985,7 +5985,7 @@ class Ja {
5985
5985
  * Nothing.
5986
5986
  */
5987
5987
  set basename(n) {
5988
- hn(n, "basename"), fn(n, "basename"), this.path = ae.join(this.dirname || "", n);
5988
+ hn(n, "basename"), fn(n, "basename"), this.path = ue.join(this.dirname || "", n);
5989
5989
  }
5990
5990
  /**
5991
5991
  * Get the parent path (example: `'~'`).
@@ -5994,7 +5994,7 @@ class Ja {
5994
5994
  * Dirname.
5995
5995
  */
5996
5996
  get dirname() {
5997
- return typeof this.path == "string" ? ae.dirname(this.path) : void 0;
5997
+ return typeof this.path == "string" ? ue.dirname(this.path) : void 0;
5998
5998
  }
5999
5999
  /**
6000
6000
  * Set the parent path (example: `'~'`).
@@ -6007,7 +6007,7 @@ class Ja {
6007
6007
  * Nothing.
6008
6008
  */
6009
6009
  set dirname(n) {
6010
- Pt(this.basename, "dirname"), this.path = ae.join(n || "", this.basename);
6010
+ Pt(this.basename, "dirname"), this.path = ue.join(n || "", this.basename);
6011
6011
  }
6012
6012
  /**
6013
6013
  * Get the extname (including dot) (example: `'.js'`).
@@ -6016,7 +6016,7 @@ class Ja {
6016
6016
  * Extname.
6017
6017
  */
6018
6018
  get extname() {
6019
- return typeof this.path == "string" ? ae.extname(this.path) : void 0;
6019
+ return typeof this.path == "string" ? ue.extname(this.path) : void 0;
6020
6020
  }
6021
6021
  /**
6022
6022
  * Set the extname (including dot) (example: `'.js'`).
@@ -6037,7 +6037,7 @@ class Ja {
6037
6037
  if (n.includes(".", 1))
6038
6038
  throw new Error("`extname` cannot contain multiple dots");
6039
6039
  }
6040
- this.path = ae.join(this.dirname, this.stem + (n || ""));
6040
+ this.path = ue.join(this.dirname, this.stem + (n || ""));
6041
6041
  }
6042
6042
  /**
6043
6043
  * Get the full path (example: `'~/index.min.js'`).
@@ -6061,7 +6061,7 @@ class Ja {
6061
6061
  * Nothing.
6062
6062
  */
6063
6063
  set path(n) {
6064
- Tn(n) && (n = Ka(n)), hn(n, "path"), this.path !== n && this.history.push(n);
6064
+ Tn(n) && (n = Qa(n)), hn(n, "path"), this.path !== n && this.history.push(n);
6065
6065
  }
6066
6066
  /**
6067
6067
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -6070,7 +6070,7 @@ class Ja {
6070
6070
  * Stem.
6071
6071
  */
6072
6072
  get stem() {
6073
- return typeof this.path == "string" ? ae.basename(this.path, this.extname) : void 0;
6073
+ return typeof this.path == "string" ? ue.basename(this.path, this.extname) : void 0;
6074
6074
  }
6075
6075
  /**
6076
6076
  * Set the stem (basename w/o extname) (example: `'index.min'`).
@@ -6085,7 +6085,7 @@ class Ja {
6085
6085
  * Nothing.
6086
6086
  */
6087
6087
  set stem(n) {
6088
- hn(n, "stem"), fn(n, "stem"), this.path = ae.join(this.dirname || "", n + (this.extname || ""));
6088
+ hn(n, "stem"), fn(n, "stem"), this.path = ue.join(this.dirname || "", n + (this.extname || ""));
6089
6089
  }
6090
6090
  // Normal prototypal methods.
6091
6091
  /**
@@ -6299,9 +6299,9 @@ class Ja {
6299
6299
  }
6300
6300
  }
6301
6301
  function fn(e, n) {
6302
- if (e && e.includes(ae.sep))
6302
+ if (e && e.includes(ue.sep))
6303
6303
  throw new Error(
6304
- "`" + n + "` cannot be a path: did not expect `" + ae.sep + "`"
6304
+ "`" + n + "` cannot be a path: did not expect `" + ue.sep + "`"
6305
6305
  );
6306
6306
  }
6307
6307
  function hn(e, n) {
@@ -6312,10 +6312,10 @@ function Pt(e, n) {
6312
6312
  if (!e)
6313
6313
  throw new Error("Setting `" + n + "` requires `path` to be set too");
6314
6314
  }
6315
- function Za(e) {
6315
+ function eu(e) {
6316
6316
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6317
6317
  }
6318
- const eu = (
6318
+ const nu = (
6319
6319
  /**
6320
6320
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
6321
6321
  */
@@ -6336,13 +6336,13 @@ const eu = (
6336
6336
  };
6337
6337
  return Object.setPrototypeOf(l, r), l;
6338
6338
  }
6339
- ), nu = {}.hasOwnProperty;
6340
- class Vn extends eu {
6339
+ ), tu = {}.hasOwnProperty;
6340
+ class Un extends nu {
6341
6341
  /**
6342
6342
  * Create a processor.
6343
6343
  */
6344
6344
  constructor() {
6345
- 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 = ja();
6345
+ 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 = Ha();
6346
6346
  }
6347
6347
  /**
6348
6348
  * Copy a processor.
@@ -6358,7 +6358,7 @@ class Vn extends eu {
6358
6358
  copy() {
6359
6359
  const n = (
6360
6360
  /** @type {Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>} */
6361
- new Vn()
6361
+ new Un()
6362
6362
  );
6363
6363
  let t = -1;
6364
6364
  for (; ++t < this.attachers.length; ) {
@@ -6427,7 +6427,7 @@ class Vn extends eu {
6427
6427
  * the entire dataset when getting without key.
6428
6428
  */
6429
6429
  data(n, t) {
6430
- return typeof n == "string" ? arguments.length === 2 ? (gn("data", this.frozen), this.namespace[n] = t, this) : nu.call(this.namespace, n) && this.namespace[n] || void 0 : n ? (gn("data", this.frozen), this.namespace = n, this) : this.namespace;
6430
+ return typeof n == "string" ? arguments.length === 2 ? (gn("data", this.frozen), this.namespace[n] = t, this) : tu.call(this.namespace, n) && this.namespace[n] || void 0 : n ? (gn("data", this.frozen), this.namespace = n, this) : this.namespace;
6431
6431
  }
6432
6432
  /**
6433
6433
  * Freeze a processor.
@@ -6542,7 +6542,7 @@ class Vn extends eu {
6542
6542
  /** @type {unknown} */
6543
6543
  p
6544
6544
  ), w = r.stringify(f, d);
6545
- iu(w) ? d.value = w : d.result = w, u(
6545
+ lu(w) ? d.value = w : d.result = w, u(
6546
6546
  c,
6547
6547
  /** @type {VFileWithOutput<CompileResult>} */
6548
6548
  d
@@ -6818,7 +6818,7 @@ class Vn extends eu {
6818
6818
  }
6819
6819
  }
6820
6820
  }
6821
- const tu = new Vn().freeze();
6821
+ const ru = new Un().freeze();
6822
6822
  function mn(e, n) {
6823
6823
  if (typeof n != "function")
6824
6824
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -6844,18 +6844,48 @@ function zt(e, n, t) {
6844
6844
  );
6845
6845
  }
6846
6846
  function Ye(e) {
6847
- return ru(e) ? e : new Ja(e);
6848
- }
6849
- function ru(e) {
6850
- return !!(e && typeof e == "object" && "message" in e && "messages" in e);
6847
+ return iu(e) ? e : new Za(e);
6851
6848
  }
6852
6849
  function iu(e) {
6853
- return typeof e == "string" || lu(e);
6850
+ return !!(e && typeof e == "object" && "message" in e && "messages" in e);
6854
6851
  }
6855
6852
  function lu(e) {
6853
+ return typeof e == "string" || ou(e);
6854
+ }
6855
+ function ou(e) {
6856
6856
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6857
6857
  }
6858
- class ou {
6858
+ const au = ({
6859
+ href: e,
6860
+ target: n,
6861
+ rel: t,
6862
+ children: r,
6863
+ ...i
6864
+ }) => {
6865
+ const l = vt(
6866
+ async (o) => {
6867
+ if (Pr() && e && uu(e)) {
6868
+ o.preventDefault(), o.stopPropagation();
6869
+ try {
6870
+ const { openUrl: a } = await import("./index.CB_Hw3XI.js");
6871
+ await a(e);
6872
+ } catch (a) {
6873
+ console.error("Failed to open external URL in Tauri:", a), window.open(e, n || "_blank");
6874
+ }
6875
+ }
6876
+ },
6877
+ [e, n]
6878
+ );
6879
+ return /* @__PURE__ */ ae("a", { href: e, target: n, rel: t, onClick: l, ...i, children: r });
6880
+ };
6881
+ function uu(e) {
6882
+ try {
6883
+ return new URL(e, window.location.href).origin !== window.location.origin;
6884
+ } catch {
6885
+ return !0;
6886
+ }
6887
+ }
6888
+ class su {
6859
6889
  remarkGfm = null;
6860
6890
  rehypeKatex = null;
6861
6891
  remarkMath = null;
@@ -6867,7 +6897,7 @@ class ou {
6867
6897
  if (!this.remarkGfm) {
6868
6898
  const { default: n } = await import(
6869
6899
  /* webpackChunkName: "LazyRemarkGfm" */
6870
- "./index.GbljaD0g.js"
6900
+ "./index.k6a-5Kf-.js"
6871
6901
  );
6872
6902
  this.remarkGfm = n;
6873
6903
  }
@@ -6875,10 +6905,10 @@ class ou {
6875
6905
  }
6876
6906
  async loadKatex() {
6877
6907
  if (!this.rehypeKatex) {
6878
- pu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6908
+ mu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6879
6909
  const { default: n } = await import(
6880
6910
  /* webpackChunkName: "LazyRehypeKatex" */
6881
- "./index.BiY_H0Dr.js"
6911
+ "./index.BTRUA37I.js"
6882
6912
  );
6883
6913
  this.rehypeKatex = n;
6884
6914
  }
@@ -6888,7 +6918,7 @@ class ou {
6888
6918
  if (!this.remarkMath) {
6889
6919
  const { default: n } = await import(
6890
6920
  /* webpackChunkName: "LazyRemarkMath" */
6891
- "./index.DUfMlANA.js"
6921
+ "./index.B54pxmzV.js"
6892
6922
  );
6893
6923
  this.remarkMath = n;
6894
6924
  }
@@ -6898,61 +6928,61 @@ class ou {
6898
6928
  if (!this.rehypeHighlight) {
6899
6929
  const { default: n } = await import(
6900
6930
  /* webpackChunkName: "LazyRehypeHighlight" */
6901
- "./index.BIj9XjYk.js"
6931
+ "./index.Dx1z0VBQ.js"
6902
6932
  );
6903
6933
  this.rehypeHighlight = n;
6904
6934
  }
6905
6935
  return this.rehypeHighlight;
6906
6936
  }
6907
6937
  }
6908
- const Ke = new ou(), au = ({
6938
+ const Ke = new su(), cu = ({
6909
6939
  children: e,
6910
6940
  raw: n,
6911
6941
  ...t
6912
6942
  }) => /* @__PURE__ */ Pn("pre", { className: "relative pt-7 sm:pt-2 ps-0 sm:ps-3", ...t, children: [
6913
6943
  e,
6914
- /* @__PURE__ */ se(
6915
- Rt,
6944
+ /* @__PURE__ */ ae(
6945
+ Dt,
6916
6946
  {
6917
6947
  mode: "light",
6918
6948
  focusMode: "light",
6919
- copyToClipboard: () => Tr(n) || "",
6949
+ copyToClipboard: () => Ar(n) || "",
6920
6950
  labelRight: "Copy",
6921
6951
  radius: "small",
6922
6952
  className: "mb-2 px-1 absolute top-2 right-2 font-sans font-normal text-xs"
6923
6953
  }
6924
6954
  )
6925
- ] }), uu = (e) => e.includes("```"), su = (e) => e.includes("$$"), cu = (e) => (
6955
+ ] }), pu = (e) => e.includes("```"), fu = (e) => e.includes("$$"), hu = (e) => (
6926
6956
  // urls
6927
6957
  e.includes("http://") || e.includes("https://") || // table
6928
6958
  e.includes("|") || // strikethrough
6929
6959
  e.includes("~") || e.includes("~~") || // task lists
6930
6960
  e.includes("- [ ]") || e.includes("- [x]")
6931
- ), pu = (e) => {
6961
+ ), mu = (e) => {
6932
6962
  const n = document.createElement("link");
6933
6963
  n.href = e, n.type = "text/css", n.rel = "stylesheet", n.id = "dynamic-katex-css", document.head.appendChild(n);
6934
- }, fu = () => (e) => {
6964
+ }, du = () => (e) => {
6935
6965
  nn(e, (n) => {
6936
6966
  if (n?.type === "element" && n?.tagName === "pre") {
6937
6967
  const [t] = n.children;
6938
6968
  if (t.tagName !== "code")
6939
6969
  return;
6940
- n.raw = Pr(t.children?.[0].value);
6970
+ n.raw = zr(t.children?.[0].value);
6941
6971
  }
6942
6972
  });
6943
- }, hu = () => (e) => {
6973
+ }, gu = () => (e) => {
6944
6974
  nn(e, "element", (n) => {
6945
6975
  n?.type === "element" && n?.tagName === "pre" && (n.properties.raw = n.raw);
6946
6976
  });
6947
- }, bu = ({
6977
+ }, Cu = ({
6948
6978
  onError: e = () => {
6949
6979
  }
6950
6980
  } = {}) => {
6951
6981
  const n = Re(e), t = Re(null), r = Re(null), i = Re(null), l = Re({
6952
6982
  rehypePlugins: [
6953
- fu,
6983
+ du,
6954
6984
  [
6955
- ii,
6985
+ li,
6956
6986
  {
6957
6987
  target: "_blank",
6958
6988
  rel: ["noopener", "noreferrer"]
@@ -6964,30 +6994,31 @@ const Ke = new ou(), au = ({
6964
6994
  _t(() => {
6965
6995
  n.current = e;
6966
6996
  }, [e]);
6967
- const s = zr((u) => {
6997
+ const s = vt((u) => {
6968
6998
  (async () => {
6969
6999
  const { rehypePlugins: c, remarkPlugins: p } = l.current;
6970
- if (!t.current && uu(u)) {
7000
+ if (!t.current && pu(u)) {
6971
7001
  t.current = !0;
6972
7002
  const d = await Ke.loadHighlight();
6973
7003
  l.current.rehypePlugins = [...c, d];
6974
7004
  }
6975
- if (!r.current && cu(u)) {
7005
+ if (!r.current && hu(u)) {
6976
7006
  r.current = !0;
6977
7007
  const d = await Ke.loadGfm();
6978
7008
  l.current.remarkPlugins = [...p, d];
6979
7009
  }
6980
- if (!i.current && su(u)) {
7010
+ if (!i.current && fu(u)) {
6981
7011
  i.current = !0;
6982
7012
  const d = await Ke.loadKatex(), f = await Ke.loadMath();
6983
7013
  l.current.remarkPlugins = [...p, f], l.current.rehypePlugins = [...c, d];
6984
7014
  }
6985
- l.current.rehypePlugins.push(hu), tu().use(na).use(l.current.remarkPlugins).use(Oa).use(l.current.rehypePlugins).use(Xi, {
7015
+ l.current.rehypePlugins.push(gu), ru().use(ta).use(l.current.remarkPlugins).use(Ma).use(l.current.rehypePlugins).use(Yi, {
6986
7016
  Fragment: rn.Fragment,
6987
7017
  jsx: rn.jsx,
6988
7018
  jsxs: rn.jsxs,
6989
7019
  components: {
6990
- pre: au
7020
+ pre: cu,
7021
+ a: au
6991
7022
  }
6992
7023
  }).process(u).then((d) => a(d.result)).catch(n.current);
6993
7024
  })();
@@ -6996,32 +7027,32 @@ const Ke = new ou(), au = ({
6996
7027
  };
6997
7028
  export {
6998
7029
  Qn as EXIT,
6999
- Jr as SKIP,
7000
- ue as asciiAlpha,
7030
+ Zr as SKIP,
7031
+ se as asciiAlpha,
7001
7032
  ne as asciiAlphanumeric,
7002
7033
  wn as asciiControl,
7003
7034
  tn as blankLine,
7004
7035
  ft as classifyCharacter,
7005
- Ji as combineExtensions,
7006
- Bt as convert,
7007
- Mt as convertElement,
7008
- U as factorySpace,
7009
- yi as find,
7010
- bi as html,
7036
+ Zi as combineExtensions,
7037
+ jt as convert,
7038
+ Bt as convertElement,
7039
+ V as factorySpace,
7040
+ xi as find,
7041
+ wi as html,
7011
7042
  L as markdownLineEnding,
7012
7043
  Q as markdownLineEndingOrSpace,
7013
7044
  F as markdownSpace,
7014
7045
  yn as normalize,
7015
7046
  Ae as normalizeIdentifier,
7016
- qr as parse,
7017
- ku as parse$1,
7047
+ $r as parse,
7048
+ Su as parse$1,
7018
7049
  jn as resolveAll,
7019
7050
  ce as splice,
7020
7051
  Rn as svg,
7021
- Ki as toString,
7022
- il as unicodePunctuation,
7023
- ll as unicodeWhitespace,
7024
- bu as useMarkdown,
7052
+ Qi as toString,
7053
+ ll as unicodePunctuation,
7054
+ ol as unicodeWhitespace,
7055
+ Cu as useMarkdown,
7025
7056
  nn as visit,
7026
- Zr as visitParents
7057
+ ei as visitParents
7027
7058
  };