@protonradio/proton-ui 0.4.3 → 0.5.1

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.
@@ -1,5 +1,5 @@
1
- import M, { useRef as I, useCallback as Q, useState as W, useContext as te, useEffect as V, createContext as Ee, useMemo as _, forwardRef as nr, isValidElement as Ua } from "react";
2
- import rr, { flushSync as Wa } from "react-dom";
1
+ import M, { useRef as I, useCallback as Q, useState as W, useContext as te, useEffect as V, createContext as Ee, useMemo as _, forwardRef as nr, isValidElement as Wa } from "react";
2
+ import rr, { flushSync as Ga } from "react-dom";
3
3
  var Nn = { exports: {} }, ft = {};
4
4
  /**
5
5
  * @license React
@@ -11,7 +11,7 @@ var Nn = { exports: {} }, ft = {};
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
13
  var Lr;
14
- function Ga() {
14
+ function Ya() {
15
15
  if (Lr)
16
16
  return ft;
17
17
  Lr = 1;
@@ -39,7 +39,7 @@ var pt = {};
39
39
  * LICENSE file in the root directory of this source tree.
40
40
  */
41
41
  var Nr;
42
- function Ya() {
42
+ function qa() {
43
43
  return Nr || (Nr = 1, process.env.NODE_ENV !== "production" && function() {
44
44
  var t = M, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), u = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), s = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), g = Symbol.iterator, x = "@@iterator";
45
45
  function $(p) {
@@ -134,7 +134,7 @@ function Ya() {
134
134
  function st() {
135
135
  }
136
136
  st.__reactDisabledLog = !0;
137
- function ma() {
137
+ function $a() {
138
138
  {
139
139
  if (R === 0) {
140
140
  X = console.log, F = console.info, de = console.warn, Le = console.error, z = console.group, he = console.groupCollapsed, we = console.groupEnd;
@@ -157,7 +157,7 @@ function Ya() {
157
157
  R++;
158
158
  }
159
159
  }
160
- function $a() {
160
+ function ya() {
161
161
  {
162
162
  if (R--, R === 0) {
163
163
  var p = {
@@ -208,8 +208,8 @@ function Ya() {
208
208
  }
209
209
  var gn = !1, Bt;
210
210
  {
211
- var ya = typeof WeakMap == "function" ? WeakMap : Map;
212
- Bt = new ya();
211
+ var xa = typeof WeakMap == "function" ? WeakMap : Map;
212
+ Bt = new xa();
213
213
  }
214
214
  function Er(p, w) {
215
215
  if (!p || gn)
@@ -224,7 +224,7 @@ function Ya() {
224
224
  var G = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
226
  var Y;
227
- Y = vn.current, vn.current = null, ma();
227
+ Y = vn.current, vn.current = null, $a();
228
228
  try {
229
229
  if (w) {
230
230
  var U = function() {
@@ -277,15 +277,15 @@ function Ya() {
277
277
  }
278
278
  }
279
279
  } finally {
280
- gn = !1, vn.current = Y, $a(), Error.prepareStackTrace = G;
280
+ gn = !1, vn.current = Y, ya(), Error.prepareStackTrace = G;
281
281
  }
282
282
  var Qe = p ? p.displayName || p.name : "", Ue = Qe ? Tt(Qe) : "";
283
283
  return typeof p == "function" && Bt.set(p, Ue), Ue;
284
284
  }
285
- function xa(p, w, K) {
285
+ function Ea(p, w, K) {
286
286
  return Er(p, !1);
287
287
  }
288
- function Ea(p) {
288
+ function Da(p) {
289
289
  var w = p.prototype;
290
290
  return !!(w && w.isReactComponent);
291
291
  }
@@ -293,7 +293,7 @@ function Ya() {
293
293
  if (p == null)
294
294
  return "";
295
295
  if (typeof p == "function")
296
- return Er(p, Ea(p));
296
+ return Er(p, Da(p));
297
297
  if (typeof p == "string")
298
298
  return Tt(p);
299
299
  switch (p) {
@@ -305,7 +305,7 @@ function Ya() {
305
305
  if (typeof p == "object")
306
306
  switch (p.$$typeof) {
307
307
  case a:
308
- return xa(p.render);
308
+ return Ea(p.render);
309
309
  case d:
310
310
  return At(p.type, w, K);
311
311
  case v: {
@@ -326,7 +326,7 @@ function Ya() {
326
326
  } else
327
327
  wr.setExtraStackFrame(null);
328
328
  }
329
- function Da(p, w, K, O, G) {
329
+ function wa(p, w, K, O, G) {
330
330
  {
331
331
  var Y = Function.call.bind(ct);
332
332
  for (var U in p)
@@ -345,17 +345,17 @@ function Ya() {
345
345
  }
346
346
  }
347
347
  }
348
- var wa = Array.isArray;
348
+ var Ca = Array.isArray;
349
349
  function bn(p) {
350
- return wa(p);
350
+ return Ca(p);
351
351
  }
352
- function Ca(p) {
352
+ function Pa(p) {
353
353
  {
354
354
  var w = typeof Symbol == "function" && Symbol.toStringTag, K = w && p[Symbol.toStringTag] || p.constructor.name || "Object";
355
355
  return K;
356
356
  }
357
357
  }
358
- function Pa(p) {
358
+ function Sa(p) {
359
359
  try {
360
360
  return Cr(p), !1;
361
361
  } catch {
@@ -366,17 +366,17 @@ function Ya() {
366
366
  return "" + p;
367
367
  }
368
368
  function Pr(p) {
369
- if (Pa(p))
370
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ca(p)), Cr(p);
369
+ if (Sa(p))
370
+ return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Pa(p)), Cr(p);
371
371
  }
372
- var dt = B.ReactCurrentOwner, Sa = {
372
+ var dt = B.ReactCurrentOwner, Ta = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
376
376
  __source: !0
377
377
  }, Sr, Tr, mn;
378
378
  mn = {};
379
- function Ta(p) {
379
+ function Ba(p) {
380
380
  if (ct.call(p, "ref")) {
381
381
  var w = Object.getOwnPropertyDescriptor(p, "ref").get;
382
382
  if (w && w.isReactWarning)
@@ -384,7 +384,7 @@ function Ya() {
384
384
  }
385
385
  return p.ref !== void 0;
386
386
  }
387
- function Ba(p) {
387
+ function Aa(p) {
388
388
  if (ct.call(p, "key")) {
389
389
  var w = Object.getOwnPropertyDescriptor(p, "key").get;
390
390
  if (w && w.isReactWarning)
@@ -392,13 +392,13 @@ function Ya() {
392
392
  }
393
393
  return p.key !== void 0;
394
394
  }
395
- function Aa(p, w) {
395
+ function ka(p, w) {
396
396
  if (typeof p.ref == "string" && dt.current && w && dt.current.stateNode !== w) {
397
397
  var K = b(dt.current.type);
398
398
  mn[K] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', b(dt.current.type), p.ref), mn[K] = !0);
399
399
  }
400
400
  }
401
- function ka(p, w) {
401
+ function Ka(p, w) {
402
402
  {
403
403
  var K = function() {
404
404
  Sr || (Sr = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
@@ -409,7 +409,7 @@ function Ya() {
409
409
  });
410
410
  }
411
411
  }
412
- function Ka(p, w) {
412
+ function Ia(p, w) {
413
413
  {
414
414
  var K = function() {
415
415
  Tr || (Tr = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
@@ -420,7 +420,7 @@ function Ya() {
420
420
  });
421
421
  }
422
422
  }
423
- var Ia = function(p, w, K, O, G, Y, U) {
423
+ var Fa = function(p, w, K, O, G, Y, U) {
424
424
  var H = {
425
425
  // This tag allows us to uniquely identify this as a React Element
426
426
  $$typeof: e,
@@ -449,12 +449,12 @@ function Ya() {
449
449
  value: G
450
450
  }), Object.freeze && (Object.freeze(H.props), Object.freeze(H)), H;
451
451
  };
452
- function Fa(p, w, K, O, G) {
452
+ function Ma(p, w, K, O, G) {
453
453
  {
454
454
  var Y, U = {}, H = null, ae = null;
455
- K !== void 0 && (Pr(K), H = "" + K), Ba(w) && (Pr(w.key), H = "" + w.key), Ta(w) && (ae = w.ref, Aa(w, G));
455
+ K !== void 0 && (Pr(K), H = "" + K), Aa(w) && (Pr(w.key), H = "" + w.key), Ba(w) && (ae = w.ref, ka(w, G));
456
456
  for (Y in w)
457
- ct.call(w, Y) && !Sa.hasOwnProperty(Y) && (U[Y] = w[Y]);
457
+ ct.call(w, Y) && !Ta.hasOwnProperty(Y) && (U[Y] = w[Y]);
458
458
  if (p && p.defaultProps) {
459
459
  var ne = p.defaultProps;
460
460
  for (Y in ne)
@@ -462,9 +462,9 @@ function Ya() {
462
462
  }
463
463
  if (H || ae) {
464
464
  var le = typeof p == "function" ? p.displayName || p.name || "Unknown" : p;
465
- H && ka(U, le), ae && Ka(U, le);
465
+ H && Ka(U, le), ae && Ia(U, le);
466
466
  }
467
- return Ia(p, H, ae, G, O, dt.current, U);
467
+ return Fa(p, H, ae, G, O, dt.current, U);
468
468
  }
469
469
  }
470
470
  var $n = B.ReactCurrentOwner, Br = B.ReactDebugCurrentFrame;
@@ -492,7 +492,7 @@ Check the render method of \`` + p + "`.";
492
492
  return "";
493
493
  }
494
494
  }
495
- function Ma(p) {
495
+ function La(p) {
496
496
  {
497
497
  if (p !== void 0) {
498
498
  var w = p.fileName.replace(/^.*[\\\/]/, ""), K = p.lineNumber;
@@ -504,7 +504,7 @@ Check your code at ` + w + ":" + K + ".";
504
504
  }
505
505
  }
506
506
  var kr = {};
507
- function La(p) {
507
+ function Na(p) {
508
508
  {
509
509
  var w = Ar();
510
510
  if (!w) {
@@ -521,7 +521,7 @@ Check the top-level render call using <` + K + ">.");
521
521
  if (!p._store || p._store.validated || p.key != null)
522
522
  return;
523
523
  p._store.validated = !0;
524
- var K = La(w);
524
+ var K = Na(w);
525
525
  if (kr[K])
526
526
  return;
527
527
  kr[K] = !0;
@@ -548,7 +548,7 @@ Check the top-level render call using <` + K + ">.");
548
548
  }
549
549
  }
550
550
  }
551
- function Na(p) {
551
+ function Ra(p) {
552
552
  {
553
553
  var w = p.type;
554
554
  if (w == null || typeof w == "string")
@@ -564,7 +564,7 @@ Check the top-level render call using <` + K + ">.");
564
564
  return;
565
565
  if (K) {
566
566
  var O = b(w);
567
- Da(K, p.props, "prop", O, p);
567
+ wa(K, p.props, "prop", O, p);
568
568
  } else if (w.PropTypes !== void 0 && !yn) {
569
569
  yn = !0;
570
570
  var G = b(w);
@@ -573,7 +573,7 @@ Check the top-level render call using <` + K + ">.");
573
573
  typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
574
574
  }
575
575
  }
576
- function Ra(p) {
576
+ function za(p) {
577
577
  {
578
578
  for (var w = Object.keys(p.props), K = 0; K < w.length; K++) {
579
579
  var O = w[K];
@@ -592,12 +592,12 @@ Check the top-level render call using <` + K + ">.");
592
592
  if (!U) {
593
593
  var H = "";
594
594
  (p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (H += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
595
- var ae = Ma(G);
595
+ var ae = La(G);
596
596
  ae ? H += ae : H += Ar();
597
597
  var ne;
598
598
  p === null ? ne = "null" : bn(p) ? ne = "array" : p !== void 0 && p.$$typeof === e ? (ne = "<" + (b(p.type) || "Unknown") + " />", H = " Did you accidentally export a JSX literal instead of a component?") : ne = typeof p, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ne, H);
599
599
  }
600
- var le = Fa(p, w, K, G, Y);
600
+ var le = Ma(p, w, K, G, Y);
601
601
  if (le == null)
602
602
  return le;
603
603
  if (U) {
@@ -614,33 +614,33 @@ Check the top-level render call using <` + K + ">.");
614
614
  Ir(ge, p);
615
615
  }
616
616
  if (ct.call(w, "key")) {
617
- var Ue = b(p), fe = Object.keys(w).filter(function(Ha) {
618
- return Ha !== "key";
617
+ var Ue = b(p), fe = Object.keys(w).filter(function(Ua) {
618
+ return Ua !== "key";
619
619
  }), En = fe.length > 0 ? "{key: someKey, " + fe.join(": ..., ") + ": ...}" : "{key: someKey}";
620
620
  if (!Fr[Ue + En]) {
621
- var Va = fe.length > 0 ? "{" + fe.join(": ..., ") + ": ...}" : "{}";
621
+ var Ha = fe.length > 0 ? "{" + fe.join(": ..., ") + ": ...}" : "{}";
622
622
  E(`A props object containing a "key" prop is being spread into JSX:
623
623
  let props = %s;
624
624
  <%s {...props} />
625
625
  React keys must be passed directly to JSX without using spread:
626
626
  let props = %s;
627
- <%s key={someKey} {...props} />`, En, Ue, Va, Ue), Fr[Ue + En] = !0;
627
+ <%s key={someKey} {...props} />`, En, Ue, Ha, Ue), Fr[Ue + En] = !0;
628
628
  }
629
629
  }
630
- return p === r ? Ra(le) : Na(le), le;
630
+ return p === r ? za(le) : Ra(le), le;
631
631
  }
632
632
  }
633
- function za(p, w, K) {
633
+ function Oa(p, w, K) {
634
634
  return Mr(p, w, K, !0);
635
635
  }
636
- function Oa(p, w, K) {
636
+ function _a(p, w, K) {
637
637
  return Mr(p, w, K, !1);
638
638
  }
639
- var _a = Oa, ja = za;
640
- pt.Fragment = r, pt.jsx = _a, pt.jsxs = ja;
639
+ var ja = _a, Va = Oa;
640
+ pt.Fragment = r, pt.jsx = ja, pt.jsxs = Va;
641
641
  }()), pt;
642
642
  }
643
- process.env.NODE_ENV === "production" ? Nn.exports = Ga() : Nn.exports = Ya();
643
+ process.env.NODE_ENV === "production" ? Nn.exports = Ya() : Nn.exports = qa();
644
644
  var P = Nn.exports;
645
645
  const q = typeof document < "u" ? M.useLayoutEffect : () => {
646
646
  };
@@ -655,7 +655,7 @@ function ce(t) {
655
655
  return r == null ? void 0 : r(...n);
656
656
  }, []);
657
657
  }
658
- function qa(t) {
658
+ function Xa(t) {
659
659
  let [e, n] = W(t), r = I(null), l = ce(() => {
660
660
  if (!r.current)
661
661
  return;
@@ -680,9 +680,9 @@ function qa(t) {
680
680
  const Vt = {
681
681
  prefix: String(Math.round(Math.random() * 1e10)),
682
682
  current: 0
683
- }, Sl = /* @__PURE__ */ M.createContext(Vt), Xa = /* @__PURE__ */ M.createContext(!1);
684
- let Za = !!(typeof window < "u" && window.document && window.document.createElement), Dn = /* @__PURE__ */ new WeakMap();
685
- function Ja(t = !1) {
683
+ }, Sl = /* @__PURE__ */ M.createContext(Vt), Za = /* @__PURE__ */ M.createContext(!1);
684
+ let Ja = !!(typeof window < "u" && window.document && window.document.createElement), Dn = /* @__PURE__ */ new WeakMap();
685
+ function Qa(t = !1) {
686
686
  let e = te(Sl), n = I(null);
687
687
  if (n.current === null && !t) {
688
688
  var r, l;
@@ -698,36 +698,36 @@ function Ja(t = !1) {
698
698
  }
699
699
  return n.current;
700
700
  }
701
- function Qa(t) {
701
+ function es(t) {
702
702
  let e = te(Sl);
703
- e === Vt && !Za && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
704
- let n = Ja(!!t), r = e === Vt && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${e.prefix}`;
703
+ e === Vt && !Ja && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
704
+ let n = Qa(!!t), r = e === Vt && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${e.prefix}`;
705
705
  return t || `${r}-${n}`;
706
706
  }
707
- function es(t) {
707
+ function ts(t) {
708
708
  let e = M.useId(), [n] = W(wt()), r = n || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${Vt.prefix}`;
709
709
  return t || `${r}-${e}`;
710
710
  }
711
- const ts = typeof M.useId == "function" ? es : Qa;
712
- function ns() {
711
+ const ns = typeof M.useId == "function" ? ts : es;
712
+ function rs() {
713
713
  return !1;
714
714
  }
715
- function rs() {
715
+ function ls() {
716
716
  return !0;
717
717
  }
718
- function ls(t) {
718
+ function is(t) {
719
719
  return () => {
720
720
  };
721
721
  }
722
722
  function wt() {
723
- return typeof M.useSyncExternalStore == "function" ? M.useSyncExternalStore(ls, ns, rs) : te(Xa);
723
+ return typeof M.useSyncExternalStore == "function" ? M.useSyncExternalStore(is, rs, ls) : te(Za);
724
724
  }
725
- let is = !!(typeof window < "u" && window.document && window.document.createElement), Ht = /* @__PURE__ */ new Map();
725
+ let os = !!(typeof window < "u" && window.document && window.document.createElement), Ht = /* @__PURE__ */ new Map();
726
726
  function $e(t) {
727
- let [e, n] = W(t), r = I(null), l = ts(e), i = Q((o) => {
727
+ let [e, n] = W(t), r = I(null), l = ns(e), i = Q((o) => {
728
728
  r.current = o;
729
729
  }, []);
730
- return is && Ht.set(l, i), q(() => {
730
+ return os && Ht.set(l, i), q(() => {
731
731
  let o = l;
732
732
  return () => {
733
733
  Ht.delete(o);
@@ -739,7 +739,7 @@ function $e(t) {
739
739
  o && (r.current = null, n(o));
740
740
  }), l;
741
741
  }
742
- function os(t, e) {
742
+ function us(t, e) {
743
743
  if (t === e)
744
744
  return t;
745
745
  let n = Ht.get(t);
@@ -749,7 +749,7 @@ function os(t, e) {
749
749
  return r ? (r(t), t) : e;
750
750
  }
751
751
  function xt(t = []) {
752
- let e = $e(), [n, r] = qa(e), l = Q(() => {
752
+ let e = $e(), [n, r] = Xa(e), l = Q(() => {
753
753
  r(function* () {
754
754
  yield e, yield document.getElementById(e) ? e : void 0;
755
755
  });
@@ -787,7 +787,7 @@ function Tl(t) {
787
787
  t[n] && (r && (r += " "), r += n);
788
788
  return r;
789
789
  }
790
- function us() {
790
+ function as() {
791
791
  for (var t, e, n = 0, r = "", l = arguments.length; n < l; n++)
792
792
  (t = arguments[n]) && (e = Tl(t)) && (r && (r += " "), r += e);
793
793
  return r;
@@ -803,25 +803,25 @@ function j(...t) {
803
803
  typeof i == "function" && typeof o == "function" && // This is a lot faster than a regex.
804
804
  l[0] === "o" && l[1] === "n" && l.charCodeAt(2) >= /* 'A' */
805
805
  65 && l.charCodeAt(2) <= /* 'Z' */
806
- 90 ? e[l] = je(i, o) : (l === "className" || l === "UNSAFE_className") && typeof i == "string" && typeof o == "string" ? e[l] = us(i, o) : l === "id" && i && o ? e.id = os(i, o) : e[l] = o !== void 0 ? o : i;
806
+ 90 ? e[l] = je(i, o) : (l === "className" || l === "UNSAFE_className") && typeof i == "string" && typeof o == "string" ? e[l] = as(i, o) : l === "id" && i && o ? e.id = us(i, o) : e[l] = o !== void 0 ? o : i;
807
807
  }
808
808
  }
809
809
  return e;
810
810
  }
811
- function as(...t) {
811
+ function ss(...t) {
812
812
  return t.length === 1 && t[0] ? t[0] : (e) => {
813
813
  for (let n of t)
814
814
  typeof n == "function" ? n(e) : n != null && (n.current = e);
815
815
  };
816
816
  }
817
- const ss = /* @__PURE__ */ new Set([
817
+ const cs = /* @__PURE__ */ new Set([
818
818
  "id"
819
- ]), cs = /* @__PURE__ */ new Set([
819
+ ]), ds = /* @__PURE__ */ new Set([
820
820
  "aria-label",
821
821
  "aria-labelledby",
822
822
  "aria-describedby",
823
823
  "aria-details"
824
- ]), ds = /* @__PURE__ */ new Set([
824
+ ]), fs = /* @__PURE__ */ new Set([
825
825
  "href",
826
826
  "hrefLang",
827
827
  "target",
@@ -829,25 +829,25 @@ const ss = /* @__PURE__ */ new Set([
829
829
  "download",
830
830
  "ping",
831
831
  "referrerPolicy"
832
- ]), fs = /^(data-.*)$/;
832
+ ]), ps = /^(data-.*)$/;
833
833
  function De(t, e = {}) {
834
834
  let { labelable: n, isLink: r, propNames: l } = e, i = {};
835
835
  for (const o in t)
836
- Object.prototype.hasOwnProperty.call(t, o) && (ss.has(o) || n && cs.has(o) || r && ds.has(o) || l != null && l.has(o) || fs.test(o)) && (i[o] = t[o]);
836
+ Object.prototype.hasOwnProperty.call(t, o) && (cs.has(o) || n && ds.has(o) || r && fs.has(o) || l != null && l.has(o) || ps.test(o)) && (i[o] = t[o]);
837
837
  return i;
838
838
  }
839
839
  function Ae(t) {
840
- if (ps())
840
+ if (vs())
841
841
  t.focus({
842
842
  preventScroll: !0
843
843
  });
844
844
  else {
845
- let e = vs(t);
846
- t.focus(), hs(e);
845
+ let e = hs(t);
846
+ t.focus(), gs(e);
847
847
  }
848
848
  }
849
849
  let Kt = null;
850
- function ps() {
850
+ function vs() {
851
851
  if (Kt == null) {
852
852
  Kt = !1;
853
853
  try {
@@ -861,7 +861,7 @@ function ps() {
861
861
  }
862
862
  return Kt;
863
863
  }
864
- function vs(t) {
864
+ function hs(t) {
865
865
  let e = t.parentNode, n = [], r = document.scrollingElement || document.documentElement;
866
866
  for (; e instanceof HTMLElement && e !== r; )
867
867
  (e.offsetHeight < e.scrollHeight || e.offsetWidth < e.scrollWidth) && n.push({
@@ -875,7 +875,7 @@ function vs(t) {
875
875
  scrollLeft: r.scrollLeft
876
876
  }), n;
877
877
  }
878
- function hs(t) {
878
+ function gs(t) {
879
879
  for (let { element: e, scrollTop: n, scrollLeft: r } of t)
880
880
  e.scrollTop = n, e.scrollLeft = r;
881
881
  }
@@ -893,35 +893,35 @@ function Ie(t) {
893
893
  }
894
894
  const Ve = Ie(function() {
895
895
  return lr(/^Mac/i);
896
- }), gs = Ie(function() {
896
+ }), bs = Ie(function() {
897
897
  return lr(/^iPhone/i);
898
898
  }), Bl = Ie(function() {
899
899
  return lr(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
900
900
  Ve() && navigator.maxTouchPoints > 1;
901
901
  }), nn = Ie(function() {
902
- return gs() || Bl();
903
- }), bs = Ie(function() {
902
+ return bs() || Bl();
903
+ }), ms = Ie(function() {
904
904
  return Ve() || nn();
905
905
  }), ir = Ie(function() {
906
- return tn(/AppleWebKit/i) && !ms();
907
- }), ms = Ie(function() {
906
+ return tn(/AppleWebKit/i) && !$s();
907
+ }), $s = Ie(function() {
908
908
  return tn(/Chrome/i);
909
909
  }), Ut = Ie(function() {
910
910
  return tn(/Android/i);
911
- }), $s = Ie(function() {
911
+ }), ys = Ie(function() {
912
912
  return tn(/Firefox/i);
913
- }), ys = /* @__PURE__ */ Ee({
913
+ }), xs = /* @__PURE__ */ Ee({
914
914
  isNative: !0,
915
- open: Es,
915
+ open: Ds,
916
916
  useHref: (t) => t
917
917
  });
918
918
  function rn() {
919
- return te(ys);
919
+ return te(xs);
920
920
  }
921
921
  function Xe(t, e, n = !0) {
922
922
  var r, l;
923
923
  let { metaKey: i, ctrlKey: o, altKey: u, shiftKey: a } = e;
924
- $s() && (!((l = window.event) === null || l === void 0 || (r = l.type) === null || r === void 0) && r.startsWith("key")) && t.target === "_blank" && (Ve() ? i = !0 : o = !0);
924
+ ys() && (!((l = window.event) === null || l === void 0 || (r = l.type) === null || r === void 0) && r.startsWith("key")) && t.target === "_blank" && (Ve() ? i = !0 : o = !0);
925
925
  let s = ir() && Ve() && !Bl() ? new KeyboardEvent("keydown", {
926
926
  keyIdentifier: "Enter",
927
927
  metaKey: i,
@@ -939,7 +939,7 @@ function Xe(t, e, n = !0) {
939
939
  Xe.isOpening = n, Ae(t), t.dispatchEvent(s), Xe.isOpening = !1;
940
940
  }
941
941
  Xe.isOpening = !1;
942
- function xs(t, e) {
942
+ function Es(t, e) {
943
943
  if (t instanceof HTMLAnchorElement)
944
944
  e(t);
945
945
  else if (t.hasAttribute("data-href")) {
@@ -947,10 +947,10 @@ function xs(t, e) {
947
947
  n.href = t.getAttribute("data-href"), t.hasAttribute("data-target") && (n.target = t.getAttribute("data-target")), t.hasAttribute("data-rel") && (n.rel = t.getAttribute("data-rel")), t.hasAttribute("data-download") && (n.download = t.getAttribute("data-download")), t.hasAttribute("data-ping") && (n.ping = t.getAttribute("data-ping")), t.hasAttribute("data-referrer-policy") && (n.referrerPolicy = t.getAttribute("data-referrer-policy")), t.appendChild(n), e(n), t.removeChild(n);
948
948
  }
949
949
  }
950
- function Es(t, e) {
951
- xs(t, (n) => Xe(n, e));
950
+ function Ds(t, e) {
951
+ Es(t, (n) => Xe(n, e));
952
952
  }
953
- function Ds(t) {
953
+ function ws(t) {
954
954
  let e = rn();
955
955
  return {
956
956
  "data-href": t.href ? e.useHref(t.href) : void 0,
@@ -961,7 +961,7 @@ function Ds(t) {
961
961
  "data-referrer-policy": t.referrerPolicy
962
962
  };
963
963
  }
964
- function ws(t) {
964
+ function Cs(t) {
965
965
  let e = rn();
966
966
  return {
967
967
  href: t != null && t.href ? e.useHref(t == null ? void 0 : t.href) : void 0,
@@ -1068,7 +1068,7 @@ function Fl(t, e) {
1068
1068
  n.current ? n.current = !1 : (!r.current || e.some((l, i) => !Object.is(l, r[i]))) && t(), r.current = e;
1069
1069
  }, e);
1070
1070
  }
1071
- function Cs() {
1071
+ function Ps() {
1072
1072
  return typeof window.ResizeObserver < "u";
1073
1073
  }
1074
1074
  function zr(t) {
@@ -1076,7 +1076,7 @@ function zr(t) {
1076
1076
  V(() => {
1077
1077
  let l = e == null ? void 0 : e.current;
1078
1078
  if (l)
1079
- if (Cs()) {
1079
+ if (Ps()) {
1080
1080
  const i = new window.ResizeObserver((o) => {
1081
1081
  o.length && r();
1082
1082
  });
@@ -1113,13 +1113,13 @@ function Re(t, e) {
1113
1113
  n = n.parentElement;
1114
1114
  return n || document.scrollingElement || document.documentElement;
1115
1115
  }
1116
- function Ps(t, e) {
1116
+ function Ss(t, e) {
1117
1117
  const n = [];
1118
1118
  for (; t && t !== document.documentElement; )
1119
1119
  Et(t, e) && n.push(t), t = t.parentElement;
1120
1120
  return n;
1121
1121
  }
1122
- let Ss = 0;
1122
+ let Ts = 0;
1123
1123
  const wn = /* @__PURE__ */ new Map();
1124
1124
  function ln(t) {
1125
1125
  let [e, n] = W();
@@ -1130,7 +1130,7 @@ function ln(t) {
1130
1130
  if (r)
1131
1131
  n(r.element.id);
1132
1132
  else {
1133
- let l = `react-aria-description-${Ss++}`;
1133
+ let l = `react-aria-description-${Ts++}`;
1134
1134
  n(l);
1135
1135
  let i = document.createElement("div");
1136
1136
  i.id = l, i.style.display = "none", i.textContent = t, document.body.appendChild(i), r = {
@@ -1184,7 +1184,7 @@ function ze(t, e) {
1184
1184
  if (document.contains(t)) {
1185
1185
  let o = document.scrollingElement || document.documentElement;
1186
1186
  if (window.getComputedStyle(o).overflow === "hidden") {
1187
- let a = Ps(t);
1187
+ let a = Ss(t);
1188
1188
  for (let s of a)
1189
1189
  Ll(s, t);
1190
1190
  } else {
@@ -1209,7 +1209,7 @@ function ze(t, e) {
1209
1209
  function zn(t) {
1210
1210
  return t.mozInputSource === 0 && t.isTrusted ? !0 : Ut() && t.pointerType ? t.type === "click" && t.buttons === 1 : t.detail === 0 && !t.pointerType;
1211
1211
  }
1212
- function Ts(t) {
1212
+ function Bs(t) {
1213
1213
  return !Ut() && t.width === 0 && t.height === 0 || t.width === 1 && t.height === 1 && t.pressure === 0 && t.detail === 0 && t.pointerType === "mouse";
1214
1214
  }
1215
1215
  function or(t, e, n) {
@@ -1289,7 +1289,7 @@ const ur = M.createContext({
1289
1289
  }
1290
1290
  });
1291
1291
  ur.displayName = "PressResponderContext";
1292
- function Bs(t, e) {
1292
+ function As(t, e) {
1293
1293
  return e.get ? e.get.call(t) : e.value;
1294
1294
  }
1295
1295
  function Nl(t, e, n) {
@@ -1297,18 +1297,18 @@ function Nl(t, e, n) {
1297
1297
  throw new TypeError("attempted to " + n + " private field on non-instance");
1298
1298
  return e.get(t);
1299
1299
  }
1300
- function As(t, e) {
1300
+ function ks(t, e) {
1301
1301
  var n = Nl(t, e, "get");
1302
- return Bs(t, n);
1302
+ return As(t, n);
1303
1303
  }
1304
- function ks(t, e) {
1304
+ function Ks(t, e) {
1305
1305
  if (e.has(t))
1306
1306
  throw new TypeError("Cannot initialize the same private elements twice on an object");
1307
1307
  }
1308
- function Ks(t, e, n) {
1309
- ks(t, e), e.set(t, n);
1310
- }
1311
1308
  function Is(t, e, n) {
1309
+ Ks(t, e), e.set(t, n);
1310
+ }
1311
+ function Fs(t, e, n) {
1312
1312
  if (e.set)
1313
1313
  e.set.call(t, n);
1314
1314
  else {
@@ -1319,9 +1319,9 @@ function Is(t, e, n) {
1319
1319
  }
1320
1320
  function Vr(t, e, n) {
1321
1321
  var r = Nl(t, e, "set");
1322
- return Is(t, r, n), n;
1322
+ return Fs(t, r, n), n;
1323
1323
  }
1324
- function Fs(t) {
1324
+ function Ms(t) {
1325
1325
  let e = te(ur);
1326
1326
  if (e) {
1327
1327
  let { register: n, ...r } = e;
@@ -1335,10 +1335,10 @@ class Mt {
1335
1335
  Vr(this, Ft, !1);
1336
1336
  }
1337
1337
  get shouldStopPropagation() {
1338
- return As(this, Ft);
1338
+ return ks(this, Ft);
1339
1339
  }
1340
1340
  constructor(e, n, r, l) {
1341
- Ks(this, Ft, {
1341
+ Is(this, Ft, {
1342
1342
  writable: !0,
1343
1343
  value: void 0
1344
1344
  }), Vr(this, Ft, !0);
@@ -1365,7 +1365,7 @@ function He(t) {
1365
1365
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1366
1366
  ref: d,
1367
1367
  ...v
1368
- } = Fs(t), [f, g] = W(!1), x = I({
1368
+ } = Ms(t), [f, g] = W(!1), x = I({
1369
1369
  isPressed: !1,
1370
1370
  ignoreEmulatedMouseEvents: !1,
1371
1371
  ignoreClickAfterPress: !1,
@@ -1463,7 +1463,7 @@ function He(t) {
1463
1463
  k.onPointerDown = (y) => {
1464
1464
  if (y.button !== 0 || !y.currentTarget.contains(y.target))
1465
1465
  return;
1466
- if (Ts(y.nativeEvent)) {
1466
+ if (Bs(y.nativeEvent)) {
1467
1467
  h.pointerType = "virtual";
1468
1468
  return;
1469
1469
  }
@@ -1519,7 +1519,7 @@ function He(t) {
1519
1519
  k.onTouchStart = (b) => {
1520
1520
  if (!b.currentTarget.contains(b.target))
1521
1521
  return;
1522
- let y = Ms(b.nativeEvent);
1522
+ let y = Ls(b.nativeEvent);
1523
1523
  if (!y)
1524
1524
  return;
1525
1525
  h.activePointerId = y.identifier, h.ignoreEmulatedMouseEvents = !0, h.isOverTarget = !0, h.isPressed = !0, h.target = b.currentTarget, h.pointerType = "touch", !o && !a && Ae(b.currentTarget), c || jr(h.target), E(Ne(h.target, b), h.pointerType) && b.stopPropagation(), $(xe(b.currentTarget), "scroll", L, !0);
@@ -1588,7 +1588,7 @@ function Cn(t, e) {
1588
1588
  return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(l instanceof xe(l).HTMLInputElement && !Rl(l, n) || l instanceof xe(l).HTMLTextAreaElement || l.isContentEditable) && // Links should only trigger with Enter key
1589
1589
  !((i === "link" || !i && ar(l)) && n !== "Enter");
1590
1590
  }
1591
- function Ms(t) {
1591
+ function Ls(t) {
1592
1592
  const { targetTouches: e } = t;
1593
1593
  return e.length > 0 ? e[0] : null;
1594
1594
  }
@@ -1625,7 +1625,7 @@ function Pe(t, e) {
1625
1625
  clientY: r
1626
1626
  };
1627
1627
  }
1628
- function Ls(t) {
1628
+ function Ns(t) {
1629
1629
  let e = 0, n = 0;
1630
1630
  return t.width !== void 0 ? e = t.width / 2 : t.radiusX !== void 0 && (e = t.radiusX), t.height !== void 0 ? n = t.height / 2 : t.radiusY !== void 0 && (n = t.radiusY), {
1631
1631
  top: t.clientY - n,
@@ -1634,12 +1634,12 @@ function Ls(t) {
1634
1634
  left: t.clientX - e
1635
1635
  };
1636
1636
  }
1637
- function Ns(t, e) {
1637
+ function Rs(t, e) {
1638
1638
  return !(t.left > e.right || e.left > t.right || t.top > e.bottom || e.top > t.bottom);
1639
1639
  }
1640
1640
  function et(t, e) {
1641
- let n = e.getBoundingClientRect(), r = Ls(t);
1642
- return Ns(n, r);
1641
+ let n = e.getBoundingClientRect(), r = Ns(t);
1642
+ return Rs(n, r);
1643
1643
  }
1644
1644
  function Pn(t) {
1645
1645
  return !(t instanceof HTMLElement) || !t.hasAttribute("draggable");
@@ -1647,7 +1647,7 @@ function Pn(t) {
1647
1647
  function Wr(t, e) {
1648
1648
  return t instanceof HTMLInputElement ? !Rl(t, e) : t instanceof HTMLButtonElement ? t.type !== "submit" && t.type !== "reset" : !ar(t);
1649
1649
  }
1650
- const Rs = /* @__PURE__ */ new Set([
1650
+ const zs = /* @__PURE__ */ new Set([
1651
1651
  "checkbox",
1652
1652
  "radio",
1653
1653
  "range",
@@ -1659,9 +1659,9 @@ const Rs = /* @__PURE__ */ new Set([
1659
1659
  "reset"
1660
1660
  ]);
1661
1661
  function Rl(t, e) {
1662
- return t.type === "checkbox" || t.type === "radio" ? e === " " : Rs.has(t.type);
1662
+ return t.type === "checkbox" || t.type === "radio" ? e === " " : zs.has(t.type);
1663
1663
  }
1664
- function zs({ children: t }) {
1664
+ function Os({ children: t }) {
1665
1665
  let e = _(() => ({
1666
1666
  register: () => {
1667
1667
  }
@@ -1670,7 +1670,7 @@ function zs({ children: t }) {
1670
1670
  value: e
1671
1671
  }, t);
1672
1672
  }
1673
- class Os {
1673
+ class _s {
1674
1674
  isDefaultPrevented() {
1675
1675
  return this.nativeEvent.defaultPrevented;
1676
1676
  }
@@ -1707,7 +1707,7 @@ function zl(t) {
1707
1707
  if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
1708
1708
  e.current.isFocused = !0;
1709
1709
  let l = r.target, i = (o) => {
1710
- e.current.isFocused = !1, l.disabled && n(new Os("blur", o)), e.current.observer && (e.current.observer.disconnect(), e.current.observer = null);
1710
+ e.current.isFocused = !1, l.disabled && n(new _s("blur", o)), e.current.observer && (e.current.observer.disconnect(), e.current.observer = null);
1711
1711
  };
1712
1712
  l.addEventListener("focusout", i, {
1713
1713
  once: !0
@@ -1758,7 +1758,7 @@ function Ol(t) {
1758
1758
  };
1759
1759
  }
1760
1760
  let Ke = null, Dt = /* @__PURE__ */ new Set(), yt = /* @__PURE__ */ new Map(), Ze = !1, jn = !1;
1761
- const _s = {
1761
+ const js = {
1762
1762
  Tab: !0,
1763
1763
  Escape: !0
1764
1764
  };
@@ -1766,11 +1766,11 @@ function on(t, e) {
1766
1766
  for (let n of Dt)
1767
1767
  n(t, e);
1768
1768
  }
1769
- function js(t) {
1769
+ function Vs(t) {
1770
1770
  return !(t.metaKey || !Ve() && t.altKey || t.ctrlKey || t.key === "Control" || t.key === "Shift" || t.key === "Meta");
1771
1771
  }
1772
1772
  function Wt(t) {
1773
- Ze = !0, js(t) && (Ke = "keyboard", on("keyboard", t));
1773
+ Ze = !0, Vs(t) && (Ke = "keyboard", on("keyboard", t));
1774
1774
  }
1775
1775
  function me(t) {
1776
1776
  Ke = "pointer", (t.type === "mousedown" || t.type === "pointerdown") && (Ze = !0, on("pointer", t));
@@ -1803,14 +1803,14 @@ const Hl = (t, e) => {
1803
1803
  const n = xe(t), r = J(t);
1804
1804
  e && r.removeEventListener("DOMContentLoaded", e), yt.has(n) && (n.HTMLElement.prototype.focus = yt.get(n).focus, r.removeEventListener("keydown", Wt, !0), r.removeEventListener("keyup", Wt, !0), r.removeEventListener("click", _l, !0), n.removeEventListener("focus", jl, !0), n.removeEventListener("blur", Vl, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", me, !0), r.removeEventListener("pointermove", me, !0), r.removeEventListener("pointerup", me, !0)) : (r.removeEventListener("mousedown", me, !0), r.removeEventListener("mousemove", me, !0), r.removeEventListener("mouseup", me, !0)), yt.delete(n));
1805
1805
  };
1806
- function Vs(t) {
1806
+ function Hs(t) {
1807
1807
  const e = J(t);
1808
1808
  let n;
1809
1809
  return e.readyState !== "loading" ? Gt(t) : (n = () => {
1810
1810
  Gt(t);
1811
1811
  }, e.addEventListener("DOMContentLoaded", n)), () => Hl(t, n);
1812
1812
  }
1813
- typeof document < "u" && Vs();
1813
+ typeof document < "u" && Hs();
1814
1814
  function ut() {
1815
1815
  return Ke !== "pointer";
1816
1816
  }
@@ -1832,7 +1832,7 @@ function Wl() {
1832
1832
  };
1833
1833
  }, []), wt() ? null : t;
1834
1834
  }
1835
- const Hs = /* @__PURE__ */ new Set([
1835
+ const Us = /* @__PURE__ */ new Set([
1836
1836
  "checkbox",
1837
1837
  "radio",
1838
1838
  "range",
@@ -1843,15 +1843,15 @@ const Hs = /* @__PURE__ */ new Set([
1843
1843
  "submit",
1844
1844
  "reset"
1845
1845
  ]);
1846
- function Us(t, e, n) {
1846
+ function Ws(t, e, n) {
1847
1847
  var r;
1848
1848
  const l = typeof window < "u" ? xe(n == null ? void 0 : n.target).HTMLInputElement : HTMLInputElement, i = typeof window < "u" ? xe(n == null ? void 0 : n.target).HTMLTextAreaElement : HTMLTextAreaElement, o = typeof window < "u" ? xe(n == null ? void 0 : n.target).HTMLElement : HTMLElement, u = typeof window < "u" ? xe(n == null ? void 0 : n.target).KeyboardEvent : KeyboardEvent;
1849
- return t = t || (n == null ? void 0 : n.target) instanceof l && !Hs.has(n == null || (r = n.target) === null || r === void 0 ? void 0 : r.type) || (n == null ? void 0 : n.target) instanceof i || (n == null ? void 0 : n.target) instanceof o && (n == null ? void 0 : n.target.isContentEditable), !(t && e === "keyboard" && n instanceof u && !_s[n.key]);
1849
+ return t = t || (n == null ? void 0 : n.target) instanceof l && !Us.has(n == null || (r = n.target) === null || r === void 0 ? void 0 : r.type) || (n == null ? void 0 : n.target) instanceof i || (n == null ? void 0 : n.target) instanceof o && (n == null ? void 0 : n.target.isContentEditable), !(t && e === "keyboard" && n instanceof u && !js[n.key]);
1850
1850
  }
1851
- function Ws(t, e, n) {
1851
+ function Gs(t, e, n) {
1852
1852
  Gt(), V(() => {
1853
1853
  let r = (l, i) => {
1854
- Us(!!(n != null && n.isTextInput), l, i) && t(ut());
1854
+ Ws(!!(n != null && n.isTextInput), l, i) && t(ut());
1855
1855
  };
1856
1856
  return Dt.add(r), () => {
1857
1857
  Dt.delete(r);
@@ -1896,7 +1896,7 @@ function Vn() {
1896
1896
  function Gr(t) {
1897
1897
  t.pointerType === "touch" && Vn();
1898
1898
  }
1899
- function Gs() {
1899
+ function Ys() {
1900
1900
  if (!(typeof document > "u"))
1901
1901
  return typeof PointerEvent < "u" ? document.addEventListener("pointerup", Gr) : document.addEventListener("touchend", Vn), Sn++, () => {
1902
1902
  Sn--, !(Sn > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", Gr) : document.removeEventListener("touchend", Vn));
@@ -1909,7 +1909,7 @@ function un(t) {
1909
1909
  pointerType: "",
1910
1910
  target: null
1911
1911
  }).current;
1912
- V(Gs, []);
1912
+ V(Ys, []);
1913
1913
  let { hoverProps: a, triggerHoverEnd: s } = _(() => {
1914
1914
  let c = (f, g) => {
1915
1915
  if (u.pointerType = g, l || g === "touch" || u.isHovered || !f.currentTarget.contains(f.target))
@@ -1964,7 +1964,7 @@ function un(t) {
1964
1964
  isHovered: i
1965
1965
  };
1966
1966
  }
1967
- function Ys(t) {
1967
+ function qs(t) {
1968
1968
  let { ref: e, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: l } = t, i = I({
1969
1969
  isPointerDown: !1,
1970
1970
  ignoreEmulatedMouseEvents: !1
@@ -2035,7 +2035,7 @@ function Yr(t) {
2035
2035
  t(r), e && n.stopPropagation();
2036
2036
  };
2037
2037
  }
2038
- function qs(t) {
2038
+ function Xs(t) {
2039
2039
  return {
2040
2040
  keyboardProps: t.isDisabled ? {} : {
2041
2041
  onKeyDown: Yr(t.onKeyDown),
@@ -2043,9 +2043,9 @@ function qs(t) {
2043
2043
  }
2044
2044
  };
2045
2045
  }
2046
- const Xs = 500;
2046
+ const Zs = 500;
2047
2047
  function Gl(t) {
2048
- let { isDisabled: e, onLongPressStart: n, onLongPressEnd: r, onLongPress: l, threshold: i = Xs, accessibilityDescription: o } = t;
2048
+ let { isDisabled: e, onLongPressStart: n, onLongPressEnd: r, onLongPress: l, threshold: i = Zs, accessibilityDescription: o } = t;
2049
2049
  const u = I(void 0);
2050
2050
  let { addGlobalListener: a, removeGlobalListener: s } = kl(), { pressProps: c } = He({
2051
2051
  isDisabled: e,
@@ -2096,7 +2096,7 @@ function se(t) {
2096
2096
  } else
2097
2097
  Ae(t);
2098
2098
  }
2099
- function Zs(t) {
2099
+ function Js(t) {
2100
2100
  const e = xe(t);
2101
2101
  if (!(t instanceof e.HTMLElement) && !(t instanceof e.SVGElement))
2102
2102
  return !1;
@@ -2108,16 +2108,16 @@ function Zs(t) {
2108
2108
  }
2109
2109
  return l;
2110
2110
  }
2111
- function Js(t, e) {
2111
+ function Qs(t, e) {
2112
2112
  return !t.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
2113
2113
  !t.hasAttribute("data-react-aria-prevent-focus") && (t.nodeName === "DETAILS" && e && e.nodeName !== "SUMMARY" ? t.hasAttribute("open") : !0);
2114
2114
  }
2115
2115
  function Yl(t, e) {
2116
- return t.nodeName !== "#comment" && Zs(t) && Js(t, e) && (!t.parentElement || Yl(t.parentElement, t));
2116
+ return t.nodeName !== "#comment" && Js(t) && Qs(t, e) && (!t.parentElement || Yl(t.parentElement, t));
2117
2117
  }
2118
2118
  const qr = /* @__PURE__ */ M.createContext(null), Hn = "react-aria-focus-scope-restore";
2119
2119
  let Z = null;
2120
- function Qs(t) {
2120
+ function ec(t) {
2121
2121
  let { children: e, contain: n, restoreFocus: r, autoFocus: l } = t, i = I(null), o = I(null), u = I([]), { parentNode: a } = te(qr) || {}, s = _(() => new Wn({
2122
2122
  scopeRef: u
2123
2123
  }), [
@@ -2149,7 +2149,7 @@ function Qs(t) {
2149
2149
  };
2150
2150
  }, [
2151
2151
  e
2152
- ]), oc(u, r, n), rc(u, n), ac(u, r, n), ic(u, l), V(() => {
2152
+ ]), uc(u, r, n), lc(u, n), sc(u, r, n), oc(u, l), V(() => {
2153
2153
  const v = J(u.current ? u.current[0] : void 0).activeElement;
2154
2154
  let f = null;
2155
2155
  if (ue(v, u.current)) {
@@ -2166,7 +2166,7 @@ function Qs(t) {
2166
2166
  }, [
2167
2167
  u
2168
2168
  ]);
2169
- let c = _(() => ec(u), []), d = _(() => ({
2169
+ let c = _(() => tc(u), []), d = _(() => ({
2170
2170
  focusManager: c,
2171
2171
  parentNode: s
2172
2172
  }), [
@@ -2185,7 +2185,7 @@ function Qs(t) {
2185
2185
  ref: o
2186
2186
  }));
2187
2187
  }
2188
- function ec(t) {
2188
+ function tc(t) {
2189
2189
  return {
2190
2190
  focusNext(e = {}) {
2191
2191
  let n = t.current, { from: r, tabbable: l, wrap: i, accept: o } = e, u = r || J(n[0]).activeElement, a = n[0].previousElementSibling, s = Ye(n), c = ve(s, {
@@ -2239,9 +2239,9 @@ const sr = [
2239
2239
  "audio[controls]",
2240
2240
  "video[controls]",
2241
2241
  "[contenteditable]"
2242
- ], tc = sr.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
2242
+ ], nc = sr.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
2243
2243
  sr.push('[tabindex]:not([tabindex="-1"]):not([disabled])');
2244
- const nc = sr.join(':not([hidden]):not([tabindex="-1"]),');
2244
+ const rc = sr.join(':not([hidden]):not([tabindex="-1"]),');
2245
2245
  function Ye(t) {
2246
2246
  return t[0].parentElement;
2247
2247
  }
@@ -2254,7 +2254,7 @@ function mt(t) {
2254
2254
  }
2255
2255
  return !0;
2256
2256
  }
2257
- function rc(t, e) {
2257
+ function lc(t, e) {
2258
2258
  let n = I(void 0), r = I(void 0);
2259
2259
  q(() => {
2260
2260
  let l = t.current;
@@ -2315,7 +2315,7 @@ function Xt(t, e = null) {
2315
2315
  return !0;
2316
2316
  return !1;
2317
2317
  }
2318
- function lc(t) {
2318
+ function ic(t) {
2319
2319
  return Xt(t, Z);
2320
2320
  }
2321
2321
  function Zt(t, e) {
@@ -2353,7 +2353,7 @@ function Xl(t, e = !0) {
2353
2353
  function Un(t, e = !0) {
2354
2354
  ke(Xl(t, e));
2355
2355
  }
2356
- function ic(t, e) {
2356
+ function oc(t, e) {
2357
2357
  const n = M.useRef(e);
2358
2358
  V(() => {
2359
2359
  if (n.current) {
@@ -2366,7 +2366,7 @@ function ic(t, e) {
2366
2366
  t
2367
2367
  ]);
2368
2368
  }
2369
- function oc(t, e, n) {
2369
+ function uc(t, e, n) {
2370
2370
  q(() => {
2371
2371
  if (e || n)
2372
2372
  return;
@@ -2385,7 +2385,7 @@ function oc(t, e, n) {
2385
2385
  n
2386
2386
  ]);
2387
2387
  }
2388
- function uc(t) {
2388
+ function ac(t) {
2389
2389
  let e = oe.getTreeNode(Z);
2390
2390
  for (; e && e.scopeRef !== t; ) {
2391
2391
  if (e.nodeToRestore)
@@ -2394,7 +2394,7 @@ function uc(t) {
2394
2394
  }
2395
2395
  return (e == null ? void 0 : e.scopeRef) === t;
2396
2396
  }
2397
- function ac(t, e, n) {
2397
+ function sc(t, e, n) {
2398
2398
  const r = I(typeof document < "u" ? J(t.current ? t.current[0] : void 0).activeElement : null);
2399
2399
  q(() => {
2400
2400
  let l = t.current;
@@ -2456,7 +2456,7 @@ function ac(t, e, n) {
2456
2456
  return;
2457
2457
  let a = u.nodeToRestore;
2458
2458
  if (e && a && // eslint-disable-next-line react-hooks/exhaustive-deps
2459
- (ue(l.activeElement, t.current) || l.activeElement === l.body && uc(t))) {
2459
+ (ue(l.activeElement, t.current) || l.activeElement === l.body && ac(t))) {
2460
2460
  let s = oe.clone();
2461
2461
  requestAnimationFrame(() => {
2462
2462
  if (l.activeElement === l.body) {
@@ -2493,7 +2493,7 @@ function Xr(t) {
2493
2493
  })) && ke(t);
2494
2494
  }
2495
2495
  function ve(t, e, n) {
2496
- let r = e != null && e.tabbable ? nc : tc, l = J(t).createTreeWalker(t, NodeFilter.SHOW_ELEMENT, {
2496
+ let r = e != null && e.tabbable ? rc : nc, l = J(t).createTreeWalker(t, NodeFilter.SHOW_ELEMENT, {
2497
2497
  acceptNode(i) {
2498
2498
  var o;
2499
2499
  return !(e == null || (o = e.from) === null || o === void 0) && o.contains(i) ? NodeFilter.FILTER_REJECT : i.matches(r) && Yl(i) && (!n || ue(i, n)) && (!(e != null && e.accept) || e.accept(i)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
@@ -2573,7 +2573,7 @@ function an(t = {}) {
2573
2573
  }, [
2574
2574
  s
2575
2575
  ]);
2576
- Ws((f) => {
2576
+ Gs((f) => {
2577
2577
  l.current.isFocusVisible = f, s();
2578
2578
  }, [], {
2579
2579
  isTextInput: n
@@ -2592,13 +2592,13 @@ function an(t = {}) {
2592
2592
  };
2593
2593
  }
2594
2594
  let Zl = /* @__PURE__ */ M.createContext(null);
2595
- function sc(t) {
2595
+ function cc(t) {
2596
2596
  let e = te(Zl) || {};
2597
2597
  Ml(e, t);
2598
2598
  let { ref: n, ...r } = e;
2599
2599
  return r;
2600
2600
  }
2601
- function cc(t, e) {
2601
+ function dc(t, e) {
2602
2602
  let { children: n, ...r } = t, l = Il(e), i = {
2603
2603
  ...r,
2604
2604
  ref: l
@@ -2607,9 +2607,9 @@ function cc(t, e) {
2607
2607
  value: i
2608
2608
  }, n);
2609
2609
  }
2610
- let dc = /* @__PURE__ */ M.forwardRef(cc);
2610
+ let fc = /* @__PURE__ */ M.forwardRef(dc);
2611
2611
  function St(t, e) {
2612
- let { focusProps: n } = Ol(t), { keyboardProps: r } = qs(t), l = j(n, r), i = sc(e), o = t.isDisabled ? {} : i, u = I(t.autoFocus);
2612
+ let { focusProps: n } = Ol(t), { keyboardProps: r } = Xs(t), l = j(n, r), i = cc(e), o = t.isDisabled ? {} : i, u = I(t.autoFocus);
2613
2613
  return V(() => {
2614
2614
  u.current && e.current && se(e.current), u.current = !1;
2615
2615
  }, [
@@ -2621,7 +2621,7 @@ function St(t, e) {
2621
2621
  }, o)
2622
2622
  };
2623
2623
  }
2624
- function fc(t, e) {
2624
+ function pc(t, e) {
2625
2625
  let n = e == null ? void 0 : e.isDisabled, [r, l] = W(!1);
2626
2626
  return q(() => {
2627
2627
  if (t != null && t.current && !n) {
@@ -2649,7 +2649,7 @@ function fc(t, e) {
2649
2649
  }
2650
2650
  }), n ? !1 : r;
2651
2651
  }
2652
- const pc = /* @__PURE__ */ new Set([
2652
+ const vc = /* @__PURE__ */ new Set([
2653
2653
  "Arab",
2654
2654
  "Syrc",
2655
2655
  "Samr",
@@ -2660,7 +2660,7 @@ const pc = /* @__PURE__ */ new Set([
2660
2660
  "Adlm",
2661
2661
  "Rohg",
2662
2662
  "Hebr"
2663
- ]), vc = /* @__PURE__ */ new Set([
2663
+ ]), hc = /* @__PURE__ */ new Set([
2664
2664
  "ae",
2665
2665
  "ar",
2666
2666
  "arc",
@@ -2681,20 +2681,20 @@ const pc = /* @__PURE__ */ new Set([
2681
2681
  "ur",
2682
2682
  "yi"
2683
2683
  ]);
2684
- function hc(t) {
2684
+ function gc(t) {
2685
2685
  if (Intl.Locale) {
2686
2686
  let n = new Intl.Locale(t).maximize(), r = typeof n.getTextInfo == "function" ? n.getTextInfo() : n.textInfo;
2687
2687
  if (r)
2688
2688
  return r.direction === "rtl";
2689
2689
  if (n.script)
2690
- return pc.has(n.script);
2690
+ return vc.has(n.script);
2691
2691
  }
2692
2692
  let e = t.split("-")[0];
2693
- return vc.has(e);
2693
+ return hc.has(e);
2694
2694
  }
2695
- const gc = Symbol.for("react-aria.i18n.locale");
2695
+ const bc = Symbol.for("react-aria.i18n.locale");
2696
2696
  function Jl() {
2697
- let t = typeof window < "u" && window[gc] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
2697
+ let t = typeof window < "u" && window[bc] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
2698
2698
  try {
2699
2699
  Intl.DateTimeFormat.supportedLocalesOf([
2700
2700
  t
@@ -2704,7 +2704,7 @@ function Jl() {
2704
2704
  }
2705
2705
  return {
2706
2706
  locale: t,
2707
- direction: hc(t) ? "rtl" : "ltr"
2707
+ direction: gc(t) ? "rtl" : "ltr"
2708
2708
  };
2709
2709
  }
2710
2710
  let Gn = Jl(), $t = /* @__PURE__ */ new Set();
@@ -2713,7 +2713,7 @@ function Zr() {
2713
2713
  for (let t of $t)
2714
2714
  t(Gn);
2715
2715
  }
2716
- function bc() {
2716
+ function mc() {
2717
2717
  let t = wt(), [e, n] = W(Gn);
2718
2718
  return V(() => ($t.size === 0 && window.addEventListener("languagechange", Zr), $t.add(n), () => {
2719
2719
  $t.delete(n), $t.size === 0 && window.removeEventListener("languagechange", Zr);
@@ -2722,12 +2722,12 @@ function bc() {
2722
2722
  direction: "ltr"
2723
2723
  } : e;
2724
2724
  }
2725
- const mc = /* @__PURE__ */ M.createContext(null);
2725
+ const $c = /* @__PURE__ */ M.createContext(null);
2726
2726
  function Fe() {
2727
- let t = bc();
2728
- return te(mc) || t;
2727
+ let t = mc();
2728
+ return te($c) || t;
2729
2729
  }
2730
- const $c = Symbol.for("react-aria.i18n.locale"), yc = Symbol.for("react-aria.i18n.strings");
2730
+ const yc = Symbol.for("react-aria.i18n.locale"), xc = Symbol.for("react-aria.i18n.strings");
2731
2731
  let tt;
2732
2732
  class sn {
2733
2733
  /** Returns a localized string for the given key and locale. */
@@ -2740,14 +2740,14 @@ class sn {
2740
2740
  /** Returns all localized strings for the given locale. */
2741
2741
  getStringsForLocale(e) {
2742
2742
  let n = this.strings[e];
2743
- return n || (n = xc(e, this.strings, this.defaultLocale), this.strings[e] = n), n;
2743
+ return n || (n = Ec(e, this.strings, this.defaultLocale), this.strings[e] = n), n;
2744
2744
  }
2745
2745
  static getGlobalDictionaryForPackage(e) {
2746
2746
  if (typeof window > "u")
2747
2747
  return null;
2748
- let n = window[$c];
2748
+ let n = window[yc];
2749
2749
  if (tt === void 0) {
2750
- let l = window[yc];
2750
+ let l = window[xc];
2751
2751
  if (!l)
2752
2752
  return null;
2753
2753
  tt = {};
@@ -2765,10 +2765,10 @@ class sn {
2765
2765
  this.strings = Object.fromEntries(Object.entries(e).filter(([, r]) => r)), this.defaultLocale = n;
2766
2766
  }
2767
2767
  }
2768
- function xc(t, e, n = "en-US") {
2768
+ function Ec(t, e, n = "en-US") {
2769
2769
  if (e[t])
2770
2770
  return e[t];
2771
- let r = Ec(t);
2771
+ let r = Dc(t);
2772
2772
  if (e[r])
2773
2773
  return e[r];
2774
2774
  for (let l in e)
@@ -2776,11 +2776,11 @@ function xc(t, e, n = "en-US") {
2776
2776
  return e[l];
2777
2777
  return e[n];
2778
2778
  }
2779
- function Ec(t) {
2779
+ function Dc(t) {
2780
2780
  return Intl.Locale ? new Intl.Locale(t).language : t.split("-")[0];
2781
2781
  }
2782
2782
  const Jr = /* @__PURE__ */ new Map(), Qr = /* @__PURE__ */ new Map();
2783
- class Dc {
2783
+ class wc {
2784
2784
  /** Formats a localized string for the given key with the provided variables. */
2785
2785
  format(e, n) {
2786
2786
  let r = this.strings.getStringForLocale(e, this.locale);
@@ -2810,16 +2810,16 @@ class Dc {
2810
2810
  }
2811
2811
  }
2812
2812
  const el = /* @__PURE__ */ new WeakMap();
2813
- function wc(t) {
2813
+ function Cc(t) {
2814
2814
  let e = el.get(t);
2815
2815
  return e || (e = new sn(t), el.set(t, e)), e;
2816
2816
  }
2817
- function Cc(t, e) {
2818
- return e && sn.getGlobalDictionaryForPackage(e) || wc(t);
2817
+ function Pc(t, e) {
2818
+ return e && sn.getGlobalDictionaryForPackage(e) || Cc(t);
2819
2819
  }
2820
2820
  function at(t, e) {
2821
- let { locale: n } = Fe(), r = Cc(t, e);
2822
- return _(() => new Dc(n, r), [
2821
+ let { locale: n } = Fe(), r = Pc(t, e);
2822
+ return _(() => new wc(n, r), [
2823
2823
  n,
2824
2824
  r
2825
2825
  ]);
@@ -2893,9 +2893,9 @@ function dn(t, e) {
2893
2893
  const Ql = 7e3;
2894
2894
  let Bn = null;
2895
2895
  function ei(t, e = "assertive", n = Ql) {
2896
- Bn || (Bn = new Pc()), Bn.announce(t, e, n);
2896
+ Bn || (Bn = new Sc()), Bn.announce(t, e, n);
2897
2897
  }
2898
- class Pc {
2898
+ class Sc {
2899
2899
  createLog(e) {
2900
2900
  let n = document.createElement("div");
2901
2901
  return n.setAttribute("role", "log"), n.setAttribute("aria-live", e), n.setAttribute("aria-relevant", "additions"), n;
@@ -2934,7 +2934,7 @@ function ti(t, e, n) {
2934
2934
  q(() => {
2935
2935
  if (r === "native" && (n != null && n.current)) {
2936
2936
  let a = e.realtimeValidation.isInvalid ? e.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
2937
- n.current.setCustomValidity(a), n.current.hasAttribute("title") || (n.current.title = ""), e.realtimeValidation.isInvalid || e.updateValidation(Tc(n.current));
2937
+ n.current.setCustomValidity(a), n.current.hasAttribute("title") || (n.current.title = ""), e.realtimeValidation.isInvalid || e.updateValidation(Bc(n.current));
2938
2938
  }
2939
2939
  });
2940
2940
  let i = ce(() => {
@@ -2943,7 +2943,7 @@ function ti(t, e, n) {
2943
2943
  var s;
2944
2944
  e.displayValidation.isInvalid || e.commitValidation();
2945
2945
  let c = n == null || (s = n.current) === null || s === void 0 ? void 0 : s.form;
2946
- if (!a.defaultPrevented && n && c && Bc(c) === n.current) {
2946
+ if (!a.defaultPrevented && n && c && Ac(c) === n.current) {
2947
2947
  var d;
2948
2948
  l ? l() : (d = n.current) === null || d === void 0 || d.focus(), Ul("keyboard");
2949
2949
  }
@@ -2967,7 +2967,7 @@ function ti(t, e, n) {
2967
2967
  r
2968
2968
  ]);
2969
2969
  }
2970
- function Sc(t) {
2970
+ function Tc(t) {
2971
2971
  let e = t.validity;
2972
2972
  return {
2973
2973
  badInput: e.badInput,
@@ -2983,16 +2983,16 @@ function Sc(t) {
2983
2983
  valid: e.valid
2984
2984
  };
2985
2985
  }
2986
- function Tc(t) {
2986
+ function Bc(t) {
2987
2987
  return {
2988
2988
  isInvalid: !t.validity.valid,
2989
- validationDetails: Sc(t),
2989
+ validationDetails: Tc(t),
2990
2990
  validationErrors: t.validationMessage ? [
2991
2991
  t.validationMessage
2992
2992
  ] : []
2993
2993
  };
2994
2994
  }
2995
- function Bc(t) {
2995
+ function Ac(t) {
2996
2996
  for (let e = 0; e < t.elements.length; e++) {
2997
2997
  let n = t.elements[e];
2998
2998
  if (!n.validity.valid)
@@ -3020,7 +3020,7 @@ const ni = {
3020
3020
  isInvalid: !1,
3021
3021
  validationDetails: ni,
3022
3022
  validationErrors: []
3023
- }, Ac = Ee({}), tl = "__formValidationState" + Date.now();
3023
+ }, kc = Ee({}), tl = "__formValidationState" + Date.now();
3024
3024
  function li(t) {
3025
3025
  if (t[tl]) {
3026
3026
  let { realtimeValidation: e, displayValidation: n, updateValidation: r, resetValidation: l, commitValidation: i } = t[tl];
@@ -3032,21 +3032,21 @@ function li(t) {
3032
3032
  commitValidation: i
3033
3033
  };
3034
3034
  }
3035
- return kc(t);
3035
+ return Kc(t);
3036
3036
  }
3037
- function kc(t) {
3037
+ function Kc(t) {
3038
3038
  let { isInvalid: e, validationState: n, name: r, value: l, builtinValidation: i, validate: o, validationBehavior: u = "aria" } = t;
3039
3039
  n && (e || (e = n === "invalid"));
3040
3040
  let a = e !== void 0 ? {
3041
3041
  isInvalid: e,
3042
3042
  validationErrors: [],
3043
3043
  validationDetails: ri
3044
- } : null, s = _(() => nl(Kc(o, l)), [
3044
+ } : null, s = _(() => nl(Ic(o, l)), [
3045
3045
  o,
3046
3046
  l
3047
3047
  ]);
3048
3048
  i != null && i.validationDetails.valid && (i = null);
3049
- let c = te(Ac), d = _(() => r ? Array.isArray(r) ? r.flatMap((m) => Yn(c[m])) : Yn(c[r]) : [], [
3049
+ let c = te(kc), d = _(() => r ? Array.isArray(r) ? r.flatMap((m) => Yn(c[m])) : Yn(c[r]) : [], [
3050
3050
  c,
3051
3051
  r
3052
3052
  ]), [v, f] = W(c), [g, x] = W(!1);
@@ -3081,7 +3081,7 @@ function Yn(t) {
3081
3081
  t
3082
3082
  ] : [];
3083
3083
  }
3084
- function Kc(t, e) {
3084
+ function Ic(t, e) {
3085
3085
  if (typeof t == "function") {
3086
3086
  let n = t(e);
3087
3087
  if (n && typeof n != "boolean")
@@ -3099,7 +3099,7 @@ function nl(t) {
3099
3099
  function An(t, e) {
3100
3100
  return t === e ? !0 : t && e && t.isInvalid === e.isInvalid && t.validationErrors.length === e.validationErrors.length && t.validationErrors.every((n, r) => n === e.validationErrors[r]) && Object.entries(t.validationDetails).every(([n, r]) => e.validationDetails[n] === r);
3101
3101
  }
3102
- function Ic(t, e, n) {
3102
+ function Fc(t, e, n) {
3103
3103
  let { isDisabled: r = !1, isReadOnly: l = !1, value: i, name: o, children: u, "aria-label": a, "aria-labelledby": s, validationState: c = "valid", isInvalid: d } = t, v = (T) => {
3104
3104
  T.stopPropagation(), e.setSelected(T.target.checked);
3105
3105
  }, f = u != null, g = a != null || s != null;
@@ -3187,7 +3187,7 @@ function oi(t) {
3187
3187
  }
3188
3188
  };
3189
3189
  }
3190
- function Fc(t = {}) {
3190
+ function Mc(t = {}) {
3191
3191
  let { isReadOnly: e } = t, [n, r] = Ct(t.isSelected, t.defaultSelected || !1, t.onChange);
3192
3192
  function l(o) {
3193
3193
  e || r(o);
@@ -3211,7 +3211,7 @@ const Ce = {
3211
3211
  bottom: "top",
3212
3212
  left: "right",
3213
3213
  right: "left"
3214
- }, Mc = {
3214
+ }, Lc = {
3215
3215
  top: "left",
3216
3216
  left: "top"
3217
3217
  }, qn = {
@@ -3243,7 +3243,7 @@ function rl(t) {
3243
3243
  left: o
3244
3244
  };
3245
3245
  }
3246
- function Lc(t) {
3246
+ function Nc(t) {
3247
3247
  return {
3248
3248
  top: t.scrollTop,
3249
3249
  left: t.scrollLeft,
@@ -3255,7 +3255,7 @@ function ll(t, e, n, r, l, i, o) {
3255
3255
  let u = l.scroll[t], a = r[qn[t]], s = r.scroll[Ce[t]] + i, c = a + r.scroll[Ce[t]] - i, d = e - u + o[t] - r[Ce[t]], v = e - u + n + o[t] - r[Ce[t]];
3256
3256
  return d < s ? s - d : v > c ? Math.max(c - v, s - d) : 0;
3257
3257
  }
3258
- function Nc(t) {
3258
+ function Rc(t) {
3259
3259
  let e = window.getComputedStyle(t);
3260
3260
  return {
3261
3261
  top: parseInt(e.marginTop, 10) || 0,
@@ -3267,7 +3267,7 @@ function Nc(t) {
3267
3267
  function il(t) {
3268
3268
  if (Nt[t])
3269
3269
  return Nt[t];
3270
- let [e, n] = t.split(" "), r = Ce[e] || "right", l = Mc[r];
3270
+ let [e, n] = t.split(" "), r = Ce[e] || "right", l = Lc[r];
3271
3271
  Ce[n] || (n = "center");
3272
3272
  let i = qn[r], o = qn[l];
3273
3273
  return Nt[t] = {
@@ -3290,7 +3290,7 @@ function kn(t, e, n, r, l, i, o, u, a, s) {
3290
3290
  $[v] = Math.floor(t[v] + t[g] + l);
3291
3291
  return $;
3292
3292
  }
3293
- function Rc(t, e, n, r, l, i, o, u) {
3293
+ function zc(t, e, n, r, l, i, o, u) {
3294
3294
  const a = r ? n.height : e[ui.height];
3295
3295
  let s = t.top != null ? n.top + t.top : n.top + (a - t.bottom - o), c = u !== "top" ? (
3296
3296
  // We want the distance between the top of the overlay to the bottom of the boundary
@@ -3302,7 +3302,7 @@ function ol(t, e, n, r, l, i) {
3302
3302
  let { placement: o, axis: u, size: a } = i;
3303
3303
  return o === u ? Math.max(0, n[u] - t[u] - t.scroll[u] + e[u] - r[u] - r[Jt[u]] - l) : Math.max(0, t[a] + t[u] + t.scroll[u] - e[u] - n[u] - n[a] - r[u] - r[Jt[u]] - l);
3304
3304
  }
3305
- function zc(t, e, n, r, l, i, o, u, a, s, c, d, v, f, g, x) {
3305
+ function Oc(t, e, n, r, l, i, o, u, a, s, c, d, v, f, g, x) {
3306
3306
  let $ = il(t), { size: B, crossAxis: E, crossSize: D, placement: A, crossPlacement: S } = $, T = kn(e, u, n, $, c, d, s, v, g, x), N = c, h = ol(u, s, e, l, i + c, $);
3307
3307
  if (o && r[B] > h) {
3308
3308
  let z = il(`${Jt[A]} ${S}`), he = kn(e, u, n, z, c, d, s, v, g, x);
@@ -3312,7 +3312,7 @@ function zc(t, e, n, r, l, i, o, u, a, s, c, d, v, f, g, x) {
3312
3312
  $.axis === "top" ? $.placement === "top" ? k = "top" : $.placement === "bottom" && (k = "bottom") : $.crossAxis === "top" && ($.crossPlacement === "top" ? k = "bottom" : $.crossPlacement === "bottom" && (k = "top"));
3313
3313
  let m = ll(E, T[E], n[D], u, a, i, s);
3314
3314
  T[E] += m;
3315
- let C = Rc(T, u, s, v, l, i, n.height, k);
3315
+ let C = zc(T, u, s, v, l, i, n.height, k);
3316
3316
  f && f < C && (C = f), n.height = Math.min(n.height, C), T = kn(e, u, n, $, N, d, s, v, g, x), m = ll(E, T[E], n[D], u, a, i, s), T[E] += m;
3317
3317
  let L = {}, b = e[E] + 0.5 * e[D] - T[E] - l[Ce[E]];
3318
3318
  const y = g / 2 + x, R = Ce[E] === "left" ? l.left + l.right : l.top + l.bottom, X = n[D] - R - g / 2 - x, F = e[E] + g / 2 - (T[E] + l[Ce[E]]), de = e[E] + e[D] - g / 2 - (T[E] + l[Ce[E]]), Le = On(b, F, de);
@@ -3324,18 +3324,18 @@ function zc(t, e, n, r, l, i, o, u, a, s, c, d, v, f, g, x) {
3324
3324
  placement: $.placement
3325
3325
  };
3326
3326
  }
3327
- function Oc(t) {
3328
- let { placement: e, targetNode: n, overlayNode: r, scrollNode: l, padding: i, shouldFlip: o, boundaryElement: u, offset: a, crossOffset: s, maxHeight: c, arrowSize: d = 0, arrowBoundaryOffset: v = 0 } = t, f = r instanceof HTMLElement ? _c(r) : document.documentElement, g = f === document.documentElement;
3327
+ function _c(t) {
3328
+ let { placement: e, targetNode: n, overlayNode: r, scrollNode: l, padding: i, shouldFlip: o, boundaryElement: u, offset: a, crossOffset: s, maxHeight: c, arrowSize: d = 0, arrowBoundaryOffset: v = 0 } = t, f = r instanceof HTMLElement ? jc(r) : document.documentElement, g = f === document.documentElement;
3329
3329
  const x = window.getComputedStyle(f).position;
3330
3330
  let $ = !!x && x !== "static", B = g ? ot(n) : ul(n, f);
3331
3331
  if (!g) {
3332
3332
  let { marginTop: h, marginLeft: k } = window.getComputedStyle(n);
3333
3333
  B.top += parseInt(h, 10) || 0, B.left += parseInt(k, 10) || 0;
3334
3334
  }
3335
- let E = ot(r), D = Nc(r);
3335
+ let E = ot(r), D = Rc(r);
3336
3336
  E.width += D.left + D.right, E.height += D.top + D.bottom;
3337
- let A = Lc(l), S = rl(u), T = rl(f), N = u.tagName === "BODY" ? ot(f) : ul(f, u);
3338
- return f.tagName === "HTML" && u.tagName === "BODY" && (T.scroll.top = 0, T.scroll.left = 0), zc(e, B, E, A, D, i, o, S, T, N, a, s, $, c, d, v);
3337
+ let A = Nc(l), S = rl(u), T = rl(f), N = u.tagName === "BODY" ? ot(f) : ul(f, u);
3338
+ return f.tagName === "HTML" && u.tagName === "BODY" && (T.scroll.top = 0, T.scroll.left = 0), Oc(e, B, E, A, D, i, o, S, T, N, a, s, $, c, d, v);
3339
3339
  }
3340
3340
  function ot(t) {
3341
3341
  let { top: e, left: n, width: r, height: l } = t.getBoundingClientRect(), { scrollTop: i, scrollLeft: o, clientTop: u, clientLeft: a } = document.documentElement;
@@ -3363,7 +3363,7 @@ function ul(t, e) {
3363
3363
  }
3364
3364
  return r.top -= parseInt(n.marginTop, 10) || 0, r.left -= parseInt(n.marginLeft, 10) || 0, r;
3365
3365
  }
3366
- function _c(t) {
3366
+ function jc(t) {
3367
3367
  let e = t.offsetParent;
3368
3368
  if (e && e === document.body && window.getComputedStyle(e).position === "static" && !al(e) && (e = document.documentElement), e == null)
3369
3369
  for (e = t.parentElement; e && !al(e); )
@@ -3377,7 +3377,7 @@ function al(t) {
3377
3377
  "WebkitBackdropFilter" in e && e.WebkitBackdropFilter !== "none";
3378
3378
  }
3379
3379
  const ai = /* @__PURE__ */ new WeakMap();
3380
- function jc(t) {
3380
+ function Vc(t) {
3381
3381
  let { triggerRef: e, isOpen: n, onClose: r } = t;
3382
3382
  V(() => {
3383
3383
  if (!n || r === null)
@@ -3446,8 +3446,8 @@ function si(t) {
3446
3446
  var L;
3447
3447
  m.style.maxHeight = ((L = (C = window.visualViewport) === null || C === void 0 ? void 0 : C.height) !== null && L !== void 0 ? L : window.innerHeight) + "px";
3448
3448
  }
3449
- let b = Oc({
3450
- placement: Hc(o, e),
3449
+ let b = _c({
3450
+ placement: Uc(o, e),
3451
3451
  overlayNode: l.current,
3452
3452
  targetNode: r.current,
3453
3453
  scrollNode: i.current || l.current,
@@ -3466,7 +3466,7 @@ function si(t) {
3466
3466
  }
3467
3467
  E(b);
3468
3468
  }, D);
3469
- q(S, D), Vc(S), zr({
3469
+ q(S, D), Hc(S), zr({
3470
3470
  ref: l,
3471
3471
  onResize: S
3472
3472
  }), zr({
@@ -3494,7 +3494,7 @@ function si(t) {
3494
3494
  g,
3495
3495
  T
3496
3496
  ]);
3497
- jc({
3497
+ Vc({
3498
3498
  triggerRef: r,
3499
3499
  isOpen: f,
3500
3500
  onClose: g && N
@@ -3521,18 +3521,18 @@ function si(t) {
3521
3521
  updatePosition: S
3522
3522
  };
3523
3523
  }
3524
- function Vc(t) {
3524
+ function Hc(t) {
3525
3525
  q(() => (window.addEventListener("resize", t, !1), () => {
3526
3526
  window.removeEventListener("resize", t, !1);
3527
3527
  }), [
3528
3528
  t
3529
3529
  ]);
3530
3530
  }
3531
- function Hc(t, e) {
3531
+ function Uc(t, e) {
3532
3532
  return e === "rtl" ? t.replace("start", "right").replace("end", "left") : t.replace("start", "left").replace("end", "right");
3533
3533
  }
3534
3534
  const Se = [];
3535
- function Uc(t, e) {
3535
+ function Wc(t, e) {
3536
3536
  let { onClose: n, shouldCloseOnBlur: r, isOpen: l, isDismissable: i = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: u } = t;
3537
3537
  V(() => (l && Se.push(e), () => {
3538
3538
  let g = Se.indexOf(e);
@@ -3550,7 +3550,7 @@ function Uc(t, e) {
3550
3550
  }, d = (g) => {
3551
3551
  g.key === "Escape" && !o && !g.nativeEvent.isComposing && (g.stopPropagation(), g.preventDefault(), a());
3552
3552
  };
3553
- Ys({
3553
+ qs({
3554
3554
  ref: e,
3555
3555
  onInteractOutside: i && l ? c : null,
3556
3556
  onInteractOutsideStart: s
@@ -3558,7 +3558,7 @@ function Uc(t, e) {
3558
3558
  let { focusWithinProps: v } = Pt({
3559
3559
  isDisabled: !r,
3560
3560
  onBlurWithin: (g) => {
3561
- !g.relatedTarget || lc(g.relatedTarget) || (!u || u(g.relatedTarget)) && n();
3561
+ !g.relatedTarget || ic(g.relatedTarget) || (!u || u(g.relatedTarget)) && n();
3562
3562
  }
3563
3563
  }), f = (g) => {
3564
3564
  g.target === g.currentTarget && g.preventDefault();
@@ -3593,7 +3593,7 @@ function ci(t, e, n) {
3593
3593
  }
3594
3594
  };
3595
3595
  }
3596
- const Kn = typeof document < "u" && window.visualViewport, Wc = /* @__PURE__ */ new Set([
3596
+ const Kn = typeof document < "u" && window.visualViewport, Gc = /* @__PURE__ */ new Set([
3597
3597
  "checkbox",
3598
3598
  "radio",
3599
3599
  "range",
@@ -3605,21 +3605,21 @@ const Kn = typeof document < "u" && window.visualViewport, Wc = /* @__PURE__ */
3605
3605
  "reset"
3606
3606
  ]);
3607
3607
  let Rt = 0, In;
3608
- function Gc(t = {}) {
3608
+ function Yc(t = {}) {
3609
3609
  let { isDisabled: e } = t;
3610
3610
  q(() => {
3611
3611
  if (!e)
3612
- return Rt++, Rt === 1 && (nn() ? In = qc() : In = Yc()), () => {
3612
+ return Rt++, Rt === 1 && (nn() ? In = Xc() : In = qc()), () => {
3613
3613
  Rt--, Rt === 0 && In();
3614
3614
  };
3615
3615
  }, [
3616
3616
  e
3617
3617
  ]);
3618
3618
  }
3619
- function Yc() {
3619
+ function qc() {
3620
3620
  return je(it(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`), it(document.documentElement, "overflow", "hidden"));
3621
3621
  }
3622
- function qc() {
3622
+ function Xc() {
3623
3623
  let t, e, n = (s) => {
3624
3624
  t = Re(s.target, !0), !(t === document.documentElement && t === document.body) && t instanceof HTMLElement && window.getComputedStyle(t).overscrollBehavior === "auto" && (e = it(t, "overscrollBehavior", "contain"));
3625
3625
  }, r = (s) => {
@@ -3688,10 +3688,10 @@ function sl(t) {
3688
3688
  }
3689
3689
  }
3690
3690
  function cl(t) {
3691
- return t instanceof HTMLInputElement && !Wc.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
3691
+ return t instanceof HTMLInputElement && !Gc.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
3692
3692
  }
3693
3693
  const Xn = /* @__PURE__ */ M.createContext(null);
3694
- function Xc(t) {
3694
+ function Zc(t) {
3695
3695
  let { children: e } = t, n = te(Xn), [r, l] = W(0), i = _(() => ({
3696
3696
  parent: n,
3697
3697
  modalCount: r,
@@ -3709,7 +3709,7 @@ function Xc(t) {
3709
3709
  value: i
3710
3710
  }, e);
3711
3711
  }
3712
- function Zc() {
3712
+ function Jc() {
3713
3713
  let t = te(Xn);
3714
3714
  return {
3715
3715
  modalProviderProps: {
@@ -3717,18 +3717,18 @@ function Zc() {
3717
3717
  }
3718
3718
  };
3719
3719
  }
3720
- function Jc(t) {
3721
- let { modalProviderProps: e } = Zc();
3720
+ function Qc(t) {
3721
+ let { modalProviderProps: e } = Jc();
3722
3722
  return /* @__PURE__ */ M.createElement("div", {
3723
3723
  "data-overlay-container": !0,
3724
3724
  ...t,
3725
3725
  ...e
3726
3726
  });
3727
3727
  }
3728
- function Qc(t) {
3729
- return /* @__PURE__ */ M.createElement(Xc, null, /* @__PURE__ */ M.createElement(Jc, t));
3730
- }
3731
3728
  function ed(t) {
3729
+ return /* @__PURE__ */ M.createElement(Zc, null, /* @__PURE__ */ M.createElement(Qc, t));
3730
+ }
3731
+ function td(t) {
3732
3732
  let e = wt(), { portalContainer: n = e ? null : document.body, ...r } = t;
3733
3733
  if (M.useEffect(() => {
3734
3734
  if (n != null && n.closest("[data-overlay-container]"))
@@ -3737,7 +3737,7 @@ function ed(t) {
3737
3737
  n
3738
3738
  ]), !n)
3739
3739
  return null;
3740
- let l = /* @__PURE__ */ M.createElement(Qc, r);
3740
+ let l = /* @__PURE__ */ M.createElement(ed, r);
3741
3741
  return /* @__PURE__ */ rr.createPortal(l, n);
3742
3742
  }
3743
3743
  var di = {};
@@ -3946,11 +3946,11 @@ function dr(t) {
3946
3946
  let { children: e, elementType: n = "div", isFocusable: r, style: l, ...i } = t, { visuallyHiddenProps: o } = Wi(t);
3947
3947
  return /* @__PURE__ */ M.createElement(n, j(i, o), e);
3948
3948
  }
3949
- function td(t) {
3949
+ function nd(t) {
3950
3950
  return t && t.__esModule ? t.default : t;
3951
3951
  }
3952
- function nd(t) {
3953
- let { onDismiss: e, ...n } = t, r = at(td(Ui), "@react-aria/overlays"), l = Kl(n, r.format("dismiss")), i = () => {
3952
+ function rd(t) {
3953
+ let { onDismiss: e, ...n } = t, r = at(nd(Ui), "@react-aria/overlays"), l = Kl(n, r.format("dismiss")), i = () => {
3954
3954
  e && e();
3955
3955
  };
3956
3956
  return /* @__PURE__ */ M.createElement(dr, null, /* @__PURE__ */ M.createElement("button", {
@@ -3964,7 +3964,7 @@ function nd(t) {
3964
3964
  }));
3965
3965
  }
3966
3966
  let gt = /* @__PURE__ */ new WeakMap(), be = [];
3967
- function rd(t, e = document.body) {
3967
+ function ld(t, e = document.body) {
3968
3968
  let n = new Set(t), r = /* @__PURE__ */ new Set(), l = (a) => {
3969
3969
  for (let v of a.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))
3970
3970
  n.add(v);
@@ -4025,8 +4025,8 @@ function rd(t, e = document.body) {
4025
4025
  u === be[be.length - 1] ? (be.pop(), be.length && be[be.length - 1].observe()) : be.splice(be.indexOf(u), 1);
4026
4026
  };
4027
4027
  }
4028
- function ld(t, e) {
4029
- let { triggerRef: n, popoverRef: r, isNonModal: l, isKeyboardDismissDisabled: i, shouldCloseOnInteractOutside: o, ...u } = t, { overlayProps: a, underlayProps: s } = Uc({
4028
+ function id(t, e) {
4029
+ let { triggerRef: n, popoverRef: r, isNonModal: l, isKeyboardDismissDisabled: i, shouldCloseOnInteractOutside: o, ...u } = t, { overlayProps: a, underlayProps: s } = Wc({
4030
4030
  isOpen: e.isOpen,
4031
4031
  onClose: e.close,
4032
4032
  shouldCloseOnBlur: !0,
@@ -4040,11 +4040,11 @@ function ld(t, e) {
4040
4040
  isOpen: e.isOpen,
4041
4041
  onClose: l ? e.close : null
4042
4042
  });
4043
- return Gc({
4043
+ return Yc({
4044
4044
  isDisabled: l || !e.isOpen
4045
4045
  }), q(() => {
4046
4046
  if (e.isOpen && !l && r.current)
4047
- return rd([
4047
+ return ld([
4048
4048
  r.current
4049
4049
  ]);
4050
4050
  }, [
@@ -4058,31 +4058,31 @@ function ld(t, e) {
4058
4058
  placement: v
4059
4059
  };
4060
4060
  }
4061
- const id = /* @__PURE__ */ Ee({});
4062
- function od() {
4061
+ const od = /* @__PURE__ */ Ee({});
4062
+ function ud() {
4063
4063
  var t;
4064
- return (t = te(id)) !== null && t !== void 0 ? t : {};
4064
+ return (t = te(od)) !== null && t !== void 0 ? t : {};
4065
4065
  }
4066
4066
  const Gi = /* @__PURE__ */ M.createContext(null);
4067
- function ud(t) {
4067
+ function ad(t) {
4068
4068
  let e = wt(), { portalContainer: n = e ? null : document.body, isExiting: r } = t, [l, i] = W(!1), o = _(() => ({
4069
4069
  contain: l,
4070
4070
  setContain: i
4071
4071
  }), [
4072
4072
  l,
4073
4073
  i
4074
- ]), { getContainer: u } = od();
4074
+ ]), { getContainer: u } = ud();
4075
4075
  if (!t.portalContainer && u && (n = u()), !n)
4076
4076
  return null;
4077
4077
  let a = t.children;
4078
- return t.disableFocusManagement || (a = /* @__PURE__ */ M.createElement(Qs, {
4078
+ return t.disableFocusManagement || (a = /* @__PURE__ */ M.createElement(ec, {
4079
4079
  restoreFocus: !0,
4080
4080
  contain: l && !r
4081
4081
  }, a)), a = /* @__PURE__ */ M.createElement(Gi.Provider, {
4082
4082
  value: o
4083
- }, /* @__PURE__ */ M.createElement(zs, null, a)), /* @__PURE__ */ rr.createPortal(a, n);
4083
+ }, /* @__PURE__ */ M.createElement(Os, null, a)), /* @__PURE__ */ rr.createPortal(a, n);
4084
4084
  }
4085
- function ad() {
4085
+ function sd() {
4086
4086
  let t = te(Gi), e = t == null ? void 0 : t.setContain;
4087
4087
  q(() => {
4088
4088
  e == null || e(!0);
@@ -4091,35 +4091,35 @@ function ad() {
4091
4091
  ]);
4092
4092
  }
4093
4093
  const fr = /* @__PURE__ */ new WeakMap();
4094
- function sd(t) {
4094
+ function cd(t) {
4095
4095
  return typeof t == "string" ? t.replace(/\s*/g, "") : "" + t;
4096
4096
  }
4097
- function cd(t, e) {
4097
+ function dd(t, e) {
4098
4098
  let n = fr.get(t);
4099
4099
  if (!n)
4100
4100
  throw new Error("Unknown list");
4101
- return `${n.id}-option-${sd(e)}`;
4101
+ return `${n.id}-option-${cd(e)}`;
4102
4102
  }
4103
4103
  function Zn(t) {
4104
- return bs() ? t.altKey : t.ctrlKey;
4104
+ return ms() ? t.altKey : t.ctrlKey;
4105
4105
  }
4106
4106
  function rt(t) {
4107
4107
  return Ve() ? t.metaKey : t.ctrlKey;
4108
4108
  }
4109
- const dd = 1e3;
4109
+ const fd = 1e3;
4110
4110
  function Yi(t) {
4111
4111
  let { keyboardDelegate: e, selectionManager: n, onTypeSelect: r } = t, l = I({
4112
4112
  search: "",
4113
4113
  timeout: null
4114
4114
  }).current, i = (o) => {
4115
- let u = fd(o.key);
4115
+ let u = pd(o.key);
4116
4116
  if (!u || o.ctrlKey || o.metaKey || !o.currentTarget.contains(o.target))
4117
4117
  return;
4118
4118
  u === " " && l.search.trim().length > 0 && (o.preventDefault(), "continuePropagation" in o || o.stopPropagation()), l.search += u;
4119
4119
  let a = e.getKeyForSearch(l.search, n.focusedKey);
4120
4120
  a == null && (a = e.getKeyForSearch(l.search)), a != null && (n.setFocusedKey(a), r && r(a)), clearTimeout(l.timeout), l.timeout = setTimeout(() => {
4121
4121
  l.search = "";
4122
- }, dd);
4122
+ }, fd);
4123
4123
  };
4124
4124
  return {
4125
4125
  typeSelectProps: {
@@ -4129,7 +4129,7 @@ function Yi(t) {
4129
4129
  }
4130
4130
  };
4131
4131
  }
4132
- function fd(t) {
4132
+ function pd(t) {
4133
4133
  return t.length === 1 || !/^[A-Z]/i.test(t) ? t : "";
4134
4134
  }
4135
4135
  function qi(t) {
@@ -4139,7 +4139,7 @@ function qi(t) {
4139
4139
  const C = (z, he) => {
4140
4140
  if (z != null) {
4141
4141
  if (e.isLink(z) && g === "selection" && a && !Zn(m)) {
4142
- Wa(() => {
4142
+ Ga(() => {
4143
4143
  e.setFocusedKey(z, he);
4144
4144
  });
4145
4145
  let we = f.current.querySelector(`[data-key="${CSS.escape(z.toString())}"]`), st = e.getItemProps(z);
@@ -4573,7 +4573,7 @@ class Xi {
4573
4573
  this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
4574
4574
  }
4575
4575
  }
4576
- function pd(t) {
4576
+ function vd(t) {
4577
4577
  let { selectionManager: e, collection: n, disabledKeys: r, ref: l, keyboardDelegate: i, layoutDelegate: o } = t, u = cn({
4578
4578
  usage: "search",
4579
4579
  sensitivity: "base"
@@ -4602,12 +4602,12 @@ function pd(t) {
4602
4602
  listProps: c
4603
4603
  };
4604
4604
  }
4605
- function vd(t, e, n) {
4605
+ function hd(t, e, n) {
4606
4606
  let r = De(t, {
4607
4607
  labelable: !0
4608
4608
  }), l = t.selectionBehavior || "toggle", i = t.linkBehavior || (l === "replace" ? "action" : "override");
4609
4609
  l === "toggle" && i === "action" && (i = "override");
4610
- let { listProps: o } = pd({
4610
+ let { listProps: o } = vd({
4611
4611
  ...t,
4612
4612
  ref: n,
4613
4613
  selectionManager: e.selectionManager,
@@ -4656,7 +4656,7 @@ Zi.getCollectionNode = function* (e, n) {
4656
4656
  rendered: o,
4657
4657
  textValue: u,
4658
4658
  "aria-label": e["aria-label"],
4659
- hasChildNodes: hd(e),
4659
+ hasChildNodes: gd(e),
4660
4660
  *childNodes() {
4661
4661
  if (r)
4662
4662
  for (let a of r)
@@ -4676,10 +4676,10 @@ Zi.getCollectionNode = function* (e, n) {
4676
4676
  }
4677
4677
  };
4678
4678
  };
4679
- function hd(t) {
4679
+ function gd(t) {
4680
4680
  return t.hasChildItems != null ? t.hasChildItems : !!(t.childItems || t.title && M.Children.count(t.children) > 0);
4681
4681
  }
4682
- let gd = Zi;
4682
+ let bd = Zi;
4683
4683
  function Ji(t) {
4684
4684
  return null;
4685
4685
  }
@@ -4714,7 +4714,7 @@ Ji.getCollectionNode = function* (e) {
4714
4714
  };
4715
4715
  };
4716
4716
  let s4 = Ji;
4717
- class bd {
4717
+ class md {
4718
4718
  build(e, n) {
4719
4719
  return this.context = n, vl(() => this.iterateCollection(e));
4720
4720
  }
@@ -4792,7 +4792,7 @@ class bd {
4792
4792
  ...v,
4793
4793
  key: f,
4794
4794
  index: c,
4795
- wrapper: md(e.wrapper, v.wrapper)
4795
+ wrapper: $d(e.wrapper, v.wrapper)
4796
4796
  }, this.getChildState(n, v), r ? `${r}${i.key}` : i.key, l)
4797
4797
  ];
4798
4798
  for (let $ of x) {
@@ -4850,7 +4850,7 @@ function vl(t) {
4850
4850
  }
4851
4851
  };
4852
4852
  }
4853
- function md(t, e) {
4853
+ function $d(t, e) {
4854
4854
  if (t && e)
4855
4855
  return (n) => t(e(n));
4856
4856
  if (t)
@@ -4862,7 +4862,7 @@ function Fn(t) {
4862
4862
  return t[0].toUpperCase() + t.slice(1);
4863
4863
  }
4864
4864
  function Qi(t, e, n) {
4865
- let r = _(() => new bd(), []), { children: l, items: i, collection: o } = t;
4865
+ let r = _(() => new md(), []), { children: l, items: i, collection: o } = t;
4866
4866
  return _(() => {
4867
4867
  if (o)
4868
4868
  return o;
@@ -4921,7 +4921,7 @@ function hl(t, e) {
4921
4921
  return n;
4922
4922
  }
4923
4923
  const gl = /* @__PURE__ */ new WeakMap();
4924
- function $d(t) {
4924
+ function yd(t) {
4925
4925
  let e = gl.get(t);
4926
4926
  if (e != null)
4927
4927
  return e;
@@ -4932,7 +4932,7 @@ function $d(t) {
4932
4932
  };
4933
4933
  return n(t), gl.set(t, e), e;
4934
4934
  }
4935
- function yd(t, e, n) {
4935
+ function xd(t, e, n) {
4936
4936
  var r, l;
4937
4937
  let { key: i } = t, o = fr.get(e);
4938
4938
  var u;
@@ -4955,7 +4955,7 @@ function yd(t, e, n) {
4955
4955
  let T = e.collection.getItem(i);
4956
4956
  if (E) {
4957
4957
  let X = Number(T == null ? void 0 : T.index);
4958
- S["aria-posinset"] = Number.isNaN(X) ? void 0 : X + 1, S["aria-setsize"] = $d(e.collection);
4958
+ S["aria-posinset"] = Number.isNaN(X) ? void 0 : X + 1, S["aria-setsize"] = yd(e.collection);
4959
4959
  }
4960
4960
  let N = o != null && o.onAction ? () => {
4961
4961
  var X;
@@ -4978,12 +4978,12 @@ function yd(t, e, n) {
4978
4978
  }
4979
4979
  }), y = De(T == null ? void 0 : T.props);
4980
4980
  delete y.id;
4981
- let R = ws(T == null ? void 0 : T.props);
4981
+ let R = Cs(T == null ? void 0 : T.props);
4982
4982
  return {
4983
4983
  optionProps: {
4984
4984
  ...S,
4985
4985
  ...j(y, h, b, R),
4986
- id: cd(e, i)
4986
+ id: dd(e, i)
4987
4987
  },
4988
4988
  labelProps: {
4989
4989
  id: D
@@ -5173,10 +5173,10 @@ Mo = {
5173
5173
  "zh-CN": Io,
5174
5174
  "zh-TW": Fo
5175
5175
  };
5176
- function xd(t) {
5176
+ function Ed(t) {
5177
5177
  return t && t.__esModule ? t.default : t;
5178
5178
  }
5179
- function Ed(t, e, n) {
5179
+ function Dd(t, e, n) {
5180
5180
  let { type: r = "menu", isDisabled: l, trigger: i = "press" } = t, o = $e(), { triggerProps: u, overlayProps: a } = ci({
5181
5181
  type: r
5182
5182
  }, e, n), s = (f) => {
@@ -5195,7 +5195,7 @@ function Ed(t, e, n) {
5195
5195
  default:
5196
5196
  "continuePropagation" in f && f.continuePropagation();
5197
5197
  }
5198
- }, c = at(xd(Mo), "@react-aria/menu"), { longPressProps: d } = Gl({
5198
+ }, c = at(Ed(Mo), "@react-aria/menu"), { longPressProps: d } = Gl({
5199
5199
  isDisabled: l || i !== "longPress",
5200
5200
  accessibilityDescription: c.format("longPressMessage"),
5201
5201
  onLongPressStart() {
@@ -5227,7 +5227,7 @@ function Ed(t, e, n) {
5227
5227
  }
5228
5228
  };
5229
5229
  }
5230
- function Dd(t, e) {
5230
+ function wd(t, e) {
5231
5231
  let { role: n = "dialog" } = t, r = xt();
5232
5232
  r = t["aria-label"] ? void 0 : r;
5233
5233
  let l = I(!1);
@@ -5243,7 +5243,7 @@ function Dd(t, e) {
5243
5243
  }
5244
5244
  }, [
5245
5245
  e
5246
- ]), ad(), {
5246
+ ]), sd(), {
5247
5247
  dialogProps: {
5248
5248
  ...De(t, {
5249
5249
  labelable: !0
@@ -5412,10 +5412,10 @@ class Lo {
5412
5412
  return null;
5413
5413
  }
5414
5414
  constructor(e) {
5415
- this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, this.layoutDelegate = e.layoutDelegate || (e.layout ? new wd(e.layout) : new Jn(e.ref)), this.focusMode = e.focusMode || "row";
5415
+ this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, this.layoutDelegate = e.layoutDelegate || (e.layout ? new Cd(e.layout) : new Jn(e.ref)), this.focusMode = e.focusMode || "row";
5416
5416
  }
5417
5417
  }
5418
- class wd {
5418
+ class Cd {
5419
5419
  getContentSize() {
5420
5420
  return this.layout.getContentSize();
5421
5421
  }
@@ -5910,14 +5910,14 @@ hr = {
5910
5910
  "zh-CN": hu,
5911
5911
  "zh-TW": gu
5912
5912
  };
5913
- function Cd(t) {
5913
+ function Pd(t) {
5914
5914
  return t && t.__esModule ? t.default : t;
5915
5915
  }
5916
- function Pd(t, e) {
5916
+ function Sd(t, e) {
5917
5917
  let { getRowText: n = (o) => {
5918
5918
  var u, a, s, c;
5919
5919
  return (c = (u = (a = e.collection).getTextValue) === null || u === void 0 ? void 0 : u.call(a, o)) !== null && c !== void 0 ? c : (s = e.collection.getItem(o)) === null || s === void 0 ? void 0 : s.textValue;
5920
- } } = t, r = at(Cd(hr), "@react-aria/grid"), l = e.selectionManager.rawSelection, i = I(l);
5920
+ } } = t, r = at(Pd(hr), "@react-aria/grid"), l = e.selectionManager.rawSelection, i = I(l);
5921
5921
  Fl(() => {
5922
5922
  var o;
5923
5923
  if (!e.selectionManager.isFocused) {
@@ -5958,11 +5958,11 @@ function bl(t, e) {
5958
5958
  e.has(r) || n.add(r);
5959
5959
  return n;
5960
5960
  }
5961
- function Sd(t) {
5961
+ function Td(t) {
5962
5962
  return t && t.__esModule ? t.default : t;
5963
5963
  }
5964
- function Td(t) {
5965
- let e = at(Sd(hr), "@react-aria/grid"), n = Wl(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window, l = _(() => {
5964
+ function Bd(t) {
5965
+ let e = at(Td(hr), "@react-aria/grid"), n = Wl(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window, l = _(() => {
5966
5966
  let o = t.selectionManager.selectionMode, u = t.selectionManager.selectionBehavior, a;
5967
5967
  return r && (a = e.format("longPressToSelect")), u === "replace" && o !== "none" && t.hasItemActions ? a : void 0;
5968
5968
  }, [
@@ -5974,7 +5974,7 @@ function Td(t) {
5974
5974
  ]);
5975
5975
  return ln(l);
5976
5976
  }
5977
- function Bd(t, e, n) {
5977
+ function Ad(t, e, n) {
5978
5978
  let { isVirtualized: r, keyboardDelegate: l, focusMode: i, scrollRef: o, getRowText: u, onRowAction: a, onCellAction: s } = t, { selectionManager: c } = e;
5979
5979
  !t["aria-label"] && !t["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
5980
5980
  let d = cn({
@@ -6011,7 +6011,7 @@ function Bd(t, e, n) {
6011
6011
  onCellAction: s
6012
6012
  }
6013
6013
  });
6014
- let B = Td({
6014
+ let B = Bd({
6015
6015
  selectionManager: c,
6016
6016
  hasItemActions: !!(a || s)
6017
6017
  }), E = De(t, {
@@ -6030,7 +6030,7 @@ function Bd(t, e, n) {
6030
6030
  }), [
6031
6031
  D,
6032
6032
  x.onBlur
6033
- ]), S = fc(n, {
6033
+ ]), S = pc(n, {
6034
6034
  isDisabled: e.collection.size !== 0
6035
6035
  }), T = j(
6036
6036
  E,
@@ -6046,20 +6046,20 @@ function Bd(t, e, n) {
6046
6046
  },
6047
6047
  B
6048
6048
  );
6049
- return r && (T["aria-rowcount"] = e.collection.size, T["aria-colcount"] = e.collection.columnCount), Pd({
6049
+ return r && (T["aria-rowcount"] = e.collection.size, T["aria-colcount"] = e.collection.columnCount), Sd({
6050
6050
  getRowText: u
6051
6051
  }, e), {
6052
6052
  gridProps: T
6053
6053
  };
6054
6054
  }
6055
- function Ad() {
6055
+ function kd() {
6056
6056
  return {
6057
6057
  rowGroupProps: {
6058
6058
  role: "rowgroup"
6059
6059
  }
6060
6060
  };
6061
6061
  }
6062
- function kd(t, e, n) {
6062
+ function Kd(t, e, n) {
6063
6063
  var r, l;
6064
6064
  let { node: i, isVirtualized: o, shouldSelectOnPressUp: u, onAction: a } = t, { actions: s } = vr.get(e), c = s.onRowAction ? () => s.onRowAction(i.key) : a, { itemProps: d, ...v } = pr({
6065
6065
  selectionManager: e.selectionManager,
@@ -6182,7 +6182,7 @@ function Ln(t) {
6182
6182
  return e;
6183
6183
  }
6184
6184
  const mu = /* @__PURE__ */ new WeakMap();
6185
- function Kd(t, e, n) {
6185
+ function Id(t, e, n) {
6186
6186
  let { value: r, children: l, "aria-label": i, "aria-labelledby": o } = t;
6187
6187
  const u = t.isDisabled || e.isDisabled;
6188
6188
  let a = l != null, s = i != null || o != null;
@@ -6230,7 +6230,7 @@ function Kd(t, e, n) {
6230
6230
  isPressed: f || x
6231
6231
  };
6232
6232
  }
6233
- function Id(t, e) {
6233
+ function Fd(t, e) {
6234
6234
  let { name: n, isReadOnly: r, isRequired: l, isDisabled: i, orientation: o = "vertical", validationBehavior: u = "aria" } = t, { direction: a } = Fe(), { isInvalid: s, validationErrors: c, validationDetails: d } = e.displayValidation, { labelProps: v, fieldProps: f, descriptionProps: g, errorMessageProps: x } = oi({
6235
6235
  ...t,
6236
6236
  // Radio group is not an HTML input element so it
@@ -6299,7 +6299,7 @@ function Id(t, e) {
6299
6299
  };
6300
6300
  }
6301
6301
  const $u = /* @__PURE__ */ new WeakMap();
6302
- function Fd(t, e, n) {
6302
+ function Md(t, e, n) {
6303
6303
  let { keyboardDelegate: r, isDisabled: l, isRequired: i, name: o, validationBehavior: u = "aria" } = t, a = cn({
6304
6304
  usage: "search",
6305
6305
  sensitivity: "base"
@@ -6308,7 +6308,7 @@ function Fd(t, e, n) {
6308
6308
  e.collection,
6309
6309
  e.disabledKeys,
6310
6310
  a
6311
- ]), { menuTriggerProps: c, menuProps: d } = Ed({
6311
+ ]), { menuTriggerProps: c, menuProps: d } = Dd({
6312
6312
  isDisabled: l,
6313
6313
  type: "listbox"
6314
6314
  }, e, n), v = (h) => {
@@ -6396,7 +6396,7 @@ function Fd(t, e, n) {
6396
6396
  validationDetails: $
6397
6397
  };
6398
6398
  }
6399
- function Md(t, e, n) {
6399
+ function Ld(t, e, n) {
6400
6400
  let r = $u.get(e) || {}, { autoComplete: l, name: i = r.name, isDisabled: o = r.isDisabled } = t, { validationBehavior: u, isRequired: a } = r, s = Wl(), { visuallyHiddenProps: c } = Wi();
6401
6401
  or(t.selectRef, e.selectedKey, e.setSelectedKey), ti({
6402
6402
  validationBehavior: u,
@@ -6432,8 +6432,8 @@ function Md(t, e, n) {
6432
6432
  }
6433
6433
  };
6434
6434
  }
6435
- function Ld(t) {
6436
- let { state: e, triggerRef: n, label: r, name: l, isDisabled: i } = t, o = I(null), { containerProps: u, inputProps: a, selectProps: s } = Md({
6435
+ function Nd(t) {
6436
+ let { state: e, triggerRef: n, label: r, name: l, isDisabled: i } = t, o = I(null), { containerProps: u, inputProps: a, selectProps: s } = Ld({
6437
6437
  ...t,
6438
6438
  selectRef: o
6439
6439
  }, e, n);
@@ -6461,8 +6461,8 @@ function Ld(t) {
6461
6461
  value: (c = e.selectedKey) !== null && c !== void 0 ? c : ""
6462
6462
  }) : null;
6463
6463
  }
6464
- function Nd(t, e, n) {
6465
- let { labelProps: r, inputProps: l, isSelected: i, isPressed: o, isDisabled: u, isReadOnly: a } = Ic(t, e, n);
6464
+ function Rd(t, e, n) {
6465
+ let { labelProps: r, inputProps: l, isSelected: i, isPressed: o, isDisabled: u, isReadOnly: a } = Fc(t, e, n);
6466
6466
  return {
6467
6467
  labelProps: r,
6468
6468
  inputProps: {
@@ -6480,7 +6480,7 @@ const gr = /* @__PURE__ */ new WeakMap();
6480
6480
  function Qn(t) {
6481
6481
  return typeof t == "string" ? t.replace(/\s*/g, "") : "" + t;
6482
6482
  }
6483
- function Rd(t, e) {
6483
+ function zd(t, e) {
6484
6484
  let n = gr.get(t);
6485
6485
  if (!n)
6486
6486
  throw new Error("Unknown grid");
@@ -6492,7 +6492,7 @@ function yu(t, e, n) {
6492
6492
  throw new Error("Unknown grid");
6493
6493
  return `${r}-${Qn(e)}-${Qn(n)}`;
6494
6494
  }
6495
- function zd(t, e) {
6495
+ function Od(t, e) {
6496
6496
  return [
6497
6497
  ...t.collection.rowHeaderColumnKeys
6498
6498
  ].map((n) => yu(t, e, n)).join(" ");
@@ -6942,7 +6942,7 @@ br = {
6942
6942
  "zh-CN": Qu,
6943
6943
  "zh-TW": ea
6944
6944
  };
6945
- class Od extends Lo {
6945
+ class _d extends Lo {
6946
6946
  isCell(e) {
6947
6947
  return e.type === "cell" || e.type === "rowheader" || e.type === "column";
6948
6948
  }
@@ -7029,18 +7029,18 @@ class Od extends Lo {
7029
7029
  return null;
7030
7030
  }
7031
7031
  }
7032
- let _d = !1;
7032
+ let jd = !1;
7033
7033
  function Qt() {
7034
- return _d;
7034
+ return jd;
7035
7035
  }
7036
- function jd(t) {
7036
+ function Vd(t) {
7037
7037
  return t && t.__esModule ? t.default : t;
7038
7038
  }
7039
- function Vd(t, e, n) {
7039
+ function Hd(t, e, n) {
7040
7040
  let { keyboardDelegate: r, isVirtualized: l, layoutDelegate: i, layout: o } = t, u = cn({
7041
7041
  usage: "search",
7042
7042
  sensitivity: "base"
7043
- }), { direction: a } = Fe(), s = e.selectionManager.disabledBehavior, c = _(() => r || new Od({
7043
+ }), { direction: a } = Fe(), s = e.selectionManager.disabledBehavior, c = _(() => r || new _d({
7044
7044
  collection: e.collection,
7045
7045
  disabledKeys: e.disabledKeys,
7046
7046
  disabledBehavior: s,
@@ -7061,13 +7061,13 @@ function Vd(t, e, n) {
7061
7061
  o
7062
7062
  ]), d = $e(t.id);
7063
7063
  gr.set(e, d);
7064
- let { gridProps: v } = Bd({
7064
+ let { gridProps: v } = Ad({
7065
7065
  ...t,
7066
7066
  id: d,
7067
7067
  keyboardDelegate: c
7068
7068
  }, e, n);
7069
7069
  l && (v["aria-rowcount"] = e.collection.size + e.collection.headerRows.length), Qt() && "expandedKeys" in e && (v.role = "treegrid");
7070
- let { column: f, direction: g } = e.sortDescriptor || {}, x = at(jd(br), "@react-aria/table"), $ = _(() => {
7070
+ let { column: f, direction: g } = e.sortDescriptor || {}, x = at(Vd(br), "@react-aria/table"), $ = _(() => {
7071
7071
  var E;
7072
7072
  let D = (E = e.collection.columns.find((A) => A.key === f)) === null || E === void 0 ? void 0 : E.textValue;
7073
7073
  return g && f ? x.format(`${g}Sort`, {
@@ -7092,10 +7092,10 @@ function Vd(t, e, n) {
7092
7092
  })
7093
7093
  };
7094
7094
  }
7095
- function Hd(t) {
7095
+ function Ud(t) {
7096
7096
  return t && t.__esModule ? t.default : t;
7097
7097
  }
7098
- function Ud(t, e, n) {
7098
+ function Wd(t, e, n) {
7099
7099
  var r, l;
7100
7100
  let { node: i } = t, o = i.props.allowsSorting, { gridCellProps: u } = bu({
7101
7101
  ...t,
@@ -7108,7 +7108,7 @@ function Ud(t, e, n) {
7108
7108
  ref: n
7109
7109
  }), { focusableProps: c } = St({}, n), d = null, v = ((r = e.sortDescriptor) === null || r === void 0 ? void 0 : r.column) === i.key, f = (l = e.sortDescriptor) === null || l === void 0 ? void 0 : l.direction;
7110
7110
  i.props.allowsSorting && !Ut() && (d = v ? f : "none");
7111
- let g = at(Hd(br), "@react-aria/table"), x;
7111
+ let g = at(Ud(br), "@react-aria/table"), x;
7112
7112
  o && (x = `${g.format("sortable")}`, v && f && Ut() && (x = `${x}, ${g.format(f)}`));
7113
7113
  let $ = ln(x), B = e.collection.size === 0;
7114
7114
  return V(() => {
@@ -7130,7 +7130,7 @@ function Ud(t, e, n) {
7130
7130
  }
7131
7131
  ),
7132
7132
  role: "columnheader",
7133
- id: Rd(e, i.key),
7133
+ id: zd(e, i.key),
7134
7134
  "aria-colspan": i.colspan && i.colspan > 1 ? i.colspan : null,
7135
7135
  "aria-sort": d
7136
7136
  }
@@ -7146,8 +7146,8 @@ const ml = {
7146
7146
  rtl: "ArrowRight"
7147
7147
  }
7148
7148
  };
7149
- function Wd(t, e, n) {
7150
- let { node: r, isVirtualized: l } = t, { rowProps: i, ...o } = kd(t, e, n), { direction: u } = Fe();
7149
+ function Gd(t, e, n) {
7150
+ let { node: r, isVirtualized: l } = t, { rowProps: i, ...o } = Kd(t, e, n), { direction: u } = Fe();
7151
7151
  l && !(Qt() && "expandedKeys" in e) ? i["aria-rowindex"] = r.index + 1 + e.collection.headerRows.length : delete i["aria-rowindex"];
7152
7152
  let a = {};
7153
7153
  if (Qt() && "expandedKeys" in e) {
@@ -7166,16 +7166,16 @@ function Wd(t, e, n) {
7166
7166
  };
7167
7167
  }
7168
7168
  }
7169
- let v = Ds(r.props), f = o.hasAction ? v : {};
7169
+ let v = ws(r.props), f = o.hasAction ? v : {};
7170
7170
  return {
7171
7171
  rowProps: {
7172
7172
  ...j(i, a, f),
7173
- "aria-labelledby": zd(e, r.key)
7173
+ "aria-labelledby": Od(e, r.key)
7174
7174
  },
7175
7175
  ...o
7176
7176
  };
7177
7177
  }
7178
- function Gd(t, e, n) {
7178
+ function Yd(t, e, n) {
7179
7179
  let { node: r, isVirtualized: l } = t, i = {
7180
7180
  role: "row"
7181
7181
  };
@@ -7183,17 +7183,17 @@ function Gd(t, e, n) {
7183
7183
  rowProps: i
7184
7184
  };
7185
7185
  }
7186
- function Yd(t, e, n) {
7186
+ function qd(t, e, n) {
7187
7187
  let { gridCellProps: r, isPressed: l } = bu(t, e, n), i = t.node.column.key;
7188
7188
  return e.collection.rowHeaderColumnKeys.has(i) && (r.role = "rowheader", r.id = yu(e, t.node.parentKey, i)), {
7189
7189
  gridCellProps: r,
7190
7190
  isPressed: l
7191
7191
  };
7192
7192
  }
7193
- function qd() {
7194
- return Ad();
7193
+ function Xd() {
7194
+ return kd();
7195
7195
  }
7196
- function Xd(t, e) {
7196
+ function Zd(t, e) {
7197
7197
  let n = De(t, {
7198
7198
  labelable: !0
7199
7199
  }), { hoverProps: r } = un({
@@ -7206,7 +7206,7 @@ function Xd(t, e) {
7206
7206
  })
7207
7207
  };
7208
7208
  }
7209
- function Zd(t, e, n) {
7209
+ function Jd(t, e, n) {
7210
7210
  let { isDisabled: r, trigger: l } = t, i = $e(), o = I(!1), u = I(!1), a = () => {
7211
7211
  (o.current || u.current) && e.open(u.current);
7212
7212
  }, s = (B) => {
@@ -7256,18 +7256,18 @@ function Zd(t, e, n) {
7256
7256
  }
7257
7257
  };
7258
7258
  }
7259
- const Jd = (t) => typeof t == "string" || t instanceof String;
7259
+ const Qd = (t) => typeof t == "string" || t instanceof String;
7260
7260
  function ee(...t) {
7261
- return t.filter(Jd).join(" ");
7261
+ return t.filter(Qd).join(" ");
7262
7262
  }
7263
- const Qd = (t) => {
7263
+ const ef = (t) => {
7264
7264
  if (/^https?:\/\//.test(t)) {
7265
7265
  const e = document.createElement("a");
7266
7266
  return e.href = t, e.hostname;
7267
7267
  }
7268
7268
  return window.location.hostname;
7269
- }, ef = (t) => {
7270
- const e = window.location.hostname, n = Qd(t);
7269
+ }, ta = (t) => {
7270
+ const e = window.location.hostname, n = ef(t);
7271
7271
  return e !== n;
7272
7272
  }, tf = (t, e) => {
7273
7273
  if (t.metaKey || t.altKey || t.ctrlKey || t.shiftKey || t.button && t.button !== 0)
@@ -7299,7 +7299,7 @@ function nf({ variant: t = "primary", ...e }) {
7299
7299
  "data-testid": e["data-testid"],
7300
7300
  children: [
7301
7301
  u,
7302
- e.href && e.external && /* @__PURE__ */ P.jsx("svg", { viewBox: "0 0 512 512", width: "0.8em", height: "0.8em", children: /* @__PURE__ */ P.jsx(
7302
+ e.href && ta(e.href) && /* @__PURE__ */ P.jsx("svg", { viewBox: "0 0 512 512", width: "0.8em", height: "0.8em", children: /* @__PURE__ */ P.jsx(
7303
7303
  "path",
7304
7304
  {
7305
7305
  d: "M384 224v184a40 40 0 01-40 40H104a40 40 0 01-40-40V168a40 40 0 0140-40h167.48M336 64h112v112M224 288L440 72",
@@ -7379,7 +7379,7 @@ function rf(t, e) {
7379
7379
  return !1;
7380
7380
  return !0;
7381
7381
  }
7382
- function ta(t) {
7382
+ function na(t) {
7383
7383
  let { selectionMode: e = "none", disallowEmptySelection: n, allowDuplicateSelectionEvents: r, selectionBehavior: l = "toggle", disabledBehavior: i = "all" } = t, o = I(!1), [, u] = W(!1), a = I(null), s = I(null), [, c] = W(null), d = _(() => yl(t.selectedKeys), [
7384
7384
  t.selectedKeys
7385
7385
  ]), v = _(() => yl(t.defaultSelectedKeys, new ye()), [
@@ -7424,7 +7424,7 @@ function ta(t) {
7424
7424
  function yl(t, e) {
7425
7425
  return t ? t === "all" ? "all" : new ye(t) : e;
7426
7426
  }
7427
- class na {
7427
+ class ra {
7428
7428
  /**
7429
7429
  * The type of selection that is allowed in the collection.
7430
7430
  */
@@ -7699,7 +7699,7 @@ class na {
7699
7699
  }
7700
7700
  }
7701
7701
  function lf(t) {
7702
- let { filter: e } = t, n = ta(t), r = _(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
7702
+ let { filter: e } = t, n = na(t), r = _(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
7703
7703
  t.disabledKeys
7704
7704
  ]), l = Q((s) => e ? new $l(e(s)) : new $l(s), [
7705
7705
  e
@@ -7707,7 +7707,7 @@ function lf(t) {
7707
7707
  suppressTextValueWarning: t.suppressTextValueWarning
7708
7708
  }), [
7709
7709
  t.suppressTextValueWarning
7710
- ]), o = Qi(t, l, i), u = _(() => new na(o, n), [
7710
+ ]), o = Qi(t, l, i), u = _(() => new ra(o, n), [
7711
7711
  o,
7712
7712
  n
7713
7713
  ]);
@@ -7850,7 +7850,7 @@ function cf(t) {
7850
7850
  };
7851
7851
  }
7852
7852
  function df(t) {
7853
- let { collection: e, focusMode: n } = t, r = t.UNSAFE_selectionState || ta(t), l = _(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
7853
+ let { collection: e, focusMode: n } = t, r = t.UNSAFE_selectionState || na(t), l = _(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
7854
7854
  t.disabledKeys
7855
7855
  ]), i = r.setFocusedKey;
7856
7856
  r.setFocusedKey = (a, s) => {
@@ -7864,7 +7864,7 @@ function df(t) {
7864
7864
  }
7865
7865
  i(a, s);
7866
7866
  };
7867
- let o = _(() => new na(e, r), [
7867
+ let o = _(() => new ra(e, r), [
7868
7868
  e,
7869
7869
  r
7870
7870
  ]);
@@ -7983,9 +7983,9 @@ class ff {
7983
7983
  }), l && (l.nextKey = null);
7984
7984
  }
7985
7985
  }
7986
- const ra = "row-header-column-" + Math.random().toString(36).slice(2);
7986
+ const la = "row-header-column-" + Math.random().toString(36).slice(2);
7987
7987
  let er = "row-header-column-" + Math.random().toString(36).slice(2);
7988
- for (; ra === er; )
7988
+ for (; la === er; )
7989
7989
  er = "row-header-column-" + Math.random().toString(36).slice(2);
7990
7990
  function pf(t, e) {
7991
7991
  if (e.length === 0)
@@ -8138,7 +8138,7 @@ class vf extends ff {
8138
8138
  if (r != null && r.showSelectionCheckboxes) {
8139
8139
  let d = {
8140
8140
  type: "column",
8141
- key: ra,
8141
+ key: la,
8142
8142
  value: null,
8143
8143
  textValue: "",
8144
8144
  level: 0,
@@ -8238,10 +8238,10 @@ function gf(t) {
8238
8238
  }
8239
8239
  };
8240
8240
  }
8241
- function la(t) {
8241
+ function ia(t) {
8242
8242
  return null;
8243
8243
  }
8244
- la.getCollectionNode = function* (e, n) {
8244
+ ia.getCollectionNode = function* (e, n) {
8245
8245
  let { children: r, columns: l } = e;
8246
8246
  if (n.columns = [], typeof r == "function") {
8247
8247
  if (!l)
@@ -8262,11 +8262,11 @@ la.getCollectionNode = function* (e, n) {
8262
8262
  }), yield* i;
8263
8263
  }
8264
8264
  };
8265
- let c4 = la;
8266
- function ia(t) {
8265
+ let c4 = ia;
8266
+ function oa(t) {
8267
8267
  return null;
8268
8268
  }
8269
- ia.getCollectionNode = function* (e) {
8269
+ oa.getCollectionNode = function* (e) {
8270
8270
  let { children: n, items: r } = e;
8271
8271
  yield {
8272
8272
  type: "body",
@@ -8294,11 +8294,11 @@ ia.getCollectionNode = function* (e) {
8294
8294
  }
8295
8295
  };
8296
8296
  };
8297
- let d4 = ia;
8298
- function oa(t) {
8297
+ let d4 = oa;
8298
+ function ua(t) {
8299
8299
  return null;
8300
8300
  }
8301
- oa.getCollectionNode = function* (e, n) {
8301
+ ua.getCollectionNode = function* (e, n) {
8302
8302
  let { title: r, children: l, childColumns: i } = e, o = r || l, u = e.textValue || (typeof o == "string" ? o : "") || e["aria-label"], a = yield {
8303
8303
  type: "column",
8304
8304
  hasChildNodes: !!i || r && M.Children.count(l) > 0,
@@ -8331,7 +8331,7 @@ oa.getCollectionNode = function* (e, n) {
8331
8331
  };
8332
8332
  s(n);
8333
8333
  };
8334
- let bf = oa;
8334
+ let bf = ua;
8335
8335
  function tr(t) {
8336
8336
  return null;
8337
8337
  }
@@ -8396,10 +8396,10 @@ tr.getCollectionNode = function* (e, n) {
8396
8396
  };
8397
8397
  };
8398
8398
  let f4 = tr;
8399
- function ua(t) {
8399
+ function aa(t) {
8400
8400
  return null;
8401
8401
  }
8402
- ua.getCollectionNode = function* (e) {
8402
+ aa.getCollectionNode = function* (e) {
8403
8403
  let { children: n } = e, r = e.textValue || (typeof n == "string" ? n : "") || e["aria-label"] || "";
8404
8404
  yield {
8405
8405
  type: "cell",
@@ -8410,10 +8410,10 @@ ua.getCollectionNode = function* (e) {
8410
8410
  hasChildNodes: !1
8411
8411
  };
8412
8412
  };
8413
- let mf = ua;
8413
+ let mf = aa;
8414
8414
  const $f = 1500, xl = 500;
8415
8415
  let We = {}, yf = 0, bt = !1, Te = null, Ge = null;
8416
- function aa(t = {}) {
8416
+ function sa(t = {}) {
8417
8417
  let { delay: e = $f, closeDelay: n = xl } = t, { isOpen: r, open: l, close: i } = mr(t), o = _(() => `${++yf}`, []), u = I(void 0), a = I(i), s = () => {
8418
8418
  We[o] = v;
8419
8419
  }, c = () => {
@@ -8448,12 +8448,12 @@ function aa(t = {}) {
8448
8448
  close: v
8449
8449
  };
8450
8450
  }
8451
- let sa = Ee(null);
8451
+ let ca = Ee(null);
8452
8452
  function xf(t) {
8453
8453
  let e = {
8454
8454
  ...t,
8455
8455
  "data-testid": void 0
8456
- }, n = sf(e), { radioGroupProps: r } = Id(e, n);
8456
+ }, n = sf(e), { radioGroupProps: r } = Fd(e, n);
8457
8457
  return /* @__PURE__ */ P.jsx(
8458
8458
  "div",
8459
8459
  {
@@ -8461,7 +8461,7 @@ function xf(t) {
8461
8461
  className: "proton-ButtonGroup",
8462
8462
  "data-value": n.selectedValue,
8463
8463
  "data-testid": t["data-testid"] || void 0,
8464
- children: /* @__PURE__ */ P.jsx(sa.Provider, { value: n, children: t.children })
8464
+ children: /* @__PURE__ */ P.jsx(ca.Provider, { value: n, children: t.children })
8465
8465
  }
8466
8466
  );
8467
8467
  }
@@ -8469,7 +8469,7 @@ xf.Option = function(e) {
8469
8469
  let n = {
8470
8470
  ...e,
8471
8471
  "data-testid": void 0
8472
- }, r = te(sa), l = I(null), { inputProps: i, isSelected: o } = Kd(n, r, l);
8472
+ }, r = te(ca), l = I(null), { inputProps: i, isSelected: o } = Id(n, r, l);
8473
8473
  return /* @__PURE__ */ P.jsxs(
8474
8474
  "label",
8475
8475
  {
@@ -8510,7 +8510,7 @@ function p4(t) {
8510
8510
  ] }) : null;
8511
8511
  }
8512
8512
  function v4({ title: t, children: e, ...n }) {
8513
- let r = I(null), { dialogProps: l, titleProps: i } = Dd(n, r);
8513
+ let r = I(null), { dialogProps: l, titleProps: i } = wd(n, r);
8514
8514
  return /* @__PURE__ */ P.jsxs("div", { ...l, ref: r, className: ee("proton-Dialog"), children: [
8515
8515
  t && /* @__PURE__ */ P.jsx("h3", { ...i, className: "proton-Dialog__header", children: t }),
8516
8516
  e
@@ -8546,9 +8546,9 @@ const h4 = {
8546
8546
  MEDIUM: "#15803d",
8547
8547
  LIGHT: "#4ade80",
8548
8548
  SUPER_LIGHT: "#f0fdf4"
8549
- }, Dl = (t, e) => e === void 0 ? `rgb(${t[0]}, ${t[1]}, ${t[2]})` : `rgba(${t[0]}, ${t[1]}, ${t[2]}, ${e})`, ca = (t, e) => t.map((n) => Math.max(0, n - n * e)), da = [83, 82, 83], wl = 0.98, fa = 0.394, wf = (t) => t ? ca(t, fa) : da, Cf = (t) => {
8549
+ }, Dl = (t, e) => e === void 0 ? `rgb(${t[0]}, ${t[1]}, ${t[2]})` : `rgba(${t[0]}, ${t[1]}, ${t[2]}, ${e})`, da = (t, e) => t.map((n) => Math.max(0, n - n * e)), fa = [83, 82, 83], wl = 0.98, pa = 0.394, wf = (t) => t ? da(t, pa) : fa, Cf = (t) => {
8550
8550
  const e = Dl(
8551
- t ? ca(t, fa) : da,
8551
+ t ? da(t, pa) : fa,
8552
8552
  wl
8553
8553
  );
8554
8554
  return {
@@ -8569,8 +8569,8 @@ const h4 = {
8569
8569
  }, Pf = {
8570
8570
  [en.DARK]: "proton-ui__theme--dark",
8571
8571
  [en.LIGHT]: "proton-ui__theme--light"
8572
- }, pa = Ee(void 0), fn = () => {
8573
- const t = te(pa);
8572
+ }, va = Ee(void 0), fn = () => {
8573
+ const t = te(va);
8574
8574
  if (t === void 0)
8575
8575
  throw new Error("useTheme must be used within a ThemeProvider");
8576
8576
  return t;
@@ -8595,7 +8595,7 @@ const h4 = {
8595
8595
  });
8596
8596
  }
8597
8597
  }, [t, l, n, i]), /* @__PURE__ */ P.jsx(
8598
- pa.Provider,
8598
+ va.Provider,
8599
8599
  {
8600
8600
  value: {
8601
8601
  theme: t,
@@ -8624,7 +8624,7 @@ function Sf({
8624
8624
  ...l
8625
8625
  }) {
8626
8626
  const i = I(null), { popoverRef: o = i } = l, { className: u, style: a } = fn();
8627
- let { popoverProps: s, underlayProps: c, arrowProps: d, placement: v } = ld(
8627
+ let { popoverProps: s, underlayProps: c, arrowProps: d, placement: v } = id(
8628
8628
  {
8629
8629
  ...l,
8630
8630
  offset: r,
@@ -8632,7 +8632,7 @@ function Sf({
8632
8632
  },
8633
8633
  e
8634
8634
  );
8635
- return /* @__PURE__ */ P.jsxs(ud, { children: [
8635
+ return /* @__PURE__ */ P.jsxs(ad, { children: [
8636
8636
  /* @__PURE__ */ P.jsx("div", { ...c, style: { position: "fixed", inset: 0 } }),
8637
8637
  /* @__PURE__ */ P.jsxs(
8638
8638
  "div",
@@ -8643,7 +8643,7 @@ function Sf({
8643
8643
  style: { ...a, ...s.style },
8644
8644
  "data-testid": l["data-testid"] || void 0,
8645
8645
  children: [
8646
- /* @__PURE__ */ P.jsx(nd, { onDismiss: e.close }),
8646
+ /* @__PURE__ */ P.jsx(rd, { onDismiss: e.close }),
8647
8647
  n && /* @__PURE__ */ P.jsxs(
8648
8648
  "svg",
8649
8649
  {
@@ -8664,7 +8664,7 @@ function Sf({
8664
8664
  ] });
8665
8665
  }
8666
8666
  function Tf(t) {
8667
- let e = I(null), { listBoxRef: n = e, state: r } = t, { listBoxProps: l } = vd(t, r, n);
8667
+ let e = I(null), { listBoxRef: n = e, state: r } = t, { listBoxProps: l } = hd(t, r, n);
8668
8668
  return /* @__PURE__ */ P.jsx(
8669
8669
  "ul",
8670
8670
  {
@@ -8677,7 +8677,7 @@ function Tf(t) {
8677
8677
  );
8678
8678
  }
8679
8679
  function Bf({ item: t, state: e }) {
8680
- let n = I(null), { optionProps: r, isSelected: l, isFocused: i, isDisabled: o } = yd(
8680
+ let n = I(null), { optionProps: r, isSelected: l, isFocused: i, isDisabled: o } = xd(
8681
8681
  { key: t.key },
8682
8682
  e,
8683
8683
  n
@@ -8720,7 +8720,7 @@ function kf({
8720
8720
  isDisabled: n,
8721
8721
  ...r
8722
8722
  }) {
8723
- const l = cf(r), i = I(null), o = I(null), { labelProps: u, triggerProps: a, valueProps: s, menuProps: c } = Fd(
8723
+ const l = cf(r), i = I(null), o = I(null), { labelProps: u, triggerProps: a, valueProps: s, menuProps: c } = Md(
8724
8724
  { ...r, label: t || e },
8725
8725
  l,
8726
8726
  i
@@ -8747,7 +8747,7 @@ function kf({
8747
8747
  /* @__PURE__ */ P.jsx("div", { ...u })
8748
8748
  ),
8749
8749
  /* @__PURE__ */ P.jsx(
8750
- Ld,
8750
+ Nd,
8751
8751
  {
8752
8752
  isDisabled: n,
8753
8753
  state: l,
@@ -8807,14 +8807,14 @@ function kf({
8807
8807
  }
8808
8808
  const m4 = {
8809
8809
  Menu: kf,
8810
- Option: gd
8810
+ Option: bd
8811
8811
  };
8812
8812
  function $4(t) {
8813
8813
  let e = {
8814
8814
  ...t,
8815
8815
  isSelected: t.isOn,
8816
8816
  "data-testid": void 0
8817
- }, n = I(null), r = Fc(e), { inputProps: l } = Nd(e, r, n);
8817
+ }, n = I(null), r = Mc(e), { inputProps: l } = Rd(e, r, n);
8818
8818
  return /* @__PURE__ */ P.jsxs(
8819
8819
  "label",
8820
8820
  {
@@ -8839,12 +8839,12 @@ function $4(t) {
8839
8839
  );
8840
8840
  }
8841
8841
  function Kf({ item: t, state: e, children: n }) {
8842
- let r = I(), { rowProps: l } = Gd({ node: t }, e);
8842
+ let r = I(), { rowProps: l } = Yd({ node: t }, e);
8843
8843
  return /* @__PURE__ */ P.jsx("tr", { className: ee("proton-Table__headerRow"), ...l, ref: r, children: n });
8844
8844
  }
8845
8845
  function If({ column: t, state: e }) {
8846
8846
  var a, s;
8847
- let n = I(), { columnHeaderProps: r } = Ud(
8847
+ let n = I(), { columnHeaderProps: r } = Wd(
8848
8848
  { node: t },
8849
8849
  e,
8850
8850
  n
@@ -8880,7 +8880,7 @@ function If({ column: t, state: e }) {
8880
8880
  );
8881
8881
  }
8882
8882
  function Cl({ type: t, children: e }) {
8883
- let { rowGroupProps: n } = qd();
8883
+ let { rowGroupProps: n } = Xd();
8884
8884
  return /* @__PURE__ */ P.jsx(
8885
8885
  t,
8886
8886
  {
@@ -8894,7 +8894,7 @@ function Cl({ type: t, children: e }) {
8894
8894
  );
8895
8895
  }
8896
8896
  function Ff({ item: t, children: e, state: n }) {
8897
- let r = I(), l = n.selectionManager.isSelected(t.key), { rowProps: i, isPressed: o } = Wd(
8897
+ let r = I(), l = n.selectionManager.isSelected(t.key), { rowProps: i, isPressed: o } = Gd(
8898
8898
  {
8899
8899
  node: t
8900
8900
  },
@@ -8917,7 +8917,7 @@ function Ff({ item: t, children: e, state: n }) {
8917
8917
  );
8918
8918
  }
8919
8919
  function Mf({ cell: t, state: e, ...n }) {
8920
- let r = I(), { gridCellProps: l } = Yd({ node: t }, e, r), { isFocusVisible: i, focusProps: o } = an();
8920
+ let r = I(), { gridCellProps: l } = qd({ node: t }, e, r), { isFocusVisible: i, focusProps: o } = an();
8921
8921
  const { align: u } = t.props;
8922
8922
  return /* @__PURE__ */ P.jsx(
8923
8923
  "td",
@@ -8937,7 +8937,7 @@ const y4 = bf, x4 = mf;
8937
8937
  function E4(t) {
8938
8938
  let e = gf({
8939
8939
  ...t
8940
- }), n = I(), { collection: r } = e, { gridProps: l } = Vd(
8940
+ }), n = I(), { collection: r } = e, { gridProps: l } = Hd(
8941
8941
  { ...t, "aria-label": t["aria-label"] || "Table" },
8942
8942
  e,
8943
8943
  n
@@ -9026,7 +9026,7 @@ function zf(t, e) {
9026
9026
  return n;
9027
9027
  }
9028
9028
  function yr(t, e, n) {
9029
- let r = zf(n, t.slot) || {}, { ref: l, ...i } = r, o = Il(_(() => as(e, l), [
9029
+ let r = zf(n, t.slot) || {}, { ref: l, ...i } = r, o = Il(_(() => ss(e, l), [
9030
9030
  e,
9031
9031
  l
9032
9032
  ])), u = j(i, t);
@@ -9052,15 +9052,15 @@ function yr(t, e, n) {
9052
9052
  }
9053
9053
  function Of(t, e = !0) {
9054
9054
  let [n, r] = W(!0);
9055
- return va(t, n && e, Q(() => r(!1), [])), n && e;
9055
+ return ha(t, n && e, Q(() => r(!1), [])), n && e;
9056
9056
  }
9057
9057
  function _f(t, e) {
9058
9058
  let [n, r] = W(!1), [l, i] = W("idle");
9059
- return !e && t.current && l === "idle" && (n = !0, r(!0), i("exiting")), !t.current && l === "exited" && i("idle"), va(t, n, Q(() => {
9059
+ return !e && t.current && l === "idle" && (n = !0, r(!0), i("exiting")), !t.current && l === "exited" && i("idle"), ha(t, n, Q(() => {
9060
9060
  i("exited"), r(!1);
9061
9061
  }, [])), n;
9062
9062
  }
9063
- function va(t, e, n) {
9063
+ function ha(t, e, n) {
9064
9064
  let r = I(null);
9065
9065
  e && t.current && (r.current = window.getComputedStyle(t.current).animation), q(() => {
9066
9066
  if (e && t.current) {
@@ -9121,11 +9121,11 @@ function Hf(t, e) {
9121
9121
  "data-focus-visible": u || void 0
9122
9122
  });
9123
9123
  }
9124
- const Uf = /* @__PURE__ */ Nf(Hf), ha = /* @__PURE__ */ Ee({
9124
+ const Uf = /* @__PURE__ */ Nf(Hf), ga = /* @__PURE__ */ Ee({
9125
9125
  placement: "bottom"
9126
9126
  });
9127
9127
  function Wf(t, e) {
9128
- [t, e] = yr(t, e, ha);
9128
+ [t, e] = yr(t, e, ga);
9129
9129
  let n = t.placement, r = {
9130
9130
  position: "absolute",
9131
9131
  [n]: "100%",
@@ -9148,9 +9148,9 @@ function Wf(t, e) {
9148
9148
  "data-placement": n
9149
9149
  });
9150
9150
  }
9151
- const Gf = /* @__PURE__ */ nr(Wf), xr = /* @__PURE__ */ Ee(null), ga = /* @__PURE__ */ Ee(null);
9151
+ const Gf = /* @__PURE__ */ nr(Wf), xr = /* @__PURE__ */ Ee(null), ba = /* @__PURE__ */ Ee(null);
9152
9152
  function Yf(t) {
9153
- let e = aa(t), n = I(null), { triggerProps: r, tooltipProps: l } = Zd(t, e, n);
9153
+ let e = sa(t), n = I(null), { triggerProps: r, tooltipProps: l } = Jd(t, e, n);
9154
9154
  return /* @__PURE__ */ M.createElement(Rf, {
9155
9155
  values: [
9156
9156
  [
@@ -9158,22 +9158,22 @@ function Yf(t) {
9158
9158
  e
9159
9159
  ],
9160
9160
  [
9161
- ga,
9161
+ ba,
9162
9162
  {
9163
9163
  ...l,
9164
9164
  triggerRef: n
9165
9165
  }
9166
9166
  ]
9167
9167
  ]
9168
- }, /* @__PURE__ */ M.createElement(dc, {
9168
+ }, /* @__PURE__ */ M.createElement(fc, {
9169
9169
  ...r,
9170
9170
  ref: n
9171
9171
  }, t.children));
9172
9172
  }
9173
9173
  function qf({ UNSTABLE_portalContainer: t, ...e }, n) {
9174
- [e, n] = yr(e, n, ga);
9175
- let r = te(xr), l = aa(e), i = e.isOpen != null || e.defaultOpen != null || !r ? l : r, o = _f(n, i.isOpen) || e.isExiting || !1;
9176
- return !i.isOpen && !o ? null : /* @__PURE__ */ M.createElement(ed, {
9174
+ [e, n] = yr(e, n, ba);
9175
+ let r = te(xr), l = sa(e), i = e.isOpen != null || e.defaultOpen != null || !r ? l : r, o = _f(n, i.isOpen) || e.isExiting || !1;
9176
+ return !i.isOpen && !o ? null : /* @__PURE__ */ M.createElement(td, {
9177
9177
  portalContainer: t
9178
9178
  }, /* @__PURE__ */ M.createElement(Zf, {
9179
9179
  ...e,
@@ -9211,7 +9211,7 @@ function Zf(t) {
9211
9211
  }
9212
9212
  });
9213
9213
  t = j(t, i);
9214
- let { tooltipProps: c } = Xd(t, e);
9214
+ let { tooltipProps: c } = Zd(t, e);
9215
9215
  return /* @__PURE__ */ M.createElement("div", {
9216
9216
  ...c,
9217
9217
  ref: t.tooltipRef,
@@ -9223,7 +9223,7 @@ function Zf(t) {
9223
9223
  "data-placement": u,
9224
9224
  "data-entering": a || void 0,
9225
9225
  "data-exiting": t.isExiting || void 0
9226
- }, /* @__PURE__ */ M.createElement(ha.Provider, {
9226
+ }, /* @__PURE__ */ M.createElement(ga.Provider, {
9227
9227
  value: {
9228
9228
  ...o,
9229
9229
  placement: u,
@@ -9288,7 +9288,7 @@ function Qf({
9288
9288
  }
9289
9289
  );
9290
9290
  }
9291
- const ba = {
9291
+ const ma = {
9292
9292
  success: /* @__PURE__ */ P.jsx("svg", { viewBox: "0 0 20 20", height: "20", width: "20", children: /* @__PURE__ */ P.jsx(
9293
9293
  "path",
9294
9294
  {
@@ -9398,7 +9398,7 @@ const ba = {
9398
9398
  const r = te(pn);
9399
9399
  if (!r)
9400
9400
  throw new Error("BannerIcon must be used within a Banner");
9401
- const i = (() => Ua(e) ? e : e === !0 ? ba[r] : t || null)();
9401
+ const i = (() => Wa(e) ? e : e === !0 ? ma[r] : t || null)();
9402
9402
  return i ? /* @__PURE__ */ P.jsx(
9403
9403
  "span",
9404
9404
  {
@@ -9415,7 +9415,7 @@ Me.Icon = l4;
9415
9415
  Me.Action = i4;
9416
9416
  Me.Actions = o4;
9417
9417
  Me.colors = e4;
9418
- Me.icons = ba;
9418
+ Me.icons = ma;
9419
9419
  Me.variants = t4;
9420
9420
  const D4 = {
9421
9421
  primary: "primary",
@@ -9447,9 +9447,9 @@ const C4 = ({
9447
9447
  tooltipProps: n,
9448
9448
  "data-testid": r
9449
9449
  }) => {
9450
- const { className: l } = fn(), i = n ? /* @__PURE__ */ P.jsx(Qf, { delay: 50, closeDelay: 0, ...n, children: e }) : e;
9450
+ const { className: l } = fn(), i = n ? /* @__PURE__ */ P.jsx(Qf, { delay: 50, closeDelay: 75, ...n, children: e }) : e;
9451
9451
  if (t) {
9452
- const o = ef(t);
9452
+ const o = ta(t);
9453
9453
  return /* @__PURE__ */ P.jsx(
9454
9454
  "span",
9455
9455
  {