@2uinc/frontend-component-xpert-chatbot 1.7.0-beta.6 → 1.7.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/lib/index.min.js +560 -563
  2. package/package.json +1 -1
@@ -290,7 +290,7 @@ function xo(e) {
290
290
  });
291
291
  }), n;
292
292
  }
293
- var bo = { exports: {} }, $t = {};
293
+ var bo = { exports: {} }, qt = {};
294
294
  /*
295
295
  object-assign
296
296
  (c) Sindre Sorhus
@@ -334,10 +334,10 @@ ou();
334
334
  * LICENSE file in the root directory of this source tree.
335
335
  */
336
336
  var au = ve, wo = 60103;
337
- $t.Fragment = 60107;
337
+ qt.Fragment = 60107;
338
338
  if (typeof Symbol == "function" && Symbol.for) {
339
339
  var fi = Symbol.for;
340
- wo = fi("react.element"), $t.Fragment = fi("react.fragment");
340
+ wo = fi("react.element"), qt.Fragment = fi("react.fragment");
341
341
  }
342
342
  var lu = au.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, uu = Object.prototype.hasOwnProperty, su = { key: !0, ref: !0, __self: !0, __source: !0 };
343
343
  function vo(e, t, n) {
@@ -350,9 +350,9 @@ function vo(e, t, n) {
350
350
  i[r] === void 0 && (i[r] = t[r]);
351
351
  return { $$typeof: wo, type: e, key: o, ref: a, props: i, _owner: lu.current };
352
352
  }
353
- $t.jsx = vo;
354
- $t.jsxs = vo;
355
- bo.exports = $t;
353
+ qt.jsx = vo;
354
+ qt.jsxs = vo;
355
+ bo.exports = qt;
356
356
  var k = bo.exports, Do = { exports: {} }, cu = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", fu = cu, pu = fu;
357
357
  function To() {
358
358
  }
@@ -403,9 +403,9 @@ const N = /* @__PURE__ */ nt(Q);
403
403
  var pn = { exports: {} };
404
404
  pn.exports;
405
405
  (function(e, t) {
406
- var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", s = "[object AsyncFunction]", c = "[object Boolean]", p = "[object Date]", m = "[object Error]", d = "[object Function]", T = "[object GeneratorFunction]", x = "[object Map]", j = "[object Number]", v = "[object Null]", C = "[object Object]", S = "[object Proxy]", W = "[object RegExp]", $ = "[object Set]", M = "[object String]", P = "[object Undefined]", H = "[object WeakMap]", G = "[object ArrayBuffer]", K = "[object DataView]", A = "[object Float32Array]", b = "[object Float64Array]", I = "[object Int8Array]", z = "[object Int16Array]", L = "[object Int32Array]", U = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", V = "[object Uint16Array]", ie = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, fe = /^\[object .+?Constructor\]$/, ye = /^(?:0|[1-9]\d*)$/, h = {};
407
- h[A] = h[b] = h[I] = h[z] = h[L] = h[U] = h[_] = h[V] = h[ie] = !0, h[l] = h[u] = h[G] = h[c] = h[K] = h[p] = h[m] = h[d] = h[x] = h[j] = h[C] = h[W] = h[$] = h[M] = h[H] = !1;
408
- var me = typeof Jt == "object" && Jt && Jt.Object === Object && Jt, De = typeof self == "object" && self && self.Object === Object && self, oe = me || De || Function("return this")(), Te = t && !t.nodeType && t, be = Te && !0 && e && !e.nodeType && e, Be = be && be.exports === Te, ze = Be && me.process, Ke = function() {
406
+ var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", u = "[object Array]", s = "[object AsyncFunction]", c = "[object Boolean]", p = "[object Date]", m = "[object Error]", d = "[object Function]", T = "[object GeneratorFunction]", x = "[object Map]", j = "[object Number]", v = "[object Null]", C = "[object Object]", S = "[object Proxy]", W = "[object RegExp]", q = "[object Set]", M = "[object String]", F = "[object Undefined]", H = "[object WeakMap]", G = "[object ArrayBuffer]", K = "[object DataView]", A = "[object Float32Array]", b = "[object Float64Array]", I = "[object Int8Array]", z = "[object Int16Array]", L = "[object Int32Array]", U = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", V = "[object Uint16Array]", re = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, ue = /^\[object .+?Constructor\]$/, ye = /^(?:0|[1-9]\d*)$/, h = {};
407
+ h[A] = h[b] = h[I] = h[z] = h[L] = h[U] = h[_] = h[V] = h[re] = !0, h[l] = h[u] = h[G] = h[c] = h[K] = h[p] = h[m] = h[d] = h[x] = h[j] = h[C] = h[W] = h[q] = h[M] = h[H] = !1;
408
+ var ge = typeof Jt == "object" && Jt && Jt.Object === Object && Jt, De = typeof self == "object" && self && self.Object === Object && self, ie = ge || De || Function("return this")(), Te = t && !t.nodeType && t, be = Te && !0 && e && !e.nodeType && e, Be = be && be.exports === Te, ze = Be && ge.process, Ke = function() {
409
409
  try {
410
410
  var f = be && be.require && be.require("util").types;
411
411
  return f || ze && ze.binding && ze.binding("util");
@@ -426,9 +426,9 @@ pn.exports;
426
426
  return f.apply(y, w);
427
427
  }
428
428
  function Nt(f, y) {
429
- for (var w = -1, F = Array(f); ++w < f; )
430
- F[w] = y(w);
431
- return F;
429
+ for (var w = -1, P = Array(f); ++w < f; )
430
+ P[w] = y(w);
431
+ return P;
432
432
  }
433
433
  function gt(f) {
434
434
  return function(y) {
@@ -443,18 +443,18 @@ pn.exports;
443
443
  return f(y(w));
444
444
  };
445
445
  }
446
- var R = Array.prototype, ne = Function.prototype, he = Object.prototype, ge = oe["__core-js_shared__"], je = ne.toString, xe = he.hasOwnProperty, kt = function() {
447
- var f = /[^.]+$/.exec(ge && ge.keys && ge.keys.IE_PROTO || "");
446
+ var R = Array.prototype, oe = Function.prototype, me = Object.prototype, he = ie["__core-js_shared__"], je = oe.toString, xe = me.hasOwnProperty, kt = function() {
447
+ var f = /[^.]+$/.exec(he && he.keys && he.keys.IE_PROTO || "");
448
448
  return f ? "Symbol(src)_1." + f : "";
449
- }(), Xe = he.toString, jt = je.call(Object), D = RegExp(
449
+ }(), Xe = me.toString, jt = je.call(Object), D = RegExp(
450
450
  "^" + je.call(xe).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
451
- ), O = Be ? oe.Buffer : void 0, Y = oe.Symbol, ee = oe.Uint8Array, re = O ? O.allocUnsafe : void 0, Ie = at(Object.getPrototypeOf, Object), Qe = Object.create, Ye = he.propertyIsEnumerable, lt = R.splice, Ee = Y ? Y.toStringTag : void 0, ue = function() {
451
+ ), O = Be ? ie.Buffer : void 0, Y = ie.Symbol, ee = ie.Uint8Array, ne = O ? O.allocUnsafe : void 0, Ie = at(Object.getPrototypeOf, Object), Qe = Object.create, Ye = me.propertyIsEnumerable, lt = R.splice, Ee = Y ? Y.toStringTag : void 0, se = function() {
452
452
  try {
453
- var f = Fn(Object, "defineProperty");
453
+ var f = Pn(Object, "defineProperty");
454
454
  return f({}, "", {}), f;
455
455
  } catch {
456
456
  }
457
- }(), Et = O ? O.isBuffer : void 0, Le = Math.max, Za = Date.now, Jr = Fn(oe, "Map"), At = Fn(Object, "create"), Ka = function() {
457
+ }(), Et = O ? O.isBuffer : void 0, Le = Math.max, Za = Date.now, Jr = Pn(ie, "Map"), At = Pn(Object, "create"), Ka = function() {
458
458
  function f() {
459
459
  }
460
460
  return function(y) {
@@ -470,8 +470,8 @@ pn.exports;
470
470
  function ut(f) {
471
471
  var y = -1, w = f == null ? 0 : f.length;
472
472
  for (this.clear(); ++y < w; ) {
473
- var F = f[y];
474
- this.set(F[0], F[1]);
473
+ var P = f[y];
474
+ this.set(P[0], P[1]);
475
475
  }
476
476
  }
477
477
  function Xa() {
@@ -501,8 +501,8 @@ pn.exports;
501
501
  function Ze(f) {
502
502
  var y = -1, w = f == null ? 0 : f.length;
503
503
  for (this.clear(); ++y < w; ) {
504
- var F = f[y];
505
- this.set(F[0], F[1]);
504
+ var P = f[y];
505
+ this.set(P[0], P[1]);
506
506
  }
507
507
  }
508
508
  function rl() {
@@ -512,8 +512,8 @@ pn.exports;
512
512
  var y = this.__data__, w = Gt(y, f);
513
513
  if (w < 0)
514
514
  return !1;
515
- var F = y.length - 1;
516
- return w == F ? y.pop() : lt.call(y, w, 1), --this.size, !0;
515
+ var P = y.length - 1;
516
+ return w == P ? y.pop() : lt.call(y, w, 1), --this.size, !0;
517
517
  }
518
518
  function ol(f) {
519
519
  var y = this.__data__, w = Gt(y, f);
@@ -523,15 +523,15 @@ pn.exports;
523
523
  return Gt(this.__data__, f) > -1;
524
524
  }
525
525
  function ll(f, y) {
526
- var w = this.__data__, F = Gt(w, f);
527
- return F < 0 ? (++this.size, w.push([f, y])) : w[F][1] = y, this;
526
+ var w = this.__data__, P = Gt(w, f);
527
+ return P < 0 ? (++this.size, w.push([f, y])) : w[P][1] = y, this;
528
528
  }
529
529
  Ze.prototype.clear = rl, Ze.prototype.delete = il, Ze.prototype.get = ol, Ze.prototype.has = al, Ze.prototype.set = ll;
530
530
  function mt(f) {
531
531
  var y = -1, w = f == null ? 0 : f.length;
532
532
  for (this.clear(); ++y < w; ) {
533
- var F = f[y];
534
- this.set(F[0], F[1]);
533
+ var P = f[y];
534
+ this.set(P[0], P[1]);
535
535
  }
536
536
  }
537
537
  function ul() {
@@ -552,8 +552,8 @@ pn.exports;
552
552
  return Kt(this, f).has(f);
553
553
  }
554
554
  function pl(f, y) {
555
- var w = Kt(this, f), F = w.size;
556
- return w.set(f, y), this.size += w.size == F ? 0 : 1, this;
555
+ var w = Kt(this, f), P = w.size;
556
+ return w.set(f, y), this.size += w.size == P ? 0 : 1, this;
557
557
  }
558
558
  mt.prototype.clear = ul, mt.prototype.delete = sl, mt.prototype.get = cl, mt.prototype.has = fl, mt.prototype.set = pl;
559
559
  function yt(f) {
@@ -576,30 +576,30 @@ pn.exports;
576
576
  function yl(f, y) {
577
577
  var w = this.__data__;
578
578
  if (w instanceof Ze) {
579
- var F = w.__data__;
580
- if (!Jr || F.length < n - 1)
581
- return F.push([f, y]), this.size = ++w.size, this;
582
- w = this.__data__ = new mt(F);
579
+ var P = w.__data__;
580
+ if (!Jr || P.length < n - 1)
581
+ return P.push([f, y]), this.size = ++w.size, this;
582
+ w = this.__data__ = new mt(P);
583
583
  }
584
584
  return w.set(f, y), this.size = w.size, this;
585
585
  }
586
586
  yt.prototype.clear = dl, yt.prototype.delete = hl, yt.prototype.get = gl, yt.prototype.has = ml, yt.prototype.set = yl;
587
587
  function Ml(f, y) {
588
- var w = Un(f), F = !w && Rn(f), J = !w && !F && ii(f), le = !w && !F && !J && ai(f), pe = w || F || J || le, X = pe ? Nt(f.length, String) : [], de = X.length;
589
- for (var Pe in f)
590
- (y || xe.call(f, Pe)) && !(pe && // Safari 9 has enumerable `arguments.length` in strict mode.
591
- (Pe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
592
- J && (Pe == "offset" || Pe == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
593
- le && (Pe == "buffer" || Pe == "byteLength" || Pe == "byteOffset") || // Skip index properties.
594
- ni(Pe, de))) && X.push(Pe);
588
+ var w = Un(f), P = !w && Rn(f), J = !w && !P && ii(f), le = !w && !P && !J && ai(f), pe = w || P || J || le, X = pe ? Nt(f.length, String) : [], de = X.length;
589
+ for (var Fe in f)
590
+ (y || xe.call(f, Fe)) && !(pe && // Safari 9 has enumerable `arguments.length` in strict mode.
591
+ (Fe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
592
+ J && (Fe == "offset" || Fe == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
593
+ le && (Fe == "buffer" || Fe == "byteLength" || Fe == "byteOffset") || // Skip index properties.
594
+ ni(Fe, de))) && X.push(Fe);
595
595
  return X;
596
596
  }
597
597
  function Ln(f, y, w) {
598
- (w !== void 0 && !Xt(f[y], w) || w === void 0 && !(y in f)) && Pn(f, y, w);
598
+ (w !== void 0 && !Xt(f[y], w) || w === void 0 && !(y in f)) && Fn(f, y, w);
599
599
  }
600
600
  function xl(f, y, w) {
601
- var F = f[y];
602
- (!(xe.call(f, y) && Xt(F, w)) || w === void 0 && !(y in f)) && Pn(f, y, w);
601
+ var P = f[y];
602
+ (!(xe.call(f, y) && Xt(P, w)) || w === void 0 && !(y in f)) && Fn(f, y, w);
603
603
  }
604
604
  function Gt(f, y) {
605
605
  for (var w = f.length; w--; )
@@ -607,8 +607,8 @@ pn.exports;
607
607
  return w;
608
608
  return -1;
609
609
  }
610
- function Pn(f, y, w) {
611
- y == "__proto__" && ue ? ue(f, y, {
610
+ function Fn(f, y, w) {
611
+ y == "__proto__" && se ? se(f, y, {
612
612
  configurable: !0,
613
613
  enumerable: !0,
614
614
  value: w,
@@ -617,7 +617,7 @@ pn.exports;
617
617
  }
618
618
  var bl = Ol();
619
619
  function Zt(f) {
620
- return f == null ? f === void 0 ? P : v : Ee && Ee in Object(f) ? zl(f) : Ul(f);
620
+ return f == null ? f === void 0 ? F : v : Ee && Ee in Object(f) ? zl(f) : Ul(f);
621
621
  }
622
622
  function ei(f) {
623
623
  return Ct(f) && Zt(f) == l;
@@ -625,7 +625,7 @@ pn.exports;
625
625
  function wl(f) {
626
626
  if (!st(f) || _l(f))
627
627
  return !1;
628
- var y = Qn(f) ? D : fe;
628
+ var y = Qn(f) ? D : ue;
629
629
  return y.test(Hl(f));
630
630
  }
631
631
  function vl(f) {
@@ -635,38 +635,38 @@ pn.exports;
635
635
  if (!st(f))
636
636
  return Rl(f);
637
637
  var y = ri(f), w = [];
638
- for (var F in f)
639
- F == "constructor" && (y || !xe.call(f, F)) || w.push(F);
638
+ for (var P in f)
639
+ P == "constructor" && (y || !xe.call(f, P)) || w.push(P);
640
640
  return w;
641
641
  }
642
- function ti(f, y, w, F, J) {
642
+ function ti(f, y, w, P, J) {
643
643
  f !== y && bl(y, function(le, pe) {
644
644
  if (J || (J = new yt()), st(le))
645
- Tl(f, y, pe, w, ti, F, J);
645
+ Tl(f, y, pe, w, ti, P, J);
646
646
  else {
647
- var X = F ? F(_n(f, pe), le, pe + "", f, y, J) : void 0;
647
+ var X = P ? P(_n(f, pe), le, pe + "", f, y, J) : void 0;
648
648
  X === void 0 && (X = le), Ln(f, pe, X);
649
649
  }
650
650
  }, li);
651
651
  }
652
- function Tl(f, y, w, F, J, le, pe) {
653
- var X = _n(f, w), de = _n(y, w), Pe = pe.get(de);
654
- if (Pe) {
655
- Ln(f, w, Pe);
652
+ function Tl(f, y, w, P, J, le, pe) {
653
+ var X = _n(f, w), de = _n(y, w), Fe = pe.get(de);
654
+ if (Fe) {
655
+ Ln(f, w, Fe);
656
656
  return;
657
657
  }
658
658
  var Ae = le ? le(X, de, w + "", f, y, pe) : void 0, St = Ae === void 0;
659
659
  if (St) {
660
660
  var Yn = Un(de), Hn = !Yn && ii(de), si = !Yn && !Hn && ai(de);
661
- Ae = de, Yn || Hn || si ? Un(X) ? Ae = X : ql(X) ? Ae = Al(X) : Hn ? (St = !1, Ae = kl(de, !0)) : si ? (St = !1, Ae = El(de, !0)) : Ae = [] : $l(de) || Rn(de) ? (Ae = X, Rn(X) ? Ae = Vl(X) : (!st(X) || Qn(X)) && (Ae = Ll(de))) : St = !1;
661
+ Ae = de, Yn || Hn || si ? Un(X) ? Ae = X : $l(X) ? Ae = Al(X) : Hn ? (St = !1, Ae = kl(de, !0)) : si ? (St = !1, Ae = El(de, !0)) : Ae = [] : ql(de) || Rn(de) ? (Ae = X, Rn(X) ? Ae = Vl(X) : (!st(X) || Qn(X)) && (Ae = Ll(de))) : St = !1;
662
662
  }
663
- St && (pe.set(de, Ae), J(Ae, de, F, le, pe), pe.delete(de)), Ln(f, w, Ae);
663
+ St && (pe.set(de, Ae), J(Ae, de, P, le, pe), pe.delete(de)), Ln(f, w, Ae);
664
664
  }
665
665
  function Il(f, y) {
666
666
  return Ql(Bl(f, y, ui), f + "");
667
667
  }
668
- var Nl = ue ? function(f, y) {
669
- return ue(f, "toString", {
668
+ var Nl = se ? function(f, y) {
669
+ return se(f, "toString", {
670
670
  configurable: !0,
671
671
  enumerable: !1,
672
672
  value: Gl(y),
@@ -676,8 +676,8 @@ pn.exports;
676
676
  function kl(f, y) {
677
677
  if (y)
678
678
  return f.slice();
679
- var w = f.length, F = re ? re(w) : new f.constructor(w);
680
- return f.copy(F), F;
679
+ var w = f.length, P = ne ? ne(w) : new f.constructor(w);
680
+ return f.copy(P), P;
681
681
  }
682
682
  function jl(f) {
683
683
  var y = new f.constructor(f.byteLength);
@@ -688,33 +688,33 @@ pn.exports;
688
688
  return new f.constructor(w, f.byteOffset, f.length);
689
689
  }
690
690
  function Al(f, y) {
691
- var w = -1, F = f.length;
692
- for (y || (y = Array(F)); ++w < F; )
691
+ var w = -1, P = f.length;
692
+ for (y || (y = Array(P)); ++w < P; )
693
693
  y[w] = f[w];
694
694
  return y;
695
695
  }
696
- function Cl(f, y, w, F) {
696
+ function Cl(f, y, w, P) {
697
697
  var J = !w;
698
698
  w || (w = {});
699
699
  for (var le = -1, pe = y.length; ++le < pe; ) {
700
- var X = y[le], de = F ? F(w[X], f[X], X, w, f) : void 0;
701
- de === void 0 && (de = f[X]), J ? Pn(w, X, de) : xl(w, X, de);
700
+ var X = y[le], de = P ? P(w[X], f[X], X, w, f) : void 0;
701
+ de === void 0 && (de = f[X]), J ? Fn(w, X, de) : xl(w, X, de);
702
702
  }
703
703
  return w;
704
704
  }
705
705
  function Sl(f) {
706
706
  return Il(function(y, w) {
707
- var F = -1, J = w.length, le = J > 1 ? w[J - 1] : void 0, pe = J > 2 ? w[2] : void 0;
708
- for (le = f.length > 3 && typeof le == "function" ? (J--, le) : void 0, pe && Pl(w[0], w[1], pe) && (le = J < 3 ? void 0 : le, J = 1), y = Object(y); ++F < J; ) {
709
- var X = w[F];
710
- X && f(y, X, F, le);
707
+ var P = -1, J = w.length, le = J > 1 ? w[J - 1] : void 0, pe = J > 2 ? w[2] : void 0;
708
+ for (le = f.length > 3 && typeof le == "function" ? (J--, le) : void 0, pe && Fl(w[0], w[1], pe) && (le = J < 3 ? void 0 : le, J = 1), y = Object(y); ++P < J; ) {
709
+ var X = w[P];
710
+ X && f(y, X, P, le);
711
711
  }
712
712
  return y;
713
713
  });
714
714
  }
715
715
  function Ol(f) {
716
- return function(y, w, F) {
717
- for (var J = -1, le = Object(y), pe = F(y), X = pe.length; X--; ) {
716
+ return function(y, w, P) {
717
+ for (var J = -1, le = Object(y), pe = P(y), X = pe.length; X--; ) {
718
718
  var de = pe[f ? X : ++J];
719
719
  if (w(le[de], de, le) === !1)
720
720
  break;
@@ -724,9 +724,9 @@ pn.exports;
724
724
  }
725
725
  function Kt(f, y) {
726
726
  var w = f.__data__;
727
- return Fl(y) ? w[typeof y == "string" ? "string" : "hash"] : w.map;
727
+ return Pl(y) ? w[typeof y == "string" ? "string" : "hash"] : w.map;
728
728
  }
729
- function Fn(f, y) {
729
+ function Pn(f, y) {
730
730
  var w = ot(f, y);
731
731
  return wl(w) ? w : void 0;
732
732
  }
@@ -734,11 +734,11 @@ pn.exports;
734
734
  var y = xe.call(f, Ee), w = f[Ee];
735
735
  try {
736
736
  f[Ee] = void 0;
737
- var F = !0;
737
+ var P = !0;
738
738
  } catch {
739
739
  }
740
740
  var J = Xe.call(f);
741
- return F && (y ? f[Ee] = w : delete f[Ee]), J;
741
+ return P && (y ? f[Ee] = w : delete f[Ee]), J;
742
742
  }
743
743
  function Ll(f) {
744
744
  return typeof f.constructor == "function" && !ri(f) ? Ka(Ie(f)) : {};
@@ -747,13 +747,13 @@ pn.exports;
747
747
  var w = typeof f;
748
748
  return y = y ?? a, !!y && (w == "number" || w != "symbol" && ye.test(f)) && f > -1 && f % 1 == 0 && f < y;
749
749
  }
750
- function Pl(f, y, w) {
750
+ function Fl(f, y, w) {
751
751
  if (!st(w))
752
752
  return !1;
753
- var F = typeof y;
754
- return (F == "number" ? Bn(w) && ni(y, w.length) : F == "string" && y in w) ? Xt(w[y], f) : !1;
753
+ var P = typeof y;
754
+ return (P == "number" ? Bn(w) && ni(y, w.length) : P == "string" && y in w) ? Xt(w[y], f) : !1;
755
755
  }
756
- function Fl(f) {
756
+ function Pl(f) {
757
757
  var y = typeof f;
758
758
  return y == "string" || y == "number" || y == "symbol" || y == "boolean" ? f !== "__proto__" : f === null;
759
759
  }
@@ -761,7 +761,7 @@ pn.exports;
761
761
  return !!kt && kt in f;
762
762
  }
763
763
  function ri(f) {
764
- var y = f && f.constructor, w = typeof y == "function" && y.prototype || he;
764
+ var y = f && f.constructor, w = typeof y == "function" && y.prototype || me;
765
765
  return f === w;
766
766
  }
767
767
  function Rl(f) {
@@ -776,11 +776,11 @@ pn.exports;
776
776
  }
777
777
  function Bl(f, y, w) {
778
778
  return y = Le(y === void 0 ? f.length - 1 : y, 0), function() {
779
- for (var F = arguments, J = -1, le = Le(F.length - y, 0), pe = Array(le); ++J < le; )
780
- pe[J] = F[y + J];
779
+ for (var P = arguments, J = -1, le = Le(P.length - y, 0), pe = Array(le); ++J < le; )
780
+ pe[J] = P[y + J];
781
781
  J = -1;
782
782
  for (var X = Array(y + 1); ++J < y; )
783
- X[J] = F[J];
783
+ X[J] = P[J];
784
784
  return X[y] = w(pe), It(f, this, X);
785
785
  };
786
786
  }
@@ -792,8 +792,8 @@ pn.exports;
792
792
  function Yl(f) {
793
793
  var y = 0, w = 0;
794
794
  return function() {
795
- var F = Za(), J = o - (F - w);
796
- if (w = F, J > 0) {
795
+ var P = Za(), J = o - (P - w);
796
+ if (w = P, J > 0) {
797
797
  if (++y >= i)
798
798
  return arguments[0];
799
799
  } else
@@ -825,7 +825,7 @@ pn.exports;
825
825
  function Bn(f) {
826
826
  return f != null && oi(f.length) && !Qn(f);
827
827
  }
828
- function ql(f) {
828
+ function $l(f) {
829
829
  return Ct(f) && Bn(f);
830
830
  }
831
831
  var ii = Et || Zl;
@@ -845,7 +845,7 @@ pn.exports;
845
845
  function Ct(f) {
846
846
  return f != null && typeof f == "object";
847
847
  }
848
- function $l(f) {
848
+ function ql(f) {
849
849
  if (!Ct(f) || Zt(f) != C)
850
850
  return !1;
851
851
  var y = Ie(f);
@@ -1256,7 +1256,7 @@ const Du = {
1256
1256
  not_found: {},
1257
1257
  ...Eo
1258
1258
  };
1259
- function qn(e, t) {
1259
+ function $n(e, t) {
1260
1260
  for (const n in t)
1261
1261
  if (n in e && typeof e[n] != typeof t[n])
1262
1262
  return !1;
@@ -1266,12 +1266,12 @@ function Co(e) {
1266
1266
  if (typeof e != "object" || e === null)
1267
1267
  return null;
1268
1268
  const t = e;
1269
- if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !qn(e, Du))
1269
+ if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !$n(e, Du))
1270
1270
  return null;
1271
1271
  const n = t.icons;
1272
1272
  for (const i in n) {
1273
1273
  const o = n[i];
1274
- if (!i.match(_t) || typeof o.body != "string" || !qn(
1274
+ if (!i.match(_t) || typeof o.body != "string" || !$n(
1275
1275
  o,
1276
1276
  ar
1277
1277
  ))
@@ -1280,7 +1280,7 @@ function Co(e) {
1280
1280
  const r = t.aliases || /* @__PURE__ */ Object.create(null);
1281
1281
  for (const i in r) {
1282
1282
  const o = r[i], a = o.parent;
1283
- if (!i.match(_t) || typeof a != "string" || !n[a] && !r[a] || !qn(
1283
+ if (!i.match(_t) || typeof a != "string" || !n[a] && !r[a] || !$n(
1284
1284
  o,
1285
1285
  ar
1286
1286
  ))
@@ -1439,7 +1439,7 @@ function Su(e, t) {
1439
1439
  }
1440
1440
  const Ou = /\sid="(\S+)"/g, zu = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
1441
1441
  let Lu = 0;
1442
- function Pu(e, t = zu) {
1442
+ function Fu(e, t = zu) {
1443
1443
  const n = [];
1444
1444
  let r;
1445
1445
  for (; r = Ou.exec(e); )
@@ -1458,7 +1458,7 @@ function Pu(e, t = zu) {
1458
1458
  }), e = e.replace(new RegExp(i, "g"), ""), e;
1459
1459
  }
1460
1460
  const lr = /* @__PURE__ */ Object.create(null);
1461
- function Fu(e, t) {
1461
+ function Pu(e, t) {
1462
1462
  lr[e] = t;
1463
1463
  }
1464
1464
  function ur(e) {
@@ -1605,11 +1605,11 @@ const Hu = (e, t, n) => {
1605
1605
  }).catch(() => {
1606
1606
  n("next", i);
1607
1607
  });
1608
- }, qu = {
1608
+ }, $u = {
1609
1609
  prepare: Qu,
1610
1610
  send: Hu
1611
1611
  };
1612
- function $u(e) {
1612
+ function qu(e) {
1613
1613
  const t = {
1614
1614
  loaded: [],
1615
1615
  missing: [],
@@ -1716,8 +1716,8 @@ function Xu(e, t, n, r) {
1716
1716
  if (e.random) {
1717
1717
  let M = e.resources.slice(0);
1718
1718
  for (a = []; M.length > 1; ) {
1719
- const P = Math.floor(Math.random() * M.length);
1720
- a.push(M[P]), M = M.slice(0, P).concat(M.slice(P + 1));
1719
+ const F = Math.floor(Math.random() * M.length);
1720
+ a.push(M[F]), M = M.slice(0, F).concat(M.slice(F + 1));
1721
1721
  }
1722
1722
  a = a.concat(M);
1723
1723
  } else
@@ -1733,8 +1733,8 @@ function Xu(e, t, n, r) {
1733
1733
  M.status === "pending" && (M.status = "aborted");
1734
1734
  }), m = [];
1735
1735
  }
1736
- function j(M, P) {
1737
- P && (d = []), typeof M == "function" && d.push(M);
1736
+ function j(M, F) {
1737
+ F && (d = []), typeof M == "function" && d.push(M);
1738
1738
  }
1739
1739
  function v() {
1740
1740
  return {
@@ -1757,8 +1757,8 @@ function Xu(e, t, n, r) {
1757
1757
  M.status === "pending" && (M.status = "aborted");
1758
1758
  }), m = [];
1759
1759
  }
1760
- function W(M, P, H) {
1761
- const G = P !== "success";
1760
+ function W(M, F, H) {
1761
+ const G = F !== "success";
1762
1762
  switch (m = m.filter((K) => K !== M), u) {
1763
1763
  case "pending":
1764
1764
  break;
@@ -1769,12 +1769,12 @@ function Xu(e, t, n, r) {
1769
1769
  default:
1770
1770
  return;
1771
1771
  }
1772
- if (P === "abort") {
1772
+ if (F === "abort") {
1773
1773
  c = H, C();
1774
1774
  return;
1775
1775
  }
1776
1776
  if (G) {
1777
- c = H, m.length || (a.length ? $() : C());
1777
+ c = H, m.length || (a.length ? q() : C());
1778
1778
  return;
1779
1779
  }
1780
1780
  if (T(), S(), !e.random) {
@@ -1785,7 +1785,7 @@ function Xu(e, t, n, r) {
1785
1785
  K(H);
1786
1786
  });
1787
1787
  }
1788
- function $() {
1788
+ function q() {
1789
1789
  if (u !== "pending")
1790
1790
  return;
1791
1791
  T();
@@ -1800,18 +1800,18 @@ function Xu(e, t, n, r) {
1800
1800
  C();
1801
1801
  return;
1802
1802
  }
1803
- const P = {
1803
+ const F = {
1804
1804
  status: "pending",
1805
1805
  resource: M,
1806
1806
  callback: (H, G) => {
1807
- W(P, H, G);
1807
+ W(F, H, G);
1808
1808
  }
1809
1809
  };
1810
- m.push(P), s++, p = setTimeout($, e.rotate), n(M, t, P.callback);
1810
+ m.push(F), s++, p = setTimeout(q, e.rotate), n(M, t, F.callback);
1811
1811
  }
1812
- return setTimeout($), v;
1812
+ return setTimeout(q), v;
1813
1813
  }
1814
- function Po(e) {
1814
+ function Fo(e) {
1815
1815
  const t = {
1816
1816
  ...Ku,
1817
1817
  ...e
@@ -1846,19 +1846,19 @@ function Po(e) {
1846
1846
  }
1847
1847
  function mi() {
1848
1848
  }
1849
- const $n = /* @__PURE__ */ Object.create(null);
1849
+ const qn = /* @__PURE__ */ Object.create(null);
1850
1850
  function Ju(e) {
1851
- if (!$n[e]) {
1851
+ if (!qn[e]) {
1852
1852
  const t = jr(e);
1853
1853
  if (!t)
1854
1854
  return;
1855
- const n = Po(t), r = {
1855
+ const n = Fo(t), r = {
1856
1856
  config: t,
1857
1857
  redundancy: n
1858
1858
  };
1859
- $n[e] = r;
1859
+ qn[e] = r;
1860
1860
  }
1861
- return $n[e];
1861
+ return qn[e];
1862
1862
  }
1863
1863
  function es(e, t, n) {
1864
1864
  let r, i;
@@ -1872,14 +1872,14 @@ function es(e, t, n) {
1872
1872
  } else {
1873
1873
  const o = Nr(e);
1874
1874
  if (o) {
1875
- r = Po(o);
1875
+ r = Fo(o);
1876
1876
  const a = e.resources ? e.resources[0] : "", l = ur(a);
1877
1877
  l && (i = l.send);
1878
1878
  }
1879
1879
  }
1880
1880
  return !r || !i ? (n(void 0, 424), mi) : r.query(t, i, n)().abort;
1881
1881
  }
1882
- const yi = "iconify2", qt = "iconify", Fo = qt + "-count", Mi = qt + "-version", _o = 36e5, ts = 168;
1882
+ const yi = "iconify2", $t = "iconify", Po = $t + "-count", Mi = $t + "-version", _o = 36e5, ts = 168;
1883
1883
  function sr(e, t) {
1884
1884
  try {
1885
1885
  return e.getItem(t);
@@ -1899,10 +1899,10 @@ function xi(e, t) {
1899
1899
  }
1900
1900
  }
1901
1901
  function cr(e, t) {
1902
- return Er(e, Fo, t.toString());
1902
+ return Er(e, Po, t.toString());
1903
1903
  }
1904
1904
  function fr(e) {
1905
- return parseInt(sr(e, Fo)) || 0;
1905
+ return parseInt(sr(e, Po)) || 0;
1906
1906
  }
1907
1907
  const wn = {
1908
1908
  local: !0,
@@ -1934,13 +1934,13 @@ function Bo(e, t) {
1934
1934
  if (r) {
1935
1935
  const l = fr(n);
1936
1936
  for (let u = 0; u < l; u++)
1937
- xi(n, qt + u.toString());
1937
+ xi(n, $t + u.toString());
1938
1938
  }
1939
1939
  Er(n, Mi, yi), cr(n, 0);
1940
1940
  return;
1941
1941
  }
1942
1942
  const i = Math.floor(Date.now() / _o) - ts, o = (l) => {
1943
- const u = qt + l.toString(), s = sr(n, u);
1943
+ const u = $t + l.toString(), s = sr(n, u);
1944
1944
  if (typeof s == "string") {
1945
1945
  try {
1946
1946
  const c = JSON.parse(s);
@@ -2006,7 +2006,7 @@ function is(e, t) {
2006
2006
  };
2007
2007
  return Er(
2008
2008
  i,
2009
- qt + a.toString(),
2009
+ $t + a.toString(),
2010
2010
  JSON.stringify(l)
2011
2011
  );
2012
2012
  }
@@ -2054,7 +2054,7 @@ function as(e, t) {
2054
2054
  }));
2055
2055
  }
2056
2056
  const ls = (e, t) => {
2057
- const n = Zu(e, !0, So()), r = $u(n);
2057
+ const n = Zu(e, !0, So()), r = qu(n);
2058
2058
  if (!r.pending.length) {
2059
2059
  let u = !0;
2060
2060
  return t && setTimeout(() => {
@@ -2245,7 +2245,7 @@ const ws = (e, t, n, r) => {
2245
2245
  }, Object.assign(s, p);
2246
2246
  let v = 0, C = t.id;
2247
2247
  return typeof C == "string" && (C = C.replace(/-/g, "_")), s.dangerouslySetInnerHTML = {
2248
- __html: ys(Pu(c.body, C ? () => C + "ID" + v++ : "iconifyReact"))
2248
+ __html: ys(Fu(c.body, C ? () => C + "ID" + v++ : "iconifyReact"))
2249
2249
  }, ve.createElement("svg", s);
2250
2250
  }
2251
2251
  const { body: m, width: d, height: T } = e, x = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), j = ps(m, {
@@ -2264,7 +2264,7 @@ const ws = (e, t, n, r) => {
2264
2264
  }, ve.createElement("span", s);
2265
2265
  };
2266
2266
  So(!0);
2267
- Fu("", qu);
2267
+ Pu("", $u);
2268
2268
  if (typeof document < "u" && typeof window < "u") {
2269
2269
  Qo();
2270
2270
  const e = window;
@@ -2297,7 +2297,7 @@ if (typeof document < "u" && typeof window < "u") {
2297
2297
  }
2298
2298
  }
2299
2299
  }
2300
- class qo extends ve.Component {
2300
+ class $o extends ve.Component {
2301
2301
  constructor(t) {
2302
2302
  super(t), this.state = {
2303
2303
  // Render placeholder before component is mounted
@@ -2392,7 +2392,7 @@ const bt = ve.forwardRef(function(t, n) {
2392
2392
  _ref: n,
2393
2393
  _inline: !1
2394
2394
  };
2395
- return ve.createElement(qo, r);
2395
+ return ve.createElement($o, r);
2396
2396
  });
2397
2397
  ve.forwardRef(function(t, n) {
2398
2398
  const r = {
@@ -2400,7 +2400,7 @@ ve.forwardRef(function(t, n) {
2400
2400
  _ref: n,
2401
2401
  _inline: !0
2402
2402
  };
2403
- return ve.createElement(qo, r);
2403
+ return ve.createElement($o, r);
2404
2404
  });
2405
2405
  const vs = 576, Ds = (e) => {
2406
2406
  const [t, n] = we(), r = Yt(() => {
@@ -2412,7 +2412,7 @@ const vs = 576, Ds = (e) => {
2412
2412
  }, [e]);
2413
2413
  return Oe(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
2414
2414
  }, vt = Ds, Ts = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", Is = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==", Ns = 991;
2415
- function $o({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
2415
+ function qo({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
2416
2416
  return vt(Ns) ? null : e ? /* @__PURE__ */ k.jsx(
2417
2417
  "button",
2418
2418
  {
@@ -2466,7 +2466,7 @@ function $o({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
2466
2466
  }
2467
2467
  );
2468
2468
  }
2469
- $o.propTypes = {
2469
+ qo.propTypes = {
2470
2470
  isNormalSize: N.bool.isRequired,
2471
2471
  setIsMounted: N.func.isRequired,
2472
2472
  setIsNormalSize: N.func.isRequired
@@ -2491,7 +2491,7 @@ function Vo({
2491
2491
  paddingBottom: "1.25rem"
2492
2492
  },
2493
2493
  children: /* @__PURE__ */ k.jsx(
2494
- $o,
2494
+ qo,
2495
2495
  {
2496
2496
  isMounted: i,
2497
2497
  setIsMounted: t,
@@ -2808,7 +2808,7 @@ _e.prototype.line = null;
2808
2808
  _e.prototype.source = null;
2809
2809
  _e.prototype.ruleId = null;
2810
2810
  _e.prototype.position = null;
2811
- const qe = { basename: Cs, dirname: Ss, extname: Os, join: zs, sep: "/" };
2811
+ const $e = { basename: Cs, dirname: Ss, extname: Os, join: zs, sep: "/" };
2812
2812
  function Cs(e, t) {
2813
2813
  if (t !== void 0 && typeof t != "string")
2814
2814
  throw new TypeError('"ext" argument must be a string');
@@ -2879,10 +2879,10 @@ function zs(...e) {
2879
2879
  function Ls(e) {
2880
2880
  Vt(e);
2881
2881
  const t = e.charCodeAt(0) === 47;
2882
- let n = Ps(e, !t);
2882
+ let n = Fs(e, !t);
2883
2883
  return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
2884
2884
  }
2885
- function Ps(e, t) {
2885
+ function Fs(e, t) {
2886
2886
  let n = "", r = 0, i = -1, o = 0, a = -1, l, u;
2887
2887
  for (; ++a <= e.length; ) {
2888
2888
  if (a < e.length)
@@ -2921,7 +2921,7 @@ function Vt(e) {
2921
2921
  "Path must be a string. Received " + JSON.stringify(e)
2922
2922
  );
2923
2923
  }
2924
- const Fs = { cwd: _s };
2924
+ const Ps = { cwd: _s };
2925
2925
  function _s() {
2926
2926
  return "/";
2927
2927
  }
@@ -2992,7 +2992,7 @@ class Ko {
2992
2992
  */
2993
2993
  constructor(t) {
2994
2994
  let n;
2995
- t ? typeof t == "string" || Bs(t) ? n = { value: t } : hr(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Fs.cwd(), this.value, this.stored, this.result, this.map;
2995
+ t ? typeof t == "string" || Bs(t) ? n = { value: t } : hr(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = Ps.cwd(), this.value, this.stored, this.result, this.map;
2996
2996
  let r = -1;
2997
2997
  for (; ++r < Vn.length; ) {
2998
2998
  const o = Vn[r];
@@ -3026,7 +3026,7 @@ class Ko {
3026
3026
  * Get the parent path (example: `'~'`).
3027
3027
  */
3028
3028
  get dirname() {
3029
- return typeof this.path == "string" ? qe.dirname(this.path) : void 0;
3029
+ return typeof this.path == "string" ? $e.dirname(this.path) : void 0;
3030
3030
  }
3031
3031
  /**
3032
3032
  * Set the parent path (example: `'~'`).
@@ -3034,13 +3034,13 @@ class Ko {
3034
3034
  * Cannot be set if there’s no `path` yet.
3035
3035
  */
3036
3036
  set dirname(t) {
3037
- ki(this.basename, "dirname"), this.path = qe.join(t || "", this.basename);
3037
+ ki(this.basename, "dirname"), this.path = $e.join(t || "", this.basename);
3038
3038
  }
3039
3039
  /**
3040
3040
  * Get the basename (including extname) (example: `'index.min.js'`).
3041
3041
  */
3042
3042
  get basename() {
3043
- return typeof this.path == "string" ? qe.basename(this.path) : void 0;
3043
+ return typeof this.path == "string" ? $e.basename(this.path) : void 0;
3044
3044
  }
3045
3045
  /**
3046
3046
  * Set basename (including extname) (`'index.min.js'`).
@@ -3050,13 +3050,13 @@ class Ko {
3050
3050
  * Cannot be nullified (use `file.path = file.dirname` instead).
3051
3051
  */
3052
3052
  set basename(t) {
3053
- Gn(t, "basename"), Wn(t, "basename"), this.path = qe.join(this.dirname || "", t);
3053
+ Gn(t, "basename"), Wn(t, "basename"), this.path = $e.join(this.dirname || "", t);
3054
3054
  }
3055
3055
  /**
3056
3056
  * Get the extname (including dot) (example: `'.js'`).
3057
3057
  */
3058
3058
  get extname() {
3059
- return typeof this.path == "string" ? qe.extname(this.path) : void 0;
3059
+ return typeof this.path == "string" ? $e.extname(this.path) : void 0;
3060
3060
  }
3061
3061
  /**
3062
3062
  * Set the extname (including dot) (example: `'.js'`).
@@ -3072,13 +3072,13 @@ class Ko {
3072
3072
  if (t.includes(".", 1))
3073
3073
  throw new Error("`extname` cannot contain multiple dots");
3074
3074
  }
3075
- this.path = qe.join(this.dirname, this.stem + (t || ""));
3075
+ this.path = $e.join(this.dirname, this.stem + (t || ""));
3076
3076
  }
3077
3077
  /**
3078
3078
  * Get the stem (basename w/o extname) (example: `'index.min'`).
3079
3079
  */
3080
3080
  get stem() {
3081
- return typeof this.path == "string" ? qe.basename(this.path, this.extname) : void 0;
3081
+ return typeof this.path == "string" ? $e.basename(this.path, this.extname) : void 0;
3082
3082
  }
3083
3083
  /**
3084
3084
  * Set the stem (basename w/o extname) (example: `'index.min'`).
@@ -3088,7 +3088,7 @@ class Ko {
3088
3088
  * Cannot be nullified (use `file.path = file.dirname` instead).
3089
3089
  */
3090
3090
  set stem(t) {
3091
- Gn(t, "stem"), Wn(t, "stem"), this.path = qe.join(this.dirname || "", t + (this.extname || ""));
3091
+ Gn(t, "stem"), Wn(t, "stem"), this.path = $e.join(this.dirname || "", t + (this.extname || ""));
3092
3092
  }
3093
3093
  /**
3094
3094
  * Serialize the file.
@@ -3168,9 +3168,9 @@ class Ko {
3168
3168
  }
3169
3169
  }
3170
3170
  function Wn(e, t) {
3171
- if (e && e.includes(qe.sep))
3171
+ if (e && e.includes($e.sep))
3172
3172
  throw new Error(
3173
- "`" + t + "` cannot be a path: did not expect `" + qe.sep + "`"
3173
+ "`" + t + "` cannot be a path: did not expect `" + $e.sep + "`"
3174
3174
  );
3175
3175
  }
3176
3176
  function Gn(e, t) {
@@ -3286,7 +3286,7 @@ function Hs(e, t) {
3286
3286
  i(null, a);
3287
3287
  }
3288
3288
  }
3289
- const qs = ea().freeze(), Jo = {}.hasOwnProperty;
3289
+ const $s = ea().freeze(), Jo = {}.hasOwnProperty;
3290
3290
  function ea() {
3291
3291
  const e = Ys(), t = [];
3292
3292
  let n = {}, r, i = -1;
@@ -3318,7 +3318,7 @@ function ea() {
3318
3318
  let v;
3319
3319
  if (Xn("use", r), x != null)
3320
3320
  if (typeof x == "function")
3321
- $(x, ...j);
3321
+ q(x, ...j);
3322
3322
  else if (typeof x == "object")
3323
3323
  Array.isArray(x) ? W(x) : S(x);
3324
3324
  else
@@ -3326,11 +3326,11 @@ function ea() {
3326
3326
  return v && (n.settings = Object.assign(n.settings || {}, v)), o;
3327
3327
  function C(M) {
3328
3328
  if (typeof M == "function")
3329
- $(M);
3329
+ q(M);
3330
3330
  else if (typeof M == "object")
3331
3331
  if (Array.isArray(M)) {
3332
- const [P, ...H] = M;
3333
- $(P, ...H);
3332
+ const [F, ...H] = M;
3333
+ q(F, ...H);
3334
3334
  } else
3335
3335
  S(M);
3336
3336
  else
@@ -3340,52 +3340,52 @@ function ea() {
3340
3340
  W(M.plugins), M.settings && (v = Object.assign(v || {}, M.settings));
3341
3341
  }
3342
3342
  function W(M) {
3343
- let P = -1;
3343
+ let F = -1;
3344
3344
  if (M != null)
3345
3345
  if (Array.isArray(M))
3346
- for (; ++P < M.length; ) {
3347
- const H = M[P];
3346
+ for (; ++F < M.length; ) {
3347
+ const H = M[F];
3348
3348
  C(H);
3349
3349
  }
3350
3350
  else
3351
3351
  throw new TypeError("Expected a list of plugins, not `" + M + "`");
3352
3352
  }
3353
- function $(M, P) {
3353
+ function q(M, F) {
3354
3354
  let H = -1, G;
3355
3355
  for (; ++H < t.length; )
3356
3356
  if (t[H][0] === M) {
3357
3357
  G = t[H];
3358
3358
  break;
3359
3359
  }
3360
- G ? (gr(G[1]) && gr(P) && (P = Li(!0, G[1], P)), G[1] = P) : t.push([...arguments]);
3360
+ G ? (gr(G[1]) && gr(F) && (F = Li(!0, G[1], F)), G[1] = F) : t.push([...arguments]);
3361
3361
  }
3362
3362
  }
3363
3363
  function s(x) {
3364
3364
  o.freeze();
3365
3365
  const j = zt(x), v = o.Parser;
3366
- return Zn("parse", v), Pi(v, "parse") ? new v(String(j), j).parse() : v(String(j), j);
3366
+ return Zn("parse", v), Fi(v, "parse") ? new v(String(j), j).parse() : v(String(j), j);
3367
3367
  }
3368
3368
  function c(x, j) {
3369
3369
  o.freeze();
3370
3370
  const v = zt(j), C = o.Compiler;
3371
- return Kn("stringify", C), Fi(x), Pi(C, "compile") ? new C(x, v).compile() : C(x, v);
3371
+ return Kn("stringify", C), Pi(x), Fi(C, "compile") ? new C(x, v).compile() : C(x, v);
3372
3372
  }
3373
3373
  function p(x, j, v) {
3374
- if (Fi(x), o.freeze(), !v && typeof j == "function" && (v = j, j = void 0), !v)
3374
+ if (Pi(x), o.freeze(), !v && typeof j == "function" && (v = j, j = void 0), !v)
3375
3375
  return new Promise(C);
3376
3376
  C(null, v);
3377
3377
  function C(S, W) {
3378
- e.run(x, zt(j), $);
3379
- function $(M, P, H) {
3380
- P = P || x, M ? W(M) : S ? S(P) : v(null, P, H);
3378
+ e.run(x, zt(j), q);
3379
+ function q(M, F, H) {
3380
+ F = F || x, M ? W(M) : S ? S(F) : v(null, F, H);
3381
3381
  }
3382
3382
  }
3383
3383
  }
3384
3384
  function m(x, j) {
3385
3385
  let v, C;
3386
3386
  return o.run(x, j, S), _i("runSync", "run", C), v;
3387
- function S(W, $) {
3388
- ji(W), v = $, C = !0;
3387
+ function S(W, q) {
3388
+ ji(W), v = q, C = !0;
3389
3389
  }
3390
3390
  }
3391
3391
  function d(x, j) {
@@ -3394,16 +3394,16 @@ function ea() {
3394
3394
  v(null, j);
3395
3395
  function v(C, S) {
3396
3396
  const W = zt(x);
3397
- o.run(o.parse(W), W, (M, P, H) => {
3398
- if (M || !P || !H)
3399
- $(M);
3397
+ o.run(o.parse(W), W, (M, F, H) => {
3398
+ if (M || !F || !H)
3399
+ q(M);
3400
3400
  else {
3401
- const G = o.stringify(P, H);
3402
- G == null || (Ws(G) ? H.value = G : H.result = G), $(M, H);
3401
+ const G = o.stringify(F, H);
3402
+ G == null || (Ws(G) ? H.value = G : H.result = G), q(M, H);
3403
3403
  }
3404
3404
  });
3405
- function $(M, P) {
3406
- M || !P ? S(M) : C ? C(P) : j(null, P);
3405
+ function q(M, F) {
3406
+ M || !F ? S(M) : C ? C(F) : j(null, F);
3407
3407
  }
3408
3408
  }
3409
3409
  }
@@ -3417,16 +3417,16 @@ function ea() {
3417
3417
  }
3418
3418
  }
3419
3419
  }
3420
- function Pi(e, t) {
3420
+ function Fi(e, t) {
3421
3421
  return typeof e == "function" && // Prototypes do exist.
3422
3422
  // type-coverage:ignore-next-line
3423
3423
  e.prototype && // A function with keys in its prototype is probably a constructor.
3424
3424
  // Classes’ prototype methods are not enumerable, so we check if some value
3425
3425
  // exists in the prototype.
3426
3426
  // type-coverage:ignore-next-line
3427
- ($s(e.prototype) || t in e.prototype);
3427
+ (qs(e.prototype) || t in e.prototype);
3428
3428
  }
3429
- function $s(e) {
3429
+ function qs(e) {
3430
3430
  let t;
3431
3431
  for (t in e)
3432
3432
  if (Jo.call(e, t))
@@ -3447,7 +3447,7 @@ function Xn(e, t) {
3447
3447
  "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
3448
3448
  );
3449
3449
  }
3450
- function Fi(e) {
3450
+ function Pi(e) {
3451
3451
  if (!gr(e) || typeof e.type != "string")
3452
3452
  throw new TypeError("Expected node, got `" + e + "`");
3453
3453
  }
@@ -3501,7 +3501,7 @@ function Ve(e, t, n, r) {
3501
3501
  for (n && e.splice(t, n); o < r.length; )
3502
3502
  a = r.slice(o, o + 1e4), a.unshift(t, 0), e.splice(...a), o += 1e4, t += 1e4;
3503
3503
  }
3504
- function Fe(e, t) {
3504
+ function Pe(e, t) {
3505
3505
  return e.length > 0 ? (Ve(e, e.length, 0, t), e) : t;
3506
3506
  }
3507
3507
  const Ui = {}.hasOwnProperty;
@@ -3536,7 +3536,7 @@ function ec(e, t) {
3536
3536
  (t[n].add === "after" ? e : r).push(t[n]);
3537
3537
  Ve(e, 0, 0, r);
3538
3538
  }
3539
- const tc = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, $e = rt(/[A-Za-z]/), Se = rt(/[\dA-Za-z]/), nc = rt(/[#-'*+\--9=?A-Z^-~]/);
3539
+ const tc = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, qe = rt(/[A-Za-z]/), Se = rt(/[\dA-Za-z]/), nc = rt(/[#-'*+\--9=?A-Z^-~]/);
3540
3540
  function mr(e) {
3541
3541
  return (
3542
3542
  // Special whitespace codes (which have negative values), C0 and Control
@@ -3545,7 +3545,7 @@ function mr(e) {
3545
3545
  );
3546
3546
  }
3547
3547
  const yr = rt(/\d/), rc = rt(/[\dA-Fa-f]/), ic = rt(/[!-/:-@[-`{-~]/);
3548
- function q(e) {
3548
+ function $(e) {
3549
3549
  return e !== null && e < -2;
3550
3550
  }
3551
3551
  function ke(e) {
@@ -3561,7 +3561,7 @@ function rt(e) {
3561
3561
  return n !== null && e.test(String.fromCharCode(n));
3562
3562
  }
3563
3563
  }
3564
- function ce(e, t, n, r) {
3564
+ function fe(e, t, n, r) {
3565
3565
  const i = r ? r - 1 : Number.POSITIVE_INFINITY;
3566
3566
  let o = 0;
3567
3567
  return a;
@@ -3588,7 +3588,7 @@ function uc(e) {
3588
3588
  e.consume(l);
3589
3589
  return;
3590
3590
  }
3591
- return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), ce(e, t, "linePrefix");
3591
+ return e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), fe(e, t, "linePrefix");
3592
3592
  }
3593
3593
  function i(l) {
3594
3594
  return e.enter("paragraph"), o(l);
@@ -3605,7 +3605,7 @@ function uc(e) {
3605
3605
  e.exit("chunkText"), e.exit("paragraph"), e.consume(l);
3606
3606
  return;
3607
3607
  }
3608
- return q(l) ? (e.consume(l), e.exit("chunkText"), o) : (e.consume(l), a);
3608
+ return $(l) ? (e.consume(l), e.exit("chunkText"), o) : (e.consume(l), a);
3609
3609
  }
3610
3610
  }
3611
3611
  const sc = {
@@ -3632,22 +3632,22 @@ function cc(e) {
3632
3632
  if (r++, t.containerState._closeFlow) {
3633
3633
  t.containerState._closeFlow = void 0, i && C();
3634
3634
  const W = t.events.length;
3635
- let $ = W, M;
3636
- for (; $--; )
3637
- if (t.events[$][0] === "exit" && t.events[$][1].type === "chunkFlow") {
3638
- M = t.events[$][1].end;
3635
+ let q = W, M;
3636
+ for (; q--; )
3637
+ if (t.events[q][0] === "exit" && t.events[q][1].type === "chunkFlow") {
3638
+ M = t.events[q][1].end;
3639
3639
  break;
3640
3640
  }
3641
3641
  v(r);
3642
- let P = W;
3643
- for (; P < t.events.length; )
3644
- t.events[P][1].end = Object.assign({}, M), P++;
3642
+ let F = W;
3643
+ for (; F < t.events.length; )
3644
+ t.events[F][1].end = Object.assign({}, M), F++;
3645
3645
  return Ve(
3646
3646
  t.events,
3647
- $ + 1,
3647
+ q + 1,
3648
3648
  0,
3649
3649
  t.events.slice(W)
3650
- ), t.events.length = P, s(S);
3650
+ ), t.events.length = F, s(S);
3651
3651
  }
3652
3652
  return l(S);
3653
3653
  }
@@ -3697,11 +3697,11 @@ function cc(e) {
3697
3697
  j(e.exit("chunkFlow"), !0), v(0), e.consume(S);
3698
3698
  return;
3699
3699
  }
3700
- return q(S) ? (e.consume(S), j(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, l) : (e.consume(S), x);
3700
+ return $(S) ? (e.consume(S), j(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, l) : (e.consume(S), x);
3701
3701
  }
3702
3702
  function j(S, W) {
3703
- const $ = t.sliceStream(S);
3704
- if (W && $.push(null), S.previous = o, o && (o.next = S), o = S, i.defineSkip(S.start), i.write($), t.parser.lazy[S.start.line]) {
3703
+ const q = t.sliceStream(S);
3704
+ if (W && q.push(null), S.previous = o, o && (o.next = S), o = S, i.defineSkip(S.start), i.write(q), t.parser.lazy[S.start.line]) {
3705
3705
  let M = i.events.length;
3706
3706
  for (; M--; )
3707
3707
  if (
@@ -3711,8 +3711,8 @@ function cc(e) {
3711
3711
  i.events[M][1].end.offset > a)
3712
3712
  )
3713
3713
  return;
3714
- const P = t.events.length;
3715
- let H = P, G, K;
3714
+ const F = t.events.length;
3715
+ let H = F, G, K;
3716
3716
  for (; H--; )
3717
3717
  if (t.events[H][0] === "exit" && t.events[H][1].type === "chunkFlow") {
3718
3718
  if (G) {
@@ -3721,21 +3721,21 @@ function cc(e) {
3721
3721
  }
3722
3722
  G = !0;
3723
3723
  }
3724
- for (v(r), M = P; M < t.events.length; )
3724
+ for (v(r), M = F; M < t.events.length; )
3725
3725
  t.events[M][1].end = Object.assign({}, K), M++;
3726
3726
  Ve(
3727
3727
  t.events,
3728
3728
  H + 1,
3729
3729
  0,
3730
- t.events.slice(P)
3730
+ t.events.slice(F)
3731
3731
  ), t.events.length = M;
3732
3732
  }
3733
3733
  }
3734
3734
  function v(S) {
3735
3735
  let W = n.length;
3736
3736
  for (; W-- > S; ) {
3737
- const $ = n[W];
3738
- t.containerState = $[1], $[0].exit.call(t, e);
3737
+ const q = n[W];
3738
+ t.containerState = q[1], q[0].exit.call(t, e);
3739
3739
  }
3740
3740
  n.length = S;
3741
3741
  }
@@ -3744,7 +3744,7 @@ function cc(e) {
3744
3744
  }
3745
3745
  }
3746
3746
  function fc(e, t, n) {
3747
- return ce(
3747
+ return fe(
3748
3748
  e,
3749
3749
  e.attempt(this.parser.constructs.document, t, n),
3750
3750
  "linePrefix",
@@ -3798,27 +3798,27 @@ function pc(e, t) {
3798
3798
  type: u > 1 ? "strong" : "emphasis",
3799
3799
  start: Object.assign({}, a.start),
3800
3800
  end: Object.assign({}, l.end)
3801
- }, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), s = [], e[r][1].end.offset - e[r][1].start.offset && (s = Fe(s, [
3801
+ }, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), s = [], e[r][1].end.offset - e[r][1].start.offset && (s = Pe(s, [
3802
3802
  ["enter", e[r][1], t],
3803
3803
  ["exit", e[r][1], t]
3804
- ])), s = Fe(s, [
3804
+ ])), s = Pe(s, [
3805
3805
  ["enter", i, t],
3806
3806
  ["enter", a, t],
3807
3807
  ["exit", a, t],
3808
3808
  ["enter", o, t]
3809
- ]), s = Fe(
3809
+ ]), s = Pe(
3810
3810
  s,
3811
3811
  Or(
3812
3812
  t.parser.constructs.insideSpan.null,
3813
3813
  e.slice(r + 1, n),
3814
3814
  t
3815
3815
  )
3816
- ), s = Fe(s, [
3816
+ ), s = Pe(s, [
3817
3817
  ["exit", o, t],
3818
3818
  ["enter", l, t],
3819
3819
  ["exit", l, t],
3820
3820
  ["exit", i, t]
3821
- ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, s = Fe(s, [
3821
+ ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, s = Pe(s, [
3822
3822
  ["enter", e[n][1], t],
3823
3823
  ["exit", e[n][1], t]
3824
3824
  ])) : c = 0, Ve(e, r - 1, n - r + 3, s), n = r + s.length - c - 2;
@@ -3857,7 +3857,7 @@ function gc(e, t, n) {
3857
3857
  return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
3858
3858
  }
3859
3859
  function o(d) {
3860
- return $e(d) ? (e.consume(d), a) : s(d);
3860
+ return qe(d) ? (e.consume(d), a) : s(d);
3861
3861
  }
3862
3862
  function a(d) {
3863
3863
  return d === 43 || d === 45 || d === 46 || Se(d) ? (r = 1, l(d)) : s(d);
@@ -3892,10 +3892,10 @@ const vn = {
3892
3892
  function mc(e, t, n) {
3893
3893
  return r;
3894
3894
  function r(o) {
3895
- return te(o) ? ce(e, i, "linePrefix")(o) : i(o);
3895
+ return te(o) ? fe(e, i, "linePrefix")(o) : i(o);
3896
3896
  }
3897
3897
  function i(o) {
3898
- return o === null || q(o) ? t(o) : n(o);
3898
+ return o === null || $(o) ? t(o) : n(o);
3899
3899
  }
3900
3900
  }
3901
3901
  const na = {
@@ -3926,7 +3926,7 @@ function Mc(e, t, n) {
3926
3926
  const r = this;
3927
3927
  return i;
3928
3928
  function i(a) {
3929
- return te(a) ? ce(
3929
+ return te(a) ? fe(
3930
3930
  e,
3931
3931
  o,
3932
3932
  "linePrefix",
@@ -3985,17 +3985,17 @@ function wc(e, t, n) {
3985
3985
  return a(p) && i++ < o ? (e.consume(p), c) : n(p);
3986
3986
  }
3987
3987
  }
3988
- const qi = {
3988
+ const $i = {
3989
3989
  tokenize: Dc,
3990
3990
  partial: !0
3991
- }, $i = {
3991
+ }, qi = {
3992
3992
  name: "codeFenced",
3993
3993
  tokenize: vc,
3994
3994
  concrete: !0
3995
3995
  };
3996
3996
  function vc(e, t, n) {
3997
3997
  const r = this, i = {
3998
- tokenize: $,
3998
+ tokenize: q,
3999
3999
  partial: !0
4000
4000
  };
4001
4001
  let o = 0, a = 0, l;
@@ -4004,27 +4004,27 @@ function vc(e, t, n) {
4004
4004
  return s(M);
4005
4005
  }
4006
4006
  function s(M) {
4007
- const P = r.events[r.events.length - 1];
4008
- return o = P && P[1].type === "linePrefix" ? P[2].sliceSerialize(P[1], !0).length : 0, l = M, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(M);
4007
+ const F = r.events[r.events.length - 1];
4008
+ return o = F && F[1].type === "linePrefix" ? F[2].sliceSerialize(F[1], !0).length : 0, l = M, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(M);
4009
4009
  }
4010
4010
  function c(M) {
4011
- return M === l ? (a++, e.consume(M), c) : a < 3 ? n(M) : (e.exit("codeFencedFenceSequence"), te(M) ? ce(e, p, "whitespace")(M) : p(M));
4011
+ return M === l ? (a++, e.consume(M), c) : a < 3 ? n(M) : (e.exit("codeFencedFenceSequence"), te(M) ? fe(e, p, "whitespace")(M) : p(M));
4012
4012
  }
4013
4013
  function p(M) {
4014
- return M === null || q(M) ? (e.exit("codeFencedFence"), r.interrupt ? t(M) : e.check(qi, x, W)(M)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
4014
+ return M === null || $(M) ? (e.exit("codeFencedFence"), r.interrupt ? t(M) : e.check($i, x, W)(M)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
4015
4015
  contentType: "string"
4016
4016
  }), m(M));
4017
4017
  }
4018
4018
  function m(M) {
4019
- return M === null || q(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(M)) : te(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ce(e, d, "whitespace")(M)) : M === 96 && M === l ? n(M) : (e.consume(M), m);
4019
+ return M === null || $(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(M)) : te(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), fe(e, d, "whitespace")(M)) : M === 96 && M === l ? n(M) : (e.consume(M), m);
4020
4020
  }
4021
4021
  function d(M) {
4022
- return M === null || q(M) ? p(M) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
4022
+ return M === null || $(M) ? p(M) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
4023
4023
  contentType: "string"
4024
4024
  }), T(M));
4025
4025
  }
4026
4026
  function T(M) {
4027
- return M === null || q(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(M)) : M === 96 && M === l ? n(M) : (e.consume(M), T);
4027
+ return M === null || $(M) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(M)) : M === 96 && M === l ? n(M) : (e.consume(M), T);
4028
4028
  }
4029
4029
  function x(M) {
4030
4030
  return e.attempt(i, W, j)(M);
@@ -4033,7 +4033,7 @@ function vc(e, t, n) {
4033
4033
  return e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), v;
4034
4034
  }
4035
4035
  function v(M) {
4036
- return o > 0 && te(M) ? ce(
4036
+ return o > 0 && te(M) ? fe(
4037
4037
  e,
4038
4038
  C,
4039
4039
  "linePrefix",
@@ -4041,22 +4041,22 @@ function vc(e, t, n) {
4041
4041
  )(M) : C(M);
4042
4042
  }
4043
4043
  function C(M) {
4044
- return M === null || q(M) ? e.check(qi, x, W)(M) : (e.enter("codeFlowValue"), S(M));
4044
+ return M === null || $(M) ? e.check($i, x, W)(M) : (e.enter("codeFlowValue"), S(M));
4045
4045
  }
4046
4046
  function S(M) {
4047
- return M === null || q(M) ? (e.exit("codeFlowValue"), C(M)) : (e.consume(M), S);
4047
+ return M === null || $(M) ? (e.exit("codeFlowValue"), C(M)) : (e.consume(M), S);
4048
4048
  }
4049
4049
  function W(M) {
4050
4050
  return e.exit("codeFenced"), t(M);
4051
4051
  }
4052
- function $(M, P, H) {
4052
+ function q(M, F, H) {
4053
4053
  let G = 0;
4054
4054
  return K;
4055
4055
  function K(L) {
4056
4056
  return M.enter("lineEnding"), M.consume(L), M.exit("lineEnding"), A;
4057
4057
  }
4058
4058
  function A(L) {
4059
- return M.enter("codeFencedFence"), te(L) ? ce(
4059
+ return M.enter("codeFencedFence"), te(L) ? fe(
4060
4060
  M,
4061
4061
  b,
4062
4062
  "linePrefix",
@@ -4067,10 +4067,10 @@ function vc(e, t, n) {
4067
4067
  return L === l ? (M.enter("codeFencedFenceSequence"), I(L)) : H(L);
4068
4068
  }
4069
4069
  function I(L) {
4070
- return L === l ? (G++, M.consume(L), I) : G >= a ? (M.exit("codeFencedFenceSequence"), te(L) ? ce(M, z, "whitespace")(L) : z(L)) : H(L);
4070
+ return L === l ? (G++, M.consume(L), I) : G >= a ? (M.exit("codeFencedFenceSequence"), te(L) ? fe(M, z, "whitespace")(L) : z(L)) : H(L);
4071
4071
  }
4072
4072
  function z(L) {
4073
- return L === null || q(L) ? (M.exit("codeFencedFence"), P(L)) : H(L);
4073
+ return L === null || $(L) ? (M.exit("codeFencedFence"), F(L)) : H(L);
4074
4074
  }
4075
4075
  }
4076
4076
  }
@@ -4095,17 +4095,17 @@ function Ic(e, t, n) {
4095
4095
  const r = this;
4096
4096
  return i;
4097
4097
  function i(s) {
4098
- return e.enter("codeIndented"), ce(e, o, "linePrefix", 4 + 1)(s);
4098
+ return e.enter("codeIndented"), fe(e, o, "linePrefix", 4 + 1)(s);
4099
4099
  }
4100
4100
  function o(s) {
4101
4101
  const c = r.events[r.events.length - 1];
4102
4102
  return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? a(s) : n(s);
4103
4103
  }
4104
4104
  function a(s) {
4105
- return s === null ? u(s) : q(s) ? e.attempt(Tc, a, u)(s) : (e.enter("codeFlowValue"), l(s));
4105
+ return s === null ? u(s) : $(s) ? e.attempt(Tc, a, u)(s) : (e.enter("codeFlowValue"), l(s));
4106
4106
  }
4107
4107
  function l(s) {
4108
- return s === null || q(s) ? (e.exit("codeFlowValue"), a(s)) : (e.consume(s), l);
4108
+ return s === null || $(s) ? (e.exit("codeFlowValue"), a(s)) : (e.consume(s), l);
4109
4109
  }
4110
4110
  function u(s) {
4111
4111
  return e.exit("codeIndented"), t(s);
@@ -4115,11 +4115,11 @@ function Nc(e, t, n) {
4115
4115
  const r = this;
4116
4116
  return i;
4117
4117
  function i(a) {
4118
- return r.parser.lazy[r.now().line] ? n(a) : q(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i) : ce(e, o, "linePrefix", 4 + 1)(a);
4118
+ return r.parser.lazy[r.now().line] ? n(a) : $(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), i) : fe(e, o, "linePrefix", 4 + 1)(a);
4119
4119
  }
4120
4120
  function o(a) {
4121
4121
  const l = r.events[r.events.length - 1];
4122
- return l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(a) : q(a) ? i(a) : n(a);
4122
+ return l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(a) : $(a) ? i(a) : n(a);
4123
4123
  }
4124
4124
  }
4125
4125
  const kc = {
@@ -4154,10 +4154,10 @@ function Ac(e, t, n) {
4154
4154
  return p === 96 ? (e.consume(p), r++, l) : (e.exit("codeTextSequence"), u(p));
4155
4155
  }
4156
4156
  function u(p) {
4157
- return p === null ? n(p) : p === 32 ? (e.enter("space"), e.consume(p), e.exit("space"), u) : p === 96 ? (o = e.enter("codeTextSequence"), i = 0, c(p)) : q(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), u) : (e.enter("codeTextData"), s(p));
4157
+ return p === null ? n(p) : p === 32 ? (e.enter("space"), e.consume(p), e.exit("space"), u) : p === 96 ? (o = e.enter("codeTextSequence"), i = 0, c(p)) : $(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), u) : (e.enter("codeTextData"), s(p));
4158
4158
  }
4159
4159
  function s(p) {
4160
- return p === null || p === 32 || p === 96 || q(p) ? (e.exit("codeTextData"), u(p)) : (e.consume(p), s);
4160
+ return p === null || p === 32 || p === 96 || $(p) ? (e.exit("codeTextData"), u(p)) : (e.consume(p), s);
4161
4161
  }
4162
4162
  function c(p) {
4163
4163
  return p === 96 ? (e.consume(p), i++, c) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(p)) : (o.type = "codeTextData", s(p));
@@ -4208,7 +4208,7 @@ const Sc = {
4208
4208
  tokenize: Lc,
4209
4209
  resolve: zc
4210
4210
  }, Oc = {
4211
- tokenize: Pc,
4211
+ tokenize: Fc,
4212
4212
  partial: !0
4213
4213
  };
4214
4214
  function zc(e) {
@@ -4223,7 +4223,7 @@ function Lc(e, t) {
4223
4223
  }), i(l);
4224
4224
  }
4225
4225
  function i(l) {
4226
- return l === null ? o(l) : q(l) ? e.check(
4226
+ return l === null ? o(l) : $(l) ? e.check(
4227
4227
  Oc,
4228
4228
  a,
4229
4229
  o
@@ -4239,14 +4239,14 @@ function Lc(e, t) {
4239
4239
  }), n = n.next, i;
4240
4240
  }
4241
4241
  }
4242
- function Pc(e, t, n) {
4242
+ function Fc(e, t, n) {
4243
4243
  const r = this;
4244
4244
  return i;
4245
4245
  function i(a) {
4246
- return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), ce(e, o, "linePrefix");
4246
+ return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), fe(e, o, "linePrefix");
4247
4247
  }
4248
4248
  function o(a) {
4249
- if (a === null || q(a))
4249
+ if (a === null || $(a))
4250
4250
  return n(a);
4251
4251
  const l = r.events[r.events.length - 1];
4252
4252
  return !r.parser.constructs.disable.null.includes("codeIndented") && l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(a) : e.interrupt(r.parser.constructs.flow, n, t)(a);
@@ -4267,7 +4267,7 @@ function aa(e, t, n, r, i, o, a, l, u) {
4267
4267
  }), d(v));
4268
4268
  }
4269
4269
  function d(v) {
4270
- return v === 62 ? (e.exit("chunkString"), e.exit(l), m(v)) : v === null || v === 60 || q(v) ? n(v) : (e.consume(v), v === 92 ? T : d);
4270
+ return v === 62 ? (e.exit("chunkString"), e.exit(l), m(v)) : v === null || v === 60 || $(v) ? n(v) : (e.consume(v), v === 92 ? T : d);
4271
4271
  }
4272
4272
  function T(v) {
4273
4273
  return v === 60 || v === 62 || v === 92 ? (e.consume(v), d) : d(v);
@@ -4292,12 +4292,12 @@ function la(e, t, n, r, i, o) {
4292
4292
  // which doesn’t need this.
4293
4293
  // Hidden footnotes hook.
4294
4294
  /* c8 ignore next 3 */
4295
- d === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs ? n(d) : d === 93 ? (e.exit(o), e.enter(i), e.consume(d), e.exit(i), e.exit(r), t) : q(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), c) : (e.enter("chunkString", {
4295
+ d === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs ? n(d) : d === 93 ? (e.exit(o), e.enter(i), e.consume(d), e.exit(i), e.exit(r), t) : $(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), c) : (e.enter("chunkString", {
4296
4296
  contentType: "string"
4297
4297
  }), p(d));
4298
4298
  }
4299
4299
  function p(d) {
4300
- return d === null || d === 91 || d === 93 || q(d) || l++ > 999 ? (e.exit("chunkString"), c(d)) : (e.consume(d), u || (u = !te(d)), d === 92 ? m : p);
4300
+ return d === null || d === 91 || d === 93 || $(d) || l++ > 999 ? (e.exit("chunkString"), c(d)) : (e.consume(d), u || (u = !te(d)), d === 92 ? m : p);
4301
4301
  }
4302
4302
  function m(d) {
4303
4303
  return d === 91 || d === 92 || d === 93 ? (e.consume(d), l++, p) : p(d);
@@ -4313,12 +4313,12 @@ function ua(e, t, n, r, i, o) {
4313
4313
  return m === a ? (e.enter(i), e.consume(m), e.exit(i), e.exit(r), t) : (e.enter(o), s(m));
4314
4314
  }
4315
4315
  function s(m) {
4316
- return m === a ? (e.exit(o), u(a)) : m === null ? n(m) : q(m) ? (e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), ce(e, s, "linePrefix")) : (e.enter("chunkString", {
4316
+ return m === a ? (e.exit(o), u(a)) : m === null ? n(m) : $(m) ? (e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), fe(e, s, "linePrefix")) : (e.enter("chunkString", {
4317
4317
  contentType: "string"
4318
4318
  }), c(m));
4319
4319
  }
4320
4320
  function c(m) {
4321
- return m === a || m === null || q(m) ? (e.exit("chunkString"), s(m)) : (e.consume(m), m === 92 ? p : c);
4321
+ return m === a || m === null || $(m) ? (e.exit("chunkString"), s(m)) : (e.consume(m), m === 92 ? p : c);
4322
4322
  }
4323
4323
  function p(m) {
4324
4324
  return m === a || m === 92 ? (e.consume(m), c) : c(m);
@@ -4328,7 +4328,7 @@ function Bt(e, t) {
4328
4328
  let n;
4329
4329
  return r;
4330
4330
  function r(i) {
4331
- return q(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n = !0, r) : te(i) ? ce(
4331
+ return $(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n = !0, r) : te(i) ? fe(
4332
4332
  e,
4333
4333
  r,
4334
4334
  n ? "linePrefix" : "lineSuffix"
@@ -4338,7 +4338,7 @@ function Bt(e, t) {
4338
4338
  function Mt(e) {
4339
4339
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
4340
4340
  }
4341
- const Fc = {
4341
+ const Pc = {
4342
4342
  name: "definition",
4343
4343
  tokenize: Rc
4344
4344
  }, _c = {
@@ -4389,10 +4389,10 @@ function Rc(e, t, n) {
4389
4389
  return e.attempt(_c, p, p)(d);
4390
4390
  }
4391
4391
  function p(d) {
4392
- return te(d) ? ce(e, m, "whitespace")(d) : m(d);
4392
+ return te(d) ? fe(e, m, "whitespace")(d) : m(d);
4393
4393
  }
4394
4394
  function m(d) {
4395
- return d === null || q(d) ? (e.exit("definition"), r.parser.defined.push(i), t(d)) : n(d);
4395
+ return d === null || $(d) ? (e.exit("definition"), r.parser.defined.push(i), t(d)) : n(d);
4396
4396
  }
4397
4397
  }
4398
4398
  function Uc(e, t, n) {
@@ -4411,10 +4411,10 @@ function Uc(e, t, n) {
4411
4411
  )(l);
4412
4412
  }
4413
4413
  function o(l) {
4414
- return te(l) ? ce(e, a, "whitespace")(l) : a(l);
4414
+ return te(l) ? fe(e, a, "whitespace")(l) : a(l);
4415
4415
  }
4416
4416
  function a(l) {
4417
- return l === null || q(l) ? t(l) : n(l);
4417
+ return l === null || $(l) ? t(l) : n(l);
4418
4418
  }
4419
4419
  }
4420
4420
  const Bc = {
@@ -4427,12 +4427,12 @@ function Qc(e, t, n) {
4427
4427
  return e.enter("hardBreakEscape"), e.consume(o), i;
4428
4428
  }
4429
4429
  function i(o) {
4430
- return q(o) ? (e.exit("hardBreakEscape"), t(o)) : n(o);
4430
+ return $(o) ? (e.exit("hardBreakEscape"), t(o)) : n(o);
4431
4431
  }
4432
4432
  }
4433
4433
  const Yc = {
4434
4434
  name: "headingAtx",
4435
- tokenize: qc,
4435
+ tokenize: $c,
4436
4436
  resolve: Hc
4437
4437
  };
4438
4438
  function Hc(e, t) {
@@ -4453,7 +4453,7 @@ function Hc(e, t) {
4453
4453
  ["exit", i, t]
4454
4454
  ])), e;
4455
4455
  }
4456
- function qc(e, t, n) {
4456
+ function $c(e, t, n) {
4457
4457
  let r = 0;
4458
4458
  return i;
4459
4459
  function i(c) {
@@ -4466,7 +4466,7 @@ function qc(e, t, n) {
4466
4466
  return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || ke(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c);
4467
4467
  }
4468
4468
  function l(c) {
4469
- return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null || q(c) ? (e.exit("atxHeading"), t(c)) : te(c) ? ce(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), s(c));
4469
+ return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null || $(c) ? (e.exit("atxHeading"), t(c)) : te(c) ? fe(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), s(c));
4470
4470
  }
4471
4471
  function u(c) {
4472
4472
  return c === 35 ? (e.consume(c), u) : (e.exit("atxHeadingSequence"), l(c));
@@ -4475,7 +4475,7 @@ function qc(e, t, n) {
4475
4475
  return c === null || c === 35 || ke(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), s);
4476
4476
  }
4477
4477
  }
4478
- const $c = [
4478
+ const qc = [
4479
4479
  "address",
4480
4480
  "article",
4481
4481
  "aside",
@@ -4567,25 +4567,25 @@ function Kc(e, t, n) {
4567
4567
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(h), p;
4568
4568
  }
4569
4569
  function p(h) {
4570
- return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, x) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : g) : $e(h) ? (e.consume(h), a = String.fromCharCode(h), j) : n(h);
4570
+ return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, x) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : g) : qe(h) ? (e.consume(h), a = String.fromCharCode(h), j) : n(h);
4571
4571
  }
4572
4572
  function m(h) {
4573
- return h === 45 ? (e.consume(h), i = 2, d) : h === 91 ? (e.consume(h), i = 5, l = 0, T) : $e(h) ? (e.consume(h), i = 4, r.interrupt ? t : g) : n(h);
4573
+ return h === 45 ? (e.consume(h), i = 2, d) : h === 91 ? (e.consume(h), i = 5, l = 0, T) : qe(h) ? (e.consume(h), i = 4, r.interrupt ? t : g) : n(h);
4574
4574
  }
4575
4575
  function d(h) {
4576
4576
  return h === 45 ? (e.consume(h), r.interrupt ? t : g) : n(h);
4577
4577
  }
4578
4578
  function T(h) {
4579
- const me = "CDATA[";
4580
- return h === me.charCodeAt(l++) ? (e.consume(h), l === me.length ? r.interrupt ? t : b : T) : n(h);
4579
+ const ge = "CDATA[";
4580
+ return h === ge.charCodeAt(l++) ? (e.consume(h), l === ge.length ? r.interrupt ? t : b : T) : n(h);
4581
4581
  }
4582
4582
  function x(h) {
4583
- return $e(h) ? (e.consume(h), a = String.fromCharCode(h), j) : n(h);
4583
+ return qe(h) ? (e.consume(h), a = String.fromCharCode(h), j) : n(h);
4584
4584
  }
4585
4585
  function j(h) {
4586
4586
  if (h === null || h === 47 || h === 62 || ke(h)) {
4587
- const me = h === 47, De = a.toLowerCase();
4588
- return !me && !o && Vi.includes(De) ? (i = 1, r.interrupt ? t(h) : b(h)) : $c.includes(a.toLowerCase()) ? (i = 6, me ? (e.consume(h), v) : r.interrupt ? t(h) : b(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? C(h) : S(h));
4587
+ const ge = h === 47, De = a.toLowerCase();
4588
+ return !ge && !o && Vi.includes(De) ? (i = 1, r.interrupt ? t(h) : b(h)) : qc.includes(a.toLowerCase()) ? (i = 6, ge ? (e.consume(h), v) : r.interrupt ? t(h) : b(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? C(h) : S(h));
4589
4589
  }
4590
4590
  return h === 45 || Se(h) ? (e.consume(h), a += String.fromCharCode(h), j) : n(h);
4591
4591
  }
@@ -4596,22 +4596,22 @@ function Kc(e, t, n) {
4596
4596
  return te(h) ? (e.consume(h), C) : K(h);
4597
4597
  }
4598
4598
  function S(h) {
4599
- return h === 47 ? (e.consume(h), K) : h === 58 || h === 95 || $e(h) ? (e.consume(h), W) : te(h) ? (e.consume(h), S) : K(h);
4599
+ return h === 47 ? (e.consume(h), K) : h === 58 || h === 95 || qe(h) ? (e.consume(h), W) : te(h) ? (e.consume(h), S) : K(h);
4600
4600
  }
4601
4601
  function W(h) {
4602
- return h === 45 || h === 46 || h === 58 || h === 95 || Se(h) ? (e.consume(h), W) : $(h);
4602
+ return h === 45 || h === 46 || h === 58 || h === 95 || Se(h) ? (e.consume(h), W) : q(h);
4603
4603
  }
4604
- function $(h) {
4605
- return h === 61 ? (e.consume(h), M) : te(h) ? (e.consume(h), $) : S(h);
4604
+ function q(h) {
4605
+ return h === 61 ? (e.consume(h), M) : te(h) ? (e.consume(h), q) : S(h);
4606
4606
  }
4607
4607
  function M(h) {
4608
- return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), u = h, P) : te(h) ? (e.consume(h), M) : H(h);
4608
+ return h === null || h === 60 || h === 61 || h === 62 || h === 96 ? n(h) : h === 34 || h === 39 ? (e.consume(h), u = h, F) : te(h) ? (e.consume(h), M) : H(h);
4609
4609
  }
4610
- function P(h) {
4611
- return h === u ? (e.consume(h), u = null, G) : h === null || q(h) ? n(h) : (e.consume(h), P);
4610
+ function F(h) {
4611
+ return h === u ? (e.consume(h), u = null, G) : h === null || $(h) ? n(h) : (e.consume(h), F);
4612
4612
  }
4613
4613
  function H(h) {
4614
- return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || ke(h) ? $(h) : (e.consume(h), H);
4614
+ return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || ke(h) ? q(h) : (e.consume(h), H);
4615
4615
  }
4616
4616
  function G(h) {
4617
4617
  return h === 47 || h === 62 || te(h) ? S(h) : n(h);
@@ -4620,14 +4620,14 @@ function Kc(e, t, n) {
4620
4620
  return h === 62 ? (e.consume(h), A) : n(h);
4621
4621
  }
4622
4622
  function A(h) {
4623
- return h === null || q(h) ? b(h) : te(h) ? (e.consume(h), A) : n(h);
4623
+ return h === null || $(h) ? b(h) : te(h) ? (e.consume(h), A) : n(h);
4624
4624
  }
4625
4625
  function b(h) {
4626
- return h === 45 && i === 2 ? (e.consume(h), U) : h === 60 && i === 1 ? (e.consume(h), _) : h === 62 && i === 4 ? (e.consume(h), fe) : h === 63 && i === 3 ? (e.consume(h), g) : h === 93 && i === 5 ? (e.consume(h), ie) : q(h) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
4626
+ return h === 45 && i === 2 ? (e.consume(h), U) : h === 60 && i === 1 ? (e.consume(h), _) : h === 62 && i === 4 ? (e.consume(h), ue) : h === 63 && i === 3 ? (e.consume(h), g) : h === 93 && i === 5 ? (e.consume(h), re) : $(h) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
4627
4627
  Wc,
4628
4628
  ye,
4629
4629
  I
4630
- )(h)) : h === null || q(h) ? (e.exit("htmlFlowData"), I(h)) : (e.consume(h), b);
4630
+ )(h)) : h === null || $(h) ? (e.exit("htmlFlowData"), I(h)) : (e.consume(h), b);
4631
4631
  }
4632
4632
  function I(h) {
4633
4633
  return e.check(
@@ -4640,7 +4640,7 @@ function Kc(e, t, n) {
4640
4640
  return e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), L;
4641
4641
  }
4642
4642
  function L(h) {
4643
- return h === null || q(h) ? I(h) : (e.enter("htmlFlowData"), b(h));
4643
+ return h === null || $(h) ? I(h) : (e.enter("htmlFlowData"), b(h));
4644
4644
  }
4645
4645
  function U(h) {
4646
4646
  return h === 45 ? (e.consume(h), g) : b(h);
@@ -4650,19 +4650,19 @@ function Kc(e, t, n) {
4650
4650
  }
4651
4651
  function V(h) {
4652
4652
  if (h === 62) {
4653
- const me = a.toLowerCase();
4654
- return Vi.includes(me) ? (e.consume(h), fe) : b(h);
4653
+ const ge = a.toLowerCase();
4654
+ return Vi.includes(ge) ? (e.consume(h), ue) : b(h);
4655
4655
  }
4656
- return $e(h) && a.length < 8 ? (e.consume(h), a += String.fromCharCode(h), V) : b(h);
4656
+ return qe(h) && a.length < 8 ? (e.consume(h), a += String.fromCharCode(h), V) : b(h);
4657
4657
  }
4658
- function ie(h) {
4658
+ function re(h) {
4659
4659
  return h === 93 ? (e.consume(h), g) : b(h);
4660
4660
  }
4661
4661
  function g(h) {
4662
- return h === 62 ? (e.consume(h), fe) : h === 45 && i === 2 ? (e.consume(h), g) : b(h);
4662
+ return h === 62 ? (e.consume(h), ue) : h === 45 && i === 2 ? (e.consume(h), g) : b(h);
4663
4663
  }
4664
- function fe(h) {
4665
- return h === null || q(h) ? (e.exit("htmlFlowData"), ye(h)) : (e.consume(h), fe);
4664
+ function ue(h) {
4665
+ return h === null || $(h) ? (e.exit("htmlFlowData"), ye(h)) : (e.consume(h), ue);
4666
4666
  }
4667
4667
  function ye(h) {
4668
4668
  return e.exit("htmlFlow"), t(h);
@@ -4672,7 +4672,7 @@ function Xc(e, t, n) {
4672
4672
  const r = this;
4673
4673
  return i;
4674
4674
  function i(a) {
4675
- return q(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), o) : n(a);
4675
+ return $(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), o) : n(a);
4676
4676
  }
4677
4677
  function o(a) {
4678
4678
  return r.parser.lazy[r.now().line] ? n(a) : t(a);
@@ -4696,16 +4696,16 @@ function tf(e, t, n) {
4696
4696
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(g), u;
4697
4697
  }
4698
4698
  function u(g) {
4699
- return g === 33 ? (e.consume(g), s) : g === 47 ? (e.consume(g), $) : g === 63 ? (e.consume(g), S) : $e(g) ? (e.consume(g), H) : n(g);
4699
+ return g === 33 ? (e.consume(g), s) : g === 47 ? (e.consume(g), q) : g === 63 ? (e.consume(g), S) : qe(g) ? (e.consume(g), H) : n(g);
4700
4700
  }
4701
4701
  function s(g) {
4702
- return g === 45 ? (e.consume(g), c) : g === 91 ? (e.consume(g), o = 0, T) : $e(g) ? (e.consume(g), C) : n(g);
4702
+ return g === 45 ? (e.consume(g), c) : g === 91 ? (e.consume(g), o = 0, T) : qe(g) ? (e.consume(g), C) : n(g);
4703
4703
  }
4704
4704
  function c(g) {
4705
4705
  return g === 45 ? (e.consume(g), d) : n(g);
4706
4706
  }
4707
4707
  function p(g) {
4708
- return g === null ? n(g) : g === 45 ? (e.consume(g), m) : q(g) ? (a = p, _(g)) : (e.consume(g), p);
4708
+ return g === null ? n(g) : g === 45 ? (e.consume(g), m) : $(g) ? (a = p, _(g)) : (e.consume(g), p);
4709
4709
  }
4710
4710
  function m(g) {
4711
4711
  return g === 45 ? (e.consume(g), d) : p(g);
@@ -4714,11 +4714,11 @@ function tf(e, t, n) {
4714
4714
  return g === 62 ? U(g) : g === 45 ? m(g) : p(g);
4715
4715
  }
4716
4716
  function T(g) {
4717
- const fe = "CDATA[";
4718
- return g === fe.charCodeAt(o++) ? (e.consume(g), o === fe.length ? x : T) : n(g);
4717
+ const ue = "CDATA[";
4718
+ return g === ue.charCodeAt(o++) ? (e.consume(g), o === ue.length ? x : T) : n(g);
4719
4719
  }
4720
4720
  function x(g) {
4721
- return g === null ? n(g) : g === 93 ? (e.consume(g), j) : q(g) ? (a = x, _(g)) : (e.consume(g), x);
4721
+ return g === null ? n(g) : g === 93 ? (e.consume(g), j) : $(g) ? (a = x, _(g)) : (e.consume(g), x);
4722
4722
  }
4723
4723
  function j(g) {
4724
4724
  return g === 93 ? (e.consume(g), v) : x(g);
@@ -4727,40 +4727,40 @@ function tf(e, t, n) {
4727
4727
  return g === 62 ? U(g) : g === 93 ? (e.consume(g), v) : x(g);
4728
4728
  }
4729
4729
  function C(g) {
4730
- return g === null || g === 62 ? U(g) : q(g) ? (a = C, _(g)) : (e.consume(g), C);
4730
+ return g === null || g === 62 ? U(g) : $(g) ? (a = C, _(g)) : (e.consume(g), C);
4731
4731
  }
4732
4732
  function S(g) {
4733
- return g === null ? n(g) : g === 63 ? (e.consume(g), W) : q(g) ? (a = S, _(g)) : (e.consume(g), S);
4733
+ return g === null ? n(g) : g === 63 ? (e.consume(g), W) : $(g) ? (a = S, _(g)) : (e.consume(g), S);
4734
4734
  }
4735
4735
  function W(g) {
4736
4736
  return g === 62 ? U(g) : S(g);
4737
4737
  }
4738
- function $(g) {
4739
- return $e(g) ? (e.consume(g), M) : n(g);
4738
+ function q(g) {
4739
+ return qe(g) ? (e.consume(g), M) : n(g);
4740
4740
  }
4741
4741
  function M(g) {
4742
- return g === 45 || Se(g) ? (e.consume(g), M) : P(g);
4742
+ return g === 45 || Se(g) ? (e.consume(g), M) : F(g);
4743
4743
  }
4744
- function P(g) {
4745
- return q(g) ? (a = P, _(g)) : te(g) ? (e.consume(g), P) : U(g);
4744
+ function F(g) {
4745
+ return $(g) ? (a = F, _(g)) : te(g) ? (e.consume(g), F) : U(g);
4746
4746
  }
4747
4747
  function H(g) {
4748
4748
  return g === 45 || Se(g) ? (e.consume(g), H) : g === 47 || g === 62 || ke(g) ? G(g) : n(g);
4749
4749
  }
4750
4750
  function G(g) {
4751
- return g === 47 ? (e.consume(g), U) : g === 58 || g === 95 || $e(g) ? (e.consume(g), K) : q(g) ? (a = G, _(g)) : te(g) ? (e.consume(g), G) : U(g);
4751
+ return g === 47 ? (e.consume(g), U) : g === 58 || g === 95 || qe(g) ? (e.consume(g), K) : $(g) ? (a = G, _(g)) : te(g) ? (e.consume(g), G) : U(g);
4752
4752
  }
4753
4753
  function K(g) {
4754
4754
  return g === 45 || g === 46 || g === 58 || g === 95 || Se(g) ? (e.consume(g), K) : A(g);
4755
4755
  }
4756
4756
  function A(g) {
4757
- return g === 61 ? (e.consume(g), b) : q(g) ? (a = A, _(g)) : te(g) ? (e.consume(g), A) : G(g);
4757
+ return g === 61 ? (e.consume(g), b) : $(g) ? (a = A, _(g)) : te(g) ? (e.consume(g), A) : G(g);
4758
4758
  }
4759
4759
  function b(g) {
4760
- return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), i = g, I) : q(g) ? (a = b, _(g)) : te(g) ? (e.consume(g), b) : (e.consume(g), z);
4760
+ return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), i = g, I) : $(g) ? (a = b, _(g)) : te(g) ? (e.consume(g), b) : (e.consume(g), z);
4761
4761
  }
4762
4762
  function I(g) {
4763
- return g === i ? (e.consume(g), i = void 0, L) : g === null ? n(g) : q(g) ? (a = I, _(g)) : (e.consume(g), I);
4763
+ return g === i ? (e.consume(g), i = void 0, L) : g === null ? n(g) : $(g) ? (a = I, _(g)) : (e.consume(g), I);
4764
4764
  }
4765
4765
  function z(g) {
4766
4766
  return g === null || g === 34 || g === 39 || g === 60 || g === 61 || g === 96 ? n(g) : g === 47 || g === 62 || ke(g) ? G(g) : (e.consume(g), z);
@@ -4775,14 +4775,14 @@ function tf(e, t, n) {
4775
4775
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(g), e.exit("lineEnding"), V;
4776
4776
  }
4777
4777
  function V(g) {
4778
- return te(g) ? ce(
4778
+ return te(g) ? fe(
4779
4779
  e,
4780
- ie,
4780
+ re,
4781
4781
  "linePrefix",
4782
4782
  r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
4783
- )(g) : ie(g);
4783
+ )(g) : re(g);
4784
4784
  }
4785
- function ie(g) {
4785
+ function re(g) {
4786
4786
  return e.enter("htmlTextData"), a(g);
4787
4787
  }
4788
4788
  }
@@ -4836,19 +4836,19 @@ function lf(e, t) {
4836
4836
  return l = [
4837
4837
  ["enter", u, t],
4838
4838
  ["enter", s, t]
4839
- ], l = Fe(l, e.slice(o + 1, o + r + 3)), l = Fe(l, [["enter", c, t]]), l = Fe(
4839
+ ], l = Pe(l, e.slice(o + 1, o + r + 3)), l = Pe(l, [["enter", c, t]]), l = Pe(
4840
4840
  l,
4841
4841
  Or(
4842
4842
  t.parser.constructs.insideSpan.null,
4843
4843
  e.slice(o + r + 4, a - 3),
4844
4844
  t
4845
4845
  )
4846
- ), l = Fe(l, [
4846
+ ), l = Pe(l, [
4847
4847
  ["exit", c, t],
4848
4848
  e[a - 2],
4849
4849
  e[a - 1],
4850
4850
  ["exit", s, t]
4851
- ]), l = Fe(l, e.slice(a + 1)), l = Fe(l, [["exit", u, t]]), Ve(e, o, e.length, l), e;
4851
+ ]), l = Pe(l, e.slice(a + 1)), l = Pe(l, [["exit", u, t]]), Ve(e, o, e.length, l), e;
4852
4852
  }
4853
4853
  function uf(e, t, n) {
4854
4854
  const r = this;
@@ -5012,7 +5012,7 @@ const er = {
5012
5012
  function mf(e, t) {
5013
5013
  return n;
5014
5014
  function n(r) {
5015
- return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), ce(e, t, "linePrefix");
5015
+ return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), fe(e, t, "linePrefix");
5016
5016
  }
5017
5017
  }
5018
5018
  const cn = {
@@ -5029,10 +5029,10 @@ function yf(e, t, n) {
5029
5029
  return i = s, l(s);
5030
5030
  }
5031
5031
  function l(s) {
5032
- return s === i ? (e.enter("thematicBreakSequence"), u(s)) : r >= 3 && (s === null || q(s)) ? (e.exit("thematicBreak"), t(s)) : n(s);
5032
+ return s === i ? (e.enter("thematicBreakSequence"), u(s)) : r >= 3 && (s === null || $(s)) ? (e.exit("thematicBreak"), t(s)) : n(s);
5033
5033
  }
5034
5034
  function u(s) {
5035
- return s === i ? (e.consume(s), r++, u) : (e.exit("thematicBreakSequence"), te(s) ? ce(e, l, "whitespace")(s) : l(s));
5035
+ return s === i ? (e.consume(s), r++, u) : (e.exit("thematicBreakSequence"), te(s) ? fe(e, l, "whitespace")(s) : l(s));
5036
5036
  }
5037
5037
  }
5038
5038
  const Ne = {
@@ -5094,7 +5094,7 @@ function wf(e, t, n) {
5094
5094
  const r = this;
5095
5095
  return r.containerState._closeFlow = void 0, e.check(vn, i, o);
5096
5096
  function i(l) {
5097
- return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, ce(
5097
+ return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, fe(
5098
5098
  e,
5099
5099
  t,
5100
5100
  "listItemIndent",
@@ -5105,7 +5105,7 @@ function wf(e, t, n) {
5105
5105
  return r.containerState.furtherBlankLines || !te(l) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, a(l)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(xf, t, a)(l));
5106
5106
  }
5107
5107
  function a(l) {
5108
- return r.containerState._closeFlow = !0, r.interrupt = void 0, ce(
5108
+ return r.containerState._closeFlow = !0, r.interrupt = void 0, fe(
5109
5109
  e,
5110
5110
  e.attempt(Ne, t, n),
5111
5111
  "linePrefix",
@@ -5115,7 +5115,7 @@ function wf(e, t, n) {
5115
5115
  }
5116
5116
  function vf(e, t, n) {
5117
5117
  const r = this;
5118
- return ce(
5118
+ return fe(
5119
5119
  e,
5120
5120
  i,
5121
5121
  "listItemIndent",
@@ -5131,7 +5131,7 @@ function Df(e) {
5131
5131
  }
5132
5132
  function Tf(e, t, n) {
5133
5133
  const r = this;
5134
- return ce(
5134
+ return fe(
5135
5135
  e,
5136
5136
  i,
5137
5137
  "listItemPrefixWhitespace",
@@ -5182,10 +5182,10 @@ function Nf(e, t, n) {
5182
5182
  return e.enter("setextHeadingLineSequence"), l(s);
5183
5183
  }
5184
5184
  function l(s) {
5185
- return s === i ? (e.consume(s), l) : (e.exit("setextHeadingLineSequence"), te(s) ? ce(e, u, "lineSuffix")(s) : u(s));
5185
+ return s === i ? (e.consume(s), l) : (e.exit("setextHeadingLineSequence"), te(s) ? fe(e, u, "lineSuffix")(s) : u(s));
5186
5186
  }
5187
5187
  function u(s) {
5188
- return s === null || q(s) ? (e.exit("setextHeadingLine"), t(s)) : n(s);
5188
+ return s === null || $(s) ? (e.exit("setextHeadingLine"), t(s)) : n(s);
5189
5189
  }
5190
5190
  }
5191
5191
  const kf = {
@@ -5200,7 +5200,7 @@ function jf(e) {
5200
5200
  e.attempt(
5201
5201
  this.parser.constructs.flowInitial,
5202
5202
  i,
5203
- ce(
5203
+ fe(
5204
5204
  e,
5205
5205
  e.attempt(
5206
5206
  this.parser.constructs.flow,
@@ -5339,9 +5339,9 @@ function Of(e, t, n) {
5339
5339
  consume: C,
5340
5340
  enter: S,
5341
5341
  exit: W,
5342
- attempt: P($),
5343
- check: P(M),
5344
- interrupt: P(M, {
5342
+ attempt: F(q),
5343
+ check: F(M),
5344
+ interrupt: F(M, {
5345
5345
  interrupt: !0
5346
5346
  })
5347
5347
  }, s = {
@@ -5359,7 +5359,7 @@ function Of(e, t, n) {
5359
5359
  let c = t.tokenize.call(s, u);
5360
5360
  return t.resolveAll && o.push(t), s;
5361
5361
  function p(A) {
5362
- return a = Fe(a, A), j(), a[a.length - 1] !== null ? [] : (H(t, 0), s.events = Or(o, s.events, s), s.events);
5362
+ return a = Pe(a, A), j(), a[a.length - 1] !== null ? [] : (H(t, 0), s.events = Or(o, s.events, s), s.events);
5363
5363
  }
5364
5364
  function m(A, b) {
5365
5365
  return Lf(d(A), b);
@@ -5395,7 +5395,7 @@ function Of(e, t, n) {
5395
5395
  c = c(A);
5396
5396
  }
5397
5397
  function C(A) {
5398
- q(A) ? (r.line++, r.column = 1, r.offset += A === -3 ? 2 : 1, K()) : A !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), s.previous = A;
5398
+ $(A) ? (r.line++, r.column = 1, r.offset += A === -3 ? 2 : 1, K()) : A !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), s.previous = A;
5399
5399
  }
5400
5400
  function S(A, b) {
5401
5401
  const I = b || {};
@@ -5405,24 +5405,24 @@ function Of(e, t, n) {
5405
5405
  const b = l.pop();
5406
5406
  return b.end = T(), s.events.push(["exit", b, s]), b;
5407
5407
  }
5408
- function $(A, b) {
5408
+ function q(A, b) {
5409
5409
  H(A, b.from);
5410
5410
  }
5411
5411
  function M(A, b) {
5412
5412
  b.restore();
5413
5413
  }
5414
- function P(A, b) {
5414
+ function F(A, b) {
5415
5415
  return I;
5416
5416
  function I(z, L, U) {
5417
- let _, V, ie, g;
5417
+ let _, V, re, g;
5418
5418
  return Array.isArray(z) ? ye(z) : "tokenize" in z ? (
5419
5419
  // @ts-expect-error Looks like a construct.
5420
5420
  ye([z])
5421
- ) : fe(z);
5422
- function fe(oe) {
5421
+ ) : ue(z);
5422
+ function ue(ie) {
5423
5423
  return Te;
5424
5424
  function Te(be) {
5425
- const Be = be !== null && oe[be], ze = be !== null && oe.null, Ke = [
5425
+ const Be = be !== null && ie[be], ze = be !== null && ie.null, Ke = [
5426
5426
  // To do: add more extension tests.
5427
5427
  /* c8 ignore next 2 */
5428
5428
  ...Array.isArray(Be) ? Be : Be ? [Be] : [],
@@ -5431,27 +5431,27 @@ function Of(e, t, n) {
5431
5431
  return ye(Ke)(be);
5432
5432
  }
5433
5433
  }
5434
- function ye(oe) {
5435
- return _ = oe, V = 0, oe.length === 0 ? U : h(oe[V]);
5434
+ function ye(ie) {
5435
+ return _ = ie, V = 0, ie.length === 0 ? U : h(ie[V]);
5436
5436
  }
5437
- function h(oe) {
5437
+ function h(ie) {
5438
5438
  return Te;
5439
5439
  function Te(be) {
5440
- return g = G(), ie = oe, oe.partial || (s.currentConstruct = oe), oe.name && s.parser.constructs.disable.null.includes(oe.name) ? De() : oe.tokenize.call(
5440
+ return g = G(), re = ie, ie.partial || (s.currentConstruct = ie), ie.name && s.parser.constructs.disable.null.includes(ie.name) ? De() : ie.tokenize.call(
5441
5441
  // If we do have fields, create an object w/ `context` as its
5442
5442
  // prototype.
5443
5443
  // This allows a “live binding”, which is needed for `interrupt`.
5444
5444
  b ? Object.assign(Object.create(s), b) : s,
5445
5445
  u,
5446
- me,
5446
+ ge,
5447
5447
  De
5448
5448
  )(be);
5449
5449
  }
5450
5450
  }
5451
- function me(oe) {
5452
- return A(ie, g), L;
5451
+ function ge(ie) {
5452
+ return A(re, g), L;
5453
5453
  }
5454
- function De(oe) {
5454
+ function De(ie) {
5455
5455
  return g.restore(), ++V < _.length ? h(_[V]) : U;
5456
5456
  }
5457
5457
  }
@@ -5534,7 +5534,7 @@ function Lf(e, t) {
5534
5534
  }
5535
5535
  return r.join("");
5536
5536
  }
5537
- const Pf = {
5537
+ const Ff = {
5538
5538
  42: Ne,
5539
5539
  43: Ne,
5540
5540
  45: Ne,
@@ -5549,8 +5549,8 @@ const Pf = {
5549
5549
  56: Ne,
5550
5550
  57: Ne,
5551
5551
  62: na
5552
- }, Ff = {
5553
- 91: Fc
5552
+ }, Pf = {
5553
+ 91: Pc
5554
5554
  }, _f = {
5555
5555
  [-2]: Jn,
5556
5556
  [-1]: Jn,
@@ -5562,8 +5562,8 @@ const Pf = {
5562
5562
  60: Vc,
5563
5563
  61: Wi,
5564
5564
  95: cn,
5565
- 96: $i,
5566
- 126: $i
5565
+ 96: qi,
5566
+ 126: qi
5567
5567
  }, Uf = {
5568
5568
  38: ia,
5569
5569
  92: ra
@@ -5586,22 +5586,22 @@ const Pf = {
5586
5586
  null: [42, 95]
5587
5587
  }, Hf = {
5588
5588
  null: []
5589
- }, qf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5589
+ }, $f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5590
5590
  __proto__: null,
5591
5591
  attentionMarkers: Yf,
5592
- contentInitial: Ff,
5592
+ contentInitial: Pf,
5593
5593
  disable: Hf,
5594
- document: Pf,
5594
+ document: Ff,
5595
5595
  flow: Rf,
5596
5596
  flowInitial: _f,
5597
5597
  insideSpan: Qf,
5598
5598
  string: Uf,
5599
5599
  text: Bf
5600
5600
  }, Symbol.toStringTag, { value: "Module" }));
5601
- function $f(e) {
5601
+ function qf(e) {
5602
5602
  const n = (
5603
5603
  /** @type {FullNormalizedExtension} */
5604
- Xs([qf, ...(e || {}).extensions || []])
5604
+ Xs([$f, ...(e || {}).extensions || []])
5605
5605
  ), r = {
5606
5606
  defined: [],
5607
5607
  lazy: {},
@@ -5702,7 +5702,7 @@ const pa = {}.hasOwnProperty, Xf = (
5702
5702
  function(e, t, n) {
5703
5703
  return typeof t != "string" && (n = t, t = void 0), Jf(n)(
5704
5704
  Wf(
5705
- $f(n).document().write(Vf()(e, t, !0))
5705
+ qf(n).document().write(Vf()(e, t, !0))
5706
5706
  )
5707
5707
  );
5708
5708
  }
@@ -5712,7 +5712,7 @@ function Jf(e) {
5712
5712
  transforms: [],
5713
5713
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
5714
5714
  enter: {
5715
- autolink: l(he),
5715
+ autolink: l(me),
5716
5716
  autolinkProtocol: A,
5717
5717
  autolinkEmail: A,
5718
5718
  atxHeading: l(ot),
@@ -5738,13 +5738,13 @@ function Jf(e) {
5738
5738
  htmlFlowData: A,
5739
5739
  htmlText: l(R, u),
5740
5740
  htmlTextData: A,
5741
- image: l(ne),
5741
+ image: l(oe),
5742
5742
  label: u,
5743
- link: l(he),
5743
+ link: l(me),
5744
5744
  listItem: l(je),
5745
5745
  listItemValue: T,
5746
- listOrdered: l(ge, d),
5747
- listUnordered: l(ge),
5746
+ listOrdered: l(he, d),
5747
+ listUnordered: l(he),
5748
5748
  paragraph: l(xe),
5749
5749
  reference: De,
5750
5750
  referenceString: u,
@@ -5756,7 +5756,7 @@ function Jf(e) {
5756
5756
  },
5757
5757
  exit: {
5758
5758
  atxHeading: c(),
5759
- atxHeadingSequence: P,
5759
+ atxHeadingSequence: F,
5760
5760
  autolink: c(),
5761
5761
  autolinkEmail: ze,
5762
5762
  autolinkProtocol: Be,
@@ -5777,7 +5777,7 @@ function Jf(e) {
5777
5777
  definition: c(),
5778
5778
  definitionDestinationString: M,
5779
5779
  definitionLabelString: W,
5780
- definitionTitleString: $,
5780
+ definitionTitleString: q,
5781
5781
  emphasis: c(),
5782
5782
  hardBreakEscape: c(z),
5783
5783
  hardBreakTrailing: c(z),
@@ -5785,8 +5785,8 @@ function Jf(e) {
5785
5785
  htmlFlowData: b,
5786
5786
  htmlText: c(U),
5787
5787
  htmlTextData: b,
5788
- image: c(ie),
5789
- label: fe,
5788
+ image: c(re),
5789
+ label: ue,
5790
5790
  labelText: g,
5791
5791
  lineEnding: I,
5792
5792
  link: c(V),
@@ -5794,10 +5794,10 @@ function Jf(e) {
5794
5794
  listOrdered: c(),
5795
5795
  listUnordered: c(),
5796
5796
  paragraph: c(),
5797
- referenceString: oe,
5797
+ referenceString: ie,
5798
5798
  resourceDestinationString: ye,
5799
5799
  resourceTitleString: h,
5800
- resource: me,
5800
+ resource: ge,
5801
5801
  setextHeading: c(K),
5802
5802
  setextHeadingLineSequence: G,
5803
5803
  setextHeadingText: H,
@@ -5824,25 +5824,25 @@ function Jf(e) {
5824
5824
  setData: o,
5825
5825
  getData: a
5826
5826
  }, ee = [];
5827
- let re = -1;
5828
- for (; ++re < D.length; )
5829
- if (D[re][1].type === "listOrdered" || D[re][1].type === "listUnordered")
5830
- if (D[re][0] === "enter")
5831
- ee.push(re);
5827
+ let ne = -1;
5828
+ for (; ++ne < D.length; )
5829
+ if (D[ne][1].type === "listOrdered" || D[ne][1].type === "listUnordered")
5830
+ if (D[ne][0] === "enter")
5831
+ ee.push(ne);
5832
5832
  else {
5833
5833
  const Ie = ee.pop();
5834
- re = i(D, Ie, re);
5834
+ ne = i(D, Ie, ne);
5835
5835
  }
5836
- for (re = -1; ++re < D.length; ) {
5837
- const Ie = t[D[re][0]];
5838
- pa.call(Ie, D[re][1].type) && Ie[D[re][1].type].call(
5836
+ for (ne = -1; ++ne < D.length; ) {
5837
+ const Ie = t[D[ne][0]];
5838
+ pa.call(Ie, D[ne][1].type) && Ie[D[ne][1].type].call(
5839
5839
  Object.assign(
5840
5840
  {
5841
- sliceSerialize: D[re][2].sliceSerialize
5841
+ sliceSerialize: D[ne][2].sliceSerialize
5842
5842
  },
5843
5843
  Y
5844
5844
  ),
5845
- D[re][1]
5845
+ D[ne][1]
5846
5846
  );
5847
5847
  }
5848
5848
  if (Y.tokenStack.length > 0) {
@@ -5864,15 +5864,15 @@ function Jf(e) {
5864
5864
  offset: 0
5865
5865
  }
5866
5866
  )
5867
- }, re = -1; ++re < t.transforms.length; )
5868
- O = t.transforms[re](O) || O;
5867
+ }, ne = -1; ++ne < t.transforms.length; )
5868
+ O = t.transforms[ne](O) || O;
5869
5869
  return O;
5870
5870
  }
5871
5871
  function i(D, O, Y) {
5872
- let ee = O - 1, re = -1, Ie = !1, Qe, Ye, lt, Ee;
5872
+ let ee = O - 1, ne = -1, Ie = !1, Qe, Ye, lt, Ee;
5873
5873
  for (; ++ee <= Y; ) {
5874
- const ue = D[ee];
5875
- if (ue[1].type === "listUnordered" || ue[1].type === "listOrdered" || ue[1].type === "blockQuote" ? (ue[0] === "enter" ? re++ : re--, Ee = void 0) : ue[1].type === "lineEndingBlank" ? ue[0] === "enter" && (Qe && !Ee && !re && !lt && (lt = ee), Ee = void 0) : ue[1].type === "linePrefix" || ue[1].type === "listItemValue" || ue[1].type === "listItemMarker" || ue[1].type === "listItemPrefix" || ue[1].type === "listItemPrefixWhitespace" || (Ee = void 0), !re && ue[0] === "enter" && ue[1].type === "listItemPrefix" || re === -1 && ue[0] === "exit" && (ue[1].type === "listUnordered" || ue[1].type === "listOrdered")) {
5874
+ const se = D[ee];
5875
+ if (se[1].type === "listUnordered" || se[1].type === "listOrdered" || se[1].type === "blockQuote" ? (se[0] === "enter" ? ne++ : ne--, Ee = void 0) : se[1].type === "lineEndingBlank" ? se[0] === "enter" && (Qe && !Ee && !ne && !lt && (lt = ee), Ee = void 0) : se[1].type === "linePrefix" || se[1].type === "listItemValue" || se[1].type === "listItemMarker" || se[1].type === "listItemPrefix" || se[1].type === "listItemPrefixWhitespace" || (Ee = void 0), !ne && se[0] === "enter" && se[1].type === "listItemPrefix" || ne === -1 && se[0] === "exit" && (se[1].type === "listUnordered" || se[1].type === "listOrdered")) {
5876
5876
  if (Qe) {
5877
5877
  let Et = ee;
5878
5878
  for (Ye = void 0; Et--; ) {
@@ -5886,16 +5886,16 @@ function Jf(e) {
5886
5886
  }
5887
5887
  lt && (!Ye || lt < Ye) && (Qe._spread = !0), Qe.end = Object.assign(
5888
5888
  {},
5889
- Ye ? D[Ye][1].start : ue[1].end
5890
- ), D.splice(Ye || ee, 0, ["exit", Qe, ue[2]]), ee++, Y++;
5889
+ Ye ? D[Ye][1].start : se[1].end
5890
+ ), D.splice(Ye || ee, 0, ["exit", Qe, se[2]]), ee++, Y++;
5891
5891
  }
5892
- ue[1].type === "listItemPrefix" && (Qe = {
5892
+ se[1].type === "listItemPrefix" && (Qe = {
5893
5893
  type: "listItem",
5894
5894
  _spread: !1,
5895
- start: Object.assign({}, ue[1].start),
5895
+ start: Object.assign({}, se[1].start),
5896
5896
  // @ts-expect-error: we’ll add `end` in a second.
5897
5897
  end: void 0
5898
- }, D.splice(ee, 0, ["enter", Qe, ue[2]]), ee++, Y++, lt = void 0, Ee = !0);
5898
+ }, D.splice(ee, 0, ["enter", Qe, se[2]]), ee++, Y++, lt = void 0, Ee = !0);
5899
5899
  }
5900
5900
  }
5901
5901
  return D[O][1]._spread = Ie, Y;
@@ -5979,7 +5979,7 @@ function Jf(e) {
5979
5979
  this.sliceSerialize(D)
5980
5980
  ).toLowerCase();
5981
5981
  }
5982
- function $() {
5982
+ function q() {
5983
5983
  const D = this.resume(), O = this.stack[this.stack.length - 1];
5984
5984
  O.title = D;
5985
5985
  }
@@ -5987,7 +5987,7 @@ function Jf(e) {
5987
5987
  const D = this.resume(), O = this.stack[this.stack.length - 1];
5988
5988
  O.url = D;
5989
5989
  }
5990
- function P(D) {
5990
+ function F(D) {
5991
5991
  const O = this.stack[this.stack.length - 1];
5992
5992
  if (!O.depth) {
5993
5993
  const Y = this.sliceSerialize(D).length;
@@ -6048,7 +6048,7 @@ function Jf(e) {
6048
6048
  delete D.identifier, delete D.label;
6049
6049
  o("referenceType");
6050
6050
  }
6051
- function ie() {
6051
+ function re() {
6052
6052
  const D = this.stack[this.stack.length - 1];
6053
6053
  if (a("inReference")) {
6054
6054
  const O = a("referenceType") || "shortcut";
@@ -6061,7 +6061,7 @@ function Jf(e) {
6061
6061
  const O = this.sliceSerialize(D), Y = this.stack[this.stack.length - 2];
6062
6062
  Y.label = Zf(O), Y.identifier = Mt(O).toLowerCase();
6063
6063
  }
6064
- function fe() {
6064
+ function ue() {
6065
6065
  const D = this.stack[this.stack.length - 1], O = this.resume(), Y = this.stack[this.stack.length - 1];
6066
6066
  if (o("inReference", !0), Y.type === "link") {
6067
6067
  const ee = D.children;
@@ -6077,13 +6077,13 @@ function Jf(e) {
6077
6077
  const D = this.resume(), O = this.stack[this.stack.length - 1];
6078
6078
  O.title = D;
6079
6079
  }
6080
- function me() {
6080
+ function ge() {
6081
6081
  o("inReference");
6082
6082
  }
6083
6083
  function De() {
6084
6084
  o("referenceType", "collapsed");
6085
6085
  }
6086
- function oe(D) {
6086
+ function ie(D) {
6087
6087
  const O = this.resume(), Y = this.stack[this.stack.length - 1];
6088
6088
  Y.label = O, Y.identifier = Mt(
6089
6089
  this.sliceSerialize(D)
@@ -6099,8 +6099,8 @@ function Jf(e) {
6099
6099
  O,
6100
6100
  Y === "characterReferenceMarkerNumeric" ? 10 : 16
6101
6101
  ), o("characterReferenceType")) : ee = zr(O);
6102
- const re = this.stack.pop();
6103
- re.value += ee, re.position.end = Je(D.end);
6102
+ const ne = this.stack.pop();
6103
+ ne.value += ee, ne.position.end = Je(D.end);
6104
6104
  }
6105
6105
  function Be(D) {
6106
6106
  b.call(this, D);
@@ -6165,7 +6165,7 @@ function Jf(e) {
6165
6165
  value: ""
6166
6166
  };
6167
6167
  }
6168
- function ne() {
6168
+ function oe() {
6169
6169
  return {
6170
6170
  type: "image",
6171
6171
  title: null,
@@ -6173,7 +6173,7 @@ function Jf(e) {
6173
6173
  alt: null
6174
6174
  };
6175
6175
  }
6176
- function he() {
6176
+ function me() {
6177
6177
  return {
6178
6178
  type: "link",
6179
6179
  title: null,
@@ -6181,7 +6181,7 @@ function Jf(e) {
6181
6181
  children: []
6182
6182
  };
6183
6183
  }
6184
- function ge(D) {
6184
+ function he(D) {
6185
6185
  return {
6186
6186
  type: "list",
6187
6187
  ordered: D.type === "listOrdered",
@@ -6546,9 +6546,9 @@ function bp(e, t) {
6546
6546
  };
6547
6547
  return e.patch(t, n), e.applyData(t, n);
6548
6548
  }
6549
- const Pr = ya("start"), Fr = ya("end");
6549
+ const Fr = ya("start"), Pr = ya("end");
6550
6550
  function wp(e) {
6551
- return { start: Pr(e), end: Fr(e) };
6551
+ return { start: Fr(e), end: Pr(e) };
6552
6552
  }
6553
6553
  function ya(e) {
6554
6554
  return t;
@@ -6581,7 +6581,7 @@ function vp(e, t) {
6581
6581
  tagName: "tbody",
6582
6582
  properties: {},
6583
6583
  children: e.wrap(n, !0)
6584
- }, l = Pr(t.children[1]), u = Fr(t.children[t.children.length - 1]);
6584
+ }, l = Fr(t.children[1]), u = Pr(t.children[t.children.length - 1]);
6585
6585
  l.line && u.line && (a.position = { start: l, end: u }), i.push(a);
6586
6586
  }
6587
6587
  const o = {
@@ -6789,7 +6789,7 @@ const Op = !0, eo = !1, zp = "skip", Lp = (
6789
6789
  return p;
6790
6790
  function p() {
6791
6791
  let m = [], d, T, x;
6792
- if ((!t || i(l, u, s[s.length - 1] || null)) && (m = Pp(n(l, s)), m[0] === eo))
6792
+ if ((!t || i(l, u, s[s.length - 1] || null)) && (m = Fp(n(l, s)), m[0] === eo))
6793
6793
  return m;
6794
6794
  if (l.children && m[0] !== zp)
6795
6795
  for (T = (r ? l.children.length : -1) + o, x = s.concat(l); T > -1 && T < l.children.length; ) {
@@ -6802,7 +6802,7 @@ const Op = !0, eo = !1, zp = "skip", Lp = (
6802
6802
  }
6803
6803
  }
6804
6804
  );
6805
- function Pp(e) {
6805
+ function Fp(e) {
6806
6806
  return Array.isArray(e) ? e : typeof e == "number" ? [Op, e] : [e];
6807
6807
  }
6808
6808
  const _r = (
@@ -6831,7 +6831,7 @@ const _r = (
6831
6831
  }
6832
6832
  }
6833
6833
  );
6834
- function Fp(e) {
6834
+ function Pp(e) {
6835
6835
  return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column;
6836
6836
  }
6837
6837
  const to = {}.hasOwnProperty;
@@ -6872,7 +6872,7 @@ function Rp(e, t) {
6872
6872
  }
6873
6873
  if (s) {
6874
6874
  const p = "type" in s ? s : { position: s };
6875
- Fp(p) || (c.position = { start: Pr(p), end: Fr(p) });
6875
+ Pp(p) || (c.position = { start: Fr(p), end: Pr(p) });
6876
6876
  }
6877
6877
  return c;
6878
6878
  }
@@ -7026,12 +7026,12 @@ function ba(e, t) {
7026
7026
  return i && r.children.push({ type: "text", value: `
7027
7027
  ` }, i), Array.isArray(r) ? { type: "root", children: r } : r;
7028
7028
  }
7029
- const qp = (
7029
+ const $p = (
7030
7030
  /** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */
7031
7031
  function(e, t) {
7032
7032
  return e && "run" in e ? Vp(e, t) : Wp(e || t);
7033
7033
  }
7034
- ), $p = qp;
7034
+ ), qp = $p;
7035
7035
  function Vp(e, t) {
7036
7036
  return (n, r, i) => {
7037
7037
  e.run(ba(n, t), r, (o) => {
@@ -7087,7 +7087,7 @@ Re.prototype.commaOrSpaceSeparated = !1;
7087
7087
  Re.prototype.mustUseProperty = !1;
7088
7088
  Re.prototype.defined = !1;
7089
7089
  let Gp = 0;
7090
- const Z = ht(), Me = ht(), va = ht(), E = ht(), se = ht(), xt = ht(), Ce = ht();
7090
+ const Z = ht(), Me = ht(), va = ht(), E = ht(), ce = ht(), xt = ht(), Ce = ht();
7091
7091
  function ht() {
7092
7092
  return 2 ** ++Gp;
7093
7093
  }
@@ -7099,7 +7099,7 @@ const br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7099
7099
  commaSeparated: xt,
7100
7100
  number: E,
7101
7101
  overloadedBoolean: va,
7102
- spaceSeparated: se
7102
+ spaceSeparated: ce
7103
7103
  }, Symbol.toStringTag, { value: "Module" })), tr = Object.keys(br);
7104
7104
  class Ur extends Re {
7105
7105
  /**
@@ -7183,36 +7183,36 @@ const ka = Tt({
7183
7183
  ariaColCount: E,
7184
7184
  ariaColIndex: E,
7185
7185
  ariaColSpan: E,
7186
- ariaControls: se,
7186
+ ariaControls: ce,
7187
7187
  ariaCurrent: null,
7188
- ariaDescribedBy: se,
7188
+ ariaDescribedBy: ce,
7189
7189
  ariaDetails: null,
7190
7190
  ariaDisabled: Me,
7191
- ariaDropEffect: se,
7191
+ ariaDropEffect: ce,
7192
7192
  ariaErrorMessage: null,
7193
7193
  ariaExpanded: Me,
7194
- ariaFlowTo: se,
7194
+ ariaFlowTo: ce,
7195
7195
  ariaGrabbed: Me,
7196
7196
  ariaHasPopup: null,
7197
7197
  ariaHidden: Me,
7198
7198
  ariaInvalid: null,
7199
7199
  ariaKeyShortcuts: null,
7200
7200
  ariaLabel: null,
7201
- ariaLabelledBy: se,
7201
+ ariaLabelledBy: ce,
7202
7202
  ariaLevel: E,
7203
7203
  ariaLive: null,
7204
7204
  ariaModal: Me,
7205
7205
  ariaMultiLine: Me,
7206
7206
  ariaMultiSelectable: Me,
7207
7207
  ariaOrientation: null,
7208
- ariaOwns: se,
7208
+ ariaOwns: ce,
7209
7209
  ariaPlaceholder: null,
7210
7210
  ariaPosInSet: E,
7211
7211
  ariaPressed: Me,
7212
7212
  ariaReadOnly: Me,
7213
7213
  ariaRelevant: null,
7214
7214
  ariaRequired: Me,
7215
- ariaRoleDescription: se,
7215
+ ariaRoleDescription: ce,
7216
7216
  ariaRowCount: E,
7217
7217
  ariaRowIndex: E,
7218
7218
  ariaRowSpan: E,
@@ -7239,8 +7239,8 @@ const ka = Tt({
7239
7239
  // Standard Properties.
7240
7240
  abbr: null,
7241
7241
  accept: xt,
7242
- acceptCharset: se,
7243
- accessKey: se,
7242
+ acceptCharset: ce,
7243
+ accessKey: ce,
7244
7244
  action: null,
7245
7245
  allow: null,
7246
7246
  allowFullScreen: Z,
@@ -7250,21 +7250,21 @@ const ka = Tt({
7250
7250
  as: null,
7251
7251
  async: Z,
7252
7252
  autoCapitalize: null,
7253
- autoComplete: se,
7253
+ autoComplete: ce,
7254
7254
  autoFocus: Z,
7255
7255
  autoPlay: Z,
7256
- blocking: se,
7256
+ blocking: ce,
7257
7257
  capture: null,
7258
7258
  charSet: null,
7259
7259
  checked: Z,
7260
7260
  cite: null,
7261
- className: se,
7261
+ className: ce,
7262
7262
  cols: E,
7263
7263
  colSpan: null,
7264
7264
  content: null,
7265
7265
  contentEditable: Me,
7266
7266
  controls: Z,
7267
- controlsList: se,
7267
+ controlsList: ce,
7268
7268
  coords: E | xt,
7269
7269
  crossOrigin: null,
7270
7270
  data: null,
@@ -7286,14 +7286,14 @@ const ka = Tt({
7286
7286
  formMethod: null,
7287
7287
  formNoValidate: Z,
7288
7288
  formTarget: null,
7289
- headers: se,
7289
+ headers: ce,
7290
7290
  height: E,
7291
7291
  hidden: Z,
7292
7292
  high: E,
7293
7293
  href: null,
7294
7294
  hrefLang: null,
7295
- htmlFor: se,
7296
- httpEquiv: se,
7295
+ htmlFor: ce,
7296
+ httpEquiv: ce,
7297
7297
  id: null,
7298
7298
  imageSizes: null,
7299
7299
  imageSrcSet: null,
@@ -7303,10 +7303,10 @@ const ka = Tt({
7303
7303
  is: null,
7304
7304
  isMap: Z,
7305
7305
  itemId: null,
7306
- itemProp: se,
7307
- itemRef: se,
7306
+ itemProp: ce,
7307
+ itemRef: ce,
7308
7308
  itemScope: Z,
7309
- itemType: se,
7309
+ itemType: ce,
7310
7310
  kind: null,
7311
7311
  label: null,
7312
7312
  lang: null,
@@ -7419,7 +7419,7 @@ const ka = Tt({
7419
7419
  open: Z,
7420
7420
  optimum: E,
7421
7421
  pattern: null,
7422
- ping: se,
7422
+ ping: ce,
7423
7423
  placeholder: null,
7424
7424
  playsInline: Z,
7425
7425
  popover: null,
@@ -7429,12 +7429,12 @@ const ka = Tt({
7429
7429
  preload: null,
7430
7430
  readOnly: Z,
7431
7431
  referrerPolicy: null,
7432
- rel: se,
7432
+ rel: ce,
7433
7433
  required: Z,
7434
7434
  reversed: Z,
7435
7435
  rows: E,
7436
7436
  rowSpan: E,
7437
- sandbox: se,
7437
+ sandbox: ce,
7438
7438
  scope: null,
7439
7439
  scoped: Z,
7440
7440
  seamless: Z,
@@ -7470,7 +7470,7 @@ const ka = Tt({
7470
7470
  // Several. Use CSS `text-align` instead,
7471
7471
  aLink: null,
7472
7472
  // `<body>`. Use CSS `a:active {color}` instead
7473
- archive: se,
7473
+ archive: ce,
7474
7474
  // `<object>`. List of URIs to archives
7475
7475
  axis: null,
7476
7476
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -7785,7 +7785,7 @@ const ka = Tt({
7785
7785
  by: null,
7786
7786
  calcMode: null,
7787
7787
  capHeight: E,
7788
- className: se,
7788
+ className: ce,
7789
7789
  clip: null,
7790
7790
  clipPath: null,
7791
7791
  clipPathUnits: null,
@@ -8020,7 +8020,7 @@ const ka = Tt({
8020
8020
  patternTransform: null,
8021
8021
  patternUnits: null,
8022
8022
  phase: null,
8023
- ping: se,
8023
+ ping: ce,
8024
8024
  pitch: null,
8025
8025
  playbackOrder: null,
8026
8026
  pointerEvents: null,
@@ -8548,7 +8548,7 @@ function Oa(e) {
8548
8548
  `[react-markdown] Warning: please ${a.to ? `use \`${a.to}\` instead of` : "remove"} \`${o}\` (see <${Ld}#${a.id}> for more info)`
8549
8549
  ), delete rn[o];
8550
8550
  }
8551
- const t = qs().use(tp).use(e.remarkPlugins || []).use($p, {
8551
+ const t = $s().use(tp).use(e.remarkPlugins || []).use(qp, {
8552
8552
  ...e.remarkRehypeOptions,
8553
8553
  allowDangerousHtml: !0
8554
8554
  }).use(e.rehypePlugins || []).use(ad, e), n = new Ko();
@@ -8666,19 +8666,19 @@ za.propTypes = {
8666
8666
  message: N.shape().isRequired,
8667
8667
  onFeedbackThumbSelection: N.func.isRequired
8668
8668
  };
8669
- const Pd = (e) => {
8669
+ const Fd = (e) => {
8670
8670
  Array.from(e.entries()).forEach((n) => {
8671
8671
  const r = n[0], i = n[1];
8672
8672
  r.toLocaleLowerCase().startsWith("utm_") && e.delete(r, i);
8673
8673
  });
8674
- }, Fd = (e) => {
8674
+ }, Pd = (e) => {
8675
8675
  e.delete("linked_from", "xpert_chat"), e.append("linked_from", "xpert_chat");
8676
8676
  };
8677
8677
  function _d(e) {
8678
8678
  const t = new URL(e), n = t.host;
8679
8679
  if (n == null ? void 0 : n.includes("edx.org")) {
8680
8680
  const i = t.searchParams;
8681
- Pd(i), Fd(i), t.search = i;
8681
+ Fd(i), Pd(i), t.search = i;
8682
8682
  }
8683
8683
  return t.toString();
8684
8684
  }
@@ -8778,7 +8778,7 @@ const Rd = Hr, La = () => {
8778
8778
  );
8779
8779
  };
8780
8780
  La.displayName = "ConversationScreenDisclaimer";
8781
- const Ud = La, qr = ({ loading: e, onPromptClick: t }) => {
8781
+ const Ud = La, $r = ({ loading: e, onPromptClick: t }) => {
8782
8782
  var i;
8783
8783
  const { primaryColor: n, conversationScreen: r } = We(Ge);
8784
8784
  return /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
@@ -8804,12 +8804,12 @@ const Ud = La, qr = ({ loading: e, onPromptClick: t }) => {
8804
8804
  })
8805
8805
  ] });
8806
8806
  };
8807
- qr.propTypes = {
8807
+ $r.propTypes = {
8808
8808
  loading: N.bool.isRequired,
8809
8809
  onPromptClick: N.func.isRequired
8810
8810
  };
8811
- qr.displayName = "PromptList";
8812
- const Bd = qr, $r = ({ message: e, isNormalSize: t }) => /* @__PURE__ */ k.jsx("div", { role: "status", className: "xpert-chatbot-popup__bubble--group", children: /* @__PURE__ */ k.jsx("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: /* @__PURE__ */ k.jsx(
8811
+ $r.displayName = "PromptList";
8812
+ const Bd = $r, qr = ({ message: e, isNormalSize: t }) => /* @__PURE__ */ k.jsx("div", { role: "status", className: "xpert-chatbot-popup__bubble--group", children: /* @__PURE__ */ k.jsx("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: /* @__PURE__ */ k.jsx(
8813
8813
  "div",
8814
8814
  {
8815
8815
  "data-testid": "message-container",
@@ -8818,12 +8818,12 @@ const Bd = qr, $r = ({ message: e, isNormalSize: t }) => /* @__PURE__ */ k.jsx("
8818
8818
  children: e
8819
8819
  }
8820
8820
  ) }) });
8821
- $r.propTypes = {
8821
+ qr.propTypes = {
8822
8822
  message: N.string.isRequired,
8823
8823
  isNormalSize: N.bool.isRequired
8824
8824
  };
8825
- $r.displayName = "SystemMessageBubble";
8826
- const Qd = $r, Vr = ({ content: e, isNormalSize: t }) => {
8825
+ qr.displayName = "SystemMessageBubble";
8826
+ const Qd = qr, Vr = ({ content: e, isNormalSize: t }) => {
8827
8827
  var i;
8828
8828
  const { primaryColor: n, conversationScreen: r } = We(Ge);
8829
8829
  return /* @__PURE__ */ k.jsx(
@@ -8925,7 +8925,7 @@ zn.defaultProps = {
8925
8925
  isNormalSize: !0
8926
8926
  };
8927
8927
  zn.displayName = "ConversationsMessages";
8928
- const Hd = zn, qd = () => {
8928
+ const Hd = zn, $d = () => {
8929
8929
  const e = tt(null);
8930
8930
  return Oe(() => {
8931
8931
  var t;
@@ -8988,8 +8988,8 @@ const Hd = zn, qd = () => {
8988
8988
  ]
8989
8989
  }
8990
8990
  );
8991
- }, rr = qd;
8992
- var Pa = { exports: {} };
8991
+ }, rr = $d;
8992
+ var Fa = { exports: {} };
8993
8993
  /*!
8994
8994
  Copyright (c) 2018 Jed Watson.
8995
8995
  Licensed under the MIT License (MIT), see
@@ -9024,9 +9024,9 @@ var Pa = { exports: {} };
9024
9024
  }
9025
9025
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
9026
9026
  })();
9027
- })(Pa);
9028
- var $d = Pa.exports;
9029
- const Fa = /* @__PURE__ */ nt($d), Vd = 991;
9027
+ })(Fa);
9028
+ var qd = Fa.exports;
9029
+ const Pa = /* @__PURE__ */ nt(qd), Vd = 991;
9030
9030
  function Wr({
9031
9031
  label: e,
9032
9032
  className: t,
@@ -9041,7 +9041,7 @@ function Wr({
9041
9041
  {
9042
9042
  type: "button",
9043
9043
  "aria-label": e,
9044
- className: Fa(
9044
+ className: Pa(
9045
9045
  {
9046
9046
  "xpert_chatbot__floating-action-btn__icon": !a,
9047
9047
  "xpert_chatbot__floating-action-btn__icon--mobile": a
@@ -9244,7 +9244,7 @@ var _a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
9244
9244
  getShadowRoot: n.getShadowRoot,
9245
9245
  shadowRootFilter: ah
9246
9246
  }) : r = Ua(t, n.includeContainer, vr.bind(null, n)), lh(r);
9247
- }, qa = function(t, n) {
9247
+ }, $a = function(t, n) {
9248
9248
  n = n || {};
9249
9249
  var r;
9250
9250
  return n.getShadowRoot ? r = Ba([t], n.includeContainer, {
@@ -9263,7 +9263,7 @@ var _a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
9263
9263
  };
9264
9264
  const sh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9265
9265
  __proto__: null,
9266
- focusable: qa,
9266
+ focusable: $a,
9267
9267
  getTabIndex: et,
9268
9268
  isFocusable: fn,
9269
9269
  isTabbable: ct,
@@ -9443,11 +9443,11 @@ var go = {
9443
9443
  return b;
9444
9444
  }, m = function() {
9445
9445
  if (a.containerGroups = a.containers.map(function(b) {
9446
- var I = Ha(b, o.tabbableOptions), z = qa(b, o.tabbableOptions), L = I.length > 0 ? I[0] : void 0, U = I.length > 0 ? I[I.length - 1] : void 0, _ = z.find(function(g) {
9446
+ var I = Ha(b, o.tabbableOptions), z = $a(b, o.tabbableOptions), L = I.length > 0 ? I[0] : void 0, U = I.length > 0 ? I[I.length - 1] : void 0, _ = z.find(function(g) {
9447
9447
  return ct(g);
9448
9448
  }), V = z.slice().reverse().find(function(g) {
9449
9449
  return ct(g);
9450
- }), ie = !!I.find(function(g) {
9450
+ }), re = !!I.find(function(g) {
9451
9451
  return et(g) > 0;
9452
9452
  });
9453
9453
  return {
@@ -9455,7 +9455,7 @@ var go = {
9455
9455
  tabbableNodes: I,
9456
9456
  focusableNodes: z,
9457
9457
  /** True if at least one node with positive `tabindex` was found in this container. */
9458
- posTabIndexesFound: ie,
9458
+ posTabIndexesFound: re,
9459
9459
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
9460
9460
  firstTabbableNode: L,
9461
9461
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
@@ -9479,12 +9479,12 @@ var go = {
9479
9479
  * in reverse.
9480
9480
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
9481
9481
  */
9482
- nextTabbableNode: function(fe) {
9483
- var ye = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, h = I.indexOf(fe);
9484
- return h < 0 ? ye ? z.slice(z.indexOf(fe) + 1).find(function(me) {
9485
- return ct(me);
9486
- }) : z.slice(0, z.indexOf(fe)).reverse().find(function(me) {
9487
- return ct(me);
9482
+ nextTabbableNode: function(ue) {
9483
+ var ye = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, h = I.indexOf(ue);
9484
+ return h < 0 ? ye ? z.slice(z.indexOf(ue) + 1).find(function(ge) {
9485
+ return ct(ge);
9486
+ }) : z.slice(0, z.indexOf(ue)).reverse().find(function(ge) {
9487
+ return ct(ge);
9488
9488
  }) : I[h + (ye ? 1 : -1)];
9489
9489
  }
9490
9490
  };
@@ -9518,29 +9518,29 @@ var go = {
9518
9518
  I = I || on(z), m();
9519
9519
  var _ = null;
9520
9520
  if (a.tabbableGroups.length > 0) {
9521
- var V = s(I, z), ie = V >= 0 ? a.containerGroups[V] : void 0;
9521
+ var V = s(I, z), re = V >= 0 ? a.containerGroups[V] : void 0;
9522
9522
  if (V < 0)
9523
9523
  U ? _ = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : _ = a.tabbableGroups[0].firstTabbableNode;
9524
9524
  else if (U) {
9525
- var g = yo(a.tabbableGroups, function(oe) {
9526
- var Te = oe.firstTabbableNode;
9525
+ var g = yo(a.tabbableGroups, function(ie) {
9526
+ var Te = ie.firstTabbableNode;
9527
9527
  return I === Te;
9528
9528
  });
9529
- if (g < 0 && (ie.container === I || fn(I, o.tabbableOptions) && !ct(I, o.tabbableOptions) && !ie.nextTabbableNode(I, !1)) && (g = V), g >= 0) {
9530
- var fe = g === 0 ? a.tabbableGroups.length - 1 : g - 1, ye = a.tabbableGroups[fe];
9529
+ if (g < 0 && (re.container === I || fn(I, o.tabbableOptions) && !ct(I, o.tabbableOptions) && !re.nextTabbableNode(I, !1)) && (g = V), g >= 0) {
9530
+ var ue = g === 0 ? a.tabbableGroups.length - 1 : g - 1, ye = a.tabbableGroups[ue];
9531
9531
  _ = et(I) >= 0 ? ye.lastTabbableNode : ye.lastDomTabbableNode;
9532
9532
  } else
9533
- Qt(z) || (_ = ie.nextTabbableNode(I, !1));
9533
+ Qt(z) || (_ = re.nextTabbableNode(I, !1));
9534
9534
  } else {
9535
- var h = yo(a.tabbableGroups, function(oe) {
9536
- var Te = oe.lastTabbableNode;
9535
+ var h = yo(a.tabbableGroups, function(ie) {
9536
+ var Te = ie.lastTabbableNode;
9537
9537
  return I === Te;
9538
9538
  });
9539
- if (h < 0 && (ie.container === I || fn(I, o.tabbableOptions) && !ct(I, o.tabbableOptions) && !ie.nextTabbableNode(I)) && (h = V), h >= 0) {
9540
- var me = h === a.tabbableGroups.length - 1 ? 0 : h + 1, De = a.tabbableGroups[me];
9539
+ if (h < 0 && (re.container === I || fn(I, o.tabbableOptions) && !ct(I, o.tabbableOptions) && !re.nextTabbableNode(I)) && (h = V), h >= 0) {
9540
+ var ge = h === a.tabbableGroups.length - 1 ? 0 : h + 1, De = a.tabbableGroups[ge];
9541
9541
  _ = et(I) >= 0 ? De.firstTabbableNode : De.firstDomTabbableNode;
9542
9542
  } else
9543
- Qt(z) || (_ = ie.nextTabbableNode(I));
9543
+ Qt(z) || (_ = re.nextTabbableNode(I));
9544
9544
  }
9545
9545
  } else
9546
9546
  _ = c("fallbackFocus");
@@ -9573,15 +9573,15 @@ var go = {
9573
9573
  if (et(a.mostRecentlyFocusedNode) > 0) {
9574
9574
  var _ = s(a.mostRecentlyFocusedNode), V = a.containerGroups[_].tabbableNodes;
9575
9575
  if (V.length > 0) {
9576
- var ie = V.findIndex(function(g) {
9576
+ var re = V.findIndex(function(g) {
9577
9577
  return g === a.mostRecentlyFocusedNode;
9578
9578
  });
9579
- ie >= 0 && (o.isKeyForward(a.recentNavEvent) ? ie + 1 < V.length && (L = V[ie + 1], U = !1) : ie - 1 >= 0 && (L = V[ie - 1], U = !1));
9579
+ re >= 0 && (o.isKeyForward(a.recentNavEvent) ? re + 1 < V.length && (L = V[re + 1], U = !1) : re - 1 >= 0 && (L = V[re - 1], U = !1));
9580
9580
  }
9581
9581
  } else
9582
9582
  a.containerGroups.some(function(g) {
9583
- return g.tabbableNodes.some(function(fe) {
9584
- return et(fe) > 0;
9583
+ return g.tabbableNodes.some(function(ue) {
9584
+ return et(ue) > 0;
9585
9585
  });
9586
9586
  }) || (U = !1);
9587
9587
  else
@@ -9608,7 +9608,7 @@ var go = {
9608
9608
  return;
9609
9609
  }
9610
9610
  (o.isKeyForward(b) || o.isKeyBackward(b)) && S(b, o.isKeyBackward(b));
9611
- }, $ = function(b) {
9611
+ }, q = function(b) {
9612
9612
  var I = on(b);
9613
9613
  s(I, b) >= 0 || Lt(o.clickOutsideDeactivates, b) || Lt(o.allowOutsideClick, b) || (b.preventDefault(), b.stopImmediatePropagation());
9614
9614
  }, M = function() {
@@ -9621,16 +9621,16 @@ var go = {
9621
9621
  }), r.addEventListener("touchstart", v, {
9622
9622
  capture: !0,
9623
9623
  passive: !1
9624
- }), r.addEventListener("click", $, {
9624
+ }), r.addEventListener("click", q, {
9625
9625
  capture: !0,
9626
9626
  passive: !1
9627
9627
  }), r.addEventListener("keydown", W, {
9628
9628
  capture: !0,
9629
9629
  passive: !1
9630
9630
  }), l;
9631
- }, P = function() {
9631
+ }, F = function() {
9632
9632
  if (a.active)
9633
- return r.removeEventListener("focusin", C, !0), r.removeEventListener("mousedown", v, !0), r.removeEventListener("touchstart", v, !0), r.removeEventListener("click", $, !0), r.removeEventListener("keydown", W, !0), l;
9633
+ return r.removeEventListener("focusin", C, !0), r.removeEventListener("mousedown", v, !0), r.removeEventListener("touchstart", v, !0), r.removeEventListener("click", q, !0), r.removeEventListener("keydown", W, !0), l;
9634
9634
  }, H = function(b) {
9635
9635
  var I = b.some(function(z) {
9636
9636
  var L = Array.from(z.removedNodes);
@@ -9672,7 +9672,7 @@ var go = {
9672
9672
  onPostDeactivate: o.onPostDeactivate,
9673
9673
  checkCanReturnFocus: o.checkCanReturnFocus
9674
9674
  }, b);
9675
- clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, P(), a.active = !1, a.paused = !1, K(), go.deactivateTrap(i, l);
9675
+ clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, F(), a.active = !1, a.paused = !1, K(), go.deactivateTrap(i, l);
9676
9676
  var z = u(I, "onDeactivate"), L = u(I, "onPostDeactivate"), U = u(I, "checkCanReturnFocus"), _ = u(I, "returnFocus", "returnFocusOnDeactivate");
9677
9677
  z == null || z();
9678
9678
  var V = function() {
@@ -9686,7 +9686,7 @@ var go = {
9686
9686
  if (a.paused || !a.active)
9687
9687
  return this;
9688
9688
  var I = u(b, "onPause"), z = u(b, "onPostPause");
9689
- return a.paused = !0, I == null || I(), P(), K(), z == null || z(), this;
9689
+ return a.paused = !0, I == null || I(), F(), K(), z == null || z(), this;
9690
9690
  },
9691
9691
  unpause: function(b) {
9692
9692
  if (!a.paused || !a.active)
@@ -9721,7 +9721,7 @@ function vh(e, t) {
9721
9721
  function Mo(e, t) {
9722
9722
  for (var n = 0; n < t.length; n++) {
9723
9723
  var r = t[n];
9724
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, $a(r.key), r);
9724
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, qa(r.key), r);
9725
9725
  }
9726
9726
  }
9727
9727
  function Dh(e, t, n) {
@@ -9754,9 +9754,9 @@ function Nh(e, t) {
9754
9754
  return t;
9755
9755
  if (t !== void 0)
9756
9756
  throw new TypeError("Derived constructors may only return object or undefined");
9757
- return Ft(e);
9757
+ return Pt(e);
9758
9758
  }
9759
- function Ft(e) {
9759
+ function Pt(e) {
9760
9760
  if (e === void 0)
9761
9761
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
9762
9762
  return e;
@@ -9779,9 +9779,9 @@ function xn(e) {
9779
9779
  }, xn(e);
9780
9780
  }
9781
9781
  function jh(e, t, n) {
9782
- return t = $a(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
9782
+ return t = qa(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
9783
9783
  }
9784
- function $a(e) {
9784
+ function qa(e) {
9785
9785
  var t = Eh(e, "string");
9786
9786
  return wt(t) === "symbol" ? t : String(t);
9787
9787
  }
@@ -9802,7 +9802,7 @@ var an = ve, B = Q, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusab
9802
9802
  var t = Ih(n);
9803
9803
  function n(r) {
9804
9804
  var i;
9805
- vh(this, n), i = t.call(this, r), jh(Ft(i), "getNodeForOption", function(l) {
9805
+ vh(this, n), i = t.call(this, r), jh(Pt(i), "getNodeForOption", function(l) {
9806
9806
  var u, s = (u = this.internalOptions[l]) !== null && u !== void 0 ? u : this.originalOptions[l];
9807
9807
  if (typeof s == "function") {
9808
9808
  for (var c = arguments.length, p = new Array(c > 1 ? c - 1 : 0), m = 1; m < c; m++)
@@ -9821,7 +9821,7 @@ var an = ve, B = Q, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusab
9821
9821
  throw new Error("`".concat(l, "` as selector refers to no known node"));
9822
9822
  }
9823
9823
  return d;
9824
- }), i.handleDeactivate = i.handleDeactivate.bind(Ft(i)), i.handlePostDeactivate = i.handlePostDeactivate.bind(Ft(i)), i.handleClickOutsideDeactivates = i.handleClickOutsideDeactivates.bind(Ft(i)), i.internalOptions = {
9824
+ }), i.handleDeactivate = i.handleDeactivate.bind(Pt(i)), i.handlePostDeactivate = i.handlePostDeactivate.bind(Pt(i)), i.handleClickOutsideDeactivates = i.handleClickOutsideDeactivates.bind(Pt(i)), i.internalOptions = {
9825
9825
  // We need to hijack the returnFocusOnDeactivate option,
9826
9826
  // because React can move focus into the element before we arrived at
9827
9827
  // this lifecycle hook (e.g. with autoFocus inputs). So the component
@@ -9984,7 +9984,7 @@ var an = ve, B = Q, Ah = bh, Ch = Ah.createFocusTrap, Sh = wh, Oh = Sh.isFocusab
9984
9984
  return null;
9985
9985
  }
9986
9986
  }]), n;
9987
- }(an.Component), Pt = typeof Element > "u" ? Function : Element;
9987
+ }(an.Component), Ft = typeof Element > "u" ? Function : Element;
9988
9988
  Gr.propTypes = {
9989
9989
  active: B.bool,
9990
9990
  paused: B.bool,
@@ -10000,9 +10000,9 @@ Gr.propTypes = {
10000
10000
  onDeactivate: B.func,
10001
10001
  onPostDeactivate: B.func,
10002
10002
  checkCanReturnFocus: B.func,
10003
- initialFocus: B.oneOfType([B.instanceOf(Pt), B.string, B.bool, B.func]),
10003
+ initialFocus: B.oneOfType([B.instanceOf(Ft), B.string, B.bool, B.func]),
10004
10004
  fallbackFocus: B.oneOfType([
10005
- B.instanceOf(Pt),
10005
+ B.instanceOf(Ft),
10006
10006
  B.string,
10007
10007
  // NOTE: does not support `false` as value (or return value from function)
10008
10008
  B.func
@@ -10010,7 +10010,7 @@ Gr.propTypes = {
10010
10010
  escapeDeactivates: B.oneOfType([B.bool, B.func]),
10011
10011
  clickOutsideDeactivates: B.oneOfType([B.bool, B.func]),
10012
10012
  returnFocusOnDeactivate: B.bool,
10013
- setReturnFocus: B.oneOfType([B.instanceOf(Pt), B.string, B.bool, B.func]),
10013
+ setReturnFocus: B.oneOfType([B.instanceOf(Ft), B.string, B.bool, B.func]),
10014
10014
  allowOutsideClick: B.oneOfType([B.bool, B.func]),
10015
10015
  preventScroll: B.bool,
10016
10016
  tabbableOptions: B.shape({
@@ -10021,12 +10021,12 @@ Gr.propTypes = {
10021
10021
  isKeyForward: B.func,
10022
10022
  isKeyBackward: B.func
10023
10023
  }),
10024
- containerElements: B.arrayOf(B.instanceOf(Pt)),
10024
+ containerElements: B.arrayOf(B.instanceOf(Ft)),
10025
10025
  // DOM element ONLY
10026
10026
  children: B.oneOfType([
10027
10027
  B.element,
10028
10028
  // React element
10029
- B.instanceOf(Pt)
10029
+ B.instanceOf(Ft)
10030
10030
  // DOM element
10031
10031
  ])
10032
10032
  // NOTE: _createFocusTrap is internal, for testing purposes only, so we don't
@@ -10041,7 +10041,7 @@ Gr.defaultProps = {
10041
10041
  };
10042
10042
  var zh = Gr;
10043
10043
  const Lh = /* @__PURE__ */ nt(zh);
10044
- const Ph = 991;
10044
+ const Fh = 991;
10045
10045
  function Zr({
10046
10046
  style: e,
10047
10047
  className: t,
@@ -10049,7 +10049,7 @@ function Zr({
10049
10049
  isNormalSize: r,
10050
10050
  isMounted: i
10051
10051
  }) {
10052
- const o = vt(Ph), a = tt(null);
10052
+ const o = vt(Fh), a = tt(null);
10053
10053
  return /* @__PURE__ */ k.jsx(
10054
10054
  Lh,
10055
10055
  {
@@ -10066,7 +10066,7 @@ function Zr({
10066
10066
  tabIndex: -1,
10067
10067
  role: "dialog",
10068
10068
  "aria-modal": !0,
10069
- className: Fa(
10069
+ className: Pa(
10070
10070
  {
10071
10071
  "xpert_chatbot__floating-popup": !o,
10072
10072
  "xpert_chatbot__floating-popup--mobile": o,
@@ -10095,7 +10095,7 @@ Zr.defaultProps = {
10095
10095
  isNormalSize: !0,
10096
10096
  isMounted: !1
10097
10097
  };
10098
- const Fh = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik00NDAtMTIwdi04MGgzMjB2LTI4NHEwLTExNy04MS41LTE5OC41VDQ4MC03NjRxLTExNyAwLTE5OC41IDgxLjVUMjAwLTQ4NHYyNDRoLTQwcS0zMyAwLTU2LjUtMjMuNVQ4MC0zMjB2LTgwcTAtMjEgMTAuNS0zOS41VDEyMC00NjlsMy01M3E4LTY4IDM5LjUtMTI2dDc5LTEwMXE0Ny41LTQzIDEwOS02N1Q0ODAtODQwcTY4IDAgMTI5IDI0dDEwOSA2Ni41UTc2Ni03MDcgNzk3LTY0OXQ0MCAxMjZsMyA1MnExOSA5IDI5LjUgMjd0MTAuNSAzOHY5MnEwIDIwLTEwLjUgMzhUODQwLTI0OXY0OXEwIDMzLTIzLjUgNTYuNVQ3NjAtMTIwSDQ0MFptLTgwLTI4MHEtMTcgMC0yOC41LTExLjVUMzIwLTQ0MHEwLTE3IDExLjUtMjguNVQzNjAtNDgwcTE3IDAgMjguNSAxMS41VDQwMC00NDBxMCAxNy0xMS41IDI4LjVUMzYwLTQwMFptMjQwIDBxLTE3IDAtMjguNS0xMS41VDU2MC00NDBxMC0xNyAxMS41LTI4LjVUNjAwLTQ4MHExNyAwIDI4LjUgMTEuNVQ2NDAtNDQwcTAgMTctMTEuNSAyOC41VDYwMC00MDBabS0zNTktNjJxLTctMTA2IDY0LTE4MnQxNzctNzZxODkgMCAxNTYuNSA1Ni41VDcyMC01MTlxLTkxLTEtMTY3LjUtNDlUNDM1LTY5OHEtMTYgODAtNjcuNSAxNDIuNVQyNDEtNDYyWiIvPjwvc3ZnPg==";
10098
+ const Ph = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik00NDAtMTIwdi04MGgzMjB2LTI4NHEwLTExNy04MS41LTE5OC41VDQ4MC03NjRxLTExNyAwLTE5OC41IDgxLjVUMjAwLTQ4NHYyNDRoLTQwcS0zMyAwLTU2LjUtMjMuNVQ4MC0zMjB2LTgwcTAtMjEgMTAuNS0zOS41VDEyMC00NjlsMy01M3E4LTY4IDM5LjUtMTI2dDc5LTEwMXE0Ny41LTQzIDEwOS02N1Q0ODAtODQwcTY4IDAgMTI5IDI0dDEwOSA2Ni41UTc2Ni03MDcgNzk3LTY0OXQ0MCAxMjZsMyA1MnExOSA5IDI5LjUgMjd0MTAuNSAzOHY5MnEwIDIwLTEwLjUgMzhUODQwLTI0OXY0OXEwIDMzLTIzLjUgNTYuNVQ3NjAtMTIwSDQ0MFptLTgwLTI4MHEtMTcgMC0yOC41LTExLjVUMzIwLTQ0MHEwLTE3IDExLjUtMjguNVQzNjAtNDgwcTE3IDAgMjguNSAxMS41VDQwMC00NDBxMCAxNy0xMS41IDI4LjVUMzYwLTQwMFptMjQwIDBxLTE3IDAtMjguNS0xMS41VDU2MC00NDBxMC0xNyAxMS41LTI4LjVUNjAwLTQ4MHExNyAwIDI4LjUgMTEuNVQ2NDAtNDQwcTAgMTctMTEuNSAyOC41VDYwMC00MDBabS0zNTktNjJxLTctMTA2IDY0LTE4MnQxNzctNzZxODkgMCAxNTYuNSA1Ni41VDcyMC01MTlxLTkxLTEtMTY3LjUtNDlUNDM1LTY5OHEtMTYgODAtNjcuNSAxNDIuNVQyNDEtNDYyWiIvPjwvc3ZnPg==";
10099
10099
  function Kr({ submitEvent: e, setLiveChatOpen: t, isTestUser: n }) {
10100
10100
  const [r, i] = we(!0), { primaryColor: o, xpertKey: a, userTracking: l, conversationScreen: u } = We(Ge), s = Yt(
10101
10101
  (m) => {
@@ -10168,7 +10168,7 @@ function Kr({ submitEvent: e, setLiveChatOpen: t, isTestUser: n }) {
10168
10168
  {
10169
10169
  height: "24px",
10170
10170
  width: "24px",
10171
- src: Fh,
10171
+ src: Ph,
10172
10172
  alt: "Open live chat window icon"
10173
10173
  }
10174
10174
  )
@@ -10377,7 +10377,7 @@ const Yh = 991, Hh = () => {
10377
10377
  children: t.message.text
10378
10378
  }
10379
10379
  ) : null;
10380
- }, qh = Hh, $h = {
10380
+ }, $h = Hh, qh = {
10381
10381
  edx: Wo,
10382
10382
  "speech-emerson": ir,
10383
10383
  "get-smarter": ir,
@@ -10393,22 +10393,17 @@ function Xr({ submitEventExternal: e }) {
10393
10393
  launchButton: o,
10394
10394
  proactiveMessage: a,
10395
10395
  conversationScreen: l
10396
- } = We(Ge), u = vt(Vh), [, s] = we(!1), [c, p] = we(Wh), [m, d] = we(!1), [T, x] = we(!1), [j, v] = we(!1), [C, S] = we(""), [W, $] = we(!1), [M, P] = we(!0), [H, G] = we(!1), [K, A] = we(!1), [b, I] = we(!1), z = tt(null), L = tt(null), U = tt(null), _ = He.get(`${t}-test`) === "1", V = Yt(
10397
- ({ name: R, payload: ne }) => {
10398
- console.log(
10399
- "xcf userTracking.defaultProperties",
10400
- r == null ? void 0 : r.defaultProperties,
10401
- ne
10402
- );
10403
- const he = No(r == null ? void 0 : r.defaultProperties, ne);
10404
- console.log("xcf resolvedPayload", he), e ? (console.log("xcf x1"), e({ name: R, payload: he })) : (console.log("xcf x2"), U.current.track(
10396
+ } = We(Ge), u = vt(Vh), [, s] = we(!1), [c, p] = we(Wh), [m, d] = we(!1), [T, x] = we(!1), [j, v] = we(!1), [C, S] = we(""), [W, q] = we(!1), [M, F] = we(!0), [H, G] = we(!1), [K, A] = we(!1), [b, I] = we(!1), z = tt(null), L = tt(null), U = tt(null), _ = He.get(`${t}-test`) === "1", V = Yt(
10397
+ ({ name: R, payload: oe }) => {
10398
+ const me = No(r == null ? void 0 : r.defaultProperties, oe);
10399
+ e ? e({ name: R, payload: me }) : U.current.track(
10405
10400
  // TODO: this is untestable - create a custom hook to get submit event function.
10406
10401
  R,
10407
- he
10408
- ));
10402
+ me
10403
+ );
10409
10404
  },
10410
10405
  [e, r.defaultProperties]
10411
- ), ie = Yt(async () => {
10406
+ ), re = Yt(async () => {
10412
10407
  if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
10413
10408
  try {
10414
10409
  const R = He.get(
@@ -10417,7 +10412,7 @@ function Xr({ submitEventExternal: e }) {
10417
10412
  if (!R)
10418
10413
  return;
10419
10414
  d(!0);
10420
- const ne = await fetch(
10415
+ const oe = await fetch(
10421
10416
  `${n.endpoint}/xpert-chat/${R}`,
10422
10417
  {
10423
10418
  method: "GET",
@@ -10426,16 +10421,16 @@ function Xr({ submitEventExternal: e }) {
10426
10421
  }
10427
10422
  }
10428
10423
  );
10429
- if (ne.status === 404) {
10424
+ if (oe.status === 404) {
10430
10425
  He.remove(`${t}-conversation-history-id`);
10431
10426
  return;
10432
10427
  }
10433
- if (!ne.ok)
10434
- throw new rr(`HTTPError: ${ne.status} ${ne.statusText}`);
10435
- const he = await ne.json();
10428
+ if (!oe.ok)
10429
+ throw new rr(`HTTPError: ${oe.status} ${oe.statusText}`);
10430
+ const me = await oe.json();
10436
10431
  p(
10437
- he.map((ge) => ({
10438
- ...ge,
10432
+ me.map((he) => ({
10433
+ ...he,
10439
10434
  disableFeedback: !0
10440
10435
  }))
10441
10436
  ), A(!0), I(!0);
@@ -10445,16 +10440,16 @@ function Xr({ submitEventExternal: e }) {
10445
10440
  d(!1);
10446
10441
  }
10447
10442
  }, [t, n.endpoint]);
10448
- Rh(ie), Oe(() => {
10443
+ Rh(re), Oe(() => {
10449
10444
  console.log("Chatbot - mount");
10450
- let R, ne;
10445
+ let R, oe;
10451
10446
  return r.enabled && (R = setInterval(() => {
10452
- var ge;
10453
- console.log("Chatbot - intervalCheckForScripts"), (ge = window.analytics) != null && ge.track && (!i.enabled || i.enabled && window.optimizely && window.experiments) && (console.log("Chatbot - intervalCheckForScripts all found"), U.current = window.analytics, clearInterval(R), clearTimeout(ne), s(!0));
10454
- }, 1e3), ne = setTimeout(() => {
10447
+ var he;
10448
+ console.log("Chatbot - intervalCheckForScripts"), (he = window.analytics) != null && he.track && (!i.enabled || i.enabled && window.optimizely && window.experiments) && (console.log("Chatbot - intervalCheckForScripts all found"), U.current = window.analytics, clearInterval(R), clearTimeout(oe), s(!0));
10449
+ }, 1e3), oe = setTimeout(() => {
10455
10450
  clearInterval(R);
10456
10451
  }, 6e4)), () => {
10457
- console.log("Chatbot - unmount"), clearInterval(R), clearTimeout(ne);
10452
+ console.log("Chatbot - unmount"), clearInterval(R), clearTimeout(oe);
10458
10453
  };
10459
10454
  }, [
10460
10455
  i.enabled,
@@ -10463,29 +10458,31 @@ function Xr({ submitEventExternal: e }) {
10463
10458
  r.prefix
10464
10459
  ]);
10465
10460
  const g = (R) => {
10466
- var ne, he;
10467
- (ne = R == null ? void 0 : R.target) != null && ne.href && V({
10461
+ var oe, me;
10462
+ (oe = R == null ? void 0 : R.target) != null && oe.href && V({
10468
10463
  name: `${r.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
10469
10464
  payload: {
10470
10465
  category: "2u",
10471
10466
  label: "xpert-chatbot",
10472
- link: (he = R == null ? void 0 : R.target) == null ? void 0 : he.href,
10467
+ link: (me = R == null ? void 0 : R.target) == null ? void 0 : me.href,
10473
10468
  isTestUser: _
10474
10469
  }
10475
10470
  });
10476
- }, fe = _h(
10471
+ }, ue = _h(
10477
10472
  i.experimentName
10478
10473
  );
10479
- if (i.experimentName && fe !== "A" && !_)
10480
- return i.experimentName && fe !== "A" && console.log(
10481
- `Chatbot - Experiment not setup: ${t}, ${fe}, ${window.optimizely}`
10474
+ if (i.experimentName && ue !== "A" && !_)
10475
+ return i.experimentName && ue !== "A" && console.log(
10476
+ `Chatbot - Experiment not setup: ${t}, ${ue}, ${window.optimizely}`
10482
10477
  ), _ || console.log(`Chatbot - Test user not setup: ${t}, ${_}`), null;
10483
10478
  if (r.prefix && !((gt = U == null ? void 0 : U.current) != null && gt.track) && !e)
10484
10479
  return console.log(`Chatbot - Segment not setup: ${t}`), null;
10485
- console.log(`Chatbot - All things setup: ${JSON.stringify(r)}`);
10480
+ console.log(
10481
+ `Chatbot - All things setup: ${t}, ${typeof window.analytics}, ${ue}, ${typeof window.optimizely}, ${typeof window.experiments}`
10482
+ );
10486
10483
  const ye = () => {
10487
10484
  S(""), L.current.value = "", L.current.style.height = "auto";
10488
- }, h = (R, ne) => {
10485
+ }, h = (R, oe) => {
10489
10486
  V({
10490
10487
  name: `${r.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
10491
10488
  payload: {
@@ -10494,14 +10491,14 @@ function Xr({ submitEventExternal: e }) {
10494
10491
  linkCount: Bh(R),
10495
10492
  apiResponseMessage: R,
10496
10493
  isTestUser: _,
10497
- conversationHistoryId: ne
10494
+ conversationHistoryId: oe
10498
10495
  }
10499
10496
  });
10500
- }, me = ({
10497
+ }, ge = ({
10501
10498
  conversationSize: R,
10502
- userInputMessage: ne,
10503
- apiResponseMessage: he,
10504
- elapsedSeconds: ge,
10499
+ userInputMessage: oe,
10500
+ apiResponseMessage: me,
10501
+ elapsedSeconds: he,
10505
10502
  conversationByteSize: je
10506
10503
  }) => {
10507
10504
  V({
@@ -10511,9 +10508,9 @@ function Xr({ submitEventExternal: e }) {
10511
10508
  label: "xpert-chatbot",
10512
10509
  isTestUser: _,
10513
10510
  conversationSize: R,
10514
- userInputMessage: ne,
10515
- apiResponseMessage: he,
10516
- elapsedSeconds: ge,
10511
+ userInputMessage: oe,
10512
+ apiResponseMessage: me,
10513
+ elapsedSeconds: he,
10517
10514
  conversationByteSize: je
10518
10515
  }
10519
10516
  });
@@ -10521,21 +10518,21 @@ function Xr({ submitEventExternal: e }) {
10521
10518
  try {
10522
10519
  if (R.trim().length === 0)
10523
10520
  return;
10524
- const ne = /* @__PURE__ */ new Date();
10525
- I(!1), $(!1);
10526
- const he = c.filter((D) => D.role === "user").length + 1;
10521
+ const oe = /* @__PURE__ */ new Date();
10522
+ I(!1), q(!1);
10523
+ const me = c.filter((D) => D.role === "user").length + 1;
10527
10524
  V({
10528
10525
  name: `${r.prefix}.bi.xpert.chatbot.popup.chat.message.sent`,
10529
10526
  payload: {
10530
10527
  category: "2u",
10531
10528
  label: "xpert-chatbot",
10532
- totalUserInputMessagesSent: he,
10529
+ totalUserInputMessagesSent: me,
10533
10530
  userInputMessage: R,
10534
10531
  isTestUser: _
10535
10532
  }
10536
10533
  }), ye();
10537
- let ge = He.get(`${t}-conversation-history-id`) || "";
10538
- !ge && l.conversationHistory.enabled ? p([
10534
+ let he = He.get(`${t}-conversation-history-id`) || "";
10535
+ !he && l.conversationHistory.enabled ? p([
10539
10536
  {
10540
10537
  role: "user",
10541
10538
  content: R
@@ -10560,7 +10557,7 @@ function Xr({ submitEventExternal: e }) {
10560
10557
  method: "POST",
10561
10558
  headers: {
10562
10559
  "Content-Type": "application/json",
10563
- "Conversation-History-Id": ge
10560
+ "Conversation-History-Id": he
10564
10561
  },
10565
10562
  body: JSON.stringify({
10566
10563
  message_list: je,
@@ -10569,20 +10566,20 @@ function Xr({ submitEventExternal: e }) {
10569
10566
  });
10570
10567
  if (!xe.ok)
10571
10568
  throw new rr(`HTTPError: ${xe.status} ${xe.statusText}`);
10572
- ge = xe.headers.get("Conversation-History-Id"), ge && He.set(
10569
+ he = xe.headers.get("Conversation-History-Id"), he && He.set(
10573
10570
  `${t}-conversation-history-id`,
10574
- ge,
10571
+ he,
10575
10572
  { expires: 1 }
10576
10573
  );
10577
10574
  const Xe = (await xe.json()).content;
10578
- h(Xe, ge);
10575
+ h(Xe, he);
10579
10576
  const jt = /* @__PURE__ */ new Date();
10580
- me({
10577
+ ge({
10581
10578
  conversationByteSize: Qh(JSON.stringify(je)),
10582
10579
  conversationSize: c.length + 2,
10583
10580
  userInputMessage: R,
10584
10581
  apiResponseMessage: Xe,
10585
- elapsedSeconds: Uh(ne, jt)
10582
+ elapsedSeconds: Uh(oe, jt)
10586
10583
  }), p((D) => [
10587
10584
  ...D,
10588
10585
  {
@@ -10591,10 +10588,10 @@ function Xr({ submitEventExternal: e }) {
10591
10588
  createdAt: /* @__PURE__ */ new Date()
10592
10589
  }
10593
10590
  ]), A(!1), d(!1), ye(), I(!0);
10594
- } catch (ne) {
10595
- d(!1), ye(), $(!0), console.error(ne);
10591
+ } catch (oe) {
10592
+ d(!1), ye(), q(!0), console.error(oe);
10596
10593
  }
10597
- }, oe = () => {
10594
+ }, ie = () => {
10598
10595
  v(!1), x(!0), V({
10599
10596
  name: `${r.prefix}.bi.xpert.chatbot.action.button.clicked`,
10600
10597
  payload: {
@@ -10611,7 +10608,7 @@ function Xr({ submitEventExternal: e }) {
10611
10608
  label: "xpert-chatbot",
10612
10609
  isTestUser: _
10613
10610
  }
10614
- }), P(R);
10611
+ }), F(R);
10615
10612
  }, be = () => {
10616
10613
  x(!0), V({
10617
10614
  name: `${r.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
@@ -10650,9 +10647,9 @@ function Xr({ submitEventExternal: e }) {
10650
10647
  S(R.target.value);
10651
10648
  }, It = (R) => {
10652
10649
  R.key === "Enter" && C.trim() === "" || R.key === "Enter" && !R.shiftKey && (R.preventDefault(), De(C));
10653
- }, Nt = (R, ne = "") => {
10654
- const he = c.map((ge, je) => R === je ? (V({
10655
- name: `${r.prefix}.bi.xpert.chatbot.feedback.thumbs.${ne.toLowerCase()}.clicked`,
10650
+ }, Nt = (R, oe = "") => {
10651
+ const me = c.map((he, je) => R === je ? (V({
10652
+ name: `${r.prefix}.bi.xpert.chatbot.feedback.thumbs.${oe.toLowerCase()}.clicked`,
10656
10653
  payload: {
10657
10654
  category: "2u",
10658
10655
  label: "xpert-chatbot",
@@ -10662,10 +10659,10 @@ function Xr({ submitEventExternal: e }) {
10662
10659
  isTestUser: _
10663
10660
  }
10664
10661
  }), {
10665
- ...ge,
10666
- feedbackThumbType: ne
10667
- }) : ge);
10668
- p(he), A(!1);
10662
+ ...he,
10663
+ feedbackThumbType: oe
10664
+ }) : he);
10665
+ p(me), A(!1);
10669
10666
  };
10670
10667
  return (
10671
10668
  // do not remove this class as it's needed to turn off chatbot
@@ -10700,7 +10697,7 @@ function Xr({ submitEventExternal: e }) {
10700
10697
  /* @__PURE__ */ k.jsx(
10701
10698
  Wr,
10702
10699
  {
10703
- onClick: oe,
10700
+ onClick: ie,
10704
10701
  label: "Open XPERT Chatbot",
10705
10702
  style: u ? { ...(ot = o.style) == null ? void 0 : ot.mobile } : { ...o.style },
10706
10703
  "aria-haspopup": "dialog",
@@ -10711,7 +10708,7 @@ function Xr({ submitEventExternal: e }) {
10711
10708
  {
10712
10709
  "data-ot-ignore": "",
10713
10710
  className: "xpert-chatbot-button__logo optanon-category-C0001",
10714
- src: $h[t],
10711
+ src: qh[t],
10715
10712
  alt: "xpert logo",
10716
10713
  "aria-hidden": !0,
10717
10714
  style: { width: (at = o.style) == null ? void 0 : at.iconWidth }
@@ -10719,7 +10716,7 @@ function Xr({ submitEventExternal: e }) {
10719
10716
  )
10720
10717
  }
10721
10718
  ),
10722
- /* @__PURE__ */ k.jsx(qh, {})
10719
+ /* @__PURE__ */ k.jsx($h, {})
10723
10720
  ] }),
10724
10721
  T && !j && /* @__PURE__ */ k.jsx(Zr, { isNormalSize: M, isMounted: H, children: /* @__PURE__ */ k.jsx(
10725
10722
  "div",