@cimulate/copilot-widget 1.39.1 → 1.40.0

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.
@@ -2,7 +2,7 @@ var DA = Object.defineProperty, MA = Object.defineProperties;
2
2
  var FA = Object.getOwnPropertyDescriptors;
3
3
  var vl = Object.getOwnPropertySymbols;
4
4
  var Q1 = Object.prototype.hasOwnProperty, J1 = Object.prototype.propertyIsEnumerable;
5
- var Vs = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), BA = (e) => {
5
+ var Ws = (e, t) => (t = Symbol[e]) ? t : /* @__PURE__ */ Symbol.for("Symbol." + e), BA = (e) => {
6
6
  throw TypeError(e);
7
7
  }, Al = Math.pow, Qf = (e, t, n) => t in e ? DA(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, U = (e, t) => {
8
8
  for (var n in t || (t = {}))
@@ -48,10 +48,10 @@ var De = (e, t, n) => new Promise((r, s) => {
48
48
  p(b);
49
49
  }
50
50
  }, s = (l, d, f, p) => u[l] = (m) => (d = new Promise((y, T, b) => (b = () => r(l, m, y, T), a ? a.then(b) : b())), p = () => a === f && (a = 0), a = f = d.then(p, p), d), a, u = {};
51
- return n = n.apply(e, t), u[Vs("asyncIterator")] = () => u, s("next"), s("throw"), s("return"), u;
51
+ return n = n.apply(e, t), u[Ws("asyncIterator")] = () => u, s("next"), s("throw"), s("return"), u;
52
52
  }, Zf = (e) => {
53
- var t = e[Vs("asyncIterator")], n = !1, r, s = {};
54
- return t == null ? (t = e[Vs("iterator")](), r = (a) => s[a] = (u) => t[a](u)) : (t = t.call(e), r = (a) => s[a] = (u) => {
53
+ var t = e[Ws("asyncIterator")], n = !1, r, s = {};
54
+ return t == null ? (t = e[Ws("iterator")](), r = (a) => s[a] = (u) => t[a](u)) : (t = t.call(e), r = (a) => s[a] = (u) => {
55
55
  if (n) {
56
56
  if (n = !1, a === "throw") throw u;
57
57
  return u;
@@ -63,10 +63,10 @@ var De = (e, t, n) => new Promise((r, s) => {
63
63
  d instanceof Object || BA("Object expected"), l(d);
64
64
  }), 1)
65
65
  };
66
- }), s[Vs("iterator")] = () => s, r("next"), "throw" in t ? r("throw") : s.throw = (a) => {
66
+ }), s[Ws("iterator")] = () => s, r("next"), "throw" in t ? r("throw") : s.throw = (a) => {
67
67
  throw a;
68
68
  }, "return" in t && r("return"), s;
69
- }, Z1 = (e, t, n) => (t = e[Vs("asyncIterator")]) ? t.call(e) : (e = e[Vs("iterator")](), t = {}, n = (r, s) => (s = e[r]) && (t[r] = (a) => new Promise((u, l, d) => (a = s.call(e, a), d = a.done, Promise.resolve(a.value).then((f) => u({ value: f, done: d }), l)))), n("next"), n("return"), t);
69
+ }, Z1 = (e, t, n) => (t = e[Ws("asyncIterator")]) ? t.call(e) : (e = e[Ws("iterator")](), t = {}, n = (r, s) => (s = e[r]) && (t[r] = (a) => new Promise((u, l, d) => (a = s.call(e, a), d = a.done, Promise.resolve(a.value).then((f) => u({ value: f, done: d }), l)))), n("next"), n("return"), t);
70
70
  function jp(e) {
71
71
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
72
72
  }
@@ -2313,10 +2313,10 @@ class d_ extends Bt {
2313
2313
  }
2314
2314
  }
2315
2315
  }
