@caseparts-org/caseblocks 0.0.264 → 0.0.266

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,4 +1,4 @@
1
- import { jsxs as Ci, jsx as De, Fragment as Ei } from "react/jsx-runtime";
1
+ import { jsxs as Ci, jsx as Le, Fragment as Ei } from "react/jsx-runtime";
2
2
  import { remarkAdmonition as Ii } from "./remarkAdmonition.js";
3
3
  import { Admonition as Ai } from "../Admonition/Admonition.js";
4
4
  import { Upsell as Ti } from "../Upsell/Upsell.js";
@@ -14,9 +14,9 @@ function vi(e, t) {
14
14
  (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
15
15
  ).trim();
16
16
  }
17
- const zi = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Di = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Li = {};
17
+ const zi = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Li = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Di = {};
18
18
  function ft(e, t) {
19
- return (Li.jsx ? Di : zi).test(e);
19
+ return (Di.jsx ? Li : zi).test(e);
20
20
  }
21
21
  const Fi = /[ \t\n\f\r]/g;
22
22
  function _i(e) {
@@ -78,22 +78,22 @@ ee.prototype.property = "";
78
78
  ee.prototype.spaceSeparated = !1;
79
79
  ee.prototype.space = void 0;
80
80
  let Ri = 0;
81
- const D = Ie(), W = Ie(), zn = Ie(), S = Ie(), V = Ie(), Le = Ie(), te = Ie();
81
+ const L = Ie(), W = Ie(), zn = Ie(), S = Ie(), V = Ie(), De = Ie(), te = Ie();
82
82
  function Ie() {
83
83
  return 2 ** ++Ri;
84
84
  }
85
- const Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
85
+ const Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
86
86
  __proto__: null,
87
- boolean: D,
87
+ boolean: L,
88
88
  booleanish: W,
89
89
  commaOrSpaceSeparated: te,
90
- commaSeparated: Le,
90
+ commaSeparated: De,
91
91
  number: S,
92
92
  overloadedBoolean: zn,
93
93
  spaceSeparated: V
94
94
  }, Symbol.toStringTag, { value: "Module" })), mn = (
95
95
  /** @type {ReadonlyArray<keyof typeof types>} */
96
- Object.keys(Dn)
96
+ Object.keys(Ln)
97
97
  );
