@grupo-elo-editorial/shared-ui-react 1.3.1 → 1.3.3

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,25 +1,25 @@
1
1
  "use client";
2
- import { clsx as Z } from "clsx";
3
- import { twMerge as J } from "tailwind-merge";
4
- import { jsx as e, jsxs as i, Fragment as P } from "react/jsx-runtime";
5
- import { forwardRef as x, useState as k, useEffect as M } from "react";
6
- import { Loader2 as V, User as ee, Star as te, CheckIcon as U, ChevronDownIcon as R, ChevronUpIcon as ae, CircleIcon as re, ShoppingCart as _, Heart as oe, Search as Q, X as ie, Minus as ne, Plus as se, ChevronRight as W, FileX as le, Package as de, AlertCircle as ce, RefreshCw as ue, Home as me, XIcon as K, Accessibility as fe, ZoomOut as ge, ZoomIn as pe, Moon as ve, Sun as be, ChevronLeft as he, Menu as xe, ChevronDown as O, Instagram as Ne, Facebook as we, Youtube as ye, Linkedin as ke, Mail as ze } from "lucide-react";
7
- import { cva as L } from "class-variance-authority";
2
+ import { clsx as J } from "clsx";
3
+ import { twMerge as ee } from "tailwind-merge";
4
+ import { jsx as e, jsxs as i, Fragment as _ } from "react/jsx-runtime";
5
+ import { forwardRef as N, useState as k, useEffect as D } from "react";
6
+ import { Loader2 as V, User as te, Star as ae, CheckIcon as Q, ChevronDownIcon as L, ChevronUpIcon as re, CircleIcon as oe, ShoppingCart as R, Heart as ie, Search as W, X as ne, Minus as se, Plus as le, ChevronRight as K, FileX as de, Package as ce, AlertCircle as ue, RefreshCw as me, Home as fe, XIcon as O, Accessibility as ge, ZoomOut as pe, ZoomIn as ve, Moon as be, Sun as he, ChevronLeft as xe, Menu as Ne, ChevronDown as X, Instagram as we, Facebook as ye, Youtube as ke, Linkedin as ze, Mail as Ce } from "lucide-react";
7
+ import { cva as P } from "class-variance-authority";
8
8
  import * as z from "@radix-ui/react-select";
9
9
  import * as F from "@radix-ui/react-checkbox";
10
- import * as E from "@radix-ui/react-radio-group";
10
+ import * as B from "@radix-ui/react-radio-group";
11
11
  import * as q from "@radix-ui/react-switch";
12
- import { Slot as Ce } from "@radix-ui/react-slot";
13
- import * as D from "@radix-ui/react-accordion";
12
+ import { Slot as Se } from "@radix-ui/react-slot";
13
+ import * as M from "@radix-ui/react-accordion";
14
14
  import * as I from "@radix-ui/react-tooltip";
15
15
  import { toast as na } from "sonner";
16
16
  import { Progress as la } from "@radix-ui/react-progress";
17
17
  import * as w from "@radix-ui/react-dialog";
18
18
  import * as S from "@radix-ui/react-navigation-menu";
19
19
  function o(...a) {
20
- return J(Z(a));
20
+ return ee(J(a));
21
21
  }
