@a4ui/core 0.3.1 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,175 +1,175 @@
1
- import { clsx as dt } from "clsx";
2
- import { twMerge as ut } from "tailwind-merge";
3
- import { createSignal as V, createEffect as pe, untrack as Ne, onCleanup as ye, onMount as Ye, For as z, splitProps as E, createMemo as Ae, Show as w, ErrorBoundary as gt, Suspense as ft } from "solid-js";
4
- import { createComponent as r, memo as ae, template as c, spread as L, mergeProps as I, insert as a, effect as S, className as X, Portal as mt, setStyleProperty as oe, use as H, delegateEvents as ee, setAttribute as B, classList as ht, Dynamic as bt, addEventListener as xt } from "solid-js/web";
5
- import { Accordion as se } from "@kobalte/core/accordion";
6
- import { CalendarDays as vt, ChevronLeft as Ge, ChevronRight as Xe, X as He, UploadCloud as $t, CircleX as wt, TriangleAlert as pt, CircleCheck as yt, Info as _t, ChevronsUpDown as Ct, Check as kt, Satellite as St, Moon as Tt, Sun as Mt, Sparkles as Et } from "lucide-solid";
1
+ import { clsx as bt } from "clsx";
2
+ import { twMerge as xt } from "tailwind-merge";
3
+ import { createSignal as z, createEffect as pe, untrack as He, onCleanup as $e, onMount as Me, For as R, splitProps as E, createMemo as Re, Show as $, ErrorBoundary as vt, Suspense as pt } from "solid-js";
4
+ import { createComponent as r, memo as oe, template as u, spread as F, mergeProps as L, insert as i, effect as S, className as Y, Portal as $t, setStyleProperty as ne, use as N, delegateEvents as J, setAttribute as P, classList as yt, Dynamic as wt, addEventListener as _t } from "solid-js/web";
5
+ import { Accordion as ie } from "@kobalte/core/accordion";
6
+ import { CalendarDays as kt, ChevronLeft as qe, ChevronRight as Ue, X as Ke, UploadCloud as Ct, CircleX as St, TriangleAlert as Tt, CircleCheck as Mt, Info as Et, ChevronsUpDown as Ft, Check as Lt, Satellite as It, Moon as At, Sun as Dt, Sparkles as Rt } from "lucide-solid";
7
7
  import { Dialog as M } from "@kobalte/core/dialog";
8
- import { DropdownMenu as ce } from "@kobalte/core/dropdown-menu";
9
- import { Motion as Lt } from "solid-motionone";
10
- import { createVirtualizer as It } from "@tanstack/solid-virtual";
11
- import { Tabs as de } from "@kobalte/core/tabs";
12
- import { Toast as le, toaster as Ft } from "@kobalte/core/toast";
13
- import { Switch as ue } from "@kobalte/core/switch";
14
- import { RadioGroup as J } from "@kobalte/core/radio-group";
15
- import { Tooltip as ge } from "@kobalte/core/tooltip";
16
- import { Popover as fe } from "@kobalte/core/popover";
17
- import { HoverCard as me } from "@kobalte/core/hover-card";
18
- import { Alert as At } from "@kobalte/core/alert";
19
- import { Image as _e } from "@kobalte/core/image";
20
- import { Separator as Dt } from "@kobalte/core/separator";
21
- import { Progress as he } from "@kobalte/core/progress";
22
- import { Meter as be } from "@kobalte/core/meter";
23
- import { Slider as Q } from "@kobalte/core/slider";
24
- import { NumberField as $e } from "@kobalte/core/number-field";
25
- import { ToggleButton as Rt } from "@kobalte/core/toggle-button";
26
- import { ToggleGroup as De } from "@kobalte/core/toggle-group";
27
- import { SegmentedControl as xe } from "@kobalte/core/segmented-control";
8
+ import { DropdownMenu as de } from "@kobalte/core/dropdown-menu";
9
+ import { Motion as zt } from "solid-motionone";
10
+ import { createVirtualizer as Pt } from "@tanstack/solid-virtual";
11
+ import { Tabs as ce } from "@kobalte/core/tabs";
12
+ import { Toast as re, toaster as Ot } from "@kobalte/core/toast";
13
+ import { Switch as se } from "@kobalte/core/switch";
14
+ import { RadioGroup as Z } from "@kobalte/core/radio-group";
15
+ import { Tooltip as ue } from "@kobalte/core/tooltip";
16
+ import { Popover as ge } from "@kobalte/core/popover";
17
+ import { HoverCard as fe } from "@kobalte/core/hover-card";
18
+ import { Alert as jt } from "@kobalte/core/alert";
19
+ import { Image as ke } from "@kobalte/core/image";
20
+ import { Separator as Bt } from "@kobalte/core/separator";
21
+ import { Progress as me } from "@kobalte/core/progress";
22
+ import { Meter as he } from "@kobalte/core/meter";
23
+ import { Slider as W } from "@kobalte/core/slider";
24
+ import { NumberField as we } from "@kobalte/core/number-field";
25
+ import { ToggleButton as Nt } from "@kobalte/core/toggle-button";
26
+ import { ToggleGroup as ze } from "@kobalte/core/toggle-group";
27
+ import { SegmentedControl as be } from "@kobalte/core/segmented-control";
28
28
  import { Breadcrumbs as Ce } from "@kobalte/core/breadcrumbs";
