lizaui 3.0.35 → 3.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/button/index.cjs.js +1 -1
  2. package/dist/button/index.es.js +1 -1
  3. package/dist/calendar/index.cjs.js +1 -1
  4. package/dist/calendar/index.es.js +1 -1
  5. package/dist/checkbox/index.cjs.js +1 -1
  6. package/dist/checkbox/index.es.js +1 -1
  7. package/dist/chunks/assertion-C7nbUE-q.js +2 -0
  8. package/dist/chunks/assertion-C7nbUE-q.js.map +1 -0
  9. package/dist/chunks/assertion-CrT8p68K.js +11 -0
  10. package/dist/chunks/assertion-CrT8p68K.js.map +1 -0
  11. package/dist/chunks/button-ByG7rkKr.js +528 -0
  12. package/dist/chunks/button-ByG7rkKr.js.map +1 -0
  13. package/dist/chunks/button-W_O8D9E6.js +2 -0
  14. package/dist/chunks/button-W_O8D9E6.js.map +1 -0
  15. package/dist/chunks/checkbox-D7Bt7i2P.js +2 -0
  16. package/dist/chunks/{checkbox-C23sBMh5.js.map → checkbox-D7Bt7i2P.js.map} +1 -1
  17. package/dist/chunks/{checkbox-ChChDxFl.js → checkbox-lvTY3PXC.js} +3 -2
  18. package/dist/chunks/{checkbox-ChChDxFl.js.map → checkbox-lvTY3PXC.js.map} +1 -1
  19. package/dist/chunks/index-BnlGNtJe.js +65 -0
  20. package/dist/chunks/index-BnlGNtJe.js.map +1 -0
  21. package/dist/chunks/{index-BpSN4GSo.js → index-DSpBzH_i.js} +796 -793
  22. package/dist/chunks/index-DSpBzH_i.js.map +1 -0
  23. package/dist/chunks/refs-DAOksVs3.js +29 -0
  24. package/dist/chunks/refs-DAOksVs3.js.map +1 -0
  25. package/dist/chunks/refs-pI64b4UC.js +2 -0
  26. package/dist/chunks/refs-pI64b4UC.js.map +1 -0
  27. package/dist/chunks/ripple-BQsLJHrx.js +3594 -0
  28. package/dist/chunks/ripple-BQsLJHrx.js.map +1 -0
  29. package/dist/chunks/ripple-CUdIIH3t.js +10 -0
  30. package/dist/chunks/ripple-CUdIIH3t.js.map +1 -0
  31. package/dist/components/ripple/index.d.ts +3 -0
  32. package/dist/components/ripple/index.d.ts.map +1 -0
  33. package/dist/components/ui/modal.d.ts +1 -0
  34. package/dist/components/ui/modal.d.ts.map +1 -1
  35. package/dist/components/ui/sheet.d.ts +9 -2
  36. package/dist/components/ui/sheet.d.ts.map +1 -1
  37. package/dist/pagination/index.cjs.js +1 -1
  38. package/dist/pagination/index.es.js +2 -2
  39. package/dist/ripple/index.cjs.js +2 -0
  40. package/dist/ripple/index.cjs.js.map +1 -0
  41. package/dist/ripple/index.es.js +5 -0
  42. package/dist/ripple/index.es.js.map +1 -0
  43. package/dist/ripple.d.ts +2 -0
  44. package/dist/select-input/index.cjs.js +1 -1
  45. package/dist/select-input/index.cjs.js.map +1 -1
  46. package/dist/select-input/index.es.js +2 -2
  47. package/dist/table/index.cjs.js +1 -1
  48. package/dist/table/index.es.js +1 -1
  49. package/dist/ui/index.cjs.js +2 -2
  50. package/dist/ui/index.cjs.js.map +1 -1
  51. package/dist/ui/index.es.js +785 -755
  52. package/dist/ui/index.es.js.map +1 -1
  53. package/package.json +6 -1
  54. package/dist/chunks/button-C6LoJycL.js +0 -4112
  55. package/dist/chunks/button-C6LoJycL.js.map +0 -1
  56. package/dist/chunks/button-CPPU0FsH.js +0 -10
  57. package/dist/chunks/button-CPPU0FsH.js.map +0 -1
  58. package/dist/chunks/checkbox-C23sBMh5.js +0 -2
  59. package/dist/chunks/index-BTn-tZ5q.js +0 -65
  60. package/dist/chunks/index-BTn-tZ5q.js.map +0 -1
  61. package/dist/chunks/index-BpSN4GSo.js.map +0 -1
  62. package/dist/chunks/refs-DLih6QCP.js +0 -2
  63. package/dist/chunks/refs-DLih6QCP.js.map +0 -1
  64. package/dist/chunks/refs-DcCOPvdv.js +0 -35
  65. package/dist/chunks/refs-DcCOPvdv.js.map +0 -1
@@ -1,20 +1,21 @@
1
1
  import { j as g } from "./jsx-runtime-BYq8_R6m.js";
2
2
  import * as d from "react";
3
- import Ge, { useContext as Vt, Component as Ii, useId as Ni, useState as Ve, useEffect as Fe, forwardRef as Kt, createElement as ke, createContext as Mi, useRef as ve, useLayoutEffect as Li, useImperativeHandle as dr, useCallback as ge, useMemo as ki } from "react";
3
+ import Ge, { useContext as Vt, Component as Ii, useId as Ni, useState as Ve, useEffect as Fe, forwardRef as Kt, createElement as je, createContext as Mi, useRef as ve, useLayoutEffect as Li, useImperativeHandle as dr, useCallback as ge, useMemo as ji } from "react";
4
4
  import { c as oe } from "./variants-DhZQjbsQ.js";
5
- import { t as ji } from "./tv-ButAo3dF.js";
5
+ import { t as ki } from "./tv-ButAo3dF.js";
6
6
  import { t as Me } from "./bundle-mjs-kGHm2Pod.js";
7
7
  import { c as de, L as fr } from "./utils-C3tlRhMf.js";
8
8
  import { c as Xe } from "./clsx-OuTLNxxd.js";
9
9
  import { v as Oi } from "./pattern-CdQavADx.js";
10
- import "./refs-DcCOPvdv.js";
11
- import { i as Ne, a as _i, c as Bn, d as zi, m as ce, f as xe, e as Pe, g as Bi, h as hr, p as Vi, j as bt, s as Fi, k as $i, l as An, n as pr, o as le, q as Rt, r as Wi, t as Hi, u as Ui, v as Gi, w as oo, x as mr, y as Ft, F as gr, z as ct, A as vr, C as ro, D as Ki, L as Xi, S as Yi, E as qi, G as yr, H as Zi, I as xr, J as Sr, K as wr, M as br, N as Ji, O as so, P as Qi, Q as ea, R as ln, T as tt, U as Tt, V as At, W as io, X as ta, Y as na, Z as oa, _ as at, $ as cn, a0 as ao, a1 as ra, a2 as sa, a3 as ia, a4 as aa, a5 as la, a6 as ca, a7 as ua } from "./button-C6LoJycL.js";
10
+ import "./assertion-CrT8p68K.js";
11
+ import { i as Ne, a as zi, b as _n, c as _i, m as ce, f as xe, d as Pe, e as Bi, g as hr, p as Vi, h as bt, s as Fi, j as $i, k as Tn, l as pr, n as le, o as Rt, q as Wi, r as Hi, t as Ui, v as Gi, w as oo, x as mr, y as Ft, F as gr, z as ct, A as vr, B as ro, C as Ki, L as Xi, S as Yi, D as qi, E as yr, G as Zi, H as xr, I as Sr, J as wr, K as br, M as Ji, N as so, O as Qi, P as ea, Q as an, T as tt, U as Tt, V as At, W as io, X as ta, Y as na, Z as oa, _ as at, $ as ln, a0 as ao, a1 as ra, a2 as sa, a3 as ia, a4 as aa, a5 as la, a6 as ca, a7 as ua } from "./ripple-BQsLJHrx.js";
12
12
  import { a as Pt, u as ae } from "./index-ctnzfHek.js";
