@ezfit/ui 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,66 +1,67 @@
1
- import { clsx as Z } from "clsx";
2
- import { twMerge as ee } from "tailwind-merge";
3
- import { jsx as e, jsxs as l, Fragment as P } from "react/jsx-runtime";
4
- import { ArrowDown01Icon as H, InformationCircleIcon as te, AlertCircleIcon as re, Alert01Icon as ne, CheckmarkCircle01Icon as ae, Cancel01Icon as j, Loading03Icon as oe, BarChartIcon as se, Tick02Icon as _, ArrowLeft01Icon as ie, ArrowRight01Icon as le, DropletIcon as ce, Search01Icon as de, UserIcon as pe, ChartUpIcon as me, ChartDownIcon as ue } from "@hugeicons/core-free-icons";
5
- import { HugeiconsIcon as u } from "@hugeicons/react";
6
- import * as k from "@radix-ui/react-accordion";
7
- import { forwardRef as p, useId as F, useState as xe, useCallback as V, useMemo as ge, useContext as fe, createContext as be } from "react";
8
- import { ResponsiveContainer as E, AreaChart as he, Tooltip as G, Area as ve, BarChart as Ne, XAxis as ye, Bar as we, Cell as O, PieChart as Ce, Pie as ke } from "recharts";
9
- import { cva as y } from "class-variance-authority";
10
- import * as $ from "@radix-ui/react-checkbox";
11
- import * as N from "@radix-ui/react-dialog";
12
- import * as K from "@radix-ui/react-radio-group";
13
- import * as h from "@radix-ui/react-select";
14
- import * as I from "@radix-ui/react-slider";
15
- import * as L from "@radix-ui/react-switch";
16
- import * as z from "@radix-ui/react-tabs";
17
- import * as C from "@radix-ui/react-toast";
18
- import * as v from "@radix-ui/react-tooltip";
19
- function i(...n) {
20
- return ee(Z(n));
1
+ import { clsx as fe } from "clsx";
2
+ import { twMerge as ge } from "tailwind-merge";
3
+ import { jsx as e, jsxs as l, Fragment as V } from "react/jsx-runtime";
4
+ import { ArrowDown01Icon as te, InformationCircleIcon as be, AlertCircleIcon as he, Alert01Icon as ve, CheckmarkCircle01Icon as Ne, Cancel01Icon as W, Loading03Icon as ye, BarChartIcon as we, Tick02Icon as L, ArrowLeft01Icon as re, ArrowRight01Icon as ne, Calendar03Icon as Ce, DropletIcon as ke, Search01Icon as Te, UserIcon as De, ChartUpIcon as Ie, ChartDownIcon as Fe } from "@hugeicons/core-free-icons";
5
+ import { HugeiconsIcon as x } from "@hugeicons/react";
6
+ import * as F from "@radix-ui/react-accordion";
7
+ import { forwardRef as u, useId as A, useState as R, useCallback as _, useMemo as ze, useContext as Se, createContext as Be } from "react";
8
+ import { ResponsiveContainer as O, AreaChart as Pe, Tooltip as oe, Area as Ae, BarChart as je, XAxis as $e, Bar as Me, Cell as ae, PieChart as Ee, Pie as Re } from "recharts";
9
+ import { cva as C } from "class-variance-authority";
10
+ import * as J from "@radix-ui/react-checkbox";
11
+ import * as S from "@radix-ui/react-popover";
12
+ import * as w from "@radix-ui/react-dialog";
13
+ import * as se from "@radix-ui/react-radio-group";
14
+ import * as N from "@radix-ui/react-select";
15
+ import * as B from "@radix-ui/react-slider";
16
+ import * as Q from "@radix-ui/react-switch";
17
+ import * as j from "@radix-ui/react-tabs";
18
+ import * as T from "@radix-ui/react-toast";
19
+ import * as y from "@radix-ui/react-tooltip";
20
+ function i(...r) {
21
+ return ge(fe(r));
21
22
  }
22
- const Jt = k.Root, Te = p(({ className: n, ...r }, t) => /* @__PURE__ */ e(
23
- k.Item,
23
+ const xr = F.Root, Ve = u(({ className: r, ...t }, n) => /* @__PURE__ */ e(
24
+ F.Item,
24
25
  {
25
- ref: t,
26
- className: i("overflow-hidden rounded-list border border-border-soft", n),
27
- ...r
26
+ ref: n,
27
+ className: i("overflow-hidden rounded-list border border-border-soft", r),
28
+ ...t
28
29
  }
29
30
  ));
30
- Te.displayName = "AccordionItem";
31
- const Ie = p(({ className: n, children: r, ...t }, a) => /* @__PURE__ */ e(k.Header, { className: "flex", children: /* @__PURE__ */ l(
32
- k.Trigger,
31
+ Ve.displayName = "AccordionItem";
32
+ const We = u(({ className: r, children: t, ...n }, o) => /* @__PURE__ */ e(F.Header, { className: "flex", children: /* @__PURE__ */ l(
33
+ F.Trigger,
33
34
  {
34
- ref: a,
35
+ ref: o,
35
36
  className: i(
36
37
  "group flex flex-1 cursor-pointer items-center justify-between p-4 text-left text-sm font-semibold outline-none focus-visible:ring-3 focus-visible:ring-ring/25",
37
- n
38
+ r
38
39
  ),
39
- ...t,
40
+ ...n,
40
41
  children: [
41
- r,
42
+ t,
42
43
  /* @__PURE__ */ e(
43
- u,
44
+ x,
44
45
  {
45
- icon: H,
46
+ icon: te,
46
47
  className: "size-[18px] flex-none text-subtle-foreground transition-transform group-data-[state=open]:rotate-180"
47
48
  }
48
49
  )
49
50
  ]
50
51
  }
51
52
  ) }));
52
- Ie.displayName = "AccordionTrigger";
53
- const Fe = p(({ className: n, children: r, ...t }, a) => /* @__PURE__ */ e(
54
- k.Content,
53
+ We.displayName = "AccordionTrigger";
54
+ const Le = u(({ className: r, children: t, ...n }, o) => /* @__PURE__ */ e(
55
+ F.Content,
55
56
  {
56
- ref: a,
57
+ ref: o,
57
58
  className: "overflow-hidden text-[13px] leading-relaxed text-muted-foreground data-[state=closed]:animate-[ezfade_0.18s_ease] data-[state=open]:animate-[ezfade_0.18s_ease]",
58
- ...t,
59
- children: /* @__PURE__ */ e("div", { className: i("px-4 pb-4", n), children: r })
59
+ ...n,
60
+ children: /* @__PURE__ */ e("div", { className: i("px-4 pb-4", r), children: t })
60
61
  }
61
62
  ));
62
- Fe.displayName = "AccordionContent";
63
- const ze = y(
63
+ Le.displayName = "AccordionContent";
64
+ const Oe = C(
64
65
  "inline-flex items-center gap-1.5 rounded-pill font-semibold whitespace-nowrap",
65
66
  {
66
67
  variants: {
@@ -80,11 +81,11 @@ const ze = y(
80
81
  },
81
82
  defaultVariants: { variant: "neutral", size: "md" }
82
83
  }
83
- ), Be = p(
84
- ({ className: n, variant: r, size: t, ...a }, o) => /* @__PURE__ */ e("span", { ref: o, className: i(ze({ variant: r, size: t }), n), ...a })
84
+ ), He = u(
85
+ ({ className: r, variant: t, size: n, ...o }, a) => /* @__PURE__ */ e("span", { ref: a, className: i(Oe({ variant: t, size: n }), r), ...o })
85
86
  );
86
- Be.displayName = "Badge";
87
- const De = y("flex items-center gap-3.5 rounded-list border p-[15px] px-[18px]", {
87
+ He.displayName = "Badge";
88
+ const Ge = C("flex items-center gap-3.5 rounded-list border p-[15px] px-[18px]", {
88
89
  variants: {
89
90
  variant: {
90
91
  success: "border-success-border bg-success-bg",
@@ -94,63 +95,63 @@ const De = y("flex items-center gap-3.5 rounded-list border p-[15px] px-[18px]",
94
95
  }
95
96
  },
96
97
  defaultVariants: { variant: "info" }
97
- }), Se = {
98
- success: ae,
99
- warning: ne,
100
- error: re,
101
- info: te
102
- }, M = {
98
+ }), Ye = {
99
+ success: Ne,
100
+ warning: ve,
101
+ error: he,
102
+ info: be
103
+ }, q = {
103
104
  success: "text-success",
104
105
  warning: "text-warning",
105
106
  error: "text-error",
106
107
  info: "text-info"
107
- }, Ae = {
108
+ }, Ke = {
108
109
  success: "text-[#166534]",
109
110
  warning: "text-[#92400E]",
110
111
  error: "text-[#991B1B]",
111
112
  info: "text-[#1E40AF]"
112
- }, Pe = {
113
+ }, _e = {
113
114
  success: "text-[#15803D]",
114
115
  warning: "text-[#B45309]",
115
116
  error: "text-[#B91C1C]",
116
117
  info: "text-[#1D4ED8]"
117
- }, je = p(
118
- ({ className: n, variant: r = "info", title: t, children: a, onDismiss: o, ...s }, c) => {
119
- const d = r ?? "info", m = Se[d];
120
- return /* @__PURE__ */ l("div", { ref: c, role: "alert", className: i(De({ variant: r }), n), ...s, children: [
118
+ }, Je = u(
119
+ ({ className: r, variant: t = "info", title: n, children: o, onDismiss: a, ...s }, c) => {
120
+ const d = t ?? "info", m = Ye[d];
121
+ return /* @__PURE__ */ l("div", { ref: c, role: "alert", className: i(Ge({ variant: t }), r), ...s, children: [
121
122
  /* @__PURE__ */ e(
122
- u,
123
+ x,
123
124
  {
124
125
  icon: m,
125
- className: i("size-5 flex-none", M[d]),
126
+ className: i("size-5 flex-none", q[d]),
126
127
  strokeWidth: 2
127
128
  }
128
129
  ),
129
130
  /* @__PURE__ */ l("div", { className: "flex-1 text-sm", children: [
130
- t ? /* @__PURE__ */ l("span", { className: i("font-semibold", Ae[d]), children: [
131
- t,
131
+ n ? /* @__PURE__ */ l("span", { className: i("font-semibold", Ke[d]), children: [
132
+ n,
132
133
  " "
133
134
  ] }) : null,
134
- /* @__PURE__ */ e("span", { className: Pe[d], children: a })
135
+ /* @__PURE__ */ e("span", { className: _e[d], children: o })
135
136
  ] }),
136
- o ? /* @__PURE__ */ e(
137
+ a ? /* @__PURE__ */ e(
137
138
  "button",
138
139
  {
139
140
  type: "button",
140
- onClick: o,
141
+ onClick: a,
141
142
  "aria-label": "Fechar",
142
143
  className: i(
143
144
  "flex-none cursor-pointer opacity-60 transition-opacity hover:opacity-100",
144
- M[d]
145
+ q[d]
145
146
  ),
146
- children: /* @__PURE__ */ e(u, { icon: j, className: "size-[17px]" })
147
+ children: /* @__PURE__ */ e(x, { icon: W, className: "size-[17px]" })
147
148
  }
148
149
  ) : null
149
150
  ] });
150
151
  }
151
152
  );
152
- je.displayName = "Banner";
153
- const _e = y(
153
+ Je.displayName = "Banner";
154
+ const Qe = C(
154
155
  "inline-flex items-center justify-center gap-2 font-sans font-semibold whitespace-nowrap transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ring/25 disabled:pointer-events-none disabled:opacity-70",
155
156
  {
156
157
  variants: {
@@ -172,26 +173,26 @@ const _e = y(
172
173
  size: "md"
173
174
  }
174
175
  }
175
- ), Ee = p(
176
- ({ className: n, variant: r, size: t, loading: a = !1, disabled: o, children: s, type: c = "button", ...d }, m) => /* @__PURE__ */ e(
176
+ ), qe = u(
177
+ ({ className: r, variant: t, size: n, loading: o = !1, disabled: a, children: s, type: c = "button", ...d }, m) => /* @__PURE__ */ e(
177
178
  "button",
178
179
  {
179
180
  ref: m,
180
181
  type: c,
181
- className: i(_e({ variant: r, size: t }), n),
182
- disabled: o || a,
182
+ className: i(Qe({ variant: t, size: n }), r),
183
+ disabled: a || o,
183
184
  ...d,
184
- children: a ? /* @__PURE__ */ e(u, { icon: oe, className: "size-[18px] animate-spin-slow" }) : s
185
+ children: o ? /* @__PURE__ */ e(x, { icon: ye, className: "size-[18px] animate-spin-slow" }) : s
185
186
  }
186
187
  )
187
188
  );
188
- Ee.displayName = "Button";
189
- const Re = y("rounded-card", {
189
+ qe.displayName = "Button";
190
+ const Ue = C("rounded-card", {
190
191
  variants: {
191
192
  variant: {
192
- light: "bg-card text-card-foreground shadow-card",
193
- dark: "bg-primary text-primary-foreground shadow-dark",
194
- accent: "bg-accent text-accent-foreground shadow-accent"
193
+ light: "border border-border bg-card text-card-foreground",
194
+ dark: "bg-primary text-primary-foreground",
195
+ accent: "bg-accent text-accent-foreground"
195
196
  },
196
197
  padding: {
197
198
  none: "p-0",
@@ -200,32 +201,32 @@ const Re = y("rounded-card", {
200
201
  }
201
202
  },
202
203
  defaultVariants: { variant: "light", padding: "md" }
203
- }), Ve = p(
204
- ({ className: n, variant: r, padding: t, ...a }, o) => /* @__PURE__ */ e("div", { ref: o, className: i(Re({ variant: r, padding: t }), n), ...a })
204
+ }), Xe = u(
205
+ ({ className: r, variant: t, padding: n, ...o }, a) => /* @__PURE__ */ e("div", { ref: a, className: i(Ue({ variant: t, padding: n }), r), ...o })
205
206
  );
206
- Ve.displayName = "Card";
207
- const $e = p(
208
- ({ className: n, ...r }, t) => /* @__PURE__ */ e(
207
+ Xe.displayName = "Card";
208
+ const Ze = u(
209
+ ({ className: r, ...t }, n) => /* @__PURE__ */ e(
209
210
  "div",
210
211
  {
211
- ref: t,
212
- className: i("mb-4 flex items-start justify-between gap-3", n),
213
- ...r
212
+ ref: n,
213
+ className: i("mb-4 flex items-start justify-between gap-3", r),
214
+ ...t
214
215
  }
215
216
  )
216
217
  );
217
- $e.displayName = "CardHeader";
218
- const Le = p(
219
- ({ className: n, ...r }, t) => /* @__PURE__ */ e("h3", { ref: t, className: i("text-base font-semibold", n), ...r })
218
+ Ze.displayName = "CardHeader";
219
+ const et = u(
220
+ ({ className: r, ...t }, n) => /* @__PURE__ */ e("h3", { ref: n, className: i("text-base font-semibold", r), ...t })
220
221
  );
221
- Le.displayName = "CardTitle";
222
- const Me = p(({ className: n, ...r }, t) => /* @__PURE__ */ e("p", { ref: t, className: i("text-[13px] text-muted-foreground", n), ...r }));
223
- Me.displayName = "CardDescription";
224
- const We = p(
225
- ({ className: n, ...r }, t) => /* @__PURE__ */ e("div", { ref: t, className: i(n), ...r })
222
+ et.displayName = "CardTitle";
223
+ const tt = u(({ className: r, ...t }, n) => /* @__PURE__ */ e("p", { ref: n, className: i("text-[13px] text-muted-foreground", r), ...t }));
224
+ tt.displayName = "CardDescription";
225
+ const rt = u(
226
+ ({ className: r, ...t }, n) => /* @__PURE__ */ e("div", { ref: n, className: i(r), ...t })
226
227
  );
227
- We.displayName = "CardContent";
228
- const w = {
228
+ rt.displayName = "CardContent";
229
+ const k = {
229
230
  primary: "#16181D",
230
231
  primaryForeground: "#FFFFFF",
231
232
  accent: "#2B4BF2",
@@ -250,16 +251,16 @@ const w = {
250
251
  carbsText: "#6B7280",
251
252
  fat: "#F97316",
252
253
  cardio: "#22C55E"
253
- }, B = {
254
- protein: w.protein,
255
- carbs: w.carbs,
256
- fat: w.fat,
257
- cardio: w.cardio,
258
- accent: w.accent,
259
- primary: w.primary,
260
- muted: w.secondary,
254
+ }, $ = {
255
+ protein: k.protein,
256
+ carbs: k.carbs,
257
+ fat: k.fat,
258
+ cardio: k.cardio,
259
+ accent: k.accent,
260
+ primary: k.primary,
261
+ muted: k.secondary,
261
262
  grid: "#EEF0F4"
262
- }, Qt = {
263
+ }, fr = {
263
264
  input: "8px",
264
265
  field: "10px",
265
266
  button: "10px",
@@ -267,22 +268,22 @@ const w = {
267
268
  tile: "14px",
268
269
  card: "16px",
269
270
  pill: "999px"
270
- }, Yt = {
271
+ }, gr = {
271
272
  sans: "'Manrope', ui-sans-serif, system-ui, sans-serif",
272
273
  mono: "'Space Mono', ui-monospace, monospace"
273
- }, R = p(
274
- ({ className: n, title: r, rows: t, ...a }, o) => /* @__PURE__ */ l(
274
+ }, H = u(
275
+ ({ className: r, title: t, rows: n, ...o }, a) => /* @__PURE__ */ l(
275
276
  "div",
276
277
  {
277
- ref: o,
278
+ ref: a,
278
279
  className: i(
279
- "min-w-[150px] rounded-[14px] bg-primary px-4 py-3 text-primary-foreground shadow-[0_8px_24px_rgba(15,23,42,0.25)]",
280
- n
280
+ "min-w-[150px] rounded-[14px] bg-primary px-4 py-3 text-primary-foreground",
281
+ r
281
282
  ),
282
- ...a,
283
+ ...o,
283
284
  children: [
284
- r ? /* @__PURE__ */ e("div", { className: "mb-1.5 text-[11px] text-subtle-foreground", children: r }) : null,
285
- t.map((s) => /* @__PURE__ */ l("div", { className: "flex items-center gap-2 text-[13px] font-semibold", children: [
285
+ t ? /* @__PURE__ */ e("div", { className: "mb-1.5 text-[11px] text-subtle-foreground", children: t }) : null,
286
+ n.map((s) => /* @__PURE__ */ l("div", { className: "flex items-center gap-2 text-[13px] font-semibold", children: [
286
287
  s.color ? /* @__PURE__ */ e("span", { className: "size-[9px] flex-none rounded-full", style: { background: s.color } }) : null,
287
288
  s.label,
288
289
  /* @__PURE__ */ e("span", { className: "ml-auto", children: s.value })
@@ -291,78 +292,78 @@ const w = {
291
292
  }
292
293
  )
293
294
  );
294
- R.displayName = "ChartTooltip";
295
- function He(n) {
296
- return function({ active: t, payload: a, label: o }) {
297
- if (!t || !(a != null && a.length)) return null;
298
- const s = a[0];
295
+ H.displayName = "ChartTooltip";
296
+ function nt(r) {
297
+ return function({ active: n, payload: o, label: a }) {
298
+ if (!n || !(o != null && o.length)) return null;
299
+ const s = o[0];
299
300
  return /* @__PURE__ */ e(
300
- R,
301
+ H,
301
302
  {
302
- title: String(o),
303
+ title: String(a),
303
304
  rows: [
304
305
  {
305
306
  label: "Valor",
306
- value: `${(s == null ? void 0 : s.value) ?? 0}${n ? ` ${n}` : ""}`,
307
- color: B.accent
307
+ value: `${(s == null ? void 0 : s.value) ?? 0}${r ? ` ${r}` : ""}`,
308
+ color: $.accent
308
309
  }
309
310
  ]
310
311
  }
311
312
  );
312
313
  };
313
314
  }
314
- function Zt({
315
- data: n,
316
- height: r = 180,
317
- color: t = B.accent,
318
- unit: a = "",
319
- className: o
315
+ function br({
316
+ data: r,
317
+ height: t = 180,
318
+ color: n = $.accent,
319
+ unit: o = "",
320
+ className: a
320
321
  }) {
321
322
  const s = "ezfit-area-gradient";
322
- return /* @__PURE__ */ e("div", { className: i("w-full", o), style: { height: r }, children: /* @__PURE__ */ e(E, { width: "100%", height: "100%", children: /* @__PURE__ */ l(he, { data: n, margin: { top: 8, right: 8, bottom: 0, left: 8 }, children: [
323
+ return /* @__PURE__ */ e("div", { className: i("w-full", a), style: { height: t }, children: /* @__PURE__ */ e(O, { width: "100%", height: "100%", children: /* @__PURE__ */ l(Pe, { data: r, margin: { top: 8, right: 8, bottom: 0, left: 8 }, children: [
323
324
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ l("linearGradient", { id: s, x1: "0", y1: "0", x2: "0", y2: "1", children: [
324
- /* @__PURE__ */ e("stop", { offset: "0%", stopColor: t, stopOpacity: 0.45 }),
325
- /* @__PURE__ */ e("stop", { offset: "100%", stopColor: t, stopOpacity: 0 })
325
+ /* @__PURE__ */ e("stop", { offset: "0%", stopColor: n, stopOpacity: 0.45 }),
326
+ /* @__PURE__ */ e("stop", { offset: "100%", stopColor: n, stopOpacity: 0 })
326
327
  ] }) }),
327
- /* @__PURE__ */ e(G, { cursor: !1, content: He(a) }),
328
+ /* @__PURE__ */ e(oe, { cursor: !1, content: nt(o) }),
328
329
  /* @__PURE__ */ e(
329
- ve,
330
+ Ae,
330
331
  {
331
332
  type: "monotone",
332
333
  dataKey: "value",
333
- stroke: t,
334
+ stroke: n,
334
335
  strokeWidth: 3,
335
336
  strokeLinecap: "round",
336
337
  fill: `url(#${s})`,
337
338
  dot: !1,
338
- activeDot: { r: 5, fill: "#fff", stroke: t, strokeWidth: 3 }
339
+ activeDot: { r: 5, fill: "#fff", stroke: n, strokeWidth: 3 }
339
340
  }
340
341
  )
341
342
  ] }) }) });
342
343
  }
343
- function Ge(n) {
344
- return function({ active: t, payload: a, label: o }) {
345
- if (!t || !(a != null && a.length)) return null;
346
- const s = a[0];
344
+ function ot(r) {
345
+ return function({ active: n, payload: o, label: a }) {
346
+ if (!n || !(o != null && o.length)) return null;
347
+ const s = o[0];
347
348
  return /* @__PURE__ */ e(
348
- R,
349
+ H,
349
350
  {
350
- title: String(o),
351
+ title: String(a),
351
352
  rows: [
352
353
  {
353
354
  label: "Valor",
354
- value: `${(s == null ? void 0 : s.value) ?? 0}${n ? ` ${n}` : ""}`,
355
- color: B.accent
355
+ value: `${(s == null ? void 0 : s.value) ?? 0}${r ? ` ${r}` : ""}`,
356
+ color: $.accent
356
357
  }
357
358
  ]
358
359
  }
359
360
  );
360
361
  };
361
362
  }
362
- function er({ data: n, activeIndex: r, height: t = 220, unit: a = "", className: o }) {
363
- return /* @__PURE__ */ e("div", { className: i("w-full", o), style: { height: t }, children: /* @__PURE__ */ e(E, { width: "100%", height: "100%", children: /* @__PURE__ */ l(Ne, { data: n, margin: { top: 24, right: 0, bottom: 0, left: 0 }, children: [
363
+ function hr({ data: r, activeIndex: t, height: n = 220, unit: o = "", className: a }) {
364
+ return /* @__PURE__ */ e("div", { className: i("w-full", a), style: { height: n }, children: /* @__PURE__ */ e(O, { width: "100%", height: "100%", children: /* @__PURE__ */ l(je, { data: r, margin: { top: 24, right: 0, bottom: 0, left: 0 }, children: [
364
365
  /* @__PURE__ */ e(
365
- ye,
366
+ $e,
366
367
  {
367
368
  dataKey: "label",
368
369
  axisLine: !1,
@@ -371,125 +372,125 @@ function er({ data: n, activeIndex: r, height: t = 220, unit: a = "", className:
371
372
  dy: 8
372
373
  }
373
374
  ),
374
- /* @__PURE__ */ e(G, { cursor: !1, content: Ge(a) }),
375
- /* @__PURE__ */ e(we, { dataKey: "value", radius: [10, 10, 10, 10], maxBarSize: 40, children: n.map((s, c) => /* @__PURE__ */ e(
376
- O,
375
+ /* @__PURE__ */ e(oe, { cursor: !1, content: ot(o) }),
376
+ /* @__PURE__ */ e(Me, { dataKey: "value", radius: [10, 10, 10, 10], maxBarSize: 64, children: r.map((s, c) => /* @__PURE__ */ e(
377
+ ae,
377
378
  {
378
- fill: c === r ? B.accent : "#CBD5E1"
379
+ fill: c === t ? $.accent : "#CBD5E1"
379
380
  },
380
381
  s.label
381
382
  )) })
382
383
  ] }) }) });
383
384
  }
384
- const Oe = p(
385
+ const at = u(
385
386
  ({
386
- className: n,
387
- icon: r = se,
388
- title: t = "0",
389
- description: a = "Sem dados para o periodo",
390
- ...o
387
+ className: r,
388
+ icon: t = we,
389
+ title: n = "0",
390
+ description: o = "Sem dados para o periodo",
391
+ ...a
391
392
  }, s) => /* @__PURE__ */ l(
392
393
  "div",
393
394
  {
394
395
  ref: s,
395
396
  className: i(
396
397
  "flex h-[148px] flex-col items-center justify-center rounded-tile border-2 border-dashed border-border text-center",
397
- n
398
+ r
398
399
  ),
399
- ...o,
400
+ ...a,
400
401
  children: [
401
- /* @__PURE__ */ e("div", { className: "mb-3 flex size-[46px] items-center justify-center rounded-[14px] bg-secondary", children: /* @__PURE__ */ e(u, { icon: r, className: "size-[22px] text-subtle-foreground", strokeWidth: 2 }) }),
402
- /* @__PURE__ */ e("div", { className: "text-[32px] leading-none font-bold text-[#CBD5E1]", children: t }),
403
- /* @__PURE__ */ e("div", { className: "mt-1.5 text-xs text-subtle-foreground", children: a })
402
+ /* @__PURE__ */ e("div", { className: "mb-3 flex size-[46px] items-center justify-center rounded-[14px] bg-secondary", children: /* @__PURE__ */ e(x, { icon: t, className: "size-[22px] text-subtle-foreground", strokeWidth: 2 }) }),
403
+ /* @__PURE__ */ e("div", { className: "text-[32px] leading-none font-bold text-[#CBD5E1]", children: n }),
404
+ /* @__PURE__ */ e("div", { className: "mt-1.5 text-xs text-subtle-foreground", children: o })
404
405
  ]
405
406
  }
406
407
  )
407
408
  );
408
- Oe.displayName = "ChartEmptyState";
409
- const Ke = p(
410
- ({ className: n, items: r, ...t }, a) => /* @__PURE__ */ e("div", { ref: a, className: i("flex flex-wrap gap-3", n), ...t, children: r.map((o) => /* @__PURE__ */ l("div", { className: "inline-flex items-center gap-[7px] text-[13px]", children: [
409
+ at.displayName = "ChartEmptyState";
410
+ const st = u(
411
+ ({ className: r, items: t, ...n }, o) => /* @__PURE__ */ e("div", { ref: o, className: i("flex flex-wrap gap-3", r), ...n, children: t.map((a) => /* @__PURE__ */ l("div", { className: "inline-flex items-center gap-[7px] text-[13px]", children: [
411
412
  /* @__PURE__ */ e(
412
413
  "span",
413
414
  {
414
415
  className: i(
415
416
  "size-[11px] flex-none",
416
- o.shape === "square" ? "rounded-[4px]" : "rounded-full"
417
+ a.shape === "square" ? "rounded-[4px]" : "rounded-full"
417
418
  ),
418
- style: { background: o.color }
419
+ style: { background: a.color }
419
420
  }
420
421
  ),
421
- o.label,
422
- o.value ? /* @__PURE__ */ e("span", { className: "text-subtle-foreground", children: o.value }) : null
423
- ] }, o.label)) })
422
+ a.label,
423
+ a.value ? /* @__PURE__ */ e("span", { className: "text-subtle-foreground", children: a.value }) : null
424
+ ] }, a.label)) })
424
425
  );
425
- Ke.displayName = "ChartLegend";
426
- function tr({
427
- data: n,
428
- size: r = 120,
429
- thickness: t = 18,
430
- centerValue: a,
431
- centerCaption: o,
426
+ st.displayName = "ChartLegend";
427
+ function vr({
428
+ data: r,
429
+ size: t = 120,
430
+ thickness: n = 18,
431
+ centerValue: o,
432
+ centerCaption: a,
432
433
  className: s
433
434
  }) {
434
- return /* @__PURE__ */ l("div", { className: i("relative flex-none", s), style: { width: r, height: r }, children: [
435
- /* @__PURE__ */ e(E, { width: "100%", height: "100%", children: /* @__PURE__ */ e(Ce, { children: /* @__PURE__ */ e(
436
- ke,
435
+ return /* @__PURE__ */ l("div", { className: i("relative flex-none", s), style: { width: t, height: t }, children: [
436
+ /* @__PURE__ */ e(O, { width: "100%", height: "100%", children: /* @__PURE__ */ e(Ee, { children: /* @__PURE__ */ e(
437
+ Re,
437
438
  {
438
- data: n,
439
+ data: r,
439
440
  dataKey: "value",
440
441
  nameKey: "name",
441
442
  cx: "50%",
442
443
  cy: "50%",
443
- innerRadius: r / 2 - t,
444
- outerRadius: r / 2,
444
+ innerRadius: t / 2 - n,
445
+ outerRadius: t / 2,
445
446
  startAngle: 90,
446
447
  endAngle: -270,
447
448
  paddingAngle: 0,
448
449
  stroke: "none",
449
- children: n.map((c) => /* @__PURE__ */ e(O, { fill: c.color }, c.name))
450
+ children: r.map((c) => /* @__PURE__ */ e(ae, { fill: c.color }, c.name))
450
451
  }
451
452
  ) }) }),
452
- a || o ? /* @__PURE__ */ l("div", { className: "pointer-events-none absolute inset-0 flex flex-col items-center justify-center", children: [
453
- a ? /* @__PURE__ */ e("span", { className: "text-[22px] font-bold", children: a }) : null,
454
- o ? /* @__PURE__ */ e("span", { className: "text-[10px] tracking-wide text-subtle-foreground uppercase", children: o }) : null
453
+ o || a ? /* @__PURE__ */ l("div", { className: "pointer-events-none absolute inset-0 flex flex-col items-center justify-center", children: [
454
+ o ? /* @__PURE__ */ e("span", { className: "text-[22px] font-bold", children: o }) : null,
455
+ a ? /* @__PURE__ */ e("span", { className: "text-[10px] tracking-wide text-subtle-foreground uppercase", children: a }) : null
455
456
  ] }) : null
456
457
  ] });
457
458
  }
458
- const qe = p(
459
- ({ className: n, label: r, id: t, ...a }, o) => {
460
- const s = F(), c = t ?? s, d = /* @__PURE__ */ e(
461
- $.Root,
459
+ const it = u(
460
+ ({ className: r, label: t, id: n, ...o }, a) => {
461
+ const s = A(), c = n ?? s, d = /* @__PURE__ */ e(
462
+ J.Root,
462
463
  {
463
- ref: o,
464
+ ref: a,
464
465
  id: c,
465
466
  className: i(
466
467
  "flex size-[22px] flex-none cursor-pointer items-center justify-center rounded-[7px] border-2 transition-colors outline-none",
467
468
  "border-input bg-background",
468
469
  "data-[state=checked]:border-accent data-[state=checked]:bg-accent",
469
470
  "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-60",
470
- n
471
+ r
471
472
  ),
472
- ...a,
473
- children: /* @__PURE__ */ e($.Indicator, { children: /* @__PURE__ */ e(
474
- u,
473
+ ...o,
474
+ children: /* @__PURE__ */ e(J.Indicator, { children: /* @__PURE__ */ e(
475
+ x,
475
476
  {
476
- icon: _,
477
+ icon: L,
477
478
  className: "size-[15px] text-accent-foreground",
478
479
  strokeWidth: 3
479
480
  }
480
481
  ) })
481
482
  }
482
483
  );
483
- return r ? /* @__PURE__ */ l("label", { htmlFor: c, className: "flex cursor-pointer items-center gap-3.5", children: [
484
+ return t ? /* @__PURE__ */ l("label", { htmlFor: c, className: "flex cursor-pointer items-center gap-3.5", children: [
484
485
  d,
485
- /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: r })
486
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: t })
486
487
  ] }) : d;
487
488
  }
488
489
  );
489
- qe.displayName = "Checkbox";
490
- function rr({ columns: n, data: r, getRowKey: t, className: a, ...o }) {
491
- return /* @__PURE__ */ l("table", { className: i("w-full border-collapse", a), ...o, children: [
492
- /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: n.map((s) => /* @__PURE__ */ e(
490
+ it.displayName = "Checkbox";
491
+ function Nr({ columns: r, data: t, getRowKey: n, className: o, ...a }) {
492
+ return /* @__PURE__ */ l("table", { className: i("w-full border-collapse", o), ...a, children: [
493
+ /* @__PURE__ */ e("thead", { children: /* @__PURE__ */ e("tr", { children: r.map((s) => /* @__PURE__ */ e(
493
494
  "th",
494
495
  {
495
496
  className: i(
@@ -500,7 +501,7 @@ function rr({ columns: n, data: r, getRowKey: t, className: a, ...o }) {
500
501
  },
501
502
  s.header
502
503
  )) }) }),
503
- /* @__PURE__ */ e("tbody", { children: r.map((s, c) => /* @__PURE__ */ e("tr", { className: "border-t border-border-soft", children: n.map((d) => /* @__PURE__ */ e(
504
+ /* @__PURE__ */ e("tbody", { children: t.map((s, c) => /* @__PURE__ */ e("tr", { className: "border-t border-border-soft", children: r.map((d) => /* @__PURE__ */ e(
504
505
  "td",
505
506
  {
506
507
  className: i(
@@ -510,32 +511,32 @@ function rr({ columns: n, data: r, getRowKey: t, className: a, ...o }) {
510
511
  children: d.cell(s)
511
512
  },
512
513
  d.header
513
- )) }, t(s, c))) })
514
+ )) }, n(s, c))) })
514
515
  ] });
515
516
  }
516
- const W = "flex size-9 flex-none cursor-pointer items-center justify-center rounded-pill text-muted-foreground transition-colors outline-none hover:bg-secondary hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-40", Ue = p(
517
- ({ className: n, label: r, onPrev: t, onNext: a, onLabelClick: o, nextDisabled: s = !1, ...c }, d) => /* @__PURE__ */ l(
517
+ const U = "flex size-9 flex-none cursor-pointer items-center justify-center rounded-pill text-muted-foreground transition-colors outline-none hover:bg-secondary hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-40", lt = u(
518
+ ({ className: r, label: t, onPrev: n, onNext: o, onLabelClick: a, nextDisabled: s = !1, ...c }, d) => /* @__PURE__ */ l(
518
519
  "div",
519
520
  {
520
521
  ref: d,
521
522
  className: i(
522
523
  "inline-flex items-center gap-1 rounded-pill border border-border bg-card p-1.5",
523
- n
524
+ r
524
525
  ),
525
526
  ...c,
526
527
  children: [
527
- /* @__PURE__ */ e("button", { type: "button", "aria-label": "Dia anterior", onClick: t, className: W, children: /* @__PURE__ */ e(u, { icon: ie, className: "size-[18px]", strokeWidth: 2 }) }),
528
+ /* @__PURE__ */ e("button", { type: "button", "aria-label": "Dia anterior", onClick: n, className: U, children: /* @__PURE__ */ e(x, { icon: re, className: "size-[18px]", strokeWidth: 2 }) }),
528
529
  /* @__PURE__ */ e(
529
530
  "button",
530
531
  {
531
532
  type: "button",
532
- onClick: o,
533
- disabled: !o,
533
+ onClick: a,
534
+ disabled: !a,
534
535
  className: i(
535
536
  "min-w-20 rounded-pill px-3 py-1.5 text-center font-sans text-sm font-semibold whitespace-nowrap outline-none",
536
- o && "cursor-pointer transition-colors hover:bg-secondary focus-visible:ring-3 focus-visible:ring-ring/25"
537
+ a && "cursor-pointer transition-colors hover:bg-secondary focus-visible:ring-3 focus-visible:ring-ring/25"
537
538
  ),
538
- children: r
539
+ children: t
539
540
  }
540
541
  ),
541
542
  /* @__PURE__ */ e(
@@ -543,76 +544,242 @@ const W = "flex size-9 flex-none cursor-pointer items-center justify-center roun
543
544
  {
544
545
  type: "button",
545
546
  "aria-label": "Proximo dia",
546
- onClick: a,
547
+ onClick: o,
547
548
  disabled: s,
548
- className: W,
549
- children: /* @__PURE__ */ e(u, { icon: le, className: "size-[18px]", strokeWidth: 2 })
549
+ className: U,
550
+ children: /* @__PURE__ */ e(x, { icon: ne, className: "size-[18px]", strokeWidth: 2 })
550
551
  }
551
552
  )
552
553
  ]
553
554
  }
554
555
  )
555
556
  );
556
- Ue.displayName = "DateNavigator";
557
- const nr = N.Root, ar = N.Trigger, or = N.Close, Xe = N.Portal, q = p(({ className: n, ...r }, t) => /* @__PURE__ */ e(
558
- N.Overlay,
557
+ lt.displayName = "DateNavigator";
558
+ const ct = [
559
+ "Janeiro",
560
+ "Fevereiro",
561
+ "Março",
562
+ "Abril",
563
+ "Maio",
564
+ "Junho",
565
+ "Julho",
566
+ "Agosto",
567
+ "Setembro",
568
+ "Outubro",
569
+ "Novembro",
570
+ "Dezembro"
571
+ ], dt = ["D", "S", "T", "Q", "Q", "S", "S"];
572
+ function P(r) {
573
+ return String(r).padStart(2, "0");
574
+ }
575
+ function X(r) {
576
+ const t = /^(\d{4})-(\d{2})-(\d{2})$/.exec(r ?? "");
577
+ return t ? new Date(Number(t[1]), Number(t[2]) - 1, Number(t[3])) : null;
578
+ }
579
+ function Z(r) {
580
+ return `${r.getFullYear()}-${P(r.getMonth() + 1)}-${P(r.getDate())}`;
581
+ }
582
+ function ut(r) {
583
+ return `${P(r.getDate())}/${P(r.getMonth() + 1)}/${r.getFullYear()}`;
584
+ }
585
+ function ee(r, t) {
586
+ return r.getFullYear() === t.getFullYear() && r.getMonth() === t.getMonth() && r.getDate() === t.getDate();
587
+ }
588
+ const mt = u(
589
+ ({ value: r, onChange: t, placeholder: n = "Selecionar data", className: o, disabled: a }, s) => {
590
+ const c = X(r), d = /* @__PURE__ */ new Date(), m = c ?? d, [p, f] = R({ year: m.getFullYear(), month: m.getMonth() }), [h, b] = R(!1);
591
+ function D(g) {
592
+ if (b(g), g) {
593
+ const v = X(r) ?? /* @__PURE__ */ new Date();
594
+ f({ year: v.getFullYear(), month: v.getMonth() });
595
+ }
596
+ }
597
+ function G(g) {
598
+ f((v) => {
599
+ const I = v.month + g;
600
+ return I < 0 ? { year: v.year - 1, month: 11 } : I > 11 ? { year: v.year + 1, month: 0 } : { year: v.year, month: I };
601
+ });
602
+ }
603
+ function Y(g) {
604
+ t == null || t(Z(g)), b(!1);
605
+ }
606
+ const pe = new Date(p.year, p.month, 1).getDay(), xe = Array.from(
607
+ { length: 42 },
608
+ (g, v) => new Date(p.year, p.month, 1 - pe + v)
609
+ );
610
+ return /* @__PURE__ */ l(S.Root, { open: h, onOpenChange: D, children: [
611
+ /* @__PURE__ */ e(S.Trigger, { asChild: !0, children: /* @__PURE__ */ l(
612
+ "button",
613
+ {
614
+ ref: s,
615
+ type: "button",
616
+ disabled: a,
617
+ className: i(
618
+ "flex h-11 w-full items-center justify-between gap-2.5 rounded-field border border-input bg-background px-3.5 font-sans text-sm transition-colors outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/10 disabled:opacity-60",
619
+ o
620
+ ),
621
+ children: [
622
+ /* @__PURE__ */ e("span", { className: c ? "text-foreground" : "text-subtle-foreground", children: c ? ut(c) : n }),
623
+ /* @__PURE__ */ e(
624
+ x,
625
+ {
626
+ icon: Ce,
627
+ className: "size-[18px] text-muted-foreground",
628
+ strokeWidth: 2
629
+ }
630
+ )
631
+ ]
632
+ }
633
+ ) }),
634
+ /* @__PURE__ */ e(S.Portal, { children: /* @__PURE__ */ l(
635
+ S.Content,
636
+ {
637
+ align: "start",
638
+ sideOffset: 8,
639
+ className: "z-50 w-[300px] rounded-list border border-border bg-card p-3.5 outline-none data-[state=open]:animate-fade-in",
640
+ children: [
641
+ /* @__PURE__ */ l("div", { className: "mb-3 flex items-center justify-between", children: [
642
+ /* @__PURE__ */ l("span", { className: "text-sm font-semibold text-foreground", children: [
643
+ ct[p.month],
644
+ " ",
645
+ p.year
646
+ ] }),
647
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-1", children: [
648
+ /* @__PURE__ */ e(
649
+ "button",
650
+ {
651
+ type: "button",
652
+ onClick: () => G(-1),
653
+ "aria-label": "Mês anterior",
654
+ className: "flex size-8 items-center justify-center rounded-field text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground",
655
+ children: /* @__PURE__ */ e(x, { icon: re, className: "size-[18px]", strokeWidth: 2 })
656
+ }
657
+ ),
658
+ /* @__PURE__ */ e(
659
+ "button",
660
+ {
661
+ type: "button",
662
+ onClick: () => G(1),
663
+ "aria-label": "Próximo mês",
664
+ className: "flex size-8 items-center justify-center rounded-field text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground",
665
+ children: /* @__PURE__ */ e(x, { icon: ne, className: "size-[18px]", strokeWidth: 2 })
666
+ }
667
+ )
668
+ ] })
669
+ ] }),
670
+ /* @__PURE__ */ e("div", { className: "mb-1 grid grid-cols-7 gap-1", children: dt.map((g, v) => /* @__PURE__ */ e(
671
+ "div",
672
+ {
673
+ className: "flex h-8 items-center justify-center text-[11px] font-medium text-subtle-foreground",
674
+ children: g
675
+ },
676
+ `${g}-${v}`
677
+ )) }),
678
+ /* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1", children: xe.map((g) => {
679
+ const v = g.getMonth() === p.month, I = ee(g, d), K = c !== null && ee(g, c);
680
+ return /* @__PURE__ */ e(
681
+ "button",
682
+ {
683
+ type: "button",
684
+ onClick: () => Y(g),
685
+ className: i(
686
+ "flex h-8 items-center justify-center rounded-field text-[13px] tabular-nums transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ring/25",
687
+ K ? "bg-accent font-semibold text-accent-foreground" : v ? "text-foreground hover:bg-secondary" : "text-subtle-foreground hover:bg-secondary",
688
+ !K && I && "border border-accent text-accent"
689
+ ),
690
+ children: g.getDate()
691
+ },
692
+ Z(g)
693
+ );
694
+ }) }),
695
+ /* @__PURE__ */ l("div", { className: "mt-3 flex items-center justify-between border-t border-border-soft pt-3", children: [
696
+ /* @__PURE__ */ e(
697
+ "button",
698
+ {
699
+ type: "button",
700
+ onClick: () => {
701
+ t == null || t(""), b(!1);
702
+ },
703
+ className: "text-[13px] font-semibold text-muted-foreground transition-colors hover:text-foreground",
704
+ children: "Limpar"
705
+ }
706
+ ),
707
+ /* @__PURE__ */ e(
708
+ "button",
709
+ {
710
+ type: "button",
711
+ onClick: () => Y(/* @__PURE__ */ new Date()),
712
+ className: "text-[13px] font-semibold text-accent transition-colors hover:brightness-95",
713
+ children: "Hoje"
714
+ }
715
+ )
716
+ ] })
717
+ ]
718
+ }
719
+ ) })
720
+ ] });
721
+ }
722
+ );
723
+ mt.displayName = "DatePicker";
724
+ const yr = w.Root, wr = w.Trigger, Cr = w.Close, pt = w.Portal, ie = u(({ className: r, ...t }, n) => /* @__PURE__ */ e(
725
+ w.Overlay,
559
726
  {
560
- ref: t,
727
+ ref: n,
561
728
  className: i(
562
729
  "fixed inset-0 z-90 flex items-center justify-center bg-[rgba(15,23,42,0.45)] p-6 backdrop-blur-[3px] data-[state=open]:animate-fade-in",
563
- n
730
+ r
564
731
  ),
565
- ...r
732
+ ...t
566
733
  }
567
734
  ));
568
- q.displayName = "DialogOverlay";
569
- const Je = p(({ className: n, children: r, showClose: t = !0, ...a }, o) => /* @__PURE__ */ e(Xe, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ l(
570
- N.Content,
735
+ ie.displayName = "DialogOverlay";
736
+ const xt = u(({ className: r, children: t, showClose: n = !0, ...o }, a) => /* @__PURE__ */ e(pt, { children: /* @__PURE__ */ e(ie, { children: /* @__PURE__ */ l(
737
+ w.Content,
571
738
  {
572
- ref: o,
739
+ ref: a,
573
740
  className: i(
574
- "relative w-full max-w-[420px] rounded-card bg-card p-[30px] shadow-[0_24px_64px_rgba(15,23,42,0.3)] outline-none data-[state=open]:animate-toast-in",
575
- n
741
+ "relative w-full max-w-[420px] rounded-card border border-border bg-card p-[30px] outline-none data-[state=open]:animate-toast-in",
742
+ r
576
743
  ),
577
744
  onOpenAutoFocus: (s) => s.preventDefault(),
578
- ...a,
745
+ ...o,
579
746
  children: [
580
- r,
581
- t ? /* @__PURE__ */ e(
582
- N.Close,
747
+ t,
748
+ n ? /* @__PURE__ */ e(
749
+ w.Close,
583
750
  {
584
751
  className: "absolute top-[30px] right-[30px] flex size-[34px] cursor-pointer items-center justify-center rounded-[11px] bg-secondary text-muted-foreground transition-colors hover:bg-secondary-hover outline-none focus-visible:ring-3 focus-visible:ring-ring/25",
585
752
  "aria-label": "Fechar",
586
- children: /* @__PURE__ */ e(u, { icon: j, className: "size-[18px]" })
753
+ children: /* @__PURE__ */ e(x, { icon: W, className: "size-[18px]" })
587
754
  }
588
755
  ) : null
589
756
  ]
590
757
  }
591
758
  ) }) }));
592
- Je.displayName = "DialogContent";
593
- const Qe = ({ className: n, ...r }) => /* @__PURE__ */ e("div", { className: i("mb-2 flex items-start justify-between gap-3", n), ...r });
594
- Qe.displayName = "DialogHeader";
595
- const Ye = p(({ className: n, ...r }, t) => /* @__PURE__ */ e(
596
- N.Title,
759
+ xt.displayName = "DialogContent";
760
+ const ft = ({ className: r, ...t }) => /* @__PURE__ */ e("div", { className: i("mb-2 flex items-start justify-between gap-3", r), ...t });
761
+ ft.displayName = "DialogHeader";
762
+ const gt = u(({ className: r, ...t }, n) => /* @__PURE__ */ e(
763
+ w.Title,
597
764
  {
598
- ref: t,
599
- className: i("mt-3.5 mb-1.5 text-xl font-bold", n),
600
- ...r
765
+ ref: n,
766
+ className: i("mt-3.5 mb-1.5 text-xl font-bold", r),
767
+ ...t
601
768
  }
602
769
  ));
603
- Ye.displayName = "DialogTitle";
604
- const Ze = p(({ className: n, ...r }, t) => /* @__PURE__ */ e(
605
- N.Description,
770
+ gt.displayName = "DialogTitle";
771
+ const bt = u(({ className: r, ...t }, n) => /* @__PURE__ */ e(
772
+ w.Description,
606
773
  {
607
- ref: t,
608
- className: i("mb-6 text-sm leading-relaxed text-muted-foreground", n),
609
- ...r
774
+ ref: n,
775
+ className: i("mb-6 text-sm leading-relaxed text-muted-foreground", r),
776
+ ...t
610
777
  }
611
778
  ));
612
- Ze.displayName = "DialogDescription";
613
- const et = ({ className: n, ...r }) => /* @__PURE__ */ e("div", { className: i("flex gap-3", n), ...r });
614
- et.displayName = "DialogFooter";
615
- const tt = y("flex flex-none items-center justify-center", {
779
+ bt.displayName = "DialogDescription";
780
+ const ht = ({ className: r, ...t }) => /* @__PURE__ */ e("div", { className: i("flex gap-3", r), ...t });
781
+ ht.displayName = "DialogFooter";
782
+ const vt = C("flex flex-none items-center justify-center", {
616
783
  variants: {
617
784
  tone: {
618
785
  neutral: "bg-secondary text-foreground",
@@ -636,85 +803,85 @@ const tt = y("flex flex-none items-center justify-center", {
636
803
  }
637
804
  },
638
805
  defaultVariants: { tone: "neutral", size: "md" }
639
- }), rt = {
806
+ }), Nt = {
640
807
  sm: "size-[18px]",
641
808
  md: "size-5",
642
809
  lg: "size-[22px]",
643
810
  xl: "size-8"
644
- }, T = p(
645
- ({ className: n, tone: r, size: t = "md", icon: a, ...o }, s) => /* @__PURE__ */ e("div", { ref: s, className: i(tt({ tone: r, size: t }), n), ...o, children: /* @__PURE__ */ e(u, { icon: a, className: rt[t ?? "md"], strokeWidth: 2 }) })
811
+ }, z = u(
812
+ ({ className: r, tone: t, size: n = "md", icon: o, ...a }, s) => /* @__PURE__ */ e("div", { ref: s, className: i(vt({ tone: t, size: n }), r), ...a, children: /* @__PURE__ */ e(x, { icon: o, className: Nt[n ?? "md"], strokeWidth: 2 }) })
646
813
  );
647
- T.displayName = "IconTile";
648
- const nt = p(
649
- ({ className: n, icon: r, title: t, description: a, action: o, ...s }, c) => /* @__PURE__ */ l(
814
+ z.displayName = "IconTile";
815
+ const yt = u(
816
+ ({ className: r, icon: t, title: n, description: o, action: a, ...s }, c) => /* @__PURE__ */ l(
650
817
  "div",
651
818
  {
652
819
  ref: c,
653
820
  className: i(
654
- "flex flex-col items-center rounded-card bg-card p-12 text-center shadow-card",
655
- n
821
+ "flex flex-col items-center rounded-card border border-border bg-card p-12 text-center",
822
+ r
656
823
  ),
657
824
  ...s,
658
825
  children: [
659
- /* @__PURE__ */ e(T, { icon: r, tone: "neutral", size: "xl", className: "mb-5 text-subtle-foreground" }),
660
- /* @__PURE__ */ e("h3", { className: "mb-1.5 text-lg font-bold", children: t }),
661
- a ? /* @__PURE__ */ e("p", { className: "mb-[22px] max-w-[340px] text-sm leading-relaxed text-muted-foreground", children: a }) : null,
662
- o
826
+ /* @__PURE__ */ e(z, { icon: t, tone: "neutral", size: "xl", className: "mb-5 text-subtle-foreground" }),
827
+ /* @__PURE__ */ e("h3", { className: "mb-1.5 text-lg font-bold", children: n }),
828
+ o ? /* @__PURE__ */ e("p", { className: "mb-[22px] max-w-[340px] text-sm leading-relaxed text-muted-foreground", children: o }) : null,
829
+ a
663
830
  ]
664
831
  }
665
832
  )
666
833
  );
667
- nt.displayName = "EmptyState";
668
- const U = p(
669
- ({ className: n, selected: r = !1, ...t }, a) => /* @__PURE__ */ e(
834
+ yt.displayName = "EmptyState";
835
+ const le = u(
836
+ ({ className: r, selected: t = !1, ...n }, o) => /* @__PURE__ */ e(
670
837
  "button",
671
838
  {
672
- ref: a,
839
+ ref: o,
673
840
  type: "button",
674
- "aria-pressed": r,
841
+ "aria-pressed": t,
675
842
  className: i(
676
843
  "cursor-pointer rounded-pill px-3.5 py-[7px] font-sans text-[13px] whitespace-nowrap transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ring/25",
677
- r ? "bg-primary font-semibold text-primary-foreground" : "bg-secondary font-medium text-muted-foreground hover:bg-secondary-hover",
678
- n
844
+ t ? "bg-primary font-semibold text-primary-foreground" : "bg-secondary font-medium text-muted-foreground hover:bg-secondary-hover",
845
+ r
679
846
  ),
680
- ...t
847
+ ...n
681
848
  }
682
849
  )
683
850
  );
684
- U.displayName = "FilterChip";
685
- const at = p(
686
- ({ className: n, items: r, value: t, onValueChange: a, ...o }, s) => /* @__PURE__ */ e("div", { ref: s, className: i("flex flex-wrap gap-2", n), ...o, children: r.map((c) => /* @__PURE__ */ e(
687
- U,
851
+ le.displayName = "FilterChip";
852
+ const wt = u(
853
+ ({ className: r, items: t, value: n, onValueChange: o, ...a }, s) => /* @__PURE__ */ e("div", { ref: s, className: i("flex flex-wrap gap-2", r), ...a, children: t.map((c) => /* @__PURE__ */ e(
854
+ le,
688
855
  {
689
- selected: c.value === t,
690
- onClick: () => a(c.value),
856
+ selected: c.value === n,
857
+ onClick: () => o(c.value),
691
858
  children: c.label
692
859
  },
693
860
  c.value
694
861
  )) })
695
862
  );
696
- at.displayName = "FilterChips";
697
- const ot = p(
698
- ({ className: n, total: r, filled: t, caption: a, onCupClick: o, ...s }, c) => /* @__PURE__ */ l("div", { ref: c, className: i("flex flex-col", n), ...s, children: [
699
- /* @__PURE__ */ e("div", { className: "flex gap-2.5", children: Array.from({ length: r }).map((d, m) => {
700
- const x = m < t;
863
+ wt.displayName = "FilterChips";
864
+ const Ct = u(
865
+ ({ className: r, total: t, filled: n, caption: o, onCupClick: a, ...s }, c) => /* @__PURE__ */ l("div", { ref: c, className: i("flex flex-col", r), ...s, children: [
866
+ /* @__PURE__ */ e("div", { className: "flex gap-2.5", children: Array.from({ length: t }).map((d, m) => {
867
+ const p = m < n;
701
868
  return /* @__PURE__ */ e(
702
869
  "button",
703
870
  {
704
871
  type: "button",
705
- "aria-label": `Copo ${m + 1}${x ? " preenchido" : ""}`,
706
- onClick: o ? () => o(m) : void 0,
707
- disabled: !o,
872
+ "aria-label": `Copo ${m + 1}${p ? " preenchido" : ""}`,
873
+ onClick: a ? () => a(m) : void 0,
874
+ disabled: !a,
708
875
  className: i(
709
876
  "flex h-11 flex-1 items-center justify-center rounded-[14px] transition-colors",
710
- o && "cursor-pointer",
711
- x ? "bg-protein" : "bg-info-bg"
877
+ a && "cursor-pointer",
878
+ p ? "bg-protein" : "bg-info-bg"
712
879
  ),
713
880
  children: /* @__PURE__ */ e(
714
- u,
881
+ x,
715
882
  {
716
- icon: ce,
717
- className: i("size-[18px]", x ? "text-white" : "text-[#BFDBFE]"),
883
+ icon: ke,
884
+ className: i("size-[18px]", p ? "text-white" : "text-[#BFDBFE]"),
718
885
  strokeWidth: 2
719
886
  }
720
887
  )
@@ -722,33 +889,33 @@ const ot = p(
722
889
  m
723
890
  );
724
891
  }) }),
725
- a ? /* @__PURE__ */ e("div", { className: "mt-2.5 text-xs text-subtle-foreground", children: a }) : null
892
+ o ? /* @__PURE__ */ e("div", { className: "mt-2.5 text-xs text-subtle-foreground", children: o }) : null
726
893
  ] })
727
894
  );
728
- ot.displayName = "HydrationTracker";
729
- const X = p(
730
- ({ className: n, label: r, error: t, hint: a, startIcon: o, suffix: s, id: c, disabled: d, ...m }, x) => {
731
- const g = F(), f = c ?? g, b = !!t, S = i(
895
+ Ct.displayName = "HydrationTracker";
896
+ const ce = u(
897
+ ({ className: r, label: t, error: n, hint: o, startIcon: a, suffix: s, id: c, disabled: d, ...m }, p) => {
898
+ const f = A(), h = c ?? f, b = !!n, D = i(
732
899
  "flex items-center gap-2.5 rounded-field border bg-background px-3.5 transition-colors",
733
900
  "focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/10",
734
901
  b && "border-error ring-3 ring-error/10 focus-within:border-error focus-within:ring-error/10",
735
902
  !b && "border-input",
736
903
  d && "opacity-60"
737
904
  );
738
- return /* @__PURE__ */ l("div", { className: i("flex flex-col", n), children: [
739
- r ? /* @__PURE__ */ e(
905
+ return /* @__PURE__ */ l("div", { className: i("flex flex-col", r), children: [
906
+ t ? /* @__PURE__ */ e(
740
907
  "label",
741
908
  {
742
- htmlFor: f,
909
+ htmlFor: h,
743
910
  className: i("mb-[7px] text-[13px] font-semibold", b && "text-error"),
744
- children: r
911
+ children: t
745
912
  }
746
913
  ) : null,
747
- /* @__PURE__ */ l("div", { className: S, children: [
748
- o ? /* @__PURE__ */ e(
749
- u,
914
+ /* @__PURE__ */ l("div", { className: D, children: [
915
+ a ? /* @__PURE__ */ e(
916
+ x,
750
917
  {
751
- icon: o,
918
+ icon: a,
752
919
  className: "size-[17px] text-subtle-foreground",
753
920
  strokeWidth: 2
754
921
  }
@@ -756,8 +923,8 @@ const X = p(
756
923
  /* @__PURE__ */ e(
757
924
  "input",
758
925
  {
759
- ref: x,
760
- id: f,
926
+ ref: p,
927
+ id: h,
761
928
  disabled: d,
762
929
  "aria-invalid": b,
763
930
  className: "w-full min-w-0 bg-transparent py-3 font-sans text-sm text-foreground outline-none placeholder:text-subtle-foreground",
@@ -766,23 +933,23 @@ const X = p(
766
933
  ),
767
934
  s ? /* @__PURE__ */ e("span", { className: "font-mono text-xs text-subtle-foreground", children: s }) : null
768
935
  ] }),
769
- t ? /* @__PURE__ */ e("p", { className: "mt-1.5 text-xs text-error", children: t }) : null,
770
- !t && a ? /* @__PURE__ */ e("p", { className: "mt-1.5 text-xs text-subtle-foreground", children: a }) : null
936
+ n ? /* @__PURE__ */ e("p", { className: "mt-1.5 text-xs text-error", children: n }) : null,
937
+ !n && o ? /* @__PURE__ */ e("p", { className: "mt-1.5 text-xs text-subtle-foreground", children: o }) : null
771
938
  ] });
772
939
  }
773
940
  );
774
- X.displayName = "Input";
775
- const st = p(
776
- ({ placeholder: n = "Buscar...", ...r }, t) => /* @__PURE__ */ e(X, { ref: t, type: "search", startIcon: de, placeholder: n, ...r })
941
+ ce.displayName = "Input";
942
+ const kt = u(
943
+ ({ placeholder: r = "Buscar...", ...t }, n) => /* @__PURE__ */ e(ce, { ref: n, type: "search", startIcon: Te, placeholder: r, ...t })
777
944
  );
778
- st.displayName = "SearchInput";
779
- const D = p(
945
+ kt.displayName = "SearchInput";
946
+ const M = u(
780
947
  ({
781
- className: n,
782
- icon: r,
783
- iconTone: t = "neutral",
784
- title: a,
785
- subtitle: o,
948
+ className: r,
949
+ icon: t,
950
+ iconTone: n = "neutral",
951
+ title: o,
952
+ subtitle: a,
786
953
  trailing: s,
787
954
  interactive: c = !1,
788
955
  ...d
@@ -793,165 +960,165 @@ const D = p(
793
960
  className: i(
794
961
  "flex items-center gap-4 rounded-list bg-muted p-4",
795
962
  c && "cursor-pointer transition-colors hover:bg-secondary",
796
- n
963
+ r
797
964
  ),
798
965
  ...d,
799
966
  children: [
800
- /* @__PURE__ */ e(T, { icon: r, tone: t, size: "lg" }),
967
+ /* @__PURE__ */ e(z, { icon: t, tone: n, size: "lg" }),
801
968
  /* @__PURE__ */ l("div", { className: "min-w-0 flex-1", children: [
802
- /* @__PURE__ */ e("div", { className: "truncate text-[15px] font-semibold", children: a }),
803
- o ? /* @__PURE__ */ e("div", { className: "truncate text-xs text-subtle-foreground", children: o }) : null
969
+ /* @__PURE__ */ e("div", { className: "truncate text-[15px] font-semibold", children: o }),
970
+ a ? /* @__PURE__ */ e("div", { className: "truncate text-xs text-subtle-foreground", children: a }) : null
804
971
  ] }),
805
972
  s ? /* @__PURE__ */ e("div", { className: "flex items-center gap-3.5", children: s }) : null
806
973
  ]
807
974
  }
808
975
  )
809
976
  );
810
- D.displayName = "ListItem";
811
- const it = p(
812
- ({ protein: n, carbs: r, fat: t, calories: a, ...o }, s) => /* @__PURE__ */ e(
813
- D,
977
+ M.displayName = "ListItem";
978
+ const Tt = u(
979
+ ({ protein: r, carbs: t, fat: n, calories: o, ...a }, s) => /* @__PURE__ */ e(
980
+ M,
814
981
  {
815
982
  ref: s,
816
- trailing: /* @__PURE__ */ l(P, { children: [
983
+ trailing: /* @__PURE__ */ l(V, { children: [
817
984
  /* @__PURE__ */ l("span", { className: "text-xs font-semibold text-protein", children: [
818
985
  "P ",
819
- n,
986
+ r,
820
987
  "g"
821
988
  ] }),
822
989
  /* @__PURE__ */ l("span", { className: "text-xs font-semibold text-carbs-text", children: [
823
990
  "C ",
824
- r,
991
+ t,
825
992
  "g"
826
993
  ] }),
827
994
  /* @__PURE__ */ l("span", { className: "text-xs font-semibold text-fat", children: [
828
995
  "G ",
829
- t,
996
+ n,
830
997
  "g"
831
998
  ] }),
832
999
  /* @__PURE__ */ l("span", { className: "min-w-16 text-right text-[15px] font-bold", children: [
833
- a,
1000
+ o,
834
1001
  " kcal"
835
1002
  ] })
836
1003
  ] }),
837
- ...o
1004
+ ...a
838
1005
  }
839
1006
  )
840
1007
  );
841
- it.displayName = "MealListItem";
842
- const lt = p(
843
- ({ duration: n, calories: r, ...t }, a) => /* @__PURE__ */ e(
844
- D,
1008
+ Tt.displayName = "MealListItem";
1009
+ const Dt = u(
1010
+ ({ duration: r, calories: t, ...n }, o) => /* @__PURE__ */ e(
1011
+ M,
845
1012
  {
846
- ref: a,
847
- trailing: /* @__PURE__ */ l(P, { children: [
848
- /* @__PURE__ */ e("span", { className: "text-[13px] font-semibold text-muted-foreground", children: n }),
1013
+ ref: o,
1014
+ trailing: /* @__PURE__ */ l(V, { children: [
1015
+ /* @__PURE__ */ e("span", { className: "text-[13px] font-semibold text-muted-foreground", children: r }),
849
1016
  /* @__PURE__ */ l("span", { className: "min-w-20 text-right text-[15px] font-bold", children: [
850
- r,
1017
+ t,
851
1018
  " kcal"
852
1019
  ] })
853
1020
  ] }),
854
- ...t
1021
+ ...n
855
1022
  }
856
1023
  )
857
1024
  );
858
- lt.displayName = "WorkoutListItem";
859
- const ct = p(
860
- ({ amount: n, muted: r = !1, ...t }, a) => /* @__PURE__ */ e(
861
- D,
1025
+ Dt.displayName = "WorkoutListItem";
1026
+ const It = u(
1027
+ ({ amount: r, muted: t = !1, ...n }, o) => /* @__PURE__ */ e(
1028
+ M,
862
1029
  {
863
- ref: a,
864
- trailing: /* @__PURE__ */ e("span", { className: i("text-[15px] font-bold", r && "text-subtle-foreground"), children: n }),
865
- ...t
1030
+ ref: o,
1031
+ trailing: /* @__PURE__ */ e("span", { className: i("text-[15px] font-bold", t && "text-subtle-foreground"), children: r }),
1032
+ ...n
866
1033
  }
867
1034
  )
868
1035
  );
869
- ct.displayName = "HydrationListItem";
870
- const dt = {
1036
+ It.displayName = "HydrationListItem";
1037
+ const Ft = {
871
1038
  protein: { bg: "bg-protein-bg", text: "text-protein" },
872
1039
  carbs: { bg: "bg-carbs-bg", text: "text-carbs-text" },
873
1040
  fat: { bg: "bg-fat-bg", text: "text-fat" },
874
1041
  cardio: { bg: "bg-cardio-bg", text: "text-cardio" },
875
1042
  accent: { bg: "bg-accent/10", text: "text-accent" },
876
1043
  primary: { bg: "bg-secondary", text: "text-foreground" }
877
- }, pt = {
1044
+ }, zt = {
878
1045
  protein: "var(--protein)",
879
1046
  carbs: "var(--carbs)",
880
1047
  fat: "var(--fat)",
881
1048
  cardio: "var(--cardio)",
882
1049
  accent: "var(--accent)",
883
1050
  primary: "var(--primary)"
884
- }, mt = p(
885
- ({ className: n, items: r, ...t }, a) => /* @__PURE__ */ l("div", { ref: a, className: i("flex flex-col", n), ...t, children: [
886
- /* @__PURE__ */ e("div", { className: "grid gap-3.5", style: { gridTemplateColumns: `repeat(${r.length}, 1fr)` }, children: r.map((o) => {
887
- const s = dt[o.color];
1051
+ }, St = u(
1052
+ ({ className: r, items: t, ...n }, o) => /* @__PURE__ */ l("div", { ref: o, className: i("flex flex-col", r), ...n, children: [
1053
+ /* @__PURE__ */ e("div", { className: "grid gap-3.5", style: { gridTemplateColumns: `repeat(${t.length}, 1fr)` }, children: t.map((a) => {
1054
+ const s = Ft[a.color];
888
1055
  return /* @__PURE__ */ l("div", { className: i("rounded-tile p-5 text-center", s.bg), children: [
889
- /* @__PURE__ */ e("div", { className: i("text-[26px] font-bold", s.text), children: o.value }),
890
- /* @__PURE__ */ e("div", { className: i("mt-0.5 text-[13px] font-semibold", s.text), children: o.label }),
891
- o.goal ? /* @__PURE__ */ e("div", { className: "mt-1.5 text-[11px] text-subtle-foreground", children: o.goal }) : null
892
- ] }, o.label);
1056
+ /* @__PURE__ */ e("div", { className: i("text-[26px] font-bold", s.text), children: a.value }),
1057
+ /* @__PURE__ */ e("div", { className: i("mt-0.5 text-[13px] font-semibold", s.text), children: a.label }),
1058
+ a.goal ? /* @__PURE__ */ e("div", { className: "mt-1.5 text-[11px] text-subtle-foreground", children: a.goal }) : null
1059
+ ] }, a.label);
893
1060
  }) }),
894
- /* @__PURE__ */ e("div", { className: "mt-5 flex h-3 overflow-hidden rounded-pill", children: r.map((o) => /* @__PURE__ */ e(
1061
+ /* @__PURE__ */ e("div", { className: "mt-5 flex h-3 overflow-hidden rounded-pill", children: t.map((a) => /* @__PURE__ */ e(
895
1062
  "div",
896
1063
  {
897
- style: { width: `${o.percent}%`, background: pt[o.color] }
1064
+ style: { width: `${a.percent}%`, background: zt[a.color] }
898
1065
  },
899
- o.label
1066
+ a.label
900
1067
  )) }),
901
- /* @__PURE__ */ e("div", { className: "mt-2 flex justify-between text-[11px] text-subtle-foreground", children: r.map((o) => /* @__PURE__ */ l("span", { children: [
902
- o.label,
1068
+ /* @__PURE__ */ e("div", { className: "mt-2 flex justify-between text-[11px] text-subtle-foreground", children: t.map((a) => /* @__PURE__ */ l("span", { children: [
1069
+ a.label,
903
1070
  " ",
904
- o.percent,
1071
+ a.percent,
905
1072
  "%"
906
- ] }, o.label)) })
1073
+ ] }, a.label)) })
907
1074
  ] })
908
1075
  );
909
- mt.displayName = "MacroBreakdown";
910
- const ut = p(
911
- ({ className: n, name: r, badge: t, online: a = !0, avatar: o, ...s }, c) => /* @__PURE__ */ l(
1076
+ St.displayName = "MacroBreakdown";
1077
+ const Bt = u(
1078
+ ({ className: r, name: t, badge: n, online: o = !0, avatar: a, ...s }, c) => /* @__PURE__ */ l(
912
1079
  "div",
913
1080
  {
914
1081
  ref: c,
915
1082
  className: i(
916
- "inline-flex items-center gap-3.5 rounded-pill bg-card py-3 pr-[18px] pl-3 shadow-card",
917
- n
1083
+ "inline-flex items-center gap-3.5 rounded-pill border border-border bg-card py-3 pr-[18px] pl-3",
1084
+ r
918
1085
  ),
919
1086
  ...s,
920
1087
  children: [
921
1088
  /* @__PURE__ */ l("div", { className: "relative", children: [
922
- /* @__PURE__ */ e("div", { className: "flex size-[46px] items-center justify-center overflow-hidden rounded-full bg-linear-[135deg,#5B77FF,#2B4BF2]", children: o ?? /* @__PURE__ */ e(
923
- u,
1089
+ /* @__PURE__ */ e("div", { className: "flex size-[46px] items-center justify-center overflow-hidden rounded-full bg-linear-[135deg,#5B77FF,#2B4BF2]", children: a ?? /* @__PURE__ */ e(
1090
+ x,
924
1091
  {
925
- icon: pe,
1092
+ icon: De,
926
1093
  className: "size-[22px] text-accent-foreground",
927
1094
  strokeWidth: 2
928
1095
  }
929
1096
  ) }),
930
- a ? /* @__PURE__ */ e("span", { className: "absolute right-px bottom-px size-3 rounded-full border-2 border-card bg-success" }) : null
1097
+ o ? /* @__PURE__ */ e("span", { className: "absolute right-px bottom-px size-3 rounded-full border-2 border-card bg-success" }) : null
931
1098
  ] }),
932
1099
  /* @__PURE__ */ l("div", { className: "pr-2", children: [
933
- /* @__PURE__ */ e("div", { className: "text-[15px] font-bold", children: r }),
934
- t ? /* @__PURE__ */ e("div", { className: "mt-[3px]", children: t }) : null
1100
+ /* @__PURE__ */ e("div", { className: "text-[15px] font-bold", children: t }),
1101
+ n ? /* @__PURE__ */ e("div", { className: "mt-[3px]", children: n }) : null
935
1102
  ] })
936
1103
  ]
937
1104
  }
938
1105
  )
939
1106
  );
940
- ut.displayName = "ProfileCard";
941
- const xt = {
1107
+ Bt.displayName = "ProfileCard";
1108
+ const Pt = {
942
1109
  protein: "var(--protein)",
943
1110
  carbs: "var(--carbs)",
944
1111
  fat: "var(--fat)",
945
1112
  cardio: "var(--cardio)",
946
1113
  accent: "var(--accent)",
947
1114
  primary: "var(--primary)"
948
- }, gt = p(
949
- ({ className: n, value: r, label: t, valueLabel: a, color: o = "accent", ...s }, c) => {
950
- const d = Math.min(100, Math.max(0, r));
951
- return /* @__PURE__ */ l("div", { ref: c, className: i("flex flex-col", n), ...s, children: [
952
- t || a ? /* @__PURE__ */ l("div", { className: "mb-2 flex justify-between text-[13px]", children: [
953
- t ? /* @__PURE__ */ e("span", { className: "font-semibold", children: t }) : /* @__PURE__ */ e("span", {}),
954
- a ? /* @__PURE__ */ e("span", { className: "text-muted-foreground", children: a }) : null
1115
+ }, At = u(
1116
+ ({ className: r, value: t, label: n, valueLabel: o, color: a = "accent", ...s }, c) => {
1117
+ const d = Math.min(100, Math.max(0, t));
1118
+ return /* @__PURE__ */ l("div", { ref: c, className: i("flex flex-col", r), ...s, children: [
1119
+ n || o ? /* @__PURE__ */ l("div", { className: "mb-2 flex justify-between text-[13px]", children: [
1120
+ n ? /* @__PURE__ */ e("span", { className: "font-semibold", children: n }) : /* @__PURE__ */ e("span", {}),
1121
+ o ? /* @__PURE__ */ e("span", { className: "text-muted-foreground", children: o }) : null
955
1122
  ] }) : null,
956
1123
  /* @__PURE__ */ e(
957
1124
  "div",
@@ -965,7 +1132,7 @@ const xt = {
965
1132
  "div",
966
1133
  {
967
1134
  className: "h-full rounded-pill transition-[width] duration-300",
968
- style: { width: `${d}%`, background: xt[o] }
1135
+ style: { width: `${d}%`, background: Pt[a] }
969
1136
  }
970
1137
  )
971
1138
  }
@@ -973,62 +1140,62 @@ const xt = {
973
1140
  ] });
974
1141
  }
975
1142
  );
976
- gt.displayName = "ProgressBar";
977
- const ft = p(
1143
+ At.displayName = "ProgressBar";
1144
+ const jt = u(
978
1145
  ({
979
- className: n,
980
- value: r,
981
- size: t = 140,
982
- strokeWidth: a = 14,
983
- color: o = "var(--accent)",
1146
+ className: r,
1147
+ value: t,
1148
+ size: n = 140,
1149
+ strokeWidth: o = 14,
1150
+ color: a = "var(--accent)",
984
1151
  trackColor: s = "var(--secondary)",
985
1152
  label: c,
986
1153
  caption: d,
987
1154
  ...m
988
- }, x) => {
989
- const g = Math.min(100, Math.max(0, r)), f = (t - a) / 2, b = 2 * Math.PI * f, S = b * (1 - g / 100);
1155
+ }, p) => {
1156
+ const f = Math.min(100, Math.max(0, t)), h = (n - o) / 2, b = 2 * Math.PI * h, D = b * (1 - f / 100);
990
1157
  return /* @__PURE__ */ l(
991
1158
  "div",
992
1159
  {
993
- ref: x,
994
- className: i("relative", n),
995
- style: { width: t, height: t },
1160
+ ref: p,
1161
+ className: i("relative", r),
1162
+ style: { width: n, height: n },
996
1163
  role: "progressbar",
997
- "aria-valuenow": g,
1164
+ "aria-valuenow": f,
998
1165
  "aria-valuemin": 0,
999
1166
  "aria-valuemax": 100,
1000
1167
  ...m,
1001
1168
  children: [
1002
- /* @__PURE__ */ l("svg", { width: t, height: t, viewBox: `0 0 ${t} ${t}`, className: "-rotate-90", children: [
1169
+ /* @__PURE__ */ l("svg", { width: n, height: n, viewBox: `0 0 ${n} ${n}`, className: "-rotate-90", children: [
1003
1170
  /* @__PURE__ */ e(
1004
1171
  "circle",
1005
1172
  {
1006
- cx: t / 2,
1007
- cy: t / 2,
1008
- r: f,
1173
+ cx: n / 2,
1174
+ cy: n / 2,
1175
+ r: h,
1009
1176
  fill: "none",
1010
1177
  stroke: s,
1011
- strokeWidth: a
1178
+ strokeWidth: o
1012
1179
  }
1013
1180
  ),
1014
1181
  /* @__PURE__ */ e(
1015
1182
  "circle",
1016
1183
  {
1017
- cx: t / 2,
1018
- cy: t / 2,
1019
- r: f,
1184
+ cx: n / 2,
1185
+ cy: n / 2,
1186
+ r: h,
1020
1187
  fill: "none",
1021
- stroke: o,
1022
- strokeWidth: a,
1188
+ stroke: a,
1189
+ strokeWidth: o,
1023
1190
  strokeLinecap: "round",
1024
1191
  strokeDasharray: b,
1025
- strokeDashoffset: S,
1192
+ strokeDashoffset: D,
1026
1193
  className: "transition-[stroke-dashoffset] duration-500"
1027
1194
  }
1028
1195
  )
1029
1196
  ] }),
1030
1197
  /* @__PURE__ */ l("div", { className: "absolute inset-0 flex flex-col items-center justify-center", children: [
1031
- /* @__PURE__ */ e("span", { className: "text-[30px] font-bold", children: c ?? `${Math.round(g)}%` }),
1198
+ /* @__PURE__ */ e("span", { className: "text-[30px] font-bold", children: c ?? `${Math.round(f)}%` }),
1032
1199
  d ? /* @__PURE__ */ e("span", { className: "text-xs text-subtle-foreground", children: d }) : null
1033
1200
  ] })
1034
1201
  ]
@@ -1036,38 +1203,38 @@ const ft = p(
1036
1203
  );
1037
1204
  }
1038
1205
  );
1039
- ft.displayName = "ProgressRing";
1040
- const bt = p(({ className: n, ...r }, t) => /* @__PURE__ */ e(
1041
- K.Root,
1206
+ jt.displayName = "ProgressRing";
1207
+ const $t = u(({ className: r, ...t }, n) => /* @__PURE__ */ e(
1208
+ se.Root,
1042
1209
  {
1043
- ref: t,
1044
- className: i("flex flex-col gap-3.5", n),
1045
- ...r
1210
+ ref: n,
1211
+ className: i("flex flex-col gap-3.5", r),
1212
+ ...t
1046
1213
  }
1047
1214
  ));
1048
- bt.displayName = "RadioGroup";
1049
- const ht = p(({ className: n, label: r, id: t, ...a }, o) => {
1050
- const s = F(), c = t ?? s, d = /* @__PURE__ */ e(
1051
- K.Item,
1215
+ $t.displayName = "RadioGroup";
1216
+ const Mt = u(({ className: r, label: t, id: n, ...o }, a) => {
1217
+ const s = A(), c = n ?? s, d = /* @__PURE__ */ e(
1218
+ se.Item,
1052
1219
  {
1053
- ref: o,
1220
+ ref: a,
1054
1221
  id: c,
1055
1222
  className: i(
1056
1223
  "flex size-[22px] flex-none cursor-pointer items-center justify-center rounded-full border-2 bg-background transition-all outline-none",
1057
1224
  "border-input data-[state=checked]:border-[6px] data-[state=checked]:border-primary",
1058
1225
  "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-60",
1059
- n
1226
+ r
1060
1227
  ),
1061
- ...a
1228
+ ...o
1062
1229
  }
1063
1230
  );
1064
- return r ? /* @__PURE__ */ l("label", { htmlFor: c, className: "flex cursor-pointer items-center gap-3.5", children: [
1231
+ return t ? /* @__PURE__ */ l("label", { htmlFor: c, className: "flex cursor-pointer items-center gap-3.5", children: [
1065
1232
  d,
1066
- /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: r })
1233
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium", children: t })
1067
1234
  ] }) : d;
1068
1235
  });
1069
- ht.displayName = "RadioGroupItem";
1070
- const vt = y("inline-grid w-full rounded-pill bg-secondary", {
1236
+ Mt.displayName = "RadioGroupItem";
1237
+ const Et = C("inline-grid w-full rounded-pill bg-secondary", {
1071
1238
  variants: {
1072
1239
  size: {
1073
1240
  sm: "gap-1 p-1",
@@ -1076,31 +1243,31 @@ const vt = y("inline-grid w-full rounded-pill bg-secondary", {
1076
1243
  },
1077
1244
  defaultVariants: { size: "md" }
1078
1245
  });
1079
- function sr({
1080
- className: n,
1081
- options: r,
1082
- value: t,
1083
- onValueChange: a,
1084
- size: o,
1246
+ function kr({
1247
+ className: r,
1248
+ options: t,
1249
+ value: n,
1250
+ onValueChange: o,
1251
+ size: a,
1085
1252
  ...s
1086
1253
  }) {
1087
1254
  return /* @__PURE__ */ e(
1088
1255
  "div",
1089
1256
  {
1090
- className: i(vt({ size: o }), n),
1091
- style: { gridTemplateColumns: `repeat(${r.length}, minmax(0, 1fr))` },
1257
+ className: i(Et({ size: a }), r),
1258
+ style: { gridTemplateColumns: `repeat(${t.length}, minmax(0, 1fr))` },
1092
1259
  ...s,
1093
- children: r.map((c) => {
1094
- const d = c.value === t;
1260
+ children: t.map((c) => {
1261
+ const d = c.value === n;
1095
1262
  return /* @__PURE__ */ e(
1096
1263
  "button",
1097
1264
  {
1098
1265
  type: "button",
1099
1266
  "aria-pressed": d,
1100
- onClick: () => a(c.value),
1267
+ onClick: () => o(c.value),
1101
1268
  className: i(
1102
1269
  "cursor-pointer rounded-pill px-3 py-2 font-sans text-[13px] font-semibold whitespace-nowrap transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ring/25",
1103
- d ? "bg-card text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
1270
+ d ? "border border-border bg-card text-foreground" : "border border-transparent text-muted-foreground hover:text-foreground"
1104
1271
  ),
1105
1272
  children: c.label
1106
1273
  },
@@ -1110,74 +1277,74 @@ function sr({
1110
1277
  }
1111
1278
  );
1112
1279
  }
1113
- const ir = h.Root, lr = h.Group, cr = h.Value, Nt = p(({ className: n, children: r, ...t }, a) => /* @__PURE__ */ l(
1114
- h.Trigger,
1280
+ const Tr = N.Root, Dr = N.Group, Ir = N.Value, Rt = u(({ className: r, children: t, ...n }, o) => /* @__PURE__ */ l(
1281
+ N.Trigger,
1115
1282
  {
1116
- ref: a,
1283
+ ref: o,
1117
1284
  className: i(
1118
1285
  "flex w-full cursor-pointer items-center justify-between gap-2 rounded-field border border-input bg-background px-3.5 py-[11px] font-sans text-sm font-medium text-foreground transition-colors outline-none",
1119
1286
  "hover:border-subtle-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/10 disabled:cursor-not-allowed disabled:opacity-60 data-[placeholder]:text-subtle-foreground",
1120
- n
1287
+ r
1121
1288
  ),
1122
- ...t,
1289
+ ...n,
1123
1290
  children: [
1124
- r,
1125
- /* @__PURE__ */ e(h.Icon, { asChild: !0, children: /* @__PURE__ */ e(
1126
- u,
1291
+ t,
1292
+ /* @__PURE__ */ e(N.Icon, { asChild: !0, children: /* @__PURE__ */ e(
1293
+ x,
1127
1294
  {
1128
- icon: H,
1295
+ icon: te,
1129
1296
  className: "size-4 text-muted-foreground transition-transform"
1130
1297
  }
1131
1298
  ) })
1132
1299
  ]
1133
1300
  }
1134
1301
  ));
1135
- Nt.displayName = "SelectTrigger";
1136
- const yt = p(({ className: n, children: r, position: t = "popper", ...a }, o) => /* @__PURE__ */ e(h.Portal, { children: /* @__PURE__ */ e(
1137
- h.Content,
1302
+ Rt.displayName = "SelectTrigger";
1303
+ const Vt = u(({ className: r, children: t, position: n = "popper", ...o }, a) => /* @__PURE__ */ e(N.Portal, { children: /* @__PURE__ */ e(
1304
+ N.Content,
1138
1305
  {
1139
- ref: o,
1140
- position: t,
1306
+ ref: a,
1307
+ position: n,
1141
1308
  className: i(
1142
- "z-50 min-w-[8rem] overflow-hidden rounded-list border border-border bg-card p-1.5 shadow-[0_12px_32px_rgba(15,23,42,0.14)]",
1143
- t === "popper" && "data-[side=bottom]:translate-y-1",
1144
- n
1309
+ "z-50 min-w-[8rem] overflow-hidden rounded-list border border-border bg-card p-1.5",
1310
+ n === "popper" && "data-[side=bottom]:translate-y-1",
1311
+ r
1145
1312
  ),
1146
- ...a,
1313
+ ...o,
1147
1314
  children: /* @__PURE__ */ e(
1148
- h.Viewport,
1315
+ N.Viewport,
1149
1316
  {
1150
- className: i(t === "popper" && "w-full min-w-[var(--radix-select-trigger-width)]"),
1151
- children: r
1317
+ className: i(n === "popper" && "w-full min-w-[var(--radix-select-trigger-width)]"),
1318
+ children: t
1152
1319
  }
1153
1320
  )
1154
1321
  }
1155
1322
  ) }));
1156
- yt.displayName = "SelectContent";
1157
- const wt = p(({ className: n, children: r, ...t }, a) => /* @__PURE__ */ l(
1158
- h.Item,
1323
+ Vt.displayName = "SelectContent";
1324
+ const Wt = u(({ className: r, children: t, ...n }, o) => /* @__PURE__ */ l(
1325
+ N.Item,
1159
1326
  {
1160
- ref: a,
1327
+ ref: o,
1161
1328
  className: i(
1162
1329
  "relative flex cursor-pointer items-center justify-between rounded-[9px] px-3 py-[9px] text-sm outline-none select-none",
1163
1330
  "focus:bg-secondary data-[state=checked]:font-semibold data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
1164
- n
1331
+ r
1165
1332
  ),
1166
- ...t,
1333
+ ...n,
1167
1334
  children: [
1168
- /* @__PURE__ */ e(h.ItemText, { children: r }),
1169
- /* @__PURE__ */ e(h.ItemIndicator, { children: /* @__PURE__ */ e(u, { icon: _, className: "size-4 text-accent", strokeWidth: 3 }) })
1335
+ /* @__PURE__ */ e(N.ItemText, { children: t }),
1336
+ /* @__PURE__ */ e(N.ItemIndicator, { children: /* @__PURE__ */ e(x, { icon: L, className: "size-4 text-accent", strokeWidth: 3 }) })
1170
1337
  ]
1171
1338
  }
1172
1339
  ));
1173
- wt.displayName = "SelectItem";
1174
- const J = p(
1340
+ Wt.displayName = "SelectItem";
1341
+ const de = u(
1175
1342
  ({
1176
- className: n,
1177
- title: r,
1178
- description: t,
1179
- icon: a,
1180
- iconTone: o = "neutral",
1343
+ className: r,
1344
+ title: t,
1345
+ description: n,
1346
+ icon: o,
1347
+ iconTone: a = "neutral",
1181
1348
  selected: s = !1,
1182
1349
  trailing: c,
1183
1350
  ...d
@@ -1191,122 +1358,122 @@ const J = p(
1191
1358
  "flex w-full cursor-pointer items-center gap-3.5 rounded-tile border-2 bg-card p-4 text-left transition-colors outline-none",
1192
1359
  "focus-visible:ring-3 focus-visible:ring-ring/25",
1193
1360
  s ? "border-primary" : "border-border hover:border-input",
1194
- n
1361
+ r
1195
1362
  ),
1196
1363
  ...d,
1197
1364
  children: [
1198
- a ? /* @__PURE__ */ e(T, { icon: a, tone: s ? "accent" : o, size: "sm" }) : null,
1365
+ o ? /* @__PURE__ */ e(z, { icon: o, tone: s ? "accent" : a, size: "sm" }) : null,
1199
1366
  /* @__PURE__ */ l("div", { className: "min-w-0 flex-1", children: [
1200
- /* @__PURE__ */ e("div", { className: "text-sm font-semibold", children: r }),
1201
- t ? /* @__PURE__ */ e("div", { className: "mt-0.5 text-[13px] text-muted-foreground", children: t }) : null
1367
+ /* @__PURE__ */ e("div", { className: "text-sm font-semibold", children: t }),
1368
+ n ? /* @__PURE__ */ e("div", { className: "mt-0.5 text-[13px] text-muted-foreground", children: n }) : null
1202
1369
  ] }),
1203
1370
  c ? /* @__PURE__ */ e("div", { className: "flex-none", children: c }) : null
1204
1371
  ]
1205
1372
  }
1206
1373
  )
1207
1374
  );
1208
- J.displayName = "SelectableCard";
1209
- function dr({
1210
- className: n,
1211
- items: r,
1212
- value: t,
1213
- onValueChange: a,
1214
- columns: o = 1,
1375
+ de.displayName = "SelectableCard";
1376
+ function Fr({
1377
+ className: r,
1378
+ items: t,
1379
+ value: n,
1380
+ onValueChange: o,
1381
+ columns: a = 1,
1215
1382
  ...s
1216
1383
  }) {
1217
1384
  return /* @__PURE__ */ e(
1218
1385
  "div",
1219
1386
  {
1220
- className: i("grid gap-2.5", n),
1221
- style: { gridTemplateColumns: `repeat(${o}, minmax(0, 1fr))` },
1387
+ className: i("grid gap-2.5", r),
1388
+ style: { gridTemplateColumns: `repeat(${a}, minmax(0, 1fr))` },
1222
1389
  ...s,
1223
- children: r.map((c) => /* @__PURE__ */ e(
1224
- J,
1390
+ children: t.map((c) => /* @__PURE__ */ e(
1391
+ de,
1225
1392
  {
1226
1393
  title: c.title,
1227
1394
  description: c.description,
1228
1395
  icon: c.icon,
1229
1396
  iconTone: c.iconTone,
1230
- selected: c.value === t,
1231
- onClick: () => a(c.value)
1397
+ selected: c.value === n,
1398
+ onClick: () => o(c.value)
1232
1399
  },
1233
1400
  c.value
1234
1401
  ))
1235
1402
  }
1236
1403
  );
1237
1404
  }
1238
- const Ct = p(
1239
- ({ className: n, icon: r, label: t, active: a = !1, ...o }, s) => /* @__PURE__ */ l(
1405
+ const Lt = u(
1406
+ ({ className: r, icon: t, label: n, active: o = !1, ...a }, s) => /* @__PURE__ */ l(
1240
1407
  "button",
1241
1408
  {
1242
1409
  ref: s,
1243
1410
  type: "button",
1244
- "aria-current": a ? "page" : void 0,
1411
+ "aria-current": o ? "page" : void 0,
1245
1412
  className: i(
1246
1413
  "flex w-full cursor-pointer items-center gap-3 rounded-list px-4 py-[13px] text-left font-sans text-sm font-semibold transition-colors outline-none focus-visible:ring-3 focus-visible:ring-ring/25",
1247
- a ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-secondary hover:text-foreground",
1248
- n
1414
+ o ? "bg-accent text-accent-foreground" : "text-muted-foreground hover:bg-secondary hover:text-foreground",
1415
+ r
1249
1416
  ),
1250
- ...o,
1417
+ ...a,
1251
1418
  children: [
1252
- /* @__PURE__ */ e(u, { icon: r, className: "size-[19px] flex-none", strokeWidth: 2 }),
1253
- /* @__PURE__ */ e("span", { children: t })
1419
+ /* @__PURE__ */ e(x, { icon: t, className: "size-[19px] flex-none", strokeWidth: 2 }),
1420
+ /* @__PURE__ */ e("span", { children: n })
1254
1421
  ]
1255
1422
  }
1256
1423
  )
1257
1424
  );
1258
- Ct.displayName = "NavItem";
1259
- const kt = p(
1260
- ({ className: n, children: r, ...t }, a) => /* @__PURE__ */ e(
1425
+ Lt.displayName = "NavItem";
1426
+ const Ot = u(
1427
+ ({ className: r, children: t, ...n }, o) => /* @__PURE__ */ e(
1261
1428
  "nav",
1262
1429
  {
1263
- ref: a,
1264
- className: i("rounded-card bg-card p-[18px] pt-[22px] shadow-card", n),
1265
- ...t,
1266
- children: r
1430
+ ref: o,
1431
+ className: i("rounded-card border border-border bg-card p-[18px] pt-[22px]", r),
1432
+ ...n,
1433
+ children: t
1267
1434
  }
1268
1435
  )
1269
1436
  );
1270
- kt.displayName = "Sidebar";
1271
- const Tt = p(
1272
- ({ className: n, name: r, logo: t, ...a }, o) => /* @__PURE__ */ l(
1437
+ Ot.displayName = "Sidebar";
1438
+ const Ht = u(
1439
+ ({ className: r, name: t, logo: n, ...o }, a) => /* @__PURE__ */ l(
1273
1440
  "div",
1274
1441
  {
1275
- ref: o,
1276
- className: i("flex items-center gap-3 px-2.5 pt-1.5 pb-[22px]", n),
1277
- ...a,
1442
+ ref: a,
1443
+ className: i("flex items-center gap-3 px-2.5 pt-1.5 pb-[22px]", r),
1444
+ ...o,
1278
1445
  children: [
1279
- /* @__PURE__ */ e("div", { className: "flex size-[42px] items-center justify-center rounded-[14px] bg-accent text-lg font-bold text-accent-foreground", children: t ?? r.charAt(0) }),
1280
- /* @__PURE__ */ e("span", { className: "text-lg font-bold", children: r })
1446
+ n ? /* @__PURE__ */ e("div", { className: "flex size-[42px] items-center justify-center overflow-hidden rounded-[14px]", children: n }) : /* @__PURE__ */ e("div", { className: "flex size-[42px] items-center justify-center rounded-[14px] bg-accent text-lg font-bold text-accent-foreground", children: t.charAt(0) }),
1447
+ /* @__PURE__ */ e("span", { className: "text-lg font-bold", children: t })
1281
1448
  ]
1282
1449
  }
1283
1450
  )
1284
1451
  );
1285
- Tt.displayName = "SidebarBrand";
1286
- const It = p(
1287
- ({ className: n, label: r, children: t, ...a }, o) => /* @__PURE__ */ l("div", { ref: o, className: i("flex flex-col", n), ...a, children: [
1288
- r ? /* @__PURE__ */ e("span", { className: "px-2.5 pt-5 pb-2.5 font-mono text-[11px] tracking-widest text-subtle-foreground uppercase", children: r }) : null,
1289
- /* @__PURE__ */ e("div", { className: "flex flex-col gap-1", children: t })
1452
+ Ht.displayName = "SidebarBrand";
1453
+ const Gt = u(
1454
+ ({ className: r, label: t, children: n, ...o }, a) => /* @__PURE__ */ l("div", { ref: a, className: i("flex flex-col", r), ...o, children: [
1455
+ t ? /* @__PURE__ */ e("span", { className: "px-2.5 pt-5 pb-2.5 font-mono text-[11px] tracking-widest text-subtle-foreground uppercase", children: t }) : null,
1456
+ /* @__PURE__ */ e("div", { className: "flex flex-col gap-1", children: n })
1290
1457
  ] })
1291
1458
  );
1292
- It.displayName = "SidebarSection";
1293
- const Ft = p(
1294
- ({ className: n, ...r }, t) => /* @__PURE__ */ e("div", { ref: t, className: i("skeleton rounded-[7px]", n), ...r })
1459
+ Gt.displayName = "SidebarSection";
1460
+ const Yt = u(
1461
+ ({ className: r, ...t }, n) => /* @__PURE__ */ e("div", { ref: n, className: i("skeleton rounded-[7px]", r), ...t })
1295
1462
  );
1296
- Ft.displayName = "Skeleton";
1297
- const zt = p(
1298
- ({ className: n, ...r }, t) => /* @__PURE__ */ l(
1299
- I.Root,
1463
+ Yt.displayName = "Skeleton";
1464
+ const Kt = u(
1465
+ ({ className: r, ...t }, n) => /* @__PURE__ */ l(
1466
+ B.Root,
1300
1467
  {
1301
- ref: t,
1302
- className: i("relative flex h-[22px] w-full touch-none items-center select-none", n),
1303
- ...r,
1468
+ ref: n,
1469
+ className: i("relative flex h-[22px] w-full touch-none items-center select-none", r),
1470
+ ...t,
1304
1471
  children: [
1305
- /* @__PURE__ */ e(I.Track, { className: "relative h-2 w-full grow rounded-pill bg-secondary", children: /* @__PURE__ */ e(I.Range, { className: "absolute h-full rounded-pill bg-accent" }) }),
1472
+ /* @__PURE__ */ e(B.Track, { className: "relative h-2 w-full grow rounded-pill bg-secondary", children: /* @__PURE__ */ e(B.Range, { className: "absolute h-full rounded-pill bg-accent" }) }),
1306
1473
  /* @__PURE__ */ e(
1307
- I.Thumb,
1474
+ B.Thumb,
1308
1475
  {
1309
- className: "block size-[22px] rounded-full border-[3px] border-primary bg-white shadow-[0_2px_6px_rgba(15,23,42,0.2)] outline-none focus-visible:ring-3 focus-visible:ring-ring/25 disabled:opacity-60",
1476
+ className: "block size-[22px] rounded-full border-[3px] border-accent bg-white outline-none focus-visible:ring-3 focus-visible:ring-ring/25 disabled:opacity-60",
1310
1477
  "aria-label": "Valor"
1311
1478
  }
1312
1479
  )
@@ -1314,8 +1481,8 @@ const zt = p(
1314
1481
  }
1315
1482
  )
1316
1483
  );
1317
- zt.displayName = "Slider";
1318
- const Bt = y("animate-spin-slow rounded-full border-secondary border-t-accent", {
1484
+ Kt.displayName = "Slider";
1485
+ const _t = C("animate-spin-slow rounded-full border-secondary border-t-accent", {
1319
1486
  variants: {
1320
1487
  size: {
1321
1488
  sm: "size-6 border-[3px]",
@@ -1324,62 +1491,62 @@ const Bt = y("animate-spin-slow rounded-full border-secondary border-t-accent",
1324
1491
  }
1325
1492
  },
1326
1493
  defaultVariants: { size: "md" }
1327
- }), Dt = p(
1328
- ({ className: n, size: r, ...t }, a) => /* @__PURE__ */ e(
1494
+ }), Jt = u(
1495
+ ({ className: r, size: t, ...n }, o) => /* @__PURE__ */ e(
1329
1496
  "div",
1330
1497
  {
1331
- ref: a,
1498
+ ref: o,
1332
1499
  role: "status",
1333
1500
  "aria-label": "Carregando",
1334
- className: i(Bt({ size: r }), n),
1335
- ...t
1501
+ className: i(_t({ size: t }), r),
1502
+ ...n
1336
1503
  }
1337
1504
  )
1338
1505
  );
1339
- Dt.displayName = "Spinner";
1340
- const St = y("rounded-card p-6", {
1506
+ Jt.displayName = "Spinner";
1507
+ const Qt = C("rounded-card p-6", {
1341
1508
  variants: {
1342
1509
  variant: {
1343
- light: "bg-card text-card-foreground shadow-card",
1344
- accent: "bg-accent text-accent-foreground shadow-accent",
1345
- dark: "bg-primary text-primary-foreground shadow-dark"
1510
+ light: "border border-border bg-card text-card-foreground",
1511
+ accent: "bg-accent text-accent-foreground",
1512
+ dark: "bg-primary text-primary-foreground"
1346
1513
  }
1347
1514
  },
1348
1515
  defaultVariants: { variant: "light" }
1349
- }), A = {
1516
+ }), E = {
1350
1517
  light: "text-muted-foreground",
1351
1518
  accent: "text-accent-muted-foreground",
1352
1519
  dark: "text-subtle-foreground"
1353
- }, At = {
1520
+ }, qt = {
1354
1521
  light: "neutral",
1355
1522
  accent: "onAccent",
1356
1523
  dark: "onDark"
1357
- }, Pt = p(
1524
+ }, Ut = u(
1358
1525
  ({
1359
- className: n,
1360
- variant: r = "light",
1361
- icon: t,
1362
- iconTone: a,
1363
- label: o,
1526
+ className: r,
1527
+ variant: t = "light",
1528
+ icon: n,
1529
+ iconTone: o,
1530
+ label: a,
1364
1531
  value: s,
1365
1532
  unit: c,
1366
1533
  trend: d,
1367
1534
  progress: m,
1368
- footer: x,
1369
- ...g
1370
- }, f) => {
1371
- const b = r ?? "light";
1372
- return /* @__PURE__ */ l("div", { ref: f, className: i(St({ variant: r }), n), ...g, children: [
1535
+ footer: p,
1536
+ ...f
1537
+ }, h) => {
1538
+ const b = t ?? "light";
1539
+ return /* @__PURE__ */ l("div", { ref: h, className: i(Qt({ variant: t }), r), ...f, children: [
1373
1540
  /* @__PURE__ */ l("div", { className: "mb-[18px] flex items-start justify-between", children: [
1374
- /* @__PURE__ */ e(T, { icon: t, tone: a ?? At[b] }),
1541
+ /* @__PURE__ */ e(z, { icon: n, tone: o ?? qt[b] }),
1375
1542
  d ? /* @__PURE__ */ e("div", { children: d }) : null
1376
1543
  ] }),
1377
- /* @__PURE__ */ e("div", { className: i("mb-1 text-[13px]", A[b]), children: o }),
1544
+ /* @__PURE__ */ e("div", { className: i("mb-1 text-[13px]", E[b]), children: a }),
1378
1545
  /* @__PURE__ */ l("div", { className: "text-[34px] leading-none font-bold tracking-tight", children: [
1379
1546
  s,
1380
- c ? /* @__PURE__ */ e("span", { className: i("ml-1 text-[15px] font-medium", A[b]), children: c }) : null
1547
+ c ? /* @__PURE__ */ e("span", { className: i("ml-1 text-[15px] font-medium", E[b]), children: c }) : null
1381
1548
  ] }),
1382
- m ? /* @__PURE__ */ l(P, { children: [
1549
+ m ? /* @__PURE__ */ l(V, { children: [
1383
1550
  /* @__PURE__ */ e("div", { className: "mt-4 h-1.5 overflow-hidden rounded-pill bg-secondary", children: /* @__PURE__ */ e(
1384
1551
  "div",
1385
1552
  {
@@ -1390,136 +1557,136 @@ const St = y("rounded-card p-6", {
1390
1557
  }
1391
1558
  }
1392
1559
  ) }),
1393
- m.caption ? /* @__PURE__ */ e("div", { className: i("mt-2 text-xs", A[b]), children: m.caption }) : null
1560
+ m.caption ? /* @__PURE__ */ e("div", { className: i("mt-2 text-xs", E[b]), children: m.caption }) : null
1394
1561
  ] }) : null,
1395
- x ? /* @__PURE__ */ e("div", { className: "mt-[18px]", children: x }) : null
1562
+ p ? /* @__PURE__ */ e("div", { className: "mt-[18px]", children: p }) : null
1396
1563
  ] });
1397
1564
  }
1398
1565
  );
1399
- Pt.displayName = "StatCard";
1400
- const jt = p(
1401
- ({ className: n, ...r }, t) => /* @__PURE__ */ e(
1402
- L.Root,
1566
+ Ut.displayName = "StatCard";
1567
+ const Xt = u(
1568
+ ({ className: r, ...t }, n) => /* @__PURE__ */ e(
1569
+ Q.Root,
1403
1570
  {
1404
- ref: t,
1571
+ ref: n,
1405
1572
  className: i(
1406
1573
  "peer inline-flex h-[27px] w-[46px] flex-none cursor-pointer items-center rounded-pill p-[3px] transition-colors outline-none",
1407
1574
  "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-60",
1408
1575
  "bg-input data-[state=checked]:bg-accent",
1409
- n
1576
+ r
1410
1577
  ),
1411
- ...r,
1412
- children: /* @__PURE__ */ e(L.Thumb, { className: "pointer-events-none block size-[21px] rounded-full bg-white shadow-[0_1px_3px_rgba(15,23,42,0.3)] transition-transform data-[state=checked]:translate-x-[19px]" })
1578
+ ...t,
1579
+ children: /* @__PURE__ */ e(Q.Thumb, { className: "pointer-events-none block size-[21px] rounded-full bg-white transition-transform data-[state=checked]:translate-x-[19px]" })
1413
1580
  }
1414
1581
  )
1415
1582
  );
1416
- jt.displayName = "Switch";
1417
- const pr = z.Root, _t = p(({ className: n, ...r }, t) => /* @__PURE__ */ e(
1418
- z.List,
1583
+ Xt.displayName = "Switch";
1584
+ const zr = j.Root, Zt = u(({ className: r, ...t }, n) => /* @__PURE__ */ e(
1585
+ j.List,
1419
1586
  {
1420
- ref: t,
1421
- className: i("inline-flex items-center gap-1.5 rounded-pill bg-secondary p-1.5", n),
1422
- ...r
1587
+ ref: n,
1588
+ className: i("inline-flex items-center gap-1.5 rounded-pill bg-secondary p-1.5", r),
1589
+ ...t
1423
1590
  }
1424
1591
  ));
1425
- _t.displayName = "TabsList";
1426
- const Et = p(({ className: n, ...r }, t) => /* @__PURE__ */ e(
1427
- z.Trigger,
1592
+ Zt.displayName = "TabsList";
1593
+ const er = u(({ className: r, ...t }, n) => /* @__PURE__ */ e(
1594
+ j.Trigger,
1428
1595
  {
1429
- ref: t,
1596
+ ref: n,
1430
1597
  className: i(
1431
1598
  "cursor-pointer rounded-pill px-[18px] py-[9px] font-sans text-sm font-semibold whitespace-nowrap text-muted-foreground transition-colors outline-none",
1432
1599
  "hover:text-foreground focus-visible:ring-3 focus-visible:ring-ring/25",
1433
1600
  "data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:hover:text-primary-foreground",
1434
- n
1601
+ r
1435
1602
  ),
1436
- ...r
1603
+ ...t
1437
1604
  }
1438
1605
  ));
1439
- Et.displayName = "TabsTrigger";
1440
- const Rt = p(({ className: n, ...r }, t) => /* @__PURE__ */ e(
1441
- z.Content,
1606
+ er.displayName = "TabsTrigger";
1607
+ const tr = u(({ className: r, ...t }, n) => /* @__PURE__ */ e(
1608
+ j.Content,
1442
1609
  {
1443
- ref: t,
1444
- className: i("mt-5 outline-none focus-visible:ring-3 focus-visible:ring-ring/25", n),
1445
- ...r
1610
+ ref: n,
1611
+ className: i("mt-5 outline-none focus-visible:ring-3 focus-visible:ring-ring/25", r),
1612
+ ...t
1446
1613
  }
1447
1614
  ));
1448
- Rt.displayName = "TabsContent";
1449
- const Vt = p(
1450
- ({ className: n, label: r, error: t, hint: a, id: o, disabled: s, rows: c = 3, ...d }, m) => {
1451
- const x = F(), g = o ?? x, f = !!t;
1452
- return /* @__PURE__ */ l("div", { className: i("flex flex-col", n), children: [
1453
- r ? /* @__PURE__ */ e(
1615
+ tr.displayName = "TabsContent";
1616
+ const rr = u(
1617
+ ({ className: r, label: t, error: n, hint: o, id: a, disabled: s, rows: c = 3, ...d }, m) => {
1618
+ const p = A(), f = a ?? p, h = !!n;
1619
+ return /* @__PURE__ */ l("div", { className: i("flex flex-col", r), children: [
1620
+ t ? /* @__PURE__ */ e(
1454
1621
  "label",
1455
1622
  {
1456
- htmlFor: g,
1457
- className: i("mb-[7px] text-[13px] font-semibold", f && "text-error"),
1458
- children: r
1623
+ htmlFor: f,
1624
+ className: i("mb-[7px] text-[13px] font-semibold", h && "text-error"),
1625
+ children: t
1459
1626
  }
1460
1627
  ) : null,
1461
1628
  /* @__PURE__ */ e(
1462
1629
  "textarea",
1463
1630
  {
1464
1631
  ref: m,
1465
- id: g,
1632
+ id: f,
1466
1633
  rows: c,
1467
1634
  disabled: s,
1468
- "aria-invalid": f,
1635
+ "aria-invalid": h,
1469
1636
  className: i(
1470
1637
  "w-full min-w-0 resize-y rounded-field border bg-background px-3.5 py-3 font-sans text-sm text-foreground transition-colors outline-none",
1471
1638
  "placeholder:text-subtle-foreground focus:border-ring focus:ring-3 focus:ring-ring/10",
1472
- f ? "border-error ring-3 ring-error/10 focus:border-error focus:ring-error/10" : "border-input",
1639
+ h ? "border-error ring-3 ring-error/10 focus:border-error focus:ring-error/10" : "border-input",
1473
1640
  s && "opacity-60"
1474
1641
  ),
1475
1642
  ...d
1476
1643
  }
1477
1644
  ),
1478
- t ? /* @__PURE__ */ e("p", { className: "mt-1.5 text-xs text-error", children: t }) : null,
1479
- !t && a ? /* @__PURE__ */ e("p", { className: "mt-1.5 text-xs text-subtle-foreground", children: a }) : null
1645
+ n ? /* @__PURE__ */ e("p", { className: "mt-1.5 text-xs text-error", children: n }) : null,
1646
+ !n && o ? /* @__PURE__ */ e("p", { className: "mt-1.5 text-xs text-subtle-foreground", children: o }) : null
1480
1647
  ] });
1481
1648
  }
1482
1649
  );
1483
- Vt.displayName = "Textarea";
1484
- const Q = be(null);
1485
- function mr() {
1486
- const n = fe(Q);
1487
- if (!n) throw new Error("useToast deve ser usado dentro de ToastProvider");
1488
- return n;
1650
+ rr.displayName = "Textarea";
1651
+ const ue = Be(null);
1652
+ function Sr() {
1653
+ const r = Se(ue);
1654
+ if (!r) throw new Error("useToast deve ser usado dentro de ToastProvider");
1655
+ return r;
1489
1656
  }
1490
- function ur({ children: n, duration: r = 3600 }) {
1491
- const [t, a] = xe([]), o = V((d) => {
1492
- a((m) => {
1493
- var g;
1494
- const x = (((g = m[m.length - 1]) == null ? void 0 : g.id) ?? 0) + 1;
1495
- return [...m, { ...d, id: x, open: !0 }];
1657
+ function Br({ children: r, duration: t = 3600 }) {
1658
+ const [n, o] = R([]), a = _((d) => {
1659
+ o((m) => {
1660
+ var f;
1661
+ const p = (((f = m[m.length - 1]) == null ? void 0 : f.id) ?? 0) + 1;
1662
+ return [...m, { ...d, id: p, open: !0 }];
1496
1663
  });
1497
- }, []), s = V((d, m) => {
1498
- m || a((x) => x.filter((g) => g.id !== d));
1499
- }, []), c = ge(() => ({ toast: o }), [o]);
1500
- return /* @__PURE__ */ e(Q.Provider, { value: c, children: /* @__PURE__ */ l(C.Provider, { duration: r, swipeDirection: "right", children: [
1501
- n,
1502
- t.map((d) => {
1503
- const m = d.icon ?? _;
1664
+ }, []), s = _((d, m) => {
1665
+ m || o((p) => p.filter((f) => f.id !== d));
1666
+ }, []), c = ze(() => ({ toast: a }), [a]);
1667
+ return /* @__PURE__ */ e(ue.Provider, { value: c, children: /* @__PURE__ */ l(T.Provider, { duration: t, swipeDirection: "right", children: [
1668
+ r,
1669
+ n.map((d) => {
1670
+ const m = d.icon ?? L;
1504
1671
  return /* @__PURE__ */ l(
1505
- C.Root,
1672
+ T.Root,
1506
1673
  {
1507
1674
  open: d.open,
1508
- duration: d.duration ?? r,
1509
- onOpenChange: (x) => s(d.id, x),
1510
- className: "flex items-center gap-3.5 rounded-list bg-primary px-[18px] py-[15px] text-primary-foreground shadow-[0_16px_40px_rgba(15,23,42,0.35)] data-[state=open]:animate-toast-in",
1675
+ duration: d.duration ?? t,
1676
+ onOpenChange: (p) => s(d.id, p),
1677
+ className: "flex items-center gap-3.5 rounded-list bg-primary px-[18px] py-[15px] text-primary-foreground data-[state=open]:animate-toast-in",
1511
1678
  children: [
1512
- /* @__PURE__ */ e("div", { className: "flex size-[38px] flex-none items-center justify-center rounded-[12px] bg-accent/20", children: /* @__PURE__ */ e(u, { icon: m, className: "size-[19px] text-accent", strokeWidth: 3 }) }),
1679
+ /* @__PURE__ */ e("div", { className: "flex size-[38px] flex-none items-center justify-center rounded-[12px] bg-accent/20", children: /* @__PURE__ */ e(x, { icon: m, className: "size-[19px] text-accent", strokeWidth: 3 }) }),
1513
1680
  /* @__PURE__ */ l("div", { className: "flex-1", children: [
1514
- /* @__PURE__ */ e(C.Title, { className: "text-sm font-semibold", children: d.title }),
1515
- d.description ? /* @__PURE__ */ e(C.Description, { className: "text-xs text-subtle-foreground", children: d.description }) : null
1681
+ /* @__PURE__ */ e(T.Title, { className: "text-sm font-semibold", children: d.title }),
1682
+ d.description ? /* @__PURE__ */ e(T.Description, { className: "text-xs text-subtle-foreground", children: d.description }) : null
1516
1683
  ] }),
1517
1684
  /* @__PURE__ */ e(
1518
- C.Close,
1685
+ T.Close,
1519
1686
  {
1520
1687
  "aria-label": "Fechar",
1521
1688
  className: "flex-none cursor-pointer text-muted-foreground transition-colors hover:text-primary-foreground",
1522
- children: /* @__PURE__ */ e(u, { icon: j, className: "size-[17px]" })
1689
+ children: /* @__PURE__ */ e(x, { icon: W, className: "size-[17px]" })
1523
1690
  }
1524
1691
  )
1525
1692
  ]
@@ -1528,7 +1695,7 @@ function ur({ children: n, duration: r = 3600 }) {
1528
1695
  );
1529
1696
  }),
1530
1697
  /* @__PURE__ */ e(
1531
- C.Viewport,
1698
+ T.Viewport,
1532
1699
  {
1533
1700
  className: i(
1534
1701
  "fixed right-6 bottom-6 z-95 flex w-[340px] max-w-[calc(100vw-2rem)] flex-col gap-3 outline-none"
@@ -1537,56 +1704,56 @@ function ur({ children: n, duration: r = 3600 }) {
1537
1704
  )
1538
1705
  ] }) });
1539
1706
  }
1540
- const xr = v.Provider, gr = v.Root, fr = v.Trigger, Y = p(({ className: n, sideOffset: r = 8, children: t, ...a }, o) => /* @__PURE__ */ e(v.Portal, { children: /* @__PURE__ */ l(
1541
- v.Content,
1707
+ const Pr = y.Provider, Ar = y.Root, jr = y.Trigger, me = u(({ className: r, sideOffset: t = 8, children: n, ...o }, a) => /* @__PURE__ */ e(y.Portal, { children: /* @__PURE__ */ l(
1708
+ y.Content,
1542
1709
  {
1543
- ref: o,
1544
- sideOffset: r,
1710
+ ref: a,
1711
+ sideOffset: t,
1545
1712
  className: i(
1546
- "z-95 rounded-[10px] bg-primary px-3 py-2 text-xs font-medium text-primary-foreground shadow-[0_6px_18px_rgba(15,23,42,0.25)] data-[state=delayed-open]:animate-fade-in",
1547
- n
1713
+ "z-95 rounded-[10px] bg-primary px-3 py-2 text-xs font-medium text-primary-foreground data-[state=delayed-open]:animate-fade-in",
1714
+ r
1548
1715
  ),
1549
- ...a,
1716
+ ...o,
1550
1717
  children: [
1551
- t,
1552
- /* @__PURE__ */ e(v.Arrow, { className: "fill-primary", width: 10, height: 5 })
1718
+ n,
1719
+ /* @__PURE__ */ e(y.Arrow, { className: "fill-primary", width: 10, height: 5 })
1553
1720
  ]
1554
1721
  }
1555
1722
  ) }));
1556
- Y.displayName = "TooltipContent";
1557
- function br({ content: n, children: r, side: t = "top", delayDuration: a = 150 }) {
1558
- return /* @__PURE__ */ e(v.Provider, { delayDuration: a, children: /* @__PURE__ */ l(v.Root, { children: [
1559
- /* @__PURE__ */ e(v.Trigger, { asChild: !0, children: r }),
1560
- /* @__PURE__ */ e(Y, { side: t, children: n })
1723
+ me.displayName = "TooltipContent";
1724
+ function $r({ content: r, children: t, side: n = "top", delayDuration: o = 150 }) {
1725
+ return /* @__PURE__ */ e(y.Provider, { delayDuration: o, children: /* @__PURE__ */ l(y.Root, { children: [
1726
+ /* @__PURE__ */ e(y.Trigger, { asChild: !0, children: t }),
1727
+ /* @__PURE__ */ e(me, { side: n, children: r })
1561
1728
  ] }) });
1562
1729
  }
1563
- const $t = p(
1564
- ({ className: n, brand: r, actions: t, title: a, subtitle: o, children: s, ...c }, d) => /* @__PURE__ */ l(
1730
+ const nr = u(
1731
+ ({ className: r, brand: t, actions: n, title: o, subtitle: a, children: s, ...c }, d) => /* @__PURE__ */ l(
1565
1732
  "div",
1566
1733
  {
1567
1734
  ref: d,
1568
- className: i("overflow-hidden rounded-card bg-card shadow-card", n),
1735
+ className: i("overflow-hidden rounded-card border border-border bg-card", r),
1569
1736
  ...c,
1570
1737
  children: [
1571
1738
  /* @__PURE__ */ l("div", { className: "flex items-center justify-between border-b border-border-soft px-6 py-[18px]", children: [
1572
- /* @__PURE__ */ e("div", { className: "text-[15px] font-bold tracking-wide", children: r }),
1573
- t ? /* @__PURE__ */ e("div", { className: "flex items-center gap-[18px] text-muted-foreground", children: t }) : null
1739
+ /* @__PURE__ */ e("div", { className: "text-[15px] font-bold tracking-wide", children: t }),
1740
+ n ? /* @__PURE__ */ e("div", { className: "flex items-center gap-[18px] text-muted-foreground", children: n }) : null
1574
1741
  ] }),
1575
- a || o || s ? /* @__PURE__ */ l("div", { className: "p-6", children: [
1576
- a ? /* @__PURE__ */ e("h3", { className: "mb-1 text-[28px] font-bold tracking-tight", children: a }) : null,
1577
- o ? /* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground", children: o }) : null,
1742
+ o || a || s ? /* @__PURE__ */ l("div", { className: "p-6", children: [
1743
+ o ? /* @__PURE__ */ e("h3", { className: "mb-1 text-[28px] font-bold tracking-tight", children: o }) : null,
1744
+ a ? /* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground", children: a }) : null,
1578
1745
  s
1579
1746
  ] }) : null
1580
1747
  ]
1581
1748
  }
1582
1749
  )
1583
1750
  );
1584
- $t.displayName = "Topbar";
1585
- const Lt = p(
1586
- ({ className: n, label: r, delta: t, direction: a, positiveIsUp: o = !0, ...s }, c) => {
1587
- const d = a === "up" ? o : !o, m = a === "up" ? me : ue;
1588
- return /* @__PURE__ */ l("div", { ref: c, className: i("flex items-center justify-between", n), ...s, children: [
1589
- /* @__PURE__ */ e("span", { className: "text-sm font-semibold", children: r }),
1751
+ nr.displayName = "Topbar";
1752
+ const or = u(
1753
+ ({ className: r, label: t, delta: n, direction: o, positiveIsUp: a = !0, ...s }, c) => {
1754
+ const d = o === "up" ? a : !a, m = o === "up" ? Ie : Fe;
1755
+ return /* @__PURE__ */ l("div", { ref: c, className: i("flex items-center justify-between", r), ...s, children: [
1756
+ /* @__PURE__ */ e("span", { className: "text-sm font-semibold", children: t }),
1590
1757
  /* @__PURE__ */ l(
1591
1758
  "span",
1592
1759
  {
@@ -1595,109 +1762,110 @@ const Lt = p(
1595
1762
  d ? "text-success" : "text-error"
1596
1763
  ),
1597
1764
  children: [
1598
- /* @__PURE__ */ e(u, { icon: m, className: "size-4" }),
1599
- t
1765
+ /* @__PURE__ */ e(x, { icon: m, className: "size-4" }),
1766
+ n
1600
1767
  ]
1601
1768
  }
1602
1769
  )
1603
1770
  ] });
1604
1771
  }
1605
1772
  );
1606
- Lt.displayName = "TrendItem";
1607
- const Mt = p(
1608
- ({ className: n, ...r }, t) => /* @__PURE__ */ e("div", { ref: t, className: i("flex flex-col gap-4", n), ...r })
1773
+ or.displayName = "TrendItem";
1774
+ const ar = u(
1775
+ ({ className: r, ...t }, n) => /* @__PURE__ */ e("div", { ref: n, className: i("flex flex-col gap-4", r), ...t })
1609
1776
  );
1610
- Mt.displayName = "TrendList";
1777
+ ar.displayName = "TrendList";
1611
1778
  export {
1612
- Jt as Accordion,
1613
- Fe as AccordionContent,
1614
- Te as AccordionItem,
1615
- Ie as AccordionTrigger,
1616
- Zt as AreaChart,
1617
- Be as Badge,
1618
- je as Banner,
1619
- er as BarChart,
1620
- Ee as Button,
1621
- Ve as Card,
1622
- We as CardContent,
1623
- Me as CardDescription,
1624
- $e as CardHeader,
1625
- Le as CardTitle,
1626
- Oe as ChartEmptyState,
1627
- Ke as ChartLegend,
1628
- R as ChartTooltip,
1629
- qe as Checkbox,
1630
- rr as DataTable,
1631
- Ue as DateNavigator,
1632
- nr as Dialog,
1633
- or as DialogClose,
1634
- Je as DialogContent,
1635
- Ze as DialogDescription,
1636
- et as DialogFooter,
1637
- Qe as DialogHeader,
1638
- q as DialogOverlay,
1639
- Xe as DialogPortal,
1640
- Ye as DialogTitle,
1641
- ar as DialogTrigger,
1642
- tr as DonutChart,
1643
- nt as EmptyState,
1644
- U as FilterChip,
1645
- at as FilterChips,
1646
- ct as HydrationListItem,
1647
- ot as HydrationTracker,
1648
- T as IconTile,
1649
- X as Input,
1650
- D as ListItem,
1651
- mt as MacroBreakdown,
1652
- it as MealListItem,
1653
- nr as Modal,
1654
- Ct as NavItem,
1655
- ut as ProfileCard,
1656
- gt as ProgressBar,
1657
- ft as ProgressRing,
1658
- bt as RadioGroup,
1659
- ht as RadioGroupItem,
1660
- st as SearchInput,
1661
- sr as SegmentedControl,
1662
- ir as Select,
1663
- yt as SelectContent,
1664
- lr as SelectGroup,
1665
- wt as SelectItem,
1666
- Nt as SelectTrigger,
1667
- cr as SelectValue,
1668
- J as SelectableCard,
1669
- dr as SelectableCardGroup,
1670
- kt as Sidebar,
1671
- Tt as SidebarBrand,
1672
- It as SidebarSection,
1673
- Ft as Skeleton,
1674
- zt as Slider,
1675
- Dt as Spinner,
1676
- Pt as StatCard,
1677
- jt as Switch,
1678
- pr as Tabs,
1679
- Rt as TabsContent,
1680
- _t as TabsList,
1681
- Et as TabsTrigger,
1682
- Vt as Textarea,
1683
- ur as ToastProvider,
1684
- br as Tooltip,
1685
- Y as TooltipContent,
1686
- xr as TooltipProvider,
1687
- gr as TooltipRoot,
1688
- fr as TooltipTrigger,
1689
- $t as Topbar,
1690
- Lt as TrendItem,
1691
- Mt as TrendList,
1692
- lt as WorkoutListItem,
1693
- ze as badgeVariants,
1694
- _e as buttonVariants,
1695
- Re as cardVariants,
1696
- B as chartColors,
1779
+ xr as Accordion,
1780
+ Le as AccordionContent,
1781
+ Ve as AccordionItem,
1782
+ We as AccordionTrigger,
1783
+ br as AreaChart,
1784
+ He as Badge,
1785
+ Je as Banner,
1786
+ hr as BarChart,
1787
+ qe as Button,
1788
+ Xe as Card,
1789
+ rt as CardContent,
1790
+ tt as CardDescription,
1791
+ Ze as CardHeader,
1792
+ et as CardTitle,
1793
+ at as ChartEmptyState,
1794
+ st as ChartLegend,
1795
+ H as ChartTooltip,
1796
+ it as Checkbox,
1797
+ Nr as DataTable,
1798
+ lt as DateNavigator,
1799
+ mt as DatePicker,
1800
+ yr as Dialog,
1801
+ Cr as DialogClose,
1802
+ xt as DialogContent,
1803
+ bt as DialogDescription,
1804
+ ht as DialogFooter,
1805
+ ft as DialogHeader,
1806
+ ie as DialogOverlay,
1807
+ pt as DialogPortal,
1808
+ gt as DialogTitle,
1809
+ wr as DialogTrigger,
1810
+ vr as DonutChart,
1811
+ yt as EmptyState,
1812
+ le as FilterChip,
1813
+ wt as FilterChips,
1814
+ It as HydrationListItem,
1815
+ Ct as HydrationTracker,
1816
+ z as IconTile,
1817
+ ce as Input,
1818
+ M as ListItem,
1819
+ St as MacroBreakdown,
1820
+ Tt as MealListItem,
1821
+ yr as Modal,
1822
+ Lt as NavItem,
1823
+ Bt as ProfileCard,
1824
+ At as ProgressBar,
1825
+ jt as ProgressRing,
1826
+ $t as RadioGroup,
1827
+ Mt as RadioGroupItem,
1828
+ kt as SearchInput,
1829
+ kr as SegmentedControl,
1830
+ Tr as Select,
1831
+ Vt as SelectContent,
1832
+ Dr as SelectGroup,
1833
+ Wt as SelectItem,
1834
+ Rt as SelectTrigger,
1835
+ Ir as SelectValue,
1836
+ de as SelectableCard,
1837
+ Fr as SelectableCardGroup,
1838
+ Ot as Sidebar,
1839
+ Ht as SidebarBrand,
1840
+ Gt as SidebarSection,
1841
+ Yt as Skeleton,
1842
+ Kt as Slider,
1843
+ Jt as Spinner,
1844
+ Ut as StatCard,
1845
+ Xt as Switch,
1846
+ zr as Tabs,
1847
+ tr as TabsContent,
1848
+ Zt as TabsList,
1849
+ er as TabsTrigger,
1850
+ rr as Textarea,
1851
+ Br as ToastProvider,
1852
+ $r as Tooltip,
1853
+ me as TooltipContent,
1854
+ Pr as TooltipProvider,
1855
+ Ar as TooltipRoot,
1856
+ jr as TooltipTrigger,
1857
+ nr as Topbar,
1858
+ or as TrendItem,
1859
+ ar as TrendList,
1860
+ Dt as WorkoutListItem,
1861
+ Oe as badgeVariants,
1862
+ Qe as buttonVariants,
1863
+ Ue as cardVariants,
1864
+ $ as chartColors,
1697
1865
  i as cn,
1698
- w as colors,
1699
- Yt as fontFamily,
1700
- tt as iconTileVariants,
1701
- Qt as radius,
1702
- mr as useToast
1866
+ k as colors,
1867
+ gr as fontFamily,
1868
+ vt as iconTileVariants,
1869
+ fr as radius,
1870
+ Sr as useToast
1703
1871
  };