@soma-vertical-web/multi-lib 1.0.16 → 1.0.17

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/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  var hp = Object.defineProperty;
2
2
  var _p = (e, t, n) => t in e ? hp(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Un = (e, t, n) => _p(e, typeof t != "symbol" ? t + "" : t, n);
4
- import Tn, { jsx as o, jsxs as b, Fragment as B } from "react/jsx-runtime";
5
- import mt, { createContext as ve, useContext as Ee, useCallback as oe, useEffect as Q, useRef as ne, useState as D, useMemo as ge, createElement as _r, Children as xo, forwardRef as gp, Component as yp } from "react";
6
- import { g as gr, s as vp, a as bp, b as Cp, p as qi, c as ri, d as ds, e as Ep, f as Fe, u as ms, h as ps, i as fs, j as yr, k as Np, l as Pp, m as Sp, r as Qe, n as wp, o as ie, q as oi, t as hs, v as Ip, w as Rp, x as Ap, S as Tp } from "./index-Dj1bg0lu.mjs";
4
+ import Tn, { jsx as o, jsxs as b, Fragment as q } from "react/jsx-runtime";
5
+ import mt, { createContext as ve, useContext as Ee, useCallback as oe, useEffect as Y, useRef as ne, useState as D, useMemo as ge, createElement as _r, Children as xo, forwardRef as gp, Component as yp } from "react";
6
+ import { g as gr, s as vp, a as bp, b as Cp, p as qi, c as ri, d as ds, e as Ep, f as Fe, u as ms, h as ps, i as fs, j as yr, k as Np, l as Pp, m as Sp, r as Qe, n as wp, o as ie, q as oi, t as hs, v as Ip, w as Rp, x as Ap, S as Tp } from "./index-ByhWQJ9Z.mjs";
7
7
  import { get as Nn, set as Pn } from "idb-keyval";
8
8
  import { create as Xt } from "zustand";
9
9
  import Do from "js-cookie";
@@ -49,7 +49,7 @@ const ai = ve(
49
49
  );
50
50
  return { tags: e, getAvailableProductTag: t };
51
51
  }, bs = ({ gridScrollBack: e }) => {
52
- Q(() => {
52
+ Y(() => {
53
53
  typeof window < "u" && (e != null && e.refer) && sessionStorage.setItem(e == null ? void 0 : e.refer, "true");
54
54
  }, []);
55
55
  }, Cs = ve({}), Up = ({ children: e, gridScrollBack: t }) => {
@@ -521,9 +521,9 @@ const ai = ve(
521
521
  productReference: _,
522
522
  categories: [g]
523
523
  } = t, { getAvailableProductTag: v } = jt(), E = v(
524
- Object.entries(t.clusterHighlights).map((H) => ({
525
- id: H[0],
526
- name: H[1]
524
+ Object.entries(t.clusterHighlights).map((B) => ({
525
+ id: B[0],
526
+ name: B[1]
527
527
  }))
528
528
  ), C = g.slice(1, -1).split("/"), { installments: y, price: S, listPrice: N, sizes: P, allSizesAvailable: I } = bp({ items: d, NAME_SPLIT_SYMBOL: i }), T = Cp({ images: p, TEXTURE_IMAGE: a }), L = [
529
529
  {
@@ -549,7 +549,7 @@ const ai = ve(
549
549
  installment_value: Number(y == null ? void 0 : y.value).toFixed(2)
550
550
  }
551
551
  }), re = ({
552
- sku: H,
552
+ sku: B,
553
553
  size: te
554
554
  }) => {
555
555
  const { commonData: Z, customData: W } = k();
@@ -560,20 +560,20 @@ const ai = ve(
560
560
  commonData: Z,
561
561
  customData: {
562
562
  ...W,
563
- ...H && { item_sku: H },
563
+ ...B && { item_sku: B },
564
564
  ...te && { item_variant2: te }
565
565
  }
566
566
  }
567
567
  });
568
568
  };
569
- return Q(() => {
569
+ return Y(() => {
570
570
  if (c.current.trigger) {
571
- const { commonData: H, customData: te } = k();
571
+ const { commonData: B, customData: te } = k();
572
572
  s({
573
573
  functionKey: "productEvents",
574
574
  data: {
575
575
  event: "select_item",
576
- commonData: H,
576
+ commonData: B,
577
577
  customData: {
578
578
  ...te,
579
579
  index: c.current.index
@@ -628,7 +628,7 @@ const ai = ve(
628
628
  }
629
629
  }];
630
630
  }, Ts = () => {
631
- Q(() => {
631
+ Y(() => {
632
632
  const e = (t) => {
633
633
  t.preventDefault();
634
634
  };
@@ -645,7 +645,7 @@ const ai = ve(
645
645
  const a = localStorage.getItem(e);
646
646
  return a === null ? t : JSON.parse(a || "{}");
647
647
  });
648
- return Q(() => {
648
+ return Y(() => {
649
649
  const a = (s) => {
650
650
  s.storageArea === localStorage && s.key === e && r(JSON.parse(s.newValue));
651
651
  };
@@ -661,7 +661,7 @@ const ai = ve(
661
661
  };
662
662
  function si(e, t, n) {
663
663
  const [r, i] = D(!1), { threshold: a } = n || {};
664
- return Q(() => {
664
+ return Y(() => {
665
665
  if (!e.current)
666
666
  return () => null;
667
667
  let s = null;
@@ -690,7 +690,7 @@ const br = ({
690
690
  options: n
691
691
  }) => {
692
692
  const r = ne(null);
693
- return Q(() => {
693
+ return Y(() => {
694
694
  const i = r.current;
695
695
  if (!i)
696
696
  return;
@@ -761,7 +761,7 @@ const br = ({
761
761
  },
762
762
  [t, i]
763
763
  );
764
- return Q(() => (document.addEventListener("touchstart", p), document.addEventListener("touchmove", m, { passive: !1 }), () => {
764
+ return Y(() => (document.addEventListener("touchstart", p), document.addEventListener("touchmove", m, { passive: !1 }), () => {
765
765
  document.removeEventListener("touchstart", p), document.removeEventListener("touchmove", m);
766
766
  }), [m, p]), {
767
767
  containerRef: n,
@@ -1351,7 +1351,7 @@ const br = ({
1351
1351
  useGetNotificationsStore: li
1352
1352
  }, Symbol.toStringTag, { value: "Module" })), uf = 6e3, Ys = ve({}), Qs = ({ children: e, ...t }) => {
1353
1353
  const { items: n } = Wt(), [r, i] = D([]), a = ne(null), s = ge(() => Array.isArray(r) && r.length > 0 ? r.map((c) => n.find((l) => l.id === c.id)).filter((c) => c !== void 0) : [], [n, r]);
1354
- return Q(() => {
1354
+ return Y(() => {
1355
1355
  r.length && (clearTimeout(a.current ?? 0), a.current = setTimeout(() => {
1356
1356
  i([]);
1357
1357
  }, uf));
@@ -1401,7 +1401,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1401
1401
  bannerVariant: t.default_variant,
1402
1402
  position: t.default_position
1403
1403
  }, p = d(l), m = ne(p);
1404
- return Q(() => {
1404
+ return Y(() => {
1405
1405
  var _;
1406
1406
  const f = ((_ = new URLSearchParams(window.location.search)) == null ? void 0 : _.toString()) ?? "";
1407
1407
  (f.includes("utm_") || f.includes("gclid")) && (Do.get("lastMedias") || Do.set("lastMedias", `${f}`, {
@@ -1414,7 +1414,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1414
1414
  s || c(!0), i !== v && (a(v), c(!0));
1415
1415
  };
1416
1416
  return s || h(), window.addEventListener("resize", h, { passive: !0 }), () => window.removeEventListener("resize", h);
1417
- }, [i, s]), Q(() => {
1417
+ }, [i, s]), Y(() => {
1418
1418
  const f = d(l);
1419
1419
  u.current.publish(
1420
1420
  "header:change_variant",
@@ -1611,7 +1611,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1611
1611
  (m) => {
1612
1612
  r.current && (r.current.style.position = m);
1613
1613
  }
1614
- ), Q(() => {
1614
+ ), Y(() => {
1615
1615
  const m = new AbortController(), f = z.throttle(
1616
1616
  () => {
1617
1617
  var _;
@@ -1683,7 +1683,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1683
1683
  a(!1), l(!1);
1684
1684
  }, t));
1685
1685
  }, [l, a, t]);
1686
- return Q(() => {
1686
+ return Y(() => {
1687
1687
  if (typeof window > "u")
1688
1688
  return;
1689
1689
  const m = window.document.querySelector("#cart-button"), f = window.document.querySelector(
@@ -1747,10 +1747,10 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1747
1747
  toggleServiceToProduct: N,
1748
1748
  updateItemQuantity: P
1749
1749
  } = a;
1750
- Q(() => {
1750
+ Y(() => {
1751
1751
  (async () => {
1752
- var R, Y;
1753
- if (!a.id || !((Y = (R = r == null ? void 0 : r.promotion) == null ? void 0 : R.promotionCart) != null && Y.idPromotion))
1752
+ var R, Q;
1753
+ if (!a.id || !((Q = (R = r == null ? void 0 : r.promotion) == null ? void 0 : R.promotionCart) != null && Q.idPromotion))
1754
1754
  return;
1755
1755
  const se = await fetch(
1756
1756
  "/api/buywin",
@@ -1774,7 +1774,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1774
1774
  r == null ? void 0 : r.versionId,
1775
1775
  (Ce = (de = r == null ? void 0 : r.promotion) == null ? void 0 : de.promotionCart) == null ? void 0 : Ce.idPromotion,
1776
1776
  (ye = (me = r == null ? void 0 : r.promotion) == null ? void 0 : me.promotionCart) == null ? void 0 : ye.versionAPI
1777
- ]), Q(() => {
1777
+ ]), Y(() => {
1778
1778
  const j = Do.get("lastMedias");
1779
1779
  if (a.id && j && c.current !== j) {
1780
1780
  c.current = j;
@@ -1783,34 +1783,34 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1783
1783
  }
1784
1784
  }, [a, g]);
1785
1785
  const I = oe(
1786
- async (j, se) => (se === "coupon" ? f(j) : _(j, t ?? {})).then((Y) => {
1787
- if (typeof Y != "boolean" && Y instanceof Object) {
1788
- if (se === "seller" && "value" in Y) {
1789
- const { statusOk: he, value: Re } = Y, w = String(Re ?? "").split(" - ");
1786
+ async (j, se) => (se === "coupon" ? f(j) : _(j, t ?? {})).then((Q) => {
1787
+ if (typeof Q != "boolean" && Q instanceof Object) {
1788
+ if (se === "seller" && "value" in Q) {
1789
+ const { statusOk: he, value: Re } = Q, w = String(Re ?? "").split(" - ");
1790
1790
  return nn((w == null ? void 0 : w[0]) ?? "", j, !!he);
1791
1791
  }
1792
- return nn(String(Y.coupon), j, !0);
1792
+ return nn(String(Q.coupon), j, !0);
1793
1793
  }
1794
1794
  return nn("", "");
1795
1795
  }).catch(() => Promise.resolve({ code: 400 })),
1796
1796
  [f, _]
1797
1797
  ), T = oe(
1798
1798
  (j, se, R) => {
1799
- const { id: Y } = j;
1800
- P(Y, se, R);
1799
+ const { id: Q } = j;
1800
+ P(Q, se, R);
1801
1801
  },
1802
1802
  [P]
1803
1803
  ), L = oe(
1804
1804
  (j, se, R = !1) => {
1805
1805
  if (!j)
1806
1806
  return;
1807
- const { id: Y } = j, he = jo(a.items, Y);
1807
+ const { id: Q } = j, he = jo(a.items, Q);
1808
1808
  if (he !== -1 && !R) {
1809
1809
  const Re = Number(a.items[he].quantity), w = a.items[he] ? Re + 1 : 1;
1810
1810
  T(j, w, se);
1811
1811
  } else
1812
1812
  h({
1813
- id: Y,
1813
+ id: Q,
1814
1814
  quantity: (j == null ? void 0 : j.quantity) ?? 1,
1815
1815
  seller: j.seller
1816
1816
  });
@@ -1821,9 +1821,9 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1821
1821
  (j, se) => {
1822
1822
  if (!j || !Array.isArray(j))
1823
1823
  return;
1824
- s((Y) => [...Y, ...j]);
1825
- const R = j.map((Y) => {
1826
- const { id: he, quantity: Re, seller: w } = Y, A = jo(a.items, he), He = Bs(Re ?? 1, A);
1824
+ s((Q) => [...Q, ...j]);
1825
+ const R = j.map((Q) => {
1826
+ const { id: he, quantity: Re, seller: w } = Q, A = jo(a.items, he), He = Bs(Re ?? 1, A);
1827
1827
  return {
1828
1828
  id: he,
1829
1829
  quantity: He,
@@ -1849,20 +1849,20 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1849
1849
  j && S(j);
1850
1850
  },
1851
1851
  [S]
1852
- ), H = oe(
1852
+ ), B = oe(
1853
1853
  async (j, se, R = !1) => {
1854
- const Y = a.items.findIndex(
1854
+ const Q = a.items.findIndex(
1855
1855
  (Re) => Re.uniqueId === j
1856
1856
  );
1857
- return a.items[Y] && Y >= 0 ? N(se, Y, R) : !1;
1857
+ return a.items[Q] && Q >= 0 ? N(se, Q, R) : !1;
1858
1858
  },
1859
1859
  [a.items, N]
1860
1860
  ), te = oe(
1861
1861
  async (j, se) => P(j, se).then((R) => {
1862
1862
  if (Array.isArray(R)) {
1863
- const Y = R.find((he) => he.id === j);
1864
- if (Y && (Y == null ? void 0 : Y.quantity) < se)
1865
- return String(Y.quantity);
1863
+ const Q = R.find((he) => he.id === j);
1864
+ if (Q && (Q == null ? void 0 : Q.quantity) < se)
1865
+ return String(Q.quantity);
1866
1866
  }
1867
1867
  return !1;
1868
1868
  }),
@@ -1903,7 +1903,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1903
1903
  setIsOpen: a.setIsOpen,
1904
1904
  shipping: $,
1905
1905
  shippingUpdateOption: V,
1906
- toggleGiftItemCart: H,
1906
+ toggleGiftItemCart: B,
1907
1907
  updateItemQuantity: te,
1908
1908
  removeCoupon: Z,
1909
1909
  removeSellerCode: W,
@@ -1925,7 +1925,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1925
1925
  k,
1926
1926
  $,
1927
1927
  V,
1928
- H,
1928
+ B,
1929
1929
  te,
1930
1930
  Z,
1931
1931
  W,
@@ -1944,7 +1944,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
1944
1944
  return e;
1945
1945
  }, Pc = ve({}), gi = ({ children: e, fetch: t }) => {
1946
1946
  const n = ne(!0), [r, i] = D(null), [a, s] = D(!1);
1947
- return Q(() => {
1947
+ return Y(() => {
1948
1948
  (async () => {
1949
1949
  n.current = !0;
1950
1950
  try {
@@ -2186,7 +2186,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
2186
2186
  return e ? `Olá${n.length ? ", " : " "}${n}!` : "Olá!";
2187
2187
  }, xf = (e) => "Seja bem vindo!", Df = "Marque a caixa para aceitar os termos de política de privacidade.", kf = "Algumas informações estão incorretas ou não foram preenchidas", Mf = "Enviar", Tc = ve({}), $f = ({ children: e }) => {
2188
2188
  const { data: t, ...n } = yi(), [r, i] = D(0), { sendDataLayerEvent: a } = fe();
2189
- return Q(() => {
2189
+ return Y(() => {
2190
2190
  if (t && "pagination" in t && t.products.length > 0) {
2191
2191
  a({
2192
2192
  functionKey: "productListEvent",
@@ -2259,7 +2259,7 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
2259
2259
  const f = (n == null ? void 0 : n.getAll("facets")) ?? [];
2260
2260
  return qi(p, f);
2261
2261
  }, [p, n]);
2262
- return Q(() => {
2262
+ return Y(() => {
2263
2263
  l.current !== c && (l.current = c, window.document.body.scrollTo(0, 0));
2264
2264
  }, [c]), /* @__PURE__ */ o(
2265
2265
  Lc.Provider,
@@ -2631,13 +2631,13 @@ const Js = ve({}), df = ({ children: e, headerConfigs: t, pathname: n, ...r }) =
2631
2631
  createGridPosAndVideo: Hf,
2632
2632
  getSkusNotify: Er,
2633
2633
  isPositionInCurrentPage: Fc
2634
- }, Symbol.toStringTag, { value: "Module" })), jc = ({ isMobile: e, ICONS: t, NOTIFY_INFO: n }) => /* @__PURE__ */ b(B, { children: [
2634
+ }, Symbol.toStringTag, { value: "Module" })), jc = ({ isMobile: e, ICONS: t, NOTIFY_INFO: n }) => /* @__PURE__ */ b(q, { children: [
2635
2635
  /* @__PURE__ */ o(
2636
2636
  _e.Controls,
2637
2637
  {
2638
2638
  navigation: e ? "top" : "middle",
2639
2639
  isMobile: e ?? !1,
2640
- children: !e && /* @__PURE__ */ b(B, { children: [
2640
+ children: !e && /* @__PURE__ */ b(q, { children: [
2641
2641
  /* @__PURE__ */ o(
2642
2642
  G,
2643
2643
  {
@@ -3474,7 +3474,7 @@ async function fh(e, t = {}) {
3474
3474
  }
3475
3475
  const hh = ({ accountName: e = "" }) => {
3476
3476
  const { sendDataLayerEvent: t } = fe(), { user: n } = hn(), { cartStore: r } = De();
3477
- return Q(() => {
3477
+ return Y(() => {
3478
3478
  if (!n)
3479
3479
  return;
3480
3480
  (async () => {
@@ -3571,9 +3571,9 @@ const hh = ({ accountName: e = "" }) => {
3571
3571
  console.error("Error auto-filling CEP:", _);
3572
3572
  }
3573
3573
  }, [(p = a.user) == null ? void 0 : p.postalCode]);
3574
- return Q(() => {
3574
+ return Y(() => {
3575
3575
  c();
3576
- }, [c]), Q(() => {
3576
+ }, [c]), Y(() => {
3577
3577
  d();
3578
3578
  }, [d]), /* @__PURE__ */ b(
3579
3579
  Kc.Provider,
@@ -3661,7 +3661,7 @@ const hh = ({ accountName: e = "" }) => {
3661
3661
  text: a.messages.invalid_email,
3662
3662
  feedback: "error"
3663
3663
  }
3664
- ) : /* @__PURE__ */ o(B, {})
3664
+ ) : /* @__PURE__ */ o(q, {})
3665
3665
  }
3666
3666
  ),
3667
3667
  /* @__PURE__ */ o(
@@ -3714,7 +3714,7 @@ Zc.displayName = "ProductVariationList.Option";
3714
3714
  const Jc = ({ children: e, ...t }) => /* @__PURE__ */ o("div", { className: Pi["product-variation-list"], ...t, children: e });
3715
3715
  Jc.displayName = "ProductVariationList.Root";
3716
3716
  const el = ({ children: e, title: t, ...n }) => /* @__PURE__ */ b("div", { ...n, className: Pi["product-variation-list--title"], children: [
3717
- t ? /* @__PURE__ */ o(F.Root, { children: /* @__PURE__ */ o(F.SectionWrapper, { children: /* @__PURE__ */ o("p", { children: t }) }) }) : /* @__PURE__ */ o(B, {}),
3717
+ t ? /* @__PURE__ */ o(F.Root, { children: /* @__PURE__ */ o(F.SectionWrapper, { children: /* @__PURE__ */ o("p", { children: t }) }) }) : /* @__PURE__ */ o(q, {}),
3718
3718
  e
3719
3719
  ] });
3720
3720
  el.displayName = "ProductVariationList.Title";
@@ -3734,7 +3734,7 @@ const Et = {
3734
3734
  skus: n,
3735
3735
  sku: r,
3736
3736
  setSku: i
3737
- }) => /* @__PURE__ */ b(B, { children: [
3737
+ }) => /* @__PURE__ */ b(q, { children: [
3738
3738
  /* @__PURE__ */ o("div", { className: Ct["notify--selector--header"], children: e }),
3739
3739
  /* @__PURE__ */ b(Et.Root, { className: Ct["notify--selector"], children: [
3740
3740
  /* @__PURE__ */ o(Et.Title, { title: t }),
@@ -3892,47 +3892,47 @@ const rl = ve({}), ol = ({ banners: e, children: t }) => {
3892
3892
  PRODUCT_CARD_TEXTS: c,
3893
3893
  Z_INDEX_WAR: l
3894
3894
  } = ot(), { router: u } = be(), { sendDataLayerEvent: d } = fe(), { isMobile: p } = ue(), { state: m } = st(), { addPage: f, createPages: h, updateProducts: _, ...g } = Bf(), v = p ? 8 : 16, E = p ? 2 : 4, C = ne(!1), y = ne(m), [S, N] = D(!1), [P, I] = D(null), [T, L] = D([]), O = oe(
3895
- (H) => {
3896
- H && "pagination" in H && d({
3895
+ (B) => {
3896
+ B && "pagination" in B && d({
3897
3897
  functionKey: "productListEvent",
3898
3898
  data: {
3899
3899
  event: "view_item_list",
3900
3900
  commonData: {
3901
- products: H.products
3901
+ products: B.products
3902
3902
  }
3903
3903
  }
3904
3904
  });
3905
3905
  },
3906
3906
  [d]
3907
3907
  ), k = oe(
3908
- (H) => {
3909
- if (H.pagination.nextPage === !0) {
3910
- const te = H.page + 1, Z = Ho(e, te, E, r);
3908
+ (B) => {
3909
+ if (B.pagination.nextPage === !0) {
3910
+ const te = B.page + 1, Z = Ho(e, te, E, r);
3911
3911
  f({ ...m, page: te }, Z, O);
3912
3912
  }
3913
3913
  },
3914
3914
  [f, e, O, E, r, m]
3915
3915
  ), re = oe(
3916
- (H) => {
3917
- H.loading === !1 && _({ ...m, page: H.page }, O);
3916
+ (B) => {
3917
+ B.loading === !1 && _({ ...m, page: B.page }, O);
3918
3918
  },
3919
3919
  [O, _, m]
3920
3920
  ), $ = oe(
3921
- (H) => {
3921
+ (B) => {
3922
3922
  const te = new URLSearchParams(n);
3923
- H.page !== Number(te.get("page") ?? 1) && (te.set("page", String(H.page)), u.replace(`?${te.toString()}`, { scroll: !1 }));
3923
+ B.page !== Number(te.get("page") ?? 1) && (te.set("page", String(B.page)), u.replace(`?${te.toString()}`, { scroll: !1 }));
3924
3924
  },
3925
3925
  [u, n]
3926
3926
  ), V = oe(
3927
- (H, te) => {
3927
+ (B, te) => {
3928
3928
  const Z = te ? Er([te]) : null;
3929
- L(H), I(Z != null && Z.length ? Z[0] : null), N(!0);
3929
+ L(B), I(Z != null && Z.length ? Z[0] : null), N(!0);
3930
3930
  },
3931
3931
  []
3932
3932
  );
3933
- return Q(() => {
3934
- const H = !C.current, te = Oc(y.current, m), Z = Ho(e, m.page, E);
3935
- H ? h(m, Z, O, r) : te && (h(m, Z, O, r), y.current = m), C.current = !0;
3933
+ return Y(() => {
3934
+ const B = !C.current, te = Oc(y.current, m), Z = Ho(e, m.page, E);
3935
+ B ? h(m, Z, O, r) : te && (h(m, Z, O, r), y.current = m), C.current = !0;
3936
3936
  }, [e, h, O, E, r, m]), /* @__PURE__ */ b(
3937
3937
  rl.Provider,
3938
3938
  {
@@ -4028,7 +4028,7 @@ const rl = ve({}), ol = ({ banners: e, children: t }) => {
4028
4028
  ]
4029
4029
  }
4030
4030
  )
4031
- ] }) : /* @__PURE__ */ o(B, {});
4031
+ ] }) : /* @__PURE__ */ o(q, {});
4032
4032
  }, Sr = () => {
4033
4033
  const e = Ee(il);
4034
4034
  return e === void 0 && console.error("Needs PLPContentContext on parent component"), e;
@@ -4582,7 +4582,7 @@ const yl = ({
4582
4582
  dt["add-to-cart--card--price-quantity"],
4583
4583
  e
4584
4584
  ),
4585
- children: /* @__PURE__ */ o(Ae.Root, { size: "small", layout: "vertical", children: /* @__PURE__ */ o(Ae.Wrapper, { size: "small", layout: "vertical", children: /* @__PURE__ */ o(Ae.ValuesWrapper, { children: n !== t ? /* @__PURE__ */ b(B, { children: [
4585
+ children: /* @__PURE__ */ o(Ae.Root, { size: "small", layout: "vertical", children: /* @__PURE__ */ o(Ae.Wrapper, { size: "small", layout: "vertical", children: /* @__PURE__ */ o(Ae.ValuesWrapper, { children: n !== t ? /* @__PURE__ */ b(q, { children: [
4586
4586
  /* @__PURE__ */ o(
4587
4587
  Ae.Price,
4588
4588
  {
@@ -4648,7 +4648,7 @@ const Lh = "_skeleton_12b79_1", Oh = {
4648
4648
  const {
4649
4649
  CONSTANTS: { TEXTURE_IMAGE: a, TOGGLE_STYLE_MODIFIER: s }
4650
4650
  } = Jt(), [c, l] = D(r ?? "");
4651
- return Q(() => {
4651
+ return Y(() => {
4652
4652
  c || fetch("/api/catalog/product/info", {
4653
4653
  method: "POST",
4654
4654
  priority: "low",
@@ -4911,9 +4911,9 @@ const Il = ({ children: e, Z_INDEX_WAR: t }) => {
4911
4911
  Il.displayName = "AddToCart.Modal";
4912
4912
  const zh = ({ children: e }) => {
4913
4913
  const { count: t, handleClose: n, setIsOpen: r } = Jt(), i = ne(t);
4914
- return Q(() => {
4914
+ return Y(() => {
4915
4915
  t > i.current && r(!0), t < i.current && i.current >= 1 && n(), i.current = t;
4916
- }, [t, n, r]), /* @__PURE__ */ o(B, { children: e });
4916
+ }, [t, n, r]), /* @__PURE__ */ o(q, { children: e });
4917
4917
  }, Rl = ({ children: e, component: t, CONSTANTS: n, ...r }) => {
4918
4918
  const { recentlyAddedProducts: i } = Ln(), { isMobile: a } = ue(), s = i.length > 3 ? 4 : i.length;
4919
4919
  return /* @__PURE__ */ o(
@@ -4923,7 +4923,7 @@ const zh = ({ children: e }) => {
4923
4923
  count: s,
4924
4924
  isMobile: a,
4925
4925
  CONSTANTS: n,
4926
- children: /* @__PURE__ */ o(zh, { children: a ? /* @__PURE__ */ b(B, { children: [
4926
+ children: /* @__PURE__ */ o(zh, { children: a ? /* @__PURE__ */ b(q, { children: [
4927
4927
  /* @__PURE__ */ o(Vt.Modal, { Z_INDEX_WAR: n.Z_INDEX_WAR, children: t }),
4928
4928
  e
4929
4929
  ] }) : /* @__PURE__ */ o(Vt.Tooltip, { component: t, style: { width: 350 }, Z_INDEX_WAR: n.Z_INDEX_WAR, children: e }) })
@@ -6207,7 +6207,7 @@ function r_() {
6207
6207
  return L;
6208
6208
  },
6209
6209
  RSC_ACTION_CLIENT_WRAPPER_ALIAS: function() {
6210
- return H;
6210
+ return B;
6211
6211
  },
6212
6212
  RSC_ACTION_ENCRYPTION_ALIAS: function() {
6213
6213
  return V;
@@ -6240,7 +6240,7 @@ function r_() {
6240
6240
  return Re;
6241
6241
  },
6242
6242
  SSG_FALLBACK_EXPORT_ERROR: function() {
6243
- return Y;
6243
+ return Q;
6244
6244
  },
6245
6245
  SSG_GET_INITIAL_PROPS_CONFLICT: function() {
6246
6246
  return Z;
@@ -6258,7 +6258,7 @@ function r_() {
6258
6258
  return He;
6259
6259
  }
6260
6260
  });
6261
- const n = "nxtP", r = "nxtI", i = "x-prerender-revalidate", a = "x-prerender-revalidate-if-generated", s = ".prefetch.rsc", c = ".rsc", l = ".action", u = ".json", d = ".meta", p = ".body", m = "x-next-cache-tags", f = "x-next-cache-soft-tags", h = "x-next-revalidated-tags", _ = "x-next-revalidate-tag-token", g = 128, v = 256, E = 1024, C = "_N_T_", y = 31536e3, S = "middleware", N = `(?:src/)?${S}`, P = "instrumentation", I = "private-next-pages", T = "private-dot-next", L = "private-next-root-dir", O = "private-next-app-dir", k = "private-next-rsc-mod-ref-proxy", re = "private-next-rsc-action-validate", $ = "private-next-rsc-server-reference", V = "private-next-rsc-action-encryption", H = "private-next-rsc-action-client-wrapper", te = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", Z = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", W = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", ae = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", de = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", Ce = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", me = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", ye = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", j = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", se = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", R = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', Y = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", he = [
6261
+ const n = "nxtP", r = "nxtI", i = "x-prerender-revalidate", a = "x-prerender-revalidate-if-generated", s = ".prefetch.rsc", c = ".rsc", l = ".action", u = ".json", d = ".meta", p = ".body", m = "x-next-cache-tags", f = "x-next-cache-soft-tags", h = "x-next-revalidated-tags", _ = "x-next-revalidate-tag-token", g = 128, v = 256, E = 1024, C = "_N_T_", y = 31536e3, S = "middleware", N = `(?:src/)?${S}`, P = "instrumentation", I = "private-next-pages", T = "private-dot-next", L = "private-next-root-dir", O = "private-next-app-dir", k = "private-next-rsc-mod-ref-proxy", re = "private-next-rsc-action-validate", $ = "private-next-rsc-server-reference", V = "private-next-rsc-action-encryption", B = "private-next-rsc-action-client-wrapper", te = "You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict", Z = "You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps", W = "You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.", ae = "You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps", de = "can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props", Ce = "pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export", me = "Your `getStaticProps` function did not return an object. Did you forget to add a `return`?", ye = "Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?", j = "The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.", se = "can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member", R = 'You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env', Q = "Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export", he = [
6262
6262
  "app",
6263
6263
  "pages",
6264
6264
  "components",
@@ -7044,8 +7044,8 @@ function y_() {
7044
7044
  P.nativeEvent && P.nativeEvent.which === 2;
7045
7045
  }
7046
7046
  function C(P, I, T, L, O, k, re, $, V) {
7047
- const { nodeName: H } = P.currentTarget;
7048
- if (H.toUpperCase() === "A" && (E(P) || // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.
7047
+ const { nodeName: B } = P.currentTarget;
7048
+ if (B.toUpperCase() === "A" && (E(P) || // app-router supports external urls out of the box so it shouldn't short-circuit here as support for e.g. `replace` is added in the app-router.
7049
7049
  !V && !(0, s.isLocalURL)(T)))
7050
7050
  return;
7051
7051
  P.preventDefault();
@@ -7066,24 +7066,24 @@ function y_() {
7066
7066
  }
7067
7067
  const N = /* @__PURE__ */ i.default.forwardRef(function(I, T) {
7068
7068
  let L;
7069
- const { href: O, as: k, children: re, prefetch: $ = null, passHref: V, replace: H, shallow: te, scroll: Z, locale: W, onClick: ae, onMouseEnter: de, onTouchStart: Ce, legacyBehavior: me = !1, ...ye } = I;
7069
+ const { href: O, as: k, children: re, prefetch: $ = null, passHref: V, replace: B, shallow: te, scroll: Z, locale: W, onClick: ae, onMouseEnter: de, onTouchStart: Ce, legacyBehavior: me = !1, ...ye } = I;
7070
7070
  L = re, me && (typeof L == "string" || typeof L == "number") && (L = /* @__PURE__ */ (0, r.jsx)("a", {
7071
7071
  children: L
7072
7072
  }));
7073
- const j = i.default.useContext(d.RouterContext), se = i.default.useContext(p.AppRouterContext), R = j ?? se, Y = !j, he = $ !== !1, Re = $ === null ? _.PrefetchKind.AUTO : _.PrefetchKind.FULL;
7073
+ const j = i.default.useContext(d.RouterContext), se = i.default.useContext(p.AppRouterContext), R = j ?? se, Q = !j, he = $ !== !1, Re = $ === null ? _.PrefetchKind.AUTO : _.PrefetchKind.FULL;
7074
7074
  if (process.env.NODE_ENV !== "production") {
7075
- let U = function(q) {
7076
- return new Error("Failed prop type: The prop `" + q.key + "` expects a " + q.expected + " in `<Link>`, but got `" + q.actual + "` instead." + (typeof window < "u" ? `
7075
+ let U = function(H) {
7076
+ return new Error("Failed prop type: The prop `" + H.key + "` expects a " + H.expected + " in `<Link>`, but got `" + H.actual + "` instead." + (typeof window < "u" ? `
7077
7077
  Open your browser's console to view the Component stack trace.` : ""));
7078
7078
  };
7079
7079
  Object.keys({
7080
7080
  href: !0
7081
- }).forEach((q) => {
7082
- if (q === "href" && (I[q] == null || typeof I[q] != "string" && typeof I[q] != "object"))
7081
+ }).forEach((H) => {
7082
+ if (H === "href" && (I[H] == null || typeof I[H] != "string" && typeof I[H] != "object"))
7083
7083
  throw U({
7084
- key: q,
7084
+ key: H,
7085
7085
  expected: "`string` or `object`",
7086
- actual: I[q] === null ? "null" : typeof I[q]
7086
+ actual: I[H] === null ? "null" : typeof I[H]
7087
7087
  });
7088
7088
  }), Object.keys({
7089
7089
  as: !0,
@@ -7097,40 +7097,40 @@ Open your browser's console to view the Component stack trace.` : ""));
7097
7097
  onMouseEnter: !0,
7098
7098
  onTouchStart: !0,
7099
7099
  legacyBehavior: !0
7100
- }).forEach((q) => {
7101
- const ce = typeof I[q];
7102
- if (q === "as") {
7103
- if (I[q] && ce !== "string" && ce !== "object")
7100
+ }).forEach((H) => {
7101
+ const ce = typeof I[H];
7102
+ if (H === "as") {
7103
+ if (I[H] && ce !== "string" && ce !== "object")
7104
7104
  throw U({
7105
- key: q,
7105
+ key: H,
7106
7106
  expected: "`string` or `object`",
7107
7107
  actual: ce
7108
7108
  });
7109
- } else if (q === "locale") {
7110
- if (I[q] && ce !== "string")
7109
+ } else if (H === "locale") {
7110
+ if (I[H] && ce !== "string")
7111
7111
  throw U({
7112
- key: q,
7112
+ key: H,
7113
7113
  expected: "`string`",
7114
7114
  actual: ce
7115
7115
  });
7116
- } else if (q === "onClick" || q === "onMouseEnter" || q === "onTouchStart") {
7117
- if (I[q] && ce !== "function")
7116
+ } else if (H === "onClick" || H === "onMouseEnter" || H === "onTouchStart") {
7117
+ if (I[H] && ce !== "function")
7118
7118
  throw U({
7119
- key: q,
7119
+ key: H,
7120
7120
  expected: "`function`",
7121
7121
  actual: ce
7122
7122
  });
7123
- } else if ((q === "replace" || q === "scroll" || q === "shallow" || q === "passHref" || q === "prefetch" || q === "legacyBehavior") && I[q] != null && ce !== "boolean")
7123
+ } else if ((H === "replace" || H === "scroll" || H === "shallow" || H === "passHref" || H === "prefetch" || H === "legacyBehavior") && I[H] != null && ce !== "boolean")
7124
7124
  throw U({
7125
- key: q,
7125
+ key: H,
7126
7126
  expected: "`boolean`",
7127
7127
  actual: ce
7128
7128
  });
7129
7129
  });
7130
7130
  const x = i.default.useRef(!1);
7131
- I.prefetch && !x.current && !Y && (x.current = !0, console.warn("Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated"));
7131
+ I.prefetch && !x.current && !Q && (x.current = !0, console.warn("Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated"));
7132
7132
  }
7133
- if (process.env.NODE_ENV !== "production" && Y && !k) {
7133
+ if (process.env.NODE_ENV !== "production" && Q && !k) {
7134
7134
  let U;
7135
7135
  if (typeof O == "string" ? U = O : typeof O == "object" && typeof O.pathname == "string" && (U = O.pathname), U && U.split("/").some((Oe) => Oe.startsWith("[") && Oe.endsWith("]")))
7136
7136
  throw new Error("Dynamic href `" + U + "` found in <Link> while using the `/app` router, this is not supported. Read more: https://nextjs.org/docs/messages/app-dir-dynamic-href");
@@ -7184,7 +7184,7 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
7184
7184
  locale: W
7185
7185
  }, {
7186
7186
  kind: Re
7187
- }, Y));
7187
+ }, Q));
7188
7188
  }, [
7189
7189
  A,
7190
7190
  w,
@@ -7193,7 +7193,7 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
7193
7193
  he,
7194
7194
  j == null ? void 0 : j.locale,
7195
7195
  R,
7196
- Y,
7196
+ Q,
7197
7197
  Re
7198
7198
  ]);
7199
7199
  const Me = {
@@ -7201,27 +7201,27 @@ Learn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor`
7201
7201
  onClick(U) {
7202
7202
  if (process.env.NODE_ENV !== "production" && !U)
7203
7203
  throw new Error('Component rendered inside next/link has to pass click event to "onClick" prop.');
7204
- !me && typeof ae == "function" && ae(U), me && J.props && typeof J.props.onClick == "function" && J.props.onClick(U), R && (U.defaultPrevented || C(U, R, w, A, H, te, Z, W, Y));
7204
+ !me && typeof ae == "function" && ae(U), me && J.props && typeof J.props.onClick == "function" && J.props.onClick(U), R && (U.defaultPrevented || C(U, R, w, A, B, te, Z, W, Q));
7205
7205
  },
7206
7206
  onMouseEnter(U) {
7207
- !me && typeof de == "function" && de(U), me && J.props && typeof J.props.onMouseEnter == "function" && J.props.onMouseEnter(U), R && ((!he || process.env.NODE_ENV === "development") && Y || v(R, w, A, {
7207
+ !me && typeof de == "function" && de(U), me && J.props && typeof J.props.onMouseEnter == "function" && J.props.onMouseEnter(U), R && ((!he || process.env.NODE_ENV === "development") && Q || v(R, w, A, {
7208
7208
  locale: W,
7209
7209
  priority: !0,
7210
7210
  // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
7211
7211
  bypassPrefetchedCheck: !0
7212
7212
  }, {
7213
7213
  kind: Re
7214
- }, Y));
7214
+ }, Q));
7215
7215
  },
7216
7216
  onTouchStart: process.env.__NEXT_LINK_NO_TOUCH_START ? void 0 : function(Se) {
7217
- !me && typeof Ce == "function" && Ce(Se), me && J.props && typeof J.props.onTouchStart == "function" && J.props.onTouchStart(Se), R && (!he && Y || v(R, w, A, {
7217
+ !me && typeof Ce == "function" && Ce(Se), me && J.props && typeof J.props.onTouchStart == "function" && J.props.onTouchStart(Se), R && (!he && Q || v(R, w, A, {
7218
7218
  locale: W,
7219
7219
  priority: !0,
7220
7220
  // @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
7221
7221
  bypassPrefetchedCheck: !0
7222
7222
  }, {
7223
7223
  kind: Re
7224
- }, Y));
7224
+ }, Q));
7225
7225
  }
7226
7226
  };
7227
7227
  if ((0, l.isAbsoluteUrl)(A))
@@ -7305,7 +7305,7 @@ const it = /* @__PURE__ */ yr(b_), C_ = "_link_w24h0_1", E_ = "_wrapper_w24h0_98
7305
7305
  Z_INDEX_WAR: n
7306
7306
  }) => {
7307
7307
  const r = hi(), { resetFeedback: i } = Zt(), a = ne(null);
7308
- return Q(() => {
7308
+ return Y(() => {
7309
7309
  a.current && clearTimeout(a.current), r && (a.current = setTimeout(() => {
7310
7310
  i();
7311
7311
  }, 5e3));
@@ -7408,7 +7408,7 @@ const ql = ({
7408
7408
  },
7409
7409
  [f]
7410
7410
  );
7411
- return Q(() => {
7411
+ return Y(() => {
7412
7412
  if (e || !t.current)
7413
7413
  return;
7414
7414
  const _ = { root: null, threshold: 0.1 }, g = new IntersectionObserver(
@@ -7570,7 +7570,7 @@ const Ar = (e) => /* @__PURE__ */ o("div", { ...e, className: yt["pdc--infinite-
7570
7570
  Ar.displayName = "PDC.Spinner";
7571
7571
  function Gl({ CONSTANTS: e }) {
7572
7572
  const { sendDataLayerEvent: t } = fe(), { isMobile: n } = ue(), { getAvailableProductTag: r } = jt(), [i, a] = D([]), [s, c] = D(!0), l = fn(), u = l.join(","), d = n ? 16 : 32;
7573
- return Q(() => {
7573
+ return Y(() => {
7574
7574
  const p = async () => {
7575
7575
  l.length ? await fetch("/api/wishlist/products", {
7576
7576
  method: "POST",
@@ -7653,7 +7653,7 @@ const w_ = (e) => e.map((t) => {
7653
7653
  Z_INDEX_WAR: n
7654
7654
  }) => {
7655
7655
  const r = hn(), i = fn(), a = hi(), { updateList: s } = Zt();
7656
- return Q(() => {
7656
+ return Y(() => {
7657
7657
  var l, u;
7658
7658
  a.active && Pn("fs::wishlist", i);
7659
7659
  const c = async () => {
@@ -7669,7 +7669,7 @@ const w_ = (e) => e.map((t) => {
7669
7669
  });
7670
7670
  };
7671
7671
  a.active && ((l = r.user) != null && l.id) && i.length !== ((u = r.wishlist) == null ? void 0 : u.length) && c();
7672
- }, [a, r, i]), Q(() => {
7672
+ }, [a, r, i]), Y(() => {
7673
7673
  var u;
7674
7674
  const c = async () => {
7675
7675
  const d = await Nn("fs::wishlist");
@@ -8179,7 +8179,7 @@ const au = ({ className: e, hasDecimal: t, ...n }) => {
8179
8179
  ),
8180
8180
  "data-mobile": r,
8181
8181
  children: /* @__PURE__ */ o(Ae.Root, { size: "small", layout: m, children: /* @__PURE__ */ b(Ae.Wrapper, { size: "small", layout: m, children: [
8182
- /* @__PURE__ */ o(Ae.ValuesWrapper, { children: d !== u ? /* @__PURE__ */ b(B, { children: [
8182
+ /* @__PURE__ */ o(Ae.ValuesWrapper, { children: d !== u ? /* @__PURE__ */ b(q, { children: [
8183
8183
  /* @__PURE__ */ o(
8184
8184
  Ae.Price,
8185
8185
  {
@@ -8253,7 +8253,7 @@ const su = ({
8253
8253
  su.displayName = "ProductCard.Title";
8254
8254
  const cu = ({ className: e, url: t, poster: n, ...r }) => {
8255
8255
  const { element: i } = vt();
8256
- return Q(() => {
8256
+ return Y(() => {
8257
8257
  if (!(i != null && i.current))
8258
8258
  return;
8259
8259
  const a = i.current, s = a.querySelector("video");
@@ -8418,7 +8418,7 @@ const we = {
8418
8418
  )) })
8419
8419
  ]
8420
8420
  }
8421
- ) : /* @__PURE__ */ b(B, { children: [
8421
+ ) : /* @__PURE__ */ b(q, { children: [
8422
8422
  r && /* @__PURE__ */ o($a, { title: r }),
8423
8423
  /* @__PURE__ */ o("div", { className: on.shelf_without_carousel, children: e })
8424
8424
  ] });
@@ -8505,7 +8505,7 @@ const Rn = {
8505
8505
  });
8506
8506
  d(_);
8507
8507
  };
8508
- return Q(() => {
8508
+ return Y(() => {
8509
8509
  if (!t || i.length === 0)
8510
8510
  return;
8511
8511
  const f = e.BUY_PACKAGE.header.title;
@@ -8705,7 +8705,7 @@ const D_ = {
8705
8705
  ...s
8706
8706
  }) => {
8707
8707
  const c = ne(null), l = si(c, i, n), { sendDataLayerEvent: u } = fe();
8708
- return Q(() => {
8708
+ return Y(() => {
8709
8709
  l && (typeof r == "function" && r(), t && u({ ...t }));
8710
8710
  }, [l]), /* @__PURE__ */ o(
8711
8711
  "div",
@@ -8891,7 +8891,7 @@ const hu = ({
8891
8891
  ...n
8892
8892
  }) => {
8893
8893
  const { CONSTANTS: r } = je();
8894
- return /* @__PURE__ */ b(B, { children: [
8894
+ return /* @__PURE__ */ b(q, { children: [
8895
8895
  /* @__PURE__ */ o(
8896
8896
  "div",
8897
8897
  {
@@ -9089,7 +9089,7 @@ const Eu = ({
9089
9089
  },
9090
9090
  children: Tf
9091
9091
  }
9092
- ) }) : /* @__PURE__ */ o(B, {})
9092
+ ) }) : /* @__PURE__ */ o(q, {})
9093
9093
  ]
9094
9094
  }
9095
9095
  );
@@ -9112,7 +9112,7 @@ const Nu = (e) => {
9112
9112
  },
9113
9113
  [e]
9114
9114
  );
9115
- return Q(() => (document.addEventListener("mousedown", n), document.addEventListener("keydown", i), document.addEventListener("touchstart", r), () => {
9115
+ return Y(() => (document.addEventListener("mousedown", n), document.addEventListener("keydown", i), document.addEventListener("touchstart", r), () => {
9116
9116
  document.removeEventListener("mousedown", n), document.removeEventListener("keydown", i), document.removeEventListener("touchstart", r);
9117
9117
  }), [n, i, r]), { ref: t };
9118
9118
  }, $_ = (e) => {
@@ -9142,7 +9142,7 @@ const Nu = (e) => {
9142
9142
  i(!1), u(!1);
9143
9143
  }, t));
9144
9144
  });
9145
- return Q(() => {
9145
+ return Y(() => {
9146
9146
  if (a && (m != null && m.current)) {
9147
9147
  const { left: f, top: h } = z_(m.current, a, n ?? 0);
9148
9148
  p({ left: f, top: h }), u(!1);
@@ -9211,7 +9211,7 @@ const Nu = (e) => {
9211
9211
  );
9212
9212
  };
9213
9213
  wu.displayName = "UserMenu.Modal";
9214
- const Iu = ({ children: e, component: t, Z_INDEX_WAR: n, isMobile: r, ...i }) => /* @__PURE__ */ o(F_, { ...i, className: ht.root, children: r ? /* @__PURE__ */ b(B, { children: [
9214
+ const Iu = ({ children: e, component: t, Z_INDEX_WAR: n, isMobile: r, ...i }) => /* @__PURE__ */ o(F_, { ...i, className: ht.root, children: r ? /* @__PURE__ */ b(q, { children: [
9215
9215
  /* @__PURE__ */ o(Dt.Modal, { Z_INDEX_WAR: n, children: t }),
9216
9216
  e
9217
9217
  ] }) : /* @__PURE__ */ o(
@@ -9313,7 +9313,7 @@ const Dt = {
9313
9313
  link: `${a.secureSubdomain}/account#/meus-creditos`,
9314
9314
  total: m + p
9315
9315
  }
9316
- ) : /* @__PURE__ */ o(B, {}),
9316
+ ) : /* @__PURE__ */ o(q, {}),
9317
9317
  /* @__PURE__ */ o(Be.Divider, {}),
9318
9318
  /* @__PURE__ */ o(
9319
9319
  Dt.Menu,
@@ -9351,7 +9351,7 @@ const Au = ({
9351
9351
  storeConfig: e
9352
9352
  }) => {
9353
9353
  const { CONSTANTS: t } = je(), { handleSelectContent: n } = fe(), { reset: r } = xn(), { setValue: i } = mi(), a = di(), s = ne(null);
9354
- return /* @__PURE__ */ b(B, { children: [
9354
+ return /* @__PURE__ */ b(q, { children: [
9355
9355
  /* @__PURE__ */ b(Ge.Wrapper, { className: "header-desktop-wrapper", children: [
9356
9356
  /* @__PURE__ */ o(Ge.Logo, { style: { width: "100%" }, children: /* @__PURE__ */ o(it, { href: "/", onMouseEnter: r, children: /* @__PURE__ */ o(
9357
9357
  M,
@@ -9503,7 +9503,7 @@ const xu = ({ current: e, onHandleOut: t }) => {
9503
9503
  submenuLabel: e == null ? void 0 : e.id
9504
9504
  }
9505
9505
  )
9506
- ] }, i))) }) : /* @__PURE__ */ o(B, {});
9506
+ ] }, i))) }) : /* @__PURE__ */ o(q, {});
9507
9507
  };
9508
9508
  xu.displayName = "Menu.Mobile.Body.SubCategory";
9509
9509
  const Du = ({
@@ -9950,7 +9950,7 @@ const G_ = Fu(() => Promise.resolve(ju), {
9950
9950
  children: e,
9951
9951
  last: t = !1,
9952
9952
  ...n
9953
- }) => /* @__PURE__ */ b(B, { children: [
9953
+ }) => /* @__PURE__ */ b(q, { children: [
9954
9954
  /* @__PURE__ */ o(G, { ...n, "data-close": !0, size: "small", variant: "tertiary", children: e }),
9955
9955
  !t && /* @__PURE__ */ o(
9956
9956
  Be.Divider,
@@ -10009,7 +10009,7 @@ const go = {
10009
10009
  storeConfig: e
10010
10010
  }) => {
10011
10011
  const t = ne(null), { CONSTANTS: n } = je(), { MENU_NAVIGATION_BAR_ALLOWED: r, ICONS: i } = n.header, { handleSelectContent: a } = fe(), { setValue: s } = Cr(), { setValue: c } = ic(), { setValue: l } = mi(), u = di(), d = oc(), { isMobile: p } = ue();
10012
- return /* @__PURE__ */ b(B, { children: [
10012
+ return /* @__PURE__ */ b(q, { children: [
10013
10013
  /* @__PURE__ */ b(Ge.Wrapper, { className: "header-mobile-wrapper", children: [
10014
10014
  /* @__PURE__ */ o(Ge.Logo, { style: { width: "100%" }, children: /* @__PURE__ */ o(it, { href: "/", children: /* @__PURE__ */ o(
10015
10015
  M,
@@ -10054,7 +10054,7 @@ const go = {
10054
10054
  mobileUserMenuTarget: t == null ? void 0 : t.current,
10055
10055
  children: /* @__PURE__ */ b(go.Root, { children: [
10056
10056
  /* @__PURE__ */ o(go.Body, {}),
10057
- r ? /* @__PURE__ */ o(go.NavigationBar, {}) : /* @__PURE__ */ o(B, {})
10057
+ r ? /* @__PURE__ */ o(go.NavigationBar, {}) : /* @__PURE__ */ o(q, {})
10058
10058
  ] })
10059
10059
  }
10060
10060
  )
@@ -10065,7 +10065,7 @@ const go = {
10065
10065
  Hu.displayName = "Header.HeaderMobileWrapper";
10066
10066
  const K_ = ve({}), X_ = ({ children: e }) => {
10067
10067
  const { sendDataLayerEvent: t } = fe(), { cartStore: n, isOpen: r } = De();
10068
- Q(() => {
10068
+ Y(() => {
10069
10069
  r && t({
10070
10070
  functionKey: "viewCartEvent",
10071
10071
  data: {
@@ -10074,7 +10074,7 @@ const K_ = ve({}), X_ = ({ children: e }) => {
10074
10074
  }
10075
10075
  }
10076
10076
  });
10077
- }, [r]), Q(() => {
10077
+ }, [r]), Y(() => {
10078
10078
  var a, s, c;
10079
10079
  if (n.id && !((s = (a = n.marketingData) == null ? void 0 : a.marketingTags) != null && s.includes("faststore"))) {
10080
10080
  const { id: l } = n;
@@ -10300,7 +10300,7 @@ const J_ = ({
10300
10300
  );
10301
10301
  });
10302
10302
  };
10303
- return /* @__PURE__ */ b(B, { children: [
10303
+ return /* @__PURE__ */ b(q, { children: [
10304
10304
  /* @__PURE__ */ b("div", { className: le["mc--card--actions--add-remove"], children: [
10305
10305
  r.has_wishlist_button && /* @__PURE__ */ o(
10306
10306
  J_,
@@ -10405,7 +10405,7 @@ const Xu = ({
10405
10405
  skuName: t,
10406
10406
  tagName: n,
10407
10407
  className: r
10408
- }) => /* @__PURE__ */ b(B, { children: [
10408
+ }) => /* @__PURE__ */ b(q, { children: [
10409
10409
  n && /* @__PURE__ */ o(
10410
10410
  rt,
10411
10411
  {
@@ -10424,7 +10424,7 @@ const Yu = ({ total: e, totalList: t }) => /* @__PURE__ */ o(Ae.Root, { children
10424
10424
  className: le["mc--card--price--details"],
10425
10425
  size: "small",
10426
10426
  layout: "horizontal",
10427
- children: t && e !== t ? /* @__PURE__ */ b(B, { children: [
10427
+ children: t && e !== t ? /* @__PURE__ */ b(q, { children: [
10428
10428
  /* @__PURE__ */ o(
10429
10429
  Ae.Price,
10430
10430
  {
@@ -10493,7 +10493,7 @@ const Qu = ({
10493
10493
  console.error(m);
10494
10494
  });
10495
10495
  }, [s, c, e.id]);
10496
- return Q(() => {
10496
+ return Y(() => {
10497
10497
  if (!a.current) return;
10498
10498
  const d = new IntersectionObserver((p) => {
10499
10499
  p[0].isIntersecting && l();
@@ -10759,7 +10759,7 @@ const tg = (e) => {
10759
10759
  ICONS: c
10760
10760
  }) => {
10761
10761
  const [l, u] = D(s);
10762
- Q(() => {
10762
+ Y(() => {
10763
10763
  t || u(s);
10764
10764
  }, [s, t]);
10765
10765
  const d = () => t ? /* @__PURE__ */ o(M, { name: c.delete_circle }) : String(s).length && r ? /* @__PURE__ */ o(M, { name: c.check_circle }) : null, p = () => {
@@ -10865,7 +10865,7 @@ const ja = (e) => {
10865
10865
  addCouponSeller: s,
10866
10866
  setIsOpen: c
10867
10867
  } = De(), { sendDataLayerEvent: l } = fe(), u = (v = n == null ? void 0 : n.promotion) == null ? void 0 : v.promotionCart, d = ne(!1), { router: p } = be();
10868
- if (Q(() => {
10868
+ if (Y(() => {
10869
10869
  (u == null ? void 0 : u.selectPromotion) === "Cupom" && (t == null ? void 0 : t.remainingValueToActivate) && (t == null ? void 0 : t.remainingValueToActivate) <= 0 && (u == null ? void 0 : u.cupom) && !d.current && (a == null ? void 0 : a.coupon) !== u.cupom && (d.current = !0, s(u.cupom, "coupon")), t != null && t.remainingValueToActivate && (t == null ? void 0 : t.remainingValueToActivate) <= 0 && l({
10870
10870
  functionKey: "viewCartEvent",
10871
10871
  data: {
@@ -10926,11 +10926,11 @@ const ad = ({ TIPBAR_CONFIGS: e }) => {
10926
10926
  cartStore: { items: r, marketingData: i },
10927
10927
  addCouponSeller: a
10928
10928
  } = De(), s = t == null ? void 0 : t.flags.flagCart.flagCupom, c = (i == null ? void 0 : i.coupon) === (s == null ? void 0 : s.valueCupom), [l, u] = D(!1), [d, p] = D(!1);
10929
- if (Q(() => {
10929
+ if (Y(() => {
10930
10930
  l && setTimeout(() => {
10931
10931
  u(!1);
10932
10932
  }, e.snackbar_timeout);
10933
- }, [l]), Q(() => {
10933
+ }, [l]), Y(() => {
10934
10934
  d && setTimeout(() => {
10935
10935
  p(!1);
10936
10936
  }, e.snackbar_timeout);
@@ -11046,7 +11046,7 @@ const cd = ({ children: e, storeConfig: t, MINICART_CONFIG: n }) => {
11046
11046
  cd.displayName = "MiniCart.Modal.Footer";
11047
11047
  const ld = ({ children: e, ICONS: t, MINICART_CONFIG: n, Z_INDEX_WAR: r }) => {
11048
11048
  const [i, a] = D(!1), s = ne(null), c = () => a((l) => !l);
11049
- return /* @__PURE__ */ b(B, { children: [
11049
+ return /* @__PURE__ */ b(q, { children: [
11050
11050
  i && /* @__PURE__ */ o(
11051
11051
  ln.Root,
11052
11052
  {
@@ -11581,7 +11581,7 @@ const ig = "_shippingFreight_6z8rf_6", ag = "_shippingFreight__postalCodeGrid_6z
11581
11581
  ...l
11582
11582
  }) => {
11583
11583
  const { isMobile: u } = ue();
11584
- return /* @__PURE__ */ o(B, { children: u ? /* @__PURE__ */ o(
11584
+ return /* @__PURE__ */ o(q, { children: u ? /* @__PURE__ */ o(
11585
11585
  ln.Root,
11586
11586
  {
11587
11587
  arrow: "bottom",
@@ -11635,10 +11635,10 @@ const ig = "_shippingFreight_6z8rf_6", ag = "_shippingFreight__postalCodeGrid_6z
11635
11635
  const te = V.target.value.replace(/\D/g, "").slice(0, 8);
11636
11636
  te.length > 5 ? f(te.replace(/^(\d{5})(\d{1,3})/, "$1-$2")) : f(te);
11637
11637
  }, I = async (V) => {
11638
- const H = V.target.value.replace(/\D/g, "");
11638
+ const B = V.target.value.replace(/\D/g, "");
11639
11639
  try {
11640
11640
  if ((await qt.get(
11641
- `https://viacep.com.br/ws/${H}/json/`
11641
+ `https://viacep.com.br/ws/${B}/json/`
11642
11642
  )).data.erro) {
11643
11643
  a && a(l.messages.cep_not_found), s(!1), v(!0);
11644
11644
  return;
@@ -11682,7 +11682,7 @@ const ig = "_shippingFreight_6z8rf_6", ag = "_shippingFreight__postalCodeGrid_6z
11682
11682
  toolTipZIndex: u,
11683
11683
  freightConfig: l
11684
11684
  }
11685
- ) : /* @__PURE__ */ o(B, {}),
11685
+ ) : /* @__PURE__ */ o(q, {}),
11686
11686
  /* @__PURE__ */ o("div", { style: { position: "relative" }, children: /* @__PURE__ */ o(
11687
11687
  ft.Structure,
11688
11688
  {
@@ -11809,7 +11809,7 @@ const ig = "_shippingFreight_6z8rf_6", ag = "_shippingFreight__postalCodeGrid_6z
11809
11809
  freightConfig: c.freightConfig,
11810
11810
  toolTipZIndex: c.toolTipZIndex ?? 999
11811
11811
  }
11812
- ) : /* @__PURE__ */ o(B, {})
11812
+ ) : /* @__PURE__ */ o(q, {})
11813
11813
  ] }) : null
11814
11814
  ] });
11815
11815
  }, Kt = {
@@ -11928,7 +11928,7 @@ const xr = ({
11928
11928
  const s = (m = r == null ? void 0 : r.get("sort")) == null ? void 0 : m.replace(":", "_"), [c, l] = D(
11929
11929
  s
11930
11930
  ), { sendDataLayerEvent: u } = fe();
11931
- Q(() => {
11931
+ Y(() => {
11932
11932
  l(s || void 0);
11933
11933
  }, [s]);
11934
11934
  const { ref: d } = Nu(
@@ -12632,22 +12632,22 @@ var kr = {};
12632
12632
  };
12633
12633
  }
12634
12634
  function f(h, _) {
12635
- let { src: g, sizes: v, unoptimized: E = !1, priority: C = !1, loading: y, className: S, quality: N, width: P, height: I, fill: T = !1, style: L, overrideSrc: O, onLoad: k, onLoadingComplete: re, placeholder: $ = "empty", blurDataURL: V, fetchPriority: H, decoding: te = "async", layout: Z, objectFit: W, objectPosition: ae, lazyBoundary: de, lazyRoot: Ce, ...me } = h;
12635
+ let { src: g, sizes: v, unoptimized: E = !1, priority: C = !1, loading: y, className: S, quality: N, width: P, height: I, fill: T = !1, style: L, overrideSrc: O, onLoad: k, onLoadingComplete: re, placeholder: $ = "empty", blurDataURL: V, fetchPriority: B, decoding: te = "async", layout: Z, objectFit: W, objectPosition: ae, lazyBoundary: de, lazyRoot: Ce, ...me } = h;
12636
12636
  const { imgConf: ye, showAltText: j, blurComplete: se, defaultLoader: R } = _;
12637
- let Y, he = ye || r.imageConfigDefault;
12637
+ let Q, he = ye || r.imageConfigDefault;
12638
12638
  if ("allSizes" in he)
12639
- Y = he;
12639
+ Q = he;
12640
12640
  else {
12641
12641
  var Re;
12642
12642
  const ee = [
12643
12643
  ...he.deviceSizes,
12644
12644
  ...he.imageSizes
12645
- ].sort((ce, Ie) => ce - Ie), x = he.deviceSizes.sort((ce, Ie) => ce - Ie), q = (Re = he.qualities) == null ? void 0 : Re.sort((ce, Ie) => ce - Ie);
12646
- Y = {
12645
+ ].sort((ce, Ie) => ce - Ie), x = he.deviceSizes.sort((ce, Ie) => ce - Ie), H = (Re = he.qualities) == null ? void 0 : Re.sort((ce, Ie) => ce - Ie);
12646
+ Q = {
12647
12647
  ...he,
12648
12648
  allSizes: ee,
12649
12649
  deviceSizes: x,
12650
- qualities: q
12650
+ qualities: H
12651
12651
  };
12652
12652
  }
12653
12653
  if (typeof R > "u")
@@ -12657,13 +12657,13 @@ Read more: https://nextjs.org/docs/messages/invalid-images-config`);
12657
12657
  delete me.loader, delete me.srcSet;
12658
12658
  const A = "__next_img_default" in w;
12659
12659
  if (A) {
12660
- if (Y.loader === "custom")
12660
+ if (Q.loader === "custom")
12661
12661
  throw new Error('Image with src "' + g + `" is missing "loader" prop.
12662
12662
  Read more: https://nextjs.org/docs/messages/next-image-missing-loader`);
12663
12663
  } else {
12664
12664
  const ee = w;
12665
12665
  w = (x) => {
12666
- const { config: q, ...ce } = x;
12666
+ const { config: H, ...ce } = x;
12667
12667
  return ee(ce);
12668
12668
  };
12669
12669
  }
@@ -12681,10 +12681,10 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`);
12681
12681
  }, x = {
12682
12682
  responsive: "100vw",
12683
12683
  fill: "100vw"
12684
- }, q = ee[Z];
12685
- q && (L = {
12684
+ }, H = ee[Z];
12685
+ H && (L = {
12686
12686
  ...L,
12687
- ...q
12687
+ ...H
12688
12688
  });
12689
12689
  const ce = x[Z];
12690
12690
  ce && !v && (v = ce);
@@ -12710,10 +12710,10 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`);
12710
12710
  }
12711
12711
  g = typeof g == "string" ? g : He;
12712
12712
  let ke = !C && (y === "lazy" || typeof y > "u");
12713
- (!g || g.startsWith("data:") || g.startsWith("blob:")) && (E = !0, ke = !1), Y.unoptimized && (E = !0), A && g.endsWith(".svg") && !Y.dangerouslyAllowSVG && (E = !0), C && (H = "high");
12713
+ (!g || g.startsWith("data:") || g.startsWith("blob:")) && (E = !0, ke = !1), Q.unoptimized && (E = !0), A && g.endsWith(".svg") && !Q.dangerouslyAllowSVG && (E = !0), C && (B = "high");
12714
12714
  const Le = d(N);
12715
12715
  if (process.env.NODE_ENV !== "production") {
12716
- if (Y.output === "export" && A && !E)
12716
+ if (Q.output === "export" && A && !E)
12717
12717
  throw new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api");
12718
12718
  if (!g)
12719
12719
  E = !0;
@@ -12760,7 +12760,7 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader`);
12760
12760
  }
12761
12761
  if ("ref" in me && (0, t.warnOnce)('Image with src "' + g + '" is using unsupported "ref" property. Consider using the "onLoad" property instead.'), !E && !A) {
12762
12762
  const ee = w({
12763
- config: Y,
12763
+ config: Q,
12764
12764
  src: g,
12765
12765
  width: K || 400,
12766
12766
  quality: Le || 75
@@ -12785,9 +12785,9 @@ Read more: https://nextjs.org/docs/messages/next-image-missing-loader-width`);
12785
12785
  Read more: https://nextjs.org/docs/messages/next-image-upgrade-to-13`);
12786
12786
  if (typeof window < "u" && !u && window.PerformanceObserver) {
12787
12787
  u = new PerformanceObserver((ee) => {
12788
- for (const q of ee.getEntries()) {
12788
+ for (const H of ee.getEntries()) {
12789
12789
  var x;
12790
- const ce = (q == null || (x = q.element) == null ? void 0 : x.src) || "", Ie = l.get(ce);
12790
+ const ce = (H == null || (x = H.element) == null ? void 0 : x.src) || "", Ie = l.get(ce);
12791
12791
  Ie && !Ie.priority && Ie.placeholder === "empty" && !Ie.src.startsWith("data:") && !Ie.src.startsWith("blob:") && (0, t.warnOnce)('Image with src "' + Ie.src + `" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.
12792
12792
  Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
12793
12793
  }
@@ -12830,7 +12830,7 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
12830
12830
  } : {};
12831
12831
  process.env.NODE_ENV === "development" && U.backgroundImage && $ === "blur" && V != null && V.startsWith("/") && (U.backgroundImage = 'url("' + V + '")');
12832
12832
  const Se = m({
12833
- config: Y,
12833
+ config: Q,
12834
12834
  src: g,
12835
12835
  unoptimized: E,
12836
12836
  width: K,
@@ -12855,7 +12855,7 @@ Read more: https://nextjs.org/docs/api-reference/next/image#priority`);
12855
12855
  props: {
12856
12856
  ...me,
12857
12857
  loading: ke ? "lazy" : y,
12858
- fetchPriority: H,
12858
+ fetchPriority: B,
12859
12859
  width: K,
12860
12860
  height: J,
12861
12861
  decoding: te,
@@ -13141,12 +13141,12 @@ function qd() {
13141
13141
  let S = v.length;
13142
13142
  if (S > y)
13143
13143
  throw new SyntaxError(`Input length: ${S}, exceeds maximum allowed length: ${y}`);
13144
- const N = { type: "bos", value: "", output: C.prepend || "" }, P = [N], I = C.capture ? "" : "?:", T = c.globChars(C.windows), L = c.extglobChars(T), { DOT_LITERAL: O, PLUS_LITERAL: k, SLASH_LITERAL: re, ONE_CHAR: $, DOTS_SLASH: V, NO_DOT: H, NO_DOT_SLASH: te, NO_DOTS_SLASH: Z, QMARK: W, QMARK_NO_DOT: ae, STAR: de, START_ANCHOR: Ce } = T, me = (X) => `(${I}(?:(?!${Ce}${X.dot ? V : O}).)*?)`, ye = C.dot ? "" : H, j = C.dot ? W : ae;
13144
+ const N = { type: "bos", value: "", output: C.prepend || "" }, P = [N], I = C.capture ? "" : "?:", T = c.globChars(C.windows), L = c.extglobChars(T), { DOT_LITERAL: O, PLUS_LITERAL: k, SLASH_LITERAL: re, ONE_CHAR: $, DOTS_SLASH: V, NO_DOT: B, NO_DOT_SLASH: te, NO_DOTS_SLASH: Z, QMARK: W, QMARK_NO_DOT: ae, STAR: de, START_ANCHOR: Ce } = T, me = (X) => `(${I}(?:(?!${Ce}${X.dot ? V : O}).)*?)`, ye = C.dot ? "" : B, j = C.dot ? W : ae;
13145
13145
  let se = C.bash === !0 ? me(C) : de;
13146
13146
  C.capture && (se = `(${se})`), typeof C.noext == "boolean" && (C.noextglob = C.noext);
13147
13147
  const R = { input: v, index: -1, start: 0, dot: C.dot === !0, consumed: "", output: "", prefix: "", backtrack: !1, negated: !1, brackets: 0, braces: 0, parens: 0, quotes: 0, globstar: !1, tokens: P };
13148
13148
  v = l.removePrefix(v, R), S = v.length;
13149
- const Y = [], he = [], Re = [];
13149
+ const Q = [], he = [], Re = [];
13150
13150
  let w = N, A;
13151
13151
  const He = () => R.index === S - 1, K = R.peek = (X = 1) => v[R.index + X], J = R.advance = () => v[++R.index] || "", Te = () => v.slice(R.index + 1), We = (X = "", ee = 0) => {
13152
13152
  R.consumed += X, R.index += ee;
@@ -13163,10 +13163,10 @@ function qd() {
13163
13163
  R[X]--, Re.pop();
13164
13164
  }, U = (X) => {
13165
13165
  if (w.type === "globstar") {
13166
- const ee = R.braces > 0 && (X.type === "comma" || X.type === "brace"), x = X.extglob === !0 || Y.length && (X.type === "pipe" || X.type === "paren");
13166
+ const ee = R.braces > 0 && (X.type === "comma" || X.type === "brace"), x = X.extglob === !0 || Q.length && (X.type === "pipe" || X.type === "paren");
13167
13167
  X.type !== "slash" && X.type !== "paren" && !ee && !x && (R.output = R.output.slice(0, -w.output.length), w.type = "star", w.value = "*", w.output = se, R.output += w.output);
13168
13168
  }
13169
- if (Y.length && X.type !== "paren" && (Y[Y.length - 1].inner += X.value), (X.value || X.output) && ke(X), w && w.type === "text" && X.type === "text") {
13169
+ if (Q.length && X.type !== "paren" && (Q[Q.length - 1].inner += X.value), (X.value || X.output) && ke(X), w && w.type === "text" && X.type === "text") {
13170
13170
  w.output = (w.output || w.value) + X.value, w.value += X.value;
13171
13171
  return;
13172
13172
  }
@@ -13174,22 +13174,22 @@ function qd() {
13174
13174
  }, Se = (X, ee) => {
13175
13175
  const x = { ...L[ee], conditions: 1, inner: "" };
13176
13176
  x.prev = w, x.parens = R.parens, x.output = R.output;
13177
- const q = (C.capture ? "(" : "") + x.open;
13178
- Xe("parens"), U({ type: X, value: ee, output: R.output ? "" : $ }), U({ type: "paren", extglob: !0, value: J(), output: q }), Y.push(x);
13177
+ const H = (C.capture ? "(" : "") + x.open;
13178
+ Xe("parens"), U({ type: X, value: ee, output: R.output ? "" : $ }), U({ type: "paren", extglob: !0, value: J(), output: H }), Q.push(x);
13179
13179
  }, Oe = (X) => {
13180
13180
  let ee = X.close + (C.capture ? ")" : ""), x;
13181
13181
  if (X.type === "negate") {
13182
- let q = se;
13183
- if (X.inner && X.inner.length > 1 && X.inner.includes("/") && (q = me(C)), (q !== se || He() || /^\)+$/.test(Te())) && (ee = X.close = `)$))${q}`), X.inner.includes("*") && (x = Te()) && /^\.[^\\/.]+$/.test(x)) {
13182
+ let H = se;
13183
+ if (X.inner && X.inner.length > 1 && X.inner.includes("/") && (H = me(C)), (H !== se || He() || /^\)+$/.test(Te())) && (ee = X.close = `)$))${H}`), X.inner.includes("*") && (x = Te()) && /^\.[^\\/.]+$/.test(x)) {
13184
13184
  const ce = g(x, { ...E, fastpaths: !1 }).output;
13185
- ee = X.close = `)${ce})${q})`;
13185
+ ee = X.close = `)${ce})${H})`;
13186
13186
  }
13187
13187
  X.prev.type === "bos" && (R.negatedExtglob = !0);
13188
13188
  }
13189
13189
  U({ type: "paren", extglob: !0, value: A, output: ee }), Me("parens");
13190
13190
  };
13191
13191
  if (C.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(v)) {
13192
- let X = !1, ee = v.replace(m, (x, q, ce, Ie, Ue, Fr) => Ie === "\\" ? (X = !0, x) : Ie === "?" ? q ? q + Ie + (Ue ? W.repeat(Ue.length) : "") : Fr === 0 ? j + (Ue ? W.repeat(Ue.length) : "") : W.repeat(ce.length) : Ie === "." ? O.repeat(ce.length) : Ie === "*" ? q ? q + Ie + (Ue ? se : "") : se : q ? x : `\\${x}`);
13192
+ let X = !1, ee = v.replace(m, (x, H, ce, Ie, Ue, Fr) => Ie === "\\" ? (X = !0, x) : Ie === "?" ? H ? H + Ie + (Ue ? W.repeat(Ue.length) : "") : Fr === 0 ? j + (Ue ? W.repeat(Ue.length) : "") : W.repeat(ce.length) : Ie === "." ? O.repeat(ce.length) : Ie === "*" ? H ? H + Ie + (Ue ? se : "") : se : H ? x : `\\${x}`);
13193
13193
  return X === !0 && (C.unescape === !0 ? ee = ee.replace(/\\/g, "") : ee = ee.replace(/\\+/g, (x) => x.length % 2 === 0 ? "\\\\" : x ? "\\" : "")), ee === v && C.contains === !0 ? (R.output = v, R) : (R.output = l.wrapOutput(ee, R, E), R);
13194
13194
  }
13195
13195
  for (; !He(); ) {
@@ -13203,9 +13203,9 @@ function qd() {
13203
13203
  A += "\\", U({ type: "text", value: A });
13204
13204
  continue;
13205
13205
  }
13206
- const q = /^\\+/.exec(Te());
13206
+ const H = /^\\+/.exec(Te());
13207
13207
  let ce = 0;
13208
- if (q && q[0].length > 2 && (ce = q[0].length, R.index += ce, ce % 2 !== 0 && (A += "\\")), C.unescape === !0 ? A = J() : A += J(), R.brackets === 0) {
13208
+ if (H && H[0].length > 2 && (ce = H[0].length, R.index += ce, ce % 2 !== 0 && (A += "\\")), C.unescape === !0 ? A = J() : A += J(), R.brackets === 0) {
13209
13209
  U({ type: "text", value: A });
13210
13210
  continue;
13211
13211
  }
@@ -13214,7 +13214,7 @@ function qd() {
13214
13214
  if (C.posix !== !1 && A === ":") {
13215
13215
  const x = w.value.slice(1);
13216
13216
  if (x.includes("[") && (w.posix = !0, x.includes(":"))) {
13217
- const q = w.value.lastIndexOf("["), ce = w.value.slice(0, q), Ie = w.value.slice(q + 2), Ue = d[Ie];
13217
+ const H = w.value.lastIndexOf("["), ce = w.value.slice(0, H), Ie = w.value.slice(H + 2), Ue = d[Ie];
13218
13218
  if (Ue) {
13219
13219
  w.value = ce + Ue, R.backtrack = !0, J(), !N.output && P.indexOf(w) === 1 && (N.output = $);
13220
13220
  continue;
@@ -13239,9 +13239,9 @@ function qd() {
13239
13239
  if (A === ")") {
13240
13240
  if (R.parens === 0 && C.strictBrackets === !0)
13241
13241
  throw new SyntaxError(_("opening", "("));
13242
- const x = Y[Y.length - 1];
13242
+ const x = Q[Q.length - 1];
13243
13243
  if (x && R.parens === x.parens + 1) {
13244
- Oe(Y.pop());
13244
+ Oe(Q.pop());
13245
13245
  continue;
13246
13246
  }
13247
13247
  U({ type: "paren", value: A, output: R.parens ? ")" : "\\)" }), Me("parens");
@@ -13272,12 +13272,12 @@ function qd() {
13272
13272
  const x = w.value.slice(1);
13273
13273
  if (w.posix !== !0 && x[0] === "^" && !x.includes("/") && (A = `/${A}`), w.value += A, ke({ value: A }), C.literalBrackets === !1 || l.hasRegexChars(x))
13274
13274
  continue;
13275
- const q = l.escapeRegex(w.value);
13275
+ const H = l.escapeRegex(w.value);
13276
13276
  if (R.output = R.output.slice(0, -w.value.length), C.literalBrackets === !0) {
13277
- R.output += q, w.value = q;
13277
+ R.output += H, w.value = H;
13278
13278
  continue;
13279
13279
  }
13280
- w.value = `(${I}${q}|${w.value})`, R.output += w.value;
13280
+ w.value = `(${I}${H}|${w.value})`, R.output += w.value;
13281
13281
  continue;
13282
13282
  }
13283
13283
  if (A === "{" && C.nobrace !== !0) {
@@ -13292,30 +13292,30 @@ function qd() {
13292
13292
  U({ type: "text", value: A, output: A });
13293
13293
  continue;
13294
13294
  }
13295
- let q = ")";
13295
+ let H = ")";
13296
13296
  if (x.dots === !0) {
13297
13297
  const ce = P.slice(), Ie = [];
13298
13298
  for (let Ue = ce.length - 1; Ue >= 0 && (P.pop(), ce[Ue].type !== "brace"); Ue--)
13299
13299
  ce[Ue].type !== "dots" && Ie.unshift(ce[Ue].value);
13300
- q = h(Ie, C), R.backtrack = !0;
13300
+ H = h(Ie, C), R.backtrack = !0;
13301
13301
  }
13302
13302
  if (x.comma !== !0 && x.dots !== !0) {
13303
13303
  const ce = R.output.slice(0, x.outputIndex), Ie = R.tokens.slice(x.tokensIndex);
13304
- x.value = x.output = "\\{", A = q = "\\}", R.output = ce;
13304
+ x.value = x.output = "\\{", A = H = "\\}", R.output = ce;
13305
13305
  for (const Ue of Ie)
13306
13306
  R.output += Ue.output || Ue.value;
13307
13307
  }
13308
- U({ type: "brace", value: A, output: q }), Me("braces"), he.pop();
13308
+ U({ type: "brace", value: A, output: H }), Me("braces"), he.pop();
13309
13309
  continue;
13310
13310
  }
13311
13311
  if (A === "|") {
13312
- Y.length > 0 && Y[Y.length - 1].conditions++, U({ type: "text", value: A });
13312
+ Q.length > 0 && Q[Q.length - 1].conditions++, U({ type: "text", value: A });
13313
13313
  continue;
13314
13314
  }
13315
13315
  if (A === ",") {
13316
13316
  let x = A;
13317
- const q = he[he.length - 1];
13318
- q && Re[Re.length - 1] === "braces" && (q.comma = !0, x = "|"), U({ type: "comma", value: A, output: x });
13317
+ const H = he[he.length - 1];
13318
+ H && Re[Re.length - 1] === "braces" && (H.comma = !0, x = "|"), U({ type: "comma", value: A, output: x });
13319
13319
  continue;
13320
13320
  }
13321
13321
  if (A === "/") {
@@ -13346,9 +13346,9 @@ function qd() {
13346
13346
  continue;
13347
13347
  }
13348
13348
  if (w && w.type === "paren") {
13349
- const q = K();
13349
+ const H = K();
13350
13350
  let ce = A;
13351
- (w.value === "(" && !/[!=<:]/.test(q) || q === "<" && !/<([!=]|\w+>)/.test(Te())) && (ce = `\\${A}`), U({ type: "text", value: A, output: ce });
13351
+ (w.value === "(" && !/[!=<:]/.test(H) || H === "<" && !/<([!=]|\w+>)/.test(Te())) && (ce = `\\${A}`), U({ type: "text", value: A, output: ce });
13352
13352
  continue;
13353
13353
  }
13354
13354
  if (C.dot !== !0 && (w.type === "slash" || w.type === "bos")) {
@@ -13412,12 +13412,12 @@ function qd() {
13412
13412
  We(A);
13413
13413
  continue;
13414
13414
  }
13415
- const x = w.prev, q = x.prev, ce = x.type === "slash" || x.type === "bos", Ie = q && (q.type === "star" || q.type === "globstar");
13415
+ const x = w.prev, H = x.prev, ce = x.type === "slash" || x.type === "bos", Ie = H && (H.type === "star" || H.type === "globstar");
13416
13416
  if (C.bash === !0 && (!ce || X[0] && X[0] !== "/")) {
13417
13417
  U({ type: "star", value: A, output: "" });
13418
13418
  continue;
13419
13419
  }
13420
- const Ue = R.braces > 0 && (x.type === "comma" || x.type === "brace"), Fr = Y.length && (x.type === "pipe" || x.type === "paren");
13420
+ const Ue = R.braces > 0 && (x.type === "comma" || x.type === "brace"), Fr = Q.length && (x.type === "pipe" || x.type === "paren");
13421
13421
  if (!ce && x.type !== "paren" && !Ue && !Fr) {
13422
13422
  U({ type: "star", value: A, output: "" });
13423
13423
  continue;
@@ -13483,7 +13483,7 @@ function qd() {
13483
13483
  if (S > y)
13484
13484
  throw new SyntaxError(`Input length: ${S}, exceeds maximum allowed length: ${y}`);
13485
13485
  v = f[v] || v;
13486
- const { DOT_LITERAL: N, SLASH_LITERAL: P, ONE_CHAR: I, DOTS_SLASH: T, NO_DOT: L, NO_DOTS: O, NO_DOTS_SLASH: k, STAR: re, START_ANCHOR: $ } = c.globChars(C.windows), V = C.dot ? O : L, H = C.dot ? k : L, te = C.capture ? "" : "?:", Z = { negated: !1, prefix: "" };
13486
+ const { DOT_LITERAL: N, SLASH_LITERAL: P, ONE_CHAR: I, DOTS_SLASH: T, NO_DOT: L, NO_DOTS: O, NO_DOTS_SLASH: k, STAR: re, START_ANCHOR: $ } = c.globChars(C.windows), V = C.dot ? O : L, B = C.dot ? k : L, te = C.capture ? "" : "?:", Z = { negated: !1, prefix: "" };
13487
13487
  let W = C.bash === !0 ? ".*?" : re;
13488
13488
  C.capture && (W = `(${W})`);
13489
13489
  const ae = (ye) => ye.noglobstar === !0 ? W : `(${te}(?:(?!${$}${ye.dot ? T : N}).)*?)`, de = (ye) => {
@@ -13495,13 +13495,13 @@ function qd() {
13495
13495
  case "*.*":
13496
13496
  return `${V}${W}${N}${I}${W}`;
13497
13497
  case "*/*":
13498
- return `${V}${W}${P}${I}${H}${W}`;
13498
+ return `${V}${W}${P}${I}${B}${W}`;
13499
13499
  case "**":
13500
13500
  return V + ae(C);
13501
13501
  case "**/*":
13502
- return `(?:${V}${ae(C)}${P})?${H}${I}${W}`;
13502
+ return `(?:${V}${ae(C)}${P})?${B}${I}${W}`;
13503
13503
  case "**/*.*":
13504
- return `(?:${V}${ae(C)}${P})?${H}${W}${N}${I}${W}`;
13504
+ return `(?:${V}${ae(C)}${P})?${B}${W}${N}${I}${W}`;
13505
13505
  case "**/.*":
13506
13506
  return `(?:${V}${ae(C)}${P})?${N}${I}${W}`;
13507
13507
  default: {
@@ -13577,20 +13577,20 @@ function qd() {
13577
13577
  const c = s(96), { CHAR_ASTERISK: l, CHAR_AT: u, CHAR_BACKWARD_SLASH: d, CHAR_COMMA: p, CHAR_DOT: m, CHAR_EXCLAMATION_MARK: f, CHAR_FORWARD_SLASH: h, CHAR_LEFT_CURLY_BRACE: _, CHAR_LEFT_PARENTHESES: g, CHAR_LEFT_SQUARE_BRACKET: v, CHAR_PLUS: E, CHAR_QUESTION_MARK: C, CHAR_RIGHT_CURLY_BRACE: y, CHAR_RIGHT_PARENTHESES: S, CHAR_RIGHT_SQUARE_BRACKET: N } = s(154), P = (L) => L === h || L === d, I = (L) => {
13578
13578
  L.isPrefix !== !0 && (L.depth = L.isGlobstar ? 1 / 0 : 1);
13579
13579
  }, T = (L, O) => {
13580
- const k = O || {}, re = L.length - 1, $ = k.parts === !0 || k.scanToEnd === !0, V = [], H = [], te = [];
13581
- let Z = L, W = -1, ae = 0, de = 0, Ce = !1, me = !1, ye = !1, j = !1, se = !1, R = !1, Y = !1, he = !1, Re = !1, w = !1, A = 0, He, K, J = { value: "", depth: 0, isGlob: !1 };
13580
+ const k = O || {}, re = L.length - 1, $ = k.parts === !0 || k.scanToEnd === !0, V = [], B = [], te = [];
13581
+ let Z = L, W = -1, ae = 0, de = 0, Ce = !1, me = !1, ye = !1, j = !1, se = !1, R = !1, Q = !1, he = !1, Re = !1, w = !1, A = 0, He, K, J = { value: "", depth: 0, isGlob: !1 };
13582
13582
  const Te = () => W >= re, We = () => Z.charCodeAt(W + 1), ke = () => (He = K, Z.charCodeAt(++W));
13583
13583
  for (; W < re; ) {
13584
13584
  K = ke();
13585
13585
  let Se;
13586
13586
  if (K === d) {
13587
- Y = J.backslashes = !0, K = ke(), K === _ && (R = !0);
13587
+ Q = J.backslashes = !0, K = ke(), K === _ && (R = !0);
13588
13588
  continue;
13589
13589
  }
13590
13590
  if (R === !0 || K === _) {
13591
13591
  for (A++; Te() !== !0 && (K = ke()); ) {
13592
13592
  if (K === d) {
13593
- Y = J.backslashes = !0, ke();
13593
+ Q = J.backslashes = !0, ke();
13594
13594
  continue;
13595
13595
  }
13596
13596
  if (K === _) {
@@ -13617,7 +13617,7 @@ function qd() {
13617
13617
  break;
13618
13618
  }
13619
13619
  if (K === h) {
13620
- if (V.push(W), H.push(J), J = { value: "", depth: 0, isGlob: !1 }, w === !0) continue;
13620
+ if (V.push(W), B.push(J), J = { value: "", depth: 0, isGlob: !1 }, w === !0) continue;
13621
13621
  if (He === m && W === ae + 1) {
13622
13622
  ae += 2;
13623
13623
  continue;
@@ -13629,7 +13629,7 @@ function qd() {
13629
13629
  if (ye = J.isGlob = !0, j = J.isExtglob = !0, w = !0, K === f && W === ae && (Re = !0), $ === !0) {
13630
13630
  for (; Te() !== !0 && (K = ke()); ) {
13631
13631
  if (K === d) {
13632
- Y = J.backslashes = !0, K = ke();
13632
+ Q = J.backslashes = !0, K = ke();
13633
13633
  continue;
13634
13634
  }
13635
13635
  if (K === S) {
@@ -13654,7 +13654,7 @@ function qd() {
13654
13654
  if (K === v) {
13655
13655
  for (; Te() !== !0 && (Se = ke()); ) {
13656
13656
  if (Se === d) {
13657
- Y = J.backslashes = !0, ke();
13657
+ Q = J.backslashes = !0, ke();
13658
13658
  continue;
13659
13659
  }
13660
13660
  if (Se === N) {
@@ -13674,7 +13674,7 @@ function qd() {
13674
13674
  if (ye = J.isGlob = !0, $ === !0) {
13675
13675
  for (; Te() !== !0 && (K = ke()); ) {
13676
13676
  if (K === g) {
13677
- Y = J.backslashes = !0, K = ke();
13677
+ Q = J.backslashes = !0, K = ke();
13678
13678
  continue;
13679
13679
  }
13680
13680
  if (K === S) {
@@ -13694,17 +13694,17 @@ function qd() {
13694
13694
  }
13695
13695
  k.noext === !0 && (j = !1, ye = !1);
13696
13696
  let Le = Z, Xe = "", Me = "";
13697
- ae > 0 && (Xe = Z.slice(0, ae), Z = Z.slice(ae), de -= ae), Le && ye === !0 && de > 0 ? (Le = Z.slice(0, de), Me = Z.slice(de)) : ye === !0 ? (Le = "", Me = Z) : Le = Z, Le && Le !== "" && Le !== "/" && Le !== Z && P(Le.charCodeAt(Le.length - 1)) && (Le = Le.slice(0, -1)), k.unescape === !0 && (Me && (Me = c.removeBackslashes(Me)), Le && Y === !0 && (Le = c.removeBackslashes(Le)));
13697
+ ae > 0 && (Xe = Z.slice(0, ae), Z = Z.slice(ae), de -= ae), Le && ye === !0 && de > 0 ? (Le = Z.slice(0, de), Me = Z.slice(de)) : ye === !0 ? (Le = "", Me = Z) : Le = Z, Le && Le !== "" && Le !== "/" && Le !== Z && P(Le.charCodeAt(Le.length - 1)) && (Le = Le.slice(0, -1)), k.unescape === !0 && (Me && (Me = c.removeBackslashes(Me)), Le && Q === !0 && (Le = c.removeBackslashes(Le)));
13698
13698
  const U = { prefix: Xe, input: L, start: ae, base: Le, glob: Me, isBrace: Ce, isBracket: me, isGlob: ye, isExtglob: j, isGlobstar: se, negated: he, negatedExtglob: Re };
13699
- if (k.tokens === !0 && (U.maxDepth = 0, P(K) || H.push(J), U.tokens = H), k.parts === !0 || k.tokens === !0) {
13699
+ if (k.tokens === !0 && (U.maxDepth = 0, P(K) || B.push(J), U.tokens = B), k.parts === !0 || k.tokens === !0) {
13700
13700
  let Se;
13701
13701
  for (let Oe = 0; Oe < V.length; Oe++) {
13702
13702
  const X = Se ? Se + 1 : ae, ee = V[Oe], x = L.slice(X, ee);
13703
- k.tokens && (Oe === 0 && ae !== 0 ? (H[Oe].isPrefix = !0, H[Oe].value = Xe) : H[Oe].value = x, I(H[Oe]), U.maxDepth += H[Oe].depth), (Oe !== 0 || x !== "") && te.push(x), Se = ee;
13703
+ k.tokens && (Oe === 0 && ae !== 0 ? (B[Oe].isPrefix = !0, B[Oe].value = Xe) : B[Oe].value = x, I(B[Oe]), U.maxDepth += B[Oe].depth), (Oe !== 0 || x !== "") && te.push(x), Se = ee;
13704
13704
  }
13705
13705
  if (Se && Se + 1 < L.length) {
13706
13706
  const Oe = L.slice(Se + 1);
13707
- te.push(Oe), k.tokens && (H[H.length - 1].value = Oe, I(H[H.length - 1]), U.maxDepth += H[H.length - 1].depth);
13707
+ te.push(Oe), k.tokens && (B[B.length - 1].value = Oe, I(B[B.length - 1]), U.maxDepth += B[B.length - 1].depth);
13708
13708
  }
13709
13709
  U.slashes = V, U.parts = te;
13710
13710
  }
@@ -13928,12 +13928,12 @@ function Vd() {
13928
13928
  const re = new URL(O, "http://n").searchParams.get("url") || O;
13929
13929
  if (y.getAttribute("data-nimg") === "fill") {
13930
13930
  if (!T && (!L || L === "100vw") && y.getBoundingClientRect().width / window.innerWidth < 0.6 && (L === "100vw" ? (0, p.warnOnce)('Image with src "' + re + '" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes') : (0, p.warnOnce)('Image with src "' + re + '" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes')), y.parentElement) {
13931
- const { position: H } = window.getComputedStyle(y.parentElement), te = [
13931
+ const { position: B } = window.getComputedStyle(y.parentElement), te = [
13932
13932
  "absolute",
13933
13933
  "fixed",
13934
13934
  "relative"
13935
13935
  ];
13936
- te.includes(H) || (0, p.warnOnce)('Image with src "' + re + '" has "fill" and parent element with invalid "position". Provided "' + H + '" should be one of ' + te.map(String).join(",") + ".");
13936
+ te.includes(B) || (0, p.warnOnce)('Image with src "' + re + '" has "fill" and parent element with invalid "position". Provided "' + B + '" should be one of ' + te.map(String).join(",") + ".");
13937
13937
  }
13938
13938
  y.height === 0 && (0, p.warnOnce)('Image with src "' + re + '" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.');
13939
13939
  }
@@ -13951,14 +13951,14 @@ function Vd() {
13951
13951
  };
13952
13952
  }
13953
13953
  const v = /* @__PURE__ */ (0, a.forwardRef)((y, S) => {
13954
- let { src: N, srcSet: P, sizes: I, height: T, width: L, decoding: O, className: k, style: re, fetchPriority: $, placeholder: V, loading: H, unoptimized: te, fill: Z, onLoadRef: W, onLoadingCompleteRef: ae, setBlurComplete: de, setShowAltText: Ce, sizesInput: me, onLoad: ye, onError: j, ...se } = y;
13954
+ let { src: N, srcSet: P, sizes: I, height: T, width: L, decoding: O, className: k, style: re, fetchPriority: $, placeholder: V, loading: B, unoptimized: te, fill: Z, onLoadRef: W, onLoadingCompleteRef: ae, setBlurComplete: de, setShowAltText: Ce, sizesInput: me, onLoad: ye, onError: j, ...se } = y;
13955
13955
  return /* @__PURE__ */ (0, i.jsx)("img", {
13956
13956
  ...se,
13957
13957
  ...g($),
13958
13958
  // It's intended to keep `loading` before `src` because React updates
13959
13959
  // props in order which causes Safari/Firefox to not lazy load properly.
13960
13960
  // See https://github.com/facebook/react/issues/25883
13961
- loading: H,
13961
+ loading: B,
13962
13962
  width: L,
13963
13963
  height: T,
13964
13964
  decoding: O,
@@ -13988,8 +13988,8 @@ function Vd() {
13988
13988
  S
13989
13989
  ]),
13990
13990
  onLoad: (R) => {
13991
- const Y = R.currentTarget;
13992
- _(Y, V, W, ae, de, te, me);
13991
+ const Q = R.currentTarget;
13992
+ _(Q, V, W, ae, de, te, me);
13993
13993
  },
13994
13994
  onError: (R) => {
13995
13995
  Ce(!0), V !== "empty" && de(!0), j && j(R);
@@ -14050,11 +14050,11 @@ function Vd() {
14050
14050
  }, [
14051
14051
  O
14052
14052
  ]);
14053
- const [$, V] = (0, a.useState)(!1), [H, te] = (0, a.useState)(!1), { props: Z, meta: W } = (0, l.getImgProps)(y, {
14053
+ const [$, V] = (0, a.useState)(!1), [B, te] = (0, a.useState)(!1), { props: Z, meta: W } = (0, l.getImgProps)(y, {
14054
14054
  defaultLoader: f.default,
14055
14055
  imgConf: T,
14056
14056
  blurComplete: $,
14057
- showAltText: H
14057
+ showAltText: B
14058
14058
  });
14059
14059
  return /* @__PURE__ */ (0, i.jsxs)(i.Fragment, {
14060
14060
  children: [
@@ -14562,7 +14562,7 @@ const $i = ({ layout: e = "horizontal" }) => {
14562
14562
  size: "small",
14563
14563
  className: ie["price-wrapper"],
14564
14564
  children: [
14565
- /* @__PURE__ */ o(Ae.ValuesWrapper, { children: t !== n ? /* @__PURE__ */ b(B, { children: [
14565
+ /* @__PURE__ */ o(Ae.ValuesWrapper, { children: t !== n ? /* @__PURE__ */ b(q, { children: [
14566
14566
  /* @__PURE__ */ o(
14567
14567
  Ae.Price,
14568
14568
  {
@@ -14690,17 +14690,17 @@ const $i = ({ layout: e = "horizontal" }) => {
14690
14690
  new Mo(e, r)
14691
14691
  )
14692
14692
  ), [c, l] = D(!1);
14693
- if (Q(() => {
14693
+ if (Y(() => {
14694
14694
  l(!0);
14695
14695
  const f = setInterval(() => {
14696
14696
  s((h) => h <= 0 ? (clearInterval(f), 0) : h - 1e3);
14697
14697
  }, 1e3);
14698
14698
  return () => clearInterval(f);
14699
14699
  }, []), !c || a <= 0)
14700
- return /* @__PURE__ */ o(B, {});
14700
+ return /* @__PURE__ */ o(q, {});
14701
14701
  const u = bn(a, "days"), d = bn(a, "hours"), p = bn(a, "minutes"), m = bn(a);
14702
14702
  return /* @__PURE__ */ b(yn.Root, { ...i, children: [
14703
- u ? /* @__PURE__ */ b(B, { children: [
14703
+ u ? /* @__PURE__ */ b(q, { children: [
14704
14704
  rr({ value: u, label: "dias" }, n),
14705
14705
  /* @__PURE__ */ o(yn.Separator, {})
14706
14706
  ] }) : null,
@@ -14781,7 +14781,7 @@ const Ay = ({ addToCartBtnSize: e, BUY_BUTTON_LABELS: t, TIME_ZONE: n, Z_INDEX_W
14781
14781
  setShowBottomNavigation: t
14782
14782
  }) => {
14783
14783
  const n = ne(null), r = si(n), i = ne(r);
14784
- return Q(() => {
14784
+ return Y(() => {
14785
14785
  var s;
14786
14786
  const { top: a } = ((s = n.current) == null ? void 0 : s.getBoundingClientRect()) ?? { top: 0 };
14787
14787
  i.current !== r && a > 0 && (t(!r), i.current = r);
@@ -14831,7 +14831,7 @@ const Ay = ({ addToCartBtnSize: e, BUY_BUTTON_LABELS: t, TIME_ZONE: n, Z_INDEX_W
14831
14831
  Z_INDEX_WAR: s
14832
14832
  }) => {
14833
14833
  const { isMobile: c } = ue(), [l, u] = D(!0);
14834
- return /* @__PURE__ */ b(B, { children: [
14834
+ return /* @__PURE__ */ b(q, { children: [
14835
14835
  /* @__PURE__ */ b("div", { className: ie.actions, children: [
14836
14836
  c ? /* @__PURE__ */ o(Ty, { setShowBottomNavigation: u, children: /* @__PURE__ */ o(
14837
14837
  Yo,
@@ -14908,7 +14908,7 @@ const Qd = ({ className: e }) => {
14908
14908
  style: { background: n == null ? void 0 : n.tagColor, color: n == null ? void 0 : n.textColor },
14909
14909
  children: n == null ? void 0 : n.value
14910
14910
  }
14911
- ) : /* @__PURE__ */ o(B, {});
14911
+ ) : /* @__PURE__ */ o(q, {});
14912
14912
  };
14913
14913
  Qd.displayName = "PDPCredits";
14914
14914
  const Oy = () => {
@@ -14956,7 +14956,7 @@ const Oy = () => {
14956
14956
  Z_INDEX_WAR: r
14957
14957
  }) => {
14958
14958
  const i = Dn(), { isMobile: a } = ue();
14959
- return /* @__PURE__ */ b(B, { children: [
14959
+ return /* @__PURE__ */ b(q, { children: [
14960
14960
  a ? /* @__PURE__ */ o(Be.Divider, { direction: "horizontal", size: "small" }) : null,
14961
14961
  /* @__PURE__ */ o(
14962
14962
  _d,
@@ -15154,7 +15154,7 @@ const ky = "_thumbs_1fbzz_65", My = "_selected_1fbzz_93", $y = "_carousel_1fbzz_
15154
15154
  }, f = () => {
15155
15155
  n(!0);
15156
15156
  };
15157
- return Q(() => {
15157
+ return Y(() => {
15158
15158
  t(d.currentPage);
15159
15159
  }, [d.currentPage, t]), /* @__PURE__ */ b(
15160
15160
  pe.Root,
@@ -15506,7 +15506,7 @@ const rm = ({ PDP_INFO: e, PLP_SIZE_ORDER: t, ICONS: n, NEWSLETTER_CONFIGS: r, N
15506
15506
  ) : null) });
15507
15507
  }, am = ({ TEXTURE_IMAGE: e, TOGGLE_STYLE_MODIFIER: t }) => {
15508
15508
  const { productId: n } = Je(), [r, i] = D([]), a = /* @__PURE__ */ new Map();
15509
- return Q(() => {
15509
+ return Y(() => {
15510
15510
  if (n) {
15511
15511
  if (a.has(n)) {
15512
15512
  i(a.get(n));
@@ -15777,9 +15777,9 @@ const Xy = ({ productImgs: e, PRODUCT_IMAGE_DIMENSIONS: t, ...n }) => {
15777
15777
  show: !1,
15778
15778
  initialIndex: 0
15779
15779
  });
15780
- return Q(() => (a.show ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll"), () => {
15780
+ return Y(() => (a.show ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll"), () => {
15781
15781
  document.body.classList.remove("no-scroll");
15782
- }), [a]), /* @__PURE__ */ b(B, { children: [
15782
+ }), [a]), /* @__PURE__ */ b(q, { children: [
15783
15783
  /* @__PURE__ */ o(
15784
15784
  Zd,
15785
15785
  {
@@ -16014,7 +16014,7 @@ const Yy = ({
16014
16014
  E,
16015
16015
  m == null ? void 0 : m.base
16016
16016
  );
16017
- return Q(() => {
16017
+ return Y(() => {
16018
16018
  const P = g.find(({ key: I }) => I === "price");
16019
16019
  if (P) {
16020
16020
  const [I, T] = mv(
@@ -16024,7 +16024,7 @@ const Yy = ({
16024
16024
  );
16025
16025
  c(`${I}:${T}`);
16026
16026
  }
16027
- }, [g, s, c]), Q(() => {
16027
+ }, [g, s, c]), Y(() => {
16028
16028
  if (!S.length)
16029
16029
  return;
16030
16030
  const P = JSON.stringify(S);
@@ -16106,7 +16106,7 @@ const Fi = ({
16106
16106
  };
16107
16107
  Fi.displayName = "PDC.Grid.NavigationTotal";
16108
16108
  const fv = ({ productCount: e, PLP_GRID_SCROLL_BACK: t }) => {
16109
- Q(() => {
16109
+ Y(() => {
16110
16110
  var a;
16111
16111
  const r = new URLSearchParams(window.location.search).get("page");
16112
16112
  if (e) {
@@ -16134,7 +16134,7 @@ const fv = ({ productCount: e, PLP_GRID_SCROLL_BACK: t }) => {
16134
16134
  return fv({
16135
16135
  productCount: n.length,
16136
16136
  PLP_GRID_SCROLL_BACK: i.PLP_GRID_SCROLL_BACK
16137
- }), /* @__PURE__ */ b(B, { children: [
16137
+ }), /* @__PURE__ */ b(q, { children: [
16138
16138
  /* @__PURE__ */ o(
16139
16139
  Nt.Products,
16140
16140
  {
@@ -16209,8 +16209,8 @@ const en = (e) => ({
16209
16209
  onChange: () => null,
16210
16210
  readOnly: !0
16211
16211
  }
16212
- ) }) : /* @__PURE__ */ o(B, {}),
16213
- t.showTextStructureExpander && t.textStructure ? /* @__PURE__ */ o(B, { children: /* @__PURE__ */ o(
16212
+ ) }) : /* @__PURE__ */ o(q, {}),
16213
+ t.showTextStructureExpander && t.textStructure ? /* @__PURE__ */ o(q, { children: /* @__PURE__ */ o(
16214
16214
  $o,
16215
16215
  {
16216
16216
  editorKey: "draft-editor-1",
@@ -16219,7 +16219,7 @@ const en = (e) => ({
16219
16219
  onChange: () => null,
16220
16220
  readOnly: !0
16221
16221
  }
16222
- ) }) : /* @__PURE__ */ o(B, {})
16222
+ ) }) : /* @__PURE__ */ o(q, {})
16223
16223
  ] }), Cv = "_textContentWrapper_1bigo_5", Ev = "_textContentSection_1bigo_13", Qo = {
16224
16224
  "link-modifier": "_link-modifier_1bigo_1",
16225
16225
  textContentWrapper: Cv,
@@ -16257,7 +16257,7 @@ const en = (e) => ({
16257
16257
  size: "small",
16258
16258
  children: r ? (n == null ? void 0 : n.less) ?? "Ver Menos" : (n == null ? void 0 : n.more) ?? "Ver Mais"
16259
16259
  }
16260
- ) : /* @__PURE__ */ o(B, {})
16260
+ ) : /* @__PURE__ */ o(q, {})
16261
16261
  },
16262
16262
  children: /* @__PURE__ */ b(
16263
16263
  Be.Column,
@@ -16278,7 +16278,7 @@ const en = (e) => ({
16278
16278
  )
16279
16279
  },
16280
16280
  mode: e.textStructureMode ?? "default",
16281
- children: e.textStructureReduced ? /* @__PURE__ */ o(bv, { content: e, expanded: r }) : /* @__PURE__ */ o(B, {})
16281
+ children: e.textStructureReduced ? /* @__PURE__ */ o(bv, { content: e, expanded: r }) : /* @__PURE__ */ o(q, {})
16282
16282
  }
16283
16283
  ),
16284
16284
  e.textStructureButtonLabel ? /* @__PURE__ */ o(
@@ -16291,7 +16291,7 @@ const en = (e) => ({
16291
16291
  adornments: (a = e.textStructureButtonIcon) != null && a.length && e.enableIcon ? { end: /* @__PURE__ */ o(M, { name: e.textStructureButtonIcon }) } : void 0,
16292
16292
  children: e.textStructureButtonLabel
16293
16293
  }
16294
- ) : /* @__PURE__ */ o(B, {})
16294
+ ) : /* @__PURE__ */ o(q, {})
16295
16295
  ]
16296
16296
  }
16297
16297
  )
@@ -16460,7 +16460,7 @@ const en = (e) => ({
16460
16460
  }
16461
16461
  )
16462
16462
  }
16463
- ) : /* @__PURE__ */ o(B, {})
16463
+ ) : /* @__PURE__ */ o(q, {})
16464
16464
  ] });
16465
16465
  };
16466
16466
  class bt extends yp {
@@ -16690,7 +16690,7 @@ const gm = ({
16690
16690
  Z_INDEX_WAR: L,
16691
16691
  ICONS: O
16692
16692
  },
16693
- children: c && u && /* @__PURE__ */ b(B, { children: [
16693
+ children: c && u && /* @__PURE__ */ b(q, { children: [
16694
16694
  e && /* @__PURE__ */ o(sr.Anchor, { page: c }),
16695
16695
  !c.loading && /* @__PURE__ */ o(sr.Loader, { page: c }),
16696
16696
  a && c.loading && /* @__PURE__ */ o(sr.NextPage, { page: c })
@@ -16772,7 +16772,7 @@ const sr = {
16772
16772
  bm.displayName = "PDC.Page";
16773
16773
  const Pv = ({ pages: e, load: t, PLP_GRID_SCROLL_BACK: n }) => {
16774
16774
  const r = ne(!1);
16775
- Q(() => {
16775
+ Y(() => {
16776
16776
  const i = e[e.length - 1];
16777
16777
  if (t && i && !r.current) {
16778
16778
  const a = sessionStorage.getItem(n.refer), s = sessionStorage.getItem(n.order), c = document.querySelector(
@@ -16789,7 +16789,7 @@ const Pv = ({ pages: e, load: t, PLP_GRID_SCROLL_BACK: n }) => {
16789
16789
  }, Sv = () => {
16790
16790
  var l, u;
16791
16791
  const { count: e } = st(), { columns: t, gap: n, load: r, pages: i, total: a } = Lt(), s = ot(), { PLP_GRID_SCROLL_BACK: c } = ot();
16792
- return Pv({ pages: i, load: r, PLP_GRID_SCROLL_BACK: c }), /* @__PURE__ */ b(B, { children: [
16792
+ return Pv({ pages: i, load: r, PLP_GRID_SCROLL_BACK: c }), /* @__PURE__ */ b(q, { children: [
16793
16793
  r === !0 && ((u = (l = i[0]) == null ? void 0 : l.pagination) == null ? void 0 : u.count) === 0 && /* @__PURE__ */ o(
16794
16794
  Nt.Empty,
16795
16795
  {
@@ -16852,7 +16852,7 @@ const Jo = ({
16852
16852
  ellipses: n,
16853
16853
  page: r,
16854
16854
  selectedPage: i
16855
- }) => /* @__PURE__ */ b(B, { children: [
16855
+ }) => /* @__PURE__ */ b(q, { children: [
16856
16856
  n && t && /* @__PURE__ */ o(G, { size: "large", variant: "tertiary", children: "..." }),
16857
16857
  e && /* @__PURE__ */ o(
16858
16858
  ii.Item,
@@ -16876,7 +16876,7 @@ const Nm = ({
16876
16876
  total: r,
16877
16877
  selectedPage: i,
16878
16878
  ITEMS_PER_SECTION: a
16879
- }) => /* @__PURE__ */ b(B, { children: [
16879
+ }) => /* @__PURE__ */ b(q, { children: [
16880
16880
  /* @__PURE__ */ o(
16881
16881
  Jo,
16882
16882
  {
@@ -17009,7 +17009,7 @@ const Ui = ({
17009
17009
  }
17010
17010
  )
17011
17011
  }
17012
- ) }) : /* @__PURE__ */ o(B, {});
17012
+ ) }) : /* @__PURE__ */ o(q, {});
17013
17013
  };
17014
17014
  Ui.displayName = "Pagination";
17015
17015
  const Sm = ({ gap: e, isMobile: t, className: n }) => {
@@ -17075,13 +17075,13 @@ const Bi = ({
17075
17075
  k(te), L(W != null && W.length ? W[0] : null), I(!0);
17076
17076
  },
17077
17077
  []
17078
- ), $ = e ? 8 : 16, V = (N.page - 1) * S, H = Rt.helpers.createGridPosAndVideo(
17078
+ ), $ = e ? 8 : 16, V = (N.page - 1) * S, B = Rt.helpers.createGridPosAndVideo(
17079
17079
  t,
17080
17080
  [],
17081
17081
  e ? 2 : 4,
17082
17082
  N.page
17083
17083
  );
17084
- return /* @__PURE__ */ b(B, { children: [
17084
+ return /* @__PURE__ */ b(q, { children: [
17085
17085
  /* @__PURE__ */ b(Rt.Root, { children: [
17086
17086
  Array.isArray(t) && t.map((te, Z) => {
17087
17087
  var ae, de;
@@ -17092,11 +17092,11 @@ const Bi = ({
17092
17092
  gap: $,
17093
17093
  isMobile: e ?? !1,
17094
17094
  item: te.node,
17095
- order: V + (((ae = H[Z]) == null ? void 0 : ae.position) ?? 0),
17095
+ order: V + (((ae = B[Z]) == null ? void 0 : ae.position) ?? 0),
17096
17096
  tag: W,
17097
17097
  index: Z,
17098
17098
  setSkuSelected: re,
17099
- showVideo: (de = H[Z]) == null ? void 0 : de.canPlayVideo,
17099
+ showVideo: (de = B[Z]) == null ? void 0 : de.canPlayVideo,
17100
17100
  CONSTANTS: {
17101
17101
  BUY_BUTTON_LABELS: n,
17102
17102
  MAIN_IMAGE: i,
@@ -17247,11 +17247,11 @@ const Im = ve({}), Av = ({
17247
17247
  ] });
17248
17248
  };
17249
17249
  Rm.displayName = "RearchResult.Empty";
17250
- const Dv = (e) => /* @__PURE__ */ b(B, { children: [
17250
+ const Dv = (e) => /* @__PURE__ */ b(q, { children: [
17251
17251
  /* @__PURE__ */ o("div", { className: Qe["responsive-desktop-flex"], children: /* @__PURE__ */ o("h2", { className: "typography-style-heading-sm", children: e.SEARCH.SEARCHING }) }),
17252
17252
  /* @__PURE__ */ o("div", { className: Qe["responsive-mobile-flex"], children: /* @__PURE__ */ o("h2", { className: "typography-style-body-md", children: e.SEARCH.SEARCHING }) }),
17253
17253
  /* @__PURE__ */ o(Yt, { className: zt.spinner })
17254
- ] }), kv = (e, t, n) => /* @__PURE__ */ b(B, { children: [
17254
+ ] }), kv = (e, t, n) => /* @__PURE__ */ b(q, { children: [
17255
17255
  /* @__PURE__ */ o("div", { className: Qe["responsive-desktop-flex"], children: /* @__PURE__ */ o("h2", { className: "typography-style-heading-sm", children: t.SEARCH.SEARCHED }) }),
17256
17256
  /* @__PURE__ */ o("div", { className: Qe["responsive-mobile-flex"], children: /* @__PURE__ */ o("h2", { className: "typography-style-body-md", children: t.SEARCH.SEARCHED }) }),
17257
17257
  /* @__PURE__ */ b("p", { children: [
@@ -17306,7 +17306,7 @@ const Mv = ({ term: e }) => {
17306
17306
  () => !n && r.length > 0 && i.count > 0,
17307
17307
  [n, r.length, i.count]
17308
17308
  );
17309
- return Q(() => {
17309
+ return Y(() => {
17310
17310
  if (!n) {
17311
17311
  if (l.current.query !== t) {
17312
17312
  l.current.sended = !1, l.current.query = t;
@@ -17324,7 +17324,7 @@ const Mv = ({ term: e }) => {
17324
17324
  }), l.current.sended = !0);
17325
17325
  }
17326
17326
  }, [t, r, n, c]), /* @__PURE__ */ b("div", { className: zt.grid, children: [
17327
- u ? /* @__PURE__ */ o($v, { query: t }) : /* @__PURE__ */ o(B, {}),
17327
+ u ? /* @__PURE__ */ o($v, { query: t }) : /* @__PURE__ */ o(q, {}),
17328
17328
  !n && (r != null && r.length) ? /* @__PURE__ */ o(
17329
17329
  Bi,
17330
17330
  {
@@ -17332,7 +17332,7 @@ const Mv = ({ term: e }) => {
17332
17332
  items: r,
17333
17333
  ...s
17334
17334
  }
17335
- ) : /* @__PURE__ */ o(B, {}),
17335
+ ) : /* @__PURE__ */ o(q, {}),
17336
17336
  (r == null ? void 0 : r.length) === 0 && !n ? /* @__PURE__ */ o(Rm, { term: t }) : null,
17337
17337
  u && /* @__PURE__ */ o(
17338
17338
  Ui,
@@ -17394,7 +17394,7 @@ const Fv = ({ page: e, data: t }) => {
17394
17394
  itemListRef: s,
17395
17395
  promotionEventRef: c
17396
17396
  } = fe();
17397
- return Q(() => {
17397
+ return Y(() => {
17398
17398
  const l = Uc("login_event") || "{}", u = JSON.parse(l);
17399
17399
  if (u.name || u.method) {
17400
17400
  const d = /* @__PURE__ */ new Date(0);
@@ -17408,7 +17408,7 @@ const Fv = ({ page: e, data: t }) => {
17408
17408
  }
17409
17409
  }), Ni("login_event", "", { expires: d });
17410
17410
  }
17411
- }, []), Q(() => {
17411
+ }, []), Y(() => {
17412
17412
  if (r.current === n)
17413
17413
  return;
17414
17414
  r.current = n;
@@ -17672,15 +17672,15 @@ function jv() {
17672
17672
  }
17673
17673
  }, _ = (N) => {
17674
17674
  const { src: P, id: I, onLoad: T = () => {
17675
- }, onReady: L = null, dangerouslySetInnerHTML: O, children: k = "", strategy: re = "afterInteractive", onError: $, stylesheets: V } = N, H = I || P;
17676
- if (H && m.has(H))
17675
+ }, onReady: L = null, dangerouslySetInnerHTML: O, children: k = "", strategy: re = "afterInteractive", onError: $, stylesheets: V } = N, B = I || P;
17676
+ if (B && m.has(B))
17677
17677
  return;
17678
17678
  if (p.has(P)) {
17679
- m.add(H), p.get(P).then(T, $);
17679
+ m.add(B), p.get(P).then(T, $);
17680
17680
  return;
17681
17681
  }
17682
17682
  const te = () => {
17683
- L && L(), m.add(H);
17683
+ L && L(), m.add(B);
17684
17684
  }, Z = document.createElement("script"), W = new Promise((ae, de) => {
17685
17685
  Z.addEventListener("load", function(Ce) {
17686
17686
  ae(), T && T.call(this, Ce), te();
@@ -17724,7 +17724,7 @@ function jv() {
17724
17724
  }
17725
17725
  function y(N) {
17726
17726
  const { id: P, src: I = "", onLoad: T = () => {
17727
- }, onReady: L = null, strategy: O = "afterInteractive", onError: k, stylesheets: re, ...$ } = N, { updateScripts: V, scripts: H, getIsSsr: te, appDir: Z, nonce: W } = (0, c.useContext)(l.HeadManagerContext), ae = (0, c.useRef)(!1);
17727
+ }, onReady: L = null, strategy: O = "afterInteractive", onError: k, stylesheets: re, ...$ } = N, { updateScripts: V, scripts: B, getIsSsr: te, appDir: Z, nonce: W } = (0, c.useContext)(l.HeadManagerContext), ae = (0, c.useRef)(!1);
17728
17728
  (0, c.useEffect)(() => {
17729
17729
  const Ce = P || I;
17730
17730
  ae.current || (L && Ce && m.has(Ce) && L(), ae.current = !0);
@@ -17739,7 +17739,7 @@ function jv() {
17739
17739
  }, [
17740
17740
  N,
17741
17741
  O
17742
- ]), (O === "beforeInteractive" || O === "worker") && (V ? (H[O] = (H[O] || []).concat([
17742
+ ]), (O === "beforeInteractive" || O === "worker") && (V ? (B[O] = (B[O] || []).concat([
17743
17743
  {
17744
17744
  id: P,
17745
17745
  src: I,
@@ -17748,7 +17748,7 @@ function jv() {
17748
17748
  onError: k,
17749
17749
  ...$
17750
17750
  }
17751
- ]), V(H)) : te && te() ? m.add(P || I) : te && !te() && _(N)), Z) {
17751
+ ]), V(B)) : te && te() ? m.add(P || I) : te && !te() && _(N)), Z) {
17752
17752
  if (re && re.forEach((Ce) => {
17753
17753
  s.default.preinit(Ce, {
17754
17754
  as: "style"
@@ -17806,7 +17806,7 @@ function jv() {
17806
17806
  (typeof t.default == "function" || typeof t.default == "object" && t.default !== null) && typeof t.default.__esModule > "u" && (Object.defineProperty(t.default, "__esModule", { value: !0 }), Object.assign(t.default, t), e.exports = t.default);
17807
17807
  })(ei, ei.exports);
17808
17808
  var Uv = ei.exports, Bv = Uv;
17809
- const Om = /* @__PURE__ */ yr(Bv), Hv = ({ children: e, ONE_TRUST: t }) => /* @__PURE__ */ b(B, { children: [
17809
+ const Om = /* @__PURE__ */ yr(Bv), Hv = ({ children: e, ONE_TRUST: t }) => /* @__PURE__ */ b(q, { children: [
17810
17810
  /* @__PURE__ */ o(
17811
17811
  Om,
17812
17812
  {
@@ -17898,7 +17898,7 @@ const Dm = ({
17898
17898
  formStatus: e,
17899
17899
  fields: t,
17900
17900
  CONSTANTS: n
17901
- }) => /* @__PURE__ */ b(B, { children: [
17901
+ }) => /* @__PURE__ */ b(q, { children: [
17902
17902
  Array.isArray(t) && t.map((r, i) => /* @__PURE__ */ o(
17903
17903
  xm,
17904
17904
  {
@@ -17944,7 +17944,7 @@ const Mm = ({
17944
17944
  const i = (a) => {
17945
17945
  a.target.checked ? (e.current = !0, t === "unchecked" && n("idle")) : e.current = !1;
17946
17946
  };
17947
- return /* @__PURE__ */ b(B, { children: [
17947
+ return /* @__PURE__ */ b(q, { children: [
17948
17948
  /* @__PURE__ */ o(
17949
17949
  vr,
17950
17950
  {
@@ -18001,14 +18001,14 @@ const zm = ({
18001
18001
  handleSubmit: f,
18002
18002
  setFormStatus: h
18003
18003
  } = wi();
18004
- return /* @__PURE__ */ o(B, { children: d === "success" ? /* @__PURE__ */ o(
18004
+ return /* @__PURE__ */ o(q, { children: d === "success" ? /* @__PURE__ */ o(
18005
18005
  $m,
18006
18006
  {
18007
18007
  description: c.NEWSLETTER_CONFIGS.messages.success_description,
18008
18008
  title: c.NEWSLETTER_CONFIGS.messages.success_title,
18009
18009
  CONSTANTS: c
18010
18010
  }
18011
- ) : /* @__PURE__ */ b(B, { children: [
18011
+ ) : /* @__PURE__ */ b(q, { children: [
18012
18012
  /* @__PURE__ */ b(
18013
18013
  "form",
18014
18014
  {
@@ -18189,7 +18189,7 @@ const Xv = "_wrapper_aejhu_1", Yv = "_body_aejhu_8", hr = {
18189
18189
  window.open(s.buttonHref, "_blank");
18190
18190
  }
18191
18191
  } : {};
18192
- return /* @__PURE__ */ o("div", { children: s.type === "button" ? /* @__PURE__ */ b(B, { children: [
18192
+ return /* @__PURE__ */ o("div", { children: s.type === "button" ? /* @__PURE__ */ b(q, { children: [
18193
18193
  /* @__PURE__ */ o(
18194
18194
  G,
18195
18195
  {
@@ -18229,7 +18229,7 @@ const Xv = "_wrapper_aejhu_1", Yv = "_body_aejhu_8", hr = {
18229
18229
  }
18230
18230
  ),
18231
18231
  /* @__PURE__ */ o(qe.Body, { title: "accordion-body", children: /* @__PURE__ */ o(F.Root, { children: l && /* @__PURE__ */ b(F.DivWrapper, { children: [
18232
- s.subtitle ? /* @__PURE__ */ o("h3", { className: "typography-style-body-md", children: s.subtitle }) : /* @__PURE__ */ o(B, {}),
18232
+ s.subtitle ? /* @__PURE__ */ o("h3", { className: "typography-style-body-md", children: s.subtitle }) : /* @__PURE__ */ o(q, {}),
18233
18233
  /* @__PURE__ */ o("p", { className: "typography-style-caption", children: s.description }),
18234
18234
  s.buttonLabel && s.buttonHref ? /* @__PURE__ */ o(
18235
18235
  at,
@@ -18247,7 +18247,7 @@ const Xv = "_wrapper_aejhu_1", Yv = "_body_aejhu_8", hr = {
18247
18247
  } : void 0,
18248
18248
  children: s.buttonLabel
18249
18249
  }
18250
- ) : /* @__PURE__ */ o(B, {})
18250
+ ) : /* @__PURE__ */ o(q, {})
18251
18251
  ] }) }) })
18252
18252
  ]
18253
18253
  }
@@ -18257,7 +18257,7 @@ const Xv = "_wrapper_aejhu_1", Yv = "_body_aejhu_8", hr = {
18257
18257
  const [i, a] = D(!1), [s, c] = D(
18258
18258
  null
18259
18259
  );
18260
- Q(() => {
18260
+ Y(() => {
18261
18261
  !i && !s && t && c(t);
18262
18262
  }, [i, s]);
18263
18263
  const l = oe(() => {
@@ -18279,7 +18279,7 @@ const Xv = "_wrapper_aejhu_1", Yv = "_body_aejhu_8", hr = {
18279
18279
  children: s == null ? void 0 : s.label
18280
18280
  }
18281
18281
  ) }) })
18282
- ] }) : /* @__PURE__ */ o(B, {});
18282
+ ] }) : /* @__PURE__ */ o(q, {});
18283
18283
  }, eb = "_formContainer_zwlly_1", tb = "_formFieldGroup_zwlly_6", nb = "_formFieldGroupName_zwlly_10", rb = "_formFieldWrapper_zwlly_20", ob = "_formFieldInput_zwlly_30", ib = "_success_zwlly_73", ab = "_button_zwlly_110", sb = "_error_zwlly_114", At = {
18284
18284
  formContainer: eb,
18285
18285
  formFieldGroup: tb,
@@ -18294,7 +18294,7 @@ const Xv = "_wrapper_aejhu_1", Yv = "_body_aejhu_8", hr = {
18294
18294
  group: e,
18295
18295
  children: t,
18296
18296
  className: n
18297
- }) => /* @__PURE__ */ o(B, { children: /* @__PURE__ */ b(
18297
+ }) => /* @__PURE__ */ o(q, { children: /* @__PURE__ */ b(
18298
18298
  "div",
18299
18299
  {
18300
18300
  className: z.classNameConcat(At.formFieldGroup, n),
@@ -18477,7 +18477,7 @@ const db = ({
18477
18477
  {
18478
18478
  onSubmit: i,
18479
18479
  className: z.classNameConcat(At.formContainer, t),
18480
- children: a === "success" ? /* @__PURE__ */ o(mb, { ICONS: n, FORM_CONFIGS: r }) : /* @__PURE__ */ b(B, { children: [
18480
+ children: a === "success" ? /* @__PURE__ */ o(mb, { ICONS: n, FORM_CONFIGS: r }) : /* @__PURE__ */ b(q, { children: [
18481
18481
  e,
18482
18482
  a === "error" && /* @__PURE__ */ o(pb, { ICONS: n, FORM_CONFIGS: r })
18483
18483
  ] })
@@ -18572,7 +18572,7 @@ const yb = "_content_1jj9i_36", vb = "_trends_1jj9i_47", bb = "_modal_1jj9i_1",
18572
18572
  term: t
18573
18573
  }) => {
18574
18574
  const [n, r] = D([]), [i, a] = D(!1);
18575
- return Q(() => {
18575
+ return Y(() => {
18576
18576
  if (!t) {
18577
18577
  r([]);
18578
18578
  return;
@@ -18643,7 +18643,7 @@ const yb = "_content_1jj9i_36", vb = "_trends_1jj9i_47", bb = "_modal_1jj9i_1",
18643
18643
  }, C = (y) => {
18644
18644
  i(), To(_, y, l, 1, c);
18645
18645
  };
18646
- return Q(() => {
18646
+ return Y(() => {
18647
18647
  if (clearTimeout(g.current), d.length <= 2 || m.length > 0) {
18648
18648
  h(!1);
18649
18649
  return;
@@ -18681,7 +18681,7 @@ const yb = "_content_1jj9i_36", vb = "_trends_1jj9i_47", bb = "_modal_1jj9i_1",
18681
18681
  }
18682
18682
  )
18683
18683
  },
18684
- children: (m == null ? void 0 : m.length) > 0 && /* @__PURE__ */ o(B, { children: (m == null ? void 0 : m.length) > 0 && (d == null ? void 0 : d.length) > 2 ? /* @__PURE__ */ o(
18684
+ children: (m == null ? void 0 : m.length) > 0 && /* @__PURE__ */ o(q, { children: (m == null ? void 0 : m.length) > 0 && (d == null ? void 0 : d.length) > 2 ? /* @__PURE__ */ o(
18685
18685
  kt.AutoCompleteList,
18686
18686
  {
18687
18687
  className: ut["modal-auto-complete__dropdown"],
@@ -18776,7 +18776,7 @@ const qm = ve({
18776
18776
  let Lo = null;
18777
18777
  const Sb = ({ children: e }) => {
18778
18778
  const [t, n] = D([]), [r, i] = D(!0), [a, s] = D(null);
18779
- return Q(() => {
18779
+ return Y(() => {
18780
18780
  (async () => {
18781
18781
  try {
18782
18782
  if (i(!0), Lo) {
@@ -18819,7 +18819,7 @@ const Sb = ({ children: e }) => {
18819
18819
  ITEMS_PER_PAGE: s
18820
18820
  }) => {
18821
18821
  const { searches: c, isLoading: l } = wb(), { router: u } = be(), d = Array.isArray(c) ? c : [];
18822
- return /* @__PURE__ */ o(B, { children: !l && d.length > 0 ? /* @__PURE__ */ o($t.Structure, { className: ut.trends, title: e, children: /* @__PURE__ */ b("div", { className: ut["trends-content"], children: [
18822
+ return /* @__PURE__ */ o(q, { children: !l && d.length > 0 ? /* @__PURE__ */ o($t.Structure, { className: ut.trends, title: e, children: /* @__PURE__ */ b("div", { className: ut["trends-content"], children: [
18823
18823
  /* @__PURE__ */ o($t.List, { columns: 1, children: d.slice(0, r).map((p, m) => /* @__PURE__ */ o(
18824
18824
  $t.ListItem,
18825
18825
  {
@@ -18864,7 +18864,7 @@ function Rb({
18864
18864
  }) {
18865
18865
  var r;
18866
18866
  const [t, n] = D(null);
18867
- return Q(() => {
18867
+ return Y(() => {
18868
18868
  (async () => {
18869
18869
  try {
18870
18870
  const a = await fetch("/api/cms/content-type-client", {
@@ -18969,7 +18969,7 @@ const gt = {
18969
18969
  showVendor: n
18970
18970
  }) => {
18971
18971
  const { selectedCity: r, selectedStore: i } = wr();
18972
- return /* @__PURE__ */ o(mn, { padding: "small", shadow: !0, className: gt["store--wrapper"], children: i ? /* @__PURE__ */ b(B, { children: [
18972
+ return /* @__PURE__ */ o(mn, { padding: "small", shadow: !0, className: gt["store--wrapper"], children: i ? /* @__PURE__ */ b(q, { children: [
18973
18973
  /* @__PURE__ */ o(St.ReturnButton, { ICONS: t, children: e }),
18974
18974
  /* @__PURE__ */ o(
18975
18975
  St.Details,
@@ -18982,7 +18982,7 @@ const gt = {
18982
18982
  ] }) : /* @__PURE__ */ o(St.Select, { ICONS: t }) });
18983
18983
  };
18984
18984
  Wm.displayName = "LPStores.Content";
18985
- const En = ({ title: e, text: t, type: n, ...r }) => /* @__PURE__ */ o(F.DivWrapper, { ...r, children: n === "title" ? /* @__PURE__ */ o("h4", { className: gt["store--details--title"], children: e }) : /* @__PURE__ */ b(B, { children: [
18985
+ const En = ({ title: e, text: t, type: n, ...r }) => /* @__PURE__ */ o(F.DivWrapper, { ...r, children: n === "title" ? /* @__PURE__ */ o("h4", { className: gt["store--details--title"], children: e }) : /* @__PURE__ */ b(q, { children: [
18986
18986
  /* @__PURE__ */ o("h5", { className: gt["store--details--subtitle"], children: e }),
18987
18987
  /* @__PURE__ */ o("p", { className: gt["store--details--text"], children: t })
18988
18988
  ] }) });
@@ -19212,14 +19212,14 @@ const St = {
19212
19212
  }, Tb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19213
19213
  __proto__: null,
19214
19214
  generateMiddleware: Ab
19215
- }, Symbol.toStringTag, { value: "Module" })), EC = { helpers: Tb }, ti = {
19215
+ }, Symbol.toStringTag, { value: "Module" })), wC = { helpers: Tb }, ti = {
19216
19216
  "custom-carousel": "_custom-carousel_t5fgp_1",
19217
19217
  "carrousel-arrows-display-controller": "_carrousel-arrows-display-controller_t5fgp_10",
19218
19218
  "carousel-controllers-modifier": "_carousel-controllers-modifier_t5fgp_19"
19219
19219
  };
19220
19220
  function Lb(e, t) {
19221
19221
  const { mediatorRef: n } = ue();
19222
- Q(() => n.current.subscribe(e, t), [e, t]);
19222
+ Y(() => n.current.subscribe(e, t), [e, t]);
19223
19223
  }
19224
19224
  const as = ({
19225
19225
  prevOnClick: e,
@@ -19312,7 +19312,7 @@ const as = ({
19312
19312
  ...r,
19313
19313
  children: e
19314
19314
  }
19315
- ) : /* @__PURE__ */ o(B, { children: e });
19315
+ ) : /* @__PURE__ */ o(q, { children: e });
19316
19316
  }, tp = (e) => {
19317
19317
  const { initialize: t, pagination: n, controller: r, itemsStyles: i } = pe.useCarousel({
19318
19318
  gap: e.data.config.gap,
@@ -19355,7 +19355,7 @@ const as = ({
19355
19355
  r
19356
19356
  ]
19357
19357
  );
19358
- return Q(() => (c(), () => clearInterval(a.current)), [c]), /* @__PURE__ */ o(bt, { name: e.name, children: /* @__PURE__ */ b(
19358
+ return Y(() => (c(), () => clearInterval(a.current)), [c]), /* @__PURE__ */ o(bt, { name: e.name, children: /* @__PURE__ */ b(
19359
19359
  pe.Root,
19360
19360
  {
19361
19361
  innerRef: (d) => {
@@ -19382,7 +19382,7 @@ const as = ({
19382
19382
  ...u,
19383
19383
  isFirst: e.data.first
19384
19384
  }
19385
- ) : /* @__PURE__ */ o(B, {}),
19385
+ ) : /* @__PURE__ */ o(q, {}),
19386
19386
  /* @__PURE__ */ o(pe.Body, { children: e == null ? void 0 : e.data.banners.map((d, p) => /* @__PURE__ */ o(
19387
19387
  pe.Item,
19388
19388
  {
@@ -19409,7 +19409,7 @@ const as = ({
19409
19409
  },
19410
19410
  `hero-banner-item-${p}`
19411
19411
  )) }),
19412
- s.shouldRender === "bottom" && n.totalPages > 1 ? /* @__PURE__ */ o(as, { ICONS: e.ICONS, ...u }) : /* @__PURE__ */ o(B, {})
19412
+ s.shouldRender === "bottom" && n.totalPages > 1 ? /* @__PURE__ */ o(as, { ICONS: e.ICONS, ...u }) : /* @__PURE__ */ o(q, {})
19413
19413
  ]
19414
19414
  }
19415
19415
  ) });
@@ -19478,7 +19478,7 @@ const as = ({
19478
19478
  ] })
19479
19479
  }
19480
19480
  )
19481
- ] }) : /* @__PURE__ */ o(B, {}),
19481
+ ] }) : /* @__PURE__ */ o(q, {}),
19482
19482
  /* @__PURE__ */ o(pe.Body, { children: e.bennefit.map((p, m) => /* @__PURE__ */ o(
19483
19483
  pe.Item,
19484
19484
  {
@@ -19510,7 +19510,7 @@ const as = ({
19510
19510
  },
19511
19511
  children: /* @__PURE__ */ b(F.DivWrapper, { alignItems: "start", children: [
19512
19512
  /* @__PURE__ */ o("h3", { className: "typography-style-body-md", children: p.title }),
19513
- p.subtitle && p.subtitle.length ? /* @__PURE__ */ o("p", { className: "typography-style-body-xs", children: p.subtitle }) : /* @__PURE__ */ o(B, {})
19513
+ p.subtitle && p.subtitle.length ? /* @__PURE__ */ o("p", { className: "typography-style-body-xs", children: p.subtitle }) : /* @__PURE__ */ o(q, {})
19514
19514
  ] })
19515
19515
  }
19516
19516
  ) })
@@ -19546,7 +19546,7 @@ const as = ({
19546
19546
  onBulletClick: (p) => l == null ? void 0 : l.navigateTo(p)
19547
19547
  }
19548
19548
  )
19549
- ] }) : /* @__PURE__ */ o(B, {})
19549
+ ] }) : /* @__PURE__ */ o(q, {})
19550
19550
  ]
19551
19551
  }
19552
19552
  )
@@ -19588,7 +19588,7 @@ const as = ({
19588
19588
  style: { fontWeight: 500 },
19589
19589
  children: e.titleAccordion
19590
19590
  }
19591
- ) }) }) : /* @__PURE__ */ o(B, {}),
19591
+ ) }) }) : /* @__PURE__ */ o(q, {}),
19592
19592
  (c = e.accordions) == null ? void 0 : c.map((l, u) => /* @__PURE__ */ b(
19593
19593
  qe.Wrapper,
19594
19594
  {
@@ -19606,7 +19606,7 @@ const as = ({
19606
19606
  ),
19607
19607
  children: /* @__PURE__ */ o(F.Root, { children: /* @__PURE__ */ b(F.DivWrapper, { children: [
19608
19608
  /* @__PURE__ */ o("h3", { className: "typography-style-body-md-strong", children: l.title }),
19609
- l.subtitle && l.subtitle.length ? /* @__PURE__ */ o("h2", { children: l.subtitle }) : /* @__PURE__ */ o(B, {})
19609
+ l.subtitle && l.subtitle.length ? /* @__PURE__ */ o("h2", { children: l.subtitle }) : /* @__PURE__ */ o(q, {})
19610
19610
  ] }) })
19611
19611
  }
19612
19612
  ),
@@ -19705,22 +19705,22 @@ const as = ({
19705
19705
  showSnackBar: !0
19706
19706
  }) : d(!0);
19707
19707
  };
19708
- return Q(() => {
19708
+ return Y(() => {
19709
19709
  c.showSnackBar && setTimeout(() => {
19710
19710
  l((h) => ({
19711
19711
  ...h,
19712
19712
  showSnackBar: !1
19713
19713
  }));
19714
19714
  }, i.TIPBAR_CONFIGS.snackbar_timeout);
19715
- }, [c.showSnackBar]), Q(() => {
19715
+ }, [c.showSnackBar]), Y(() => {
19716
19716
  u && setTimeout(() => {
19717
19717
  d(!1);
19718
19718
  }, i.TIPBAR_CONFIGS.snackbar_timeout);
19719
- }, [u]), Q(() => {
19719
+ }, [u]), Y(() => {
19720
19720
  p && setTimeout(() => {
19721
19721
  m(!1);
19722
19722
  }, i.TIPBAR_CONFIGS.snackbar_timeout);
19723
- }, [p]), /* @__PURE__ */ b(B, { children: [
19723
+ }, [p]), /* @__PURE__ */ b(q, { children: [
19724
19724
  /* @__PURE__ */ o(
19725
19725
  G,
19726
19726
  {
@@ -19867,7 +19867,7 @@ const as = ({
19867
19867
  s.current = u;
19868
19868
  }
19869
19869
  }, [r, i]);
19870
- return Q(() => (l(), () => {
19870
+ return Y(() => (l(), () => {
19871
19871
  s.current && clearInterval(s.current);
19872
19872
  }), [r, l]), /* @__PURE__ */ b(
19873
19873
  pe.Root,
@@ -19918,7 +19918,7 @@ const as = ({
19918
19918
  style: a,
19919
19919
  "data-hasclosebtn": i,
19920
19920
  className: z.classNameConcat(Fn.tipbar, t),
19921
- children: n ? /* @__PURE__ */ b(B, { children: [
19921
+ children: n ? /* @__PURE__ */ b(q, { children: [
19922
19922
  /* @__PURE__ */ o(
19923
19923
  Bb,
19924
19924
  {
@@ -19936,7 +19936,7 @@ const as = ({
19936
19936
  mode: r
19937
19937
  }
19938
19938
  )
19939
- ] }) : /* @__PURE__ */ b(B, { children: [
19939
+ ] }) : /* @__PURE__ */ b(q, { children: [
19940
19940
  e,
19941
19941
  i && /* @__PURE__ */ o(cs, { handleCloseTipbar: l, mode: r })
19942
19942
  ] })
@@ -19953,7 +19953,7 @@ const as = ({
19953
19953
  const { isOpen: t, slices: n } = Ot();
19954
19954
  return n.length && t ? /* @__PURE__ */ o(Hb, { children: n.map((r, i) => {
19955
19955
  var a;
19956
- return /* @__PURE__ */ o(B, { children: /* @__PURE__ */ o($n, { href: r.link, children: /* @__PURE__ */ o(
19956
+ return /* @__PURE__ */ o(q, { children: /* @__PURE__ */ o($n, { href: r.link, children: /* @__PURE__ */ o(
19957
19957
  qb,
19958
19958
  {
19959
19959
  highlightFirstSection: r.highlightFirstSection,
@@ -20023,7 +20023,7 @@ const Vb = ({ CONSTANTS: e, data: t }) => {
20023
20023
  previewId: r
20024
20024
  }) => {
20025
20025
  const [i, a] = D();
20026
- return Q(() => {
20026
+ return Y(() => {
20027
20027
  i || Ap(
20028
20028
  "search",
20029
20029
  {
@@ -20068,7 +20068,7 @@ const Vb = ({ CONSTANTS: e, data: t }) => {
20068
20068
  delay: 100,
20069
20069
  triggerOnce: !0
20070
20070
  }), { sendDataLayerEvent: u } = fe();
20071
- return Q(() => {
20071
+ return Y(() => {
20072
20072
  if (!e)
20073
20073
  return;
20074
20074
  function d() {
@@ -20086,7 +20086,7 @@ const Vb = ({ CONSTANTS: e, data: t }) => {
20086
20086
  });
20087
20087
  }
20088
20088
  d();
20089
- }, [e]), Q(() => {
20089
+ }, [e]), Y(() => {
20090
20090
  !l || i.length === 0 || u({
20091
20091
  functionKey: "productListEvent",
20092
20092
  data: {
@@ -20143,7 +20143,7 @@ const Vb = ({ CONSTANTS: e, data: t }) => {
20143
20143
  ] : [],
20144
20144
  [e]
20145
20145
  );
20146
- return Q(() => {
20146
+ return Y(() => {
20147
20147
  if (!e)
20148
20148
  return;
20149
20149
  function d() {
@@ -20158,7 +20158,7 @@ const Vb = ({ CONSTANTS: e, data: t }) => {
20158
20158
  }).then((m) => i(m));
20159
20159
  }
20160
20160
  d();
20161
- }, [u, e]), Q(() => {
20161
+ }, [u, e]), Y(() => {
20162
20162
  if (!c || r.length === 0 || (e == null ? void 0 : e.type) === "suggestions")
20163
20163
  return;
20164
20164
  const d = t ?? "Você também pode gostar";
@@ -20321,7 +20321,7 @@ const Vb = ({ CONSTANTS: e, data: t }) => {
20321
20321
  /* @__PURE__ */ o("strong", { className: "typography-style-body-md-strong", children: t }),
20322
20322
  /* @__PURE__ */ o("p", { className: "typography-style-body-xs", children: n })
20323
20323
  ] }),
20324
- c ? /* @__PURE__ */ o(tC, { ...e }) : /* @__PURE__ */ b(B, { children: [
20324
+ c ? /* @__PURE__ */ o(tC, { ...e }) : /* @__PURE__ */ b(q, { children: [
20325
20325
  r.map((d) => /* @__PURE__ */ o(cn.FieldGroup, { group: d, children: /* @__PURE__ */ o(cn.FieldWrapper, { fields: d.fields }) }, d.groupLabel)),
20326
20326
  /* @__PURE__ */ o(
20327
20327
  vr,
@@ -20374,7 +20374,7 @@ const Vb = ({ CONSTANTS: e, data: t }) => {
20374
20374
  const [r, i] = D(!1), a = typeof window < "u" ? window.sessionStorage.getItem(n.POPUP_TRACK_STORAGE) || window.localStorage.getItem(n.POPUP_SUBMITTED_STORAGE) : null, s = () => {
20375
20375
  i(!1), window.sessionStorage.setItem(n.POPUP_TRACK_STORAGE, "true");
20376
20376
  };
20377
- return Q(() => {
20377
+ return Y(() => {
20378
20378
  setTimeout(() => !a && i(!0), 2e3);
20379
20379
  }, []), e.active && r ? /* @__PURE__ */ o(bt, { name: t, children: /* @__PURE__ */ b("div", { className: lt.popup, children: [
20380
20380
  /* @__PURE__ */ o("div", { onClick: s, className: lt.popup__overlay }),
@@ -20426,32 +20426,84 @@ const Vb = ({ CONSTANTS: e, data: t }) => {
20426
20426
  }) => e == null ? void 0 : e.map((r, i) => {
20427
20427
  const a = rC[r.name], s = { ...(n == null ? void 0 : n[r.name]) ?? {} };
20428
20428
  return t && i === 0 && (r.data.first = !0), r.data.componentIndex = i, r.name === "TextAccordion" && (s.id = `text-accordion-${i}`), a ? /* @__PURE__ */ o(a, { name: r.name, data: r.data, ...s }, `section-zone-component-${i}`) : null;
20429
- }), iC = ({
20430
- stores: e,
20431
- content: t,
20432
- data: n,
20433
- showVendor: r,
20434
- ICONS: i,
20429
+ }), iC = (e) => {
20430
+ const t = cC(sC(e));
20431
+ return aC(t);
20432
+ }, aC = (e) => {
20433
+ const t = [];
20434
+ for (const n in e)
20435
+ t.push(...e[n]);
20436
+ return t;
20437
+ }, sC = (e) => !e || !Array.isArray(e) ? {} : e == null ? void 0 : e.reduce((t, n) => {
20438
+ if (n != null && n.cidade) {
20439
+ let r = t[n == null ? void 0 : n.cidade];
20440
+ r === void 0 && (r = t[n == null ? void 0 : n.cidade] = []), r.push(n);
20441
+ }
20442
+ return t;
20443
+ }, {}), cC = (e) => {
20444
+ if (!e || !Object.keys(e).length)
20445
+ return {};
20446
+ const t = Object.keys(e).sort((r, i) => r.localeCompare(i)), n = {};
20447
+ for (const r of t)
20448
+ n[r] = e[r];
20449
+ return n;
20450
+ }, lC = ({
20451
+ content: e,
20452
+ data: t,
20453
+ showVendor: n,
20454
+ ICONS: r,
20455
+ entity: i,
20435
20456
  LPLOJAS_TEMPLATE_RETURN_BUTTON: a
20436
- }) => Array.isArray(n) && n.length ? /* @__PURE__ */ b(St.Root, { data: e, children: [
20437
- /* @__PURE__ */ o(St.Title, { children: t.titlePage }),
20438
- /* @__PURE__ */ o(
20439
- St.Section,
20440
- {
20441
- imgSrcDesk: t.imageBackgroundDesk,
20442
- imgSrcMob: t.imageBackgroundMob,
20443
- imgAlt: t.altImageBackgroud,
20444
- children: /* @__PURE__ */ o(
20445
- St.Content,
20446
- {
20447
- showVendor: r,
20448
- ICONS: i,
20449
- LPLOJAS_TEMPLATE_RETURN_BUTTON: a
20450
- }
20451
- )
20452
- }
20453
- )
20454
- ] }) : /* @__PURE__ */ o(B, {}), aC = {
20457
+ }) => {
20458
+ const [s, c] = D([]);
20459
+ return Y(() => {
20460
+ (async () => {
20461
+ try {
20462
+ const u = await fetch("/api/master-data/search", {
20463
+ method: "POST",
20464
+ headers: {
20465
+ "Content-Type": "application/json"
20466
+ },
20467
+ body: JSON.stringify({
20468
+ masterDataEntity: i,
20469
+ searchFields: {
20470
+ _fields: "_all"
20471
+ },
20472
+ headers: {
20473
+ "REST-Range": "resources=0-1000"
20474
+ }
20475
+ })
20476
+ });
20477
+ if (!u.ok)
20478
+ throw new Error(
20479
+ `[LPStoresClientWrapper] MasterData error ${u.status}`
20480
+ );
20481
+ const d = await u.json();
20482
+ c(iC(d));
20483
+ } catch (u) {
20484
+ console.error(u);
20485
+ }
20486
+ })();
20487
+ }, [i]), !Array.isArray(t) || !t.length ? null : /* @__PURE__ */ b(St.Root, { data: s, children: [
20488
+ /* @__PURE__ */ o(St.Title, { children: e.titlePage }),
20489
+ /* @__PURE__ */ o(
20490
+ St.Section,
20491
+ {
20492
+ imgSrcDesk: e.imageBackgroundDesk,
20493
+ imgSrcMob: e.imageBackgroundMob,
20494
+ imgAlt: e.altImageBackgroud,
20495
+ children: /* @__PURE__ */ o(
20496
+ St.Content,
20497
+ {
20498
+ showVendor: n,
20499
+ ICONS: r,
20500
+ LPLOJAS_TEMPLATE_RETURN_BUTTON: a
20501
+ }
20502
+ )
20503
+ }
20504
+ )
20505
+ ] });
20506
+ }, uC = {
20455
20507
  Banner: xb,
20456
20508
  BannerSection: zn,
20457
20509
  BennefitsBarSection: np,
@@ -20469,12 +20521,12 @@ const Vb = ({ CONSTANTS: e, data: t }) => {
20469
20521
  EmbedLive: pp,
20470
20522
  PopupModalSection: fp,
20471
20523
  SectionZone: oC,
20472
- LPStoresClientWrapper: iC
20473
- }, NC = { Components: aC, helpers: vv };
20524
+ LPStoresClientWrapper: lC
20525
+ }, IC = { Components: uC, helpers: vv };
20474
20526
  export {
20475
- NC as cms,
20527
+ IC as cms,
20476
20528
  Ah as contexts,
20477
20529
  _l as data,
20478
20530
  Oo as layout,
20479
- EC as scripts
20531
+ wC as scripts
20480
20532
  };