13
- import * as Vn from "react-dom";
14
- import da from "react-dom";
15
- import { u as fa, o as ha, s as pa, f as ma, b as ga, a as va, h as ya, l as xa } from "./floating-ui.react-dom-CryFonyk.js";
16
- import { q as Sa } from "./floating-ui.dom-Cg-kYEhk.js";
17
- function wa(e) {
13
+ import { B as da } from "./button-ByG7rkKr.js";
14
+ import * as Bn from "react-dom";
15
+ import fa from "react-dom";
16
+ import { u as ha, o as pa, s as ma, f as ga, b as va, a as ya, h as xa, l as Sa } from "./floating-ui.react-dom-CryFonyk.js";
17
+ import { q as wa } from "./floating-ui.dom-Cg-kYEhk.js";
18
+ function ba(e) {
18
19
  return e === "x" || e === "y" ? Ne[e] ? null : (Ne[e] = !0, () => {
19
20
  Ne[e] = !1;
20
21
  }) : Ne.x || Ne.y ? null : (Ne.x = Ne.y = !0, () => {
@@ -22,23 +23,23 @@ function wa(e) {
22
23
  });
23
24
  }
24
25
  function Pr(e) {
25
- return _i(e) && "ownerSVGElement" in e;
26
+ return zi(e) && "ownerSVGElement" in e;
26
27
  }
27
- function ba(e) {
28
+ function Pa(e) {
28
29
  return Pr(e) && e.tagName === "svg";
29
30
  }
30
31
  function xt(e, t, n, o) {
31
- return Bn(e, t, zi(n), o);
32
+ return _n(e, t, _i(n), o);
32
33
  }
33
- const Cr = 1e-4, Pa = 1 - Cr, Ca = 1 + Cr, Er = 0.01, Ea = 0 - Er, Ra = 0 + Er;
34
+ const Cr = 1e-4, Ca = 1 - Cr, Ea = 1 + Cr, Er = 0.01, Ra = 0 - Er, Ta = 0 + Er;
34
35
  function pe(e) {
35
36
  return e.max - e.min;
36
37
  }
37
- function Ta(e, t, n) {
38
+ function Aa(e, t, n) {
38
39
  return Math.abs(e - t) <= n;
39
40
  }
40
41
  function lo(e, t, n, o = 0.5) {
41
- e.origin = o, e.originPoint = ce(t.min, t.max, e.origin), e.scale = pe(n) / pe(t), e.translate = ce(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Pa && e.scale <= Ca || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Ea && e.translate <= Ra || isNaN(e.translate)) && (e.translate = 0);
42
+ e.origin = o, e.originPoint = ce(t.min, t.max, e.origin), e.scale = pe(n) / pe(t), e.translate = ce(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Ca && e.scale <= Ea || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Ra && e.translate <= Ta || isNaN(e.translate)) && (e.translate = 0);
42
43
  }
43
44
  function St(e, t, n, o) {
44
45
  lo(e.x, t.x, n.x, o ? o.originX : void 0), lo(e.y, t.y, n.y, o ? o.originY : void 0);
@@ -46,7 +47,7 @@ function St(e, t, n, o) {
46
47
  function co(e, t, n) {
47
48
  e.min = n.min + t.min, e.max = e.min + pe(t);
48
49
  }
49
- function Aa(e, t, n) {
50
+ function Da(e, t, n) {
50
51
  co(e.x, t.x, n.x), co(e.y, t.y, n.y);
51
52
  }
52
53
  function uo(e, t, n) {
@@ -59,7 +60,7 @@ function be(e) {
59
60
  return [e("x"), e("y")];
60
61
  }
61
62
  const Rr = ({ current: e }) => e ? e.ownerDocument.defaultView : null, fo = (e, t) => Math.abs(e - t);
62
- function Da(e, t) {
63
+ function Ia(e, t) {
63
64
  const n = fo(e.x, t.x), o = fo(e.y, t.y);
64
65
  return Math.sqrt(n ** 2 + o ** 2);
65
66
  }
@@ -68,7 +69,7 @@ class Tr {
68
69
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
69
70
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
70
71
  return;
71
- const f = dn(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, m = Da(f.offset, { x: 0, y: 0 }) >= 3;
72
+ const f = un(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, m = Ia(f.offset, { x: 0, y: 0 }) >= 3;
72
73
  if (!h && !m)
73
74
  return;
74
75
  const { point: x } = f, { timestamp: p } = xe;
@@ -76,21 +77,21 @@ class Tr {
76
77
  const { onStart: v, onMove: y } = this.handlers;
77
78
  h || (v && v(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), y && y(this.lastMoveEvent, f);
78
79
  }, this.handlePointerMove = (f, h) => {
79
- this.lastMoveEvent = f, this.lastMoveEventInfo = un(h, this.transformPagePoint), Pe.update(this.updatePoint, !0);
80
+ this.lastMoveEvent = f, this.lastMoveEventInfo = cn(h, this.transformPagePoint), Pe.update(this.updatePoint, !0);
80
81
  }, this.handlePointerUp = (f, h) => {
81
82
  this.end();
82
83
  const { onEnd: m, onSessionEnd: x, resumeAnimation: p } = this.handlers;
83
84
  if (this.dragSnapToOrigin && p && p(), !(this.lastMoveEvent && this.lastMoveEventInfo))
84
85
  return;
85
- const v = dn(f.type === "pointercancel" ? this.lastMoveEventInfo : un(h, this.transformPagePoint), this.history);
86
+ const v = un(f.type === "pointercancel" ? this.lastMoveEventInfo : cn(h, this.transformPagePoint), this.history);
86
87
  this.startEvent && m && m(f, v), x && x(f, v);
87
88
  }, !Bi(t))
88
89
  return;
89
90
  this.dragSnapToOrigin = a, this.handlers = n, this.transformPagePoint = o, this.contextWindow = i || window;
90
- const r = hr(t), s = un(r, this.transformPagePoint), { point: l } = s, { timestamp: c } = xe;
91
+ const r = hr(t), s = cn(r, this.transformPagePoint), { point: l } = s, { timestamp: c } = xe;
91
92
  this.history = [{ ...l, timestamp: c }];
92
93
  const { onSessionStart: u } = n;
93
- u && u(t, dn(s, this.history)), this.removeListeners = Vi(xt(this.contextWindow, "pointermove", this.handlePointerMove), xt(this.contextWindow, "pointerup", this.handlePointerUp), xt(this.contextWindow, "pointercancel", this.handlePointerUp));
94
+ u && u(t, un(s, this.history)), this.removeListeners = Vi(xt(this.contextWindow, "pointermove", this.handlePointerMove), xt(this.contextWindow, "pointerup", this.handlePointerUp), xt(this.contextWindow, "pointercancel", this.handlePointerUp));
94
95
  }
95
96
  updateHandlers(t) {
96
97
  this.handlers = t;
@@ -99,27 +100,27 @@ class Tr {
99
100
  this.removeListeners && this.removeListeners(), bt(this.updatePoint);
100
101
  }
101
102
  }
102
- function un(e, t) {
103
+ function cn(e, t) {
103
104
  return t ? { point: t(e.point) } : e;
104
105
  }
105
106
  function ho(e, t) {
106
107
  return { x: e.x - t.x, y: e.y - t.y };
107
108
  }
108
- function dn({ point: e }, t) {
109
+ function un({ point: e }, t) {
109
110
  return {
110
111
  point: e,
111
112
  delta: ho(e, Ar(t)),
112
- offset: ho(e, Ia(t)),
113
- velocity: Na(t, 0.1)
113
+ offset: ho(e, Na(t)),
114
+ velocity: Ma(t, 0.1)
114
115
  };
115
116
  }
116
- function Ia(e) {
117
+ function Na(e) {
117
118
  return e[0];
118
119
  }
119
120
  function Ar(e) {
120
121
  return e[e.length - 1];
121
122
  }
122
- function Na(e, t) {
123
+ function Ma(e, t) {
123
124
  if (e.length < 2)
124
125
  return { x: 0, y: 0 };
125
126
  let n = e.length - 1, o = null;
@@ -137,7 +138,7 @@ function Na(e, t) {
137
138
  };
138
139
  return r.x === 1 / 0 && (r.x = 0), r.y === 1 / 0 && (r.y = 0), r;
139
140
  }
140
- function Ma(e, { min: t, max: n }, o) {
141
+ function La(e, { min: t, max: n }, o) {
141
142
  return t !== void 0 && e < t ? e = o ? ce(t, e, o.min) : Math.max(e, t) : n !== void 0 && e > n && (e = o ? ce(n, e, o.max) : Math.min(e, n)), e;
142
143
  }
143
144
  function po(e, t, n) {
@@ -146,7 +147,7 @@ function po(e, t, n) {
146
147
  max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
147
148
  };
148
149
  }
149
- function La(e, { top: t, left: n, bottom: o, right: i }) {
150
+ function ja(e, { top: t, left: n, bottom: o, right: i }) {
150
151
  return {
151
152
  x: po(e.x, n, i),
152
153
  y: po(e.y, t, o)
@@ -162,18 +163,18 @@ function ka(e, t) {
162
163
  y: mo(e.y, t.y)
163
164
  };
164
165
  }
165
- function ja(e, t) {
166
+ function Oa(e, t) {
166
167
  let n = 0.5;
167
168
  const o = pe(e), i = pe(t);
168
- return i > o ? n = An(t.min, t.max - o, e.min) : o > i && (n = An(e.min, e.max - i, t.min)), pr(0, 1, n);
169
+ return i > o ? n = Tn(t.min, t.max - o, e.min) : o > i && (n = Tn(e.min, e.max - i, t.min)), pr(0, 1, n);
169
170
  }
170
- function Oa(e, t) {
171
+ function za(e, t) {
171
172
  const n = {};
172
173
  return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
173
174
  }
174
- const Dn = 0.35;
175
- function _a(e = Dn) {
176
- return e === !1 ? e = 0 : e === !0 && (e = Dn), {
175
+ const An = 0.35;
176
+ function _a(e = An) {
177
+ return e === !1 ? e = 0 : e === !0 && (e = An), {
177
178
  x: go(e, "left", "right"),
178
179
  y: go(e, "top", "bottom")
179
180
  };
@@ -187,8 +188,8 @@ function go(e, t, n) {
187
188
  function vo(e, t) {
188
189
  return typeof e == "number" ? e : e[t] || 0;
189
190
  }
190
- const za = /* @__PURE__ */ new WeakMap();
191
- class Ba {
191
+ const Ba = /* @__PURE__ */ new WeakMap();
192
+ class Va {
192
193
  constructor(t) {
193
194
  this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = le(), this.visualElement = t;
194
195
  }
@@ -201,7 +202,7 @@ class Ba {
201
202
  f ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(hr(u).point);
202
203
  }, a = (u, f) => {
203
204
  const { drag: h, dragPropagation: m, onDragStart: x } = this.getProps();
204
- if (h && !m && (this.openDragLock && this.openDragLock(), this.openDragLock = wa(h), !this.openDragLock))
205
+ if (h && !m && (this.openDragLock && this.openDragLock(), this.openDragLock = ba(h), !this.openDragLock))
205
206
  return;
206
207
  this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), be((v) => {
207
208
  let y = this.getAxisMotionValue(v).get() || 0;
@@ -222,7 +223,7 @@ class Ba {
222
223
  return;
223
224
  const { offset: v } = f;
224
225
  if (m && this.currentDirection === null) {
225
- this.currentDirection = Va(v), this.currentDirection !== null && x && x(this.currentDirection);
226
+ this.currentDirection = Fa(v), this.currentDirection !== null && x && x(this.currentDirection);
226
227
  return;
227
228
  }
228
229
  this.updateAxis("x", f.point, v), this.updateAxis("y", f.point, v), this.visualElement.render(), p && p(u, f);
@@ -264,13 +265,13 @@ class Ba {
264
265
  return;
265
266
  const a = this.getAxisMotionValue(t);
266
267
  let r = this.originPoint[t] + o[t];
267
- this.constraints && this.constraints[t] && (r = Ma(r, this.constraints[t], this.elastic[t])), a.set(r);
268
+ this.constraints && this.constraints[t] && (r = La(r, this.constraints[t], this.elastic[t])), a.set(r);
268
269
  }
269
270
  resolveConstraints() {
270
271
  var a;
271
272
  const { dragConstraints: t, dragElastic: n } = this.getProps(), o = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (a = this.visualElement.projection) == null ? void 0 : a.layout, i = this.constraints;
272
- t && Rt(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && o ? this.constraints = La(o.layoutBox, t) : this.constraints = !1, this.elastic = _a(n), i !== this.constraints && o && this.constraints && !this.hasMutatedConstraints && be((r) => {
273
- this.constraints !== !1 && this.getAxisMotionValue(r) && (this.constraints[r] = Oa(o.layoutBox[r], this.constraints[r]));
273
+ t && Rt(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && o ? this.constraints = ja(o.layoutBox, t) : this.constraints = !1, this.elastic = _a(n), i !== this.constraints && o && this.constraints && !this.hasMutatedConstraints && be((r) => {
274
+ this.constraints !== !1 && this.getAxisMotionValue(r) && (this.constraints[r] = za(o.layoutBox[r], this.constraints[r]));
274
275
  });
275
276
  }
276
277
  resolveRefConstraints() {
@@ -367,7 +368,7 @@ class Ba {
367
368
  const s = this.getAxisMotionValue(r);
368
369
  if (s && this.constraints !== !1) {
369
370
  const l = s.get();
370
- i[r] = ja({ min: l, max: l }, this.constraints[r]);
371
+ i[r] = Oa({ min: l, max: l }, this.constraints[r]);
371
372
  }
372
373
  });
373
374
  const { transformTemplate: a } = this.visualElement.getProps();
@@ -381,7 +382,7 @@ class Ba {
381
382
  addListeners() {
382
383
  if (!this.visualElement.current)
383
384
  return;
384
- za.set(this.visualElement, this);
385
+ Ba.set(this.visualElement, this);
385
386
  const t = this.visualElement.current, n = xt(t, "pointerdown", (l) => {
386
387
  const { drag: c, dragListener: u = !0 } = this.getProps();
387
388
  c && u && this.start(l);
@@ -390,7 +391,7 @@ class Ba {
390
391
  Rt(l) && l.current && (this.constraints = this.resolveRefConstraints());
391
392
  }, { projection: i } = this.visualElement, a = i.addEventListener("measure", o);
392
393
  i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), Pe.read(o);
393
- const r = Bn(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
394
+ const r = _n(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
394
395
  this.isDragging && c && (be((u) => {
395
396
  const f = this.getAxisMotionValue(u);
396
397
  f && (this.originPoint[u] += l[u].translate, f.set(f.get() + l[u].translate));
@@ -401,7 +402,7 @@ class Ba {
401
402
  };
402
403
  }
403
404
  getProps() {
404
- const t = this.visualElement.getProps(), { drag: n = !1, dragDirectionLock: o = !1, dragPropagation: i = !1, dragConstraints: a = !1, dragElastic: r = Dn, dragMomentum: s = !0 } = t;
405
+ const t = this.visualElement.getProps(), { drag: n = !1, dragDirectionLock: o = !1, dragPropagation: i = !1, dragConstraints: a = !1, dragElastic: r = An, dragMomentum: s = !0 } = t;
405
406
  return {
406
407
  ...t,
407
408
  drag: n,
@@ -416,13 +417,13 @@ class Ba {
416
417
  function Dt(e, t, n) {
417
418
  return (t === !0 || t === e) && (n === null || n === e);
418
419
  }
419
- function Va(e, t = 10) {
420
+ function Fa(e, t = 10) {
420
421
  let n = null;
421
422
  return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
422
423
  }
423
- class Fa extends gr {
424
+ class $a extends gr {
424
425
  constructor(t) {
425
- super(t), this.removeGroupControls = ct, this.removeListeners = ct, this.controls = new Ba(t);
426
+ super(t), this.removeGroupControls = ct, this.removeListeners = ct, this.controls = new Va(t);
426
427
  }
427
428
  mount() {
428
429
  const { dragControls: t } = this.node.getProps();
@@ -435,7 +436,7 @@ class Fa extends gr {
435
436
  const yo = (e) => (t, n) => {
436
437
  e && Pe.postRender(() => e(t, n));
437
438
  };
438
- class $a extends gr {
439
+ class Wa extends gr {
439
440
  constructor() {
440
441
  super(...arguments), this.removePointerDownListener = ct;
441
442
  }
@@ -493,7 +494,7 @@ const pt = {
493
494
  const n = xo(e, t.target.x), o = xo(e, t.target.y);
494
495
  return `${n}% ${o}%`;
495
496
  }
496
- }, Wa = {
497
+ }, Ha = {
497
498
  correct: (e, { treeScale: t, projectionDelta: n }) => {
498
499
  const o = e, i = ro.parse(e);
499
500
  if (i.length > 5)
@@ -504,7 +505,7 @@ const pt = {
504
505
  return typeof i[2 + r] == "number" && (i[2 + r] /= c), typeof i[3 + r] == "number" && (i[3 + r] /= c), a(i);
505
506
  }
506
507
  };
507
- class Ha extends Ii {
508
+ class Ua extends Ii {
508
509
  /**
509
510
  * This only mounts projection nodes for components that
510
511
  * need measuring, we might want to do it for all components
@@ -512,7 +513,7 @@ class Ha extends Ii {
512
513
  */
513
514
  componentDidMount() {
514
515
  const { visualElement: t, layoutGroup: n, switchLayoutGroup: o, layoutId: i } = this.props, { projection: a } = t;
515
- qi(Ua), a && (n.group && n.group.add(a), o && o.register && i && o.register(a), a.root.didUpdate(), a.addEventListener("animationComplete", () => {
516
+ qi(Ga), a && (n.group && n.group.add(a), o && o.register && i && o.register(a), a.root.didUpdate(), a.addEventListener("animationComplete", () => {
516
517
  this.safeToRemove();
517
518
  }), a.setOptions({
518
519
  ...a.options,
@@ -546,9 +547,9 @@ class Ha extends Ii {
546
547
  }
547
548
  function Dr(e) {
548
549
  const [t, n] = Ki(), o = Vt(Xi);
549
- return g.jsx(Ha, { ...e, layoutGroup: o, switchLayoutGroup: Vt(Yi), isPresent: t, safeToRemove: n });
550
+ return g.jsx(Ua, { ...e, layoutGroup: o, switchLayoutGroup: Vt(Yi), isPresent: t, safeToRemove: n });
550
551
  }
551
- const Ua = {
552
+ const Ga = {
552
553
  borderRadius: {
553
554
  ...pt,
554
555
  applyTo: [
@@ -562,14 +563,14 @@ const Ua = {
562
563
  borderTopRightRadius: pt,
563
564
  borderBottomLeftRadius: pt,
564
565
  borderBottomRightRadius: pt,
565
- boxShadow: Wa
566
+ boxShadow: Ha
566
567
  };
567
- function Ga(e, t, n) {
568
+ function Ka(e, t, n) {
568
569
  const o = Zi(e) ? e : xr(e);
569
570
  return o.start(mr("", o, t, n)), o.animation;
570
571
  }
571
- const Ka = (e, t) => e.depth - t.depth;
572
- class Xa {
572
+ const Xa = (e, t) => e.depth - t.depth;
573
+ class Ya {
573
574
  constructor() {
574
575
  this.children = [], this.isDirty = !1;
575
576
  }
@@ -580,20 +581,20 @@ class Xa {
580
581
  wr(this.children, t), this.isDirty = !0;
581
582
  }
582
583
  forEach(t) {
583
- this.isDirty && this.children.sort(Ka), this.isDirty = !1, this.children.forEach(t);
584
+ this.isDirty && this.children.sort(Xa), this.isDirty = !1, this.children.forEach(t);
584
585
  }
585
586
  }
586
- function Ya(e, t) {
587
+ function qa(e, t) {
587
588
  const n = br.now(), o = ({ timestamp: i }) => {
588
589
  const a = i - n;
589
590
  a >= t && (bt(o), e(a - t));
590
591
  };
591
592
  return Pe.setup(o, !0), () => bt(o);
592
593
  }
593
- const Ir = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], qa = Ir.length, So = (e) => typeof e == "string" ? parseFloat(e) : e, wo = (e) => typeof e == "number" || vr.test(e);
594
- function Za(e, t, n, o, i, a) {
595
- i ? (e.opacity = ce(0, n.opacity ?? 1, Ja(o)), e.opacityExit = ce(t.opacity ?? 1, 0, Qa(o))) : a && (e.opacity = ce(t.opacity ?? 1, n.opacity ?? 1, o));
596
- for (let r = 0; r < qa; r++) {
594
+ const Ir = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Za = Ir.length, So = (e) => typeof e == "string" ? parseFloat(e) : e, wo = (e) => typeof e == "number" || vr.test(e);
595
+ function Ja(e, t, n, o, i, a) {
596
+ i ? (e.opacity = ce(0, n.opacity ?? 1, Qa(o)), e.opacityExit = ce(t.opacity ?? 1, 0, el(o))) : a && (e.opacity = ce(t.opacity ?? 1, n.opacity ?? 1, o));
597
+ for (let r = 0; r < Za; r++) {
597
598
  const s = `border${Ir[r]}Radius`;
598
599
  let l = bo(t, s), c = bo(n, s);
599
600
  if (l === void 0 && c === void 0)
@@ -605,9 +606,9 @@ function Za(e, t, n, o, i, a) {
605
606
  function bo(e, t) {
606
607
  return e[t] !== void 0 ? e[t] : e.borderRadius;
607
608
  }
608
- const Ja = /* @__PURE__ */ Nr(0, 0.5, Ji), Qa = /* @__PURE__ */ Nr(0.5, 0.95, ct);
609
+ const Qa = /* @__PURE__ */ Nr(0, 0.5, Ji), el = /* @__PURE__ */ Nr(0.5, 0.95, ct);
609
610
  function Nr(e, t, n) {
610
- return (o) => o < e ? 0 : o > t ? 1 : n(An(e, t, o));
611
+ return (o) => o < e ? 0 : o > t ? 1 : n(Tn(e, t, o));
611
612
  }
612
613
  function Po(e, t) {
613
614
  e.min = t.min, e.max = t.max;
@@ -621,18 +622,18 @@ function Co(e, t) {
621
622
  function Eo(e, t, n, o, i) {
622
623
  return e -= t, e = so(e, 1 / n, o), i !== void 0 && (e = so(e, 1 / i, o)), e;
623
624
  }
624
- function el(e, t = 0, n = 1, o = 0.5, i, a = e, r = e) {
625
+ function tl(e, t = 0, n = 1, o = 0.5, i, a = e, r = e) {
625
626
  if (Ft.test(t) && (t = parseFloat(t), t = ce(r.min, r.max, t / 100) - r.min), typeof t != "number")
626
627
  return;
627
628
  let s = ce(a.min, a.max, o);
628
629
  e === a && (s -= t), e.min = Eo(e.min, t, n, s, i), e.max = Eo(e.max, t, n, s, i);
629
630
  }
630
631
  function Ro(e, t, [n, o, i], a, r) {
631
- el(e, t[n], t[o], t[i], t.scale, a, r);
632
+ tl(e, t[n], t[o], t[i], t.scale, a, r);
632
633
  }
633
- const tl = ["x", "scaleX", "originX"], nl = ["y", "scaleY", "originY"];
634
+ const nl = ["x", "scaleX", "originX"], ol = ["y", "scaleY", "originY"];
634
635
  function To(e, t, n, o) {
635
- Ro(e.x, t, tl, n ? n.x : void 0, o ? o.x : void 0), Ro(e.y, t, nl, n ? n.y : void 0, o ? o.y : void 0);
636
+ Ro(e.x, t, nl, n ? n.x : void 0, o ? o.x : void 0), Ro(e.y, t, ol, n ? n.y : void 0, o ? o.y : void 0);
636
637
  }
637
638
  function Ao(e) {
638
639
  return e.translate === 0 && e.scale === 1;
@@ -643,7 +644,7 @@ function Mr(e) {
643
644
  function Do(e, t) {
644
645
  return e.min === t.min && e.max === t.max;
645
646
  }
646
- function ol(e, t) {
647
+ function rl(e, t) {
647
648
  return Do(e.x, t.x) && Do(e.y, t.y);
648
649
  }
649
650
  function Io(e, t) {
@@ -658,7 +659,7 @@ function No(e) {
658
659
  function Mo(e, t) {
659
660
  return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
660
661
  }
661
- class rl {
662
+ class sl {
662
663
  constructor() {
663
664
  this.members = [];
664
665
  }
@@ -712,7 +713,7 @@ class rl {
712
713
  this.lead && this.lead.snapshot && (this.lead.snapshot = void 0);
713
714
  }
714
715
  }
715
- function sl(e, t, n) {
716
+ function il(e, t, n) {
716
717
  let o = "";
717
718
  const i = e.x.translate / t.x, a = e.y.translate / t.y, r = (n == null ? void 0 : n.z) || 0;
718
719
  if ((i || a || r) && (o = `translate3d(${i}px, ${a}px, ${r}px) `), (t.x !== 1 || t.y !== 1) && (o += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
@@ -722,13 +723,13 @@ function sl(e, t, n) {
722
723
  const s = e.x.scale * t.x, l = e.y.scale * t.y;
723
724
  return (s !== 1 || l !== 1) && (o += `scale(${s}, ${l})`), o || "none";
724
725
  }
725
- const fn = ["", "X", "Y", "Z"], il = { visibility: "hidden" }, al = 1e3;
726
- let ll = 0;
727
- function hn(e, t, n, o) {
726
+ const dn = ["", "X", "Y", "Z"], al = { visibility: "hidden" }, ll = 1e3;
727
+ let cl = 0;
728
+ function fn(e, t, n, o) {
728
729
  const { latestValues: i } = t;
729
730
  i[e] && (n[e] = i[e], t.setStaticValue(e, 0), o && (o[e] = 0));
730
731
  }
731
- function kr(e) {
732
+ function jr(e) {
732
733
  if (e.hasCheckedOptimisedAppear = !0, e.root === e)
733
734
  return;
734
735
  const { visualElement: t } = e.options;
@@ -740,19 +741,19 @@ function kr(e) {
740
741
  window.MotionCancelOptimisedAnimation(n, "transform", Pe, !(i || a));
741
742
  }
742
743
  const { parent: o } = e;
743
- o && !o.hasCheckedOptimisedAppear && kr(o);
744
+ o && !o.hasCheckedOptimisedAppear && jr(o);
744
745
  }
745
- function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: o, resetTransform: i }) {
746
+ function kr({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: o, resetTransform: i }) {
746
747
  return class {
747
748
  constructor(r = {}, s = t == null ? void 0 : t()) {
748
- this.id = ll++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
749
+ this.id = cl++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
749
750
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
750
751
  }, this.updateProjection = () => {
751
- this.projectionUpdateScheduled = !1, this.nodes.forEach(dl), this.nodes.forEach(gl), this.nodes.forEach(vl), this.nodes.forEach(fl);
752
+ this.projectionUpdateScheduled = !1, this.nodes.forEach(fl), this.nodes.forEach(vl), this.nodes.forEach(yl), this.nodes.forEach(hl);
752
753
  }, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = r, this.root = s ? s.root || s : this, this.path = s ? [...s.path, s] : [], this.parent = s, this.depth = s ? s.depth + 1 : 0;
753
754
  for (let l = 0; l < this.path.length; l++)
754
755
  this.path[l].shouldResetTransform = !0;
755
- this.root === this && (this.nodes = new Xa());
756
+ this.root === this && (this.nodes = new Ya());
756
757
  }
757
758
  addEventListener(r, s) {
758
759
  return this.eventHandlers.has(r) || this.eventHandlers.set(r, new Qi()), this.eventHandlers.get(r).add(s);
@@ -770,13 +771,13 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
770
771
  mount(r) {
771
772
  if (this.instance)
772
773
  return;
773
- this.isSVG = Pr(r) && !ba(r), this.instance = r;
774
+ this.isSVG = Pr(r) && !Pa(r), this.instance = r;
774
775
  const { layoutId: s, layout: l, visualElement: c } = this.options;
775
776
  if (c && !c.current && c.mount(r), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (l || s) && (this.isLayoutDirty = !0), e) {
776
777
  let u;
777
778
  const f = () => this.root.updateBlockedByResize = !1;
778
779
  e(r, () => {
779
- this.root.updateBlockedByResize = !0, u && u(), u = Ya(f, 250), Ot.hasAnimatedSinceResize && (Ot.hasAnimatedSinceResize = !1, this.nodes.forEach(ko));
780
+ this.root.updateBlockedByResize = !0, u && u(), u = qa(f, 250), Ot.hasAnimatedSinceResize && (Ot.hasAnimatedSinceResize = !1, this.nodes.forEach(jo));
780
781
  });
781
782
  }
782
783
  s && this.root.registerSharedNode(s, this), this.options.animate !== !1 && c && (s || l) && this.addEventListener("didUpdate", ({ delta: u, hasLayoutChanged: f, hasRelativeLayoutChanged: h, layout: m }) => {
@@ -784,7 +785,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
784
785
  this.target = void 0, this.relativeTarget = void 0;
785
786
  return;
786
787
  }
787
- const x = this.options.transition || c.getDefaultTransition() || bl, { onLayoutAnimationStart: p, onLayoutAnimationComplete: v } = c.getProps(), y = !this.targetLayout || !Lr(this.targetLayout, m), S = !f && h;
788
+ const x = this.options.transition || c.getDefaultTransition() || Pl, { onLayoutAnimationStart: p, onLayoutAnimationComplete: v } = c.getProps(), y = !this.targetLayout || !Lr(this.targetLayout, m), S = !f && h;
788
789
  if (this.options.layoutRoot || this.resumeFrom || S || f && (y || !this.currentAnimation)) {
789
790
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
790
791
  const w = {
@@ -794,7 +795,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
794
795
  };
795
796
  (c.shouldReduceMotion || this.options.layoutRoot) && (w.delay = 0, w.type = !1), this.startAnimation(w), this.setAnimationOrigin(u, S);
796
797
  } else
797
- f || ko(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
798
+ f || jo(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
798
799
  this.targetLayout = m;
799
800
  });
800
801
  }
@@ -818,7 +819,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
818
819
  }
819
820
  // Note: currently only running on root node
820
821
  startUpdate() {
821
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(yl), this.animationId++);
822
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(xl), this.animationId++);
822
823
  }
823
824
  getTransformTemplate() {
824
825
  const { visualElement: r } = this.options;
@@ -829,7 +830,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
829
830
  this.options.onExitComplete && this.options.onExitComplete();
830
831
  return;
831
832
  }
832
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && kr(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
833
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && jr(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
833
834
  return;
834
835
  this.isLayoutDirty = !0;
835
836
  for (let u = 0; u < this.path.length; u++) {
@@ -847,15 +848,15 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
847
848
  this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Lo);
848
849
  return;
849
850
  }
850
- this.isUpdating || this.nodes.forEach(pl), this.isUpdating = !1, this.nodes.forEach(ml), this.nodes.forEach(cl), this.nodes.forEach(ul), this.clearAllSnapshots();
851
+ this.isUpdating || this.nodes.forEach(ml), this.isUpdating = !1, this.nodes.forEach(gl), this.nodes.forEach(ul), this.nodes.forEach(dl), this.clearAllSnapshots();
851
852
  const s = br.now();
852
- xe.delta = pr(0, 1e3 / 60, s - xe.timestamp), xe.timestamp = s, xe.isProcessing = !0, ln.update.process(xe), ln.preRender.process(xe), ln.render.process(xe), xe.isProcessing = !1;
853
+ xe.delta = pr(0, 1e3 / 60, s - xe.timestamp), xe.timestamp = s, xe.isProcessing = !0, an.update.process(xe), an.preRender.process(xe), an.render.process(xe), xe.isProcessing = !1;
853
854
  }
854
855
  didUpdate() {
855
856
  this.updateScheduled || (this.updateScheduled = !0, yr.read(this.scheduleUpdate));
856
857
  }
857
858
  clearAllSnapshots() {
858
- this.nodes.forEach(hl), this.sharedNodes.forEach(xl);
859
+ this.nodes.forEach(pl), this.sharedNodes.forEach(Sl);
859
860
  }
860
861
  scheduleUpdateProjection() {
861
862
  this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Pe.preRender(this.updateProjection, !1, !0));
@@ -904,7 +905,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
904
905
  measure(r = !0) {
905
906
  const s = this.measurePageBox();
906
907
  let l = this.removeElementScroll(s);
907
- return r && (l = this.removeTransform(l)), Pl(l), {
908
+ return r && (l = this.removeTransform(l)), Cl(l), {
908
909
  animationId: this.root.animationId,
909
910
  measuredBox: s,
910
911
  layoutBox: l,
@@ -918,7 +919,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
918
919
  if (!r)
919
920
  return le();
920
921
  const s = r.measureViewportBox();
921
- if (!(((c = this.scroll) == null ? void 0 : c.wasRoot) || this.path.some(Cl))) {
922
+ if (!(((c = this.scroll) == null ? void 0 : c.wasRoot) || this.path.some(El))) {
922
923
  const { scroll: u } = this.root;
923
924
  u && (Tt(s.x, u.offset.x), Tt(s.y, u.offset.y));
924
925
  }
@@ -989,7 +990,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
989
990
  const m = this.getClosestProjectingParent();
990
991
  m && m.layout && this.animationProgress !== 1 ? (this.relativeParent = m, this.forceRelativeParentToResolveTarget(), this.relativeTarget = le(), this.relativeTargetOrigin = le(), wt(this.relativeTargetOrigin, this.layout.layoutBox, m.layout.layoutBox), we(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
991
992
  }
992
- if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = le(), this.targetWithTransforms = le()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Aa(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : we(this.target, this.layout.layoutBox), ta(this.target, this.targetDelta)) : we(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
993
+ if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = le(), this.targetWithTransforms = le()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Da(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : we(this.target, this.layout.layoutBox), ta(this.target, this.targetDelta)) : we(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
993
994
  this.attemptToResolveRelativeTarget = !1;
994
995
  const m = this.getClosestProjectingParent();
995
996
  m && !!m.resumingFrom == !!this.resumingFrom && !m.options.layoutScroll && m.target && this.animationProgress !== 1 ? (this.relativeParent = m, this.forceRelativeParentToResolveTarget(), this.relativeTarget = le(), this.relativeTargetOrigin = le(), wt(this.relativeTargetOrigin, this.target, m.target), we(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
@@ -1042,18 +1043,18 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
1042
1043
  setAnimationOrigin(r, s = !1) {
1043
1044
  const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, f = at();
1044
1045
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !s;
1045
- const h = le(), m = l ? l.source : void 0, x = this.layout ? this.layout.source : void 0, p = m !== x, v = this.getStack(), y = !v || v.members.length <= 1, S = !!(p && !y && this.options.crossfade === !0 && !this.path.some(wl));
1046
+ const h = le(), m = l ? l.source : void 0, x = this.layout ? this.layout.source : void 0, p = m !== x, v = this.getStack(), y = !v || v.members.length <= 1, S = !!(p && !y && this.options.crossfade === !0 && !this.path.some(bl));
1046
1047
  this.animationProgress = 0;
1047
1048
  let w;
1048
1049
  this.mixTargetDelta = (C) => {
1049
1050
  const A = C / 1e3;
1050
- jo(f.x, r.x, A), jo(f.y, r.y, A), this.setTargetDelta(f), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (wt(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Sl(this.relativeTarget, this.relativeTargetOrigin, h, A), w && ol(this.relativeTarget, w) && (this.isProjectionDirty = !1), w || (w = le()), we(w, this.relativeTarget)), p && (this.animationValues = u, Za(u, c, this.latestValues, A, S, y)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = A;
1051
+ ko(f.x, r.x, A), ko(f.y, r.y, A), this.setTargetDelta(f), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (wt(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), wl(this.relativeTarget, this.relativeTargetOrigin, h, A), w && rl(this.relativeTarget, w) && (this.isProjectionDirty = !1), w || (w = le()), we(w, this.relativeTarget)), p && (this.animationValues = u, Ja(u, c, this.latestValues, A, S, y)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = A;
1051
1052
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
1052
1053
  }
1053
1054
  startAnimation(r) {
1054
1055
  var s, l, c;
1055
1056
  this.notifyListeners("animationStart"), (s = this.currentAnimation) == null || s.stop(), (c = (l = this.resumingFrom) == null ? void 0 : l.currentAnimation) == null || c.stop(), this.pendingAnimation && (bt(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = Pe.update(() => {
1056
- Ot.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = xr(0)), this.currentAnimation = Ga(this.motionValue, [0, 1e3], {
1057
+ Ot.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = xr(0)), this.currentAnimation = Ka(this.motionValue, [0, 1e3], {
1057
1058
  ...r,
1058
1059
  velocity: 0,
1059
1060
  isSync: !0,
@@ -1074,7 +1075,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
1074
1075
  r && r.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
1075
1076
  }
1076
1077
  finishAnimation() {
1077
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(al), this.currentAnimation.stop()), this.completeAnimation();
1078
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(ll), this.currentAnimation.stop()), this.completeAnimation();
1078
1079
  }
1079
1080
  applyTransformsToTarget() {
1080
1081
  const r = this.getLead();
@@ -1091,7 +1092,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
1091
1092
  }
1092
1093
  }
1093
1094
  registerSharedNode(r, s) {
1094
- this.sharedNodes.has(r) || this.sharedNodes.set(r, new rl()), this.sharedNodes.get(r).add(s);
1095
+ this.sharedNodes.has(r) || this.sharedNodes.set(r, new sl()), this.sharedNodes.get(r).add(s);
1095
1096
  const c = s.options.initialPromotionConfig;
1096
1097
  s.promote({
1097
1098
  transition: c ? c.transition : void 0,
@@ -1134,9 +1135,9 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
1134
1135
  if ((l.z || l.rotate || l.rotateX || l.rotateY || l.rotateZ || l.skewX || l.skewY) && (s = !0), !s)
1135
1136
  return;
1136
1137
  const c = {};
1137
- l.z && hn("z", r, c, this.animationValues);
1138
- for (let u = 0; u < fn.length; u++)
1139
- hn(`rotate${fn[u]}`, r, c, this.animationValues), hn(`skew${fn[u]}`, r, c, this.animationValues);
1138
+ l.z && fn("z", r, c, this.animationValues);
1139
+ for (let u = 0; u < dn.length; u++)
1140
+ fn(`rotate${dn[u]}`, r, c, this.animationValues), fn(`skew${dn[u]}`, r, c, this.animationValues);
1140
1141
  r.render();
1141
1142
  for (const u in c)
1142
1143
  r.setStaticValue(u, c[u]), this.animationValues && (this.animationValues[u] = c[u]);
@@ -1146,19 +1147,19 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
1146
1147
  if (!this.instance || this.isSVG)
1147
1148
  return;
1148
1149
  if (!this.isVisible)
1149
- return il;
1150
+ return al;
1150
1151
  const s = {
1151
1152
  visibility: ""
1152
1153
  }, l = this.getTransformTemplate();
1153
1154
  if (this.needsReset)
1154
- return this.needsReset = !1, s.opacity = "", s.pointerEvents = cn(r == null ? void 0 : r.pointerEvents) || "", s.transform = l ? l(this.latestValues, "") : "none", s;
1155
+ return this.needsReset = !1, s.opacity = "", s.pointerEvents = ln(r == null ? void 0 : r.pointerEvents) || "", s.transform = l ? l(this.latestValues, "") : "none", s;
1155
1156
  const c = this.getLead();
1156
1157
  if (!this.projectionDelta || !this.layout || !c.target) {
1157
1158
  const m = {};
1158
- return this.options.layoutId && (m.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, m.pointerEvents = cn(r == null ? void 0 : r.pointerEvents) || ""), this.hasProjected && !tt(this.latestValues) && (m.transform = l ? l({}, "") : "none", this.hasProjected = !1), m;
1159
+ return this.options.layoutId && (m.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, m.pointerEvents = ln(r == null ? void 0 : r.pointerEvents) || ""), this.hasProjected && !tt(this.latestValues) && (m.transform = l ? l({}, "") : "none", this.hasProjected = !1), m;
1159
1160
  }
1160
1161
  const u = c.animationValues || c.latestValues;
1161
- this.applyTransformsToTarget(), s.transform = sl(this.projectionDeltaWithTransform, this.treeScale, u), l && (s.transform = l(u, s.transform));
1162
+ this.applyTransformsToTarget(), s.transform = il(this.projectionDeltaWithTransform, this.treeScale, u), l && (s.transform = l(u, s.transform));
1162
1163
  const { x: f, y: h } = this.projectionDelta;
1163
1164
  s.transformOrigin = `${f.origin * 100}% ${h.origin * 100}% 0`, c.animationValues ? s.opacity = c === this ? u.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : u.opacityExit : s.opacity = c === this ? u.opacity !== void 0 ? u.opacity : "" : u.opacityExit !== void 0 ? u.opacityExit : 0;
1164
1165
  for (const m in ao) {
@@ -1172,7 +1173,7 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
1172
1173
  } else
1173
1174
  v ? this.options.visualElement.renderState.vars[m] = y : s[m] = y;
1174
1175
  }
1175
- return this.options.layoutId && (s.pointerEvents = c === this ? cn(r == null ? void 0 : r.pointerEvents) || "" : "none"), s;
1176
+ return this.options.layoutId && (s.pointerEvents = c === this ? ln(r == null ? void 0 : r.pointerEvents) || "" : "none"), s;
1176
1177
  }
1177
1178
  clearSnapshot() {
1178
1179
  this.resumeFrom = this.snapshot = void 0;
@@ -1186,10 +1187,10 @@ function jr({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
1186
1187
  }
1187
1188
  };
1188
1189
  }
1189
- function cl(e) {
1190
+ function ul(e) {
1190
1191
  e.updateLayout();
1191
1192
  }
1192
- function ul(e) {
1193
+ function dl(e) {
1193
1194
  var n;
1194
1195
  const t = ((n = e.resumeFrom) == null ? void 0 : n.snapshot) || e.snapshot;
1195
1196
  if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
@@ -1233,114 +1234,114 @@ function ul(e) {
1233
1234
  }
1234
1235
  e.options.transition = void 0;
1235
1236
  }
1236
- function dl(e) {
1237
+ function fl(e) {
1237
1238
  e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty || (e.isSharedProjectionDirty = !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty)), e.isTransformDirty || (e.isTransformDirty = e.parent.isTransformDirty));
1238
1239
  }
1239
- function fl(e) {
1240
+ function hl(e) {
1240
1241
  e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
1241
1242
  }
1242
- function hl(e) {
1243
+ function pl(e) {
1243
1244
  e.clearSnapshot();
1244
1245
  }
1245
1246
  function Lo(e) {
1246
1247
  e.clearMeasurements();
1247
1248
  }
1248
- function pl(e) {
1249
+ function ml(e) {
1249
1250
  e.isLayoutDirty = !1;
1250
1251
  }
1251
- function ml(e) {
1252
+ function gl(e) {
1252
1253
  const { visualElement: t } = e.options;
1253
1254
  t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
1254
1255
  }
1255
- function ko(e) {
1256
+ function jo(e) {
1256
1257
  e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
1257
1258
  }
1258
- function gl(e) {
1259
+ function vl(e) {
1259
1260
  e.resolveTargetDelta();
1260
1261
  }
1261
- function vl(e) {
1262
+ function yl(e) {
1262
1263
  e.calcProjection();
1263
1264
  }
1264
- function yl(e) {
1265
+ function xl(e) {
1265
1266
  e.resetSkewAndRotation();
1266
1267
  }
1267
- function xl(e) {
1268
+ function Sl(e) {
1268
1269
  e.removeLeadSnapshot();
1269
1270
  }
1270
- function jo(e, t, n) {
1271
+ function ko(e, t, n) {
1271
1272
  e.translate = ce(t.translate, 0, n), e.scale = ce(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
1272
1273
  }
1273
1274
  function Oo(e, t, n, o) {
1274
1275
  e.min = ce(t.min, n.min, o), e.max = ce(t.max, n.max, o);
1275
1276
  }
1276
- function Sl(e, t, n, o) {
1277
+ function wl(e, t, n, o) {
1277
1278
  Oo(e.x, t.x, n.x, o), Oo(e.y, t.y, n.y, o);
1278
1279
  }
1279
- function wl(e) {
1280
+ function bl(e) {
1280
1281
  return e.animationValues && e.animationValues.opacityExit !== void 0;
1281
1282
  }
1282
- const bl = {
1283
+ const Pl = {
1283
1284
  duration: 0.45,
1284
1285
  ease: [0.4, 0, 0.1, 1]
1285
- }, _o = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), zo = _o("applewebkit/") && !_o("chrome/") ? Math.round : ct;
1286
+ }, zo = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), _o = zo("applewebkit/") && !zo("chrome/") ? Math.round : ct;
1286
1287
  function Bo(e) {
1287
- e.min = zo(e.min), e.max = zo(e.max);
1288
+ e.min = _o(e.min), e.max = _o(e.max);
1288
1289
  }
1289
- function Pl(e) {
1290
+ function Cl(e) {
1290
1291
  Bo(e.x), Bo(e.y);
1291
1292
  }
1292
1293
  function Or(e, t, n) {
1293
- return e === "position" || e === "preserve-aspect" && !Ta(No(t), No(n), 0.2);
1294
+ return e === "position" || e === "preserve-aspect" && !Aa(No(t), No(n), 0.2);
1294
1295
  }
1295
- function Cl(e) {
1296
+ function El(e) {
1296
1297
  var t;
1297
1298
  return e !== e.root && ((t = e.scroll) == null ? void 0 : t.wasRoot);
1298
1299
  }
1299
- const El = jr({
1300
- attachResizeListener: (e, t) => Bn(e, "resize", t),
1300
+ const Rl = kr({
1301
+ attachResizeListener: (e, t) => _n(e, "resize", t),
1301
1302
  measureScroll: () => ({
1302
1303
  x: document.documentElement.scrollLeft || document.body.scrollLeft,
1303
1304
  y: document.documentElement.scrollTop || document.body.scrollTop
1304
1305
  }),
1305
1306
  checkIsScrollRoot: () => !0
1306
- }), pn = {
1307
+ }), hn = {
1307
1308
  current: void 0
1308
- }, _r = jr({
1309
+ }, zr = kr({
1309
1310
  measureScroll: (e) => ({
1310
1311
  x: e.scrollLeft,
1311
1312
  y: e.scrollTop
1312
1313
  }),
1313
1314
  defaultParent: () => {
1314
- if (!pn.current) {
1315
- const e = new El({});
1316
- e.mount(window), e.setOptions({ layoutScroll: !0 }), pn.current = e;
1315
+ if (!hn.current) {
1316
+ const e = new Rl({});
1317
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), hn.current = e;
1317
1318
  }
1318
- return pn.current;
1319
+ return hn.current;
1319
1320
  },
1320
1321
  resetTransform: (e, t) => {
1321
1322
  e.style.transform = t !== void 0 ? t : "none";
1322
1323
  },
1323
1324
  checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
1324
- }), Rl = {
1325
+ }), Tl = {
1325
1326
  pan: {
1326
- Feature: $a
1327
+ Feature: Wa
1327
1328
  },
1328
1329
  drag: {
1329
- Feature: Fa,
1330
- ProjectionNode: _r,
1330
+ Feature: $a,
1331
+ ProjectionNode: zr,
1331
1332
  MeasureLayout: Dr
1332
1333
  }
1333
- }, Tl = {
1334
+ }, Al = {
1334
1335
  layout: {
1335
- ProjectionNode: _r,
1336
+ ProjectionNode: zr,
1336
1337
  MeasureLayout: Dr
1337
1338
  }
1338
- }, Al = /* @__PURE__ */ sa({
1339
+ }, Dl = /* @__PURE__ */ sa({
1339
1340
  ...la,
1340
1341
  ...aa,
1341
- ...Rl,
1342
- ...Tl
1343
- }, ia), mn = /* @__PURE__ */ ca(Al), Dl = ji({
1342
+ ...Tl,
1343
+ ...Al
1344
+ }, ia), pn = /* @__PURE__ */ ca(Dl), Il = ki({
1344
1345
  slots: {
1345
1346
  base: ["relative", "inline-flex", "shrink-0"],
1346
1347
  badge: [
@@ -1717,7 +1718,7 @@ const El = jr({
1717
1718
  ]
1718
1719
  }), Mf = d.forwardRef(
1719
1720
  ({ className: e, variant: t, size: n, color: o, children: i, content: a, shape: r, placement: s, ...l }, c) => {
1720
- const { base: u, badge: f } = Dl({ variant: t, size: n, color: o, shape: r, placement: s });
1721
+ const { base: u, badge: f } = Il({ variant: t, size: n, color: o, shape: r, placement: s });
1721
1722
  return /* @__PURE__ */ g.jsxs("div", { className: u(), children: [
1722
1723
  i,
1723
1724
  /* @__PURE__ */ g.jsx(
@@ -1731,7 +1732,7 @@ const El = jr({
1731
1732
  )
1732
1733
  ] });
1733
1734
  }
1734
- ), Vo = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Fo = Xe, zr = (e, t) => (n) => {
1735
+ ), Vo = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Fo = Xe, _r = (e, t) => (n) => {
1735
1736
  var o;
1736
1737
  if ((t == null ? void 0 : t.variants) == null) return Fo(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
1737
1738
  const { variants: i, defaultVariants: a } = t, r = Object.keys(i).map((c) => {
@@ -1760,7 +1761,7 @@ const El = jr({
1760
1761
  ] : c;
1761
1762
  }, []);
1762
1763
  return Fo(e, r, l, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
1763
- }, Il = zr(
1764
+ }, Nl = _r(
1764
1765
  [
1765
1766
  "bg-white",
1766
1767
  "transition duration-250 ease appearance-none file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex w-full min-w-0 border px-3 py-1 text-base transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm focus-visible:border-primary focus-visible:ring-primary/20 focus-visible:ring-[3px] aria-invalid:ring-danger/20 dark:aria-invalid:ring-danger/40 font-normal aria-invalid:border-danger"
@@ -1784,7 +1785,7 @@ const El = jr({
1784
1785
  radius: "md"
1785
1786
  }
1786
1787
  }
1787
- ), Nl = d.forwardRef((e, t) => {
1788
+ ), Ml = d.forwardRef((e, t) => {
1788
1789
  const {
1789
1790
  id: n,
1790
1791
  type: o = "text",
@@ -1807,13 +1808,13 @@ const El = jr({
1807
1808
  onChange: C,
1808
1809
  onClear: A,
1809
1810
  ...D
1810
- } = e, P = d.useId(), F = n || P, L = i !== void 0, z = !h && !!m && x, H = Xe("absolute top-0 h-full flex items-center cursor-pointer px-1.5 z-[1]", {
1811
- "text-red-700": z,
1811
+ } = e, P = d.useId(), F = n || P, L = i !== void 0, _ = !h && !!m && x, H = Xe("absolute top-0 h-full flex items-center cursor-pointer px-1.5 z-[1]", {
1812
+ "text-red-700": _,
1812
1813
  "text-gray-400": h,
1813
1814
  "text-green-700": !m && x,
1814
- "text-gray-500": !z
1815
- }), O = Xe(u && "pl-8", !u && "pl-2.5", f && "pr-8", !f && "pr-2.5"), B = de(Il({ size: l, radius: c }), O, r), X = de("block font-normal text-sm text-foreground mb-1", {
1816
- "text-danger": z
1815
+ "text-gray-500": !_
1816
+ }), O = Xe(u && "pl-8", !u && "pl-2.5", f && "pr-8", !f && "pr-2.5"), B = de(Nl({ size: l, radius: c }), O, r), X = de("block font-normal text-sm text-foreground mb-1", {
1817
+ "text-danger": _
1817
1818
  }), K = (q) => {
1818
1819
  const J = q.target.value;
1819
1820
  p && !Oi(p, J) || C == null || C(q);
@@ -1833,7 +1834,7 @@ const El = jr({
1833
1834
  {
1834
1835
  ref: t,
1835
1836
  id: F,
1836
- ...h ? {} : { "aria-invalid": z },
1837
+ ...h ? {} : { "aria-invalid": _ },
1837
1838
  type: o,
1838
1839
  autoComplete: "off",
1839
1840
  autoCapitalize: "off",
@@ -1866,8 +1867,8 @@ const El = jr({
1866
1867
  !h && m && x && v && /* @__PURE__ */ g.jsx(fr, { text: m })
1867
1868
  ] });
1868
1869
  });
1869
- Nl.displayName = "Input";
1870
- var Ml = [
1870
+ Ml.displayName = "Input";
1871
+ var Ll = [
1871
1872
  "a",
1872
1873
  "button",
1873
1874
  "div",
@@ -1885,17 +1886,17 @@ var Ml = [
1885
1886
  "span",
1886
1887
  "svg",
1887
1888
  "ul"
1888
- ], ee = Ml.reduce((e, t) => {
1889
+ ], ee = Ll.reduce((e, t) => {
1889
1890
  const n = Pt(`Primitive.${t}`), o = d.forwardRef((i, a) => {
1890
1891
  const { asChild: r, ...s } = i, l = r ? n : t;
1891
1892
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ g.jsx(l, { ...s, ref: a });
1892
1893
  });
1893
1894
  return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
1894
1895
  }, {});
1895
- function Ll(e, t) {
1896
- e && Vn.flushSync(() => e.dispatchEvent(t));
1896
+ function jl(e, t) {
1897
+ e && Bn.flushSync(() => e.dispatchEvent(t));
1897
1898
  }
1898
- const kl = zr(["flex items-center cursor-pointer relative rounded-full p-0.5 px-1 relative overflow-hidden"], {
1899
+ const kl = _r(["flex items-center cursor-pointer relative rounded-full p-0.5 px-1 relative overflow-hidden"], {
1899
1900
  variants: {
1900
1901
  color: {
1901
1902
  primary: "bg-primary",
@@ -1915,7 +1916,7 @@ const kl = zr(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
1915
1916
  color: "primary",
1916
1917
  size: "md"
1917
1918
  }
1918
- }), jl = ({
1919
+ }), Ol = ({
1919
1920
  id: e = null,
1920
1921
  color: t,
1921
1922
  size: n = "md",
@@ -1959,12 +1960,12 @@ const kl = zr(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
1959
1960
  "after:content-['*'] after:ml-0.5 after:text-green-500": l,
1960
1961
  "after:text-gray-400 text-gray-400": i
1961
1962
  })
1962
- ), z = Me("text-xs text-gray-500 mt-1", i && "text-gray-400");
1963
+ ), _ = Me("text-xs text-gray-500 mt-1", i && "text-gray-400");
1963
1964
  return /* @__PURE__ */ g.jsxs("div", { className: Me(o), children: [
1964
1965
  /* @__PURE__ */ g.jsxs("div", { className: Xe("flex gap-2", r && a ? "items-start" : "items-center"), children: [
1965
1966
  s === "start" && (a || r) && /* @__PURE__ */ g.jsxs("div", { onClick: D, className: "cursor-pointer", children: [
1966
1967
  a && /* @__PURE__ */ g.jsx("p", { className: L, children: a }),
1967
- r && /* @__PURE__ */ g.jsx("p", { className: z, children: r })
1968
+ r && /* @__PURE__ */ g.jsx("p", { className: _, children: r })
1968
1969
  ] }),
1969
1970
  /* @__PURE__ */ g.jsxs(
1970
1971
  "label",
@@ -1986,7 +1987,7 @@ const kl = zr(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
1986
1987
  }
1987
1988
  ),
1988
1989
  h && /* @__PURE__ */ g.jsx(
1989
- mn.div,
1990
+ pn.div,
1990
1991
  {
1991
1992
  initial: !1,
1992
1993
  animate: w ? { scale: 1, opacity: 1 } : { scale: 0, opacity: 0 },
@@ -1996,7 +1997,7 @@ const kl = zr(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
1996
1997
  }
1997
1998
  ),
1998
1999
  m && /* @__PURE__ */ g.jsx(
1999
- mn.div,
2000
+ pn.div,
2000
2001
  {
2001
2002
  initial: !1,
2002
2003
  animate: w ? { scale: 0, opacity: 0 } : { scale: 1, opacity: 1 },
@@ -2006,7 +2007,7 @@ const kl = zr(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
2006
2007
  }
2007
2008
  ),
2008
2009
  /* @__PURE__ */ g.jsx("span", { className: P, children: x && /* @__PURE__ */ g.jsx(
2009
- mn.div,
2010
+ pn.div,
2010
2011
  {
2011
2012
  initial: !1,
2012
2013
  animate: { scale: 1 },
@@ -2019,20 +2020,20 @@ const kl = zr(["flex items-center cursor-pointer relative rounded-full p-0.5 px-
2019
2020
  ),
2020
2021
  s === "end" && (a || r) && /* @__PURE__ */ g.jsxs("div", { onClick: D, className: "cursor-pointer", children: [
2021
2022
  a && /* @__PURE__ */ g.jsx("p", { className: L, children: a }),
2022
- r && /* @__PURE__ */ g.jsx("p", { className: z, children: r })
2023
+ r && /* @__PURE__ */ g.jsx("p", { className: _, children: r })
2023
2024
  ] })
2024
2025
  ] }),
2025
2026
  !i && c && u && /* @__PURE__ */ g.jsx(fr, { text: c })
2026
2027
  ] });
2027
2028
  };
2028
- jl.displayName = "Switch";
2029
+ Ol.displayName = "Switch";
2029
2030
  function te(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
2030
2031
  return function(i) {
2031
2032
  if (e == null || e(i), n === !1 || !i.defaultPrevented)
2032
2033
  return t == null ? void 0 : t(i);
2033
2034
  };
2034
2035
  }
2035
- function Ol(e, t) {
2036
+ function zl(e, t) {
2036
2037
  const n = d.createContext(t), o = (a) => {
2037
2038
  const { children: r, ...s } = a, l = d.useMemo(() => s, Object.values(s));
2038
2039
  return /* @__PURE__ */ g.jsx(n.Provider, { value: l, children: r });
@@ -2097,15 +2098,15 @@ function _l(...e) {
2097
2098
  return n.scopeName = t.scopeName, n;
2098
2099
  }
2099
2100
  var fe = globalThis != null && globalThis.document ? d.useLayoutEffect : () => {
2100
- }, zl = d[" useInsertionEffect ".trim().toString()] || fe;
2101
- function In({
2101
+ }, Bl = d[" useInsertionEffect ".trim().toString()] || fe;
2102
+ function Dn({
2102
2103
  prop: e,
2103
2104
  defaultProp: t,
2104
2105
  onChange: n = () => {
2105
2106
  },
2106
2107
  caller: o
2107
2108
  }) {
2108
- const [i, a, r] = Bl({
2109
+ const [i, a, r] = Vl({
2109
2110
  defaultProp: t,
2110
2111
  onChange: n
2111
2112
  }), s = e !== void 0, l = s ? e : i;
@@ -2123,7 +2124,7 @@ function In({
2123
2124
  (u) => {
2124
2125
  var f;
2125
2126
  if (s) {
2126
- const h = Vl(u) ? u(e) : u;
2127
+ const h = Fl(u) ? u(e) : u;
2127
2128
  h !== e && ((f = r.current) == null || f.call(r, h));
2128
2129
  } else
2129
2130
  a(u);
@@ -2132,22 +2133,22 @@ function In({
2132
2133
  );
2133
2134
  return [l, c];
2134
2135
  }
2135
- function Bl({
2136
+ function Vl({
2136
2137
  defaultProp: e,
2137
2138
  onChange: t
2138
2139
  }) {
2139
2140
  const [n, o] = d.useState(e), i = d.useRef(n), a = d.useRef(t);
2140
- return zl(() => {
2141
+ return Bl(() => {
2141
2142
  a.current = t;
2142
2143
  }, [t]), d.useEffect(() => {
2143
2144
  var r;
2144
2145
  i.current !== n && ((r = a.current) == null || r.call(a, n), i.current = n);
2145
2146
  }, [n, i]), [n, o, a];
2146
2147
  }
2147
- function Vl(e) {
2148
+ function Fl(e) {
2148
2149
  return typeof e == "function";
2149
2150
  }
2150
- function Fl(e) {
2151
+ function $l(e) {
2151
2152
  const t = e + "CollectionProvider", [n, o] = Xt(t), [i, a] = n(
2152
2153
  t,
2153
2154
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
@@ -2187,9 +2188,9 @@ function Fl(e) {
2187
2188
  o
2188
2189
  ];
2189
2190
  }
2190
- var $l = d.createContext(void 0);
2191
- function Wl(e) {
2192
- const t = d.useContext($l);
2191
+ var Wl = d.createContext(void 0);
2192
+ function Hl(e) {
2193
+ const t = d.useContext(Wl);
2193
2194
  return e || t || "ltr";
2194
2195
  }
2195
2196
  function qe(e) {
@@ -2201,7 +2202,7 @@ function qe(e) {
2201
2202
  return (o = t.current) == null ? void 0 : o.call(t, ...n);
2202
2203
  }, []);
2203
2204
  }
2204
- function Hl(e, t = globalThis == null ? void 0 : globalThis.document) {
2205
+ function Ul(e, t = globalThis == null ? void 0 : globalThis.document) {
2205
2206
  const n = qe(e);
2206
2207
  d.useEffect(() => {
2207
2208
  const o = (i) => {
@@ -2210,11 +2211,11 @@ function Hl(e, t = globalThis == null ? void 0 : globalThis.document) {
2210
2211
  return t.addEventListener("keydown", o, { capture: !0 }), () => t.removeEventListener("keydown", o, { capture: !0 });
2211
2212
  }, [n, t]);
2212
2213
  }
2213
- var Ul = "DismissableLayer", Nn = "dismissableLayer.update", Gl = "dismissableLayer.pointerDownOutside", Kl = "dismissableLayer.focusOutside", $o, Br = d.createContext({
2214
+ var Gl = "DismissableLayer", In = "dismissableLayer.update", Kl = "dismissableLayer.pointerDownOutside", Xl = "dismissableLayer.focusOutside", $o, Br = d.createContext({
2214
2215
  layers: /* @__PURE__ */ new Set(),
2215
2216
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
2216
2217
  branches: /* @__PURE__ */ new Set()
2217
- }), Fn = d.forwardRef(
2218
+ }), Vn = d.forwardRef(
2218
2219
  (e, t) => {
2219
2220
  const {
2220
2221
  disableOutsidePointerEvents: n = !1,
@@ -2224,14 +2225,14 @@ var Ul = "DismissableLayer", Nn = "dismissableLayer.update", Gl = "dismissableLa
2224
2225
  onInteractOutside: r,
2225
2226
  onDismiss: s,
2226
2227
  ...l
2227
- } = e, c = d.useContext(Br), [u, f] = d.useState(null), h = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = d.useState({}), x = ae(t, (P) => f(P)), p = Array.from(c.layers), [v] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), y = p.indexOf(v), S = u ? p.indexOf(u) : -1, w = c.layersWithOutsidePointerEventsDisabled.size > 0, C = S >= y, A = ql((P) => {
2228
- const F = P.target, L = [...c.branches].some((z) => z.contains(F));
2228
+ } = e, c = d.useContext(Br), [u, f] = d.useState(null), h = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = d.useState({}), x = ae(t, (P) => f(P)), p = Array.from(c.layers), [v] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), y = p.indexOf(v), S = u ? p.indexOf(u) : -1, w = c.layersWithOutsidePointerEventsDisabled.size > 0, C = S >= y, A = Zl((P) => {
2229
+ const F = P.target, L = [...c.branches].some((_) => _.contains(F));
2229
2230
  !C || L || (i == null || i(P), r == null || r(P), P.defaultPrevented || s == null || s());
2230
- }, h), D = Zl((P) => {
2231
+ }, h), D = Jl((P) => {
2231
2232
  const F = P.target;
2232
- [...c.branches].some((z) => z.contains(F)) || (a == null || a(P), r == null || r(P), P.defaultPrevented || s == null || s());
2233
+ [...c.branches].some((_) => _.contains(F)) || (a == null || a(P), r == null || r(P), P.defaultPrevented || s == null || s());
2233
2234
  }, h);
2234
- return Hl((P) => {
2235
+ return Ul((P) => {
2235
2236
  S === c.layers.size - 1 && (o == null || o(P), !P.defaultPrevented && s && (P.preventDefault(), s()));
2236
2237
  }, h), d.useEffect(() => {
2237
2238
  if (u)
@@ -2242,7 +2243,7 @@ var Ul = "DismissableLayer", Nn = "dismissableLayer.update", Gl = "dismissableLa
2242
2243
  u && (c.layers.delete(u), c.layersWithOutsidePointerEventsDisabled.delete(u), Wo());
2243
2244
  }, [u, c]), d.useEffect(() => {
2244
2245
  const P = () => m({});
2245
- return document.addEventListener(Nn, P), () => document.removeEventListener(Nn, P);
2246
+ return document.addEventListener(In, P), () => document.removeEventListener(In, P);
2246
2247
  }, []), /* @__PURE__ */ g.jsx(
2247
2248
  ee.div,
2248
2249
  {
@@ -2262,8 +2263,8 @@ var Ul = "DismissableLayer", Nn = "dismissableLayer.update", Gl = "dismissableLa
2262
2263
  );
2263
2264
  }
2264
2265
  );
2265
- Fn.displayName = Ul;
2266
- var Xl = "DismissableLayerBranch", Yl = d.forwardRef((e, t) => {
2266
+ Vn.displayName = Gl;
2267
+ var Yl = "DismissableLayerBranch", ql = d.forwardRef((e, t) => {
2267
2268
  const n = d.useContext(Br), o = d.useRef(null), i = ae(t, o);
2268
2269
  return d.useEffect(() => {
2269
2270
  const a = o.current;
@@ -2273,8 +2274,8 @@ var Xl = "DismissableLayerBranch", Yl = d.forwardRef((e, t) => {
2273
2274
  };
2274
2275
  }, [n.branches]), /* @__PURE__ */ g.jsx(ee.div, { ...e, ref: i });
2275
2276
  });
2276
- Yl.displayName = Xl;
2277
- function ql(e, t = globalThis == null ? void 0 : globalThis.document) {
2277
+ ql.displayName = Yl;
2278
+ function Zl(e, t = globalThis == null ? void 0 : globalThis.document) {
2278
2279
  const n = qe(e), o = d.useRef(!1), i = d.useRef(() => {
2279
2280
  });
2280
2281
  return d.useEffect(() => {
@@ -2282,7 +2283,7 @@ function ql(e, t = globalThis == null ? void 0 : globalThis.document) {
2282
2283
  if (s.target && !o.current) {
2283
2284
  let l = function() {
2284
2285
  Vr(
2285
- Gl,
2286
+ Kl,
2286
2287
  n,
2287
2288
  c,
2288
2289
  { discrete: !0 }
@@ -2304,11 +2305,11 @@ function ql(e, t = globalThis == null ? void 0 : globalThis.document) {
2304
2305
  onPointerDownCapture: () => o.current = !0
2305
2306
  };
2306
2307
  }
2307
- function Zl(e, t = globalThis == null ? void 0 : globalThis.document) {
2308
+ function Jl(e, t = globalThis == null ? void 0 : globalThis.document) {
2308
2309
  const n = qe(e), o = d.useRef(!1);
2309
2310
  return d.useEffect(() => {
2310
2311
  const i = (a) => {
2311
- a.target && !o.current && Vr(Kl, n, { originalEvent: a }, {
2312
+ a.target && !o.current && Vr(Xl, n, { originalEvent: a }, {
2312
2313
  discrete: !1
2313
2314
  });
2314
2315
  };
@@ -2319,19 +2320,19 @@ function Zl(e, t = globalThis == null ? void 0 : globalThis.document) {
2319
2320
  };
2320
2321
  }
2321
2322
  function Wo() {
2322
- const e = new CustomEvent(Nn);
2323
+ const e = new CustomEvent(In);
2323
2324
  document.dispatchEvent(e);
2324
2325
  }
2325
2326
  function Vr(e, t, n, { discrete: o }) {
2326
2327
  const i = n.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
2327
- t && i.addEventListener(e, t, { once: !0 }), o ? Ll(i, a) : i.dispatchEvent(a);
2328
+ t && i.addEventListener(e, t, { once: !0 }), o ? jl(i, a) : i.dispatchEvent(a);
2328
2329
  }
2329
- var gn = 0;
2330
+ var mn = 0;
2330
2331
  function Fr() {
2331
2332
  d.useEffect(() => {
2332
2333
  const e = document.querySelectorAll("[data-radix-focus-guard]");
2333
- return document.body.insertAdjacentElement("afterbegin", e[0] ?? Ho()), document.body.insertAdjacentElement("beforeend", e[1] ?? Ho()), gn++, () => {
2334
- gn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), gn--;
2334
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? Ho()), document.body.insertAdjacentElement("beforeend", e[1] ?? Ho()), mn++, () => {
2335
+ mn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), mn--;
2335
2336
  };
2336
2337
  }, []);
2337
2338
  }
@@ -2339,7 +2340,7 @@ function Ho() {
2339
2340
  const e = document.createElement("span");
2340
2341
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
2341
2342
  }
2342
- var vn = "focusScope.autoFocusOnMount", yn = "focusScope.autoFocusOnUnmount", Uo = { bubbles: !1, cancelable: !0 }, Jl = "FocusScope", $n = d.forwardRef((e, t) => {
2343
+ var gn = "focusScope.autoFocusOnMount", vn = "focusScope.autoFocusOnUnmount", Uo = { bubbles: !1, cancelable: !0 }, Ql = "FocusScope", Fn = d.forwardRef((e, t) => {
2343
2344
  const {
2344
2345
  loop: n = !1,
2345
2346
  trapped: o = !1,
@@ -2360,15 +2361,15 @@ var vn = "focusScope.autoFocusOnMount", yn = "focusScope.autoFocusOnUnmount", Uo
2360
2361
  let p = function(w) {
2361
2362
  if (m.paused || !s) return;
2362
2363
  const C = w.target;
2363
- s.contains(C) ? f.current = C : _e(f.current, { select: !0 });
2364
+ s.contains(C) ? f.current = C : ze(f.current, { select: !0 });
2364
2365
  }, v = function(w) {
2365
2366
  if (m.paused || !s) return;
2366
2367
  const C = w.relatedTarget;
2367
- C !== null && (s.contains(C) || _e(f.current, { select: !0 }));
2368
+ C !== null && (s.contains(C) || ze(f.current, { select: !0 }));
2368
2369
  }, y = function(w) {
2369
2370
  if (document.activeElement === document.body)
2370
2371
  for (const A of w)
2371
- A.removedNodes.length > 0 && _e(s);
2372
+ A.removedNodes.length > 0 && ze(s);
2372
2373
  };
2373
2374
  document.addEventListener("focusin", p), document.addEventListener("focusout", v);
2374
2375
  const S = new MutationObserver(y);
@@ -2381,13 +2382,13 @@ var vn = "focusScope.autoFocusOnMount", yn = "focusScope.autoFocusOnUnmount", Uo
2381
2382
  Ko.add(m);
2382
2383
  const p = document.activeElement;
2383
2384
  if (!s.contains(p)) {
2384
- const y = new CustomEvent(vn, Uo);
2385
- s.addEventListener(vn, c), s.dispatchEvent(y), y.defaultPrevented || (Ql(rc($r(s)), { select: !0 }), document.activeElement === p && _e(s));
2385
+ const y = new CustomEvent(gn, Uo);
2386
+ s.addEventListener(gn, c), s.dispatchEvent(y), y.defaultPrevented || (ec(sc($r(s)), { select: !0 }), document.activeElement === p && ze(s));
2386
2387
  }
2387
2388
  return () => {
2388
- s.removeEventListener(vn, c), setTimeout(() => {
2389
- const y = new CustomEvent(yn, Uo);
2390
- s.addEventListener(yn, u), s.dispatchEvent(y), y.defaultPrevented || _e(p ?? document.body, { select: !0 }), s.removeEventListener(yn, u), Ko.remove(m);
2389
+ s.removeEventListener(gn, c), setTimeout(() => {
2390
+ const y = new CustomEvent(vn, Uo);
2391
+ s.addEventListener(vn, u), s.dispatchEvent(y), y.defaultPrevented || ze(p ?? document.body, { select: !0 }), s.removeEventListener(vn, u), Ko.remove(m);
2391
2392
  }, 0);
2392
2393
  };
2393
2394
  }
@@ -2397,21 +2398,21 @@ var vn = "focusScope.autoFocusOnMount", yn = "focusScope.autoFocusOnUnmount", Uo
2397
2398
  if (!n && !o || m.paused) return;
2398
2399
  const v = p.key === "Tab" && !p.altKey && !p.ctrlKey && !p.metaKey, y = document.activeElement;
2399
2400
  if (v && y) {
2400
- const S = p.currentTarget, [w, C] = ec(S);
2401
- w && C ? !p.shiftKey && y === C ? (p.preventDefault(), n && _e(w, { select: !0 })) : p.shiftKey && y === w && (p.preventDefault(), n && _e(C, { select: !0 })) : y === S && p.preventDefault();
2401
+ const S = p.currentTarget, [w, C] = tc(S);
2402
+ w && C ? !p.shiftKey && y === C ? (p.preventDefault(), n && ze(w, { select: !0 })) : p.shiftKey && y === w && (p.preventDefault(), n && ze(C, { select: !0 })) : y === S && p.preventDefault();
2402
2403
  }
2403
2404
  },
2404
2405
  [n, o, m.paused]
2405
2406
  );
2406
2407
  return /* @__PURE__ */ g.jsx(ee.div, { tabIndex: -1, ...r, ref: h, onKeyDown: x });
2407
2408
  });
2408
- $n.displayName = Jl;
2409
- function Ql(e, { select: t = !1 } = {}) {
2409
+ Fn.displayName = Ql;
2410
+ function ec(e, { select: t = !1 } = {}) {
2410
2411
  const n = document.activeElement;
2411
2412
  for (const o of e)
2412
- if (_e(o, { select: t }), document.activeElement !== n) return;
2413
+ if (ze(o, { select: t }), document.activeElement !== n) return;
2413
2414
  }
2414
- function ec(e) {
2415
+ function tc(e) {
2415
2416
  const t = $r(e), n = Go(t, e), o = Go(t.reverse(), e);
2416
2417
  return [n, o];
2417
2418
  }
@@ -2427,9 +2428,9 @@ function $r(e) {
2427
2428
  }
2428
2429
  function Go(e, t) {
2429
2430
  for (const n of e)
2430
- if (!tc(n, { upTo: t })) return n;
2431
+ if (!nc(n, { upTo: t })) return n;
2431
2432
  }
2432
- function tc(e, { upTo: t }) {
2433
+ function nc(e, { upTo: t }) {
2433
2434
  if (getComputedStyle(e).visibility === "hidden") return !0;
2434
2435
  for (; e; ) {
2435
2436
  if (t !== void 0 && e === t) return !1;
@@ -2438,17 +2439,17 @@ function tc(e, { upTo: t }) {
2438
2439
  }
2439
2440
  return !1;
2440
2441
  }
2441
- function nc(e) {
2442
+ function oc(e) {
2442
2443
  return e instanceof HTMLInputElement && "select" in e;
2443
2444
  }
2444
- function _e(e, { select: t = !1 } = {}) {
2445
+ function ze(e, { select: t = !1 } = {}) {
2445
2446
  if (e && e.focus) {
2446
2447
  const n = document.activeElement;
2447
- e.focus({ preventScroll: !0 }), e !== n && nc(e) && t && e.select();
2448
+ e.focus({ preventScroll: !0 }), e !== n && oc(e) && t && e.select();
2448
2449
  }
2449
2450
  }
2450
- var Ko = oc();
2451
- function oc() {
2451
+ var Ko = rc();
2452
+ function rc() {
2452
2453
  let e = [];
2453
2454
  return {
2454
2455
  add(t) {
@@ -2465,18 +2466,18 @@ function Xo(e, t) {
2465
2466
  const n = [...e], o = n.indexOf(t);
2466
2467
  return o !== -1 && n.splice(o, 1), n;
2467
2468
  }
2468
- function rc(e) {
2469
+ function sc(e) {
2469
2470
  return e.filter((t) => t.tagName !== "A");
2470
2471
  }
2471
- var sc = d[" useId ".trim().toString()] || (() => {
2472
- }), ic = 0;
2472
+ var ic = d[" useId ".trim().toString()] || (() => {
2473
+ }), ac = 0;
2473
2474
  function ut(e) {
2474
- const [t, n] = d.useState(sc());
2475
+ const [t, n] = d.useState(ic());
2475
2476
  return fe(() => {
2476
- n((o) => o ?? String(ic++));
2477
+ n((o) => o ?? String(ac++));
2477
2478
  }, [e]), e || (t ? `radix-${t}` : "");
2478
2479
  }
2479
- var ac = "Arrow", Wr = d.forwardRef((e, t) => {
2480
+ var lc = "Arrow", Wr = d.forwardRef((e, t) => {
2480
2481
  const { children: n, width: o = 10, height: i = 5, ...a } = e;
2481
2482
  return /* @__PURE__ */ g.jsx(
2482
2483
  ee.svg,
@@ -2491,9 +2492,9 @@ var ac = "Arrow", Wr = d.forwardRef((e, t) => {
2491
2492
  }
2492
2493
  );
2493
2494
  });
2494
- Wr.displayName = ac;
2495
- var lc = Wr;
2496
- function cc(e) {
2495
+ Wr.displayName = lc;
2496
+ var cc = Wr;
2497
+ function uc(e) {
2497
2498
  const [t, n] = d.useState(void 0);
2498
2499
  return fe(() => {
2499
2500
  if (e) {
@@ -2515,11 +2516,11 @@ function cc(e) {
2515
2516
  n(void 0);
2516
2517
  }, [e]), t;
2517
2518
  }
2518
- var Wn = "Popper", [Hr, Ur] = Xt(Wn), [uc, Gr] = Hr(Wn), Kr = (e) => {
2519
+ var $n = "Popper", [Hr, Ur] = Xt($n), [dc, Gr] = Hr($n), Kr = (e) => {
2519
2520
  const { __scopePopper: t, children: n } = e, [o, i] = d.useState(null);
2520
- return /* @__PURE__ */ g.jsx(uc, { scope: t, anchor: o, onAnchorChange: i, children: n });
2521
+ return /* @__PURE__ */ g.jsx(dc, { scope: t, anchor: o, onAnchorChange: i, children: n });
2521
2522
  };
2522
- Kr.displayName = Wn;
2523
+ Kr.displayName = $n;
2523
2524
  var Xr = "PopperAnchor", Yr = d.forwardRef(
2524
2525
  (e, t) => {
2525
2526
  const { __scopePopper: n, virtualRef: o, ...i } = e, a = Gr(Xr, n), r = d.useRef(null), s = ae(t, r);
@@ -2529,9 +2530,9 @@ var Xr = "PopperAnchor", Yr = d.forwardRef(
2529
2530
  }
2530
2531
  );
2531
2532
  Yr.displayName = Xr;
2532
- var Hn = "PopperContent", [dc, fc] = Hr(Hn), qr = d.forwardRef(
2533
+ var Wn = "PopperContent", [fc, hc] = Hr(Wn), qr = d.forwardRef(
2533
2534
  (e, t) => {
2534
- var b, R, _, j, $, V;
2535
+ var b, R, z, k, $, V;
2535
2536
  const {
2536
2537
  __scopePopper: n,
2537
2538
  side: o = "bottom",
@@ -2547,46 +2548,46 @@ var Hn = "PopperContent", [dc, fc] = Hr(Hn), qr = d.forwardRef(
2547
2548
  updatePositionStrategy: m = "optimized",
2548
2549
  onPlaced: x,
2549
2550
  ...p
2550
- } = e, v = Gr(Hn, n), [y, S] = d.useState(null), w = ae(t, (G) => S(G)), [C, A] = d.useState(null), D = cc(C), P = (D == null ? void 0 : D.width) ?? 0, F = (D == null ? void 0 : D.height) ?? 0, L = o + (a !== "center" ? "-" + a : ""), z = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, H = Array.isArray(c) ? c : [c], O = H.length > 0, B = {
2551
- padding: z,
2552
- boundary: H.filter(pc),
2551
+ } = e, v = Gr(Wn, n), [y, S] = d.useState(null), w = ae(t, (G) => S(G)), [C, A] = d.useState(null), D = uc(C), P = (D == null ? void 0 : D.width) ?? 0, F = (D == null ? void 0 : D.height) ?? 0, L = o + (a !== "center" ? "-" + a : ""), _ = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, H = Array.isArray(c) ? c : [c], O = H.length > 0, B = {
2552
+ padding: _,
2553
+ boundary: H.filter(mc),
2553
2554
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
2554
2555
  altBoundary: O
2555
- }, { refs: X, floatingStyles: K, placement: U, isPositioned: q, middlewareData: J } = fa({
2556
+ }, { refs: X, floatingStyles: K, placement: U, isPositioned: q, middlewareData: J } = ha({
2556
2557
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
2557
2558
  strategy: "fixed",
2558
2559
  placement: L,
2559
- whileElementsMounted: (...G) => Sa(...G, {
2560
+ whileElementsMounted: (...G) => wa(...G, {
2560
2561
  animationFrame: m === "always"
2561
2562
  }),
2562
2563
  elements: {
2563
2564
  reference: v.anchor
2564
2565
  },
2565
2566
  middleware: [
2566
- ha({ mainAxis: i + F, alignmentAxis: r }),
2567
- l && pa({
2567
+ pa({ mainAxis: i + F, alignmentAxis: r }),
2568
+ l && ma({
2568
2569
  mainAxis: !0,
2569
2570
  crossAxis: !1,
2570
- limiter: f === "partial" ? xa() : void 0,
2571
+ limiter: f === "partial" ? Sa() : void 0,
2571
2572
  ...B
2572
2573
  }),
2573
- l && ma({ ...B }),
2574
- ga({
2574
+ l && ga({ ...B }),
2575
+ va({
2575
2576
  ...B,
2576
- apply: ({ elements: G, rects: T, availableWidth: k, availableHeight: Q }) => {
2577
+ apply: ({ elements: G, rects: T, availableWidth: j, availableHeight: Q }) => {
2577
2578
  const { width: se, height: Z } = T.reference, Y = G.floating.style;
2578
- Y.setProperty("--radix-popper-available-width", `${k}px`), Y.setProperty("--radix-popper-available-height", `${Q}px`), Y.setProperty("--radix-popper-anchor-width", `${se}px`), Y.setProperty("--radix-popper-anchor-height", `${Z}px`);
2579
+ Y.setProperty("--radix-popper-available-width", `${j}px`), Y.setProperty("--radix-popper-available-height", `${Q}px`), Y.setProperty("--radix-popper-anchor-width", `${se}px`), Y.setProperty("--radix-popper-anchor-height", `${Z}px`);
2579
2580
  }
2580
2581
  }),
2581
- C && va({ element: C, padding: s }),
2582
- mc({ arrowWidth: P, arrowHeight: F }),
2583
- h && ya({ strategy: "referenceHidden", ...B })
2582
+ C && ya({ element: C, padding: s }),
2583
+ gc({ arrowWidth: P, arrowHeight: F }),
2584
+ h && xa({ strategy: "referenceHidden", ...B })
2584
2585
  ]
2585
2586
  }), [re, ye] = Qr(U), ne = qe(x);
2586
2587
  fe(() => {
2587
2588
  q && (ne == null || ne());
2588
2589
  }, [q, ne]);
2589
- const ue = (b = J.arrow) == null ? void 0 : b.x, E = (R = J.arrow) == null ? void 0 : R.y, I = ((_ = J.arrow) == null ? void 0 : _.centerOffset) !== 0, [M, N] = d.useState();
2590
+ const ue = (b = J.arrow) == null ? void 0 : b.x, E = (R = J.arrow) == null ? void 0 : R.y, I = ((z = J.arrow) == null ? void 0 : z.centerOffset) !== 0, [M, N] = d.useState();
2590
2591
  return fe(() => {
2591
2592
  y && N(window.getComputedStyle(y).zIndex);
2592
2593
  }, [y]), /* @__PURE__ */ g.jsx(
@@ -2601,7 +2602,7 @@ var Hn = "PopperContent", [dc, fc] = Hr(Hn), qr = d.forwardRef(
2601
2602
  minWidth: "max-content",
2602
2603
  zIndex: M,
2603
2604
  "--radix-popper-transform-origin": [
2604
- (j = J.transformOrigin) == null ? void 0 : j.x,
2605
+ (k = J.transformOrigin) == null ? void 0 : k.x,
2605
2606
  ($ = J.transformOrigin) == null ? void 0 : $.y
2606
2607
  ].join(" "),
2607
2608
  // hide the content if using the hide middleware and should be hidden
@@ -2614,7 +2615,7 @@ var Hn = "PopperContent", [dc, fc] = Hr(Hn), qr = d.forwardRef(
2614
2615
  },
2615
2616
  dir: e.dir,
2616
2617
  children: /* @__PURE__ */ g.jsx(
2617
- dc,
2618
+ fc,
2618
2619
  {
2619
2620
  scope: n,
2620
2621
  placedSide: re,
@@ -2643,14 +2644,14 @@ var Hn = "PopperContent", [dc, fc] = Hr(Hn), qr = d.forwardRef(
2643
2644
  );
2644
2645
  }
2645
2646
  );
2646
- qr.displayName = Hn;
2647
- var Zr = "PopperArrow", hc = {
2647
+ qr.displayName = Wn;
2648
+ var Zr = "PopperArrow", pc = {
2648
2649
  top: "bottom",
2649
2650
  right: "left",
2650
2651
  bottom: "top",
2651
2652
  left: "right"
2652
2653
  }, Jr = d.forwardRef(function(t, n) {
2653
- const { __scopePopper: o, ...i } = t, a = fc(Zr, o), r = hc[a.placedSide];
2654
+ const { __scopePopper: o, ...i } = t, a = hc(Zr, o), r = pc[a.placedSide];
2654
2655
  return (
2655
2656
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
2656
2657
  // doesn't report size as we'd expect on SVG elements.
@@ -2679,7 +2680,7 @@ var Zr = "PopperArrow", hc = {
2679
2680
  visibility: a.shouldHideArrow ? "hidden" : void 0
2680
2681
  },
2681
2682
  children: /* @__PURE__ */ g.jsx(
2682
- lc,
2683
+ cc,
2683
2684
  {
2684
2685
  ...i,
2685
2686
  ref: n,
@@ -2695,10 +2696,10 @@ var Zr = "PopperArrow", hc = {
2695
2696
  );
2696
2697
  });
2697
2698
  Jr.displayName = Zr;
2698
- function pc(e) {
2699
+ function mc(e) {
2699
2700
  return e !== null;
2700
2701
  }
2701
- var mc = (e) => ({
2702
+ var gc = (e) => ({
2702
2703
  name: "transformOrigin",
2703
2704
  options: e,
2704
2705
  fn(t) {
@@ -2712,24 +2713,24 @@ function Qr(e) {
2712
2713
  const [t, n = "center"] = e.split("-");
2713
2714
  return [t, n];
2714
2715
  }
2715
- var gc = Kr, vc = Yr, yc = qr, xc = Jr, Sc = "Portal", Un = d.forwardRef((e, t) => {
2716
+ var vc = Kr, yc = Yr, xc = qr, Sc = Jr, wc = "Portal", Hn = d.forwardRef((e, t) => {
2716
2717
  var s;
2717
2718
  const { container: n, ...o } = e, [i, a] = d.useState(!1);
2718
2719
  fe(() => a(!0), []);
2719
2720
  const r = n || i && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
2720
- return r ? da.createPortal(/* @__PURE__ */ g.jsx(ee.div, { ...o, ref: t }), r) : null;
2721
+ return r ? fa.createPortal(/* @__PURE__ */ g.jsx(ee.div, { ...o, ref: t }), r) : null;
2721
2722
  });
2722
- Un.displayName = Sc;
2723
- function wc(e, t) {
2723
+ Hn.displayName = wc;
2724
+ function bc(e, t) {
2724
2725
  return d.useReducer((n, o) => t[n][o] ?? n, e);
2725
2726
  }
2726
2727
  var Yt = (e) => {
2727
- const { present: t, children: n } = e, o = bc(t), i = typeof n == "function" ? n({ present: o.isPresent }) : d.Children.only(n), a = ae(o.ref, Pc(i));
2728
+ const { present: t, children: n } = e, o = Pc(t), i = typeof n == "function" ? n({ present: o.isPresent }) : d.Children.only(n), a = ae(o.ref, Cc(i));
2728
2729
  return typeof n == "function" || o.isPresent ? d.cloneElement(i, { ref: a }) : null;
2729
2730
  };
2730
2731
  Yt.displayName = "Presence";
2731
- function bc(e) {
2732
- const [t, n] = d.useState(), o = d.useRef(null), i = d.useRef(e), a = d.useRef("none"), r = e ? "mounted" : "unmounted", [s, l] = wc(r, {
2732
+ function Pc(e) {
2733
+ const [t, n] = d.useState(), o = d.useRef(null), i = d.useRef(e), a = d.useRef("none"), r = e ? "mounted" : "unmounted", [s, l] = bc(r, {
2733
2734
  mounted: {
2734
2735
  UNMOUNT: "unmounted",
2735
2736
  ANIMATION_OUT: "unmountSuspended"
@@ -2780,19 +2781,19 @@ function bc(e) {
2780
2781
  function It(e) {
2781
2782
  return (e == null ? void 0 : e.animationName) || "none";
2782
2783
  }
2783
- function Pc(e) {
2784
+ function Cc(e) {
2784
2785
  var o, i;
2785
2786
  let t = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning;
2786
2787
  return n ? e.ref : (t = (i = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : i.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
2787
2788
  }
2788
- var Cc = function(e) {
2789
+ var Ec = function(e) {
2789
2790
  if (typeof document > "u")
2790
2791
  return null;
2791
2792
  var t = Array.isArray(e) ? e[0] : e;
2792
2793
  return t.ownerDocument.body;
2793
- }, nt = /* @__PURE__ */ new WeakMap(), Nt = /* @__PURE__ */ new WeakMap(), Mt = {}, xn = 0, es = function(e) {
2794
+ }, nt = /* @__PURE__ */ new WeakMap(), Nt = /* @__PURE__ */ new WeakMap(), Mt = {}, yn = 0, es = function(e) {
2794
2795
  return e && (e.host || es(e.parentNode));
2795
- }, Ec = function(e, t) {
2796
+ }, Rc = function(e, t) {
2796
2797
  return t.map(function(n) {
2797
2798
  if (e.contains(n))
2798
2799
  return n;
@@ -2801,8 +2802,8 @@ var Cc = function(e) {
2801
2802
  }).filter(function(n) {
2802
2803
  return !!n;
2803
2804
  });
2804
- }, Rc = function(e, t, n, o) {
2805
- var i = Ec(t, Array.isArray(e) ? e : [e]);
2805
+ }, Tc = function(e, t, n, o) {
2806
+ var i = Rc(t, Array.isArray(e) ? e : [e]);
2806
2807
  Mt[n] || (Mt[n] = /* @__PURE__ */ new WeakMap());
2807
2808
  var a = Mt[n], r = [], s = /* @__PURE__ */ new Set(), l = new Set(i), c = function(f) {
2808
2809
  !f || s.has(f) || (s.add(f), c(f.parentNode));
@@ -2820,16 +2821,16 @@ var Cc = function(e) {
2820
2821
  }
2821
2822
  });
2822
2823
  };
2823
- return u(t), s.clear(), xn++, function() {
2824
+ return u(t), s.clear(), yn++, function() {
2824
2825
  r.forEach(function(f) {
2825
2826
  var h = nt.get(f) - 1, m = a.get(f) - 1;
2826
2827
  nt.set(f, h), a.set(f, m), h || (Nt.has(f) || f.removeAttribute(o), Nt.delete(f)), m || f.removeAttribute(n);
2827
- }), xn--, xn || (nt = /* @__PURE__ */ new WeakMap(), nt = /* @__PURE__ */ new WeakMap(), Nt = /* @__PURE__ */ new WeakMap(), Mt = {});
2828
+ }), yn--, yn || (nt = /* @__PURE__ */ new WeakMap(), nt = /* @__PURE__ */ new WeakMap(), Nt = /* @__PURE__ */ new WeakMap(), Mt = {});
2828
2829
  };
2829
2830
  }, ts = function(e, t, n) {
2830
2831
  n === void 0 && (n = "data-aria-hidden");
2831
- var o = Array.from(Array.isArray(e) ? e : [e]), i = Cc(e);
2832
- return i ? (o.push.apply(o, Array.from(i.querySelectorAll("[aria-live], script"))), Rc(o, i, n, "aria-hidden")) : function() {
2832
+ var o = Array.from(Array.isArray(e) ? e : [e]), i = Ec(e);
2833
+ return i ? (o.push.apply(o, Array.from(i.querySelectorAll("[aria-live], script"))), Tc(o, i, n, "aria-hidden")) : function() {
2833
2834
  return null;
2834
2835
  };
2835
2836
  }, Ae = function() {
@@ -2849,16 +2850,16 @@ function ns(e, t) {
2849
2850
  t.indexOf(o[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[i]) && (n[o[i]] = e[o[i]]);
2850
2851
  return n;
2851
2852
  }
2852
- function Tc(e, t, n) {
2853
+ function Ac(e, t, n) {
2853
2854
  if (n || arguments.length === 2) for (var o = 0, i = t.length, a; o < i; o++)
2854
2855
  (a || !(o in t)) && (a || (a = Array.prototype.slice.call(t, 0, o)), a[o] = t[o]);
2855
2856
  return e.concat(a || Array.prototype.slice.call(t));
2856
2857
  }
2857
- var _t = "right-scroll-bar-position", zt = "width-before-scroll-bar", Ac = "with-scroll-bars-hidden", Dc = "--removed-body-scroll-bar-size";
2858
- function Sn(e, t) {
2858
+ var zt = "right-scroll-bar-position", _t = "width-before-scroll-bar", Dc = "with-scroll-bars-hidden", Ic = "--removed-body-scroll-bar-size";
2859
+ function xn(e, t) {
2859
2860
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
2860
2861
  }
2861
- function Ic(e, t) {
2862
+ function Nc(e, t) {
2862
2863
  var n = Ve(function() {
2863
2864
  return {
2864
2865
  // value
@@ -2879,31 +2880,31 @@ function Ic(e, t) {
2879
2880
  })[0];
2880
2881
  return n.callback = t, n.facade;
2881
2882
  }
2882
- var Nc = typeof window < "u" ? d.useLayoutEffect : d.useEffect, Yo = /* @__PURE__ */ new WeakMap();
2883
- function Mc(e, t) {
2884
- var n = Ic(null, function(o) {
2883
+ var Mc = typeof window < "u" ? d.useLayoutEffect : d.useEffect, Yo = /* @__PURE__ */ new WeakMap();
2884
+ function Lc(e, t) {
2885
+ var n = Nc(null, function(o) {
2885
2886
  return e.forEach(function(i) {
2886
- return Sn(i, o);
2887
+ return xn(i, o);
2887
2888
  });
2888
2889
  });
2889
- return Nc(function() {
2890
+ return Mc(function() {
2890
2891
  var o = Yo.get(n);
2891
2892
  if (o) {
2892
2893
  var i = new Set(o), a = new Set(e), r = n.current;
2893
2894
  i.forEach(function(s) {
2894
- a.has(s) || Sn(s, null);
2895
+ a.has(s) || xn(s, null);
2895
2896
  }), a.forEach(function(s) {
2896
- i.has(s) || Sn(s, r);
2897
+ i.has(s) || xn(s, r);
2897
2898
  });
2898
2899
  }
2899
2900
  Yo.set(n, e);
2900
2901
  }, [e]), n;
2901
2902
  }
2902
- function Lc(e) {
2903
+ function jc(e) {
2903
2904
  return e;
2904
2905
  }
2905
2906
  function kc(e, t) {
2906
- t === void 0 && (t = Lc);
2907
+ t === void 0 && (t = jc);
2907
2908
  var n = [], o = !1, i = {
2908
2909
  read: function() {
2909
2910
  if (o)
@@ -2957,7 +2958,7 @@ function kc(e, t) {
2957
2958
  };
2958
2959
  return i;
2959
2960
  }
2960
- function jc(e) {
2961
+ function Oc(e) {
2961
2962
  e === void 0 && (e = {});
2962
2963
  var t = kc(null);
2963
2964
  return t.options = Ae({ async: !0, ssr: !1 }, e), t;
@@ -2972,16 +2973,16 @@ var os = function(e) {
2972
2973
  return d.createElement(o, Ae({}, n));
2973
2974
  };
2974
2975
  os.isSideCarExport = !0;
2975
- function Oc(e, t) {
2976
+ function zc(e, t) {
2976
2977
  return e.useMedium(t), os;
2977
2978
  }
2978
- var rs = jc(), wn = function() {
2979
+ var rs = Oc(), Sn = function() {
2979
2980
  }, qt = d.forwardRef(function(e, t) {
2980
2981
  var n = d.useRef(null), o = d.useState({
2981
- onScrollCapture: wn,
2982
- onWheelCapture: wn,
2983
- onTouchMoveCapture: wn
2984
- }), i = o[0], a = o[1], r = e.forwardProps, s = e.children, l = e.className, c = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, m = e.noRelative, x = e.noIsolation, p = e.inert, v = e.allowPinchZoom, y = e.as, S = y === void 0 ? "div" : y, w = e.gapMode, C = ns(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), A = h, D = Mc([n, t]), P = Ae(Ae({}, C), i);
2982
+ onScrollCapture: Sn,
2983
+ onWheelCapture: Sn,
2984
+ onTouchMoveCapture: Sn
2985
+ }), i = o[0], a = o[1], r = e.forwardProps, s = e.children, l = e.className, c = e.removeScrollBar, u = e.enabled, f = e.shards, h = e.sideCar, m = e.noRelative, x = e.noIsolation, p = e.inert, v = e.allowPinchZoom, y = e.as, S = y === void 0 ? "div" : y, w = e.gapMode, C = ns(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), A = h, D = Lc([n, t]), P = Ae(Ae({}, C), i);
2985
2986
  return d.createElement(
2986
2987
  d.Fragment,
2987
2988
  null,
@@ -2995,14 +2996,14 @@ qt.defaultProps = {
2995
2996
  inert: !1
2996
2997
  };
2997
2998
  qt.classNames = {
2998
- fullWidth: zt,
2999
- zeroRight: _t
2999
+ fullWidth: _t,
3000
+ zeroRight: zt
3000
3001
  };
3001
3002
  var _c = function() {
3002
3003
  if (typeof __webpack_nonce__ < "u")
3003
3004
  return __webpack_nonce__;
3004
3005
  };
3005
- function zc() {
3006
+ function Bc() {
3006
3007
  if (!document)
3007
3008
  return null;
3008
3009
  var e = document.createElement("style");
@@ -3010,25 +3011,25 @@ function zc() {
3010
3011
  var t = _c();
3011
3012
  return t && e.setAttribute("nonce", t), e;
3012
3013
  }
3013
- function Bc(e, t) {
3014
+ function Vc(e, t) {
3014
3015
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
3015
3016
  }
3016
- function Vc(e) {
3017
+ function Fc(e) {
3017
3018
  var t = document.head || document.getElementsByTagName("head")[0];
3018
3019
  t.appendChild(e);
3019
3020
  }
3020
- var Fc = function() {
3021
+ var $c = function() {
3021
3022
  var e = 0, t = null;
3022
3023
  return {
3023
3024
  add: function(n) {
3024
- e == 0 && (t = zc()) && (Bc(t, n), Vc(t)), e++;
3025
+ e == 0 && (t = Bc()) && (Vc(t, n), Fc(t)), e++;
3025
3026
  },
3026
3027
  remove: function() {
3027
3028
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
3028
3029
  }
3029
3030
  };
3030
- }, $c = function() {
3031
- var e = Fc();
3031
+ }, Wc = function() {
3032
+ var e = $c();
3032
3033
  return function(t, n) {
3033
3034
  d.useEffect(function() {
3034
3035
  return e.add(t), function() {
@@ -3037,35 +3038,35 @@ var Fc = function() {
3037
3038
  }, [t && n]);
3038
3039
  };
3039
3040
  }, ss = function() {
3040
- var e = $c(), t = function(n) {
3041
+ var e = Wc(), t = function(n) {
3041
3042
  var o = n.styles, i = n.dynamic;
3042
3043
  return e(o, i), null;
3043
3044
  };
3044
3045
  return t;
3045
- }, Wc = {
3046
+ }, Hc = {
3046
3047
  left: 0,
3047
3048
  top: 0,
3048
3049
  right: 0,
3049
3050
  gap: 0
3050
- }, bn = function(e) {
3051
+ }, wn = function(e) {
3051
3052
  return parseInt(e || "", 10) || 0;
3052
- }, Hc = function(e) {
3053
- var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], o = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
3054
- return [bn(n), bn(o), bn(i)];
3055
3053
  }, Uc = function(e) {
3054
+ var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], o = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
3055
+ return [wn(n), wn(o), wn(i)];
3056
+ }, Gc = function(e) {
3056
3057
  if (e === void 0 && (e = "margin"), typeof window > "u")
3057
- return Wc;
3058
- var t = Hc(e), n = document.documentElement.clientWidth, o = window.innerWidth;
3058
+ return Hc;
3059
+ var t = Uc(e), n = document.documentElement.clientWidth, o = window.innerWidth;
3059
3060
  return {
3060
3061
  left: t[0],
3061
3062
  top: t[1],
3062
3063
  right: t[2],
3063
3064
  gap: Math.max(0, o - n + t[2] - t[0])
3064
3065
  };
3065
- }, Gc = ss(), dt = "data-scroll-locked", Kc = function(e, t, n, o) {
3066
+ }, Kc = ss(), dt = "data-scroll-locked", Xc = function(e, t, n, o) {
3066
3067
  var i = e.left, a = e.top, r = e.right, s = e.gap;
3067
3068
  return n === void 0 && (n = "margin"), `
3068
- .`.concat(Ac, ` {
3069
+ .`.concat(Dc, ` {
3069
3070
  overflow: hidden `).concat(o, `;
3070
3071
  padding-right: `).concat(s, "px ").concat(o, `;
3071
3072
  }
@@ -3086,56 +3087,56 @@ var Fc = function() {
3086
3087
  ].filter(Boolean).join(""), `
3087
3088
  }
3088
3089
 
3089
- .`).concat(_t, ` {
3090
+ .`).concat(zt, ` {
3090
3091
  right: `).concat(s, "px ").concat(o, `;
3091
3092
  }
3092
3093
 
3093
- .`).concat(zt, ` {
3094
+ .`).concat(_t, ` {
3094
3095
  margin-right: `).concat(s, "px ").concat(o, `;
3095
3096
  }
3096
3097
 
3097
- .`).concat(_t, " .").concat(_t, ` {
3098
+ .`).concat(zt, " .").concat(zt, ` {
3098
3099
  right: 0 `).concat(o, `;
3099
3100
  }
3100
3101
 
3101
- .`).concat(zt, " .").concat(zt, ` {
3102
+ .`).concat(_t, " .").concat(_t, ` {
3102
3103
  margin-right: 0 `).concat(o, `;
3103
3104
  }
3104
3105
 
3105
3106
  body[`).concat(dt, `] {
3106
- `).concat(Dc, ": ").concat(s, `px;
3107
+ `).concat(Ic, ": ").concat(s, `px;
3107
3108
  }
3108
3109
  `);
3109
3110
  }, qo = function() {
3110
3111
  var e = parseInt(document.body.getAttribute(dt) || "0", 10);
3111
3112
  return isFinite(e) ? e : 0;
3112
- }, Xc = function() {
3113
+ }, Yc = function() {
3113
3114
  d.useEffect(function() {
3114
3115
  return document.body.setAttribute(dt, (qo() + 1).toString()), function() {
3115
3116
  var e = qo() - 1;
3116
3117
  e <= 0 ? document.body.removeAttribute(dt) : document.body.setAttribute(dt, e.toString());
3117
3118
  };
3118
3119
  }, []);
3119
- }, Yc = function(e) {
3120
+ }, qc = function(e) {
3120
3121
  var t = e.noRelative, n = e.noImportant, o = e.gapMode, i = o === void 0 ? "margin" : o;
3121
- Xc();
3122
+ Yc();
3122
3123
  var a = d.useMemo(function() {
3123
- return Uc(i);
3124
+ return Gc(i);
3124
3125
  }, [i]);
3125
- return d.createElement(Gc, { styles: Kc(a, !t, i, n ? "" : "!important") });
3126
- }, Mn = !1;
3126
+ return d.createElement(Kc, { styles: Xc(a, !t, i, n ? "" : "!important") });
3127
+ }, Nn = !1;
3127
3128
  if (typeof window < "u")
3128
3129
  try {
3129
3130
  var Lt = Object.defineProperty({}, "passive", {
3130
3131
  get: function() {
3131
- return Mn = !0, !0;
3132
+ return Nn = !0, !0;
3132
3133
  }
3133
3134
  });
3134
3135
  window.addEventListener("test", Lt, Lt), window.removeEventListener("test", Lt, Lt);
3135
3136
  } catch {
3136
- Mn = !1;
3137
+ Nn = !1;
3137
3138
  }
3138
- var ot = Mn ? { passive: !1 } : !1, qc = function(e) {
3139
+ var ot = Nn ? { passive: !1 } : !1, Zc = function(e) {
3139
3140
  return e.tagName === "TEXTAREA";
3140
3141
  }, is = function(e, t) {
3141
3142
  if (!(e instanceof Element))
@@ -3144,11 +3145,11 @@ var ot = Mn ? { passive: !1 } : !1, qc = function(e) {
3144
3145
  return (
3145
3146
  // not-not-scrollable
3146
3147
  n[t] !== "hidden" && // contains scroll inside self
3147
- !(n.overflowY === n.overflowX && !qc(e) && n[t] === "visible")
3148
+ !(n.overflowY === n.overflowX && !Zc(e) && n[t] === "visible")
3148
3149
  );
3149
- }, Zc = function(e) {
3150
- return is(e, "overflowY");
3151
3150
  }, Jc = function(e) {
3151
+ return is(e, "overflowY");
3152
+ }, Qc = function(e) {
3152
3153
  return is(e, "overflowX");
3153
3154
  }, Zo = function(e, t) {
3154
3155
  var n = t.ownerDocument, o = t;
@@ -3163,14 +3164,14 @@ var ot = Mn ? { passive: !1 } : !1, qc = function(e) {
3163
3164
  o = o.parentNode;
3164
3165
  } while (o && o !== n.body);
3165
3166
  return !1;
3166
- }, Qc = function(e) {
3167
+ }, eu = function(e) {
3167
3168
  var t = e.scrollTop, n = e.scrollHeight, o = e.clientHeight;
3168
3169
  return [
3169
3170
  t,
3170
3171
  n,
3171
3172
  o
3172
3173
  ];
3173
- }, eu = function(e) {
3174
+ }, tu = function(e) {
3174
3175
  var t = e.scrollLeft, n = e.scrollWidth, o = e.clientWidth;
3175
3176
  return [
3176
3177
  t,
@@ -3178,13 +3179,13 @@ var ot = Mn ? { passive: !1 } : !1, qc = function(e) {
3178
3179
  o
3179
3180
  ];
3180
3181
  }, as = function(e, t) {
3181
- return e === "v" ? Zc(t) : Jc(t);
3182
+ return e === "v" ? Jc(t) : Qc(t);
3182
3183
  }, ls = function(e, t) {
3183
- return e === "v" ? Qc(t) : eu(t);
3184
- }, tu = function(e, t) {
3184
+ return e === "v" ? eu(t) : tu(t);
3185
+ }, nu = function(e, t) {
3185
3186
  return e === "h" && t === "rtl" ? -1 : 1;
3186
- }, nu = function(e, t, n, o, i) {
3187
- var a = tu(e, window.getComputedStyle(t).direction), r = a * o, s = n.target, l = t.contains(s), c = !1, u = r > 0, f = 0, h = 0;
3187
+ }, ou = function(e, t, n, o, i) {
3188
+ var a = nu(e, window.getComputedStyle(t).direction), r = a * o, s = n.target, l = t.contains(s), c = !1, u = r > 0, f = 0, h = 0;
3188
3189
  do {
3189
3190
  if (!s)
3190
3191
  break;
@@ -3198,28 +3199,28 @@ var ot = Mn ? { passive: !1 } : !1, qc = function(e) {
3198
3199
  l && (t.contains(s) || t === s)
3199
3200
  );
3200
3201
  return (u && Math.abs(f) < 1 || !u && Math.abs(h) < 1) && (c = !0), c;
3201
- }, kt = function(e) {
3202
+ }, jt = function(e) {
3202
3203
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
3203
3204
  }, Jo = function(e) {
3204
3205
  return [e.deltaX, e.deltaY];
3205
3206
  }, Qo = function(e) {
3206
3207
  return e && "current" in e ? e.current : e;
3207
- }, ou = function(e, t) {
3208
+ }, ru = function(e, t) {
3208
3209
  return e[0] === t[0] && e[1] === t[1];
3209
- }, ru = function(e) {
3210
+ }, su = function(e) {
3210
3211
  return `
3211
3212
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
3212
3213
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
3213
3214
  `);
3214
- }, su = 0, rt = [];
3215
- function iu(e) {
3216
- var t = d.useRef([]), n = d.useRef([0, 0]), o = d.useRef(), i = d.useState(su++)[0], a = d.useState(ss)[0], r = d.useRef(e);
3215
+ }, iu = 0, rt = [];
3216
+ function au(e) {
3217
+ var t = d.useRef([]), n = d.useRef([0, 0]), o = d.useRef(), i = d.useState(iu++)[0], a = d.useState(ss)[0], r = d.useRef(e);
3217
3218
  d.useEffect(function() {
3218
3219
  r.current = e;
3219
3220
  }, [e]), d.useEffect(function() {
3220
3221
  if (e.inert) {
3221
3222
  document.body.classList.add("block-interactivity-".concat(i));
3222
- var p = Tc([e.lockRef.current], (e.shards || []).map(Qo), !0).filter(Boolean);
3223
+ var p = Ac([e.lockRef.current], (e.shards || []).map(Qo), !0).filter(Boolean);
3223
3224
  return p.forEach(function(v) {
3224
3225
  return v.classList.add("allow-interactivity-".concat(i));
3225
3226
  }), function() {
@@ -3232,7 +3233,7 @@ function iu(e) {
3232
3233
  var s = d.useCallback(function(p, v) {
3233
3234
  if ("touches" in p && p.touches.length === 2 || p.type === "wheel" && p.ctrlKey)
3234
3235
  return !r.current.allowPinchZoom;
3235
- var y = kt(p), S = n.current, w = "deltaX" in p ? p.deltaX : S[0] - y[0], C = "deltaY" in p ? p.deltaY : S[1] - y[1], A, D = p.target, P = Math.abs(w) > Math.abs(C) ? "h" : "v";
3236
+ var y = jt(p), S = n.current, w = "deltaX" in p ? p.deltaX : S[0] - y[0], C = "deltaY" in p ? p.deltaY : S[1] - y[1], A, D = p.target, P = Math.abs(w) > Math.abs(C) ? "h" : "v";
3236
3237
  if ("touches" in p && P === "h" && D.type === "range")
3237
3238
  return !1;
3238
3239
  var F = Zo(P, D);
@@ -3243,12 +3244,12 @@ function iu(e) {
3243
3244
  if (!o.current && "changedTouches" in p && (w || C) && (o.current = A), !A)
3244
3245
  return !0;
3245
3246
  var L = o.current || A;
3246
- return nu(L, v, p, L === "h" ? w : C);
3247
+ return ou(L, v, p, L === "h" ? w : C);
3247
3248
  }, []), l = d.useCallback(function(p) {
3248
3249
  var v = p;
3249
3250
  if (!(!rt.length || rt[rt.length - 1] !== a)) {
3250
- var y = "deltaY" in v ? Jo(v) : kt(v), S = t.current.filter(function(A) {
3251
- return A.name === v.type && (A.target === v.target || v.target === A.shadowParent) && ou(A.delta, y);
3251
+ var y = "deltaY" in v ? Jo(v) : jt(v), S = t.current.filter(function(A) {
3252
+ return A.name === v.type && (A.target === v.target || v.target === A.shadowParent) && ru(A.delta, y);
3252
3253
  })[0];
3253
3254
  if (S && S.should) {
3254
3255
  v.cancelable && v.preventDefault();
@@ -3262,18 +3263,18 @@ function iu(e) {
3262
3263
  }
3263
3264
  }
3264
3265
  }, []), c = d.useCallback(function(p, v, y, S) {
3265
- var w = { name: p, delta: v, target: y, should: S, shadowParent: au(y) };
3266
+ var w = { name: p, delta: v, target: y, should: S, shadowParent: lu(y) };
3266
3267
  t.current.push(w), setTimeout(function() {
3267
3268
  t.current = t.current.filter(function(C) {
3268
3269
  return C !== w;
3269
3270
  });
3270
3271
  }, 1);
3271
3272
  }, []), u = d.useCallback(function(p) {
3272
- n.current = kt(p), o.current = void 0;
3273
+ n.current = jt(p), o.current = void 0;
3273
3274
  }, []), f = d.useCallback(function(p) {
3274
3275
  c(p.type, Jo(p), p.target, s(p, e.lockRef.current));
3275
3276
  }, []), h = d.useCallback(function(p) {
3276
- c(p.type, kt(p), p.target, s(p, e.lockRef.current));
3277
+ c(p.type, jt(p), p.target, s(p, e.lockRef.current));
3277
3278
  }, []);
3278
3279
  d.useEffect(function() {
3279
3280
  return rt.push(a), e.setCallbacks({
@@ -3290,32 +3291,32 @@ function iu(e) {
3290
3291
  return d.createElement(
3291
3292
  d.Fragment,
3292
3293
  null,
3293
- x ? d.createElement(a, { styles: ru(i) }) : null,
3294
- m ? d.createElement(Yc, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
3294
+ x ? d.createElement(a, { styles: su(i) }) : null,
3295
+ m ? d.createElement(qc, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
3295
3296
  );
3296
3297
  }
3297
- function au(e) {
3298
+ function lu(e) {
3298
3299
  for (var t = null; e !== null; )
3299
3300
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
3300
3301
  return t;
3301
3302
  }
3302
- const lu = Oc(rs, iu);
3303
- var Gn = d.forwardRef(function(e, t) {
3304
- return d.createElement(qt, Ae({}, e, { ref: t, sideCar: lu }));
3303
+ const cu = zc(rs, au);
3304
+ var Un = d.forwardRef(function(e, t) {
3305
+ return d.createElement(qt, Ae({}, e, { ref: t, sideCar: cu }));
3305
3306
  });
3306
- Gn.classNames = qt.classNames;
3307
- const cu = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), uu = (e) => e.replace(
3307
+ Un.classNames = qt.classNames;
3308
+ const uu = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), du = (e) => e.replace(
3308
3309
  /^([A-Z])|[\s-_]+(\w)/g,
3309
3310
  (t, n, o) => o ? o.toUpperCase() : n.toLowerCase()
3310
3311
  ), er = (e) => {
3311
- const t = uu(e);
3312
+ const t = du(e);
3312
3313
  return t.charAt(0).toUpperCase() + t.slice(1);
3313
- }, cs = (...e) => e.filter((t, n, o) => !!t && t.trim() !== "" && o.indexOf(t) === n).join(" ").trim(), du = (e) => {
3314
+ }, cs = (...e) => e.filter((t, n, o) => !!t && t.trim() !== "" && o.indexOf(t) === n).join(" ").trim(), fu = (e) => {
3314
3315
  for (const t in e)
3315
3316
  if (t.startsWith("aria-") || t === "role" || t === "title")
3316
3317
  return !0;
3317
3318
  };
3318
- var fu = {
3319
+ var hu = {
3319
3320
  xmlns: "http://www.w3.org/2000/svg",
3320
3321
  width: 24,
3321
3322
  height: 24,
@@ -3326,7 +3327,7 @@ var fu = {
3326
3327
  strokeLinecap: "round",
3327
3328
  strokeLinejoin: "round"
3328
3329
  };
3329
- const hu = Kt(
3330
+ const pu = Kt(
3330
3331
  ({
3331
3332
  color: e = "currentColor",
3332
3333
  size: t = 24,
@@ -3336,32 +3337,32 @@ const hu = Kt(
3336
3337
  children: a,
3337
3338
  iconNode: r,
3338
3339
  ...s
3339
- }, l) => ke(
3340
+ }, l) => je(
3340
3341
  "svg",
3341
3342
  {
3342
3343
  ref: l,
3343
- ...fu,
3344
+ ...hu,
3344
3345
  width: t,
3345
3346
  height: t,
3346
3347
  stroke: e,
3347
3348
  strokeWidth: o ? Number(n) * 24 / Number(t) : n,
3348
3349
  className: cs("lucide", i),
3349
- ...!a && !du(s) && { "aria-hidden": "true" },
3350
+ ...!a && !fu(s) && { "aria-hidden": "true" },
3350
3351
  ...s
3351
3352
  },
3352
3353
  [
3353
- ...r.map(([c, u]) => ke(c, u)),
3354
+ ...r.map(([c, u]) => je(c, u)),
3354
3355
  ...Array.isArray(a) ? a : [a]
3355
3356
  ]
3356
3357
  )
3357
3358
  );
3358
- const Zt = (e, t) => {
3359
+ const Gn = (e, t) => {
3359
3360
  const n = Kt(
3360
- ({ className: o, ...i }, a) => ke(hu, {
3361
+ ({ className: o, ...i }, a) => je(pu, {
3361
3362
  ref: a,
3362
3363
  iconNode: t,
3363
3364
  className: cs(
3364
- `lucide-${cu(er(e))}`,
3365
+ `lucide-${uu(er(e))}`,
3365
3366
  `lucide-${e}`,
3366
3367
  o
3367
3368
  ),
@@ -3370,14 +3371,10 @@ const Zt = (e, t) => {
3370
3371
  );
3371
3372
  return n.displayName = er(e), n;
3372
3373
  };
3373
- const pu = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], mu = Zt("check", pu);
3374
- const gu = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], us = Zt("chevron-down", gu);
3375
- const vu = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], yu = Zt("chevron-up", vu);
3376
- const xu = [
3377
- ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
3378
- ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
3379
- ], Su = Zt("x", xu), Jt = Mi(null);
3380
- Jt.displayName = "PanelGroupContext";
3374
+ const mu = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], gu = Gn("check", mu);
3375
+ const vu = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], us = Gn("chevron-down", vu);
3376
+ const yu = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], xu = Gn("chevron-up", yu), Zt = Mi(null);
3377
+ Zt.displayName = "PanelGroupContext";
3381
3378
  const ie = {
3382
3379
  group: "data-panel-group",
3383
3380
  groupDirection: "data-panel-group-direction",
@@ -3391,11 +3388,11 @@ const ie = {
3391
3388
  resizeHandleEnabled: "data-panel-resize-handle-enabled",
3392
3389
  resizeHandleId: "data-panel-resize-handle-id",
3393
3390
  resizeHandleState: "data-resize-handle-state"
3394
- }, Kn = 10, Ye = Li, tr = d.useId, wu = typeof tr == "function" ? tr : () => null;
3395
- let bu = 0;
3391
+ }, Kn = 10, Ye = Li, tr = d.useId, Su = typeof tr == "function" ? tr : () => null;
3392
+ let wu = 0;
3396
3393
  function Xn(e = null) {
3397
- const t = wu(), n = ve(e || t || null);
3398
- return n.current === null && (n.current = "" + bu++), e ?? n.current;
3394
+ const t = Su(), n = ve(e || t || null);
3395
+ return n.current === null && (n.current = "" + wu++), e ?? n.current;
3399
3396
  }
3400
3397
  function ds({
3401
3398
  children: e,
@@ -3415,7 +3412,7 @@ function ds({
3415
3412
  tagName: x = "div",
3416
3413
  ...p
3417
3414
  }) {
3418
- const v = Vt(Jt);
3415
+ const v = Vt(Zt);
3419
3416
  if (v === null)
3420
3417
  throw Error("Panel components must be rendered within a PanelGroup container");
3421
3418
  const {
@@ -3428,7 +3425,7 @@ function ds({
3428
3425
  reevaluatePanelConstraints: P,
3429
3426
  registerPanel: F,
3430
3427
  resizePanel: L,
3431
- unregisterPanel: z
3428
+ unregisterPanel: _
3432
3429
  } = v, H = Xn(r), O = ve({
3433
3430
  callbacks: {
3434
3431
  onCollapse: c,
@@ -3459,9 +3456,9 @@ function ds({
3459
3456
  }), Ye(() => {
3460
3457
  const X = O.current;
3461
3458
  return F(X), () => {
3462
- z(X);
3459
+ _(X);
3463
3460
  };
3464
- }, [h, H, F, z]), dr(a, () => ({
3461
+ }, [h, H, F, _]), dr(a, () => ({
3465
3462
  collapse: () => {
3466
3463
  y(O.current);
3467
3464
  },
@@ -3485,7 +3482,7 @@ function ds({
3485
3482
  }
3486
3483
  }), [y, S, w, D, H, L]);
3487
3484
  const B = C(O.current, i);
3488
- return ke(x, {
3485
+ return je(x, {
3489
3486
  ...p,
3490
3487
  children: e,
3491
3488
  className: t,
@@ -3502,14 +3499,14 @@ function ds({
3502
3499
  [ie.panelSize]: parseFloat("" + B.flexGrow).toFixed(1)
3503
3500
  });
3504
3501
  }
3505
- const Pu = Kt((e, t) => ke(ds, {
3502
+ const bu = Kt((e, t) => je(ds, {
3506
3503
  ...e,
3507
3504
  forwardedRef: t
3508
3505
  }));
3509
3506
  ds.displayName = "Panel";
3510
- Pu.displayName = "forwardRef(Panel)";
3511
- let Ln = null, Bt = -1, ze = null;
3512
- function Cu(e, t) {
3507
+ bu.displayName = "forwardRef(Panel)";
3508
+ let Mn = null, Bt = -1, _e = null;
3509
+ function Pu(e, t) {
3513
3510
  if (t) {
3514
3511
  const n = (t & gs) !== 0, o = (t & vs) !== 0, i = (t & ys) !== 0, a = (t & xs) !== 0;
3515
3512
  if (n)
@@ -3530,18 +3527,18 @@ function Cu(e, t) {
3530
3527
  return "ns-resize";
3531
3528
  }
3532
3529
  }
3533
- function Eu() {
3534
- ze !== null && (document.head.removeChild(ze), Ln = null, ze = null, Bt = -1);
3530
+ function Cu() {
3531
+ _e !== null && (document.head.removeChild(_e), Mn = null, _e = null, Bt = -1);
3535
3532
  }
3536
- function Pn(e, t) {
3533
+ function bn(e, t) {
3537
3534
  var n, o;
3538
- const i = Cu(e, t);
3539
- if (Ln !== i) {
3540
- if (Ln = i, ze === null && (ze = document.createElement("style"), document.head.appendChild(ze)), Bt >= 0) {
3535
+ const i = Pu(e, t);
3536
+ if (Mn !== i) {
3537
+ if (Mn = i, _e === null && (_e = document.createElement("style"), document.head.appendChild(_e)), Bt >= 0) {
3541
3538
  var a;
3542
- (a = ze.sheet) === null || a === void 0 || a.removeRule(Bt);
3539
+ (a = _e.sheet) === null || a === void 0 || a.removeRule(Bt);
3543
3540
  }
3544
- Bt = (n = (o = ze.sheet) === null || o === void 0 ? void 0 : o.insertRule(`*{cursor: ${i} !important;}`)) !== null && n !== void 0 ? n : -1;
3541
+ Bt = (n = (o = _e.sheet) === null || o === void 0 ? void 0 : o.insertRule(`*{cursor: ${i} !important;}`)) !== null && n !== void 0 ? n : -1;
3545
3542
  }
3546
3543
  }
3547
3544
  function fs(e) {
@@ -3553,7 +3550,7 @@ function hs(e) {
3553
3550
  function ps(e) {
3554
3551
  return e.type.startsWith("mouse");
3555
3552
  }
3556
- function Qt(e) {
3553
+ function Jt(e) {
3557
3554
  if (hs(e)) {
3558
3555
  if (e.isPrimary)
3559
3556
  return {
@@ -3570,14 +3567,14 @@ function Qt(e) {
3570
3567
  y: 1 / 0
3571
3568
  };
3572
3569
  }
3573
- function Ru() {
3570
+ function Eu() {
3574
3571
  if (typeof matchMedia == "function")
3575
3572
  return matchMedia("(pointer:coarse)").matches ? "coarse" : "fine";
3576
3573
  }
3577
- function Tu(e, t, n) {
3574
+ function Ru(e, t, n) {
3578
3575
  return e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
3579
3576
  }
3580
- function Au(e, t) {
3577
+ function Tu(e, t) {
3581
3578
  if (e === t) throw new Error("Cannot compare node with itself");
3582
3579
  const n = {
3583
3580
  a: rr(e),
@@ -3605,21 +3602,21 @@ function Au(e, t) {
3605
3602
  }
3606
3603
  return Math.sign(i.a - i.b);
3607
3604
  }
3608
- const Du = /\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;
3609
- function Iu(e) {
3605
+ const Au = /\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;
3606
+ function Du(e) {
3610
3607
  var t;
3611
3608
  const n = getComputedStyle((t = ms(e)) !== null && t !== void 0 ? t : e).display;
3612
3609
  return n === "flex" || n === "inline-flex";
3613
3610
  }
3614
- function Nu(e) {
3611
+ function Iu(e) {
3615
3612
  const t = getComputedStyle(e);
3616
- return !!(t.position === "fixed" || t.zIndex !== "auto" && (t.position !== "static" || Iu(e)) || +t.opacity < 1 || "transform" in t && t.transform !== "none" || "webkitTransform" in t && t.webkitTransform !== "none" || "mixBlendMode" in t && t.mixBlendMode !== "normal" || "filter" in t && t.filter !== "none" || "webkitFilter" in t && t.webkitFilter !== "none" || "isolation" in t && t.isolation === "isolate" || Du.test(t.willChange) || t.webkitOverflowScrolling === "touch");
3613
+ return !!(t.position === "fixed" || t.zIndex !== "auto" && (t.position !== "static" || Du(e)) || +t.opacity < 1 || "transform" in t && t.transform !== "none" || "webkitTransform" in t && t.webkitTransform !== "none" || "mixBlendMode" in t && t.mixBlendMode !== "normal" || "filter" in t && t.filter !== "none" || "webkitFilter" in t && t.webkitFilter !== "none" || "isolation" in t && t.isolation === "isolate" || Au.test(t.willChange) || t.webkitOverflowScrolling === "touch");
3617
3614
  }
3618
3615
  function nr(e) {
3619
3616
  let t = e.length;
3620
3617
  for (; t--; ) {
3621
3618
  const n = e[t];
3622
- if (W(n, "Missing node"), Nu(n)) return n;
3619
+ if (W(n, "Missing node"), Iu(n)) return n;
3623
3620
  }
3624
3621
  return null;
3625
3622
  }
@@ -3638,10 +3635,10 @@ function ms(e) {
3638
3635
  } = e;
3639
3636
  return t && t instanceof ShadowRoot ? t.host : t;
3640
3637
  }
3641
- const gs = 1, vs = 2, ys = 4, xs = 8, Mu = Ru() === "coarse";
3642
- let Ee = [], ft = !1, Be = /* @__PURE__ */ new Map(), en = /* @__PURE__ */ new Map();
3638
+ const gs = 1, vs = 2, ys = 4, xs = 8, Nu = Eu() === "coarse";
3639
+ let Ee = [], ft = !1, Be = /* @__PURE__ */ new Map(), Qt = /* @__PURE__ */ new Map();
3643
3640
  const Ct = /* @__PURE__ */ new Set();
3644
- function Lu(e, t, n, o, i) {
3641
+ function Mu(e, t, n, o, i) {
3645
3642
  var a;
3646
3643
  const {
3647
3644
  ownerDocument: r
@@ -3653,7 +3650,7 @@ function Lu(e, t, n, o, i) {
3653
3650
  }, l = (a = Be.get(r)) !== null && a !== void 0 ? a : 0;
3654
3651
  return Be.set(r, l + 1), Ct.add(s), $t(), function() {
3655
3652
  var u;
3656
- en.delete(e), Ct.delete(s);
3653
+ Qt.delete(e), Ct.delete(s);
3657
3654
  const f = (u = Be.get(r)) !== null && u !== void 0 ? u : 1;
3658
3655
  if (Be.set(r, f - 1), $t(), f === 1 && Be.delete(r), Ee.includes(s)) {
3659
3656
  const h = Ee.indexOf(s);
@@ -3661,24 +3658,24 @@ function Lu(e, t, n, o, i) {
3661
3658
  }
3662
3659
  };
3663
3660
  }
3664
- function ku(e) {
3661
+ function Lu(e) {
3665
3662
  const {
3666
3663
  target: t
3667
3664
  } = e, {
3668
3665
  x: n,
3669
3666
  y: o
3670
- } = Qt(e);
3667
+ } = Jt(e);
3671
3668
  ft = !0, Yn({
3672
3669
  target: t,
3673
3670
  x: n,
3674
3671
  y: o
3675
3672
  }), $t(), Ee.length > 0 && (Wt("down", e), e.preventDefault(), Ss(t) || e.stopImmediatePropagation());
3676
3673
  }
3677
- function Cn(e) {
3674
+ function Pn(e) {
3678
3675
  const {
3679
3676
  x: t,
3680
3677
  y: n
3681
- } = Qt(e);
3678
+ } = Jt(e);
3682
3679
  if (ft && e.buttons === 0 && (ft = !1, Wt("up", e)), !ft) {
3683
3680
  const {
3684
3681
  target: o
@@ -3691,14 +3688,14 @@ function Cn(e) {
3691
3688
  }
3692
3689
  Wt("move", e), qn(), Ee.length > 0 && e.preventDefault();
3693
3690
  }
3694
- function En(e) {
3691
+ function Cn(e) {
3695
3692
  const {
3696
3693
  target: t
3697
3694
  } = e, {
3698
3695
  x: n,
3699
3696
  y: o
3700
- } = Qt(e);
3701
- en.clear(), ft = !1, Ee.length > 0 && (e.preventDefault(), Ss(t) || e.stopImmediatePropagation()), Wt("up", e), Yn({
3697
+ } = Jt(e);
3698
+ Qt.clear(), ft = !1, Ee.length > 0 && (e.preventDefault(), Ss(t) || e.stopImmediatePropagation()), Wt("up", e), Yn({
3702
3699
  target: t,
3703
3700
  x: n,
3704
3701
  y: o
@@ -3729,15 +3726,15 @@ function Yn({
3729
3726
  left: c,
3730
3727
  right: u,
3731
3728
  top: f
3732
- } = s, h = Mu ? r.coarse : r.fine;
3729
+ } = s, h = Nu ? r.coarse : r.fine;
3733
3730
  if (t >= c - h && t <= u + h && n >= f - h && n <= l + h) {
3734
3731
  if (o !== null && document.contains(o) && a !== o && !a.contains(o) && !o.contains(a) && // Calculating stacking order has a cost, so we should avoid it if possible
3735
3732
  // That is why we only check potentially intersecting handles,
3736
3733
  // and why we skip if the event target is within the handle's DOM
3737
- Au(o, a) > 0) {
3734
+ Tu(o, a) > 0) {
3738
3735
  let x = o, p = !1;
3739
3736
  for (; x && !x.contains(a); ) {
3740
- if (Tu(x.getBoundingClientRect(), s)) {
3737
+ if (Ru(x.getBoundingClientRect(), s)) {
3741
3738
  p = !0;
3742
3739
  break;
3743
3740
  }
@@ -3750,8 +3747,8 @@ function Yn({
3750
3747
  }
3751
3748
  });
3752
3749
  }
3753
- function Rn(e, t) {
3754
- en.set(e, t);
3750
+ function En(e, t) {
3751
+ Qt.set(e, t);
3755
3752
  }
3756
3753
  function qn() {
3757
3754
  let e = !1, t = !1;
@@ -3762,32 +3759,32 @@ function qn() {
3762
3759
  i === "horizontal" ? e = !0 : t = !0;
3763
3760
  });
3764
3761
  let n = 0;
3765
- en.forEach((o) => {
3762
+ Qt.forEach((o) => {
3766
3763
  n |= o;
3767
- }), e && t ? Pn("intersection", n) : e ? Pn("horizontal", n) : t ? Pn("vertical", n) : Eu();
3764
+ }), e && t ? bn("intersection", n) : e ? bn("horizontal", n) : t ? bn("vertical", n) : Cu();
3768
3765
  }
3769
- let Tn = new AbortController();
3766
+ let Rn = new AbortController();
3770
3767
  function $t() {
3771
- Tn.abort(), Tn = new AbortController();
3768
+ Rn.abort(), Rn = new AbortController();
3772
3769
  const e = {
3773
3770
  capture: !0,
3774
- signal: Tn.signal
3771
+ signal: Rn.signal
3775
3772
  };
3776
3773
  Ct.size && (ft ? (Ee.length > 0 && Be.forEach((t, n) => {
3777
3774
  const {
3778
3775
  body: o
3779
3776
  } = n;
3780
- t > 0 && (o.addEventListener("contextmenu", En, e), o.addEventListener("pointerleave", Cn, e), o.addEventListener("pointermove", Cn, e));
3777
+ t > 0 && (o.addEventListener("contextmenu", Cn, e), o.addEventListener("pointerleave", Pn, e), o.addEventListener("pointermove", Pn, e));
3781
3778
  }), Be.forEach((t, n) => {
3782
3779
  const {
3783
3780
  body: o
3784
3781
  } = n;
3785
- o.addEventListener("pointerup", En, e), o.addEventListener("pointercancel", En, e);
3782
+ o.addEventListener("pointerup", Cn, e), o.addEventListener("pointercancel", Cn, e);
3786
3783
  })) : Be.forEach((t, n) => {
3787
3784
  const {
3788
3785
  body: o
3789
3786
  } = n;
3790
- t > 0 && (o.addEventListener("pointerdown", ku, e), o.addEventListener("pointermove", Cn, e));
3787
+ t > 0 && (o.addEventListener("pointerdown", Lu, e), o.addEventListener("pointermove", Pn, e));
3791
3788
  }));
3792
3789
  }
3793
3790
  function Wt(e, t) {
@@ -3815,7 +3812,7 @@ function Le(e, t, n = Kn) {
3815
3812
  function Se(e, t, n) {
3816
3813
  return Ze(e, t, n) === 0;
3817
3814
  }
3818
- function Ou(e, t, n) {
3815
+ function ku(e, t, n) {
3819
3816
  if (e.length !== t.length)
3820
3817
  return !1;
3821
3818
  for (let o = 0; o < e.length; o++) {
@@ -3927,7 +3924,7 @@ function gt({
3927
3924
  e < 0 ? h-- : h++;
3928
3925
  }
3929
3926
  }
3930
- if (Ou(i, r))
3927
+ if (ku(i, r))
3931
3928
  return i;
3932
3929
  {
3933
3930
  const f = e < 0 ? l : s, h = t[f];
@@ -3956,7 +3953,7 @@ function gt({
3956
3953
  const u = r.reduce((f, h) => h + f, 0);
3957
3954
  return Se(u, 100) ? r : i;
3958
3955
  }
3959
- function _u({
3956
+ function Ou({
3960
3957
  layout: e,
3961
3958
  panelsArray: t,
3962
3959
  pivotIndices: n
@@ -3999,16 +3996,16 @@ function Ps(e, t = document) {
3999
3996
  const n = t.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);
4000
3997
  return n || null;
4001
3998
  }
4002
- function tn(e, t = document) {
3999
+ function en(e, t = document) {
4003
4000
  const n = t.querySelector(`[${ie.resizeHandleId}="${e}"]`);
4004
4001
  return n || null;
4005
4002
  }
4006
- function Bu(e, t, n, o = document) {
4003
+ function _u(e, t, n, o = document) {
4007
4004
  var i, a, r, s;
4008
- const l = tn(t, o), c = Et(e, o), u = l ? c.indexOf(l) : -1, f = (i = (a = n[u]) === null || a === void 0 ? void 0 : a.id) !== null && i !== void 0 ? i : null, h = (r = (s = n[u + 1]) === null || s === void 0 ? void 0 : s.id) !== null && r !== void 0 ? r : null;
4005
+ const l = en(t, o), c = Et(e, o), u = l ? c.indexOf(l) : -1, f = (i = (a = n[u]) === null || a === void 0 ? void 0 : a.id) !== null && i !== void 0 ? i : null, h = (r = (s = n[u + 1]) === null || s === void 0 ? void 0 : s.id) !== null && r !== void 0 ? r : null;
4009
4006
  return [f, h];
4010
4007
  }
4011
- function Vu({
4008
+ function Bu({
4012
4009
  committedValuesRef: e,
4013
4010
  eagerValuesRef: t,
4014
4011
  groupId: n,
@@ -4028,7 +4025,7 @@ function Vu({
4028
4025
  valueMax: c,
4029
4026
  valueMin: u,
4030
4027
  valueNow: f
4031
- } = _u({
4028
+ } = Ou({
4032
4029
  layout: o,
4033
4030
  panelsArray: i,
4034
4031
  pivotIndices: [l, l + 1]
@@ -4057,7 +4054,7 @@ function Vu({
4057
4054
  const f = u.map((h) => {
4058
4055
  const m = h.getAttribute(ie.resizeHandleId);
4059
4056
  W(m, "Resize handle element has no handle id attribute");
4060
- const [x, p] = Bu(n, m, l, a);
4057
+ const [x, p] = _u(n, m, l, a);
4061
4058
  if (x == null || p == null)
4062
4059
  return () => {
4063
4060
  };
@@ -4112,11 +4109,11 @@ function Cs(e, t) {
4112
4109
  const n = e === "horizontal", {
4113
4110
  x: o,
4114
4111
  y: i
4115
- } = Qt(t);
4112
+ } = Jt(t);
4116
4113
  return n ? o : i;
4117
4114
  }
4118
- function Fu(e, t, n, o, i) {
4119
- const a = n === "horizontal", r = tn(t, i);
4115
+ function Vu(e, t, n, o, i) {
4116
+ const a = n === "horizontal", r = en(t, i);
4120
4117
  W(r, `No resize handle element found for id "${t}"`);
4121
4118
  const s = r.getAttribute(ie.groupId);
4122
4119
  W(s, "Resize handle element has no group id attribute");
@@ -4128,7 +4125,7 @@ function Fu(e, t, n, o, i) {
4128
4125
  const f = u.getBoundingClientRect(), h = a ? f.width : f.height;
4129
4126
  return (c - l) / h * 100;
4130
4127
  }
4131
- function $u(e, t, n, o, i, a) {
4128
+ function Fu(e, t, n, o, i, a) {
4132
4129
  if (fs(e)) {
4133
4130
  const r = n === "horizontal";
4134
4131
  let s = 0;
@@ -4156,9 +4153,9 @@ function $u(e, t, n, o, i, a) {
4156
4153
  }
4157
4154
  return l;
4158
4155
  } else
4159
- return o == null ? 0 : Fu(e, t, n, o, a);
4156
+ return o == null ? 0 : Vu(e, t, n, o, a);
4160
4157
  }
4161
- function Wu({
4158
+ function $u({
4162
4159
  panelDataArray: e
4163
4160
  }) {
4164
4161
  const t = Array(e.length), n = e.map((a) => a.constraints);
@@ -4207,7 +4204,7 @@ function st(e, t, n) {
4207
4204
  }
4208
4205
  });
4209
4206
  }
4210
- function jt(e, t) {
4207
+ function kt(e, t) {
4211
4208
  if (e.length !== t.length)
4212
4209
  return !1;
4213
4210
  for (let n = 0; n < e.length; n++)
@@ -4215,7 +4212,7 @@ function jt(e, t) {
4215
4212
  return !1;
4216
4213
  return !0;
4217
4214
  }
4218
- function Hu({
4215
+ function Wu({
4219
4216
  defaultSize: e,
4220
4217
  dragState: t,
4221
4218
  layout: n,
@@ -4236,7 +4233,7 @@ function Hu({
4236
4233
  pointerEvents: t !== null ? "none" : void 0
4237
4234
  };
4238
4235
  }
4239
- function Uu(e, t = 10) {
4236
+ function Hu(e, t = 10) {
4240
4237
  let n = null;
4241
4238
  return (...i) => {
4242
4239
  n !== null && clearTimeout(n), n = setTimeout(() => {
@@ -4283,12 +4280,12 @@ function Ts(e, t) {
4283
4280
  }
4284
4281
  return null;
4285
4282
  }
4286
- function Gu(e, t, n) {
4283
+ function Uu(e, t, n) {
4287
4284
  var o, i;
4288
4285
  const a = (o = Ts(e, n)) !== null && o !== void 0 ? o : {}, r = Rs(t);
4289
4286
  return (i = a[r]) !== null && i !== void 0 ? i : null;
4290
4287
  }
4291
- function Ku(e, t, n, o, i) {
4288
+ function Gu(e, t, n, o, i) {
4292
4289
  var a;
4293
4290
  const r = Es(e), s = Rs(t), l = (a = Ts(e, i)) !== null && a !== void 0 ? a : {};
4294
4291
  l[s] = {
@@ -4339,7 +4336,7 @@ function ar({
4339
4336
  }
4340
4337
  return n;
4341
4338
  }
4342
- const Xu = 100, vt = {
4339
+ const Ku = 100, vt = {
4343
4340
  getItem: (e) => (ir(vt), vt.getItem(e)),
4344
4341
  setItem: (e, t) => {
4345
4342
  ir(vt), vt.setItem(e, t);
@@ -4398,7 +4395,7 @@ function As({
4398
4395
  }
4399
4396
  }), []), Ye(() => {
4400
4397
  D.current.autoSaveId = e, D.current.direction = o, D.current.dragState = x, D.current.id = h, D.current.onLayout = r, D.current.storage = l;
4401
- }), Vu({
4398
+ }), Bu({
4402
4399
  committedValuesRef: D,
4403
4400
  eagerValuesRef: P,
4404
4401
  groupId: h,
@@ -4414,7 +4411,7 @@ function As({
4414
4411
  if (v.length === 0 || v.length !== E.length)
4415
4412
  return;
4416
4413
  let I = lr[e];
4417
- I == null && (I = Uu(Ku, Xu), lr[e] = I);
4414
+ I == null && (I = Hu(Gu, Ku), lr[e] = I);
4418
4415
  const M = [...E], N = new Map(C.current);
4419
4416
  I(e, M, N, v, l);
4420
4417
  }
@@ -4430,20 +4427,20 @@ function As({
4430
4427
  if (E.constraints.collapsible) {
4431
4428
  const b = N.map(($) => $.constraints), {
4432
4429
  collapsedSize: R = 0,
4433
- panelSize: _,
4434
- pivotIndices: j
4430
+ panelSize: z,
4431
+ pivotIndices: k
4435
4432
  } = Ke(N, E, M);
4436
- if (W(_ != null, `Panel size not found for panel "${E.id}"`), !Le(_, R)) {
4437
- C.current.set(E.id, _);
4438
- const V = it(N, E) === N.length - 1 ? _ - R : R - _, G = gt({
4433
+ if (W(z != null, `Panel size not found for panel "${E.id}"`), !Le(z, R)) {
4434
+ C.current.set(E.id, z);
4435
+ const V = it(N, E) === N.length - 1 ? z - R : R - z, G = gt({
4439
4436
  delta: V,
4440
4437
  initialLayout: M,
4441
4438
  panelConstraints: b,
4442
- pivotIndices: j,
4439
+ pivotIndices: k,
4443
4440
  prevLayout: M,
4444
4441
  trigger: "imperative-api"
4445
4442
  });
4446
- jt(M, G) || (y(G), P.current.layout = G, I && I(G), st(N, G, w.current));
4443
+ kt(M, G) || (y(G), P.current.layout = G, I && I(G), st(N, G, w.current));
4447
4444
  }
4448
4445
  }
4449
4446
  }, []), L = ge((E, I) => {
@@ -4455,13 +4452,13 @@ function As({
4455
4452
  } = P.current;
4456
4453
  if (E.constraints.collapsible) {
4457
4454
  const R = b.map((T) => T.constraints), {
4458
- collapsedSize: _ = 0,
4459
- panelSize: j = 0,
4455
+ collapsedSize: z = 0,
4456
+ panelSize: k = 0,
4460
4457
  minSize: $ = 0,
4461
4458
  pivotIndices: V
4462
4459
  } = Ke(b, E, N), G = I ?? $;
4463
- if (Le(j, _)) {
4464
- const T = C.current.get(E.id), k = T != null && T >= G ? T : G, se = it(b, E) === b.length - 1 ? j - k : k - j, Z = gt({
4460
+ if (Le(k, z)) {
4461
+ const T = C.current.get(E.id), j = T != null && T >= G ? T : G, se = it(b, E) === b.length - 1 ? k - j : j - k, Z = gt({
4465
4462
  delta: se,
4466
4463
  initialLayout: N,
4467
4464
  panelConstraints: R,
@@ -4469,10 +4466,10 @@ function As({
4469
4466
  prevLayout: N,
4470
4467
  trigger: "imperative-api"
4471
4468
  });
4472
- jt(N, Z) || (y(Z), P.current.layout = Z, M && M(Z), st(b, Z, w.current));
4469
+ kt(N, Z) || (y(Z), P.current.layout = Z, M && M(Z), st(b, Z, w.current));
4473
4470
  }
4474
4471
  }
4475
- }, []), z = ge((E) => {
4472
+ }, []), _ = ge((E) => {
4476
4473
  const {
4477
4474
  layout: I,
4478
4475
  panelDataArray: M
@@ -4484,7 +4481,7 @@ function As({
4484
4481
  const {
4485
4482
  panelDataArray: M
4486
4483
  } = P.current, N = it(M, E);
4487
- return Hu({
4484
+ return Wu({
4488
4485
  defaultSize: I,
4489
4486
  dragState: x,
4490
4487
  layout: v,
@@ -4533,17 +4530,17 @@ function As({
4533
4530
  } = P.current;
4534
4531
  let R = null;
4535
4532
  if (E) {
4536
- const j = Gu(E, b, M);
4537
- j && (C.current = new Map(Object.entries(j.expandToSizes)), R = j.layout);
4533
+ const k = Uu(E, b, M);
4534
+ k && (C.current = new Map(Object.entries(k.expandToSizes)), R = k.layout);
4538
4535
  }
4539
- R == null && (R = Wu({
4536
+ R == null && (R = $u({
4540
4537
  panelDataArray: b
4541
4538
  }));
4542
- const _ = ar({
4539
+ const z = ar({
4543
4540
  layout: R,
4544
- panelConstraints: b.map((j) => j.constraints)
4541
+ panelConstraints: b.map((k) => k.constraints)
4545
4542
  });
4546
- sr(N, _) || (y(_), P.current.layout = _, I && I(_), st(b, _, w.current));
4543
+ sr(N, z) || (y(z), P.current.layout = z, I && I(z), st(b, z, w.current));
4547
4544
  }
4548
4545
  }), Ye(() => {
4549
4546
  const E = P.current;
@@ -4560,29 +4557,29 @@ function As({
4560
4557
  if (!R)
4561
4558
  return () => null;
4562
4559
  const {
4563
- direction: _,
4564
- dragState: j,
4560
+ direction: z,
4561
+ dragState: k,
4565
4562
  id: $,
4566
4563
  keyboardResizeBy: V,
4567
4564
  onLayout: G
4568
4565
  } = D.current, {
4569
4566
  layout: T,
4570
- panelDataArray: k
4567
+ panelDataArray: j
4571
4568
  } = P.current, {
4572
4569
  initialLayout: Q
4573
- } = j ?? {}, se = bs($, E, R);
4574
- let Z = $u(b, E, _, j, V, R);
4575
- const Y = _ === "horizontal";
4570
+ } = k ?? {}, se = bs($, E, R);
4571
+ let Z = Fu(b, E, z, k, V, R);
4572
+ const Y = z === "horizontal";
4576
4573
  Y && I && (Z = -Z);
4577
- const he = k.map((De) => De.constraints), Te = gt({
4574
+ const he = j.map((De) => De.constraints), Te = gt({
4578
4575
  delta: Z,
4579
4576
  initialLayout: Q ?? T,
4580
4577
  panelConstraints: he,
4581
4578
  pivotIndices: se,
4582
4579
  prevLayout: T,
4583
4580
  trigger: fs(b) ? "keyboard" : "mouse-or-touch"
4584
- }), me = !jt(T, Te);
4585
- (hs(b) || ps(b)) && A.current != Z && (A.current = Z, !me && Z !== 0 ? Y ? Rn(E, Z < 0 ? gs : vs) : Rn(E, Z < 0 ? ys : xs) : Rn(E, 0)), me && (y(Te), P.current.layout = Te, G && G(Te), st(k, Te, w.current));
4581
+ }), me = !kt(T, Te);
4582
+ (hs(b) || ps(b)) && A.current != Z && (A.current = Z, !me && Z !== 0 ? Y ? En(E, Z < 0 ? gs : vs) : En(E, Z < 0 ? ys : xs) : En(E, 0)), me && (y(Te), P.current.layout = Te, G && G(Te), st(j, Te, w.current));
4586
4583
  };
4587
4584
  }, []), U = ge((E, I) => {
4588
4585
  const {
@@ -4591,19 +4588,19 @@ function As({
4591
4588
  layout: N,
4592
4589
  panelDataArray: b
4593
4590
  } = P.current, R = b.map((T) => T.constraints), {
4594
- panelSize: _,
4595
- pivotIndices: j
4591
+ panelSize: z,
4592
+ pivotIndices: k
4596
4593
  } = Ke(b, E, N);
4597
- W(_ != null, `Panel size not found for panel "${E.id}"`);
4598
- const V = it(b, E) === b.length - 1 ? _ - I : I - _, G = gt({
4594
+ W(z != null, `Panel size not found for panel "${E.id}"`);
4595
+ const V = it(b, E) === b.length - 1 ? z - I : I - z, G = gt({
4599
4596
  delta: V,
4600
4597
  initialLayout: N,
4601
4598
  panelConstraints: R,
4602
- pivotIndices: j,
4599
+ pivotIndices: k,
4603
4600
  prevLayout: N,
4604
4601
  trigger: "imperative-api"
4605
4602
  });
4606
- jt(N, G) || (y(G), P.current.layout = G, M && M(G), st(b, G, w.current));
4603
+ kt(N, G) || (y(G), P.current.layout = G, M && M(G), st(b, G, w.current));
4607
4604
  }, []), q = ge((E, I) => {
4608
4605
  const {
4609
4606
  layout: M,
@@ -4612,14 +4609,14 @@ function As({
4612
4609
  collapsedSize: b = 0,
4613
4610
  collapsible: R
4614
4611
  } = I, {
4615
- collapsedSize: _ = 0,
4616
- collapsible: j,
4612
+ collapsedSize: z = 0,
4613
+ collapsible: k,
4617
4614
  maxSize: $ = 100,
4618
4615
  minSize: V = 0
4619
4616
  } = E.constraints, {
4620
4617
  panelSize: G
4621
4618
  } = Ke(N, E, M);
4622
- G != null && (R && j && Le(G, b) ? Le(b, _) || U(E, _) : G < V ? U(E, V) : G > $ && U(E, $));
4619
+ G != null && (R && k && Le(G, b) ? Le(b, z) || U(E, z) : G < V ? U(E, V) : G > $ && U(E, $));
4623
4620
  }, [U]), J = ge((E, I) => {
4624
4621
  const {
4625
4622
  direction: M
@@ -4628,7 +4625,7 @@ function As({
4628
4625
  } = P.current;
4629
4626
  if (!m.current)
4630
4627
  return;
4631
- const b = tn(E, m.current);
4628
+ const b = en(E, m.current);
4632
4629
  W(b, `Drag handle element not found for id "${E}"`);
4633
4630
  const R = Cs(M, I);
4634
4631
  p({
@@ -4644,12 +4641,12 @@ function As({
4644
4641
  panelDataArray: I
4645
4642
  } = P.current, M = it(I, E);
4646
4643
  M >= 0 && (I.splice(M, 1), delete w.current[E.id], P.current.panelDataArrayChanged = !0, S());
4647
- }, [S]), ne = ki(() => ({
4644
+ }, [S]), ne = ji(() => ({
4648
4645
  collapsePanel: F,
4649
4646
  direction: o,
4650
4647
  dragState: x,
4651
4648
  expandPanel: L,
4652
- getPanelSize: z,
4649
+ getPanelSize: _,
4653
4650
  getPanelStyle: H,
4654
4651
  groupId: h,
4655
4652
  isPanelCollapsed: O,
@@ -4662,16 +4659,16 @@ function As({
4662
4659
  stopDragging: re,
4663
4660
  unregisterPanel: ye,
4664
4661
  panelGroupElement: m.current
4665
- }), [F, x, o, L, z, H, h, O, B, q, X, K, U, J, re, ye]), ue = {
4662
+ }), [F, x, o, L, _, H, h, O, B, q, X, K, U, J, re, ye]), ue = {
4666
4663
  display: "flex",
4667
4664
  flexDirection: o === "horizontal" ? "row" : "column",
4668
4665
  height: "100%",
4669
4666
  overflow: "hidden",
4670
4667
  width: "100%"
4671
4668
  };
4672
- return ke(Jt.Provider, {
4669
+ return je(Zt.Provider, {
4673
4670
  value: ne
4674
- }, ke(u, {
4671
+ }, je(u, {
4675
4672
  ...f,
4676
4673
  children: t,
4677
4674
  className: n,
@@ -4687,12 +4684,12 @@ function As({
4687
4684
  [ie.groupId]: h
4688
4685
  }));
4689
4686
  }
4690
- const Yu = Kt((e, t) => ke(As, {
4687
+ const Xu = Kt((e, t) => je(As, {
4691
4688
  ...e,
4692
4689
  forwardedRef: t
4693
4690
  }));
4694
4691
  As.displayName = "PanelGroup";
4695
- Yu.displayName = "forwardRef(PanelGroup)";
4692
+ Xu.displayName = "forwardRef(PanelGroup)";
4696
4693
  function it(e, t) {
4697
4694
  return e.findIndex((n) => n === t || n.id === t.id);
4698
4695
  }
@@ -4704,7 +4701,7 @@ function Ke(e, t, n) {
4704
4701
  pivotIndices: a
4705
4702
  };
4706
4703
  }
4707
- function qu({
4704
+ function Yu({
4708
4705
  disabled: e,
4709
4706
  handleId: t,
4710
4707
  resizeHandler: n,
@@ -4713,7 +4710,7 @@ function qu({
4713
4710
  Fe(() => {
4714
4711
  if (e || n == null || o == null)
4715
4712
  return;
4716
- const i = tn(t, o);
4713
+ const i = en(t, o);
4717
4714
  if (i == null)
4718
4715
  return;
4719
4716
  const a = (r) => {
@@ -4745,7 +4742,7 @@ function qu({
4745
4742
  };
4746
4743
  }, [o, e, t, n]);
4747
4744
  }
4748
- function Zu({
4745
+ function qu({
4749
4746
  children: e = null,
4750
4747
  className: t = "",
4751
4748
  disabled: n = !1,
@@ -4772,7 +4769,7 @@ function Zu({
4772
4769
  Fe(() => {
4773
4770
  S.current.onClick = r, S.current.onDragging = s, S.current.onPointerDown = c, S.current.onPointerUp = u;
4774
4771
  });
4775
- const w = Vt(Jt);
4772
+ const w = Vt(Zt);
4776
4773
  if (w === null)
4777
4774
  throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
4778
4775
  const {
@@ -4782,7 +4779,7 @@ function Zu({
4782
4779
  startDragging: P,
4783
4780
  stopDragging: F,
4784
4781
  panelGroupElement: L
4785
- } = w, z = Xn(i), [H, O] = Ve("inactive"), [B, X] = Ve(!1), [K, U] = Ve(null), q = ve({
4782
+ } = w, _ = Xn(i), [H, O] = Ve("inactive"), [B, X] = Ve(!1), [K, U] = Ve(null), q = ve({
4786
4783
  state: H
4787
4784
  });
4788
4785
  Ye(() => {
@@ -4791,10 +4788,10 @@ function Zu({
4791
4788
  if (n)
4792
4789
  U(null);
4793
4790
  else {
4794
- const ne = D(z);
4791
+ const ne = D(_);
4795
4792
  U(() => ne);
4796
4793
  }
4797
- }, [n, z, D]);
4794
+ }, [n, _, D]);
4798
4795
  const J = (p = o == null ? void 0 : o.coarse) !== null && p !== void 0 ? p : 15, re = (v = o == null ? void 0 : o.fine) !== null && v !== void 0 ? v : 5;
4799
4796
  return Fe(() => {
4800
4797
  if (n || K == null)
@@ -4802,7 +4799,7 @@ function Zu({
4802
4799
  const ne = y.current;
4803
4800
  W(ne, "Element ref not attached");
4804
4801
  let ue = !1;
4805
- return Lu(z, ne, C, {
4802
+ return Mu(_, ne, C, {
4806
4803
  coarse: J,
4807
4804
  fine: re
4808
4805
  }, (I, M, N) => {
@@ -4812,7 +4809,7 @@ function Zu({
4812
4809
  }
4813
4810
  switch (I) {
4814
4811
  case "down": {
4815
- O("drag"), ue = !1, W(N, 'Expected event to be defined for "down" action'), P(z, N);
4812
+ O("drag"), ue = !1, W(N, 'Expected event to be defined for "down" action'), P(_, N);
4816
4813
  const {
4817
4814
  onDragging: b,
4818
4815
  onPointerDown: R
@@ -4832,19 +4829,19 @@ function Zu({
4832
4829
  const {
4833
4830
  onClick: b,
4834
4831
  onDragging: R,
4835
- onPointerUp: _
4832
+ onPointerUp: z
4836
4833
  } = S.current;
4837
- R == null || R(!1), _ == null || _(), ue || b == null || b();
4834
+ R == null || R(!1), z == null || z(), ue || b == null || b();
4838
4835
  break;
4839
4836
  }
4840
4837
  }
4841
4838
  });
4842
- }, [J, C, n, re, D, z, K, P, F]), qu({
4839
+ }, [J, C, n, re, D, _, K, P, F]), Yu({
4843
4840
  disabled: n,
4844
- handleId: z,
4841
+ handleId: _,
4845
4842
  resizeHandler: K,
4846
4843
  panelGroupElement: L
4847
- }), ke(m, {
4844
+ }), je(m, {
4848
4845
  ...x,
4849
4846
  children: e,
4850
4847
  className: t,
@@ -4871,12 +4868,12 @@ function Zu({
4871
4868
  [ie.resizeHandle]: "",
4872
4869
  [ie.resizeHandleActive]: H === "drag" ? "pointer" : B ? "keyboard" : void 0,
4873
4870
  [ie.resizeHandleEnabled]: !n,
4874
- [ie.resizeHandleId]: z,
4871
+ [ie.resizeHandleId]: _,
4875
4872
  [ie.resizeHandleState]: H
4876
4873
  });
4877
4874
  }
4878
- Zu.displayName = "PanelResizeHandle";
4879
- var nn = "Dialog", [Ds, Lf] = Xt(nn), [Ju, Re] = Ds(nn), Is = (e) => {
4875
+ qu.displayName = "PanelResizeHandle";
4876
+ var tn = "Dialog", [Ds, Lf] = Xt(tn), [Zu, Re] = Ds(tn), Is = (e) => {
4880
4877
  const {
4881
4878
  __scopeDialog: t,
4882
4879
  children: n,
@@ -4884,14 +4881,14 @@ var nn = "Dialog", [Ds, Lf] = Xt(nn), [Ju, Re] = Ds(nn), Is = (e) => {
4884
4881
  defaultOpen: i,
4885
4882
  onOpenChange: a,
4886
4883
  modal: r = !0
4887
- } = e, s = d.useRef(null), l = d.useRef(null), [c, u] = In({
4884
+ } = e, s = d.useRef(null), l = d.useRef(null), [c, u] = Dn({
4888
4885
  prop: o,
4889
4886
  defaultProp: i ?? !1,
4890
4887
  onChange: a,
4891
- caller: nn
4888
+ caller: tn
4892
4889
  });
4893
4890
  return /* @__PURE__ */ g.jsx(
4894
- Ju,
4891
+ Zu,
4895
4892
  {
4896
4893
  scope: t,
4897
4894
  triggerRef: s,
@@ -4907,7 +4904,7 @@ var nn = "Dialog", [Ds, Lf] = Xt(nn), [Ju, Re] = Ds(nn), Is = (e) => {
4907
4904
  }
4908
4905
  );
4909
4906
  };
4910
- Is.displayName = nn;
4907
+ Is.displayName = tn;
4911
4908
  var Ns = "DialogTrigger", Ms = d.forwardRef(
4912
4909
  (e, t) => {
4913
4910
  const { __scopeDialog: n, ...o } = e, i = Re(Ns, n), a = ae(t, i.triggerRef);
@@ -4927,27 +4924,27 @@ var Ns = "DialogTrigger", Ms = d.forwardRef(
4927
4924
  }
4928
4925
  );
4929
4926
  Ms.displayName = Ns;
4930
- var Zn = "DialogPortal", [Qu, Ls] = Ds(Zn, {
4927
+ var Zn = "DialogPortal", [Ju, Ls] = Ds(Zn, {
4931
4928
  forceMount: void 0
4932
- }), ks = (e) => {
4929
+ }), js = (e) => {
4933
4930
  const { __scopeDialog: t, forceMount: n, children: o, container: i } = e, a = Re(Zn, t);
4934
- return /* @__PURE__ */ g.jsx(Qu, { scope: t, forceMount: n, children: d.Children.map(o, (r) => /* @__PURE__ */ g.jsx(Yt, { present: n || a.open, children: /* @__PURE__ */ g.jsx(Un, { asChild: !0, container: i, children: r }) })) });
4931
+ return /* @__PURE__ */ g.jsx(Ju, { scope: t, forceMount: n, children: d.Children.map(o, (r) => /* @__PURE__ */ g.jsx(Yt, { present: n || a.open, children: /* @__PURE__ */ g.jsx(Hn, { asChild: !0, container: i, children: r }) })) });
4935
4932
  };
4936
- ks.displayName = Zn;
4937
- var Ht = "DialogOverlay", js = d.forwardRef(
4933
+ js.displayName = Zn;
4934
+ var Ht = "DialogOverlay", ks = d.forwardRef(
4938
4935
  (e, t) => {
4939
4936
  const n = Ls(Ht, e.__scopeDialog), { forceMount: o = n.forceMount, ...i } = e, a = Re(Ht, e.__scopeDialog);
4940
- return a.modal ? /* @__PURE__ */ g.jsx(Yt, { present: o || a.open, children: /* @__PURE__ */ g.jsx(td, { ...i, ref: t }) }) : null;
4937
+ return a.modal ? /* @__PURE__ */ g.jsx(Yt, { present: o || a.open, children: /* @__PURE__ */ g.jsx(ed, { ...i, ref: t }) }) : null;
4941
4938
  }
4942
4939
  );
4943
- js.displayName = Ht;
4944
- var ed = Pt("DialogOverlay.RemoveScroll"), td = d.forwardRef(
4940
+ ks.displayName = Ht;
4941
+ var Qu = Pt("DialogOverlay.RemoveScroll"), ed = d.forwardRef(
4945
4942
  (e, t) => {
4946
4943
  const { __scopeDialog: n, ...o } = e, i = Re(Ht, n);
4947
4944
  return (
4948
4945
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
4949
4946
  // ie. when `Overlay` and `Content` are siblings
4950
- /* @__PURE__ */ g.jsx(Gn, { as: ed, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ g.jsx(
4947
+ /* @__PURE__ */ g.jsx(Un, { as: Qu, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ g.jsx(
4951
4948
  ee.div,
4952
4949
  {
4953
4950
  "data-state": Qn(i.open),
@@ -4961,18 +4958,18 @@ var ed = Pt("DialogOverlay.RemoveScroll"), td = d.forwardRef(
4961
4958
  ), Je = "DialogContent", Os = d.forwardRef(
4962
4959
  (e, t) => {
4963
4960
  const n = Ls(Je, e.__scopeDialog), { forceMount: o = n.forceMount, ...i } = e, a = Re(Je, e.__scopeDialog);
4964
- return /* @__PURE__ */ g.jsx(Yt, { present: o || a.open, children: a.modal ? /* @__PURE__ */ g.jsx(nd, { ...i, ref: t }) : /* @__PURE__ */ g.jsx(od, { ...i, ref: t }) });
4961
+ return /* @__PURE__ */ g.jsx(Yt, { present: o || a.open, children: a.modal ? /* @__PURE__ */ g.jsx(td, { ...i, ref: t }) : /* @__PURE__ */ g.jsx(nd, { ...i, ref: t }) });
4965
4962
  }
4966
4963
  );
4967
4964
  Os.displayName = Je;
4968
- var nd = d.forwardRef(
4965
+ var td = d.forwardRef(
4969
4966
  (e, t) => {
4970
4967
  const n = Re(Je, e.__scopeDialog), o = d.useRef(null), i = ae(t, n.contentRef, o);
4971
4968
  return d.useEffect(() => {
4972
4969
  const a = o.current;
4973
4970
  if (a) return ts(a);
4974
4971
  }, []), /* @__PURE__ */ g.jsx(
4975
- _s,
4972
+ zs,
4976
4973
  {
4977
4974
  ...e,
4978
4975
  ref: i,
@@ -4993,11 +4990,11 @@ var nd = d.forwardRef(
4993
4990
  }
4994
4991
  );
4995
4992
  }
4996
- ), od = d.forwardRef(
4993
+ ), nd = d.forwardRef(
4997
4994
  (e, t) => {
4998
4995
  const n = Re(Je, e.__scopeDialog), o = d.useRef(!1), i = d.useRef(!1);
4999
4996
  return /* @__PURE__ */ g.jsx(
5000
- _s,
4997
+ zs,
5001
4998
  {
5002
4999
  ...e,
5003
5000
  ref: t,
@@ -5016,12 +5013,12 @@ var nd = d.forwardRef(
5016
5013
  }
5017
5014
  );
5018
5015
  }
5019
- ), _s = d.forwardRef(
5016
+ ), zs = d.forwardRef(
5020
5017
  (e, t) => {
5021
5018
  const { __scopeDialog: n, trapFocus: o, onOpenAutoFocus: i, onCloseAutoFocus: a, ...r } = e, s = Re(Je, n), l = d.useRef(null), c = ae(t, l);
5022
5019
  return Fr(), /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
5023
5020
  /* @__PURE__ */ g.jsx(
5024
- $n,
5021
+ Fn,
5025
5022
  {
5026
5023
  asChild: !0,
5027
5024
  loop: !0,
@@ -5029,7 +5026,7 @@ var nd = d.forwardRef(
5029
5026
  onMountAutoFocus: i,
5030
5027
  onUnmountAutoFocus: a,
5031
5028
  children: /* @__PURE__ */ g.jsx(
5032
- Fn,
5029
+ Vn,
5033
5030
  {
5034
5031
  role: "dialog",
5035
5032
  id: s.contentId,
@@ -5044,18 +5041,18 @@ var nd = d.forwardRef(
5044
5041
  }
5045
5042
  ),
5046
5043
  /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
5047
- /* @__PURE__ */ g.jsx(rd, { titleId: s.titleId }),
5048
- /* @__PURE__ */ g.jsx(id, { contentRef: l, descriptionId: s.descriptionId })
5044
+ /* @__PURE__ */ g.jsx(od, { titleId: s.titleId }),
5045
+ /* @__PURE__ */ g.jsx(sd, { contentRef: l, descriptionId: s.descriptionId })
5049
5046
  ] })
5050
5047
  ] });
5051
5048
  }
5052
- ), Jn = "DialogTitle", zs = d.forwardRef(
5049
+ ), Jn = "DialogTitle", _s = d.forwardRef(
5053
5050
  (e, t) => {
5054
5051
  const { __scopeDialog: n, ...o } = e, i = Re(Jn, n);
5055
5052
  return /* @__PURE__ */ g.jsx(ee.h2, { id: i.titleId, ...o, ref: t });
5056
5053
  }
5057
5054
  );
5058
- zs.displayName = Jn;
5055
+ _s.displayName = Jn;
5059
5056
  var Bs = "DialogDescription", Vs = d.forwardRef(
5060
5057
  (e, t) => {
5061
5058
  const { __scopeDialog: n, ...o } = e, i = Re(Bs, n);
@@ -5081,11 +5078,11 @@ $s.displayName = Fs;
5081
5078
  function Qn(e) {
5082
5079
  return e ? "open" : "closed";
5083
5080
  }
5084
- var Ws = "DialogTitleWarning", [kf, Hs] = Ol(Ws, {
5081
+ var Ws = "DialogTitleWarning", [jf, Hs] = zl(Ws, {
5085
5082
  contentName: Je,
5086
5083
  titleName: Jn,
5087
5084
  docsSlug: "dialog"
5088
- }), rd = ({ titleId: e }) => {
5085
+ }), od = ({ titleId: e }) => {
5089
5086
  const t = Hs(Ws), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
5090
5087
 
5091
5088
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
@@ -5096,8 +5093,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
5096
5093
  const o = document.getElementById(e);
5097
5094
  }
5098
5095
  }, [n, e]), null;
5099
- }, sd = "DialogDescriptionWarning", id = ({ contentRef: e, descriptionId: t }) => {
5100
- const o = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Hs(sd).contentName}}.`;
5096
+ }, rd = "DialogDescriptionWarning", sd = ({ contentRef: e, descriptionId: t }) => {
5097
+ const o = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Hs(rd).contentName}}.`;
5101
5098
  return d.useEffect(() => {
5102
5099
  var a;
5103
5100
  const i = (a = e.current) == null ? void 0 : a.getAttribute("aria-describedby");
@@ -5105,20 +5102,20 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
5105
5102
  const r = document.getElementById(t);
5106
5103
  }
5107
5104
  }, [o, e, t]), null;
5108
- }, ad = Is, ld = Ms, cd = ks, ud = js, dd = Os, fd = zs, hd = Vs, Us = $s;
5109
- function jf({ ...e }) {
5110
- return /* @__PURE__ */ g.jsx(ad, { "data-slot": "dialog", ...e });
5105
+ }, id = Is, ad = Ms, ld = js, cd = ks, ud = Os, dd = _s, fd = Vs, Us = $s;
5106
+ function kf({ ...e }) {
5107
+ return /* @__PURE__ */ g.jsx(id, { "data-slot": "dialog", ...e });
5111
5108
  }
5112
5109
  function Of({ ...e }) {
5113
- return /* @__PURE__ */ g.jsx(ld, { "data-slot": "dialog-trigger", ...e });
5110
+ return /* @__PURE__ */ g.jsx(ad, { "data-slot": "dialog-trigger", ...e });
5114
5111
  }
5115
- function pd({ ...e }) {
5116
- return /* @__PURE__ */ g.jsx(cd, { "data-slot": "dialog-portal", ...e });
5112
+ function hd({ ...e }) {
5113
+ return /* @__PURE__ */ g.jsx(ld, { "data-slot": "dialog-portal", ...e });
5117
5114
  }
5118
- function _f({ ...e }) {
5115
+ function zf({ ...e }) {
5119
5116
  return /* @__PURE__ */ g.jsx(Us, { "data-slot": "dialog-close", ...e });
5120
5117
  }
5121
- function md({ className: e, backdrop: t, ...n }) {
5118
+ function pd({ className: e, backdrop: t, ...n }) {
5122
5119
  let o = "";
5123
5120
  switch (t) {
5124
5121
  case "transparent":
@@ -5132,7 +5129,7 @@ function md({ className: e, backdrop: t, ...n }) {
5132
5129
  break;
5133
5130
  }
5134
5131
  return /* @__PURE__ */ g.jsx(
5135
- ud,
5132
+ cd,
5136
5133
  {
5137
5134
  "data-slot": "dialog-overlay",
5138
5135
  className: de(
@@ -5144,32 +5141,39 @@ function md({ className: e, backdrop: t, ...n }) {
5144
5141
  }
5145
5142
  );
5146
5143
  }
5147
- const zf = d.forwardRef(
5148
- ({ className: e, children: t, showCloseButton: n = !0, backdrop: o = "opaque", ...i }, a) => /* @__PURE__ */ g.jsx(ua, { children: /* @__PURE__ */ g.jsxs(pd, { "data-slot": "dialog-portal", children: [
5149
- /* @__PURE__ */ g.jsx(md, { backdrop: o }),
5144
+ const _f = d.forwardRef(
5145
+ ({ className: e, children: t, showCloseButton: n = !0, disabled: o = !1, backdrop: i = "opaque", ...a }, r) => /* @__PURE__ */ g.jsx(ua, { children: /* @__PURE__ */ g.jsxs(hd, { "data-slot": "dialog-portal", children: [
5146
+ /* @__PURE__ */ g.jsx(pd, { backdrop: i }),
5150
5147
  /* @__PURE__ */ g.jsxs(
5151
- dd,
5148
+ ud,
5152
5149
  {
5153
5150
  "data-slot": "dialog-content",
5154
- ref: a,
5151
+ ref: r,
5155
5152
  className: de(
5156
5153
  "bg-content1 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg p-6 shadow-lg duration-200 sm:max-w-lg",
5157
5154
  e
5158
5155
  ),
5159
- ...i,
5156
+ ...a,
5160
5157
  children: [
5161
5158
  t,
5162
- n && /* @__PURE__ */ g.jsxs(
5163
- Us,
5159
+ n && /* @__PURE__ */ g.jsx(Us, { "data-slot": "dialog-close", asChild: !0, className: "absolute top-3 right-4 disabled:pointer-events-none", children: /* @__PURE__ */ g.jsx("div", { children: /* @__PURE__ */ g.jsxs(
5160
+ da,
5164
5161
  {
5165
- "data-slot": "dialog-close",
5166
- className: "cursor-pointer ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
5162
+ isIconOnly: !0,
5163
+ variant: "light",
5164
+ radius: "full",
5165
+ "aria-label": "Close",
5166
+ disabled: o,
5167
+ className: "p-0 w-[36px] h-[36px] min-w-auto bg-default-100 hover:bg-default-200 text-default-500 hover:text-default-600 dark:bg-default-100 dark:hover:bg-default-200 dark:text-default-500 dark:hover:text-default-600 disabled:opacity-50 disabled:pointer-events-none",
5167
5168
  children: [
5168
- /* @__PURE__ */ g.jsx(Su, {}),
5169
+ /* @__PURE__ */ g.jsxs("svg", { width: "20", height: "20", fill: "currentColor", role: "img", "aria-hidden": "true", children: [
5170
+ /* @__PURE__ */ g.jsx("path", { fill: "none", d: "M0 0h21v21H0z" }),
5171
+ /* @__PURE__ */ g.jsx("path", { d: "m12.12 10 4.07-4.06a1.5 1.5 0 1 0-2.11-2.12L10 7.88 5.94 3.81a1.5 1.5 0 1 0-2.12 2.12L7.88 10l-4.07 4.06a1.5 1.5 0 0 0 0 2.12 1.51 1.51 0 0 0 2.13 0L10 12.12l4.06 4.07a1.45 1.45 0 0 0 1.06.44 1.5 1.5 0 0 0 1.06-2.56Z" })
5172
+ ] }),
5169
5173
  /* @__PURE__ */ g.jsx("span", { className: "sr-only", children: "Close" })
5170
5174
  ]
5171
5175
  }
5172
- )
5176
+ ) }) })
5173
5177
  ]
5174
5178
  }
5175
5179
  )
@@ -5182,12 +5186,12 @@ function Vf({ className: e, ...t }) {
5182
5186
  return /* @__PURE__ */ g.jsx("div", { "data-slot": "dialog-footer", className: de("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e), ...t });
5183
5187
  }
5184
5188
  function Ff({ className: e, ...t }) {
5185
- return /* @__PURE__ */ g.jsx(fd, { "data-slot": "dialog-title", className: de("text-lg leading-none font-semibold", e), ...t });
5189
+ return /* @__PURE__ */ g.jsx(dd, { "data-slot": "dialog-title", className: de("text-lg leading-none font-semibold", e), ...t });
5186
5190
  }
5187
5191
  function $f({ className: e, ...t }) {
5188
- return /* @__PURE__ */ g.jsx(hd, { "data-slot": "dialog-description", className: de("text-muted-foreground text-sm", e), ...t });
5192
+ return /* @__PURE__ */ g.jsx(fd, { "data-slot": "dialog-description", className: de("text-muted-foreground text-sm", e), ...t });
5189
5193
  }
5190
- function gd(e) {
5194
+ function md(e) {
5191
5195
  const t = d.useRef({ value: e, previous: e });
5192
5196
  return d.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
5193
5197
  }
@@ -5203,7 +5207,7 @@ var Gs = Object.freeze({
5203
5207
  clip: "rect(0, 0, 0, 0)",
5204
5208
  whiteSpace: "nowrap",
5205
5209
  wordWrap: "normal"
5206
- }), vd = "VisuallyHidden", Ks = d.forwardRef(
5210
+ }), gd = "VisuallyHidden", Ks = d.forwardRef(
5207
5211
  (e, t) => /* @__PURE__ */ g.jsx(
5208
5212
  ee.span,
5209
5213
  {
@@ -5213,15 +5217,15 @@ var Gs = Object.freeze({
5213
5217
  }
5214
5218
  )
5215
5219
  );
5216
- Ks.displayName = vd;
5220
+ Ks.displayName = gd;
5217
5221
  var Wf = Ks;
5218
5222
  function cr(e, [t, n]) {
5219
5223
  return Math.min(n, Math.max(t, e));
5220
5224
  }
5221
- var yd = [" ", "Enter", "ArrowUp", "ArrowDown"], xd = [" ", "Enter"], Qe = "Select", [on, rn, Sd] = Fl(Qe), [ht, Hf] = Xt(Qe, [
5222
- Sd,
5225
+ var vd = [" ", "Enter", "ArrowUp", "ArrowDown"], yd = [" ", "Enter"], Qe = "Select", [nn, on, xd] = $l(Qe), [ht, Hf] = Xt(Qe, [
5226
+ xd,
5223
5227
  Ur
5224
- ]), sn = Ur(), [wd, $e] = ht(Qe), [bd, Pd] = ht(Qe), Xs = (e) => {
5228
+ ]), rn = Ur(), [Sd, $e] = ht(Qe), [wd, bd] = ht(Qe), Xs = (e) => {
5225
5229
  const {
5226
5230
  __scopeSelect: t,
5227
5231
  children: n,
@@ -5237,19 +5241,19 @@ var yd = [" ", "Enter", "ArrowUp", "ArrowDown"], xd = [" ", "Enter"], Qe = "Sele
5237
5241
  disabled: h,
5238
5242
  required: m,
5239
5243
  form: x
5240
- } = e, p = sn(t), [v, y] = d.useState(null), [S, w] = d.useState(null), [C, A] = d.useState(!1), D = Wl(c), [P, F] = In({
5244
+ } = e, p = rn(t), [v, y] = d.useState(null), [S, w] = d.useState(null), [C, A] = d.useState(!1), D = Hl(c), [P, F] = Dn({
5241
5245
  prop: o,
5242
5246
  defaultProp: i ?? !1,
5243
5247
  onChange: a,
5244
5248
  caller: Qe
5245
- }), [L, z] = In({
5249
+ }), [L, _] = Dn({
5246
5250
  prop: r,
5247
5251
  defaultProp: s,
5248
5252
  onChange: l,
5249
5253
  caller: Qe
5250
5254
  }), H = d.useRef(null), O = v ? x || !!v.closest("form") : !0, [B, X] = d.useState(/* @__PURE__ */ new Set()), K = Array.from(B).map((U) => U.props.value).join(";");
5251
- return /* @__PURE__ */ g.jsx(gc, { ...p, children: /* @__PURE__ */ g.jsxs(
5252
- wd,
5255
+ return /* @__PURE__ */ g.jsx(vc, { ...p, children: /* @__PURE__ */ g.jsxs(
5256
+ Sd,
5253
5257
  {
5254
5258
  required: m,
5255
5259
  scope: t,
@@ -5261,15 +5265,15 @@ var yd = [" ", "Enter", "ArrowUp", "ArrowDown"], xd = [" ", "Enter"], Qe = "Sele
5261
5265
  onValueNodeHasChildrenChange: A,
5262
5266
  contentId: ut(),
5263
5267
  value: L,
5264
- onValueChange: z,
5268
+ onValueChange: _,
5265
5269
  open: P,
5266
5270
  onOpenChange: F,
5267
5271
  dir: D,
5268
5272
  triggerPointerDownPosRef: H,
5269
5273
  disabled: h,
5270
5274
  children: [
5271
- /* @__PURE__ */ g.jsx(on.Provider, { scope: t, children: /* @__PURE__ */ g.jsx(
5272
- bd,
5275
+ /* @__PURE__ */ g.jsx(nn.Provider, { scope: t, children: /* @__PURE__ */ g.jsx(
5276
+ wd,
5273
5277
  {
5274
5278
  scope: e.__scopeSelect,
5275
5279
  onNativeOptionAdd: d.useCallback((U) => {
@@ -5293,7 +5297,7 @@ var yd = [" ", "Enter", "ArrowUp", "ArrowDown"], xd = [" ", "Enter"], Qe = "Sele
5293
5297
  name: u,
5294
5298
  autoComplete: f,
5295
5299
  value: L,
5296
- onChange: (U) => z(U.target.value),
5300
+ onChange: (U) => _(U.target.value),
5297
5301
  disabled: h,
5298
5302
  form: x,
5299
5303
  children: [
@@ -5310,7 +5314,7 @@ var yd = [" ", "Enter", "ArrowUp", "ArrowDown"], xd = [" ", "Enter"], Qe = "Sele
5310
5314
  Xs.displayName = Qe;
5311
5315
  var Ys = "SelectTrigger", qs = d.forwardRef(
5312
5316
  (e, t) => {
5313
- const { __scopeSelect: n, disabled: o = !1, ...i } = e, a = sn(n), r = $e(Ys, n), s = r.disabled || o, l = ae(t, r.onTriggerChange), c = rn(n), u = d.useRef("touch"), [f, h, m] = wi((p) => {
5317
+ const { __scopeSelect: n, disabled: o = !1, ...i } = e, a = rn(n), r = $e(Ys, n), s = r.disabled || o, l = ae(t, r.onTriggerChange), c = on(n), u = d.useRef("touch"), [f, h, m] = wi((p) => {
5314
5318
  const v = c().filter((w) => !w.disabled), y = v.find((w) => w.value === r.value), S = bi(v, p, y);
5315
5319
  S !== void 0 && r.onValueChange(S.value);
5316
5320
  }), x = (p) => {
@@ -5319,7 +5323,7 @@ var Ys = "SelectTrigger", qs = d.forwardRef(
5319
5323
  y: Math.round(p.pageY)
5320
5324
  });
5321
5325
  };
5322
- return /* @__PURE__ */ g.jsx(vc, { asChild: !0, ...a, children: /* @__PURE__ */ g.jsx(
5326
+ return /* @__PURE__ */ g.jsx(yc, { asChild: !0, ...a, children: /* @__PURE__ */ g.jsx(
5323
5327
  ee.button,
5324
5328
  {
5325
5329
  type: "button",
@@ -5345,7 +5349,7 @@ var Ys = "SelectTrigger", qs = d.forwardRef(
5345
5349
  }),
5346
5350
  onKeyDown: te(i.onKeyDown, (p) => {
5347
5351
  const v = f.current !== "";
5348
- !(p.ctrlKey || p.altKey || p.metaKey) && p.key.length === 1 && h(p.key), !(v && p.key === " ") && yd.includes(p.key) && (x(), p.preventDefault());
5352
+ !(p.ctrlKey || p.altKey || p.metaKey) && p.key.length === 1 && h(p.key), !(v && p.key === " ") && vd.includes(p.key) && (x(), p.preventDefault());
5349
5353
  })
5350
5354
  }
5351
5355
  ) });
@@ -5369,15 +5373,15 @@ var Zs = "SelectValue", Js = d.forwardRef(
5369
5373
  }
5370
5374
  );
5371
5375
  Js.displayName = Zs;
5372
- var Cd = "SelectIcon", Qs = d.forwardRef(
5376
+ var Pd = "SelectIcon", Qs = d.forwardRef(
5373
5377
  (e, t) => {
5374
5378
  const { __scopeSelect: n, children: o, ...i } = e;
5375
5379
  return /* @__PURE__ */ g.jsx(ee.span, { "aria-hidden": !0, ...i, ref: t, children: o || "▼" });
5376
5380
  }
5377
5381
  );
5378
- Qs.displayName = Cd;
5379
- var Ed = "SelectPortal", ei = (e) => /* @__PURE__ */ g.jsx(Un, { asChild: !0, ...e });
5380
- ei.displayName = Ed;
5382
+ Qs.displayName = Pd;
5383
+ var Cd = "SelectPortal", ei = (e) => /* @__PURE__ */ g.jsx(Hn, { asChild: !0, ...e });
5384
+ ei.displayName = Cd;
5381
5385
  var et = "SelectContent", ti = d.forwardRef(
5382
5386
  (e, t) => {
5383
5387
  const n = $e(et, e.__scopeSelect), [o, i] = d.useState();
@@ -5385,8 +5389,8 @@ var et = "SelectContent", ti = d.forwardRef(
5385
5389
  i(new DocumentFragment());
5386
5390
  }, []), !n.open) {
5387
5391
  const a = o;
5388
- return a ? Vn.createPortal(
5389
- /* @__PURE__ */ g.jsx(ni, { scope: e.__scopeSelect, children: /* @__PURE__ */ g.jsx(on.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ g.jsx("div", { children: e.children }) }) }),
5392
+ return a ? Bn.createPortal(
5393
+ /* @__PURE__ */ g.jsx(ni, { scope: e.__scopeSelect, children: /* @__PURE__ */ g.jsx(nn.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ g.jsx("div", { children: e.children }) }) }),
5390
5394
  a
5391
5395
  ) : null;
5392
5396
  }
@@ -5394,7 +5398,7 @@ var et = "SelectContent", ti = d.forwardRef(
5394
5398
  }
5395
5399
  );
5396
5400
  ti.displayName = et;
5397
- var Ce = 10, [ni, We] = ht(et), Rd = "SelectContentImpl", Td = Pt("SelectContent.RemoveScroll"), oi = d.forwardRef(
5401
+ var Ce = 10, [ni, We] = ht(et), Ed = "SelectContentImpl", Rd = Pt("SelectContent.RemoveScroll"), oi = d.forwardRef(
5398
5402
  (e, t) => {
5399
5403
  const {
5400
5404
  __scopeSelect: n,
@@ -5416,17 +5420,17 @@ var Ce = 10, [ni, We] = ht(et), Rd = "SelectContentImpl", Td = Pt("SelectContent
5416
5420
  avoidCollisions: v,
5417
5421
  //
5418
5422
  ...y
5419
- } = e, S = $e(et, n), [w, C] = d.useState(null), [A, D] = d.useState(null), P = ae(t, (b) => C(b)), [F, L] = d.useState(null), [z, H] = d.useState(
5423
+ } = e, S = $e(et, n), [w, C] = d.useState(null), [A, D] = d.useState(null), P = ae(t, (b) => C(b)), [F, L] = d.useState(null), [_, H] = d.useState(
5420
5424
  null
5421
- ), O = rn(n), [B, X] = d.useState(!1), K = d.useRef(!1);
5425
+ ), O = on(n), [B, X] = d.useState(!1), K = d.useRef(!1);
5422
5426
  d.useEffect(() => {
5423
5427
  if (w) return ts(w);
5424
5428
  }, [w]), Fr();
5425
5429
  const U = d.useCallback(
5426
5430
  (b) => {
5427
- const [R, ..._] = O().map((V) => V.ref.current), [j] = _.slice(-1), $ = document.activeElement;
5431
+ const [R, ...z] = O().map((V) => V.ref.current), [k] = z.slice(-1), $ = document.activeElement;
5428
5432
  for (const V of b)
5429
- if (V === $ || (V == null || V.scrollIntoView({ block: "nearest" }), V === R && A && (A.scrollTop = 0), V === j && A && (A.scrollTop = A.scrollHeight), V == null || V.focus(), document.activeElement !== $)) return;
5433
+ if (V === $ || (V == null || V.scrollIntoView({ block: "nearest" }), V === R && A && (A.scrollTop = 0), V === k && A && (A.scrollTop = A.scrollHeight), V == null || V.focus(), document.activeElement !== $)) return;
5430
5434
  },
5431
5435
  [O, A]
5432
5436
  ), q = d.useCallback(
@@ -5440,17 +5444,17 @@ var Ce = 10, [ni, We] = ht(et), Rd = "SelectContentImpl", Td = Pt("SelectContent
5440
5444
  d.useEffect(() => {
5441
5445
  if (w) {
5442
5446
  let b = { x: 0, y: 0 };
5443
- const R = (j) => {
5447
+ const R = (k) => {
5444
5448
  var $, V;
5445
5449
  b = {
5446
- x: Math.abs(Math.round(j.pageX) - ((($ = re.current) == null ? void 0 : $.x) ?? 0)),
5447
- y: Math.abs(Math.round(j.pageY) - (((V = re.current) == null ? void 0 : V.y) ?? 0))
5450
+ x: Math.abs(Math.round(k.pageX) - ((($ = re.current) == null ? void 0 : $.x) ?? 0)),
5451
+ y: Math.abs(Math.round(k.pageY) - (((V = re.current) == null ? void 0 : V.y) ?? 0))
5448
5452
  };
5449
- }, _ = (j) => {
5450
- b.x <= 10 && b.y <= 10 ? j.preventDefault() : w.contains(j.target) || J(!1), document.removeEventListener("pointermove", R), re.current = null;
5453
+ }, z = (k) => {
5454
+ b.x <= 10 && b.y <= 10 ? k.preventDefault() : w.contains(k.target) || J(!1), document.removeEventListener("pointermove", R), re.current = null;
5451
5455
  };
5452
- return re.current !== null && (document.addEventListener("pointermove", R), document.addEventListener("pointerup", _, { capture: !0, once: !0 })), () => {
5453
- document.removeEventListener("pointermove", R), document.removeEventListener("pointerup", _, { capture: !0 });
5456
+ return re.current !== null && (document.addEventListener("pointermove", R), document.addEventListener("pointerup", z, { capture: !0, once: !0 })), () => {
5457
+ document.removeEventListener("pointermove", R), document.removeEventListener("pointerup", z, { capture: !0 });
5454
5458
  };
5455
5459
  }
5456
5460
  }, [w, J, re]), d.useEffect(() => {
@@ -5460,21 +5464,21 @@ var Ce = 10, [ni, We] = ht(et), Rd = "SelectContentImpl", Td = Pt("SelectContent
5460
5464
  };
5461
5465
  }, [J]);
5462
5466
  const [ye, ne] = wi((b) => {
5463
- const R = O().filter(($) => !$.disabled), _ = R.find(($) => $.ref.current === document.activeElement), j = bi(R, b, _);
5464
- j && setTimeout(() => j.ref.current.focus());
5467
+ const R = O().filter(($) => !$.disabled), z = R.find(($) => $.ref.current === document.activeElement), k = bi(R, b, z);
5468
+ k && setTimeout(() => k.ref.current.focus());
5465
5469
  }), ue = d.useCallback(
5466
- (b, R, _) => {
5467
- const j = !K.current && !_;
5468
- (S.value !== void 0 && S.value === R || j) && (L(b), j && (K.current = !0));
5470
+ (b, R, z) => {
5471
+ const k = !K.current && !z;
5472
+ (S.value !== void 0 && S.value === R || k) && (L(b), k && (K.current = !0));
5469
5473
  },
5470
5474
  [S.value]
5471
5475
  ), E = d.useCallback(() => w == null ? void 0 : w.focus(), [w]), I = d.useCallback(
5472
- (b, R, _) => {
5473
- const j = !K.current && !_;
5474
- (S.value !== void 0 && S.value === R || j) && H(b);
5476
+ (b, R, z) => {
5477
+ const k = !K.current && !z;
5478
+ (S.value !== void 0 && S.value === R || k) && H(b);
5475
5479
  },
5476
5480
  [S.value]
5477
- ), M = o === "popper" ? kn : ri, N = M === kn ? {
5481
+ ), M = o === "popper" ? Ln : ri, N = M === Ln ? {
5478
5482
  side: s,
5479
5483
  sideOffset: l,
5480
5484
  align: c,
@@ -5498,12 +5502,12 @@ var Ce = 10, [ni, We] = ht(et), Rd = "SelectContentImpl", Td = Pt("SelectContent
5498
5502
  onItemLeave: E,
5499
5503
  itemTextRefCallback: I,
5500
5504
  focusSelectedItem: q,
5501
- selectedItemText: z,
5505
+ selectedItemText: _,
5502
5506
  position: o,
5503
5507
  isPositioned: B,
5504
5508
  searchRef: ye,
5505
- children: /* @__PURE__ */ g.jsx(Gn, { as: Td, allowPinchZoom: !0, children: /* @__PURE__ */ g.jsx(
5506
- $n,
5509
+ children: /* @__PURE__ */ g.jsx(Un, { as: Rd, allowPinchZoom: !0, children: /* @__PURE__ */ g.jsx(
5510
+ Fn,
5507
5511
  {
5508
5512
  asChild: !0,
5509
5513
  trapped: S.open,
@@ -5515,7 +5519,7 @@ var Ce = 10, [ni, We] = ht(et), Rd = "SelectContentImpl", Td = Pt("SelectContent
5515
5519
  (R = S.trigger) == null || R.focus({ preventScroll: !0 }), b.preventDefault();
5516
5520
  }),
5517
5521
  children: /* @__PURE__ */ g.jsx(
5518
- Fn,
5522
+ Vn,
5519
5523
  {
5520
5524
  asChild: !0,
5521
5525
  disableOutsidePointerEvents: !0,
@@ -5546,12 +5550,12 @@ var Ce = 10, [ni, We] = ht(et), Rd = "SelectContentImpl", Td = Pt("SelectContent
5546
5550
  onKeyDown: te(y.onKeyDown, (b) => {
5547
5551
  const R = b.ctrlKey || b.altKey || b.metaKey;
5548
5552
  if (b.key === "Tab" && b.preventDefault(), !R && b.key.length === 1 && ne(b.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(b.key)) {
5549
- let j = O().filter(($) => !$.disabled).map(($) => $.ref.current);
5550
- if (["ArrowUp", "End"].includes(b.key) && (j = j.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(b.key)) {
5551
- const $ = b.target, V = j.indexOf($);
5552
- j = j.slice(V + 1);
5553
+ let k = O().filter(($) => !$.disabled).map(($) => $.ref.current);
5554
+ if (["ArrowUp", "End"].includes(b.key) && (k = k.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(b.key)) {
5555
+ const $ = b.target, V = k.indexOf($);
5556
+ k = k.slice(V + 1);
5553
5557
  }
5554
- setTimeout(() => U(j)), b.preventDefault();
5558
+ setTimeout(() => U(k)), b.preventDefault();
5555
5559
  }
5556
5560
  })
5557
5561
  }
@@ -5564,30 +5568,30 @@ var Ce = 10, [ni, We] = ht(et), Rd = "SelectContentImpl", Td = Pt("SelectContent
5564
5568
  );
5565
5569
  }
5566
5570
  );
5567
- oi.displayName = Rd;
5568
- var Ad = "SelectItemAlignedPosition", ri = d.forwardRef((e, t) => {
5569
- const { __scopeSelect: n, onPlaced: o, ...i } = e, a = $e(et, n), r = We(et, n), [s, l] = d.useState(null), [c, u] = d.useState(null), f = ae(t, (P) => u(P)), h = rn(n), m = d.useRef(!1), x = d.useRef(!0), { viewport: p, selectedItem: v, selectedItemText: y, focusSelectedItem: S } = r, w = d.useCallback(() => {
5571
+ oi.displayName = Ed;
5572
+ var Td = "SelectItemAlignedPosition", ri = d.forwardRef((e, t) => {
5573
+ const { __scopeSelect: n, onPlaced: o, ...i } = e, a = $e(et, n), r = We(et, n), [s, l] = d.useState(null), [c, u] = d.useState(null), f = ae(t, (P) => u(P)), h = on(n), m = d.useRef(!1), x = d.useRef(!0), { viewport: p, selectedItem: v, selectedItemText: y, focusSelectedItem: S } = r, w = d.useCallback(() => {
5570
5574
  if (a.trigger && a.valueNode && s && c && p && v && y) {
5571
- const P = a.trigger.getBoundingClientRect(), F = c.getBoundingClientRect(), L = a.valueNode.getBoundingClientRect(), z = y.getBoundingClientRect();
5575
+ const P = a.trigger.getBoundingClientRect(), F = c.getBoundingClientRect(), L = a.valueNode.getBoundingClientRect(), _ = y.getBoundingClientRect();
5572
5576
  if (a.dir !== "rtl") {
5573
- const $ = z.left - F.left, V = L.left - $, G = P.left - V, T = P.width + G, k = Math.max(T, F.width), Q = window.innerWidth - Ce, se = cr(V, [
5577
+ const $ = _.left - F.left, V = L.left - $, G = P.left - V, T = P.width + G, j = Math.max(T, F.width), Q = window.innerWidth - Ce, se = cr(V, [
5574
5578
  Ce,
5575
5579
  // Prevents the content from going off the starting edge of the
5576
5580
  // viewport. It may still go off the ending edge, but this can be
5577
5581
  // controlled by the user since they may want to manage overflow in a
5578
5582
  // specific way.
5579
5583
  // https://github.com/radix-ui/primitives/issues/2049
5580
- Math.max(Ce, Q - k)
5584
+ Math.max(Ce, Q - j)
5581
5585
  ]);
5582
5586
  s.style.minWidth = T + "px", s.style.left = se + "px";
5583
5587
  } else {
5584
- const $ = F.right - z.right, V = window.innerWidth - L.right - $, G = window.innerWidth - P.right - V, T = P.width + G, k = Math.max(T, F.width), Q = window.innerWidth - Ce, se = cr(V, [
5588
+ const $ = F.right - _.right, V = window.innerWidth - L.right - $, G = window.innerWidth - P.right - V, T = P.width + G, j = Math.max(T, F.width), Q = window.innerWidth - Ce, se = cr(V, [
5585
5589
  Ce,
5586
- Math.max(Ce, Q - k)
5590
+ Math.max(Ce, Q - j)
5587
5591
  ]);
5588
5592
  s.style.minWidth = T + "px", s.style.right = se + "px";
5589
5593
  }
5590
- const H = h(), O = window.innerHeight - Ce * 2, B = p.scrollHeight, X = window.getComputedStyle(c), K = parseInt(X.borderTopWidth, 10), U = parseInt(X.paddingTop, 10), q = parseInt(X.borderBottomWidth, 10), J = parseInt(X.paddingBottom, 10), re = K + U + B + J + q, ye = Math.min(v.offsetHeight * 5, re), ne = window.getComputedStyle(p), ue = parseInt(ne.paddingTop, 10), E = parseInt(ne.paddingBottom, 10), I = P.top + P.height / 2 - Ce, M = O - I, N = v.offsetHeight / 2, b = v.offsetTop + N, R = K + U + b, _ = re - R;
5594
+ const H = h(), O = window.innerHeight - Ce * 2, B = p.scrollHeight, X = window.getComputedStyle(c), K = parseInt(X.borderTopWidth, 10), U = parseInt(X.paddingTop, 10), q = parseInt(X.borderBottomWidth, 10), J = parseInt(X.paddingBottom, 10), re = K + U + B + J + q, ye = Math.min(v.offsetHeight * 5, re), ne = window.getComputedStyle(p), ue = parseInt(ne.paddingTop, 10), E = parseInt(ne.paddingBottom, 10), I = P.top + P.height / 2 - Ce, M = O - I, N = v.offsetHeight / 2, b = v.offsetTop + N, R = K + U + b, z = re - R;
5591
5595
  if (R <= I) {
5592
5596
  const $ = H.length > 0 && v === H[H.length - 1].ref.current;
5593
5597
  s.style.bottom = "0px";
@@ -5604,7 +5608,7 @@ var Ad = "SelectItemAlignedPosition", ri = d.forwardRef((e, t) => {
5604
5608
  I,
5605
5609
  K + p.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
5606
5610
  ($ ? ue : 0) + N
5607
- ) + _;
5611
+ ) + z;
5608
5612
  s.style.height = G + "px", p.scrollTop = R - I + p.offsetTop;
5609
5613
  }
5610
5614
  s.style.margin = `${Ce}px 0`, s.style.minHeight = ye + "px", s.style.maxHeight = O + "px", o == null || o(), requestAnimationFrame(() => m.current = !0);
@@ -5633,7 +5637,7 @@ var Ad = "SelectItemAlignedPosition", ri = d.forwardRef((e, t) => {
5633
5637
  [w, S]
5634
5638
  );
5635
5639
  return /* @__PURE__ */ g.jsx(
5636
- Id,
5640
+ Dd,
5637
5641
  {
5638
5642
  scope: n,
5639
5643
  contentWrapper: s,
@@ -5669,16 +5673,16 @@ var Ad = "SelectItemAlignedPosition", ri = d.forwardRef((e, t) => {
5669
5673
  }
5670
5674
  );
5671
5675
  });
5672
- ri.displayName = Ad;
5673
- var Dd = "SelectPopperPosition", kn = d.forwardRef((e, t) => {
5676
+ ri.displayName = Td;
5677
+ var Ad = "SelectPopperPosition", Ln = d.forwardRef((e, t) => {
5674
5678
  const {
5675
5679
  __scopeSelect: n,
5676
5680
  align: o = "start",
5677
5681
  collisionPadding: i = Ce,
5678
5682
  ...a
5679
- } = e, r = sn(n);
5683
+ } = e, r = rn(n);
5680
5684
  return /* @__PURE__ */ g.jsx(
5681
- yc,
5685
+ xc,
5682
5686
  {
5683
5687
  ...r,
5684
5688
  ...a,
@@ -5698,8 +5702,8 @@ var Dd = "SelectPopperPosition", kn = d.forwardRef((e, t) => {
5698
5702
  }
5699
5703
  );
5700
5704
  });
5701
- kn.displayName = Dd;
5702
- var [Id, eo] = ht(et, {}), jn = "SelectViewport", si = d.forwardRef(
5705
+ Ln.displayName = Ad;
5706
+ var [Dd, eo] = ht(et, {}), jn = "SelectViewport", si = d.forwardRef(
5703
5707
  (e, t) => {
5704
5708
  const { __scopeSelect: n, nonce: o, ...i } = e, a = We(jn, n), r = eo(jn, n), s = ae(t, a.onViewportChange), l = d.useRef(0);
5705
5709
  return /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
@@ -5712,7 +5716,7 @@ var [Id, eo] = ht(et, {}), jn = "SelectViewport", si = d.forwardRef(
5712
5716
  nonce: o
5713
5717
  }
5714
5718
  ),
5715
- /* @__PURE__ */ g.jsx(on.Slot, { scope: n, children: /* @__PURE__ */ g.jsx(
5719
+ /* @__PURE__ */ g.jsx(nn.Slot, { scope: n, children: /* @__PURE__ */ g.jsx(
5716
5720
  ee.div,
5717
5721
  {
5718
5722
  "data-radix-select-viewport": "",
@@ -5752,21 +5756,21 @@ var [Id, eo] = ht(et, {}), jn = "SelectViewport", si = d.forwardRef(
5752
5756
  }
5753
5757
  );
5754
5758
  si.displayName = jn;
5755
- var ii = "SelectGroup", [Nd, Md] = ht(ii), ai = d.forwardRef(
5759
+ var ii = "SelectGroup", [Id, Nd] = ht(ii), ai = d.forwardRef(
5756
5760
  (e, t) => {
5757
5761
  const { __scopeSelect: n, ...o } = e, i = ut();
5758
- return /* @__PURE__ */ g.jsx(Nd, { scope: n, id: i, children: /* @__PURE__ */ g.jsx(ee.div, { role: "group", "aria-labelledby": i, ...o, ref: t }) });
5762
+ return /* @__PURE__ */ g.jsx(Id, { scope: n, id: i, children: /* @__PURE__ */ g.jsx(ee.div, { role: "group", "aria-labelledby": i, ...o, ref: t }) });
5759
5763
  }
5760
5764
  );
5761
5765
  ai.displayName = ii;
5762
5766
  var li = "SelectLabel", ci = d.forwardRef(
5763
5767
  (e, t) => {
5764
- const { __scopeSelect: n, ...o } = e, i = Md(li, n);
5768
+ const { __scopeSelect: n, ...o } = e, i = Nd(li, n);
5765
5769
  return /* @__PURE__ */ g.jsx(ee.div, { id: i.id, ...o, ref: t });
5766
5770
  }
5767
5771
  );
5768
5772
  ci.displayName = li;
5769
- var Ut = "SelectItem", [Ld, ui] = ht(Ut), di = d.forwardRef(
5773
+ var Ut = "SelectItem", [Md, ui] = ht(Ut), di = d.forwardRef(
5770
5774
  (e, t) => {
5771
5775
  const {
5772
5776
  __scopeSelect: n,
@@ -5788,7 +5792,7 @@ var Ut = "SelectItem", [Ld, ui] = ht(Ut), di = d.forwardRef(
5788
5792
  "A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
5789
5793
  );
5790
5794
  return /* @__PURE__ */ g.jsx(
5791
- Ld,
5795
+ Md,
5792
5796
  {
5793
5797
  scope: n,
5794
5798
  value: o,
@@ -5799,7 +5803,7 @@ var Ut = "SelectItem", [Ld, ui] = ht(Ut), di = d.forwardRef(
5799
5803
  f((w) => w || ((S == null ? void 0 : S.textContent) ?? "").trim());
5800
5804
  }, []),
5801
5805
  children: /* @__PURE__ */ g.jsx(
5802
- on.ItemSlot,
5806
+ nn.ItemSlot,
5803
5807
  {
5804
5808
  scope: n,
5805
5809
  value: o,
@@ -5839,7 +5843,7 @@ var Ut = "SelectItem", [Ld, ui] = ht(Ut), di = d.forwardRef(
5839
5843
  }),
5840
5844
  onKeyDown: te(r.onKeyDown, (S) => {
5841
5845
  var C;
5842
- ((C = l.searchRef) == null ? void 0 : C.current) !== "" && S.key === " " || (xd.includes(S.key) && y(), S.key === " " && S.preventDefault());
5846
+ ((C = l.searchRef) == null ? void 0 : C.current) !== "" && S.key === " " || (yd.includes(S.key) && y(), S.key === " " && S.preventDefault());
5843
5847
  })
5844
5848
  }
5845
5849
  )
@@ -5852,7 +5856,7 @@ var Ut = "SelectItem", [Ld, ui] = ht(Ut), di = d.forwardRef(
5852
5856
  di.displayName = Ut;
5853
5857
  var yt = "SelectItemText", fi = d.forwardRef(
5854
5858
  (e, t) => {
5855
- const { __scopeSelect: n, className: o, style: i, ...a } = e, r = $e(yt, n), s = We(yt, n), l = ui(yt, n), c = Pd(yt, n), [u, f] = d.useState(null), h = ae(
5859
+ const { __scopeSelect: n, className: o, style: i, ...a } = e, r = $e(yt, n), s = We(yt, n), l = ui(yt, n), c = bd(yt, n), [u, f] = d.useState(null), h = ae(
5856
5860
  t,
5857
5861
  (y) => f(y),
5858
5862
  l.onItemTextChange,
@@ -5866,7 +5870,7 @@ var yt = "SelectItemText", fi = d.forwardRef(
5866
5870
  ), { onNativeOptionAdd: p, onNativeOptionRemove: v } = c;
5867
5871
  return fe(() => (p(x), () => v(x)), [p, v, x]), /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
5868
5872
  /* @__PURE__ */ g.jsx(ee.span, { id: l.textId, ...a, ref: h }),
5869
- l.isSelected && r.valueNode && !r.valueNodeHasChildren ? Vn.createPortal(a.children, r.valueNode) : null
5873
+ l.isSelected && r.valueNode && !r.valueNodeHasChildren ? Bn.createPortal(a.children, r.valueNode) : null
5870
5874
  ] });
5871
5875
  }
5872
5876
  );
@@ -5878,8 +5882,8 @@ var hi = "SelectItemIndicator", pi = d.forwardRef(
5878
5882
  }
5879
5883
  );
5880
5884
  pi.displayName = hi;
5881
- var On = "SelectScrollUpButton", mi = d.forwardRef((e, t) => {
5882
- const n = We(On, e.__scopeSelect), o = eo(On, e.__scopeSelect), [i, a] = d.useState(!1), r = ae(t, o.onScrollButtonChange);
5885
+ var kn = "SelectScrollUpButton", mi = d.forwardRef((e, t) => {
5886
+ const n = We(kn, e.__scopeSelect), o = eo(kn, e.__scopeSelect), [i, a] = d.useState(!1), r = ae(t, o.onScrollButtonChange);
5883
5887
  return fe(() => {
5884
5888
  if (n.viewport && n.isPositioned) {
5885
5889
  let s = function() {
@@ -5901,9 +5905,9 @@ var On = "SelectScrollUpButton", mi = d.forwardRef((e, t) => {
5901
5905
  }
5902
5906
  ) : null;
5903
5907
  });
5904
- mi.displayName = On;
5905
- var _n = "SelectScrollDownButton", gi = d.forwardRef((e, t) => {
5906
- const n = We(_n, e.__scopeSelect), o = eo(_n, e.__scopeSelect), [i, a] = d.useState(!1), r = ae(t, o.onScrollButtonChange);
5908
+ mi.displayName = kn;
5909
+ var On = "SelectScrollDownButton", gi = d.forwardRef((e, t) => {
5910
+ const n = We(On, e.__scopeSelect), o = eo(On, e.__scopeSelect), [i, a] = d.useState(!1), r = ae(t, o.onScrollButtonChange);
5907
5911
  return fe(() => {
5908
5912
  if (n.viewport && n.isPositioned) {
5909
5913
  let s = function() {
@@ -5925,9 +5929,9 @@ var _n = "SelectScrollDownButton", gi = d.forwardRef((e, t) => {
5925
5929
  }
5926
5930
  ) : null;
5927
5931
  });
5928
- gi.displayName = _n;
5932
+ gi.displayName = On;
5929
5933
  var vi = d.forwardRef((e, t) => {
5930
- const { __scopeSelect: n, onAutoScroll: o, ...i } = e, a = We("SelectScrollButton", n), r = d.useRef(null), s = rn(n), l = d.useCallback(() => {
5934
+ const { __scopeSelect: n, onAutoScroll: o, ...i } = e, a = We("SelectScrollButton", n), r = d.useRef(null), s = on(n), l = d.useCallback(() => {
5931
5935
  r.current !== null && (window.clearInterval(r.current), r.current = null);
5932
5936
  }, []);
5933
5937
  return d.useEffect(() => () => l(), [l]), fe(() => {
@@ -5953,23 +5957,23 @@ var vi = d.forwardRef((e, t) => {
5953
5957
  })
5954
5958
  }
5955
5959
  );
5956
- }), kd = "SelectSeparator", yi = d.forwardRef(
5960
+ }), Ld = "SelectSeparator", yi = d.forwardRef(
5957
5961
  (e, t) => {
5958
5962
  const { __scopeSelect: n, ...o } = e;
5959
5963
  return /* @__PURE__ */ g.jsx(ee.div, { "aria-hidden": !0, ...o, ref: t });
5960
5964
  }
5961
5965
  );
5962
- yi.displayName = kd;
5966
+ yi.displayName = Ld;
5963
5967
  var zn = "SelectArrow", jd = d.forwardRef(
5964
5968
  (e, t) => {
5965
- const { __scopeSelect: n, ...o } = e, i = sn(n), a = $e(zn, n), r = We(zn, n);
5966
- return a.open && r.position === "popper" ? /* @__PURE__ */ g.jsx(xc, { ...i, ...o, ref: t }) : null;
5969
+ const { __scopeSelect: n, ...o } = e, i = rn(n), a = $e(zn, n), r = We(zn, n);
5970
+ return a.open && r.position === "popper" ? /* @__PURE__ */ g.jsx(Sc, { ...i, ...o, ref: t }) : null;
5967
5971
  }
5968
5972
  );
5969
5973
  jd.displayName = zn;
5970
- var Od = "SelectBubbleInput", xi = d.forwardRef(
5974
+ var kd = "SelectBubbleInput", xi = d.forwardRef(
5971
5975
  ({ __scopeSelect: e, value: t, ...n }, o) => {
5972
- const i = d.useRef(null), a = ae(o, i), r = gd(t);
5976
+ const i = d.useRef(null), a = ae(o, i), r = md(t);
5973
5977
  return d.useEffect(() => {
5974
5978
  const s = i.current;
5975
5979
  if (!s) return;
@@ -5992,7 +5996,7 @@ var Od = "SelectBubbleInput", xi = d.forwardRef(
5992
5996
  );
5993
5997
  }
5994
5998
  );
5995
- xi.displayName = Od;
5999
+ xi.displayName = kd;
5996
6000
  function Si(e) {
5997
6001
  return e === "" || e === void 0;
5998
6002
  }
@@ -6012,25 +6016,25 @@ function wi(e) {
6012
6016
  }
6013
6017
  function bi(e, t, n) {
6014
6018
  const i = t.length > 1 && Array.from(t).every((c) => c === t[0]) ? t[0] : t, a = n ? e.indexOf(n) : -1;
6015
- let r = _d(e, Math.max(a, 0));
6019
+ let r = Od(e, Math.max(a, 0));
6016
6020
  i.length === 1 && (r = r.filter((c) => c !== n));
6017
6021
  const l = r.find(
6018
6022
  (c) => c.textValue.toLowerCase().startsWith(i.toLowerCase())
6019
6023
  );
6020
6024
  return l !== n ? l : void 0;
6021
6025
  }
6022
- function _d(e, t) {
6026
+ function Od(e, t) {
6023
6027
  return e.map((n, o) => e[(t + o) % e.length]);
6024
6028
  }
6025
- var zd = Xs, Bd = qs, Vd = Js, Fd = Qs, $d = ei, Wd = ti, Hd = si, Ud = ai, Gd = ci, Kd = di, Xd = fi, Yd = pi, qd = mi, Zd = gi, Jd = yi;
6029
+ var zd = Xs, _d = qs, Bd = Js, Vd = Qs, Fd = ei, $d = ti, Wd = si, Hd = ai, Ud = ci, Gd = di, Kd = fi, Xd = pi, Yd = mi, qd = gi, Zd = yi;
6026
6030
  function Uf({ ...e }) {
6027
6031
  return /* @__PURE__ */ g.jsx(zd, { "data-slot": "select", ...e });
6028
6032
  }
6029
6033
  function Gf({ ...e }) {
6030
- return /* @__PURE__ */ g.jsx(Ud, { "data-slot": "select-group", ...e });
6034
+ return /* @__PURE__ */ g.jsx(Hd, { "data-slot": "select-group", ...e });
6031
6035
  }
6032
6036
  function Kf({ ...e }) {
6033
- return /* @__PURE__ */ g.jsx(Vd, { "data-slot": "select-value", ...e });
6037
+ return /* @__PURE__ */ g.jsx(Bd, { "data-slot": "select-value", ...e });
6034
6038
  }
6035
6039
  function Xf({
6036
6040
  className: e,
@@ -6039,7 +6043,7 @@ function Xf({
6039
6043
  ...o
6040
6044
  }) {
6041
6045
  return /* @__PURE__ */ g.jsxs(
6042
- Bd,
6046
+ _d,
6043
6047
  {
6044
6048
  "data-slot": "select-trigger",
6045
6049
  "data-size": t,
@@ -6050,14 +6054,14 @@ function Xf({
6050
6054
  ...o,
6051
6055
  children: [
6052
6056
  n,
6053
- /* @__PURE__ */ g.jsx(Fd, { asChild: !0, children: /* @__PURE__ */ g.jsx(us, { className: "size-4 opacity-50" }) })
6057
+ /* @__PURE__ */ g.jsx(Vd, { asChild: !0, children: /* @__PURE__ */ g.jsx(us, { className: "size-4 opacity-50" }) })
6054
6058
  ]
6055
6059
  }
6056
6060
  );
6057
6061
  }
6058
6062
  function Yf({ className: e, children: t, position: n = "popper", ...o }) {
6059
- return /* @__PURE__ */ g.jsx($d, { children: /* @__PURE__ */ g.jsxs(
6060
- Wd,
6063
+ return /* @__PURE__ */ g.jsx(Fd, { children: /* @__PURE__ */ g.jsxs(
6064
+ $d,
6061
6065
  {
6062
6066
  "data-slot": "select-content",
6063
6067
  className: de(
@@ -6068,9 +6072,9 @@ function Yf({ className: e, children: t, position: n = "popper", ...o }) {
6068
6072
  position: n,
6069
6073
  ...o,
6070
6074
  children: [
6071
- /* @__PURE__ */ g.jsx(Qd, {}),
6075
+ /* @__PURE__ */ g.jsx(Jd, {}),
6072
6076
  /* @__PURE__ */ g.jsx(
6073
- Hd,
6077
+ Wd,
6074
6078
  {
6075
6079
  className: de(
6076
6080
  "p-1",
@@ -6079,17 +6083,17 @@ function Yf({ className: e, children: t, position: n = "popper", ...o }) {
6079
6083
  children: t
6080
6084
  }
6081
6085
  ),
6082
- /* @__PURE__ */ g.jsx(ef, {})
6086
+ /* @__PURE__ */ g.jsx(Qd, {})
6083
6087
  ]
6084
6088
  }
6085
6089
  ) });
6086
6090
  }
6087
6091
  function qf({ className: e, ...t }) {
6088
- return /* @__PURE__ */ g.jsx(Gd, { "data-slot": "select-label", className: de("text-muted-foreground px-2 py-1.5 text-xs", e), ...t });
6092
+ return /* @__PURE__ */ g.jsx(Ud, { "data-slot": "select-label", className: de("text-muted-foreground px-2 py-1.5 text-xs", e), ...t });
6089
6093
  }
6090
6094
  function Zf({ className: e, children: t, ...n }) {
6091
6095
  return /* @__PURE__ */ g.jsxs(
6092
- Kd,
6096
+ Gd,
6093
6097
  {
6094
6098
  "data-slot": "select-item",
6095
6099
  className: de(
@@ -6098,15 +6102,15 @@ function Zf({ className: e, children: t, ...n }) {
6098
6102
  ),
6099
6103
  ...n,
6100
6104
  children: [
6101
- /* @__PURE__ */ g.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ g.jsx(Yd, { children: /* @__PURE__ */ g.jsx(mu, { className: "size-4" }) }) }),
6102
- /* @__PURE__ */ g.jsx(Xd, { children: t })
6105
+ /* @__PURE__ */ g.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ g.jsx(Xd, { children: /* @__PURE__ */ g.jsx(gu, { className: "size-4" }) }) }),
6106
+ /* @__PURE__ */ g.jsx(Kd, { children: t })
6103
6107
  ]
6104
6108
  }
6105
6109
  );
6106
6110
  }
6107
6111
  function Jf({ className: e, ...t }) {
6108
6112
  return /* @__PURE__ */ g.jsx(
6109
- Jd,
6113
+ Zd,
6110
6114
  {
6111
6115
  "data-slot": "select-separator",
6112
6116
  className: de("bg-border pointer-events-none -mx-1 my-1 h-px", e),
@@ -6114,20 +6118,20 @@ function Jf({ className: e, ...t }) {
6114
6118
  }
6115
6119
  );
6116
6120
  }
6117
- function Qd({ className: e, ...t }) {
6121
+ function Jd({ className: e, ...t }) {
6118
6122
  return /* @__PURE__ */ g.jsx(
6119
- qd,
6123
+ Yd,
6120
6124
  {
6121
6125
  "data-slot": "select-scroll-up-button",
6122
6126
  className: de("flex cursor-default items-center justify-center py-1", e),
6123
6127
  ...t,
6124
- children: /* @__PURE__ */ g.jsx(yu, { className: "size-4" })
6128
+ children: /* @__PURE__ */ g.jsx(xu, { className: "size-4" })
6125
6129
  }
6126
6130
  );
6127
6131
  }
6128
- function ef({ className: e, ...t }) {
6132
+ function Qd({ className: e, ...t }) {
6129
6133
  return /* @__PURE__ */ g.jsx(
6130
- Zd,
6134
+ qd,
6131
6135
  {
6132
6136
  "data-slot": "select-scroll-down-button",
6133
6137
  className: de("flex cursor-default items-center justify-center py-1", e),
@@ -6136,33 +6140,33 @@ function ef({ className: e, ...t }) {
6136
6140
  }
6137
6141
  );
6138
6142
  }
6139
- var tf = Object.defineProperty, nf = Object.defineProperties, of = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, ur = (e, t, n) => t in e ? tf(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, rf = (e, t) => {
6143
+ var ef = Object.defineProperty, tf = Object.defineProperties, nf = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, ur = (e, t, n) => t in e ? ef(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, of = (e, t) => {
6140
6144
  for (var n in t || (t = {})) Pi.call(t, n) && ur(e, n, t[n]);
6141
6145
  if (Gt) for (var n of Gt(t)) Ci.call(t, n) && ur(e, n, t[n]);
6142
6146
  return e;
6143
- }, sf = (e, t) => nf(e, of(t)), af = (e, t) => {
6147
+ }, rf = (e, t) => tf(e, nf(t)), sf = (e, t) => {
6144
6148
  var n = {};
6145
6149
  for (var o in e) Pi.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
6146
6150
  if (e != null && Gt) for (var o of Gt(e)) t.indexOf(o) < 0 && Ci.call(e, o) && (n[o] = e[o]);
6147
6151
  return n;
6148
6152
  };
6149
- function lf(e) {
6153
+ function af(e) {
6150
6154
  let t = setTimeout(e, 0), n = setTimeout(e, 10), o = setTimeout(e, 50);
6151
6155
  return [t, n, o];
6152
6156
  }
6153
- function cf(e) {
6157
+ function lf(e) {
6154
6158
  let t = d.useRef();
6155
6159
  return d.useEffect(() => {
6156
6160
  t.current = e;
6157
6161
  }), t.current;
6158
6162
  }
6159
- var uf = 18, Ei = 40, df = `${Ei}px`, ff = ["[data-lastpass-icon-root]", "com-1password-button", "[data-dashlanecreated]", '[style$="2147483647 !important;"]'].join(",");
6160
- function hf({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: n, isFocused: o }) {
6163
+ var cf = 18, Ei = 40, uf = `${Ei}px`, df = ["[data-lastpass-icon-root]", "com-1password-button", "[data-dashlanecreated]", '[style$="2147483647 !important;"]'].join(",");
6164
+ function ff({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: n, isFocused: o }) {
6161
6165
  let [i, a] = d.useState(!1), [r, s] = d.useState(!1), [l, c] = d.useState(!1), u = d.useMemo(() => n === "none" ? !1 : (n === "increase-width" || n === "experimental-no-flickering") && i && r, [i, r, n]), f = d.useCallback(() => {
6162
6166
  let h = e.current, m = t.current;
6163
6167
  if (!h || !m || l || n === "none") return;
6164
- let x = h, p = x.getBoundingClientRect().left + x.offsetWidth, v = x.getBoundingClientRect().top + x.offsetHeight / 2, y = p - uf, S = v;
6165
- document.querySelectorAll(ff).length === 0 && document.elementFromPoint(y, S) === h || (a(!0), c(!0));
6168
+ let x = h, p = x.getBoundingClientRect().left + x.offsetWidth, v = x.getBoundingClientRect().top + x.offsetHeight / 2, y = p - cf, S = v;
6169
+ document.querySelectorAll(df).length === 0 && document.elementFromPoint(y, S) === h || (a(!0), c(!0));
6166
6170
  }, [e, t, l, n]);
6167
6171
  return d.useEffect(() => {
6168
6172
  let h = e.current;
@@ -6185,42 +6189,42 @@ function hf({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: n, isFo
6185
6189
  return () => {
6186
6190
  clearTimeout(m), clearTimeout(x), clearTimeout(p), clearTimeout(v);
6187
6191
  };
6188
- }, [t, o, n, f]), { hasPWMBadge: i, willPushPWMBadge: u, PWM_BADGE_SPACE_WIDTH: df };
6192
+ }, [t, o, n, f]), { hasPWMBadge: i, willPushPWMBadge: u, PWM_BADGE_SPACE_WIDTH: uf };
6189
6193
  }
6190
- var pf = d.createContext({}), mf = d.forwardRef((e, t) => {
6191
- var n = e, { value: o, onChange: i, maxLength: a, textAlign: r = "left", pattern: s, placeholder: l, inputMode: c = "numeric", onComplete: u, pushPasswordManagerStrategy: f = "increase-width", pasteTransformer: h, containerClassName: m, noScriptCSSFallback: x = gf, render: p, children: v } = n, y = af(n, ["value", "onChange", "maxLength", "textAlign", "pattern", "placeholder", "inputMode", "onComplete", "pushPasswordManagerStrategy", "pasteTransformer", "containerClassName", "noScriptCSSFallback", "render", "children"]), S, w, C, A, D;
6192
- let [P, F] = d.useState(typeof y.defaultValue == "string" ? y.defaultValue : ""), L = o ?? P, z = cf(L), H = d.useCallback((T) => {
6194
+ var hf = d.createContext({}), pf = d.forwardRef((e, t) => {
6195
+ var n = e, { value: o, onChange: i, maxLength: a, textAlign: r = "left", pattern: s, placeholder: l, inputMode: c = "numeric", onComplete: u, pushPasswordManagerStrategy: f = "increase-width", pasteTransformer: h, containerClassName: m, noScriptCSSFallback: x = mf, render: p, children: v } = n, y = sf(n, ["value", "onChange", "maxLength", "textAlign", "pattern", "placeholder", "inputMode", "onComplete", "pushPasswordManagerStrategy", "pasteTransformer", "containerClassName", "noScriptCSSFallback", "render", "children"]), S, w, C, A, D;
6196
+ let [P, F] = d.useState(typeof y.defaultValue == "string" ? y.defaultValue : ""), L = o ?? P, _ = lf(L), H = d.useCallback((T) => {
6193
6197
  i == null || i(T), F(T);
6194
6198
  }, [i]), O = d.useMemo(() => s ? typeof s == "string" ? new RegExp(s) : s : null, [s]), B = d.useRef(null), X = d.useRef(null), K = d.useRef({ value: L, onChange: H, isIOS: typeof window < "u" && ((w = (S = window == null ? void 0 : window.CSS) == null ? void 0 : S.supports) == null ? void 0 : w.call(S, "-webkit-touch-callout", "none")) }), U = d.useRef({ prev: [(C = B.current) == null ? void 0 : C.selectionStart, (A = B.current) == null ? void 0 : A.selectionEnd, (D = B.current) == null ? void 0 : D.selectionDirection] });
6195
6199
  d.useImperativeHandle(t, () => B.current, []), d.useEffect(() => {
6196
- let T = B.current, k = X.current;
6197
- if (!T || !k) return;
6200
+ let T = B.current, j = X.current;
6201
+ if (!T || !j) return;
6198
6202
  K.current.value !== T.value && K.current.onChange(T.value), U.current.prev = [T.selectionStart, T.selectionEnd, T.selectionDirection];
6199
6203
  function Q() {
6200
6204
  if (document.activeElement !== T) {
6201
6205
  ue(null), I(null);
6202
6206
  return;
6203
6207
  }
6204
- let Y = T.selectionStart, he = T.selectionEnd, Te = T.selectionDirection, me = T.maxLength, De = T.value, Ie = U.current.prev, je = -1, Oe = -1, He;
6208
+ let Y = T.selectionStart, he = T.selectionEnd, Te = T.selectionDirection, me = T.maxLength, De = T.value, Ie = U.current.prev, ke = -1, Oe = -1, He;
6205
6209
  if (De.length !== 0 && Y !== null && he !== null) {
6206
6210
  let Ti = Y === he, Ai = Y === De.length && De.length < me;
6207
6211
  if (Ti && !Ai) {
6208
6212
  let Ue = Y;
6209
- if (Ue === 0) je = 0, Oe = 1, He = "forward";
6210
- else if (Ue === me) je = Ue - 1, Oe = Ue, He = "backward";
6213
+ if (Ue === 0) ke = 0, Oe = 1, He = "forward";
6214
+ else if (Ue === me) ke = Ue - 1, Oe = Ue, He = "backward";
6211
6215
  else if (me > 1 && De.length > 1) {
6212
- let an = 0;
6216
+ let sn = 0;
6213
6217
  if (Ie[0] !== null && Ie[1] !== null) {
6214
6218
  He = Ue < Ie[1] ? "backward" : "forward";
6215
6219
  let Di = Ie[0] === Ie[1] && Ie[0] < me;
6216
- He === "backward" && !Di && (an = -1);
6220
+ He === "backward" && !Di && (sn = -1);
6217
6221
  }
6218
- je = an + Ue, Oe = an + Ue + 1;
6222
+ ke = sn + Ue, Oe = sn + Ue + 1;
6219
6223
  }
6220
6224
  }
6221
- je !== -1 && Oe !== -1 && je !== Oe && B.current.setSelectionRange(je, Oe, He);
6225
+ ke !== -1 && Oe !== -1 && ke !== Oe && B.current.setSelectionRange(ke, Oe, He);
6222
6226
  }
6223
- let to = je !== -1 ? je : Y, no = Oe !== -1 ? Oe : he, Ri = He ?? Te;
6227
+ let to = ke !== -1 ? ke : Y, no = Oe !== -1 ? Oe : he, Ri = He ?? Te;
6224
6228
  ue(to), I(no), U.current.prev = [to, no, Ri];
6225
6229
  }
6226
6230
  if (document.addEventListener("selectionchange", Q, { capture: !0 }), Q(), document.activeElement === T && ye(!0), !document.getElementById("input-otp-style")) {
@@ -6231,7 +6235,7 @@ var pf = d.createContext({}), mf = d.forwardRef((e, t) => {
6231
6235
  }
6232
6236
  }
6233
6237
  let se = () => {
6234
- k && k.style.setProperty("--root-height", `${T.clientHeight}px`);
6238
+ j && j.style.setProperty("--root-height", `${T.clientHeight}px`);
6235
6239
  };
6236
6240
  se();
6237
6241
  let Z = new ResizeObserver(se);
@@ -6241,70 +6245,70 @@ var pf = d.createContext({}), mf = d.forwardRef((e, t) => {
6241
6245
  }, []);
6242
6246
  let [q, J] = d.useState(!1), [re, ye] = d.useState(!1), [ne, ue] = d.useState(null), [E, I] = d.useState(null);
6243
6247
  d.useEffect(() => {
6244
- lf(() => {
6245
- var T, k, Q, se;
6248
+ af(() => {
6249
+ var T, j, Q, se;
6246
6250
  (T = B.current) == null || T.dispatchEvent(new Event("input"));
6247
- let Z = (k = B.current) == null ? void 0 : k.selectionStart, Y = (Q = B.current) == null ? void 0 : Q.selectionEnd, he = (se = B.current) == null ? void 0 : se.selectionDirection;
6251
+ let Z = (j = B.current) == null ? void 0 : j.selectionStart, Y = (Q = B.current) == null ? void 0 : Q.selectionEnd, he = (se = B.current) == null ? void 0 : se.selectionDirection;
6248
6252
  Z !== null && Y !== null && (ue(Z), I(Y), U.current.prev = [Z, Y, he]);
6249
6253
  });
6250
6254
  }, [L, re]), d.useEffect(() => {
6251
- z !== void 0 && L !== z && z.length < a && L.length === a && (u == null || u(L));
6252
- }, [a, u, z, L]);
6253
- let M = hf({ containerRef: X, inputRef: B, pushPasswordManagerStrategy: f, isFocused: re }), N = d.useCallback((T) => {
6254
- let k = T.currentTarget.value.slice(0, a);
6255
- if (k.length > 0 && O && !O.test(k)) {
6255
+ _ !== void 0 && L !== _ && _.length < a && L.length === a && (u == null || u(L));
6256
+ }, [a, u, _, L]);
6257
+ let M = ff({ containerRef: X, inputRef: B, pushPasswordManagerStrategy: f, isFocused: re }), N = d.useCallback((T) => {
6258
+ let j = T.currentTarget.value.slice(0, a);
6259
+ if (j.length > 0 && O && !O.test(j)) {
6256
6260
  T.preventDefault();
6257
6261
  return;
6258
6262
  }
6259
- typeof z == "string" && k.length < z.length && document.dispatchEvent(new Event("selectionchange")), H(k);
6260
- }, [a, H, z, O]), b = d.useCallback(() => {
6263
+ typeof _ == "string" && j.length < _.length && document.dispatchEvent(new Event("selectionchange")), H(j);
6264
+ }, [a, H, _, O]), b = d.useCallback(() => {
6261
6265
  var T;
6262
6266
  if (B.current) {
6263
- let k = Math.min(B.current.value.length, a - 1), Q = B.current.value.length;
6264
- (T = B.current) == null || T.setSelectionRange(k, Q), ue(k), I(Q);
6267
+ let j = Math.min(B.current.value.length, a - 1), Q = B.current.value.length;
6268
+ (T = B.current) == null || T.setSelectionRange(j, Q), ue(j), I(Q);
6265
6269
  }
6266
6270
  ye(!0);
6267
6271
  }, [a]), R = d.useCallback((T) => {
6268
- var k, Q;
6272
+ var j, Q;
6269
6273
  let se = B.current;
6270
6274
  if (!h && (!K.current.isIOS || !T.clipboardData || !se)) return;
6271
6275
  let Z = T.clipboardData.getData("text/plain"), Y = h ? h(Z) : Z;
6272
6276
  T.preventDefault();
6273
- let he = (k = B.current) == null ? void 0 : k.selectionStart, Te = (Q = B.current) == null ? void 0 : Q.selectionEnd, me = (he !== Te ? L.slice(0, he) + Y + L.slice(Te) : L.slice(0, he) + Y + L.slice(he)).slice(0, a);
6277
+ let he = (j = B.current) == null ? void 0 : j.selectionStart, Te = (Q = B.current) == null ? void 0 : Q.selectionEnd, me = (he !== Te ? L.slice(0, he) + Y + L.slice(Te) : L.slice(0, he) + Y + L.slice(he)).slice(0, a);
6274
6278
  if (me.length > 0 && O && !O.test(me)) return;
6275
6279
  se.value = me, H(me);
6276
6280
  let De = Math.min(me.length, a - 1), Ie = me.length;
6277
6281
  se.setSelectionRange(De, Ie), ue(De), I(Ie);
6278
- }, [a, H, O, L]), _ = d.useMemo(() => ({ position: "relative", cursor: y.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [y.disabled]), j = d.useMemo(() => ({ position: "absolute", inset: 0, width: M.willPushPWMBadge ? `calc(100% + ${M.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: M.willPushPWMBadge ? `inset(0 ${M.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: r, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [M.PWM_BADGE_SPACE_WIDTH, M.willPushPWMBadge, r]), $ = d.useMemo(() => d.createElement("input", sf(rf({ autoComplete: y.autoComplete || "one-time-code" }, y), { "data-input-otp": !0, "data-input-otp-placeholder-shown": L.length === 0 || void 0, "data-input-otp-mss": ne, "data-input-otp-mse": E, inputMode: c, pattern: O == null ? void 0 : O.source, "aria-placeholder": l, style: j, maxLength: a, value: L, ref: B, onPaste: (T) => {
6279
- var k;
6280
- R(T), (k = y.onPaste) == null || k.call(y, T);
6282
+ }, [a, H, O, L]), z = d.useMemo(() => ({ position: "relative", cursor: y.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [y.disabled]), k = d.useMemo(() => ({ position: "absolute", inset: 0, width: M.willPushPWMBadge ? `calc(100% + ${M.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: M.willPushPWMBadge ? `inset(0 ${M.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: r, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [M.PWM_BADGE_SPACE_WIDTH, M.willPushPWMBadge, r]), $ = d.useMemo(() => d.createElement("input", rf(of({ autoComplete: y.autoComplete || "one-time-code" }, y), { "data-input-otp": !0, "data-input-otp-placeholder-shown": L.length === 0 || void 0, "data-input-otp-mss": ne, "data-input-otp-mse": E, inputMode: c, pattern: O == null ? void 0 : O.source, "aria-placeholder": l, style: k, maxLength: a, value: L, ref: B, onPaste: (T) => {
6283
+ var j;
6284
+ R(T), (j = y.onPaste) == null || j.call(y, T);
6281
6285
  }, onChange: N, onMouseOver: (T) => {
6282
- var k;
6283
- J(!0), (k = y.onMouseOver) == null || k.call(y, T);
6286
+ var j;
6287
+ J(!0), (j = y.onMouseOver) == null || j.call(y, T);
6284
6288
  }, onMouseLeave: (T) => {
6285
- var k;
6286
- J(!1), (k = y.onMouseLeave) == null || k.call(y, T);
6289
+ var j;
6290
+ J(!1), (j = y.onMouseLeave) == null || j.call(y, T);
6287
6291
  }, onFocus: (T) => {
6288
- var k;
6289
- b(), (k = y.onFocus) == null || k.call(y, T);
6292
+ var j;
6293
+ b(), (j = y.onFocus) == null || j.call(y, T);
6290
6294
  }, onBlur: (T) => {
6291
- var k;
6292
- ye(!1), (k = y.onBlur) == null || k.call(y, T);
6293
- } })), [N, b, R, c, j, a, E, ne, y, O == null ? void 0 : O.source, L]), V = d.useMemo(() => ({ slots: Array.from({ length: a }).map((T, k) => {
6295
+ var j;
6296
+ ye(!1), (j = y.onBlur) == null || j.call(y, T);
6297
+ } })), [N, b, R, c, k, a, E, ne, y, O == null ? void 0 : O.source, L]), V = d.useMemo(() => ({ slots: Array.from({ length: a }).map((T, j) => {
6294
6298
  var Q;
6295
- let se = re && ne !== null && E !== null && (ne === E && k === ne || k >= ne && k < E), Z = L[k] !== void 0 ? L[k] : null, Y = L[0] !== void 0 ? null : (Q = l == null ? void 0 : l[k]) != null ? Q : null;
6299
+ let se = re && ne !== null && E !== null && (ne === E && j === ne || j >= ne && j < E), Z = L[j] !== void 0 ? L[j] : null, Y = L[0] !== void 0 ? null : (Q = l == null ? void 0 : l[j]) != null ? Q : null;
6296
6300
  return { char: Z, placeholderChar: Y, isActive: se, hasFakeCaret: se && Z === null };
6297
- }), isFocused: re, isHovering: !y.disabled && q }), [re, q, a, E, ne, y.disabled, L]), G = d.useMemo(() => p ? p(V) : d.createElement(pf.Provider, { value: V }, v), [v, V, p]);
6298
- return d.createElement(d.Fragment, null, x !== null && d.createElement("noscript", null, d.createElement("style", null, x)), d.createElement("div", { ref: X, "data-input-otp-container": !0, style: _, className: m }, G, d.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, $)));
6301
+ }), isFocused: re, isHovering: !y.disabled && q }), [re, q, a, E, ne, y.disabled, L]), G = d.useMemo(() => p ? p(V) : d.createElement(hf.Provider, { value: V }, v), [v, V, p]);
6302
+ return d.createElement(d.Fragment, null, x !== null && d.createElement("noscript", null, d.createElement("style", null, x)), d.createElement("div", { ref: X, "data-input-otp-container": !0, style: z, className: m }, G, d.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, $)));
6299
6303
  });
6300
- mf.displayName = "Input";
6304
+ pf.displayName = "Input";
6301
6305
  function mt(e, t) {
6302
6306
  try {
6303
6307
  e.insertRule(t);
6304
6308
  } catch {
6305
6309
  }
6306
6310
  }
6307
- var gf = `
6311
+ var mf = `
6308
6312
  [data-input-otp] {
6309
6313
  --nojs-bg: white !important;
6310
6314
  --nojs-fg: black !important;
@@ -6325,74 +6329,73 @@ var gf = `
6325
6329
  }
6326
6330
  }`;
6327
6331
  export {
6328
- Su as $,
6329
- vc as A,
6332
+ dd as $,
6333
+ yc as A,
6330
6334
  fe as B,
6331
- yc as C,
6332
- Fn as D,
6333
- zr as E,
6334
- $n as F,
6335
- ad as G,
6336
- cd as H,
6337
- dd as I,
6335
+ xc as C,
6336
+ Vn as D,
6337
+ _r as E,
6338
+ Fn as F,
6339
+ id as G,
6340
+ ld as H,
6341
+ ud as I,
6338
6342
  Bf as J,
6339
6343
  Ff as K,
6340
6344
  $f as L,
6341
- jf as M,
6342
- zf as N,
6343
- ud as O,
6345
+ kf as M,
6346
+ _f as N,
6347
+ cd as O,
6344
6348
  ee as P,
6345
6349
  us as Q,
6346
- gc as R,
6350
+ vc as R,
6347
6351
  Uf as S,
6348
6352
  Wf as T,
6349
- gd as U,
6353
+ md as U,
6350
6354
  cr as V,
6351
- mf as W,
6352
- pf as X,
6353
- cc as Y,
6354
- ld as Z,
6355
+ pf as W,
6356
+ hf as X,
6357
+ uc as Y,
6358
+ ad as Z,
6355
6359
  Us as _,
6356
6360
  Xf as a,
6357
6361
  fd as a0,
6358
- hd as a1,
6359
- Lf as a2,
6360
- kf as a3,
6361
- Mf as a4,
6362
- Nl as a5,
6363
- jl as a6,
6364
- _f as a7,
6365
- Vf as a8,
6366
- md as a9,
6367
- pd as aa,
6368
- Of as ab,
6369
- ef as ac,
6370
- Qd as ad,
6371
- Jf as ae,
6362
+ Lf as a1,
6363
+ jf as a2,
6364
+ Mf as a3,
6365
+ Ml as a4,
6366
+ Ol as a5,
6367
+ zf as a6,
6368
+ Vf as a7,
6369
+ pd as a8,
6370
+ hd as a9,
6371
+ Of as aa,
6372
+ Qd as ab,
6373
+ Jd as ac,
6374
+ Jf as ad,
6372
6375
  Kf as b,
6373
6376
  Yf as c,
6374
6377
  Gf as d,
6375
6378
  qf as e,
6376
6379
  Zf as f,
6377
6380
  Xt as g,
6378
- Fl as h,
6381
+ $l as h,
6379
6382
  te as i,
6380
- Wl as j,
6381
- In as k,
6383
+ Hl as j,
6384
+ Dn as k,
6382
6385
  qe as l,
6383
6386
  Ur as m,
6384
6387
  Yt as n,
6385
- Un as o,
6388
+ Hn as o,
6386
6389
  ts as p,
6387
- Ll as q,
6390
+ jl as q,
6388
6391
  Fr as r,
6389
- Gn as s,
6390
- xc as t,
6392
+ Un as s,
6393
+ Sc as t,
6391
6394
  ut as u,
6392
- Zt as v,
6393
- mu as w,
6394
- Yu as x,
6395
- Pu as y,
6396
- Zu as z
6395
+ Gn as v,
6396
+ gu as w,
6397
+ Xu as x,
6398
+ bu as y,
6399
+ qu as z
6397
6400
  };
6398
- //# sourceMappingURL=index-BpSN4GSo.js.map
6401
+ //# sourceMappingURL=index-DSpBzH_i.js.map