@shopito/design-system-fe 0.1.8 → 0.1.10

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
@@ -230,21 +230,21 @@ function j({ children: e, padding: t = "md", shadow: n = !0, border: r = !0, cla
230
230
  children: e
231
231
  });
232
232
  }
233
- function M({ children: e, className: t = "", ...n }) {
233
+ function ee({ children: e, className: t = "", ...n }) {
234
234
  return /* @__PURE__ */ s("div", {
235
235
  className: ["px-6 py-4 border-b border-gray-100", t].filter(Boolean).join(" "),
236
236
  ...n,
237
237
  children: e
238
238
  });
239
239
  }
240
- function ee({ children: e, className: t = "", ...n }) {
240
+ function te({ children: e, className: t = "", ...n }) {
241
241
  return /* @__PURE__ */ s("div", {
242
242
  className: ["p-6", t].filter(Boolean).join(" "),
243
243
  ...n,
244
244
  children: e
245
245
  });
246
246
  }
247
- function te({ children: e, className: t = "", ...n }) {
247
+ function ne({ children: e, className: t = "", ...n }) {
248
248
  return /* @__PURE__ */ s("div", {
249
249
  className: ["px-6 py-4 border-t border-gray-100 bg-gray-50", t].filter(Boolean).join(" "),
250
250
  ...n,
@@ -253,7 +253,7 @@ function te({ children: e, className: t = "", ...n }) {
253
253
  }
254
254
  //#endregion
255
255
  //#region src/components/common/Spinner/Spinner.tsx
256
- function N({ size: e = "md", color: t = "primary", label: n = "Loading…", className: r = "", ...i }) {
256
+ function re({ size: e = "md", color: t = "primary", label: n = "Loading…", className: r = "", ...i }) {
257
257
  return /* @__PURE__ */ c("span", {
258
258
  role: "status",
259
259
  "aria-label": n,
@@ -267,7 +267,7 @@ function N({ size: e = "md", color: t = "primary", label: n = "Loading…", clas
267
267
  }
268
268
  //#endregion
269
269
  //#region src/components/common/Alert/Alert.tsx
270
- var P = {
270
+ var ie = {
271
271
  info: /* @__PURE__ */ s("path", {
272
272
  strokeLinecap: "round",
273
273
  strokeLinejoin: "round",
@@ -289,7 +289,7 @@ var P = {
289
289
  d: "M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"
290
290
  })
291
291
  };
292
- function ne({ variant: e = "info", title: t, children: n, onClose: r, className: i = "", ...a }) {
292
+ function ae({ variant: e = "info", title: t, children: n, onClose: r, className: i = "", ...a }) {
293
293
  return /* @__PURE__ */ c("div", {
294
294
  role: "alert",
295
295
  className: (0, x.default)("alert", `alert-${e}`, "w-full", i),
@@ -302,7 +302,7 @@ function ne({ variant: e = "info", title: t, children: n, onClose: r, className:
302
302
  strokeWidth: 1.5,
303
303
  stroke: "currentColor",
304
304
  className: (0, x.default)("alert-icon", `alert-icon-${e}`),
305
- children: P[e]
305
+ children: ie[e]
306
306
  }),
307
307
  /* @__PURE__ */ c("div", {
308
308
  className: "flex-1 min-w-0",
@@ -337,14 +337,14 @@ function ne({ variant: e = "info", title: t, children: n, onClose: r, className:
337
337
  }
338
338
  //#endregion
339
339
  //#region src/components/common/Modal/Modal.tsx
340
- var re = {
340
+ var oe = {
341
341
  sm: "max-w-sm",
342
342
  md: "max-w-md",
343
343
  lg: "max-w-lg",
344
344
  xl: "max-w-xl",
345
345
  full: "max-w-full mx-4"
346
346
  };
347
- function F({ open: e, onClose: t, title: r, children: a, footer: o, size: u = "md", closeOnBackdrop: d = !0 }) {
347
+ function se({ open: e, onClose: t, title: r, children: a, footer: o, size: u = "md", closeOnBackdrop: d = !0 }) {
348
348
  let f = i(null);
349
349
  return n(() => {
350
350
  if (!e) return;
@@ -368,7 +368,7 @@ function F({ open: e, onClose: t, title: r, children: a, footer: o, size: u = "m
368
368
  role: "dialog",
369
369
  "aria-modal": "true",
370
370
  "aria-labelledby": r ? "modal-title" : void 0,
371
- className: ["relative w-full bg-white rounded-xl shadow-xl flex flex-col max-h-[90vh]", re[u]].join(" "),
371
+ className: ["relative w-full bg-white rounded-xl shadow-xl flex flex-col max-h-[90vh]", oe[u]].join(" "),
372
372
  children: [
373
373
  r && /* @__PURE__ */ c("div", {
374
374
  className: "flex items-center justify-between px-6 py-4 border-b border-gray-100 shrink-0",
@@ -409,7 +409,7 @@ function F({ open: e, onClose: t, title: r, children: a, footer: o, size: u = "m
409
409
  }
410
410
  //#endregion
411
411
  //#region src/components/common/Checkbox/Checkbox.tsx
412
- var I = e(({ label: e, description: t, error: n, indeterminate: r, className: i = "", id: a, ...o }, l) => {
412
+ var M = e(({ label: e, description: t, error: n, indeterminate: r, className: i = "", id: a, ...o }, l) => {
413
413
  let u = a ?? e?.toLowerCase().replace(/\s+/g, "-");
414
414
  return /* @__PURE__ */ c("div", {
415
415
  className: (0, x.default)("checkbox-wrapper", i),
@@ -441,10 +441,10 @@ var I = e(({ label: e, description: t, error: n, indeterminate: r, className: i
441
441
  ] })]
442
442
  });
443
443
  });
444
- I.displayName = "Checkbox";
444
+ M.displayName = "Checkbox";
445
445
  //#endregion
446
446
  //#region src/components/common/Toggle/Toggle.tsx
447
- var L = e(({ label: e, description: t, size: n = "md", className: r = "", id: i, ...a }, o) => {
447
+ var N = e(({ label: e, description: t, size: n = "md", className: r = "", id: i, ...a }, o) => {
448
448
  let l = i ?? e?.toLowerCase().replace(/\s+/g, "-");
449
449
  return /* @__PURE__ */ c("label", {
450
450
  htmlFor: l,
@@ -472,10 +472,10 @@ var L = e(({ label: e, description: t, size: n = "md", className: r = "", id: i,
472
472
  })] })]
473
473
  });
474
474
  });
475
- L.displayName = "Toggle";
475
+ N.displayName = "Toggle";
476
476
  //#endregion
477
477
  //#region src/components/common/Avatar/Avatar.tsx
478
- var R = [
478
+ var P = [
479
479
  "bg-red-500",
480
480
  "bg-orange-500",
481
481
  "bg-amber-500",
@@ -486,7 +486,7 @@ var R = [
486
486
  "bg-violet-500",
487
487
  "bg-pink-500"
488
488
  ];
489
- function ie({ src: e, alt: t, name: n, size: r = "md", className: i, ...a }) {
489
+ function ce({ src: e, alt: t, name: n, size: r = "md", className: i, ...a }) {
490
490
  let o = [
491
491
  "avatar",
492
492
  `avatar-${r}`,
@@ -494,7 +494,7 @@ function ie({ src: e, alt: t, name: n, size: r = "md", className: i, ...a }) {
494
494
  ], c = (e) => {
495
495
  let t = 0;
496
496
  for (let n = 0; n < e.length; n++) t += e.charCodeAt(n);
497
- return R[t % R.length];
497
+ return P[t % P.length];
498
498
  }, l = (e) => e.split(" ").slice(0, 2).map((e) => e[0]).join("").toUpperCase();
499
499
  return e ? /* @__PURE__ */ s("span", {
500
500
  className: (0, x.default)(o),
@@ -527,7 +527,7 @@ function ie({ src: e, alt: t, name: n, size: r = "md", className: i, ...a }) {
527
527
  }
528
528
  //#endregion
529
529
  //#region src/components/common/Stack/Stack.tsx
530
- var ae = ({ direction: e = "row", gap: t, alignItems: n = "start", justifyItems: r = "start", children: i }) => /* @__PURE__ */ s("div", {
530
+ var le = ({ direction: e = "row", gap: t, alignItems: n = "start", justifyItems: r = "start", children: i }) => /* @__PURE__ */ s("div", {
531
531
  className: (0, x.default)("stack", `stack-${e}`, t && `gap-${t}`, {
532
532
  start: "items-start",
533
533
  end: "items-end",
@@ -541,7 +541,188 @@ var ae = ({ direction: e = "row", gap: t, alignItems: n = "start", justifyItems:
541
541
  stretch: "justify-items-stretch"
542
542
  }[r]),
543
543
  children: i
544
- }), z = ({ value: e, onChange: t, min: o = 1, max: l = 999, step: u = 1, disabled: d = !1, label: f, error: p, hint: m, id: h, className: g }) => {
544
+ }), ue = {
545
+ 1: "grid-cols-1",
546
+ 2: "grid-cols-2",
547
+ 3: "grid-cols-3",
548
+ 4: "grid-cols-4",
549
+ 6: "grid-cols-6",
550
+ 12: "grid-cols-12"
551
+ }, de = {
552
+ 0: "gap-0",
553
+ 1: "gap-1",
554
+ 2: "gap-2",
555
+ 3: "gap-3",
556
+ 4: "gap-4",
557
+ 5: "gap-5",
558
+ 6: "gap-6",
559
+ 8: "gap-8",
560
+ 10: "gap-10",
561
+ 12: "gap-12",
562
+ 16: "gap-16"
563
+ }, fe = {
564
+ 0: "gap-y-0",
565
+ 1: "gap-y-1",
566
+ 2: "gap-y-2",
567
+ 3: "gap-y-3",
568
+ 4: "gap-y-4",
569
+ 5: "gap-y-5",
570
+ 6: "gap-y-6",
571
+ 8: "gap-y-8",
572
+ 10: "gap-y-10",
573
+ 12: "gap-y-12",
574
+ 16: "gap-y-16"
575
+ }, pe = {
576
+ 0: "gap-x-0",
577
+ 1: "gap-x-1",
578
+ 2: "gap-x-2",
579
+ 3: "gap-x-3",
580
+ 4: "gap-x-4",
581
+ 5: "gap-x-5",
582
+ 6: "gap-x-6",
583
+ 8: "gap-x-8",
584
+ 10: "gap-x-10",
585
+ 12: "gap-x-12",
586
+ 16: "gap-x-16"
587
+ }, me = {
588
+ 1: "col-span-1",
589
+ 2: "col-span-2",
590
+ 3: "col-span-3",
591
+ 4: "col-span-4",
592
+ 5: "col-span-5",
593
+ 6: "col-span-6",
594
+ 7: "col-span-7",
595
+ 8: "col-span-8",
596
+ 9: "col-span-9",
597
+ 10: "col-span-10",
598
+ 11: "col-span-11",
599
+ 12: "col-span-12"
600
+ }, F = {
601
+ 1: "sm:col-span-1",
602
+ 2: "sm:col-span-2",
603
+ 3: "sm:col-span-3",
604
+ 4: "sm:col-span-4",
605
+ 5: "sm:col-span-5",
606
+ 6: "sm:col-span-6",
607
+ 7: "sm:col-span-7",
608
+ 8: "sm:col-span-8",
609
+ 9: "sm:col-span-9",
610
+ 10: "sm:col-span-10",
611
+ 11: "sm:col-span-11",
612
+ 12: "sm:col-span-12"
613
+ }, I = {
614
+ 1: "md:col-span-1",
615
+ 2: "md:col-span-2",
616
+ 3: "md:col-span-3",
617
+ 4: "md:col-span-4",
618
+ 5: "md:col-span-5",
619
+ 6: "md:col-span-6",
620
+ 7: "md:col-span-7",
621
+ 8: "md:col-span-8",
622
+ 9: "md:col-span-9",
623
+ 10: "md:col-span-10",
624
+ 11: "md:col-span-11",
625
+ 12: "md:col-span-12"
626
+ }, L = {
627
+ 1: "lg:col-span-1",
628
+ 2: "lg:col-span-2",
629
+ 3: "lg:col-span-3",
630
+ 4: "lg:col-span-4",
631
+ 5: "lg:col-span-5",
632
+ 6: "lg:col-span-6",
633
+ 7: "lg:col-span-7",
634
+ 8: "lg:col-span-8",
635
+ 9: "lg:col-span-9",
636
+ 10: "lg:col-span-10",
637
+ 11: "lg:col-span-11",
638
+ 12: "lg:col-span-12"
639
+ }, R = {
640
+ 1: "xl:col-span-1",
641
+ 2: "xl:col-span-2",
642
+ 3: "xl:col-span-3",
643
+ 4: "xl:col-span-4",
644
+ 5: "xl:col-span-5",
645
+ 6: "xl:col-span-6",
646
+ 7: "xl:col-span-7",
647
+ 8: "xl:col-span-8",
648
+ 9: "xl:col-span-9",
649
+ 10: "xl:col-span-10",
650
+ 11: "xl:col-span-11",
651
+ 12: "xl:col-span-12"
652
+ }, z = {
653
+ 1: "col-start-2",
654
+ 2: "col-start-3",
655
+ 3: "col-start-4",
656
+ 4: "col-start-5",
657
+ 5: "col-start-6",
658
+ 6: "col-start-7",
659
+ 7: "col-start-8",
660
+ 8: "col-start-9",
661
+ 9: "col-start-10",
662
+ 10: "col-start-11",
663
+ 11: "col-start-12"
664
+ }, he = {
665
+ 1: "sm:col-start-2",
666
+ 2: "sm:col-start-3",
667
+ 3: "sm:col-start-4",
668
+ 4: "sm:col-start-5",
669
+ 5: "sm:col-start-6",
670
+ 6: "sm:col-start-7",
671
+ 7: "sm:col-start-8",
672
+ 8: "sm:col-start-9",
673
+ 9: "sm:col-start-10",
674
+ 10: "sm:col-start-11",
675
+ 11: "sm:col-start-12"
676
+ }, ge = {
677
+ 1: "md:col-start-2",
678
+ 2: "md:col-start-3",
679
+ 3: "md:col-start-4",
680
+ 4: "md:col-start-5",
681
+ 5: "md:col-start-6",
682
+ 6: "md:col-start-7",
683
+ 7: "md:col-start-8",
684
+ 8: "md:col-start-9",
685
+ 9: "md:col-start-10",
686
+ 10: "md:col-start-11",
687
+ 11: "md:col-start-12"
688
+ }, _e = {
689
+ 1: "lg:col-start-2",
690
+ 2: "lg:col-start-3",
691
+ 3: "lg:col-start-4",
692
+ 4: "lg:col-start-5",
693
+ 5: "lg:col-start-6",
694
+ 6: "lg:col-start-7",
695
+ 7: "lg:col-start-8",
696
+ 8: "lg:col-start-9",
697
+ 9: "lg:col-start-10",
698
+ 10: "lg:col-start-11",
699
+ 11: "lg:col-start-12"
700
+ }, ve = {
701
+ 1: "xl:col-start-2",
702
+ 2: "xl:col-start-3",
703
+ 3: "xl:col-start-4",
704
+ 4: "xl:col-start-5",
705
+ 5: "xl:col-start-6",
706
+ 6: "xl:col-start-7",
707
+ 7: "xl:col-start-8",
708
+ 8: "xl:col-start-9",
709
+ 9: "xl:col-start-10",
710
+ 10: "xl:col-start-11",
711
+ 11: "xl:col-start-12"
712
+ }, B = ({ children: e, cols: t = 12, gap: n, rowGap: r, colGap: i, as: a = "div", className: o }) => /* @__PURE__ */ s(a, {
713
+ className: (0, x.default)("grid", ue[t], n !== void 0 && de[n], r !== void 0 && fe[r], i !== void 0 && pe[i], o),
714
+ children: e
715
+ });
716
+ B.displayName = "Grid";
717
+ var V = ({ children: e, span: t, sm: n, md: r, lg: i, xl: a, offset: o, smOffset: c, mdOffset: l, lgOffset: u, xlOffset: d, className: f, ...p }) => /* @__PURE__ */ s("div", {
718
+ className: (0, x.default)("w-full", t && me[t], n && F[n], r && I[r], i && L[i], a && R[a], o && z[o], c && he[c], l && ge[l], u && _e[u], d && ve[d], f),
719
+ ...p,
720
+ children: e
721
+ });
722
+ V.displayName = "Col";
723
+ //#endregion
724
+ //#region src/components/common/QuantityInput/QuantityInput.tsx
725
+ var H = ({ value: e, onChange: t, min: o = 1, max: l = 999, step: u = 1, disabled: d = !1, label: f, error: p, hint: m, id: h, className: g }) => {
545
726
  let _ = r(), v = h ?? _, y = i(null), [b, S] = a(String(e));
546
727
  n(() => {
547
728
  document.activeElement !== y.current && S(String(e));
@@ -588,7 +769,7 @@ var ae = ({ direction: e = "row", gap: t, alignItems: n = "start", justifyItems:
588
769
  disabled: d || !A,
589
770
  "aria-label": "Snížit množství",
590
771
  tabIndex: -1,
591
- children: /* @__PURE__ */ s(oe, {})
772
+ children: /* @__PURE__ */ s(ye, {})
592
773
  }),
593
774
  /* @__PURE__ */ s("input", {
594
775
  ref: y,
@@ -613,7 +794,7 @@ var ae = ({ direction: e = "row", gap: t, alignItems: n = "start", justifyItems:
613
794
  disabled: d || !j,
614
795
  "aria-label": "Zvýšit množství",
615
796
  tabIndex: -1,
616
- children: /* @__PURE__ */ s(se, {})
797
+ children: /* @__PURE__ */ s(be, {})
617
798
  })
618
799
  ]
619
800
  }),
@@ -624,8 +805,8 @@ var ae = ({ direction: e = "row", gap: t, alignItems: n = "start", justifyItems:
624
805
  ]
625
806
  });
626
807
  };
627
- z.displayName = "QuantityInput";
628
- var oe = () => /* @__PURE__ */ s("svg", {
808
+ H.displayName = "QuantityInput";
809
+ var ye = () => /* @__PURE__ */ s("svg", {
629
810
  width: "12",
630
811
  height: "2",
631
812
  viewBox: "0 0 12 2",
@@ -637,7 +818,7 @@ var oe = () => /* @__PURE__ */ s("svg", {
637
818
  strokeWidth: "1.5",
638
819
  strokeLinecap: "round"
639
820
  })
640
- }), se = () => /* @__PURE__ */ s("svg", {
821
+ }), be = () => /* @__PURE__ */ s("svg", {
641
822
  width: "12",
642
823
  height: "12",
643
824
  viewBox: "0 0 12 12",
@@ -649,36 +830,36 @@ var oe = () => /* @__PURE__ */ s("svg", {
649
830
  strokeWidth: "1.5",
650
831
  strokeLinecap: "round"
651
832
  })
652
- }), B = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n), V = (e, t, n) => {
653
- if (t <= n * 2 + 5) return B(1, t);
833
+ }), U = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n), xe = (e, t, n) => {
834
+ if (t <= n * 2 + 5) return U(1, t);
654
835
  let r = Math.max(e - n, 1), i = Math.min(e + n, t), a = r > 2, o = i < t - 1;
655
836
  return !a && o ? [
656
- ...B(1, 3 + n * 2),
837
+ ...U(1, 3 + n * 2),
657
838
  "…",
658
839
  t
659
840
  ] : a && !o ? [
660
841
  1,
661
842
  "…",
662
- ...B(t - (2 + n * 2), t)
843
+ ...U(t - (2 + n * 2), t)
663
844
  ] : [
664
845
  1,
665
846
  "…",
666
- ...B(r, i),
847
+ ...U(r, i),
667
848
  "…",
668
849
  t
669
850
  ];
670
- }, H = ({ active: e, disabled: t, children: n, ...r }) => /* @__PURE__ */ s("button", {
851
+ }, W = ({ active: e, disabled: t, children: n, ...r }) => /* @__PURE__ */ s("button", {
671
852
  disabled: t,
672
853
  className: (0, x.default)("pagination-button", `pagination-button-${e ? "active" : "inactive"}`),
673
854
  ...r,
674
855
  children: n
675
- }), U = ({ page: e, totalPages: t, onPageChange: n, siblingsCount: r = 1 }) => {
676
- let i = V(e, t, r);
856
+ }), G = ({ page: e, totalPages: t, onPageChange: n, siblingsCount: r = 1 }) => {
857
+ let i = xe(e, t, r);
677
858
  return /* @__PURE__ */ c("nav", {
678
859
  "aria-label": "Pagination",
679
860
  className: "pagination",
680
861
  children: [
681
- /* @__PURE__ */ s(H, {
862
+ /* @__PURE__ */ s(W, {
682
863
  disabled: e <= 1,
683
864
  onClick: () => n(e - 1),
684
865
  "aria-label": "Previous page",
@@ -699,14 +880,14 @@ var oe = () => /* @__PURE__ */ s("svg", {
699
880
  i.map((t, r) => t === "…" ? /* @__PURE__ */ s("span", {
700
881
  className: "pagination-dots",
701
882
  children: "…"
702
- }, `dots-${r}`) : /* @__PURE__ */ s(H, {
883
+ }, `dots-${r}`) : /* @__PURE__ */ s(W, {
703
884
  active: t === e,
704
885
  onClick: () => n(t),
705
886
  "aria-label": `Page ${t}`,
706
887
  "aria-current": t === e ? "page" : void 0,
707
888
  children: t
708
889
  }, t)),
709
- /* @__PURE__ */ s(H, {
890
+ /* @__PURE__ */ s(W, {
710
891
  disabled: e >= t,
711
892
  onClick: () => n(e + 1),
712
893
  "aria-label": "Next page",
@@ -729,7 +910,7 @@ var oe = () => /* @__PURE__ */ s("svg", {
729
910
  };
730
911
  //#endregion
731
912
  //#region src/components/Header/Header.tsx
732
- function W({ trigger: e, items: t, onSelect: n, getKey: r, renderItem: o }) {
913
+ function K({ trigger: e, items: t, onSelect: n, getKey: r, renderItem: o }) {
733
914
  let [l, u] = a(!1), d = i(null), f = () => u(!1);
734
915
  return /* @__PURE__ */ c("div", {
735
916
  ref: d,
@@ -764,7 +945,7 @@ function W({ trigger: e, items: t, onSelect: n, getKey: r, renderItem: o }) {
764
945
  })]
765
946
  });
766
947
  }
767
- function G() {
948
+ function Se() {
768
949
  return /* @__PURE__ */ s("svg", {
769
950
  xmlns: "http://www.w3.org/2000/svg",
770
951
  fill: "none",
@@ -779,7 +960,7 @@ function G() {
779
960
  })
780
961
  });
781
962
  }
782
- function K({ logo: e, searchPlaceholder: t = "Hledat produkty…", onSearch: n, cartItemCount: r = 0, onCartClick: i, isLoggedIn: l = !1, customerName: u, onCustomerClick: d, currencies: f = [], selectedCurrency: p, onCurrencyChange: m, locales: h = [], selectedLocale: g, onLocaleChange: _, rightSlot: v }) {
963
+ function Ce({ logo: e, searchPlaceholder: t = "Hledat produkty…", onSearch: n, cartItemCount: r = 0, onCartClick: i, isLoggedIn: l = !1, customerName: u, onCustomerClick: d, currencies: f = [], selectedCurrency: p, onCurrencyChange: m, locales: h = [], selectedLocale: g, onLocaleChange: _, rightSlot: v }) {
783
964
  let [y, b] = a(""), x = f.find((e) => e.code === p), S = h.find((e) => e.code === g);
784
965
  return /* @__PURE__ */ s("header", {
785
966
  className: "bg-white border-b border-gray-200 sticky top-0 z-40",
@@ -802,7 +983,7 @@ function K({ logo: e, searchPlaceholder: t = "Hledat produkty…", onSearch: n,
802
983
  onKeyDown: (e) => {
803
984
  e.key === "Enter" && n?.(y);
804
985
  },
805
- leftIcon: /* @__PURE__ */ s(G, {}),
986
+ leftIcon: /* @__PURE__ */ s(Se, {}),
806
987
  rightIcon: y ? /* @__PURE__ */ s("button", {
807
988
  onClick: () => {
808
989
  b(""), n?.("");
@@ -828,7 +1009,7 @@ function K({ logo: e, searchPlaceholder: t = "Hledat produkty…", onSearch: n,
828
1009
  /* @__PURE__ */ c("div", {
829
1010
  className: "flex items-center gap-1 shrink-0 ml-auto",
830
1011
  children: [
831
- f.length > 0 && /* @__PURE__ */ s(W, {
1012
+ f.length > 0 && /* @__PURE__ */ s(K, {
832
1013
  trigger: /* @__PURE__ */ c("button", {
833
1014
  className: "flex items-center gap-1 px-2 py-1.5 rounded-md text-sm text-gray-600 hover:bg-gray-50 transition-colors font-medium",
834
1015
  children: [
@@ -851,7 +1032,7 @@ function K({ logo: e, searchPlaceholder: t = "Hledat produkty…", onSearch: n,
851
1032
  }), /* @__PURE__ */ s("span", { children: e.label })]
852
1033
  })
853
1034
  }),
854
- h.length > 0 && /* @__PURE__ */ s(W, {
1035
+ h.length > 0 && /* @__PURE__ */ s(K, {
855
1036
  trigger: /* @__PURE__ */ c("button", {
856
1037
  className: "flex items-center gap-1 px-2 py-1.5 rounded-md text-sm text-gray-600 hover:bg-gray-50 transition-colors",
857
1038
  children: [
@@ -888,7 +1069,7 @@ function K({ logo: e, searchPlaceholder: t = "Hledat produkty…", onSearch: n,
888
1069
  }), u && /* @__PURE__ */ s("span", {
889
1070
  className: "hidden sm:block font-medium max-w-32 truncate",
890
1071
  children: u
891
- })] }) : /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(ce, { className: "w-5 h-5" }), /* @__PURE__ */ s("span", {
1072
+ })] }) : /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(we, { className: "w-5 h-5" }), /* @__PURE__ */ s("span", {
892
1073
  className: "hidden sm:block font-medium",
893
1074
  children: "Přihlásit se"
894
1075
  })] })
@@ -898,7 +1079,7 @@ function K({ logo: e, searchPlaceholder: t = "Hledat produkty…", onSearch: n,
898
1079
  className: "relative flex items-center gap-1.5 px-2.5 py-1.5 rounded-md text-sm text-gray-600 hover:bg-gray-50 transition-colors",
899
1080
  "aria-label": `Cart, ${r} items`,
900
1081
  children: [
901
- /* @__PURE__ */ s(le, { className: "w-5 h-5" }),
1082
+ /* @__PURE__ */ s(Te, { className: "w-5 h-5" }),
902
1083
  /* @__PURE__ */ s("span", {
903
1084
  className: "hidden sm:block font-medium",
904
1085
  children: "Košík"
@@ -931,7 +1112,7 @@ function q({ className: e }) {
931
1112
  })
932
1113
  });
933
1114
  }
934
- function ce({ className: e }) {
1115
+ function we({ className: e }) {
935
1116
  return /* @__PURE__ */ s("svg", {
936
1117
  xmlns: "http://www.w3.org/2000/svg",
937
1118
  fill: "none",
@@ -946,7 +1127,7 @@ function ce({ className: e }) {
946
1127
  })
947
1128
  });
948
1129
  }
949
- function le({ className: e }) {
1130
+ function Te({ className: e }) {
950
1131
  return /* @__PURE__ */ s("svg", {
951
1132
  xmlns: "http://www.w3.org/2000/svg",
952
1133
  fill: "none",
@@ -1027,7 +1208,7 @@ function J({ node: e, activeId: t, onSelect: n, showCounts: r, depth: i, default
1027
1208
  function Y(e, t) {
1028
1209
  return !t || !e.children ? !1 : e.children.some((e) => e.id === t || Y(e, t));
1029
1210
  }
1030
- function ue({ categories: e, activeId: t, onSelect: n, showCounts: r = !0, defaultExpandAll: i = !1, className: a = "", ...o }) {
1211
+ function Ee({ categories: e, activeId: t, onSelect: n, showCounts: r = !0, defaultExpandAll: i = !1, className: a = "", ...o }) {
1031
1212
  let c = (e) => n?.(e);
1032
1213
  return /* @__PURE__ */ s("nav", {
1033
1214
  "aria-label": "Category navigation",
@@ -1049,7 +1230,7 @@ function ue({ categories: e, activeId: t, onSelect: n, showCounts: r = !0, defau
1049
1230
  }
1050
1231
  //#endregion
1051
1232
  //#region src/components/MegaMenu/MegaMenu.tsx
1052
- function X({ item: e, onNavigate: t, onClose: n }) {
1233
+ function De({ item: e, onNavigate: t, onClose: n }) {
1053
1234
  return e.columns?.length ? /* @__PURE__ */ s("div", {
1054
1235
  className: "absolute left-0 right-0 top-full z-50 bg-white border-b border-gray-200 shadow-lg",
1055
1236
  children: /* @__PURE__ */ c("div", {
@@ -1112,7 +1293,7 @@ function X({ item: e, onNavigate: t, onClose: n }) {
1112
1293
  })
1113
1294
  }) : null;
1114
1295
  }
1115
- function de({ items: e, activeId: t, onNavigate: n }) {
1296
+ function Oe({ items: e, activeId: t, onNavigate: n }) {
1116
1297
  let [r, o] = a(null), l = i(null), u = (e) => {
1117
1298
  l.current && clearTimeout(l.current), o(e);
1118
1299
  }, d = () => {
@@ -1175,7 +1356,7 @@ function de({ items: e, activeId: t, onNavigate: n }) {
1175
1356
  }), p?.columns?.length && /* @__PURE__ */ s("div", {
1176
1357
  onMouseEnter: f,
1177
1358
  onMouseLeave: d,
1178
- children: /* @__PURE__ */ s(X, {
1359
+ children: /* @__PURE__ */ s(De, {
1179
1360
  item: p,
1180
1361
  onNavigate: (e) => n?.(e),
1181
1362
  onClose: () => o(null)
@@ -1185,7 +1366,7 @@ function de({ items: e, activeId: t, onNavigate: n }) {
1185
1366
  }
1186
1367
  //#endregion
1187
1368
  //#region src/components/BannerCarousel/BannerCarousel.tsx
1188
- function fe({ banners: e, autoPlay: r = !0, autoPlayInterval: l = 5e3, arrows: u = !0, dots: d = !0, className: f = "", aspectRatio: p = "3 / 1" }) {
1369
+ function ke({ banners: e, autoPlay: r = !0, autoPlayInterval: l = 5e3, arrows: u = !0, dots: d = !0, className: f = "", aspectRatio: p = "3 / 1" }) {
1189
1370
  let [m, h] = a(0), [g, _] = a(!1), v = i(null), y = i(null), b = e.length, x = t((e) => {
1190
1371
  h((e % b + b) % b);
1191
1372
  }, [b]), S = () => x(m - 1), C = t(() => x(m + 1), [m, x]);
@@ -1325,7 +1506,7 @@ function fe({ banners: e, autoPlay: r = !0, autoPlayInterval: l = 5e3, arrows: u
1325
1506
  }
1326
1507
  //#endregion
1327
1508
  //#region src/components/ProductCard/ProductCard.tsx
1328
- function pe({ filled: e }) {
1509
+ function Ae({ filled: e }) {
1329
1510
  return /* @__PURE__ */ s("svg", {
1330
1511
  xmlns: "http://www.w3.org/2000/svg",
1331
1512
  viewBox: "0 0 24 24",
@@ -1338,7 +1519,7 @@ function pe({ filled: e }) {
1338
1519
  })
1339
1520
  });
1340
1521
  }
1341
- function me({ value: e, count: t }) {
1522
+ function je({ value: e, count: t }) {
1342
1523
  return /* @__PURE__ */ c("div", {
1343
1524
  className: "flex items-center gap-1",
1344
1525
  children: [/* @__PURE__ */ s("div", {
@@ -1349,7 +1530,7 @@ function me({ value: e, count: t }) {
1349
1530
  3,
1350
1531
  4,
1351
1532
  5
1352
- ].map((t) => /* @__PURE__ */ s(pe, { filled: t <= Math.round(e) }, t))
1533
+ ].map((t) => /* @__PURE__ */ s(Ae, { filled: t <= Math.round(e) }, t))
1353
1534
  }), t !== void 0 && /* @__PURE__ */ c("span", {
1354
1535
  className: "text-xs text-gray-400",
1355
1536
  children: [
@@ -1360,17 +1541,17 @@ function me({ value: e, count: t }) {
1360
1541
  })]
1361
1542
  });
1362
1543
  }
1363
- function he(e) {
1544
+ function Me(e) {
1364
1545
  let t = e.toLowerCase();
1365
1546
  return t === "sale" || t === "akce" ? "danger" : t === "new" || t === "nové" ? "primary" : t === "hot" ? "warning" : "default";
1366
1547
  }
1367
- function Z(e, t = "Kč") {
1548
+ function X(e, t = "Kč") {
1368
1549
  return `${e.toLocaleString("cs-CZ")} ${t}`;
1369
1550
  }
1370
- function ge(e, t) {
1551
+ function Ne(e, t) {
1371
1552
  return Math.round((1 - t / e) * 100);
1372
1553
  }
1373
- function Q({ product: e, onAddToCart: t, onWishlistToggle: n, isWishlisted: r = !1, onProductClick: i, size: o = "default", className: l = "" }) {
1554
+ function Z({ product: e, onAddToCart: t, onWishlistToggle: n, isWishlisted: r = !1, onProductClick: i, size: o = "default", className: l = "" }) {
1374
1555
  let [u, d] = a(!1), [f, p] = a(!1), m = e.originalPrice !== void 0 && e.originalPrice > e.price;
1375
1556
  return /* @__PURE__ */ c("article", {
1376
1557
  className: [
@@ -1395,9 +1576,9 @@ function Q({ product: e, onAddToCart: t, onWishlistToggle: n, isWishlisted: r =
1395
1576
  e.badge && /* @__PURE__ */ s("div", {
1396
1577
  className: "absolute top-2 left-2",
1397
1578
  children: /* @__PURE__ */ s(k, {
1398
- variant: he(e.badge),
1579
+ variant: Me(e.badge),
1399
1580
  size: "sm",
1400
- children: e.badge === "sale" && m ? `-${ge(e.originalPrice, e.price)}%` : e.badge
1581
+ children: e.badge === "sale" && m ? `-${Ne(e.originalPrice, e.price)}%` : e.badge
1401
1582
  })
1402
1583
  }),
1403
1584
  e.inStock === !1 && /* @__PURE__ */ s("div", {
@@ -1480,7 +1661,7 @@ function Q({ product: e, onAddToCart: t, onWishlistToggle: n, isWishlisted: r =
1480
1661
  className: `font-medium text-gray-900 leading-snug line-clamp-2 group-hover:text-primary-600 transition-colors ${o === "compact" ? "text-xs" : "text-sm"}`,
1481
1662
  children: e.name
1482
1663
  }),
1483
- e.rating !== void 0 && /* @__PURE__ */ s(me, {
1664
+ e.rating !== void 0 && /* @__PURE__ */ s(je, {
1484
1665
  value: e.rating,
1485
1666
  count: e.reviewCount
1486
1667
  }),
@@ -1488,10 +1669,10 @@ function Q({ product: e, onAddToCart: t, onWishlistToggle: n, isWishlisted: r =
1488
1669
  className: "flex items-baseline gap-2 mt-auto pt-1",
1489
1670
  children: [/* @__PURE__ */ s("span", {
1490
1671
  className: `font-bold text-gray-900 ${o === "compact" ? "text-base" : "text-lg"}`,
1491
- children: Z(e.price, e.currency)
1672
+ children: X(e.price, e.currency)
1492
1673
  }), m && /* @__PURE__ */ s("span", {
1493
1674
  className: "text-sm text-gray-400 line-through",
1494
- children: Z(e.originalPrice, e.currency)
1675
+ children: X(e.originalPrice, e.currency)
1495
1676
  })]
1496
1677
  })
1497
1678
  ]
@@ -1500,12 +1681,12 @@ function Q({ product: e, onAddToCart: t, onWishlistToggle: n, isWishlisted: r =
1500
1681
  }
1501
1682
  //#endregion
1502
1683
  //#region src/components/ProductGrid/ProductGrid.tsx
1503
- var $ = {
1684
+ var Q = {
1504
1685
  2: "grid-cols-2",
1505
1686
  3: "grid-cols-2 md:grid-cols-3",
1506
1687
  4: "grid-cols-2 sm:grid-cols-3 lg:grid-cols-4",
1507
1688
  5: "grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5"
1508
- }, _e = [
1689
+ }, Pe = [
1509
1690
  {
1510
1691
  value: "newest",
1511
1692
  label: "Nejnovější"
@@ -1527,7 +1708,7 @@ var $ = {
1527
1708
  label: "Bestsellery"
1528
1709
  }
1529
1710
  ];
1530
- function ve() {
1711
+ function Fe() {
1531
1712
  return /* @__PURE__ */ c("div", {
1532
1713
  className: "rounded-xl border border-gray-100 overflow-hidden animate-pulse",
1533
1714
  children: [/* @__PURE__ */ s("div", { className: "aspect-4/3 bg-gray-200" }), /* @__PURE__ */ c("div", {
@@ -1540,7 +1721,7 @@ function ve() {
1540
1721
  })]
1541
1722
  });
1542
1723
  }
1543
- function ye({ products: e, totalCount: t, page: n = 1, onPageChange: r, perPage: i = 20, columns: a = 4, sortOptions: o = _e, selectedSort: l, onSortChange: u, activeFilters: d = [], onRemoveFilter: f, onClearFilters: p, loading: m = !1, emptyState: h, onAddToCart: g, onWishlistToggle: _, onProductClick: v, wishlisted: y = [], className: b = "" }) {
1724
+ function Ie({ products: e, totalCount: t, page: n = 1, onPageChange: r, perPage: i = 20, columns: a = 4, sortOptions: o = Pe, selectedSort: l, onSortChange: u, activeFilters: d = [], onRemoveFilter: f, onClearFilters: p, loading: m = !1, emptyState: h, onAddToCart: g, onWishlistToggle: _, onProductClick: v, wishlisted: y = [], className: b = "" }) {
1544
1725
  let x = t ? Math.ceil(t / i) : void 0, S = a >= 5 ? "compact" : "default";
1545
1726
  return /* @__PURE__ */ c("div", {
1546
1727
  className: ["w-full", b].filter(Boolean).join(" "),
@@ -1593,8 +1774,8 @@ function ye({ products: e, totalCount: t, page: n = 1, onPageChange: r, perPage:
1593
1774
  })]
1594
1775
  }),
1595
1776
  m ? /* @__PURE__ */ s("div", {
1596
- className: `grid gap-4 ${$[a]}`,
1597
- children: Array.from({ length: i > 12 ? 12 : i }).map((e, t) => /* @__PURE__ */ s(ve, {}, t))
1777
+ className: `grid gap-4 ${Q[a]}`,
1778
+ children: Array.from({ length: i > 12 ? 12 : i }).map((e, t) => /* @__PURE__ */ s(Fe, {}, t))
1598
1779
  }) : e.length === 0 ? /* @__PURE__ */ s("div", {
1599
1780
  className: "py-16 text-center",
1600
1781
  children: h ?? /* @__PURE__ */ c("div", {
@@ -1620,8 +1801,8 @@ function ye({ products: e, totalCount: t, page: n = 1, onPageChange: r, perPage:
1620
1801
  ]
1621
1802
  })
1622
1803
  }) : /* @__PURE__ */ s("div", {
1623
- className: `grid gap-4 ${$[a]}`,
1624
- children: e.map((e) => /* @__PURE__ */ s(Q, {
1804
+ className: `grid gap-4 ${Q[a]}`,
1805
+ children: e.map((e) => /* @__PURE__ */ s(Z, {
1625
1806
  product: e,
1626
1807
  size: S,
1627
1808
  onAddToCart: g,
@@ -1632,7 +1813,7 @@ function ye({ products: e, totalCount: t, page: n = 1, onPageChange: r, perPage:
1632
1813
  }),
1633
1814
  x && x > 1 && r && /* @__PURE__ */ s("div", {
1634
1815
  className: "flex justify-center mt-8",
1635
- children: /* @__PURE__ */ s(U, {
1816
+ children: /* @__PURE__ */ s(G, {
1636
1817
  page: n,
1637
1818
  totalPages: x,
1638
1819
  onPageChange: r
@@ -1643,14 +1824,14 @@ function ye({ products: e, totalCount: t, page: n = 1, onPageChange: r, perPage:
1643
1824
  }
1644
1825
  //#endregion
1645
1826
  //#region src/components/CallToAction/CallToAction.tsx
1646
- var be = {
1827
+ var Le = {
1647
1828
  default: "bg-gray-50 border border-gray-200",
1648
1829
  primary: "bg-primary-600",
1649
1830
  dark: "bg-gray-900",
1650
1831
  gradient: "bg-linear-to-br from-primary-600 via-primary-700 to-violet-700",
1651
1832
  outline: "bg-white border-2 border-primary-600",
1652
1833
  image: "relative overflow-hidden"
1653
- }, xe = {
1834
+ }, Re = {
1654
1835
  default: {
1655
1836
  eyebrow: "text-primary-600",
1656
1837
  title: "text-gray-900",
@@ -1681,7 +1862,7 @@ var be = {
1681
1862
  title: "text-white",
1682
1863
  description: "text-white/80"
1683
1864
  }
1684
- }, Se = {
1865
+ }, ze = {
1685
1866
  sm: {
1686
1867
  wrapper: "px-6 py-6 rounded-xl",
1687
1868
  title: "text-xl font-bold",
@@ -1706,7 +1887,7 @@ var be = {
1706
1887
  description: "text-xl",
1707
1888
  eyebrow: "text-sm"
1708
1889
  }
1709
- }, Ce = {
1890
+ }, Be = {
1710
1891
  left: {
1711
1892
  wrapper: "items-start text-left",
1712
1893
  actions: "justify-start"
@@ -1720,8 +1901,8 @@ var be = {
1720
1901
  actions: "justify-end"
1721
1902
  }
1722
1903
  };
1723
- function we({ eyebrow: e, title: t, description: n, actions: r = [], align: i = "center", layout: a = "stacked", size: o = "md", variant: l = "default", background: u, backgroundImage: d, media: f, className: p = "", style: m }) {
1724
- let h = xe[l], g = Se[o], _ = Ce[i], v = a === "inline", y = {
1904
+ function Ve({ eyebrow: e, title: t, description: n, actions: r = [], align: i = "center", layout: a = "stacked", size: o = "md", variant: l = "default", background: u, backgroundImage: d, media: f, className: p = "", style: m }) {
1905
+ let h = Re[l], g = ze[o], _ = Be[i], v = a === "inline", y = {
1725
1906
  ...u ? { background: u } : {},
1726
1907
  ...d ? {
1727
1908
  backgroundImage: `url(${d})`,
@@ -1733,7 +1914,7 @@ function we({ eyebrow: e, title: t, description: n, actions: r = [], align: i =
1733
1914
  return /* @__PURE__ */ c("div", {
1734
1915
  className: [
1735
1916
  "w-full",
1736
- be[l],
1917
+ Le[l],
1737
1918
  g.wrapper,
1738
1919
  p
1739
1920
  ].filter(Boolean).join(" "),
@@ -1766,7 +1947,7 @@ function we({ eyebrow: e, title: t, description: n, actions: r = [], align: i =
1766
1947
  className: `flex flex-wrap gap-3 ${v ? "shrink-0" : _.actions}`,
1767
1948
  children: r.map((e, t) => {
1768
1949
  let n = /* @__PURE__ */ s(S, {
1769
- variant: e.variant ?? (t === 0 ? Te(l) : "outline"),
1950
+ variant: e.variant ?? (t === 0 ? $(l) : "outline"),
1770
1951
  size: e.size ?? (o === "sm" ? "sm" : o === "xl" ? "lg" : "md"),
1771
1952
  onClick: e.onClick,
1772
1953
  children: e.label
@@ -1782,12 +1963,12 @@ function we({ eyebrow: e, title: t, description: n, actions: r = [], align: i =
1782
1963
  })]
1783
1964
  });
1784
1965
  }
1785
- function Te(e) {
1966
+ function $(e) {
1786
1967
  return e === "default" || e === "outline" ? "primary" : "secondary";
1787
1968
  }
1788
1969
  //#endregion
1789
1970
  //#region src/components/Footer/Footer.tsx
1790
- function Ee() {
1971
+ function He() {
1791
1972
  return /* @__PURE__ */ s("svg", {
1792
1973
  xmlns: "http://www.w3.org/2000/svg",
1793
1974
  fill: "none",
@@ -1802,7 +1983,7 @@ function Ee() {
1802
1983
  })
1803
1984
  });
1804
1985
  }
1805
- function De() {
1986
+ function Ue() {
1806
1987
  return /* @__PURE__ */ s("svg", {
1807
1988
  xmlns: "http://www.w3.org/2000/svg",
1808
1989
  fill: "none",
@@ -1817,7 +1998,7 @@ function De() {
1817
1998
  })
1818
1999
  });
1819
2000
  }
1820
- function Oe() {
2001
+ function We() {
1821
2002
  return /* @__PURE__ */ c("svg", {
1822
2003
  xmlns: "http://www.w3.org/2000/svg",
1823
2004
  fill: "none",
@@ -1836,7 +2017,7 @@ function Oe() {
1836
2017
  })]
1837
2018
  });
1838
2019
  }
1839
- function ke() {
2020
+ function Ge() {
1840
2021
  return /* @__PURE__ */ s("svg", {
1841
2022
  xmlns: "http://www.w3.org/2000/svg",
1842
2023
  fill: "none",
@@ -1851,7 +2032,7 @@ function ke() {
1851
2032
  })
1852
2033
  });
1853
2034
  }
1854
- function Ae() {
2035
+ function Ke() {
1855
2036
  return /* @__PURE__ */ s("svg", {
1856
2037
  xmlns: "http://www.w3.org/2000/svg",
1857
2038
  viewBox: "0 0 24 24",
@@ -1860,7 +2041,7 @@ function Ae() {
1860
2041
  children: /* @__PURE__ */ s("path", { d: "M24 12.073C24 5.405 18.627 0 12 0S0 5.405 0 12.073C0 18.1 4.388 23.094 10.125 24v-8.437H7.078v-3.49h3.047V9.41c0-3.025 1.792-4.697 4.533-4.697 1.312 0 2.686.236 2.686.236v2.97h-1.513c-1.491 0-1.956.93-1.956 1.886v2.267h3.328l-.532 3.49h-2.796V24C19.612 23.094 24 18.1 24 12.073z" })
1861
2042
  });
1862
2043
  }
1863
- function je() {
2044
+ function qe() {
1864
2045
  return /* @__PURE__ */ s("svg", {
1865
2046
  xmlns: "http://www.w3.org/2000/svg",
1866
2047
  viewBox: "0 0 24 24",
@@ -1869,7 +2050,7 @@ function je() {
1869
2050
  children: /* @__PURE__ */ s("path", { d: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z" })
1870
2051
  });
1871
2052
  }
1872
- function Me() {
2053
+ function Je() {
1873
2054
  return /* @__PURE__ */ s("svg", {
1874
2055
  xmlns: "http://www.w3.org/2000/svg",
1875
2056
  viewBox: "0 0 24 24",
@@ -1878,7 +2059,7 @@ function Me() {
1878
2059
  children: /* @__PURE__ */ s("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" })
1879
2060
  });
1880
2061
  }
1881
- function Ne() {
2062
+ function Ye() {
1882
2063
  return /* @__PURE__ */ s("svg", {
1883
2064
  xmlns: "http://www.w3.org/2000/svg",
1884
2065
  viewBox: "0 0 24 24",
@@ -1887,7 +2068,7 @@ function Ne() {
1887
2068
  children: /* @__PURE__ */ s("path", { d: "M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" })
1888
2069
  });
1889
2070
  }
1890
- function Pe() {
2071
+ function Xe() {
1891
2072
  return /* @__PURE__ */ s("svg", {
1892
2073
  xmlns: "http://www.w3.org/2000/svg",
1893
2074
  viewBox: "0 0 24 24",
@@ -1896,34 +2077,34 @@ function Pe() {
1896
2077
  children: /* @__PURE__ */ s("path", { d: "M19.59 6.69a4.83 4.83 0 01-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 01-2.88 2.5 2.89 2.89 0 01-2.89-2.89 2.89 2.89 0 012.89-2.89c.28 0 .54.04.79.1V9.01a6.33 6.33 0 00-.79-.05 6.34 6.34 0 00-6.34 6.34 6.34 6.34 0 006.34 6.34 6.34 6.34 0 006.33-6.34V8.69a8.18 8.18 0 004.78 1.52V6.76a4.85 4.85 0 01-1.01-.07z" })
1897
2078
  });
1898
2079
  }
1899
- var Fe = {
1900
- facebook: Ae,
1901
- instagram: je,
1902
- twitter: Me,
1903
- youtube: Ne,
1904
- tiktok: Pe
1905
- }, Ie = {
1906
- phone: Ee,
1907
- email: De,
1908
- address: Oe,
1909
- hours: ke
2080
+ var Ze = {
2081
+ facebook: Ke,
2082
+ instagram: qe,
2083
+ twitter: Je,
2084
+ youtube: Ye,
2085
+ tiktok: Xe
2086
+ }, Qe = {
2087
+ phone: He,
2088
+ email: Ue,
2089
+ address: We,
2090
+ hours: Ge
1910
2091
  };
1911
- function Le(e) {
2092
+ function $e(e) {
1912
2093
  if (!e) return null;
1913
2094
  if (typeof e == "string") {
1914
- let t = Ie[e];
2095
+ let t = Qe[e];
1915
2096
  return t ? /* @__PURE__ */ s(t, {}) : null;
1916
2097
  }
1917
2098
  return e;
1918
2099
  }
1919
- function Re(e) {
2100
+ function et(e) {
1920
2101
  if (typeof e == "string") {
1921
- let t = Fe[e];
2102
+ let t = Ze[e];
1922
2103
  return t ? /* @__PURE__ */ s(t, {}) : null;
1923
2104
  }
1924
2105
  return e;
1925
2106
  }
1926
- function ze({ logo: e, tagline: t, contactHeading: n = "Kontakty", contacts: r = [], linkGroups: i = [], socialLinks: a = [], copyright: o, bottomLinks: l = [], className: u = "" }) {
2107
+ function tt({ logo: e, tagline: t, contactHeading: n = "Kontakty", contacts: r = [], linkGroups: i = [], socialLinks: a = [], copyright: o, bottomLinks: l = [], className: u = "" }) {
1927
2108
  let d = (/* @__PURE__ */ new Date()).getFullYear();
1928
2109
  return /* @__PURE__ */ c("footer", {
1929
2110
  className: ["bg-gray-900 text-gray-300", u].filter(Boolean).join(" "),
@@ -1948,7 +2129,7 @@ function ze({ logo: e, tagline: t, contactHeading: n = "Kontakty", contacts: r =
1948
2129
  }), /* @__PURE__ */ s("ul", {
1949
2130
  className: "space-y-3",
1950
2131
  children: r.map((e, t) => {
1951
- let n = Le(e.icon), r = /* @__PURE__ */ c("div", {
2132
+ let n = $e(e.icon), r = /* @__PURE__ */ c("div", {
1952
2133
  className: "flex items-start gap-2.5",
1953
2134
  children: [n && /* @__PURE__ */ s("span", {
1954
2135
  className: "mt-0.5 text-primary-400",
@@ -1973,7 +2154,7 @@ function ze({ logo: e, tagline: t, contactHeading: n = "Kontakty", contacts: r =
1973
2154
  href: e.href,
1974
2155
  "aria-label": e.label,
1975
2156
  className: "w-8 h-8 flex items-center justify-center rounded-lg bg-gray-800 text-gray-400 hover:bg-primary-600 hover:text-white transition-colors",
1976
- children: Re(e.icon)
2157
+ children: et(e.icon)
1977
2158
  }, t))
1978
2159
  })
1979
2160
  ]
@@ -2019,6 +2200,6 @@ function ze({ logo: e, tagline: t, contactHeading: n = "Kontakty", contacts: r =
2019
2200
  });
2020
2201
  }
2021
2202
  //#endregion
2022
- export { ne as Alert, ie as Avatar, k as Badge, fe as BannerCarousel, S as Button, we as CallToAction, j as Card, ee as CardBody, te as CardFooter, M as CardHeader, ue as CategoryTree, I as Checkbox, y as Container, ze as Footer, K as Header, D as Heading, w as IconButton, T as Input, C as LoadingSpin, b as Main, de as MegaMenu, F as Modal, U as Pagination, Q as ProductCard, ye as ProductGrid, z as QuantityInput, E as Select, N as Spinner, ae as Stack, O as Text, L as Toggle };
2203
+ export { ae as Alert, ce as Avatar, k as Badge, ke as BannerCarousel, S as Button, Ve as CallToAction, j as Card, te as CardBody, ne as CardFooter, ee as CardHeader, Ee as CategoryTree, M as Checkbox, V as Col, y as Container, tt as Footer, B as Grid, Ce as Header, D as Heading, w as IconButton, T as Input, C as LoadingSpin, b as Main, Oe as MegaMenu, se as Modal, G as Pagination, Z as ProductCard, Ie as ProductGrid, H as QuantityInput, E as Select, re as Spinner, le as Stack, O as Text, N as Toggle };
2023
2204
 
2024
2205
  //# sourceMappingURL=index.js.map