@versini/sassysaint 8.4.1 → 8.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  import * as en from "react/jsx-runtime";
2
- import { jsx as te, jsxs as Cn, Fragment as Er } from "react/jsx-runtime";
3
- import { getDefaultExportFromCjs as zt, ChatContext as Ir, E as Tr, Re as $n } from "./App.DqV_x-dE.js";
4
- import Lt from "clsx";
5
- import Ar, { useState as Nt, useEffect as En, useRef as ve, useCallback as Pr, useContext as zr } from "react";
6
- import { re as Lr, unObfuscate as Nr, obfuscate as _r, LOCAL_STORAGE_PREFIX as vr, LOCAL_STORAGE_CHAT_DETAILS as Or, convertCamelCaseToReadable as Rr, ROLE_INTERNAL as Fr } from "./index.fzdmB06B.js";
7
- const _t = ({
2
+ import { jsx as te, jsxs as Cn, Fragment as Ir } from "react/jsx-runtime";
3
+ import { getDefaultExportFromCjs as Nt, ChatContext as Tr, E as Ar, Re as Wn } from "./App.CdAPGzLJ.js";
4
+ import En from "clsx";
5
+ import Pr, { useState as _t, useEffect as In, useRef as ve, useCallback as zr, useContext as Lr } from "react";
6
+ import { re as Nr, unObfuscate as _r, obfuscate as vr, LOCAL_STORAGE_PREFIX as Or, LOCAL_STORAGE_CHAT_DETAILS as Rr, convertCamelCaseToReadable as Fr, ROLE_INTERNAL as Dr } from "./index.xDNQI96A.js";
7
+ const vt = ({
8
8
  children: e,
9
9
  fill: n,
10
10
  viewBox: t,
@@ -15,8 +15,8 @@ const _t = ({
15
15
  semantic: u = !1,
16
16
  ...s
17
17
  }) => {
18
- const a = Lt(l, r);
19
- return /* @__PURE__ */ Cn(Er, { children: [
18
+ const a = En(l, r);
19
+ return /* @__PURE__ */ Cn(Ir, { children: [
20
20
  /* @__PURE__ */ te(
21
21
  "svg",
22
22
  {
@@ -47,14 +47,14 @@ try {
47
47
  });
48
48
  } catch {
49
49
  }
50
- const Dr = ({
50
+ const Mr = ({
51
51
  className: e,
52
52
  viewBox: n,
53
53
  title: t,
54
54
  monotone: r,
55
55
  ...i
56
56
  }) => /* @__PURE__ */ Cn(
57
- _t,
57
+ vt,
58
58
  {
59
59
  defaultViewBox: "0 0 448 512",
60
60
  size: "size-5",
@@ -73,14 +73,14 @@ const Dr = ({
73
73
  /* @__PURE__ */ te("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
- ), Mr = ({
76
+ ), Br = ({
77
77
  className: e,
78
78
  viewBox: n,
79
79
  title: t,
80
80
  monotone: r,
81
81
  ...i
82
82
  }) => /* @__PURE__ */ te(
83
- _t,
83
+ vt,
84
84
  {
85
85
  defaultViewBox: "0 0 512 512",
86
86
  size: "size-5",
@@ -104,11 +104,11 @@ try {
104
104
  });
105
105
  } catch {
106
106
  }
107
- const vt = Ar.forwardRef(({ copyToClipboard: e, ...n }, t) => {
108
- const [r, i] = Nt(!1), l = () => {
107
+ const Ot = Pr.forwardRef(({ copyToClipboard: e, ...n }, t) => {
108
+ const [r, i] = _t(!1), l = () => {
109
109
  typeof e == "string" && (navigator.clipboard.writeText(e), i(!0)), typeof e == "function" && (navigator.clipboard.writeText(e()), i(!0));
110
110
  };
111
- return En(() => {
111
+ return In(() => {
112
112
  let o;
113
113
  return r && (o = window.setTimeout(() => {
114
114
  i(!1);
@@ -116,7 +116,7 @@ const vt = Ar.forwardRef(({ copyToClipboard: e, ...n }, t) => {
116
116
  clearTimeout(o);
117
117
  };
118
118
  }, [r]), /* @__PURE__ */ te(
119
- Lr,
119
+ Nr,
120
120
  {
121
121
  ...n,
122
122
  size: "small",
@@ -124,19 +124,19 @@ const vt = 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__ */ te(Dr, { size: "size-3" }) : /* @__PURE__ */ te(Mr, { size: "size-3" })
127
+ children: r ? /* @__PURE__ */ te(Mr, { size: "size-3" }) : /* @__PURE__ */ te(Br, { size: "size-3" })
128
128
  }
129
129
  );
130
130
  });
131
- vt.displayName = "ButtonCopy";
132
- const Ot = -1, Qe = 0, Xe = 1, Ge = 2, In = 3, Tn = 4, An = 5, Pn = 6, Rt = 7, Ft = 8, Wn = typeof self == "object" ? self : globalThis, Br = (e, n) => {
131
+ Ot.displayName = "ButtonCopy";
132
+ const Rt = -1, Qe = 0, Xe = 1, Ge = 2, Tn = 3, An = 4, Pn = 5, zn = 6, Ft = 7, Dt = 8, Yn = typeof self == "object" ? self : globalThis, jr = (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 Qe:
139
- case Ot:
139
+ case Rt:
140
140
  return t(o, i);
141
141
  case Xe: {
142
142
  const u = t([], i);
@@ -150,57 +150,57 @@ const Ot = -1, Qe = 0, Xe = 1, Ge = 2, In = 3, Tn = 4, An = 5, Pn = 6, Rt = 7, F
150
150
  u[r(s)] = r(a);
151
151
  return u;
152
152
  }
153
- case In:
153
+ case Tn:
154
154
  return t(new Date(o), i);
155
- case Tn: {
155
+ case An: {
156
156
  const { source: u, flags: s } = o;
157
157
  return t(new RegExp(u, s), i);
158
158
  }
159
- case An: {
159
+ case Pn: {
160
160
  const u = t(/* @__PURE__ */ new Map(), i);
161
161
  for (const [s, a] of o)
162
162
  u.set(r(s), r(a));
163
163
  return u;
164
164
  }
165
- case Pn: {
165
+ case zn: {
166
166
  const u = t(/* @__PURE__ */ new Set(), i);
167
167
  for (const s of o)
168
168
  u.add(r(s));
169
169
  return u;
170
170
  }
171
- case Rt: {
171
+ case Ft: {
172
172
  const { name: u, message: s } = o;
173
- return t(new Wn[u](s), i);
173
+ return t(new Yn[u](s), i);
174
174
  }
175
- case Ft:
175
+ case Dt:
176
176
  return t(BigInt(o), i);
177
177
  case "BigInt":
178
178
  return t(Object(BigInt(o)), i);
179
179
  }
180
- return t(new Wn[l](o), i);
180
+ return t(new Yn[l](o), i);
181
181
  };
182
182
  return r;
183
- }, Yn = (e) => Br(/* @__PURE__ */ new Map(), e)(0), Ie = "", { toString: jr } = {}, { keys: Vr } = Object, Oe = (e) => {
183
+ }, Xn = (e) => jr(/* @__PURE__ */ new Map(), e)(0), Ie = "", { toString: Vr } = {}, { keys: Hr } = Object, Oe = (e) => {
184
184
  const n = typeof e;
185
185
  if (n !== "object" || !e)
186
186
  return [Qe, n];
187
- const t = jr.call(e).slice(8, -1);
187
+ const t = Vr.call(e).slice(8, -1);
188
188
  switch (t) {
189
189
  case "Array":
190
190
  return [Xe, Ie];
191
191
  case "Object":
192
192
  return [Ge, Ie];
193
193
  case "Date":
194
- return [In, Ie];
195
- case "RegExp":
196
194
  return [Tn, Ie];
197
- case "Map":
195
+ case "RegExp":
198
196
  return [An, Ie];
199
- case "Set":
197
+ case "Map":
200
198
  return [Pn, Ie];
199
+ case "Set":
200
+ return [zn, Ie];
201
201
  }
202
- return t.includes("Array") ? [Xe, t] : t.includes("Error") ? [Rt, t] : [Ge, t];
203
- }, qe = ([e, n]) => e === Qe && (n === "function" || n === "symbol"), Hr = (e, n, t, r) => {
202
+ return t.includes("Array") ? [Xe, t] : t.includes("Error") ? [Ft, t] : [Ge, t];
203
+ }, qe = ([e, n]) => e === Qe && (n === "function" || n === "symbol"), Ur = (e, n, t, r) => {
204
204
  const i = (o, u) => {
205
205
  const s = r.push(o) - 1;
206
206
  return t.set(u, s), s;
@@ -213,7 +213,7 @@ const Ot = -1, Qe = 0, Xe = 1, Ge = 2, In = 3, Tn = 4, An = 5, Pn = 6, Rt = 7, F
213
213
  let c = o;
214
214
  switch (s) {
215
215
  case "bigint":
216
- u = Ft, c = o.toString();
216
+ u = Dt, c = o.toString();
217
217
  break;
218
218
  case "function":
219
219
  case "symbol":
@@ -222,7 +222,7 @@ const Ot = -1, Qe = 0, Xe = 1, Ge = 2, In = 3, Tn = 4, An = 5, Pn = 6, Rt = 7, F
222
222
  c = null;
223
223
  break;
224
224
  case "undefined":
225
- return i([Ot], o);
225
+ return i([Rt], o);
226
226
  }
227
227
  return i([u, c], o);
228
228
  }
@@ -247,23 +247,23 @@ const Ot = -1, Qe = 0, Xe = 1, Ge = 2, In = 3, Tn = 4, An = 5, Pn = 6, Rt = 7, F
247
247
  if (n && "toJSON" in o)
248
248
  return l(o.toJSON());
249
249
  const c = [], p = i([u, c], o);
250
- for (const d of Vr(o))
250
+ for (const d of Hr(o))
251
251
  (e || !qe(Oe(o[d]))) && c.push([l(d), l(o[d])]);
252
252
  return p;
253
253
  }
254
- case In:
254
+ case Tn:
255
255
  return i([u, o.toISOString()], o);
256
- case Tn: {
256
+ case An: {
257
257
  const { source: c, flags: p } = o;
258
258
  return i([u, { source: c, flags: p }], o);
259
259
  }
260
- case An: {
260
+ case Pn: {
261
261
  const c = [], p = i([u, c], o);
262
262
  for (const [d, f] of o)
263
263
  (e || !(qe(Oe(d)) || qe(Oe(f)))) && c.push([l(d), l(f)]);
264
264
  return p;
265
265
  }
266
- case Pn: {
266
+ case zn: {
267
267
  const c = [], p = i([u, c], o);
268
268
  for (const d of o)
269
269
  (e || !qe(Oe(d))) && c.push(l(d));
@@ -274,13 +274,13 @@ const Ot = -1, Qe = 0, Xe = 1, Ge = 2, In = 3, Tn = 4, An = 5, Pn = 6, Rt = 7, F
274
274
  return i([u, { name: s, message: a }], o);
275
275
  };
276
276
  return l;
277
- }, Xn = (e, { json: n, lossy: t } = {}) => {
277
+ }, Gn = (e, { json: n, lossy: t } = {}) => {
278
278
  const r = [];
279
- return Hr(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
279
+ return Ur(!(n || t), !!n, /* @__PURE__ */ new Map(), r)(e), r;
280
280
  }, be = typeof structuredClone == "function" ? (
281
281
  /* c8 ignore start */
282
- (e, n) => n && ("json" in n || "lossy" in n) ? Yn(Xn(e, n)) : structuredClone(e)
283
- ) : (e, n) => Yn(Xn(e, n)), Dt = (
282
+ (e, n) => n && ("json" in n || "lossy" in n) ? Xn(Gn(e, n)) : structuredClone(e)
283
+ ) : (e, n) => Xn(Gn(e, n)), Mt = (
284
284
  // Note: overloads in JSDoc can’t yet use different `@template`s.
285
285
  /**
286
286
  * @type {(
@@ -296,22 +296,22 @@ const Ot = -1, Qe = 0, Xe = 1, Ge = 2, In = 3, Tn = 4, An = 5, Pn = 6, Rt = 7, F
296
296
  */
297
297
  function(e) {
298
298
  if (e == null)
299
- return $r;
299
+ return Wr;
300
300
  if (typeof e == "string")
301
- return qr(e);
301
+ return $r(e);
302
302
  if (typeof e == "object")
303
- return Ur(e);
303
+ return qr(e);
304
304
  if (typeof e == "function")
305
- return zn(e);
305
+ return Ln(e);
306
306
  throw new Error("Expected function, string, or array as `test`");
307
307
  }
308
308
  );
309
- function Ur(e) {
309
+ function qr(e) {
310
310
  const n = [];
311
311
  let t = -1;
312
312
  for (; ++t < e.length; )
313
- n[t] = Dt(e[t]);
314
- return zn(r);
313
+ n[t] = Mt(e[t]);
314
+ return Ln(r);
315
315
  function r(...i) {
316
316
  let l = -1;
317
317
  for (; ++l < n.length; )
@@ -319,16 +319,16 @@ function Ur(e) {
319
319
  return !1;
320
320
  }
321
321
  }
322
- function qr(e) {
323
- return zn(n);
322
+ function $r(e) {
323
+ return Ln(n);
324
324
  function n(t) {
325
325
  return t.tagName === e;
326
326
  }
327
327
  }
328
- function zn(e) {
328
+ function Ln(e) {
329
329
  return n;
330
330
  function n(t, r, i) {
331
- return !!(Wr(t) && e.call(
331
+ return !!(Yr(t) && e.call(
332
332
  this,
333
333
  t,
334
334
  typeof r == "number" ? r : void 0,
@@ -336,26 +336,26 @@ function zn(e) {
336
336
  ));
337
337
  }
338
338
  }
339
- function $r(e) {
339
+ function Wr(e) {
340
340
  return !!(e && typeof e == "object" && "type" in e && e.type === "element" && "tagName" in e && typeof e.tagName == "string");
341
341
  }
342
- function Wr(e) {
342
+ function Yr(e) {
343
343
  return e !== null && typeof e == "object" && "type" in e && "tagName" in e;
344
344
  }
345
- const Yr = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Xr = /^[a-zA-Z]:\\/;
346
- function Gr(e) {
345
+ const Xr = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/, Gr = /^[a-zA-Z]:\\/;
346
+ function Qr(e) {
347
347
  if (typeof e != "string")
348
348
  throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);
349
- return Xr.test(e) ? !1 : Yr.test(e);
349
+ return Gr.test(e) ? !1 : Xr.test(e);
350
350
  }
351
- function Qr(e) {
351
+ function Kr(e) {
352
352
  const n = String(e || "").trim();
353
353
  return n ? n.split(/[ \t\n\r\f]+/g) : [];
354
354
  }
355
- function Kr(e) {
355
+ function Jr(e) {
356
356
  return e.join(" ").trim();
357
357
  }
358
- const Mt = (
358
+ const Bt = (
359
359
  // Note: overloads in JSDoc can’t yet use different `@template`s.
360
360
  /**
361
361
  * @type {(
@@ -372,21 +372,21 @@ const Mt = (
372
372
  */
373
373
  function(e) {
374
374
  if (e == null)
375
- return ni;
375
+ return ti;
376
376
  if (typeof e == "function")
377
377
  return Ke(e);
378
378
  if (typeof e == "object")
379
- return Array.isArray(e) ? Jr(e) : Zr(e);
379
+ return Array.isArray(e) ? Zr(e) : ei(e);
380
380
  if (typeof e == "string")
381
- return ei(e);
381
+ return ni(e);
382
382
  throw new Error("Expected function, string, or object as test");
383
383
  }
384
384
  );
385
- function Jr(e) {
385
+ function Zr(e) {
386
386
  const n = [];
387
387
  let t = -1;
388
388
  for (; ++t < e.length; )
389
- n[t] = Mt(e[t]);
389
+ n[t] = Bt(e[t]);
390
390
  return Ke(r);
391
391
  function r(...i) {
392
392
  let l = -1;
@@ -395,7 +395,7 @@ function Jr(e) {
395
395
  return !1;
396
396
  }
397
397
  }
398
- function Zr(e) {
398
+ function ei(e) {
399
399
  const n = (
400
400
  /** @type {Record<string, unknown>} */
401
401
  e
@@ -413,7 +413,7 @@ function Zr(e) {
413
413
  return !0;
414
414
  }
415
415
  }
416
- function ei(e) {
416
+ function ni(e) {
417
417
  return Ke(n);
418
418
  function n(t) {
419
419
  return t && t.type === e;
@@ -422,7 +422,7 @@ function ei(e) {
422
422
  function Ke(e) {
423
423
  return n;
424
424
  function n(t, r, i) {
425
- return !!(ti(t) && e.call(
425
+ return !!(ri(t) && e.call(
426
426
  this,
427
427
  t,
428
428
  typeof r == "number" ? r : void 0,
@@ -430,17 +430,17 @@ function Ke(e) {
430
430
  ));
431
431
  }
432
432
  }
433
- function ni() {
433
+ function ti() {
434
434
  return !0;
435
435
  }
436
- function ti(e) {
436
+ function ri(e) {
437
437
  return e !== null && typeof e == "object" && "type" in e;
438
438
  }
439
- const Bt = [], ri = !0, Gn = !1, ii = "skip";
440
- function li(e, n, t, r) {
439
+ const jt = [], ii = !0, Qn = !1, li = "skip";
440
+ function oi(e, n, t, r) {
441
441
  let i;
442
442
  typeof n == "function" && typeof t != "function" ? (r = t, t = n) : i = n;
443
- const l = Mt(i), o = r ? -1 : 1;
443
+ const l = Bt(i), o = r ? -1 : 1;
444
444
  u(e, void 0, [])();
445
445
  function u(s, a, c) {
446
446
  const p = (
@@ -461,18 +461,18 @@ function li(e, n, t, r) {
461
461
  }
462
462
  return d;
463
463
  function d() {
464
- let f = Bt, w, b, z;
465
- if ((!n || l(s, a, c[c.length - 1] || void 0)) && (f = oi(t(s, c)), f[0] === Gn))
464
+ let f = jt, w, b, z;
465
+ if ((!n || l(s, a, c[c.length - 1] || void 0)) && (f = ui(t(s, c)), f[0] === Qn))
466
466
  return f;
467
467
  if ("children" in s && s.children) {
468
468
  const k = (
469
469
  /** @type {UnistParent} */
470
470
  s
471
471
  );
472
- if (k.children && f[0] !== ii)
472
+ if (k.children && f[0] !== li)
473
473
  for (b = (r ? k.children.length : -1) + o, z = c.concat(k); b > -1 && b < k.children.length; ) {
474
474
  const P = k.children[b];
475
- if (w = u(P, b, z)(), w[0] === Gn)
475
+ if (w = u(P, b, z)(), w[0] === Qn)
476
476
  return w;
477
477
  b = typeof w[1] == "number" ? w[1] : b + o;
478
478
  }
@@ -481,26 +481,26 @@ function li(e, n, t, r) {
481
481
  }
482
482
  }
483
483
  }
484
- function oi(e) {
485
- return Array.isArray(e) ? e : typeof e == "number" ? [ri, e] : e == null ? Bt : [e];
484
+ function ui(e) {
485
+ return Array.isArray(e) ? e : typeof e == "number" ? [ii, e] : e == null ? jt : [e];
486
486
  }
487
487
  function Je(e, n, t, r) {
488
488
  let i, l, o;
489
- typeof n == "function" && typeof t != "function" ? (l = void 0, o = n, i = t) : (l = n, o = t, i = r), li(e, l, u, i);
489
+ typeof n == "function" && typeof t != "function" ? (l = void 0, o = n, i = t) : (l = n, o = t, i = r), oi(e, l, u, i);
490
490
  function u(s, a) {
491
491
  const c = a[a.length - 1], p = c ? c.children.indexOf(s) : void 0;
492
492
  return o(s, p, c);
493
493
  }
494
494
  }
495
- const ui = ["http", "https"], ai = ["nofollow"], si = {};
496
- function ci(e) {
497
- const n = e || si, t = n.protocols || ui, r = Dt(n.test);
495
+ const ai = ["http", "https"], si = ["nofollow"], ci = {};
496
+ function pi(e) {
497
+ const n = e || ci, t = n.protocols || ai, r = Mt(n.test);
498
498
  return function(i) {
499
499
  Je(i, "element", function(l, o, u) {
500
500
  if (l.tagName === "a" && typeof l.properties.href == "string" && r(l, o, u)) {
501
501
  const s = l.properties.href;
502
- if (Gr(s) ? t.includes(s.slice(0, s.indexOf(":"))) : s.startsWith("//")) {
503
- const a = Re(n.content, l), c = a && !Array.isArray(a) ? [a] : a, p = Re(n.rel, l) || ai, d = typeof p == "string" ? Qr(p) : p, f = Re(n.target, l), w = Re(n.properties, l);
502
+ if (Qr(s) ? t.includes(s.slice(0, s.indexOf(":"))) : s.startsWith("//")) {
503
+ const a = Re(n.content, l), c = a && !Array.isArray(a) ? [a] : a, p = Re(n.rel, l) || si, d = typeof p == "string" ? Kr(p) : p, f = Re(n.target, l), w = Re(n.properties, l);
504
504
  if (w && Object.assign(l.properties, be(w)), d.length > 0 && (l.properties.rel = [...d]), f && (l.properties.target = f), c) {
505
505
  const b = Re(n.contentProperties, l) || {};
506
506
  l.children.push({
@@ -518,7 +518,7 @@ function ci(e) {
518
518
  function Re(e, n) {
519
519
  return typeof e == "function" ? e(n) : e;
520
520
  }
521
- function Ta(e) {
521
+ function Aa(e) {
522
522
  const n = [], t = String(e || "");
523
523
  let r = t.indexOf(","), i = 0, l = !1;
524
524
  for (; !l; ) {
@@ -528,22 +528,22 @@ function Ta(e) {
528
528
  }
529
529
  return n;
530
530
  }
531
- function pi(e, n) {
531
+ function fi(e, n) {
532
532
  const t = {};
533
533
  return (e[e.length - 1] === "" ? [...e, ""] : e).join(
534
534
  (t.padRight ? " " : "") + "," + (t.padLeft === !1 ? "" : " ")
535
535
  ).trim();
536
536
  }
537
- const fi = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, hi = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, mi = {};
538
- function Qn(e, n) {
539
- return (mi.jsx ? hi : fi).test(e);
537
+ const hi = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, mi = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, di = {};
538
+ function Kn(e, n) {
539
+ return (di.jsx ? mi : hi).test(e);
540
540
  }
541
- const di = /[ \t\n\f\r]/g;
542
- function gi(e) {
543
- return typeof e == "object" ? e.type === "text" ? Kn(e.value) : !1 : Kn(e);
541
+ const gi = /[ \t\n\f\r]/g;
542
+ function yi(e) {
543
+ return typeof e == "object" ? e.type === "text" ? Jn(e.value) : !1 : Jn(e);
544
544
  }
545
- function Kn(e) {
546
- return e.replace(di, "") === "";
545
+ function Jn(e) {
546
+ return e.replace(gi, "") === "";
547
547
  }
548
548
  class Ve {
549
549
  /**
@@ -563,7 +563,7 @@ class Ve {
563
563
  Ve.prototype.normal = {};
564
564
  Ve.prototype.property = {};
565
565
  Ve.prototype.space = void 0;
566
- function jt(e, n) {
566
+ function Vt(e, n) {
567
567
  const t = {}, r = {};
568
568
  for (const i of e)
569
569
  Object.assign(t, i.property), Object.assign(r, i.normal);
@@ -597,16 +597,16 @@ J.prototype.overloadedBoolean = !1;
597
597
  J.prototype.property = "";
598
598
  J.prototype.spaceSeparated = !1;
599
599
  J.prototype.space = void 0;
600
- let yi = 0;
601
- const v = we(), $ = we(), Vt = we(), x = we(), H = we(), Te = we(), ee = we();
600
+ let xi = 0;
601
+ const v = we(), $ = we(), Ht = we(), x = we(), H = we(), Te = we(), ee = we();
602
602
  function we() {
603
- return 2 ** ++yi;
603
+ return 2 ** ++xi;
604
604
  }
605
- const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: v, booleanish: $, commaOrSpaceSeparated: ee, commaSeparated: Te, number: x, overloadedBoolean: Vt, spaceSeparated: H }, Symbol.toStringTag, { value: "Module" })), nn = (
605
+ const dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, boolean: v, booleanish: $, commaOrSpaceSeparated: ee, commaSeparated: Te, number: x, overloadedBoolean: Ht, spaceSeparated: H }, Symbol.toStringTag, { value: "Module" })), nn = (
606
606
  /** @type {ReadonlyArray<keyof typeof types>} */
607
607
  Object.keys(dn)
608
608
  );
609
- class Ln extends J {
609
+ class Nn extends J {
610
610
  /**
611
611
  * @constructor
612
612
  * @param {string} property
@@ -622,21 +622,21 @@ class Ln extends J {
622
622
  */
623
623
  constructor(n, t, r, i) {
624
624
  let l = -1;
625
- if (super(n, t), Jn(this, "space", i), typeof r == "number")
625
+ if (super(n, t), Zn(this, "space", i), typeof r == "number")
626
626
  for (; ++l < nn.length; ) {
627
627
  const o = nn[l];
628
- Jn(this, nn[l], (r & dn[o]) === dn[o]);
628
+ Zn(this, nn[l], (r & dn[o]) === dn[o]);
629
629
  }
630
630
  }
631
631
  }
632
- Ln.prototype.defined = !0;
633
- function Jn(e, n, t) {
632
+ Nn.prototype.defined = !0;
633
+ function Zn(e, n, t) {
634
634
  t && (e[n] = t);
635
635
  }
636
636
  function Pe(e) {
637
637
  const n = {}, t = {};
638
638
  for (const [r, i] of Object.entries(e.properties)) {
639
- const l = new Ln(
639
+ const l = new Nn(
640
640
  r,
641
641
  e.transform(e.attributes || {}, r),
642
642
  i,
@@ -646,7 +646,7 @@ function Pe(e) {
646
646
  }
647
647
  return new Ve(n, t, e.space);
648
648
  }
649
- const Ht = Pe({
649
+ const Ut = Pe({
650
650
  properties: {
651
651
  ariaActiveDescendant: null,
652
652
  ariaAtomic: $,
@@ -702,13 +702,13 @@ const Ht = Pe({
702
702
  return n === "role" ? n : "aria-" + n.slice(4).toLowerCase();
703
703
  }
704
704
  });
705
- function Ut(e, n) {
705
+ function qt(e, n) {
706
706
  return n in e ? e[n] : n;
707
707
  }
708
- function qt(e, n) {
709
- return Ut(e, n.toLowerCase());
708
+ function $t(e, n) {
709
+ return qt(e, n.toLowerCase());
710
710
  }
711
- const xi = Pe({
711
+ const ki = Pe({
712
712
  attributes: {
713
713
  acceptcharset: "accept-charset",
714
714
  classname: "class",
@@ -756,7 +756,7 @@ const xi = Pe({
756
756
  dir: null,
757
757
  dirName: null,
758
758
  disabled: v,
759
- download: Vt,
759
+ download: Ht,
760
760
  draggable: $,
761
761
  encType: null,
762
762
  enterKeyHint: null,
@@ -1068,8 +1068,8 @@ const xi = Pe({
1068
1068
  unselectable: null
1069
1069
  },
1070
1070
  space: "html",
1071
- transform: qt
1072
- }), ki = Pe({
1071
+ transform: $t
1072
+ }), bi = Pe({
1073
1073
  attributes: {
1074
1074
  accentHeight: "accent-height",
1075
1075
  alignmentBaseline: "alignment-baseline",
@@ -1627,8 +1627,8 @@ const xi = Pe({
1627
1627
  zoomAndPan: null
1628
1628
  },
1629
1629
  space: "svg",
1630
- transform: Ut
1631
- }), $t = Pe({
1630
+ transform: qt
1631
+ }), Wt = Pe({
1632
1632
  properties: {
1633
1633
  xLinkActuate: null,
1634
1634
  xLinkArcRole: null,
@@ -1642,18 +1642,18 @@ const xi = Pe({
1642
1642
  transform(e, n) {
1643
1643
  return "xlink:" + n.slice(5).toLowerCase();
1644
1644
  }
1645
- }), Wt = Pe({
1645
+ }), Yt = Pe({
1646
1646
  attributes: { xmlnsxlink: "xmlns:xlink" },
1647
1647
  properties: { xmlnsXLink: null, xmlns: null },
1648
1648
  space: "xmlns",
1649
- transform: qt
1650
- }), Yt = Pe({
1649
+ transform: $t
1650
+ }), Xt = Pe({
1651
1651
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
1652
1652
  space: "xml",
1653
1653
  transform(e, n) {
1654
1654
  return "xml:" + n.slice(3).toLowerCase();
1655
1655
  }
1656
- }), bi = {
1656
+ }), wi = {
1657
1657
  classId: "classID",
1658
1658
  dataType: "datatype",
1659
1659
  itemId: "itemID",
@@ -1671,38 +1671,38 @@ const xi = Pe({
1671
1671
  xLinkTitle: "xlinkTitle",
1672
1672
  xLinkType: "xlinkType",
1673
1673
  xmlnsXLink: "xmlnsXlink"
1674
- }, wi = /[A-Z]/g, Zn = /-[a-z]/g, Si = /^data[-\w.:]+$/i;
1675
- function Ci(e, n) {
1674
+ }, Si = /[A-Z]/g, et = /-[a-z]/g, Ci = /^data[-\w.:]+$/i;
1675
+ function Ei(e, n) {
1676
1676
  const t = mn(n);
1677
1677
  let r = n, i = J;
1678
1678
  if (t in e.normal)
1679
1679
  return e.property[e.normal[t]];
1680
- if (t.length > 4 && t.slice(0, 4) === "data" && Si.test(n)) {
1680
+ if (t.length > 4 && t.slice(0, 4) === "data" && Ci.test(n)) {
1681
1681
  if (n.charAt(4) === "-") {
1682
- const l = n.slice(5).replace(Zn, Ii);
1682
+ const l = n.slice(5).replace(et, Ti);
1683
1683
  r = "data" + l.charAt(0).toUpperCase() + l.slice(1);
1684
1684
  } else {
1685
1685
  const l = n.slice(4);
1686
- if (!Zn.test(l)) {
1687
- let o = l.replace(wi, Ei);
1686
+ if (!et.test(l)) {
1687
+ let o = l.replace(Si, Ii);
1688
1688
  o.charAt(0) !== "-" && (o = "-" + o), n = "data" + o;
1689
1689
  }
1690
1690
  }
1691
- i = Ln;
1691
+ i = Nn;
1692
1692
  }
1693
1693
  return new i(r, n);
1694
1694
  }
1695
- function Ei(e) {
1695
+ function Ii(e) {
1696
1696
  return "-" + e.toLowerCase();
1697
1697
  }
1698
- function Ii(e) {
1698
+ function Ti(e) {
1699
1699
  return e.charAt(1).toUpperCase();
1700
1700
  }
1701
- const Ti = jt([Ht, xi, $t, Wt, Yt], "html"), Nn = jt([Ht, ki, $t, Wt, Yt], "svg");
1702
- var Fe = {}, tn, et;
1703
- function Ai() {
1704
- if (et) return tn;
1705
- et = 1;
1701
+ const Ai = Vt([Ut, ki, Wt, Yt, Xt], "html"), _n = Vt([Ut, bi, Wt, Yt, Xt], "svg");
1702
+ var Fe = {}, tn, nt;
1703
+ function Pi() {
1704
+ if (nt) return tn;
1705
+ nt = 1;
1706
1706
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, n = /\n/g, t = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, l = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, o = /^[;\s]*/, u = /^\s+|\s+$/g, s = `
1707
1707
  `, a = "/", c = "*", p = "", d = "comment", f = "declaration";
1708
1708
  tn = function(b, z) {
@@ -1789,15 +1789,15 @@ function Ai() {
1789
1789
  }
1790
1790
  return tn;
1791
1791
  }
1792
- var nt;
1793
- function Pi() {
1794
- if (nt) return Fe;
1795
- nt = 1;
1792
+ var tt;
1793
+ function zi() {
1794
+ if (tt) return Fe;
1795
+ tt = 1;
1796
1796
  var e = Fe.__importDefault || function(r) {
1797
1797
  return r && r.__esModule ? r : { default: r };
1798
1798
  };
1799
1799
  Object.defineProperty(Fe, "__esModule", { value: !0 }), Fe.default = t;
1800
- var n = e(/* @__PURE__ */ Ai());
1800
+ var n = e(/* @__PURE__ */ Pi());
1801
1801
  function t(r, i) {
1802
1802
  var l = null;
1803
1803
  if (!r || typeof r != "string")
@@ -1812,9 +1812,9 @@ function Pi() {
1812
1812
  }
1813
1813
  return Fe;
1814
1814
  }
1815
- var zi = /* @__PURE__ */ Pi();
1816
- const tt = /* @__PURE__ */ zt(zi), Li = tt.default || tt, Xt = Gt("end"), _n = Gt("start");
1817
- function Gt(e) {
1815
+ var Li = /* @__PURE__ */ zi();
1816
+ const rt = /* @__PURE__ */ Nt(Li), Ni = rt.default || rt, Gt = Qt("end"), vn = Qt("start");
1817
+ function Qt(e) {
1818
1818
  return n;
1819
1819
  function n(t) {
1820
1820
  const r = t && t.position && t.position[e] || {};
@@ -1826,21 +1826,21 @@ function Gt(e) {
1826
1826
  };
1827
1827
  }
1828
1828
  }
1829
- function Ni(e) {
1830
- const n = _n(e), t = Xt(e);
1829
+ function _i(e) {
1830
+ const n = vn(e), t = Gt(e);
1831
1831
  if (n && t)
1832
1832
  return { start: n, end: t };
1833
1833
  }
1834
1834
  function Me(e) {
1835
- return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? rt(e.position) : "start" in e || "end" in e ? rt(e) : "line" in e || "column" in e ? gn(e) : "";
1835
+ return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? it(e.position) : "start" in e || "end" in e ? it(e) : "line" in e || "column" in e ? gn(e) : "";
1836
1836
  }
1837
1837
  function gn(e) {
1838
- return it(e && e.line) + ":" + it(e && e.column);
1838
+ return lt(e && e.line) + ":" + lt(e && e.column);
1839
1839
  }
1840
- function rt(e) {
1840
+ function it(e) {
1841
1841
  return gn(e && e.start) + "-" + gn(e && e.end);
1842
1842
  }
1843
- function it(e) {
1843
+ function lt(e) {
1844
1844
  return e && typeof e == "number" ? e : 1;
1845
1845
  }
1846
1846
  class G extends Error {
@@ -1930,8 +1930,8 @@ G.prototype.fatal = void 0;
1930
1930
  G.prototype.place = void 0;
1931
1931
  G.prototype.ruleId = void 0;
1932
1932
  G.prototype.source = void 0;
1933
- const vn = {}.hasOwnProperty, _i = /* @__PURE__ */ new Map(), vi = /[A-Z]/g, Oi = /-([a-z])/g, Ri = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Fi = /* @__PURE__ */ new Set(["td", "th"]), Qt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1934
- function Di(e, n) {
1933
+ const On = {}.hasOwnProperty, vi = /* @__PURE__ */ new Map(), Oi = /[A-Z]/g, Ri = /-([a-z])/g, Fi = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Di = /* @__PURE__ */ new Set(["td", "th"]), Kt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1934
+ function Mi(e, n) {
1935
1935
  if (!n || n.Fragment === void 0)
1936
1936
  throw new TypeError("Expected `Fragment` in options");
1937
1937
  const t = n.filePath || void 0;
@@ -1941,13 +1941,13 @@ function Di(e, n) {
1941
1941
  throw new TypeError(
1942
1942
  "Expected `jsxDEV` in options when `development: true`"
1943
1943
  );
1944
- r = $i(t, n.jsxDEV);
1944
+ r = Wi(t, n.jsxDEV);
1945
1945
  } else {
1946
1946
  if (typeof n.jsx != "function")
1947
1947
  throw new TypeError("Expected `jsx` in production options");
1948
1948
  if (typeof n.jsxs != "function")
1949
1949
  throw new TypeError("Expected `jsxs` in production options");
1950
- r = qi(t, n.jsx, n.jsxs);
1950
+ r = $i(t, n.jsx, n.jsxs);
1951
1951
  }
1952
1952
  const i = {
1953
1953
  Fragment: n.Fragment,
@@ -1960,10 +1960,10 @@ function Di(e, n) {
1960
1960
  ignoreInvalidStyle: n.ignoreInvalidStyle || !1,
1961
1961
  passKeys: n.passKeys !== !1,
1962
1962
  passNode: n.passNode || !1,
1963
- schema: n.space === "svg" ? Nn : Ti,
1963
+ schema: n.space === "svg" ? _n : Ai,
1964
1964
  stylePropertyNameCase: n.stylePropertyNameCase || "dom",
1965
1965
  tableCellAlignToStyle: n.tableCellAlignToStyle !== !1
1966
- }, l = Kt(i, e, void 0);
1966
+ }, l = Jt(i, e, void 0);
1967
1967
  return l && typeof l != "string" ? l : i.create(
1968
1968
  e,
1969
1969
  i.Fragment,
@@ -1971,31 +1971,31 @@ function Di(e, n) {
1971
1971
  void 0
1972
1972
  );
1973
1973
  }
1974
- function Kt(e, n, t) {
1974
+ function Jt(e, n, t) {
1975
1975
  if (n.type === "element")
1976
- return Mi(e, n, t);
1976
+ return Bi(e, n, t);
1977
1977
  if (n.type === "mdxFlowExpression" || n.type === "mdxTextExpression")
1978
- return Bi(e, n);
1978
+ return ji(e, n);
1979
1979
  if (n.type === "mdxJsxFlowElement" || n.type === "mdxJsxTextElement")
1980
- return Vi(e, n, t);
1980
+ return Hi(e, n, t);
1981
1981
  if (n.type === "mdxjsEsm")
1982
- return ji(e, n);
1982
+ return Vi(e, n);
1983
1983
  if (n.type === "root")
1984
- return Hi(e, n, t);
1984
+ return Ui(e, n, t);
1985
1985
  if (n.type === "text")
1986
- return Ui(e, n);
1986
+ return qi(e, n);
1987
1987
  }
1988
- function Mi(e, n, t) {
1988
+ function Bi(e, n, t) {
1989
1989
  const r = e.schema;
1990
1990
  let i = r;
1991
- n.tagName.toLowerCase() === "svg" && r.space === "html" && (i = Nn, e.schema = i), e.ancestors.push(n);
1992
- const l = Zt(e, n.tagName, !1), o = Wi(e, n);
1993
- let u = Rn(e, n);
1994
- return Ri.has(n.tagName) && (u = u.filter(function(s) {
1995
- return typeof s == "string" ? !gi(s) : !0;
1996
- })), Jt(e, o, l, n), On(o, u), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
1997
- }
1998
- function Bi(e, n) {
1991
+ n.tagName.toLowerCase() === "svg" && r.space === "html" && (i = _n, e.schema = i), e.ancestors.push(n);
1992
+ const l = er(e, n.tagName, !1), o = Yi(e, n);
1993
+ let u = Fn(e, n);
1994
+ return Fi.has(n.tagName) && (u = u.filter(function(s) {
1995
+ return typeof s == "string" ? !yi(s) : !0;
1996
+ })), Zt(e, o, l, n), Rn(o, u), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
1997
+ }
1998
+ function ji(e, n) {
1999
1999
  if (n.data && n.data.estree && e.evaluater) {
2000
2000
  const r = n.data.estree.body[0];
2001
2001
  return (
@@ -2005,7 +2005,7 @@ function Bi(e, n) {
2005
2005
  }
2006
2006
  je(e, n.position);
2007
2007
  }
2008
- function ji(e, n) {
2008
+ function Vi(e, n) {
2009
2009
  if (n.data && n.data.estree && e.evaluater)
2010
2010
  return (
2011
2011
  /** @type {Child | undefined} */
@@ -2013,40 +2013,40 @@ function ji(e, n) {
2013
2013
  );
2014
2014
  je(e, n.position);
2015
2015
  }
2016
- function Vi(e, n, t) {
2016
+ function Hi(e, n, t) {
2017
2017
  const r = e.schema;
2018
2018
  let i = r;
2019
- n.name === "svg" && r.space === "html" && (i = Nn, e.schema = i), e.ancestors.push(n);
2020
- const l = n.name === null ? e.Fragment : Zt(e, n.name, !0), o = Yi(e, n), u = Rn(e, n);
2021
- return Jt(e, o, l, n), On(o, u), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2019
+ n.name === "svg" && r.space === "html" && (i = _n, e.schema = i), e.ancestors.push(n);
2020
+ const l = n.name === null ? e.Fragment : er(e, n.name, !0), o = Xi(e, n), u = Fn(e, n);
2021
+ return Zt(e, o, l, n), Rn(o, u), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
2022
2022
  }
2023
- function Hi(e, n, t) {
2023
+ function Ui(e, n, t) {
2024
2024
  const r = {};
2025
- return On(r, Rn(e, n)), e.create(n, e.Fragment, r, t);
2025
+ return Rn(r, Fn(e, n)), e.create(n, e.Fragment, r, t);
2026
2026
  }
2027
- function Ui(e, n) {
2027
+ function qi(e, n) {
2028
2028
  return n.value;
2029
2029
  }
2030
- function Jt(e, n, t, r) {
2030
+ function Zt(e, n, t, r) {
2031
2031
  typeof t != "string" && t !== e.Fragment && e.passNode && (n.node = r);
2032
2032
  }
2033
- function On(e, n) {
2033
+ function Rn(e, n) {
2034
2034
  if (n.length > 0) {
2035
2035
  const t = n.length > 1 ? n : n[0];
2036
2036
  t && (e.children = t);
2037
2037
  }
2038
2038
  }
2039
- function qi(e, n, t) {
2039
+ function $i(e, n, t) {
2040
2040
  return r;
2041
2041
  function r(i, l, o, u) {
2042
2042
  const a = Array.isArray(o.children) ? t : n;
2043
2043
  return u ? a(l, o, u) : a(l, o);
2044
2044
  }
2045
2045
  }
2046
- function $i(e, n) {
2046
+ function Wi(e, n) {
2047
2047
  return t;
2048
2048
  function t(r, i, l, o) {
2049
- const u = Array.isArray(l.children), s = _n(r);
2049
+ const u = Array.isArray(l.children), s = vn(r);
2050
2050
  return n(
2051
2051
  i,
2052
2052
  l,
@@ -2061,15 +2061,15 @@ function $i(e, n) {
2061
2061
  );
2062
2062
  }
2063
2063
  }
2064
- function Wi(e, n) {
2064
+ function Yi(e, n) {
2065
2065
  const t = {};
2066
2066
  let r, i;
2067
2067
  for (i in n.properties)
2068
- if (i !== "children" && vn.call(n.properties, i)) {
2069
- const l = Xi(e, i, n.properties[i]);
2068
+ if (i !== "children" && On.call(n.properties, i)) {
2069
+ const l = Gi(e, i, n.properties[i]);
2070
2070
  if (l) {
2071
2071
  const [o, u] = l;
2072
- e.tableCellAlignToStyle && o === "align" && typeof u == "string" && Fi.has(n.tagName) ? r = u : t[o] = u;
2072
+ e.tableCellAlignToStyle && o === "align" && typeof u == "string" && Di.has(n.tagName) ? r = u : t[o] = u;
2073
2073
  }
2074
2074
  }
2075
2075
  if (r) {
@@ -2081,7 +2081,7 @@ function Wi(e, n) {
2081
2081
  }
2082
2082
  return t;
2083
2083
  }
2084
- function Yi(e, n) {
2084
+ function Xi(e, n) {
2085
2085
  const t = {};
2086
2086
  for (const r of n.attributes)
2087
2087
  if (r.type === "mdxJsxExpressionAttribute")
@@ -2109,10 +2109,10 @@ function Yi(e, n) {
2109
2109
  }
2110
2110
  return t;
2111
2111
  }
2112
- function Rn(e, n) {
2112
+ function Fn(e, n) {
2113
2113
  const t = [];
2114
2114
  let r = -1;
2115
- const i = e.passKeys ? /* @__PURE__ */ new Map() : _i;
2115
+ const i = e.passKeys ? /* @__PURE__ */ new Map() : vi;
2116
2116
  for (; ++r < n.children.length; ) {
2117
2117
  const l = n.children[r];
2118
2118
  let o;
@@ -2123,28 +2123,28 @@ function Rn(e, n) {
2123
2123
  o = s + "-" + a, i.set(s, a + 1);
2124
2124
  }
2125
2125
  }
2126
- const u = Kt(e, l, o);
2126
+ const u = Jt(e, l, o);
2127
2127
  u !== void 0 && t.push(u);
2128
2128
  }
2129
2129
  return t;
2130
2130
  }
2131
- function Xi(e, n, t) {
2132
- const r = Ci(e.schema, n);
2131
+ function Gi(e, n, t) {
2132
+ const r = Ei(e.schema, n);
2133
2133
  if (!(t == null || typeof t == "number" && Number.isNaN(t))) {
2134
- if (Array.isArray(t) && (t = r.commaSeparated ? pi(t) : Kr(t)), r.property === "style") {
2135
- let i = typeof t == "object" ? t : Gi(e, String(t));
2136
- return e.stylePropertyNameCase === "css" && (i = Qi(i)), ["style", i];
2134
+ if (Array.isArray(t) && (t = r.commaSeparated ? fi(t) : Jr(t)), r.property === "style") {
2135
+ let i = typeof t == "object" ? t : Qi(e, String(t));
2136
+ return e.stylePropertyNameCase === "css" && (i = Ki(i)), ["style", i];
2137
2137
  }
2138
2138
  return [
2139
- e.elementAttributeNameCase === "react" && r.space ? bi[r.property] || r.property : r.attribute,
2139
+ e.elementAttributeNameCase === "react" && r.space ? wi[r.property] || r.property : r.attribute,
2140
2140
  t
2141
2141
  ];
2142
2142
  }
2143
2143
  }
2144
- function Gi(e, n) {
2144
+ function Qi(e, n) {
2145
2145
  const t = {};
2146
2146
  try {
2147
- Li(n, r);
2147
+ Ni(n, r);
2148
2148
  } catch (i) {
2149
2149
  if (!e.ignoreInvalidStyle) {
2150
2150
  const l = (
@@ -2156,16 +2156,16 @@ function Gi(e, n) {
2156
2156
  ruleId: "style",
2157
2157
  source: "hast-util-to-jsx-runtime"
2158
2158
  });
2159
- throw o.file = e.filePath || void 0, o.url = Qt + "#cannot-parse-style-attribute", o;
2159
+ throw o.file = e.filePath || void 0, o.url = Kt + "#cannot-parse-style-attribute", o;
2160
2160
  }
2161
2161
  }
2162
2162
  return t;
2163
2163
  function r(i, l) {
2164
2164
  let o = i;
2165
- o.slice(0, 2) !== "--" && (o.slice(0, 4) === "-ms-" && (o = "ms-" + o.slice(4)), o = o.replace(Oi, Ji)), t[o] = l;
2165
+ o.slice(0, 2) !== "--" && (o.slice(0, 4) === "-ms-" && (o = "ms-" + o.slice(4)), o = o.replace(Ri, Zi)), t[o] = l;
2166
2166
  }
2167
2167
  }
2168
- function Zt(e, n, t) {
2168
+ function er(e, n, t) {
2169
2169
  let r;
2170
2170
  if (!t)
2171
2171
  r = { type: "Literal", value: n };
@@ -2173,7 +2173,7 @@ function Zt(e, n, t) {
2173
2173
  const i = n.split(".");
2174
2174
  let l = -1, o;
2175
2175
  for (; ++l < i.length; ) {
2176
- const u = Qn(i[l]) ? { type: "Identifier", name: i[l] } : { type: "Literal", value: i[l] };
2176
+ const u = Kn(i[l]) ? { type: "Identifier", name: i[l] } : { type: "Literal", value: i[l] };
2177
2177
  o = o ? {
2178
2178
  type: "MemberExpression",
2179
2179
  object: o,
@@ -2184,13 +2184,13 @@ function Zt(e, n, t) {
2184
2184
  }
2185
2185
  r = o;
2186
2186
  } else
2187
- r = Qn(n) && !/^[a-z]/.test(n) ? { type: "Identifier", name: n } : { type: "Literal", value: n };
2187
+ r = Kn(n) && !/^[a-z]/.test(n) ? { type: "Identifier", name: n } : { type: "Literal", value: n };
2188
2188
  if (r.type === "Literal") {
2189
2189
  const i = (
2190
2190
  /** @type {string | number} */
2191
2191
  r.value
2192
2192
  );
2193
- return vn.call(e.components, i) ? e.components[i] : i;
2193
+ return On.call(e.components, i) ? e.components[i] : i;
2194
2194
  }
2195
2195
  if (e.evaluater)
2196
2196
  return e.evaluater.evaluateExpression(r);
@@ -2206,66 +2206,66 @@ function je(e, n) {
2206
2206
  source: "hast-util-to-jsx-runtime"
2207
2207
  }
2208
2208
  );
2209
- throw t.file = e.filePath || void 0, t.url = Qt + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2209
+ throw t.file = e.filePath || void 0, t.url = Kt + "#cannot-handle-mdx-estrees-without-createevaluater", t;
2210
2210
  }
2211
- function Qi(e) {
2211
+ function Ki(e) {
2212
2212
  const n = {};
2213
2213
  let t;
2214
2214
  for (t in e)
2215
- vn.call(e, t) && (n[Ki(t)] = e[t]);
2215
+ On.call(e, t) && (n[Ji(t)] = e[t]);
2216
2216
  return n;
2217
2217
  }
2218
- function Ki(e) {
2219
- let n = e.replace(vi, Zi);
2218
+ function Ji(e) {
2219
+ let n = e.replace(Oi, el);
2220
2220
  return n.slice(0, 3) === "ms-" && (n = "-" + n), n;
2221
2221
  }
2222
- function Ji(e, n) {
2222
+ function Zi(e, n) {
2223
2223
  return n.toUpperCase();
2224
2224
  }
2225
- function Zi(e) {
2225
+ function el(e) {
2226
2226
  return "-" + e.toLowerCase();
2227
2227
  }
2228
- function el(e) {
2228
+ function nl(e) {
2229
2229
  const n = (
2230
2230
  /** @type {Processor} */
2231
2231
  this
2232
2232
  );
2233
2233
  n.compiler = t;
2234
2234
  function t(r, i) {
2235
- return Di(r, { filePath: i.path, ...e });
2235
+ return Mi(r, { filePath: i.path, ...e });
2236
2236
  }
2237
2237
  }
2238
- const nl = {};
2239
- function tl(e, n) {
2240
- const t = nl, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2241
- return er(e, r, i);
2238
+ const tl = {};
2239
+ function rl(e, n) {
2240
+ const t = tl, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
2241
+ return nr(e, r, i);
2242
2242
  }
2243
- function er(e, n, t) {
2244
- if (rl(e)) {
2243
+ function nr(e, n, t) {
2244
+ if (il(e)) {
2245
2245
  if ("value" in e)
2246
2246
  return e.type === "html" && !t ? "" : e.value;
2247
2247
  if (n && "alt" in e && e.alt)
2248
2248
  return e.alt;
2249
2249
  if ("children" in e)
2250
- return lt(e.children, n, t);
2250
+ return ot(e.children, n, t);
2251
2251
  }
2252
- return Array.isArray(e) ? lt(e, n, t) : "";
2252
+ return Array.isArray(e) ? ot(e, n, t) : "";
2253
2253
  }
2254
- function lt(e, n, t) {
2254
+ function ot(e, n, t) {
2255
2255
  const r = [];
2256
2256
  let i = -1;
2257
2257
  for (; ++i < e.length; )
2258
- r[i] = er(e[i], n, t);
2258
+ r[i] = nr(e[i], n, t);
2259
2259
  return r.join("");
2260
2260
  }
2261
- function rl(e) {
2261
+ function il(e) {
2262
2262
  return !!(e && typeof e == "object");
2263
2263
  }
2264
- const ot = document.createElement("i");
2265
- function Fn(e) {
2264
+ const ut = document.createElement("i");
2265
+ function Dn(e) {
2266
2266
  const n = "&" + e + ";";
2267
- ot.innerHTML = n;
2268
- const t = ot.textContent;
2267
+ ut.innerHTML = n;
2268
+ const t = ut.textContent;
2269
2269
  return t.charCodeAt(t.length - 1) === 59 && e !== "semi" || t === n ? !1 : t;
2270
2270
  }
2271
2271
  function ce(e, n, t, r) {
@@ -2280,24 +2280,24 @@ function ce(e, n, t, r) {
2280
2280
  function re(e, n) {
2281
2281
  return e.length > 0 ? (ce(e, e.length, 0, n), e) : n;
2282
2282
  }
2283
- const ut = {}.hasOwnProperty;
2284
- function il(e) {
2283
+ const at = {}.hasOwnProperty;
2284
+ function ll(e) {
2285
2285
  const n = {};
2286
2286
  let t = -1;
2287
2287
  for (; ++t < e.length; )
2288
- ll(n, e[t]);
2288
+ ol(n, e[t]);
2289
2289
  return n;
2290
2290
  }
2291
- function ll(e, n) {
2291
+ function ol(e, n) {
2292
2292
  let t;
2293
2293
  for (t in n) {
2294
- const i = (ut.call(e, t) ? e[t] : void 0) || (e[t] = {}), l = n[t];
2294
+ const i = (at.call(e, t) ? e[t] : void 0) || (e[t] = {}), l = n[t];
2295
2295
  let o;
2296
2296
  if (l)
2297
2297
  for (o in l) {
2298
- ut.call(i, o) || (i[o] = []);
2298
+ at.call(i, o) || (i[o] = []);
2299
2299
  const u = l[o];
2300
- ol(
2300
+ ul(
2301
2301
  // @ts-expect-error Looks like a list.
2302
2302
  i[o],
2303
2303
  Array.isArray(u) ? u : u ? [u] : []
@@ -2305,14 +2305,14 @@ function ll(e, n) {
2305
2305
  }
2306
2306
  }
2307
2307
  }
2308
- function ol(e, n) {
2308
+ function ul(e, n) {
2309
2309
  let t = -1;
2310
2310
  const r = [];
2311
2311
  for (; ++t < n.length; )
2312
2312
  (n[t].add === "after" ? e : r).push(n[t]);
2313
2313
  ce(e, 0, 0, r);
2314
2314
  }
2315
- function nr(e, n) {
2315
+ function tr(e, n) {
2316
2316
  const t = Number.parseInt(e, n);
2317
2317
  return (
2318
2318
  // C0 except for HT, LF, FF, CR, space.
@@ -2328,7 +2328,7 @@ function nr(e, n) {
2328
2328
  function Ae(e) {
2329
2329
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
2330
2330
  }
2331
- const se = ye(/[A-Za-z]/), ne = ye(/[\dA-Za-z]/), ul = ye(/[#-'*+\--9=?A-Z^-~]/);
2331
+ const se = ye(/[A-Za-z]/), ne = ye(/[\dA-Za-z]/), al = ye(/[#-'*+\--9=?A-Z^-~]/);
2332
2332
  function yn(e) {
2333
2333
  return (
2334
2334
  // Special whitespace codes (which have negative values), C0 and Control
@@ -2336,7 +2336,7 @@ function yn(e) {
2336
2336
  e !== null && (e < 32 || e === 127)
2337
2337
  );
2338
2338
  }
2339
- const xn = ye(/\d/), al = ye(/[\dA-Fa-f]/), sl = ye(/[!-/:-@[-`{-~]/);
2339
+ const xn = ye(/\d/), sl = ye(/[\dA-Fa-f]/), cl = ye(/[!-/:-@[-`{-~]/);
2340
2340
  function L(e) {
2341
2341
  return e !== null && e < -2;
2342
2342
  }
@@ -2346,7 +2346,7 @@ function K(e) {
2346
2346
  function F(e) {
2347
2347
  return e === -2 || e === -1 || e === 32;
2348
2348
  }
2349
- const cl = ye(new RegExp("\\p{P}|\\p{S}", "u")), pl = ye(/\s/);
2349
+ const pl = ye(new RegExp("\\p{P}|\\p{S}", "u")), fl = ye(/\s/);
2350
2350
  function ye(e) {
2351
2351
  return n;
2352
2352
  function n(t) {
@@ -2383,10 +2383,10 @@ function U(e, n, t, r) {
2383
2383
  return F(s) && l++ < i ? (e.consume(s), u) : (e.exit(t), n(s));
2384
2384
  }
2385
2385
  }
2386
- const fl = {
2387
- tokenize: hl
2386
+ const hl = {
2387
+ tokenize: ml
2388
2388
  };
2389
- function hl(e) {
2389
+ function ml(e) {
2390
2390
  const n = e.attempt(this.parser.constructs.contentInitial, r, i);
2391
2391
  let t;
2392
2392
  return n;
@@ -2415,12 +2415,12 @@ function hl(e) {
2415
2415
  return L(u) ? (e.consume(u), e.exit("chunkText"), l) : (e.consume(u), o);
2416
2416
  }
2417
2417
  }
2418
- const ml = {
2419
- tokenize: dl
2420
- }, at = {
2418
+ const dl = {
2421
2419
  tokenize: gl
2420
+ }, st = {
2421
+ tokenize: yl
2422
2422
  };
2423
- function dl(e) {
2423
+ function gl(e) {
2424
2424
  const n = this, t = [];
2425
2425
  let r = 0, i, l, o;
2426
2426
  return u;
@@ -2459,7 +2459,7 @@ function dl(e) {
2459
2459
  return w(C);
2460
2460
  n.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
2461
2461
  }
2462
- return n.containerState = {}, e.check(at, c, p)(C);
2462
+ return n.containerState = {}, e.check(st, c, p)(C);
2463
2463
  }
2464
2464
  function c(C) {
2465
2465
  return i && P(), k(r), d(C);
@@ -2468,7 +2468,7 @@ function dl(e) {
2468
2468
  return n.parser.lazy[n.now().line] = r !== t.length, o = n.now().offset, w(C);
2469
2469
  }
2470
2470
  function d(C) {
2471
- return n.containerState = {}, e.attempt(at, f, w)(C);
2471
+ return n.containerState = {}, e.attempt(st, f, w)(C);
2472
2472
  }
2473
2473
  function f(C) {
2474
2474
  return r++, t.push([n.currentConstruct, n.containerState]), d(C);
@@ -2532,16 +2532,16 @@ function dl(e) {
2532
2532
  i.write([null]), l = void 0, i = void 0, n.containerState._closeFlow = void 0;
2533
2533
  }
2534
2534
  }
2535
- function gl(e, n, t) {
2535
+ function yl(e, n, t) {
2536
2536
  return U(e, e.attempt(this.parser.constructs.document, n, t), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
2537
2537
  }
2538
- function st(e) {
2539
- if (e === null || K(e) || pl(e))
2538
+ function ct(e) {
2539
+ if (e === null || K(e) || fl(e))
2540
2540
  return 1;
2541
- if (cl(e))
2541
+ if (pl(e))
2542
2542
  return 2;
2543
2543
  }
2544
- function Dn(e, n, t) {
2544
+ function Mn(e, n, t) {
2545
2545
  const r = [];
2546
2546
  let i = -1;
2547
2547
  for (; ++i < e.length; ) {
@@ -2552,10 +2552,10 @@ function Dn(e, n, t) {
2552
2552
  }
2553
2553
  const kn = {
2554
2554
  name: "attention",
2555
- resolveAll: yl,
2556
- tokenize: xl
2555
+ resolveAll: xl,
2556
+ tokenize: kl
2557
2557
  };
2558
- function yl(e, n) {
2558
+ function xl(e, n) {
2559
2559
  let t = -1, r, i, l, o, u, s, a, c;
2560
2560
  for (; ++t < e.length; )
2561
2561
  if (e[t][0] === "enter" && e[t][1].type === "attentionSequence" && e[t][1]._close) {
@@ -2570,7 +2570,7 @@ function yl(e, n) {
2570
2570
  }, d = {
2571
2571
  ...e[t][1].start
2572
2572
  };
2573
- ct(p, -s), ct(d, s), o = {
2573
+ pt(p, -s), pt(d, s), o = {
2574
2574
  type: s > 1 ? "strongSequence" : "emphasisSequence",
2575
2575
  start: p,
2576
2576
  end: {
@@ -2602,7 +2602,7 @@ function yl(e, n) {
2602
2602
  ...o.start
2603
2603
  }, e[t][1].start = {
2604
2604
  ...u.end
2605
- }, a = [], e[r][1].end.offset - e[r][1].start.offset && (a = re(a, [["enter", e[r][1], n], ["exit", e[r][1], n]])), a = re(a, [["enter", i, n], ["enter", o, n], ["exit", o, n], ["enter", l, n]]), a = re(a, Dn(n.parser.constructs.insideSpan.null, e.slice(r + 1, t), n)), a = re(a, [["exit", l, n], ["enter", u, n], ["exit", u, n], ["exit", i, n]]), e[t][1].end.offset - e[t][1].start.offset ? (c = 2, a = re(a, [["enter", e[t][1], n], ["exit", e[t][1], n]])) : c = 0, ce(e, r - 1, t - r + 3, a), t = r + a.length - c - 2;
2605
+ }, a = [], e[r][1].end.offset - e[r][1].start.offset && (a = re(a, [["enter", e[r][1], n], ["exit", e[r][1], n]])), a = re(a, [["enter", i, n], ["enter", o, n], ["exit", o, n], ["enter", l, n]]), a = re(a, Mn(n.parser.constructs.insideSpan.null, e.slice(r + 1, t), n)), a = re(a, [["exit", l, n], ["enter", u, n], ["exit", u, n], ["exit", i, n]]), e[t][1].end.offset - e[t][1].start.offset ? (c = 2, a = re(a, [["enter", e[t][1], n], ["exit", e[t][1], n]])) : c = 0, ce(e, r - 1, t - r + 3, a), t = r + a.length - c - 2;
2606
2606
  break;
2607
2607
  }
2608
2608
  }
@@ -2610,8 +2610,8 @@ function yl(e, n) {
2610
2610
  e[t][1].type === "attentionSequence" && (e[t][1].type = "data");
2611
2611
  return e;
2612
2612
  }
2613
- function xl(e, n) {
2614
- const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = st(r);
2613
+ function kl(e, n) {
2614
+ const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = ct(r);
2615
2615
  let l;
2616
2616
  return o;
2617
2617
  function o(s) {
@@ -2620,18 +2620,18 @@ function xl(e, n) {
2620
2620
  function u(s) {
2621
2621
  if (s === l)
2622
2622
  return e.consume(s), u;
2623
- const a = e.exit("attentionSequence"), c = st(s), p = !c || c === 2 && i || t.includes(s), d = !i || i === 2 && c || t.includes(r);
2623
+ const a = e.exit("attentionSequence"), c = ct(s), p = !c || c === 2 && i || t.includes(s), d = !i || i === 2 && c || t.includes(r);
2624
2624
  return a._open = !!(l === 42 ? p : p && (i || !d)), a._close = !!(l === 42 ? d : d && (c || !p)), n(s);
2625
2625
  }
2626
2626
  }
2627
- function ct(e, n) {
2627
+ function pt(e, n) {
2628
2628
  e.column += n, e.offset += n, e._bufferIndex += n;
2629
2629
  }
2630
- const kl = {
2630
+ const bl = {
2631
2631
  name: "autolink",
2632
- tokenize: bl
2632
+ tokenize: wl
2633
2633
  };
2634
- function bl(e, n, t) {
2634
+ function wl(e, n, t) {
2635
2635
  let r = 0;
2636
2636
  return i;
2637
2637
  function i(f) {
@@ -2650,7 +2650,7 @@ function bl(e, n, t) {
2650
2650
  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 || yn(f) ? t(f) : (e.consume(f), s);
2651
2651
  }
2652
2652
  function a(f) {
2653
- return f === 64 ? (e.consume(f), c) : ul(f) ? (e.consume(f), a) : t(f);
2653
+ return f === 64 ? (e.consume(f), c) : al(f) ? (e.consume(f), a) : t(f);
2654
2654
  }
2655
2655
  function c(f) {
2656
2656
  return ne(f) ? p(f) : t(f);
@@ -2668,9 +2668,9 @@ function bl(e, n, t) {
2668
2668
  }
2669
2669
  const Ze = {
2670
2670
  partial: !0,
2671
- tokenize: wl
2671
+ tokenize: Sl
2672
2672
  };
2673
- function wl(e, n, t) {
2673
+ function Sl(e, n, t) {
2674
2674
  return r;
2675
2675
  function r(l) {
2676
2676
  return F(l) ? U(e, i, "linePrefix")(l) : i(l);
@@ -2679,15 +2679,15 @@ function wl(e, n, t) {
2679
2679
  return l === null || L(l) ? n(l) : t(l);
2680
2680
  }
2681
2681
  }
2682
- const tr = {
2682
+ const rr = {
2683
2683
  continuation: {
2684
- tokenize: Cl
2684
+ tokenize: El
2685
2685
  },
2686
- exit: El,
2686
+ exit: Il,
2687
2687
  name: "blockQuote",
2688
- tokenize: Sl
2688
+ tokenize: Cl
2689
2689
  };
2690
- function Sl(e, n, t) {
2690
+ function Cl(e, n, t) {
2691
2691
  const r = this;
2692
2692
  return i;
2693
2693
  function i(o) {
@@ -2703,37 +2703,37 @@ function Sl(e, n, t) {
2703
2703
  return F(o) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(o), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), n) : (e.exit("blockQuotePrefix"), n(o));
2704
2704
  }
2705
2705
  }
2706
- function Cl(e, n, t) {
2706
+ function El(e, n, t) {
2707
2707
  const r = this;
2708
2708
  return i;
2709
2709
  function i(o) {
2710
2710
  return F(o) ? U(e, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o) : l(o);
2711
2711
  }
2712
2712
  function l(o) {
2713
- return e.attempt(tr, n, t)(o);
2713
+ return e.attempt(rr, n, t)(o);
2714
2714
  }
2715
2715
  }
2716
- function El(e) {
2716
+ function Il(e) {
2717
2717
  e.exit("blockQuote");
2718
2718
  }
2719
- const rr = {
2719
+ const ir = {
2720
2720
  name: "characterEscape",
2721
- tokenize: Il
2721
+ tokenize: Tl
2722
2722
  };
2723
- function Il(e, n, t) {
2723
+ function Tl(e, n, t) {
2724
2724
  return r;
2725
2725
  function r(l) {
2726
2726
  return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(l), e.exit("escapeMarker"), i;
2727
2727
  }
2728
2728
  function i(l) {
2729
- return sl(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2729
+ return cl(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2730
2730
  }
2731
2731
  }
2732
- const ir = {
2732
+ const lr = {
2733
2733
  name: "characterReference",
2734
- tokenize: Tl
2734
+ tokenize: Al
2735
2735
  };
2736
- function Tl(e, n, t) {
2736
+ function Al(e, n, t) {
2737
2737
  const r = this;
2738
2738
  let i = 0, l, o;
2739
2739
  return u;
@@ -2744,25 +2744,25 @@ function Tl(e, n, t) {
2744
2744
  return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), a) : (e.enter("characterReferenceValue"), l = 31, o = ne, c(p));
2745
2745
  }
2746
2746
  function a(p) {
2747
- return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = al, c) : (e.enter("characterReferenceValue"), l = 7, o = xn, c(p));
2747
+ return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = sl, c) : (e.enter("characterReferenceValue"), l = 7, o = xn, c(p));
2748
2748
  }
2749
2749
  function c(p) {
2750
2750
  if (p === 59 && i) {
2751
2751
  const d = e.exit("characterReferenceValue");
2752
- return o === ne && !Fn(r.sliceSerialize(d)) ? t(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), n);
2752
+ return o === ne && !Dn(r.sliceSerialize(d)) ? t(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), n);
2753
2753
  }
2754
2754
  return o(p) && i++ < l ? (e.consume(p), c) : t(p);
2755
2755
  }
2756
2756
  }
2757
- const pt = {
2757
+ const ft = {
2758
2758
  partial: !0,
2759
- tokenize: Pl
2760
- }, ft = {
2759
+ tokenize: zl
2760
+ }, ht = {
2761
2761
  concrete: !0,
2762
2762
  name: "codeFenced",
2763
- tokenize: Al
2763
+ tokenize: Pl
2764
2764
  };
2765
- function Al(e, n, t) {
2765
+ function Pl(e, n, t) {
2766
2766
  const r = this, i = {
2767
2767
  partial: !0,
2768
2768
  tokenize: V
@@ -2780,7 +2780,7 @@ function Al(e, n, t) {
2780
2780
  return y === u ? (o++, e.consume(y), c) : o < 3 ? t(y) : (e.exit("codeFencedFenceSequence"), F(y) ? U(e, p, "whitespace")(y) : p(y));
2781
2781
  }
2782
2782
  function p(y) {
2783
- return y === null || L(y) ? (e.exit("codeFencedFence"), r.interrupt ? n(y) : e.check(pt, b, B)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
2783
+ return y === null || L(y) ? (e.exit("codeFencedFence"), r.interrupt ? n(y) : e.check(ft, b, B)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
2784
2784
  contentType: "string"
2785
2785
  }), d(y));
2786
2786
  }
@@ -2805,7 +2805,7 @@ function Al(e, n, t) {
2805
2805
  return l > 0 && F(y) ? U(e, P, "linePrefix", l + 1)(y) : P(y);
2806
2806
  }
2807
2807
  function P(y) {
2808
- return y === null || L(y) ? e.check(pt, b, B)(y) : (e.enter("codeFlowValue"), C(y));
2808
+ return y === null || L(y) ? e.check(ft, b, B)(y) : (e.enter("codeFlowValue"), C(y));
2809
2809
  }
2810
2810
  function C(y) {
2811
2811
  return y === null || L(y) ? (e.exit("codeFlowValue"), P(y)) : (e.consume(y), C);
@@ -2833,7 +2833,7 @@ function Al(e, n, t) {
2833
2833
  }
2834
2834
  }
2835
2835
  }
2836
- function Pl(e, n, t) {
2836
+ function zl(e, n, t) {
2837
2837
  const r = this;
2838
2838
  return i;
2839
2839
  function i(o) {
@@ -2845,12 +2845,12 @@ function Pl(e, n, t) {
2845
2845
  }
2846
2846
  const rn = {
2847
2847
  name: "codeIndented",
2848
- tokenize: Ll
2849
- }, zl = {
2850
- partial: !0,
2851
2848
  tokenize: Nl
2849
+ }, Ll = {
2850
+ partial: !0,
2851
+ tokenize: _l
2852
2852
  };
2853
- function Ll(e, n, t) {
2853
+ function Nl(e, n, t) {
2854
2854
  const r = this;
2855
2855
  return i;
2856
2856
  function i(a) {
@@ -2861,7 +2861,7 @@ function Ll(e, n, t) {
2861
2861
  return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? o(a) : t(a);
2862
2862
  }
2863
2863
  function o(a) {
2864
- return a === null ? s(a) : L(a) ? e.attempt(zl, o, s)(a) : (e.enter("codeFlowValue"), u(a));
2864
+ return a === null ? s(a) : L(a) ? e.attempt(Ll, o, s)(a) : (e.enter("codeFlowValue"), u(a));
2865
2865
  }
2866
2866
  function u(a) {
2867
2867
  return a === null || L(a) ? (e.exit("codeFlowValue"), o(a)) : (e.consume(a), u);
@@ -2870,7 +2870,7 @@ function Ll(e, n, t) {
2870
2870
  return e.exit("codeIndented"), n(a);
2871
2871
  }
2872
2872
  }
2873
- function Nl(e, n, t) {
2873
+ function _l(e, n, t) {
2874
2874
  const r = this;
2875
2875
  return i;
2876
2876
  function i(o) {
@@ -2881,13 +2881,13 @@ function Nl(e, n, t) {
2881
2881
  return u && u[1].type === "linePrefix" && u[2].sliceSerialize(u[1], !0).length >= 4 ? n(o) : L(o) ? i(o) : t(o);
2882
2882
  }
2883
2883
  }
2884
- const _l = {
2884
+ const vl = {
2885
2885
  name: "codeText",
2886
- previous: Ol,
2887
- resolve: vl,
2888
- tokenize: Rl
2886
+ previous: Rl,
2887
+ resolve: Ol,
2888
+ tokenize: Fl
2889
2889
  };
2890
- function vl(e) {
2890
+ function Ol(e) {
2891
2891
  let n = e.length - 4, t = 3, r, i;
2892
2892
  if ((e[t][1].type === "lineEnding" || e[t][1].type === "space") && (e[n][1].type === "lineEnding" || e[n][1].type === "space")) {
2893
2893
  for (r = t; ++r < n; )
@@ -2900,10 +2900,10 @@ function vl(e) {
2900
2900
  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);
2901
2901
  return e;
2902
2902
  }
2903
- function Ol(e) {
2903
+ function Rl(e) {
2904
2904
  return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
2905
2905
  }
2906
- function Rl(e, n, t) {
2906
+ function Fl(e, n, t) {
2907
2907
  let r = 0, i, l;
2908
2908
  return o;
2909
2909
  function o(p) {
@@ -2922,7 +2922,7 @@ function Rl(e, n, t) {
2922
2922
  return p === 96 ? (e.consume(p), i++, c) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), n(p)) : (l.type = "codeTextData", a(p));
2923
2923
  }
2924
2924
  }
2925
- class Fl {
2925
+ class Dl {
2926
2926
  /**
2927
2927
  * @param {ReadonlyArray<T> | null | undefined} [initial]
2928
2928
  * Initial items (optional).
@@ -3094,10 +3094,10 @@ function De(e, n) {
3094
3094
  for (; t < n.length; )
3095
3095
  e.push(...n.slice(t, t + 1e4)), t += 1e4;
3096
3096
  }
3097
- function lr(e) {
3097
+ function or(e) {
3098
3098
  const n = {};
3099
3099
  let t = -1, r, i, l, o, u, s, a;
3100
- const c = new Fl(e);
3100
+ const c = new Dl(e);
3101
3101
  for (; ++t < c.length; ) {
3102
3102
  for (; t in n; )
3103
3103
  t = n[t];
@@ -3105,7 +3105,7 @@ function lr(e) {
3105
3105
  for (; ++l < s.length && s[l][1].type !== "content"; )
3106
3106
  s[l][1].type === "chunkText" && (s[l][1]._isInFirstContentOfListItem = !0, l++);
3107
3107
  if (r[0] === "enter")
3108
- r[1].contentType && (Object.assign(n, Dl(c, t)), t = n[t], a = !0);
3108
+ r[1].contentType && (Object.assign(n, Ml(c, t)), t = n[t], a = !0);
3109
3109
  else if (r[1]._container) {
3110
3110
  for (l = t, i = void 0; l-- && (o = c.get(l), o[1].type === "lineEnding" || o[1].type === "lineEndingBlank"); )
3111
3111
  o[0] === "enter" && (i && (c.get(i)[1].type = "lineEndingBlank"), o[1].type = "lineEnding", i = l);
@@ -3116,7 +3116,7 @@ function lr(e) {
3116
3116
  }
3117
3117
  return ce(e, 0, Number.POSITIVE_INFINITY, c.slice(0)), !a;
3118
3118
  }
3119
- function Dl(e, n) {
3119
+ function Ml(e, n) {
3120
3120
  const t = e.get(n)[1], r = e.get(n)[2];
3121
3121
  let i = n - 1;
3122
3122
  const l = [], o = t._tokenizer || r.parser[t.contentType](t.start), u = o.events, s = [], a = {};
@@ -3138,17 +3138,17 @@ function Dl(e, n) {
3138
3138
  a[w + s[d][0]] = w + s[d][1], w += s[d][1] - s[d][0] - 1;
3139
3139
  return a;
3140
3140
  }
3141
- const Ml = {
3142
- resolve: jl,
3143
- tokenize: Vl
3144
- }, Bl = {
3145
- partial: !0,
3141
+ const Bl = {
3142
+ resolve: Vl,
3146
3143
  tokenize: Hl
3144
+ }, jl = {
3145
+ partial: !0,
3146
+ tokenize: Ul
3147
3147
  };
3148
- function jl(e) {
3149
- return lr(e), e;
3148
+ function Vl(e) {
3149
+ return or(e), e;
3150
3150
  }
3151
- function Vl(e, n) {
3151
+ function Hl(e, n) {
3152
3152
  let t;
3153
3153
  return r;
3154
3154
  function r(u) {
@@ -3157,7 +3157,7 @@ function Vl(e, n) {
3157
3157
  }), i(u);
3158
3158
  }
3159
3159
  function i(u) {
3160
- return u === null ? l(u) : L(u) ? e.check(Bl, o, l)(u) : (e.consume(u), i);
3160
+ return u === null ? l(u) : L(u) ? e.check(jl, o, l)(u) : (e.consume(u), i);
3161
3161
  }
3162
3162
  function l(u) {
3163
3163
  return e.exit("chunkContent"), e.exit("content"), n(u);
@@ -3169,7 +3169,7 @@ function Vl(e, n) {
3169
3169
  }), t = t.next, i;
3170
3170
  }
3171
3171
  }
3172
- function Hl(e, n, t) {
3172
+ function Ul(e, n, t) {
3173
3173
  const r = this;
3174
3174
  return i;
3175
3175
  function i(o) {
@@ -3182,7 +3182,7 @@ function Hl(e, n, t) {
3182
3182
  return !r.parser.constructs.disable.null.includes("codeIndented") && u && u[1].type === "linePrefix" && u[2].sliceSerialize(u[1], !0).length >= 4 ? n(o) : e.interrupt(r.parser.constructs.flow, t, n)(o);
3183
3183
  }
3184
3184
  }
3185
- function or(e, n, t, r, i, l, o, u, s) {
3185
+ function ur(e, n, t, r, i, l, o, u, s) {
3186
3186
  const a = s || Number.POSITIVE_INFINITY;
3187
3187
  let c = 0;
3188
3188
  return p;
@@ -3209,7 +3209,7 @@ function or(e, n, t, r, i, l, o, u, s) {
3209
3209
  return k === 40 || k === 41 || k === 92 ? (e.consume(k), b) : b(k);
3210
3210
  }
3211
3211
  }
3212
- function ur(e, n, t, r, i, l) {
3212
+ function ar(e, n, t, r, i, l) {
3213
3213
  const o = this;
3214
3214
  let u = 0, s;
3215
3215
  return a;
@@ -3233,7 +3233,7 @@ function ur(e, n, t, r, i, l) {
3233
3233
  return f === 91 || f === 92 || f === 93 ? (e.consume(f), u++, p) : p(f);
3234
3234
  }
3235
3235
  }
3236
- function ar(e, n, t, r, i, l) {
3236
+ function sr(e, n, t, r, i, l) {
3237
3237
  let o;
3238
3238
  return u;
3239
3239
  function u(d) {
@@ -3261,14 +3261,14 @@ function Be(e, n) {
3261
3261
  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);
3262
3262
  }
3263
3263
  }
3264
- const Ul = {
3264
+ const ql = {
3265
3265
  name: "definition",
3266
- tokenize: $l
3267
- }, ql = {
3268
- partial: !0,
3269
3266
  tokenize: Wl
3267
+ }, $l = {
3268
+ partial: !0,
3269
+ tokenize: Yl
3270
3270
  };
3271
- function $l(e, n, t) {
3271
+ function Wl(e, n, t) {
3272
3272
  const r = this;
3273
3273
  let i;
3274
3274
  return l;
@@ -3276,7 +3276,7 @@ function $l(e, n, t) {
3276
3276
  return e.enter("definition"), o(f);
3277
3277
  }
3278
3278
  function o(f) {
3279
- return ur.call(
3279
+ return ar.call(
3280
3280
  r,
3281
3281
  e,
3282
3282
  u,
@@ -3294,7 +3294,7 @@ function $l(e, n, t) {
3294
3294
  return K(f) ? Be(e, a)(f) : a(f);
3295
3295
  }
3296
3296
  function a(f) {
3297
- return or(
3297
+ return ur(
3298
3298
  e,
3299
3299
  c,
3300
3300
  // Note: we don’t need to reset the way `markdown-rs` does.
@@ -3307,7 +3307,7 @@ function $l(e, n, t) {
3307
3307
  )(f);
3308
3308
  }
3309
3309
  function c(f) {
3310
- return e.attempt(ql, p, p)(f);
3310
+ return e.attempt($l, p, p)(f);
3311
3311
  }
3312
3312
  function p(f) {
3313
3313
  return F(f) ? U(e, d, "whitespace")(f) : d(f);
@@ -3316,13 +3316,13 @@ function $l(e, n, t) {
3316
3316
  return f === null || L(f) ? (e.exit("definition"), r.parser.defined.push(i), n(f)) : t(f);
3317
3317
  }
3318
3318
  }
3319
- function Wl(e, n, t) {
3319
+ function Yl(e, n, t) {
3320
3320
  return r;
3321
3321
  function r(u) {
3322
3322
  return K(u) ? Be(e, i)(u) : t(u);
3323
3323
  }
3324
3324
  function i(u) {
3325
- return ar(e, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(u);
3325
+ return sr(e, l, t, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(u);
3326
3326
  }
3327
3327
  function l(u) {
3328
3328
  return F(u) ? U(e, o, "whitespace")(u) : o(u);
@@ -3331,11 +3331,11 @@ function Wl(e, n, t) {
3331
3331
  return u === null || L(u) ? n(u) : t(u);
3332
3332
  }
3333
3333
  }
3334
- const Yl = {
3334
+ const Xl = {
3335
3335
  name: "hardBreakEscape",
3336
- tokenize: Xl
3336
+ tokenize: Gl
3337
3337
  };
3338
- function Xl(e, n, t) {
3338
+ function Gl(e, n, t) {
3339
3339
  return r;
3340
3340
  function r(l) {
3341
3341
  return e.enter("hardBreakEscape"), e.consume(l), i;
@@ -3344,12 +3344,12 @@ function Xl(e, n, t) {
3344
3344
  return L(l) ? (e.exit("hardBreakEscape"), n(l)) : t(l);
3345
3345
  }
3346
3346
  }
3347
- const Gl = {
3347
+ const Ql = {
3348
3348
  name: "headingAtx",
3349
- resolve: Ql,
3350
- tokenize: Kl
3349
+ resolve: Kl,
3350
+ tokenize: Jl
3351
3351
  };
3352
- function Ql(e, n) {
3352
+ function Kl(e, n) {
3353
3353
  let t = e.length - 2, r = 3, i, l;
3354
3354
  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 = {
3355
3355
  type: "atxHeadingText",
@@ -3362,7 +3362,7 @@ function Ql(e, n) {
3362
3362
  contentType: "text"
3363
3363
  }, ce(e, r, t - r + 1, [["enter", i, n], ["enter", l, n], ["exit", l, n], ["exit", i, n]])), e;
3364
3364
  }
3365
- function Kl(e, n, t) {
3365
+ function Jl(e, n, t) {
3366
3366
  let r = 0;
3367
3367
  return i;
3368
3368
  function i(c) {
@@ -3384,7 +3384,7 @@ function Kl(e, n, t) {
3384
3384
  return c === null || c === 35 || K(c) ? (e.exit("atxHeadingText"), u(c)) : (e.consume(c), a);
3385
3385
  }
3386
3386
  }
3387
- const Jl = [
3387
+ const Zl = [
3388
3388
  "address",
3389
3389
  "article",
3390
3390
  "aside",
@@ -3447,25 +3447,25 @@ const Jl = [
3447
3447
  "tr",
3448
3448
  "track",
3449
3449
  "ul"
3450
- ], ht = ["pre", "script", "style", "textarea"], Zl = {
3450
+ ], mt = ["pre", "script", "style", "textarea"], eo = {
3451
3451
  concrete: !0,
3452
3452
  name: "htmlFlow",
3453
- resolveTo: to,
3454
- tokenize: ro
3455
- }, eo = {
3456
- partial: !0,
3457
- tokenize: lo
3453
+ resolveTo: ro,
3454
+ tokenize: io
3458
3455
  }, no = {
3459
3456
  partial: !0,
3460
- tokenize: io
3457
+ tokenize: oo
3458
+ }, to = {
3459
+ partial: !0,
3460
+ tokenize: lo
3461
3461
  };
3462
- function to(e) {
3462
+ function ro(e) {
3463
3463
  let n = e.length;
3464
3464
  for (; n-- && !(e[n][0] === "enter" && e[n][1].type === "htmlFlow"); )
3465
3465
  ;
3466
3466
  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;
3467
3467
  }
3468
- function ro(e, n, t) {
3468
+ function io(e, n, t) {
3469
3469
  const r = this;
3470
3470
  let i, l, o, u, s;
3471
3471
  return a;
@@ -3494,7 +3494,7 @@ function ro(e, n, t) {
3494
3494
  function z(m) {
3495
3495
  if (m === null || m === 47 || m === 62 || K(m)) {
3496
3496
  const oe = m === 47, xe = o.toLowerCase();
3497
- return !oe && !l && ht.includes(xe) ? (i = 1, r.interrupt ? n(m) : I(m)) : Jl.includes(o.toLowerCase()) ? (i = 6, oe ? (e.consume(m), k) : r.interrupt ? n(m) : I(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? P(m) : C(m));
3497
+ return !oe && !l && mt.includes(xe) ? (i = 1, r.interrupt ? n(m) : I(m)) : Zl.includes(o.toLowerCase()) ? (i = 6, oe ? (e.consume(m), k) : r.interrupt ? n(m) : I(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? P(m) : C(m));
3498
3498
  }
3499
3499
  return m === 45 || ne(m) ? (e.consume(m), o += String.fromCharCode(m), z) : t(m);
3500
3500
  }
@@ -3532,10 +3532,10 @@ function ro(e, n, t) {
3532
3532
  return m === null || L(m) ? I(m) : F(m) ? (e.consume(m), A) : t(m);
3533
3533
  }
3534
3534
  function I(m) {
3535
- return m === 45 && i === 2 ? (e.consume(m), W) : m === 60 && i === 1 ? (e.consume(m), Y) : m === 62 && i === 4 ? (e.consume(m), le) : 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(eo, fe, T)(m)) : m === null || L(m) ? (e.exit("htmlFlowData"), T(m)) : (e.consume(m), I);
3535
+ return m === 45 && i === 2 ? (e.consume(m), W) : m === 60 && i === 1 ? (e.consume(m), Y) : m === 62 && i === 4 ? (e.consume(m), le) : 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(no, fe, T)(m)) : m === null || L(m) ? (e.exit("htmlFlowData"), T(m)) : (e.consume(m), I);
3536
3536
  }
3537
3537
  function T(m) {
3538
- return e.check(no, E, fe)(m);
3538
+ return e.check(to, E, fe)(m);
3539
3539
  }
3540
3540
  function E(m) {
3541
3541
  return e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), N;
@@ -3552,7 +3552,7 @@ function ro(e, n, t) {
3552
3552
  function ie(m) {
3553
3553
  if (m === 62) {
3554
3554
  const oe = o.toLowerCase();
3555
- return ht.includes(oe) ? (e.consume(m), le) : I(m);
3555
+ return mt.includes(oe) ? (e.consume(m), le) : I(m);
3556
3556
  }
3557
3557
  return se(m) && o.length < 8 ? (e.consume(m), o += String.fromCharCode(m), ie) : I(m);
3558
3558
  }
@@ -3569,7 +3569,7 @@ function ro(e, n, t) {
3569
3569
  return e.exit("htmlFlow"), n(m);
3570
3570
  }
3571
3571
  }
3572
- function io(e, n, t) {
3572
+ function lo(e, n, t) {
3573
3573
  const r = this;
3574
3574
  return i;
3575
3575
  function i(o) {
@@ -3579,17 +3579,17 @@ function io(e, n, t) {
3579
3579
  return r.parser.lazy[r.now().line] ? t(o) : n(o);
3580
3580
  }
3581
3581
  }
3582
- function lo(e, n, t) {
3582
+ function oo(e, n, t) {
3583
3583
  return r;
3584
3584
  function r(i) {
3585
3585
  return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(Ze, n, t);
3586
3586
  }
3587
3587
  }
3588
- const oo = {
3588
+ const uo = {
3589
3589
  name: "htmlText",
3590
- tokenize: uo
3590
+ tokenize: ao
3591
3591
  };
3592
- function uo(e, n, t) {
3592
+ function ao(e, n, t) {
3593
3593
  const r = this;
3594
3594
  let i, l, o;
3595
3595
  return u;
@@ -3682,19 +3682,19 @@ function uo(e, n, t) {
3682
3682
  return e.enter("htmlTextData"), o(h);
3683
3683
  }
3684
3684
  }
3685
- const Mn = {
3685
+ const Bn = {
3686
3686
  name: "labelEnd",
3687
- resolveAll: po,
3688
- resolveTo: fo,
3689
- tokenize: ho
3690
- }, ao = {
3687
+ resolveAll: fo,
3688
+ resolveTo: ho,
3691
3689
  tokenize: mo
3692
3690
  }, so = {
3693
3691
  tokenize: go
3694
3692
  }, co = {
3695
3693
  tokenize: yo
3694
+ }, po = {
3695
+ tokenize: xo
3696
3696
  };
3697
- function po(e) {
3697
+ function fo(e) {
3698
3698
  let n = -1;
3699
3699
  const t = [];
3700
3700
  for (; ++n < e.length; ) {
@@ -3706,7 +3706,7 @@ function po(e) {
3706
3706
  }
3707
3707
  return e.length !== t.length && ce(e, 0, e.length, t), e;
3708
3708
  }
3709
- function fo(e, n) {
3709
+ function ho(e, n) {
3710
3710
  let t = e.length, r = 0, i, l, o, u;
3711
3711
  for (; t--; )
3712
3712
  if (i = e[t][1], l) {
@@ -3744,9 +3744,9 @@ function fo(e, n) {
3744
3744
  ...e[o - 2][1].start
3745
3745
  }
3746
3746
  };
3747
- return u = [["enter", s, n], ["enter", a, n]], u = re(u, e.slice(l + 1, l + r + 3)), u = re(u, [["enter", c, n]]), u = re(u, Dn(n.parser.constructs.insideSpan.null, e.slice(l + r + 4, o - 3), n)), u = re(u, [["exit", c, n], e[o - 2], e[o - 1], ["exit", a, n]]), u = re(u, e.slice(o + 1)), u = re(u, [["exit", s, n]]), ce(e, l, e.length, u), e;
3747
+ return u = [["enter", s, n], ["enter", a, n]], u = re(u, e.slice(l + 1, l + r + 3)), u = re(u, [["enter", c, n]]), u = re(u, Mn(n.parser.constructs.insideSpan.null, e.slice(l + r + 4, o - 3), n)), u = re(u, [["exit", c, n], e[o - 2], e[o - 1], ["exit", a, n]]), u = re(u, e.slice(o + 1)), u = re(u, [["exit", s, n]]), ce(e, l, e.length, u), e;
3748
3748
  }
3749
- function ho(e, n, t) {
3749
+ function mo(e, n, t) {
3750
3750
  const r = this;
3751
3751
  let i = r.events.length, l, o;
3752
3752
  for (; i--; )
@@ -3762,10 +3762,10 @@ function ho(e, n, t) {
3762
3762
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(d), e.exit("labelMarker"), e.exit("labelEnd"), s) : t(d);
3763
3763
  }
3764
3764
  function s(d) {
3765
- return d === 40 ? e.attempt(ao, c, o ? c : p)(d) : d === 91 ? e.attempt(so, c, o ? a : p)(d) : o ? c(d) : p(d);
3765
+ return d === 40 ? e.attempt(so, c, o ? c : p)(d) : d === 91 ? e.attempt(co, c, o ? a : p)(d) : o ? c(d) : p(d);
3766
3766
  }
3767
3767
  function a(d) {
3768
- return e.attempt(co, c, p)(d);
3768
+ return e.attempt(po, c, p)(d);
3769
3769
  }
3770
3770
  function c(d) {
3771
3771
  return n(d);
@@ -3774,7 +3774,7 @@ function ho(e, n, t) {
3774
3774
  return l._balanced = !0, t(d);
3775
3775
  }
3776
3776
  }
3777
- function mo(e, n, t) {
3777
+ function go(e, n, t) {
3778
3778
  return r;
3779
3779
  function r(p) {
3780
3780
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), i;
@@ -3783,7 +3783,7 @@ function mo(e, n, t) {
3783
3783
  return K(p) ? Be(e, l)(p) : l(p);
3784
3784
  }
3785
3785
  function l(p) {
3786
- return p === 41 ? c(p) : or(e, o, u, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
3786
+ return p === 41 ? c(p) : ur(e, o, u, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
3787
3787
  }
3788
3788
  function o(p) {
3789
3789
  return K(p) ? Be(e, s)(p) : c(p);
@@ -3792,7 +3792,7 @@ function mo(e, n, t) {
3792
3792
  return t(p);
3793
3793
  }
3794
3794
  function s(p) {
3795
- return p === 34 || p === 39 || p === 40 ? ar(e, a, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : c(p);
3795
+ return p === 34 || p === 39 || p === 40 ? sr(e, a, t, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : c(p);
3796
3796
  }
3797
3797
  function a(p) {
3798
3798
  return K(p) ? Be(e, c)(p) : c(p);
@@ -3801,11 +3801,11 @@ function mo(e, n, t) {
3801
3801
  return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), n) : t(p);
3802
3802
  }
3803
3803
  }
3804
- function go(e, n, t) {
3804
+ function yo(e, n, t) {
3805
3805
  const r = this;
3806
3806
  return i;
3807
3807
  function i(u) {
3808
- return ur.call(r, e, l, o, "reference", "referenceMarker", "referenceString")(u);
3808
+ return ar.call(r, e, l, o, "reference", "referenceMarker", "referenceString")(u);
3809
3809
  }
3810
3810
  function l(u) {
3811
3811
  return r.parser.defined.includes(Ae(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? n(u) : t(u);
@@ -3814,7 +3814,7 @@ function go(e, n, t) {
3814
3814
  return t(u);
3815
3815
  }
3816
3816
  }
3817
- function yo(e, n, t) {
3817
+ function xo(e, n, t) {
3818
3818
  return r;
3819
3819
  function r(l) {
3820
3820
  return e.enter("reference"), e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), i;
@@ -3823,12 +3823,12 @@ function yo(e, n, t) {
3823
3823
  return l === 93 ? (e.enter("referenceMarker"), e.consume(l), e.exit("referenceMarker"), e.exit("reference"), n) : t(l);
3824
3824
  }
3825
3825
  }
3826
- const xo = {
3826
+ const ko = {
3827
3827
  name: "labelStartImage",
3828
- resolveAll: Mn.resolveAll,
3829
- tokenize: ko
3828
+ resolveAll: Bn.resolveAll,
3829
+ tokenize: bo
3830
3830
  };
3831
- function ko(e, n, t) {
3831
+ function bo(e, n, t) {
3832
3832
  const r = this;
3833
3833
  return i;
3834
3834
  function i(u) {
@@ -3841,12 +3841,12 @@ function ko(e, n, t) {
3841
3841
  return u === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(u) : n(u);
3842
3842
  }
3843
3843
  }
3844
- const bo = {
3844
+ const wo = {
3845
3845
  name: "labelStartLink",
3846
- resolveAll: Mn.resolveAll,
3847
- tokenize: wo
3846
+ resolveAll: Bn.resolveAll,
3847
+ tokenize: So
3848
3848
  };
3849
- function wo(e, n, t) {
3849
+ function So(e, n, t) {
3850
3850
  const r = this;
3851
3851
  return i;
3852
3852
  function i(o) {
@@ -3858,9 +3858,9 @@ function wo(e, n, t) {
3858
3858
  }
3859
3859
  const ln = {
3860
3860
  name: "lineEnding",
3861
- tokenize: So
3861
+ tokenize: Co
3862
3862
  };
3863
- function So(e, n) {
3863
+ function Co(e, n) {
3864
3864
  return t;
3865
3865
  function t(r) {
3866
3866
  return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), U(e, n, "linePrefix");
@@ -3868,9 +3868,9 @@ function So(e, n) {
3868
3868
  }
3869
3869
  const Ye = {
3870
3870
  name: "thematicBreak",
3871
- tokenize: Co
3871
+ tokenize: Eo
3872
3872
  };
3873
- function Co(e, n, t) {
3873
+ function Eo(e, n, t) {
3874
3874
  let r = 0, i;
3875
3875
  return l;
3876
3876
  function l(a) {
@@ -3888,19 +3888,19 @@ function Co(e, n, t) {
3888
3888
  }
3889
3889
  const Q = {
3890
3890
  continuation: {
3891
- tokenize: Ao
3891
+ tokenize: Po
3892
3892
  },
3893
- exit: zo,
3893
+ exit: Lo,
3894
3894
  name: "list",
3895
- tokenize: To
3896
- }, Eo = {
3897
- partial: !0,
3898
- tokenize: Lo
3895
+ tokenize: Ao
3899
3896
  }, Io = {
3900
3897
  partial: !0,
3901
- tokenize: Po
3898
+ tokenize: No
3899
+ }, To = {
3900
+ partial: !0,
3901
+ tokenize: zo
3902
3902
  };
3903
- function To(e, n, t) {
3903
+ function Ao(e, n, t) {
3904
3904
  const r = this, i = r.events[r.events.length - 1];
3905
3905
  let l = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
3906
3906
  return u;
@@ -3924,7 +3924,7 @@ function To(e, n, t) {
3924
3924
  Ze,
3925
3925
  // Can’t be empty when interrupting.
3926
3926
  r.interrupt ? t : c,
3927
- e.attempt(Eo, d, p)
3927
+ e.attempt(Io, d, p)
3928
3928
  );
3929
3929
  }
3930
3930
  function c(f) {
@@ -3937,20 +3937,20 @@ function To(e, n, t) {
3937
3937
  return r.containerState.size = l + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, n(f);
3938
3938
  }
3939
3939
  }
3940
- function Ao(e, n, t) {
3940
+ function Po(e, n, t) {
3941
3941
  const r = this;
3942
3942
  return r.containerState._closeFlow = void 0, e.check(Ze, i, l);
3943
3943
  function i(u) {
3944
3944
  return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, U(e, n, "listItemIndent", r.containerState.size + 1)(u);
3945
3945
  }
3946
3946
  function l(u) {
3947
- return r.containerState.furtherBlankLines || !F(u) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(u)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(Io, n, o)(u));
3947
+ return r.containerState.furtherBlankLines || !F(u) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(u)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(To, n, o)(u));
3948
3948
  }
3949
3949
  function o(u) {
3950
3950
  return r.containerState._closeFlow = !0, r.interrupt = void 0, U(e, e.attempt(Q, n, t), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(u);
3951
3951
  }
3952
3952
  }
3953
- function Po(e, n, t) {
3953
+ function zo(e, n, t) {
3954
3954
  const r = this;
3955
3955
  return U(e, i, "listItemIndent", r.containerState.size + 1);
3956
3956
  function i(l) {
@@ -3958,10 +3958,10 @@ function Po(e, n, t) {
3958
3958
  return o && o[1].type === "listItemIndent" && o[2].sliceSerialize(o[1], !0).length === r.containerState.size ? n(l) : t(l);
3959
3959
  }
3960
3960
  }
3961
- function zo(e) {
3961
+ function Lo(e) {
3962
3962
  e.exit(this.containerState.type);
3963
3963
  }
3964
- function Lo(e, n, t) {
3964
+ function No(e, n, t) {
3965
3965
  const r = this;
3966
3966
  return U(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
3967
3967
  function i(l) {
@@ -3969,12 +3969,12 @@ function Lo(e, n, t) {
3969
3969
  return !F(l) && o && o[1].type === "listItemPrefixWhitespace" ? n(l) : t(l);
3970
3970
  }
3971
3971
  }
3972
- const mt = {
3972
+ const dt = {
3973
3973
  name: "setextUnderline",
3974
- resolveTo: No,
3975
- tokenize: _o
3974
+ resolveTo: _o,
3975
+ tokenize: vo
3976
3976
  };
3977
- function No(e, n) {
3977
+ function _o(e, n) {
3978
3978
  let t = e.length, r, i, l;
3979
3979
  for (; t--; )
3980
3980
  if (e[t][0] === "enter") {
@@ -3998,7 +3998,7 @@ function No(e, n) {
3998
3998
  ...e[l][1].end
3999
3999
  }) : e[r][1] = o, e.push(["exit", o, n]), e;
4000
4000
  }
4001
- function _o(e, n, t) {
4001
+ function vo(e, n, t) {
4002
4002
  const r = this;
4003
4003
  let i;
4004
4004
  return l;
@@ -4021,16 +4021,16 @@ function _o(e, n, t) {
4021
4021
  return a === null || L(a) ? (e.exit("setextHeadingLine"), n(a)) : t(a);
4022
4022
  }
4023
4023
  }
4024
- const vo = {
4025
- tokenize: Oo
4024
+ const Oo = {
4025
+ tokenize: Ro
4026
4026
  };
4027
- function Oo(e) {
4027
+ function Ro(e) {
4028
4028
  const n = this, t = e.attempt(
4029
4029
  // Try to parse a blank line.
4030
4030
  Ze,
4031
4031
  r,
4032
4032
  // Try to parse initial flow (essentially, only code).
4033
- e.attempt(this.parser.constructs.flowInitial, i, U(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Ml, i)), "linePrefix"))
4033
+ e.attempt(this.parser.constructs.flowInitial, i, U(e, e.attempt(this.parser.constructs.flow, i, e.attempt(Bl, i)), "linePrefix"))
4034
4034
  );
4035
4035
  return t;
4036
4036
  function r(l) {
@@ -4048,12 +4048,12 @@ function Oo(e) {
4048
4048
  return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), n.currentConstruct = void 0, t;
4049
4049
  }
4050
4050
  }
4051
- const Ro = {
4052
- resolveAll: cr()
4053
- }, Fo = sr("string"), Do = sr("text");
4054
- function sr(e) {
4051
+ const Fo = {
4052
+ resolveAll: pr()
4053
+ }, Do = cr("string"), Mo = cr("text");
4054
+ function cr(e) {
4055
4055
  return {
4056
- resolveAll: cr(e === "text" ? Mo : void 0),
4056
+ resolveAll: pr(e === "text" ? Bo : void 0),
4057
4057
  tokenize: n
4058
4058
  };
4059
4059
  function n(t) {
@@ -4087,7 +4087,7 @@ function sr(e) {
4087
4087
  }
4088
4088
  }
4089
4089
  }
4090
- function cr(e) {
4090
+ function pr(e) {
4091
4091
  return n;
4092
4092
  function n(t, r) {
4093
4093
  let i = -1, l;
@@ -4096,7 +4096,7 @@ function cr(e) {
4096
4096
  return e ? e(t, r) : t;
4097
4097
  }
4098
4098
  }
4099
- function Mo(e, n) {
4099
+ function Bo(e, n) {
4100
4100
  let t = 0;
4101
4101
  for (; ++t <= e.length; )
4102
4102
  if ((t === e.length || e[t][1].type === "lineEnding") && e[t - 1][1].type === "data") {
@@ -4138,7 +4138,7 @@ function Mo(e, n) {
4138
4138
  }
4139
4139
  return e;
4140
4140
  }
4141
- const Bo = {
4141
+ const jo = {
4142
4142
  42: Q,
4143
4143
  43: Q,
4144
4144
  45: Q,
@@ -4152,46 +4152,46 @@ const Bo = {
4152
4152
  55: Q,
4153
4153
  56: Q,
4154
4154
  57: Q,
4155
- 62: tr
4156
- }, jo = {
4157
- 91: Ul
4155
+ 62: rr
4158
4156
  }, Vo = {
4157
+ 91: ql
4158
+ }, Ho = {
4159
4159
  [-2]: rn,
4160
4160
  [-1]: rn,
4161
4161
  32: rn
4162
- }, Ho = {
4163
- 35: Gl,
4162
+ }, Uo = {
4163
+ 35: Ql,
4164
4164
  42: Ye,
4165
- 45: [mt, Ye],
4166
- 60: Zl,
4167
- 61: mt,
4165
+ 45: [dt, Ye],
4166
+ 60: eo,
4167
+ 61: dt,
4168
4168
  95: Ye,
4169
- 96: ft,
4170
- 126: ft
4171
- }, Uo = {
4172
- 38: ir,
4173
- 92: rr
4169
+ 96: ht,
4170
+ 126: ht
4174
4171
  }, qo = {
4172
+ 38: lr,
4173
+ 92: ir
4174
+ }, $o = {
4175
4175
  [-5]: ln,
4176
4176
  [-4]: ln,
4177
4177
  [-3]: ln,
4178
- 33: xo,
4179
- 38: ir,
4178
+ 33: ko,
4179
+ 38: lr,
4180
4180
  42: kn,
4181
- 60: [kl, oo],
4182
- 91: bo,
4183
- 92: [Yl, rr],
4184
- 93: Mn,
4181
+ 60: [bl, uo],
4182
+ 91: wo,
4183
+ 92: [Xl, ir],
4184
+ 93: Bn,
4185
4185
  95: kn,
4186
- 96: _l
4187
- }, $o = {
4188
- null: [kn, Ro]
4186
+ 96: vl
4189
4187
  }, Wo = {
4190
- null: [42, 95]
4188
+ null: [kn, Fo]
4191
4189
  }, Yo = {
4190
+ null: [42, 95]
4191
+ }, Xo = {
4192
4192
  null: []
4193
- }, Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: Wo, contentInitial: jo, disable: Yo, document: Bo, flow: Ho, flowInitial: Vo, insideSpan: $o, string: Uo, text: qo }, Symbol.toStringTag, { value: "Module" }));
4194
- function Go(e, n, t) {
4193
+ }, Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, attentionMarkers: Yo, contentInitial: Vo, disable: Xo, document: jo, flow: Uo, flowInitial: Ho, insideSpan: Wo, string: qo, text: $o }, Symbol.toStringTag, { value: "Module" }));
4194
+ function Qo(e, n, t) {
4195
4195
  let r = {
4196
4196
  _bufferIndex: -1,
4197
4197
  _index: 0,
@@ -4225,13 +4225,13 @@ function Go(e, n, t) {
4225
4225
  let c = n.tokenize.call(a, s);
4226
4226
  return n.resolveAll && l.push(n), a;
4227
4227
  function p(A) {
4228
- return o = re(o, A), z(), o[o.length - 1] !== null ? [] : (q(n, 0), a.events = Dn(l, a.events, a), a.events);
4228
+ return o = re(o, A), z(), o[o.length - 1] !== null ? [] : (q(n, 0), a.events = Mn(l, a.events, a), a.events);
4229
4229
  }
4230
4230
  function d(A, I) {
4231
- return Ko(f(A), I);
4231
+ return Jo(f(A), I);
4232
4232
  }
4233
4233
  function f(A) {
4234
- return Qo(o, A);
4234
+ return Ko(o, A);
4235
4235
  }
4236
4236
  function w() {
4237
4237
  const {
@@ -4354,7 +4354,7 @@ function Go(e, n, t) {
4354
4354
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
4355
4355
  }
4356
4356
  }
4357
- function Qo(e, n) {
4357
+ function Ko(e, n) {
4358
4358
  const t = n.start._index, r = n.start._bufferIndex, i = n.end._index, l = n.end._bufferIndex;
4359
4359
  let o;
4360
4360
  if (t === i)
@@ -4368,7 +4368,7 @@ function Qo(e, n) {
4368
4368
  }
4369
4369
  return o;
4370
4370
  }
4371
- function Ko(e, n) {
4371
+ function Jo(e, n) {
4372
4372
  let t = -1;
4373
4373
  const r = [];
4374
4374
  let i;
@@ -4408,42 +4408,42 @@ function Ko(e, n) {
4408
4408
  }
4409
4409
  return r.join("");
4410
4410
  }
4411
- function Jo(e) {
4411
+ function Zo(e) {
4412
4412
  const r = {
4413
4413
  constructs: (
4414
4414
  /** @type {FullNormalizedExtension} */
4415
- il([Xo, ...(e || {}).extensions || []])
4415
+ ll([Go, ...(e || {}).extensions || []])
4416
4416
  ),
4417
- content: i(fl),
4417
+ content: i(hl),
4418
4418
  defined: [],
4419
- document: i(ml),
4420
- flow: i(vo),
4419
+ document: i(dl),
4420
+ flow: i(Oo),
4421
4421
  lazy: {},
4422
- string: i(Fo),
4423
- text: i(Do)
4422
+ string: i(Do),
4423
+ text: i(Mo)
4424
4424
  };
4425
4425
  return r;
4426
4426
  function i(l) {
4427
4427
  return o;
4428
4428
  function o(u) {
4429
- return Go(r, l, u);
4429
+ return Qo(r, l, u);
4430
4430
  }
4431
4431
  }
4432
4432
  }
4433
- function Zo(e) {
4434
- for (; !lr(e); )
4433
+ function eu(e) {
4434
+ for (; !or(e); )
4435
4435
  ;
4436
4436
  return e;
4437
4437
  }
4438
- const dt = /[\0\t\n\r]/g;
4439
- function eu() {
4438
+ const gt = /[\0\t\n\r]/g;
4439
+ function nu() {
4440
4440
  let e = 1, n = "", t = !0, r;
4441
4441
  return i;
4442
4442
  function i(l, o, u) {
4443
4443
  const s = [];
4444
4444
  let a, c, p, d, f;
4445
4445
  for (l = n + (typeof l == "string" ? l.toString() : new TextDecoder(o || void 0).decode(l)), p = 0, n = "", t && (l.charCodeAt(0) === 65279 && p++, t = void 0); p < l.length; ) {
4446
- if (dt.lastIndex = p, a = dt.exec(l), d = a && a.index !== void 0 ? a.index : l.length, f = l.charCodeAt(d), !a) {
4446
+ if (gt.lastIndex = p, a = gt.exec(l), d = a && a.index !== void 0 ? a.index : l.length, f = l.charCodeAt(d), !a) {
4447
4447
  n = l.slice(p);
4448
4448
  break;
4449
4449
  }
@@ -4471,32 +4471,32 @@ function eu() {
4471
4471
  return u && (r && s.push(-5), n && s.push(n), s.push(null)), s;
4472
4472
  }
4473
4473
  }
4474
- const nu = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4475
- function tu(e) {
4476
- return e.replace(nu, ru);
4474
+ const tu = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
4475
+ function ru(e) {
4476
+ return e.replace(tu, iu);
4477
4477
  }
4478
- function ru(e, n, t) {
4478
+ function iu(e, n, t) {
4479
4479
  if (n)
4480
4480
  return n;
4481
4481
  if (t.charCodeAt(0) === 35) {
4482
4482
  const i = t.charCodeAt(1), l = i === 120 || i === 88;
4483
- return nr(t.slice(l ? 2 : 1), l ? 16 : 10);
4483
+ return tr(t.slice(l ? 2 : 1), l ? 16 : 10);
4484
4484
  }
4485
- return Fn(t) || e;
4485
+ return Dn(t) || e;
4486
4486
  }
4487
- const pr = {}.hasOwnProperty;
4488
- function iu(e, n, t) {
4489
- return typeof n != "string" && (t = n, n = void 0), lu(t)(Zo(Jo(t).document().write(eu()(e, n, !0))));
4487
+ const fr = {}.hasOwnProperty;
4488
+ function lu(e, n, t) {
4489
+ return typeof n != "string" && (t = n, n = void 0), ou(t)(eu(Zo(t).document().write(nu()(e, n, !0))));
4490
4490
  }
4491
- function lu(e) {
4491
+ function ou(e) {
4492
4492
  const n = {
4493
4493
  transforms: [],
4494
4494
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
4495
4495
  enter: {
4496
- autolink: l(Un),
4496
+ autolink: l(qn),
4497
4497
  autolinkProtocol: D,
4498
4498
  autolinkEmail: D,
4499
- atxHeading: l(jn),
4499
+ atxHeading: l(Vn),
4500
4500
  blockQuote: l(Ce),
4501
4501
  characterEscape: D,
4502
4502
  characterReference: D,
@@ -4504,36 +4504,36 @@ function lu(e) {
4504
4504
  codeFencedFenceInfo: o,
4505
4505
  codeFencedFenceMeta: o,
4506
4506
  codeIndented: l(Ue, o),
4507
- codeText: l(dr, o),
4507
+ codeText: l(gr, o),
4508
4508
  codeTextData: D,
4509
4509
  data: D,
4510
4510
  codeFlowValue: D,
4511
- definition: l(gr),
4511
+ definition: l(yr),
4512
4512
  definitionDestinationString: o,
4513
4513
  definitionLabelString: o,
4514
4514
  definitionTitleString: o,
4515
- emphasis: l(yr),
4516
- hardBreakEscape: l(Vn),
4517
- hardBreakTrailing: l(Vn),
4518
- htmlFlow: l(Hn, o),
4515
+ emphasis: l(xr),
4516
+ hardBreakEscape: l(Hn),
4517
+ hardBreakTrailing: l(Hn),
4518
+ htmlFlow: l(Un, o),
4519
4519
  htmlFlowData: D,
4520
- htmlText: l(Hn, o),
4520
+ htmlText: l(Un, o),
4521
4521
  htmlTextData: D,
4522
- image: l(xr),
4522
+ image: l(kr),
4523
4523
  label: o,
4524
- link: l(Un),
4525
- listItem: l(kr),
4524
+ link: l(qn),
4525
+ listItem: l(br),
4526
4526
  listItemValue: d,
4527
- listOrdered: l(qn, p),
4528
- listUnordered: l(qn),
4529
- paragraph: l(br),
4527
+ listOrdered: l($n, p),
4528
+ listUnordered: l($n),
4529
+ paragraph: l(wr),
4530
4530
  reference: m,
4531
4531
  referenceString: o,
4532
4532
  resourceDestinationString: o,
4533
4533
  resourceTitleString: o,
4534
- setextHeading: l(jn),
4535
- strong: l(wr),
4536
- thematicBreak: l(Cr)
4534
+ setextHeading: l(Vn),
4535
+ strong: l(Sr),
4536
+ thematicBreak: l(Er)
4537
4537
  },
4538
4538
  exit: {
4539
4539
  atxHeading: s(),
@@ -4587,7 +4587,7 @@ function lu(e) {
4587
4587
  thematicBreak: s()
4588
4588
  }
4589
4589
  };
4590
- fr(n, (e || {}).mdastExtensions || []);
4590
+ hr(n, (e || {}).mdastExtensions || []);
4591
4591
  const t = {};
4592
4592
  return r;
4593
4593
  function r(g) {
@@ -4616,13 +4616,13 @@ function lu(e) {
4616
4616
  }
4617
4617
  for (j = -1; ++j < g.length; ) {
4618
4618
  const ue = n[g[j][0]];
4619
- pr.call(ue, g[j][1].type) && ue[g[j][1].type].call(Object.assign({
4619
+ fr.call(ue, g[j][1].type) && ue[g[j][1].type].call(Object.assign({
4620
4620
  sliceSerialize: g[j][2].sliceSerialize
4621
4621
  }, _), g[j][1]);
4622
4622
  }
4623
4623
  if (_.tokenStack.length > 0) {
4624
4624
  const ue = _.tokenStack[_.tokenStack.length - 1];
4625
- (ue[1] || gt).call(_, void 0, ue[0]);
4625
+ (ue[1] || yt).call(_, void 0, ue[0]);
4626
4626
  }
4627
4627
  for (S.position = {
4628
4628
  start: ge(g.length > 0 ? g[0][1].start : {
@@ -4717,7 +4717,7 @@ function lu(e) {
4717
4717
  function a(g, S) {
4718
4718
  const _ = this.stack.pop(), O = this.tokenStack.pop();
4719
4719
  if (O)
4720
- O[0].type !== g.type && (S ? S.call(this, g, O[0]) : (O[1] || gt).call(this, g, O[0]));
4720
+ O[0].type !== g.type && (S ? S.call(this, g, O[0]) : (O[1] || yt).call(this, g, O[0]));
4721
4721
  else throw new Error("Cannot close `" + g.type + "` (" + Me({
4722
4722
  start: g.start,
4723
4723
  end: g.end
@@ -4725,7 +4725,7 @@ function lu(e) {
4725
4725
  _.position.end = ge(g.end);
4726
4726
  }
4727
4727
  function c() {
4728
- return tl(this.stack.pop());
4728
+ return rl(this.stack.pop());
4729
4729
  }
4730
4730
  function p() {
4731
4731
  this.data.expectingFirstListItemValue = !0;
@@ -4787,7 +4787,7 @@ function lu(e) {
4787
4787
  function D(g) {
4788
4788
  const _ = this.stack[this.stack.length - 1].children;
4789
4789
  let O = _[_.length - 1];
4790
- (!O || O.type !== "text") && (O = Sr(), O.position = {
4790
+ (!O || O.type !== "text") && (O = Cr(), O.position = {
4791
4791
  start: ge(g.start),
4792
4792
  // @ts-expect-error: we’ll add `end` later.
4793
4793
  end: void 0
@@ -4841,7 +4841,7 @@ function lu(e) {
4841
4841
  }
4842
4842
  function ie(g) {
4843
4843
  const S = this.sliceSerialize(g), _ = this.stack[this.stack.length - 2];
4844
- _.label = tu(S), _.identifier = Ae(S).toLowerCase();
4844
+ _.label = ru(S), _.identifier = Ae(S).toLowerCase();
4845
4845
  }
4846
4846
  function pe() {
4847
4847
  const g = this.stack[this.stack.length - 1], S = this.resume(), _ = this.stack[this.stack.length - 1];
@@ -4875,7 +4875,7 @@ function lu(e) {
4875
4875
  function X(g) {
4876
4876
  const S = this.sliceSerialize(g), _ = this.data.characterReferenceType;
4877
4877
  let O;
4878
- _ ? (O = nr(S, _ === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : O = Fn(S);
4878
+ _ ? (O = tr(S, _ === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : O = Dn(S);
4879
4879
  const j = this.stack[this.stack.length - 1];
4880
4880
  j.value += O;
4881
4881
  }
@@ -4907,13 +4907,13 @@ function lu(e) {
4907
4907
  value: ""
4908
4908
  };
4909
4909
  }
4910
- function dr() {
4910
+ function gr() {
4911
4911
  return {
4912
4912
  type: "inlineCode",
4913
4913
  value: ""
4914
4914
  };
4915
4915
  }
4916
- function gr() {
4916
+ function yr() {
4917
4917
  return {
4918
4918
  type: "definition",
4919
4919
  identifier: "",
@@ -4922,13 +4922,13 @@ function lu(e) {
4922
4922
  url: ""
4923
4923
  };
4924
4924
  }
4925
- function yr() {
4925
+ function xr() {
4926
4926
  return {
4927
4927
  type: "emphasis",
4928
4928
  children: []
4929
4929
  };
4930
4930
  }
4931
- function jn() {
4931
+ function Vn() {
4932
4932
  return {
4933
4933
  type: "heading",
4934
4934
  // @ts-expect-error `depth` will be set later.
@@ -4936,18 +4936,18 @@ function lu(e) {
4936
4936
  children: []
4937
4937
  };
4938
4938
  }
4939
- function Vn() {
4939
+ function Hn() {
4940
4940
  return {
4941
4941
  type: "break"
4942
4942
  };
4943
4943
  }
4944
- function Hn() {
4944
+ function Un() {
4945
4945
  return {
4946
4946
  type: "html",
4947
4947
  value: ""
4948
4948
  };
4949
4949
  }
4950
- function xr() {
4950
+ function kr() {
4951
4951
  return {
4952
4952
  type: "image",
4953
4953
  title: null,
@@ -4955,7 +4955,7 @@ function lu(e) {
4955
4955
  alt: null
4956
4956
  };
4957
4957
  }
4958
- function Un() {
4958
+ function qn() {
4959
4959
  return {
4960
4960
  type: "link",
4961
4961
  title: null,
@@ -4963,7 +4963,7 @@ function lu(e) {
4963
4963
  children: []
4964
4964
  };
4965
4965
  }
4966
- function qn(g) {
4966
+ function $n(g) {
4967
4967
  return {
4968
4968
  type: "list",
4969
4969
  ordered: g.type === "listOrdered",
@@ -4972,7 +4972,7 @@ function lu(e) {
4972
4972
  children: []
4973
4973
  };
4974
4974
  }
4975
- function kr(g) {
4975
+ function br(g) {
4976
4976
  return {
4977
4977
  type: "listItem",
4978
4978
  spread: g._spread,
@@ -4980,25 +4980,25 @@ function lu(e) {
4980
4980
  children: []
4981
4981
  };
4982
4982
  }
4983
- function br() {
4983
+ function wr() {
4984
4984
  return {
4985
4985
  type: "paragraph",
4986
4986
  children: []
4987
4987
  };
4988
4988
  }
4989
- function wr() {
4989
+ function Sr() {
4990
4990
  return {
4991
4991
  type: "strong",
4992
4992
  children: []
4993
4993
  };
4994
4994
  }
4995
- function Sr() {
4995
+ function Cr() {
4996
4996
  return {
4997
4997
  type: "text",
4998
4998
  value: ""
4999
4999
  };
5000
5000
  }
5001
- function Cr() {
5001
+ function Er() {
5002
5002
  return {
5003
5003
  type: "thematicBreak"
5004
5004
  };
@@ -5011,17 +5011,17 @@ function ge(e) {
5011
5011
  offset: e.offset
5012
5012
  };
5013
5013
  }
5014
- function fr(e, n) {
5014
+ function hr(e, n) {
5015
5015
  let t = -1;
5016
5016
  for (; ++t < n.length; ) {
5017
5017
  const r = n[t];
5018
- Array.isArray(r) ? fr(e, r) : ou(e, r);
5018
+ Array.isArray(r) ? hr(e, r) : uu(e, r);
5019
5019
  }
5020
5020
  }
5021
- function ou(e, n) {
5021
+ function uu(e, n) {
5022
5022
  let t;
5023
5023
  for (t in n)
5024
- if (pr.call(n, t))
5024
+ if (fr.call(n, t))
5025
5025
  switch (t) {
5026
5026
  case "canContainEols": {
5027
5027
  const r = n[t];
@@ -5041,7 +5041,7 @@ function ou(e, n) {
5041
5041
  }
5042
5042
  }
5043
5043
  }
5044
- function gt(e, n) {
5044
+ function yt(e, n) {
5045
5045
  throw e ? new Error("Cannot close `" + e.type + "` (" + Me({
5046
5046
  start: e.start,
5047
5047
  end: e.end
@@ -5053,11 +5053,11 @@ function gt(e, n) {
5053
5053
  end: n.end
5054
5054
  }) + ") is still open");
5055
5055
  }
5056
- function uu(e) {
5056
+ function au(e) {
5057
5057
  const n = this;
5058
5058
  n.parser = t;
5059
5059
  function t(r) {
5060
- return iu(r, {
5060
+ return lu(r, {
5061
5061
  ...n.data("settings"),
5062
5062
  ...e,
5063
5063
  // Note: these options are not in the readme.
@@ -5068,7 +5068,7 @@ function uu(e) {
5068
5068
  });
5069
5069
  }
5070
5070
  }
5071
- function au(e, n) {
5071
+ function su(e, n) {
5072
5072
  const t = {
5073
5073
  type: "element",
5074
5074
  tagName: "blockquote",
@@ -5077,12 +5077,12 @@ function au(e, n) {
5077
5077
  };
5078
5078
  return e.patch(n, t), e.applyData(n, t);
5079
5079
  }
5080
- function su(e, n) {
5080
+ function cu(e, n) {
5081
5081
  const t = { type: "element", tagName: "br", properties: {}, children: [] };
5082
5082
  return e.patch(n, t), [e.applyData(n, t), { type: "text", value: `
5083
5083
  ` }];
5084
5084
  }
5085
- function cu(e, n) {
5085
+ function pu(e, n) {
5086
5086
  const t = n.value ? n.value + `
5087
5087
  ` : "", r = {};
5088
5088
  n.lang && (r.className = ["language-" + n.lang]);
@@ -5094,7 +5094,7 @@ function cu(e, n) {
5094
5094
  };
5095
5095
  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;
5096
5096
  }
5097
- function pu(e, n) {
5097
+ function fu(e, n) {
5098
5098
  const t = {
5099
5099
  type: "element",
5100
5100
  tagName: "del",
@@ -5103,7 +5103,7 @@ function pu(e, n) {
5103
5103
  };
5104
5104
  return e.patch(n, t), e.applyData(n, t);
5105
5105
  }
5106
- function fu(e, n) {
5106
+ function hu(e, n) {
5107
5107
  const t = {
5108
5108
  type: "element",
5109
5109
  tagName: "em",
@@ -5112,7 +5112,7 @@ function fu(e, n) {
5112
5112
  };
5113
5113
  return e.patch(n, t), e.applyData(n, t);
5114
5114
  }
5115
- function hu(e, n) {
5115
+ function mu(e, n) {
5116
5116
  const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(n.identifier).toUpperCase(), i = ze(r.toLowerCase()), l = e.footnoteOrder.indexOf(r);
5117
5117
  let o, u = e.footnoteCounts.get(r);
5118
5118
  u === void 0 ? (u = 0, e.footnoteOrder.push(r), o = e.footnoteOrder.length) : o = l + 1, u += 1, e.footnoteCounts.set(r, u);
@@ -5136,7 +5136,7 @@ function hu(e, n) {
5136
5136
  };
5137
5137
  return e.patch(n, a), e.applyData(n, a);
5138
5138
  }
5139
- function mu(e, n) {
5139
+ function du(e, n) {
5140
5140
  const t = {
5141
5141
  type: "element",
5142
5142
  tagName: "h" + n.depth,
@@ -5145,13 +5145,13 @@ function mu(e, n) {
5145
5145
  };
5146
5146
  return e.patch(n, t), e.applyData(n, t);
5147
5147
  }
5148
- function du(e, n) {
5148
+ function gu(e, n) {
5149
5149
  if (e.options.allowDangerousHtml) {
5150
5150
  const t = { type: "raw", value: n.value };
5151
5151
  return e.patch(n, t), e.applyData(n, t);
5152
5152
  }
5153
5153
  }
5154
- function hr(e, n) {
5154
+ function mr(e, n) {
5155
5155
  const t = n.referenceType;
5156
5156
  let r = "]";
5157
5157
  if (t === "collapsed" ? r += "[]" : t === "full" && (r += "[" + (n.label || n.identifier) + "]"), n.type === "imageReference")
@@ -5161,22 +5161,22 @@ function hr(e, n) {
5161
5161
  const o = i[i.length - 1];
5162
5162
  return o && o.type === "text" ? o.value += r : i.push({ type: "text", value: r }), i;
5163
5163
  }
5164
- function gu(e, n) {
5164
+ function yu(e, n) {
5165
5165
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5166
5166
  if (!r)
5167
- return hr(e, n);
5167
+ return mr(e, n);
5168
5168
  const i = { src: ze(r.url || ""), alt: n.alt };
5169
5169
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5170
5170
  const l = { type: "element", tagName: "img", properties: i, children: [] };
5171
5171
  return e.patch(n, l), e.applyData(n, l);
5172
5172
  }
5173
- function yu(e, n) {
5173
+ function xu(e, n) {
5174
5174
  const t = { src: ze(n.url) };
5175
5175
  n.alt !== null && n.alt !== void 0 && (t.alt = n.alt), n.title !== null && n.title !== void 0 && (t.title = n.title);
5176
5176
  const r = { type: "element", tagName: "img", properties: t, children: [] };
5177
5177
  return e.patch(n, r), e.applyData(n, r);
5178
5178
  }
5179
- function xu(e, n) {
5179
+ function ku(e, n) {
5180
5180
  const t = { type: "text", value: n.value.replace(/\r?\n|\r/g, " ") };
5181
5181
  e.patch(n, t);
5182
5182
  const r = {
@@ -5187,10 +5187,10 @@ function xu(e, n) {
5187
5187
  };
5188
5188
  return e.patch(n, r), e.applyData(n, r);
5189
5189
  }
5190
- function ku(e, n) {
5190
+ function bu(e, n) {
5191
5191
  const t = String(n.identifier).toUpperCase(), r = e.definitionById.get(t);
5192
5192
  if (!r)
5193
- return hr(e, n);
5193
+ return mr(e, n);
5194
5194
  const i = { href: ze(r.url || "") };
5195
5195
  r.title !== null && r.title !== void 0 && (i.title = r.title);
5196
5196
  const l = {
@@ -5201,7 +5201,7 @@ function ku(e, n) {
5201
5201
  };
5202
5202
  return e.patch(n, l), e.applyData(n, l);
5203
5203
  }
5204
- function bu(e, n) {
5204
+ function wu(e, n) {
5205
5205
  const t = { href: ze(n.url) };
5206
5206
  n.title !== null && n.title !== void 0 && (t.title = n.title);
5207
5207
  const r = {
@@ -5212,8 +5212,8 @@ function bu(e, n) {
5212
5212
  };
5213
5213
  return e.patch(n, r), e.applyData(n, r);
5214
5214
  }
5215
- function wu(e, n, t) {
5216
- const r = e.all(n), i = t ? Su(t) : mr(n), l = {}, o = [];
5215
+ function Su(e, n, t) {
5216
+ const r = e.all(n), i = t ? Cu(t) : dr(n), l = {}, o = [];
5217
5217
  if (typeof n.checked == "boolean") {
5218
5218
  const c = r[0];
5219
5219
  let p;
@@ -5236,22 +5236,22 @@ function wu(e, n, t) {
5236
5236
  const a = { type: "element", tagName: "li", properties: l, children: o };
5237
5237
  return e.patch(n, a), e.applyData(n, a);
5238
5238
  }
5239
- function Su(e) {
5239
+ function Cu(e) {
5240
5240
  let n = !1;
5241
5241
  if (e.type === "list") {
5242
5242
  n = e.spread || !1;
5243
5243
  const t = e.children;
5244
5244
  let r = -1;
5245
5245
  for (; !n && ++r < t.length; )
5246
- n = mr(t[r]);
5246
+ n = dr(t[r]);
5247
5247
  }
5248
5248
  return n;
5249
5249
  }
5250
- function mr(e) {
5250
+ function dr(e) {
5251
5251
  const n = e.spread;
5252
5252
  return n ?? e.children.length > 1;
5253
5253
  }
5254
- function Cu(e, n) {
5254
+ function Eu(e, n) {
5255
5255
  const t = {}, r = e.all(n);
5256
5256
  let i = -1;
5257
5257
  for (typeof n.start == "number" && n.start !== 1 && (t.start = n.start); ++i < r.length; ) {
@@ -5269,7 +5269,7 @@ function Cu(e, n) {
5269
5269
  };
5270
5270
  return e.patch(n, l), e.applyData(n, l);
5271
5271
  }
5272
- function Eu(e, n) {
5272
+ function Iu(e, n) {
5273
5273
  const t = {
5274
5274
  type: "element",
5275
5275
  tagName: "p",
@@ -5278,11 +5278,11 @@ function Eu(e, n) {
5278
5278
  };
5279
5279
  return e.patch(n, t), e.applyData(n, t);
5280
5280
  }
5281
- function Iu(e, n) {
5281
+ function Tu(e, n) {
5282
5282
  const t = { type: "root", children: e.wrap(e.all(n)) };
5283
5283
  return e.patch(n, t), e.applyData(n, t);
5284
5284
  }
5285
- function Tu(e, n) {
5285
+ function Au(e, n) {
5286
5286
  const t = {
5287
5287
  type: "element",
5288
5288
  tagName: "strong",
@@ -5291,7 +5291,7 @@ function Tu(e, n) {
5291
5291
  };
5292
5292
  return e.patch(n, t), e.applyData(n, t);
5293
5293
  }
5294
- function Au(e, n) {
5294
+ function Pu(e, n) {
5295
5295
  const t = e.all(n), r = t.shift(), i = [];
5296
5296
  if (r) {
5297
5297
  const o = {
@@ -5308,7 +5308,7 @@ function Au(e, n) {
5308
5308
  tagName: "tbody",
5309
5309
  properties: {},
5310
5310
  children: e.wrap(t, !0)
5311
- }, u = _n(n.children[1]), s = Xt(n.children[n.children.length - 1]);
5311
+ }, u = vn(n.children[1]), s = Gt(n.children[n.children.length - 1]);
5312
5312
  u && s && (o.position = { start: u, end: s }), i.push(o);
5313
5313
  }
5314
5314
  const l = {
@@ -5319,7 +5319,7 @@ function Au(e, n) {
5319
5319
  };
5320
5320
  return e.patch(n, l), e.applyData(n, l);
5321
5321
  }
5322
- function Pu(e, n, t) {
5322
+ function zu(e, n, t) {
5323
5323
  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, u = o ? o.length : n.children.length;
5324
5324
  let s = -1;
5325
5325
  const a = [];
@@ -5337,7 +5337,7 @@ function Pu(e, n, t) {
5337
5337
  };
5338
5338
  return e.patch(n, c), e.applyData(n, c);
5339
5339
  }
5340
- function zu(e, n) {
5340
+ function Lu(e, n) {
5341
5341
  const t = {
5342
5342
  type: "element",
5343
5343
  tagName: "td",
@@ -5347,37 +5347,37 @@ function zu(e, n) {
5347
5347
  };
5348
5348
  return e.patch(n, t), e.applyData(n, t);
5349
5349
  }
5350
- const yt = 9, xt = 32;
5351
- function Lu(e) {
5350
+ const xt = 9, kt = 32;
5351
+ function Nu(e) {
5352
5352
  const n = String(e), t = /\r?\n|\r/g;
5353
5353
  let r = t.exec(n), i = 0;
5354
5354
  const l = [];
5355
5355
  for (; r; )
5356
5356
  l.push(
5357
- kt(n.slice(i, r.index), i > 0, !0),
5357
+ bt(n.slice(i, r.index), i > 0, !0),
5358
5358
  r[0]
5359
5359
  ), i = r.index + r[0].length, r = t.exec(n);
5360
- return l.push(kt(n.slice(i), i > 0, !1)), l.join("");
5360
+ return l.push(bt(n.slice(i), i > 0, !1)), l.join("");
5361
5361
  }
5362
- function kt(e, n, t) {
5362
+ function bt(e, n, t) {
5363
5363
  let r = 0, i = e.length;
5364
5364
  if (n) {
5365
5365
  let l = e.codePointAt(r);
5366
- for (; l === yt || l === xt; )
5366
+ for (; l === xt || l === kt; )
5367
5367
  r++, l = e.codePointAt(r);
5368
5368
  }
5369
5369
  if (t) {
5370
5370
  let l = e.codePointAt(i - 1);
5371
- for (; l === yt || l === xt; )
5371
+ for (; l === xt || l === kt; )
5372
5372
  i--, l = e.codePointAt(i - 1);
5373
5373
  }
5374
5374
  return i > r ? e.slice(r, i) : "";
5375
5375
  }
5376
- function Nu(e, n) {
5377
- const t = { type: "text", value: Lu(String(n.value)) };
5376
+ function _u(e, n) {
5377
+ const t = { type: "text", value: Nu(String(n.value)) };
5378
5378
  return e.patch(n, t), e.applyData(n, t);
5379
5379
  }
5380
- function _u(e, n) {
5380
+ function vu(e, n) {
5381
5381
  const t = {
5382
5382
  type: "element",
5383
5383
  tagName: "hr",
@@ -5386,31 +5386,31 @@ function _u(e, n) {
5386
5386
  };
5387
5387
  return e.patch(n, t), e.applyData(n, t);
5388
5388
  }
5389
- const vu = {
5390
- blockquote: au,
5391
- break: su,
5392
- code: cu,
5393
- delete: pu,
5394
- emphasis: fu,
5395
- footnoteReference: hu,
5396
- heading: mu,
5397
- html: du,
5398
- imageReference: gu,
5399
- image: yu,
5400
- inlineCode: xu,
5401
- linkReference: ku,
5402
- link: bu,
5403
- listItem: wu,
5404
- list: Cu,
5405
- paragraph: Eu,
5389
+ const Ou = {
5390
+ blockquote: su,
5391
+ break: cu,
5392
+ code: pu,
5393
+ delete: fu,
5394
+ emphasis: hu,
5395
+ footnoteReference: mu,
5396
+ heading: du,
5397
+ html: gu,
5398
+ imageReference: yu,
5399
+ image: xu,
5400
+ inlineCode: ku,
5401
+ linkReference: bu,
5402
+ link: wu,
5403
+ listItem: Su,
5404
+ list: Eu,
5405
+ paragraph: Iu,
5406
5406
  // @ts-expect-error: root is different, but hard to type.
5407
- root: Iu,
5408
- strong: Tu,
5409
- table: Au,
5410
- tableCell: zu,
5411
- tableRow: Pu,
5412
- text: Nu,
5413
- thematicBreak: _u,
5407
+ root: Tu,
5408
+ strong: Au,
5409
+ table: Pu,
5410
+ tableCell: Lu,
5411
+ tableRow: zu,
5412
+ text: _u,
5413
+ thematicBreak: vu,
5414
5414
  toml: $e,
5415
5415
  yaml: $e,
5416
5416
  definition: $e,
@@ -5418,7 +5418,7 @@ const vu = {
5418
5418
  };
5419
5419
  function $e() {
5420
5420
  }
5421
- function Ou(e, n) {
5421
+ function Ru(e, n) {
5422
5422
  const t = [{ type: "text", value: "↩" }];
5423
5423
  return n > 1 && t.push({
5424
5424
  type: "element",
@@ -5427,11 +5427,11 @@ function Ou(e, n) {
5427
5427
  children: [{ type: "text", value: String(n) }]
5428
5428
  }), t;
5429
5429
  }
5430
- function Ru(e, n) {
5430
+ function Fu(e, n) {
5431
5431
  return "Back to reference " + (e + 1) + (n > 1 ? "-" + n : "");
5432
5432
  }
5433
- function Fu(e) {
5434
- const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = e.options.footnoteBackContent || Ou, r = e.options.footnoteBackLabel || Ru, i = e.options.footnoteLabel || "Footnotes", l = e.options.footnoteLabelTagName || "h2", o = e.options.footnoteLabelProperties || {
5433
+ function Du(e) {
5434
+ const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", t = e.options.footnoteBackContent || Ru, r = e.options.footnoteBackLabel || Fu, i = e.options.footnoteLabel || "Footnotes", l = e.options.footnoteLabelTagName || "h2", o = e.options.footnoteLabelProperties || {
5435
5435
  className: ["sr-only"]
5436
5436
  }, u = [];
5437
5437
  let s = -1;
@@ -5501,11 +5501,11 @@ function Fu(e) {
5501
5501
  ]
5502
5502
  };
5503
5503
  }
5504
- const bn = {}.hasOwnProperty, Du = {};
5505
- function Mu(e, n) {
5506
- const t = n || Du, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...vu, ...t.handlers }, u = {
5504
+ const bn = {}.hasOwnProperty, Mu = {};
5505
+ function Bu(e, n) {
5506
+ const t = n || Mu, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), o = { ...Ou, ...t.handlers }, u = {
5507
5507
  all: a,
5508
- applyData: ju,
5508
+ applyData: Vu,
5509
5509
  definitionById: r,
5510
5510
  footnoteById: i,
5511
5511
  footnoteCounts: l,
@@ -5513,8 +5513,8 @@ function Mu(e, n) {
5513
5513
  handlers: o,
5514
5514
  one: s,
5515
5515
  options: t,
5516
- patch: Bu,
5517
- wrap: Hu
5516
+ patch: ju,
5517
+ wrap: Uu
5518
5518
  };
5519
5519
  return Je(e, function(c) {
5520
5520
  if (c.type === "definition" || c.type === "footnoteDefinition") {
@@ -5533,7 +5533,7 @@ function Mu(e, n) {
5533
5533
  }
5534
5534
  return be(c);
5535
5535
  }
5536
- return (u.options.unknownHandler || Vu)(u, c, p);
5536
+ return (u.options.unknownHandler || Hu)(u, c, p);
5537
5537
  }
5538
5538
  function a(c) {
5539
5539
  const p = [];
@@ -5543,9 +5543,9 @@ function Mu(e, n) {
5543
5543
  for (; ++f < d.length; ) {
5544
5544
  const w = u.one(d[f], c);
5545
5545
  if (w) {
5546
- if (f && d[f - 1].type === "break" && (!Array.isArray(w) && w.type === "text" && (w.value = bt(w.value)), !Array.isArray(w) && w.type === "element")) {
5546
+ if (f && d[f - 1].type === "break" && (!Array.isArray(w) && w.type === "text" && (w.value = wt(w.value)), !Array.isArray(w) && w.type === "element")) {
5547
5547
  const b = w.children[0];
5548
- b && b.type === "text" && (b.value = bt(b.value));
5548
+ b && b.type === "text" && (b.value = wt(b.value));
5549
5549
  }
5550
5550
  Array.isArray(w) ? p.push(...w) : p.push(w);
5551
5551
  }
@@ -5554,10 +5554,10 @@ function Mu(e, n) {
5554
5554
  return p;
5555
5555
  }
5556
5556
  }
5557
- function Bu(e, n) {
5558
- e.position && (n.position = Ni(e));
5559
- }
5560
5557
  function ju(e, n) {
5558
+ e.position && (n.position = _i(e));
5559
+ }
5560
+ function Vu(e, n) {
5561
5561
  let t = n;
5562
5562
  if (e && e.data) {
5563
5563
  const r = e.data.hName, i = e.data.hChildren, l = e.data.hProperties;
@@ -5572,7 +5572,7 @@ function ju(e, n) {
5572
5572
  }
5573
5573
  return t;
5574
5574
  }
5575
- function Vu(e, n) {
5575
+ function Hu(e, n) {
5576
5576
  const t = n.data || {}, r = "value" in n && !(bn.call(t, "hProperties") || bn.call(t, "hChildren")) ? { type: "text", value: n.value } : {
5577
5577
  type: "element",
5578
5578
  tagName: "div",
@@ -5581,7 +5581,7 @@ function Vu(e, n) {
5581
5581
  };
5582
5582
  return e.patch(n, r), e.applyData(n, r);
5583
5583
  }
5584
- function Hu(e, n) {
5584
+ function Uu(e, n) {
5585
5585
  const t = [];
5586
5586
  let r = -1;
5587
5587
  for (n && t.push({ type: "text", value: `
@@ -5591,39 +5591,39 @@ function Hu(e, n) {
5591
5591
  return n && e.length > 0 && t.push({ type: "text", value: `
5592
5592
  ` }), t;
5593
5593
  }
5594
- function bt(e) {
5594
+ function wt(e) {
5595
5595
  let n = 0, t = e.charCodeAt(n);
5596
5596
  for (; t === 9 || t === 32; )
5597
5597
  n++, t = e.charCodeAt(n);
5598
5598
  return e.slice(n);
5599
5599
  }
5600
- function wt(e, n) {
5601
- const t = Mu(e, n), r = t.one(e, void 0), i = Fu(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5600
+ function St(e, n) {
5601
+ const t = Bu(e, n), r = t.one(e, void 0), i = Du(t), l = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5602
5602
  return i && l.children.push({ type: "text", value: `
5603
5603
  ` }, i), l;
5604
5604
  }
5605
- function Uu(e, n) {
5605
+ function qu(e, n) {
5606
5606
  return e && "run" in e ? async function(t, r) {
5607
5607
  const i = (
5608
5608
  /** @type {HastRoot} */
5609
- wt(t, { file: r, ...n })
5609
+ St(t, { file: r, ...n })
5610
5610
  );
5611
5611
  await e.run(i, r);
5612
5612
  } : function(t, r) {
5613
5613
  return (
5614
5614
  /** @type {HastRoot} */
5615
- wt(t, { file: r, ...e || n })
5615
+ St(t, { file: r, ...e || n })
5616
5616
  );
5617
5617
  };
5618
5618
  }
5619
- function St(e) {
5619
+ function Ct(e) {
5620
5620
  if (e)
5621
5621
  throw e;
5622
5622
  }
5623
- var on, Ct;
5624
- function qu() {
5625
- if (Ct) return on;
5626
- Ct = 1;
5623
+ var on, Et;
5624
+ function $u() {
5625
+ if (Et) return on;
5626
+ Et = 1;
5627
5627
  var e = Object.prototype.hasOwnProperty, n = Object.prototype.toString, t = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = function(a) {
5628
5628
  return typeof Array.isArray == "function" ? Array.isArray(a) : n.call(a) === "[object Array]";
5629
5629
  }, l = function(a) {
@@ -5660,15 +5660,15 @@ function qu() {
5660
5660
  return b;
5661
5661
  }, on;
5662
5662
  }
5663
- var $u = /* @__PURE__ */ qu();
5664
- const un = /* @__PURE__ */ zt($u);
5663
+ var Wu = /* @__PURE__ */ $u();
5664
+ const un = /* @__PURE__ */ Nt(Wu);
5665
5665
  function wn(e) {
5666
5666
  if (typeof e != "object" || e === null)
5667
5667
  return !1;
5668
5668
  const n = Object.getPrototypeOf(e);
5669
5669
  return (n === null || n === Object.prototype || Object.getPrototypeOf(n) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
5670
5670
  }
5671
- function Wu() {
5671
+ function Yu() {
5672
5672
  const e = [], n = { run: t, use: r };
5673
5673
  return n;
5674
5674
  function t(...i) {
@@ -5686,7 +5686,7 @@ function Wu() {
5686
5686
  }
5687
5687
  for (; ++p < i.length; )
5688
5688
  (a[p] === null || a[p] === void 0) && (a[p] = i[p]);
5689
- i = a, c ? Yu(c, u)(...a) : o(null, ...a);
5689
+ i = a, c ? Xu(c, u)(...a) : o(null, ...a);
5690
5690
  }
5691
5691
  }
5692
5692
  function r(i) {
@@ -5697,7 +5697,7 @@ function Wu() {
5697
5697
  return e.push(i), n;
5698
5698
  }
5699
5699
  }
5700
- function Yu(e, n) {
5700
+ function Xu(e, n) {
5701
5701
  let t;
5702
5702
  return r;
5703
5703
  function r(...o) {
@@ -5724,8 +5724,8 @@ function Yu(e, n) {
5724
5724
  i(null, o);
5725
5725
  }
5726
5726
  }
5727
- const ae = { basename: Xu, dirname: Gu, extname: Qu, join: Ku, sep: "/" };
5728
- function Xu(e, n) {
5727
+ const ae = { basename: Gu, dirname: Qu, extname: Ku, join: Ju, sep: "/" };
5728
+ function Gu(e, n) {
5729
5729
  if (n !== void 0 && typeof n != "string")
5730
5730
  throw new TypeError('"ext" argument must be a string');
5731
5731
  He(e);
@@ -5753,7 +5753,7 @@ function Xu(e, n) {
5753
5753
  o < 0 && (l = !0, o = i + 1), u > -1 && (e.codePointAt(i) === n.codePointAt(u--) ? u < 0 && (r = i) : (u = -1, r = o));
5754
5754
  return t === r ? r = o : r < 0 && (r = e.length), e.slice(t, r);
5755
5755
  }
5756
- function Gu(e) {
5756
+ function Qu(e) {
5757
5757
  if (He(e), e.length === 0)
5758
5758
  return ".";
5759
5759
  let n = -1, t = e.length, r;
@@ -5766,7 +5766,7 @@ function Gu(e) {
5766
5766
  } else r || (r = !0);
5767
5767
  return n < 0 ? e.codePointAt(0) === 47 ? "/" : "." : n === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, n);
5768
5768
  }
5769
- function Qu(e) {
5769
+ function Ku(e) {
5770
5770
  He(e);
5771
5771
  let n = e.length, t = -1, r = 0, i = -1, l = 0, o;
5772
5772
  for (; n--; ) {
@@ -5784,19 +5784,19 @@ function Qu(e) {
5784
5784
  l === 0 || // The (right-most) trimmed path component is exactly `..`.
5785
5785
  l === 1 && i === t - 1 && i === r + 1 ? "" : e.slice(i, t);
5786
5786
  }
5787
- function Ku(...e) {
5787
+ function Ju(...e) {
5788
5788
  let n = -1, t;
5789
5789
  for (; ++n < e.length; )
5790
5790
  He(e[n]), e[n] && (t = t === void 0 ? e[n] : t + "/" + e[n]);
5791
- return t === void 0 ? "." : Ju(t);
5791
+ return t === void 0 ? "." : Zu(t);
5792
5792
  }
5793
- function Ju(e) {
5793
+ function Zu(e) {
5794
5794
  He(e);
5795
5795
  const n = e.codePointAt(0) === 47;
5796
- let t = Zu(e, !n);
5796
+ let t = ea(e, !n);
5797
5797
  return t.length === 0 && !n && (t = "."), t.length > 0 && e.codePointAt(e.length - 1) === 47 && (t += "/"), n ? "/" + t : t;
5798
5798
  }
5799
- function Zu(e, n) {
5799
+ function ea(e, n) {
5800
5800
  let t = "", r = 0, i = -1, l = 0, o = -1, u, s;
5801
5801
  for (; ++o <= e.length; ) {
5802
5802
  if (o < e.length)
@@ -5833,15 +5833,15 @@ function He(e) {
5833
5833
  "Path must be a string. Received " + JSON.stringify(e)
5834
5834
  );
5835
5835
  }
5836
- const ea = { cwd: na };
5837
- function na() {
5836
+ const na = { cwd: ta };
5837
+ function ta() {
5838
5838
  return "/";
5839
5839
  }
5840
5840
  function Sn(e) {
5841
5841
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
5842
5842
  e.auth === void 0);
5843
5843
  }
5844
- function ta(e) {
5844
+ function ra(e) {
5845
5845
  if (typeof e == "string")
5846
5846
  e = new URL(e);
5847
5847
  else if (!Sn(e)) {
@@ -5854,9 +5854,9 @@ function ta(e) {
5854
5854
  const n = new TypeError("The URL must be of scheme file");
5855
5855
  throw n.code = "ERR_INVALID_URL_SCHEME", n;
5856
5856
  }
5857
- return ra(e);
5857
+ return ia(e);
5858
5858
  }
5859
- function ra(e) {
5859
+ function ia(e) {
5860
5860
  if (e.hostname !== "") {
5861
5861
  const r = new TypeError(
5862
5862
  'File URL host must be "localhost" or empty on darwin'
@@ -5888,7 +5888,7 @@ const an = (
5888
5888
  "dirname"
5889
5889
  ]
5890
5890
  );
5891
- class ia {
5891
+ class la {
5892
5892
  /**
5893
5893
  * Create a new virtual file.
5894
5894
  *
@@ -5913,7 +5913,7 @@ class ia {
5913
5913
  */
5914
5914
  constructor(n) {
5915
5915
  let t;
5916
- n ? Sn(n) ? t = { path: n } : typeof n == "string" || la(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : ea.cwd(), this.data = {}, this.history = [], this.messages = [];
5916
+ n ? Sn(n) ? t = { path: n } : typeof n == "string" || oa(n) ? t = { value: n } : t = n : t = {}, this.cwd = "cwd" in t ? "" : na.cwd(), this.data = {}, this.history = [], this.messages = [];
5917
5917
  let r = -1;
5918
5918
  for (; ++r < an.length; ) {
5919
5919
  const l = an[r];
@@ -5967,7 +5967,7 @@ class ia {
5967
5967
  * Nothing.
5968
5968
  */
5969
5969
  set dirname(n) {
5970
- Et(this.basename, "dirname"), this.path = ae.join(n || "", this.basename);
5970
+ It(this.basename, "dirname"), this.path = ae.join(n || "", this.basename);
5971
5971
  }
5972
5972
  /**
5973
5973
  * Get the extname (including dot) (example: `'.js'`).
@@ -5991,7 +5991,7 @@ class ia {
5991
5991
  * Nothing.
5992
5992
  */
5993
5993
  set extname(n) {
5994
- if (sn(n, "extname"), Et(this.dirname, "extname"), n) {
5994
+ if (sn(n, "extname"), It(this.dirname, "extname"), n) {
5995
5995
  if (n.codePointAt(0) !== 46)
5996
5996
  throw new Error("`extname` must start with `.`");
5997
5997
  if (n.includes(".", 1))
@@ -6021,7 +6021,7 @@ class ia {
6021
6021
  * Nothing.
6022
6022
  */
6023
6023
  set path(n) {
6024
- Sn(n) && (n = ta(n)), cn(n, "path"), this.path !== n && this.history.push(n);
6024
+ Sn(n) && (n = ra(n)), cn(n, "path"), this.path !== n && this.history.push(n);
6025
6025
  }
6026
6026
  /**
6027
6027
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -6268,14 +6268,14 @@ function cn(e, n) {
6268
6268
  if (!e)
6269
6269
  throw new Error("`" + n + "` cannot be empty");
6270
6270
  }
6271
- function Et(e, n) {
6271
+ function It(e, n) {
6272
6272
  if (!e)
6273
6273
  throw new Error("Setting `" + n + "` requires `path` to be set too");
6274
6274
  }
6275
- function la(e) {
6275
+ function oa(e) {
6276
6276
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6277
6277
  }
6278
- const oa = (
6278
+ const ua = (
6279
6279
  /**
6280
6280
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
6281
6281
  */
@@ -6296,13 +6296,13 @@ const oa = (
6296
6296
  };
6297
6297
  return Object.setPrototypeOf(l, r), l;
6298
6298
  }
6299
- ), ua = {}.hasOwnProperty;
6300
- class Bn extends oa {
6299
+ ), aa = {}.hasOwnProperty;
6300
+ class jn extends ua {
6301
6301
  /**
6302
6302
  * Create a processor.
6303
6303
  */
6304
6304
  constructor() {
6305
- 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 = Wu();
6305
+ 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 = Yu();
6306
6306
  }
6307
6307
  /**
6308
6308
  * Copy a processor.
@@ -6318,7 +6318,7 @@ class Bn extends oa {
6318
6318
  copy() {
6319
6319
  const n = (
6320
6320
  /** @type {Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>} */
6321
- new Bn()
6321
+ new jn()
6322
6322
  );
6323
6323
  let t = -1;
6324
6324
  for (; ++t < this.attachers.length; ) {
@@ -6387,7 +6387,7 @@ class Bn extends oa {
6387
6387
  * the entire dataset when getting without key.
6388
6388
  */
6389
6389
  data(n, t) {
6390
- return typeof n == "string" ? arguments.length === 2 ? (hn("data", this.frozen), this.namespace[n] = t, this) : ua.call(this.namespace, n) && this.namespace[n] || void 0 : n ? (hn("data", this.frozen), this.namespace = n, this) : this.namespace;
6390
+ return typeof n == "string" ? arguments.length === 2 ? (hn("data", this.frozen), this.namespace[n] = t, this) : aa.call(this.namespace, n) && this.namespace[n] || void 0 : n ? (hn("data", this.frozen), this.namespace = n, this) : this.namespace;
6391
6391
  }
6392
6392
  /**
6393
6393
  * Freeze a processor.
@@ -6502,7 +6502,7 @@ class Bn extends oa {
6502
6502
  /** @type {unknown} */
6503
6503
  p
6504
6504
  ), w = r.stringify(f, d);
6505
- ca(w) ? d.value = w : d.result = w, a(
6505
+ pa(w) ? d.value = w : d.result = w, a(
6506
6506
  c,
6507
6507
  /** @type {VFileWithOutput<CompileResult>} */
6508
6508
  d
@@ -6546,9 +6546,9 @@ class Bn extends oa {
6546
6546
  */
6547
6547
  processSync(n) {
6548
6548
  let t = !1, r;
6549
- return this.freeze(), pn("processSync", this.parser || this.Parser), fn("processSync", this.compiler || this.Compiler), this.process(n, i), Tt("processSync", "process", t), r;
6549
+ return this.freeze(), pn("processSync", this.parser || this.Parser), fn("processSync", this.compiler || this.Compiler), this.process(n, i), At("processSync", "process", t), r;
6550
6550
  function i(l, o) {
6551
- t = !0, St(l), r = o;
6551
+ t = !0, Ct(l), r = o;
6552
6552
  }
6553
6553
  }
6554
6554
  /**
@@ -6590,7 +6590,7 @@ class Bn extends oa {
6590
6590
  * transformed tree.
6591
6591
  */
6592
6592
  run(n, t, r) {
6593
- It(n), this.freeze();
6593
+ Tt(n), this.freeze();
6594
6594
  const i = this.transformers;
6595
6595
  return !r && typeof t == "function" && (r = t, t = void 0), r ? l(void 0, r) : new Promise(l);
6596
6596
  function l(o, u) {
@@ -6624,9 +6624,9 @@ class Bn extends oa {
6624
6624
  */
6625
6625
  runSync(n, t) {
6626
6626
  let r = !1, i;
6627
- return this.run(n, t, l), Tt("runSync", "run", r), i;
6627
+ return this.run(n, t, l), At("runSync", "run", r), i;
6628
6628
  function l(o, u) {
6629
- St(o), i = u, r = !0;
6629
+ Ct(o), i = u, r = !0;
6630
6630
  }
6631
6631
  }
6632
6632
  /**
@@ -6661,7 +6661,7 @@ class Bn extends oa {
6661
6661
  stringify(n, t) {
6662
6662
  this.freeze();
6663
6663
  const r = We(t), i = this.compiler || this.Compiler;
6664
- return fn("stringify", i), It(n), i(n, r);
6664
+ return fn("stringify", i), Tt(n), i(n, r);
6665
6665
  }
6666
6666
  /**
6667
6667
  * Configure the processor to use a plugin, a list of usable values, or a
@@ -6778,7 +6778,7 @@ class Bn extends oa {
6778
6778
  }
6779
6779
  }
6780
6780
  }
6781
- const aa = new Bn().freeze();
6781
+ const sa = new jn().freeze();
6782
6782
  function pn(e, n) {
6783
6783
  if (typeof n != "function")
6784
6784
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -6793,76 +6793,76 @@ function hn(e, n) {
6793
6793
  "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
6794
6794
  );
6795
6795
  }
6796
- function It(e) {
6796
+ function Tt(e) {
6797
6797
  if (!wn(e) || typeof e.type != "string")
6798
6798
  throw new TypeError("Expected node, got `" + e + "`");
6799
6799
  }
6800
- function Tt(e, n, t) {
6800
+ function At(e, n, t) {
6801
6801
  if (!t)
6802
6802
  throw new Error(
6803
6803
  "`" + e + "` finished async. Use `" + n + "` instead"
6804
6804
  );
6805
6805
  }
6806
6806
  function We(e) {
6807
- return sa(e) ? e : new ia(e);
6808
- }
6809
- function sa(e) {
6810
- return !!(e && typeof e == "object" && "message" in e && "messages" in e);
6807
+ return ca(e) ? e : new la(e);
6811
6808
  }
6812
6809
  function ca(e) {
6813
- return typeof e == "string" || pa(e);
6810
+ return !!(e && typeof e == "object" && "message" in e && "messages" in e);
6814
6811
  }
6815
6812
  function pa(e) {
6813
+ return typeof e == "string" || fa(e);
6814
+ }
6815
+ function fa(e) {
6816
6816
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
6817
6817
  }
6818
- const fa = ({
6818
+ const ha = ({
6819
6819
  children: e,
6820
6820
  raw: n,
6821
6821
  ...t
6822
6822
  }) => /* @__PURE__ */ Cn("pre", { className: "relative pt-7 sm:pt-2 ps-0 sm:ps-3", ...t, children: [
6823
6823
  e,
6824
6824
  /* @__PURE__ */ te(
6825
- vt,
6825
+ Ot,
6826
6826
  {
6827
6827
  mode: "light",
6828
6828
  focusMode: "light",
6829
- copyToClipboard: () => Nr(n) || "",
6829
+ copyToClipboard: () => _r(n) || "",
6830
6830
  labelRight: "Copy",
6831
6831
  radius: "small",
6832
6832
  className: "mb-2 px-1 absolute top-2 right-2 font-sans font-normal text-xs"
6833
6833
  }
6834
6834
  )
6835
- ] }), ha = (e) => e.includes("```"), ma = (e) => e.includes("$$"), da = (e) => (
6835
+ ] }), ma = (e) => e.includes("```"), da = (e) => e.includes("$$"), ga = (e) => (
6836
6836
  // table
6837
6837
  e.includes("|") || // strikethrough
6838
6838
  e.includes("~") || e.includes("~~") || // task lists
6839
6839
  e.includes("- [ ]") || e.includes("- [x]")
6840
- ), ga = (e) => {
6840
+ ), ya = (e) => {
6841
6841
  const n = document.createElement("link");
6842
6842
  n.href = e, n.type = "text/css", n.rel = "stylesheet", n.id = "dynamic-katex-css", document.head.appendChild(n);
6843
- }, ya = () => (e) => {
6843
+ }, xa = () => (e) => {
6844
6844
  Je(e, (n) => {
6845
6845
  var t;
6846
6846
  if ((n == null ? void 0 : n.type) === "element" && (n == null ? void 0 : n.tagName) === "pre") {
6847
6847
  const [r] = n.children;
6848
6848
  if (r.tagName !== "code")
6849
6849
  return;
6850
- n.raw = _r((t = r.children) == null ? void 0 : t[0].value);
6850
+ n.raw = vr((t = r.children) == null ? void 0 : t[0].value);
6851
6851
  }
6852
6852
  });
6853
- }, xa = () => (e) => {
6853
+ }, ka = () => (e) => {
6854
6854
  Je(e, "element", (n) => {
6855
6855
  (n == null ? void 0 : n.type) === "element" && (n == null ? void 0 : n.tagName) === "pre" && (n.properties.raw = n.raw);
6856
6856
  });
6857
- }, ka = ({
6857
+ }, ba = ({
6858
6858
  onError: e = () => {
6859
6859
  }
6860
6860
  } = {}) => {
6861
6861
  const n = ve(e), t = ve(null), r = ve(null), i = ve(null), l = ve({
6862
6862
  rehypePlugins: [
6863
- ya,
6863
+ xa,
6864
6864
  [
6865
- ci,
6865
+ pi,
6866
6866
  {
6867
6867
  target: "_blank",
6868
6868
  rel: ["noopener", "noreferrer"]
@@ -6870,56 +6870,56 @@ const fa = ({
6870
6870
  ]
6871
6871
  ],
6872
6872
  remarkPlugins: []
6873
- }), [o, u] = Nt(null);
6874
- En(() => {
6873
+ }), [o, u] = _t(null);
6874
+ In(() => {
6875
6875
  n.current = e;
6876
6876
  }, [e]);
6877
- const s = Pr((a) => {
6877
+ const s = zr((a) => {
6878
6878
  (async () => {
6879
6879
  const { rehypePlugins: c, remarkPlugins: p } = l.current;
6880
- if (ha(a) && !t.current) {
6880
+ if (ma(a) && !t.current) {
6881
6881
  t.current = !0;
6882
6882
  const { default: d } = await import(
6883
6883
  /* webpackChunkName: "LazyRehypeHighlight" */
6884
- "./index.BeCYBVlf.js"
6884
+ "./index.DAok6gE9.js"
6885
6885
  );
6886
6886
  l.current.rehypePlugins = [...c, d];
6887
6887
  }
6888
- if (da(a) && !r.current) {
6888
+ if (ga(a) && !r.current) {
6889
6889
  r.current = !0;
6890
6890
  const { default: d } = await import(
6891
6891
  /* webpackChunkName: "LazyRemarkGfm" */
6892
- "./index.jNt9uAFL.js"
6892
+ "./index.B4D6viYP.js"
6893
6893
  );
6894
6894
  l.current.remarkPlugins = [...p, d];
6895
6895
  }
6896
- if (ma(a) && !i.current) {
6896
+ if (da(a) && !i.current) {
6897
6897
  i.current = !0;
6898
6898
  const { default: d } = await import(
6899
6899
  /* webpackChunkName: "LazyRehypeKatex" */
6900
- "./index.ceW6xAkk.js"
6900
+ "./index.BGPbAJZU.js"
6901
6901
  ), { default: f } = await import(
6902
6902
  /* webpackChunkName: "LazyRemarkMath" */
6903
- "./index.B41ar23x.js"
6903
+ "./index.aZb-LBhg.js"
6904
6904
  );
6905
- l.current.remarkPlugins = [...p, f], l.current.rehypePlugins = [...c, d], ga("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6905
+ l.current.remarkPlugins = [...p, f], l.current.rehypePlugins = [...c, d], ya("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6906
6906
  }
6907
- l.current.rehypePlugins.push(xa), aa().use(uu).use(l.current.remarkPlugins).use(Uu).use(l.current.rehypePlugins).use(el, {
6907
+ l.current.rehypePlugins.push(ka), sa().use(au).use(l.current.remarkPlugins).use(qu).use(l.current.rehypePlugins).use(nl, {
6908
6908
  Fragment: en.Fragment,
6909
6909
  jsx: en.jsx,
6910
6910
  jsxs: en.jsxs,
6911
6911
  components: {
6912
- pre: fa
6912
+ pre: ha
6913
6913
  }
6914
6914
  }).process(a).then((d) => u(d.result)).catch(n.current);
6915
6915
  })();
6916
6916
  }, []);
6917
6917
  return [o, s];
6918
- }, At = {
6918
+ }, Pt = {
6919
6919
  MODEL: "Model",
6920
6920
  PLUGIN: "Plugin",
6921
6921
  USAGE: "Usage"
6922
- }, Pt = Lt("max-w-[99cqw] mt-3"), ba = ({
6922
+ }, zt = En("max-w-[99cqw] mt-3"), Lt = En("max-w-xs", "sm:max-w-3xl"), wa = ({
6923
6923
  content: e,
6924
6924
  annotations: n,
6925
6925
  toolName: t,
@@ -6927,51 +6927,62 @@ const fa = ({
6927
6927
  }) => {
6928
6928
  const {
6929
6929
  state: { streaming: i }
6930
- } = zr(Ir), l = n == null ? void 0 : n.model, [o, u] = ka(), [s] = Tr({
6931
- key: vr + Or,
6930
+ } = Lr(Tr), l = n == null ? void 0 : n.model, [o, u] = ba(), [s] = Ar({
6931
+ key: Or + Rr,
6932
6932
  initialValue: !1
6933
6933
  }), a = s && {
6934
- [At.MODEL]: l || null,
6935
- [At.PLUGIN]: t ? Rr(t) : null
6934
+ [Pt.MODEL]: l || null,
6935
+ [Pt.PLUGIN]: t ? Fr(t) : null
6936
6936
  };
6937
- return En(() => {
6937
+ return In(() => {
6938
6938
  e && u(e);
6939
- }, [e, u]), r === Fr ? /* @__PURE__ */ te($n, { tail: !0, className: Pt, children: /* @__PURE__ */ te("div", { className: "flex items-center justify-center", children: o }) }) : /* @__PURE__ */ te(
6940
- $n,
6939
+ }, [e, u]), r === Dr ? /* @__PURE__ */ te(
6940
+ Wn,
6941
+ {
6942
+ tail: !0,
6943
+ className: zt,
6944
+ contentClassName: Lt,
6945
+ noMaxWidth: !0,
6946
+ children: /* @__PURE__ */ te("div", { className: "flex items-center justify-center", children: o })
6947
+ }
6948
+ ) : /* @__PURE__ */ te(
6949
+ Wn,
6941
6950
  {
6942
6951
  tail: !0,
6943
6952
  copyToClipboard: i ? "loading..." : e,
6944
6953
  copyToClipboardFocusMode: "light",
6945
6954
  footer: a,
6946
- className: Pt,
6955
+ className: zt,
6956
+ contentClassName: Lt,
6957
+ noMaxWidth: !0,
6947
6958
  children: o
6948
6959
  }
6949
6960
  );
6950
- }, Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: ba }, Symbol.toStringTag, { value: "Module" }));
6961
+ }, Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: wa }, Symbol.toStringTag, { value: "Module" }));
6951
6962
  export {
6952
- Aa as ChatBubbleAssistant,
6953
- Gn as EXIT,
6954
- ii as SKIP,
6963
+ Pa as ChatBubbleAssistant,
6964
+ Qn as EXIT,
6965
+ li as SKIP,
6955
6966
  se as asciiAlpha,
6956
6967
  ne as asciiAlphanumeric,
6957
6968
  yn as asciiControl,
6958
6969
  Ze as blankLine,
6959
- st as classifyCharacter,
6960
- il as combineExtensions,
6961
- Mt as convert,
6962
- Dt as convertElement,
6970
+ ct as classifyCharacter,
6971
+ ll as combineExtensions,
6972
+ Bt as convert,
6973
+ Mt as convertElement,
6963
6974
  U as factorySpace,
6964
6975
  L as markdownLineEnding,
6965
6976
  K as markdownLineEndingOrSpace,
6966
6977
  F as markdownSpace,
6967
6978
  Ae as normalizeIdentifier,
6968
- Qr as parse,
6969
- Ta as parse$1,
6970
- Dn as resolveAll,
6979
+ Kr as parse,
6980
+ Aa as parse$1,
6981
+ Mn as resolveAll,
6971
6982
  ce as splice,
6972
- tl as toString,
6973
- cl as unicodePunctuation,
6974
- pl as unicodeWhitespace,
6983
+ rl as toString,
6984
+ pl as unicodePunctuation,
6985
+ fl as unicodeWhitespace,
6975
6986
  Je as visit,
6976
- li as visitParents
6987
+ oi as visitParents
6977
6988
  };