@soma-vertical-web/multi-lib 0.0.55 → 0.0.56
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.js +1 -1
- package/index.mjs +95 -93
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Wd = Object.defineProperty;
|
|
2
2
|
var Gd = (e, t, r) => t in e ? Wd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var Br = (e, t, r) => Gd(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { jsx as c, jsxs as M, Fragment as
|
|
5
|
-
import We, { createContext as Ae, useContext as Re, useCallback as le, useEffect as pe, useRef as
|
|
4
|
+
import { jsx as c, jsxs as M, Fragment as de } from "react/jsx-runtime";
|
|
5
|
+
import We, { createContext as Ae, useContext as Re, useCallback as le, useEffect as pe, useRef as ue, useState as ce, useMemo as Se, createElement as Vs, Children as Oo, forwardRef as Vd } from "react";
|
|
6
6
|
import { g as Jo, s as Kd, a as Xd, b as Yd, c as xi, p as Ti, d as Ks, e as Xs, f as Qd, h as Je, u as Zd, i as Ys, j as Qs, k as Jd, l as ef, r as gt, _ as tf, m as rf, n as nf, S as of } from "./index-DYpuW0tu.mjs";
|
|
7
7
|
import { get as Fr, set as qr } from "idb-keyval";
|
|
8
8
|
import { create as bt } from "zustand";
|
|
@@ -48,7 +48,7 @@ const ti = Ae(
|
|
|
48
48
|
typeof window < "u" && (e != null && e.refer) && sessionStorage.setItem(e == null ? void 0 : e.refer, "true");
|
|
49
49
|
}, []);
|
|
50
50
|
}, nc = Ae({}), hf = ({ children: e, gridScrollBack: t }) => {
|
|
51
|
-
const r =
|
|
51
|
+
const r = ue(null);
|
|
52
52
|
return rc({ gridScrollBack: t }), /* @__PURE__ */ c(
|
|
53
53
|
nc.Provider,
|
|
54
54
|
{
|
|
@@ -428,7 +428,7 @@ const ti = Ae(
|
|
|
428
428
|
pushDatalayer: ut,
|
|
429
429
|
updatePersistedData: Mo
|
|
430
430
|
}, Symbol.toStringTag, { value: "Module" })), lc = Ae({}), wf = ({ children: e, evtFunctionsConfigs: t }) => {
|
|
431
|
-
const r =
|
|
431
|
+
const r = ue({}), n = ue(null), o = ue(null), i = ue({}), a = ue({
|
|
432
432
|
trigger: !1,
|
|
433
433
|
index: 0
|
|
434
434
|
}), s = ({
|
|
@@ -684,7 +684,7 @@ const Nf = ({
|
|
|
684
684
|
onEnterViewportOnce: t,
|
|
685
685
|
options: r
|
|
686
686
|
}) => {
|
|
687
|
-
const n =
|
|
687
|
+
const n = ue(null);
|
|
688
688
|
return pe(() => {
|
|
689
689
|
const o = n.current;
|
|
690
690
|
if (!o)
|
|
@@ -702,7 +702,7 @@ const Nf = ({
|
|
|
702
702
|
defaultScale: e = 1,
|
|
703
703
|
maxScale: t = 3
|
|
704
704
|
}) => {
|
|
705
|
-
const r =
|
|
705
|
+
const r = ue(null), n = ue(null), [o, i] = ce(e), a = ue(0), s = ue({ x: 0, y: 0 }), l = ue({ x: 0, y: 0 }), u = () => {
|
|
706
706
|
if (!n.current || !r.current)
|
|
707
707
|
return { minX: 0, maxX: 0, minY: 0, maxY: 0 };
|
|
708
708
|
const f = r.current.getBoundingClientRect(), m = n.current.children[0].getBoundingClientRect(), y = m.width, g = m.height, v = Math.min(0, (f.width - y) / 2), S = Math.max(0, (y - f.width) / 2), _ = Math.min(0, (f.height - g) / 2), C = Math.max(0, (g - f.height) / 2);
|
|
@@ -1324,7 +1324,7 @@ const Nf = ({
|
|
|
1324
1324
|
useGetNotificationActions: Nc,
|
|
1325
1325
|
useGetNotificationsStore: Ic
|
|
1326
1326
|
}, Symbol.toStringTag, { value: "Module" })), zf = 6e3, Oc = Ae({}), xc = ({ children: e, ...t }) => {
|
|
1327
|
-
const { items: r } = It(), [n, o] = ce([]), i =
|
|
1327
|
+
const { items: r } = It(), [n, o] = ce([]), i = ue(null), a = Se(() => Array.isArray(n) && n.length > 0 ? n.map((s) => r.find((l) => l.id === s.id)).filter((s) => s !== void 0) : [], [r, n]);
|
|
1328
1328
|
return pe(() => {
|
|
1329
1329
|
n.length && (clearTimeout(i.current ?? 0), i.current = setTimeout(() => {
|
|
1330
1330
|
o([]);
|
|
@@ -1366,7 +1366,7 @@ class Tc {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) => {
|
|
1369
|
-
const [o, i] = ce(!0), a = r === "/", s =
|
|
1369
|
+
const [o, i] = ce(!0), a = r === "/", s = ue(new Tc()), l = (h) => h ? {
|
|
1370
1370
|
headerVariant: t.home_default_variant,
|
|
1371
1371
|
bannerVariant: t.home_default_variant,
|
|
1372
1372
|
position: t.home_default_position
|
|
@@ -1374,7 +1374,7 @@ const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) =
|
|
|
1374
1374
|
headerVariant: t.default_variant,
|
|
1375
1375
|
bannerVariant: t.default_variant,
|
|
1376
1376
|
position: t.default_position
|
|
1377
|
-
}, u = l(a), p =
|
|
1377
|
+
}, u = l(a), p = ue(u);
|
|
1378
1378
|
return pe(() => {
|
|
1379
1379
|
var f;
|
|
1380
1380
|
const h = ((f = new URLSearchParams(window.location.search)) == null ? void 0 : f.toString()) ?? "";
|
|
@@ -1564,7 +1564,7 @@ const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) =
|
|
|
1564
1564
|
...r
|
|
1565
1565
|
}) => {
|
|
1566
1566
|
var p, h;
|
|
1567
|
-
const n =
|
|
1567
|
+
const n = ue(null), o = ue(null), i = ue(null), a = ue(null), s = ue(null), { mediatorRef: l, currentHeaderConfigsRef: u } = ke();
|
|
1568
1568
|
return (p = l.current) == null || p.subscribe(
|
|
1569
1569
|
"header:change_variant",
|
|
1570
1570
|
(d) => {
|
|
@@ -1623,7 +1623,7 @@ const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) =
|
|
|
1623
1623
|
}
|
|
1624
1624
|
);
|
|
1625
1625
|
}, Le = () => Re(Wc), Gc = Ae({}), Vc = ({ children: e }) => {
|
|
1626
|
-
const t =
|
|
1626
|
+
const t = ue(null), r = ue(null), n = ii(), o = le(() => {
|
|
1627
1627
|
var i;
|
|
1628
1628
|
{
|
|
1629
1629
|
const a = (i = t.current) == null ? void 0 : i.querySelector("dialog");
|
|
@@ -1681,7 +1681,7 @@ const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) =
|
|
|
1681
1681
|
gap: r = 20,
|
|
1682
1682
|
...n
|
|
1683
1683
|
}) => {
|
|
1684
|
-
const [o, i] = ce(!1), a =
|
|
1684
|
+
const [o, i] = ce(!1), a = ue(null), [s, l] = ce(!1), [u, p] = ce({ left: 0, top: 0 }), h = le(() => {
|
|
1685
1685
|
l(!0), typeof window < "u" && (a.current = window.setTimeout(() => {
|
|
1686
1686
|
i(!1), l(!1);
|
|
1687
1687
|
}, t));
|
|
@@ -1734,7 +1734,7 @@ const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) =
|
|
|
1734
1734
|
CARTPROVIDER_MESSAGE_PRODUCT_REMOVE: t,
|
|
1735
1735
|
...r
|
|
1736
1736
|
}) => {
|
|
1737
|
-
const n = It(), { setRecentlyAdded: o } = Wt(), i =
|
|
1737
|
+
const n = It(), { setRecentlyAdded: o } = Wt(), i = ue(""), a = Ic(), { addNotification: s, removeNotification: l } = Nc(), {
|
|
1738
1738
|
addCoupon: u,
|
|
1739
1739
|
addItem: p,
|
|
1740
1740
|
addSellerCode: h,
|
|
@@ -1908,7 +1908,7 @@ const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) =
|
|
|
1908
1908
|
throw new Error("useCartContext must be used within a CartProvider");
|
|
1909
1909
|
return e;
|
|
1910
1910
|
}, Qc = Ae({}), ci = ({ children: e, fetch: t }) => {
|
|
1911
|
-
const r =
|
|
1911
|
+
const r = ue(!0), [n, o] = ce(null), [i, a] = ce(!1);
|
|
1912
1912
|
return pe(() => {
|
|
1913
1913
|
(async () => {
|
|
1914
1914
|
r.current = !0;
|
|
@@ -2289,24 +2289,26 @@ const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) =
|
|
|
2289
2289
|
itemsPerPage: i = 24,
|
|
2290
2290
|
PLP_SORT_DEFAULT: a
|
|
2291
2291
|
}) => {
|
|
2292
|
-
const { pathname: s } = Be(),
|
|
2293
|
-
const
|
|
2294
|
-
return
|
|
2295
|
-
}, [n, s, r, t]),
|
|
2292
|
+
const { pathname: s } = Be(), l = ue(""), [u, p] = ce(!1), h = Se(() => {
|
|
2293
|
+
const f = new URL(s, "http://localhost"), m = Array.isArray(r == null ? void 0 : r.facets) ? r.facets : [(r == null ? void 0 : r.facets) ?? ""], y = (r == null ? void 0 : r.page) ?? "1", g = (r == null ? void 0 : r.sort) ?? (n ? "" : a);
|
|
2294
|
+
return f.searchParams.set("page", String(y)), f.searchParams.set("sort", String(g)), r != null && r.query ? (f.searchParams.set("query", r.query), f) : (f.searchParams.set("base", Array.isArray(t) ? t.join("/") : t), f.searchParams.set("facets", m.join(",")), f);
|
|
2295
|
+
}, [n, s, r, t]), d = Se(() => {
|
|
2296
2296
|
if (Array.isArray(r == null ? void 0 : r.facets))
|
|
2297
|
-
return Ti(
|
|
2298
|
-
const
|
|
2299
|
-
return Ti(
|
|
2300
|
-
}, [
|
|
2301
|
-
return
|
|
2297
|
+
return Ti(h, r.facets);
|
|
2298
|
+
const f = r != null && r.facets ? [r == null ? void 0 : r.facets] : [];
|
|
2299
|
+
return Ti(h, f);
|
|
2300
|
+
}, [h, r]);
|
|
2301
|
+
return pe(() => {
|
|
2302
|
+
l.current !== s && (l.current = s, window.document.body.scrollTo(0, 0));
|
|
2303
|
+
}, [s]), /* @__PURE__ */ c(
|
|
2302
2304
|
ol.Provider,
|
|
2303
2305
|
{
|
|
2304
2306
|
value: Se(
|
|
2305
2307
|
() => ({
|
|
2306
|
-
openFilters:
|
|
2307
|
-
setOpenFilters:
|
|
2308
|
+
openFilters: u,
|
|
2309
|
+
setOpenFilters: p
|
|
2308
2310
|
}),
|
|
2309
|
-
[
|
|
2311
|
+
[u, p]
|
|
2310
2312
|
),
|
|
2311
2313
|
children: /* @__PURE__ */ c(
|
|
2312
2314
|
Jc,
|
|
@@ -2316,9 +2318,9 @@ const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) =
|
|
|
2316
2318
|
},
|
|
2317
2319
|
state: Se(
|
|
2318
2320
|
() => ({
|
|
2319
|
-
...
|
|
2321
|
+
...d
|
|
2320
2322
|
}),
|
|
2321
|
-
[
|
|
2323
|
+
[d]
|
|
2322
2324
|
),
|
|
2323
2325
|
collectionId: n,
|
|
2324
2326
|
brand: o,
|
|
@@ -2670,7 +2672,7 @@ const Lc = Ae({}), Hf = ({ children: e, headerConfigs: t, pathname: r, ...n }) =
|
|
|
2670
2672
|
getSkusNotify: dl,
|
|
2671
2673
|
isPositionInCurrentPage: Fp
|
|
2672
2674
|
}, Symbol.toStringTag, { value: "Module" })), fl = Ae({}), zp = ({ banners: e, children: t, itemsPerPage: r = 24, searchParams: n, Notification: o }) => {
|
|
2673
|
-
const { router: i } = Be(), { sendDataLayerEvent: a } = Pe(), { isMobile: s } = ke(), { state: l } = Nr(), { addPage: u, createPages: p, updateProducts: h, ...d } = jp(), f = s ? 8 : 16, m = s ? 2 : 4, y =
|
|
2675
|
+
const { router: i } = Be(), { sendDataLayerEvent: a } = Pe(), { isMobile: s } = ke(), { state: l } = Nr(), { addPage: u, createPages: p, updateProducts: h, ...d } = jp(), f = s ? 8 : 16, m = s ? 2 : 4, y = ue(!1), g = ue(l), [v, S] = ce(!1), [_, C] = ce(null), [w, A] = ce([]), b = le(
|
|
2674
2676
|
(I) => {
|
|
2675
2677
|
I && "pagination" in I && a({
|
|
2676
2678
|
functionKey: "productListEvent",
|
|
@@ -2923,7 +2925,7 @@ const Up = () => {
|
|
|
2923
2925
|
]
|
|
2924
2926
|
}
|
|
2925
2927
|
)
|
|
2926
|
-
] }) : /* @__PURE__ */ c(
|
|
2928
|
+
] }) : /* @__PURE__ */ c(de, {});
|
|
2927
2929
|
}, Vp = () => {
|
|
2928
2930
|
const e = Re(hl);
|
|
2929
2931
|
return e === void 0 && console.error("Needs PLPContentContext on parent component"), e;
|
|
@@ -3094,7 +3096,7 @@ const vl = (e, t) => t.getTime() > e.getTime() ? Math.abs(t.getTime() - e.getTim
|
|
|
3094
3096
|
fields: r
|
|
3095
3097
|
}),
|
|
3096
3098
|
[r]
|
|
3097
|
-
), p =
|
|
3099
|
+
), p = ue(!1), [h, d] = ce("idle"), [f, m] = ce(u), y = async ({
|
|
3098
3100
|
searchFields: A,
|
|
3099
3101
|
entity: b
|
|
3100
3102
|
}) => {
|
|
@@ -3434,7 +3436,7 @@ const Al = ({
|
|
|
3434
3436
|
Ve["add-to-cart--card--price-quantity"],
|
|
3435
3437
|
e
|
|
3436
3438
|
),
|
|
3437
|
-
children: /* @__PURE__ */ c(Ge.Root, { size: "small", layout: "vertical", children: /* @__PURE__ */ c(Ge.Wrapper, { size: "small", layout: "vertical", children: /* @__PURE__ */ c(Ge.ValuesWrapper, { children: r !== t ? /* @__PURE__ */ M(
|
|
3439
|
+
children: /* @__PURE__ */ c(Ge.Root, { size: "small", layout: "vertical", children: /* @__PURE__ */ c(Ge.Wrapper, { size: "small", layout: "vertical", children: /* @__PURE__ */ c(Ge.ValuesWrapper, { children: r !== t ? /* @__PURE__ */ M(de, { children: [
|
|
3438
3440
|
/* @__PURE__ */ c(
|
|
3439
3441
|
Ge.Price,
|
|
3440
3442
|
{
|
|
@@ -3760,10 +3762,10 @@ const Ll = ({ children: e, Z_INDEX_WAR: t }) => {
|
|
|
3760
3762
|
};
|
|
3761
3763
|
Ll.displayName = "AddToCart.Modal";
|
|
3762
3764
|
const mm = ({ children: e }) => {
|
|
3763
|
-
const { count: t, handleClose: r, setIsOpen: n } = Et(), o =
|
|
3765
|
+
const { count: t, handleClose: r, setIsOpen: n } = Et(), o = ue(t);
|
|
3764
3766
|
return pe(() => {
|
|
3765
3767
|
t > o.current && n(!0), t < o.current && o.current >= 1 && r(), o.current = t;
|
|
3766
|
-
}, [t, r, n]), /* @__PURE__ */ c(
|
|
3768
|
+
}, [t, r, n]), /* @__PURE__ */ c(de, { children: e });
|
|
3767
3769
|
}, kl = ({ children: e, component: t, CONSTANTS: r, ...n }) => {
|
|
3768
3770
|
const { recentlyAddedProducts: o } = Wt(), { isMobile: i } = ke(), a = o.length > 3 ? 4 : o.length;
|
|
3769
3771
|
return /* @__PURE__ */ c(
|
|
@@ -3773,7 +3775,7 @@ const mm = ({ children: e }) => {
|
|
|
3773
3775
|
count: a,
|
|
3774
3776
|
isMobile: i,
|
|
3775
3777
|
CONSTANTS: r,
|
|
3776
|
-
children: /* @__PURE__ */ c(mm, { children: i ? /* @__PURE__ */ M(
|
|
3778
|
+
children: /* @__PURE__ */ c(mm, { children: i ? /* @__PURE__ */ M(de, { children: [
|
|
3777
3779
|
/* @__PURE__ */ c(yt.Modal, { Z_INDEX_WAR: r.Z_INDEX_WAR, children: t }),
|
|
3778
3780
|
e
|
|
3779
3781
|
] }) : /* @__PURE__ */ c(yt.Tooltip, { component: t, style: { width: 350 }, Z_INDEX_WAR: r.Z_INDEX_WAR, children: e }) })
|
|
@@ -3992,7 +3994,7 @@ const ji = {
|
|
|
3992
3994
|
shelfTitle: n,
|
|
3993
3995
|
...o
|
|
3994
3996
|
}) => {
|
|
3995
|
-
const [i, a] = ce(null), s =
|
|
3997
|
+
const [i, a] = ce(null), s = ue(null), l = ue({
|
|
3996
3998
|
availableSkus: [],
|
|
3997
3999
|
priceInfo: {
|
|
3998
4000
|
price: 0,
|
|
@@ -6183,7 +6185,7 @@ const nu = ({ className: e, hasDecimal: t, ...r }) => {
|
|
|
6183
6185
|
),
|
|
6184
6186
|
"data-mobile": n,
|
|
6185
6187
|
children: /* @__PURE__ */ c(Ge.Root, { size: "small", layout: d, children: /* @__PURE__ */ M(Ge.Wrapper, { size: "small", layout: d, children: [
|
|
6186
|
-
/* @__PURE__ */ c(Ge.ValuesWrapper, { children: p !== u ? /* @__PURE__ */ M(
|
|
6188
|
+
/* @__PURE__ */ c(Ge.ValuesWrapper, { children: p !== u ? /* @__PURE__ */ M(de, { children: [
|
|
6187
6189
|
/* @__PURE__ */ c(
|
|
6188
6190
|
Ge.Price,
|
|
6189
6191
|
{
|
|
@@ -6421,7 +6423,7 @@ const Ne = {
|
|
|
6421
6423
|
)) })
|
|
6422
6424
|
]
|
|
6423
6425
|
}
|
|
6424
|
-
) : /* @__PURE__ */ M(
|
|
6426
|
+
) : /* @__PURE__ */ M(de, { children: [
|
|
6425
6427
|
n && /* @__PURE__ */ c(Ca, { title: n }),
|
|
6426
6428
|
/* @__PURE__ */ c("div", { className: Bt.shelf_without_carousel, children: e })
|
|
6427
6429
|
] });
|
|
@@ -6651,7 +6653,7 @@ const ih = {
|
|
|
6651
6653
|
className: i,
|
|
6652
6654
|
...a
|
|
6653
6655
|
}) => {
|
|
6654
|
-
const s =
|
|
6656
|
+
const s = ue(null), l = dc(s, o, r), { sendDataLayerEvent: u } = Pe();
|
|
6655
6657
|
return pe(() => {
|
|
6656
6658
|
l && (typeof n == "function" && n(), t && u({ ...t }));
|
|
6657
6659
|
}, [l]), /* @__PURE__ */ c(
|
|
@@ -6876,7 +6878,7 @@ const lu = ({
|
|
|
6876
6878
|
...r
|
|
6877
6879
|
}) => {
|
|
6878
6880
|
const { CONSTANTS: n } = Le();
|
|
6879
|
-
return /* @__PURE__ */ M(
|
|
6881
|
+
return /* @__PURE__ */ M(de, { children: [
|
|
6880
6882
|
/* @__PURE__ */ c(
|
|
6881
6883
|
"div",
|
|
6882
6884
|
{
|
|
@@ -6943,7 +6945,7 @@ const du = () => {
|
|
|
6943
6945
|
du.displayName = "Header.WishList";
|
|
6944
6946
|
const fu = () => {
|
|
6945
6947
|
const { CONSTANTS: e, userMenuDesktopRef: t } = Le(), { handleSelectContent: r } = Pe(), { reset: n } = pt(), { setValue: o } = Vt();
|
|
6946
|
-
return /* @__PURE__ */ M(
|
|
6948
|
+
return /* @__PURE__ */ M(de, { children: [
|
|
6947
6949
|
/* @__PURE__ */ M(De.Wrapper, { children: [
|
|
6948
6950
|
/* @__PURE__ */ c(De.Logo, { style: { width: "100%" }, children: /* @__PURE__ */ c(Ke, { href: "/", onMouseEnter: n, children: /* @__PURE__ */ c(
|
|
6949
6951
|
ae,
|
|
@@ -7369,7 +7371,7 @@ const Su = ({ children: e }) => {
|
|
|
7369
7371
|
);
|
|
7370
7372
|
};
|
|
7371
7373
|
Su.displayName = "Menu.MenuRoot";
|
|
7372
|
-
const Cr = ({ children: e, ...t }) => /* @__PURE__ */ M(
|
|
7374
|
+
const Cr = ({ children: e, ...t }) => /* @__PURE__ */ M(de, { children: [
|
|
7373
7375
|
/* @__PURE__ */ c(Ee, { ...t, className: Te["menu-navigationbar-item"], children: e }),
|
|
7374
7376
|
/* @__PURE__ */ c(
|
|
7375
7377
|
et.Divider,
|
|
@@ -7440,8 +7442,8 @@ const mr = {
|
|
|
7440
7442
|
Header: Cu,
|
|
7441
7443
|
Body: _u
|
|
7442
7444
|
}, Eu = () => {
|
|
7443
|
-
const e =
|
|
7444
|
-
return /* @__PURE__ */ M(
|
|
7445
|
+
const e = ue(null), { CONSTANTS: t, userMenuMobileRef: r } = Le(), { MENU_NAVIGATION_BAR_ALLOWED: n, ICONS: o, MENU_MOB_BTN_SIDE: i = "right" } = t.header, { handleSelectContent: a } = Pe(), { setValue: s } = ai(), { setValue: l } = wt(), { setValue: u } = Vt();
|
|
7446
|
+
return /* @__PURE__ */ M(de, { children: [
|
|
7445
7447
|
/* @__PURE__ */ M(De.Wrapper, { children: [
|
|
7446
7448
|
i === "left" && /* @__PURE__ */ c(De.SupportItem, { onClick: () => l(!0), innerRef: e, children: /* @__PURE__ */ c(ae, { name: o.menu, size: "medium" }) }),
|
|
7447
7449
|
/* @__PURE__ */ c(De.Logo, { style: { width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ c(Ke, { href: "/", children: /* @__PURE__ */ c(
|
|
@@ -7481,7 +7483,7 @@ const mr = {
|
|
|
7481
7483
|
/* @__PURE__ */ c(Vc, { children: /* @__PURE__ */ M(mr.Root, { children: [
|
|
7482
7484
|
/* @__PURE__ */ c(mr.Header, {}),
|
|
7483
7485
|
/* @__PURE__ */ c(mr.Body, {}),
|
|
7484
|
-
n ? /* @__PURE__ */ c(mr.NavigationBar, {}) : /* @__PURE__ */ c(
|
|
7486
|
+
n ? /* @__PURE__ */ c(mr.NavigationBar, {}) : /* @__PURE__ */ c(de, {})
|
|
7485
7487
|
] }) })
|
|
7486
7488
|
] });
|
|
7487
7489
|
};
|
|
@@ -7615,14 +7617,14 @@ const Nu = ({
|
|
|
7615
7617
|
},
|
|
7616
7618
|
children: gp
|
|
7617
7619
|
}
|
|
7618
|
-
) }) : /* @__PURE__ */ c(
|
|
7620
|
+
) }) : /* @__PURE__ */ c(de, {})
|
|
7619
7621
|
]
|
|
7620
7622
|
}
|
|
7621
7623
|
);
|
|
7622
7624
|
};
|
|
7623
7625
|
Nu.displayName = "UserMenu.Menu";
|
|
7624
7626
|
const Ou = (e) => {
|
|
7625
|
-
const t =
|
|
7627
|
+
const t = ue(null), r = le(
|
|
7626
7628
|
(i) => {
|
|
7627
7629
|
t.current && !t.current.contains(i.target) && e();
|
|
7628
7630
|
},
|
|
@@ -7663,7 +7665,7 @@ const Ou = (e) => {
|
|
|
7663
7665
|
target: i,
|
|
7664
7666
|
...a
|
|
7665
7667
|
}) => {
|
|
7666
|
-
const s =
|
|
7668
|
+
const s = ue(null), [l, u] = ce(!1), [p, h] = ce({ left: 0, top: 0 }), { ref: d } = Ou(() => {
|
|
7667
7669
|
u(!0), typeof window < "u" && (s.current = window.setTimeout(() => {
|
|
7668
7670
|
o(!1), u(!1);
|
|
7669
7671
|
}, t));
|
|
@@ -7737,7 +7739,7 @@ const Ou = (e) => {
|
|
|
7737
7739
|
);
|
|
7738
7740
|
};
|
|
7739
7741
|
Lu.displayName = "UserMenu.Modal";
|
|
7740
|
-
const ku = ({ children: e, component: t, Z_INDEX_WAR: r, isMobile: n, ...o }) => /* @__PURE__ */ c(mh, { ...o, className: Ye.root, children: n ? /* @__PURE__ */ M(
|
|
7742
|
+
const ku = ({ children: e, component: t, Z_INDEX_WAR: r, isMobile: n, ...o }) => /* @__PURE__ */ c(mh, { ...o, className: Ye.root, children: n ? /* @__PURE__ */ M(de, { children: [
|
|
7741
7743
|
/* @__PURE__ */ c(ht.Modal, { Z_INDEX_WAR: r, children: t }),
|
|
7742
7744
|
e
|
|
7743
7745
|
] }) : /* @__PURE__ */ c(
|
|
@@ -7839,7 +7841,7 @@ const ht = {
|
|
|
7839
7841
|
link: `${i.secureSubdomain}/account#/meus-creditos`,
|
|
7840
7842
|
total: m + f
|
|
7841
7843
|
}
|
|
7842
|
-
) : /* @__PURE__ */ c(
|
|
7844
|
+
) : /* @__PURE__ */ c(de, {}),
|
|
7843
7845
|
/* @__PURE__ */ c(et.Divider, {}),
|
|
7844
7846
|
/* @__PURE__ */ c(
|
|
7845
7847
|
ht.Menu,
|
|
@@ -7957,7 +7959,7 @@ const hh = "_shippingFreight_6z8rf_6", gh = "_shippingFreight__postalCodeGrid_6z
|
|
|
7957
7959
|
freightConfig: a,
|
|
7958
7960
|
toolTipZIndex: s
|
|
7959
7961
|
}) => {
|
|
7960
|
-
const [l, u] = ce(!1), p =
|
|
7962
|
+
const [l, u] = ce(!1), p = ue(null), h = () => u((d) => !d);
|
|
7961
7963
|
return /* @__PURE__ */ M("div", { className: be.deliveryInfo, ref: p, children: [
|
|
7962
7964
|
/* @__PURE__ */ c(
|
|
7963
7965
|
Ht.Root,
|
|
@@ -8063,7 +8065,7 @@ const hh = "_shippingFreight_6z8rf_6", gh = "_shippingFreight__postalCodeGrid_6z
|
|
|
8063
8065
|
...l
|
|
8064
8066
|
}) => {
|
|
8065
8067
|
const { isMobile: u } = ke();
|
|
8066
|
-
return /* @__PURE__ */ c(
|
|
8068
|
+
return /* @__PURE__ */ c(de, { children: u ? /* @__PURE__ */ c(
|
|
8067
8069
|
Ht.Root,
|
|
8068
8070
|
{
|
|
8069
8071
|
arrow: "bottom",
|
|
@@ -8113,7 +8115,7 @@ const hh = "_shippingFreight_6z8rf_6", gh = "_shippingFreight__postalCodeGrid_6z
|
|
|
8113
8115
|
toolTipZIndex: u
|
|
8114
8116
|
}) => {
|
|
8115
8117
|
var N, I, j, O;
|
|
8116
|
-
const p = It(), h = It((z) => z.shipping), [d, f] = ce(), [m, y] = ce(!1), [g, v] = ce(!1), [S, _] = ce(!1), C = (I = (N = p.shippingData) == null ? void 0 : N.address) == null ? void 0 : I.postalCode, w = !(d != null && d.length) && C ? C : d, A =
|
|
8118
|
+
const p = It(), h = It((z) => z.shipping), [d, f] = ce(), [m, y] = ce(!1), [g, v] = ce(!1), [S, _] = ce(!1), C = (I = (N = p.shippingData) == null ? void 0 : N.address) == null ? void 0 : I.postalCode, w = !(d != null && d.length) && C ? C : d, A = ue(null), b = async (z) => {
|
|
8117
8119
|
const q = z.target.value.replace(/\D/g, "").slice(0, 8);
|
|
8118
8120
|
q.length > 5 ? f(q.replace(/^(\d{5})(\d{1,3})/, "$1-$2")) : f(q);
|
|
8119
8121
|
}, R = async (z) => {
|
|
@@ -8164,7 +8166,7 @@ const hh = "_shippingFreight_6z8rf_6", gh = "_shippingFreight__postalCodeGrid_6z
|
|
|
8164
8166
|
toolTipZIndex: u,
|
|
8165
8167
|
freightConfig: l
|
|
8166
8168
|
}
|
|
8167
|
-
) : /* @__PURE__ */ c(
|
|
8169
|
+
) : /* @__PURE__ */ c(de, {}),
|
|
8168
8170
|
/* @__PURE__ */ c("div", { style: { position: "relative" }, children: /* @__PURE__ */ c(
|
|
8169
8171
|
Ft.Structure,
|
|
8170
8172
|
{
|
|
@@ -8291,7 +8293,7 @@ const hh = "_shippingFreight_6z8rf_6", gh = "_shippingFreight__postalCodeGrid_6z
|
|
|
8291
8293
|
freightConfig: s.freightConfig,
|
|
8292
8294
|
toolTipZIndex: s.toolTipZIndex ?? 999
|
|
8293
8295
|
}
|
|
8294
|
-
) : /* @__PURE__ */ c(
|
|
8296
|
+
) : /* @__PURE__ */ c(de, {})
|
|
8295
8297
|
] }) : null
|
|
8296
8298
|
] });
|
|
8297
8299
|
}, vt = {
|
|
@@ -8519,7 +8521,7 @@ const zu = ({
|
|
|
8519
8521
|
searchParams: a,
|
|
8520
8522
|
...s
|
|
8521
8523
|
}) => {
|
|
8522
|
-
const l =
|
|
8524
|
+
const l = ue(null);
|
|
8523
8525
|
return /* @__PURE__ */ c(tg, { onSort: t, setOpenFilters: r, children: /* @__PURE__ */ c(
|
|
8524
8526
|
"div",
|
|
8525
8527
|
{
|
|
@@ -8540,7 +8542,7 @@ const Hu = ({ callback: e, selected: t, CONSTANTS: r, ...n }) => /* @__PURE__ */
|
|
|
8540
8542
|
CONSTANTS: r
|
|
8541
8543
|
},
|
|
8542
8544
|
o.value
|
|
8543
|
-
)) : /* @__PURE__ */ c(
|
|
8545
|
+
)) : /* @__PURE__ */ c(de, {}) }) });
|
|
8544
8546
|
Hu.displayName = "PLPNavigation.Selected";
|
|
8545
8547
|
const Ci = ({ key: e, PLP_FILTERS: t }) => t.some((r) => r.key === e) ? e === "cores-filtraveis" : !1, Si = ({ value: e, PLP_FILTERS_COLORS: t }) => {
|
|
8546
8548
|
var r;
|
|
@@ -8697,7 +8699,7 @@ Qu.displayName = "ProductVariationList.Option";
|
|
|
8697
8699
|
const Zu = ({ children: e, ...t }) => /* @__PURE__ */ c("div", { className: wi["product-variation-list"], ...t, children: e });
|
|
8698
8700
|
Zu.displayName = "ProductVariationList.Root";
|
|
8699
8701
|
const Ju = ({ children: e, title: t, ...r }) => /* @__PURE__ */ M("div", { ...r, className: wi["product-variation-list--title"], children: [
|
|
8700
|
-
t ? /* @__PURE__ */ c(se.Root, { children: /* @__PURE__ */ c(se.SectionWrapper, { children: /* @__PURE__ */ c("p", { children: t }) }) }) : /* @__PURE__ */ c(
|
|
8702
|
+
t ? /* @__PURE__ */ c(se.Root, { children: /* @__PURE__ */ c(se.SectionWrapper, { children: /* @__PURE__ */ c("p", { children: t }) }) }) : /* @__PURE__ */ c(de, {}),
|
|
8701
8703
|
e
|
|
8702
8704
|
] });
|
|
8703
8705
|
Ju.displayName = "ProductVariationList.Title";
|
|
@@ -8966,7 +8968,7 @@ const xt = {
|
|
|
8966
8968
|
};
|
|
8967
8969
|
ud.displayName = "ProductList.Banner";
|
|
8968
8970
|
const dd = ({ isKit: e, parent: t, productId: r, setNotify: n, CONSTANTS: o }) => {
|
|
8969
|
-
const { router: i } = Be(), a =
|
|
8971
|
+
const { router: i } = Be(), a = ue(!1), s = ue(null), [l, u] = ce([]), p = (m) => i.push(m ?? ""), h = async (m) => {
|
|
8970
8972
|
try {
|
|
8971
8973
|
const y = await fetch("/api/catalog/product/similars", {
|
|
8972
8974
|
method: "POST",
|
|
@@ -9034,7 +9036,7 @@ const fd = ({
|
|
|
9034
9036
|
WishListToggle: d,
|
|
9035
9037
|
...f
|
|
9036
9038
|
}) => {
|
|
9037
|
-
const m =
|
|
9039
|
+
const m = ue(null), {
|
|
9038
9040
|
availability: { status: y }
|
|
9039
9041
|
} = n, g = le(
|
|
9040
9042
|
(S, _) => {
|
|
@@ -13307,7 +13309,7 @@ const Sy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13307
13309
|
productName: t,
|
|
13308
13310
|
poster: r
|
|
13309
13311
|
}) => {
|
|
13310
|
-
const { sendDataLayerEvent: n } = Pe(), o =
|
|
13312
|
+
const { sendDataLayerEvent: n } = Pe(), o = ue(!1);
|
|
13311
13313
|
return /* @__PURE__ */ c(
|
|
13312
13314
|
tt.Video,
|
|
13313
13315
|
{
|
|
@@ -13402,7 +13404,7 @@ const Ay = ({ productImgs: e, PRODUCT_IMAGE_DIMENSIONS: t, ImageZoom: r }) => {
|
|
|
13402
13404
|
});
|
|
13403
13405
|
return pe(() => (i.show ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll"), () => {
|
|
13404
13406
|
document.body.classList.remove("no-scroll");
|
|
13405
|
-
}), [i]), /* @__PURE__ */ M(
|
|
13407
|
+
}), [i]), /* @__PURE__ */ M(de, { children: [
|
|
13406
13408
|
/* @__PURE__ */ c(
|
|
13407
13409
|
Od,
|
|
13408
13410
|
{
|
|
@@ -13436,7 +13438,7 @@ const Ry = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13436
13438
|
__proto__: null,
|
|
13437
13439
|
Gallery: xd
|
|
13438
13440
|
}, Symbol.toStringTag, { value: "Module" })), Py = ({ page: e, data: t }) => {
|
|
13439
|
-
const { pathname: r } = Be(), n =
|
|
13441
|
+
const { pathname: r } = Be(), n = ue(null), {
|
|
13440
13442
|
sendDataLayerEvent: o,
|
|
13441
13443
|
currentLocalRef: i,
|
|
13442
13444
|
itemListRef: a,
|
|
@@ -14083,7 +14085,7 @@ function ky() {
|
|
|
14083
14085
|
(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);
|
|
14084
14086
|
})(Vo, Vo.exports);
|
|
14085
14087
|
var My = Vo.exports, Dy = My;
|
|
14086
|
-
const $y = /* @__PURE__ */ Or(Dy), jy = ({ children: e, ONE_TRUST: t }) => /* @__PURE__ */ M(
|
|
14088
|
+
const $y = /* @__PURE__ */ Or(Dy), jy = ({ children: e, ONE_TRUST: t }) => /* @__PURE__ */ M(de, { children: [
|
|
14087
14089
|
/* @__PURE__ */ c(
|
|
14088
14090
|
$y,
|
|
14089
14091
|
{
|
|
@@ -14227,14 +14229,14 @@ const Md = ({
|
|
|
14227
14229
|
formStatus: e,
|
|
14228
14230
|
fields: t,
|
|
14229
14231
|
CONSTANTS: r
|
|
14230
|
-
}) => /* @__PURE__ */ c(
|
|
14232
|
+
}) => /* @__PURE__ */ c(de, { children: e === "success" ? /* @__PURE__ */ c(
|
|
14231
14233
|
kd,
|
|
14232
14234
|
{
|
|
14233
14235
|
description: r.NEWSLETTER_CONFIGS.messages.success_description,
|
|
14234
14236
|
title: r.NEWSLETTER_CONFIGS.messages.success_title,
|
|
14235
14237
|
CONSTANTS: r
|
|
14236
14238
|
}
|
|
14237
|
-
) : /* @__PURE__ */ M(
|
|
14239
|
+
) : /* @__PURE__ */ M(de, { children: [
|
|
14238
14240
|
Array.isArray(t) && t.map((n, o) => /* @__PURE__ */ c(
|
|
14239
14241
|
Ld,
|
|
14240
14242
|
{
|
|
@@ -14280,7 +14282,7 @@ const $d = ({
|
|
|
14280
14282
|
const o = (i) => {
|
|
14281
14283
|
i.target.checked ? (e.current = !0, t === "unchecked" && r("idle")) : e.current = !1;
|
|
14282
14284
|
};
|
|
14283
|
-
return /* @__PURE__ */ M(
|
|
14285
|
+
return /* @__PURE__ */ M(de, { children: [
|
|
14284
14286
|
/* @__PURE__ */ c(
|
|
14285
14287
|
Js,
|
|
14286
14288
|
{
|
|
@@ -14552,8 +14554,8 @@ const F_ = {
|
|
|
14552
14554
|
onChange: () => null,
|
|
14553
14555
|
readOnly: !0
|
|
14554
14556
|
}
|
|
14555
|
-
) }) : /* @__PURE__ */ c(
|
|
14556
|
-
t.showTextStructureExpander && t.textStructure ? /* @__PURE__ */ c(
|
|
14557
|
+
) }) : /* @__PURE__ */ c(de, {}),
|
|
14558
|
+
t.showTextStructureExpander && t.textStructure ? /* @__PURE__ */ c(de, { children: /* @__PURE__ */ c(
|
|
14557
14559
|
ko,
|
|
14558
14560
|
{
|
|
14559
14561
|
editorKey: "draft-editor-1",
|
|
@@ -14562,7 +14564,7 @@ const F_ = {
|
|
|
14562
14564
|
onChange: () => null,
|
|
14563
14565
|
readOnly: !0
|
|
14564
14566
|
}
|
|
14565
|
-
) }) : /* @__PURE__ */ c(
|
|
14567
|
+
) }) : /* @__PURE__ */ c(de, {})
|
|
14566
14568
|
] }), Ko = {
|
|
14567
14569
|
"draftjs-text-modifier": "_draftjs-text-modifier_1itwm_2"
|
|
14568
14570
|
}, Jy = "_textContentWrapper_1bigo_5", e_ = "_textContentSection_1bigo_13", Xo = {
|
|
@@ -14602,7 +14604,7 @@ const F_ = {
|
|
|
14602
14604
|
size: "small",
|
|
14603
14605
|
children: r ? "Ver Menos" : "Ver Mais"
|
|
14604
14606
|
}
|
|
14605
|
-
) : /* @__PURE__ */ c(
|
|
14607
|
+
) : /* @__PURE__ */ c(de, {})
|
|
14606
14608
|
},
|
|
14607
14609
|
children: /* @__PURE__ */ M(
|
|
14608
14610
|
et.Column,
|
|
@@ -14624,7 +14626,7 @@ const F_ = {
|
|
|
14624
14626
|
},
|
|
14625
14627
|
mode: e.textStructureMode ?? "default",
|
|
14626
14628
|
className: Ko["draftjs-text-modifier"],
|
|
14627
|
-
children: e.textStructureReduced ? /* @__PURE__ */ c(Zy, { content: e, expanded: r }) : /* @__PURE__ */ c(
|
|
14629
|
+
children: e.textStructureReduced ? /* @__PURE__ */ c(Zy, { content: e, expanded: r }) : /* @__PURE__ */ c(de, {})
|
|
14628
14630
|
}
|
|
14629
14631
|
),
|
|
14630
14632
|
e.textStructureButtonLabel ? /* @__PURE__ */ c(
|
|
@@ -14637,7 +14639,7 @@ const F_ = {
|
|
|
14637
14639
|
adornments: (o = e.textStructureButtonIcon) != null && o.length && e.enableIcon ? { end: /* @__PURE__ */ c(ae, { name: e.textStructureButtonIcon }) } : void 0,
|
|
14638
14640
|
children: e.textStructureButtonLabel
|
|
14639
14641
|
}
|
|
14640
|
-
) : /* @__PURE__ */ c(
|
|
14642
|
+
) : /* @__PURE__ */ c(de, {})
|
|
14641
14643
|
]
|
|
14642
14644
|
}
|
|
14643
14645
|
)
|
|
@@ -14711,7 +14713,7 @@ const F_ = {
|
|
|
14711
14713
|
}, [o, i, a]);
|
|
14712
14714
|
const l = jt(o, "days");
|
|
14713
14715
|
return a && o > 0 ? /* @__PURE__ */ M(lt.Root, { ...n, children: [
|
|
14714
|
-
l ? /* @__PURE__ */ M(
|
|
14716
|
+
l ? /* @__PURE__ */ M(de, { children: [
|
|
14715
14717
|
/* @__PURE__ */ c(lt.Digit, { label: "dias", value: l }),
|
|
14716
14718
|
/* @__PURE__ */ c(lt.Separator, {})
|
|
14717
14719
|
] }) : null,
|
|
@@ -14739,7 +14741,7 @@ const F_ = {
|
|
|
14739
14741
|
suppressHydrationWarning: !0
|
|
14740
14742
|
}
|
|
14741
14743
|
)
|
|
14742
|
-
] }) : /* @__PURE__ */ c(
|
|
14744
|
+
] }) : /* @__PURE__ */ c(de, {});
|
|
14743
14745
|
}, qs = {
|
|
14744
14746
|
"content-modifier": "_content-modifier_16y4u_5",
|
|
14745
14747
|
"banner-image-wrapper-modifier": "_banner-image-wrapper-modifier_16y4u_13"
|
|
@@ -14847,7 +14849,7 @@ const F_ = {
|
|
|
14847
14849
|
}
|
|
14848
14850
|
)
|
|
14849
14851
|
}
|
|
14850
|
-
) : /* @__PURE__ */ c(
|
|
14852
|
+
) : /* @__PURE__ */ c(de, {})
|
|
14851
14853
|
] });
|
|
14852
14854
|
}, Oi = ({
|
|
14853
14855
|
data: e,
|
|
@@ -14865,7 +14867,7 @@ const F_ = {
|
|
|
14865
14867
|
creative_slot: `${n}-${a.current}:${u + 1}${p}`,
|
|
14866
14868
|
promotion_id: e.banner.href,
|
|
14867
14869
|
promotion_name: s
|
|
14868
|
-
}, d =
|
|
14870
|
+
}, d = ue(null), f = Se(() => {
|
|
14869
14871
|
var y;
|
|
14870
14872
|
if ((y = e.banner.video) != null && y.includes("player.vimeo")) {
|
|
14871
14873
|
const g = e.banner.video.split("?")[1], v = g == null ? void 0 : g.split("&"), S = v == null ? void 0 : v.filter(
|
|
@@ -15032,14 +15034,14 @@ const Hs = ({
|
|
|
15032
15034
|
...n,
|
|
15033
15035
|
children: e
|
|
15034
15036
|
}
|
|
15035
|
-
) : /* @__PURE__ */ c(
|
|
15037
|
+
) : /* @__PURE__ */ c(de, { children: e });
|
|
15036
15038
|
}, o_ = ({ data: e, ICONS: t }) => {
|
|
15037
15039
|
var h;
|
|
15038
15040
|
const { initialize: r, pagination: n, controller: o, itemsStyles: i } = he.useCarousel({
|
|
15039
15041
|
gap: e.data.config.gap,
|
|
15040
15042
|
itemsPerPage: e.data.config.slidesPerView,
|
|
15041
15043
|
direction: "row"
|
|
15042
|
-
}), a =
|
|
15044
|
+
}), a = ue(void 0), s = Se(
|
|
15043
15045
|
() => Fd(
|
|
15044
15046
|
e.data.config.controllerPosition ?? "dentro-inferior-centro"
|
|
15045
15047
|
),
|
|
@@ -15103,7 +15105,7 @@ const Hs = ({
|
|
|
15103
15105
|
...p,
|
|
15104
15106
|
isFirst: e.data.first
|
|
15105
15107
|
}
|
|
15106
|
-
) : /* @__PURE__ */ c(
|
|
15108
|
+
) : /* @__PURE__ */ c(de, {}),
|
|
15107
15109
|
/* @__PURE__ */ c(he.Body, { children: (h = e == null ? void 0 : e.data) == null ? void 0 : h.banners.map((d, f) => /* @__PURE__ */ c(
|
|
15108
15110
|
he.Item,
|
|
15109
15111
|
{
|
|
@@ -15126,7 +15128,7 @@ const Hs = ({
|
|
|
15126
15128
|
},
|
|
15127
15129
|
`hero-banner-item-${f}`
|
|
15128
15130
|
)) }),
|
|
15129
|
-
s.shouldRender === "bottom" && n.totalPages > 1 ? /* @__PURE__ */ c(Hs, { ICONS: t, ...p }) : /* @__PURE__ */ c(
|
|
15131
|
+
s.shouldRender === "bottom" && n.totalPages > 1 ? /* @__PURE__ */ c(Hs, { ICONS: t, ...p }) : /* @__PURE__ */ c(de, {})
|
|
15130
15132
|
]
|
|
15131
15133
|
}
|
|
15132
15134
|
);
|
|
@@ -15193,8 +15195,8 @@ const Hs = ({
|
|
|
15193
15195
|
)
|
|
15194
15196
|
] })
|
|
15195
15197
|
}
|
|
15196
|
-
) : /* @__PURE__ */ c(
|
|
15197
|
-
] }) : /* @__PURE__ */ c(
|
|
15198
|
+
) : /* @__PURE__ */ c(de, {})
|
|
15199
|
+
] }) : /* @__PURE__ */ c(de, {}),
|
|
15198
15200
|
/* @__PURE__ */ c(he.Body, { children: e.bennefit.map((p, h) => /* @__PURE__ */ c(
|
|
15199
15201
|
he.Item,
|
|
15200
15202
|
{
|
|
@@ -15226,7 +15228,7 @@ const Hs = ({
|
|
|
15226
15228
|
},
|
|
15227
15229
|
children: /* @__PURE__ */ M(se.DivWrapper, { alignItems: "start", children: [
|
|
15228
15230
|
/* @__PURE__ */ c("h3", { className: "typography-style-body-md", children: p.title }),
|
|
15229
|
-
p.subtitle && p.subtitle.length ? /* @__PURE__ */ c("p", { className: "typography-style-body-xs", children: p.subtitle }) : /* @__PURE__ */ c(
|
|
15231
|
+
p.subtitle && p.subtitle.length ? /* @__PURE__ */ c("p", { className: "typography-style-body-xs", children: p.subtitle }) : /* @__PURE__ */ c(de, {})
|
|
15230
15232
|
] })
|
|
15231
15233
|
}
|
|
15232
15234
|
) })
|
|
@@ -15262,7 +15264,7 @@ const Hs = ({
|
|
|
15262
15264
|
onBulletClick: (p) => s == null ? void 0 : s.navigateTo(p)
|
|
15263
15265
|
}
|
|
15264
15266
|
)
|
|
15265
|
-
] }) : /* @__PURE__ */ c(
|
|
15267
|
+
] }) : /* @__PURE__ */ c(de, {})
|
|
15266
15268
|
]
|
|
15267
15269
|
}
|
|
15268
15270
|
)
|
|
@@ -15299,7 +15301,7 @@ const Hs = ({
|
|
|
15299
15301
|
style: { fontWeight: 500 },
|
|
15300
15302
|
children: e.titleAccordion
|
|
15301
15303
|
}
|
|
15302
|
-
) }) }) : /* @__PURE__ */ c(
|
|
15304
|
+
) }) }) : /* @__PURE__ */ c(de, {}),
|
|
15303
15305
|
(i = e.accordions) == null ? void 0 : i.map((a, s) => /* @__PURE__ */ M(
|
|
15304
15306
|
it.Wrapper,
|
|
15305
15307
|
{
|
|
@@ -15321,7 +15323,7 @@ const Hs = ({
|
|
|
15321
15323
|
className: Ko["draftjs-text-modifier"],
|
|
15322
15324
|
children: [
|
|
15323
15325
|
/* @__PURE__ */ c("h3", { className: "typography-style-body-md-strong", children: a.title }),
|
|
15324
|
-
a.subtitle && a.subtitle.length ? /* @__PURE__ */ c("h2", { children: a.subtitle }) : /* @__PURE__ */ c(
|
|
15326
|
+
a.subtitle && a.subtitle.length ? /* @__PURE__ */ c("h2", { children: a.subtitle }) : /* @__PURE__ */ c(de, {})
|
|
15325
15327
|
]
|
|
15326
15328
|
}
|
|
15327
15329
|
) })
|
|
@@ -15440,7 +15442,7 @@ const Hs = ({
|
|
|
15440
15442
|
h && setTimeout(() => {
|
|
15441
15443
|
d(!1);
|
|
15442
15444
|
}, o.TIPBAR_CONFIGS.snackbar_timeout);
|
|
15443
|
-
}, [h]), /* @__PURE__ */ M(
|
|
15445
|
+
}, [h]), /* @__PURE__ */ M(de, { children: [
|
|
15444
15446
|
/* @__PURE__ */ c(
|
|
15445
15447
|
Ee,
|
|
15446
15448
|
{
|
|
@@ -15575,7 +15577,7 @@ const Hs = ({
|
|
|
15575
15577
|
showCarouselArrows: r = !0,
|
|
15576
15578
|
slideTranstionTimer: n
|
|
15577
15579
|
}) => {
|
|
15578
|
-
const { carouselProps: o, CONSTANTS: i } = ct(), a =
|
|
15580
|
+
const { carouselProps: o, CONSTANTS: i } = ct(), a = ue(null), s = (u, p) => {
|
|
15579
15581
|
var h, d;
|
|
15580
15582
|
u.stopPropagation(), u.preventDefault(), p === "prev" ? (h = o.controller) == null || h.prevPage() : (d = o.controller) == null || d.nextPage(), a.current && (clearInterval(a.current), l());
|
|
15581
15583
|
}, l = le(() => {
|
|
@@ -15638,7 +15640,7 @@ const Hs = ({
|
|
|
15638
15640
|
style: i,
|
|
15639
15641
|
"data-hasclosebtn": o,
|
|
15640
15642
|
className: oe.classNameConcat(er.tipbar, t),
|
|
15641
|
-
children: r ? /* @__PURE__ */ M(
|
|
15643
|
+
children: r ? /* @__PURE__ */ M(de, { children: [
|
|
15642
15644
|
/* @__PURE__ */ c(
|
|
15643
15645
|
y_,
|
|
15644
15646
|
{
|
|
@@ -15656,7 +15658,7 @@ const Hs = ({
|
|
|
15656
15658
|
mode: n
|
|
15657
15659
|
}
|
|
15658
15660
|
)
|
|
15659
|
-
] }) : /* @__PURE__ */ M(
|
|
15661
|
+
] }) : /* @__PURE__ */ M(de, { children: [
|
|
15660
15662
|
e,
|
|
15661
15663
|
o && /* @__PURE__ */ c(Ws, { handleCloseTipbar: l, mode: n })
|
|
15662
15664
|
] })
|
|
@@ -15673,7 +15675,7 @@ const Hs = ({
|
|
|
15673
15675
|
const { isOpen: t, slices: r } = ct();
|
|
15674
15676
|
return r.length && t ? /* @__PURE__ */ c(__, { children: r.map((n, o) => {
|
|
15675
15677
|
var i;
|
|
15676
|
-
return /* @__PURE__ */ c(
|
|
15678
|
+
return /* @__PURE__ */ c(de, { children: /* @__PURE__ */ c(Xt, { href: n.link, children: /* @__PURE__ */ c(
|
|
15677
15679
|
v_,
|
|
15678
15680
|
{
|
|
15679
15681
|
highlightFirstSection: n.highlightFirstSection,
|
|
@@ -15727,7 +15729,7 @@ const b_ = ({ CONSTANTS: e, data: t }) => {
|
|
|
15727
15729
|
"card-image-container": "_card-image-container_10mul_9"
|
|
15728
15730
|
}, C_ = (e) => {
|
|
15729
15731
|
const { nextimage: t } = Be();
|
|
15730
|
-
return /* @__PURE__ */ c(
|
|
15732
|
+
return /* @__PURE__ */ c(de, { children: e.data.banners.map((r, n) => /* @__PURE__ */ c("div", { className: Gs["card-image-wrapper"], children: /* @__PURE__ */ c("div", { className: Gs["card-image-container"], children: /* @__PURE__ */ c(
|
|
15731
15733
|
t,
|
|
15732
15734
|
{
|
|
15733
15735
|
src: r.image,
|