@2uinc/frontend-component-xpert-chatbot 1.35.0-beta.6 → 1.35.0-beta.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 +752 -736
  2. package/package.json +1 -1
@@ -243,9 +243,9 @@ Xn.exports;
243
243
  var Su;
244
244
  function O0() {
245
245
  return Su || (Su = 1, function(e, t) {
246
- 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]", h = "[object Date]", p = "[object Error]", f = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", _ = "[object Number]", T = "[object Null]", M = "[object Object]", B = "[object Proxy]", K = "[object RegExp]", w = "[object Set]", y = "[object String]", k = "[object Undefined]", G = "[object WeakMap]", F = "[object ArrayBuffer]", Z = "[object DataView]", z = "[object Float32Array]", V = "[object Float64Array]", R = "[object Int8Array]", I = "[object Int16Array]", D = "[object Int32Array]", U = "[object Uint8Array]", W = "[object Uint8ClampedArray]", q = "[object Uint16Array]", Y = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, S = {};
247
- S[z] = S[V] = S[R] = S[I] = S[D] = S[U] = S[W] = S[q] = S[Y] = !0, S[s] = S[l] = S[F] = S[d] = S[Z] = S[h] = S[p] = S[f] = S[m] = S[_] = S[M] = S[K] = S[w] = S[y] = S[G] = !1;
248
- var le = typeof _r == "object" && _r && _r.Object === Object && _r, Ee = typeof self == "object" && self && self.Object === Object && self, me = le || Ee || Function("return this")(), Se = t && !t.nodeType && t, ve = Se && !0 && e && !e.nodeType && e, Me = ve && ve.exports === Se, Oe = Me && le.process, We = function() {
246
+ 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]", h = "[object Date]", p = "[object Error]", f = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", _ = "[object Number]", T = "[object Null]", M = "[object Object]", B = "[object Proxy]", K = "[object RegExp]", w = "[object Set]", y = "[object String]", k = "[object Undefined]", G = "[object WeakMap]", F = "[object ArrayBuffer]", Z = "[object DataView]", z = "[object Float32Array]", $ = "[object Float64Array]", L = "[object Int8Array]", I = "[object Int16Array]", R = "[object Int32Array]", U = "[object Uint8Array]", W = "[object Uint8ClampedArray]", q = "[object Uint16Array]", Y = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, S = {};
247
+ S[z] = S[$] = S[L] = S[I] = S[R] = S[U] = S[W] = S[q] = S[Y] = !0, S[s] = S[l] = S[F] = S[d] = S[Z] = S[h] = S[p] = S[f] = S[m] = S[_] = S[M] = S[K] = S[w] = S[y] = S[G] = !1;
248
+ var le = typeof _r == "object" && _r && _r.Object === Object && _r, ye = typeof self == "object" && self && self.Object === Object && self, me = le || ye || Function("return this")(), xe = t && !t.nodeType && t, ve = xe && !0 && e && !e.nodeType && e, Me = ve && ve.exports === xe, Oe = Me && le.process, We = function() {
249
249
  try {
250
250
  var A = ve && ve.require && ve.require("util").types;
251
251
  return A || Oe && Oe.binding && Oe.binding("util");
@@ -286,24 +286,24 @@ function O0() {
286
286
  var pn = Array.prototype, Mn = Function.prototype, St = Object.prototype, jt = me["__core-js_shared__"], Dt = Mn.toString, it = St.hasOwnProperty, Gt = function() {
287
287
  var A = /[^.]+$/.exec(jt && jt.keys && jt.keys.IE_PROTO || "");
288
288
  return A ? "Symbol(src)_1." + A : "";
289
- }(), Xt = St.toString, mn = Dt.call(Object), L = RegExp(
289
+ }(), Xt = St.toString, mn = Dt.call(Object), D = RegExp(
290
290
  "^" + Dt.call(it).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
291
- ), $ = Me ? me.Buffer : void 0, re = me.Symbol, ae = me.Uint8Array;
292
- $ && $.allocUnsafe;
293
- var ue = hn(Object.getPrototypeOf, Object), Ce = Object.create, xe = St.propertyIsEnumerable, Ue = pn.splice, Ye = re ? re.toStringTag : void 0, Ge = function() {
291
+ ), V = Me ? me.Buffer : void 0, re = me.Symbol, ae = me.Uint8Array;
292
+ V && V.allocUnsafe;
293
+ var ue = hn(Object.getPrototypeOf, Object), Te = Object.create, Ee = St.propertyIsEnumerable, Be = pn.splice, Ye = re ? re.toStringTag : void 0, Ge = function() {
294
294
  try {
295
295
  var A = la(Object, "defineProperty");
296
296
  return A({}, "", {}), A;
297
297
  } catch {
298
298
  }
299
- }(), ge = $ ? $.isBuffer : void 0, ut = Math.max, Xe = Date.now, ua = la(me, "Map"), Fn = la(Object, "create"), bd = /* @__PURE__ */ function() {
299
+ }(), ge = V ? V.isBuffer : void 0, ut = Math.max, Xe = Date.now, ua = la(me, "Map"), Fn = la(Object, "create"), bd = /* @__PURE__ */ function() {
300
300
  function A() {
301
301
  }
302
302
  return function(N) {
303
303
  if (!Qt(N))
304
304
  return {};
305
- if (Ce)
306
- return Ce(N);
305
+ if (Te)
306
+ return Te(N);
307
307
  A.prototype = N;
308
308
  var H = new A();
309
309
  return A.prototype = void 0, H;
@@ -355,7 +355,7 @@ function O0() {
355
355
  if (H < 0)
356
356
  return !1;
357
357
  var ie = N.length - 1;
358
- return H == ie ? N.pop() : Ue.call(N, H, 1), --this.size, !0;
358
+ return H == ie ? N.pop() : Be.call(N, H, 1), --this.size, !0;
359
359
  }
360
360
  function xd(A) {
361
361
  var N = this.__data__, H = br(N, A);
@@ -427,14 +427,14 @@ function O0() {
427
427
  }
428
428
  bn.prototype.clear = Dd, bn.prototype.delete = wd, bn.prototype.get = Pd, bn.prototype.has = Md, bn.prototype.set = Fd;
429
429
  function Bd(A, N) {
430
- var H = fa(A), ie = !H && da(A), Te = !H && !ie && fu(A), Ie = !H && !ie && !Te && pu(A), De = H || ie || Te || Ie, ye = De ? wn(A.length, String) : [], we = ye.length;
430
+ var H = fa(A), ie = !H && da(A), _e = !H && !ie && fu(A), Ie = !H && !ie && !_e && pu(A), De = H || ie || _e || Ie, Ce = De ? wn(A.length, String) : [], we = Ce.length;
431
431
  for (var Ct in A)
432
432
  De && // Safari 9 has enumerable `arguments.length` in strict mode.
433
433
  (Ct == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
434
- Te && (Ct == "offset" || Ct == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
434
+ _e && (Ct == "offset" || Ct == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
435
435
  Ie && (Ct == "buffer" || Ct == "byteLength" || Ct == "byteOffset") || // Skip index properties.
436
- cu(Ct, we)) || ye.push(Ct);
437
- return ye;
436
+ cu(Ct, we)) || Ce.push(Ct);
437
+ return Ce;
438
438
  }
439
439
  function oa(A, N, H) {
440
440
  (H !== void 0 && !yr(A[N], H) || H === void 0 && !(N in A)) && sa(A, N, H);
@@ -467,7 +467,7 @@ function O0() {
467
467
  function jd(A) {
468
468
  if (!Qt(A) || a0(A))
469
469
  return !1;
470
- var N = pa(A) ? L : ne;
470
+ var N = pa(A) ? D : ne;
471
471
  return N.test(c0(A));
472
472
  }
473
473
  function qd(A) {
@@ -481,28 +481,28 @@ function O0() {
481
481
  ie == "constructor" && (N || !it.call(A, ie)) || H.push(ie);
482
482
  return H;
483
483
  }
484
- function lu(A, N, H, ie, Te) {
484
+ function lu(A, N, H, ie, _e) {
485
485
  A !== N && Ud(N, function(Ie, De) {
486
- if (Te || (Te = new bn()), Qt(Ie))
487
- Yd(A, N, De, H, lu, ie, Te);
486
+ if (_e || (_e = new bn()), Qt(Ie))
487
+ Yd(A, N, De, H, lu, ie, _e);
488
488
  else {
489
- var ye = ie ? ie(ca(A, De), Ie, De + "", A, N, Te) : void 0;
490
- ye === void 0 && (ye = Ie), oa(A, De, ye);
489
+ var Ce = ie ? ie(ca(A, De), Ie, De + "", A, N, _e) : void 0;
490
+ Ce === void 0 && (Ce = Ie), oa(A, De, Ce);
491
491
  }
492
492
  }, mu);
493
493
  }
494
- function Yd(A, N, H, ie, Te, Ie, De) {
495
- var ye = ca(A, H), we = ca(N, H), Ct = De.get(we);
494
+ function Yd(A, N, H, ie, _e, Ie, De) {
495
+ var Ce = ca(A, H), we = ca(N, H), Ct = De.get(we);
496
496
  if (Ct) {
497
497
  oa(A, H, Ct);
498
498
  return;
499
499
  }
500
- var ot = Ie ? Ie(ye, we, H + "", A, N, De) : void 0, Hn = ot === void 0;
500
+ var ot = Ie ? Ie(Ce, we, H + "", A, N, De) : void 0, Hn = ot === void 0;
501
501
  if (Hn) {
502
502
  var ma = fa(we), ga = !ma && fu(we), bu = !ma && !ga && pu(we);
503
- ot = we, ma || ga || bu ? fa(ye) ? ot = ye : d0(ye) ? ot = Kd(ye) : ga ? (Hn = !1, ot = Wd(we)) : bu ? (Hn = !1, ot = Xd(we)) : ot = [] : f0(we) || da(we) ? (ot = ye, da(ye) ? ot = h0(ye) : (!Qt(ye) || pa(ye)) && (ot = t0(we))) : Hn = !1;
503
+ ot = we, ma || ga || bu ? fa(Ce) ? ot = Ce : d0(Ce) ? ot = Kd(Ce) : ga ? (Hn = !1, ot = Wd(we)) : bu ? (Hn = !1, ot = Xd(we)) : ot = [] : f0(we) || da(we) ? (ot = Ce, da(Ce) ? ot = h0(Ce) : (!Qt(Ce) || pa(Ce)) && (ot = t0(we))) : Hn = !1;
504
504
  }
505
- Hn && (De.set(we, ot), Te(ot, we, ie, Ie, De), De.delete(we)), oa(A, H, ot);
505
+ Hn && (De.set(we, ot), _e(ot, we, ie, Ie, De), De.delete(we)), oa(A, H, ot);
506
506
  }
507
507
  function $d(A, N) {
508
508
  return s0(o0(A, N, gu), A + "");
@@ -533,28 +533,28 @@ function O0() {
533
533
  return N;
534
534
  }
535
535
  function Qd(A, N, H, ie) {
536
- var Te = !H;
536
+ var _e = !H;
537
537
  H || (H = {});
538
538
  for (var Ie = -1, De = N.length; ++Ie < De; ) {
539
- var ye = N[Ie], we = void 0;
540
- we === void 0 && (we = A[ye]), Te ? sa(H, ye, we) : Hd(H, ye, we);
539
+ var Ce = N[Ie], we = void 0;
540
+ we === void 0 && (we = A[Ce]), _e ? sa(H, Ce, we) : Hd(H, Ce, we);
541
541
  }
542
542
  return H;
543
543
  }
544
544
  function Zd(A) {
545
545
  return $d(function(N, H) {
546
- var ie = -1, Te = H.length, Ie = Te > 1 ? H[Te - 1] : void 0, De = Te > 2 ? H[2] : void 0;
547
- for (Ie = A.length > 3 && typeof Ie == "function" ? (Te--, Ie) : void 0, De && n0(H[0], H[1], De) && (Ie = Te < 3 ? void 0 : Ie, Te = 1), N = Object(N); ++ie < Te; ) {
548
- var ye = H[ie];
549
- ye && A(N, ye, ie, Ie);
546
+ var ie = -1, _e = H.length, Ie = _e > 1 ? H[_e - 1] : void 0, De = _e > 2 ? H[2] : void 0;
547
+ for (Ie = A.length > 3 && typeof Ie == "function" ? (_e--, Ie) : void 0, De && n0(H[0], H[1], De) && (Ie = _e < 3 ? void 0 : Ie, _e = 1), N = Object(N); ++ie < _e; ) {
548
+ var Ce = H[ie];
549
+ Ce && A(N, Ce, ie, Ie);
550
550
  }
551
551
  return N;
552
552
  });
553
553
  }
554
554
  function Jd(A) {
555
555
  return function(N, H, ie) {
556
- for (var Te = -1, Ie = Object(N), De = ie(N), ye = De.length; ye--; ) {
557
- var we = De[++Te];
556
+ for (var _e = -1, Ie = Object(N), De = ie(N), Ce = De.length; Ce--; ) {
557
+ var we = De[++_e];
558
558
  if (H(Ie[we], we, Ie) === !1)
559
559
  break;
560
560
  }
@@ -576,8 +576,8 @@ function O0() {
576
576
  var ie = !0;
577
577
  } catch {
578
578
  }
579
- var Te = Xt.call(A);
580
- return ie && (N ? A[Ye] = H : delete A[Ye]), Te;
579
+ var _e = Xt.call(A);
580
+ return ie && (N ? A[Ye] = H : delete A[Ye]), _e;
581
581
  }
582
582
  function t0(A) {
583
583
  return typeof A.constructor == "function" && !du(A) ? bd(ue(A)) : {};
@@ -615,12 +615,12 @@ function O0() {
615
615
  }
616
616
  function o0(A, N, H) {
617
617
  return N = ut(N === void 0 ? A.length - 1 : N, 0), function() {
618
- for (var ie = arguments, Te = -1, Ie = ut(ie.length - N, 0), De = Array(Ie); ++Te < Ie; )
619
- De[Te] = ie[N + Te];
620
- Te = -1;
621
- for (var ye = Array(N + 1); ++Te < N; )
622
- ye[Te] = ie[Te];
623
- return ye[N] = H(De), _t(A, this, ye);
618
+ for (var ie = arguments, _e = -1, Ie = ut(ie.length - N, 0), De = Array(Ie); ++_e < Ie; )
619
+ De[_e] = ie[N + _e];
620
+ _e = -1;
621
+ for (var Ce = Array(N + 1); ++_e < N; )
622
+ Ce[_e] = ie[_e];
623
+ return Ce[N] = H(De), _t(A, this, Ce);
624
624
  };
625
625
  }
626
626
  function ca(A, N) {
@@ -631,8 +631,8 @@ function O0() {
631
631
  function l0(A) {
632
632
  var N = 0, H = 0;
633
633
  return function() {
634
- var ie = Xe(), Te = i - (ie - H);
635
- if (H = ie, Te > 0) {
634
+ var ie = Xe(), _e = i - (ie - H);
635
+ if (H = ie, _e > 0) {
636
636
  if (++N >= a)
637
637
  return arguments[0];
638
638
  } else
@@ -659,7 +659,7 @@ function O0() {
659
659
  var da = su(/* @__PURE__ */ function() {
660
660
  return arguments;
661
661
  }()) ? su : function(A) {
662
- return Bn(A) && it.call(A, "callee") && !xe.call(A, "callee");
662
+ return Bn(A) && it.call(A, "callee") && !Ee.call(A, "callee");
663
663
  }, fa = Array.isArray;
664
664
  function ha(A) {
665
665
  return A != null && hu(A.length) && !pa(A);
@@ -1427,7 +1427,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
1427
1427
  if (!e)
1428
1428
  throw new Error("id is required");
1429
1429
  return M0[e] || {};
1430
- }, Be = Wr({}), vs = ({
1430
+ }, He = Wr({}), vs = ({
1431
1431
  children: e,
1432
1432
  clientId: t = null,
1433
1433
  configurations: n = null,
@@ -1474,7 +1474,7 @@ const xs = /* @__PURE__ */ kt(I0), N0 = {
1474
1474
  [n, s]
1475
1475
  ), h = or(() => t || r ? i : !!n, [t, i, n, r]);
1476
1476
  return /* @__PURE__ */ v.jsx(
1477
- Be.Provider,
1477
+ He.Provider,
1478
1478
  {
1479
1479
  value: {
1480
1480
  ...d,
@@ -1610,7 +1610,7 @@ const Lt = Wr({}), Os = x.shape({
1610
1610
  onFeedbackSelection: r,
1611
1611
  onMessageSent: a
1612
1612
  }) => {
1613
- const i = pt(null), { id: u } = se(Be), [s, l] = de(null), [c, d] = de(!1), [h, p] = de([]), f = bt(() => {
1613
+ const i = pt(null), { id: u } = se(He), [s, l] = de(null), [c, d] = de(!1), [h, p] = de([]), f = bt(() => {
1614
1614
  l(null), d(!1), p([]), ft.remove(`${u}-conversation-history-id`);
1615
1615
  }, [u, l]), m = {
1616
1616
  contentRef: i,
@@ -1752,7 +1752,7 @@ eyes follow your mouse when you hover near it.`, Ls = ({
1752
1752
  handleFloatingActionButtonClick: e = null
1753
1753
  }) => {
1754
1754
  var f, b, m, _;
1755
- const { id: t, launchButton: n } = se(Be), { isMobile: r } = se(Ze), a = !ft.get(
1755
+ const { id: t, launchButton: n } = se(He), { isMobile: r } = se(Ze), a = !ft.get(
1756
1756
  `${t}-proactive-message-xpert-chatbot`
1757
1757
  ), i = pt(null), u = pt(!1), s = a ? (f = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : f.delayMs : ((b = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : b.delayMs) * 2, [l, c] = de(!1), d = window.matchMedia(
1758
1758
  `(max-width: ${j0}px)`
@@ -1961,7 +1961,7 @@ const z0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20hei
1961
1961
  handleFloatingActionButtonClick: e = null
1962
1962
  }) => {
1963
1963
  var r, a;
1964
- const { launchButton: t } = se(Be), { isMobile: n } = se(Ze);
1964
+ const { launchButton: t } = se(He), { isMobile: n } = se(Ze);
1965
1965
  return /* @__PURE__ */ v.jsx(
1966
1966
  xi,
1967
1967
  {
@@ -2338,68 +2338,68 @@ var ku = {
2338
2338
  delayInitialFocusTimer: void 0,
2339
2339
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
2340
2340
  recentNavEvent: void 0
2341
- }, s, l = function(R, I, D) {
2342
- return R && R[I] !== void 0 ? R[I] : i[D || I];
2343
- }, c = function(R, I) {
2344
- var D = typeof (I == null ? void 0 : I.composedPath) == "function" ? I.composedPath() : void 0;
2341
+ }, s, l = function(L, I, R) {
2342
+ return L && L[I] !== void 0 ? L[I] : i[R || I];
2343
+ }, c = function(L, I) {
2344
+ var R = typeof (I == null ? void 0 : I.composedPath) == "function" ? I.composedPath() : void 0;
2345
2345
  return u.containerGroups.findIndex(function(U) {
2346
2346
  var W = U.container, q = U.tabbableNodes;
2347
- return W.contains(R) || // fall back to explicit tabbable search which will take into consideration any
2347
+ return W.contains(L) || // fall back to explicit tabbable search which will take into consideration any
2348
2348
  // web components if the `tabbableOptions.getShadowRoot` option was used for
2349
2349
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
2350
2350
  // look inside web components even if open)
2351
- (D == null ? void 0 : D.includes(W)) || q.find(function(Y) {
2352
- return Y === R;
2351
+ (R == null ? void 0 : R.includes(W)) || q.find(function(Y) {
2352
+ return Y === L;
2353
2353
  });
2354
2354
  });
2355
- }, d = function(R) {
2356
- var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, D = I.hasFallback, U = D === void 0 ? !1 : D, W = I.params, q = W === void 0 ? [] : W, Y = i[R];
2355
+ }, d = function(L) {
2356
+ var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, R = I.hasFallback, U = R === void 0 ? !1 : R, W = I.params, q = W === void 0 ? [] : W, Y = i[L];
2357
2357
  if (typeof Y == "function" && (Y = Y.apply(void 0, ff(q))), Y === !0 && (Y = void 0), !Y) {
2358
2358
  if (Y === void 0 || Y === !1)
2359
2359
  return Y;
2360
- throw new Error("`".concat(R, "` was specified but was not a node, or did not return a node"));
2360
+ throw new Error("`".concat(L, "` was specified but was not a node, or did not return a node"));
2361
2361
  }
2362
2362
  var g = Y;
2363
2363
  if (typeof Y == "string") {
2364
2364
  try {
2365
2365
  g = r.querySelector(Y);
2366
2366
  } catch (ne) {
2367
- throw new Error("`".concat(R, '` appears to be an invalid selector; error="').concat(ne.message, '"'));
2367
+ throw new Error("`".concat(L, '` appears to be an invalid selector; error="').concat(ne.message, '"'));
2368
2368
  }
2369
2369
  if (!g && !U)
2370
- throw new Error("`".concat(R, "` as selector refers to no known node"));
2370
+ throw new Error("`".concat(L, "` as selector refers to no known node"));
2371
2371
  }
2372
2372
  return g;
2373
2373
  }, h = function() {
2374
- var R = d("initialFocus", {
2374
+ var L = d("initialFocus", {
2375
2375
  hasFallback: !0
2376
2376
  });
2377
- if (R === !1)
2377
+ if (L === !1)
2378
2378
  return !1;
2379
- if (R === void 0 || R && !kr(R, i.tabbableOptions))
2379
+ if (L === void 0 || L && !kr(L, i.tabbableOptions))
2380
2380
  if (c(r.activeElement) >= 0)
2381
- R = r.activeElement;
2381
+ L = r.activeElement;
2382
2382
  else {
2383
- var I = u.tabbableGroups[0], D = I && I.firstTabbableNode;
2384
- R = D || d("fallbackFocus");
2383
+ var I = u.tabbableGroups[0], R = I && I.firstTabbableNode;
2384
+ L = R || d("fallbackFocus");
2385
2385
  }
2386
- else R === null && (R = d("fallbackFocus"));
2387
- if (!R)
2386
+ else L === null && (L = d("fallbackFocus"));
2387
+ if (!L)
2388
2388
  throw new Error("Your focus-trap needs to have at least one focusable element");
2389
- return R;
2389
+ return L;
2390
2390
  }, p = function() {
2391
- if (u.containerGroups = u.containers.map(function(R) {
2392
- var I = Us(R, i.tabbableOptions), D = js(R, i.tabbableOptions), U = I.length > 0 ? I[0] : void 0, W = I.length > 0 ? I[I.length - 1] : void 0, q = D.find(function(ne) {
2391
+ if (u.containerGroups = u.containers.map(function(L) {
2392
+ var I = Us(L, i.tabbableOptions), R = js(L, i.tabbableOptions), U = I.length > 0 ? I[0] : void 0, W = I.length > 0 ? I[I.length - 1] : void 0, q = R.find(function(ne) {
2393
2393
  return tn(ne);
2394
- }), Y = D.slice().reverse().find(function(ne) {
2394
+ }), Y = R.slice().reverse().find(function(ne) {
2395
2395
  return tn(ne);
2396
2396
  }), g = !!I.find(function(ne) {
2397
2397
  return $t(ne) > 0;
2398
2398
  });
2399
2399
  return {
2400
- container: R,
2400
+ container: L,
2401
2401
  tabbableNodes: I,
2402
- focusableNodes: D,
2402
+ focusableNodes: R,
2403
2403
  /** True if at least one node with positive `tabindex` was found in this container. */
2404
2404
  posTabIndexesFound: g,
2405
2405
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
@@ -2427,74 +2427,74 @@ var ku = {
2427
2427
  */
2428
2428
  nextTabbableNode: function(oe) {
2429
2429
  var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, le = I.indexOf(oe);
2430
- return le < 0 ? S ? D.slice(D.indexOf(oe) + 1).find(function(Ee) {
2431
- return tn(Ee);
2432
- }) : D.slice(0, D.indexOf(oe)).reverse().find(function(Ee) {
2433
- return tn(Ee);
2430
+ return le < 0 ? S ? R.slice(R.indexOf(oe) + 1).find(function(ye) {
2431
+ return tn(ye);
2432
+ }) : R.slice(0, R.indexOf(oe)).reverse().find(function(ye) {
2433
+ return tn(ye);
2434
2434
  }) : I[le + (S ? 1 : -1)];
2435
2435
  }
2436
2436
  };
2437
- }), u.tabbableGroups = u.containerGroups.filter(function(R) {
2438
- return R.tabbableNodes.length > 0;
2437
+ }), u.tabbableGroups = u.containerGroups.filter(function(L) {
2438
+ return L.tabbableNodes.length > 0;
2439
2439
  }), u.tabbableGroups.length <= 0 && !d("fallbackFocus"))
2440
2440
  throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");
2441
- if (u.containerGroups.find(function(R) {
2442
- return R.posTabIndexesFound;
2441
+ if (u.containerGroups.find(function(L) {
2442
+ return L.posTabIndexesFound;
2443
2443
  }) && u.containerGroups.length > 1)
2444
2444
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
2445
- }, f = function(R) {
2446
- var I = R.activeElement;
2445
+ }, f = function(L) {
2446
+ var I = L.activeElement;
2447
2447
  if (I)
2448
2448
  return I.shadowRoot && I.shadowRoot.activeElement !== null ? f(I.shadowRoot) : I;
2449
- }, b = function(R) {
2450
- if (R !== !1 && R !== f(document)) {
2451
- if (!R || !R.focus) {
2449
+ }, b = function(L) {
2450
+ if (L !== !1 && L !== f(document)) {
2451
+ if (!L || !L.focus) {
2452
2452
  b(h());
2453
2453
  return;
2454
2454
  }
2455
- R.focus({
2455
+ L.focus({
2456
2456
  preventScroll: !!i.preventScroll
2457
- }), u.mostRecentlyFocusedNode = R, gf(R) && R.select();
2457
+ }), u.mostRecentlyFocusedNode = L, gf(L) && L.select();
2458
2458
  }
2459
- }, m = function(R) {
2459
+ }, m = function(L) {
2460
2460
  var I = d("setReturnFocus", {
2461
- params: [R]
2461
+ params: [L]
2462
2462
  });
2463
- return I || (I === !1 ? !1 : R);
2464
- }, _ = function(R) {
2465
- var I = R.target, D = R.event, U = R.isBackward, W = U === void 0 ? !1 : U;
2466
- I = I || Ar(D), p();
2463
+ return I || (I === !1 ? !1 : L);
2464
+ }, _ = function(L) {
2465
+ var I = L.target, R = L.event, U = L.isBackward, W = U === void 0 ? !1 : U;
2466
+ I = I || Ar(R), p();
2467
2467
  var q = null;
2468
2468
  if (u.tabbableGroups.length > 0) {
2469
- var Y = c(I, D), g = Y >= 0 ? u.containerGroups[Y] : void 0;
2469
+ var Y = c(I, R), g = Y >= 0 ? u.containerGroups[Y] : void 0;
2470
2470
  if (Y < 0)
2471
2471
  W ? q = u.tabbableGroups[u.tabbableGroups.length - 1].lastTabbableNode : q = u.tabbableGroups[0].firstTabbableNode;
2472
2472
  else if (W) {
2473
- var ne = u.tabbableGroups.findIndex(function(Se) {
2474
- var ve = Se.firstTabbableNode;
2473
+ var ne = u.tabbableGroups.findIndex(function(xe) {
2474
+ var ve = xe.firstTabbableNode;
2475
2475
  return I === ve;
2476
2476
  });
2477
2477
  if (ne < 0 && (g.container === I || kr(I, i.tabbableOptions) && !tn(I, i.tabbableOptions) && !g.nextTabbableNode(I, !1)) && (ne = Y), ne >= 0) {
2478
2478
  var oe = ne === 0 ? u.tabbableGroups.length - 1 : ne - 1, S = u.tabbableGroups[oe];
2479
2479
  q = $t(I) >= 0 ? S.lastTabbableNode : S.lastDomTabbableNode;
2480
- } else Qn(D) || (q = g.nextTabbableNode(I, !1));
2480
+ } else Qn(R) || (q = g.nextTabbableNode(I, !1));
2481
2481
  } else {
2482
- var le = u.tabbableGroups.findIndex(function(Se) {
2483
- var ve = Se.lastTabbableNode;
2482
+ var le = u.tabbableGroups.findIndex(function(xe) {
2483
+ var ve = xe.lastTabbableNode;
2484
2484
  return I === ve;
2485
2485
  });
2486
2486
  if (le < 0 && (g.container === I || kr(I, i.tabbableOptions) && !tn(I, i.tabbableOptions) && !g.nextTabbableNode(I)) && (le = Y), le >= 0) {
2487
- var Ee = le === u.tabbableGroups.length - 1 ? 0 : le + 1, me = u.tabbableGroups[Ee];
2487
+ var ye = le === u.tabbableGroups.length - 1 ? 0 : le + 1, me = u.tabbableGroups[ye];
2488
2488
  q = $t(I) >= 0 ? me.firstTabbableNode : me.firstDomTabbableNode;
2489
- } else Qn(D) || (q = g.nextTabbableNode(I));
2489
+ } else Qn(R) || (q = g.nextTabbableNode(I));
2490
2490
  }
2491
2491
  } else
2492
2492
  q = d("fallbackFocus");
2493
2493
  return q;
2494
- }, T = function(R) {
2495
- var I = Ar(R);
2496
- if (!(c(I, R) >= 0)) {
2497
- if (Un(i.clickOutsideDeactivates, R)) {
2494
+ }, T = function(L) {
2495
+ var I = Ar(L);
2496
+ if (!(c(I, L) >= 0)) {
2497
+ if (Un(i.clickOutsideDeactivates, L)) {
2498
2498
  s.deactivate({
2499
2499
  // NOTE: by setting `returnFocus: false`, deactivate() will do nothing,
2500
2500
  // which will result in the outside click setting focus to the node
@@ -2506,14 +2506,14 @@ var ku = {
2506
2506
  });
2507
2507
  return;
2508
2508
  }
2509
- Un(i.allowOutsideClick, R) || R.preventDefault();
2509
+ Un(i.allowOutsideClick, L) || L.preventDefault();
2510
2510
  }
2511
- }, M = function(R) {
2512
- var I = Ar(R), D = c(I, R) >= 0;
2513
- if (D || I instanceof Document)
2514
- D && (u.mostRecentlyFocusedNode = I);
2511
+ }, M = function(L) {
2512
+ var I = Ar(L), R = c(I, L) >= 0;
2513
+ if (R || I instanceof Document)
2514
+ R && (u.mostRecentlyFocusedNode = I);
2515
2515
  else {
2516
- R.stopImmediatePropagation();
2516
+ L.stopImmediatePropagation();
2517
2517
  var U, W = !0;
2518
2518
  if (u.mostRecentlyFocusedNode)
2519
2519
  if ($t(u.mostRecentlyFocusedNode) > 0) {
@@ -2540,21 +2540,21 @@ var ku = {
2540
2540
  })), b(U || u.mostRecentlyFocusedNode || h());
2541
2541
  }
2542
2542
  u.recentNavEvent = void 0;
2543
- }, B = function(R) {
2543
+ }, B = function(L) {
2544
2544
  var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2545
- u.recentNavEvent = R;
2546
- var D = _({
2547
- event: R,
2545
+ u.recentNavEvent = L;
2546
+ var R = _({
2547
+ event: L,
2548
2548
  isBackward: I
2549
2549
  });
2550
- D && (Qn(R) && R.preventDefault(), b(D));
2551
- }, K = function(R) {
2552
- (i.isKeyForward(R) || i.isKeyBackward(R)) && B(R, i.isKeyBackward(R));
2553
- }, w = function(R) {
2554
- bf(R) && Un(i.escapeDeactivates, R) !== !1 && (R.preventDefault(), s.deactivate());
2555
- }, y = function(R) {
2556
- var I = Ar(R);
2557
- c(I, R) >= 0 || Un(i.clickOutsideDeactivates, R) || Un(i.allowOutsideClick, R) || (R.preventDefault(), R.stopImmediatePropagation());
2550
+ R && (Qn(L) && L.preventDefault(), b(R));
2551
+ }, K = function(L) {
2552
+ (i.isKeyForward(L) || i.isKeyBackward(L)) && B(L, i.isKeyBackward(L));
2553
+ }, w = function(L) {
2554
+ bf(L) && Un(i.escapeDeactivates, L) !== !1 && (L.preventDefault(), s.deactivate());
2555
+ }, y = function(L) {
2556
+ var I = Ar(L);
2557
+ c(I, L) >= 0 || Un(i.clickOutsideDeactivates, L) || Un(i.allowOutsideClick, L) || (L.preventDefault(), L.stopImmediatePropagation());
2558
2558
  }, k = function() {
2559
2559
  if (u.active)
2560
2560
  return ku.activateTrap(a, s), u.delayInitialFocusTimer = i.delayInitialFocus ? Lu(function() {
@@ -2575,17 +2575,17 @@ var ku = {
2575
2575
  }, G = function() {
2576
2576
  if (u.active)
2577
2577
  return r.removeEventListener("focusin", M, !0), r.removeEventListener("mousedown", T, !0), r.removeEventListener("touchstart", T, !0), r.removeEventListener("click", y, !0), r.removeEventListener("keydown", K, !0), r.removeEventListener("keydown", w), s;
2578
- }, F = function(R) {
2579
- var I = R.some(function(D) {
2580
- var U = Array.from(D.removedNodes);
2578
+ }, F = function(L) {
2579
+ var I = L.some(function(R) {
2580
+ var U = Array.from(R.removedNodes);
2581
2581
  return U.some(function(W) {
2582
2582
  return W === u.mostRecentlyFocusedNode;
2583
2583
  });
2584
2584
  });
2585
2585
  I && b(h());
2586
2586
  }, Z = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(F) : void 0, z = function() {
2587
- Z && (Z.disconnect(), u.active && !u.paused && u.containers.map(function(R) {
2588
- Z.observe(R, {
2587
+ Z && (Z.disconnect(), u.active && !u.paused && u.containers.map(function(L) {
2588
+ Z.observe(L, {
2589
2589
  subtree: !0,
2590
2590
  childList: !0
2591
2591
  });
@@ -2598,27 +2598,27 @@ var ku = {
2598
2598
  get paused() {
2599
2599
  return u.paused;
2600
2600
  },
2601
- activate: function(R) {
2601
+ activate: function(L) {
2602
2602
  if (u.active)
2603
2603
  return this;
2604
- var I = l(R, "onActivate"), D = l(R, "onPostActivate"), U = l(R, "checkCanFocusTrap");
2604
+ var I = l(L, "onActivate"), R = l(L, "onPostActivate"), U = l(L, "checkCanFocusTrap");
2605
2605
  U || p(), u.active = !0, u.paused = !1, u.nodeFocusedBeforeActivation = r.activeElement, I == null || I();
2606
2606
  var W = function() {
2607
- U && p(), k(), z(), D == null || D();
2607
+ U && p(), k(), z(), R == null || R();
2608
2608
  };
2609
2609
  return U ? (U(u.containers.concat()).then(W, W), this) : (W(), this);
2610
2610
  },
2611
- deactivate: function(R) {
2611
+ deactivate: function(L) {
2612
2612
  if (!u.active)
2613
2613
  return this;
2614
2614
  var I = Nu({
2615
2615
  onDeactivate: i.onDeactivate,
2616
2616
  onPostDeactivate: i.onPostDeactivate,
2617
2617
  checkCanReturnFocus: i.checkCanReturnFocus
2618
- }, R);
2618
+ }, L);
2619
2619
  clearTimeout(u.delayInitialFocusTimer), u.delayInitialFocusTimer = void 0, G(), u.active = !1, u.paused = !1, z(), ku.deactivateTrap(a, s);
2620
- var D = l(I, "onDeactivate"), U = l(I, "onPostDeactivate"), W = l(I, "checkCanReturnFocus"), q = l(I, "returnFocus", "returnFocusOnDeactivate");
2621
- D == null || D();
2620
+ var R = l(I, "onDeactivate"), U = l(I, "onPostDeactivate"), W = l(I, "checkCanReturnFocus"), q = l(I, "returnFocus", "returnFocusOnDeactivate");
2621
+ R == null || R();
2622
2622
  var Y = function() {
2623
2623
  Lu(function() {
2624
2624
  q && b(m(u.nodeFocusedBeforeActivation)), U == null || U();
@@ -2626,16 +2626,16 @@ var ku = {
2626
2626
  };
2627
2627
  return q && W ? (W(m(u.nodeFocusedBeforeActivation)).then(Y, Y), this) : (Y(), this);
2628
2628
  },
2629
- pause: function(R) {
2630
- return u.active ? (u.manuallyPaused = !0, this._setPausedState(!0, R)) : this;
2629
+ pause: function(L) {
2630
+ return u.active ? (u.manuallyPaused = !0, this._setPausedState(!0, L)) : this;
2631
2631
  },
2632
- unpause: function(R) {
2633
- return u.active ? (u.manuallyPaused = !1, a[a.length - 1] !== this ? this : this._setPausedState(!1, R)) : this;
2632
+ unpause: function(L) {
2633
+ return u.active ? (u.manuallyPaused = !1, a[a.length - 1] !== this ? this : this._setPausedState(!1, L)) : this;
2634
2634
  },
2635
- updateContainerElements: function(R) {
2636
- var I = [].concat(R).filter(Boolean);
2637
- return u.containers = I.map(function(D) {
2638
- return typeof D == "string" ? r.querySelector(D) : D;
2635
+ updateContainerElements: function(L) {
2636
+ var I = [].concat(L).filter(Boolean);
2637
+ return u.containers = I.map(function(R) {
2638
+ return typeof R == "string" ? r.querySelector(R) : R;
2639
2639
  }), u.active && p(), z(), this;
2640
2640
  }
2641
2641
  }, Object.defineProperties(s, {
@@ -2645,12 +2645,12 @@ var ku = {
2645
2645
  }
2646
2646
  },
2647
2647
  _setPausedState: {
2648
- value: function(R, I) {
2649
- if (u.paused === R)
2648
+ value: function(L, I) {
2649
+ if (u.paused === L)
2650
2650
  return this;
2651
- if (u.paused = R, R) {
2652
- var D = l(I, "onPause"), U = l(I, "onPostPause");
2653
- D == null || D(), G(), z(), U == null || U();
2651
+ if (u.paused = L, L) {
2652
+ var R = l(I, "onPause"), U = l(I, "onPostPause");
2653
+ R == null || R(), G(), z(), U == null || U();
2654
2654
  } else {
2655
2655
  var W = l(I, "onUnpause"), q = l(I, "onPostUnpause");
2656
2656
  W == null || W(), p(), k(), z(), q == null || q();
@@ -2744,23 +2744,23 @@ function xf() {
2744
2744
  var b = Et, m = /* @__PURE__ */ Ss(), _ = Af, T = _.createFocusTrap, M = Sf, B = M.isFocusable, K = /* @__PURE__ */ function(y) {
2745
2745
  function k(G) {
2746
2746
  var F;
2747
- t(this, k), F = a(this, k, [G]), h(F, "getNodeForOption", function(V) {
2748
- var R, I = (R = this.internalOptions[V]) !== null && R !== void 0 ? R : this.originalOptions[V];
2747
+ t(this, k), F = a(this, k, [G]), h(F, "getNodeForOption", function($) {
2748
+ var L, I = (L = this.internalOptions[$]) !== null && L !== void 0 ? L : this.originalOptions[$];
2749
2749
  if (typeof I == "function") {
2750
- for (var D = arguments.length, U = new Array(D > 1 ? D - 1 : 0), W = 1; W < D; W++)
2750
+ for (var R = arguments.length, U = new Array(R > 1 ? R - 1 : 0), W = 1; W < R; W++)
2751
2751
  U[W - 1] = arguments[W];
2752
2752
  I = I.apply(void 0, U);
2753
2753
  }
2754
2754
  if (I === !0 && (I = void 0), !I) {
2755
2755
  if (I === void 0 || I === !1)
2756
2756
  return I;
2757
- throw new Error("`".concat(V, "` was specified but was not a node, or did not return a node"));
2757
+ throw new Error("`".concat($, "` was specified but was not a node, or did not return a node"));
2758
2758
  }
2759
2759
  var q = I;
2760
2760
  if (typeof I == "string") {
2761
2761
  var Y;
2762
2762
  if (q = (Y = this.getDocument()) === null || Y === void 0 ? void 0 : Y.querySelector(I), !q)
2763
- throw new Error("`".concat(V, "` as selector refers to no known node"));
2763
+ throw new Error("`".concat($, "` as selector refers to no known node"));
2764
2764
  }
2765
2765
  return q;
2766
2766
  }), F.handleDeactivate = F.handleDeactivate.bind(F), F.handlePostDeactivate = F.handlePostDeactivate.bind(F), F.handleClickOutsideDeactivates = F.handleClickOutsideDeactivates.bind(F), F.internalOptions = {
@@ -2860,16 +2860,16 @@ function xf() {
2860
2860
  key: "handlePostDeactivate",
2861
2861
  value: function() {
2862
2862
  var F = this, Z = function() {
2863
- var V = F.getReturnFocusNode(), R = !!// did the consumer allow it?
2863
+ var $ = F.getReturnFocusNode(), L = !!// did the consumer allow it?
2864
2864
  (F.originalOptions.returnFocusOnDeactivate && // can we actually focus the node?
2865
- V !== null && V !== void 0 && V.focus && // was there an outside click that allowed deactivation?
2865
+ $ !== null && $ !== void 0 && $.focus && // was there an outside click that allowed deactivation?
2866
2866
  (!F.outsideClick || // did the consumer allow deactivation when the outside node was clicked?
2867
2867
  F.outsideClick.allowDeactivation && // is the outside node NOT focusable (implying that it did NOT receive focus
2868
2868
  // as a result of the click-through) -- in which case do NOT restore focus
2869
2869
  // to `returnFocusNode` because focus should remain on the outside node
2870
- !B(F.outsideClick.target, F.internalOptions.tabbableOptions))), I = F.internalOptions.preventScroll, D = I === void 0 ? !1 : I;
2871
- R && V.focus({
2872
- preventScroll: D
2870
+ !B(F.outsideClick.target, F.internalOptions.tabbableOptions))), I = F.internalOptions.preventScroll, R = I === void 0 ? !1 : I;
2871
+ L && $.focus({
2872
+ preventScroll: R
2873
2873
  }), F.originalOptions.onPostDeactivate && F.originalOptions.onPostDeactivate.call(null), F.outsideClick = null;
2874
2874
  };
2875
2875
  this.originalOptions.checkCanReturnFocus ? this.originalOptions.checkCanReturnFocus.call(null, this.getReturnFocusNode()).then(Z, Z) : Z();
@@ -2894,12 +2894,12 @@ function xf() {
2894
2894
  value: function(F) {
2895
2895
  if (this.focusTrap) {
2896
2896
  F.containerElements !== this.props.containerElements && this.focusTrap.updateContainerElements(this.props.containerElements);
2897
- var Z = !F.active && this.props.active, z = F.active && !this.props.active, V = !F.paused && this.props.paused, R = F.paused && !this.props.paused;
2897
+ var Z = !F.active && this.props.active, z = F.active && !this.props.active, $ = !F.paused && this.props.paused, L = F.paused && !this.props.paused;
2898
2898
  if (Z && (this.updatePreviousElement(), this.focusTrap.activate()), z) {
2899
2899
  this.deactivateTrap();
2900
2900
  return;
2901
2901
  }
2902
- V && this.focusTrap.pause(), R && this.focusTrap.unpause();
2902
+ $ && this.focusTrap.pause(), L && this.focusTrap.unpause();
2903
2903
  } else
2904
2904
  F.containerElements !== this.props.containerElements && (this.focusTrapElements = this.props.containerElements), this.props.active && (this.updatePreviousElement(), this.setupFocusTrap());
2905
2905
  }
@@ -2916,12 +2916,12 @@ function xf() {
2916
2916
  if (Z.type && Z.type === b.Fragment)
2917
2917
  throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");
2918
2918
  var z = function(I) {
2919
- var D = F.props.containerElements;
2920
- Z && (typeof Z.ref == "function" ? Z.ref(I) : Z.ref && (Z.ref.current = I)), F.focusTrapElements = D || [I];
2921
- }, V = b.cloneElement(Z, {
2919
+ var R = F.props.containerElements;
2920
+ Z && (typeof Z.ref == "function" ? Z.ref(I) : Z.ref && (Z.ref.current = I)), F.focusTrapElements = R || [I];
2921
+ }, $ = b.cloneElement(Z, {
2922
2922
  ref: z
2923
2923
  });
2924
- return V;
2924
+ return $;
2925
2925
  }
2926
2926
  return null;
2927
2927
  }
@@ -3030,7 +3030,7 @@ qs.propTypes = {
3030
3030
  className: x.string
3031
3031
  };
3032
3032
  function zs({ children: e, isMounted: t }) {
3033
- const { widgetMode: n } = se(Be);
3033
+ const { widgetMode: n } = se(He);
3034
3034
  return n ? /* @__PURE__ */ v.jsx(qs, { isMounted: t, children: e }) : /* @__PURE__ */ v.jsx("div", { className: "xpert_chatbot_inline", children: e });
3035
3035
  }
3036
3036
  zs.propTypes = {
@@ -3038,7 +3038,7 @@ zs.propTypes = {
3038
3038
  isMounted: x.bool
3039
3039
  };
3040
3040
  const Ys = () => {
3041
- const { disclaimer: e } = se(Be), t = pt(null);
3041
+ const { disclaimer: e } = se(He), t = pt(null);
3042
3042
  return Fe(() => {
3043
3043
  var n;
3044
3044
  (n = t == null ? void 0 : t.current) == null || n.focus();
@@ -4281,7 +4281,7 @@ function ki({
4281
4281
  value: i
4282
4282
  }) {
4283
4283
  var b;
4284
- const { conversationScreen: u, primaryColor: s } = se(Be), { isConversationLoading: l } = se(Lt), { hasError: c, hasNewMessage: d } = se(Ze);
4284
+ const { conversationScreen: u, primaryColor: s } = se(He), { isConversationLoading: l } = se(Lt), { hasError: c, hasNewMessage: d } = se(Ze);
4285
4285
  Fe(() => {
4286
4286
  var m;
4287
4287
  (c || d) && ((m = a.current) == null || m.focus());
@@ -4473,7 +4473,7 @@ function Li({
4473
4473
  userTrackingName: s = "clicked"
4474
4474
  }) {
4475
4475
  var T, M, B, K;
4476
- const [l, c] = de(!0), { primaryColor: d, id: h, userTracking: p, conversationScreen: f } = se(Be), b = bt(
4476
+ const [l, c] = de(!0), { primaryColor: d, id: h, userTracking: p, conversationScreen: f } = se(He), b = bt(
4477
4477
  (w) => {
4478
4478
  var y, k, G, F;
4479
4479
  ((y = w == null ? void 0 : w.data) == null ? void 0 : y.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (k = window == null ? void 0 : window.OnetrustActiveGroups) != null && k.includes("C0003")) && ft.set(`${h}-live-chat-open`, 1, {
@@ -5397,7 +5397,7 @@ function ce(e) {
5397
5397
  function tt(e) {
5398
5398
  return e !== null && (e < 0 || e === 32);
5399
5399
  }
5400
- function _e(e) {
5400
+ function Ae(e) {
5401
5401
  return e === -2 || e === -1 || e === 32;
5402
5402
  }
5403
5403
  const sp = Wt(ap), lp = Wt(/\s/);
@@ -5412,10 +5412,10 @@ function Re(e, t, n, r) {
5412
5412
  let i = 0;
5413
5413
  return u;
5414
5414
  function u(l) {
5415
- return _e(l) ? (e.enter(n), s(l)) : t(l);
5415
+ return Ae(l) ? (e.enter(n), s(l)) : t(l);
5416
5416
  }
5417
5417
  function s(l) {
5418
- return _e(l) && i++ < a ? (e.consume(l), s) : (e.exit(n), t(l));
5418
+ return Ae(l) && i++ < a ? (e.consume(l), s) : (e.exit(n), t(l));
5419
5419
  }
5420
5420
  }
5421
5421
  const cp = {
@@ -5738,7 +5738,7 @@ const Kr = {
5738
5738
  function Tp(e, t, n) {
5739
5739
  return r;
5740
5740
  function r(i) {
5741
- return _e(i) ? Re(e, a, "linePrefix")(i) : a(i);
5741
+ return Ae(i) ? Re(e, a, "linePrefix")(i) : a(i);
5742
5742
  }
5743
5743
  function a(i) {
5744
5744
  return i === null || ce(i) ? t(i) : n(i);
@@ -5765,14 +5765,14 @@ function yp(e, t, n) {
5765
5765
  return n(u);
5766
5766
  }
5767
5767
  function i(u) {
5768
- return _e(u) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(u), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(u));
5768
+ return Ae(u) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(u), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(u));
5769
5769
  }
5770
5770
  }
5771
5771
  function _p(e, t, n) {
5772
5772
  const r = this;
5773
5773
  return a;
5774
5774
  function a(u) {
5775
- return _e(u) ? Re(
5775
+ return Ae(u) ? Re(
5776
5776
  e,
5777
5777
  i,
5778
5778
  "linePrefix",
@@ -5858,7 +5858,7 @@ function xp(e, t, n) {
5858
5858
  return i = k && k[1].type === "linePrefix" ? k[2].sliceSerialize(k[1], !0).length : 0, s = y, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), d(y);
5859
5859
  }
5860
5860
  function d(y) {
5861
- return y === s ? (u++, e.consume(y), d) : u < 3 ? n(y) : (e.exit("codeFencedFenceSequence"), _e(y) ? Re(e, h, "whitespace")(y) : h(y));
5861
+ return y === s ? (u++, e.consume(y), d) : u < 3 ? n(y) : (e.exit("codeFencedFenceSequence"), Ae(y) ? Re(e, h, "whitespace")(y) : h(y));
5862
5862
  }
5863
5863
  function h(y) {
5864
5864
  return y === null || ce(y) ? (e.exit("codeFencedFence"), r.interrupt ? t(y) : e.check(oo, m, K)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
@@ -5866,7 +5866,7 @@ function xp(e, t, n) {
5866
5866
  }), p(y));
5867
5867
  }
5868
5868
  function p(y) {
5869
- return y === null || ce(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), h(y)) : _e(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Re(e, f, "whitespace")(y)) : y === 96 && y === s ? n(y) : (e.consume(y), p);
5869
+ return y === null || ce(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), h(y)) : Ae(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Re(e, f, "whitespace")(y)) : y === 96 && y === s ? n(y) : (e.consume(y), p);
5870
5870
  }
5871
5871
  function f(y) {
5872
5872
  return y === null || ce(y) ? h(y) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
@@ -5883,7 +5883,7 @@ function xp(e, t, n) {
5883
5883
  return e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), T;
5884
5884
  }
5885
5885
  function T(y) {
5886
- return i > 0 && _e(y) ? Re(
5886
+ return i > 0 && Ae(y) ? Re(
5887
5887
  e,
5888
5888
  M,
5889
5889
  "linePrefix",
@@ -5902,25 +5902,25 @@ function xp(e, t, n) {
5902
5902
  function w(y, k, G) {
5903
5903
  let F = 0;
5904
5904
  return Z;
5905
- function Z(D) {
5906
- return y.enter("lineEnding"), y.consume(D), y.exit("lineEnding"), z;
5905
+ function Z(R) {
5906
+ return y.enter("lineEnding"), y.consume(R), y.exit("lineEnding"), z;
5907
5907
  }
5908
- function z(D) {
5909
- return y.enter("codeFencedFence"), _e(D) ? Re(
5908
+ function z(R) {
5909
+ return y.enter("codeFencedFence"), Ae(R) ? Re(
5910
5910
  y,
5911
- V,
5911
+ $,
5912
5912
  "linePrefix",
5913
5913
  r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
5914
- )(D) : V(D);
5914
+ )(R) : $(R);
5915
5915
  }
5916
- function V(D) {
5917
- return D === s ? (y.enter("codeFencedFenceSequence"), R(D)) : G(D);
5916
+ function $(R) {
5917
+ return R === s ? (y.enter("codeFencedFenceSequence"), L(R)) : G(R);
5918
5918
  }
5919
- function R(D) {
5920
- return D === s ? (F++, y.consume(D), R) : F >= u ? (y.exit("codeFencedFenceSequence"), _e(D) ? Re(y, I, "whitespace")(D) : I(D)) : G(D);
5919
+ function L(R) {
5920
+ return R === s ? (F++, y.consume(R), L) : F >= u ? (y.exit("codeFencedFenceSequence"), Ae(R) ? Re(y, I, "whitespace")(R) : I(R)) : G(R);
5921
5921
  }
5922
- function I(D) {
5923
- return D === null || ce(D) ? (y.exit("codeFencedFence"), k(D)) : G(D);
5922
+ function I(R) {
5923
+ return R === null || ce(R) ? (y.exit("codeFencedFence"), k(R)) : G(R);
5924
5924
  }
5925
5925
  }
5926
5926
  }
@@ -6147,7 +6147,7 @@ function ml(e, t, n, r, a, i) {
6147
6147
  }), h(f));
6148
6148
  }
6149
6149
  function h(f) {
6150
- return f === null || f === 91 || f === 93 || ce(f) || s++ > 999 ? (e.exit("chunkString"), d(f)) : (e.consume(f), l || (l = !_e(f)), f === 92 ? p : h);
6150
+ return f === null || f === 91 || f === 93 || ce(f) || s++ > 999 ? (e.exit("chunkString"), d(f)) : (e.consume(f), l || (l = !Ae(f)), f === 92 ? p : h);
6151
6151
  }
6152
6152
  function p(f) {
6153
6153
  return f === 91 || f === 92 || f === 93 ? (e.consume(f), s++, h) : h(f);
@@ -6178,7 +6178,7 @@ function er(e, t) {
6178
6178
  let n;
6179
6179
  return r;
6180
6180
  function r(a) {
6181
- return ce(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : _e(a) ? Re(
6181
+ return ce(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : Ae(a) ? Re(
6182
6182
  e,
6183
6183
  r,
6184
6184
  n ? "linePrefix" : "lineSuffix"
@@ -6239,7 +6239,7 @@ function qp(e, t, n) {
6239
6239
  return e.attempt(jp, h, h)(f);
6240
6240
  }
6241
6241
  function h(f) {
6242
- return _e(f) ? Re(e, p, "whitespace")(f) : p(f);
6242
+ return Ae(f) ? Re(e, p, "whitespace")(f) : p(f);
6243
6243
  }
6244
6244
  function p(f) {
6245
6245
  return f === null || ce(f) ? (e.exit("definition"), r.parser.defined.push(a), t(f)) : n(f);
@@ -6261,7 +6261,7 @@ function zp(e, t, n) {
6261
6261
  )(s);
6262
6262
  }
6263
6263
  function i(s) {
6264
- return _e(s) ? Re(e, u, "whitespace")(s) : u(s);
6264
+ return Ae(s) ? Re(e, u, "whitespace")(s) : u(s);
6265
6265
  }
6266
6266
  function u(s) {
6267
6267
  return s === null || ce(s) ? t(s) : n(s);
@@ -6316,7 +6316,7 @@ function Gp(e, t, n) {
6316
6316
  return d === 35 && r++ < 6 ? (e.consume(d), u) : d === null || tt(d) ? (e.exit("atxHeadingSequence"), s(d)) : n(d);
6317
6317
  }
6318
6318
  function s(d) {
6319
- return d === 35 ? (e.enter("atxHeadingSequence"), l(d)) : d === null || ce(d) ? (e.exit("atxHeading"), t(d)) : _e(d) ? Re(e, s, "whitespace")(d) : (e.enter("atxHeadingText"), c(d));
6319
+ return d === 35 ? (e.enter("atxHeadingSequence"), l(d)) : d === null || ce(d) ? (e.exit("atxHeading"), t(d)) : Ae(d) ? Re(e, s, "whitespace")(d) : (e.enter("atxHeadingText"), c(d));
6320
6320
  }
6321
6321
  function l(d) {
6322
6322
  return d === 35 ? (e.consume(d), l) : (e.exit("atxHeadingSequence"), s(d));
@@ -6427,35 +6427,35 @@ function e1(e, t, n) {
6427
6427
  }
6428
6428
  function b(S) {
6429
6429
  const le = "CDATA[";
6430
- return S === le.charCodeAt(s++) ? (e.consume(S), s === le.length ? r.interrupt ? t : V : b) : n(S);
6430
+ return S === le.charCodeAt(s++) ? (e.consume(S), s === le.length ? r.interrupt ? t : $ : b) : n(S);
6431
6431
  }
6432
6432
  function m(S) {
6433
6433
  return Ot(S) ? (e.consume(S), u = String.fromCharCode(S), _) : n(S);
6434
6434
  }
6435
6435
  function _(S) {
6436
6436
  if (S === null || S === 47 || S === 62 || tt(S)) {
6437
- const le = S === 47, Ee = u.toLowerCase();
6438
- return !le && !i && lo.includes(Ee) ? (a = 1, r.interrupt ? t(S) : V(S)) : Xp.includes(u.toLowerCase()) ? (a = 6, le ? (e.consume(S), T) : r.interrupt ? t(S) : V(S)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(S) : i ? M(S) : B(S));
6437
+ const le = S === 47, ye = u.toLowerCase();
6438
+ return !le && !i && lo.includes(ye) ? (a = 1, r.interrupt ? t(S) : $(S)) : Xp.includes(u.toLowerCase()) ? (a = 6, le ? (e.consume(S), T) : r.interrupt ? t(S) : $(S)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(S) : i ? M(S) : B(S));
6439
6439
  }
6440
6440
  return S === 45 || ht(S) ? (e.consume(S), u += String.fromCharCode(S), _) : n(S);
6441
6441
  }
6442
6442
  function T(S) {
6443
- return S === 62 ? (e.consume(S), r.interrupt ? t : V) : n(S);
6443
+ return S === 62 ? (e.consume(S), r.interrupt ? t : $) : n(S);
6444
6444
  }
6445
6445
  function M(S) {
6446
- return _e(S) ? (e.consume(S), M) : Z(S);
6446
+ return Ae(S) ? (e.consume(S), M) : Z(S);
6447
6447
  }
6448
6448
  function B(S) {
6449
- return S === 47 ? (e.consume(S), Z) : S === 58 || S === 95 || Ot(S) ? (e.consume(S), K) : _e(S) ? (e.consume(S), B) : Z(S);
6449
+ return S === 47 ? (e.consume(S), Z) : S === 58 || S === 95 || Ot(S) ? (e.consume(S), K) : Ae(S) ? (e.consume(S), B) : Z(S);
6450
6450
  }
6451
6451
  function K(S) {
6452
6452
  return S === 45 || S === 46 || S === 58 || S === 95 || ht(S) ? (e.consume(S), K) : w(S);
6453
6453
  }
6454
6454
  function w(S) {
6455
- return S === 61 ? (e.consume(S), y) : _e(S) ? (e.consume(S), w) : B(S);
6455
+ return S === 61 ? (e.consume(S), y) : Ae(S) ? (e.consume(S), w) : B(S);
6456
6456
  }
6457
6457
  function y(S) {
6458
- return S === null || S === 60 || S === 61 || S === 62 || S === 96 ? n(S) : S === 34 || S === 39 ? (e.consume(S), l = S, k) : _e(S) ? (e.consume(S), y) : G(S);
6458
+ return S === null || S === 60 || S === 61 || S === 62 || S === 96 ? n(S) : S === 34 || S === 39 ? (e.consume(S), l = S, k) : Ae(S) ? (e.consume(S), y) : G(S);
6459
6459
  }
6460
6460
  function k(S) {
6461
6461
  return S === l ? (e.consume(S), l = null, F) : S === null || ce(S) ? n(S) : (e.consume(S), k);
@@ -6464,22 +6464,22 @@ function e1(e, t, n) {
6464
6464
  return S === null || S === 34 || S === 39 || S === 47 || S === 60 || S === 61 || S === 62 || S === 96 || tt(S) ? w(S) : (e.consume(S), G);
6465
6465
  }
6466
6466
  function F(S) {
6467
- return S === 47 || S === 62 || _e(S) ? B(S) : n(S);
6467
+ return S === 47 || S === 62 || Ae(S) ? B(S) : n(S);
6468
6468
  }
6469
6469
  function Z(S) {
6470
6470
  return S === 62 ? (e.consume(S), z) : n(S);
6471
6471
  }
6472
6472
  function z(S) {
6473
- return S === null || ce(S) ? V(S) : _e(S) ? (e.consume(S), z) : n(S);
6473
+ return S === null || ce(S) ? $(S) : Ae(S) ? (e.consume(S), z) : n(S);
6474
6474
  }
6475
- function V(S) {
6475
+ function $(S) {
6476
6476
  return S === 45 && a === 2 ? (e.consume(S), U) : S === 60 && a === 1 ? (e.consume(S), W) : S === 62 && a === 4 ? (e.consume(S), ne) : S === 63 && a === 3 ? (e.consume(S), g) : S === 93 && a === 5 ? (e.consume(S), Y) : ce(S) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
6477
6477
  Qp,
6478
6478
  oe,
6479
- R
6480
- )(S)) : S === null || ce(S) ? (e.exit("htmlFlowData"), R(S)) : (e.consume(S), V);
6479
+ L
6480
+ )(S)) : S === null || ce(S) ? (e.exit("htmlFlowData"), L(S)) : (e.consume(S), $);
6481
6481
  }
6482
- function R(S) {
6482
+ function L(S) {
6483
6483
  return e.check(
6484
6484
  Zp,
6485
6485
  I,
@@ -6487,29 +6487,29 @@ function e1(e, t, n) {
6487
6487
  )(S);
6488
6488
  }
6489
6489
  function I(S) {
6490
- return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), D;
6490
+ return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), R;
6491
6491
  }
6492
- function D(S) {
6493
- return S === null || ce(S) ? R(S) : (e.enter("htmlFlowData"), V(S));
6492
+ function R(S) {
6493
+ return S === null || ce(S) ? L(S) : (e.enter("htmlFlowData"), $(S));
6494
6494
  }
6495
6495
  function U(S) {
6496
- return S === 45 ? (e.consume(S), g) : V(S);
6496
+ return S === 45 ? (e.consume(S), g) : $(S);
6497
6497
  }
6498
6498
  function W(S) {
6499
- return S === 47 ? (e.consume(S), u = "", q) : V(S);
6499
+ return S === 47 ? (e.consume(S), u = "", q) : $(S);
6500
6500
  }
6501
6501
  function q(S) {
6502
6502
  if (S === 62) {
6503
6503
  const le = u.toLowerCase();
6504
- return lo.includes(le) ? (e.consume(S), ne) : V(S);
6504
+ return lo.includes(le) ? (e.consume(S), ne) : $(S);
6505
6505
  }
6506
- return Ot(S) && u.length < 8 ? (e.consume(S), u += String.fromCharCode(S), q) : V(S);
6506
+ return Ot(S) && u.length < 8 ? (e.consume(S), u += String.fromCharCode(S), q) : $(S);
6507
6507
  }
6508
6508
  function Y(S) {
6509
- return S === 93 ? (e.consume(S), g) : V(S);
6509
+ return S === 93 ? (e.consume(S), g) : $(S);
6510
6510
  }
6511
6511
  function g(S) {
6512
- return S === 62 ? (e.consume(S), ne) : S === 45 && a === 2 ? (e.consume(S), g) : V(S);
6512
+ return S === 62 ? (e.consume(S), ne) : S === 45 && a === 2 ? (e.consume(S), g) : $(S);
6513
6513
  }
6514
6514
  function ne(S) {
6515
6515
  return S === null || ce(S) ? (e.exit("htmlFlowData"), oe(S)) : (e.consume(S), ne);
@@ -6592,30 +6592,30 @@ function a1(e, t, n) {
6592
6592
  return g === 45 || ht(g) ? (e.consume(g), y) : k(g);
6593
6593
  }
6594
6594
  function k(g) {
6595
- return ce(g) ? (u = k, W(g)) : _e(g) ? (e.consume(g), k) : U(g);
6595
+ return ce(g) ? (u = k, W(g)) : Ae(g) ? (e.consume(g), k) : U(g);
6596
6596
  }
6597
6597
  function G(g) {
6598
6598
  return g === 45 || ht(g) ? (e.consume(g), G) : g === 47 || g === 62 || tt(g) ? F(g) : n(g);
6599
6599
  }
6600
6600
  function F(g) {
6601
- return g === 47 ? (e.consume(g), U) : g === 58 || g === 95 || Ot(g) ? (e.consume(g), Z) : ce(g) ? (u = F, W(g)) : _e(g) ? (e.consume(g), F) : U(g);
6601
+ return g === 47 ? (e.consume(g), U) : g === 58 || g === 95 || Ot(g) ? (e.consume(g), Z) : ce(g) ? (u = F, W(g)) : Ae(g) ? (e.consume(g), F) : U(g);
6602
6602
  }
6603
6603
  function Z(g) {
6604
6604
  return g === 45 || g === 46 || g === 58 || g === 95 || ht(g) ? (e.consume(g), Z) : z(g);
6605
6605
  }
6606
6606
  function z(g) {
6607
- return g === 61 ? (e.consume(g), V) : ce(g) ? (u = z, W(g)) : _e(g) ? (e.consume(g), z) : F(g);
6607
+ return g === 61 ? (e.consume(g), $) : ce(g) ? (u = z, W(g)) : Ae(g) ? (e.consume(g), z) : F(g);
6608
6608
  }
6609
- function V(g) {
6610
- return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), a = g, R) : ce(g) ? (u = V, W(g)) : _e(g) ? (e.consume(g), V) : (e.consume(g), I);
6609
+ function $(g) {
6610
+ return g === null || g === 60 || g === 61 || g === 62 || g === 96 ? n(g) : g === 34 || g === 39 ? (e.consume(g), a = g, L) : ce(g) ? (u = $, W(g)) : Ae(g) ? (e.consume(g), $) : (e.consume(g), I);
6611
6611
  }
6612
- function R(g) {
6613
- return g === a ? (e.consume(g), a = void 0, D) : g === null ? n(g) : ce(g) ? (u = R, W(g)) : (e.consume(g), R);
6612
+ function L(g) {
6613
+ return g === a ? (e.consume(g), a = void 0, R) : g === null ? n(g) : ce(g) ? (u = L, W(g)) : (e.consume(g), L);
6614
6614
  }
6615
6615
  function I(g) {
6616
6616
  return g === null || g === 34 || g === 39 || g === 60 || g === 61 || g === 96 ? n(g) : g === 47 || g === 62 || tt(g) ? F(g) : (e.consume(g), I);
6617
6617
  }
6618
- function D(g) {
6618
+ function R(g) {
6619
6619
  return g === 47 || g === 62 || tt(g) ? F(g) : n(g);
6620
6620
  }
6621
6621
  function U(g) {
@@ -6625,7 +6625,7 @@ function a1(e, t, n) {
6625
6625
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(g), e.exit("lineEnding"), q;
6626
6626
  }
6627
6627
  function q(g) {
6628
- return _e(g) ? Re(
6628
+ return Ae(g) ? Re(
6629
6629
  e,
6630
6630
  Y,
6631
6631
  "linePrefix",
@@ -6881,7 +6881,7 @@ function T1(e, t, n) {
6881
6881
  return c === a ? (e.enter("thematicBreakSequence"), l(c)) : r >= 3 && (c === null || ce(c)) ? (e.exit("thematicBreak"), t(c)) : n(c);
6882
6882
  }
6883
6883
  function l(c) {
6884
- return c === a ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), _e(c) ? Re(e, s, "whitespace")(c) : s(c));
6884
+ return c === a ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), Ae(c) ? Re(e, s, "whitespace")(c) : s(c));
6885
6885
  }
6886
6886
  }
6887
6887
  const et = {
@@ -6933,7 +6933,7 @@ function C1(e, t, n) {
6933
6933
  return r.containerState.initialBlankLine = !0, i++, p(f);
6934
6934
  }
6935
6935
  function h(f) {
6936
- return _e(f) ? (e.enter("listItemPrefixWhitespace"), e.consume(f), e.exit("listItemPrefixWhitespace"), p) : n(f);
6936
+ return Ae(f) ? (e.enter("listItemPrefixWhitespace"), e.consume(f), e.exit("listItemPrefixWhitespace"), p) : n(f);
6937
6937
  }
6938
6938
  function p(f) {
6939
6939
  return r.containerState.size = i + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(f);
@@ -6951,7 +6951,7 @@ function A1(e, t, n) {
6951
6951
  )(s);
6952
6952
  }
6953
6953
  function i(s) {
6954
- return r.containerState.furtherBlankLines || !_e(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(_1, t, u)(s));
6954
+ return r.containerState.furtherBlankLines || !Ae(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(_1, t, u)(s));
6955
6955
  }
6956
6956
  function u(s) {
6957
6957
  return r.containerState._closeFlow = !0, r.interrupt = void 0, Re(
@@ -6988,7 +6988,7 @@ function v1(e, t, n) {
6988
6988
  );
6989
6989
  function a(i) {
6990
6990
  const u = r.events[r.events.length - 1];
6991
- return !_e(i) && u && u[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
6991
+ return !Ae(i) && u && u[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
6992
6992
  }
6993
6993
  }
6994
6994
  const co = {
@@ -7031,7 +7031,7 @@ function I1(e, t, n) {
7031
7031
  return e.enter("setextHeadingLineSequence"), s(c);
7032
7032
  }
7033
7033
  function s(c) {
7034
- return c === a ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), _e(c) ? Re(e, l, "lineSuffix")(c) : l(c));
7034
+ return c === a ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), Ae(c) ? Re(e, l, "lineSuffix")(c) : l(c));
7035
7035
  }
7036
7036
  function l(c) {
7037
7037
  return c === null || ce(c) ? (e.exit("setextHeadingLine"), t(c)) : n(c);
@@ -7209,20 +7209,20 @@ function P1(e, t, n) {
7209
7209
  function h(z) {
7210
7210
  return u = mt(u, z), _(), u[u.length - 1] !== null ? [] : (G(t, 0), c.events = Ri(i, c.events, c), c.events);
7211
7211
  }
7212
- function p(z, V) {
7213
- return F1(f(z), V);
7212
+ function p(z, $) {
7213
+ return F1(f(z), $);
7214
7214
  }
7215
7215
  function f(z) {
7216
7216
  return M1(u, z);
7217
7217
  }
7218
7218
  function b() {
7219
- const { line: z, column: V, offset: R, _index: I, _bufferIndex: D } = r;
7219
+ const { line: z, column: $, offset: L, _index: I, _bufferIndex: R } = r;
7220
7220
  return {
7221
7221
  line: z,
7222
- column: V,
7223
- offset: R,
7222
+ column: $,
7223
+ offset: L,
7224
7224
  _index: I,
7225
- _bufferIndex: D
7225
+ _bufferIndex: R
7226
7226
  };
7227
7227
  }
7228
7228
  function m(z) {
@@ -7231,12 +7231,12 @@ function P1(e, t, n) {
7231
7231
  function _() {
7232
7232
  let z;
7233
7233
  for (; r._index < u.length; ) {
7234
- const V = u[r._index];
7235
- if (typeof V == "string")
7236
- for (z = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === z && r._bufferIndex < V.length; )
7237
- T(V.charCodeAt(r._bufferIndex));
7234
+ const $ = u[r._index];
7235
+ if (typeof $ == "string")
7236
+ for (z = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === z && r._bufferIndex < $.length; )
7237
+ T($.charCodeAt(r._bufferIndex));
7238
7238
  else
7239
- T(V);
7239
+ T($);
7240
7240
  }
7241
7241
  }
7242
7242
  function T(z) {
@@ -7245,31 +7245,31 @@ function P1(e, t, n) {
7245
7245
  function M(z) {
7246
7246
  ce(z) ? (r.line++, r.column = 1, r.offset += z === -3 ? 2 : 1, Z()) : z !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === u[r._index].length && (r._bufferIndex = -1, r._index++)), c.previous = z;
7247
7247
  }
7248
- function B(z, V) {
7249
- const R = V || {};
7250
- return R.type = z, R.start = b(), c.events.push(["enter", R, c]), s.push(R), R;
7248
+ function B(z, $) {
7249
+ const L = $ || {};
7250
+ return L.type = z, L.start = b(), c.events.push(["enter", L, c]), s.push(L), L;
7251
7251
  }
7252
7252
  function K(z) {
7253
- const V = s.pop();
7254
- return V.end = b(), c.events.push(["exit", V, c]), V;
7253
+ const $ = s.pop();
7254
+ return $.end = b(), c.events.push(["exit", $, c]), $;
7255
7255
  }
7256
- function w(z, V) {
7257
- G(z, V.from);
7256
+ function w(z, $) {
7257
+ G(z, $.from);
7258
7258
  }
7259
- function y(z, V) {
7260
- V.restore();
7259
+ function y(z, $) {
7260
+ $.restore();
7261
7261
  }
7262
- function k(z, V) {
7263
- return R;
7264
- function R(I, D, U) {
7262
+ function k(z, $) {
7263
+ return L;
7264
+ function L(I, R, U) {
7265
7265
  let W, q, Y, g;
7266
7266
  return Array.isArray(I) ? oe(I) : "tokenize" in I ? (
7267
7267
  // @ts-expect-error Looks like a construct.
7268
7268
  oe([I])
7269
7269
  ) : ne(I);
7270
7270
  function ne(me) {
7271
- return Se;
7272
- function Se(ve) {
7271
+ return xe;
7272
+ function xe(ve) {
7273
7273
  const Me = ve !== null && me[ve], Oe = ve !== null && me.null, We = [
7274
7274
  // To do: add more extension tests.
7275
7275
  /* c8 ignore next 2 */
@@ -7283,43 +7283,43 @@ function P1(e, t, n) {
7283
7283
  return W = me, q = 0, me.length === 0 ? U : S(me[q]);
7284
7284
  }
7285
7285
  function S(me) {
7286
- return Se;
7287
- function Se(ve) {
7288
- return g = F(), Y = me, me.partial || (c.currentConstruct = me), me.name && c.parser.constructs.disable.null.includes(me.name) ? Ee() : me.tokenize.call(
7286
+ return xe;
7287
+ function xe(ve) {
7288
+ return g = F(), Y = me, me.partial || (c.currentConstruct = me), me.name && c.parser.constructs.disable.null.includes(me.name) ? ye() : me.tokenize.call(
7289
7289
  // If we do have fields, create an object w/ `context` as its
7290
7290
  // prototype.
7291
7291
  // This allows a “live binding”, which is needed for `interrupt`.
7292
- V ? Object.assign(Object.create(c), V) : c,
7292
+ $ ? Object.assign(Object.create(c), $) : c,
7293
7293
  l,
7294
7294
  le,
7295
- Ee
7295
+ ye
7296
7296
  )(ve);
7297
7297
  }
7298
7298
  }
7299
7299
  function le(me) {
7300
- return z(Y, g), D;
7300
+ return z(Y, g), R;
7301
7301
  }
7302
- function Ee(me) {
7302
+ function ye(me) {
7303
7303
  return g.restore(), ++q < W.length ? S(W[q]) : U;
7304
7304
  }
7305
7305
  }
7306
7306
  }
7307
- function G(z, V) {
7307
+ function G(z, $) {
7308
7308
  z.resolveAll && !i.includes(z) && i.push(z), z.resolve && Nt(
7309
7309
  c.events,
7310
- V,
7311
- c.events.length - V,
7312
- z.resolve(c.events.slice(V), c)
7310
+ $,
7311
+ c.events.length - $,
7312
+ z.resolve(c.events.slice($), c)
7313
7313
  ), z.resolveTo && (c.events = z.resolveTo(c.events, c));
7314
7314
  }
7315
7315
  function F() {
7316
- const z = b(), V = c.previous, R = c.currentConstruct, I = c.events.length, D = Array.from(s);
7316
+ const z = b(), $ = c.previous, L = c.currentConstruct, I = c.events.length, R = Array.from(s);
7317
7317
  return {
7318
7318
  restore: U,
7319
7319
  from: I
7320
7320
  };
7321
7321
  function U() {
7322
- r = z, c.previous = V, c.currentConstruct = R, c.events.length = I, s = D, Z();
7322
+ r = z, c.previous = $, c.currentConstruct = L, c.events.length = I, s = R, Z();
7323
7323
  }
7324
7324
  }
7325
7325
  function Z() {
@@ -7592,7 +7592,7 @@ function tm(e) {
7592
7592
  listOrdered: s(jt, f),
7593
7593
  listUnordered: s(jt),
7594
7594
  paragraph: s(it),
7595
- reference: Ee,
7595
+ reference: ye,
7596
7596
  referenceString: l,
7597
7597
  resourceDestinationString: l,
7598
7598
  resourceTitleString: l,
@@ -7607,19 +7607,19 @@ function tm(e) {
7607
7607
  autolinkEmail: Oe,
7608
7608
  autolinkProtocol: Me,
7609
7609
  blockQuote: d(),
7610
- characterEscapeValue: V,
7611
- characterReferenceMarkerHexadecimal: Se,
7612
- characterReferenceMarkerNumeric: Se,
7610
+ characterEscapeValue: $,
7611
+ characterReferenceMarkerHexadecimal: xe,
7612
+ characterReferenceMarkerNumeric: xe,
7613
7613
  characterReferenceValue: ve,
7614
7614
  codeFenced: d(M),
7615
7615
  codeFencedFence: T,
7616
7616
  codeFencedFenceInfo: m,
7617
7617
  codeFencedFenceMeta: _,
7618
- codeFlowValue: V,
7618
+ codeFlowValue: $,
7619
7619
  codeIndented: d(B),
7620
7620
  codeText: d(W),
7621
- codeTextData: V,
7622
- data: V,
7621
+ codeTextData: $,
7622
+ data: $,
7623
7623
  definition: d(),
7624
7624
  definitionDestinationString: y,
7625
7625
  definitionLabelString: K,
@@ -7627,14 +7627,14 @@ function tm(e) {
7627
7627
  emphasis: d(),
7628
7628
  hardBreakEscape: d(I),
7629
7629
  hardBreakTrailing: d(I),
7630
- htmlFlow: d(D),
7631
- htmlFlowData: V,
7630
+ htmlFlow: d(R),
7631
+ htmlFlowData: $,
7632
7632
  htmlText: d(U),
7633
- htmlTextData: V,
7633
+ htmlTextData: $,
7634
7634
  image: d(Y),
7635
7635
  label: ne,
7636
7636
  labelText: g,
7637
- lineEnding: R,
7637
+ lineEnding: L,
7638
7638
  link: d(q),
7639
7639
  listItem: d(),
7640
7640
  listOrdered: d(),
@@ -7654,13 +7654,13 @@ function tm(e) {
7654
7654
  _l(t, (e || {}).mdastExtensions || []);
7655
7655
  const n = {};
7656
7656
  return r;
7657
- function r(L) {
7658
- let $ = {
7657
+ function r(D) {
7658
+ let V = {
7659
7659
  type: "root",
7660
7660
  children: []
7661
7661
  };
7662
7662
  const re = {
7663
- stack: [$],
7663
+ stack: [V],
7664
7664
  tokenStack: [],
7665
7665
  config: t,
7666
7666
  enter: c,
@@ -7671,89 +7671,89 @@ function tm(e) {
7671
7671
  getData: u
7672
7672
  }, ae = [];
7673
7673
  let ue = -1;
7674
- for (; ++ue < L.length; )
7675
- if (L[ue][1].type === "listOrdered" || L[ue][1].type === "listUnordered")
7676
- if (L[ue][0] === "enter")
7674
+ for (; ++ue < D.length; )
7675
+ if (D[ue][1].type === "listOrdered" || D[ue][1].type === "listUnordered")
7676
+ if (D[ue][0] === "enter")
7677
7677
  ae.push(ue);
7678
7678
  else {
7679
- const Ce = ae.pop();
7680
- ue = a(L, Ce, ue);
7679
+ const Te = ae.pop();
7680
+ ue = a(D, Te, ue);
7681
7681
  }
7682
- for (ue = -1; ++ue < L.length; ) {
7683
- const Ce = t[L[ue][0]];
7684
- yl.call(Ce, L[ue][1].type) && Ce[L[ue][1].type].call(
7682
+ for (ue = -1; ++ue < D.length; ) {
7683
+ const Te = t[D[ue][0]];
7684
+ yl.call(Te, D[ue][1].type) && Te[D[ue][1].type].call(
7685
7685
  Object.assign(
7686
7686
  {
7687
- sliceSerialize: L[ue][2].sliceSerialize
7687
+ sliceSerialize: D[ue][2].sliceSerialize
7688
7688
  },
7689
7689
  re
7690
7690
  ),
7691
- L[ue][1]
7691
+ D[ue][1]
7692
7692
  );
7693
7693
  }
7694
7694
  if (re.tokenStack.length > 0) {
7695
- const Ce = re.tokenStack[re.tokenStack.length - 1];
7696
- (Ce[1] || ho).call(re, void 0, Ce[0]);
7695
+ const Te = re.tokenStack[re.tokenStack.length - 1];
7696
+ (Te[1] || ho).call(re, void 0, Te[0]);
7697
7697
  }
7698
- for ($.position = {
7698
+ for (V.position = {
7699
7699
  start: qt(
7700
- L.length > 0 ? L[0][1].start : {
7700
+ D.length > 0 ? D[0][1].start : {
7701
7701
  line: 1,
7702
7702
  column: 1,
7703
7703
  offset: 0
7704
7704
  }
7705
7705
  ),
7706
7706
  end: qt(
7707
- L.length > 0 ? L[L.length - 2][1].end : {
7707
+ D.length > 0 ? D[D.length - 2][1].end : {
7708
7708
  line: 1,
7709
7709
  column: 1,
7710
7710
  offset: 0
7711
7711
  }
7712
7712
  )
7713
7713
  }, ue = -1; ++ue < t.transforms.length; )
7714
- $ = t.transforms[ue]($) || $;
7715
- return $;
7714
+ V = t.transforms[ue](V) || V;
7715
+ return V;
7716
7716
  }
7717
- function a(L, $, re) {
7718
- let ae = $ - 1, ue = -1, Ce = !1, xe, Ue, Ye, Ge;
7717
+ function a(D, V, re) {
7718
+ let ae = V - 1, ue = -1, Te = !1, Ee, Be, Ye, Ge;
7719
7719
  for (; ++ae <= re; ) {
7720
- const ge = L[ae];
7721
- if (ge[1].type === "listUnordered" || ge[1].type === "listOrdered" || ge[1].type === "blockQuote" ? (ge[0] === "enter" ? ue++ : ue--, Ge = void 0) : ge[1].type === "lineEndingBlank" ? ge[0] === "enter" && (xe && !Ge && !ue && !Ye && (Ye = ae), Ge = void 0) : ge[1].type === "linePrefix" || ge[1].type === "listItemValue" || ge[1].type === "listItemMarker" || ge[1].type === "listItemPrefix" || ge[1].type === "listItemPrefixWhitespace" || (Ge = void 0), !ue && ge[0] === "enter" && ge[1].type === "listItemPrefix" || ue === -1 && ge[0] === "exit" && (ge[1].type === "listUnordered" || ge[1].type === "listOrdered")) {
7722
- if (xe) {
7720
+ const ge = D[ae];
7721
+ if (ge[1].type === "listUnordered" || ge[1].type === "listOrdered" || ge[1].type === "blockQuote" ? (ge[0] === "enter" ? ue++ : ue--, Ge = void 0) : ge[1].type === "lineEndingBlank" ? ge[0] === "enter" && (Ee && !Ge && !ue && !Ye && (Ye = ae), Ge = void 0) : ge[1].type === "linePrefix" || ge[1].type === "listItemValue" || ge[1].type === "listItemMarker" || ge[1].type === "listItemPrefix" || ge[1].type === "listItemPrefixWhitespace" || (Ge = void 0), !ue && ge[0] === "enter" && ge[1].type === "listItemPrefix" || ue === -1 && ge[0] === "exit" && (ge[1].type === "listUnordered" || ge[1].type === "listOrdered")) {
7722
+ if (Ee) {
7723
7723
  let ut = ae;
7724
- for (Ue = void 0; ut--; ) {
7725
- const Xe = L[ut];
7724
+ for (Be = void 0; ut--; ) {
7725
+ const Xe = D[ut];
7726
7726
  if (Xe[1].type === "lineEnding" || Xe[1].type === "lineEndingBlank") {
7727
7727
  if (Xe[0] === "exit") continue;
7728
- Ue && (L[Ue][1].type = "lineEndingBlank", Ce = !0), Xe[1].type = "lineEnding", Ue = ut;
7728
+ Be && (D[Be][1].type = "lineEndingBlank", Te = !0), Xe[1].type = "lineEnding", Be = ut;
7729
7729
  } else if (!(Xe[1].type === "linePrefix" || Xe[1].type === "blockQuotePrefix" || Xe[1].type === "blockQuotePrefixWhitespace" || Xe[1].type === "blockQuoteMarker" || Xe[1].type === "listItemIndent")) break;
7730
7730
  }
7731
- Ye && (!Ue || Ye < Ue) && (xe._spread = !0), xe.end = Object.assign(
7731
+ Ye && (!Be || Ye < Be) && (Ee._spread = !0), Ee.end = Object.assign(
7732
7732
  {},
7733
- Ue ? L[Ue][1].start : ge[1].end
7734
- ), L.splice(Ue || ae, 0, ["exit", xe, ge[2]]), ae++, re++;
7733
+ Be ? D[Be][1].start : ge[1].end
7734
+ ), D.splice(Be || ae, 0, ["exit", Ee, ge[2]]), ae++, re++;
7735
7735
  }
7736
- ge[1].type === "listItemPrefix" && (xe = {
7736
+ ge[1].type === "listItemPrefix" && (Ee = {
7737
7737
  type: "listItem",
7738
7738
  _spread: !1,
7739
7739
  start: Object.assign({}, ge[1].start),
7740
7740
  // @ts-expect-error: we’ll add `end` in a second.
7741
7741
  end: void 0
7742
- }, L.splice(ae, 0, ["enter", xe, ge[2]]), ae++, re++, Ye = void 0, Ge = !0);
7742
+ }, D.splice(ae, 0, ["enter", Ee, ge[2]]), ae++, re++, Ye = void 0, Ge = !0);
7743
7743
  }
7744
7744
  }
7745
- return L[$][1]._spread = Ce, re;
7745
+ return D[V][1]._spread = Te, re;
7746
7746
  }
7747
- function i(L, $) {
7748
- n[L] = $;
7747
+ function i(D, V) {
7748
+ n[D] = V;
7749
7749
  }
7750
- function u(L) {
7751
- return n[L];
7750
+ function u(D) {
7751
+ return n[D];
7752
7752
  }
7753
- function s(L, $) {
7753
+ function s(D, V) {
7754
7754
  return re;
7755
7755
  function re(ae) {
7756
- c.call(this, L(ae), ae), $ && $.call(this, ae);
7756
+ c.call(this, D(ae), ae), V && V.call(this, ae);
7757
7757
  }
7758
7758
  }
7759
7759
  function l() {
@@ -7762,28 +7762,28 @@ function tm(e) {
7762
7762
  children: []
7763
7763
  });
7764
7764
  }
7765
- function c(L, $, re) {
7766
- return this.stack[this.stack.length - 1].children.push(L), this.stack.push(L), this.tokenStack.push([$, re]), L.position = {
7767
- start: qt($.start)
7768
- }, L;
7765
+ function c(D, V, re) {
7766
+ return this.stack[this.stack.length - 1].children.push(D), this.stack.push(D), this.tokenStack.push([V, re]), D.position = {
7767
+ start: qt(V.start)
7768
+ }, D;
7769
7769
  }
7770
- function d(L) {
7771
- return $;
7772
- function $(re) {
7773
- L && L.call(this, re), h.call(this, re);
7770
+ function d(D) {
7771
+ return V;
7772
+ function V(re) {
7773
+ D && D.call(this, re), h.call(this, re);
7774
7774
  }
7775
7775
  }
7776
- function h(L, $) {
7776
+ function h(D, V) {
7777
7777
  const re = this.stack.pop(), ae = this.tokenStack.pop();
7778
7778
  if (ae)
7779
- ae[0].type !== L.type && ($ ? $.call(this, L, ae[0]) : (ae[1] || ho).call(this, L, ae[0]));
7779
+ ae[0].type !== D.type && (V ? V.call(this, D, ae[0]) : (ae[1] || ho).call(this, D, ae[0]));
7780
7780
  else throw new Error(
7781
- "Cannot close `" + L.type + "` (" + Jn({
7782
- start: L.start,
7783
- end: L.end
7781
+ "Cannot close `" + D.type + "` (" + Jn({
7782
+ start: D.start,
7783
+ end: D.end
7784
7784
  }) + "): it’s not open"
7785
7785
  );
7786
- return re.position.end = qt(L.end), re;
7786
+ return re.position.end = qt(D.end), re;
7787
7787
  }
7788
7788
  function p() {
7789
7789
  return Jh(this.stack.pop());
@@ -7791,169 +7791,169 @@ function tm(e) {
7791
7791
  function f() {
7792
7792
  i("expectingFirstListItemValue", !0);
7793
7793
  }
7794
- function b(L) {
7794
+ function b(D) {
7795
7795
  if (u("expectingFirstListItemValue")) {
7796
- const $ = this.stack[this.stack.length - 2];
7797
- $.start = Number.parseInt(this.sliceSerialize(L), 10), i("expectingFirstListItemValue");
7796
+ const V = this.stack[this.stack.length - 2];
7797
+ V.start = Number.parseInt(this.sliceSerialize(D), 10), i("expectingFirstListItemValue");
7798
7798
  }
7799
7799
  }
7800
7800
  function m() {
7801
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7802
- $.lang = L;
7801
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7802
+ V.lang = D;
7803
7803
  }
7804
7804
  function _() {
7805
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7806
- $.meta = L;
7805
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7806
+ V.meta = D;
7807
7807
  }
7808
7808
  function T() {
7809
7809
  u("flowCodeInside") || (this.buffer(), i("flowCodeInside", !0));
7810
7810
  }
7811
7811
  function M() {
7812
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7813
- $.value = L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), i("flowCodeInside");
7812
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7813
+ V.value = D.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), i("flowCodeInside");
7814
7814
  }
7815
7815
  function B() {
7816
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7817
- $.value = L.replace(/(\r?\n|\r)$/g, "");
7816
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7817
+ V.value = D.replace(/(\r?\n|\r)$/g, "");
7818
7818
  }
7819
- function K(L) {
7820
- const $ = this.resume(), re = this.stack[this.stack.length - 1];
7821
- re.label = $, re.identifier = _n(
7822
- this.sliceSerialize(L)
7819
+ function K(D) {
7820
+ const V = this.resume(), re = this.stack[this.stack.length - 1];
7821
+ re.label = V, re.identifier = _n(
7822
+ this.sliceSerialize(D)
7823
7823
  ).toLowerCase();
7824
7824
  }
7825
7825
  function w() {
7826
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7827
- $.title = L;
7826
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7827
+ V.title = D;
7828
7828
  }
7829
7829
  function y() {
7830
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7831
- $.url = L;
7830
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7831
+ V.url = D;
7832
7832
  }
7833
- function k(L) {
7834
- const $ = this.stack[this.stack.length - 1];
7835
- if (!$.depth) {
7836
- const re = this.sliceSerialize(L).length;
7837
- $.depth = re;
7833
+ function k(D) {
7834
+ const V = this.stack[this.stack.length - 1];
7835
+ if (!V.depth) {
7836
+ const re = this.sliceSerialize(D).length;
7837
+ V.depth = re;
7838
7838
  }
7839
7839
  }
7840
7840
  function G() {
7841
7841
  i("setextHeadingSlurpLineEnding", !0);
7842
7842
  }
7843
- function F(L) {
7844
- const $ = this.stack[this.stack.length - 1];
7845
- $.depth = this.sliceSerialize(L).charCodeAt(0) === 61 ? 1 : 2;
7843
+ function F(D) {
7844
+ const V = this.stack[this.stack.length - 1];
7845
+ V.depth = this.sliceSerialize(D).charCodeAt(0) === 61 ? 1 : 2;
7846
7846
  }
7847
7847
  function Z() {
7848
7848
  i("setextHeadingSlurpLineEnding");
7849
7849
  }
7850
- function z(L) {
7851
- const $ = this.stack[this.stack.length - 1];
7852
- let re = $.children[$.children.length - 1];
7850
+ function z(D) {
7851
+ const V = this.stack[this.stack.length - 1];
7852
+ let re = V.children[V.children.length - 1];
7853
7853
  (!re || re.type !== "text") && (re = Xt(), re.position = {
7854
- start: qt(L.start)
7855
- }, $.children.push(re)), this.stack.push(re);
7854
+ start: qt(D.start)
7855
+ }, V.children.push(re)), this.stack.push(re);
7856
7856
  }
7857
- function V(L) {
7858
- const $ = this.stack.pop();
7859
- $.value += this.sliceSerialize(L), $.position.end = qt(L.end);
7857
+ function $(D) {
7858
+ const V = this.stack.pop();
7859
+ V.value += this.sliceSerialize(D), V.position.end = qt(D.end);
7860
7860
  }
7861
- function R(L) {
7862
- const $ = this.stack[this.stack.length - 1];
7861
+ function L(D) {
7862
+ const V = this.stack[this.stack.length - 1];
7863
7863
  if (u("atHardBreak")) {
7864
- const re = $.children[$.children.length - 1];
7865
- re.position.end = qt(L.end), i("atHardBreak");
7864
+ const re = V.children[V.children.length - 1];
7865
+ re.position.end = qt(D.end), i("atHardBreak");
7866
7866
  return;
7867
7867
  }
7868
- !u("setextHeadingSlurpLineEnding") && t.canContainEols.includes($.type) && (z.call(this, L), V.call(this, L));
7868
+ !u("setextHeadingSlurpLineEnding") && t.canContainEols.includes(V.type) && (z.call(this, D), $.call(this, D));
7869
7869
  }
7870
7870
  function I() {
7871
7871
  i("atHardBreak", !0);
7872
7872
  }
7873
- function D() {
7874
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7875
- $.value = L;
7873
+ function R() {
7874
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7875
+ V.value = D;
7876
7876
  }
7877
7877
  function U() {
7878
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7879
- $.value = L;
7878
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7879
+ V.value = D;
7880
7880
  }
7881
7881
  function W() {
7882
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7883
- $.value = L;
7882
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7883
+ V.value = D;
7884
7884
  }
7885
7885
  function q() {
7886
- const L = this.stack[this.stack.length - 1];
7886
+ const D = this.stack[this.stack.length - 1];
7887
7887
  if (u("inReference")) {
7888
- const $ = u("referenceType") || "shortcut";
7889
- L.type += "Reference", L.referenceType = $, delete L.url, delete L.title;
7888
+ const V = u("referenceType") || "shortcut";
7889
+ D.type += "Reference", D.referenceType = V, delete D.url, delete D.title;
7890
7890
  } else
7891
- delete L.identifier, delete L.label;
7891
+ delete D.identifier, delete D.label;
7892
7892
  i("referenceType");
7893
7893
  }
7894
7894
  function Y() {
7895
- const L = this.stack[this.stack.length - 1];
7895
+ const D = this.stack[this.stack.length - 1];
7896
7896
  if (u("inReference")) {
7897
- const $ = u("referenceType") || "shortcut";
7898
- L.type += "Reference", L.referenceType = $, delete L.url, delete L.title;
7897
+ const V = u("referenceType") || "shortcut";
7898
+ D.type += "Reference", D.referenceType = V, delete D.url, delete D.title;
7899
7899
  } else
7900
- delete L.identifier, delete L.label;
7900
+ delete D.identifier, delete D.label;
7901
7901
  i("referenceType");
7902
7902
  }
7903
- function g(L) {
7904
- const $ = this.sliceSerialize(L), re = this.stack[this.stack.length - 2];
7905
- re.label = Z1($), re.identifier = _n($).toLowerCase();
7903
+ function g(D) {
7904
+ const V = this.sliceSerialize(D), re = this.stack[this.stack.length - 2];
7905
+ re.label = Z1(V), re.identifier = _n(V).toLowerCase();
7906
7906
  }
7907
7907
  function ne() {
7908
- const L = this.stack[this.stack.length - 1], $ = this.resume(), re = this.stack[this.stack.length - 1];
7908
+ const D = this.stack[this.stack.length - 1], V = this.resume(), re = this.stack[this.stack.length - 1];
7909
7909
  if (i("inReference", !0), re.type === "link") {
7910
- const ae = L.children;
7910
+ const ae = D.children;
7911
7911
  re.children = ae;
7912
7912
  } else
7913
- re.alt = $;
7913
+ re.alt = V;
7914
7914
  }
7915
7915
  function oe() {
7916
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7917
- $.url = L;
7916
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7917
+ V.url = D;
7918
7918
  }
7919
7919
  function S() {
7920
- const L = this.resume(), $ = this.stack[this.stack.length - 1];
7921
- $.title = L;
7920
+ const D = this.resume(), V = this.stack[this.stack.length - 1];
7921
+ V.title = D;
7922
7922
  }
7923
7923
  function le() {
7924
7924
  i("inReference");
7925
7925
  }
7926
- function Ee() {
7926
+ function ye() {
7927
7927
  i("referenceType", "collapsed");
7928
7928
  }
7929
- function me(L) {
7930
- const $ = this.resume(), re = this.stack[this.stack.length - 1];
7931
- re.label = $, re.identifier = _n(
7932
- this.sliceSerialize(L)
7929
+ function me(D) {
7930
+ const V = this.resume(), re = this.stack[this.stack.length - 1];
7931
+ re.label = V, re.identifier = _n(
7932
+ this.sliceSerialize(D)
7933
7933
  ).toLowerCase(), i("referenceType", "full");
7934
7934
  }
7935
- function Se(L) {
7936
- i("characterReferenceType", L.type);
7935
+ function xe(D) {
7936
+ i("characterReferenceType", D.type);
7937
7937
  }
7938
- function ve(L) {
7939
- const $ = this.sliceSerialize(L), re = u("characterReferenceType");
7938
+ function ve(D) {
7939
+ const V = this.sliceSerialize(D), re = u("characterReferenceType");
7940
7940
  let ae;
7941
7941
  re ? (ae = Tl(
7942
- $,
7942
+ V,
7943
7943
  re === "characterReferenceMarkerNumeric" ? 10 : 16
7944
- ), i("characterReferenceType")) : ae = Di($);
7944
+ ), i("characterReferenceType")) : ae = Di(V);
7945
7945
  const ue = this.stack.pop();
7946
- ue.value += ae, ue.position.end = qt(L.end);
7946
+ ue.value += ae, ue.position.end = qt(D.end);
7947
7947
  }
7948
- function Me(L) {
7949
- V.call(this, L);
7950
- const $ = this.stack[this.stack.length - 1];
7951
- $.url = this.sliceSerialize(L);
7948
+ function Me(D) {
7949
+ $.call(this, D);
7950
+ const V = this.stack[this.stack.length - 1];
7951
+ V.url = this.sliceSerialize(D);
7952
7952
  }
7953
- function Oe(L) {
7954
- V.call(this, L);
7955
- const $ = this.stack[this.stack.length - 1];
7956
- $.url = "mailto:" + this.sliceSerialize(L);
7953
+ function Oe(D) {
7954
+ $.call(this, D);
7955
+ const V = this.stack[this.stack.length - 1];
7956
+ V.url = "mailto:" + this.sliceSerialize(D);
7957
7957
  }
7958
7958
  function We() {
7959
7959
  return {
@@ -8024,19 +8024,19 @@ function tm(e) {
8024
8024
  children: []
8025
8025
  };
8026
8026
  }
8027
- function jt(L) {
8027
+ function jt(D) {
8028
8028
  return {
8029
8029
  type: "list",
8030
- ordered: L.type === "listOrdered",
8030
+ ordered: D.type === "listOrdered",
8031
8031
  start: null,
8032
- spread: L._spread,
8032
+ spread: D._spread,
8033
8033
  children: []
8034
8034
  };
8035
8035
  }
8036
- function Dt(L) {
8036
+ function Dt(D) {
8037
8037
  return {
8038
8038
  type: "listItem",
8039
- spread: L._spread,
8039
+ spread: D._spread,
8040
8040
  checked: null,
8041
8041
  children: []
8042
8042
  };
@@ -10049,7 +10049,7 @@ function a2(e) {
10049
10049
  });
10050
10050
  };
10051
10051
  }
10052
- var Fa = { exports: {} }, Ae = {};
10052
+ var Fa = { exports: {} }, Se = {};
10053
10053
  /**
10054
10054
  * @license React
10055
10055
  * react-is.production.min.js
@@ -10061,7 +10061,7 @@ var Fa = { exports: {} }, Ae = {};
10061
10061
  */
10062
10062
  var Ao;
10063
10063
  function i2() {
10064
- if (Ao) return Ae;
10064
+ if (Ao) return Se;
10065
10065
  Ao = 1;
10066
10066
  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"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), b;
10067
10067
  b = Symbol.for("react.module.reference");
@@ -10095,37 +10095,37 @@ function i2() {
10095
10095
  }
10096
10096
  }
10097
10097
  }
10098
- return Ae.ContextConsumer = u, Ae.ContextProvider = i, Ae.Element = e, Ae.ForwardRef = l, Ae.Fragment = n, Ae.Lazy = p, Ae.Memo = h, Ae.Portal = t, Ae.Profiler = a, Ae.StrictMode = r, Ae.Suspense = c, Ae.SuspenseList = d, Ae.isAsyncMode = function() {
10098
+ return Se.ContextConsumer = u, Se.ContextProvider = i, Se.Element = e, Se.ForwardRef = l, Se.Fragment = n, Se.Lazy = p, Se.Memo = h, Se.Portal = t, Se.Profiler = a, Se.StrictMode = r, Se.Suspense = c, Se.SuspenseList = d, Se.isAsyncMode = function() {
10099
10099
  return !1;
10100
- }, Ae.isConcurrentMode = function() {
10100
+ }, Se.isConcurrentMode = function() {
10101
10101
  return !1;
10102
- }, Ae.isContextConsumer = function(_) {
10102
+ }, Se.isContextConsumer = function(_) {
10103
10103
  return m(_) === u;
10104
- }, Ae.isContextProvider = function(_) {
10104
+ }, Se.isContextProvider = function(_) {
10105
10105
  return m(_) === i;
10106
- }, Ae.isElement = function(_) {
10106
+ }, Se.isElement = function(_) {
10107
10107
  return typeof _ == "object" && _ !== null && _.$$typeof === e;
10108
- }, Ae.isForwardRef = function(_) {
10108
+ }, Se.isForwardRef = function(_) {
10109
10109
  return m(_) === l;
10110
- }, Ae.isFragment = function(_) {
10110
+ }, Se.isFragment = function(_) {
10111
10111
  return m(_) === n;
10112
- }, Ae.isLazy = function(_) {
10112
+ }, Se.isLazy = function(_) {
10113
10113
  return m(_) === p;
10114
- }, Ae.isMemo = function(_) {
10114
+ }, Se.isMemo = function(_) {
10115
10115
  return m(_) === h;
10116
- }, Ae.isPortal = function(_) {
10116
+ }, Se.isPortal = function(_) {
10117
10117
  return m(_) === t;
10118
- }, Ae.isProfiler = function(_) {
10118
+ }, Se.isProfiler = function(_) {
10119
10119
  return m(_) === a;
10120
- }, Ae.isStrictMode = function(_) {
10120
+ }, Se.isStrictMode = function(_) {
10121
10121
  return m(_) === r;
10122
- }, Ae.isSuspense = function(_) {
10122
+ }, Se.isSuspense = function(_) {
10123
10123
  return m(_) === c;
10124
- }, Ae.isSuspenseList = function(_) {
10124
+ }, Se.isSuspenseList = function(_) {
10125
10125
  return m(_) === d;
10126
- }, Ae.isValidElementType = function(_) {
10126
+ }, Se.isValidElementType = function(_) {
10127
10127
  return typeof _ == "string" || typeof _ == "function" || _ === n || _ === a || _ === r || _ === c || _ === d || _ === f || typeof _ == "object" && _ !== null && (_.$$typeof === p || _.$$typeof === h || _.$$typeof === i || _.$$typeof === u || _.$$typeof === l || _.$$typeof === b || _.getModuleId !== void 0);
10128
- }, Ae.typeOf = m, Ae;
10128
+ }, Se.typeOf = m, Se;
10129
10129
  }
10130
10130
  var So;
10131
10131
  function u2() {
@@ -10178,78 +10178,78 @@ function c2() {
10178
10178
  if (!m) return [];
10179
10179
  _ = _ || {};
10180
10180
  var T = 1, M = 1;
10181
- function B(R) {
10182
- var I = R.match(t);
10181
+ function B(L) {
10182
+ var I = L.match(t);
10183
10183
  I && (T += I.length);
10184
- var D = R.lastIndexOf(l);
10185
- M = ~D ? R.length - D : M + R.length;
10184
+ var R = L.lastIndexOf(l);
10185
+ M = ~R ? L.length - R : M + L.length;
10186
10186
  }
10187
10187
  function K() {
10188
- var R = { line: T, column: M };
10188
+ var L = { line: T, column: M };
10189
10189
  return function(I) {
10190
- return I.position = new w(R), G(), I;
10190
+ return I.position = new w(L), G(), I;
10191
10191
  };
10192
10192
  }
10193
- function w(R) {
10194
- this.start = R, this.end = { line: T, column: M }, this.source = _.source;
10193
+ function w(L) {
10194
+ this.start = L, this.end = { line: T, column: M }, this.source = _.source;
10195
10195
  }
10196
10196
  w.prototype.content = m;
10197
- function y(R) {
10197
+ function y(L) {
10198
10198
  var I = new Error(
10199
- _.source + ":" + T + ":" + M + ": " + R
10199
+ _.source + ":" + T + ":" + M + ": " + L
10200
10200
  );
10201
- if (I.reason = R, I.filename = _.source, I.line = T, I.column = M, I.source = m, !_.silent) throw I;
10201
+ if (I.reason = L, I.filename = _.source, I.line = T, I.column = M, I.source = m, !_.silent) throw I;
10202
10202
  }
10203
- function k(R) {
10204
- var I = R.exec(m);
10203
+ function k(L) {
10204
+ var I = L.exec(m);
10205
10205
  if (I) {
10206
- var D = I[0];
10207
- return B(D), m = m.slice(D.length), I;
10206
+ var R = I[0];
10207
+ return B(R), m = m.slice(R.length), I;
10208
10208
  }
10209
10209
  }
10210
10210
  function G() {
10211
10211
  k(n);
10212
10212
  }
10213
- function F(R) {
10213
+ function F(L) {
10214
10214
  var I;
10215
- for (R = R || []; I = Z(); )
10216
- I !== !1 && R.push(I);
10217
- return R;
10215
+ for (L = L || []; I = Z(); )
10216
+ I !== !1 && L.push(I);
10217
+ return L;
10218
10218
  }
10219
10219
  function Z() {
10220
- var R = K();
10220
+ var L = K();
10221
10221
  if (!(c != m.charAt(0) || d != m.charAt(1))) {
10222
10222
  for (var I = 2; h != m.charAt(I) && (d != m.charAt(I) || c != m.charAt(I + 1)); )
10223
10223
  ++I;
10224
10224
  if (I += 2, h === m.charAt(I - 1))
10225
10225
  return y("End of comment missing");
10226
- var D = m.slice(2, I - 2);
10227
- return M += 2, B(D), m = m.slice(I), M += 2, R({
10226
+ var R = m.slice(2, I - 2);
10227
+ return M += 2, B(R), m = m.slice(I), M += 2, L({
10228
10228
  type: p,
10229
- comment: D
10229
+ comment: R
10230
10230
  });
10231
10231
  }
10232
10232
  }
10233
10233
  function z() {
10234
- var R = K(), I = k(r);
10234
+ var L = K(), I = k(r);
10235
10235
  if (I) {
10236
10236
  if (Z(), !k(a)) return y("property missing ':'");
10237
- var D = k(i), U = R({
10237
+ var R = k(i), U = L({
10238
10238
  type: f,
10239
10239
  property: b(I[0].replace(e, h)),
10240
- value: D ? b(D[0].replace(e, h)) : h
10240
+ value: R ? b(R[0].replace(e, h)) : h
10241
10241
  });
10242
10242
  return k(u), U;
10243
10243
  }
10244
10244
  }
10245
- function V() {
10246
- var R = [];
10247
- F(R);
10245
+ function $() {
10246
+ var L = [];
10247
+ F(L);
10248
10248
  for (var I; I = z(); )
10249
- I !== !1 && (R.push(I), F(R));
10250
- return R;
10249
+ I !== !1 && (L.push(I), F(L));
10250
+ return L;
10251
10251
  }
10252
- return G(), V();
10252
+ return G(), $();
10253
10253
  };
10254
10254
  function b(m) {
10255
10255
  return m ? m.replace(s, h) : h;
@@ -10592,17 +10592,17 @@ function I2() {
10592
10592
  e.exports = r();
10593
10593
  })(O2, function() {
10594
10594
  var n = 1e3, r = 6e4, a = 36e5, i = "millisecond", u = "second", s = "minute", l = "hour", c = "day", d = "week", h = "month", p = "quarter", f = "year", b = "date", m = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(I) {
10595
- var D = ["th", "st", "nd", "rd"], U = I % 100;
10596
- return "[" + I + (D[(U - 20) % 10] || D[U] || D[0]) + "]";
10597
- } }, B = function(I, D, U) {
10595
+ var R = ["th", "st", "nd", "rd"], U = I % 100;
10596
+ return "[" + I + (R[(U - 20) % 10] || R[U] || R[0]) + "]";
10597
+ } }, B = function(I, R, U) {
10598
10598
  var W = String(I);
10599
- return !W || W.length >= D ? I : "" + Array(D + 1 - W.length).join(U) + I;
10599
+ return !W || W.length >= R ? I : "" + Array(R + 1 - W.length).join(U) + I;
10600
10600
  }, K = { s: B, z: function(I) {
10601
- var D = -I.utcOffset(), U = Math.abs(D), W = Math.floor(U / 60), q = U % 60;
10602
- return (D <= 0 ? "+" : "-") + B(W, 2, "0") + ":" + B(q, 2, "0");
10603
- }, m: function I(D, U) {
10604
- if (D.date() < U.date()) return -I(U, D);
10605
- var W = 12 * (U.year() - D.year()) + (U.month() - D.month()), q = D.clone().add(W, h), Y = U - q < 0, g = D.clone().add(W + (Y ? -1 : 1), h);
10601
+ var R = -I.utcOffset(), U = Math.abs(R), W = Math.floor(U / 60), q = U % 60;
10602
+ return (R <= 0 ? "+" : "-") + B(W, 2, "0") + ":" + B(q, 2, "0");
10603
+ }, m: function I(R, U) {
10604
+ if (R.date() < U.date()) return -I(U, R);
10605
+ var W = 12 * (U.year() - R.year()) + (U.month() - R.month()), q = R.clone().add(W, h), Y = U - q < 0, g = R.clone().add(W + (Y ? -1 : 1), h);
10606
10606
  return +(-(W + (U - q) / (Y ? q - g : g - q)) || 0);
10607
10607
  }, a: function(I) {
10608
10608
  return I < 0 ? Math.ceil(I) || 0 : Math.floor(I);
@@ -10613,34 +10613,34 @@ function I2() {
10613
10613
  } }, w = "en", y = {};
10614
10614
  y[w] = M;
10615
10615
  var k = "$isDayjsObject", G = function(I) {
10616
- return I instanceof V || !(!I || !I[k]);
10617
- }, F = function I(D, U, W) {
10616
+ return I instanceof $ || !(!I || !I[k]);
10617
+ }, F = function I(R, U, W) {
10618
10618
  var q;
10619
- if (!D) return w;
10620
- if (typeof D == "string") {
10621
- var Y = D.toLowerCase();
10619
+ if (!R) return w;
10620
+ if (typeof R == "string") {
10621
+ var Y = R.toLowerCase();
10622
10622
  y[Y] && (q = Y), U && (y[Y] = U, q = Y);
10623
- var g = D.split("-");
10623
+ var g = R.split("-");
10624
10624
  if (!q && g.length > 1) return I(g[0]);
10625
10625
  } else {
10626
- var ne = D.name;
10627
- y[ne] = D, q = ne;
10626
+ var ne = R.name;
10627
+ y[ne] = R, q = ne;
10628
10628
  }
10629
10629
  return !W && q && (w = q), q || !W && w;
10630
- }, Z = function(I, D) {
10630
+ }, Z = function(I, R) {
10631
10631
  if (G(I)) return I.clone();
10632
- var U = typeof D == "object" ? D : {};
10633
- return U.date = I, U.args = arguments, new V(U);
10632
+ var U = typeof R == "object" ? R : {};
10633
+ return U.date = I, U.args = arguments, new $(U);
10634
10634
  }, z = K;
10635
- z.l = F, z.i = G, z.w = function(I, D) {
10636
- return Z(I, { locale: D.$L, utc: D.$u, x: D.$x, $offset: D.$offset });
10635
+ z.l = F, z.i = G, z.w = function(I, R) {
10636
+ return Z(I, { locale: R.$L, utc: R.$u, x: R.$x, $offset: R.$offset });
10637
10637
  };
10638
- var V = function() {
10638
+ var $ = function() {
10639
10639
  function I(U) {
10640
10640
  this.$L = F(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[k] = !0;
10641
10641
  }
10642
- var D = I.prototype;
10643
- return D.parse = function(U) {
10642
+ var R = I.prototype;
10643
+ return R.parse = function(U) {
10644
10644
  this.$d = function(W) {
10645
10645
  var q = W.date, Y = W.utc;
10646
10646
  if (q === null) return /* @__PURE__ */ new Date(NaN);
@@ -10655,41 +10655,41 @@ function I2() {
10655
10655
  }
10656
10656
  return new Date(q);
10657
10657
  }(U), this.init();
10658
- }, D.init = function() {
10658
+ }, R.init = function() {
10659
10659
  var U = this.$d;
10660
10660
  this.$y = U.getFullYear(), this.$M = U.getMonth(), this.$D = U.getDate(), this.$W = U.getDay(), this.$H = U.getHours(), this.$m = U.getMinutes(), this.$s = U.getSeconds(), this.$ms = U.getMilliseconds();
10661
- }, D.$utils = function() {
10661
+ }, R.$utils = function() {
10662
10662
  return z;
10663
- }, D.isValid = function() {
10663
+ }, R.isValid = function() {
10664
10664
  return this.$d.toString() !== m;
10665
- }, D.isSame = function(U, W) {
10665
+ }, R.isSame = function(U, W) {
10666
10666
  var q = Z(U);
10667
10667
  return this.startOf(W) <= q && q <= this.endOf(W);
10668
- }, D.isAfter = function(U, W) {
10668
+ }, R.isAfter = function(U, W) {
10669
10669
  return Z(U) < this.startOf(W);
10670
- }, D.isBefore = function(U, W) {
10670
+ }, R.isBefore = function(U, W) {
10671
10671
  return this.endOf(W) < Z(U);
10672
- }, D.$g = function(U, W, q) {
10672
+ }, R.$g = function(U, W, q) {
10673
10673
  return z.u(U) ? this[W] : this.set(q, U);
10674
- }, D.unix = function() {
10674
+ }, R.unix = function() {
10675
10675
  return Math.floor(this.valueOf() / 1e3);
10676
- }, D.valueOf = function() {
10676
+ }, R.valueOf = function() {
10677
10677
  return this.$d.getTime();
10678
- }, D.startOf = function(U, W) {
10678
+ }, R.startOf = function(U, W) {
10679
10679
  var q = this, Y = !!z.u(W) || W, g = z.p(U), ne = function(Me, Oe) {
10680
10680
  var We = z.w(q.$u ? Date.UTC(q.$y, Oe, Me) : new Date(q.$y, Oe, Me), q);
10681
10681
  return Y ? We : We.endOf(c);
10682
10682
  }, oe = function(Me, Oe) {
10683
10683
  return z.w(q.toDate()[Me].apply(q.toDate("s"), (Y ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Oe)), q);
10684
- }, S = this.$W, le = this.$M, Ee = this.$D, me = "set" + (this.$u ? "UTC" : "");
10684
+ }, S = this.$W, le = this.$M, ye = this.$D, me = "set" + (this.$u ? "UTC" : "");
10685
10685
  switch (g) {
10686
10686
  case f:
10687
10687
  return Y ? ne(1, 0) : ne(31, 11);
10688
10688
  case h:
10689
10689
  return Y ? ne(1, le) : ne(0, le + 1);
10690
10690
  case d:
10691
- var Se = this.$locale().weekStart || 0, ve = (S < Se ? S + 7 : S) - Se;
10692
- return ne(Y ? Ee - ve : Ee + (6 - ve), le);
10691
+ var xe = this.$locale().weekStart || 0, ve = (S < xe ? S + 7 : S) - xe;
10692
+ return ne(Y ? ye - ve : ye + (6 - ve), le);
10693
10693
  case c:
10694
10694
  case b:
10695
10695
  return oe(me + "Hours", 0);
@@ -10702,25 +10702,25 @@ function I2() {
10702
10702
  default:
10703
10703
  return this.clone();
10704
10704
  }
10705
- }, D.endOf = function(U) {
10705
+ }, R.endOf = function(U) {
10706
10706
  return this.startOf(U, !1);
10707
- }, D.$set = function(U, W) {
10707
+ }, R.$set = function(U, W) {
10708
10708
  var q, Y = z.p(U), g = "set" + (this.$u ? "UTC" : ""), ne = (q = {}, q[c] = g + "Date", q[b] = g + "Date", q[h] = g + "Month", q[f] = g + "FullYear", q[l] = g + "Hours", q[s] = g + "Minutes", q[u] = g + "Seconds", q[i] = g + "Milliseconds", q)[Y], oe = Y === c ? this.$D + (W - this.$W) : W;
10709
10709
  if (Y === h || Y === f) {
10710
10710
  var S = this.clone().set(b, 1);
10711
10711
  S.$d[ne](oe), S.init(), this.$d = S.set(b, Math.min(this.$D, S.daysInMonth())).$d;
10712
10712
  } else ne && this.$d[ne](oe);
10713
10713
  return this.init(), this;
10714
- }, D.set = function(U, W) {
10714
+ }, R.set = function(U, W) {
10715
10715
  return this.clone().$set(U, W);
10716
- }, D.get = function(U) {
10716
+ }, R.get = function(U) {
10717
10717
  return this[z.p(U)]();
10718
- }, D.add = function(U, W) {
10718
+ }, R.add = function(U, W) {
10719
10719
  var q, Y = this;
10720
10720
  U = Number(U);
10721
10721
  var g = z.p(W), ne = function(le) {
10722
- var Ee = Z(Y);
10723
- return z.w(Ee.date(Ee.date() + Math.round(le * U)), Y);
10722
+ var ye = Z(Y);
10723
+ return z.w(ye.date(ye.date() + Math.round(le * U)), Y);
10724
10724
  };
10725
10725
  if (g === h) return this.set(h, this.$M + U);
10726
10726
  if (g === f) return this.set(f, this.$y + U);
@@ -10728,12 +10728,12 @@ function I2() {
10728
10728
  if (g === d) return ne(7);
10729
10729
  var oe = (q = {}, q[s] = r, q[l] = a, q[u] = n, q)[g] || 1, S = this.$d.getTime() + U * oe;
10730
10730
  return z.w(S, this);
10731
- }, D.subtract = function(U, W) {
10731
+ }, R.subtract = function(U, W) {
10732
10732
  return this.add(-1 * U, W);
10733
- }, D.format = function(U) {
10733
+ }, R.format = function(U) {
10734
10734
  var W = this, q = this.$locale();
10735
10735
  if (!this.isValid()) return q.invalidDate || m;
10736
- var Y = U || "YYYY-MM-DDTHH:mm:ssZ", g = z.z(this), ne = this.$H, oe = this.$m, S = this.$M, le = q.weekdays, Ee = q.months, me = q.meridiem, Se = function(Oe, We, at, _t) {
10736
+ var Y = U || "YYYY-MM-DDTHH:mm:ssZ", g = z.z(this), ne = this.$H, oe = this.$m, S = this.$M, le = q.weekdays, ye = q.months, me = q.meridiem, xe = function(Oe, We, at, _t) {
10737
10737
  return Oe && (Oe[We] || Oe(W, Y)) || at[We].slice(0, _t);
10738
10738
  }, ve = function(Oe) {
10739
10739
  return z.s(ne % 12 || 12, Oe, "0");
@@ -10753,9 +10753,9 @@ function I2() {
10753
10753
  case "MM":
10754
10754
  return z.s(S + 1, 2, "0");
10755
10755
  case "MMM":
10756
- return Se(q.monthsShort, S, Ee, 3);
10756
+ return xe(q.monthsShort, S, ye, 3);
10757
10757
  case "MMMM":
10758
- return Se(Ee, S);
10758
+ return xe(ye, S);
10759
10759
  case "D":
10760
10760
  return W.$D;
10761
10761
  case "DD":
@@ -10763,9 +10763,9 @@ function I2() {
10763
10763
  case "d":
10764
10764
  return String(W.$W);
10765
10765
  case "dd":
10766
- return Se(q.weekdaysMin, W.$W, le, 2);
10766
+ return xe(q.weekdaysMin, W.$W, le, 2);
10767
10767
  case "ddd":
10768
- return Se(q.weekdaysShort, W.$W, le, 3);
10768
+ return xe(q.weekdaysShort, W.$W, le, 3);
10769
10769
  case "dddd":
10770
10770
  return le[W.$W];
10771
10771
  case "H":
@@ -10796,21 +10796,21 @@ function I2() {
10796
10796
  return null;
10797
10797
  }(Oe) || g.replace(":", "");
10798
10798
  });
10799
- }, D.utcOffset = function() {
10799
+ }, R.utcOffset = function() {
10800
10800
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
10801
- }, D.diff = function(U, W, q) {
10802
- var Y, g = this, ne = z.p(W), oe = Z(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe, Ee = function() {
10801
+ }, R.diff = function(U, W, q) {
10802
+ var Y, g = this, ne = z.p(W), oe = Z(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe, ye = function() {
10803
10803
  return z.m(g, oe);
10804
10804
  };
10805
10805
  switch (ne) {
10806
10806
  case f:
10807
- Y = Ee() / 12;
10807
+ Y = ye() / 12;
10808
10808
  break;
10809
10809
  case h:
10810
- Y = Ee();
10810
+ Y = ye();
10811
10811
  break;
10812
10812
  case p:
10813
- Y = Ee() / 3;
10813
+ Y = ye() / 3;
10814
10814
  break;
10815
10815
  case d:
10816
10816
  Y = (le - S) / 6048e5;
@@ -10831,32 +10831,32 @@ function I2() {
10831
10831
  Y = le;
10832
10832
  }
10833
10833
  return q ? Y : z.a(Y);
10834
- }, D.daysInMonth = function() {
10834
+ }, R.daysInMonth = function() {
10835
10835
  return this.endOf(h).$D;
10836
- }, D.$locale = function() {
10836
+ }, R.$locale = function() {
10837
10837
  return y[this.$L];
10838
- }, D.locale = function(U, W) {
10838
+ }, R.locale = function(U, W) {
10839
10839
  if (!U) return this.$L;
10840
10840
  var q = this.clone(), Y = F(U, W, !0);
10841
10841
  return Y && (q.$L = Y), q;
10842
- }, D.clone = function() {
10842
+ }, R.clone = function() {
10843
10843
  return z.w(this.$d, this);
10844
- }, D.toDate = function() {
10844
+ }, R.toDate = function() {
10845
10845
  return new Date(this.valueOf());
10846
- }, D.toJSON = function() {
10846
+ }, R.toJSON = function() {
10847
10847
  return this.isValid() ? this.toISOString() : null;
10848
- }, D.toISOString = function() {
10848
+ }, R.toISOString = function() {
10849
10849
  return this.$d.toISOString();
10850
- }, D.toString = function() {
10850
+ }, R.toString = function() {
10851
10851
  return this.$d.toUTCString();
10852
10852
  }, I;
10853
- }(), R = V.prototype;
10854
- return Z.prototype = R, [["$ms", i], ["$s", u], ["$m", s], ["$H", l], ["$W", c], ["$M", h], ["$y", f], ["$D", b]].forEach(function(I) {
10855
- R[I[1]] = function(D) {
10856
- return this.$g(D, I[0], I[1]);
10853
+ }(), L = $.prototype;
10854
+ return Z.prototype = L, [["$ms", i], ["$s", u], ["$m", s], ["$H", l], ["$W", c], ["$M", h], ["$y", f], ["$D", b]].forEach(function(I) {
10855
+ L[I[1]] = function(R) {
10856
+ return this.$g(R, I[0], I[1]);
10857
10857
  };
10858
- }), Z.extend = function(I, D) {
10859
- return I.$i || (I(D, V, Z), I.$i = !0), Z;
10858
+ }), Z.extend = function(I, R) {
10859
+ return I.$i || (I(R, $, Z), I.$i = !0), Z;
10860
10860
  }, Z.locale = F, Z.isDayjs = G, Z.unix = function(I) {
10861
10861
  return Z(1e3 * I);
10862
10862
  }, Z.en = y[w], Z.Ls = y, Z.p = {}, Z;
@@ -14539,7 +14539,7 @@ var C;
14539
14539
  (function(e) {
14540
14540
  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";
14541
14541
  })(C || (C = {}));
14542
- const He = {
14542
+ const Ue = {
14543
14543
  DATA: C.DATA,
14544
14544
  RCDATA: C.RCDATA,
14545
14545
  RAWTEXT: C.RAWTEXT,
@@ -17314,7 +17314,7 @@ class es {
17314
17314
  this._insertElement(t, X.HTML), this.tokenizer.state = n, this.originalInsertionMode = this.insertionMode, this.insertionMode = O.TEXT;
17315
17315
  }
17316
17316
  switchToPlaintextParsing() {
17317
- this.insertionMode = O.TEXT, this.originalInsertionMode = O.IN_BODY, this.tokenizer.state = He.PLAINTEXT;
17317
+ this.insertionMode = O.TEXT, this.originalInsertionMode = O.IN_BODY, this.tokenizer.state = Ue.PLAINTEXT;
17318
17318
  }
17319
17319
  //Fragment parsing
17320
17320
  /** @protected */
@@ -17337,7 +17337,7 @@ class es {
17337
17337
  switch (this.fragmentContextID) {
17338
17338
  case o.TITLE:
17339
17339
  case o.TEXTAREA: {
17340
- this.tokenizer.state = He.RCDATA;
17340
+ this.tokenizer.state = Ue.RCDATA;
17341
17341
  break;
17342
17342
  }
17343
17343
  case o.STYLE:
@@ -17346,15 +17346,15 @@ class es {
17346
17346
  case o.NOEMBED:
17347
17347
  case o.NOFRAMES:
17348
17348
  case o.NOSCRIPT: {
17349
- this.tokenizer.state = He.RAWTEXT;
17349
+ this.tokenizer.state = Ue.RAWTEXT;
17350
17350
  break;
17351
17351
  }
17352
17352
  case o.SCRIPT: {
17353
- this.tokenizer.state = He.SCRIPT_DATA;
17353
+ this.tokenizer.state = Ue.SCRIPT_DATA;
17354
17354
  break;
17355
17355
  }
17356
17356
  case o.PLAINTEXT: {
17357
- this.tokenizer.state = He.PLAINTEXT;
17357
+ this.tokenizer.state = Ue.PLAINTEXT;
17358
17358
  break;
17359
17359
  }
17360
17360
  }
@@ -18279,20 +18279,20 @@ function At(e, t) {
18279
18279
  break;
18280
18280
  }
18281
18281
  case o.TITLE: {
18282
- e._switchToTextParsing(t, He.RCDATA);
18282
+ e._switchToTextParsing(t, Ue.RCDATA);
18283
18283
  break;
18284
18284
  }
18285
18285
  case o.NOSCRIPT: {
18286
- e.options.scriptingEnabled ? e._switchToTextParsing(t, He.RAWTEXT) : (e._insertElement(t, X.HTML), e.insertionMode = O.IN_HEAD_NO_SCRIPT);
18286
+ e.options.scriptingEnabled ? e._switchToTextParsing(t, Ue.RAWTEXT) : (e._insertElement(t, X.HTML), e.insertionMode = O.IN_HEAD_NO_SCRIPT);
18287
18287
  break;
18288
18288
  }
18289
18289
  case o.NOFRAMES:
18290
18290
  case o.STYLE: {
18291
- e._switchToTextParsing(t, He.RAWTEXT);
18291
+ e._switchToTextParsing(t, Ue.RAWTEXT);
18292
18292
  break;
18293
18293
  }
18294
18294
  case o.SCRIPT: {
18295
- e._switchToTextParsing(t, He.SCRIPT_DATA);
18295
+ e._switchToTextParsing(t, Ue.SCRIPT_DATA);
18296
18296
  break;
18297
18297
  }
18298
18298
  case o.TEMPLATE: {
@@ -18502,7 +18502,7 @@ function Gb(e, t) {
18502
18502
  e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, X.HTML);
18503
18503
  }
18504
18504
  function Xb(e, t) {
18505
- e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, X.HTML), e.tokenizer.state = He.PLAINTEXT;
18505
+ e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, X.HTML), e.tokenizer.state = Ue.PLAINTEXT;
18506
18506
  }
18507
18507
  function Kb(e, t) {
18508
18508
  e.openElements.hasInScope(o.BUTTON) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(o.BUTTON)), e._reconstructActiveFormattingElements(), e._insertElement(t, X.HTML), e.framesetOk = !1;
@@ -18543,16 +18543,16 @@ function iE(e, t) {
18543
18543
  t.tagName = P.IMG, t.tagID = o.IMG, Dc(e, t);
18544
18544
  }
18545
18545
  function uE(e, t) {
18546
- e._insertElement(t, X.HTML), e.skipNextNewLine = !0, e.tokenizer.state = He.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = O.TEXT;
18546
+ e._insertElement(t, X.HTML), e.skipNextNewLine = !0, e.tokenizer.state = Ue.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = O.TEXT;
18547
18547
  }
18548
18548
  function oE(e, t) {
18549
- e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, He.RAWTEXT);
18549
+ e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, Ue.RAWTEXT);
18550
18550
  }
18551
18551
  function sE(e, t) {
18552
- e.framesetOk = !1, e._switchToTextParsing(t, He.RAWTEXT);
18552
+ e.framesetOk = !1, e._switchToTextParsing(t, Ue.RAWTEXT);
18553
18553
  }
18554
18554
  function ts(e, t) {
18555
- e._switchToTextParsing(t, He.RAWTEXT);
18555
+ e._switchToTextParsing(t, Ue.RAWTEXT);
18556
18556
  }
18557
18557
  function lE(e, t) {
18558
18558
  e._reconstructActiveFormattingElements(), e._insertElement(t, X.HTML), e.framesetOk = !1, e.insertionMode = e.insertionMode === O.IN_TABLE || e.insertionMode === O.IN_CAPTION || e.insertionMode === O.IN_TABLE_BODY || e.insertionMode === O.IN_ROW || e.insertionMode === O.IN_CELL ? O.IN_SELECT_IN_TABLE : O.IN_SELECT;
@@ -19754,7 +19754,7 @@ function TT(e, t) {
19754
19754
  function Dn(e, t) {
19755
19755
  Jc(e, t);
19756
19756
  const n = e.parser.tokenizer.currentCharacterToken;
19757
- 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 = He.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: "" };
19757
+ 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 = Ue.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: "" };
19758
19758
  }
19759
19759
  function Jc(e, t) {
19760
19760
  if (t && t.offset !== void 0) {
@@ -19771,7 +19771,7 @@ function Jc(e, t) {
19771
19771
  }
19772
19772
  function yT(e, t) {
19773
19773
  const n = e.tagName.toLowerCase();
19774
- if (t.parser.tokenizer.state === He.PLAINTEXT) return;
19774
+ if (t.parser.tokenizer.state === Ue.PLAINTEXT) return;
19775
19775
  Dn(t, cn(e));
19776
19776
  const r = t.parser.openElements.current;
19777
19777
  let a = "namespaceURI" in r ? r.namespaceURI : nn.html;
@@ -19796,7 +19796,7 @@ function yT(e, t) {
19796
19796
  }
19797
19797
  function _T(e, t) {
19798
19798
  const n = e.tagName.toLowerCase();
19799
- if (!t.parser.tokenizer.inForeignNode && vg.includes(n) || t.parser.tokenizer.state === He.PLAINTEXT) return;
19799
+ if (!t.parser.tokenizer.inForeignNode && vg.includes(n) || t.parser.tokenizer.state === Ue.PLAINTEXT) return;
19800
19800
  Dn(t, Vc(e));
19801
19801
  const r = {
19802
19802
  type: be.END_TAG,
@@ -19809,9 +19809,9 @@ function _T(e, t) {
19809
19809
  };
19810
19810
  t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken), // Current element is closed.
19811
19811
  n === t.parser.tokenizer.lastStartTagName && // `<textarea>` and `<title>`
19812
- (t.parser.tokenizer.state === He.RCDATA || // `<iframe>`, `<noembed>`, `<noframes>`, `<style>`, `<xmp>`
19813
- t.parser.tokenizer.state === He.RAWTEXT || // `<script>`
19814
- t.parser.tokenizer.state === He.SCRIPT_DATA) && (t.parser.tokenizer.state = He.DATA);
19812
+ (t.parser.tokenizer.state === Ue.RCDATA || // `<iframe>`, `<noembed>`, `<noframes>`, `<style>`, `<xmp>`
19813
+ t.parser.tokenizer.state === Ue.RAWTEXT || // `<script>`
19814
+ t.parser.tokenizer.state === Ue.SCRIPT_DATA) && (t.parser.tokenizer.state = Ue.DATA);
19815
19815
  }
19816
19816
  function CT(e) {
19817
19817
  const t = e.type === "root" ? e.children[0] : e;
@@ -19865,7 +19865,7 @@ const xT = "Sure, I can get you to someone who can help.", vT = (e) => {
19865
19865
  submitEvent: s = null
19866
19866
  }) => {
19867
19867
  var K;
19868
- const { primaryColor: l, conversationScreen: c } = se(Be), {
19868
+ const { primaryColor: l, conversationScreen: c } = se(He), {
19869
19869
  content: d,
19870
19870
  disableFeedback: h,
19871
19871
  liveAgent: p,
@@ -20136,7 +20136,7 @@ ia.propTypes = {
20136
20136
  ia.displayName = "ConversationMessages";
20137
20137
  const td = () => {
20138
20138
  var l, c, d;
20139
- const { conversationScreen: e, id: t } = se(Be), n = `${t}-maintenance-banner`, [r, a] = de(
20139
+ const { conversationScreen: e, id: t } = se(He), n = `${t}-maintenance-banner`, [r, a] = de(
20140
20140
  ft.get(n) === void 0
20141
20141
  ), i = /* @__PURE__ */ new Date(), u = new Date(
20142
20142
  (l = e == null ? void 0 : e.maintenanceBanner) == null ? void 0 : l.endDateTime
@@ -20188,7 +20188,7 @@ const td = () => {
20188
20188
  td.displayName = "MaintenanceBanner";
20189
20189
  const nu = ({ loading: e, onPromptClick: t }) => {
20190
20190
  var i;
20191
- const { primaryColor: n, conversationScreen: r } = se(Be), { deleteConversationModal: a } = se(Lt);
20191
+ const { primaryColor: n, conversationScreen: r } = se(He), { deleteConversationModal: a } = se(Lt);
20192
20192
  return /* @__PURE__ */ v.jsxs("div", { style: { display: "grid", gap: ".75rem" }, children: [
20193
20193
  /* @__PURE__ */ v.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
20194
20194
  (i = r == null ? void 0 : r.prompts) == null ? void 0 : i.map((u) => {
@@ -20230,7 +20230,7 @@ function nd({
20230
20230
  userInput: l = ""
20231
20231
  }) {
20232
20232
  var _, T;
20233
- const { conversationScreen: c, disclaimer: d } = se(Be), { deleteConversationModal: h, xpertMessages: p } = se(Lt), { loading: f, setMode: b } = se(Ze), m = (M) => {
20233
+ const { conversationScreen: c, disclaimer: d } = se(He), { deleteConversationModal: h, xpertMessages: p } = se(Lt), { loading: f, setMode: b } = se(Ze), m = (M) => {
20234
20234
  c.liveChat.useOwnChat ? b(Ut.LIVECHAT) : u(M);
20235
20235
  };
20236
20236
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
@@ -20908,49 +20908,49 @@ function ou() {
20908
20908
  }
20909
20909
  return null;
20910
20910
  }, [_, f.disableJson]), y = (0, a.useRef)(null), k = (0, a.useRef)(null), G = (0, a.useRef)(function() {
20911
- }), F = (0, a.useRef)(0), Z = (0, a.useRef)(Date.now()), z = (0, a.useRef)([]), V = (0, a.useRef)(null), R = (0, a.useRef)(f);
20912
- R.current = f;
20913
- var I = y.current && B[y.current] !== void 0 ? B[y.current] : p !== null && b === !0 ? u.ReadyState.CONNECTING : u.ReadyState.UNINSTANTIATED, D = f.queryParams ? JSON.stringify(f.queryParams) : null, U = (0, a.useCallback)(function(Y, g) {
20911
+ }), F = (0, a.useRef)(0), Z = (0, a.useRef)(Date.now()), z = (0, a.useRef)([]), $ = (0, a.useRef)(null), L = (0, a.useRef)(f);
20912
+ L.current = f;
20913
+ var I = y.current && B[y.current] !== void 0 ? B[y.current] : p !== null && b === !0 ? u.ReadyState.CONNECTING : u.ReadyState.UNINSTANTIATED, R = f.queryParams ? JSON.stringify(f.queryParams) : null, U = (0, a.useCallback)(function(Y, g) {
20914
20914
  var ne;
20915
20915
  if (g === void 0 && (g = !0), u.isEventSourceSupported && k.current instanceof EventSource) {
20916
20916
  console.warn("Unable to send a message from an eventSource");
20917
20917
  return;
20918
20918
  }
20919
- ((ne = k.current) === null || ne === void 0 ? void 0 : ne.readyState) === u.ReadyState.OPEN ? ((0, d.assertIsWebSocket)(k.current, R.current.skipAssert), k.current.send(Y)) : g && z.current.push(Y);
20919
+ ((ne = k.current) === null || ne === void 0 ? void 0 : ne.readyState) === u.ReadyState.OPEN ? ((0, d.assertIsWebSocket)(k.current, L.current.skipAssert), k.current.send(Y)) : g && z.current.push(Y);
20920
20920
  }, []), W = (0, a.useCallback)(function(Y, g) {
20921
20921
  g === void 0 && (g = !0), U(JSON.stringify(Y), g);
20922
20922
  }, [U]), q = (0, a.useCallback)(function() {
20923
- return R.current.share !== !0 || u.isEventSourceSupported && k.current instanceof EventSource ? k.current : (V.current === null && k.current && ((0, d.assertIsWebSocket)(k.current, R.current.skipAssert), V.current = (0, c.default)(k.current, G)), V.current);
20923
+ return L.current.share !== !0 || u.isEventSourceSupported && k.current instanceof EventSource ? k.current : ($.current === null && k.current && ((0, d.assertIsWebSocket)(k.current, L.current.skipAssert), $.current = (0, c.default)(k.current, G)), $.current);
20924
20924
  }, []);
20925
20925
  return (0, a.useEffect)(function() {
20926
20926
  if (p !== null && b === !0) {
20927
20927
  var Y, g = !1, ne = !0, oe = function() {
20928
20928
  return t(void 0, void 0, void 0, function() {
20929
- var S, le, Ee;
20929
+ var S, le, ye;
20930
20930
  return n(this, function(me) {
20931
20931
  switch (me.label) {
20932
20932
  case 0:
20933
- return S = y, [4, (0, l.getUrl)(p, R)];
20933
+ return S = y, [4, (0, l.getUrl)(p, L)];
20934
20934
  case 1:
20935
20935
  return S.current = me.sent(), y.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), y.current = "ABORTED", (0, i.flushSync)(function() {
20936
- return K(function(Se) {
20937
- return e(e({}, Se), { ABORTED: u.ReadyState.CLOSED });
20936
+ return K(function(xe) {
20937
+ return e(e({}, xe), { ABORTED: u.ReadyState.CLOSED });
20938
20938
  });
20939
20939
  }), [
20940
20940
  2
20941
20941
  /*return*/
20942
- ]) : (le = function(Se) {
20942
+ ]) : (le = function(xe) {
20943
20943
  g || (0, i.flushSync)(function() {
20944
- return T(Se);
20944
+ return T(xe);
20945
20945
  });
20946
- }, Ee = function(Se) {
20946
+ }, ye = function(xe) {
20947
20947
  g || (0, i.flushSync)(function() {
20948
20948
  return K(function(ve) {
20949
20949
  var Me;
20950
- return e(e({}, ve), y.current && (Me = {}, Me[y.current] = Se, Me));
20950
+ return e(e({}, ve), y.current && (Me = {}, Me[y.current] = xe, Me));
20951
20951
  });
20952
20952
  });
20953
- }, ne && (Y = (0, s.createOrJoinSocket)(k, y.current, Ee, R, le, G, F, Z, U)), [
20953
+ }, ne && (Y = (0, s.createOrJoinSocket)(k, y.current, ye, L, le, G, F, Z, U)), [
20954
20954
  2
20955
20955
  /*return*/
20956
20956
  ]);
@@ -20959,15 +20959,15 @@ function ou() {
20959
20959
  });
20960
20960
  };
20961
20961
  return G.current = function() {
20962
- g || (V.current && (V.current = null), Y == null || Y(), oe());
20962
+ g || ($.current && ($.current = null), Y == null || Y(), oe());
20963
20963
  }, oe(), function() {
20964
- g = !0, ne = !1, V.current && (V.current = null), Y == null || Y(), T(null);
20964
+ g = !0, ne = !1, $.current && ($.current = null), Y == null || Y(), T(null);
20965
20965
  };
20966
20966
  } else (p === null || b === !1) && (F.current = 0, K(function(S) {
20967
20967
  var le;
20968
20968
  return e(e({}, S), y.current && (le = {}, le[y.current] = u.ReadyState.CLOSED, le));
20969
20969
  }));
20970
- }, [p, b, D, U]), (0, a.useEffect)(function() {
20970
+ }, [p, b, R, U]), (0, a.useEffect)(function() {
20971
20971
  I === u.ReadyState.OPEN && z.current.splice(0).forEach(function(Y) {
20972
20972
  U(Y);
20973
20973
  });
@@ -21118,7 +21118,7 @@ const BT = "This conversation with a live agent has ended. Please note that a tr
21118
21118
  CONVERSATION: "CONVERSATION",
21119
21119
  FORM: "FORM"
21120
21120
  }, dn = Wr({}), ad = ({ children: e, liveChatPayload: t }) => {
21121
- const { conversationScreen: n } = se(Be), { pushXpertMessage: r } = se(Lt), { setHasError: a, setMode: i } = se(Ze), [u, s] = de(""), [l, c] = de(!1), [, d] = de(""), [h, p] = de([]), [f, b] = de(null), [m, _] = de(Ht.FORM), [T, M] = de(null), B = (q) => p((Y) => [...Y, q]), K = async (q) => {
21121
+ const { conversationScreen: n } = se(He), { pushXpertMessage: r } = se(Lt), { setHasError: a, setMode: i } = se(Ze), [u, s] = de(""), [l, c] = de(!1), [, d] = de(""), [h, p] = de([]), [f, b] = de(null), [m, _] = de(Ht.FORM), [T, M] = de(null), B = (q) => p((Y) => [...Y, q]), K = async (q) => {
21122
21122
  const Y = await FT(q.data), { conversation_id: g, event_type: ne, body: oe } = Y;
21123
21123
  switch (ne) {
21124
21124
  case "AGENT_TYPING":
@@ -21136,7 +21136,7 @@ const BT = "This conversation with a live agent has ended. Please note that a tr
21136
21136
  case "CONVERSATION_TRANSFERRED_TO_AGENT":
21137
21137
  return;
21138
21138
  case "MESSAGE_ADDED":
21139
- return V(oe);
21139
+ return $(oe);
21140
21140
  case "PARTICIPANT_JOINED":
21141
21141
  return;
21142
21142
  case "PARTICIPANT_LEFT":
@@ -21172,7 +21172,7 @@ const BT = "This conversation with a live agent has ended. Please note that a tr
21172
21172
  }, z = (q) => {
21173
21173
  const { displayName: Y } = q;
21174
21174
  p([]), s(Y ?? "An agent"), _(Ht.CONVERSATION);
21175
- }, V = (q) => {
21175
+ }, $ = (q) => {
21176
21176
  const { messageId: Y, text: g, timestamp: ne } = q;
21177
21177
  B({
21178
21178
  content: g ?? "",
@@ -21286,7 +21286,7 @@ function ud({
21286
21286
  isMounted: r
21287
21287
  }) {
21288
21288
  var c;
21289
- const { conversationScreen: a } = se(Be), { mode: i } = se(Ze), { setDeleteConversationModal: u, xpertMessages: s } = se(Lt), l = i === Ut.XPERT && ((c = a == null ? void 0 : a.conversationHistory) == null ? void 0 : c.allowDeletion) && !!(s != null && s.length);
21289
+ const { conversationScreen: a } = se(He), { mode: i } = se(Ze), { setDeleteConversationModal: u, xpertMessages: s } = se(Lt), l = i === Ut.XPERT && ((c = a == null ? void 0 : a.conversationHistory) == null ? void 0 : c.allowDeletion) && !!(s != null && s.length);
21290
21290
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
21291
21291
  l && /* @__PURE__ */ v.jsx(
21292
21292
  "button",
@@ -21392,7 +21392,7 @@ function sd({
21392
21392
  onClose: r
21393
21393
  }) {
21394
21394
  var c, d, h, p, f, b, m, _, T, M, B, K, w, y, k;
21395
- const { primaryColor: a, conversationScreen: i } = se(Be), { isMobile: u, mode: s } = se(Ze), { step: l } = se(dn);
21395
+ const { primaryColor: a, conversationScreen: i } = se(He), { isMobile: u, mode: s } = se(Ze), { step: l } = se(dn);
21396
21396
  return l === Ht.CONNECTING && s === Ut.LIVECHAT ? null : /* @__PURE__ */ v.jsxs(
21397
21397
  "div",
21398
21398
  {
@@ -21466,7 +21466,7 @@ function jT() {
21466
21466
  deleteConversationModal: e,
21467
21467
  deleteConversationHistory: t,
21468
21468
  setDeleteConversationModal: n
21469
- } = se(Lt), { primaryColor: r } = se(Be);
21469
+ } = se(Lt), { primaryColor: r } = se(He);
21470
21470
  return e ? /* @__PURE__ */ v.jsx(
21471
21471
  "div",
21472
21472
  {
@@ -21517,7 +21517,7 @@ function jT() {
21517
21517
  }
21518
21518
  const qT = () => {
21519
21519
  var n, r, a, i, u;
21520
- const { isMobile: e } = se(Ze), { launchButton: t } = se(Be);
21520
+ const { isMobile: e } = se(Ze), { launchButton: t } = se(He);
21521
21521
  return (n = t == null ? void 0 : t.message) != null && n.enabled ? /* @__PURE__ */ v.jsx(
21522
21522
  "div",
21523
21523
  {
@@ -21535,7 +21535,7 @@ function zT() {
21535
21535
  }
21536
21536
  function ld() {
21537
21537
  var s;
21538
- const { conversationScreen: e, primaryColor: t, widgetMode: n } = se(Be), { cancelLiveChatConnection: r } = se(dn), a = ((s = e == null ? void 0 : e.liveChat) == null ? void 0 : s.queueMessages) ?? [], i = n ? t : "#FFFFFF", u = n ? "#FFFFFF" : t;
21538
+ const { conversationScreen: e, primaryColor: t, widgetMode: n } = se(He), { cancelLiveChatConnection: r } = se(dn), a = ((s = e == null ? void 0 : e.liveChat) == null ? void 0 : s.queueMessages) ?? [], i = n ? t : "#FFFFFF", u = n ? "#FFFFFF" : t;
21539
21539
  return /* @__PURE__ */ v.jsxs("div", { className: "live-chat-connecting", style: { backgroundColor: i }, children: [
21540
21540
  /* @__PURE__ */ v.jsx(zT, {}),
21541
21541
  /* @__PURE__ */ v.jsx("div", { className: "live-chat-connecting-messages", style: { color: u }, children: a.length === 0 ? /* @__PURE__ */ v.jsx("p", { children: "Connecting to live agent" }) : a.map((l, c) => /* @__PURE__ */ v.jsx("p", { children: l }, `queue-message-${c}`)) }),
@@ -21568,7 +21568,7 @@ const ys = 500, YT = [
21568
21568
  }
21569
21569
  ];
21570
21570
  function cd({ onDismiss: e }) {
21571
- const [t, n] = de(""), [r, a] = de(!1), [i, u] = de(null), { conversationScreen: s } = se(Be), { endLiveChat: l, submitSurvey: c, terminateConversation: d } = se(dn), h = () => {
21571
+ const [t, n] = de(""), [r, a] = de(!1), [i, u] = de(null), { conversationScreen: s } = se(He), { endLiveChat: l, submitSurvey: c, terminateConversation: d } = se(dn), h = () => {
21572
21572
  var b;
21573
21573
  d(), (b = s == null ? void 0 : s.liveChat) != null && b.useSurvey ? a(!0) : l();
21574
21574
  }, p = () => {
@@ -21758,7 +21758,7 @@ const WT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
21758
21758
  }];
21759
21759
  }, Qa = "privacy policy";
21760
21760
  function fd() {
21761
- const { conversationScreen: e, primaryColor: t } = se(Be), { startLiveChat: n } = se(dn), { setMode: r } = se(Ze), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = XT({}), [d, h] = de(!1), { clearError: p, errors: f, setErrors: b } = GT(), m = or(
21761
+ const { conversationScreen: e, primaryColor: t } = se(He), { startLiveChat: n } = se(dn), { setMode: r } = se(Ze), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = XT({}), [d, h] = de(!1), { clearError: p, errors: f, setErrors: b } = GT(), m = or(
21762
21762
  () => (s ?? "").split(Qa, 2),
21763
21763
  [s]
21764
21764
  ), _ = () => {
@@ -21889,7 +21889,7 @@ function pd({
21889
21889
  style: i = {}
21890
21890
  }) {
21891
21891
  var b;
21892
- const { proactiveMessage: u } = se(Be), [s, l] = de(!0), [c, d] = de(!1), h = s && (!(window != null && window.OnetrustActiveGroups) || ((b = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : b.includes("C0003"))) && ft.get(t) === void 0;
21892
+ const { proactiveMessage: u } = se(He), [s, l] = de(!0), [c, d] = de(!1), h = s && (!(window != null && window.OnetrustActiveGroups) || ((b = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : b.includes("C0003"))) && ft.get(t) === void 0;
21893
21893
  Fe(() => {
21894
21894
  var m;
21895
21895
  (m = window == null ? void 0 : window.OneTrust) == null || m.OnConsentChanged(() => {
@@ -22065,7 +22065,7 @@ function md({ submitEventExternal: e = null }) {
22065
22065
  userTracking: s,
22066
22066
  webExperimentation: l,
22067
22067
  widgetMode: c
22068
- } = se(Be), {
22068
+ } = se(He), {
22069
22069
  contentRef: d,
22070
22070
  onFeedbackSelection: h,
22071
22071
  onMessageSent: p,
@@ -22080,19 +22080,19 @@ function md({ submitEventExternal: e = null }) {
22080
22080
  setHasNewMessage: K,
22081
22081
  setIsNormalSize: w,
22082
22082
  setLoading: y
22083
- } = se(Ze), [, k] = de(!1), [, G] = de(!1), [F, Z] = de(!1), [z, V] = de(!1), [R, I] = de(""), [D, U] = de(!1), W = F || !c, q = pt(null), Y = pt(null), g = ft.get(`${a}-test`) === "1";
22083
+ } = se(Ze), [, k] = de(!1), [, G] = de(!1), [F, Z] = de(!1), [z, $] = de(!1), [L, I] = de(""), [R, U] = de(!1), W = F || !c, q = pt(null), Y = pt(null), g = ft.get(`${a}-test`) === "1";
22084
22084
  KT(
22085
22085
  (Dt = r == null ? void 0 : r.liveChat) == null ? void 0 : Dt.enabled,
22086
22086
  z,
22087
- V
22087
+ $
22088
22088
  );
22089
22089
  const ne = bt(
22090
- ({ name: L, payload: $ }) => {
22090
+ ({ name: D, payload: V }) => {
22091
22091
  if (!n || !(s != null && s.enabled)) return;
22092
- const re = xs(s == null ? void 0 : s.payloadParams, $);
22093
- e ? e({ name: L, payload: re }) : Y.current.track(
22092
+ const re = xs(s == null ? void 0 : s.payloadParams, V);
22093
+ e ? e({ name: D, payload: re }) : Y.current.track(
22094
22094
  // TODO: this is untestable - create a custom hook to get submit event function.
22095
- L,
22095
+ D,
22096
22096
  re
22097
22097
  );
22098
22098
  },
@@ -22103,49 +22103,65 @@ function md({ submitEventExternal: e = null }) {
22103
22103
  s == null ? void 0 : s.payloadParams
22104
22104
  ]
22105
22105
  ), oe = async () => {
22106
- var L;
22107
- if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003") && (L = r == null ? void 0 : r.conversationHistory) != null && L.enabled)
22108
- try {
22109
- y(!0);
22110
- let $ = _s(a);
22111
- const re = await fetch(
22112
- `${t.baseUrl}/v1/history?conversation_id=${$}`,
22113
- {
22114
- method: "GET",
22115
- headers: {
22116
- "Content-Type": "application/json"
22117
- }
22118
- }
22119
- );
22120
- if (!re.ok)
22121
- throw new Error(`HTTPError: ${re.status} ${re.statusText}`);
22122
- const ae = await re.json();
22123
- b(
22124
- ae.map((ue) => ({
22125
- ...ue,
22126
- disableFeedback: !0,
22127
- toolCalls: ue.tool_calls,
22128
- toolCallId: ue.tool_call_id
22129
- }))
22130
- ), M(!0), K(!0);
22131
- } catch ($) {
22132
- console.error($);
22133
- } finally {
22134
- y(!1);
22106
+ var re;
22107
+ if (y(!0), !await (async (ae, ue = 1e4, Te = 200) => {
22108
+ let Ee = 0;
22109
+ for (; !ae(); ) {
22110
+ if (Ee >= ue)
22111
+ return !1;
22112
+ await new Promise((Be) => setTimeout(Be, Te)), Ee += Te;
22135
22113
  }
22114
+ return !0;
22115
+ })(
22116
+ () => (window == null ? void 0 : window.OnetrustActiveGroups) && window.OnetrustActiveGroups.split(",").includes("C0003")
22117
+ )) {
22118
+ y(!1);
22119
+ return;
22120
+ }
22121
+ if (!((re = r == null ? void 0 : r.conversationHistory) != null && re.enabled)) {
22122
+ y(!1);
22123
+ return;
22124
+ }
22125
+ try {
22126
+ let ae = _s(a);
22127
+ const ue = await fetch(
22128
+ `${t.baseUrl}/v1/history?conversation_id=${ae}`,
22129
+ {
22130
+ method: "GET",
22131
+ headers: {
22132
+ "Content-Type": "application/json"
22133
+ }
22134
+ }
22135
+ );
22136
+ if (!ue.ok)
22137
+ throw new Error(`HTTPError: ${ue.status} ${ue.statusText}`);
22138
+ const Te = await ue.json();
22139
+ b(
22140
+ Te.map((Ee) => ({
22141
+ ...Ee,
22142
+ disableFeedback: !0,
22143
+ toolCalls: Ee.tool_calls,
22144
+ toolCallId: Ee.tool_call_id
22145
+ }))
22146
+ ), M(!0), K(!0);
22147
+ } catch (ae) {
22148
+ console.error(ae);
22149
+ } finally {
22150
+ y(!1);
22151
+ }
22136
22152
  }, S = ((it = r == null ? void 0 : r.conversationHistory) == null ? void 0 : it.enabled) && W && !z;
22137
22153
  ZT(
22138
22154
  () => S && oe()
22139
22155
  ), Fe(() => {
22140
- let L, $;
22156
+ let D, V;
22141
22157
  if (n)
22142
- return s != null && s.enabled && (L = setInterval(() => {
22158
+ return s != null && s.enabled && (D = setInterval(() => {
22143
22159
  var ae;
22144
- ((ae = window.analytics) != null && ae.track || e) && (Y.current = window.analytics, clearInterval(L), clearTimeout($), k(!0));
22145
- }, 1e3), $ = setTimeout(() => {
22146
- clearInterval(L);
22160
+ ((ae = window.analytics) != null && ae.track || e) && (Y.current = window.analytics, clearInterval(D), clearTimeout(V), k(!0));
22161
+ }, 1e3), V = setTimeout(() => {
22162
+ clearInterval(D);
22147
22163
  }, 6e4)), () => {
22148
- clearInterval(L), clearTimeout($);
22164
+ clearInterval(D), clearTimeout(V);
22149
22165
  };
22150
22166
  }, [
22151
22167
  n,
@@ -22153,52 +22169,52 @@ function md({ submitEventExternal: e = null }) {
22153
22169
  s == null ? void 0 : s.enabled,
22154
22170
  s == null ? void 0 : s.prefix
22155
22171
  ]), Fe(() => {
22156
- let L, $;
22172
+ let D, V;
22157
22173
  const re = () => {
22158
- l != null && l.enabled && window.optimizely && window.experiments && (clearInterval(L), clearTimeout($), G(!0));
22174
+ l != null && l.enabled && window.optimizely && window.experiments && (clearInterval(D), clearTimeout(V), G(!0));
22159
22175
  };
22160
22176
  if (n)
22161
- return L = setInterval(re, 1e3), $ = setTimeout(() => {
22162
- clearInterval(L);
22177
+ return D = setInterval(re, 1e3), V = setTimeout(() => {
22178
+ clearInterval(D);
22163
22179
  }, 6e4), () => {
22164
- clearInterval(L), clearTimeout($);
22180
+ clearInterval(D), clearTimeout(V);
22165
22181
  };
22166
22182
  }, [
22167
22183
  n,
22168
22184
  l == null ? void 0 : l.enabled,
22169
22185
  l == null ? void 0 : l.experimentName
22170
22186
  ]);
22171
- const le = (L) => {
22172
- var $, re;
22173
- ($ = L == null ? void 0 : L.target) != null && $.href && ne({
22187
+ const le = (D) => {
22188
+ var V, re;
22189
+ (V = D == null ? void 0 : D.target) != null && V.href && ne({
22174
22190
  name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
22175
22191
  payload: {
22176
22192
  category: "2u",
22177
22193
  label: "xpert-chatbot",
22178
- link: (re = L == null ? void 0 : L.target) == null ? void 0 : re.href,
22194
+ link: (re = D == null ? void 0 : D.target) == null ? void 0 : re.href,
22179
22195
  isTestUser: g
22180
22196
  }
22181
22197
  });
22182
22198
  };
22183
22199
  if (QT(l == null ? void 0 : l.experimentName), !n || l != null && l.enabled && !(l != null && l.experimentName) && !g || s != null && s.enabled && (s != null && s.prefix) && !((Gt = Y == null ? void 0 : Y.current) != null && Gt.track) && !e)
22184
22200
  return null;
22185
- const Ee = () => {
22201
+ const ye = () => {
22186
22202
  I(""), q.current.value = "", q.current.style.height = "auto";
22187
- }, me = (L, $) => {
22203
+ }, me = (D, V) => {
22188
22204
  ne({
22189
22205
  name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
22190
22206
  payload: {
22191
22207
  category: "2u",
22192
22208
  label: "xpert-chatbot",
22193
- linkCount: e3(L),
22194
- apiResponseMessage: L,
22209
+ linkCount: e3(D),
22210
+ apiResponseMessage: D,
22195
22211
  isTestUser: g,
22196
- conversationHistoryId: $
22212
+ conversationHistoryId: V
22197
22213
  }
22198
22214
  });
22199
- }, Se = ({
22200
- conversationSize: L,
22201
- userInputMessage: $,
22215
+ }, xe = ({
22216
+ conversationSize: D,
22217
+ userInputMessage: V,
22202
22218
  apiResponseMessage: re,
22203
22219
  elapsedSeconds: ae,
22204
22220
  conversationByteSize: ue
@@ -22209,45 +22225,45 @@ function md({ submitEventExternal: e = null }) {
22209
22225
  category: "2u",
22210
22226
  label: "xpert-chatbot",
22211
22227
  isTestUser: g,
22212
- conversationSize: L,
22213
- userInputMessage: $,
22228
+ conversationSize: D,
22229
+ userInputMessage: V,
22214
22230
  apiResponseMessage: re,
22215
22231
  elapsedSeconds: ae,
22216
22232
  conversationByteSize: ue
22217
22233
  }
22218
22234
  });
22219
- }, ve = async (L, $) => {
22220
- const re = await L.json(), ae = Array.isArray(re) ? re : [re];
22235
+ }, ve = async (D, V) => {
22236
+ const re = await D.json(), ae = Array.isArray(re) ? re : [re];
22221
22237
  return ae.forEach(
22222
22238
  ({
22223
22239
  content: ue,
22224
- live_agent: Ce,
22225
- role: xe,
22226
- tool_calls: Ue,
22240
+ live_agent: Te,
22241
+ role: Ee,
22242
+ tool_calls: Be,
22227
22243
  tool_call_id: Ye
22228
22244
  }) => {
22229
22245
  f({
22230
22246
  content: ue,
22231
22247
  createdAt: /* @__PURE__ */ new Date(),
22232
- liveAgent: Ce,
22233
- role: xe,
22234
- toolCalls: Ue,
22248
+ liveAgent: Te,
22249
+ role: Ee,
22250
+ toolCalls: Be,
22235
22251
  toolCallId: Ye
22236
- }), me(ue, $);
22252
+ }), me(ue, V);
22237
22253
  }
22238
22254
  ), ae;
22239
- }, Me = async (L, $) => {
22255
+ }, Me = async (D, V) => {
22240
22256
  const re = new TextDecoder("utf-8");
22241
22257
  let ae = [];
22242
- const { value: ue } = await L.read(), Ce = re.decode(ue, { stream: !0 });
22258
+ const { value: ue } = await D.read(), Te = re.decode(ue, { stream: !0 });
22243
22259
  try {
22244
- const xe = Ce.match(/\[.*?\](?=\[|$)/gs);
22245
- xe && xe.length > 0 ? ae = JSON.parse(xe[xe.length - 1]) : ae = Array.isArray(Ce) ? Ce : [Ce];
22260
+ const Ee = Te.match(/\[.*?\](?=\[|$)/gs);
22261
+ Ee && Ee.length > 0 ? ae = JSON.parse(Ee[Ee.length - 1]) : ae = Array.isArray(Te) ? Te : [Te];
22246
22262
  } catch {
22247
22263
  ae = [];
22248
22264
  }
22249
- if (ae != null && ae.find((xe) => xe.tool_calls)) {
22250
- const xe = {
22265
+ if (ae != null && ae.find((Ee) => Ee.tool_calls)) {
22266
+ const Ee = {
22251
22267
  content: ae[0].content,
22252
22268
  createdAt: /* @__PURE__ */ new Date(),
22253
22269
  liveAgent: ae[0].live_agent,
@@ -22261,29 +22277,29 @@ function md({ submitEventExternal: e = null }) {
22261
22277
  }
22262
22278
  }
22263
22279
  ],
22264
- toolCallId: ae[0].tool_call_id
22280
+ toolCallId: ae[0].tool_calls[0].id
22265
22281
  };
22266
- f(xe);
22267
- const Ue = {
22282
+ f(Ee);
22283
+ const Be = {
22268
22284
  content: "",
22269
22285
  createdAt: /* @__PURE__ */ new Date(),
22270
22286
  role: "tool",
22271
22287
  toolCallId: ae[0].tool_calls[0].id
22272
22288
  };
22273
- f(Ue), me(ae[0].content, $);
22289
+ f(Be), me(ae[0].content, V);
22274
22290
  }
22275
22291
  return ae;
22276
- }, Oe = async (L, $) => {
22277
- var Ce;
22292
+ }, Oe = async (D, V) => {
22293
+ var Te;
22278
22294
  const re = new TextDecoder("utf-8");
22279
22295
  let ae = "", ue = [];
22280
22296
  for (; ; ) {
22281
- const { value: xe, done: Ue } = await L.read();
22282
- if (Ue) break;
22283
- const Ye = re.decode(xe, { stream: !0 });
22297
+ const { value: Ee, done: Be } = await D.read();
22298
+ if (Be) break;
22299
+ const Ye = re.decode(Ee, { stream: !0 });
22284
22300
  try {
22285
22301
  const Ge = JSON.parse(Ye);
22286
- Array.isArray(Ge) && ((Ce = Ge[0]) == null ? void 0 : Ce.content) !== void 0 && (ae = Ge[0].content, ue.length === 0 ? (ue.push({
22302
+ Array.isArray(Ge) && ((Te = Ge[0]) == null ? void 0 : Te.content) !== void 0 && (ae = Ge[0].content, ue.length === 0 ? (ue.push({
22287
22303
  role: "assistant",
22288
22304
  disableFeedback: !0,
22289
22305
  content: ae
@@ -22306,21 +22322,21 @@ function md({ submitEventExternal: e = null }) {
22306
22322
  } catch {
22307
22323
  }
22308
22324
  }
22309
- return me(ae, $), ue;
22310
- }, We = async (L, $) => {
22311
- var Ce;
22312
- const re = L.body.getReader(), ae = await Me(
22325
+ return me(ae, V), ue;
22326
+ }, We = async (D, V) => {
22327
+ var Te;
22328
+ const re = D.body.getReader(), ae = await Me(
22313
22329
  re,
22314
- $
22330
+ V
22315
22331
  );
22316
- return (Ce = ae == null ? void 0 : ae[0]) != null && Ce.tool_calls ? ae : await Oe(
22332
+ return (Te = ae == null ? void 0 : ae[0]) != null && Te.tool_calls ? ae : await Oe(
22317
22333
  re,
22318
- $
22334
+ V
22319
22335
  );
22320
- }, at = async (L) => {
22321
- var $;
22336
+ }, at = async (D) => {
22337
+ var V;
22322
22338
  try {
22323
- if (L.trim().length === 0)
22339
+ if (D.trim().length === 0)
22324
22340
  return;
22325
22341
  const re = /* @__PURE__ */ new Date();
22326
22342
  K(!1), B(!1);
@@ -22331,53 +22347,53 @@ function md({ submitEventExternal: e = null }) {
22331
22347
  category: "2u",
22332
22348
  label: "xpert-chatbot",
22333
22349
  totalUserInputMessagesSent: ae,
22334
- userInputMessage: L,
22350
+ userInputMessage: D,
22335
22351
  isTestUser: g
22336
22352
  }
22337
- }), Ee(), y(!0), p) {
22338
- await p(L), y(!1);
22353
+ }), ye(), y(!0), p) {
22354
+ await p(D), y(!1);
22339
22355
  return;
22340
22356
  }
22341
22357
  let ue = null;
22342
- r.conversationHistory.enabled && (ue = _s(a)), f({ role: "user", content: L });
22343
- const Ce = [
22358
+ r.conversationHistory.enabled && (ue = _s(a)), f({ role: "user", content: D });
22359
+ const Te = [
22344
22360
  ...m,
22345
- { role: "user", content: L }
22361
+ { role: "user", content: D }
22346
22362
  ].map((ge) => ({
22347
22363
  role: ge.role,
22348
22364
  content: ge.content,
22349
22365
  ...ge.toolCalls && { tool_calls: ge.toolCalls },
22350
22366
  ...ge.toolCallId && { tool_call_id: ge.toolCallId }
22351
- })).filter(({ role: ge }) => ["assistant", "tool", "user"].includes(ge)), xe = await fetch(t.endpoint, {
22367
+ })).filter(({ role: ge }) => ["assistant", "tool", "user"].includes(ge)), Ee = await fetch(t.endpoint, {
22352
22368
  method: "POST",
22353
22369
  headers: { "Content-Type": "application/json" },
22354
22370
  body: JSON.stringify({
22355
- [t == null ? void 0 : t.messagesKey]: Ce,
22371
+ [t == null ? void 0 : t.messagesKey]: Te,
22356
22372
  ...t.payloadParams,
22357
22373
  ...ue && {
22358
22374
  conversation_id: ue
22359
22375
  }
22360
22376
  })
22361
22377
  });
22362
- if (!xe.ok)
22363
- throw new Error(`HTTPError: ${xe.status} ${xe.statusText}`);
22378
+ if (!Ee.ok)
22379
+ throw new Error(`HTTPError: ${Ee.status} ${Ee.statusText}`);
22364
22380
  y(!1);
22365
- let Ue = ($ = t.payloadParams) != null && $.stream ? await We(xe, ue) : await ve(xe, ue);
22381
+ let Be = (V = t.payloadParams) != null && V.stream ? await We(Ee, ue) : await ve(Ee, ue);
22366
22382
  const Ye = /* @__PURE__ */ new Date(), Ge = t3(
22367
- JSON.stringify(Ce)
22383
+ JSON.stringify(Te)
22368
22384
  );
22369
- Se({
22385
+ xe({
22370
22386
  conversationByteSize: Ge,
22371
- conversationSize: m.length + Ue.length + 1,
22372
- userInputMessage: L,
22373
- apiResponseMessage: Ue.map((ge) => ge.content ?? "").join(" "),
22387
+ conversationSize: m.length + Be.length + 1,
22388
+ userInputMessage: D,
22389
+ apiResponseMessage: Be.map((ge) => ge.content ?? "").join(" "),
22374
22390
  elapsedSeconds: JT(re, Ye)
22375
- }), M(!1), Ee(), K(!0);
22391
+ }), M(!1), ye(), K(!0);
22376
22392
  } catch (re) {
22377
- y(!1), Ee(), B(!0), console.error(re);
22393
+ y(!1), ye(), B(!0), console.error(re);
22378
22394
  }
22379
22395
  }, _t = () => {
22380
- V(!1), Z(!0), w(!0), oe(), ne({
22396
+ $(!1), Z(!0), w(!0), oe(), ne({
22381
22397
  name: `${s.prefix}.bi.xpert.chatbot.action.button.clicked`,
22382
22398
  payload: {
22383
22399
  category: "2u",
@@ -22385,15 +22401,15 @@ function md({ submitEventExternal: e = null }) {
22385
22401
  isTestUser: g
22386
22402
  }
22387
22403
  });
22388
- }, wn = (L) => {
22404
+ }, wn = (D) => {
22389
22405
  ne({
22390
- name: `${s.prefix}.bi.xpert.chatbot.${L ? "normal" : "expand"}.size.button.clicked`,
22406
+ name: `${s.prefix}.bi.xpert.chatbot.${D ? "normal" : "expand"}.size.button.clicked`,
22391
22407
  payload: {
22392
22408
  category: "2u",
22393
22409
  label: "xpert-chatbot",
22394
22410
  isTestUser: g
22395
22411
  }
22396
- }), w(L);
22412
+ }), w(D);
22397
22413
  }, Pn = () => {
22398
22414
  Z(!0), w(!0), oe(), ne({
22399
22415
  name: `${s.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
@@ -22421,26 +22437,26 @@ function md({ submitEventExternal: e = null }) {
22421
22437
  isTestUser: g
22422
22438
  }
22423
22439
  });
22424
- }, pn = (L) => {
22425
- I(L.target.value);
22426
- }, Mn = async (L, $ = "") => {
22440
+ }, pn = (D) => {
22441
+ I(D.target.value);
22442
+ }, Mn = async (D, V = "") => {
22427
22443
  if (h) {
22428
- await h({ index: L, type: $ }), M(!1);
22444
+ await h({ index: D, type: V }), M(!1);
22429
22445
  return;
22430
22446
  }
22431
- const re = m.map((ae, ue) => L === ue ? (ne({
22432
- name: `${s.prefix}.bi.xpert.chatbot.feedback.thumbs.${$.toLowerCase()}.clicked`,
22447
+ const re = m.map((ae, ue) => D === ue ? (ne({
22448
+ name: `${s.prefix}.bi.xpert.chatbot.feedback.thumbs.${V.toLowerCase()}.clicked`,
22433
22449
  payload: {
22434
22450
  category: "2u",
22435
22451
  label: "xpert-chatbot",
22436
- userInputMessage: m[L - 1],
22437
- apiResponseMessageIndex: L,
22438
- apiResponseMessage: m[L],
22452
+ userInputMessage: m[D - 1],
22453
+ apiResponseMessageIndex: D,
22454
+ apiResponseMessage: m[D],
22439
22455
  isTestUser: g
22440
22456
  }
22441
22457
  }), {
22442
22458
  ...ae,
22443
- feedbackThumbType: $
22459
+ feedbackThumbType: V
22444
22460
  }) : ae);
22445
22461
  b(re), M(!1);
22446
22462
  }, St = (Xt = i == null ? void 0 : i.animatedGraduate) == null ? void 0 : Xt.enabled, jt = u != null && u.enabled ? _ ? (mn = u == null ? void 0 : u.style) == null ? void 0 : mn.mobile : u == null ? void 0 : u.style : null;
@@ -22494,7 +22510,7 @@ function md({ submitEventExternal: e = null }) {
22494
22510
  }
22495
22511
  ),
22496
22512
  c && /* @__PURE__ */ v.jsx(qT, {}),
22497
- W && !z && /* @__PURE__ */ v.jsx(zs, { isMounted: D, children: /* @__PURE__ */ v.jsx(
22513
+ W && !z && /* @__PURE__ */ v.jsx(zs, { isMounted: R, children: /* @__PURE__ */ v.jsx(
22498
22514
  "div",
22499
22515
  {
22500
22516
  ref: d,
@@ -22505,7 +22521,7 @@ function md({ submitEventExternal: e = null }) {
22505
22521
  {
22506
22522
  onClose: hn,
22507
22523
  handleResizeButtonClick: wn,
22508
- isMounted: D,
22524
+ isMounted: R,
22509
22525
  setIsMounted: U
22510
22526
  }
22511
22527
  ),
@@ -22519,9 +22535,9 @@ function md({ submitEventExternal: e = null }) {
22519
22535
  handleSend: at,
22520
22536
  inputRef: q,
22521
22537
  isTestUser: g,
22522
- setLiveChatOpen: V,
22538
+ setLiveChatOpen: $,
22523
22539
  submitEvent: ne,
22524
- userInput: R
22540
+ userInput: L
22525
22541
  }
22526
22542
  ),
22527
22543
  T === Ut.LIVECHAT && /* @__PURE__ */ v.jsx(hd, {})