29
- import { AlertDialog as ne } from "@kobalte/core/alert-dialog";
30
- import { ContextMenu as ve } from "@kobalte/core/context-menu";
31
- import { Combobox as j } from "@kobalte/core/combobox";
32
- import { Transition as Pt } from "solid-transition-group";
33
- function g(...e) {
34
- return ut(dt(e));
35
- }
36
- const qe = "a4ui-theme";
37
- function zt(e) {
29
+ import { AlertDialog as te } from "@kobalte/core/alert-dialog";
30
+ import { ContextMenu as xe } from "@kobalte/core/context-menu";
31
+ import { Combobox as B } from "@kobalte/core/combobox";
32
+ import { Transition as Vt } from "solid-transition-group";
33
+ function f(...e) {
34
+ return xt(bt(e));
35
+ }
36
+ const Ze = "a4ui-theme";
37
+ function Yt(e) {
38
38
  return e === "dark" || e === "light";
39
39
  }
40
- function Ue() {
40
+ function We() {
41
41
  try {
42
42
  return window.localStorage;
43
43
  } catch {
44
44
  return null;
45
45
  }
46
46
  }
47
- function Ot() {
47
+ function Gt() {
48
48
  var t;
49
- const e = ((t = Ue()) == null ? void 0 : t.getItem(qe)) ?? null;
50
- return zt(e) ? e : "dark";
49
+ const e = ((t = We()) == null ? void 0 : t.getItem(Ze)) ?? null;
50
+ return Yt(e) ? e : "dark";
51
51
  }
52
- function Ke(e) {
52
+ function Je(e) {
53
53
  if (typeof document > "u") return;
54
54
  const t = document.documentElement;
55
55
  e === "light" ? t.setAttribute("data-theme", "light") : t.removeAttribute("data-theme");
56
56
  }
57
- function Bt(e) {
57
+ function Xt(e) {
58
58
  var t;
59
- (t = Ue()) == null || t.setItem(qe, e), Ke(e);
59
+ (t = We()) == null || t.setItem(Ze, e), Je(e);
60
60
  }
61
- function jt(e) {
61
+ function Ht(e) {
62
62
  return e === "dark" ? "light" : "dark";
63
63
  }
64
- const Ze = Ot();
65
- Ke(Ze);
66
- const [We, Vt] = V(Ze);
67
- function Je() {
68
- return We;
64
+ const Qe = Gt();
65
+ Je(Qe);
66
+ const [et, qt] = z(Qe);
67
+ function tt() {
68
+ return et;
69
69
  }
70
- function Nt() {
71
- const e = jt(We());
72
- Bt(e), Vt(e);
70
+ function Ut() {
71
+ const e = Ht(et());
72
+ Xt(e), qt(e);
73
73
  }
74
- const Qe = "a4ui-effects";
75
- function et() {
74
+ const rt = "a4ui-effects";
75
+ function nt() {
76
76
  try {
77
77
  return window.localStorage;
78
78
  } catch {
79
79
  return null;
80
80
  }
81
81
  }
82
- function Yt() {
82
+ function Kt() {
83
83
  var t;
84
84
  try {
85
85
  if (new URLSearchParams(window.location.search).get("calm") === "1") return !1;
86
86
  } catch {
87
87
  }
88
- const e = (t = et()) == null ? void 0 : t.getItem(Qe);
88
+ const e = (t = nt()) == null ? void 0 : t.getItem(rt);
89
89
  return e === null ? !0 : e === "1";
90
90
  }
91
- function tt(e) {
91
+ function ot(e) {
92
92
  typeof document > "u" || document.documentElement.classList.toggle("calm", !e);
93
93
  }
94
- const rt = Yt();
95
- tt(rt);
96
- const [nt, Gt] = V(rt);
97
- function Xt() {
98
- return nt;
94
+ const lt = Kt();
95
+ ot(lt);
96
+ const [at, Zt] = z(lt);
97
+ function Wt() {
98
+ return at;
99
99
  }
100
- function Ht() {
101
- return !nt();
100
+ function Jt() {
101
+ return !at();
102
102
  }
103
- function qt(e) {
103
+ function Qt(e) {
104
104
  var t;
105
- (t = et()) == null || t.setItem(Qe, e ? "1" : "0"), tt(e), Gt(e);
105
+ (t = nt()) == null || t.setItem(rt, e ? "1" : "0"), ot(e), Zt(e);
106
106
  }
107
- const Ut = "(prefers-reduced-motion: reduce)";
108
- function lt() {
109
- return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia(Ut).matches;
107
+ const er = "(prefers-reduced-motion: reduce)";
108
+ function it() {
109
+ return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia(er).matches;
110
110
  }
111
- const ot = "a4ui-motion-forced";
112
- function at() {
111
+ const dt = "a4ui-motion-forced";
112
+ function ct() {
113
113
  try {
114
114
  return window.localStorage;
115
115
  } catch {
116
116
  return null;
117
117
  }
118
118
  }
119
- var Ve;
120
- const [Me, Kt] = V(((Ve = at()) == null ? void 0 : Ve.getItem(ot)) === "1");
121
- typeof document < "u" && document.documentElement.classList.toggle("force-motion", Ne(Me));
122
- function ol() {
123
- return Me;
119
+ var Xe;
120
+ const [Ee, tr] = z(((Xe = ct()) == null ? void 0 : Xe.getItem(dt)) === "1");
121
+ typeof document < "u" && document.documentElement.classList.toggle("force-motion", He(Ee));
122
+ function Co() {
123
+ return Ee;
124
124
  }
125
- function al(e) {
125
+ function So(e) {
126
126
  var t;
127
- (t = at()) == null || t.setItem(ot, e ? "1" : "0"), typeof document < "u" && document.documentElement.classList.toggle("force-motion", e), Kt(e);
127
+ (t = ct()) == null || t.setItem(dt, e ? "1" : "0"), typeof document < "u" && document.documentElement.classList.toggle("force-motion", e), tr(e);
128
128
  }
129
- function Te() {
130
- return Ht() || lt() && !Me();
129
+ function ve() {
130
+ return Jt() || it() && !Ee();
131
131
  }
132
- const Zt = (e) => 1 - (1 - e) ** 3;
133
- function Wt(e, t = 600) {
134
- const [l, n] = V(0);
135
- let o;
132
+ const rr = (e) => 1 - (1 - e) ** 3;
133
+ function nr(e, t = 600) {
134
+ const [o, n] = z(0);
135
+ let l;
136
136
  return pe(() => {
137
- const i = e();
138
- if (Te()) {
139
- o !== void 0 && cancelAnimationFrame(o), n(i);
137
+ const a = e();
138
+ if (ve()) {
139
+ l !== void 0 && cancelAnimationFrame(l), n(a);
140
140
  return;
141
141
  }
142
- const s = Ne(l);
143
- if (s === i) return;
144
- o !== void 0 && cancelAnimationFrame(o);
145
- const u = performance.now(), m = (d) => {
146
- const b = d - u, _ = Math.min(1, b / t);
147
- n(s + (i - s) * Zt(_)), o = _ < 1 ? requestAnimationFrame(m) : void 0;
142
+ const d = He(o);
143
+ if (d === a) return;
144
+ l !== void 0 && cancelAnimationFrame(l);
145
+ const c = performance.now(), g = (s) => {
146
+ const m = s - c, h = Math.min(1, m / t);
147
+ n(d + (a - d) * rr(h)), l = h < 1 ? requestAnimationFrame(g) : void 0;
148
148
  };
149
- o = requestAnimationFrame(m);
150
- }), ye(() => {
151
- o !== void 0 && cancelAnimationFrame(o);
152
- }), l;
149
+ l = requestAnimationFrame(g);
150
+ }), $e(() => {
151
+ l !== void 0 && cancelAnimationFrame(l);
152
+ }), o;
153
153
  }
154
- function il(e) {
155
- const t = typeof window < "u" ? window.matchMedia(e) : null, [l, n] = V(t ? t.matches : !1);
154
+ function To(e) {
155
+ const t = typeof window < "u" ? window.matchMedia(e) : null, [o, n] = z(t ? t.matches : !1);
156
156
  if (t) {
157
- const o = (i) => n(i.matches);
158
- t.addEventListener("change", o), ye(() => t.removeEventListener("change", o));
157
+ const l = (a) => n(a.matches);
158
+ t.addEventListener("change", l), $e(() => t.removeEventListener("change", l));
159
159
  }
160
- return l;
160
+ return o;
161
161
  }
162
- function Jt(e, t) {
163
- Ye(() => {
162
+ function or(e, t) {
163
+ Me(() => {
164
164
  requestAnimationFrame(() => {
165
- const l = e();
166
- l && (t(void 0), t(l));
165
+ const o = e();
166
+ o && (t(void 0), t(o));
167
167
  });
168
168
  });
169
169
  }
170
- var Qt = /* @__PURE__ */ c('<svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5">');
171
- function sl(e) {
172
- return r(se, {
170
+ var lr = /* @__PURE__ */ u('<svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5">');
171
+ function Mo(e) {
172
+ return r(ie, {
173
173
  get multiple() {
174
174
  return e.multiple ?? !1;
175
175
  },
@@ -177,26 +177,26 @@ function sl(e) {
177
177
  return e.class;
178
178
  },
179
179
  get children() {
180
- return r(z, {
180
+ return r(R, {
181
181
  get each() {
182
182
  return e.items;
183
183
  },
184
- children: (t) => r(se.Item, {
184
+ children: (t) => r(ie.Item, {
185
185
  get value() {
186
186
  return t.value;
187
187
  },
188
188
  class: "border-b border-border",
189
189
  get children() {
190
- return [r(se.Header, {
190
+ return [r(ie.Header, {
191
191
  get children() {
192
- return r(se.Trigger, {
192
+ return r(ie.Trigger, {
193
193
  class: "flex w-full items-center justify-between py-3 text-sm font-medium text-foreground [&[data-expanded]>svg]:rotate-90",
194
194
  get children() {
195
- return [ae(() => t.title), Qt()];
195
+ return [oe(() => t.title), lr()];
196
196
  }
197
197
  });
198
198
  }
199
- }), r(se.Content, {
199
+ }), r(ie.Content, {
200
200
  class: "pb-3 text-sm text-muted-foreground",
201
201
  get children() {
202
202
  return t.content;
@@ -208,218 +208,218 @@ function sl(e) {
208
208
  }
209
209
  });
210
210
  }
211
- var er = /* @__PURE__ */ c("<span>");
212
- const tr = {
211
+ var ar = /* @__PURE__ */ u("<span>");
212
+ const ir = {
213
213
  neutral: "bg-muted text-muted-foreground ring-border",
214
214
  success: "bg-emerald-500/15 text-emerald-600 ring-emerald-500/30",
215
215
  warning: "bg-amber-500/15 text-amber-600 ring-amber-500/30",
216
216
  danger: "bg-rose-500/15 text-rose-600 ring-rose-500/30",
217
217
  info: "bg-sky-500/15 text-sky-600 ring-sky-500/30"
218
- }, rr = "badge inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold ring-1 ring-inset whitespace-nowrap";
219
- function cl(e) {
220
- const [t, l] = E(e, ["tone", "class", "children"]);
218
+ }, dr = "badge inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-semibold ring-1 ring-inset whitespace-nowrap";
219
+ function Eo(e) {
220
+ const [t, o] = E(e, ["tone", "class", "children"]);
221
221
  return (() => {
222
- var n = er();
223
- return L(n, I({
222
+ var n = ar();
223
+ return F(n, L({
224
224
  get class() {
225
- return g(rr, tr[t.tone ?? "neutral"], t.class);
225
+ return f(dr, ir[t.tone ?? "neutral"], t.class);
226
226
  }
227
- }, l), !1, !0), a(n, () => t.children), n;
227
+ }, o), !1, !0), i(n, () => t.children), n;
228
228
  })();
229
229
  }
230
- var nr = /* @__PURE__ */ c("<button>");
231
- const lr = {
230
+ var cr = /* @__PURE__ */ u("<button>");
231
+ const sr = {
232
232
  primary: "bg-primary text-primary-foreground hover:bg-primary/90",
233
233
  secondary: "bg-muted text-foreground hover:bg-muted/70",
234
234
  outline: "border border-border bg-transparent text-foreground hover:bg-muted",
235
235
  ghost: "bg-transparent text-foreground hover:bg-muted"
236
- }, or = "inline-flex items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition-[color,background-color,transform] duration-150 active:scale-[0.97] focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none disabled:opacity-50";
237
- function Re(e) {
238
- const [t, l] = E(e, ["variant", "class", "type", "children"]);
236
+ }, ur = "inline-flex items-center justify-center rounded-md px-3 py-2 text-sm font-medium transition-[color,background-color,transform] duration-150 active:scale-[0.97] focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none disabled:opacity-50";
237
+ function Pe(e) {
238
+ const [t, o] = E(e, ["variant", "class", "type", "children"]);
239
239
  return (() => {
240
- var n = nr();
241
- return L(n, I({
240
+ var n = cr();
241
+ return F(n, L({
242
242
  get type() {
243
243
  return t.type ?? "button";
244
244
  },
245
245
  get class() {
246
- return g(or, lr[t.variant ?? "primary"], t.class);
246
+ return f(ur, sr[t.variant ?? "primary"], t.class);
247
247
  }
248
- }, l), !1, !0), a(n, () => t.children), n;
248
+ }, o), !1, !0), i(n, () => t.children), n;
249
249
  })();
250
250
  }
251
- var Ee = /* @__PURE__ */ c("<div>"), ar = /* @__PURE__ */ c("<h2>");
252
- function ir(e) {
253
- const [t, l] = E(e, ["class", "children", "glass", "glow"]), n = () => (t.glow ?? t.glass) === !0;
251
+ var Fe = /* @__PURE__ */ u("<div>"), gr = /* @__PURE__ */ u("<h2>");
252
+ function fr(e) {
253
+ const [t, o] = E(e, ["class", "children", "glass", "glow"]), n = () => (t.glow ?? t.glass) === !0;
254
254
  return (() => {
255
- var o = Ee();
256
- return L(o, I({
255
+ var l = Fe();
256
+ return F(l, L({
257
257
  get class() {
258
- return g(t.glass ? "card rounded-xl text-card-foreground" : "rounded-xl border border-border bg-card text-card-foreground shadow-sm", n() && "glow-edge", t.class);
258
+ return f(t.glass ? "card rounded-xl text-card-foreground" : "rounded-xl border border-border bg-card text-card-foreground shadow-sm", n() && "glow-edge", t.class);
259
259
  }
260
- }, l), !1, !0), a(o, () => t.children), o;
260
+ }, o), !1, !0), i(l, () => t.children), l;
261
261
  })();
262
262
  }
263
- function dl(e) {
264
- const [t, l] = E(e, ["class", "children"]);
263
+ function Fo(e) {
264
+ const [t, o] = E(e, ["class", "children"]);
265
265
  return (() => {
266
- var n = Ee();
267
- return L(n, I({
266
+ var n = Fe();
267
+ return F(n, L({
268
268
  get class() {
269
- return g("flex flex-col space-y-1.5 p-6", t.class);
269
+ return f("flex flex-col space-y-1.5 p-6", t.class);
270
270
  }
271
- }, l), !1, !0), a(n, () => t.children), n;
271
+ }, o), !1, !0), i(n, () => t.children), n;
272
272
  })();
273
273
  }
274
- function ul(e) {
275
- const [t, l] = E(e, ["class", "children"]);
274
+ function Lo(e) {
275
+ const [t, o] = E(e, ["class", "children"]);
276
276
  return (() => {
277
- var n = ar();
278
- return L(n, I({
277
+ var n = gr();
278
+ return F(n, L({
279
279
  get class() {
280
- return g("text-lg font-semibold leading-none tracking-tight", t.class);
280
+ return f("text-lg font-semibold leading-none tracking-tight", t.class);
281
281
  }
282
- }, l), !1, !0), a(n, () => t.children), n;
282
+ }, o), !1, !0), i(n, () => t.children), n;
283
283
  })();
284
284
  }
285
- function sr(e) {
286
- const [t, l] = E(e, ["class", "children"]);
285
+ function mr(e) {
286
+ const [t, o] = E(e, ["class", "children"]);
287
287
  return (() => {
288
- var n = Ee();
289
- return L(n, I({
288
+ var n = Fe();
289
+ return F(n, L({
290
290
  get class() {
291
- return g("p-6 pt-0", t.class);
291
+ return f("p-6 pt-0", t.class);
292
292
  }
293
- }, l), !1, !0), a(n, () => t.children), n;
293
+ }, o), !1, !0), i(n, () => t.children), n;
294
294
  })();
295
295
  }
296
- var cr = /* @__PURE__ */ c('<label><input type=checkbox class="h-4 w-4 rounded border-input">');
297
- function gl(e) {
296
+ var hr = /* @__PURE__ */ u('<label><input type=checkbox class="h-4 w-4 rounded border-input">');
297
+ function Io(e) {
298
298
  return (() => {
299
- var t = cr(), l = t.firstChild;
300
- return l.addEventListener("change", (n) => e.onChange(n.currentTarget.checked)), a(t, () => e.label, null), S(() => X(t, g("inline-flex items-center gap-2 text-sm text-foreground", e.class))), S(() => l.checked = e.checked), t;
299
+ var t = hr(), o = t.firstChild;
300
+ return o.addEventListener("change", (n) => e.onChange(n.currentTarget.checked)), i(t, () => e.label, null), S(() => Y(t, f("inline-flex items-center gap-2 text-sm text-foreground", e.class))), S(() => o.checked = e.checked), t;
301
301
  })();
302
302
  }
303
- var dr = /* @__PURE__ */ c('<div class="z-50 w-72 rounded-lg border border-border bg-card p-3 text-card-foreground shadow-lg"style=position:fixed><div class="mb-2 flex items-center justify-between"><button type=button aria-label="Previous month"class="rounded-md p-1 text-foreground transition-colors hover:bg-muted"></button><span class="text-sm font-medium capitalize text-foreground"> </span><button type=button aria-label="Next month"class="rounded-md p-1 text-foreground transition-colors hover:bg-muted"></button></div><div class="mb-1 grid grid-cols-7 gap-0.5 text-center text-[11px] font-medium text-muted-foreground"></div><div class="grid grid-cols-7 gap-0.5">'), ur = /* @__PURE__ */ c('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50"><span>'), gr = /* @__PURE__ */ c("<span>"), fr = /* @__PURE__ */ c("<button type=button>");
304
- const mr = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], ke = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
305
- function hr(e) {
306
- const t = e.getFullYear(), l = `${e.getMonth() + 1}`.padStart(2, "0"), n = `${e.getDate()}`.padStart(2, "0");
307
- return `${t}-${l}-${n}`;
303
+ var br = /* @__PURE__ */ u('<div class="z-50 w-72 rounded-lg border border-border bg-card p-3 text-card-foreground shadow-lg"style=position:fixed><div class="mb-2 flex items-center justify-between"><button type=button aria-label="Previous month"class="rounded-md p-1 text-foreground transition-colors hover:bg-muted"></button><span class="text-sm font-medium capitalize text-foreground"> </span><button type=button aria-label="Next month"class="rounded-md p-1 text-foreground transition-colors hover:bg-muted"></button></div><div class="mb-1 grid grid-cols-7 gap-0.5 text-center text-[11px] font-medium text-muted-foreground"></div><div class="grid grid-cols-7 gap-0.5">'), xr = /* @__PURE__ */ u('<div><button type=button class="flex w-full items-center justify-between gap-2 rounded-md border border-input bg-background px-3 py-2 text-left text-sm text-foreground outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50"><span>'), vr = /* @__PURE__ */ u("<span>"), pr = /* @__PURE__ */ u("<button type=button>");
304
+ const $r = ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"], Se = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
305
+ function yr(e) {
306
+ const t = e.getFullYear(), o = `${e.getMonth() + 1}`.padStart(2, "0"), n = `${e.getDate()}`.padStart(2, "0");
307
+ return `${t}-${o}-${n}`;
308
308
  }
309
- function we(e) {
309
+ function _e(e) {
310
310
  const t = /^(\d{4})-(\d{2})-(\d{2})$/.exec(e);
311
311
  return t ? new Date(Number(t[1]), Number(t[2]) - 1, Number(t[3])) : null;
312
312
  }
313
- function Pe(e, t) {
314
- const l = we(e);
315
- return l ? `${l.getDate()} ${t[l.getMonth()].slice(0, 3)} ${l.getFullYear()}` : null;
313
+ function Oe(e, t) {
314
+ const o = _e(e);
315
+ return o ? `${o.getDate()} ${t[o.getMonth()].slice(0, 3)} ${o.getFullYear()}` : null;
316
316
  }
317
- function ze(e, t) {
317
+ function je(e, t) {
318
318
  return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
319
319
  }
320
- function fl(e) {
321
- const [t, l] = V(!1), n = we(e.value) ?? /* @__PURE__ */ new Date(), [o, i] = V(n.getFullYear()), [s, u] = V(n.getMonth());
322
- let m, d, b;
323
- const [_, A] = V({
320
+ function Ao(e) {
321
+ const [t, o] = z(!1), n = _e(e.value) ?? /* @__PURE__ */ new Date(), [l, a] = z(n.getFullYear()), [d, c] = z(n.getMonth());
322
+ let g, s, m;
323
+ const [h, w] = z({
324
324
  top: 0,
325
325
  left: 0
326
- }), k = 288, D = () => {
327
- if (!d) return;
328
- const f = d.getBoundingClientRect(), C = Math.max(8, Math.min(f.left, window.innerWidth - k - 8));
329
- A({
330
- top: f.bottom + 4,
326
+ }), v = 288, _ = () => {
327
+ if (!s) return;
328
+ const x = s.getBoundingClientRect(), C = Math.max(8, Math.min(x.left, window.innerWidth - v - 8));
329
+ w({
330
+ top: x.bottom + 4,
331
331
  left: C
332
332
  });
333
- }, O = () => {
333
+ }, T = () => {
334
334
  if (e.disabled) return;
335
- const f = we(e.value) ?? /* @__PURE__ */ new Date();
336
- i(f.getFullYear()), u(f.getMonth()), D(), l(!0);
337
- }, N = () => l(!1), h = (f) => {
338
- const C = f.target;
339
- m && !m.contains(C) && b && !b.contains(C) && N();
340
- }, p = (f) => {
341
- f.key === "Escape" && N();
342
- }, v = (f) => {
343
- f ? (document.addEventListener("mousedown", h), document.addEventListener("keydown", p), window.addEventListener("scroll", N, !0), window.addEventListener("resize", N)) : (document.removeEventListener("mousedown", h), document.removeEventListener("keydown", p), window.removeEventListener("scroll", N, !0), window.removeEventListener("resize", N));
335
+ const x = _e(e.value) ?? /* @__PURE__ */ new Date();
336
+ a(x.getFullYear()), c(x.getMonth()), _(), o(!0);
337
+ }, I = () => o(!1), b = (x) => {
338
+ const C = x.target;
339
+ g && !g.contains(C) && m && !m.contains(C) && I();
340
+ }, y = (x) => {
341
+ x.key === "Escape" && I();
342
+ }, p = (x) => {
343
+ x ? (document.addEventListener("mousedown", b), document.addEventListener("keydown", y), window.addEventListener("scroll", I, !0), window.addEventListener("resize", I)) : (document.removeEventListener("mousedown", b), document.removeEventListener("keydown", y), window.removeEventListener("scroll", I, !0), window.removeEventListener("resize", I));
344
344
  };
345
- pe(() => v(t())), ye(() => v(!1));
346
- const x = () => {
347
- const f = s();
348
- f === 0 ? (u(11), i(o() - 1)) : u(f - 1);
349
- }, y = () => {
350
- const f = s();
351
- f === 11 ? (u(0), i(o() + 1)) : u(f + 1);
352
- }, T = Ae(() => {
353
- const C = (new Date(o(), s(), 1).getDay() + 6) % 7, R = new Date(o(), s(), 1 - C), U = [];
354
- for (let te = 0; te < 42; te++)
355
- U.push(new Date(R.getFullYear(), R.getMonth(), R.getDate() + te));
356
- return U;
357
- }), $ = Ae(() => we(e.value)), Y = /* @__PURE__ */ new Date(), q = (f) => {
358
- e.onChange(hr(f)), N();
345
+ pe(() => p(t())), $e(() => p(!1));
346
+ const O = () => {
347
+ const x = d();
348
+ x === 0 ? (c(11), a(l() - 1)) : c(x - 1);
349
+ }, G = () => {
350
+ const x = d();
351
+ x === 11 ? (c(0), a(l() + 1)) : c(x + 1);
352
+ }, X = Re(() => {
353
+ const C = (new Date(l(), d(), 1).getDay() + 6) % 7, j = new Date(l(), d(), 1 - C), H = [];
354
+ for (let Q = 0; Q < 42; Q++)
355
+ H.push(new Date(j.getFullYear(), j.getMonth(), j.getDate() + Q));
356
+ return H;
357
+ }), k = Re(() => _e(e.value)), le = /* @__PURE__ */ new Date(), ye = (x) => {
358
+ e.onChange(yr(x)), I();
359
359
  };
360
360
  return (() => {
361
- var f = ur(), C = f.firstChild, R = C.firstChild, U = m;
362
- typeof U == "function" ? H(U, f) : m = f, C.$$click = () => t() ? N() : O();
363
- var te = d;
364
- return typeof te == "function" ? H(te, C) : d = C, a(R, () => Pe(e.value, e.months ?? ke) ?? e.label ?? "Select date"), a(C, r(vt, {
361
+ var x = xr(), C = x.firstChild, j = C.firstChild, H = g;
362
+ typeof H == "function" ? N(H, x) : g = x, C.$$click = () => t() ? I() : T();
363
+ var Q = s;
364
+ return typeof Q == "function" ? N(Q, C) : s = C, i(j, () => Oe(e.value, e.months ?? Se) ?? e.label ?? "Select date"), i(C, r(kt, {
365
365
  class: "h-4 w-4 shrink-0 text-muted-foreground"
366
- }), null), a(f, r(w, {
366
+ }), null), i(x, r($, {
367
367
  get when() {
368
368
  return t();
369
369
  },
370
370
  get children() {
371
- return r(mt, {
371
+ return r($t, {
372
372
  get children() {
373
- var F = dr(), ie = F.firstChild, re = ie.firstChild, K = re.nextSibling, it = K.firstChild, Le = K.nextSibling, Ie = ie.nextSibling, st = Ie.nextSibling, Fe = b;
374
- return typeof Fe == "function" ? H(Fe, F) : b = F, re.$$click = x, a(re, r(Ge, {
373
+ var A = br(), ae = A.firstChild, ee = ae.firstChild, q = ee.nextSibling, ft = q.firstChild, Ie = q.nextSibling, Ae = ae.nextSibling, mt = Ae.nextSibling, De = m;
374
+ return typeof De == "function" ? N(De, A) : m = A, ee.$$click = O, i(ee, r(qe, {
375
375
  class: "h-4 w-4"
376
- })), a(K, () => (e.months ?? ke)[s()], it), a(K, o, null), Le.$$click = y, a(Le, r(Xe, {
376
+ })), i(q, () => (e.months ?? Se)[d()], ft), i(q, l, null), Ie.$$click = G, i(Ie, r(Ue, {
377
377
  class: "h-4 w-4"
378
- })), a(Ie, r(z, {
378
+ })), i(Ae, r(R, {
379
379
  get each() {
380
- return e.weekdays ?? mr;
380
+ return e.weekdays ?? $r;
381
381
  },
382
- children: (P) => (() => {
383
- var G = gr();
384
- return a(G, P), G;
382
+ children: (D) => (() => {
383
+ var V = vr();
384
+ return i(V, D), V;
385
385
  })()
386
- })), a(st, r(z, {
386
+ })), i(mt, r(R, {
387
387
  get each() {
388
- return T();
388
+ return X();
389
389
  },
390
- children: (P) => {
391
- const G = P.getMonth() === s(), Z = () => {
392
- const W = $();
393
- return W ? ze(W, P) : !1;
394
- }, ct = ze(Y, P);
390
+ children: (D) => {
391
+ const V = D.getMonth() === d(), U = () => {
392
+ const K = k();
393
+ return K ? je(K, D) : !1;
394
+ }, ht = je(le, D);
395
395
  return (() => {
396
- var W = fr();
397
- return W.$$click = () => q(P), a(W, () => P.getDate()), S(() => X(W, g("flex h-8 items-center justify-center rounded-md text-sm transition-colors", Z() ? "bg-primary font-semibold text-primary-foreground" : "hover:bg-muted", !Z() && !G && "text-muted-foreground/50", !Z() && G && "text-foreground", !Z() && ct && "ring-1 ring-inset ring-ring"))), W;
396
+ var K = pr();
397
+ return K.$$click = () => ye(D), i(K, () => D.getDate()), S(() => Y(K, f("flex h-8 items-center justify-center rounded-md text-sm transition-colors", U() ? "bg-primary font-semibold text-primary-foreground" : "hover:bg-muted", !U() && !V && "text-muted-foreground/50", !U() && V && "text-foreground", !U() && ht && "ring-1 ring-inset ring-ring"))), K;
398
398
  })();
399
399
  }
400
- })), S((P) => {
401
- var G = `${_().top}px`, Z = `${_().left}px`;
402
- return G !== P.e && oe(F, "top", P.e = G), Z !== P.t && oe(F, "left", P.t = Z), P;
400
+ })), S((D) => {
401
+ var V = `${h().top}px`, U = `${h().left}px`;
402
+ return V !== D.e && ne(A, "top", D.e = V), U !== D.t && ne(A, "left", D.t = U), D;
403
403
  }, {
404
404
  e: void 0,
405
405
  t: void 0
406
- }), F;
406
+ }), A;
407
407
  }
408
408
  });
409
409
  }
410
- }), null), S((F) => {
411
- var ie = g("relative", e.class), re = e.disabled, K = Pe(e.value, e.months ?? ke) ? "" : "text-muted-foreground";
412
- return ie !== F.e && X(f, F.e = ie), re !== F.t && (C.disabled = F.t = re), K !== F.a && X(R, F.a = K), F;
410
+ }), null), S((A) => {
411
+ var ae = f("relative", e.class), ee = e.disabled, q = Oe(e.value, e.months ?? Se) ? "" : "text-muted-foreground";
412
+ return ae !== A.e && Y(x, A.e = ae), ee !== A.t && (C.disabled = A.t = ee), q !== A.a && Y(j, A.a = q), A;
413
413
  }, {
414
414
  e: void 0,
415
415
  t: void 0,
416
416
  a: void 0
417
- }), f;
417
+ }), x;
418
418
  })();
419
419
  }
420
- ee(["click"]);
421
- var br = /* @__PURE__ */ c('<p class="text-[12px] text-muted-foreground">'), xr = /* @__PURE__ */ c('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/90 px-5 py-4 backdrop-blur"><div>'), vr = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 flex justify-end">');
422
- function ml(e) {
420
+ J(["click"]);
421
+ var wr = /* @__PURE__ */ u('<p class="text-[12px] text-muted-foreground">'), _r = /* @__PURE__ */ u('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/90 px-5 py-4 backdrop-blur"><div>'), kr = /* @__PURE__ */ u('<div class="fixed inset-0 z-50 flex justify-end">');
422
+ function Do(e) {
423
423
  return r(M, {
424
424
  get open() {
425
425
  return e.open;
@@ -433,44 +433,44 @@ function ml(e) {
433
433
  return [r(M.Overlay, {
434
434
  class: "modal-overlay fixed inset-0 z-40 bg-black/50 backdrop-blur-[2px]"
435
435
  }), (() => {
436
- var t = vr();
437
- return a(t, r(M.Content, {
436
+ var t = kr();
437
+ return i(t, r(M.Content, {
438
438
  get class() {
439
- return g("drawer-content flex h-full w-full max-w-[520px] flex-col overflow-y-auto border-l border-border bg-glass shadow-2xl", e.class);
439
+ return f("drawer-content flex h-full w-full max-w-[520px] flex-col overflow-y-auto border-l border-border bg-glass shadow-2xl", e.class);
440
440
  },
441
441
  get children() {
442
- return [r(w, {
442
+ return [r($, {
443
443
  get when() {
444
444
  return e.title;
445
445
  },
446
446
  get children() {
447
- var l = xr(), n = l.firstChild;
448
- return a(n, r(M.Title, {
447
+ var o = _r(), n = o.firstChild;
448
+ return i(n, r(M.Title, {
449
449
  class: "text-[16px] font-bold leading-tight",
450
450
  get children() {
451
451
  return e.title;
452
452
  }
453
- }), null), a(n, r(w, {
453
+ }), null), i(n, r($, {
454
454
  get when() {
455
455
  return e.subtitle;
456
456
  },
457
457
  get children() {
458
- var o = br();
459
- return a(o, () => e.subtitle), o;
458
+ var l = wr();
459
+ return i(l, () => e.subtitle), l;
460
460
  }
461
- }), null), a(l, r(M.CloseButton, {
461
+ }), null), i(o, r(M.CloseButton, {
462
462
  class: "grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground",
463
463
  get "aria-label"() {
464
464
  return e.closeLabel ?? "Close";
465
465
  },
466
466
  get children() {
467
- return r(He, {
467
+ return r(Ke, {
468
468
  class: "h-5 w-5"
469
469
  });
470
470
  }
471
- }), null), l;
471
+ }), null), o;
472
472
  }
473
- }), ae(() => e.children)];
473
+ }), oe(() => e.children)];
474
474
  }
475
475
  })), t;
476
476
  })()];
@@ -479,18 +479,18 @@ function ml(e) {
479
479
  }
480
480
  });
481
481
  }
482
- function hl(e) {
482
+ function Ro(e) {
483
483
  return (
484
484
  // preventScroll defaults to true in Kobalte's menu — that locks page scroll
485
485
  // (body overflow:hidden + scrollbar-width compensation) while the menu is
486
486
  // open, which is wrong for a small contextual menu (it closes on scroll
487
487
  // anyway). Dialogs (Modal/Drawer) keep the lock; a dropdown shouldn't.
488
- r(ce, {
488
+ r(de, {
489
489
  preventScroll: !1,
490
490
  get children() {
491
- return [r(ce.Trigger, {
491
+ return [r(de.Trigger, {
492
492
  get class() {
493
- return g("inline-flex", e.class);
493
+ return f("inline-flex", e.class);
494
494
  },
495
495
  get "aria-label"() {
496
496
  return e.label;
@@ -498,18 +498,18 @@ function hl(e) {
498
498
  get children() {
499
499
  return e.children;
500
500
  }
501
- }), r(ce.Portal, {
501
+ }), r(de.Portal, {
502
502
  get children() {
503
- return r(ce.Content, {
503
+ return r(de.Content, {
504
504
  class: "z-50 min-w-[10rem] overflow-hidden rounded-md border border-border bg-card p-1 text-card-foreground shadow-sm",
505
505
  get children() {
506
- return r(z, {
506
+ return r(R, {
507
507
  get each() {
508
508
  return e.items;
509
509
  },
510
- children: (t) => r(ce.Item, {
510
+ children: (t) => r(de.Item, {
511
511
  get class() {
512
- return g("cursor-pointer select-none rounded-sm px-2 py-1.5 text-sm outline-none hover:bg-muted data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t.destructive && "text-destructive");
512
+ return f("cursor-pointer select-none rounded-sm px-2 py-1.5 text-sm outline-none hover:bg-muted data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t.destructive && "text-destructive");
513
513
  },
514
514
  get disabled() {
515
515
  return t.disabled;
@@ -530,45 +530,45 @@ function hl(e) {
530
530
  })
531
531
  );
532
532
  }
533
- var $r = /* @__PURE__ */ c('<p class="text-xs text-muted-foreground">'), wr = /* @__PURE__ */ c('<div role=button class="flex cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border-2 border-dashed px-6 py-10 text-center transition"><p class="text-sm font-medium text-foreground"></p><input type=file class=hidden>');
534
- function bl(e) {
535
- const [t, l] = V(!1);
533
+ var Cr = /* @__PURE__ */ u('<p class="text-xs text-muted-foreground">'), Sr = /* @__PURE__ */ u('<div role=button class="flex cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border-2 border-dashed px-6 py-10 text-center transition"><p class="text-sm font-medium text-foreground"></p><input type=file class=hidden>');
534
+ function zo(e) {
535
+ const [t, o] = z(!1);
536
536
  let n;
537
- const o = (i) => {
538
- if (e.disabled || !i) return;
539
- const s = Array.from(i);
540
- s.length && e.onFiles(s);
537
+ const l = (a) => {
538
+ if (e.disabled || !a) return;
539
+ const d = Array.from(a);
540
+ d.length && e.onFiles(d);
541
541
  };
542
542
  return (() => {
543
- var i = wr(), s = i.firstChild, u = s.nextSibling;
544
- i.addEventListener("drop", (d) => {
545
- var b;
546
- d.preventDefault(), l(!1), o((b = d.dataTransfer) == null ? void 0 : b.files);
547
- }), i.addEventListener("dragleave", () => l(!1)), i.addEventListener("dragover", (d) => {
548
- e.disabled || (d.preventDefault(), l(!0));
549
- }), i.$$keydown = (d) => {
550
- e.disabled || (d.key === "Enter" || d.key === " ") && (d.preventDefault(), n == null || n.click());
551
- }, i.$$click = () => !e.disabled && (n == null ? void 0 : n.click()), a(i, r($t, {
543
+ var a = Sr(), d = a.firstChild, c = d.nextSibling;
544
+ a.addEventListener("drop", (s) => {
545
+ var m;
546
+ s.preventDefault(), o(!1), l((m = s.dataTransfer) == null ? void 0 : m.files);
547
+ }), a.addEventListener("dragleave", () => o(!1)), a.addEventListener("dragover", (s) => {
548
+ e.disabled || (s.preventDefault(), o(!0));
549
+ }), a.$$keydown = (s) => {
550
+ e.disabled || (s.key === "Enter" || s.key === " ") && (s.preventDefault(), n == null || n.click());
551
+ }, a.$$click = () => !e.disabled && (n == null ? void 0 : n.click()), i(a, r(Ct, {
552
552
  class: "h-8 w-8 text-muted-foreground"
553
- }), s), a(s, () => e.label ?? "Drag files here or click to browse"), a(i, r(w, {
553
+ }), d), i(d, () => e.label ?? "Drag files here or click to browse"), i(a, r($, {
554
554
  get when() {
555
555
  return e.hint;
556
556
  },
557
557
  get children() {
558
- var d = $r();
559
- return a(d, () => e.hint), d;
558
+ var s = Cr();
559
+ return i(s, () => e.hint), s;
560
560
  }
561
- }), u), u.addEventListener("change", (d) => {
562
- o(d.currentTarget.files), d.currentTarget.value = "";
561
+ }), c), c.addEventListener("change", (s) => {
562
+ l(s.currentTarget.files), s.currentTarget.value = "";
563
563
  });
564
- var m = n;
565
- return typeof m == "function" ? H(m, u) : n = u, S((d) => {
566
- var b = e.disabled ? -1 : 0, _ = e.disabled, A = {
564
+ var g = n;
565
+ return typeof g == "function" ? N(g, c) : n = c, S((s) => {
566
+ var m = e.disabled ? -1 : 0, h = e.disabled, w = {
567
567
  "border-ring bg-primary/5": t(),
568
568
  "border-border bg-glass hover:border-ring/60": !t() && !e.disabled,
569
569
  "cursor-not-allowed opacity-60": e.disabled
570
- }, k = e.accept, D = e.multiple, O = e.disabled;
571
- return b !== d.e && B(i, "tabindex", d.e = b), _ !== d.t && B(i, "aria-disabled", d.t = _), d.a = ht(i, A, d.a), k !== d.o && B(u, "accept", d.o = k), D !== d.i && (u.multiple = d.i = D), O !== d.n && (u.disabled = d.n = O), d;
570
+ }, v = e.accept, _ = e.multiple, T = e.disabled;
571
+ return m !== s.e && P(a, "tabindex", s.e = m), h !== s.t && P(a, "aria-disabled", s.t = h), s.a = yt(a, w, s.a), v !== s.o && P(c, "accept", s.o = v), _ !== s.i && (c.multiple = s.i = _), T !== s.n && (c.disabled = s.n = T), s;
572
572
  }, {
573
573
  e: void 0,
574
574
  t: void 0,
@@ -576,29 +576,29 @@ function bl(e) {
576
576
  o: void 0,
577
577
  i: void 0,
578
578
  n: void 0
579
- }), i;
579
+ }), a;
580
580
  })();
581
581
  }
582
- ee(["click", "keydown"]);
583
- var pr = /* @__PURE__ */ c("<input>");
584
- const yr = "w-full rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50";
585
- function xl(e) {
586
- const [t, l] = E(e, ["value", "onInput", "class"]);
582
+ J(["click", "keydown"]);
583
+ var Tr = /* @__PURE__ */ u("<input>");
584
+ const Mr = "w-full rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50";
585
+ function Po(e) {
586
+ const [t, o] = E(e, ["value", "onInput", "class"]);
587
587
  return (() => {
588
- var n = pr();
589
- return n.$$input = (o) => t.onInput(o.currentTarget.value), L(n, I({
588
+ var n = Tr();
589
+ return n.$$input = (l) => t.onInput(l.currentTarget.value), F(n, L({
590
590
  get class() {
591
- return g(yr, t.class);
591
+ return f(Mr, t.class);
592
592
  },
593
593
  get value() {
594
594
  return t.value;
595
595
  }
596
- }, l), !1, !1), n;
596
+ }, o), !1, !1), n;
597
597
  })();
598
598
  }
599
- ee(["input"]);
600
- var _r = /* @__PURE__ */ c('<div class="flex items-center justify-between border-b border-border p-6 pb-4">'), Oe = /* @__PURE__ */ c('<div class="p-6 pt-4">'), Cr = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">'), kr = /* @__PURE__ */ c('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/85 px-6 py-4 backdrop-blur">'), Sr = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 flex justify-end">');
601
- function vl(e) {
599
+ J(["input"]);
600
+ var Er = /* @__PURE__ */ u('<div class="flex items-center justify-between border-b border-border p-6 pb-4">'), Be = /* @__PURE__ */ u('<div class="p-6 pt-4">'), Fr = /* @__PURE__ */ u('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">'), Lr = /* @__PURE__ */ u('<div class="sticky top-0 z-10 flex items-center justify-between border-b border-border bg-background/85 px-6 py-4 backdrop-blur">'), Ir = /* @__PURE__ */ u('<div class="fixed inset-0 z-50 flex justify-end">');
601
+ function Oo(e) {
602
602
  const t = () => e.variant === "center";
603
603
  return r(M, {
604
604
  get open() {
@@ -612,68 +612,68 @@ function vl(e) {
612
612
  get children() {
613
613
  return [r(M.Overlay, {
614
614
  class: "modal-overlay fixed inset-0 z-40 bg-background/80 backdrop-blur-sm"
615
- }), r(w, {
615
+ }), r($, {
616
616
  get when() {
617
617
  return t();
618
618
  },
619
619
  get fallback() {
620
620
  return (() => {
621
- var l = Sr();
622
- return a(l, r(M.Content, {
621
+ var o = Ir();
622
+ return i(o, r(M.Content, {
623
623
  get class() {
624
- return g("drawer-content bg-glass flex h-full w-full max-w-[520px] flex-col overflow-y-auto border-l border-border text-card-foreground shadow-2xl", e.class);
624
+ return f("drawer-content bg-glass flex h-full w-full max-w-[520px] flex-col overflow-y-auto border-l border-border text-card-foreground shadow-2xl", e.class);
625
625
  },
626
626
  get children() {
627
- return [r(w, {
627
+ return [r($, {
628
628
  get when() {
629
629
  return e.title;
630
630
  },
631
631
  get children() {
632
- var n = kr();
633
- return a(n, r(M.Title, {
632
+ var n = Lr();
633
+ return i(n, r(M.Title, {
634
634
  class: "text-lg font-semibold leading-none tracking-tight",
635
635
  get children() {
636
636
  return e.title;
637
637
  }
638
- }), null), a(n, r(M.CloseButton, {
638
+ }), null), i(n, r(M.CloseButton, {
639
639
  class: "grid h-8 w-8 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground",
640
640
  get "aria-label"() {
641
641
  return e.closeLabel ?? "Close";
642
642
  },
643
643
  get children() {
644
- return r(He, {
644
+ return r(Ke, {
645
645
  class: "h-5 w-5"
646
646
  });
647
647
  }
648
648
  }), null), n;
649
649
  }
650
650
  }), (() => {
651
- var n = Oe();
652
- return a(n, () => e.children), n;
651
+ var n = Be();
652
+ return i(n, () => e.children), n;
653
653
  })()];
654
654
  }
655
- })), l;
655
+ })), o;
656
656
  })();
657
657
  },
658
658
  get children() {
659
- var l = Cr();
660
- return a(l, r(M.Content, {
659
+ var o = Fr();
660
+ return i(o, r(M.Content, {
661
661
  get class() {
662
- return g("modal-content w-full max-w-lg rounded-xl border border-border bg-card text-card-foreground shadow-sm", e.class);
662
+ return f("modal-content w-full max-w-lg rounded-xl border border-border bg-card text-card-foreground shadow-sm", e.class);
663
663
  },
664
664
  get children() {
665
- return [r(w, {
665
+ return [r($, {
666
666
  get when() {
667
667
  return e.title;
668
668
  },
669
669
  get children() {
670
- var n = _r();
671
- return a(n, r(M.Title, {
670
+ var n = Er();
671
+ return i(n, r(M.Title, {
672
672
  class: "text-lg font-semibold leading-none tracking-tight",
673
673
  get children() {
674
674
  return e.title;
675
675
  }
676
- }), null), a(n, r(M.CloseButton, {
676
+ }), null), i(n, r(M.CloseButton, {
677
677
  class: "text-muted-foreground hover:text-foreground",
678
678
  get "aria-label"() {
679
679
  return e.closeLabel ?? "Close";
@@ -682,11 +682,11 @@ function vl(e) {
682
682
  }), null), n;
683
683
  }
684
684
  }), (() => {
685
- var n = Oe();
686
- return a(n, () => e.children), n;
685
+ var n = Be();
686
+ return i(n, () => e.children), n;
687
687
  })()];
688
688
  }
689
- })), l;
689
+ })), o;
690
690
  }
691
691
  })];
692
692
  }
@@ -694,71 +694,71 @@ function vl(e) {
694
694
  }
695
695
  });
696
696
  }
697
- var Tr = /* @__PURE__ */ c('<div class="flex items-center gap-2 text-[12px] text-muted-foreground">'), Mr = /* @__PURE__ */ c('<p class="mt-0.5 text-[13px] text-muted-foreground">'), Er = /* @__PURE__ */ c('<div class="flex items-center gap-2">'), Lr = /* @__PURE__ */ c('<div class="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between"><div><h1 class="mt-1 text-2xl font-bold tracking-tight">'), Ir = /* @__PURE__ */ c("<span class=text-muted-foreground/60>/"), Fr = /* @__PURE__ */ c("<span>");
698
- function $l(e) {
697
+ var Ar = /* @__PURE__ */ u('<div class="flex items-center gap-2 text-[12px] text-muted-foreground">'), Dr = /* @__PURE__ */ u('<p class="mt-0.5 text-[13px] text-muted-foreground">'), Rr = /* @__PURE__ */ u('<div class="flex items-center gap-2">'), zr = /* @__PURE__ */ u('<div class="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between"><div><h1 class="mt-1 text-2xl font-bold tracking-tight">'), Pr = /* @__PURE__ */ u("<span class=text-muted-foreground/60>/"), Or = /* @__PURE__ */ u("<span>");
698
+ function jo(e) {
699
699
  return (() => {
700
- var t = Lr(), l = t.firstChild, n = l.firstChild;
701
- return a(l, r(w, {
700
+ var t = zr(), o = t.firstChild, n = o.firstChild;
701
+ return i(o, r($, {
702
702
  get when() {
703
- var o;
704
- return (o = e.breadcrumb) == null ? void 0 : o.length;
703
+ var l;
704
+ return (l = e.breadcrumb) == null ? void 0 : l.length;
705
705
  },
706
706
  get children() {
707
- var o = Tr();
708
- return a(o, r(z, {
707
+ var l = Ar();
708
+ return i(l, r(R, {
709
709
  get each() {
710
710
  return e.breadcrumb;
711
711
  },
712
- children: (i, s) => [r(w, {
712
+ children: (a, d) => [r($, {
713
713
  get when() {
714
- return s() > 0;
714
+ return d() > 0;
715
715
  },
716
716
  get children() {
717
- return Ir();
717
+ return Pr();
718
718
  }
719
719
  }), (() => {
720
- var u = Fr();
721
- return a(u, i), S(() => {
722
- var m;
723
- return u.classList.toggle("text-foreground", s() === (((m = e.breadcrumb) == null ? void 0 : m.length) ?? 0) - 1);
724
- }), u;
720
+ var c = Or();
721
+ return i(c, a), S(() => {
722
+ var g;
723
+ return c.classList.toggle("text-foreground", d() === (((g = e.breadcrumb) == null ? void 0 : g.length) ?? 0) - 1);
724
+ }), c;
725
725
  })()]
726
- })), o;
726
+ })), l;
727
727
  }
728
- }), n), a(n, () => e.title), a(l, r(w, {
728
+ }), n), i(n, () => e.title), i(o, r($, {
729
729
  get when() {
730
730
  return e.subtitle;
731
731
  },
732
732
  get children() {
733
- var o = Mr();
734
- return a(o, () => e.subtitle), o;
733
+ var l = Dr();
734
+ return i(l, () => e.subtitle), l;
735
735
  }
736
- }), null), a(t, r(w, {
736
+ }), null), i(t, r($, {
737
737
  get when() {
738
738
  return e.actions;
739
739
  },
740
740
  get children() {
741
- var o = Er();
742
- return a(o, () => e.actions), o;
741
+ var l = Rr();
742
+ return i(l, () => e.actions), l;
743
743
  }
744
744
  }), null), t;
745
745
  })();
746
746
  }
747
- var Ar = /* @__PURE__ */ c('<div class="flex flex-col gap-3 border-t border-border p-3 sm:flex-row sm:items-center sm:justify-between"><div class="text-[12px] text-muted-foreground"></div><div class="flex items-center gap-1"><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40"></button><span class="px-2 font-mono text-[12px] tabular-nums"></span><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40">');
748
- function wl(e) {
747
+ var jr = /* @__PURE__ */ u('<div class="flex flex-col gap-3 border-t border-border p-3 sm:flex-row sm:items-center sm:justify-between"><div class="text-[12px] text-muted-foreground"></div><div class="flex items-center gap-1"><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40"></button><span class="px-2 font-mono text-[12px] tabular-nums"></span><button type=button class="grid h-8 w-8 place-items-center rounded-lg border border-input transition hover:bg-muted disabled:pointer-events-none disabled:opacity-40">');
748
+ function Bo(e) {
749
749
  return (() => {
750
- var t = Ar(), l = t.firstChild, n = l.nextSibling, o = n.firstChild, i = o.nextSibling, s = i.nextSibling;
751
- return a(l, () => e.summary), o.$$click = () => e.onChange(e.page - 1), a(o, r(Ge, {
750
+ var t = jr(), o = t.firstChild, n = o.nextSibling, l = n.firstChild, a = l.nextSibling, d = a.nextSibling;
751
+ return i(o, () => e.summary), l.$$click = () => e.onChange(e.page - 1), i(l, r(qe, {
752
752
  class: "h-4 w-4"
753
- })), a(i, () => {
754
- var u;
755
- return (((u = e.labels) == null ? void 0 : u.page) ?? ((m, d) => `Page ${m} of ${d}`))(e.page, e.totalPages);
756
- }), s.$$click = () => e.onChange(e.page + 1), a(s, r(Xe, {
753
+ })), i(a, () => {
754
+ var c;
755
+ return (((c = e.labels) == null ? void 0 : c.page) ?? ((g, s) => `Page ${g} of ${s}`))(e.page, e.totalPages);
756
+ }), d.$$click = () => e.onChange(e.page + 1), i(d, r(Ue, {
757
757
  class: "h-4 w-4"
758
- })), S((u) => {
759
- var A, k;
760
- var m = e.page <= 1, d = ((A = e.labels) == null ? void 0 : A.previous) ?? "Previous page", b = e.page >= e.totalPages, _ = ((k = e.labels) == null ? void 0 : k.next) ?? "Next page";
761
- return m !== u.e && (o.disabled = u.e = m), d !== u.t && B(o, "aria-label", u.t = d), b !== u.a && (s.disabled = u.a = b), _ !== u.o && B(s, "aria-label", u.o = _), u;
758
+ })), S((c) => {
759
+ var w, v;
760
+ var g = e.page <= 1, s = ((w = e.labels) == null ? void 0 : w.previous) ?? "Previous page", m = e.page >= e.totalPages, h = ((v = e.labels) == null ? void 0 : v.next) ?? "Next page";
761
+ return g !== c.e && (l.disabled = c.e = g), s !== c.t && P(l, "aria-label", c.t = s), m !== c.a && (d.disabled = c.a = m), h !== c.o && P(d, "aria-label", c.o = h), c;
762
762
  }, {
763
763
  e: void 0,
764
764
  t: void 0,
@@ -767,52 +767,52 @@ function wl(e) {
767
767
  }), t;
768
768
  })();
769
769
  }
770
- ee(["click"]);
771
- var Dr = /* @__PURE__ */ c("<select>");
772
- const Rr = "w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-sm outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30";
773
- function pl(e) {
774
- const [t, l] = E(e, ["value", "onChange", "class", "children"]);
770
+ J(["click"]);
771
+ var Br = /* @__PURE__ */ u("<select>");
772
+ const Nr = "w-full rounded-md border border-input bg-background text-foreground px-3 py-2 text-sm outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30";
773
+ function No(e) {
774
+ const [t, o] = E(e, ["value", "onChange", "class", "children"]);
775
775
  let n;
776
776
  return pe(() => {
777
- const o = t.value ?? "";
778
- t.children, n && n.value !== o && (n.value = o);
777
+ const l = t.value ?? "";
778
+ t.children, n && n.value !== l && (n.value = l);
779
779
  }), (() => {
780
- var o = Dr();
781
- o.addEventListener("change", (s) => t.onChange(s.currentTarget.value));
782
- var i = n;
783
- return typeof i == "function" ? H(i, o) : n = o, L(o, I({
780
+ var l = Br();
781
+ l.addEventListener("change", (d) => t.onChange(d.currentTarget.value));
782
+ var a = n;
783
+ return typeof a == "function" ? N(a, l) : n = l, F(l, L({
784
784
  get class() {
785
- return g(Rr, t.class);
785
+ return f(Nr, t.class);
786
786
  },
787
787
  get value() {
788
788
  return t.value;
789
789
  }
790
- }, l), !1, !0), a(o, () => t.children), o;
790
+ }, o), !1, !0), i(l, () => t.children), l;
791
791
  })();
792
792
  }
793
- var Pr = /* @__PURE__ */ c('<svg viewBox="0 0 24 24"fill=none role=status><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z">');
794
- function zr(e) {
793
+ var Vr = /* @__PURE__ */ u('<svg viewBox="0 0 24 24"fill=none role=status><circle class=opacity-25 cx=12 cy=12 r=10 stroke=currentColor stroke-width=4></circle><path class=opacity-75 fill=currentColor d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z">');
794
+ function Yr(e) {
795
795
  return (() => {
796
- var t = Pr();
797
- return S((l) => {
798
- var n = g("h-5 w-5 animate-spin text-muted-foreground", e.class), o = e.label ?? "Loading";
799
- return n !== l.e && B(t, "class", l.e = n), o !== l.t && B(t, "aria-label", l.t = o), l;
796
+ var t = Vr();
797
+ return S((o) => {
798
+ var n = f("h-5 w-5 animate-spin text-muted-foreground", e.class), l = e.label ?? "Loading";
799
+ return n !== o.e && P(t, "class", o.e = n), l !== o.t && P(t, "aria-label", o.t = l), o;
800
800
  }, {
801
801
  e: void 0,
802
802
  t: void 0
803
803
  }), t;
804
804
  })();
805
805
  }
806
- var Or = /* @__PURE__ */ c("<div>"), Br = /* @__PURE__ */ c('<div class=min-w-0><p class="truncate text-sm text-muted-foreground"></p><p class="truncate text-xl font-semibold tabular-nums text-foreground">');
807
- const jr = {
806
+ var Gr = /* @__PURE__ */ u("<div>"), Xr = /* @__PURE__ */ u('<div class=min-w-0><p class="truncate text-sm text-muted-foreground"></p><p class="truncate text-xl font-semibold tabular-nums text-foreground">');
807
+ const Hr = {
808
808
  primary: "bg-primary/15 text-primary",
809
809
  success: "bg-emerald-500/15 text-emerald-600",
810
810
  danger: "bg-rose-500/15 text-rose-600",
811
811
  neutral: "bg-muted text-muted-foreground"
812
812
  };
813
- function yl(e) {
814
- const t = lt(), l = Wt(() => e.value), n = () => (e.format ?? ((o) => String(Math.round(o))))(l());
815
- return r(Lt.div, {
813
+ function Vo(e) {
814
+ const t = it(), o = nr(() => e.value), n = () => (e.format ?? ((l) => String(Math.round(l))))(o());
815
+ return r(zt.div, {
816
816
  initial: t ? !1 : {
817
817
  opacity: 0,
818
818
  y: 8
@@ -829,27 +829,27 @@ function yl(e) {
829
829
  };
830
830
  },
831
831
  get children() {
832
- return r(ir, {
832
+ return r(fr, {
833
833
  glass: !0,
834
834
  glow: !0,
835
835
  get class() {
836
836
  return e.class;
837
837
  },
838
838
  get children() {
839
- return r(sr, {
839
+ return r(mr, {
840
840
  class: "flex items-center gap-4 p-5",
841
841
  get children() {
842
- return [r(w, {
842
+ return [r($, {
843
843
  get when() {
844
844
  return e.icon;
845
845
  },
846
846
  get children() {
847
- var o = Or();
848
- return a(o, () => e.icon), S(() => X(o, g("flex h-11 w-11 shrink-0 items-center justify-center rounded-lg", jr[e.tone ?? "neutral"]))), o;
847
+ var l = Gr();
848
+ return i(l, () => e.icon), S(() => Y(l, f("flex h-11 w-11 shrink-0 items-center justify-center rounded-lg", Hr[e.tone ?? "neutral"]))), l;
849
849
  }
850
850
  }), (() => {
851
- var o = Br(), i = o.firstChild, s = i.nextSibling;
852
- return a(i, () => e.label), a(s, n), o;
851
+ var l = Xr(), a = l.firstChild, d = a.nextSibling;
852
+ return i(a, () => e.label), i(d, n), l;
853
853
  })()];
854
854
  }
855
855
  });
@@ -858,112 +858,112 @@ function yl(e) {
858
858
  }
859
859
  });
860
860
  }
861
- var Vr = /* @__PURE__ */ c('<div class="w-full overflow-x-auto"><table>'), Nr = /* @__PURE__ */ c("<thead>"), Yr = /* @__PURE__ */ c("<tbody>"), Gr = /* @__PURE__ */ c("<tr>"), Xr = /* @__PURE__ */ c("<th>"), Hr = /* @__PURE__ */ c("<td>");
862
- function _l(e) {
863
- const [t, l] = E(e, ["class", "children"]);
861
+ var qr = /* @__PURE__ */ u('<div class="w-full overflow-x-auto"><table>'), Ur = /* @__PURE__ */ u("<thead>"), Kr = /* @__PURE__ */ u("<tbody>"), Zr = /* @__PURE__ */ u("<tr>"), Wr = /* @__PURE__ */ u("<th>"), Jr = /* @__PURE__ */ u("<td>");
862
+ function Yo(e) {
863
+ const [t, o] = E(e, ["class", "children"]);
864
864
  return (() => {
865
- var n = Vr(), o = n.firstChild;
866
- return L(o, I({
865
+ var n = qr(), l = n.firstChild;
866
+ return F(l, L({
867
867
  get class() {
868
- return g("w-full border-collapse text-sm", t.class);
868
+ return f("w-full border-collapse text-sm", t.class);
869
869
  }
870
- }, l), !1, !0), a(o, () => t.children), n;
870
+ }, o), !1, !0), i(l, () => t.children), n;
871
871
  })();
872
872
  }
873
- function Cl(e) {
874
- const [t, l] = E(e, ["class", "children"]);
873
+ function Go(e) {
874
+ const [t, o] = E(e, ["class", "children"]);
875
875
  return (() => {
876
- var n = Nr();
877
- return L(n, I({
876
+ var n = Ur();
877
+ return F(n, L({
878
878
  get class() {
879
- return g("border-b border-border text-left text-muted-foreground", t.class);
879
+ return f("border-b border-border text-left text-muted-foreground", t.class);
880
880
  }
881
- }, l), !1, !0), a(n, () => t.children), n;
881
+ }, o), !1, !0), i(n, () => t.children), n;
882
882
  })();
883
883
  }
884
- function kl(e) {
885
- const [t, l] = E(e, ["class", "children"]);
884
+ function Xo(e) {
885
+ const [t, o] = E(e, ["class", "children"]);
886
886
  return (() => {
887
- var n = Yr();
888
- return L(n, I({
887
+ var n = Kr();
888
+ return F(n, L({
889
889
  get class() {
890
890
  return t.class;
891
891
  }
892
- }, l), !1, !0), a(n, () => t.children), n;
892
+ }, o), !1, !0), i(n, () => t.children), n;
893
893
  })();
894
894
  }
895
- function Sl(e) {
896
- const [t, l] = E(e, ["class", "children"]);
895
+ function Ho(e) {
896
+ const [t, o] = E(e, ["class", "children"]);
897
897
  return (() => {
898
- var n = Gr();
899
- return L(n, I({
898
+ var n = Zr();
899
+ return F(n, L({
900
900
  get class() {
901
- return g("border-b border-border last:border-0 hover:bg-muted/40", t.class);
901
+ return f("border-b border-border last:border-0 hover:bg-muted/40", t.class);
902
902
  }
903
- }, l), !1, !0), a(n, () => t.children), n;
903
+ }, o), !1, !0), i(n, () => t.children), n;
904
904
  })();
905
905
  }
906
- function Tl(e) {
907
- const [t, l] = E(e, ["class", "children"]);
906
+ function qo(e) {
907
+ const [t, o] = E(e, ["class", "children"]);
908
908
  return (() => {
909
- var n = Xr();
910
- return L(n, I({
909
+ var n = Wr();
910
+ return F(n, L({
911
911
  get class() {
912
- return g("px-3 py-2 text-xs font-semibold uppercase tracking-wide", t.class);
912
+ return f("px-3 py-2 text-xs font-semibold uppercase tracking-wide", t.class);
913
913
  }
914
- }, l), !1, !0), a(n, () => t.children), n;
914
+ }, o), !1, !0), i(n, () => t.children), n;
915
915
  })();
916
916
  }
917
- function Ml(e) {
918
- const [t, l] = E(e, ["class", "children"]);
917
+ function Uo(e) {
918
+ const [t, o] = E(e, ["class", "children"]);
919
919
  return (() => {
920
- var n = Hr();
921
- return L(n, I({
920
+ var n = Jr();
921
+ return F(n, L({
922
922
  get class() {
923
- return g("px-3 py-2 align-middle", t.class);
923
+ return f("px-3 py-2 align-middle", t.class);
924
924
  }
925
- }, l), !1, !0), a(n, () => t.children), n;
925
+ }, o), !1, !0), i(n, () => t.children), n;
926
926
  })();
927
927
  }
928
- var qr = /* @__PURE__ */ c("<div><div style=position:relative;width:100%>"), Ur = /* @__PURE__ */ c("<div style=position:absolute;top:0;left:0;width:100%>");
929
- function El(e) {
930
- const [t, l] = V(), n = It({
928
+ var Qr = /* @__PURE__ */ u("<div><div style=position:relative;width:100%>"), en = /* @__PURE__ */ u("<div style=position:absolute;top:0;left:0;width:100%>");
929
+ function Ko(e) {
930
+ const [t, o] = z(), n = Pt({
931
931
  get count() {
932
932
  return e.each.length;
933
933
  },
934
934
  getScrollElement: () => t() ?? null,
935
- estimateSize: (o) => typeof e.estimateSize == "function" ? e.estimateSize(o) : e.estimateSize,
935
+ estimateSize: (l) => typeof e.estimateSize == "function" ? e.estimateSize(l) : e.estimateSize,
936
936
  get overscan() {
937
937
  return e.overscan ?? 10;
938
938
  }
939
939
  });
940
- return Jt(t, l), (() => {
941
- var o = qr(), i = o.firstChild;
942
- return H(l, o), a(i, r(z, {
940
+ return or(t, o), (() => {
941
+ var l = Qr(), a = l.firstChild;
942
+ return N(o, l), i(a, r(R, {
943
943
  get each() {
944
944
  return n.getVirtualItems();
945
945
  },
946
- children: (s) => (() => {
947
- var u = Ur();
948
- return a(u, () => e.children(e.each[s.index], () => s.index)), S((m) => {
949
- var d = `${s.size}px`, b = `translateY(${s.start}px)`;
950
- return d !== m.e && oe(u, "height", m.e = d), b !== m.t && oe(u, "transform", m.t = b), m;
946
+ children: (d) => (() => {
947
+ var c = en();
948
+ return i(c, () => e.children(e.each[d.index], () => d.index)), S((g) => {
949
+ var s = `${d.size}px`, m = `translateY(${d.start}px)`;
950
+ return s !== g.e && ne(c, "height", g.e = s), m !== g.t && ne(c, "transform", g.t = m), g;
951
951
  }, {
952
952
  e: void 0,
953
953
  t: void 0
954
- }), u;
954
+ }), c;
955
955
  })()
956
- })), S((s) => {
957
- var u = g("overflow-auto", e.class), m = `${n.getTotalSize()}px`;
958
- return u !== s.e && X(o, s.e = u), m !== s.t && oe(i, "height", s.t = m), s;
956
+ })), S((d) => {
957
+ var c = f("overflow-auto", e.class), g = `${n.getTotalSize()}px`;
958
+ return c !== d.e && Y(l, d.e = c), g !== d.t && ne(a, "height", d.t = g), d;
959
959
  }, {
960
960
  e: void 0,
961
961
  t: void 0
962
- }), o;
962
+ }), l;
963
963
  })();
964
964
  }
965
- function Ll(e) {
966
- return r(de, {
965
+ function Zo(e) {
966
+ return r(ce, {
967
967
  get value() {
968
968
  return e.value;
969
969
  },
@@ -974,33 +974,33 @@ function Ll(e) {
974
974
  return e.class;
975
975
  },
976
976
  get children() {
977
- return [r(de.List, {
977
+ return [r(ce.List, {
978
978
  class: "flex gap-1 border-b border-border",
979
979
  get children() {
980
- return [r(z, {
980
+ return [r(R, {
981
981
  get each() {
982
982
  return e.items;
983
983
  },
984
- children: (t) => r(de.Trigger, {
984
+ children: (t) => r(ce.Trigger, {
985
985
  get value() {
986
986
  return t.value;
987
987
  },
988
988
  get class() {
989
- return g("px-3 py-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground", "data-[selected]:text-foreground");
989
+ return f("px-3 py-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground", "data-[selected]:text-foreground");
990
990
  },
991
991
  get children() {
992
992
  return t.label;
993
993
  }
994
994
  })
995
- }), r(de.Indicator, {
995
+ }), r(ce.Indicator, {
996
996
  class: "absolute bottom-0 h-0.5 bg-primary transition-all"
997
997
  })];
998
998
  }
999
- }), r(z, {
999
+ }), r(R, {
1000
1000
  get each() {
1001
1001
  return e.items;
1002
1002
  },
1003
- children: (t) => r(de.Content, {
1003
+ children: (t) => r(ce.Content, {
1004
1004
  get value() {
1005
1005
  return t.value;
1006
1006
  },
@@ -1013,42 +1013,42 @@ function Ll(e) {
1013
1013
  }
1014
1014
  });
1015
1015
  }
1016
- var Kr = /* @__PURE__ */ c("<div class=flex-1>");
1017
- const Zr = {
1016
+ var tn = /* @__PURE__ */ u("<div class=flex-1>");
1017
+ const rn = {
1018
1018
  success: "border-emerald-500/30 bg-emerald-500/10",
1019
1019
  error: "border-destructive/30 bg-destructive/10",
1020
1020
  info: "border-sky-500/30 bg-sky-500/10"
1021
1021
  };
1022
- function Se(e, t, l) {
1023
- Ft.show((n) => r(le, {
1022
+ function Te(e, t, o) {
1023
+ Ot.show((n) => r(re, {
1024
1024
  get toastId() {
1025
1025
  return n.toastId;
1026
1026
  },
1027
1027
  get class() {
1028
- return g(
1028
+ return f(
1029
1029
  // toast-item drives the slide+fade keyframes in styles.css, keyed off
1030
1030
  // Kobalte's data-opened/data-closed presence (same animationend-only
1031
1031
  // mechanism as Modal).
1032
1032
  "toast-item flex w-full items-start gap-2 rounded-md border bg-card p-3 text-sm text-card-foreground shadow-sm ring-1 ring-border",
1033
- Zr[e]
1033
+ rn[e]
1034
1034
  );
1035
1035
  },
1036
1036
  get children() {
1037
1037
  return [(() => {
1038
- var o = Kr();
1039
- return a(o, r(le.Title, {
1038
+ var l = tn();
1039
+ return i(l, r(re.Title, {
1040
1040
  class: "font-semibold",
1041
1041
  children: t
1042
- }), null), a(o, r(w, {
1043
- when: l,
1042
+ }), null), i(l, r($, {
1043
+ when: o,
1044
1044
  get children() {
1045
- return r(le.Description, {
1045
+ return r(re.Description, {
1046
1046
  class: "text-muted-foreground",
1047
- children: l
1047
+ children: o
1048
1048
  });
1049
1049
  }
1050
- }), null), o;
1051
- })(), r(le.CloseButton, {
1050
+ }), null), l;
1051
+ })(), r(re.CloseButton, {
1052
1052
  class: "text-muted-foreground hover:text-foreground",
1053
1053
  "aria-label": "Close",
1054
1054
  children: "✕"
@@ -1056,24 +1056,24 @@ function Se(e, t, l) {
1056
1056
  }
1057
1057
  }));
1058
1058
  }
1059
- const Il = {
1060
- success: (e, t) => Se("success", e, t),
1061
- error: (e, t) => Se("error", e, t),
1062
- info: (e, t) => Se("info", e, t)
1059
+ const Wo = {
1060
+ success: (e, t) => Te("success", e, t),
1061
+ error: (e, t) => Te("error", e, t),
1062
+ info: (e, t) => Te("info", e, t)
1063
1063
  };
1064
- function Fl() {
1065
- return r(le.Region, {
1064
+ function Jo() {
1065
+ return r(re.Region, {
1066
1066
  duration: 5e3,
1067
1067
  swipeDirection: "right",
1068
1068
  get children() {
1069
- return r(le.List, {
1069
+ return r(re.List, {
1070
1070
  class: "fixed bottom-4 right-4 z-50 flex w-80 flex-col gap-2 outline-none"
1071
1071
  });
1072
1072
  }
1073
1073
  });
1074
1074
  }
1075
- function Al(e) {
1076
- return r(ue, {
1075
+ function Qo(e) {
1076
+ return r(se, {
1077
1077
  get checked() {
1078
1078
  return e.checked;
1079
1079
  },
@@ -1084,22 +1084,22 @@ function Al(e) {
1084
1084
  return e.disabled;
1085
1085
  },
1086
1086
  get class() {
1087
- return g("inline-flex items-center gap-2", e.class);
1087
+ return f("inline-flex items-center gap-2", e.class);
1088
1088
  },
1089
1089
  get children() {
1090
- return [r(ue.Input, {}), r(ue.Control, {
1090
+ return [r(se.Input, {}), r(se.Control, {
1091
1091
  class: "inline-flex h-5 w-9 shrink-0 items-center rounded-full bg-input px-0.5 transition-colors data-[checked]:bg-primary data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
1092
1092
  get children() {
1093
- return r(ue.Thumb, {
1093
+ return r(se.Thumb, {
1094
1094
  class: "h-4 w-4 rounded-full bg-white shadow-sm transition-transform data-[checked]:translate-x-4"
1095
1095
  });
1096
1096
  }
1097
- }), r(w, {
1097
+ }), r($, {
1098
1098
  get when() {
1099
1099
  return e.label;
1100
1100
  },
1101
1101
  get children() {
1102
- return r(ue.Label, {
1102
+ return r(se.Label, {
1103
1103
  class: "text-sm text-foreground",
1104
1104
  get children() {
1105
1105
  return e.label;
@@ -1110,8 +1110,8 @@ function Al(e) {
1110
1110
  }
1111
1111
  });
1112
1112
  }
1113
- function Dl(e) {
1114
- return r(J, {
1113
+ function el(e) {
1114
+ return r(Z, {
1115
1115
  get value() {
1116
1116
  return e.value;
1117
1117
  },
@@ -1119,26 +1119,26 @@ function Dl(e) {
1119
1119
  return e.onChange;
1120
1120
  },
1121
1121
  get class() {
1122
- return g("flex flex-col gap-2", e.class);
1122
+ return f("flex flex-col gap-2", e.class);
1123
1123
  },
1124
1124
  get children() {
1125
- return [r(w, {
1125
+ return [r($, {
1126
1126
  get when() {
1127
1127
  return e.label;
1128
1128
  },
1129
1129
  get children() {
1130
- return r(J.Label, {
1130
+ return r(Z.Label, {
1131
1131
  class: "text-sm font-medium text-foreground",
1132
1132
  get children() {
1133
1133
  return e.label;
1134
1134
  }
1135
1135
  });
1136
1136
  }
1137
- }), r(z, {
1137
+ }), r(R, {
1138
1138
  get each() {
1139
1139
  return e.options;
1140
1140
  },
1141
- children: (t) => r(J.Item, {
1141
+ children: (t) => r(Z.Item, {
1142
1142
  get value() {
1143
1143
  return t.value;
1144
1144
  },
@@ -1147,14 +1147,14 @@ function Dl(e) {
1147
1147
  },
1148
1148
  class: "flex items-center gap-2 text-sm text-foreground data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
1149
1149
  get children() {
1150
- return [r(J.ItemInput, {}), r(J.ItemControl, {
1150
+ return [r(Z.ItemInput, {}), r(Z.ItemControl, {
1151
1151
  class: "grid h-4 w-4 place-items-center rounded-full border border-input transition-colors data-[checked]:border-primary",
1152
1152
  get children() {
1153
- return r(J.ItemIndicator, {
1153
+ return r(Z.ItemIndicator, {
1154
1154
  class: "h-2 w-2 rounded-full bg-primary"
1155
1155
  });
1156
1156
  }
1157
- }), r(J.ItemLabel, {
1157
+ }), r(Z.ItemLabel, {
1158
1158
  get children() {
1159
1159
  return t.label;
1160
1160
  }
@@ -1165,39 +1165,39 @@ function Dl(e) {
1165
1165
  }
1166
1166
  });
1167
1167
  }
1168
- var Wr = /* @__PURE__ */ c("<textarea>");
1169
- const Jr = "w-full min-h-[80px] resize-y rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50";
1170
- function Rl(e) {
1171
- const [t, l] = E(e, ["value", "onInput", "class"]);
1168
+ var nn = /* @__PURE__ */ u("<textarea>");
1169
+ const on = "w-full min-h-[80px] resize-y rounded-md border border-input bg-background text-foreground placeholder:text-muted-foreground px-3 py-2 text-sm outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30 disabled:cursor-not-allowed disabled:opacity-50";
1170
+ function tl(e) {
1171
+ const [t, o] = E(e, ["value", "onInput", "class"]);
1172
1172
  return (() => {
1173
- var n = Wr();
1174
- return n.$$input = (o) => t.onInput(o.currentTarget.value), L(n, I({
1173
+ var n = nn();
1174
+ return n.$$input = (l) => t.onInput(l.currentTarget.value), F(n, L({
1175
1175
  get class() {
1176
- return g(Jr, t.class);
1176
+ return f(on, t.class);
1177
1177
  },
1178
1178
  get value() {
1179
1179
  return t.value;
1180
1180
  }
1181
- }, l), !1, !1), n;
1181
+ }, o), !1, !1), n;
1182
1182
  })();
1183
1183
  }
1184
- ee(["input"]);
1185
- function Pl(e) {
1186
- return r(ge, {
1184
+ J(["input"]);
1185
+ function rl(e) {
1186
+ return r(ue, {
1187
1187
  get children() {
1188
- return [r(ge.Trigger, {
1188
+ return [r(ue.Trigger, {
1189
1189
  class: "inline-flex",
1190
1190
  get children() {
1191
1191
  return e.children;
1192
1192
  }
1193
- }), r(ge.Portal, {
1193
+ }), r(ue.Portal, {
1194
1194
  get children() {
1195
- return r(ge.Content, {
1195
+ return r(ue.Content, {
1196
1196
  get class() {
1197
- return g("z-50 rounded-md border border-border bg-card px-2.5 py-1.5 text-xs text-card-foreground shadow-md", e.class);
1197
+ return f("z-50 rounded-md border border-border bg-card px-2.5 py-1.5 text-xs text-card-foreground shadow-md", e.class);
1198
1198
  },
1199
1199
  get children() {
1200
- return [r(ge.Arrow, {}), ae(() => e.content)];
1200
+ return [r(ue.Arrow, {}), oe(() => e.content)];
1201
1201
  }
1202
1202
  });
1203
1203
  }
@@ -1205,22 +1205,22 @@ function Pl(e) {
1205
1205
  }
1206
1206
  });
1207
1207
  }
1208
- function zl(e) {
1209
- return r(fe, {
1208
+ function nl(e) {
1209
+ return r(ge, {
1210
1210
  get children() {
1211
- return [r(fe.Trigger, {
1211
+ return [r(ge.Trigger, {
1212
1212
  class: "inline-flex",
1213
1213
  get children() {
1214
1214
  return e.trigger;
1215
1215
  }
1216
- }), r(fe.Portal, {
1216
+ }), r(ge.Portal, {
1217
1217
  get children() {
1218
- return r(fe.Content, {
1218
+ return r(ge.Content, {
1219
1219
  get class() {
1220
- return g("bg-glass z-50 rounded-lg border border-border p-4 text-card-foreground shadow-lg", e.class);
1220
+ return f("bg-glass z-50 rounded-lg border border-border p-4 text-card-foreground shadow-lg", e.class);
1221
1221
  },
1222
1222
  get children() {
1223
- return [r(fe.Arrow, {}), ae(() => e.children)];
1223
+ return [r(ge.Arrow, {}), oe(() => e.children)];
1224
1224
  }
1225
1225
  });
1226
1226
  }
@@ -1228,22 +1228,22 @@ function zl(e) {
1228
1228
  }
1229
1229
  });
1230
1230
  }
1231
- function Ol(e) {
1232
- return r(me, {
1231
+ function ol(e) {
1232
+ return r(fe, {
1233
1233
  get children() {
1234
- return [r(me.Trigger, {
1234
+ return [r(fe.Trigger, {
1235
1235
  class: "inline-flex",
1236
1236
  get children() {
1237
1237
  return e.trigger;
1238
1238
  }
1239
- }), r(me.Portal, {
1239
+ }), r(fe.Portal, {
1240
1240
  get children() {
1241
- return r(me.Content, {
1241
+ return r(fe.Content, {
1242
1242
  get class() {
1243
- return g("bg-glass z-50 rounded-lg border border-border p-4 text-card-foreground shadow-lg", e.class);
1243
+ return f("bg-glass z-50 rounded-lg border border-border p-4 text-card-foreground shadow-lg", e.class);
1244
1244
  },
1245
1245
  get children() {
1246
- return [r(me.Arrow, {}), ae(() => e.children)];
1246
+ return [r(fe.Arrow, {}), oe(() => e.children)];
1247
1247
  }
1248
1248
  });
1249
1249
  }
@@ -1251,65 +1251,65 @@ function Ol(e) {
1251
1251
  }
1252
1252
  });
1253
1253
  }
1254
- var Qr = /* @__PURE__ */ c("<p class=font-semibold>"), en = /* @__PURE__ */ c("<div class=flex-1><div class=text-muted-foreground>");
1255
- const tn = {
1254
+ var ln = /* @__PURE__ */ u("<p class=font-semibold>"), an = /* @__PURE__ */ u("<div class=flex-1><div class=text-muted-foreground>");
1255
+ const dn = {
1256
1256
  info: {
1257
1257
  wrap: "border-sky-500/30 bg-sky-500/10",
1258
1258
  icon: "text-sky-500",
1259
- Icon: _t
1259
+ Icon: Et
1260
1260
  },
1261
1261
  success: {
1262
1262
  wrap: "border-emerald-500/30 bg-emerald-500/10",
1263
1263
  icon: "text-emerald-500",
1264
- Icon: yt
1264
+ Icon: Mt
1265
1265
  },
1266
1266
  warning: {
1267
1267
  wrap: "border-amber-500/30 bg-amber-500/10",
1268
1268
  icon: "text-amber-500",
1269
- Icon: pt
1269
+ Icon: Tt
1270
1270
  },
1271
1271
  danger: {
1272
1272
  wrap: "border-rose-500/30 bg-rose-500/10",
1273
1273
  icon: "text-rose-500",
1274
- Icon: wt
1274
+ Icon: St
1275
1275
  }
1276
1276
  };
1277
- function Bl(e) {
1278
- const t = () => tn[e.tone ?? "info"];
1279
- return r(At, {
1277
+ function ll(e) {
1278
+ const t = () => dn[e.tone ?? "info"];
1279
+ return r(jt, {
1280
1280
  get class() {
1281
- return g("flex gap-3 rounded-lg border p-3 text-sm text-foreground", t().wrap, e.class);
1281
+ return f("flex gap-3 rounded-lg border p-3 text-sm text-foreground", t().wrap, e.class);
1282
1282
  },
1283
1283
  get children() {
1284
- return [r(bt, {
1284
+ return [r(wt, {
1285
1285
  get component() {
1286
1286
  return t().Icon;
1287
1287
  },
1288
1288
  get class() {
1289
- return g("mt-0.5 h-4 w-4 shrink-0", t().icon);
1289
+ return f("mt-0.5 h-4 w-4 shrink-0", t().icon);
1290
1290
  }
1291
1291
  }), (() => {
1292
- var l = en(), n = l.firstChild;
1293
- return a(l, r(w, {
1292
+ var o = an(), n = o.firstChild;
1293
+ return i(o, r($, {
1294
1294
  get when() {
1295
1295
  return e.title;
1296
1296
  },
1297
1297
  get children() {
1298
- var o = Qr();
1299
- return a(o, () => e.title), o;
1298
+ var l = ln();
1299
+ return i(l, () => e.title), l;
1300
1300
  }
1301
- }), n), a(n, () => e.children), l;
1301
+ }), n), i(n, () => e.children), o;
1302
1302
  })()];
1303
1303
  }
1304
1304
  });
1305
1305
  }
1306
- function jl(e) {
1307
- return r(_e, {
1306
+ function al(e) {
1307
+ return r(ke, {
1308
1308
  get class() {
1309
- return g("inline-flex h-9 w-9 shrink-0 overflow-hidden rounded-full bg-muted", e.class);
1309
+ return f("inline-flex h-9 w-9 shrink-0 overflow-hidden rounded-full bg-muted", e.class);
1310
1310
  },
1311
1311
  get children() {
1312
- return [r(_e.Img, {
1312
+ return [r(ke.Img, {
1313
1313
  get src() {
1314
1314
  return e.src;
1315
1315
  },
@@ -1317,7 +1317,7 @@ function jl(e) {
1317
1317
  return e.alt;
1318
1318
  },
1319
1319
  class: "h-full w-full object-cover"
1320
- }), r(_e.Fallback, {
1320
+ }), r(ke.Fallback, {
1321
1321
  class: "grid h-full w-full place-items-center text-xs font-medium text-muted-foreground",
1322
1322
  get children() {
1323
1323
  return e.fallback;
@@ -1326,27 +1326,27 @@ function jl(e) {
1326
1326
  }
1327
1327
  });
1328
1328
  }
1329
- var rn = /* @__PURE__ */ c("<div>");
1330
- function Vl(e) {
1329
+ var cn = /* @__PURE__ */ u("<div>");
1330
+ function il(e) {
1331
1331
  return (() => {
1332
- var t = rn();
1333
- return S(() => X(t, g("animate-pulse rounded-md bg-muted", e.class))), t;
1332
+ var t = cn();
1333
+ return S(() => Y(t, f("animate-pulse rounded-md bg-muted", e.class))), t;
1334
1334
  })();
1335
1335
  }
1336
- function Nl(e) {
1336
+ function dl(e) {
1337
1337
  const t = () => e.orientation ?? "horizontal";
1338
- return r(Dt, {
1338
+ return r(Bt, {
1339
1339
  get orientation() {
1340
1340
  return t();
1341
1341
  },
1342
1342
  get class() {
1343
- return g("bg-border", t() === "vertical" ? "w-px self-stretch" : "h-px w-full", e.class);
1343
+ return f("bg-border", t() === "vertical" ? "w-px self-stretch" : "h-px w-full", e.class);
1344
1344
  }
1345
1345
  });
1346
1346
  }
1347
- var nn = /* @__PURE__ */ c('<div class="flex items-center justify-between text-sm text-foreground">');
1348
- function Yl(e) {
1349
- return r(he, {
1347
+ var sn = /* @__PURE__ */ u('<div class="flex items-center justify-between text-sm text-foreground">');
1348
+ function cl(e) {
1349
+ return r(me, {
1350
1350
  get value() {
1351
1351
  return e.value;
1352
1352
  },
@@ -1355,27 +1355,27 @@ function Yl(e) {
1355
1355
  return e.max ?? 100;
1356
1356
  },
1357
1357
  get class() {
1358
- return g("flex flex-col gap-1.5", e.class);
1358
+ return f("flex flex-col gap-1.5", e.class);
1359
1359
  },
1360
1360
  get children() {
1361
- return [r(w, {
1361
+ return [r($, {
1362
1362
  get when() {
1363
1363
  return e.label;
1364
1364
  },
1365
1365
  get children() {
1366
- var t = nn();
1367
- return a(t, r(he.Label, {
1366
+ var t = sn();
1367
+ return i(t, r(me.Label, {
1368
1368
  get children() {
1369
1369
  return e.label;
1370
1370
  }
1371
- }), null), a(t, r(he.ValueLabel, {
1371
+ }), null), i(t, r(me.ValueLabel, {
1372
1372
  class: "text-muted-foreground"
1373
1373
  }), null), t;
1374
1374
  }
1375
- }), r(he.Track, {
1375
+ }), r(me.Track, {
1376
1376
  class: "h-2 overflow-hidden rounded-full bg-muted",
1377
1377
  get children() {
1378
- return r(he.Fill, {
1378
+ return r(me.Fill, {
1379
1379
  class: "h-full rounded-full bg-primary transition-all"
1380
1380
  });
1381
1381
  }
@@ -1383,9 +1383,9 @@ function Yl(e) {
1383
1383
  }
1384
1384
  });
1385
1385
  }
1386
- var ln = /* @__PURE__ */ c('<div class="flex items-center justify-between text-sm text-foreground">');
1387
- function Gl(e) {
1388
- return r(be, {
1386
+ var un = /* @__PURE__ */ u('<div class="flex items-center justify-between text-sm text-foreground">');
1387
+ function sl(e) {
1388
+ return r(he, {
1389
1389
  get value() {
1390
1390
  return e.value;
1391
1391
  },
@@ -1394,27 +1394,27 @@ function Gl(e) {
1394
1394
  return e.max ?? 100;
1395
1395
  },
1396
1396
  get class() {
1397
- return g("flex flex-col gap-1.5", e.class);
1397
+ return f("flex flex-col gap-1.5", e.class);
1398
1398
  },
1399
1399
  get children() {
1400
- return [r(w, {
1400
+ return [r($, {
1401
1401
  get when() {
1402
1402
  return e.label;
1403
1403
  },
1404
1404
  get children() {
1405
- var t = ln();
1406
- return a(t, r(be.Label, {
1405
+ var t = un();
1406
+ return i(t, r(he.Label, {
1407
1407
  get children() {
1408
1408
  return e.label;
1409
1409
  }
1410
- }), null), a(t, r(be.ValueLabel, {
1410
+ }), null), i(t, r(he.ValueLabel, {
1411
1411
  class: "text-muted-foreground"
1412
1412
  }), null), t;
1413
1413
  }
1414
- }), r(be.Track, {
1414
+ }), r(he.Track, {
1415
1415
  class: "h-2 overflow-hidden rounded-full bg-muted",
1416
1416
  get children() {
1417
- return r(be.Fill, {
1417
+ return r(he.Fill, {
1418
1418
  class: "h-full rounded-full bg-primary transition-all"
1419
1419
  });
1420
1420
  }
@@ -1422,9 +1422,9 @@ function Gl(e) {
1422
1422
  }
1423
1423
  });
1424
1424
  }
1425
- var on = /* @__PURE__ */ c('<div class="flex items-center justify-between text-sm text-foreground">');
1426
- function Xl(e) {
1427
- return r(Q, {
1425
+ var gn = /* @__PURE__ */ u('<div class="flex items-center justify-between text-sm text-foreground">');
1426
+ function ul(e) {
1427
+ return r(W, {
1428
1428
  get value() {
1429
1429
  return [e.value];
1430
1430
  },
@@ -1439,32 +1439,32 @@ function Xl(e) {
1439
1439
  return e.step ?? 1;
1440
1440
  },
1441
1441
  get class() {
1442
- return g("flex flex-col gap-2", e.class);
1442
+ return f("flex flex-col gap-2", e.class);
1443
1443
  },
1444
1444
  get children() {
1445
- return [r(w, {
1445
+ return [r($, {
1446
1446
  get when() {
1447
1447
  return e.label;
1448
1448
  },
1449
1449
  get children() {
1450
- var t = on();
1451
- return a(t, r(Q.Label, {
1450
+ var t = gn();
1451
+ return i(t, r(W.Label, {
1452
1452
  get children() {
1453
1453
  return e.label;
1454
1454
  }
1455
- }), null), a(t, r(Q.ValueLabel, {
1455
+ }), null), i(t, r(W.ValueLabel, {
1456
1456
  class: "text-muted-foreground"
1457
1457
  }), null), t;
1458
1458
  }
1459
- }), r(Q.Track, {
1459
+ }), r(W.Track, {
1460
1460
  class: "relative h-1.5 w-full rounded-full bg-muted",
1461
1461
  get children() {
1462
- return [r(Q.Fill, {
1462
+ return [r(W.Fill, {
1463
1463
  class: "absolute h-full rounded-full bg-primary"
1464
- }), r(Q.Thumb, {
1464
+ }), r(W.Thumb, {
1465
1465
  class: "-top-1.5 block h-4 w-4 rounded-full bg-primary outline-none focus:ring-2 focus:ring-ring/40",
1466
1466
  get children() {
1467
- return r(Q.Input, {});
1467
+ return r(W.Input, {});
1468
1468
  }
1469
1469
  })];
1470
1470
  }
@@ -1472,9 +1472,9 @@ function Xl(e) {
1472
1472
  }
1473
1473
  });
1474
1474
  }
1475
- const Be = "grid h-9 w-9 shrink-0 place-items-center border border-input bg-background text-foreground transition-colors hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50";
1476
- function Hl(e) {
1477
- return r($e, {
1475
+ const Ne = "grid h-9 w-9 shrink-0 place-items-center border border-input bg-background text-foreground transition-colors hover:bg-muted disabled:cursor-not-allowed disabled:opacity-50";
1476
+ function gl(e) {
1477
+ return r(we, {
1478
1478
  get rawValue() {
1479
1479
  return e.value;
1480
1480
  },
@@ -1486,20 +1486,20 @@ function Hl(e) {
1486
1486
  return e.max;
1487
1487
  },
1488
1488
  get class() {
1489
- return g("inline-flex items-stretch", e.class);
1489
+ return f("inline-flex items-stretch", e.class);
1490
1490
  },
1491
1491
  get children() {
1492
- return [r($e.DecrementTrigger, {
1492
+ return [r(we.DecrementTrigger, {
1493
1493
  get class() {
1494
- return g(Be, "rounded-l-md");
1494
+ return f(Ne, "rounded-l-md");
1495
1495
  },
1496
1496
  "aria-label": "Decrement",
1497
1497
  children: "−"
1498
- }), r($e.Input, {
1498
+ }), r(we.Input, {
1499
1499
  class: "w-16 border-y border-input bg-background px-3 py-2 text-center text-sm text-foreground outline-none transition-colors focus:border-ring focus:ring-2 focus:ring-ring/30"
1500
- }), r($e.IncrementTrigger, {
1500
+ }), r(we.IncrementTrigger, {
1501
1501
  get class() {
1502
- return g(Be, "rounded-r-md");
1502
+ return f(Ne, "rounded-r-md");
1503
1503
  },
1504
1504
  "aria-label": "Increment",
1505
1505
  children: "+"
@@ -1507,8 +1507,8 @@ function Hl(e) {
1507
1507
  }
1508
1508
  });
1509
1509
  }
1510
- function ql(e) {
1511
- return r(Rt, {
1510
+ function fl(e) {
1511
+ return r(Nt, {
1512
1512
  get pressed() {
1513
1513
  return e.pressed;
1514
1514
  },
@@ -1516,7 +1516,7 @@ function ql(e) {
1516
1516
  return e.onChange;
1517
1517
  },
1518
1518
  get class() {
1519
- return g(
1519
+ return f(
1520
1520
  // Outlined at rest so it reads as a button; filled primary when pressed
1521
1521
  // so the "on" state is unmistakable (the resting muted look alone made it
1522
1522
  // look like stray text).
@@ -1529,8 +1529,8 @@ function ql(e) {
1529
1529
  }
1530
1530
  });
1531
1531
  }
1532
- function Ul(e) {
1533
- return r(De, {
1532
+ function ml(e) {
1533
+ return r(ze, {
1534
1534
  get value() {
1535
1535
  return e.value;
1536
1536
  },
@@ -1538,14 +1538,14 @@ function Ul(e) {
1538
1538
  return e.onChange;
1539
1539
  },
1540
1540
  get class() {
1541
- return g("inline-flex gap-1 rounded-md border border-border bg-card p-1", e.class);
1541
+ return f("inline-flex gap-1 rounded-md border border-border bg-card p-1", e.class);
1542
1542
  },
1543
1543
  get children() {
1544
- return r(z, {
1544
+ return r(R, {
1545
1545
  get each() {
1546
1546
  return e.options;
1547
1547
  },
1548
- children: (t) => r(De.Item, {
1548
+ children: (t) => r(ze.Item, {
1549
1549
  get value() {
1550
1550
  return t.value;
1551
1551
  },
@@ -1558,8 +1558,8 @@ function Ul(e) {
1558
1558
  }
1559
1559
  });
1560
1560
  }
1561
- function Kl(e) {
1562
- return r(xe, {
1561
+ function hl(e) {
1562
+ return r(be, {
1563
1563
  get value() {
1564
1564
  return e.value;
1565
1565
  },
@@ -1567,22 +1567,22 @@ function Kl(e) {
1567
1567
  return e.onChange;
1568
1568
  },
1569
1569
  get class() {
1570
- return g("relative inline-flex rounded-md border border-border bg-card p-1", e.class);
1570
+ return f("relative inline-flex rounded-md border border-border bg-card p-1", e.class);
1571
1571
  },
1572
1572
  get children() {
1573
- return [r(xe.Indicator, {
1573
+ return [r(be.Indicator, {
1574
1574
  class: "absolute rounded-sm bg-primary shadow-sm transition-all"
1575
- }), r(z, {
1575
+ }), r(R, {
1576
1576
  get each() {
1577
1577
  return e.options;
1578
1578
  },
1579
- children: (t) => r(xe.Item, {
1579
+ children: (t) => r(be.Item, {
1580
1580
  get value() {
1581
1581
  return t.value;
1582
1582
  },
1583
1583
  class: "relative z-10 flex cursor-pointer items-center px-3 py-1.5 text-sm font-medium text-muted-foreground transition-colors data-[selected]:text-primary-foreground",
1584
1584
  get children() {
1585
- return [r(xe.ItemInput, {}), r(xe.ItemLabel, {
1585
+ return [r(be.ItemInput, {}), r(be.ItemLabel, {
1586
1586
  get children() {
1587
1587
  return t.label;
1588
1588
  }
@@ -1593,62 +1593,62 @@ function Kl(e) {
1593
1593
  }
1594
1594
  });
1595
1595
  }
1596
- var an = /* @__PURE__ */ c('<ol class="flex items-center gap-2 text-muted-foreground">'), sn = /* @__PURE__ */ c('<li class="flex items-center gap-2">'), cn = /* @__PURE__ */ c("<span>");
1597
- function Zl(e) {
1596
+ var fn = /* @__PURE__ */ u('<ol class="flex items-center gap-2 text-muted-foreground">'), mn = /* @__PURE__ */ u('<li class="flex items-center gap-2">'), hn = /* @__PURE__ */ u("<span>");
1597
+ function bl(e) {
1598
1598
  return r(Ce, {
1599
1599
  get class() {
1600
- return g("text-sm", e.class);
1600
+ return f("text-sm", e.class);
1601
1601
  },
1602
1602
  get children() {
1603
- var t = an();
1604
- return a(t, r(z, {
1603
+ var t = fn();
1604
+ return i(t, r(R, {
1605
1605
  get each() {
1606
1606
  return e.items;
1607
1607
  },
1608
- children: (l, n) => {
1609
- const o = () => n() === e.items.length - 1;
1608
+ children: (o, n) => {
1609
+ const l = () => n() === e.items.length - 1;
1610
1610
  return (() => {
1611
- var i = sn();
1612
- return a(i, r(w, {
1611
+ var a = mn();
1612
+ return i(a, r($, {
1613
1613
  get when() {
1614
- return ae(() => !!l.href)() && !o();
1614
+ return oe(() => !!o.href)() && !l();
1615
1615
  },
1616
1616
  get fallback() {
1617
1617
  return (() => {
1618
- var s = cn();
1619
- return a(s, () => l.label), S(() => X(s, o() ? "font-medium text-foreground" : void 0)), s;
1618
+ var d = hn();
1619
+ return i(d, () => o.label), S(() => Y(d, l() ? "font-medium text-foreground" : void 0)), d;
1620
1620
  })();
1621
1621
  },
1622
1622
  get children() {
1623
1623
  return r(Ce.Link, {
1624
1624
  get href() {
1625
- return l.href;
1625
+ return o.href;
1626
1626
  },
1627
1627
  class: "transition-colors hover:text-foreground",
1628
1628
  get children() {
1629
- return l.label;
1629
+ return o.label;
1630
1630
  }
1631
1631
  });
1632
1632
  }
1633
- }), null), a(i, r(w, {
1633
+ }), null), i(a, r($, {
1634
1634
  get when() {
1635
- return !o();
1635
+ return !l();
1636
1636
  },
1637
1637
  get children() {
1638
1638
  return r(Ce.Separator, {
1639
1639
  class: "text-muted-foreground/60"
1640
1640
  });
1641
1641
  }
1642
- }), null), i;
1642
+ }), null), a;
1643
1643
  })();
1644
1644
  }
1645
1645
  })), t;
1646
1646
  }
1647
1647
  });
1648
1648
  }
1649
- var dn = /* @__PURE__ */ c("<div class=p-6>"), un = /* @__PURE__ */ c('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">');
1650
- function Wl(e) {
1651
- return r(ne, {
1649
+ var bn = /* @__PURE__ */ u("<div class=p-6>"), xn = /* @__PURE__ */ u('<div class="fixed inset-0 z-50 flex items-center justify-center p-4">');
1650
+ function xl(e) {
1651
+ return r(te, {
1652
1652
  get open() {
1653
1653
  return e.open;
1654
1654
  },
@@ -1656,36 +1656,36 @@ function Wl(e) {
1656
1656
  return e.onOpenChange;
1657
1657
  },
1658
1658
  get children() {
1659
- return r(ne.Portal, {
1659
+ return r(te.Portal, {
1660
1660
  get children() {
1661
- return [r(ne.Overlay, {
1661
+ return [r(te.Overlay, {
1662
1662
  class: "modal-overlay fixed inset-0 z-40 bg-background/80 backdrop-blur-sm"
1663
1663
  }), (() => {
1664
- var t = un();
1665
- return a(t, r(ne.Content, {
1664
+ var t = xn();
1665
+ return i(t, r(te.Content, {
1666
1666
  get class() {
1667
- return g("modal-content w-full max-w-md rounded-xl border border-border bg-card text-card-foreground shadow-sm", e.class);
1667
+ return f("modal-content w-full max-w-md rounded-xl border border-border bg-card text-card-foreground shadow-sm", e.class);
1668
1668
  },
1669
1669
  get children() {
1670
- var l = dn();
1671
- return a(l, r(w, {
1670
+ var o = bn();
1671
+ return i(o, r($, {
1672
1672
  get when() {
1673
1673
  return e.title;
1674
1674
  },
1675
1675
  get children() {
1676
- return r(ne.Title, {
1676
+ return r(te.Title, {
1677
1677
  class: "text-lg font-semibold leading-none tracking-tight",
1678
1678
  get children() {
1679
1679
  return e.title;
1680
1680
  }
1681
1681
  });
1682
1682
  }
1683
- }), null), a(l, r(ne.Description, {
1683
+ }), null), i(o, r(te.Description, {
1684
1684
  class: "mt-3 text-sm text-muted-foreground",
1685
1685
  get children() {
1686
1686
  return e.children;
1687
1687
  }
1688
- }), null), l;
1688
+ }), null), o;
1689
1689
  }
1690
1690
  })), t;
1691
1691
  })()];
@@ -1694,28 +1694,28 @@ function Wl(e) {
1694
1694
  }
1695
1695
  });
1696
1696
  }
1697
- function Jl(e) {
1698
- return r(ve, {
1697
+ function vl(e) {
1698
+ return r(xe, {
1699
1699
  get children() {
1700
- return [r(ve.Trigger, {
1700
+ return [r(xe.Trigger, {
1701
1701
  get class() {
1702
- return g("inline-flex", e.class);
1702
+ return f("inline-flex", e.class);
1703
1703
  },
1704
1704
  get children() {
1705
1705
  return e.children;
1706
1706
  }
1707
- }), r(ve.Portal, {
1707
+ }), r(xe.Portal, {
1708
1708
  get children() {
1709
- return r(ve.Content, {
1709
+ return r(xe.Content, {
1710
1710
  class: "z-50 min-w-[10rem] overflow-hidden rounded-md border border-border bg-card p-1 text-card-foreground shadow-sm",
1711
1711
  get children() {
1712
- return r(z, {
1712
+ return r(R, {
1713
1713
  get each() {
1714
1714
  return e.items;
1715
1715
  },
1716
- children: (t) => r(ve.Item, {
1716
+ children: (t) => r(xe.Item, {
1717
1717
  get class() {
1718
- return g("cursor-pointer select-none rounded-sm px-2 py-1.5 text-sm outline-none hover:bg-muted data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t.destructive && "text-destructive");
1718
+ return f("cursor-pointer select-none rounded-sm px-2 py-1.5 text-sm outline-none hover:bg-muted data-[disabled]:pointer-events-none data-[disabled]:opacity-50", t.destructive && "text-destructive");
1719
1719
  },
1720
1720
  get disabled() {
1721
1721
  return t.disabled;
@@ -1735,8 +1735,8 @@ function Jl(e) {
1735
1735
  }
1736
1736
  });
1737
1737
  }
1738
- function Ql(e) {
1739
- return r(j, {
1738
+ function pl(e) {
1739
+ return r(B, {
1740
1740
  get options() {
1741
1741
  return e.options;
1742
1742
  },
@@ -1748,21 +1748,21 @@ function Ql(e) {
1748
1748
  return e.placeholder;
1749
1749
  },
1750
1750
  get class() {
1751
- return g("w-full", e.class);
1751
+ return f("w-full", e.class);
1752
1752
  },
1753
- itemComponent: (t) => r(j.Item, {
1753
+ itemComponent: (t) => r(B.Item, {
1754
1754
  get item() {
1755
1755
  return t.item;
1756
1756
  },
1757
1757
  class: "flex cursor-pointer select-none items-center justify-between rounded-sm px-2 py-1.5 text-sm outline-none data-[highlighted]:bg-muted",
1758
1758
  get children() {
1759
- return [r(j.ItemLabel, {
1759
+ return [r(B.ItemLabel, {
1760
1760
  get children() {
1761
1761
  return t.item.rawValue;
1762
1762
  }
1763
- }), r(j.ItemIndicator, {
1763
+ }), r(B.ItemIndicator, {
1764
1764
  get children() {
1765
- return r(kt, {
1765
+ return r(Lt, {
1766
1766
  class: "h-4 w-4"
1767
1767
  });
1768
1768
  }
@@ -1770,17 +1770,17 @@ function Ql(e) {
1770
1770
  }
1771
1771
  }),
1772
1772
  get children() {
1773
- return [r(j.Control, {
1773
+ return [r(B.Control, {
1774
1774
  class: "flex w-full items-center rounded-md border border-input bg-background text-foreground transition-colors focus-within:border-ring focus-within:ring-2 focus-within:ring-ring/30",
1775
1775
  get children() {
1776
- return [r(j.Input, {
1776
+ return [r(B.Input, {
1777
1777
  class: "w-full bg-transparent px-3 py-2 text-sm outline-none placeholder:text-muted-foreground"
1778
- }), r(j.Trigger, {
1778
+ }), r(B.Trigger, {
1779
1779
  class: "grid h-9 w-9 shrink-0 place-items-center text-muted-foreground",
1780
1780
  get children() {
1781
- return r(j.Icon, {
1781
+ return r(B.Icon, {
1782
1782
  get children() {
1783
- return r(Ct, {
1783
+ return r(Ft, {
1784
1784
  class: "h-4 w-4"
1785
1785
  });
1786
1786
  }
@@ -1788,12 +1788,12 @@ function Ql(e) {
1788
1788
  }
1789
1789
  })];
1790
1790
  }
1791
- }), r(j.Portal, {
1791
+ }), r(B.Portal, {
1792
1792
  get children() {
1793
- return r(j.Content, {
1793
+ return r(B.Content, {
1794
1794
  class: "z-50 overflow-hidden rounded-md border border-border bg-card p-1 text-card-foreground shadow-sm",
1795
1795
  get children() {
1796
- return r(j.Listbox, {
1796
+ return r(B.Listbox, {
1797
1797
  class: "max-h-60 overflow-y-auto"
1798
1798
  });
1799
1799
  }
@@ -1803,8 +1803,33 @@ function Ql(e) {
1803
1803
  }
1804
1804
  });
1805
1805
  }
1806
- var gn = /* @__PURE__ */ c('<div id=space aria-hidden=true><div class=sky></div><div class=aurora></div><div id=starfield></div><svg class=constellation viewBox="0 0 260 170"style=position:absolute;top:6%;left:58%;width:260px;height:170px><g class=cline fill=none stroke="hsl(199 89% 75%)"stroke-width=2><line x1=12 y1=120 x2=70 y2=60></line><line x1=70 y1=60 x2=140 y2=80></line><line x1=140 y1=80 x2=205 y2=30></line><line x1=140 y1=80 x2=170 y2=140></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=12 cy=120 r=3.6></circle><circle cx=70 cy=60 r=4.2></circle><circle cx=140 cy=80 r=3.6></circle><circle cx=205 cy=30 r=3.8></circle><circle cx=170 cy=140 r=3.4></circle></g></svg><svg class=constellation viewBox="0 0 200 130"style=position:absolute;bottom:8%;left:10%;width:200px;height:130px><g class=cline fill=none stroke="hsl(199 89% 75%)"stroke-width=2><line x1=10 y1=20 x2=60 y2=55></line><line x1=60 y1=55 x2=120 y2=40></line><line x1=120 y1=40 x2=180 y2=90></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=10 cy=20 r=3.4></circle><circle cx=60 cy=55 r=4></circle><circle cx=120 cy=40 r=3.6></circle><circle cx=180 cy=90 r=3.8></circle></g></svg><div class="floaty slow"style=position:absolute;top:88px;right:-30px><div class=planet style="width:120px;height:120px;background:radial-gradient(circle at 32% 28%, hsl(217 91% 68%), hsl(217 80% 42%) 70%, hsl(222 60% 24%));opacity:.7;box-shadow:0 0 60px hsl(217 91% 60% / .35)"></div></div><div class=floaty style=position:absolute;bottom:60px;left:-24px><div class=planet-glow style="width:72px;height:72px;background:radial-gradient(circle at 36% 30%, hsl(38 95% 70%), hsl(24 85% 48%) 72%, hsl(14 70% 30%));opacity:.6;box-shadow:0 0 44px hsl(38 92% 55% / .4)"></div></div><div class="floaty slow"style=position:absolute;top:52%;right:6%><div class=planet-glow style="width:26px;height:26px;background:radial-gradient(circle at 35% 30%, hsl(199 60% 90%), hsl(210 30% 62%));opacity:.5"></div></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(217 91% 60% / .10), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease"></div><div id=satellite style="position:absolute;top:14%;left:-6%;transform:rotate(-18deg);filter:drop-shadow(0 0 4px hsl(199 89% 70% / .8))">');
1807
- const je = [{
1806
+ function st(e) {
1807
+ const t = e.querySelector("#cursorGlow"), o = (a) => {
1808
+ var s, m;
1809
+ t && (t.style.opacity = "1", t.style.left = `${a.clientX}px`, t.style.top = `${a.clientY}px`);
1810
+ const d = a.target, c = (s = d == null ? void 0 : d.closest) == null ? void 0 : s.call(d, ".magnetic");
1811
+ if (c) {
1812
+ const h = c.getBoundingClientRect(), w = (a.clientX - (h.left + h.width / 2)) / h.width, v = (a.clientY - (h.top + h.height / 2)) / h.height;
1813
+ c.style.transform = `translate(${(w * 7).toFixed(1)}px, ${(v * 7).toFixed(1)}px)`;
1814
+ }
1815
+ const g = (m = d == null ? void 0 : d.closest) == null ? void 0 : m.call(d, ".glow-edge");
1816
+ if (g) {
1817
+ const h = g.getBoundingClientRect();
1818
+ g.style.setProperty("--mx", `${a.clientX - h.left}px`), g.style.setProperty("--my", `${a.clientY - h.top}px`);
1819
+ }
1820
+ }, n = () => {
1821
+ t && (t.style.opacity = "0");
1822
+ }, l = (a) => {
1823
+ var c, g;
1824
+ const d = (g = (c = a.target) == null ? void 0 : c.closest) == null ? void 0 : g.call(c, ".magnetic");
1825
+ d && (d.style.transform = "");
1826
+ };
1827
+ return document.addEventListener("pointermove", o), window.addEventListener("pointerleave", n), document.addEventListener("pointerout", l), () => {
1828
+ document.removeEventListener("pointermove", o), window.removeEventListener("pointerleave", n), document.removeEventListener("pointerout", l);
1829
+ };
1830
+ }
1831
+ var vn = /* @__PURE__ */ u('<div id=space aria-hidden=true><div class=sky></div><div class=aurora></div><div id=starfield></div><svg class=constellation viewBox="0 0 260 170"style=position:absolute;top:6%;left:58%;width:260px;height:170px><g class=cline fill=none stroke="color-mix(in srgb, hsl(var(--accent)) 65%, white)"stroke-width=2><line x1=12 y1=120 x2=70 y2=60></line><line x1=70 y1=60 x2=140 y2=80></line><line x1=140 y1=80 x2=205 y2=30></line><line x1=140 y1=80 x2=170 y2=140></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=12 cy=120 r=3.6></circle><circle cx=70 cy=60 r=4.2></circle><circle cx=140 cy=80 r=3.6></circle><circle cx=205 cy=30 r=3.8></circle><circle cx=170 cy=140 r=3.4></circle></g></svg><svg class=constellation viewBox="0 0 200 130"style=position:absolute;bottom:8%;left:10%;width:200px;height:130px><g class=cline fill=none stroke="color-mix(in srgb, hsl(var(--accent)) 65%, white)"stroke-width=2><line x1=10 y1=20 x2=60 y2=55></line><line x1=60 y1=55 x2=120 y2=40></line><line x1=120 y1=40 x2=180 y2=90></line></g><g class=cdot fill=hsl(var(--foreground))><circle cx=10 cy=20 r=3.4></circle><circle cx=60 cy=55 r=4></circle><circle cx=120 cy=40 r=3.6></circle><circle cx=180 cy=90 r=3.8></circle></g></svg><div class="floaty slow"style=position:absolute;top:88px;right:-30px><div class=planet style="width:120px;height:120px;background:radial-gradient(circle at 32% 28%, color-mix(in srgb, hsl(var(--primary)) 78%, white), hsl(var(--primary)) 70%, color-mix(in srgb, hsl(var(--primary)) 68%, black));opacity:.7;box-shadow:0 0 60px hsl(var(--primary) / .35)"></div></div><div class=floaty style=position:absolute;bottom:60px;left:-24px><div class=planet-glow style="width:72px;height:72px;background:radial-gradient(circle at 36% 30%, color-mix(in srgb, hsl(var(--accent)) 75%, white), hsl(var(--accent)) 72%, color-mix(in srgb, hsl(var(--accent)) 66%, black));opacity:.6;box-shadow:0 0 44px hsl(var(--accent) / .4)"></div></div><div class="floaty slow"style=position:absolute;top:52%;right:6%><div class=planet-glow style="width:26px;height:26px;background:radial-gradient(circle at 35% 30%, hsl(199 60% 90%), hsl(210 30% 62%));opacity:.5"></div></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / .10), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease"></div><div id=satellite style="position:absolute;top:14%;left:-6%;transform:rotate(-18deg);filter:drop-shadow(0 0 4px hsl(var(--accent) / .8))">');
1832
+ const Ve = [{
1808
1833
  angle: 22,
1809
1834
  x: [0, 32],
1810
1835
  y: [-6, 18]
@@ -1820,7 +1845,7 @@ const je = [{
1820
1845
  angle: 202,
1821
1846
  x: [62, 96],
1822
1847
  y: [52, 80]
1823
- }], fn = ["255,255,255", "180,210,255", "255,228,170", "210,185,255", "165,230,255"], mn = ["198,146,28", "176,120,18", "214,162,46", "160,110,28", "190,134,34"], hn = `<svg viewBox="0 0 24 82" width="100%" height="100%" style="display:block;overflow:visible">
1848
+ }], pn = ["255,255,255", "180,210,255", "255,228,170", "210,185,255", "165,230,255"], $n = ["198,146,28", "176,120,18", "214,162,46", "160,110,28", "190,134,34"], yn = `<svg viewBox="0 0 24 82" width="100%" height="100%" style="display:block;overflow:visible">
1824
1849
  <g class="rk-flame">
1825
1850
  <path d="M8.5 31 C 8 50, 11 70, 12 80 C 13 70, 16 50, 15.5 31 Z" fill="#ff6a00" opacity="0.8"/>
1826
1851
  <path d="M9.6 31 C 9.4 47, 11.2 60, 12 70 C 12.8 60, 14.6 47, 14.4 31 Z" fill="#ffb020" opacity="0.95"/>
@@ -1831,210 +1856,188 @@ const je = [{
1831
1856
  <path d="M9 26 L 4.6 34 L 9 31 Z" fill="#ef5a3a"/>
1832
1857
  <path d="M15 26 L 19.4 34 L 15 31 Z" fill="#ef5a3a"/>
1833
1858
  <circle cx="12" cy="19" r="2.3" fill="#8fd0ff" stroke="#2f6aa8" stroke-width="1"/>
1834
- </svg>`, bn = 66, xn = 7;
1835
- function vn(e) {
1836
- const t = Math.random, l = () => e[Math.floor(t() * e.length)];
1859
+ </svg>`, wn = 66, _n = 7;
1860
+ function kn(e) {
1861
+ const t = Math.random, o = () => e[Math.floor(t() * e.length)];
1837
1862
  let n = "";
1838
- for (let o = 0; o < bn; o++) {
1839
- const i = t() < 0.12, s = i ? 3 + t() * 1.8 : 1.2 + t() * 1.8, u = i ? 0.85 + t() * 0.15 : 0.3 + t() * 0.55, m = i ? 6 + t() * 8 : 1.5 + t() * 4, d = l(), b = t() < 0.4 ? `animation:twinkle ${(2.6 + t() * 3.5).toFixed(1)}s ease-in-out ${(t() * 4).toFixed(1)}s infinite;` : "";
1840
- n += `<span style="position:absolute;left:${(t() * 100).toFixed(2)}%;top:${(t() * 100).toFixed(2)}%;width:${s.toFixed(1)}px;height:${s.toFixed(1)}px;border-radius:50%;background:rgba(${d},${u.toFixed(2)});box-shadow:0 0 ${m.toFixed(1)}px rgba(${d},${(u * 0.8).toFixed(2)});${b}"></span>`;
1863
+ for (let l = 0; l < wn; l++) {
1864
+ const a = t() < 0.12, d = a ? 3 + t() * 1.8 : 1.2 + t() * 1.8, c = a ? 0.85 + t() * 0.15 : 0.3 + t() * 0.55, g = a ? 6 + t() * 8 : 1.5 + t() * 4, s = o(), m = t() < 0.4 ? `animation:twinkle ${(2.6 + t() * 3.5).toFixed(1)}s ease-in-out ${(t() * 4).toFixed(1)}s infinite;` : "";
1865
+ n += `<span style="position:absolute;left:${(t() * 100).toFixed(2)}%;top:${(t() * 100).toFixed(2)}%;width:${d.toFixed(1)}px;height:${d.toFixed(1)}px;border-radius:50%;background:rgba(${s},${c.toFixed(2)});box-shadow:0 0 ${g.toFixed(1)}px rgba(${s},${(c * 0.8).toFixed(2)});${m}"></span>`;
1841
1866
  }
1842
- for (let o = 0; o < xn; o++) {
1843
- const i = l(), s = (1.8 + t() * 1.8).toFixed(1), u = (0.7 + t() * 0.3).toFixed(2), m = (4 + t() * 6).toFixed(1), d = (4 + t() * 86).toFixed(1), b = t() < 0.5, _ = b ? "106%" : "-6%", A = b ? "-118vw" : "118vw", k = `${((t() * 2 - 1) * 16).toFixed(1)}vh`, D = 34 + t() * 34, O = (-t() * D).toFixed(1);
1844
- n += `<span style="position:absolute;left:${_};top:${d}%;width:${s}px;height:${s}px;border-radius:50%;background:rgba(${i},${u});box-shadow:0 0 ${m}px rgba(${i},${(Number(u) * 0.8).toFixed(2)});--dx:${A};--dy:${k};animation:starDrift ${D.toFixed(1)}s linear ${O}s infinite;"></span>`;
1867
+ for (let l = 0; l < _n; l++) {
1868
+ const a = o(), d = (1.8 + t() * 1.8).toFixed(1), c = (0.7 + t() * 0.3).toFixed(2), g = (4 + t() * 6).toFixed(1), s = (4 + t() * 86).toFixed(1), m = t() < 0.5, h = m ? "106%" : "-6%", w = m ? "-118vw" : "118vw", v = `${((t() * 2 - 1) * 16).toFixed(1)}vh`, _ = 34 + t() * 34, T = (-t() * _).toFixed(1);
1869
+ n += `<span style="position:absolute;left:${h};top:${s}%;width:${d}px;height:${d}px;border-radius:50%;background:rgba(${a},${c});box-shadow:0 0 ${g}px rgba(${a},${(Number(c) * 0.8).toFixed(2)});--dx:${w};--dy:${v};animation:starDrift ${_.toFixed(1)}s linear ${T}s infinite;"></span>`;
1845
1870
  }
1846
1871
  return n;
1847
1872
  }
1848
- function $n() {
1873
+ function Cn() {
1849
1874
  let e, t;
1850
- const l = Je();
1875
+ const o = tt();
1851
1876
  return pe(() => {
1852
- const n = l() === "light" ? mn : fn;
1853
- t && (t.innerHTML = vn(n));
1854
- }), Ye(() => {
1855
- const n = [], o = [], i = (h, p, v, x) => {
1856
- h.addEventListener(p, v, x), n.push(() => h.removeEventListener(p, v, x));
1877
+ const n = o() === "light" ? $n : pn;
1878
+ t && (t.innerHTML = kn(n));
1879
+ }), Me(() => {
1880
+ const n = [], l = [], a = (b, y, p, O) => {
1881
+ b.addEventListener(y, p, O), n.push(() => b.removeEventListener(y, p, O));
1857
1882
  };
1858
- let s = 0, u = 0, m = 0;
1859
- const d = () => {
1860
- s = 0, t && (t.style.transform = `translate3d(${u.toFixed(1)}px, ${m.toFixed(1)}px, 0)`), e.querySelectorAll(".constellation").forEach((h) => {
1861
- h.style.transform = `translate3d(${(u * 1.8).toFixed(1)}px, ${(m * 1.8).toFixed(1)}px, 0)`;
1883
+ let d = 0, c = 0, g = 0;
1884
+ const s = () => {
1885
+ d = 0, t && (t.style.transform = `translate3d(${c.toFixed(1)}px, ${g.toFixed(1)}px, 0)`), e.querySelectorAll(".constellation").forEach((b) => {
1886
+ b.style.transform = `translate3d(${(c * 1.8).toFixed(1)}px, ${(g * 1.8).toFixed(1)}px, 0)`;
1862
1887
  });
1863
1888
  };
1864
- let b = null, _ = null;
1865
- const A = (h) => {
1866
- if (Te() || h.gamma == null || h.beta == null) return;
1867
- b === null && (b = h.gamma, _ = h.beta);
1868
- const p = Math.max(-25, Math.min(25, h.gamma - b)), v = Math.max(-25, Math.min(25, h.beta - (_ ?? 0)));
1869
- u = p / 25 * 16, m = v / 25 * 16, s || (s = requestAnimationFrame(d));
1870
- }, k = window.DeviceOrientationEvent;
1871
- if (k)
1872
- if (typeof k.requestPermission == "function") {
1873
- let h = !1;
1874
- const p = () => {
1875
- var v;
1876
- h || (v = k.requestPermission) == null || v.call(k).then((x) => {
1877
- x === "granted" && (h = !0, i(window, "deviceorientation", A));
1889
+ let m = null, h = null;
1890
+ const w = (b) => {
1891
+ if (ve() || b.gamma == null || b.beta == null) return;
1892
+ m === null && (m = b.gamma, h = b.beta);
1893
+ const y = Math.max(-25, Math.min(25, b.gamma - m)), p = Math.max(-25, Math.min(25, b.beta - (h ?? 0)));
1894
+ c = y / 25 * 16, g = p / 25 * 16, d || (d = requestAnimationFrame(s));
1895
+ }, v = window.DeviceOrientationEvent;
1896
+ if (v)
1897
+ if (typeof v.requestPermission == "function") {
1898
+ let b = !1;
1899
+ const y = () => {
1900
+ var p;
1901
+ b || (p = v.requestPermission) == null || p.call(v).then((O) => {
1902
+ O === "granted" && (b = !0, a(window, "deviceorientation", w));
1878
1903
  }).catch(() => {
1879
1904
  });
1880
1905
  };
1881
- i(window, "click", p), i(window, "touchend", p);
1906
+ a(window, "click", y), a(window, "touchend", y);
1882
1907
  } else
1883
- i(window, "deviceorientation", A);
1908
+ a(window, "deviceorientation", w);
1884
1909
  n.push(() => {
1885
- s && cancelAnimationFrame(s);
1910
+ d && cancelAnimationFrame(d);
1886
1911
  });
1887
- const D = (h, p, v, x, y, T) => {
1888
- const $ = document.createElement("div");
1889
- $.className = "shooter", $.style.width = `${x}px`, $.style.left = h, $.style.top = p, e.appendChild($);
1890
- const Y = $.animate([{
1912
+ const _ = (b, y, p, O, G, X) => {
1913
+ const k = document.createElement("div");
1914
+ k.className = "shooter", k.style.width = `${O}px`, k.style.left = b, k.style.top = y, e.appendChild(k);
1915
+ const le = k.animate([{
1891
1916
  opacity: 0,
1892
- transform: `rotate(${v}deg) translateX(0px) scaleX(.4)`
1917
+ transform: `rotate(${p}deg) translateX(0px) scaleX(.4)`
1893
1918
  }, {
1894
1919
  opacity: 1,
1895
- transform: `rotate(${v}deg) translateX(${y * 0.35}px) scaleX(1)`,
1920
+ transform: `rotate(${p}deg) translateX(${G * 0.35}px) scaleX(1)`,
1896
1921
  offset: 0.5
1897
1922
  }, {
1898
1923
  opacity: 0,
1899
- transform: `rotate(${v}deg) translateX(${y}px) scaleX(1)`
1924
+ transform: `rotate(${p}deg) translateX(${G}px) scaleX(1)`
1900
1925
  }], {
1901
- duration: T,
1926
+ duration: X,
1902
1927
  easing: "cubic-bezier(.3,0,.15,1)",
1903
1928
  fill: "forwards"
1904
1929
  });
1905
- Y.onfinish = () => $.remove(), o.push(window.setTimeout(() => $.remove(), T + 250));
1906
- }, O = (h, p, v, x, y, T) => {
1907
- const $ = document.createElement("div"), Y = x * (82 / 24);
1908
- $.style.cssText = `position:absolute;left:${h};top:${p};width:${x.toFixed(0)}px;height:${Y.toFixed(0)}px;pointer-events:none;filter:drop-shadow(0 0 5px rgba(255,170,80,.55));`, $.innerHTML = hn, e.appendChild($);
1909
- const q = v * Math.PI / 180, f = Math.cos(q) * y, C = Math.sin(q) * y, R = v + 90, U = $.animate([{
1930
+ le.onfinish = () => k.remove(), l.push(window.setTimeout(() => k.remove(), X + 250));
1931
+ }, T = (b, y, p, O, G, X) => {
1932
+ const k = document.createElement("div"), le = O * (82 / 24);
1933
+ k.style.cssText = `position:absolute;left:${b};top:${y};width:${O.toFixed(0)}px;height:${le.toFixed(0)}px;pointer-events:none;filter:drop-shadow(0 0 5px rgba(255,170,80,.55));`, k.innerHTML = yn, e.appendChild(k);
1934
+ const ye = p * Math.PI / 180, x = Math.cos(ye) * G, C = Math.sin(ye) * G, j = p + 90, H = k.animate([{
1910
1935
  opacity: 0,
1911
- transform: `translate(0px,0px) rotate(${R}deg) scale(.5)`
1936
+ transform: `translate(0px,0px) rotate(${j}deg) scale(.5)`
1912
1937
  }, {
1913
1938
  opacity: 1,
1914
- transform: `translate(${(f * 0.12).toFixed(0)}px,${(C * 0.12).toFixed(0)}px) rotate(${R}deg) scale(1)`,
1939
+ transform: `translate(${(x * 0.12).toFixed(0)}px,${(C * 0.12).toFixed(0)}px) rotate(${j}deg) scale(1)`,
1915
1940
  offset: 0.14
1916
1941
  }, {
1917
1942
  opacity: 1,
1918
- transform: `translate(${(f * 0.82).toFixed(0)}px,${(C * 0.82).toFixed(0)}px) rotate(${R}deg) scale(1)`,
1943
+ transform: `translate(${(x * 0.82).toFixed(0)}px,${(C * 0.82).toFixed(0)}px) rotate(${j}deg) scale(1)`,
1919
1944
  offset: 0.82
1920
1945
  }, {
1921
1946
  opacity: 0,
1922
- transform: `translate(${f.toFixed(0)}px,${C.toFixed(0)}px) rotate(${R}deg) scale(.85)`
1947
+ transform: `translate(${x.toFixed(0)}px,${C.toFixed(0)}px) rotate(${j}deg) scale(.85)`
1923
1948
  }], {
1924
- duration: T,
1949
+ duration: X,
1925
1950
  easing: "cubic-bezier(.25,0,.2,1)",
1926
1951
  fill: "forwards"
1927
1952
  });
1928
- U.onfinish = () => $.remove(), o.push(window.setTimeout(() => $.remove(), T + 250));
1929
- }, N = 'a, button, input, select, textarea, label, [role="button"], [role="tab"], [role="menuitem"], [role="dialog"], [contenteditable]';
1930
- if (i(document, "click", ((h) => {
1931
- var p, v;
1932
- (v = (p = h.target) == null ? void 0 : p.closest) != null && v.call(p, N) || (l() === "light" ? O(
1933
- `${h.clientX}px`,
1934
- `${h.clientY}px`,
1953
+ H.onfinish = () => k.remove(), l.push(window.setTimeout(() => k.remove(), X + 250));
1954
+ }, I = 'a, button, input, select, textarea, label, [role="button"], [role="tab"], [role="menuitem"], [role="dialog"], [contenteditable]';
1955
+ if (a(document, "click", ((b) => {
1956
+ var y, p;
1957
+ (p = (y = b.target) == null ? void 0 : y.closest) != null && p.call(y, I) || (o() === "light" ? T(
1958
+ `${b.clientX}px`,
1959
+ `${b.clientY}px`,
1935
1960
  -90 + (Math.random() * 80 - 40),
1936
1961
  // up-and-out from the click
1937
1962
  16 + Math.random() * 10,
1938
1963
  260 + Math.random() * 280,
1939
1964
  950 + Math.random() * 700
1940
- ) : D(`${h.clientX}px`, `${h.clientY}px`, Math.random() * 360, 80 + Math.random() * 120, 300 + Math.random() * 380, 700 + Math.random() * 700));
1941
- })), !Te()) {
1942
- const h = () => {
1943
- if (l() === "light") {
1944
- O(`${(5 + Math.random() * 90).toFixed(0)}vw`, "104vh", -90 + (Math.random() * 30 - 15), 13 + Math.random() * 9, window.innerHeight * (1.1 + Math.random() * 0.35), 5200 + Math.random() * 3500);
1965
+ ) : _(`${b.clientX}px`, `${b.clientY}px`, Math.random() * 360, 80 + Math.random() * 120, 300 + Math.random() * 380, 700 + Math.random() * 700));
1966
+ })), !ve()) {
1967
+ const b = () => {
1968
+ if (o() === "light") {
1969
+ T(`${(5 + Math.random() * 90).toFixed(0)}vw`, "104vh", -90 + (Math.random() * 30 - 15), 13 + Math.random() * 9, window.innerHeight * (1.1 + Math.random() * 0.35), 5200 + Math.random() * 3500);
1945
1970
  return;
1946
1971
  }
1947
- const x = je[Math.floor(Math.random() * je.length)];
1948
- D(`${x.x[0] + Math.random() * (x.x[1] - x.x[0])}vw`, `${x.y[0] + Math.random() * (x.y[1] - x.y[0])}vh`, x.angle + (Math.random() * 16 - 8), 90 + Math.random() * 90, 380 + Math.random() * 300, 850 + Math.random() * 550);
1949
- }, p = () => {
1950
- h(), o.push(window.setTimeout(p, 4500 + Math.random() * 6e3));
1972
+ const p = Ve[Math.floor(Math.random() * Ve.length)];
1973
+ _(`${p.x[0] + Math.random() * (p.x[1] - p.x[0])}vw`, `${p.y[0] + Math.random() * (p.y[1] - p.y[0])}vh`, p.angle + (Math.random() * 16 - 8), 90 + Math.random() * 90, 380 + Math.random() * 300, 850 + Math.random() * 550);
1974
+ }, y = () => {
1975
+ b(), l.push(window.setTimeout(y, 4500 + Math.random() * 6e3));
1951
1976
  };
1952
- o.push(window.setTimeout(p, 1500));
1953
- const v = e.querySelector("#cursorGlow");
1954
- i(document, "pointermove", ((x) => {
1955
- var Y, q;
1956
- v && (v.style.opacity = "1", v.style.left = `${x.clientX}px`, v.style.top = `${x.clientY}px`);
1957
- const y = x.target, T = (Y = y == null ? void 0 : y.closest) == null ? void 0 : Y.call(y, ".magnetic");
1958
- if (T) {
1959
- const f = T.getBoundingClientRect(), C = (x.clientX - (f.left + f.width / 2)) / f.width, R = (x.clientY - (f.top + f.height / 2)) / f.height;
1960
- T.style.transform = `translate(${(C * 7).toFixed(1)}px, ${(R * 7).toFixed(1)}px)`;
1961
- }
1962
- const $ = (q = y == null ? void 0 : y.closest) == null ? void 0 : q.call(y, ".glow-edge");
1963
- if ($) {
1964
- const f = $.getBoundingClientRect();
1965
- $.style.setProperty("--mx", `${x.clientX - f.left}px`), $.style.setProperty("--my", `${x.clientY - f.top}px`);
1966
- }
1967
- })), i(window, "pointerleave", (() => {
1968
- v && (v.style.opacity = "0");
1969
- })), i(document, "pointerout", ((x) => {
1970
- var T, $;
1971
- const y = ($ = (T = x.target) == null ? void 0 : T.closest) == null ? void 0 : $.call(T, ".magnetic");
1972
- y && (y.style.transform = "");
1973
- }));
1977
+ l.push(window.setTimeout(y, 1500)), n.push(st(e));
1974
1978
  }
1975
- ye(() => {
1976
- n.forEach((h) => h()), o.forEach((h) => clearTimeout(h));
1979
+ $e(() => {
1980
+ n.forEach((b) => b()), l.forEach((b) => clearTimeout(b));
1977
1981
  });
1978
1982
  }), (() => {
1979
- var n = gn(), o = n.firstChild, i = o.nextSibling, s = i.nextSibling, u = s.nextSibling, m = u.nextSibling, d = m.nextSibling;
1980
- d.firstChild;
1981
- var b = d.nextSibling;
1982
- b.firstChild;
1983
- var _ = b.nextSibling;
1984
- _.firstChild;
1985
- var A = _.nextSibling, k = A.nextSibling, D = e;
1986
- typeof D == "function" ? H(D, n) : e = n;
1987
- var O = t;
1988
- return typeof O == "function" ? H(O, s) : t = s, a(k, r(St, {
1983
+ var n = vn(), l = n.firstChild, a = l.nextSibling, d = a.nextSibling, c = d.nextSibling, g = c.nextSibling, s = g.nextSibling;
1984
+ s.firstChild;
1985
+ var m = s.nextSibling;
1986
+ m.firstChild;
1987
+ var h = m.nextSibling;
1988
+ h.firstChild;
1989
+ var w = h.nextSibling, v = w.nextSibling, _ = e;
1990
+ typeof _ == "function" ? N(_, n) : e = n;
1991
+ var T = t;
1992
+ return typeof T == "function" ? N(T, d) : t = d, i(v, r(It, {
1989
1993
  style: {
1990
1994
  width: "28px",
1991
1995
  height: "28px",
1992
- color: "hsl(199 60% 88%)",
1996
+ color: "color-mix(in srgb, hsl(var(--accent)) 55%, white)",
1993
1997
  opacity: ".85"
1994
1998
  }
1995
1999
  })), n;
1996
2000
  })();
1997
2001
  }
1998
- var wn = /* @__PURE__ */ c('<div class="mx-auto max-w-md py-20 text-center"><p class="text-lg font-semibold">Something went wrong loading this page</p><p class="mt-1 break-words text-sm text-muted-foreground"></p><div class="mt-4 flex justify-center gap-2">'), pn = /* @__PURE__ */ c('<div class="relative min-h-screen"><div class="relative z-10 flex min-h-screen"><div class="flex min-w-0 flex-1 flex-col"><main class="mx-auto w-full min-w-0 flex-1 px-4 py-6 sm:px-6">'), yn = /* @__PURE__ */ c('<div class="flex justify-center py-24 text-muted-foreground">');
1999
- function _n(e, t) {
2002
+ var Sn = /* @__PURE__ */ u('<div class="mx-auto max-w-md py-20 text-center"><p class="text-lg font-semibold">Something went wrong loading this page</p><p class="mt-1 break-words text-sm text-muted-foreground"></p><div class="mt-4 flex justify-center gap-2">'), Tn = /* @__PURE__ */ u('<div class="relative min-h-screen"><div class="relative z-10 flex min-h-screen"><div class="flex min-w-0 flex-1 flex-col"><main class="mx-auto w-full min-w-0 flex-1 px-4 py-6 sm:px-6">'), Mn = /* @__PURE__ */ u('<div class="flex justify-center py-24 text-muted-foreground">');
2003
+ function En(e, t) {
2000
2004
  return (() => {
2001
- var l = wn(), n = l.firstChild, o = n.nextSibling, i = o.nextSibling;
2002
- return a(o, () => String((e == null ? void 0 : e.message) ?? e)), a(i, r(Re, {
2005
+ var o = Sn(), n = o.firstChild, l = n.nextSibling, a = l.nextSibling;
2006
+ return i(l, () => String((e == null ? void 0 : e.message) ?? e)), i(a, r(Pe, {
2003
2007
  variant: "outline",
2004
2008
  onClick: t,
2005
2009
  children: "Retry"
2006
- }), null), a(i, r(Re, {
2010
+ }), null), i(a, r(Pe, {
2007
2011
  onClick: () => window.location.reload(),
2008
2012
  children: "Reload"
2009
- }), null), l;
2013
+ }), null), o;
2010
2014
  })();
2011
2015
  }
2012
- function eo(e) {
2013
- const t = (l, n) => (e.errorFallback ?? _n)(l, n);
2016
+ function $l(e) {
2017
+ const t = (o, n) => (e.errorFallback ?? En)(o, n);
2014
2018
  return (() => {
2015
- var l = pn(), n = l.firstChild, o = n.firstChild, i = o.firstChild;
2016
- return a(l, r(w, {
2019
+ var o = Tn(), n = o.firstChild, l = n.firstChild, a = l.firstChild;
2020
+ return i(o, r($, {
2017
2021
  get when() {
2018
2022
  return e.background !== null;
2019
2023
  },
2020
2024
  fallback: null,
2021
2025
  get children() {
2022
- return e.background ?? r($n, {});
2026
+ return e.background ?? r(Cn, {});
2023
2027
  }
2024
- }), n), a(n, () => e.sidebar, o), a(o, () => e.banner, i), a(o, () => e.topbar, i), a(i, r(gt, {
2028
+ }), n), i(n, () => e.sidebar, l), i(l, () => e.banner, a), i(l, () => e.topbar, a), i(a, r(vt, {
2025
2029
  fallback: t,
2026
2030
  get children() {
2027
- return r(ft, {
2031
+ return r(pt, {
2028
2032
  get fallback() {
2029
2033
  return (() => {
2030
- var s = yn();
2031
- return a(s, r(zr, {})), s;
2034
+ var d = Mn();
2035
+ return i(d, r(Yr, {})), d;
2032
2036
  })();
2033
2037
  },
2034
2038
  get children() {
2035
- return r(Pt, {
2039
+ return r(Vt, {
2036
2040
  name: "page",
2037
- mode: "outin",
2038
2041
  get children() {
2039
2042
  return e.children;
2040
2043
  }
@@ -2042,136 +2045,472 @@ function eo(e) {
2042
2045
  }
2043
2046
  });
2044
2047
  }
2045
- })), S((s) => oe(i, "max-width", e.maxWidth ?? "1400px")), l;
2048
+ })), S((d) => ne(a, "max-width", e.maxWidth ?? "1400px")), o;
2046
2049
  })();
2047
2050
  }
2048
- var Cn = /* @__PURE__ */ c('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground">');
2049
- function to(e) {
2050
- const t = Je();
2051
+ var Fn = /* @__PURE__ */ u('<div id=scenery aria-hidden=true><div class=themed-sky></div><div class="absolute inset-0"></div><div id=cursorGlow style="position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle, hsl(var(--primary) / 0.1), transparent 70%);transform:translate(-50%,-50%);opacity:0;transition:opacity .4s ease">');
2052
+ function Ln(e, t, o) {
2053
+ const n = Math.random, l = () => e[Math.floor(n() * e.length)];
2054
+ let a = "";
2055
+ for (let d = 0; d < t; d++) {
2056
+ const c = 22 + n() * 40, g = 0.08 + n() * 0.16, s = (n() * 100).toFixed(2), m = (n() * 100).toFixed(2), h = (n() * 40 - 20).toFixed(1), w = (6 + n() * 8).toFixed(1), v = (-n() * 8).toFixed(1), _ = o ? `--r:${h}deg;--dur:${w}s;--delay:${v}s;` : `transform:rotate(${h}deg);animation:none;`;
2057
+ a += `<span class="motif" style="left:${s}%;top:${m}%;font-size:${c.toFixed(0)}px;opacity:${g.toFixed(2)};${_}">${l()}</span>`;
2058
+ }
2059
+ return a;
2060
+ }
2061
+ const In = 'a, button, input, select, textarea, label, [role="button"], [role="tab"], [role="menuitem"], [role="dialog"], [contenteditable]';
2062
+ function yl(e) {
2063
+ let t, o;
2064
+ return pe(() => {
2065
+ o.innerHTML = Ln(e.motifs, e.count ?? 16, !ve());
2066
+ }), Me(() => {
2067
+ const n = [], l = [], a = (c, g, s, m, h, w) => {
2068
+ const v = document.createElement("span");
2069
+ v.textContent = e.motifs[Math.floor(Math.random() * e.motifs.length)], v.style.cssText = `position:absolute;left:${c};top:${g};font-size:${w.toFixed(0)}px;pointer-events:none;filter:drop-shadow(0 0 6px hsl(var(--primary) / 0.5));`, t.appendChild(v);
2070
+ const _ = s * Math.PI / 180, T = Math.cos(_) * m, I = Math.sin(_) * m, b = v.animate([{
2071
+ opacity: 0,
2072
+ transform: "translate(0,0) rotate(0deg) scale(.6)"
2073
+ }, {
2074
+ opacity: 1,
2075
+ transform: `translate(${(T * 0.15).toFixed(0)}px,${(I * 0.15).toFixed(0)}px) rotate(18deg) scale(1)`,
2076
+ offset: 0.15
2077
+ }, {
2078
+ opacity: 1,
2079
+ transform: `translate(${(T * 0.85).toFixed(0)}px,${(I * 0.85).toFixed(0)}px) rotate(-14deg) scale(1)`,
2080
+ offset: 0.85
2081
+ }, {
2082
+ opacity: 0,
2083
+ transform: `translate(${T.toFixed(0)}px,${I.toFixed(0)}px) rotate(8deg) scale(.8)`
2084
+ }], {
2085
+ duration: h,
2086
+ easing: "cubic-bezier(.25,0,.2,1)",
2087
+ fill: "forwards"
2088
+ });
2089
+ b.onfinish = () => v.remove(), l.push(window.setTimeout(() => v.remove(), h + 300));
2090
+ }, d = (c) => {
2091
+ var g, s;
2092
+ (s = (g = c.target) == null ? void 0 : g.closest) != null && s.call(g, In) || a(`${c.clientX}px`, `${c.clientY}px`, -90 + (Math.random() * 80 - 40), 260 + Math.random() * 260, 950 + Math.random() * 700, 22 + Math.random() * 14);
2093
+ };
2094
+ if (document.addEventListener("click", d), n.push(() => document.removeEventListener("click", d)), !ve()) {
2095
+ n.push(st(t));
2096
+ const c = () => {
2097
+ const s = Math.random() < 0.5;
2098
+ a(s ? "104vw" : "-6vw", `${(8 + Math.random() * 70).toFixed(0)}vh`, (s ? 180 : 0) + (Math.random() * 16 - 8), window.innerWidth * (1.1 + Math.random() * 0.3), 6e3 + Math.random() * 4e3, 20 + Math.random() * 16);
2099
+ }, g = () => {
2100
+ c(), l.push(window.setTimeout(g, 5e3 + Math.random() * 6e3));
2101
+ };
2102
+ l.push(window.setTimeout(g, 1800));
2103
+ }
2104
+ $e(() => {
2105
+ n.forEach((c) => c()), l.forEach((c) => clearTimeout(c));
2106
+ });
2107
+ }), (() => {
2108
+ var n = Fn(), l = n.firstChild, a = l.nextSibling;
2109
+ a.nextSibling;
2110
+ var d = t;
2111
+ typeof d == "function" ? N(d, n) : t = n;
2112
+ var c = o;
2113
+ return typeof c == "function" ? N(c, a) : o = a, n;
2114
+ })();
2115
+ }
2116
+ var An = /* @__PURE__ */ u('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground">');
2117
+ function wl(e) {
2118
+ const t = tt();
2051
2119
  return (() => {
2052
- var l = Cn();
2053
- return xt(l, "click", Nt, !0), a(l, r(w, {
2120
+ var o = An();
2121
+ return _t(o, "click", Ut, !0), i(o, r($, {
2054
2122
  get when() {
2055
2123
  return t() === "dark";
2056
2124
  },
2057
2125
  get fallback() {
2058
- return r(Mt, {
2126
+ return r(Dt, {
2059
2127
  class: "h-[18px] w-[18px]"
2060
2128
  });
2061
2129
  },
2062
2130
  get children() {
2063
- return r(Tt, {
2131
+ return r(At, {
2064
2132
  class: "h-[18px] w-[18px]"
2065
2133
  });
2066
2134
  }
2067
2135
  })), S((n) => {
2068
- var o = e.label ?? "Toggle theme", i = e.label ?? "Toggle theme";
2069
- return o !== n.e && B(l, "aria-label", n.e = o), i !== n.t && B(l, "title", n.t = i), n;
2136
+ var l = e.label ?? "Toggle theme", a = e.label ?? "Toggle theme";
2137
+ return l !== n.e && P(o, "aria-label", n.e = l), a !== n.t && P(o, "title", n.t = a), n;
2070
2138
  }, {
2071
2139
  e: void 0,
2072
2140
  t: void 0
2073
- }), l;
2141
+ }), o;
2074
2142
  })();
2075
2143
  }
2076
- ee(["click"]);
2077
- var kn = /* @__PURE__ */ c('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground aria-pressed:text-primary">');
2078
- function ro(e) {
2079
- const t = Xt();
2144
+ J(["click"]);
2145
+ var Dn = /* @__PURE__ */ u('<button type=button class="grid h-9 w-9 place-items-center rounded-lg text-muted-foreground transition hover:bg-muted hover:text-foreground aria-pressed:text-primary">');
2146
+ function _l(e) {
2147
+ const t = Wt();
2080
2148
  return (() => {
2081
- var l = kn();
2082
- return l.$$click = () => qt(!t()), a(l, r(Et, {
2149
+ var o = Dn();
2150
+ return o.$$click = () => Qt(!t()), i(o, r(Rt, {
2083
2151
  class: "h-[18px] w-[18px]"
2084
2152
  })), S((n) => {
2085
- var o = t(), i = e.label ?? "Visual effects", s = t() ? "Visual effects on — click for calm mode" : "Calm mode — click to enable effects";
2086
- return o !== n.e && B(l, "aria-pressed", n.e = o), i !== n.t && B(l, "aria-label", n.t = i), s !== n.a && B(l, "title", n.a = s), n;
2153
+ var l = t(), a = e.label ?? "Visual effects", d = t() ? "Visual effects on — click for calm mode" : "Calm mode — click to enable effects";
2154
+ return l !== n.e && P(o, "aria-pressed", n.e = l), a !== n.t && P(o, "aria-label", n.t = a), d !== n.a && P(o, "title", n.a = d), n;
2087
2155
  }, {
2088
2156
  e: void 0,
2089
2157
  t: void 0,
2090
2158
  a: void 0
2091
- }), l;
2159
+ }), o;
2092
2160
  })();
2093
2161
  }
2094
- ee(["click"]);
2095
- var Sn = /* @__PURE__ */ c('<details open class=group><summary class="mt-3 flex cursor-pointer list-none select-none items-center justify-between rounded-md px-3 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground transition-colors hover:bg-muted hover:text-foreground [&amp;::-webkit-details-marker]:hidden"><span></span><svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200 group-[[open]]:rotate-90"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5"></path></svg></summary><div class="ml-4 mt-1 space-y-0.5 border-l border-border pl-2">');
2096
- function no(e) {
2162
+ J(["click"]);
2163
+ var Rn = /* @__PURE__ */ u('<details open class=group><summary class="mt-3 flex cursor-pointer list-none select-none items-center justify-between rounded-md px-3 py-1.5 text-xs font-semibold uppercase tracking-wide text-muted-foreground transition-colors hover:bg-muted hover:text-foreground [&amp;::-webkit-details-marker]:hidden"><span></span><svg class="h-3.5 w-3.5 shrink-0 transition-transform duration-200 group-[[open]]:rotate-90"viewBox="0 0 20 20"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><path d="M7 5l6 5-6 5"></path></svg></summary><div class="ml-4 mt-1 space-y-0.5 border-l border-border pl-2">');
2164
+ function kl(e) {
2097
2165
  return (() => {
2098
- var t = Sn(), l = t.firstChild, n = l.firstChild, o = l.nextSibling;
2099
- return a(n, () => e.title), a(o, () => e.children), t;
2166
+ var t = Rn(), o = t.firstChild, n = o.firstChild, l = o.nextSibling;
2167
+ return i(n, () => e.title), i(l, () => e.children), t;
2100
2168
  })();
2101
2169
  }
2102
- const lo = "0.0.0";
2170
+ const zn = [
2171
+ "background",
2172
+ "foreground",
2173
+ "card",
2174
+ "card-foreground",
2175
+ "muted",
2176
+ "muted-foreground",
2177
+ "border",
2178
+ "input",
2179
+ "primary",
2180
+ "primary-foreground",
2181
+ "accent",
2182
+ "accent-foreground",
2183
+ "ring",
2184
+ "destructive",
2185
+ "destructive-foreground"
2186
+ ], Le = {
2187
+ name: "space",
2188
+ label: "Space",
2189
+ description: "The signature spatial-glass look: deep night sky and electric blue.",
2190
+ icon: "🚀",
2191
+ dark: {
2192
+ background: "222 47% 7%",
2193
+ foreground: "213 31% 91%",
2194
+ card: "222 40% 11%",
2195
+ "card-foreground": "213 31% 91%",
2196
+ muted: "217 33% 17%",
2197
+ "muted-foreground": "215 25% 75%",
2198
+ border: "217 30% 22%",
2199
+ input: "217 30% 22%",
2200
+ primary: "217 91% 52%",
2201
+ "primary-foreground": "0 0% 100%",
2202
+ accent: "199 89% 55%",
2203
+ "accent-foreground": "0 0% 100%",
2204
+ ring: "217 91% 52%",
2205
+ destructive: "0 72% 52%",
2206
+ "destructive-foreground": "0 0% 100%"
2207
+ },
2208
+ light: {
2209
+ background: "214 32% 95%",
2210
+ foreground: "222 47% 11%",
2211
+ card: "0 0% 100%",
2212
+ "card-foreground": "222 47% 11%",
2213
+ muted: "214 30% 92%",
2214
+ "muted-foreground": "215 22% 38%",
2215
+ border: "214 24% 84%",
2216
+ input: "214 32% 91%",
2217
+ primary: "217 91% 52%",
2218
+ "primary-foreground": "0 0% 100%",
2219
+ accent: "199 89% 48%",
2220
+ "accent-foreground": "0 0% 100%",
2221
+ ring: "217 91% 52%",
2222
+ destructive: "0 72% 50%",
2223
+ "destructive-foreground": "0 0% 100%"
2224
+ }
2225
+ }, Pn = {
2226
+ name: "dino",
2227
+ label: "Dino",
2228
+ description: "Jurassic jungle: mossy greens with a warm amber accent.",
2229
+ icon: "🦖",
2230
+ motifs: ["🦕", "🦖", "🌿", "🍃", "🦴", "🌋", "🥚", "🌴"],
2231
+ dark: {
2232
+ background: "160 30% 8%",
2233
+ foreground: "140 18% 90%",
2234
+ card: "160 28% 12%",
2235
+ "card-foreground": "140 18% 90%",
2236
+ muted: "160 20% 18%",
2237
+ "muted-foreground": "140 14% 74%",
2238
+ border: "160 20% 24%",
2239
+ input: "160 20% 24%",
2240
+ primary: "140 60% 32%",
2241
+ "primary-foreground": "0 0% 100%",
2242
+ accent: "35 90% 52%",
2243
+ "accent-foreground": "40 45% 12%",
2244
+ ring: "140 60% 32%",
2245
+ destructive: "0 72% 52%",
2246
+ "destructive-foreground": "0 0% 100%"
2247
+ },
2248
+ light: {
2249
+ background: "90 32% 94%",
2250
+ foreground: "160 32% 13%",
2251
+ card: "80 30% 99%",
2252
+ "card-foreground": "160 32% 13%",
2253
+ muted: "90 24% 88%",
2254
+ "muted-foreground": "160 18% 34%",
2255
+ border: "90 22% 79%",
2256
+ input: "90 24% 88%",
2257
+ primary: "140 55% 32%",
2258
+ "primary-foreground": "0 0% 100%",
2259
+ accent: "35 90% 44%",
2260
+ "accent-foreground": "40 45% 12%",
2261
+ ring: "140 55% 32%",
2262
+ destructive: "0 72% 48%",
2263
+ "destructive-foreground": "0 0% 100%"
2264
+ }
2265
+ }, On = {
2266
+ name: "doctor",
2267
+ label: "Doctor",
2268
+ description: "Clinical and calm: teal and clean blues on crisp white.",
2269
+ icon: "🩺",
2270
+ motifs: ["🩺", "💊", "🩹", "🧬", "➕", "🫀", "🌡️", "💉"],
2271
+ dark: {
2272
+ background: "205 40% 9%",
2273
+ foreground: "200 24% 92%",
2274
+ card: "205 36% 13%",
2275
+ "card-foreground": "200 24% 92%",
2276
+ muted: "205 25% 19%",
2277
+ "muted-foreground": "200 16% 74%",
2278
+ border: "205 22% 25%",
2279
+ input: "205 22% 25%",
2280
+ primary: "190 85% 32%",
2281
+ "primary-foreground": "0 0% 100%",
2282
+ accent: "210 90% 46%",
2283
+ "accent-foreground": "0 0% 100%",
2284
+ ring: "190 85% 32%",
2285
+ destructive: "0 72% 52%",
2286
+ "destructive-foreground": "0 0% 100%"
2287
+ },
2288
+ light: {
2289
+ background: "200 40% 97%",
2290
+ foreground: "205 45% 14%",
2291
+ card: "0 0% 100%",
2292
+ "card-foreground": "205 45% 14%",
2293
+ muted: "200 30% 92%",
2294
+ "muted-foreground": "205 20% 36%",
2295
+ border: "200 25% 84%",
2296
+ input: "200 30% 91%",
2297
+ primary: "190 90% 30%",
2298
+ "primary-foreground": "0 0% 100%",
2299
+ accent: "210 90% 46%",
2300
+ "accent-foreground": "0 0% 100%",
2301
+ ring: "190 90% 30%",
2302
+ destructive: "0 72% 48%",
2303
+ "destructive-foreground": "0 0% 100%"
2304
+ }
2305
+ }, jn = {
2306
+ name: "scientist",
2307
+ label: "Scientist",
2308
+ description: "Lab-grade violet with a bright cyan reaction accent.",
2309
+ icon: "🔬",
2310
+ motifs: ["🔬", "🧪", "⚗️", "🧫", "🧠", "🔭", "🧬", "⚛️"],
2311
+ dark: {
2312
+ background: "250 30% 9%",
2313
+ foreground: "250 18% 92%",
2314
+ card: "250 28% 13%",
2315
+ "card-foreground": "250 18% 92%",
2316
+ muted: "250 20% 19%",
2317
+ "muted-foreground": "250 14% 74%",
2318
+ border: "250 18% 26%",
2319
+ input: "250 18% 26%",
2320
+ primary: "265 65% 52%",
2321
+ "primary-foreground": "0 0% 100%",
2322
+ accent: "180 80% 45%",
2323
+ "accent-foreground": "190 45% 10%",
2324
+ ring: "265 65% 52%",
2325
+ destructive: "0 72% 52%",
2326
+ "destructive-foreground": "0 0% 100%"
2327
+ },
2328
+ light: {
2329
+ background: "250 40% 97%",
2330
+ foreground: "255 42% 14%",
2331
+ card: "0 0% 100%",
2332
+ "card-foreground": "255 42% 14%",
2333
+ muted: "250 30% 93%",
2334
+ "muted-foreground": "255 18% 38%",
2335
+ border: "250 25% 85%",
2336
+ input: "250 30% 92%",
2337
+ primary: "265 62% 48%",
2338
+ "primary-foreground": "0 0% 100%",
2339
+ accent: "185 80% 34%",
2340
+ "accent-foreground": "0 0% 100%",
2341
+ ring: "265 62% 48%",
2342
+ destructive: "0 72% 48%",
2343
+ "destructive-foreground": "0 0% 100%"
2344
+ }
2345
+ }, Bn = {
2346
+ name: "soccer",
2347
+ label: "Soccer",
2348
+ description: "Match-day pitch: vivid grass green and fresh lime.",
2349
+ icon: "⚽",
2350
+ motifs: ["⚽", "🥅", "🏆", "🚩", "👟", "🧤", "🟨", "🟥"],
2351
+ dark: {
2352
+ background: "140 35% 8%",
2353
+ foreground: "120 14% 92%",
2354
+ card: "140 30% 12%",
2355
+ "card-foreground": "120 14% 92%",
2356
+ muted: "140 22% 18%",
2357
+ "muted-foreground": "120 12% 74%",
2358
+ border: "140 20% 24%",
2359
+ input: "140 20% 24%",
2360
+ primary: "142 72% 31%",
2361
+ "primary-foreground": "0 0% 100%",
2362
+ accent: "90 70% 48%",
2363
+ "accent-foreground": "100 45% 10%",
2364
+ ring: "142 72% 31%",
2365
+ destructive: "0 72% 52%",
2366
+ "destructive-foreground": "0 0% 100%"
2367
+ },
2368
+ light: {
2369
+ background: "120 40% 96%",
2370
+ foreground: "140 40% 12%",
2371
+ card: "0 0% 100%",
2372
+ "card-foreground": "140 40% 12%",
2373
+ muted: "120 28% 90%",
2374
+ "muted-foreground": "140 18% 34%",
2375
+ border: "120 22% 81%",
2376
+ input: "120 28% 90%",
2377
+ primary: "142 68% 31%",
2378
+ "primary-foreground": "0 0% 100%",
2379
+ accent: "90 60% 40%",
2380
+ "accent-foreground": "100 45% 10%",
2381
+ ring: "142 68% 31%",
2382
+ destructive: "0 72% 48%",
2383
+ "destructive-foreground": "0 0% 100%"
2384
+ }
2385
+ }, Nn = [Le, Pn, On, jn, Bn], ut = "a4ui-theme-name", Ye = "a4ui-theme", gt = (e) => Nn.find((t) => t.name === e);
2386
+ function Ge(e) {
2387
+ return zn.map((t) => ` --${t}: ${e[t]};`).join(`
2388
+ `);
2389
+ }
2390
+ function Vn(e) {
2391
+ return `:root {
2392
+ ${Ge(e.dark)}
2393
+ }
2394
+
2395
+ :root[data-theme='light'] {
2396
+ ${Ge(e.light)}
2397
+ }`;
2398
+ }
2399
+ function Cl(e) {
2400
+ return { dark: e.dark, light: e.light };
2401
+ }
2402
+ const [Sl, Yn] = z(Le);
2403
+ function Gn(e) {
2404
+ if (typeof document > "u") return;
2405
+ let t = document.getElementById(Ye);
2406
+ t || (t = document.createElement("style"), t.id = Ye, document.head.appendChild(t)), t.textContent = Vn(e);
2407
+ }
2408
+ function Xn(e) {
2409
+ const t = typeof e == "string" ? gt(e) : e;
2410
+ if (t && (Gn(t), Yn(t), typeof localStorage < "u"))
2411
+ try {
2412
+ localStorage.setItem(ut, t.name);
2413
+ } catch {
2414
+ }
2415
+ }
2416
+ function Tl() {
2417
+ if (typeof document > "u") return;
2418
+ let e = null;
2419
+ if (typeof localStorage < "u")
2420
+ try {
2421
+ e = localStorage.getItem(ut);
2422
+ } catch {
2423
+ e = null;
2424
+ }
2425
+ Xn(e && gt(e) || Le);
2426
+ }
2427
+ const Ml = "0.4.1";
2103
2428
  export {
2104
- lo as A4UI_VERSION,
2105
- sl as Accordion,
2106
- Bl as Alert,
2107
- Wl as AlertDialog,
2108
- eo as AppShell,
2109
- jl as Avatar,
2110
- cl as Badge,
2111
- Zl as Breadcrumb,
2112
- Re as Button,
2113
- ir as Card,
2114
- sr as CardContent,
2115
- dl as CardHeader,
2116
- ul as CardTitle,
2117
- gl as Checkbox,
2118
- Ql as Combobox,
2119
- Jl as ContextMenu,
2120
- fl as DateField,
2121
- ml as Drawer,
2122
- hl as Dropdown,
2123
- bl as Dropzone,
2124
- ro as EffectsToggle,
2125
- Ol as HoverCard,
2126
- xl as Input,
2127
- Gl as Meter,
2128
- vl as Modal,
2129
- no as NavGroup,
2130
- Hl as NumberInput,
2131
- $l as PageHeader,
2132
- wl as Pagination,
2133
- zl as Popover,
2134
- Yl as Progress,
2135
- Dl as RadioGroup,
2136
- Kl as SegmentedControl,
2137
- pl as Select,
2138
- Nl as Separator,
2139
- Vl as Skeleton,
2140
- Xl as Slider,
2141
- $n as SpaceBackground,
2142
- zr as Spinner,
2143
- yl as Stat,
2144
- Al as Switch,
2145
- _l as Table,
2146
- kl as TableBody,
2147
- Ml as TableCell,
2148
- Cl as TableHead,
2149
- Tl as TableHeadCell,
2150
- Sl as TableRow,
2151
- Ll as Tabs,
2152
- Rl as Textarea,
2153
- to as ThemeToggle,
2154
- Fl as Toaster,
2155
- ql as Toggle,
2156
- Ul as ToggleGroup,
2157
- Pl as Tooltip,
2158
- El as VirtualList,
2159
- Ke as applyTheme,
2160
- g as cn,
2161
- Wt as createCountUp,
2162
- Ht as isCalm,
2163
- Te as motionReduced,
2164
- lt as prefersReducedMotion,
2165
- Jt as remeasureAfterLayout,
2166
- qt as setEffects,
2167
- al as setMotionForced,
2168
- Bt as setTheme,
2169
- Ot as storedTheme,
2170
- Il as toast,
2171
- Nt as toggleTheme,
2172
- jt as toggled,
2173
- Xt as useEffects,
2174
- il as useMediaQuery,
2175
- ol as useMotionForced,
2176
- Je as useTheme
2429
+ Ml as A4UI_VERSION,
2430
+ Mo as Accordion,
2431
+ ll as Alert,
2432
+ xl as AlertDialog,
2433
+ $l as AppShell,
2434
+ al as Avatar,
2435
+ Eo as Badge,
2436
+ bl as Breadcrumb,
2437
+ Pe as Button,
2438
+ fr as Card,
2439
+ mr as CardContent,
2440
+ Fo as CardHeader,
2441
+ Lo as CardTitle,
2442
+ Io as Checkbox,
2443
+ pl as Combobox,
2444
+ vl as ContextMenu,
2445
+ Ao as DateField,
2446
+ Do as Drawer,
2447
+ Ro as Dropdown,
2448
+ zo as Dropzone,
2449
+ _l as EffectsToggle,
2450
+ ol as HoverCard,
2451
+ Po as Input,
2452
+ sl as Meter,
2453
+ Oo as Modal,
2454
+ kl as NavGroup,
2455
+ gl as NumberInput,
2456
+ jo as PageHeader,
2457
+ Bo as Pagination,
2458
+ nl as Popover,
2459
+ cl as Progress,
2460
+ el as RadioGroup,
2461
+ hl as SegmentedControl,
2462
+ No as Select,
2463
+ dl as Separator,
2464
+ il as Skeleton,
2465
+ ul as Slider,
2466
+ Cn as SpaceBackground,
2467
+ Yr as Spinner,
2468
+ Vo as Stat,
2469
+ Qo as Switch,
2470
+ zn as TOKEN_ORDER,
2471
+ Yo as Table,
2472
+ Xo as TableBody,
2473
+ Uo as TableCell,
2474
+ Go as TableHead,
2475
+ qo as TableHeadCell,
2476
+ Ho as TableRow,
2477
+ Zo as Tabs,
2478
+ tl as Textarea,
2479
+ wl as ThemeToggle,
2480
+ yl as ThemedScenery,
2481
+ Jo as Toaster,
2482
+ fl as Toggle,
2483
+ ml as ToggleGroup,
2484
+ rl as Tooltip,
2485
+ Ko as VirtualList,
2486
+ Sl as activeTheme,
2487
+ Je as applyTheme,
2488
+ Gn as applyThemeDefinition,
2489
+ f as cn,
2490
+ nr as createCountUp,
2491
+ Pn as dino,
2492
+ On as doctor,
2493
+ Tl as initTheme,
2494
+ Jt as isCalm,
2495
+ ve as motionReduced,
2496
+ it as prefersReducedMotion,
2497
+ or as remeasureAfterLayout,
2498
+ jn as scientist,
2499
+ Xn as selectTheme,
2500
+ Qt as setEffects,
2501
+ So as setMotionForced,
2502
+ Xt as setTheme,
2503
+ Bn as soccer,
2504
+ Le as space,
2505
+ Gt as storedTheme,
2506
+ Vn as themeToCss,
2507
+ Cl as themeToJson,
2508
+ Nn as themes,
2509
+ Wo as toast,
2510
+ Ut as toggleTheme,
2511
+ Ht as toggled,
2512
+ Wt as useEffects,
2513
+ To as useMediaQuery,
2514
+ Co as useMotionForced,
2515
+ tt as useTheme
2177
2516
  };