2316
- function Eo(e) {
2316
+ function _o(e) {
2317
2317
  e = e || {}, this.ms = e.min || 100, this.max = e.max || 1e4, this.factor = e.factor || 2, this.jitter = e.jitter > 0 && e.jitter <= 1 ? e.jitter : 0, this.attempts = 0;
2318
2318
  }
2319
- Eo.prototype.duration = function() {
2319
+ _o.prototype.duration = function() {
2320
2320
  var e = this.ms * Math.pow(this.factor, this.attempts++);
2321
2321
  if (this.jitter) {
2322
2322
  var t = Math.random(), n = Math.floor(t * this.jitter * e);
@@ -2324,22 +2324,22 @@ Eo.prototype.duration = function() {
2324
2324
  }
2325
2325
  return Math.min(e, this.max) | 0;
2326
2326
  };
2327
- Eo.prototype.reset = function() {
2327
+ _o.prototype.reset = function() {
2328
2328
  this.attempts = 0;
2329
2329
  };
2330
- Eo.prototype.setMin = function(e) {
2330
+ _o.prototype.setMin = function(e) {
2331
2331
  this.ms = e;
2332
2332
  };
2333
- Eo.prototype.setMax = function(e) {
2333
+ _o.prototype.setMax = function(e) {
2334
2334
  this.max = e;
2335
2335
  };
2336
- Eo.prototype.setJitter = function(e) {
2336
+ _o.prototype.setJitter = function(e) {
2337
2337
  this.jitter = e;
2338
2338
  };
2339
2339
  class Jh extends Bt {
2340
2340
  constructor(t, n) {
2341
2341
  var r;
2342
- super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (n = t, t = void 0), n = n || {}, n.path = n.path || "/socket.io", this.opts = n, Nc(this, n), this.reconnection(n.reconnection !== !1), this.reconnectionAttempts(n.reconnectionAttempts || 1 / 0), this.reconnectionDelay(n.reconnectionDelay || 1e3), this.reconnectionDelayMax(n.reconnectionDelayMax || 5e3), this.randomizationFactor((r = n.randomizationFactor) !== null && r !== void 0 ? r : 0.5), this.backoff = new Eo({
2342
+ super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (n = t, t = void 0), n = n || {}, n.path = n.path || "/socket.io", this.opts = n, Nc(this, n), this.reconnection(n.reconnection !== !1), this.reconnectionAttempts(n.reconnectionAttempts || 1 / 0), this.reconnectionDelay(n.reconnectionDelay || 1e3), this.reconnectionDelayMax(n.reconnectionDelayMax || 5e3), this.randomizationFactor((r = n.randomizationFactor) !== null && r !== void 0 ? r : 0.5), this.backoff = new _o({
2343
2343
  min: this.reconnectionDelay(),
2344
2344
  max: this.reconnectionDelayMax(),
2345
2345
  jitter: this.randomizationFactor()
@@ -3382,7 +3382,7 @@ const eC = (e) => {
3382
3382
  }, Gr = (e) => {
3383
3383
  const t = lt.statusProxy.isOpen, n = typeof e == "boolean" ? e : !t;
3384
3384
  lt.statusProxy.isOpen = n, n && (lt.statusProxy.isMinimized = !1, Zw());
3385
- }, oo = (e) => {
3385
+ }, lo = (e) => {
3386
3386
  const t = lt.statusProxy.isMinimized, n = typeof e == "boolean" ? e : !t;
3387
3387
  lt.statusProxy.isMinimized = n, n && (lt.statusProxy.isOpen = !1);
3388
3388
  }, Jp = (e) => {
@@ -3545,7 +3545,7 @@ const __ = P.createContext({
3545
3545
  const V = n || (t == null ? void 0 : t.type);
3546
3546
  V && kc(V);
3547
3547
  const D = Jw();
3548
- t && "isOpen" in t && Gr(!!t.isOpen), t && "isMinimized" in t && oo(!!t.isMinimized), D && oo(!0);
3548
+ t && "isOpen" in t && Gr(!!t.isOpen), t && "isMinimized" in t && lo(!!t.isMinimized), D && lo(!0);
3549
3549
  }), Yl(() => {
3550
3550
  if (!(t != null && t.options)) return;
3551
3551
  const { dialogPosition: V } = t.options;
@@ -3619,7 +3619,7 @@ function b_(e, t) {
3619
3619
  return e.apply(t, arguments);
3620
3620
  };
3621
3621
  }
3622
- const { toString: hC } = Object.prototype, { getPrototypeOf: ao } = Object, { iterator: tu, toStringTag: x_ } = Symbol, oc = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ya = (e, t) => {
3622
+ const { toString: hC } = Object.prototype, { getPrototypeOf: co } = Object, { iterator: tu, toStringTag: x_ } = Symbol, oc = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ya = (e, t) => {
3623
3623
  let n = e;
3624
3624
  const r = [];
3625
3625
  for (; n != null && n !== Object.prototype; ) {
@@ -3627,45 +3627,45 @@ const { toString: hC } = Object.prototype, { getPrototypeOf: ao } = Object, { it
3627
3627
  return !1;
3628
3628
  if (r.push(n), oc(n, t))
3629
3629
  return !0;
3630
- n = ao(n);
3630
+ n = co(n);
3631
3631
  }
3632
3632
  return !1;
3633
3633
  }, pC = (e, t) => e != null && Ya(e, t) ? e[t] : void 0, em = /* @__PURE__ */ ((e) => (t) => {
3634
3634
  const n = hC.call(t);
3635
3635
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
3636
- })(/* @__PURE__ */ Object.create(null)), hr = (e) => (e = e.toLowerCase(), (t) => em(t) === e), Pc = (e) => (t) => typeof t === e, { isArray: ls } = Array, uo = Pc("undefined");
3637
- function yo(e) {
3638
- return e !== null && !uo(e) && e.constructor !== null && !uo(e.constructor) && Nn(e.constructor.isBuffer) && e.constructor.isBuffer(e);
3636
+ })(/* @__PURE__ */ Object.create(null)), hr = (e) => (e = e.toLowerCase(), (t) => em(t) === e), Pc = (e) => (t) => typeof t === e, { isArray: ls } = Array, fo = Pc("undefined");
3637
+ function So(e) {
3638
+ return e !== null && !fo(e) && e.constructor !== null && !fo(e.constructor) && Nn(e.constructor.isBuffer) && e.constructor.isBuffer(e);
3639
3639
  }
3640
3640
  const v_ = hr("ArrayBuffer");
3641
3641
  function mC(e) {
3642
3642
  let t;
3643
3643
  return typeof ArrayBuffer != "undefined" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && v_(e.buffer), t;
3644
3644
  }
3645
- const gC = Pc("string"), Nn = Pc("function"), A_ = Pc("number"), To = (e) => e !== null && typeof e == "object", EC = (e) => e === !0 || e === !1, Wl = (e) => {
3646
- if (!To(e))
3645
+ const gC = Pc("string"), Nn = Pc("function"), A_ = Pc("number"), bo = (e) => e !== null && typeof e == "object", EC = (e) => e === !0 || e === !1, Wl = (e) => {
3646
+ if (!bo(e))
3647
3647
  return !1;
3648
- const t = ao(e);
3649
- return (t === null || t === Object.prototype || ao(t) === null) && // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or
3648
+ const t = co(e);
3649
+ return (t === null || t === Object.prototype || co(t) === null) && // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or
3650
3650
  // Symbol.iterator as evidence the value is a tagged/iterable type rather
3651
3651
  // than a plain object, while ignoring keys injected onto Object.prototype.
3652
3652
  !Ya(e, x_) && !Ya(e, tu);
3653
3653
  }, yC = (e) => {
3654
- if (!To(e) || yo(e))
3654
+ if (!bo(e) || So(e))
3655
3655
  return !1;
3656
3656
  try {
3657
3657
  return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
3658
3658
  } catch (t) {
3659
3659
  return !1;
3660
3660
  }
3661
- }, TC = hr("Date"), _C = hr("File"), SC = (e) => !!(e && typeof e.uri != "undefined"), bC = (e) => e && typeof e.getParts != "undefined", xC = hr("Blob"), vC = hr("FileList"), AC = (e) => To(e) && Nn(e.pipe);
3661
+ }, TC = hr("Date"), _C = hr("File"), SC = (e) => !!(e && typeof e.uri != "undefined"), bC = (e) => e && typeof e.getParts != "undefined", xC = hr("Blob"), vC = hr("FileList"), AC = (e) => bo(e) && Nn(e.pipe);
3662
3662
  function wC() {
3663
3663
  return typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : typeof global != "undefined" ? global : {};
3664
3664
  }
3665
3665
  const hE = wC(), pE = typeof hE.FormData != "undefined" ? hE.FormData : void 0, CC = (e) => {
3666
3666
  if (!e) return !1;
3667
3667
  if (pE && e instanceof pE) return !0;
3668
- const t = ao(e);
3668
+ const t = co(e);
3669
3669
  if (!t || t === Object.prototype || !Nn(e.append)) return !1;
3670
3670
  const n = em(e);
3671
3671
  return n === "formdata" || // detect form-data instance
@@ -3684,7 +3684,7 @@ function nu(e, t, { allOwnKeys: n = !1 } = {}) {
3684
3684
  for (r = 0, s = e.length; r < s; r++)
3685
3685
  t.call(null, e[r], r, e);
3686
3686
  else {
3687
- if (yo(e))
3687
+ if (So(e))
3688
3688
  return;
3689
3689
  const a = n ? Object.getOwnPropertyNames(e) : Object.keys(e), u = a.length;
3690
3690
  let l;
@@ -3693,7 +3693,7 @@ function nu(e, t, { allOwnKeys: n = !1 } = {}) {
3693
3693
  }
3694
3694
  }
3695
3695
  function w_(e, t) {
3696
- if (yo(e))
3696
+ if (So(e))
3697
3697
  return null;
3698
3698
  t = t.toLowerCase();
3699
3699
  const n = Object.keys(e);
@@ -3703,17 +3703,17 @@ function w_(e, t) {
3703
3703
  return s;
3704
3704
  return null;
3705
3705
  }
3706
- const es = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, C_ = (e) => !uo(e) && e !== es;
3706
+ const es = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : global, C_ = (e) => !fo(e) && e !== es;
3707
3707
  function Zh(...e) {
3708
3708
  const { caseless: t, skipUndefined: n } = C_(this) && this || {}, r = {}, s = (a, u) => {
3709
3709
  if (u === "__proto__" || u === "constructor" || u === "prototype")
3710
3710
  return;
3711
3711
  const l = t && typeof u == "string" && w_(r, u) || u, d = oc(r, l) ? r[l] : void 0;
3712
- Wl(d) && Wl(a) ? r[l] = Zh(d, a) : Wl(a) ? r[l] = Zh({}, a) : ls(a) ? r[l] = a.slice() : (!n || !uo(a)) && (r[l] = a);
3712
+ Wl(d) && Wl(a) ? r[l] = Zh(d, a) : Wl(a) ? r[l] = Zh({}, a) : ls(a) ? r[l] = a.slice() : (!n || !fo(a)) && (r[l] = a);
3713
3713
  };
3714
3714
  for (let a = 0, u = e.length; a < u; a++) {
3715
3715
  const l = e[a];
3716
- if (!l || yo(l) || (nu(l, s), typeof l != "object" || ls(l)))
3716
+ if (!l || So(l) || (nu(l, s), typeof l != "object" || ls(l)))
3717
3717
  continue;
3718
3718
  const d = Object.getOwnPropertySymbols(l);
3719
3719
  for (let f = 0; f < d.length; f++) {
@@ -3761,7 +3761,7 @@ const LC = (e, t, n, { allOwnKeys: r } = {}) => (nu(
3761
3761
  do {
3762
3762
  for (s = Object.getOwnPropertyNames(e), a = s.length; a-- > 0; )
3763
3763
  u = s[a], (!r || r(u, e, t)) && !l[u] && (t[u] = e[u], l[u] = !0);
3764
- e = n !== !1 && ao(e);
3764
+ e = n !== !1 && co(e);
3765
3765
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
3766
3766
  return t;
3767
3767
  }, BC = (e, t, n) => {
@@ -3777,7 +3777,7 @@ const LC = (e, t, n, { allOwnKeys: r } = {}) => (nu(
3777
3777
  for (; t-- > 0; )
3778
3778
  n[t] = e[t];
3779
3779
  return n;
3780
- }, HC = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array != "undefined" && ao(Uint8Array)), jC = (e, t) => {
3780
+ }, HC = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array != "undefined" && co(Uint8Array)), jC = (e, t) => {
3781
3781
  const r = (e && e[tu]).call(e);
3782
3782
  let s;
3783
3783
  for (; (s = r.next()) && !s.done; ) {
@@ -3827,24 +3827,24 @@ function QC(e) {
3827
3827
  }
3828
3828
  const JC = (e) => {
3829
3829
  const t = /* @__PURE__ */ new WeakSet(), n = (r) => {
3830
- if (To(r)) {
3830
+ if (bo(r)) {
3831
3831
  if (t.has(r))
3832
3832
  return;
3833
- if (yo(r))
3833
+ if (So(r))
3834
3834
  return r;
3835
3835
  if (!("toJSON" in r)) {
3836
3836
  t.add(r);
3837
3837
  const s = ls(r) ? [] : {};
3838
3838
  return nu(r, (a, u) => {
3839
3839
  const l = n(a);
3840
- !uo(l) && (s[u] = l);
3840
+ !fo(l) && (s[u] = l);
3841
3841
  }), t.delete(r), s;
3842
3842
  }
3843
3843
  }
3844
3844
  return r;
3845
3845
  };
3846
3846
  return n(e);
3847
- }, ZC = hr("AsyncFunction"), eN = (e) => e && (To(e) || Nn(e)) && Nn(e.then) && Nn(e.catch), O_ = ((e, t) => e ? setImmediate : t ? ((n, r) => (es.addEventListener(
3847
+ }, ZC = hr("AsyncFunction"), eN = (e) => e && (bo(e) || Nn(e)) && Nn(e.then) && Nn(e.catch), O_ = ((e, t) => e ? setImmediate : t ? ((n, r) => (es.addEventListener(
3848
3848
  "message",
3849
3849
  ({ source: s, data: a }) => {
3850
3850
  s === es && a === n && r.length && r.shift()();
@@ -3855,20 +3855,20 @@ const JC = (e) => {
3855
3855
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", Nn(es.postMessage)), tN = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(es) : typeof process != "undefined" && process.nextTick || O_, I_ = (e) => e != null && Nn(e[tu]), nN = (e) => e != null && Ya(e, tu) && I_(e), Y = {
3856
3856
  isArray: ls,
3857
3857
  isArrayBuffer: v_,
3858
- isBuffer: yo,
3858
+ isBuffer: So,
3859
3859
  isFormData: CC,
3860
3860
  isArrayBufferView: mC,
3861
3861
  isString: gC,
3862
3862
  isNumber: A_,
3863
3863
  isBoolean: EC,
3864
- isObject: To,
3864
+ isObject: bo,
3865
3865
  isPlainObject: Wl,
3866
3866
  isEmptyObject: yC,
3867
3867
  isReadableStream: OC,
3868
3868
  isRequest: IC,
3869
3869
  isResponse: kC,
3870
3870
  isHeaders: PC,
3871
- isUndefined: uo,
3871
+ isUndefined: fo,
3872
3872
  isDate: TC,
3873
3873
  isFile: _C,
3874
3874
  isReactNativeBlob: SC,
@@ -4536,7 +4536,7 @@ function B_(e) {
4536
4536
  }
4537
4537
  return null;
4538
4538
  }
4539
- const qs = (e, t) => e != null && Y.hasOwnProp(e, t) ? e[t] : void 0;
4539
+ const Gs = (e, t) => e != null && Y.hasOwnProp(e, t) ? e[t] : void 0;
4540
4540
  function PN(e, t, n) {
4541
4541
  if (Y.isString(e))
4542
4542
  try {
@@ -4563,11 +4563,11 @@ const ru = {
4563
4563
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
4564
4564
  let l;
4565
4565
  if (a) {
4566
- const d = qs(this, "formSerializer");
4566
+ const d = Gs(this, "formSerializer");
4567
4567
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
4568
4568
  return ON(t, d).toString();
4569
4569
  if ((l = Y.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
4570
- const f = qs(this, "env"), p = f && f.FormData;
4570
+ const f = Gs(this, "env"), p = f && f.FormData;
4571
4571
  return Rc(
4572
4572
  l ? { "files[]": t } : t,
4573
4573
  p && new p(),
@@ -4580,16 +4580,16 @@ const ru = {
4580
4580
  ],
4581
4581
  transformResponse: [
4582
4582
  function(t) {
4583
- const n = qs(this, "transitional") || ru.transitional, r = n && n.forcedJSONParsing, s = qs(this, "responseType"), a = s === "json";
4583
+ const n = Gs(this, "transitional") || ru.transitional, r = n && n.forcedJSONParsing, s = Gs(this, "responseType"), a = s === "json";
4584
4584
  if (Y.isResponse(t) || Y.isReadableStream(t))
4585
4585
  return t;
4586
4586
  if (t && Y.isString(t) && (r && !s || a)) {
4587
4587
  const l = !(n && n.silentJSONParsing) && a;
4588
4588
  try {
4589
- return JSON.parse(t, qs(this, "parseReviver"));
4589
+ return JSON.parse(t, Gs(this, "parseReviver"));
4590
4590
  } catch (d) {
4591
4591
  if (l)
4592
- throw d.name === "SyntaxError" ? Oe.from(d, Oe.ERR_BAD_RESPONSE, this, null, qs(this, "response")) : d;
4592
+ throw d.name === "SyntaxError" ? Oe.from(d, Oe.ERR_BAD_RESPONSE, this, null, Gs(this, "response")) : d;
4593
4593
  }
4594
4594
  }
4595
4595
  return t;
@@ -5919,23 +5919,23 @@ Dt.getAdapter = V_.getAdapter;
5919
5919
  Dt.HttpStatusCode = np;
5920
5920
  Dt.default = Dt;
5921
5921
  const {
5922
- Axios: lH,
5923
- AxiosError: cH,
5924
- CanceledError: dH,
5925
- isCancel: fH,
5926
- CancelToken: hH,
5927
- VERSION: pH,
5928
- all: mH,
5929
- Cancel: gH,
5930
- isAxiosError: EH,
5931
- spread: yH,
5932
- toFormData: TH,
5933
- AxiosHeaders: _H,
5934
- HttpStatusCode: SH,
5935
- formToJSON: bH,
5936
- getAdapter: xH,
5937
- mergeConfig: vH,
5938
- create: AH
5922
+ Axios: cH,
5923
+ AxiosError: dH,
5924
+ CanceledError: fH,
5925
+ isCancel: hH,
5926
+ CancelToken: pH,
5927
+ VERSION: mH,
5928
+ all: gH,
5929
+ Cancel: EH,
5930
+ isAxiosError: yH,
5931
+ spread: TH,
5932
+ toFormData: _H,
5933
+ AxiosHeaders: SH,
5934
+ HttpStatusCode: bH,
5935
+ formToJSON: xH,
5936
+ getAdapter: vH,
5937
+ mergeConfig: AH,
5938
+ create: wH
5939
5939
  } = Dt;
5940
5940
  class dO {
5941
5941
  constructor(t, n, r, s = !1, a, u) {
@@ -7065,7 +7065,7 @@ function nI() {
7065
7065
  );
7066
7066
  return os;
7067
7067
  }
7068
- const Ys = /* @__PURE__ */ Symbol("initialization-cancelled"), rI = 3e4, iI = ({
7068
+ const Xs = /* @__PURE__ */ Symbol("initialization-cancelled"), rI = 3e4, iI = ({
7069
7069
  scrt2Url: e,
7070
7070
  orgId: t,
7071
7071
  esDeveloperName: n,
@@ -7202,7 +7202,7 @@ const Ys = /* @__PURE__ */ Symbol("initialization-cancelled"), rI = 3e4, iI = ({
7202
7202
  });
7203
7203
  const we = (pe) => {
7204
7204
  if (pe !== he.current)
7205
- throw Ys;
7205
+ throw Xs;
7206
7206
  }, Ne = (pe) => pe === he.current, _e = (pe) => De(null, null, function* () {
7207
7207
  N(!1);
7208
7208
  let Fe = Z.getStoredConnectOptions(), st = !1;
@@ -7210,12 +7210,12 @@ const Ys = /* @__PURE__ */ Symbol("initialization-cancelled"), rI = 3e4, iI = ({
7210
7210
  let In = !1;
7211
7211
  try {
7212
7212
  if (yield se.connect(Fe != null ? Fe : void 0), !Ne(pe))
7213
- throw se.disconnect(), Ys;
7213
+ throw se.disconnect(), Xs;
7214
7214
  In = !!(Fe != null && Fe.lastEventId);
7215
7215
  } catch (kn) {
7216
7216
  if (we(pe), Fe && hh(kn)) {
7217
7217
  if (y == null || y.log("Stored token expired on connect — falling back to fresh connect"), st || Z.clearPersistedConversation(), yield se.connect(), !Ne(pe))
7218
- throw se.disconnect(), Ys;
7218
+ throw se.disconnect(), Xs;
7219
7219
  In = !1;
7220
7220
  } else
7221
7221
  throw kn;
@@ -7230,7 +7230,7 @@ const Ys = /* @__PURE__ */ Symbol("initialization-cancelled"), rI = 3e4, iI = ({
7230
7230
  outcome: wt.outcome,
7231
7231
  restoredMessages: wt.restoredMessages.length
7232
7232
  }), wt.outcome === "aborted")
7233
- throw x({ type: "SET_LOADING", isLoading: !1 }), x({ type: "SET_CONNECTION_STATUS", status: "disconnected" }), Ys;
7233
+ throw x({ type: "SET_LOADING", isLoading: !1 }), x({ type: "SET_CONNECTION_STATUS", status: "disconnected" }), Xs;
7234
7234
  if (wt.outcome === "unverified-error") {
7235
7235
  wt.conversationId && (se.resumeConversation(wt.conversationId), x({ type: "SET_CONVERSATION_ID", id: wt.conversationId })), N(!0);
7236
7236
  return;
@@ -7245,7 +7245,7 @@ const Ys = /* @__PURE__ */ Symbol("initialization-cancelled"), rI = 3e4, iI = ({
7245
7245
  if (Re.current) return Promise.resolve();
7246
7246
  if (R.current)
7247
7247
  return Ce.current === he.current ? R.current : R.current.catch((_e) => {
7248
- if (_e !== Ys) throw _e;
7248
+ if (_e !== Xs) throw _e;
7249
7249
  }).then(() => je.current());
7250
7250
  const se = ee.current;
7251
7251
  if (!se) return Promise.reject(new Error("Messaging is unavailable"));
@@ -7256,7 +7256,7 @@ const Ys = /* @__PURE__ */ Symbol("initialization-cancelled"), rI = 3e4, iI = ({
7256
7256
  Re.current = !0, D(!0);
7257
7257
  }).catch((_e) => {
7258
7258
  var Fe;
7259
- if (_e === Ys)
7259
+ if (_e === Xs)
7260
7260
  throw _e;
7261
7261
  const pe = _e instanceof Error ? _e.message : String(_e);
7262
7262
  throw x({ type: "SET_CONNECTION_STATUS", status: "error" }), x({ type: "SET_ERROR", error: $r(_e) }), (Fe = K.current) == null || Fe.call(K, pe), _e;
@@ -7665,8 +7665,8 @@ function ar(e, ...t) {
7665
7665
  `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`
7666
7666
  );
7667
7667
  }
7668
- var lo = Object.getPrototypeOf;
7669
- function co(e) {
7668
+ var ho = Object.getPrototypeOf;
7669
+ function po(e) {
7670
7670
  return !!e && !!e[Hn];
7671
7671
  }
7672
7672
  function ds(e) {
@@ -7677,7 +7677,7 @@ var sI = Object.prototype.constructor.toString();
7677
7677
  function sS(e) {
7678
7678
  if (!e || typeof e != "object")
7679
7679
  return !1;
7680
- const t = lo(e);
7680
+ const t = ho(e);
7681
7681
  if (t === null)
7682
7682
  return !0;
7683
7683
  const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
@@ -7733,9 +7733,9 @@ function op(e, t) {
7733
7733
  value: e[u]
7734
7734
  });
7735
7735
  }
7736
- return Object.create(lo(e), r);
7736
+ return Object.create(ho(e), r);
7737
7737
  } else {
7738
- const r = lo(e);
7738
+ const r = ho(e);
7739
7739
  if (r !== null && n)
7740
7740
  return U({}, e);
7741
7741
  const s = Object.create(r);
@@ -7743,7 +7743,7 @@ function op(e, t) {
7743
7743
  }
7744
7744
  }
7745
7745
  function cm(e, t = !1) {
7746
- return Bc(e) || co(e) || !ds(e) || (Mc(e) > 1 && Object.defineProperties(e, {
7746
+ return Bc(e) || po(e) || !ds(e) || (Mc(e) > 1 && Object.defineProperties(e, {
7747
7747
  set: { value: Il },
7748
7748
  add: { value: Il },
7749
7749
  clear: { value: Il },
@@ -7832,10 +7832,10 @@ function dc(e, t, n) {
7832
7832
  return r.copy_;
7833
7833
  }
7834
7834
  function UE(e, t, n, r, s, a, u) {
7835
- if (co(s)) {
7835
+ if (po(s)) {
7836
7836
  const l = a && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
7837
7837
  !sp(t.assigned_, r) ? a.concat(r) : void 0, d = dc(e, s, l);
7838
- if (oS(n, r, d), co(d))
7838
+ if (oS(n, r, d), po(d))
7839
7839
  e.canAutoFreeze_ = !1;
7840
7840
  else
7841
7841
  return;
@@ -7928,7 +7928,7 @@ var dm = {
7928
7928
  ar(11);
7929
7929
  },
7930
7930
  getPrototypeOf(e) {
7931
- return lo(e.base_);
7931
+ return ho(e.base_);
7932
7932
  },
7933
7933
  setPrototypeOf() {
7934
7934
  ar(12);
@@ -7961,12 +7961,12 @@ function dI(e, t, n) {
7961
7961
  function uS(e, t) {
7962
7962
  if (!(t in e))
7963
7963
  return;
7964
- let n = lo(e);
7964
+ let n = ho(e);
7965
7965
  for (; n; ) {
7966
7966
  const r = Object.getOwnPropertyDescriptor(n, t);
7967
7967
  if (r)
7968
7968
  return r;
7969
- n = lo(n);
7969
+ n = ho(n);
7970
7970
  }
7971
7971
  }
7972
7972
  function lp(e) {
@@ -8018,7 +8018,7 @@ var fI = class {
8018
8018
  }, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
8019
8019
  }
8020
8020
  createDraft(e) {
8021
- ds(e) || ar(8), co(e) && (e = hI(e));
8021
+ ds(e) || ar(8), po(e) && (e = hI(e));
8022
8022
  const t = FE(this), n = cp(e, void 0);
8023
8023
  return n[Hn].isManual_ = !0, up(t), n;
8024
8024
  }
@@ -8055,7 +8055,7 @@ var fI = class {
8055
8055
  }
8056
8056
  n > -1 && (t = t.slice(n + 1));
8057
8057
  const r = fs("Patches").applyPatches_;
8058
- return co(e) ? r(e, t) : this.produce(
8058
+ return po(e) ? r(e, t) : this.produce(
8059
8059
  e,
8060
8060
  (s) => r(s, t)
8061
8061
  );
@@ -8066,7 +8066,7 @@ function cp(e, t) {
8066
8066
  return (t ? t.scope_ : aS()).drafts_.push(n), n;
8067
8067
  }
8068
8068
  function hI(e) {
8069
- return co(e) || ar(10, e), lS(e);
8069
+ return po(e) || ar(10, e), lS(e);
8070
8070
  }
8071
8071
  function lS(e) {
8072
8072
  if (!ds(e) || Bc(e))
@@ -9626,23 +9626,23 @@ function NI() {
9626
9626
  for (Zr !== null && Yo(Zr, i), ei !== null && Yo(ei, i), ti !== null && Yo(ti, i), zo.forEach(o), Vo.forEach(o), c = 0; c < ni.length; c++) h = ni[c], h.blockedOn === i && (h.blockedOn = null);
9627
9627
  for (; 0 < ni.length && (c = ni[0], c.blockedOn === null); ) D0(c), c.blockedOn === null && ni.shift();
9628
9628
  }
9629
- var bs = j.ReactCurrentBatchConfig, wu = !0;
9629
+ var As = j.ReactCurrentBatchConfig, wu = !0;
9630
9630
  function ov(i, o, c, h) {
9631
- var E = ht, _ = bs.transition;
9632
- bs.transition = null;
9631
+ var E = ht, _ = As.transition;
9632
+ As.transition = null;
9633
9633
  try {
9634
9634
  ht = 1, bd(i, o, c, h);
9635
9635
  } finally {
9636
- ht = E, bs.transition = _;
9636
+ ht = E, As.transition = _;
9637
9637
  }
9638
9638
  }
9639
9639
  function av(i, o, c, h) {
9640
- var E = ht, _ = bs.transition;
9641
- bs.transition = null;
9640
+ var E = ht, _ = As.transition;
9641
+ As.transition = null;
9642
9642
  try {
9643
9643
  ht = 4, bd(i, o, c, h);
9644
9644
  } finally {
9645
- ht = E, bs.transition = _;
9645
+ ht = E, As.transition = _;
9646
9646
  }
9647
9647
  }
9648
9648
  function bd(i, o, c, h) {
@@ -9799,17 +9799,17 @@ function NI() {
9799
9799
  }, persist: function() {
9800
9800
  }, isPersistent: Iu }), o;
9801
9801
  }
9802
- var xs = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(i) {
9802
+ var ws = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(i) {
9803
9803
  return i.timeStamp || Date.now();
9804
- }, defaultPrevented: 0, isTrusted: 0 }, Ad = Pn(xs), Go = C({}, xs, { view: 0, detail: 0 }), uv = Pn(Go), wd, Cd, Xo, ku = C({}, Go, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Od, button: 0, buttons: 0, relatedTarget: function(i) {
9804
+ }, defaultPrevented: 0, isTrusted: 0 }, Ad = Pn(ws), Go = C({}, ws, { view: 0, detail: 0 }), uv = Pn(Go), wd, Cd, Xo, ku = C({}, Go, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: Od, button: 0, buttons: 0, relatedTarget: function(i) {
9805
9805
  return i.relatedTarget === void 0 ? i.fromElement === i.srcElement ? i.toElement : i.fromElement : i.relatedTarget;
9806
9806
  }, movementX: function(i) {
9807
9807
  return "movementX" in i ? i.movementX : (i !== Xo && (Xo && i.type === "mousemove" ? (wd = i.screenX - Xo.screenX, Cd = i.screenY - Xo.screenY) : Cd = wd = 0, Xo = i), wd);
9808
9808
  }, movementY: function(i) {
9809
9809
  return "movementY" in i ? i.movementY : Cd;
9810
- } }), H0 = Pn(ku), lv = C({}, ku, { dataTransfer: 0 }), cv = Pn(lv), dv = C({}, Go, { relatedTarget: 0 }), Nd = Pn(dv), fv = C({}, xs, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), hv = Pn(fv), pv = C({}, xs, { clipboardData: function(i) {
9810
+ } }), H0 = Pn(ku), lv = C({}, ku, { dataTransfer: 0 }), cv = Pn(lv), dv = C({}, Go, { relatedTarget: 0 }), Nd = Pn(dv), fv = C({}, ws, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), hv = Pn(fv), pv = C({}, ws, { clipboardData: function(i) {
9811
9811
  return "clipboardData" in i ? i.clipboardData : window.clipboardData;
9812
- } }), mv = Pn(pv), gv = C({}, xs, { data: 0 }), j0 = Pn(gv), Ev = {
9812
+ } }), mv = Pn(pv), gv = C({}, ws, { data: 0 }), j0 = Pn(gv), Ev = {
9813
9813
  Esc: "Escape",
9814
9814
  Spacebar: " ",
9815
9815
  Left: "ArrowLeft",
@@ -9879,7 +9879,7 @@ function NI() {
9879
9879
  return i.type === "keydown" || i.type === "keyup" ? i.keyCode : 0;
9880
9880
  }, which: function(i) {
9881
9881
  return i.type === "keypress" ? Ou(i) : i.type === "keydown" || i.type === "keyup" ? i.keyCode : 0;
9882
- } }), bv = Pn(Sv), xv = C({}, ku, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), $0 = Pn(xv), vv = C({}, Go, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Od }), Av = Pn(vv), wv = C({}, xs, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Cv = Pn(wv), Nv = C({}, ku, {
9882
+ } }), bv = Pn(Sv), xv = C({}, ku, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), $0 = Pn(xv), vv = C({}, Go, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Od }), Av = Pn(vv), wv = C({}, ws, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Cv = Pn(wv), Nv = C({}, ku, {
9883
9883
  deltaX: function(i) {
9884
9884
  return "deltaX" in i ? i.deltaX : "wheelDeltaX" in i ? -i.wheelDeltaX : 0;
9885
9885
  },
@@ -9908,7 +9908,7 @@ function NI() {
9908
9908
  function W0(i) {
9909
9909
  return i = i.detail, typeof i == "object" && "data" in i ? i.data : null;
9910
9910
  }
9911
- var vs = !1;
9911
+ var Cs = !1;
9912
9912
  function Pv(i, o) {
9913
9913
  switch (i) {
9914
9914
  case "compositionend":
@@ -9922,7 +9922,7 @@ function NI() {
9922
9922
  }
9923
9923
  }
9924
9924
  function Rv(i, o) {
9925
- if (vs) return i === "compositionend" || !Id && Y0(i, o) ? (i = B0(), Nu = vd = ri = null, vs = !1, i) : null;
9925
+ if (Cs) return i === "compositionend" || !Id && Y0(i, o) ? (i = B0(), Nu = vd = ri = null, Cs = !1, i) : null;
9926
9926
  switch (i) {
9927
9927
  case "paste":
9928
9928
  return null;
@@ -9951,7 +9951,7 @@ function NI() {
9951
9951
  hg(i, 0);
9952
9952
  }
9953
9953
  function Pu(i) {
9954
- var o = Os(i);
9954
+ var o = Ps(i);
9955
9955
  if (pt(o)) return i;
9956
9956
  }
9957
9957
  function Mv(i, o) {
@@ -10071,21 +10071,21 @@ function NI() {
10071
10071
  for (typeof c.focus == "function" && c.focus(), c = 0; c < o.length; c++) i = o[c], i.element.scrollLeft = i.left, i.element.scrollTop = i.top;
10072
10072
  }
10073
10073
  }
10074
- var zv = l && "documentMode" in document && 11 >= document.documentMode, As = null, Ld = null, ea = null, Dd = !1;
10074
+ var zv = l && "documentMode" in document && 11 >= document.documentMode, Ns = null, Ld = null, ea = null, Dd = !1;
10075
10075
  function ig(i, o, c) {
10076
10076
  var h = c.window === c ? c.document : c.nodeType === 9 ? c : c.ownerDocument;
10077
- Dd || As == null || As !== Qt(h) || (h = As, "selectionStart" in h && Rd(h) ? h = { start: h.selectionStart, end: h.selectionEnd } : (h = (h.ownerDocument && h.ownerDocument.defaultView || window).getSelection(), h = { anchorNode: h.anchorNode, anchorOffset: h.anchorOffset, focusNode: h.focusNode, focusOffset: h.focusOffset }), ea && Zo(ea, h) || (ea = h, h = Mu(Ld, "onSelect"), 0 < h.length && (o = new Ad("onSelect", "select", null, o, c), i.push({ event: o, listeners: h }), o.target = As)));
10077
+ Dd || Ns == null || Ns !== Qt(h) || (h = Ns, "selectionStart" in h && Rd(h) ? h = { start: h.selectionStart, end: h.selectionEnd } : (h = (h.ownerDocument && h.ownerDocument.defaultView || window).getSelection(), h = { anchorNode: h.anchorNode, anchorOffset: h.anchorOffset, focusNode: h.focusNode, focusOffset: h.focusOffset }), ea && Zo(ea, h) || (ea = h, h = Mu(Ld, "onSelect"), 0 < h.length && (o = new Ad("onSelect", "select", null, o, c), i.push({ event: o, listeners: h }), o.target = Ns)));
10078
10078
  }
10079
10079
  function Ru(i, o) {
10080
10080
  var c = {};
10081
10081
  return c[i.toLowerCase()] = o.toLowerCase(), c["Webkit" + i] = "webkit" + o, c["Moz" + i] = "moz" + o, c;
10082
10082
  }
10083
- var ws = { animationend: Ru("Animation", "AnimationEnd"), animationiteration: Ru("Animation", "AnimationIteration"), animationstart: Ru("Animation", "AnimationStart"), transitionend: Ru("Transition", "TransitionEnd") }, Md = {}, sg = {};
10084
- l && (sg = document.createElement("div").style, "AnimationEvent" in window || (delete ws.animationend.animation, delete ws.animationiteration.animation, delete ws.animationstart.animation), "TransitionEvent" in window || delete ws.transitionend.transition);
10083
+ var Os = { animationend: Ru("Animation", "AnimationEnd"), animationiteration: Ru("Animation", "AnimationIteration"), animationstart: Ru("Animation", "AnimationStart"), transitionend: Ru("Transition", "TransitionEnd") }, Md = {}, sg = {};
10084
+ l && (sg = document.createElement("div").style, "AnimationEvent" in window || (delete Os.animationend.animation, delete Os.animationiteration.animation, delete Os.animationstart.animation), "TransitionEvent" in window || delete Os.transitionend.transition);
10085
10085
  function Lu(i) {
10086
10086
  if (Md[i]) return Md[i];
10087
- if (!ws[i]) return i;
10088
- var o = ws[i], c;
10087
+ if (!Os[i]) return i;
10088
+ var o = Os[i], c;
10089
10089
  for (c in o) if (o.hasOwnProperty(c) && c in sg) return Md[i] = o[c];
10090
10090
  return i;
10091
10091
  }
@@ -10275,14 +10275,14 @@ function NI() {
10275
10275
  e: {
10276
10276
  if (me = i === "mouseover" || i === "pointerover", Ie = i === "mouseout" || i === "pointerout", me && c !== Fe && (Le = c.relatedTarget || c.fromElement) && (Di(Le) || Le[Lr])) break e;
10277
10277
  if ((Ie || me) && (me = Ee.window === Ee ? Ee : (me = Ee.ownerDocument) ? me.defaultView || me.parentWindow : window, Ie ? (Le = c.relatedTarget || c.toElement, Ie = ne, Le = Le ? Di(Le) : null, Le !== null && (Rt = Li(Le), Le !== Rt || Le.tag !== 5 && Le.tag !== 6) && (Le = null)) : (Ie = null, Le = ne), Ie !== Le)) {
10278
- if (Me = H0, be = "onMouseLeave", G = "onMouseEnter", q = "mouse", (i === "pointerout" || i === "pointerover") && (Me = $0, be = "onPointerLeave", G = "onPointerEnter", q = "pointer"), Rt = Ie == null ? me : Os(Ie), J = Le == null ? me : Os(Le), me = new Me(be, q + "leave", Ie, c, Ee), me.target = Rt, me.relatedTarget = J, be = null, Di(Ee) === ne && (Me = new Me(G, q + "enter", Le, c, Ee), Me.target = J, Me.relatedTarget = Rt, be = Me), Rt = be, Ie && Le) t: {
10279
- for (Me = Ie, G = Le, q = 0, J = Me; J; J = Cs(J)) q++;
10280
- for (J = 0, be = G; be; be = Cs(be)) J++;
10281
- for (; 0 < q - J; ) Me = Cs(Me), q--;
10282
- for (; 0 < J - q; ) G = Cs(G), J--;
10278
+ if (Me = H0, be = "onMouseLeave", G = "onMouseEnter", q = "mouse", (i === "pointerout" || i === "pointerover") && (Me = $0, be = "onPointerLeave", G = "onPointerEnter", q = "pointer"), Rt = Ie == null ? me : Ps(Ie), J = Le == null ? me : Ps(Le), me = new Me(be, q + "leave", Ie, c, Ee), me.target = Rt, me.relatedTarget = J, be = null, Di(Ee) === ne && (Me = new Me(G, q + "enter", Le, c, Ee), Me.target = J, Me.relatedTarget = Rt, be = Me), Rt = be, Ie && Le) t: {
10279
+ for (Me = Ie, G = Le, q = 0, J = Me; J; J = Is(J)) q++;
10280
+ for (J = 0, be = G; be; be = Is(be)) J++;
10281
+ for (; 0 < q - J; ) Me = Is(Me), q--;
10282
+ for (; 0 < J - q; ) G = Is(G), J--;
10283
10283
  for (; q--; ) {
10284
10284
  if (Me === G || G !== null && Me === G.alternate) break t;
10285
- Me = Cs(Me), G = Cs(G);
10285
+ Me = Is(Me), G = Is(G);
10286
10286
  }
10287
10287
  Me = null;
10288
10288
  }
@@ -10291,7 +10291,7 @@ function NI() {
10291
10291
  }
10292
10292
  }
10293
10293
  e: {
10294
- if (me = ne ? Os(ne) : window, Ie = me.nodeName && me.nodeName.toLowerCase(), Ie === "select" || Ie === "input" && me.type === "file") var Be = Mv;
10294
+ if (me = ne ? Ps(ne) : window, Ie = me.nodeName && me.nodeName.toLowerCase(), Ie === "select" || Ie === "input" && me.type === "file") var Be = Mv;
10295
10295
  else if (G0(me)) if (K0) Be = Hv;
10296
10296
  else {
10297
10297
  Be = Bv;
@@ -10304,12 +10304,12 @@ function NI() {
10304
10304
  }
10305
10305
  $e && $e(i, me, ne), i === "focusout" && ($e = me._wrapperState) && $e.controlled && me.type === "number" && ke(me, "number", me.value);
10306
10306
  }
10307
- switch ($e = ne ? Os(ne) : window, i) {
10307
+ switch ($e = ne ? Ps(ne) : window, i) {
10308
10308
  case "focusin":
10309
- (G0($e) || $e.contentEditable === "true") && (As = $e, Ld = ne, ea = null);
10309
+ (G0($e) || $e.contentEditable === "true") && (Ns = $e, Ld = ne, ea = null);
10310
10310
  break;
10311
10311
  case "focusout":
10312
- ea = Ld = As = null;
10312
+ ea = Ld = Ns = null;
10313
10313
  break;
10314
10314
  case "mousedown":
10315
10315
  Dd = !0;
@@ -10340,8 +10340,8 @@ function NI() {
10340
10340
  }
10341
10341
  Ye = void 0;
10342
10342
  }
10343
- else vs ? Y0(i, c) && (Ye = "onCompositionEnd") : i === "keydown" && c.keyCode === 229 && (Ye = "onCompositionStart");
10344
- Ye && (z0 && c.locale !== "ko" && (vs || Ye !== "onCompositionStart" ? Ye === "onCompositionEnd" && vs && (ze = B0()) : (ri = Ee, vd = "value" in ri ? ri.value : ri.textContent, vs = !0)), $e = Mu(ne, Ye), 0 < $e.length && (Ye = new j0(Ye, i, null, c, Ee), ye.push({ event: Ye, listeners: $e }), ze ? Ye.data = ze : (ze = W0(c), ze !== null && (Ye.data = ze)))), (ze = kv ? Pv(i, c) : Rv(i, c)) && (ne = Mu(ne, "onBeforeInput"), 0 < ne.length && (Ee = new j0("onBeforeInput", "beforeinput", null, c, Ee), ye.push({ event: Ee, listeners: ne }), Ee.data = ze));
10343
+ else Cs ? Y0(i, c) && (Ye = "onCompositionEnd") : i === "keydown" && c.keyCode === 229 && (Ye = "onCompositionStart");
10344
+ Ye && (z0 && c.locale !== "ko" && (Cs || Ye !== "onCompositionStart" ? Ye === "onCompositionEnd" && Cs && (ze = B0()) : (ri = Ee, vd = "value" in ri ? ri.value : ri.textContent, Cs = !0)), $e = Mu(ne, Ye), 0 < $e.length && (Ye = new j0(Ye, i, null, c, Ee), ye.push({ event: Ye, listeners: $e }), ze ? Ye.data = ze : (ze = W0(c), ze !== null && (Ye.data = ze)))), (ze = kv ? Pv(i, c) : Rv(i, c)) && (ne = Mu(ne, "onBeforeInput"), 0 < ne.length && (Ee = new j0("onBeforeInput", "beforeinput", null, c, Ee), ye.push({ event: Ee, listeners: ne }), Ee.data = ze));
10345
10345
  }
10346
10346
  hg(ye, o);
10347
10347
  });
@@ -10356,7 +10356,7 @@ function NI() {
10356
10356
  }
10357
10357
  return h;
10358
10358
  }
10359
- function Cs(i) {
10359
+ function Is(i) {
10360
10360
  if (i === null) return null;
10361
10361
  do
10362
10362
  i = i.return;
@@ -10433,7 +10433,7 @@ function NI() {
10433
10433
  }
10434
10434
  return null;
10435
10435
  }
10436
- var Ns = Math.random().toString(36).slice(2), gr = "__reactFiber$" + Ns, ia = "__reactProps$" + Ns, Lr = "__reactContainer$" + Ns, Yd = "__reactEvents$" + Ns, Jv = "__reactListeners$" + Ns, Zv = "__reactHandles$" + Ns;
10436
+ var ks = Math.random().toString(36).slice(2), gr = "__reactFiber$" + ks, ia = "__reactProps$" + ks, Lr = "__reactContainer$" + ks, Yd = "__reactEvents$" + ks, Jv = "__reactListeners$" + ks, Zv = "__reactHandles$" + ks;
10437
10437
  function Di(i) {
10438
10438
  var o = i[gr];
10439
10439
  if (o) return o;
@@ -10452,25 +10452,25 @@ function NI() {
10452
10452
  function sa(i) {
10453
10453
  return i = i[gr] || i[Lr], !i || i.tag !== 5 && i.tag !== 6 && i.tag !== 13 && i.tag !== 3 ? null : i;
10454
10454
  }
10455
- function Os(i) {
10455
+ function Ps(i) {
10456
10456
  if (i.tag === 5 || i.tag === 6) return i.stateNode;
10457
10457
  throw Error(n(33));
10458
10458
  }
10459
10459
  function Uu(i) {
10460
10460
  return i[ia] || null;
10461
10461
  }
10462
- var Wd = [], Is = -1;
10462
+ var Wd = [], Rs = -1;
10463
10463
  function oi(i) {
10464
10464
  return { current: i };
10465
10465
  }
10466
10466
  function St(i) {
10467
- 0 > Is || (i.current = Wd[Is], Wd[Is] = null, Is--);
10467
+ 0 > Rs || (i.current = Wd[Rs], Wd[Rs] = null, Rs--);
10468
10468
  }
10469
10469
  function yt(i, o) {
10470
- Is++, Wd[Is] = i.current, i.current = o;
10470
+ Rs++, Wd[Rs] = i.current, i.current = o;
10471
10471
  }
10472
10472
  var ai = {}, nn = oi(ai), yn = oi(!1), Mi = ai;
10473
- function ks(i, o) {
10473
+ function Ls(i, o) {
10474
10474
  var c = i.type.contextTypes;
10475
10475
  if (!c) return ai;
10476
10476
  var h = i.stateNode;
@@ -10532,9 +10532,9 @@ function NI() {
10532
10532
  }
10533
10533
  return null;
10534
10534
  }
10535
- var Ps = [], Rs = 0, zu = null, Vu = 0, $n = [], zn = 0, Fi = null, Mr = 1, Fr = "";
10535
+ var Ds = [], Ms = 0, zu = null, Vu = 0, $n = [], zn = 0, Fi = null, Mr = 1, Fr = "";
10536
10536
  function Bi(i, o) {
10537
- Ps[Rs++] = Vu, Ps[Rs++] = zu, zu = i, Vu = o;
10537
+ Ds[Ms++] = Vu, Ds[Ms++] = zu, zu = i, Vu = o;
10538
10538
  }
10539
10539
  function xg(i, o, c) {
10540
10540
  $n[zn++] = Mr, $n[zn++] = Fr, $n[zn++] = Fi, Fi = i;
@@ -10552,7 +10552,7 @@ function NI() {
10552
10552
  i.return !== null && (Bi(i, 1), xg(i, 1, 0));
10553
10553
  }
10554
10554
  function Kd(i) {
10555
- for (; i === zu; ) zu = Ps[--Rs], Ps[Rs] = null, Vu = Ps[--Rs], Ps[Rs] = null;
10555
+ for (; i === zu; ) zu = Ds[--Ms], Ds[Ms] = null, Vu = Ds[--Ms], Ds[Ms] = null;
10556
10556
  for (; i === Fi; ) Fi = $n[--zn], $n[zn] = null, Fr = $n[--zn], $n[zn] = null, Mr = $n[--zn], $n[zn] = null;
10557
10557
  }
10558
10558
  var Rn = null, Ln = null, xt = !1, tr = null;
@@ -10629,7 +10629,7 @@ function NI() {
10629
10629
  function Cg() {
10630
10630
  for (var i = Ln; i; ) i = si(i.nextSibling);
10631
10631
  }
10632
- function Ls() {
10632
+ function Fs() {
10633
10633
  Ln = Rn = null, xt = !1;
10634
10634
  }
10635
10635
  function Zd(i) {
@@ -10853,9 +10853,9 @@ function NI() {
10853
10853
  }
10854
10854
  return Rt;
10855
10855
  }
10856
- var Ds = Og(!0), Ig = Og(!1), Wu = oi(null), Gu = null, Ms = null, ef = null;
10856
+ var Bs = Og(!0), Ig = Og(!1), Wu = oi(null), Gu = null, Us = null, ef = null;
10857
10857
  function tf() {
10858
- ef = Ms = Gu = null;
10858
+ ef = Us = Gu = null;
10859
10859
  }
10860
10860
  function nf(i) {
10861
10861
  var o = Wu.current;
@@ -10868,15 +10868,15 @@ function NI() {
10868
10868
  i = i.return;
10869
10869
  }
10870
10870
  }
10871
- function Fs(i, o) {
10872
- Gu = i, ef = Ms = null, i = i.dependencies, i !== null && i.firstContext !== null && ((i.lanes & o) !== 0 && (_n = !0), i.firstContext = null);
10871
+ function Hs(i, o) {
10872
+ Gu = i, ef = Us = null, i = i.dependencies, i !== null && i.firstContext !== null && ((i.lanes & o) !== 0 && (_n = !0), i.firstContext = null);
10873
10873
  }
10874
10874
  function Vn(i) {
10875
10875
  var o = i._currentValue;
10876
- if (ef !== i) if (i = { context: i, memoizedValue: o, next: null }, Ms === null) {
10876
+ if (ef !== i) if (i = { context: i, memoizedValue: o, next: null }, Us === null) {
10877
10877
  if (Gu === null) throw Error(n(308));
10878
- Ms = i, Gu.dependencies = { lanes: 0, firstContext: i };
10879
- } else Ms = Ms.next = i;
10878
+ Us = i, Gu.dependencies = { lanes: 0, firstContext: i };
10879
+ } else Us = Us.next = i;
10880
10880
  return o;
10881
10881
  }
10882
10882
  var Ui = null;
@@ -11020,7 +11020,7 @@ function NI() {
11020
11020
  }
11021
11021
  St(Er), yt(Er, o);
11022
11022
  }
11023
- function Bs() {
11023
+ function js() {
11024
11024
  St(Er), St(ua), St(la);
11025
11025
  }
11026
11026
  function Dg(i) {
@@ -11431,7 +11431,7 @@ function NI() {
11431
11431
  }
11432
11432
  function i1(i, o, c) {
11433
11433
  var h = !1, E = ai, _ = o.contextType;
11434
- return typeof _ == "object" && _ !== null ? _ = Vn(_) : (E = Tn(o) ? Mi : nn.current, h = o.contextTypes, _ = (h = h != null) ? ks(i, E) : ai), o = new o(c, _), i.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, o.updater = rl, i.stateNode = o, o._reactInternals = i, h && (i = i.stateNode, i.__reactInternalMemoizedUnmaskedChildContext = E, i.__reactInternalMemoizedMaskedChildContext = _), o;
11434
+ return typeof _ == "object" && _ !== null ? _ = Vn(_) : (E = Tn(o) ? Mi : nn.current, h = o.contextTypes, _ = (h = h != null) ? Ls(i, E) : ai), o = new o(c, _), i.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, o.updater = rl, i.stateNode = o, o._reactInternals = i, h && (i = i.stateNode, i.__reactInternalMemoizedUnmaskedChildContext = E, i.__reactInternalMemoizedMaskedChildContext = _), o;
11435
11435
  }
11436
11436
  function s1(i, o, c, h) {
11437
11437
  i = o.state, typeof o.componentWillReceiveProps == "function" && o.componentWillReceiveProps(c, h), typeof o.UNSAFE_componentWillReceiveProps == "function" && o.UNSAFE_componentWillReceiveProps(c, h), o.state !== i && rl.enqueueReplaceState(o, o.state, null);
@@ -11440,9 +11440,9 @@ function NI() {
11440
11440
  var E = i.stateNode;
11441
11441
  E.props = c, E.state = i.memoizedState, E.refs = {}, of(i);
11442
11442
  var _ = o.contextType;
11443
- typeof _ == "object" && _ !== null ? E.context = Vn(_) : (_ = Tn(o) ? Mi : nn.current, E.context = ks(i, _)), E.state = i.memoizedState, _ = o.getDerivedStateFromProps, typeof _ == "function" && (Tf(i, o, _, c), E.state = i.memoizedState), typeof o.getDerivedStateFromProps == "function" || typeof E.getSnapshotBeforeUpdate == "function" || typeof E.UNSAFE_componentWillMount != "function" && typeof E.componentWillMount != "function" || (o = E.state, typeof E.componentWillMount == "function" && E.componentWillMount(), typeof E.UNSAFE_componentWillMount == "function" && E.UNSAFE_componentWillMount(), o !== E.state && rl.enqueueReplaceState(E, E.state, null), Ku(i, c, E, h), E.state = i.memoizedState), typeof E.componentDidMount == "function" && (i.flags |= 4194308);
11443
+ typeof _ == "object" && _ !== null ? E.context = Vn(_) : (_ = Tn(o) ? Mi : nn.current, E.context = Ls(i, _)), E.state = i.memoizedState, _ = o.getDerivedStateFromProps, typeof _ == "function" && (Tf(i, o, _, c), E.state = i.memoizedState), typeof o.getDerivedStateFromProps == "function" || typeof E.getSnapshotBeforeUpdate == "function" || typeof E.UNSAFE_componentWillMount != "function" && typeof E.componentWillMount != "function" || (o = E.state, typeof E.componentWillMount == "function" && E.componentWillMount(), typeof E.UNSAFE_componentWillMount == "function" && E.UNSAFE_componentWillMount(), o !== E.state && rl.enqueueReplaceState(E, E.state, null), Ku(i, c, E, h), E.state = i.memoizedState), typeof E.componentDidMount == "function" && (i.flags |= 4194308);
11444
11444
  }
11445
- function Us(i, o) {
11445
+ function $s(i, o) {
11446
11446
  try {
11447
11447
  var c = "", h = o;
11448
11448
  do
@@ -11516,12 +11516,12 @@ Error generating stack: ` + _.message + `
11516
11516
  }
11517
11517
  var cA = j.ReactCurrentOwner, _n = !1;
11518
11518
  function hn(i, o, c, h) {
11519
- o.child = i === null ? Ig(o, null, c, h) : Ds(o, i.child, c, h);
11519
+ o.child = i === null ? Ig(o, null, c, h) : Bs(o, i.child, c, h);
11520
11520
  }
11521
11521
  function d1(i, o, c, h, E) {
11522
11522
  c = c.render;
11523
11523
  var _ = o.ref;
11524
- return Fs(o, E), h = hf(i, o, c, h, _, E), c = pf(), i !== null && !_n ? (o.updateQueue = i.updateQueue, o.flags &= -2053, i.lanes &= ~E, Hr(i, o, E)) : (xt && c && Xd(o), o.flags |= 1, hn(i, o, h, E), o.child);
11524
+ return Hs(o, E), h = hf(i, o, c, h, _, E), c = pf(), i !== null && !_n ? (o.updateQueue = i.updateQueue, o.flags &= -2053, i.lanes &= ~E, Hr(i, o, E)) : (xt && c && Xd(o), o.flags |= 1, hn(i, o, h, E), o.child);
11525
11525
  }
11526
11526
  function f1(i, o, c, h, E) {
11527
11527
  if (i === null) {
@@ -11544,12 +11544,12 @@ Error generating stack: ` + _.message + `
11544
11544
  }
11545
11545
  function p1(i, o, c) {
11546
11546
  var h = o.pendingProps, E = h.children, _ = i !== null ? i.memoizedState : null;
11547
- if (h.mode === "hidden") if ((o.mode & 1) === 0) o.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, yt(js, Dn), Dn |= c;
11547
+ if (h.mode === "hidden") if ((o.mode & 1) === 0) o.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, yt(Vs, Dn), Dn |= c;
11548
11548
  else {
11549
- if ((c & 1073741824) === 0) return i = _ !== null ? _.baseLanes | c : c, o.lanes = o.childLanes = 1073741824, o.memoizedState = { baseLanes: i, cachePool: null, transitions: null }, o.updateQueue = null, yt(js, Dn), Dn |= i, null;
11550
- o.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, h = _ !== null ? _.baseLanes : c, yt(js, Dn), Dn |= h;
11549
+ if ((c & 1073741824) === 0) return i = _ !== null ? _.baseLanes | c : c, o.lanes = o.childLanes = 1073741824, o.memoizedState = { baseLanes: i, cachePool: null, transitions: null }, o.updateQueue = null, yt(Vs, Dn), Dn |= i, null;
11550
+ o.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, h = _ !== null ? _.baseLanes : c, yt(Vs, Dn), Dn |= h;
11551
11551
  }
11552
- else _ !== null ? (h = _.baseLanes | c, o.memoizedState = null) : h = c, yt(js, Dn), Dn |= h;
11552
+ else _ !== null ? (h = _.baseLanes | c, o.memoizedState = null) : h = c, yt(Vs, Dn), Dn |= h;
11553
11553
  return hn(i, o, E, c), o.child;
11554
11554
  }
11555
11555
  function m1(i, o) {
@@ -11558,25 +11558,25 @@ Error generating stack: ` + _.message + `
11558
11558
  }
11559
11559
  function xf(i, o, c, h, E) {
11560
11560
  var _ = Tn(c) ? Mi : nn.current;
11561
- return _ = ks(o, _), Fs(o, E), c = hf(i, o, c, h, _, E), h = pf(), i !== null && !_n ? (o.updateQueue = i.updateQueue, o.flags &= -2053, i.lanes &= ~E, Hr(i, o, E)) : (xt && h && Xd(o), o.flags |= 1, hn(i, o, c, E), o.child);
11561
+ return _ = Ls(o, _), Hs(o, E), c = hf(i, o, c, h, _, E), h = pf(), i !== null && !_n ? (o.updateQueue = i.updateQueue, o.flags &= -2053, i.lanes &= ~E, Hr(i, o, E)) : (xt && h && Xd(o), o.flags |= 1, hn(i, o, c, E), o.child);
11562
11562
  }
11563
11563
  function g1(i, o, c, h, E) {
11564
11564
  if (Tn(c)) {
11565
11565
  var _ = !0;
11566
11566
  ju(o);
11567
11567
  } else _ = !1;
11568
- if (Fs(o, E), o.stateNode === null) sl(i, o), i1(o, c, h), _f(o, c, h, E), h = !0;
11568
+ if (Hs(o, E), o.stateNode === null) sl(i, o), i1(o, c, h), _f(o, c, h, E), h = !0;
11569
11569
  else if (i === null) {
11570
11570
  var A = o.stateNode, B = o.memoizedProps;
11571
11571
  A.props = B;
11572
11572
  var z = A.context, ne = c.contextType;
11573
- typeof ne == "object" && ne !== null ? ne = Vn(ne) : (ne = Tn(c) ? Mi : nn.current, ne = ks(o, ne));
11573
+ typeof ne == "object" && ne !== null ? ne = Vn(ne) : (ne = Tn(c) ? Mi : nn.current, ne = Ls(o, ne));
11574
11574
  var Ee = c.getDerivedStateFromProps, ye = typeof Ee == "function" || typeof A.getSnapshotBeforeUpdate == "function";
11575
11575
  ye || typeof A.UNSAFE_componentWillReceiveProps != "function" && typeof A.componentWillReceiveProps != "function" || (B !== h || z !== ne) && s1(o, A, h, ne), li = !1;
11576
11576
  var me = o.memoizedState;
11577
11577
  A.state = me, Ku(o, h, A, E), z = o.memoizedState, B !== h || me !== z || yn.current || li ? (typeof Ee == "function" && (Tf(o, c, Ee, h), z = o.memoizedState), (B = li || r1(o, c, B, h, me, z, ne)) ? (ye || typeof A.UNSAFE_componentWillMount != "function" && typeof A.componentWillMount != "function" || (typeof A.componentWillMount == "function" && A.componentWillMount(), typeof A.UNSAFE_componentWillMount == "function" && A.UNSAFE_componentWillMount()), typeof A.componentDidMount == "function" && (o.flags |= 4194308)) : (typeof A.componentDidMount == "function" && (o.flags |= 4194308), o.memoizedProps = h, o.memoizedState = z), A.props = h, A.state = z, A.context = ne, h = B) : (typeof A.componentDidMount == "function" && (o.flags |= 4194308), h = !1);
11578
11578
  } else {
11579
- A = o.stateNode, Pg(i, o), B = o.memoizedProps, ne = o.type === o.elementType ? B : nr(o.type, B), A.props = ne, ye = o.pendingProps, me = A.context, z = c.contextType, typeof z == "object" && z !== null ? z = Vn(z) : (z = Tn(c) ? Mi : nn.current, z = ks(o, z));
11579
+ A = o.stateNode, Pg(i, o), B = o.memoizedProps, ne = o.type === o.elementType ? B : nr(o.type, B), A.props = ne, ye = o.pendingProps, me = A.context, z = c.contextType, typeof z == "object" && z !== null ? z = Vn(z) : (z = Tn(c) ? Mi : nn.current, z = Ls(o, z));
11580
11580
  var Ie = c.getDerivedStateFromProps;
11581
11581
  (Ee = typeof Ie == "function" || typeof A.getSnapshotBeforeUpdate == "function") || typeof A.UNSAFE_componentWillReceiveProps != "function" && typeof A.componentWillReceiveProps != "function" || (B !== ye || me !== z) && s1(o, A, h, z), li = !1, me = o.memoizedState, A.state = me, Ku(o, h, A, E);
11582
11582
  var Le = o.memoizedState;
@@ -11590,14 +11590,14 @@ Error generating stack: ` + _.message + `
11590
11590
  if (!h && !A) return E && Sg(o, c, !1), Hr(i, o, _);
11591
11591
  h = o.stateNode, cA.current = o;
11592
11592
  var B = A && typeof c.getDerivedStateFromError != "function" ? null : h.render();
11593
- return o.flags |= 1, i !== null && A ? (o.child = Ds(o, i.child, null, _), o.child = Ds(o, null, B, _)) : hn(i, o, B, _), o.memoizedState = h.state, E && Sg(o, c, !0), o.child;
11593
+ return o.flags |= 1, i !== null && A ? (o.child = Bs(o, i.child, null, _), o.child = Bs(o, null, B, _)) : hn(i, o, B, _), o.memoizedState = h.state, E && Sg(o, c, !0), o.child;
11594
11594
  }
11595
11595
  function E1(i) {
11596
11596
  var o = i.stateNode;
11597
11597
  o.pendingContext ? Tg(i, o.pendingContext, o.pendingContext !== o.context) : o.context && Tg(i, o.context, !1), af(i, o.containerInfo);
11598
11598
  }
11599
11599
  function y1(i, o, c, h, E) {
11600
- return Ls(), Zd(E), o.flags |= 256, hn(i, o, c, h), o.child;
11600
+ return Fs(), Zd(E), o.flags |= 256, hn(i, o, c, h), o.child;
11601
11601
  }
11602
11602
  var Af = { dehydrated: null, treeContext: null, retryLane: 0 };
11603
11603
  function wf(i) {
@@ -11619,11 +11619,11 @@ Error generating stack: ` + _.message + `
11619
11619
  return o = El({ mode: "visible", children: o }, i.mode, 0, null), o.return = i, i.child = o;
11620
11620
  }
11621
11621
  function il(i, o, c, h) {
11622
- return h !== null && Zd(h), Ds(o, i.child, null, c), i = Cf(o, o.pendingProps.children), i.flags |= 2, o.memoizedState = null, i;
11622
+ return h !== null && Zd(h), Bs(o, i.child, null, c), i = Cf(o, o.pendingProps.children), i.flags |= 2, o.memoizedState = null, i;
11623
11623
  }
11624
11624
  function dA(i, o, c, h, E, _, A) {
11625
11625
  if (c)
11626
- return o.flags & 256 ? (o.flags &= -257, h = Sf(Error(n(422))), il(i, o, A, h)) : o.memoizedState !== null ? (o.child = i.child, o.flags |= 128, null) : (_ = h.fallback, E = o.mode, h = El({ mode: "visible", children: h.children }, E, 0, null), _ = Yi(_, E, A, null), _.flags |= 2, h.return = o, _.return = o, h.sibling = _, o.child = h, (o.mode & 1) !== 0 && Ds(o, i.child, null, A), o.child.memoizedState = wf(A), o.memoizedState = Af, _);
11626
+ return o.flags & 256 ? (o.flags &= -257, h = Sf(Error(n(422))), il(i, o, A, h)) : o.memoizedState !== null ? (o.child = i.child, o.flags |= 128, null) : (_ = h.fallback, E = o.mode, h = El({ mode: "visible", children: h.children }, E, 0, null), _ = Yi(_, E, A, null), _.flags |= 2, h.return = o, _.return = o, h.sibling = _, o.child = h, (o.mode & 1) !== 0 && Bs(o, i.child, null, A), o.child.memoizedState = wf(A), o.memoizedState = Af, _);
11627
11627
  if ((o.mode & 1) === 0) return il(i, o, A, null);
11628
11628
  if (E.data === "$!") {
11629
11629
  if (h = E.nextSibling && E.nextSibling.dataset, h) var B = h.dgst;
@@ -11741,7 +11741,7 @@ Error generating stack: ` + _.message + `
11741
11741
  function fA(i, o, c) {
11742
11742
  switch (o.tag) {
11743
11743
  case 3:
11744
- E1(o), Ls();
11744
+ E1(o), Fs();
11745
11745
  break;
11746
11746
  case 5:
11747
11747
  Dg(o);
@@ -11869,7 +11869,7 @@ Error generating stack: ` + _.message + `
11869
11869
  case 1:
11870
11870
  return Tn(o.type) && Hu(), sn(o), null;
11871
11871
  case 3:
11872
- return h = o.stateNode, Bs(), St(yn), St(nn), cf(), h.pendingContext && (h.context = h.pendingContext, h.pendingContext = null), (i === null || i.child === null) && (qu(o) ? o.flags |= 4 : i === null || i.memoizedState.isDehydrated && (o.flags & 256) === 0 || (o.flags |= 1024, tr !== null && (Hf(tr), tr = null))), Of(i, o), sn(o), null;
11872
+ return h = o.stateNode, js(), St(yn), St(nn), cf(), h.pendingContext && (h.context = h.pendingContext, h.pendingContext = null), (i === null || i.child === null) && (qu(o) ? o.flags |= 4 : i === null || i.memoizedState.isDehydrated && (o.flags & 256) === 0 || (o.flags |= 1024, tr !== null && (Hf(tr), tr = null))), Of(i, o), sn(o), null;
11873
11873
  case 5:
11874
11874
  uf(o);
11875
11875
  var E = Hi(la.current);
@@ -12050,20 +12050,20 @@ Error generating stack: ` + _.message + `
12050
12050
  return sn(o), null;
12051
12051
  case 13:
12052
12052
  if (St(Ct), h = o.memoizedState, i === null || i.memoizedState !== null && i.memoizedState.dehydrated !== null) {
12053
- if (xt && Ln !== null && (o.mode & 1) !== 0 && (o.flags & 128) === 0) Cg(), Ls(), o.flags |= 98560, _ = !1;
12053
+ if (xt && Ln !== null && (o.mode & 1) !== 0 && (o.flags & 128) === 0) Cg(), Fs(), o.flags |= 98560, _ = !1;
12054
12054
  else if (_ = qu(o), h !== null && h.dehydrated !== null) {
12055
12055
  if (i === null) {
12056
12056
  if (!_) throw Error(n(318));
12057
12057
  if (_ = o.memoizedState, _ = _ !== null ? _.dehydrated : null, !_) throw Error(n(317));
12058
12058
  _[gr] = o;
12059
- } else Ls(), (o.flags & 128) === 0 && (o.memoizedState = null), o.flags |= 4;
12059
+ } else Fs(), (o.flags & 128) === 0 && (o.memoizedState = null), o.flags |= 4;
12060
12060
  sn(o), _ = !1;
12061
12061
  } else tr !== null && (Hf(tr), tr = null), _ = !0;
12062
12062
  if (!_) return o.flags & 65536 ? o : null;
12063
12063
  }
12064
12064
  return (o.flags & 128) !== 0 ? (o.lanes = c, o) : (h = h !== null, h !== (i !== null && i.memoizedState !== null) && h && (o.child.flags |= 8192, (o.mode & 1) !== 0 && (i === null || (Ct.current & 1) !== 0 ? jt === 0 && (jt = 3) : zf())), o.updateQueue !== null && (o.flags |= 4), sn(o), null);
12065
12065
  case 4:
12066
- return Bs(), Of(i, o), i === null && na(o.stateNode.containerInfo), sn(o), null;
12066
+ return js(), Of(i, o), i === null && na(o.stateNode.containerInfo), sn(o), null;
12067
12067
  case 10:
12068
12068
  return nf(o.type._context), sn(o), null;
12069
12069
  case 17:
@@ -12079,12 +12079,12 @@ Error generating stack: ` + _.message + `
12079
12079
  }
12080
12080
  i = i.sibling;
12081
12081
  }
12082
- _.tail !== null && Pt() > $s && (o.flags |= 128, h = !0, pa(_, !1), o.lanes = 4194304);
12082
+ _.tail !== null && Pt() > qs && (o.flags |= 128, h = !0, pa(_, !1), o.lanes = 4194304);
12083
12083
  }
12084
12084
  else {
12085
12085
  if (!h) if (i = Qu(A), i !== null) {
12086
12086
  if (o.flags |= 128, h = !0, c = i.updateQueue, c !== null && (o.updateQueue = c, o.flags |= 4), pa(_, !0), _.tail === null && _.tailMode === "hidden" && !A.alternate && !xt) return sn(o), null;
12087
- } else 2 * Pt() - _.renderingStartTime > $s && c !== 1073741824 && (o.flags |= 128, h = !0, pa(_, !1), o.lanes = 4194304);
12087
+ } else 2 * Pt() - _.renderingStartTime > qs && c !== 1073741824 && (o.flags |= 128, h = !0, pa(_, !1), o.lanes = 4194304);
12088
12088
  _.isBackwards ? (A.sibling = o.child, o.child = A) : (c = _.last, c !== null ? c.sibling = A : o.child = A, _.last = A);
12089
12089
  }
12090
12090
  return _.tail !== null ? (o = _.tail, _.rendering = o, _.tail = o.sibling, _.renderingStartTime = Pt(), o.sibling = null, c = Ct.current, yt(Ct, h ? c & 1 | 2 : c & 1), o) : (sn(o), null);
@@ -12103,19 +12103,19 @@ Error generating stack: ` + _.message + `
12103
12103
  case 1:
12104
12104
  return Tn(o.type) && Hu(), i = o.flags, i & 65536 ? (o.flags = i & -65537 | 128, o) : null;
12105
12105
  case 3:
12106
- return Bs(), St(yn), St(nn), cf(), i = o.flags, (i & 65536) !== 0 && (i & 128) === 0 ? (o.flags = i & -65537 | 128, o) : null;
12106
+ return js(), St(yn), St(nn), cf(), i = o.flags, (i & 65536) !== 0 && (i & 128) === 0 ? (o.flags = i & -65537 | 128, o) : null;
12107
12107
  case 5:
12108
12108
  return uf(o), null;
12109
12109
  case 13:
12110
12110
  if (St(Ct), i = o.memoizedState, i !== null && i.dehydrated !== null) {
12111
12111
  if (o.alternate === null) throw Error(n(340));
12112
- Ls();
12112
+ Fs();
12113
12113
  }
12114
12114
  return i = o.flags, i & 65536 ? (o.flags = i & -65537 | 128, o) : null;
12115
12115
  case 19:
12116
12116
  return St(Ct), null;
12117
12117
  case 4:
12118
- return Bs(), null;
12118
+ return js(), null;
12119
12119
  case 10:
12120
12120
  return nf(o.type._context), null;
12121
12121
  case 22:
@@ -12128,7 +12128,7 @@ Error generating stack: ` + _.message + `
12128
12128
  }
12129
12129
  }
12130
12130
  var ol = !1, on = !1, mA = typeof WeakSet == "function" ? WeakSet : Set, Pe = null;
12131
- function Hs(i, o) {
12131
+ function zs(i, o) {
12132
12132
  var c = i.ref;
12133
12133
  if (c !== null) if (typeof c == "function") try {
12134
12134
  c(null);
@@ -12289,7 +12289,7 @@ Error generating stack: ` + _.message + `
12289
12289
  }
12290
12290
  switch (c.tag) {
12291
12291
  case 5:
12292
- on || Hs(c, o);
12292
+ on || zs(c, o);
12293
12293
  case 6:
12294
12294
  var h = Jt, E = rr;
12295
12295
  Jt = null, di(i, o, c), Jt = h, rr = E, Jt !== null && (rr ? (i = Jt, c = c.stateNode, i.nodeType === 8 ? i.parentNode.removeChild(c) : i.removeChild(c)) : Jt.removeChild(c.stateNode));
@@ -12314,7 +12314,7 @@ Error generating stack: ` + _.message + `
12314
12314
  di(i, o, c);
12315
12315
  break;
12316
12316
  case 1:
12317
- if (!on && (Hs(c, o), h = c.stateNode, typeof h.componentWillUnmount == "function")) try {
12317
+ if (!on && (zs(c, o), h = c.stateNode, typeof h.componentWillUnmount == "function")) try {
12318
12318
  h.props = c.memoizedProps, h.state = c.memoizedState, h.componentWillUnmount();
12319
12319
  } catch (B) {
12320
12320
  It(c, o, B);
@@ -12393,10 +12393,10 @@ Error generating stack: ` + _.message + `
12393
12393
  }
12394
12394
  break;
12395
12395
  case 1:
12396
- ir(o, i), Tr(i), h & 512 && c !== null && Hs(c, c.return);
12396
+ ir(o, i), Tr(i), h & 512 && c !== null && zs(c, c.return);
12397
12397
  break;
12398
12398
  case 5:
12399
- if (ir(o, i), Tr(i), h & 512 && c !== null && Hs(c, c.return), i.flags & 32) {
12399
+ if (ir(o, i), Tr(i), h & 512 && c !== null && zs(c, c.return), i.flags & 32) {
12400
12400
  var E = i.stateNode;
12401
12401
  try {
12402
12402
  Je(E, "");
@@ -12473,7 +12473,7 @@ Error generating stack: ` + _.message + `
12473
12473
  ma(4, me, me.return);
12474
12474
  break;
12475
12475
  case 1:
12476
- Hs(me, me.return);
12476
+ zs(me, me.return);
12477
12477
  var Le = me.stateNode;
12478
12478
  if (typeof Le.componentWillUnmount == "function") {
12479
12479
  h = me, c = me.return;
@@ -12485,7 +12485,7 @@ Error generating stack: ` + _.message + `
12485
12485
  }
12486
12486
  break;
12487
12487
  case 5:
12488
- Hs(me, me.return);
12488
+ zs(me, me.return);
12489
12489
  break;
12490
12490
  case 22:
12491
12491
  if (me.memoizedState !== null) {
@@ -12760,7 +12760,7 @@ Error generating stack: ` + _.message + `
12760
12760
  Pe = o.return;
12761
12761
  }
12762
12762
  }
12763
- var yA = Math.ceil, ul = j.ReactCurrentDispatcher, Lf = j.ReactCurrentOwner, Yn = j.ReactCurrentBatchConfig, at = 0, qt = null, Mt = null, Zt = 0, Dn = 0, js = oi(0), jt = 0, ga = null, $i = 0, ll = 0, Df = 0, Ea = null, Sn = null, Mf = 0, $s = 1 / 0, jr = null, cl = !1, Ff = null, fi = null, dl = !1, hi = null, fl = 0, ya = 0, Bf = null, hl = -1, pl = 0;
12763
+ var yA = Math.ceil, ul = j.ReactCurrentDispatcher, Lf = j.ReactCurrentOwner, Yn = j.ReactCurrentBatchConfig, at = 0, qt = null, Mt = null, Zt = 0, Dn = 0, Vs = oi(0), jt = 0, ga = null, $i = 0, ll = 0, Df = 0, Ea = null, Sn = null, Mf = 0, qs = 1 / 0, jr = null, cl = !1, Ff = null, fi = null, dl = !1, hi = null, fl = 0, ya = 0, Bf = null, hl = -1, pl = 0;
12764
12764
  function pn() {
12765
12765
  return (at & 6) !== 0 ? Pt() : hl !== -1 ? hl : hl = Pt();
12766
12766
  }
@@ -12769,7 +12769,7 @@ Error generating stack: ` + _.message + `
12769
12769
  }
12770
12770
  function sr(i, o, c, h) {
12771
12771
  if (50 < ya) throw ya = 0, Bf = null, Error(n(185));
12772
- $o(i, c, h), ((at & 2) === 0 || i !== qt) && (i === qt && ((at & 2) === 0 && (ll |= c), jt === 4 && mi(i, Zt)), bn(i, h), c === 1 && at === 0 && (o.mode & 1) === 0 && ($s = Pt() + 500, $u && ui()));
12772
+ $o(i, c, h), ((at & 2) === 0 || i !== qt) && (i === qt && ((at & 2) === 0 && (ll |= c), jt === 4 && mi(i, Zt)), bn(i, h), c === 1 && at === 0 && (o.mode & 1) === 0 && (qs = Pt() + 500, $u && ui()));
12773
12773
  }
12774
12774
  function bn(i, o) {
12775
12775
  var c = i.callbackNode;
@@ -12805,7 +12805,7 @@ Error generating stack: ` + _.message + `
12805
12805
  function M1(i, o) {
12806
12806
  if (hl = -1, pl = 0, (at & 6) !== 0) throw Error(n(327));
12807
12807
  var c = i.callbackNode;
12808
- if (zs() && i.callbackNode !== c) return null;
12808
+ if (Ys() && i.callbackNode !== c) return null;
12809
12809
  var h = xu(i, i === qt ? Zt : 0);
12810
12810
  if (h === 0) return null;
12811
12811
  if ((h & 30) !== 0 || (h & i.expiredLanes) !== 0 || o) o = ml(i, h);
@@ -12814,7 +12814,7 @@ Error generating stack: ` + _.message + `
12814
12814
  var E = at;
12815
12815
  at |= 2;
12816
12816
  var _ = U1();
12817
- (qt !== i || Zt !== o) && (jr = null, $s = Pt() + 500, Vi(i, o));
12817
+ (qt !== i || Zt !== o) && (jr = null, qs = Pt() + 500, Vi(i, o));
12818
12818
  do
12819
12819
  try {
12820
12820
  SA();
@@ -12912,7 +12912,7 @@ Error generating stack: ` + _.message + `
12912
12912
  }
12913
12913
  function F1(i) {
12914
12914
  if ((at & 6) !== 0) throw Error(n(327));
12915
- zs();
12915
+ Ys();
12916
12916
  var o = xu(i, 0);
12917
12917
  if ((o & 1) === 0) return bn(i, Pt()), null;
12918
12918
  var c = ml(i, o);
@@ -12930,11 +12930,11 @@ Error generating stack: ` + _.message + `
12930
12930
  try {
12931
12931
  return i(o);
12932
12932
  } finally {
12933
- at = c, at === 0 && ($s = Pt() + 500, $u && ui());
12933
+ at = c, at === 0 && (qs = Pt() + 500, $u && ui());
12934
12934
  }
12935
12935
  }
12936
12936
  function zi(i) {
12937
- hi !== null && hi.tag === 0 && (at & 6) === 0 && zs();
12937
+ hi !== null && hi.tag === 0 && (at & 6) === 0 && Ys();
12938
12938
  var o = at;
12939
12939
  at |= 1;
12940
12940
  var c = Yn.transition, h = ht;
@@ -12945,7 +12945,7 @@ Error generating stack: ` + _.message + `
12945
12945
  }
12946
12946
  }
12947
12947
  function $f() {
12948
- Dn = js.current, St(js);
12948
+ Dn = Vs.current, St(Vs);
12949
12949
  }
12950
12950
  function Vi(i, o) {
12951
12951
  i.finishedWork = null, i.finishedLanes = 0;
@@ -12957,13 +12957,13 @@ Error generating stack: ` + _.message + `
12957
12957
  h = h.type.childContextTypes, h != null && Hu();
12958
12958
  break;
12959
12959
  case 3:
12960
- Bs(), St(yn), St(nn), cf();
12960
+ js(), St(yn), St(nn), cf();
12961
12961
  break;
12962
12962
  case 5:
12963
12963
  uf(h);
12964
12964
  break;
12965
12965
  case 4:
12966
- Bs();
12966
+ js();
12967
12967
  break;
12968
12968
  case 13:
12969
12969
  St(Ct);
@@ -13036,11 +13036,11 @@ Error generating stack: ` + _.message + `
13036
13036
  } else if (xt && B.mode & 1) {
13037
13037
  var Rt = l1(A);
13038
13038
  if (Rt !== null) {
13039
- (Rt.flags & 65536) === 0 && (Rt.flags |= 256), c1(Rt, A, B, _, o), Zd(Us(z, B));
13039
+ (Rt.flags & 65536) === 0 && (Rt.flags |= 256), c1(Rt, A, B, _, o), Zd($s(z, B));
13040
13040
  break e;
13041
13041
  }
13042
13042
  }
13043
- _ = z = Us(z, B), jt !== 4 && (jt = 2), Ea === null ? Ea = [_] : Ea.push(_), _ = A;
13043
+ _ = z = $s(z, B), jt !== 4 && (jt = 2), Ea === null ? Ea = [_] : Ea.push(_), _ = A;
13044
13044
  do {
13045
13045
  switch (_.tag) {
13046
13046
  case 3:
@@ -13141,7 +13141,7 @@ Error generating stack: ` + _.message + `
13141
13141
  }
13142
13142
  function bA(i, o, c, h) {
13143
13143
  do
13144
- zs();
13144
+ Ys();
13145
13145
  while (hi !== null);
13146
13146
  if ((at & 6) !== 0) throw Error(n(327));
13147
13147
  c = i.finishedWork;
@@ -13151,7 +13151,7 @@ Error generating stack: ` + _.message + `
13151
13151
  i.callbackNode = null, i.callbackPriority = 0;
13152
13152
  var _ = c.lanes | c.childLanes;
13153
13153
  if (nv(i, _), i === qt && (Mt = qt = null, Zt = 0), (c.subtreeFlags & 2064) === 0 && (c.flags & 2064) === 0 || dl || (dl = !0, q1(Tu, function() {
13154
- return zs(), null;
13154
+ return Ys(), null;
13155
13155
  })), _ = (c.flags & 15990) !== 0, (c.subtreeFlags & 15990) !== 0 || _) {
13156
13156
  _ = Yn.transition, Yn.transition = null;
13157
13157
  var A = ht;
@@ -13161,9 +13161,9 @@ Error generating stack: ` + _.message + `
13161
13161
  } else i.current = c;
13162
13162
  if (dl && (dl = !1, hi = i, fl = E), _ = i.pendingLanes, _ === 0 && (fi = null), Kx(c.stateNode), bn(i, Pt()), o !== null) for (h = i.onRecoverableError, c = 0; c < o.length; c++) E = o[c], h(E.value, { componentStack: E.stack, digest: E.digest });
13163
13163
  if (cl) throw cl = !1, i = Ff, Ff = null, i;
13164
- return (fl & 1) !== 0 && i.tag !== 0 && zs(), _ = i.pendingLanes, (_ & 1) !== 0 ? i === Bf ? ya++ : (ya = 0, Bf = i) : ya = 0, ui(), null;
13164
+ return (fl & 1) !== 0 && i.tag !== 0 && Ys(), _ = i.pendingLanes, (_ & 1) !== 0 ? i === Bf ? ya++ : (ya = 0, Bf = i) : ya = 0, ui(), null;
13165
13165
  }
13166
- function zs() {
13166
+ function Ys() {
13167
13167
  if (hi !== null) {
13168
13168
  var i = O0(fl), o = Yn.transition, c = ht;
13169
13169
  try {
@@ -13275,7 +13275,7 @@ Error generating stack: ` + _.message + `
13275
13275
  return !1;
13276
13276
  }
13277
13277
  function $1(i, o, c) {
13278
- o = Us(c, o), o = o1(i, o, 1), i = ci(i, o, 1), o = pn(), i !== null && ($o(i, 1, o), bn(i, o));
13278
+ o = $s(c, o), o = o1(i, o, 1), i = ci(i, o, 1), o = pn(), i !== null && ($o(i, 1, o), bn(i, o));
13279
13279
  }
13280
13280
  function It(i, o, c) {
13281
13281
  if (i.tag === 3) $1(i, i, c);
@@ -13286,7 +13286,7 @@ Error generating stack: ` + _.message + `
13286
13286
  } else if (o.tag === 1) {
13287
13287
  var h = o.stateNode;
13288
13288
  if (typeof o.type.getDerivedStateFromError == "function" || typeof h.componentDidCatch == "function" && (fi === null || !fi.has(h))) {
13289
- i = Us(c, i), i = a1(o, i, 1), o = ci(o, i, 1), i = pn(), o !== null && ($o(o, 1, i), bn(o, i));
13289
+ i = $s(c, i), i = a1(o, i, 1), o = ci(o, i, 1), i = pn(), o !== null && ($o(o, 1, i), bn(o, i));
13290
13290
  break;
13291
13291
  }
13292
13292
  }
@@ -13333,8 +13333,8 @@ Error generating stack: ` + _.message + `
13333
13333
  case 2:
13334
13334
  var h = o.type;
13335
13335
  sl(i, o), i = o.pendingProps;
13336
- var E = ks(o, nn.current);
13337
- Fs(o, c), E = hf(null, o, h, i, E, c);
13336
+ var E = Ls(o, nn.current);
13337
+ Hs(o, c), E = hf(null, o, h, i, E, c);
13338
13338
  var _ = pf();
13339
13339
  return o.flags |= 1, typeof E == "object" && E !== null && typeof E.render == "function" && E.$$typeof === void 0 ? (o.tag = 1, o.memoizedState = null, o.updateQueue = null, Tn(h) ? (_ = !0, ju(o)) : _ = !1, o.memoizedState = E.state !== null && E.state !== void 0 ? E.state : null, of(o), E.updater = rl, o.stateNode = E, E._reactInternals = o, _f(o, h, i, c), o = vf(null, o, h, !0, _, c)) : (o.tag = 0, xt && _ && Xd(o), hn(null, o, E, c), o = o.child), o;
13340
13340
  case 16:
@@ -13371,14 +13371,14 @@ Error generating stack: ` + _.message + `
13371
13371
  h = o.pendingProps, _ = o.memoizedState, E = _.element, Pg(i, o), Ku(o, h, null, c);
13372
13372
  var A = o.memoizedState;
13373
13373
  if (h = A.element, _.isDehydrated) if (_ = { element: h, isDehydrated: !1, cache: A.cache, pendingSuspenseBoundaries: A.pendingSuspenseBoundaries, transitions: A.transitions }, o.updateQueue.baseState = _, o.memoizedState = _, o.flags & 256) {
13374
- E = Us(Error(n(423)), o), o = y1(i, o, h, c, E);
13374
+ E = $s(Error(n(423)), o), o = y1(i, o, h, c, E);
13375
13375
  break e;
13376
13376
  } else if (h !== E) {
13377
- E = Us(Error(n(424)), o), o = y1(i, o, h, c, E);
13377
+ E = $s(Error(n(424)), o), o = y1(i, o, h, c, E);
13378
13378
  break e;
13379
13379
  } else for (Ln = si(o.stateNode.containerInfo.firstChild), Rn = o, xt = !0, tr = null, c = Ig(o, null, h, c), o.child = c; c; ) c.flags = c.flags & -3 | 4096, c = c.sibling;
13380
13380
  else {
13381
- if (Ls(), h === E) {
13381
+ if (Fs(), h === E) {
13382
13382
  o = Hr(i, o, c);
13383
13383
  break e;
13384
13384
  }
@@ -13394,7 +13394,7 @@ Error generating stack: ` + _.message + `
13394
13394
  case 13:
13395
13395
  return T1(i, o, c);
13396
13396
  case 4:
13397
- return af(o, o.stateNode.containerInfo), h = o.pendingProps, i === null ? o.child = Ds(o, null, h, c) : hn(i, o, h, c), o.child;
13397
+ return af(o, o.stateNode.containerInfo), h = o.pendingProps, i === null ? o.child = Bs(o, null, h, c) : hn(i, o, h, c), o.child;
13398
13398
  case 11:
13399
13399
  return h = o.type, E = o.pendingProps, E = o.elementType === h ? E : nr(h, E), d1(i, o, h, E, c);
13400
13400
  case 7:
@@ -13457,13 +13457,13 @@ Error generating stack: ` + _.message + `
13457
13457
  }
13458
13458
  return o;
13459
13459
  case 9:
13460
- return E = o.type, h = o.pendingProps.children, Fs(o, c), E = Vn(E), h = h(E), o.flags |= 1, hn(i, o, h, c), o.child;
13460
+ return E = o.type, h = o.pendingProps.children, Hs(o, c), E = Vn(E), h = h(E), o.flags |= 1, hn(i, o, h, c), o.child;
13461
13461
  case 14:
13462
13462
  return h = o.type, E = nr(h, o.pendingProps), E = nr(h.type, E), f1(i, o, h, E, c);
13463
13463
  case 15:
13464
13464
  return h1(i, o, o.type, o.pendingProps, c);
13465
13465
  case 17:
13466
- return h = o.type, E = o.pendingProps, E = o.elementType === h ? E : nr(h, E), sl(i, o), o.tag = 1, Tn(h) ? (i = !0, ju(o)) : i = !1, Fs(o, c), i1(o, h, E), _f(o, h, E, c), vf(null, o, h, !0, i, c);
13466
+ return h = o.type, E = o.pendingProps, E = o.elementType === h ? E : nr(h, E), sl(i, o), o.tag = 1, Tn(h) ? (i = !0, ju(o)) : i = !1, Hs(o, c), i1(o, h, E), _f(o, h, E, c), vf(null, o, h, !0, i, c);
13467
13467
  case 19:
13468
13468
  return S1(i, o, c);
13469
13469
  case 22:
@@ -13691,7 +13691,7 @@ Error generating stack: ` + _.message + `
13691
13691
  var o = i.stateNode;
13692
13692
  if (o.current.memoizedState.isDehydrated) {
13693
13693
  var c = jo(o.pendingLanes);
13694
- c !== 0 && (Td(o, c | 1), bn(o, Pt()), (at & 6) === 0 && ($s = Pt() + 500, ui()));
13694
+ c !== 0 && (Td(o, c | 1), bn(o, Pt()), (at & 6) === 0 && (qs = Pt() + 500, ui()));
13695
13695
  }
13696
13696
  break;
13697
13697
  case 13:
@@ -13752,7 +13752,7 @@ Error generating stack: ` + _.message + `
13752
13752
  o = c.value, o != null && nt(i, !!c.multiple, o, !1);
13753
13753
  }
13754
13754
  }, E0 = jf, y0 = zi;
13755
- var PA = { usingClientEntryPoint: !1, Events: [sa, Os, Uu, Fo, g0, jf] }, Ta = { findFiberByHostInstance: Di, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, RA = { bundleType: Ta.bundleType, version: Ta.version, rendererPackageName: Ta.rendererPackageName, rendererConfig: Ta.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: j.ReactCurrentDispatcher, findHostInstanceByFiber: function(i) {
13755
+ var PA = { usingClientEntryPoint: !1, Events: [sa, Ps, Uu, Fo, g0, jf] }, Ta = { findFiberByHostInstance: Di, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, RA = { bundleType: Ta.bundleType, version: Ta.version, rendererPackageName: Ta.rendererPackageName, rendererConfig: Ta.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: j.ReactCurrentDispatcher, findHostInstanceByFiber: function(i) {
13756
13756
  return i = b0(i), i === null ? null : i.stateNode;
13757
13757
  }, findFiberByHostInstance: Ta.findFiberByHostInstance || IA, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, reconcilerVersion: "18.3.1-next-f1338f8080-20240426" };
13758
13758
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ != "undefined") {
@@ -13820,7 +13820,7 @@ function pS() {
13820
13820
  }
13821
13821
  return e(), gh.exports = NI(), gh.exports;
13822
13822
  }
13823
- var _o = pS();
13823
+ var xo = pS();
13824
13824
  function mS(e) {
13825
13825
  var t, n, r = "";
13826
13826
  if (typeof e == "string" || typeof e == "number") r += e;
@@ -14005,9 +14005,9 @@ const cr = ({
14005
14005
  );
14006
14006
  }, jI = () => {
14007
14007
  const { globalClassName: e, themeVariables: t } = ct(), n = () => {
14008
- oo(!1), Gr(!0);
14008
+ lo(!1), Gr(!0);
14009
14009
  };
14010
- return _o.createPortal(
14010
+ return xo.createPortal(
14011
14011
  /* @__PURE__ */ S.jsx(
14012
14012
  "div",
14013
14013
  {
@@ -14266,7 +14266,7 @@ pm.prototype.defined = !0;
14266
14266
  function KE(e, t, n) {
14267
14267
  n && (e[t] = n);
14268
14268
  }
14269
- function So(e) {
14269
+ function vo(e) {
14270
14270
  const t = {}, n = {};
14271
14271
  for (const [r, s] of Object.entries(e.properties)) {
14272
14272
  const a = new pm(
@@ -14279,7 +14279,7 @@ function So(e) {
14279
14279
  }
14280
14280
  return new ou(t, n, e.space);
14281
14281
  }
14282
- const xS = So({
14282
+ const xS = vo({
14283
14283
  properties: {
14284
14284
  ariaActiveDescendant: null,
14285
14285
  ariaAtomic: Ft,
@@ -14341,7 +14341,7 @@ function vS(e, t) {
14341
14341
  function AS(e, t) {
14342
14342
  return vS(e, t.toLowerCase());
14343
14343
  }
14344
- const ok = So({
14344
+ const ok = vo({
14345
14345
  attributes: {
14346
14346
  acceptcharset: "accept-charset",
14347
14347
  classname: "class",
@@ -14712,7 +14712,7 @@ const ok = So({
14712
14712
  },
14713
14713
  space: "html",
14714
14714
  transform: AS
14715
- }), ak = So({
14715
+ }), ak = vo({
14716
14716
  attributes: {
14717
14717
  accentHeight: "accent-height",
14718
14718
  alignmentBaseline: "alignment-baseline",
@@ -15273,7 +15273,7 @@ const ok = So({
15273
15273
  },
15274
15274
  space: "svg",
15275
15275
  transform: vS
15276
- }), wS = So({
15276
+ }), wS = vo({
15277
15277
  properties: {
15278
15278
  xLinkActuate: null,
15279
15279
  xLinkArcRole: null,
@@ -15287,12 +15287,12 @@ const ok = So({
15287
15287
  transform(e, t) {
15288
15288
  return "xlink:" + t.slice(5).toLowerCase();
15289
15289
  }
15290
- }), CS = So({
15290
+ }), CS = vo({
15291
15291
  attributes: { xmlnsxlink: "xmlns:xlink" },
15292
15292
  properties: { xmlnsXLink: null, xmlns: null },
15293
15293
  space: "xmlns",
15294
15294
  transform: AS
15295
- }), NS = So({
15295
+ }), NS = vo({
15296
15296
  properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
15297
15297
  space: "xml",
15298
15298
  transform(e, t) {
@@ -15351,7 +15351,7 @@ function JE(e) {
15351
15351
  function OS(e) {
15352
15352
  return e.join(" ").trim();
15353
15353
  }
15354
- var Ws = {}, _h, ZE;
15354
+ var Ks = {}, _h, ZE;
15355
15355
  function hk() {
15356
15356
  if (ZE) return _h;
15357
15357
  ZE = 1;
@@ -15443,12 +15443,12 @@ function hk() {
15443
15443
  }
15444
15444
  var ey;
15445
15445
  function pk() {
15446
- if (ey) return Ws;
15446
+ if (ey) return Ks;
15447
15447
  ey = 1;
15448
- var e = Ws && Ws.__importDefault || function(r) {
15448
+ var e = Ks && Ks.__importDefault || function(r) {
15449
15449
  return r && r.__esModule ? r : { default: r };
15450
15450
  };
15451
- Object.defineProperty(Ws, "__esModule", { value: !0 }), Ws.default = n;
15451
+ Object.defineProperty(Ks, "__esModule", { value: !0 }), Ks.default = n;
15452
15452
  const t = e(hk());
15453
15453
  function n(r, s) {
15454
15454
  let a = null;
@@ -15462,7 +15462,7 @@ function pk() {
15462
15462
  l ? s(f, p, d) : p && (a = a || {}, a[f] = p);
15463
15463
  }), a;
15464
15464
  }
15465
- return Ws;
15465
+ return Ks;
15466
15466
  }
15467
15467
  var va = {}, ty;
15468
15468
  function mk() {
@@ -16040,7 +16040,7 @@ function ki(e) {
16040
16040
  return n !== null && n > -1 && e.test(String.fromCharCode(n));
16041
16041
  }
16042
16042
  }
16043
- function bo(e) {
16043
+ function Ao(e) {
16044
16044
  const t = [];
16045
16045
  let n = -1, r = 0, s = 0;
16046
16046
  for (; ++n < e.length; ) {
@@ -16218,7 +16218,7 @@ function Xk(e) {
16218
16218
  function Kk(e, t, n) {
16219
16219
  return ot(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
16220
16220
  }
16221
- function fo(e) {
16221
+ function mo(e) {
16222
16222
  if (e === null || gt(e) || hs(e))
16223
16223
  return 1;
16224
16224
  if (jc(e))
@@ -16274,7 +16274,7 @@ function Qk(e, t) {
16274
16274
  return e;
16275
16275
  }
16276
16276
  function Jk(e, t) {
16277
- const n = this.parser.constructs.attentionMarkers.null, r = this.previous, s = fo(r);
16277
+ const n = this.parser.constructs.attentionMarkers.null, r = this.previous, s = mo(r);
16278
16278
  let a;
16279
16279
  return u;
16280
16280
  function u(d) {
@@ -16283,7 +16283,7 @@ function Jk(e, t) {
16283
16283
  function l(d) {
16284
16284
  if (d === a)
16285
16285
  return e.consume(d), l;
16286
- const f = e.exit("attentionSequence"), p = fo(d), m = !p || p === 2 && s || n.includes(d), y = !s || s === 2 && p || n.includes(r);
16286
+ const f = e.exit("attentionSequence"), p = mo(d), m = !p || p === 2 && s || n.includes(d), y = !s || s === 2 && p || n.includes(r);
16287
16287
  return f._open = !!(a === 42 ? m : m && (s || !y)), f._close = !!(a === 42 ? y : y && (p || !m)), t(d);
16288
16288
  }
16289
16289
  }
@@ -18766,7 +18766,7 @@ function qP(e, t) {
18766
18766
  return e.patch(t, n), e.applyData(t, n);
18767
18767
  }
18768
18768
  function YP(e, t) {
18769
- const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), s = bo(r.toLowerCase()), a = e.footnoteOrder.indexOf(r);
18769
+ const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), s = Ao(r.toLowerCase()), a = e.footnoteOrder.indexOf(r);
18770
18770
  let u, l = e.footnoteCounts.get(r);
18771
18771
  l === void 0 ? (l = 0, e.footnoteOrder.push(r), u = e.footnoteOrder.length) : u = a + 1, l += 1, e.footnoteCounts.set(r, l);
18772
18772
  const d = {
@@ -18818,13 +18818,13 @@ function XP(e, t) {
18818
18818
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
18819
18819
  if (!r)
18820
18820
  return KS(e, t);
18821
- const s = { src: bo(r.url || ""), alt: t.alt };
18821
+ const s = { src: Ao(r.url || ""), alt: t.alt };
18822
18822
  r.title !== null && r.title !== void 0 && (s.title = r.title);
18823
18823
  const a = { type: "element", tagName: "img", properties: s, children: [] };
18824
18824
  return e.patch(t, a), e.applyData(t, a);
18825
18825
  }
18826
18826
  function KP(e, t) {
18827
- const n = { src: bo(t.url) };
18827
+ const n = { src: Ao(t.url) };
18828
18828
  t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
18829
18829
  const r = { type: "element", tagName: "img", properties: n, children: [] };
18830
18830
  return e.patch(t, r), e.applyData(t, r);
@@ -18844,7 +18844,7 @@ function JP(e, t) {
18844
18844
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
18845
18845
  if (!r)
18846
18846
  return KS(e, t);
18847
- const s = { href: bo(r.url || "") };
18847
+ const s = { href: Ao(r.url || "") };
18848
18848
  r.title !== null && r.title !== void 0 && (s.title = r.title);
18849
18849
  const a = {
18850
18850
  type: "element",
@@ -18855,7 +18855,7 @@ function JP(e, t) {
18855
18855
  return e.patch(t, a), e.applyData(t, a);
18856
18856
  }
18857
18857
  function ZP(e, t) {
18858
- const n = { href: bo(t.url) };
18858
+ const n = { href: Ao(t.url) };
18859
18859
  t.title !== null && t.title !== void 0 && (n.title = t.title);
18860
18860
  const r = {
18861
18861
  type: "element",
@@ -19283,7 +19283,7 @@ function SR(e) {
19283
19283
  );
19284
19284
  if (!f)
19285
19285
  continue;
19286
- const p = e.all(f), m = String(f.identifier).toUpperCase(), y = bo(m.toLowerCase());
19286
+ const p = e.all(f), m = String(f.identifier).toUpperCase(), y = Ao(m.toLowerCase());
19287
19287
  let T = 0;
19288
19288
  const b = [], w = e.footnoteCounts.get(m);
19289
19289
  for (; w !== void 0 && ++T <= w; ) {
@@ -21184,7 +21184,7 @@ function b6(e, t) {
21184
21184
  const l = (
21185
21185
  /** @type {DefaultTreeAdapterMap['template']} */
21186
21186
  t
21187
- ), d = l.sourceCodeLocation, f = d && d.startTag && to(d.startTag), p = d && d.endTag && to(d.endTag), m = (
21187
+ ), d = l.sourceCodeLocation, f = d && d.startTag && io(d.startTag), p = d && d.endTag && io(d.endTag), m = (
21188
21188
  /** @type {Root} */
21189
21189
  wm(e, l.content)
21190
21190
  );
@@ -21199,7 +21199,7 @@ function Ql(e, t, n) {
21199
21199
  }
21200
21200
  }
21201
21201
  function x6(e, t, n) {
21202
- const r = to(n);
21202
+ const r = io(n);
21203
21203
  if (t.type === "element") {
21204
21204
  const s = t.children[t.children.length - 1];
21205
21205
  if (r && !n.endTag && s && s.position && s.position.end && (r.end = Object.assign({}, s.position.end)), e.verbose) {
@@ -21207,17 +21207,17 @@ function x6(e, t, n) {
21207
21207
  let u;
21208
21208
  if (n.attrs)
21209
21209
  for (u in n.attrs)
21210
- ab.call(n.attrs, u) && (a[Uc(e.schema, u).property] = to(
21210
+ ab.call(n.attrs, u) && (a[Uc(e.schema, u).property] = io(
21211
21211
  n.attrs[u]
21212
21212
  ));
21213
21213
  n.startTag;
21214
- const l = to(n.startTag), d = n.endTag ? to(n.endTag) : void 0, f = { opening: l };
21214
+ const l = io(n.startTag), d = n.endTag ? io(n.endTag) : void 0, f = { opening: l };
21215
21215
  d && (f.closing = d), f.properties = a, t.data = { position: f };
21216
21216
  }
21217
21217
  }
21218
21218
  return r;
21219
21219
  }
21220
- function to(e) {
21220
+ function io(e) {
21221
21221
  const t = Ly({
21222
21222
  line: e.startLine,
21223
21223
  column: e.startCol,
@@ -21259,11 +21259,11 @@ function C6(e, t) {
21259
21259
  mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
21260
21260
  childNodes: []
21261
21261
  };
21262
- return n.childNodes = Cm(e.children, n, t), xo(e, n), n;
21262
+ return n.childNodes = Cm(e.children, n, t), wo(e, n), n;
21263
21263
  }
21264
21264
  function N6(e, t) {
21265
21265
  const n = { nodeName: "#document-fragment", childNodes: [] };
21266
- return n.childNodes = Cm(e.children, n, t), xo(e, n), n;
21266
+ return n.childNodes = Cm(e.children, n, t), wo(e, n), n;
21267
21267
  }
21268
21268
  function O6(e) {
21269
21269
  const t = {
@@ -21273,7 +21273,7 @@ function O6(e) {
21273
21273
  systemId: "",
21274
21274
  parentNode: null
21275
21275
  };
21276
- return xo(e, t), t;
21276
+ return wo(e, t), t;
21277
21277
  }
21278
21278
  function I6(e) {
21279
21279
  const t = {
@@ -21281,7 +21281,7 @@ function I6(e) {
21281
21281
  value: e.value,
21282
21282
  parentNode: null
21283
21283
  };
21284
- return xo(e, t), t;
21284
+ return wo(e, t), t;
21285
21285
  }
21286
21286
  function k6(e) {
21287
21287
  const t = {
@@ -21289,7 +21289,7 @@ function k6(e) {
21289
21289
  data: e.value,
21290
21290
  parentNode: null
21291
21291
  };
21292
- return xo(e, t), t;
21292
+ return wo(e, t), t;
21293
21293
  }
21294
21294
  function P6(e, t) {
21295
21295
  const n = t;
@@ -21317,7 +21317,7 @@ function P6(e, t) {
21317
21317
  childNodes: [],
21318
21318
  parentNode: null
21319
21319
  };
21320
- return l.childNodes = Cm(e.children, l, r), xo(e, l), e.tagName === "template" && e.content && (l.content = N6(e.content, r)), l;
21320
+ return l.childNodes = Cm(e.children, l, r), wo(e, l), e.tagName === "template" && e.content && (l.content = N6(e.content, r)), l;
21321
21321
  }
21322
21322
  function R6(e, t, n) {
21323
21323
  const r = Uc(e, t);
@@ -21344,7 +21344,7 @@ function Cm(e, t, n) {
21344
21344
  }
21345
21345
  return s;
21346
21346
  }
21347
- function xo(e, t) {
21347
+ function wo(e, t) {
21348
21348
  const n = e.position;
21349
21349
  n && n.start && n.end && (n.start.offset, n.end.offset, t.sourceCodeLocation = {
21350
21350
  startLine: n.start.line,
@@ -21956,7 +21956,7 @@ const X6 = /* @__PURE__ */ new Map([
21956
21956
  [X.WBR, g.WBR],
21957
21957
  [X.XMP, g.XMP]
21958
21958
  ]);
21959
- function vo(e) {
21959
+ function Co(e) {
21960
21960
  var t;
21961
21961
  return (t = X6.get(e)) !== null && t !== void 0 ? t : g.UNKNOWN;
21962
21962
  }
@@ -22238,7 +22238,7 @@ class eL {
22238
22238
  }
22239
22239
  emitCurrentTagToken() {
22240
22240
  const t = this.currentToken;
22241
- this.prepareToken(t), t.tagID = vo(t.tagName), t.type === et.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(ie.endTagWithAttributes), t.selfClosing && this._err(ie.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
22241
+ this.prepareToken(t), t.tagID = Co(t.tagName), t.type === et.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(ie.endTagWithAttributes), t.selfClosing && this._err(ie.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
22242
22242
  }
22243
22243
  emitCurrentComment(t) {
22244
22244
  this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
@@ -24729,7 +24729,7 @@ function Nm(e) {
24729
24729
  }
24730
24730
  function xL(e) {
24731
24731
  const t = _L.get(e.tagName);
24732
- t != null && (e.tagName = t, e.tagID = vo(e.tagName));
24732
+ t != null && (e.tagName = t, e.tagID = Co(e.tagName));
24733
24733
  }
24734
24734
  function vL(e, t) {
24735
24735
  return t === ge.MATHML && (e === g.MI || e === g.MO || e === g.MN || e === g.MS || e === g.MTEXT);
@@ -24767,7 +24767,7 @@ const IL = {
24767
24767
  };
24768
24768
  class qy {
24769
24769
  constructor(t, n, r = null, s = null) {
24770
- this.fragmentContext = r, this.scriptHandler = s, this.currentToken = null, this.stopped = !1, this.insertionMode = H.INITIAL, this.originalInsertionMode = H.INITIAL, this.headElement = null, this.formElement = null, this.currentNotInHTML = !1, this.tmplInsertionModeStack = [], this.pendingCharacterTokens = [], this.hasNonWhitespacePendingCharacterToken = !1, this.framesetOk = !0, this.skipNextNewLine = !1, this.fosterParentingEnabled = !1, this.options = U(U({}, Vy), t), this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = n != null ? n : this.treeAdapter.createDocument(), this.tokenizer = new eL(this.options, this), this.activeFormattingElements = new uL(this.treeAdapter), this.fragmentContextID = r ? vo(this.treeAdapter.getTagName(r)) : g.UNKNOWN, this._setContextModes(r != null ? r : this.document, this.fragmentContextID), this.openElements = new aL(this.document, this.treeAdapter, this);
24770
+ this.fragmentContext = r, this.scriptHandler = s, this.currentToken = null, this.stopped = !1, this.insertionMode = H.INITIAL, this.originalInsertionMode = H.INITIAL, this.headElement = null, this.formElement = null, this.currentNotInHTML = !1, this.tmplInsertionModeStack = [], this.pendingCharacterTokens = [], this.hasNonWhitespacePendingCharacterToken = !1, this.framesetOk = !0, this.skipNextNewLine = !1, this.fosterParentingEnabled = !1, this.options = U(U({}, Vy), t), this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = n != null ? n : this.treeAdapter.createDocument(), this.tokenizer = new eL(this.options, this), this.activeFormattingElements = new uL(this.treeAdapter), this.fragmentContextID = r ? Co(this.treeAdapter.getTagName(r)) : g.UNKNOWN, this._setContextModes(r != null ? r : this.document, this.fragmentContextID), this.openElements = new aL(this.document, this.treeAdapter, this);
24771
24771
  }
24772
24772
  // API
24773
24773
  static parse(t, n) {
@@ -25392,7 +25392,7 @@ class qy {
25392
25392
  break;
25393
25393
  }
25394
25394
  case H.IN_TABLE: {
25395
- ho(this, t);
25395
+ go(this, t);
25396
25396
  break;
25397
25397
  }
25398
25398
  case H.IN_TABLE_TEXT: {
@@ -25686,7 +25686,7 @@ function LL(e, t) {
25686
25686
  return e.openElements.replace(t.element, r), t.element = r, r;
25687
25687
  }
25688
25688
  function DL(e, t, n) {
25689
- const r = e.treeAdapter.getTagName(t), s = vo(r);
25689
+ const r = e.treeAdapter.getTagName(t), s = Co(r);
25690
25690
  if (e._isElementCausesFosterParenting(s))
25691
25691
  e._fosterParentElement(n);
25692
25692
  else {
@@ -26493,7 +26493,7 @@ function j4(e, t) {
26493
26493
  function $4(e, t) {
26494
26494
  !e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, ge.HTML), e.formElement = e.openElements.current, e.openElements.pop());
26495
26495
  }
26496
- function ho(e, t) {
26496
+ function go(e, t) {
26497
26497
  switch (t.tagID) {
26498
26498
  case g.TD:
26499
26499
  case g.TH:
@@ -26590,7 +26590,7 @@ function Oa(e, t) {
26590
26590
  const kb = /* @__PURE__ */ new Set([g.CAPTION, g.COL, g.COLGROUP, g.TBODY, g.TD, g.TFOOT, g.TH, g.THEAD, g.TR]);
26591
26591
  function z4(e, t) {
26592
26592
  const n = t.tagID;
26593
- kb.has(n) ? e.openElements.hasInTableScope(g.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(g.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = H.IN_TABLE, ho(e, t)) : dn(e, t);
26593
+ kb.has(n) ? e.openElements.hasInTableScope(g.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(g.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = H.IN_TABLE, go(e, t)) : dn(e, t);
26594
26594
  }
26595
26595
  function V4(e, t) {
26596
26596
  const n = t.tagID;
@@ -26669,11 +26669,11 @@ function Xc(e, t) {
26669
26669
  case g.TBODY:
26670
26670
  case g.TFOOT:
26671
26671
  case g.THEAD: {
26672
- e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = H.IN_TABLE, ho(e, t));
26672
+ e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = H.IN_TABLE, go(e, t));
26673
26673
  break;
26674
26674
  }
26675
26675
  default:
26676
- ho(e, t);
26676
+ go(e, t);
26677
26677
  }
26678
26678
  }
26679
26679
  function vp(e, t) {
@@ -26720,7 +26720,7 @@ function Kc(e, t) {
26720
26720
  break;
26721
26721
  }
26722
26722
  default:
26723
- ho(e, t);
26723
+ go(e, t);
26724
26724
  }
26725
26725
  }
26726
26726
  function Pb(e, t) {
@@ -26863,7 +26863,7 @@ function K4(e, t) {
26863
26863
  case g.TBODY:
26864
26864
  case g.TFOOT:
26865
26865
  case g.THEAD: {
26866
- e.tmplInsertionModeStack[0] = H.IN_TABLE, e.insertionMode = H.IN_TABLE, ho(e, t);
26866
+ e.tmplInsertionModeStack[0] = H.IN_TABLE, e.insertionMode = H.IN_TABLE, go(e, t);
26867
26867
  break;
26868
26868
  }
26869
26869
  case g.COL: {
@@ -27018,7 +27018,7 @@ function Bb(e, t) {
27018
27018
  stitches: !1,
27019
27019
  options: t || {}
27020
27020
  };
27021
- r(e, s), Ao(s, Ir());
27021
+ r(e, s), No(s, Ir());
27022
27022
  const a = n ? s.parser.document : s.parser.getFragment(), u = S6(a, {
27023
27023
  // To do: support `space`?
27024
27024
  file: s.options.file
@@ -27054,7 +27054,7 @@ function hD(e, t) {
27054
27054
  chars: e.value,
27055
27055
  location: du(e)
27056
27056
  };
27057
- Ao(t, Ir(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
27057
+ No(t, Ir(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
27058
27058
  }
27059
27059
  function pD(e, t) {
27060
27060
  const n = {
@@ -27065,7 +27065,7 @@ function pD(e, t) {
27065
27065
  systemId: "",
27066
27066
  location: du(e)
27067
27067
  };
27068
- Ao(t, Ir(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
27068
+ No(t, Ir(e)), t.parser.currentToken = n, t.parser._processToken(t.parser.currentToken);
27069
27069
  }
27070
27070
  function mD(e, t) {
27071
27071
  t.stitches = !0;
@@ -27085,7 +27085,7 @@ function Hb(e, t) {
27085
27085
  data: n,
27086
27086
  location: du(e)
27087
27087
  };
27088
- Ao(t, Ir(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
27088
+ No(t, Ir(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
27089
27089
  }
27090
27090
  function gD(e, t) {
27091
27091
  if (t.parser.tokenizer.preprocessor.html = "", t.parser.tokenizer.preprocessor.pos = -1, t.parser.tokenizer.preprocessor.lastGapPos = -2, t.parser.tokenizer.preprocessor.gapStack = [], t.parser.tokenizer.preprocessor.skipNextNewLine = !1, t.parser.tokenizer.preprocessor.lastChunkWritten = !1, t.parser.tokenizer.preprocessor.endOfChunkHit = !1, t.parser.tokenizer.preprocessor.isEol = !1, jb(t, Ir(e)), t.parser.tokenizer.write(
@@ -27110,7 +27110,7 @@ function ED(e, t) {
27110
27110
  throw cD.has(n.type) && (r = ". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"), new Error("Cannot compile `" + n.type + "` node" + r);
27111
27111
  }
27112
27112
  }
27113
- function Ao(e, t) {
27113
+ function No(e, t) {
27114
27114
  jb(e, t);
27115
27115
  const n = e.parser.tokenizer.currentCharacterToken;
27116
27116
  n && n.location && (n.location.endLine = e.parser.tokenizer.preprocessor.line, n.location.endCol = e.parser.tokenizer.preprocessor.col + 1, n.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = n, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = Lt.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
@@ -27131,7 +27131,7 @@ function jb(e, t) {
27131
27131
  function yD(e, t) {
27132
27132
  const n = e.tagName.toLowerCase();
27133
27133
  if (t.parser.tokenizer.state === Lt.PLAINTEXT) return;
27134
- Ao(t, Ir(e));
27134
+ No(t, Ir(e));
27135
27135
  const r = t.parser.openElements.current;
27136
27136
  let s = "namespaceURI" in r ? r.namespaceURI : ts.html;
27137
27137
  s === ts.html && n === "svg" && (s = ts.svg);
@@ -27142,7 +27142,7 @@ function yD(e, t) {
27142
27142
  ), u = {
27143
27143
  type: et.START_TAG,
27144
27144
  tagName: n,
27145
- tagID: vo(n),
27145
+ tagID: Co(n),
27146
27146
  // We always send start and end tags.
27147
27147
  selfClosing: !1,
27148
27148
  ackSelfClosing: !1,
@@ -27156,11 +27156,11 @@ function yD(e, t) {
27156
27156
  function TD(e, t) {
27157
27157
  const n = e.tagName.toLowerCase();
27158
27158
  if (!t.parser.tokenizer.inForeignNode && L6.includes(n) || t.parser.tokenizer.state === Lt.PLAINTEXT) return;
27159
- Ao(t, Hc(e));
27159
+ No(t, Hc(e));
27160
27160
  const r = {
27161
27161
  type: et.END_TAG,
27162
27162
  tagName: n,
27163
- tagID: vo(n),
27163
+ tagID: Co(n),
27164
27164
  selfClosing: !1,
27165
27165
  ackSelfClosing: !1,
27166
27166
  attrs: [],
@@ -27845,7 +27845,7 @@ function UD(e, t, n = {}) {
27845
27845
  const { step: r = 1, loop: s = !0 } = n;
27846
27846
  return Jb(e, t, { step: -r, loop: s });
27847
27847
  }
27848
- var HD = (e) => Array.isArray(e), Zb = (e) => e != null && typeof e == "object", jD = (e) => Zb(e) && !HD(e), Zl = (e) => typeof e == "string", no = (e) => typeof e == "function", $D = (e) => e == null, zD = (e, t) => Object.prototype.hasOwnProperty.call(e, t), VD = (e) => Object.prototype.toString.call(e), e2 = Function.prototype.toString, qD = e2.call(Object), YD = (e) => {
27848
+ var HD = (e) => Array.isArray(e), Zb = (e) => e != null && typeof e == "object", jD = (e) => Zb(e) && !HD(e), Zl = (e) => typeof e == "string", so = (e) => typeof e == "function", $D = (e) => e == null, zD = (e, t) => Object.prototype.hasOwnProperty.call(e, t), VD = (e) => Object.prototype.toString.call(e), e2 = Function.prototype.toString, qD = e2.call(Object), YD = (e) => {
27849
27849
  if (!Zb(e) || VD(e) != "[object Object]" || XD(e)) return !1;
27850
27850
  const t = Object.getPrototypeOf(e);
27851
27851
  if (t === null) return !0;
@@ -27890,7 +27890,7 @@ function i5(e, t, n) {
27890
27890
  throw new Error(`[zag-js${` > ${n}`}] missing required props: ${r.join(", ")}`);
27891
27891
  }
27892
27892
  var s5 = Object.defineProperty, o5 = (e, t, n) => t in e ? s5(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Lh = (e, t, n) => o5(e, typeof t != "symbol" ? t + "" : t, n), t2 = () => {
27893
- }, Qc = (e) => typeof e == "object" && e !== null, Js = (e) => e ? "" : void 0, n2 = (e) => e ? "true" : void 0, a5 = 1, u5 = 9, l5 = 11, Kt = (e) => Qc(e) && e.nodeType === a5 && typeof e.nodeName == "string", Jc = (e) => Qc(e) && e.nodeType === u5, c5 = (e) => Qc(e) && e === e.window, r2 = (e) => Kt(e) ? e.localName || "" : "#document";
27893
+ }, Qc = (e) => typeof e == "object" && e !== null, to = (e) => e ? "" : void 0, n2 = (e) => e ? "true" : void 0, a5 = 1, u5 = 9, l5 = 11, Kt = (e) => Qc(e) && e.nodeType === a5 && typeof e.nodeName == "string", Jc = (e) => Qc(e) && e.nodeType === u5, c5 = (e) => Qc(e) && e === e.window, r2 = (e) => Kt(e) ? e.localName || "" : "#document";
27894
27894
  function d5(e) {
27895
27895
  return ["html", "body", "#document"].includes(r2(e));
27896
27896
  }
@@ -27898,7 +27898,7 @@ var f5 = (e) => Qc(e) && e.nodeType !== void 0, ms = (e) => f5(e) && e.nodeType
27898
27898
  function Ma(e) {
27899
27899
  if (!e) return !1;
27900
27900
  const t = e.getRootNode();
27901
- return io(t) === e;
27901
+ return ao(t) === e;
27902
27902
  }
27903
27903
  var m5 = /(textarea|select)/;
27904
27904
  function g5(e) {
@@ -27909,7 +27909,7 @@ function g5(e) {
27909
27909
  return !1;
27910
27910
  }
27911
27911
  }
27912
- function po(e, t) {
27912
+ function Eo(e, t) {
27913
27913
  var r;
27914
27914
  if (!e || !t || !Kt(e) || !Kt(t)) return !1;
27915
27915
  const n = (r = t.getRootNode) == null ? void 0 : r.call(t);
@@ -27930,11 +27930,11 @@ function kr(e) {
27930
27930
  function E5(e) {
27931
27931
  return kr(e).documentElement;
27932
27932
  }
27933
- function wo(e) {
27933
+ function Oo(e) {
27934
27934
  var t, n, r;
27935
- return ms(e) ? wo(e.host) : Jc(e) ? (t = e.defaultView) != null ? t : window : Kt(e) && (r = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? r : window;
27935
+ return ms(e) ? Oo(e.host) : Jc(e) ? (t = e.defaultView) != null ? t : window : Kt(e) && (r = (n = e.ownerDocument) == null ? void 0 : n.defaultView) != null ? r : window;
27936
27936
  }
27937
- function io(e) {
27937
+ function ao(e) {
27938
27938
  let t = e.activeElement;
27939
27939
  for (; t != null && t.shadowRoot; ) {
27940
27940
  const n = t.shadowRoot.activeElement;
@@ -27958,8 +27958,8 @@ function Dm(e) {
27958
27958
  return (n = e.ownerDocument) != null ? n : document;
27959
27959
  }
27960
27960
  var Dh = /* @__PURE__ */ new WeakMap();
27961
- function Co(e) {
27962
- return Dh.has(e) || Dh.set(e, wo(e).getComputedStyle(e)), Dh.get(e);
27961
+ function Io(e) {
27962
+ return Dh.has(e) || Dh.set(e, Oo(e).getComputedStyle(e)), Dh.get(e);
27963
27963
  }
27964
27964
  var Mm = /* @__PURE__ */ new Set(["menu", "listbox", "dialog", "grid", "tree", "region"]), T5 = (e) => Mm.has(e), i2 = (e) => {
27965
27965
  var t;
@@ -28131,7 +28131,7 @@ var ed = "input:not([type='hidden']):not([disabled]), select:not([disabled]), te
28131
28131
  function wr(e) {
28132
28132
  return !Kt(e) || e.closest("[inert]") ? !1 : e.matches(ed) && p5(e);
28133
28133
  }
28134
- function No(e, t = {}) {
28134
+ function ko(e, t = {}) {
28135
28135
  if (!e) return [];
28136
28136
  const { includeContainer: n, getShadowRoot: r } = t, s = Array.from(e.querySelectorAll(ed));
28137
28137
  n && ns(e) && s.unshift(e);
@@ -28140,7 +28140,7 @@ function No(e, t = {}) {
28140
28140
  if (ns(u)) {
28141
28141
  if (u2(u) && u.contentDocument) {
28142
28142
  const l = u.contentDocument.body;
28143
- a.push(...No(l, { getShadowRoot: r }));
28143
+ a.push(...ko(l, { getShadowRoot: r }));
28144
28144
  continue;
28145
28145
  }
28146
28146
  a.push(u);
@@ -28155,11 +28155,11 @@ function ns(e) {
28155
28155
  return Kt(e) && e.tabIndex > 0 ? !0 : wr(e) && !B5(e);
28156
28156
  }
28157
28157
  function H5(e, t = {}) {
28158
- const n = No(e, t), r = n[0] || null, s = n[n.length - 1] || null;
28158
+ const n = ko(e, t), r = n[0] || null, s = n[n.length - 1] || null;
28159
28159
  return [r, s];
28160
28160
  }
28161
28161
  function j5(e, t = {}) {
28162
- const { current: n, getShadowRoot: r } = t, s = No(e, { getShadowRoot: r }), a = (e == null ? void 0 : e.ownerDocument) || document, u = n != null ? n : io(a);
28162
+ const { current: n, getShadowRoot: r } = t, s = ko(e, { getShadowRoot: r }), a = (e == null ? void 0 : e.ownerDocument) || document, u = n != null ? n : ao(a);
28163
28163
  if (!u) return null;
28164
28164
  const l = s.indexOf(u);
28165
28165
  return s[l + 1] || null;
@@ -28172,7 +28172,7 @@ function nT(e) {
28172
28172
  if (!s) return;
28173
28173
  let a = null;
28174
28174
  if (a || (a = typeof n == "function" ? n() : n), a || (a = t == null ? void 0 : t.querySelector("[data-autofocus],[autofocus]")), !a) {
28175
- const u = No(t);
28175
+ const u = ko(t);
28176
28176
  a = r ? u.filter(r)[0] : u[0];
28177
28177
  }
28178
28178
  return a || t || void 0;
@@ -28219,21 +28219,21 @@ function Cp(e) {
28219
28219
  }
28220
28220
  var z5 = /auto|scroll|overlay|hidden|clip/, V5 = /* @__PURE__ */ new Set(["inline", "contents"]);
28221
28221
  function q5(e) {
28222
- const t = wo(e), { overflow: n, overflowX: r, overflowY: s, display: a } = t.getComputedStyle(e);
28222
+ const t = Oo(e), { overflow: n, overflowX: r, overflowY: s, display: a } = t.getComputedStyle(e);
28223
28223
  return z5.test(n + s + r) && !V5.has(a);
28224
28224
  }
28225
- var ro = "default", Np = "", ec = /* @__PURE__ */ new WeakMap();
28225
+ var oo = "default", Np = "", ec = /* @__PURE__ */ new WeakMap();
28226
28226
  function Y5(e = {}) {
28227
28227
  const { target: t, doc: n } = e, r = n != null ? n : document, s = r.documentElement;
28228
- return Zc() ? (ro === "default" && (Np = s.style.webkitUserSelect, s.style.webkitUserSelect = "none"), ro = "disabled") : t && (ec.set(t, t.style.userSelect), t.style.userSelect = "none"), () => W5({ target: t, doc: r });
28228
+ return Zc() ? (oo === "default" && (Np = s.style.webkitUserSelect, s.style.webkitUserSelect = "none"), oo = "disabled") : t && (ec.set(t, t.style.userSelect), t.style.userSelect = "none"), () => W5({ target: t, doc: r });
28229
28229
  }
28230
28230
  function W5(e = {}) {
28231
28231
  const { target: t, doc: n } = e, s = (n != null ? n : document).documentElement;
28232
28232
  if (Zc()) {
28233
- if (ro !== "disabled") return;
28234
- ro = "restoring", setTimeout(() => {
28233
+ if (oo !== "disabled") return;
28234
+ oo = "restoring", setTimeout(() => {
28235
28235
  h2(() => {
28236
- ro === "restoring" && (s.style.webkitUserSelect === "none" && (s.style.webkitUserSelect = Np || ""), Np = "", ro = "default");
28236
+ oo === "restoring" && (s.style.webkitUserSelect === "none" && (s.style.webkitUserSelect = Np || ""), Np = "", oo = "default");
28237
28237
  });
28238
28238
  }, 300);
28239
28239
  } else if (t && ec.has(t)) {
@@ -28331,7 +28331,7 @@ function eM(e, t, n) {
28331
28331
  }), () => t.abort()];
28332
28332
  }
28333
28333
  function tM(e, t) {
28334
- const { timeout: n, rootNode: r } = t, s = wo(r), a = kr(r), u = new s.AbortController();
28334
+ const { timeout: n, rootNode: r } = t, s = Oo(r), a = kr(r), u = new s.AbortController();
28335
28335
  return eM(
28336
28336
  new Promise((l) => {
28337
28337
  const d = e();
@@ -28395,7 +28395,7 @@ function zt(...e) {
28395
28395
  }
28396
28396
  return t;
28397
28397
  }
28398
- var Zs = /* @__PURE__ */ ((e) => (e.NotStarted = "Not Started", e.Started = "Started", e.Stopped = "Stopped", e))(Zs || {}), Mh = "__init__";
28398
+ var no = /* @__PURE__ */ ((e) => (e.NotStarted = "Not Started", e.Started = "Started", e.Stopped = "Stopped", e))(no || {}), Mh = "__init__";
28399
28399
  function sM(e) {
28400
28400
  const t = () => {
28401
28401
  var u, l;
@@ -28403,7 +28403,7 @@ function sM(e) {
28403
28403
  }, n = () => kr(t()), r = () => {
28404
28404
  var u;
28405
28405
  return (u = n().defaultView) != null ? u : window;
28406
- }, s = () => io(t()), a = (u) => t().getElementById(u);
28406
+ }, s = () => ao(t()), a = (u) => t().getElementById(u);
28407
28407
  return ae(U({}, e), {
28408
28408
  getRootNode: t,
28409
28409
  getDoc: n,
@@ -28420,7 +28420,7 @@ function oM(e) {
28420
28420
  }
28421
28421
  });
28422
28422
  }
28423
- var Oo = () => (e) => Array.from(new Set(e)), p2 = typeof globalThis.document != "undefined" ? P.useLayoutEffect : P.useEffect;
28423
+ var Po = () => (e) => Array.from(new Set(e)), p2 = typeof globalThis.document != "undefined" ? P.useLayoutEffect : P.useEffect;
28424
28424
  function Sc(e) {
28425
28425
  var m, y;
28426
28426
  const t = (m = e().value) != null ? m : e().defaultValue, n = (y = e().isEqual) != null ? y : Object.is, [r] = P.useState(t), [s, a] = P.useState(r), u = e().value !== void 0, l = P.useRef(s);
@@ -28431,7 +28431,7 @@ function Sc(e) {
28431
28431
  }, [s, e().value]);
28432
28432
  const f = (T) => {
28433
28433
  var x, v;
28434
- const b = d.current, w = no(T) ? T(b) : T;
28434
+ const b = d.current, w = so(T) ? T(b) : T;
28435
28435
  e().debug && console.log(`[bindable > ${e().debug}] setValue`, { next: w, prev: b }), u || a(w), n(w, b) || (v = (x = e()).onChange) == null || v.call(x, w, b);
28436
28436
  };
28437
28437
  function p() {
@@ -28442,7 +28442,7 @@ function Sc(e) {
28442
28442
  ref: l,
28443
28443
  get: p,
28444
28444
  set(T) {
28445
- (e().sync ? _o.flushSync : KD)(() => f(T));
28445
+ (e().sync ? xo.flushSync : KD)(() => f(T));
28446
28446
  },
28447
28447
  invoke(T, b) {
28448
28448
  var w, x;
@@ -28558,7 +28558,7 @@ function td(e, t = {}) {
28558
28558
  scope: n,
28559
28559
  choose: j
28560
28560
  }), v = (ue) => {
28561
- const Q = no(ue) ? ue(x()) : ue;
28561
+ const Q = so(ue) ? ue(x()) : ue;
28562
28562
  if (!Q) return;
28563
28563
  const le = Q.map((C) => {
28564
28564
  var ee, R;
@@ -28569,9 +28569,9 @@ function td(e, t = {}) {
28569
28569
  C == null || C(x());
28570
28570
  }, N = (ue) => {
28571
28571
  var Q, le;
28572
- return no(ue) ? ue(x()) : (le = (Q = e.implementations) == null ? void 0 : Q.guards) == null ? void 0 : le[ue](x());
28572
+ return so(ue) ? ue(x()) : (le = (Q = e.implementations) == null ? void 0 : Q.guards) == null ? void 0 : le[ue](x());
28573
28573
  }, O = (ue) => {
28574
- const Q = no(ue) ? ue(x()) : ue;
28574
+ const Q = so(ue) ? ue(x()) : ue;
28575
28575
  if (!Q) return;
28576
28576
  const le = Q.map((F) => {
28577
28577
  var R, Ce;
@@ -28585,7 +28585,7 @@ function td(e, t = {}) {
28585
28585
  return () => C.forEach((F) => F == null ? void 0 : F());
28586
28586
  }, j = (ue) => DD(ue).find((Q) => {
28587
28587
  let le = !Q.guard;
28588
- return Zl(Q.guard) ? le = !!N(Q.guard) : no(Q.guard) && (le = Q.guard(x())), le;
28588
+ return Zl(Q.guard) ? le = !!N(Q.guard) : so(Q.guard) && (le = Q.guard(x())), le;
28589
28589
  }), V = (ue) => {
28590
28590
  r5(e.computed, () => "[zag-js] No computed object found on machine");
28591
28591
  const Q = e.computed[ue];
@@ -28614,18 +28614,18 @@ function td(e, t = {}) {
28614
28614
  }
28615
28615
  v((R = e.states[ue]) == null ? void 0 : R.entry);
28616
28616
  }
28617
- })), W = P.useRef(void 0), Z = P.useRef(Zs.NotStarted);
28617
+ })), W = P.useRef(void 0), Z = P.useRef(no.NotStarted);
28618
28618
  p2(() => {
28619
28619
  queueMicrotask(() => {
28620
28620
  var F;
28621
- const le = Z.current === Zs.Started;
28622
- Z.current = Zs.Started, r(le ? "rehydrating..." : "initializing...");
28621
+ const le = Z.current === no.Started;
28622
+ Z.current = no.Started, r(le ? "rehydrating..." : "initializing...");
28623
28623
  const C = (F = W.current) != null ? F : D.initial;
28624
28624
  D.invoke(C, le ? D.get() : Mh);
28625
28625
  });
28626
28626
  const ue = f.current, Q = D.ref.current;
28627
28627
  return () => {
28628
- r("unmounting..."), W.current = Q, Z.current = Zs.Stopped, ue.forEach((le) => le == null ? void 0 : le()), f.current = /* @__PURE__ */ new Map(), p.current = null, queueMicrotask(() => {
28628
+ r("unmounting..."), W.current = Q, Z.current = no.Stopped, ue.forEach((le) => le == null ? void 0 : le()), f.current = /* @__PURE__ */ new Map(), p.current = null, queueMicrotask(() => {
28629
28629
  v(e.exit);
28630
28630
  });
28631
28631
  };
@@ -28633,7 +28633,7 @@ function td(e, t = {}) {
28633
28633
  const re = () => "ref" in D ? D.ref.current : D.get(), $ = (ue) => {
28634
28634
  queueMicrotask(() => {
28635
28635
  var R, Ce, Re, he, ve;
28636
- if (Z.current !== Zs.Started) return;
28636
+ if (Z.current !== no.Started) return;
28637
28637
  m.current = y.current, y.current = ue;
28638
28638
  let Q = re();
28639
28639
  const le = (
@@ -28648,7 +28648,7 @@ function td(e, t = {}) {
28648
28648
  const F = (he = C.target) != null ? he : Q;
28649
28649
  r("transition", ue.type, C.target || Q, `(${C.actions})`);
28650
28650
  const ee = F !== Q;
28651
- ee ? _o.flushSync(() => D.set(F)) : C.reenter && !ee ? D.invoke(Q, Q) : v((ve = C.actions) != null ? ve : []);
28651
+ ee ? xo.flushSync(() => D.set(F)) : C.reenter && !ee ? D.invoke(Q, Q) : v((ve = C.actions) != null ? ve : []);
28652
28652
  });
28653
28653
  };
28654
28654
  return (Ae = e.watch) == null || Ae.call(e, x()), {
@@ -28675,7 +28675,7 @@ function lM(e) {
28675
28675
  }
28676
28676
  function iT(e) {
28677
28677
  queueMicrotask(() => {
28678
- _o.flushSync(() => e());
28678
+ xo.flushSync(() => e());
28679
28679
  });
28680
28680
  }
28681
28681
  var Hm = oM((e) => e);
@@ -28882,7 +28882,7 @@ var mM = {
28882
28882
  (t = e("onExitComplete")) == null || t();
28883
28883
  },
28884
28884
  setupNode: ({ refs: e, event: t }) => {
28885
- e.get("node") !== t.node && (e.set("node", t.node), e.set("styles", Co(t.node)));
28885
+ e.get("node") !== t.node && (e.set("node", t.node), e.set("styles", Io(t.node)));
28886
28886
  },
28887
28887
  cleanupNode: ({ refs: e }) => {
28888
28888
  e.set("node", null), e.set("styles", null);
@@ -28932,7 +28932,7 @@ var mM = {
28932
28932
  function Dl(e) {
28933
28933
  return (e == null ? void 0 : e.animationName) || "none";
28934
28934
  }
28935
- Oo()(["onExitComplete", "present", "immediate"]);
28935
+ Po()(["onExitComplete", "present", "immediate"]);
28936
28936
  function gM(e, t = {}) {
28937
28937
  const { sync: n = !1 } = t, r = EM(e);
28938
28938
  return P.useCallback(
@@ -28981,15 +28981,15 @@ var rs = (e, t = []) => ({
28981
28981
  (n, r) => Object.assign(n, {
28982
28982
  [r]: {
28983
28983
  selector: [
28984
- `&[data-scope="${Gs(e)}"][data-part="${Gs(r)}"]`,
28985
- `& [data-scope="${Gs(e)}"][data-part="${Gs(r)}"]`
28984
+ `&[data-scope="${Qs(e)}"][data-part="${Qs(r)}"]`,
28985
+ `& [data-scope="${Qs(e)}"][data-part="${Qs(r)}"]`
28986
28986
  ].join(", "),
28987
- attrs: { "data-scope": Gs(e), "data-part": Gs(r) }
28987
+ attrs: { "data-scope": Qs(e), "data-part": Qs(r) }
28988
28988
  }
28989
28989
  }),
28990
28990
  {}
28991
28991
  )
28992
- }), Gs = (e) => e.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), yM = (e) => e.length === 0;
28992
+ }), Qs = (e) => e.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), yM = (e) => e.length === 0;
28993
28993
  const TM = ["top", "right", "bottom", "left"], Ci = Math.min, Wr = Math.max, bc = Math.round, Ml = Math.floor, Cr = (e) => ({
28994
28994
  x: e,
28995
28995
  y: e
@@ -29008,7 +29008,7 @@ function Xr(e, t) {
29008
29008
  function Ni(e) {
29009
29009
  return e.split("-")[0];
29010
29010
  }
29011
- function Io(e) {
29011
+ function Ro(e) {
29012
29012
  return e.split("-")[1];
29013
29013
  }
29014
29014
  function zm(e) {
@@ -29026,7 +29026,7 @@ function qm(e) {
29026
29026
  }
29027
29027
  function SM(e, t, n) {
29028
29028
  n === void 0 && (n = !1);
29029
- const r = Io(e), s = qm(e), a = Vm(s);
29029
+ const r = Ro(e), s = qm(e), a = Vm(s);
29030
29030
  let u = s === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
29031
29031
  return t.reference[a] > t.floating[a] && (u = xc(u)), [u, xc(u)];
29032
29032
  }
@@ -29051,7 +29051,7 @@ function AM(e, t, n) {
29051
29051
  }
29052
29052
  }
29053
29053
  function wM(e, t, n, r) {
29054
- const s = Io(e);
29054
+ const s = Ro(e);
29055
29055
  let a = AM(Ni(e), n === "start", r);
29056
29056
  return s && (a = a.map((u) => u + "-" + s), t && (a = a.concat(a.map(Op)))), a;
29057
29057
  }
@@ -29132,7 +29132,7 @@ function aT(e, t, n) {
29132
29132
  y: r.y
29133
29133
  };
29134
29134
  }
29135
- const b = Io(t);
29135
+ const b = Ro(t);
29136
29136
  return b && (T[u] += y * (b === "end" ? 1 : -1) * (n && f ? -1 : 1)), T;
29137
29137
  }
29138
29138
  function NM(e, t) {
@@ -29264,7 +29264,7 @@ const OM = 50, IM = (e, t, n) => De(null, null, function* () {
29264
29264
  }, b = qm(a), w = Vm(b), x = yield l.getDimensions(p), v = b === "y", N = v ? "top" : "left", O = v ? "bottom" : "right", j = v ? "clientHeight" : "clientWidth", V = u.reference[w] + u.reference[b] - T[b] - u.floating[w], D = T[b] - u.reference[b], W = yield l.getOffsetParent == null ? void 0 : l.getOffsetParent(p);
29265
29265
  let Z = W ? W[j] : 0;
29266
29266
  (!Z || !(yield l.isElement == null ? void 0 : l.isElement(W))) && (Z = d.floating[j] || u.floating[w]);
29267
- const re = V / 2 - D / 2, $ = Z / 2 - x[w] / 2 - 1, K = Ci(y[N], $), oe = Ci(y[O], $), de = Z - x[w] - oe, fe = Z / 2 - x[w] / 2 + re, te = _2(K, fe, de), Ae = !f.arrow && Io(a) != null && fe !== te && u.reference[w] / 2 - (fe < K ? K : oe) - x[w] / 2 < 0, ue = Ae ? fe < K ? fe - K : fe - de : 0;
29267
+ const re = V / 2 - D / 2, $ = Z / 2 - x[w] / 2 - 1, K = Ci(y[N], $), oe = Ci(y[O], $), de = Z - x[w] - oe, fe = Z / 2 - x[w] / 2 + re, te = _2(K, fe, de), Ae = !f.arrow && Ro(a) != null && fe !== te && u.reference[w] / 2 - (fe < K ? K : oe) - x[w] / 2 < 0, ue = Ae ? fe < K ? fe - K : fe - de : 0;
29268
29268
  return {
29269
29269
  [b]: T[b] + ue,
29270
29270
  data: U({
@@ -29428,7 +29428,7 @@ function LM(e, t) {
29428
29428
  placement: n,
29429
29429
  platform: r,
29430
29430
  elements: s
29431
- } = e, a = yield r.isRTL == null ? void 0 : r.isRTL(s.floating), u = Ni(n), l = Io(n), d = vr(n) === "y", f = b2.has(u) ? -1 : 1, p = a && d ? -1 : 1, m = Xr(t, e);
29431
+ } = e, a = yield r.isRTL == null ? void 0 : r.isRTL(s.floating), u = Ni(n), l = Ro(n), d = vr(n) === "y", f = b2.has(u) ? -1 : 1, p = a && d ? -1 : 1, m = Xr(t, e);
29432
29432
  let {
29433
29433
  mainAxis: y,
29434
29434
  crossAxis: T,
@@ -29586,7 +29586,7 @@ const DM = function(e) {
29586
29586
  }
29587
29587
  } = $, d = mn($, [
29588
29588
  "apply"
29589
- ]), f = yield a.detectOverflow(n, d), p = Ni(r), m = Io(r), y = vr(r) === "y", {
29589
+ ]), f = yield a.detectOverflow(n, d), p = Ni(r), m = Ro(r), y = vr(r) === "y", {
29590
29590
  width: T,
29591
29591
  height: b
29592
29592
  } = s.floating;
@@ -29611,7 +29611,7 @@ const DM = function(e) {
29611
29611
  function rd() {
29612
29612
  return typeof window != "undefined";
29613
29613
  }
29614
- function ko(e) {
29614
+ function Lo(e) {
29615
29615
  return x2(e) ? (e.nodeName || "").toLowerCase() : "#document";
29616
29616
  }
29617
29617
  function Un(e) {
@@ -29644,7 +29644,7 @@ function mu(e) {
29644
29644
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && s !== "inline" && s !== "contents";
29645
29645
  }
29646
29646
  function UM(e) {
29647
- return /^(table|td|th)$/.test(ko(e));
29647
+ return /^(table|td|th)$/.test(Lo(e));
29648
29648
  }
29649
29649
  function id(e) {
29650
29650
  try {
@@ -29666,7 +29666,7 @@ function Ym(e) {
29666
29666
  }
29667
29667
  function $M(e) {
29668
29668
  let t = Oi(e);
29669
- for (; Or(t) && !mo(t); ) {
29669
+ for (; Or(t) && !yo(t); ) {
29670
29670
  if (Ym(t))
29671
29671
  return t;
29672
29672
  if (id(t))
@@ -29678,8 +29678,8 @@ function $M(e) {
29678
29678
  function Wm() {
29679
29679
  return Bh == null && (Bh = typeof CSS != "undefined" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), Bh;
29680
29680
  }
29681
- function mo(e) {
29682
- return /^(html|body|#document)$/.test(ko(e));
29681
+ function yo(e) {
29682
+ return /^(html|body|#document)$/.test(Lo(e));
29683
29683
  }
29684
29684
  function fr(e) {
29685
29685
  return Un(e).getComputedStyle(e);
@@ -29694,7 +29694,7 @@ function sd(e) {
29694
29694
  };
29695
29695
  }
29696
29696
  function Oi(e) {
29697
- if (ko(e) === "html")
29697
+ if (Lo(e) === "html")
29698
29698
  return e;
29699
29699
  const t = (
29700
29700
  // Step into the shadow DOM of the parent of a slotted node.
@@ -29707,7 +29707,7 @@ function Oi(e) {
29707
29707
  }
29708
29708
  function v2(e) {
29709
29709
  const t = Oi(e);
29710
- return mo(t) ? (e.ownerDocument || e).body : Or(t) && mu(t) ? t : v2(t);
29710
+ return yo(t) ? (e.ownerDocument || e).body : Or(t) && mu(t) ? t : v2(t);
29711
29711
  }
29712
29712
  function Za(e, t, n) {
29713
29713
  var r;
@@ -29735,7 +29735,7 @@ function A2(e) {
29735
29735
  function Gm(e) {
29736
29736
  return dr(e) ? e : e.contextElement;
29737
29737
  }
29738
- function so(e) {
29738
+ function uo(e) {
29739
29739
  const t = Gm(e);
29740
29740
  if (!Or(t))
29741
29741
  return Cr(1);
@@ -29765,14 +29765,14 @@ function gs(e, t, n, r) {
29765
29765
  t === void 0 && (t = !1), n === void 0 && (n = !1);
29766
29766
  const s = e.getBoundingClientRect(), a = Gm(e);
29767
29767
  let u = Cr(1);
29768
- t && (r ? dr(r) && (u = so(r)) : u = so(e));
29768
+ t && (r ? dr(r) && (u = uo(r)) : u = uo(e));
29769
29769
  const l = VM(a, n, r) ? w2(a) : Cr(0);
29770
29770
  let d = (s.left + l.x) / u.x, f = (s.top + l.y) / u.y, p = s.width / u.x, m = s.height / u.y;
29771
29771
  if (a) {
29772
29772
  const y = Un(a), T = r && dr(r) ? Un(r) : r;
29773
29773
  let b = y, w = Ip(b);
29774
29774
  for (; w && r && T !== b; ) {
29775
- const x = so(w), v = w.getBoundingClientRect(), N = fr(w), O = v.left + (w.clientLeft + parseFloat(N.paddingLeft)) * x.x, j = v.top + (w.clientTop + parseFloat(N.paddingTop)) * x.y;
29775
+ const x = uo(w), v = w.getBoundingClientRect(), N = fr(w), O = v.left + (w.clientLeft + parseFloat(N.paddingLeft)) * x.x, j = v.top + (w.clientTop + parseFloat(N.paddingTop)) * x.y;
29776
29776
  d *= x.x, f *= x.y, p *= x.x, m *= x.y, d += O, f += j, b = Un(w), w = Ip(b);
29777
29777
  }
29778
29778
  }
@@ -29809,9 +29809,9 @@ function qM(e) {
29809
29809
  scrollTop: 0
29810
29810
  }, f = Cr(1);
29811
29811
  const p = Cr(0), m = Or(r);
29812
- if ((m || !m && !a) && ((ko(r) !== "body" || mu(u)) && (d = sd(r)), Or(r))) {
29812
+ if ((m || !m && !a) && ((Lo(r) !== "body" || mu(u)) && (d = sd(r)), Or(r))) {
29813
29813
  const T = gs(r);
29814
- f = so(r), p.x = T.x + r.clientLeft, p.y = T.y + r.clientTop;
29814
+ f = uo(r), p.x = T.x + r.clientLeft, p.y = T.y + r.clientTop;
29815
29815
  }
29816
29816
  const y = u && !m && !a ? C2(u, d) : Cr(0);
29817
29817
  return {
@@ -29858,7 +29858,7 @@ function GM(e, t) {
29858
29858
  }
29859
29859
  const XM = /* @__PURE__ */ new Set(["absolute", "fixed"]);
29860
29860
  function KM(e, t) {
29861
- const n = gs(e, !0, t === "fixed"), r = n.top + e.clientTop, s = n.left + e.clientLeft, a = Or(e) ? so(e) : Cr(1), u = e.clientWidth * a.x, l = e.clientHeight * a.y, d = s * a.x, f = r * a.y;
29861
+ const n = gs(e, !0, t === "fixed"), r = n.top + e.clientTop, s = n.left + e.clientLeft, a = Or(e) ? uo(e) : Cr(1), u = e.clientWidth * a.x, l = e.clientHeight * a.y, d = s * a.x, f = r * a.y;
29862
29862
  return {
29863
29863
  width: u,
29864
29864
  height: l,
@@ -29887,16 +29887,16 @@ function fT(e, t, n) {
29887
29887
  }
29888
29888
  function N2(e, t) {
29889
29889
  const n = Oi(e);
29890
- return n === t || !dr(n) || mo(n) ? !1 : fr(n).position === "fixed" || N2(n, t);
29890
+ return n === t || !dr(n) || yo(n) ? !1 : fr(n).position === "fixed" || N2(n, t);
29891
29891
  }
29892
29892
  function QM(e, t) {
29893
29893
  const n = t.get(e);
29894
29894
  if (n)
29895
29895
  return n;
29896
- let r = Za(e, [], !1).filter((l) => dr(l) && ko(l) !== "body"), s = null;
29896
+ let r = Za(e, [], !1).filter((l) => dr(l) && Lo(l) !== "body"), s = null;
29897
29897
  const a = fr(e).position === "fixed";
29898
29898
  let u = a ? Oi(e) : e;
29899
- for (; dr(u) && !mo(u); ) {
29899
+ for (; dr(u) && !yo(u); ) {
29900
29900
  const l = fr(u), d = Ym(u);
29901
29901
  !d && l.position === "fixed" && (s = null), (a ? !d && !s : !d && l.position === "static" && !!s && XM.has(s.position) || mu(u) && !d && N2(e, u)) ? r = r.filter((p) => p !== u) : s = l, u = Oi(u);
29902
29902
  }
@@ -29941,7 +29941,7 @@ function e8(e, t, n) {
29941
29941
  d.x = od(s);
29942
29942
  }
29943
29943
  if (r || !r && !a)
29944
- if ((ko(t) !== "body" || mu(s)) && (l = sd(t)), r) {
29944
+ if ((Lo(t) !== "body" || mu(s)) && (l = sd(t)), r) {
29945
29945
  const T = gs(t, !0, a, t);
29946
29946
  d.x = T.x + t.clientLeft, d.y = T.y + t.clientTop;
29947
29947
  } else s && f();
@@ -29971,7 +29971,7 @@ function O2(e, t) {
29971
29971
  return n;
29972
29972
  if (!Or(e)) {
29973
29973
  let s = Oi(e);
29974
- for (; s && !mo(s); ) {
29974
+ for (; s && !yo(s); ) {
29975
29975
  if (dr(s) && !Uh(s))
29976
29976
  return s;
29977
29977
  s = Oi(s);
@@ -29981,7 +29981,7 @@ function O2(e, t) {
29981
29981
  let r = hT(e, t);
29982
29982
  for (; r && UM(r) && Uh(r); )
29983
29983
  r = hT(r, t);
29984
- return r && mo(r) && Uh(r) && !Ym(r) ? n : r || $M(e) || n;
29984
+ return r && yo(r) && Uh(r) && !Ym(r) ? n : r || $M(e) || n;
29985
29985
  }
29986
29986
  const t8 = function(e) {
29987
29987
  return De(this, null, function* () {
@@ -30008,7 +30008,7 @@ const r8 = {
30008
30008
  getElementRects: t8,
30009
30009
  getClientRects: YM,
30010
30010
  getDimensions: ZM,
30011
- getScale: so,
30011
+ getScale: uo,
30012
30012
  isElement: dr,
30013
30013
  isRTL: n8
30014
30014
  };
@@ -30287,11 +30287,11 @@ function O8(e, t, n = {}) {
30287
30287
  strategy: d
30288
30288
  });
30289
30289
  f == null || f(w), p == null || p({ placed: !0 });
30290
- const x = wo(t), v = mT(x, w.x), N = mT(x, w.y);
30290
+ const x = Oo(t), v = mT(x, w.x), N = mT(x, w.y);
30291
30291
  t.style.setProperty("--x", `${v}px`), t.style.setProperty("--y", `${N}px`), s.hideWhenDetached && (((j = w.middlewareData.hide) == null ? void 0 : j.referenceHidden) ? (t.style.setProperty("visibility", "hidden"), t.style.setProperty("pointer-events", "none")) : (t.style.removeProperty("visibility"), t.style.removeProperty("pointer-events")));
30292
30292
  const O = t.firstElementChild;
30293
30293
  if (O) {
30294
- const V = Co(O);
30294
+ const V = Io(O);
30295
30295
  t.style.setProperty("--z-index", V.zIndex);
30296
30296
  }
30297
30297
  }), y = () => De(null, null, function* () {
@@ -30355,7 +30355,7 @@ function k8(e = {}) {
30355
30355
  }
30356
30356
  };
30357
30357
  }
30358
- var Xs = /* @__PURE__ */ new WeakMap(), Fl = /* @__PURE__ */ new WeakMap(), Bl = {}, Hh = 0, k2 = (e) => e && (e.host || k2(e.parentNode)), P8 = (e, t) => t.map((n) => {
30358
+ var Js = /* @__PURE__ */ new WeakMap(), Fl = /* @__PURE__ */ new WeakMap(), Bl = {}, Hh = 0, k2 = (e) => e && (e.host || k2(e.parentNode)), P8 = (e, t) => t.map((n) => {
30359
30359
  if (e.contains(n)) return n;
30360
30360
  const r = k2(n);
30361
30361
  return r && e.contains(r) ? r : (console.error("[zag-js > ariaHidden] target", n, "in not contained inside", e, ". Doing nothing"), null);
@@ -30377,8 +30377,8 @@ var Xs = /* @__PURE__ */ new WeakMap(), Fl = /* @__PURE__ */ new WeakMap(), Bl =
30377
30377
  else
30378
30378
  try {
30379
30379
  if (L8(b)) return;
30380
- const x = b.getAttribute(s) === "true", v = (Xs.get(b) || 0) + 1, N = (l.get(b) || 0) + 1;
30381
- Xs.set(b, v), l.set(b, N), d.push(b), v === 1 && x && Fl.set(b, !0), N === 1 && b.setAttribute(r, ""), x || b.setAttribute(s, "true");
30380
+ const x = b.getAttribute(s) === "true", v = (Js.get(b) || 0) + 1, N = (l.get(b) || 0) + 1;
30381
+ Js.set(b, v), l.set(b, N), d.push(b), v === 1 && x && Fl.set(b, !0), N === 1 && b.setAttribute(r, ""), x || b.setAttribute(s, "true");
30382
30382
  } catch (w) {
30383
30383
  console.error("[zag-js > ariaHidden] cannot operate on ", b, w);
30384
30384
  }
@@ -30386,9 +30386,9 @@ var Xs = /* @__PURE__ */ new WeakMap(), Fl = /* @__PURE__ */ new WeakMap(), Bl =
30386
30386
  };
30387
30387
  return y(n), f.clear(), Hh++, () => {
30388
30388
  d.forEach((T) => {
30389
- const b = Xs.get(T) - 1, w = l.get(T) - 1;
30390
- Xs.set(T, b), l.set(T, w), b || (Fl.has(T) || T.removeAttribute(s), Fl.delete(T)), w || T.removeAttribute(r);
30391
- }), Hh--, Hh || (Xs = /* @__PURE__ */ new WeakMap(), Xs = /* @__PURE__ */ new WeakMap(), Fl = /* @__PURE__ */ new WeakMap(), Bl = {});
30389
+ const b = Js.get(T) - 1, w = l.get(T) - 1;
30390
+ Js.set(T, b), l.set(T, w), b || (Fl.has(T) || T.removeAttribute(s), Fl.delete(T)), w || T.removeAttribute(r);
30391
+ }), Hh--, Hh || (Js = /* @__PURE__ */ new WeakMap(), Js = /* @__PURE__ */ new WeakMap(), Fl = /* @__PURE__ */ new WeakMap(), Bl = {});
30392
30392
  };
30393
30393
  }, M8 = (e) => (Array.isArray(e) ? e[0] : e).ownerDocument.body, F8 = (e, t = M8(e), n = "data-aria-hidden", r = !0) => {
30394
30394
  if (t)
@@ -30507,9 +30507,9 @@ function V8(e, t) {
30507
30507
  followControlledElements: l = !0
30508
30508
  } = t;
30509
30509
  if (!e) return;
30510
- const d = kr(e), f = wo(e), p = U8(f), m = H8(f);
30510
+ const d = kr(e), f = Oo(e), p = U8(f), m = H8(f);
30511
30511
  function y(O, j) {
30512
- if (!Kt(j) || !j.isConnected || po(e, j) || $8(e, O) || l && s2(e, j)) return !1;
30512
+ if (!Kt(j) || !j.isConnected || Eo(e, j) || $8(e, O) || l && s2(e, j)) return !1;
30513
30513
  const V = d.querySelector(`[aria-controls="${e.id}"]`);
30514
30514
  if (V) {
30515
30515
  const W = Cp(V);
@@ -30638,10 +30638,10 @@ var ST = "layer:request-dismiss", Gn = {
30638
30638
  return this.getNestedLayersByType(e, t).length;
30639
30639
  },
30640
30640
  isInNestedLayer(e, t) {
30641
- return this.getNestedLayers(e).some((n) => po(n.node, t));
30641
+ return this.getNestedLayers(e).some((n) => Eo(n.node, t));
30642
30642
  },
30643
30643
  isInBranch(e) {
30644
- return Array.from(this.branches).some((t) => po(t, e));
30644
+ return Array.from(this.branches).some((t) => Eo(t, e));
30645
30645
  },
30646
30646
  add(e) {
30647
30647
  this.layers.push(e), this.syncLayers();
@@ -30748,7 +30748,7 @@ function Q8(e, t) {
30748
30748
  var O;
30749
30749
  if (!e) return !1;
30750
30750
  const x = typeof u == "function" ? u() : u, v = Array.isArray(x) ? x : [x], N = (O = t.persistentElements) == null ? void 0 : O.map((j) => j()).filter(Kt);
30751
- return N && v.push(...N), v.some((j) => po(j, w)) || Gn.isInNestedLayer(e, w);
30751
+ return N && v.push(...N), v.some((j) => Eo(j, w)) || Gn.isInNestedLayer(e, w);
30752
30752
  }
30753
30753
  const b = [
30754
30754
  a ? K8(e, t.persistentElements) : void 0,
@@ -30763,7 +30763,7 @@ function L2(e, t) {
30763
30763
  const { defer: n } = t, r = n ? $t : (a) => a(), s = [];
30764
30764
  return s.push(
30765
30765
  r(() => {
30766
- const a = no(e) ? e() : e;
30766
+ const a = so(e) ? e() : e;
30767
30767
  s.push(Q8(a, t));
30768
30768
  })
30769
30769
  ), () => {
@@ -30869,7 +30869,7 @@ var J8 = Object.defineProperty, Z8 = (e, t, n) => t in e ? J8(e, t, { enumerable
30869
30869
  if (r === !1)
30870
30870
  return !1;
30871
30871
  if (r === void 0 || r && !wr(r)) {
30872
- const s = io(this.doc);
30872
+ const s = ao(this.doc);
30873
30873
  if (s && this.findContainerIndex(s) >= 0)
30874
30874
  r = s;
30875
30875
  else {
@@ -30881,7 +30881,7 @@ var J8 = Object.defineProperty, Z8 = (e, t, n) => t in e ? J8(e, t, { enumerable
30881
30881
  throw new Error("Your focus-trap needs to have at least one focusable element");
30882
30882
  return r.isConnected || (r = this.getNodeForOption("fallbackFocus")), r;
30883
30883
  }), vt(this, "tryFocus", (r) => {
30884
- if (r !== !1 && r !== io(this.doc)) {
30884
+ if (r !== !1 && r !== ao(this.doc)) {
30885
30885
  if (!r || !r.focus) {
30886
30886
  this.tryFocus(this.getInitialFocusNode());
30887
30887
  return;
@@ -31028,7 +31028,7 @@ var J8 = Object.defineProperty, Z8 = (e, t, n) => t in e ? J8(e, t, { enumerable
31028
31028
  }
31029
31029
  updateTabbableNodes() {
31030
31030
  if (this.state.containerGroups = this.state.containers.map((e) => {
31031
- const t = No(e, { getShadowRoot: this.config.getShadowRoot }), n = d2(e, { getShadowRoot: this.config.getShadowRoot }), r = t[0], s = t[t.length - 1], a = r, u = s;
31031
+ const t = ko(e, { getShadowRoot: this.config.getShadowRoot }), n = d2(e, { getShadowRoot: this.config.getShadowRoot }), r = t[0], s = t[t.length - 1], a = r, u = s;
31032
31032
  let l = !1;
31033
31033
  for (let f = 0; f < t.length; f++)
31034
31034
  if (Ia(t[f]) > 0) {
@@ -31090,7 +31090,7 @@ var J8 = Object.defineProperty, Z8 = (e, t, n) => t in e ? J8(e, t, { enumerable
31090
31090
  if (this.state.active)
31091
31091
  return this;
31092
31092
  const t = this.getOption(e, "onActivate"), n = this.getOption(e, "onPostActivate"), r = this.getOption(e, "checkCanFocusTrap");
31093
- r || this.updateTabbableNodes(), this.state.active = !0, this.state.paused = !1, this.state.nodeFocusedBeforeActivation = io(this.doc), t == null || t();
31093
+ r || this.updateTabbableNodes(), this.state.active = !0, this.state.paused = !1, this.state.nodeFocusedBeforeActivation = ao(this.doc), t == null || t();
31094
31094
  const s = () => {
31095
31095
  r && this.updateTabbableNodes(), this.addListeners(), this.updateObservedNodes(), n == null || n();
31096
31096
  };
@@ -31128,7 +31128,7 @@ function i9(e) {
31128
31128
  return Math.round(t) + e.scrollLeft ? "paddingLeft" : "paddingRight";
31129
31129
  }
31130
31130
  function wT(e) {
31131
- const t = Co(e), n = t == null ? void 0 : t.scrollbarGutter;
31131
+ const t = Io(e), n = t == null ? void 0 : t.scrollbarGutter;
31132
31132
  return n === "stable" || (n == null ? void 0 : n.startsWith("stable ")) === !0;
31133
31133
  }
31134
31134
  function M2(e) {
@@ -31196,7 +31196,7 @@ var s9 = rs("popover").parts(
31196
31196
  }, a9 = (e) => {
31197
31197
  var t, n;
31198
31198
  return (n = (t = e.ids) == null ? void 0 : t.closeTrigger) != null ? n : `popover:${e.id}:close`;
31199
- }, CT = (e) => e.getById(F2(e)), Ks = (e) => e.getById(B2(e)), Qs = (e) => e.getById(kp(e)), NT = (e) => e.getById(U2(e)), u9 = (e) => e.getById(Pp(e)), l9 = (e) => e.getById(Rp(e));
31199
+ }, CT = (e) => e.getById(F2(e)), Zs = (e) => e.getById(B2(e)), eo = (e) => e.getById(kp(e)), NT = (e) => e.getById(U2(e)), u9 = (e) => e.getById(Pp(e)), l9 = (e) => e.getById(Rp(e));
31200
31200
  function c9(e, t) {
31201
31201
  const { state: n, context: r, send: s, computed: a, prop: u, scope: l } = e, d = n.matches("open"), f = r.get("currentPlacement"), p = a("currentPortalled"), m = r.get("renderedElements"), y = k8(ae(U({}, u("positioning")), {
31202
31202
  placement: f
@@ -31274,7 +31274,7 @@ function c9(e, t) {
31274
31274
  "aria-modal": n2(u("modal")),
31275
31275
  hidden: !d,
31276
31276
  "data-state": d ? "open" : "closed",
31277
- "data-expanded": Js(d),
31277
+ "data-expanded": to(d),
31278
31278
  "aria-labelledby": m.title ? Pp(l) : void 0,
31279
31279
  "aria-describedby": m.description ? Rp(l) : void 0,
31280
31280
  "data-placement": f
@@ -31418,7 +31418,7 @@ var d9 = {
31418
31418
  trackPositioning({ context: e, prop: t, scope: n }) {
31419
31419
  var a;
31420
31420
  e.set("currentPlacement", t("positioning").placement);
31421
- const r = (a = CT(n)) != null ? a : Ks(n);
31421
+ const r = (a = CT(n)) != null ? a : Zs(n);
31422
31422
  return gT(r, () => NT(n), ae(U({}, t("positioning")), {
31423
31423
  defer: !0,
31424
31424
  onComplete(u) {
@@ -31427,12 +31427,12 @@ var d9 = {
31427
31427
  }));
31428
31428
  },
31429
31429
  trackDismissableElement({ send: e, prop: t, scope: n }) {
31430
- const r = () => Qs(n);
31430
+ const r = () => eo(n);
31431
31431
  let s = !0;
31432
31432
  return L2(r, {
31433
31433
  type: "popover",
31434
31434
  pointerBlocking: t("modal"),
31435
- exclude: Ks(n),
31435
+ exclude: Zs(n),
31436
31436
  defer: !0,
31437
31437
  onEscapeKeyDown(a) {
31438
31438
  var u;
@@ -31452,8 +31452,8 @@ var d9 = {
31452
31452
  });
31453
31453
  },
31454
31454
  proxyTabFocus({ prop: e, scope: t }) {
31455
- return e("modal") || !e("portalled") ? void 0 : Q5(() => Qs(t), {
31456
- triggerElement: Ks(t),
31455
+ return e("modal") || !e("portalled") ? void 0 : Q5(() => eo(t), {
31456
+ triggerElement: Zs(t),
31457
31457
  defer: !0,
31458
31458
  getShadowRoot: !0,
31459
31459
  onFocus(r) {
@@ -31462,16 +31462,16 @@ var d9 = {
31462
31462
  });
31463
31463
  },
31464
31464
  hideContentBelow({ prop: e, scope: t }) {
31465
- return e("modal") ? P2(() => [Qs(t), Ks(t)], { defer: !0 }) : void 0;
31465
+ return e("modal") ? P2(() => [eo(t), Zs(t)], { defer: !0 }) : void 0;
31466
31466
  },
31467
31467
  preventScroll({ prop: e, scope: t }) {
31468
31468
  if (e("modal"))
31469
31469
  return M2(t.getDoc());
31470
31470
  },
31471
31471
  trapFocus({ prop: e, scope: t }) {
31472
- return e("modal") ? D2(() => Qs(t), {
31472
+ return e("modal") ? D2(() => eo(t), {
31473
31473
  initialFocus: () => nT({
31474
- root: Qs(t),
31474
+ root: eo(t),
31475
31475
  getInitialEl: e("initialFocusEl"),
31476
31476
  enabled: e("autoFocus")
31477
31477
  }),
@@ -31482,7 +31482,7 @@ var d9 = {
31482
31482
  actions: {
31483
31483
  reposition({ event: e, prop: t, scope: n, context: r }) {
31484
31484
  var u;
31485
- const s = (u = CT(n)) != null ? u : Ks(n);
31485
+ const s = (u = CT(n)) != null ? u : Zs(n);
31486
31486
  gT(s, () => NT(n), ae(U(U({}, t("positioning")), e.options), {
31487
31487
  defer: !0,
31488
31488
  listeners: !1,
@@ -31502,7 +31502,7 @@ var d9 = {
31502
31502
  setInitialFocus({ prop: e, scope: t }) {
31503
31503
  e("modal") || $t(() => {
31504
31504
  const n = nT({
31505
- root: Qs(t),
31505
+ root: eo(t),
31506
31506
  getInitialEl: e("initialFocusEl"),
31507
31507
  enabled: e("autoFocus")
31508
31508
  });
@@ -31513,7 +31513,7 @@ var d9 = {
31513
31513
  var r, s;
31514
31514
  const n = (s = e.restoreFocus) != null ? s : (r = e.previousEvent) == null ? void 0 : r.restoreFocus;
31515
31515
  n != null && !n || $t(() => {
31516
- const a = Ks(t);
31516
+ const a = Zs(t);
31517
31517
  a == null || a.focus({ preventScroll: !0 });
31518
31518
  });
31519
31519
  },
@@ -31535,7 +31535,7 @@ var d9 = {
31535
31535
  }
31536
31536
  }
31537
31537
  };
31538
- Oo()([
31538
+ Po()([
31539
31539
  "autoFocus",
31540
31540
  "closeOnEscape",
31541
31541
  "closeOnInteractOutside",
@@ -31557,7 +31557,7 @@ Oo()([
31557
31557
  "portalled",
31558
31558
  "positioning"
31559
31559
  ]);
31560
- const [wH, ad] = _s({
31560
+ const [CH, ad] = _s({
31561
31561
  name: "EnvironmentContext",
31562
31562
  hookName: "useEnvironmentContext",
31563
31563
  providerName: "<EnvironmentProvider />",
@@ -31567,7 +31567,7 @@ const [wH, ad] = _s({
31567
31567
  getDocument: () => document,
31568
31568
  getWindow: () => window
31569
31569
  }
31570
- }), [CH, Km] = _s({
31570
+ }), [NH, Km] = _s({
31571
31571
  name: "LocaleContext",
31572
31572
  hookName: "useLocaleContext",
31573
31573
  providerName: "<LocaleProvider />",
@@ -31701,7 +31701,7 @@ const i0 = P.forwardRef((e, t) => {
31701
31701
  });
31702
31702
  i0.displayName = "CarouselPrevTrigger";
31703
31703
  function _9(e) {
31704
- const t = Co(e), n = e.getBoundingClientRect();
31704
+ const t = Io(e), n = e.getBoundingClientRect();
31705
31705
  let r = t.getPropertyValue("scroll-padding-left").replace("auto", "0px"), s = t.getPropertyValue("scroll-padding-top").replace("auto", "0px"), a = t.getPropertyValue("scroll-padding-right").replace("auto", "0px"), u = t.getPropertyValue("scroll-padding-bottom").replace("auto", "0px");
31706
31706
  function l(y, T) {
31707
31707
  let b = parseFloat(y);
@@ -31733,7 +31733,7 @@ function q2(e, t = !1) {
31733
31733
  const m = p.getBoundingClientRect();
31734
31734
  if (!S9(n, m, u))
31735
31735
  continue;
31736
- const y = Co(p);
31736
+ const y = Io(p);
31737
31737
  let [T, b] = y.getPropertyValue("scroll-snap-align").split(" ");
31738
31738
  typeof b == "undefined" && (b = T);
31739
31739
  const w = a === "x" ? b : T, x = m[l] - n[l] + e[f];
@@ -31816,7 +31816,7 @@ var PT = (e) => [...new Set(e)], RT = (e, t) => (n) => Math.max(e, Math.min(t, n
31816
31816
  }, wn = (e) => e.getById(tc(e)), LT = (e) => J5(wn(e), "[data-part=item]"), O9 = (e, t) => e.getById(Y2(e, t)), DT = (e) => {
31817
31817
  const t = wn(e);
31818
31818
  if (!t) return;
31819
- const n = No(t);
31819
+ const n = ko(t);
31820
31820
  t.setAttribute("tabindex", n.length > 0 ? "-1" : "0");
31821
31821
  };
31822
31822
  function I9(e, t) {
@@ -31873,14 +31873,14 @@ function I9(e, t) {
31873
31873
  return t.element(ae(U({}, zr.itemGroup.attrs), {
31874
31874
  id: tc(u),
31875
31875
  "data-orientation": l("orientation"),
31876
- "data-dragging": Js(f),
31876
+ "data-dragging": to(f),
31877
31877
  dir: l("dir"),
31878
31878
  "aria-live": d ? "off" : "polite",
31879
31879
  onFocus(N) {
31880
- po(N.currentTarget, ur(N)) && a({ type: "VIEWPORT.FOCUS" });
31880
+ Eo(N.currentTarget, ur(N)) && a({ type: "VIEWPORT.FOCUS" });
31881
31881
  },
31882
31882
  onBlur(N) {
31883
- po(N.currentTarget, N.relatedTarget) || a({ type: "VIEWPORT.BLUR" });
31883
+ Eo(N.currentTarget, N.relatedTarget) || a({ type: "VIEWPORT.BLUR" });
31884
31884
  },
31885
31885
  onMouseDown(N) {
31886
31886
  if (N.defaultPrevented || !l("allowMouseDrag") || !a2(N)) return;
@@ -31915,7 +31915,7 @@ function I9(e, t) {
31915
31915
  dir: l("dir"),
31916
31916
  role: "group",
31917
31917
  "data-index": N.index,
31918
- "data-inview": Js(O),
31918
+ "data-inview": to(O),
31919
31919
  "aria-roledescription": "slide",
31920
31920
  "data-orientation": l("orientation"),
31921
31921
  "aria-label": v.item(N.index, l("slideCount")),
@@ -32003,8 +32003,8 @@ function I9(e, t) {
32003
32003
  type: "button",
32004
32004
  "data-orientation": l("orientation"),
32005
32005
  "data-index": N.index,
32006
- "data-readonly": Js(N.readOnly),
32007
- "data-current": Js(N.index === b),
32006
+ "data-readonly": to(N.readOnly),
32007
+ "data-current": to(N.index === b),
32008
32008
  "aria-label": v.indicator(N.index),
32009
32009
  onClick(O) {
32010
32010
  O.defaultPrevented || N.readOnly || a({ type: "PAGE.SET", index: N.index, src: "indicator" });
@@ -32015,7 +32015,7 @@ function I9(e, t) {
32015
32015
  return t.button(ae(U({}, zr.autoplayTrigger.attrs), {
32016
32016
  type: "button",
32017
32017
  "data-orientation": l("orientation"),
32018
- "data-pressed": Js(d),
32018
+ "data-pressed": to(d),
32019
32019
  "aria-label": d ? v.autoplayStop : v.autoplayStart,
32020
32020
  onClick(N) {
32021
32021
  N.defaultPrevented || a({ type: d ? "AUTOPLAY.PAUSE" : "AUTOPLAY.START" });
@@ -32431,7 +32431,7 @@ function P9(e, t, n) {
32431
32431
  r.push(a);
32432
32432
  return r;
32433
32433
  }
32434
- Oo()([
32434
+ Po()([
32435
32435
  "dir",
32436
32436
  "getRootNode",
32437
32437
  "id",
@@ -32454,8 +32454,8 @@ Oo()([
32454
32454
  "onDragStatusChange",
32455
32455
  "onAutoplayStatusChange"
32456
32456
  ]);
32457
- Oo()(["index", "readOnly"]);
32458
- Oo()(["index", "snapAlign"]);
32457
+ Po()(["index", "readOnly"]);
32458
+ Po()(["index", "snapAlign"]);
32459
32459
  const R9 = (e) => {
32460
32460
  const t = P.useId(), { getRootNode: n } = ad(), { dir: r } = Km(), s = U({
32461
32461
  id: t,
@@ -32896,7 +32896,7 @@ var K9 = {
32896
32896
  $t(() => {
32897
32897
  const t = Ul(e);
32898
32898
  if (!t) return;
32899
- const n = Co(t);
32899
+ const n = Io(t);
32900
32900
  [z9(e), V9(e)].forEach((s) => {
32901
32901
  s == null || s.style.setProperty("--z-index", n.zIndex), s == null || s.style.setProperty("--layer-index", n.getPropertyValue("--layer-index"));
32902
32902
  });
@@ -32919,7 +32919,7 @@ var K9 = {
32919
32919
  }
32920
32920
  }
32921
32921
  };
32922
- Oo()([
32922
+ Po()([
32923
32923
  "aria-label",
32924
32924
  "closeOnEscape",
32925
32925
  "closeOnInteractOutside",
@@ -33311,7 +33311,7 @@ const vi = new nF(), rF = (e) => {
33311
33311
  ]
33312
33312
  }
33313
33313
  ) });
33314
- }, go = "USD", ld = (...e) => e.flatMap((t) => t != null ? t : []).reduce((t, n) => {
33314
+ }, To = "USD", ld = (...e) => e.flatMap((t) => t != null ? t : []).reduce((t, n) => {
33315
33315
  const r = n.promotionalPrice;
33316
33316
  return typeof r != "number" || !Number.isFinite(r) ? t : t === void 0 || r < t ? r : t;
33317
33317
  }, void 0), Kr = (e, t) => {
@@ -33327,9 +33327,9 @@ const vi = new nF(), rF = (e) => {
33327
33327
  }, pF = ({
33328
33328
  retailPrice: e,
33329
33329
  discountPrice: t,
33330
- currencyCode: n = go
33330
+ currencyCode: n = To
33331
33331
  }) => {
33332
- const r = n || go, s = typeof t == "number" && typeof e == "number" && t < e, a = s ? t : e || t || null, u = s ? e : null;
33332
+ const r = n || To, s = typeof t == "number" && typeof e == "number" && t < e, a = s ? t : e || t || null, u = s ? e : null;
33333
33333
  return {
33334
33334
  price: Kr(a, r),
33335
33335
  comparePrice: Kr(u, r),
@@ -33338,19 +33338,19 @@ const vi = new nF(), rF = (e) => {
33338
33338
  }, Ac = (e) => typeof e == "number" && Number.isFinite(e), Fp = ({
33339
33339
  min: e,
33340
33340
  max: t,
33341
- currencyCode: n = go
33341
+ currencyCode: n = To
33342
33342
  }) => {
33343
33343
  if (!Ac(e) || !Ac(t)) return null;
33344
- const r = n || go, s = Kr(e, r), a = Kr(t, r);
33344
+ const r = n || To, s = Kr(e, r), a = Kr(t, r);
33345
33345
  if (s === null || a === null) return null;
33346
33346
  const u = e !== t;
33347
33347
  return { value: u ? `${s} – ${a}` : s, low: s, high: a, isRange: u };
33348
33348
  }, mF = ({
33349
33349
  priceBreakdown: e,
33350
- currencyCode: t = go
33350
+ currencyCode: t = To
33351
33351
  }) => {
33352
33352
  if (!e) return null;
33353
- const n = t || go, r = [e.promotional, e.sales, e.original], s = r.map((f) => f == null ? void 0 : f.min).filter(Ac), a = r.map((f) => f == null ? void 0 : f.max).filter(Ac);
33353
+ const n = t || To, r = [e.promotional, e.sales, e.original], s = r.map((f) => f == null ? void 0 : f.min).filter(Ac), a = r.map((f) => f == null ? void 0 : f.max).filter(Ac);
33354
33354
  if (s.length === 0 || a.length === 0) return null;
33355
33355
  const u = Math.min(...s), l = Math.max(...a);
33356
33356
  if (u === l) return null;
@@ -33460,7 +33460,7 @@ const vi = new nF(), rF = (e) => {
33460
33460
  const { globalClassName: n, enableMinimize: r } = ct();
33461
33461
  if (!r) return null;
33462
33462
  const s = () => {
33463
- Gr(!1), oo(!0);
33463
+ Gr(!1), lo(!0);
33464
33464
  };
33465
33465
  return t ? /* @__PURE__ */ S.jsx(
33466
33466
  cr,
@@ -34158,7 +34158,7 @@ function eu(e) {
34158
34158
  return "&#x" + e.toString(16).toUpperCase() + ";";
34159
34159
  }
34160
34160
  function wc(e, t, n) {
34161
- const r = fo(e), s = fo(t);
34161
+ const r = mo(e), s = mo(t);
34162
34162
  return r === void 0 ? s === void 0 ? (
34163
34163
  // Letter inside:
34164
34164
  // we have to encode *both* letters for `_` as it is looser.
@@ -35218,11 +35218,11 @@ function _7(e) {
35218
35218
  return f === 126 && p[p.length - 1][1].type !== "characterEscape" ? d(b) : (u.enter("strikethroughSequenceTemporary"), T(b));
35219
35219
  }
35220
35220
  function T(b) {
35221
- const w = fo(f);
35221
+ const w = mo(f);
35222
35222
  if (b === 126)
35223
35223
  return m > 1 ? d(b) : (u.consume(b), m++, T);
35224
35224
  if (m < 2 && !n) return d(b);
35225
- const x = u.exit("strikethroughSequenceTemporary"), v = fo(b);
35225
+ const x = u.exit("strikethroughSequenceTemporary"), v = mo(b);
35226
35226
  return x._open = !v || v === 2 && !!w, x._close = !w || w === 2 && !!v, l(b);
35227
35227
  }
35228
35228
  }
@@ -35421,15 +35421,15 @@ function w7(e, t) {
35421
35421
  }
35422
35422
  function Hl(e, t, n, r, s, a) {
35423
35423
  const u = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", l = "tableContent";
35424
- n[0] !== 0 && (a.end = Object.assign({}, eo(t.events, n[0])), e.add(n[0], 0, [["exit", a, t]]));
35425
- const d = eo(t.events, n[1]);
35424
+ n[0] !== 0 && (a.end = Object.assign({}, ro(t.events, n[0])), e.add(n[0], 0, [["exit", a, t]]));
35425
+ const d = ro(t.events, n[1]);
35426
35426
  if (a = {
35427
35427
  type: u,
35428
35428
  start: Object.assign({}, d),
35429
35429
  // Note: correct end is set later.
35430
35430
  end: Object.assign({}, d)
35431
35431
  }, e.add(n[1], 0, [["enter", a, t]]), n[2] !== 0) {
35432
- const f = eo(t.events, n[2]), p = eo(t.events, n[3]), m = {
35432
+ const f = ro(t.events, n[2]), p = ro(t.events, n[3]), m = {
35433
35433
  type: l,
35434
35434
  start: Object.assign({}, f),
35435
35435
  end: Object.assign({}, p)
@@ -35443,13 +35443,13 @@ function Hl(e, t, n, r, s, a) {
35443
35443
  }
35444
35444
  e.add(n[3] + 1, 0, [["exit", m, t]]);
35445
35445
  }
35446
- return s !== void 0 && (a.end = Object.assign({}, eo(t.events, s)), e.add(s, 0, [["exit", a, t]]), a = void 0), a;
35446
+ return s !== void 0 && (a.end = Object.assign({}, ro(t.events, s)), e.add(s, 0, [["exit", a, t]]), a = void 0), a;
35447
35447
  }
35448
35448
  function $T(e, t, n, r, s) {
35449
- const a = [], u = eo(t.events, n);
35449
+ const a = [], u = ro(t.events, n);
35450
35450
  s && (s.end = Object.assign({}, u), a.push(["exit", s, t])), r.end = Object.assign({}, u), a.push(["exit", r, t]), e.add(n + 1, 0, a);
35451
35451
  }
35452
- function eo(e, t) {
35452
+ function ro(e, t) {
35453
35453
  const n = e[t], r = n[0] === "enter" ? "start" : "end";
35454
35454
  return n[1][r];
35455
35455
  }
@@ -35510,7 +35510,7 @@ function R7(e) {
35510
35510
  ), n = e || P7, r = t.data(), s = r.micromarkExtensions || (r.micromarkExtensions = []), a = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), u = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
35511
35511
  s.push(k7(n)), a.push(JB()), u.push(ZB(n));
35512
35512
  }
35513
- const L7 = () => /* @__PURE__ */ S.jsx("span", { className: `${I}-blinking-cursor`, children: /* @__PURE__ */ S.jsx("svg", { height: "16px", width: "16px", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ S.jsx("circle", { r: "0.45rem", cx: "0.5rem", cy: "0.55rem", fill: "black" }) }) }), Po = ({
35513
+ const L7 = () => /* @__PURE__ */ S.jsx("span", { className: `${I}-blinking-cursor`, children: /* @__PURE__ */ S.jsx("svg", { height: "16px", width: "16px", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ S.jsx("circle", { r: "0.45rem", cx: "0.5rem", cy: "0.55rem", fill: "black" }) }) }), Do = ({
35514
35514
  globalClassName: e,
35515
35515
  openLinksInNewTab: t,
35516
35516
  showIsLoading: n,
@@ -35551,7 +35551,7 @@ function D7() {
35551
35551
  const { messages: e } = En();
35552
35552
  return P.useMemo(() => gO(e, "cart"), [e]);
35553
35553
  }
35554
- const Ro = () => P.useContext(hS), Lo = () => {
35554
+ const bs = () => P.useContext(hS), xs = () => {
35555
35555
  const { sendMessage: e, loading: t, isConnected: n } = En(), { mode: r, status: s } = Qr();
35556
35556
  return P.useMemo(
35557
35557
  () => ({
@@ -35567,7 +35567,7 @@ const Ro = () => P.useContext(hS), Lo = () => {
35567
35567
  function M7(e) {
35568
35568
  return e.includes("-") && e === e.toLowerCase();
35569
35569
  }
35570
- function Do({ tagName: e, props: t, label: n }) {
35570
+ function vs({ tagName: e, props: t, label: n }) {
35571
35571
  const r = P.useRef(null), s = P.useRef(null), a = P.useRef(e), u = P.useRef(null);
35572
35572
  return P.useEffect(() => {
35573
35573
  const l = r.current;
@@ -35641,7 +35641,7 @@ function dd({
35641
35641
  openLinksInNewTab: t,
35642
35642
  isCartMgmtSupported: n = !1
35643
35643
  } = {}) {
35644
- n || t || H7(e) && typeof window != "undefined" && window.matchMedia(U7).matches && (oo(!0), Qw());
35644
+ n || t || H7(e) && typeof window != "undefined" && window.matchMedia(U7).matches && (lo(!0), Qw());
35645
35645
  }
35646
35646
  const j7 = ({
35647
35647
  imageUrl: e,
@@ -35766,14 +35766,14 @@ const j7 = ({
35766
35766
  isCartMgmtSupported: r = !1,
35767
35767
  rawProduct: s
35768
35768
  }) => {
35769
- const { showProductDescription: a } = ct(), { overrides: u, isInitialized: l } = Ro(), { sendMessage: d, loading: f } = En(), p = Lo(), m = l ? u.ProductTile : void 0;
35769
+ const { showProductDescription: a } = ct(), { overrides: u, isInitialized: l } = bs(), { sendMessage: d, loading: f } = En(), p = xs(), m = l ? u.ProductTile : void 0;
35770
35770
  if (m) {
35771
35771
  const $ = {
35772
35772
  name: "ProductTile",
35773
35773
  payload: s != null ? s : {},
35774
35774
  api: p
35775
35775
  };
35776
- return /* @__PURE__ */ S.jsx(Do, { tagName: m, props: $, label: "ProductTile" });
35776
+ return /* @__PURE__ */ S.jsx(vs, { tagName: m, props: $, label: "ProductTile" });
35777
35777
  }
35778
35778
  const {
35779
35779
  id: y,
@@ -35834,7 +35834,7 @@ const j7 = ({
35834
35834
  `${I}-msg-product-card__description`
35835
35835
  ),
35836
35836
  title: w,
35837
- children: /* @__PURE__ */ S.jsx(Po, { globalClassName: t, text: w })
35837
+ children: /* @__PURE__ */ S.jsx(Do, { globalClassName: t, text: w })
35838
35838
  }
35839
35839
  )
35840
35840
  ]
@@ -35891,7 +35891,7 @@ const j7 = ({
35891
35891
  isWidgetStandalone: s,
35892
35892
  isCartMgmtSupported: a = !1
35893
35893
  }) => {
35894
- const { showProductCaptions: u } = ct(), { overrides: l, isInitialized: d } = Ro(), f = Lo(), p = d ? l.ProductCarousel : void 0;
35894
+ const { showProductCaptions: u } = ct(), { overrides: l, isInitialized: d } = bs(), f = xs(), p = d ? l.ProductCarousel : void 0;
35895
35895
  if (p) {
35896
35896
  const m = {
35897
35897
  name: "ProductCarousel",
@@ -35899,7 +35899,7 @@ const j7 = ({
35899
35899
  api: f
35900
35900
  };
35901
35901
  return /* @__PURE__ */ S.jsx(
35902
- Do,
35902
+ vs,
35903
35903
  {
35904
35904
  tagName: p,
35905
35905
  props: m,
@@ -36278,7 +36278,7 @@ const Z7 = ({
36278
36278
  onClick: () => l((te) => !te),
36279
36279
  children: [
36280
36280
  /* @__PURE__ */ S.jsx("span", { className: M(n, `${I}-cart-summary-text`), children: /* @__PURE__ */ S.jsx(
36281
- Po,
36281
+ Do,
36282
36282
  {
36283
36283
  text: D,
36284
36284
  globalClassName: n,
@@ -36584,7 +36584,7 @@ const Z7 = ({
36584
36584
  "aria-expanded": n,
36585
36585
  onClick: () => r((j) => !j),
36586
36586
  children: [
36587
- /* @__PURE__ */ S.jsx("span", { className: M(t, `${I}-cart-summary-text`), children: /* @__PURE__ */ S.jsx(Po, { text: v, globalClassName: t, showIsLoading: !1 }) }),
36587
+ /* @__PURE__ */ S.jsx("span", { className: M(t, `${I}-cart-summary-text`), children: /* @__PURE__ */ S.jsx(Do, { text: v, globalClassName: t, showIsLoading: !1 }) }),
36588
36588
  /* @__PURE__ */ S.jsx(
36589
36589
  "span",
36590
36590
  {
@@ -36956,7 +36956,7 @@ const Z7 = ({
36956
36956
  }
36957
36957
  return t;
36958
36958
  }, TU = 300, _U = (e) => {
36959
- const { overrides: t, isInitialized: n } = Ro(), r = Lo(), s = n ? t.ProductDetailCard : void 0;
36959
+ const { overrides: t, isInitialized: n } = bs(), r = xs(), s = n ? t.ProductDetailCard : void 0;
36960
36960
  if (s) {
36961
36961
  const a = {
36962
36962
  name: "ProductDetailCard",
@@ -36964,7 +36964,7 @@ const Z7 = ({
36964
36964
  api: r
36965
36965
  };
36966
36966
  return /* @__PURE__ */ S.jsx(
36967
- Do,
36967
+ vs,
36968
36968
  {
36969
36969
  tagName: s,
36970
36970
  props: a,
@@ -37244,7 +37244,7 @@ const Z7 = ({
37244
37244
  fontSize: "14px"
37245
37245
  }
37246
37246
  ) }),
37247
- l.dscr && /* @__PURE__ */ S.jsx("div", { className: M(t, `${I}-msg-pdp__description`), children: /* @__PURE__ */ S.jsx(Po, { globalClassName: t, text: l.dscr }) }),
37247
+ l.dscr && /* @__PURE__ */ S.jsx("div", { className: M(t, `${I}-msg-pdp__description`), children: /* @__PURE__ */ S.jsx(Do, { globalClassName: t, text: l.dscr }) }),
37248
37248
  D && Qe(D),
37249
37249
  W.map(Ue),
37250
37250
  r && /* @__PURE__ */ S.jsxs("div", { className: M(t, `${I}-msg-pdp__variant`), children: [
@@ -37331,7 +37331,7 @@ const Z7 = ({
37331
37331
  globalClassName: n,
37332
37332
  openLinksInNewTab: r
37333
37333
  }) => {
37334
- const { isCartMgmtSupported: s } = ct(), { overrides: a, isInitialized: u } = Ro(), l = Lo(), d = u ? a.ProductComparison : void 0;
37334
+ const { isCartMgmtSupported: s } = ct(), { overrides: a, isInitialized: u } = bs(), l = xs(), d = u ? a.ProductComparison : void 0;
37335
37335
  if (d) {
37336
37336
  const m = {
37337
37337
  name: "ProductComparison",
@@ -37339,7 +37339,7 @@ const Z7 = ({
37339
37339
  api: l
37340
37340
  };
37341
37341
  return /* @__PURE__ */ S.jsx(
37342
- Do,
37342
+ vs,
37343
37343
  {
37344
37344
  tagName: d,
37345
37345
  props: m,
@@ -37453,6 +37453,32 @@ const Z7 = ({
37453
37453
  ]
37454
37454
  }
37455
37455
  ) });
37456
+ }, xU = ({
37457
+ suggestions: e,
37458
+ disabled: t,
37459
+ globalClassName: n,
37460
+ isWidgetStandalone: r,
37461
+ onSuggestionClick: s
37462
+ }) => {
37463
+ const { overrides: a, isInitialized: u } = bs(), l = xs(), d = u ? a.Suggestions : void 0;
37464
+ if (d) {
37465
+ const f = {
37466
+ name: "Suggestions",
37467
+ payload: { suggestions: e },
37468
+ api: l
37469
+ };
37470
+ return /* @__PURE__ */ S.jsx(vs, { tagName: d, props: f, label: "Suggestions" });
37471
+ }
37472
+ return /* @__PURE__ */ S.jsx("div", { style: { marginTop: "0.5rem" }, children: /* @__PURE__ */ S.jsx(
37473
+ EF,
37474
+ {
37475
+ disabled: t,
37476
+ suggestions: e,
37477
+ globalClassName: n,
37478
+ isWidgetStandalone: r,
37479
+ onSuggestionClick: s
37480
+ }
37481
+ ) });
37456
37482
  }, Dx = ({
37457
37483
  content: e,
37458
37484
  messageId: t,
@@ -37460,7 +37486,7 @@ const Z7 = ({
37460
37486
  openLinksInNewTab: r,
37461
37487
  isWidgetStandalone: s
37462
37488
  }) => {
37463
- const { loading: a } = En(), u = cd(), l = D7(), { isCartMgmtSupported: d, logger: f } = ct(), { overrides: p, isInitialized: m } = Ro(), y = Lo(), T = P.useMemo(
37489
+ const { loading: a } = En(), u = cd(), l = D7(), { isCartMgmtSupported: d, logger: f } = ct(), { overrides: p, isInitialized: m } = bs(), y = xs(), T = P.useMemo(
37464
37490
  () => e.response.flatMap(rp),
37465
37491
  [e.response]
37466
37492
  );
@@ -37470,7 +37496,7 @@ const Z7 = ({
37470
37496
  case "markdown": {
37471
37497
  const he = (v = (x = b.data) == null ? void 0 : x.content) != null ? v : "";
37472
37498
  return b.index === wi && J_(he) ? null : /* @__PURE__ */ S.jsx(
37473
- Po,
37499
+ Do,
37474
37500
  {
37475
37501
  text: he,
37476
37502
  globalClassName: n,
@@ -37562,22 +37588,23 @@ const Z7 = ({
37562
37588
  F7,
37563
37589
  {
37564
37590
  overrideName: ve,
37565
- children: /* @__PURE__ */ S.jsx(Do, { tagName: Ue, props: Qe, label: `toolResult:${ve}` })
37591
+ children: /* @__PURE__ */ S.jsx(vs, { tagName: Ue, props: Qe, label: `toolResult:${ve}` })
37566
37592
  },
37567
37593
  `${b.type}-${ve}-${(ee = b.index) != null ? ee : w}`
37568
37594
  );
37569
37595
  }
37570
37596
  case "suggestions":
37571
- return /* @__PURE__ */ S.jsx("div", { style: { marginTop: "0.5rem" }, children: /* @__PURE__ */ S.jsx(
37572
- EF,
37597
+ return /* @__PURE__ */ S.jsx(
37598
+ xU,
37573
37599
  {
37574
37600
  disabled: a,
37575
37601
  suggestions: (Ce = (R = b.data) == null ? void 0 : R.display_text) != null ? Ce : [],
37576
37602
  globalClassName: n,
37577
37603
  isWidgetStandalone: s,
37578
37604
  onSuggestionClick: u
37579
- }
37580
- ) }, `${b.type}-${(Re = b.index) != null ? Re : w}`);
37605
+ },
37606
+ `${b.type}-${(Re = b.index) != null ? Re : w}`
37607
+ );
37581
37608
  default:
37582
37609
  return null;
37583
37610
  }
@@ -37597,7 +37624,7 @@ class Mx extends P.Component {
37597
37624
  return this.state.hasError ? /* @__PURE__ */ S.jsx("p", { className: M(this.props.globalClassName, `${I}-reset-message`), children: "Oops, I had trouble displaying this response." }) : this.props.children;
37598
37625
  }
37599
37626
  }
37600
- const xU = ({
37627
+ const vU = ({
37601
37628
  message: e,
37602
37629
  globalClassName: t,
37603
37630
  isWidgetStandalone: n
@@ -37657,7 +37684,7 @@ const xU = ({
37657
37684
  )
37658
37685
  }
37659
37686
  );
37660
- }, vU = ({
37687
+ }, AU = ({
37661
37688
  message: e,
37662
37689
  globalClassName: t,
37663
37690
  openLinksInNewTab: n,
@@ -37697,7 +37724,7 @@ const xU = ({
37697
37724
  switch (e.role) {
37698
37725
  case "user":
37699
37726
  return /* @__PURE__ */ S.jsx(
37700
- xU,
37727
+ vU,
37701
37728
  {
37702
37729
  message: e,
37703
37730
  globalClassName: t,
@@ -37723,7 +37750,7 @@ const xU = ({
37723
37750
  isWidgetStandalone: r
37724
37751
  }
37725
37752
  ) }) : /* @__PURE__ */ S.jsx(
37726
- Po,
37753
+ Do,
37727
37754
  {
37728
37755
  text: u,
37729
37756
  globalClassName: t,
@@ -37746,7 +37773,7 @@ const xU = ({
37746
37773
  }
37747
37774
  );
37748
37775
  }
37749
- }, AU = ({
37776
+ }, wU = ({
37750
37777
  message: e,
37751
37778
  onRetry: t,
37752
37779
  globalClassName: n,
@@ -37776,7 +37803,7 @@ const xU = ({
37776
37803
  )
37777
37804
  ]
37778
37805
  }
37779
- ), wU = ({ globalClassName: e, onClick: t }) => /* @__PURE__ */ S.jsx("div", { className: M(e, `${I}-jump-to-latest`), children: /* @__PURE__ */ S.jsx(
37806
+ ), CU = ({ globalClassName: e, onClick: t }) => /* @__PURE__ */ S.jsx("div", { className: M(e, `${I}-jump-to-latest`), children: /* @__PURE__ */ S.jsx(
37780
37807
  "button",
37781
37808
  {
37782
37809
  type: "button",
@@ -37797,10 +37824,10 @@ const xU = ({
37797
37824
  }
37798
37825
  )
37799
37826
  }
37800
- ) }), CU = `${I}-message-container`, NU = 24, OU = 100, GT = (e) => {
37801
- const t = e == null ? void 0 : e.closest(`.${CU}`);
37827
+ ) }), NU = `${I}-message-container`, OU = 24, IU = 100, GT = (e) => {
37828
+ const t = e == null ? void 0 : e.closest(`.${NU}`);
37802
37829
  return t instanceof HTMLElement ? t : null;
37803
- }, XT = (e) => e.scrollHeight - e.scrollTop - e.clientHeight <= NU, IU = ({
37830
+ }, XT = (e) => e.scrollHeight - e.scrollTop - e.clientHeight <= OU, kU = ({
37804
37831
  autoScroll: e,
37805
37832
  messages: t,
37806
37833
  streamingBlocks: n,
@@ -37841,7 +37868,7 @@ const xU = ({
37841
37868
  x();
37842
37869
  return;
37843
37870
  }
37844
- N(), p.current = setTimeout(O, OU);
37871
+ N(), p.current = setTimeout(O, IU);
37845
37872
  }, V = () => {
37846
37873
  N(), f.current = !1;
37847
37874
  };
@@ -37887,7 +37914,7 @@ const xU = ({
37887
37914
  b,
37888
37915
  x
37889
37916
  ]), { endRef: u, showJumpToLatest: y, scrollToLatest: b };
37890
- }, kU = "You are offline or we couldn't reach the assistant. Check connection and try again.", p0 = ({ isWidgetStandalone: e, isOpen: t }) => {
37917
+ }, PU = "You are offline or we couldn't reach the assistant. Check connection and try again.", p0 = ({ isWidgetStandalone: e, isOpen: t }) => {
37891
37918
  var de, fe;
37892
37919
  const { globalClassName: n, openLinksInNewTab: r, logger: s, autoScroll: a } = ct(), {
37893
37920
  messages: u,
@@ -37900,7 +37927,7 @@ const xU = ({
37900
37927
  sendError: T,
37901
37928
  retryLastMessage: b,
37902
37929
  retryConnection: w
37903
- } = En(), { endRef: x, showJumpToLatest: v, scrollToLatest: N } = IU({
37930
+ } = En(), { endRef: x, showJumpToLatest: v, scrollToLatest: N } = kU({
37904
37931
  autoScroll: a,
37905
37932
  messages: u,
37906
37933
  streamingBlocks: l,
@@ -37910,7 +37937,7 @@ const xU = ({
37910
37937
  }), O = u.length > 0, j = l.some(EO), V = u[u.length - 1], D = V ? Q_(V.content, "suggestions") : !1, W = O && (f || d) && !j && !D, Z = m === "reconnecting" && !W, re = m === "error";
37911
37938
  let $ = null;
37912
37939
  re ? $ = {
37913
- message: y != null ? y : kU,
37940
+ message: y != null ? y : PU,
37914
37941
  kind: "connection",
37915
37942
  onRetry: w
37916
37943
  } : T && ($ = { message: T.message, kind: "send", onRetry: b });
@@ -37929,7 +37956,7 @@ const xU = ({
37929
37956
  }
37930
37957
  ),
37931
37958
  u.map((te) => /* @__PURE__ */ S.jsx(
37932
- vU,
37959
+ AU,
37933
37960
  {
37934
37961
  message: te,
37935
37962
  globalClassName: n,
@@ -37939,7 +37966,7 @@ const xU = ({
37939
37966
  te.id
37940
37967
  )),
37941
37968
  $ && /* @__PURE__ */ S.jsx(
37942
- AU,
37969
+ wU,
37943
37970
  {
37944
37971
  message: $.message,
37945
37972
  onRetry: $.onRetry,
@@ -37991,10 +38018,10 @@ const xU = ({
37991
38018
  loadingText: "Reconnecting..."
37992
38019
  }
37993
38020
  ),
37994
- v && /* @__PURE__ */ S.jsx(wU, { globalClassName: n, onClick: () => N() }),
38021
+ v && /* @__PURE__ */ S.jsx(CU, { globalClassName: n, onClick: () => N() }),
37995
38022
  /* @__PURE__ */ S.jsx("div", { ref: x, "aria-hidden": "true" })
37996
38023
  ] });
37997
- }, PU = () => /* @__PURE__ */ S.jsxs(
38024
+ }, RU = () => /* @__PURE__ */ S.jsxs(
37998
38025
  "svg",
37999
38026
  {
38000
38027
  className: `${I}-progress-step-check`,
@@ -38015,7 +38042,7 @@ const xU = ({
38015
38042
  )
38016
38043
  ]
38017
38044
  }
38018
- ), RU = () => /* @__PURE__ */ S.jsx(
38045
+ ), LU = () => /* @__PURE__ */ S.jsx(
38019
38046
  "svg",
38020
38047
  {
38021
38048
  className: `${I}-progress-step-starburst`,
@@ -38032,21 +38059,21 @@ const xU = ({
38032
38059
  }
38033
38060
  )
38034
38061
  }
38035
- ), LU = (e, t) => e === 0 ? [] : e < 0 ? t : t.slice(-e), m0 = ({
38062
+ ), DU = (e, t) => e === 0 ? [] : e < 0 ? t : t.slice(-e), m0 = ({
38036
38063
  progressStepsLimit: e,
38037
38064
  steps: t,
38038
38065
  globalClassName: n
38039
38066
  }) => {
38040
- const { progressStepsLimit: r } = ct(), s = e != null ? e : r, { overrides: a, isInitialized: u } = Ro(), l = Lo();
38067
+ const { progressStepsLimit: r } = ct(), s = e != null ? e : r, { overrides: a, isInitialized: u } = bs(), l = xs();
38041
38068
  if (t.length === 0 || s === 0) return null;
38042
- const d = LU(s, t), f = u ? a.ProgressSteps : void 0;
38069
+ const d = DU(s, t), f = u ? a.ProgressSteps : void 0;
38043
38070
  if (f) {
38044
38071
  const p = {
38045
38072
  name: "ProgressSteps",
38046
38073
  payload: { steps: d },
38047
38074
  api: l
38048
38075
  };
38049
- return /* @__PURE__ */ S.jsx(Do, { tagName: f, props: p, label: "ProgressSteps" });
38076
+ return /* @__PURE__ */ S.jsx(vs, { tagName: f, props: p, label: "ProgressSteps" });
38050
38077
  }
38051
38078
  return /* @__PURE__ */ S.jsx("div", { className: M(n, `${I}-progress-steps-panel`), children: /* @__PURE__ */ S.jsx("div", { className: `${I}-progress-steps`, children: /* @__PURE__ */ S.jsx("ul", { className: `${I}-progress-steps-list`, children: d.map((p, m) => {
38052
38079
  const y = m < d.length - 1, T = m === d.length - 1;
@@ -38064,7 +38091,7 @@ const xU = ({
38064
38091
  `${I}-progress-step-icon`,
38065
38092
  y ? "done" : "active"
38066
38093
  ),
38067
- children: y ? /* @__PURE__ */ S.jsx(PU, {}) : /* @__PURE__ */ S.jsx(RU, {})
38094
+ children: y ? /* @__PURE__ */ S.jsx(RU, {}) : /* @__PURE__ */ S.jsx(LU, {})
38068
38095
  }
38069
38096
  )
38070
38097
  ]
@@ -38072,7 +38099,7 @@ const xU = ({
38072
38099
  `${m}-${p}`
38073
38100
  );
38074
38101
  }) }) }) });
38075
- }, DU = () => {
38102
+ }, MU = () => {
38076
38103
  const { globalClassName: e, themeVariables: t, messageAlignment: n, enableDownloadTranscript: r } = ct(), { isAgentTyping: s, resetConversation: a, endConversation: u, progressSteps: l, downloadTranscript: d } = En(), f = cd(), p = s, m = (y) => f(y);
38077
38104
  return /* @__PURE__ */ S.jsxs(
38078
38105
  "div",
@@ -38124,7 +38151,7 @@ const xU = ({
38124
38151
  }, Fx = (e) => {
38125
38152
  var d;
38126
38153
  const { children: t, disabled: n } = e, [r, s] = P.useState((d = e.container) == null ? void 0 : d.current), a = P.useSyncExternalStore(
38127
- FU,
38154
+ BU,
38128
38155
  () => !1,
38129
38156
  () => !0
38130
38157
  ), { getRootNode: u } = ad();
@@ -38134,13 +38161,13 @@ const xU = ({
38134
38161
  return (f = e.container) == null ? void 0 : f.current;
38135
38162
  });
38136
38163
  }, [e.container]), a || n) return /* @__PURE__ */ S.jsx(S.Fragment, { children: t });
38137
- const l = r != null ? r : MU(u);
38138
- return /* @__PURE__ */ S.jsx(S.Fragment, { children: P.Children.map(t, (f) => _o.createPortal(f, l)) });
38139
- }, MU = (e) => {
38164
+ const l = r != null ? r : FU(u);
38165
+ return /* @__PURE__ */ S.jsx(S.Fragment, { children: P.Children.map(t, (f) => xo.createPortal(f, l)) });
38166
+ }, FU = (e) => {
38140
38167
  const t = e == null ? void 0 : e(), n = t.getRootNode();
38141
38168
  return ms(n) ? n : kr(t).body;
38142
- }, FU = () => () => {
38143
- }, BU = () => {
38169
+ }, BU = () => () => {
38170
+ }, UU = () => {
38144
38171
  const { globalClassName: e, themeVariables: t, messageAlignment: n } = ct(), { mode: r, status: s, dialogPosition: a, isDialogFullHeight: u, dialogWidth: l } = Qr(), {
38145
38172
  loading: d,
38146
38173
  isAgentTyping: f,
@@ -38213,7 +38240,7 @@ const xU = ({
38213
38240
  ) })
38214
38241
  }
38215
38242
  ) : null;
38216
- }, UU = () => {
38243
+ }, HU = () => {
38217
38244
  const { globalClassName: e, themeVariables: t, messageAlignment: n } = ct(), { mode: r, status: s, isModalFullscreen: a } = Qr(), {
38218
38245
  loading: u,
38219
38246
  isAgentTyping: l,
@@ -38294,12 +38321,12 @@ const xU = ({
38294
38321
  ]
38295
38322
  }
38296
38323
  ) }) }) : null;
38297
- }, HU = () => {
38324
+ }, jU = () => {
38298
38325
  const e = Qr(), {
38299
38326
  status: { type: t, isMinimized: n }
38300
38327
  } = e || { status: {} };
38301
- return n ? /* @__PURE__ */ S.jsx(jI, {}) : t === "dialog" ? /* @__PURE__ */ S.jsx(BU, {}) : t === "modal" ? /* @__PURE__ */ S.jsx(UU, {}) : /* @__PURE__ */ S.jsx(DU, {});
38302
- }, jU = () => {
38328
+ return n ? /* @__PURE__ */ S.jsx(jI, {}) : t === "dialog" ? /* @__PURE__ */ S.jsx(UU, {}) : t === "modal" ? /* @__PURE__ */ S.jsx(HU, {}) : /* @__PURE__ */ S.jsx(MU, {});
38329
+ }, $U = () => {
38303
38330
  const { setIsOpen: e, setIsInline: t, setElementId: n, setEntryType: r, setParams: s } = cF();
38304
38331
  P.useEffect(() => {
38305
38332
  const a = (u) => {
@@ -38313,7 +38340,7 @@ const xU = ({
38313
38340
  }, KT = (e, t, n) => {
38314
38341
  n !== void 0 ? e(t, n) : e(t);
38315
38342
  };
38316
- function $U({
38343
+ function zU({
38317
38344
  isReady: e,
38318
38345
  hasError: t,
38319
38346
  transmit: n
@@ -38337,7 +38364,7 @@ function $U({
38337
38364
  const Bx = {
38338
38365
  copilot: "Ask Copilot",
38339
38366
  messaging: "Ask a question"
38340
- }, zU = ({
38367
+ }, VU = ({
38341
38368
  onSubmit: e,
38342
38369
  disabled: t = !1
38343
38370
  }) => {
@@ -38379,7 +38406,7 @@ const Bx = {
38379
38406
  ]
38380
38407
  }
38381
38408
  );
38382
- }, VU = () => {
38409
+ }, qU = () => {
38383
38410
  const { globalClassName: e, mode: t } = ct(), { placeholder: n } = ud(), r = n || Bx[t];
38384
38411
  return /* @__PURE__ */ S.jsxs("div", { className: M(e, `${I}-prompts-header`), children: [
38385
38412
  /* @__PURE__ */ S.jsx(
@@ -38413,17 +38440,17 @@ const Bx = {
38413
38440
  ]
38414
38441
  }
38415
38442
  );
38416
- }, qU = "Ask me something else", YU = ({
38443
+ }, YU = "Ask me something else", WU = ({
38417
38444
  label: e,
38418
38445
  disabled: t = !1
38419
38446
  }) => /* @__PURE__ */ S.jsx(
38420
38447
  Ux,
38421
38448
  {
38422
- label: e || qU,
38449
+ label: e || YU,
38423
38450
  disabled: t,
38424
38451
  onClick: () => Gr(!0)
38425
38452
  }
38426
- ), WU = ({
38453
+ ), GU = ({
38427
38454
  onPromptClick: e,
38428
38455
  disabled: t = !1
38429
38456
  }) => {
@@ -38443,10 +38470,10 @@ const Bx = {
38443
38470
  },
38444
38471
  l
38445
38472
  )),
38446
- !a && /* @__PURE__ */ S.jsx(YU, { label: s, disabled: t })
38473
+ !a && /* @__PURE__ */ S.jsx(WU, { label: s, disabled: t })
38447
38474
  ] });
38448
- }, GU = () => {
38449
- const { globalClassName: e, themeVariables: t } = ct(), { isOpen: n, elementId: r, promptsDisplay: s } = ud(), { isConnected: a, sessionExpired: u, sendMessage: l, connectionStatus: d } = En(), { productId: f } = rx(), p = s !== "buttons", m = s !== "input", [y, T] = P.useState(null), b = d === "error", w = d === "connecting", x = tS(a, u), v = $U({
38475
+ }, XU = () => {
38476
+ const { globalClassName: e, themeVariables: t } = ct(), { isOpen: n, elementId: r, promptsDisplay: s } = ud(), { isConnected: a, sessionExpired: u, sendMessage: l, connectionStatus: d } = En(), { productId: f } = rx(), p = s !== "buttons", m = s !== "input", [y, T] = P.useState(null), b = d === "error", w = d === "connecting", x = tS(a, u), v = zU({
38450
38477
  isReady: x,
38451
38478
  hasError: b,
38452
38479
  transmit: l
@@ -38468,16 +38495,16 @@ const Bx = {
38468
38495
  },
38469
38496
  [v, f]
38470
38497
  );
38471
- return !n || !y ? null : _o.createPortal(
38498
+ return !n || !y ? null : xo.createPortal(
38472
38499
  /* @__PURE__ */ S.jsxs(
38473
38500
  "div",
38474
38501
  {
38475
38502
  className: M(e, `${I}-prompts-extension-container`),
38476
38503
  style: t,
38477
38504
  children: [
38478
- p && /* @__PURE__ */ S.jsx(zU, { onSubmit: N, disabled: b }),
38479
- !p && /* @__PURE__ */ S.jsx(VU, {}),
38480
- m && /* @__PURE__ */ S.jsx(WU, { onPromptClick: N, disabled: b }),
38505
+ p && /* @__PURE__ */ S.jsx(VU, { onSubmit: N, disabled: b }),
38506
+ !p && /* @__PURE__ */ S.jsx(qU, {}),
38507
+ m && /* @__PURE__ */ S.jsx(GU, { onPromptClick: N, disabled: b }),
38481
38508
  !b && w && /* @__PURE__ */ S.jsx("p", { className: M(e, `${I}-prompts-connecting-message`), children: "Connecting to agent..." }),
38482
38509
  b && /* @__PURE__ */ S.jsx("p", { className: M(e, `${I}-prompts-error-message`), children: "Oops, an error occurred with our agent." })
38483
38510
  ]
@@ -38485,25 +38512,25 @@ const Bx = {
38485
38512
  ),
38486
38513
  y
38487
38514
  );
38488
- }, XU = () => (jU(), /* @__PURE__ */ S.jsx(GU, {})), KU = (e) => /* @__PURE__ */ S.jsxs(AI, ae(U({}, e), { children: [
38489
- /* @__PURE__ */ S.jsx(HU, {}),
38490
- /* @__PURE__ */ S.jsx(XU, {})
38515
+ }, KU = () => ($U(), /* @__PURE__ */ S.jsx(XU, {})), QU = (e) => /* @__PURE__ */ S.jsxs(AI, ae(U({}, e), { children: [
38516
+ /* @__PURE__ */ S.jsx(jU, {}),
38517
+ /* @__PURE__ */ S.jsx(KU, {})
38491
38518
  ] }));
38492
38519
  var jl = {}, QT;
38493
- function QU() {
38520
+ function JU() {
38494
38521
  if (QT) return jl;
38495
38522
  QT = 1;
38496
38523
  var e = pS();
38497
38524
  return jl.createRoot = e.createRoot, jl.hydrateRoot = e.hydrateRoot, jl;
38498
38525
  }
38499
- var JU = QU();
38526
+ var ZU = JU();
38500
38527
  const JT = /* @__PURE__ */ new WeakMap(), Hx = (e, t, n, r) => {
38501
38528
  var a;
38502
38529
  (a = JT.get(e)) == null || a.unmount();
38503
- const s = JU.createRoot(e);
38530
+ const s = ZU.createRoot(e);
38504
38531
  JT.set(e, s), s.render(
38505
38532
  /* @__PURE__ */ S.jsx(
38506
- KU,
38533
+ QU,
38507
38534
  ae(U({}, t), {
38508
38535
  overridesUrl: n,
38509
38536
  inlineOverrides: r,
@@ -38511,7 +38538,7 @@ const JT = /* @__PURE__ */ new WeakMap(), Hx = (e, t, n, r) => {
38511
38538
  })
38512
38539
  )
38513
38540
  );
38514
- }, ZU = (a) => {
38541
+ }, eH = (a) => {
38515
38542
  var u = a, {
38516
38543
  elementId: e,
38517
38544
  timeout: t = 5e3,
@@ -38540,7 +38567,7 @@ const JT = /* @__PURE__ */ new WeakMap(), Hx = (e, t, n, r) => {
38540
38567
  `Element with id: ${e} not found within ${t} milliseconds, stopping observation`
38541
38568
  );
38542
38569
  }, t), f;
38543
- }, NH = (a) => {
38570
+ }, OH = (a) => {
38544
38571
  var u = a, {
38545
38572
  timeout: e,
38546
38573
  elementId: t,
@@ -38566,17 +38593,17 @@ const JT = /* @__PURE__ */ new WeakMap(), Hx = (e, t, n, r) => {
38566
38593
  }
38567
38594
  const l = document.getElementById(t);
38568
38595
  if (!l) {
38569
- bt(!0, "warn", "Container element not found for id:", t), bt(!0, "warn", "Beginning observation for element"), ZU(U({ elementId: t, timeout: e, overridesUrl: n, inlineOverrides: r }, s));
38596
+ bt(!0, "warn", "Container element not found for id:", t), bt(!0, "warn", "Beginning observation for element"), eH(U({ elementId: t, timeout: e, overridesUrl: n, inlineOverrides: r }, s));
38570
38597
  return;
38571
38598
  }
38572
38599
  Hx(l, s, n, r);
38573
38600
  };
38574
- function OH() {
38601
+ function IH() {
38575
38602
  return De(this, null, function* () {
38576
38603
  return nI().getAuthLinkKey();
38577
38604
  });
38578
38605
  }
38579
- class IH extends HTMLElement {
38606
+ class kH extends HTMLElement {
38580
38607
  constructor() {
38581
38608
  super(...arguments);
38582
38609
  We(this, "_props", null);
@@ -38605,11 +38632,11 @@ class IH extends HTMLElement {
38605
38632
  render() {
38606
38633
  }
38607
38634
  }
38608
- const kH = {
38635
+ const PH = {
38609
38636
  components: {
38610
38637
  setEntryType: T_,
38611
38638
  toggleWidgetOpen: Gr,
38612
- toggleWidgetMinimized: oo,
38639
+ toggleWidgetMinimized: lo,
38613
38640
  toggleModalFullscreen: Jp,
38614
38641
  setWidgetType: kc,
38615
38642
  setWidgetDialogPosition: Zp,
@@ -38622,16 +38649,16 @@ const kH = {
38622
38649
  }
38623
38650
  };
38624
38651
  export {
38625
- KU as AgentForceWidget,
38652
+ QU as AgentForceWidget,
38626
38653
  AI as AgentforceWidgetProvider,
38627
38654
  Gw as CIMULATE_WIDGET_READY_EVENT,
38628
- BU as MessagingDialog,
38629
- DU as MessagingEmbed,
38630
- UU as MessagingModal,
38655
+ UU as MessagingDialog,
38656
+ MU as MessagingEmbed,
38657
+ HU as MessagingModal,
38631
38658
  iI as MessagingProvider,
38632
- IH as OverrideElement,
38633
- kH as eventHandlers,
38634
- OH as getAuthLinkKey,
38635
- NH as injectMessagingWidget,
38659
+ kH as OverrideElement,
38660
+ PH as eventHandlers,
38661
+ IH as getAuthLinkKey,
38662
+ OH as injectMessagingWidget,
38636
38663
  En as useMessaging
38637
38664
  };