@blakesteve/roster 2.9.3 → 2.9.5

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.
package/dist/roster.es.js CHANGED
@@ -44,9 +44,9 @@ function kg() {
44
44
  return "StrictMode";
45
45
  case P:
46
46
  return "Suspense";
47
- case N:
48
- return "SuspenseList";
49
47
  case A:
48
+ return "SuspenseList";
49
+ case N:
50
50
  return "Activity";
51
51
  }
52
52
  if (typeof E == "object")
@@ -105,14 +105,14 @@ function kg() {
105
105
  }
106
106
  }
107
107
  function o() {
108
- var E = L.A;
108
+ var E = D.A;
109
109
  return E === null ? null : E.getOwner();
110
110
  }
111
111
  function a() {
112
112
  return Error("react-stack-top-frame");
113
113
  }
114
114
  function i(E) {
115
- if (K.call(E, "key")) {
115
+ if (q.call(E, "key")) {
116
116
  var z = Object.getOwnPropertyDescriptor(E, "key").get;
117
117
  if (z && z.isReactWarning) return !1;
118
118
  }
@@ -137,14 +137,14 @@ function kg() {
137
137
  )), E = this.props.ref, E !== void 0 ? E : null;
138
138
  }
139
139
  function u(E, z, I, M, Q, G) {
140
- var D = I.ref;
140
+ var L = I.ref;
141
141
  return E = {
142
142
  $$typeof: p,
143
143
  type: E,
144
144
  key: z,
145
145
  props: I,
146
146
  _owner: M
147
- }, (D !== void 0 ? D : null) !== null ? Object.defineProperty(E, "ref", {
147
+ }, (L !== void 0 ? L : null) !== null ? Object.defineProperty(E, "ref", {
148
148
  enumerable: !1,
149
149
  get: l
150
150
  }) : Object.defineProperty(E, "ref", { enumerable: !1, value: null }), E._store = {}, Object.defineProperty(E._store, "validated", {
@@ -170,24 +170,24 @@ function kg() {
170
170
  }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
171
171
  }
172
172
  function c(E, z, I, M, Q, G) {
173
- var D = z.children;
174
- if (D !== void 0)
173
+ var L = z.children;
174
+ if (L !== void 0)
175
175
  if (M)
176
- if (T(D)) {
177
- for (M = 0; M < D.length; M++)
178
- f(D[M]);
179
- Object.freeze && Object.freeze(D);
176
+ if (T(L)) {
177
+ for (M = 0; M < L.length; M++)
178
+ f(L[M]);
179
+ Object.freeze && Object.freeze(L);
180
180
  } else
181
181
  console.error(
182
182
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
183
183
  );
184
- else f(D);
185
- if (K.call(z, "key")) {
186
- D = e(E);
184
+ else f(L);
185
+ if (q.call(z, "key")) {
186
+ L = e(E);
187
187
  var ge = Object.keys(z).filter(function(Ve) {
188
188
  return Ve !== "key";
189
189
  });
190
- M = 0 < ge.length ? "{key: someKey, " + ge.join(": ..., ") + ": ...}" : "{key: someKey}", te[D + M] || (ge = 0 < ge.length ? "{" + ge.join(": ..., ") + ": ...}" : "{}", console.error(
190
+ M = 0 < ge.length ? "{key: someKey, " + ge.join(": ..., ") + ": ...}" : "{key: someKey}", te[L + M] || (ge = 0 < ge.length ? "{" + ge.join(": ..., ") + ": ...}" : "{}", console.error(
191
191
  `A props object containing a "key" prop is being spread into JSX:
192
192
  let props = %s;
193
193
  <%s {...props} />
@@ -195,22 +195,22 @@ React keys must be passed directly to JSX without using spread:
195
195
  let props = %s;
196
196
  <%s key={someKey} {...props} />`,
197
197
  M,
198
- D,
198
+ L,
199
199
  ge,
200
- D
201
- ), te[D + M] = !0);
200
+ L
201
+ ), te[L + M] = !0);
202
202
  }
203
- if (D = null, I !== void 0 && (r(I), D = "" + I), i(z) && (r(z.key), D = "" + z.key), "key" in z) {
203
+ if (L = null, I !== void 0 && (r(I), L = "" + I), i(z) && (r(z.key), L = "" + z.key), "key" in z) {
204
204
  I = {};
205
205
  for (var ye in z)
206
206
  ye !== "key" && (I[ye] = z[ye]);
207
207
  } else I = z;
208
- return D && s(
208
+ return L && s(
209
209
  I,
210
210
  typeof E == "function" ? E.displayName || E.name || "Unknown" : E
211
211
  ), u(
212
212
  E,
213
- D,
213
+ L,
214
214
  I,
215
215
  o(),
216
216
  Q,
@@ -223,7 +223,7 @@ React keys must be passed directly to JSX without using spread:
223
223
  function g(E) {
224
224
  return typeof E == "object" && E !== null && E.$$typeof === p;
225
225
  }
226
- var d = $, p = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.consumer"), k = /* @__PURE__ */ Symbol.for("react.context"), S = /* @__PURE__ */ Symbol.for("react.forward_ref"), P = /* @__PURE__ */ Symbol.for("react.suspense"), N = /* @__PURE__ */ Symbol.for("react.suspense_list"), O = /* @__PURE__ */ Symbol.for("react.memo"), H = /* @__PURE__ */ Symbol.for("react.lazy"), A = /* @__PURE__ */ Symbol.for("react.activity"), R = /* @__PURE__ */ Symbol.for("react.client.reference"), L = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = Object.prototype.hasOwnProperty, T = Array.isArray, V = console.createTask ? console.createTask : function() {
226
+ var d = $, p = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.consumer"), k = /* @__PURE__ */ Symbol.for("react.context"), S = /* @__PURE__ */ Symbol.for("react.forward_ref"), P = /* @__PURE__ */ Symbol.for("react.suspense"), A = /* @__PURE__ */ Symbol.for("react.suspense_list"), O = /* @__PURE__ */ Symbol.for("react.memo"), H = /* @__PURE__ */ Symbol.for("react.lazy"), N = /* @__PURE__ */ Symbol.for("react.activity"), R = /* @__PURE__ */ Symbol.for("react.client.reference"), D = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, T = Array.isArray, V = console.createTask ? console.createTask : function() {
227
227
  return null;
228
228
  };
229
229
  d = {
@@ -234,26 +234,26 @@ React keys must be passed directly to JSX without using spread:
234
234
  var B, X = {}, C = d.react_stack_bottom_frame.bind(
235
235
  d,
236
236
  a
237
- )(), q = V(n(a)), te = {};
237
+ )(), K = V(n(a)), te = {};
238
238
  zr.Fragment = v, zr.jsx = function(E, z, I) {
239
- var M = 1e4 > L.recentlyCreatedOwnerStacks++;
239
+ var M = 1e4 > D.recentlyCreatedOwnerStacks++;
240
240
  return c(
241
241
  E,
242
242
  z,
243
243
  I,
244
244
  !1,
245
245
  M ? Error("react-stack-top-frame") : C,
246
- M ? V(n(E)) : q
246
+ M ? V(n(E)) : K
247
247
  );
248
248
  }, zr.jsxs = function(E, z, I) {
249
- var M = 1e4 > L.recentlyCreatedOwnerStacks++;
249
+ var M = 1e4 > D.recentlyCreatedOwnerStacks++;
250
250
  return c(
251
251
  E,
252
252
  z,
253
253
  I,
254
254
  !0,
255
255
  M ? Error("react-stack-top-frame") : C,
256
- M ? V(n(E)) : q
256
+ M ? V(n(E)) : K
257
257
  );
258
258
  };
259
259
  })()), zr;
@@ -264,10 +264,10 @@ function Cg() {
264
264
  }
265
265
  var h = Cg();
266
266
  const Eg = typeof document < "u" ? $.useLayoutEffect : () => {
267
- }, qt = (e) => {
267
+ }, Kt = (e) => {
268
268
  var t;
269
269
  return (t = e?.ownerDocument) !== null && t !== void 0 ? t : document;
270
- }, ar = (e) => e && "window" in e && e.window === e ? e : qt(e).defaultView || window;
270
+ }, ar = (e) => e && "window" in e && e.window === e ? e : Kt(e).defaultView || window;
271
271
  function Pg(e) {
272
272
  return e !== null && typeof e == "object" && "nodeType" in e && typeof e.nodeType == "number";
273
273
  }
@@ -387,13 +387,13 @@ const _g = $t(function() {
387
387
  return mo(/Chrome/i);
388
388
  }), jg = $t(function() {
389
389
  return mo(/Android/i);
390
- }), Dg = $t(function() {
390
+ }), Lg = $t(function() {
391
391
  return mo(/Firefox/i);
392
392
  });
393
393
  function sn(e, t, r = !0) {
394
394
  var n, o;
395
395
  let { metaKey: a, ctrlKey: i, altKey: s, shiftKey: l } = t;
396
- Dg() && (!((o = window.event) === null || o === void 0 || (n = o.type) === null || n === void 0) && n.startsWith("key")) && e.target === "_blank" && (an() ? a = !0 : i = !0);
396
+ Lg() && (!((o = window.event) === null || o === void 0 || (n = o.type) === null || n === void 0) && n.startsWith("key")) && e.target === "_blank" && (an() ? a = !0 : i = !0);
397
397
  let u = _g() && an() && !ku() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
398
398
  keyIdentifier: "Enter",
399
399
  metaKey: a,
@@ -442,7 +442,7 @@ function Cu() {
442
442
  removeAllGlobalListeners: n
443
443
  };
444
444
  }
445
- function Lg(e) {
445
+ function Dg(e) {
446
446
  return e.pointerType === "" && e.isTrusted ? !0 : jg() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
447
447
  }
448
448
  function Eu(e) {
@@ -504,7 +504,7 @@ function Pu(e) {
504
504
  }
505
505
  let zg = !1, mn = null;
506
506
  const Ca = /* @__PURE__ */ new Set();
507
- let qr = /* @__PURE__ */ new Map(), ur = !1, Ea = !1;
507
+ let Kr = /* @__PURE__ */ new Map(), ur = !1, Ea = !1;
508
508
  const Hg = {
509
509
  Tab: !0,
510
510
  Escape: !0
@@ -518,11 +518,11 @@ function Bg(e) {
518
518
  function eo(e) {
519
519
  ur = !0, !sn.isOpening && Bg(e) && (mn = "keyboard", mi("keyboard", e));
520
520
  }
521
- function Ke(e) {
521
+ function qe(e) {
522
522
  mn = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (ur = !0, mi("pointer", e));
523
523
  }
524
524
  function Ru(e) {
525
- !sn.isOpening && Lg(e) && (ur = !0, mn = "virtual");
525
+ !sn.isOpening && Dg(e) && (ur = !0, mn = "virtual");
526
526
  }
527
527
  function $u(e) {
528
528
  e.target === window || e.target === document || zg || !e.isTrusted || (!ur && !Ea && (mn = "virtual", mi("virtual", e)), ur = !1, Ea = !1);
@@ -531,25 +531,25 @@ function Nu() {
531
531
  ur = !1, Ea = !0;
532
532
  }
533
533
  function Pa(e) {
534
- if (typeof window > "u" || typeof document > "u" || qr.get(ar(e))) return;
535
- const t = ar(e), r = qt(e);
534
+ if (typeof window > "u" || typeof document > "u" || Kr.get(ar(e))) return;
535
+ const t = ar(e), r = Kt(e);
536
536
  let n = t.HTMLElement.prototype.focus;
537
537
  t.HTMLElement.prototype.focus = function() {
538
538
  ur = !0, n.apply(this, arguments);
539
- }, r.addEventListener("keydown", eo, !0), r.addEventListener("keyup", eo, !0), r.addEventListener("click", Ru, !0), t.addEventListener("focus", $u, !0), t.addEventListener("blur", Nu, !1), typeof PointerEvent < "u" ? (r.addEventListener("pointerdown", Ke, !0), r.addEventListener("pointermove", Ke, !0), r.addEventListener("pointerup", Ke, !0)) : process.env.NODE_ENV === "test" && (r.addEventListener("mousedown", Ke, !0), r.addEventListener("mousemove", Ke, !0), r.addEventListener("mouseup", Ke, !0)), t.addEventListener("beforeunload", () => {
539
+ }, r.addEventListener("keydown", eo, !0), r.addEventListener("keyup", eo, !0), r.addEventListener("click", Ru, !0), t.addEventListener("focus", $u, !0), t.addEventListener("blur", Nu, !1), typeof PointerEvent < "u" ? (r.addEventListener("pointerdown", qe, !0), r.addEventListener("pointermove", qe, !0), r.addEventListener("pointerup", qe, !0)) : process.env.NODE_ENV === "test" && (r.addEventListener("mousedown", qe, !0), r.addEventListener("mousemove", qe, !0), r.addEventListener("mouseup", qe, !0)), t.addEventListener("beforeunload", () => {
540
540
  Au(e);
541
541
  }, {
542
542
  once: !0
543
- }), qr.set(t, {
543
+ }), Kr.set(t, {
544
544
  focus: n
545
545
  });
546
546
  }
547
547
  const Au = (e, t) => {
548
- const r = ar(e), n = qt(e);
549
- t && n.removeEventListener("DOMContentLoaded", t), qr.has(r) && (r.HTMLElement.prototype.focus = qr.get(r).focus, n.removeEventListener("keydown", eo, !0), n.removeEventListener("keyup", eo, !0), n.removeEventListener("click", Ru, !0), r.removeEventListener("focus", $u, !0), r.removeEventListener("blur", Nu, !1), typeof PointerEvent < "u" ? (n.removeEventListener("pointerdown", Ke, !0), n.removeEventListener("pointermove", Ke, !0), n.removeEventListener("pointerup", Ke, !0)) : process.env.NODE_ENV === "test" && (n.removeEventListener("mousedown", Ke, !0), n.removeEventListener("mousemove", Ke, !0), n.removeEventListener("mouseup", Ke, !0)), qr.delete(r));
548
+ const r = ar(e), n = Kt(e);
549
+ t && n.removeEventListener("DOMContentLoaded", t), Kr.has(r) && (r.HTMLElement.prototype.focus = Kr.get(r).focus, n.removeEventListener("keydown", eo, !0), n.removeEventListener("keyup", eo, !0), n.removeEventListener("click", Ru, !0), r.removeEventListener("focus", $u, !0), r.removeEventListener("blur", Nu, !1), typeof PointerEvent < "u" ? (n.removeEventListener("pointerdown", qe, !0), n.removeEventListener("pointermove", qe, !0), n.removeEventListener("pointerup", qe, !0)) : process.env.NODE_ENV === "test" && (n.removeEventListener("mousedown", qe, !0), n.removeEventListener("mousemove", qe, !0), n.removeEventListener("mouseup", qe, !0)), Kr.delete(r));
550
550
  };
551
551
  function Gg(e) {
552
- const t = qt(e);
552
+ const t = Kt(e);
553
553
  let r;
554
554
  return t.readyState !== "loading" ? Pa(e) : (r = () => {
555
555
  Pa(e);
@@ -571,7 +571,7 @@ const Wg = /* @__PURE__ */ new Set([
571
571
  "reset"
572
572
  ]);
573
573
  function Ug(e, t, r) {
574
- let n = qt(r?.target);
574
+ let n = Kt(r?.target);
575
575
  const o = typeof window < "u" ? ar(r?.target).HTMLInputElement : HTMLInputElement, a = typeof window < "u" ? ar(r?.target).HTMLTextAreaElement : HTMLTextAreaElement, i = typeof window < "u" ? ar(r?.target).HTMLElement : HTMLElement, s = typeof window < "u" ? ar(r?.target).KeyboardEvent : KeyboardEvent;
576
576
  return e = e || n.activeElement instanceof o && !Wg.has(n.activeElement.type) || n.activeElement instanceof a || n.activeElement instanceof i && n.activeElement.isContentEditable, !(e && t === "keyboard" && r instanceof s && !Hg[r.key]);
577
577
  }
@@ -586,7 +586,7 @@ function Yg(e, t, r) {
586
586
  };
587
587
  }, t);
588
588
  }
589
- function Kg(e) {
589
+ function qg(e) {
590
590
  let { isDisabled: t, onFocus: r, onBlur: n, onFocusChange: o } = e;
591
591
  const a = oe((l) => {
592
592
  if (l.target === l.currentTarget)
@@ -595,7 +595,7 @@ function Kg(e) {
595
595
  n,
596
596
  o
597
597
  ]), i = Pu(a), s = oe((l) => {
598
- const u = qt(l.target), c = u ? ka(u) : ka();
598
+ const u = Kt(l.target), c = u ? ka(u) : ka();
599
599
  l.target === l.currentTarget && c === xu(l.nativeEvent) && (r && r(l), o && o(!0), i(l));
600
600
  }, [
601
601
  o,
@@ -609,7 +609,7 @@ function Kg(e) {
609
609
  }
610
610
  };
611
611
  }
612
- function qg(e) {
612
+ function Kg(e) {
613
613
  let { isDisabled: t, onBlurWithin: r, onFocusWithin: n, onFocusWithinChange: o } = e, a = Y({
614
614
  isFocusWithin: !1
615
615
  }), { addGlobalListener: i, removeAllGlobalListeners: s } = Cu(), l = oe((f) => {
@@ -621,7 +621,7 @@ function qg(e) {
621
621
  s
622
622
  ]), u = Pu(l), c = oe((f) => {
623
623
  if (!Tt(f.currentTarget, f.target)) return;
624
- const g = qt(f.target), d = ka(g);
624
+ const g = Kt(f.target), d = ka(g);
625
625
  if (!a.current.isFocusWithin && d === xu(f.nativeEvent)) {
626
626
  n && n(f), o && o(!0), a.current.isFocusWithin = !0, u(f);
627
627
  let p = f.currentTarget;
@@ -686,7 +686,7 @@ function Xt(e) {
686
686
  if (s.pointerType = v, o || v === "touch" || s.isHovered || !Tt(m.currentTarget, m.target)) return;
687
687
  s.isHovered = !0;
688
688
  let b = m.currentTarget;
689
- s.target = b, l(qt(m.target), "pointerover", (x) => {
689
+ s.target = b, l(Kt(m.target), "pointerover", (x) => {
690
690
  s.isHovered && s.target && !Tt(s.target, x.target) && d(x, x.pointerType);
691
691
  }, {
692
692
  capture: !0
@@ -755,10 +755,10 @@ function Jt(e = {}) {
755
755
  enabled: a,
756
756
  isTextInput: r
757
757
  });
758
- let { focusProps: f } = Kg({
758
+ let { focusProps: f } = qg({
759
759
  isDisabled: n,
760
760
  onFocusChange: c
761
- }), { focusWithinProps: g } = qg({
761
+ }), { focusWithinProps: g } = Kg({
762
762
  isDisabled: !n,
763
763
  onFocusWithinChange: c
764
764
  });
@@ -818,7 +818,7 @@ function ho(e) {
818
818
  throw t;
819
819
  }));
820
820
  }
821
- function De() {
821
+ function Le() {
822
822
  let e = [], t = { addEventListener(r, n, o, a) {
823
823
  return r.addEventListener(n, o, a), t.add(() => r.removeEventListener(n, o, a));
824
824
  }, requestAnimationFrame(...r) {
@@ -842,7 +842,7 @@ function De() {
842
842
  Object.assign(r.style, { [n]: a });
843
843
  });
844
844
  }, group(r) {
845
- let n = De();
845
+ let n = Le();
846
846
  return r(n), this.add(() => n.dispose());
847
847
  }, add(r) {
848
848
  return e.includes(r) || e.push(r), () => {
@@ -855,7 +855,7 @@ function De() {
855
855
  return t;
856
856
  }
857
857
  function rt() {
858
- let [e] = ne(De);
858
+ let [e] = ne(Le);
859
859
  return de(() => () => e.dispose(), [e]), e;
860
860
  }
861
861
  let me = (e, t) => {
@@ -918,7 +918,7 @@ function Pe(e, t, ...r) {
918
918
  let n = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
919
919
  throw Error.captureStackTrace && Error.captureStackTrace(n, Pe), n;
920
920
  }
921
- var qe = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(qe || {}), _t = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(_t || {});
921
+ var Ke = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Ke || {}), _t = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(_t || {});
922
922
  function ue() {
923
923
  let e = op();
924
924
  return oe((t) => np({ mergeRefs: e, ...t }), [e]);
@@ -1116,11 +1116,11 @@ function Ar() {
1116
1116
  function vp({ id: e, children: t }) {
1117
1117
  return $.createElement(ju.Provider, { value: e }, t);
1118
1118
  }
1119
- function Du(e) {
1119
+ function Lu(e) {
1120
1120
  return typeof e != "object" || e === null ? !1 : "nodeType" in e;
1121
1121
  }
1122
1122
  function wt(e) {
1123
- return Du(e) && "tagName" in e;
1123
+ return Lu(e) && "tagName" in e;
1124
1124
  }
1125
1125
  function Oe(e) {
1126
1126
  return wt(e) && "accessKey" in e;
@@ -1134,7 +1134,7 @@ function bp(e) {
1134
1134
  function yp(e) {
1135
1135
  return Oe(e) && e.nodeName === "IFRAME";
1136
1136
  }
1137
- function Lu(e) {
1137
+ function Du(e) {
1138
1138
  return Oe(e) && e.nodeName === "INPUT";
1139
1139
  }
1140
1140
  function Aa(e) {
@@ -1250,7 +1250,7 @@ function Rp(e, t) {
1250
1250
  if (x === "true" || x === "") return;
1251
1251
  let y = b.getAttribute("aria-disabled");
1252
1252
  if (y === "true" || y === "") return;
1253
- (Lu(b) && (b.type === "file" || b.type === "radio" || b.type === "checkbox") || b.role === "radio" || b.role === "checkbox" || b.role === "switch") && b.click(), b.focus({ preventScroll: !0 });
1253
+ (Du(b) && (b.type === "file" || b.type === "radio" || b.type === "checkbox") || b.role === "radio" || b.role === "checkbox" || b.role === "switch") && b.click(), b.focus({ preventScroll: !0 });
1254
1254
  }
1255
1255
  }
1256
1256
  }), d = ve({ ...o.slot, disabled: i || !1 }), p = { ref: f, ...o.props, id: s, htmlFor: l, onClick: g };
@@ -1258,19 +1258,19 @@ function Rp(e, t) {
1258
1258
  }
1259
1259
  let $p = le(Rp), Ir = Object.assign($p, {}), Np = "span";
1260
1260
  function Ap(e, t) {
1261
- let r = we(), n = Ar(), o = Nt(), { id: a = n || `headlessui-checkbox-${r}`, disabled: i = o || !1, autoFocus: s = !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, indeterminate: p = !1, tabIndex: m = 0, ...v } = e, b = bi(u), [x, y] = vi(l, c, b ?? !1), k = Or(), S = hn(), P = rt(), [N, O] = ne(!1), H = j(() => {
1261
+ let r = we(), n = Ar(), o = Nt(), { id: a = n || `headlessui-checkbox-${r}`, disabled: i = o || !1, autoFocus: s = !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, indeterminate: p = !1, tabIndex: m = 0, ...v } = e, b = bi(u), [x, y] = vi(l, c, b ?? !1), k = Or(), S = hn(), P = rt(), [A, O] = ne(!1), H = j(() => {
1262
1262
  O(!0), y?.(!x), P.nextFrame(() => {
1263
1263
  O(!1);
1264
1264
  });
1265
- }), A = j((I) => {
1265
+ }), N = j((I) => {
1266
1266
  if (Sr(I.currentTarget)) return I.preventDefault();
1267
1267
  I.preventDefault(), H();
1268
1268
  }), R = j((I) => {
1269
1269
  I.key === re.Space ? (I.preventDefault(), H()) : I.key === re.Enter && yi(I.currentTarget);
1270
- }), L = j((I) => I.preventDefault()), { isFocusVisible: K, focusProps: T } = Jt({ autoFocus: s }), { isHovered: V, hoverProps: B } = Xt({ isDisabled: i }), { pressed: X, pressProps: C } = Nr({ disabled: i }), q = Xe({ ref: t, id: a, role: "checkbox", "aria-checked": p ? "mixed" : x ? "true" : "false", "aria-labelledby": k, "aria-describedby": S, "aria-disabled": i ? !0 : void 0, indeterminate: p ? "true" : void 0, tabIndex: i ? void 0 : m, onKeyUp: i ? void 0 : R, onKeyPress: i ? void 0 : L, onClick: i ? void 0 : A }, T, B, C), te = ve({ checked: x, disabled: i, hover: V, focus: K, active: X, indeterminate: p, changing: N, autofocus: s }), E = oe(() => {
1270
+ }), D = j((I) => I.preventDefault()), { isFocusVisible: q, focusProps: T } = Jt({ autoFocus: s }), { isHovered: V, hoverProps: B } = Xt({ isDisabled: i }), { pressed: X, pressProps: C } = Nr({ disabled: i }), K = Xe({ ref: t, id: a, role: "checkbox", "aria-checked": p ? "mixed" : x ? "true" : "false", "aria-labelledby": k, "aria-describedby": S, "aria-disabled": i ? !0 : void 0, indeterminate: p ? "true" : void 0, tabIndex: i ? void 0 : m, onKeyUp: i ? void 0 : R, onKeyPress: i ? void 0 : D, onClick: i ? void 0 : N }, T, B, C), te = ve({ checked: x, disabled: i, hover: V, focus: q, active: X, indeterminate: p, changing: A, autofocus: s }), E = oe(() => {
1271
1271
  if (b !== void 0) return y?.(b);
1272
1272
  }, [y, b]), z = ue();
1273
- return $.createElement($.Fragment, null, f != null && $.createElement(xi, { disabled: i, data: { [f]: g || "on" }, overrides: { type: "checkbox", checked: x }, form: d, onReset: E }), z({ ourProps: q, theirProps: v, slot: te, defaultTag: Np, name: "Checkbox" }));
1273
+ return $.createElement($.Fragment, null, f != null && $.createElement(xi, { disabled: i, data: { [f]: g || "on" }, overrides: { type: "checkbox", checked: x }, form: d, onReset: E }), z({ ourProps: K, theirProps: v, slot: te, defaultTag: Np, name: "Checkbox" }));
1274
1274
  }
1275
1275
  let Op = le(Ap), Ip = Ee(() => {
1276
1276
  });
@@ -1298,7 +1298,7 @@ function ki(e, t, r = !1) {
1298
1298
  let [n, o] = ne(() => Es(t));
1299
1299
  return me(() => {
1300
1300
  if (!t || !e) return;
1301
- let a = De();
1301
+ let a = Le();
1302
1302
  return a.requestAnimationFrame(function i() {
1303
1303
  a.requestAnimationFrame(i), o((s) => {
1304
1304
  let l = Es(t);
@@ -1335,7 +1335,7 @@ var _p = Object.defineProperty, Mp = (e, t, r) => t in e ? _p(e, t, { enumerable
1335
1335
  }, Ps = (e, t, r, n) => (Yu(e, t, "write to private field"), t.set(e, r), r), nt, Wr, Ur;
1336
1336
  let xo = class {
1337
1337
  constructor(t) {
1338
- Qo(this, nt, {}), Qo(this, Wr, new Uu(() => /* @__PURE__ */ new Set())), Qo(this, Ur, /* @__PURE__ */ new Set()), jp(this, "disposables", De()), Ps(this, nt, t), it.isServer && this.disposables.microTask(() => {
1338
+ Qo(this, nt, {}), Qo(this, Wr, new Uu(() => /* @__PURE__ */ new Set())), Qo(this, Ur, /* @__PURE__ */ new Set()), jp(this, "disposables", Le()), Ps(this, nt, t), it.isServer && this.disposables.microTask(() => {
1339
1339
  this.dispose();
1340
1340
  });
1341
1341
  }
@@ -1365,14 +1365,14 @@ let xo = class {
1365
1365
  Ps(this, nt, r);
1366
1366
  for (let n of Ye(this, Ur)) {
1367
1367
  let o = n.selector(Ye(this, nt));
1368
- Ku(n.current, o) || (n.current = o, n.callback(o));
1368
+ qu(n.current, o) || (n.current = o, n.callback(o));
1369
1369
  }
1370
1370
  for (let n of Ye(this, Wr).get(t.type)) n(Ye(this, nt), t);
1371
1371
  }
1372
1372
  }
1373
1373
  };
1374
1374
  nt = /* @__PURE__ */ new WeakMap(), Wr = /* @__PURE__ */ new WeakMap(), Ur = /* @__PURE__ */ new WeakMap();
1375
- function Ku(e, t) {
1375
+ function qu(e, t) {
1376
1376
  return Object.is(e, t) ? !0 : typeof e != "object" || e === null || typeof t != "object" || t === null ? !1 : Array.isArray(e) && Array.isArray(t) ? e.length !== t.length ? !1 : Zo(e[Symbol.iterator](), t[Symbol.iterator]()) : e instanceof Map && t instanceof Map || e instanceof Set && t instanceof Set ? e.size !== t.size ? !1 : Zo(e.entries(), t.entries()) : Rs(e) && Rs(t) ? Zo(Object.entries(e)[Symbol.iterator](), Object.entries(t)[Symbol.iterator]()) : !1;
1377
1377
  }
1378
1378
  function Zo(e, t) {
@@ -1388,12 +1388,12 @@ function Rs(e) {
1388
1388
  return t === null || Object.getPrototypeOf(t) === null;
1389
1389
  }
1390
1390
  function Jr(e) {
1391
- let [t, r] = e(), n = De();
1391
+ let [t, r] = e(), n = Le();
1392
1392
  return (...o) => {
1393
1393
  t(...o), n.dispose(), n.microTask(r);
1394
1394
  };
1395
1395
  }
1396
- var Dp = Object.defineProperty, Lp = (e, t, r) => t in e ? Dp(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $s = (e, t, r) => (Lp(e, typeof t != "symbol" ? t + "" : t, r), r), Ci = ((e) => (e[e.Push = 0] = "Push", e[e.Pop = 1] = "Pop", e))(Ci || {});
1396
+ var Lp = Object.defineProperty, Dp = (e, t, r) => t in e ? Lp(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $s = (e, t, r) => (Dp(e, typeof t != "symbol" ? t + "" : t, r), r), Ci = ((e) => (e[e.Push = 0] = "Push", e[e.Pop = 1] = "Pop", e))(Ci || {});
1397
1397
  let Vp = { 0(e, t) {
1398
1398
  let r = t.id, n = e.stack, o = e.stack.indexOf(r);
1399
1399
  if (o !== -1) {
@@ -1406,12 +1406,12 @@ let Vp = { 0(e, t) {
1406
1406
  if (n === -1) return e;
1407
1407
  let o = e.stack.slice();
1408
1408
  return o.splice(n, 1), { ...e, stack: o };
1409
- } }, zp = class qu extends xo {
1409
+ } }, zp = class Ku extends xo {
1410
1410
  constructor() {
1411
1411
  super(...arguments), $s(this, "actions", { push: (t) => this.send({ type: 0, id: t }), pop: (t) => this.send({ type: 1, id: t }) }), $s(this, "selectors", { isTop: (t, r) => t.stack[t.stack.length - 1] === r, inStack: (t, r) => t.stack.includes(r) });
1412
1412
  }
1413
1413
  static new() {
1414
- return new qu({ stack: [] });
1414
+ return new Ku({ stack: [] });
1415
1415
  }
1416
1416
  reduce(t, r) {
1417
1417
  return Pe(r.type, Vp, t, r);
@@ -1446,8 +1446,8 @@ function Hp() {
1446
1446
  return y = S;
1447
1447
  }
1448
1448
  if (P = y, r(x, S)) return P;
1449
- var N = f(S);
1450
- return g !== void 0 && g(P, N) ? (x = S, P) : (x = S, y = N);
1449
+ var A = f(S);
1450
+ return g !== void 0 && g(P, A) ? (x = S, P) : (x = S, y = A);
1451
1451
  }
1452
1452
  var b = !1, x, y, k = c === void 0 ? null : c;
1453
1453
  return [
@@ -1498,8 +1498,8 @@ function Bp() {
1498
1498
  }
1499
1499
  if (P = y, r(x, S))
1500
1500
  return P;
1501
- var N = f(S);
1502
- return g !== void 0 && g(P, N) ? (x = S, P) : (x = S, y = N);
1501
+ var A = f(S);
1502
+ return g !== void 0 && g(P, A) ? (x = S, P) : (x = S, y = A);
1503
1503
  }
1504
1504
  var b = !1, x, y, k = c === void 0 ? null : c;
1505
1505
  return [
@@ -1528,7 +1528,7 @@ function Gp() {
1528
1528
  return Os || (Os = 1, process.env.NODE_ENV === "production" ? jn.exports = Hp() : jn.exports = Bp()), jn.exports;
1529
1529
  }
1530
1530
  var Wp = Gp();
1531
- function fe(e, t, r = Ku) {
1531
+ function fe(e, t, r = qu) {
1532
1532
  return Wp.useSyncExternalStoreWithSelector(j((n) => e.subscribe(Up, n)), j(() => e.state), j(() => e.state), j(t), r);
1533
1533
  }
1534
1534
  function Up(e) {
@@ -1558,7 +1558,7 @@ function Ei(e, { allowed: t, disallowed: r } = {}) {
1558
1558
  me(() => {
1559
1559
  var o, a;
1560
1560
  if (!n) return;
1561
- let i = De();
1561
+ let i = Le();
1562
1562
  for (let l of (o = r?.()) != null ? o : []) l && i.add(Is(l));
1563
1563
  let s = (a = t?.()) != null ? a : [];
1564
1564
  for (let l of s) {
@@ -1583,7 +1583,7 @@ function wo(e, t, r) {
1583
1583
  if (!e) return;
1584
1584
  let o = t === null ? null : Oe(t) ? t : t.current;
1585
1585
  if (!o) return;
1586
- let a = De();
1586
+ let a = Le();
1587
1587
  if (typeof ResizeObserver < "u") {
1588
1588
  let i = new ResizeObserver(() => n.current(o));
1589
1589
  i.observe(o), a.add(() => i.disconnect());
@@ -1596,11 +1596,11 @@ function wo(e, t, r) {
1596
1596
  }, [t, n, e]);
1597
1597
  }
1598
1598
  let ro = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), Yp = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
1599
- var Re = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(Re || {}), kr = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(kr || {}), Kp = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Kp || {});
1599
+ var Re = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(Re || {}), kr = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(kr || {}), qp = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(qp || {});
1600
1600
  function xn(e = document.body) {
1601
1601
  return e == null ? [] : Array.from(e.querySelectorAll(ro)).sort((t, r) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (r.tabIndex || Number.MAX_SAFE_INTEGER)));
1602
1602
  }
1603
- function qp(e = document.body) {
1603
+ function Kp(e = document.body) {
1604
1604
  return e == null ? [] : Array.from(e.querySelectorAll(Yp)).sort((t, r) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (r.tabIndex || Number.MAX_SAFE_INTEGER)));
1605
1605
  }
1606
1606
  var wn = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(wn || {});
@@ -1618,7 +1618,7 @@ function Sn(e, t = 0) {
1618
1618
  } });
1619
1619
  }
1620
1620
  function Xu(e) {
1621
- De().nextFrame(() => {
1621
+ Le().nextFrame(() => {
1622
1622
  let t = Ht(e);
1623
1623
  t && Je(t) && !Sn(t, 0) && st(e);
1624
1624
  });
@@ -1649,7 +1649,7 @@ function Ju(e, t, r = e === null ? document.body : zt(e)) {
1649
1649
  return He(xn(r), t, { relativeTo: e });
1650
1650
  }
1651
1651
  function He(e, t, { sorted: r = !0, relativeTo: n = null, skipElements: o = [] } = {}) {
1652
- let a = Array.isArray(e) ? e.length > 0 ? zt(e[0]) : document : zt(e), i = Array.isArray(e) ? r ? Pi(e) : e : t & 64 ? qp(e) : xn(e);
1652
+ let a = Array.isArray(e) ? e.length > 0 ? zt(e[0]) : document : zt(e), i = Array.isArray(e) ? r ? Pi(e) : e : t & 64 ? Kp(e) : xn(e);
1653
1653
  o.length > 0 && i.length > 1 && (i = i.filter((d) => !o.some((p) => p != null && "current" in p ? p?.current === d : p === d))), n = n ?? a?.activeElement;
1654
1654
  let s = (() => {
1655
1655
  if (t & 5) return 1;
@@ -1742,7 +1742,7 @@ const Mt = { Ignore: { kind: 0 }, Select: (e) => ({ kind: 1, target: e }), Close
1742
1742
  function ec(e, { trigger: t, action: r, close: n, select: o }) {
1743
1743
  let a = Y(null), i = Y(null), s = Y(null);
1744
1744
  br(e && t !== null, "pointerdown", (l) => {
1745
- Du(l?.target) && t != null && t.contains(l.target) && (i.current = l.x, s.current = l.y, a.current = l.timeStamp);
1745
+ Lu(l?.target) && t != null && t.contains(l.target) && (i.current = l.x, s.current = l.y, a.current = l.timeStamp);
1746
1746
  }), br(e && t !== null, "pointerup", (l) => {
1747
1747
  var u, c;
1748
1748
  let f = a.current;
@@ -1814,7 +1814,7 @@ function im() {
1814
1814
  t.microTask(() => {
1815
1815
  var o;
1816
1816
  if (window.getComputedStyle(e.documentElement).scrollBehavior !== "auto") {
1817
- let s = De();
1817
+ let s = Le();
1818
1818
  s.style(e.documentElement, "scrollBehavior", "auto"), t.add(() => t.microTask(() => s.dispose()));
1819
1819
  }
1820
1820
  let a = (o = window.scrollY) != null ? o : window.pageYOffset, i = null;
@@ -1836,7 +1836,7 @@ function im() {
1836
1836
  });
1837
1837
  }), t.addEventListener(e, "touchmove", (s) => {
1838
1838
  if (Je(s.target)) {
1839
- if (Lu(s.target)) return;
1839
+ if (Du(s.target)) return;
1840
1840
  if (n(s.target)) {
1841
1841
  let l = s.target;
1842
1842
  for (; l.parentElement && l.dataset.headlessuiPortal !== "" && !(l.scrollHeight > l.clientHeight || l.scrollWidth > l.clientWidth); ) l = l.parentElement;
@@ -1863,7 +1863,7 @@ function js(e) {
1863
1863
  }
1864
1864
  let ir = om(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
1865
1865
  var r;
1866
- let n = (r = this.get(e)) != null ? r : { doc: e, count: 0, d: De(), meta: /* @__PURE__ */ new Set(), computedMeta: {} };
1866
+ let n = (r = this.get(e)) != null ? r : { doc: e, count: 0, d: Le(), meta: /* @__PURE__ */ new Set(), computedMeta: {} };
1867
1867
  return n.count++, n.meta.add(t), n.computedMeta = js(n.meta), this.set(e, n), this;
1868
1868
  }, POP(e, t) {
1869
1869
  let r = this.get(e);
@@ -1899,24 +1899,24 @@ function Co(e, t, r = () => [document.body]) {
1899
1899
  return { containers: [...(a = o.containers) != null ? a : [], r] };
1900
1900
  });
1901
1901
  }
1902
- function Ds(e) {
1902
+ function Ls(e) {
1903
1903
  return [e.screenX, e.screenY];
1904
1904
  }
1905
1905
  function tc() {
1906
1906
  let e = Y([-1, -1]);
1907
1907
  return { wasMoved(t) {
1908
- let r = Ds(t);
1908
+ let r = Ls(t);
1909
1909
  return e.current[0] === r[0] && e.current[1] === r[1] ? !1 : (e.current = r, !0);
1910
1910
  }, update(t) {
1911
- e.current = Ds(t);
1911
+ e.current = Ls(t);
1912
1912
  } };
1913
1913
  }
1914
1914
  function um(e = 0) {
1915
1915
  let [t, r] = ne(e), n = oe((l) => r(l), []), o = oe((l) => r((u) => u | l), []), a = oe((l) => (t & l) === l, [t]), i = oe((l) => r((u) => u & ~l), []), s = oe((l) => r((u) => u ^ l), []);
1916
1916
  return { flags: t, setFlag: n, addFlag: o, hasFlag: a, removeFlag: i, toggleFlag: s };
1917
1917
  }
1918
- var Ls, Vs;
1919
- typeof process < "u" && typeof globalThis < "u" && typeof Element < "u" && ((Ls = process == null ? void 0 : process.env) == null ? void 0 : Ls.NODE_ENV) === "test" && typeof ((Vs = Element?.prototype) == null ? void 0 : Vs.getAnimations) > "u" && (Element.prototype.getAnimations = function() {
1918
+ var Ds, Vs;
1919
+ typeof process < "u" && typeof globalThis < "u" && typeof Element < "u" && ((Ds = process == null ? void 0 : process.env) == null ? void 0 : Ds.NODE_ENV) === "test" && typeof ((Vs = Element?.prototype) == null ? void 0 : Vs.getAnimations) > "u" && (Element.prototype.getAnimations = function() {
1920
1920
  return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.", "Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.", "", "Example usage:", "```js", "import { mockAnimationsApi } from 'jsdom-testing-mocks'", "mockAnimationsApi()", "```"].join(`
1921
1921
  `)), [];
1922
1922
  });
@@ -1947,7 +1947,7 @@ function Cn(e, t, r, n) {
1947
1947
  }, [e, r, t, f]), e ? [o, { closed: i(1), enter: i(2), leave: i(4), transition: i(2) || i(4) }] : [r, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
1948
1948
  }
1949
1949
  function dm(e, { prepare: t, run: r, done: n, inFlight: o }) {
1950
- let a = De();
1950
+ let a = Le();
1951
1951
  return gm(e, { prepare: t, inFlight: o }), a.nextFrame(() => {
1952
1952
  r(), a.requestAnimationFrame(() => {
1953
1953
  a.add(fm(e, n));
@@ -1956,7 +1956,7 @@ function dm(e, { prepare: t, run: r, done: n, inFlight: o }) {
1956
1956
  }
1957
1957
  function fm(e, t) {
1958
1958
  var r, n;
1959
- let o = De();
1959
+ let o = Le();
1960
1960
  if (!e) return o.dispose;
1961
1961
  let a = !1;
1962
1962
  o.add(() => {
@@ -2125,7 +2125,7 @@ function Em() {
2125
2125
  return r + "/" + n;
2126
2126
  }).join(" ") : navigator.userAgent;
2127
2127
  }
2128
- const Pm = ["top", "right", "bottom", "left"], Ct = Math.min, _e = Math.max, un = Math.round, Dn = Math.floor, lt = (e) => ({
2128
+ const Pm = ["top", "right", "bottom", "left"], Ct = Math.min, _e = Math.max, un = Math.round, Ln = Math.floor, lt = (e) => ({
2129
2129
  x: e,
2130
2130
  y: e
2131
2131
  }), Rm = {
@@ -2388,7 +2388,7 @@ const jm = async (e, t, r) => {
2388
2388
  strategy: o,
2389
2389
  middlewareData: d
2390
2390
  };
2391
- }, Dm = (e) => ({
2391
+ }, Lm = (e) => ({
2392
2392
  name: "arrow",
2393
2393
  options: e,
2394
2394
  async fn(t) {
@@ -2410,9 +2410,9 @@ const jm = async (e, t, r) => {
2410
2410
  x: r,
2411
2411
  y: n
2412
2412
  }, d = Fi(o), p = Ii(d), m = await i.getDimensions(u), v = d === "y", b = v ? "top" : "left", x = v ? "bottom" : "right", y = v ? "clientHeight" : "clientWidth", k = a.reference[p] + a.reference[d] - g[d] - a.floating[p], S = g[d] - a.reference[d], P = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u));
2413
- let N = P ? P[y] : 0;
2414
- (!N || !await (i.isElement == null ? void 0 : i.isElement(P))) && (N = s.floating[y] || a.floating[p]);
2415
- const O = k / 2 - S / 2, H = N / 2 - m[p] / 2 - 1, A = Ct(f[b], H), R = Ct(f[x], H), L = A, K = N - m[p] - R, T = N / 2 - m[p] / 2 + O, V = Fa(L, T, K), B = !l.arrow && Tr(o) != null && T !== V && a.reference[p] / 2 - (T < L ? A : R) - m[p] / 2 < 0, X = B ? T < L ? T - L : T - K : 0;
2413
+ let A = P ? P[y] : 0;
2414
+ (!A || !await (i.isElement == null ? void 0 : i.isElement(P))) && (A = s.floating[y] || a.floating[p]);
2415
+ const O = k / 2 - S / 2, H = A / 2 - m[p] / 2 - 1, N = Ct(f[b], H), R = Ct(f[x], H), D = N, q = A - m[p] - R, T = A / 2 - m[p] / 2 + O, V = Fa(D, T, q), B = !l.arrow && Tr(o) != null && T !== V && a.reference[p] / 2 - (T < D ? N : R) - m[p] / 2 < 0, X = B ? T < D ? T - D : T - q : 0;
2416
2416
  return {
2417
2417
  [d]: g[d] + X,
2418
2418
  data: {
@@ -2425,7 +2425,7 @@ const jm = async (e, t, r) => {
2425
2425
  reset: B
2426
2426
  };
2427
2427
  }
2428
- }), Lm = function(e) {
2428
+ }), Dm = function(e) {
2429
2429
  return e === void 0 && (e = {}), {
2430
2430
  name: "flip",
2431
2431
  options: e,
@@ -2451,44 +2451,44 @@ const jm = async (e, t, r) => {
2451
2451
  return {};
2452
2452
  const b = Et(o), x = ot(s), y = Et(s) === s, k = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), S = g || (y || !m ? [no(s)] : Om(s)), P = p !== "none";
2453
2453
  !g && P && S.push(..._m(s, m, p, k));
2454
- const N = [s, ...S], O = await l.detectOverflow(t, v), H = [];
2455
- let A = ((n = a.flip) == null ? void 0 : n.overflows) || [];
2454
+ const A = [s, ...S], O = await l.detectOverflow(t, v), H = [];
2455
+ let N = ((n = a.flip) == null ? void 0 : n.overflows) || [];
2456
2456
  if (c && H.push(O[b]), f) {
2457
2457
  const T = Am(o, i, k);
2458
2458
  H.push(O[T[0]], O[T[1]]);
2459
2459
  }
2460
- if (A = [...A, {
2460
+ if (N = [...N, {
2461
2461
  placement: o,
2462
2462
  overflows: H
2463
2463
  }], !H.every((T) => T <= 0)) {
2464
- var R, L;
2465
- const T = (((R = a.flip) == null ? void 0 : R.index) || 0) + 1, V = N[T];
2464
+ var R, D;
2465
+ const T = (((R = a.flip) == null ? void 0 : R.index) || 0) + 1, V = A[T];
2466
2466
  if (V && (!(f === "alignment" ? x !== ot(V) : !1) || // We leave the current main axis only if every placement on that axis
2467
2467
  // overflows the main axis.
2468
- A.every((C) => ot(C.placement) === x ? C.overflows[0] > 0 : !0)))
2468
+ N.every((C) => ot(C.placement) === x ? C.overflows[0] > 0 : !0)))
2469
2469
  return {
2470
2470
  data: {
2471
2471
  index: T,
2472
- overflows: A
2472
+ overflows: N
2473
2473
  },
2474
2474
  reset: {
2475
2475
  placement: V
2476
2476
  }
2477
2477
  };
2478
- let B = (L = A.filter((X) => X.overflows[0] <= 0).sort((X, C) => X.overflows[1] - C.overflows[1])[0]) == null ? void 0 : L.placement;
2478
+ let B = (D = N.filter((X) => X.overflows[0] <= 0).sort((X, C) => X.overflows[1] - C.overflows[1])[0]) == null ? void 0 : D.placement;
2479
2479
  if (!B)
2480
2480
  switch (d) {
2481
2481
  case "bestFit": {
2482
- var K;
2483
- const X = (K = A.filter((C) => {
2482
+ var q;
2483
+ const X = (q = N.filter((C) => {
2484
2484
  if (P) {
2485
- const q = ot(C.placement);
2486
- return q === x || // Create a bias to the `y` side axis due to horizontal
2485
+ const K = ot(C.placement);
2486
+ return K === x || // Create a bias to the `y` side axis due to horizontal
2487
2487
  // reading directions favoring greater width.
2488
- q === "y";
2488
+ K === "y";
2489
2489
  }
2490
2490
  return !0;
2491
- }).map((C) => [C.placement, C.overflows.filter((q) => q > 0).reduce((q, te) => q + te, 0)]).sort((C, q) => C[1] - q[1])[0]) == null ? void 0 : K[0];
2491
+ }).map((C) => [C.placement, C.overflows.filter((K) => K > 0).reduce((K, te) => K + te, 0)]).sort((C, K) => C[1] - K[1])[0]) == null ? void 0 : q[0];
2492
2492
  X && (B = X);
2493
2493
  break;
2494
2494
  }
@@ -2731,15 +2731,15 @@ const Hm = function(e) {
2731
2731
  let v, b;
2732
2732
  f === "top" || f === "bottom" ? (v = f, b = g === (await (i.isRTL == null ? void 0 : i.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (b = f, v = g === "end" ? "top" : "bottom");
2733
2733
  const x = m - c.top - c.bottom, y = p - c.left - c.right, k = Ct(m - c[v], x), S = Ct(p - c[b], y), P = !t.middlewareData.shift;
2734
- let N = k, O = S;
2735
- if ((r = t.middlewareData.shift) != null && r.enabled.x && (O = y), (n = t.middlewareData.shift) != null && n.enabled.y && (N = x), P && !g) {
2736
- const A = _e(c.left, 0), R = _e(c.right, 0), L = _e(c.top, 0), K = _e(c.bottom, 0);
2737
- d ? O = p - 2 * (A !== 0 || R !== 0 ? A + R : _e(c.left, c.right)) : N = m - 2 * (L !== 0 || K !== 0 ? L + K : _e(c.top, c.bottom));
2734
+ let A = k, O = S;
2735
+ if ((r = t.middlewareData.shift) != null && r.enabled.x && (O = y), (n = t.middlewareData.shift) != null && n.enabled.y && (A = x), P && !g) {
2736
+ const N = _e(c.left, 0), R = _e(c.right, 0), D = _e(c.top, 0), q = _e(c.bottom, 0);
2737
+ d ? O = p - 2 * (N !== 0 || R !== 0 ? N + R : _e(c.left, c.right)) : A = m - 2 * (D !== 0 || q !== 0 ? D + q : _e(c.top, c.bottom));
2738
2738
  }
2739
2739
  await l({
2740
2740
  ...t,
2741
2741
  availableWidth: O,
2742
- availableHeight: N
2742
+ availableHeight: A
2743
2743
  });
2744
2744
  const H = await i.getDimensions(s.floating);
2745
2745
  return p !== H.width || m !== H.height ? {
@@ -2822,7 +2822,7 @@ function uc(e, t) {
2822
2822
  y: o
2823
2823
  };
2824
2824
  }
2825
- function Km(e) {
2825
+ function qm(e) {
2826
2826
  let {
2827
2827
  elements: t,
2828
2828
  rect: r,
@@ -2849,7 +2849,7 @@ function Km(e) {
2849
2849
  y: r.y * u.y - l.scrollTop * u.y + c.y + g.y
2850
2850
  };
2851
2851
  }
2852
- function qm(e) {
2852
+ function Km(e) {
2853
2853
  return Array.from(e.getClientRects());
2854
2854
  }
2855
2855
  function Xm(e) {
@@ -2894,7 +2894,7 @@ function Zm(e, t) {
2894
2894
  y: u
2895
2895
  };
2896
2896
  }
2897
- function Ks(e, t, r) {
2897
+ function qs(e, t, r) {
2898
2898
  let n;
2899
2899
  if (t === "viewport")
2900
2900
  n = Jm(e, r);
@@ -2938,9 +2938,9 @@ function t0(e) {
2938
2938
  strategy: o
2939
2939
  } = e;
2940
2940
  const i = [...r === "clippingAncestors" ? Po(t) ? [] : e0(t, this._c) : [].concat(r), n], s = i[0], l = i.reduce((u, c) => {
2941
- const f = Ks(t, c, o);
2941
+ const f = qs(t, c, o);
2942
2942
  return u.top = _e(f.top, u.top), u.right = Ct(f.right, u.right), u.bottom = Ct(f.bottom, u.bottom), u.left = _e(f.left, u.left), u;
2943
- }, Ks(t, s, o));
2943
+ }, qs(t, s, o));
2944
2944
  return {
2945
2945
  width: l.right - l.left,
2946
2946
  height: l.bottom - l.top,
@@ -2985,7 +2985,7 @@ function n0(e, t, r) {
2985
2985
  function ra(e) {
2986
2986
  return et(e).position === "static";
2987
2987
  }
2988
- function qs(e, t) {
2988
+ function Ks(e, t) {
2989
2989
  if (!dt(e) || et(e).position === "fixed")
2990
2990
  return null;
2991
2991
  if (t)
@@ -3006,9 +3006,9 @@ function dc(e, t) {
3006
3006
  }
3007
3007
  return r;
3008
3008
  }
3009
- let n = qs(e, t);
3009
+ let n = Ks(e, t);
3010
3010
  for (; n && bm(n) && ra(n); )
3011
- n = qs(n, t);
3011
+ n = Ks(n, t);
3012
3012
  return n && Cr(n) && ra(n) && !Ni(n) ? r : n || km(e) || r;
3013
3013
  }
3014
3014
  const o0 = async function(e) {
@@ -3027,12 +3027,12 @@ function a0(e) {
3027
3027
  return et(e).direction === "rtl";
3028
3028
  }
3029
3029
  const i0 = {
3030
- convertOffsetParentRelativeRectToViewportRelativeRect: Km,
3030
+ convertOffsetParentRelativeRectToViewportRelativeRect: qm,
3031
3031
  getDocumentElement: gt,
3032
3032
  getClippingRect: t0,
3033
3033
  getOffsetParent: dc,
3034
3034
  getElementRects: o0,
3035
- getClientRects: qm,
3035
+ getClientRects: Km,
3036
3036
  getDimensions: r0,
3037
3037
  getScale: xr,
3038
3038
  isElement: je,
@@ -3058,21 +3058,21 @@ function s0(e, t) {
3058
3058
  } = u;
3059
3059
  if (s || t(), !g || !d)
3060
3060
  return;
3061
- const p = Dn(f), m = Dn(o.clientWidth - (c + g)), v = Dn(o.clientHeight - (f + d)), b = Dn(c), y = {
3061
+ const p = Ln(f), m = Ln(o.clientWidth - (c + g)), v = Ln(o.clientHeight - (f + d)), b = Ln(c), y = {
3062
3062
  rootMargin: -p + "px " + -m + "px " + -v + "px " + -b + "px",
3063
3063
  threshold: _e(0, Ct(1, l)) || 1
3064
3064
  };
3065
3065
  let k = !0;
3066
3066
  function S(P) {
3067
- const N = P[0].intersectionRatio;
3068
- if (N !== l) {
3067
+ const A = P[0].intersectionRatio;
3068
+ if (A !== l) {
3069
3069
  if (!k)
3070
3070
  return i();
3071
- N ? i(!1, N) : n = setTimeout(() => {
3071
+ A ? i(!1, A) : n = setTimeout(() => {
3072
3072
  i(!1, 1e-7);
3073
3073
  }, 1e3);
3074
3074
  }
3075
- N === 1 && !fc(u, e.getBoundingClientRect()) && i(), k = !1;
3075
+ A === 1 && !fc(u, e.getBoundingClientRect()) && i(), k = !1;
3076
3076
  }
3077
3077
  try {
3078
3078
  r = new IntersectionObserver(S, {
@@ -3123,7 +3123,7 @@ function gc(e, t, r, n) {
3123
3123
  }), f?.(), (b = d) == null || b.disconnect(), d = null, l && cancelAnimationFrame(p);
3124
3124
  };
3125
3125
  }
3126
- const na = ac, l0 = Hm, u0 = Bm, c0 = Lm, d0 = Wm, f0 = Vm, Xs = Dm, g0 = Gm, p0 = (e, t, r) => {
3126
+ const na = ac, l0 = Hm, u0 = Bm, c0 = Dm, d0 = Wm, f0 = Vm, Xs = Lm, g0 = Gm, p0 = (e, t, r) => {
3127
3127
  const n = /* @__PURE__ */ new Map(), o = {
3128
3128
  platform: i0,
3129
3129
  ...r
@@ -3137,7 +3137,7 @@ const na = ac, l0 = Hm, u0 = Bm, c0 = Lm, d0 = Wm, f0 = Vm, Xs = Dm, g0 = Gm, p0
3137
3137
  });
3138
3138
  };
3139
3139
  var m0 = typeof document < "u", h0 = function() {
3140
- }, Kn = m0 ? ci : h0;
3140
+ }, qn = m0 ? ci : h0;
3141
3141
  function ao(e, t) {
3142
3142
  if (e === t)
3143
3143
  return !0;
@@ -3177,7 +3177,7 @@ function Js(e, t) {
3177
3177
  }
3178
3178
  function oa(e) {
3179
3179
  const t = w.useRef(e);
3180
- return Kn(() => {
3180
+ return qn(() => {
3181
3181
  t.current = e;
3182
3182
  }), t;
3183
3183
  }
@@ -3207,48 +3207,48 @@ function mc(e) {
3207
3207
  const [p, m] = w.useState(null), [v, b] = w.useState(null), x = w.useCallback((C) => {
3208
3208
  C !== P.current && (P.current = C, m(C));
3209
3209
  }, []), y = w.useCallback((C) => {
3210
- C !== N.current && (N.current = C, b(C));
3211
- }, []), k = a || p, S = i || v, P = w.useRef(null), N = w.useRef(null), O = w.useRef(c), H = l != null, A = oa(l), R = oa(o), L = oa(u), K = w.useCallback(() => {
3212
- if (!P.current || !N.current)
3210
+ C !== A.current && (A.current = C, b(C));
3211
+ }, []), k = a || p, S = i || v, P = w.useRef(null), A = w.useRef(null), O = w.useRef(c), H = l != null, N = oa(l), R = oa(o), D = oa(u), q = w.useCallback(() => {
3212
+ if (!P.current || !A.current)
3213
3213
  return;
3214
3214
  const C = {
3215
3215
  placement: t,
3216
3216
  strategy: r,
3217
3217
  middleware: g
3218
3218
  };
3219
- R.current && (C.platform = R.current), p0(P.current, N.current, C).then((q) => {
3219
+ R.current && (C.platform = R.current), p0(P.current, A.current, C).then((K) => {
3220
3220
  const te = {
3221
- ...q,
3221
+ ...K,
3222
3222
  // The floating element's position may be recomputed while it's closed
3223
3223
  // but still mounted (such as when transitioning out). To ensure
3224
3224
  // `isPositioned` will be `false` initially on the next open, avoid
3225
3225
  // setting it to `true` when `open === false` (must be specified).
3226
- isPositioned: L.current !== !1
3226
+ isPositioned: D.current !== !1
3227
3227
  };
3228
3228
  T.current && !ao(O.current, te) && (O.current = te, on.flushSync(() => {
3229
3229
  f(te);
3230
3230
  }));
3231
3231
  });
3232
- }, [g, t, r, R, L]);
3233
- Kn(() => {
3232
+ }, [g, t, r, R, D]);
3233
+ qn(() => {
3234
3234
  u === !1 && O.current.isPositioned && (O.current.isPositioned = !1, f((C) => ({
3235
3235
  ...C,
3236
3236
  isPositioned: !1
3237
3237
  })));
3238
3238
  }, [u]);
3239
3239
  const T = w.useRef(!1);
3240
- Kn(() => (T.current = !0, () => {
3240
+ qn(() => (T.current = !0, () => {
3241
3241
  T.current = !1;
3242
- }), []), Kn(() => {
3243
- if (k && (P.current = k), S && (N.current = S), k && S) {
3244
- if (A.current)
3245
- return A.current(k, S, K);
3246
- K();
3242
+ }), []), qn(() => {
3243
+ if (k && (P.current = k), S && (A.current = S), k && S) {
3244
+ if (N.current)
3245
+ return N.current(k, S, q);
3246
+ q();
3247
3247
  }
3248
- }, [k, S, K, A, H]);
3248
+ }, [k, S, q, N, H]);
3249
3249
  const V = w.useMemo(() => ({
3250
3250
  reference: P,
3251
- floating: N,
3251
+ floating: A,
3252
3252
  setReference: x,
3253
3253
  setFloating: y
3254
3254
  }), [x, y]), B = w.useMemo(() => ({
@@ -3262,26 +3262,26 @@ function mc(e) {
3262
3262
  };
3263
3263
  if (!B.floating)
3264
3264
  return C;
3265
- const q = Js(B.floating, c.x), te = Js(B.floating, c.y);
3265
+ const K = Js(B.floating, c.x), te = Js(B.floating, c.y);
3266
3266
  return s ? {
3267
3267
  ...C,
3268
- transform: "translate(" + q + "px, " + te + "px)",
3268
+ transform: "translate(" + K + "px, " + te + "px)",
3269
3269
  ...pc(B.floating) >= 1.5 && {
3270
3270
  willChange: "transform"
3271
3271
  }
3272
3272
  } : {
3273
3273
  position: r,
3274
- left: q,
3274
+ left: K,
3275
3275
  top: te
3276
3276
  };
3277
3277
  }, [r, s, B.floating, c.x, c.y]);
3278
3278
  return w.useMemo(() => ({
3279
3279
  ...c,
3280
- update: K,
3280
+ update: q,
3281
3281
  refs: V,
3282
3282
  elements: B,
3283
3283
  floatingStyles: X
3284
- }), [c, K, V, B, X]);
3284
+ }), [c, q, V, B, X]);
3285
3285
  }
3286
3286
  const v0 = (e) => {
3287
3287
  function t(r) {
@@ -3562,7 +3562,7 @@ function rl(e, t) {
3562
3562
  }
3563
3563
  };
3564
3564
  }
3565
- const D0 = (e) => ({
3565
+ const L0 = (e) => ({
3566
3566
  name: "inner",
3567
3567
  options: e,
3568
3568
  async fn(t) {
@@ -3590,20 +3590,20 @@ const D0 = (e) => ({
3590
3590
  }, k = await na(rl(y, p.scrollHeight + m + g.clientTop), c), S = await na(y, {
3591
3591
  ...c,
3592
3592
  elementContext: "reference"
3593
- }), P = _e(0, k.top), N = y.y + P, A = (p.scrollHeight > p.clientHeight ? (R) => R : un)(_e(0, p.scrollHeight + (v && x || b ? m * 2 : 0) - P - _e(0, k.bottom)));
3594
- if (p.style.maxHeight = A + "px", p.scrollTop = P, o) {
3593
+ }), P = _e(0, k.top), A = y.y + P, N = (p.scrollHeight > p.clientHeight ? (R) => R : un)(_e(0, p.scrollHeight + (v && x || b ? m * 2 : 0) - P - _e(0, k.bottom)));
3594
+ if (p.style.maxHeight = N + "px", p.scrollTop = P, o) {
3595
3595
  const R = p.offsetHeight < d.offsetHeight * Ct(s, r.current.length) - 1 || S.top >= -l || S.bottom >= -l;
3596
3596
  on.flushSync(() => o(R));
3597
3597
  }
3598
3598
  return n && (n.current = await na(rl({
3599
3599
  ...y,
3600
- y: N
3600
+ y: A
3601
3601
  }, p.offsetHeight + m + g.clientTop), c)), {
3602
- y: N
3602
+ y: A
3603
3603
  };
3604
3604
  }
3605
3605
  });
3606
- function L0(e, t) {
3606
+ function D0(e, t) {
3607
3607
  const {
3608
3608
  open: r,
3609
3609
  elements: n
@@ -3669,13 +3669,13 @@ Mi.displayName = "PlacementContext";
3669
3669
  function ji(e) {
3670
3670
  return xe(() => e ? typeof e == "string" ? { to: e } : e : null, [e]);
3671
3671
  }
3672
- function Di() {
3672
+ function Li() {
3673
3673
  return pe(_r).setReference;
3674
3674
  }
3675
3675
  function wc() {
3676
3676
  return pe(_r).getReferenceProps;
3677
3677
  }
3678
- function Li() {
3678
+ function Di() {
3679
3679
  let { getFloatingProps: e, slot: t } = pe(_r);
3680
3680
  return oe((...r) => Object.assign({}, e(...r), { "data-anchor": t.anchor }), [e, t]);
3681
3681
  }
@@ -3699,32 +3699,32 @@ function zi({ children: e, enabled: t = !0 }) {
3699
3699
  me(() => {
3700
3700
  u && a(0);
3701
3701
  }, [u]);
3702
- let { refs: b, floatingStyles: x, context: y } = M0({ open: u, placement: m === "selection" ? v === "center" ? "bottom" : `bottom-${v}` : v === "center" ? `${m}` : `${m}-${v}`, strategy: "absolute", transform: !1, middleware: [_i({ mainAxis: m === "selection" ? 0 : f, crossAxis: g }), hc({ padding: d }), m !== "selection" && vc({ padding: d }), m === "selection" && p ? D0({ ...p, padding: d, overflowRef: i, offset: o, minItemsVisible: nl, referenceOverflowThreshold: d, onFallbackChange(R) {
3703
- var L, K;
3702
+ let { refs: b, floatingStyles: x, context: y } = M0({ open: u, placement: m === "selection" ? v === "center" ? "bottom" : `bottom-${v}` : v === "center" ? `${m}` : `${m}-${v}`, strategy: "absolute", transform: !1, middleware: [_i({ mainAxis: m === "selection" ? 0 : f, crossAxis: g }), hc({ padding: d }), m !== "selection" && vc({ padding: d }), m === "selection" && p ? L0({ ...p, padding: d, overflowRef: i, offset: o, minItemsVisible: nl, referenceOverflowThreshold: d, onFallbackChange(R) {
3703
+ var D, q;
3704
3704
  if (!R) return;
3705
3705
  let T = y.elements.floating;
3706
3706
  if (!T) return;
3707
3707
  let V = parseFloat(getComputedStyle(T).scrollPaddingBottom) || 0, B = Math.min(nl, T.childElementCount), X = 0, C = 0;
3708
- for (let q of (K = (L = y.elements.floating) == null ? void 0 : L.childNodes) != null ? K : []) if (Oe(q)) {
3709
- let te = q.offsetTop, E = te + q.clientHeight + V, z = T.scrollTop, I = z + T.clientHeight;
3708
+ for (let K of (q = (D = y.elements.floating) == null ? void 0 : D.childNodes) != null ? q : []) if (Oe(K)) {
3709
+ let te = K.offsetTop, E = te + K.clientHeight + V, z = T.scrollTop, I = z + T.clientHeight;
3710
3710
  if (te >= z && E <= I) B--;
3711
3711
  else {
3712
- C = Math.max(0, Math.min(E, I) - Math.max(te, z)), X = q.clientHeight;
3712
+ C = Math.max(0, Math.min(E, I) - Math.max(te, z)), X = K.clientHeight;
3713
3713
  break;
3714
3714
  }
3715
3715
  }
3716
- B >= 1 && a((q) => {
3716
+ B >= 1 && a((K) => {
3717
3717
  let te = X * B - C + V;
3718
- return q >= te ? q : te;
3718
+ return K >= te ? K : te;
3719
3719
  });
3720
- } }) : null, bc({ padding: d, apply({ availableWidth: R, availableHeight: L, elements: K }) {
3721
- Object.assign(K.floating.style, { overflow: "auto", maxWidth: `${R}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${L}px)` });
3720
+ } }) : null, bc({ padding: d, apply({ availableWidth: R, availableHeight: D, elements: q }) {
3721
+ Object.assign(q.floating.style, { overflow: "auto", maxWidth: `${R}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${D}px)` });
3722
3722
  } })].filter(Boolean), whileElementsMounted: gc }), [k = m, S = v] = y.placement.split("-");
3723
3723
  m === "selection" && (k = "selection");
3724
- let P = xe(() => ({ anchor: [k, S].filter(Boolean).join(" ") }), [k, S]), N = L0(y, { overflowRef: i, onChange: a }), { getReferenceProps: O, getFloatingProps: H } = j0([N]), A = j((R) => {
3724
+ let P = xe(() => ({ anchor: [k, S].filter(Boolean).join(" ") }), [k, S]), A = D0(y, { overflowRef: i, onChange: a }), { getReferenceProps: O, getFloatingProps: H } = j0([A]), N = j((R) => {
3725
3725
  l(R), b.setFloating(R);
3726
3726
  });
3727
- return w.createElement(Mi.Provider, { value: n }, w.createElement(_r.Provider, { value: { setFloating: A, setReference: b.setReference, styles: x, getReferenceProps: O, getFloatingProps: H, slot: P } }, e));
3727
+ return w.createElement(Mi.Provider, { value: n }, w.createElement(_r.Provider, { value: { setFloating: N, setReference: b.setReference, styles: x, getReferenceProps: O, getFloatingProps: H, slot: P } }, e));
3728
3728
  }
3729
3729
  function V0(e) {
3730
3730
  me(() => {
@@ -3912,14 +3912,14 @@ let Pc = Ae, Y0 = le(function(e, t) {
3912
3912
  c.dispose(), u && g && c.add(u.register(g));
3913
3913
  } }, f({ ourProps: { ref: a }, theirProps: n, slot: {}, defaultTag: Pc, name: "Portal" })), l) : null;
3914
3914
  });
3915
- function K0(e, t) {
3915
+ function q0(e, t) {
3916
3916
  let r = be(t), { enabled: n = !0, ownerDocument: o, ...a } = e, i = ue();
3917
3917
  return n ? $.createElement(Y0, { ...a, ownerDocument: o, ref: r }) : i({ ourProps: { ref: r }, theirProps: a, slot: {}, defaultTag: Pc, name: "Portal" });
3918
3918
  }
3919
- let q0 = Ae, Rc = Ee(null);
3919
+ let K0 = Ae, Rc = Ee(null);
3920
3920
  function X0(e, t) {
3921
3921
  let { target: r, ...n } = e, o = { ref: be(t) }, a = ue();
3922
- return $.createElement(Rc.Provider, { value: r }, a({ ourProps: o, theirProps: n, defaultTag: q0, name: "Popover.Group" }));
3922
+ return $.createElement(Rc.Provider, { value: r }, a({ ourProps: o, theirProps: n, defaultTag: K0, name: "Popover.Group" }));
3923
3923
  }
3924
3924
  let Ma = Ee(null);
3925
3925
  function $c() {
@@ -3931,14 +3931,14 @@ function $c() {
3931
3931
  return $.createElement(Ma.Provider, { value: o }, a);
3932
3932
  }, [o])];
3933
3933
  }
3934
- let J0 = le(K0), Nc = le(X0), Oo = Object.assign(J0, { Group: Nc });
3934
+ let J0 = le(q0), Nc = le(X0), Oo = Object.assign(J0, { Group: Nc });
3935
3935
  const Vt = { Idle: { kind: "Idle" }, Tracked: (e) => ({ kind: "Tracked", position: e }), Moved: { kind: "Moved" } };
3936
3936
  function Hi(e) {
3937
3937
  let t = e.getBoundingClientRect();
3938
3938
  return `${t.x},${t.y}`;
3939
3939
  }
3940
3940
  function Ac(e, t, r) {
3941
- let n = De();
3941
+ let n = Le();
3942
3942
  if (t.kind === "Tracked") {
3943
3943
  let o = function() {
3944
3944
  a !== Hi(e) && (n.dispose(), r());
@@ -4174,44 +4174,44 @@ function Mc(e, t) {
4174
4174
  });
4175
4175
  return xe(() => ({ children: n, register: s, unregister: i, onStart: f, onStop: g, wait: u, chains: c }), [s, i, n, f, g, c, u]);
4176
4176
  }
4177
- let jc = Ae, Dc = qe.RenderStrategy;
4177
+ let jc = Ae, Lc = Ke.RenderStrategy;
4178
4178
  function fh(e, t) {
4179
4179
  var r, n;
4180
- let { transition: o = !0, beforeEnter: a, afterEnter: i, beforeLeave: s, afterLeave: l, enter: u, enterFrom: c, enterTo: f, entered: g, leave: d, leaveFrom: p, leaveTo: m, ...v } = e, [b, x] = ne(null), y = Y(null), k = _c(e), S = be(...k ? [y, t, x] : t === null ? [] : [t]), P = (r = v.unmount) == null || r ? _t.Unmount : _t.Hidden, { show: N, appear: O, initial: H } = ch(), [A, R] = ne(N ? "visible" : "hidden"), L = dh(), { register: K, unregister: T } = L;
4181
- me(() => K(y), [K, y]), me(() => {
4180
+ let { transition: o = !0, beforeEnter: a, afterEnter: i, beforeLeave: s, afterLeave: l, enter: u, enterFrom: c, enterTo: f, entered: g, leave: d, leaveFrom: p, leaveTo: m, ...v } = e, [b, x] = ne(null), y = Y(null), k = _c(e), S = be(...k ? [y, t, x] : t === null ? [] : [t]), P = (r = v.unmount) == null || r ? _t.Unmount : _t.Hidden, { show: A, appear: O, initial: H } = ch(), [N, R] = ne(A ? "visible" : "hidden"), D = dh(), { register: q, unregister: T } = D;
4181
+ me(() => q(y), [q, y]), me(() => {
4182
4182
  if (P === _t.Hidden && y.current) {
4183
- if (N && A !== "visible") {
4183
+ if (A && N !== "visible") {
4184
4184
  R("visible");
4185
4185
  return;
4186
4186
  }
4187
- return Pe(A, { hidden: () => T(y), visible: () => K(y) });
4187
+ return Pe(N, { hidden: () => T(y), visible: () => q(y) });
4188
4188
  }
4189
- }, [A, y, K, T, N, P]);
4189
+ }, [N, y, q, T, A, P]);
4190
4190
  let V = Io();
4191
4191
  me(() => {
4192
- if (k && V && A === "visible" && y.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
4193
- }, [y, A, V, k]);
4194
- let B = H && !O, X = O && N && H, C = Y(!1), q = Mc(() => {
4192
+ if (k && V && N === "visible" && y.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
4193
+ }, [y, N, V, k]);
4194
+ let B = H && !O, X = O && A && H, C = Y(!1), K = Mc(() => {
4195
4195
  C.current || (R("hidden"), T(y));
4196
- }, L), te = j((D) => {
4196
+ }, D), te = j((L) => {
4197
4197
  C.current = !0;
4198
- let ge = D ? "enter" : "leave";
4199
- q.onStart(y, ge, (ye) => {
4198
+ let ge = L ? "enter" : "leave";
4199
+ K.onStart(y, ge, (ye) => {
4200
4200
  ye === "enter" ? a?.() : ye === "leave" && s?.();
4201
4201
  });
4202
- }), E = j((D) => {
4203
- let ge = D ? "enter" : "leave";
4204
- C.current = !1, q.onStop(y, ge, (ye) => {
4202
+ }), E = j((L) => {
4203
+ let ge = L ? "enter" : "leave";
4204
+ C.current = !1, K.onStop(y, ge, (ye) => {
4205
4205
  ye === "enter" ? i?.() : ye === "leave" && l?.();
4206
- }), ge === "leave" && !_o(q) && (R("hidden"), T(y));
4206
+ }), ge === "leave" && !_o(K) && (R("hidden"), T(y));
4207
4207
  });
4208
4208
  de(() => {
4209
- k && o || (te(N), E(N));
4210
- }, [N, k, o]);
4211
- let z = !(!o || !k || !V || B), [, I] = Cn(z, b, N, { start: te, end: E }), M = It({ ref: S, className: ((n = Na(v.className, X && u, X && c, I.enter && u, I.enter && I.closed && c, I.enter && !I.closed && f, I.leave && d, I.leave && !I.closed && p, I.leave && I.closed && m, !I.transition && N && g)) == null ? void 0 : n.trim()) || void 0, ...kn(I) }), Q = 0;
4212
- A === "visible" && (Q |= Se.Open), A === "hidden" && (Q |= Se.Closed), N && A === "hidden" && (Q |= Se.Opening), !N && A === "visible" && (Q |= Se.Closing);
4209
+ k && o || (te(A), E(A));
4210
+ }, [A, k, o]);
4211
+ let z = !(!o || !k || !V || B), [, I] = Cn(z, b, A, { start: te, end: E }), M = It({ ref: S, className: ((n = Na(v.className, X && u, X && c, I.enter && u, I.enter && I.closed && c, I.enter && !I.closed && f, I.leave && d, I.leave && !I.closed && p, I.leave && I.closed && m, !I.transition && A && g)) == null ? void 0 : n.trim()) || void 0, ...kn(I) }), Q = 0;
4212
+ N === "visible" && (Q |= Se.Open), N === "hidden" && (Q |= Se.Closed), A && N === "hidden" && (Q |= Se.Opening), !A && N === "visible" && (Q |= Se.Closing);
4213
4213
  let G = ue();
4214
- return $.createElement(To.Provider, { value: q }, $.createElement(Ao, { value: Q }, G({ ourProps: M, theirProps: v, defaultTag: jc, features: Dc, visible: A === "visible", name: "Transition.Child" })));
4214
+ return $.createElement(To.Provider, { value: K }, $.createElement(Ao, { value: Q }, G({ ourProps: M, theirProps: v, defaultTag: jc, features: Lc, visible: N === "visible", name: "Transition.Child" })));
4215
4215
  }
4216
4216
  function gh(e, t) {
4217
4217
  let { show: r, appear: n = !1, unmount: o = !0, ...a } = e, i = Y(null), s = _c(e), l = be(...s ? [i, t] : t === null ? [] : [t]);
@@ -4235,13 +4235,13 @@ function gh(e, t) {
4235
4235
  var S;
4236
4236
  d && p(!1), (S = e.beforeLeave) == null || S.call(e);
4237
4237
  }), k = ue();
4238
- return $.createElement(To.Provider, { value: g }, $.createElement(Fo.Provider, { value: v }, k({ ourProps: { ...b, as: Ae, children: $.createElement(Lc, { ref: l, ...b, ...a, beforeEnter: x, beforeLeave: y }) }, theirProps: {}, defaultTag: Ae, features: Dc, visible: c === "visible", name: "Transition" })));
4238
+ return $.createElement(To.Provider, { value: g }, $.createElement(Fo.Provider, { value: v }, k({ ourProps: { ...b, as: Ae, children: $.createElement(Dc, { ref: l, ...b, ...a, beforeEnter: x, beforeLeave: y }) }, theirProps: {}, defaultTag: Ae, features: Lc, visible: c === "visible", name: "Transition" })));
4239
4239
  }
4240
4240
  function ph(e, t) {
4241
4241
  let r = pe(Fo) !== null, n = Zt() !== null;
4242
- return $.createElement($.Fragment, null, !r && n ? $.createElement(ja, { ref: t, ...e }) : $.createElement(Lc, { ref: t, ...e }));
4242
+ return $.createElement($.Fragment, null, !r && n ? $.createElement(ja, { ref: t, ...e }) : $.createElement(Dc, { ref: t, ...e }));
4243
4243
  }
4244
- let ja = le(gh), Lc = le(fh), dn = le(ph), Er = Object.assign(ja, { Child: dn, Root: ja });
4244
+ let ja = le(gh), Dc = le(fh), dn = le(ph), Er = Object.assign(ja, { Child: dn, Root: ja });
4245
4245
  var mh = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(mh || {}), hh = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(hh || {});
4246
4246
  let vh = { 0(e, t) {
4247
4247
  return e.titleId === t.id ? e : { ...e, titleId: t.id };
@@ -4265,32 +4265,32 @@ let il = le(function(e, t) {
4265
4265
  })();
4266
4266
  let d = Zt();
4267
4267
  o === void 0 && d !== null && (o = (d & Se.Open) === Se.Open);
4268
- let p = Y(null), m = be(p, t), v = kt(p.current), b = o ? 0 : 1, [x, y] = yg(bh, { titleId: null, descriptionId: null, panelRef: xg() }), k = j(() => a(!1)), S = j((I) => y({ type: 0, id: I })), P = Io() ? b === 0 : !1, [N, O] = $c(), H = { get current() {
4268
+ let p = Y(null), m = be(p, t), v = kt(p.current), b = o ? 0 : 1, [x, y] = yg(bh, { titleId: null, descriptionId: null, panelRef: xg() }), k = j(() => a(!1)), S = j((I) => y({ type: 0, id: I })), P = Io() ? b === 0 : !1, [A, O] = $c(), H = { get current() {
4269
4269
  var I;
4270
4270
  return (I = x.panelRef.current) != null ? I : p.current;
4271
- } }, A = Bi(), { resolveContainers: R } = Oc({ mainTreeNode: A, portals: N, defaultContainers: [H] }), L = d !== null ? (d & Se.Closing) === Se.Closing : !1;
4272
- Ei(u || L ? !1 : P, { allowed: j(() => {
4271
+ } }, N = Bi(), { resolveContainers: R } = Oc({ mainTreeNode: N, portals: A, defaultContainers: [H] }), D = d !== null ? (d & Se.Closing) === Se.Closing : !1;
4272
+ Ei(u || D ? !1 : P, { allowed: j(() => {
4273
4273
  var I, M;
4274
4274
  return [(M = (I = p.current) == null ? void 0 : I.closest("[data-headlessui-portal]")) != null ? M : null];
4275
4275
  }), disallowed: j(() => {
4276
4276
  var I;
4277
- return [(I = A?.closest("body > *:not(#headlessui-portal-root)")) != null ? I : null];
4277
+ return [(I = N?.closest("body > *:not(#headlessui-portal-root)")) != null ? I : null];
4278
4278
  }) });
4279
- let K = gr.get(null);
4279
+ let q = gr.get(null);
4280
4280
  me(() => {
4281
- if (P) return K.actions.push(n), () => K.actions.pop(n);
4282
- }, [K, n, P]);
4283
- let T = fe(K, oe((I) => K.selectors.isTop(I, n), [K, n]));
4281
+ if (P) return q.actions.push(n), () => q.actions.pop(n);
4282
+ }, [q, n, P]);
4283
+ let T = fe(q, oe((I) => q.selectors.isTop(I, n), [q, n]));
4284
4284
  So(T, R, (I) => {
4285
4285
  I.preventDefault(), k();
4286
4286
  }), Q0(T, v?.defaultView, (I) => {
4287
4287
  I.preventDefault(), I.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), k();
4288
- }), Co(u || L ? !1 : P, v, R), wo(P, p, k);
4289
- let [V, B] = bo(), X = xe(() => [{ dialogState: b, close: k, setTitleId: S, unmount: c }, x], [b, k, S, c, x]), C = ve({ open: b === 0 }), q = { ref: m, id: n, role: s, tabIndex: -1, "aria-modal": u ? void 0 : b === 0 ? !0 : void 0, "aria-labelledby": x.titleId, "aria-describedby": V, unmount: c }, te = !Z0(), E = nr.None;
4288
+ }), Co(u || D ? !1 : P, v, R), wo(P, p, k);
4289
+ let [V, B] = bo(), X = xe(() => [{ dialogState: b, close: k, setTitleId: S, unmount: c }, x], [b, k, S, c, x]), C = ve({ open: b === 0 }), K = { ref: m, id: n, role: s, tabIndex: -1, "aria-modal": u ? void 0 : b === 0 ? !0 : void 0, "aria-labelledby": x.titleId, "aria-describedby": V, unmount: c }, te = !Z0(), E = nr.None;
4290
4290
  P && !u && (E |= nr.RestoreFocus, E |= nr.TabLock, l && (E |= nr.AutoFocus), te && (E |= nr.InitialFocus));
4291
4291
  let z = ue();
4292
- return $.createElement(Cc, null, $.createElement(al, { force: !0 }, $.createElement(Oo, null, $.createElement(Ui.Provider, { value: X }, $.createElement(Nc, { target: p }, $.createElement(al, { force: !1 }, $.createElement(B, { slot: C }, $.createElement(O, null, $.createElement(oh, { initialFocus: i, initialFocusFallback: p, containers: R, features: E }, $.createElement(Si, { value: k }, z({ ourProps: q, theirProps: f, slot: C, defaultTag: yh, features: xh, visible: b === 0, name: "Dialog" })))))))))));
4293
- }), yh = "div", xh = qe.RenderStrategy | qe.Static;
4292
+ return $.createElement(Cc, null, $.createElement(al, { force: !0 }, $.createElement(Oo, null, $.createElement(Ui.Provider, { value: X }, $.createElement(Nc, { target: p }, $.createElement(al, { force: !1 }, $.createElement(B, { slot: C }, $.createElement(O, null, $.createElement(oh, { initialFocus: i, initialFocusFallback: p, containers: R, features: E }, $.createElement(Si, { value: k }, z({ ourProps: K, theirProps: f, slot: C, defaultTag: yh, features: xh, visible: b === 0, name: "Dialog" })))))))))));
4293
+ }), yh = "div", xh = Ke.RenderStrategy | Ke.Static;
4294
4294
  function wh(e, t) {
4295
4295
  let { transition: r = !1, open: n, ...o } = e, a = Zt(), i = e.hasOwnProperty("open") || a !== null, s = e.hasOwnProperty("onClose");
4296
4296
  if (!i && !s) throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
@@ -4367,12 +4367,12 @@ function Hc(e) {
4367
4367
  return t.current = o, r.current = a, a;
4368
4368
  });
4369
4369
  }
4370
- var jh = Object.defineProperty, Dh = (e, t, r) => t in e ? jh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ul = (e, t, r) => (Dh(e, typeof t != "symbol" ? t + "" : t, r), r), Me = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Me || {}), Dt = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(Dt || {}), qn = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(qn || {}), Bc = ((e) => (e[e.OpenListbox = 0] = "OpenListbox", e[e.CloseListbox = 1] = "CloseListbox", e[e.GoToOption = 2] = "GoToOption", e[e.Search = 3] = "Search", e[e.ClearSearch = 4] = "ClearSearch", e[e.SelectOption = 5] = "SelectOption", e[e.RegisterOptions = 6] = "RegisterOptions", e[e.UnregisterOptions = 7] = "UnregisterOptions", e[e.SetButtonElement = 8] = "SetButtonElement", e[e.SetOptionsElement = 9] = "SetOptionsElement", e[e.SortOptions = 10] = "SortOptions", e[e.MarkButtonAsMoved = 11] = "MarkButtonAsMoved", e))(Bc || {});
4370
+ var jh = Object.defineProperty, Lh = (e, t, r) => t in e ? jh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ul = (e, t, r) => (Lh(e, typeof t != "symbol" ? t + "" : t, r), r), Me = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Me || {}), Lt = ((e) => (e[e.Single = 0] = "Single", e[e.Multi = 1] = "Multi", e))(Lt || {}), Kn = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(Kn || {}), Bc = ((e) => (e[e.OpenListbox = 0] = "OpenListbox", e[e.CloseListbox = 1] = "CloseListbox", e[e.GoToOption = 2] = "GoToOption", e[e.Search = 3] = "Search", e[e.ClearSearch = 4] = "ClearSearch", e[e.SelectOption = 5] = "SelectOption", e[e.RegisterOptions = 6] = "RegisterOptions", e[e.UnregisterOptions = 7] = "UnregisterOptions", e[e.SetButtonElement = 8] = "SetButtonElement", e[e.SetOptionsElement = 9] = "SetOptionsElement", e[e.SortOptions = 10] = "SortOptions", e[e.MarkButtonAsMoved = 11] = "MarkButtonAsMoved", e))(Bc || {});
4371
4371
  function cl(e, t = (r) => r) {
4372
4372
  let r = e.activeOptionIndex !== null ? e.options[e.activeOptionIndex] : null, n = Pi(t(e.options.slice()), (a) => a.dataRef.current.domRef.current), o = r ? n.indexOf(r) : null;
4373
4373
  return o === -1 && (o = null), { options: n, activeOptionIndex: o };
4374
4374
  }
4375
- let Lh = { 1(e) {
4375
+ let Dh = { 1(e) {
4376
4376
  if (e.dataRef.current.disabled || e.listboxState === 1) return e;
4377
4377
  let t = e.buttonElement ? Vt.Tracked(Hi(e.buttonElement)) : e.buttonPositionState;
4378
4378
  return { ...e, activeOptionIndex: null, pendingFocus: { focus: ie.Nothing }, listboxState: 1, __demoMode: !1, buttonPositionState: t };
@@ -4521,7 +4521,7 @@ let Lh = { 1(e) {
4521
4521
  return new Gc({ id: t, dataRef: { current: {} }, listboxState: r ? 0 : 1, options: [], searchQuery: "", activeOptionIndex: null, activationTrigger: 1, buttonElement: null, optionsElement: null, pendingShouldSort: !1, pendingFocus: { focus: ie.Nothing }, frozenValue: !1, __demoMode: r, buttonPositionState: Vt.Idle });
4522
4522
  }
4523
4523
  reduce(t, r) {
4524
- return Pe(r.type, Lh, t, r);
4524
+ return Pe(r.type, Dh, t, r);
4525
4525
  }
4526
4526
  };
4527
4527
  const Wc = Ee(null);
@@ -4537,10 +4537,10 @@ function Uc({ id: e, __demoMode: t = !1 }) {
4537
4537
  let r = xe(() => Vh.new({ id: e, __demoMode: t }), []);
4538
4538
  return Pn(() => r.dispose()), r;
4539
4539
  }
4540
- let Do = Ee(null);
4541
- Do.displayName = "ListboxDataContext";
4540
+ let Lo = Ee(null);
4541
+ Lo.displayName = "ListboxDataContext";
4542
4542
  function Rn(e) {
4543
- let t = pe(Do);
4543
+ let t = pe(Lo);
4544
4544
  if (t === null) {
4545
4545
  let r = new Error(`<${e} /> is missing a parent <Listbox /> component.`);
4546
4546
  throw Error.captureStackTrace && Error.captureStackTrace(r, Rn), r;
@@ -4551,22 +4551,22 @@ let zh = Ae;
4551
4551
  function Hh(e, t) {
4552
4552
  let r = we(), n = Nt(), { value: o, defaultValue: a, form: i, name: s, onChange: l, by: u, invalid: c = !1, disabled: f = n || !1, horizontal: g = !1, multiple: d = !1, __demoMode: p = !1, ...m } = e;
4553
4553
  const v = g ? "horizontal" : "vertical";
4554
- let b = be(t), x = bi(a), [y = d ? [] : void 0, k] = vi(o, l, x), S = Uc({ id: r, __demoMode: p }), P = Y({ static: !1, hold: !1 }), N = Y(/* @__PURE__ */ new Map()), O = Tp(u), H = oe((z) => Pe(A.mode, { [Dt.Multi]: () => y.some((I) => O(I, z)), [Dt.Single]: () => O(y, z) }), [y]), A = ve({ value: y, disabled: f, invalid: c, mode: d ? Dt.Multi : Dt.Single, orientation: v, onChange: k, compare: O, isSelected: H, optionsPropsRef: P, listRef: N });
4554
+ let b = be(t), x = bi(a), [y = d ? [] : void 0, k] = vi(o, l, x), S = Uc({ id: r, __demoMode: p }), P = Y({ static: !1, hold: !1 }), A = Y(/* @__PURE__ */ new Map()), O = Tp(u), H = oe((z) => Pe(N.mode, { [Lt.Multi]: () => y.some((I) => O(I, z)), [Lt.Single]: () => O(y, z) }), [y]), N = ve({ value: y, disabled: f, invalid: c, mode: d ? Lt.Multi : Lt.Single, orientation: v, onChange: k, compare: O, isSelected: H, optionsPropsRef: P, listRef: A });
4555
4555
  me(() => {
4556
- S.state.dataRef.current = A;
4557
- }, [A]);
4558
- let R = fe(S, (z) => z.listboxState), L = gr.get(null), K = fe(L, oe((z) => L.selectors.isTop(z, r), [L, r])), [T, V] = fe(S, (z) => [z.buttonElement, z.optionsElement]);
4559
- So(K, [T, V], (z, I) => {
4556
+ S.state.dataRef.current = N;
4557
+ }, [N]);
4558
+ let R = fe(S, (z) => z.listboxState), D = gr.get(null), q = fe(D, oe((z) => D.selectors.isTop(z, r), [D, r])), [T, V] = fe(S, (z) => [z.buttonElement, z.optionsElement]);
4559
+ So(q, [T, V], (z, I) => {
4560
4560
  S.send({ type: Bc.CloseListbox }), Sn(I, wn.Loose) || (z.preventDefault(), T?.focus());
4561
4561
  });
4562
- let B = ve({ open: R === Me.Open, disabled: f, invalid: c, value: y }), [X, C] = bn({ inherit: !0 }), q = { ref: b }, te = oe(() => {
4562
+ let B = ve({ open: R === Me.Open, disabled: f, invalid: c, value: y }), [X, C] = bn({ inherit: !0 }), K = { ref: b }, te = oe(() => {
4563
4563
  if (x !== void 0) return k?.(x);
4564
4564
  }, [k, x]), E = ue();
4565
- return $.createElement(C, { value: X, props: { htmlFor: T?.id }, slot: { open: R === Me.Open, disabled: f } }, $.createElement(zi, null, $.createElement(Wc.Provider, { value: S }, $.createElement(Do.Provider, { value: A }, $.createElement(Ao, { value: Pe(R, { [Me.Open]: Se.Open, [Me.Closed]: Se.Closed }) }, s != null && y != null && $.createElement(xi, { disabled: f, data: { [s]: y }, form: i, onReset: te }), E({ ourProps: q, theirProps: m, slot: B, defaultTag: zh, name: "Listbox" }))))));
4565
+ return $.createElement(C, { value: X, props: { htmlFor: T?.id }, slot: { open: R === Me.Open, disabled: f } }, $.createElement(zi, null, $.createElement(Wc.Provider, { value: S }, $.createElement(Lo.Provider, { value: N }, $.createElement(Ao, { value: Pe(R, { [Me.Open]: Se.Open, [Me.Closed]: Se.Closed }) }, s != null && y != null && $.createElement(xi, { disabled: f, data: { [s]: y }, form: i, onReset: te }), E({ ourProps: K, theirProps: m, slot: B, defaultTag: zh, name: "Listbox" }))))));
4566
4566
  }
4567
4567
  let Bh = "button";
4568
4568
  function Gh(e, t) {
4569
- let r = we(), n = Ar(), o = Rn("Listbox.Button"), a = Yi("Listbox.Button"), { id: i = n || `headlessui-listbox-button-${r}`, disabled: s = o.disabled || !1, autoFocus: l = !1, ...u } = e, c = be(t, Di(), a.actions.setButtonElement), f = wc(), [g, d, p] = fe(a, (V) => [V.listboxState, V.buttonElement, V.optionsElement]), m = g === Me.Open;
4569
+ let r = we(), n = Ar(), o = Rn("Listbox.Button"), a = Yi("Listbox.Button"), { id: i = n || `headlessui-listbox-button-${r}`, disabled: s = o.disabled || !1, autoFocus: l = !1, ...u } = e, c = be(t, Li(), a.actions.setButtonElement), f = wc(), [g, d, p] = fe(a, (V) => [V.listboxState, V.buttonElement, V.optionsElement]), m = g === Me.Open;
4570
4570
  ec(m, { trigger: d, action: oe((V) => {
4571
4571
  if (d != null && d.contains(V.target)) return Mt.Ignore;
4572
4572
  let B = V.target.closest('[role="option"]:not([data-disabled])');
@@ -4590,37 +4590,37 @@ function Gh(e, t) {
4590
4590
  }), x = Wu((V) => {
4591
4591
  var B;
4592
4592
  a.state.listboxState === Me.Open ? (lr(() => a.actions.closeListbox()), (B = a.state.buttonElement) == null || B.focus({ preventScroll: !0 })) : (V.preventDefault(), a.actions.openListbox({ focus: ie.Nothing }));
4593
- }), y = j((V) => V.preventDefault()), k = Or([i]), S = hn(), { isFocusVisible: P, focusProps: N } = Jt({ autoFocus: l }), { isHovered: O, hoverProps: H } = Xt({ isDisabled: s }), { pressed: A, pressProps: R } = Nr({ disabled: s }), L = ve({ open: g === Me.Open, active: A || g === Me.Open, disabled: s, invalid: o.invalid, value: o.value, hover: O, focus: P, autofocus: l }), K = fe(a, (V) => V.listboxState === Me.Open), T = Xe(f(), { ref: c, id: i, type: ko(e, d), "aria-haspopup": "listbox", "aria-controls": p?.id, "aria-expanded": K, "aria-labelledby": k, "aria-describedby": S, disabled: s || void 0, autoFocus: l, onKeyDown: v, onKeyUp: b, onKeyPress: y }, x, N, H, R);
4594
- return ue()({ ourProps: T, theirProps: u, slot: L, defaultTag: Bh, name: "Listbox.Button" });
4593
+ }), y = j((V) => V.preventDefault()), k = Or([i]), S = hn(), { isFocusVisible: P, focusProps: A } = Jt({ autoFocus: l }), { isHovered: O, hoverProps: H } = Xt({ isDisabled: s }), { pressed: N, pressProps: R } = Nr({ disabled: s }), D = ve({ open: g === Me.Open, active: N || g === Me.Open, disabled: s, invalid: o.invalid, value: o.value, hover: O, focus: P, autofocus: l }), q = fe(a, (V) => V.listboxState === Me.Open), T = Xe(f(), { ref: c, id: i, type: ko(e, d), "aria-haspopup": "listbox", "aria-controls": p?.id, "aria-expanded": q, "aria-labelledby": k, "aria-describedby": S, disabled: s || void 0, autoFocus: l, onKeyDown: v, onKeyUp: b, onKeyPress: y }, x, A, H, R);
4594
+ return ue()({ ourProps: T, theirProps: u, slot: D, defaultTag: Bh, name: "Listbox.Button" });
4595
4595
  }
4596
- let Yc = Ee(!1), Wh = "div", Uh = qe.RenderStrategy | qe.Static;
4596
+ let Yc = Ee(!1), Wh = "div", Uh = Ke.RenderStrategy | Ke.Static;
4597
4597
  function Yh(e, t) {
4598
4598
  let r = we(), { id: n = `headlessui-listbox-options-${r}`, anchor: o, portal: a = !1, modal: i = !0, transition: s = !1, ...l } = e, u = ji(o), [c, f] = ne(null);
4599
4599
  u && (a = !0);
4600
4600
  let g = Rn("Listbox.Options"), d = Yi("Listbox.Options"), [p, m, v, b] = fe(d, (G) => [G.listboxState, G.buttonElement, G.optionsElement, G.__demoMode]), x = kt(m), y = kt(v), k = Zt(), [S, P] = Cn(s, c, k !== null ? (k & Se.Open) === Se.Open : p === Me.Open);
4601
4601
  wo(S, m, d.actions.closeListbox);
4602
- let N = b ? !1 : i && p === Me.Open;
4603
- Co(N, y);
4602
+ let A = b ? !1 : i && p === Me.Open;
4603
+ Co(A, y);
4604
4604
  let O = b ? !1 : i && p === Me.Open;
4605
4605
  Ei(O, { allowed: oe(() => [m, v], [m, v]) });
4606
- let H = fe(d, d.selectors.didButtonMove) ? !1 : S, A = fe(d, d.selectors.hasFrozenValue) && !e.static, R = kc(A, g.value), L = oe((G) => g.compare(R, G), [g.compare, R]), K = fe(d, (G) => {
4607
- var D;
4608
- if (u == null || !((D = u?.to) != null && D.includes("selection"))) return null;
4609
- let ge = G.options.findIndex((ye) => L(ye.dataRef.current.value));
4606
+ let H = fe(d, d.selectors.didButtonMove) ? !1 : S, N = fe(d, d.selectors.hasFrozenValue) && !e.static, R = kc(N, g.value), D = oe((G) => g.compare(R, G), [g.compare, R]), q = fe(d, (G) => {
4607
+ var L;
4608
+ if (u == null || !((L = u?.to) != null && L.includes("selection"))) return null;
4609
+ let ge = G.options.findIndex((ye) => D(ye.dataRef.current.value));
4610
4610
  return ge === -1 && (ge = 0), ge;
4611
4611
  }), T = (() => {
4612
4612
  if (u == null) return;
4613
- if (K === null) return { ...u, inner: void 0 };
4613
+ if (q === null) return { ...u, inner: void 0 };
4614
4614
  let G = Array.from(g.listRef.current.values());
4615
- return { ...u, inner: { listRef: { current: G }, index: K } };
4616
- })(), [V, B] = Vi(T), X = Li(), C = be(t, u ? V : null, d.actions.setOptionsElement, f), q = rt();
4615
+ return { ...u, inner: { listRef: { current: G }, index: q } };
4616
+ })(), [V, B] = Vi(T), X = Di(), C = be(t, u ? V : null, d.actions.setOptionsElement, f), K = rt();
4617
4617
  de(() => {
4618
4618
  let G = v;
4619
4619
  G && p === Me.Open && (hi(G) || G == null || G.focus({ preventScroll: !0 }));
4620
4620
  }, [p, v]);
4621
4621
  let te = j((G) => {
4622
- var D;
4623
- switch (q.dispose(), G.key) {
4622
+ var L;
4623
+ switch (K.dispose(), G.key) {
4624
4624
  case re.Space:
4625
4625
  if (d.state.searchQuery !== "") return G.preventDefault(), G.stopPropagation(), d.actions.search(G.key);
4626
4626
  case re.Enter:
@@ -4637,55 +4637,55 @@ function Yh(e, t) {
4637
4637
  case re.PageDown:
4638
4638
  return G.preventDefault(), G.stopPropagation(), d.actions.goToOption({ focus: ie.Last });
4639
4639
  case re.Escape:
4640
- G.preventDefault(), G.stopPropagation(), lr(() => d.actions.closeListbox()), (D = d.state.buttonElement) == null || D.focus({ preventScroll: !0 });
4640
+ G.preventDefault(), G.stopPropagation(), lr(() => d.actions.closeListbox()), (L = d.state.buttonElement) == null || L.focus({ preventScroll: !0 });
4641
4641
  return;
4642
4642
  case re.Tab:
4643
4643
  G.preventDefault(), G.stopPropagation(), lr(() => d.actions.closeListbox()), Ju(d.state.buttonElement, G.shiftKey ? Re.Previous : Re.Next);
4644
4644
  break;
4645
4645
  default:
4646
- G.key.length === 1 && (d.actions.search(G.key), q.setTimeout(() => d.actions.clearSearch(), 350));
4646
+ G.key.length === 1 && (d.actions.search(G.key), K.setTimeout(() => d.actions.clearSearch(), 350));
4647
4647
  break;
4648
4648
  }
4649
4649
  }), E = fe(d, (G) => {
4650
- var D;
4651
- return (D = G.buttonElement) == null ? void 0 : D.id;
4652
- }), z = ve({ open: p === Me.Open }), I = Xe(u ? X() : {}, { id: n, ref: C, "aria-activedescendant": fe(d, d.selectors.activeDescendantId), "aria-multiselectable": g.mode === Dt.Multi ? !0 : void 0, "aria-labelledby": E, "aria-orientation": g.orientation, onKeyDown: te, role: "listbox", tabIndex: p === Me.Open ? 0 : void 0, style: { ...l.style, ...B, "--button-width": ki(S, m, !0).width }, ...kn(P) }), M = ue(), Q = xe(() => g.mode === Dt.Multi ? g : { ...g, isSelected: L }, [g, L]);
4653
- return $.createElement(Oo, { enabled: a ? e.static || S : !1, ownerDocument: x }, $.createElement(Do.Provider, { value: Q }, M({ ourProps: I, theirProps: l, slot: z, defaultTag: Wh, features: Uh, visible: H, name: "Listbox.Options" })));
4654
- }
4655
- let Kh = "div";
4656
- function qh(e, t) {
4657
- let r = we(), { id: n = `headlessui-listbox-option-${r}`, disabled: o = !1, value: a, ...i } = e, s = pe(Yc) === !0, l = Rn("Listbox.Option"), u = Yi("Listbox.Option"), c = fe(u, (A) => u.selectors.isActive(A, n)), f = l.isSelected(a), g = Y(null), d = Hc(g), p = ut({ disabled: o, value: a, domRef: g, get textValue() {
4650
+ var L;
4651
+ return (L = G.buttonElement) == null ? void 0 : L.id;
4652
+ }), z = ve({ open: p === Me.Open }), I = Xe(u ? X() : {}, { id: n, ref: C, "aria-activedescendant": fe(d, d.selectors.activeDescendantId), "aria-multiselectable": g.mode === Lt.Multi ? !0 : void 0, "aria-labelledby": E, "aria-orientation": g.orientation, onKeyDown: te, role: "listbox", tabIndex: p === Me.Open ? 0 : void 0, style: { ...l.style, ...B, "--button-width": ki(S, m, !0).width }, ...kn(P) }), M = ue(), Q = xe(() => g.mode === Lt.Multi ? g : { ...g, isSelected: D }, [g, D]);
4653
+ return $.createElement(Oo, { enabled: a ? e.static || S : !1, ownerDocument: x }, $.createElement(Lo.Provider, { value: Q }, M({ ourProps: I, theirProps: l, slot: z, defaultTag: Wh, features: Uh, visible: H, name: "Listbox.Options" })));
4654
+ }
4655
+ let qh = "div";
4656
+ function Kh(e, t) {
4657
+ let r = we(), { id: n = `headlessui-listbox-option-${r}`, disabled: o = !1, value: a, ...i } = e, s = pe(Yc) === !0, l = Rn("Listbox.Option"), u = Yi("Listbox.Option"), c = fe(u, (N) => u.selectors.isActive(N, n)), f = l.isSelected(a), g = Y(null), d = Hc(g), p = ut({ disabled: o, value: a, domRef: g, get textValue() {
4658
4658
  return d();
4659
- } }), m = be(t, g, (A) => {
4660
- A ? l.listRef.current.set(n, A) : l.listRef.current.delete(n);
4661
- }), v = fe(u, (A) => u.selectors.shouldScrollIntoView(A, n));
4659
+ } }), m = be(t, g, (N) => {
4660
+ N ? l.listRef.current.set(n, N) : l.listRef.current.delete(n);
4661
+ }), v = fe(u, (N) => u.selectors.shouldScrollIntoView(N, n));
4662
4662
  me(() => {
4663
- if (v) return De().requestAnimationFrame(() => {
4664
- var A, R;
4665
- (R = (A = g.current) == null ? void 0 : A.scrollIntoView) == null || R.call(A, { block: "nearest" });
4663
+ if (v) return Le().requestAnimationFrame(() => {
4664
+ var N, R;
4665
+ (R = (N = g.current) == null ? void 0 : N.scrollIntoView) == null || R.call(N, { block: "nearest" });
4666
4666
  });
4667
4667
  }, [v, g]), me(() => {
4668
4668
  if (!s) return u.actions.registerOption(n, p), () => u.actions.unregisterOption(n);
4669
4669
  }, [p, n, s]);
4670
- let b = j((A) => {
4671
- if (o) return A.preventDefault();
4670
+ let b = j((N) => {
4671
+ if (o) return N.preventDefault();
4672
4672
  u.actions.selectOption(a);
4673
4673
  }), x = j(() => {
4674
4674
  if (o) return u.actions.goToOption({ focus: ie.Nothing });
4675
4675
  u.actions.goToOption({ focus: ie.Specific, id: n });
4676
- }), y = tc(), k = j((A) => y.update(A)), S = j((A) => {
4677
- y.wasMoved(A) && (o || c && u.state.activationTrigger === qn.Pointer || u.actions.goToOption({ focus: ie.Specific, id: n }, qn.Pointer));
4678
- }), P = j((A) => {
4679
- y.wasMoved(A) && (o || c && u.state.activationTrigger === qn.Pointer && u.actions.goToOption({ focus: ie.Nothing }));
4680
- }), N = ve({ active: c, focus: c, selected: f, disabled: o, selectedOption: f && s }), O = s ? {} : { id: n, ref: m, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": f, disabled: void 0, onClick: b, onFocus: x, onPointerEnter: k, onMouseEnter: k, onPointerMove: S, onMouseMove: S, onPointerLeave: P, onMouseLeave: P }, H = ue();
4681
- return !f && s ? null : H({ ourProps: O, theirProps: i, slot: N, defaultTag: Kh, name: "Listbox.Option" });
4676
+ }), y = tc(), k = j((N) => y.update(N)), S = j((N) => {
4677
+ y.wasMoved(N) && (o || c && u.state.activationTrigger === Kn.Pointer || u.actions.goToOption({ focus: ie.Specific, id: n }, Kn.Pointer));
4678
+ }), P = j((N) => {
4679
+ y.wasMoved(N) && (o || c && u.state.activationTrigger === Kn.Pointer && u.actions.goToOption({ focus: ie.Nothing }));
4680
+ }), A = ve({ active: c, focus: c, selected: f, disabled: o, selectedOption: f && s }), O = s ? {} : { id: n, ref: m, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": f, disabled: void 0, onClick: b, onFocus: x, onPointerEnter: k, onMouseEnter: k, onPointerMove: S, onMouseMove: S, onPointerLeave: P, onMouseLeave: P }, H = ue();
4681
+ return !f && s ? null : H({ ourProps: O, theirProps: i, slot: A, defaultTag: qh, name: "Listbox.Option" });
4682
4682
  }
4683
4683
  let Xh = Ae;
4684
4684
  function Jh(e, t) {
4685
- let { options: r, placeholder: n, ...o } = e, a = { ref: be(t) }, i = Rn("ListboxSelectedOption"), s = ve({}), l = i.value === void 0 || i.value === null || i.mode === Dt.Multi && Array.isArray(i.value) && i.value.length === 0, u = ue();
4685
+ let { options: r, placeholder: n, ...o } = e, a = { ref: be(t) }, i = Rn("ListboxSelectedOption"), s = ve({}), l = i.value === void 0 || i.value === null || i.mode === Lt.Multi && Array.isArray(i.value) && i.value.length === 0, u = ue();
4686
4686
  return $.createElement(Yc.Provider, { value: !0 }, u({ ourProps: a, theirProps: { ...o, children: $.createElement($.Fragment, null, n && l ? n : r) }, slot: s, defaultTag: Xh, name: "ListboxSelectedOption" }));
4687
4687
  }
4688
- let Qh = le(Hh), Kc = le(Gh), Zh = Ir, qc = le(Yh), Xc = le(qh), ev = le(Jh), tv = Object.assign(Qh, { Button: Kc, Label: Zh, Options: qc, Option: Xc, SelectedOption: ev });
4688
+ let Qh = le(Hh), qc = le(Gh), Zh = Ir, Kc = le(Yh), Xc = le(Kh), ev = le(Jh), tv = Object.assign(Qh, { Button: qc, Label: Zh, Options: Kc, Option: Xc, SelectedOption: ev });
4689
4689
  var rv = Object.defineProperty, nv = (e, t, r) => t in e ? rv(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dl = (e, t, r) => (nv(e, typeof t != "symbol" ? t + "" : t, r), r), Te = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Te || {}), so = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(so || {}), he = ((e) => (e[e.OpenMenu = 0] = "OpenMenu", e[e.CloseMenu = 1] = "CloseMenu", e[e.GoToItem = 2] = "GoToItem", e[e.Search = 3] = "Search", e[e.ClearSearch = 4] = "ClearSearch", e[e.RegisterItems = 5] = "RegisterItems", e[e.UnregisterItems = 6] = "UnregisterItems", e[e.SetButtonElement = 7] = "SetButtonElement", e[e.SetItemsElement = 8] = "SetItemsElement", e[e.SortItems = 9] = "SortItems", e[e.MarkButtonAsMoved = 10] = "MarkButtonAsMoved", e))(he || {});
4690
4690
  function fl(e, t = (r) => r) {
4691
4691
  let r = e.activeItemIndex !== null ? e.items[e.activeItemIndex] : null, n = Pi(t(e.items.slice()), (a) => a.dataRef.current.domRef.current), o = r ? n.indexOf(r) : null;
@@ -4794,7 +4794,7 @@ let ov = { 1(e) {
4794
4794
  }
4795
4795
  };
4796
4796
  const Qc = Ee(null);
4797
- function Ki(e) {
4797
+ function qi(e) {
4798
4798
  let t = pe(Qc);
4799
4799
  if (t === null) {
4800
4800
  let r = new Error(`<${e} /> is missing a parent <Menu /> component.`);
@@ -4820,43 +4820,43 @@ function sv(e, t) {
4820
4820
  }
4821
4821
  let lv = "button";
4822
4822
  function uv(e, t) {
4823
- let r = Ki("Menu.Button"), n = we(), { id: o = `headlessui-menu-button-${n}`, disabled: a = !1, autoFocus: i = !1, ...s } = e, l = Y(null), u = wc(), c = be(t, l, Di(), j((A) => r.send({ type: he.SetButtonElement, element: A }))), f = j((A) => {
4824
- switch (A.key) {
4823
+ let r = qi("Menu.Button"), n = we(), { id: o = `headlessui-menu-button-${n}`, disabled: a = !1, autoFocus: i = !1, ...s } = e, l = Y(null), u = wc(), c = be(t, l, Li(), j((N) => r.send({ type: he.SetButtonElement, element: N }))), f = j((N) => {
4824
+ switch (N.key) {
4825
4825
  case re.Space:
4826
4826
  case re.Enter:
4827
4827
  case re.ArrowDown:
4828
- A.preventDefault(), A.stopPropagation(), r.send({ type: he.OpenMenu, focus: { focus: ie.First } });
4828
+ N.preventDefault(), N.stopPropagation(), r.send({ type: he.OpenMenu, focus: { focus: ie.First } });
4829
4829
  break;
4830
4830
  case re.ArrowUp:
4831
- A.preventDefault(), A.stopPropagation(), r.send({ type: he.OpenMenu, focus: { focus: ie.Last } });
4831
+ N.preventDefault(), N.stopPropagation(), r.send({ type: he.OpenMenu, focus: { focus: ie.Last } });
4832
4832
  break;
4833
4833
  }
4834
- }), g = j((A) => {
4835
- A.key === re.Space && A.preventDefault();
4836
- }), [d, p, m] = fe(r, (A) => [A.menuState, A.buttonElement, A.itemsElement]), v = d === Te.Open;
4837
- ec(v, { trigger: p, action: oe((A) => {
4838
- if (p != null && p.contains(A.target)) return Mt.Ignore;
4839
- let R = A.target.closest('[role="menuitem"]:not([data-disabled])');
4840
- return Oe(R) ? Mt.Select(R) : m != null && m.contains(A.target) ? Mt.Ignore : Mt.Close;
4841
- }, [p, m]), close: oe(() => r.send({ type: he.CloseMenu }), []), select: oe((A) => A.click(), []) });
4842
- let b = Wu((A) => {
4834
+ }), g = j((N) => {
4835
+ N.key === re.Space && N.preventDefault();
4836
+ }), [d, p, m] = fe(r, (N) => [N.menuState, N.buttonElement, N.itemsElement]), v = d === Te.Open;
4837
+ ec(v, { trigger: p, action: oe((N) => {
4838
+ if (p != null && p.contains(N.target)) return Mt.Ignore;
4839
+ let R = N.target.closest('[role="menuitem"]:not([data-disabled])');
4840
+ return Oe(R) ? Mt.Select(R) : m != null && m.contains(N.target) ? Mt.Ignore : Mt.Close;
4841
+ }, [p, m]), close: oe(() => r.send({ type: he.CloseMenu }), []), select: oe((N) => N.click(), []) });
4842
+ let b = Wu((N) => {
4843
4843
  var R;
4844
- a || (d === Te.Open ? (lr(() => r.send({ type: he.CloseMenu })), (R = l.current) == null || R.focus({ preventScroll: !0 })) : (A.preventDefault(), r.send({ type: he.OpenMenu, focus: { focus: ie.Nothing }, trigger: so.Pointer })));
4845
- }), { isFocusVisible: x, focusProps: y } = Jt({ autoFocus: i }), { isHovered: k, hoverProps: S } = Xt({ isDisabled: a }), { pressed: P, pressProps: N } = Nr({ disabled: a }), O = ve({ open: d === Te.Open, active: P || d === Te.Open, disabled: a, hover: k, focus: x, autofocus: i }), H = Xe(u(), { ref: c, id: o, type: ko(e, l.current), "aria-haspopup": "menu", "aria-controls": m?.id, "aria-expanded": d === Te.Open, disabled: a || void 0, autoFocus: i, onKeyDown: f, onKeyUp: g }, b, y, S, N);
4844
+ a || (d === Te.Open ? (lr(() => r.send({ type: he.CloseMenu })), (R = l.current) == null || R.focus({ preventScroll: !0 })) : (N.preventDefault(), r.send({ type: he.OpenMenu, focus: { focus: ie.Nothing }, trigger: so.Pointer })));
4845
+ }), { isFocusVisible: x, focusProps: y } = Jt({ autoFocus: i }), { isHovered: k, hoverProps: S } = Xt({ isDisabled: a }), { pressed: P, pressProps: A } = Nr({ disabled: a }), O = ve({ open: d === Te.Open, active: P || d === Te.Open, disabled: a, hover: k, focus: x, autofocus: i }), H = Xe(u(), { ref: c, id: o, type: ko(e, l.current), "aria-haspopup": "menu", "aria-controls": m?.id, "aria-expanded": d === Te.Open, disabled: a || void 0, autoFocus: i, onKeyDown: f, onKeyUp: g }, b, y, S, A);
4846
4846
  return ue()({ ourProps: H, theirProps: s, slot: O, defaultTag: lv, name: "Menu.Button" });
4847
4847
  }
4848
- let cv = "div", dv = qe.RenderStrategy | qe.Static;
4848
+ let cv = "div", dv = Ke.RenderStrategy | Ke.Static;
4849
4849
  function fv(e, t) {
4850
- let r = we(), { id: n = `headlessui-menu-items-${r}`, anchor: o, portal: a = !1, modal: i = !0, transition: s = !1, ...l } = e, u = ji(o), c = Ki("Menu.Items"), [f, g] = Vi(u), d = Li(), [p, m] = ne(null), v = be(t, u ? f : null, j((C) => c.send({ type: he.SetItemsElement, element: C })), m), [b, x] = fe(c, (C) => [C.menuState, C.buttonElement]), y = kt(x), k = kt(p);
4850
+ let r = we(), { id: n = `headlessui-menu-items-${r}`, anchor: o, portal: a = !1, modal: i = !0, transition: s = !1, ...l } = e, u = ji(o), c = qi("Menu.Items"), [f, g] = Vi(u), d = Di(), [p, m] = ne(null), v = be(t, u ? f : null, j((C) => c.send({ type: he.SetItemsElement, element: C })), m), [b, x] = fe(c, (C) => [C.menuState, C.buttonElement]), y = kt(x), k = kt(p);
4851
4851
  u && (a = !0);
4852
- let S = Zt(), [P, N] = Cn(s, p, S !== null ? (S & Se.Open) === Se.Open : b === Te.Open);
4852
+ let S = Zt(), [P, A] = Cn(s, p, S !== null ? (S & Se.Open) === Se.Open : b === Te.Open);
4853
4853
  wo(P, x, () => {
4854
4854
  c.send({ type: he.CloseMenu });
4855
4855
  });
4856
4856
  let O = fe(c, (C) => C.__demoMode), H = O ? !1 : i && b === Te.Open;
4857
4857
  Co(H, k);
4858
- let A = O ? !1 : i && b === Te.Open;
4859
- Ei(A, { allowed: oe(() => [x, p], [x, p]) });
4858
+ let N = O ? !1 : i && b === Te.Open;
4859
+ Ei(N, { allowed: oe(() => [x, p], [x, p]) });
4860
4860
  let R = fe(c, c.selectors.didButtonMove) ? !1 : P;
4861
4861
  de(() => {
4862
4862
  let C = p;
@@ -4866,15 +4866,15 @@ function fv(e, t) {
4866
4866
  }, walk(C) {
4867
4867
  C.setAttribute("role", "none");
4868
4868
  } });
4869
- let L = rt(), K = j((C) => {
4870
- var q, te, E;
4871
- switch (L.dispose(), C.key) {
4869
+ let D = rt(), q = j((C) => {
4870
+ var K, te, E;
4871
+ switch (D.dispose(), C.key) {
4872
4872
  case re.Space:
4873
4873
  if (c.state.searchQuery !== "") return C.preventDefault(), C.stopPropagation(), c.send({ type: he.Search, value: C.key });
4874
4874
  case re.Enter:
4875
4875
  if (C.preventDefault(), C.stopPropagation(), c.state.activeItemIndex !== null) {
4876
4876
  let { dataRef: z } = c.state.items[c.state.activeItemIndex];
4877
- (te = (q = z.current) == null ? void 0 : q.domRef.current) == null || te.click();
4877
+ (te = (K = z.current) == null ? void 0 : K.domRef.current) == null || te.click();
4878
4878
  }
4879
4879
  c.send({ type: he.CloseMenu }), Xu(c.state.buttonElement);
4880
4880
  break;
@@ -4895,24 +4895,24 @@ function fv(e, t) {
4895
4895
  C.preventDefault(), C.stopPropagation(), lr(() => c.send({ type: he.CloseMenu })), Ju(c.state.buttonElement, C.shiftKey ? Re.Previous : Re.Next);
4896
4896
  break;
4897
4897
  default:
4898
- C.key.length === 1 && (c.send({ type: he.Search, value: C.key }), L.setTimeout(() => c.send({ type: he.ClearSearch }), 350));
4898
+ C.key.length === 1 && (c.send({ type: he.Search, value: C.key }), D.setTimeout(() => c.send({ type: he.ClearSearch }), 350));
4899
4899
  break;
4900
4900
  }
4901
4901
  }), T = j((C) => {
4902
4902
  C.key === re.Space && C.preventDefault();
4903
4903
  }), V = ve({ open: b === Te.Open }), B = Xe(u ? d() : {}, { "aria-activedescendant": fe(c, c.selectors.activeDescendantId), "aria-labelledby": fe(c, (C) => {
4904
- var q;
4905
- return (q = C.buttonElement) == null ? void 0 : q.id;
4906
- }), id: n, onKeyDown: K, onKeyUp: T, role: "menu", tabIndex: b === Te.Open ? 0 : void 0, ref: v, style: { ...l.style, ...g, "--button-width": ki(P, x, !0).width }, ...kn(N) }), X = ue();
4904
+ var K;
4905
+ return (K = C.buttonElement) == null ? void 0 : K.id;
4906
+ }), id: n, onKeyDown: q, onKeyUp: T, role: "menu", tabIndex: b === Te.Open ? 0 : void 0, ref: v, style: { ...l.style, ...g, "--button-width": ki(P, x, !0).width }, ...kn(A) }), X = ue();
4907
4907
  return $.createElement(Oo, { enabled: a ? e.static || P : !1, ownerDocument: y }, X({ ourProps: B, theirProps: l, slot: V, defaultTag: cv, features: dv, visible: R, name: "Menu.Items" }));
4908
4908
  }
4909
4909
  let gv = Ae;
4910
4910
  function pv(e, t) {
4911
- let r = we(), { id: n = `headlessui-menu-item-${r}`, disabled: o = !1, ...a } = e, i = Ki("Menu.Item"), s = fe(i, (R) => i.selectors.isActive(R, n)), l = Y(null), u = be(t, l), c = fe(i, (R) => i.selectors.shouldScrollIntoView(R, n));
4911
+ let r = we(), { id: n = `headlessui-menu-item-${r}`, disabled: o = !1, ...a } = e, i = qi("Menu.Item"), s = fe(i, (R) => i.selectors.isActive(R, n)), l = Y(null), u = be(t, l), c = fe(i, (R) => i.selectors.shouldScrollIntoView(R, n));
4912
4912
  me(() => {
4913
- if (c) return De().requestAnimationFrame(() => {
4914
- var R, L;
4915
- (L = (R = l.current) == null ? void 0 : R.scrollIntoView) == null || L.call(R, { block: "nearest" });
4913
+ if (c) return Le().requestAnimationFrame(() => {
4914
+ var R, D;
4915
+ (D = (R = l.current) == null ? void 0 : R.scrollIntoView) == null || D.call(R, { block: "nearest" });
4916
4916
  });
4917
4917
  }, [c, l]);
4918
4918
  let f = Hc(l), g = Y({ disabled: o, domRef: l, get textValue() {
@@ -4933,8 +4933,8 @@ function pv(e, t) {
4933
4933
  v.wasMoved(R) && (o || s || i.send({ type: he.GoToItem, focus: ie.Specific, id: n, trigger: so.Pointer }));
4934
4934
  }), y = j((R) => {
4935
4935
  v.wasMoved(R) && (o || s && i.state.activationTrigger === so.Pointer && i.send({ type: he.GoToItem, focus: ie.Nothing }));
4936
- }), [k, S] = bn(), [P, N] = bo(), O = ve({ active: s, focus: s, disabled: o, close: d }), H = { id: n, ref: u, role: "menuitem", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-labelledby": k, "aria-describedby": P, disabled: void 0, onClick: p, onFocus: m, onPointerEnter: b, onMouseEnter: b, onPointerMove: x, onMouseMove: x, onPointerLeave: y, onMouseLeave: y }, A = ue();
4937
- return $.createElement(S, null, $.createElement(N, null, A({ ourProps: H, theirProps: a, slot: O, defaultTag: gv, name: "Menu.Item" })));
4936
+ }), [k, S] = bn(), [P, A] = bo(), O = ve({ active: s, focus: s, disabled: o, close: d }), H = { id: n, ref: u, role: "menuitem", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-labelledby": k, "aria-describedby": P, disabled: void 0, onClick: p, onFocus: m, onPointerEnter: b, onMouseEnter: b, onPointerMove: x, onMouseMove: x, onPointerLeave: y, onMouseLeave: y }, N = ue();
4937
+ return $.createElement(S, null, $.createElement(A, null, N({ ourProps: H, theirProps: a, slot: O, defaultTag: gv, name: "Menu.Item" })));
4938
4938
  }
4939
4939
  let mv = "div";
4940
4940
  function hv(e, t) {
@@ -4992,11 +4992,11 @@ let Nv = { 0: (e) => e.popoverState === 0 ? e : { ...e, popoverState: 0, __demoM
4992
4992
  }
4993
4993
  };
4994
4994
  const nd = Ee(null);
4995
- function Lo(e) {
4995
+ function Do(e) {
4996
4996
  let t = pe(nd);
4997
4997
  if (t === null) {
4998
4998
  let r = new Error(`<${e} /> is missing a parent <Popover /> component.`);
4999
- throw Error.captureStackTrace && Error.captureStackTrace(r, Lo), r;
4999
+ throw Error.captureStackTrace && Error.captureStackTrace(r, Do), r;
5000
5000
  }
5001
5001
  return t;
5002
5002
  }
@@ -5004,10 +5004,10 @@ function Ov({ id: e, __demoMode: t = !1 }) {
5004
5004
  let r = xe(() => Av.new({ id: e, __demoMode: t }), []);
5005
5005
  return Pn(() => r.dispose()), r;
5006
5006
  }
5007
- let qi = Ee(null);
5008
- qi.displayName = "PopoverGroupContext";
5007
+ let Ki = Ee(null);
5008
+ Ki.displayName = "PopoverGroupContext";
5009
5009
  function od() {
5010
- return pe(qi);
5010
+ return pe(Ki);
5011
5011
  }
5012
5012
  let Vo = Ee(null);
5013
5013
  Vo.displayName = "PopoverPanelContext";
@@ -5025,29 +5025,29 @@ function Tv(e, t) {
5025
5025
  return (V = x?.isFocusWithinPopoverGroup()) != null ? V : B && (c?.contains(B) || f?.contains(B));
5026
5026
  });
5027
5027
  de(() => y?.(b), [y, b]);
5028
- let [S, P] = $c(), N = Bi(c), O = Oc({ mainTreeNode: N, portals: S, defaultContainers: [{ get current() {
5028
+ let [S, P] = $c(), A = Bi(c), O = Oc({ mainTreeNode: A, portals: S, defaultContainers: [{ get current() {
5029
5029
  return i.state.button;
5030
5030
  } }, { get current() {
5031
5031
  return i.state.panel;
5032
5032
  } }] });
5033
5033
  Ri(p, "focus", (T) => {
5034
- var V, B, X, C, q, te;
5035
- T.target !== window && Je(T.target) && i.state.popoverState === $e.Open && (k() || i.state.button && i.state.panel && (O.contains(T.target) || (B = (V = i.state.beforePanelSentinel.current) == null ? void 0 : V.contains) != null && B.call(V, T.target) || (C = (X = i.state.afterPanelSentinel.current) == null ? void 0 : X.contains) != null && C.call(X, T.target) || (te = (q = i.state.afterButtonSentinel.current) == null ? void 0 : q.contains) != null && te.call(q, T.target) || i.actions.close()));
5034
+ var V, B, X, C, K, te;
5035
+ T.target !== window && Je(T.target) && i.state.popoverState === $e.Open && (k() || i.state.button && i.state.panel && (O.contains(T.target) || (B = (V = i.state.beforePanelSentinel.current) == null ? void 0 : V.contains) != null && B.call(V, T.target) || (C = (X = i.state.afterPanelSentinel.current) == null ? void 0 : X.contains) != null && C.call(X, T.target) || (te = (K = i.state.afterButtonSentinel.current) == null ? void 0 : K.contains) != null && te.call(K, T.target) || i.actions.close()));
5036
5036
  }, !0);
5037
5037
  let H = u === $e.Open;
5038
5038
  So(H, O.resolveContainers, (T, V) => {
5039
5039
  i.actions.close(), Sn(V, wn.Loose) || (T.preventDefault(), c?.focus());
5040
5040
  });
5041
- let A = ve({ open: u === $e.Open, close: i.actions.refocusableClose }), R = fe(i, oe((T) => Pe(T.popoverState, { [$e.Open]: Se.Open, [$e.Closed]: Se.Closed }), [])), L = { ref: l }, K = ue();
5042
- return $.createElement(io, { node: N }, $.createElement(zi, null, $.createElement(Vo.Provider, { value: null }, $.createElement(nd.Provider, { value: i }, $.createElement(Si, { value: i.actions.refocusableClose }, $.createElement(Ao, { value: R }, $.createElement(P, null, K({ ourProps: L, theirProps: a, slot: A, defaultTag: Fv, name: "Popover" }))))))));
5041
+ let N = ve({ open: u === $e.Open, close: i.actions.refocusableClose }), R = fe(i, oe((T) => Pe(T.popoverState, { [$e.Open]: Se.Open, [$e.Closed]: Se.Closed }), [])), D = { ref: l }, q = ue();
5042
+ return $.createElement(io, { node: A }, $.createElement(zi, null, $.createElement(Vo.Provider, { value: null }, $.createElement(nd.Provider, { value: i }, $.createElement(Si, { value: i.actions.refocusableClose }, $.createElement(Ao, { value: R }, $.createElement(P, null, q({ ourProps: D, theirProps: a, slot: N, defaultTag: Fv, name: "Popover" }))))))));
5043
5043
  }
5044
5044
  let _v = "button";
5045
5045
  function Mv(e, t) {
5046
- let r = we(), { id: n = `headlessui-popover-button-${r}`, disabled: o = !1, autoFocus: a = !1, ...i } = e, s = Lo("Popover.Button"), [l, u, c, f, g, d, p] = fe(s, oe((M) => [M.popoverState, s.selectors.isPortalled(M), M.button, M.buttonId, M.panel, M.panelId, M.afterButtonSentinel], [])), m = Y(null), v = `headlessui-focus-sentinel-${we()}`, b = od(), x = b?.closeOthers, y = Iv() !== null;
5046
+ let r = we(), { id: n = `headlessui-popover-button-${r}`, disabled: o = !1, autoFocus: a = !1, ...i } = e, s = Do("Popover.Button"), [l, u, c, f, g, d, p] = fe(s, oe((M) => [M.popoverState, s.selectors.isPortalled(M), M.button, M.buttonId, M.panel, M.panelId, M.afterButtonSentinel], [])), m = Y(null), v = `headlessui-focus-sentinel-${we()}`, b = od(), x = b?.closeOthers, y = Iv() !== null;
5047
5047
  de(() => {
5048
5048
  if (!y) return s.actions.setButtonId(n), () => s.actions.setButtonId(null);
5049
5049
  }, [y, n, s]);
5050
- let [k] = ne(() => /* @__PURE__ */ Symbol()), S = be(m, t, Di(), j((M) => {
5050
+ let [k] = ne(() => /* @__PURE__ */ Symbol()), S = be(m, t, Li(), j((M) => {
5051
5051
  if (!y) {
5052
5052
  if (M) s.state.buttons.current.push(k);
5053
5053
  else {
@@ -5056,14 +5056,14 @@ function Mv(e, t) {
5056
5056
  }
5057
5057
  s.state.buttons.current.length > 1 && console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."), M && s.actions.setButton(M);
5058
5058
  }
5059
- })), P = be(m, t), N = j((M) => {
5060
- var Q, G, D;
5059
+ })), P = be(m, t), A = j((M) => {
5060
+ var Q, G, L;
5061
5061
  if (y) {
5062
5062
  if (s.state.popoverState === $e.Closed) return;
5063
5063
  switch (M.key) {
5064
5064
  case re.Space:
5065
5065
  case re.Enter:
5066
- M.preventDefault(), (G = (Q = M.target).click) == null || G.call(Q), s.actions.close(), (D = s.state.button) == null || D.focus();
5066
+ M.preventDefault(), (G = (Q = M.target).click) == null || G.call(Q), s.actions.close(), (L = s.state.button) == null || L.focus();
5067
5067
  break;
5068
5068
  }
5069
5069
  } else switch (M.key) {
@@ -5084,9 +5084,9 @@ function Mv(e, t) {
5084
5084
  }), H = j((M) => {
5085
5085
  var Q, G;
5086
5086
  Sr(M.currentTarget) || o || (y ? (s.actions.close(), (Q = s.state.button) == null || Q.focus()) : (M.preventDefault(), M.stopPropagation(), s.state.popoverState === $e.Closed ? (x?.(s.state.buttonId), s.actions.open()) : s.actions.close(), (G = s.state.button) == null || G.focus()));
5087
- }), A = j((M) => {
5087
+ }), N = j((M) => {
5088
5088
  M.preventDefault(), M.stopPropagation();
5089
- }), { isFocusVisible: R, focusProps: L } = Jt({ autoFocus: a }), { isHovered: K, hoverProps: T } = Xt({ isDisabled: o }), { pressed: V, pressProps: B } = Nr({ disabled: o }), X = l === $e.Open, C = ve({ open: X, active: V || X, disabled: o, hover: K, focus: R, autofocus: a }), q = ko(e, c), te = Xe(y ? { ref: P, type: q, onKeyDown: N, onClick: H, disabled: o || void 0, autoFocus: a } : { ref: S, id: f, type: q, "aria-expanded": l === $e.Open, "aria-controls": g ? d : void 0, disabled: o || void 0, autoFocus: a, onKeyDown: N, onKeyUp: O, onClick: H, onMouseDown: A }, L, T, B), E = Wi(), z = j(() => {
5089
+ }), { isFocusVisible: R, focusProps: D } = Jt({ autoFocus: a }), { isHovered: q, hoverProps: T } = Xt({ isDisabled: o }), { pressed: V, pressProps: B } = Nr({ disabled: o }), X = l === $e.Open, C = ve({ open: X, active: V || X, disabled: o, hover: q, focus: R, autofocus: a }), K = ko(e, c), te = Xe(y ? { ref: P, type: K, onKeyDown: A, onClick: H, disabled: o || void 0, autoFocus: a } : { ref: S, id: f, type: K, "aria-expanded": l === $e.Open, "aria-controls": g ? d : void 0, disabled: o || void 0, autoFocus: a, onKeyDown: A, onKeyUp: O, onClick: H, onMouseDown: N }, D, T, B), E = Wi(), z = j(() => {
5090
5090
  if (!Oe(s.state.panel)) return;
5091
5091
  let M = s.state.panel;
5092
5092
  function Q() {
@@ -5096,22 +5096,22 @@ function Mv(e, t) {
5096
5096
  }), I = ue();
5097
5097
  return $.createElement($.Fragment, null, I({ ourProps: te, theirProps: i, slot: C, defaultTag: _v, name: "Popover.Button" }), X && !y && u && $.createElement(St, { id: v, ref: p, features: ct.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: z }));
5098
5098
  }
5099
- let jv = "div", Dv = qe.RenderStrategy | qe.Static;
5099
+ let jv = "div", Lv = Ke.RenderStrategy | Ke.Static;
5100
5100
  function ad(e, t) {
5101
- let r = we(), { id: n = `headlessui-popover-backdrop-${r}`, transition: o = !1, ...a } = e, i = Lo("Popover.Backdrop"), s = fe(i, oe((b) => b.popoverState, [])), [l, u] = ne(null), c = be(t, u), f = Zt(), [g, d] = Cn(o, l, f !== null ? (f & Se.Open) === Se.Open : s === $e.Open), p = j((b) => {
5101
+ let r = we(), { id: n = `headlessui-popover-backdrop-${r}`, transition: o = !1, ...a } = e, i = Do("Popover.Backdrop"), s = fe(i, oe((b) => b.popoverState, [])), [l, u] = ne(null), c = be(t, u), f = Zt(), [g, d] = Cn(o, l, f !== null ? (f & Se.Open) === Se.Open : s === $e.Open), p = j((b) => {
5102
5102
  if (Sr(b.currentTarget)) return b.preventDefault();
5103
5103
  i.actions.close();
5104
5104
  }), m = ve({ open: s === $e.Open }), v = { ref: c, id: n, "aria-hidden": !0, onClick: p, ...kn(d) };
5105
- return ue()({ ourProps: v, theirProps: a, slot: m, defaultTag: jv, features: Dv, visible: g, name: "Popover.Backdrop" });
5105
+ return ue()({ ourProps: v, theirProps: a, slot: m, defaultTag: jv, features: Lv, visible: g, name: "Popover.Backdrop" });
5106
5106
  }
5107
- let Lv = "div", Vv = qe.RenderStrategy | qe.Static;
5107
+ let Dv = "div", Vv = Ke.RenderStrategy | Ke.Static;
5108
5108
  function zv(e, t) {
5109
- let r = we(), { id: n = `headlessui-popover-panel-${r}`, focus: o = !1, anchor: a, portal: i = !1, modal: s = !1, transition: l = !1, ...u } = e, c = Lo("Popover.Panel"), f = fe(c, c.selectors.isPortalled), [g, d, p, m, v] = fe(c, oe((I) => [I.popoverState, I.button, I.__demoMode, I.beforePanelSentinel, I.afterPanelSentinel], [])), b = `headlessui-focus-sentinel-before-${r}`, x = `headlessui-focus-sentinel-after-${r}`, y = Y(null), k = ji(a), [S, P] = Vi(k), N = Li();
5109
+ let r = we(), { id: n = `headlessui-popover-panel-${r}`, focus: o = !1, anchor: a, portal: i = !1, modal: s = !1, transition: l = !1, ...u } = e, c = Do("Popover.Panel"), f = fe(c, c.selectors.isPortalled), [g, d, p, m, v] = fe(c, oe((I) => [I.popoverState, I.button, I.__demoMode, I.beforePanelSentinel, I.afterPanelSentinel], [])), b = `headlessui-focus-sentinel-before-${r}`, x = `headlessui-focus-sentinel-after-${r}`, y = Y(null), k = ji(a), [S, P] = Vi(k), A = Di();
5110
5110
  k && (i = !0);
5111
- let [O, H] = ne(null), A = be(y, t, k ? S : null, c.actions.setPanel, H), R = kt(d), L = kt(y.current);
5111
+ let [O, H] = ne(null), N = be(y, t, k ? S : null, c.actions.setPanel, H), R = kt(d), D = kt(y.current);
5112
5112
  me(() => (c.actions.setPanelId(n), () => c.actions.setPanelId(null)), [n, c]);
5113
- let K = Zt(), [T, V] = Cn(l, O, K !== null ? (K & Se.Open) === Se.Open : g === $e.Open);
5114
- wo(T, d, c.actions.close), Co(p ? !1 : s && T, L);
5113
+ let q = Zt(), [T, V] = Cn(l, O, q !== null ? (q & Se.Open) === Se.Open : g === $e.Open);
5114
+ wo(T, d, c.actions.close), Co(p ? !1 : s && T, D);
5115
5115
  let B = j((I) => {
5116
5116
  var M;
5117
5117
  switch (I.key) {
@@ -5131,15 +5131,15 @@ function zv(e, t) {
5131
5131
  let I = Ht(y.current);
5132
5132
  y.current.contains(I) || He(y.current, Re.First);
5133
5133
  }, [p, o, y.current, g]);
5134
- let X = ve({ open: g === $e.Open, close: c.actions.refocusableClose }), C = Xe(k ? N() : {}, { ref: A, id: n, onKeyDown: B, onBlur: o && g === $e.Open ? (I) => {
5135
- var M, Q, G, D, ge;
5134
+ let X = ve({ open: g === $e.Open, close: c.actions.refocusableClose }), C = Xe(k ? A() : {}, { ref: N, id: n, onKeyDown: B, onBlur: o && g === $e.Open ? (I) => {
5135
+ var M, Q, G, L, ge;
5136
5136
  let ye = I.relatedTarget;
5137
- ye && y.current && ((M = y.current) != null && M.contains(ye) || (c.actions.close(), ((G = (Q = m.current) == null ? void 0 : Q.contains) != null && G.call(Q, ye) || (ge = (D = v.current) == null ? void 0 : D.contains) != null && ge.call(D, ye)) && ye.focus({ preventScroll: !0 })));
5138
- } : void 0, tabIndex: -1, style: { ...u.style, ...P, "--button-width": ki(T, d, !0).width }, ...kn(V) }), q = Wi(), te = j(() => {
5137
+ ye && y.current && ((M = y.current) != null && M.contains(ye) || (c.actions.close(), ((G = (Q = m.current) == null ? void 0 : Q.contains) != null && G.call(Q, ye) || (ge = (L = v.current) == null ? void 0 : L.contains) != null && ge.call(L, ye)) && ye.focus({ preventScroll: !0 })));
5138
+ } : void 0, tabIndex: -1, style: { ...u.style, ...P, "--button-width": ki(T, d, !0).width }, ...kn(V) }), K = Wi(), te = j(() => {
5139
5139
  let I = y.current;
5140
5140
  if (!I) return;
5141
5141
  function M() {
5142
- Pe(q.current, { [Be.Forwards]: () => {
5142
+ Pe(K.current, { [Be.Forwards]: () => {
5143
5143
  var Q;
5144
5144
  He(I, Re.First) === kr.Error && ((Q = c.state.afterPanelSentinel.current) == null || Q.focus());
5145
5145
  }, [Be.Backwards]: () => {
@@ -5152,10 +5152,10 @@ function zv(e, t) {
5152
5152
  let I = y.current;
5153
5153
  if (!I) return;
5154
5154
  function M() {
5155
- Pe(q.current, { [Be.Forwards]: () => {
5155
+ Pe(K.current, { [Be.Forwards]: () => {
5156
5156
  var Q;
5157
5157
  if (!c.state.button) return;
5158
- let G = (Q = zt(c.state.button)) != null ? Q : document.body, D = xn(G), ge = D.indexOf(c.state.button), ye = D.slice(0, ge + 1), Ve = [...D.slice(ge + 1), ...ye];
5158
+ let G = (Q = zt(c.state.button)) != null ? Q : document.body, L = xn(G), ge = L.indexOf(c.state.button), ye = L.slice(0, ge + 1), Ve = [...L.slice(ge + 1), ...ye];
5159
5159
  for (let pt of Ve.slice()) if (pt.dataset.headlessuiFocusGuard === "true" || O != null && O.contains(pt)) {
5160
5160
  let mt = Ve.indexOf(pt);
5161
5161
  mt !== -1 && Ve.splice(mt, 1);
@@ -5168,7 +5168,7 @@ function zv(e, t) {
5168
5168
  }
5169
5169
  M();
5170
5170
  }), z = ue();
5171
- return $.createElement(Cc, null, $.createElement(Vo.Provider, { value: n }, $.createElement(Si, { value: c.actions.refocusableClose }, $.createElement(Oo, { enabled: i ? e.static || T : !1, ownerDocument: R }, T && f && $.createElement(St, { id: b, ref: m, features: ct.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: te }), z({ ourProps: C, theirProps: u, slot: X, defaultTag: Lv, features: Vv, visible: T, name: "Popover.Panel" }), T && f && $.createElement(St, { id: x, ref: v, features: ct.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: E })))));
5171
+ return $.createElement(Cc, null, $.createElement(Vo.Provider, { value: n }, $.createElement(Si, { value: c.actions.refocusableClose }, $.createElement(Oo, { enabled: i ? e.static || T : !1, ownerDocument: R }, T && f && $.createElement(St, { id: b, ref: m, features: ct.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: te }), z({ ourProps: C, theirProps: u, slot: X, defaultTag: Dv, features: Vv, visible: T, name: "Popover.Panel" }), T && f && $.createElement(St, { id: x, ref: v, features: ct.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: E })))));
5172
5172
  }
5173
5173
  let Hv = "div";
5174
5174
  function Bv(e, t) {
@@ -5193,36 +5193,36 @@ function Bv(e, t) {
5193
5193
  }), u = j((m) => {
5194
5194
  for (let v of o) v.buttonId.current !== m && v.close();
5195
5195
  }), c = xe(() => ({ registerPopover: s, unregisterPopover: i, isFocusWithinPopoverGroup: l, closeOthers: u }), [s, i, l, u]), f = ve({}), g = e, d = { ref: n }, p = ue();
5196
- return $.createElement(io, null, $.createElement(qi.Provider, { value: c }, p({ ourProps: d, theirProps: g, slot: f, defaultTag: Hv, name: "Popover.Group" })));
5196
+ return $.createElement(io, null, $.createElement(Ki.Provider, { value: c }, p({ ourProps: d, theirProps: g, slot: f, defaultTag: Hv, name: "Popover.Group" })));
5197
5197
  }
5198
5198
  let Gv = le(Tv), lo = le(Mv), Wv = le(ad), Uv = le(ad), Xi = le(zv), Yv = le(Bv), id = Object.assign(Gv, { Button: lo, Backdrop: Uv, Overlay: Wv, Panel: Xi, Group: Yv }), Ji = Ee(null);
5199
5199
  Ji.displayName = "GroupContext";
5200
- let Kv = Ae;
5201
- function qv(e) {
5200
+ let qv = Ae;
5201
+ function Kv(e) {
5202
5202
  var t;
5203
5203
  let [r, n] = ne(null), [o, a] = bn(), [i, s] = bo(), l = xe(() => ({ switch: r, setSwitch: n }), [r, n]), u = {}, c = e, f = ue();
5204
5204
  return $.createElement(s, { name: "Switch.Description", value: i }, $.createElement(a, { name: "Switch.Label", value: o, props: { htmlFor: (t = l.switch) == null ? void 0 : t.id, onClick(g) {
5205
5205
  r && (Aa(g.currentTarget) && g.preventDefault(), r.click(), r.focus({ preventScroll: !0 }));
5206
- } } }, $.createElement(Ji.Provider, { value: l }, f({ ourProps: u, theirProps: c, slot: {}, defaultTag: Kv, name: "Switch.Group" }))));
5206
+ } } }, $.createElement(Ji.Provider, { value: l }, f({ ourProps: u, theirProps: c, slot: {}, defaultTag: qv, name: "Switch.Group" }))));
5207
5207
  }
5208
5208
  let Xv = "button";
5209
5209
  function Jv(e, t) {
5210
5210
  var r;
5211
- let n = we(), o = Ar(), a = Nt(), { id: i = o || `headlessui-switch-${n}`, disabled: s = a || !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, autoFocus: p = !1, ...m } = e, v = pe(Ji), [b, x] = ne(null), y = Y(null), k = be(y, t, v === null ? null : v.setSwitch, x), S = bi(u), [P, N] = vi(l, c, S ?? !1), O = rt(), [H, A] = ne(!1), R = j(() => {
5212
- A(!0), N?.(!P), O.nextFrame(() => {
5213
- A(!1);
5211
+ let n = we(), o = Ar(), a = Nt(), { id: i = o || `headlessui-switch-${n}`, disabled: s = a || !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, autoFocus: p = !1, ...m } = e, v = pe(Ji), [b, x] = ne(null), y = Y(null), k = be(y, t, v === null ? null : v.setSwitch, x), S = bi(u), [P, A] = vi(l, c, S ?? !1), O = rt(), [H, N] = ne(!1), R = j(() => {
5212
+ N(!0), A?.(!P), O.nextFrame(() => {
5213
+ N(!1);
5214
5214
  });
5215
- }), L = j((D) => {
5216
- if (Sr(D.currentTarget)) return D.preventDefault();
5217
- D.preventDefault(), R();
5218
- }), K = j((D) => {
5219
- D.key === re.Space ? (D.preventDefault(), R()) : D.key === re.Enter && yi(D.currentTarget);
5220
- }), T = j((D) => D.preventDefault()), V = Or(), B = hn(), { isFocusVisible: X, focusProps: C } = Jt({ autoFocus: p }), { isHovered: q, hoverProps: te } = Xt({ isDisabled: s }), { pressed: E, pressProps: z } = Nr({ disabled: s }), I = ve({ checked: P, disabled: s, hover: q, focus: X, active: E, autofocus: p, changing: H }), M = Xe({ id: i, ref: k, role: "switch", type: ko(e, b), tabIndex: e.tabIndex === -1 ? 0 : (r = e.tabIndex) != null ? r : 0, "aria-checked": P, "aria-labelledby": V, "aria-describedby": B, disabled: s || void 0, autoFocus: p, onClick: L, onKeyUp: K, onKeyPress: T }, C, te, z), Q = oe(() => {
5221
- if (S !== void 0) return N?.(S);
5222
- }, [N, S]), G = ue();
5215
+ }), D = j((L) => {
5216
+ if (Sr(L.currentTarget)) return L.preventDefault();
5217
+ L.preventDefault(), R();
5218
+ }), q = j((L) => {
5219
+ L.key === re.Space ? (L.preventDefault(), R()) : L.key === re.Enter && yi(L.currentTarget);
5220
+ }), T = j((L) => L.preventDefault()), V = Or(), B = hn(), { isFocusVisible: X, focusProps: C } = Jt({ autoFocus: p }), { isHovered: K, hoverProps: te } = Xt({ isDisabled: s }), { pressed: E, pressProps: z } = Nr({ disabled: s }), I = ve({ checked: P, disabled: s, hover: K, focus: X, active: E, autofocus: p, changing: H }), M = Xe({ id: i, ref: k, role: "switch", type: ko(e, b), tabIndex: e.tabIndex === -1 ? 0 : (r = e.tabIndex) != null ? r : 0, "aria-checked": P, "aria-labelledby": V, "aria-describedby": B, disabled: s || void 0, autoFocus: p, onClick: D, onKeyUp: q, onKeyPress: T }, C, te, z), Q = oe(() => {
5221
+ if (S !== void 0) return A?.(S);
5222
+ }, [A, S]), G = ue();
5223
5223
  return $.createElement($.Fragment, null, f != null && $.createElement(xi, { disabled: s, data: { [f]: g || "on" }, overrides: { type: "checkbox", checked: P }, form: d, onReset: Q }), G({ ourProps: M, theirProps: m, slot: I, defaultTag: Xv, name: "Switch" }));
5224
5224
  }
5225
- let Qv = le(Jv), Zv = qv, eb = Ir, tb = vn, rb = Object.assign(Qv, { Group: Zv, Label: eb, Description: tb }), nb = "textarea";
5225
+ let Qv = le(Jv), Zv = Kv, eb = Ir, tb = vn, rb = Object.assign(Qv, { Group: Zv, Label: eb, Description: tb }), nb = "textarea";
5226
5226
  function ob(e, t) {
5227
5227
  let r = we(), n = Ar(), o = Nt(), { id: a = n || `headlessui-textarea-${r}`, disabled: i = o || !1, autoFocus: s = !1, invalid: l = !1, ...u } = e, c = Or(), f = hn(), { isFocused: g, focusProps: d } = Jt({ autoFocus: s }), { isHovered: p, hoverProps: m } = Xt({ isDisabled: i }), v = Xe({ ref: t, id: a, "aria-labelledby": c, "aria-describedby": f, "aria-invalid": l ? "true" : void 0, disabled: i || void 0, autoFocus: s }, d, m), b = ve({ disabled: i, invalid: l, hover: p, focus: g, autofocus: s });
5228
5228
  return ue()({ ourProps: v, theirProps: u, slot: b, defaultTag: nb, name: "Textarea" });
@@ -5388,7 +5388,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5388
5388
  a in r ? r[a] = i : o(a, i);
5389
5389
  }
5390
5390
  };
5391
- }, Da = "!", vl = ":", yb = [], bl = (e, t, r, n, o) => ({
5391
+ }, La = "!", vl = ":", yb = [], bl = (e, t, r, n, o) => ({
5392
5392
  modifiers: e,
5393
5393
  hasImportantModifier: t,
5394
5394
  baseClassName: r,
@@ -5419,12 +5419,12 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5419
5419
  }
5420
5420
  const f = a.length === 0 ? o : o.slice(l);
5421
5421
  let g = f, d = !1;
5422
- f.endsWith(Da) ? (g = f.slice(0, -1), d = !0) : (
5422
+ f.endsWith(La) ? (g = f.slice(0, -1), d = !0) : (
5423
5423
  /**
5424
5424
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
5425
5425
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
5426
5426
  */
5427
- f.startsWith(Da) && (g = f.slice(1), d = !0)
5427
+ f.startsWith(La) && (g = f.slice(1), d = !0)
5428
5428
  );
5429
5429
  const p = u && u > l ? u - l : void 0;
5430
5430
  return bl(a, d, g, p);
@@ -5491,14 +5491,14 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5491
5491
  }
5492
5492
  v = !1;
5493
5493
  }
5494
- const x = g.length === 0 ? "" : g.length === 1 ? g[0] : a(g).join(":"), y = d ? x + Da : x, k = y + b;
5494
+ const x = g.length === 0 ? "" : g.length === 1 ? g[0] : a(g).join(":"), y = d ? x + La : x, k = y + b;
5495
5495
  if (i.indexOf(k) > -1)
5496
5496
  continue;
5497
5497
  i.push(k);
5498
5498
  const S = o(b, v);
5499
5499
  for (let P = 0; P < S.length; ++P) {
5500
- const N = S[P];
5501
- i.push(y + N);
5500
+ const A = S[P];
5501
+ i.push(y + A);
5502
5502
  }
5503
5503
  l = c + (l.length > 0 ? " " + l : l);
5504
5504
  }
@@ -5536,7 +5536,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5536
5536
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
5537
5537
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
5538
5538
  Ab.test(e) && !Ob.test(e)
5539
- ), gd = () => !1, Mb = (e) => Ib.test(e), jb = (e) => Fb.test(e), Db = (e) => !W(e) && !U(e), Lb = (e) => Mr(e, hd, gd), W = (e) => dd.test(e), rr = (e) => Mr(e, vd, _b), la = (e) => Mr(e, Gb, se), yl = (e) => Mr(e, pd, gd), Vb = (e) => Mr(e, md, jb), Ln = (e) => Mr(e, bd, Mb), U = (e) => fd.test(e), Hr = (e) => jr(e, vd), zb = (e) => jr(e, Wb), xl = (e) => jr(e, pd), Hb = (e) => jr(e, hd), Bb = (e) => jr(e, md), Vn = (e) => jr(e, bd, !0), Mr = (e, t, r) => {
5539
+ ), gd = () => !1, Mb = (e) => Ib.test(e), jb = (e) => Fb.test(e), Lb = (e) => !W(e) && !U(e), Db = (e) => Mr(e, hd, gd), W = (e) => dd.test(e), rr = (e) => Mr(e, vd, _b), la = (e) => Mr(e, Gb, se), yl = (e) => Mr(e, pd, gd), Vb = (e) => Mr(e, md, jb), Dn = (e) => Mr(e, bd, Mb), U = (e) => fd.test(e), Hr = (e) => jr(e, vd), zb = (e) => jr(e, Wb), xl = (e) => jr(e, pd), Hb = (e) => jr(e, hd), Bb = (e) => jr(e, md), Vn = (e) => jr(e, bd, !0), Mr = (e, t, r) => {
5540
5540
  const n = dd.exec(e);
5541
5541
  return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
5542
5542
  }, jr = (e, t, r = !1) => {
@@ -5561,13 +5561,13 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5561
5561
  "bottom-left",
5562
5562
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
5563
5563
  "left-bottom"
5564
- ], S = () => [...k(), U, W], P = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], O = () => [U, W, l], H = () => [mr, "full", "auto", ...O()], A = () => [Ot, "none", "subgrid", U, W], R = () => ["auto", {
5564
+ ], S = () => [...k(), U, W], P = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], O = () => [U, W, l], H = () => [mr, "full", "auto", ...O()], N = () => [Ot, "none", "subgrid", U, W], R = () => ["auto", {
5565
5565
  span: ["full", Ot, U, W]
5566
- }, Ot, U, W], L = () => [Ot, "auto", U, W], K = () => ["auto", "min", "max", "fr", U, W], T = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], V = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...O()], X = () => [mr, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...O()], C = () => [e, U, W], q = () => [...k(), xl, yl, {
5566
+ }, Ot, U, W], D = () => [Ot, "auto", U, W], q = () => ["auto", "min", "max", "fr", U, W], T = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], V = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...O()], X = () => [mr, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...O()], C = () => [e, U, W], K = () => [...k(), xl, yl, {
5567
5567
  position: [U, W]
5568
5568
  }], te = () => ["no-repeat", {
5569
5569
  repeat: ["", "x", "y", "space", "round"]
5570
- }], E = () => ["auto", "cover", "contain", Hb, Lb, {
5570
+ }], E = () => ["auto", "cover", "contain", Hb, Db, {
5571
5571
  size: [U, W]
5572
5572
  }], z = () => [sa, Hr, rr], I = () => [
5573
5573
  // Deprecated since Tailwind CSS v4.0.0
@@ -5577,7 +5577,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5577
5577
  u,
5578
5578
  U,
5579
5579
  W
5580
- ], M = () => ["", se, Hr, rr], Q = () => ["solid", "dashed", "dotted", "double"], G = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => [se, sa, xl, yl], ge = () => [
5580
+ ], M = () => ["", se, Hr, rr], Q = () => ["solid", "dashed", "dotted", "double"], G = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], L = () => [se, sa, xl, yl], ge = () => [
5581
5581
  // Deprecated since Tailwind CSS v4.0.0
5582
5582
  "",
5583
5583
  "none",
@@ -5596,7 +5596,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5596
5596
  container: [ht],
5597
5597
  "drop-shadow": [ht],
5598
5598
  ease: ["in", "out", "in-out"],
5599
- font: [Db],
5599
+ font: [Lb],
5600
5600
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
5601
5601
  "inset-shadow": [ht],
5602
5602
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -5736,21 +5736,21 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5736
5736
  * @see https://tailwindcss.com/docs/overscroll-behavior
5737
5737
  */
5738
5738
  overscroll: [{
5739
- overscroll: N()
5739
+ overscroll: A()
5740
5740
  }],
5741
5741
  /**
5742
5742
  * Overscroll Behavior X
5743
5743
  * @see https://tailwindcss.com/docs/overscroll-behavior
5744
5744
  */
5745
5745
  "overscroll-x": [{
5746
- "overscroll-x": N()
5746
+ "overscroll-x": A()
5747
5747
  }],
5748
5748
  /**
5749
5749
  * Overscroll Behavior Y
5750
5750
  * @see https://tailwindcss.com/docs/overscroll-behavior
5751
5751
  */
5752
5752
  "overscroll-y": [{
5753
- "overscroll-y": N()
5753
+ "overscroll-y": A()
5754
5754
  }],
5755
5755
  /**
5756
5756
  * Position
@@ -5889,7 +5889,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5889
5889
  * @see https://tailwindcss.com/docs/grid-template-columns
5890
5890
  */
5891
5891
  "grid-cols": [{
5892
- "grid-cols": A()
5892
+ "grid-cols": N()
5893
5893
  }],
5894
5894
  /**
5895
5895
  * Grid Column Start / End
@@ -5903,21 +5903,21 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5903
5903
  * @see https://tailwindcss.com/docs/grid-column
5904
5904
  */
5905
5905
  "col-start": [{
5906
- "col-start": L()
5906
+ "col-start": D()
5907
5907
  }],
5908
5908
  /**
5909
5909
  * Grid Column End
5910
5910
  * @see https://tailwindcss.com/docs/grid-column
5911
5911
  */
5912
5912
  "col-end": [{
5913
- "col-end": L()
5913
+ "col-end": D()
5914
5914
  }],
5915
5915
  /**
5916
5916
  * Grid Template Rows
5917
5917
  * @see https://tailwindcss.com/docs/grid-template-rows
5918
5918
  */
5919
5919
  "grid-rows": [{
5920
- "grid-rows": A()
5920
+ "grid-rows": N()
5921
5921
  }],
5922
5922
  /**
5923
5923
  * Grid Row Start / End
@@ -5931,14 +5931,14 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5931
5931
  * @see https://tailwindcss.com/docs/grid-row
5932
5932
  */
5933
5933
  "row-start": [{
5934
- "row-start": L()
5934
+ "row-start": D()
5935
5935
  }],
5936
5936
  /**
5937
5937
  * Grid Row End
5938
5938
  * @see https://tailwindcss.com/docs/grid-row
5939
5939
  */
5940
5940
  "row-end": [{
5941
- "row-end": L()
5941
+ "row-end": D()
5942
5942
  }],
5943
5943
  /**
5944
5944
  * Grid Auto Flow
@@ -5952,14 +5952,14 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
5952
5952
  * @see https://tailwindcss.com/docs/grid-auto-columns
5953
5953
  */
5954
5954
  "auto-cols": [{
5955
- "auto-cols": K()
5955
+ "auto-cols": q()
5956
5956
  }],
5957
5957
  /**
5958
5958
  * Grid Auto Rows
5959
5959
  * @see https://tailwindcss.com/docs/grid-auto-rows
5960
5960
  */
5961
5961
  "auto-rows": [{
5962
- "auto-rows": K()
5962
+ "auto-rows": q()
5963
5963
  }],
5964
5964
  /**
5965
5965
  * Gap
@@ -6536,7 +6536,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
6536
6536
  * @see https://tailwindcss.com/docs/background-position
6537
6537
  */
6538
6538
  "bg-position": [{
6539
- bg: q()
6539
+ bg: K()
6540
6540
  }],
6541
6541
  /**
6542
6542
  * Background Repeat
@@ -6935,7 +6935,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
6935
6935
  "none",
6936
6936
  c,
6937
6937
  Vn,
6938
- Ln
6938
+ Dn
6939
6939
  ]
6940
6940
  }],
6941
6941
  /**
@@ -6950,7 +6950,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
6950
6950
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
6951
6951
  */
6952
6952
  "inset-shadow": [{
6953
- "inset-shadow": ["none", f, Vn, Ln]
6953
+ "inset-shadow": ["none", f, Vn, Dn]
6954
6954
  }],
6955
6955
  /**
6956
6956
  * Inset Box Shadow Color
@@ -7017,7 +7017,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7017
7017
  * @see https://tailwindcss.com/docs/text-shadow
7018
7018
  */
7019
7019
  "text-shadow": [{
7020
- "text-shadow": ["none", g, Vn, Ln]
7020
+ "text-shadow": ["none", g, Vn, Dn]
7021
7021
  }],
7022
7022
  /**
7023
7023
  * Text Shadow Color
@@ -7069,10 +7069,10 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7069
7069
  "mask-linear": [se]
7070
7070
  }],
7071
7071
  "mask-image-linear-from-pos": [{
7072
- "mask-linear-from": D()
7072
+ "mask-linear-from": L()
7073
7073
  }],
7074
7074
  "mask-image-linear-to-pos": [{
7075
- "mask-linear-to": D()
7075
+ "mask-linear-to": L()
7076
7076
  }],
7077
7077
  "mask-image-linear-from-color": [{
7078
7078
  "mask-linear-from": C()
@@ -7081,10 +7081,10 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7081
7081
  "mask-linear-to": C()
7082
7082
  }],
7083
7083
  "mask-image-t-from-pos": [{
7084
- "mask-t-from": D()
7084
+ "mask-t-from": L()
7085
7085
  }],
7086
7086
  "mask-image-t-to-pos": [{
7087
- "mask-t-to": D()
7087
+ "mask-t-to": L()
7088
7088
  }],
7089
7089
  "mask-image-t-from-color": [{
7090
7090
  "mask-t-from": C()
@@ -7093,10 +7093,10 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7093
7093
  "mask-t-to": C()
7094
7094
  }],
7095
7095
  "mask-image-r-from-pos": [{
7096
- "mask-r-from": D()
7096
+ "mask-r-from": L()
7097
7097
  }],
7098
7098
  "mask-image-r-to-pos": [{
7099
- "mask-r-to": D()
7099
+ "mask-r-to": L()
7100
7100
  }],
7101
7101
  "mask-image-r-from-color": [{
7102
7102
  "mask-r-from": C()
@@ -7105,10 +7105,10 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7105
7105
  "mask-r-to": C()
7106
7106
  }],
7107
7107
  "mask-image-b-from-pos": [{
7108
- "mask-b-from": D()
7108
+ "mask-b-from": L()
7109
7109
  }],
7110
7110
  "mask-image-b-to-pos": [{
7111
- "mask-b-to": D()
7111
+ "mask-b-to": L()
7112
7112
  }],
7113
7113
  "mask-image-b-from-color": [{
7114
7114
  "mask-b-from": C()
@@ -7117,10 +7117,10 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7117
7117
  "mask-b-to": C()
7118
7118
  }],
7119
7119
  "mask-image-l-from-pos": [{
7120
- "mask-l-from": D()
7120
+ "mask-l-from": L()
7121
7121
  }],
7122
7122
  "mask-image-l-to-pos": [{
7123
- "mask-l-to": D()
7123
+ "mask-l-to": L()
7124
7124
  }],
7125
7125
  "mask-image-l-from-color": [{
7126
7126
  "mask-l-from": C()
@@ -7129,10 +7129,10 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7129
7129
  "mask-l-to": C()
7130
7130
  }],
7131
7131
  "mask-image-x-from-pos": [{
7132
- "mask-x-from": D()
7132
+ "mask-x-from": L()
7133
7133
  }],
7134
7134
  "mask-image-x-to-pos": [{
7135
- "mask-x-to": D()
7135
+ "mask-x-to": L()
7136
7136
  }],
7137
7137
  "mask-image-x-from-color": [{
7138
7138
  "mask-x-from": C()
@@ -7141,10 +7141,10 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7141
7141
  "mask-x-to": C()
7142
7142
  }],
7143
7143
  "mask-image-y-from-pos": [{
7144
- "mask-y-from": D()
7144
+ "mask-y-from": L()
7145
7145
  }],
7146
7146
  "mask-image-y-to-pos": [{
7147
- "mask-y-to": D()
7147
+ "mask-y-to": L()
7148
7148
  }],
7149
7149
  "mask-image-y-from-color": [{
7150
7150
  "mask-y-from": C()
@@ -7156,10 +7156,10 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7156
7156
  "mask-radial": [U, W]
7157
7157
  }],
7158
7158
  "mask-image-radial-from-pos": [{
7159
- "mask-radial-from": D()
7159
+ "mask-radial-from": L()
7160
7160
  }],
7161
7161
  "mask-image-radial-to-pos": [{
7162
- "mask-radial-to": D()
7162
+ "mask-radial-to": L()
7163
7163
  }],
7164
7164
  "mask-image-radial-from-color": [{
7165
7165
  "mask-radial-from": C()
@@ -7183,10 +7183,10 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7183
7183
  "mask-conic": [se]
7184
7184
  }],
7185
7185
  "mask-image-conic-from-pos": [{
7186
- "mask-conic-from": D()
7186
+ "mask-conic-from": L()
7187
7187
  }],
7188
7188
  "mask-image-conic-to-pos": [{
7189
- "mask-conic-to": D()
7189
+ "mask-conic-to": L()
7190
7190
  }],
7191
7191
  "mask-image-conic-from-color": [{
7192
7192
  "mask-conic-from": C()
@@ -7213,7 +7213,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7213
7213
  * @see https://tailwindcss.com/docs/mask-position
7214
7214
  */
7215
7215
  "mask-position": [{
7216
- mask: q()
7216
+ mask: K()
7217
7217
  }],
7218
7218
  /**
7219
7219
  * Mask Repeat
@@ -7291,7 +7291,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
7291
7291
  "none",
7292
7292
  d,
7293
7293
  Vn,
7294
- Ln
7294
+ Dn
7295
7295
  ]
7296
7296
  }],
7297
7297
  /**
@@ -8016,7 +8016,7 @@ const pl = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ml = Su, c
8016
8016
  function F(...e) {
8017
8017
  return Yb(Su(e));
8018
8018
  }
8019
- const Kb = ce(
8019
+ const qb = ce(
8020
8020
  "relative inline-flex items-center justify-center overflow-hidden font-semibold border transition-colors focus:outline-none select-none shrink-0 shadow-sm",
8021
8021
  {
8022
8022
  variants: {
@@ -8064,7 +8064,7 @@ const Kb = ce(
8064
8064
  "div",
8065
8065
  {
8066
8066
  ref: u,
8067
- className: F(Kb({ size: t, colorScheme: r, shape: n }), e),
8067
+ className: F(qb({ size: t, colorScheme: r, shape: n }), e),
8068
8068
  ...l,
8069
8069
  children: g ? /* @__PURE__ */ h.jsx(
8070
8070
  "img",
@@ -8102,7 +8102,7 @@ const Kb = ce(
8102
8102
  }
8103
8103
  );
8104
8104
  Zi.displayName = "Avatar";
8105
- const qb = ce(
8105
+ const Kb = ce(
8106
8106
  "inline-flex max-w-full items-center justify-center font-medium transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 border",
8107
8107
  {
8108
8108
  variants: {
@@ -8181,7 +8181,7 @@ const qb = ce(
8181
8181
  statusBadge: !1
8182
8182
  }
8183
8183
  }
8184
- ), La = w.forwardRef(
8184
+ ), Da = w.forwardRef(
8185
8185
  ({
8186
8186
  className: e,
8187
8187
  variant: t,
@@ -8197,7 +8197,7 @@ const qb = ce(
8197
8197
  {
8198
8198
  ref: u,
8199
8199
  className: F(
8200
- qb({ variant: t, statusBadge: r, size: n, fill: o }),
8200
+ Kb({ variant: t, statusBadge: r, size: n, fill: o }),
8201
8201
  e
8202
8202
  ),
8203
8203
  ...l,
@@ -8209,7 +8209,7 @@ const qb = ce(
8209
8209
  }
8210
8210
  )
8211
8211
  );
8212
- La.displayName = "Badge";
8212
+ Da.displayName = "Badge";
8213
8213
  const Xb = ce("animate-spin rounded-full transition-colors", {
8214
8214
  variants: {
8215
8215
  variant: {
@@ -8736,8 +8736,8 @@ var At = !!ke.documentElement && !!ke.head && typeof ke.addEventListener == "fun
8736
8736
  GROUP: "duotone-group",
8737
8737
  PRIMARY: "primary",
8738
8738
  SECONDARY: "secondary"
8739
- }, Ed = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Ie = "classic", $n = "duotone", Pd = "sharp", Rd = "sharp-duotone", $d = "chisel", Nd = "etch", Ad = "graphite", Od = "jelly", Id = "jelly-duo", Fd = "jelly-fill", Td = "notdog", _d = "notdog-duo", Md = "slab", jd = "slab-press", Dd = "thumbprint", Ld = "utility", Vd = "utility-duo", zd = "utility-fill", Hd = "whiteboard", my = "Classic", hy = "Duotone", vy = "Sharp", by = "Sharp Duotone", yy = "Chisel", xy = "Etch", wy = "Graphite", Sy = "Jelly", ky = "Jelly Duo", Cy = "Jelly Fill", Ey = "Notdog", Py = "Notdog Duo", Ry = "Slab", $y = "Slab Press", Ny = "Thumbprint", Ay = "Utility", Oy = "Utility Duo", Iy = "Utility Fill", Fy = "Whiteboard", Bd = [Ie, $n, Pd, Rd, $d, Nd, Ad, Od, Id, Fd, Td, _d, Md, jd, Dd, Ld, Vd, zd, Hd];
8740
- ua = {}, ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ua, Ie, my), $n, hy), Pd, vy), Rd, by), $d, yy), Nd, xy), Ad, wy), Od, Sy), Id, ky), Fd, Cy), ae(ae(ae(ae(ae(ae(ae(ae(ae(ua, Td, Ey), _d, Py), Md, Ry), jd, $y), Dd, Ny), Ld, Ay), Vd, Oy), zd, Iy), Hd, Fy);
8739
+ }, Ed = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Ie = "classic", $n = "duotone", Pd = "sharp", Rd = "sharp-duotone", $d = "chisel", Nd = "etch", Ad = "graphite", Od = "jelly", Id = "jelly-duo", Fd = "jelly-fill", Td = "notdog", _d = "notdog-duo", Md = "slab", jd = "slab-press", Ld = "thumbprint", Dd = "utility", Vd = "utility-duo", zd = "utility-fill", Hd = "whiteboard", my = "Classic", hy = "Duotone", vy = "Sharp", by = "Sharp Duotone", yy = "Chisel", xy = "Etch", wy = "Graphite", Sy = "Jelly", ky = "Jelly Duo", Cy = "Jelly Fill", Ey = "Notdog", Py = "Notdog Duo", Ry = "Slab", $y = "Slab Press", Ny = "Thumbprint", Ay = "Utility", Oy = "Utility Duo", Iy = "Utility Fill", Fy = "Whiteboard", Bd = [Ie, $n, Pd, Rd, $d, Nd, Ad, Od, Id, Fd, Td, _d, Md, jd, Ld, Dd, Vd, zd, Hd];
8740
+ ua = {}, ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ua, Ie, my), $n, hy), Pd, vy), Rd, by), $d, yy), Nd, xy), Ad, wy), Od, Sy), Id, ky), Fd, Cy), ae(ae(ae(ae(ae(ae(ae(ae(ae(ua, Td, Ey), _d, Py), Md, Ry), jd, $y), Ld, Ny), Dd, Ay), Vd, Oy), zd, Iy), Hd, Fy);
8741
8741
  var Ty = {
8742
8742
  classic: {
8743
8743
  900: "fas",
@@ -9100,8 +9100,8 @@ var Ty = {
9100
9100
  fakd: "kit-duotone",
9101
9101
  "fa-kit-duotone": "kit-duotone"
9102
9102
  }
9103
- }, Dy = ["kit"], Ly = "kit", Vy = "kit-duotone", zy = "Kit", Hy = "Kit Duotone";
9104
- ae(ae({}, Ly, zy), Vy, Hy);
9103
+ }, Ly = ["kit"], Dy = "kit", Vy = "kit-duotone", zy = "Kit", Hy = "Kit Duotone";
9104
+ ae(ae({}, Dy, zy), Vy, Hy);
9105
9105
  var By = {
9106
9106
  kit: {
9107
9107
  "fa-kit": "fak"
@@ -9131,8 +9131,8 @@ var By = {
9131
9131
  SWAP_OPACITY: "swap-opacity",
9132
9132
  PRIMARY: "primary",
9133
9133
  SECONDARY: "secondary"
9134
- }, Uy = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Yy = "classic", Ky = "duotone", qy = "sharp", Xy = "sharp-duotone", Jy = "chisel", Qy = "etch", Zy = "graphite", ex = "jelly", tx = "jelly-duo", rx = "jelly-fill", nx = "notdog", ox = "notdog-duo", ax = "slab", ix = "slab-press", sx = "thumbprint", lx = "utility", ux = "utility-duo", cx = "utility-fill", dx = "whiteboard", fx = "Classic", gx = "Duotone", px = "Sharp", mx = "Sharp Duotone", hx = "Chisel", vx = "Etch", bx = "Graphite", yx = "Jelly", xx = "Jelly Duo", wx = "Jelly Fill", Sx = "Notdog", kx = "Notdog Duo", Cx = "Slab", Ex = "Slab Press", Px = "Thumbprint", Rx = "Utility", $x = "Utility Duo", Nx = "Utility Fill", Ax = "Whiteboard";
9135
- ca = {}, ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ca, Yy, fx), Ky, gx), qy, px), Xy, mx), Jy, hx), Qy, vx), Zy, bx), ex, yx), tx, xx), rx, wx), ae(ae(ae(ae(ae(ae(ae(ae(ae(ca, nx, Sx), ox, kx), ax, Cx), ix, Ex), sx, Px), lx, Rx), ux, $x), cx, Nx), dx, Ax);
9134
+ }, Uy = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-graphite", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Yy = "classic", qy = "duotone", Ky = "sharp", Xy = "sharp-duotone", Jy = "chisel", Qy = "etch", Zy = "graphite", ex = "jelly", tx = "jelly-duo", rx = "jelly-fill", nx = "notdog", ox = "notdog-duo", ax = "slab", ix = "slab-press", sx = "thumbprint", lx = "utility", ux = "utility-duo", cx = "utility-fill", dx = "whiteboard", fx = "Classic", gx = "Duotone", px = "Sharp", mx = "Sharp Duotone", hx = "Chisel", vx = "Etch", bx = "Graphite", yx = "Jelly", xx = "Jelly Duo", wx = "Jelly Fill", Sx = "Notdog", kx = "Notdog Duo", Cx = "Slab", Ex = "Slab Press", Px = "Thumbprint", Rx = "Utility", $x = "Utility Duo", Nx = "Utility Fill", Ax = "Whiteboard";
9135
+ ca = {}, ae(ae(ae(ae(ae(ae(ae(ae(ae(ae(ca, Yy, fx), qy, gx), Ky, px), Xy, mx), Jy, hx), Qy, vx), Zy, bx), ex, yx), tx, xx), rx, wx), ae(ae(ae(ae(ae(ae(ae(ae(ae(ca, nx, Sx), ox, kx), ax, Cx), ix, Ex), sx, Px), lx, Rx), ux, $x), cx, Nx), dx, Ax);
9136
9136
  var Ox = "kit", Ix = "kit-duotone", Fx = "Kit", Tx = "Kit Duotone";
9137
9137
  ae(ae({}, Ox, Fx), Ix, Tx);
9138
9138
  var _x = {
@@ -9297,9 +9297,9 @@ var _x = {
9297
9297
  "utility-fill": {
9298
9298
  faufsb: "fa-semibold"
9299
9299
  }
9300
- }, jx = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Wd = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(Uy, jx), Dx = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Ud = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Lx = Ud.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Vx = ["aw", "fw", "pull-left", "pull-right"], zx = [].concat(tt(Object.keys(Mx)), Dx, Vx, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", Hn.GROUP, Hn.SWAP_OPACITY, Hn.PRIMARY, Hn.SECONDARY]).concat(Ud.map(function(e) {
9300
+ }, jx = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Wd = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(Uy, jx), Lx = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Ud = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], Dx = Ud.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), Vx = ["aw", "fw", "pull-left", "pull-right"], zx = [].concat(tt(Object.keys(Mx)), Lx, Vx, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", Hn.GROUP, Hn.SWAP_OPACITY, Hn.PRIMARY, Hn.SECONDARY]).concat(Ud.map(function(e) {
9301
9301
  return "".concat(e, "x");
9302
- })).concat(Lx.map(function(e) {
9302
+ })).concat(Dx.map(function(e) {
9303
9303
  return "w-".concat(e);
9304
9304
  })), Hx = {
9305
9305
  "Font Awesome 5 Free": {
@@ -9319,7 +9319,7 @@ var _x = {
9319
9319
  "Font Awesome 5 Duotone": {
9320
9320
  900: "fad"
9321
9321
  }
9322
- }, Pt = "___FONT_AWESOME___", Ha = 16, Yd = "fa", Kd = "svg-inline--fa", dr = "data-fa-i2svg", Ba = "data-fa-pseudo-element", Bx = "data-fa-pseudo-element-pending", rs = "data-prefix", ns = "data-icon", $l = "fontawesome-i2svg", Gx = "async", Wx = ["HTML", "HEAD", "STYLE", "SCRIPT"], qd = ["::before", "::after", ":before", ":after"], Xd = (function() {
9322
+ }, Pt = "___FONT_AWESOME___", Ha = 16, Yd = "fa", qd = "svg-inline--fa", dr = "data-fa-i2svg", Ba = "data-fa-pseudo-element", Bx = "data-fa-pseudo-element-pending", rs = "data-prefix", ns = "data-icon", $l = "fontawesome-i2svg", Gx = "async", Wx = ["HTML", "HEAD", "STYLE", "SCRIPT"], Kd = ["::before", "::after", ":before", ":after"], Xd = (function() {
9323
9323
  try {
9324
9324
  return process.env.NODE_ENV === "production";
9325
9325
  } catch {
@@ -9346,9 +9346,9 @@ Wa[Ie] = _(_({}, Wa[Ie]), Wy.kit);
9346
9346
  var os = Nn(Wa), Ua = _({}, _x);
9347
9347
  Ua[Ie] = _(_({}, Ua[Ie]), By.kit);
9348
9348
  Nn(Ua);
9349
- var Yx = fy, Qd = "fa-layers-text", Kx = gy, qx = _({}, Ty);
9350
- Nn(qx);
9351
- var Xx = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], da = py, Jx = [].concat(tt(Dy), tt(zx)), Zr = Gt.FontAwesomeConfig || {};
9349
+ var Yx = fy, Qd = "fa-layers-text", qx = gy, Kx = _({}, Ty);
9350
+ Nn(Kx);
9351
+ var Xx = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], da = py, Jx = [].concat(tt(Ly), tt(zx)), Zr = Gt.FontAwesomeConfig || {};
9352
9352
  function Qx(e) {
9353
9353
  var t = ke.querySelector("script[" + e + "]");
9354
9354
  if (t)
@@ -9368,7 +9368,7 @@ var Zd = {
9368
9368
  styleDefault: "solid",
9369
9369
  familyDefault: Ie,
9370
9370
  cssPrefix: Yd,
9371
- replacementClass: Kd,
9371
+ replacementClass: qd,
9372
9372
  autoReplaceSvg: !0,
9373
9373
  autoAddCss: !0,
9374
9374
  searchPseudoElements: !1,
@@ -9440,13 +9440,13 @@ function Al() {
9440
9440
  t += nw[Math.random() * 62 | 0];
9441
9441
  return t;
9442
9442
  }
9443
- function Dr(e) {
9443
+ function Lr(e) {
9444
9444
  for (var t = [], r = (e || []).length >>> 0; r--; )
9445
9445
  t[r] = e[r];
9446
9446
  return t;
9447
9447
  }
9448
9448
  function as(e) {
9449
- return e.classList ? Dr(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
9449
+ return e.classList ? Lr(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(t) {
9450
9450
  return t;
9451
9451
  });
9452
9452
  }
@@ -10037,7 +10037,7 @@ var sw = `:root, :host {
10037
10037
  z-index: var(--fa-stack-z-index, auto);
10038
10038
  }`;
10039
10039
  function tf() {
10040
- var e = Yd, t = Kd, r = J.cssPrefix, n = J.replacementClass, o = sw;
10040
+ var e = Yd, t = qd, r = J.cssPrefix, n = J.replacementClass, o = sw;
10041
10041
  if (r !== e || n !== t) {
10042
10042
  var a = new RegExp("\\.".concat(e, "\\-"), "g"), i = new RegExp("\\--".concat(e, "\\-"), "g"), s = new RegExp("\\.".concat(t), "g");
10043
10043
  o = o.replace(a, ".".concat(r, "-")).replace(i, "--".concat(r, "-")).replace(s, ".".concat(n));
@@ -10354,7 +10354,7 @@ function Cw(e, t) {
10354
10354
  n.provides && n.provides(wr);
10355
10355
  }), r;
10356
10356
  }
10357
- function Ka(e, t) {
10357
+ function qa(e, t) {
10358
10358
  for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++)
10359
10359
  n[o - 2] = arguments[o];
10360
10360
  var a = yr[e] || [];
@@ -10374,7 +10374,7 @@ function Ut() {
10374
10374
  var e = arguments[0], t = Array.prototype.slice.call(arguments, 1);
10375
10375
  return wr[e] ? wr[e].apply(null, t) : void 0;
10376
10376
  }
10377
- function qa(e) {
10377
+ function Ka(e) {
10378
10378
  e.prefix === "fa" && (e.prefix = "fas");
10379
10379
  var t = e.iconName, r = e.prefix || Wt();
10380
10380
  if (t)
@@ -10434,7 +10434,7 @@ var mf = new Sw(), Ew = function() {
10434
10434
  dom: Pw,
10435
10435
  parse: Rw,
10436
10436
  library: mf,
10437
- findIconDefinition: qa,
10437
+ findIconDefinition: Ka,
10438
10438
  toHtml: An
10439
10439
  }, $w = function() {
10440
10440
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = t.autoReplaceSvgRoot, n = r === void 0 ? ke : r;
@@ -10625,22 +10625,22 @@ function Ja(e, t) {
10625
10625
  }));
10626
10626
  });
10627
10627
  }
10628
- var Dl = function() {
10628
+ var Ll = function() {
10629
10629
  }, Qa = J.measurePerformance && zn && zn.mark && zn.measure ? zn : {
10630
- mark: Dl,
10631
- measure: Dl
10632
- }, Kr = 'FA "7.2.0"', _w = function(t) {
10633
- return Qa.mark("".concat(Kr, " ").concat(t, " begins")), function() {
10630
+ mark: Ll,
10631
+ measure: Ll
10632
+ }, qr = 'FA "7.2.0"', _w = function(t) {
10633
+ return Qa.mark("".concat(qr, " ").concat(t, " begins")), function() {
10634
10634
  return hf(t);
10635
10635
  };
10636
10636
  }, hf = function(t) {
10637
- Qa.mark("".concat(Kr, " ").concat(t, " ends")), Qa.measure("".concat(Kr, " ").concat(t), "".concat(Kr, " ").concat(t, " begins"), "".concat(Kr, " ").concat(t, " ends"));
10637
+ Qa.mark("".concat(qr, " ").concat(t, " ends")), Qa.measure("".concat(qr, " ").concat(t), "".concat(qr, " ").concat(t, " begins"), "".concat(qr, " ").concat(t, " ends"));
10638
10638
  }, cs = {
10639
10639
  begin: _w,
10640
10640
  end: hf
10641
10641
  }, Jn = function() {
10642
10642
  };
10643
- function Ll(e) {
10643
+ function Dl(e) {
10644
10644
  var t = e.getAttribute ? e.getAttribute(dr) : null;
10645
10645
  return typeof t == "string";
10646
10646
  }
@@ -10651,20 +10651,20 @@ function Mw(e) {
10651
10651
  function jw(e) {
10652
10652
  return e && e.classList && e.classList.contains && e.classList.contains(J.replacementClass);
10653
10653
  }
10654
- function Dw() {
10654
+ function Lw() {
10655
10655
  if (J.autoReplaceSvg === !0)
10656
10656
  return Qn.replace;
10657
10657
  var e = Qn[J.autoReplaceSvg];
10658
10658
  return e || Qn.replace;
10659
10659
  }
10660
- function Lw(e) {
10660
+ function Dw(e) {
10661
10661
  return ke.createElementNS("http://www.w3.org/2000/svg", e);
10662
10662
  }
10663
10663
  function Vw(e) {
10664
10664
  return ke.createElement(e);
10665
10665
  }
10666
10666
  function vf(e) {
10667
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.ceFn, n = r === void 0 ? e.tag === "svg" ? Lw : Vw : r;
10667
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.ceFn, n = r === void 0 ? e.tag === "svg" ? Dw : Vw : r;
10668
10668
  if (typeof e == "string")
10669
10669
  return ke.createTextNode(e);
10670
10670
  var o = n(e.tag);
@@ -10725,7 +10725,7 @@ function bf(e, t) {
10725
10725
  else {
10726
10726
  var n = Vl;
10727
10727
  J.mutateApproach === Gx && (n = Gt.requestAnimationFrame || Vl), n(function() {
10728
- var o = Dw(), a = cs.begin("mutate");
10728
+ var o = Lw(), a = cs.begin("mutate");
10729
10729
  e.map(o), a(), r();
10730
10730
  });
10731
10731
  }
@@ -10744,8 +10744,8 @@ function zl(e) {
10744
10744
  go = new El(function(u) {
10745
10745
  if (!ds) {
10746
10746
  var c = Wt();
10747
- Dr(u).forEach(function(f) {
10748
- if (f.type === "childList" && f.addedNodes.length > 0 && !Ll(f.addedNodes[0]) && (J.searchPseudoElements && i(f.target), r(f.target)), f.type === "attributes" && f.target.parentNode && J.searchPseudoElements && i([f.target], !0), f.type === "attributes" && Ll(f.target) && ~Xx.indexOf(f.attributeName))
10747
+ Lr(u).forEach(function(f) {
10748
+ if (f.type === "childList" && f.addedNodes.length > 0 && !Dl(f.addedNodes[0]) && (J.searchPseudoElements && i(f.target), r(f.target)), f.type === "attributes" && f.target.parentNode && J.searchPseudoElements && i([f.target], !0), f.type === "attributes" && Dl(f.target) && ~Xx.indexOf(f.attributeName))
10749
10749
  if (f.attributeName === "class" && Mw(f.target)) {
10750
10750
  var g = Go(as(f.target)), d = g.prefix, p = g.iconName;
10751
10751
  f.target.setAttribute(rs, d || c), p && f.target.setAttribute(ns, p);
@@ -10775,7 +10775,7 @@ function Gw(e) {
10775
10775
  return o.prefix || (o.prefix = Wt()), t && r && (o.prefix = t, o.iconName = r), o.iconName && o.prefix || (o.prefix && n.length > 0 && (o.iconName = pw(o.prefix, e.innerText) || ls(o.prefix, of(e.innerText))), !o.iconName && J.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (o.iconName = e.firstChild.data)), o;
10776
10776
  }
10777
10777
  function Ww(e) {
10778
- var t = Dr(e.attributes).reduce(function(r, n) {
10778
+ var t = Lr(e.attributes).reduce(function(r, n) {
10779
10779
  return r.name !== "class" && r.name !== "style" && (r[n.name] = n.value), r;
10780
10780
  }, {});
10781
10781
  return t;
@@ -10802,7 +10802,7 @@ function Uw() {
10802
10802
  function Hl(e) {
10803
10803
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
10804
10804
  styleParser: !0
10805
- }, r = Gw(e), n = r.iconName, o = r.prefix, a = r.rest, i = Ww(e), s = Ka("parseNodeAttributes", {}, e), l = t.styleParser ? Bw(e) : [];
10805
+ }, r = Gw(e), n = r.iconName, o = r.prefix, a = r.rest, i = Ww(e), s = qa("parseNodeAttributes", {}, e), l = t.styleParser ? Bw(e) : [];
10806
10806
  return _({
10807
10807
  iconName: n,
10808
10808
  prefix: o,
@@ -10828,7 +10828,7 @@ function xf(e) {
10828
10828
  }) : Hl(e);
10829
10829
  return ~t.extra.classes.indexOf(Qd) ? Ut("generateLayersText", e, t) : Ut("generateSvgReplacementMutation", e, t);
10830
10830
  }
10831
- function Kw() {
10831
+ function qw() {
10832
10832
  return [].concat(tt(Gd), tt(Wd));
10833
10833
  }
10834
10834
  function Bl(e) {
@@ -10838,7 +10838,7 @@ function Bl(e) {
10838
10838
  return r.add("".concat($l, "-").concat(f));
10839
10839
  }, o = function(f) {
10840
10840
  return r.remove("".concat($l, "-").concat(f));
10841
- }, a = J.autoFetchSvg ? Kw() : Ed.concat(Object.keys(Yw));
10841
+ }, a = J.autoFetchSvg ? qw() : Ed.concat(Object.keys(Yw));
10842
10842
  a.includes("fa") || a.push("fa");
10843
10843
  var i = [".".concat(Qd, ":not([").concat(dr, "])")].concat(a.map(function(c) {
10844
10844
  return ".".concat(c, ":not([").concat(dr, "])");
@@ -10847,7 +10847,7 @@ function Bl(e) {
10847
10847
  return Promise.resolve();
10848
10848
  var s = [];
10849
10849
  try {
10850
- s = Dr(e.querySelectorAll(i));
10850
+ s = Lr(e.querySelectorAll(i));
10851
10851
  } catch {
10852
10852
  }
10853
10853
  if (s.length > 0)
@@ -10873,7 +10873,7 @@ function Bl(e) {
10873
10873
  });
10874
10874
  });
10875
10875
  }
10876
- function qw(e) {
10876
+ function Kw(e) {
10877
10877
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
10878
10878
  xf(e).then(function(r) {
10879
10879
  r && bf([r], t);
@@ -10881,8 +10881,8 @@ function qw(e) {
10881
10881
  }
10882
10882
  function Xw(e) {
10883
10883
  return function(t) {
10884
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (t || {}).icon ? t : qa(t || {}), o = r.mask;
10885
- return o && (o = (o || {}).icon ? o : qa(o || {})), e(n, _(_({}, r), {}, {
10884
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = (t || {}).icon ? t : Ka(t || {}), o = r.mask;
10885
+ return o && (o = (o || {}).icon ? o : Ka(o || {})), e(n, _(_({}, r), {}, {
10886
10886
  mask: o
10887
10887
  }));
10888
10888
  };
@@ -10929,7 +10929,7 @@ var Jw = function(t) {
10929
10929
  hooks: function() {
10930
10930
  return {
10931
10931
  mutationObserverCallbacks: function(r) {
10932
- return r.treeCallback = Bl, r.nodeCallback = qw, r;
10932
+ return r.treeCallback = Bl, r.nodeCallback = Kw, r;
10933
10933
  }
10934
10934
  };
10935
10935
  },
@@ -11102,9 +11102,9 @@ function Ul(e, t) {
11102
11102
  return new Promise(function(n, o) {
11103
11103
  if (e.getAttribute(r) !== null)
11104
11104
  return n();
11105
- var a = Dr(e.children), i = a.filter(function(P) {
11105
+ var a = Lr(e.children), i = a.filter(function(P) {
11106
11106
  return P.getAttribute(Ba) === t;
11107
- })[0], s = Gt.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), u = l.match(Kx), c = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
11107
+ })[0], s = Gt.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), u = l.match(qx), c = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
11108
11108
  if (i && !u)
11109
11109
  return e.removeChild(i), n();
11110
11110
  if (u && f !== "none" && f !== "") {
@@ -11117,7 +11117,7 @@ function Ul(e, t) {
11117
11117
  e.setAttribute(r, x), i && e.removeChild(i);
11118
11118
  var k = Uw(), S = k.extra;
11119
11119
  S.attributes[Ba] = t, Ja(b, d).then(function(P) {
11120
- var N = us(_(_({}, k), {}, {
11120
+ var A = us(_(_({}, k), {}, {
11121
11121
  icons: {
11122
11122
  main: P,
11123
11123
  mask: pf()
@@ -11127,7 +11127,7 @@ function Ul(e, t) {
11127
11127
  extra: S,
11128
11128
  watchable: !0
11129
11129
  })), O = ke.createElementNS("http://www.w3.org/2000/svg", "svg");
11130
- t === "::before" ? e.insertBefore(O, e.firstChild) : e.appendChild(O), O.outerHTML = N.map(function(H) {
11130
+ t === "::before" ? e.insertBefore(O, e.firstChild) : e.appendChild(O), O.outerHTML = A.map(function(H) {
11131
11131
  return An(H);
11132
11132
  }).join(`
11133
11133
  `), e.removeAttribute(r), n();
@@ -11145,7 +11145,7 @@ function s1(e) {
11145
11145
  return e.parentNode !== document.head && !~Wx.indexOf(e.tagName.toUpperCase()) && !e.getAttribute(Ba) && (!e.parentNode || e.parentNode.tagName !== "svg");
11146
11146
  }
11147
11147
  var l1 = function(t) {
11148
- return !!t && qd.some(function(r) {
11148
+ return !!t && Kd.some(function(r) {
11149
11149
  return t.includes(r);
11150
11150
  });
11151
11151
  }, u1 = function(t) {
@@ -11163,7 +11163,7 @@ var l1 = function(t) {
11163
11163
  for (o.s(); !(a = o.n()).done; ) {
11164
11164
  var i = a.value;
11165
11165
  if (l1(i)) {
11166
- var s = qd.reduce(function(l, u) {
11166
+ var s = Kd.reduce(function(l, u) {
11167
11167
  return l.replace(u, "");
11168
11168
  }, i);
11169
11169
  s !== "" && s !== "*" && r.add(s);
@@ -11228,7 +11228,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
11228
11228
  }
11229
11229
  }
11230
11230
  return new Promise(function(m, v) {
11231
- var b = Dr(r).filter(s1).map(i1), x = cs.begin("searchPseudoElements");
11231
+ var b = Lr(r).filter(s1).map(i1), x = cs.begin("searchPseudoElements");
11232
11232
  yf(), Promise.all(b).then(function() {
11233
11233
  x(), Za(), m();
11234
11234
  }).catch(function() {
@@ -11251,12 +11251,12 @@ var c1 = {
11251
11251
  J.searchPseudoElements && Yl(o);
11252
11252
  };
11253
11253
  }
11254
- }, Kl = !1, d1 = {
11254
+ }, ql = !1, d1 = {
11255
11255
  mixout: function() {
11256
11256
  return {
11257
11257
  dom: {
11258
11258
  unwatch: function() {
11259
- yf(), Kl = !0;
11259
+ yf(), ql = !0;
11260
11260
  }
11261
11261
  }
11262
11262
  };
@@ -11264,20 +11264,20 @@ var c1 = {
11264
11264
  hooks: function() {
11265
11265
  return {
11266
11266
  bootstrap: function() {
11267
- zl(Ka("mutationObserverCallbacks", {}));
11267
+ zl(qa("mutationObserverCallbacks", {}));
11268
11268
  },
11269
11269
  noAuto: function() {
11270
11270
  Hw();
11271
11271
  },
11272
11272
  watch: function(r) {
11273
11273
  var n = r.observeMutationsRoot;
11274
- Kl ? Za() : zl(Ka("mutationObserverCallbacks", {
11274
+ ql ? Za() : zl(qa("mutationObserverCallbacks", {
11275
11275
  observeMutationsRoot: n
11276
11276
  }));
11277
11277
  }
11278
11278
  };
11279
11279
  }
11280
- }, ql = function(t) {
11280
+ }, Kl = function(t) {
11281
11281
  var r = {
11282
11282
  size: 16,
11283
11283
  x: 0,
@@ -11324,7 +11324,7 @@ var c1 = {
11324
11324
  return {
11325
11325
  parse: {
11326
11326
  transform: function(r) {
11327
- return ql(r);
11327
+ return Kl(r);
11328
11328
  }
11329
11329
  }
11330
11330
  };
@@ -11333,7 +11333,7 @@ var c1 = {
11333
11333
  return {
11334
11334
  parseNodeAttributes: function(r, n) {
11335
11335
  var o = n.getAttribute("data-fa-transform");
11336
- return o && (r.transform = ql(o)), r;
11336
+ return o && (r.transform = Kl(o)), r;
11337
11337
  }
11338
11338
  };
11339
11339
  },
@@ -11807,11 +11807,11 @@ var _1 = {
11807
11807
  prefix: "fas",
11808
11808
  iconName: "angle-left",
11809
11809
  icon: [256, 512, [8249], "f104", "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]
11810
- }, D1 = {
11810
+ }, L1 = {
11811
11811
  prefix: "fas",
11812
11812
  iconName: "angle-right",
11813
11813
  icon: [256, 512, [8250], "f105", "M247.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L179.2 256 41.9 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]
11814
- }, L1 = {
11814
+ }, D1 = {
11815
11815
  prefix: "fas",
11816
11816
  iconName: "right-from-bracket",
11817
11817
  icon: [512, 512, ["sign-out-alt"], "f2f5", "M505 273c9.4-9.4 9.4-24.6 0-33.9L361 95c-6.9-6.9-17.2-8.9-26.2-5.2S320 102.3 320 112l0 80-112 0c-26.5 0-48 21.5-48 48l0 32c0 26.5 21.5 48 48 48l112 0 0 80c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2L505 273zM160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 32C43 32 0 75 0 128L0 384c0 53 43 96 96 96l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l64 0z"]
@@ -11859,12 +11859,12 @@ var _1 = {
11859
11859
  prefix: "fas",
11860
11860
  iconName: "bars",
11861
11861
  icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]
11862
- }, K1 = {
11862
+ }, q1 = {
11863
11863
  prefix: "fas",
11864
11864
  iconName: "angles-left",
11865
11865
  icon: [448, 512, [171, "angle-double-left"], "f100", "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L269.3 256 406.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"]
11866
11866
  };
11867
- const q1 = ce(
11867
+ const K1 = ce(
11868
11868
  "flex items-center justify-center shrink-0 transition-colors focus:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2",
11869
11869
  {
11870
11870
  variants: {
@@ -11946,7 +11946,7 @@ const q1 = ce(
11946
11946
  checked: c,
11947
11947
  disabled: f
11948
11948
  }) => F(
11949
- q1({
11949
+ K1({
11950
11950
  colorScheme: t,
11951
11951
  variant: r,
11952
11952
  size: n,
@@ -12295,7 +12295,7 @@ const rS = ce(
12295
12295
  error: !1
12296
12296
  }
12297
12297
  }
12298
- ), uC = ({
12298
+ ), cC = ({
12299
12299
  options: e,
12300
12300
  value: t,
12301
12301
  onChange: r,
@@ -12317,7 +12317,7 @@ const rS = ce(
12317
12317
  disabled: o,
12318
12318
  children: /* @__PURE__ */ h.jsxs("div", { className: "relative", children: [
12319
12319
  /* @__PURE__ */ h.jsxs(
12320
- Kc,
12320
+ qc,
12321
12321
  {
12322
12322
  className: F(nS({ variant: a, error: i })),
12323
12323
  children: [
@@ -12350,7 +12350,7 @@ const rS = ce(
12350
12350
  leaveFrom: "opacity-100",
12351
12351
  leaveTo: "opacity-0",
12352
12352
  children: /* @__PURE__ */ h.jsx(
12353
- qc,
12353
+ Kc,
12354
12354
  {
12355
12355
  anchor: "bottom start",
12356
12356
  className: F(
@@ -12548,7 +12548,7 @@ const rS = ce(
12548
12548
  }
12549
12549
  );
12550
12550
  sS.displayName = "Textarea";
12551
- function cC({
12551
+ function dC({
12552
12552
  items: e,
12553
12553
  maxDisplay: t = 5,
12554
12554
  totalCount: r,
@@ -12641,7 +12641,7 @@ function cC({
12641
12641
  }
12642
12642
  );
12643
12643
  }
12644
- function dC({
12644
+ function fC({
12645
12645
  tabs: e,
12646
12646
  activeTab: t,
12647
12647
  onChange: r,
@@ -12937,15 +12937,15 @@ var bS = "DismissableLayer", ti = "dismissableLayer.update", yS = "dismissableLa
12937
12937
  onInteractOutside: i,
12938
12938
  onDismiss: s,
12939
12939
  ...l
12940
- } = e, u = w.useContext(Of), [c, f] = w.useState(null), g = c?.ownerDocument ?? globalThis?.document, [, d] = w.useState({}), p = pr(t, (N) => f(N)), m = Array.from(u.layers), [v] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), b = m.indexOf(v), x = c ? m.indexOf(c) : -1, y = u.layersWithOutsidePointerEventsDisabled.size > 0, k = x >= b, S = kS((N) => {
12941
- const O = N.target, H = [...u.branches].some((A) => A.contains(O));
12942
- !k || H || (o?.(N), i?.(N), N.defaultPrevented || s?.());
12943
- }, g), P = CS((N) => {
12944
- const O = N.target;
12945
- [...u.branches].some((A) => A.contains(O)) || (a?.(N), i?.(N), N.defaultPrevented || s?.());
12940
+ } = e, u = w.useContext(Of), [c, f] = w.useState(null), g = c?.ownerDocument ?? globalThis?.document, [, d] = w.useState({}), p = pr(t, (A) => f(A)), m = Array.from(u.layers), [v] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), b = m.indexOf(v), x = c ? m.indexOf(c) : -1, y = u.layersWithOutsidePointerEventsDisabled.size > 0, k = x >= b, S = kS((A) => {
12941
+ const O = A.target, H = [...u.branches].some((N) => N.contains(O));
12942
+ !k || H || (o?.(A), i?.(A), A.defaultPrevented || s?.());
12943
+ }, g), P = CS((A) => {
12944
+ const O = A.target;
12945
+ [...u.branches].some((N) => N.contains(O)) || (a?.(A), i?.(A), A.defaultPrevented || s?.());
12946
12946
  }, g);
12947
- return vS((N) => {
12948
- x === u.layers.size - 1 && (n?.(N), !N.defaultPrevented && s && (N.preventDefault(), s()));
12947
+ return vS((A) => {
12948
+ x === u.layers.size - 1 && (n?.(A), !A.defaultPrevented && s && (A.preventDefault(), s()));
12949
12949
  }, g), w.useEffect(() => {
12950
12950
  if (c)
12951
12951
  return r && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (au = g.body.style.pointerEvents, g.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(c)), u.layers.add(c), iu(), () => {
@@ -12954,8 +12954,8 @@ var bS = "DismissableLayer", ti = "dismissableLayer.update", yS = "dismissableLa
12954
12954
  }, [c, g, r, u]), w.useEffect(() => () => {
12955
12955
  c && (u.layers.delete(c), u.layersWithOutsidePointerEventsDisabled.delete(c), iu());
12956
12956
  }, [c, u]), w.useEffect(() => {
12957
- const N = () => d({});
12958
- return document.addEventListener(ti, N), () => document.removeEventListener(ti, N);
12957
+ const A = () => d({});
12958
+ return document.addEventListener(ti, A), () => document.removeEventListener(ti, A);
12959
12959
  }, []), /* @__PURE__ */ h.jsx(
12960
12960
  er.div,
12961
12961
  {
@@ -13087,21 +13087,21 @@ function AS(e) {
13087
13087
  r(void 0);
13088
13088
  }, [e]), t;
13089
13089
  }
13090
- var fs = "Popper", [_f, Mf] = Nf(fs), [OS, jf] = _f(fs), Df = (e) => {
13090
+ var fs = "Popper", [_f, Mf] = Nf(fs), [OS, jf] = _f(fs), Lf = (e) => {
13091
13091
  const { __scopePopper: t, children: r } = e, [n, o] = w.useState(null);
13092
13092
  return /* @__PURE__ */ h.jsx(OS, { scope: t, anchor: n, onAnchorChange: o, children: r });
13093
13093
  };
13094
- Df.displayName = fs;
13095
- var Lf = "PopperAnchor", Vf = w.forwardRef(
13094
+ Lf.displayName = fs;
13095
+ var Df = "PopperAnchor", Vf = w.forwardRef(
13096
13096
  (e, t) => {
13097
- const { __scopePopper: r, virtualRef: n, ...o } = e, a = jf(Lf, r), i = w.useRef(null), s = pr(t, i), l = w.useRef(null);
13097
+ const { __scopePopper: r, virtualRef: n, ...o } = e, a = jf(Df, r), i = w.useRef(null), s = pr(t, i), l = w.useRef(null);
13098
13098
  return w.useEffect(() => {
13099
13099
  const u = l.current;
13100
13100
  l.current = n?.current || i.current, u !== l.current && a.onAnchorChange(l.current);
13101
13101
  }), n ? null : /* @__PURE__ */ h.jsx(er.div, { ...o, ref: s });
13102
13102
  }
13103
13103
  );
13104
- Vf.displayName = Lf;
13104
+ Vf.displayName = Df;
13105
13105
  var gs = "PopperContent", [IS, FS] = _f(gs), zf = w.forwardRef(
13106
13106
  (e, t) => {
13107
13107
  const {
@@ -13119,16 +13119,16 @@ var gs = "PopperContent", [IS, FS] = _f(gs), zf = w.forwardRef(
13119
13119
  updatePositionStrategy: d = "optimized",
13120
13120
  onPlaced: p,
13121
13121
  ...m
13122
- } = e, v = jf(gs, r), [b, x] = w.useState(null), y = pr(t, (D) => x(D)), [k, S] = w.useState(null), P = AS(k), N = P?.width ?? 0, O = P?.height ?? 0, H = n + (a !== "center" ? "-" + a : ""), A = typeof c == "number" ? c : { top: 0, right: 0, bottom: 0, left: 0, ...c }, R = Array.isArray(u) ? u : [u], L = R.length > 0, K = {
13123
- padding: A,
13122
+ } = e, v = jf(gs, r), [b, x] = w.useState(null), y = pr(t, (L) => x(L)), [k, S] = w.useState(null), P = AS(k), A = P?.width ?? 0, O = P?.height ?? 0, H = n + (a !== "center" ? "-" + a : ""), N = typeof c == "number" ? c : { top: 0, right: 0, bottom: 0, left: 0, ...c }, R = Array.isArray(u) ? u : [u], D = R.length > 0, q = {
13123
+ padding: N,
13124
13124
  boundary: R.filter(_S),
13125
13125
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
13126
- altBoundary: L
13126
+ altBoundary: D
13127
13127
  }, { refs: T, floatingStyles: V, placement: B, isPositioned: X, middlewareData: C } = mc({
13128
13128
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
13129
13129
  strategy: "fixed",
13130
13130
  placement: H,
13131
- whileElementsMounted: (...D) => gc(...D, {
13131
+ whileElementsMounted: (...L) => gc(...L, {
13132
13132
  animationFrame: d === "always"
13133
13133
  }),
13134
13134
  elements: {
@@ -13140,21 +13140,21 @@ var gs = "PopperContent", [IS, FS] = _f(gs), zf = w.forwardRef(
13140
13140
  mainAxis: !0,
13141
13141
  crossAxis: !1,
13142
13142
  limiter: f === "partial" ? b0() : void 0,
13143
- ...K
13143
+ ...q
13144
13144
  }),
13145
- l && vc({ ...K }),
13145
+ l && vc({ ...q }),
13146
13146
  bc({
13147
- ...K,
13148
- apply: ({ elements: D, rects: ge, availableWidth: ye, availableHeight: Ve }) => {
13149
- const { width: pt, height: mt } = ge.reference, In = D.floating.style;
13147
+ ...q,
13148
+ apply: ({ elements: L, rects: ge, availableWidth: ye, availableHeight: Ve }) => {
13149
+ const { width: pt, height: mt } = ge.reference, In = L.floating.style;
13150
13150
  In.setProperty("--radix-popper-available-width", `${ye}px`), In.setProperty("--radix-popper-available-height", `${Ve}px`), In.setProperty("--radix-popper-anchor-width", `${pt}px`), In.setProperty("--radix-popper-anchor-height", `${mt}px`);
13151
13151
  }
13152
13152
  }),
13153
13153
  k && x0({ element: k, padding: s }),
13154
- MS({ arrowWidth: N, arrowHeight: O }),
13155
- g && y0({ strategy: "referenceHidden", ...K })
13154
+ MS({ arrowWidth: A, arrowHeight: O }),
13155
+ g && y0({ strategy: "referenceHidden", ...q })
13156
13156
  ]
13157
- }), [q, te] = Gf(B), E = Uo(p);
13157
+ }), [K, te] = Gf(B), E = Uo(p);
13158
13158
  Yt(() => {
13159
13159
  X && E?.();
13160
13160
  }, [X, E]);
@@ -13189,7 +13189,7 @@ var gs = "PopperContent", [IS, FS] = _f(gs), zf = w.forwardRef(
13189
13189
  IS,
13190
13190
  {
13191
13191
  scope: r,
13192
- placedSide: q,
13192
+ placedSide: K,
13193
13193
  onArrowChange: S,
13194
13194
  arrowX: z,
13195
13195
  arrowY: I,
@@ -13197,7 +13197,7 @@ var gs = "PopperContent", [IS, FS] = _f(gs), zf = w.forwardRef(
13197
13197
  children: /* @__PURE__ */ h.jsx(
13198
13198
  er.div,
13199
13199
  {
13200
- "data-side": q,
13200
+ "data-side": K,
13201
13201
  "data-align": te,
13202
13202
  ...m,
13203
13203
  ref: y,
@@ -13283,7 +13283,7 @@ function Gf(e) {
13283
13283
  const [t, r = "center"] = e.split("-");
13284
13284
  return [t, r];
13285
13285
  }
13286
- var jS = Df, DS = Vf, LS = zf, VS = Bf, zS = "Portal", Wf = w.forwardRef((e, t) => {
13286
+ var jS = Lf, LS = Vf, DS = zf, VS = Bf, zS = "Portal", Wf = w.forwardRef((e, t) => {
13287
13287
  const { container: r, ...n } = e, [o, a] = w.useState(!1);
13288
13288
  Yt(() => a(!0), []);
13289
13289
  const i = r || o && globalThis?.document?.body;
@@ -13378,7 +13378,7 @@ function US({
13378
13378
  const u = w.useCallback(
13379
13379
  (c) => {
13380
13380
  if (s) {
13381
- const f = KS(c) ? c(e) : c;
13381
+ const f = qS(c) ? c(e) : c;
13382
13382
  f !== e && i.current?.(f);
13383
13383
  } else
13384
13384
  a(c);
@@ -13398,10 +13398,10 @@ function YS({
13398
13398
  o.current !== r && (a.current?.(r), o.current = r);
13399
13399
  }, [r, o]), [r, n, a];
13400
13400
  }
13401
- function KS(e) {
13401
+ function qS(e) {
13402
13402
  return typeof e == "function";
13403
13403
  }
13404
- var qS = Object.freeze({
13404
+ var KS = Object.freeze({
13405
13405
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
13406
13406
  position: "absolute",
13407
13407
  border: 0,
@@ -13419,14 +13419,14 @@ var qS = Object.freeze({
13419
13419
  {
13420
13420
  ...e,
13421
13421
  ref: t,
13422
- style: { ...qS, ...e.style }
13422
+ style: { ...KS, ...e.style }
13423
13423
  }
13424
13424
  )
13425
13425
  );
13426
13426
  Uf.displayName = XS;
13427
13427
  var JS = Uf, [Yo] = Nf("Tooltip", [
13428
13428
  Mf
13429
- ]), Ko = Mf(), Yf = "TooltipProvider", QS = 700, ri = "tooltip.open", [ZS, ms] = Yo(Yf), Kf = (e) => {
13429
+ ]), qo = Mf(), Yf = "TooltipProvider", QS = 700, ri = "tooltip.open", [ZS, ms] = Yo(Yf), qf = (e) => {
13430
13430
  const {
13431
13431
  __scopeTooltip: t,
13432
13432
  delayDuration: r = QS,
@@ -13461,8 +13461,8 @@ var JS = Uf, [Yo] = Nf("Tooltip", [
13461
13461
  }
13462
13462
  );
13463
13463
  };
13464
- Kf.displayName = Yf;
13465
- var pn = "Tooltip", [ek, On] = Yo(pn), qf = (e) => {
13464
+ qf.displayName = Yf;
13465
+ var pn = "Tooltip", [ek, On] = Yo(pn), Kf = (e) => {
13466
13466
  const {
13467
13467
  __scopeTooltip: t,
13468
13468
  children: r,
@@ -13471,11 +13471,11 @@ var pn = "Tooltip", [ek, On] = Yo(pn), qf = (e) => {
13471
13471
  onOpenChange: a,
13472
13472
  disableHoverableContent: i,
13473
13473
  delayDuration: s
13474
- } = e, l = ms(pn, e.__scopeTooltip), u = Ko(t), [c, f] = w.useState(null), g = RS(), d = w.useRef(0), p = i ?? l.disableHoverableContent, m = s ?? l.delayDuration, v = w.useRef(!1), [b, x] = US({
13474
+ } = e, l = ms(pn, e.__scopeTooltip), u = qo(t), [c, f] = w.useState(null), g = RS(), d = w.useRef(0), p = i ?? l.disableHoverableContent, m = s ?? l.delayDuration, v = w.useRef(!1), [b, x] = US({
13475
13475
  prop: n,
13476
13476
  defaultProp: o ?? !1,
13477
- onChange: (N) => {
13478
- N ? (l.onOpen(), document.dispatchEvent(new CustomEvent(ri))) : l.onClose(), a?.(N);
13477
+ onChange: (A) => {
13478
+ A ? (l.onOpen(), document.dispatchEvent(new CustomEvent(ri))) : l.onClose(), a?.(A);
13479
13479
  },
13480
13480
  caller: pn
13481
13481
  }), y = w.useMemo(() => b ? v.current ? "delayed-open" : "instant-open" : "closed", [b]), k = w.useCallback(() => {
@@ -13511,11 +13511,11 @@ var pn = "Tooltip", [ek, On] = Yo(pn), qf = (e) => {
13511
13511
  }
13512
13512
  ) });
13513
13513
  };
13514
- qf.displayName = pn;
13514
+ Kf.displayName = pn;
13515
13515
  var ni = "TooltipTrigger", Xf = w.forwardRef(
13516
13516
  (e, t) => {
13517
- const { __scopeTooltip: r, ...n } = e, o = On(ni, r), a = ms(ni, r), i = Ko(r), s = w.useRef(null), l = pr(t, s, o.onTriggerChange), u = w.useRef(!1), c = w.useRef(!1), f = w.useCallback(() => u.current = !1, []);
13518
- return w.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ h.jsx(DS, { asChild: !0, ...i, children: /* @__PURE__ */ h.jsx(
13517
+ const { __scopeTooltip: r, ...n } = e, o = On(ni, r), a = ms(ni, r), i = qo(r), s = w.useRef(null), l = pr(t, s, o.onTriggerChange), u = w.useRef(!1), c = w.useRef(!1), f = w.useCallback(() => u.current = !1, []);
13518
+ return w.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ h.jsx(LS, { asChild: !0, ...i, children: /* @__PURE__ */ h.jsx(
13519
13519
  er.button,
13520
13520
  {
13521
13521
  "aria-describedby": o.open ? o.contentId : void 0,
@@ -13588,7 +13588,7 @@ var Rr = "TooltipContent", Qf = w.forwardRef(
13588
13588
  onEscapeKeyDown: a,
13589
13589
  onPointerDownOutside: i,
13590
13590
  ...s
13591
- } = e, l = On(Rr, r), u = Ko(r), { onClose: c } = l;
13591
+ } = e, l = On(Rr, r), u = qo(r), { onClose: c } = l;
13592
13592
  return w.useEffect(() => (document.addEventListener(ri, c), () => document.removeEventListener(ri, c)), [c]), w.useEffect(() => {
13593
13593
  if (l.trigger) {
13594
13594
  const f = (g) => {
@@ -13606,7 +13606,7 @@ var Rr = "TooltipContent", Qf = w.forwardRef(
13606
13606
  onFocusOutside: (f) => f.preventDefault(),
13607
13607
  onDismiss: c,
13608
13608
  children: /* @__PURE__ */ h.jsxs(
13609
- LS,
13609
+ DS,
13610
13610
  {
13611
13611
  "data-state": l.stateAttribute,
13612
13612
  ...u,
@@ -13633,7 +13633,7 @@ var Rr = "TooltipContent", Qf = w.forwardRef(
13633
13633
  Qf.displayName = Rr;
13634
13634
  var eg = "TooltipArrow", tg = w.forwardRef(
13635
13635
  (e, t) => {
13636
- const { __scopeTooltip: r, ...n } = e, o = Ko(r);
13636
+ const { __scopeTooltip: r, ...n } = e, o = qo(r);
13637
13637
  return ak(
13638
13638
  eg,
13639
13639
  r
@@ -13733,8 +13733,8 @@ function fk(e) {
13733
13733
  }
13734
13734
  return r.pop(), t.length === 1 && r.length === 1 && t[0].x === r[0].x && t[0].y === r[0].y ? t : t.concat(r);
13735
13735
  }
13736
- var gk = Kf, pk = qf, mk = Xf, hk = Jf, vk = Qf, bk = tg;
13737
- function fC({
13736
+ var gk = qf, pk = Kf, mk = Xf, hk = Jf, vk = Qf, bk = tg;
13737
+ function gC({
13738
13738
  content: e,
13739
13739
  children: t,
13740
13740
  placement: r = "top",
@@ -13796,7 +13796,7 @@ const yk = {
13796
13796
  lg: "max-h-36"
13797
13797
  // ~6-7 lines
13798
13798
  };
13799
- function gC({
13799
+ function pC({
13800
13800
  children: e,
13801
13801
  size: t = "md",
13802
13802
  expandLabel: r = "Show more",
@@ -13833,7 +13833,7 @@ function gC({
13833
13833
  )
13834
13834
  ] });
13835
13835
  }
13836
- function pC({
13836
+ function mC({
13837
13837
  segments: e,
13838
13838
  size: t = "md",
13839
13839
  showLegend: r = !0,
@@ -13900,7 +13900,7 @@ function pC({
13900
13900
  )
13901
13901
  ] });
13902
13902
  }
13903
- const mC = ({
13903
+ const hC = ({
13904
13904
  items: e,
13905
13905
  allowMultiple: t = !1,
13906
13906
  variant: r = "soft",
@@ -13943,7 +13943,7 @@ const mC = ({
13943
13943
  variant: "default"
13944
13944
  }
13945
13945
  }
13946
- ), hC = ({
13946
+ ), vC = ({
13947
13947
  items: e,
13948
13948
  separator: t,
13949
13949
  showHomeIcon: r,
@@ -14027,7 +14027,7 @@ const mC = ({
14027
14027
  variant: "primary"
14028
14028
  }
14029
14029
  }
14030
- ), vC = ({
14030
+ ), bC = ({
14031
14031
  title: e,
14032
14032
  description: t,
14033
14033
  action: r,
@@ -14069,7 +14069,7 @@ const mC = ({
14069
14069
  variant: "dashed"
14070
14070
  }
14071
14071
  }
14072
- ), bC = ({
14072
+ ), yC = ({
14073
14073
  title: e,
14074
14074
  description: t,
14075
14075
  icon: r,
@@ -14095,7 +14095,7 @@ const mC = ({
14095
14095
  variant: "card"
14096
14096
  }
14097
14097
  }
14098
- ), yC = ({
14098
+ ), xC = ({
14099
14099
  title: e = "An Error Occurred",
14100
14100
  description: t,
14101
14101
  onRetry: r,
@@ -14283,15 +14283,15 @@ const Pk = 864e5, Rk = 6e4, $k = 36e5, cu = /* @__PURE__ */ Symbol.for("construc
14283
14283
  function $r(e, t) {
14284
14284
  return typeof e == "function" ? e(t) : e && typeof e == "object" && cu in e ? e[cu](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
14285
14285
  }
14286
- function Le(e, t) {
14286
+ function De(e, t) {
14287
14287
  return $r(e, e);
14288
14288
  }
14289
14289
  function Nk(e, t, r) {
14290
- const n = Le(e);
14290
+ const n = De(e);
14291
14291
  return isNaN(t) ? $r(e, NaN) : (t && n.setDate(n.getDate() + t), n);
14292
14292
  }
14293
14293
  function Ak(e, t, r) {
14294
- const n = Le(e);
14294
+ const n = De(e);
14295
14295
  if (isNaN(t)) return $r(e, NaN);
14296
14296
  if (!t)
14297
14297
  return n;
@@ -14313,11 +14313,11 @@ function Br(e, t, r) {
14313
14313
  hours: s = 0,
14314
14314
  minutes: l = 0,
14315
14315
  seconds: u = 0
14316
- } = t, c = Le(e), f = o || n ? Ak(c, o + n * 12) : c, g = i || a ? Nk(f, i + a * 7) : f, d = l + s * 60, m = (u + d * 60) * 1e3;
14316
+ } = t, c = De(e), f = o || n ? Ak(c, o + n * 12) : c, g = i || a ? Nk(f, i + a * 7) : f, d = l + s * 60, m = (u + d * 60) * 1e3;
14317
14317
  return $r(e, +g + m);
14318
14318
  }
14319
14319
  function du(e) {
14320
- const t = Le(e), r = new Date(
14320
+ const t = De(e), r = new Date(
14321
14321
  Date.UTC(
14322
14322
  t.getFullYear(),
14323
14323
  t.getMonth(),
@@ -14338,7 +14338,7 @@ function tr(e, ...t) {
14338
14338
  return t.map(r);
14339
14339
  }
14340
14340
  function fu(e, t) {
14341
- const r = Le(e);
14341
+ const r = De(e);
14342
14342
  return r.setHours(0, 0, 0, 0), r;
14343
14343
  }
14344
14344
  function Ok(e, t, r) {
@@ -14350,7 +14350,7 @@ function Ok(e, t, r) {
14350
14350
  return Math.round((s - l) / Pk);
14351
14351
  }
14352
14352
  function rn(e, t) {
14353
- const r = +Le(e) - +Le(t);
14353
+ const r = +De(e) - +De(t);
14354
14354
  return r < 0 ? -1 : r > 0 ? 1 : r;
14355
14355
  }
14356
14356
  function Ik(e, t, r) {
@@ -14400,23 +14400,23 @@ function _k(e, t, r) {
14400
14400
  return vs(r?.roundingMethod)(a);
14401
14401
  }
14402
14402
  function rg(e, t) {
14403
- return +Le(e) - +Le(t);
14403
+ return +De(e) - +De(t);
14404
14404
  }
14405
14405
  function Mk(e, t, r) {
14406
14406
  const n = rg(e, t) / Rk;
14407
14407
  return vs(r?.roundingMethod)(n);
14408
14408
  }
14409
14409
  function jk(e, t) {
14410
- const r = Le(e);
14410
+ const r = De(e);
14411
14411
  return r.setHours(23, 59, 59, 999), r;
14412
14412
  }
14413
- function Dk(e, t) {
14414
- const r = Le(e), n = r.getMonth();
14413
+ function Lk(e, t) {
14414
+ const r = De(e), n = r.getMonth();
14415
14415
  return r.setFullYear(r.getFullYear(), n + 1, 0), r.setHours(23, 59, 59, 999), r;
14416
14416
  }
14417
- function Lk(e, t) {
14418
- const r = Le(e);
14419
- return +jk(r) == +Dk(r);
14417
+ function Dk(e, t) {
14418
+ const r = De(e);
14419
+ return +jk(r) == +Lk(r);
14420
14420
  }
14421
14421
  function Vk(e, t, r) {
14422
14422
  const [n, o, a] = tr(
@@ -14430,7 +14430,7 @@ function Vk(e, t, r) {
14430
14430
  if (s < 1) return 0;
14431
14431
  o.getMonth() === 1 && o.getDate() > 27 && o.setDate(30), o.setMonth(o.getMonth() - i * s);
14432
14432
  let l = rn(o, a) === -i;
14433
- Lk(n) && s === 1 && rn(n, a) === 1 && (l = !1);
14433
+ Dk(n) && s === 1 && rn(n, a) === 1 && (l = !1);
14434
14434
  const u = i * (s - +l);
14435
14435
  return u === 0 ? 0 : u;
14436
14436
  }
@@ -14467,7 +14467,7 @@ function Gk(e, t) {
14467
14467
  return m && (o.seconds = m), o;
14468
14468
  }
14469
14469
  function Wk(e, t) {
14470
- return +Le(e) > +Le(t);
14470
+ return +De(e) > +De(t);
14471
14471
  }
14472
14472
  const Uk = (e) => {
14473
14473
  const t = () => {
@@ -14533,7 +14533,7 @@ const Uk = (e) => {
14533
14533
  size: "md"
14534
14534
  }
14535
14535
  }
14536
- ), Kk = ce(
14536
+ ), qk = ce(
14537
14537
  "uppercase tracking-widest mt-1 transition-colors text-gray-500 dark:text-gray-400",
14538
14538
  {
14539
14539
  variants: {
@@ -14551,8 +14551,8 @@ const Uk = (e) => {
14551
14551
  }
14552
14552
  ), Gn = ({ value: e, label: t, size: r, variant: n }) => /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col items-center", children: [
14553
14553
  /* @__PURE__ */ h.jsx("span", { className: F(Yk({ size: r, variant: n })), children: String(e).padStart(2, "0") }),
14554
- /* @__PURE__ */ h.jsx("span", { className: F(Kk({ size: r })), children: t })
14555
- ] }), qk = $.forwardRef(
14554
+ /* @__PURE__ */ h.jsx("span", { className: F(qk({ size: r })), children: t })
14555
+ ] }), Kk = $.forwardRef(
14556
14556
  ({
14557
14557
  targetDate: e,
14558
14558
  title: t,
@@ -14628,7 +14628,7 @@ const Uk = (e) => {
14628
14628
  );
14629
14629
  }
14630
14630
  );
14631
- qk.displayName = "Countdown";
14631
+ Kk.displayName = "Countdown";
14632
14632
  const Xk = ce(
14633
14633
  "relative w-full transform overflow-hidden rounded-2xl p-6 text-left align-middle shadow-xl transition-all border",
14634
14634
  {
@@ -14663,7 +14663,7 @@ const Xk = ce(
14663
14663
  }
14664
14664
  ), Jk = ce("text-xl font-bold leading-6 text-inherit"), Qk = ce("mt-1 text-sm text-inherit opacity-75"), Zk = ce(
14665
14665
  "inline-flex rounded-md bg-transparent text-inherit opacity-50 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 transition-opacity"
14666
- ), xC = ({
14666
+ ), wC = ({
14667
14667
  isOpen: e,
14668
14668
  onClose: t,
14669
14669
  title: r,
@@ -14812,7 +14812,17 @@ const r2 = ce(
14812
14812
  position: "sticky"
14813
14813
  }
14814
14814
  }
14815
- ), wC = ({
14815
+ );
14816
+ function n2({ close: e }) {
14817
+ return de(() => {
14818
+ const t = (r) => {
14819
+ const n = document.querySelector("[data-roster-mobile-panel]"), o = document.querySelector("[data-roster-hamburger]"), a = r.target;
14820
+ !n?.contains(a) && !o?.contains(a) && e();
14821
+ };
14822
+ return document.addEventListener("pointerdown", t, { capture: !0 }), () => document.removeEventListener("pointerdown", t, { capture: !0 });
14823
+ }, [e]), null;
14824
+ }
14825
+ const SC = ({
14816
14826
  logoSrc: e,
14817
14827
  brandName: t,
14818
14828
  items: r,
@@ -14834,11 +14844,11 @@ const r2 = ce(
14834
14844
  notificationVariant: x = "error",
14835
14845
  ...y
14836
14846
  }) => {
14837
- const k = (a?.notificationCount || 0) > 0, P = (b ?? (m === "white" || m === "default" ? "light" : "dark")) === "dark", N = m === "slate" || m === "primary" || m === "default" && P || m === "white" && P || m === "transparent" && P, O = {
14838
- brand: N ? "text-white dark:text-white hover:text-gray-200 dark:hover:text-gray-200" : "text-gray-900 dark:text-gray-900 hover:text-gray-600 dark:hover:text-gray-600",
14839
- linkBase: N ? "text-gray-300 dark:text-gray-300 hover:text-white dark:hover:text-white" : "text-gray-600 dark:text-gray-600 hover:text-gray-900 dark:hover:text-gray-900",
14840
- linkActive: N ? "text-primary-400 dark:text-primary-400 font-semibold hover:text-primary-300 dark:hover:text-primary-300" : "text-primary-600 dark:text-primary-600 font-semibold hover:text-primary-700 dark:hover:text-primary-700",
14841
- hamburger: N ? "text-gray-300 dark:text-gray-300 hover:bg-white/10 dark:hover:bg-white/10 hover:text-white dark:hover:text-white" : "text-gray-500 dark:text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-100 hover:text-gray-700 dark:hover:text-gray-700"
14847
+ const k = (a?.notificationCount || 0) > 0, P = (b ?? (m === "white" || m === "default" ? "light" : "dark")) === "dark", A = m === "slate" || m === "primary" || m === "default" && P || m === "white" && P || m === "transparent" && P, O = {
14848
+ brand: A ? "text-white dark:text-white hover:text-gray-200 dark:hover:text-gray-200" : "text-gray-900 dark:text-gray-900 hover:text-gray-600 dark:hover:text-gray-600",
14849
+ linkBase: A ? "text-gray-300 dark:text-gray-300 hover:text-white dark:hover:text-white" : "text-gray-600 dark:text-gray-600 hover:text-gray-900 dark:hover:text-gray-900",
14850
+ linkActive: A ? "text-primary-400 dark:text-primary-400 font-semibold hover:text-primary-300 dark:hover:text-primary-300" : "text-primary-600 dark:text-primary-600 font-semibold hover:text-primary-700 dark:hover:text-primary-700",
14851
+ hamburger: A ? "text-gray-300 dark:text-gray-300 hover:bg-white/10 dark:hover:bg-white/10 hover:text-white dark:hover:text-white" : "text-gray-500 dark:text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-100 hover:text-gray-700 dark:hover:text-gray-700"
14842
14852
  };
14843
14853
  return /* @__PURE__ */ h.jsx(
14844
14854
  id,
@@ -14846,7 +14856,7 @@ const r2 = ce(
14846
14856
  as: "nav",
14847
14857
  className: F("z-50", r2({ variant: m, position: v }), p),
14848
14858
  ...y,
14849
- children: ({ open: H, close: A }) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
14859
+ children: ({ open: H, close: N }) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
14850
14860
  /* @__PURE__ */ h.jsxs("div", { className: "container mx-auto flex items-center justify-between px-4 h-16", children: [
14851
14861
  /* @__PURE__ */ h.jsxs(
14852
14862
  or,
@@ -14875,7 +14885,7 @@ const r2 = ce(
14875
14885
  ),
14876
14886
  /* @__PURE__ */ h.jsxs("div", { className: "hidden md:flex items-center gap-8", children: [
14877
14887
  /* @__PURE__ */ h.jsx("div", { className: "flex items-center gap-6", children: r.map((R) => {
14878
- const L = n === R.path;
14888
+ const D = n === R.path;
14879
14889
  return /* @__PURE__ */ h.jsxs(
14880
14890
  or,
14881
14891
  {
@@ -14886,7 +14896,7 @@ const r2 = ce(
14886
14896
  underline: "none",
14887
14897
  className: F(
14888
14898
  "inline-flex items-center gap-1.5 text-sm transition-colors duration-200",
14889
- L ? O.linkActive : O.linkBase
14899
+ D ? O.linkActive : O.linkBase
14890
14900
  ),
14891
14901
  children: [
14892
14902
  R.label,
@@ -14911,7 +14921,7 @@ const r2 = ce(
14911
14921
  }
14912
14922
  ),
14913
14923
  k && /* @__PURE__ */ h.jsx("div", { className: "absolute -top-1 -right-2", children: /* @__PURE__ */ h.jsx(
14914
- La,
14924
+ Da,
14915
14925
  {
14916
14926
  fill: "solid",
14917
14927
  size: "xs",
@@ -14961,8 +14971,8 @@ const r2 = ce(
14961
14971
  u && /* @__PURE__ */ h.jsx(Yr, { children: ({ focus: R }) => /* @__PURE__ */ h.jsxs(
14962
14972
  "div",
14963
14973
  {
14964
- onClick: (L) => {
14965
- L.preventDefault(), u();
14974
+ onClick: (D) => {
14975
+ D.preventDefault(), u();
14966
14976
  },
14967
14977
  role: "button",
14968
14978
  tabIndex: 0,
@@ -14970,8 +14980,8 @@ const r2 = ce(
14970
14980
  "flex w-full items-center justify-between px-4 py-2 text-sm text-gray-700 dark:text-gray-200 cursor-pointer transition-colors",
14971
14981
  R && "bg-gray-50 dark:bg-gray-700"
14972
14982
  ),
14973
- onKeyDown: (L) => {
14974
- (L.key === "Enter" || L.key === " ") && (L.preventDefault(), u());
14983
+ onKeyDown: (D) => {
14984
+ (D.key === "Enter" || D.key === " ") && (D.preventDefault(), u());
14975
14985
  },
14976
14986
  children: [
14977
14987
  /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -15002,7 +15012,7 @@ const r2 = ce(
15002
15012
  }
15003
15013
  ) })
15004
15014
  ] }),
15005
- d.length > 0 && /* @__PURE__ */ h.jsx("div", { className: "py-1", children: d.map((R) => /* @__PURE__ */ h.jsx(Yr, { children: ({ focus: L }) => /* @__PURE__ */ h.jsx(
15015
+ d.length > 0 && /* @__PURE__ */ h.jsx("div", { className: "py-1", children: d.map((R) => /* @__PURE__ */ h.jsx(Yr, { children: ({ focus: D }) => /* @__PURE__ */ h.jsx(
15006
15016
  or,
15007
15017
  {
15008
15018
  as: o,
@@ -15012,7 +15022,7 @@ const r2 = ce(
15012
15022
  underline: "none",
15013
15023
  className: F(
15014
15024
  "block w-full px-4 py-2 text-sm text-gray-700 dark:text-gray-200 transition-colors",
15015
- L && "bg-gray-50 dark:bg-gray-700"
15025
+ D && "bg-gray-50 dark:bg-gray-700"
15016
15026
  ),
15017
15027
  children: R.label
15018
15028
  }
@@ -15031,7 +15041,7 @@ const r2 = ce(
15031
15041
  startIcon: /* @__PURE__ */ h.jsx(
15032
15042
  Ce,
15033
15043
  {
15034
- icon: L1,
15044
+ icon: D1,
15035
15045
  className: "text-gray-400 dark:text-gray-500 w-4"
15036
15046
  }
15037
15047
  ),
@@ -15043,7 +15053,7 @@ const r2 = ce(
15043
15053
  )
15044
15054
  ] }) : /* @__PURE__ */ h.jsx(ze, { size: "sm", variant: "solid", colorScheme: "primary", onClick: i, children: "Log In" }))
15045
15055
  ] }),
15046
- /* @__PURE__ */ h.jsx("div", { className: "flex md:hidden", children: /* @__PURE__ */ h.jsxs(
15056
+ /* @__PURE__ */ h.jsx("div", { "data-roster-hamburger": !0, className: "flex md:hidden", children: /* @__PURE__ */ h.jsxs(
15047
15057
  lo,
15048
15058
  {
15049
15059
  className: F(
@@ -15074,6 +15084,7 @@ const r2 = ce(
15074
15084
  }
15075
15085
  ) })
15076
15086
  ] }),
15087
+ H && /* @__PURE__ */ h.jsx(n2, { close: N }),
15077
15088
  /* @__PURE__ */ h.jsx(
15078
15089
  Er,
15079
15090
  {
@@ -15089,7 +15100,7 @@ const r2 = ce(
15089
15100
  {
15090
15101
  focus: !0,
15091
15102
  className: "absolute top-0 inset-x-0 z-50 origin-top-right transform p-2 transition md:hidden",
15092
- children: /* @__PURE__ */ h.jsxs("div", { className: "rounded-lg shadow-lg ring-1 ring-black/5 dark:ring-white/10 divide-y divide-gray-100 dark:divide-gray-700 bg-white dark:bg-gray-800", children: [
15103
+ children: /* @__PURE__ */ h.jsxs("div", { "data-roster-mobile-panel": !0, className: "rounded-lg shadow-lg ring-1 ring-black/5 dark:ring-white/10 divide-y divide-gray-100 dark:divide-gray-700 bg-white dark:bg-gray-800", children: [
15093
15104
  /* @__PURE__ */ h.jsxs("div", { className: "px-5 pt-5 pb-6", children: [
15094
15105
  /* @__PURE__ */ h.jsxs("div", { className: "flex items-center justify-between", children: [
15095
15106
  /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-3", children: [
@@ -15119,27 +15130,27 @@ const r2 = ce(
15119
15130
  g && /* @__PURE__ */ h.jsx("div", { className: "mb-4", children: g }),
15120
15131
  /* @__PURE__ */ h.jsxs("nav", { className: "grid gap-y-4", children: [
15121
15132
  r.map((R) => {
15122
- const L = n === R.path;
15133
+ const D = n === R.path;
15123
15134
  return /* @__PURE__ */ h.jsx(
15124
15135
  or,
15125
15136
  {
15126
15137
  as: o,
15127
15138
  href: R.path,
15128
15139
  to: R.path,
15129
- onClick: () => A(),
15140
+ onClick: () => N(),
15130
15141
  variant: "neutral",
15131
15142
  underline: "none",
15132
15143
  className: F(
15133
15144
  "-m-3 flex items-center rounded-md p-3 transition-colors",
15134
15145
  "hover:bg-gray-50 dark:hover:bg-gray-700",
15135
- L ? "bg-gray-50 dark:bg-gray-700" : "text-gray-900 dark:text-gray-100"
15146
+ D ? "bg-gray-50 dark:bg-gray-700" : "text-gray-900 dark:text-gray-100"
15136
15147
  ),
15137
15148
  children: /* @__PURE__ */ h.jsxs(
15138
15149
  "span",
15139
15150
  {
15140
15151
  className: F(
15141
15152
  "ml-3 inline-flex items-center gap-1.5 text-base font-medium",
15142
- L ? "text-primary-600 dark:text-primary-400 font-bold" : "text-gray-900 dark:text-gray-100"
15153
+ D ? "text-primary-600 dark:text-primary-400 font-bold" : "text-gray-900 dark:text-gray-100"
15143
15154
  ),
15144
15155
  children: [
15145
15156
  R.label,
@@ -15154,27 +15165,27 @@ const r2 = ce(
15154
15165
  a && d.length > 0 && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
15155
15166
  /* @__PURE__ */ h.jsx("hr", { className: "border-gray-100 dark:border-gray-700" }),
15156
15167
  d.map((R) => {
15157
- const L = n === R.path;
15168
+ const D = n === R.path;
15158
15169
  return /* @__PURE__ */ h.jsx(
15159
15170
  or,
15160
15171
  {
15161
15172
  as: o,
15162
15173
  href: R.path,
15163
15174
  to: R.path,
15164
- onClick: () => A(),
15175
+ onClick: () => N(),
15165
15176
  variant: "neutral",
15166
15177
  underline: "none",
15167
15178
  className: F(
15168
15179
  "-m-3 flex items-center rounded-md p-3 transition-colors",
15169
15180
  "hover:bg-gray-50 dark:hover:bg-gray-700",
15170
- L ? "bg-gray-50 dark:bg-gray-700" : "text-gray-900 dark:text-gray-100"
15181
+ D ? "bg-gray-50 dark:bg-gray-700" : "text-gray-900 dark:text-gray-100"
15171
15182
  ),
15172
15183
  children: /* @__PURE__ */ h.jsx(
15173
15184
  "span",
15174
15185
  {
15175
15186
  className: F(
15176
15187
  "ml-3 text-base font-medium",
15177
- L ? "text-primary-600 dark:text-primary-400 font-bold" : "text-gray-900 dark:text-gray-100"
15188
+ D ? "text-primary-600 dark:text-primary-400 font-bold" : "text-gray-900 dark:text-gray-100"
15178
15189
  ),
15179
15190
  children: R.label
15180
15191
  }
@@ -15194,7 +15205,7 @@ const r2 = ce(
15194
15205
  colorScheme: "primary",
15195
15206
  className: "w-full justify-center",
15196
15207
  onClick: () => {
15197
- i(), A();
15208
+ i(), N();
15198
15209
  },
15199
15210
  children: "Log In"
15200
15211
  }
@@ -15205,11 +15216,11 @@ const r2 = ce(
15205
15216
  variant: "ghost",
15206
15217
  colorScheme: "neutral",
15207
15218
  onClick: () => {
15208
- l?.(), A();
15219
+ l?.(), N();
15209
15220
  },
15210
15221
  className: "w-full justify-between px-4 text-base font-medium hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-900 dark:text-gray-100",
15211
15222
  endIcon: /* @__PURE__ */ h.jsx(
15212
- La,
15223
+ Da,
15213
15224
  {
15214
15225
  fill: "solid",
15215
15226
  size: "xs",
@@ -15268,7 +15279,7 @@ const r2 = ce(
15268
15279
  colorScheme: "error",
15269
15280
  className: "w-full justify-center",
15270
15281
  onClick: () => {
15271
- s?.(), A();
15282
+ s?.(), N();
15272
15283
  },
15273
15284
  children: "Log Out"
15274
15285
  }
@@ -15282,7 +15293,7 @@ const r2 = ce(
15282
15293
  ] })
15283
15294
  }
15284
15295
  );
15285
- }, n2 = ce(
15296
+ }, o2 = ce(
15286
15297
  "relative w-full overflow-auto rounded-md transition-colors duration-200",
15287
15298
  {
15288
15299
  variants: {
@@ -15295,7 +15306,7 @@ const r2 = ce(
15295
15306
  },
15296
15307
  defaultVariants: { variant: "default" }
15297
15308
  }
15298
- ), o2 = ce("w-full caption-bottom", {
15309
+ ), a2 = ce("w-full caption-bottom", {
15299
15310
  variants: {
15300
15311
  size: {
15301
15312
  sm: "text-xs",
@@ -15314,7 +15325,7 @@ const r2 = ce(
15314
15325
  }
15315
15326
  },
15316
15327
  defaultVariants: { variant: "default" }
15317
- }), a2 = ce(
15328
+ }), i2 = ce(
15318
15329
  "border-b transition-colors data-[state=selected]:bg-gray-100 dark:data-[state=selected]:bg-gray-800",
15319
15330
  {
15320
15331
  variants: {
@@ -15353,7 +15364,7 @@ const r2 = ce(
15353
15364
  ],
15354
15365
  defaultVariants: { variant: "default", hoverable: !1 }
15355
15366
  }
15356
- ), i2 = ce(
15367
+ ), s2 = ce(
15357
15368
  "text-left align-middle font-semibold tracking-wide [&:has([role=checkbox])]:pr-0 transition-colors",
15358
15369
  {
15359
15370
  variants: {
@@ -15371,7 +15382,7 @@ const r2 = ce(
15371
15382
  },
15372
15383
  defaultVariants: { variant: "default", size: "md" }
15373
15384
  }
15374
- ), s2 = ce(
15385
+ ), l2 = ce(
15375
15386
  "align-middle [&:has([role=checkbox])]:pr-0 transition-colors",
15376
15387
  {
15377
15388
  variants: {
@@ -15389,7 +15400,7 @@ const r2 = ce(
15389
15400
  },
15390
15401
  defaultVariants: { variant: "default", size: "md" }
15391
15402
  }
15392
- ), Lr = w.createContext({
15403
+ ), Dr = w.createContext({
15393
15404
  variant: "default",
15394
15405
  size: "md",
15395
15406
  hoverable: !1
@@ -15400,18 +15411,18 @@ const r2 = ce(
15400
15411
  size: r = "md",
15401
15412
  hoverable: n = !1,
15402
15413
  ...o
15403
- }, a) => /* @__PURE__ */ h.jsx(Lr.Provider, { value: { variant: t, size: r, hoverable: n }, children: /* @__PURE__ */ h.jsx("div", { className: F(n2({ variant: t })), children: /* @__PURE__ */ h.jsx(
15414
+ }, a) => /* @__PURE__ */ h.jsx(Dr.Provider, { value: { variant: t, size: r, hoverable: n }, children: /* @__PURE__ */ h.jsx("div", { className: F(o2({ variant: t })), children: /* @__PURE__ */ h.jsx(
15404
15415
  "table",
15405
15416
  {
15406
15417
  ref: a,
15407
- className: F(o2({ size: r }), e),
15418
+ className: F(a2({ size: r }), e),
15408
15419
  ...o
15409
15420
  }
15410
15421
  ) }) })
15411
15422
  );
15412
15423
  og.displayName = "Table";
15413
15424
  const ag = w.forwardRef(({ className: e, ...t }, r) => {
15414
- const { variant: n } = w.useContext(Lr);
15425
+ const { variant: n } = w.useContext(Dr);
15415
15426
  return /* @__PURE__ */ h.jsx(
15416
15427
  "thead",
15417
15428
  {
@@ -15431,8 +15442,8 @@ const ig = w.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ h.jsx(
15431
15442
  }
15432
15443
  ));
15433
15444
  ig.displayName = "TableBody";
15434
- const l2 = w.forwardRef(({ className: e, ...t }, r) => {
15435
- const { variant: n } = w.useContext(Lr);
15445
+ const u2 = w.forwardRef(({ className: e, ...t }, r) => {
15446
+ const { variant: n } = w.useContext(Dr);
15436
15447
  return /* @__PURE__ */ h.jsx(
15437
15448
  "tfoot",
15438
15449
  {
@@ -15446,44 +15457,44 @@ const l2 = w.forwardRef(({ className: e, ...t }, r) => {
15446
15457
  }
15447
15458
  );
15448
15459
  });
15449
- l2.displayName = "TableFooter";
15460
+ u2.displayName = "TableFooter";
15450
15461
  const Zn = w.forwardRef(({ className: e, ...t }, r) => {
15451
- const { variant: n, hoverable: o } = w.useContext(Lr);
15462
+ const { variant: n, hoverable: o } = w.useContext(Dr);
15452
15463
  return /* @__PURE__ */ h.jsx(
15453
15464
  "tr",
15454
15465
  {
15455
15466
  ref: r,
15456
- className: F(a2({ variant: n, hoverable: o }), e),
15467
+ className: F(i2({ variant: n, hoverable: o }), e),
15457
15468
  ...t
15458
15469
  }
15459
15470
  );
15460
15471
  });
15461
15472
  Zn.displayName = "TableRow";
15462
15473
  const sg = w.forwardRef(({ className: e, ...t }, r) => {
15463
- const { variant: n, size: o } = w.useContext(Lr);
15474
+ const { variant: n, size: o } = w.useContext(Dr);
15464
15475
  return /* @__PURE__ */ h.jsx(
15465
15476
  "th",
15466
15477
  {
15467
15478
  ref: r,
15468
- className: F(i2({ variant: n, size: o }), e),
15479
+ className: F(s2({ variant: n, size: o }), e),
15469
15480
  ...t
15470
15481
  }
15471
15482
  );
15472
15483
  });
15473
15484
  sg.displayName = "TableHead";
15474
15485
  const oi = w.forwardRef(({ className: e, ...t }, r) => {
15475
- const { variant: n, size: o } = w.useContext(Lr);
15486
+ const { variant: n, size: o } = w.useContext(Dr);
15476
15487
  return /* @__PURE__ */ h.jsx(
15477
15488
  "td",
15478
15489
  {
15479
15490
  ref: r,
15480
- className: F(s2({ variant: n, size: o }), e),
15491
+ className: F(l2({ variant: n, size: o }), e),
15481
15492
  ...t
15482
15493
  }
15483
15494
  );
15484
15495
  });
15485
15496
  oi.displayName = "TableCell";
15486
- const u2 = w.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ h.jsx(
15497
+ const c2 = w.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ h.jsx(
15487
15498
  "caption",
15488
15499
  {
15489
15500
  ref: r,
@@ -15491,25 +15502,25 @@ const u2 = w.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ h.jsx(
15491
15502
  ...t
15492
15503
  }
15493
15504
  ));
15494
- u2.displayName = "TableCaption";
15495
- function Lt(e, t) {
15505
+ c2.displayName = "TableCaption";
15506
+ function Dt(e, t) {
15496
15507
  return typeof e == "function" ? e(t) : e;
15497
15508
  }
15498
15509
  function We(e, t) {
15499
15510
  return (r) => {
15500
15511
  t.setState((n) => ({
15501
15512
  ...n,
15502
- [e]: Lt(r, n[e])
15513
+ [e]: Dt(r, n[e])
15503
15514
  }));
15504
15515
  };
15505
15516
  }
15506
- function qo(e) {
15517
+ function Ko(e) {
15507
15518
  return e instanceof Function;
15508
15519
  }
15509
- function c2(e) {
15520
+ function d2(e) {
15510
15521
  return Array.isArray(e) && e.every((t) => typeof t == "number");
15511
15522
  }
15512
- function d2(e, t) {
15523
+ function f2(e, t) {
15513
15524
  const r = [], n = (o) => {
15514
15525
  o.forEach((a) => {
15515
15526
  r.push(a);
@@ -15553,7 +15564,7 @@ function ee(e, t, r, n) {
15553
15564
  onChange: n
15554
15565
  };
15555
15566
  }
15556
- function f2(e, t, r, n) {
15567
+ function g2(e, t, r, n) {
15557
15568
  const o = () => {
15558
15569
  var i;
15559
15570
  return (i = a.getValue()) != null ? i : e.options.renderFallbackValue;
@@ -15576,7 +15587,7 @@ function f2(e, t, r, n) {
15576
15587
  i.createCell == null || i.createCell(a, r, t, e);
15577
15588
  }, {}), a;
15578
15589
  }
15579
- function g2(e, t, r, n) {
15590
+ function p2(e, t, r, n) {
15580
15591
  var o, a;
15581
15592
  const s = {
15582
15593
  ...e._getDefaultColumnDef(),
@@ -15646,7 +15657,7 @@ function mu(e, t, r) {
15646
15657
  i.createHeader == null || i.createHeader(a, e);
15647
15658
  }), a;
15648
15659
  }
15649
- const p2 = {
15660
+ const m2 = {
15650
15661
  createTable: (e) => {
15651
15662
  e.getHeaderGroups = Z(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (t, r, n, o) => {
15652
15663
  var a, i;
@@ -15731,7 +15742,7 @@ function Wn(e, t, r, n) {
15731
15742
  });
15732
15743
  return f((o = (a = l[0]) == null ? void 0 : a.headers) != null ? o : []), l;
15733
15744
  }
15734
- const m2 = (e, t, r, n, o, a, i) => {
15745
+ const h2 = (e, t, r, n, o, a, i) => {
15735
15746
  let s = {
15736
15747
  id: t,
15737
15748
  index: n,
@@ -15759,7 +15770,7 @@ const m2 = (e, t, r, n, o, a, i) => {
15759
15770
  return (u = s.getValue(l)) != null ? u : e.options.renderFallbackValue;
15760
15771
  },
15761
15772
  subRows: [],
15762
- getLeafRows: () => d2(s.subRows, (l) => l.subRows),
15773
+ getLeafRows: () => f2(s.subRows, (l) => l.subRows),
15763
15774
  getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
15764
15775
  getParentRows: () => {
15765
15776
  let l = [], u = s;
@@ -15770,7 +15781,7 @@ const m2 = (e, t, r, n, o, a, i) => {
15770
15781
  }
15771
15782
  return l.reverse();
15772
15783
  },
15773
- getAllCells: Z(() => [e.getAllLeafColumns()], (l) => l.map((u) => f2(e, s, u, u.id)), ee(e.options, "debugRows", "getAllCells")),
15784
+ getAllCells: Z(() => [e.getAllLeafColumns()], (l) => l.map((u) => g2(e, s, u, u.id)), ee(e.options, "debugRows", "getAllCells")),
15774
15785
  _getAllCellsByColumnId: Z(() => [s.getAllCells()], (l) => l.reduce((u, c) => (u[c.column.id] = c, u), {}), ee(e.options, "debugRows", "getAllCellsByColumnId"))
15775
15786
  };
15776
15787
  for (let l = 0; l < e._features.length; l++) {
@@ -15778,7 +15789,7 @@ const m2 = (e, t, r, n, o, a, i) => {
15778
15789
  u == null || u.createRow == null || u.createRow(s, e);
15779
15790
  }
15780
15791
  return s;
15781
- }, h2 = {
15792
+ }, v2 = {
15782
15793
  createColumn: (e, t) => {
15783
15794
  e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
15784
15795
  if (e._getFacetedMinMaxValues)
@@ -15848,7 +15859,7 @@ const yt = {
15848
15859
  function Ze(e) {
15849
15860
  return e == null || e === "";
15850
15861
  }
15851
- const v2 = {
15862
+ const b2 = {
15852
15863
  getDefaultColumnDef: () => ({
15853
15864
  filterFn: "auto"
15854
15865
  }),
@@ -15867,7 +15878,7 @@ const v2 = {
15867
15878
  return typeof n == "string" ? yt.includesString : typeof n == "number" ? yt.inNumberRange : typeof n == "boolean" || n !== null && typeof n == "object" ? yt.equals : Array.isArray(n) ? yt.arrIncludes : yt.weakEquals;
15868
15879
  }, e.getFilterFn = () => {
15869
15880
  var r, n;
15870
- return qo(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
15881
+ return Ko(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
15871
15882
  // @ts-ignore
15872
15883
  (r = (n = t.options.filterFns) == null ? void 0 : n[e.columnDef.filterFn]) != null ? r : yt[e.columnDef.filterFn]
15873
15884
  );
@@ -15882,7 +15893,7 @@ const v2 = {
15882
15893
  return (r = (n = t.getState().columnFilters) == null ? void 0 : n.findIndex((o) => o.id === e.id)) != null ? r : -1;
15883
15894
  }, e.setFilterValue = (r) => {
15884
15895
  t.setColumnFilters((n) => {
15885
- const o = e.getFilterFn(), a = n?.find((c) => c.id === e.id), i = Lt(r, a ? a.value : void 0);
15896
+ const o = e.getFilterFn(), a = n?.find((c) => c.id === e.id), i = Dt(r, a ? a.value : void 0);
15886
15897
  if (hu(o, i, e)) {
15887
15898
  var s;
15888
15899
  return (s = n?.filter((c) => c.id !== e.id)) != null ? s : [];
@@ -15906,7 +15917,7 @@ const v2 = {
15906
15917
  e.setColumnFilters = (t) => {
15907
15918
  const r = e.getAllLeafColumns(), n = (o) => {
15908
15919
  var a;
15909
- return (a = Lt(t, o)) == null ? void 0 : a.filter((i) => {
15920
+ return (a = Dt(t, o)) == null ? void 0 : a.filter((i) => {
15910
15921
  const s = r.find((l) => l.id === i.id);
15911
15922
  if (s) {
15912
15923
  const l = s.getFilterFn();
@@ -15926,54 +15937,54 @@ const v2 = {
15926
15937
  function hu(e, t, r) {
15927
15938
  return (e && e.autoRemove ? e.autoRemove(t, r) : !1) || typeof t > "u" || typeof t == "string" && !t;
15928
15939
  }
15929
- const b2 = (e, t, r) => r.reduce((n, o) => {
15940
+ const y2 = (e, t, r) => r.reduce((n, o) => {
15930
15941
  const a = o.getValue(e);
15931
15942
  return n + (typeof a == "number" ? a : 0);
15932
- }, 0), y2 = (e, t, r) => {
15943
+ }, 0), x2 = (e, t, r) => {
15933
15944
  let n;
15934
15945
  return r.forEach((o) => {
15935
15946
  const a = o.getValue(e);
15936
15947
  a != null && (n > a || n === void 0 && a >= a) && (n = a);
15937
15948
  }), n;
15938
- }, x2 = (e, t, r) => {
15949
+ }, w2 = (e, t, r) => {
15939
15950
  let n;
15940
15951
  return r.forEach((o) => {
15941
15952
  const a = o.getValue(e);
15942
15953
  a != null && (n < a || n === void 0 && a >= a) && (n = a);
15943
15954
  }), n;
15944
- }, w2 = (e, t, r) => {
15955
+ }, S2 = (e, t, r) => {
15945
15956
  let n, o;
15946
15957
  return r.forEach((a) => {
15947
15958
  const i = a.getValue(e);
15948
15959
  i != null && (n === void 0 ? i >= i && (n = o = i) : (n > i && (n = i), o < i && (o = i)));
15949
15960
  }), [n, o];
15950
- }, S2 = (e, t) => {
15961
+ }, k2 = (e, t) => {
15951
15962
  let r = 0, n = 0;
15952
15963
  if (t.forEach((o) => {
15953
15964
  let a = o.getValue(e);
15954
15965
  a != null && (a = +a) >= a && (++r, n += a);
15955
15966
  }), r) return n / r;
15956
- }, k2 = (e, t) => {
15967
+ }, C2 = (e, t) => {
15957
15968
  if (!t.length)
15958
15969
  return;
15959
15970
  const r = t.map((a) => a.getValue(e));
15960
- if (!c2(r))
15971
+ if (!d2(r))
15961
15972
  return;
15962
15973
  if (r.length === 1)
15963
15974
  return r[0];
15964
15975
  const n = Math.floor(r.length / 2), o = r.sort((a, i) => a - i);
15965
15976
  return r.length % 2 !== 0 ? o[n] : (o[n - 1] + o[n]) / 2;
15966
- }, C2 = (e, t) => Array.from(new Set(t.map((r) => r.getValue(e))).values()), E2 = (e, t) => new Set(t.map((r) => r.getValue(e))).size, P2 = (e, t) => t.length, ha = {
15967
- sum: b2,
15968
- min: y2,
15969
- max: x2,
15970
- extent: w2,
15971
- mean: S2,
15972
- median: k2,
15973
- unique: C2,
15974
- uniqueCount: E2,
15975
- count: P2
15976
- }, R2 = {
15977
+ }, E2 = (e, t) => Array.from(new Set(t.map((r) => r.getValue(e))).values()), P2 = (e, t) => new Set(t.map((r) => r.getValue(e))).size, R2 = (e, t) => t.length, ha = {
15978
+ sum: y2,
15979
+ min: x2,
15980
+ max: w2,
15981
+ extent: S2,
15982
+ mean: k2,
15983
+ median: C2,
15984
+ unique: E2,
15985
+ uniqueCount: P2,
15986
+ count: R2
15987
+ }, $2 = {
15977
15988
  getDefaultColumnDef: () => ({
15978
15989
  aggregatedCell: (e) => {
15979
15990
  var t, r;
@@ -16016,7 +16027,7 @@ const b2 = (e, t, r) => r.reduce((n, o) => {
16016
16027
  var r, n;
16017
16028
  if (!e)
16018
16029
  throw new Error();
16019
- return qo(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (r = (n = t.options.aggregationFns) == null ? void 0 : n[e.columnDef.aggregationFn]) != null ? r : ha[e.columnDef.aggregationFn];
16030
+ return Ko(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (r = (n = t.options.aggregationFns) == null ? void 0 : n[e.columnDef.aggregationFn]) != null ? r : ha[e.columnDef.aggregationFn];
16020
16031
  };
16021
16032
  },
16022
16033
  createTable: (e) => {
@@ -16040,13 +16051,13 @@ const b2 = (e, t, r) => r.reduce((n, o) => {
16040
16051
  };
16041
16052
  }
16042
16053
  };
16043
- function $2(e, t, r) {
16054
+ function N2(e, t, r) {
16044
16055
  if (!(t != null && t.length) || !r)
16045
16056
  return e;
16046
16057
  const n = e.filter((a) => !t.includes(a.id));
16047
16058
  return r === "remove" ? n : [...t.map((a) => e.find((i) => i.id === a)).filter(Boolean), ...n];
16048
16059
  }
16049
- const N2 = {
16060
+ const A2 = {
16050
16061
  getInitialState: (e) => ({
16051
16062
  columnOrder: [],
16052
16063
  ...e
@@ -16080,13 +16091,13 @@ const N2 = {
16080
16091
  }
16081
16092
  a = [...a, ...s];
16082
16093
  }
16083
- return $2(a, r, n);
16094
+ return N2(a, r, n);
16084
16095
  }, ee(e.options, "debugTable", "_getOrderColumnsFn"));
16085
16096
  }
16086
16097
  }, va = () => ({
16087
16098
  left: [],
16088
16099
  right: []
16089
- }), A2 = {
16100
+ }), O2 = {
16090
16101
  getInitialState: (e) => ({
16091
16102
  columnPinning: va(),
16092
16103
  ...e
@@ -16163,7 +16174,7 @@ const N2 = {
16163
16174
  }, ee(e.options, "debugColumns", "getCenterLeafColumns"));
16164
16175
  }
16165
16176
  };
16166
- function O2(e) {
16177
+ function I2(e) {
16167
16178
  return e || (typeof document < "u" ? document : null);
16168
16179
  }
16169
16180
  const Un = {
@@ -16177,7 +16188,7 @@ const Un = {
16177
16188
  deltaPercentage: null,
16178
16189
  isResizingColumn: !1,
16179
16190
  columnSizingStart: []
16180
- }), I2 = {
16191
+ }), F2 = {
16181
16192
  getDefaultColumnDef: () => Un,
16182
16193
  getInitialState: (e) => ({
16183
16194
  columnSizing: {},
@@ -16234,13 +16245,13 @@ const Un = {
16234
16245
  const i = e.getSize(), s = e ? e.getLeafHeaders().map((b) => [b.column.id, b.column.getSize()]) : [[n.id, n.getSize()]], l = ya(a) ? Math.round(a.touches[0].clientX) : a.clientX, u = {}, c = (b, x) => {
16235
16246
  typeof x == "number" && (t.setColumnSizingInfo((y) => {
16236
16247
  var k, S;
16237
- const P = t.options.columnResizeDirection === "rtl" ? -1 : 1, N = (x - ((k = y?.startOffset) != null ? k : 0)) * P, O = Math.max(N / ((S = y?.startSize) != null ? S : 0), -0.999999);
16248
+ const P = t.options.columnResizeDirection === "rtl" ? -1 : 1, A = (x - ((k = y?.startOffset) != null ? k : 0)) * P, O = Math.max(A / ((S = y?.startSize) != null ? S : 0), -0.999999);
16238
16249
  return y.columnSizingStart.forEach((H) => {
16239
- let [A, R] = H;
16240
- u[A] = Math.round(Math.max(R + R * O, 0) * 100) / 100;
16250
+ let [N, R] = H;
16251
+ u[N] = Math.round(Math.max(R + R * O, 0) * 100) / 100;
16241
16252
  }), {
16242
16253
  ...y,
16243
- deltaOffset: N,
16254
+ deltaOffset: A,
16244
16255
  deltaPercentage: O
16245
16256
  };
16246
16257
  }), (t.options.columnResizeMode === "onChange" || b === "end") && t.setColumnSizing((y) => ({
@@ -16257,7 +16268,7 @@ const Un = {
16257
16268
  deltaPercentage: null,
16258
16269
  columnSizingStart: []
16259
16270
  }));
16260
- }, d = O2(r), p = {
16271
+ }, d = I2(r), p = {
16261
16272
  moveHandler: (b) => f(b.clientX),
16262
16273
  upHandler: (b) => {
16263
16274
  d?.removeEventListener("mousemove", p.moveHandler), d?.removeEventListener("mouseup", p.upHandler), g(b.clientX);
@@ -16268,7 +16279,7 @@ const Un = {
16268
16279
  var x;
16269
16280
  d?.removeEventListener("touchmove", m.moveHandler), d?.removeEventListener("touchend", m.upHandler), b.cancelable && (b.preventDefault(), b.stopPropagation()), g((x = b.touches[0]) == null ? void 0 : x.clientX);
16270
16281
  }
16271
- }, v = F2() ? {
16282
+ }, v = T2() ? {
16272
16283
  passive: !1
16273
16284
  } : !1;
16274
16285
  ya(a) ? (d?.addEventListener("touchmove", m.moveHandler, v), d?.addEventListener("touchend", m.upHandler, v)) : (d?.addEventListener("mousemove", p.moveHandler, v), d?.addEventListener("mouseup", p.upHandler, v)), t.setColumnSizingInfo((b) => ({
@@ -16306,7 +16317,7 @@ const Un = {
16306
16317
  }
16307
16318
  };
16308
16319
  let Yn = null;
16309
- function F2() {
16320
+ function T2() {
16310
16321
  if (typeof Yn == "boolean") return Yn;
16311
16322
  let e = !1;
16312
16323
  try {
@@ -16325,7 +16336,7 @@ function F2() {
16325
16336
  function ya(e) {
16326
16337
  return e.type === "touchstart";
16327
16338
  }
16328
- const T2 = {
16339
+ const _2 = {
16329
16340
  getInitialState: (e) => ({
16330
16341
  columnVisibility: {},
16331
16342
  ...e
@@ -16373,14 +16384,14 @@ const T2 = {
16373
16384
  function nn(e, t) {
16374
16385
  return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
16375
16386
  }
16376
- const _2 = {
16387
+ const M2 = {
16377
16388
  createTable: (e) => {
16378
16389
  e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
16379
16390
  if (e._getGlobalFacetedMinMaxValues)
16380
16391
  return e._getGlobalFacetedMinMaxValues();
16381
16392
  };
16382
16393
  }
16383
- }, M2 = {
16394
+ }, j2 = {
16384
16395
  getInitialState: (e) => ({
16385
16396
  globalFilter: void 0,
16386
16397
  ...e
@@ -16406,14 +16417,14 @@ const _2 = {
16406
16417
  const {
16407
16418
  globalFilterFn: n
16408
16419
  } = e.options;
16409
- return qo(n) ? n : n === "auto" ? e.getGlobalAutoFilterFn() : (t = (r = e.options.filterFns) == null ? void 0 : r[n]) != null ? t : yt[n];
16420
+ return Ko(n) ? n : n === "auto" ? e.getGlobalAutoFilterFn() : (t = (r = e.options.filterFns) == null ? void 0 : r[n]) != null ? t : yt[n];
16410
16421
  }, e.setGlobalFilter = (t) => {
16411
16422
  e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
16412
16423
  }, e.resetGlobalFilter = (t) => {
16413
16424
  e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
16414
16425
  };
16415
16426
  }
16416
- }, j2 = {
16427
+ }, L2 = {
16417
16428
  getInitialState: (e) => ({
16418
16429
  expanded: {},
16419
16430
  ...e
@@ -16531,14 +16542,14 @@ const _2 = {
16531
16542
  });
16532
16543
  }
16533
16544
  }, e.setPagination = (n) => {
16534
- const o = (a) => Lt(n, a);
16545
+ const o = (a) => Dt(n, a);
16535
16546
  return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(o);
16536
16547
  }, e.resetPagination = (n) => {
16537
16548
  var o;
16538
16549
  e.setPagination(n ? xa() : (o = e.initialState.pagination) != null ? o : xa());
16539
16550
  }, e.setPageIndex = (n) => {
16540
16551
  e.setPagination((o) => {
16541
- let a = Lt(n, o.pageIndex);
16552
+ let a = Dt(n, o.pageIndex);
16542
16553
  const i = typeof e.options.pageCount > "u" || e.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : e.options.pageCount - 1;
16543
16554
  return a = Math.max(0, Math.min(a, i)), {
16544
16555
  ...o,
@@ -16553,7 +16564,7 @@ const _2 = {
16553
16564
  e.setPageSize(n ? ii : (o = (a = e.initialState) == null || (a = a.pagination) == null ? void 0 : a.pageSize) != null ? o : ii);
16554
16565
  }, e.setPageSize = (n) => {
16555
16566
  e.setPagination((o) => {
16556
- const a = Math.max(1, Lt(n, o.pageSize)), i = o.pageSize * o.pageIndex, s = Math.floor(i / a);
16567
+ const a = Math.max(1, Dt(n, o.pageSize)), i = o.pageSize * o.pageIndex, s = Math.floor(i / a);
16557
16568
  return {
16558
16569
  ...o,
16559
16570
  pageIndex: s,
@@ -16562,7 +16573,7 @@ const _2 = {
16562
16573
  });
16563
16574
  }, e.setPageCount = (n) => e.setPagination((o) => {
16564
16575
  var a;
16565
- let i = Lt(n, (a = e.options.pageCount) != null ? a : -1);
16576
+ let i = Dt(n, (a = e.options.pageCount) != null ? a : -1);
16566
16577
  return typeof i == "number" && (i = Math.max(-1, i)), {
16567
16578
  ...o,
16568
16579
  pageCount: i
@@ -16586,7 +16597,7 @@ const _2 = {
16586
16597
  }, wa = () => ({
16587
16598
  top: [],
16588
16599
  bottom: []
16589
- }), L2 = {
16600
+ }), V2 = {
16590
16601
  getInitialState: (e) => ({
16591
16602
  rowPinning: wa(),
16592
16603
  ...e
@@ -16687,7 +16698,7 @@ const _2 = {
16687
16698
  return t.filter((a) => !o.has(a.id));
16688
16699
  }, ee(e.options, "debugRows", "getCenterRows"));
16689
16700
  }
16690
- }, V2 = {
16701
+ }, z2 = {
16691
16702
  getInitialState: (e) => ({
16692
16703
  rowSelection: {},
16693
16704
  ...e
@@ -16843,14 +16854,14 @@ function li(e, t, r) {
16843
16854
  }
16844
16855
  }), o ? "all" : a ? "some" : !1;
16845
16856
  }
16846
- const ui = /([0-9]+)/gm, z2 = (e, t, r) => hg(Kt(e.getValue(r)).toLowerCase(), Kt(t.getValue(r)).toLowerCase()), H2 = (e, t, r) => hg(Kt(e.getValue(r)), Kt(t.getValue(r))), B2 = (e, t, r) => xs(Kt(e.getValue(r)).toLowerCase(), Kt(t.getValue(r)).toLowerCase()), G2 = (e, t, r) => xs(Kt(e.getValue(r)), Kt(t.getValue(r))), W2 = (e, t, r) => {
16857
+ const ui = /([0-9]+)/gm, H2 = (e, t, r) => hg(qt(e.getValue(r)).toLowerCase(), qt(t.getValue(r)).toLowerCase()), B2 = (e, t, r) => hg(qt(e.getValue(r)), qt(t.getValue(r))), G2 = (e, t, r) => xs(qt(e.getValue(r)).toLowerCase(), qt(t.getValue(r)).toLowerCase()), W2 = (e, t, r) => xs(qt(e.getValue(r)), qt(t.getValue(r))), U2 = (e, t, r) => {
16847
16858
  const n = e.getValue(r), o = t.getValue(r);
16848
16859
  return n > o ? 1 : n < o ? -1 : 0;
16849
- }, U2 = (e, t, r) => xs(e.getValue(r), t.getValue(r));
16860
+ }, Y2 = (e, t, r) => xs(e.getValue(r), t.getValue(r));
16850
16861
  function xs(e, t) {
16851
16862
  return e === t ? 0 : e > t ? 1 : -1;
16852
16863
  }
16853
- function Kt(e) {
16864
+ function qt(e) {
16854
16865
  return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
16855
16866
  }
16856
16867
  function hg(e, t) {
@@ -16874,13 +16885,13 @@ function hg(e, t) {
16874
16885
  return r.length - n.length;
16875
16886
  }
16876
16887
  const Gr = {
16877
- alphanumeric: z2,
16878
- alphanumericCaseSensitive: H2,
16879
- text: B2,
16880
- textCaseSensitive: G2,
16881
- datetime: W2,
16882
- basic: U2
16883
- }, Y2 = {
16888
+ alphanumeric: H2,
16889
+ alphanumericCaseSensitive: B2,
16890
+ text: G2,
16891
+ textCaseSensitive: W2,
16892
+ datetime: U2,
16893
+ basic: Y2
16894
+ }, q2 = {
16884
16895
  getInitialState: (e) => ({
16885
16896
  sorting: [],
16886
16897
  ...e
@@ -16912,7 +16923,7 @@ const Gr = {
16912
16923
  var r, n;
16913
16924
  if (!e)
16914
16925
  throw new Error();
16915
- return qo(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (r = (n = t.options.sortingFns) == null ? void 0 : n[e.columnDef.sortingFn]) != null ? r : Gr[e.columnDef.sortingFn];
16926
+ return Ko(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (r = (n = t.options.sortingFns) == null ? void 0 : n[e.columnDef.sortingFn]) != null ? r : Gr[e.columnDef.sortingFn];
16916
16927
  }, e.toggleSorting = (r, n) => {
16917
16928
  const o = e.getNextSortingOrder(), a = typeof r < "u" && r !== null;
16918
16929
  t.setSorting((i) => {
@@ -16970,26 +16981,26 @@ const Gr = {
16970
16981
  }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
16971
16982
  }
16972
16983
  }, K2 = [
16973
- p2,
16974
- T2,
16975
- N2,
16984
+ m2,
16985
+ _2,
16976
16986
  A2,
16977
- h2,
16987
+ O2,
16978
16988
  v2,
16979
- _2,
16980
- //depends on ColumnFaceting
16989
+ b2,
16981
16990
  M2,
16991
+ //depends on ColumnFaceting
16992
+ j2,
16982
16993
  //depends on ColumnFiltering
16983
- Y2,
16984
- R2,
16994
+ q2,
16995
+ $2,
16985
16996
  //depends on RowSorting
16986
- j2,
16987
- D2,
16988
16997
  L2,
16998
+ D2,
16989
16999
  V2,
16990
- I2
17000
+ z2,
17001
+ F2
16991
17002
  ];
16992
- function q2(e) {
17003
+ function X2(e) {
16993
17004
  var t, r;
16994
17005
  process.env.NODE_ENV !== "production" && (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
16995
17006
  const n = [...K2, ...(t = e._features) != null ? t : []];
@@ -17030,7 +17041,7 @@ function q2(e) {
17030
17041
  o.setState(o.initialState);
17031
17042
  },
17032
17043
  setOptions: (g) => {
17033
- const d = Lt(g, o.options);
17044
+ const d = Dt(g, o.options);
17034
17045
  o.options = i(d);
17035
17046
  },
17036
17047
  getState: () => o.options.state,
@@ -17072,7 +17083,7 @@ function q2(e) {
17072
17083
  getAllColumns: Z(() => [o._getColumnDefs()], (g) => {
17073
17084
  const d = function(p, m, v) {
17074
17085
  return v === void 0 && (v = 0), p.map((b) => {
17075
- const x = g2(o, b, v, m), y = b;
17086
+ const x = p2(o, b, v, m), y = b;
17076
17087
  return x.columns = y.columns ? d(y.columns, x, v + 1) : [], x;
17077
17088
  });
17078
17089
  };
@@ -17096,7 +17107,7 @@ function q2(e) {
17096
17107
  }
17097
17108
  return o;
17098
17109
  }
17099
- function X2() {
17110
+ function J2() {
17100
17111
  return (e) => Z(() => [e.options.data], (t) => {
17101
17112
  const r = {
17102
17113
  rows: [],
@@ -17106,7 +17117,7 @@ function X2() {
17106
17117
  a === void 0 && (a = 0);
17107
17118
  const s = [];
17108
17119
  for (let u = 0; u < o.length; u++) {
17109
- const c = m2(e, e._getRowId(o[u], u, i), o[u], u, a, void 0, i?.id);
17120
+ const c = h2(e, e._getRowId(o[u], u, i), o[u], u, a, void 0, i?.id);
17110
17121
  if (r.flatRows.push(c), r.rowsById[c.id] = c, s.push(c), e.options.getSubRows) {
17111
17122
  var l;
17112
17123
  c.originalSubRows = e.options.getSubRows(o[u], u), (l = c.originalSubRows) != null && l.length && (c.subRows = n(c.originalSubRows, a + 1, c));
@@ -17117,7 +17128,7 @@ function X2() {
17117
17128
  return r.rows = n(t), r;
17118
17129
  }, ee(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
17119
17130
  }
17120
- function J2(e) {
17131
+ function Q2(e) {
17121
17132
  const t = [], r = (n) => {
17122
17133
  var o;
17123
17134
  t.push(n), (o = n.subRows) != null && o.length && n.getIsExpanded() && n.subRows.forEach(r);
@@ -17128,7 +17139,7 @@ function J2(e) {
17128
17139
  rowsById: e.rowsById
17129
17140
  };
17130
17141
  }
17131
- function Q2(e) {
17142
+ function Z2(e) {
17132
17143
  return (t) => Z(() => [t.getState().pagination, t.getPrePaginationRowModel(), t.options.paginateExpandedRows ? void 0 : t.getState().expanded], (r, n) => {
17133
17144
  if (!n.rows.length)
17134
17145
  return n;
@@ -17148,7 +17159,7 @@ function Q2(e) {
17148
17159
  rows: i,
17149
17160
  flatRows: s,
17150
17161
  rowsById: l
17151
- } : f = J2({
17162
+ } : f = Q2({
17152
17163
  rows: i,
17153
17164
  flatRows: s,
17154
17165
  rowsById: l
@@ -17159,7 +17170,7 @@ function Q2(e) {
17159
17170
  return f.rows.forEach(g), f;
17160
17171
  }, ee(t.options, "debugTable", "getPaginationRowModel"));
17161
17172
  }
17162
- function Z2() {
17173
+ function eC() {
17163
17174
  return (e) => Z(() => [e.getState().sorting, e.getPreSortedRowModel()], (t, r) => {
17164
17175
  if (!r.rows.length || !(t != null && t.length))
17165
17176
  return r;
@@ -17209,21 +17220,21 @@ function Z2() {
17209
17220
  }, ee(e.options, "debugTable", "getSortedRowModel", () => e._autoResetPageIndex()));
17210
17221
  }
17211
17222
  function vu(e, t) {
17212
- return e ? eC(e) ? /* @__PURE__ */ w.createElement(e, t) : e : null;
17213
- }
17214
- function eC(e) {
17215
- return tC(e) || typeof e == "function" || rC(e);
17223
+ return e ? tC(e) ? /* @__PURE__ */ w.createElement(e, t) : e : null;
17216
17224
  }
17217
17225
  function tC(e) {
17226
+ return rC(e) || typeof e == "function" || nC(e);
17227
+ }
17228
+ function rC(e) {
17218
17229
  return typeof e == "function" && (() => {
17219
17230
  const t = Object.getPrototypeOf(e);
17220
17231
  return t.prototype && t.prototype.isReactComponent;
17221
17232
  })();
17222
17233
  }
17223
- function rC(e) {
17234
+ function nC(e) {
17224
17235
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
17225
17236
  }
17226
- function nC(e) {
17237
+ function oC(e) {
17227
17238
  const t = {
17228
17239
  state: {},
17229
17240
  // Dummy state
@@ -17233,7 +17244,7 @@ function nC(e) {
17233
17244
  renderFallbackValue: null,
17234
17245
  ...e
17235
17246
  }, [r] = w.useState(() => ({
17236
- current: q2(t)
17247
+ current: X2(t)
17237
17248
  })), [n, o] = w.useState(() => r.current.initialState);
17238
17249
  return r.current.setOptions((a) => ({
17239
17250
  ...a,
@@ -17249,7 +17260,7 @@ function nC(e) {
17249
17260
  }
17250
17261
  })), r.current;
17251
17262
  }
17252
- function SC({
17263
+ function kC({
17253
17264
  columns: e,
17254
17265
  data: t,
17255
17266
  className: r,
@@ -17259,13 +17270,13 @@ function SC({
17259
17270
  size: i = "md",
17260
17271
  hoverable: s = !1
17261
17272
  }) {
17262
- const [l, u] = ne([]), c = nC({
17273
+ const [l, u] = ne([]), c = oC({
17263
17274
  data: t,
17264
17275
  columns: e,
17265
- getCoreRowModel: X2(),
17266
- getPaginationRowModel: Q2(),
17276
+ getCoreRowModel: J2(),
17277
+ getPaginationRowModel: Z2(),
17267
17278
  onSortingChange: u,
17268
- getSortedRowModel: Z2(),
17279
+ getSortedRowModel: eC(),
17269
17280
  state: {
17270
17281
  sorting: l
17271
17282
  },
@@ -17346,7 +17357,7 @@ function SC({
17346
17357
  onClick: () => c.setPageIndex(0),
17347
17358
  disabled: !c.getCanPreviousPage(),
17348
17359
  "aria-label": "Go to first page",
17349
- children: /* @__PURE__ */ h.jsx(Ce, { icon: K1 })
17360
+ children: /* @__PURE__ */ h.jsx(Ce, { icon: q1 })
17350
17361
  }
17351
17362
  ),
17352
17363
  /* @__PURE__ */ h.jsx(
@@ -17370,7 +17381,7 @@ function SC({
17370
17381
  onClick: () => c.nextPage(),
17371
17382
  disabled: !c.getCanNextPage(),
17372
17383
  "aria-label": "Go to next page",
17373
- children: /* @__PURE__ */ h.jsx(Ce, { icon: D1 })
17384
+ children: /* @__PURE__ */ h.jsx(Ce, { icon: L1 })
17374
17385
  }
17375
17386
  ),
17376
17387
  /* @__PURE__ */ h.jsx(
@@ -17392,50 +17403,50 @@ function SC({
17392
17403
  ] });
17393
17404
  }
17394
17405
  export {
17395
- mC as Accordion,
17406
+ hC as Accordion,
17396
17407
  Ek as ActionBar,
17397
17408
  Zi as Avatar,
17398
- cC as AvatarStrip,
17399
- La as Badge,
17400
- hC as Breadcrumbs,
17409
+ dC as AvatarStrip,
17410
+ Da as Badge,
17411
+ vC as Breadcrumbs,
17401
17412
  ze as Button,
17402
- vC as CallToAction,
17413
+ bC as CallToAction,
17403
17414
  ey as Card,
17404
17415
  X1 as Checkbox,
17405
- gC as CollapsibleSection,
17406
- qk as Countdown,
17407
- SC as DataTable,
17408
- xC as Dialog,
17416
+ pC as CollapsibleSection,
17417
+ Kk as Countdown,
17418
+ kC as DataTable,
17419
+ wC as Dialog,
17409
17420
  Z1 as Disclosure,
17410
- bC as EmptyState,
17411
- yC as ErrorState,
17421
+ yC as EmptyState,
17422
+ xC as ErrorState,
17412
17423
  t2 as Footer,
17413
17424
  tS as Input,
17414
17425
  or as Link,
17415
- dC as LiquidTabs,
17426
+ fC as LiquidTabs,
17416
17427
  kk as MatchupCard,
17417
- wC as Navbar,
17418
- pC as SegmentBar,
17419
- uC as Select,
17428
+ SC as Navbar,
17429
+ mC as SegmentBar,
17430
+ cC as Select,
17420
17431
  Jb as Spinner,
17421
17432
  nu as Switch,
17422
17433
  og as Table,
17423
17434
  ig as TableBody,
17424
- u2 as TableCaption,
17435
+ c2 as TableCaption,
17425
17436
  oi as TableCell,
17426
- l2 as TableFooter,
17437
+ u2 as TableFooter,
17427
17438
  sg as TableHead,
17428
17439
  ag as TableHeader,
17429
17440
  Zn as TableRow,
17430
17441
  sS as Textarea,
17431
- fC as Tooltip,
17442
+ gC as Tooltip,
17432
17443
  Ck as actionBarVariants,
17433
- Kb as avatarVariants,
17434
- qb as badgeVariants,
17444
+ qb as avatarVariants,
17445
+ Kb as badgeVariants,
17435
17446
  su as breadcrumbVariants,
17436
17447
  Qb as buttonVariants,
17437
17448
  Zb as cardVariants,
17438
- q1 as checkboxVariants,
17449
+ K1 as checkboxVariants,
17439
17450
  F as cn,
17440
17451
  xk as ctaVariants,
17441
17452
  Q1 as disclosureContentVariants,
@@ -17449,12 +17460,12 @@ export {
17449
17460
  nS as selectTriggerVariants,
17450
17461
  aS as switchThumbVariants,
17451
17462
  oS as switchTrackVariants,
17452
- s2 as tableCellVariants,
17453
- i2 as tableHeadVariants,
17463
+ l2 as tableCellVariants,
17464
+ s2 as tableHeadVariants,
17454
17465
  ng as tableHeaderVariants,
17455
- a2 as tableRowVariants,
17456
- o2 as tableVariants,
17457
- n2 as tableWrapperVariants,
17466
+ i2 as tableRowVariants,
17467
+ a2 as tableVariants,
17468
+ o2 as tableWrapperVariants,
17458
17469
  iS as textareaVariants,
17459
17470
  Uk as useCountdown
17460
17471
  };