@yext/pages-components 1.1.13 → 1.1.14

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,5 +1,5 @@
1
1
  import zn from "react";
2
- import { n as cr, a as fr, b as Hn, m as K, d as D, s as In, p as Sn, r as Pe, e as De, f as Tn, h as vn, i as me, k as pr, l as hr, o as dr, q as ge, t as bn, u as mr, v as gr } from "./index-Dkg0GfHt.js";
2
+ import { n as cr, a as fr, b as Hn, m as K, d as D, s as In, p as Sn, r as Pe, e as De, f as Tn, h as vn, i as me, k as pr, l as hr, o as dr, q as ge, t as bn, u as mr, v as gr } from "./index-CDEZRpEm.js";
3
3
  function yr(n) {
4
4
  const t = [];
5
5
  let e = -1;
@@ -122,12 +122,12 @@ function qn(n) {
122
122
  return !n || typeof n != "object" ? "" : "position" in n || "type" in n ? je(n.position) : "start" in n || "end" in n ? je(n) : "line" in n || "column" in n ? ye(n) : "";
123
123
  }
124
124
  function ye(n) {
125
- return $e(n && n.line) + ":" + $e(n && n.column);
125
+ return Ne(n && n.line) + ":" + Ne(n && n.column);
126
126
  }
127
127
  function je(n) {
128
128
  return ye(n && n.start) + "-" + ye(n && n.end);
129
129
  }
130
- function $e(n) {
130
+ function Ne(n) {
131
131
  return n && typeof n == "number" ? n : 1;
132
132
  }
133
133
  class wn extends Error {
@@ -284,8 +284,8 @@ function Vn(n) {
284
284
  "Path must be a string. Received " + JSON.stringify(n)
285
285
  );
286
286
  }
287
- const Ir = { cwd: Ar };
288
- function Ar() {
287
+ const Ir = { cwd: Rr };
288
+ function Rr() {
289
289
  return "/";
290
290
  }
291
291
  function xe(n) {
@@ -293,7 +293,7 @@ function xe(n) {
293
293
  n.href && // @ts-expect-error: indexable.
294
294
  n.origin;
295
295
  }
296
- function Rr(n) {
296
+ function Ar(n) {
297
297
  if (typeof n == "string")
298
298
  n = new URL(n);
299
299
  else if (!xe(n)) {
@@ -330,7 +330,7 @@ function _r(n) {
330
330
  return decodeURIComponent(t);
331
331
  }
332
332
  const Zn = ["history", "path", "basename", "stem", "extname", "dirname"];
333
- class At {
333
+ class Rt {
334
334
  /**
335
335
  * Create a new virtual file.
336
336
  *
@@ -383,7 +383,7 @@ class At {
383
383
  * @param {string | URL} path
384
384
  */
385
385
  set path(t) {
386
- xe(t) && (t = Rr(t)), ee(t, "path"), this.path !== t && this.history.push(t);
386
+ xe(t) && (t = Ar(t)), ee(t, "path"), this.path !== t && this.history.push(t);
387
387
  }
388
388
  /**
389
389
  * Get the parent path (example: `'~'`).
@@ -397,7 +397,7 @@ class At {
397
397
  * Cannot be set if there’s no `path` yet.
398
398
  */
399
399
  set dirname(t) {
400
- Ne(this.basename, "dirname"), this.path = Cn.join(t || "", this.basename);
400
+ $e(this.basename, "dirname"), this.path = Cn.join(t || "", this.basename);
401
401
  }
402
402
  /**
403
403
  * Get the basename (including extname) (example: `'index.min.js'`).
@@ -429,7 +429,7 @@ class At {
429
429
  * Cannot be set if there’s no `path` yet.
430
430
  */
431
431
  set extname(t) {
432
- if (ne(t, "extname"), Ne(this.dirname, "extname"), t) {
432
+ if (ne(t, "extname"), $e(this.dirname, "extname"), t) {
433
433
  if (t.charCodeAt(0) !== 46)
434
434
  throw new Error("`extname` must start with `.`");
435
435
  if (t.includes(".", 1))
@@ -540,7 +540,7 @@ function ee(n, t) {
540
540
  if (!n)
541
541
  throw new Error("`" + t + "` cannot be empty");
542
542
  }
543
- function Ne(n, t) {
543
+ function $e(n, t) {
544
544
  if (!n)
545
545
  throw new Error("Setting `" + t + "` requires `path` to be set too");
546
546
  }
@@ -551,10 +551,10 @@ function qe(n) {
551
551
  if (n)
552
552
  throw n;
553
553
  }
554
- var Xn = Object.prototype.hasOwnProperty, Rt = Object.prototype.toString, Ue = Object.defineProperty, He = Object.getOwnPropertyDescriptor, Ve = function(t) {
555
- return typeof Array.isArray == "function" ? Array.isArray(t) : Rt.call(t) === "[object Array]";
554
+ var Xn = Object.prototype.hasOwnProperty, At = Object.prototype.toString, Ue = Object.defineProperty, He = Object.getOwnPropertyDescriptor, Ve = function(t) {
555
+ return typeof Array.isArray == "function" ? Array.isArray(t) : At.call(t) === "[object Array]";
556
556
  }, Ye = function(t) {
557
- if (!t || Rt.call(t) !== "[object Object]")
557
+ if (!t || At.call(t) !== "[object Object]")
558
558
  return !1;
559
559
  var e = Xn.call(t, "constructor"), r = t.constructor && t.constructor.prototype && Xn.call(t.constructor.prototype, "isPrototypeOf");
560
560
  if (t.constructor && !e && !r)
@@ -690,8 +690,8 @@ function Lt() {
690
690
  S(x);
691
691
  else if (typeof x == "object")
692
692
  if (Array.isArray(x)) {
693
- const [R, ...q] = x;
694
- S(R, ...q);
693
+ const [A, ...q] = x;
694
+ S(A, ...q);
695
695
  } else
696
696
  v(x);
697
697
  else
@@ -701,33 +701,33 @@ function Lt() {
701
701
  L(x.plugins), x.settings && (k = Object.assign(k || {}, x.settings));
702
702
  }
703
703
  function L(x) {
704
- let R = -1;
704
+ let A = -1;
705
705
  if (x != null) if (Array.isArray(x))
706
- for (; ++R < x.length; ) {
707
- const q = x[R];
706
+ for (; ++A < x.length; ) {
707
+ const q = x[A];
708
708
  M(q);
709
709
  }
710
710
  else
711
711
  throw new TypeError("Expected a list of plugins, not `" + x + "`");
712
712
  }
713
- function S(x, R) {
713
+ function S(x, A) {
714
714
  let q = -1, X;
715
715
  for (; ++q < t.length; )
716
716
  if (t[q][0] === x) {
717
717
  X = t[q];
718
718
  break;
719
719
  }
720
- X ? (be(X[1]) && be(R) && (R = Xe(!0, X[1], R)), X[1] = R) : t.push([...arguments]);
720
+ X ? (be(X[1]) && be(A) && (A = Xe(!0, X[1], A)), X[1] = A) : t.push([...arguments]);
721
721
  }
722
722
  }
723
723
  function c(g) {
724
724
  l.freeze();
725
- const y = Nn(g), k = l.Parser;
725
+ const y = $n(g), k = l.Parser;
726
726
  return te("parse", k), Ke(k, "parse") ? new k(String(y), y).parse() : k(String(y), y);
727
727
  }
728
728
  function d(g, y) {
729
729
  l.freeze();
730
- const k = Nn(y), M = l.Compiler;
730
+ const k = $n(y), M = l.Compiler;
731
731
  return re("stringify", M), Ge(g), Ke(M, "compile") ? new M(g, k).compile() : M(g, k);
732
732
  }
733
733
  function p(g, y, k) {
@@ -735,9 +735,9 @@ function Lt() {
735
735
  return new Promise(M);
736
736
  M(null, k);
737
737
  function M(v, L) {
738
- n.run(g, Nn(y), S);
739
- function S(x, R, q) {
740
- R = R || g, x ? L(x) : v ? v(R) : k(null, R, q);
738
+ n.run(g, $n(y), S);
739
+ function S(x, A, q) {
740
+ A = A || g, x ? L(x) : v ? v(A) : k(null, A, q);
741
741
  }
742
742
  }
743
743
  }
@@ -753,24 +753,24 @@ function Lt() {
753
753
  return new Promise(k);
754
754
  k(null, y);
755
755
  function k(M, v) {
756
- const L = Nn(g);
757
- l.run(l.parse(L), L, (x, R, q) => {
758
- if (x || !R || !q)
756
+ const L = $n(g);
757
+ l.run(l.parse(L), L, (x, A, q) => {
758
+ if (x || !A || !q)
759
759
  S(x);
760
760
  else {
761
- const X = l.stringify(R, q);
762
- X == null || ($r(X) ? q.value = X : q.result = X), S(x, q);
761
+ const X = l.stringify(A, q);
762
+ X == null || (Nr(X) ? q.value = X : q.result = X), S(x, q);
763
763
  }
764
764
  });
765
- function S(x, R) {
766
- x || !R ? v(x) : M ? M(R) : y(null, R);
765
+ function S(x, A) {
766
+ x || !A ? v(x) : M ? M(A) : y(null, A);
767
767
  }
768
768
  }
769
769
  }
770
770
  function w(g) {
771
771
  let y;
772
772
  l.freeze(), te("processSync", l.Parser), re("processSync", l.Compiler);
773
- const k = Nn(g);
773
+ const k = $n(g);
774
774
  return l.process(k, M), Je("processSync", "process", y), k;
775
775
  function M(v) {
776
776
  y = !0, qe(v);
@@ -817,18 +817,18 @@ function Je(n, t, e) {
817
817
  "`" + n + "` finished async. Use `" + t + "` instead"
818
818
  );
819
819
  }
820
- function Nn(n) {
821
- return jr(n) ? n : new At(n);
820
+ function $n(n) {
821
+ return jr(n) ? n : new Rt(n);
822
822
  }
823
823
  function jr(n) {
824
824
  return !!(n && typeof n == "object" && "message" in n && "messages" in n);
825
825
  }
826
- function $r(n) {
826
+ function Nr(n) {
827
827
  return typeof n == "string" || It(n);
828
828
  }
829
- const Nr = {};
829
+ const $r = {};
830
830
  function qr(n, t) {
831
- const e = Nr, r = typeof e.includeImageAlt == "boolean" ? e.includeImageAlt : !0, i = typeof e.includeHtml == "boolean" ? e.includeHtml : !0;
831
+ const e = $r, r = typeof e.includeImageAlt == "boolean" ? e.includeImageAlt : !0, i = typeof e.includeHtml == "boolean" ? e.includeHtml : !0;
832
832
  return zt(n, r, i);
833
833
  }
834
834
  function zt(n, t, e) {
@@ -930,15 +930,15 @@ function Wr(n) {
930
930
  break;
931
931
  }
932
932
  k(r);
933
- let R = L;
934
- for (; R < t.events.length; )
935
- t.events[R][1].end = Object.assign({}, x), R++;
933
+ let A = L;
934
+ for (; A < t.events.length; )
935
+ t.events[A][1].end = Object.assign({}, x), A++;
936
936
  return In(
937
937
  t.events,
938
938
  S + 1,
939
939
  0,
940
940
  t.events.slice(L)
941
- ), t.events.length = R, c(v);
941
+ ), t.events.length = A, c(v);
942
942
  }
943
943
  return a(v);
944
944
  }
@@ -1002,8 +1002,8 @@ function Wr(n) {
1002
1002
  i.events[x][1].end.offset > o)
1003
1003
  )
1004
1004
  return;
1005
- const R = t.events.length;
1006
- let q = R, X, sn;
1005
+ const A = t.events.length;
1006
+ let q = A, X, sn;
1007
1007
  for (; q--; )
1008
1008
  if (t.events[q][0] === "exit" && t.events[q][1].type === "chunkFlow") {
1009
1009
  if (X) {
@@ -1012,13 +1012,13 @@ function Wr(n) {
1012
1012
  }
1013
1013
  X = !0;
1014
1014
  }
1015
- for (k(r), x = R; x < t.events.length; )
1015
+ for (k(r), x = A; x < t.events.length; )
1016
1016
  t.events[x][1].end = Object.assign({}, sn), x++;
1017
1017
  In(
1018
1018
  t.events,
1019
1019
  q + 1,
1020
1020
  0,
1021
- t.events.slice(R)
1021
+ t.events.slice(A)
1022
1022
  ), t.events.length = x;
1023
1023
  }
1024
1024
  }
@@ -1280,8 +1280,8 @@ function li(n, t, e) {
1280
1280
  return c(x);
1281
1281
  }
1282
1282
  function c(x) {
1283
- const R = r.events[r.events.length - 1];
1284
- return l = R && R[1].type === "linePrefix" ? R[2].sliceSerialize(R[1], !0).length : 0, a = x, n.enter("codeFenced"), n.enter("codeFencedFence"), n.enter("codeFencedFenceSequence"), d(x);
1283
+ const A = r.events[r.events.length - 1];
1284
+ return l = A && A[1].type === "linePrefix" ? A[2].sliceSerialize(A[1], !0).length : 0, a = x, n.enter("codeFenced"), n.enter("codeFencedFence"), n.enter("codeFencedFenceSequence"), d(x);
1285
1285
  }
1286
1286
  function d(x) {
1287
1287
  return x === a ? (o++, n.consume(x), d) : o < 3 ? e(x) : (n.exit("codeFencedFenceSequence"), K(x) ? an(n, p, "whitespace")(x) : p(x));
@@ -1325,7 +1325,7 @@ function li(n, t, e) {
1325
1325
  function L(x) {
1326
1326
  return n.exit("codeFenced"), t(x);
1327
1327
  }
1328
- function S(x, R, q) {
1328
+ function S(x, A, q) {
1329
1329
  let X = 0;
1330
1330
  return sn;
1331
1331
  function sn(Y) {
@@ -1346,7 +1346,7 @@ function li(n, t, e) {
1346
1346
  return Y === a ? (X++, x.consume(Y), W) : X >= o ? (x.exit("codeFencedFenceSequence"), K(Y) ? an(x, en, "whitespace")(Y) : en(Y)) : q(Y);
1347
1347
  }
1348
1348
  function en(Y) {
1349
- return Y === null || D(Y) ? (x.exit("codeFencedFence"), R(Y)) : q(Y);
1349
+ return Y === null || D(Y) ? (x.exit("codeFencedFence"), A(Y)) : q(Y);
1350
1350
  }
1351
1351
  }
1352
1352
  }
@@ -1555,7 +1555,7 @@ function jt(n, t, e, r, i, l, o, a, s) {
1555
1555
  return k === 40 || k === 41 || k === 92 ? (n.consume(k), g) : g(k);
1556
1556
  }
1557
1557
  }
1558
- function $t(n, t, e, r, i, l) {
1558
+ function Nt(n, t, e, r, i, l) {
1559
1559
  const o = this;
1560
1560
  let a = 0, s;
1561
1561
  return c;
@@ -1579,7 +1579,7 @@ function $t(n, t, e, r, i, l) {
1579
1579
  return h === 91 || h === 92 || h === 93 ? (n.consume(h), a++, p) : p(h);
1580
1580
  }
1581
1581
  }
1582
- function Nt(n, t, e, r, i, l) {
1582
+ function $t(n, t, e, r, i, l) {
1583
1583
  let o;
1584
1584
  return a;
1585
1585
  function a(m) {
@@ -1629,7 +1629,7 @@ function wi(n, t, e) {
1629
1629
  return n.enter("definition"), o(h);
1630
1630
  }
1631
1631
  function o(h) {
1632
- return $t.call(
1632
+ return Nt.call(
1633
1633
  r,
1634
1634
  n,
1635
1635
  a,
@@ -1677,7 +1677,7 @@ function Ei(n, t, e) {
1677
1677
  return bn(a) ? Un(n, i)(a) : e(a);
1678
1678
  }
1679
1679
  function i(a) {
1680
- return Nt(
1680
+ return $t(
1681
1681
  n,
1682
1682
  l,
1683
1683
  e,
@@ -1814,12 +1814,12 @@ const Ii = [
1814
1814
  "tr",
1815
1815
  "track",
1816
1816
  "ul"
1817
- ], lt = ["pre", "script", "style", "textarea"], Ai = {
1817
+ ], lt = ["pre", "script", "style", "textarea"], Ri = {
1818
1818
  name: "htmlFlow",
1819
1819
  tokenize: zi,
1820
1820
  resolveTo: Li,
1821
1821
  concrete: !0
1822
- }, Ri = {
1822
+ }, Ai = {
1823
1823
  tokenize: Fi,
1824
1824
  partial: !0
1825
1825
  }, _i = {
@@ -1881,10 +1881,10 @@ function zi(n, t, e) {
1881
1881
  return f === 61 ? (n.consume(f), x) : K(f) ? (n.consume(f), S) : v(f);
1882
1882
  }
1883
1883
  function x(f) {
1884
- return f === null || f === 60 || f === 61 || f === 62 || f === 96 ? e(f) : f === 34 || f === 39 ? (n.consume(f), s = f, R) : K(f) ? (n.consume(f), x) : q(f);
1884
+ return f === null || f === 60 || f === 61 || f === 62 || f === 96 ? e(f) : f === 34 || f === 39 ? (n.consume(f), s = f, A) : K(f) ? (n.consume(f), x) : q(f);
1885
1885
  }
1886
- function R(f) {
1887
- return f === s ? (n.consume(f), s = null, X) : f === null || D(f) ? e(f) : (n.consume(f), R);
1886
+ function A(f) {
1887
+ return f === s ? (n.consume(f), s = null, X) : f === null || D(f) ? e(f) : (n.consume(f), A);
1888
1888
  }
1889
1889
  function q(f) {
1890
1890
  return f === null || f === 34 || f === 39 || f === 47 || f === 60 || f === 61 || f === 62 || f === 96 || bn(f) ? S(f) : (n.consume(f), q);
@@ -1900,7 +1900,7 @@ function zi(n, t, e) {
1900
1900
  }
1901
1901
  function O(f) {
1902
1902
  return f === 45 && i === 2 ? (n.consume(f), tn) : f === 60 && i === 1 ? (n.consume(f), ln) : f === 62 && i === 4 ? (n.consume(f), T) : f === 63 && i === 3 ? (n.consume(f), u) : f === 93 && i === 5 ? (n.consume(f), mn) : D(f) && (i === 6 || i === 7) ? (n.exit("htmlFlowData"), n.check(
1903
- Ri,
1903
+ Ai,
1904
1904
  F,
1905
1905
  W
1906
1906
  )(f)) : f === null || D(f) ? (n.exit("htmlFlowData"), W(f)) : (n.consume(f), O);
@@ -2015,10 +2015,10 @@ function Bi(n, t, e) {
2015
2015
  return Tn(u) ? (n.consume(u), x) : e(u);
2016
2016
  }
2017
2017
  function x(u) {
2018
- return u === 45 || vn(u) ? (n.consume(u), x) : R(u);
2018
+ return u === 45 || vn(u) ? (n.consume(u), x) : A(u);
2019
2019
  }
2020
- function R(u) {
2021
- return D(u) ? (o = R, ln(u)) : K(u) ? (n.consume(u), R) : tn(u);
2020
+ function A(u) {
2021
+ return D(u) ? (o = A, ln(u)) : K(u) ? (n.consume(u), A) : tn(u);
2022
2022
  }
2023
2023
  function q(u) {
2024
2024
  return u === 45 || vn(u) ? (n.consume(u), q) : u === 47 || u === 62 || bn(u) ? X(u) : e(u);
@@ -2069,9 +2069,9 @@ const Ie = {
2069
2069
  resolveAll: qi
2070
2070
  }, ji = {
2071
2071
  tokenize: Vi
2072
- }, $i = {
2073
- tokenize: Yi
2074
2072
  }, Ni = {
2073
+ tokenize: Yi
2074
+ }, $i = {
2075
2075
  tokenize: Wi
2076
2076
  };
2077
2077
  function qi(n) {
@@ -2150,14 +2150,14 @@ function Hi(n, t, e) {
2150
2150
  d,
2151
2151
  o ? d : p
2152
2152
  )(m) : m === 91 ? n.attempt(
2153
- $i,
2153
+ Ni,
2154
2154
  d,
2155
2155
  o ? c : p
2156
2156
  )(m) : o ? d(m) : p(m);
2157
2157
  }
2158
2158
  function c(m) {
2159
2159
  return n.attempt(
2160
- Ni,
2160
+ $i,
2161
2161
  d,
2162
2162
  p
2163
2163
  )(m);
@@ -2197,7 +2197,7 @@ function Vi(n, t, e) {
2197
2197
  return e(p);
2198
2198
  }
2199
2199
  function s(p) {
2200
- return p === 34 || p === 39 || p === 40 ? Nt(
2200
+ return p === 34 || p === 39 || p === 40 ? $t(
2201
2201
  n,
2202
2202
  c,
2203
2203
  e,
@@ -2217,7 +2217,7 @@ function Yi(n, t, e) {
2217
2217
  const r = this;
2218
2218
  return i;
2219
2219
  function i(a) {
2220
- return $t.call(
2220
+ return Nt.call(
2221
2221
  r,
2222
2222
  n,
2223
2223
  l,
@@ -2613,9 +2613,9 @@ function ml(n, t, e) {
2613
2613
  consume: M,
2614
2614
  enter: v,
2615
2615
  exit: L,
2616
- attempt: R(S),
2617
- check: R(x),
2618
- interrupt: R(x, {
2616
+ attempt: A(S),
2617
+ check: A(x),
2618
+ interrupt: A(x, {
2619
2619
  interrupt: !0
2620
2620
  })
2621
2621
  }, c = {
@@ -2685,7 +2685,7 @@ function ml(n, t, e) {
2685
2685
  function x(_, O) {
2686
2686
  O.restore();
2687
2687
  }
2688
- function R(_, O) {
2688
+ function A(_, O) {
2689
2689
  return W;
2690
2690
  function W(en, Y, tn) {
2691
2691
  let ln, hn, mn, u;
@@ -2832,7 +2832,7 @@ const xl = {
2832
2832
  35: Ti,
2833
2833
  42: Kn,
2834
2834
  45: [ot, Kn],
2835
- 60: Ai,
2835
+ 60: Ri,
2836
2836
  61: ot,
2837
2837
  95: Kn,
2838
2838
  96: it,
@@ -2929,7 +2929,7 @@ function Il() {
2929
2929
  return a && (r && s.push(-5), t && s.push(t), s.push(null)), s;
2930
2930
  }
2931
2931
  }
2932
- function Al(n) {
2932
+ function Rl(n) {
2933
2933
  for (; !Bt(n); )
2934
2934
  ;
2935
2935
  return n;
@@ -2945,9 +2945,9 @@ function Ht(n, t) {
2945
2945
  e > 1114111 ? "�" : String.fromCharCode(e)
2946
2946
  );
2947
2947
  }
2948
- const Rl = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
2948
+ const Al = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
2949
2949
  function _l(n) {
2950
- return n.replace(Rl, Ll);
2950
+ return n.replace(Al, Ll);
2951
2951
  }
2952
2952
  function Ll(n, t, e) {
2953
2953
  if (t)
@@ -2973,7 +2973,7 @@ const Se = {}.hasOwnProperty, zl = (
2973
2973
  */
2974
2974
  function(n, t, e) {
2975
2975
  return typeof t != "string" && (e = t, t = void 0), Ml(e)(
2976
- Al(
2976
+ Rl(
2977
2977
  Ol(e).document().write(Il()(n, t, !0))
2978
2978
  )
2979
2979
  );
@@ -3002,7 +3002,7 @@ function Ml(n = {}) {
3002
3002
  codeFencedFenceInfo: c,
3003
3003
  codeFencedFenceMeta: c,
3004
3004
  codeIndented: s(gn, c),
3005
- codeText: s(A, c),
3005
+ codeText: s(R, c),
3006
3006
  codeTextData: O,
3007
3007
  data: O,
3008
3008
  codeFlowValue: O,
@@ -3054,7 +3054,7 @@ function Ml(n = {}) {
3054
3054
  codeTextData: W,
3055
3055
  data: W,
3056
3056
  definition: p(),
3057
- definitionDestinationString: R,
3057
+ definitionDestinationString: A,
3058
3058
  definitionLabelString: S,
3059
3059
  definitionTitleString: x,
3060
3060
  emphasis: p(),
@@ -3092,8 +3092,8 @@ function Ml(n = {}) {
3092
3092
  type: "root",
3093
3093
  children: []
3094
3094
  };
3095
- const N = [C], rn = [], kn = [], jn = {
3096
- stack: N,
3095
+ const $ = [C], rn = [], kn = [], jn = {
3096
+ stack: $,
3097
3097
  tokenStack: rn,
3098
3098
  config: t,
3099
3099
  enter: d,
@@ -3147,11 +3147,11 @@ function Ml(n = {}) {
3147
3147
  C = t.transforms[un](C) || C;
3148
3148
  return C;
3149
3149
  }
3150
- function i(b, C, N) {
3151
- let rn = C - 1, kn = -1, jn = !1, un, dn, Ln, $n;
3152
- for (; ++rn <= N; ) {
3150
+ function i(b, C, $) {
3151
+ let rn = C - 1, kn = -1, jn = !1, un, dn, Ln, Nn;
3152
+ for (; ++rn <= $; ) {
3153
3153
  const cn = b[rn];
3154
- if (cn[1].type === "listUnordered" || cn[1].type === "listOrdered" || cn[1].type === "blockQuote" ? (cn[0] === "enter" ? kn++ : kn--, $n = void 0) : cn[1].type === "lineEndingBlank" ? cn[0] === "enter" && (un && !$n && !kn && !Ln && (Ln = rn), $n = void 0) : cn[1].type === "linePrefix" || cn[1].type === "listItemValue" || cn[1].type === "listItemMarker" || cn[1].type === "listItemPrefix" || cn[1].type === "listItemPrefixWhitespace" || ($n = void 0), !kn && cn[0] === "enter" && cn[1].type === "listItemPrefix" || kn === -1 && cn[0] === "exit" && (cn[1].type === "listUnordered" || cn[1].type === "listOrdered")) {
3154
+ if (cn[1].type === "listUnordered" || cn[1].type === "listOrdered" || cn[1].type === "blockQuote" ? (cn[0] === "enter" ? kn++ : kn--, Nn = void 0) : cn[1].type === "lineEndingBlank" ? cn[0] === "enter" && (un && !Nn && !kn && !Ln && (Ln = rn), Nn = void 0) : cn[1].type === "linePrefix" || cn[1].type === "listItemValue" || cn[1].type === "listItemMarker" || cn[1].type === "listItemPrefix" || cn[1].type === "listItemPrefixWhitespace" || (Nn = void 0), !kn && cn[0] === "enter" && cn[1].type === "listItemPrefix" || kn === -1 && cn[0] === "exit" && (cn[1].type === "listUnordered" || cn[1].type === "listOrdered")) {
3155
3155
  if (un) {
3156
3156
  let Jn = rn;
3157
3157
  for (dn = void 0; Jn--; ) {
@@ -3164,17 +3164,17 @@ function Ml(n = {}) {
3164
3164
  Ln && (!dn || Ln < dn) && (un._spread = !0), un.end = Object.assign(
3165
3165
  {},
3166
3166
  dn ? b[dn][1].start : cn[1].end
3167
- ), b.splice(dn || rn, 0, ["exit", un, cn[2]]), rn++, N++;
3167
+ ), b.splice(dn || rn, 0, ["exit", un, cn[2]]), rn++, $++;
3168
3168
  }
3169
3169
  cn[1].type === "listItemPrefix" && (un = {
3170
3170
  type: "listItem",
3171
3171
  // @ts-expect-error Patched
3172
3172
  _spread: !1,
3173
3173
  start: Object.assign({}, cn[1].start)
3174
- }, b.splice(rn, 0, ["enter", un, cn[2]]), rn++, N++, Ln = void 0, $n = !0);
3174
+ }, b.splice(rn, 0, ["enter", un, cn[2]]), rn++, $++, Ln = void 0, Nn = !0);
3175
3175
  }
3176
3176
  }
3177
- return b[C][1]._spread = jn, N;
3177
+ return b[C][1]._spread = jn, $;
3178
3178
  }
3179
3179
  function l(b, C) {
3180
3180
  e[b] = C;
@@ -3190,8 +3190,8 @@ function Ml(n = {}) {
3190
3190
  };
3191
3191
  }
3192
3192
  function s(b, C) {
3193
- return N;
3194
- function N(rn) {
3193
+ return $;
3194
+ function $(rn) {
3195
3195
  d.call(this, b(rn), rn), C && C.call(this, rn);
3196
3196
  }
3197
3197
  }
@@ -3201,19 +3201,19 @@ function Ml(n = {}) {
3201
3201
  children: []
3202
3202
  });
3203
3203
  }
3204
- function d(b, C, N) {
3205
- return this.stack[this.stack.length - 1].children.push(b), this.stack.push(b), this.tokenStack.push([C, N]), b.position = {
3204
+ function d(b, C, $) {
3205
+ return this.stack[this.stack.length - 1].children.push(b), this.stack.push(b), this.tokenStack.push([C, $]), b.position = {
3206
3206
  start: a(C.start)
3207
3207
  }, b;
3208
3208
  }
3209
3209
  function p(b) {
3210
3210
  return C;
3211
- function C(N) {
3212
- b && b.call(this, N), m.call(this, N);
3211
+ function C($) {
3212
+ b && b.call(this, $), m.call(this, $);
3213
3213
  }
3214
3214
  }
3215
3215
  function m(b, C) {
3216
- const N = this.stack.pop(), rn = this.tokenStack.pop();
3216
+ const $ = this.stack.pop(), rn = this.tokenStack.pop();
3217
3217
  if (rn)
3218
3218
  rn[0].type !== b.type && (C ? C.call(this, b, rn[0]) : (rn[1] || ut).call(this, b, rn[0]));
3219
3219
  else throw new Error(
@@ -3222,7 +3222,7 @@ function Ml(n = {}) {
3222
3222
  end: b.end
3223
3223
  }) + "): it’s not open"
3224
3224
  );
3225
- return N.position.end = a(b.end), N;
3225
+ return $.position.end = a(b.end), $;
3226
3226
  }
3227
3227
  function h() {
3228
3228
  return qr(this.stack.pop());
@@ -3271,11 +3271,11 @@ function Ml(n = {}) {
3271
3271
  C.value = b.replace(/(\r?\n|\r)$/g, "");
3272
3272
  }
3273
3273
  function S(b) {
3274
- const C = this.resume(), N = (
3274
+ const C = this.resume(), $ = (
3275
3275
  /** @type {Definition} */
3276
3276
  this.stack[this.stack.length - 1]
3277
3277
  );
3278
- N.label = C, N.identifier = Mn(
3278
+ $.label = C, $.identifier = Mn(
3279
3279
  this.sliceSerialize(b)
3280
3280
  ).toLowerCase();
3281
3281
  }
@@ -3286,7 +3286,7 @@ function Ml(n = {}) {
3286
3286
  );
3287
3287
  C.title = b;
3288
3288
  }
3289
- function R() {
3289
+ function A() {
3290
3290
  const b = this.resume(), C = (
3291
3291
  /** @type {Definition} */
3292
3292
  this.stack[this.stack.length - 1]
@@ -3299,8 +3299,8 @@ function Ml(n = {}) {
3299
3299
  this.stack[this.stack.length - 1]
3300
3300
  );
3301
3301
  if (!C.depth) {
3302
- const N = this.sliceSerialize(b).length;
3303
- C.depth = N;
3302
+ const $ = this.sliceSerialize(b).length;
3303
+ C.depth = $;
3304
3304
  }
3305
3305
  }
3306
3306
  function X() {
@@ -3321,10 +3321,10 @@ function Ml(n = {}) {
3321
3321
  /** @type {Parent} */
3322
3322
  this.stack[this.stack.length - 1]
3323
3323
  );
3324
- let N = C.children[C.children.length - 1];
3325
- (!N || N.type !== "text") && (N = ur(), N.position = {
3324
+ let $ = C.children[C.children.length - 1];
3325
+ (!$ || $.type !== "text") && ($ = ur(), $.position = {
3326
3326
  start: a(b.start)
3327
- }, C.children.push(N)), this.stack.push(N);
3327
+ }, C.children.push($)), this.stack.push($);
3328
3328
  }
3329
3329
  function W(b) {
3330
3330
  const C = this.stack.pop();
@@ -3333,8 +3333,8 @@ function Ml(n = {}) {
3333
3333
  function en(b) {
3334
3334
  const C = this.stack[this.stack.length - 1];
3335
3335
  if (o("atHardBreak")) {
3336
- const N = C.children[C.children.length - 1];
3337
- N.position.end = a(b.end), l("atHardBreak");
3336
+ const $ = C.children[C.children.length - 1];
3337
+ $.position.end = a(b.end), l("atHardBreak");
3338
3338
  return;
3339
3339
  }
3340
3340
  !o("setextHeadingSlurpLineEnding") && t.canContainEols.includes(C.type) && (O.call(this, b), W.call(this, b));
@@ -3381,18 +3381,18 @@ function Ml(n = {}) {
3381
3381
  const C = (
3382
3382
  /** @type {(Link|Image) & {identifier: string, label: string}} */
3383
3383
  this.stack[this.stack.length - 2]
3384
- ), N = this.sliceSerialize(b);
3385
- C.label = _l(N), C.identifier = Mn(N).toLowerCase();
3384
+ ), $ = this.sliceSerialize(b);
3385
+ C.label = _l($), C.identifier = Mn($).toLowerCase();
3386
3386
  }
3387
3387
  function F() {
3388
3388
  const b = (
3389
3389
  /** @type {Fragment} */
3390
3390
  this.stack[this.stack.length - 1]
3391
- ), C = this.resume(), N = (
3391
+ ), C = this.resume(), $ = (
3392
3392
  /** @type {(Link|Image) & {identifier: string, label: string}} */
3393
3393
  this.stack[this.stack.length - 1]
3394
3394
  );
3395
- l("inReference", !0), N.type === "link" ? N.children = b.children : N.alt = C;
3395
+ l("inReference", !0), $.type === "link" ? $.children = b.children : $.alt = C;
3396
3396
  }
3397
3397
  function f() {
3398
3398
  const b = this.resume(), C = (
@@ -3415,11 +3415,11 @@ function Ml(n = {}) {
3415
3415
  l("referenceType", "collapsed");
3416
3416
  }
3417
3417
  function B(b) {
3418
- const C = this.resume(), N = (
3418
+ const C = this.resume(), $ = (
3419
3419
  /** @type {LinkReference|ImageReference} */
3420
3420
  this.stack[this.stack.length - 1]
3421
3421
  );
3422
- N.label = C, N.identifier = Mn(
3422
+ $.label = C, $.identifier = Mn(
3423
3423
  this.sliceSerialize(b)
3424
3424
  ).toLowerCase(), l("referenceType", "full");
3425
3425
  }
@@ -3427,11 +3427,11 @@ function Ml(n = {}) {
3427
3427
  l("characterReferenceType", b.type);
3428
3428
  }
3429
3429
  function Q(b) {
3430
- const C = this.sliceSerialize(b), N = o("characterReferenceType");
3430
+ const C = this.sliceSerialize(b), $ = o("characterReferenceType");
3431
3431
  let rn;
3432
- N ? (rn = Ht(
3432
+ $ ? (rn = Ht(
3433
3433
  C,
3434
- N === "characterReferenceMarkerNumeric" ? 10 : 16
3434
+ $ === "characterReferenceMarkerNumeric" ? 10 : 16
3435
3435
  ), l("characterReferenceType")) : rn = Oe(C);
3436
3436
  const kn = this.stack.pop();
3437
3437
  kn.value += rn, kn.position.end = a(b.end);
@@ -3466,7 +3466,7 @@ function Ml(n = {}) {
3466
3466
  value: ""
3467
3467
  };
3468
3468
  }
3469
- function A() {
3469
+ function R() {
3470
3470
  return {
3471
3471
  type: "inlineCode",
3472
3472
  value: ""
@@ -3711,17 +3711,17 @@ function jl() {
3711
3711
  var gn = P.$$typeof;
3712
3712
  switch (gn) {
3713
3713
  case t:
3714
- var A = P.type;
3715
- switch (A) {
3714
+ var R = P.type;
3715
+ switch (R) {
3716
3716
  case s:
3717
3717
  case c:
3718
3718
  case r:
3719
3719
  case l:
3720
3720
  case i:
3721
3721
  case p:
3722
- return A;
3722
+ return R;
3723
3723
  default:
3724
- var On = A && A.$$typeof;
3724
+ var On = R && R.$$typeof;
3725
3725
  switch (On) {
3726
3726
  case a:
3727
3727
  case d:
@@ -3738,7 +3738,7 @@ function jl() {
3738
3738
  }
3739
3739
  }
3740
3740
  }
3741
- var S = s, x = c, R = a, q = o, X = t, sn = d, _ = r, O = w, W = h, en = e, Y = l, tn = i, ln = p, hn = !1;
3741
+ var S = s, x = c, A = a, q = o, X = t, sn = d, _ = r, O = w, W = h, en = e, Y = l, tn = i, ln = p, hn = !1;
3742
3742
  function mn(P) {
3743
3743
  return hn || (hn = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), u(P) || L(P) === s;
3744
3744
  }
@@ -3778,7 +3778,7 @@ function jl() {
3778
3778
  function fn(P) {
3779
3779
  return L(P) === p;
3780
3780
  }
3781
- J.AsyncMode = S, J.ConcurrentMode = x, J.ContextConsumer = R, J.ContextProvider = q, J.Element = X, J.ForwardRef = sn, J.Fragment = _, J.Lazy = O, J.Memo = W, J.Portal = en, J.Profiler = Y, J.StrictMode = tn, J.Suspense = ln, J.isAsyncMode = mn, J.isConcurrentMode = u, J.isContextConsumer = T, J.isContextProvider = F, J.isElement = f, J.isForwardRef = z, J.isFragment = H, J.isLazy = I, J.isMemo = B, J.isPortal = j, J.isProfiler = Q, J.isStrictMode = V, J.isSuspense = fn, J.isValidElementType = v, J.typeOf = L;
3781
+ J.AsyncMode = S, J.ConcurrentMode = x, J.ContextConsumer = A, J.ContextProvider = q, J.Element = X, J.ForwardRef = sn, J.Fragment = _, J.Lazy = O, J.Memo = W, J.Portal = en, J.Profiler = Y, J.StrictMode = tn, J.Suspense = ln, J.isAsyncMode = mn, J.isConcurrentMode = u, J.isContextConsumer = T, J.isContextProvider = F, J.isElement = f, J.isForwardRef = z, J.isFragment = H, J.isLazy = I, J.isMemo = B, J.isPortal = j, J.isProfiler = Q, J.isStrictMode = V, J.isSuspense = fn, J.isValidElementType = v, J.typeOf = L;
3782
3782
  }()), J;
3783
3783
  }
3784
3784
  var ft;
@@ -3791,7 +3791,7 @@ object-assign
3791
3791
  @license MIT
3792
3792
  */
3793
3793
  var ae, pt;
3794
- function $l() {
3794
+ function Nl() {
3795
3795
  if (pt) return ae;
3796
3796
  pt = 1;
3797
3797
  var n = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, e = Object.prototype.propertyIsEnumerable;
@@ -3837,7 +3837,7 @@ function $l() {
3837
3837
  }, ae;
3838
3838
  }
3839
3839
  var ue, ht;
3840
- function Ae() {
3840
+ function Re() {
3841
3841
  if (ht) return ue;
3842
3842
  ht = 1;
3843
3843
  var n = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
@@ -3848,13 +3848,13 @@ function Wt() {
3848
3848
  return dt || (dt = 1, se = Function.call.bind(Object.prototype.hasOwnProperty)), se;
3849
3849
  }
3850
3850
  var ce, mt;
3851
- function Nl() {
3851
+ function $l() {
3852
3852
  if (mt) return ce;
3853
3853
  mt = 1;
3854
3854
  var n = function() {
3855
3855
  };
3856
3856
  if (process.env.NODE_ENV !== "production") {
3857
- var t = Ae(), e = {}, r = Wt();
3857
+ var t = Re(), e = {}, r = Wt();
3858
3858
  n = function(l) {
3859
3859
  var o = "Warning: " + l;
3860
3860
  typeof console < "u" && console.error(o);
@@ -3900,7 +3900,7 @@ var fe, gt;
3900
3900
  function ql() {
3901
3901
  if (gt) return fe;
3902
3902
  gt = 1;
3903
- var n = Yt(), t = $l(), e = Ae(), r = Wt(), i = Nl(), l = function() {
3903
+ var n = Yt(), t = Nl(), e = Re(), r = Wt(), i = $l(), l = function() {
3904
3904
  };
3905
3905
  process.env.NODE_ENV !== "production" && (l = function(a) {
3906
3906
  var s = "Warning: " + a;
@@ -3936,7 +3936,7 @@ function ql() {
3936
3936
  instanceOf: x,
3937
3937
  node: sn(),
3938
3938
  objectOf: q,
3939
- oneOf: R,
3939
+ oneOf: A,
3940
3940
  oneOfType: X,
3941
3941
  shape: O,
3942
3942
  exact: W
@@ -4038,7 +4038,7 @@ function ql() {
4038
4038
  }
4039
4039
  return y(T);
4040
4040
  }
4041
- function R(u) {
4041
+ function A(u) {
4042
4042
  if (!Array.isArray(u))
4043
4043
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? l(
4044
4044
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
@@ -4221,7 +4221,7 @@ var pe, yt;
4221
4221
  function Ul() {
4222
4222
  if (yt) return pe;
4223
4223
  yt = 1;
4224
- var n = Ae();
4224
+ var n = Re();
4225
4225
  function t() {
4226
4226
  }
4227
4227
  function e() {
@@ -4271,7 +4271,7 @@ if (process.env.NODE_ENV !== "production") {
4271
4271
  } else
4272
4272
  we.exports = Ul()();
4273
4273
  var Yl = we.exports;
4274
- const $ = /* @__PURE__ */ Hn(Yl);
4274
+ const N = /* @__PURE__ */ Hn(Yl);
4275
4275
  class Yn {
4276
4276
  /**
4277
4277
  * @constructor
@@ -4317,8 +4317,8 @@ En.prototype.commaOrSpaceSeparated = !1;
4317
4317
  En.prototype.mustUseProperty = !1;
4318
4318
  En.prototype.defined = !1;
4319
4319
  let Wl = 0;
4320
- const U = Rn(), pn = Rn(), Xt = Rn(), E = Rn(), on = Rn(), Fn = Rn(), xn = Rn();
4321
- function Rn() {
4320
+ const U = An(), pn = An(), Xt = An(), E = An(), on = An(), Fn = An(), xn = An();
4321
+ function An() {
4322
4322
  return 2 ** ++Wl;
4323
4323
  }
4324
4324
  const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -4331,7 +4331,7 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4331
4331
  overloadedBoolean: Xt,
4332
4332
  spaceSeparated: on
4333
4333
  }, Symbol.toStringTag, { value: "Module" })), he = Object.keys(ve);
4334
- class Re extends En {
4334
+ class Ae extends En {
4335
4335
  /**
4336
4336
  * @constructor
4337
4337
  * @param {string} property
@@ -4348,7 +4348,7 @@ class Re extends En {
4348
4348
  }
4349
4349
  }
4350
4350
  }
4351
- Re.prototype.defined = !0;
4351
+ Ae.prototype.defined = !0;
4352
4352
  function xt(n, t, e) {
4353
4353
  e && (n[t] = e);
4354
4354
  }
@@ -4358,7 +4358,7 @@ function Dn(n) {
4358
4358
  let r;
4359
4359
  for (r in n.properties)
4360
4360
  if (Ql.call(n.properties, r)) {
4361
- const i = n.properties[r], l = new Re(
4361
+ const i = n.properties[r], l = new Ae(
4362
4362
  r,
4363
4363
  n.transform(n.attributes || {}, r),
4364
4364
  i,
@@ -5392,7 +5392,7 @@ function Zl(n, t) {
5392
5392
  o.charAt(0) !== "-" && (o = "-" + o), t = "data" + o;
5393
5393
  }
5394
5394
  }
5395
- i = Re;
5395
+ i = Ae;
5396
5396
  }
5397
5397
  return new i(r, t);
5398
5398
  }
@@ -5532,19 +5532,19 @@ function oo() {
5532
5532
  return wt || (wt = 1, process.env.NODE_ENV !== "production" && function() {
5533
5533
  var n = Symbol.for("react.element"), t = Symbol.for("react.portal"), e = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), o = Symbol.for("react.context"), a = Symbol.for("react.server_context"), s = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), w = !1, g = !1, y = !1, k = !1, M = !1, v;
5534
5534
  v = Symbol.for("react.module.reference");
5535
- function L(A) {
5536
- return !!(typeof A == "string" || typeof A == "function" || A === e || A === i || M || A === r || A === c || A === d || k || A === h || w || g || y || typeof A == "object" && A !== null && (A.$$typeof === m || A.$$typeof === p || A.$$typeof === l || A.$$typeof === o || A.$$typeof === s || // This needs to include all possible module reference object
5535
+ function L(R) {
5536
+ return !!(typeof R == "string" || typeof R == "function" || R === e || R === i || M || R === r || R === c || R === d || k || R === h || w || g || y || typeof R == "object" && R !== null && (R.$$typeof === m || R.$$typeof === p || R.$$typeof === l || R.$$typeof === o || R.$$typeof === s || // This needs to include all possible module reference object
5537
5537
  // types supported by any Flight configuration anywhere since
5538
5538
  // we don't know which Flight build this will end up being used
5539
5539
  // with.
5540
- A.$$typeof === v || A.getModuleId !== void 0));
5540
+ R.$$typeof === v || R.getModuleId !== void 0));
5541
5541
  }
5542
- function S(A) {
5543
- if (typeof A == "object" && A !== null) {
5544
- var On = A.$$typeof;
5542
+ function S(R) {
5543
+ if (typeof R == "object" && R !== null) {
5544
+ var On = R.$$typeof;
5545
5545
  switch (On) {
5546
5546
  case n:
5547
- var _n = A.type;
5547
+ var _n = R.type;
5548
5548
  switch (_n) {
5549
5549
  case e:
5550
5550
  case i:
@@ -5571,50 +5571,50 @@ function oo() {
5571
5571
  }
5572
5572
  }
5573
5573
  }
5574
- var x = o, R = l, q = n, X = s, sn = e, _ = m, O = p, W = t, en = i, Y = r, tn = c, ln = d, hn = !1, mn = !1;
5575
- function u(A) {
5574
+ var x = o, A = l, q = n, X = s, sn = e, _ = m, O = p, W = t, en = i, Y = r, tn = c, ln = d, hn = !1, mn = !1;
5575
+ function u(R) {
5576
5576
  return hn || (hn = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
5577
5577
  }
5578
- function T(A) {
5578
+ function T(R) {
5579
5579
  return mn || (mn = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
5580
5580
  }
5581
- function F(A) {
5582
- return S(A) === o;
5581
+ function F(R) {
5582
+ return S(R) === o;
5583
5583
  }
5584
- function f(A) {
5585
- return S(A) === l;
5584
+ function f(R) {
5585
+ return S(R) === l;
5586
5586
  }
5587
- function z(A) {
5588
- return typeof A == "object" && A !== null && A.$$typeof === n;
5587
+ function z(R) {
5588
+ return typeof R == "object" && R !== null && R.$$typeof === n;
5589
5589
  }
5590
- function H(A) {
5591
- return S(A) === s;
5590
+ function H(R) {
5591
+ return S(R) === s;
5592
5592
  }
5593
- function I(A) {
5594
- return S(A) === e;
5593
+ function I(R) {
5594
+ return S(R) === e;
5595
5595
  }
5596
- function B(A) {
5597
- return S(A) === m;
5596
+ function B(R) {
5597
+ return S(R) === m;
5598
5598
  }
5599
- function j(A) {
5600
- return S(A) === p;
5599
+ function j(R) {
5600
+ return S(R) === p;
5601
5601
  }
5602
- function Q(A) {
5603
- return S(A) === t;
5602
+ function Q(R) {
5603
+ return S(R) === t;
5604
5604
  }
5605
- function V(A) {
5606
- return S(A) === i;
5605
+ function V(R) {
5606
+ return S(R) === i;
5607
5607
  }
5608
- function fn(A) {
5609
- return S(A) === r;
5608
+ function fn(R) {
5609
+ return S(R) === r;
5610
5610
  }
5611
- function P(A) {
5612
- return S(A) === c;
5611
+ function P(R) {
5612
+ return S(R) === c;
5613
5613
  }
5614
- function gn(A) {
5615
- return S(A) === d;
5614
+ function gn(R) {
5615
+ return S(R) === d;
5616
5616
  }
5617
- nn.ContextConsumer = x, nn.ContextProvider = R, nn.Element = q, nn.ForwardRef = X, nn.Fragment = sn, nn.Lazy = _, nn.Memo = O, nn.Portal = W, nn.Profiler = en, nn.StrictMode = Y, nn.Suspense = tn, nn.SuspenseList = ln, nn.isAsyncMode = u, nn.isConcurrentMode = T, nn.isContextConsumer = F, nn.isContextProvider = f, nn.isElement = z, nn.isForwardRef = H, nn.isFragment = I, nn.isLazy = B, nn.isMemo = j, nn.isPortal = Q, nn.isProfiler = V, nn.isStrictMode = fn, nn.isSuspense = P, nn.isSuspenseList = gn, nn.isValidElementType = L, nn.typeOf = S;
5617
+ nn.ContextConsumer = x, nn.ContextProvider = A, nn.Element = q, nn.ForwardRef = X, nn.Fragment = sn, nn.Lazy = _, nn.Memo = O, nn.Portal = W, nn.Profiler = en, nn.StrictMode = Y, nn.Suspense = tn, nn.SuspenseList = ln, nn.isAsyncMode = u, nn.isConcurrentMode = T, nn.isContextConsumer = F, nn.isContextProvider = f, nn.isElement = z, nn.isForwardRef = H, nn.isFragment = I, nn.isLazy = B, nn.isMemo = j, nn.isPortal = Q, nn.isProfiler = V, nn.isStrictMode = fn, nn.isSuspense = P, nn.isSuspenseList = gn, nn.isValidElementType = L, nn.typeOf = S;
5618
5618
  }()), nn;
5619
5619
  }
5620
5620
  process.env.NODE_ENV === "production" ? Ce.exports = lo() : Ce.exports = oo();
@@ -5640,7 +5640,7 @@ function fo(n, t) {
5640
5640
  ).trim();
5641
5641
  }
5642
5642
  var _e = { exports: {} }, Et = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, po = /\n/g, ho = /^\s*/, mo = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, go = /^:\s*/, yo = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, xo = /^[;\s]*/, bo = /^\s+|\s+$/g, ko = `
5643
- `, vt = "/", Ct = "*", An = "", So = "comment", wo = "declaration", Eo = function(n, t) {
5643
+ `, vt = "/", Ct = "*", Rn = "", So = "comment", wo = "declaration", Eo = function(n, t) {
5644
5644
  if (typeof n != "string")
5645
5645
  throw new TypeError("First argument must be a string");
5646
5646
  if (!n) return [];
@@ -5687,9 +5687,9 @@ var _e = { exports: {} }, Et = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, po = /\n/g, ho
5687
5687
  function p() {
5688
5688
  var w = l();
5689
5689
  if (!(vt != n.charAt(0) || Ct != n.charAt(1))) {
5690
- for (var g = 2; An != n.charAt(g) && (Ct != n.charAt(g) || vt != n.charAt(g + 1)); )
5690
+ for (var g = 2; Rn != n.charAt(g) && (Ct != n.charAt(g) || vt != n.charAt(g + 1)); )
5691
5691
  ++g;
5692
- if (g += 2, An === n.charAt(g - 1))
5692
+ if (g += 2, Rn === n.charAt(g - 1))
5693
5693
  return a("End of comment missing");
5694
5694
  var y = n.slice(2, g - 2);
5695
5695
  return r += 2, i(y), n = n.slice(g), r += 2, w({
@@ -5704,8 +5704,8 @@ var _e = { exports: {} }, Et = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, po = /\n/g, ho
5704
5704
  if (p(), !s(go)) return a("property missing ':'");
5705
5705
  var y = s(yo), k = w({
5706
5706
  type: wo,
5707
- property: Tt(g[0].replace(Et, An)),
5708
- value: y ? Tt(y[0].replace(Et, An)) : An
5707
+ property: Tt(g[0].replace(Et, Rn)),
5708
+ value: y ? Tt(y[0].replace(Et, Rn)) : Rn
5709
5709
  });
5710
5710
  return s(xo), k;
5711
5711
  }
@@ -5720,7 +5720,7 @@ var _e = { exports: {} }, Et = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, po = /\n/g, ho
5720
5720
  return c(), h();
5721
5721
  };
5722
5722
  function Tt(n) {
5723
- return n ? n.replace(bo, An) : An;
5723
+ return n ? n.replace(bo, Rn) : Rn;
5724
5724
  }
5725
5725
  var vo = Eo;
5726
5726
  function tr(n, t) {
@@ -5747,7 +5747,7 @@ function Oo(n, t, e, r) {
5747
5747
  let c = o, d;
5748
5748
  if (o.space === "html" && a === "svg" && (c = ro, n.schema = c), t.properties)
5749
5749
  for (d in t.properties)
5750
- Te.call(t.properties, d) && Ao(s, d, t.properties[d], n);
5750
+ Te.call(t.properties, d) && Ro(s, d, t.properties[d], n);
5751
5751
  (a === "ol" || a === "ul") && n.listDepth++;
5752
5752
  const p = rr(n, t);
5753
5753
  (a === "ol" || a === "ul") && n.listDepth--, n.schema = o;
@@ -5792,12 +5792,12 @@ function de(n, t) {
5792
5792
  n.children[e].type === "element" && r++;
5793
5793
  return r;
5794
5794
  }
5795
- function Ao(n, t, e, r) {
5795
+ function Ro(n, t, e, r) {
5796
5796
  const i = Zl(r.schema, t);
5797
5797
  let l = e;
5798
- l == null || l !== l || (Array.isArray(l) && (l = i.commaSeparated ? fo(l) : co(l)), i.property === "style" && typeof l == "string" && (l = Ro(l)), i.space && i.property ? n[Te.call(kt, i.property) ? kt[i.property] : i.property] = l : i.attribute && (n[i.attribute] = l));
5798
+ l == null || l !== l || (Array.isArray(l) && (l = i.commaSeparated ? fo(l) : co(l)), i.property === "style" && typeof l == "string" && (l = Ao(l)), i.space && i.property ? n[Te.call(kt, i.property) ? kt[i.property] : i.property] = l : i.attribute && (n[i.attribute] = l));
5799
5799
  }
5800
- function Ro(n) {
5800
+ function Ao(n) {
5801
5801
  const t = {};
5802
5802
  try {
5803
5803
  To(n, e);
@@ -5858,7 +5858,7 @@ function Mo(n) {
5858
5858
  const t = Dr().use(Dl).use(n.remarkPlugins || []).use(xr, {
5859
5859
  ...n.remarkRehypeOptions,
5860
5860
  allowDangerousHtml: !0
5861
- }).use(n.rehypePlugins || []).use(io, n), e = new At();
5861
+ }).use(n.rehypePlugins || []).use(io, n), e = new Rt();
5862
5862
  typeof n.children == "string" ? e.value = n.children : n.children !== void 0 && n.children !== null && console.warn(
5863
5863
  `[react-markdown] Warning: please pass a string as \`children\` (not: \`${n.children}\`)`
5864
5864
  );
@@ -5874,62 +5874,62 @@ function Mo(n) {
5874
5874
  }
5875
5875
  Mo.propTypes = {
5876
5876
  // Core options:
5877
- children: $.string,
5877
+ children: N.string,
5878
5878
  // Layout options:
5879
- className: $.string,
5879
+ className: N.string,
5880
5880
  // Filter options:
5881
- allowElement: $.func,
5882
- allowedElements: $.arrayOf($.string),
5883
- disallowedElements: $.arrayOf($.string),
5884
- unwrapDisallowed: $.bool,
5881
+ allowElement: N.func,
5882
+ allowedElements: N.arrayOf(N.string),
5883
+ disallowedElements: N.arrayOf(N.string),
5884
+ unwrapDisallowed: N.bool,
5885
5885
  // Plugin options:
5886
- remarkPlugins: $.arrayOf(
5887
- $.oneOfType([
5888
- $.object,
5889
- $.func,
5890
- $.arrayOf(
5891
- $.oneOfType([
5892
- $.bool,
5893
- $.string,
5894
- $.object,
5895
- $.func,
5896
- $.arrayOf(
5886
+ remarkPlugins: N.arrayOf(
5887
+ N.oneOfType([
5888
+ N.object,
5889
+ N.func,
5890
+ N.arrayOf(
5891
+ N.oneOfType([
5892
+ N.bool,
5893
+ N.string,
5894
+ N.object,
5895
+ N.func,
5896
+ N.arrayOf(
5897
5897
  // prettier-ignore
5898
5898
  // type-coverage:ignore-next-line
5899
- $.any
5899
+ N.any
5900
5900
  )
5901
5901
  ])
5902
5902
  )
5903
5903
  ])
5904
5904
  ),
5905
- rehypePlugins: $.arrayOf(
5906
- $.oneOfType([
5907
- $.object,
5908
- $.func,
5909
- $.arrayOf(
5910
- $.oneOfType([
5911
- $.bool,
5912
- $.string,
5913
- $.object,
5914
- $.func,
5915
- $.arrayOf(
5905
+ rehypePlugins: N.arrayOf(
5906
+ N.oneOfType([
5907
+ N.object,
5908
+ N.func,
5909
+ N.arrayOf(
5910
+ N.oneOfType([
5911
+ N.bool,
5912
+ N.string,
5913
+ N.object,
5914
+ N.func,
5915
+ N.arrayOf(
5916
5916
  // prettier-ignore
5917
5917
  // type-coverage:ignore-next-line
5918
- $.any
5918
+ N.any
5919
5919
  )
5920
5920
  ])
5921
5921
  )
5922
5922
  ])
5923
5923
  ),
5924
5924
  // Transform options:
5925
- sourcePos: $.bool,
5926
- rawSourcePos: $.bool,
5927
- skipHtml: $.bool,
5928
- includeElementIndex: $.bool,
5929
- transformLinkUri: $.oneOfType([$.func, $.bool]),
5930
- linkTarget: $.oneOfType([$.func, $.string]),
5931
- transformImageUri: $.func,
5932
- components: $.object
5925
+ sourcePos: N.bool,
5926
+ rawSourcePos: N.bool,
5927
+ skipHtml: N.bool,
5928
+ includeElementIndex: N.bool,
5929
+ transformLinkUri: N.oneOfType([N.func, N.bool]),
5930
+ linkTarget: N.oneOfType([N.func, N.string]),
5931
+ transformImageUri: N.func,
5932
+ components: N.object
5933
5933
  };
5934
5934
  export {
5935
5935
  Mo as default,