22
- const Se = L(
22
+ const Ie = P(
23
23
  "inline-flex items-center justify-center gap-2 rounded-lg font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 whitespace-nowrap",
24
24
  {
25
25
  variants: {
@@ -45,39 +45,39 @@ const Se = L(
45
45
  size: "md"
46
46
  }
47
47
  }
48
- ), C = x(
48
+ ), C = N(
49
49
  ({
50
50
  className: a,
51
51
  variant: t,
52
52
  size: r,
53
53
  fullWidth: n,
54
- isLoading: l,
54
+ isLoading: s,
55
55
  leftIcon: c,
56
- rightIcon: s,
56
+ rightIcon: l,
57
57
  children: u,
58
- disabled: m,
58
+ disabled: f,
59
59
  ...g
60
- }, f) => /* @__PURE__ */ e(
60
+ }, b) => /* @__PURE__ */ e(
61
61
  "button",
62
62
  {
63
- className: o(Se({ variant: t, size: r, fullWidth: n, className: a })),
64
- ref: f,
65
- disabled: m || l,
63
+ className: o(Ie({ variant: t, size: r, fullWidth: n, className: a })),
64
+ ref: b,
65
+ disabled: f || s,
66
66
  ...g,
67
- children: l ? /* @__PURE__ */ i(P, { children: [
67
+ children: s ? /* @__PURE__ */ i(_, { children: [
68
68
  /* @__PURE__ */ e(V, { className: "h-4 w-4 animate-spin" }),
69
69
  u && /* @__PURE__ */ e("span", { children: u })
70
- ] }) : /* @__PURE__ */ i(P, { children: [
70
+ ] }) : /* @__PURE__ */ i(_, { children: [
71
71
  c && /* @__PURE__ */ e("span", { className: "inline-flex", children: c }),
72
72
  u,
73
- s && /* @__PURE__ */ e("span", { className: "inline-flex", children: s })
73
+ l && /* @__PURE__ */ e("span", { className: "inline-flex", children: l })
74
74
  ] })
75
75
  }
76
76
  )
77
77
  );
78
78
  C.displayName = "Button";
79
- const Ie = x(
80
- ({ className: a, error: t, helperText: r, ...n }, l) => /* @__PURE__ */ i("div", { className: "w-full", children: [
79
+ const je = N(
80
+ ({ className: a, error: t, helperText: r, ...n }, s) => /* @__PURE__ */ i("div", { className: "w-full", children: [
81
81
  /* @__PURE__ */ e(
82
82
  "textarea",
83
83
  {
@@ -90,7 +90,7 @@ const Ie = x(
90
90
  t && "border-[var(--destructive)] focus-visible:ring-[var(--destructive)]",
91
91
  a
92
92
  ),
93
- ref: l,
93
+ ref: s,
94
94
  ...n
95
95
  }
96
96
  ),
@@ -106,8 +106,8 @@ const Ie = x(
106
106
  )
107
107
  ] })
108
108
  );
109
- Ie.displayName = "Textarea";
110
- const je = L(
109
+ je.displayName = "Textarea";
110
+ const De = P(
111
111
  "inline-flex items-center rounded-full font-medium transition-colors whitespace-nowrap",
112
112
  {
113
113
  variants: {
@@ -131,20 +131,20 @@ const je = L(
131
131
  size: "md"
132
132
  }
133
133
  }
134
- ), A = x(
135
- ({ className: a, variant: t, size: r, icon: n, onRemove: l, children: c, ...s }, u) => /* @__PURE__ */ i(
134
+ ), A = N(
135
+ ({ className: a, variant: t, size: r, icon: n, onRemove: s, children: c, ...l }, u) => /* @__PURE__ */ i(
136
136
  "div",
137
137
  {
138
138
  ref: u,
139
- className: o(je({ variant: t, size: r }), a),
140
- ...s,
139
+ className: o(De({ variant: t, size: r }), a),
140
+ ...l,
141
141
  children: [
142
142
  n && /* @__PURE__ */ e("span", { className: "mr-1 inline-flex", children: n }),
143
143
  c,
144
- l && /* @__PURE__ */ e(
144
+ s && /* @__PURE__ */ e(
145
145
  "button",
146
146
  {
147
- onClick: l,
147
+ onClick: s,
148
148
  className: "ml-1 inline-flex hover:opacity-70 focus:outline-none focus:ring-1 focus:ring-[var(--ring)] rounded-full",
149
149
  "aria-label": "Remove",
150
150
  children: "×"
@@ -155,7 +155,7 @@ const je = L(
155
155
  )
156
156
  );
157
157
  A.displayName = "Badge";
158
- const Me = L(
158
+ const Me = P(
159
159
  "relative inline-flex items-center justify-center overflow-hidden rounded-full bg-[var(--muted)] text-[var(--muted-foreground)] flex-shrink-0",
160
160
  {
161
161
  variants: {
@@ -170,46 +170,46 @@ const Me = L(
170
170
  size: "md"
171
171
  }
172
172
  }
173
- ), De = x(
174
- ({ className: a, size: t, src: r, alt: n, name: l, showStatus: c, statusType: s = "online", ...u }, m) => {
175
- const [g, f] = k(!1), p = (h) => h.split(" ").map((d) => d[0]).join("").toUpperCase().slice(0, 2), b = {
173
+ ), Pe = N(
174
+ ({ className: a, size: t, src: r, alt: n, name: s, showStatus: c, statusType: l = "online", ...u }, f) => {
175
+ const [g, b] = k(!1), m = (x) => x.split(" ").map((d) => d[0]).join("").toUpperCase().slice(0, 2), p = {
176
176
  online: "bg-[var(--success)]",
177
177
  offline: "bg-[var(--muted-foreground)]",
178
178
  away: "bg-[var(--warning)]",
179
179
  busy: "bg-[var(--destructive)]"
180
- }, N = {
180
+ }, h = {
181
181
  sm: "h-2 w-2 border",
182
182
  md: "h-2.5 w-2.5 border-2",
183
183
  lg: "h-3 w-3 border-2",
184
184
  xl: "h-4 w-4 border-2"
185
185
  };
186
- return /* @__PURE__ */ i("div", { ref: m, className: o(Me({ size: t }), "relative", a), children: [
186
+ return /* @__PURE__ */ i("div", { ref: f, className: o(Me({ size: t }), "relative", a), children: [
187
187
  r && !g ? /* @__PURE__ */ e(
188
188
  "img",
189
189
  {
190
190
  src: r,
191
- alt: n || l || "Avatar",
192
- onError: () => f(!0),
191
+ alt: n || s || "Avatar",
192
+ onError: () => b(!0),
193
193
  className: "h-full w-full object-cover",
194
194
  ...u
195
195
  }
196
- ) : l ? /* @__PURE__ */ e("span", { className: "font-medium", children: p(l) }) : /* @__PURE__ */ e(ee, { className: "h-1/2 w-1/2" }),
196
+ ) : s ? /* @__PURE__ */ e("span", { className: "font-medium", children: m(s) }) : /* @__PURE__ */ e(te, { className: "h-1/2 w-1/2" }),
197
197
  c && /* @__PURE__ */ e(
198
198
  "span",
199
199
  {
200
200
  className: o(
201
201
  "absolute bottom-0 right-0 rounded-full border-[var(--background)]",
202
- b[s],
203
- N[t || "md"]
202
+ p[l],
203
+ h[t || "md"]
204
204
  ),
205
- "aria-label": `Status: ${s}`
205
+ "aria-label": `Status: ${l}`
206
206
  }
207
207
  )
208
208
  ] });
209
209
  }
210
210
  );
211
- De.displayName = "Avatar";
212
- const Le = L("animate-spin text-[var(--brand-primary)]", {
211
+ Pe.displayName = "Avatar";
212
+ const _e = P("animate-spin text-[var(--brand-primary)]", {
213
213
  variants: {
214
214
  size: {
215
215
  sm: "h-4 w-4",
@@ -221,26 +221,26 @@ const Le = L("animate-spin text-[var(--brand-primary)]", {
221
221
  defaultVariants: {
222
222
  size: "md"
223
223
  }
224
- }), Pe = x(
225
- ({ className: a, size: t, label: r, ...n }, l) => /* @__PURE__ */ i(
224
+ }), Ae = N(
225
+ ({ className: a, size: t, label: r, ...n }, s) => /* @__PURE__ */ i(
226
226
  "div",
227
227
  {
228
- ref: l,
228
+ ref: s,
229
229
  role: "status",
230
230
  "aria-label": r || "Loading",
231
231
  className: o("inline-flex items-center justify-center", a),
232
232
  ...n,
233
233
  children: [
234
- /* @__PURE__ */ e(V, { className: o(Le({ size: t })) }),
234
+ /* @__PURE__ */ e(V, { className: o(_e({ size: t })) }),
235
235
  /* @__PURE__ */ e("span", { className: "sr-only", children: r || "Loading" })
236
236
  ]
237
237
  }
238
238
  )
239
239
  );
240
- Pe.displayName = "Spinner";
241
- const Ae = x(
242
- ({ className: a, orientation: t = "horizontal", variant: r = "solid", text: n, ...l }, c) => {
243
- const s = {
240
+ Ae.displayName = "Spinner";
241
+ const Le = N(
242
+ ({ className: a, orientation: t = "horizontal", variant: r = "solid", text: n, ...s }, c) => {
243
+ const l = {
244
244
  solid: "border-solid",
245
245
  dashed: "border-dashed",
246
246
  dotted: "border-dotted"
@@ -252,9 +252,9 @@ const Ae = x(
252
252
  ref: c,
253
253
  className: o(
254
254
  "flex-1 border-[var(--border)]",
255
- s[r]
255
+ l[r]
256
256
  ),
257
- ...l
257
+ ...s
258
258
  }
259
259
  ),
260
260
  /* @__PURE__ */ e("span", { className: "text-sm text-[var(--muted-foreground)]", children: n }),
@@ -263,7 +263,7 @@ const Ae = x(
263
263
  {
264
264
  className: o(
265
265
  "flex-1 border-[var(--border)]",
266
- s[r]
266
+ l[r]
267
267
  )
268
268
  }
269
269
  )
@@ -275,79 +275,79 @@ const Ae = x(
275
275
  "aria-orientation": t,
276
276
  className: o(
277
277
  "border-[var(--border)]",
278
- s[r],
278
+ l[r],
279
279
  t === "vertical" ? "h-full w-px border-l" : "w-full border-t my-4",
280
280
  a
281
281
  ),
282
- ...l
282
+ ...s
283
283
  }
284
284
  );
285
285
  }
286
286
  );
287
- Ae.displayName = "Divider";
288
- const T = x(
287
+ Le.displayName = "Divider";
288
+ const E = N(
289
289
  ({
290
290
  className: a,
291
291
  value: t = 0,
292
292
  maxRating: r = 5,
293
293
  size: n = "md",
294
- readonly: l = !1,
294
+ readonly: s = !1,
295
295
  onChange: c,
296
- showValue: s = !1,
296
+ showValue: l = !1,
297
297
  ...u
298
- }, m) => {
299
- const [g, f] = k(0), p = {
298
+ }, f) => {
299
+ const [g, b] = k(0), m = {
300
300
  sm: "h-4 w-4",
301
301
  md: "h-5 w-5",
302
302
  lg: "h-6 w-6"
303
- }, b = (h) => {
304
- !l && c && c(h);
305
- }, N = g || t;
303
+ }, p = (x) => {
304
+ !s && c && c(x);
305
+ }, h = g || t;
306
306
  return /* @__PURE__ */ i(
307
307
  "div",
308
308
  {
309
- ref: m,
309
+ ref: f,
310
310
  className: o("inline-flex items-center gap-1", a),
311
311
  role: "group",
312
312
  "aria-label": `Rating: ${t} out of ${r}`,
313
313
  ...u,
314
314
  children: [
315
- /* @__PURE__ */ e("div", { className: "flex items-center gap-0.5", children: Array.from({ length: r }, (h, d) => d + 1).map((h) => {
316
- const d = h <= N;
315
+ /* @__PURE__ */ e("div", { className: "flex items-center gap-0.5", children: Array.from({ length: r }, (x, d) => d + 1).map((x) => {
316
+ const d = x <= h;
317
317
  return /* @__PURE__ */ e(
318
318
  "button",
319
319
  {
320
320
  type: "button",
321
- disabled: l,
322
- onClick: () => b(h),
323
- onMouseEnter: () => !l && f(h),
324
- onMouseLeave: () => !l && f(0),
321
+ disabled: s,
322
+ onClick: () => p(x),
323
+ onMouseEnter: () => !s && b(x),
324
+ onMouseLeave: () => !s && b(0),
325
325
  className: o(
326
326
  "transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-1 rounded",
327
- l ? "cursor-default" : "cursor-pointer hover:scale-110"
327
+ s ? "cursor-default" : "cursor-pointer hover:scale-110"
328
328
  ),
329
- "aria-label": `Rate ${h} out of ${r}`,
329
+ "aria-label": `Rate ${x} out of ${r}`,
330
330
  children: /* @__PURE__ */ e(
331
- te,
331
+ ae,
332
332
  {
333
333
  className: o(
334
- p[n],
334
+ m[n],
335
335
  "transition-all",
336
336
  d ? "fill-[var(--warning)] text-[var(--warning)]" : "fill-none text-[var(--muted-foreground)]"
337
337
  )
338
338
  }
339
339
  )
340
340
  },
341
- h
341
+ x
342
342
  );
343
343
  }) }),
344
- s && /* @__PURE__ */ e("span", { className: "ml-1 text-sm font-medium text-[var(--foreground)]", children: t.toFixed(1) })
344
+ l && /* @__PURE__ */ e("span", { className: "ml-1 text-sm font-medium text-[var(--foreground)]", children: t.toFixed(1) })
345
345
  ]
346
346
  }
347
347
  );
348
348
  }
349
349
  );
350
- T.displayName = "Rating";
350
+ E.displayName = "Rating";
351
351
  function zt({ className: a, type: t, ...r }) {
352
352
  return /* @__PURE__ */ e(
353
353
  "input",
@@ -392,7 +392,7 @@ function It({
392
392
  ...n,
393
393
  children: [
394
394
  r,
395
- /* @__PURE__ */ e(z.Icon, { asChild: !0, children: /* @__PURE__ */ e(R, { className: "size-4 opacity-50" }) })
395
+ /* @__PURE__ */ e(z.Icon, { asChild: !0, children: /* @__PURE__ */ e(L, { className: "size-4 opacity-50" }) })
396
396
  ]
397
397
  }
398
398
  );
@@ -426,12 +426,12 @@ function jt({
426
426
  children: t
427
427
  }
428
428
  ),
429
- /* @__PURE__ */ e(_e, {})
429
+ /* @__PURE__ */ e(Be, {})
430
430
  ]
431
431
  }
432
432
  ) });
433
433
  }
434
- function Mt({
434
+ function Dt({
435
435
  className: a,
436
436
  children: t,
437
437
  ...r
@@ -446,7 +446,7 @@ function Mt({
446
446
  ),
447
447
  ...r,
448
448
  children: [
449
- /* @__PURE__ */ e("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(z.ItemIndicator, { children: /* @__PURE__ */ e(U, { className: "size-4" }) }) }),
449
+ /* @__PURE__ */ e("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e(z.ItemIndicator, { children: /* @__PURE__ */ e(Q, { className: "size-4" }) }) }),
450
450
  /* @__PURE__ */ e(z.ItemText, { children: t })
451
451
  ]
452
452
  }
@@ -465,11 +465,11 @@ function Re({
465
465
  a
466
466
  ),
467
467
  ...t,
468
- children: /* @__PURE__ */ e(ae, { className: "size-4" })
468
+ children: /* @__PURE__ */ e(re, { className: "size-4" })
469
469
  }
470
470
  );
471
471
  }
472
- function _e({
472
+ function Be({
473
473
  className: a,
474
474
  ...t
475
475
  }) {
@@ -482,11 +482,11 @@ function _e({
482
482
  a
483
483
  ),
484
484
  ...t,
485
- children: /* @__PURE__ */ e(R, { className: "size-4" })
485
+ children: /* @__PURE__ */ e(L, { className: "size-4" })
486
486
  }
487
487
  );
488
488
  }
489
- function Dt({
489
+ function Mt({
490
490
  className: a,
491
491
  ...t
492
492
  }) {
@@ -504,18 +504,18 @@ function Dt({
504
504
  {
505
505
  "data-slot": "checkbox-indicator",
506
506
  className: "flex items-center justify-center text-current transition-none",
507
- children: /* @__PURE__ */ e(U, { className: "size-3.5" })
507
+ children: /* @__PURE__ */ e(Q, { className: "size-3.5" })
508
508
  }
509
509
  )
510
510
  }
511
511
  );
512
512
  }
513
- function Lt({
513
+ function Pt({
514
514
  className: a,
515
515
  ...t
516
516
  }) {
517
517
  return /* @__PURE__ */ e(
518
- E.Root,
518
+ B.Root,
519
519
  {
520
520
  "data-slot": "radio-group",
521
521
  className: o("grid gap-3", a),
@@ -523,12 +523,12 @@ function Lt({
523
523
  }
524
524
  );
525
525
  }
526
- function Pt({
526
+ function _t({
527
527
  className: a,
528
528
  ...t
529
529
  }) {
530
530
  return /* @__PURE__ */ e(
531
- E.Item,
531
+ B.Item,
532
532
  {
533
533
  "data-slot": "radio-group-item",
534
534
  className: o(
@@ -537,11 +537,11 @@ function Pt({
537
537
  ),
538
538
  ...t,
539
539
  children: /* @__PURE__ */ e(
540
- E.Indicator,
540
+ B.Indicator,
541
541
  {
542
542
  "data-slot": "radio-group-indicator",
543
543
  className: "relative flex items-center justify-center",
544
- children: /* @__PURE__ */ e(re, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
544
+ children: /* @__PURE__ */ e(oe, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
545
545
  }
546
546
  )
547
547
  }
@@ -572,34 +572,34 @@ function At({
572
572
  }
573
573
  );
574
574
  }
575
- function H({
575
+ function G({
576
576
  href: a,
577
577
  className: t,
578
578
  children: r
579
579
  }) {
580
580
  return a ? /* @__PURE__ */ e("a", { href: a, className: t, tabIndex: -1, "aria-hidden": "true", children: r }) : /* @__PURE__ */ e("div", { className: t, children: r });
581
581
  }
582
- const $ = x(
582
+ const T = N(
583
583
  ({
584
584
  className: a,
585
585
  image: t,
586
586
  title: r,
587
587
  author: n,
588
- price: l,
588
+ price: s,
589
589
  originalPrice: c,
590
- rating: s,
590
+ rating: l,
591
591
  reviewCount: u,
592
- badge: m,
592
+ badge: f,
593
593
  badgeVariant: g = "default",
594
- isSkeleton: f = !1,
595
- isOutOfStock: p = !1,
596
- onAddToCart: b,
597
- onToggleFavorite: N,
598
- isFavorite: h = !1,
594
+ isSkeleton: b = !1,
595
+ isOutOfStock: m = !1,
596
+ onAddToCart: p,
597
+ onToggleFavorite: h,
598
+ isFavorite: x = !1,
599
599
  href: d,
600
600
  orientation: v = "vertical",
601
601
  ...y
602
- }, j) => f ? /* @__PURE__ */ i(
602
+ }, j) => b ? /* @__PURE__ */ i(
603
603
  "div",
604
604
  {
605
605
  ref: j,
@@ -632,13 +632,13 @@ const $ = x(
632
632
  ref: j,
633
633
  className: o(
634
634
  "group relative flex flex-row gap-3 rounded-lg border-2 border-[var(--border)] bg-[var(--card)] p-3 transition-all hover:shadow-md",
635
- p && "opacity-60",
635
+ m && "opacity-60",
636
636
  a
637
637
  ),
638
638
  ...y,
639
639
  children: [
640
640
  /* @__PURE__ */ e(
641
- H,
641
+ G,
642
642
  {
643
643
  href: d,
644
644
  className: "block h-24 w-20 shrink-0 overflow-hidden rounded-lg",
@@ -662,8 +662,8 @@ const $ = x(
662
662
  }
663
663
  ) : /* @__PURE__ */ e("h3", { className: "line-clamp-2 text-sm font-medium text-[var(--card-foreground)]", children: r }),
664
664
  n && /* @__PURE__ */ e("p", { className: "text-xs text-[var(--muted-foreground)]", children: n }),
665
- s !== void 0 && /* @__PURE__ */ i("div", { className: "flex items-center gap-1", children: [
666
- /* @__PURE__ */ e(T, { value: s, size: "sm", readonly: !0 }),
665
+ l !== void 0 && /* @__PURE__ */ i("div", { className: "flex items-center gap-1", children: [
666
+ /* @__PURE__ */ e(E, { value: l, size: "sm", readonly: !0 }),
667
667
  u !== void 0 && /* @__PURE__ */ i("span", { className: "text-xs text-[var(--muted-foreground)]", children: [
668
668
  "(",
669
669
  u,
@@ -673,24 +673,24 @@ const $ = x(
673
673
  /* @__PURE__ */ i("div", { className: "flex items-baseline gap-2", children: [
674
674
  /* @__PURE__ */ i("span", { className: "text-base font-bold text-[var(--foreground)]", children: [
675
675
  "R$ ",
676
- l.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
676
+ s.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
677
677
  ] }),
678
- c && c > l && /* @__PURE__ */ i("span", { className: "text-xs text-[var(--muted-foreground)] line-through", children: [
678
+ c && c > s && /* @__PURE__ */ i("span", { className: "text-xs text-[var(--muted-foreground)] line-through", children: [
679
679
  "R$ ",
680
680
  c.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
681
681
  ] })
682
682
  ] }),
683
- b && /* @__PURE__ */ e(
683
+ p && /* @__PURE__ */ e(
684
684
  C,
685
685
  {
686
- onClick: b,
687
- disabled: p,
686
+ onClick: p,
687
+ disabled: m,
688
688
  variant: "primary",
689
689
  size: "sm",
690
690
  fullWidth: !0,
691
- leftIcon: /* @__PURE__ */ e(_, { className: "h-3.5 w-3.5" }),
691
+ leftIcon: /* @__PURE__ */ e(R, { className: "h-3.5 w-3.5" }),
692
692
  className: "mt-auto",
693
- children: p ? "Indisponível" : "Adicionar"
693
+ children: m ? "Indisponível" : "Adicionar"
694
694
  }
695
695
  )
696
696
  ] })
@@ -702,13 +702,13 @@ const $ = x(
702
702
  ref: j,
703
703
  className: o(
704
704
  "group relative flex flex-col rounded-lg border-2 border-border bg-card transition-all hover:shadow-lg",
705
- p && "opacity-60",
705
+ m && "opacity-60",
706
706
  a
707
707
  ),
708
708
  ...y,
709
709
  children: [
710
710
  /* @__PURE__ */ i(
711
- H,
711
+ G,
712
712
  {
713
713
  href: d,
714
714
  className: "relative block w-full aspect-square overflow-hidden rounded-t-lg",
@@ -721,23 +721,23 @@ const $ = x(
721
721
  className: "h-full w-full object-contain transition-transform group-hover:scale-105"
722
722
  }
723
723
  ),
724
- m && /* @__PURE__ */ e("div", { className: "absolute left-3 top-3", children: /* @__PURE__ */ e(A, { variant: g, children: m }) }),
725
- p && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60", children: /* @__PURE__ */ e(A, { variant: "danger", size: "lg", children: "Esgotado" }) })
724
+ f && /* @__PURE__ */ e("div", { className: "absolute left-3 top-3", children: /* @__PURE__ */ e(A, { variant: g, children: f }) }),
725
+ m && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60", children: /* @__PURE__ */ e(A, { variant: "danger", size: "lg", children: "Esgotado" }) })
726
726
  ]
727
727
  }
728
728
  ),
729
- N && /* @__PURE__ */ e(
729
+ h && /* @__PURE__ */ e(
730
730
  "button",
731
731
  {
732
- onClick: N,
732
+ onClick: h,
733
733
  className: "absolute right-3 top-3 rounded-full bg-white/90 p-2 transition-all hover:bg-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
734
- "aria-label": h ? "Remover dos favoritos" : "Adicionar aos favoritos",
734
+ "aria-label": x ? "Remover dos favoritos" : "Adicionar aos favoritos",
735
735
  children: /* @__PURE__ */ e(
736
- oe,
736
+ ie,
737
737
  {
738
738
  className: o(
739
739
  "h-5 w-5",
740
- h ? "fill-[var(--destructive)] text-[var(--destructive)]" : "text-[var(--foreground)]"
740
+ x ? "fill-[var(--destructive)] text-[var(--destructive)]" : "text-[var(--foreground)]"
741
741
  )
742
742
  }
743
743
  )
@@ -753,8 +753,8 @@ const $ = x(
753
753
  }
754
754
  ) : /* @__PURE__ */ e("h3", { className: "wrap-break-word text-base font-medium text-card-foreground", children: r }),
755
755
  n && /* @__PURE__ */ e("p", { className: "mt-1 text-sm text-[var(--muted-foreground)]", children: n }),
756
- s !== void 0 && /* @__PURE__ */ i("div", { className: "mt-2 flex items-center gap-2", children: [
757
- /* @__PURE__ */ e(T, { value: s, size: "sm", readonly: !0 }),
756
+ l !== void 0 && /* @__PURE__ */ i("div", { className: "mt-2 flex items-center gap-2", children: [
757
+ /* @__PURE__ */ e(E, { value: l, size: "sm", readonly: !0 }),
758
758
  u !== void 0 && /* @__PURE__ */ i("span", { className: "text-sm text-[var(--muted-foreground)]", children: [
759
759
  "(",
760
760
  u,
@@ -764,29 +764,29 @@ const $ = x(
764
764
  /* @__PURE__ */ i("div", { className: "mt-3 flex items-baseline gap-2", children: [
765
765
  /* @__PURE__ */ i("span", { className: "text-xl font-bold text-[var(--foreground)]", children: [
766
766
  "R$ ",
767
- l.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
767
+ s.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
768
768
  ] }),
769
- c && c > l && /* @__PURE__ */ i("span", { className: "text-sm text-[var(--muted-foreground)] line-through", children: [
769
+ c && c > s && /* @__PURE__ */ i("span", { className: "text-sm text-[var(--muted-foreground)] line-through", children: [
770
770
  "R$ ",
771
771
  c.toLocaleString("pt-BR", { minimumFractionDigits: 2, maximumFractionDigits: 2 })
772
772
  ] })
773
773
  ] }),
774
- b && /* @__PURE__ */ e(
774
+ p && /* @__PURE__ */ e(
775
775
  C,
776
776
  {
777
- onClick: b,
778
- disabled: p,
777
+ onClick: p,
778
+ disabled: m,
779
779
  variant: "primary",
780
780
  size: "md",
781
781
  fullWidth: !0,
782
- leftIcon: /* @__PURE__ */ e(_, { className: "h-4 w-4" }),
782
+ leftIcon: /* @__PURE__ */ e(R, { className: "h-4 w-4" }),
783
783
  className: o(
784
784
  "mt-4 transition-all duration-200",
785
785
  "opacity-0 translate-y-2",
786
786
  "group-hover:opacity-100 group-hover:translate-y-0",
787
787
  "focus-visible:opacity-100 focus-visible:translate-y-0"
788
788
  ),
789
- children: p ? "Indisponível" : "Adicionar"
789
+ children: m ? "Indisponível" : "Adicionar"
790
790
  }
791
791
  )
792
792
  ] })
@@ -794,40 +794,40 @@ const $ = x(
794
794
  }
795
795
  )
796
796
  );
797
- $.displayName = "ProductCard";
798
- const Ee = x(
797
+ T.displayName = "ProductCard";
798
+ const Ee = N(
799
799
  ({
800
800
  className: a,
801
801
  onSearch: t,
802
802
  onClear: r,
803
803
  isLoading: n = !1,
804
- size: l = "md",
804
+ size: s = "md",
805
805
  placeholder: c = "Buscar...",
806
- value: s,
806
+ value: l,
807
807
  onChange: u,
808
- ...m
808
+ ...f
809
809
  }, g) => {
810
- const [f, p] = k(""), b = s !== void 0 ? s : f, N = {
810
+ const [b, m] = k(""), p = l !== void 0 ? l : b, h = {
811
811
  sm: "h-9 text-sm",
812
812
  md: "h-11 text-base",
813
813
  lg: "h-14 text-lg"
814
- }, h = (y) => {
814
+ }, x = (y) => {
815
815
  const j = y.target.value;
816
- s === void 0 && p(j), u == null || u(y);
816
+ l === void 0 && m(j), u == null || u(y);
817
817
  }, d = () => {
818
- s === void 0 && p(""), r == null || r();
818
+ l === void 0 && m(""), r == null || r();
819
819
  }, v = (y) => {
820
- y.key === "Enter" && t && t(b);
820
+ y.key === "Enter" && t && t(p);
821
821
  };
822
822
  return /* @__PURE__ */ e("div", { className: o("relative w-full", a), children: /* @__PURE__ */ i("div", { className: "relative flex items-center", children: [
823
- /* @__PURE__ */ e(Q, { className: "absolute left-3 h-5 w-5 text-[var(--muted-foreground)] pointer-events-none" }),
823
+ /* @__PURE__ */ e(W, { className: "absolute left-3 h-5 w-5 text-[var(--muted-foreground)] pointer-events-none" }),
824
824
  /* @__PURE__ */ e(
825
825
  "input",
826
826
  {
827
827
  ref: g,
828
828
  type: "search",
829
- value: b,
830
- onChange: h,
829
+ value: p,
830
+ onChange: x,
831
831
  onKeyDown: v,
832
832
  placeholder: c,
833
833
  className: o(
@@ -835,21 +835,21 @@ const Ee = x(
835
835
  "placeholder:text-[var(--muted-foreground)]",
836
836
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2",
837
837
  "disabled:cursor-not-allowed disabled:opacity-50",
838
- N[l]
838
+ h[s]
839
839
  ),
840
- ...m
840
+ ...f
841
841
  }
842
842
  ),
843
843
  /* @__PURE__ */ i("div", { className: "absolute right-3 flex items-center gap-1", children: [
844
844
  n && /* @__PURE__ */ e(V, { className: "h-5 w-5 animate-spin text-[var(--muted-foreground)]" }),
845
- b && !n && /* @__PURE__ */ e(
845
+ p && !n && /* @__PURE__ */ e(
846
846
  "button",
847
847
  {
848
848
  type: "button",
849
849
  onClick: d,
850
850
  className: "rounded-full p-1 hover:bg-[var(--muted)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
851
851
  "aria-label": "Clear search",
852
- children: /* @__PURE__ */ e(ie, { className: "h-4 w-4 text-[var(--muted-foreground)]" })
852
+ children: /* @__PURE__ */ e(ne, { className: "h-4 w-4 text-[var(--muted-foreground)]" })
853
853
  }
854
854
  )
855
855
  ] })
@@ -857,32 +857,32 @@ const Ee = x(
857
857
  }
858
858
  );
859
859
  Ee.displayName = "SearchBar";
860
- const Te = x(
860
+ const Te = N(
861
861
  ({
862
862
  className: a,
863
863
  price: t,
864
864
  originalPrice: r,
865
865
  currency: n = "R$",
866
- size: l = "md",
866
+ size: s = "md",
867
867
  showDiscount: c = !0,
868
- installments: s,
868
+ installments: l,
869
869
  ...u
870
- }, m) => {
871
- const g = r && r > t ? Math.round((r - t) / r * 100) : 0, f = {
870
+ }, f) => {
871
+ const g = r && r > t ? Math.round((r - t) / r * 100) : 0, b = {
872
872
  sm: "text-base",
873
873
  md: "text-xl",
874
874
  lg: "text-2xl",
875
875
  xl: "text-4xl"
876
- }, p = {
876
+ }, m = {
877
877
  sm: "text-xs",
878
878
  md: "text-sm",
879
879
  lg: "text-base",
880
880
  xl: "text-xl"
881
881
  };
882
- return /* @__PURE__ */ i("div", { ref: m, className: o("flex flex-col gap-1", a), ...u, children: [
882
+ return /* @__PURE__ */ i("div", { ref: f, className: o("flex flex-col gap-1", a), ...u, children: [
883
883
  /* @__PURE__ */ i("div", { className: "flex items-center gap-2 flex-wrap", children: [
884
884
  /* @__PURE__ */ i("div", { className: "flex items-baseline gap-2", children: [
885
- /* @__PURE__ */ i("span", { className: o("font-bold text-[var(--foreground)]", f[l]), children: [
885
+ /* @__PURE__ */ i("span", { className: o("font-bold text-[var(--foreground)]", b[s]), children: [
886
886
  n,
887
887
  " ",
888
888
  t.toFixed(2)
@@ -892,7 +892,7 @@ const Te = x(
892
892
  {
893
893
  className: o(
894
894
  "text-[var(--muted-foreground)] line-through",
895
- p[l]
895
+ m[s]
896
896
  ),
897
897
  children: [
898
898
  n,
@@ -908,48 +908,48 @@ const Te = x(
908
908
  "%"
909
909
  ] })
910
910
  ] }),
911
- s && /* @__PURE__ */ i("p", { className: "text-sm text-[var(--muted-foreground)]", children: [
911
+ l && /* @__PURE__ */ i("p", { className: "text-sm text-[var(--muted-foreground)]", children: [
912
912
  "ou ",
913
- s.count,
913
+ l.count,
914
914
  "x de ",
915
915
  n,
916
916
  " ",
917
- s.value.toFixed(2),
917
+ l.value.toFixed(2),
918
918
  " sem juros"
919
919
  ] })
920
920
  ] });
921
921
  }
922
922
  );
923
923
  Te.displayName = "PriceDisplay";
924
- const $e = x(
924
+ const $e = N(
925
925
  ({
926
926
  className: a,
927
927
  value: t,
928
928
  min: r = 1,
929
929
  max: n = 99,
930
- onChange: l,
930
+ onChange: s,
931
931
  size: c = "md",
932
- disabled: s = !1,
932
+ disabled: l = !1,
933
933
  showLabel: u = !1,
934
- ...m
934
+ ...f
935
935
  }, g) => {
936
- const f = () => {
937
- t < n && l(t + 1);
938
- }, p = () => {
939
- t > r && l(t - 1);
940
- }, b = (d) => {
936
+ const b = () => {
937
+ t < n && s(t + 1);
938
+ }, m = () => {
939
+ t > r && s(t - 1);
940
+ }, p = (d) => {
941
941
  const v = parseInt(d.target.value);
942
- !isNaN(v) && v >= r && v <= n && l(v);
943
- }, N = {
942
+ !isNaN(v) && v >= r && v <= n && s(v);
943
+ }, h = {
944
944
  sm: "h-8 w-8",
945
945
  md: "h-10 w-10",
946
946
  lg: "h-12 w-12"
947
- }, h = {
947
+ }, x = {
948
948
  sm: "h-8 w-12 text-sm",
949
949
  md: "h-10 w-14 text-base",
950
950
  lg: "h-12 w-16 text-lg"
951
951
  };
952
- return /* @__PURE__ */ i("div", { ref: g, className: o("inline-flex flex-col gap-1", a), ...m, children: [
952
+ return /* @__PURE__ */ i("div", { ref: g, className: o("inline-flex flex-col gap-1", a), ...f, children: [
953
953
  u && /* @__PURE__ */ e("label", { className: "text-sm font-medium text-[var(--foreground)]", children: "Quantidade" }),
954
954
  /* @__PURE__ */ i("div", { className: "inline-flex items-center gap-2", children: [
955
955
  /* @__PURE__ */ e(
@@ -958,11 +958,11 @@ const $e = x(
958
958
  type: "button",
959
959
  variant: "secondary",
960
960
  size: "sm",
961
- onClick: p,
962
- disabled: s || t <= r,
963
- className: o(N[c], "p-0"),
961
+ onClick: m,
962
+ disabled: l || t <= r,
963
+ className: o(h[c], "p-0"),
964
964
  "aria-label": "Decrease quantity",
965
- children: /* @__PURE__ */ e(ne, { className: "h-4 w-4" })
965
+ children: /* @__PURE__ */ e(se, { className: "h-4 w-4" })
966
966
  }
967
967
  ),
968
968
  /* @__PURE__ */ e(
@@ -970,16 +970,16 @@ const $e = x(
970
970
  {
971
971
  type: "number",
972
972
  value: t,
973
- onChange: b,
973
+ onChange: p,
974
974
  min: r,
975
975
  max: n,
976
- disabled: s,
976
+ disabled: l,
977
977
  className: o(
978
978
  "rounded-lg border-2 border-[var(--border)] bg-[var(--input-background)] text-center font-medium transition-colors",
979
979
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] focus-visible:ring-offset-2",
980
980
  "disabled:cursor-not-allowed disabled:opacity-50",
981
981
  "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",
982
- h[c]
982
+ x[c]
983
983
  ),
984
984
  "aria-label": "Quantity"
985
985
  }
@@ -990,11 +990,11 @@ const $e = x(
990
990
  type: "button",
991
991
  variant: "secondary",
992
992
  size: "sm",
993
- onClick: f,
994
- disabled: s || t >= n,
995
- className: o(N[c], "p-0"),
993
+ onClick: b,
994
+ disabled: l || t >= n,
995
+ className: o(h[c], "p-0"),
996
996
  "aria-label": "Increase quantity",
997
- children: /* @__PURE__ */ e(se, { className: "h-4 w-4" })
997
+ children: /* @__PURE__ */ e(le, { className: "h-4 w-4" })
998
998
  }
999
999
  )
1000
1000
  ] })
@@ -1002,8 +1002,8 @@ const $e = x(
1002
1002
  }
1003
1003
  );
1004
1004
  $e.displayName = "QuantitySelector";
1005
- const Be = x(
1006
- ({ className: a, label: t, htmlFor: r, required: n, error: l, helperText: c, children: s, ...u }, m) => /* @__PURE__ */ i("div", { ref: m, className: o("flex flex-col gap-1.5", a), ...u, children: [
1005
+ const Ve = N(
1006
+ ({ className: a, label: t, htmlFor: r, required: n, error: s, helperText: c, children: l, ...u }, f) => /* @__PURE__ */ i("div", { ref: f, className: o("flex flex-col gap-1.5", a), ...u, children: [
1007
1007
  t && /* @__PURE__ */ i(
1008
1008
  "label",
1009
1009
  {
@@ -1015,24 +1015,24 @@ const Be = x(
1015
1015
  ]
1016
1016
  }
1017
1017
  ),
1018
- s,
1019
- (l || c) && /* @__PURE__ */ e(
1018
+ l,
1019
+ (s || c) && /* @__PURE__ */ e(
1020
1020
  "p",
1021
1021
  {
1022
1022
  className: o(
1023
1023
  "text-sm",
1024
- l ? "text-[var(--destructive)]" : "text-[var(--muted-foreground)]"
1024
+ s ? "text-[var(--destructive)]" : "text-[var(--muted-foreground)]"
1025
1025
  ),
1026
- children: l || c
1026
+ children: s || c
1027
1027
  }
1028
1028
  )
1029
1029
  ] })
1030
1030
  );
1031
- Be.displayName = "FormGroup";
1032
- function Rt({ ...a }) {
1031
+ Ve.displayName = "FormGroup";
1032
+ function Lt({ ...a }) {
1033
1033
  return /* @__PURE__ */ e("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...a });
1034
1034
  }
1035
- function _t({ className: a, ...t }) {
1035
+ function Rt({ className: a, ...t }) {
1036
1036
  return /* @__PURE__ */ e(
1037
1037
  "ol",
1038
1038
  {
@@ -1045,7 +1045,7 @@ function _t({ className: a, ...t }) {
1045
1045
  }
1046
1046
  );
1047
1047
  }
1048
- function Et({ className: a, ...t }) {
1048
+ function Bt({ className: a, ...t }) {
1049
1049
  return /* @__PURE__ */ e(
1050
1050
  "li",
1051
1051
  {
@@ -1055,13 +1055,13 @@ function Et({ className: a, ...t }) {
1055
1055
  }
1056
1056
  );
1057
1057
  }
1058
- function Tt({
1058
+ function Et({
1059
1059
  asChild: a,
1060
1060
  className: t,
1061
1061
  ...r
1062
1062
  }) {
1063
1063
  return /* @__PURE__ */ e(
1064
- a ? Ce : "a",
1064
+ a ? Se : "a",
1065
1065
  {
1066
1066
  "data-slot": "breadcrumb-link",
1067
1067
  className: o("hover:text-foreground transition-colors", t),
@@ -1069,7 +1069,7 @@ function Tt({
1069
1069
  }
1070
1070
  );
1071
1071
  }
1072
- function $t({ className: a, ...t }) {
1072
+ function Tt({ className: a, ...t }) {
1073
1073
  return /* @__PURE__ */ e(
1074
1074
  "span",
1075
1075
  {
@@ -1082,7 +1082,7 @@ function $t({ className: a, ...t }) {
1082
1082
  }
1083
1083
  );
1084
1084
  }
1085
- function Bt({
1085
+ function $t({
1086
1086
  children: a,
1087
1087
  className: t,
1088
1088
  ...r
@@ -1095,21 +1095,21 @@ function Bt({
1095
1095
  "aria-hidden": "true",
1096
1096
  className: o("[&>svg]:size-3.5", t),
1097
1097
  ...r,
1098
- children: a ?? /* @__PURE__ */ e(W, {})
1098
+ children: a ?? /* @__PURE__ */ e(K, {})
1099
1099
  }
1100
1100
  );
1101
1101
  }
1102
1102
  function Vt({
1103
1103
  ...a
1104
1104
  }) {
1105
- return /* @__PURE__ */ e(D.Root, { "data-slot": "accordion", ...a });
1105
+ return /* @__PURE__ */ e(M.Root, { "data-slot": "accordion", ...a });
1106
1106
  }
1107
1107
  function Ft({
1108
1108
  className: a,
1109
1109
  ...t
1110
1110
  }) {
1111
1111
  return /* @__PURE__ */ e(
1112
- D.Item,
1112
+ M.Item,
1113
1113
  {
1114
1114
  "data-slot": "accordion-item",
1115
1115
  className: o("border-b last:border-b-0", a),
@@ -1122,8 +1122,8 @@ function qt({
1122
1122
  children: t,
1123
1123
  ...r
1124
1124
  }) {
1125
- return /* @__PURE__ */ e(D.Header, { className: "flex", children: /* @__PURE__ */ i(
1126
- D.Trigger,
1125
+ return /* @__PURE__ */ e(M.Header, { className: "flex", children: /* @__PURE__ */ i(
1126
+ M.Trigger,
1127
1127
  {
1128
1128
  "data-slot": "accordion-trigger",
1129
1129
  className: o(
@@ -1133,18 +1133,18 @@ function qt({
1133
1133
  ...r,
1134
1134
  children: [
1135
1135
  t,
1136
- /* @__PURE__ */ e(R, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
1136
+ /* @__PURE__ */ e(L, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
1137
1137
  ]
1138
1138
  }
1139
1139
  ) });
1140
1140
  }
1141
- function Ht({
1141
+ function Gt({
1142
1142
  className: a,
1143
1143
  children: t,
1144
1144
  ...r
1145
1145
  }) {
1146
1146
  return /* @__PURE__ */ e(
1147
- D.Content,
1147
+ M.Content,
1148
1148
  {
1149
1149
  "data-slot": "accordion-content",
1150
1150
  className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
@@ -1153,7 +1153,7 @@ function Ht({
1153
1153
  }
1154
1154
  );
1155
1155
  }
1156
- function Ve({
1156
+ function Fe({
1157
1157
  delayDuration: a = 0,
1158
1158
  ...t
1159
1159
  }) {
@@ -1166,10 +1166,10 @@ function Ve({
1166
1166
  }
1167
1167
  );
1168
1168
  }
1169
- function Gt({
1169
+ function Ht({
1170
1170
  ...a
1171
1171
  }) {
1172
- return /* @__PURE__ */ e(Ve, { children: /* @__PURE__ */ e(I.Root, { "data-slot": "tooltip", ...a }) });
1172
+ return /* @__PURE__ */ e(Fe, { children: /* @__PURE__ */ e(I.Root, { "data-slot": "tooltip", ...a }) });
1173
1173
  }
1174
1174
  function Ut({
1175
1175
  ...a
@@ -1199,23 +1199,23 @@ function Qt({
1199
1199
  }
1200
1200
  ) });
1201
1201
  }
1202
- const Fe = x(
1202
+ const qe = N(
1203
1203
  ({
1204
1204
  className: a,
1205
1205
  variant: t = "default",
1206
1206
  title: r,
1207
1207
  subtitle: n,
1208
- description: l,
1208
+ description: s,
1209
1209
  primaryCTA: c,
1210
- secondaryCTA: s,
1210
+ secondaryCTA: l,
1211
1211
  backgroundImage: u,
1212
- overlay: m = !0,
1212
+ overlay: f = !0,
1213
1213
  children: g,
1214
- ...f
1215
- }, p) => /* @__PURE__ */ i(
1214
+ ...b
1215
+ }, m) => /* @__PURE__ */ i(
1216
1216
  "section",
1217
1217
  {
1218
- ref: p,
1218
+ ref: m,
1219
1219
  className: o(
1220
1220
  "relative flex min-h-[400px] w-full flex-col justify-center px-6 py-16 lg:px-12 lg:py-24",
1221
1221
  {
@@ -1225,9 +1225,9 @@ const Fe = x(
1225
1225
  }[t],
1226
1226
  a
1227
1227
  ),
1228
- ...f,
1228
+ ...b,
1229
1229
  children: [
1230
- u && /* @__PURE__ */ i(P, { children: [
1230
+ u && /* @__PURE__ */ i(_, { children: [
1231
1231
  /* @__PURE__ */ e(
1232
1232
  "div",
1233
1233
  {
@@ -1235,7 +1235,7 @@ const Fe = x(
1235
1235
  style: { backgroundImage: `url(${u})` }
1236
1236
  }
1237
1237
  ),
1238
- m && /* @__PURE__ */ e("div", { className: "absolute inset-0 bg-gradient-to-r from-black/70 to-black/30" })
1238
+ f && /* @__PURE__ */ e("div", { className: "absolute inset-0 bg-gradient-to-r from-black/70 to-black/30" })
1239
1239
  ] }),
1240
1240
  /* @__PURE__ */ i(
1241
1241
  "div",
@@ -1266,17 +1266,17 @@ const Fe = x(
1266
1266
  children: r
1267
1267
  }
1268
1268
  ),
1269
- l && /* @__PURE__ */ e(
1269
+ s && /* @__PURE__ */ e(
1270
1270
  "p",
1271
1271
  {
1272
1272
  className: o(
1273
1273
  "mt-6 text-lg lg:text-xl",
1274
1274
  u ? "text-gray-200" : "text-[var(--muted-foreground)]"
1275
1275
  ),
1276
- children: l
1276
+ children: s
1277
1277
  }
1278
1278
  ),
1279
- (c || s) && /* @__PURE__ */ i("div", { className: "mt-8 flex flex-wrap gap-4", children: [
1279
+ (c || l) && /* @__PURE__ */ i("div", { className: "mt-8 flex flex-wrap gap-4", children: [
1280
1280
  c && /* @__PURE__ */ e(
1281
1281
  C,
1282
1282
  {
@@ -1286,13 +1286,13 @@ const Fe = x(
1286
1286
  children: c.label
1287
1287
  }
1288
1288
  ),
1289
- s && /* @__PURE__ */ e(
1289
+ l && /* @__PURE__ */ e(
1290
1290
  C,
1291
1291
  {
1292
1292
  size: "lg",
1293
- onClick: s.onClick,
1293
+ onClick: l.onClick,
1294
1294
  variant: "secondary",
1295
- children: s.label
1295
+ children: l.label
1296
1296
  }
1297
1297
  )
1298
1298
  ] })
@@ -1306,22 +1306,22 @@ const Fe = x(
1306
1306
  }
1307
1307
  )
1308
1308
  );
1309
- Fe.displayName = "Hero";
1310
- const X = x(
1309
+ qe.displayName = "Hero";
1310
+ const Y = N(
1311
1311
  ({
1312
1312
  className: a,
1313
1313
  variant: t = "default",
1314
1314
  icon: r,
1315
1315
  title: n,
1316
- description: l,
1316
+ description: s,
1317
1317
  action: c,
1318
- ...s
1318
+ ...l
1319
1319
  }, u) => {
1320
1320
  const g = r || {
1321
- default: /* @__PURE__ */ e(de, { className: "h-16 w-16" }),
1322
- search: /* @__PURE__ */ e(Q, { className: "h-16 w-16" }),
1323
- cart: /* @__PURE__ */ e(_, { className: "h-16 w-16" }),
1324
- error: /* @__PURE__ */ e(le, { className: "h-16 w-16" })
1321
+ default: /* @__PURE__ */ e(ce, { className: "h-16 w-16" }),
1322
+ search: /* @__PURE__ */ e(W, { className: "h-16 w-16" }),
1323
+ cart: /* @__PURE__ */ e(R, { className: "h-16 w-16" }),
1324
+ error: /* @__PURE__ */ e(de, { className: "h-16 w-16" })
1325
1325
  }[t];
1326
1326
  return /* @__PURE__ */ i(
1327
1327
  "div",
@@ -1331,11 +1331,11 @@ const X = x(
1331
1331
  "flex flex-col items-center justify-center py-16 px-6 text-center",
1332
1332
  a
1333
1333
  ),
1334
- ...s,
1334
+ ...l,
1335
1335
  children: [
1336
1336
  /* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--muted)] p-6 text-[var(--muted-foreground)]", children: g }),
1337
1337
  /* @__PURE__ */ e("h3", { className: "mt-6 text-xl font-semibold text-[var(--foreground)]", children: n }),
1338
- l && /* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: l }),
1338
+ s && /* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: s }),
1339
1339
  c && /* @__PURE__ */ e(
1340
1340
  C,
1341
1341
  {
@@ -1351,20 +1351,20 @@ const X = x(
1351
1351
  );
1352
1352
  }
1353
1353
  );
1354
- X.displayName = "EmptyState";
1355
- const qe = x(
1354
+ Y.displayName = "EmptyState";
1355
+ const Ge = N(
1356
1356
  ({
1357
1357
  className: a,
1358
1358
  type: t = "generic",
1359
1359
  title: r,
1360
1360
  message: n,
1361
- onRetry: l,
1361
+ onRetry: s,
1362
1362
  onGoHome: c,
1363
- showRetry: s = !0,
1363
+ showRetry: l = !0,
1364
1364
  showHome: u = !0,
1365
- ...m
1365
+ ...f
1366
1366
  }, g) => {
1367
- const p = {
1367
+ const m = {
1368
1368
  404: {
1369
1369
  title: "Página não encontrada",
1370
1370
  message: "A página que você está procurando não existe ou foi movida.",
@@ -1385,7 +1385,7 @@ const qe = x(
1385
1385
  message: "Ocorreu um erro inesperado. Por favor, tente novamente.",
1386
1386
  code: ""
1387
1387
  }
1388
- }[t], b = r || p.title, N = n || p.message;
1388
+ }[t], p = r || m.title, h = n || m.message;
1389
1389
  return /* @__PURE__ */ i(
1390
1390
  "div",
1391
1391
  {
@@ -1396,22 +1396,22 @@ const qe = x(
1396
1396
  ),
1397
1397
  role: "alert",
1398
1398
  "aria-live": "assertive",
1399
- ...m,
1399
+ ...f,
1400
1400
  children: [
1401
1401
  /* @__PURE__ */ i("div", { className: "flex flex-col items-center gap-4", children: [
1402
- p.code && /* @__PURE__ */ e("h1", { className: "text-9xl font-bold text-[var(--muted)] opacity-40", children: p.code }),
1403
- /* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--destructive)]/10 p-6 text-[var(--destructive)]", children: /* @__PURE__ */ e(ce, { className: "h-16 w-16" }) })
1402
+ m.code && /* @__PURE__ */ e("h1", { className: "text-9xl font-bold text-[var(--muted)] opacity-40", children: m.code }),
1403
+ /* @__PURE__ */ e("div", { className: "rounded-full bg-[var(--destructive)]/10 p-6 text-[var(--destructive)]", children: /* @__PURE__ */ e(ue, { className: "h-16 w-16" }) })
1404
1404
  ] }),
1405
- /* @__PURE__ */ e("h2", { className: "mt-6 text-2xl font-bold text-[var(--foreground)]", children: b }),
1406
- /* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: N }),
1405
+ /* @__PURE__ */ e("h2", { className: "mt-6 text-2xl font-bold text-[var(--foreground)]", children: p }),
1406
+ /* @__PURE__ */ e("p", { className: "mt-2 max-w-md text-[var(--muted-foreground)]", children: h }),
1407
1407
  /* @__PURE__ */ i("div", { className: "mt-8 flex flex-wrap gap-4 justify-center", children: [
1408
- s && l && /* @__PURE__ */ e(
1408
+ l && s && /* @__PURE__ */ e(
1409
1409
  C,
1410
1410
  {
1411
- onClick: l,
1411
+ onClick: s,
1412
1412
  variant: "primary",
1413
1413
  size: "lg",
1414
- leftIcon: /* @__PURE__ */ e(ue, { className: "h-5 w-5" }),
1414
+ leftIcon: /* @__PURE__ */ e(me, { className: "h-5 w-5" }),
1415
1415
  children: "Tentar novamente"
1416
1416
  }
1417
1417
  ),
@@ -1421,7 +1421,7 @@ const qe = x(
1421
1421
  onClick: c,
1422
1422
  variant: "secondary",
1423
1423
  size: "lg",
1424
- leftIcon: /* @__PURE__ */ e(me, { className: "h-5 w-5" }),
1424
+ leftIcon: /* @__PURE__ */ e(fe, { className: "h-5 w-5" }),
1425
1425
  children: "Voltar ao início"
1426
1426
  }
1427
1427
  )
@@ -1431,50 +1431,50 @@ const qe = x(
1431
1431
  );
1432
1432
  }
1433
1433
  );
1434
- qe.displayName = "ErrorState";
1435
- const He = x(
1434
+ Ge.displayName = "ErrorState";
1435
+ const He = N(
1436
1436
  ({
1437
1437
  className: a,
1438
1438
  products: t,
1439
1439
  columns: r = 4,
1440
1440
  gap: n = "md",
1441
- isLoading: l = !1,
1441
+ isLoading: s = !1,
1442
1442
  skeletonCount: c = 8,
1443
- emptyStateMessage: s = "Nenhum produto encontrado",
1443
+ emptyStateMessage: l = "Nenhum produto encontrado",
1444
1444
  onEmptyAction: u,
1445
- ...m
1445
+ ...f
1446
1446
  }, g) => {
1447
- const f = {
1447
+ const b = {
1448
1448
  sm: "gap-4",
1449
1449
  md: "gap-6",
1450
1450
  lg: "gap-8"
1451
1451
  };
1452
- return l ? /* @__PURE__ */ e(
1452
+ return s ? /* @__PURE__ */ e(
1453
1453
  "div",
1454
1454
  {
1455
1455
  ref: g,
1456
1456
  className: o(
1457
1457
  "grid grid-cols-2 lg:grid-cols-4",
1458
- f[n],
1458
+ b[n],
1459
1459
  a
1460
1460
  ),
1461
- ...m,
1462
- children: Array.from({ length: c }).map((p, b) => /* @__PURE__ */ e(
1463
- $,
1461
+ ...f,
1462
+ children: Array.from({ length: c }).map((m, p) => /* @__PURE__ */ e(
1463
+ T,
1464
1464
  {
1465
1465
  image: "",
1466
1466
  title: "",
1467
1467
  price: 0,
1468
1468
  isSkeleton: !0
1469
1469
  },
1470
- b
1470
+ p
1471
1471
  ))
1472
1472
  }
1473
1473
  ) : t.length === 0 ? /* @__PURE__ */ e(
1474
- X,
1474
+ Y,
1475
1475
  {
1476
1476
  variant: "search",
1477
- title: s,
1477
+ title: l,
1478
1478
  description: "Tente ajustar seus filtros ou realizar uma nova busca",
1479
1479
  action: u ? {
1480
1480
  label: "Limpar filtros",
@@ -1487,11 +1487,11 @@ const He = x(
1487
1487
  ref: g,
1488
1488
  className: o(
1489
1489
  "grid grid-cols-2 lg:grid-cols-4",
1490
- f[n],
1490
+ b[n],
1491
1491
  a
1492
1492
  ),
1493
- ...m,
1494
- children: t.map((p, b) => /* @__PURE__ */ e($, { ...p }, b))
1493
+ ...f,
1494
+ children: t.map((m, p) => /* @__PURE__ */ e(T, { ...m }, p))
1495
1495
  }
1496
1496
  );
1497
1497
  }
@@ -1507,12 +1507,12 @@ function Kt({
1507
1507
  }) {
1508
1508
  return /* @__PURE__ */ e(w.Trigger, { "data-slot": "dialog-trigger", ...a });
1509
1509
  }
1510
- function Ge({
1510
+ function Ue({
1511
1511
  ...a
1512
1512
  }) {
1513
1513
  return /* @__PURE__ */ e(w.Portal, { "data-slot": "dialog-portal", ...a });
1514
1514
  }
1515
- function Ue({
1515
+ function Qe({
1516
1516
  className: a,
1517
1517
  ...t
1518
1518
  }) {
@@ -1533,8 +1533,8 @@ function Ot({
1533
1533
  children: t,
1534
1534
  ...r
1535
1535
  }) {
1536
- return /* @__PURE__ */ i(Ge, { "data-slot": "dialog-portal", children: [
1537
- /* @__PURE__ */ e(Ue, {}),
1536
+ return /* @__PURE__ */ i(Ue, { "data-slot": "dialog-portal", children: [
1537
+ /* @__PURE__ */ e(Qe, {}),
1538
1538
  /* @__PURE__ */ i(
1539
1539
  w.Content,
1540
1540
  {
@@ -1547,7 +1547,7 @@ function Ot({
1547
1547
  children: [
1548
1548
  t,
1549
1549
  /* @__PURE__ */ i(w.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", children: [
1550
- /* @__PURE__ */ e(K, {}),
1550
+ /* @__PURE__ */ e(O, {}),
1551
1551
  /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
1552
1552
  ] })
1553
1553
  ]
@@ -1604,25 +1604,25 @@ function Jt({
1604
1604
  }
1605
1605
  );
1606
1606
  }
1607
- function Qe({ ...a }) {
1607
+ function We({ ...a }) {
1608
1608
  return /* @__PURE__ */ e(w.Root, { "data-slot": "sheet", ...a });
1609
1609
  }
1610
- function We({
1610
+ function Ke({
1611
1611
  ...a
1612
1612
  }) {
1613
1613
  return /* @__PURE__ */ e(w.Trigger, { "data-slot": "sheet-trigger", ...a });
1614
1614
  }
1615
- function Ke({
1615
+ function Oe({
1616
1616
  ...a
1617
1617
  }) {
1618
1618
  return /* @__PURE__ */ e(w.Close, { "data-slot": "sheet-close", ...a });
1619
1619
  }
1620
- function Oe({
1620
+ function Xe({
1621
1621
  ...a
1622
1622
  }) {
1623
1623
  return /* @__PURE__ */ e(w.Portal, { "data-slot": "sheet-portal", ...a });
1624
1624
  }
1625
- function Xe({
1625
+ function Ye({
1626
1626
  className: a,
1627
1627
  ...t
1628
1628
  }) {
@@ -1638,14 +1638,14 @@ function Xe({
1638
1638
  }
1639
1639
  );
1640
1640
  }
1641
- function Ye({
1641
+ function Ze({
1642
1642
  className: a,
1643
1643
  children: t,
1644
1644
  side: r = "right",
1645
1645
  ...n
1646
1646
  }) {
1647
- return /* @__PURE__ */ i(Oe, { children: [
1648
- /* @__PURE__ */ e(Xe, {}),
1647
+ return /* @__PURE__ */ i(Xe, { children: [
1648
+ /* @__PURE__ */ e(Ye, {}),
1649
1649
  /* @__PURE__ */ i(
1650
1650
  w.Content,
1651
1651
  {
@@ -1662,7 +1662,7 @@ function Ye({
1662
1662
  children: [
1663
1663
  t,
1664
1664
  /* @__PURE__ */ i(w.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
1665
- /* @__PURE__ */ e(K, { className: "size-4" }),
1665
+ /* @__PURE__ */ e(O, { className: "size-4" }),
1666
1666
  /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
1667
1667
  ] })
1668
1668
  ]
@@ -1670,7 +1670,7 @@ function Ye({
1670
1670
  )
1671
1671
  ] });
1672
1672
  }
1673
- function Ze({ className: a, ...t }) {
1673
+ function Je({ className: a, ...t }) {
1674
1674
  return /* @__PURE__ */ e(
1675
1675
  "div",
1676
1676
  {
@@ -1690,7 +1690,7 @@ function ea({ className: a, ...t }) {
1690
1690
  }
1691
1691
  );
1692
1692
  }
1693
- function Je({
1693
+ function et({
1694
1694
  className: a,
1695
1695
  ...t
1696
1696
  }) {
@@ -1716,7 +1716,7 @@ function ta({
1716
1716
  }
1717
1717
  );
1718
1718
  }
1719
- function et({ children: a, as: t = "div", className: r }) {
1719
+ function tt({ children: a, as: t = "div", className: r }) {
1720
1720
  return /* @__PURE__ */ e(
1721
1721
  t,
1722
1722
  {
@@ -1727,30 +1727,30 @@ function et({ children: a, as: t = "div", className: r }) {
1727
1727
  }
1728
1728
  );
1729
1729
  }
1730
- const tt = x(
1731
- ({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink: n = !1, ...l }, c) => {
1732
- const [s, u] = k("light"), [m, g] = k(16), [f, p] = k(!1);
1733
- M(() => {
1730
+ const at = N(
1731
+ ({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink: n = !1, ...s }, c) => {
1732
+ const [l, u] = k("light"), [f, g] = k(16), [b, m] = k(!1);
1733
+ D(() => {
1734
1734
  const v = localStorage.getItem("a11y-theme") ?? document.documentElement.getAttribute("data-theme") ?? "light";
1735
1735
  u(v);
1736
1736
  const y = Number(localStorage.getItem("a11y-font-size"));
1737
1737
  Number.isFinite(y) && y > 0 && g(y);
1738
- }, []), M(() => {
1739
- if (!f && typeof window < "u" && !document.querySelector('script[src*="vlibras"]')) {
1738
+ }, []), D(() => {
1739
+ if (!b && typeof window < "u" && !document.querySelector('script[src*="vlibras"]')) {
1740
1740
  const v = document.createElement("script");
1741
1741
  v.src = "https://vlibras.gov.br/app/vlibras-plugin.js", v.async = !0, v.onload = () => {
1742
- p(!0), window.VLibras && new window.VLibras.Widget("https://vlibras.gov.br/app");
1742
+ m(!0), window.VLibras && new window.VLibras.Widget("https://vlibras.gov.br/app");
1743
1743
  }, document.body.appendChild(v);
1744
1744
  }
1745
- }, [f]);
1746
- const b = () => {
1747
- const d = s === "light" ? "dark" : "light";
1745
+ }, [b]);
1746
+ const p = () => {
1747
+ const d = l === "light" ? "dark" : "light";
1748
1748
  u(d), document.documentElement.setAttribute("data-theme", d), localStorage.setItem("a11y-theme", d), t == null || t(d);
1749
- }, N = () => {
1750
- const d = Math.min(m + 2, 24);
1751
- g(d), document.documentElement.style.setProperty("--font-size", `${d}px`), document.documentElement.style.fontSize = `${d}px`, localStorage.setItem("a11y-font-size", d.toString()), r == null || r(d);
1752
1749
  }, h = () => {
1753
- const d = Math.max(m - 2, 12);
1750
+ const d = Math.min(f + 2, 24);
1751
+ g(d), document.documentElement.style.setProperty("--font-size", `${d}px`), document.documentElement.style.fontSize = `${d}px`, localStorage.setItem("a11y-font-size", d.toString()), r == null || r(d);
1752
+ }, x = () => {
1753
+ const d = Math.max(f - 2, 12);
1754
1754
  g(d), document.documentElement.style.setProperty("--font-size", `${d}px`), document.documentElement.style.fontSize = `${d}px`, localStorage.setItem("a11y-font-size", d.toString()), r == null || r(d);
1755
1755
  };
1756
1756
  return /* @__PURE__ */ e(
@@ -1763,10 +1763,10 @@ const tt = x(
1763
1763
  ),
1764
1764
  role: "toolbar",
1765
1765
  "aria-label": "Ferramentas de acessibilidade",
1766
- ...l,
1767
- children: /* @__PURE__ */ i(et, { className: "py-2 flex items-center justify-between", children: [
1766
+ ...s,
1767
+ children: /* @__PURE__ */ i(tt, { className: "py-2 flex items-center justify-between", children: [
1768
1768
  /* @__PURE__ */ i("div", { className: "flex items-center gap-2 text-sm text-[var(--muted-foreground)]", children: [
1769
- /* @__PURE__ */ e(fe, { className: "h-4 w-4 flex-shrink-0", "aria-hidden": "true" }),
1769
+ /* @__PURE__ */ e(ge, { className: "h-4 w-4 flex-shrink-0", "aria-hidden": "true" }),
1770
1770
  /* @__PURE__ */ e("span", { className: "hidden sm:inline", children: "Ferramentas de Acessibilidade" })
1771
1771
  ] }),
1772
1772
  /* @__PURE__ */ i("div", { className: "flex items-center gap-2 md:gap-4", children: [
@@ -1783,15 +1783,15 @@ const tt = x(
1783
1783
  "button",
1784
1784
  {
1785
1785
  type: "button",
1786
- onClick: h,
1787
- disabled: m <= 12,
1786
+ onClick: x,
1787
+ disabled: f <= 12,
1788
1788
  "aria-label": "Diminuir tamanho da fonte",
1789
1789
  className: o(
1790
1790
  "p-2 rounded-md transition-colors text-[var(--muted-foreground)] hover:bg-[var(--muted)]",
1791
1791
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
1792
1792
  "disabled:opacity-40 disabled:cursor-not-allowed"
1793
1793
  ),
1794
- children: /* @__PURE__ */ e(ge, { className: "h-4 w-4" })
1794
+ children: /* @__PURE__ */ e(pe, { className: "h-4 w-4" })
1795
1795
  }
1796
1796
  ),
1797
1797
  /* @__PURE__ */ e("span", { className: "text-xs text-[var(--muted-foreground)] w-3 text-center select-none", "aria-hidden": "true", children: "A" }),
@@ -1799,15 +1799,15 @@ const tt = x(
1799
1799
  "button",
1800
1800
  {
1801
1801
  type: "button",
1802
- onClick: N,
1803
- disabled: m >= 24,
1802
+ onClick: h,
1803
+ disabled: f >= 24,
1804
1804
  "aria-label": "Aumentar tamanho da fonte",
1805
1805
  className: o(
1806
1806
  "p-2 rounded-md transition-colors text-[var(--muted-foreground)] hover:bg-[var(--muted)]",
1807
1807
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
1808
1808
  "disabled:opacity-40 disabled:cursor-not-allowed"
1809
1809
  ),
1810
- children: /* @__PURE__ */ e(pe, { className: "h-4 w-4" })
1810
+ children: /* @__PURE__ */ e(ve, { className: "h-4 w-4" })
1811
1811
  }
1812
1812
  )
1813
1813
  ] }),
@@ -1815,30 +1815,30 @@ const tt = x(
1815
1815
  "button",
1816
1816
  {
1817
1817
  type: "button",
1818
- onClick: b,
1819
- "aria-label": s === "light" ? "Ativar modo escuro" : "Ativar modo claro",
1818
+ onClick: p,
1819
+ "aria-label": l === "light" ? "Ativar modo escuro" : "Ativar modo claro",
1820
1820
  className: o(
1821
1821
  "p-2 rounded-md transition-colors text-[var(--muted-foreground)] hover:bg-[var(--muted)]",
1822
1822
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]"
1823
1823
  ),
1824
- children: s === "light" ? /* @__PURE__ */ e(ve, { className: "h-4 w-4" }) : /* @__PURE__ */ e(be, { className: "h-4 w-4" })
1824
+ children: l === "light" ? /* @__PURE__ */ e(be, { className: "h-4 w-4" }) : /* @__PURE__ */ e(he, { className: "h-4 w-4" })
1825
1825
  }
1826
1826
  ),
1827
1827
  /* @__PURE__ */ e(
1828
1828
  "button",
1829
1829
  {
1830
1830
  type: "button",
1831
- onClick: () => p((d) => !d),
1831
+ onClick: () => m((d) => !d),
1832
1832
  "aria-label": "Ativar VLibras",
1833
- "aria-pressed": f,
1833
+ "aria-pressed": b,
1834
1834
  className: o(
1835
1835
  "px-3 py-1 text-xs font-medium rounded-md transition-colors",
1836
1836
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]"
1837
1837
  ),
1838
1838
  style: {
1839
- backgroundColor: f ? "var(--primary)" : "transparent",
1840
- color: f ? "var(--primary-foreground)" : "var(--muted-foreground)",
1841
- border: f ? "none" : "1px solid var(--border)"
1839
+ backgroundColor: b ? "var(--primary)" : "transparent",
1840
+ color: b ? "var(--primary-foreground)" : "var(--muted-foreground)",
1841
+ border: b ? "none" : "1px solid var(--border)"
1842
1842
  },
1843
1843
  children: "VLibras"
1844
1844
  }
@@ -1849,54 +1849,54 @@ const tt = x(
1849
1849
  );
1850
1850
  }
1851
1851
  );
1852
- tt.displayName = "TopAccessibilityBar";
1853
- const at = x(
1852
+ at.displayName = "TopAccessibilityBar";
1853
+ const rt = N(
1854
1854
  ({
1855
1855
  className: a,
1856
1856
  slides: t,
1857
1857
  autoplayDelay: r = 5e3,
1858
1858
  autoplay: n = !0,
1859
- ...l
1859
+ ...s
1860
1860
  }, c) => {
1861
- const [s, u] = k(0), [m, g] = k(!1), [f, p] = k(!1);
1862
- M(() => {
1861
+ const [l, u] = k(0), [f, g] = k(!1), [b, m] = k(!1);
1862
+ D(() => {
1863
1863
  const d = window.matchMedia("(prefers-reduced-motion: reduce)");
1864
- p(d.matches);
1864
+ m(d.matches);
1865
1865
  const v = (y) => {
1866
- p(y.matches);
1866
+ m(y.matches);
1867
1867
  };
1868
1868
  return d.addEventListener("change", v), () => d.removeEventListener("change", v);
1869
- }, []), M(() => {
1870
- if (!n || m || f) return;
1869
+ }, []), D(() => {
1870
+ if (!n || f || b) return;
1871
1871
  const d = setInterval(() => {
1872
1872
  u((v) => (v + 1) % t.length);
1873
1873
  }, r);
1874
1874
  return () => clearInterval(d);
1875
- }, [n, r, t.length, m, f]);
1876
- const b = (d) => {
1875
+ }, [n, r, t.length, f, b]);
1876
+ const p = (d) => {
1877
1877
  u(d), g(!0), setTimeout(() => g(!1), r);
1878
- }, N = () => {
1879
- b((s - 1 + t.length) % t.length);
1880
1878
  }, h = () => {
1881
- b((s + 1) % t.length);
1879
+ p((l - 1 + t.length) % t.length);
1880
+ }, x = () => {
1881
+ p((l + 1) % t.length);
1882
1882
  };
1883
- return t.length === 0 ? null : (t[s], /* @__PURE__ */ i(
1883
+ return t.length === 0 ? null : (t[l], /* @__PURE__ */ i(
1884
1884
  "div",
1885
1885
  {
1886
1886
  ref: c,
1887
1887
  className: o("relative w-full overflow-hidden", a),
1888
1888
  onMouseEnter: () => g(!0),
1889
1889
  onMouseLeave: () => g(!1),
1890
- ...l,
1890
+ ...s,
1891
1891
  children: [
1892
1892
  /* @__PURE__ */ e("div", { className: "relative", children: t.map((d, v) => /* @__PURE__ */ i(
1893
1893
  "div",
1894
1894
  {
1895
1895
  className: o(
1896
1896
  "w-full transition-opacity duration-700",
1897
- v === s ? "block" : "hidden"
1897
+ v === l ? "block" : "hidden"
1898
1898
  ),
1899
- "aria-hidden": v !== s,
1899
+ "aria-hidden": v !== l,
1900
1900
  children: [
1901
1901
  /* @__PURE__ */ i("picture", { children: [
1902
1902
  /* @__PURE__ */ e(
@@ -1940,39 +1940,39 @@ const at = x(
1940
1940
  },
1941
1941
  d.id
1942
1942
  )) }),
1943
- t.length > 1 && /* @__PURE__ */ i(P, { children: [
1943
+ t.length > 1 && /* @__PURE__ */ i(_, { children: [
1944
1944
  /* @__PURE__ */ e(
1945
1945
  "button",
1946
1946
  {
1947
- onClick: N,
1947
+ onClick: h,
1948
1948
  className: "absolute left-4 top-1/2 -translate-y-1/2 rounded-full bg-white/50 p-2 shadow-lg transition-all hover:bg-white/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] min-w-[44px] min-h-[44px]",
1949
1949
  "aria-label": "Slide anterior",
1950
- children: /* @__PURE__ */ e(he, { className: "h-6 w-6 text-gray-900" })
1950
+ children: /* @__PURE__ */ e(xe, { className: "h-6 w-6 text-gray-900" })
1951
1951
  }
1952
1952
  ),
1953
1953
  /* @__PURE__ */ e(
1954
1954
  "button",
1955
1955
  {
1956
- onClick: h,
1956
+ onClick: x,
1957
1957
  className: "absolute right-4 top-1/2 -translate-y-1/2 rounded-full bg-white/50 p-2 shadow-lg transition-all hover:bg-white/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] min-w-[44px] min-h-[44px]",
1958
1958
  "aria-label": "Próximo slide",
1959
- children: /* @__PURE__ */ e(W, { className: "h-6 w-6 text-gray-900" })
1959
+ children: /* @__PURE__ */ e(K, { className: "h-6 w-6 text-gray-900" })
1960
1960
  }
1961
1961
  )
1962
1962
  ] }),
1963
1963
  t.length > 1 && /* @__PURE__ */ e("div", { className: "absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-1.5", children: t.map((d, v) => /* @__PURE__ */ e(
1964
1964
  "button",
1965
1965
  {
1966
- onClick: () => b(v),
1966
+ onClick: () => p(v),
1967
1967
  className: "min-w-11 min-h-6 flex items-center justify-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded-full group",
1968
1968
  "aria-label": `Ir para slide ${v + 1}`,
1969
- "aria-current": v === s,
1969
+ "aria-current": v === l,
1970
1970
  children: /* @__PURE__ */ e(
1971
1971
  "span",
1972
1972
  {
1973
1973
  className: o(
1974
1974
  "block rounded-full transition-all",
1975
- v === s ? "h-1 w-3 bg-white" : "h-1 w-1 bg-white/40 group-hover:bg-white/60"
1975
+ v === l ? "h-1 w-3 bg-white" : "h-1 w-1 bg-white/40 group-hover:bg-white/60"
1976
1976
  )
1977
1977
  }
1978
1978
  )
@@ -1984,8 +1984,8 @@ const at = x(
1984
1984
  ));
1985
1985
  }
1986
1986
  );
1987
- at.displayName = "HeroCarousel";
1988
- function rt({
1987
+ rt.displayName = "HeroCarousel";
1988
+ function ot({
1989
1989
  className: a,
1990
1990
  children: t,
1991
1991
  viewport: r = !0,
@@ -2003,12 +2003,12 @@ function rt({
2003
2003
  ...n,
2004
2004
  children: [
2005
2005
  t,
2006
- r && /* @__PURE__ */ e(lt, {})
2006
+ r && /* @__PURE__ */ e(dt, {})
2007
2007
  ]
2008
2008
  }
2009
2009
  );
2010
2010
  }
2011
- function ot({
2011
+ function it({
2012
2012
  className: a,
2013
2013
  ...t
2014
2014
  }) {
@@ -2024,7 +2024,7 @@ function ot({
2024
2024
  }
2025
2025
  );
2026
2026
  }
2027
- function G({
2027
+ function H({
2028
2028
  className: a,
2029
2029
  ...t
2030
2030
  }) {
@@ -2037,10 +2037,10 @@ function G({
2037
2037
  }
2038
2038
  );
2039
2039
  }
2040
- const it = L(
2040
+ const nt = P(
2041
2041
  "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1"
2042
2042
  );
2043
- function nt({
2043
+ function st({
2044
2044
  className: a,
2045
2045
  children: t,
2046
2046
  ...r
@@ -2049,13 +2049,13 @@ function nt({
2049
2049
  S.Trigger,
2050
2050
  {
2051
2051
  "data-slot": "navigation-menu-trigger",
2052
- className: o(it(), "group", a),
2052
+ className: o(nt(), "group", a),
2053
2053
  ...r,
2054
2054
  children: [
2055
2055
  t,
2056
2056
  " ",
2057
2057
  /* @__PURE__ */ e(
2058
- R,
2058
+ L,
2059
2059
  {
2060
2060
  className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
2061
2061
  "aria-hidden": "true"
@@ -2065,7 +2065,7 @@ function nt({
2065
2065
  }
2066
2066
  );
2067
2067
  }
2068
- function st({
2068
+ function lt({
2069
2069
  className: a,
2070
2070
  ...t
2071
2071
  }) {
@@ -2082,7 +2082,7 @@ function st({
2082
2082
  }
2083
2083
  );
2084
2084
  }
2085
- function lt({
2085
+ function dt({
2086
2086
  className: a,
2087
2087
  ...t
2088
2088
  }) {
@@ -2106,7 +2106,7 @@ function lt({
2106
2106
  }
2107
2107
  );
2108
2108
  }
2109
- function B({
2109
+ function $({
2110
2110
  className: a,
2111
2111
  ...t
2112
2112
  }) {
@@ -2122,7 +2122,7 @@ function B({
2122
2122
  }
2123
2123
  );
2124
2124
  }
2125
- function dt({ items: a }) {
2125
+ function ct({ items: a }) {
2126
2126
  return /* @__PURE__ */ e("ul", { className: "grid gap-0.5 p-2 min-w-[180px]", role: "none", children: a.map(
2127
2127
  (t) => {
2128
2128
  var r;
@@ -2136,7 +2136,7 @@ function dt({ items: a }) {
2136
2136
  }
2137
2137
  ),
2138
2138
  /* @__PURE__ */ e("ul", { className: "ml-1", role: "none", children: t.children.map((n) => /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
2139
- B,
2139
+ $,
2140
2140
  {
2141
2141
  href: n.href ?? "#",
2142
2142
  className: "block rounded px-3 py-1.5 text-sm text-[var(--foreground)] hover:bg-[var(--accent)] transition-colors",
@@ -2144,7 +2144,7 @@ function dt({ items: a }) {
2144
2144
  }
2145
2145
  ) }, n.id)) })
2146
2146
  ] }, t.id) : /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
2147
- B,
2147
+ $,
2148
2148
  {
2149
2149
  href: t.href ?? "#",
2150
2150
  className: "block rounded px-3 py-1.5 text-sm text-[var(--foreground)] hover:bg-[var(--accent)] transition-colors",
@@ -2154,10 +2154,10 @@ function dt({ items: a }) {
2154
2154
  }
2155
2155
  ) });
2156
2156
  }
2157
- function Y({ item: a, depth: t = 0 }) {
2157
+ function Z({ item: a, depth: t = 0 }) {
2158
2158
  var c;
2159
2159
  const [r, n] = k(!1);
2160
- return !((c = a.children) != null && c.length) ? /* @__PURE__ */ e(Ke, { asChild: !0, children: /* @__PURE__ */ e(
2160
+ return !((c = a.children) != null && c.length) ? /* @__PURE__ */ e(Oe, { asChild: !0, children: /* @__PURE__ */ e(
2161
2161
  "a",
2162
2162
  {
2163
2163
  href: a.href ?? "#",
@@ -2174,7 +2174,7 @@ function Y({ item: a, depth: t = 0 }) {
2174
2174
  type: "button",
2175
2175
  "aria-expanded": r,
2176
2176
  "aria-controls": `mobile-nav-${a.id}`,
2177
- onClick: () => n((s) => !s),
2177
+ onClick: () => n((l) => !l),
2178
2178
  className: o(
2179
2179
  "flex min-h-[44px] w-full items-center justify-between rounded py-2 text-sm font-medium text-[var(--foreground)] hover:text-[var(--brand-primary)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
2180
2180
  t > 0 && "pl-4"
@@ -2182,7 +2182,7 @@ function Y({ item: a, depth: t = 0 }) {
2182
2182
  children: [
2183
2183
  /* @__PURE__ */ e("span", { children: a.label }),
2184
2184
  /* @__PURE__ */ e(
2185
- O,
2185
+ X,
2186
2186
  {
2187
2187
  "aria-hidden": "true",
2188
2188
  className: o(
@@ -2199,13 +2199,13 @@ function Y({ item: a, depth: t = 0 }) {
2199
2199
  {
2200
2200
  id: `mobile-nav-${a.id}`,
2201
2201
  className: "mb-1 ml-2 border-l-2 border-[var(--border)] pl-3",
2202
- children: a.children.map((s) => /* @__PURE__ */ e(Y, { item: s, depth: t + 1 }, s.id))
2202
+ children: a.children.map((l) => /* @__PURE__ */ e(Z, { item: l, depth: t + 1 }, l.id))
2203
2203
  }
2204
2204
  )
2205
2205
  ] });
2206
2206
  }
2207
- const ct = x(
2208
- ({ items: a, logo: t, rightSlot: r, searchSlot: n, drawerFooter: l, className: c, ...s }, u) => /* @__PURE__ */ e(
2207
+ const ut = N(
2208
+ ({ items: a, logo: t, rightSlot: r, searchSlot: n, drawerFooter: s, className: c, ...l }, u) => /* @__PURE__ */ e(
2209
2209
  "header",
2210
2210
  {
2211
2211
  ref: u,
@@ -2213,26 +2213,26 @@ const ct = x(
2213
2213
  "sticky top-0 z-40 border-b border-[var(--border)] bg-[var(--card)]",
2214
2214
  c
2215
2215
  ),
2216
- ...s,
2216
+ ...l,
2217
2217
  children: /* @__PURE__ */ i("div", { className: "px-4", children: [
2218
2218
  /* @__PURE__ */ i("div", { className: "flex items-center py-3 gap-4", children: [
2219
2219
  t && /* @__PURE__ */ e("div", { className: "flex-shrink-0", children: t }),
2220
2220
  n && /* @__PURE__ */ e("div", { className: "hidden flex-1 md:flex", children: n }),
2221
2221
  /* @__PURE__ */ e("div", { className: "flex-1 md:hidden", "aria-hidden": "true" }),
2222
2222
  r && /* @__PURE__ */ e("div", { className: "flex items-center", children: r }),
2223
- /* @__PURE__ */ i(Qe, { children: [
2224
- /* @__PURE__ */ e(We, { asChild: !0, children: /* @__PURE__ */ e(
2223
+ /* @__PURE__ */ i(We, { children: [
2224
+ /* @__PURE__ */ e(Ke, { asChild: !0, children: /* @__PURE__ */ e(
2225
2225
  "button",
2226
2226
  {
2227
2227
  type: "button",
2228
2228
  "aria-label": "Abrir menu de navegação",
2229
2229
  className: "inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-lg text-[var(--foreground)] transition-colors hover:bg-[var(--accent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] md:hidden",
2230
- children: /* @__PURE__ */ e(xe, { className: "h-5 w-5", "aria-hidden": "true" })
2230
+ children: /* @__PURE__ */ e(Ne, { className: "h-5 w-5", "aria-hidden": "true" })
2231
2231
  }
2232
2232
  ) }),
2233
- /* @__PURE__ */ i(Ye, { side: "left", className: "flex flex-col p-0", children: [
2234
- /* @__PURE__ */ i(Ze, { className: "border-b border-[var(--border)] px-5 py-4", children: [
2235
- /* @__PURE__ */ e(Je, { className: "sr-only", children: "Menu de navegação" }),
2233
+ /* @__PURE__ */ i(Ze, { side: "left", className: "flex flex-col p-0", children: [
2234
+ /* @__PURE__ */ i(Je, { className: "border-b border-[var(--border)] px-5 py-4", children: [
2235
+ /* @__PURE__ */ e(et, { className: "sr-only", children: "Menu de navegação" }),
2236
2236
  t && /* @__PURE__ */ e("div", { className: "flex items-center", children: t })
2237
2237
  ] }),
2238
2238
  n && /* @__PURE__ */ e("div", { className: "border-b border-[var(--border)] px-5 py-4", children: n }),
@@ -2241,10 +2241,10 @@ const ct = x(
2241
2241
  {
2242
2242
  "aria-label": "Menu principal",
2243
2243
  className: "flex-1 overflow-y-auto px-5 py-3",
2244
- children: /* @__PURE__ */ e("div", { className: "divide-y divide-[var(--border)]", children: a.map((m) => /* @__PURE__ */ e("div", { className: "py-0.5", children: /* @__PURE__ */ e(Y, { item: m }) }, m.id)) })
2244
+ children: /* @__PURE__ */ e("div", { className: "divide-y divide-[var(--border)]", children: a.map((f) => /* @__PURE__ */ e("div", { className: "py-0.5", children: /* @__PURE__ */ e(Z, { item: f }) }, f.id)) })
2245
2245
  }
2246
2246
  ),
2247
- l && /* @__PURE__ */ e("div", { className: "border-t border-[var(--border)] px-5 py-4", children: l })
2247
+ s && /* @__PURE__ */ e("div", { className: "border-t border-[var(--border)] px-5 py-4", children: s })
2248
2248
  ] })
2249
2249
  ] })
2250
2250
  ] }),
@@ -2253,20 +2253,20 @@ const ct = x(
2253
2253
  {
2254
2254
  "aria-label": "Menu principal",
2255
2255
  className: "hidden border-t border-[var(--border)] py-2 md:flex",
2256
- children: /* @__PURE__ */ e(rt, { children: /* @__PURE__ */ e(ot, { children: a.map(
2257
- (m) => {
2256
+ children: /* @__PURE__ */ e(ot, { children: /* @__PURE__ */ e(it, { children: a.map(
2257
+ (f) => {
2258
2258
  var g;
2259
- return (g = m.children) != null && g.length ? /* @__PURE__ */ i(G, { children: [
2260
- /* @__PURE__ */ e(nt, { className: "h-9 bg-transparent text-sm text-[var(--foreground)] hover:bg-[var(--accent)]", children: m.label }),
2261
- /* @__PURE__ */ e(st, { children: /* @__PURE__ */ e(dt, { items: m.children }) })
2262
- ] }, m.id) : /* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(
2263
- B,
2259
+ return (g = f.children) != null && g.length ? /* @__PURE__ */ i(H, { children: [
2260
+ /* @__PURE__ */ e(st, { className: "h-9 bg-transparent text-sm text-[var(--foreground)] hover:bg-[var(--accent)]", children: f.label }),
2261
+ /* @__PURE__ */ e(lt, { children: /* @__PURE__ */ e(ct, { items: f.children }) })
2262
+ ] }, f.id) : /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(
2263
+ $,
2264
2264
  {
2265
- href: m.href ?? "#",
2265
+ href: f.href ?? "#",
2266
2266
  className: "inline-flex h-9 items-center rounded-md px-4 text-sm font-medium text-[var(--foreground)] transition-colors hover:bg-[var(--accent)] hover:text-[var(--accent-foreground)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
2267
- children: m.label
2267
+ children: f.label
2268
2268
  }
2269
- ) }, m.id);
2269
+ ) }, f.id);
2270
2270
  }
2271
2271
  ) }) })
2272
2272
  }
@@ -2275,8 +2275,8 @@ const ct = x(
2275
2275
  }
2276
2276
  )
2277
2277
  );
2278
- ct.displayName = "MegaMenu";
2279
- const ut = [
2278
+ ut.displayName = "MegaMenu";
2279
+ const mt = [
2280
2280
  {
2281
2281
  id: "catalogo",
2282
2282
  title: "Catálogo",
@@ -2309,20 +2309,20 @@ const ut = [
2309
2309
  { label: "Sobre o APP", href: "/sobre-app" }
2310
2310
  ]
2311
2311
  }
2312
- ], mt = [
2313
- { label: "Instagram", href: "https://instagram.com/eloeditora", Icon: Ne },
2314
- { label: "Facebook", href: "https://facebook.com/eloeditora", Icon: we },
2315
- { label: "YouTube", href: "https://youtube.com/@eloeditora", Icon: ye },
2316
- { label: "LinkedIn", href: "https://linkedin.com/company/eloeditora", Icon: ke }
2312
+ ], U = [
2313
+ { label: "Instagram", href: "https://instagram.com/eloeditora", Icon: we },
2314
+ { label: "Facebook", href: "https://facebook.com/eloeditora", Icon: ye },
2315
+ { label: "YouTube", href: "https://youtube.com/@eloeditora", Icon: ke },
2316
+ { label: "LinkedIn", href: "https://linkedin.com/company/eloeditora", Icon: ze }
2317
2317
  ];
2318
2318
  function ft({ onSubmit: a }) {
2319
- const [t, r] = k(""), [n, l] = k(!1);
2319
+ const [t, r] = k(""), [n, s] = k(!1);
2320
2320
  return /* @__PURE__ */ e("div", { className: "mx-auto w-full bg-[var(--brand-primary)] py-8 md:py-10 lg:py-12", style: { maxWidth: "var(--container-max)" }, children: /* @__PURE__ */ i("div", { className: "mx-auto max-w-lg px-[var(--container-px)] text-center", children: [
2321
- /* @__PURE__ */ e(ze, { className: "mx-auto mb-4 h-10 w-10 text-white", "aria-hidden": "true" }),
2321
+ /* @__PURE__ */ e(Ce, { className: "mx-auto mb-4 h-10 w-10 text-white", "aria-hidden": "true" }),
2322
2322
  /* @__PURE__ */ e("h2", { className: "text-xl font-semibold text-white sm:text-2xl", children: "Receba novidades e ofertas exclusivas" }),
2323
2323
  /* @__PURE__ */ e("p", { className: "mt-2 text-sm", style: { color: "rgba(255,255,255,0.85)" }, children: "Cadastre-se e fique por dentro dos lançamentos. Sem spam." }),
2324
- n ? /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-medium text-white", children: "Obrigado! Você está na lista. ✓" }) : /* @__PURE__ */ i("form", { onSubmit: (s) => {
2325
- s.preventDefault(), t && (a == null || a(t), l(!0), r(""));
2324
+ n ? /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-medium text-white", children: "Obrigado! Você está na lista. ✓" }) : /* @__PURE__ */ i("form", { onSubmit: (l) => {
2325
+ l.preventDefault(), t && (a == null || a(t), s(!0), r(""));
2326
2326
  }, className: "mt-6 flex flex-col gap-2 sm:flex-row", children: [
2327
2327
  /* @__PURE__ */ e("label", { htmlFor: "footer-newsletter-email", className: "sr-only", children: "Seu e-mail" }),
2328
2328
  /* @__PURE__ */ e(
@@ -2332,7 +2332,7 @@ function ft({ onSubmit: a }) {
2332
2332
  type: "email",
2333
2333
  required: !0,
2334
2334
  value: t,
2335
- onChange: (s) => r(s.target.value),
2335
+ onChange: (l) => r(l.target.value),
2336
2336
  placeholder: "Seu melhor e-mail",
2337
2337
  className: "min-h-[44px] flex-1 rounded-lg border border-white px-4 text-sm text-[#1a1e2e] placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-white"
2338
2338
  }
@@ -2357,12 +2357,12 @@ function gt({ title: a, links: t }) {
2357
2357
  {
2358
2358
  type: "button",
2359
2359
  "aria-expanded": r,
2360
- onClick: () => n((l) => !l),
2360
+ onClick: () => n((s) => !s),
2361
2361
  className: "flex w-full items-center justify-between py-4 text-left text-sm font-semibold text-[var(--foreground)] md:hidden",
2362
2362
  children: [
2363
2363
  a,
2364
2364
  /* @__PURE__ */ e(
2365
- O,
2365
+ X,
2366
2366
  {
2367
2367
  "aria-hidden": "true",
2368
2368
  className: o("h-4 w-4 text-[var(--muted-foreground)] transition-transform duration-200", r && "rotate-180")
@@ -2380,62 +2380,61 @@ function gt({ title: a, links: t }) {
2380
2380
  r ? "max-h-96 pb-4" : "max-h-0 md:max-h-none"
2381
2381
  ),
2382
2382
  role: "list",
2383
- children: t.map((l) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
2383
+ children: t.map((s) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
2384
2384
  "a",
2385
2385
  {
2386
- href: l.href,
2386
+ href: s.href,
2387
2387
  className: "text-sm text-[var(--muted-foreground)] transition-colors hover:text-[var(--brand-primary)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded",
2388
- children: l.label
2388
+ children: s.label
2389
2389
  }
2390
- ) }, l.label))
2390
+ ) }, s.label))
2391
2391
  }
2392
2392
  )
2393
2393
  ] });
2394
2394
  }
2395
- const pt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r, className: n, ...l }) => {
2396
- const [c, s] = k("light");
2397
- M(() => {
2398
- const f = document.documentElement;
2399
- s(f.getAttribute("data-theme") ?? "light");
2395
+ const pt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r, playStoreUrl: n, appStoreUrl: s, className: c, ...l }) => {
2396
+ const [u, f] = k("light");
2397
+ D(() => {
2398
+ const m = document.documentElement;
2399
+ f(m.getAttribute("data-theme") ?? "light");
2400
2400
  const p = new MutationObserver(() => {
2401
- s(f.getAttribute("data-theme") ?? "light");
2401
+ f(m.getAttribute("data-theme") ?? "light");
2402
2402
  });
2403
- return p.observe(f, { attributes: !0, attributeFilter: ["data-theme"] }), () => p.disconnect();
2403
+ return p.observe(m, { attributes: !0, attributeFilter: ["data-theme"] }), () => p.disconnect();
2404
2404
  }, []);
2405
- const u = a === "perabook" ? c === "dark" ? "/logos/logo_PeraBook_institucional_tarja_branca.png" : "/logos/PeraBook_instituicional.png" : c === "dark" ? "/logos/logo_elo_editora_texto_branco.png" : "/logos/logo_elo_institucional.png", m = a === "perabook" ? "PeraBook" : "Elo Editora", g = a === "perabook" ? "Educação socioemocional e diversidade cultural" : "Literatura infantojuvenil que transforma vidas";
2405
+ const g = a === "perabook" ? u === "dark" ? "/logos/logo_PeraBook_institucional_tarja_branca.png" : "/logos/PeraBook_instituicional.png" : u === "dark" ? "/logos/logo_elo_editora_texto_branco.png" : "/logos/logo_elo_institucional.png", b = a === "perabook" ? "PeraBook" : "Elo Editora";
2406
2406
  return /* @__PURE__ */ i(
2407
2407
  "footer",
2408
2408
  {
2409
- className: o("border-t border-[var(--border)] bg-[var(--card)] text-[var(--foreground)]", n),
2409
+ className: o("border-t border-[var(--border)] bg-[var(--card)] text-[var(--foreground)]", c),
2410
2410
  "aria-label": "Rodapé do site",
2411
2411
  ...l,
2412
2412
  children: [
2413
2413
  r !== void 0 ? r : /* @__PURE__ */ e(ft, { onSubmit: t }),
2414
2414
  /* @__PURE__ */ i("div", { className: "mx-auto max-w-screen-xl px-4", children: [
2415
- /* @__PURE__ */ i("div", { className: "py-10 md:grid md:grid-cols-4 md:gap-8", children: [
2415
+ /* @__PURE__ */ i("div", { className: "py-10 md:grid md:grid-cols-5 md:gap-8", children: [
2416
2416
  /* @__PURE__ */ i("div", { className: "mb-8 md:mb-0", children: [
2417
2417
  /* @__PURE__ */ e(
2418
2418
  "img",
2419
2419
  {
2420
- src: u,
2421
- alt: m,
2420
+ src: g,
2421
+ alt: b,
2422
2422
  width: 120,
2423
2423
  height: 40,
2424
2424
  className: "h-10 w-auto object-contain"
2425
2425
  }
2426
2426
  ),
2427
- /* @__PURE__ */ e("p", { className: "mt-3 max-w-xs text-sm text-[var(--muted-foreground)]", children: g }),
2428
- /* @__PURE__ */ e("div", { className: "mt-6 flex flex-wrap gap-2", "aria-label": "Redes sociais", children: mt.map(({ label: f, href: p, Icon: b }) => /* @__PURE__ */ e(
2427
+ /* @__PURE__ */ e("div", { className: "mt-6 flex flex-wrap gap-2", "aria-label": "Redes sociais", children: U.map(({ label: m, href: p, Icon: h }) => /* @__PURE__ */ e(
2429
2428
  "a",
2430
2429
  {
2431
2430
  href: p,
2432
2431
  target: "_blank",
2433
2432
  rel: "noopener noreferrer",
2434
- "aria-label": f,
2433
+ "aria-label": m,
2435
2434
  className: "flex h-9 w-9 items-center justify-center rounded-full border border-[var(--border)] text-[var(--muted-foreground)] transition-colors hover:border-[var(--brand-primary)] hover:bg-[var(--brand-primary)] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
2436
- children: /* @__PURE__ */ e(b, { className: "h-4 w-4", "aria-hidden": "true" })
2435
+ children: /* @__PURE__ */ e(h, { className: "h-4 w-4", "aria-hidden": "true" })
2437
2436
  },
2438
- f
2437
+ m
2439
2438
  )) }),
2440
2439
  /* @__PURE__ */ i("div", { className: "mt-6 space-y-1 text-sm", children: [
2441
2440
  /* @__PURE__ */ e("p", { className: "text-[var(--muted-foreground)]", children: "Atendimento:" }),
@@ -2443,7 +2442,65 @@ const pt = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2443
2442
  /* @__PURE__ */ e("p", { className: "font-medium text-[var(--foreground)]", children: "(11) 3000-0000" })
2444
2443
  ] })
2445
2444
  ] }),
2446
- ut.map((f) => /* @__PURE__ */ e(gt, { title: f.title, links: f.links }, f.id))
2445
+ mt.map((m) => /* @__PURE__ */ e(gt, { title: m.title, links: m.links }, m.id)),
2446
+ /* @__PURE__ */ i("div", { className: "mb-8 md:mb-0", children: [
2447
+ /* @__PURE__ */ e("p", { className: "text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Baixe nosso app" }),
2448
+ /* @__PURE__ */ i("div", { className: "mt-3 flex flex-col gap-2", children: [
2449
+ /* @__PURE__ */ e(
2450
+ "a",
2451
+ {
2452
+ href: n ?? "#",
2453
+ target: "_blank",
2454
+ rel: "noopener noreferrer",
2455
+ "aria-label": "Disponível no Google Play",
2456
+ className: "inline-block transition-opacity hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded-lg",
2457
+ children: /* @__PURE__ */ e(
2458
+ "img",
2459
+ {
2460
+ src: "/badges/google-play.png",
2461
+ alt: "Disponível no Google Play",
2462
+ width: 135,
2463
+ height: 40,
2464
+ className: "h-10 w-auto"
2465
+ }
2466
+ )
2467
+ }
2468
+ ),
2469
+ /* @__PURE__ */ e(
2470
+ "a",
2471
+ {
2472
+ href: s ?? "#",
2473
+ target: "_blank",
2474
+ rel: "noopener noreferrer",
2475
+ "aria-label": "Disponível na App Store",
2476
+ className: "inline-block transition-opacity hover:opacity-80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] rounded-lg",
2477
+ children: /* @__PURE__ */ e(
2478
+ "img",
2479
+ {
2480
+ src: "/badges/app-store.png",
2481
+ alt: "Disponível na App Store",
2482
+ width: 135,
2483
+ height: 40,
2484
+ className: "h-10 w-auto"
2485
+ }
2486
+ )
2487
+ }
2488
+ )
2489
+ ] }),
2490
+ /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Compartilhe" }),
2491
+ /* @__PURE__ */ e("div", { className: "mt-3 flex flex-wrap gap-2", "aria-label": "Compartilhe nas redes sociais", children: U.map(({ label: m, href: p, Icon: h }) => /* @__PURE__ */ e(
2492
+ "a",
2493
+ {
2494
+ href: p,
2495
+ target: "_blank",
2496
+ rel: "noopener noreferrer",
2497
+ "aria-label": m,
2498
+ className: "flex h-9 w-9 items-center justify-center rounded-full border border-[var(--border)] text-[var(--muted-foreground)] transition-colors hover:border-[var(--brand-primary)] hover:bg-[var(--brand-primary)] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]",
2499
+ children: /* @__PURE__ */ e(h, { className: "h-4 w-4", "aria-hidden": "true" })
2500
+ },
2501
+ m
2502
+ )) })
2503
+ ] })
2447
2504
  ] }),
2448
2505
  /* @__PURE__ */ i("div", { className: "flex flex-col gap-2 border-t border-[var(--border)] py-6 text-xs text-[var(--muted-foreground)] sm:flex-row sm:items-center sm:justify-between", children: [
2449
2506
  /* @__PURE__ */ i("p", { children: [
@@ -2489,72 +2546,72 @@ function ra({ children: a, span: t, className: r }) {
2489
2546
  }
2490
2547
  export {
2491
2548
  Vt as Accordion,
2492
- Ht as AccordionContent,
2549
+ Gt as AccordionContent,
2493
2550
  Ft as AccordionItem,
2494
2551
  qt as AccordionTrigger,
2495
- De as Avatar,
2552
+ Pe as Avatar,
2496
2553
  A as Badge,
2497
- Rt as Breadcrumb,
2498
- Et as BreadcrumbItem,
2499
- Tt as BreadcrumbLink,
2500
- _t as BreadcrumbList,
2501
- $t as BreadcrumbPage,
2502
- Bt as BreadcrumbSeparator,
2554
+ Lt as Breadcrumb,
2555
+ Bt as BreadcrumbItem,
2556
+ Et as BreadcrumbLink,
2557
+ Rt as BreadcrumbList,
2558
+ Tt as BreadcrumbPage,
2559
+ $t as BreadcrumbSeparator,
2503
2560
  C as Button,
2504
- Dt as Checkbox,
2561
+ Mt as Checkbox,
2505
2562
  ra as Col,
2506
- et as Container,
2563
+ tt as Container,
2507
2564
  Ot as DialogContent,
2508
2565
  Jt as DialogDescription,
2509
2566
  Yt as DialogFooter,
2510
2567
  Xt as DialogHeader,
2511
2568
  Zt as DialogTitle,
2512
2569
  Kt as DialogTrigger,
2513
- Ae as Divider,
2514
- Qe as Drawer,
2515
- X as EmptyState,
2516
- qe as ErrorState,
2570
+ Le as Divider,
2571
+ We as Drawer,
2572
+ Y as EmptyState,
2573
+ Ge as ErrorState,
2517
2574
  pt as Footer,
2518
- Be as FormGroup,
2575
+ Ve as FormGroup,
2519
2576
  aa as Grid,
2520
- Fe as Hero,
2521
- at as HeroCarousel,
2577
+ qe as Hero,
2578
+ rt as HeroCarousel,
2522
2579
  zt as Input,
2523
- ct as MegaMenu,
2580
+ ut as MegaMenu,
2524
2581
  Wt as Modal,
2525
2582
  Te as PriceDisplay,
2526
- $ as ProductCard,
2583
+ T as ProductCard,
2527
2584
  He as ProductGrid,
2528
2585
  la as ProgressBar,
2529
2586
  $e as QuantitySelector,
2530
- Lt as RadioGroup,
2531
- Pt as RadioGroupItem,
2532
- T as Rating,
2587
+ Pt as RadioGroup,
2588
+ _t as RadioGroupItem,
2589
+ E as Rating,
2533
2590
  Ee as SearchBar,
2534
2591
  Ct as Select,
2535
2592
  jt as SelectContent,
2536
- Mt as SelectItem,
2593
+ Dt as SelectItem,
2537
2594
  It as SelectTrigger,
2538
2595
  St as SelectValue,
2539
- Ye as SheetContent,
2596
+ Ze as SheetContent,
2540
2597
  ta as SheetDescription,
2541
2598
  ea as SheetFooter,
2542
- Ze as SheetHeader,
2543
- Je as SheetTitle,
2544
- We as SheetTrigger,
2545
- Pe as Spinner,
2546
- Ie as Textarea,
2599
+ Je as SheetHeader,
2600
+ et as SheetTitle,
2601
+ Ke as SheetTrigger,
2602
+ Ae as Spinner,
2603
+ je as Textarea,
2547
2604
  At as Toggle,
2548
- Gt as Tooltip,
2605
+ Ht as Tooltip,
2549
2606
  Qt as TooltipContent,
2550
- Ve as TooltipProvider,
2607
+ Fe as TooltipProvider,
2551
2608
  Ut as TooltipTrigger,
2552
- tt as TopAccessibilityBar,
2609
+ at as TopAccessibilityBar,
2553
2610
  Me as avatarVariants,
2554
- je as badgeVariants,
2555
- Se as buttonVariants,
2611
+ De as badgeVariants,
2612
+ Ie as buttonVariants,
2556
2613
  o as cn,
2557
- Le as spinnerVariants,
2614
+ _e as spinnerVariants,
2558
2615
  na as toast
2559
2616
  };
2560
2617
  //# sourceMappingURL=index.js.map