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

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 +641 -677
  2. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import Et, { createContext as Gr, useState as de, useCallback as pt, useEffect as ke, useMemo as sr, useRef as Je, useContext as se, forwardRef as As, createElement as Za, useLayoutEffect as T0, Fragment as y0, StrictMode as _0 } from "react";
1
+ import Et, { createContext as Gr, useState as de, useCallback as pt, useEffect as ke, useMemo as sr, useRef as Ze, useContext as se, forwardRef as As, createElement as Za, useLayoutEffect as T0, Fragment as y0, StrictMode as _0 } from "react";
2
2
  import C0, { render as A0 } from "react-dom";
3
3
  var Cr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function Lt(e) {
@@ -243,8 +243,8 @@ Kn.exports;
243
243
  var xu;
244
244
  function L0() {
245
245
  return xu || (xu = 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]", g = "[object Null]", w = "[object Object]", M = "[object Proxy]", K = "[object RegExp]", R = "[object Set]", y = "[object String]", N = "[object Undefined]", G = "[object WeakMap]", F = "[object ArrayBuffer]", te = "[object DataView]", z = "[object Float32Array]", V = "[object Float64Array]", L = "[object Int8Array]", I = "[object Int16Array]", D = "[object Int32Array]", U = "[object Uint8Array]", W = "[object Uint8ClampedArray]", j = "[object Uint16Array]", Y = "[object Uint32Array]", T = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, S = {};
247
- S[z] = S[V] = S[L] = S[I] = S[D] = S[U] = S[W] = S[j] = S[Y] = !0, S[s] = S[l] = S[F] = S[d] = S[te] = S[h] = S[p] = S[f] = S[m] = S[_] = S[w] = S[K] = S[R] = S[y] = S[G] = !1;
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]", g = "[object Null]", w = "[object Object]", M = "[object Proxy]", K = "[object RegExp]", D = "[object Set]", y = "[object String]", N = "[object Undefined]", W = "[object WeakMap]", F = "[object ArrayBuffer]", te = "[object DataView]", z = "[object Float32Array]", V = "[object Float64Array]", L = "[object Int8Array]", I = "[object Int16Array]", R = "[object Int32Array]", U = "[object Uint8Array]", G = "[object Uint8ClampedArray]", j = "[object Uint16Array]", Y = "[object Uint32Array]", T = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, S = {};
247
+ S[z] = S[V] = S[L] = S[I] = S[R] = S[U] = S[G] = S[j] = S[Y] = !0, S[s] = S[l] = S[F] = S[d] = S[te] = S[h] = S[p] = S[f] = S[m] = S[_] = S[w] = S[K] = S[D] = S[y] = S[W] = !1;
248
248
  var le = typeof Cr == "object" && Cr && Cr.Object === Object && Cr, _e = typeof self == "object" && self && self.Object === Object && self, me = le || _e || Function("return this")(), Ce = t && !t.nodeType && t, Oe = Ce && !0 && e && !e.nodeType && e, Ue = Oe && Oe.exports === Ce, Ie = Ue && le.process, Ke = function() {
249
249
  try {
250
250
  var A = Oe && Oe.require && Oe.require("util").types;
@@ -283,14 +283,14 @@ function L0() {
283
283
  return A(k(H));
284
284
  };
285
285
  }
286
- var bn = Array.prototype, Bn = Function.prototype, Rt = Object.prototype, Pt = me["__core-js_shared__"], zt = Bn.toString, st = Rt.hasOwnProperty, Kt = function() {
286
+ var bn = Array.prototype, Bn = Function.prototype, Dt = Object.prototype, Pt = me["__core-js_shared__"], zt = Bn.toString, st = Dt.hasOwnProperty, Kt = function() {
287
287
  var A = /[^.]+$/.exec(Pt && Pt.keys && Pt.keys.IE_PROTO || "");
288
288
  return A ? "Symbol(src)_1." + A : "";
289
- }(), Qt = Rt.toString, En = zt.call(Object), $ = RegExp(
289
+ }(), Qt = Dt.toString, En = zt.call(Object), $ = RegExp(
290
290
  "^" + zt.call(st).replace(T, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
291
291
  ), B = Ue ? me.Buffer : void 0, re = me.Symbol, ie = me.Uint8Array;
292
292
  B && B.allocUnsafe;
293
- var ae = gn(Object.getPrototypeOf, Object), ge = Object.create, ve = Rt.propertyIsEnumerable, Te = bn.splice, Le = re ? re.toStringTag : void 0, qe = function() {
293
+ var ae = gn(Object.getPrototypeOf, Object), ge = Object.create, ve = Dt.propertyIsEnumerable, Te = bn.splice, Le = re ? re.toStringTag : void 0, qe = function() {
294
294
  try {
295
295
  var A = la(Object, "defineProperty");
296
296
  return A({}, "", {}), A;
@@ -390,14 +390,14 @@ function L0() {
390
390
  function wd(A) {
391
391
  return yr(this, A).get(A);
392
392
  }
393
- function Dd(A) {
393
+ function Rd(A) {
394
394
  return yr(this, A).has(A);
395
395
  }
396
- function Rd(A, k) {
396
+ function Dd(A, k) {
397
397
  var H = yr(this, A), ue = H.size;
398
398
  return H.set(A, k), this.size += H.size == ue ? 0 : 1, this;
399
399
  }
400
- Tn.prototype.clear = kd, Tn.prototype.delete = Ld, Tn.prototype.get = wd, Tn.prototype.has = Dd, Tn.prototype.set = Rd;
400
+ Tn.prototype.clear = kd, Tn.prototype.delete = Ld, Tn.prototype.get = wd, Tn.prototype.has = Rd, Tn.prototype.set = Dd;
401
401
  function yn(A) {
402
402
  var k = this.__data__ = new Ft(A);
403
403
  this.size = k.size;
@@ -600,7 +600,7 @@ function L0() {
600
600
  return !!Kt && Kt in A;
601
601
  }
602
602
  function fu(A) {
603
- var k = A && A.constructor, H = typeof k == "function" && k.prototype || Rt;
603
+ var k = A && A.constructor, H = typeof k == "function" && k.prototype || Dt;
604
604
  return A === H;
605
605
  }
606
606
  function o0(A) {
@@ -718,7 +718,7 @@ function L0() {
718
718
  }(Kn, Kn.exports)), Kn.exports;
719
719
  }
720
720
  var w0 = L0();
721
- const vs = /* @__PURE__ */ Lt(w0), D0 = {
721
+ const vs = /* @__PURE__ */ Lt(w0), R0 = {
722
722
  id: "degrees-canvas-support",
723
723
  chatApi: {
724
724
  endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
@@ -835,7 +835,7 @@ const vs = /* @__PURE__ */ Lt(w0), D0 = {
835
835
  useOwnChat: !1
836
836
  }
837
837
  }
838
- }, R0 = {
838
+ }, D0 = {
839
839
  id: "degrees-moodle-support",
840
840
  chatApi: {
841
841
  endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
@@ -1421,8 +1421,8 @@ const vs = /* @__PURE__ */ Lt(w0), D0 = {
1421
1421
  }
1422
1422
  }
1423
1423
  }, U0 = {
1424
- "degrees-canvas-support": D0,
1425
- "degrees-moodle-support": R0,
1424
+ "degrees-canvas-support": R0,
1425
+ "degrees-moodle-support": D0,
1426
1426
  edx: P0,
1427
1427
  "edx-global-support": M0,
1428
1428
  "exec-ed-ss-olc-moodle": F0,
@@ -1616,7 +1616,7 @@ const wt = Gr({}), Is = x.shape({
1616
1616
  onFeedbackSelection: r,
1617
1617
  onMessageSent: a
1618
1618
  }) => {
1619
- const i = Je(null), { id: u } = se(je), [s, l] = de(null), [c, d] = de(!1), [h, p] = de([]), f = pt(() => {
1619
+ const i = Ze(null), { id: u } = se(je), [s, l] = de(null), [c, d] = de(!1), [h, p] = de([]), f = pt(() => {
1620
1620
  l(null), d(!1), p([]), rt.remove(`${u}-conversation-history-id`);
1621
1621
  }, [u, l]), m = {
1622
1622
  contentRef: i,
@@ -1654,7 +1654,7 @@ const vu = 991, q0 = () => {
1654
1654
  }, It = {
1655
1655
  LIVECHAT: "LIVECHAT",
1656
1656
  XPERT: "XPERT"
1657
- }, Ze = Gr({}), ks = ({ children: e }) => {
1657
+ }, Je = Gr({}), ks = ({ children: e }) => {
1658
1658
  const [t, n] = de(!1), [r, a] = de(!1), [i, u] = de(!1), [s, l] = de(!0), [c, d] = de(!1), [h, p] = de(!1), [f, b] = de(It.XPERT), m = q0(), _ = {
1659
1659
  disabledScroll: t,
1660
1660
  hasError: r,
@@ -1672,7 +1672,7 @@ const vu = 991, q0 = () => {
1672
1672
  setStreaming: p,
1673
1673
  setMode: b
1674
1674
  };
1675
- return /* @__PURE__ */ v.jsx(Ze.Provider, { value: _, children: e });
1675
+ return /* @__PURE__ */ v.jsx(Je.Provider, { value: _, children: e });
1676
1676
  };
1677
1677
  ks.propTypes = {
1678
1678
  children: x.element.isRequired
@@ -1726,7 +1726,7 @@ function xi({
1726
1726
  children: a,
1727
1727
  ...i
1728
1728
  }) {
1729
- const { isMobile: u } = se(Ze);
1729
+ const { isMobile: u } = se(Je);
1730
1730
  return /* @__PURE__ */ v.jsx(
1731
1731
  "button",
1732
1732
  {
@@ -1760,9 +1760,9 @@ eyes follow your mouse when you hover near it.`, ws = ({
1760
1760
  handleFloatingActionButtonClick: e = null
1761
1761
  }) => {
1762
1762
  var f, b, m, _;
1763
- const { id: t, launchButton: n } = se(je), { isMobile: r } = se(Ze), a = !rt.get(
1763
+ const { id: t, launchButton: n } = se(je), { isMobile: r } = se(Je), a = !rt.get(
1764
1764
  `${t}-proactive-message-xpert-chatbot`
1765
- ), i = Je(null), u = Je(!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(
1765
+ ), i = Ze(null), u = Ze(!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(
1766
1766
  `(max-width: ${$0}px)`
1767
1767
  ).matches;
1768
1768
  ke(() => {
@@ -1782,9 +1782,9 @@ eyes follow your mouse when you hover near it.`, ws = ({
1782
1782
  return;
1783
1783
  i.current.querySelectorAll(
1784
1784
  ".xpert_chatbot__animated_graduate__pupil"
1785
- ).forEach((R) => {
1786
- const y = R.getBoundingClientRect(), N = (w.pageX - window.scrollX - y.left) / 30 / 16 + "rem", G = (w.pageY - window.scrollY - y.top) / 30 / 16 + "rem";
1787
- R.style.transform = "translate3d(" + N + "," + G + ", 0rem)";
1785
+ ).forEach((D) => {
1786
+ const y = D.getBoundingClientRect(), N = (w.pageX - window.scrollX - y.left) / 30 / 16 + "rem", W = (w.pageY - window.scrollY - y.top) / 30 / 16 + "rem";
1787
+ D.style.transform = "translate3d(" + N + "," + W + ", 0rem)";
1788
1788
  });
1789
1789
  };
1790
1790
  return window.addEventListener("mousemove", g), () => {
@@ -1962,14 +1962,14 @@ eyes follow your mouse when you hover near it.`, ws = ({
1962
1962
  ws.propTypes = {
1963
1963
  handleFloatingActionButtonClick: x.func
1964
1964
  };
1965
- const W0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M281-240q-14%200-27.5-14T240-282v-98h500v-340h100q14%200%2027%2014t13%2029v596L721-240H281ZM80-280v-558q0-14%2013-28t27-14h519q15%200%2028%2013.5t13%2028.5v356q0%2014-13%2028t-28%2014H240L80-280Zm540-220v-320H140v320h480Zm-480%200v-320%20320Z'%20fill='%23FFFFFF'/%3e%3c/svg%3e", Ds = "data:image/svg+xml,%3csvg%20width='1871'%20height='564'%20viewBox='0%200%201871%20564'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M928%20188H1871L1808%20491H865L928%20188Z'%20fill='%23F0CC00'/%3e%3cg%20clip-path='url(%23clip0_123_428)'%3e%3cpath%20d='M255.273%20197.387C250.852%20192.254%20245.352%20188.185%20238.796%20185.188C232.232%20182.191%20224.597%20180.692%20215.898%20180.692C207.049%20180.692%20198.777%20182.266%20191.074%20185.405C183.372%20188.545%20176.381%20193.004%20170.102%20198.781C163.823%20204.558%20158.406%20211.482%20153.835%20219.537C149.264%20227.6%20145.63%20236.547%20142.926%20246.393H268.116C268.258%20245.681%20268.363%20244.362%20268.438%20242.437C268.505%20240.511%20268.543%20238.622%20268.543%20236.764C268.543%20229.203%20267.434%20222.032%20265.223%20215.251C263.013%20208.485%20259.694%20202.528%20255.273%20197.387Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M492.301%20198.571C487.303%20193.079%20481.241%20188.83%20474.108%20185.84C466.975%20182.843%20458.913%20181.344%20449.929%20181.344C438.083%20181.344%20427.098%20183.989%20416.975%20189.264C406.845%20194.547%20398.071%20201.891%20390.653%20211.31C383.235%20220.729%20377.383%20231.961%20373.105%20245.014C368.827%20258.067%20366.684%20272.372%20366.684%20287.921C366.684%20297.624%20368.077%20306.541%20370.857%20314.671C373.637%20322.802%20377.526%20329.763%20382.516%20335.54C387.506%20341.317%20393.5%20345.813%20400.491%20349.021C407.482%20352.228%20415.26%20353.839%20423.816%20353.839C435.797%20353.839%20446.887%20351.021%20457.092%20345.386C467.29%20339.751%20476.169%20332.048%20483.736%20322.277C491.297%20312.506%20497.216%20301.019%20501.494%20287.823C505.773%20274.628%20507.916%20260.398%20507.916%20245.127C507.916%20235.28%20506.56%20226.438%20503.847%20218.593C501.142%20210.733%20497.291%20204.064%20492.301%20198.571Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M639.924%2092.2794L659.211%200H92.881L0%20443.638H473.509L447.426%20562.623H901.004L1001.06%2092.2719H639.924V92.2794ZM306.846%20249.503C306.704%20252.575%20306.486%20255.715%20306.202%20258.922C305.917%20262.129%20305.632%20265.276%20305.347%20268.341C305.063%20271.405%20304.703%20274.013%20304.276%20276.149H138.003C137.86%20278.149%20137.748%20280.075%20137.681%20281.926C137.606%20283.784%20137.576%20285.71%20137.576%20287.703C137.576%20299.543%20139.284%20309.636%20142.708%20317.983C146.132%20326.331%20150.591%20333.142%20156.083%20338.425C161.575%20343.708%20167.749%20347.522%20174.598%20349.875C181.446%20352.228%20188.362%20353.412%20195.353%20353.412C210.616%20353.412%20222.881%20350.774%20232.158%20345.491C241.426%20340.216%20248.492%20333.082%20253.34%20324.09H292.505C290.077%20332.94%20286.083%20341.213%20280.524%20348.916C274.957%20356.619%20267.936%20363.288%20259.446%20368.923C250.957%20374.557%20241.111%20378.979%20229.917%20382.193C218.715%20385.4%20206.412%20387.004%20193%20387.004C180.157%20387.004%20168.034%20384.898%20156.622%20380.687C145.203%20376.483%20135.253%20370.271%20126.771%20362.066C118.282%20353.861%20111.576%20343.768%20106.653%20331.786C101.73%20319.797%2099.2724%20306.032%2099.2724%20290.476C99.2724%20269.217%20102.232%20249.855%20108.151%20232.373C114.071%20214.899%20122.313%20199.92%20132.87%20187.429C143.428%20174.945%20156.09%20165.279%20170.859%20158.43C185.627%20151.581%20201.782%20148.157%20219.33%20148.157C231.168%20148.157%20242.408%20150.225%20253.033%20154.368C263.657%20158.505%20272.971%20164.529%20280.958%20172.45C288.946%20180.37%20295.292%20190.104%20300.005%20201.658C304.711%20213.213%20307.071%20226.483%20307.071%20241.462C307.063%20243.763%20306.988%20246.438%20306.846%20249.503ZM481.601%20382.935L488.232%20351.478H484.808C476.386%20362.463%20465.829%20371.133%20453.136%20377.48C440.435%20383.827%20426.739%20387.004%20412.053%20387.004C400.499%20387.004%20389.657%20384.823%20379.526%20380.477C369.396%20376.131%20360.517%20369.882%20352.882%20361.752C345.247%20353.621%20339.222%20343.775%20334.802%20332.221C330.381%20320.659%20328.171%20307.748%20328.171%20293.481C328.171%20279.641%20329.557%20266.407%20332.344%20253.781C335.124%20241.155%20339.088%20229.458%20344.22%20218.683C349.353%20207.908%20355.527%20198.174%20362.735%20189.474C369.936%20180.775%20377.93%20173.356%20386.704%20167.219C395.478%20161.09%20404.964%20156.377%20415.162%20153.095C425.36%20149.813%20436.03%20148.171%20447.156%20148.171C455.429%20148.171%20463.311%20149.318%20470.804%20151.596C478.297%20153.881%20485.07%20157.051%20491.132%20161.12C497.194%20165.189%20502.401%20170.112%20506.754%20175.889C511.108%20181.666%20514.277%20187.983%20516.278%20194.832H519.702L548.16%2060.6503H585.609L517.132%20382.95H481.601V382.935ZM852.406%20501.988H769.505L715.294%20383.01H708.521L608.192%20501.988H525.786L682.124%20316.755L609.698%20152.907H694.195L742.374%20265.711H746.854L837.959%20152.907H921.489L772.24%20324.967L852.406%20501.988Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M1050.36%20150.673C1046.27%20150.673%201042.42%20149.908%201038.84%20148.377C1035.26%20146.846%201032.11%20144.723%201029.4%20142.007C1026.68%20139.29%201024.56%20136.139%201023.03%20132.56C1021.5%20128.981%201020.73%20125.139%201020.73%20121.043C1020.73%20116.946%201021.5%20113.104%201023.03%20109.525C1024.56%20105.946%201026.68%20102.795%201029.4%20100.079C1032.11%2097.3624%201035.27%2095.239%201038.84%2093.7083C1042.42%2092.1777%201046.27%2091.4124%201050.36%2091.4124C1054.46%2091.4124%201058.3%2092.1777%201061.89%2093.7083C1065.47%2095.239%201068.62%2097.3624%201071.33%20100.079C1074.05%20102.795%201076.17%20105.946%201077.7%20109.525C1079.23%20113.104%201080%20116.946%201080%20121.043C1080%20125.139%201079.23%20128.981%201077.7%20132.56C1076.17%20136.139%201074.05%20139.29%201071.33%20142.007C1068.62%20144.723%201065.47%20146.846%201061.89%20148.377C1058.3%20149.908%201054.47%20150.673%201050.36%20150.673ZM1050.36%20145.15C1054.8%20145.15%201058.85%20144.062%201062.49%20141.894C1066.13%20139.718%201069.05%20136.814%201071.22%20133.168C1073.4%20129.529%201074.48%20125.484%201074.48%20121.035C1074.48%20116.586%201073.39%20112.549%201071.22%20108.902C1069.05%20105.263%201066.14%20102.352%201062.49%20100.176C1058.85%2098.0002%201054.8%2096.9197%201050.36%2096.9197C1045.92%2096.9197%201041.88%2098.0077%201038.23%20100.176C1034.58%20102.352%201031.68%20105.256%201029.5%20108.902C1027.33%20112.541%201026.25%20116.586%201026.25%20121.035C1026.25%20125.484%201027.33%20129.521%201029.5%20133.168C1031.68%20136.814%201034.58%20139.718%201038.23%20141.894C1041.87%20144.07%201045.91%20145.15%201050.36%20145.15ZM1040.32%20134.368V107.027H1053.44C1054.82%20107.027%201056.16%20107.357%201057.45%20108.009C1058.75%20108.662%201059.82%20109.63%201060.68%20110.898C1061.53%20112.174%201061.96%20113.734%201061.96%20115.588C1061.96%20117.441%201061.52%20119.039%201060.64%20120.382C1059.76%20121.725%201058.65%20122.761%201057.31%20123.474C1055.97%20124.194%201054.58%20124.547%201053.14%20124.547H1042.99V120.802H1051.88C1053.14%20120.802%201054.26%20120.352%201055.27%20119.452C1056.27%20118.552%201056.77%20117.261%201056.77%20115.58C1056.77%20113.9%201056.27%20112.616%201055.27%20111.874C1054.27%20111.131%201053.18%20110.763%201051.99%20110.763H1045.1V134.361H1040.32V134.368ZM1056.25%20121.658L1063.07%20134.368H1057.74L1051.1%20121.658H1056.25Z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3cpath%20d='M1142.1%20319.054L1167.87%20267.107H1200.71L1159.91%20338.956L1201.71%20412H1169.07L1142.49%20359.257L1116.02%20412H1082.99L1124.78%20338.956L1084.08%20267.107H1116.72L1142.1%20319.054ZM1241.94%20358.195V412H1215.04V269.336H1270.88C1278.22%20269.336%201284.6%20270.559%201290.04%20273.005C1295.47%20275.315%201299.96%20278.44%201303.49%20282.38C1307.16%20286.184%201309.88%20290.6%201311.64%20295.627C1313.54%20300.518%201314.5%20305.546%201314.5%20310.709V315.6C1314.5%20320.899%201313.54%20326.13%201311.64%20331.293C1309.88%20336.32%201307.16%20340.872%201303.49%20344.948C1299.96%20348.888%201295.47%20352.081%201290.04%20354.527C1284.6%20356.973%201278.22%20358.195%201270.88%20358.195H1241.94ZM1241.94%20332.516H1268.23C1274.21%20332.516%201278.9%20330.885%201282.29%20327.625C1285.83%20324.364%201287.59%20320.152%201287.59%20314.989V312.543C1287.59%20307.38%201285.83%20303.168%201282.29%20299.907C1278.9%20296.646%201274.21%20295.016%201268.23%20295.016H1241.94V332.516ZM1337.79%20269.336H1427.87V295.016H1364.69V327.625H1425.43V353.304H1364.69V386.321H1430.32V412H1337.79V269.336ZM1552.46%20412H1525.56V369.201C1525.56%20365.94%201524.68%20363.291%201522.91%20361.252C1521.28%20359.214%201518.49%20358.195%201514.55%20358.195H1483.57V412H1456.67V269.336H1511.29C1518.63%20269.336%201525.08%20270.355%201530.65%20272.393C1536.22%20274.431%201540.84%20277.285%201544.51%20280.953C1548.32%20284.486%201551.17%20288.63%201553.07%20293.385C1555.11%20298.141%201556.13%20303.236%201556.13%20308.671V313.562C1556.13%20319.404%201554.57%20324.907%201551.44%20330.07C1548.32%20335.097%201543.49%20338.97%201536.97%20341.687V345.356C1541.73%20345.899%201545.46%20347.733%201548.18%20350.858C1551.03%20353.983%201552.46%20357.924%201552.46%20362.679V412ZM1483.57%20332.516H1509.25C1515.78%20332.516%201520.73%20331.021%201524.13%20328.032C1527.53%20324.907%201529.23%20320.559%201529.23%20314.989V312.543C1529.23%20307.788%201527.53%20303.711%201524.13%20300.315C1520.73%20296.782%201515.78%20295.016%201509.25%20295.016H1483.57V332.516ZM1571.48%20269.336H1674.19V295.016H1636.29V412H1609.38V295.016H1571.48V269.336Z'%20fill='%2300262B'/%3e%3cdefs%3e%3cclipPath%20id='clip0_123_428'%3e%3crect%20width='1080'%20height='563.25'%20fill='%23FFFFFF'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", G0 = {
1966
- edx: Ds,
1965
+ const W0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M281-240q-14%200-27.5-14T240-282v-98h500v-340h100q14%200%2027%2014t13%2029v596L721-240H281ZM80-280v-558q0-14%2013-28t27-14h519q15%200%2028%2013.5t13%2028.5v356q0%2014-13%2028t-28%2014H240L80-280Zm540-220v-320H140v320h480Zm-480%200v-320%20320Z'%20fill='%23FFFFFF'/%3e%3c/svg%3e", Rs = "data:image/svg+xml,%3csvg%20width='1871'%20height='564'%20viewBox='0%200%201871%20564'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M928%20188H1871L1808%20491H865L928%20188Z'%20fill='%23F0CC00'/%3e%3cg%20clip-path='url(%23clip0_123_428)'%3e%3cpath%20d='M255.273%20197.387C250.852%20192.254%20245.352%20188.185%20238.796%20185.188C232.232%20182.191%20224.597%20180.692%20215.898%20180.692C207.049%20180.692%20198.777%20182.266%20191.074%20185.405C183.372%20188.545%20176.381%20193.004%20170.102%20198.781C163.823%20204.558%20158.406%20211.482%20153.835%20219.537C149.264%20227.6%20145.63%20236.547%20142.926%20246.393H268.116C268.258%20245.681%20268.363%20244.362%20268.438%20242.437C268.505%20240.511%20268.543%20238.622%20268.543%20236.764C268.543%20229.203%20267.434%20222.032%20265.223%20215.251C263.013%20208.485%20259.694%20202.528%20255.273%20197.387Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M492.301%20198.571C487.303%20193.079%20481.241%20188.83%20474.108%20185.84C466.975%20182.843%20458.913%20181.344%20449.929%20181.344C438.083%20181.344%20427.098%20183.989%20416.975%20189.264C406.845%20194.547%20398.071%20201.891%20390.653%20211.31C383.235%20220.729%20377.383%20231.961%20373.105%20245.014C368.827%20258.067%20366.684%20272.372%20366.684%20287.921C366.684%20297.624%20368.077%20306.541%20370.857%20314.671C373.637%20322.802%20377.526%20329.763%20382.516%20335.54C387.506%20341.317%20393.5%20345.813%20400.491%20349.021C407.482%20352.228%20415.26%20353.839%20423.816%20353.839C435.797%20353.839%20446.887%20351.021%20457.092%20345.386C467.29%20339.751%20476.169%20332.048%20483.736%20322.277C491.297%20312.506%20497.216%20301.019%20501.494%20287.823C505.773%20274.628%20507.916%20260.398%20507.916%20245.127C507.916%20235.28%20506.56%20226.438%20503.847%20218.593C501.142%20210.733%20497.291%20204.064%20492.301%20198.571Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M639.924%2092.2794L659.211%200H92.881L0%20443.638H473.509L447.426%20562.623H901.004L1001.06%2092.2719H639.924V92.2794ZM306.846%20249.503C306.704%20252.575%20306.486%20255.715%20306.202%20258.922C305.917%20262.129%20305.632%20265.276%20305.347%20268.341C305.063%20271.405%20304.703%20274.013%20304.276%20276.149H138.003C137.86%20278.149%20137.748%20280.075%20137.681%20281.926C137.606%20283.784%20137.576%20285.71%20137.576%20287.703C137.576%20299.543%20139.284%20309.636%20142.708%20317.983C146.132%20326.331%20150.591%20333.142%20156.083%20338.425C161.575%20343.708%20167.749%20347.522%20174.598%20349.875C181.446%20352.228%20188.362%20353.412%20195.353%20353.412C210.616%20353.412%20222.881%20350.774%20232.158%20345.491C241.426%20340.216%20248.492%20333.082%20253.34%20324.09H292.505C290.077%20332.94%20286.083%20341.213%20280.524%20348.916C274.957%20356.619%20267.936%20363.288%20259.446%20368.923C250.957%20374.557%20241.111%20378.979%20229.917%20382.193C218.715%20385.4%20206.412%20387.004%20193%20387.004C180.157%20387.004%20168.034%20384.898%20156.622%20380.687C145.203%20376.483%20135.253%20370.271%20126.771%20362.066C118.282%20353.861%20111.576%20343.768%20106.653%20331.786C101.73%20319.797%2099.2724%20306.032%2099.2724%20290.476C99.2724%20269.217%20102.232%20249.855%20108.151%20232.373C114.071%20214.899%20122.313%20199.92%20132.87%20187.429C143.428%20174.945%20156.09%20165.279%20170.859%20158.43C185.627%20151.581%20201.782%20148.157%20219.33%20148.157C231.168%20148.157%20242.408%20150.225%20253.033%20154.368C263.657%20158.505%20272.971%20164.529%20280.958%20172.45C288.946%20180.37%20295.292%20190.104%20300.005%20201.658C304.711%20213.213%20307.071%20226.483%20307.071%20241.462C307.063%20243.763%20306.988%20246.438%20306.846%20249.503ZM481.601%20382.935L488.232%20351.478H484.808C476.386%20362.463%20465.829%20371.133%20453.136%20377.48C440.435%20383.827%20426.739%20387.004%20412.053%20387.004C400.499%20387.004%20389.657%20384.823%20379.526%20380.477C369.396%20376.131%20360.517%20369.882%20352.882%20361.752C345.247%20353.621%20339.222%20343.775%20334.802%20332.221C330.381%20320.659%20328.171%20307.748%20328.171%20293.481C328.171%20279.641%20329.557%20266.407%20332.344%20253.781C335.124%20241.155%20339.088%20229.458%20344.22%20218.683C349.353%20207.908%20355.527%20198.174%20362.735%20189.474C369.936%20180.775%20377.93%20173.356%20386.704%20167.219C395.478%20161.09%20404.964%20156.377%20415.162%20153.095C425.36%20149.813%20436.03%20148.171%20447.156%20148.171C455.429%20148.171%20463.311%20149.318%20470.804%20151.596C478.297%20153.881%20485.07%20157.051%20491.132%20161.12C497.194%20165.189%20502.401%20170.112%20506.754%20175.889C511.108%20181.666%20514.277%20187.983%20516.278%20194.832H519.702L548.16%2060.6503H585.609L517.132%20382.95H481.601V382.935ZM852.406%20501.988H769.505L715.294%20383.01H708.521L608.192%20501.988H525.786L682.124%20316.755L609.698%20152.907H694.195L742.374%20265.711H746.854L837.959%20152.907H921.489L772.24%20324.967L852.406%20501.988Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M1050.36%20150.673C1046.27%20150.673%201042.42%20149.908%201038.84%20148.377C1035.26%20146.846%201032.11%20144.723%201029.4%20142.007C1026.68%20139.29%201024.56%20136.139%201023.03%20132.56C1021.5%20128.981%201020.73%20125.139%201020.73%20121.043C1020.73%20116.946%201021.5%20113.104%201023.03%20109.525C1024.56%20105.946%201026.68%20102.795%201029.4%20100.079C1032.11%2097.3624%201035.27%2095.239%201038.84%2093.7083C1042.42%2092.1777%201046.27%2091.4124%201050.36%2091.4124C1054.46%2091.4124%201058.3%2092.1777%201061.89%2093.7083C1065.47%2095.239%201068.62%2097.3624%201071.33%20100.079C1074.05%20102.795%201076.17%20105.946%201077.7%20109.525C1079.23%20113.104%201080%20116.946%201080%20121.043C1080%20125.139%201079.23%20128.981%201077.7%20132.56C1076.17%20136.139%201074.05%20139.29%201071.33%20142.007C1068.62%20144.723%201065.47%20146.846%201061.89%20148.377C1058.3%20149.908%201054.47%20150.673%201050.36%20150.673ZM1050.36%20145.15C1054.8%20145.15%201058.85%20144.062%201062.49%20141.894C1066.13%20139.718%201069.05%20136.814%201071.22%20133.168C1073.4%20129.529%201074.48%20125.484%201074.48%20121.035C1074.48%20116.586%201073.39%20112.549%201071.22%20108.902C1069.05%20105.263%201066.14%20102.352%201062.49%20100.176C1058.85%2098.0002%201054.8%2096.9197%201050.36%2096.9197C1045.92%2096.9197%201041.88%2098.0077%201038.23%20100.176C1034.58%20102.352%201031.68%20105.256%201029.5%20108.902C1027.33%20112.541%201026.25%20116.586%201026.25%20121.035C1026.25%20125.484%201027.33%20129.521%201029.5%20133.168C1031.68%20136.814%201034.58%20139.718%201038.23%20141.894C1041.87%20144.07%201045.91%20145.15%201050.36%20145.15ZM1040.32%20134.368V107.027H1053.44C1054.82%20107.027%201056.16%20107.357%201057.45%20108.009C1058.75%20108.662%201059.82%20109.63%201060.68%20110.898C1061.53%20112.174%201061.96%20113.734%201061.96%20115.588C1061.96%20117.441%201061.52%20119.039%201060.64%20120.382C1059.76%20121.725%201058.65%20122.761%201057.31%20123.474C1055.97%20124.194%201054.58%20124.547%201053.14%20124.547H1042.99V120.802H1051.88C1053.14%20120.802%201054.26%20120.352%201055.27%20119.452C1056.27%20118.552%201056.77%20117.261%201056.77%20115.58C1056.77%20113.9%201056.27%20112.616%201055.27%20111.874C1054.27%20111.131%201053.18%20110.763%201051.99%20110.763H1045.1V134.361H1040.32V134.368ZM1056.25%20121.658L1063.07%20134.368H1057.74L1051.1%20121.658H1056.25Z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3cpath%20d='M1142.1%20319.054L1167.87%20267.107H1200.71L1159.91%20338.956L1201.71%20412H1169.07L1142.49%20359.257L1116.02%20412H1082.99L1124.78%20338.956L1084.08%20267.107H1116.72L1142.1%20319.054ZM1241.94%20358.195V412H1215.04V269.336H1270.88C1278.22%20269.336%201284.6%20270.559%201290.04%20273.005C1295.47%20275.315%201299.96%20278.44%201303.49%20282.38C1307.16%20286.184%201309.88%20290.6%201311.64%20295.627C1313.54%20300.518%201314.5%20305.546%201314.5%20310.709V315.6C1314.5%20320.899%201313.54%20326.13%201311.64%20331.293C1309.88%20336.32%201307.16%20340.872%201303.49%20344.948C1299.96%20348.888%201295.47%20352.081%201290.04%20354.527C1284.6%20356.973%201278.22%20358.195%201270.88%20358.195H1241.94ZM1241.94%20332.516H1268.23C1274.21%20332.516%201278.9%20330.885%201282.29%20327.625C1285.83%20324.364%201287.59%20320.152%201287.59%20314.989V312.543C1287.59%20307.38%201285.83%20303.168%201282.29%20299.907C1278.9%20296.646%201274.21%20295.016%201268.23%20295.016H1241.94V332.516ZM1337.79%20269.336H1427.87V295.016H1364.69V327.625H1425.43V353.304H1364.69V386.321H1430.32V412H1337.79V269.336ZM1552.46%20412H1525.56V369.201C1525.56%20365.94%201524.68%20363.291%201522.91%20361.252C1521.28%20359.214%201518.49%20358.195%201514.55%20358.195H1483.57V412H1456.67V269.336H1511.29C1518.63%20269.336%201525.08%20270.355%201530.65%20272.393C1536.22%20274.431%201540.84%20277.285%201544.51%20280.953C1548.32%20284.486%201551.17%20288.63%201553.07%20293.385C1555.11%20298.141%201556.13%20303.236%201556.13%20308.671V313.562C1556.13%20319.404%201554.57%20324.907%201551.44%20330.07C1548.32%20335.097%201543.49%20338.97%201536.97%20341.687V345.356C1541.73%20345.899%201545.46%20347.733%201548.18%20350.858C1551.03%20353.983%201552.46%20357.924%201552.46%20362.679V412ZM1483.57%20332.516H1509.25C1515.78%20332.516%201520.73%20331.021%201524.13%20328.032C1527.53%20324.907%201529.23%20320.559%201529.23%20314.989V312.543C1529.23%20307.788%201527.53%20303.711%201524.13%20300.315C1520.73%20296.782%201515.78%20295.016%201509.25%20295.016H1483.57V332.516ZM1571.48%20269.336H1674.19V295.016H1636.29V412H1609.38V295.016H1571.48V269.336Z'%20fill='%2300262B'/%3e%3cdefs%3e%3cclipPath%20id='clip0_123_428'%3e%3crect%20width='1080'%20height='563.25'%20fill='%23FFFFFF'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", G0 = {
1966
+ edx: Rs,
1967
1967
  default: W0
1968
- }, Rs = ({
1968
+ }, Ds = ({
1969
1969
  handleFloatingActionButtonClick: e = null
1970
1970
  }) => {
1971
1971
  var r, a;
1972
- const { launchButton: t } = se(je), { isMobile: n } = se(Ze);
1972
+ const { launchButton: t } = se(je), { isMobile: n } = se(Je);
1973
1973
  return /* @__PURE__ */ v.jsx(
1974
1974
  xi,
1975
1975
  {
@@ -1993,7 +1993,7 @@ const W0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20hei
1993
1993
  }
1994
1994
  );
1995
1995
  };
1996
- Rs.propTypes = {
1996
+ Ds.propTypes = {
1997
1997
  handleFloatingActionButtonClick: x.func
1998
1998
  };
1999
1999
  /*!
@@ -2346,22 +2346,22 @@ var Lu = {
2346
2346
  delayInitialFocusTimer: void 0,
2347
2347
  // the most recent KeyboardEvent for the configured nav key (typically [SHIFT+]TAB), if any
2348
2348
  recentNavEvent: void 0
2349
- }, s, l = function(L, I, D) {
2350
- return L && L[I] !== void 0 ? L[I] : i[D || I];
2349
+ }, s, l = function(L, I, R) {
2350
+ return L && L[I] !== void 0 ? L[I] : i[R || I];
2351
2351
  }, c = function(L, I) {
2352
- var D = typeof (I == null ? void 0 : I.composedPath) == "function" ? I.composedPath() : void 0;
2352
+ var R = typeof (I == null ? void 0 : I.composedPath) == "function" ? I.composedPath() : void 0;
2353
2353
  return u.containerGroups.findIndex(function(U) {
2354
- var W = U.container, j = U.tabbableNodes;
2355
- return W.contains(L) || // fall back to explicit tabbable search which will take into consideration any
2354
+ var G = U.container, j = U.tabbableNodes;
2355
+ return G.contains(L) || // fall back to explicit tabbable search which will take into consideration any
2356
2356
  // web components if the `tabbableOptions.getShadowRoot` option was used for
2357
2357
  // the trap, enabling shadow DOM support in tabbable (`Node.contains()` doesn't
2358
2358
  // look inside web components even if open)
2359
- (D == null ? void 0 : D.includes(W)) || j.find(function(Y) {
2359
+ (R == null ? void 0 : R.includes(G)) || j.find(function(Y) {
2360
2360
  return Y === L;
2361
2361
  });
2362
2362
  });
2363
2363
  }, d = function(L) {
2364
- var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, D = I.hasFallback, U = D === void 0 ? !1 : D, W = I.params, j = W === void 0 ? [] : W, Y = i[L];
2364
+ var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, R = I.hasFallback, U = R === void 0 ? !1 : R, G = I.params, j = G === void 0 ? [] : G, Y = i[L];
2365
2365
  if (typeof Y == "function" && (Y = Y.apply(void 0, gf(j))), Y === !0 && (Y = void 0), !Y) {
2366
2366
  if (Y === void 0 || Y === !1)
2367
2367
  return Y;
@@ -2388,8 +2388,8 @@ var Lu = {
2388
2388
  if (c(r.activeElement) >= 0)
2389
2389
  L = r.activeElement;
2390
2390
  else {
2391
- var I = u.tabbableGroups[0], D = I && I.firstTabbableNode;
2392
- L = D || d("fallbackFocus");
2391
+ var I = u.tabbableGroups[0], R = I && I.firstTabbableNode;
2392
+ L = R || d("fallbackFocus");
2393
2393
  }
2394
2394
  else L === null && (L = d("fallbackFocus"));
2395
2395
  if (!L)
@@ -2397,9 +2397,9 @@ var Lu = {
2397
2397
  return L;
2398
2398
  }, p = function() {
2399
2399
  if (u.containerGroups = u.containers.map(function(L) {
2400
- var I = js(L, i.tabbableOptions), D = qs(L, i.tabbableOptions), U = I.length > 0 ? I[0] : void 0, W = I.length > 0 ? I[I.length - 1] : void 0, j = D.find(function(ne) {
2400
+ var I = js(L, i.tabbableOptions), R = qs(L, i.tabbableOptions), U = I.length > 0 ? I[0] : void 0, G = I.length > 0 ? I[I.length - 1] : void 0, j = R.find(function(ne) {
2401
2401
  return rn(ne);
2402
- }), Y = D.slice().reverse().find(function(ne) {
2402
+ }), Y = R.slice().reverse().find(function(ne) {
2403
2403
  return rn(ne);
2404
2404
  }), T = !!I.find(function(ne) {
2405
2405
  return Wt(ne) > 0;
@@ -2407,13 +2407,13 @@ var Lu = {
2407
2407
  return {
2408
2408
  container: L,
2409
2409
  tabbableNodes: I,
2410
- focusableNodes: D,
2410
+ focusableNodes: R,
2411
2411
  /** True if at least one node with positive `tabindex` was found in this container. */
2412
2412
  posTabIndexesFound: T,
2413
2413
  /** First tabbable node in container, __tabindex__ order; `undefined` if none. */
2414
2414
  firstTabbableNode: U,
2415
2415
  /** Last tabbable node in container, __tabindex__ order; `undefined` if none. */
2416
- lastTabbableNode: W,
2416
+ lastTabbableNode: G,
2417
2417
  // NOTE: DOM order is NOT NECESSARILY "document position" order, but figuring that out
2418
2418
  // would require more than just https://developer.mozilla.org/en-US/docs/Web/API/Node/compareDocumentPosition
2419
2419
  // because that API doesn't work with Shadow DOM as well as it should (@see
@@ -2435,9 +2435,9 @@ var Lu = {
2435
2435
  */
2436
2436
  nextTabbableNode: function(oe) {
2437
2437
  var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, le = I.indexOf(oe);
2438
- return le < 0 ? S ? D.slice(D.indexOf(oe) + 1).find(function(_e) {
2438
+ return le < 0 ? S ? R.slice(R.indexOf(oe) + 1).find(function(_e) {
2439
2439
  return rn(_e);
2440
- }) : D.slice(0, D.indexOf(oe)).reverse().find(function(_e) {
2440
+ }) : R.slice(0, R.indexOf(oe)).reverse().find(function(_e) {
2441
2441
  return rn(_e);
2442
2442
  }) : I[le + (S ? 1 : -1)];
2443
2443
  }
@@ -2470,14 +2470,14 @@ var Lu = {
2470
2470
  });
2471
2471
  return I || (I === !1 ? !1 : L);
2472
2472
  }, _ = function(L) {
2473
- var I = L.target, D = L.event, U = L.isBackward, W = U === void 0 ? !1 : U;
2474
- I = I || Sr(D), p();
2473
+ var I = L.target, R = L.event, U = L.isBackward, G = U === void 0 ? !1 : U;
2474
+ I = I || Sr(R), p();
2475
2475
  var j = null;
2476
2476
  if (u.tabbableGroups.length > 0) {
2477
- var Y = c(I, D), T = Y >= 0 ? u.containerGroups[Y] : void 0;
2477
+ var Y = c(I, R), T = Y >= 0 ? u.containerGroups[Y] : void 0;
2478
2478
  if (Y < 0)
2479
- W ? j = u.tabbableGroups[u.tabbableGroups.length - 1].lastTabbableNode : j = u.tabbableGroups[0].firstTabbableNode;
2480
- else if (W) {
2479
+ G ? j = u.tabbableGroups[u.tabbableGroups.length - 1].lastTabbableNode : j = u.tabbableGroups[0].firstTabbableNode;
2480
+ else if (G) {
2481
2481
  var ne = u.tabbableGroups.findIndex(function(Ce) {
2482
2482
  var Oe = Ce.firstTabbableNode;
2483
2483
  return I === Oe;
@@ -2485,7 +2485,7 @@ var Lu = {
2485
2485
  if (ne < 0 && (T.container === I || Lr(I, i.tabbableOptions) && !rn(I, i.tabbableOptions) && !T.nextTabbableNode(I, !1)) && (ne = Y), ne >= 0) {
2486
2486
  var oe = ne === 0 ? u.tabbableGroups.length - 1 : ne - 1, S = u.tabbableGroups[oe];
2487
2487
  j = Wt(I) >= 0 ? S.lastTabbableNode : S.lastDomTabbableNode;
2488
- } else Zn(D) || (j = T.nextTabbableNode(I, !1));
2488
+ } else Zn(R) || (j = T.nextTabbableNode(I, !1));
2489
2489
  } else {
2490
2490
  var le = u.tabbableGroups.findIndex(function(Ce) {
2491
2491
  var Oe = Ce.lastTabbableNode;
@@ -2494,7 +2494,7 @@ var Lu = {
2494
2494
  if (le < 0 && (T.container === I || Lr(I, i.tabbableOptions) && !rn(I, i.tabbableOptions) && !T.nextTabbableNode(I)) && (le = Y), le >= 0) {
2495
2495
  var _e = le === u.tabbableGroups.length - 1 ? 0 : le + 1, me = u.tabbableGroups[_e];
2496
2496
  j = Wt(I) >= 0 ? me.firstTabbableNode : me.firstDomTabbableNode;
2497
- } else Zn(D) || (j = T.nextTabbableNode(I));
2497
+ } else Zn(R) || (j = T.nextTabbableNode(I));
2498
2498
  }
2499
2499
  } else
2500
2500
  j = d("fallbackFocus");
@@ -2517,12 +2517,12 @@ var Lu = {
2517
2517
  jn(i.allowOutsideClick, L) || L.preventDefault();
2518
2518
  }
2519
2519
  }, w = function(L) {
2520
- var I = Sr(L), D = c(I, L) >= 0;
2521
- if (D || I instanceof Document)
2522
- D && (u.mostRecentlyFocusedNode = I);
2520
+ var I = Sr(L), R = c(I, L) >= 0;
2521
+ if (R || I instanceof Document)
2522
+ R && (u.mostRecentlyFocusedNode = I);
2523
2523
  else {
2524
2524
  L.stopImmediatePropagation();
2525
- var U, W = !0;
2525
+ var U, G = !0;
2526
2526
  if (u.mostRecentlyFocusedNode)
2527
2527
  if (Wt(u.mostRecentlyFocusedNode) > 0) {
2528
2528
  var j = c(u.mostRecentlyFocusedNode), Y = u.containerGroups[j].tabbableNodes;
@@ -2530,17 +2530,17 @@ var Lu = {
2530
2530
  var T = Y.findIndex(function(ne) {
2531
2531
  return ne === u.mostRecentlyFocusedNode;
2532
2532
  });
2533
- T >= 0 && (i.isKeyForward(u.recentNavEvent) ? T + 1 < Y.length && (U = Y[T + 1], W = !1) : T - 1 >= 0 && (U = Y[T - 1], W = !1));
2533
+ T >= 0 && (i.isKeyForward(u.recentNavEvent) ? T + 1 < Y.length && (U = Y[T + 1], G = !1) : T - 1 >= 0 && (U = Y[T - 1], G = !1));
2534
2534
  }
2535
2535
  } else
2536
2536
  u.containerGroups.some(function(ne) {
2537
2537
  return ne.tabbableNodes.some(function(oe) {
2538
2538
  return Wt(oe) > 0;
2539
2539
  });
2540
- }) || (W = !1);
2540
+ }) || (G = !1);
2541
2541
  else
2542
- W = !1;
2543
- W && (U = _({
2542
+ G = !1;
2543
+ G && (U = _({
2544
2544
  // move FROM the MRU node, not event-related node (which will be the node that is
2545
2545
  // outside the trap causing the focus escape we're trying to fix)
2546
2546
  target: u.mostRecentlyFocusedNode,
@@ -2551,14 +2551,14 @@ var Lu = {
2551
2551
  }, M = function(L) {
2552
2552
  var I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2553
2553
  u.recentNavEvent = L;
2554
- var D = _({
2554
+ var R = _({
2555
2555
  event: L,
2556
2556
  isBackward: I
2557
2557
  });
2558
- D && (Zn(L) && L.preventDefault(), b(D));
2558
+ R && (Zn(L) && L.preventDefault(), b(R));
2559
2559
  }, K = function(L) {
2560
2560
  (i.isKeyForward(L) || i.isKeyBackward(L)) && M(L, i.isKeyBackward(L));
2561
- }, R = function(L) {
2561
+ }, D = function(L) {
2562
2562
  _f(L) && jn(i.escapeDeactivates, L) !== !1 && (L.preventDefault(), s.deactivate());
2563
2563
  }, y = function(L) {
2564
2564
  var I = Sr(L);
@@ -2579,15 +2579,15 @@ var Lu = {
2579
2579
  }), r.addEventListener("keydown", K, {
2580
2580
  capture: !0,
2581
2581
  passive: !1
2582
- }), r.addEventListener("keydown", R), s;
2583
- }, G = function() {
2582
+ }), r.addEventListener("keydown", D), s;
2583
+ }, W = function() {
2584
2584
  if (u.active)
2585
- return r.removeEventListener("focusin", w, !0), r.removeEventListener("mousedown", g, !0), r.removeEventListener("touchstart", g, !0), r.removeEventListener("click", y, !0), r.removeEventListener("keydown", K, !0), r.removeEventListener("keydown", R), s;
2585
+ return r.removeEventListener("focusin", w, !0), r.removeEventListener("mousedown", g, !0), r.removeEventListener("touchstart", g, !0), r.removeEventListener("click", y, !0), r.removeEventListener("keydown", K, !0), r.removeEventListener("keydown", D), s;
2586
2586
  }, F = function(L) {
2587
- var I = L.some(function(D) {
2588
- var U = Array.from(D.removedNodes);
2589
- return U.some(function(W) {
2590
- return W === u.mostRecentlyFocusedNode;
2587
+ var I = L.some(function(R) {
2588
+ var U = Array.from(R.removedNodes);
2589
+ return U.some(function(G) {
2590
+ return G === u.mostRecentlyFocusedNode;
2591
2591
  });
2592
2592
  });
2593
2593
  I && b(h());
@@ -2609,12 +2609,12 @@ var Lu = {
2609
2609
  activate: function(L) {
2610
2610
  if (u.active)
2611
2611
  return this;
2612
- var I = l(L, "onActivate"), D = l(L, "onPostActivate"), U = l(L, "checkCanFocusTrap");
2612
+ var I = l(L, "onActivate"), R = l(L, "onPostActivate"), U = l(L, "checkCanFocusTrap");
2613
2613
  U || p(), u.active = !0, u.paused = !1, u.nodeFocusedBeforeActivation = r.activeElement, I == null || I();
2614
- var W = function() {
2615
- U && p(), N(), z(), D == null || D();
2614
+ var G = function() {
2615
+ U && p(), N(), z(), R == null || R();
2616
2616
  };
2617
- return U ? (U(u.containers.concat()).then(W, W), this) : (W(), this);
2617
+ return U ? (U(u.containers.concat()).then(G, G), this) : (G(), this);
2618
2618
  },
2619
2619
  deactivate: function(L) {
2620
2620
  if (!u.active)
@@ -2624,15 +2624,15 @@ var Lu = {
2624
2624
  onPostDeactivate: i.onPostDeactivate,
2625
2625
  checkCanReturnFocus: i.checkCanReturnFocus
2626
2626
  }, L);
2627
- clearTimeout(u.delayInitialFocusTimer), u.delayInitialFocusTimer = void 0, G(), u.active = !1, u.paused = !1, z(), Lu.deactivateTrap(a, s);
2628
- var D = l(I, "onDeactivate"), U = l(I, "onPostDeactivate"), W = l(I, "checkCanReturnFocus"), j = l(I, "returnFocus", "returnFocusOnDeactivate");
2629
- D == null || D();
2627
+ clearTimeout(u.delayInitialFocusTimer), u.delayInitialFocusTimer = void 0, W(), u.active = !1, u.paused = !1, z(), Lu.deactivateTrap(a, s);
2628
+ var R = l(I, "onDeactivate"), U = l(I, "onPostDeactivate"), G = l(I, "checkCanReturnFocus"), j = l(I, "returnFocus", "returnFocusOnDeactivate");
2629
+ R == null || R();
2630
2630
  var Y = function() {
2631
2631
  wu(function() {
2632
2632
  j && b(m(u.nodeFocusedBeforeActivation)), U == null || U();
2633
2633
  });
2634
2634
  };
2635
- return j && W ? (W(m(u.nodeFocusedBeforeActivation)).then(Y, Y), this) : (Y(), this);
2635
+ return j && G ? (G(m(u.nodeFocusedBeforeActivation)).then(Y, Y), this) : (Y(), this);
2636
2636
  },
2637
2637
  pause: function(L) {
2638
2638
  return u.active ? (u.manuallyPaused = !0, this._setPausedState(!0, L)) : this;
@@ -2642,8 +2642,8 @@ var Lu = {
2642
2642
  },
2643
2643
  updateContainerElements: function(L) {
2644
2644
  var I = [].concat(L).filter(Boolean);
2645
- return u.containers = I.map(function(D) {
2646
- return typeof D == "string" ? r.querySelector(D) : D;
2645
+ return u.containers = I.map(function(R) {
2646
+ return typeof R == "string" ? r.querySelector(R) : R;
2647
2647
  }), u.active && p(), z(), this;
2648
2648
  }
2649
2649
  }, Object.defineProperties(s, {
@@ -2657,11 +2657,11 @@ var Lu = {
2657
2657
  if (u.paused === L)
2658
2658
  return this;
2659
2659
  if (u.paused = L, L) {
2660
- var D = l(I, "onPause"), U = l(I, "onPostPause");
2661
- D == null || D(), G(), z(), U == null || U();
2660
+ var R = l(I, "onPause"), U = l(I, "onPostPause");
2661
+ R == null || R(), W(), z(), U == null || U();
2662
2662
  } else {
2663
- var W = l(I, "onUnpause"), j = l(I, "onPostUnpause");
2664
- W == null || W(), p(), N(), z(), j == null || j();
2663
+ var G = l(I, "onUnpause"), j = l(I, "onPostUnpause");
2664
+ G == null || G(), p(), N(), z(), j == null || j();
2665
2665
  }
2666
2666
  return this;
2667
2667
  }
@@ -2672,10 +2672,10 @@ const vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2672
2672
  __proto__: null,
2673
2673
  createFocusTrap: xf
2674
2674
  }, Symbol.toStringTag, { value: "Module" })), Of = /* @__PURE__ */ Ss(vf), If = /* @__PURE__ */ Ss(df);
2675
- var Aa, Du;
2675
+ var Aa, Ru;
2676
2676
  function Nf() {
2677
- if (Du) return Aa;
2678
- Du = 1;
2677
+ if (Ru) return Aa;
2678
+ Ru = 1;
2679
2679
  function e(y) {
2680
2680
  "@babel/helpers - typeof";
2681
2681
  return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(N) {
@@ -2688,16 +2688,16 @@ function Nf() {
2688
2688
  if (!(y instanceof N)) throw new TypeError("Cannot call a class as a function");
2689
2689
  }
2690
2690
  function n(y, N) {
2691
- for (var G = 0; G < N.length; G++) {
2692
- var F = N[G];
2691
+ for (var W = 0; W < N.length; W++) {
2692
+ var F = N[W];
2693
2693
  F.enumerable = F.enumerable || !1, F.configurable = !0, "value" in F && (F.writable = !0), Object.defineProperty(y, p(F.key), F);
2694
2694
  }
2695
2695
  }
2696
- function r(y, N, G) {
2696
+ function r(y, N, W) {
2697
2697
  return N && n(y.prototype, N), Object.defineProperty(y, "prototype", { writable: !1 }), y;
2698
2698
  }
2699
- function a(y, N, G) {
2700
- return N = l(N), i(y, s() ? Reflect.construct(N, G || [], l(y).constructor) : N.apply(y, G));
2699
+ function a(y, N, W) {
2700
+ return N = l(N), i(y, s() ? Reflect.construct(N, W || [], l(y).constructor) : N.apply(y, W));
2701
2701
  }
2702
2702
  function i(y, N) {
2703
2703
  if (N && (e(N) == "object" || typeof N == "function")) return N;
@@ -2728,12 +2728,12 @@ function Nf() {
2728
2728
  y.prototype = Object.create(N && N.prototype, { constructor: { value: y, writable: !0, configurable: !0 } }), Object.defineProperty(y, "prototype", { writable: !1 }), N && d(y, N);
2729
2729
  }
2730
2730
  function d(y, N) {
2731
- return d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(G, F) {
2732
- return G.__proto__ = F, G;
2731
+ return d = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(W, F) {
2732
+ return W.__proto__ = F, W;
2733
2733
  }, d(y, N);
2734
2734
  }
2735
- function h(y, N, G) {
2736
- return (N = p(N)) in y ? Object.defineProperty(y, N, { value: G, enumerable: !0, configurable: !0, writable: !0 }) : y[N] = G, y;
2735
+ function h(y, N, W) {
2736
+ return (N = p(N)) in y ? Object.defineProperty(y, N, { value: W, enumerable: !0, configurable: !0, writable: !0 }) : y[N] = W, y;
2737
2737
  }
2738
2738
  function p(y) {
2739
2739
  var N = f(y, "string");
@@ -2741,22 +2741,22 @@ function Nf() {
2741
2741
  }
2742
2742
  function f(y, N) {
2743
2743
  if (e(y) != "object" || !y) return y;
2744
- var G = y[Symbol.toPrimitive];
2745
- if (G !== void 0) {
2746
- var F = G.call(y, N);
2744
+ var W = y[Symbol.toPrimitive];
2745
+ if (W !== void 0) {
2746
+ var F = W.call(y, N);
2747
2747
  if (e(F) != "object") return F;
2748
2748
  throw new TypeError("@@toPrimitive must return a primitive value.");
2749
2749
  }
2750
2750
  return (N === "string" ? String : Number)(y);
2751
2751
  }
2752
2752
  var b = Et, m = /* @__PURE__ */ xs(), _ = Of, g = _.createFocusTrap, w = If, M = w.isFocusable, K = /* @__PURE__ */ function(y) {
2753
- function N(G) {
2753
+ function N(W) {
2754
2754
  var F;
2755
- t(this, N), F = a(this, N, [G]), h(F, "getNodeForOption", function(V) {
2755
+ t(this, N), F = a(this, N, [W]), h(F, "getNodeForOption", function(V) {
2756
2756
  var L, I = (L = this.internalOptions[V]) !== null && L !== void 0 ? L : this.originalOptions[V];
2757
2757
  if (typeof I == "function") {
2758
- for (var D = arguments.length, U = new Array(D > 1 ? D - 1 : 0), W = 1; W < D; W++)
2759
- U[W - 1] = arguments[W];
2758
+ for (var R = arguments.length, U = new Array(R > 1 ? R - 1 : 0), G = 1; G < R; G++)
2759
+ U[G - 1] = arguments[G];
2760
2760
  I = I.apply(void 0, U);
2761
2761
  }
2762
2762
  if (I === !0 && (I = void 0), !I) {
@@ -2801,7 +2801,7 @@ function Nf() {
2801
2801
  // the user's setting, defaulted to false since focus-trap defaults this to false
2802
2802
  clickOutsideDeactivates: !1
2803
2803
  };
2804
- var te = G.focusTrapOptions;
2804
+ var te = W.focusTrapOptions;
2805
2805
  for (var z in te)
2806
2806
  if (Object.prototype.hasOwnProperty.call(te, z)) {
2807
2807
  if (z === "returnFocusOnDeactivate" || z === "onDeactivate" || z === "onPostDeactivate" || z === "checkCanReturnFocus" || z === "clickOutsideDeactivates") {
@@ -2810,7 +2810,7 @@ function Nf() {
2810
2810
  }
2811
2811
  F.internalOptions[z] = te[z];
2812
2812
  }
2813
- return F.outsideClick = null, F.focusTrapElements = G.containerElements || [], F.updatePreviousElement(), F;
2813
+ return F.outsideClick = null, F.focusTrapElements = W.containerElements || [], F.updatePreviousElement(), F;
2814
2814
  }
2815
2815
  return c(N, y), r(N, [{
2816
2816
  key: "getDocument",
@@ -2875,9 +2875,9 @@ function Nf() {
2875
2875
  F.outsideClick.allowDeactivation && // is the outside node NOT focusable (implying that it did NOT receive focus
2876
2876
  // as a result of the click-through) -- in which case do NOT restore focus
2877
2877
  // to `returnFocusNode` because focus should remain on the outside node
2878
- !M(F.outsideClick.target, F.internalOptions.tabbableOptions))), I = F.internalOptions.preventScroll, D = I === void 0 ? !1 : I;
2878
+ !M(F.outsideClick.target, F.internalOptions.tabbableOptions))), I = F.internalOptions.preventScroll, R = I === void 0 ? !1 : I;
2879
2879
  L && V.focus({
2880
- preventScroll: D
2880
+ preventScroll: R
2881
2881
  }), F.originalOptions.onPostDeactivate && F.originalOptions.onPostDeactivate.call(null), F.outsideClick = null;
2882
2882
  };
2883
2883
  this.originalOptions.checkCanReturnFocus ? this.originalOptions.checkCanReturnFocus.call(null, this.getReturnFocusNode()).then(te, te) : te();
@@ -2924,8 +2924,8 @@ function Nf() {
2924
2924
  if (te.type && te.type === b.Fragment)
2925
2925
  throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");
2926
2926
  var z = function(I) {
2927
- var D = F.props.containerElements;
2928
- te && (typeof te.ref == "function" ? te.ref(I) : te.ref && (te.ref.current = I)), F.focusTrapElements = D || [I];
2927
+ var R = F.props.containerElements;
2928
+ te && (typeof te.ref == "function" ? te.ref(I) : te.ref && (te.ref.current = I)), F.focusTrapElements = R || [I];
2929
2929
  }, V = b.cloneElement(te, {
2930
2930
  ref: z
2931
2931
  });
@@ -2934,7 +2934,7 @@ function Nf() {
2934
2934
  return null;
2935
2935
  }
2936
2936
  }]);
2937
- }(b.Component), R = typeof Element > "u" ? Function : Element;
2937
+ }(b.Component), D = typeof Element > "u" ? Function : Element;
2938
2938
  return K.propTypes = {
2939
2939
  active: m.bool,
2940
2940
  paused: m.bool,
@@ -2950,9 +2950,9 @@ function Nf() {
2950
2950
  onDeactivate: m.func,
2951
2951
  onPostDeactivate: m.func,
2952
2952
  checkCanReturnFocus: m.func,
2953
- initialFocus: m.oneOfType([m.instanceOf(R), m.string, m.bool, m.func]),
2953
+ initialFocus: m.oneOfType([m.instanceOf(D), m.string, m.bool, m.func]),
2954
2954
  fallbackFocus: m.oneOfType([
2955
- m.instanceOf(R),
2955
+ m.instanceOf(D),
2956
2956
  m.string,
2957
2957
  // NOTE: does not support `false` as value (or return value from function)
2958
2958
  m.func
@@ -2960,7 +2960,7 @@ function Nf() {
2960
2960
  escapeDeactivates: m.oneOfType([m.bool, m.func]),
2961
2961
  clickOutsideDeactivates: m.oneOfType([m.bool, m.func]),
2962
2962
  returnFocusOnDeactivate: m.bool,
2963
- setReturnFocus: m.oneOfType([m.instanceOf(R), m.string, m.bool, m.func]),
2963
+ setReturnFocus: m.oneOfType([m.instanceOf(D), m.string, m.bool, m.func]),
2964
2964
  allowOutsideClick: m.oneOfType([m.bool, m.func]),
2965
2965
  preventScroll: m.bool,
2966
2966
  tabbableOptions: m.shape({
@@ -2971,12 +2971,12 @@ function Nf() {
2971
2971
  isKeyForward: m.func,
2972
2972
  isKeyBackward: m.func
2973
2973
  }),
2974
- containerElements: m.arrayOf(m.instanceOf(R)),
2974
+ containerElements: m.arrayOf(m.instanceOf(D)),
2975
2975
  // DOM element ONLY
2976
2976
  children: m.oneOfType([
2977
2977
  m.element,
2978
2978
  // React element
2979
- m.instanceOf(R)
2979
+ m.instanceOf(D)
2980
2980
  // DOM element
2981
2981
  ])
2982
2982
  // NOTE: _createFocusTrap is internal, for testing purposes only, so we don't
@@ -2997,7 +2997,7 @@ function zs({
2997
2997
  isMounted: n = !1,
2998
2998
  style: r = {}
2999
2999
  }) {
3000
- const { isMobile: a, isNormalSize: i } = se(Ze), u = Je(null);
3000
+ const { isMobile: a, isNormalSize: i } = se(Je), u = Ze(null);
3001
3001
  return /* @__PURE__ */ v.jsx(
3002
3002
  Lf,
3003
3003
  {
@@ -3046,7 +3046,7 @@ Ys.propTypes = {
3046
3046
  isMounted: x.bool
3047
3047
  };
3048
3048
  const $s = () => {
3049
- const { disclaimer: e } = se(je), t = Je(null);
3049
+ const { disclaimer: e } = se(je), t = Ze(null);
3050
3050
  return ke(() => {
3051
3051
  var n;
3052
3052
  (n = t == null ? void 0 : t.current) == null || n.focus();
@@ -3103,13 +3103,13 @@ function wf(e, t) {
3103
3103
  const r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
3104
3104
  return r && (n.rotate = r), n;
3105
3105
  }
3106
- function Ru(e, t) {
3106
+ function Du(e, t) {
3107
3107
  const n = wf(e, t);
3108
3108
  for (const r in ni)
3109
3109
  r in qr ? r in e && !(r in n) && (n[r] = qr[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
3110
3110
  return n;
3111
3111
  }
3112
- function Df(e, t) {
3112
+ function Rf(e, t) {
3113
3113
  const n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), a = /* @__PURE__ */ Object.create(null);
3114
3114
  function i(u) {
3115
3115
  if (n[u])
@@ -3123,16 +3123,16 @@ function Df(e, t) {
3123
3123
  }
3124
3124
  return Object.keys(n).concat(Object.keys(r)).forEach(i), a;
3125
3125
  }
3126
- function Rf(e, t, n) {
3126
+ function Df(e, t, n) {
3127
3127
  const r = e.icons, a = e.aliases || /* @__PURE__ */ Object.create(null);
3128
3128
  let i = {};
3129
3129
  function u(s) {
3130
- i = Ru(
3130
+ i = Du(
3131
3131
  r[s] || a[s],
3132
3132
  i
3133
3133
  );
3134
3134
  }
3135
- return u(t), n.forEach(u), Ru(e, i);
3135
+ return u(t), n.forEach(u), Du(e, i);
3136
3136
  }
3137
3137
  function Ws(e, t) {
3138
3138
  const n = [];
@@ -3141,10 +3141,10 @@ function Ws(e, t) {
3141
3141
  e.not_found instanceof Array && e.not_found.forEach((a) => {
3142
3142
  t(a, null), n.push(a);
3143
3143
  });
3144
- const r = Df(e);
3144
+ const r = Rf(e);
3145
3145
  for (const a in r) {
3146
3146
  const i = r[a];
3147
- i && (t(a, Rf(e, a, i)), n.push(a));
3147
+ i && (t(a, Df(e, a, i)), n.push(a));
3148
3148
  }
3149
3149
  return n;
3150
3150
  }
@@ -3468,11 +3468,11 @@ function Oi(e) {
3468
3468
  const Ii = /* @__PURE__ */ Object.create(null), qn = [
3469
3469
  "https://api.simplesvg.com",
3470
3470
  "https://api.unisvg.com"
3471
- ], Dr = [];
3471
+ ], Rr = [];
3472
3472
  for (; qn.length > 0; )
3473
- qn.length === 1 || Math.random() > 0.5 ? Dr.push(qn.shift()) : Dr.push(qn.pop());
3473
+ qn.length === 1 || Math.random() > 0.5 ? Rr.push(qn.shift()) : Rr.push(qn.pop());
3474
3474
  Ii[""] = Oi({
3475
- resources: ["https://api.iconify.design"].concat(Dr)
3475
+ resources: ["https://api.iconify.design"].concat(Rr)
3476
3476
  });
3477
3477
  function Zf(e, t) {
3478
3478
  const n = Oi(t);
@@ -3733,7 +3733,7 @@ function fh(e, t, n, r) {
3733
3733
  y.status === "pending" && (y.status = "aborted");
3734
3734
  }), p = [];
3735
3735
  }
3736
- function K(y, N, G) {
3736
+ function K(y, N, W) {
3737
3737
  const F = N !== "success";
3738
3738
  switch (p = p.filter((te) => te !== y), l) {
3739
3739
  case "pending":
@@ -3746,11 +3746,11 @@ function fh(e, t, n, r) {
3746
3746
  return;
3747
3747
  }
3748
3748
  if (N === "abort") {
3749
- d = G, w();
3749
+ d = W, w();
3750
3750
  return;
3751
3751
  }
3752
3752
  if (F) {
3753
- d = G, p.length || (u.length ? R() : w());
3753
+ d = W, p.length || (u.length ? D() : w());
3754
3754
  return;
3755
3755
  }
3756
3756
  if (b(), M(), !e.random) {
@@ -3758,10 +3758,10 @@ function fh(e, t, n, r) {
3758
3758
  te !== -1 && te !== e.index && (e.index = te);
3759
3759
  }
3760
3760
  l = "completed", f.forEach((te) => {
3761
- te(G);
3761
+ te(W);
3762
3762
  });
3763
3763
  }
3764
- function R() {
3764
+ function D() {
3765
3765
  if (l !== "pending")
3766
3766
  return;
3767
3767
  b();
@@ -3779,13 +3779,13 @@ function fh(e, t, n, r) {
3779
3779
  const N = {
3780
3780
  status: "pending",
3781
3781
  resource: y,
3782
- callback: (G, F) => {
3783
- K(N, G, F);
3782
+ callback: (W, F) => {
3783
+ K(N, W, F);
3784
3784
  }
3785
3785
  };
3786
- p.push(N), c++, h = setTimeout(R, e.rotate), n(y, t, N.callback);
3786
+ p.push(N), c++, h = setTimeout(D, e.rotate), n(y, t, N.callback);
3787
3787
  }
3788
- return setTimeout(R), g;
3788
+ return setTimeout(D), g;
3789
3789
  }
3790
3790
  function tl(e) {
3791
3791
  const t = {
@@ -4289,7 +4289,7 @@ function ki({
4289
4289
  value: i
4290
4290
  }) {
4291
4291
  var g;
4292
- const u = Je(!1), { conversationScreen: s, primaryColor: l } = se(je), { isConversationLoading: c } = se(wt), { hasError: d, hasNewMessage: h, loading: p, streaming: f } = se(Ze), b = e || c || p || f;
4292
+ const u = Ze(!1), { conversationScreen: s, primaryColor: l } = se(je), { isConversationLoading: c } = se(wt), { hasError: d, hasNewMessage: h, loading: p, streaming: f } = se(Je), b = e || c || p || f;
4293
4293
  ke(() => {
4294
4294
  var w;
4295
4295
  u.current && !b && ((w = a.current) == null || w.focus()), u.current = b;
@@ -4364,7 +4364,7 @@ ki.propTypes = {
4364
4364
  value: x.string.isRequired
4365
4365
  };
4366
4366
  const ui = ({ content: e = "Please try again later." }) => {
4367
- const t = Je(null);
4367
+ const t = Ze(null);
4368
4368
  return ke(() => {
4369
4369
  var n;
4370
4370
  (n = t.current) == null || n.scrollIntoView({
@@ -4472,7 +4472,7 @@ il.propTypes = {
4472
4472
  message: x.shape().isRequired,
4473
4473
  onFeedbackThumbSelection: x.func.isRequired
4474
4474
  };
4475
- const Dh = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%20-960%20960%20960'%20width='24'%3e%3cpath%20d='M440-120v-80h320v-284q0-117-81.5-198.5T480-764q-117%200-198.5%2081.5T200-484v244h-40q-33%200-56.5-23.5T80-320v-80q0-21%2010.5-39.5T120-469l3-53q8-68%2039.5-126t79-101q47.5-43%20109-67T480-840q68%200%20129%2024t109%2066.5Q766-707%20797-649t40%20126l3%2052q19%209%2029.5%2027t10.5%2038v92q0%2020-10.5%2038T840-249v49q0%2033-23.5%2056.5T760-120H440Zm-80-280q-17%200-28.5-11.5T320-440q0-17%2011.5-28.5T360-480q17%200%2028.5%2011.5T400-440q0%2017-11.5%2028.5T360-400Zm240%200q-17%200-28.5-11.5T560-440q0-17%2011.5-28.5T600-480q17%200%2028.5%2011.5T640-440q0%2017-11.5%2028.5T600-400Zm-359-62q-7-106%2064-182t177-76q89%200%20156.5%2056.5T720-519q-91-1-167.5-49T435-698q-16%2080-67.5%20142.5T241-462Z'/%3e%3c/svg%3e";
4475
+ const Rh = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%20-960%20960%20960'%20width='24'%3e%3cpath%20d='M440-120v-80h320v-284q0-117-81.5-198.5T480-764q-117%200-198.5%2081.5T200-484v244h-40q-33%200-56.5-23.5T80-320v-80q0-21%2010.5-39.5T120-469l3-53q8-68%2039.5-126t79-101q47.5-43%20109-67T480-840q68%200%20129%2024t109%2066.5Q766-707%20797-649t40%20126l3%2052q19%209%2029.5%2027t10.5%2038v92q0%2020-10.5%2038T840-249v49q0%2033-23.5%2056.5T760-120H440Zm-80-280q-17%200-28.5-11.5T320-440q0-17%2011.5-28.5T360-480q17%200%2028.5%2011.5T400-440q0%2017-11.5%2028.5T360-400Zm240%200q-17%200-28.5-11.5T560-440q0-17%2011.5-28.5T600-480q17%200%2028.5%2011.5T640-440q0%2017-11.5%2028.5T600-400Zm-359-62q-7-106%2064-182t177-76q89%200%20156.5%2056.5T720-519q-91-1-167.5-49T435-698q-16%2080-67.5%20142.5T241-462Z'/%3e%3c/svg%3e";
4476
4476
  function Li({
4477
4477
  buttonClassName: e = null,
4478
4478
  containerStyle: t = null,
@@ -4485,30 +4485,30 @@ function Li({
4485
4485
  }) {
4486
4486
  var g, w, M, K;
4487
4487
  const [l, c] = de(!0), { primaryColor: d, id: h, userTracking: p, conversationScreen: f } = se(je), b = pt(
4488
- (R) => {
4489
- var y, N, G, F;
4490
- ((y = R == null ? void 0 : R.data) == null ? void 0 : y.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (N = window == null ? void 0 : window.OnetrustActiveGroups) != null && N.includes("C0003")) && rt.set(`${h}-live-chat-open`, 1, {
4488
+ (D) => {
4489
+ var y, N, W, F;
4490
+ ((y = D == null ? void 0 : D.data) == null ? void 0 : y.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (N = window == null ? void 0 : window.OnetrustActiveGroups) != null && N.includes("C0003")) && rt.set(`${h}-live-chat-open`, 1, {
4491
4491
  expires: 1,
4492
4492
  path: "/"
4493
- }), ((G = R == null ? void 0 : R.data) == null ? void 0 : G.type) === "connection" && ((F = R == null ? void 0 : R.data) == null ? void 0 : F.state) === "disconnected" && rt.remove(`${h}-live-chat-open`);
4493
+ }), ((W = D == null ? void 0 : D.data) == null ? void 0 : W.type) === "connection" && ((F = D == null ? void 0 : D.data) == null ? void 0 : F.state) === "disconnected" && rt.remove(`${h}-live-chat-open`);
4494
4494
  },
4495
4495
  [h]
4496
4496
  ), m = pt(
4497
- (R) => {
4498
- var y, N, G, F;
4499
- ((y = R == null ? void 0 : R.data) == null ? void 0 : y.type) === "unhide" && ((N = R == null ? void 0 : R.data) == null ? void 0 : N.reason) === "pop-out" && a(!0), ((G = R == null ? void 0 : R.data) == null ? void 0 : G.type) === "open" && ((F = R == null ? void 0 : R.data) == null ? void 0 : F.chatState) === !0 && a(!0);
4497
+ (D) => {
4498
+ var y, N, W, F;
4499
+ ((y = D == null ? void 0 : D.data) == null ? void 0 : y.type) === "unhide" && ((N = D == null ? void 0 : D.data) == null ? void 0 : N.reason) === "pop-out" && a(!0), ((W = D == null ? void 0 : D.data) == null ? void 0 : W.type) === "open" && ((F = D == null ? void 0 : D.data) == null ? void 0 : F.chatState) === !0 && a(!0);
4500
4500
  },
4501
4501
  [a]
4502
4502
  );
4503
4503
  ke(() => {
4504
- var N, G, F, te;
4505
- let R, y;
4504
+ var N, W, F, te;
4505
+ let D, y;
4506
4506
  return (N = f == null ? void 0 : f.liveChat) != null && N.useOwnChat && (y = setTimeout(() => {
4507
4507
  c(!1);
4508
- }, 3e3)), (G = f == null ? void 0 : f.liveChat) != null && G.enabled && !((F = f == null ? void 0 : f.liveChat) != null && F.useOwnChat) && (window.Five9ChatPlugin || (R = document.createElement("script"), R.type = "text/javascript", R.src = (te = f == null ? void 0 : f.liveChat) == null ? void 0 : te.sourceCode, R.async = !0, R.onload = () => {
4508
+ }, 3e3)), (W = f == null ? void 0 : f.liveChat) != null && W.enabled && !((F = f == null ? void 0 : f.liveChat) != null && F.useOwnChat) && (window.Five9ChatPlugin || (D = document.createElement("script"), D.type = "text/javascript", D.src = (te = f == null ? void 0 : f.liveChat) == null ? void 0 : te.sourceCode, D.async = !0, D.onload = () => {
4509
4509
  var z;
4510
4510
  window.Five9ChatPlugin((z = f == null ? void 0 : f.liveChat) == null ? void 0 : z.options);
4511
- }, document.body.appendChild(R)), window.addEventListener("message", b), window.addEventListener("message", m), y = setTimeout(() => {
4511
+ }, document.body.appendChild(D)), window.addEventListener("message", b), window.addEventListener("message", m), y = setTimeout(() => {
4512
4512
  c(!1);
4513
4513
  }, 3e3)), () => {
4514
4514
  var z;
@@ -4523,7 +4523,7 @@ function Li({
4523
4523
  m
4524
4524
  ]);
4525
4525
  const _ = () => {
4526
- var R;
4526
+ var D;
4527
4527
  i({
4528
4528
  name: `${p == null ? void 0 : p.prefix}.bi.xpert.chatbot.popup.live.chat.${s}`,
4529
4529
  payload: {
@@ -4531,7 +4531,7 @@ function Li({
4531
4531
  label: "xpert-chatbot",
4532
4532
  isTestUser: r
4533
4533
  }
4534
- }), a(!0), (R = f == null ? void 0 : f.liveChat) != null && R.useOwnChat || window.f9_postMessage({ type: "toggle" });
4534
+ }), a(!0), (D = f == null ? void 0 : f.liveChat) != null && D.useOwnChat || window.f9_postMessage({ type: "toggle" });
4535
4535
  };
4536
4536
  return /* @__PURE__ */ v.jsxs("div", { title: "Talk to a live agent at anytime.", style: t, children: [
4537
4537
  l && n && /* @__PURE__ */ v.jsxs("div", { className: "xpert-chatbot-popup__live-chat--message", children: [
@@ -4558,7 +4558,7 @@ function Li({
4558
4558
  {
4559
4559
  height: "24px",
4560
4560
  width: "24px",
4561
- src: Dh,
4561
+ src: Rh,
4562
4562
  alt: "Open live chat window icon"
4563
4563
  }
4564
4564
  ),
@@ -4579,7 +4579,7 @@ Li.propTypes = {
4579
4579
  userTrackingName: x.string
4580
4580
  };
4581
4581
  const $u = ["http", "https", "mailto", "tel"];
4582
- function Rh(e) {
4582
+ function Dh(e) {
4583
4583
  const t = (e || "").trim(), n = t.charAt(0);
4584
4584
  if (n === "#" || n === "/")
4585
4585
  return t;
@@ -5158,7 +5158,7 @@ function ll() {
5158
5158
  return m.data(Zu(!0, {}, n)), m;
5159
5159
  }
5160
5160
  function u(m, _) {
5161
- return typeof m == "string" ? arguments.length === 2 ? (Da("data", r), n[m] = _, i) : sl.call(n, m) && n[m] || null : m ? (Da("data", r), n = m, i) : n;
5161
+ return typeof m == "string" ? arguments.length === 2 ? (Ra("data", r), n[m] = _, i) : sl.call(n, m) && n[m] || null : m ? (Ra("data", r), n = m, i) : n;
5162
5162
  }
5163
5163
  function s() {
5164
5164
  if (r)
@@ -5175,8 +5175,8 @@ function ll() {
5175
5175
  }
5176
5176
  function l(m, ..._) {
5177
5177
  let g;
5178
- if (Da("use", r), m != null) if (typeof m == "function")
5179
- R(m, ..._);
5178
+ if (Ra("use", r), m != null) if (typeof m == "function")
5179
+ D(m, ..._);
5180
5180
  else if (typeof m == "object")
5181
5181
  Array.isArray(m) ? K(m) : M(m);
5182
5182
  else
@@ -5184,11 +5184,11 @@ function ll() {
5184
5184
  return g && (n.settings = Object.assign(n.settings || {}, g)), i;
5185
5185
  function w(y) {
5186
5186
  if (typeof y == "function")
5187
- R(y);
5187
+ D(y);
5188
5188
  else if (typeof y == "object")
5189
5189
  if (Array.isArray(y)) {
5190
- const [N, ...G] = y;
5191
- R(N, ...G);
5190
+ const [N, ...W] = y;
5191
+ D(N, ...W);
5192
5192
  } else
5193
5193
  M(y);
5194
5194
  else
@@ -5201,17 +5201,17 @@ function ll() {
5201
5201
  let N = -1;
5202
5202
  if (y != null) if (Array.isArray(y))
5203
5203
  for (; ++N < y.length; ) {
5204
- const G = y[N];
5205
- w(G);
5204
+ const W = y[N];
5205
+ w(W);
5206
5206
  }
5207
5207
  else
5208
5208
  throw new TypeError("Expected a list of plugins, not `" + y + "`");
5209
5209
  }
5210
- function R(y, N) {
5211
- let G = -1, F;
5212
- for (; ++G < t.length; )
5213
- if (t[G][0] === y) {
5214
- F = t[G];
5210
+ function D(y, N) {
5211
+ let W = -1, F;
5212
+ for (; ++W < t.length; )
5213
+ if (t[W][0] === y) {
5214
+ F = t[W];
5215
5215
  break;
5216
5216
  }
5217
5217
  F ? (li(F[1]) && li(N) && (N = Zu(!0, F[1], N)), F[1] = N) : t.push([...arguments]);
@@ -5232,17 +5232,17 @@ function ll() {
5232
5232
  return new Promise(w);
5233
5233
  w(null, g);
5234
5234
  function w(M, K) {
5235
- e.run(m, Yn(_), R);
5236
- function R(y, N, G) {
5237
- N = N || m, y ? K(y) : M ? M(N) : g(null, N, G);
5235
+ e.run(m, Yn(_), D);
5236
+ function D(y, N, W) {
5237
+ N = N || m, y ? K(y) : M ? M(N) : g(null, N, W);
5238
5238
  }
5239
5239
  }
5240
5240
  }
5241
5241
  function p(m, _) {
5242
5242
  let g, w;
5243
5243
  return i.run(m, _, M), to("runSync", "run", w), g;
5244
- function M(K, R) {
5245
- Ku(K), g = R, w = !0;
5244
+ function M(K, D) {
5245
+ Ku(K), g = D, w = !0;
5246
5246
  }
5247
5247
  }
5248
5248
  function f(m, _) {
@@ -5251,15 +5251,15 @@ function ll() {
5251
5251
  g(null, _);
5252
5252
  function g(w, M) {
5253
5253
  const K = Yn(m);
5254
- i.run(i.parse(K), K, (y, N, G) => {
5255
- if (y || !N || !G)
5256
- R(y);
5254
+ i.run(i.parse(K), K, (y, N, W) => {
5255
+ if (y || !N || !W)
5256
+ D(y);
5257
5257
  else {
5258
- const F = i.stringify(N, G);
5259
- F == null || (tp(F) ? G.value = F : G.result = F), R(y, G);
5258
+ const F = i.stringify(N, W);
5259
+ F == null || (tp(F) ? W.value = F : W.result = F), D(y, W);
5260
5260
  }
5261
5261
  });
5262
- function R(y, N) {
5262
+ function D(y, N) {
5263
5263
  y || !N ? M(y) : w ? w(N) : _(null, N);
5264
5264
  }
5265
5265
  }
@@ -5298,7 +5298,7 @@ function wa(e, t) {
5298
5298
  if (typeof t != "function")
5299
5299
  throw new TypeError("Cannot `" + e + "` without `Compiler`");
5300
5300
  }
5301
- function Da(e, t) {
5301
+ function Ra(e, t) {
5302
5302
  if (t)
5303
5303
  throw new Error(
5304
5304
  "Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
@@ -5489,10 +5489,10 @@ function bp(e) {
5489
5489
  if (r++, t.containerState._closeFlow) {
5490
5490
  t.containerState._closeFlow = void 0, a && w();
5491
5491
  const K = t.events.length;
5492
- let R = K, y;
5493
- for (; R--; )
5494
- if (t.events[R][0] === "exit" && t.events[R][1].type === "chunkFlow") {
5495
- y = t.events[R][1].end;
5492
+ let D = K, y;
5493
+ for (; D--; )
5494
+ if (t.events[D][0] === "exit" && t.events[D][1].type === "chunkFlow") {
5495
+ y = t.events[D][1].end;
5496
5496
  break;
5497
5497
  }
5498
5498
  g(r);
@@ -5501,7 +5501,7 @@ function bp(e) {
5501
5501
  t.events[N][1].end = Object.assign({}, y), N++;
5502
5502
  return kt(
5503
5503
  t.events,
5504
- R + 1,
5504
+ D + 1,
5505
5505
  0,
5506
5506
  t.events.slice(K)
5507
5507
  ), t.events.length = N, c(M);
@@ -5557,8 +5557,8 @@ function bp(e) {
5557
5557
  return ce(M) ? (e.consume(M), _(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, s) : (e.consume(M), m);
5558
5558
  }
5559
5559
  function _(M, K) {
5560
- const R = t.sliceStream(M);
5561
- if (K && R.push(null), M.previous = i, i && (i.next = M), i = M, a.defineSkip(M.start), a.write(R), t.parser.lazy[M.start.line]) {
5560
+ const D = t.sliceStream(M);
5561
+ if (K && D.push(null), M.previous = i, i && (i.next = M), i = M, a.defineSkip(M.start), a.write(D), t.parser.lazy[M.start.line]) {
5562
5562
  let y = a.events.length;
5563
5563
  for (; y--; )
5564
5564
  if (
@@ -5569,11 +5569,11 @@ function bp(e) {
5569
5569
  )
5570
5570
  return;
5571
5571
  const N = t.events.length;
5572
- let G = N, F, te;
5573
- for (; G--; )
5574
- if (t.events[G][0] === "exit" && t.events[G][1].type === "chunkFlow") {
5572
+ let W = N, F, te;
5573
+ for (; W--; )
5574
+ if (t.events[W][0] === "exit" && t.events[W][1].type === "chunkFlow") {
5575
5575
  if (F) {
5576
- te = t.events[G][1].end;
5576
+ te = t.events[W][1].end;
5577
5577
  break;
5578
5578
  }
5579
5579
  F = !0;
@@ -5582,7 +5582,7 @@ function bp(e) {
5582
5582
  t.events[y][1].end = Object.assign({}, te), y++;
5583
5583
  kt(
5584
5584
  t.events,
5585
- G + 1,
5585
+ W + 1,
5586
5586
  0,
5587
5587
  t.events.slice(N)
5588
5588
  ), t.events.length = y;
@@ -5591,8 +5591,8 @@ function bp(e) {
5591
5591
  function g(M) {
5592
5592
  let K = n.length;
5593
5593
  for (; K-- > M; ) {
5594
- const R = n[K];
5595
- t.containerState = R[1], R[0].exit.call(t, e);
5594
+ const D = n[K];
5595
+ t.containerState = D[1], D[0].exit.call(t, e);
5596
5596
  }
5597
5597
  n.length = M;
5598
5598
  }
@@ -5811,7 +5811,7 @@ function Op(e, t, n) {
5811
5811
  }
5812
5812
  }
5813
5813
  const oo = document.createElement("i");
5814
- function Di(e) {
5814
+ function Ri(e) {
5815
5815
  const t = "&" + e + ";";
5816
5816
  oo.innerHTML = t;
5817
5817
  const n = oo.textContent;
@@ -5841,7 +5841,7 @@ function Ip(e, t, n) {
5841
5841
  function d(h) {
5842
5842
  if (h === 59 && a) {
5843
5843
  const p = e.exit("characterReferenceValue");
5844
- return u === mt && !Di(r.sliceSerialize(p)) ? n(h) : (e.enter("characterReferenceMarker"), e.consume(h), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
5844
+ return u === mt && !Ri(r.sliceSerialize(p)) ? n(h) : (e.enter("characterReferenceMarker"), e.consume(h), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
5845
5845
  }
5846
5846
  return u(h) && a++ < i ? (e.consume(h), d) : n(h);
5847
5847
  }
@@ -5856,7 +5856,7 @@ const so = {
5856
5856
  };
5857
5857
  function Np(e, t, n) {
5858
5858
  const r = this, a = {
5859
- tokenize: R,
5859
+ tokenize: D,
5860
5860
  partial: !0
5861
5861
  };
5862
5862
  let i = 0, u = 0, s;
@@ -5910,28 +5910,28 @@ function Np(e, t, n) {
5910
5910
  function K(y) {
5911
5911
  return e.exit("codeFenced"), t(y);
5912
5912
  }
5913
- function R(y, N, G) {
5913
+ function D(y, N, W) {
5914
5914
  let F = 0;
5915
5915
  return te;
5916
- function te(D) {
5917
- return y.enter("lineEnding"), y.consume(D), y.exit("lineEnding"), z;
5916
+ function te(R) {
5917
+ return y.enter("lineEnding"), y.consume(R), y.exit("lineEnding"), z;
5918
5918
  }
5919
- function z(D) {
5920
- return y.enter("codeFencedFence"), Se(D) ? Pe(
5919
+ function z(R) {
5920
+ return y.enter("codeFencedFence"), Se(R) ? Pe(
5921
5921
  y,
5922
5922
  V,
5923
5923
  "linePrefix",
5924
5924
  r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
5925
- )(D) : V(D);
5925
+ )(R) : V(R);
5926
5926
  }
5927
- function V(D) {
5928
- return D === s ? (y.enter("codeFencedFenceSequence"), L(D)) : G(D);
5927
+ function V(R) {
5928
+ return R === s ? (y.enter("codeFencedFenceSequence"), L(R)) : W(R);
5929
5929
  }
5930
- function L(D) {
5931
- return D === s ? (F++, y.consume(D), L) : F >= u ? (y.exit("codeFencedFenceSequence"), Se(D) ? Pe(y, I, "whitespace")(D) : I(D)) : G(D);
5930
+ function L(R) {
5931
+ return R === s ? (F++, y.consume(R), L) : F >= u ? (y.exit("codeFencedFenceSequence"), Se(R) ? Pe(y, I, "whitespace")(R) : I(R)) : W(R);
5932
5932
  }
5933
- function I(D) {
5934
- return D === null || ce(D) ? (y.exit("codeFencedFence"), N(D)) : G(D);
5933
+ function I(R) {
5934
+ return R === null || ce(R) ? (y.exit("codeFencedFence"), N(R)) : W(R);
5935
5935
  }
5936
5936
  }
5937
5937
  }
@@ -5945,11 +5945,11 @@ function kp(e, t, n) {
5945
5945
  return r.parser.lazy[r.now().line] ? n(u) : t(u);
5946
5946
  }
5947
5947
  }
5948
- const Ra = {
5948
+ const Da = {
5949
5949
  name: "codeIndented",
5950
5950
  tokenize: wp
5951
5951
  }, Lp = {
5952
- tokenize: Dp,
5952
+ tokenize: Rp,
5953
5953
  partial: !0
5954
5954
  };
5955
5955
  function wp(e, t, n) {
@@ -5972,7 +5972,7 @@ function wp(e, t, n) {
5972
5972
  return e.exit("codeIndented"), t(c);
5973
5973
  }
5974
5974
  }
5975
- function Dp(e, t, n) {
5975
+ function Rp(e, t, n) {
5976
5976
  const r = this;
5977
5977
  return a;
5978
5978
  function a(u) {
@@ -5983,7 +5983,7 @@ function Dp(e, t, n) {
5983
5983
  return s && s[1].type === "linePrefix" && s[2].sliceSerialize(s[1], !0).length >= 4 ? t(u) : ce(u) ? a(u) : n(u);
5984
5984
  }
5985
5985
  }
5986
- const Rp = {
5986
+ const Dp = {
5987
5987
  name: "codeText",
5988
5988
  tokenize: Fp,
5989
5989
  resolve: Pp,
@@ -6460,19 +6460,19 @@ function a1(e, t, n) {
6460
6460
  return S === 47 ? (e.consume(S), te) : S === 58 || S === 95 || Ot(S) ? (e.consume(S), K) : Se(S) ? (e.consume(S), M) : te(S);
6461
6461
  }
6462
6462
  function K(S) {
6463
- return S === 45 || S === 46 || S === 58 || S === 95 || mt(S) ? (e.consume(S), K) : R(S);
6463
+ return S === 45 || S === 46 || S === 58 || S === 95 || mt(S) ? (e.consume(S), K) : D(S);
6464
6464
  }
6465
- function R(S) {
6466
- return S === 61 ? (e.consume(S), y) : Se(S) ? (e.consume(S), R) : M(S);
6465
+ function D(S) {
6466
+ return S === 61 ? (e.consume(S), y) : Se(S) ? (e.consume(S), D) : M(S);
6467
6467
  }
6468
6468
  function y(S) {
6469
- return S === null || S === 60 || S === 61 || S === 62 || S === 96 ? n(S) : S === 34 || S === 39 ? (e.consume(S), l = S, N) : Se(S) ? (e.consume(S), y) : G(S);
6469
+ return S === null || S === 60 || S === 61 || S === 62 || S === 96 ? n(S) : S === 34 || S === 39 ? (e.consume(S), l = S, N) : Se(S) ? (e.consume(S), y) : W(S);
6470
6470
  }
6471
6471
  function N(S) {
6472
6472
  return S === l ? (e.consume(S), l = null, F) : S === null || ce(S) ? n(S) : (e.consume(S), N);
6473
6473
  }
6474
- function G(S) {
6475
- return S === null || S === 34 || S === 39 || S === 47 || S === 60 || S === 61 || S === 62 || S === 96 || at(S) ? R(S) : (e.consume(S), G);
6474
+ function W(S) {
6475
+ return S === null || S === 34 || S === 39 || S === 47 || S === 60 || S === 61 || S === 62 || S === 96 || at(S) ? D(S) : (e.consume(S), W);
6476
6476
  }
6477
6477
  function F(S) {
6478
6478
  return S === 47 || S === 62 || Se(S) ? M(S) : n(S);
@@ -6484,7 +6484,7 @@ function a1(e, t, n) {
6484
6484
  return S === null || ce(S) ? V(S) : Se(S) ? (e.consume(S), z) : n(S);
6485
6485
  }
6486
6486
  function V(S) {
6487
- 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), T) : S === 93 && a === 5 ? (e.consume(S), Y) : ce(S) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
6487
+ return S === 45 && a === 2 ? (e.consume(S), U) : S === 60 && a === 1 ? (e.consume(S), G) : S === 62 && a === 4 ? (e.consume(S), ne) : S === 63 && a === 3 ? (e.consume(S), T) : S === 93 && a === 5 ? (e.consume(S), Y) : ce(S) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
6488
6488
  t1,
6489
6489
  oe,
6490
6490
  L
@@ -6498,15 +6498,15 @@ function a1(e, t, n) {
6498
6498
  )(S);
6499
6499
  }
6500
6500
  function I(S) {
6501
- return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), D;
6501
+ return e.enter("lineEnding"), e.consume(S), e.exit("lineEnding"), R;
6502
6502
  }
6503
- function D(S) {
6503
+ function R(S) {
6504
6504
  return S === null || ce(S) ? L(S) : (e.enter("htmlFlowData"), V(S));
6505
6505
  }
6506
6506
  function U(S) {
6507
6507
  return S === 45 ? (e.consume(S), T) : V(S);
6508
6508
  }
6509
- function W(S) {
6509
+ function G(S) {
6510
6510
  return S === 47 ? (e.consume(S), u = "", j) : V(S);
6511
6511
  }
6512
6512
  function j(S) {
@@ -6557,7 +6557,7 @@ function s1(e, t, n) {
6557
6557
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(T), l;
6558
6558
  }
6559
6559
  function l(T) {
6560
- return T === 33 ? (e.consume(T), c) : T === 47 ? (e.consume(T), R) : T === 63 ? (e.consume(T), M) : Ot(T) ? (e.consume(T), G) : n(T);
6560
+ return T === 33 ? (e.consume(T), c) : T === 47 ? (e.consume(T), D) : T === 63 ? (e.consume(T), M) : Ot(T) ? (e.consume(T), W) : n(T);
6561
6561
  }
6562
6562
  function c(T) {
6563
6563
  return T === 45 ? (e.consume(T), d) : T === 91 ? (e.consume(T), i = 0, b) : Ot(T) ? (e.consume(T), w) : n(T);
@@ -6566,7 +6566,7 @@ function s1(e, t, n) {
6566
6566
  return T === 45 ? (e.consume(T), f) : n(T);
6567
6567
  }
6568
6568
  function h(T) {
6569
- return T === null ? n(T) : T === 45 ? (e.consume(T), p) : ce(T) ? (u = h, W(T)) : (e.consume(T), h);
6569
+ return T === null ? n(T) : T === 45 ? (e.consume(T), p) : ce(T) ? (u = h, G(T)) : (e.consume(T), h);
6570
6570
  }
6571
6571
  function p(T) {
6572
6572
  return T === 45 ? (e.consume(T), f) : h(T);
@@ -6579,7 +6579,7 @@ function s1(e, t, n) {
6579
6579
  return T === ne.charCodeAt(i++) ? (e.consume(T), i === ne.length ? m : b) : n(T);
6580
6580
  }
6581
6581
  function m(T) {
6582
- return T === null ? n(T) : T === 93 ? (e.consume(T), _) : ce(T) ? (u = m, W(T)) : (e.consume(T), m);
6582
+ return T === null ? n(T) : T === 93 ? (e.consume(T), _) : ce(T) ? (u = m, G(T)) : (e.consume(T), m);
6583
6583
  }
6584
6584
  function _(T) {
6585
6585
  return T === 93 ? (e.consume(T), g) : m(T);
@@ -6588,51 +6588,51 @@ function s1(e, t, n) {
6588
6588
  return T === 62 ? U(T) : T === 93 ? (e.consume(T), g) : m(T);
6589
6589
  }
6590
6590
  function w(T) {
6591
- return T === null || T === 62 ? U(T) : ce(T) ? (u = w, W(T)) : (e.consume(T), w);
6591
+ return T === null || T === 62 ? U(T) : ce(T) ? (u = w, G(T)) : (e.consume(T), w);
6592
6592
  }
6593
6593
  function M(T) {
6594
- return T === null ? n(T) : T === 63 ? (e.consume(T), K) : ce(T) ? (u = M, W(T)) : (e.consume(T), M);
6594
+ return T === null ? n(T) : T === 63 ? (e.consume(T), K) : ce(T) ? (u = M, G(T)) : (e.consume(T), M);
6595
6595
  }
6596
6596
  function K(T) {
6597
6597
  return T === 62 ? U(T) : M(T);
6598
6598
  }
6599
- function R(T) {
6599
+ function D(T) {
6600
6600
  return Ot(T) ? (e.consume(T), y) : n(T);
6601
6601
  }
6602
6602
  function y(T) {
6603
6603
  return T === 45 || mt(T) ? (e.consume(T), y) : N(T);
6604
6604
  }
6605
6605
  function N(T) {
6606
- return ce(T) ? (u = N, W(T)) : Se(T) ? (e.consume(T), N) : U(T);
6606
+ return ce(T) ? (u = N, G(T)) : Se(T) ? (e.consume(T), N) : U(T);
6607
6607
  }
6608
- function G(T) {
6609
- return T === 45 || mt(T) ? (e.consume(T), G) : T === 47 || T === 62 || at(T) ? F(T) : n(T);
6608
+ function W(T) {
6609
+ return T === 45 || mt(T) ? (e.consume(T), W) : T === 47 || T === 62 || at(T) ? F(T) : n(T);
6610
6610
  }
6611
6611
  function F(T) {
6612
- return T === 47 ? (e.consume(T), U) : T === 58 || T === 95 || Ot(T) ? (e.consume(T), te) : ce(T) ? (u = F, W(T)) : Se(T) ? (e.consume(T), F) : U(T);
6612
+ return T === 47 ? (e.consume(T), U) : T === 58 || T === 95 || Ot(T) ? (e.consume(T), te) : ce(T) ? (u = F, G(T)) : Se(T) ? (e.consume(T), F) : U(T);
6613
6613
  }
6614
6614
  function te(T) {
6615
6615
  return T === 45 || T === 46 || T === 58 || T === 95 || mt(T) ? (e.consume(T), te) : z(T);
6616
6616
  }
6617
6617
  function z(T) {
6618
- return T === 61 ? (e.consume(T), V) : ce(T) ? (u = z, W(T)) : Se(T) ? (e.consume(T), z) : F(T);
6618
+ return T === 61 ? (e.consume(T), V) : ce(T) ? (u = z, G(T)) : Se(T) ? (e.consume(T), z) : F(T);
6619
6619
  }
6620
6620
  function V(T) {
6621
- return T === null || T === 60 || T === 61 || T === 62 || T === 96 ? n(T) : T === 34 || T === 39 ? (e.consume(T), a = T, L) : ce(T) ? (u = V, W(T)) : Se(T) ? (e.consume(T), V) : (e.consume(T), I);
6621
+ return T === null || T === 60 || T === 61 || T === 62 || T === 96 ? n(T) : T === 34 || T === 39 ? (e.consume(T), a = T, L) : ce(T) ? (u = V, G(T)) : Se(T) ? (e.consume(T), V) : (e.consume(T), I);
6622
6622
  }
6623
6623
  function L(T) {
6624
- return T === a ? (e.consume(T), a = void 0, D) : T === null ? n(T) : ce(T) ? (u = L, W(T)) : (e.consume(T), L);
6624
+ return T === a ? (e.consume(T), a = void 0, R) : T === null ? n(T) : ce(T) ? (u = L, G(T)) : (e.consume(T), L);
6625
6625
  }
6626
6626
  function I(T) {
6627
6627
  return T === null || T === 34 || T === 39 || T === 60 || T === 61 || T === 96 ? n(T) : T === 47 || T === 62 || at(T) ? F(T) : (e.consume(T), I);
6628
6628
  }
6629
- function D(T) {
6629
+ function R(T) {
6630
6630
  return T === 47 || T === 62 || at(T) ? F(T) : n(T);
6631
6631
  }
6632
6632
  function U(T) {
6633
6633
  return T === 62 ? (e.consume(T), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(T);
6634
6634
  }
6635
- function W(T) {
6635
+ function G(T) {
6636
6636
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(T), e.exit("lineEnding"), j;
6637
6637
  }
6638
6638
  function j(T) {
@@ -6647,7 +6647,7 @@ function s1(e, t, n) {
6647
6647
  return e.enter("htmlTextData"), u(T);
6648
6648
  }
6649
6649
  }
6650
- const Ri = {
6650
+ const Di = {
6651
6651
  name: "labelEnd",
6652
6652
  tokenize: p1,
6653
6653
  resolveTo: h1,
@@ -6835,7 +6835,7 @@ function b1(e, t, n) {
6835
6835
  const E1 = {
6836
6836
  name: "labelStartImage",
6837
6837
  tokenize: T1,
6838
- resolveAll: Ri.resolveAll
6838
+ resolveAll: Di.resolveAll
6839
6839
  };
6840
6840
  function T1(e, t, n) {
6841
6841
  const r = this;
@@ -6853,7 +6853,7 @@ function T1(e, t, n) {
6853
6853
  const y1 = {
6854
6854
  name: "labelStartLink",
6855
6855
  tokenize: _1,
6856
- resolveAll: Ri.resolveAll
6856
+ resolveAll: Di.resolveAll
6857
6857
  };
6858
6858
  function _1(e, t, n) {
6859
6859
  const r = this;
@@ -6875,7 +6875,7 @@ function C1(e, t) {
6875
6875
  return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), Pe(e, t, "linePrefix");
6876
6876
  }
6877
6877
  }
6878
- const Rr = {
6878
+ const Dr = {
6879
6879
  name: "thematicBreak",
6880
6880
  tokenize: A1
6881
6881
  };
@@ -6919,7 +6919,7 @@ function v1(e, t, n) {
6919
6919
  if (r.containerState.type || (r.containerState.type = b, e.enter(b, {
6920
6920
  _container: !0
6921
6921
  })), b === "listUnordered")
6922
- return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Rr, n, c)(f) : c(f);
6922
+ return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Dr, n, c)(f) : c(f);
6923
6923
  if (!r.interrupt || f === 49)
6924
6924
  return e.enter("listItemPrefix"), e.enter("listItemValue"), l(f);
6925
6925
  }
@@ -7048,10 +7048,10 @@ function w1(e, t, n) {
7048
7048
  return c === null || ce(c) ? (e.exit("setextHeadingLine"), t(c)) : n(c);
7049
7049
  }
7050
7050
  }
7051
- const D1 = {
7052
- tokenize: R1
7051
+ const R1 = {
7052
+ tokenize: D1
7053
7053
  };
7054
- function R1(e) {
7054
+ function D1(e) {
7055
7055
  const t = this, n = e.attempt(
7056
7056
  // Try to parse a blank line.
7057
7057
  Qr,
@@ -7198,7 +7198,7 @@ function H1(e, t, n) {
7198
7198
  consume: w,
7199
7199
  enter: M,
7200
7200
  exit: K,
7201
- attempt: N(R),
7201
+ attempt: N(D),
7202
7202
  check: N(y),
7203
7203
  interrupt: N(y, {
7204
7204
  interrupt: !0
@@ -7218,7 +7218,7 @@ function H1(e, t, n) {
7218
7218
  let d = t.tokenize.call(c, l);
7219
7219
  return t.resolveAll && i.push(t), c;
7220
7220
  function h(z) {
7221
- return u = gt(u, z), _(), u[u.length - 1] !== null ? [] : (G(t, 0), c.events = wi(i, c.events, c), c.events);
7221
+ return u = gt(u, z), _(), u[u.length - 1] !== null ? [] : (W(t, 0), c.events = wi(i, c.events, c), c.events);
7222
7222
  }
7223
7223
  function p(z, V) {
7224
7224
  return j1(f(z), V);
@@ -7227,13 +7227,13 @@ function H1(e, t, n) {
7227
7227
  return U1(u, z);
7228
7228
  }
7229
7229
  function b() {
7230
- const { line: z, column: V, offset: L, _index: I, _bufferIndex: D } = r;
7230
+ const { line: z, column: V, offset: L, _index: I, _bufferIndex: R } = r;
7231
7231
  return {
7232
7232
  line: z,
7233
7233
  column: V,
7234
7234
  offset: L,
7235
7235
  _index: I,
7236
- _bufferIndex: D
7236
+ _bufferIndex: R
7237
7237
  };
7238
7238
  }
7239
7239
  function m(z) {
@@ -7264,16 +7264,16 @@ function H1(e, t, n) {
7264
7264
  const V = s.pop();
7265
7265
  return V.end = b(), c.events.push(["exit", V, c]), V;
7266
7266
  }
7267
- function R(z, V) {
7268
- G(z, V.from);
7267
+ function D(z, V) {
7268
+ W(z, V.from);
7269
7269
  }
7270
7270
  function y(z, V) {
7271
7271
  V.restore();
7272
7272
  }
7273
7273
  function N(z, V) {
7274
7274
  return L;
7275
- function L(I, D, U) {
7276
- let W, j, Y, T;
7275
+ function L(I, R, U) {
7276
+ let G, j, Y, T;
7277
7277
  return Array.isArray(I) ? oe(I) : "tokenize" in I ? (
7278
7278
  // @ts-expect-error Looks like a construct.
7279
7279
  oe([I])
@@ -7291,7 +7291,7 @@ function H1(e, t, n) {
7291
7291
  }
7292
7292
  }
7293
7293
  function oe(me) {
7294
- return W = me, j = 0, me.length === 0 ? U : S(me[j]);
7294
+ return G = me, j = 0, me.length === 0 ? U : S(me[j]);
7295
7295
  }
7296
7296
  function S(me) {
7297
7297
  return Ce;
@@ -7308,14 +7308,14 @@ function H1(e, t, n) {
7308
7308
  }
7309
7309
  }
7310
7310
  function le(me) {
7311
- return z(Y, T), D;
7311
+ return z(Y, T), R;
7312
7312
  }
7313
7313
  function _e(me) {
7314
- return T.restore(), ++j < W.length ? S(W[j]) : U;
7314
+ return T.restore(), ++j < G.length ? S(G[j]) : U;
7315
7315
  }
7316
7316
  }
7317
7317
  }
7318
- function G(z, V) {
7318
+ function W(z, V) {
7319
7319
  z.resolveAll && !i.includes(z) && i.push(z), z.resolve && kt(
7320
7320
  c.events,
7321
7321
  V,
@@ -7324,13 +7324,13 @@ function H1(e, t, n) {
7324
7324
  ), z.resolveTo && (c.events = z.resolveTo(c.events, c));
7325
7325
  }
7326
7326
  function F() {
7327
- const z = b(), V = c.previous, L = c.currentConstruct, I = c.events.length, D = Array.from(s);
7327
+ const z = b(), V = c.previous, L = c.currentConstruct, I = c.events.length, R = Array.from(s);
7328
7328
  return {
7329
7329
  restore: U,
7330
7330
  from: I
7331
7331
  };
7332
7332
  function U() {
7333
- r = z, c.previous = V, c.currentConstruct = L, c.events.length = I, s = D, te();
7333
+ r = z, c.previous = V, c.currentConstruct = L, c.events.length = I, s = R, te();
7334
7334
  }
7335
7335
  }
7336
7336
  function te() {
@@ -7410,16 +7410,16 @@ const q1 = {
7410
7410
  }, z1 = {
7411
7411
  91: Yp
7412
7412
  }, Y1 = {
7413
- [-2]: Ra,
7414
- [-1]: Ra,
7415
- 32: Ra
7413
+ [-2]: Da,
7414
+ [-1]: Da,
7415
+ 32: Da
7416
7416
  }, $1 = {
7417
7417
  35: Kp,
7418
- 42: Rr,
7419
- 45: [fo, Rr],
7418
+ 42: Dr,
7419
+ 45: [fo, Dr],
7420
7420
  60: e1,
7421
7421
  61: fo,
7422
- 95: Rr,
7422
+ 95: Dr,
7423
7423
  96: lo,
7424
7424
  126: lo
7425
7425
  }, V1 = {
@@ -7435,9 +7435,9 @@ const q1 = {
7435
7435
  60: [_p, o1],
7436
7436
  91: y1,
7437
7437
  92: [Gp, fl],
7438
- 93: Ri,
7438
+ 93: Di,
7439
7439
  95: fi,
7440
- 96: Rp
7440
+ 96: Dp
7441
7441
  }, G1 = {
7442
7442
  null: [fi, P1]
7443
7443
  }, X1 = {
@@ -7466,7 +7466,7 @@ function Z1(e) {
7466
7466
  constructs: n,
7467
7467
  content: a(pp),
7468
7468
  document: a(gp),
7469
- flow: a(D1),
7469
+ flow: a(R1),
7470
7470
  string: a(M1),
7471
7471
  text: a(F1)
7472
7472
  };
@@ -7541,7 +7541,7 @@ function rm(e, t, n) {
7541
7541
  const a = n.charCodeAt(1), i = a === 120 || a === 88;
7542
7542
  return yl(n.slice(i ? 2 : 1), i ? 16 : 10);
7543
7543
  }
7544
- return Di(n) || e;
7544
+ return Ri(n) || e;
7545
7545
  }
7546
7546
  const _l = {}.hasOwnProperty, am = (
7547
7547
  /**
@@ -7569,7 +7569,7 @@ function im(e) {
7569
7569
  transforms: [],
7570
7570
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
7571
7571
  enter: {
7572
- autolink: s(Rt),
7572
+ autolink: s(Dt),
7573
7573
  autolinkProtocol: z,
7574
7574
  autolinkEmail: z,
7575
7575
  atxHeading: s(mn),
@@ -7597,7 +7597,7 @@ function im(e) {
7597
7597
  htmlTextData: z,
7598
7598
  image: s(Bn),
7599
7599
  label: l,
7600
- link: s(Rt),
7600
+ link: s(Dt),
7601
7601
  listItem: s(zt),
7602
7602
  listItemValue: b,
7603
7603
  listOrdered: s(Pt, f),
@@ -7628,17 +7628,17 @@ function im(e) {
7628
7628
  codeFencedFenceMeta: _,
7629
7629
  codeFlowValue: V,
7630
7630
  codeIndented: d(M),
7631
- codeText: d(W),
7631
+ codeText: d(G),
7632
7632
  codeTextData: V,
7633
7633
  data: V,
7634
7634
  definition: d(),
7635
7635
  definitionDestinationString: y,
7636
7636
  definitionLabelString: K,
7637
- definitionTitleString: R,
7637
+ definitionTitleString: D,
7638
7638
  emphasis: d(),
7639
7639
  hardBreakEscape: d(I),
7640
7640
  hardBreakTrailing: d(I),
7641
- htmlFlow: d(D),
7641
+ htmlFlow: d(R),
7642
7642
  htmlFlowData: V,
7643
7643
  htmlText: d(U),
7644
7644
  htmlTextData: V,
@@ -7657,7 +7657,7 @@ function im(e) {
7657
7657
  resource: le,
7658
7658
  setextHeading: d(te),
7659
7659
  setextHeadingLineSequence: F,
7660
- setextHeadingText: G,
7660
+ setextHeadingText: W,
7661
7661
  strong: d(),
7662
7662
  thematicBreak: d()
7663
7663
  }
@@ -7833,7 +7833,7 @@ function im(e) {
7833
7833
  this.sliceSerialize($)
7834
7834
  ).toLowerCase();
7835
7835
  }
7836
- function R() {
7836
+ function D() {
7837
7837
  const $ = this.resume(), B = this.stack[this.stack.length - 1];
7838
7838
  B.title = $;
7839
7839
  }
@@ -7848,7 +7848,7 @@ function im(e) {
7848
7848
  B.depth = re;
7849
7849
  }
7850
7850
  }
7851
- function G() {
7851
+ function W() {
7852
7852
  i("setextHeadingSlurpLineEnding", !0);
7853
7853
  }
7854
7854
  function F($) {
@@ -7881,7 +7881,7 @@ function im(e) {
7881
7881
  function I() {
7882
7882
  i("atHardBreak", !0);
7883
7883
  }
7884
- function D() {
7884
+ function R() {
7885
7885
  const $ = this.resume(), B = this.stack[this.stack.length - 1];
7886
7886
  B.value = $;
7887
7887
  }
@@ -7889,7 +7889,7 @@ function im(e) {
7889
7889
  const $ = this.resume(), B = this.stack[this.stack.length - 1];
7890
7890
  B.value = $;
7891
7891
  }
7892
- function W() {
7892
+ function G() {
7893
7893
  const $ = this.resume(), B = this.stack[this.stack.length - 1];
7894
7894
  B.value = $;
7895
7895
  }
@@ -7952,7 +7952,7 @@ function im(e) {
7952
7952
  re ? (ie = yl(
7953
7953
  B,
7954
7954
  re === "characterReferenceMarkerNumeric" ? 10 : 16
7955
- ), i("characterReferenceType")) : ie = Di(B);
7955
+ ), i("characterReferenceType")) : ie = Ri(B);
7956
7956
  const ae = this.stack.pop();
7957
7957
  ae.value += ie, ae.position.end = Yt($.end);
7958
7958
  }
@@ -8027,7 +8027,7 @@ function im(e) {
8027
8027
  alt: null
8028
8028
  };
8029
8029
  }
8030
- function Rt() {
8030
+ function Dt() {
8031
8031
  return {
8032
8032
  type: "link",
8033
8033
  title: null,
@@ -8503,7 +8503,7 @@ function wm(e, t) {
8503
8503
  const n = { type: "text", value: Lm(String(t.value)) };
8504
8504
  return e.patch(t, n), e.applyData(t, n);
8505
8505
  }
8506
- function Dm(e, t) {
8506
+ function Rm(e, t) {
8507
8507
  const n = {
8508
8508
  type: "element",
8509
8509
  tagName: "hr",
@@ -8512,7 +8512,7 @@ function Dm(e, t) {
8512
8512
  };
8513
8513
  return e.patch(t, n), e.applyData(t, n);
8514
8514
  }
8515
- const Rm = {
8515
+ const Dm = {
8516
8516
  blockquote: sm,
8517
8517
  break: lm,
8518
8518
  code: cm,
@@ -8536,7 +8536,7 @@ const Rm = {
8536
8536
  tableCell: km,
8537
8537
  tableRow: Nm,
8538
8538
  text: wm,
8539
- thematicBreak: Dm,
8539
+ thematicBreak: Rm,
8540
8540
  toml: xr,
8541
8541
  yaml: xr,
8542
8542
  definition: xr,
@@ -8707,7 +8707,7 @@ function $m(e, t) {
8707
8707
  const n = t || {}, r = n.allowDangerousHtml || !1, a = {};
8708
8708
  return u.dangerous = r, u.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, u.footnoteLabel = n.footnoteLabel || "Footnotes", u.footnoteLabelTagName = n.footnoteLabelTagName || "h2", u.footnoteLabelProperties = n.footnoteLabelProperties || {
8709
8709
  className: ["sr-only"]
8710
- }, u.footnoteBackLabel = n.footnoteBackLabel || "Back to content", u.unknownHandler = n.unknownHandler, u.passThrough = n.passThrough, u.handlers = { ...Rm, ...n.handlers }, u.definition = Ym(e), u.footnoteById = a, u.footnoteOrder = [], u.footnoteCounts = {}, u.patch = Vm, u.applyData = Wm, u.one = s, u.all = l, u.wrap = Xm, u.augment = i, Fi(e, "footnoteDefinition", (c) => {
8710
+ }, u.footnoteBackLabel = n.footnoteBackLabel || "Back to content", u.unknownHandler = n.unknownHandler, u.passThrough = n.passThrough, u.handlers = { ...Dm, ...n.handlers }, u.definition = Ym(e), u.footnoteById = a, u.footnoteOrder = [], u.footnoteCounts = {}, u.patch = Vm, u.applyData = Wm, u.one = s, u.all = l, u.wrap = Xm, u.augment = i, Fi(e, "footnoteDefinition", (c) => {
8711
8711
  const d = String(c.identifier).toUpperCase();
8712
8712
  zr.call(a, d) || (a[d] = c);
8713
8713
  }), u;
@@ -9003,18 +9003,18 @@ const wl = Ln({
9003
9003
  xLinkTitle: null,
9004
9004
  xLinkType: null
9005
9005
  }
9006
- }), Dl = Ln({
9006
+ }), Rl = Ln({
9007
9007
  space: "xml",
9008
9008
  transform(e, t) {
9009
9009
  return "xml:" + t.slice(3).toLowerCase();
9010
9010
  },
9011
9011
  properties: { xmlLang: null, xmlBase: null, xmlSpace: null }
9012
9012
  });
9013
- function Rl(e, t) {
9013
+ function Dl(e, t) {
9014
9014
  return t in e ? e[t] : t;
9015
9015
  }
9016
9016
  function Pl(e, t) {
9017
- return Rl(e, t.toLowerCase());
9017
+ return Dl(e, t.toLowerCase());
9018
9018
  }
9019
9019
  const Ml = Ln({
9020
9020
  space: "xmlns",
@@ -9614,7 +9614,7 @@ const Ml = Ln({
9614
9614
  playbackOrder: "playbackorder",
9615
9615
  timelineBegin: "timelinebegin"
9616
9616
  },
9617
- transform: Rl,
9617
+ transform: Dl,
9618
9618
  properties: {
9619
9619
  about: dt,
9620
9620
  accentHeight: Z,
@@ -10041,7 +10041,7 @@ const Ao = {
10041
10041
  xLinkTitle: "xlinkTitle",
10042
10042
  xLinkType: "xlinkType",
10043
10043
  xmlnsXLink: "xmlnsXlink"
10044
- }, Hl = kl([Dl, wl, Ml, Fl, n2], "html"), Ui = kl([Dl, wl, Ml, Fl, r2], "svg");
10044
+ }, Hl = kl([Rl, wl, Ml, Fl, n2], "html"), Ui = kl([Rl, wl, Ml, Fl, r2], "svg");
10045
10045
  function s2(e) {
10046
10046
  if (e.allowedElements && e.disallowedElements)
10047
10047
  throw new TypeError(
@@ -10192,19 +10192,19 @@ function p2() {
10192
10192
  function M(L) {
10193
10193
  var I = L.match(t);
10194
10194
  I && (g += I.length);
10195
- var D = L.lastIndexOf(l);
10196
- w = ~D ? L.length - D : w + L.length;
10195
+ var R = L.lastIndexOf(l);
10196
+ w = ~R ? L.length - R : w + L.length;
10197
10197
  }
10198
10198
  function K() {
10199
10199
  var L = { line: g, column: w };
10200
10200
  return function(I) {
10201
- return I.position = new R(L), G(), I;
10201
+ return I.position = new D(L), W(), I;
10202
10202
  };
10203
10203
  }
10204
- function R(L) {
10204
+ function D(L) {
10205
10205
  this.start = L, this.end = { line: g, column: w }, this.source = _.source;
10206
10206
  }
10207
- R.prototype.content = m;
10207
+ D.prototype.content = m;
10208
10208
  function y(L) {
10209
10209
  var I = new Error(
10210
10210
  _.source + ":" + g + ":" + w + ": " + L
@@ -10214,11 +10214,11 @@ function p2() {
10214
10214
  function N(L) {
10215
10215
  var I = L.exec(m);
10216
10216
  if (I) {
10217
- var D = I[0];
10218
- return M(D), m = m.slice(D.length), I;
10217
+ var R = I[0];
10218
+ return M(R), m = m.slice(R.length), I;
10219
10219
  }
10220
10220
  }
10221
- function G() {
10221
+ function W() {
10222
10222
  N(n);
10223
10223
  }
10224
10224
  function F(L) {
@@ -10234,10 +10234,10 @@ function p2() {
10234
10234
  ++I;
10235
10235
  if (I += 2, h === m.charAt(I - 1))
10236
10236
  return y("End of comment missing");
10237
- var D = m.slice(2, I - 2);
10238
- return w += 2, M(D), m = m.slice(I), w += 2, L({
10237
+ var R = m.slice(2, I - 2);
10238
+ return w += 2, M(R), m = m.slice(I), w += 2, L({
10239
10239
  type: p,
10240
- comment: D
10240
+ comment: R
10241
10241
  });
10242
10242
  }
10243
10243
  }
@@ -10245,10 +10245,10 @@ function p2() {
10245
10245
  var L = K(), I = N(r);
10246
10246
  if (I) {
10247
10247
  if (te(), !N(a)) return y("property missing ':'");
10248
- var D = N(i), U = L({
10248
+ var R = N(i), U = L({
10249
10249
  type: f,
10250
10250
  property: b(I[0].replace(e, h)),
10251
- value: D ? b(D[0].replace(e, h)) : h
10251
+ value: R ? b(R[0].replace(e, h)) : h
10252
10252
  });
10253
10253
  return N(u), U;
10254
10254
  }
@@ -10260,7 +10260,7 @@ function p2() {
10260
10260
  I !== !1 && (L.push(I), F(L));
10261
10261
  return L;
10262
10262
  }
10263
- return G(), V();
10263
+ return W(), V();
10264
10264
  };
10265
10265
  function b(m) {
10266
10266
  return m ? m.replace(s, h) : h;
@@ -10292,7 +10292,7 @@ function ql(e, t) {
10292
10292
  return n;
10293
10293
  }
10294
10294
  function T2(e, t, n, r) {
10295
- const a = e.options, i = a.transformLinkUri === void 0 ? Rh : a.transformLinkUri, u = e.schema, s = t.tagName, l = {};
10295
+ const a = e.options, i = a.transformLinkUri === void 0 ? Dh : a.transformLinkUri, u = e.schema, s = t.tagName, l = {};
10296
10296
  let c = u, d;
10297
10297
  if (u.space === "html" && s === "svg" && (c = Ui, e.schema = c), t.properties)
10298
10298
  for (d in t.properties)
@@ -10481,7 +10481,7 @@ ji.propTypes = {
10481
10481
  components: x.object
10482
10482
  };
10483
10483
  const zl = ({ children: e, id: t, link: n }) => {
10484
- const { contentRef: r } = se(wt), [a, i] = de(!1), u = Je(null), s = pt(() => i(!0), []), l = pt(() => i(!1), []), c = pt(() => i(!0), []), d = pt(() => i(!1), []), h = pt(
10484
+ const { contentRef: r } = se(wt), [a, i] = de(!1), u = Ze(null), s = pt(() => i(!0), []), l = pt(() => i(!1), []), c = pt(() => i(!0), []), d = pt(() => i(!1), []), h = pt(
10485
10485
  (p) => {
10486
10486
  p.key === "Enter" ? window.open(n, "_blank") : p.key === "Escape" && i(!1);
10487
10487
  },
@@ -10603,57 +10603,57 @@ function w2() {
10603
10603
  e.exports = r();
10604
10604
  })(L2, function() {
10605
10605
  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+)?$/, g = /\[([^\]]+)]|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, w = { 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) {
10606
- var D = ["th", "st", "nd", "rd"], U = I % 100;
10607
- return "[" + I + (D[(U - 20) % 10] || D[U] || D[0]) + "]";
10608
- } }, M = function(I, D, U) {
10609
- var W = String(I);
10610
- return !W || W.length >= D ? I : "" + Array(D + 1 - W.length).join(U) + I;
10606
+ var R = ["th", "st", "nd", "rd"], U = I % 100;
10607
+ return "[" + I + (R[(U - 20) % 10] || R[U] || R[0]) + "]";
10608
+ } }, M = function(I, R, U) {
10609
+ var G = String(I);
10610
+ return !G || G.length >= R ? I : "" + Array(R + 1 - G.length).join(U) + I;
10611
10611
  }, K = { s: M, z: function(I) {
10612
- var D = -I.utcOffset(), U = Math.abs(D), W = Math.floor(U / 60), j = U % 60;
10613
- return (D <= 0 ? "+" : "-") + M(W, 2, "0") + ":" + M(j, 2, "0");
10614
- }, m: function I(D, U) {
10615
- if (D.date() < U.date()) return -I(U, D);
10616
- var W = 12 * (U.year() - D.year()) + (U.month() - D.month()), j = D.clone().add(W, h), Y = U - j < 0, T = D.clone().add(W + (Y ? -1 : 1), h);
10617
- return +(-(W + (U - j) / (Y ? j - T : T - j)) || 0);
10612
+ var R = -I.utcOffset(), U = Math.abs(R), G = Math.floor(U / 60), j = U % 60;
10613
+ return (R <= 0 ? "+" : "-") + M(G, 2, "0") + ":" + M(j, 2, "0");
10614
+ }, m: function I(R, U) {
10615
+ if (R.date() < U.date()) return -I(U, R);
10616
+ var G = 12 * (U.year() - R.year()) + (U.month() - R.month()), j = R.clone().add(G, h), Y = U - j < 0, T = R.clone().add(G + (Y ? -1 : 1), h);
10617
+ return +(-(G + (U - j) / (Y ? j - T : T - j)) || 0);
10618
10618
  }, a: function(I) {
10619
10619
  return I < 0 ? Math.ceil(I) || 0 : Math.floor(I);
10620
10620
  }, p: function(I) {
10621
10621
  return { M: h, y: f, w: d, d: c, D: b, h: l, m: s, s: u, ms: i, Q: p }[I] || String(I || "").toLowerCase().replace(/s$/, "");
10622
10622
  }, u: function(I) {
10623
10623
  return I === void 0;
10624
- } }, R = "en", y = {};
10625
- y[R] = w;
10626
- var N = "$isDayjsObject", G = function(I) {
10624
+ } }, D = "en", y = {};
10625
+ y[D] = w;
10626
+ var N = "$isDayjsObject", W = function(I) {
10627
10627
  return I instanceof V || !(!I || !I[N]);
10628
- }, F = function I(D, U, W) {
10628
+ }, F = function I(R, U, G) {
10629
10629
  var j;
10630
- if (!D) return R;
10631
- if (typeof D == "string") {
10632
- var Y = D.toLowerCase();
10630
+ if (!R) return D;
10631
+ if (typeof R == "string") {
10632
+ var Y = R.toLowerCase();
10633
10633
  y[Y] && (j = Y), U && (y[Y] = U, j = Y);
10634
- var T = D.split("-");
10634
+ var T = R.split("-");
10635
10635
  if (!j && T.length > 1) return I(T[0]);
10636
10636
  } else {
10637
- var ne = D.name;
10638
- y[ne] = D, j = ne;
10637
+ var ne = R.name;
10638
+ y[ne] = R, j = ne;
10639
10639
  }
10640
- return !W && j && (R = j), j || !W && R;
10641
- }, te = function(I, D) {
10642
- if (G(I)) return I.clone();
10643
- var U = typeof D == "object" ? D : {};
10640
+ return !G && j && (D = j), j || !G && D;
10641
+ }, te = function(I, R) {
10642
+ if (W(I)) return I.clone();
10643
+ var U = typeof R == "object" ? R : {};
10644
10644
  return U.date = I, U.args = arguments, new V(U);
10645
10645
  }, z = K;
10646
- z.l = F, z.i = G, z.w = function(I, D) {
10647
- return te(I, { locale: D.$L, utc: D.$u, x: D.$x, $offset: D.$offset });
10646
+ z.l = F, z.i = W, z.w = function(I, R) {
10647
+ return te(I, { locale: R.$L, utc: R.$u, x: R.$x, $offset: R.$offset });
10648
10648
  };
10649
10649
  var V = function() {
10650
10650
  function I(U) {
10651
10651
  this.$L = F(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[N] = !0;
10652
10652
  }
10653
- var D = I.prototype;
10654
- return D.parse = function(U) {
10655
- this.$d = function(W) {
10656
- var j = W.date, Y = W.utc;
10653
+ var R = I.prototype;
10654
+ return R.parse = function(U) {
10655
+ this.$d = function(G) {
10656
+ var j = G.date, Y = G.utc;
10657
10657
  if (j === null) return /* @__PURE__ */ new Date(NaN);
10658
10658
  if (z.u(j)) return /* @__PURE__ */ new Date();
10659
10659
  if (j instanceof Date) return new Date(j);
@@ -10666,28 +10666,28 @@ function w2() {
10666
10666
  }
10667
10667
  return new Date(j);
10668
10668
  }(U), this.init();
10669
- }, D.init = function() {
10669
+ }, R.init = function() {
10670
10670
  var U = this.$d;
10671
10671
  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();
10672
- }, D.$utils = function() {
10672
+ }, R.$utils = function() {
10673
10673
  return z;
10674
- }, D.isValid = function() {
10674
+ }, R.isValid = function() {
10675
10675
  return this.$d.toString() !== m;
10676
- }, D.isSame = function(U, W) {
10676
+ }, R.isSame = function(U, G) {
10677
10677
  var j = te(U);
10678
- return this.startOf(W) <= j && j <= this.endOf(W);
10679
- }, D.isAfter = function(U, W) {
10680
- return te(U) < this.startOf(W);
10681
- }, D.isBefore = function(U, W) {
10682
- return this.endOf(W) < te(U);
10683
- }, D.$g = function(U, W, j) {
10684
- return z.u(U) ? this[W] : this.set(j, U);
10685
- }, D.unix = function() {
10678
+ return this.startOf(G) <= j && j <= this.endOf(G);
10679
+ }, R.isAfter = function(U, G) {
10680
+ return te(U) < this.startOf(G);
10681
+ }, R.isBefore = function(U, G) {
10682
+ return this.endOf(G) < te(U);
10683
+ }, R.$g = function(U, G, j) {
10684
+ return z.u(U) ? this[G] : this.set(j, U);
10685
+ }, R.unix = function() {
10686
10686
  return Math.floor(this.valueOf() / 1e3);
10687
- }, D.valueOf = function() {
10687
+ }, R.valueOf = function() {
10688
10688
  return this.$d.getTime();
10689
- }, D.startOf = function(U, W) {
10690
- var j = this, Y = !!z.u(W) || W, T = z.p(U), ne = function(Ue, Ie) {
10689
+ }, R.startOf = function(U, G) {
10690
+ var j = this, Y = !!z.u(G) || G, T = z.p(U), ne = function(Ue, Ie) {
10691
10691
  var Ke = z.w(j.$u ? Date.UTC(j.$y, Ie, Ue) : new Date(j.$y, Ie, Ue), j);
10692
10692
  return Y ? Ke : Ke.endOf(c);
10693
10693
  }, oe = function(Ue, Ie) {
@@ -10713,23 +10713,23 @@ function w2() {
10713
10713
  default:
10714
10714
  return this.clone();
10715
10715
  }
10716
- }, D.endOf = function(U) {
10716
+ }, R.endOf = function(U) {
10717
10717
  return this.startOf(U, !1);
10718
- }, D.$set = function(U, W) {
10719
- var j, Y = z.p(U), T = "set" + (this.$u ? "UTC" : ""), ne = (j = {}, j[c] = T + "Date", j[b] = T + "Date", j[h] = T + "Month", j[f] = T + "FullYear", j[l] = T + "Hours", j[s] = T + "Minutes", j[u] = T + "Seconds", j[i] = T + "Milliseconds", j)[Y], oe = Y === c ? this.$D + (W - this.$W) : W;
10718
+ }, R.$set = function(U, G) {
10719
+ var j, Y = z.p(U), T = "set" + (this.$u ? "UTC" : ""), ne = (j = {}, j[c] = T + "Date", j[b] = T + "Date", j[h] = T + "Month", j[f] = T + "FullYear", j[l] = T + "Hours", j[s] = T + "Minutes", j[u] = T + "Seconds", j[i] = T + "Milliseconds", j)[Y], oe = Y === c ? this.$D + (G - this.$W) : G;
10720
10720
  if (Y === h || Y === f) {
10721
10721
  var S = this.clone().set(b, 1);
10722
10722
  S.$d[ne](oe), S.init(), this.$d = S.set(b, Math.min(this.$D, S.daysInMonth())).$d;
10723
10723
  } else ne && this.$d[ne](oe);
10724
10724
  return this.init(), this;
10725
- }, D.set = function(U, W) {
10726
- return this.clone().$set(U, W);
10727
- }, D.get = function(U) {
10725
+ }, R.set = function(U, G) {
10726
+ return this.clone().$set(U, G);
10727
+ }, R.get = function(U) {
10728
10728
  return this[z.p(U)]();
10729
- }, D.add = function(U, W) {
10729
+ }, R.add = function(U, G) {
10730
10730
  var j, Y = this;
10731
10731
  U = Number(U);
10732
- var T = z.p(W), ne = function(le) {
10732
+ var T = z.p(G), ne = function(le) {
10733
10733
  var _e = te(Y);
10734
10734
  return z.w(_e.date(_e.date() + Math.round(le * U)), Y);
10735
10735
  };
@@ -10739,13 +10739,13 @@ function w2() {
10739
10739
  if (T === d) return ne(7);
10740
10740
  var oe = (j = {}, j[s] = r, j[l] = a, j[u] = n, j)[T] || 1, S = this.$d.getTime() + U * oe;
10741
10741
  return z.w(S, this);
10742
- }, D.subtract = function(U, W) {
10743
- return this.add(-1 * U, W);
10744
- }, D.format = function(U) {
10745
- var W = this, j = this.$locale();
10742
+ }, R.subtract = function(U, G) {
10743
+ return this.add(-1 * U, G);
10744
+ }, R.format = function(U) {
10745
+ var G = this, j = this.$locale();
10746
10746
  if (!this.isValid()) return j.invalidDate || m;
10747
10747
  var Y = U || "YYYY-MM-DDTHH:mm:ssZ", T = z.z(this), ne = this.$H, oe = this.$m, S = this.$M, le = j.weekdays, _e = j.months, me = j.meridiem, Ce = function(Ie, Ke, ot, St) {
10748
- return Ie && (Ie[Ke] || Ie(W, Y)) || ot[Ke].slice(0, St);
10748
+ return Ie && (Ie[Ke] || Ie(G, Y)) || ot[Ke].slice(0, St);
10749
10749
  }, Oe = function(Ie) {
10750
10750
  return z.s(ne % 12 || 12, Ie, "0");
10751
10751
  }, Ue = me || function(Ie, Ke, ot) {
@@ -10756,9 +10756,9 @@ function w2() {
10756
10756
  return Ke || function(ot) {
10757
10757
  switch (ot) {
10758
10758
  case "YY":
10759
- return String(W.$y).slice(-2);
10759
+ return String(G.$y).slice(-2);
10760
10760
  case "YYYY":
10761
- return z.s(W.$y, 4, "0");
10761
+ return z.s(G.$y, 4, "0");
10762
10762
  case "M":
10763
10763
  return S + 1;
10764
10764
  case "MM":
@@ -10768,17 +10768,17 @@ function w2() {
10768
10768
  case "MMMM":
10769
10769
  return Ce(_e, S);
10770
10770
  case "D":
10771
- return W.$D;
10771
+ return G.$D;
10772
10772
  case "DD":
10773
- return z.s(W.$D, 2, "0");
10773
+ return z.s(G.$D, 2, "0");
10774
10774
  case "d":
10775
- return String(W.$W);
10775
+ return String(G.$W);
10776
10776
  case "dd":
10777
- return Ce(j.weekdaysMin, W.$W, le, 2);
10777
+ return Ce(j.weekdaysMin, G.$W, le, 2);
10778
10778
  case "ddd":
10779
- return Ce(j.weekdaysShort, W.$W, le, 3);
10779
+ return Ce(j.weekdaysShort, G.$W, le, 3);
10780
10780
  case "dddd":
10781
- return le[W.$W];
10781
+ return le[G.$W];
10782
10782
  case "H":
10783
10783
  return String(ne);
10784
10784
  case "HH":
@@ -10796,21 +10796,21 @@ function w2() {
10796
10796
  case "mm":
10797
10797
  return z.s(oe, 2, "0");
10798
10798
  case "s":
10799
- return String(W.$s);
10799
+ return String(G.$s);
10800
10800
  case "ss":
10801
- return z.s(W.$s, 2, "0");
10801
+ return z.s(G.$s, 2, "0");
10802
10802
  case "SSS":
10803
- return z.s(W.$ms, 3, "0");
10803
+ return z.s(G.$ms, 3, "0");
10804
10804
  case "Z":
10805
10805
  return T;
10806
10806
  }
10807
10807
  return null;
10808
10808
  }(Ie) || T.replace(":", "");
10809
10809
  });
10810
- }, D.utcOffset = function() {
10810
+ }, R.utcOffset = function() {
10811
10811
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
10812
- }, D.diff = function(U, W, j) {
10813
- var Y, T = this, ne = z.p(W), oe = te(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe, _e = function() {
10812
+ }, R.diff = function(U, G, j) {
10813
+ var Y, T = this, ne = z.p(G), oe = te(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe, _e = function() {
10814
10814
  return z.m(T, oe);
10815
10815
  };
10816
10816
  switch (ne) {
@@ -10842,40 +10842,40 @@ function w2() {
10842
10842
  Y = le;
10843
10843
  }
10844
10844
  return j ? Y : z.a(Y);
10845
- }, D.daysInMonth = function() {
10845
+ }, R.daysInMonth = function() {
10846
10846
  return this.endOf(h).$D;
10847
- }, D.$locale = function() {
10847
+ }, R.$locale = function() {
10848
10848
  return y[this.$L];
10849
- }, D.locale = function(U, W) {
10849
+ }, R.locale = function(U, G) {
10850
10850
  if (!U) return this.$L;
10851
- var j = this.clone(), Y = F(U, W, !0);
10851
+ var j = this.clone(), Y = F(U, G, !0);
10852
10852
  return Y && (j.$L = Y), j;
10853
- }, D.clone = function() {
10853
+ }, R.clone = function() {
10854
10854
  return z.w(this.$d, this);
10855
- }, D.toDate = function() {
10855
+ }, R.toDate = function() {
10856
10856
  return new Date(this.valueOf());
10857
- }, D.toJSON = function() {
10857
+ }, R.toJSON = function() {
10858
10858
  return this.isValid() ? this.toISOString() : null;
10859
- }, D.toISOString = function() {
10859
+ }, R.toISOString = function() {
10860
10860
  return this.$d.toISOString();
10861
- }, D.toString = function() {
10861
+ }, R.toString = function() {
10862
10862
  return this.$d.toUTCString();
10863
10863
  }, I;
10864
10864
  }(), L = V.prototype;
10865
10865
  return te.prototype = L, [["$ms", i], ["$s", u], ["$m", s], ["$H", l], ["$W", c], ["$M", h], ["$y", f], ["$D", b]].forEach(function(I) {
10866
- L[I[1]] = function(D) {
10867
- return this.$g(D, I[0], I[1]);
10866
+ L[I[1]] = function(R) {
10867
+ return this.$g(R, I[0], I[1]);
10868
10868
  };
10869
- }), te.extend = function(I, D) {
10870
- return I.$i || (I(D, V, te), I.$i = !0), te;
10871
- }, te.locale = F, te.isDayjs = G, te.unix = function(I) {
10869
+ }), te.extend = function(I, R) {
10870
+ return I.$i || (I(R, V, te), I.$i = !0), te;
10871
+ }, te.locale = F, te.isDayjs = W, te.unix = function(I) {
10872
10872
  return te(1e3 * I);
10873
- }, te.en = y[R], te.Ls = y, te.p = {}, te;
10873
+ }, te.en = y[D], te.Ls = y, te.p = {}, te;
10874
10874
  });
10875
10875
  }(Pr)), Pr.exports;
10876
10876
  }
10877
- var D2 = w2();
10878
- const R2 = /* @__PURE__ */ Lt(D2), P2 = (e) => {
10877
+ var R2 = w2();
10878
+ const D2 = /* @__PURE__ */ Lt(R2), P2 = (e) => {
10879
10879
  Array.from(e.entries()).forEach((n) => {
10880
10880
  const r = n[0], a = n[1];
10881
10881
  r.toLocaleLowerCase().startsWith("utm_") && e.delete(r, a);
@@ -10897,7 +10897,7 @@ function B2(e) {
10897
10897
  return (r = n == null ? void 0 : n.function) == null ? void 0 : r.name;
10898
10898
  }).filter(Boolean);
10899
10899
  }
10900
- const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, Wl = 8, Do = typeof self == "object" ? self : globalThis, H2 = (e, t) => {
10900
+ const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, Wl = 8, Ro = typeof self == "object" ? self : globalThis, H2 = (e, t) => {
10901
10901
  const n = (a, i) => (e.set(i, a), a), r = (a) => {
10902
10902
  if (e.has(a))
10903
10903
  return e.get(a);
@@ -10938,7 +10938,7 @@ const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, W
10938
10938
  }
10939
10939
  case Vl: {
10940
10940
  const { name: s, message: l } = u;
10941
- return n(new Do[s](l), a);
10941
+ return n(new Ro[s](l), a);
10942
10942
  }
10943
10943
  case Wl:
10944
10944
  return n(BigInt(u), a);
@@ -10951,10 +10951,10 @@ const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, W
10951
10951
  return n(new DataView(s), u);
10952
10952
  }
10953
10953
  }
10954
- return n(new Do[i](u), a);
10954
+ return n(new Ro[i](u), a);
10955
10955
  };
10956
10956
  return r;
10957
- }, Ro = (e) => H2(/* @__PURE__ */ new Map(), e)(0), Cn = "", { toString: U2 } = {}, { keys: j2 } = Object, $n = (e) => {
10957
+ }, Do = (e) => H2(/* @__PURE__ */ new Map(), e)(0), Cn = "", { toString: U2 } = {}, { keys: j2 } = Object, $n = (e) => {
10958
10958
  const t = typeof e;
10959
10959
  if (t !== "object" || !e)
10960
10960
  return [Jr, t];
@@ -11057,8 +11057,8 @@ const $l = -1, Jr = 0, nr = 1, Yr = 2, zi = 3, Yi = 4, $i = 5, Vi = 6, Vl = 7, W
11057
11057
  return q2(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
11058
11058
  }, Mo = typeof structuredClone == "function" ? (
11059
11059
  /* c8 ignore start */
11060
- (e, t) => t && ("json" in t || "lossy" in t) ? Ro(Po(e, t)) : structuredClone(e)
11061
- ) : (e, t) => Ro(Po(e, t));
11060
+ (e, t) => t && ("json" in t || "lossy" in t) ? Do(Po(e, t)) : structuredClone(e)
11061
+ ) : (e, t) => Do(Po(e, t));
11062
11062
  let pr = class {
11063
11063
  /**
11064
11064
  * @param {SchemaType['property']} property
@@ -11112,7 +11112,7 @@ it.prototype.property = "";
11112
11112
  it.prototype.spaceSeparated = !1;
11113
11113
  it.prototype.space = void 0;
11114
11114
  let z2 = 0;
11115
- const he = ln(), $e = ln(), Xl = ln(), J = ln(), De = ln(), vn = ln(), ft = ln();
11115
+ const he = ln(), $e = ln(), Xl = ln(), J = ln(), Re = ln(), vn = ln(), ft = ln();
11116
11116
  function ln() {
11117
11117
  return 2 ** ++z2;
11118
11118
  }
@@ -11124,7 +11124,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11124
11124
  commaSeparated: vn,
11125
11125
  number: J,
11126
11126
  overloadedBoolean: Xl,
11127
- spaceSeparated: De
11127
+ spaceSeparated: Re
11128
11128
  }, Symbol.toStringTag, { value: "Module" })), ja = (
11129
11129
  /** @type {ReadonlyArray<keyof typeof types>} */
11130
11130
  Object.keys(bi)
@@ -11179,36 +11179,36 @@ const Kl = wn({
11179
11179
  ariaColCount: J,
11180
11180
  ariaColIndex: J,
11181
11181
  ariaColSpan: J,
11182
- ariaControls: De,
11182
+ ariaControls: Re,
11183
11183
  ariaCurrent: null,
11184
- ariaDescribedBy: De,
11184
+ ariaDescribedBy: Re,
11185
11185
  ariaDetails: null,
11186
11186
  ariaDisabled: $e,
11187
- ariaDropEffect: De,
11187
+ ariaDropEffect: Re,
11188
11188
  ariaErrorMessage: null,
11189
11189
  ariaExpanded: $e,
11190
- ariaFlowTo: De,
11190
+ ariaFlowTo: Re,
11191
11191
  ariaGrabbed: $e,
11192
11192
  ariaHasPopup: null,
11193
11193
  ariaHidden: $e,
11194
11194
  ariaInvalid: null,
11195
11195
  ariaKeyShortcuts: null,
11196
11196
  ariaLabel: null,
11197
- ariaLabelledBy: De,
11197
+ ariaLabelledBy: Re,
11198
11198
  ariaLevel: J,
11199
11199
  ariaLive: null,
11200
11200
  ariaModal: $e,
11201
11201
  ariaMultiLine: $e,
11202
11202
  ariaMultiSelectable: $e,
11203
11203
  ariaOrientation: null,
11204
- ariaOwns: De,
11204
+ ariaOwns: Re,
11205
11205
  ariaPlaceholder: null,
11206
11206
  ariaPosInSet: J,
11207
11207
  ariaPressed: $e,
11208
11208
  ariaReadOnly: $e,
11209
11209
  ariaRelevant: null,
11210
11210
  ariaRequired: $e,
11211
- ariaRoleDescription: De,
11211
+ ariaRoleDescription: Re,
11212
11212
  ariaRowCount: J,
11213
11213
  ariaRowIndex: J,
11214
11214
  ariaRowSpan: J,
@@ -11243,8 +11243,8 @@ const Y2 = wn({
11243
11243
  // Standard Properties.
11244
11244
  abbr: null,
11245
11245
  accept: vn,
11246
- acceptCharset: De,
11247
- accessKey: De,
11246
+ acceptCharset: Re,
11247
+ accessKey: Re,
11248
11248
  action: null,
11249
11249
  allow: null,
11250
11250
  allowFullScreen: he,
@@ -11254,21 +11254,21 @@ const Y2 = wn({
11254
11254
  as: null,
11255
11255
  async: he,
11256
11256
  autoCapitalize: null,
11257
- autoComplete: De,
11257
+ autoComplete: Re,
11258
11258
  autoFocus: he,
11259
11259
  autoPlay: he,
11260
- blocking: De,
11260
+ blocking: Re,
11261
11261
  capture: null,
11262
11262
  charSet: null,
11263
11263
  checked: he,
11264
11264
  cite: null,
11265
- className: De,
11265
+ className: Re,
11266
11266
  cols: J,
11267
11267
  colSpan: null,
11268
11268
  content: null,
11269
11269
  contentEditable: $e,
11270
11270
  controls: he,
11271
- controlsList: De,
11271
+ controlsList: Re,
11272
11272
  coords: J | vn,
11273
11273
  crossOrigin: null,
11274
11274
  data: null,
@@ -11290,14 +11290,14 @@ const Y2 = wn({
11290
11290
  formMethod: null,
11291
11291
  formNoValidate: he,
11292
11292
  formTarget: null,
11293
- headers: De,
11293
+ headers: Re,
11294
11294
  height: J,
11295
11295
  hidden: he,
11296
11296
  high: J,
11297
11297
  href: null,
11298
11298
  hrefLang: null,
11299
- htmlFor: De,
11300
- httpEquiv: De,
11299
+ htmlFor: Re,
11300
+ httpEquiv: Re,
11301
11301
  id: null,
11302
11302
  imageSizes: null,
11303
11303
  imageSrcSet: null,
@@ -11307,10 +11307,10 @@ const Y2 = wn({
11307
11307
  is: null,
11308
11308
  isMap: he,
11309
11309
  itemId: null,
11310
- itemProp: De,
11311
- itemRef: De,
11310
+ itemProp: Re,
11311
+ itemRef: Re,
11312
11312
  itemScope: he,
11313
- itemType: De,
11313
+ itemType: Re,
11314
11314
  kind: null,
11315
11315
  label: null,
11316
11316
  lang: null,
@@ -11423,7 +11423,7 @@ const Y2 = wn({
11423
11423
  open: he,
11424
11424
  optimum: J,
11425
11425
  pattern: null,
11426
- ping: De,
11426
+ ping: Re,
11427
11427
  placeholder: null,
11428
11428
  playsInline: he,
11429
11429
  popover: null,
@@ -11433,12 +11433,12 @@ const Y2 = wn({
11433
11433
  preload: null,
11434
11434
  readOnly: he,
11435
11435
  referrerPolicy: null,
11436
- rel: De,
11436
+ rel: Re,
11437
11437
  required: he,
11438
11438
  reversed: he,
11439
11439
  rows: J,
11440
11440
  rowSpan: J,
11441
- sandbox: De,
11441
+ sandbox: Re,
11442
11442
  scope: null,
11443
11443
  scoped: he,
11444
11444
  seamless: he,
@@ -11476,7 +11476,7 @@ const Y2 = wn({
11476
11476
  // Several. Use CSS `text-align` instead,
11477
11477
  aLink: null,
11478
11478
  // `<body>`. Use CSS `a:active {color}` instead
11479
- archive: De,
11479
+ archive: Re,
11480
11480
  // `<object>`. List of URIs to archives
11481
11481
  axis: null,
11482
11482
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -11791,7 +11791,7 @@ const Y2 = wn({
11791
11791
  by: null,
11792
11792
  calcMode: null,
11793
11793
  capHeight: J,
11794
- className: De,
11794
+ className: Re,
11795
11795
  clip: null,
11796
11796
  clipPath: null,
11797
11797
  clipPathUnits: null,
@@ -12026,7 +12026,7 @@ const Y2 = wn({
12026
12026
  patternTransform: null,
12027
12027
  patternUnits: null,
12028
12028
  phase: null,
12029
- ping: De,
12029
+ ping: Re,
12030
12030
  pitch: null,
12031
12031
  playbackOrder: null,
12032
12032
  pointerEvents: null,
@@ -12418,7 +12418,7 @@ ut.prototype.property = "";
12418
12418
  ut.prototype.spaceSeparated = !1;
12419
12419
  ut.prototype.space = void 0;
12420
12420
  let og = 0;
12421
- const pe = cn(), Ve = cn(), ac = cn(), ee = cn(), Re = cn(), On = cn(), ht = cn();
12421
+ const pe = cn(), Ve = cn(), ac = cn(), ee = cn(), De = cn(), On = cn(), ht = cn();
12422
12422
  function cn() {
12423
12423
  return 2 ** ++og;
12424
12424
  }
@@ -12430,7 +12430,7 @@ const yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12430
12430
  commaSeparated: On,
12431
12431
  number: ee,
12432
12432
  overloadedBoolean: ac,
12433
- spaceSeparated: Re
12433
+ spaceSeparated: De
12434
12434
  }, Symbol.toStringTag, { value: "Module" })), qa = (
12435
12435
  /** @type {ReadonlyArray<keyof typeof types>} */
12436
12436
  Object.keys(yi)
@@ -12462,7 +12462,7 @@ Gi.prototype.defined = !0;
12462
12462
  function jo(e, t, n) {
12463
12463
  n && (e[t] = n);
12464
12464
  }
12465
- function Dn(e) {
12465
+ function Rn(e) {
12466
12466
  const t = {}, n = {};
12467
12467
  for (const [r, a] of Object.entries(e.properties)) {
12468
12468
  const i = new Gi(
@@ -12475,7 +12475,7 @@ function Dn(e) {
12475
12475
  }
12476
12476
  return new mr(t, n, e.space);
12477
12477
  }
12478
- const ic = Dn({
12478
+ const ic = Rn({
12479
12479
  properties: {
12480
12480
  ariaActiveDescendant: null,
12481
12481
  ariaAtomic: Ve,
@@ -12485,36 +12485,36 @@ const ic = Dn({
12485
12485
  ariaColCount: ee,
12486
12486
  ariaColIndex: ee,
12487
12487
  ariaColSpan: ee,
12488
- ariaControls: Re,
12488
+ ariaControls: De,
12489
12489
  ariaCurrent: null,
12490
- ariaDescribedBy: Re,
12490
+ ariaDescribedBy: De,
12491
12491
  ariaDetails: null,
12492
12492
  ariaDisabled: Ve,
12493
- ariaDropEffect: Re,
12493
+ ariaDropEffect: De,
12494
12494
  ariaErrorMessage: null,
12495
12495
  ariaExpanded: Ve,
12496
- ariaFlowTo: Re,
12496
+ ariaFlowTo: De,
12497
12497
  ariaGrabbed: Ve,
12498
12498
  ariaHasPopup: null,
12499
12499
  ariaHidden: Ve,
12500
12500
  ariaInvalid: null,
12501
12501
  ariaKeyShortcuts: null,
12502
12502
  ariaLabel: null,
12503
- ariaLabelledBy: Re,
12503
+ ariaLabelledBy: De,
12504
12504
  ariaLevel: ee,
12505
12505
  ariaLive: null,
12506
12506
  ariaModal: Ve,
12507
12507
  ariaMultiLine: Ve,
12508
12508
  ariaMultiSelectable: Ve,
12509
12509
  ariaOrientation: null,
12510
- ariaOwns: Re,
12510
+ ariaOwns: De,
12511
12511
  ariaPlaceholder: null,
12512
12512
  ariaPosInSet: ee,
12513
12513
  ariaPressed: Ve,
12514
12514
  ariaReadOnly: Ve,
12515
12515
  ariaRelevant: null,
12516
12516
  ariaRequired: Ve,
12517
- ariaRoleDescription: Re,
12517
+ ariaRoleDescription: De,
12518
12518
  ariaRowCount: ee,
12519
12519
  ariaRowIndex: ee,
12520
12520
  ariaRowSpan: ee,
@@ -12537,7 +12537,7 @@ function uc(e, t) {
12537
12537
  function oc(e, t) {
12538
12538
  return uc(e, t.toLowerCase());
12539
12539
  }
12540
- const sg = Dn({
12540
+ const sg = Rn({
12541
12541
  attributes: {
12542
12542
  acceptcharset: "accept-charset",
12543
12543
  classname: "class",
@@ -12549,8 +12549,8 @@ const sg = Dn({
12549
12549
  // Standard Properties.
12550
12550
  abbr: null,
12551
12551
  accept: On,
12552
- acceptCharset: Re,
12553
- accessKey: Re,
12552
+ acceptCharset: De,
12553
+ accessKey: De,
12554
12554
  action: null,
12555
12555
  allow: null,
12556
12556
  allowFullScreen: pe,
@@ -12560,21 +12560,21 @@ const sg = Dn({
12560
12560
  as: null,
12561
12561
  async: pe,
12562
12562
  autoCapitalize: null,
12563
- autoComplete: Re,
12563
+ autoComplete: De,
12564
12564
  autoFocus: pe,
12565
12565
  autoPlay: pe,
12566
- blocking: Re,
12566
+ blocking: De,
12567
12567
  capture: null,
12568
12568
  charSet: null,
12569
12569
  checked: pe,
12570
12570
  cite: null,
12571
- className: Re,
12571
+ className: De,
12572
12572
  cols: ee,
12573
12573
  colSpan: null,
12574
12574
  content: null,
12575
12575
  contentEditable: Ve,
12576
12576
  controls: pe,
12577
- controlsList: Re,
12577
+ controlsList: De,
12578
12578
  coords: ee | On,
12579
12579
  crossOrigin: null,
12580
12580
  data: null,
@@ -12596,14 +12596,14 @@ const sg = Dn({
12596
12596
  formMethod: null,
12597
12597
  formNoValidate: pe,
12598
12598
  formTarget: null,
12599
- headers: Re,
12599
+ headers: De,
12600
12600
  height: ee,
12601
12601
  hidden: pe,
12602
12602
  high: ee,
12603
12603
  href: null,
12604
12604
  hrefLang: null,
12605
- htmlFor: Re,
12606
- httpEquiv: Re,
12605
+ htmlFor: De,
12606
+ httpEquiv: De,
12607
12607
  id: null,
12608
12608
  imageSizes: null,
12609
12609
  imageSrcSet: null,
@@ -12613,10 +12613,10 @@ const sg = Dn({
12613
12613
  is: null,
12614
12614
  isMap: pe,
12615
12615
  itemId: null,
12616
- itemProp: Re,
12617
- itemRef: Re,
12616
+ itemProp: De,
12617
+ itemRef: De,
12618
12618
  itemScope: pe,
12619
- itemType: Re,
12619
+ itemType: De,
12620
12620
  kind: null,
12621
12621
  label: null,
12622
12622
  lang: null,
@@ -12729,7 +12729,7 @@ const sg = Dn({
12729
12729
  open: pe,
12730
12730
  optimum: ee,
12731
12731
  pattern: null,
12732
- ping: Re,
12732
+ ping: De,
12733
12733
  placeholder: null,
12734
12734
  playsInline: pe,
12735
12735
  popover: null,
@@ -12739,12 +12739,12 @@ const sg = Dn({
12739
12739
  preload: null,
12740
12740
  readOnly: pe,
12741
12741
  referrerPolicy: null,
12742
- rel: Re,
12742
+ rel: De,
12743
12743
  required: pe,
12744
12744
  reversed: pe,
12745
12745
  rows: ee,
12746
12746
  rowSpan: ee,
12747
- sandbox: Re,
12747
+ sandbox: De,
12748
12748
  scope: null,
12749
12749
  scoped: pe,
12750
12750
  seamless: pe,
@@ -12782,7 +12782,7 @@ const sg = Dn({
12782
12782
  // Several. Use CSS `text-align` instead,
12783
12783
  aLink: null,
12784
12784
  // `<body>`. Use CSS `a:active {color}` instead
12785
- archive: Re,
12785
+ archive: De,
12786
12786
  // `<object>`. List of URIs to archives
12787
12787
  axis: null,
12788
12788
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -12898,7 +12898,7 @@ const sg = Dn({
12898
12898
  },
12899
12899
  space: "html",
12900
12900
  transform: oc
12901
- }), lg = Dn({
12901
+ }), lg = Rn({
12902
12902
  attributes: {
12903
12903
  accentHeight: "accent-height",
12904
12904
  alignmentBaseline: "alignment-baseline",
@@ -13097,7 +13097,7 @@ const sg = Dn({
13097
13097
  by: null,
13098
13098
  calcMode: null,
13099
13099
  capHeight: ee,
13100
- className: Re,
13100
+ className: De,
13101
13101
  clip: null,
13102
13102
  clipPath: null,
13103
13103
  clipPathUnits: null,
@@ -13332,7 +13332,7 @@ const sg = Dn({
13332
13332
  patternTransform: null,
13333
13333
  patternUnits: null,
13334
13334
  phase: null,
13335
- ping: Re,
13335
+ ping: De,
13336
13336
  pitch: null,
13337
13337
  playbackOrder: null,
13338
13338
  pointerEvents: null,
@@ -13457,7 +13457,7 @@ const sg = Dn({
13457
13457
  },
13458
13458
  space: "svg",
13459
13459
  transform: uc
13460
- }), sc = Dn({
13460
+ }), sc = Rn({
13461
13461
  properties: {
13462
13462
  xLinkActuate: null,
13463
13463
  xLinkArcRole: null,
@@ -13471,12 +13471,12 @@ const sg = Dn({
13471
13471
  transform(e, t) {
13472
13472
  return "xlink:" + t.slice(5).toLowerCase();
13473
13473
  }
13474
- }), lc = Dn({
13474
+ }), lc = Rn({
13475
13475
  attributes: { xmlnsxlink: "xmlns:xlink" },
13476
13476
  properties: { xmlnsXLink: null, xmlns: null },
13477
13477
  space: "xmlns",
13478
13478
  transform: oc
13479
- }), cc = Dn({
13479
+ }), cc = Rn({
13480
13480
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
13481
13481
  space: "xml",
13482
13482
  transform(e, t) {
@@ -13719,11 +13719,11 @@ function Ag(e, t) {
13719
13719
  mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
13720
13720
  childNodes: []
13721
13721
  };
13722
- return n.childNodes = Ki(e.children, n, t), Rn(e, n), n;
13722
+ return n.childNodes = Ki(e.children, n, t), Dn(e, n), n;
13723
13723
  }
13724
13724
  function Sg(e, t) {
13725
13725
  const n = { nodeName: "#document-fragment", childNodes: [] };
13726
- return n.childNodes = Ki(e.children, n, t), Rn(e, n), n;
13726
+ return n.childNodes = Ki(e.children, n, t), Dn(e, n), n;
13727
13727
  }
13728
13728
  function xg(e) {
13729
13729
  const t = {
@@ -13733,7 +13733,7 @@ function xg(e) {
13733
13733
  systemId: "",
13734
13734
  parentNode: null
13735
13735
  };
13736
- return Rn(e, t), t;
13736
+ return Dn(e, t), t;
13737
13737
  }
13738
13738
  function vg(e) {
13739
13739
  const t = {
@@ -13741,7 +13741,7 @@ function vg(e) {
13741
13741
  value: e.value,
13742
13742
  parentNode: null
13743
13743
  };
13744
- return Rn(e, t), t;
13744
+ return Dn(e, t), t;
13745
13745
  }
13746
13746
  function Og(e) {
13747
13747
  const t = {
@@ -13749,7 +13749,7 @@ function Og(e) {
13749
13749
  data: e.value,
13750
13750
  parentNode: null
13751
13751
  };
13752
- return Rn(e, t), t;
13752
+ return Dn(e, t), t;
13753
13753
  }
13754
13754
  function Ig(e, t) {
13755
13755
  const n = t;
@@ -13777,7 +13777,7 @@ function Ig(e, t) {
13777
13777
  childNodes: [],
13778
13778
  parentNode: null
13779
13779
  };
13780
- return s.childNodes = Ki(e.children, s, r), Rn(e, s), e.tagName === "template" && e.content && (s.content = Sg(e.content, r)), s;
13780
+ return s.childNodes = Ki(e.children, s, r), Dn(e, s), e.tagName === "template" && e.content && (s.content = Sg(e.content, r)), s;
13781
13781
  }
13782
13782
  function Ng(e, t, n) {
13783
13783
  const r = Bl(e, t);
@@ -13804,7 +13804,7 @@ function Ki(e, t, n) {
13804
13804
  }
13805
13805
  return a;
13806
13806
  }
13807
- function Rn(e, t) {
13807
+ function Dn(e, t) {
13808
13808
  const n = e.position;
13809
13809
  n && n.start && n.end && (n.start.offset, n.end.offset, t.sourceCodeLocation = {
13810
13810
  startLine: n.start.line,
@@ -13890,7 +13890,7 @@ function bc(e) {
13890
13890
  function wg(e) {
13891
13891
  return e >= 56320 && e <= 57343;
13892
13892
  }
13893
- function Dg(e, t) {
13893
+ function Rg(e, t) {
13894
13894
  return (e - 55296) * 1024 + 9216 + t;
13895
13895
  }
13896
13896
  function Ec(e) {
@@ -13903,10 +13903,10 @@ var q;
13903
13903
  (function(e) {
13904
13904
  e.controlCharacterInInputStream = "control-character-in-input-stream", e.noncharacterInInputStream = "noncharacter-in-input-stream", e.surrogateInInputStream = "surrogate-in-input-stream", e.nonVoidHtmlElementStartTagWithTrailingSolidus = "non-void-html-element-start-tag-with-trailing-solidus", e.endTagWithAttributes = "end-tag-with-attributes", e.endTagWithTrailingSolidus = "end-tag-with-trailing-solidus", e.unexpectedSolidusInTag = "unexpected-solidus-in-tag", e.unexpectedNullCharacter = "unexpected-null-character", e.unexpectedQuestionMarkInsteadOfTagName = "unexpected-question-mark-instead-of-tag-name", e.invalidFirstCharacterOfTagName = "invalid-first-character-of-tag-name", e.unexpectedEqualsSignBeforeAttributeName = "unexpected-equals-sign-before-attribute-name", e.missingEndTagName = "missing-end-tag-name", e.unexpectedCharacterInAttributeName = "unexpected-character-in-attribute-name", e.unknownNamedCharacterReference = "unknown-named-character-reference", e.missingSemicolonAfterCharacterReference = "missing-semicolon-after-character-reference", e.unexpectedCharacterAfterDoctypeSystemIdentifier = "unexpected-character-after-doctype-system-identifier", e.unexpectedCharacterInUnquotedAttributeValue = "unexpected-character-in-unquoted-attribute-value", e.eofBeforeTagName = "eof-before-tag-name", e.eofInTag = "eof-in-tag", e.missingAttributeValue = "missing-attribute-value", e.missingWhitespaceBetweenAttributes = "missing-whitespace-between-attributes", e.missingWhitespaceAfterDoctypePublicKeyword = "missing-whitespace-after-doctype-public-keyword", e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers = "missing-whitespace-between-doctype-public-and-system-identifiers", e.missingWhitespaceAfterDoctypeSystemKeyword = "missing-whitespace-after-doctype-system-keyword", e.missingQuoteBeforeDoctypePublicIdentifier = "missing-quote-before-doctype-public-identifier", e.missingQuoteBeforeDoctypeSystemIdentifier = "missing-quote-before-doctype-system-identifier", e.missingDoctypePublicIdentifier = "missing-doctype-public-identifier", e.missingDoctypeSystemIdentifier = "missing-doctype-system-identifier", e.abruptDoctypePublicIdentifier = "abrupt-doctype-public-identifier", e.abruptDoctypeSystemIdentifier = "abrupt-doctype-system-identifier", e.cdataInHtmlContent = "cdata-in-html-content", e.incorrectlyOpenedComment = "incorrectly-opened-comment", e.eofInScriptHtmlCommentLikeText = "eof-in-script-html-comment-like-text", e.eofInDoctype = "eof-in-doctype", e.nestedComment = "nested-comment", e.abruptClosingOfEmptyComment = "abrupt-closing-of-empty-comment", e.eofInComment = "eof-in-comment", e.incorrectlyClosedComment = "incorrectly-closed-comment", e.eofInCdata = "eof-in-cdata", e.absenceOfDigitsInNumericCharacterReference = "absence-of-digits-in-numeric-character-reference", e.nullCharacterReference = "null-character-reference", e.surrogateCharacterReference = "surrogate-character-reference", e.characterReferenceOutsideUnicodeRange = "character-reference-outside-unicode-range", e.controlCharacterReference = "control-character-reference", e.noncharacterCharacterReference = "noncharacter-character-reference", e.missingWhitespaceBeforeDoctypeName = "missing-whitespace-before-doctype-name", e.missingDoctypeName = "missing-doctype-name", e.invalidCharacterSequenceAfterDoctypeName = "invalid-character-sequence-after-doctype-name", e.duplicateAttribute = "duplicate-attribute", e.nonConformingDoctype = "non-conforming-doctype", e.missingDoctype = "missing-doctype", e.misplacedDoctype = "misplaced-doctype", e.endTagWithoutMatchingOpenElement = "end-tag-without-matching-open-element", e.closingOfElementWithOpenChildElements = "closing-of-element-with-open-child-elements", e.disallowedContentInNoscriptInHead = "disallowed-content-in-noscript-in-head", e.openElementsLeftAfterEof = "open-elements-left-after-eof", e.abandonedHeadElementChild = "abandoned-head-element-child", e.misplacedStartTagForHeadElement = "misplaced-start-tag-for-head-element", e.nestedNoscriptInHead = "nested-noscript-in-head", e.eofInElementThatCanContainOnlyText = "eof-in-element-that-can-contain-only-text";
13905
13905
  })(q || (q = {}));
13906
- const Rg = 65536;
13906
+ const Dg = 65536;
13907
13907
  class Pg {
13908
13908
  constructor(t) {
13909
- this.handler = t, this.html = "", this.pos = -1, this.lastGapPos = -2, this.gapStack = [], this.skipNextNewLine = !1, this.lastChunkWritten = !1, this.endOfChunkHit = !1, this.bufferWaterline = Rg, this.isEol = !1, this.lineStartPos = 0, this.droppedBufferSize = 0, this.line = 1, this.lastErrOffset = -1;
13909
+ this.handler = t, this.html = "", this.pos = -1, this.lastGapPos = -2, this.gapStack = [], this.skipNextNewLine = !1, this.lastChunkWritten = !1, this.endOfChunkHit = !1, this.bufferWaterline = Dg, this.isEol = !1, this.lineStartPos = 0, this.droppedBufferSize = 0, this.line = 1, this.lastErrOffset = -1;
13910
13910
  }
13911
13911
  /** The column on the current line. If we just saw a gap (eg. a surrogate pair), return the index before. */
13912
13912
  get col() {
@@ -13937,7 +13937,7 @@ class Pg {
13937
13937
  if (this.pos !== this.html.length - 1) {
13938
13938
  const n = this.html.charCodeAt(this.pos + 1);
13939
13939
  if (wg(n))
13940
- return this.pos++, this._addGap(), Dg(t, n);
13940
+ return this.pos++, this._addGap(), Rg(t, n);
13941
13941
  } else if (!this.lastChunkWritten)
13942
13942
  return this.endOfChunkHit = !0, E.EOF;
13943
13943
  return this._err(q.surrogateInInputStream), t;
@@ -17693,7 +17693,7 @@ class ts {
17693
17693
  case O.IN_CAPTION:
17694
17694
  case O.IN_CELL:
17695
17695
  case O.IN_TEMPLATE: {
17696
- Dc(this, t);
17696
+ Rc(this, t);
17697
17697
  break;
17698
17698
  }
17699
17699
  case O.TEXT:
@@ -17814,12 +17814,12 @@ class ts {
17814
17814
  break;
17815
17815
  }
17816
17816
  case O.AFTER_BODY: {
17817
- Db(this, t);
17817
+ Rb(this, t);
17818
17818
  break;
17819
17819
  }
17820
17820
  case O.AFTER_AFTER_BODY:
17821
17821
  case O.AFTER_AFTER_FRAMESET: {
17822
- Rb(this, t);
17822
+ Db(this, t);
17823
17823
  break;
17824
17824
  }
17825
17825
  }
@@ -18216,10 +18216,10 @@ function Zi(e, t) {
18216
18216
  function Ai(e, t) {
18217
18217
  e._appendCommentNode(t, e.openElements.currentTmplContentOrNode);
18218
18218
  }
18219
- function Db(e, t) {
18219
+ function Rb(e, t) {
18220
18220
  e._appendCommentNode(t, e.openElements.items[0]);
18221
18221
  }
18222
- function Rb(e, t) {
18222
+ function Db(e, t) {
18223
18223
  e._appendCommentNode(t, e.document);
18224
18224
  }
18225
18225
  function Ji(e, t) {
@@ -18443,7 +18443,7 @@ function or(e, t) {
18443
18443
  function ea(e, t) {
18444
18444
  switch (t.type) {
18445
18445
  case be.CHARACTER: {
18446
- Dc(e, t);
18446
+ Rc(e, t);
18447
18447
  break;
18448
18448
  }
18449
18449
  case be.WHITESPACE_CHARACTER: {
@@ -18471,7 +18471,7 @@ function ea(e, t) {
18471
18471
  function wc(e, t) {
18472
18472
  e._reconstructActiveFormattingElements(), e._insertCharacters(t);
18473
18473
  }
18474
- function Dc(e, t) {
18474
+ function Rc(e, t) {
18475
18475
  e._reconstructActiveFormattingElements(), e._insertCharacters(t), e.framesetOk = !1;
18476
18476
  }
18477
18477
  function $b(e, t) {
@@ -18534,7 +18534,7 @@ function aE(e, t) {
18534
18534
  function iE(e, t) {
18535
18535
  e.treeAdapter.getDocumentMode(e.document) !== bt.QUIRKS && e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._insertElement(t, X.HTML), e.framesetOk = !1, e.insertionMode = O.IN_TABLE;
18536
18536
  }
18537
- function Rc(e, t) {
18537
+ function Dc(e, t) {
18538
18538
  e._reconstructActiveFormattingElements(), e._appendElement(t, X.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
18539
18539
  }
18540
18540
  function Pc(e) {
@@ -18551,7 +18551,7 @@ function sE(e, t) {
18551
18551
  e.openElements.hasInButtonScope(o.P) && e._closePElement(), e._appendElement(t, X.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
18552
18552
  }
18553
18553
  function lE(e, t) {
18554
- t.tagName = P.IMG, t.tagID = o.IMG, Rc(e, t);
18554
+ t.tagName = P.IMG, t.tagID = o.IMG, Dc(e, t);
18555
18555
  }
18556
18556
  function cE(e, t) {
18557
18557
  e._insertElement(t, X.HTML), e.skipNextNewLine = !0, e.tokenizer.state = ze.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = O.TEXT;
@@ -18656,7 +18656,7 @@ function et(e, t) {
18656
18656
  case o.AREA:
18657
18657
  case o.EMBED:
18658
18658
  case o.KEYGEN: {
18659
- Rc(e, t);
18659
+ Dc(e, t);
18660
18660
  break;
18661
18661
  }
18662
18662
  case o.HR: {
@@ -18977,10 +18977,10 @@ function LE(e, t) {
18977
18977
  function wE(e, t) {
18978
18978
  e.openElements.clearBackToTableContext(), e._insertElement(t, X.HTML), e.insertionMode = O.IN_COLUMN_GROUP;
18979
18979
  }
18980
- function DE(e, t) {
18980
+ function RE(e, t) {
18981
18981
  e.openElements.clearBackToTableContext(), e._insertFakeElement(P.COLGROUP, o.COLGROUP), e.insertionMode = O.IN_COLUMN_GROUP, eu(e, t);
18982
18982
  }
18983
- function RE(e, t) {
18983
+ function DE(e, t) {
18984
18984
  e.openElements.clearBackToTableContext(), e._insertElement(t, X.HTML), e.insertionMode = O.IN_TABLE_BODY;
18985
18985
  }
18986
18986
  function PE(e, t) {
@@ -19010,7 +19010,7 @@ function Nn(e, t) {
19010
19010
  break;
19011
19011
  }
19012
19012
  case o.COL: {
19013
- DE(e, t);
19013
+ RE(e, t);
19014
19014
  break;
19015
19015
  }
19016
19016
  case o.FORM: {
@@ -19024,7 +19024,7 @@ function Nn(e, t) {
19024
19024
  case o.TBODY:
19025
19025
  case o.TFOOT:
19026
19026
  case o.THEAD: {
19027
- RE(e, t);
19027
+ DE(e, t);
19028
19028
  break;
19029
19029
  }
19030
19030
  case o.INPUT: {
@@ -19885,7 +19885,7 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
19885
19885
  toolCalls: m
19886
19886
  } = n ?? {}, _ = p || B2(m).includes("escalate_to_an_agent"), g = !_ && !!d, w = sr(
19887
19887
  () => {
19888
- var R;
19888
+ var D;
19889
19889
  return {
19890
19890
  agent: {
19891
19891
  bubbleClassName: "xpert-chatbot-popup__bubble--assistant",
@@ -19909,7 +19909,7 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
19909
19909
  bubbleClassName: "xpert-chatbot-popup__bubble--user",
19910
19910
  bubbleStyle: {
19911
19911
  backgroundColor: l,
19912
- ...(R = c == null ? void 0 : c.userMessageBubble) == null ? void 0 : R.style
19912
+ ...(D = c == null ? void 0 : c.userMessageBubble) == null ? void 0 : D.style
19913
19913
  },
19914
19914
  innerStyle: { justifyContent: "flex-end" },
19915
19915
  sectionAriaLabel: "The user said"
@@ -19919,7 +19919,7 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
19919
19919
  [(K = c == null ? void 0 : c.userMessageBubble) == null ? void 0 : K.style, l]
19920
19920
  ), M = sr(() => {
19921
19921
  if (!g) return null;
19922
- const R = kT(d);
19922
+ const D = kT(d);
19923
19923
  return /* @__PURE__ */ v.jsx(
19924
19924
  ji,
19925
19925
  {
@@ -19942,14 +19942,14 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
19942
19942
  p: (y) => /* @__PURE__ */ v.jsx("p", { ...y, style: w[f].bubbleStyle, children: y.children }),
19943
19943
  "document-source": ({ children: y, node: N }) => {
19944
19944
  var F;
19945
- const G = (F = N.properties) == null ? void 0 : F.dataIndex;
19946
- return /* @__PURE__ */ v.jsx(qi, { index: G, children: y });
19945
+ const W = (F = N.properties) == null ? void 0 : F.dataIndex;
19946
+ return /* @__PURE__ */ v.jsx(qi, { index: W, children: y });
19947
19947
  }
19948
19948
  },
19949
19949
  linkTarget: "_blank",
19950
19950
  rehypePlugins: [IT],
19951
19951
  transformLinkUri: F2,
19952
- children: R
19952
+ children: D
19953
19953
  }
19954
19954
  );
19955
19955
  }, [d, g, i, w, f]);
@@ -20011,7 +20011,7 @@ const NT = "Sure, I can get you to someone who can help.", kT = (e) => {
20011
20011
  ]
20012
20012
  }
20013
20013
  ),
20014
- b && /* @__PURE__ */ v.jsx("div", { className: "xpert-chatbot-popup__bubble--timestamp", children: R2(b).format("hh:mm a") }),
20014
+ b && /* @__PURE__ */ v.jsx("div", { className: "xpert-chatbot-popup__bubble--timestamp", children: D2(b).format("hh:mm a") }),
20015
20015
  !h && a && f === "assistant" ? /* @__PURE__ */ v.jsx(
20016
20016
  il,
20017
20017
  {
@@ -20059,7 +20059,7 @@ tu.propTypes = {
20059
20059
  };
20060
20060
  tu.displayName = "NotificationMessage";
20061
20061
  function td({ disableScroll: e }) {
20062
- const t = Je(null);
20062
+ const t = Ze(null);
20063
20063
  return ke(() => {
20064
20064
  var n;
20065
20065
  e || (n = t.current) == null || n.scrollIntoView({
@@ -20094,58 +20094,39 @@ const ua = ({
20094
20094
  setLiveChatOpen: i = null,
20095
20095
  submitEvent: u = null
20096
20096
  }) => {
20097
- const { disableScroll: s, hasError: l } = se(Ze), { isConversationLoading: c } = se(wt), d = t || c, h = Je(null), p = Je(null);
20097
+ const { disableScroll: s, hasError: l } = se(Je), { isConversationLoading: c } = se(wt), d = t || c, h = Ze(null), p = Ze(null);
20098
20098
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
20099
20099
  /* @__PURE__ */ v.jsx(
20100
- "div",
20100
+ "section",
20101
20101
  {
20102
+ id: "chat-content",
20103
+ ref: p,
20104
+ "aria-live": "polite",
20105
+ "aria-relevant": "additions",
20106
+ "aria-atomic": "false",
20107
+ "aria-label": "Chat conversation",
20108
+ "aria-busy": d,
20102
20109
  style: {
20103
- backgroundColor: "#fff",
20104
- padding: "10px",
20105
20110
  display: "flex",
20106
- flexDirection: "column",
20107
- alignItems: "center",
20108
- justifyContent: "center"
20111
+ flexDirection: "column"
20109
20112
  },
20110
- children: /* @__PURE__ */ v.jsx(
20111
- "section",
20112
- {
20113
- id: "chat-content",
20114
- ref: p,
20115
- "aria-live": "polite",
20116
- "aria-relevant": "additions",
20117
- "aria-atomic": "false",
20118
- "aria-label": "Chat conversation",
20119
- "aria-busy": d,
20120
- style: {
20121
- display: "flex",
20122
- flexDirection: "column",
20123
- overflowY: "auto",
20124
- position: "relative",
20125
- height: "100%",
20126
- width: "100%",
20127
- scrollbarWidth: "none",
20128
- msOverflowStyle: "none"
20113
+ children: n.map((f, b) => {
20114
+ const { role: m } = f, _ = `${m}-${b}`;
20115
+ return m === "error" ? /* @__PURE__ */ v.jsx(ui, { content: f == null ? void 0 : f.content }, _) : m === "notification" ? /* @__PURE__ */ v.jsx(tu, { message: f }, _) : ["agent", "assistant", "info", "user"].includes(m) ? /* @__PURE__ */ v.jsx(
20116
+ ia,
20117
+ {
20118
+ index: b,
20119
+ isTestUser: e,
20120
+ message: f,
20121
+ messageRef: h,
20122
+ setLiveChatOpen: i,
20123
+ submitEvent: u,
20124
+ onFeedbackThumbSelection: r,
20125
+ onMessageLinkClicked: a
20129
20126
  },
20130
- children: n.map((f, b) => {
20131
- const { role: m } = f, _ = `${m}-${b}`;
20132
- return m === "error" ? /* @__PURE__ */ v.jsx(ui, { content: f == null ? void 0 : f.content }, _) : m === "notification" ? /* @__PURE__ */ v.jsx(tu, { message: f }, _) : ["agent", "assistant", "info", "user"].includes(m) ? /* @__PURE__ */ v.jsx(
20133
- ia,
20134
- {
20135
- index: b,
20136
- isTestUser: e,
20137
- message: f,
20138
- messageRef: h,
20139
- setLiveChatOpen: i,
20140
- submitEvent: u,
20141
- onFeedbackThumbSelection: r,
20142
- onMessageLinkClicked: a
20143
- },
20144
- _
20145
- ) : null;
20146
- })
20147
- }
20148
- )
20127
+ _
20128
+ ) : null;
20129
+ })
20149
20130
  }
20150
20131
  ),
20151
20132
  d && /* @__PURE__ */ v.jsx(td, { disableScroll: s }),
@@ -20216,7 +20197,7 @@ const nd = () => {
20216
20197
  nd.displayName = "MaintenanceBanner";
20217
20198
  const nu = ({ onPromptClick: e }) => {
20218
20199
  var s;
20219
- const { primaryColor: t, conversationScreen: n } = se(je), { deleteConversationModal: r } = se(wt), { loading: a, streaming: i } = se(Ze), u = a || i;
20200
+ const { primaryColor: t, conversationScreen: n } = se(je), { deleteConversationModal: r } = se(wt), { loading: a, streaming: i } = se(Je), u = a || i;
20220
20201
  return /* @__PURE__ */ v.jsxs("div", { style: { display: "grid", gap: ".75rem" }, children: [
20221
20202
  /* @__PURE__ */ v.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
20222
20203
  (s = n == null ? void 0 : n.prompts) == null ? void 0 : s.map((l) => {
@@ -20247,52 +20228,30 @@ nu.propTypes = {
20247
20228
  };
20248
20229
  nu.displayName = "PromptList";
20249
20230
  const rd = ({ chatContentRef: e, messages: t }) => {
20250
- const { loading: n } = se(Ze), [r, a] = de(!1), i = pt(() => {
20231
+ const { loading: n, streaming: r } = se(Je), [a, i] = de(!1), u = Ze(null), s = pt(() => {
20251
20232
  if (!e.current) return;
20252
- const { scrollTop: s, scrollHeight: l, clientHeight: c } = e.current, d = s + c >= l - 10;
20253
- a(!d);
20254
- }, [e]), u = () => {
20233
+ const { scrollTop: c, scrollHeight: d, clientHeight: h } = e.current, p = c + h >= d - 10;
20234
+ i(!p);
20235
+ }, [e]), l = () => {
20255
20236
  e.current && e.current.scrollTo({
20256
20237
  top: e.current.scrollHeight,
20257
20238
  behavior: "smooth"
20258
- });
20239
+ }), u.current && u.current.focus();
20259
20240
  };
20260
20241
  return ke(() => {
20261
- const s = e.current;
20262
- if (s)
20263
- return s.addEventListener("scroll", i), () => s.removeEventListener("scroll", i);
20264
- }, [e, i]), ke(() => {
20265
- e.current && e.current.scrollTo({
20266
- top: e.current.scrollHeight,
20267
- behavior: "smooth"
20268
- });
20269
- }, [e]), ke(() => {
20242
+ const c = e.current;
20243
+ if (c)
20244
+ return c.addEventListener("scroll", s), () => c.removeEventListener("scroll", s);
20245
+ }, [e, s]), ke(() => {
20270
20246
  !n && e.current && e.current.scrollTo({
20271
20247
  top: e.current.scrollHeight,
20272
20248
  behavior: "smooth"
20273
20249
  });
20274
- }, [n, e]), n ? null : /* @__PURE__ */ v.jsx(v.Fragment, { children: r && t.filter((s) => s.role === "assistant").length > 0 && /* @__PURE__ */ v.jsx(
20250
+ }, [n, e]), n ? null : /* @__PURE__ */ v.jsx("div", { ref: u, tabIndex: -1, children: (a || r) && t.find((c) => c.role === "assistant") && /* @__PURE__ */ v.jsx(
20275
20251
  "button",
20276
20252
  {
20277
- onClick: u,
20278
- style: {
20279
- position: "relative",
20280
- margin: "auto",
20281
- zIndex: 1e3,
20282
- backgroundColor: "white",
20283
- color: "black",
20284
- border: "1px solid #EBEBEB",
20285
- borderRadius: "50%",
20286
- padding: ".25rem .75rem .5rem .75rem",
20287
- display: "flex",
20288
- alignItems: "center",
20289
- justifyContent: "center",
20290
- cursor: "pointer",
20291
- boxShadow: "0 2px 5px rgba(0, 0, 0, 0.2)",
20292
- fontSize: "1.25rem",
20293
- bottom: "10rem",
20294
- width: "2.5rem"
20295
- },
20253
+ onClick: l,
20254
+ className: "xpert_chatbot__scroll-to-last-message-button",
20296
20255
  "aria-label": "Scroll to bottom",
20297
20256
  children: "↓"
20298
20257
  }
@@ -20316,7 +20275,7 @@ function ad({
20316
20275
  userInput: l = ""
20317
20276
  }) {
20318
20277
  var g, w;
20319
- const { conversationScreen: c, disclaimer: d } = se(je), { deleteConversationModal: h, xpertMessages: p } = se(wt), { loading: f, setMode: b } = se(Ze), m = Je(null), _ = (M) => {
20278
+ const { conversationScreen: c, disclaimer: d } = se(je), { deleteConversationModal: h, xpertMessages: p } = se(wt), { loading: f, setMode: b } = se(Je), m = Ze(null), _ = (M) => {
20320
20279
  c.liveChat.useOwnChat ? b(It.LIVECHAT) : u(M);
20321
20280
  };
20322
20281
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
@@ -20412,7 +20371,7 @@ ad.propTypes = {
20412
20371
  userInput: x.string
20413
20372
  };
20414
20373
  var Va = {}, ct = {}, Wa = {}, us;
20415
- function Dt() {
20374
+ function Rt() {
20416
20375
  return us || (us = 1, function(e) {
20417
20376
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
20418
20377
  var t = 1, n = 1e3 * t;
@@ -20456,7 +20415,7 @@ var en = {}, Bt = {}, ss;
20456
20415
  function au() {
20457
20416
  if (ss) return Bt;
20458
20417
  ss = 1, Object.defineProperty(Bt, "__esModule", { value: !0 }), Bt.setUpSocketIOPing = Bt.appendQueryParams = Bt.parseSocketIOUrl = void 0;
20459
- var e = Dt(), t = function(a) {
20418
+ var e = Rt(), t = function(a) {
20460
20419
  if (a) {
20461
20420
  var i = /^https|wss/.test(a), u = a.replace(/^(https?|wss?)(:\/\/)?/, ""), s = u.replace(/\/$/, ""), l = i ? "wss" : "ws";
20462
20421
  return "".concat(l, "://").concat(s).concat(e.SOCKET_IO_PATH);
@@ -20489,7 +20448,7 @@ var kr = {}, ls;
20489
20448
  function id() {
20490
20449
  if (ls) return kr;
20491
20450
  ls = 1, Object.defineProperty(kr, "__esModule", { value: !0 }), kr.heartbeat = n;
20492
- var e = Dt();
20451
+ var e = Rt();
20493
20452
  function t(r) {
20494
20453
  return Array.isArray(r) ? r.reduce(function(a, i) {
20495
20454
  return a.current > i.current ? a : i;
@@ -20573,7 +20532,7 @@ function LT() {
20573
20532
  }, e.apply(this, arguments);
20574
20533
  };
20575
20534
  Object.defineProperty(en, "__esModule", { value: !0 }), en.attachListeners = void 0;
20576
- var t = au(), n = id(), r = Dt(), a = uu(), i = function(d, h, p, f) {
20535
+ var t = au(), n = id(), r = Rt(), a = uu(), i = function(d, h, p, f) {
20577
20536
  d.onmessage = function(b) {
20578
20537
  var m;
20579
20538
  h.current.onMessage && h.current.onMessage(b), typeof (f == null ? void 0 : f.current) == "number" && (f.current = Date.now()), !(typeof h.current.filter == "function" && h.current.filter(b) !== !0) && (h.current.heartbeat && typeof h.current.heartbeat != "boolean" && ((m = h.current.heartbeat) === null || m === void 0 ? void 0 : m.returnMessage) === b.data || p(b));
@@ -20622,9 +20581,9 @@ function LT() {
20622
20581
  return m && window.clearTimeout(m);
20623
20582
  };
20624
20583
  }, c = function(d, h, p, f, b, m, _) {
20625
- var g = h.setLastMessage, w = h.setReadyState, M, K, R;
20626
- return p.current.fromSocketIO && (M = (0, t.setUpSocketIOPing)(_)), i(d, p, g, m), u(d, p, w, b, m), K = s(d, p, w, f, b), R = l(d, p, w, f, b), function() {
20627
- w(r.ReadyState.CLOSING), K(), R(), d.close(), M && clearInterval(M);
20584
+ var g = h.setLastMessage, w = h.setReadyState, M, K, D;
20585
+ return p.current.fromSocketIO && (M = (0, t.setUpSocketIOPing)(_)), i(d, p, g, m), u(d, p, w, b, m), K = s(d, p, w, f, b), D = l(d, p, w, f, b), function() {
20586
+ w(r.ReadyState.CLOSING), K(), D(), d.close(), M && clearInterval(M);
20628
20587
  };
20629
20588
  };
20630
20589
  return en.attachListeners = c, en;
@@ -20643,7 +20602,7 @@ function wT() {
20643
20602
  }, e.apply(this, arguments);
20644
20603
  };
20645
20604
  Object.defineProperty(tn, "__esModule", { value: !0 }), tn.attachSharedListeners = void 0;
20646
- var t = ru(), n = Dt(), r = iu(), a = au(), i = id(), u = function(h, p, f) {
20605
+ var t = ru(), n = Rt(), r = iu(), a = au(), i = id(), u = function(h, p, f) {
20647
20606
  h.onmessage = function(b) {
20648
20607
  (0, r.getSubscribers)(p).forEach(function(m) {
20649
20608
  var _;
@@ -20692,10 +20651,10 @@ function wT() {
20692
20651
  return tn.attachSharedListeners = d, tn;
20693
20652
  }
20694
20653
  var ps;
20695
- function DT() {
20654
+ function RT() {
20696
20655
  if (ps) return Gn;
20697
20656
  ps = 1, Object.defineProperty(Gn, "__esModule", { value: !0 }), Gn.createOrJoinSocket = void 0;
20698
- var e = ru(), t = Dt(), n = LT(), r = wT(), a = iu(), i = function(s, l, c, d, h) {
20657
+ var e = ru(), t = Rt(), n = LT(), r = wT(), a = iu(), i = function(s, l, c, d, h) {
20699
20658
  return function() {
20700
20659
  if ((0, a.removeSubscriber)(s, l), !(0, a.hasSubscribers)(s)) {
20701
20660
  try {
@@ -20735,7 +20694,7 @@ function DT() {
20735
20694
  return Gn.createOrJoinSocket = u, Gn;
20736
20695
  }
20737
20696
  var Ht = {}, ms;
20738
- function RT() {
20697
+ function DT() {
20739
20698
  return ms || (ms = 1, function(e) {
20740
20699
  var t = Ht && Ht.__awaiter || function(l, c, d, h) {
20741
20700
  function p(f) {
@@ -20828,7 +20787,7 @@ function RT() {
20828
20787
  return l.concat(f || Array.prototype.slice.call(c));
20829
20788
  };
20830
20789
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
20831
- var a = au(), i = Dt(), u = function(l) {
20790
+ var a = au(), i = Rt(), u = function(l) {
20832
20791
  return new Promise(function(c) {
20833
20792
  return window.setTimeout(c, l);
20834
20793
  });
@@ -20836,7 +20795,7 @@ function RT() {
20836
20795
  for (var d = [], h = 2; h < arguments.length; h++)
20837
20796
  d[h - 2] = arguments[h];
20838
20797
  return t(void 0, r([l, c], d, !0), void 0, function(p, f, b) {
20839
- var m, _, g, w, M, K, R, y;
20798
+ var m, _, g, w, M, K, D, y;
20840
20799
  return b === void 0 && (b = 0), n(this, function(N) {
20841
20800
  switch (N.label) {
20842
20801
  case 0:
@@ -20851,7 +20810,7 @@ function RT() {
20851
20810
  case 4:
20852
20811
  return N.sent(), [2, (0, e.getUrl)(p, f, b + 1)];
20853
20812
  case 5:
20854
- return (y = (R = f.current).onReconnectStop) === null || y === void 0 || y.call(R, b), [2, null];
20813
+ return (y = (D = f.current).onReconnectStop) === null || y === void 0 || y.call(D, b), [2, null];
20855
20814
  case 6:
20856
20815
  return [3, 8];
20857
20816
  case 7:
@@ -20911,22 +20870,22 @@ function ou() {
20911
20870
  return new (b || (b = Promise))(function(g, w) {
20912
20871
  function M(y) {
20913
20872
  try {
20914
- R(m.next(y));
20873
+ D(m.next(y));
20915
20874
  } catch (N) {
20916
20875
  w(N);
20917
20876
  }
20918
20877
  }
20919
20878
  function K(y) {
20920
20879
  try {
20921
- R(m.throw(y));
20880
+ D(m.throw(y));
20922
20881
  } catch (N) {
20923
20882
  w(N);
20924
20883
  }
20925
20884
  }
20926
- function R(y) {
20885
+ function D(y) {
20927
20886
  y.done ? g(y.value) : _(y.value).then(M, K);
20928
20887
  }
20929
- R((m = m.apply(p, f || [])).next());
20888
+ D((m = m.apply(p, f || [])).next());
20930
20889
  });
20931
20890
  }, n = ct && ct.__generator || function(p, f) {
20932
20891
  var b = { label: 0, sent: function() {
@@ -20936,64 +20895,64 @@ function ou() {
20936
20895
  return w.next = M(0), w.throw = M(1), w.return = M(2), typeof Symbol == "function" && (w[Symbol.iterator] = function() {
20937
20896
  return this;
20938
20897
  }), w;
20939
- function M(R) {
20898
+ function M(D) {
20940
20899
  return function(y) {
20941
- return K([R, y]);
20900
+ return K([D, y]);
20942
20901
  };
20943
20902
  }
20944
- function K(R) {
20903
+ function K(D) {
20945
20904
  if (m) throw new TypeError("Generator is already executing.");
20946
- for (; w && (w = 0, R[0] && (b = 0)), b; ) try {
20947
- if (m = 1, _ && (g = R[0] & 2 ? _.return : R[0] ? _.throw || ((g = _.return) && g.call(_), 0) : _.next) && !(g = g.call(_, R[1])).done) return g;
20948
- switch (_ = 0, g && (R = [R[0] & 2, g.value]), R[0]) {
20905
+ for (; w && (w = 0, D[0] && (b = 0)), b; ) try {
20906
+ if (m = 1, _ && (g = D[0] & 2 ? _.return : D[0] ? _.throw || ((g = _.return) && g.call(_), 0) : _.next) && !(g = g.call(_, D[1])).done) return g;
20907
+ switch (_ = 0, g && (D = [D[0] & 2, g.value]), D[0]) {
20949
20908
  case 0:
20950
20909
  case 1:
20951
- g = R;
20910
+ g = D;
20952
20911
  break;
20953
20912
  case 4:
20954
- return b.label++, { value: R[1], done: !1 };
20913
+ return b.label++, { value: D[1], done: !1 };
20955
20914
  case 5:
20956
- b.label++, _ = R[1], R = [0];
20915
+ b.label++, _ = D[1], D = [0];
20957
20916
  continue;
20958
20917
  case 7:
20959
- R = b.ops.pop(), b.trys.pop();
20918
+ D = b.ops.pop(), b.trys.pop();
20960
20919
  continue;
20961
20920
  default:
20962
- if (g = b.trys, !(g = g.length > 0 && g[g.length - 1]) && (R[0] === 6 || R[0] === 2)) {
20921
+ if (g = b.trys, !(g = g.length > 0 && g[g.length - 1]) && (D[0] === 6 || D[0] === 2)) {
20963
20922
  b = 0;
20964
20923
  continue;
20965
20924
  }
20966
- if (R[0] === 3 && (!g || R[1] > g[0] && R[1] < g[3])) {
20967
- b.label = R[1];
20925
+ if (D[0] === 3 && (!g || D[1] > g[0] && D[1] < g[3])) {
20926
+ b.label = D[1];
20968
20927
  break;
20969
20928
  }
20970
- if (R[0] === 6 && b.label < g[1]) {
20971
- b.label = g[1], g = R;
20929
+ if (D[0] === 6 && b.label < g[1]) {
20930
+ b.label = g[1], g = D;
20972
20931
  break;
20973
20932
  }
20974
20933
  if (g && b.label < g[2]) {
20975
- b.label = g[2], b.ops.push(R);
20934
+ b.label = g[2], b.ops.push(D);
20976
20935
  break;
20977
20936
  }
20978
20937
  g[2] && b.ops.pop(), b.trys.pop();
20979
20938
  continue;
20980
20939
  }
20981
- R = f.call(p, b);
20940
+ D = f.call(p, b);
20982
20941
  } catch (y) {
20983
- R = [6, y], _ = 0;
20942
+ D = [6, y], _ = 0;
20984
20943
  } finally {
20985
20944
  m = g = 0;
20986
20945
  }
20987
- if (R[0] & 5) throw R[1];
20988
- return { value: R[0] ? R[1] : void 0, done: !0 };
20946
+ if (D[0] & 5) throw D[1];
20947
+ return { value: D[0] ? D[1] : void 0, done: !0 };
20989
20948
  }
20990
20949
  }, r = ct && ct.__importDefault || function(p) {
20991
20950
  return p && p.__esModule ? p : { default: p };
20992
20951
  };
20993
20952
  Object.defineProperty(ct, "__esModule", { value: !0 }), ct.useWebSocket = void 0;
20994
- var a = Et, i = C0, u = Dt(), s = DT(), l = RT(), c = r(PT()), d = uu(), h = function(p, f, b) {
20953
+ var a = Et, i = C0, u = Rt(), s = RT(), l = DT(), c = r(PT()), d = uu(), h = function(p, f, b) {
20995
20954
  f === void 0 && (f = u.DEFAULT_OPTIONS), b === void 0 && (b = !0);
20996
- var m = (0, a.useState)(null), _ = m[0], g = m[1], w = (0, a.useState)({}), M = w[0], K = w[1], R = (0, a.useMemo)(function() {
20955
+ var m = (0, a.useState)(null), _ = m[0], g = m[1], w = (0, a.useState)({}), M = w[0], K = w[1], D = (0, a.useMemo)(function() {
20997
20956
  if (!f.disableJson && _)
20998
20957
  try {
20999
20958
  return JSON.parse(_.data);
@@ -21001,20 +20960,20 @@ function ou() {
21001
20960
  return u.UNPARSABLE_JSON_OBJECT;
21002
20961
  }
21003
20962
  return null;
21004
- }, [_, f.disableJson]), y = (0, a.useRef)(null), N = (0, a.useRef)(null), G = (0, a.useRef)(function() {
20963
+ }, [_, f.disableJson]), y = (0, a.useRef)(null), N = (0, a.useRef)(null), W = (0, a.useRef)(function() {
21005
20964
  }), F = (0, a.useRef)(0), te = (0, a.useRef)(Date.now()), z = (0, a.useRef)([]), V = (0, a.useRef)(null), L = (0, a.useRef)(f);
21006
20965
  L.current = f;
21007
- var I = y.current && M[y.current] !== void 0 ? M[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, T) {
20966
+ var I = y.current && M[y.current] !== void 0 ? M[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, T) {
21008
20967
  var ne;
21009
20968
  if (T === void 0 && (T = !0), u.isEventSourceSupported && N.current instanceof EventSource) {
21010
20969
  console.warn("Unable to send a message from an eventSource");
21011
20970
  return;
21012
20971
  }
21013
20972
  ((ne = N.current) === null || ne === void 0 ? void 0 : ne.readyState) === u.ReadyState.OPEN ? ((0, d.assertIsWebSocket)(N.current, L.current.skipAssert), N.current.send(Y)) : T && z.current.push(Y);
21014
- }, []), W = (0, a.useCallback)(function(Y, T) {
20973
+ }, []), G = (0, a.useCallback)(function(Y, T) {
21015
20974
  T === void 0 && (T = !0), U(JSON.stringify(Y), T);
21016
20975
  }, [U]), j = (0, a.useCallback)(function() {
21017
- return L.current.share !== !0 || u.isEventSourceSupported && N.current instanceof EventSource ? N.current : (V.current === null && N.current && ((0, d.assertIsWebSocket)(N.current, L.current.skipAssert), V.current = (0, c.default)(N.current, G)), V.current);
20976
+ return L.current.share !== !0 || u.isEventSourceSupported && N.current instanceof EventSource ? N.current : (V.current === null && N.current && ((0, d.assertIsWebSocket)(N.current, L.current.skipAssert), V.current = (0, c.default)(N.current, W)), V.current);
21018
20977
  }, []);
21019
20978
  return (0, a.useEffect)(function() {
21020
20979
  if (p !== null && b === !0) {
@@ -21044,7 +21003,7 @@ function ou() {
21044
21003
  return e(e({}, Oe), y.current && (Ue = {}, Ue[y.current] = Ce, Ue));
21045
21004
  });
21046
21005
  });
21047
- }, ne && (Y = (0, s.createOrJoinSocket)(N, y.current, _e, L, le, G, F, te, U)), [
21006
+ }, ne && (Y = (0, s.createOrJoinSocket)(N, y.current, _e, L, le, W, F, te, U)), [
21048
21007
  2
21049
21008
  /*return*/
21050
21009
  ]);
@@ -21052,7 +21011,7 @@ function ou() {
21052
21011
  });
21053
21012
  });
21054
21013
  };
21055
- return G.current = function() {
21014
+ return W.current = function() {
21056
21015
  T || (V.current && (V.current = null), Y == null || Y(), oe());
21057
21016
  }, oe(), function() {
21058
21017
  T = !0, ne = !1, V.current && (V.current = null), Y == null || Y(), g(null);
@@ -21061,15 +21020,15 @@ function ou() {
21061
21020
  var le;
21062
21021
  return e(e({}, S), y.current && (le = {}, le[y.current] = u.ReadyState.CLOSED, le));
21063
21022
  }));
21064
- }, [p, b, D, U]), (0, a.useEffect)(function() {
21023
+ }, [p, b, R, U]), (0, a.useEffect)(function() {
21065
21024
  I === u.ReadyState.OPEN && z.current.splice(0).forEach(function(Y) {
21066
21025
  U(Y);
21067
21026
  });
21068
21027
  }, [I]), {
21069
21028
  sendMessage: U,
21070
- sendJsonMessage: W,
21029
+ sendJsonMessage: G,
21071
21030
  lastMessage: _,
21072
- lastJsonMessage: R,
21031
+ lastJsonMessage: D,
21073
21032
  readyState: I,
21074
21033
  getWebSocket: j
21075
21034
  };
@@ -21090,7 +21049,7 @@ function MT() {
21090
21049
  }, e.apply(this, arguments);
21091
21050
  };
21092
21051
  Object.defineProperty(nn, "__esModule", { value: !0 }), nn.useSocketIO = void 0;
21093
- var t = Et, n = ou(), r = Dt(), a = {
21052
+ var t = Et, n = ou(), r = Rt(), a = {
21094
21053
  type: "empty",
21095
21054
  payload: null
21096
21055
  }, i = function(s) {
@@ -21143,7 +21102,7 @@ function FT() {
21143
21102
  return l;
21144
21103
  };
21145
21104
  Object.defineProperty(Ut, "__esModule", { value: !0 }), Ut.useEventSource = void 0;
21146
- var n = Et, r = ou(), a = Dt(), i = function(u, s, l) {
21105
+ var n = Et, r = ou(), a = Rt(), i = function(u, s, l) {
21147
21106
  s === void 0 && (s = a.DEFAULT_EVENT_SOURCE_OPTIONS);
21148
21107
  var c = s.withCredentials, d = s.events, h = t(s, ["withCredentials", "events"]);
21149
21108
  l === void 0 && (l = !0);
@@ -21177,7 +21136,7 @@ function BT() {
21177
21136
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
21178
21137
  return n.useSocketIO;
21179
21138
  } });
21180
- var r = Dt();
21139
+ var r = Rt();
21181
21140
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
21182
21141
  return r.ReadyState;
21183
21142
  } });
@@ -21212,7 +21171,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21212
21171
  CONVERSATION: "CONVERSATION",
21213
21172
  FORM: "FORM"
21214
21173
  }, hn = Gr({}), ud = ({ children: e, liveChatPayload: t }) => {
21215
- const { conversationScreen: n } = se(je), { pushXpertMessage: r } = se(wt), { setHasError: a, setMode: i } = se(Ze), [u, s] = de(""), [l, c] = de(!1), [, d] = de(""), [h, p] = de([]), [f, b] = de(null), [m, _] = de(qt.FORM), [g, w] = de(null), M = (j) => p((Y) => [...Y, j]), K = async (j) => {
21174
+ const { conversationScreen: n } = se(je), { pushXpertMessage: r } = se(wt), { setHasError: a, setMode: i } = se(Je), [u, s] = de(""), [l, c] = de(!1), [, d] = de(""), [h, p] = de([]), [f, b] = de(null), [m, _] = de(qt.FORM), [g, w] = de(null), M = (j) => p((Y) => [...Y, j]), K = async (j) => {
21216
21175
  const Y = await jT(j.data), { conversation_id: T, event_type: ne, body: oe } = Y;
21217
21176
  switch (ne) {
21218
21177
  case "AGENT_TYPING":
@@ -21224,7 +21183,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21224
21183
  case "CONVERSATION_ERROR":
21225
21184
  return;
21226
21185
  case "CONVERSATION_TERMINATED":
21227
- return G();
21186
+ return W();
21228
21187
  case "CONVERSATION_TRANSFERRED_TO_GROUP":
21229
21188
  return;
21230
21189
  case "CONVERSATION_TRANSFERRED_TO_AGENT":
@@ -21238,7 +21197,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21238
21197
  default:
21239
21198
  return;
21240
21199
  }
21241
- }, { sendJsonMessage: R } = UT(f, {
21200
+ }, { sendJsonMessage: D } = UT(f, {
21242
21201
  onMessage: K
21243
21202
  }), y = () => {
21244
21203
  var Y;
@@ -21246,11 +21205,11 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21246
21205
  const j = (Y = n == null ? void 0 : n.liveChat) == null ? void 0 : Y.form;
21247
21206
  (!j || j.length === 0) && i(It.XPERT);
21248
21207
  }, N = () => {
21249
- R({
21208
+ D({
21250
21209
  action: "sendmessage",
21251
21210
  event: "TERMINATE_CONVERSATION"
21252
21211
  });
21253
- }, G = () => {
21212
+ }, W = () => {
21254
21213
  r({
21255
21214
  content: qT,
21256
21215
  role: "info"
@@ -21273,7 +21232,7 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21273
21232
  id: Y ?? "",
21274
21233
  role: "agent",
21275
21234
  timestamp: ne ? new Date(ne) : void 0
21276
- }), R({
21235
+ }), D({
21277
21236
  action: "sendmessage",
21278
21237
  messages: [
21279
21238
  {
@@ -21283,11 +21242,11 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21283
21242
  ],
21284
21243
  event: "ACKNOWLEDGE_MESSAGE"
21285
21244
  }), c(!1);
21286
- }, W = {
21245
+ }, G = {
21287
21246
  agentName: u,
21288
21247
  agentTyping: l,
21289
21248
  cancelLiveChatConnection: y,
21290
- endLiveChat: G,
21249
+ endLiveChat: W,
21291
21250
  liveChatMessages: h,
21292
21251
  pushLiveChatMessage: M,
21293
21252
  sendMessage: (j) => {
@@ -21296,14 +21255,14 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21296
21255
  id: "",
21297
21256
  role: "user",
21298
21257
  timestamp: /* @__PURE__ */ new Date()
21299
- }), R({
21258
+ }), D({
21300
21259
  action: "sendmessage",
21301
21260
  event: "OUTGOING_MESSAGE",
21302
21261
  message: j
21303
21262
  });
21304
21263
  },
21305
21264
  sendTypingEvent: async () => {
21306
- R({
21265
+ D({
21307
21266
  action: "sendmessage",
21308
21267
  event: "TYPING"
21309
21268
  });
@@ -21329,11 +21288,11 @@ const qT = "This conversation with a live agent has ended. Please note that a tr
21329
21288
  icon: "check",
21330
21289
  iconColor: "#30A171",
21331
21290
  role: "notification"
21332
- }), G();
21291
+ }), W();
21333
21292
  },
21334
21293
  terminateConversation: N
21335
21294
  };
21336
- return /* @__PURE__ */ v.jsx(hn.Provider, { value: W, children: e });
21295
+ return /* @__PURE__ */ v.jsx(hn.Provider, { value: G, children: e });
21337
21296
  };
21338
21297
  ud.propTypes = {
21339
21298
  children: x.element.isRequired,
@@ -21341,7 +21300,7 @@ ud.propTypes = {
21341
21300
  };
21342
21301
  const zT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23ffffff'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M120-120v-300h60v198l558-558H540v-60h300v300h-60v-198L222-180h198v60H120Z'/%3e%3c/svg%3e", YT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23ffffff'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M370-287h360v-90H370v90ZM180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/svg%3e";
21343
21302
  function od({ handleResizeButtonClick: e, setIsMounted: t }) {
21344
- const { isMobile: n, isNormalSize: r } = se(Ze);
21303
+ const { isMobile: n, isNormalSize: r } = se(Je);
21345
21304
  if (n)
21346
21305
  return null;
21347
21306
  const a = `${r ? "Expand" : "Shrink"} Xpert dialog width`;
@@ -21380,7 +21339,7 @@ function sd({
21380
21339
  isMounted: r
21381
21340
  }) {
21382
21341
  var c;
21383
- const { conversationScreen: a } = se(je), { mode: i } = se(Ze), { setDeleteConversationModal: u, xpertMessages: s } = se(wt), l = i === It.XPERT && ((c = a == null ? void 0 : a.conversationHistory) == null ? void 0 : c.allowDeletion) && !!(s != null && s.length);
21342
+ const { conversationScreen: a } = se(je), { mode: i } = se(Je), { setDeleteConversationModal: u, xpertMessages: s } = se(wt), l = i === It.XPERT && ((c = a == null ? void 0 : a.conversationHistory) == null ? void 0 : c.allowDeletion) && !!(s != null && s.length);
21384
21343
  return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
21385
21344
  l && /* @__PURE__ */ v.jsx(
21386
21345
  "button",
@@ -21485,9 +21444,14 @@ function cd({
21485
21444
  setIsMounted: n,
21486
21445
  onClose: r
21487
21446
  }) {
21488
- var c, d, h, p, f, b, m, _, g, w, M, K, R, y, N;
21489
- const { primaryColor: a, conversationScreen: i } = se(je), { isMobile: u, mode: s } = se(Ze), { step: l } = se(hn);
21490
- return l === qt.CONNECTING && s === It.LIVECHAT ? null : /* @__PURE__ */ v.jsxs(
21447
+ var c, d, h, p, f, b, m, _, g, w, M, K, D, y, N;
21448
+ const { primaryColor: a, conversationScreen: i } = se(je), { isMobile: u, mode: s } = se(Je), { step: l } = se(hn);
21449
+ return ke(() => {
21450
+ const W = document.getElementById("header-mobile");
21451
+ return W && (W.style.display = "none"), () => {
21452
+ W && (W.style.display = "");
21453
+ };
21454
+ }, []), l === qt.CONNECTING && s === It.LIVECHAT ? null : /* @__PURE__ */ v.jsxs(
21491
21455
  "div",
21492
21456
  {
21493
21457
  "data-testid": "xpert-conversations-header",
@@ -21514,7 +21478,7 @@ function cd({
21514
21478
  {
21515
21479
  "data-ot-ignore": "",
21516
21480
  className: "xpert-chatbot-popup__logo optanon-category-C0001",
21517
- src: Ds,
21481
+ src: Rs,
21518
21482
  alt: "xpert logo",
21519
21483
  "aria-hidden": !0,
21520
21484
  style: (_ = (m = i == null ? void 0 : i.header) == null ? void 0 : m.logo) == null ? void 0 : _.style
@@ -21541,7 +21505,7 @@ function cd({
21541
21505
  className: "xpert-chatbot-popup__header_container",
21542
21506
  style: {
21543
21507
  right: 0,
21544
- background: ((N = (y = (R = i == null ? void 0 : i.header) == null ? void 0 : R.container) == null ? void 0 : y.style) == null ? void 0 : N.background) || a
21508
+ background: ((N = (y = (D = i == null ? void 0 : i.header) == null ? void 0 : D.container) == null ? void 0 : y.style) == null ? void 0 : N.background) || a
21545
21509
  }
21546
21510
  }
21547
21511
  )
@@ -21611,7 +21575,7 @@ function $T() {
21611
21575
  }
21612
21576
  const VT = () => {
21613
21577
  var n, r, a, i, u;
21614
- const { isMobile: e } = se(Ze), { launchButton: t } = se(je);
21578
+ const { isMobile: e } = se(Je), { launchButton: t } = se(je);
21615
21579
  return (n = t == null ? void 0 : t.message) != null && n.enabled ? /* @__PURE__ */ v.jsx(
21616
21580
  "div",
21617
21581
  {
@@ -21735,7 +21699,7 @@ fd.propTypes = {
21735
21699
  onDismiss: x.func
21736
21700
  };
21737
21701
  function XT(e, t) {
21738
- const [n, r] = de(!1), a = Je(), i = pt(
21702
+ const [n, r] = de(!1), a = Ze(), i = pt(
21739
21703
  (...u) => {
21740
21704
  n || (e(...u), r(!0), clearTimeout(a.current), a.current = setTimeout(() => {
21741
21705
  r(!1);
@@ -21754,7 +21718,7 @@ function hd() {
21754
21718
  liveChatMessages: n,
21755
21719
  sendMessage: r,
21756
21720
  sendTypingEvent: a
21757
- } = se(hn), [i, u] = de(!1), [s, l] = de(""), c = Je(), d = XT(a, 5e3), h = (b) => {
21721
+ } = se(hn), [i, u] = de(!1), [s, l] = de(""), c = Ze(), d = XT(a, 5e3), h = (b) => {
21758
21722
  l(b.target.value), d();
21759
21723
  }, p = () => {
21760
21724
  s.trim() !== "" && (r(s), f());
@@ -21852,15 +21816,15 @@ const QT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
21852
21816
  }];
21853
21817
  }, Qa = "privacy policy";
21854
21818
  function pd() {
21855
- const { conversationScreen: e, primaryColor: t } = se(je), { startLiveChat: n } = se(hn), { setMode: r } = se(Ze), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = JT({}), [d, h] = de(!1), { clearError: p, errors: f, setErrors: b } = ZT(), m = sr(
21819
+ const { conversationScreen: e, primaryColor: t } = se(je), { startLiveChat: n } = se(hn), { setMode: r } = se(Je), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = JT({}), [d, h] = de(!1), { clearError: p, errors: f, setErrors: b } = ZT(), m = sr(
21856
21820
  () => (s ?? "").split(Qa, 2),
21857
21821
  [s]
21858
21822
  ), _ = () => {
21859
21823
  r(It.XPERT);
21860
21824
  }, g = () => {
21861
- p("privacyCheck"), h((R) => !R);
21862
- }, w = (R, y) => {
21863
- const N = R.target.value;
21825
+ p("privacyCheck"), h((D) => !D);
21826
+ }, w = (D, y) => {
21827
+ const N = D.target.value;
21864
21828
  p(y), c(y, N);
21865
21829
  }, M = () => {
21866
21830
  K() && n(l);
@@ -21869,36 +21833,36 @@ function pd() {
21869
21833
  (!a || a.length === 0) && n();
21870
21834
  }, [a, n]);
21871
21835
  const K = () => {
21872
- const R = a.reduce((y, N) => {
21873
- const { key: G, validations: F = [] } = N, te = l[G];
21874
- if (!te) return { ...y, [G]: "Required" };
21836
+ const D = a.reduce((y, N) => {
21837
+ const { key: W, validations: F = [] } = N, te = l[W];
21838
+ if (!te) return { ...y, [W]: "Required" };
21875
21839
  if ((F == null ? void 0 : F.length) > 0)
21876
21840
  for (const z of F)
21877
21841
  switch (z) {
21878
21842
  case "email": {
21879
21843
  if (!KT(te))
21880
- return { ...y, [G]: "Should be email" };
21844
+ return { ...y, [W]: "Should be email" };
21881
21845
  break;
21882
21846
  }
21883
21847
  }
21884
21848
  return y;
21885
21849
  }, {});
21886
- return !d && s && (R.privacyCheck = "Required"), b(R), Object.keys(R).length === 0;
21850
+ return !d && s && (D.privacyCheck = "Required"), b(D), Object.keys(D).length === 0;
21887
21851
  };
21888
21852
  return /* @__PURE__ */ v.jsxs("div", { className: "live-chat-form", children: [
21889
21853
  i && /* @__PURE__ */ v.jsx("p", { children: i }),
21890
- (a ?? []).map(({ key: R, name: y }) => /* @__PURE__ */ v.jsxs(y0, { children: [
21854
+ (a ?? []).map(({ key: D, name: y }) => /* @__PURE__ */ v.jsxs(y0, { children: [
21891
21855
  /* @__PURE__ */ v.jsx(
21892
21856
  "input",
21893
21857
  {
21894
- className: `live-chat-form-input ${f[R] ? "error" : ""}`,
21858
+ className: `live-chat-form-input ${f[D] ? "error" : ""}`,
21895
21859
  name: y,
21896
21860
  placeholder: y,
21897
- onChange: (N) => w(N, R)
21861
+ onChange: (N) => w(N, D)
21898
21862
  }
21899
21863
  ),
21900
- f[R] && /* @__PURE__ */ v.jsx("p", { className: "live-chat-form-error", children: f[R] })
21901
- ] }, R)),
21864
+ f[D] && /* @__PURE__ */ v.jsx("p", { className: "live-chat-form-error", children: f[D] })
21865
+ ] }, D)),
21902
21866
  s && /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
21903
21867
  /* @__PURE__ */ v.jsx(
21904
21868
  "div",
@@ -21943,7 +21907,7 @@ function pd() {
21943
21907
  },
21944
21908
  type: "checkbox",
21945
21909
  onChange: g,
21946
- onKeyDown: (R) => R.key === "Enter" && g()
21910
+ onKeyDown: (D) => D.key === "Enter" && g()
21947
21911
  }
21948
21912
  ),
21949
21913
  /* @__PURE__ */ v.jsx("label", { htmlFor: "privacy-check", children: "Yes, I accept" })
@@ -22172,10 +22136,10 @@ function bd({ submitEventExternal: e = null }) {
22172
22136
  setDisableScroll: w,
22173
22137
  setHasError: M,
22174
22138
  setHasNewMessage: K,
22175
- setIsNormalSize: R,
22139
+ setIsNormalSize: D,
22176
22140
  setLoading: y,
22177
22141
  setStreaming: N
22178
- } = se(Ze), [, G] = de(!1), [, F] = de(!1), [te, z] = de(!1), [V, L] = de(!1), [I, D] = de(""), [U, W] = de(!1), j = te || !c, Y = Je(null), T = Je(null), ne = rt.get(`${a}-test`) === "1";
22142
+ } = se(Je), [, W] = de(!1), [, F] = de(!1), [te, z] = de(!1), [V, L] = de(!1), [I, R] = de(""), [U, G] = de(!1), j = te || !c, Y = Ze(null), T = Ze(null), ne = rt.get(`${a}-test`) === "1";
22179
22143
  ke(() => {
22180
22144
  g === It.XPERT && j && Y.current && Y.current.focus();
22181
22145
  }, [g, j]), e3(
@@ -22257,7 +22221,7 @@ function bd({ submitEventExternal: e = null }) {
22257
22221
  if (n)
22258
22222
  return s != null && s.enabled && (B = setInterval(() => {
22259
22223
  var ae;
22260
- ((ae = window.analytics) != null && ae.track || e) && (T.current = window.analytics, clearInterval(B), clearTimeout(re), G(!0));
22224
+ ((ae = window.analytics) != null && ae.track || e) && (T.current = window.analytics, clearInterval(B), clearTimeout(re), W(!0));
22261
22225
  }, 1e3), re = setTimeout(() => {
22262
22226
  clearInterval(B);
22263
22227
  }, 6e4)), () => {
@@ -22299,7 +22263,7 @@ function bd({ submitEventExternal: e = null }) {
22299
22263
  if (t3(l == null ? void 0 : l.experimentName), !n || l != null && l.enabled && !(l != null && l.experimentName) && !ne || s != null && s.enabled && (s != null && s.prefix) && !((Qt = T == null ? void 0 : T.current) != null && Qt.track) && !e)
22300
22264
  return null;
22301
22265
  const me = () => {
22302
- D(""), Y.current.value = "", Y.current.style.height = "auto";
22266
+ R(""), Y.current.value = "", Y.current.style.height = "auto";
22303
22267
  }, Ce = (B, re) => {
22304
22268
  oe({
22305
22269
  name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
@@ -22495,7 +22459,7 @@ function bd({ submitEventExternal: e = null }) {
22495
22459
  y(!1), me(), M(!0), console.error(ie);
22496
22460
  }
22497
22461
  }, pn = () => {
22498
- L(!1), z(!0), R(!0), S(), oe({
22462
+ L(!1), z(!0), D(!0), S(), oe({
22499
22463
  name: `${s.prefix}.bi.xpert.chatbot.action.button.clicked`,
22500
22464
  payload: {
22501
22465
  category: "2u",
@@ -22511,9 +22475,9 @@ function bd({ submitEventExternal: e = null }) {
22511
22475
  label: "xpert-chatbot",
22512
22476
  isTestUser: ne
22513
22477
  }
22514
- }), R(B);
22478
+ }), D(B);
22515
22479
  }, mn = () => {
22516
- z(!0), R(!0), S(), oe({
22480
+ z(!0), D(!0), S(), oe({
22517
22481
  name: `${s.prefix}.bi.xpert.chatbot.proactive.message.clicked`,
22518
22482
  payload: {
22519
22483
  category: "2u",
@@ -22531,7 +22495,7 @@ function bd({ submitEventExternal: e = null }) {
22531
22495
  }
22532
22496
  });
22533
22497
  }, bn = () => {
22534
- z(!1), W(!1), oe({
22498
+ z(!1), G(!1), oe({
22535
22499
  name: `${s.prefix}.bi.xpert.chatbot.popup.chat.minimized`,
22536
22500
  payload: {
22537
22501
  category: "2u",
@@ -22540,8 +22504,8 @@ function bd({ submitEventExternal: e = null }) {
22540
22504
  }
22541
22505
  });
22542
22506
  }, Bn = (B) => {
22543
- D(B.target.value);
22544
- }, Rt = async (B, re = "") => {
22507
+ R(B.target.value);
22508
+ }, Dt = async (B, re = "") => {
22545
22509
  if (h) {
22546
22510
  await h({ index: B, type: re }), w(!1);
22547
22511
  return;
@@ -22606,7 +22570,7 @@ function bd({ submitEventExternal: e = null }) {
22606
22570
  }
22607
22571
  ),
22608
22572
  !Pt && c && /* @__PURE__ */ v.jsx(
22609
- Rs,
22573
+ Ds,
22610
22574
  {
22611
22575
  handleFloatingActionButtonClick: pn
22612
22576
  }
@@ -22624,7 +22588,7 @@ function bd({ submitEventExternal: e = null }) {
22624
22588
  onClose: bn,
22625
22589
  handleResizeButtonClick: Fn,
22626
22590
  isMounted: U,
22627
- setIsMounted: W
22591
+ setIsMounted: G
22628
22592
  }
22629
22593
  ),
22630
22594
  /* @__PURE__ */ v.jsx($T, {}),
@@ -22632,7 +22596,7 @@ function bd({ submitEventExternal: e = null }) {
22632
22596
  ad,
22633
22597
  {
22634
22598
  handleChange: Bn,
22635
- handleFeedbackThumbSelection: Rt,
22599
+ handleFeedbackThumbSelection: Dt,
22636
22600
  handleMessageLinkClicked: _e,
22637
22601
  handleSend: St,
22638
22602
  inputRef: Y,