@lanaco/lnc-react-ui 4.0.185 → 4.0.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BannerSectionCarousel.cjs +4 -4
- package/dist/BannerSectionCarousel.js +150 -158
- package/dist/BlogCardsSponsoredSection.cjs +5 -5
- package/dist/BlogCardsSponsoredSection.js +55 -51
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogExploreSection.cjs +5 -5
- package/dist/BlogExploreSection.js +182 -215
- package/dist/BlogListSection.cjs +6 -6
- package/dist/BlogListSection.js +134 -116
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +26 -24
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +1 -1
- package/dist/BlogSingleSection.cjs +3 -3
- package/dist/BlogSingleSection.js +21 -19
- package/dist/BlogsSectionDetailed.cjs +4 -4
- package/dist/BlogsSectionDetailed.js +81 -76
- package/dist/BlogsSectionLarge.cjs +6 -6
- package/dist/BlogsSectionLarge.js +34 -31
- package/dist/BlogsSectionSimple.cjs +8 -8
- package/dist/BlogsSectionSimple.js +68 -63
- package/dist/BlogsSectionSimpleCentered.cjs +9 -9
- package/dist/BlogsSectionSimpleCentered.js +67 -54
- package/dist/BlogsSectionWithFilters.cjs +9 -9
- package/dist/BlogsSectionWithFilters.js +98 -84
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +50 -32
- package/dist/{CategorySimpleCard-DRQuoxXu.js → CategorySimpleCard-CEzArySG.js} +18 -17
- package/dist/{CategorySimpleCard-D5N8cx0Z.cjs → CategorySimpleCard-COGlTj06.cjs} +5 -5
- package/dist/DetailedProductsInfinitiveSection.cjs +4 -4
- package/dist/DetailedProductsInfinitiveSection.js +23 -21
- package/dist/DetailedProductsSection.cjs +3 -3
- package/dist/DetailedProductsSection.js +38 -35
- package/dist/FieldOfInterestsMasonrySection.cjs +12 -12
- package/dist/FieldOfInterestsMasonrySection.js +87 -83
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +7 -7
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +47 -43
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +6 -6
- package/dist/FieldOfInterestsWithTagsCardsSection.js +87 -62
- package/dist/GeneralWithTagsCardsSection.cjs +4 -4
- package/dist/GeneralWithTagsCardsSection.js +83 -46
- package/dist/GiftCardsSection.cjs +7 -7
- package/dist/GiftCardsSection.js +56 -47
- package/dist/MasonryGeneralCardsSection.cjs +16 -15
- package/dist/MasonryGeneralCardsSection.js +83 -68
- package/dist/OverlayGeneralCardsSection.cjs +5 -5
- package/dist/OverlayGeneralCardsSection.js +58 -50
- package/dist/ProductsWithBannerSection.cjs +10 -10
- package/dist/ProductsWithBannerSection.js +79 -70
- package/dist/QuattroCardsSection.cjs +8 -8
- package/dist/QuattroCardsSection.js +62 -40
- package/dist/ReviewsSection.cjs +8 -8
- package/dist/ReviewsSection.js +92 -67
- package/dist/SalesCampaignsSection.cjs +18 -18
- package/dist/SalesCampaignsSection.js +304 -298
- package/dist/ShopCardsSection.cjs +3 -3
- package/dist/ShopCardsSection.js +25 -23
- package/dist/SimpleCategoriesSection.cjs +4 -4
- package/dist/SimpleCategoriesSection.js +25 -22
- package/dist/SimpleProductsSection.cjs +3 -3
- package/dist/SimpleProductsSection.js +53 -50
- package/dist/UrgentSaleProductsSection.cjs +4 -4
- package/dist/UrgentSaleProductsSection.js +41 -38
- package/dist/{index-CA59z2ge.js → index-9inVkeN6.js} +46 -40
- package/dist/{index-C8QkdNHi.js → index-BB63Jo6p.js} +42 -36
- package/dist/{index-DHV9awrE.cjs → index-BFc3nxYZ.cjs} +3 -3
- package/dist/{index-MiN854X_.cjs → index-BWE-RCPy.cjs} +6 -6
- package/dist/{index-Bmr3IeZ_.cjs → index-DBokGIps.cjs} +14 -14
- package/dist/{index-BipuzfLW.js → index-DMHtIdm-.js} +39 -29
- package/dist/{index-0p_3g3pT.cjs → index-D_5jNP-o.cjs} +3 -3
- package/dist/{index-DZ8515cZ.js → index-DdUC0zgY.js} +211 -192
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as n, jsxs as s, Fragment as
|
|
2
|
-
import { forwardRef as j, useRef as
|
|
1
|
+
import { jsx as n, jsxs as s, Fragment as Oe } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as j, useRef as $e, useEffect as oe, Fragment as je, createElement as Re, useState as te, Suspense as Be, memo as We, useMemo as Fe } from "react";
|
|
3
3
|
import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { a as
|
|
4
|
+
import { a as ie, k as ae, l as Ge, z as Ve, A as Ae, B as He, C as ue } from "./utils-Dc5zIpaz.js";
|
|
5
5
|
import { M as U } from "./consts-BuFChS64.js";
|
|
6
|
-
import { m as Se } from "./motion-Ckekul_K.js";
|
|
7
6
|
import _e from "./Icon.js";
|
|
8
|
-
import { D as
|
|
9
|
-
import
|
|
10
|
-
import { P as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import { u as
|
|
14
|
-
import { I as
|
|
15
|
-
import {
|
|
16
|
-
|
|
7
|
+
import { D as fe } from "./ShopAvatar-4-fCYGEc.js";
|
|
8
|
+
import Ze from "./Badge.js";
|
|
9
|
+
import { P as o } from "./index-CblbdqjE.js";
|
|
10
|
+
import { u as Ce } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
11
|
+
import xe from "./IconButton.js";
|
|
12
|
+
import { u as ke } from "./useDetectMobile-Bkvj0VMa.js";
|
|
13
|
+
import { I as qe } from "./index-C0LcDEqa.js";
|
|
14
|
+
import { m as Xe } from "./motion-Ckekul_K.js";
|
|
15
|
+
import { a as O, c as be, S as ve, b as w, d as we } from "./style-CXMUA6cI.js";
|
|
16
|
+
const Ye = y.a`
|
|
17
17
|
text-decoration: none;
|
|
18
18
|
color: var(--gray-950);
|
|
19
19
|
cursor: pointer;
|
|
@@ -28,8 +28,8 @@ const qe = y.a`
|
|
|
28
28
|
padding: 1rem;
|
|
29
29
|
gap: 0;
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
32
|
-
border-radius: ${(r) =>
|
|
31
|
+
`, Je = y.div`
|
|
32
|
+
border-radius: ${(r) => ie(r.theme, "edged")};
|
|
33
33
|
height: 13.75rem;
|
|
34
34
|
width: 13.75rem;
|
|
35
35
|
min-width: 13.75rem;
|
|
@@ -51,7 +51,7 @@ const qe = y.a`
|
|
|
51
51
|
transform: scale(1.25);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
`,
|
|
54
|
+
`, Ke = y.div`
|
|
55
55
|
flex: 1;
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
@@ -159,13 +159,13 @@ const qe = y.a`
|
|
|
159
159
|
gap: 0.25rem;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
`,
|
|
162
|
+
`, ye = (r = !1, t = !1, i = !1) => `
|
|
163
163
|
display: flex;
|
|
164
164
|
${t ? "flex-wrap: wrap;" : ""}
|
|
165
165
|
${t ? "" : "flex-wrap: nowrap;"}
|
|
166
166
|
${r ? "align-items: center;" : ""}
|
|
167
|
-
${
|
|
168
|
-
`,
|
|
167
|
+
${i ? "justify-content: center;" : ""}
|
|
168
|
+
`, Qe = y.a`
|
|
169
169
|
text-decoration: none;
|
|
170
170
|
color: var(--gray-950);
|
|
171
171
|
${(r) => r.hasPermission === !0 && "cursor: pointer"};
|
|
@@ -183,14 +183,14 @@ const qe = y.a`
|
|
|
183
183
|
text-decoration: none;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
${
|
|
186
|
+
${ye(!0)}
|
|
187
187
|
gap: 0.5rem;
|
|
188
188
|
padding: 0.5rem;
|
|
189
189
|
color: var(--gray-950, #14161a);
|
|
190
190
|
font-weight: 500;
|
|
191
191
|
font-size: 1rem;
|
|
192
192
|
line-height: 1.5rem;
|
|
193
|
-
border-radius: ${(r) =>
|
|
193
|
+
border-radius: ${(r) => ie(r.theme, "slight")};
|
|
194
194
|
transition: all 0.25s ease;
|
|
195
195
|
& .description {
|
|
196
196
|
font-size: 0.85rem;
|
|
@@ -199,7 +199,7 @@ const qe = y.a`
|
|
|
199
199
|
font-weight: 400;
|
|
200
200
|
}
|
|
201
201
|
& .logo-wrapper {
|
|
202
|
-
${
|
|
202
|
+
${ye(!0, !1, !0)}
|
|
203
203
|
flex-shrink: 0;
|
|
204
204
|
border-radius: 999px;
|
|
205
205
|
|
|
@@ -242,14 +242,14 @@ const qe = y.a`
|
|
|
242
242
|
padding: 0;
|
|
243
243
|
font-size: 0.875rem;
|
|
244
244
|
}
|
|
245
|
-
`,
|
|
245
|
+
`, er = y.div`
|
|
246
246
|
position: absolute;
|
|
247
247
|
top: 0.5rem;
|
|
248
248
|
${(r) => r.alignToLeft === !0 ? "left: 0.5rem;" : "right: 0.5rem;"}
|
|
249
249
|
display: flex;
|
|
250
250
|
gap: 0.25rem;
|
|
251
|
-
`,
|
|
252
|
-
border-radius: ${(r) =>
|
|
251
|
+
`, rr = y.div`
|
|
252
|
+
border-radius: ${(r) => ie(r.theme, r.borderRadius || "slight")};
|
|
253
253
|
background-color: ${(r) => r == null ? void 0 : r.color};
|
|
254
254
|
color: white;
|
|
255
255
|
height: 1.5rem;
|
|
@@ -264,77 +264,79 @@ const qe = y.a`
|
|
|
264
264
|
& i {
|
|
265
265
|
font-size: 0.813rem;
|
|
266
266
|
}
|
|
267
|
-
`,
|
|
268
|
-
const
|
|
269
|
-
return
|
|
270
|
-
var
|
|
267
|
+
`, nr = j(({ src: r, ...t }, i) => {
|
|
268
|
+
const a = $e();
|
|
269
|
+
return oe(() => {
|
|
270
|
+
var p;
|
|
271
271
|
const d = (l) => {
|
|
272
|
-
l.target.src =
|
|
272
|
+
l.target.src = fe, l.onerror = null;
|
|
273
273
|
};
|
|
274
|
-
return (
|
|
274
|
+
return (p = a == null ? void 0 : a.current) == null || p.addEventListener("error", d), () => {
|
|
275
275
|
var l;
|
|
276
|
-
(l =
|
|
276
|
+
(l = a == null ? void 0 : a.current) == null || l.removeEventListener("error", d);
|
|
277
277
|
};
|
|
278
|
-
}, []), /* @__PURE__ */ n(
|
|
279
|
-
}),
|
|
278
|
+
}, []), /* @__PURE__ */ n(je, { ref: i, children: ae(r) ? /* @__PURE__ */ n("img", { ref: a, src: r, ...t }) : /* @__PURE__ */ n("img", { src: fe, ...t }) });
|
|
279
|
+
}), Ie = (r) => {
|
|
280
280
|
const {
|
|
281
281
|
uuid: t,
|
|
282
|
-
hasPermission:
|
|
283
|
-
isUser:
|
|
282
|
+
hasPermission: i = !0,
|
|
283
|
+
isUser: a,
|
|
284
284
|
image: d,
|
|
285
|
-
imageComponent:
|
|
285
|
+
imageComponent: p,
|
|
286
286
|
name: l,
|
|
287
|
-
notifications:
|
|
288
|
-
color:
|
|
289
|
-
size:
|
|
290
|
-
style:
|
|
291
|
-
disabled:
|
|
292
|
-
onClick:
|
|
287
|
+
notifications: _ = 0,
|
|
288
|
+
color: m = "primary",
|
|
289
|
+
size: h = "large",
|
|
290
|
+
style: g,
|
|
291
|
+
disabled: k,
|
|
292
|
+
onClick: f = () => {
|
|
293
293
|
},
|
|
294
294
|
isActive: v,
|
|
295
|
-
className:
|
|
296
|
-
shopCategory:
|
|
295
|
+
className: I,
|
|
296
|
+
shopCategory: N,
|
|
297
297
|
// new
|
|
298
|
-
themeData: S
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
298
|
+
themeData: S,
|
|
299
|
+
LinkComponent: c
|
|
300
|
+
} = r, x = c || "a", E = {
|
|
301
|
+
theme: Ce(),
|
|
302
|
+
color: m,
|
|
303
|
+
size: h,
|
|
304
|
+
style: g,
|
|
305
|
+
disabled: k
|
|
305
306
|
};
|
|
306
|
-
return /* @__PURE__ */
|
|
307
|
-
|
|
307
|
+
return /* @__PURE__ */ Re(
|
|
308
|
+
Qe,
|
|
308
309
|
{
|
|
309
|
-
onClick: (
|
|
310
|
-
|
|
310
|
+
onClick: (u) => {
|
|
311
|
+
u == null || u.preventDefault(), u.stopPropagation(), i === !0 && (f == null || f());
|
|
311
312
|
},
|
|
312
|
-
...
|
|
313
|
+
...E,
|
|
313
314
|
key: l,
|
|
314
|
-
className: `profile-item ${
|
|
315
|
-
hasPermission:
|
|
315
|
+
className: `profile-item ${I}`,
|
|
316
|
+
hasPermission: i,
|
|
316
317
|
isActive: v,
|
|
317
318
|
themeColor: (S == null ? void 0 : S.code) || "transparent",
|
|
318
|
-
|
|
319
|
+
as: x,
|
|
320
|
+
...c ? { to: `/${a ? "user" : "shop"}/${t}` } : { href: `/${a ? "user" : "shop"}/${t}` }
|
|
319
321
|
},
|
|
320
|
-
/* @__PURE__ */ n("div", { className: "logo-wrapper", children:
|
|
322
|
+
/* @__PURE__ */ n("div", { className: "logo-wrapper", children: Ge(p) ? p : d }),
|
|
321
323
|
/* @__PURE__ */ s("div", { children: [
|
|
322
324
|
/* @__PURE__ */ n("div", { className: "name", children: l }),
|
|
323
|
-
!
|
|
324
|
-
|
|
325
|
+
!a && /* @__PURE__ */ n("div", { className: "description", children: N }),
|
|
326
|
+
_ > 0 && /* @__PURE__ */ n("div", { className: "notifications-number", children: /* @__PURE__ */ n(Ze, { className: "badge", color: "danger", size: "small", children: _ > 99 ? "99+" : _ }) })
|
|
325
327
|
] })
|
|
326
328
|
);
|
|
327
329
|
};
|
|
328
|
-
|
|
329
|
-
id:
|
|
330
|
-
isUserProfile:
|
|
331
|
-
themeColor:
|
|
332
|
-
image:
|
|
333
|
-
name:
|
|
334
|
-
notifications:
|
|
335
|
-
style:
|
|
336
|
-
className:
|
|
337
|
-
color:
|
|
330
|
+
Ie.propTypes = {
|
|
331
|
+
id: o.any,
|
|
332
|
+
isUserProfile: o.bool,
|
|
333
|
+
themeColor: o.string,
|
|
334
|
+
image: o.any,
|
|
335
|
+
name: o.string,
|
|
336
|
+
notifications: o.number,
|
|
337
|
+
style: o.object,
|
|
338
|
+
className: o.string,
|
|
339
|
+
color: o.oneOf([
|
|
338
340
|
"primary",
|
|
339
341
|
"secondary",
|
|
340
342
|
"success",
|
|
@@ -343,99 +345,101 @@ ke.propTypes = {
|
|
|
343
345
|
"information",
|
|
344
346
|
"neutral"
|
|
345
347
|
]),
|
|
346
|
-
size:
|
|
347
|
-
onSelect:
|
|
348
|
-
hasPermission:
|
|
348
|
+
size: o.oneOf(["large"]),
|
|
349
|
+
onSelect: o.func,
|
|
350
|
+
hasPermission: o.bool
|
|
349
351
|
};
|
|
350
|
-
const
|
|
352
|
+
const Se = (r) => {
|
|
351
353
|
if (r !== void 0) {
|
|
352
|
-
const t = new Date(r),
|
|
353
|
-
return `${String(t.getDate()).padStart(2)}. ${
|
|
354
|
+
const t = new Date(r), i = t.getFullYear(), a = t.getMonth() + 1;
|
|
355
|
+
return `${String(t.getDate()).padStart(2)}. ${a}. ${i}.`;
|
|
354
356
|
}
|
|
355
|
-
},
|
|
356
|
-
var
|
|
357
|
-
const
|
|
358
|
-
uuid:
|
|
357
|
+
}, tr = j((r, t) => {
|
|
358
|
+
var he;
|
|
359
|
+
const i = Ce(), {
|
|
360
|
+
uuid: a,
|
|
359
361
|
shopUuid: d,
|
|
360
|
-
title:
|
|
362
|
+
title: p = "",
|
|
361
363
|
// description,
|
|
362
364
|
// badges,
|
|
363
365
|
coverPhoto: l,
|
|
364
|
-
onSelect:
|
|
366
|
+
onSelect: _,
|
|
365
367
|
// status,
|
|
366
|
-
startDate:
|
|
367
|
-
endDate:
|
|
368
|
-
salesPackages:
|
|
369
|
-
shopName:
|
|
370
|
-
shopCategory:
|
|
368
|
+
startDate: m,
|
|
369
|
+
endDate: h,
|
|
370
|
+
salesPackages: g,
|
|
371
|
+
shopName: k,
|
|
372
|
+
shopCategory: f,
|
|
371
373
|
shopImage: v,
|
|
372
|
-
shopImageComponent:
|
|
373
|
-
className:
|
|
374
|
+
shopImageComponent: I,
|
|
375
|
+
className: N,
|
|
374
376
|
onSelectCard: S = () => {
|
|
375
377
|
},
|
|
376
|
-
onSelectShop:
|
|
378
|
+
onSelectShop: c = () => {
|
|
377
379
|
},
|
|
378
|
-
upcoming:
|
|
379
|
-
upcomingCampaignText:
|
|
380
|
-
campaignSingleText:
|
|
381
|
-
salesCampaignTypes:
|
|
382
|
-
startsInPrefixTextPlural:
|
|
383
|
-
startsinSuffixTextPlural:
|
|
384
|
-
startsInPrefixTextSingular:
|
|
385
|
-
startsinSuffixTextSingular:
|
|
386
|
-
endsInPrefixTextPlural:
|
|
387
|
-
endsinSuffixTextPlural:
|
|
380
|
+
upcoming: x = !1,
|
|
381
|
+
upcomingCampaignText: D,
|
|
382
|
+
campaignSingleText: E,
|
|
383
|
+
salesCampaignTypes: u = [],
|
|
384
|
+
startsInPrefixTextPlural: V,
|
|
385
|
+
startsinSuffixTextPlural: A,
|
|
386
|
+
startsInPrefixTextSingular: H,
|
|
387
|
+
startsinSuffixTextSingular: se,
|
|
388
|
+
endsInPrefixTextPlural: Z,
|
|
389
|
+
endsinSuffixTextPlural: q,
|
|
388
390
|
endsInPrefixTextSingular: R,
|
|
389
|
-
endsinSuffixTextSingular:
|
|
390
|
-
endedText:
|
|
391
|
-
themeData:
|
|
392
|
-
numberOfListings:
|
|
393
|
-
numberOfListingsTextSingular:
|
|
394
|
-
numberOfListingsTextPlural:
|
|
395
|
-
metadata:
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
391
|
+
endsinSuffixTextSingular: X,
|
|
392
|
+
endedText: Y,
|
|
393
|
+
themeData: le,
|
|
394
|
+
numberOfListings: P,
|
|
395
|
+
numberOfListingsTextSingular: J,
|
|
396
|
+
numberOfListingsTextPlural: B,
|
|
397
|
+
metadata: e,
|
|
398
|
+
LinkComponent: W,
|
|
399
|
+
...ce
|
|
400
|
+
} = r, K = W || "a", de = $e(), M = Ve(m, h), Q = M !== -1 && (M == null ? void 0 : M.isEnded) === !0, ee = M !== -1 && !Q, re = Ae(m), z = He(h), Te = z !== null && z <= 2 && z > 0, me = ue(h), ge = me ? new Date(me) : null, Pe = /* @__PURE__ */ new Date(), ne = ge ? ge.getTime() - Pe.getTime() : null, F = ne !== null && ne > 0 && ne < 24 * 60 * 60 * 1e3, pe = (b, L, C, $, T) => C === 1 ? `${b} ${C} ${$}` : `${L} ${C} ${T}`, ze = () => {
|
|
401
|
+
if (!h) return null;
|
|
402
|
+
const b = ue(h), L = b ? new Date(b) : null;
|
|
400
403
|
if (!L) return null;
|
|
401
|
-
const C =
|
|
402
|
-
if (
|
|
403
|
-
const
|
|
404
|
-
return { hours:
|
|
405
|
-
}, [
|
|
406
|
-
|
|
407
|
-
if (!
|
|
404
|
+
const C = Le, $ = L.getTime() - C.getTime();
|
|
405
|
+
if ($ <= 0) return null;
|
|
406
|
+
const T = Math.floor($ / (1e3 * 60 * 60)), Ee = Math.floor($ % (1e3 * 60 * 60) / (1e3 * 60)), Me = Math.floor($ % (1e3 * 60) / 1e3);
|
|
407
|
+
return { hours: T, minutes: Ee, seconds: Me };
|
|
408
|
+
}, [Le, Ue] = te(/* @__PURE__ */ new Date());
|
|
409
|
+
oe(() => {
|
|
410
|
+
if (!F) return;
|
|
408
411
|
const b = setInterval(() => {
|
|
409
|
-
|
|
412
|
+
Ue(/* @__PURE__ */ new Date());
|
|
410
413
|
}, 1e3);
|
|
411
414
|
return () => clearInterval(b);
|
|
412
|
-
}, [
|
|
413
|
-
const
|
|
415
|
+
}, [F]);
|
|
416
|
+
const G = F ? ze() : null;
|
|
414
417
|
return /* @__PURE__ */ s(
|
|
415
|
-
|
|
418
|
+
Ye,
|
|
416
419
|
{
|
|
417
|
-
ref:
|
|
418
|
-
theme:
|
|
419
|
-
className:
|
|
420
|
-
name:
|
|
421
|
-
"data-accessor":
|
|
422
|
-
onClick: (b) => S(b,
|
|
423
|
-
|
|
424
|
-
...
|
|
420
|
+
ref: de,
|
|
421
|
+
theme: i,
|
|
422
|
+
className: N,
|
|
423
|
+
name: e == null ? void 0 : e.name,
|
|
424
|
+
"data-accessor": e == null ? void 0 : e.accessor,
|
|
425
|
+
onClick: (b) => S(b, de),
|
|
426
|
+
as: K,
|
|
427
|
+
...W ? { to: `/shop/${d}/campaign/${a}` } : { href: `/shop/${d}/campaign/${a}` },
|
|
428
|
+
...ce,
|
|
425
429
|
children: [
|
|
426
|
-
/* @__PURE__ */ s(
|
|
430
|
+
/* @__PURE__ */ s(Je, { theme: i, children: [
|
|
427
431
|
/* @__PURE__ */ n("img", { src: l }),
|
|
428
|
-
/* @__PURE__ */ n(
|
|
429
|
-
var C,
|
|
432
|
+
/* @__PURE__ */ n(er, { children: g == null ? void 0 : g.map((b, L) => {
|
|
433
|
+
var C, $;
|
|
430
434
|
return /* @__PURE__ */ n(
|
|
431
|
-
|
|
435
|
+
rr,
|
|
432
436
|
{
|
|
433
|
-
color: (C =
|
|
434
|
-
theme:
|
|
437
|
+
color: (C = u == null ? void 0 : u.find((T) => T.value === b)) == null ? void 0 : C.color,
|
|
438
|
+
theme: i,
|
|
435
439
|
children: /* @__PURE__ */ n(
|
|
436
440
|
_e,
|
|
437
441
|
{
|
|
438
|
-
icon: (
|
|
442
|
+
icon: ($ = u == null ? void 0 : u.find((T) => T.value === b)) == null ? void 0 : $.icon
|
|
439
443
|
}
|
|
440
444
|
)
|
|
441
445
|
},
|
|
@@ -443,20 +447,20 @@ const we = (r) => {
|
|
|
443
447
|
);
|
|
444
448
|
}) })
|
|
445
449
|
] }),
|
|
446
|
-
/* @__PURE__ */ s(
|
|
450
|
+
/* @__PURE__ */ s(Ke, { theme: i, children: [
|
|
447
451
|
/* @__PURE__ */ n("div", { className: "text-block-wrapper", children: /* @__PURE__ */ s("div", { className: "title-block-wrapper", children: [
|
|
448
|
-
/* @__PURE__ */ n("div", { className: "campaign-title", children: (
|
|
449
|
-
/* @__PURE__ */ n("div", { className: "campaign-title-text", children:
|
|
450
|
-
|
|
451
|
-
|
|
452
|
+
/* @__PURE__ */ n("div", { className: "campaign-title", children: (he = x ? D : E) == null ? void 0 : he.toUpperCase() }),
|
|
453
|
+
/* @__PURE__ */ n("div", { className: "campaign-title-text", children: p }),
|
|
454
|
+
h && m && /* @__PURE__ */ s("div", { className: "campaign-date", children: [
|
|
455
|
+
Se(m),
|
|
452
456
|
" - ",
|
|
453
|
-
|
|
457
|
+
Se(h)
|
|
454
458
|
] }),
|
|
455
459
|
/* @__PURE__ */ s("div", { className: "timestamp-text", children: [
|
|
456
|
-
|
|
457
|
-
|
|
460
|
+
P > 0 && /* @__PURE__ */ s("span", { className: "listings-text", children: [
|
|
461
|
+
P,
|
|
458
462
|
" ",
|
|
459
|
-
|
|
463
|
+
P === 1 ? J : B,
|
|
460
464
|
" ",
|
|
461
465
|
"∙",
|
|
462
466
|
" "
|
|
@@ -464,52 +468,52 @@ const we = (r) => {
|
|
|
464
468
|
/* @__PURE__ */ n(
|
|
465
469
|
"span",
|
|
466
470
|
{
|
|
467
|
-
className: `duration-text ${
|
|
468
|
-
children:
|
|
471
|
+
className: `duration-text ${Te ? "urgent" : ""} ${ee ? "" : "starts-in"}`,
|
|
472
|
+
children: F && G ? /* @__PURE__ */ s("div", { className: "countdown-timer", children: [
|
|
469
473
|
R,
|
|
470
474
|
" ",
|
|
471
|
-
|
|
475
|
+
G.hours.toString().padStart(2, "0"),
|
|
472
476
|
":",
|
|
473
|
-
|
|
477
|
+
G.minutes.toString().padStart(2, "0"),
|
|
474
478
|
":",
|
|
475
|
-
|
|
476
|
-
] }) :
|
|
479
|
+
G.seconds.toString().padStart(2, "0")
|
|
480
|
+
] }) : ee && !Q && z !== null && z > 0 ? pe(
|
|
477
481
|
R,
|
|
478
|
-
|
|
482
|
+
Z,
|
|
479
483
|
z,
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
) :
|
|
483
|
-
q,
|
|
484
|
+
X,
|
|
485
|
+
q
|
|
486
|
+
) : Q ? Y || "Završena" : !ee && re !== null && re > 0 ? pe(
|
|
484
487
|
H,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
+
V,
|
|
489
|
+
re,
|
|
490
|
+
se,
|
|
491
|
+
A
|
|
488
492
|
) : null
|
|
489
493
|
}
|
|
490
494
|
)
|
|
491
495
|
] })
|
|
492
496
|
] }) }),
|
|
493
497
|
/* @__PURE__ */ n(
|
|
494
|
-
|
|
498
|
+
Ie,
|
|
495
499
|
{
|
|
496
500
|
hasPermission: !0,
|
|
497
|
-
image: /* @__PURE__ */ n(
|
|
498
|
-
imageComponent:
|
|
499
|
-
themeData:
|
|
501
|
+
image: /* @__PURE__ */ n(nr, { src: v }),
|
|
502
|
+
imageComponent: I,
|
|
503
|
+
themeData: le,
|
|
500
504
|
isActive: !0,
|
|
501
505
|
isUser: !1,
|
|
502
|
-
name:
|
|
503
|
-
shopCategory:
|
|
506
|
+
name: k,
|
|
507
|
+
shopCategory: f,
|
|
504
508
|
uuid: d,
|
|
505
|
-
onClick: () =>
|
|
509
|
+
onClick: () => c(d)
|
|
506
510
|
}
|
|
507
511
|
)
|
|
508
512
|
] })
|
|
509
513
|
]
|
|
510
514
|
}
|
|
511
515
|
);
|
|
512
|
-
}),
|
|
516
|
+
}), ar = y.div`
|
|
513
517
|
margin: 0 auto;
|
|
514
518
|
display: flex;
|
|
515
519
|
flex-direction: column;
|
|
@@ -560,7 +564,7 @@ const we = (r) => {
|
|
|
560
564
|
}
|
|
561
565
|
}
|
|
562
566
|
}
|
|
563
|
-
`,
|
|
567
|
+
`, or = y(Xe.div)`
|
|
564
568
|
display: grid;
|
|
565
569
|
grid-template-columns: repeat(${(r) => r == null ? void 0 : r.numOfColumns}, 1fr);
|
|
566
570
|
gap: 1.5rem;
|
|
@@ -588,36 +592,36 @@ const we = (r) => {
|
|
|
588
592
|
/* Safari and Chrome */
|
|
589
593
|
}
|
|
590
594
|
}
|
|
591
|
-
`,
|
|
595
|
+
`, Ne = j(
|
|
592
596
|
({
|
|
593
597
|
icon: r,
|
|
594
598
|
title: t,
|
|
595
|
-
numOfSlides:
|
|
596
|
-
showNavigation:
|
|
599
|
+
numOfSlides: i = 2,
|
|
600
|
+
showNavigation: a = !0,
|
|
597
601
|
hasNextPage: d = !1,
|
|
598
|
-
handleFetchNextPage:
|
|
602
|
+
handleFetchNextPage: p = () => {
|
|
599
603
|
},
|
|
600
604
|
children: l
|
|
601
|
-
},
|
|
602
|
-
const [
|
|
603
|
-
|
|
604
|
-
const
|
|
605
|
-
|
|
605
|
+
}, _) => {
|
|
606
|
+
const [m, h] = te(0), [g, k] = te(1), f = ke(), v = (l == null ? void 0 : l.length) ?? 1;
|
|
607
|
+
oe(() => {
|
|
608
|
+
const c = () => {
|
|
609
|
+
k(i);
|
|
606
610
|
};
|
|
607
|
-
return window.addEventListener("resize",
|
|
611
|
+
return window.addEventListener("resize", c), c(), () => window.removeEventListener("resize", c);
|
|
608
612
|
}, []);
|
|
609
|
-
const
|
|
613
|
+
const I = f ? l : l == null ? void 0 : l.slice(m, m + g), N = (c) => {
|
|
614
|
+
var D;
|
|
615
|
+
(D = c == null ? void 0 : c.target) == null || D.blur();
|
|
616
|
+
const x = m + g;
|
|
617
|
+
x < v && h(x), x + g >= v && d && p();
|
|
618
|
+
}, S = (c) => {
|
|
610
619
|
var x;
|
|
611
|
-
(x =
|
|
612
|
-
const f = c + m;
|
|
613
|
-
f < v && p(f), f + m >= v && d && h();
|
|
614
|
-
}, S = (g) => {
|
|
615
|
-
var f;
|
|
616
|
-
(f = g == null ? void 0 : g.target) == null || f.blur(), c - m >= 0 && p(c - m);
|
|
620
|
+
(x = c == null ? void 0 : c.target) == null || x.blur(), m - g >= 0 && h(m - g);
|
|
617
621
|
};
|
|
618
|
-
return /* @__PURE__ */ s(
|
|
622
|
+
return /* @__PURE__ */ s(ar, { ref: _, children: [
|
|
619
623
|
/* @__PURE__ */ n("div", { className: "scrollable-section__header", children: /* @__PURE__ */ s("div", { className: "scrollable-section__title", children: [
|
|
620
|
-
|
|
624
|
+
ae(r) && /* @__PURE__ */ n(
|
|
621
625
|
_e,
|
|
622
626
|
{
|
|
623
627
|
icon: r,
|
|
@@ -626,16 +630,16 @@ const we = (r) => {
|
|
|
626
630
|
className: "title__icon"
|
|
627
631
|
}
|
|
628
632
|
),
|
|
629
|
-
|
|
633
|
+
ae(t) && /* @__PURE__ */ s("div", { className: "title__text", children: [
|
|
630
634
|
" ",
|
|
631
635
|
t
|
|
632
636
|
] })
|
|
633
637
|
] }) }),
|
|
634
638
|
/* @__PURE__ */ s(
|
|
635
|
-
|
|
639
|
+
or,
|
|
636
640
|
{
|
|
637
|
-
numOfColumns:
|
|
638
|
-
...!
|
|
641
|
+
numOfColumns: i,
|
|
642
|
+
...!f && {
|
|
639
643
|
animate: {
|
|
640
644
|
x: 0,
|
|
641
645
|
opacity: 1
|
|
@@ -646,50 +650,50 @@ const we = (r) => {
|
|
|
646
650
|
}
|
|
647
651
|
},
|
|
648
652
|
children: [
|
|
649
|
-
|
|
650
|
-
|
|
653
|
+
I,
|
|
654
|
+
f && d && /* @__PURE__ */ n(qe, { onIsVisible: p })
|
|
651
655
|
]
|
|
652
656
|
},
|
|
653
|
-
`scrollable-section__content-${
|
|
657
|
+
`scrollable-section__content-${m}`
|
|
654
658
|
),
|
|
655
|
-
|
|
659
|
+
a && v > g && !f && /* @__PURE__ */ s("div", { className: "scrollable-section__navigation", children: [
|
|
656
660
|
/* @__PURE__ */ n(
|
|
657
|
-
|
|
661
|
+
xe,
|
|
658
662
|
{
|
|
659
663
|
icon: "angle-left",
|
|
660
664
|
borderRadius: "curved",
|
|
661
665
|
btnType: "tinted",
|
|
662
666
|
color: "neutral",
|
|
663
667
|
className: "navigation__arrow",
|
|
664
|
-
disabled:
|
|
668
|
+
disabled: m === 0,
|
|
665
669
|
onClick: S
|
|
666
670
|
}
|
|
667
671
|
),
|
|
668
672
|
/* @__PURE__ */ n(
|
|
669
|
-
|
|
673
|
+
xe,
|
|
670
674
|
{
|
|
671
675
|
icon: "angle-right",
|
|
672
676
|
borderRadius: "curved",
|
|
673
677
|
btnType: "tinted",
|
|
674
678
|
color: "neutral",
|
|
675
679
|
className: "navigation__arrow",
|
|
676
|
-
disabled:
|
|
677
|
-
onClick:
|
|
680
|
+
disabled: m + g >= v,
|
|
681
|
+
onClick: N
|
|
678
682
|
}
|
|
679
683
|
)
|
|
680
684
|
] })
|
|
681
685
|
] });
|
|
682
686
|
}
|
|
683
687
|
);
|
|
684
|
-
|
|
685
|
-
icon:
|
|
686
|
-
title:
|
|
687
|
-
numOfSlides:
|
|
688
|
-
numOfSlidesForMobile:
|
|
689
|
-
handleFetchNextPage:
|
|
690
|
-
showNavigation:
|
|
688
|
+
Ne.propTypes = {
|
|
689
|
+
icon: o.string,
|
|
690
|
+
title: o.string,
|
|
691
|
+
numOfSlides: o.number,
|
|
692
|
+
numOfSlidesForMobile: o.number,
|
|
693
|
+
handleFetchNextPage: o.func,
|
|
694
|
+
showNavigation: o.bool
|
|
691
695
|
};
|
|
692
|
-
const
|
|
696
|
+
const ir = y.div`
|
|
693
697
|
display: flex;
|
|
694
698
|
flex: 1;
|
|
695
699
|
width: 100%;
|
|
@@ -706,33 +710,33 @@ const ar = y.div`
|
|
|
706
710
|
border-radius: 1.25rem;
|
|
707
711
|
object-fit: cover;
|
|
708
712
|
}
|
|
709
|
-
`,
|
|
713
|
+
`, De = j(
|
|
710
714
|
({
|
|
711
715
|
sectionName: r,
|
|
712
716
|
imageUrl: t,
|
|
713
|
-
maxHeight:
|
|
714
|
-
className:
|
|
717
|
+
maxHeight: i = "16.25rem",
|
|
718
|
+
className: a = "",
|
|
715
719
|
handleClick: d = () => {
|
|
716
720
|
}
|
|
717
|
-
},
|
|
718
|
-
|
|
721
|
+
}, p) => /* @__PURE__ */ n(
|
|
722
|
+
ir,
|
|
719
723
|
{
|
|
720
|
-
ref:
|
|
721
|
-
maxHeight:
|
|
724
|
+
ref: p,
|
|
725
|
+
maxHeight: i,
|
|
722
726
|
onClick: d,
|
|
723
|
-
className: `itemless-banner ${
|
|
727
|
+
className: `itemless-banner ${a}`,
|
|
724
728
|
children: /* @__PURE__ */ n("img", { src: t, alt: `itemless-banner__${r}` })
|
|
725
729
|
}
|
|
726
730
|
)
|
|
727
731
|
);
|
|
728
|
-
|
|
729
|
-
sectionName:
|
|
730
|
-
imageUrl:
|
|
731
|
-
maxHeight:
|
|
732
|
-
className:
|
|
733
|
-
handleClick:
|
|
732
|
+
De.propTypes = {
|
|
733
|
+
sectionName: o.string,
|
|
734
|
+
imageUrl: o.string,
|
|
735
|
+
maxHeight: o.string,
|
|
736
|
+
className: o.string,
|
|
737
|
+
handleClick: o.func
|
|
734
738
|
};
|
|
735
|
-
const
|
|
739
|
+
const sr = y(O)`
|
|
736
740
|
@media (max-width: ${U + "px"}) {
|
|
737
741
|
flex-direction: column;
|
|
738
742
|
|
|
@@ -747,10 +751,10 @@ const or = y(O)`
|
|
|
747
751
|
}
|
|
748
752
|
}
|
|
749
753
|
}
|
|
750
|
-
`,
|
|
754
|
+
`, lr = ({ keyPrefix: r }) => /* @__PURE__ */ s(sr, { children: [
|
|
751
755
|
/* @__PURE__ */ s(O, { children: [
|
|
752
756
|
/* @__PURE__ */ n(
|
|
753
|
-
|
|
757
|
+
be,
|
|
754
758
|
{
|
|
755
759
|
width: "13.75rem",
|
|
756
760
|
height: "13.75rem",
|
|
@@ -758,20 +762,20 @@ const or = y(O)`
|
|
|
758
762
|
},
|
|
759
763
|
`${r}-1`
|
|
760
764
|
),
|
|
761
|
-
/* @__PURE__ */ s(
|
|
765
|
+
/* @__PURE__ */ s(ve, { noGradient: !0, children: [
|
|
762
766
|
/* @__PURE__ */ n(w, { height: "1rem" }),
|
|
763
767
|
/* @__PURE__ */ n(w, { height: "1.75rem" }),
|
|
764
768
|
/* @__PURE__ */ n(w, { height: "1.25rem" }),
|
|
765
769
|
/* @__PURE__ */ n(w, { height: "2rem" }),
|
|
766
770
|
/* @__PURE__ */ s(O, { alignItems: "center", noGradient: !0, children: [
|
|
767
|
-
/* @__PURE__ */ n(
|
|
771
|
+
/* @__PURE__ */ n(we, { width: "2.5rem", height: "2.5rem" }),
|
|
768
772
|
/* @__PURE__ */ n(w, { width: "5rem", height: "1.25rem" })
|
|
769
773
|
] })
|
|
770
774
|
] })
|
|
771
775
|
] }),
|
|
772
776
|
/* @__PURE__ */ s(O, { noGradient: !0, children: [
|
|
773
777
|
/* @__PURE__ */ n(
|
|
774
|
-
|
|
778
|
+
be,
|
|
775
779
|
{
|
|
776
780
|
width: "13.75rem",
|
|
777
781
|
height: "13.75rem",
|
|
@@ -779,66 +783,67 @@ const or = y(O)`
|
|
|
779
783
|
},
|
|
780
784
|
`${r}-2`
|
|
781
785
|
),
|
|
782
|
-
/* @__PURE__ */ s(
|
|
786
|
+
/* @__PURE__ */ s(ve, { noGradient: !0, children: [
|
|
783
787
|
/* @__PURE__ */ n(w, { height: "1rem" }),
|
|
784
788
|
/* @__PURE__ */ n(w, { height: "1.75rem" }),
|
|
785
789
|
/* @__PURE__ */ n(w, { height: "1.25rem" }),
|
|
786
790
|
/* @__PURE__ */ n(w, { height: "2rem" }),
|
|
787
791
|
/* @__PURE__ */ s(O, { alignItems: "center", noGradient: !0, children: [
|
|
788
|
-
/* @__PURE__ */ n(
|
|
792
|
+
/* @__PURE__ */ n(we, { width: "2.5rem", height: "2.5rem" }),
|
|
789
793
|
/* @__PURE__ */ n(w, { width: "5rem", height: "1.25rem" })
|
|
790
794
|
] })
|
|
791
795
|
] })
|
|
792
796
|
] })
|
|
793
|
-
] }),
|
|
797
|
+
] }), cr = ({
|
|
794
798
|
keyPrefix: r,
|
|
795
799
|
isLoading: t = !1,
|
|
796
|
-
fallbackComponent:
|
|
797
|
-
children:
|
|
798
|
-
}) => /* @__PURE__ */ n(
|
|
800
|
+
fallbackComponent: i = /* @__PURE__ */ n(Oe, {}),
|
|
801
|
+
children: a
|
|
802
|
+
}) => /* @__PURE__ */ n(Be, { fallbackComponent: i, children: t === !0 ? /* @__PURE__ */ n(lr, { keyPrefix: r }) : a }), dr = We(tr), kr = j(
|
|
799
803
|
({
|
|
800
804
|
sellerType: r = "Shop",
|
|
801
805
|
items: t = [],
|
|
802
|
-
title:
|
|
803
|
-
icon:
|
|
806
|
+
title: i,
|
|
807
|
+
icon: a,
|
|
804
808
|
isLoading: d,
|
|
805
|
-
onSelectCard:
|
|
809
|
+
onSelectCard: p = () => {
|
|
806
810
|
},
|
|
807
811
|
onSelectShop: l = () => {
|
|
808
812
|
},
|
|
809
|
-
getImage:
|
|
813
|
+
getImage: _ = () => {
|
|
810
814
|
},
|
|
811
|
-
campaignSingleText:
|
|
812
|
-
upcomingCampaignText:
|
|
813
|
-
salesCampaignTypes:
|
|
814
|
-
startsInPrefixTextPlural:
|
|
815
|
-
startsinSuffixTextPlural:
|
|
815
|
+
campaignSingleText: m,
|
|
816
|
+
upcomingCampaignText: h,
|
|
817
|
+
salesCampaignTypes: g = [],
|
|
818
|
+
startsInPrefixTextPlural: k,
|
|
819
|
+
startsinSuffixTextPlural: f,
|
|
816
820
|
startsInPrefixTextSingular: v,
|
|
817
|
-
startsinSuffixTextSingular:
|
|
818
|
-
endsInPrefixTextPlural:
|
|
821
|
+
startsinSuffixTextSingular: I,
|
|
822
|
+
endsInPrefixTextPlural: N,
|
|
819
823
|
endsinSuffixTextPlural: S,
|
|
820
|
-
endsInPrefixTextSingular:
|
|
821
|
-
endsinSuffixTextSingular:
|
|
822
|
-
endedText:
|
|
823
|
-
numOfSlides:
|
|
824
|
-
showNavigation:
|
|
825
|
-
numberOfListingsTextSingular:
|
|
826
|
-
numberOfListingsTextPlural:
|
|
827
|
-
itemlessImageUrl:
|
|
828
|
-
itemlessLink:
|
|
829
|
-
handleItemlessLink:
|
|
824
|
+
endsInPrefixTextSingular: c,
|
|
825
|
+
endsinSuffixTextSingular: x,
|
|
826
|
+
endedText: D,
|
|
827
|
+
numOfSlides: E = 2,
|
|
828
|
+
showNavigation: u = !0,
|
|
829
|
+
numberOfListingsTextSingular: V,
|
|
830
|
+
numberOfListingsTextPlural: A,
|
|
831
|
+
itemlessImageUrl: H,
|
|
832
|
+
itemlessLink: se,
|
|
833
|
+
handleItemlessLink: Z = () => {
|
|
830
834
|
},
|
|
831
|
-
componentName:
|
|
835
|
+
componentName: q,
|
|
832
836
|
hasNextPage: R = !1,
|
|
833
|
-
handleFetchNextPage:
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
837
|
+
handleFetchNextPage: X = () => {
|
|
838
|
+
},
|
|
839
|
+
LinkComponent: Y
|
|
840
|
+
}, le) => {
|
|
841
|
+
const P = ke(), J = Fe(() => {
|
|
842
|
+
let B = t == null ? void 0 : t.map((e, W) => /* @__PURE__ */ n(
|
|
843
|
+
dr,
|
|
839
844
|
{
|
|
840
845
|
className: "campaign-item",
|
|
841
|
-
coverPhoto:
|
|
846
|
+
coverPhoto: _(
|
|
842
847
|
e == null ? void 0 : e.coverPhoto,
|
|
843
848
|
(e == null ? void 0 : e.uuid) || (e == null ? void 0 : e.campaignUuid)
|
|
844
849
|
),
|
|
@@ -854,64 +859,65 @@ const or = y(O)`
|
|
|
854
859
|
startDate: e == null ? void 0 : e.startDate,
|
|
855
860
|
title: e == null ? void 0 : e.name,
|
|
856
861
|
uuid: e == null ? void 0 : e.campaignUuid,
|
|
857
|
-
onSelectCard: (
|
|
862
|
+
onSelectCard: (ce, K) => p(e == null ? void 0 : e.campaignUuid, e == null ? void 0 : e.shopUuid, K),
|
|
858
863
|
onSelectShop: () => l(e == null ? void 0 : e.shopUuid),
|
|
859
|
-
campaignSingleText:
|
|
860
|
-
upcomingCampaignText:
|
|
864
|
+
campaignSingleText: m,
|
|
865
|
+
upcomingCampaignText: h,
|
|
861
866
|
upcoming: e == null ? void 0 : e.upcoming,
|
|
862
|
-
salesCampaignTypes:
|
|
863
|
-
startsInPrefixTextPlural:
|
|
864
|
-
startsinSuffixTextPlural:
|
|
867
|
+
salesCampaignTypes: g,
|
|
868
|
+
startsInPrefixTextPlural: k,
|
|
869
|
+
startsinSuffixTextPlural: f,
|
|
865
870
|
startsInPrefixTextSingular: v,
|
|
866
|
-
startsinSuffixTextSingular:
|
|
867
|
-
endsInPrefixTextPlural:
|
|
871
|
+
startsinSuffixTextSingular: I,
|
|
872
|
+
endsInPrefixTextPlural: N,
|
|
868
873
|
endsinSuffixTextPlural: S,
|
|
869
|
-
endsInPrefixTextSingular:
|
|
870
|
-
endsinSuffixTextSingular:
|
|
871
|
-
endedText:
|
|
874
|
+
endsInPrefixTextSingular: c,
|
|
875
|
+
endsinSuffixTextSingular: x,
|
|
876
|
+
endedText: D,
|
|
872
877
|
themeData: e == null ? void 0 : e.themeData,
|
|
873
878
|
numberOfListings: e == null ? void 0 : e.numberOfListings,
|
|
874
|
-
numberOfListingsTextSingular:
|
|
875
|
-
numberOfListingsTextPlural:
|
|
876
|
-
metadata: { name:
|
|
879
|
+
numberOfListingsTextSingular: V,
|
|
880
|
+
numberOfListingsTextPlural: A,
|
|
881
|
+
metadata: { name: q, accessor: e == null ? void 0 : e.accessor },
|
|
882
|
+
LinkComponent: Y
|
|
877
883
|
},
|
|
878
|
-
`campaign__item__${
|
|
884
|
+
`campaign__item__${W}__${e == null ? void 0 : e.startDate}___${e == null ? void 0 : e.endDate}`
|
|
879
885
|
));
|
|
880
|
-
return (t == null ? void 0 : t.length) < 2 && !
|
|
881
|
-
...
|
|
886
|
+
return (t == null ? void 0 : t.length) < 2 && !P ? [
|
|
887
|
+
...B,
|
|
882
888
|
/* @__PURE__ */ n(
|
|
883
|
-
|
|
889
|
+
De,
|
|
884
890
|
{
|
|
885
|
-
imageUrl:
|
|
891
|
+
imageUrl: H,
|
|
886
892
|
className: "campaign-item",
|
|
887
|
-
handleClick:
|
|
893
|
+
handleClick: Z
|
|
888
894
|
},
|
|
889
895
|
"itemless-campaign-section-banner"
|
|
890
896
|
)
|
|
891
|
-
] :
|
|
897
|
+
] : B;
|
|
892
898
|
}, [t]);
|
|
893
899
|
return /* @__PURE__ */ n(
|
|
894
|
-
|
|
900
|
+
cr,
|
|
895
901
|
{
|
|
896
902
|
isLoading: d,
|
|
897
903
|
keyPrefix: "sales-campaign-skeleton",
|
|
898
904
|
children: /* @__PURE__ */ n(
|
|
899
|
-
|
|
905
|
+
Ne,
|
|
900
906
|
{
|
|
901
|
-
icon:
|
|
902
|
-
title:
|
|
903
|
-
numOfSlides:
|
|
904
|
-
showNavigation:
|
|
907
|
+
icon: a,
|
|
908
|
+
title: i,
|
|
909
|
+
numOfSlides: E,
|
|
910
|
+
showNavigation: u,
|
|
905
911
|
hasNextPage: R,
|
|
906
|
-
handleFetchNextPage:
|
|
907
|
-
children:
|
|
912
|
+
handleFetchNextPage: X,
|
|
913
|
+
children: J
|
|
908
914
|
},
|
|
909
|
-
`sales-campaign-section__${
|
|
915
|
+
`sales-campaign-section__${P}`
|
|
910
916
|
)
|
|
911
917
|
}
|
|
912
918
|
);
|
|
913
919
|
}
|
|
914
920
|
);
|
|
915
921
|
export {
|
|
916
|
-
|
|
922
|
+
kr as default
|
|
917
923
|
};
|