@2uinc/frontend-component-xpert-chatbot 1.14.1-beta.1 → 1.14.1-beta.2

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 +733 -729
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import tt, { createContext as is, useMemo as os, useState as ye, useEffect as Me, useContext as Ae, useRef as We, forwardRef as Do, createElement as sr, useCallback as Ht } from "react";
1
+ import nt, { createContext as is, useMemo as os, useState as ye, useEffect as Me, useContext as Oe, useRef as We, forwardRef as Do, createElement as sr, useCallback as Ht } from "react";
2
2
  const as = {
3
3
  xpertKey: "edx",
4
4
  chatApi: {
@@ -488,7 +488,7 @@ const as = {
488
488
  }
489
489
  };
490
490
  var en = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
491
- function nt(e) {
491
+ function rt(e) {
492
492
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
493
493
  }
494
494
  function Io(e) {
@@ -555,7 +555,7 @@ hs();
555
555
  * This source code is licensed under the MIT license found in the
556
556
  * LICENSE file in the root directory of this source tree.
557
557
  */
558
- var gs = tt, ko = 60103;
558
+ var gs = nt, ko = 60103;
559
559
  Vt.Fragment = 60107;
560
560
  if (typeof Symbol == "function" && Symbol.for) {
561
561
  var hi = Symbol.for;
@@ -646,7 +646,7 @@ function ur(e, t) {
646
646
  }
647
647
  );
648
648
  }
649
- var Fe = ur(bs, { path: "/" }), Eo = { exports: {} }, xs = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", ws = xs, vs = ws;
649
+ var Re = ur(bs, { path: "/" }), Eo = { exports: {} }, xs = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", ws = xs, vs = ws;
650
650
  function Co() {
651
651
  }
652
652
  function Ao() {
@@ -692,19 +692,19 @@ var Ts = function() {
692
692
  };
693
693
  Eo.exports = Ts();
694
694
  var U = Eo.exports;
695
- const I = /* @__PURE__ */ nt(U);
695
+ const I = /* @__PURE__ */ rt(U);
696
696
  var dn = { exports: {} };
697
697
  dn.exports;
698
698
  (function(e, t) {
699
- var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", p = "[object Date]", m = "[object Error]", f = "[object Function]", v = "[object GeneratorFunction]", x = "[object Map]", k = "[object Number]", M = "[object Null]", z = "[object Object]", E = "[object Proxy]", _ = "[object RegExp]", B = "[object Set]", b = "[object String]", L = "[object Undefined]", $ = "[object WeakMap]", W = "[object ArrayBuffer]", K = "[object DataView]", A = "[object Float32Array]", w = "[object Float64Array]", j = "[object Int8Array]", O = "[object Int16Array]", F = "[object Int32Array]", Q = "[object Uint8Array]", V = "[object Uint8ClampedArray]", q = "[object Uint16Array]", X = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, he = /^\[object .+?Constructor\]$/, be = /^(?:0|[1-9]\d*)$/, h = {};
700
- h[A] = h[w] = h[j] = h[O] = h[F] = h[Q] = h[V] = h[q] = h[X] = !0, h[l] = h[s] = h[W] = h[c] = h[K] = h[p] = h[m] = h[f] = h[x] = h[k] = h[z] = h[_] = h[B] = h[b] = h[$] = !1;
701
- var ge = typeof en == "object" && en && en.Object === Object && en, Ne = typeof self == "object" && self && self.Object === Object && self, re = ge || Ne || Function("return this")(), we = t && !t.nodeType && t, ve = we && !0 && e && !e.nodeType && e, Be = ve && ve.exports === we, Oe = Be && ge.process, Xe = function() {
699
+ var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", p = "[object Date]", m = "[object Error]", f = "[object Function]", v = "[object GeneratorFunction]", x = "[object Map]", k = "[object Number]", M = "[object Null]", z = "[object Object]", E = "[object Proxy]", F = "[object RegExp]", B = "[object Set]", b = "[object String]", L = "[object Undefined]", $ = "[object WeakMap]", W = "[object ArrayBuffer]", J = "[object DataView]", A = "[object Float32Array]", w = "[object Float64Array]", j = "[object Int8Array]", O = "[object Int16Array]", P = "[object Int32Array]", Q = "[object Uint8Array]", V = "[object Uint8ClampedArray]", q = "[object Uint16Array]", X = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, ge = /^\[object .+?Constructor\]$/, be = /^(?:0|[1-9]\d*)$/, h = {};
700
+ h[A] = h[w] = h[j] = h[O] = h[P] = h[Q] = h[V] = h[q] = h[X] = !0, h[l] = h[s] = h[W] = h[c] = h[J] = h[p] = h[m] = h[f] = h[x] = h[k] = h[z] = h[F] = h[B] = h[b] = h[$] = !1;
701
+ var me = typeof en == "object" && en && en.Object === Object && en, ke = typeof self == "object" && self && self.Object === Object && self, re = me || ke || Function("return this")(), we = t && !t.nodeType && t, ve = we && !0 && e && !e.nodeType && e, Ye = ve && ve.exports === we, Le = Ye && me.process, Ke = function() {
702
702
  try {
703
703
  var d = ve && ve.require && ve.require("util").types;
704
- return d || Oe && Oe.binding && Oe.binding("util");
704
+ return d || Le && Le.binding && Le.binding("util");
705
705
  } catch {
706
706
  }
707
- }(), ot = Xe && Xe.isTypedArray;
707
+ }(), at = Ke && Ke.isTypedArray;
708
708
  function Nt(d, y, T) {
709
709
  switch (T.length) {
710
710
  case 0:
@@ -719,52 +719,52 @@ dn.exports;
719
719
  return d.apply(y, T);
720
720
  }
721
721
  function kt(d, y) {
722
- for (var T = -1, P = Array(d); ++T < d; )
723
- P[T] = y(T);
724
- return P;
722
+ for (var T = -1, R = Array(d); ++T < d; )
723
+ R[T] = y(T);
724
+ return R;
725
725
  }
726
726
  function jt(d) {
727
727
  return function(y) {
728
728
  return d(y);
729
729
  };
730
730
  }
731
- function Ke(d, y) {
731
+ function Je(d, y) {
732
732
  return d == null ? void 0 : d[y];
733
733
  }
734
- function gt(d, y) {
734
+ function mt(d, y) {
735
735
  return function(T) {
736
736
  return d(y(T));
737
737
  };
738
738
  }
739
- var at = Array.prototype, mt = Function.prototype, R = Object.prototype, ee = re["__core-js_shared__"], me = mt.toString, le = R.hasOwnProperty, Qe = function() {
740
- var d = /[^.]+$/.exec(ee && ee.keys && ee.keys.IE_PROTO || "");
739
+ var lt = Array.prototype, yt = Function.prototype, _ = Object.prototype, K = re["__core-js_shared__"], fe = yt.toString, oe = _.hasOwnProperty, Te = function() {
740
+ var d = /[^.]+$/.exec(K && K.keys && K.keys.IE_PROTO || "");
741
741
  return d ? "Symbol(src)_1." + d : "";
742
- }(), $e = R.toString, yt = me.call(Object), N = RegExp(
743
- "^" + me.call(le).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
744
- ), S = Be ? re.Buffer : void 0, Y = re.Symbol, J = re.Uint8Array, oe = S ? S.allocUnsafe : void 0, Te = gt(Object.getPrototypeOf, Object), Ye = Object.create, He = R.propertyIsEnumerable, lt = at.splice, ke = Y ? Y.toStringTag : void 0, ue = function() {
742
+ }(), je = _.toString, Ze = fe.call(Object), N = RegExp(
743
+ "^" + fe.call(oe).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
744
+ ), S = Ye ? re.Buffer : void 0, Y = re.Symbol, ee = re.Uint8Array, ae = S ? S.allocUnsafe : void 0, De = mt(Object.getPrototypeOf, Object), He = Object.create, $e = _.propertyIsEnumerable, st = lt.splice, Ee = Y ? Y.toStringTag : void 0, ue = function() {
745
745
  try {
746
746
  var d = Bn(Object, "defineProperty");
747
747
  return d({}, "", {}), d;
748
748
  } catch {
749
749
  }
750
- }(), Et = S ? S.isBuffer : void 0, ze = Math.max, rl = Date.now, ni = Bn(re, "Map"), Ct = Bn(Object, "create"), il = function() {
750
+ }(), Et = S ? S.isBuffer : void 0, _e = Math.max, rl = Date.now, ni = Bn(re, "Map"), Ct = Bn(Object, "create"), il = function() {
751
751
  function d() {
752
752
  }
753
753
  return function(y) {
754
- if (!ut(y))
754
+ if (!ct(y))
755
755
  return {};
756
- if (Ye)
757
- return Ye(y);
756
+ if (He)
757
+ return He(y);
758
758
  d.prototype = y;
759
759
  var T = new d();
760
760
  return d.prototype = void 0, T;
761
761
  };
762
762
  }();
763
- function st(d) {
763
+ function ut(d) {
764
764
  var y = -1, T = d == null ? 0 : d.length;
765
765
  for (this.clear(); ++y < T; ) {
766
- var P = d[y];
767
- this.set(P[0], P[1]);
766
+ var R = d[y];
767
+ this.set(R[0], R[1]);
768
768
  }
769
769
  }
770
770
  function ol() {
@@ -780,22 +780,22 @@ dn.exports;
780
780
  var T = y[d];
781
781
  return T === r ? void 0 : T;
782
782
  }
783
- return le.call(y, d) ? y[d] : void 0;
783
+ return oe.call(y, d) ? y[d] : void 0;
784
784
  }
785
785
  function sl(d) {
786
786
  var y = this.__data__;
787
- return Ct ? y[d] !== void 0 : le.call(y, d);
787
+ return Ct ? y[d] !== void 0 : oe.call(y, d);
788
788
  }
789
789
  function ul(d, y) {
790
790
  var T = this.__data__;
791
791
  return this.size += this.has(d) ? 0 : 1, T[d] = Ct && y === void 0 ? r : y, this;
792
792
  }
793
- st.prototype.clear = ol, st.prototype.delete = al, st.prototype.get = ll, st.prototype.has = sl, st.prototype.set = ul;
794
- function Ze(d) {
793
+ ut.prototype.clear = ol, ut.prototype.delete = al, ut.prototype.get = ll, ut.prototype.has = sl, ut.prototype.set = ul;
794
+ function Xe(d) {
795
795
  var y = -1, T = d == null ? 0 : d.length;
796
796
  for (this.clear(); ++y < T; ) {
797
- var P = d[y];
798
- this.set(P[0], P[1]);
797
+ var R = d[y];
798
+ this.set(R[0], R[1]);
799
799
  }
800
800
  }
801
801
  function cl() {
@@ -805,8 +805,8 @@ dn.exports;
805
805
  var y = this.__data__, T = Zt(y, d);
806
806
  if (T < 0)
807
807
  return !1;
808
- var P = y.length - 1;
809
- return T == P ? y.pop() : lt.call(y, T, 1), --this.size, !0;
808
+ var R = y.length - 1;
809
+ return T == R ? y.pop() : st.call(y, T, 1), --this.size, !0;
810
810
  }
811
811
  function fl(d) {
812
812
  var y = this.__data__, T = Zt(y, d);
@@ -816,22 +816,22 @@ dn.exports;
816
816
  return Zt(this.__data__, d) > -1;
817
817
  }
818
818
  function hl(d, y) {
819
- var T = this.__data__, P = Zt(T, d);
820
- return P < 0 ? (++this.size, T.push([d, y])) : T[P][1] = y, this;
819
+ var T = this.__data__, R = Zt(T, d);
820
+ return R < 0 ? (++this.size, T.push([d, y])) : T[R][1] = y, this;
821
821
  }
822
- Ze.prototype.clear = cl, Ze.prototype.delete = pl, Ze.prototype.get = fl, Ze.prototype.has = dl, Ze.prototype.set = hl;
822
+ Xe.prototype.clear = cl, Xe.prototype.delete = pl, Xe.prototype.get = fl, Xe.prototype.has = dl, Xe.prototype.set = hl;
823
823
  function Mt(d) {
824
824
  var y = -1, T = d == null ? 0 : d.length;
825
825
  for (this.clear(); ++y < T; ) {
826
- var P = d[y];
827
- this.set(P[0], P[1]);
826
+ var R = d[y];
827
+ this.set(R[0], R[1]);
828
828
  }
829
829
  }
830
830
  function gl() {
831
831
  this.size = 0, this.__data__ = {
832
- hash: new st(),
833
- map: new (ni || Ze)(),
834
- string: new st()
832
+ hash: new ut(),
833
+ map: new (ni || Xe)(),
834
+ string: new ut()
835
835
  };
836
836
  }
837
837
  function ml(d) {
@@ -845,16 +845,16 @@ dn.exports;
845
845
  return Kt(this, d).has(d);
846
846
  }
847
847
  function bl(d, y) {
848
- var T = Kt(this, d), P = T.size;
849
- return T.set(d, y), this.size += T.size == P ? 0 : 1, this;
848
+ var T = Kt(this, d), R = T.size;
849
+ return T.set(d, y), this.size += T.size == R ? 0 : 1, this;
850
850
  }
851
851
  Mt.prototype.clear = gl, Mt.prototype.delete = ml, Mt.prototype.get = yl, Mt.prototype.has = Ml, Mt.prototype.set = bl;
852
852
  function bt(d) {
853
- var y = this.__data__ = new Ze(d);
853
+ var y = this.__data__ = new Xe(d);
854
854
  this.size = y.size;
855
855
  }
856
856
  function xl() {
857
- this.__data__ = new Ze(), this.size = 0;
857
+ this.__data__ = new Xe(), this.size = 0;
858
858
  }
859
859
  function wl(d) {
860
860
  var y = this.__data__, T = y.delete(d);
@@ -868,31 +868,31 @@ dn.exports;
868
868
  }
869
869
  function Dl(d, y) {
870
870
  var T = this.__data__;
871
- if (T instanceof Ze) {
872
- var P = T.__data__;
873
- if (!ni || P.length < n - 1)
874
- return P.push([d, y]), this.size = ++T.size, this;
875
- T = this.__data__ = new Mt(P);
871
+ if (T instanceof Xe) {
872
+ var R = T.__data__;
873
+ if (!ni || R.length < n - 1)
874
+ return R.push([d, y]), this.size = ++T.size, this;
875
+ T = this.__data__ = new Mt(R);
876
876
  }
877
877
  return T.set(d, y), this.size = T.size, this;
878
878
  }
879
879
  bt.prototype.clear = xl, bt.prototype.delete = wl, bt.prototype.get = vl, bt.prototype.has = Tl, bt.prototype.set = Dl;
880
880
  function Il(d, y) {
881
- var T = Hn(d), P = !T && Yn(d), ne = !T && !P && li(d), se = !T && !P && !ne && ui(d), fe = T || P || ne || se, te = fe ? kt(d.length, String) : [], de = te.length;
882
- for (var Le in d)
883
- (y || le.call(d, Le)) && !(fe && // Safari 9 has enumerable `arguments.length` in strict mode.
884
- (Le == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
885
- ne && (Le == "offset" || Le == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
886
- se && (Le == "buffer" || Le == "byteLength" || Le == "byteOffset") || // Skip index properties.
887
- oi(Le, de))) && te.push(Le);
881
+ var T = Hn(d), R = !T && Yn(d), ne = !T && !R && li(d), se = !T && !R && !ne && ui(d), de = T || R || ne || se, te = de ? kt(d.length, String) : [], he = te.length;
882
+ for (var Fe in d)
883
+ (y || oe.call(d, Fe)) && !(de && // Safari 9 has enumerable `arguments.length` in strict mode.
884
+ (Fe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
885
+ ne && (Fe == "offset" || Fe == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
886
+ se && (Fe == "buffer" || Fe == "byteLength" || Fe == "byteOffset") || // Skip index properties.
887
+ oi(Fe, he))) && te.push(Fe);
888
888
  return te;
889
889
  }
890
890
  function Rn(d, y, T) {
891
891
  (T !== void 0 && !Jt(d[y], T) || T === void 0 && !(y in d)) && Un(d, y, T);
892
892
  }
893
893
  function Nl(d, y, T) {
894
- var P = d[y];
895
- (!(le.call(d, y) && Jt(P, T)) || T === void 0 && !(y in d)) && Un(d, y, T);
894
+ var R = d[y];
895
+ (!(oe.call(d, y) && Jt(R, T)) || T === void 0 && !(y in d)) && Un(d, y, T);
896
896
  }
897
897
  function Zt(d, y) {
898
898
  for (var T = d.length; T--; )
@@ -910,50 +910,50 @@ dn.exports;
910
910
  }
911
911
  var kl = Ul();
912
912
  function Xt(d) {
913
- return d == null ? d === void 0 ? L : M : ke && ke in Object(d) ? Bl(d) : Vl(d);
913
+ return d == null ? d === void 0 ? L : M : Ee && Ee in Object(d) ? Bl(d) : Vl(d);
914
914
  }
915
915
  function ri(d) {
916
916
  return At(d) && Xt(d) == l;
917
917
  }
918
918
  function jl(d) {
919
- if (!ut(d) || $l(d))
919
+ if (!ct(d) || $l(d))
920
920
  return !1;
921
- var y = qn(d) ? N : he;
921
+ var y = qn(d) ? N : ge;
922
922
  return y.test(Xl(d));
923
923
  }
924
924
  function El(d) {
925
925
  return At(d) && si(d.length) && !!h[Xt(d)];
926
926
  }
927
927
  function Cl(d) {
928
- if (!ut(d))
928
+ if (!ct(d))
929
929
  return ql(d);
930
930
  var y = ai(d), T = [];
931
- for (var P in d)
932
- P == "constructor" && (y || !le.call(d, P)) || T.push(P);
931
+ for (var R in d)
932
+ R == "constructor" && (y || !oe.call(d, R)) || T.push(R);
933
933
  return T;
934
934
  }
935
- function ii(d, y, T, P, ne) {
936
- d !== y && kl(y, function(se, fe) {
937
- if (ne || (ne = new bt()), ut(se))
938
- Al(d, y, fe, T, ii, P, ne);
935
+ function ii(d, y, T, R, ne) {
936
+ d !== y && kl(y, function(se, de) {
937
+ if (ne || (ne = new bt()), ct(se))
938
+ Al(d, y, de, T, ii, R, ne);
939
939
  else {
940
- var te = P ? P(Qn(d, fe), se, fe + "", d, y, ne) : void 0;
941
- te === void 0 && (te = se), Rn(d, fe, te);
940
+ var te = R ? R(Qn(d, de), se, de + "", d, y, ne) : void 0;
941
+ te === void 0 && (te = se), Rn(d, de, te);
942
942
  }
943
943
  }, ci);
944
944
  }
945
- function Al(d, y, T, P, ne, se, fe) {
946
- var te = Qn(d, T), de = Qn(y, T), Le = fe.get(de);
947
- if (Le) {
948
- Rn(d, T, Le);
945
+ function Al(d, y, T, R, ne, se, de) {
946
+ var te = Qn(d, T), he = Qn(y, T), Fe = de.get(he);
947
+ if (Fe) {
948
+ Rn(d, T, Fe);
949
949
  return;
950
950
  }
951
- var je = se ? se(te, de, T + "", d, y, fe) : void 0, St = je === void 0;
951
+ var Ce = se ? se(te, he, T + "", d, y, de) : void 0, St = Ce === void 0;
952
952
  if (St) {
953
- var Vn = Hn(de), Wn = !Vn && li(de), fi = !Vn && !Wn && ui(de);
954
- je = de, Vn || Wn || fi ? Hn(te) ? je = te : Kl(te) ? je = Fl(te) : Wn ? (St = !1, je = zl(de, !0)) : fi ? (St = !1, je = _l(de, !0)) : je = [] : Jl(de) || Yn(de) ? (je = te, Yn(te) ? je = es(te) : (!ut(te) || qn(te)) && (je = Ql(de))) : St = !1;
953
+ var Vn = Hn(he), Wn = !Vn && li(he), fi = !Vn && !Wn && ui(he);
954
+ Ce = he, Vn || Wn || fi ? Hn(te) ? Ce = te : Kl(te) ? Ce = Fl(te) : Wn ? (St = !1, Ce = zl(he, !0)) : fi ? (St = !1, Ce = _l(he, !0)) : Ce = [] : Jl(he) || Yn(he) ? (Ce = te, Yn(te) ? Ce = es(te) : (!ct(te) || qn(te)) && (Ce = Ql(he))) : St = !1;
955
955
  }
956
- St && (fe.set(de, je), ne(je, de, P, se, fe), fe.delete(de)), Rn(d, T, je);
956
+ St && (de.set(he, Ce), ne(Ce, he, R, se, de), de.delete(he)), Rn(d, T, Ce);
957
957
  }
958
958
  function Sl(d, y) {
959
959
  return Gl(Wl(d, y, pi), d + "");
@@ -969,47 +969,47 @@ dn.exports;
969
969
  function zl(d, y) {
970
970
  if (y)
971
971
  return d.slice();
972
- var T = d.length, P = oe ? oe(T) : new d.constructor(T);
973
- return d.copy(P), P;
972
+ var T = d.length, R = ae ? ae(T) : new d.constructor(T);
973
+ return d.copy(R), R;
974
974
  }
975
975
  function Ll(d) {
976
976
  var y = new d.constructor(d.byteLength);
977
- return new J(y).set(new J(d)), y;
977
+ return new ee(y).set(new ee(d)), y;
978
978
  }
979
979
  function _l(d, y) {
980
980
  var T = y ? Ll(d.buffer) : d.buffer;
981
981
  return new d.constructor(T, d.byteOffset, d.length);
982
982
  }
983
983
  function Fl(d, y) {
984
- var T = -1, P = d.length;
985
- for (y || (y = Array(P)); ++T < P; )
984
+ var T = -1, R = d.length;
985
+ for (y || (y = Array(R)); ++T < R; )
986
986
  y[T] = d[T];
987
987
  return y;
988
988
  }
989
- function Pl(d, y, T, P) {
989
+ function Pl(d, y, T, R) {
990
990
  var ne = !T;
991
991
  T || (T = {});
992
- for (var se = -1, fe = y.length; ++se < fe; ) {
993
- var te = y[se], de = P ? P(T[te], d[te], te, T, d) : void 0;
994
- de === void 0 && (de = d[te]), ne ? Un(T, te, de) : Nl(T, te, de);
992
+ for (var se = -1, de = y.length; ++se < de; ) {
993
+ var te = y[se], he = R ? R(T[te], d[te], te, T, d) : void 0;
994
+ he === void 0 && (he = d[te]), ne ? Un(T, te, he) : Nl(T, te, he);
995
995
  }
996
996
  return T;
997
997
  }
998
998
  function Rl(d) {
999
999
  return Sl(function(y, T) {
1000
- var P = -1, ne = T.length, se = ne > 1 ? T[ne - 1] : void 0, fe = ne > 2 ? T[2] : void 0;
1001
- for (se = d.length > 3 && typeof se == "function" ? (ne--, se) : void 0, fe && Yl(T[0], T[1], fe) && (se = ne < 3 ? void 0 : se, ne = 1), y = Object(y); ++P < ne; ) {
1002
- var te = T[P];
1003
- te && d(y, te, P, se);
1000
+ var R = -1, ne = T.length, se = ne > 1 ? T[ne - 1] : void 0, de = ne > 2 ? T[2] : void 0;
1001
+ for (se = d.length > 3 && typeof se == "function" ? (ne--, se) : void 0, de && Yl(T[0], T[1], de) && (se = ne < 3 ? void 0 : se, ne = 1), y = Object(y); ++R < ne; ) {
1002
+ var te = T[R];
1003
+ te && d(y, te, R, se);
1004
1004
  }
1005
1005
  return y;
1006
1006
  });
1007
1007
  }
1008
1008
  function Ul(d) {
1009
- return function(y, T, P) {
1010
- for (var ne = -1, se = Object(y), fe = P(y), te = fe.length; te--; ) {
1011
- var de = fe[d ? te : ++ne];
1012
- if (T(se[de], de, se) === !1)
1009
+ return function(y, T, R) {
1010
+ for (var ne = -1, se = Object(y), de = R(y), te = de.length; te--; ) {
1011
+ var he = de[d ? te : ++ne];
1012
+ if (T(se[he], he, se) === !1)
1013
1013
  break;
1014
1014
  }
1015
1015
  return y;
@@ -1020,41 +1020,41 @@ dn.exports;
1020
1020
  return Hl(y) ? T[typeof y == "string" ? "string" : "hash"] : T.map;
1021
1021
  }
1022
1022
  function Bn(d, y) {
1023
- var T = Ke(d, y);
1023
+ var T = Je(d, y);
1024
1024
  return jl(T) ? T : void 0;
1025
1025
  }
1026
1026
  function Bl(d) {
1027
- var y = le.call(d, ke), T = d[ke];
1027
+ var y = oe.call(d, Ee), T = d[Ee];
1028
1028
  try {
1029
- d[ke] = void 0;
1030
- var P = !0;
1029
+ d[Ee] = void 0;
1030
+ var R = !0;
1031
1031
  } catch {
1032
1032
  }
1033
- var ne = $e.call(d);
1034
- return P && (y ? d[ke] = T : delete d[ke]), ne;
1033
+ var ne = je.call(d);
1034
+ return R && (y ? d[Ee] = T : delete d[Ee]), ne;
1035
1035
  }
1036
1036
  function Ql(d) {
1037
- return typeof d.constructor == "function" && !ai(d) ? il(Te(d)) : {};
1037
+ return typeof d.constructor == "function" && !ai(d) ? il(De(d)) : {};
1038
1038
  }
1039
1039
  function oi(d, y) {
1040
1040
  var T = typeof d;
1041
1041
  return y = y ?? a, !!y && (T == "number" || T != "symbol" && be.test(d)) && d > -1 && d % 1 == 0 && d < y;
1042
1042
  }
1043
1043
  function Yl(d, y, T) {
1044
- if (!ut(T))
1044
+ if (!ct(T))
1045
1045
  return !1;
1046
- var P = typeof y;
1047
- return (P == "number" ? $n(T) && oi(y, T.length) : P == "string" && y in T) ? Jt(T[y], d) : !1;
1046
+ var R = typeof y;
1047
+ return (R == "number" ? $n(T) && oi(y, T.length) : R == "string" && y in T) ? Jt(T[y], d) : !1;
1048
1048
  }
1049
1049
  function Hl(d) {
1050
1050
  var y = typeof d;
1051
1051
  return y == "string" || y == "number" || y == "symbol" || y == "boolean" ? d !== "__proto__" : d === null;
1052
1052
  }
1053
1053
  function $l(d) {
1054
- return !!Qe && Qe in d;
1054
+ return !!Te && Te in d;
1055
1055
  }
1056
1056
  function ai(d) {
1057
- var y = d && d.constructor, T = typeof y == "function" && y.prototype || R;
1057
+ var y = d && d.constructor, T = typeof y == "function" && y.prototype || _;
1058
1058
  return d === T;
1059
1059
  }
1060
1060
  function ql(d) {
@@ -1065,16 +1065,16 @@ dn.exports;
1065
1065
  return y;
1066
1066
  }
1067
1067
  function Vl(d) {
1068
- return $e.call(d);
1068
+ return je.call(d);
1069
1069
  }
1070
1070
  function Wl(d, y, T) {
1071
- return y = ze(y === void 0 ? d.length - 1 : y, 0), function() {
1072
- for (var P = arguments, ne = -1, se = ze(P.length - y, 0), fe = Array(se); ++ne < se; )
1073
- fe[ne] = P[y + ne];
1071
+ return y = _e(y === void 0 ? d.length - 1 : y, 0), function() {
1072
+ for (var R = arguments, ne = -1, se = _e(R.length - y, 0), de = Array(se); ++ne < se; )
1073
+ de[ne] = R[y + ne];
1074
1074
  ne = -1;
1075
1075
  for (var te = Array(y + 1); ++ne < y; )
1076
- te[ne] = P[ne];
1077
- return te[y] = T(fe), Nt(d, this, te);
1076
+ te[ne] = R[ne];
1077
+ return te[y] = T(de), Nt(d, this, te);
1078
1078
  };
1079
1079
  }
1080
1080
  function Qn(d, y) {
@@ -1085,8 +1085,8 @@ dn.exports;
1085
1085
  function Zl(d) {
1086
1086
  var y = 0, T = 0;
1087
1087
  return function() {
1088
- var P = rl(), ne = o - (P - T);
1089
- if (T = P, ne > 0) {
1088
+ var R = rl(), ne = o - (R - T);
1089
+ if (T = R, ne > 0) {
1090
1090
  if (++y >= i)
1091
1091
  return arguments[0];
1092
1092
  } else
@@ -1097,7 +1097,7 @@ dn.exports;
1097
1097
  function Xl(d) {
1098
1098
  if (d != null) {
1099
1099
  try {
1100
- return me.call(d);
1100
+ return fe.call(d);
1101
1101
  } catch {
1102
1102
  }
1103
1103
  try {
@@ -1113,7 +1113,7 @@ dn.exports;
1113
1113
  var Yn = ri(function() {
1114
1114
  return arguments;
1115
1115
  }()) ? ri : function(d) {
1116
- return At(d) && le.call(d, "callee") && !He.call(d, "callee");
1116
+ return At(d) && oe.call(d, "callee") && !$e.call(d, "callee");
1117
1117
  }, Hn = Array.isArray;
1118
1118
  function $n(d) {
1119
1119
  return d != null && si(d.length) && !qn(d);
@@ -1123,7 +1123,7 @@ dn.exports;
1123
1123
  }
1124
1124
  var li = Et || rs;
1125
1125
  function qn(d) {
1126
- if (!ut(d))
1126
+ if (!ct(d))
1127
1127
  return !1;
1128
1128
  var y = Xt(d);
1129
1129
  return y == f || y == v || y == u || y == E;
@@ -1131,7 +1131,7 @@ dn.exports;
1131
1131
  function si(d) {
1132
1132
  return typeof d == "number" && d > -1 && d % 1 == 0 && d <= a;
1133
1133
  }
1134
- function ut(d) {
1134
+ function ct(d) {
1135
1135
  var y = typeof d;
1136
1136
  return d != null && (y == "object" || y == "function");
1137
1137
  }
@@ -1141,13 +1141,13 @@ dn.exports;
1141
1141
  function Jl(d) {
1142
1142
  if (!At(d) || Xt(d) != z)
1143
1143
  return !1;
1144
- var y = Te(d);
1144
+ var y = De(d);
1145
1145
  if (y === null)
1146
1146
  return !0;
1147
- var T = le.call(y, "constructor") && y.constructor;
1148
- return typeof T == "function" && T instanceof T && me.call(T) == yt;
1147
+ var T = oe.call(y, "constructor") && y.constructor;
1148
+ return typeof T == "function" && T instanceof T && fe.call(T) == Ze;
1149
1149
  }
1150
- var ui = ot ? jt(ot) : El;
1150
+ var ui = at ? jt(at) : El;
1151
1151
  function es(d) {
1152
1152
  return Pl(d, ci(d));
1153
1153
  }
@@ -1171,7 +1171,7 @@ dn.exports;
1171
1171
  e.exports = ts;
1172
1172
  })(dn, dn.exports);
1173
1173
  var Ds = dn.exports;
1174
- const So = /* @__PURE__ */ nt(Ds), Is = {
1174
+ const So = /* @__PURE__ */ rt(Ds), Is = {
1175
1175
  xpertKey: "exec-ed-ss-olc-moodle",
1176
1176
  chatApi: {
1177
1177
  endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
@@ -1382,7 +1382,7 @@ zo.propTypes = {
1382
1382
  }).isRequired
1383
1383
  })
1384
1384
  };
1385
- const Se = Oo;
1385
+ const ze = Oo;
1386
1386
  var Lo = { exports: {} };
1387
1387
  /*!
1388
1388
  Copyright (c) 2018 Jed Watson.
@@ -1420,7 +1420,7 @@ var Lo = { exports: {} };
1420
1420
  })();
1421
1421
  })(Lo);
1422
1422
  var Es = Lo.exports;
1423
- const _o = /* @__PURE__ */ nt(Es), gi = 991, Cs = () => {
1423
+ const _o = /* @__PURE__ */ rt(Es), gi = 991, Cs = () => {
1424
1424
  const [e, t] = ye(
1425
1425
  window.innerWidth < gi
1426
1426
  );
@@ -1430,7 +1430,7 @@ const _o = /* @__PURE__ */ nt(Es), gi = 991, Cs = () => {
1430
1430
  };
1431
1431
  return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
1432
1432
  }, []), e;
1433
- }, rt = Cs;
1433
+ }, it = Cs;
1434
1434
  function wn({
1435
1435
  label: e,
1436
1436
  className: t,
@@ -1439,31 +1439,8 @@ function wn({
1439
1439
  children: i,
1440
1440
  ...o
1441
1441
  }) {
1442
- const a = rt();
1443
- return Me(() => {
1444
- let l, s;
1445
- const u = () => {
1446
- var p;
1447
- if (console.log("Chatbot - Finding Mobile banner", a), !((p = document.querySelectorAll(
1448
- '[class^="branch-banner"]'
1449
- )) == null ? void 0 : p[0]) && a) {
1450
- console.log("Chatbot - Mobile banner not found");
1451
- const m = document.getElementById(
1452
- "xpert_chatbot__proactive-message"
1453
- );
1454
- m && (m.style.bottom = "6rem");
1455
- const f = document.getElementById(
1456
- "xpert_chatbot__floating-action-btn"
1457
- );
1458
- f.style.bottom = "0rem";
1459
- }
1460
- };
1461
- return l = setInterval(u, 1e3), s = setTimeout(() => {
1462
- clearInterval(l), l = setInterval(u, 1e3);
1463
- }, 864e5), () => {
1464
- clearInterval(l), clearTimeout(s);
1465
- };
1466
- }, []), /* @__PURE__ */ D.jsx(
1442
+ const a = it();
1443
+ return /* @__PURE__ */ D.jsx(
1467
1444
  "button",
1468
1445
  {
1469
1446
  id: "xpert_chatbot__floating-action-btn",
@@ -1504,7 +1481,7 @@ const Ot = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMj
1504
1481
  "degrees-moodle-support": Ot
1505
1482
  }, jr = ({ handleFloatingActionButtonClick: e }) => {
1506
1483
  var i, o;
1507
- const { xpertKey: t, launchButton: n } = Ae(Se), r = rt();
1484
+ const { xpertKey: t, launchButton: n } = Oe(ze), r = it();
1508
1485
  return /* @__PURE__ */ D.jsx(
1509
1486
  wn,
1510
1487
  {
@@ -1540,21 +1517,21 @@ eyes follow your mouse when you hover near it.`, Er = ({
1540
1517
  handleFloatingActionButtonClick: e
1541
1518
  }) => {
1542
1519
  var m, f, v, x, k, M, z;
1543
- const { xpertKey: t, launchButton: n } = Ae(Se), r = !Fe.get(
1520
+ const { xpertKey: t, launchButton: n } = Oe(ze), r = !Re.get(
1544
1521
  `${t}-proactive-message-xpert-chatbot`
1545
- ), i = We(null), o = We(!1), a = r ? (m = n.animatedGraduate) == null ? void 0 : m.delayMs : ((f = n.animatedGraduate) == null ? void 0 : f.delayMs) * 2, [l, s] = ye(!1), u = rt();
1522
+ ), i = We(null), o = We(!1), a = r ? (m = n.animatedGraduate) == null ? void 0 : m.delayMs : ((f = n.animatedGraduate) == null ? void 0 : f.delayMs) * 2, [l, s] = ye(!1), u = it();
1546
1523
  Me(() => {
1547
- const _ = setTimeout(
1524
+ const F = setTimeout(
1548
1525
  () => {
1549
1526
  s(!0);
1550
1527
  },
1551
1528
  a
1552
1529
  );
1553
1530
  return () => {
1554
- clearTimeout(_);
1531
+ clearTimeout(F);
1555
1532
  };
1556
1533
  }, [a]), Me(() => {
1557
- const E = (_) => {
1534
+ const E = (F) => {
1558
1535
  const B = window.matchMedia(
1559
1536
  `(max-width: ${Os}px)`
1560
1537
  ).matches, b = window.devicePixelRatio > 1.5;
@@ -1563,8 +1540,8 @@ eyes follow your mouse when you hover near it.`, Er = ({
1563
1540
  i.current.querySelectorAll(
1564
1541
  ".xpert_chatbot__animated_graduate__pupil"
1565
1542
  ).forEach(($) => {
1566
- const W = $.getBoundingClientRect(), K = (_.pageX - window.scrollX - W.left) / 30 / 16 + "rem", A = (_.pageY - window.scrollY - W.top) / 30 / 16 + "rem";
1567
- $.style.transform = "translate3d(" + K + "," + A + ", 0rem)";
1543
+ const W = $.getBoundingClientRect(), J = (F.pageX - window.scrollX - W.left) / 30 / 16 + "rem", A = (F.pageY - window.scrollY - W.top) / 30 / 16 + "rem";
1544
+ $.style.transform = "translate3d(" + J + "," + A + ", 0rem)";
1568
1545
  });
1569
1546
  };
1570
1547
  return window.addEventListener("mousemove", E), () => {
@@ -1748,7 +1725,7 @@ Er.defaultProps = {
1748
1725
  const Ls = Er;
1749
1726
  const _s = () => {
1750
1727
  var n;
1751
- const e = rt(), { launchButton: t } = Ae(Se);
1728
+ const e = it(), { launchButton: t } = Oe(ze);
1752
1729
  return (n = t.message) != null && n.enabled ? /* @__PURE__ */ D.jsx(
1753
1730
  "div",
1754
1731
  {
@@ -1765,7 +1742,7 @@ const _s = () => {
1765
1742
  * tabbable 6.2.0
1766
1743
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
1767
1744
  */
1768
- var Po = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], hn = /* @__PURE__ */ Po.join(","), Ro = typeof Element > "u", ft = Ro ? function() {
1745
+ var Po = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], hn = /* @__PURE__ */ Po.join(","), Ro = typeof Element > "u", dt = Ro ? function() {
1769
1746
  } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, gn = !Ro && Element.prototype.getRootNode ? function(e) {
1770
1747
  var t;
1771
1748
  return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
@@ -1783,7 +1760,7 @@ var Po = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1783
1760
  if (mn(t))
1784
1761
  return [];
1785
1762
  var i = Array.prototype.slice.apply(t.querySelectorAll(hn));
1786
- return n && ft.call(t, hn) && i.unshift(t), i = i.filter(r), i;
1763
+ return n && dt.call(t, hn) && i.unshift(t), i = i.filter(r), i;
1787
1764
  }, Bo = function e(t, n, r) {
1788
1765
  for (var i = [], o = Array.from(t); o.length; ) {
1789
1766
  var a = o.shift();
@@ -1795,7 +1772,7 @@ var Po = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1795
1772
  candidates: u
1796
1773
  });
1797
1774
  } else {
1798
- var c = ft.call(a, hn);
1775
+ var c = dt.call(a, hn);
1799
1776
  c && r.filter(a) && (n || !t.includes(a)) && i.push(a);
1800
1777
  var p = a.shadowRoot || // check for an undisclosed shadow
1801
1778
  typeof r.getShadowRoot == "function" && r.getShadowRoot(a), m = !mn(p, !1) && (!r.shadowRootFilter || r.shadowRootFilter(a));
@@ -1812,12 +1789,12 @@ var Po = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1812
1789
  return i;
1813
1790
  }, Qo = function(t) {
1814
1791
  return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
1815
- }, et = function(t) {
1792
+ }, tt = function(t) {
1816
1793
  if (!t)
1817
1794
  throw new Error("No node provided");
1818
1795
  return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ps(t)) && !Qo(t) ? 0 : t.tabIndex;
1819
1796
  }, Rs = function(t, n) {
1820
- var r = et(t);
1797
+ var r = tt(t);
1821
1798
  return r < 0 && n && !Qo(t) ? 0 : r;
1822
1799
  }, Us = function(t, n) {
1823
1800
  return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
@@ -1871,8 +1848,8 @@ var Po = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1871
1848
  var r = n.displayCheck, i = n.getShadowRoot;
1872
1849
  if (getComputedStyle(t).visibility === "hidden")
1873
1850
  return !0;
1874
- var o = ft.call(t, "details>summary:first-of-type"), a = o ? t.parentElement : t;
1875
- if (ft.call(a, "details:not([open]) *"))
1851
+ var o = dt.call(t, "details>summary:first-of-type"), a = o ? t.parentElement : t;
1852
+ if (dt.call(a, "details:not([open]) *"))
1876
1853
  return !0;
1877
1854
  if (!r || r === "full" || r === "legacy-full") {
1878
1855
  if (typeof i == "function") {
@@ -1898,7 +1875,7 @@ var Po = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1898
1875
  for (var r = 0; r < n.children.length; r++) {
1899
1876
  var i = n.children.item(r);
1900
1877
  if (i.tagName === "LEGEND")
1901
- return ft.call(n, "fieldset[disabled] *") ? !0 : !i.contains(t);
1878
+ return dt.call(n, "fieldset[disabled] *") ? !0 : !i.contains(t);
1902
1879
  }
1903
1880
  return !0;
1904
1881
  }
@@ -1912,7 +1889,7 @@ var Po = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1912
1889
  mn(n) || Bs(n) || Ws(n, t) || // For a details element with a summary, the summary element gets the focus
1913
1890
  Qs(n) || Gs(n));
1914
1891
  }, cr = function(t, n) {
1915
- return !(qs(n) || et(n) < 0 || !yn(t, n));
1892
+ return !(qs(n) || tt(n) < 0 || !yn(t, n));
1916
1893
  }, Zs = function(t) {
1917
1894
  var n = parseInt(t.getAttribute("tabindex"), 10);
1918
1895
  return !!(isNaN(n) || n >= 0);
@@ -1947,21 +1924,21 @@ var Po = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
1947
1924
  flatten: !0,
1948
1925
  getShadowRoot: n.getShadowRoot
1949
1926
  }) : r = Uo(t, n.includeContainer, yn.bind(null, n)), r;
1950
- }, ct = function(t, n) {
1927
+ }, pt = function(t, n) {
1951
1928
  if (n = n || {}, !t)
1952
1929
  throw new Error("No node provided");
1953
- return ft.call(t, hn) === !1 ? !1 : cr(n, t);
1930
+ return dt.call(t, hn) === !1 ? !1 : cr(n, t);
1954
1931
  }, Ks = /* @__PURE__ */ Po.concat("iframe").join(","), sn = function(t, n) {
1955
1932
  if (n = n || {}, !t)
1956
1933
  throw new Error("No node provided");
1957
- return ft.call(t, Ks) === !1 ? !1 : yn(n, t);
1934
+ return dt.call(t, Ks) === !1 ? !1 : yn(n, t);
1958
1935
  };
1959
1936
  const Js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1960
1937
  __proto__: null,
1961
1938
  focusable: $o,
1962
- getTabIndex: et,
1939
+ getTabIndex: tt,
1963
1940
  isFocusable: sn,
1964
- isTabbable: ct,
1941
+ isTabbable: pt,
1965
1942
  tabbable: Ho
1966
1943
  }, Symbol.toStringTag, { value: "Module" }));
1967
1944
  /*!
@@ -2096,8 +2073,8 @@ var bi = {
2096
2073
  return w && w[j] !== void 0 ? w[j] : o[O || j];
2097
2074
  }, u = function(w, j) {
2098
2075
  var O = typeof (j == null ? void 0 : j.composedPath) == "function" ? j.composedPath() : void 0;
2099
- return a.containerGroups.findIndex(function(F) {
2100
- var Q = F.container, V = F.tabbableNodes;
2076
+ return a.containerGroups.findIndex(function(P) {
2077
+ var Q = P.container, V = P.tabbableNodes;
2101
2078
  return Q.contains(w) || // fall back to explicit tabbable search which will take into consideration any
2102
2079
  // web components if the `tabbableOptions.getShadowRoot` option was used for
2103
2080
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
@@ -2109,9 +2086,9 @@ var bi = {
2109
2086
  }, c = function(w) {
2110
2087
  var j = o[w];
2111
2088
  if (typeof j == "function") {
2112
- for (var O = arguments.length, F = new Array(O > 1 ? O - 1 : 0), Q = 1; Q < O; Q++)
2113
- F[Q - 1] = arguments[Q];
2114
- j = j.apply(void 0, F);
2089
+ for (var O = arguments.length, P = new Array(O > 1 ? O - 1 : 0), Q = 1; Q < O; Q++)
2090
+ P[Q - 1] = arguments[Q];
2091
+ j = j.apply(void 0, P);
2115
2092
  }
2116
2093
  if (j === !0 && (j = void 0), !j) {
2117
2094
  if (j === void 0 || j === !1)
@@ -2138,12 +2115,12 @@ var bi = {
2138
2115
  return w;
2139
2116
  }, m = function() {
2140
2117
  if (a.containerGroups = a.containers.map(function(w) {
2141
- var j = Ho(w, o.tabbableOptions), O = $o(w, o.tabbableOptions), F = j.length > 0 ? j[0] : void 0, Q = j.length > 0 ? j[j.length - 1] : void 0, V = O.find(function(g) {
2142
- return ct(g);
2118
+ var j = Ho(w, o.tabbableOptions), O = $o(w, o.tabbableOptions), P = j.length > 0 ? j[0] : void 0, Q = j.length > 0 ? j[j.length - 1] : void 0, V = O.find(function(g) {
2119
+ return pt(g);
2143
2120
  }), q = O.slice().reverse().find(function(g) {
2144
- return ct(g);
2121
+ return pt(g);
2145
2122
  }), X = !!j.find(function(g) {
2146
- return et(g) > 0;
2123
+ return tt(g) > 0;
2147
2124
  });
2148
2125
  return {
2149
2126
  container: w,
@@ -2152,7 +2129,7 @@ var bi = {
2152
2129
  /** True if at least one node with positive `tabindex` was found in this container. */
2153
2130
  posTabIndexesFound: X,
2154
2131
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
2155
- firstTabbableNode: F,
2132
+ firstTabbableNode: P,
2156
2133
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
2157
2134
  lastTabbableNode: Q,
2158
2135
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
@@ -2174,12 +2151,12 @@ var bi = {
2174
2151
  * in reverse.
2175
2152
  * @returns {HTMLElement|undefined} The next tabbable node, if any.
2176
2153
  */
2177
- nextTabbableNode: function(he) {
2178
- var be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, h = j.indexOf(he);
2179
- return h < 0 ? be ? O.slice(O.indexOf(he) + 1).find(function(ge) {
2180
- return ct(ge);
2181
- }) : O.slice(0, O.indexOf(he)).reverse().find(function(ge) {
2182
- return ct(ge);
2154
+ nextTabbableNode: function(ge) {
2155
+ var be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, h = j.indexOf(ge);
2156
+ return h < 0 ? be ? O.slice(O.indexOf(ge) + 1).find(function(me) {
2157
+ return pt(me);
2158
+ }) : O.slice(0, O.indexOf(ge)).reverse().find(function(me) {
2159
+ return pt(me);
2183
2160
  }) : j[h + (be ? 1 : -1)];
2184
2161
  }
2185
2162
  };
@@ -2209,7 +2186,7 @@ var bi = {
2209
2186
  var j = c("setReturnFocus", w);
2210
2187
  return j || (j === !1 ? !1 : w);
2211
2188
  }, k = function(w) {
2212
- var j = w.target, O = w.event, F = w.isBackward, Q = F === void 0 ? !1 : F;
2189
+ var j = w.target, O = w.event, P = w.isBackward, Q = P === void 0 ? !1 : P;
2213
2190
  j = j || nn(O), m();
2214
2191
  var V = null;
2215
2192
  if (a.tabbableGroups.length > 0) {
@@ -2221,9 +2198,9 @@ var bi = {
2221
2198
  var we = re.firstTabbableNode;
2222
2199
  return j === we;
2223
2200
  });
2224
- if (g < 0 && (X.container === j || sn(j, o.tabbableOptions) && !ct(j, o.tabbableOptions) && !X.nextTabbableNode(j, !1)) && (g = q), g >= 0) {
2225
- var he = g === 0 ? a.tabbableGroups.length - 1 : g - 1, be = a.tabbableGroups[he];
2226
- V = et(j) >= 0 ? be.lastTabbableNode : be.lastDomTabbableNode;
2201
+ if (g < 0 && (X.container === j || sn(j, o.tabbableOptions) && !pt(j, o.tabbableOptions) && !X.nextTabbableNode(j, !1)) && (g = q), g >= 0) {
2202
+ var ge = g === 0 ? a.tabbableGroups.length - 1 : g - 1, be = a.tabbableGroups[ge];
2203
+ V = tt(j) >= 0 ? be.lastTabbableNode : be.lastDomTabbableNode;
2227
2204
  } else
2228
2205
  Rt(O) || (V = X.nextTabbableNode(j, !1));
2229
2206
  } else {
@@ -2231,9 +2208,9 @@ var bi = {
2231
2208
  var we = re.lastTabbableNode;
2232
2209
  return j === we;
2233
2210
  });
2234
- if (h < 0 && (X.container === j || sn(j, o.tabbableOptions) && !ct(j, o.tabbableOptions) && !X.nextTabbableNode(j)) && (h = q), h >= 0) {
2235
- var ge = h === a.tabbableGroups.length - 1 ? 0 : h + 1, Ne = a.tabbableGroups[ge];
2236
- V = et(j) >= 0 ? Ne.firstTabbableNode : Ne.firstDomTabbableNode;
2211
+ if (h < 0 && (X.container === j || sn(j, o.tabbableOptions) && !pt(j, o.tabbableOptions) && !X.nextTabbableNode(j)) && (h = q), h >= 0) {
2212
+ var me = h === a.tabbableGroups.length - 1 ? 0 : h + 1, ke = a.tabbableGroups[me];
2213
+ V = tt(j) >= 0 ? ke.firstTabbableNode : ke.firstDomTabbableNode;
2237
2214
  } else
2238
2215
  Rt(O) || (V = X.nextTabbableNode(j));
2239
2216
  }
@@ -2263,30 +2240,30 @@ var bi = {
2263
2240
  O && (a.mostRecentlyFocusedNode = j);
2264
2241
  else {
2265
2242
  w.stopImmediatePropagation();
2266
- var F, Q = !0;
2243
+ var P, Q = !0;
2267
2244
  if (a.mostRecentlyFocusedNode)
2268
- if (et(a.mostRecentlyFocusedNode) > 0) {
2245
+ if (tt(a.mostRecentlyFocusedNode) > 0) {
2269
2246
  var V = u(a.mostRecentlyFocusedNode), q = a.containerGroups[V].tabbableNodes;
2270
2247
  if (q.length > 0) {
2271
2248
  var X = q.findIndex(function(g) {
2272
2249
  return g === a.mostRecentlyFocusedNode;
2273
2250
  });
2274
- X >= 0 && (o.isKeyForward(a.recentNavEvent) ? X + 1 < q.length && (F = q[X + 1], Q = !1) : X - 1 >= 0 && (F = q[X - 1], Q = !1));
2251
+ X >= 0 && (o.isKeyForward(a.recentNavEvent) ? X + 1 < q.length && (P = q[X + 1], Q = !1) : X - 1 >= 0 && (P = q[X - 1], Q = !1));
2275
2252
  }
2276
2253
  } else
2277
2254
  a.containerGroups.some(function(g) {
2278
- return g.tabbableNodes.some(function(he) {
2279
- return et(he) > 0;
2255
+ return g.tabbableNodes.some(function(ge) {
2256
+ return tt(ge) > 0;
2280
2257
  });
2281
2258
  }) || (Q = !1);
2282
2259
  else
2283
2260
  Q = !1;
2284
- Q && (F = k({
2261
+ Q && (P = k({
2285
2262
  // move FROM the MRU node, not event-related node (which will be the node that is
2286
2263
  // outside the trap causing the focus escape we're trying to fix)
2287
2264
  target: a.mostRecentlyFocusedNode,
2288
2265
  isBackward: o.isKeyBackward(a.recentNavEvent)
2289
- })), v(F || a.mostRecentlyFocusedNode || p());
2266
+ })), v(P || a.mostRecentlyFocusedNode || p());
2290
2267
  }
2291
2268
  a.recentNavEvent = void 0;
2292
2269
  }, E = function(w) {
@@ -2297,7 +2274,7 @@ var bi = {
2297
2274
  isBackward: j
2298
2275
  });
2299
2276
  O && (Rt(w) && w.preventDefault(), v(O));
2300
- }, _ = function(w) {
2277
+ }, F = function(w) {
2301
2278
  if (iu(w) && zt(o.escapeDeactivates, w) !== !1) {
2302
2279
  w.preventDefault(), l.deactivate();
2303
2280
  return;
@@ -2319,22 +2296,22 @@ var bi = {
2319
2296
  }), r.addEventListener("click", B, {
2320
2297
  capture: !0,
2321
2298
  passive: !1
2322
- }), r.addEventListener("keydown", _, {
2299
+ }), r.addEventListener("keydown", F, {
2323
2300
  capture: !0,
2324
2301
  passive: !1
2325
2302
  }), l;
2326
2303
  }, L = function() {
2327
2304
  if (a.active)
2328
- return r.removeEventListener("focusin", z, !0), r.removeEventListener("mousedown", M, !0), r.removeEventListener("touchstart", M, !0), r.removeEventListener("click", B, !0), r.removeEventListener("keydown", _, !0), l;
2305
+ return r.removeEventListener("focusin", z, !0), r.removeEventListener("mousedown", M, !0), r.removeEventListener("touchstart", M, !0), r.removeEventListener("click", B, !0), r.removeEventListener("keydown", F, !0), l;
2329
2306
  }, $ = function(w) {
2330
2307
  var j = w.some(function(O) {
2331
- var F = Array.from(O.removedNodes);
2332
- return F.some(function(Q) {
2308
+ var P = Array.from(O.removedNodes);
2309
+ return P.some(function(Q) {
2333
2310
  return Q === a.mostRecentlyFocusedNode;
2334
2311
  });
2335
2312
  });
2336
2313
  j && v(p());
2337
- }, W = typeof window < "u" && "MutationObserver" in window ? new MutationObserver($) : void 0, K = function() {
2314
+ }, W = typeof window < "u" && "MutationObserver" in window ? new MutationObserver($) : void 0, J = function() {
2338
2315
  W && (W.disconnect(), a.active && !a.paused && a.containers.map(function(w) {
2339
2316
  W.observe(w, {
2340
2317
  subtree: !0,
@@ -2352,12 +2329,12 @@ var bi = {
2352
2329
  activate: function(w) {
2353
2330
  if (a.active)
2354
2331
  return this;
2355
- var j = s(w, "onActivate"), O = s(w, "onPostActivate"), F = s(w, "checkCanFocusTrap");
2356
- F || m(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = r.activeElement, j == null || j();
2332
+ var j = s(w, "onActivate"), O = s(w, "onPostActivate"), P = s(w, "checkCanFocusTrap");
2333
+ P || m(), a.active = !0, a.paused = !1, a.nodeFocusedBeforeActivation = r.activeElement, j == null || j();
2357
2334
  var Q = function() {
2358
- F && m(), b(), K(), O == null || O();
2335
+ P && m(), b(), J(), O == null || O();
2359
2336
  };
2360
- return F ? (F(a.containers.concat()).then(Q, Q), this) : (Q(), this);
2337
+ return P ? (P(a.containers.concat()).then(Q, Q), this) : (Q(), this);
2361
2338
  },
2362
2339
  deactivate: function(w) {
2363
2340
  if (!a.active)
@@ -2367,12 +2344,12 @@ var bi = {
2367
2344
  onPostDeactivate: o.onPostDeactivate,
2368
2345
  checkCanReturnFocus: o.checkCanReturnFocus
2369
2346
  }, w);
2370
- clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, L(), a.active = !1, a.paused = !1, K(), bi.deactivateTrap(i, l);
2371
- var O = s(j, "onDeactivate"), F = s(j, "onPostDeactivate"), Q = s(j, "checkCanReturnFocus"), V = s(j, "returnFocus", "returnFocusOnDeactivate");
2347
+ clearTimeout(a.delayInitialFocusTimer), a.delayInitialFocusTimer = void 0, L(), a.active = !1, a.paused = !1, J(), bi.deactivateTrap(i, l);
2348
+ var O = s(j, "onDeactivate"), P = s(j, "onPostDeactivate"), Q = s(j, "checkCanReturnFocus"), V = s(j, "returnFocus", "returnFocusOnDeactivate");
2372
2349
  O == null || O();
2373
2350
  var q = function() {
2374
2351
  xi(function() {
2375
- V && v(x(a.nodeFocusedBeforeActivation)), F == null || F();
2352
+ V && v(x(a.nodeFocusedBeforeActivation)), P == null || P();
2376
2353
  });
2377
2354
  };
2378
2355
  return V && Q ? (Q(x(a.nodeFocusedBeforeActivation)).then(q, q), this) : (q(), this);
@@ -2381,19 +2358,19 @@ var bi = {
2381
2358
  if (a.paused || !a.active)
2382
2359
  return this;
2383
2360
  var j = s(w, "onPause"), O = s(w, "onPostPause");
2384
- return a.paused = !0, j == null || j(), L(), K(), O == null || O(), this;
2361
+ return a.paused = !0, j == null || j(), L(), J(), O == null || O(), this;
2385
2362
  },
2386
2363
  unpause: function(w) {
2387
2364
  if (!a.paused || !a.active)
2388
2365
  return this;
2389
2366
  var j = s(w, "onUnpause"), O = s(w, "onPostUnpause");
2390
- return a.paused = !1, j == null || j(), m(), b(), K(), O == null || O(), this;
2367
+ return a.paused = !1, j == null || j(), m(), b(), J(), O == null || O(), this;
2391
2368
  },
2392
2369
  updateContainerElements: function(w) {
2393
2370
  var j = [].concat(w).filter(Boolean);
2394
2371
  return a.containers = j.map(function(O) {
2395
2372
  return typeof O == "string" ? r.querySelector(O) : O;
2396
- }), a.active && m(), K(), this;
2373
+ }), a.active && m(), J(), this;
2397
2374
  }
2398
2375
  }, l.updateContainerElements(t), l;
2399
2376
  };
@@ -2492,7 +2469,7 @@ function bu(e, t) {
2492
2469
  }
2493
2470
  return (t === "string" ? String : Number)(e);
2494
2471
  }
2495
- var rn = tt, H = U, xu = cu, wu = xu.createFocusTrap, vu = pu, Tu = vu.isFocusable, Cr = /* @__PURE__ */ function(e) {
2472
+ var rn = nt, H = U, xu = cu, wu = xu.createFocusTrap, vu = pu, Tu = vu.isFocusable, Cr = /* @__PURE__ */ function(e) {
2496
2473
  hu(n, e);
2497
2474
  var t = gu(n);
2498
2475
  function n(r) {
@@ -2735,7 +2712,7 @@ Cr.defaultProps = {
2735
2712
  _createFocusTrap: wu
2736
2713
  };
2737
2714
  var Du = Cr;
2738
- const Iu = /* @__PURE__ */ nt(Du);
2715
+ const Iu = /* @__PURE__ */ rt(Du);
2739
2716
  function Ar({
2740
2717
  style: e,
2741
2718
  className: t,
@@ -2743,7 +2720,7 @@ function Ar({
2743
2720
  isNormalSize: r,
2744
2721
  isMounted: i
2745
2722
  }) {
2746
- const o = rt(), a = We(null);
2723
+ const o = it(), a = We(null);
2747
2724
  return /* @__PURE__ */ D.jsx(
2748
2725
  Iu,
2749
2726
  {
@@ -2942,7 +2919,7 @@ function Cu(e, t) {
2942
2919
  missing: /* @__PURE__ */ new Set()
2943
2920
  };
2944
2921
  }
2945
- function dt(e, t) {
2922
+ function ht(e, t) {
2946
2923
  const n = Di[e] || (Di[e] = /* @__PURE__ */ Object.create(null));
2947
2924
  return n[t] || (n[t] = Cu(e, t));
2948
2925
  }
@@ -2966,7 +2943,7 @@ function Zo(e) {
2966
2943
  function Ii(e) {
2967
2944
  const t = typeof e == "string" ? vn(e, !0, $t) : e;
2968
2945
  if (t) {
2969
- const n = dt(t.provider, t.prefix), r = t.name;
2946
+ const n = ht(t.provider, t.prefix), r = t.name;
2970
2947
  return n.icons[r] || (n.missing.has(r) ? null : void 0);
2971
2948
  }
2972
2949
  }
@@ -2974,7 +2951,7 @@ function Su(e, t) {
2974
2951
  const n = vn(e, !0, $t);
2975
2952
  if (!n)
2976
2953
  return !1;
2977
- const r = dt(n.provider, n.prefix);
2954
+ const r = ht(n.provider, n.prefix);
2978
2955
  return Au(r, n.name, t);
2979
2956
  }
2980
2957
  function Ou(e, t) {
@@ -2993,7 +2970,7 @@ function Ou(e, t) {
2993
2970
  name: "a"
2994
2971
  }))
2995
2972
  return !1;
2996
- const r = dt(t, n);
2973
+ const r = ht(t, n);
2997
2974
  return !!Or(r, e);
2998
2975
  }
2999
2976
  const Xo = Object.freeze({
@@ -3075,11 +3052,11 @@ function Uu(e, t) {
3075
3052
  ), k.push("scale(-1 1)"), i.top = i.left = 0) : z && (k.push(
3076
3053
  "translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
3077
3054
  ), k.push("scale(1 -1)"), i.top = i.left = 0);
3078
- let _;
3055
+ let F;
3079
3056
  switch (E < 0 && (E -= Math.floor(E / 4) * 4), E = E % 4, E) {
3080
3057
  case 1:
3081
- _ = i.height / 2 + i.top, k.unshift(
3082
- "rotate(90 " + _.toString() + " " + _.toString() + ")"
3058
+ F = i.height / 2 + i.top, k.unshift(
3059
+ "rotate(90 " + F.toString() + " " + F.toString() + ")"
3083
3060
  );
3084
3061
  break;
3085
3062
  case 2:
@@ -3088,12 +3065,12 @@ function Uu(e, t) {
3088
3065
  );
3089
3066
  break;
3090
3067
  case 3:
3091
- _ = i.width / 2 + i.left, k.unshift(
3092
- "rotate(-90 " + _.toString() + " " + _.toString() + ")"
3068
+ F = i.width / 2 + i.left, k.unshift(
3069
+ "rotate(-90 " + F.toString() + " " + F.toString() + ")"
3093
3070
  );
3094
3071
  break;
3095
3072
  }
3096
- E % 2 === 1 && (i.left !== i.top && (_ = i.left, i.left = i.top, i.top = _), i.width !== i.height && (_ = i.width, i.width = i.height, i.height = _)), k.length && (o = Pu(
3073
+ E % 2 === 1 && (i.left !== i.top && (F = i.left, i.left = i.top, i.top = F), i.width !== i.height && (F = i.width, i.width = i.height, i.height = F)), k.length && (o = Pu(
3097
3074
  o,
3098
3075
  '<g transform="' + k.join(" ") + '">',
3099
3076
  "</g>"
@@ -3301,7 +3278,7 @@ function ec(e) {
3301
3278
  if (r.name === i.name && r.prefix === i.prefix && r.provider === i.provider)
3302
3279
  return;
3303
3280
  r = i;
3304
- const o = i.provider, a = i.prefix, l = i.name, s = n[o] || (n[o] = /* @__PURE__ */ Object.create(null)), u = s[a] || (s[a] = dt(o, a));
3281
+ const o = i.provider, a = i.prefix, l = i.name, s = n[o] || (n[o] = /* @__PURE__ */ Object.create(null)), u = s[a] || (s[a] = ht(o, a));
3305
3282
  let c;
3306
3283
  l in u.icons ? c = t.loaded : a === "" || u.missing.has(l) ? c = t.missing : c = t.pending;
3307
3284
  const p = {
@@ -3433,9 +3410,9 @@ function ac(e, t, n, r) {
3433
3410
  b.status === "pending" && (b.status = "aborted");
3434
3411
  }), m = [];
3435
3412
  }
3436
- function _(b, L, $) {
3413
+ function F(b, L, $) {
3437
3414
  const W = L !== "success";
3438
- switch (m = m.filter((K) => K !== b), s) {
3415
+ switch (m = m.filter((J) => J !== b), s) {
3439
3416
  case "pending":
3440
3417
  break;
3441
3418
  case "failed":
@@ -3454,11 +3431,11 @@ function ac(e, t, n, r) {
3454
3431
  return;
3455
3432
  }
3456
3433
  if (v(), E(), !e.random) {
3457
- const K = e.resources.indexOf(b.resource);
3458
- K !== -1 && K !== e.index && (e.index = K);
3434
+ const J = e.resources.indexOf(b.resource);
3435
+ J !== -1 && J !== e.index && (e.index = J);
3459
3436
  }
3460
- s = "completed", f.forEach((K) => {
3461
- K($);
3437
+ s = "completed", f.forEach((J) => {
3438
+ J($);
3462
3439
  });
3463
3440
  }
3464
3441
  function B() {
@@ -3480,7 +3457,7 @@ function ac(e, t, n, r) {
3480
3457
  status: "pending",
3481
3458
  resource: b,
3482
3459
  callback: ($, W) => {
3483
- _(L, $, W);
3460
+ F(L, $, W);
3484
3461
  }
3485
3462
  };
3486
3463
  m.push(L), u++, p = setTimeout(B, e.rotate), n(b, t, L.callback);
@@ -3637,7 +3614,7 @@ function aa() {
3637
3614
  pc(!0);
3638
3615
  for (const e in Tn)
3639
3616
  oa(e, (t) => {
3640
- const n = t.data, r = t.provider, i = n.prefix, o = dt(
3617
+ const n = t.data, r = t.provider, i = n.prefix, o = ht(
3641
3618
  r,
3642
3619
  i
3643
3620
  );
@@ -3750,11 +3727,11 @@ const mc = (e, t) => {
3750
3727
  const { provider: u, prefix: c } = s;
3751
3728
  if (c === l && u === a)
3752
3729
  return;
3753
- a = u, l = c, o.push(dt(u, c));
3730
+ a = u, l = c, o.push(ht(u, c));
3754
3731
  const p = i[u] || (i[u] = /* @__PURE__ */ Object.create(null));
3755
3732
  p[c] || (p[c] = []);
3756
3733
  }), r.pending.forEach((s) => {
3757
- const { provider: u, prefix: c, name: p } = s, m = dt(u, c), f = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
3734
+ const { provider: u, prefix: c, name: p } = s, m = ht(u, c), f = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
3758
3735
  f.has(p) || (f.add(p), i[u][c].push(p));
3759
3736
  }), o.forEach((s) => {
3760
3737
  const { provider: u, prefix: c } = s;
@@ -4062,7 +4039,7 @@ Do((e, t) => ua({
4062
4039
  }));
4063
4040
  const Ac = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", Sc = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==";
4064
4041
  function ca({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
4065
- return rt() ? null : e ? /* @__PURE__ */ D.jsx(
4042
+ return it() ? null : e ? /* @__PURE__ */ D.jsx(
4066
4043
  "button",
4067
4044
  {
4068
4045
  onClick: () => {
@@ -4225,7 +4202,7 @@ function fa({
4225
4202
  onClose: i
4226
4203
  }) {
4227
4204
  var s, u, c, p, m, f, v, x, k;
4228
- const { primaryColor: o, conversationScreen: a } = Ae(Se), l = rt();
4205
+ const { primaryColor: o, conversationScreen: a } = Oe(ze), l = it();
4229
4206
  return /* @__PURE__ */ D.jsxs(
4230
4207
  "div",
4231
4208
  {
@@ -4298,7 +4275,7 @@ fa.propTypes = {
4298
4275
  };
4299
4276
  const da = () => {
4300
4277
  var r, i, o;
4301
- const { conversationScreen: e } = Ae(Se), t = /* @__PURE__ */ new Date(), n = new Date(
4278
+ const { conversationScreen: e } = Oe(ze), t = /* @__PURE__ */ new Date(), n = new Date(
4302
4279
  (r = e == null ? void 0 : e.maintenanceBanner) == null ? void 0 : r.endDateTime
4303
4280
  );
4304
4281
  return !((i = e == null ? void 0 : e.maintenanceBanner) != null && i.enabled) || !((o = e == null ? void 0 : e.maintenanceBanner) != null && o.text) || t > n ? null : /* @__PURE__ */ D.jsx(
@@ -4326,7 +4303,7 @@ function Ur({
4326
4303
  loading: s,
4327
4304
  userInput: u
4328
4305
  }) {
4329
- const { primaryColor: c } = Ae(Se);
4306
+ const { primaryColor: c } = Oe(ze);
4330
4307
  return Me(() => {
4331
4308
  var p;
4332
4309
  (o || a) && ((p = l.current) == null || p.focus());
@@ -4416,7 +4393,7 @@ function Lc(e) {
4416
4393
  var _c = function(t) {
4417
4394
  return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
4418
4395
  };
4419
- const ha = /* @__PURE__ */ nt(_c);
4396
+ const ha = /* @__PURE__ */ rt(_c);
4420
4397
  function Qt(e) {
4421
4398
  return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Fi(e.position) : "start" in e || "end" in e ? Fi(e) : "line" in e || "column" in e ? br(e) : "";
4422
4399
  }
@@ -4429,7 +4406,7 @@ function Fi(e) {
4429
4406
  function Pi(e) {
4430
4407
  return e && typeof e == "number" ? e : 1;
4431
4408
  }
4432
- class Pe extends Error {
4409
+ class Ue extends Error {
4433
4410
  /**
4434
4411
  * Create a message for `reason` at `place` from `origin`.
4435
4412
  *
@@ -4463,17 +4440,17 @@ class Pe extends Error {
4463
4440
  n && ("type" in n || "position" in n ? n.position && (o = n.position) : "start" in n || "end" in n ? o = n : ("line" in n || "column" in n) && (o.start = n)), this.name = Qt(n) || "1:1", this.message = typeof t == "object" ? t.message : t, this.stack = "", typeof t == "object" && t.stack && (this.stack = t.stack), this.reason = this.message, this.fatal, this.line = o.start.line, this.column = o.start.column, this.position = o, this.source = i[0], this.ruleId = i[1], this.file, this.actual, this.expected, this.url, this.note;
4464
4441
  }
4465
4442
  }
4466
- Pe.prototype.file = "";
4467
- Pe.prototype.name = "";
4468
- Pe.prototype.reason = "";
4469
- Pe.prototype.message = "";
4470
- Pe.prototype.stack = "";
4471
- Pe.prototype.fatal = null;
4472
- Pe.prototype.column = null;
4473
- Pe.prototype.line = null;
4474
- Pe.prototype.source = null;
4475
- Pe.prototype.ruleId = null;
4476
- Pe.prototype.position = null;
4443
+ Ue.prototype.file = "";
4444
+ Ue.prototype.name = "";
4445
+ Ue.prototype.reason = "";
4446
+ Ue.prototype.message = "";
4447
+ Ue.prototype.stack = "";
4448
+ Ue.prototype.fatal = null;
4449
+ Ue.prototype.column = null;
4450
+ Ue.prototype.line = null;
4451
+ Ue.prototype.source = null;
4452
+ Ue.prototype.ruleId = null;
4453
+ Ue.prototype.position = null;
4477
4454
  const qe = { basename: Fc, dirname: Pc, extname: Rc, join: Uc, sep: "/" };
4478
4455
  function Fc(e, t) {
4479
4456
  if (t !== void 0 && typeof t != "string")
@@ -4785,7 +4762,7 @@ class ga {
4785
4762
  * Message.
4786
4763
  */
4787
4764
  message(t, n, r) {
4788
- const i = new Pe(t, n, r);
4765
+ const i = new Ue(t, n, r);
4789
4766
  return this.path && (i.name = this.path + ":" + i.name, i.file = this.path), i.fatal = !1, this.messages.push(i), i;
4790
4767
  }
4791
4768
  /**
@@ -4889,7 +4866,7 @@ var pn = Object.prototype.hasOwnProperty, ma = Object.prototype.toString, Bi = O
4889
4866
  r = qi(l, n), i = qi(t, n), l !== i && (c && i && (Hi(i) || (o = Yi(i))) ? (o ? (o = !1, a = r && Yi(r) ? r : []) : a = r && Hi(r) ? r : {}, $i(l, { name: n, newValue: e(c, a, i) })) : typeof i < "u" && $i(l, { name: n, newValue: i }));
4890
4867
  return l;
4891
4868
  };
4892
- const Vi = /* @__PURE__ */ nt(Wc);
4869
+ const Vi = /* @__PURE__ */ rt(Wc);
4893
4870
  function wr(e) {
4894
4871
  if (typeof e != "object" || e === null)
4895
4872
  return !1;
@@ -4986,7 +4963,7 @@ function Ma() {
4986
4963
  if (typeof x == "function")
4987
4964
  B(x, ...k);
4988
4965
  else if (typeof x == "object")
4989
- Array.isArray(x) ? _(x) : E(x);
4966
+ Array.isArray(x) ? F(x) : E(x);
4990
4967
  else
4991
4968
  throw new TypeError("Expected usable value, not `" + x + "`");
4992
4969
  return M && (n.settings = Object.assign(n.settings || {}, M)), o;
@@ -5003,9 +4980,9 @@ function Ma() {
5003
4980
  throw new TypeError("Expected usable value, not `" + b + "`");
5004
4981
  }
5005
4982
  function E(b) {
5006
- _(b.plugins), b.settings && (M = Object.assign(M || {}, b.settings));
4983
+ F(b.plugins), b.settings && (M = Object.assign(M || {}, b.settings));
5007
4984
  }
5008
- function _(b) {
4985
+ function F(b) {
5009
4986
  let L = -1;
5010
4987
  if (b != null)
5011
4988
  if (Array.isArray(b))
@@ -5040,18 +5017,18 @@ function Ma() {
5040
5017
  if (Gi(x), o.freeze(), !M && typeof k == "function" && (M = k, k = void 0), !M)
5041
5018
  return new Promise(z);
5042
5019
  z(null, M);
5043
- function z(E, _) {
5020
+ function z(E, F) {
5044
5021
  e.run(x, Ft(k), B);
5045
5022
  function B(b, L, $) {
5046
- L = L || x, b ? _(b) : E ? E(L) : M(null, L, $);
5023
+ L = L || x, b ? F(b) : E ? E(L) : M(null, L, $);
5047
5024
  }
5048
5025
  }
5049
5026
  }
5050
5027
  function m(x, k) {
5051
5028
  let M, z;
5052
5029
  return o.run(x, k, E), Zi("runSync", "run", z), M;
5053
- function E(_, B) {
5054
- Ui(_), M = B, z = !0;
5030
+ function E(F, B) {
5031
+ Ui(F), M = B, z = !0;
5055
5032
  }
5056
5033
  }
5057
5034
  function f(x, k) {
@@ -5059,8 +5036,8 @@ function Ma() {
5059
5036
  return new Promise(M);
5060
5037
  M(null, k);
5061
5038
  function M(z, E) {
5062
- const _ = Ft(x);
5063
- o.run(o.parse(_), _, (b, L, $) => {
5039
+ const F = Ft(x);
5040
+ o.run(o.parse(F), F, (b, L, $) => {
5064
5041
  if (b || !L || !$)
5065
5042
  B(b);
5066
5043
  else {
@@ -5167,7 +5144,7 @@ function Ge(e, t, n, r) {
5167
5144
  for (n && e.splice(t, n); o < r.length; )
5168
5145
  a = r.slice(o, o + 1e4), a.unshift(t, 0), e.splice(...a), o += 1e4, t += 1e4;
5169
5146
  }
5170
- function _e(e, t) {
5147
+ function Pe(e, t) {
5171
5148
  return e.length > 0 ? (Ge(e, e.length, 0, t), e) : t;
5172
5149
  }
5173
5150
  const Ki = {}.hasOwnProperty;
@@ -5202,7 +5179,7 @@ function ap(e, t) {
5202
5179
  (t[n].add === "after" ? e : r).push(t[n]);
5203
5180
  Ge(e, 0, 0, r);
5204
5181
  }
5205
- const lp = /[!-\/:-@\[-`\{-~\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]/, Ve = it(/[A-Za-z]/), Ce = it(/[\dA-Za-z]/), sp = it(/[#-'*+\--9=?A-Z^-~]/);
5182
+ const lp = /[!-\/:-@\[-`\{-~\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]/, Ve = ot(/[A-Za-z]/), Se = ot(/[\dA-Za-z]/), sp = ot(/[#-'*+\--9=?A-Z^-~]/);
5206
5183
  function vr(e) {
5207
5184
  return (
5208
5185
  // Special whitespace codes (which have negative values), C0 and Control
@@ -5210,18 +5187,18 @@ function vr(e) {
5210
5187
  e !== null && (e < 32 || e === 127)
5211
5188
  );
5212
5189
  }
5213
- const Tr = it(/\d/), up = it(/[\dA-Fa-f]/), cp = it(/[!-/:-@[-`{-~]/);
5190
+ const Tr = ot(/\d/), up = ot(/[\dA-Fa-f]/), cp = ot(/[!-/:-@[-`{-~]/);
5214
5191
  function G(e) {
5215
5192
  return e !== null && e < -2;
5216
5193
  }
5217
- function Ie(e) {
5194
+ function Ne(e) {
5218
5195
  return e !== null && (e < 0 || e === 32);
5219
5196
  }
5220
5197
  function ie(e) {
5221
5198
  return e === -2 || e === -1 || e === 32;
5222
5199
  }
5223
- const pp = it(lp), fp = it(/\s/);
5224
- function it(e) {
5200
+ const pp = ot(lp), fp = ot(/\s/);
5201
+ function ot(e) {
5225
5202
  return t;
5226
5203
  function t(n) {
5227
5204
  return n !== null && e.test(String.fromCharCode(n));
@@ -5285,9 +5262,9 @@ function mp(e) {
5285
5262
  return l;
5286
5263
  function l(E) {
5287
5264
  if (r < n.length) {
5288
- const _ = n[r];
5289
- return t.containerState = _[1], e.attempt(
5290
- _[0].continuation,
5265
+ const F = n[r];
5266
+ return t.containerState = F[1], e.attempt(
5267
+ F[0].continuation,
5291
5268
  s,
5292
5269
  u
5293
5270
  )(E);
@@ -5297,22 +5274,22 @@ function mp(e) {
5297
5274
  function s(E) {
5298
5275
  if (r++, t.containerState._closeFlow) {
5299
5276
  t.containerState._closeFlow = void 0, i && z();
5300
- const _ = t.events.length;
5301
- let B = _, b;
5277
+ const F = t.events.length;
5278
+ let B = F, b;
5302
5279
  for (; B--; )
5303
5280
  if (t.events[B][0] === "exit" && t.events[B][1].type === "chunkFlow") {
5304
5281
  b = t.events[B][1].end;
5305
5282
  break;
5306
5283
  }
5307
5284
  M(r);
5308
- let L = _;
5285
+ let L = F;
5309
5286
  for (; L < t.events.length; )
5310
5287
  t.events[L][1].end = Object.assign({}, b), L++;
5311
5288
  return Ge(
5312
5289
  t.events,
5313
5290
  B + 1,
5314
5291
  0,
5315
- t.events.slice(_)
5292
+ t.events.slice(F)
5316
5293
  ), t.events.length = L, u(E);
5317
5294
  }
5318
5295
  return l(E);
@@ -5365,9 +5342,9 @@ function mp(e) {
5365
5342
  }
5366
5343
  return G(E) ? (e.consume(E), k(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, l) : (e.consume(E), x);
5367
5344
  }
5368
- function k(E, _) {
5345
+ function k(E, F) {
5369
5346
  const B = t.sliceStream(E);
5370
- if (_ && B.push(null), E.previous = o, o && (o.next = E), o = E, i.defineSkip(E.start), i.write(B), t.parser.lazy[E.start.line]) {
5347
+ if (F && B.push(null), E.previous = o, o && (o.next = E), o = E, i.defineSkip(E.start), i.write(B), t.parser.lazy[E.start.line]) {
5371
5348
  let b = i.events.length;
5372
5349
  for (; b--; )
5373
5350
  if (
@@ -5378,17 +5355,17 @@ function mp(e) {
5378
5355
  )
5379
5356
  return;
5380
5357
  const L = t.events.length;
5381
- let $ = L, W, K;
5358
+ let $ = L, W, J;
5382
5359
  for (; $--; )
5383
5360
  if (t.events[$][0] === "exit" && t.events[$][1].type === "chunkFlow") {
5384
5361
  if (W) {
5385
- K = t.events[$][1].end;
5362
+ J = t.events[$][1].end;
5386
5363
  break;
5387
5364
  }
5388
5365
  W = !0;
5389
5366
  }
5390
5367
  for (M(r), b = L; b < t.events.length; )
5391
- t.events[b][1].end = Object.assign({}, K), b++;
5368
+ t.events[b][1].end = Object.assign({}, J), b++;
5392
5369
  Ge(
5393
5370
  t.events,
5394
5371
  $ + 1,
@@ -5398,9 +5375,9 @@ function mp(e) {
5398
5375
  }
5399
5376
  }
5400
5377
  function M(E) {
5401
- let _ = n.length;
5402
- for (; _-- > E; ) {
5403
- const B = n[_];
5378
+ let F = n.length;
5379
+ for (; F-- > E; ) {
5380
+ const B = n[F];
5404
5381
  t.containerState = B[1], B[0].exit.call(t, e);
5405
5382
  }
5406
5383
  n.length = E;
@@ -5418,7 +5395,7 @@ function yp(e, t, n) {
5418
5395
  );
5419
5396
  }
5420
5397
  function eo(e) {
5421
- if (e === null || Ie(e) || fp(e))
5398
+ if (e === null || Ne(e) || fp(e))
5422
5399
  return 1;
5423
5400
  if (pp(e))
5424
5401
  return 2;
@@ -5464,27 +5441,27 @@ function Mp(e, t) {
5464
5441
  type: s > 1 ? "strong" : "emphasis",
5465
5442
  start: Object.assign({}, a.start),
5466
5443
  end: Object.assign({}, l.end)
5467
- }, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), u = [], e[r][1].end.offset - e[r][1].start.offset && (u = _e(u, [
5444
+ }, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, l.end), u = [], e[r][1].end.offset - e[r][1].start.offset && (u = Pe(u, [
5468
5445
  ["enter", e[r][1], t],
5469
5446
  ["exit", e[r][1], t]
5470
- ])), u = _e(u, [
5447
+ ])), u = Pe(u, [
5471
5448
  ["enter", i, t],
5472
5449
  ["enter", a, t],
5473
5450
  ["exit", a, t],
5474
5451
  ["enter", o, t]
5475
- ]), u = _e(
5452
+ ]), u = Pe(
5476
5453
  u,
5477
5454
  Br(
5478
5455
  t.parser.constructs.insideSpan.null,
5479
5456
  e.slice(r + 1, n),
5480
5457
  t
5481
5458
  )
5482
- ), u = _e(u, [
5459
+ ), u = Pe(u, [
5483
5460
  ["exit", o, t],
5484
5461
  ["enter", l, t],
5485
5462
  ["exit", l, t],
5486
5463
  ["exit", i, t]
5487
- ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = _e(u, [
5464
+ ]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = Pe(u, [
5488
5465
  ["enter", e[n][1], t],
5489
5466
  ["exit", e[n][1], t]
5490
5467
  ])) : c = 0, Ge(e, r - 1, n - r + 3, u), n = r + u.length - c - 2;
@@ -5526,10 +5503,10 @@ function wp(e, t, n) {
5526
5503
  return Ve(f) ? (e.consume(f), a) : u(f);
5527
5504
  }
5528
5505
  function a(f) {
5529
- return f === 43 || f === 45 || f === 46 || Ce(f) ? (r = 1, l(f)) : u(f);
5506
+ return f === 43 || f === 45 || f === 46 || Se(f) ? (r = 1, l(f)) : u(f);
5530
5507
  }
5531
5508
  function l(f) {
5532
- return f === 58 ? (e.consume(f), r = 0, s) : (f === 43 || f === 45 || f === 46 || Ce(f)) && r++ < 32 ? (e.consume(f), l) : (r = 0, u(f));
5509
+ return f === 58 ? (e.consume(f), r = 0, s) : (f === 43 || f === 45 || f === 46 || Se(f)) && r++ < 32 ? (e.consume(f), l) : (r = 0, u(f));
5533
5510
  }
5534
5511
  function s(f) {
5535
5512
  return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : f === null || f === 32 || f === 60 || vr(f) ? n(f) : (e.consume(f), s);
@@ -5538,13 +5515,13 @@ function wp(e, t, n) {
5538
5515
  return f === 64 ? (e.consume(f), c) : sp(f) ? (e.consume(f), u) : n(f);
5539
5516
  }
5540
5517
  function c(f) {
5541
- return Ce(f) ? p(f) : n(f);
5518
+ return Se(f) ? p(f) : n(f);
5542
5519
  }
5543
5520
  function p(f) {
5544
5521
  return f === 46 ? (e.consume(f), r = 0, c) : f === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : m(f);
5545
5522
  }
5546
5523
  function m(f) {
5547
- if ((f === 45 || Ce(f)) && r++ < 63) {
5524
+ if ((f === 45 || Se(f)) && r++ < 63) {
5548
5525
  const v = f === 45 ? m : p;
5549
5526
  return e.consume(f), v;
5550
5527
  }
@@ -5638,7 +5615,7 @@ function kp(e, t, n) {
5638
5615
  return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), s;
5639
5616
  }
5640
5617
  function s(p) {
5641
- return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, a = Ce, c(p));
5618
+ return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, a = Se, c(p));
5642
5619
  }
5643
5620
  function u(p) {
5644
5621
  return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, a = up, c) : (e.enter("characterReferenceValue"), o = 7, a = Tr, c(p));
@@ -5646,7 +5623,7 @@ function kp(e, t, n) {
5646
5623
  function c(p) {
5647
5624
  if (p === 59 && i) {
5648
5625
  const m = e.exit("characterReferenceValue");
5649
- return a === Ce && !Qr(r.sliceSerialize(m)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
5626
+ return a === Se && !Qr(r.sliceSerialize(m)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
5650
5627
  }
5651
5628
  return a(p) && i++ < o ? (e.consume(p), c) : n(p);
5652
5629
  }
@@ -5677,7 +5654,7 @@ function jp(e, t, n) {
5677
5654
  return b === l ? (a++, e.consume(b), c) : a < 3 ? n(b) : (e.exit("codeFencedFenceSequence"), ie(b) ? pe(e, p, "whitespace")(b) : p(b));
5678
5655
  }
5679
5656
  function p(b) {
5680
- return b === null || G(b) ? (e.exit("codeFencedFence"), r.interrupt ? t(b) : e.check(ro, x, _)(b)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
5657
+ return b === null || G(b) ? (e.exit("codeFencedFence"), r.interrupt ? t(b) : e.check(ro, x, F)(b)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
5681
5658
  contentType: "string"
5682
5659
  }), m(b));
5683
5660
  }
@@ -5693,7 +5670,7 @@ function jp(e, t, n) {
5693
5670
  return b === null || G(b) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(b)) : b === 96 && b === l ? n(b) : (e.consume(b), v);
5694
5671
  }
5695
5672
  function x(b) {
5696
- return e.attempt(i, _, k)(b);
5673
+ return e.attempt(i, F, k)(b);
5697
5674
  }
5698
5675
  function k(b) {
5699
5676
  return e.enter("lineEnding"), e.consume(b), e.exit("lineEnding"), M;
@@ -5707,36 +5684,36 @@ function jp(e, t, n) {
5707
5684
  )(b) : z(b);
5708
5685
  }
5709
5686
  function z(b) {
5710
- return b === null || G(b) ? e.check(ro, x, _)(b) : (e.enter("codeFlowValue"), E(b));
5687
+ return b === null || G(b) ? e.check(ro, x, F)(b) : (e.enter("codeFlowValue"), E(b));
5711
5688
  }
5712
5689
  function E(b) {
5713
5690
  return b === null || G(b) ? (e.exit("codeFlowValue"), z(b)) : (e.consume(b), E);
5714
5691
  }
5715
- function _(b) {
5692
+ function F(b) {
5716
5693
  return e.exit("codeFenced"), t(b);
5717
5694
  }
5718
5695
  function B(b, L, $) {
5719
5696
  let W = 0;
5720
- return K;
5721
- function K(F) {
5722
- return b.enter("lineEnding"), b.consume(F), b.exit("lineEnding"), A;
5697
+ return J;
5698
+ function J(P) {
5699
+ return b.enter("lineEnding"), b.consume(P), b.exit("lineEnding"), A;
5723
5700
  }
5724
- function A(F) {
5725
- return b.enter("codeFencedFence"), ie(F) ? pe(
5701
+ function A(P) {
5702
+ return b.enter("codeFencedFence"), ie(P) ? pe(
5726
5703
  b,
5727
5704
  w,
5728
5705
  "linePrefix",
5729
5706
  r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
5730
- )(F) : w(F);
5707
+ )(P) : w(P);
5731
5708
  }
5732
- function w(F) {
5733
- return F === l ? (b.enter("codeFencedFenceSequence"), j(F)) : $(F);
5709
+ function w(P) {
5710
+ return P === l ? (b.enter("codeFencedFenceSequence"), j(P)) : $(P);
5734
5711
  }
5735
- function j(F) {
5736
- return F === l ? (W++, b.consume(F), j) : W >= a ? (b.exit("codeFencedFenceSequence"), ie(F) ? pe(b, O, "whitespace")(F) : O(F)) : $(F);
5712
+ function j(P) {
5713
+ return P === l ? (W++, b.consume(P), j) : W >= a ? (b.exit("codeFencedFenceSequence"), ie(P) ? pe(b, O, "whitespace")(P) : O(P)) : $(P);
5737
5714
  }
5738
- function O(F) {
5739
- return F === null || G(F) ? (b.exit("codeFencedFence"), L(F)) : $(F);
5715
+ function O(P) {
5716
+ return P === null || G(P) ? (b.exit("codeFencedFence"), L(P)) : $(P);
5740
5717
  }
5741
5718
  }
5742
5719
  }
@@ -5939,7 +5916,7 @@ function Da(e, t, n, r, i, o, a, l, s) {
5939
5916
  return M === 60 || M === 62 || M === 92 ? (e.consume(M), f) : f(M);
5940
5917
  }
5941
5918
  function x(M) {
5942
- return !c && (M === null || M === 41 || Ie(M)) ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(r), t(M)) : c < u && M === 40 ? (e.consume(M), c++, x) : M === 41 ? (e.consume(M), c--, x) : M === null || M === 32 || M === 40 || vr(M) ? n(M) : (e.consume(M), M === 92 ? k : x);
5919
+ return !c && (M === null || M === 41 || Ne(M)) ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(r), t(M)) : c < u && M === 40 ? (e.consume(M), c++, x) : M === 41 ? (e.consume(M), c--, x) : M === null || M === 32 || M === 40 || vr(M) ? n(M) : (e.consume(M), M === 92 ? k : x);
5943
5920
  }
5944
5921
  function k(M) {
5945
5922
  return M === 40 || M === 41 || M === 92 ? (e.consume(M), x) : x(M);
@@ -6036,7 +6013,7 @@ function $p(e, t, n) {
6036
6013
  ), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : n(f);
6037
6014
  }
6038
6015
  function s(f) {
6039
- return Ie(f) ? Yt(e, u)(f) : u(f);
6016
+ return Ne(f) ? Yt(e, u)(f) : u(f);
6040
6017
  }
6041
6018
  function u(f) {
6042
6019
  return Da(
@@ -6064,7 +6041,7 @@ function $p(e, t, n) {
6064
6041
  function qp(e, t, n) {
6065
6042
  return r;
6066
6043
  function r(l) {
6067
- return Ie(l) ? Yt(e, i)(l) : n(l);
6044
+ return Ne(l) ? Yt(e, i)(l) : n(l);
6068
6045
  }
6069
6046
  function i(l) {
6070
6047
  return Na(
@@ -6129,7 +6106,7 @@ function Xp(e, t, n) {
6129
6106
  return e.enter("atxHeadingSequence"), a(c);
6130
6107
  }
6131
6108
  function a(c) {
6132
- return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || Ie(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c);
6109
+ return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || Ne(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c);
6133
6110
  }
6134
6111
  function l(c) {
6135
6112
  return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || G(c) ? (e.exit("atxHeading"), t(c)) : ie(c) ? pe(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
@@ -6138,7 +6115,7 @@ function Xp(e, t, n) {
6138
6115
  return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c));
6139
6116
  }
6140
6117
  function u(c) {
6141
- return c === null || c === 35 || Ie(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u);
6118
+ return c === null || c === 35 || Ne(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u);
6142
6119
  }
6143
6120
  }
6144
6121
  const Kp = [
@@ -6242,30 +6219,30 @@ function rf(e, t, n) {
6242
6219
  return h === 45 ? (e.consume(h), r.interrupt ? t : g) : n(h);
6243
6220
  }
6244
6221
  function v(h) {
6245
- const ge = "CDATA[";
6246
- return h === ge.charCodeAt(l++) ? (e.consume(h), l === ge.length ? r.interrupt ? t : w : v) : n(h);
6222
+ const me = "CDATA[";
6223
+ return h === me.charCodeAt(l++) ? (e.consume(h), l === me.length ? r.interrupt ? t : w : v) : n(h);
6247
6224
  }
6248
6225
  function x(h) {
6249
6226
  return Ve(h) ? (e.consume(h), a = String.fromCharCode(h), k) : n(h);
6250
6227
  }
6251
6228
  function k(h) {
6252
- if (h === null || h === 47 || h === 62 || Ie(h)) {
6253
- const ge = h === 47, Ne = a.toLowerCase();
6254
- return !ge && !o && oo.includes(Ne) ? (i = 1, r.interrupt ? t(h) : w(h)) : Kp.includes(a.toLowerCase()) ? (i = 6, ge ? (e.consume(h), M) : r.interrupt ? t(h) : w(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? z(h) : E(h));
6229
+ if (h === null || h === 47 || h === 62 || Ne(h)) {
6230
+ const me = h === 47, ke = a.toLowerCase();
6231
+ return !me && !o && oo.includes(ke) ? (i = 1, r.interrupt ? t(h) : w(h)) : Kp.includes(a.toLowerCase()) ? (i = 6, me ? (e.consume(h), M) : r.interrupt ? t(h) : w(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? z(h) : E(h));
6255
6232
  }
6256
- return h === 45 || Ce(h) ? (e.consume(h), a += String.fromCharCode(h), k) : n(h);
6233
+ return h === 45 || Se(h) ? (e.consume(h), a += String.fromCharCode(h), k) : n(h);
6257
6234
  }
6258
6235
  function M(h) {
6259
6236
  return h === 62 ? (e.consume(h), r.interrupt ? t : w) : n(h);
6260
6237
  }
6261
6238
  function z(h) {
6262
- return ie(h) ? (e.consume(h), z) : K(h);
6239
+ return ie(h) ? (e.consume(h), z) : J(h);
6263
6240
  }
6264
6241
  function E(h) {
6265
- return h === 47 ? (e.consume(h), K) : h === 58 || h === 95 || Ve(h) ? (e.consume(h), _) : ie(h) ? (e.consume(h), E) : K(h);
6242
+ return h === 47 ? (e.consume(h), J) : h === 58 || h === 95 || Ve(h) ? (e.consume(h), F) : ie(h) ? (e.consume(h), E) : J(h);
6266
6243
  }
6267
- function _(h) {
6268
- return h === 45 || h === 46 || h === 58 || h === 95 || Ce(h) ? (e.consume(h), _) : B(h);
6244
+ function F(h) {
6245
+ return h === 45 || h === 46 || h === 58 || h === 95 || Se(h) ? (e.consume(h), F) : B(h);
6269
6246
  }
6270
6247
  function B(h) {
6271
6248
  return h === 61 ? (e.consume(h), b) : ie(h) ? (e.consume(h), B) : E(h);
@@ -6277,19 +6254,19 @@ function rf(e, t, n) {
6277
6254
  return h === s ? (e.consume(h), s = null, W) : h === null || G(h) ? n(h) : (e.consume(h), L);
6278
6255
  }
6279
6256
  function $(h) {
6280
- return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || Ie(h) ? B(h) : (e.consume(h), $);
6257
+ return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || Ne(h) ? B(h) : (e.consume(h), $);
6281
6258
  }
6282
6259
  function W(h) {
6283
6260
  return h === 47 || h === 62 || ie(h) ? E(h) : n(h);
6284
6261
  }
6285
- function K(h) {
6262
+ function J(h) {
6286
6263
  return h === 62 ? (e.consume(h), A) : n(h);
6287
6264
  }
6288
6265
  function A(h) {
6289
6266
  return h === null || G(h) ? w(h) : ie(h) ? (e.consume(h), A) : n(h);
6290
6267
  }
6291
6268
  function w(h) {
6292
- return h === 45 && i === 2 ? (e.consume(h), Q) : h === 60 && i === 1 ? (e.consume(h), V) : h === 62 && i === 4 ? (e.consume(h), he) : h === 63 && i === 3 ? (e.consume(h), g) : h === 93 && i === 5 ? (e.consume(h), X) : G(h) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
6269
+ return h === 45 && i === 2 ? (e.consume(h), Q) : h === 60 && i === 1 ? (e.consume(h), V) : h === 62 && i === 4 ? (e.consume(h), ge) : h === 63 && i === 3 ? (e.consume(h), g) : h === 93 && i === 5 ? (e.consume(h), X) : G(h) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
6293
6270
  ef,
6294
6271
  be,
6295
6272
  j
@@ -6303,9 +6280,9 @@ function rf(e, t, n) {
6303
6280
  )(h);
6304
6281
  }
6305
6282
  function O(h) {
6306
- return e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), F;
6283
+ return e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), P;
6307
6284
  }
6308
- function F(h) {
6285
+ function P(h) {
6309
6286
  return h === null || G(h) ? j(h) : (e.enter("htmlFlowData"), w(h));
6310
6287
  }
6311
6288
  function Q(h) {
@@ -6316,8 +6293,8 @@ function rf(e, t, n) {
6316
6293
  }
6317
6294
  function q(h) {
6318
6295
  if (h === 62) {
6319
- const ge = a.toLowerCase();
6320
- return oo.includes(ge) ? (e.consume(h), he) : w(h);
6296
+ const me = a.toLowerCase();
6297
+ return oo.includes(me) ? (e.consume(h), ge) : w(h);
6321
6298
  }
6322
6299
  return Ve(h) && a.length < 8 ? (e.consume(h), a += String.fromCharCode(h), q) : w(h);
6323
6300
  }
@@ -6325,10 +6302,10 @@ function rf(e, t, n) {
6325
6302
  return h === 93 ? (e.consume(h), g) : w(h);
6326
6303
  }
6327
6304
  function g(h) {
6328
- return h === 62 ? (e.consume(h), he) : h === 45 && i === 2 ? (e.consume(h), g) : w(h);
6305
+ return h === 62 ? (e.consume(h), ge) : h === 45 && i === 2 ? (e.consume(h), g) : w(h);
6329
6306
  }
6330
- function he(h) {
6331
- return h === null || G(h) ? (e.exit("htmlFlowData"), be(h)) : (e.consume(h), he);
6307
+ function ge(h) {
6308
+ return h === null || G(h) ? (e.exit("htmlFlowData"), be(h)) : (e.consume(h), ge);
6332
6309
  }
6333
6310
  function be(h) {
6334
6311
  return e.exit("htmlFlow"), t(h);
@@ -6380,8 +6357,8 @@ function sf(e, t, n) {
6380
6357
  return g === 62 ? Q(g) : g === 45 ? m(g) : p(g);
6381
6358
  }
6382
6359
  function v(g) {
6383
- const he = "CDATA[";
6384
- return g === he.charCodeAt(o++) ? (e.consume(g), o === he.length ? x : v) : n(g);
6360
+ const ge = "CDATA[";
6361
+ return g === ge.charCodeAt(o++) ? (e.consume(g), o === ge.length ? x : v) : n(g);
6385
6362
  }
6386
6363
  function x(g) {
6387
6364
  return g === null ? n(g) : g === 93 ? (e.consume(g), k) : G(g) ? (a = x, V(g)) : (e.consume(g), x);
@@ -6396,28 +6373,28 @@ function sf(e, t, n) {
6396
6373
  return g === null || g === 62 ? Q(g) : G(g) ? (a = z, V(g)) : (e.consume(g), z);
6397
6374
  }
6398
6375
  function E(g) {
6399
- return g === null ? n(g) : g === 63 ? (e.consume(g), _) : G(g) ? (a = E, V(g)) : (e.consume(g), E);
6376
+ return g === null ? n(g) : g === 63 ? (e.consume(g), F) : G(g) ? (a = E, V(g)) : (e.consume(g), E);
6400
6377
  }
6401
- function _(g) {
6378
+ function F(g) {
6402
6379
  return g === 62 ? Q(g) : E(g);
6403
6380
  }
6404
6381
  function B(g) {
6405
6382
  return Ve(g) ? (e.consume(g), b) : n(g);
6406
6383
  }
6407
6384
  function b(g) {
6408
- return g === 45 || Ce(g) ? (e.consume(g), b) : L(g);
6385
+ return g === 45 || Se(g) ? (e.consume(g), b) : L(g);
6409
6386
  }
6410
6387
  function L(g) {
6411
6388
  return G(g) ? (a = L, V(g)) : ie(g) ? (e.consume(g), L) : Q(g);
6412
6389
  }
6413
6390
  function $(g) {
6414
- return g === 45 || Ce(g) ? (e.consume(g), $) : g === 47 || g === 62 || Ie(g) ? W(g) : n(g);
6391
+ return g === 45 || Se(g) ? (e.consume(g), $) : g === 47 || g === 62 || Ne(g) ? W(g) : n(g);
6415
6392
  }
6416
6393
  function W(g) {
6417
- return g === 47 ? (e.consume(g), Q) : g === 58 || g === 95 || Ve(g) ? (e.consume(g), K) : G(g) ? (a = W, V(g)) : ie(g) ? (e.consume(g), W) : Q(g);
6394
+ return g === 47 ? (e.consume(g), Q) : g === 58 || g === 95 || Ve(g) ? (e.consume(g), J) : G(g) ? (a = W, V(g)) : ie(g) ? (e.consume(g), W) : Q(g);
6418
6395
  }
6419
- function K(g) {
6420
- return g === 45 || g === 46 || g === 58 || g === 95 || Ce(g) ? (e.consume(g), K) : A(g);
6396
+ function J(g) {
6397
+ return g === 45 || g === 46 || g === 58 || g === 95 || Se(g) ? (e.consume(g), J) : A(g);
6421
6398
  }
6422
6399
  function A(g) {
6423
6400
  return g === 61 ? (e.consume(g), w) : G(g) ? (a = A, V(g)) : ie(g) ? (e.consume(g), A) : W(g);
@@ -6426,13 +6403,13 @@ function sf(e, t, n) {
6426
6403
  return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), i = g, j) : G(g) ? (a = w, V(g)) : ie(g) ? (e.consume(g), w) : (e.consume(g), O);
6427
6404
  }
6428
6405
  function j(g) {
6429
- return g === i ? (e.consume(g), i = void 0, F) : g === null ? n(g) : G(g) ? (a = j, V(g)) : (e.consume(g), j);
6406
+ return g === i ? (e.consume(g), i = void 0, P) : g === null ? n(g) : G(g) ? (a = j, V(g)) : (e.consume(g), j);
6430
6407
  }
6431
6408
  function O(g) {
6432
- return g === null || g === 34 || g === 39 || g === 60 || g === 61 || g === 96 ? n(g) : g === 47 || g === 62 || Ie(g) ? W(g) : (e.consume(g), O);
6409
+ return g === null || g === 34 || g === 39 || g === 60 || g === 61 || g === 96 ? n(g) : g === 47 || g === 62 || Ne(g) ? W(g) : (e.consume(g), O);
6433
6410
  }
6434
- function F(g) {
6435
- return g === 47 || g === 62 || Ie(g) ? W(g) : n(g);
6411
+ function P(g) {
6412
+ return g === 47 || g === 62 || Ne(g) ? W(g) : n(g);
6436
6413
  }
6437
6414
  function Q(g) {
6438
6415
  return g === 62 ? (e.consume(g), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(g);
@@ -6502,19 +6479,19 @@ function df(e, t) {
6502
6479
  return l = [
6503
6480
  ["enter", s, t],
6504
6481
  ["enter", u, t]
6505
- ], l = _e(l, e.slice(o + 1, o + r + 3)), l = _e(l, [["enter", c, t]]), l = _e(
6482
+ ], l = Pe(l, e.slice(o + 1, o + r + 3)), l = Pe(l, [["enter", c, t]]), l = Pe(
6506
6483
  l,
6507
6484
  Br(
6508
6485
  t.parser.constructs.insideSpan.null,
6509
6486
  e.slice(o + r + 4, a - 3),
6510
6487
  t
6511
6488
  )
6512
- ), l = _e(l, [
6489
+ ), l = Pe(l, [
6513
6490
  ["exit", c, t],
6514
6491
  e[a - 2],
6515
6492
  e[a - 1],
6516
6493
  ["exit", u, t]
6517
- ]), l = _e(l, e.slice(a + 1)), l = _e(l, [["exit", s, t]]), Ge(e, o, e.length, l), e;
6494
+ ]), l = Pe(l, e.slice(a + 1)), l = Pe(l, [["exit", s, t]]), Ge(e, o, e.length, l), e;
6518
6495
  }
6519
6496
  function hf(e, t, n) {
6520
6497
  const r = this;
@@ -6566,7 +6543,7 @@ function gf(e, t, n) {
6566
6543
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), i;
6567
6544
  }
6568
6545
  function i(p) {
6569
- return Ie(p) ? Yt(e, o)(p) : o(p);
6546
+ return Ne(p) ? Yt(e, o)(p) : o(p);
6570
6547
  }
6571
6548
  function o(p) {
6572
6549
  return p === 41 ? c(p) : Da(
@@ -6582,7 +6559,7 @@ function gf(e, t, n) {
6582
6559
  )(p);
6583
6560
  }
6584
6561
  function a(p) {
6585
- return Ie(p) ? Yt(e, s)(p) : c(p);
6562
+ return Ne(p) ? Yt(e, s)(p) : c(p);
6586
6563
  }
6587
6564
  function l(p) {
6588
6565
  return n(p);
@@ -6598,7 +6575,7 @@ function gf(e, t, n) {
6598
6575
  )(p) : c(p);
6599
6576
  }
6600
6577
  function u(p) {
6601
- return Ie(p) ? Yt(e, c)(p) : c(p);
6578
+ return Ne(p) ? Yt(e, c)(p) : c(p);
6602
6579
  }
6603
6580
  function c(p) {
6604
6581
  return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : n(p);
@@ -6701,7 +6678,7 @@ function Tf(e, t, n) {
6701
6678
  return u === i ? (e.consume(u), r++, s) : (e.exit("thematicBreakSequence"), ie(u) ? pe(e, l, "whitespace")(u) : l(u));
6702
6679
  }
6703
6680
  }
6704
- const De = {
6681
+ const Ie = {
6705
6682
  name: "list",
6706
6683
  tokenize: Nf,
6707
6684
  continuation: {
@@ -6773,7 +6750,7 @@ function kf(e, t, n) {
6773
6750
  function a(l) {
6774
6751
  return r.containerState._closeFlow = !0, r.interrupt = void 0, pe(
6775
6752
  e,
6776
- e.attempt(De, t, n),
6753
+ e.attempt(Ie, t, n),
6777
6754
  "linePrefix",
6778
6755
  r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
6779
6756
  )(l);
@@ -7004,7 +6981,7 @@ function Rf(e, t, n) {
7004
6981
  const s = {
7005
6982
  consume: z,
7006
6983
  enter: E,
7007
- exit: _,
6984
+ exit: F,
7008
6985
  attempt: L(B),
7009
6986
  check: L(b),
7010
6987
  interrupt: L(b, {
@@ -7025,7 +7002,7 @@ function Rf(e, t, n) {
7025
7002
  let c = t.tokenize.call(u, s);
7026
7003
  return t.resolveAll && o.push(t), u;
7027
7004
  function p(A) {
7028
- return a = _e(a, A), k(), a[a.length - 1] !== null ? [] : ($(t, 0), u.events = Br(o, u.events, u), u.events);
7005
+ return a = Pe(a, A), k(), a[a.length - 1] !== null ? [] : ($(t, 0), u.events = Br(o, u.events, u), u.events);
7029
7006
  }
7030
7007
  function m(A, w) {
7031
7008
  return Bf(f(A), w);
@@ -7034,17 +7011,17 @@ function Rf(e, t, n) {
7034
7011
  return Uf(a, A);
7035
7012
  }
7036
7013
  function v() {
7037
- const { line: A, column: w, offset: j, _index: O, _bufferIndex: F } = r;
7014
+ const { line: A, column: w, offset: j, _index: O, _bufferIndex: P } = r;
7038
7015
  return {
7039
7016
  line: A,
7040
7017
  column: w,
7041
7018
  offset: j,
7042
7019
  _index: O,
7043
- _bufferIndex: F
7020
+ _bufferIndex: P
7044
7021
  };
7045
7022
  }
7046
7023
  function x(A) {
7047
- i[A.line] = A.column, K();
7024
+ i[A.line] = A.column, J();
7048
7025
  }
7049
7026
  function k() {
7050
7027
  let A;
@@ -7061,13 +7038,13 @@ function Rf(e, t, n) {
7061
7038
  c = c(A);
7062
7039
  }
7063
7040
  function z(A) {
7064
- G(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++)), u.previous = A;
7041
+ G(A) ? (r.line++, r.column = 1, r.offset += A === -3 ? 2 : 1, J()) : A !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = A;
7065
7042
  }
7066
7043
  function E(A, w) {
7067
7044
  const j = w || {};
7068
7045
  return j.type = A, j.start = v(), u.events.push(["enter", j, u]), l.push(j), j;
7069
7046
  }
7070
- function _(A) {
7047
+ function F(A) {
7071
7048
  const w = l.pop();
7072
7049
  return w.end = v(), u.events.push(["exit", w, u]), w;
7073
7050
  }
@@ -7079,22 +7056,22 @@ function Rf(e, t, n) {
7079
7056
  }
7080
7057
  function L(A, w) {
7081
7058
  return j;
7082
- function j(O, F, Q) {
7059
+ function j(O, P, Q) {
7083
7060
  let V, q, X, g;
7084
7061
  return Array.isArray(O) ? be(O) : "tokenize" in O ? (
7085
7062
  // @ts-expect-error Looks like a construct.
7086
7063
  be([O])
7087
- ) : he(O);
7088
- function he(re) {
7064
+ ) : ge(O);
7065
+ function ge(re) {
7089
7066
  return we;
7090
7067
  function we(ve) {
7091
- const Be = ve !== null && re[ve], Oe = ve !== null && re.null, Xe = [
7068
+ const Ye = ve !== null && re[ve], Le = ve !== null && re.null, Ke = [
7092
7069
  // To do: add more extension tests.
7093
7070
  /* c8 ignore next 2 */
7094
- ...Array.isArray(Be) ? Be : Be ? [Be] : [],
7095
- ...Array.isArray(Oe) ? Oe : Oe ? [Oe] : []
7071
+ ...Array.isArray(Ye) ? Ye : Ye ? [Ye] : [],
7072
+ ...Array.isArray(Le) ? Le : Le ? [Le] : []
7096
7073
  ];
7097
- return be(Xe)(ve);
7074
+ return be(Ke)(ve);
7098
7075
  }
7099
7076
  }
7100
7077
  function be(re) {
@@ -7103,21 +7080,21 @@ function Rf(e, t, n) {
7103
7080
  function h(re) {
7104
7081
  return we;
7105
7082
  function we(ve) {
7106
- return g = W(), X = re, re.partial || (u.currentConstruct = re), re.name && u.parser.constructs.disable.null.includes(re.name) ? Ne() : re.tokenize.call(
7083
+ return g = W(), X = re, re.partial || (u.currentConstruct = re), re.name && u.parser.constructs.disable.null.includes(re.name) ? ke() : re.tokenize.call(
7107
7084
  // If we do have fields, create an object w/ `context` as its
7108
7085
  // prototype.
7109
7086
  // This allows a “live binding”, which is needed for `interrupt`.
7110
7087
  w ? Object.assign(Object.create(u), w) : u,
7111
7088
  s,
7112
- ge,
7113
- Ne
7089
+ me,
7090
+ ke
7114
7091
  )(ve);
7115
7092
  }
7116
7093
  }
7117
- function ge(re) {
7118
- return A(X, g), F;
7094
+ function me(re) {
7095
+ return A(X, g), P;
7119
7096
  }
7120
- function Ne(re) {
7097
+ function ke(re) {
7121
7098
  return g.restore(), ++q < V.length ? h(V[q]) : Q;
7122
7099
  }
7123
7100
  }
@@ -7131,16 +7108,16 @@ function Rf(e, t, n) {
7131
7108
  ), A.resolveTo && (u.events = A.resolveTo(u.events, u));
7132
7109
  }
7133
7110
  function W() {
7134
- const A = v(), w = u.previous, j = u.currentConstruct, O = u.events.length, F = Array.from(l);
7111
+ const A = v(), w = u.previous, j = u.currentConstruct, O = u.events.length, P = Array.from(l);
7135
7112
  return {
7136
7113
  restore: Q,
7137
7114
  from: O
7138
7115
  };
7139
7116
  function Q() {
7140
- r = A, u.previous = w, u.currentConstruct = j, u.events.length = O, l = F, K();
7117
+ r = A, u.previous = w, u.currentConstruct = j, u.events.length = O, l = P, J();
7141
7118
  }
7142
7119
  }
7143
- function K() {
7120
+ function J() {
7144
7121
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
7145
7122
  }
7146
7123
  }
@@ -7201,19 +7178,19 @@ function Bf(e, t) {
7201
7178
  return r.join("");
7202
7179
  }
7203
7180
  const Qf = {
7204
- 42: De,
7205
- 43: De,
7206
- 45: De,
7207
- 48: De,
7208
- 49: De,
7209
- 50: De,
7210
- 51: De,
7211
- 52: De,
7212
- 53: De,
7213
- 54: De,
7214
- 55: De,
7215
- 56: De,
7216
- 57: De,
7181
+ 42: Ie,
7182
+ 43: Ie,
7183
+ 45: Ie,
7184
+ 48: Ie,
7185
+ 49: Ie,
7186
+ 50: Ie,
7187
+ 51: Ie,
7188
+ 52: Ie,
7189
+ 53: Ie,
7190
+ 54: Ie,
7191
+ 55: Ie,
7192
+ 56: Ie,
7193
+ 57: Ie,
7217
7194
  62: xa
7218
7195
  }, Yf = {
7219
7196
  91: Yp
@@ -7378,17 +7355,17 @@ function od(e) {
7378
7355
  transforms: [],
7379
7356
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
7380
7357
  enter: {
7381
- autolink: l(R),
7358
+ autolink: l(_),
7382
7359
  autolinkProtocol: A,
7383
7360
  autolinkEmail: A,
7384
- atxHeading: l(Ke),
7385
- blockQuote: l(Xe),
7361
+ atxHeading: l(Je),
7362
+ blockQuote: l(Ke),
7386
7363
  characterEscape: A,
7387
7364
  characterReference: A,
7388
- codeFenced: l(ot),
7365
+ codeFenced: l(at),
7389
7366
  codeFencedFenceInfo: s,
7390
7367
  codeFencedFenceMeta: s,
7391
- codeIndented: l(ot, s),
7368
+ codeIndented: l(at, s),
7392
7369
  codeText: l(Nt, s),
7393
7370
  codeTextData: A,
7394
7371
  data: A,
@@ -7398,34 +7375,34 @@ function od(e) {
7398
7375
  definitionLabelString: s,
7399
7376
  definitionTitleString: s,
7400
7377
  emphasis: l(jt),
7401
- hardBreakEscape: l(gt),
7402
- hardBreakTrailing: l(gt),
7403
- htmlFlow: l(at, s),
7378
+ hardBreakEscape: l(mt),
7379
+ hardBreakTrailing: l(mt),
7380
+ htmlFlow: l(lt, s),
7404
7381
  htmlFlowData: A,
7405
- htmlText: l(at, s),
7382
+ htmlText: l(lt, s),
7406
7383
  htmlTextData: A,
7407
- image: l(mt),
7384
+ image: l(yt),
7408
7385
  label: s,
7409
- link: l(R),
7410
- listItem: l(me),
7386
+ link: l(_),
7387
+ listItem: l(fe),
7411
7388
  listItemValue: v,
7412
- listOrdered: l(ee, f),
7413
- listUnordered: l(ee),
7414
- paragraph: l(le),
7415
- reference: Ne,
7389
+ listOrdered: l(K, f),
7390
+ listUnordered: l(K),
7391
+ paragraph: l(oe),
7392
+ reference: ke,
7416
7393
  referenceString: s,
7417
7394
  resourceDestinationString: s,
7418
7395
  resourceTitleString: s,
7419
- setextHeading: l(Ke),
7420
- strong: l(Qe),
7421
- thematicBreak: l(yt)
7396
+ setextHeading: l(Je),
7397
+ strong: l(Te),
7398
+ thematicBreak: l(Ze)
7422
7399
  },
7423
7400
  exit: {
7424
7401
  atxHeading: c(),
7425
7402
  atxHeadingSequence: L,
7426
7403
  autolink: c(),
7427
- autolinkEmail: Oe,
7428
- autolinkProtocol: Be,
7404
+ autolinkEmail: Le,
7405
+ autolinkProtocol: Ye,
7429
7406
  blockQuote: c(),
7430
7407
  characterEscapeValue: w,
7431
7408
  characterReferenceMarkerHexadecimal: we,
@@ -7442,17 +7419,17 @@ function od(e) {
7442
7419
  data: w,
7443
7420
  definition: c(),
7444
7421
  definitionDestinationString: b,
7445
- definitionLabelString: _,
7422
+ definitionLabelString: F,
7446
7423
  definitionTitleString: B,
7447
7424
  emphasis: c(),
7448
7425
  hardBreakEscape: c(O),
7449
7426
  hardBreakTrailing: c(O),
7450
- htmlFlow: c(F),
7427
+ htmlFlow: c(P),
7451
7428
  htmlFlowData: w,
7452
7429
  htmlText: c(Q),
7453
7430
  htmlTextData: w,
7454
7431
  image: c(X),
7455
- label: he,
7432
+ label: ge,
7456
7433
  labelText: g,
7457
7434
  lineEnding: j,
7458
7435
  link: c(q),
@@ -7463,8 +7440,8 @@ function od(e) {
7463
7440
  referenceString: re,
7464
7441
  resourceDestinationString: be,
7465
7442
  resourceTitleString: h,
7466
- resource: ge,
7467
- setextHeading: c(K),
7443
+ resource: me,
7444
+ setextHeading: c(J),
7468
7445
  setextHeadingLineSequence: W,
7469
7446
  setextHeadingText: $,
7470
7447
  strong: c(),
@@ -7489,82 +7466,82 @@ function od(e) {
7489
7466
  resume: m,
7490
7467
  setData: o,
7491
7468
  getData: a
7492
- }, J = [];
7493
- let oe = -1;
7494
- for (; ++oe < N.length; )
7495
- if (N[oe][1].type === "listOrdered" || N[oe][1].type === "listUnordered")
7496
- if (N[oe][0] === "enter")
7497
- J.push(oe);
7469
+ }, ee = [];
7470
+ let ae = -1;
7471
+ for (; ++ae < N.length; )
7472
+ if (N[ae][1].type === "listOrdered" || N[ae][1].type === "listUnordered")
7473
+ if (N[ae][0] === "enter")
7474
+ ee.push(ae);
7498
7475
  else {
7499
- const Te = J.pop();
7500
- oe = i(N, Te, oe);
7476
+ const De = ee.pop();
7477
+ ae = i(N, De, ae);
7501
7478
  }
7502
- for (oe = -1; ++oe < N.length; ) {
7503
- const Te = t[N[oe][0]];
7504
- Ca.call(Te, N[oe][1].type) && Te[N[oe][1].type].call(
7479
+ for (ae = -1; ++ae < N.length; ) {
7480
+ const De = t[N[ae][0]];
7481
+ Ca.call(De, N[ae][1].type) && De[N[ae][1].type].call(
7505
7482
  Object.assign(
7506
7483
  {
7507
- sliceSerialize: N[oe][2].sliceSerialize
7484
+ sliceSerialize: N[ae][2].sliceSerialize
7508
7485
  },
7509
7486
  Y
7510
7487
  ),
7511
- N[oe][1]
7488
+ N[ae][1]
7512
7489
  );
7513
7490
  }
7514
7491
  if (Y.tokenStack.length > 0) {
7515
- const Te = Y.tokenStack[Y.tokenStack.length - 1];
7516
- (Te[1] || so).call(Y, void 0, Te[0]);
7492
+ const De = Y.tokenStack[Y.tokenStack.length - 1];
7493
+ (De[1] || so).call(Y, void 0, De[0]);
7517
7494
  }
7518
7495
  for (S.position = {
7519
- start: Je(
7496
+ start: et(
7520
7497
  N.length > 0 ? N[0][1].start : {
7521
7498
  line: 1,
7522
7499
  column: 1,
7523
7500
  offset: 0
7524
7501
  }
7525
7502
  ),
7526
- end: Je(
7503
+ end: et(
7527
7504
  N.length > 0 ? N[N.length - 2][1].end : {
7528
7505
  line: 1,
7529
7506
  column: 1,
7530
7507
  offset: 0
7531
7508
  }
7532
7509
  )
7533
- }, oe = -1; ++oe < t.transforms.length; )
7534
- S = t.transforms[oe](S) || S;
7510
+ }, ae = -1; ++ae < t.transforms.length; )
7511
+ S = t.transforms[ae](S) || S;
7535
7512
  return S;
7536
7513
  }
7537
7514
  function i(N, S, Y) {
7538
- let J = S - 1, oe = -1, Te = !1, Ye, He, lt, ke;
7539
- for (; ++J <= Y; ) {
7540
- const ue = N[J];
7541
- if (ue[1].type === "listUnordered" || ue[1].type === "listOrdered" || ue[1].type === "blockQuote" ? (ue[0] === "enter" ? oe++ : oe--, ke = void 0) : ue[1].type === "lineEndingBlank" ? ue[0] === "enter" && (Ye && !ke && !oe && !lt && (lt = J), ke = void 0) : ue[1].type === "linePrefix" || ue[1].type === "listItemValue" || ue[1].type === "listItemMarker" || ue[1].type === "listItemPrefix" || ue[1].type === "listItemPrefixWhitespace" || (ke = void 0), !oe && ue[0] === "enter" && ue[1].type === "listItemPrefix" || oe === -1 && ue[0] === "exit" && (ue[1].type === "listUnordered" || ue[1].type === "listOrdered")) {
7542
- if (Ye) {
7543
- let Et = J;
7544
- for (He = void 0; Et--; ) {
7545
- const ze = N[Et];
7546
- if (ze[1].type === "lineEnding" || ze[1].type === "lineEndingBlank") {
7547
- if (ze[0] === "exit")
7515
+ let ee = S - 1, ae = -1, De = !1, He, $e, st, Ee;
7516
+ for (; ++ee <= Y; ) {
7517
+ const ue = N[ee];
7518
+ if (ue[1].type === "listUnordered" || ue[1].type === "listOrdered" || ue[1].type === "blockQuote" ? (ue[0] === "enter" ? ae++ : ae--, Ee = void 0) : ue[1].type === "lineEndingBlank" ? ue[0] === "enter" && (He && !Ee && !ae && !st && (st = 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), !ae && ue[0] === "enter" && ue[1].type === "listItemPrefix" || ae === -1 && ue[0] === "exit" && (ue[1].type === "listUnordered" || ue[1].type === "listOrdered")) {
7519
+ if (He) {
7520
+ let Et = ee;
7521
+ for ($e = void 0; Et--; ) {
7522
+ const _e = N[Et];
7523
+ if (_e[1].type === "lineEnding" || _e[1].type === "lineEndingBlank") {
7524
+ if (_e[0] === "exit")
7548
7525
  continue;
7549
- He && (N[He][1].type = "lineEndingBlank", Te = !0), ze[1].type = "lineEnding", He = Et;
7550
- } else if (!(ze[1].type === "linePrefix" || ze[1].type === "blockQuotePrefix" || ze[1].type === "blockQuotePrefixWhitespace" || ze[1].type === "blockQuoteMarker" || ze[1].type === "listItemIndent"))
7526
+ $e && (N[$e][1].type = "lineEndingBlank", De = !0), _e[1].type = "lineEnding", $e = Et;
7527
+ } else if (!(_e[1].type === "linePrefix" || _e[1].type === "blockQuotePrefix" || _e[1].type === "blockQuotePrefixWhitespace" || _e[1].type === "blockQuoteMarker" || _e[1].type === "listItemIndent"))
7551
7528
  break;
7552
7529
  }
7553
- lt && (!He || lt < He) && (Ye._spread = !0), Ye.end = Object.assign(
7530
+ st && (!$e || st < $e) && (He._spread = !0), He.end = Object.assign(
7554
7531
  {},
7555
- He ? N[He][1].start : ue[1].end
7556
- ), N.splice(He || J, 0, ["exit", Ye, ue[2]]), J++, Y++;
7532
+ $e ? N[$e][1].start : ue[1].end
7533
+ ), N.splice($e || ee, 0, ["exit", He, ue[2]]), ee++, Y++;
7557
7534
  }
7558
- ue[1].type === "listItemPrefix" && (Ye = {
7535
+ ue[1].type === "listItemPrefix" && (He = {
7559
7536
  type: "listItem",
7560
7537
  _spread: !1,
7561
7538
  start: Object.assign({}, ue[1].start),
7562
7539
  // @ts-expect-error: we’ll add `end` in a second.
7563
7540
  end: void 0
7564
- }, N.splice(J, 0, ["enter", Ye, ue[2]]), J++, Y++, lt = void 0, ke = !0);
7541
+ }, N.splice(ee, 0, ["enter", He, ue[2]]), ee++, Y++, st = void 0, Ee = !0);
7565
7542
  }
7566
7543
  }
7567
- return N[S][1]._spread = Te, Y;
7544
+ return N[S][1]._spread = De, Y;
7568
7545
  }
7569
7546
  function o(N, S) {
7570
7547
  n[N] = S;
@@ -7574,8 +7551,8 @@ function od(e) {
7574
7551
  }
7575
7552
  function l(N, S) {
7576
7553
  return Y;
7577
- function Y(J) {
7578
- u.call(this, N(J), J), S && S.call(this, J);
7554
+ function Y(ee) {
7555
+ u.call(this, N(ee), ee), S && S.call(this, ee);
7579
7556
  }
7580
7557
  }
7581
7558
  function s() {
@@ -7586,7 +7563,7 @@ function od(e) {
7586
7563
  }
7587
7564
  function u(N, S, Y) {
7588
7565
  return this.stack[this.stack.length - 1].children.push(N), this.stack.push(N), this.tokenStack.push([S, Y]), N.position = {
7589
- start: Je(S.start)
7566
+ start: et(S.start)
7590
7567
  }, N;
7591
7568
  }
7592
7569
  function c(N) {
@@ -7596,9 +7573,9 @@ function od(e) {
7596
7573
  }
7597
7574
  }
7598
7575
  function p(N, S) {
7599
- const Y = this.stack.pop(), J = this.tokenStack.pop();
7600
- if (J)
7601
- J[0].type !== N.type && (S ? S.call(this, N, J[0]) : (J[1] || so).call(this, N, J[0]));
7576
+ const Y = this.stack.pop(), ee = this.tokenStack.pop();
7577
+ if (ee)
7578
+ ee[0].type !== N.type && (S ? S.call(this, N, ee[0]) : (ee[1] || so).call(this, N, ee[0]));
7602
7579
  else
7603
7580
  throw new Error(
7604
7581
  "Cannot close `" + N.type + "` (" + Qt({
@@ -7606,7 +7583,7 @@ function od(e) {
7606
7583
  end: N.end
7607
7584
  }) + "): it’s not open"
7608
7585
  );
7609
- return Y.position.end = Je(N.end), Y;
7586
+ return Y.position.end = et(N.end), Y;
7610
7587
  }
7611
7588
  function m() {
7612
7589
  return np(this.stack.pop());
@@ -7639,7 +7616,7 @@ function od(e) {
7639
7616
  const N = this.resume(), S = this.stack[this.stack.length - 1];
7640
7617
  S.value = N.replace(/(\r?\n|\r)$/g, "");
7641
7618
  }
7642
- function _(N) {
7619
+ function F(N) {
7643
7620
  const S = this.resume(), Y = this.stack[this.stack.length - 1];
7644
7621
  Y.label = S, Y.identifier = xt(
7645
7622
  this.sliceSerialize(N)
@@ -7667,25 +7644,25 @@ function od(e) {
7667
7644
  const S = this.stack[this.stack.length - 1];
7668
7645
  S.depth = this.sliceSerialize(N).charCodeAt(0) === 61 ? 1 : 2;
7669
7646
  }
7670
- function K() {
7647
+ function J() {
7671
7648
  o("setextHeadingSlurpLineEnding");
7672
7649
  }
7673
7650
  function A(N) {
7674
7651
  const S = this.stack[this.stack.length - 1];
7675
7652
  let Y = S.children[S.children.length - 1];
7676
- (!Y || Y.type !== "text") && (Y = $e(), Y.position = {
7677
- start: Je(N.start)
7653
+ (!Y || Y.type !== "text") && (Y = je(), Y.position = {
7654
+ start: et(N.start)
7678
7655
  }, S.children.push(Y)), this.stack.push(Y);
7679
7656
  }
7680
7657
  function w(N) {
7681
7658
  const S = this.stack.pop();
7682
- S.value += this.sliceSerialize(N), S.position.end = Je(N.end);
7659
+ S.value += this.sliceSerialize(N), S.position.end = et(N.end);
7683
7660
  }
7684
7661
  function j(N) {
7685
7662
  const S = this.stack[this.stack.length - 1];
7686
7663
  if (a("atHardBreak")) {
7687
7664
  const Y = S.children[S.children.length - 1];
7688
- Y.position.end = Je(N.end), o("atHardBreak");
7665
+ Y.position.end = et(N.end), o("atHardBreak");
7689
7666
  return;
7690
7667
  }
7691
7668
  !a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(S.type) && (A.call(this, N), w.call(this, N));
@@ -7693,7 +7670,7 @@ function od(e) {
7693
7670
  function O() {
7694
7671
  o("atHardBreak", !0);
7695
7672
  }
7696
- function F() {
7673
+ function P() {
7697
7674
  const N = this.resume(), S = this.stack[this.stack.length - 1];
7698
7675
  S.value = N;
7699
7676
  }
@@ -7727,11 +7704,11 @@ function od(e) {
7727
7704
  const S = this.sliceSerialize(N), Y = this.stack[this.stack.length - 2];
7728
7705
  Y.label = nd(S), Y.identifier = xt(S).toLowerCase();
7729
7706
  }
7730
- function he() {
7707
+ function ge() {
7731
7708
  const N = this.stack[this.stack.length - 1], S = this.resume(), Y = this.stack[this.stack.length - 1];
7732
7709
  if (o("inReference", !0), Y.type === "link") {
7733
- const J = N.children;
7734
- Y.children = J;
7710
+ const ee = N.children;
7711
+ Y.children = ee;
7735
7712
  } else
7736
7713
  Y.alt = S;
7737
7714
  }
@@ -7743,10 +7720,10 @@ function od(e) {
7743
7720
  const N = this.resume(), S = this.stack[this.stack.length - 1];
7744
7721
  S.title = N;
7745
7722
  }
7746
- function ge() {
7723
+ function me() {
7747
7724
  o("inReference");
7748
7725
  }
7749
- function Ne() {
7726
+ function ke() {
7750
7727
  o("referenceType", "collapsed");
7751
7728
  }
7752
7729
  function re(N) {
@@ -7760,31 +7737,31 @@ function od(e) {
7760
7737
  }
7761
7738
  function ve(N) {
7762
7739
  const S = this.sliceSerialize(N), Y = a("characterReferenceType");
7763
- let J;
7764
- Y ? (J = Ea(
7740
+ let ee;
7741
+ Y ? (ee = Ea(
7765
7742
  S,
7766
7743
  Y === "characterReferenceMarkerNumeric" ? 10 : 16
7767
- ), o("characterReferenceType")) : J = Qr(S);
7768
- const oe = this.stack.pop();
7769
- oe.value += J, oe.position.end = Je(N.end);
7744
+ ), o("characterReferenceType")) : ee = Qr(S);
7745
+ const ae = this.stack.pop();
7746
+ ae.value += ee, ae.position.end = et(N.end);
7770
7747
  }
7771
- function Be(N) {
7748
+ function Ye(N) {
7772
7749
  w.call(this, N);
7773
7750
  const S = this.stack[this.stack.length - 1];
7774
7751
  S.url = this.sliceSerialize(N);
7775
7752
  }
7776
- function Oe(N) {
7753
+ function Le(N) {
7777
7754
  w.call(this, N);
7778
7755
  const S = this.stack[this.stack.length - 1];
7779
7756
  S.url = "mailto:" + this.sliceSerialize(N);
7780
7757
  }
7781
- function Xe() {
7758
+ function Ke() {
7782
7759
  return {
7783
7760
  type: "blockquote",
7784
7761
  children: []
7785
7762
  };
7786
7763
  }
7787
- function ot() {
7764
+ function at() {
7788
7765
  return {
7789
7766
  type: "code",
7790
7767
  lang: null,
@@ -7813,25 +7790,25 @@ function od(e) {
7813
7790
  children: []
7814
7791
  };
7815
7792
  }
7816
- function Ke() {
7793
+ function Je() {
7817
7794
  return {
7818
7795
  type: "heading",
7819
7796
  depth: void 0,
7820
7797
  children: []
7821
7798
  };
7822
7799
  }
7823
- function gt() {
7800
+ function mt() {
7824
7801
  return {
7825
7802
  type: "break"
7826
7803
  };
7827
7804
  }
7828
- function at() {
7805
+ function lt() {
7829
7806
  return {
7830
7807
  type: "html",
7831
7808
  value: ""
7832
7809
  };
7833
7810
  }
7834
- function mt() {
7811
+ function yt() {
7835
7812
  return {
7836
7813
  type: "image",
7837
7814
  title: null,
@@ -7839,7 +7816,7 @@ function od(e) {
7839
7816
  alt: null
7840
7817
  };
7841
7818
  }
7842
- function R() {
7819
+ function _() {
7843
7820
  return {
7844
7821
  type: "link",
7845
7822
  title: null,
@@ -7847,7 +7824,7 @@ function od(e) {
7847
7824
  children: []
7848
7825
  };
7849
7826
  }
7850
- function ee(N) {
7827
+ function K(N) {
7851
7828
  return {
7852
7829
  type: "list",
7853
7830
  ordered: N.type === "listOrdered",
@@ -7856,7 +7833,7 @@ function od(e) {
7856
7833
  children: []
7857
7834
  };
7858
7835
  }
7859
- function me(N) {
7836
+ function fe(N) {
7860
7837
  return {
7861
7838
  type: "listItem",
7862
7839
  spread: N._spread,
@@ -7864,31 +7841,31 @@ function od(e) {
7864
7841
  children: []
7865
7842
  };
7866
7843
  }
7867
- function le() {
7844
+ function oe() {
7868
7845
  return {
7869
7846
  type: "paragraph",
7870
7847
  children: []
7871
7848
  };
7872
7849
  }
7873
- function Qe() {
7850
+ function Te() {
7874
7851
  return {
7875
7852
  type: "strong",
7876
7853
  children: []
7877
7854
  };
7878
7855
  }
7879
- function $e() {
7856
+ function je() {
7880
7857
  return {
7881
7858
  type: "text",
7882
7859
  value: ""
7883
7860
  };
7884
7861
  }
7885
- function yt() {
7862
+ function Ze() {
7886
7863
  return {
7887
7864
  type: "thematicBreak"
7888
7865
  };
7889
7866
  }
7890
7867
  }
7891
- function Je(e) {
7868
+ function et(e) {
7892
7869
  return {
7893
7870
  line: e.line,
7894
7871
  column: e.column,
@@ -8002,7 +7979,7 @@ function Dt(e) {
8002
7979
  for (; ++n < e.length; ) {
8003
7980
  const o = e.charCodeAt(n);
8004
7981
  let a = "";
8005
- if (o === 37 && Ce(e.charCodeAt(n + 1)) && Ce(e.charCodeAt(n + 2)))
7982
+ if (o === 37 && Se(e.charCodeAt(n + 1)) && Se(e.charCodeAt(n + 2)))
8006
7983
  i = 2;
8007
7984
  else if (o < 128)
8008
7985
  /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o)) || (a = String.fromCharCode(o));
@@ -8732,7 +8709,7 @@ function Ra(e, t) {
8732
8709
  function Ir(e) {
8733
8710
  return e.toLowerCase();
8734
8711
  }
8735
- class Re {
8712
+ class Be {
8736
8713
  /**
8737
8714
  * @constructor
8738
8715
  * @param {string} property
@@ -8742,32 +8719,32 @@ class Re {
8742
8719
  this.property = t, this.attribute = n;
8743
8720
  }
8744
8721
  }
8745
- Re.prototype.space = null;
8746
- Re.prototype.boolean = !1;
8747
- Re.prototype.booleanish = !1;
8748
- Re.prototype.overloadedBoolean = !1;
8749
- Re.prototype.number = !1;
8750
- Re.prototype.commaSeparated = !1;
8751
- Re.prototype.spaceSeparated = !1;
8752
- Re.prototype.commaOrSpaceSeparated = !1;
8753
- Re.prototype.mustUseProperty = !1;
8754
- Re.prototype.defined = !1;
8722
+ Be.prototype.space = null;
8723
+ Be.prototype.boolean = !1;
8724
+ Be.prototype.booleanish = !1;
8725
+ Be.prototype.overloadedBoolean = !1;
8726
+ Be.prototype.number = !1;
8727
+ Be.prototype.commaSeparated = !1;
8728
+ Be.prototype.spaceSeparated = !1;
8729
+ Be.prototype.commaOrSpaceSeparated = !1;
8730
+ Be.prototype.mustUseProperty = !1;
8731
+ Be.prototype.defined = !1;
8755
8732
  let th = 0;
8756
- const Z = ht(), xe = ht(), Ua = ht(), C = ht(), ce = ht(), wt = ht(), Ee = ht();
8757
- function ht() {
8733
+ const Z = gt(), xe = gt(), Ua = gt(), C = gt(), ce = gt(), wt = gt(), Ae = gt();
8734
+ function gt() {
8758
8735
  return 2 ** ++th;
8759
8736
  }
8760
8737
  const Nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8761
8738
  __proto__: null,
8762
8739
  boolean: Z,
8763
8740
  booleanish: xe,
8764
- commaOrSpaceSeparated: Ee,
8741
+ commaOrSpaceSeparated: Ae,
8765
8742
  commaSeparated: wt,
8766
8743
  number: C,
8767
8744
  overloadedBoolean: Ua,
8768
8745
  spaceSeparated: ce
8769
8746
  }, Symbol.toStringTag, { value: "Module" })), or = Object.keys(Nr);
8770
- class Wr extends Re {
8747
+ class Wr extends Be {
8771
8748
  /**
8772
8749
  * @constructor
8773
8750
  * @param {string} property
@@ -9429,7 +9406,7 @@ const $a = It({
9429
9406
  },
9430
9407
  transform: Ya,
9431
9408
  properties: {
9432
- about: Ee,
9409
+ about: Ae,
9433
9410
  accentHeight: C,
9434
9411
  accumulate: null,
9435
9412
  additive: null,
@@ -9541,7 +9518,7 @@ const $a = It({
9541
9518
  k2: C,
9542
9519
  k3: C,
9543
9520
  k4: C,
9544
- kernelMatrix: Ee,
9521
+ kernelMatrix: Ae,
9545
9522
  kernelUnitLength: null,
9546
9523
  keyPoints: null,
9547
9524
  // SEMI_COLON_SEPARATED
@@ -9698,21 +9675,21 @@ const $a = It({
9698
9675
  preserveAspectRatio: null,
9699
9676
  primitiveUnits: null,
9700
9677
  propagate: null,
9701
- property: Ee,
9678
+ property: Ae,
9702
9679
  r: null,
9703
9680
  radius: null,
9704
9681
  referrerPolicy: null,
9705
9682
  refX: null,
9706
9683
  refY: null,
9707
- rel: Ee,
9708
- rev: Ee,
9684
+ rel: Ae,
9685
+ rev: Ae,
9709
9686
  renderingIntent: null,
9710
9687
  repeatCount: null,
9711
9688
  repeatDur: null,
9712
- requiredExtensions: Ee,
9713
- requiredFeatures: Ee,
9714
- requiredFonts: Ee,
9715
- requiredFormats: Ee,
9689
+ requiredExtensions: Ae,
9690
+ requiredFeatures: Ae,
9691
+ requiredFonts: Ae,
9692
+ requiredFormats: Ae,
9716
9693
  resource: null,
9717
9694
  restart: null,
9718
9695
  result: null,
@@ -9740,7 +9717,7 @@ const $a = It({
9740
9717
  strikethroughThickness: C,
9741
9718
  string: null,
9742
9719
  stroke: null,
9743
- strokeDashArray: Ee,
9720
+ strokeDashArray: Ae,
9744
9721
  strokeDashOffset: null,
9745
9722
  strokeLineCap: null,
9746
9723
  strokeLineJoin: null,
@@ -9754,7 +9731,7 @@ const $a = It({
9754
9731
  syncMaster: null,
9755
9732
  syncTolerance: null,
9756
9733
  syncToleranceDefault: null,
9757
- systemLanguage: Ee,
9734
+ systemLanguage: Ae,
9758
9735
  tabIndex: C,
9759
9736
  tableValues: null,
9760
9737
  target: null,
@@ -9768,7 +9745,7 @@ const $a = It({
9768
9745
  title: null,
9769
9746
  transformBehavior: null,
9770
9747
  type: null,
9771
- typeOf: Ee,
9748
+ typeOf: Ae,
9772
9749
  to: null,
9773
9750
  transform: null,
9774
9751
  transformOrigin: null,
@@ -9812,7 +9789,7 @@ const $a = It({
9812
9789
  }), oh = /^data[-\w.:]+$/i, yo = /-[a-z]/g, ah = /[A-Z]/g;
9813
9790
  function lh(e, t) {
9814
9791
  const n = Ir(t);
9815
- let r = t, i = Re;
9792
+ let r = t, i = Be;
9816
9793
  if (n in e.normal)
9817
9794
  return e.property[e.normal[n]];
9818
9795
  if (n.length > 4 && n.slice(0, 4) === "data" && oh.test(t)) {
@@ -9873,7 +9850,7 @@ function fh(e) {
9873
9850
  });
9874
9851
  };
9875
9852
  }
9876
- var Va = { exports: {} }, ae = {};
9853
+ var Va = { exports: {} }, le = {};
9877
9854
  /**
9878
9855
  * @license React
9879
9856
  * react-is.production.min.js
@@ -9885,7 +9862,7 @@ var Va = { exports: {} }, ae = {};
9885
9862
  */
9886
9863
  var Gr = Symbol.for("react.element"), Zr = Symbol.for("react.portal"), Nn = Symbol.for("react.fragment"), kn = Symbol.for("react.strict_mode"), jn = Symbol.for("react.profiler"), En = Symbol.for("react.provider"), Cn = Symbol.for("react.context"), dh = Symbol.for("react.server_context"), An = Symbol.for("react.forward_ref"), Sn = Symbol.for("react.suspense"), On = Symbol.for("react.suspense_list"), zn = Symbol.for("react.memo"), Ln = Symbol.for("react.lazy"), hh = Symbol.for("react.offscreen"), Wa;
9887
9864
  Wa = Symbol.for("react.module.reference");
9888
- function Ue(e) {
9865
+ function Qe(e) {
9889
9866
  if (typeof e == "object" && e !== null) {
9890
9867
  var t = e.$$typeof;
9891
9868
  switch (t) {
@@ -9915,67 +9892,67 @@ function Ue(e) {
9915
9892
  }
9916
9893
  }
9917
9894
  }
9918
- ae.ContextConsumer = Cn;
9919
- ae.ContextProvider = En;
9920
- ae.Element = Gr;
9921
- ae.ForwardRef = An;
9922
- ae.Fragment = Nn;
9923
- ae.Lazy = Ln;
9924
- ae.Memo = zn;
9925
- ae.Portal = Zr;
9926
- ae.Profiler = jn;
9927
- ae.StrictMode = kn;
9928
- ae.Suspense = Sn;
9929
- ae.SuspenseList = On;
9930
- ae.isAsyncMode = function() {
9895
+ le.ContextConsumer = Cn;
9896
+ le.ContextProvider = En;
9897
+ le.Element = Gr;
9898
+ le.ForwardRef = An;
9899
+ le.Fragment = Nn;
9900
+ le.Lazy = Ln;
9901
+ le.Memo = zn;
9902
+ le.Portal = Zr;
9903
+ le.Profiler = jn;
9904
+ le.StrictMode = kn;
9905
+ le.Suspense = Sn;
9906
+ le.SuspenseList = On;
9907
+ le.isAsyncMode = function() {
9931
9908
  return !1;
9932
9909
  };
9933
- ae.isConcurrentMode = function() {
9910
+ le.isConcurrentMode = function() {
9934
9911
  return !1;
9935
9912
  };
9936
- ae.isContextConsumer = function(e) {
9937
- return Ue(e) === Cn;
9913
+ le.isContextConsumer = function(e) {
9914
+ return Qe(e) === Cn;
9938
9915
  };
9939
- ae.isContextProvider = function(e) {
9940
- return Ue(e) === En;
9916
+ le.isContextProvider = function(e) {
9917
+ return Qe(e) === En;
9941
9918
  };
9942
- ae.isElement = function(e) {
9919
+ le.isElement = function(e) {
9943
9920
  return typeof e == "object" && e !== null && e.$$typeof === Gr;
9944
9921
  };
9945
- ae.isForwardRef = function(e) {
9946
- return Ue(e) === An;
9922
+ le.isForwardRef = function(e) {
9923
+ return Qe(e) === An;
9947
9924
  };
9948
- ae.isFragment = function(e) {
9949
- return Ue(e) === Nn;
9925
+ le.isFragment = function(e) {
9926
+ return Qe(e) === Nn;
9950
9927
  };
9951
- ae.isLazy = function(e) {
9952
- return Ue(e) === Ln;
9928
+ le.isLazy = function(e) {
9929
+ return Qe(e) === Ln;
9953
9930
  };
9954
- ae.isMemo = function(e) {
9955
- return Ue(e) === zn;
9931
+ le.isMemo = function(e) {
9932
+ return Qe(e) === zn;
9956
9933
  };
9957
- ae.isPortal = function(e) {
9958
- return Ue(e) === Zr;
9934
+ le.isPortal = function(e) {
9935
+ return Qe(e) === Zr;
9959
9936
  };
9960
- ae.isProfiler = function(e) {
9961
- return Ue(e) === jn;
9937
+ le.isProfiler = function(e) {
9938
+ return Qe(e) === jn;
9962
9939
  };
9963
- ae.isStrictMode = function(e) {
9964
- return Ue(e) === kn;
9940
+ le.isStrictMode = function(e) {
9941
+ return Qe(e) === kn;
9965
9942
  };
9966
- ae.isSuspense = function(e) {
9967
- return Ue(e) === Sn;
9943
+ le.isSuspense = function(e) {
9944
+ return Qe(e) === Sn;
9968
9945
  };
9969
- ae.isSuspenseList = function(e) {
9970
- return Ue(e) === On;
9946
+ le.isSuspenseList = function(e) {
9947
+ return Qe(e) === On;
9971
9948
  };
9972
- ae.isValidElementType = function(e) {
9949
+ le.isValidElementType = function(e) {
9973
9950
  return typeof e == "string" || typeof e == "function" || e === Nn || e === jn || e === kn || e === Sn || e === On || e === hh || typeof e == "object" && e !== null && (e.$$typeof === Ln || e.$$typeof === zn || e.$$typeof === En || e.$$typeof === Cn || e.$$typeof === An || e.$$typeof === Wa || e.getModuleId !== void 0);
9974
9951
  };
9975
- ae.typeOf = Ue;
9976
- Va.exports = ae;
9952
+ le.typeOf = Qe;
9953
+ Va.exports = le;
9977
9954
  var gh = Va.exports;
9978
- const mh = /* @__PURE__ */ nt(gh);
9955
+ const mh = /* @__PURE__ */ rt(gh);
9979
9956
  function yh(e) {
9980
9957
  const t = (
9981
9958
  // @ts-expect-error looks like a node.
@@ -9996,7 +9973,7 @@ function bh(e, t) {
9996
9973
  ).trim();
9997
9974
  }
9998
9975
  var Xr = { exports: {} }, bo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, xh = /\n/g, wh = /^\s*/, vh = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Th = /^:\s*/, Dh = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, Ih = /^[;\s]*/, Nh = /^\s+|\s+$/g, kh = `
9999
- `, xo = "/", wo = "*", pt = "", jh = "comment", Eh = "declaration", Ch = function(e, t) {
9976
+ `, xo = "/", wo = "*", ft = "", jh = "comment", Eh = "declaration", Ch = function(e, t) {
10000
9977
  if (typeof e != "string")
10001
9978
  throw new TypeError("First argument must be a string");
10002
9979
  if (!e)
@@ -10045,9 +10022,9 @@ var Xr = { exports: {} }, bo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, xh = /\n/g, wh
10045
10022
  function p() {
10046
10023
  var v = o();
10047
10024
  if (!(xo != e.charAt(0) || wo != e.charAt(1))) {
10048
- for (var x = 2; pt != e.charAt(x) && (wo != e.charAt(x) || xo != e.charAt(x + 1)); )
10025
+ for (var x = 2; ft != e.charAt(x) && (wo != e.charAt(x) || xo != e.charAt(x + 1)); )
10049
10026
  ++x;
10050
- if (x += 2, pt === e.charAt(x - 1))
10027
+ if (x += 2, ft === e.charAt(x - 1))
10051
10028
  return l("End of comment missing");
10052
10029
  var k = e.slice(2, x - 2);
10053
10030
  return r += 2, i(k), e = e.slice(x), r += 2, v({
@@ -10063,8 +10040,8 @@ var Xr = { exports: {} }, bo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, xh = /\n/g, wh
10063
10040
  return l("property missing ':'");
10064
10041
  var k = s(Dh), M = v({
10065
10042
  type: Eh,
10066
- property: vo(x[0].replace(bo, pt)),
10067
- value: k ? vo(k[0].replace(bo, pt)) : pt
10043
+ property: vo(x[0].replace(bo, ft)),
10044
+ value: k ? vo(k[0].replace(bo, ft)) : ft
10068
10045
  });
10069
10046
  return s(Ih), M;
10070
10047
  }
@@ -10079,7 +10056,7 @@ var Xr = { exports: {} }, bo = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, xh = /\n/g, wh
10079
10056
  return u(), f();
10080
10057
  };
10081
10058
  function vo(e) {
10082
- return e ? e.replace(Nh, pt) : pt;
10059
+ return e ? e.replace(Nh, ft) : ft;
10083
10060
  }
10084
10061
  var Ah = Ch;
10085
10062
  function Ga(e, t) {
@@ -10093,7 +10070,7 @@ function Ga(e, t) {
10093
10070
  Xr.exports = Ga;
10094
10071
  Xr.exports.default = Ga;
10095
10072
  var Sh = Xr.exports;
10096
- const Oh = /* @__PURE__ */ nt(Sh), kr = {}.hasOwnProperty, zh = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]);
10073
+ const Oh = /* @__PURE__ */ rt(Sh), kr = {}.hasOwnProperty, zh = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]);
10097
10074
  function Za(e, t) {
10098
10075
  const n = [];
10099
10076
  let r = -1, i;
@@ -10113,7 +10090,7 @@ function Lh(e, t, n, r) {
10113
10090
  const m = t.position || {
10114
10091
  start: { line: null, column: null, offset: null },
10115
10092
  end: { line: null, column: null, offset: null }
10116
- }, f = i.components && kr.call(i.components, l) ? i.components[l] : l, v = typeof f == "string" || f === tt.Fragment;
10093
+ }, f = i.components && kr.call(i.components, l) ? i.components[l] : l, v = typeof f == "string" || f === nt.Fragment;
10117
10094
  if (!mh.isValidElementType(f))
10118
10095
  throw new TypeError(
10119
10096
  `Component for name \`${l}\` not defined or is not renderable`
@@ -10134,7 +10111,7 @@ function Lh(e, t, n, r) {
10134
10111
  const x = _h(t);
10135
10112
  s.checked = x && x.properties ? !!x.properties.checked : null, s.index = ar(r, t), s.ordered = r.tagName === "ol";
10136
10113
  }
10137
- return !v && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), v || (s.isHeader = l === "th")), !v && l === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Uh(m)), !v && i.rawSourcePos && (s.sourcePosition = t.position), !v && i.includeElementIndex && (s.index = ar(r, t), s.siblingCount = ar(r)), v || (s.node = t), p.length > 0 ? tt.createElement(f, s, p) : tt.createElement(f, s);
10114
+ return !v && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), v || (s.isHeader = l === "th")), !v && l === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Uh(m)), !v && i.rawSourcePos && (s.sourcePosition = t.position), !v && i.includeElementIndex && (s.index = ar(r, t), s.siblingCount = ar(r)), v || (s.node = t), p.length > 0 ? nt.createElement(f, s, p) : nt.createElement(f, s);
10138
10115
  }
10139
10116
  function _h(e) {
10140
10117
  let t = -1;
@@ -10224,12 +10201,12 @@ function Xa(e) {
10224
10201
  const r = t.runSync(t.parse(n), n);
10225
10202
  if (r.type !== "root")
10226
10203
  throw new TypeError("Expected a `root` node");
10227
- let i = tt.createElement(
10228
- tt.Fragment,
10204
+ let i = nt.createElement(
10205
+ nt.Fragment,
10229
10206
  {},
10230
10207
  Za({ options: e, schema: ch, listDepth: 0 }, r)
10231
10208
  );
10232
- return e.className && (i = tt.createElement("div", { className: e.className }, i)), i;
10209
+ return e.className && (i = nt.createElement("div", { className: e.className }, i)), i;
10233
10210
  }
10234
10211
  Xa.propTypes = {
10235
10212
  // Core options:
@@ -10359,19 +10336,19 @@ function _n({
10359
10336
  text: a,
10360
10337
  userTrackingName: l
10361
10338
  }) {
10362
- const [s, u] = ye(!0), { primaryColor: c, xpertKey: p, userTracking: m, conversationScreen: f } = Ae(Se), v = Ht(
10339
+ const [s, u] = ye(!0), { primaryColor: c, xpertKey: p, userTracking: m, conversationScreen: f } = Oe(ze), v = Ht(
10363
10340
  (M) => {
10364
- var z, E, _, B;
10365
- ((z = M == null ? void 0 : M.data) == null ? void 0 : z.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (E = window == null ? void 0 : window.OnetrustActiveGroups) != null && E.includes("C0003")) && Fe.set(`${p}-live-chat-open`, 1, {
10341
+ var z, E, F, B;
10342
+ ((z = M == null ? void 0 : M.data) == null ? void 0 : z.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (E = window == null ? void 0 : window.OnetrustActiveGroups) != null && E.includes("C0003")) && Re.set(`${p}-live-chat-open`, 1, {
10366
10343
  expires: 1,
10367
10344
  path: "/"
10368
- }), ((_ = M == null ? void 0 : M.data) == null ? void 0 : _.type) === "connection" && ((B = M == null ? void 0 : M.data) == null ? void 0 : B.state) === "disconnected" && Fe.remove(`${p}-live-chat-open`);
10345
+ }), ((F = M == null ? void 0 : M.data) == null ? void 0 : F.type) === "connection" && ((B = M == null ? void 0 : M.data) == null ? void 0 : B.state) === "disconnected" && Re.remove(`${p}-live-chat-open`);
10369
10346
  },
10370
10347
  [p]
10371
10348
  ), x = Ht(
10372
10349
  (M) => {
10373
- var z, E, _, B;
10374
- ((z = M == null ? void 0 : M.data) == null ? void 0 : z.type) === "unhide" && ((E = M == null ? void 0 : M.data) == null ? void 0 : E.reason) === "pop-out" && t(!0), ((_ = M == null ? void 0 : M.data) == null ? void 0 : _.type) === "open" && ((B = M == null ? void 0 : M.data) == null ? void 0 : B.chatState) === !0 && t(!0);
10350
+ var z, E, F, B;
10351
+ ((z = M == null ? void 0 : M.data) == null ? void 0 : z.type) === "unhide" && ((E = M == null ? void 0 : M.data) == null ? void 0 : E.reason) === "pop-out" && t(!0), ((F = M == null ? void 0 : M.data) == null ? void 0 : F.type) === "open" && ((B = M == null ? void 0 : M.data) == null ? void 0 : B.chatState) === !0 && t(!0);
10375
10352
  },
10376
10353
  [t]
10377
10354
  );
@@ -10547,7 +10524,7 @@ Fn.defaultProps = {
10547
10524
  };
10548
10525
  Fn.displayName = "AssistantMessageBubble";
10549
10526
  const Vh = Fn, Ja = () => {
10550
- const { disclaimer: e } = Ae(Se), t = We(null);
10527
+ const { disclaimer: e } = Oe(ze), t = We(null);
10551
10528
  return Me(() => {
10552
10529
  var n;
10553
10530
  (n = t == null ? void 0 : t.current) == null || n.focus();
@@ -10581,7 +10558,7 @@ const Vh = Fn, Ja = () => {
10581
10558
  Ja.displayName = "ConversationScreenDisclaimer";
10582
10559
  const Wh = Ja, Kr = ({ loading: e, onPromptClick: t }) => {
10583
10560
  var i;
10584
- const { primaryColor: n, conversationScreen: r } = Ae(Se);
10561
+ const { primaryColor: n, conversationScreen: r } = Oe(ze);
10585
10562
  return /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
10586
10563
  /* @__PURE__ */ D.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
10587
10564
  (i = r.prompts) == null ? void 0 : i.map((o) => {
@@ -10626,7 +10603,7 @@ Jr.propTypes = {
10626
10603
  Jr.displayName = "SystemMessageBubble";
10627
10604
  const Zh = Jr, ei = ({ content: e, isNormalSize: t }) => {
10628
10605
  var i;
10629
- const { primaryColor: n, conversationScreen: r } = Ae(Se);
10606
+ const { primaryColor: n, conversationScreen: r } = Oe(ze);
10630
10607
  return /* @__PURE__ */ D.jsx(
10631
10608
  "section",
10632
10609
  {
@@ -10657,7 +10634,7 @@ const Xh = ei, Pn = ({
10657
10634
  setLiveChatOpen: l,
10658
10635
  isTestUser: s
10659
10636
  }) => {
10660
- const { conversationScreen: u } = Ae(Se), { prompts: c, systemMessage: p } = u, m = We(null);
10637
+ const { conversationScreen: u } = Oe(ze), { prompts: c, systemMessage: p } = u, m = We(null);
10661
10638
  return Me(() => {
10662
10639
  var f;
10663
10640
  (f = m.current) == null || f.scrollIntoView({
@@ -10837,12 +10814,12 @@ function tl({
10837
10814
  style: o = {}
10838
10815
  }) {
10839
10816
  var v;
10840
- const { proactiveMessage: a } = Ae(Se), [l, s] = ye(!0), [u, c] = ye(!1), p = l && (!(window != null && window.OnetrustActiveGroups) || ((v = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : v.includes("C0003"))) && Fe.get(t) === void 0;
10817
+ const { proactiveMessage: a } = Oe(ze), [l, s] = ye(!0), [u, c] = ye(!1), p = l && (!(window != null && window.OnetrustActiveGroups) || ((v = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : v.includes("C0003"))) && Re.get(t) === void 0;
10841
10818
  Me(() => {
10842
10819
  var x;
10843
10820
  (x = window == null ? void 0 : window.OneTrust) == null || x.OnConsentChanged(() => {
10844
10821
  var k;
10845
- !((k = window == null ? void 0 : window.OnetrustActiveGroups) != null && k.includes("C0003")) && Fe.get(t) !== void 0 && Fe.remove(t);
10822
+ !((k = window == null ? void 0 : window.OnetrustActiveGroups) != null && k.includes("C0003")) && Re.get(t) !== void 0 && Re.remove(t);
10846
10823
  });
10847
10824
  }, [t]), Me(() => {
10848
10825
  var x;
@@ -10864,7 +10841,7 @@ function tl({
10864
10841
  expires: M,
10865
10842
  path: "/"
10866
10843
  };
10867
- Fe.set(x, k, z);
10844
+ Re.set(x, k, z);
10868
10845
  };
10869
10846
  return !u || !p ? null : /* @__PURE__ */ D.jsx("div", { children: /* @__PURE__ */ D.jsxs(
10870
10847
  "div",
@@ -11002,7 +10979,7 @@ function og(e) {
11002
10979
  }
11003
10980
  const ag = [];
11004
10981
  function ti({ submitEventExternal: e }) {
11005
- var at, mt;
10982
+ var lt, yt;
11006
10983
  const {
11007
10984
  chatApi: t,
11008
10985
  conversationScreen: n,
@@ -11011,33 +10988,33 @@ function ti({ submitEventExternal: e }) {
11011
10988
  userTracking: o,
11012
10989
  webExperimentation: a,
11013
10990
  xpertKey: l
11014
- } = Ae(Se), s = rt(), [, u] = ye(!1), [, c] = ye(!1), [p, m] = ye(ag), [f, v] = ye(!1), [x, k] = ye(!1), [M, z] = ye(!1), [E, _] = ye(""), [B, b] = ye(!1), [L, $] = ye(!0), [W, K] = ye(!1), [A, w] = ye(!1), [j, O] = ye(!1), F = We(null), Q = We(null), V = We(null), q = Fe.get(`${l}-test`) === "1";
10991
+ } = Oe(ze), s = it(), [, u] = ye(!1), [, c] = ye(!1), [p, m] = ye(ag), [f, v] = ye(!1), [x, k] = ye(!1), [M, z] = ye(!1), [E, F] = ye(""), [B, b] = ye(!1), [L, $] = ye(!0), [W, J] = ye(!1), [A, w] = ye(!1), [j, O] = ye(!1), P = We(null), Q = We(null), V = We(null), q = Re.get(`${l}-test`) === "1";
11015
10992
  eg(
11016
10993
  n.liveChat.enabled,
11017
10994
  M,
11018
10995
  z
11019
10996
  );
11020
10997
  const X = Ht(
11021
- ({ name: R, payload: ee }) => {
11022
- const me = So(o == null ? void 0 : o.payloadParams, ee);
11023
- e ? e({ name: R, payload: me }) : V.current.track(
10998
+ ({ name: _, payload: K }) => {
10999
+ const fe = So(o == null ? void 0 : o.payloadParams, K);
11000
+ e ? e({ name: _, payload: fe }) : V.current.track(
11024
11001
  // TODO: this is untestable - create a custom hook to get submit event function.
11025
- R,
11026
- me
11002
+ _,
11003
+ fe
11027
11004
  );
11028
11005
  },
11029
11006
  [e, o.payloadParams]
11030
11007
  ), g = Ht(async () => {
11031
11008
  if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
11032
11009
  try {
11033
- const R = Fe.get(
11010
+ const _ = Re.get(
11034
11011
  `${l}-conversation-history-id`
11035
11012
  );
11036
- if (!R)
11013
+ if (!_)
11037
11014
  return;
11038
11015
  v(!0);
11039
- const ee = await fetch(
11040
- `${t.endpoint}/xpert-chat/${R}`,
11016
+ const K = await fetch(
11017
+ `${t.endpoint}/xpert-chat/${_}`,
11041
11018
  {
11042
11019
  method: "GET",
11043
11020
  headers: {
@@ -11045,53 +11022,80 @@ function ti({ submitEventExternal: e }) {
11045
11022
  }
11046
11023
  }
11047
11024
  );
11048
- if (ee.status === 404) {
11049
- Fe.remove(`${l}-conversation-history-id`);
11025
+ if (K.status === 404) {
11026
+ Re.remove(`${l}-conversation-history-id`);
11050
11027
  return;
11051
11028
  }
11052
- if (!ee.ok)
11053
- throw new lr(`HTTPError: ${ee.status} ${ee.statusText}`);
11054
- const me = await ee.json();
11029
+ if (!K.ok)
11030
+ throw new lr(`HTTPError: ${K.status} ${K.statusText}`);
11031
+ const fe = await K.json();
11055
11032
  m(
11056
- me.map((le) => ({
11057
- ...le,
11033
+ fe.map((oe) => ({
11034
+ ...oe,
11058
11035
  disableFeedback: !0
11059
11036
  }))
11060
11037
  ), w(!0), O(!0);
11061
- } catch (R) {
11062
- console.error(R);
11038
+ } catch (_) {
11039
+ console.error(_);
11063
11040
  } finally {
11064
11041
  v(!1);
11065
11042
  }
11066
11043
  }, [l, t.endpoint]);
11067
11044
  ng(g), Me(() => {
11068
- let R, ee;
11069
- return o.enabled && (R = setInterval(() => {
11070
- var le;
11071
- console.log("Chatbot - Finding Segment"), (le = window.analytics) != null && le.track && (console.log("Chatbot - Segment found"), V.current = window.analytics, clearInterval(R), clearTimeout(ee), u(!0));
11072
- }, 1e3), ee = setTimeout(() => {
11073
- clearInterval(R);
11045
+ let _, K;
11046
+ return o.enabled && (_ = setInterval(() => {
11047
+ var oe;
11048
+ console.log("Chatbot - Finding Segment"), (oe = window.analytics) != null && oe.track && (console.log("Chatbot - Segment found"), V.current = window.analytics, clearInterval(_), clearTimeout(K), u(!0));
11049
+ }, 1e3), K = setTimeout(() => {
11050
+ clearInterval(_);
11074
11051
  }, 6e4)), () => {
11075
- clearInterval(R), clearTimeout(ee);
11052
+ clearInterval(_), clearTimeout(K);
11076
11053
  };
11077
11054
  }, [o.enabled, o.prefix]), Me(() => {
11078
- let R, ee;
11079
- return R = setInterval(() => {
11080
- a.enabled && (console.log("Chatbot - Finding Optimizely"), window.optimizely && window.experiments && (console.log("Chatbot - Optimizely found"), clearInterval(R), clearTimeout(ee), c(!0)));
11081
- }, 1e3), ee = setTimeout(() => {
11082
- clearInterval(R);
11055
+ let _, K;
11056
+ return _ = setInterval(() => {
11057
+ a.enabled && (console.log("Chatbot - Finding Optimizely"), window.optimizely && window.experiments && (console.log("Chatbot - Optimizely found"), clearInterval(_), clearTimeout(K), c(!0)));
11058
+ }, 1e3), K = setTimeout(() => {
11059
+ clearInterval(_);
11060
+ }, 6e4), () => {
11061
+ clearInterval(_), clearTimeout(K);
11062
+ };
11063
+ }, [a.enabled, a.experimentName]), Me(() => {
11064
+ let _, K;
11065
+ const fe = () => {
11066
+ var je;
11067
+ console.log("Chatbot - Finding Mobile banners", s);
11068
+ const oe = document.querySelector(
11069
+ '[class^="branch-banner"]'
11070
+ ), Te = document.querySelector(
11071
+ ".onetrust-banner-sdk"
11072
+ );
11073
+ if (!oe && (!Te || ((je = Te == null ? void 0 : Te.style) == null ? void 0 : je.display) === "none") && s) {
11074
+ console.log("Chatbot - Mobile banners not found");
11075
+ const Ze = document.getElementById(
11076
+ "xpert_chatbot__proactive-message"
11077
+ );
11078
+ Ze && (Ze.style.bottom = "6rem");
11079
+ const N = document.getElementById(
11080
+ "xpert_chatbot__floating-action-btn"
11081
+ );
11082
+ N.style.bottom = "0rem", clearInterval(_), clearTimeout(K);
11083
+ }
11084
+ };
11085
+ return _ = setInterval(fe, 1e3), K = setTimeout(() => {
11086
+ clearInterval(_), _ = setInterval(fe, 1e3);
11083
11087
  }, 6e4), () => {
11084
- clearInterval(R), clearTimeout(ee);
11088
+ clearInterval(_), clearTimeout(K);
11085
11089
  };
11086
- }, [a.enabled, a.experimentName]);
11087
- const he = (R) => {
11088
- var ee, me;
11089
- (ee = R == null ? void 0 : R.target) != null && ee.href && X({
11090
+ }, [s]);
11091
+ const ge = (_) => {
11092
+ var K, fe;
11093
+ (K = _ == null ? void 0 : _.target) != null && K.href && X({
11090
11094
  name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
11091
11095
  payload: {
11092
11096
  category: "2u",
11093
11097
  label: "xpert-chatbot",
11094
- link: (me = R == null ? void 0 : R.target) == null ? void 0 : me.href,
11098
+ link: (fe = _ == null ? void 0 : _.target) == null ? void 0 : fe.href,
11095
11099
  isTestUser: q
11096
11100
  }
11097
11101
  });
@@ -11102,28 +11106,28 @@ function ti({ submitEventExternal: e }) {
11102
11106
  return a.enabled && !a.experimentName && console.log(
11103
11107
  `Chatbot - Experiment not setup: ${l}, ${be}, ${window.optimizely}`
11104
11108
  ), q || console.log(`Chatbot - Test user not setup: ${l}, ${q}`), null;
11105
- if (o.prefix && !((at = V == null ? void 0 : V.current) != null && at.track) && !e)
11109
+ if (o.prefix && !((lt = V == null ? void 0 : V.current) != null && lt.track) && !e)
11106
11110
  return console.log(`Chatbot - Segment not setup: ${l}`), null;
11107
11111
  const h = () => {
11108
- _(""), Q.current.value = "", Q.current.style.height = "auto";
11109
- }, ge = (R, ee) => {
11112
+ F(""), Q.current.value = "", Q.current.style.height = "auto";
11113
+ }, me = (_, K) => {
11110
11114
  X({
11111
11115
  name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
11112
11116
  payload: {
11113
11117
  category: "2u",
11114
11118
  label: "xpert-chatbot",
11115
- linkCount: ig(R),
11116
- apiResponseMessage: R,
11119
+ linkCount: ig(_),
11120
+ apiResponseMessage: _,
11117
11121
  isTestUser: q,
11118
- conversationHistoryId: ee
11122
+ conversationHistoryId: K
11119
11123
  }
11120
11124
  });
11121
- }, Ne = ({
11122
- conversationSize: R,
11123
- userInputMessage: ee,
11124
- apiResponseMessage: me,
11125
- elapsedSeconds: le,
11126
- conversationByteSize: Qe
11125
+ }, ke = ({
11126
+ conversationSize: _,
11127
+ userInputMessage: K,
11128
+ apiResponseMessage: fe,
11129
+ elapsedSeconds: oe,
11130
+ conversationByteSize: Te
11127
11131
  }) => {
11128
11132
  X({
11129
11133
  name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.elapsed.seconds`,
@@ -11131,81 +11135,81 @@ function ti({ submitEventExternal: e }) {
11131
11135
  category: "2u",
11132
11136
  label: "xpert-chatbot",
11133
11137
  isTestUser: q,
11134
- conversationSize: R,
11135
- userInputMessage: ee,
11136
- apiResponseMessage: me,
11137
- elapsedSeconds: le,
11138
- conversationByteSize: Qe
11138
+ conversationSize: _,
11139
+ userInputMessage: K,
11140
+ apiResponseMessage: fe,
11141
+ elapsedSeconds: oe,
11142
+ conversationByteSize: Te
11139
11143
  }
11140
11144
  });
11141
- }, re = async (R) => {
11145
+ }, re = async (_) => {
11142
11146
  try {
11143
- if (R.trim().length === 0)
11147
+ if (_.trim().length === 0)
11144
11148
  return;
11145
- const ee = /* @__PURE__ */ new Date();
11149
+ const K = /* @__PURE__ */ new Date();
11146
11150
  O(!1), b(!1);
11147
- const me = p.filter((J) => J.role === "user").length + 1;
11151
+ const fe = p.filter((ee) => ee.role === "user").length + 1;
11148
11152
  X({
11149
11153
  name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.sent`,
11150
11154
  payload: {
11151
11155
  category: "2u",
11152
11156
  label: "xpert-chatbot",
11153
- totalUserInputMessagesSent: me,
11154
- userInputMessage: R,
11157
+ totalUserInputMessagesSent: fe,
11158
+ userInputMessage: _,
11155
11159
  isTestUser: q
11156
11160
  }
11157
11161
  }), h();
11158
- let le = Fe.get(`${l}-conversation-history-id`) || "";
11159
- !le && n.conversationHistory.enabled ? m([
11162
+ let oe = Re.get(`${l}-conversation-history-id`) || "";
11163
+ !oe && n.conversationHistory.enabled ? m([
11160
11164
  {
11161
11165
  role: "user",
11162
- content: R
11166
+ content: _
11163
11167
  }
11164
11168
  ]) : m([
11165
11169
  ...p,
11166
11170
  {
11167
11171
  role: "user",
11168
- content: R
11172
+ content: _
11169
11173
  }
11170
11174
  ]), v(!0);
11171
- const Qe = [
11175
+ const Te = [
11172
11176
  ...p,
11173
11177
  {
11174
11178
  role: "user",
11175
- content: R
11179
+ content: _
11176
11180
  }
11177
- ].map((J) => ({
11178
- role: J.role,
11179
- content: J.content
11180
- })), $e = await fetch(t.endpoint, {
11181
+ ].map((ee) => ({
11182
+ role: ee.role,
11183
+ content: ee.content
11184
+ })), je = await fetch(t.endpoint, {
11181
11185
  method: "POST",
11182
11186
  headers: {
11183
11187
  "Content-Type": "application/json",
11184
- "Conversation-History-Id": le
11188
+ "Conversation-History-Id": oe
11185
11189
  },
11186
11190
  body: JSON.stringify({
11187
- message_list: Qe,
11191
+ message_list: Te,
11188
11192
  ...t.payloadParams
11189
11193
  })
11190
11194
  });
11191
- if (!$e.ok)
11192
- throw new lr(`HTTPError: ${$e.status} ${$e.statusText}`);
11193
- le = $e.headers.get("Conversation-History-Id"), le && Fe.set(
11195
+ if (!je.ok)
11196
+ throw new lr(`HTTPError: ${je.status} ${je.statusText}`);
11197
+ oe = je.headers.get("Conversation-History-Id"), oe && Re.set(
11194
11198
  `${l}-conversation-history-id`,
11195
- le,
11199
+ oe,
11196
11200
  { expires: 1 }
11197
11201
  );
11198
- const yt = await $e.json(), N = yt.content, S = yt.live_agent;
11199
- ge(N, le);
11202
+ const Ze = await je.json(), N = Ze.content, S = Ze.live_agent;
11203
+ me(N, oe);
11200
11204
  const Y = /* @__PURE__ */ new Date();
11201
- Ne({
11202
- conversationByteSize: og(JSON.stringify(Qe)),
11205
+ ke({
11206
+ conversationByteSize: og(JSON.stringify(Te)),
11203
11207
  conversationSize: p.length + 2,
11204
- userInputMessage: R,
11208
+ userInputMessage: _,
11205
11209
  apiResponseMessage: N,
11206
- elapsedSeconds: rg(ee, Y)
11207
- }), m((J) => [
11208
- ...J,
11210
+ elapsedSeconds: rg(K, Y)
11211
+ }), m((ee) => [
11212
+ ...ee,
11209
11213
  {
11210
11214
  role: "assistant",
11211
11215
  content: N,
@@ -11213,8 +11217,8 @@ function ti({ submitEventExternal: e }) {
11213
11217
  createdAt: /* @__PURE__ */ new Date()
11214
11218
  }
11215
11219
  ]), w(!1), v(!1), h(), O(!0);
11216
- } catch (ee) {
11217
- v(!1), h(), b(!0), console.error(ee);
11220
+ } catch (K) {
11221
+ v(!1), h(), b(!0), console.error(K);
11218
11222
  }
11219
11223
  }, we = () => {
11220
11224
  z(!1), k(!0), X({
@@ -11225,16 +11229,16 @@ function ti({ submitEventExternal: e }) {
11225
11229
  isTestUser: q
11226
11230
  }
11227
11231
  });
11228
- }, ve = (R) => {
11232
+ }, ve = (_) => {
11229
11233
  X({
11230
- name: `${o.prefix}.bi.xpert.chatbot.${R ? "normal" : "expand"}.size.button.clicked`,
11234
+ name: `${o.prefix}.bi.xpert.chatbot.${_ ? "normal" : "expand"}.size.button.clicked`,
11231
11235
  payload: {
11232
11236
  category: "2u",
11233
11237
  label: "xpert-chatbot",
11234
11238
  isTestUser: q
11235
11239
  }
11236
- }), $(R);
11237
- }, Be = () => {
11240
+ }), $(_);
11241
+ }, Ye = () => {
11238
11242
  k(!0), X({
11239
11243
  name: `${o.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
11240
11244
  payload: {
@@ -11243,7 +11247,7 @@ function ti({ submitEventExternal: e }) {
11243
11247
  isTestUser: q
11244
11248
  }
11245
11249
  });
11246
- }, Oe = () => {
11250
+ }, Le = () => {
11247
11251
  X({
11248
11252
  name: `${o.prefix}.bi.xpert.chatbot.proactive.message.closed`,
11249
11253
  payload: {
@@ -11252,8 +11256,8 @@ function ti({ submitEventExternal: e }) {
11252
11256
  isTestUser: q
11253
11257
  }
11254
11258
  });
11255
- }, Xe = () => {
11256
- k(!1), K(!1), X({
11259
+ }, Ke = () => {
11260
+ k(!1), J(!1), X({
11257
11261
  name: `${o.prefix}.bi.xpert.chatbot.popup.chat.minimized`,
11258
11262
  payload: {
11259
11263
  category: "2u",
@@ -11261,34 +11265,34 @@ function ti({ submitEventExternal: e }) {
11261
11265
  isTestUser: q
11262
11266
  }
11263
11267
  });
11264
- }, ot = () => {
11265
- var R;
11268
+ }, at = () => {
11269
+ var _;
11266
11270
  /* istanbul ignore next @preserve */
11267
11271
  Q.current && (Q.current.style.height = "auto", Q.current.style.height = `${Math.min(
11268
- (R = Q.current) == null ? void 0 : R.scrollHeight,
11272
+ (_ = Q.current) == null ? void 0 : _.scrollHeight,
11269
11273
  120
11270
11274
  )}px`);
11271
- }, Nt = (R) => {
11272
- _(R.target.value);
11273
- }, kt = (R) => {
11274
- R.key === "Enter" && E.trim() === "" || R.key === "Enter" && !R.shiftKey && (R.preventDefault(), re(E));
11275
- }, jt = (R, ee = "") => {
11276
- const me = p.map((le, Qe) => R === Qe ? (X({
11277
- name: `${o.prefix}.bi.xpert.chatbot.feedback.thumbs.${ee.toLowerCase()}.clicked`,
11275
+ }, Nt = (_) => {
11276
+ F(_.target.value);
11277
+ }, kt = (_) => {
11278
+ _.key === "Enter" && E.trim() === "" || _.key === "Enter" && !_.shiftKey && (_.preventDefault(), re(E));
11279
+ }, jt = (_, K = "") => {
11280
+ const fe = p.map((oe, Te) => _ === Te ? (X({
11281
+ name: `${o.prefix}.bi.xpert.chatbot.feedback.thumbs.${K.toLowerCase()}.clicked`,
11278
11282
  payload: {
11279
11283
  category: "2u",
11280
11284
  label: "xpert-chatbot",
11281
- userInputMessage: p[R - 1],
11282
- apiResponseMessageIndex: R,
11283
- apiResponseMessage: p[R],
11285
+ userInputMessage: p[_ - 1],
11286
+ apiResponseMessageIndex: _,
11287
+ apiResponseMessage: p[_],
11284
11288
  isTestUser: q
11285
11289
  }
11286
11290
  }), {
11287
- ...le,
11288
- feedbackThumbType: ee
11289
- }) : le);
11290
- m(me), w(!1);
11291
- }, Ke = ((mt = r.animatedGraduate) == null ? void 0 : mt.enabled) && a.enabled && be === "A", gt = i.enabled ? Ke ? s ? i.style.mobile.animatedGraduateExperiment : i.style.animatedGraduateExperiment : s ? i.style.mobile : i.style : null;
11291
+ ...oe,
11292
+ feedbackThumbType: K
11293
+ }) : oe);
11294
+ m(fe), w(!1);
11295
+ }, Je = ((yt = r.animatedGraduate) == null ? void 0 : yt.enabled) && a.enabled && be === "A", mt = i.enabled ? Je ? s ? i.style.mobile.animatedGraduateExperiment : i.style.animatedGraduateExperiment : s ? i.style.mobile : i.style : null;
11292
11296
  return (
11293
11297
  // do not remove this class as it's needed to turn off chatbot
11294
11298
  /* @__PURE__ */ D.jsxs("div", { className: "xpert_chatbot", children: [
@@ -11296,9 +11300,9 @@ function ti({ submitEventExternal: e }) {
11296
11300
  tl,
11297
11301
  {
11298
11302
  showMessage: !x,
11299
- style: gt,
11300
- onClose: Oe,
11301
- onClick: Be,
11303
+ style: mt,
11304
+ onClose: Le,
11305
+ onClick: Ye,
11302
11306
  cookieName: `${l}-proactive-message-xpert-chatbot`,
11303
11307
  children: /* @__PURE__ */ D.jsx("div", { className: "xpert-chatbot-proactive-message", children: /* @__PURE__ */ D.jsxs("div", { className: "xpert-chatbot-proactive-message__text", children: [
11304
11308
  i.textPrefix && /* @__PURE__ */ D.jsx(
@@ -11326,13 +11330,13 @@ function ti({ submitEventExternal: e }) {
11326
11330
  ] }) })
11327
11331
  }
11328
11332
  ),
11329
- Ke && /* @__PURE__ */ D.jsx(
11333
+ Je && /* @__PURE__ */ D.jsx(
11330
11334
  Ls,
11331
11335
  {
11332
11336
  handleFloatingActionButtonClick: we
11333
11337
  }
11334
11338
  ),
11335
- !Ke && /* @__PURE__ */ D.jsx(
11339
+ !Je && /* @__PURE__ */ D.jsx(
11336
11340
  Ss,
11337
11341
  {
11338
11342
  handleFloatingActionButtonClick: we
@@ -11342,7 +11346,7 @@ function ti({ submitEventExternal: e }) {
11342
11346
  x && !M && /* @__PURE__ */ D.jsx(Ar, { isNormalSize: L, isMounted: W, children: /* @__PURE__ */ D.jsx(
11343
11347
  "div",
11344
11348
  {
11345
- ref: F,
11349
+ ref: P,
11346
11350
  style: { display: "flex", flexDirection: "column", height: "100%" },
11347
11351
  "aria-label": "XPERT Chatbot Popup",
11348
11352
  role: "dialog",
@@ -11350,10 +11354,10 @@ function ti({ submitEventExternal: e }) {
11350
11354
  /* @__PURE__ */ D.jsx(
11351
11355
  fa,
11352
11356
  {
11353
- onClose: Xe,
11357
+ onClose: Ke,
11354
11358
  isMounted: W,
11355
11359
  isNormalSize: L,
11356
- setIsMounted: K,
11360
+ setIsMounted: J,
11357
11361
  setIsNormalSize: ve
11358
11362
  }
11359
11363
  ),
@@ -11374,7 +11378,7 @@ function ti({ submitEventExternal: e }) {
11374
11378
  isNormalSize: s || L,
11375
11379
  onFeedbackThumbSelection: jt,
11376
11380
  onPromptClick: re,
11377
- handleMessageLinkClicked: he,
11381
+ handleMessageLinkClicked: ge,
11378
11382
  submitEvent: X,
11379
11383
  setLiveChatOpen: z,
11380
11384
  isTestUser: q
@@ -11406,7 +11410,7 @@ function ti({ submitEventExternal: e }) {
11406
11410
  hasError: B,
11407
11411
  userInput: E,
11408
11412
  handleSend: re,
11409
- handleInput: ot,
11413
+ handleInput: at,
11410
11414
  handleChange: Nt,
11411
11415
  handleKeyDown: kt
11412
11416
  }