@grupo-elo-editorial/shared-ui-react 1.3.5 → 1.3.7

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 Y } from "clsx";
3
- import { twMerge as J } from "tailwind-merge";
4
- import { jsx as e, jsxs as i, Fragment as A } from "react/jsx-runtime";
5
- import { forwardRef as x, useState as k, useEffect as j } 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 B, 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, Mail as Ne } from "lucide-react";
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
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 we } from "@radix-ui/react-slot";
12
+ import { Slot as Se } from "@radix-ui/react-slot";
13
13
  import * as M from "@radix-ui/react-accordion";
14
14
  import * as I from "@radix-ui/react-tooltip";
15
- import { toast as ta } from "sonner";
16
- import { Progress as ra } from "@radix-ui/react-progress";
15
+ import { toast as na } from "sonner";
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(Y(a));
20
+ return ee(J(a));
21
21
  }
22
- const ye = P(
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,7 +45,7 @@ const ye = P(
45
45
  size: "md"
46
46
  }
47
47
  }
48
- ), C = x(
48
+ ), C = N(
49
49
  ({
50
50
  className: a,
51
51
  variant: t,
@@ -55,19 +55,19 @@ const ye = P(
55
55
  leftIcon: c,
56
56
  rightIcon: l,
57
57
  children: u,
58
- disabled: m,
58
+ disabled: f,
59
59
  ...g
60
- }, v) => /* @__PURE__ */ e(
60
+ }, b) => /* @__PURE__ */ e(
61
61
  "button",
62
62
  {
63
- className: o(ye({ variant: t, size: r, fullWidth: n, className: a })),
64
- ref: v,
65
- disabled: m || s,
63
+ className: o(Ie({ variant: t, size: r, fullWidth: n, className: a })),
64
+ ref: b,
65
+ disabled: f || s,
66
66
  ...g,
67
- children: s ? /* @__PURE__ */ i(A, { 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(A, { children: [
70
+ ] }) : /* @__PURE__ */ i(_, { children: [
71
71
  c && /* @__PURE__ */ e("span", { className: "inline-flex", children: c }),
72
72
  u,
73
73
  l && /* @__PURE__ */ e("span", { className: "inline-flex", children: l })
@@ -76,7 +76,7 @@ const ye = P(
76
76
  )
77
77
  );
78
78
  C.displayName = "Button";
79
- const ke = x(
79
+ const je = N(
80
80
  ({ className: a, error: t, helperText: r, ...n }, s) => /* @__PURE__ */ i("div", { className: "w-full", children: [
81
81
  /* @__PURE__ */ e(
82
82
  "textarea",
@@ -106,8 +106,8 @@ const ke = x(
106
106
  )
107
107
  ] })
108
108
  );
109
- ke.displayName = "Textarea";
110
- const ze = P(
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,12 +131,12 @@ const ze = P(
131
131
  size: "md"
132
132
  }
133
133
  }
134
- ), _ = x(
134
+ ), A = N(
135
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(ze({ variant: t, size: r }), a),
139
+ className: o(De({ variant: t, size: r }), a),
140
140
  ...l,
141
141
  children: [
142
142
  n && /* @__PURE__ */ e("span", { className: "mr-1 inline-flex", children: n }),
@@ -154,8 +154,8 @@ const ze = P(
154
154
  }
155
155
  )
156
156
  );
157
- _.displayName = "Badge";
158
- const Ce = P(
157
+ A.displayName = "Badge";
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,37 +170,37 @@ const Ce = P(
170
170
  size: "md"
171
171
  }
172
172
  }
173
- ), Se = x(
174
- ({ className: a, size: t, src: r, alt: n, name: s, showStatus: c, statusType: l = "online", ...u }, m) => {
175
- const [g, v] = k(!1), f = (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(Ce({ 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
191
  alt: n || s || "Avatar",
192
- onError: () => v(!0),
192
+ onError: () => b(!0),
193
193
  className: "h-full w-full object-cover",
194
194
  ...u
195
195
  }
196
- ) : s ? /* @__PURE__ */ e("span", { className: "font-medium", children: f(s) }) : /* @__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[l],
203
- N[t || "md"]
202
+ p[l],
203
+ h[t || "md"]
204
204
  ),
205
205
  "aria-label": `Status: ${l}`
206
206
  }
@@ -208,8 +208,8 @@ const Ce = P(
208
208
  ] });
209
209
  }
210
210
  );
211
- Se.displayName = "Avatar";
212
- const Ie = P("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,7 +221,7 @@ const Ie = P("animate-spin text-[var(--brand-primary)]", {
221
221
  defaultVariants: {
222
222
  size: "md"
223
223
  }
224
- }), De = x(
224
+ }), Ae = N(
225
225
  ({ className: a, size: t, label: r, ...n }, s) => /* @__PURE__ */ i(
226
226
  "div",
227
227
  {
@@ -231,14 +231,14 @@ const Ie = P("animate-spin text-[var(--brand-primary)]", {
231
231
  className: o("inline-flex items-center justify-center", a),
232
232
  ...n,
233
233
  children: [
234
- /* @__PURE__ */ e(V, { className: o(Ie({ 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
- De.displayName = "Spinner";
241
- const je = x(
240
+ Ae.displayName = "Spinner";
241
+ const Le = N(
242
242
  ({ className: a, orientation: t = "horizontal", variant: r = "solid", text: n, ...s }, c) => {
243
243
  const l = {
244
244
  solid: "border-solid",
@@ -284,8 +284,8 @@ const je = x(
284
284
  );
285
285
  }
286
286
  );
287
- je.displayName = "Divider";
288
- const L = x(
287
+ Le.displayName = "Divider";
288
+ const E = N(
289
289
  ({
290
290
  className: a,
291
291
  value: t = 0,
@@ -295,50 +295,50 @@ const L = x(
295
295
  onChange: c,
296
296
  showValue: l = !1,
297
297
  ...u
298
- }, m) => {
299
- const [g, v] = k(0), f = {
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
- !s && 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
321
  disabled: s,
322
- onClick: () => b(h),
323
- onMouseEnter: () => !s && v(h),
324
- onMouseLeave: () => !s && v(0),
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
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
- f[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
344
  l && /* @__PURE__ */ e("span", { className: "ml-1 text-sm font-medium text-[var(--foreground)]", children: t.toFixed(1) })
@@ -347,8 +347,8 @@ const L = x(
347
347
  );
348
348
  }
349
349
  );
350
- L.displayName = "Rating";
351
- function xt({ className: a, type: t, ...r }) {
350
+ E.displayName = "Rating";
351
+ function zt({ className: a, type: t, ...r }) {
352
352
  return /* @__PURE__ */ e(
353
353
  "input",
354
354
  {
@@ -364,17 +364,17 @@ function xt({ className: a, type: t, ...r }) {
364
364
  }
365
365
  );
366
366
  }
367
- function Nt({
367
+ function Ct({
368
368
  ...a
369
369
  }) {
370
370
  return /* @__PURE__ */ e(z.Root, { "data-slot": "select", ...a });
371
371
  }
372
- function wt({
372
+ function St({
373
373
  ...a
374
374
  }) {
375
375
  return /* @__PURE__ */ e(z.Value, { "data-slot": "select-value", ...a });
376
376
  }
377
- function yt({
377
+ function It({
378
378
  className: a,
379
379
  size: t = "default",
380
380
  children: r,
@@ -392,12 +392,12 @@ function yt({
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
  );
399
399
  }
400
- function kt({
400
+ function jt({
401
401
  className: a,
402
402
  children: t,
403
403
  position: r = "popper",
@@ -415,7 +415,7 @@ function kt({
415
415
  position: r,
416
416
  ...n,
417
417
  children: [
418
- /* @__PURE__ */ e(Me, {}),
418
+ /* @__PURE__ */ e(Re, {}),
419
419
  /* @__PURE__ */ e(
420
420
  z.Viewport,
421
421
  {
@@ -426,12 +426,12 @@ function kt({
426
426
  children: t
427
427
  }
428
428
  ),
429
- /* @__PURE__ */ e(Pe, {})
429
+ /* @__PURE__ */ e(Be, {})
430
430
  ]
431
431
  }
432
432
  ) });
433
433
  }
434
- function zt({
434
+ function Dt({
435
435
  className: a,
436
436
  children: t,
437
437
  ...r
@@ -446,13 +446,13 @@ function zt({
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
  }
453
453
  );
454
454
  }
455
- function Me({
455
+ function Re({
456
456
  className: a,
457
457
  ...t
458
458
  }) {
@@ -465,11 +465,11 @@ function Me({
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 Pe({
472
+ function Be({
473
473
  className: a,
474
474
  ...t
475
475
  }) {
@@ -482,11 +482,11 @@ function Pe({
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 Ct({
489
+ function Mt({
490
490
  className: a,
491
491
  ...t
492
492
  }) {
@@ -504,18 +504,18 @@ function Ct({
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 St({
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 St({
523
523
  }
524
524
  );
525
525
  }
526
- function It({
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,17 +537,17 @@ function It({
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
  }
548
548
  );
549
549
  }
550
- function Dt({
550
+ function At({
551
551
  className: a,
552
552
  ...t
553
553
  }) {
@@ -579,7 +579,7 @@ function G({
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,
@@ -589,23 +589,23 @@ const $ = x(
589
589
  originalPrice: c,
590
590
  rating: l,
591
591
  reviewCount: u,
592
- badge: m,
592
+ badge: f,
593
593
  badgeVariant: g = "default",
594
- isSkeleton: v = !1,
595
- isOutOfStock: f = !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
- orientation: p = "vertical",
600
+ orientation: v = "vertical",
601
601
  ...y
602
- }, D) => v ? /* @__PURE__ */ i(
602
+ }, j) => b ? /* @__PURE__ */ i(
603
603
  "div",
604
604
  {
605
- ref: D,
605
+ ref: j,
606
606
  className: o(
607
607
  "flex rounded-lg border-2 border-[var(--border)] bg-[var(--card)] p-4 animate-pulse",
608
- p === "horizontal" ? "flex-row gap-3" : "flex-col",
608
+ v === "horizontal" ? "flex-row gap-3" : "flex-col",
609
609
  a
610
610
  ),
611
611
  ...y,
@@ -615,24 +615,24 @@ const $ = x(
615
615
  {
616
616
  className: o(
617
617
  "rounded-lg bg-[var(--muted)]",
618
- p === "horizontal" ? "h-24 w-20 shrink-0" : "w-full aspect-square"
618
+ v === "horizontal" ? "h-24 w-20 shrink-0" : "w-full aspect-square"
619
619
  )
620
620
  }
621
621
  ),
622
- /* @__PURE__ */ i("div", { className: o("flex flex-col gap-2", p === "horizontal" ? "flex-1" : "mt-3"), children: [
622
+ /* @__PURE__ */ i("div", { className: o("flex flex-col gap-2", v === "horizontal" ? "flex-1" : "mt-3"), children: [
623
623
  /* @__PURE__ */ e("div", { className: "h-4 w-3/4 rounded bg-[var(--muted)]" }),
624
624
  /* @__PURE__ */ e("div", { className: "h-4 w-1/2 rounded bg-[var(--muted)]" }),
625
625
  /* @__PURE__ */ e("div", { className: "h-10 w-full rounded bg-[var(--muted)]" })
626
626
  ] })
627
627
  ]
628
628
  }
629
- ) : p === "horizontal" ? /* @__PURE__ */ i(
629
+ ) : v === "horizontal" ? /* @__PURE__ */ i(
630
630
  "div",
631
631
  {
632
- ref: D,
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
- f && "opacity-60",
635
+ m && "opacity-60",
636
636
  a
637
637
  ),
638
638
  ...y,
@@ -663,7 +663,7 @@ const $ = x(
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
665
  l !== void 0 && /* @__PURE__ */ i("div", { className: "flex items-center gap-1", children: [
666
- /* @__PURE__ */ e(L, { value: l, size: "sm", readonly: !0 }),
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,
@@ -680,17 +680,17 @@ const $ = x(
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: f,
686
+ onClick: p,
687
+ disabled: m,
688
688
  variant: "primary",
689
689
  size: "sm",
690
690
  fullWidth: !0,
691
- leftIcon: /* @__PURE__ */ e(B, { 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: f ? "Indisponível" : "Adicionar"
693
+ children: m ? "Indisponível" : "Adicionar"
694
694
  }
695
695
  )
696
696
  ] })
@@ -699,10 +699,10 @@ const $ = x(
699
699
  ) : /* @__PURE__ */ i(
700
700
  "div",
701
701
  {
702
- ref: D,
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
- f && "opacity-60",
705
+ m && "opacity-60",
706
706
  a
707
707
  ),
708
708
  ...y,
@@ -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(_, { variant: g, children: m }) }),
725
- f && /* @__PURE__ */ e("div", { className: "absolute inset-0 flex items-center justify-center bg-black/60", children: /* @__PURE__ */ e(_, { 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
  )
@@ -754,7 +754,7 @@ const $ = x(
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
756
  l !== void 0 && /* @__PURE__ */ i("div", { className: "mt-2 flex items-center gap-2", children: [
757
- /* @__PURE__ */ e(L, { value: l, size: "sm", readonly: !0 }),
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,
@@ -771,22 +771,22 @@ const $ = x(
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: f,
777
+ onClick: p,
778
+ disabled: m,
779
779
  variant: "primary",
780
780
  size: "md",
781
781
  fullWidth: !0,
782
- leftIcon: /* @__PURE__ */ e(B, { 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: f ? "Indisponível" : "Adicionar"
789
+ children: m ? "Indisponível" : "Adicionar"
790
790
  }
791
791
  )
792
792
  ] })
@@ -794,8 +794,8 @@ const $ = x(
794
794
  }
795
795
  )
796
796
  );
797
- $.displayName = "ProductCard";
798
- const Ae = x(
797
+ T.displayName = "ProductCard";
798
+ const Ee = N(
799
799
  ({
800
800
  className: a,
801
801
  onSearch: t,
@@ -805,59 +805,59 @@ const Ae = x(
805
805
  placeholder: c = "Buscar...",
806
806
  value: l,
807
807
  onChange: u,
808
- ...m
808
+ ...f
809
809
  }, g) => {
810
- const [v, f] = k(""), b = l !== void 0 ? l : v, 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) => {
815
- const D = y.target.value;
816
- l === void 0 && f(D), u == null || u(y);
814
+ }, x = (y) => {
815
+ const j = y.target.value;
816
+ l === void 0 && m(j), u == null || u(y);
817
817
  }, d = () => {
818
- l === void 0 && f(""), r == null || r();
819
- }, p = (y) => {
820
- y.key === "Enter" && t && t(b);
818
+ l === void 0 && m(""), r == null || r();
819
+ }, v = (y) => {
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,
831
- onKeyDown: p,
829
+ value: p,
830
+ onChange: x,
831
+ onKeyDown: v,
832
832
  placeholder: c,
833
833
  className: o(
834
834
  "w-full rounded-lg border-2 border-[var(--border)] bg-[var(--input-background)] pl-10 pr-10 font-normal transition-colors",
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[s]
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
  ] })
856
856
  ] }) });
857
857
  }
858
858
  );
859
- Ae.displayName = "SearchBar";
860
- const _e = x(
859
+ Ee.displayName = "SearchBar";
860
+ const Te = N(
861
861
  ({
862
862
  className: a,
863
863
  price: t,
@@ -867,22 +867,22 @@ const _e = x(
867
867
  showDiscount: c = !0,
868
868
  installments: l,
869
869
  ...u
870
- }, m) => {
871
- const g = r && r > t ? Math.round((r - t) / r * 100) : 0, v = {
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
- }, f = {
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)]", v[s]), 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 _e = x(
892
892
  {
893
893
  className: o(
894
894
  "text-[var(--muted-foreground)] line-through",
895
- f[s]
895
+ m[s]
896
896
  ),
897
897
  children: [
898
898
  n,
@@ -902,7 +902,7 @@ const _e = x(
902
902
  }
903
903
  )
904
904
  ] }),
905
- c && g > 0 && /* @__PURE__ */ i(_, { variant: "success", size: "sm", children: [
905
+ c && g > 0 && /* @__PURE__ */ i(A, { variant: "success", size: "sm", children: [
906
906
  "-",
907
907
  g,
908
908
  "%"
@@ -920,8 +920,8 @@ const _e = x(
920
920
  ] });
921
921
  }
922
922
  );
923
- _e.displayName = "PriceDisplay";
924
- const Re = x(
923
+ Te.displayName = "PriceDisplay";
924
+ const $e = N(
925
925
  ({
926
926
  className: a,
927
927
  value: t,
@@ -931,25 +931,25 @@ const Re = x(
931
931
  size: c = "md",
932
932
  disabled: l = !1,
933
933
  showLabel: u = !1,
934
- ...m
934
+ ...f
935
935
  }, g) => {
936
- const v = () => {
936
+ const b = () => {
937
937
  t < n && s(t + 1);
938
- }, f = () => {
938
+ }, m = () => {
939
939
  t > r && s(t - 1);
940
- }, b = (d) => {
941
- const p = parseInt(d.target.value);
942
- !isNaN(p) && p >= r && p <= n && s(p);
943
- }, N = {
940
+ }, p = (d) => {
941
+ const v = parseInt(d.target.value);
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 Re = x(
958
958
  type: "button",
959
959
  variant: "secondary",
960
960
  size: "sm",
961
- onClick: f,
961
+ onClick: m,
962
962
  disabled: l || t <= r,
963
- className: o(N[c], "p-0"),
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,7 +970,7 @@ const Re = 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
976
  disabled: l,
@@ -979,7 +979,7 @@ const Re = x(
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,20 +990,20 @@ const Re = x(
990
990
  type: "button",
991
991
  variant: "secondary",
992
992
  size: "sm",
993
- onClick: v,
993
+ onClick: b,
994
994
  disabled: l || t >= n,
995
- className: o(N[c], "p-0"),
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
  ] })
1001
1001
  ] });
1002
1002
  }
1003
1003
  );
1004
- Re.displayName = "QuantitySelector";
1005
- const Be = x(
1006
- ({ className: a, label: t, htmlFor: r, required: n, error: s, helperText: c, children: l, ...u }, m) => /* @__PURE__ */ i("div", { ref: m, className: o("flex flex-col gap-1.5", a), ...u, children: [
1004
+ $e.displayName = "QuantitySelector";
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
  {
@@ -1028,11 +1028,11 @@ const Be = x(
1028
1028
  )
1029
1029
  ] })
1030
1030
  );
1031
- Be.displayName = "FormGroup";
1032
- function jt({ ...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 Mt({ className: a, ...t }) {
1035
+ function Rt({ className: a, ...t }) {
1036
1036
  return /* @__PURE__ */ e(
1037
1037
  "ol",
1038
1038
  {
@@ -1045,7 +1045,7 @@ function Mt({ className: a, ...t }) {
1045
1045
  }
1046
1046
  );
1047
1047
  }
1048
- function Pt({ className: a, ...t }) {
1048
+ function Bt({ className: a, ...t }) {
1049
1049
  return /* @__PURE__ */ e(
1050
1050
  "li",
1051
1051
  {
@@ -1055,13 +1055,13 @@ function Pt({ className: a, ...t }) {
1055
1055
  }
1056
1056
  );
1057
1057
  }
1058
- function At({
1058
+ function Et({
1059
1059
  asChild: a,
1060
1060
  className: t,
1061
1061
  ...r
1062
1062
  }) {
1063
1063
  return /* @__PURE__ */ e(
1064
- a ? we : "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 At({
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 Rt({
1085
+ function $t({
1086
1086
  children: a,
1087
1087
  className: t,
1088
1088
  ...r
@@ -1095,16 +1095,16 @@ function Rt({
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
- function Bt({
1102
+ function Vt({
1103
1103
  ...a
1104
1104
  }) {
1105
1105
  return /* @__PURE__ */ e(M.Root, { "data-slot": "accordion", ...a });
1106
1106
  }
1107
- function Et({
1107
+ function Ft({
1108
1108
  className: a,
1109
1109
  ...t
1110
1110
  }) {
@@ -1117,7 +1117,7 @@ function Et({
1117
1117
  }
1118
1118
  );
1119
1119
  }
1120
- function Lt({
1120
+ function qt({
1121
1121
  className: a,
1122
1122
  children: t,
1123
1123
  ...r
@@ -1133,12 +1133,12 @@ function Lt({
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 $t({
1141
+ function Gt({
1142
1142
  className: a,
1143
1143
  children: t,
1144
1144
  ...r
@@ -1153,7 +1153,7 @@ function $t({
1153
1153
  }
1154
1154
  );
1155
1155
  }
1156
- function Ee({
1156
+ function Fe({
1157
1157
  delayDuration: a = 0,
1158
1158
  ...t
1159
1159
  }) {
@@ -1166,17 +1166,17 @@ function Ee({
1166
1166
  }
1167
1167
  );
1168
1168
  }
1169
- function Tt({
1169
+ function Ht({
1170
1170
  ...a
1171
1171
  }) {
1172
- return /* @__PURE__ */ e(Ee, { 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
- function Vt({
1174
+ function Ut({
1175
1175
  ...a
1176
1176
  }) {
1177
1177
  return /* @__PURE__ */ e(I.Trigger, { "data-slot": "tooltip-trigger", ...a });
1178
1178
  }
1179
- function Ft({
1179
+ function Qt({
1180
1180
  className: a,
1181
1181
  sideOffset: t = 0,
1182
1182
  children: r,
@@ -1199,7 +1199,7 @@ function Ft({
1199
1199
  }
1200
1200
  ) });
1201
1201
  }
1202
- const Le = x(
1202
+ const qe = N(
1203
1203
  ({
1204
1204
  className: a,
1205
1205
  variant: t = "default",
@@ -1209,13 +1209,13 @@ const Le = x(
1209
1209
  primaryCTA: c,
1210
1210
  secondaryCTA: l,
1211
1211
  backgroundImage: u,
1212
- overlay: m = !0,
1212
+ overlay: f = !0,
1213
1213
  children: g,
1214
- ...v
1215
- }, f) => /* @__PURE__ */ i(
1214
+ ...b
1215
+ }, m) => /* @__PURE__ */ i(
1216
1216
  "section",
1217
1217
  {
1218
- ref: f,
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 Le = x(
1225
1225
  }[t],
1226
1226
  a
1227
1227
  ),
1228
- ...v,
1228
+ ...b,
1229
1229
  children: [
1230
- u && /* @__PURE__ */ i(A, { children: [
1230
+ u && /* @__PURE__ */ i(_, { children: [
1231
1231
  /* @__PURE__ */ e(
1232
1232
  "div",
1233
1233
  {
@@ -1235,7 +1235,7 @@ const Le = 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",
@@ -1306,8 +1306,8 @@ const Le = x(
1306
1306
  }
1307
1307
  )
1308
1308
  );
1309
- Le.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",
@@ -1318,10 +1318,10 @@ const X = x(
1318
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(B, { 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",
@@ -1351,8 +1351,8 @@ const X = x(
1351
1351
  );
1352
1352
  }
1353
1353
  );
1354
- X.displayName = "EmptyState";
1355
- const $e = x(
1354
+ Y.displayName = "EmptyState";
1355
+ const Ge = N(
1356
1356
  ({
1357
1357
  className: a,
1358
1358
  type: t = "generic",
@@ -1362,9 +1362,9 @@ const $e = x(
1362
1362
  onGoHome: c,
1363
1363
  showRetry: l = !0,
1364
1364
  showHome: u = !0,
1365
- ...m
1365
+ ...f
1366
1366
  }, g) => {
1367
- const f = {
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 $e = x(
1385
1385
  message: "Ocorreu um erro inesperado. Por favor, tente novamente.",
1386
1386
  code: ""
1387
1387
  }
1388
- }[t], b = r || f.title, N = n || f.message;
1388
+ }[t], p = r || m.title, h = n || m.message;
1389
1389
  return /* @__PURE__ */ i(
1390
1390
  "div",
1391
1391
  {
@@ -1396,14 +1396,14 @@ const $e = 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
- f.code && /* @__PURE__ */ e("h1", { className: "text-9xl font-bold text-[var(--muted)] opacity-40", children: f.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
1408
  l && s && /* @__PURE__ */ e(
1409
1409
  C,
@@ -1411,7 +1411,7 @@ const $e = x(
1411
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 $e = 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,8 +1431,8 @@ const $e = x(
1431
1431
  );
1432
1432
  }
1433
1433
  );
1434
- $e.displayName = "ErrorState";
1435
- const Te = x(
1434
+ Ge.displayName = "ErrorState";
1435
+ const He = N(
1436
1436
  ({
1437
1437
  className: a,
1438
1438
  products: t,
@@ -1442,9 +1442,9 @@ const Te = x(
1442
1442
  skeletonCount: c = 8,
1443
1443
  emptyStateMessage: l = "Nenhum produto encontrado",
1444
1444
  onEmptyAction: u,
1445
- ...m
1445
+ ...f
1446
1446
  }, g) => {
1447
- const v = {
1447
+ const b = {
1448
1448
  sm: "gap-4",
1449
1449
  md: "gap-6",
1450
1450
  lg: "gap-8"
@@ -1455,23 +1455,23 @@ const Te = x(
1455
1455
  ref: g,
1456
1456
  className: o(
1457
1457
  "grid grid-cols-2 lg:grid-cols-4",
1458
- v[n],
1458
+ b[n],
1459
1459
  a
1460
1460
  ),
1461
- ...m,
1462
- children: Array.from({ length: c }).map((f, 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
1477
  title: l,
@@ -1487,32 +1487,32 @@ const Te = x(
1487
1487
  ref: g,
1488
1488
  className: o(
1489
1489
  "grid grid-cols-2 lg:grid-cols-4",
1490
- v[n],
1490
+ b[n],
1491
1491
  a
1492
1492
  ),
1493
- ...m,
1494
- children: t.map((f, b) => /* @__PURE__ */ e($, { ...f }, b))
1493
+ ...f,
1494
+ children: t.map((m, p) => /* @__PURE__ */ e(T, { ...m }, p))
1495
1495
  }
1496
1496
  );
1497
1497
  }
1498
1498
  );
1499
- Te.displayName = "ProductGrid";
1500
- function qt({
1499
+ He.displayName = "ProductGrid";
1500
+ function Wt({
1501
1501
  ...a
1502
1502
  }) {
1503
1503
  return /* @__PURE__ */ e(w.Root, { "data-slot": "dialog", ...a });
1504
1504
  }
1505
- function Gt({
1505
+ function Kt({
1506
1506
  ...a
1507
1507
  }) {
1508
1508
  return /* @__PURE__ */ e(w.Trigger, { "data-slot": "dialog-trigger", ...a });
1509
1509
  }
1510
- function Ve({
1510
+ function Ue({
1511
1511
  ...a
1512
1512
  }) {
1513
1513
  return /* @__PURE__ */ e(w.Portal, { "data-slot": "dialog-portal", ...a });
1514
1514
  }
1515
- function Fe({
1515
+ function Qe({
1516
1516
  className: a,
1517
1517
  ...t
1518
1518
  }) {
@@ -1528,13 +1528,13 @@ function Fe({
1528
1528
  }
1529
1529
  );
1530
1530
  }
1531
- function Ht({
1531
+ function Ot({
1532
1532
  className: a,
1533
1533
  children: t,
1534
1534
  ...r
1535
1535
  }) {
1536
- return /* @__PURE__ */ i(Ve, { "data-slot": "dialog-portal", children: [
1537
- /* @__PURE__ */ e(Fe, {}),
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 Ht({
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
  ]
@@ -1555,7 +1555,7 @@ function Ht({
1555
1555
  )
1556
1556
  ] });
1557
1557
  }
1558
- function Ut({ className: a, ...t }) {
1558
+ function Xt({ className: a, ...t }) {
1559
1559
  return /* @__PURE__ */ e(
1560
1560
  "div",
1561
1561
  {
@@ -1565,7 +1565,7 @@ function Ut({ className: a, ...t }) {
1565
1565
  }
1566
1566
  );
1567
1567
  }
1568
- function Qt({ className: a, ...t }) {
1568
+ function Yt({ className: a, ...t }) {
1569
1569
  return /* @__PURE__ */ e(
1570
1570
  "div",
1571
1571
  {
@@ -1578,7 +1578,7 @@ function Qt({ className: a, ...t }) {
1578
1578
  }
1579
1579
  );
1580
1580
  }
1581
- function Wt({
1581
+ function Zt({
1582
1582
  className: a,
1583
1583
  ...t
1584
1584
  }) {
@@ -1591,7 +1591,7 @@ function Wt({
1591
1591
  }
1592
1592
  );
1593
1593
  }
1594
- function Kt({
1594
+ function Jt({
1595
1595
  className: a,
1596
1596
  ...t
1597
1597
  }) {
@@ -1604,25 +1604,25 @@ function Kt({
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 Ge({
1610
+ function Ke({
1611
1611
  ...a
1612
1612
  }) {
1613
1613
  return /* @__PURE__ */ e(w.Trigger, { "data-slot": "sheet-trigger", ...a });
1614
1614
  }
1615
- function He({
1615
+ function Oe({
1616
1616
  ...a
1617
1617
  }) {
1618
1618
  return /* @__PURE__ */ e(w.Close, { "data-slot": "sheet-close", ...a });
1619
1619
  }
1620
- function Ue({
1620
+ function Xe({
1621
1621
  ...a
1622
1622
  }) {
1623
1623
  return /* @__PURE__ */ e(w.Portal, { "data-slot": "sheet-portal", ...a });
1624
1624
  }
1625
- function Qe({
1625
+ function Ye({
1626
1626
  className: a,
1627
1627
  ...t
1628
1628
  }) {
@@ -1638,14 +1638,14 @@ function Qe({
1638
1638
  }
1639
1639
  );
1640
1640
  }
1641
- function We({
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(Ue, { children: [
1648
- /* @__PURE__ */ e(Qe, {}),
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 We({
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 We({
1670
1670
  )
1671
1671
  ] });
1672
1672
  }
1673
- function Ke({ className: a, ...t }) {
1673
+ function Je({ className: a, ...t }) {
1674
1674
  return /* @__PURE__ */ e(
1675
1675
  "div",
1676
1676
  {
@@ -1680,7 +1680,7 @@ function Ke({ className: a, ...t }) {
1680
1680
  }
1681
1681
  );
1682
1682
  }
1683
- function Ot({ className: a, ...t }) {
1683
+ function ea({ className: a, ...t }) {
1684
1684
  return /* @__PURE__ */ e(
1685
1685
  "div",
1686
1686
  {
@@ -1690,7 +1690,7 @@ function Ot({ className: a, ...t }) {
1690
1690
  }
1691
1691
  );
1692
1692
  }
1693
- function Oe({
1693
+ function et({
1694
1694
  className: a,
1695
1695
  ...t
1696
1696
  }) {
@@ -1703,7 +1703,7 @@ function Oe({
1703
1703
  }
1704
1704
  );
1705
1705
  }
1706
- function Xt({
1706
+ function ta({
1707
1707
  className: a,
1708
1708
  ...t
1709
1709
  }) {
@@ -1716,7 +1716,7 @@ function Xt({
1716
1716
  }
1717
1717
  );
1718
1718
  }
1719
- function Xe({ 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 Xe({ children: a, as: t = "div", className: r }) {
1727
1727
  }
1728
1728
  );
1729
1729
  }
1730
- const Ze = x(
1730
+ const at = N(
1731
1731
  ({ className: a, onThemeChange: t, onFontSizeChange: r, showA11yLink: n = !1, ...s }, c) => {
1732
- const [l, u] = k("light"), [m, g] = k(16), [v, f] = k(!1);
1733
- j(() => {
1734
- const p = localStorage.getItem("a11y-theme") ?? document.documentElement.getAttribute("data-theme") ?? "light";
1735
- u(p);
1732
+ const [l, u] = k("light"), [f, g] = k(16), [b, m] = k(!1);
1733
+ D(() => {
1734
+ const v = localStorage.getItem("a11y-theme") ?? document.documentElement.getAttribute("data-theme") ?? "light";
1735
+ u(v);
1736
1736
  const y = Number(localStorage.getItem("a11y-font-size"));
1737
1737
  Number.isFinite(y) && y > 0 && g(y);
1738
- }, []), j(() => {
1739
- if (!v && typeof window < "u" && !document.querySelector('script[src*="vlibras"]')) {
1740
- const p = document.createElement("script");
1741
- p.src = "https://vlibras.gov.br/app/vlibras-plugin.js", p.async = !0, p.onload = () => {
1742
- f(!0), window.VLibras && new window.VLibras.Widget("https://vlibras.gov.br/app");
1743
- }, document.body.appendChild(p);
1738
+ }, []), D(() => {
1739
+ if (!b && typeof window < "u" && !document.querySelector('script[src*="vlibras"]')) {
1740
+ const v = document.createElement("script");
1741
+ v.src = "https://vlibras.gov.br/app/vlibras-plugin.js", v.async = !0, v.onload = () => {
1742
+ m(!0), window.VLibras && new window.VLibras.Widget("https://vlibras.gov.br/app");
1743
+ }, document.body.appendChild(v);
1744
1744
  }
1745
- }, [v]);
1746
- const b = () => {
1745
+ }, [b]);
1746
+ const p = () => {
1747
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(
@@ -1764,9 +1764,9 @@ const Ze = x(
1764
1764
  role: "toolbar",
1765
1765
  "aria-label": "Ferramentas de acessibilidade",
1766
1766
  ...s,
1767
- children: /* @__PURE__ */ i(Xe, { className: "py-2 flex items-center justify-between", children: [
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 Ze = 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 Ze = 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 Ze = x(
1815
1815
  "button",
1816
1816
  {
1817
1817
  type: "button",
1818
- onClick: b,
1818
+ onClick: p,
1819
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: l === "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: () => f((d) => !d),
1831
+ onClick: () => m((d) => !d),
1832
1832
  "aria-label": "Ativar VLibras",
1833
- "aria-pressed": v,
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: v ? "var(--primary)" : "transparent",
1840
- color: v ? "var(--primary-foreground)" : "var(--muted-foreground)",
1841
- border: v ? "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,8 +1849,8 @@ const Ze = x(
1849
1849
  );
1850
1850
  }
1851
1851
  );
1852
- Ze.displayName = "TopAccessibilityBar";
1853
- const Ye = x(
1852
+ at.displayName = "TopAccessibilityBar";
1853
+ const rt = N(
1854
1854
  ({
1855
1855
  className: a,
1856
1856
  slides: t,
@@ -1858,27 +1858,27 @@ const Ye = x(
1858
1858
  autoplay: n = !0,
1859
1859
  ...s
1860
1860
  }, c) => {
1861
- const [l, u] = k(0), [m, g] = k(!1), [v, f] = k(!1);
1862
- j(() => {
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
- f(d.matches);
1865
- const p = (y) => {
1866
- f(y.matches);
1864
+ m(d.matches);
1865
+ const v = (y) => {
1866
+ m(y.matches);
1867
1867
  };
1868
- return d.addEventListener("change", p), () => d.removeEventListener("change", p);
1869
- }, []), j(() => {
1870
- if (!n || m || v) return;
1868
+ return d.addEventListener("change", v), () => d.removeEventListener("change", v);
1869
+ }, []), D(() => {
1870
+ if (!n || f || b) return;
1871
1871
  const d = setInterval(() => {
1872
- u((p) => (p + 1) % t.length);
1872
+ u((v) => (v + 1) % t.length);
1873
1873
  }, r);
1874
1874
  return () => clearInterval(d);
1875
- }, [n, r, t.length, m, v]);
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((l - 1 + t.length) % t.length);
1880
1878
  }, h = () => {
1881
- b((l + 1) % t.length);
1879
+ p((l - 1 + t.length) % t.length);
1880
+ }, x = () => {
1881
+ p((l + 1) % t.length);
1882
1882
  };
1883
1883
  return t.length === 0 ? null : (t[l], /* @__PURE__ */ i(
1884
1884
  "div",
@@ -1889,14 +1889,14 @@ const Ye = x(
1889
1889
  onMouseLeave: () => g(!1),
1890
1890
  ...s,
1891
1891
  children: [
1892
- /* @__PURE__ */ e("div", { className: "relative", children: t.map((d, p) => /* @__PURE__ */ i(
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
- p === l ? "block" : "hidden"
1897
+ v === l ? "block" : "hidden"
1898
1898
  ),
1899
- "aria-hidden": p !== l,
1899
+ "aria-hidden": v !== l,
1900
1900
  children: [
1901
1901
  /* @__PURE__ */ i("picture", { children: [
1902
1902
  /* @__PURE__ */ e(
@@ -1920,7 +1920,7 @@ const Ye = x(
1920
1920
  srcSet: `${d.imageMobile} 1x, ${d.imageMobile.replace(/\.(jpg|png)$/, "@2x.$1")} 2x`,
1921
1921
  alt: d.title,
1922
1922
  className: "w-full object-cover aspect-3/2 md:aspect-video lg:aspect-1920/560",
1923
- loading: p === 0 ? "eager" : "lazy"
1923
+ loading: v === 0 ? "eager" : "lazy"
1924
1924
  }
1925
1925
  )
1926
1926
  ] }),
@@ -1940,52 +1940,52 @@ const Ye = x(
1940
1940
  },
1941
1941
  d.id
1942
1942
  )) }),
1943
- t.length > 1 && /* @__PURE__ */ i(A, { 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
- 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, p) => /* @__PURE__ */ e(
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(p),
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
- "aria-label": `Ir para slide ${p + 1}`,
1969
- "aria-current": p === l,
1968
+ "aria-label": `Ir para slide ${v + 1}`,
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
- p === l ? "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
  )
1979
1979
  },
1980
- p
1980
+ v
1981
1981
  )) })
1982
1982
  ]
1983
1983
  }
1984
1984
  ));
1985
1985
  }
1986
1986
  );
1987
- Ye.displayName = "HeroCarousel";
1988
- function Je({
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 Je({
2003
2003
  ...n,
2004
2004
  children: [
2005
2005
  t,
2006
- r && /* @__PURE__ */ e(ot, {})
2006
+ r && /* @__PURE__ */ e(dt, {})
2007
2007
  ]
2008
2008
  }
2009
2009
  );
2010
2010
  }
2011
- function et({
2011
+ function it({
2012
2012
  className: a,
2013
2013
  ...t
2014
2014
  }) {
@@ -2037,10 +2037,10 @@ function H({
2037
2037
  }
2038
2038
  );
2039
2039
  }
2040
- const tt = P(
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 at({
2043
+ function st({
2044
2044
  className: a,
2045
2045
  children: t,
2046
2046
  ...r
@@ -2049,13 +2049,13 @@ function at({
2049
2049
  S.Trigger,
2050
2050
  {
2051
2051
  "data-slot": "navigation-menu-trigger",
2052
- className: o(tt(), "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 at({
2065
2065
  }
2066
2066
  );
2067
2067
  }
2068
- function rt({
2068
+ function lt({
2069
2069
  className: a,
2070
2070
  ...t
2071
2071
  }) {
@@ -2082,7 +2082,7 @@ function rt({
2082
2082
  }
2083
2083
  );
2084
2084
  }
2085
- function ot({
2085
+ function dt({
2086
2086
  className: a,
2087
2087
  ...t
2088
2088
  }) {
@@ -2106,7 +2106,7 @@ function ot({
2106
2106
  }
2107
2107
  );
2108
2108
  }
2109
- function T({
2109
+ function $({
2110
2110
  className: a,
2111
2111
  ...t
2112
2112
  }) {
@@ -2122,7 +2122,7 @@ function T({
2122
2122
  }
2123
2123
  );
2124
2124
  }
2125
- function it({ 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 it({ 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
- T,
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 it({ items: a }) {
2144
2144
  }
2145
2145
  ) }, n.id)) })
2146
2146
  ] }, t.id) : /* @__PURE__ */ e("li", { role: "none", children: /* @__PURE__ */ e(
2147
- T,
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",
@@ -2157,7 +2157,7 @@ function it({ items: a }) {
2157
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(He, { 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 ?? "#",
@@ -2182,7 +2182,7 @@ function Z({ 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(
@@ -2204,7 +2204,7 @@ function Z({ item: a, depth: t = 0 }) {
2204
2204
  )
2205
2205
  ] });
2206
2206
  }
2207
- const nt = x(
2207
+ const ut = N(
2208
2208
  ({ items: a, logo: t, rightSlot: r, searchSlot: n, drawerFooter: s, className: c, ...l }, u) => /* @__PURE__ */ e(
2209
2209
  "header",
2210
2210
  {
@@ -2220,19 +2220,19 @@ const nt = x(
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(Ge, { 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(We, { side: "left", className: "flex flex-col p-0", children: [
2234
- /* @__PURE__ */ i(Ke, { className: "border-b border-[var(--border)] px-5 py-4", children: [
2235
- /* @__PURE__ */ e(Oe, { 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,7 +2241,7 @@ const nt = 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(Z, { 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
2247
  s && /* @__PURE__ */ e("div", { className: "border-t border-[var(--border)] px-5 py-4", children: s })
@@ -2253,20 +2253,20 @@ const nt = 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(Je, { children: /* @__PURE__ */ e(et, { 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(H, { children: [
2260
- /* @__PURE__ */ e(at, { className: "h-9 bg-transparent text-sm text-[var(--foreground)] hover:bg-[var(--accent)]", children: m.label }),
2261
- /* @__PURE__ */ e(rt, { children: /* @__PURE__ */ e(it, { items: m.children }) })
2262
- ] }, m.id) : /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(
2263
- T,
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 nt = x(
2275
2275
  }
2276
2276
  )
2277
2277
  );
2278
- nt.displayName = "MegaMenu";
2279
- const st = [
2278
+ ut.displayName = "MegaMenu";
2279
+ const mt = [
2280
2280
  {
2281
2281
  id: "catalogo",
2282
2282
  title: "Catálogo",
@@ -2309,11 +2309,16 @@ const st = [
2309
2309
  { label: "Sobre o APP", href: "/sobre-app" }
2310
2310
  ]
2311
2311
  }
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 }
2312
2317
  ];
2313
- function lt({ onSubmit: a }) {
2318
+ function ft({ onSubmit: a }) {
2314
2319
  const [t, r] = k(""), [n, s] = k(!1);
2315
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: [
2316
- /* @__PURE__ */ e(Ne, { 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" }),
2317
2322
  /* @__PURE__ */ e("h2", { className: "text-xl font-semibold text-white sm:text-2xl", children: "Receba novidades e ofertas exclusivas" }),
2318
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." }),
2319
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) => {
@@ -2344,7 +2349,7 @@ function lt({ onSubmit: a }) {
2344
2349
  ] })
2345
2350
  ] }) });
2346
2351
  }
2347
- function dt({ title: a, links: t }) {
2352
+ function gt({ title: a, links: t }) {
2348
2353
  const [r, n] = k(!1);
2349
2354
  return /* @__PURE__ */ i("div", { className: "border-b border-[var(--border)] md:border-none", children: [
2350
2355
  /* @__PURE__ */ i(
@@ -2357,7 +2362,7 @@ function dt({ title: a, links: t }) {
2357
2362
  children: [
2358
2363
  a,
2359
2364
  /* @__PURE__ */ e(
2360
- O,
2365
+ X,
2361
2366
  {
2362
2367
  "aria-hidden": "true",
2363
2368
  className: o("h-4 w-4 text-[var(--muted-foreground)] transition-transform duration-200", r && "rotate-180")
@@ -2387,17 +2392,17 @@ function dt({ title: a, links: t }) {
2387
2392
  )
2388
2393
  ] });
2389
2394
  }
2390
- const ct = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r, playStoreUrl: n, appStoreUrl: s, className: c, ...l }) => {
2391
- const [u, m] = k("light");
2392
- j(() => {
2393
- const f = document.documentElement;
2394
- m(f.getAttribute("data-theme") ?? "light");
2395
- const b = new MutationObserver(() => {
2396
- m(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
+ const p = new MutationObserver(() => {
2401
+ f(m.getAttribute("data-theme") ?? "light");
2397
2402
  });
2398
- return b.observe(f, { attributes: !0, attributeFilter: ["data-theme"] }), () => b.disconnect();
2403
+ return p.observe(m, { attributes: !0, attributeFilter: ["data-theme"] }), () => p.disconnect();
2399
2404
  }, []);
2400
- 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", v = a === "perabook" ? "PeraBook" : "Elo Editora";
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";
2401
2406
  return /* @__PURE__ */ i(
2402
2407
  "footer",
2403
2408
  {
@@ -2405,7 +2410,7 @@ const ct = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2405
2410
  "aria-label": "Rodapé do site",
2406
2411
  ...l,
2407
2412
  children: [
2408
- r !== void 0 ? r : /* @__PURE__ */ e(lt, { onSubmit: t }),
2413
+ r !== void 0 ? r : /* @__PURE__ */ e(ft, { onSubmit: t }),
2409
2414
  /* @__PURE__ */ i("div", { className: "mx-auto max-w-screen-xl px-4", children: [
2410
2415
  /* @__PURE__ */ i("div", { className: "py-10 md:grid md:grid-cols-5 md:gap-8", children: [
2411
2416
  /* @__PURE__ */ i("div", { className: "mb-8 md:mb-0", children: [
@@ -2413,7 +2418,7 @@ const ct = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2413
2418
  "img",
2414
2419
  {
2415
2420
  src: g,
2416
- alt: v,
2421
+ alt: b,
2417
2422
  width: 120,
2418
2423
  height: 40,
2419
2424
  className: "h-10 w-auto object-contain"
@@ -2425,7 +2430,7 @@ const ct = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2425
2430
  /* @__PURE__ */ e("p", { className: "font-medium text-[var(--foreground)]", children: "(11) 3000-0000" })
2426
2431
  ] })
2427
2432
  ] }),
2428
- st.map((f) => /* @__PURE__ */ e(dt, { title: f.title, links: f.links }, f.id)),
2433
+ mt.map((m) => /* @__PURE__ */ e(gt, { title: m.title, links: m.links }, m.id)),
2429
2434
  /* @__PURE__ */ i("div", { className: "mb-8 md:mb-0", children: [
2430
2435
  /* @__PURE__ */ e("p", { className: "text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Baixe nosso app" }),
2431
2436
  /* @__PURE__ */ i("div", { className: "mt-3 flex flex-col gap-2", children: [
@@ -2469,7 +2474,33 @@ const ct = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2469
2474
  )
2470
2475
  }
2471
2476
  )
2472
- ] })
2477
+ ] }),
2478
+ /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Redes sociais" }),
2479
+ /* @__PURE__ */ e("div", { className: "mt-3 flex flex-wrap gap-2", "aria-label": "Redes sociais", children: U.map(({ label: m, href: p, Icon: h }) => /* @__PURE__ */ e(
2480
+ "a",
2481
+ {
2482
+ href: p,
2483
+ target: "_blank",
2484
+ rel: "noopener noreferrer",
2485
+ "aria-label": m,
2486
+ 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)]",
2487
+ children: /* @__PURE__ */ e(h, { className: "h-4 w-4", "aria-hidden": "true" })
2488
+ },
2489
+ m
2490
+ )) }),
2491
+ /* @__PURE__ */ e("p", { className: "mt-6 text-sm font-semibold uppercase tracking-wide text-[var(--foreground)]", children: "Compartilhe" }),
2492
+ /* @__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(
2493
+ "a",
2494
+ {
2495
+ href: p,
2496
+ target: "_blank",
2497
+ rel: "noopener noreferrer",
2498
+ "aria-label": m,
2499
+ 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)]",
2500
+ children: /* @__PURE__ */ e(h, { className: "h-4 w-4", "aria-hidden": "true" })
2501
+ },
2502
+ m
2503
+ )) })
2473
2504
  ] })
2474
2505
  ] }),
2475
2506
  /* @__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: [
@@ -2489,8 +2520,8 @@ const ct = ({ brand: a = "elo-editora", onNewsletterSubmit: t, newsletterSlot: r
2489
2520
  }
2490
2521
  );
2491
2522
  };
2492
- ct.displayName = "Footer";
2493
- function Zt({ children: a, className: t }) {
2523
+ pt.displayName = "Footer";
2524
+ function aa({ children: a, className: t }) {
2494
2525
  return /* @__PURE__ */ e(
2495
2526
  "div",
2496
2527
  {
@@ -2503,7 +2534,7 @@ function Zt({ children: a, className: t }) {
2503
2534
  }
2504
2535
  );
2505
2536
  }
2506
- const ut = {
2537
+ const vt = {
2507
2538
  1: "col-span-1",
2508
2539
  2: "col-span-2",
2509
2540
  3: "col-span-3",
@@ -2511,77 +2542,77 @@ const ut = {
2511
2542
  5: "col-span-5",
2512
2543
  6: "col-span-6"
2513
2544
  };
2514
- function Yt({ children: a, span: t, className: r }) {
2515
- return /* @__PURE__ */ e("div", { "data-slot": "col", className: o("min-w-0", t && ut[t], r), children: a });
2545
+ function ra({ children: a, span: t, className: r }) {
2546
+ return /* @__PURE__ */ e("div", { "data-slot": "col", className: o("min-w-0", t && vt[t], r), children: a });
2516
2547
  }
2517
2548
  export {
2518
- Bt as Accordion,
2519
- $t as AccordionContent,
2520
- Et as AccordionItem,
2521
- Lt as AccordionTrigger,
2522
- Se as Avatar,
2523
- _ as Badge,
2524
- jt as Breadcrumb,
2525
- Pt as BreadcrumbItem,
2526
- At as BreadcrumbLink,
2527
- Mt as BreadcrumbList,
2528
- _t as BreadcrumbPage,
2529
- Rt as BreadcrumbSeparator,
2549
+ Vt as Accordion,
2550
+ Gt as AccordionContent,
2551
+ Ft as AccordionItem,
2552
+ qt as AccordionTrigger,
2553
+ Pe as Avatar,
2554
+ A as Badge,
2555
+ Lt as Breadcrumb,
2556
+ Bt as BreadcrumbItem,
2557
+ Et as BreadcrumbLink,
2558
+ Rt as BreadcrumbList,
2559
+ Tt as BreadcrumbPage,
2560
+ $t as BreadcrumbSeparator,
2530
2561
  C as Button,
2531
- Ct as Checkbox,
2532
- Yt as Col,
2533
- Xe as Container,
2534
- Ht as DialogContent,
2535
- Kt as DialogDescription,
2536
- Qt as DialogFooter,
2537
- Ut as DialogHeader,
2538
- Wt as DialogTitle,
2539
- Gt as DialogTrigger,
2540
- je as Divider,
2541
- qe as Drawer,
2542
- X as EmptyState,
2543
- $e as ErrorState,
2544
- ct as Footer,
2545
- Be as FormGroup,
2546
- Zt as Grid,
2547
- Le as Hero,
2548
- Ye as HeroCarousel,
2549
- xt as Input,
2550
- nt as MegaMenu,
2551
- qt as Modal,
2552
- _e as PriceDisplay,
2553
- $ as ProductCard,
2554
- Te as ProductGrid,
2555
- ra as ProgressBar,
2556
- Re as QuantitySelector,
2557
- St as RadioGroup,
2558
- It as RadioGroupItem,
2559
- L as Rating,
2560
- Ae as SearchBar,
2561
- Nt as Select,
2562
- kt as SelectContent,
2563
- zt as SelectItem,
2564
- yt as SelectTrigger,
2565
- wt as SelectValue,
2566
- We as SheetContent,
2567
- Xt as SheetDescription,
2568
- Ot as SheetFooter,
2569
- Ke as SheetHeader,
2570
- Oe as SheetTitle,
2571
- Ge as SheetTrigger,
2572
- De as Spinner,
2573
- ke as Textarea,
2574
- Dt as Toggle,
2575
- Tt as Tooltip,
2576
- Ft as TooltipContent,
2577
- Ee as TooltipProvider,
2578
- Vt as TooltipTrigger,
2579
- Ze as TopAccessibilityBar,
2580
- Ce as avatarVariants,
2581
- ze as badgeVariants,
2582
- ye as buttonVariants,
2562
+ Mt as Checkbox,
2563
+ ra as Col,
2564
+ tt as Container,
2565
+ Ot as DialogContent,
2566
+ Jt as DialogDescription,
2567
+ Yt as DialogFooter,
2568
+ Xt as DialogHeader,
2569
+ Zt as DialogTitle,
2570
+ Kt as DialogTrigger,
2571
+ Le as Divider,
2572
+ We as Drawer,
2573
+ Y as EmptyState,
2574
+ Ge as ErrorState,
2575
+ pt as Footer,
2576
+ Ve as FormGroup,
2577
+ aa as Grid,
2578
+ qe as Hero,
2579
+ rt as HeroCarousel,
2580
+ zt as Input,
2581
+ ut as MegaMenu,
2582
+ Wt as Modal,
2583
+ Te as PriceDisplay,
2584
+ T as ProductCard,
2585
+ He as ProductGrid,
2586
+ la as ProgressBar,
2587
+ $e as QuantitySelector,
2588
+ Pt as RadioGroup,
2589
+ _t as RadioGroupItem,
2590
+ E as Rating,
2591
+ Ee as SearchBar,
2592
+ Ct as Select,
2593
+ jt as SelectContent,
2594
+ Dt as SelectItem,
2595
+ It as SelectTrigger,
2596
+ St as SelectValue,
2597
+ Ze as SheetContent,
2598
+ ta as SheetDescription,
2599
+ ea as SheetFooter,
2600
+ Je as SheetHeader,
2601
+ et as SheetTitle,
2602
+ Ke as SheetTrigger,
2603
+ Ae as Spinner,
2604
+ je as Textarea,
2605
+ At as Toggle,
2606
+ Ht as Tooltip,
2607
+ Qt as TooltipContent,
2608
+ Fe as TooltipProvider,
2609
+ Ut as TooltipTrigger,
2610
+ at as TopAccessibilityBar,
2611
+ Me as avatarVariants,
2612
+ De as badgeVariants,
2613
+ Ie as buttonVariants,
2583
2614
  o as cn,
2584
- Ie as spinnerVariants,
2585
- ta as toast
2615
+ _e as spinnerVariants,
2616
+ na as toast
2586
2617
  };
2587
2618
  //# sourceMappingURL=index.js.map