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

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 +666 -665
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import yt, { createContext as Kr, useState as se, useCallback as ot, useEffect as Le, useMemo as ln, useRef as Ze, useContext as ie, forwardRef as ks, createElement as Qa, useLayoutEffect as v0, memo as x0, Suspense as I0, Fragment as O0, StrictMode as N0 } from "react";
1
+ import yt, { createContext as Kr, useState as se, useCallback as ot, useEffect as ke, useMemo as ln, useRef as Je, useContext as ie, forwardRef as ks, createElement as Qa, useLayoutEffect as v0, memo as x0, Suspense as I0, Fragment as O0, StrictMode as N0 } from "react";
2
2
  import k0, { render as L0 } from "react-dom";
3
3
  var Ar = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function Bt(e) {
@@ -189,13 +189,13 @@ function M0() {
189
189
  return Su || (Su = 1, (function(e, t) {
190
190
  var n = 200, r = "__lodash_hash_undefined__", a = 800, i = 16, u = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", f = "[object Date]", p = "[object Error]", h = "[object Function]", E = "[object GeneratorFunction]", m = "[object Map]", y = "[object Number]", g = "[object Null]", D = "[object Object]", P = "[object Proxy]", X = "[object RegExp]", H = "[object Set]", S = "[object String]", w = "[object Undefined]", W = "[object WeakMap]", q = "[object ArrayBuffer]", te = "[object DataView]", Y = "[object Float32Array]", $ = "[object Float64Array]", k = "[object Int8Array]", O = "[object Int16Array]", L = "[object Int32Array]", F = "[object Uint8Array]", V = "[object Uint8ClampedArray]", U = "[object Uint16Array]", z = "[object Uint32Array]", T = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, ue = /^(?:0|[1-9]\d*)$/, v = {};
191
191
  v[Y] = v[$] = v[k] = v[O] = v[L] = v[F] = v[V] = v[U] = v[z] = !0, v[s] = v[l] = v[q] = v[d] = v[te] = v[f] = v[p] = v[h] = v[m] = v[y] = v[D] = v[X] = v[H] = v[S] = v[W] = !1;
192
- var oe = typeof Ar == "object" && Ar && Ar.Object === Object && Ar, Te = typeof self == "object" && self && self.Object === Object && self, he = oe || Te || Function("return this")(), Ae = t && !t.nodeType && t, ve = Ae && !0 && e && !e.nodeType && e, Me = ve && ve.exports === Ae, Oe = Me && oe.process, et = (function() {
192
+ var oe = typeof Ar == "object" && Ar && Ar.Object === Object && Ar, Ee = typeof self == "object" && self && self.Object === Object && self, he = oe || Ee || Function("return this")(), Ce = t && !t.nodeType && t, Se = Ce && !0 && e && !e.nodeType && e, Fe = Se && Se.exports === Ce, Ie = Fe && oe.process, tt = (function() {
193
193
  try {
194
- var A = ve && ve.require && ve.require("util").types;
195
- return A || Oe && Oe.binding && Oe.binding("util");
194
+ var A = Se && Se.require && Se.require("util").types;
195
+ return A || Ie && Ie.binding && Ie.binding("util");
196
196
  } catch {
197
197
  }
198
- })(), dt = et && et.isTypedArray;
198
+ })(), dt = tt && tt.isTypedArray;
199
199
  function St(A, N, M) {
200
200
  switch (M.length) {
201
201
  case 0:
@@ -219,28 +219,28 @@ function M0() {
219
219
  return A(N);
220
220
  };
221
221
  }
222
- function Se(A, N) {
222
+ function Ae(A, N) {
223
223
  return A?.[N];
224
224
  }
225
- function We(A, N) {
225
+ function Ge(A, N) {
226
226
  return function(M) {
227
227
  return A(N(M));
228
228
  };
229
229
  }
230
- var ze = Array.prototype, Ge = Function.prototype, xe = Object.prototype, Ee = he["__core-js_shared__"], rt = Ge.toString, Xe = xe.hasOwnProperty, Ut = (function() {
231
- var A = /[^.]+$/.exec(Ee && Ee.keys && Ee.keys.IE_PROTO || "");
230
+ var Ye = Array.prototype, Xe = Function.prototype, Pe = Object.prototype, ve = he["__core-js_shared__"], Me = Xe.toString, Ke = Pe.hasOwnProperty, Ut = (function() {
231
+ var A = /[^.]+$/.exec(ve && ve.keys && ve.keys.IE_PROTO || "");
232
232
  return A ? "Symbol(src)_1." + A : "";
233
- })(), Xt = xe.toString, vt = rt.call(Object), j = RegExp(
234
- "^" + rt.call(Xe).replace(T, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
235
- ), K = Me ? he.Buffer : void 0, re = he.Symbol, fe = he.Uint8Array;
233
+ })(), Xt = Pe.toString, vt = Me.call(Object), j = RegExp(
234
+ "^" + Me.call(Ke).replace(T, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
235
+ ), K = Fe ? he.Buffer : void 0, re = he.Symbol, fe = he.Uint8Array;
236
236
  K && K.allocUnsafe;
237
- var ye = We(Object.getPrototypeOf, Object), at = Object.create, wt = xe.propertyIsEnumerable, xt = ze.splice, ft = re ? re.toStringTag : void 0, Rt = (function() {
237
+ var Te = Ge(Object.getPrototypeOf, Object), at = Object.create, wt = Pe.propertyIsEnumerable, xt = Ye.splice, ft = re ? re.toStringTag : void 0, Rt = (function() {
238
238
  try {
239
239
  var A = la(Object, "defineProperty");
240
240
  return A({}, "", {}), A;
241
241
  } catch {
242
242
  }
243
- })(), Ue = K ? K.isBuffer : void 0, En = Math.max, It = Date.now, cu = la(he, "Map"), Hn = la(Object, "create"), vd = /* @__PURE__ */ (function() {
243
+ })(), je = K ? K.isBuffer : void 0, En = Math.max, It = Date.now, cu = la(he, "Map"), Hn = la(Object, "create"), vd = /* @__PURE__ */ (function() {
244
244
  function A() {
245
245
  }
246
246
  return function(N) {
@@ -273,11 +273,11 @@ function M0() {
273
273
  var M = N[A];
274
274
  return M === r ? void 0 : M;
275
275
  }
276
- return Xe.call(N, A) ? N[A] : void 0;
276
+ return Ke.call(N, A) ? N[A] : void 0;
277
277
  }
278
278
  function Nd(A) {
279
279
  var N = this.__data__;
280
- return Hn ? N[A] !== void 0 : Xe.call(N, A);
280
+ return Hn ? N[A] !== void 0 : Ke.call(N, A);
281
281
  }
282
282
  function kd(A, N) {
283
283
  var M = this.__data__;
@@ -371,21 +371,21 @@ function M0() {
371
371
  }
372
372
  yn.prototype.clear = jd, yn.prototype.delete = qd, yn.prototype.get = zd, yn.prototype.has = Yd, yn.prototype.set = $d;
373
373
  function Vd(A, N) {
374
- var M = fa(A), ae = !M && da(A), be = !M && !ae && mu(A), Ne = !M && !ae && !be && bu(A), Fe = M || ae || be || Ne, _e = Fe ? Bn(A.length, String) : [], Be = _e.length;
374
+ var M = fa(A), ae = !M && da(A), be = !M && !ae && mu(A), Oe = !M && !ae && !be && bu(A), Be = M || ae || be || Oe, ye = Be ? Bn(A.length, String) : [], He = ye.length;
375
375
  for (var Ot in A)
376
- Fe && // Safari 9 has enumerable `arguments.length` in strict mode.
376
+ Be && // Safari 9 has enumerable `arguments.length` in strict mode.
377
377
  (Ot == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
378
378
  be && (Ot == "offset" || Ot == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
379
- Ne && (Ot == "buffer" || Ot == "byteLength" || Ot == "byteOffset") || // Skip index properties.
380
- hu(Ot, Be)) || _e.push(Ot);
381
- return _e;
379
+ Oe && (Ot == "buffer" || Ot == "byteLength" || Ot == "byteOffset") || // Skip index properties.
380
+ hu(Ot, He)) || ye.push(Ot);
381
+ return ye;
382
382
  }
383
383
  function oa(A, N, M) {
384
384
  (M !== void 0 && !Cr(A[N], M) || M === void 0 && !(N in A)) && sa(A, N, M);
385
385
  }
386
386
  function Wd(A, N, M) {
387
387
  var ae = A[N];
388
- (!(Xe.call(A, N) && Cr(ae, M)) || M === void 0 && !(N in A)) && sa(A, N, M);
388
+ (!(Ke.call(A, N) && Cr(ae, M)) || M === void 0 && !(N in A)) && sa(A, N, M);
389
389
  }
390
390
  function Tr(A, N) {
391
391
  for (var M = A.length; M--; )
@@ -422,31 +422,31 @@ function M0() {
422
422
  return h0(A);
423
423
  var N = pu(A), M = [];
424
424
  for (var ae in A)
425
- ae == "constructor" && (N || !Xe.call(A, ae)) || M.push(ae);
425
+ ae == "constructor" && (N || !Ke.call(A, ae)) || M.push(ae);
426
426
  return M;
427
427
  }
428
428
  function fu(A, N, M, ae, be) {
429
- A !== N && Gd(N, function(Ne, Fe) {
430
- if (be || (be = new yn()), nn(Ne))
431
- Zd(A, N, Fe, M, fu, ae, be);
429
+ A !== N && Gd(N, function(Oe, Be) {
430
+ if (be || (be = new yn()), nn(Oe))
431
+ Zd(A, N, Be, M, fu, ae, be);
432
432
  else {
433
- var _e = ae ? ae(ca(A, Fe), Ne, Fe + "", A, N, be) : void 0;
434
- _e === void 0 && (_e = Ne), oa(A, Fe, _e);
433
+ var ye = ae ? ae(ca(A, Be), Oe, Be + "", A, N, be) : void 0;
434
+ ye === void 0 && (ye = Oe), oa(A, Be, ye);
435
435
  }
436
436
  }, Eu);
437
437
  }
438
- function Zd(A, N, M, ae, be, Ne, Fe) {
439
- var _e = ca(A, M), Be = ca(N, M), Ot = Fe.get(Be);
438
+ function Zd(A, N, M, ae, be, Oe, Be) {
439
+ var ye = ca(A, M), He = ca(N, M), Ot = Be.get(He);
440
440
  if (Ot) {
441
441
  oa(A, M, Ot);
442
442
  return;
443
443
  }
444
- var ht = Ne ? Ne(_e, Be, M + "", A, N, Fe) : void 0, jn = ht === void 0;
444
+ var ht = Oe ? Oe(ye, He, M + "", A, N, Be) : void 0, jn = ht === void 0;
445
445
  if (jn) {
446
- var ma = fa(Be), ga = !ma && mu(Be), yu = !ma && !ga && bu(Be);
447
- ht = Be, ma || ga || yu ? fa(_e) ? ht = _e : T0(_e) ? ht = a0(_e) : ga ? (jn = !1, ht = t0(Be)) : yu ? (jn = !1, ht = r0(Be)) : ht = [] : y0(Be) || da(Be) ? (ht = _e, da(_e) ? ht = _0(_e) : (!nn(_e) || pa(_e)) && (ht = l0(Be))) : jn = !1;
446
+ var ma = fa(He), ga = !ma && mu(He), yu = !ma && !ga && bu(He);
447
+ ht = He, ma || ga || yu ? fa(ye) ? ht = ye : T0(ye) ? ht = a0(ye) : ga ? (jn = !1, ht = t0(He)) : yu ? (jn = !1, ht = r0(He)) : ht = [] : y0(He) || da(He) ? (ht = ye, da(ye) ? ht = _0(ye) : (!nn(ye) || pa(ye)) && (ht = l0(He))) : jn = !1;
448
448
  }
449
- jn && (Fe.set(Be, ht), be(ht, Be, ae, Ne, Fe), Fe.delete(Be)), oa(A, M, ht);
449
+ jn && (Be.set(He, ht), be(ht, He, ae, Oe, Be), Be.delete(He)), oa(A, M, ht);
450
450
  }
451
451
  function Jd(A, N) {
452
452
  return g0(m0(A, N, Tu), A + "");
@@ -479,27 +479,27 @@ function M0() {
479
479
  function i0(A, N, M, ae) {
480
480
  var be = !M;
481
481
  M || (M = {});
482
- for (var Ne = -1, Fe = N.length; ++Ne < Fe; ) {
483
- var _e = N[Ne], Be = void 0;
484
- Be === void 0 && (Be = A[_e]), be ? sa(M, _e, Be) : Wd(M, _e, Be);
482
+ for (var Oe = -1, Be = N.length; ++Oe < Be; ) {
483
+ var ye = N[Oe], He = void 0;
484
+ He === void 0 && (He = A[ye]), be ? sa(M, ye, He) : Wd(M, ye, He);
485
485
  }
486
486
  return M;
487
487
  }
488
488
  function u0(A) {
489
489
  return Jd(function(N, M) {
490
- var ae = -1, be = M.length, Ne = be > 1 ? M[be - 1] : void 0, Fe = be > 2 ? M[2] : void 0;
491
- for (Ne = A.length > 3 && typeof Ne == "function" ? (be--, Ne) : void 0, Fe && c0(M[0], M[1], Fe) && (Ne = be < 3 ? void 0 : Ne, be = 1), N = Object(N); ++ae < be; ) {
492
- var _e = M[ae];
493
- _e && A(N, _e, ae, Ne);
490
+ var ae = -1, be = M.length, Oe = be > 1 ? M[be - 1] : void 0, Be = be > 2 ? M[2] : void 0;
491
+ for (Oe = A.length > 3 && typeof Oe == "function" ? (be--, Oe) : void 0, Be && c0(M[0], M[1], Be) && (Oe = be < 3 ? void 0 : Oe, be = 1), N = Object(N); ++ae < be; ) {
492
+ var ye = M[ae];
493
+ ye && A(N, ye, ae, Oe);
494
494
  }
495
495
  return N;
496
496
  });
497
497
  }
498
498
  function o0(A) {
499
499
  return function(N, M, ae) {
500
- for (var be = -1, Ne = Object(N), Fe = ae(N), _e = Fe.length; _e--; ) {
501
- var Be = Fe[++be];
502
- if (M(Ne[Be], Be, Ne) === !1)
500
+ for (var be = -1, Oe = Object(N), Be = ae(N), ye = Be.length; ye--; ) {
501
+ var He = Be[++be];
502
+ if (M(Oe[He], He, Oe) === !1)
503
503
  break;
504
504
  }
505
505
  return N;
@@ -510,11 +510,11 @@ function M0() {
510
510
  return d0(N) ? M[typeof N == "string" ? "string" : "hash"] : M.map;
511
511
  }
512
512
  function la(A, N) {
513
- var M = Se(A, N);
513
+ var M = Ae(A, N);
514
514
  return Xd(M) ? M : void 0;
515
515
  }
516
516
  function s0(A) {
517
- var N = Xe.call(A, ft), M = A[ft];
517
+ var N = Ke.call(A, ft), M = A[ft];
518
518
  try {
519
519
  A[ft] = void 0;
520
520
  var ae = !0;
@@ -524,7 +524,7 @@ function M0() {
524
524
  return ae && (N ? A[ft] = M : delete A[ft]), be;
525
525
  }
526
526
  function l0(A) {
527
- return typeof A.constructor == "function" && !pu(A) ? vd(ye(A)) : {};
527
+ return typeof A.constructor == "function" && !pu(A) ? vd(Te(A)) : {};
528
528
  }
529
529
  function hu(A, N) {
530
530
  var M = typeof A;
@@ -544,7 +544,7 @@ function M0() {
544
544
  return !!Ut && Ut in A;
545
545
  }
546
546
  function pu(A) {
547
- var N = A && A.constructor, M = typeof N == "function" && N.prototype || xe;
547
+ var N = A && A.constructor, M = typeof N == "function" && N.prototype || Pe;
548
548
  return A === M;
549
549
  }
550
550
  function h0(A) {
@@ -559,12 +559,12 @@ function M0() {
559
559
  }
560
560
  function m0(A, N, M) {
561
561
  return N = En(N === void 0 ? A.length - 1 : N, 0), function() {
562
- for (var ae = arguments, be = -1, Ne = En(ae.length - N, 0), Fe = Array(Ne); ++be < Ne; )
563
- Fe[be] = ae[N + be];
562
+ for (var ae = arguments, be = -1, Oe = En(ae.length - N, 0), Be = Array(Oe); ++be < Oe; )
563
+ Be[be] = ae[N + be];
564
564
  be = -1;
565
- for (var _e = Array(N + 1); ++be < N; )
566
- _e[be] = ae[be];
567
- return _e[N] = M(Fe), St(A, this, _e);
565
+ for (var ye = Array(N + 1); ++be < N; )
566
+ ye[be] = ae[be];
567
+ return ye[N] = M(Be), St(A, this, ye);
568
568
  };
569
569
  }
570
570
  function ca(A, N) {
@@ -587,7 +587,7 @@ function M0() {
587
587
  function E0(A) {
588
588
  if (A != null) {
589
589
  try {
590
- return rt.call(A);
590
+ return Me.call(A);
591
591
  } catch {
592
592
  }
593
593
  try {
@@ -603,7 +603,7 @@ function M0() {
603
603
  var da = du(/* @__PURE__ */ (function() {
604
604
  return arguments;
605
605
  })()) ? du : function(A) {
606
- return Un(A) && Xe.call(A, "callee") && !wt.call(A, "callee");
606
+ return Un(A) && Ke.call(A, "callee") && !wt.call(A, "callee");
607
607
  }, fa = Array.isArray;
608
608
  function ha(A) {
609
609
  return A != null && gu(A.length) && !pa(A);
@@ -611,7 +611,7 @@ function M0() {
611
611
  function T0(A) {
612
612
  return Un(A) && ha(A);
613
613
  }
614
- var mu = Ue || S0;
614
+ var mu = je || S0;
615
615
  function pa(A) {
616
616
  if (!nn(A))
617
617
  return !1;
@@ -631,11 +631,11 @@ function M0() {
631
631
  function y0(A) {
632
632
  if (!Un(A) || yr(A) != D)
633
633
  return !1;
634
- var N = ye(A);
634
+ var N = Te(A);
635
635
  if (N === null)
636
636
  return !0;
637
- var M = Xe.call(N, "constructor") && N.constructor;
638
- return typeof M == "function" && M instanceof M && rt.call(M) == vt;
637
+ var M = Ke.call(N, "constructor") && N.constructor;
638
+ return typeof M == "function" && M instanceof M && Me.call(M) == vt;
639
639
  }
640
640
  var bu = dt ? ge(dt) : Kd;
641
641
  function _0(A) {
@@ -1430,7 +1430,7 @@ const x = /* @__PURE__ */ Bt(U0), j0 = {
1430
1430
  if (!e)
1431
1431
  throw new Error("id is required");
1432
1432
  return G0[e] || {};
1433
- }, je = Kr({}), Ds = ({
1433
+ }, qe = Kr({}), Ds = ({
1434
1434
  children: e,
1435
1435
  clientId: t = null,
1436
1436
  configurations: n = null,
@@ -1467,7 +1467,7 @@ const x = /* @__PURE__ */ Bt(U0), j0 = {
1467
1467
  id: r
1468
1468
  });
1469
1469
  }, [t, r]);
1470
- Le(() => {
1470
+ ke(() => {
1471
1471
  s();
1472
1472
  }, [s]);
1473
1473
  const l = ln(
@@ -1475,7 +1475,7 @@ const x = /* @__PURE__ */ Bt(U0), j0 = {
1475
1475
  [n, i]
1476
1476
  ), c = ln(() => t ? Object.keys(i)?.length > 0 : r ? !!n : !1, [t, i, n, r]);
1477
1477
  return /* @__PURE__ */ _.jsx(
1478
- je.Provider,
1478
+ qe.Provider,
1479
1479
  {
1480
1480
  value: {
1481
1481
  ...l,
@@ -1587,7 +1587,7 @@ const Ou = 991, K0 = () => {
1587
1587
  const [e, t] = se(
1588
1588
  window.innerWidth < Ou
1589
1589
  );
1590
- return Le(() => {
1590
+ return ke(() => {
1591
1591
  const n = () => {
1592
1592
  t(window.innerWidth < Ou);
1593
1593
  };
@@ -1596,7 +1596,7 @@ const Ou = 991, K0 = () => {
1596
1596
  }, kt = {
1597
1597
  LIVECHAT: "LIVECHAT",
1598
1598
  XPERT: "XPERT"
1599
- }, Je = Kr({}), Ps = ({
1599
+ }, et = Kr({}), Ps = ({
1600
1600
  children: e,
1601
1601
  externalLoading: t = !1,
1602
1602
  externalLoadingHistory: n = !1,
@@ -1623,7 +1623,7 @@ const Ou = 991, K0 = () => {
1623
1623
  setStreaming: g,
1624
1624
  setMode: P
1625
1625
  };
1626
- return /* @__PURE__ */ _.jsx(Je.Provider, { value: H, children: e });
1626
+ return /* @__PURE__ */ _.jsx(et.Provider, { value: H, children: e });
1627
1627
  };
1628
1628
  Ps.propTypes = {
1629
1629
  children: x.element.isRequired,
@@ -1631,7 +1631,7 @@ Ps.propTypes = {
1631
1631
  externalStreaming: x.bool,
1632
1632
  externalLoadingHistory: x.bool
1633
1633
  };
1634
- const Gt = Kr({}), Ie = {
1634
+ const Gt = Kr({}), xe = {
1635
1635
  AGENT: "agent",
1636
1636
  ASSISTANT: "assistant",
1637
1637
  ERROR: "error",
@@ -1645,7 +1645,7 @@ const Gt = Kr({}), Ie = {
1645
1645
  }, Fs = x.shape({
1646
1646
  content: x.string.isRequired,
1647
1647
  liveAgent: x.bool,
1648
- role: x.oneOf(Object.values(Ie)).isRequired,
1648
+ role: x.oneOf(Object.values(xe)).isRequired,
1649
1649
  timestamp: x.instanceOf(Date),
1650
1650
  toolCalls: x.arrayOf(
1651
1651
  x.shape({
@@ -1661,7 +1661,7 @@ const Gt = Kr({}), Ie = {
1661
1661
  onMessageSent: n,
1662
1662
  onStreamingStop: r
1663
1663
  }) => {
1664
- const a = Ze(null), i = Ze(null), { id: u } = ie(je), { setLoading: s, setStreaming: l } = ie(Je), [c, d] = se(null), [f, p] = se(!1), [h, E] = se([]), m = ot(() => {
1664
+ const a = Je(null), i = Je(null), { id: u } = ie(qe), { setLoading: s, setStreaming: l } = ie(et), [c, d] = se(null), [f, p] = se(!1), [h, E] = se([]), m = ot(() => {
1665
1665
  d(null), p(!1), E([]), st.remove(`${u}-conversation-history-id`);
1666
1666
  }, [u, d]), D = {
1667
1667
  contentRef: a,
@@ -1741,7 +1741,7 @@ function vi({
1741
1741
  children: a,
1742
1742
  ...i
1743
1743
  }) {
1744
- const { isMobile: u } = ie(Je);
1744
+ const { isMobile: u } = ie(et);
1745
1745
  return /* @__PURE__ */ _.jsx(
1746
1746
  "button",
1747
1747
  {
@@ -1774,12 +1774,12 @@ const J0 = 1500, ef = `The parent container is wider than the chatbot launch but
1774
1774
  eyes follow your mouse when you hover near it.`, Us = ({
1775
1775
  handleFloatingActionButtonClick: e = null
1776
1776
  }) => {
1777
- const { id: t, launchButton: n } = ie(je), { isMobile: r } = ie(Je), a = !st.get(
1777
+ const { id: t, launchButton: n } = ie(qe), { isMobile: r } = ie(et), a = !st.get(
1778
1778
  `${t}-proactive-message-xpert-chatbot`
1779
- ), i = Ze(null), u = Ze(!1), s = a ? n?.animatedGraduate?.delayMs : n?.animatedGraduate?.delayMs * 2, [l, c] = se(!1), d = window.matchMedia(
1779
+ ), i = Je(null), u = Je(!1), s = a ? n?.animatedGraduate?.delayMs : n?.animatedGraduate?.delayMs * 2, [l, c] = se(!1), d = window.matchMedia(
1780
1780
  `(max-width: ${J0}px)`
1781
1781
  ).matches;
1782
- Le(() => {
1782
+ ke(() => {
1783
1783
  const E = setTimeout(
1784
1784
  () => {
1785
1785
  c(!0);
@@ -1789,7 +1789,7 @@ eyes follow your mouse when you hover near it.`, Us = ({
1789
1789
  return () => {
1790
1790
  clearTimeout(E);
1791
1791
  };
1792
- }, [s]), Le(() => {
1792
+ }, [s]), ke(() => {
1793
1793
  const h = (E) => {
1794
1794
  const m = window.devicePixelRatio > 1.5;
1795
1795
  if (!u?.current || d || m)
@@ -1982,7 +1982,7 @@ const tf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20hei
1982
1982
  }, qs = ({
1983
1983
  handleFloatingActionButtonClick: e = null
1984
1984
  }) => {
1985
- const { launchButton: t } = ie(je), { isMobile: n } = ie(Je);
1985
+ const { launchButton: t } = ie(qe), { isMobile: n } = ie(et);
1986
1986
  return /* @__PURE__ */ _.jsxs(
1987
1987
  vi,
1988
1988
  {
@@ -2447,10 +2447,10 @@ var Ru = {
2447
2447
  */
2448
2448
  nextTabbableNode: function(ue) {
2449
2449
  var v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, oe = O.indexOf(ue);
2450
- return oe < 0 ? v ? L.slice(L.indexOf(ue) + 1).find(function(Te) {
2451
- return on(Te);
2452
- }) : L.slice(0, L.indexOf(ue)).reverse().find(function(Te) {
2453
- return on(Te);
2450
+ return oe < 0 ? v ? L.slice(L.indexOf(ue) + 1).find(function(Ee) {
2451
+ return on(Ee);
2452
+ }) : L.slice(0, L.indexOf(ue)).reverse().find(function(Ee) {
2453
+ return on(Ee);
2454
2454
  }) : O[oe + (v ? 1 : -1)];
2455
2455
  }
2456
2456
  };
@@ -2490,21 +2490,21 @@ var Ru = {
2490
2490
  if (z < 0)
2491
2491
  V ? U = u.tabbableGroups[u.tabbableGroups.length - 1].lastTabbableNode : U = u.tabbableGroups[0].firstTabbableNode;
2492
2492
  else if (V) {
2493
- var ne = u.tabbableGroups.findIndex(function(Ae) {
2494
- var ve = Ae.firstTabbableNode;
2495
- return O === ve;
2493
+ var ne = u.tabbableGroups.findIndex(function(Ce) {
2494
+ var Se = Ce.firstTabbableNode;
2495
+ return O === Se;
2496
2496
  });
2497
2497
  if (ne < 0 && (T.container === O || wr(O, i.tabbableOptions) && !on(O, i.tabbableOptions) && !T.nextTabbableNode(O, !1)) && (ne = z), ne >= 0) {
2498
2498
  var ue = ne === 0 ? u.tabbableGroups.length - 1 : ne - 1, v = u.tabbableGroups[ue];
2499
2499
  U = Jt(O) >= 0 ? v.lastTabbableNode : v.lastDomTabbableNode;
2500
2500
  } else Jn(L) || (U = T.nextTabbableNode(O, !1));
2501
2501
  } else {
2502
- var oe = u.tabbableGroups.findIndex(function(Ae) {
2503
- var ve = Ae.lastTabbableNode;
2504
- return O === ve;
2502
+ var oe = u.tabbableGroups.findIndex(function(Ce) {
2503
+ var Se = Ce.lastTabbableNode;
2504
+ return O === Se;
2505
2505
  });
2506
2506
  if (oe < 0 && (T.container === O || wr(O, i.tabbableOptions) && !on(O, i.tabbableOptions) && !T.nextTabbableNode(O)) && (oe = z), oe >= 0) {
2507
- var Te = oe === u.tabbableGroups.length - 1 ? 0 : oe + 1, he = u.tabbableGroups[Te];
2507
+ var Ee = oe === u.tabbableGroups.length - 1 ? 0 : oe + 1, he = u.tabbableGroups[Ee];
2508
2508
  U = Jt(O) >= 0 ? he.firstTabbableNode : he.firstDomTabbableNode;
2509
2509
  } else Jn(L) || (U = T.nextTabbableNode(O));
2510
2510
  }
@@ -3009,7 +3009,7 @@ function Qs({
3009
3009
  isMounted: n = !1,
3010
3010
  style: r = {}
3011
3011
  }) {
3012
- const { isMobile: a, isNormalSize: i } = ie(Je), u = Ze(null);
3012
+ const { isMobile: a, isNormalSize: i } = ie(et), u = Je(null);
3013
3013
  return /* @__PURE__ */ _.jsx(
3014
3014
  Hf,
3015
3015
  {
@@ -3050,7 +3050,7 @@ Qs.propTypes = {
3050
3050
  className: x.string
3051
3051
  };
3052
3052
  function Zs({ children: e, isMounted: t }) {
3053
- const { widgetMode: n } = ie(je);
3053
+ const { widgetMode: n } = ie(qe);
3054
3054
  return n ? /* @__PURE__ */ _.jsx(Qs, { isMounted: t, children: e }) : /* @__PURE__ */ _.jsx("div", { className: "xpert_chatbot_inline", children: e });
3055
3055
  }
3056
3056
  Zs.propTypes = {
@@ -3058,8 +3058,8 @@ Zs.propTypes = {
3058
3058
  isMounted: x.bool
3059
3059
  };
3060
3060
  const Js = () => {
3061
- const { disclaimer: e } = ie(je), t = Ze(null);
3062
- return Le(() => {
3061
+ const { disclaimer: e } = ie(qe), t = Je(null);
3062
+ return ke(() => {
3063
3063
  t?.current?.focus();
3064
3064
  }, []), /* @__PURE__ */ _.jsxs(
3065
3065
  "div",
@@ -4148,7 +4148,7 @@ function fl(e) {
4148
4148
  });
4149
4149
  } else m && ((h = e.onLoad) === null || h === void 0 || h.call(e, E));
4150
4150
  }
4151
- Le(() => (n(!0), l), []), Le(() => {
4151
+ ke(() => (n(!0), l), []), ke(() => {
4152
4152
  t && d();
4153
4153
  }, [e.icon, t]);
4154
4154
  const { name: f, data: p } = u;
@@ -4173,7 +4173,7 @@ function ki({
4173
4173
  inputRef: r,
4174
4174
  handleChange: a
4175
4175
  }) {
4176
- const i = Ze(!1), { conversationScreen: u, primaryColor: s } = ie(je), { handleStop: l, onStreamingStop: c } = ie(Gt), {
4176
+ const i = Je(!1), { conversationScreen: u, primaryColor: s } = ie(qe), { handleStop: l, onStreamingStop: c } = ie(Gt), {
4177
4177
  hasError: d,
4178
4178
  hasNewMessage: f,
4179
4179
  loading: p,
@@ -4181,7 +4181,7 @@ function ki({
4181
4181
  streaming: E,
4182
4182
  internalStreaming: m,
4183
4183
  externalStreaming: y
4184
- } = ie(Je), [g, D] = se(""), P = ot(
4184
+ } = ie(et), [g, D] = se(""), P = ot(
4185
4185
  (W) => {
4186
4186
  W.preventDefault(), D(W.target.value), a && a(W);
4187
4187
  },
@@ -4189,9 +4189,9 @@ function ki({
4189
4189
  ), X = () => {
4190
4190
  D(""), r.current && (r.current.style.height = "auto");
4191
4191
  }, H = e || p || h || E;
4192
- Le(() => {
4192
+ ke(() => {
4193
4193
  i.current && !H && r.current?.focus(), i.current = H;
4194
- }, [H, r]), Le(() => {
4194
+ }, [H, r]), ke(() => {
4195
4195
  (d || f) && r.current?.focus();
4196
4196
  }, [f, d, r]);
4197
4197
  const S = (W) => {
@@ -4271,8 +4271,8 @@ ki.propTypes = {
4271
4271
  handleChange: x.func
4272
4272
  };
4273
4273
  const ii = ({ content: e = "Please try again later." }) => {
4274
- const t = Ze(null);
4275
- return Le(() => {
4274
+ const t = Je(null);
4275
+ return ke(() => {
4276
4276
  t.current?.scrollIntoView({
4277
4277
  behavior: "instant"
4278
4278
  });
@@ -5154,7 +5154,7 @@ function pp(e, t) {
5154
5154
  function uo(e) {
5155
5155
  return e === -2 || e === -1 || e === 32;
5156
5156
  }
5157
- function Pe(e, t, n, r) {
5157
+ function De(e, t, n, r) {
5158
5158
  const a = r ? r - 1 : Number.POSITIVE_INFINITY;
5159
5159
  let i = 0;
5160
5160
  return u;
@@ -5184,7 +5184,7 @@ function gp(e) {
5184
5184
  e.consume(s);
5185
5185
  return;
5186
5186
  }
5187
- return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), Pe(e, t, "linePrefix");
5187
+ return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), De(e, t, "linePrefix");
5188
5188
  }
5189
5189
  function a(s) {
5190
5190
  return e.enter("paragraph"), i(s);
@@ -5340,7 +5340,7 @@ function Ep(e) {
5340
5340
  }
5341
5341
  }
5342
5342
  function Tp(e, t, n) {
5343
- return Pe(
5343
+ return De(
5344
5344
  e,
5345
5345
  e.attempt(this.parser.constructs.document, t, n),
5346
5346
  "linePrefix",
@@ -5468,7 +5468,7 @@ function me(e) {
5468
5468
  function _t(e) {
5469
5469
  return e !== null && (e < 0 || e === 32);
5470
5470
  }
5471
- function ke(e) {
5471
+ function Ne(e) {
5472
5472
  return e === -2 || e === -1 || e === 32;
5473
5473
  }
5474
5474
  function kn(e) {
@@ -5523,7 +5523,7 @@ const Jr = {
5523
5523
  function wp(e, t, n) {
5524
5524
  return r;
5525
5525
  function r(i) {
5526
- return ke(i) ? Pe(e, a, "linePrefix")(i) : a(i);
5526
+ return Ne(i) ? De(e, a, "linePrefix")(i) : a(i);
5527
5527
  }
5528
5528
  function a(i) {
5529
5529
  return i === null || me(i) ? t(i) : n(i);
@@ -5550,14 +5550,14 @@ function Rp(e, t, n) {
5550
5550
  return n(u);
5551
5551
  }
5552
5552
  function i(u) {
5553
- return ke(u) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(u), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(u));
5553
+ return Ne(u) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(u), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(u));
5554
5554
  }
5555
5555
  }
5556
5556
  function Dp(e, t, n) {
5557
5557
  const r = this;
5558
5558
  return a;
5559
5559
  function a(u) {
5560
- return ke(u) ? Pe(
5560
+ return Ne(u) ? De(
5561
5561
  e,
5562
5562
  i,
5563
5563
  "linePrefix",
@@ -5643,7 +5643,7 @@ function Bp(e, t, n) {
5643
5643
  return i = w && w[1].type === "linePrefix" ? w[2].sliceSerialize(w[1], !0).length : 0, s = S, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), d(S);
5644
5644
  }
5645
5645
  function d(S) {
5646
- return S === s ? (u++, e.consume(S), d) : u < 3 ? n(S) : (e.exit("codeFencedFenceSequence"), ke(S) ? Pe(e, f, "whitespace")(S) : f(S));
5646
+ return S === s ? (u++, e.consume(S), d) : u < 3 ? n(S) : (e.exit("codeFencedFenceSequence"), Ne(S) ? De(e, f, "whitespace")(S) : f(S));
5647
5647
  }
5648
5648
  function f(S) {
5649
5649
  return S === null || me(S) ? (e.exit("codeFencedFence"), r.interrupt ? t(S) : e.check(fo, m, X)(S)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
@@ -5651,7 +5651,7 @@ function Bp(e, t, n) {
5651
5651
  }), p(S));
5652
5652
  }
5653
5653
  function p(S) {
5654
- return S === null || me(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(S)) : ke(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Pe(e, h, "whitespace")(S)) : S === 96 && S === s ? n(S) : (e.consume(S), p);
5654
+ return S === null || me(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(S)) : Ne(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), De(e, h, "whitespace")(S)) : S === 96 && S === s ? n(S) : (e.consume(S), p);
5655
5655
  }
5656
5656
  function h(S) {
5657
5657
  return S === null || me(S) ? f(S) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
@@ -5668,7 +5668,7 @@ function Bp(e, t, n) {
5668
5668
  return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), g;
5669
5669
  }
5670
5670
  function g(S) {
5671
- return i > 0 && ke(S) ? Pe(
5671
+ return i > 0 && Ne(S) ? De(
5672
5672
  e,
5673
5673
  D,
5674
5674
  "linePrefix",
@@ -5691,7 +5691,7 @@ function Bp(e, t, n) {
5691
5691
  return S.enter("lineEnding"), S.consume(L), S.exit("lineEnding"), Y;
5692
5692
  }
5693
5693
  function Y(L) {
5694
- return S.enter("codeFencedFence"), ke(L) ? Pe(
5694
+ return S.enter("codeFencedFence"), Ne(L) ? De(
5695
5695
  S,
5696
5696
  $,
5697
5697
  "linePrefix",
@@ -5702,7 +5702,7 @@ function Bp(e, t, n) {
5702
5702
  return L === s ? (S.enter("codeFencedFenceSequence"), k(L)) : W(L);
5703
5703
  }
5704
5704
  function k(L) {
5705
- return L === s ? (q++, S.consume(L), k) : q >= u ? (S.exit("codeFencedFenceSequence"), ke(L) ? Pe(S, O, "whitespace")(L) : O(L)) : W(L);
5705
+ return L === s ? (q++, S.consume(L), k) : q >= u ? (S.exit("codeFencedFenceSequence"), Ne(L) ? De(S, O, "whitespace")(L) : O(L)) : W(L);
5706
5706
  }
5707
5707
  function O(L) {
5708
5708
  return L === null || me(L) ? (S.exit("codeFencedFence"), w(L)) : W(L);
@@ -5730,7 +5730,7 @@ function jp(e, t, n) {
5730
5730
  const r = this;
5731
5731
  return a;
5732
5732
  function a(c) {
5733
- return e.enter("codeIndented"), Pe(e, i, "linePrefix", 5)(c);
5733
+ return e.enter("codeIndented"), De(e, i, "linePrefix", 5)(c);
5734
5734
  }
5735
5735
  function i(c) {
5736
5736
  const d = r.events[r.events.length - 1];
@@ -5750,7 +5750,7 @@ function qp(e, t, n) {
5750
5750
  const r = this;
5751
5751
  return a;
5752
5752
  function a(u) {
5753
- return r.parser.lazy[r.now().line] ? n(u) : me(u) ? (e.enter("lineEnding"), e.consume(u), e.exit("lineEnding"), a) : Pe(e, i, "linePrefix", 5)(u);
5753
+ return r.parser.lazy[r.now().line] ? n(u) : me(u) ? (e.enter("lineEnding"), e.consume(u), e.exit("lineEnding"), a) : De(e, i, "linePrefix", 5)(u);
5754
5754
  }
5755
5755
  function i(u) {
5756
5756
  const s = r.events[r.events.length - 1];
@@ -5878,7 +5878,7 @@ function Zp(e, t, n) {
5878
5878
  const r = this;
5879
5879
  return a;
5880
5880
  function a(u) {
5881
- return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(u), e.exit("lineEnding"), Pe(e, i, "linePrefix");
5881
+ return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(u), e.exit("lineEnding"), De(e, i, "linePrefix");
5882
5882
  }
5883
5883
  function i(u) {
5884
5884
  if (u === null || me(u))
@@ -5970,7 +5970,7 @@ function vl(e, t, n, r, a, i) {
5970
5970
  return p === u ? (e.enter(a), e.consume(p), e.exit(a), e.exit(r), t) : (e.enter(i), c(p));
5971
5971
  }
5972
5972
  function c(p) {
5973
- return p === u ? (e.exit(i), l(u)) : p === null ? n(p) : go(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), Pe(e, c, "linePrefix")) : (e.enter("chunkString", {
5973
+ return p === u ? (e.exit(i), l(u)) : p === null ? n(p) : go(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), De(e, c, "linePrefix")) : (e.enter("chunkString", {
5974
5974
  contentType: "string"
5975
5975
  }), d(p));
5976
5976
  }
@@ -5991,7 +5991,7 @@ function nr(e, t) {
5991
5991
  let n;
5992
5992
  return r;
5993
5993
  function r(a) {
5994
- return n1(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : r1(a) ? Pe(
5994
+ return n1(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : r1(a) ? De(
5995
5995
  e,
5996
5996
  r,
5997
5997
  n ? "linePrefix" : "lineSuffix"
@@ -6052,7 +6052,7 @@ function u1(e, t, n) {
6052
6052
  return e.attempt(i1, f, f)(h);
6053
6053
  }
6054
6054
  function f(h) {
6055
- return ke(h) ? Pe(e, p, "whitespace")(h) : p(h);
6055
+ return Ne(h) ? De(e, p, "whitespace")(h) : p(h);
6056
6056
  }
6057
6057
  function p(h) {
6058
6058
  return h === null || me(h) ? (e.exit("definition"), r.parser.defined.push(a), t(h)) : n(h);
@@ -6074,7 +6074,7 @@ function o1(e, t, n) {
6074
6074
  )(s);
6075
6075
  }
6076
6076
  function i(s) {
6077
- return ke(s) ? Pe(e, u, "whitespace")(s) : u(s);
6077
+ return Ne(s) ? De(e, u, "whitespace")(s) : u(s);
6078
6078
  }
6079
6079
  function u(s) {
6080
6080
  return s === null || me(s) ? t(s) : n(s);
@@ -6129,7 +6129,7 @@ function f1(e, t, n) {
6129
6129
  return d === 35 && r++ < 6 ? (e.consume(d), u) : d === null || _t(d) ? (e.exit("atxHeadingSequence"), s(d)) : n(d);
6130
6130
  }
6131
6131
  function s(d) {
6132
- return d === 35 ? (e.enter("atxHeadingSequence"), l(d)) : d === null || me(d) ? (e.exit("atxHeading"), t(d)) : ke(d) ? Pe(e, s, "whitespace")(d) : (e.enter("atxHeadingText"), c(d));
6132
+ return d === 35 ? (e.enter("atxHeadingSequence"), l(d)) : d === null || me(d) ? (e.exit("atxHeading"), t(d)) : Ne(d) ? De(e, s, "whitespace")(d) : (e.enter("atxHeadingText"), c(d));
6133
6133
  }
6134
6134
  function l(d) {
6135
6135
  return d === 35 ? (e.consume(d), l) : (e.exit("atxHeadingSequence"), s(d));
@@ -6247,8 +6247,8 @@ function E1(e, t, n) {
6247
6247
  }
6248
6248
  function y(v) {
6249
6249
  if (v === null || v === 47 || v === 62 || _t(v)) {
6250
- const oe = v === 47, Te = u.toLowerCase();
6251
- return !oe && !i && bo.includes(Te) ? (a = 1, r.interrupt ? t(v) : $(v)) : h1.includes(u.toLowerCase()) ? (a = 6, oe ? (e.consume(v), g) : r.interrupt ? t(v) : $(v)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(v) : i ? D(v) : P(v));
6250
+ const oe = v === 47, Ee = u.toLowerCase();
6251
+ return !oe && !i && bo.includes(Ee) ? (a = 1, r.interrupt ? t(v) : $(v)) : h1.includes(u.toLowerCase()) ? (a = 6, oe ? (e.consume(v), g) : r.interrupt ? t(v) : $(v)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(v) : i ? D(v) : P(v));
6252
6252
  }
6253
6253
  return v === 45 || Nt(v) ? (e.consume(v), u += String.fromCharCode(v), y) : n(v);
6254
6254
  }
@@ -6256,19 +6256,19 @@ function E1(e, t, n) {
6256
6256
  return v === 62 ? (e.consume(v), r.interrupt ? t : $) : n(v);
6257
6257
  }
6258
6258
  function D(v) {
6259
- return ke(v) ? (e.consume(v), D) : te(v);
6259
+ return Ne(v) ? (e.consume(v), D) : te(v);
6260
6260
  }
6261
6261
  function P(v) {
6262
- return v === 47 ? (e.consume(v), te) : v === 58 || v === 95 || Mt(v) ? (e.consume(v), X) : ke(v) ? (e.consume(v), P) : te(v);
6262
+ return v === 47 ? (e.consume(v), te) : v === 58 || v === 95 || Mt(v) ? (e.consume(v), X) : Ne(v) ? (e.consume(v), P) : te(v);
6263
6263
  }
6264
6264
  function X(v) {
6265
6265
  return v === 45 || v === 46 || v === 58 || v === 95 || Nt(v) ? (e.consume(v), X) : H(v);
6266
6266
  }
6267
6267
  function H(v) {
6268
- return v === 61 ? (e.consume(v), S) : ke(v) ? (e.consume(v), H) : P(v);
6268
+ return v === 61 ? (e.consume(v), S) : Ne(v) ? (e.consume(v), H) : P(v);
6269
6269
  }
6270
6270
  function S(v) {
6271
- return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), l = v, w) : ke(v) ? (e.consume(v), S) : W(v);
6271
+ return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), l = v, w) : Ne(v) ? (e.consume(v), S) : W(v);
6272
6272
  }
6273
6273
  function w(v) {
6274
6274
  return v === l ? (e.consume(v), l = null, q) : v === null || me(v) ? n(v) : (e.consume(v), w);
@@ -6277,13 +6277,13 @@ function E1(e, t, n) {
6277
6277
  return v === null || v === 34 || v === 39 || v === 47 || v === 60 || v === 61 || v === 62 || v === 96 || _t(v) ? H(v) : (e.consume(v), W);
6278
6278
  }
6279
6279
  function q(v) {
6280
- return v === 47 || v === 62 || ke(v) ? P(v) : n(v);
6280
+ return v === 47 || v === 62 || Ne(v) ? P(v) : n(v);
6281
6281
  }
6282
6282
  function te(v) {
6283
6283
  return v === 62 ? (e.consume(v), Y) : n(v);
6284
6284
  }
6285
6285
  function Y(v) {
6286
- return v === null || me(v) ? $(v) : ke(v) ? (e.consume(v), Y) : n(v);
6286
+ return v === null || me(v) ? $(v) : Ne(v) ? (e.consume(v), Y) : n(v);
6287
6287
  }
6288
6288
  function $(v) {
6289
6289
  return v === 45 && a === 2 ? (e.consume(v), F) : v === 60 && a === 1 ? (e.consume(v), V) : v === 62 && a === 4 ? (e.consume(v), ne) : v === 63 && a === 3 ? (e.consume(v), T) : v === 93 && a === 5 ? (e.consume(v), z) : me(v) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
@@ -6405,22 +6405,22 @@ function C1(e, t, n) {
6405
6405
  return T === 45 || Nt(T) ? (e.consume(T), S) : w(T);
6406
6406
  }
6407
6407
  function w(T) {
6408
- return me(T) ? (u = w, V(T)) : ke(T) ? (e.consume(T), w) : F(T);
6408
+ return me(T) ? (u = w, V(T)) : Ne(T) ? (e.consume(T), w) : F(T);
6409
6409
  }
6410
6410
  function W(T) {
6411
6411
  return T === 45 || Nt(T) ? (e.consume(T), W) : T === 47 || T === 62 || _t(T) ? q(T) : n(T);
6412
6412
  }
6413
6413
  function q(T) {
6414
- return T === 47 ? (e.consume(T), F) : T === 58 || T === 95 || Mt(T) ? (e.consume(T), te) : me(T) ? (u = q, V(T)) : ke(T) ? (e.consume(T), q) : F(T);
6414
+ return T === 47 ? (e.consume(T), F) : T === 58 || T === 95 || Mt(T) ? (e.consume(T), te) : me(T) ? (u = q, V(T)) : Ne(T) ? (e.consume(T), q) : F(T);
6415
6415
  }
6416
6416
  function te(T) {
6417
6417
  return T === 45 || T === 46 || T === 58 || T === 95 || Nt(T) ? (e.consume(T), te) : Y(T);
6418
6418
  }
6419
6419
  function Y(T) {
6420
- return T === 61 ? (e.consume(T), $) : me(T) ? (u = Y, V(T)) : ke(T) ? (e.consume(T), Y) : q(T);
6420
+ return T === 61 ? (e.consume(T), $) : me(T) ? (u = Y, V(T)) : Ne(T) ? (e.consume(T), Y) : q(T);
6421
6421
  }
6422
6422
  function $(T) {
6423
- return T === null || T === 60 || T === 61 || T === 62 || T === 96 ? n(T) : T === 34 || T === 39 ? (e.consume(T), a = T, k) : me(T) ? (u = $, V(T)) : ke(T) ? (e.consume(T), $) : (e.consume(T), O);
6423
+ return T === null || T === 60 || T === 61 || T === 62 || T === 96 ? n(T) : T === 34 || T === 39 ? (e.consume(T), a = T, k) : me(T) ? (u = $, V(T)) : Ne(T) ? (e.consume(T), $) : (e.consume(T), O);
6424
6424
  }
6425
6425
  function k(T) {
6426
6426
  return T === a ? (e.consume(T), a = void 0, L) : T === null ? n(T) : me(T) ? (u = k, V(T)) : (e.consume(T), k);
@@ -6438,7 +6438,7 @@ function C1(e, t, n) {
6438
6438
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(T), e.exit("lineEnding"), U;
6439
6439
  }
6440
6440
  function U(T) {
6441
- return ke(T) ? Pe(
6441
+ return Ne(T) ? De(
6442
6442
  e,
6443
6443
  z,
6444
6444
  "linePrefix",
@@ -6674,7 +6674,7 @@ const Pa = {
6674
6674
  function M1(e, t) {
6675
6675
  return n;
6676
6676
  function n(r) {
6677
- return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), Pe(e, t, "linePrefix");
6677
+ return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), De(e, t, "linePrefix");
6678
6678
  }
6679
6679
  }
6680
6680
  const Pr = {
@@ -6694,7 +6694,7 @@ function F1(e, t, n) {
6694
6694
  return c === a ? (e.enter("thematicBreakSequence"), l(c)) : r >= 3 && (c === null || me(c)) ? (e.exit("thematicBreak"), t(c)) : n(c);
6695
6695
  }
6696
6696
  function l(c) {
6697
- return c === a ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), ke(c) ? Pe(e, s, "whitespace")(c) : s(c));
6697
+ return c === a ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), Ne(c) ? De(e, s, "whitespace")(c) : s(c));
6698
6698
  }
6699
6699
  }
6700
6700
  const ut = {
@@ -6746,7 +6746,7 @@ function U1(e, t, n) {
6746
6746
  return r.containerState.initialBlankLine = !0, i++, p(h);
6747
6747
  }
6748
6748
  function f(h) {
6749
- return ke(h) ? (e.enter("listItemPrefixWhitespace"), e.consume(h), e.exit("listItemPrefixWhitespace"), p) : n(h);
6749
+ return Ne(h) ? (e.enter("listItemPrefixWhitespace"), e.consume(h), e.exit("listItemPrefixWhitespace"), p) : n(h);
6750
6750
  }
6751
6751
  function p(h) {
6752
6752
  return r.containerState.size = i + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(h);
@@ -6756,7 +6756,7 @@ function j1(e, t, n) {
6756
6756
  const r = this;
6757
6757
  return r.containerState._closeFlow = void 0, e.check(Jr, a, i);
6758
6758
  function a(s) {
6759
- return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, Pe(
6759
+ return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, De(
6760
6760
  e,
6761
6761
  t,
6762
6762
  "listItemIndent",
@@ -6764,10 +6764,10 @@ function j1(e, t, n) {
6764
6764
  )(s);
6765
6765
  }
6766
6766
  function i(s) {
6767
- return r.containerState.furtherBlankLines || !ke(s) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, u(s)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(H1, t, u)(s));
6767
+ return r.containerState.furtherBlankLines || !Ne(s) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, u(s)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(H1, t, u)(s));
6768
6768
  }
6769
6769
  function u(s) {
6770
- return r.containerState._closeFlow = !0, r.interrupt = void 0, Pe(
6770
+ return r.containerState._closeFlow = !0, r.interrupt = void 0, De(
6771
6771
  e,
6772
6772
  e.attempt(ut, t, n),
6773
6773
  "linePrefix",
@@ -6777,7 +6777,7 @@ function j1(e, t, n) {
6777
6777
  }
6778
6778
  function q1(e, t, n) {
6779
6779
  const r = this;
6780
- return Pe(
6780
+ return De(
6781
6781
  e,
6782
6782
  a,
6783
6783
  "listItemIndent",
@@ -6793,7 +6793,7 @@ function z1(e) {
6793
6793
  }
6794
6794
  function Y1(e, t, n) {
6795
6795
  const r = this;
6796
- return Pe(
6796
+ return De(
6797
6797
  e,
6798
6798
  a,
6799
6799
  "listItemPrefixWhitespace",
@@ -6801,7 +6801,7 @@ function Y1(e, t, n) {
6801
6801
  );
6802
6802
  function a(i) {
6803
6803
  const u = r.events[r.events.length - 1];
6804
- return !ke(i) && u && u[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
6804
+ return !Ne(i) && u && u[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
6805
6805
  }
6806
6806
  }
6807
6807
  const Eo = {
@@ -6844,7 +6844,7 @@ function V1(e, t, n) {
6844
6844
  return e.enter("setextHeadingLineSequence"), s(c);
6845
6845
  }
6846
6846
  function s(c) {
6847
- return c === a ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), ke(c) ? Pe(e, l, "lineSuffix")(c) : l(c));
6847
+ return c === a ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), Ne(c) ? De(e, l, "lineSuffix")(c) : l(c));
6848
6848
  }
6849
6849
  function l(c) {
6850
6850
  return c === null || me(c) ? (e.exit("setextHeadingLine"), t(c)) : n(c);
@@ -6862,7 +6862,7 @@ function G1(e) {
6862
6862
  e.attempt(
6863
6863
  this.parser.constructs.flowInitial,
6864
6864
  a,
6865
- Pe(
6865
+ De(
6866
6866
  e,
6867
6867
  e.attempt(
6868
6868
  this.parser.constructs.flow,
@@ -7081,38 +7081,38 @@ function J1(e, t, n) {
7081
7081
  ue([O])
7082
7082
  ) : ne(O);
7083
7083
  function ne(he) {
7084
- return Ae;
7085
- function Ae(ve) {
7086
- const Me = ve !== null && he[ve], Oe = ve !== null && he.null, et = [
7084
+ return Ce;
7085
+ function Ce(Se) {
7086
+ const Fe = Se !== null && he[Se], Ie = Se !== null && he.null, tt = [
7087
7087
  // To do: add more extension tests.
7088
7088
  /* c8 ignore next 2 */
7089
- ...Array.isArray(Me) ? Me : Me ? [Me] : [],
7090
- ...Array.isArray(Oe) ? Oe : Oe ? [Oe] : []
7089
+ ...Array.isArray(Fe) ? Fe : Fe ? [Fe] : [],
7090
+ ...Array.isArray(Ie) ? Ie : Ie ? [Ie] : []
7091
7091
  ];
7092
- return ue(et)(ve);
7092
+ return ue(tt)(Se);
7093
7093
  }
7094
7094
  }
7095
7095
  function ue(he) {
7096
7096
  return V = he, U = 0, he.length === 0 ? F : v(he[U]);
7097
7097
  }
7098
7098
  function v(he) {
7099
- return Ae;
7100
- function Ae(ve) {
7101
- return T = q(), z = he, he.partial || (c.currentConstruct = he), he.name && c.parser.constructs.disable.null.includes(he.name) ? Te() : he.tokenize.call(
7099
+ return Ce;
7100
+ function Ce(Se) {
7101
+ return T = q(), z = he, he.partial || (c.currentConstruct = he), he.name && c.parser.constructs.disable.null.includes(he.name) ? Ee() : he.tokenize.call(
7102
7102
  // If we do have fields, create an object w/ `context` as its
7103
7103
  // prototype.
7104
7104
  // This allows a “live binding”, which is needed for `interrupt`.
7105
7105
  $ ? Object.assign(Object.create(c), $) : c,
7106
7106
  l,
7107
7107
  oe,
7108
- Te
7109
- )(ve);
7108
+ Ee
7109
+ )(Se);
7110
7110
  }
7111
7111
  }
7112
7112
  function oe(he) {
7113
7113
  return Y(z, T), L;
7114
7114
  }
7115
- function Te(he) {
7115
+ function Ee(he) {
7116
7116
  return T.restore(), ++U < V.length ? v(V[U]) : F;
7117
7117
  }
7118
7118
  }
@@ -7371,11 +7371,11 @@ function Tm(e) {
7371
7371
  transforms: [],
7372
7372
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
7373
7373
  enter: {
7374
- autolink: s(xe),
7374
+ autolink: s(Pe),
7375
7375
  autolinkProtocol: Y,
7376
7376
  autolinkEmail: Y,
7377
- atxHeading: s(Se),
7378
- blockQuote: s(et),
7377
+ atxHeading: s(Ae),
7378
+ blockQuote: s(tt),
7379
7379
  characterEscape: Y,
7380
7380
  characterReference: Y,
7381
7381
  codeFenced: s(dt),
@@ -7391,25 +7391,25 @@ function Tm(e) {
7391
7391
  definitionLabelString: l,
7392
7392
  definitionTitleString: l,
7393
7393
  emphasis: s(ge),
7394
- hardBreakEscape: s(We),
7395
- hardBreakTrailing: s(We),
7396
- htmlFlow: s(ze, l),
7394
+ hardBreakEscape: s(Ge),
7395
+ hardBreakTrailing: s(Ge),
7396
+ htmlFlow: s(Ye, l),
7397
7397
  htmlFlowData: Y,
7398
- htmlText: s(ze, l),
7398
+ htmlText: s(Ye, l),
7399
7399
  htmlTextData: Y,
7400
- image: s(Ge),
7400
+ image: s(Xe),
7401
7401
  label: l,
7402
- link: s(xe),
7403
- listItem: s(rt),
7402
+ link: s(Pe),
7403
+ listItem: s(Me),
7404
7404
  listItemValue: E,
7405
- listOrdered: s(Ee, h),
7406
- listUnordered: s(Ee),
7407
- paragraph: s(Xe),
7408
- reference: Te,
7405
+ listOrdered: s(ve, h),
7406
+ listUnordered: s(ve),
7407
+ paragraph: s(Ke),
7408
+ reference: Ee,
7409
7409
  referenceString: l,
7410
7410
  resourceDestinationString: l,
7411
7411
  resourceTitleString: l,
7412
- setextHeading: s(Se),
7412
+ setextHeading: s(Ae),
7413
7413
  strong: s(Ut),
7414
7414
  thematicBreak: s(vt)
7415
7415
  },
@@ -7417,13 +7417,13 @@ function Tm(e) {
7417
7417
  atxHeading: d(),
7418
7418
  atxHeadingSequence: w,
7419
7419
  autolink: d(),
7420
- autolinkEmail: Oe,
7421
- autolinkProtocol: Me,
7420
+ autolinkEmail: Ie,
7421
+ autolinkProtocol: Fe,
7422
7422
  blockQuote: d(),
7423
7423
  characterEscapeValue: $,
7424
- characterReferenceMarkerHexadecimal: Ae,
7425
- characterReferenceMarkerNumeric: Ae,
7426
- characterReferenceValue: ve,
7424
+ characterReferenceMarkerHexadecimal: Ce,
7425
+ characterReferenceMarkerNumeric: Ce,
7426
+ characterReferenceValue: Se,
7427
7427
  codeFenced: d(D),
7428
7428
  codeFencedFence: g,
7429
7429
  codeFencedFenceInfo: m,
@@ -7483,25 +7483,25 @@ function Tm(e) {
7483
7483
  setData: i,
7484
7484
  getData: u
7485
7485
  }, fe = [];
7486
- let ye = -1;
7487
- for (; ++ye < j.length; )
7488
- if (j[ye][1].type === "listOrdered" || j[ye][1].type === "listUnordered")
7489
- if (j[ye][0] === "enter")
7490
- fe.push(ye);
7486
+ let Te = -1;
7487
+ for (; ++Te < j.length; )
7488
+ if (j[Te][1].type === "listOrdered" || j[Te][1].type === "listUnordered")
7489
+ if (j[Te][0] === "enter")
7490
+ fe.push(Te);
7491
7491
  else {
7492
7492
  const at = fe.pop();
7493
- ye = a(j, at, ye);
7493
+ Te = a(j, at, Te);
7494
7494
  }
7495
- for (ye = -1; ++ye < j.length; ) {
7496
- const at = t[j[ye][0]];
7497
- Nl.call(at, j[ye][1].type) && at[j[ye][1].type].call(
7495
+ for (Te = -1; ++Te < j.length; ) {
7496
+ const at = t[j[Te][0]];
7497
+ Nl.call(at, j[Te][1].type) && at[j[Te][1].type].call(
7498
7498
  Object.assign(
7499
7499
  {
7500
- sliceSerialize: j[ye][2].sliceSerialize
7500
+ sliceSerialize: j[Te][2].sliceSerialize
7501
7501
  },
7502
7502
  re
7503
7503
  ),
7504
- j[ye][1]
7504
+ j[Te][1]
7505
7505
  );
7506
7506
  }
7507
7507
  if (re.tokenStack.length > 0) {
@@ -7523,15 +7523,15 @@ function Tm(e) {
7523
7523
  offset: 0
7524
7524
  }
7525
7525
  )
7526
- }, ye = -1; ++ye < t.transforms.length; )
7527
- K = t.transforms[ye](K) || K;
7526
+ }, Te = -1; ++Te < t.transforms.length; )
7527
+ K = t.transforms[Te](K) || K;
7528
7528
  return K;
7529
7529
  }
7530
7530
  function a(j, K, re) {
7531
- let fe = K - 1, ye = -1, at = !1, wt, xt, ft, Rt;
7531
+ let fe = K - 1, Te = -1, at = !1, wt, xt, ft, Rt;
7532
7532
  for (; ++fe <= re; ) {
7533
- const Ue = j[fe];
7534
- if (Ue[1].type === "listUnordered" || Ue[1].type === "listOrdered" || Ue[1].type === "blockQuote" ? (Ue[0] === "enter" ? ye++ : ye--, Rt = void 0) : Ue[1].type === "lineEndingBlank" ? Ue[0] === "enter" && (wt && !Rt && !ye && !ft && (ft = fe), Rt = void 0) : Ue[1].type === "linePrefix" || Ue[1].type === "listItemValue" || Ue[1].type === "listItemMarker" || Ue[1].type === "listItemPrefix" || Ue[1].type === "listItemPrefixWhitespace" || (Rt = void 0), !ye && Ue[0] === "enter" && Ue[1].type === "listItemPrefix" || ye === -1 && Ue[0] === "exit" && (Ue[1].type === "listUnordered" || Ue[1].type === "listOrdered")) {
7533
+ const je = j[fe];
7534
+ if (je[1].type === "listUnordered" || je[1].type === "listOrdered" || je[1].type === "blockQuote" ? (je[0] === "enter" ? Te++ : Te--, Rt = void 0) : je[1].type === "lineEndingBlank" ? je[0] === "enter" && (wt && !Rt && !Te && !ft && (ft = fe), Rt = void 0) : je[1].type === "linePrefix" || je[1].type === "listItemValue" || je[1].type === "listItemMarker" || je[1].type === "listItemPrefix" || je[1].type === "listItemPrefixWhitespace" || (Rt = void 0), !Te && je[0] === "enter" && je[1].type === "listItemPrefix" || Te === -1 && je[0] === "exit" && (je[1].type === "listUnordered" || je[1].type === "listOrdered")) {
7535
7535
  if (wt) {
7536
7536
  let En = fe;
7537
7537
  for (xt = void 0; En--; ) {
@@ -7543,16 +7543,16 @@ function Tm(e) {
7543
7543
  }
7544
7544
  ft && (!xt || ft < xt) && (wt._spread = !0), wt.end = Object.assign(
7545
7545
  {},
7546
- xt ? j[xt][1].start : Ue[1].end
7547
- ), j.splice(xt || fe, 0, ["exit", wt, Ue[2]]), fe++, re++;
7546
+ xt ? j[xt][1].start : je[1].end
7547
+ ), j.splice(xt || fe, 0, ["exit", wt, je[2]]), fe++, re++;
7548
7548
  }
7549
- Ue[1].type === "listItemPrefix" && (wt = {
7549
+ je[1].type === "listItemPrefix" && (wt = {
7550
7550
  type: "listItem",
7551
7551
  _spread: !1,
7552
- start: Object.assign({}, Ue[1].start),
7552
+ start: Object.assign({}, je[1].start),
7553
7553
  // @ts-expect-error: we’ll add `end` in a second.
7554
7554
  end: void 0
7555
- }, j.splice(fe, 0, ["enter", wt, Ue[2]]), fe++, re++, ft = void 0, Rt = !0);
7555
+ }, j.splice(fe, 0, ["enter", wt, je[2]]), fe++, re++, ft = void 0, Rt = !0);
7556
7556
  }
7557
7557
  }
7558
7558
  return j[K][1]._spread = at, re;
@@ -7736,7 +7736,7 @@ function Tm(e) {
7736
7736
  function oe() {
7737
7737
  i("inReference");
7738
7738
  }
7739
- function Te() {
7739
+ function Ee() {
7740
7740
  i("referenceType", "collapsed");
7741
7741
  }
7742
7742
  function he(j) {
@@ -7745,30 +7745,30 @@ function Tm(e) {
7745
7745
  this.sliceSerialize(j)
7746
7746
  ).toLowerCase(), i("referenceType", "full");
7747
7747
  }
7748
- function Ae(j) {
7748
+ function Ce(j) {
7749
7749
  i("characterReferenceType", j.type);
7750
7750
  }
7751
- function ve(j) {
7751
+ function Se(j) {
7752
7752
  const K = this.sliceSerialize(j), re = u("characterReferenceType");
7753
7753
  let fe;
7754
7754
  re ? (fe = Ol(
7755
7755
  K,
7756
7756
  re === "characterReferenceMarkerNumeric" ? 10 : 16
7757
7757
  ), i("characterReferenceType")) : fe = Ri(K);
7758
- const ye = this.stack.pop();
7759
- ye.value += fe, ye.position.end = Kt(j.end);
7758
+ const Te = this.stack.pop();
7759
+ Te.value += fe, Te.position.end = Kt(j.end);
7760
7760
  }
7761
- function Me(j) {
7761
+ function Fe(j) {
7762
7762
  $.call(this, j);
7763
7763
  const K = this.stack[this.stack.length - 1];
7764
7764
  K.url = this.sliceSerialize(j);
7765
7765
  }
7766
- function Oe(j) {
7766
+ function Ie(j) {
7767
7767
  $.call(this, j);
7768
7768
  const K = this.stack[this.stack.length - 1];
7769
7769
  K.url = "mailto:" + this.sliceSerialize(j);
7770
7770
  }
7771
- function et() {
7771
+ function tt() {
7772
7772
  return {
7773
7773
  type: "blockquote",
7774
7774
  children: []
@@ -7803,25 +7803,25 @@ function Tm(e) {
7803
7803
  children: []
7804
7804
  };
7805
7805
  }
7806
- function Se() {
7806
+ function Ae() {
7807
7807
  return {
7808
7808
  type: "heading",
7809
7809
  depth: void 0,
7810
7810
  children: []
7811
7811
  };
7812
7812
  }
7813
- function We() {
7813
+ function Ge() {
7814
7814
  return {
7815
7815
  type: "break"
7816
7816
  };
7817
7817
  }
7818
- function ze() {
7818
+ function Ye() {
7819
7819
  return {
7820
7820
  type: "html",
7821
7821
  value: ""
7822
7822
  };
7823
7823
  }
7824
- function Ge() {
7824
+ function Xe() {
7825
7825
  return {
7826
7826
  type: "image",
7827
7827
  title: null,
@@ -7829,7 +7829,7 @@ function Tm(e) {
7829
7829
  alt: null
7830
7830
  };
7831
7831
  }
7832
- function xe() {
7832
+ function Pe() {
7833
7833
  return {
7834
7834
  type: "link",
7835
7835
  title: null,
@@ -7837,7 +7837,7 @@ function Tm(e) {
7837
7837
  children: []
7838
7838
  };
7839
7839
  }
7840
- function Ee(j) {
7840
+ function ve(j) {
7841
7841
  return {
7842
7842
  type: "list",
7843
7843
  ordered: j.type === "listOrdered",
@@ -7846,7 +7846,7 @@ function Tm(e) {
7846
7846
  children: []
7847
7847
  };
7848
7848
  }
7849
- function rt(j) {
7849
+ function Me(j) {
7850
7850
  return {
7851
7851
  type: "listItem",
7852
7852
  spread: j._spread,
@@ -7854,7 +7854,7 @@ function Tm(e) {
7854
7854
  children: []
7855
7855
  };
7856
7856
  }
7857
- function Xe() {
7857
+ function Ke() {
7858
7858
  return {
7859
7859
  type: "paragraph",
7860
7860
  children: []
@@ -8747,19 +8747,19 @@ At.prototype.commaOrSpaceSeparated = !1;
8747
8747
  At.prototype.mustUseProperty = !1;
8748
8748
  At.prototype.defined = !1;
8749
8749
  let m2 = 0;
8750
- const le = fn(), Ye = fn(), Hl = fn(), Z = fn(), we = fn(), vn = fn(), mt = fn();
8750
+ const le = fn(), $e = fn(), Hl = fn(), Z = fn(), Le = fn(), vn = fn(), mt = fn();
8751
8751
  function fn() {
8752
8752
  return 2 ** ++m2;
8753
8753
  }
8754
8754
  const fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8755
8755
  __proto__: null,
8756
8756
  boolean: le,
8757
- booleanish: Ye,
8757
+ booleanish: $e,
8758
8758
  commaOrSpaceSeparated: mt,
8759
8759
  commaSeparated: vn,
8760
8760
  number: Z,
8761
8761
  overloadedBoolean: Hl,
8762
- spaceSeparated: we
8762
+ spaceSeparated: Le
8763
8763
  }, Symbol.toStringTag, { value: "Module" })), Ma = Object.keys(fi);
8764
8764
  let Hi = class extends At {
8765
8765
  /**
@@ -8836,47 +8836,47 @@ const Yl = wn({
8836
8836
  },
8837
8837
  properties: {
8838
8838
  ariaActiveDescendant: null,
8839
- ariaAtomic: Ye,
8839
+ ariaAtomic: $e,
8840
8840
  ariaAutoComplete: null,
8841
- ariaBusy: Ye,
8842
- ariaChecked: Ye,
8841
+ ariaBusy: $e,
8842
+ ariaChecked: $e,
8843
8843
  ariaColCount: Z,
8844
8844
  ariaColIndex: Z,
8845
8845
  ariaColSpan: Z,
8846
- ariaControls: we,
8846
+ ariaControls: Le,
8847
8847
  ariaCurrent: null,
8848
- ariaDescribedBy: we,
8848
+ ariaDescribedBy: Le,
8849
8849
  ariaDetails: null,
8850
- ariaDisabled: Ye,
8851
- ariaDropEffect: we,
8850
+ ariaDisabled: $e,
8851
+ ariaDropEffect: Le,
8852
8852
  ariaErrorMessage: null,
8853
- ariaExpanded: Ye,
8854
- ariaFlowTo: we,
8855
- ariaGrabbed: Ye,
8853
+ ariaExpanded: $e,
8854
+ ariaFlowTo: Le,
8855
+ ariaGrabbed: $e,
8856
8856
  ariaHasPopup: null,
8857
- ariaHidden: Ye,
8857
+ ariaHidden: $e,
8858
8858
  ariaInvalid: null,
8859
8859
  ariaKeyShortcuts: null,
8860
8860
  ariaLabel: null,
8861
- ariaLabelledBy: we,
8861
+ ariaLabelledBy: Le,
8862
8862
  ariaLevel: Z,
8863
8863
  ariaLive: null,
8864
- ariaModal: Ye,
8865
- ariaMultiLine: Ye,
8866
- ariaMultiSelectable: Ye,
8864
+ ariaModal: $e,
8865
+ ariaMultiLine: $e,
8866
+ ariaMultiSelectable: $e,
8867
8867
  ariaOrientation: null,
8868
- ariaOwns: we,
8868
+ ariaOwns: Le,
8869
8869
  ariaPlaceholder: null,
8870
8870
  ariaPosInSet: Z,
8871
- ariaPressed: Ye,
8872
- ariaReadOnly: Ye,
8871
+ ariaPressed: $e,
8872
+ ariaReadOnly: $e,
8873
8873
  ariaRelevant: null,
8874
- ariaRequired: Ye,
8875
- ariaRoleDescription: we,
8874
+ ariaRequired: $e,
8875
+ ariaRoleDescription: Le,
8876
8876
  ariaRowCount: Z,
8877
8877
  ariaRowIndex: Z,
8878
8878
  ariaRowSpan: Z,
8879
- ariaSelected: Ye,
8879
+ ariaSelected: $e,
8880
8880
  ariaSetSize: Z,
8881
8881
  ariaSort: null,
8882
8882
  ariaValueMax: Z,
@@ -8899,8 +8899,8 @@ const Yl = wn({
8899
8899
  // Standard Properties.
8900
8900
  abbr: null,
8901
8901
  accept: vn,
8902
- acceptCharset: we,
8903
- accessKey: we,
8902
+ acceptCharset: Le,
8903
+ accessKey: Le,
8904
8904
  action: null,
8905
8905
  allow: null,
8906
8906
  allowFullScreen: le,
@@ -8910,21 +8910,21 @@ const Yl = wn({
8910
8910
  as: null,
8911
8911
  async: le,
8912
8912
  autoCapitalize: null,
8913
- autoComplete: we,
8913
+ autoComplete: Le,
8914
8914
  autoFocus: le,
8915
8915
  autoPlay: le,
8916
- blocking: we,
8916
+ blocking: Le,
8917
8917
  capture: null,
8918
8918
  charSet: null,
8919
8919
  checked: le,
8920
8920
  cite: null,
8921
- className: we,
8921
+ className: Le,
8922
8922
  cols: Z,
8923
8923
  colSpan: null,
8924
8924
  content: null,
8925
- contentEditable: Ye,
8925
+ contentEditable: $e,
8926
8926
  controls: le,
8927
- controlsList: we,
8927
+ controlsList: Le,
8928
8928
  coords: Z | vn,
8929
8929
  crossOrigin: null,
8930
8930
  data: null,
@@ -8936,7 +8936,7 @@ const Yl = wn({
8936
8936
  dirName: null,
8937
8937
  disabled: le,
8938
8938
  download: Hl,
8939
- draggable: Ye,
8939
+ draggable: $e,
8940
8940
  encType: null,
8941
8941
  enterKeyHint: null,
8942
8942
  fetchPriority: null,
@@ -8946,14 +8946,14 @@ const Yl = wn({
8946
8946
  formMethod: null,
8947
8947
  formNoValidate: le,
8948
8948
  formTarget: null,
8949
- headers: we,
8949
+ headers: Le,
8950
8950
  height: Z,
8951
8951
  hidden: le,
8952
8952
  high: Z,
8953
8953
  href: null,
8954
8954
  hrefLang: null,
8955
- htmlFor: we,
8956
- httpEquiv: we,
8955
+ htmlFor: Le,
8956
+ httpEquiv: Le,
8957
8957
  id: null,
8958
8958
  imageSizes: null,
8959
8959
  imageSrcSet: null,
@@ -8963,10 +8963,10 @@ const Yl = wn({
8963
8963
  is: null,
8964
8964
  isMap: le,
8965
8965
  itemId: null,
8966
- itemProp: we,
8967
- itemRef: we,
8966
+ itemProp: Le,
8967
+ itemRef: Le,
8968
8968
  itemScope: le,
8969
- itemType: we,
8969
+ itemType: Le,
8970
8970
  kind: null,
8971
8971
  label: null,
8972
8972
  lang: null,
@@ -9079,7 +9079,7 @@ const Yl = wn({
9079
9079
  open: le,
9080
9080
  optimum: Z,
9081
9081
  pattern: null,
9082
- ping: we,
9082
+ ping: Le,
9083
9083
  placeholder: null,
9084
9084
  playsInline: le,
9085
9085
  popover: null,
@@ -9089,12 +9089,12 @@ const Yl = wn({
9089
9089
  preload: null,
9090
9090
  readOnly: le,
9091
9091
  referrerPolicy: null,
9092
- rel: we,
9092
+ rel: Le,
9093
9093
  required: le,
9094
9094
  reversed: le,
9095
9095
  rows: Z,
9096
9096
  rowSpan: Z,
9097
- sandbox: we,
9097
+ sandbox: Le,
9098
9098
  scope: null,
9099
9099
  scoped: le,
9100
9100
  seamless: le,
@@ -9107,7 +9107,7 @@ const Yl = wn({
9107
9107
  sizes: null,
9108
9108
  slot: null,
9109
9109
  span: Z,
9110
- spellCheck: Ye,
9110
+ spellCheck: $e,
9111
9111
  src: null,
9112
9112
  srcDoc: null,
9113
9113
  srcLang: null,
@@ -9122,7 +9122,7 @@ const Yl = wn({
9122
9122
  type: null,
9123
9123
  typeMustMatch: le,
9124
9124
  useMap: null,
9125
- value: Ye,
9125
+ value: $e,
9126
9126
  width: Z,
9127
9127
  wrap: null,
9128
9128
  writingSuggestions: null,
@@ -9132,7 +9132,7 @@ const Yl = wn({
9132
9132
  // Several. Use CSS `text-align` instead,
9133
9133
  aLink: null,
9134
9134
  // `<body>`. Use CSS `a:active {color}` instead
9135
- archive: we,
9135
+ archive: Le,
9136
9136
  // `<object>`. List of URIs to archives
9137
9137
  axis: null,
9138
9138
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -9214,7 +9214,7 @@ const Yl = wn({
9214
9214
  // `<table>`
9215
9215
  scheme: null,
9216
9216
  // `<meta>`
9217
- scrolling: Ye,
9217
+ scrolling: $e,
9218
9218
  // `<frame>`. Use overflow in the child context
9219
9219
  standby: null,
9220
9220
  // `<object>`
@@ -9447,7 +9447,7 @@ const Yl = wn({
9447
9447
  by: null,
9448
9448
  calcMode: null,
9449
9449
  capHeight: Z,
9450
- className: we,
9450
+ className: Le,
9451
9451
  clip: null,
9452
9452
  clipPath: null,
9453
9453
  clipPathUnits: null,
@@ -9682,7 +9682,7 @@ const Yl = wn({
9682
9682
  patternTransform: null,
9683
9683
  patternUnits: null,
9684
9684
  phase: null,
9685
- ping: we,
9685
+ ping: Le,
9686
9686
  pitch: null,
9687
9687
  playbackOrder: null,
9688
9688
  pointerEvents: null,
@@ -9869,7 +9869,7 @@ function A2(e) {
9869
9869
  });
9870
9870
  };
9871
9871
  }
9872
- var Fa = { exports: {} }, Ce = {};
9872
+ var Fa = { exports: {} }, _e = {};
9873
9873
  /**
9874
9874
  * @license React
9875
9875
  * react-is.production.min.js
@@ -9881,7 +9881,7 @@ var Fa = { exports: {} }, Ce = {};
9881
9881
  */
9882
9882
  var Lo;
9883
9883
  function S2() {
9884
- if (Lo) return Ce;
9884
+ if (Lo) return _e;
9885
9885
  Lo = 1;
9886
9886
  var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), u = Symbol.for("react.context"), s = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), E;
9887
9887
  E = Symbol.for("react.module.reference");
@@ -9915,37 +9915,37 @@ function S2() {
9915
9915
  }
9916
9916
  }
9917
9917
  }
9918
- return Ce.ContextConsumer = u, Ce.ContextProvider = i, Ce.Element = e, Ce.ForwardRef = l, Ce.Fragment = n, Ce.Lazy = p, Ce.Memo = f, Ce.Portal = t, Ce.Profiler = a, Ce.StrictMode = r, Ce.Suspense = c, Ce.SuspenseList = d, Ce.isAsyncMode = function() {
9918
+ return _e.ContextConsumer = u, _e.ContextProvider = i, _e.Element = e, _e.ForwardRef = l, _e.Fragment = n, _e.Lazy = p, _e.Memo = f, _e.Portal = t, _e.Profiler = a, _e.StrictMode = r, _e.Suspense = c, _e.SuspenseList = d, _e.isAsyncMode = function() {
9919
9919
  return !1;
9920
- }, Ce.isConcurrentMode = function() {
9920
+ }, _e.isConcurrentMode = function() {
9921
9921
  return !1;
9922
- }, Ce.isContextConsumer = function(y) {
9922
+ }, _e.isContextConsumer = function(y) {
9923
9923
  return m(y) === u;
9924
- }, Ce.isContextProvider = function(y) {
9924
+ }, _e.isContextProvider = function(y) {
9925
9925
  return m(y) === i;
9926
- }, Ce.isElement = function(y) {
9926
+ }, _e.isElement = function(y) {
9927
9927
  return typeof y == "object" && y !== null && y.$$typeof === e;
9928
- }, Ce.isForwardRef = function(y) {
9928
+ }, _e.isForwardRef = function(y) {
9929
9929
  return m(y) === l;
9930
- }, Ce.isFragment = function(y) {
9930
+ }, _e.isFragment = function(y) {
9931
9931
  return m(y) === n;
9932
- }, Ce.isLazy = function(y) {
9932
+ }, _e.isLazy = function(y) {
9933
9933
  return m(y) === p;
9934
- }, Ce.isMemo = function(y) {
9934
+ }, _e.isMemo = function(y) {
9935
9935
  return m(y) === f;
9936
- }, Ce.isPortal = function(y) {
9936
+ }, _e.isPortal = function(y) {
9937
9937
  return m(y) === t;
9938
- }, Ce.isProfiler = function(y) {
9938
+ }, _e.isProfiler = function(y) {
9939
9939
  return m(y) === a;
9940
- }, Ce.isStrictMode = function(y) {
9940
+ }, _e.isStrictMode = function(y) {
9941
9941
  return m(y) === r;
9942
- }, Ce.isSuspense = function(y) {
9942
+ }, _e.isSuspense = function(y) {
9943
9943
  return m(y) === c;
9944
- }, Ce.isSuspenseList = function(y) {
9944
+ }, _e.isSuspenseList = function(y) {
9945
9945
  return m(y) === d;
9946
- }, Ce.isValidElementType = function(y) {
9946
+ }, _e.isValidElementType = function(y) {
9947
9947
  return typeof y == "string" || typeof y == "function" || y === n || y === a || y === r || y === c || y === d || y === h || typeof y == "object" && y !== null && (y.$$typeof === p || y.$$typeof === f || y.$$typeof === i || y.$$typeof === u || y.$$typeof === l || y.$$typeof === E || y.getModuleId !== void 0);
9948
- }, Ce.typeOf = m, Ce;
9948
+ }, _e.typeOf = m, _e;
9949
9949
  }
9950
9950
  var wo;
9951
9951
  function v2() {
@@ -10504,19 +10504,19 @@ lt.prototype.property = "";
10504
10504
  lt.prototype.spaceSeparated = !1;
10505
10505
  lt.prototype.space = void 0;
10506
10506
  let $2 = 0;
10507
- const ce = hn(), $e = hn(), pi = hn(), J = hn(), Re = hn(), xn = hn(), gt = hn();
10507
+ const ce = hn(), Ve = hn(), pi = hn(), J = hn(), we = hn(), xn = hn(), gt = hn();
10508
10508
  function hn() {
10509
10509
  return 2 ** ++$2;
10510
10510
  }
10511
10511
  const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10512
10512
  __proto__: null,
10513
10513
  boolean: ce,
10514
- booleanish: $e,
10514
+ booleanish: Ve,
10515
10515
  commaOrSpaceSeparated: gt,
10516
10516
  commaSeparated: xn,
10517
10517
  number: J,
10518
10518
  overloadedBoolean: pi,
10519
- spaceSeparated: Re
10519
+ spaceSeparated: we
10520
10520
  }, Symbol.toStringTag, { value: "Module" })), Ua = (
10521
10521
  /** @type {ReadonlyArray<keyof typeof types>} */
10522
10522
  Object.keys(mi)
@@ -10564,47 +10564,47 @@ function Rn(e) {
10564
10564
  const tc = Rn({
10565
10565
  properties: {
10566
10566
  ariaActiveDescendant: null,
10567
- ariaAtomic: $e,
10567
+ ariaAtomic: Ve,
10568
10568
  ariaAutoComplete: null,
10569
- ariaBusy: $e,
10570
- ariaChecked: $e,
10569
+ ariaBusy: Ve,
10570
+ ariaChecked: Ve,
10571
10571
  ariaColCount: J,
10572
10572
  ariaColIndex: J,
10573
10573
  ariaColSpan: J,
10574
- ariaControls: Re,
10574
+ ariaControls: we,
10575
10575
  ariaCurrent: null,
10576
- ariaDescribedBy: Re,
10576
+ ariaDescribedBy: we,
10577
10577
  ariaDetails: null,
10578
- ariaDisabled: $e,
10579
- ariaDropEffect: Re,
10578
+ ariaDisabled: Ve,
10579
+ ariaDropEffect: we,
10580
10580
  ariaErrorMessage: null,
10581
- ariaExpanded: $e,
10582
- ariaFlowTo: Re,
10583
- ariaGrabbed: $e,
10581
+ ariaExpanded: Ve,
10582
+ ariaFlowTo: we,
10583
+ ariaGrabbed: Ve,
10584
10584
  ariaHasPopup: null,
10585
- ariaHidden: $e,
10585
+ ariaHidden: Ve,
10586
10586
  ariaInvalid: null,
10587
10587
  ariaKeyShortcuts: null,
10588
10588
  ariaLabel: null,
10589
- ariaLabelledBy: Re,
10589
+ ariaLabelledBy: we,
10590
10590
  ariaLevel: J,
10591
10591
  ariaLive: null,
10592
- ariaModal: $e,
10593
- ariaMultiLine: $e,
10594
- ariaMultiSelectable: $e,
10592
+ ariaModal: Ve,
10593
+ ariaMultiLine: Ve,
10594
+ ariaMultiSelectable: Ve,
10595
10595
  ariaOrientation: null,
10596
- ariaOwns: Re,
10596
+ ariaOwns: we,
10597
10597
  ariaPlaceholder: null,
10598
10598
  ariaPosInSet: J,
10599
- ariaPressed: $e,
10600
- ariaReadOnly: $e,
10599
+ ariaPressed: Ve,
10600
+ ariaReadOnly: Ve,
10601
10601
  ariaRelevant: null,
10602
- ariaRequired: $e,
10603
- ariaRoleDescription: Re,
10602
+ ariaRequired: Ve,
10603
+ ariaRoleDescription: we,
10604
10604
  ariaRowCount: J,
10605
10605
  ariaRowIndex: J,
10606
10606
  ariaRowSpan: J,
10607
- ariaSelected: $e,
10607
+ ariaSelected: Ve,
10608
10608
  ariaSetSize: J,
10609
10609
  ariaSort: null,
10610
10610
  ariaValueMax: J,
@@ -10635,8 +10635,8 @@ const V2 = Rn({
10635
10635
  // Standard Properties.
10636
10636
  abbr: null,
10637
10637
  accept: xn,
10638
- acceptCharset: Re,
10639
- accessKey: Re,
10638
+ acceptCharset: we,
10639
+ accessKey: we,
10640
10640
  action: null,
10641
10641
  allow: null,
10642
10642
  allowFullScreen: ce,
@@ -10646,21 +10646,21 @@ const V2 = Rn({
10646
10646
  as: null,
10647
10647
  async: ce,
10648
10648
  autoCapitalize: null,
10649
- autoComplete: Re,
10649
+ autoComplete: we,
10650
10650
  autoFocus: ce,
10651
10651
  autoPlay: ce,
10652
- blocking: Re,
10652
+ blocking: we,
10653
10653
  capture: null,
10654
10654
  charSet: null,
10655
10655
  checked: ce,
10656
10656
  cite: null,
10657
- className: Re,
10657
+ className: we,
10658
10658
  cols: J,
10659
10659
  colSpan: null,
10660
10660
  content: null,
10661
- contentEditable: $e,
10661
+ contentEditable: Ve,
10662
10662
  controls: ce,
10663
- controlsList: Re,
10663
+ controlsList: we,
10664
10664
  coords: J | xn,
10665
10665
  crossOrigin: null,
10666
10666
  data: null,
@@ -10672,7 +10672,7 @@ const V2 = Rn({
10672
10672
  dirName: null,
10673
10673
  disabled: ce,
10674
10674
  download: pi,
10675
- draggable: $e,
10675
+ draggable: Ve,
10676
10676
  encType: null,
10677
10677
  enterKeyHint: null,
10678
10678
  fetchPriority: null,
@@ -10682,14 +10682,14 @@ const V2 = Rn({
10682
10682
  formMethod: null,
10683
10683
  formNoValidate: ce,
10684
10684
  formTarget: null,
10685
- headers: Re,
10685
+ headers: we,
10686
10686
  height: J,
10687
10687
  hidden: pi,
10688
10688
  high: J,
10689
10689
  href: null,
10690
10690
  hrefLang: null,
10691
- htmlFor: Re,
10692
- httpEquiv: Re,
10691
+ htmlFor: we,
10692
+ httpEquiv: we,
10693
10693
  id: null,
10694
10694
  imageSizes: null,
10695
10695
  imageSrcSet: null,
@@ -10699,10 +10699,10 @@ const V2 = Rn({
10699
10699
  is: null,
10700
10700
  isMap: ce,
10701
10701
  itemId: null,
10702
- itemProp: Re,
10703
- itemRef: Re,
10702
+ itemProp: we,
10703
+ itemRef: we,
10704
10704
  itemScope: ce,
10705
- itemType: Re,
10705
+ itemType: we,
10706
10706
  kind: null,
10707
10707
  label: null,
10708
10708
  lang: null,
@@ -10815,7 +10815,7 @@ const V2 = Rn({
10815
10815
  open: ce,
10816
10816
  optimum: J,
10817
10817
  pattern: null,
10818
- ping: Re,
10818
+ ping: we,
10819
10819
  placeholder: null,
10820
10820
  playsInline: ce,
10821
10821
  popover: null,
@@ -10825,12 +10825,12 @@ const V2 = Rn({
10825
10825
  preload: null,
10826
10826
  readOnly: ce,
10827
10827
  referrerPolicy: null,
10828
- rel: Re,
10828
+ rel: we,
10829
10829
  required: ce,
10830
10830
  reversed: ce,
10831
10831
  rows: J,
10832
10832
  rowSpan: J,
10833
- sandbox: Re,
10833
+ sandbox: we,
10834
10834
  scope: null,
10835
10835
  scoped: ce,
10836
10836
  seamless: ce,
@@ -10843,7 +10843,7 @@ const V2 = Rn({
10843
10843
  sizes: null,
10844
10844
  slot: null,
10845
10845
  span: J,
10846
- spellCheck: $e,
10846
+ spellCheck: Ve,
10847
10847
  src: null,
10848
10848
  srcDoc: null,
10849
10849
  srcLang: null,
@@ -10858,7 +10858,7 @@ const V2 = Rn({
10858
10858
  type: null,
10859
10859
  typeMustMatch: ce,
10860
10860
  useMap: null,
10861
- value: $e,
10861
+ value: Ve,
10862
10862
  width: J,
10863
10863
  wrap: null,
10864
10864
  writingSuggestions: null,
@@ -10868,7 +10868,7 @@ const V2 = Rn({
10868
10868
  // Several. Use CSS `text-align` instead,
10869
10869
  aLink: null,
10870
10870
  // `<body>`. Use CSS `a:active {color}` instead
10871
- archive: Re,
10871
+ archive: we,
10872
10872
  // `<object>`. List of URIs to archives
10873
10873
  axis: null,
10874
10874
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -10950,7 +10950,7 @@ const V2 = Rn({
10950
10950
  // `<table>`
10951
10951
  scheme: null,
10952
10952
  // `<meta>`
10953
- scrolling: $e,
10953
+ scrolling: Ve,
10954
10954
  // `<frame>`. Use overflow in the child context
10955
10955
  standby: null,
10956
10956
  // `<object>`
@@ -11183,7 +11183,7 @@ const V2 = Rn({
11183
11183
  by: null,
11184
11184
  calcMode: null,
11185
11185
  capHeight: J,
11186
- className: Re,
11186
+ className: we,
11187
11187
  clip: null,
11188
11188
  clipPath: null,
11189
11189
  clipPathUnits: null,
@@ -11418,7 +11418,7 @@ const V2 = Rn({
11418
11418
  patternTransform: null,
11419
11419
  patternUnits: null,
11420
11420
  phase: null,
11421
- ping: Re,
11421
+ ping: we,
11422
11422
  pitch: null,
11423
11423
  playbackOrder: null,
11424
11424
  pointerEvents: null,
@@ -11810,19 +11810,19 @@ ct.prototype.property = "";
11810
11810
  ct.prototype.spaceSeparated = !1;
11811
11811
  ct.prototype.space = void 0;
11812
11812
  let lg = 0;
11813
- const de = pn(), Ve = pn(), Ei = pn(), ee = pn(), De = pn(), In = pn(), bt = pn();
11813
+ const de = pn(), We = pn(), Ei = pn(), ee = pn(), Re = pn(), In = pn(), bt = pn();
11814
11814
  function pn() {
11815
11815
  return 2 ** ++lg;
11816
11816
  }
11817
11817
  const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11818
11818
  __proto__: null,
11819
11819
  boolean: de,
11820
- booleanish: Ve,
11820
+ booleanish: We,
11821
11821
  commaOrSpaceSeparated: bt,
11822
11822
  commaSeparated: In,
11823
11823
  number: ee,
11824
11824
  overloadedBoolean: Ei,
11825
- spaceSeparated: De
11825
+ spaceSeparated: Re
11826
11826
  }, Symbol.toStringTag, { value: "Module" })), ja = (
11827
11827
  /** @type {ReadonlyArray<keyof typeof types>} */
11828
11828
  Object.keys(Ti)
@@ -11870,47 +11870,47 @@ function Dn(e) {
11870
11870
  const lc = Dn({
11871
11871
  properties: {
11872
11872
  ariaActiveDescendant: null,
11873
- ariaAtomic: Ve,
11873
+ ariaAtomic: We,
11874
11874
  ariaAutoComplete: null,
11875
- ariaBusy: Ve,
11876
- ariaChecked: Ve,
11875
+ ariaBusy: We,
11876
+ ariaChecked: We,
11877
11877
  ariaColCount: ee,
11878
11878
  ariaColIndex: ee,
11879
11879
  ariaColSpan: ee,
11880
- ariaControls: De,
11880
+ ariaControls: Re,
11881
11881
  ariaCurrent: null,
11882
- ariaDescribedBy: De,
11882
+ ariaDescribedBy: Re,
11883
11883
  ariaDetails: null,
11884
- ariaDisabled: Ve,
11885
- ariaDropEffect: De,
11884
+ ariaDisabled: We,
11885
+ ariaDropEffect: Re,
11886
11886
  ariaErrorMessage: null,
11887
- ariaExpanded: Ve,
11888
- ariaFlowTo: De,
11889
- ariaGrabbed: Ve,
11887
+ ariaExpanded: We,
11888
+ ariaFlowTo: Re,
11889
+ ariaGrabbed: We,
11890
11890
  ariaHasPopup: null,
11891
- ariaHidden: Ve,
11891
+ ariaHidden: We,
11892
11892
  ariaInvalid: null,
11893
11893
  ariaKeyShortcuts: null,
11894
11894
  ariaLabel: null,
11895
- ariaLabelledBy: De,
11895
+ ariaLabelledBy: Re,
11896
11896
  ariaLevel: ee,
11897
11897
  ariaLive: null,
11898
- ariaModal: Ve,
11899
- ariaMultiLine: Ve,
11900
- ariaMultiSelectable: Ve,
11898
+ ariaModal: We,
11899
+ ariaMultiLine: We,
11900
+ ariaMultiSelectable: We,
11901
11901
  ariaOrientation: null,
11902
- ariaOwns: De,
11902
+ ariaOwns: Re,
11903
11903
  ariaPlaceholder: null,
11904
11904
  ariaPosInSet: ee,
11905
- ariaPressed: Ve,
11906
- ariaReadOnly: Ve,
11905
+ ariaPressed: We,
11906
+ ariaReadOnly: We,
11907
11907
  ariaRelevant: null,
11908
- ariaRequired: Ve,
11909
- ariaRoleDescription: De,
11908
+ ariaRequired: We,
11909
+ ariaRoleDescription: Re,
11910
11910
  ariaRowCount: ee,
11911
11911
  ariaRowIndex: ee,
11912
11912
  ariaRowSpan: ee,
11913
- ariaSelected: Ve,
11913
+ ariaSelected: We,
11914
11914
  ariaSetSize: ee,
11915
11915
  ariaSort: null,
11916
11916
  ariaValueMax: ee,
@@ -11941,8 +11941,8 @@ const cg = Dn({
11941
11941
  // Standard Properties.
11942
11942
  abbr: null,
11943
11943
  accept: In,
11944
- acceptCharset: De,
11945
- accessKey: De,
11944
+ acceptCharset: Re,
11945
+ accessKey: Re,
11946
11946
  action: null,
11947
11947
  allow: null,
11948
11948
  allowFullScreen: de,
@@ -11952,21 +11952,21 @@ const cg = Dn({
11952
11952
  as: null,
11953
11953
  async: de,
11954
11954
  autoCapitalize: null,
11955
- autoComplete: De,
11955
+ autoComplete: Re,
11956
11956
  autoFocus: de,
11957
11957
  autoPlay: de,
11958
- blocking: De,
11958
+ blocking: Re,
11959
11959
  capture: null,
11960
11960
  charSet: null,
11961
11961
  checked: de,
11962
11962
  cite: null,
11963
- className: De,
11963
+ className: Re,
11964
11964
  cols: ee,
11965
11965
  colSpan: null,
11966
11966
  content: null,
11967
- contentEditable: Ve,
11967
+ contentEditable: We,
11968
11968
  controls: de,
11969
- controlsList: De,
11969
+ controlsList: Re,
11970
11970
  coords: ee | In,
11971
11971
  crossOrigin: null,
11972
11972
  data: null,
@@ -11978,7 +11978,7 @@ const cg = Dn({
11978
11978
  dirName: null,
11979
11979
  disabled: de,
11980
11980
  download: Ei,
11981
- draggable: Ve,
11981
+ draggable: We,
11982
11982
  encType: null,
11983
11983
  enterKeyHint: null,
11984
11984
  fetchPriority: null,
@@ -11988,14 +11988,14 @@ const cg = Dn({
11988
11988
  formMethod: null,
11989
11989
  formNoValidate: de,
11990
11990
  formTarget: null,
11991
- headers: De,
11991
+ headers: Re,
11992
11992
  height: ee,
11993
11993
  hidden: Ei,
11994
11994
  high: ee,
11995
11995
  href: null,
11996
11996
  hrefLang: null,
11997
- htmlFor: De,
11998
- httpEquiv: De,
11997
+ htmlFor: Re,
11998
+ httpEquiv: Re,
11999
11999
  id: null,
12000
12000
  imageSizes: null,
12001
12001
  imageSrcSet: null,
@@ -12005,10 +12005,10 @@ const cg = Dn({
12005
12005
  is: null,
12006
12006
  isMap: de,
12007
12007
  itemId: null,
12008
- itemProp: De,
12009
- itemRef: De,
12008
+ itemProp: Re,
12009
+ itemRef: Re,
12010
12010
  itemScope: de,
12011
- itemType: De,
12011
+ itemType: Re,
12012
12012
  kind: null,
12013
12013
  label: null,
12014
12014
  lang: null,
@@ -12121,7 +12121,7 @@ const cg = Dn({
12121
12121
  open: de,
12122
12122
  optimum: ee,
12123
12123
  pattern: null,
12124
- ping: De,
12124
+ ping: Re,
12125
12125
  placeholder: null,
12126
12126
  playsInline: de,
12127
12127
  popover: null,
@@ -12131,12 +12131,12 @@ const cg = Dn({
12131
12131
  preload: null,
12132
12132
  readOnly: de,
12133
12133
  referrerPolicy: null,
12134
- rel: De,
12134
+ rel: Re,
12135
12135
  required: de,
12136
12136
  reversed: de,
12137
12137
  rows: ee,
12138
12138
  rowSpan: ee,
12139
- sandbox: De,
12139
+ sandbox: Re,
12140
12140
  scope: null,
12141
12141
  scoped: de,
12142
12142
  seamless: de,
@@ -12149,7 +12149,7 @@ const cg = Dn({
12149
12149
  sizes: null,
12150
12150
  slot: null,
12151
12151
  span: ee,
12152
- spellCheck: Ve,
12152
+ spellCheck: We,
12153
12153
  src: null,
12154
12154
  srcDoc: null,
12155
12155
  srcLang: null,
@@ -12164,7 +12164,7 @@ const cg = Dn({
12164
12164
  type: null,
12165
12165
  typeMustMatch: de,
12166
12166
  useMap: null,
12167
- value: Ve,
12167
+ value: We,
12168
12168
  width: ee,
12169
12169
  wrap: null,
12170
12170
  writingSuggestions: null,
@@ -12174,7 +12174,7 @@ const cg = Dn({
12174
12174
  // Several. Use CSS `text-align` instead,
12175
12175
  aLink: null,
12176
12176
  // `<body>`. Use CSS `a:active {color}` instead
12177
- archive: De,
12177
+ archive: Re,
12178
12178
  // `<object>`. List of URIs to archives
12179
12179
  axis: null,
12180
12180
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -12256,7 +12256,7 @@ const cg = Dn({
12256
12256
  // `<table>`
12257
12257
  scheme: null,
12258
12258
  // `<meta>`
12259
- scrolling: Ve,
12259
+ scrolling: We,
12260
12260
  // `<frame>`. Use overflow in the child context
12261
12261
  standby: null,
12262
12262
  // `<object>`
@@ -12489,7 +12489,7 @@ const cg = Dn({
12489
12489
  by: null,
12490
12490
  calcMode: null,
12491
12491
  capHeight: ee,
12492
- className: De,
12492
+ className: Re,
12493
12493
  clip: null,
12494
12494
  clipPath: null,
12495
12495
  clipPathUnits: null,
@@ -12724,7 +12724,7 @@ const cg = Dn({
12724
12724
  patternTransform: null,
12725
12725
  patternUnits: null,
12726
12726
  phase: null,
12727
- ping: De,
12727
+ ping: Re,
12728
12728
  pitch: null,
12729
12729
  playbackOrder: null,
12730
12730
  pointerEvents: null,
@@ -13263,7 +13263,7 @@ const wg = [
13263
13263
  1048575,
13264
13264
  1114110,
13265
13265
  1114111
13266
- ]), He = "�";
13266
+ ]), Ue = "�";
13267
13267
  var b;
13268
13268
  (function(e) {
13269
13269
  e[e.EOF = -1] = "EOF", e[e.NULL = 0] = "NULL", e[e.TABULATION = 9] = "TABULATION", e[e.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", e[e.LINE_FEED = 10] = "LINE_FEED", e[e.FORM_FEED = 12] = "FORM_FEED", e[e.SPACE = 32] = "SPACE", e[e.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", e[e.QUOTATION_MARK = 34] = "QUOTATION_MARK", e[e.AMPERSAND = 38] = "AMPERSAND", e[e.APOSTROPHE = 39] = "APOSTROPHE", e[e.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", e[e.SOLIDUS = 47] = "SOLIDUS", e[e.DIGIT_0 = 48] = "DIGIT_0", e[e.DIGIT_9 = 57] = "DIGIT_9", e[e.SEMICOLON = 59] = "SEMICOLON", e[e.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", e[e.EQUALS_SIGN = 61] = "EQUALS_SIGN", e[e.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", e[e.QUESTION_MARK = 63] = "QUESTION_MARK", e[e.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", e[e.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", e[e.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", e[e.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", e[e.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", e[e.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
@@ -13426,42 +13426,42 @@ function Ug(e) {
13426
13426
  var t;
13427
13427
  return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (t = Hg.get(e)) !== null && t !== void 0 ? t : e;
13428
13428
  }
13429
- var Qe;
13429
+ var Ze;
13430
13430
  (function(e) {
13431
13431
  e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
13432
- })(Qe || (Qe = {}));
13432
+ })(Ze || (Ze = {}));
13433
13433
  const jg = 32;
13434
13434
  var en;
13435
13435
  (function(e) {
13436
13436
  e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
13437
13437
  })(en || (en = {}));
13438
13438
  function yi(e) {
13439
- return e >= Qe.ZERO && e <= Qe.NINE;
13439
+ return e >= Ze.ZERO && e <= Ze.NINE;
13440
13440
  }
13441
13441
  function qg(e) {
13442
- return e >= Qe.UPPER_A && e <= Qe.UPPER_F || e >= Qe.LOWER_A && e <= Qe.LOWER_F;
13442
+ return e >= Ze.UPPER_A && e <= Ze.UPPER_F || e >= Ze.LOWER_A && e <= Ze.LOWER_F;
13443
13443
  }
13444
13444
  function zg(e) {
13445
- return e >= Qe.UPPER_A && e <= Qe.UPPER_Z || e >= Qe.LOWER_A && e <= Qe.LOWER_Z || yi(e);
13445
+ return e >= Ze.UPPER_A && e <= Ze.UPPER_Z || e >= Ze.LOWER_A && e <= Ze.LOWER_Z || yi(e);
13446
13446
  }
13447
13447
  function Yg(e) {
13448
- return e === Qe.EQUALS || zg(e);
13448
+ return e === Ze.EQUALS || zg(e);
13449
13449
  }
13450
- var Ke;
13450
+ var Qe;
13451
13451
  (function(e) {
13452
13452
  e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
13453
- })(Ke || (Ke = {}));
13453
+ })(Qe || (Qe = {}));
13454
13454
  var $t;
13455
13455
  (function(e) {
13456
13456
  e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
13457
13457
  })($t || ($t = {}));
13458
13458
  class $g {
13459
13459
  constructor(t, n, r) {
13460
- this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Ke.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = $t.Strict;
13460
+ this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Qe.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = $t.Strict;
13461
13461
  }
13462
13462
  /** Resets the instance to make it reusable. */
13463
13463
  startEntity(t) {
13464
- this.decodeMode = t, this.state = Ke.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
13464
+ this.decodeMode = t, this.state = Qe.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
13465
13465
  }
13466
13466
  /**
13467
13467
  * Write an entity to the decoder. This can be called multiple times with partial entities.
@@ -13476,15 +13476,15 @@ class $g {
13476
13476
  */
13477
13477
  write(t, n) {
13478
13478
  switch (this.state) {
13479
- case Ke.EntityStart:
13480
- return t.charCodeAt(n) === Qe.NUM ? (this.state = Ke.NumericStart, this.consumed += 1, this.stateNumericStart(t, n + 1)) : (this.state = Ke.NamedEntity, this.stateNamedEntity(t, n));
13481
- case Ke.NumericStart:
13479
+ case Qe.EntityStart:
13480
+ return t.charCodeAt(n) === Ze.NUM ? (this.state = Qe.NumericStart, this.consumed += 1, this.stateNumericStart(t, n + 1)) : (this.state = Qe.NamedEntity, this.stateNamedEntity(t, n));
13481
+ case Qe.NumericStart:
13482
13482
  return this.stateNumericStart(t, n);
13483
- case Ke.NumericDecimal:
13483
+ case Qe.NumericDecimal:
13484
13484
  return this.stateNumericDecimal(t, n);
13485
- case Ke.NumericHex:
13485
+ case Qe.NumericHex:
13486
13486
  return this.stateNumericHex(t, n);
13487
- case Ke.NamedEntity:
13487
+ case Qe.NamedEntity:
13488
13488
  return this.stateNamedEntity(t, n);
13489
13489
  }
13490
13490
  }
@@ -13498,7 +13498,7 @@ class $g {
13498
13498
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
13499
13499
  */
13500
13500
  stateNumericStart(t, n) {
13501
- return n >= t.length ? -1 : (t.charCodeAt(n) | jg) === Qe.LOWER_X ? (this.state = Ke.NumericHex, this.consumed += 1, this.stateNumericHex(t, n + 1)) : (this.state = Ke.NumericDecimal, this.stateNumericDecimal(t, n));
13501
+ return n >= t.length ? -1 : (t.charCodeAt(n) | jg) === Ze.LOWER_X ? (this.state = Qe.NumericHex, this.consumed += 1, this.stateNumericHex(t, n + 1)) : (this.state = Qe.NumericDecimal, this.stateNumericDecimal(t, n));
13502
13502
  }
13503
13503
  addToNumericResult(t, n, r, a) {
13504
13504
  if (n !== r) {
@@ -13563,11 +13563,11 @@ class $g {
13563
13563
  var r;
13564
13564
  if (this.consumed <= n)
13565
13565
  return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
13566
- if (t === Qe.SEMI)
13566
+ if (t === Ze.SEMI)
13567
13567
  this.consumed += 1;
13568
13568
  else if (this.decodeMode === $t.Strict)
13569
13569
  return 0;
13570
- return this.emitCodePoint(Ug(this.result), this.consumed), this.errors && (t !== Qe.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
13570
+ return this.emitCodePoint(Ug(this.result), this.consumed), this.errors && (t !== Ze.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
13571
13571
  }
13572
13572
  /**
13573
13573
  * Parses a named entity.
@@ -13589,7 +13589,7 @@ class $g {
13589
13589
  (i === 0 || // And there should be no invalid characters.
13590
13590
  Yg(u)) ? 0 : this.emitNotTerminatedNamedEntity();
13591
13591
  if (a = r[this.treeIndex], i = (a & en.VALUE_LENGTH) >> 14, i !== 0) {
13592
- if (u === Qe.SEMI)
13592
+ if (u === Ze.SEMI)
13593
13593
  return this.emitNamedEntityData(this.treeIndex, i, this.consumed + this.excess);
13594
13594
  this.decodeMode !== $t.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
13595
13595
  }
@@ -13629,16 +13629,16 @@ class $g {
13629
13629
  end() {
13630
13630
  var t;
13631
13631
  switch (this.state) {
13632
- case Ke.NamedEntity:
13632
+ case Qe.NamedEntity:
13633
13633
  return this.result !== 0 && (this.decodeMode !== $t.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
13634
13634
  // Otherwise, emit a numeric entity if we have one.
13635
- case Ke.NumericDecimal:
13635
+ case Qe.NumericDecimal:
13636
13636
  return this.emitNumericEntity(0, 2);
13637
- case Ke.NumericHex:
13637
+ case Qe.NumericHex:
13638
13638
  return this.emitNumericEntity(0, 3);
13639
- case Ke.NumericStart:
13639
+ case Qe.NumericStart:
13640
13640
  return (t = this.errors) === null || t === void 0 || t.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
13641
- case Ke.EntityStart:
13641
+ case Qe.EntityStart:
13642
13642
  return 0;
13643
13643
  }
13644
13644
  }
@@ -13907,7 +13907,7 @@ var C;
13907
13907
  (function(e) {
13908
13908
  e[e.DATA = 0] = "DATA", e[e.RCDATA = 1] = "RCDATA", e[e.RAWTEXT = 2] = "RAWTEXT", e[e.SCRIPT_DATA = 3] = "SCRIPT_DATA", e[e.PLAINTEXT = 4] = "PLAINTEXT", e[e.TAG_OPEN = 5] = "TAG_OPEN", e[e.END_TAG_OPEN = 6] = "END_TAG_OPEN", e[e.TAG_NAME = 7] = "TAG_NAME", e[e.RCDATA_LESS_THAN_SIGN = 8] = "RCDATA_LESS_THAN_SIGN", e[e.RCDATA_END_TAG_OPEN = 9] = "RCDATA_END_TAG_OPEN", e[e.RCDATA_END_TAG_NAME = 10] = "RCDATA_END_TAG_NAME", e[e.RAWTEXT_LESS_THAN_SIGN = 11] = "RAWTEXT_LESS_THAN_SIGN", e[e.RAWTEXT_END_TAG_OPEN = 12] = "RAWTEXT_END_TAG_OPEN", e[e.RAWTEXT_END_TAG_NAME = 13] = "RAWTEXT_END_TAG_NAME", e[e.SCRIPT_DATA_LESS_THAN_SIGN = 14] = "SCRIPT_DATA_LESS_THAN_SIGN", e[e.SCRIPT_DATA_END_TAG_OPEN = 15] = "SCRIPT_DATA_END_TAG_OPEN", e[e.SCRIPT_DATA_END_TAG_NAME = 16] = "SCRIPT_DATA_END_TAG_NAME", e[e.SCRIPT_DATA_ESCAPE_START = 17] = "SCRIPT_DATA_ESCAPE_START", e[e.SCRIPT_DATA_ESCAPE_START_DASH = 18] = "SCRIPT_DATA_ESCAPE_START_DASH", e[e.SCRIPT_DATA_ESCAPED = 19] = "SCRIPT_DATA_ESCAPED", e[e.SCRIPT_DATA_ESCAPED_DASH = 20] = "SCRIPT_DATA_ESCAPED_DASH", e[e.SCRIPT_DATA_ESCAPED_DASH_DASH = 21] = "SCRIPT_DATA_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN = 22] = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN = 23] = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN", e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME = 24] = "SCRIPT_DATA_ESCAPED_END_TAG_NAME", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START = 25] = "SCRIPT_DATA_DOUBLE_ESCAPE_START", e[e.SCRIPT_DATA_DOUBLE_ESCAPED = 26] = "SCRIPT_DATA_DOUBLE_ESCAPED", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH = 27] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH = 28] = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH", e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN = 29] = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN", e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END = 30] = "SCRIPT_DATA_DOUBLE_ESCAPE_END", e[e.BEFORE_ATTRIBUTE_NAME = 31] = "BEFORE_ATTRIBUTE_NAME", e[e.ATTRIBUTE_NAME = 32] = "ATTRIBUTE_NAME", e[e.AFTER_ATTRIBUTE_NAME = 33] = "AFTER_ATTRIBUTE_NAME", e[e.BEFORE_ATTRIBUTE_VALUE = 34] = "BEFORE_ATTRIBUTE_VALUE", e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED = 35] = "ATTRIBUTE_VALUE_DOUBLE_QUOTED", e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED = 36] = "ATTRIBUTE_VALUE_SINGLE_QUOTED", e[e.ATTRIBUTE_VALUE_UNQUOTED = 37] = "ATTRIBUTE_VALUE_UNQUOTED", e[e.AFTER_ATTRIBUTE_VALUE_QUOTED = 38] = "AFTER_ATTRIBUTE_VALUE_QUOTED", e[e.SELF_CLOSING_START_TAG = 39] = "SELF_CLOSING_START_TAG", e[e.BOGUS_COMMENT = 40] = "BOGUS_COMMENT", e[e.MARKUP_DECLARATION_OPEN = 41] = "MARKUP_DECLARATION_OPEN", e[e.COMMENT_START = 42] = "COMMENT_START", e[e.COMMENT_START_DASH = 43] = "COMMENT_START_DASH", e[e.COMMENT = 44] = "COMMENT", e[e.COMMENT_LESS_THAN_SIGN = 45] = "COMMENT_LESS_THAN_SIGN", e[e.COMMENT_LESS_THAN_SIGN_BANG = 46] = "COMMENT_LESS_THAN_SIGN_BANG", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH = 47] = "COMMENT_LESS_THAN_SIGN_BANG_DASH", e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH = 48] = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH", e[e.COMMENT_END_DASH = 49] = "COMMENT_END_DASH", e[e.COMMENT_END = 50] = "COMMENT_END", e[e.COMMENT_END_BANG = 51] = "COMMENT_END_BANG", e[e.DOCTYPE = 52] = "DOCTYPE", e[e.BEFORE_DOCTYPE_NAME = 53] = "BEFORE_DOCTYPE_NAME", e[e.DOCTYPE_NAME = 54] = "DOCTYPE_NAME", e[e.AFTER_DOCTYPE_NAME = 55] = "AFTER_DOCTYPE_NAME", e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD = 56] = "AFTER_DOCTYPE_PUBLIC_KEYWORD", e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER = 57] = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER", e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED = 58] = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED = 59] = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER = 60] = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER", e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS = 61] = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS", e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD = 62] = "AFTER_DOCTYPE_SYSTEM_KEYWORD", e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER = 63] = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER", e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED = 64] = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED", e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED = 65] = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED", e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER = 66] = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER", e[e.BOGUS_DOCTYPE = 67] = "BOGUS_DOCTYPE", e[e.CDATA_SECTION = 68] = "CDATA_SECTION", e[e.CDATA_SECTION_BRACKET = 69] = "CDATA_SECTION_BRACKET", e[e.CDATA_SECTION_END = 70] = "CDATA_SECTION_END", e[e.CHARACTER_REFERENCE = 71] = "CHARACTER_REFERENCE", e[e.AMBIGUOUS_AMPERSAND = 72] = "AMBIGUOUS_AMPERSAND";
13909
13909
  })(C || (C = {}));
13910
- const qe = {
13910
+ const ze = {
13911
13911
  DATA: C.DATA,
13912
13912
  RCDATA: C.RCDATA,
13913
13913
  RAWTEXT: C.RAWTEXT,
@@ -14495,7 +14495,7 @@ class Zg {
14495
14495
  break;
14496
14496
  }
14497
14497
  case b.NULL: {
14498
- this._err(B.unexpectedNullCharacter), this._emitChars(He);
14498
+ this._err(B.unexpectedNullCharacter), this._emitChars(Ue);
14499
14499
  break;
14500
14500
  }
14501
14501
  case b.EOF: {
@@ -14515,7 +14515,7 @@ class Zg {
14515
14515
  break;
14516
14516
  }
14517
14517
  case b.NULL: {
14518
- this._err(B.unexpectedNullCharacter), this._emitChars(He);
14518
+ this._err(B.unexpectedNullCharacter), this._emitChars(Ue);
14519
14519
  break;
14520
14520
  }
14521
14521
  case b.EOF: {
@@ -14535,7 +14535,7 @@ class Zg {
14535
14535
  break;
14536
14536
  }
14537
14537
  case b.NULL: {
14538
- this._err(B.unexpectedNullCharacter), this._emitChars(He);
14538
+ this._err(B.unexpectedNullCharacter), this._emitChars(Ue);
14539
14539
  break;
14540
14540
  }
14541
14541
  case b.EOF: {
@@ -14551,7 +14551,7 @@ class Zg {
14551
14551
  _statePlaintext(t) {
14552
14552
  switch (t) {
14553
14553
  case b.NULL: {
14554
- this._err(B.unexpectedNullCharacter), this._emitChars(He);
14554
+ this._err(B.unexpectedNullCharacter), this._emitChars(Ue);
14555
14555
  break;
14556
14556
  }
14557
14557
  case b.EOF: {
@@ -14629,7 +14629,7 @@ class Zg {
14629
14629
  break;
14630
14630
  }
14631
14631
  case b.NULL: {
14632
- this._err(B.unexpectedNullCharacter), n.tagName += He;
14632
+ this._err(B.unexpectedNullCharacter), n.tagName += Ue;
14633
14633
  break;
14634
14634
  }
14635
14635
  case b.EOF: {
@@ -14738,7 +14738,7 @@ class Zg {
14738
14738
  break;
14739
14739
  }
14740
14740
  case b.NULL: {
14741
- this._err(B.unexpectedNullCharacter), this._emitChars(He);
14741
+ this._err(B.unexpectedNullCharacter), this._emitChars(Ue);
14742
14742
  break;
14743
14743
  }
14744
14744
  case b.EOF: {
@@ -14762,7 +14762,7 @@ class Zg {
14762
14762
  break;
14763
14763
  }
14764
14764
  case b.NULL: {
14765
- this._err(B.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_ESCAPED, this._emitChars(He);
14765
+ this._err(B.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_ESCAPED, this._emitChars(Ue);
14766
14766
  break;
14767
14767
  }
14768
14768
  case b.EOF: {
@@ -14790,7 +14790,7 @@ class Zg {
14790
14790
  break;
14791
14791
  }
14792
14792
  case b.NULL: {
14793
- this._err(B.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_ESCAPED, this._emitChars(He);
14793
+ this._err(B.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_ESCAPED, this._emitChars(Ue);
14794
14794
  break;
14795
14795
  }
14796
14796
  case b.EOF: {
@@ -14839,7 +14839,7 @@ class Zg {
14839
14839
  break;
14840
14840
  }
14841
14841
  case b.NULL: {
14842
- this._err(B.unexpectedNullCharacter), this._emitChars(He);
14842
+ this._err(B.unexpectedNullCharacter), this._emitChars(Ue);
14843
14843
  break;
14844
14844
  }
14845
14845
  case b.EOF: {
@@ -14863,7 +14863,7 @@ class Zg {
14863
14863
  break;
14864
14864
  }
14865
14865
  case b.NULL: {
14866
- this._err(B.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(He);
14866
+ this._err(B.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(Ue);
14867
14867
  break;
14868
14868
  }
14869
14869
  case b.EOF: {
@@ -14891,7 +14891,7 @@ class Zg {
14891
14891
  break;
14892
14892
  }
14893
14893
  case b.NULL: {
14894
- this._err(B.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(He);
14894
+ this._err(B.unexpectedNullCharacter), this.state = C.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(Ue);
14895
14895
  break;
14896
14896
  }
14897
14897
  case b.EOF: {
@@ -14965,7 +14965,7 @@ class Zg {
14965
14965
  break;
14966
14966
  }
14967
14967
  case b.NULL: {
14968
- this._err(B.unexpectedNullCharacter), this.currentAttr.name += He;
14968
+ this._err(B.unexpectedNullCharacter), this.currentAttr.name += Ue;
14969
14969
  break;
14970
14970
  }
14971
14971
  default:
@@ -15039,7 +15039,7 @@ class Zg {
15039
15039
  break;
15040
15040
  }
15041
15041
  case b.NULL: {
15042
- this._err(B.unexpectedNullCharacter), this.currentAttr.value += He;
15042
+ this._err(B.unexpectedNullCharacter), this.currentAttr.value += Ue;
15043
15043
  break;
15044
15044
  }
15045
15045
  case b.EOF: {
@@ -15063,7 +15063,7 @@ class Zg {
15063
15063
  break;
15064
15064
  }
15065
15065
  case b.NULL: {
15066
- this._err(B.unexpectedNullCharacter), this.currentAttr.value += He;
15066
+ this._err(B.unexpectedNullCharacter), this.currentAttr.value += Ue;
15067
15067
  break;
15068
15068
  }
15069
15069
  case b.EOF: {
@@ -15094,7 +15094,7 @@ class Zg {
15094
15094
  break;
15095
15095
  }
15096
15096
  case b.NULL: {
15097
- this._err(B.unexpectedNullCharacter), this.currentAttr.value += He;
15097
+ this._err(B.unexpectedNullCharacter), this.currentAttr.value += Ue;
15098
15098
  break;
15099
15099
  }
15100
15100
  case b.QUOTATION_MARK:
@@ -15171,7 +15171,7 @@ class Zg {
15171
15171
  break;
15172
15172
  }
15173
15173
  case b.NULL: {
15174
- this._err(B.unexpectedNullCharacter), n.data += He;
15174
+ this._err(B.unexpectedNullCharacter), n.data += Ue;
15175
15175
  break;
15176
15176
  }
15177
15177
  default:
@@ -15236,7 +15236,7 @@ class Zg {
15236
15236
  break;
15237
15237
  }
15238
15238
  case b.NULL: {
15239
- this._err(B.unexpectedNullCharacter), n.data += He;
15239
+ this._err(B.unexpectedNullCharacter), n.data += Ue;
15240
15240
  break;
15241
15241
  }
15242
15242
  case b.EOF: {
@@ -15380,7 +15380,7 @@ class Zg {
15380
15380
  case b.FORM_FEED:
15381
15381
  break;
15382
15382
  case b.NULL: {
15383
- this._err(B.unexpectedNullCharacter), this._createDoctypeToken(He), this.state = C.DOCTYPE_NAME;
15383
+ this._err(B.unexpectedNullCharacter), this._createDoctypeToken(Ue), this.state = C.DOCTYPE_NAME;
15384
15384
  break;
15385
15385
  }
15386
15386
  case b.GREATER_THAN_SIGN: {
@@ -15416,7 +15416,7 @@ class Zg {
15416
15416
  break;
15417
15417
  }
15418
15418
  case b.NULL: {
15419
- this._err(B.unexpectedNullCharacter), n.name += He;
15419
+ this._err(B.unexpectedNullCharacter), n.name += Ue;
15420
15420
  break;
15421
15421
  }
15422
15422
  case b.EOF: {
@@ -15521,7 +15521,7 @@ class Zg {
15521
15521
  break;
15522
15522
  }
15523
15523
  case b.NULL: {
15524
- this._err(B.unexpectedNullCharacter), n.publicId += He;
15524
+ this._err(B.unexpectedNullCharacter), n.publicId += Ue;
15525
15525
  break;
15526
15526
  }
15527
15527
  case b.GREATER_THAN_SIGN: {
@@ -15546,7 +15546,7 @@ class Zg {
15546
15546
  break;
15547
15547
  }
15548
15548
  case b.NULL: {
15549
- this._err(B.unexpectedNullCharacter), n.publicId += He;
15549
+ this._err(B.unexpectedNullCharacter), n.publicId += Ue;
15550
15550
  break;
15551
15551
  }
15552
15552
  case b.GREATER_THAN_SIGN: {
@@ -15695,7 +15695,7 @@ class Zg {
15695
15695
  break;
15696
15696
  }
15697
15697
  case b.NULL: {
15698
- this._err(B.unexpectedNullCharacter), n.systemId += He;
15698
+ this._err(B.unexpectedNullCharacter), n.systemId += Ue;
15699
15699
  break;
15700
15700
  }
15701
15701
  case b.GREATER_THAN_SIGN: {
@@ -15720,7 +15720,7 @@ class Zg {
15720
15720
  break;
15721
15721
  }
15722
15722
  case b.NULL: {
15723
- this._err(B.unexpectedNullCharacter), n.systemId += He;
15723
+ this._err(B.unexpectedNullCharacter), n.systemId += Ue;
15724
15724
  break;
15725
15725
  }
15726
15726
  case b.GREATER_THAN_SIGN: {
@@ -16682,7 +16682,7 @@ class us {
16682
16682
  this._insertElement(t, G.HTML), this.tokenizer.state = n, this.originalInsertionMode = this.insertionMode, this.insertionMode = I.TEXT;
16683
16683
  }
16684
16684
  switchToPlaintextParsing() {
16685
- this.insertionMode = I.TEXT, this.originalInsertionMode = I.IN_BODY, this.tokenizer.state = qe.PLAINTEXT;
16685
+ this.insertionMode = I.TEXT, this.originalInsertionMode = I.IN_BODY, this.tokenizer.state = ze.PLAINTEXT;
16686
16686
  }
16687
16687
  //Fragment parsing
16688
16688
  /** @protected */
@@ -16705,7 +16705,7 @@ class us {
16705
16705
  switch (this.fragmentContextID) {
16706
16706
  case o.TITLE:
16707
16707
  case o.TEXTAREA: {
16708
- this.tokenizer.state = qe.RCDATA;
16708
+ this.tokenizer.state = ze.RCDATA;
16709
16709
  break;
16710
16710
  }
16711
16711
  case o.STYLE:
@@ -16714,15 +16714,15 @@ class us {
16714
16714
  case o.NOEMBED:
16715
16715
  case o.NOFRAMES:
16716
16716
  case o.NOSCRIPT: {
16717
- this.tokenizer.state = qe.RAWTEXT;
16717
+ this.tokenizer.state = ze.RAWTEXT;
16718
16718
  break;
16719
16719
  }
16720
16720
  case o.SCRIPT: {
16721
- this.tokenizer.state = qe.SCRIPT_DATA;
16721
+ this.tokenizer.state = ze.SCRIPT_DATA;
16722
16722
  break;
16723
16723
  }
16724
16724
  case o.PLAINTEXT: {
16725
- this.tokenizer.state = qe.PLAINTEXT;
16725
+ this.tokenizer.state = ze.PLAINTEXT;
16726
16726
  break;
16727
16727
  }
16728
16728
  }
@@ -17247,7 +17247,7 @@ class us {
17247
17247
  break;
17248
17248
  }
17249
17249
  case I.IN_BODY: {
17250
- nt(this, t);
17250
+ rt(this, t);
17251
17251
  break;
17252
17252
  }
17253
17253
  case I.IN_TABLE: {
@@ -17614,7 +17614,7 @@ function ar(e, t) {
17614
17614
  function Ub(e, t) {
17615
17615
  switch (t.tagID) {
17616
17616
  case o.HTML: {
17617
- nt(e, t);
17617
+ rt(e, t);
17618
17618
  break;
17619
17619
  }
17620
17620
  case o.HEAD: {
@@ -17635,7 +17635,7 @@ function ir(e, t) {
17635
17635
  function Lt(e, t) {
17636
17636
  switch (t.tagID) {
17637
17637
  case o.HTML: {
17638
- nt(e, t);
17638
+ rt(e, t);
17639
17639
  break;
17640
17640
  }
17641
17641
  case o.BASE:
@@ -17647,20 +17647,20 @@ function Lt(e, t) {
17647
17647
  break;
17648
17648
  }
17649
17649
  case o.TITLE: {
17650
- e._switchToTextParsing(t, qe.RCDATA);
17650
+ e._switchToTextParsing(t, ze.RCDATA);
17651
17651
  break;
17652
17652
  }
17653
17653
  case o.NOSCRIPT: {
17654
- e.options.scriptingEnabled ? e._switchToTextParsing(t, qe.RAWTEXT) : (e._insertElement(t, G.HTML), e.insertionMode = I.IN_HEAD_NO_SCRIPT);
17654
+ e.options.scriptingEnabled ? e._switchToTextParsing(t, ze.RAWTEXT) : (e._insertElement(t, G.HTML), e.insertionMode = I.IN_HEAD_NO_SCRIPT);
17655
17655
  break;
17656
17656
  }
17657
17657
  case o.NOFRAMES:
17658
17658
  case o.STYLE: {
17659
- e._switchToTextParsing(t, qe.RAWTEXT);
17659
+ e._switchToTextParsing(t, ze.RAWTEXT);
17660
17660
  break;
17661
17661
  }
17662
17662
  case o.SCRIPT: {
17663
- e._switchToTextParsing(t, qe.SCRIPT_DATA);
17663
+ e._switchToTextParsing(t, ze.SCRIPT_DATA);
17664
17664
  break;
17665
17665
  }
17666
17666
  case o.TEMPLATE: {
@@ -17704,7 +17704,7 @@ function ur(e, t) {
17704
17704
  function zb(e, t) {
17705
17705
  switch (t.tagID) {
17706
17706
  case o.HTML: {
17707
- nt(e, t);
17707
+ rt(e, t);
17708
17708
  break;
17709
17709
  }
17710
17710
  case o.BASEFONT:
@@ -17746,7 +17746,7 @@ function or(e, t) {
17746
17746
  function $b(e, t) {
17747
17747
  switch (t.tagID) {
17748
17748
  case o.HTML: {
17749
- nt(e, t);
17749
+ rt(e, t);
17750
17750
  break;
17751
17751
  }
17752
17752
  case o.BODY: {
@@ -17812,7 +17812,7 @@ function na(e, t) {
17812
17812
  break;
17813
17813
  }
17814
17814
  case pe.START_TAG: {
17815
- nt(e, t);
17815
+ rt(e, t);
17816
17816
  break;
17817
17817
  }
17818
17818
  case pe.END_TAG: {
@@ -17870,7 +17870,7 @@ function eE(e, t) {
17870
17870
  e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, G.HTML);
17871
17871
  }
17872
17872
  function tE(e, t) {
17873
- e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, G.HTML), e.tokenizer.state = qe.PLAINTEXT;
17873
+ e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, G.HTML), e.tokenizer.state = ze.PLAINTEXT;
17874
17874
  }
17875
17875
  function nE(e, t) {
17876
17876
  e.openElements.hasInScope(o.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, G.HTML), e.framesetOk = !1;
@@ -17911,16 +17911,16 @@ function dE(e, t) {
17911
17911
  t.tagName = R.IMG, t.tagID = o.IMG, Pc(e, t);
17912
17912
  }
17913
17913
  function fE(e, t) {
17914
- e._insertElement(t, G.HTML), e.skipNextNewLine = !0, e.tokenizer.state = qe.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = I.TEXT;
17914
+ e._insertElement(t, G.HTML), e.skipNextNewLine = !0, e.tokenizer.state = ze.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = I.TEXT;
17915
17915
  }
17916
17916
  function hE(e, t) {
17917
- e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, qe.RAWTEXT);
17917
+ e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, ze.RAWTEXT);
17918
17918
  }
17919
17919
  function pE(e, t) {
17920
- e.framesetOk = !1, e._switchToTextParsing(t, qe.RAWTEXT);
17920
+ e.framesetOk = !1, e._switchToTextParsing(t, ze.RAWTEXT);
17921
17921
  }
17922
17922
  function os(e, t) {
17923
- e._switchToTextParsing(t, qe.RAWTEXT);
17923
+ e._switchToTextParsing(t, ze.RAWTEXT);
17924
17924
  }
17925
17925
  function mE(e, t) {
17926
17926
  e._reconstructActiveFormattingElements(), e._insertElement(t, G.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === I.IN_TABLE || e.insertionMode === I.IN_CAPTION || e.insertionMode === I.IN_TABLE_BODY || e.insertionMode === I.IN_ROW || e.insertionMode === I.IN_CELL ? I.IN_SELECT_IN_TABLE : I.IN_SELECT;
@@ -17943,7 +17943,7 @@ function yE(e, t) {
17943
17943
  function ss(e, t) {
17944
17944
  e._reconstructActiveFormattingElements(), e._insertElement(t, G.HTML);
17945
17945
  }
17946
- function nt(e, t) {
17946
+ function rt(e, t) {
17947
17947
  switch (t.tagID) {
17948
17948
  case o.I:
17949
17949
  case o.S:
@@ -18449,7 +18449,7 @@ function Gn(e, t) {
18449
18449
  const jc = /* @__PURE__ */ new Set([o.CAPTION, o.COL, o.COLGROUP, o.TBODY, o.TD, o.TFOOT, o.TH, o.THEAD, o.TR]);
18450
18450
  function jE(e, t) {
18451
18451
  const n = t.tagID;
18452
- jc.has(n) ? e.openElements.hasInTableScope(o.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = I.IN_TABLE, Nn(e, t)) : nt(e, t);
18452
+ jc.has(n) ? e.openElements.hasInTableScope(o.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = I.IN_TABLE, Nn(e, t)) : rt(e, t);
18453
18453
  }
18454
18454
  function qE(e, t) {
18455
18455
  const n = t.tagID;
@@ -18477,7 +18477,7 @@ function qE(e, t) {
18477
18477
  function Ji(e, t) {
18478
18478
  switch (t.tagID) {
18479
18479
  case o.HTML: {
18480
- nt(e, t);
18480
+ rt(e, t);
18481
18481
  break;
18482
18482
  }
18483
18483
  case o.COL: {
@@ -18612,7 +18612,7 @@ function qc(e, t) {
18612
18612
  }
18613
18613
  function YE(e, t) {
18614
18614
  const n = t.tagID;
18615
- jc.has(n) ? (e.openElements.hasInTableScope(o.TD) || e.openElements.hasInTableScope(o.TH)) && (e._closeTableCell(), ia(e, t)) : nt(e, t);
18615
+ jc.has(n) ? (e.openElements.hasInTableScope(o.TD) || e.openElements.hasInTableScope(o.TH)) && (e._closeTableCell(), ia(e, t)) : rt(e, t);
18616
18616
  }
18617
18617
  function $E(e, t) {
18618
18618
  const n = t.tagID;
@@ -18643,7 +18643,7 @@ function $E(e, t) {
18643
18643
  function zc(e, t) {
18644
18644
  switch (t.tagID) {
18645
18645
  case o.HTML: {
18646
- nt(e, t);
18646
+ rt(e, t);
18647
18647
  break;
18648
18648
  }
18649
18649
  case o.OPTION: {
@@ -18739,7 +18739,7 @@ function GE(e, t) {
18739
18739
  break;
18740
18740
  }
18741
18741
  default:
18742
- e.tmplInsertionModeStack[0] = I.IN_BODY, e.insertionMode = I.IN_BODY, nt(e, t);
18742
+ e.tmplInsertionModeStack[0] = I.IN_BODY, e.insertionMode = I.IN_BODY, rt(e, t);
18743
18743
  }
18744
18744
  }
18745
18745
  function XE(e, t) {
@@ -18749,7 +18749,7 @@ function $c(e, t) {
18749
18749
  e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(o.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : Zi(e, t);
18750
18750
  }
18751
18751
  function KE(e, t) {
18752
- t.tagID === o.HTML ? nt(e, t) : Xr(e, t);
18752
+ t.tagID === o.HTML ? rt(e, t) : Xr(e, t);
18753
18753
  }
18754
18754
  function Vc(e, t) {
18755
18755
  var n;
@@ -18768,7 +18768,7 @@ function Xr(e, t) {
18768
18768
  function QE(e, t) {
18769
18769
  switch (t.tagID) {
18770
18770
  case o.HTML: {
18771
- nt(e, t);
18771
+ rt(e, t);
18772
18772
  break;
18773
18773
  }
18774
18774
  case o.FRAMESET: {
@@ -18791,7 +18791,7 @@ function ZE(e, t) {
18791
18791
  function JE(e, t) {
18792
18792
  switch (t.tagID) {
18793
18793
  case o.HTML: {
18794
- nt(e, t);
18794
+ rt(e, t);
18795
18795
  break;
18796
18796
  }
18797
18797
  case o.NOFRAMES: {
@@ -18804,7 +18804,7 @@ function eT(e, t) {
18804
18804
  t.tagID === o.HTML && (e.insertionMode = I.AFTER_AFTER_FRAMESET);
18805
18805
  }
18806
18806
  function tT(e, t) {
18807
- t.tagID === o.HTML ? nt(e, t) : Fr(e, t);
18807
+ t.tagID === o.HTML ? rt(e, t) : Fr(e, t);
18808
18808
  }
18809
18809
  function Fr(e, t) {
18810
18810
  e.insertionMode = I.IN_BODY, na(e, t);
@@ -18812,7 +18812,7 @@ function Fr(e, t) {
18812
18812
  function nT(e, t) {
18813
18813
  switch (t.tagID) {
18814
18814
  case o.HTML: {
18815
- nt(e, t);
18815
+ rt(e, t);
18816
18816
  break;
18817
18817
  }
18818
18818
  case o.NOFRAMES: {
@@ -18822,7 +18822,7 @@ function nT(e, t) {
18822
18822
  }
18823
18823
  }
18824
18824
  function rT(e, t) {
18825
- t.chars = He, e._insertCharacters(t);
18825
+ t.chars = Ue, e._insertCharacters(t);
18826
18826
  }
18827
18827
  function aT(e, t) {
18828
18828
  e._insertCharacters(t), e.framesetOk = !1;
@@ -19122,7 +19122,7 @@ function vT(e, t) {
19122
19122
  function Fn(e, t) {
19123
19123
  td(e, t);
19124
19124
  const n = e.parser.tokenizer.currentCharacterToken;
19125
- n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = qe.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
19125
+ n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = ze.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
19126
19126
  }
19127
19127
  function td(e, t) {
19128
19128
  if (t && t.offset !== void 0) {
@@ -19139,7 +19139,7 @@ function td(e, t) {
19139
19139
  }
19140
19140
  function xT(e, t) {
19141
19141
  const n = e.tagName.toLowerCase();
19142
- if (t.parser.tokenizer.state === qe.PLAINTEXT) return;
19142
+ if (t.parser.tokenizer.state === ze.PLAINTEXT) return;
19143
19143
  Fn(t, gn(e));
19144
19144
  const r = t.parser.openElements.current;
19145
19145
  let a = "namespaceURI" in r ? r.namespaceURI : sn.html;
@@ -19164,7 +19164,7 @@ function xT(e, t) {
19164
19164
  }
19165
19165
  function IT(e, t) {
19166
19166
  const n = e.tagName.toLowerCase();
19167
- if (!t.parser.tokenizer.inForeignNode && wg.includes(n) || t.parser.tokenizer.state === qe.PLAINTEXT) return;
19167
+ if (!t.parser.tokenizer.inForeignNode && wg.includes(n) || t.parser.tokenizer.state === ze.PLAINTEXT) return;
19168
19168
  Fn(t, Gc(e));
19169
19169
  const r = {
19170
19170
  type: pe.END_TAG,
@@ -19177,9 +19177,9 @@ function IT(e, t) {
19177
19177
  };
19178
19178
  t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken), // Current element is closed.
19179
19179
  n === t.parser.tokenizer.lastStartTagName && // `<textarea>` and `<title>`
19180
- (t.parser.tokenizer.state === qe.RCDATA || // `<iframe>`, `<noembed>`, `<noframes>`, `<style>`, `<xmp>`
19181
- t.parser.tokenizer.state === qe.RAWTEXT || // `<script>`
19182
- t.parser.tokenizer.state === qe.SCRIPT_DATA) && (t.parser.tokenizer.state = qe.DATA);
19180
+ (t.parser.tokenizer.state === ze.RCDATA || // `<iframe>`, `<noembed>`, `<noframes>`, `<style>`, `<xmp>`
19181
+ t.parser.tokenizer.state === ze.RAWTEXT || // `<script>`
19182
+ t.parser.tokenizer.state === ze.SCRIPT_DATA) && (t.parser.tokenizer.state = ze.DATA);
19183
19183
  }
19184
19184
  function OT(e) {
19185
19185
  const t = e.type === "root" ? e.children[0] : e;
@@ -19306,20 +19306,20 @@ function wT() {
19306
19306
  }, L.valueOf = function() {
19307
19307
  return this.$d.getTime();
19308
19308
  }, L.startOf = function(F, V) {
19309
- var U = this, z = !!Y.u(V) || V, T = Y.p(F), ne = function(Me, Oe) {
19310
- var et = Y.w(U.$u ? Date.UTC(U.$y, Oe, Me) : new Date(U.$y, Oe, Me), U);
19311
- return z ? et : et.endOf(c);
19312
- }, ue = function(Me, Oe) {
19313
- return Y.w(U.toDate()[Me].apply(U.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Oe)), U);
19314
- }, v = this.$W, oe = this.$M, Te = this.$D, he = "set" + (this.$u ? "UTC" : "");
19309
+ var U = this, z = !!Y.u(V) || V, T = Y.p(F), ne = function(Fe, Ie) {
19310
+ var tt = Y.w(U.$u ? Date.UTC(U.$y, Ie, Fe) : new Date(U.$y, Ie, Fe), U);
19311
+ return z ? tt : tt.endOf(c);
19312
+ }, ue = function(Fe, Ie) {
19313
+ return Y.w(U.toDate()[Fe].apply(U.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ie)), U);
19314
+ }, v = this.$W, oe = this.$M, Ee = this.$D, he = "set" + (this.$u ? "UTC" : "");
19315
19315
  switch (T) {
19316
19316
  case h:
19317
19317
  return z ? ne(1, 0) : ne(31, 11);
19318
19318
  case f:
19319
19319
  return z ? ne(1, oe) : ne(0, oe + 1);
19320
19320
  case d:
19321
- var Ae = this.$locale().weekStart || 0, ve = (v < Ae ? v + 7 : v) - Ae;
19322
- return ne(z ? Te - ve : Te + (6 - ve), oe);
19321
+ var Ce = this.$locale().weekStart || 0, Se = (v < Ce ? v + 7 : v) - Ce;
19322
+ return ne(z ? Ee - Se : Ee + (6 - Se), oe);
19323
19323
  case c:
19324
19324
  case E:
19325
19325
  return ue(he + "Hours", 0);
@@ -19349,8 +19349,8 @@ function wT() {
19349
19349
  var U, z = this;
19350
19350
  F = Number(F);
19351
19351
  var T = Y.p(V), ne = function(oe) {
19352
- var Te = te(z);
19353
- return Y.w(Te.date(Te.date() + Math.round(oe * F)), z);
19352
+ var Ee = te(z);
19353
+ return Y.w(Ee.date(Ee.date() + Math.round(oe * F)), z);
19354
19354
  };
19355
19355
  if (T === f) return this.set(f, this.$M + F);
19356
19356
  if (T === h) return this.set(h, this.$y + F);
@@ -19363,16 +19363,16 @@ function wT() {
19363
19363
  }, L.format = function(F) {
19364
19364
  var V = this, U = this.$locale();
19365
19365
  if (!this.isValid()) return U.invalidDate || m;
19366
- var z = F || "YYYY-MM-DDTHH:mm:ssZ", T = Y.z(this), ne = this.$H, ue = this.$m, v = this.$M, oe = U.weekdays, Te = U.months, he = U.meridiem, Ae = function(Oe, et, dt, St) {
19367
- return Oe && (Oe[et] || Oe(V, z)) || dt[et].slice(0, St);
19368
- }, ve = function(Oe) {
19369
- return Y.s(ne % 12 || 12, Oe, "0");
19370
- }, Me = he || function(Oe, et, dt) {
19371
- var St = Oe < 12 ? "AM" : "PM";
19366
+ var z = F || "YYYY-MM-DDTHH:mm:ssZ", T = Y.z(this), ne = this.$H, ue = this.$m, v = this.$M, oe = U.weekdays, Ee = U.months, he = U.meridiem, Ce = function(Ie, tt, dt, St) {
19367
+ return Ie && (Ie[tt] || Ie(V, z)) || dt[tt].slice(0, St);
19368
+ }, Se = function(Ie) {
19369
+ return Y.s(ne % 12 || 12, Ie, "0");
19370
+ }, Fe = he || function(Ie, tt, dt) {
19371
+ var St = Ie < 12 ? "AM" : "PM";
19372
19372
  return dt ? St.toLowerCase() : St;
19373
19373
  };
19374
- return z.replace(g, (function(Oe, et) {
19375
- return et || (function(dt) {
19374
+ return z.replace(g, (function(Ie, tt) {
19375
+ return tt || (function(dt) {
19376
19376
  switch (dt) {
19377
19377
  case "YY":
19378
19378
  return String(V.$y).slice(-2);
@@ -19383,9 +19383,9 @@ function wT() {
19383
19383
  case "MM":
19384
19384
  return Y.s(v + 1, 2, "0");
19385
19385
  case "MMM":
19386
- return Ae(U.monthsShort, v, Te, 3);
19386
+ return Ce(U.monthsShort, v, Ee, 3);
19387
19387
  case "MMMM":
19388
- return Ae(Te, v);
19388
+ return Ce(Ee, v);
19389
19389
  case "D":
19390
19390
  return V.$D;
19391
19391
  case "DD":
@@ -19393,9 +19393,9 @@ function wT() {
19393
19393
  case "d":
19394
19394
  return String(V.$W);
19395
19395
  case "dd":
19396
- return Ae(U.weekdaysMin, V.$W, oe, 2);
19396
+ return Ce(U.weekdaysMin, V.$W, oe, 2);
19397
19397
  case "ddd":
19398
- return Ae(U.weekdaysShort, V.$W, oe, 3);
19398
+ return Ce(U.weekdaysShort, V.$W, oe, 3);
19399
19399
  case "dddd":
19400
19400
  return oe[V.$W];
19401
19401
  case "H":
@@ -19403,13 +19403,13 @@ function wT() {
19403
19403
  case "HH":
19404
19404
  return Y.s(ne, 2, "0");
19405
19405
  case "h":
19406
- return ve(1);
19406
+ return Se(1);
19407
19407
  case "hh":
19408
- return ve(2);
19408
+ return Se(2);
19409
19409
  case "a":
19410
- return Me(ne, ue, !0);
19410
+ return Fe(ne, ue, !0);
19411
19411
  case "A":
19412
- return Me(ne, ue, !1);
19412
+ return Fe(ne, ue, !1);
19413
19413
  case "m":
19414
19414
  return String(ue);
19415
19415
  case "mm":
@@ -19424,23 +19424,23 @@ function wT() {
19424
19424
  return T;
19425
19425
  }
19426
19426
  return null;
19427
- })(Oe) || T.replace(":", "");
19427
+ })(Ie) || T.replace(":", "");
19428
19428
  }));
19429
19429
  }, L.utcOffset = function() {
19430
19430
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
19431
19431
  }, L.diff = function(F, V, U) {
19432
- var z, T = this, ne = Y.p(V), ue = te(F), v = (ue.utcOffset() - this.utcOffset()) * r, oe = this - ue, Te = function() {
19432
+ var z, T = this, ne = Y.p(V), ue = te(F), v = (ue.utcOffset() - this.utcOffset()) * r, oe = this - ue, Ee = function() {
19433
19433
  return Y.m(T, ue);
19434
19434
  };
19435
19435
  switch (ne) {
19436
19436
  case h:
19437
- z = Te() / 12;
19437
+ z = Ee() / 12;
19438
19438
  break;
19439
19439
  case f:
19440
- z = Te();
19440
+ z = Ee();
19441
19441
  break;
19442
19442
  case p:
19443
- z = Te() / 3;
19443
+ z = Ee() / 3;
19444
19444
  break;
19445
19445
  case d:
19446
19446
  z = (oe - v) / 6048e5;
@@ -19494,11 +19494,11 @@ function wT() {
19494
19494
  })(Br)), Br.exports;
19495
19495
  }
19496
19496
  var RT = wT();
19497
- const DT = /* @__PURE__ */ Bt(RT), PT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%20-960%20960%20960'%20width='24'%3e%3cpath%20d='M440-120v-80h320v-284q0-117-81.5-198.5T480-764q-117%200-198.5%2081.5T200-484v244h-40q-33%200-56.5-23.5T80-320v-80q0-21%2010.5-39.5T120-469l3-53q8-68%2039.5-126t79-101q47.5-43%20109-67T480-840q68%200%20129%2024t109%2066.5Q766-707%20797-649t40%20126l3%2052q19%209%2029.5%2027t10.5%2038v92q0%2020-10.5%2038T840-249v49q0%2033-23.5%2056.5T760-120H440Zm-80-280q-17%200-28.5-11.5T320-440q0-17%2011.5-28.5T360-480q17%200%2028.5%2011.5T400-440q0%2017-11.5%2028.5T360-400Zm240%200q-17%200-28.5-11.5T560-440q0-17%2011.5-28.5T600-480q17%200%2028.5%2011.5T640-440q0%2017-11.5%2028.5T600-400Zm-359-62q-7-106%2064-182t177-76q89%200%20156.5%2056.5T720-519q-91-1-167.5-49T435-698q-16%2080-67.5%20142.5T241-462Z'/%3e%3c/svg%3e", tt = [];
19497
+ const DT = /* @__PURE__ */ Bt(RT), PT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%20-960%20960%20960'%20width='24'%3e%3cpath%20d='M440-120v-80h320v-284q0-117-81.5-198.5T480-764q-117%200-198.5%2081.5T200-484v244h-40q-33%200-56.5-23.5T80-320v-80q0-21%2010.5-39.5T120-469l3-53q8-68%2039.5-126t79-101q47.5-43%20109-67T480-840q68%200%20129%2024t109%2066.5Q766-707%20797-649t40%20126l3%2052q19%209%2029.5%2027t10.5%2038v92q0%2020-10.5%2038T840-249v49q0%2033-23.5%2056.5T760-120H440Zm-80-280q-17%200-28.5-11.5T320-440q0-17%2011.5-28.5T360-480q17%200%2028.5%2011.5T400-440q0%2017-11.5%2028.5T360-400Zm240%200q-17%200-28.5-11.5T560-440q0-17%2011.5-28.5T600-480q17%200%2028.5%2011.5T640-440q0%2017-11.5%2028.5T600-400Zm-359-62q-7-106%2064-182t177-76q89%200%20156.5%2056.5T720-519q-91-1-167.5-49T435-698q-16%2080-67.5%20142.5T241-462Z'/%3e%3c/svg%3e", nt = [];
19498
19498
  for (let e = 0; e < 256; ++e)
19499
- tt.push((e + 256).toString(16).slice(1));
19499
+ nt.push((e + 256).toString(16).slice(1));
19500
19500
  function MT(e, t = 0) {
19501
- return (tt[e[t + 0]] + tt[e[t + 1]] + tt[e[t + 2]] + tt[e[t + 3]] + "-" + tt[e[t + 4]] + tt[e[t + 5]] + "-" + tt[e[t + 6]] + tt[e[t + 7]] + "-" + tt[e[t + 8]] + tt[e[t + 9]] + "-" + tt[e[t + 10]] + tt[e[t + 11]] + tt[e[t + 12]] + tt[e[t + 13]] + tt[e[t + 14]] + tt[e[t + 15]]).toLowerCase();
19501
+ return (nt[e[t + 0]] + nt[e[t + 1]] + nt[e[t + 2]] + nt[e[t + 3]] + "-" + nt[e[t + 4]] + nt[e[t + 5]] + "-" + nt[e[t + 6]] + nt[e[t + 7]] + "-" + nt[e[t + 8]] + nt[e[t + 9]] + "-" + nt[e[t + 10]] + nt[e[t + 11]] + nt[e[t + 12]] + nt[e[t + 13]] + nt[e[t + 14]] + nt[e[t + 15]]).toLowerCase();
19502
19502
  }
19503
19503
  let Ya;
19504
19504
  const FT = new Uint8Array(16);
@@ -19537,7 +19537,7 @@ function eu({
19537
19537
  text: u = null,
19538
19538
  userTrackingName: s = "clicked"
19539
19539
  }) {
19540
- const [l, c] = se(!0), { primaryColor: d, id: f, conversationScreen: p } = ie(je), h = ot(
19540
+ const [l, c] = se(!0), { primaryColor: d, id: f, conversationScreen: p } = ie(qe), h = ot(
19541
19541
  (y) => {
19542
19542
  y?.data?.who === "customer" && (!window?.OnetrustActiveGroups || window?.OnetrustActiveGroups?.includes("C0003")) && st.set(`${f}-live-chat-open`, 1, {
19543
19543
  expires: 1,
@@ -19551,7 +19551,7 @@ function eu({
19551
19551
  },
19552
19552
  [a]
19553
19553
  );
19554
- Le(() => {
19554
+ ke(() => {
19555
19555
  let y, g;
19556
19556
  return p?.liveChat?.useOwnChat && (g = setTimeout(() => {
19557
19557
  c(!1);
@@ -19622,7 +19622,7 @@ eu.propTypes = {
19622
19622
  userTrackingName: x.string
19623
19623
  };
19624
19624
  const rd = ({ children: e, id: t, link: n }) => {
19625
- const { contentRef: r } = ie(Gt), [a, i] = se(!1), u = Ze(null), s = ot(() => i(!0), []), l = ot(() => i(!1), []), c = ot(() => i(!0), []), d = ot(() => i(!1), []), f = ot(
19625
+ const { contentRef: r } = ie(Gt), [a, i] = se(!1), u = Je(null), s = ot(() => i(!0), []), l = ot(() => i(!1), []), c = ot(() => i(!0), []), d = ot(() => i(!1), []), f = ot(
19626
19626
  (p) => {
19627
19627
  p.key === "Enter" ? window.open(n, "_blank") : p.key === "Escape" && i(!1);
19628
19628
  },
@@ -19767,7 +19767,7 @@ const qT = () => /* @__PURE__ */ _.jsx(
19767
19767
  )
19768
19768
  }
19769
19769
  ), ad = ({ src: e, alt: t, ...n }) => {
19770
- const r = Ze(null), [a, i] = se(!1);
19770
+ const r = Je(null), [a, i] = se(!1);
19771
19771
  return /* @__PURE__ */ _.jsxs(
19772
19772
  "div",
19773
19773
  {
@@ -19904,12 +19904,12 @@ const VT = (e) => ({
19904
19904
  submitEvent: i = null,
19905
19905
  toolCall: u
19906
19906
  }) => {
19907
- const { primaryColor: s, conversationScreen: l } = ie(je), {
19907
+ const { primaryColor: s, conversationScreen: l } = ie(qe), {
19908
19908
  content: c,
19909
19909
  liveAgent: d,
19910
- role: f = Ie.ASSISTANT,
19910
+ role: f = xe.ASSISTANT,
19911
19911
  timestamp: p
19912
- } = t ?? {}, h = f === Ie.TOOL ? Ie.ASSISTANT : f, E = d || u === Ms.ESCALATE_TO_AN_AGENT, m = !E && !!c, y = ln(
19912
+ } = t ?? {}, h = f === xe.TOOL ? xe.ASSISTANT : f, E = d || u === Ms.ESCALATE_TO_AN_AGENT, m = !E && !!c, y = ln(
19913
19913
  () => XT(
19914
19914
  s,
19915
19915
  l?.userMessageBubble?.style
@@ -19920,7 +19920,7 @@ const VT = (e) => ({
19920
19920
  [c, u]
19921
19921
  ), D = ln(() => {
19922
19922
  if (!m) return null;
19923
- if (h === Ie.USER)
19923
+ if (h === xe.USER)
19924
19924
  return g;
19925
19925
  const P = WT(g);
19926
19926
  return /* @__PURE__ */ _.jsx(
@@ -19956,7 +19956,7 @@ const VT = (e) => ({
19956
19956
  className: "xpert-chatbot-popup__bubble--group-inner",
19957
19957
  style: y[h].innerStyle,
19958
19958
  children: [
19959
- h === Ie.AGENT && /* @__PURE__ */ _.jsx(
19959
+ h === xe.AGENT && /* @__PURE__ */ _.jsx(
19960
19960
  Si,
19961
19961
  {
19962
19962
  alignSelf: "flex-end",
@@ -19990,7 +19990,7 @@ const VT = (e) => ({
19990
19990
  ]
19991
19991
  }
19992
19992
  ),
19993
- h === Ie.USER && /* @__PURE__ */ _.jsx(
19993
+ h === xe.USER && /* @__PURE__ */ _.jsx(
19994
19994
  Si,
19995
19995
  {
19996
19996
  alignSelf: "flex-end",
@@ -20020,7 +20020,7 @@ nu.displayName = "MessageBubble";
20020
20020
  const id = x0(nu);
20021
20021
  function ru({ message: e }) {
20022
20022
  const { content: t, icon: n, iconColor: r, role: a } = e;
20023
- return a !== Ie.NOTIFICATION ? null : /* @__PURE__ */ _.jsxs("div", { className: "notification-container", children: [
20023
+ return a !== xe.NOTIFICATION ? null : /* @__PURE__ */ _.jsxs("div", { className: "notification-container", children: [
20024
20024
  /* @__PURE__ */ _.jsx(
20025
20025
  "div",
20026
20026
  {
@@ -20037,13 +20037,13 @@ ru.propTypes = {
20037
20037
  content: x.string,
20038
20038
  icon: x.string,
20039
20039
  iconColor: x.string,
20040
- role: x.oneOf([Ie.NOTIFICATION])
20040
+ role: x.oneOf([xe.NOTIFICATION])
20041
20041
  }).isRequired
20042
20042
  };
20043
20043
  ru.displayName = "NotificationMessage";
20044
20044
  function ud({ disableScroll: e }) {
20045
- const t = Ze(null);
20046
- return Le(() => {
20045
+ const t = Je(null);
20046
+ return ke(() => {
20047
20047
  e || t.current?.scrollIntoView({
20048
20048
  behavior: "smooth",
20049
20049
  block: "end"
@@ -20075,7 +20075,7 @@ const Er = ({
20075
20075
  setLiveChatOpen: a = null,
20076
20076
  submitEvent: i = null
20077
20077
  }) => {
20078
- const { disableScroll: u, hasError: s, streaming: l, loadingHistory: c } = ie(Je), d = Ze(null), f = ln(
20078
+ const { disableScroll: u, hasError: s, streaming: l, loadingHistory: c } = ie(et), d = Je(null), f = ln(
20079
20079
  () => n.reduce((p, h) => (h.toolCalls && h.toolCalls.forEach(({ function: E, id: m }) => {
20080
20080
  p[m] = E?.name;
20081
20081
  }), p), {}),
@@ -20094,16 +20094,16 @@ const Er = ({
20094
20094
  style: { display: "flex", flexDirection: "column" },
20095
20095
  children: n.map((p, h) => {
20096
20096
  const { role: E } = p, m = `${E}-${h}`;
20097
- if (E === Ie.ERROR)
20097
+ if (E === xe.ERROR)
20098
20098
  return /* @__PURE__ */ _.jsx(ii, { content: p?.content }, m);
20099
- if (E === Ie.NOTIFICATION)
20099
+ if (E === xe.NOTIFICATION)
20100
20100
  return /* @__PURE__ */ _.jsx(ru, { message: p }, m);
20101
20101
  if (![
20102
- Ie.AGENT,
20103
- Ie.ASSISTANT,
20104
- Ie.INFO,
20105
- Ie.TOOL,
20106
- Ie.USER
20102
+ xe.AGENT,
20103
+ xe.ASSISTANT,
20104
+ xe.INFO,
20105
+ xe.TOOL,
20106
+ xe.USER
20107
20107
  ].includes(E) || !p.content) return null;
20108
20108
  const y = f[p.toolCallId];
20109
20109
  return /* @__PURE__ */ _.jsx(
@@ -20180,7 +20180,7 @@ Er.defaultProps = {
20180
20180
  };
20181
20181
  Er.displayName = "ConversationMessages";
20182
20182
  const od = () => {
20183
- const { conversationScreen: e, id: t } = ie(je), n = `${t}-maintenance-banner`, [r, a] = se(
20183
+ const { conversationScreen: e, id: t } = ie(qe), n = `${t}-maintenance-banner`, [r, a] = se(
20184
20184
  st.get(n) === void 0
20185
20185
  ), i = /* @__PURE__ */ new Date(), u = new Date(
20186
20186
  e?.maintenanceBanner?.endDateTime
@@ -20231,7 +20231,7 @@ const od = () => {
20231
20231
  };
20232
20232
  od.displayName = "MaintenanceBanner";
20233
20233
  const au = ({ onPromptClick: e }) => {
20234
- const { primaryColor: t, conversationScreen: n } = ie(je), { deleteConversationModal: r } = ie(Gt), { loading: a, streaming: i, loadingHistory: u } = ie(Je), s = a || u || i;
20234
+ const { primaryColor: t, conversationScreen: n } = ie(qe), { deleteConversationModal: r } = ie(Gt), { loading: a, streaming: i, loadingHistory: u } = ie(et), s = a || u || i;
20235
20235
  return /* @__PURE__ */ _.jsxs("div", { style: { display: "grid", gap: ".75rem" }, children: [
20236
20236
  /* @__PURE__ */ _.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
20237
20237
  n?.prompts?.map((l) => /* @__PURE__ */ _.jsx(
@@ -20259,7 +20259,7 @@ au.propTypes = {
20259
20259
  };
20260
20260
  au.displayName = "PromptList";
20261
20261
  const sd = ({ chatContentRef: e, messages: t }) => {
20262
- const { loading: n, streaming: r } = ie(Je), [a, i] = se(!1), u = Ze(null), s = ot(() => {
20262
+ const { loading: n, streaming: r } = ie(et), [a, i] = se(!1), u = Je(null), s = ot(() => {
20263
20263
  if (!e.current) return;
20264
20264
  const { scrollTop: c, scrollHeight: d, clientHeight: f } = e.current, p = c + f >= d - 10;
20265
20265
  i(!p);
@@ -20269,16 +20269,16 @@ const sd = ({ chatContentRef: e, messages: t }) => {
20269
20269
  behavior: "smooth"
20270
20270
  }), u.current && u.current.focus();
20271
20271
  };
20272
- return Le(() => {
20272
+ return ke(() => {
20273
20273
  const c = e.current;
20274
20274
  if (c)
20275
20275
  return c.addEventListener("scroll", s), () => c.removeEventListener("scroll", s);
20276
- }, [e, s]), Le(() => {
20276
+ }, [e, s]), ke(() => {
20277
20277
  !n && e.current && e.current.scrollTo({
20278
20278
  top: e.current.scrollHeight,
20279
20279
  behavior: "smooth"
20280
20280
  });
20281
- }, [n, e]), n ? null : /* @__PURE__ */ _.jsx("div", { ref: u, tabIndex: -1, children: (a || r) && t.find((c) => c.role === Ie.ASSISTANT) && /* @__PURE__ */ _.jsx(
20281
+ }, [n, e]), n ? null : /* @__PURE__ */ _.jsx("div", { ref: u, tabIndex: -1, children: (a || r) && t.find((c) => c.role === xe.ASSISTANT) && /* @__PURE__ */ _.jsx(
20282
20282
  "button",
20283
20283
  {
20284
20284
  onClick: l,
@@ -20301,7 +20301,7 @@ function ld({
20301
20301
  setLiveChatOpen: r = null,
20302
20302
  submitEvent: a = null
20303
20303
  }) {
20304
- const { conversationScreen: i, disclaimer: u } = ie(je), { deleteConversationModal: s, xpertMessages: l } = ie(Gt), { loading: c, setMode: d, mode: f, loadingHistory: p } = ie(Je), h = Ze(null), E = (m) => {
20304
+ const { conversationScreen: i, disclaimer: u } = ie(qe), { deleteConversationModal: s, xpertMessages: l } = ie(Gt), { loading: c, setMode: d, mode: f, loadingHistory: p } = ie(et), h = Je(null), E = (m) => {
20305
20305
  i.liveChat.useOwnChat ? d(kt.LIVECHAT) : r(m);
20306
20306
  };
20307
20307
  return /* @__PURE__ */ _.jsxs(_.Fragment, { children: [
@@ -20323,7 +20323,7 @@ function ld({
20323
20323
  {
20324
20324
  message: {
20325
20325
  content: i?.systemMessage,
20326
- role: Ie.ASSISTANT
20326
+ role: xe.ASSISTANT
20327
20327
  }
20328
20328
  }
20329
20329
  ),
@@ -20998,31 +20998,31 @@ function lu() {
20998
20998
  if (p !== null && E === !0) {
20999
20999
  var z, T = !1, ne = !0, ue = function() {
21000
21000
  return t(void 0, void 0, void 0, function() {
21001
- var v, oe, Te;
21001
+ var v, oe, Ee;
21002
21002
  return n(this, function(he) {
21003
21003
  switch (he.label) {
21004
21004
  case 0:
21005
21005
  return v = S, [4, (0, l.getUrl)(p, k)];
21006
21006
  case 1:
21007
21007
  return v.current = he.sent(), S.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), S.current = "ABORTED", (0, i.flushSync)(function() {
21008
- return X(function(Ae) {
21009
- return e(e({}, Ae), { ABORTED: u.ReadyState.CLOSED });
21008
+ return X(function(Ce) {
21009
+ return e(e({}, Ce), { ABORTED: u.ReadyState.CLOSED });
21010
21010
  });
21011
21011
  }), [
21012
21012
  2
21013
21013
  /*return*/
21014
- ]) : (oe = function(Ae) {
21014
+ ]) : (oe = function(Ce) {
21015
21015
  T || (0, i.flushSync)(function() {
21016
- return g(Ae);
21016
+ return g(Ce);
21017
21017
  });
21018
- }, Te = function(Ae) {
21018
+ }, Ee = function(Ce) {
21019
21019
  T || (0, i.flushSync)(function() {
21020
- return X(function(ve) {
21021
- var Me;
21022
- return e(e({}, ve), S.current && (Me = {}, Me[S.current] = Ae, Me));
21020
+ return X(function(Se) {
21021
+ var Fe;
21022
+ return e(e({}, Se), S.current && (Fe = {}, Fe[S.current] = Ce, Fe));
21023
21023
  });
21024
21024
  });
21025
- }, ne && (z = (0, s.createOrJoinSocket)(w, S.current, Te, k, oe, W, q, te, F)), [
21025
+ }, ne && (z = (0, s.createOrJoinSocket)(w, S.current, Ee, k, oe, W, q, te, F)), [
21026
21026
  2
21027
21027
  /*return*/
21028
21028
  ]);
@@ -21190,7 +21190,7 @@ const s3 = "This conversation with a live agent has ended. Please note that a tr
21190
21190
  CONVERSATION: "CONVERSATION",
21191
21191
  FORM: "FORM"
21192
21192
  }, bn = Kr({}), dd = ({ children: e, liveChatPayload: t }) => {
21193
- const { conversationScreen: n } = ie(je), { pushXpertMessage: r } = ie(Gt), { setHasError: a, setMode: i } = ie(Je), [u, s] = se(""), [l, c] = se(!1), [, d] = se(""), [f, p] = se([]), [h, E] = se(null), [m, y] = se(Vt.FORM), [g, D] = se(null), P = (U) => p((z) => [...z, U]), X = async (U) => {
21193
+ const { conversationScreen: n } = ie(qe), { pushXpertMessage: r } = ie(Gt), { setHasError: a, setMode: i } = ie(et), [u, s] = se(""), [l, c] = se(!1), [, d] = se(""), [f, p] = se([]), [h, E] = se(null), [m, y] = se(Vt.FORM), [g, D] = se(null), P = (U) => p((z) => [...z, U]), X = async (U) => {
21194
21194
  const z = await o3(U.data), { conversation_id: T, event_type: ne, body: ue } = z;
21195
21195
  switch (ne) {
21196
21196
  case "AGENT_TYPING":
@@ -21230,7 +21230,7 @@ const s3 = "This conversation with a live agent has ended. Please note that a tr
21230
21230
  }, W = () => {
21231
21231
  r({
21232
21232
  content: s3,
21233
- role: Ie.INFO
21233
+ role: xe.INFO
21234
21234
  }), q();
21235
21235
  }, q = () => {
21236
21236
  d(""), E(null), y(Vt.FORM), i(kt.XPERT);
@@ -21248,7 +21248,7 @@ const s3 = "This conversation with a live agent has ended. Please note that a tr
21248
21248
  P({
21249
21249
  content: T ?? "",
21250
21250
  id: z ?? "",
21251
- role: Ie.AGENT,
21251
+ role: xe.AGENT,
21252
21252
  timestamp: ne ? new Date(ne) : void 0
21253
21253
  }), H({
21254
21254
  action: "sendmessage",
@@ -21271,7 +21271,7 @@ const s3 = "This conversation with a live agent has ended. Please note that a tr
21271
21271
  P({
21272
21272
  content: U,
21273
21273
  id: "",
21274
- role: Ie.USER,
21274
+ role: xe.USER,
21275
21275
  timestamp: /* @__PURE__ */ new Date()
21276
21276
  }), H({
21277
21277
  action: "sendmessage",
@@ -21304,7 +21304,7 @@ const s3 = "This conversation with a live agent has ended. Please note that a tr
21304
21304
  content: "Feedback submitted",
21305
21305
  icon: "check",
21306
21306
  iconColor: "#30A171",
21307
- role: Ie.NOTIFICATION
21307
+ role: xe.NOTIFICATION
21308
21308
  }), W();
21309
21309
  },
21310
21310
  terminateConversation: w
@@ -21317,7 +21317,7 @@ dd.propTypes = {
21317
21317
  };
21318
21318
  const l3 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23ffffff'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M120-120v-300h60v198l558-558H540v-60h300v300h-60v-198L222-180h198v60H120Z'/%3e%3c/svg%3e", c3 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23ffffff'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M370-287h360v-90H370v90ZM180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/svg%3e";
21319
21319
  function fd({ handleResizeButtonClick: e, setIsMounted: t }) {
21320
- const { isMobile: n, isNormalSize: r } = ie(Je);
21320
+ const { isMobile: n, isNormalSize: r } = ie(et);
21321
21321
  if (n)
21322
21322
  return null;
21323
21323
  const a = `${r ? "Expand" : "Shrink"} Xpert dialog width`;
@@ -21355,7 +21355,7 @@ function hd({
21355
21355
  onClose: n,
21356
21356
  isMounted: r
21357
21357
  }) {
21358
- const { conversationScreen: a } = ie(je), { mode: i } = ie(Je), { setDeleteConversationModal: u, xpertMessages: s } = ie(Gt), l = i === kt.XPERT && a?.conversationHistory?.allowDeletion && !!s?.length;
21358
+ const { conversationScreen: a } = ie(qe), { mode: i } = ie(et), { setDeleteConversationModal: u, xpertMessages: s } = ie(Gt), l = i === kt.XPERT && a?.conversationHistory?.allowDeletion && !!s?.length;
21359
21359
  return /* @__PURE__ */ _.jsxs(_.Fragment, { children: [
21360
21360
  l && /* @__PURE__ */ _.jsx(
21361
21361
  "button",
@@ -21460,8 +21460,8 @@ function md({
21460
21460
  setIsMounted: n,
21461
21461
  onClose: r
21462
21462
  }) {
21463
- const { primaryColor: a, conversationScreen: i } = ie(je), { isMobile: u, mode: s } = ie(Je), { step: l } = ie(bn);
21464
- return Le(() => {
21463
+ const { primaryColor: a, conversationScreen: i } = ie(qe), { isMobile: u, mode: s } = ie(et), { step: l } = ie(bn);
21464
+ return ke(() => {
21465
21465
  const c = document.getElementById("header-mobile");
21466
21466
  return c && (c.style.display = "none"), () => {
21467
21467
  c && (c.style.display = "");
@@ -21539,7 +21539,7 @@ function d3() {
21539
21539
  deleteConversationModal: e,
21540
21540
  deleteConversationHistory: t,
21541
21541
  setDeleteConversationModal: n
21542
- } = ie(Gt), { primaryColor: r } = ie(je);
21542
+ } = ie(Gt), { primaryColor: r } = ie(qe);
21543
21543
  return e ? /* @__PURE__ */ _.jsx(
21544
21544
  "div",
21545
21545
  {
@@ -21589,7 +21589,7 @@ function d3() {
21589
21589
  ) : null;
21590
21590
  }
21591
21591
  const f3 = () => {
21592
- const { isMobile: e } = ie(Je), { launchButton: t } = ie(je);
21592
+ const { isMobile: e } = ie(et), { launchButton: t } = ie(qe);
21593
21593
  return t?.message?.enabled ? /* @__PURE__ */ _.jsx(
21594
21594
  "div",
21595
21595
  {
@@ -21606,7 +21606,7 @@ function h3() {
21606
21606
  return /* @__PURE__ */ _.jsx("div", { className: "spinner" });
21607
21607
  }
21608
21608
  function gd() {
21609
- const { conversationScreen: e, primaryColor: t, widgetMode: n } = ie(je), { cancelLiveChatConnection: r } = ie(bn), a = e?.liveChat?.queueMessages ?? [], i = n ? t : "#FFFFFF", u = n ? "#FFFFFF" : t;
21609
+ const { conversationScreen: e, primaryColor: t, widgetMode: n } = ie(qe), { cancelLiveChatConnection: r } = ie(bn), a = e?.liveChat?.queueMessages ?? [], i = n ? t : "#FFFFFF", u = n ? "#FFFFFF" : t;
21610
21610
  return /* @__PURE__ */ _.jsxs("div", { className: "live-chat-connecting", style: { backgroundColor: i }, children: [
21611
21611
  /* @__PURE__ */ _.jsx(h3, {}),
21612
21612
  /* @__PURE__ */ _.jsx("div", { className: "live-chat-connecting-messages", style: { color: u }, children: a.length === 0 ? /* @__PURE__ */ _.jsx("p", { children: "Connecting to live agent" }) : a.map((s, l) => /* @__PURE__ */ _.jsx("p", { children: s }, `queue-message-${l}`)) }),
@@ -21639,7 +21639,7 @@ const Os = 500, p3 = [
21639
21639
  }
21640
21640
  ];
21641
21641
  function bd({ onDismiss: e }) {
21642
- const [t, n] = se(""), [r, a] = se(!1), [i, u] = se(null), { conversationScreen: s } = ie(je), { endLiveChat: l, submitSurvey: c, terminateConversation: d } = ie(bn), f = () => {
21642
+ const [t, n] = se(""), [r, a] = se(!1), [i, u] = se(null), { conversationScreen: s } = ie(qe), { endLiveChat: l, submitSurvey: c, terminateConversation: d } = ie(bn), f = () => {
21643
21643
  d(), s?.liveChat?.useSurvey ? a(!0) : l();
21644
21644
  }, p = () => {
21645
21645
  c({
@@ -21711,7 +21711,7 @@ bd.propTypes = {
21711
21711
  onDismiss: x.func
21712
21712
  };
21713
21713
  function m3(e, t) {
21714
- const [n, r] = se(!1), a = Ze(), i = ot(
21714
+ const [n, r] = se(!1), a = Je(), i = ot(
21715
21715
  (...u) => {
21716
21716
  n || (e(...u), r(!0), clearTimeout(a.current), a.current = setTimeout(() => {
21717
21717
  r(!1);
@@ -21719,7 +21719,7 @@ function m3(e, t) {
21719
21719
  },
21720
21720
  [n, e, t]
21721
21721
  );
21722
- return Le(() => () => {
21722
+ return ke(() => () => {
21723
21723
  clearTimeout(a.current);
21724
21724
  }, []), i;
21725
21725
  }
@@ -21730,7 +21730,7 @@ function Ed() {
21730
21730
  liveChatMessages: n,
21731
21731
  sendMessage: r,
21732
21732
  sendTypingEvent: a
21733
- } = ie(bn), i = Ze(null), [u, s] = se(!1), l = m3(a, 5e3), c = () => {
21733
+ } = ie(bn), i = Je(null), [u, s] = se(!1), l = m3(a, 5e3), c = () => {
21734
21734
  l();
21735
21735
  }, d = (f) => {
21736
21736
  f.trim() !== "" && r(f);
@@ -21825,7 +21825,7 @@ const b3 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
21825
21825
  }];
21826
21826
  }, Ka = "privacy policy";
21827
21827
  function Td() {
21828
- const { conversationScreen: e, primaryColor: t } = ie(je), { startLiveChat: n } = ie(bn), { setMode: r } = ie(Je), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = T3({}), [d, f] = se(!1), { clearError: p, errors: h, setErrors: E } = E3(), m = ln(
21828
+ const { conversationScreen: e, primaryColor: t } = ie(qe), { startLiveChat: n } = ie(bn), { setMode: r } = ie(et), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = T3({}), [d, f] = se(!1), { clearError: p, errors: h, setErrors: E } = E3(), m = ln(
21829
21829
  () => (s ?? "").split(Ka, 2),
21830
21830
  [s]
21831
21831
  ), y = () => {
@@ -21838,7 +21838,7 @@ function Td() {
21838
21838
  }, P = () => {
21839
21839
  X() && n(l);
21840
21840
  };
21841
- Le(() => {
21841
+ ke(() => {
21842
21842
  (!a || a.length === 0) && n();
21843
21843
  }, [a, n]);
21844
21844
  const X = () => {
@@ -21954,14 +21954,14 @@ function _d({
21954
21954
  showMessage: r = !1,
21955
21955
  style: a = {}
21956
21956
  }) {
21957
- const { proactiveMessage: i } = ie(je), [u, s] = se(!0), [l, c] = se(!1), d = u && (!window?.OnetrustActiveGroups || window?.OnetrustActiveGroups?.includes("C0003")) && st.get(t) === void 0;
21958
- Le(() => {
21957
+ const { proactiveMessage: i } = ie(qe), [u, s] = se(!0), [l, c] = se(!1), d = u && (!window?.OnetrustActiveGroups || window?.OnetrustActiveGroups?.includes("C0003")) && st.get(t) === void 0;
21958
+ ke(() => {
21959
21959
  window?.OneTrust?.OnConsentChanged(() => {
21960
21960
  !window?.OnetrustActiveGroups?.includes("C0003") && st.get(t) !== void 0 && st.remove(t);
21961
21961
  });
21962
- }, [t]), Le(() => {
21962
+ }, [t]), ke(() => {
21963
21963
  r || (!window?.OnetrustActiveGroups || window?.OnetrustActiveGroups?.includes("C0003")) && p(t, 1, 1);
21964
- }, [t, r]), Le(() => {
21964
+ }, [t, r]), ke(() => {
21965
21965
  if (i?.enabled && i?.delayMs > 0) {
21966
21966
  const h = setTimeout(() => {
21967
21967
  c(!0);
@@ -22036,9 +22036,9 @@ function y3(e, t, n) {
22036
22036
  },
22037
22037
  [n]
22038
22038
  );
22039
- Le(() => (e && window.addEventListener("message", r), () => {
22039
+ ke(() => (e && window.addEventListener("message", r), () => {
22040
22040
  window.removeEventListener("message", r);
22041
- }), [e, r]), Le(() => {
22041
+ }), [e, r]), ke(() => {
22042
22042
  let a;
22043
22043
  return e && (a = document.createElement("style"), document.head.appendChild(a), ((u) => {
22044
22044
  a.innerHTML = `
@@ -22060,7 +22060,7 @@ function y3(e, t, n) {
22060
22060
  }
22061
22061
  function _3(e) {
22062
22062
  const [t, n] = se(null);
22063
- return Le(() => {
22063
+ return ke(() => {
22064
22064
  try {
22065
22065
  (() => {
22066
22066
  window.experiments?.[e] ? n(
@@ -22082,7 +22082,7 @@ function _3(e) {
22082
22082
  }, [e]), t;
22083
22083
  }
22084
22084
  function C3(e) {
22085
- Le(() => {
22085
+ ke(() => {
22086
22086
  const t = () => document.visibilityState === "visible" && e();
22087
22087
  return document.addEventListener("visibilitychange", t), () => {
22088
22088
  document.removeEventListener("visibilitychange", t);
@@ -22121,7 +22121,7 @@ function Cd({ submitEventExternal: e = null }) {
22121
22121
  userTracking: s,
22122
22122
  webExperimentation: l,
22123
22123
  widgetMode: c
22124
- } = ie(je), {
22124
+ } = ie(qe), {
22125
22125
  contentRef: d,
22126
22126
  abortControllerRef: f,
22127
22127
  onMessageSent: p,
@@ -22138,8 +22138,8 @@ function Cd({ submitEventExternal: e = null }) {
22138
22138
  setLoading: S,
22139
22139
  setLoadingHistory: w,
22140
22140
  setStreaming: W
22141
- } = ie(Je), [, q] = se(!1), [, te] = se(!1), [Y, $] = se(!1), [k, O] = se(!1), [L, F] = se(!1), V = Y || !c, U = Ze(null), z = Ze(null), T = st.get(`${a}-test`) === "1";
22142
- Le(() => {
22141
+ } = ie(et), [, q] = se(!1), [, te] = se(!1), [Y, $] = se(!1), [k, O] = se(!1), [L, F] = se(!1), V = Y || !c, U = Je(null), z = Je(null), T = st.get(`${a}-test`) === "1";
22142
+ ke(() => {
22143
22143
  g === kt.XPERT && V && U.current && U.current.focus();
22144
22144
  }, [g, V]), y3(
22145
22145
  r?.liveChat?.enabled,
@@ -22147,13 +22147,13 @@ function Cd({ submitEventExternal: e = null }) {
22147
22147
  O
22148
22148
  );
22149
22149
  const ne = ot(
22150
- ({ name: ge, payload: Se }) => {
22150
+ ({ name: ge, payload: Ae }) => {
22151
22151
  if (!n || !s?.enabled) return;
22152
- const We = ws(s?.payloadParams, Se);
22153
- e ? e({ name: ge, payload: We }) : z.current.track(
22152
+ const Ge = ws(s?.payloadParams, Ae);
22153
+ e ? e({ name: ge, payload: Ge }) : z.current.track(
22154
22154
  // TODO: this is untestable - create a custom hook to get submit event function.
22155
22155
  ge,
22156
- We
22156
+ Ge
22157
22157
  );
22158
22158
  },
22159
22159
  [
@@ -22165,12 +22165,12 @@ function Cd({ submitEventExternal: e = null }) {
22165
22165
  ), ue = async () => {
22166
22166
  if (!(!st.get(
22167
22167
  `${a}-conversation-history-id`
22168
- ) || !r?.conversationHistory?.enabled || !await (async (ze, Ge = 1e4, xe = 200) => {
22169
- let Ee = 0;
22170
- for (; !ze(); ) {
22171
- if (Ee >= Ge)
22168
+ ) || !r?.conversationHistory?.enabled || !await (async (Ye, Xe = 1e4, Pe = 200) => {
22169
+ let ve = 0;
22170
+ for (; !Ye(); ) {
22171
+ if (ve >= Xe)
22172
22172
  return !1;
22173
- await new Promise((rt) => setTimeout(rt, xe)), Ee += xe;
22173
+ await new Promise((Me) => setTimeout(Me, Pe)), ve += Pe;
22174
22174
  }
22175
22175
  return !0;
22176
22176
  })(
@@ -22178,9 +22178,9 @@ function Cd({ submitEventExternal: e = null }) {
22178
22178
  ))) {
22179
22179
  w(!0);
22180
22180
  try {
22181
- let ze = Hr(a);
22182
- const Ge = t?.baseUrl?.includes("xpert-api-services") ? "/v1/history" : "/xpert/v2/history", xe = `conversation_id=${ze}&client_id=${t?.payloadParams?.client_id}`, Ee = await fetch(
22183
- `${t.baseUrl}${Ge}?${xe}`,
22181
+ let Ye = Hr(a);
22182
+ const Xe = t?.baseUrl?.includes("xpert-api-services") ? "/v1/history" : "/xpert/v2/history", Pe = `conversation_id=${Ye}&client_id=${t?.payloadParams?.client_id}`, ve = await fetch(
22183
+ `${t.baseUrl}${Xe}?${Pe}`,
22184
22184
  {
22185
22185
  method: "GET",
22186
22186
  headers: {
@@ -22188,18 +22188,18 @@ function Cd({ submitEventExternal: e = null }) {
22188
22188
  }
22189
22189
  }
22190
22190
  );
22191
- if (!Ee.ok)
22192
- throw new Error(`HTTPError: ${Ee.status} ${Ee.statusText}`);
22193
- const rt = await Ee.json();
22191
+ if (!ve.ok)
22192
+ throw new Error(`HTTPError: ${ve.status} ${ve.statusText}`);
22193
+ const Me = await ve.json();
22194
22194
  E(
22195
- rt.map((Xe) => ({
22196
- ...Xe,
22197
- toolCalls: Xe.tool_calls,
22198
- toolCallId: Xe.tool_call_id
22195
+ Me.map((Ke) => ({
22196
+ ...Ke,
22197
+ toolCalls: Ke.tool_calls,
22198
+ toolCallId: Ke.tool_call_id
22199
22199
  }))
22200
22200
  ), D(!0), X(!0);
22201
- } catch (ze) {
22202
- console.error(ze);
22201
+ } catch (Ye) {
22202
+ console.error(Ye);
22203
22203
  } finally {
22204
22204
  w(!1);
22205
22205
  }
@@ -22207,26 +22207,26 @@ function Cd({ submitEventExternal: e = null }) {
22207
22207
  }, v = r?.conversationHistory?.enabled && V && !k;
22208
22208
  if (C3(
22209
22209
  () => v && ue()
22210
- ), Le(() => {
22211
- let ge, Se;
22210
+ ), ke(() => {
22211
+ let ge, Ae;
22212
22212
  if (n)
22213
22213
  return s?.enabled && (ge = setInterval(() => {
22214
- (window.analytics?.track || e) && (z.current = window.analytics, clearInterval(ge), clearTimeout(Se), q(!0));
22215
- }, 1e3), Se = setTimeout(() => {
22214
+ (window.analytics?.track || e) && (z.current = window.analytics, clearInterval(ge), clearTimeout(Ae), q(!0));
22215
+ }, 1e3), Ae = setTimeout(() => {
22216
22216
  clearInterval(ge);
22217
22217
  }, 6e4)), () => {
22218
- clearInterval(ge), clearTimeout(Se);
22218
+ clearInterval(ge), clearTimeout(Ae);
22219
22219
  };
22220
- }, [n, e, s?.enabled]), Le(() => {
22221
- let ge, Se;
22222
- const We = () => {
22223
- l?.enabled && window.optimizely && window.experiments && (clearInterval(ge), clearTimeout(Se), te(!0));
22220
+ }, [n, e, s?.enabled]), ke(() => {
22221
+ let ge, Ae;
22222
+ const Ge = () => {
22223
+ l?.enabled && window.optimizely && window.experiments && (clearInterval(ge), clearTimeout(Ae), te(!0));
22224
22224
  };
22225
22225
  if (n)
22226
- return ge = setInterval(We, 1e3), Se = setTimeout(() => {
22226
+ return ge = setInterval(Ge, 1e3), Ae = setTimeout(() => {
22227
22227
  clearInterval(ge);
22228
22228
  }, 6e4), () => {
22229
- clearInterval(ge), clearTimeout(Se);
22229
+ clearInterval(ge), clearTimeout(Ae);
22230
22230
  };
22231
22231
  }, [
22232
22232
  n,
@@ -22234,7 +22234,7 @@ function Cd({ submitEventExternal: e = null }) {
22234
22234
  l?.experimentName
22235
22235
  ]), _3(l?.experimentName), !n || l?.enabled && !l?.experimentName && !T || s?.enabled && !z?.current?.track && !e)
22236
22236
  return null;
22237
- const oe = (ge, Se, We) => {
22237
+ const oe = (ge, Ae, Ge) => {
22238
22238
  ne({
22239
22239
  name: "xpert.chatbot.popup.chat.message.response",
22240
22240
  payload: {
@@ -22243,14 +22243,14 @@ function Cd({ submitEventExternal: e = null }) {
22243
22243
  linkCount: A3(ge),
22244
22244
  apiResponseMessage: ge,
22245
22245
  isTestUser: T,
22246
- conversationHistoryId: Se,
22247
- elapsedSeconds: We,
22246
+ conversationHistoryId: Ae,
22247
+ elapsedSeconds: Ge,
22248
22248
  clientId: a
22249
22249
  }
22250
22250
  });
22251
- }, Te = async (ge, Se, We, ze, Ge) => {
22252
- const xe = await ge.json(), Ee = Array.isArray(xe) ? xe : [xe];
22253
- Ee.forEach(
22251
+ }, Ee = async (ge, Ae, Ge, Ye, Xe) => {
22252
+ const Pe = await ge.json(), ve = Array.isArray(Pe) ? Pe : [Pe];
22253
+ ve.forEach(
22254
22254
  ({
22255
22255
  content: vt,
22256
22256
  live_agent: j,
@@ -22268,34 +22268,34 @@ function Cd({ submitEventExternal: e = null }) {
22268
22268
  });
22269
22269
  }
22270
22270
  );
22271
- const Xe = Ee.filter(({ content: vt }) => !!vt).map((vt) => vt.content ?? "").join(""), Xt = Ns(Ge, /* @__PURE__ */ new Date());
22272
- return oe(Xe, Se, Xt), Ee;
22273
- }, he = async (ge, Se, We) => {
22274
- const ze = new TextDecoder("utf-8");
22275
- let Ge = [], xe = 0;
22276
- const Ee = /* @__PURE__ */ new Date();
22277
- let rt = 0;
22271
+ const Ke = ve.filter(({ content: vt }) => !!vt).map((vt) => vt.content ?? "").join(""), Xt = Ns(Xe, /* @__PURE__ */ new Date());
22272
+ return oe(Ke, Ae, Xt), ve;
22273
+ }, he = async (ge, Ae, Ge) => {
22274
+ const Ye = new TextDecoder("utf-8");
22275
+ let Xe = [], Pe = 0;
22276
+ const ve = /* @__PURE__ */ new Date();
22277
+ let Me = 0;
22278
22278
  for (; ; ) {
22279
22279
  const { value: Ut, done: Xt } = await ge.read();
22280
22280
  if (Xt) break;
22281
- const vt = ze.decode(Ut, { stream: !0 });
22281
+ const vt = Ye.decode(Ut, { stream: !0 });
22282
22282
  try {
22283
22283
  const j = vt.match(/\[.*?\](?=\[|$)/gs), K = JSON.parse(j[j.length - 1]).map(
22284
22284
  (re) => ({
22285
22285
  content: re.content,
22286
- createdAt: Ee,
22286
+ createdAt: ve,
22287
22287
  role: re.role,
22288
22288
  liveAgent: re.live_agent,
22289
22289
  toolCalls: re.tool_calls,
22290
22290
  toolCallId: re.tool_call_id
22291
22291
  })
22292
22292
  );
22293
- if (K.length > xe) {
22294
- for (let fe = xe; fe < K.length; fe++)
22293
+ if (K.length > Pe) {
22294
+ for (let fe = Pe; fe < K.length; fe++)
22295
22295
  h({
22296
22296
  content: ""
22297
- }), xe++;
22298
- rt = Ns(We, /* @__PURE__ */ new Date());
22297
+ }), Pe++;
22298
+ Me = Ns(Ge, /* @__PURE__ */ new Date());
22299
22299
  }
22300
22300
  await x3(), E((re) => {
22301
22301
  const fe = [...re];
@@ -22304,33 +22304,33 @@ function Cd({ submitEventExternal: e = null }) {
22304
22304
  K.length,
22305
22305
  ...K
22306
22306
  ), fe;
22307
- }), Ge = K;
22307
+ }), Xe = K;
22308
22308
  } catch {
22309
22309
  }
22310
22310
  }
22311
- const Xe = Ge.find((Ut) => Ut.content)?.content || "";
22312
- return oe(Xe, Se, rt), Ge;
22313
- }, Ae = async (ge, Se, We, ze, Ge) => {
22311
+ const Ke = Xe.find((Ut) => Ut.content)?.content || "";
22312
+ return oe(Ke, Ae, Me), Xe;
22313
+ }, Ce = async (ge, Ae, Ge, Ye, Xe) => {
22314
22314
  W(!0);
22315
- const xe = ge.body.getReader(), Ee = await he(
22316
- xe,
22317
- Se,
22318
- Ge
22315
+ const Pe = ge.body.getReader(), ve = await he(
22316
+ Pe,
22317
+ Ae,
22318
+ Xe
22319
22319
  );
22320
- return W(!1), Ee;
22321
- }, ve = async (ge) => {
22320
+ return W(!1), ve;
22321
+ }, Se = async (ge) => {
22322
22322
  try {
22323
22323
  if (ge.trim().length === 0)
22324
22324
  return;
22325
- const Se = /* @__PURE__ */ new Date();
22325
+ const Ae = /* @__PURE__ */ new Date();
22326
22326
  X(!1), P(!1);
22327
- const We = m.filter((Ee) => Ee.role === Ie.USER).length + 1;
22327
+ const Ge = m.filter((Me) => Me.role === xe.USER).length + 1;
22328
22328
  if (ne({
22329
22329
  name: "xpert.chatbot.popup.chat.message.sent",
22330
22330
  payload: {
22331
22331
  category: "2u",
22332
22332
  label: "xpert-chatbot",
22333
- totalUserInputMessagesSent: We,
22333
+ totalUserInputMessagesSent: Ge,
22334
22334
  userInputMessage: ge,
22335
22335
  isTestUser: T,
22336
22336
  clientId: a,
@@ -22340,64 +22340,65 @@ function Cd({ submitEventExternal: e = null }) {
22340
22340
  await p(ge), S(!1);
22341
22341
  return;
22342
22342
  }
22343
- let ze = null;
22344
- r.conversationHistory.enabled && (ze = Hr(a)), h({ role: Ie.USER, content: ge });
22345
- const Ge = [
22343
+ let Ye = null;
22344
+ r.conversationHistory.enabled && (Ye = Hr(a)), h({ role: xe.USER, content: ge });
22345
+ const Xe = [
22346
22346
  ...m,
22347
- { role: Ie.USER, content: ge }
22348
- ].map((Ee) => ({
22349
- role: Ee.role,
22350
- content: Ee.content,
22351
- ...Ee.toolCalls && { tool_calls: Ee.toolCalls },
22352
- ...Ee.toolCallId && { tool_call_id: Ee.toolCallId }
22347
+ { role: xe.USER, content: ge }
22348
+ ].map((Me) => ({
22349
+ role: Me.role,
22350
+ content: Me.content,
22351
+ ...Me.toolCalls && { tool_calls: Me.toolCalls },
22352
+ ...Me.toolCallId && { tool_call_id: Me.toolCallId }
22353
22353
  })).filter(
22354
- ({ role: Ee }) => [
22355
- Ie.ASSISTANT,
22356
- Ie.TOOL,
22357
- Ie.USER
22358
- ].includes(Ee)
22354
+ ({ role: Me }) => [
22355
+ xe.ASSISTANT,
22356
+ xe.TOOL,
22357
+ xe.USER
22358
+ ].includes(Me)
22359
22359
  );
22360
22360
  f.current = new AbortController();
22361
- const xe = await fetch(t.endpoint, {
22361
+ const Pe = window?.analytics?.user?.()?.id?.(), ve = await fetch(t.endpoint, {
22362
22362
  method: "POST",
22363
22363
  headers: { "Content-Type": "application/json" },
22364
22364
  body: JSON.stringify({
22365
- [t?.messagesKey]: Ge,
22365
+ [t?.messagesKey]: Xe,
22366
22366
  ...t.payloadParams,
22367
- ...ze && {
22368
- conversation_id: ze
22367
+ ...Ye && {
22368
+ conversation_id: Ye
22369
22369
  },
22370
22370
  ...t?.buildTagsFromUrl && {
22371
22371
  tags: S3(window.location.href)
22372
- }
22372
+ },
22373
+ ...Pe && { externalId: Pe }
22373
22374
  }),
22374
22375
  signal: f.current.signal
22375
22376
  });
22376
- if (!xe.ok)
22377
- throw new Error(`HTTPError: ${xe.status} ${xe.statusText}`);
22378
- S(!1), t.payloadParams?.stream ? await Ae(
22379
- xe,
22380
- ze,
22377
+ if (!ve.ok)
22378
+ throw new Error(`HTTPError: ${ve.status} ${ve.statusText}`);
22379
+ S(!1), t.payloadParams?.stream ? await Ce(
22380
+ ve,
22381
+ Ye,
22381
22382
  ge,
22382
- Ge,
22383
- Se
22384
- ) : await Te(
22385
- xe,
22386
- ze,
22383
+ Xe,
22384
+ Ae
22385
+ ) : await Ee(
22386
+ ve,
22387
+ Ye,
22387
22388
  ge,
22388
- Ge,
22389
- Se
22389
+ Xe,
22390
+ Ae
22390
22391
  ), D(!1), X(!0);
22391
- } catch (Se) {
22392
- if (Se.name === "AbortError")
22392
+ } catch (Ae) {
22393
+ if (Ae.name === "AbortError")
22393
22394
  return;
22394
- S(!1), P(!0), console.error(Se);
22395
+ S(!1), P(!0), console.error(Ae);
22395
22396
  }
22396
- }, Me = () => {
22397
+ }, Fe = () => {
22397
22398
  O(!1), $(!0), H(!0), ue();
22398
- }, Oe = (ge) => {
22399
+ }, Ie = (ge) => {
22399
22400
  H(ge);
22400
- }, et = () => {
22401
+ }, tt = () => {
22401
22402
  $(!0), H(!0), ue();
22402
22403
  }, dt = () => {
22403
22404
  $(!1), F(!1);
@@ -22410,7 +22411,7 @@ function Cd({ submitEventExternal: e = null }) {
22410
22411
  {
22411
22412
  showMessage: !V,
22412
22413
  style: Bn,
22413
- onClick: et,
22414
+ onClick: tt,
22414
22415
  cookieName: `${a}-proactive-message-xpert-chatbot`,
22415
22416
  children: /* @__PURE__ */ _.jsx("div", { className: "xpert-chatbot-proactive-message", children: /* @__PURE__ */ _.jsxs("div", { className: "xpert-chatbot-proactive-message__text", children: [
22416
22417
  u?.textPrefix && /* @__PURE__ */ _.jsx(
@@ -22441,13 +22442,13 @@ function Cd({ submitEventExternal: e = null }) {
22441
22442
  St && c && /* @__PURE__ */ _.jsx(
22442
22443
  Us,
22443
22444
  {
22444
- handleFloatingActionButtonClick: Me
22445
+ handleFloatingActionButtonClick: Fe
22445
22446
  }
22446
22447
  ),
22447
22448
  !St && c && /* @__PURE__ */ _.jsx(
22448
22449
  qs,
22449
22450
  {
22450
- handleFloatingActionButtonClick: Me
22451
+ handleFloatingActionButtonClick: Fe
22451
22452
  }
22452
22453
  ),
22453
22454
  c && /* @__PURE__ */ _.jsx(f3, {}),
@@ -22461,7 +22462,7 @@ function Cd({ submitEventExternal: e = null }) {
22461
22462
  md,
22462
22463
  {
22463
22464
  onClose: dt,
22464
- handleResizeButtonClick: Oe,
22465
+ handleResizeButtonClick: Ie,
22465
22466
  isMounted: L,
22466
22467
  setIsMounted: F
22467
22468
  }
@@ -22470,7 +22471,7 @@ function Cd({ submitEventExternal: e = null }) {
22470
22471
  g === kt.XPERT && /* @__PURE__ */ _.jsx(
22471
22472
  ld,
22472
22473
  {
22473
- handleSend: ve,
22474
+ handleSend: Se,
22474
22475
  inputRef: U,
22475
22476
  isTestUser: T,
22476
22477
  setLiveChatOpen: O,