98
98
  class Hn extends ee {
99
99
  /**
@@ -114,7 +114,7 @@ class Hn extends ee {
114
114
  if (super(t, n), pt(this, "space", i), typeof r == "number")
115
115
  for (; ++o < mn.length; ) {
116
116
  const l = mn[o];
117
- pt(this, mn[o], (r & Dn[l]) === Dn[l]);
117
+ pt(this, mn[o], (r & Ln[l]) === Ln[l]);
118
118
  }
119
119
  }
120
120
  }
@@ -208,43 +208,43 @@ const Oi = _e({
208
208
  properties: {
209
209
  // Standard Properties.
210
210
  abbr: null,
211
- accept: Le,
211
+ accept: De,
212
212
  acceptCharset: V,
213
213
  accessKey: V,
214
214
  action: null,
215
215
  allow: null,
216
- allowFullScreen: D,
217
- allowPaymentRequest: D,
218
- allowUserMedia: D,
216
+ allowFullScreen: L,
217
+ allowPaymentRequest: L,
218
+ allowUserMedia: L,
219
219
  alt: null,
220
220
  as: null,
221
- async: D,
221
+ async: L,
222
222
  autoCapitalize: null,
223
223
  autoComplete: V,
224
- autoFocus: D,
225
- autoPlay: D,
224
+ autoFocus: L,
225
+ autoPlay: L,
226
226
  blocking: V,
227
227
  capture: null,
228
228
  charSet: null,
229
- checked: D,
229
+ checked: L,
230
230
  cite: null,
231
231
  className: V,
232
232
  cols: S,
233
233
  colSpan: null,
234
234
  content: null,
235
235
  contentEditable: W,
236
- controls: D,
236
+ controls: L,
237
237
  controlsList: V,
238
- coords: S | Le,
238
+ coords: S | De,
239
239
  crossOrigin: null,
240
240
  data: null,
241
241
  dateTime: null,
242
242
  decoding: null,
243
- default: D,
244
- defer: D,
243
+ default: L,
244
+ defer: L,
245
245
  dir: null,
246
246
  dirName: null,
247
- disabled: D,
247
+ disabled: L,
248
248
  download: zn,
249
249
  draggable: W,
250
250
  encType: null,
@@ -254,7 +254,7 @@ const Oi = _e({
254
254
  formAction: null,
255
255
  formEncType: null,
256
256
  formMethod: null,
257
- formNoValidate: D,
257
+ formNoValidate: L,
258
258
  formTarget: null,
259
259
  headers: V,
260
260
  height: S,
@@ -267,15 +267,15 @@ const Oi = _e({
267
267
  id: null,
268
268
  imageSizes: null,
269
269
  imageSrcSet: null,
270
- inert: D,
270
+ inert: L,
271
271
  inputMode: null,
272
272
  integrity: null,
273
273
  is: null,
274
- isMap: D,
274
+ isMap: L,
275
275
  itemId: null,
276
276
  itemProp: V,
277
277
  itemRef: V,
278
- itemScope: D,
278
+ itemScope: L,
279
279
  itemType: V,
280
280
  kind: null,
281
281
  label: null,
@@ -283,7 +283,7 @@ const Oi = _e({
283
283
  language: null,
284
284
  list: null,
285
285
  loading: null,
286
- loop: D,
286
+ loop: L,
287
287
  low: S,
288
288
  manifest: null,
289
289
  max: null,
@@ -292,12 +292,12 @@ const Oi = _e({
292
292
  method: null,
293
293
  min: null,
294
294
  minLength: S,
295
- multiple: D,
296
- muted: D,
295
+ multiple: L,
296
+ muted: L,
297
297
  name: null,
298
298
  nonce: null,
299
- noModule: D,
300
- noValidate: D,
299
+ noModule: L,
300
+ noValidate: L,
301
301
  onAbort: null,
302
302
  onAfterPrint: null,
303
303
  onAuxClick: null,
@@ -386,31 +386,31 @@ const Oi = _e({
386
386
  onVolumeChange: null,
387
387
  onWaiting: null,
388
388
  onWheel: null,
389
- open: D,
389
+ open: L,
390
390
  optimum: S,
391
391
  pattern: null,
392
392
  ping: V,
393
393
  placeholder: null,
394
- playsInline: D,
394
+ playsInline: L,
395
395
  popover: null,
396
396
  popoverTarget: null,
397
397
  popoverTargetAction: null,
398
398
  poster: null,
399
399
  preload: null,
400
- readOnly: D,
400
+ readOnly: L,
401
401
  referrerPolicy: null,
402
402
  rel: V,
403
- required: D,
404
- reversed: D,
403
+ required: L,
404
+ reversed: L,
405
405
  rows: S,
406
406
  rowSpan: S,
407
407
  sandbox: V,
408
408
  scope: null,
409
- scoped: D,
410
- seamless: D,
411
- selected: D,
412
- shadowRootClonable: D,
413
- shadowRootDelegatesFocus: D,
409
+ scoped: L,
410
+ seamless: L,
411
+ selected: L,
412
+ shadowRootClonable: L,
413
+ shadowRootDelegatesFocus: L,
414
414
  shadowRootMode: null,
415
415
  shape: null,
416
416
  size: S,
@@ -430,7 +430,7 @@ const Oi = _e({
430
430
  title: null,
431
431
  translate: null,
432
432
  type: null,
433
- typeMustMatch: D,
433
+ typeMustMatch: L,
434
434
  useMap: null,
435
435
  value: W,
436
436
  width: S,
@@ -476,9 +476,9 @@ const Oi = _e({
476
476
  // `<object>`
477
477
  color: null,
478
478
  // `<font>` and `<hr>`. Use CSS instead
479
- compact: D,
479
+ compact: L,
480
480
  // Lists. Use CSS to reduce space between items instead
481
- declare: D,
481
+ declare: L,
482
482
  // `<object>`
483
483
  event: null,
484
484
  // `<script>`
@@ -502,13 +502,13 @@ const Oi = _e({
502
502
  // `<body>`
503
503
  marginWidth: S,
504
504
  // `<body>`
505
- noResize: D,
505
+ noResize: L,
506
506
  // `<frame>`
507
- noHref: D,
507
+ noHref: L,
508
508
  // `<area>`. Use no href instead of an explicit `nohref`
509
- noShade: D,
509
+ noShade: L,
510
510
  // `<hr>`. Use background-color and height instead of borders
511
- noWrap: D,
511
+ noWrap: L,
512
512
  // `<td>` and `<th>`
513
513
  object: null,
514
514
  // `<applet>`
@@ -548,8 +548,8 @@ const Oi = _e({
548
548
  allowTransparency: null,
549
549
  autoCorrect: null,
550
550
  autoSave: null,
551
- disablePictureInPicture: D,
552
- disableRemotePlayback: D,
551
+ disablePictureInPicture: L,
552
+ disableRemotePlayback: L,
553
553
  prefix: null,
554
554
  property: null,
555
555
  results: S,
@@ -784,7 +784,7 @@ const Oi = _e({
784
784
  dur: null,
785
785
  divisor: S,
786
786
  dominantBaseline: null,
787
- download: D,
787
+ download: L,
788
788
  dx: null,
789
789
  dy: null,
790
790
  edgeMode: null,
@@ -817,9 +817,9 @@ const Oi = _e({
817
817
  from: null,
818
818
  fx: null,
819
819
  fy: null,
820
- g1: Le,
821
- g2: Le,
822
- glyphName: Le,
820
+ g1: De,
821
+ g2: De,
822
+ glyphName: De,
823
823
  glyphOrientationHorizontal: null,
824
824
  glyphOrientationVertical: null,
825
825
  glyphRef: null,
@@ -1200,15 +1200,15 @@ function tl(e, t) {
1200
1200
  t = t || {};
1201
1201
  var n = 1, r = 1;
1202
1202
  function i(d) {
1203
- var x = d.match(Wi);
1204
- x && (n += x.length);
1205
- var C = d.lastIndexOf(Zi);
1206
- r = ~C ? d.length - C : r + d.length;
1203
+ var y = d.match(Wi);
1204
+ y && (n += y.length);
1205
+ var E = d.lastIndexOf(Zi);
1206
+ r = ~E ? d.length - E : r + d.length;
1207
1207
  }
1208
1208
  function o() {
1209
1209
  var d = { line: n, column: r };
1210
- return function(x) {
1211
- return x.position = new l(d), s(), x;
1210
+ return function(y) {
1211
+ return y.position = new l(d), s(), y;
1212
1212
  };
1213
1213
  }
1214
1214
  function l(d) {
@@ -1216,58 +1216,58 @@ function tl(e, t) {
1216
1216
  }
1217
1217
  l.prototype.content = e;
1218
1218
  function a(d) {
1219
- var x = new Error(
1219
+ var y = new Error(
1220
1220
  t.source + ":" + n + ":" + r + ": " + d
1221
1221
  );
1222
- if (x.reason = d, x.filename = t.source, x.line = n, x.column = r, x.source = e, !t.silent) throw x;
1222
+ if (y.reason = d, y.filename = t.source, y.line = n, y.column = r, y.source = e, !t.silent) throw y;
1223
1223
  }
1224
1224
  function u(d) {
1225
- var x = d.exec(e);
1226
- if (x) {
1227
- var C = x[0];
1228
- return i(C), e = e.slice(C.length), x;
1225
+ var y = d.exec(e);
1226
+ if (y) {
1227
+ var E = y[0];
1228
+ return i(E), e = e.slice(E.length), y;
1229
1229
  }
1230
1230
  }
1231
1231
  function s() {
1232
1232
  u(Yi);
1233
1233
  }
1234
1234
  function f(d) {
1235
- var x;
1236
- for (d = d || []; x = c(); )
1237
- x !== !1 && d.push(x);
1235
+ var y;
1236
+ for (d = d || []; y = c(); )
1237
+ y !== !1 && d.push(y);
1238
1238
  return d;
1239
1239
  }
1240
1240
  function c() {
1241
1241
  var d = o();
1242
1242
  if (!(dt != e.charAt(0) || yt != e.charAt(1))) {
1243
- for (var x = 2; Ce != e.charAt(x) && (yt != e.charAt(x) || dt != e.charAt(x + 1)); )
1244
- ++x;
1245
- if (x += 2, Ce === e.charAt(x - 1))
1243
+ for (var y = 2; Ce != e.charAt(y) && (yt != e.charAt(y) || dt != e.charAt(y + 1)); )
1244
+ ++y;
1245
+ if (y += 2, Ce === e.charAt(y - 1))
1246
1246
  return a("End of comment missing");
1247
- var C = e.slice(2, x - 2);
1248
- return r += 2, i(C), e = e.slice(x), r += 2, d({
1247
+ var E = e.slice(2, y - 2);
1248
+ return r += 2, i(E), e = e.slice(y), r += 2, d({
1249
1249
  type: el,
1250
- comment: C
1250
+ comment: E
1251
1251
  });
1252
1252
  }
1253
1253
  }
1254
1254
  function p() {
1255
- var d = o(), x = u(Xi);
1256
- if (x) {
1255
+ var d = o(), y = u(Xi);
1256
+ if (y) {
1257
1257
  if (c(), !u(Qi)) return a("property missing ':'");
1258
- var C = u(Gi), y = d({
1258
+ var E = u(Gi), k = d({
1259
1259
  type: nl,
1260
- property: kt(x[0].replace(gt, Ce)),
1261
- value: C ? kt(C[0].replace(gt, Ce)) : Ce
1260
+ property: kt(y[0].replace(gt, Ce)),
1261
+ value: E ? kt(E[0].replace(gt, Ce)) : Ce
1262
1262
  });
1263
- return u(Ki), y;
1263
+ return u(Ki), k;
1264
1264
  }
1265
1265
  }
1266
1266
  function h() {
1267
1267
  var d = [];
1268
1268
  f(d);
1269
- for (var x; x = p(); )
1270
- x !== !1 && (d.push(x), f(d));
1269
+ for (var y; y = p(); )
1270
+ y !== !1 && (d.push(y), f(d));
1271
1271
  return d;
1272
1272
  }
1273
1273
  return s(), h();
@@ -1309,14 +1309,14 @@ un.camelCase = ml;
1309
1309
  var gl = tn && tn.__importDefault || function(e) {
1310
1310
  return e && e.__esModule ? e : { default: e };
1311
1311
  }, dl = gl(Vn), yl = un;
1312
- function Ln(e, t) {
1312
+ function Dn(e, t) {
1313
1313
  var n = {};
1314
1314
  return !e || typeof e != "string" || (0, dl.default)(e, function(r, i) {
1315
1315
  r && i && (n[(0, yl.camelCase)(r, t)] = i);
1316
1316
  }), n;
1317
1317
  }
1318
- Ln.default = Ln;
1319
- var kl = Ln;
1318
+ Dn.default = Dn;
1319
+ var kl = Dn;
1320
1320
  const xl = /* @__PURE__ */ ar(kl), gr = dr("end"), $n = dr("start");
1321
1321
  function dr(e) {
1322
1322
  return t;
@@ -1451,7 +1451,7 @@ function Il(e, t) {
1451
1451
  throw new TypeError("Expected `jsx` in production options");
1452
1452
  if (typeof t.jsxs != "function")
1453
1453
  throw new TypeError("Expected `jsxs` in production options");
1454
- r = Ll(n, t.jsx, t.jsxs);
1454
+ r = Dl(n, t.jsx, t.jsxs);
1455
1455
  }
1456
1456
  const i = {
1457
1457
  Fragment: t.Fragment,
@@ -1487,7 +1487,7 @@ function kr(e, t, n) {
1487
1487
  if (t.type === "root")
1488
1488
  return zl(e, t, n);
1489
1489
  if (t.type === "text")
1490
- return Dl(e, t);
1490
+ return Ll(e, t);
1491
1491
  }
1492
1492
  function Al(e, t, n) {
1493
1493
  const r = e.schema;
@@ -1526,7 +1526,7 @@ function zl(e, t, n) {
1526
1526
  const r = {};
1527
1527
  return Wn(r, Yn(e, t)), e.create(t, e.Fragment, r, n);
1528
1528
  }
1529
- function Dl(e, t) {
1529
+ function Ll(e, t) {
1530
1530
  return t.value;
1531
1531
  }
1532
1532
  function xr(e, t, n, r) {
@@ -1538,7 +1538,7 @@ function Wn(e, t) {
1538
1538
  n && (e.children = n);
1539
1539
  }
1540
1540
  }
1541
- function Ll(e, t, n) {
1541
+ function Dl(e, t, n) {
1542
1542
  return r;
1543
1543
  function r(i, o, l, a) {
1544
1544
  const s = Array.isArray(l.children) ? n : t;
@@ -1933,76 +1933,76 @@ function Kl(e) {
1933
1933
  const t = this, n = [];
1934
1934
  let r = 0, i, o, l;
1935
1935
  return a;
1936
- function a(E) {
1936
+ function a(C) {
1937
1937
  if (r < n.length) {
1938
- const L = n[r];
1939
- return t.containerState = L[1], e.attempt(L[0].continuation, u, s)(E);
1938
+ const D = n[r];
1939
+ return t.containerState = D[1], e.attempt(D[0].continuation, u, s)(C);
1940
1940
  }
1941
- return s(E);
1941
+ return s(C);
1942
1942
  }
1943
- function u(E) {
1943
+ function u(C) {
1944
1944
  if (r++, t.containerState._closeFlow) {
1945
1945
  t.containerState._closeFlow = void 0, i && A();
1946
- const L = t.events.length;
1947
- let F = L, w;
1946
+ const D = t.events.length;
1947
+ let F = D, w;
1948
1948
  for (; F--; )
1949
1949
  if (t.events[F][0] === "exit" && t.events[F][1].type === "chunkFlow") {
1950
1950
  w = t.events[F][1].end;
1951
1951
  break;
1952
1952
  }
1953
- y(r);
1954
- let M = L;
1953
+ k(r);
1954
+ let M = D;
1955
1955
  for (; M < t.events.length; )
1956
1956
  t.events[M][1].end = {
1957
1957
  ...w
1958
1958
  }, M++;
1959
- return re(t.events, F + 1, 0, t.events.slice(L)), t.events.length = M, s(E);
1959
+ return re(t.events, F + 1, 0, t.events.slice(D)), t.events.length = M, s(C);
1960
1960
  }
1961
- return a(E);
1961
+ return a(C);
1962
1962
  }
1963
- function s(E) {
1963
+ function s(C) {
1964
1964
  if (r === n.length) {
1965
1965
  if (!i)
1966
- return p(E);
1966
+ return p(C);
1967
1967
  if (i.currentConstruct && i.currentConstruct.concrete)
1968
- return d(E);
1968
+ return d(C);
1969
1969
  t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
1970
1970
  }
1971
- return t.containerState = {}, e.check(It, f, c)(E);
1971
+ return t.containerState = {}, e.check(It, f, c)(C);
1972
1972
  }
1973
- function f(E) {
1974
- return i && A(), y(r), p(E);
1973
+ function f(C) {
1974
+ return i && A(), k(r), p(C);
1975
1975
  }
1976
- function c(E) {
1977
- return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, d(E);
1976
+ function c(C) {
1977
+ return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, d(C);
1978
1978
  }
1979
- function p(E) {
1980
- return t.containerState = {}, e.attempt(It, h, d)(E);
1979
+ function p(C) {
1980
+ return t.containerState = {}, e.attempt(It, h, d)(C);
1981
1981
  }
1982
- function h(E) {
1983
- return r++, n.push([t.currentConstruct, t.containerState]), p(E);
1982
+ function h(C) {
1983
+ return r++, n.push([t.currentConstruct, t.containerState]), p(C);
1984
1984
  }
1985
- function d(E) {
1986
- if (E === null) {
1987
- i && A(), y(0), e.consume(E);
1985
+ function d(C) {
1986
+ if (C === null) {
1987
+ i && A(), k(0), e.consume(C);
1988
1988
  return;
1989
1989
  }
1990
1990
  return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
1991
1991
  _tokenizer: i,
1992
1992
  contentType: "flow",
1993
1993
  previous: o
1994
- }), x(E);
1994
+ }), y(C);
1995
1995
  }
1996
- function x(E) {
1997
- if (E === null) {
1998
- C(e.exit("chunkFlow"), !0), y(0), e.consume(E);
1996
+ function y(C) {
1997
+ if (C === null) {
1998
+ E(e.exit("chunkFlow"), !0), k(0), e.consume(C);
1999
1999
  return;
2000
2000
  }
2001
- return v(E) ? (e.consume(E), C(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(E), x);
2001
+ return v(C) ? (e.consume(C), E(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(C), y);
2002
2002
  }
2003
- function C(E, L) {
2004
- const F = t.sliceStream(E);
2005
- if (L && F.push(null), E.previous = o, o && (o.next = E), o = E, i.defineSkip(E.start), i.write(F), t.parser.lazy[E.start.line]) {
2003
+ function E(C, D) {
2004
+ const F = t.sliceStream(C);
2005
+ if (D && F.push(null), C.previous = o, o && (o.next = C), o = C, i.defineSkip(C.start), i.write(F), t.parser.lazy[C.start.line]) {
2006
2006
  let w = i.events.length;
2007
2007
  for (; w--; )
2008
2008
  if (
@@ -2013,29 +2013,29 @@ function Kl(e) {
2013
2013
  )
2014
2014
  return;
2015
2015
  const M = t.events.length;
2016
- let $ = M, B, k;
2016
+ let $ = M, B, x;
2017
2017
  for (; $--; )
2018
2018
  if (t.events[$][0] === "exit" && t.events[$][1].type === "chunkFlow") {
2019
2019
  if (B) {
2020
- k = t.events[$][1].end;
2020
+ x = t.events[$][1].end;
2021
2021
  break;
2022
2022
  }
2023
2023
  B = !0;
2024
2024
  }
2025
- for (y(r), w = M; w < t.events.length; )
2025
+ for (k(r), w = M; w < t.events.length; )
2026
2026
  t.events[w][1].end = {
2027
- ...k
2027
+ ...x
2028
2028
  }, w++;
2029
2029
  re(t.events, $ + 1, 0, t.events.slice(M)), t.events.length = w;
2030
2030
  }
2031
2031
  }
2032
- function y(E) {
2033
- let L = n.length;
2034
- for (; L-- > E; ) {
2035
- const F = n[L];
2032
+ function k(C) {
2033
+ let D = n.length;
2034
+ for (; D-- > C; ) {
2035
+ const F = n[D];
2036
2036
  t.containerState = F[1], F[0].exit.call(t, e);
2037
2037
  }
2038
- n.length = E;
2038
+ n.length = C;
2039
2039
  }
2040
2040
  function A() {
2041
2041
  i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
@@ -2289,7 +2289,7 @@ function so(e, t, n) {
2289
2289
  return w === a ? (l++, e.consume(w), f) : l < 3 ? n(w) : (e.exit("codeFencedFenceSequence"), _(w) ? O(e, c, "whitespace")(w) : c(w));
2290
2290
  }
2291
2291
  function c(w) {
2292
- return w === null || v(w) ? (e.exit("codeFencedFence"), r.interrupt ? t(w) : e.check(Tt, x, L)(w)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
2292
+ return w === null || v(w) ? (e.exit("codeFencedFence"), r.interrupt ? t(w) : e.check(Tt, y, D)(w)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
2293
2293
  contentType: "string"
2294
2294
  }), p(w));
2295
2295
  }
@@ -2304,28 +2304,28 @@ function so(e, t, n) {
2304
2304
  function d(w) {
2305
2305
  return w === null || v(w) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), c(w)) : w === 96 && w === a ? n(w) : (e.consume(w), d);
2306
2306
  }
2307
- function x(w) {
2308
- return e.attempt(i, L, C)(w);
2307
+ function y(w) {
2308
+ return e.attempt(i, D, E)(w);
2309
2309
  }
2310
- function C(w) {
2311
- return e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), y;
2310
+ function E(w) {
2311
+ return e.enter("lineEnding"), e.consume(w), e.exit("lineEnding"), k;
2312
2312
  }
2313
- function y(w) {
2313
+ function k(w) {
2314
2314
  return o > 0 && _(w) ? O(e, A, "linePrefix", o + 1)(w) : A(w);
2315
2315
  }
2316
2316
  function A(w) {
2317
- return w === null || v(w) ? e.check(Tt, x, L)(w) : (e.enter("codeFlowValue"), E(w));
2317
+ return w === null || v(w) ? e.check(Tt, y, D)(w) : (e.enter("codeFlowValue"), C(w));
2318
2318
  }
2319
- function E(w) {
2320
- return w === null || v(w) ? (e.exit("codeFlowValue"), A(w)) : (e.consume(w), E);
2319
+ function C(w) {
2320
+ return w === null || v(w) ? (e.exit("codeFlowValue"), A(w)) : (e.consume(w), C);
2321
2321
  }
2322
- function L(w) {
2322
+ function D(w) {
2323
2323
  return e.exit("codeFenced"), t(w);
2324
2324
  }
2325
2325
  function F(w, M, $) {
2326
2326
  let B = 0;
2327
- return k;
2328
- function k(N) {
2327
+ return x;
2328
+ function x(N) {
2329
2329
  return w.enter("lineEnding"), w.consume(N), w.exit("lineEnding"), T;
2330
2330
  }
2331
2331
  function T(N) {
@@ -2634,8 +2634,8 @@ function bo(e, t) {
2634
2634
  let l = n._tokenizer;
2635
2635
  l || (l = r.parser[n.contentType](n.start), n._contentTypeTextTrailing && (l._contentTypeTextTrailing = !0));
2636
2636
  const a = l.events, u = [], s = {};
2637
- let f, c, p = -1, h = n, d = 0, x = 0;
2638
- const C = [x];
2637
+ let f, c, p = -1, h = n, d = 0, y = 0;
2638
+ const E = [y];
2639
2639
  for (; h; ) {
2640
2640
  for (; e.get(++i)[1] !== h; )
2641
2641
  ;
@@ -2643,10 +2643,10 @@ function bo(e, t) {
2643
2643
  }
2644
2644
  for (h = n; ++p < a.length; )
2645
2645
  // Find a void token that includes a break.
2646
- a[p][0] === "exit" && a[p - 1][0] === "enter" && a[p][1].type === a[p - 1][1].type && a[p][1].start.line !== a[p][1].end.line && (x = p + 1, C.push(x), h._tokenizer = void 0, h.previous = void 0, h = h.next);
2647
- for (l.events = [], h ? (h._tokenizer = void 0, h.previous = void 0) : C.pop(), p = C.length; p--; ) {
2648
- const y = a.slice(C[p], C[p + 1]), A = o.pop();
2649
- u.push([A, A + y.length - 1]), e.splice(A, 2, y);
2646
+ a[p][0] === "exit" && a[p - 1][0] === "enter" && a[p][1].type === a[p - 1][1].type && a[p][1].start.line !== a[p][1].end.line && (y = p + 1, E.push(y), h._tokenizer = void 0, h.previous = void 0, h = h.next);
2647
+ for (l.events = [], h ? (h._tokenizer = void 0, h.previous = void 0) : E.pop(), p = E.length; p--; ) {
2648
+ const k = a.slice(E[p], E[p + 1]), A = o.pop();
2649
+ u.push([A, A + k.length - 1]), e.splice(A, 2, k);
2650
2650
  }
2651
2651
  for (u.reverse(), p = -1; ++p < u.length; )
2652
2652
  s[d + u[p][0]] = d + u[p][1], d += u[p][1] - u[p][0] - 1;
@@ -2700,27 +2700,27 @@ function Pr(e, t, n, r, i, o, l, a, u) {
2700
2700
  const s = u || Number.POSITIVE_INFINITY;
2701
2701
  let f = 0;
2702
2702
  return c;
2703
- function c(y) {
2704
- return y === 60 ? (e.enter(r), e.enter(i), e.enter(o), e.consume(y), e.exit(o), p) : y === null || y === 32 || y === 41 || rn(y) ? n(y) : (e.enter(r), e.enter(l), e.enter(a), e.enter("chunkString", {
2703
+ function c(k) {
2704
+ return k === 60 ? (e.enter(r), e.enter(i), e.enter(o), e.consume(k), e.exit(o), p) : k === null || k === 32 || k === 41 || rn(k) ? n(k) : (e.enter(r), e.enter(l), e.enter(a), e.enter("chunkString", {
2705
2705
  contentType: "string"
2706
- }), x(y));
2706
+ }), y(k));
2707
2707
  }
2708
- function p(y) {
2709
- return y === 62 ? (e.enter(o), e.consume(y), e.exit(o), e.exit(i), e.exit(r), t) : (e.enter(a), e.enter("chunkString", {
2708
+ function p(k) {
2709
+ return k === 62 ? (e.enter(o), e.consume(k), e.exit(o), e.exit(i), e.exit(r), t) : (e.enter(a), e.enter("chunkString", {
2710
2710
  contentType: "string"
2711
- }), h(y));
2711
+ }), h(k));
2712
2712
  }
2713
- function h(y) {
2714
- return y === 62 ? (e.exit("chunkString"), e.exit(a), p(y)) : y === null || y === 60 || v(y) ? n(y) : (e.consume(y), y === 92 ? d : h);
2713
+ function h(k) {
2714
+ return k === 62 ? (e.exit("chunkString"), e.exit(a), p(k)) : k === null || k === 60 || v(k) ? n(k) : (e.consume(k), k === 92 ? d : h);
2715
2715
  }
2716
- function d(y) {
2717
- return y === 60 || y === 62 || y === 92 ? (e.consume(y), h) : h(y);
2716
+ function d(k) {
2717
+ return k === 60 || k === 62 || k === 92 ? (e.consume(k), h) : h(k);
2718
2718
  }
2719
- function x(y) {
2720
- return !f && (y === null || y === 41 || U(y)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(y)) : f < s && y === 40 ? (e.consume(y), f++, x) : y === 41 ? (e.consume(y), f--, x) : y === null || y === 32 || y === 40 || rn(y) ? n(y) : (e.consume(y), y === 92 ? C : x);
2719
+ function y(k) {
2720
+ return !f && (k === null || k === 41 || U(k)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(k)) : f < s && k === 40 ? (e.consume(k), f++, y) : k === 41 ? (e.consume(k), f--, y) : k === null || k === 32 || k === 40 || rn(k) ? n(k) : (e.consume(k), k === 92 ? E : y);
2721
2721
  }
2722
- function C(y) {
2723
- return y === 40 || y === 41 || y === 92 ? (e.consume(y), x) : x(y);
2722
+ function E(k) {
2723
+ return k === 40 || k === 41 || k === 92 ? (e.consume(k), y) : y(k);
2724
2724
  }
2725
2725
  }
2726
2726
  function vr(e, t, n, r, i, o) {
@@ -2847,9 +2847,9 @@ function vo(e, t, n) {
2847
2847
  }
2848
2848
  const zo = {
2849
2849
  name: "hardBreakEscape",
2850
- tokenize: Do
2850
+ tokenize: Lo
2851
2851
  };
2852
- function Do(e, t, n) {
2852
+ function Lo(e, t, n) {
2853
2853
  return r;
2854
2854
  function r(o) {
2855
2855
  return e.enter("hardBreakEscape"), e.consume(o), i;
@@ -2858,7 +2858,7 @@ function Do(e, t, n) {
2858
2858
  return v(o) ? (e.exit("hardBreakEscape"), t(o)) : n(o);
2859
2859
  }
2860
2860
  }
2861
- const Lo = {
2861
+ const Do = {
2862
2862
  name: "headingAtx",
2863
2863
  resolve: Fo,
2864
2864
  tokenize: _o
@@ -2990,7 +2990,7 @@ function jo(e, t, n) {
2990
2990
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(g), c;
2991
2991
  }
2992
2992
  function c(g) {
2993
- return g === 33 ? (e.consume(g), p) : g === 47 ? (e.consume(g), o = !0, x) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : m) : J(g) ? (e.consume(g), l = String.fromCharCode(g), C) : n(g);
2993
+ return g === 33 ? (e.consume(g), p) : g === 47 ? (e.consume(g), o = !0, y) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : m) : J(g) ? (e.consume(g), l = String.fromCharCode(g), E) : n(g);
2994
2994
  }
2995
2995
  function p(g) {
2996
2996
  return g === 45 ? (e.consume(g), i = 2, h) : g === 91 ? (e.consume(g), i = 5, a = 0, d) : J(g) ? (e.consume(g), i = 4, r.interrupt ? t : m) : n(g);
@@ -3002,30 +3002,30 @@ function jo(e, t, n) {
3002
3002
  const ae = "CDATA[";
3003
3003
  return g === ae.charCodeAt(a++) ? (e.consume(g), a === ae.length ? r.interrupt ? t : P : d) : n(g);
3004
3004
  }
3005
- function x(g) {
3006
- return J(g) ? (e.consume(g), l = String.fromCharCode(g), C) : n(g);
3005
+ function y(g) {
3006
+ return J(g) ? (e.consume(g), l = String.fromCharCode(g), E) : n(g);
3007
3007
  }
3008
- function C(g) {
3008
+ function E(g) {
3009
3009
  if (g === null || g === 47 || g === 62 || U(g)) {
3010
3010
  const ae = g === 47, be = l.toLowerCase();
3011
- return !ae && !o && vt.includes(be) ? (i = 1, r.interrupt ? t(g) : P(g)) : Ro.includes(l.toLowerCase()) ? (i = 6, ae ? (e.consume(g), y) : r.interrupt ? t(g) : P(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? A(g) : E(g));
3011
+ return !ae && !o && vt.includes(be) ? (i = 1, r.interrupt ? t(g) : P(g)) : Ro.includes(l.toLowerCase()) ? (i = 6, ae ? (e.consume(g), k) : r.interrupt ? t(g) : P(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? A(g) : C(g));
3012
3012
  }
3013
- return g === 45 || G(g) ? (e.consume(g), l += String.fromCharCode(g), C) : n(g);
3013
+ return g === 45 || G(g) ? (e.consume(g), l += String.fromCharCode(g), E) : n(g);
3014
3014
  }
3015
- function y(g) {
3015
+ function k(g) {
3016
3016
  return g === 62 ? (e.consume(g), r.interrupt ? t : P) : n(g);
3017
3017
  }
3018
3018
  function A(g) {
3019
- return _(g) ? (e.consume(g), A) : k(g);
3019
+ return _(g) ? (e.consume(g), A) : x(g);
3020
3020
  }
3021
- function E(g) {
3022
- return g === 47 ? (e.consume(g), k) : g === 58 || g === 95 || J(g) ? (e.consume(g), L) : _(g) ? (e.consume(g), E) : k(g);
3021
+ function C(g) {
3022
+ return g === 47 ? (e.consume(g), x) : g === 58 || g === 95 || J(g) ? (e.consume(g), D) : _(g) ? (e.consume(g), C) : x(g);
3023
3023
  }
3024
- function L(g) {
3025
- return g === 45 || g === 46 || g === 58 || g === 95 || G(g) ? (e.consume(g), L) : F(g);
3024
+ function D(g) {
3025
+ return g === 45 || g === 46 || g === 58 || g === 95 || G(g) ? (e.consume(g), D) : F(g);
3026
3026
  }
3027
3027
  function F(g) {
3028
- return g === 61 ? (e.consume(g), w) : _(g) ? (e.consume(g), F) : E(g);
3028
+ return g === 61 ? (e.consume(g), w) : _(g) ? (e.consume(g), F) : C(g);
3029
3029
  }
3030
3030
  function w(g) {
3031
3031
  return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), u = g, M) : _(g) ? (e.consume(g), w) : $(g);
@@ -3037,9 +3037,9 @@ function jo(e, t, n) {
3037
3037
  return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || U(g) ? F(g) : (e.consume(g), $);
3038
3038
  }
3039
3039
  function B(g) {
3040
- return g === 47 || g === 62 || _(g) ? E(g) : n(g);
3040
+ return g === 47 || g === 62 || _(g) ? C(g) : n(g);
3041
3041
  }
3042
- function k(g) {
3042
+ function x(g) {
3043
3043
  return g === 62 ? (e.consume(g), T) : n(g);
3044
3044
  }
3045
3045
  function T(g) {
@@ -3111,7 +3111,7 @@ function $o(e, t, n) {
3111
3111
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(m), u;
3112
3112
  }
3113
3113
  function u(m) {
3114
- return m === 33 ? (e.consume(m), s) : m === 47 ? (e.consume(m), F) : m === 63 ? (e.consume(m), E) : J(m) ? (e.consume(m), $) : n(m);
3114
+ return m === 33 ? (e.consume(m), s) : m === 47 ? (e.consume(m), F) : m === 63 ? (e.consume(m), C) : J(m) ? (e.consume(m), $) : n(m);
3115
3115
  }
3116
3116
  function s(m) {
3117
3117
  return m === 45 ? (e.consume(m), f) : m === 91 ? (e.consume(m), o = 0, d) : J(m) ? (e.consume(m), A) : n(m);
@@ -3130,25 +3130,25 @@ function $o(e, t, n) {
3130
3130
  }
3131
3131
  function d(m) {
3132
3132
  const oe = "CDATA[";
3133
- return m === oe.charCodeAt(o++) ? (e.consume(m), o === oe.length ? x : d) : n(m);
3133
+ return m === oe.charCodeAt(o++) ? (e.consume(m), o === oe.length ? y : d) : n(m);
3134
3134
  }
3135
- function x(m) {
3136
- return m === null ? n(m) : m === 93 ? (e.consume(m), C) : v(m) ? (l = x, Y(m)) : (e.consume(m), x);
3135
+ function y(m) {
3136
+ return m === null ? n(m) : m === 93 ? (e.consume(m), E) : v(m) ? (l = y, Y(m)) : (e.consume(m), y);
3137
3137
  }
3138
- function C(m) {
3139
- return m === 93 ? (e.consume(m), y) : x(m);
3138
+ function E(m) {
3139
+ return m === 93 ? (e.consume(m), k) : y(m);
3140
3140
  }
3141
- function y(m) {
3142
- return m === 62 ? Q(m) : m === 93 ? (e.consume(m), y) : x(m);
3141
+ function k(m) {
3142
+ return m === 62 ? Q(m) : m === 93 ? (e.consume(m), k) : y(m);
3143
3143
  }
3144
3144
  function A(m) {
3145
3145
  return m === null || m === 62 ? Q(m) : v(m) ? (l = A, Y(m)) : (e.consume(m), A);
3146
3146
  }
3147
- function E(m) {
3148
- return m === null ? n(m) : m === 63 ? (e.consume(m), L) : v(m) ? (l = E, Y(m)) : (e.consume(m), E);
3147
+ function C(m) {
3148
+ return m === null ? n(m) : m === 63 ? (e.consume(m), D) : v(m) ? (l = C, Y(m)) : (e.consume(m), C);
3149
3149
  }
3150
- function L(m) {
3151
- return m === 62 ? Q(m) : E(m);
3150
+ function D(m) {
3151
+ return m === 62 ? Q(m) : C(m);
3152
3152
  }
3153
3153
  function F(m) {
3154
3154
  return J(m) ? (e.consume(m), w) : n(m);
@@ -3163,10 +3163,10 @@ function $o(e, t, n) {
3163
3163
  return m === 45 || G(m) ? (e.consume(m), $) : m === 47 || m === 62 || U(m) ? B(m) : n(m);
3164
3164
  }
3165
3165
  function B(m) {
3166
- return m === 47 ? (e.consume(m), Q) : m === 58 || m === 95 || J(m) ? (e.consume(m), k) : v(m) ? (l = B, Y(m)) : _(m) ? (e.consume(m), B) : Q(m);
3166
+ return m === 47 ? (e.consume(m), Q) : m === 58 || m === 95 || J(m) ? (e.consume(m), x) : v(m) ? (l = B, Y(m)) : _(m) ? (e.consume(m), B) : Q(m);
3167
3167
  }
3168
- function k(m) {
3169
- return m === 45 || m === 46 || m === 58 || m === 95 || G(m) ? (e.consume(m), k) : T(m);
3168
+ function x(m) {
3169
+ return m === 45 || m === 46 || m === 58 || m === 95 || G(m) ? (e.consume(m), x) : T(m);
3170
3170
  }
3171
3171
  function T(m) {
3172
3172
  return m === 61 ? (e.consume(m), P) : v(m) ? (l = T, Y(m)) : _(m) ? (e.consume(m), T) : B(m);
@@ -3563,11 +3563,11 @@ function da(e) {
3563
3563
  }
3564
3564
  }
3565
3565
  const ya = {
3566
- resolveAll: Lr()
3567
- }, ka = Dr("string"), xa = Dr("text");
3568
- function Dr(e) {
3566
+ resolveAll: Dr()
3567
+ }, ka = Lr("string"), xa = Lr("text");
3568
+ function Lr(e) {
3569
3569
  return {
3570
- resolveAll: Lr(e === "text" ? ba : void 0),
3570
+ resolveAll: Dr(e === "text" ? ba : void 0),
3571
3571
  tokenize: t
3572
3572
  };
3573
3573
  function t(n) {
@@ -3601,7 +3601,7 @@ function Dr(e) {
3601
3601
  }
3602
3602
  }
3603
3603
  }
3604
- function Lr(e) {
3604
+ function Dr(e) {
3605
3605
  return t;
3606
3606
  function t(n, r) {
3607
3607
  let i = -1, o;
@@ -3674,7 +3674,7 @@ const wa = {
3674
3674
  [-1]: dn,
3675
3675
  32: dn
3676
3676
  }, Ea = {
3677
- 35: Lo,
3677
+ 35: Do,
3678
3678
  42: en,
3679
3679
  45: [zt, en],
3680
3680
  60: Oo,
@@ -3716,7 +3716,7 @@ const wa = {
3716
3716
  string: Ia,
3717
3717
  text: Aa
3718
3718
  }, Symbol.toStringTag, { value: "Module" }));
3719
- function Da(e, t, n) {
3719
+ function La(e, t, n) {
3720
3720
  let r = {
3721
3721
  _bufferIndex: -1,
3722
3722
  _index: 0,
@@ -3730,15 +3730,15 @@ function Da(e, t, n) {
3730
3730
  attempt: M(F),
3731
3731
  check: M(w),
3732
3732
  consume: A,
3733
- enter: E,
3734
- exit: L,
3733
+ enter: C,
3734
+ exit: D,
3735
3735
  interrupt: M(w, {
3736
3736
  interrupt: !0
3737
3737
  })
3738
3738
  }, s = {
3739
3739
  code: null,
3740
3740
  containerState: {},
3741
- defineSkip: x,
3741
+ defineSkip: y,
3742
3742
  events: [],
3743
3743
  now: d,
3744
3744
  parser: e,
@@ -3750,13 +3750,13 @@ function Da(e, t, n) {
3750
3750
  let f = t.tokenize.call(s, u);
3751
3751
  return t.resolveAll && o.push(t), s;
3752
3752
  function c(T) {
3753
- return l = ie(l, T), C(), l[l.length - 1] !== null ? [] : ($(t, 0), s.events = cn(o, s.events, s), s.events);
3753
+ return l = ie(l, T), E(), l[l.length - 1] !== null ? [] : ($(t, 0), s.events = cn(o, s.events, s), s.events);
3754
3754
  }
3755
3755
  function p(T, P) {
3756
3756
  return Fa(h(T), P);
3757
3757
  }
3758
3758
  function h(T) {
3759
- return La(l, T);
3759
+ return Da(l, T);
3760
3760
  }
3761
3761
  function d() {
3762
3762
  const {
@@ -3774,34 +3774,34 @@ function Da(e, t, n) {
3774
3774
  offset: N
3775
3775
  };
3776
3776
  }
3777
- function x(T) {
3778
- i[T.line] = T.column, k();
3777
+ function y(T) {
3778
+ i[T.line] = T.column, x();
3779
3779
  }
3780
- function C() {
3780
+ function E() {
3781
3781
  let T;
3782
3782
  for (; r._index < l.length; ) {
3783
3783
  const P = l[r._index];
3784
3784
  if (typeof P == "string")
3785
3785
  for (T = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === T && r._bufferIndex < P.length; )
3786
- y(P.charCodeAt(r._bufferIndex));
3786
+ k(P.charCodeAt(r._bufferIndex));
3787
3787
  else
3788
- y(P);
3788
+ k(P);
3789
3789
  }
3790
3790
  }
3791
- function y(T) {
3791
+ function k(T) {
3792
3792
  f = f(T);
3793
3793
  }
3794
3794
  function A(T) {
3795
- v(T) ? (r.line++, r.column = 1, r.offset += T === -3 ? 2 : 1, k()) : T !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
3795
+ v(T) ? (r.line++, r.column = 1, r.offset += T === -3 ? 2 : 1, x()) : T !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
3796
3796
  // strings.
3797
3797
  /** @type {string} */
3798
3798
  l[r._index].length && (r._bufferIndex = -1, r._index++)), s.previous = T;
3799
3799
  }
3800
- function E(T, P) {
3800
+ function C(T, P) {
3801
3801
  const j = P || {};
3802
3802
  return j.type = T, j.start = d(), s.events.push(["enter", j, s]), a.push(j), j;
3803
3803
  }
3804
- function L(T) {
3804
+ function D(T) {
3805
3805
  const P = a.pop();
3806
3806
  return P.end = d(), s.events.push(["exit", P, s]), P;
3807
3807
  }
@@ -3872,14 +3872,14 @@ function Da(e, t, n) {
3872
3872
  restore: Q
3873
3873
  };
3874
3874
  function Q() {
3875
- r = T, s.previous = P, s.currentConstruct = j, s.events.length = q, a = N, k();
3875
+ r = T, s.previous = P, s.currentConstruct = j, s.events.length = q, a = N, x();
3876
3876
  }
3877
3877
  }
3878
- function k() {
3878
+ function x() {
3879
3879
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
3880
3880
  }
3881
3881
  }
3882
- function La(e, t) {
3882
+ function Da(e, t) {
3883
3883
  const n = t.start._index, r = t.start._bufferIndex, i = t.end._index, o = t.end._bufferIndex;
3884
3884
  let l;
3885
3885
  if (n === i)
@@ -3951,7 +3951,7 @@ function _a(e) {
3951
3951
  function i(o) {
3952
3952
  return l;
3953
3953
  function l(a) {
3954
- return Da(r, o, a);
3954
+ return La(r, o, a);
3955
3955
  }
3956
3956
  }
3957
3957
  }
@@ -3960,7 +3960,7 @@ function Ra(e) {
3960
3960
  ;
3961
3961
  return e;
3962
3962
  }
3963
- const Dt = /[\0\t\n\r]/g;
3963
+ const Lt = /[\0\t\n\r]/g;
3964
3964
  function Oa() {
3965
3965
  let e = 1, t = "", n = !0, r;
3966
3966
  return i;
@@ -3968,7 +3968,7 @@ function Oa() {
3968
3968
  const u = [];
3969
3969
  let s, f, c, p, h;
3970
3970
  for (o = t + (typeof o == "string" ? o.toString() : new TextDecoder(l || void 0).decode(o)), c = 0, t = "", n && (o.charCodeAt(0) === 65279 && c++, n = void 0); c < o.length; ) {
3971
- if (Dt.lastIndex = c, s = Dt.exec(o), p = s && s.index !== void 0 ? s.index : o.length, h = o.charCodeAt(p), !s) {
3971
+ if (Lt.lastIndex = c, s = Lt.exec(o), p = s && s.index !== void 0 ? s.index : o.length, h = o.charCodeAt(p), !s) {
3972
3972
  t = o.slice(c);
3973
3973
  break;
3974
3974
  }
@@ -4067,31 +4067,31 @@ function Ha(e) {
4067
4067
  autolinkEmail: Ae,
4068
4068
  autolinkProtocol: ye,
4069
4069
  blockQuote: u(),
4070
- characterEscapeValue: k,
4070
+ characterEscapeValue: x,
4071
4071
  characterReferenceMarkerHexadecimal: be,
4072
4072
  characterReferenceMarkerNumeric: be,
4073
4073
  characterReferenceValue: X,
4074
4074
  characterReference: Oe,
4075
- codeFenced: u(C),
4076
- codeFencedFence: x,
4075
+ codeFenced: u(E),
4076
+ codeFencedFence: y,
4077
4077
  codeFencedFenceInfo: h,
4078
4078
  codeFencedFenceMeta: d,
4079
- codeFlowValue: k,
4080
- codeIndented: u(y),
4079
+ codeFlowValue: x,
4080
+ codeIndented: u(k),
4081
4081
  codeText: u(N),
4082
- codeTextData: k,
4083
- data: k,
4082
+ codeTextData: x,
4083
+ data: x,
4084
4084
  definition: u(),
4085
- definitionDestinationString: L,
4085
+ definitionDestinationString: D,
4086
4086
  definitionLabelString: A,
4087
- definitionTitleString: E,
4087
+ definitionTitleString: C,
4088
4088
  emphasis: u(),
4089
4089
  hardBreakEscape: u(P),
4090
4090
  hardBreakTrailing: u(P),
4091
4091
  htmlFlow: u(j),
4092
- htmlFlowData: k,
4092
+ htmlFlowData: x,
4093
4093
  htmlText: u(q),
4094
- htmlTextData: k,
4094
+ htmlTextData: x,
4095
4095
  image: u(Y),
4096
4096
  label: he,
4097
4097
  labelText: le,
@@ -4147,7 +4147,7 @@ function Ha(e) {
4147
4147
  }
4148
4148
  if (z.tokenStack.length > 0) {
4149
4149
  const ue = z.tokenStack[z.tokenStack.length - 1];
4150
- (ue[1] || Lt).call(z, void 0, ue[0]);
4150
+ (ue[1] || Dt).call(z, void 0, ue[0]);
4151
4151
  }
4152
4152
  for (I.position = {
4153
4153
  start: ke(b.length > 0 ? b[0][1].start : {
@@ -4242,7 +4242,7 @@ function Ha(e) {
4242
4242
  function s(b, I) {
4243
4243
  const z = this.stack.pop(), R = this.tokenStack.pop();
4244
4244
  if (R)
4245
- R[0].type !== b.type && (I ? I.call(this, b, R[0]) : (R[1] || Lt).call(this, b, R[0]));
4245
+ R[0].type !== b.type && (I ? I.call(this, b, R[0]) : (R[1] || Dt).call(this, b, R[0]));
4246
4246
  else throw new Error("Cannot close `" + b.type + "` (" + He({
4247
4247
  start: b.start,
4248
4248
  end: b.end
@@ -4269,14 +4269,14 @@ function Ha(e) {
4269
4269
  const b = this.resume(), I = this.stack[this.stack.length - 1];
4270
4270
  I.meta = b;
4271
4271
  }
4272
- function x() {
4272
+ function y() {
4273
4273
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
4274
4274
  }
4275
- function C() {
4275
+ function E() {
4276
4276
  const b = this.resume(), I = this.stack[this.stack.length - 1];
4277
4277
  I.value = b.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
4278
4278
  }
4279
- function y() {
4279
+ function k() {
4280
4280
  const b = this.resume(), I = this.stack[this.stack.length - 1];
4281
4281
  I.value = b.replace(/(\r?\n|\r)$/g, "");
4282
4282
  }
@@ -4284,11 +4284,11 @@ function Ha(e) {
4284
4284
  const I = this.resume(), z = this.stack[this.stack.length - 1];
4285
4285
  z.label = I, z.identifier = se(this.sliceSerialize(b)).toLowerCase();
4286
4286
  }
4287
- function E() {
4287
+ function C() {
4288
4288
  const b = this.resume(), I = this.stack[this.stack.length - 1];
4289
4289
  I.title = b;
4290
4290
  }
4291
- function L() {
4291
+ function D() {
4292
4292
  const b = this.resume(), I = this.stack[this.stack.length - 1];
4293
4293
  I.url = b;
4294
4294
  }
@@ -4318,7 +4318,7 @@ function Ha(e) {
4318
4318
  end: void 0
4319
4319
  }, z.push(R)), this.stack.push(R);
4320
4320
  }
4321
- function k(b) {
4321
+ function x(b) {
4322
4322
  const I = this.stack.pop();
4323
4323
  I.value += this.sliceSerialize(b), I.position.end = ke(b.end);
4324
4324
  }
@@ -4329,7 +4329,7 @@ function Ha(e) {
4329
4329
  z.position.end = ke(b.end), this.data.atHardBreak = void 0;
4330
4330
  return;
4331
4331
  }
4332
- !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(I.type) && (B.call(this, b), k.call(this, b));
4332
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(I.type) && (B.call(this, b), x.call(this, b));
4333
4333
  }
4334
4334
  function P() {
4335
4335
  this.data.atHardBreak = !0;
@@ -4409,12 +4409,12 @@ function Ha(e) {
4409
4409
  I.position.end = ke(b.end);
4410
4410
  }
4411
4411
  function ye(b) {
4412
- k.call(this, b);
4412
+ x.call(this, b);
4413
4413
  const I = this.stack[this.stack.length - 1];
4414
4414
  I.url = this.sliceSerialize(b);
4415
4415
  }
4416
4416
  function Ae(b) {
4417
- k.call(this, b);
4417
+ x.call(this, b);
4418
4418
  const I = this.stack[this.stack.length - 1];
4419
4419
  I.url = "mailto:" + this.sliceSerialize(b);
4420
4420
  }
@@ -4566,7 +4566,7 @@ function Ua(e, t) {
4566
4566
  }
4567
4567
  }
4568
4568
  }
4569
- function Lt(e, t) {
4569
+ function Dt(e, t) {
4570
4570
  throw e ? new Error("Cannot close `" + e.type + "` (" + He({
4571
4571
  start: e.start,
4572
4572
  end: e.end
@@ -5130,8 +5130,8 @@ function Su(e) {
5130
5130
  continue;
5131
5131
  const f = e.all(s), c = String(s.identifier).toUpperCase(), p = Re(c.toLowerCase());
5132
5132
  let h = 0;
5133
- const d = [], x = e.footnoteCounts.get(c);
5134
- for (; x !== void 0 && ++h <= x; ) {
5133
+ const d = [], y = e.footnoteCounts.get(c);
5134
+ for (; y !== void 0 && ++h <= y; ) {
5135
5135
  d.length > 0 && d.push({ type: "text", value: " " });
5136
5136
  let A = typeof n == "string" ? n : n(u, h);
5137
5137
  typeof A == "string" && (A = { type: "text", value: A }), d.push({
@@ -5146,19 +5146,19 @@ function Su(e) {
5146
5146
  children: Array.isArray(A) ? A : [A]
5147
5147
  });
5148
5148
  }
5149
- const C = f[f.length - 1];
5150
- if (C && C.type === "element" && C.tagName === "p") {
5151
- const A = C.children[C.children.length - 1];
5152
- A && A.type === "text" ? A.value += " " : C.children.push({ type: "text", value: " " }), C.children.push(...d);
5149
+ const E = f[f.length - 1];
5150
+ if (E && E.type === "element" && E.tagName === "p") {
5151
+ const A = E.children[E.children.length - 1];
5152
+ A && A.type === "text" ? A.value += " " : E.children.push({ type: "text", value: " " }), E.children.push(...d);
5153
5153
  } else
5154
5154
  f.push(...d);
5155
- const y = {
5155
+ const k = {
5156
5156
  type: "element",
5157
5157
  tagName: "li",
5158
5158
  properties: { id: t + "fn-" + p },
5159
5159
  children: e.wrap(f, !0)
5160
5160
  };
5161
- e.patch(s, y), a.push(y);
5161
+ e.patch(s, k), a.push(k);
5162
5162
  }
5163
5163
  if (a.length !== 0)
5164
5164
  return {
@@ -5301,20 +5301,20 @@ function Hr(e, t, n, r) {
5301
5301
  }
5302
5302
  return p;
5303
5303
  function p() {
5304
- let h = jr, d, x, C;
5304
+ let h = jr, d, y, E;
5305
5305
  if ((!t || o(u, s, f[f.length - 1] || void 0)) && (h = zu(n(u, f)), h[0] === On))
5306
5306
  return h;
5307
5307
  if ("children" in u && u.children) {
5308
- const y = (
5308
+ const k = (
5309
5309
  /** @type {UnistParent} */
5310
5310
  u
5311
5311
  );
5312
- if (y.children && h[0] !== vu)
5313
- for (x = (r ? y.children.length : -1) + l, C = f.concat(y); x > -1 && x < y.children.length; ) {
5314
- const A = y.children[x];
5315
- if (d = a(A, x, C)(), d[0] === On)
5312
+ if (k.children && h[0] !== vu)
5313
+ for (y = (r ? k.children.length : -1) + l, E = f.concat(k); y > -1 && y < k.children.length; ) {
5314
+ const A = k.children[y];
5315
+ if (d = a(A, y, E)(), d[0] === On)
5316
5316
  return d;
5317
- x = typeof d[1] == "number" ? d[1] : x + l;
5317
+ y = typeof d[1] == "number" ? d[1] : y + l;
5318
5318
  }
5319
5319
  }
5320
5320
  return h;
@@ -5332,9 +5332,9 @@ function nt(e, t, n, r) {
5332
5332
  return l(u, c, f);
5333
5333
  }
5334
5334
  }
5335
- const Mn = {}.hasOwnProperty, Du = {};
5336
- function Lu(e, t) {
5337
- const n = t || Du, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), l = { ...gu, ...n.handlers }, a = {
5335
+ const Mn = {}.hasOwnProperty, Lu = {};
5336
+ function Du(e, t) {
5337
+ const n = t || Lu, r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), l = { ...gu, ...n.handlers }, a = {
5338
5338
  all: s,
5339
5339
  applyData: _u,
5340
5340
  definitionById: r,
@@ -5359,8 +5359,8 @@ function Lu(e, t) {
5359
5359
  return h(a, f, c);
5360
5360
  if (a.options.passThrough && a.options.passThrough.includes(p)) {
5361
5361
  if ("children" in f) {
5362
- const { children: x, ...C } = f, y = on(C);
5363
- return y.children = a.all(f), y;
5362
+ const { children: y, ...E } = f, k = on(E);
5363
+ return k.children = a.all(f), k;
5364
5364
  }
5365
5365
  return on(f);
5366
5366
  }
@@ -5375,8 +5375,8 @@ function Lu(e, t) {
5375
5375
  const d = a.one(p[h], f);
5376
5376
  if (d) {
5377
5377
  if (h && p[h - 1].type === "break" && (!Array.isArray(d) && d.type === "text" && (d.value = Bt(d.value)), !Array.isArray(d) && d.type === "element")) {
5378
- const x = d.children[0];
5379
- x && x.type === "text" && (x.value = Bt(x.value));
5378
+ const y = d.children[0];
5379
+ y && y.type === "text" && (y.value = Bt(y.value));
5380
5380
  }
5381
5381
  Array.isArray(d) ? c.push(...d) : c.push(d);
5382
5382
  }
@@ -5429,7 +5429,7 @@ function Bt(e) {
5429
5429
  return e.slice(t);
5430
5430
  }
5431
5431
  function jt(e, t) {
5432
- const n = Lu(e, t), r = n.one(e, void 0), i = Su(n), o = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5432
+ const n = Du(e, t), r = n.one(e, void 0), i = Su(n), o = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
5433
5433
  return i && o.children.push({ type: "text", value: `
5434
5434
  ` }, i), o;
5435
5435
  }
@@ -6596,8 +6596,8 @@ class tt extends Ju {
6596
6596
  r.push([s, ...f]);
6597
6597
  else if (f.length > 0) {
6598
6598
  let [h, ...d] = f;
6599
- const x = r[p][1];
6600
- Nn(x) && Nn(h) && (h = kn(!0, x, h)), r[p] = [s, h, ...d];
6599
+ const y = r[p][1];
6600
+ Nn(y) && Nn(h) && (h = kn(!0, y, h)), r[p] = [s, h, ...d];
6601
6601
  }
6602
6602
  }
6603
6603
  }
@@ -6693,7 +6693,7 @@ function cs(e, t) {
6693
6693
  Fragment: Ei,
6694
6694
  components: i,
6695
6695
  ignoreInvalidStyle: !0,
6696
- jsx: De,
6696
+ jsx: Le,
6697
6697
  jsxs: Ci,
6698
6698
  passKeys: !0,
6699
6699
  passNode: !0
@@ -6705,8 +6705,8 @@ function cs(e, t) {
6705
6705
  let h;
6706
6706
  for (h in gn)
6707
6707
  if (Object.hasOwn(gn, h) && Object.hasOwn(f.properties, h)) {
6708
- const d = f.properties[h], x = gn[h];
6709
- (x === null || x.includes(f.tagName)) && (f.properties[h] = u(String(d || ""), h, f));
6708
+ const d = f.properties[h], y = gn[h];
6709
+ (y === null || y.includes(f.tagName)) && (f.properties[h] = u(String(d || ""), h, f));
6710
6710
  }
6711
6711
  }
6712
6712
  if (f.type === "element") {
@@ -6762,25 +6762,25 @@ function $r(e, t, n) {
6762
6762
  function u(s, f) {
6763
6763
  const c = f[f.length - 1], p = o[l][0], h = o[l][1];
6764
6764
  let d = 0;
6765
- const C = c.children.indexOf(s);
6766
- let y = !1, A = [];
6765
+ const E = c.children.indexOf(s);
6766
+ let k = !1, A = [];
6767
6767
  p.lastIndex = 0;
6768
- let E = p.exec(s.value);
6769
- for (; E; ) {
6770
- const L = E.index, F = {
6771
- index: E.index,
6772
- input: E.input,
6768
+ let C = p.exec(s.value);
6769
+ for (; C; ) {
6770
+ const D = C.index, F = {
6771
+ index: C.index,
6772
+ input: C.input,
6773
6773
  stack: [...f, s]
6774
6774
  };
6775
- let w = h(...E, F);
6776
- if (typeof w == "string" && (w = w.length > 0 ? { type: "text", value: w } : void 0), w === !1 ? p.lastIndex = L + 1 : (d !== L && A.push({
6775
+ let w = h(...C, F);
6776
+ if (typeof w == "string" && (w = w.length > 0 ? { type: "text", value: w } : void 0), w === !1 ? p.lastIndex = D + 1 : (d !== D && A.push({
6777
6777
  type: "text",
6778
- value: s.value.slice(d, L)
6779
- }), Array.isArray(w) ? A.push(...w) : w && A.push(w), d = L + E[0].length, y = !0), !p.global)
6778
+ value: s.value.slice(d, D)
6779
+ }), Array.isArray(w) ? A.push(...w) : w && A.push(w), d = D + C[0].length, k = !0), !p.global)
6780
6780
  break;
6781
- E = p.exec(s.value);
6781
+ C = p.exec(s.value);
6782
6782
  }
6783
- return y ? (d < s.value.length && A.push({ type: "text", value: s.value.slice(d) }), c.children.splice(C, 1, ...A)) : A = [s], C + A.length;
6783
+ return k ? (d < s.value.length && A.push({ type: "text", value: s.value.slice(d) }), c.children.splice(E, 1, ...A)) : A = [s], E + A.length;
6784
6784
  }
6785
6785
  }
6786
6786
  function ps(e) {
@@ -6935,13 +6935,13 @@ function vs(e) {
6935
6935
  function zs() {
6936
6936
  this.buffer();
6937
6937
  }
6938
- function Ds(e) {
6938
+ function Ls(e) {
6939
6939
  this.enter(
6940
6940
  { type: "footnoteDefinition", identifier: "", label: "", children: [] },
6941
6941
  e
6942
6942
  );
6943
6943
  }
6944
- function Ls(e) {
6944
+ function Ds(e) {
6945
6945
  const t = this.resume(), n = this.stack[this.stack.length - 1];
6946
6946
  n.type, n.identifier = se(
6947
6947
  this.sliceSerialize(e)
@@ -6976,10 +6976,10 @@ function Ms() {
6976
6976
  gfmFootnoteCallString: Ps,
6977
6977
  gfmFootnoteCall: vs,
6978
6978
  gfmFootnoteDefinitionLabelString: zs,
6979
- gfmFootnoteDefinition: Ds
6979
+ gfmFootnoteDefinition: Ls
6980
6980
  },
6981
6981
  exit: {
6982
- gfmFootnoteCallString: Ls,
6982
+ gfmFootnoteCallString: Ds,
6983
6983
  gfmFootnoteCall: Fs,
6984
6984
  gfmFootnoteDefinitionLabelString: _s,
6985
6985
  gfmFootnoteDefinition: Rs
@@ -7067,59 +7067,59 @@ function Ys(e, t) {
7067
7067
  const n = t || {}, r = (n.align || []).concat(), i = n.stringLength || Ws, o = [], l = [], a = [], u = [];
7068
7068
  let s = 0, f = -1;
7069
7069
  for (; ++f < e.length; ) {
7070
- const x = [], C = [];
7071
- let y = -1;
7072
- for (e[f].length > s && (s = e[f].length); ++y < e[f].length; ) {
7073
- const A = Xs(e[f][y]);
7070
+ const y = [], E = [];
7071
+ let k = -1;
7072
+ for (e[f].length > s && (s = e[f].length); ++k < e[f].length; ) {
7073
+ const A = Xs(e[f][k]);
7074
7074
  if (n.alignDelimiters !== !1) {
7075
- const E = i(A);
7076
- C[y] = E, (u[y] === void 0 || E > u[y]) && (u[y] = E);
7075
+ const C = i(A);
7076
+ E[k] = C, (u[k] === void 0 || C > u[k]) && (u[k] = C);
7077
7077
  }
7078
- x.push(A);
7078
+ y.push(A);
7079
7079
  }
7080
- l[f] = x, a[f] = C;
7080
+ l[f] = y, a[f] = E;
7081
7081
  }
7082
7082
  let c = -1;
7083
7083
  if (typeof r == "object" && "length" in r)
7084
7084
  for (; ++c < s; )
7085
7085
  o[c] = er(r[c]);
7086
7086
  else {
7087
- const x = er(r);
7087
+ const y = er(r);
7088
7088
  for (; ++c < s; )
7089
- o[c] = x;
7089
+ o[c] = y;
7090
7090
  }
7091
7091
  c = -1;
7092
7092
  const p = [], h = [];
7093
7093
  for (; ++c < s; ) {
7094
- const x = o[c];
7095
- let C = "", y = "";
7096
- x === 99 ? (C = ":", y = ":") : x === 108 ? C = ":" : x === 114 && (y = ":");
7094
+ const y = o[c];
7095
+ let E = "", k = "";
7096
+ y === 99 ? (E = ":", k = ":") : y === 108 ? E = ":" : y === 114 && (k = ":");
7097
7097
  let A = n.alignDelimiters === !1 ? 1 : Math.max(
7098
7098
  1,
7099
- u[c] - C.length - y.length
7099
+ u[c] - E.length - k.length
7100
7100
  );
7101
- const E = C + "-".repeat(A) + y;
7102
- n.alignDelimiters !== !1 && (A = C.length + A + y.length, A > u[c] && (u[c] = A), h[c] = A), p[c] = E;
7101
+ const C = E + "-".repeat(A) + k;
7102
+ n.alignDelimiters !== !1 && (A = E.length + A + k.length, A > u[c] && (u[c] = A), h[c] = A), p[c] = C;
7103
7103
  }
7104
7104
  l.splice(1, 0, p), a.splice(1, 0, h), f = -1;
7105
7105
  const d = [];
7106
7106
  for (; ++f < l.length; ) {
7107
- const x = l[f], C = a[f];
7107
+ const y = l[f], E = a[f];
7108
7108
  c = -1;
7109
- const y = [];
7109
+ const k = [];
7110
7110
  for (; ++c < s; ) {
7111
- const A = x[c] || "";
7112
- let E = "", L = "";
7111
+ const A = y[c] || "";
7112
+ let C = "", D = "";
7113
7113
  if (n.alignDelimiters !== !1) {
7114
- const F = u[c] - (C[c] || 0), w = o[c];
7115
- w === 114 ? E = " ".repeat(F) : w === 99 ? F % 2 ? (E = " ".repeat(F / 2 + 0.5), L = " ".repeat(F / 2 - 0.5)) : (E = " ".repeat(F / 2), L = E) : L = " ".repeat(F);
7114
+ const F = u[c] - (E[c] || 0), w = o[c];
7115
+ w === 114 ? C = " ".repeat(F) : w === 99 ? F % 2 ? (C = " ".repeat(F / 2 + 0.5), D = " ".repeat(F / 2 - 0.5)) : (C = " ".repeat(F / 2), D = C) : D = " ".repeat(F);
7116
7116
  }
7117
- n.delimiterStart !== !1 && !c && y.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
7117
+ n.delimiterStart !== !1 && !c && k.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
7118
7118
  // empty: there will be a closing space.
7119
- !(n.alignDelimiters === !1 && A === "") && (n.delimiterStart !== !1 || c) && y.push(" "), n.alignDelimiters !== !1 && y.push(E), y.push(A), n.alignDelimiters !== !1 && y.push(L), n.padding !== !1 && y.push(" "), (n.delimiterEnd !== !1 || c !== s - 1) && y.push("|");
7119
+ !(n.alignDelimiters === !1 && A === "") && (n.delimiterStart !== !1 || c) && k.push(" "), n.alignDelimiters !== !1 && k.push(C), k.push(A), n.alignDelimiters !== !1 && k.push(D), n.padding !== !1 && k.push(" "), (n.delimiterEnd !== !1 || c !== s - 1) && k.push("|");
7120
7120
  }
7121
7121
  d.push(
7122
- n.delimiterEnd === !1 ? y.join("").replace(/ +$/, "") : y.join("")
7122
+ n.delimiterEnd === !1 ? k.join("").replace(/ +$/, "") : k.join("")
7123
7123
  );
7124
7124
  }
7125
7125
  return d.join(`
@@ -7737,7 +7737,7 @@ function Tc() {
7737
7737
  tableRow: zc
7738
7738
  },
7739
7739
  exit: {
7740
- codeText: Dc,
7740
+ codeText: Lc,
7741
7741
  table: vc,
7742
7742
  tableData: Pn,
7743
7743
  tableHeader: Pn,
@@ -7770,13 +7770,13 @@ function Pn(e) {
7770
7770
  function rr(e) {
7771
7771
  this.enter({ type: "tableCell", children: [] }, e);
7772
7772
  }
7773
- function Dc(e) {
7773
+ function Lc(e) {
7774
7774
  let t = this.resume();
7775
- this.data.inTable && (t = t.replace(/\\([\\|])/g, Lc));
7775
+ this.data.inTable && (t = t.replace(/\\([\\|])/g, Dc));
7776
7776
  const n = this.stack[this.stack.length - 1];
7777
7777
  n.type, n.value = t, this.exit(e);
7778
7778
  }
7779
- function Lc(e, t) {
7779
+ function Dc(e, t) {
7780
7780
  return t === "|" ? t : e;
7781
7781
  }
7782
7782
  function Fc(e) {
@@ -7808,21 +7808,21 @@ function Fc(e) {
7808
7808
  tableRow: a
7809
7809
  }
7810
7810
  };
7811
- function l(h, d, x, C) {
7812
- return s(f(h, x, C), h.align);
7811
+ function l(h, d, y, E) {
7812
+ return s(f(h, y, E), h.align);
7813
7813
  }
7814
- function a(h, d, x, C) {
7815
- const y = c(h, x, C), A = s([y]);
7814
+ function a(h, d, y, E) {
7815
+ const k = c(h, y, E), A = s([k]);
7816
7816
  return A.slice(0, A.indexOf(`
7817
7817
  `));
7818
7818
  }
7819
- function u(h, d, x, C) {
7820
- const y = x.enter("tableCell"), A = x.enter("phrasing"), E = x.containerPhrasing(h, {
7821
- ...C,
7819
+ function u(h, d, y, E) {
7820
+ const k = y.enter("tableCell"), A = y.enter("phrasing"), C = y.containerPhrasing(h, {
7821
+ ...E,
7822
7822
  before: o,
7823
7823
  after: o
7824
7824
  });
7825
- return A(), y(), E;
7825
+ return A(), k(), C;
7826
7826
  }
7827
7827
  function s(h, d) {
7828
7828
  return Ys(h, {
@@ -7835,25 +7835,25 @@ function Fc(e) {
7835
7835
  stringLength: i
7836
7836
  });
7837
7837
  }
7838
- function f(h, d, x) {
7839
- const C = h.children;
7840
- let y = -1;
7841
- const A = [], E = d.enter("table");
7842
- for (; ++y < C.length; )
7843
- A[y] = c(C[y], d, x);
7844
- return E(), A;
7838
+ function f(h, d, y) {
7839
+ const E = h.children;
7840
+ let k = -1;
7841
+ const A = [], C = d.enter("table");
7842
+ for (; ++k < E.length; )
7843
+ A[k] = c(E[k], d, y);
7844
+ return C(), A;
7845
7845
  }
7846
- function c(h, d, x) {
7847
- const C = h.children;
7848
- let y = -1;
7849
- const A = [], E = d.enter("tableRow");
7850
- for (; ++y < C.length; )
7851
- A[y] = u(C[y], h, d, x);
7852
- return E(), A;
7846
+ function c(h, d, y) {
7847
+ const E = h.children;
7848
+ let k = -1;
7849
+ const A = [], C = d.enter("tableRow");
7850
+ for (; ++k < E.length; )
7851
+ A[k] = u(E[k], h, d, y);
7852
+ return C(), A;
7853
7853
  }
7854
- function p(h, d, x) {
7855
- let C = li.inlineCode(h, d, x);
7856
- return x.stack.includes("tableCell") && (C = C.replace(/\|/g, "\\$&")), C;
7854
+ function p(h, d, y) {
7855
+ let E = li.inlineCode(h, d, y);
7856
+ return y.stack.includes("tableCell") && (E = E.replace(/\|/g, "\\$&")), E;
7857
7857
  }
7858
7858
  }
7859
7859
  function _c() {
@@ -8273,8 +8273,8 @@ function tf(e, t, n) {
8273
8273
  return n(d);
8274
8274
  if (d === 93) {
8275
8275
  e.exit("chunkString");
8276
- const x = e.exit("gfmFootnoteDefinitionLabelString");
8277
- return o = se(r.sliceSerialize(x)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(d), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
8276
+ const y = e.exit("gfmFootnoteDefinitionLabelString");
8277
+ return o = se(r.sliceSerialize(y)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(d), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), p;
8278
8278
  }
8279
8279
  return U(d) || (a = !0), l++, e.consume(d), d === 92 ? c : f;
8280
8280
  }
@@ -8354,12 +8354,12 @@ function af(e) {
8354
8354
  return s === 126 && f[f.length - 1][1].type !== "characterEscape" ? u(d) : (l.enter("strikethroughSequenceTemporary"), h(d));
8355
8355
  }
8356
8356
  function h(d) {
8357
- const x = Fe(s);
8357
+ const y = Fe(s);
8358
8358
  if (d === 126)
8359
8359
  return c > 1 ? u(d) : (l.consume(d), c++, h);
8360
8360
  if (c < 2 && !n) return u(d);
8361
- const C = l.exit("strikethroughSequenceTemporary"), y = Fe(d);
8362
- return C._open = !y || y === 2 && !!x, C._close = !x || x === 2 && !!y, a(d);
8361
+ const E = l.exit("strikethroughSequenceTemporary"), k = Fe(d);
8362
+ return E._open = !k || k === 2 && !!y, E._close = !y || y === 2 && !!k, a(d);
8363
8363
  }
8364
8364
  }
8365
8365
  }
@@ -8466,7 +8466,7 @@ function hf(e, t, n) {
8466
8466
  const r = this;
8467
8467
  let i = 0, o = 0, l;
8468
8468
  return a;
8469
- function a(k) {
8469
+ function a(x) {
8470
8470
  let T = r.events.length - 1;
8471
8471
  for (; T > -1; ) {
8472
8472
  const q = r.events[T][1].type;
@@ -8475,61 +8475,61 @@ function hf(e, t, n) {
8475
8475
  else break;
8476
8476
  }
8477
8477
  const P = T > -1 ? r.events[T][1].type : null, j = P === "tableHead" || P === "tableRow" ? w : u;
8478
- return j === w && r.parser.lazy[r.now().line] ? n(k) : j(k);
8478
+ return j === w && r.parser.lazy[r.now().line] ? n(x) : j(x);
8479
8479
  }
8480
- function u(k) {
8481
- return e.enter("tableHead"), e.enter("tableRow"), s(k);
8480
+ function u(x) {
8481
+ return e.enter("tableHead"), e.enter("tableRow"), s(x);
8482
8482
  }
8483
- function s(k) {
8484
- return k === 124 || (l = !0, o += 1), f(k);
8483
+ function s(x) {
8484
+ return x === 124 || (l = !0, o += 1), f(x);
8485
8485
  }
8486
- function f(k) {
8487
- return k === null ? n(k) : v(k) ? o > 1 ? (o = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(k), e.exit("lineEnding"), h) : n(k) : _(k) ? O(e, f, "whitespace")(k) : (o += 1, l && (l = !1, i += 1), k === 124 ? (e.enter("tableCellDivider"), e.consume(k), e.exit("tableCellDivider"), l = !0, f) : (e.enter("data"), c(k)));
8486
+ function f(x) {
8487
+ return x === null ? n(x) : v(x) ? o > 1 ? (o = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), h) : n(x) : _(x) ? O(e, f, "whitespace")(x) : (o += 1, l && (l = !1, i += 1), x === 124 ? (e.enter("tableCellDivider"), e.consume(x), e.exit("tableCellDivider"), l = !0, f) : (e.enter("data"), c(x)));
8488
8488
  }
8489
- function c(k) {
8490
- return k === null || k === 124 || U(k) ? (e.exit("data"), f(k)) : (e.consume(k), k === 92 ? p : c);
8489
+ function c(x) {
8490
+ return x === null || x === 124 || U(x) ? (e.exit("data"), f(x)) : (e.consume(x), x === 92 ? p : c);
8491
8491
  }
8492
- function p(k) {
8493
- return k === 92 || k === 124 ? (e.consume(k), c) : c(k);
8492
+ function p(x) {
8493
+ return x === 92 || x === 124 ? (e.consume(x), c) : c(x);
8494
8494
  }
8495
- function h(k) {
8496
- return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(k) : (e.enter("tableDelimiterRow"), l = !1, _(k) ? O(e, d, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(k) : d(k));
8495
+ function h(x) {
8496
+ return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(x) : (e.enter("tableDelimiterRow"), l = !1, _(x) ? O(e, d, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(x) : d(x));
8497
8497
  }
8498
- function d(k) {
8499
- return k === 45 || k === 58 ? C(k) : k === 124 ? (l = !0, e.enter("tableCellDivider"), e.consume(k), e.exit("tableCellDivider"), x) : F(k);
8498
+ function d(x) {
8499
+ return x === 45 || x === 58 ? E(x) : x === 124 ? (l = !0, e.enter("tableCellDivider"), e.consume(x), e.exit("tableCellDivider"), y) : F(x);
8500
8500
  }
8501
- function x(k) {
8502
- return _(k) ? O(e, C, "whitespace")(k) : C(k);
8501
+ function y(x) {
8502
+ return _(x) ? O(e, E, "whitespace")(x) : E(x);
8503
8503
  }
8504
- function C(k) {
8505
- return k === 58 ? (o += 1, l = !0, e.enter("tableDelimiterMarker"), e.consume(k), e.exit("tableDelimiterMarker"), y) : k === 45 ? (o += 1, y(k)) : k === null || v(k) ? L(k) : F(k);
8504
+ function E(x) {
8505
+ return x === 58 ? (o += 1, l = !0, e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), k) : x === 45 ? (o += 1, k(x)) : x === null || v(x) ? D(x) : F(x);
8506
8506
  }
8507
- function y(k) {
8508
- return k === 45 ? (e.enter("tableDelimiterFiller"), A(k)) : F(k);
8507
+ function k(x) {
8508
+ return x === 45 ? (e.enter("tableDelimiterFiller"), A(x)) : F(x);
8509
8509
  }
8510
- function A(k) {
8511
- return k === 45 ? (e.consume(k), A) : k === 58 ? (l = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(k), e.exit("tableDelimiterMarker"), E) : (e.exit("tableDelimiterFiller"), E(k));
8510
+ function A(x) {
8511
+ return x === 45 ? (e.consume(x), A) : x === 58 ? (l = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), C) : (e.exit("tableDelimiterFiller"), C(x));
8512
8512
  }
8513
- function E(k) {
8514
- return _(k) ? O(e, L, "whitespace")(k) : L(k);
8513
+ function C(x) {
8514
+ return _(x) ? O(e, D, "whitespace")(x) : D(x);
8515
8515
  }
8516
- function L(k) {
8517
- return k === 124 ? d(k) : k === null || v(k) ? !l || i !== o ? F(k) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(k)) : F(k);
8516
+ function D(x) {
8517
+ return x === 124 ? d(x) : x === null || v(x) ? !l || i !== o ? F(x) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(x)) : F(x);
8518
8518
  }
8519
- function F(k) {
8520
- return n(k);
8519
+ function F(x) {
8520
+ return n(x);
8521
8521
  }
8522
- function w(k) {
8523
- return e.enter("tableRow"), M(k);
8522
+ function w(x) {
8523
+ return e.enter("tableRow"), M(x);
8524
8524
  }
8525
- function M(k) {
8526
- return k === 124 ? (e.enter("tableCellDivider"), e.consume(k), e.exit("tableCellDivider"), M) : k === null || v(k) ? (e.exit("tableRow"), t(k)) : _(k) ? O(e, M, "whitespace")(k) : (e.enter("data"), $(k));
8525
+ function M(x) {
8526
+ return x === 124 ? (e.enter("tableCellDivider"), e.consume(x), e.exit("tableCellDivider"), M) : x === null || v(x) ? (e.exit("tableRow"), t(x)) : _(x) ? O(e, M, "whitespace")(x) : (e.enter("data"), $(x));
8527
8527
  }
8528
- function $(k) {
8529
- return k === null || k === 124 || U(k) ? (e.exit("data"), M(k)) : (e.consume(k), k === 92 ? B : $);
8528
+ function $(x) {
8529
+ return x === null || x === 124 || U(x) ? (e.exit("data"), M(x)) : (e.consume(x), x === 92 ? B : $);
8530
8530
  }
8531
- function B(k) {
8532
- return k === 92 || k === 124 ? (e.consume(k), $) : $(k);
8531
+ function B(x) {
8532
+ return x === 92 || x === 124 ? (e.consume(x), $) : $(x);
8533
8533
  }
8534
8534
  }
8535
8535
  function pf(e, t) {
@@ -8573,8 +8573,8 @@ function Ze(e, t, n, r, i, o) {
8573
8573
  if (e.add(n[2], 0, [["enter", c, t]]), r !== 2) {
8574
8574
  const p = t.events[n[2]], h = t.events[n[3]];
8575
8575
  if (p[1].end = Object.assign({}, h[1].end), p[1].type = "chunkText", p[1].contentType = "text", n[3] > n[2] + 1) {
8576
- const d = n[2] + 1, x = n[3] - n[2] - 1;
8577
- e.add(d, x, []);
8576
+ const d = n[2] + 1, y = n[3] - n[2] - 1;
8577
+ e.add(d, y, []);
8578
8578
  }
8579
8579
  }
8580
8580
  e.add(n[3] + 1, 0, [["exit", c, t]]);
@@ -8662,7 +8662,7 @@ const Ef = "_markdown_1kgcy_1", or = {
8662
8662
  }, If = {
8663
8663
  aside: ({ node: e, className: t, children: n, ...r }) => {
8664
8664
  const i = (e == null ? void 0 : e.properties) ?? {}, o = typeof i["data-admonition"] == "string" ? i["data-admonition"] : "note", l = typeof i["data-admonition-variant"] == "string" ? i["data-admonition-variant"] : "unknown", a = typeof i["data-admonition-icon"] == "string" ? i["data-admonition-icon"] : void 0, u = typeof i["data-admonition-title"] == "string" ? i["data-admonition-title"] : void 0;
8665
- return o === "upsell" ? /* @__PURE__ */ De(
8665
+ return o === "upsell" ? /* @__PURE__ */ Le(
8666
8666
  Ti,
8667
8667
  {
8668
8668
  ...r,
@@ -8671,7 +8671,7 @@ const Ef = "_markdown_1kgcy_1", or = {
8671
8671
  title: u ?? "Upsell",
8672
8672
  subtext: n
8673
8673
  }
8674
- ) : /* @__PURE__ */ De(
8674
+ ) : /* @__PURE__ */ Le(
8675
8675
  Ai,
8676
8676
  {
8677
8677
  ...r,
@@ -8685,7 +8685,7 @@ const Ef = "_markdown_1kgcy_1", or = {
8685
8685
  );
8686
8686
  }
8687
8687
  };
8688
- function Lf({
8688
+ function Df({
8689
8689
  children: e,
8690
8690
  className: t,
8691
8691
  components: n,
@@ -8707,9 +8707,22 @@ function Lf({
8707
8707
  );
8708
8708
  if (!s) return null;
8709
8709
  const c = r || i ? {
8710
- a: ({ node: d, ...x }) => /* @__PURE__ */ De("a", { ...x, target: "_blank", rel: "noopener noreferrer" })
8710
+ a: ({ node: d, href: y, ...E }) => {
8711
+ const k = [r, i].filter((C) => typeof C == "string").map((C) => new URL(C).origin), A = !y || y.startsWith("/") || y.startsWith("#") || k.includes(new URL(y).origin);
8712
+ return console.log({ ...k, isInternal: A, href: y }), /* @__PURE__ */ Le(
8713
+ "a",
8714
+ {
8715
+ ...E,
8716
+ href: y,
8717
+ ...!A && {
8718
+ target: "_blank",
8719
+ rel: "noopener noreferrer"
8720
+ }
8721
+ }
8722
+ );
8723
+ }
8711
8724
  } : {}, p = t ? `${or.markdown} ${t}` : or.markdown, h = { ...If, ...c, ...n };
8712
- return /* @__PURE__ */ De("div", { className: p, children: /* @__PURE__ */ De(
8725
+ return /* @__PURE__ */ Le("div", { className: p, children: /* @__PURE__ */ Le(
8713
8726
  as,
8714
8727
  {
8715
8728
  remarkPlugins: [bf, Cf, Ii],
@@ -8719,5 +8732,5 @@ function Lf({
8719
8732
  ) });
8720
8733
  }
8721
8734
  export {
8722
- Lf as Markdown
8735
+ Df as Markdown
8723
8736
  };