@lanaco/lnc-react-ui 4.0.156 → 4.0.157
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/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +1 -1
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +1 -1
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +1 -1
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +1 -1
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +7 -2
- package/dist/DetailedProductsInfinitiveSection.js +60 -50
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +2 -2
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +1 -1
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +63 -60
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{style-DFPWLJBr.js → style-BLuyU97E.js} +4 -0
- package/dist/{style-CyHewQxg.cjs → style-lSjkOR95.cjs} +6 -2
- package/dist/{suspense-product-card-detailed-YJVsf2-a.js → suspense-product-card-detailed-BWoxabjZ.js} +162 -136
- package/dist/suspense-product-card-detailed-DYyH_jf5.cjs +300 -0
- package/package.json +1 -1
- package/dist/suspense-product-card-detailed-mCJwteOy.cjs +0 -265
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e, Fragment as P } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { p as ke, t as Y, o as k, l as K, q as H, G as Z
|
|
2
|
+
import { forwardRef as O, useState as L, useRef as q, useEffect as we, cloneElement as A, Suspense as be } from "react";
|
|
3
|
+
import { p as ke, t as Y, o as k, l as K, q as H, G as Z } from "./utils-BdsZgOUE.js";
|
|
4
4
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { P as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import { P as ye } from "./index-CF3HhgvN.js";
|
|
6
|
+
import N from "./Badge.js";
|
|
7
|
+
import _e from "./Popover.js";
|
|
8
8
|
import Ce from "./PopoverTrigger.js";
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
9
|
+
import Ne from "./PopoverContent.js";
|
|
10
|
+
import { u as Pe } from "./useDetectMobile-Bkvj0VMa.js";
|
|
11
11
|
import { M as J } from "./consts-BuFChS64.js";
|
|
12
12
|
const Q = $.div`
|
|
13
13
|
display: flex;
|
|
@@ -61,14 +61,6 @@ const Q = $.div`
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
& .tag-mobile {
|
|
65
|
-
font-weight: 400;
|
|
66
|
-
font-size: 0.75rem;
|
|
67
|
-
line-height: 1rem;
|
|
68
|
-
letter-spacing: 0.025rem;
|
|
69
|
-
color: var(--gray-600, #676e79);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
64
|
& .card-title {
|
|
73
65
|
font-size: 0.875rem;
|
|
74
66
|
font-weight: 600;
|
|
@@ -149,8 +141,51 @@ const Q = $.div`
|
|
|
149
141
|
@media (max-width: ${J + "px"}) {
|
|
150
142
|
overflow: visible;
|
|
151
143
|
|
|
144
|
+
& .wrapper-card-3 {
|
|
145
|
+
flex-wrap: nowrap;
|
|
146
|
+
justify-content: flex-start;
|
|
147
|
+
overflow-x: scroll;
|
|
148
|
+
width: 8.875rem !important;
|
|
149
|
+
|
|
150
|
+
-webkit-overflow-scrolling: touch;
|
|
151
|
+
::-webkit-scrollbar {
|
|
152
|
+
-webkit-appearance: none;
|
|
153
|
+
}
|
|
154
|
+
-ms-overflow-style: none;
|
|
155
|
+
/* Internet Explorer 10+ */
|
|
156
|
+
scrollbar-width: none;
|
|
157
|
+
/* Firefox */
|
|
158
|
+
|
|
159
|
+
&::-webkit-scrollbar {
|
|
160
|
+
display: none;
|
|
161
|
+
/* Safari and Chrome */
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
& > div {
|
|
165
|
+
& > div {
|
|
166
|
+
width: 8.875rem !important;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
152
171
|
& .tags-popover__trigger {
|
|
153
|
-
|
|
172
|
+
overflow-x: scroll;
|
|
173
|
+
justify-content: flex-start;
|
|
174
|
+
width: 100%;
|
|
175
|
+
|
|
176
|
+
-webkit-overflow-scrolling: touch;
|
|
177
|
+
::-webkit-scrollbar {
|
|
178
|
+
-webkit-appearance: none;
|
|
179
|
+
}
|
|
180
|
+
-ms-overflow-style: none;
|
|
181
|
+
/* Internet Explorer 10+ */
|
|
182
|
+
scrollbar-width: none;
|
|
183
|
+
/* Firefox */
|
|
184
|
+
|
|
185
|
+
&::-webkit-scrollbar {
|
|
186
|
+
display: none;
|
|
187
|
+
/* Safari and Chrome */
|
|
188
|
+
}
|
|
154
189
|
}
|
|
155
190
|
|
|
156
191
|
& .price-text {
|
|
@@ -166,7 +201,7 @@ const Q = $.div`
|
|
|
166
201
|
&:hover .product-image-wrapper img {
|
|
167
202
|
transform: scale(1.1);
|
|
168
203
|
}
|
|
169
|
-
`,
|
|
204
|
+
`, $e = $.div`
|
|
170
205
|
position: relative;
|
|
171
206
|
overflow: hidden;
|
|
172
207
|
border-radius: 0.75rem;
|
|
@@ -211,7 +246,7 @@ const Q = $.div`
|
|
|
211
246
|
display: flex;
|
|
212
247
|
}
|
|
213
248
|
}
|
|
214
|
-
`,
|
|
249
|
+
`, Te = $.div`
|
|
215
250
|
background: var(--white, #fff);
|
|
216
251
|
z-index: 1;
|
|
217
252
|
|
|
@@ -261,7 +296,7 @@ const Q = $.div`
|
|
|
261
296
|
color: var(--gray-950, #14161a);
|
|
262
297
|
}
|
|
263
298
|
}
|
|
264
|
-
`,
|
|
299
|
+
`, Ee = $.div`
|
|
265
300
|
display: flex;
|
|
266
301
|
align-items: center;
|
|
267
302
|
gap: 0.25rem;
|
|
@@ -273,10 +308,10 @@ const Q = $.div`
|
|
|
273
308
|
font-size: 1rem;
|
|
274
309
|
color: var(--warning-500, #F59E0B);
|
|
275
310
|
}
|
|
276
|
-
`,
|
|
311
|
+
`, Se = O(({ sponsoredText: c = "Sponsored" }, f) => /* @__PURE__ */ t(Ee, { ref: f, className: "sponsored-line", children: [
|
|
277
312
|
/* @__PURE__ */ e("i", { className: "mng-lnc-paw2" }),
|
|
278
|
-
/* @__PURE__ */ e("span", { children:
|
|
279
|
-
] })),
|
|
313
|
+
/* @__PURE__ */ e("span", { children: c })
|
|
314
|
+
] })), Ve = "Vehicles_Cars", Oe = "Vehicles_Motorcycles", Be = "Vehicles_Trucks", ze = "Vehicles_AgriculturalMachines_Tractors", Me = "Vehicles_ConstructionMachines", Fe = "Vehicles_Bus", We = "Vehicles_Campers", Ie = "RealEstates_", a = {
|
|
280
315
|
Mileage: {
|
|
281
316
|
icon: "mng-lnc-road",
|
|
282
317
|
measure: "km"
|
|
@@ -377,77 +412,81 @@ const Q = $.div`
|
|
|
377
412
|
icon: " mng-lnc-clock--filled",
|
|
378
413
|
measure: ""
|
|
379
414
|
}
|
|
380
|
-
},
|
|
415
|
+
}, Je = O((c, f) => {
|
|
381
416
|
const {
|
|
382
|
-
uuid:
|
|
417
|
+
uuid: l,
|
|
383
418
|
name: y,
|
|
384
|
-
price:
|
|
419
|
+
price: g = 0,
|
|
385
420
|
sellingPrice: _,
|
|
386
|
-
currency:
|
|
421
|
+
currency: C,
|
|
387
422
|
isNegotiable: T,
|
|
388
423
|
isFree: E,
|
|
389
|
-
imageUrl:
|
|
390
|
-
location:
|
|
391
|
-
sponsored:
|
|
392
|
-
imageComponent:
|
|
393
|
-
onSelectCard:
|
|
424
|
+
imageUrl: ee,
|
|
425
|
+
location: re,
|
|
426
|
+
sponsored: oe,
|
|
427
|
+
imageComponent: B,
|
|
428
|
+
onSelectCard: ne = () => {
|
|
394
429
|
},
|
|
395
|
-
freeText:
|
|
396
|
-
negotiableText:
|
|
430
|
+
freeText: te = "Free",
|
|
431
|
+
negotiableText: ae = "Negotiable",
|
|
397
432
|
tags: n = [],
|
|
398
|
-
categoryCode:
|
|
399
|
-
condition:
|
|
400
|
-
quantity:
|
|
401
|
-
trade:
|
|
433
|
+
categoryCode: S,
|
|
434
|
+
condition: z,
|
|
435
|
+
quantity: M,
|
|
436
|
+
trade: F,
|
|
402
437
|
sponsoredText: ie,
|
|
403
|
-
onBookmark:
|
|
438
|
+
onBookmark: W = () => {
|
|
404
439
|
},
|
|
405
440
|
bookmarkComponent: w,
|
|
406
|
-
bookmarked:
|
|
407
|
-
bookmarkLists:
|
|
408
|
-
} =
|
|
409
|
-
var
|
|
441
|
+
bookmarked: I,
|
|
442
|
+
bookmarkLists: se
|
|
443
|
+
} = c, V = Pe(), ce = () => {
|
|
444
|
+
var d;
|
|
410
445
|
if (!K(w)) return /* @__PURE__ */ e(P, {});
|
|
411
|
-
const r = w, o = (
|
|
412
|
-
key: `bookmark_pr__${
|
|
413
|
-
bookmarked:
|
|
414
|
-
productUuid:
|
|
415
|
-
onAddToBookmark: () =>
|
|
416
|
-
onRemoveFromBookmark: () =>
|
|
417
|
-
bookmarkedUuidList:
|
|
446
|
+
const r = w, o = (d = w == null ? void 0 : w.props) == null ? void 0 : d.children, s = A(o, {
|
|
447
|
+
key: `bookmark_pr__${I}`,
|
|
448
|
+
bookmarked: I,
|
|
449
|
+
productUuid: l,
|
|
450
|
+
onAddToBookmark: () => W(!0, l),
|
|
451
|
+
onRemoveFromBookmark: () => W(!1, l),
|
|
452
|
+
bookmarkedUuidList: se
|
|
418
453
|
});
|
|
419
|
-
return A(r, void 0,
|
|
420
|
-
},
|
|
421
|
-
|
|
422
|
-
|
|
454
|
+
return A(r, void 0, s);
|
|
455
|
+
}, j = [
|
|
456
|
+
Ve,
|
|
457
|
+
Oe,
|
|
423
458
|
Be,
|
|
459
|
+
ze,
|
|
424
460
|
Me,
|
|
425
|
-
We,
|
|
426
461
|
Fe,
|
|
427
|
-
|
|
462
|
+
We,
|
|
428
463
|
Ie
|
|
429
464
|
].some(
|
|
430
|
-
(r) =>
|
|
431
|
-
), [
|
|
432
|
-
|
|
433
|
-
},
|
|
434
|
-
|
|
435
|
-
},
|
|
436
|
-
var
|
|
437
|
-
if (!(
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
465
|
+
(r) => S == null ? void 0 : S.includes(r)
|
|
466
|
+
), [le, D] = L(!1), de = () => {
|
|
467
|
+
D(!0);
|
|
468
|
+
}, me = () => {
|
|
469
|
+
D(!1);
|
|
470
|
+
}, i = q(null), u = q([]), [pe, x] = L(n == null ? void 0 : n.length), ge = () => {
|
|
471
|
+
var d, v, b;
|
|
472
|
+
if (!(i != null && i.current) || ((d = u == null ? void 0 : u.current) == null ? void 0 : d.length) === 0) return;
|
|
473
|
+
if (V) {
|
|
474
|
+
x(n == null ? void 0 : n.length);
|
|
475
|
+
return;
|
|
476
|
+
}
|
|
477
|
+
const r = (v = i == null ? void 0 : i.current) == null ? void 0 : v.offsetWidth;
|
|
478
|
+
let o = 0, s = 0;
|
|
479
|
+
for (let m = 0; m < (n == null ? void 0 : n.length); m++) {
|
|
480
|
+
const h = ((b = u == null ? void 0 : u.current[m]) == null ? void 0 : b.offsetWidth) || 0, p = o + h + 4;
|
|
481
|
+
if (p <= r)
|
|
482
|
+
o += p, s++;
|
|
444
483
|
else
|
|
445
484
|
break;
|
|
446
485
|
}
|
|
447
|
-
|
|
486
|
+
x(s);
|
|
448
487
|
};
|
|
449
488
|
we(() => {
|
|
450
|
-
const r =
|
|
489
|
+
const r = i == null ? void 0 : i.current;
|
|
451
490
|
if (!r) return;
|
|
452
491
|
const o = new ResizeObserver(() => {
|
|
453
492
|
ge();
|
|
@@ -455,95 +494,82 @@ const Q = $.div`
|
|
|
455
494
|
return o.observe(r), () => {
|
|
456
495
|
o.disconnect();
|
|
457
496
|
};
|
|
458
|
-
}, [n]);
|
|
497
|
+
}, [n, V]);
|
|
459
498
|
const ue = () => {
|
|
460
499
|
var r;
|
|
461
|
-
return /* @__PURE__ */ e("div", { className: "tags-popover__trigger", children: (r = n == null ? void 0 : n.slice(0,
|
|
462
|
-
var
|
|
463
|
-
const
|
|
464
|
-
return
|
|
465
|
-
|
|
466
|
-
i < (n == null ? void 0 : n.length) - 1 ? " · " : ""
|
|
467
|
-
] }) : /* @__PURE__ */ t(
|
|
468
|
-
C,
|
|
500
|
+
return /* @__PURE__ */ e("div", { className: "tags-popover__trigger", children: (r = n == null ? void 0 : n.slice(0, pe)) == null ? void 0 : r.map((o, s) => {
|
|
501
|
+
var h, p, R, U, X;
|
|
502
|
+
const d = ((h = a == null ? void 0 : a[o == null ? void 0 : o.code]) == null ? void 0 : h.icon) ?? ((p = a == null ? void 0 : a.default) == null ? void 0 : p.icon) ?? "", v = ((R = o == null ? void 0 : o.measurementUnit) == null ? void 0 : R.symbol) ?? ((U = a == null ? void 0 : a[o == null ? void 0 : o.code]) == null ? void 0 : U.measure) ?? "", m = [(o == null ? void 0 : o.value) ?? ((X = o == null ? void 0 : o.multiOptions) == null ? void 0 : X[0]) ?? "", v].filter(Boolean).join(" ");
|
|
503
|
+
return /* @__PURE__ */ t(
|
|
504
|
+
N,
|
|
469
505
|
{
|
|
470
|
-
ref: (ve) =>
|
|
506
|
+
ref: (ve) => u.current[s] = ve,
|
|
471
507
|
className: "tag",
|
|
472
508
|
children: [
|
|
473
|
-
/* @__PURE__ */ e("i", { className:
|
|
474
|
-
|
|
509
|
+
/* @__PURE__ */ e("i", { className: d }),
|
|
510
|
+
m
|
|
475
511
|
]
|
|
476
512
|
},
|
|
477
|
-
`detailed-products-section-tag__${
|
|
513
|
+
`detailed-products-section-tag__${s + 1}`
|
|
478
514
|
);
|
|
479
515
|
}) });
|
|
480
516
|
}, he = () => /* @__PURE__ */ e("div", { className: "tags-popover__content", children: n == null ? void 0 : n.map((r, o) => {
|
|
481
|
-
var
|
|
482
|
-
const
|
|
517
|
+
var m, h, p;
|
|
518
|
+
const s = ((m = r == null ? void 0 : r.measurementUnit) == null ? void 0 : m.symbol) ?? ((h = a == null ? void 0 : a[r == null ? void 0 : r.code]) == null ? void 0 : h.measure) ?? "", v = [(r == null ? void 0 : r.value) ?? ((p = r == null ? void 0 : r.multiOptions) == null ? void 0 : p[0]) ?? "", s].filter(Boolean).join(" "), b = r == null ? void 0 : r.name;
|
|
483
519
|
return /* @__PURE__ */ t("div", { children: [
|
|
484
520
|
/* @__PURE__ */ e("span", { className: "tags-popover__name", children: `${b}: ` }),
|
|
485
|
-
/* @__PURE__ */ e("span", { className: "tags-popover__value", children:
|
|
521
|
+
/* @__PURE__ */ e("span", { className: "tags-popover__value", children: v })
|
|
486
522
|
] }, `detailed-products-section-tag-dropdown__${o + 1}`);
|
|
487
|
-
}) }), fe = () => {
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
i,
|
|
493
|
-
c < (l == null ? void 0 : l.length) - 1 ? " · " : ""
|
|
494
|
-
] }));
|
|
495
|
-
}
|
|
496
|
-
return /* @__PURE__ */ t(P, { children: [
|
|
497
|
-
O && /* @__PURE__ */ e(C, { className: "tag", children: O }, "detailed-products-section-tag__condition"),
|
|
498
|
-
S && /* @__PURE__ */ e(C, { className: "tag", children: S }, "detailed-products-section-tag__quantity"),
|
|
499
|
-
z && /* @__PURE__ */ e(C, { className: "tag", children: z }, "detailed-products-section-tag__trade")
|
|
500
|
-
] });
|
|
501
|
-
}, G = u > 0 && N && T !== !0 && E !== !0 && u !== _;
|
|
523
|
+
}) }), fe = () => /* @__PURE__ */ t(P, { children: [
|
|
524
|
+
z && /* @__PURE__ */ e(N, { className: "tag", children: z }, "detailed-products-section-tag__condition"),
|
|
525
|
+
M && /* @__PURE__ */ e(N, { className: "tag", children: M }, "detailed-products-section-tag__quantity"),
|
|
526
|
+
F && /* @__PURE__ */ e(N, { className: "tag", children: F }, "detailed-products-section-tag__trade")
|
|
527
|
+
] }), G = g > 0 && C && T !== !0 && E !== !0 && g !== _;
|
|
502
528
|
return (
|
|
503
529
|
// <LandingPageProductCardSkeleton />
|
|
504
530
|
/* @__PURE__ */ t(
|
|
505
531
|
Q,
|
|
506
532
|
{
|
|
507
|
-
ref:
|
|
533
|
+
ref: i,
|
|
508
534
|
className: "product-card",
|
|
509
|
-
onClick:
|
|
535
|
+
onClick: ne,
|
|
510
536
|
children: [
|
|
511
|
-
/* @__PURE__ */ t(
|
|
512
|
-
/* @__PURE__ */ e(
|
|
513
|
-
K(
|
|
537
|
+
/* @__PURE__ */ t($e, { className: "product-image-wrapper", children: [
|
|
538
|
+
/* @__PURE__ */ e(ce, {}),
|
|
539
|
+
K(B) ? B : /* @__PURE__ */ e(ye, { src: ee })
|
|
514
540
|
] }),
|
|
515
541
|
/* @__PURE__ */ e("div", { className: "wrapper-card-1", children: /* @__PURE__ */ e("div", { className: "card-title", children: y }) }),
|
|
516
542
|
/* @__PURE__ */ t("div", { className: "wrapper-card-3", children: [
|
|
517
|
-
|
|
543
|
+
j && /* @__PURE__ */ e(
|
|
518
544
|
"div",
|
|
519
545
|
{
|
|
520
|
-
...
|
|
521
|
-
onMouseEnter:
|
|
522
|
-
onMouseLeave:
|
|
546
|
+
...V ? {} : {
|
|
547
|
+
onMouseEnter: de,
|
|
548
|
+
onMouseLeave: me
|
|
523
549
|
},
|
|
524
|
-
children: /* @__PURE__ */ t(
|
|
550
|
+
children: /* @__PURE__ */ t(_e, { placement: "bottom", open: le, children: [
|
|
525
551
|
/* @__PURE__ */ e(Ce, { children: ue() }),
|
|
526
|
-
/* @__PURE__ */ e(
|
|
552
|
+
/* @__PURE__ */ e(Ne, { style: { all: "unset" }, children: /* @__PURE__ */ e(Te, { children: he() }) })
|
|
527
553
|
] })
|
|
528
554
|
}
|
|
529
555
|
),
|
|
530
|
-
!
|
|
556
|
+
!j && fe()
|
|
531
557
|
] }),
|
|
532
558
|
/* @__PURE__ */ t("div", { className: "wrapper-card-2", children: [
|
|
533
559
|
/* @__PURE__ */ t("div", { className: `price-text ${G ? "new-price" : ""}`, children: [
|
|
534
|
-
_ > 0 &&
|
|
535
|
-
G && /* @__PURE__ */ e("div", { className: `${_ > 0 ? "full-price" : ""}`, children: `${H(
|
|
536
|
-
T &&
|
|
537
|
-
E &&
|
|
560
|
+
_ > 0 && C && T !== !0 && E !== !0 && /* @__PURE__ */ e("div", { children: `${H(_)} ${Z(C)}` }),
|
|
561
|
+
G && /* @__PURE__ */ e("div", { className: `${_ > 0 ? "full-price" : ""}`, children: `${H(g)} ${Z(C)}` }),
|
|
562
|
+
T && ae,
|
|
563
|
+
E && te
|
|
538
564
|
] }),
|
|
539
|
-
/* @__PURE__ */ e("div", { className: "location-text", children:
|
|
565
|
+
/* @__PURE__ */ e("div", { className: "location-text", children: re })
|
|
540
566
|
] }),
|
|
541
|
-
|
|
567
|
+
oe === !0 && /* @__PURE__ */ e(Se, { sponsoredText: ie })
|
|
542
568
|
]
|
|
543
569
|
}
|
|
544
570
|
)
|
|
545
571
|
);
|
|
546
|
-
}), je =
|
|
572
|
+
}), je = O(({}, c) => /* @__PURE__ */ t(Q, { className: "product-card", children: [
|
|
547
573
|
/* @__PURE__ */ e("img", { className: "skeleton-img" }),
|
|
548
574
|
/* @__PURE__ */ t("div", { className: "wrapper-card-1", children: [
|
|
549
575
|
/* @__PURE__ */ e("div", { className: "skeleton-title" }),
|
|
@@ -553,27 +579,27 @@ const Q = $.div`
|
|
|
553
579
|
/* @__PURE__ */ e("div", { className: "skeleton-price" }),
|
|
554
580
|
/* @__PURE__ */ e("div", { className: "skeleton-sponsored" })
|
|
555
581
|
] })
|
|
556
|
-
] })),
|
|
582
|
+
] })), De = ({ limit: c = 5, isLoading: f = !1, keyPrefix: l }) => /* @__PURE__ */ e(P, { children: Array.from({ length: c }, (y, g) => /* @__PURE__ */ e(
|
|
557
583
|
je,
|
|
558
584
|
{
|
|
559
|
-
isLoading:
|
|
585
|
+
isLoading: f
|
|
560
586
|
},
|
|
561
|
-
`${
|
|
562
|
-
)) }),
|
|
563
|
-
children:
|
|
564
|
-
fallbackComponent:
|
|
565
|
-
isLoading:
|
|
587
|
+
`${l}-skeleton-product-card-${g}`
|
|
588
|
+
)) }), Qe = ({
|
|
589
|
+
children: c,
|
|
590
|
+
fallbackComponent: f = /* @__PURE__ */ e(P, {}),
|
|
591
|
+
isLoading: l = !1,
|
|
566
592
|
limit: y,
|
|
567
|
-
keyPrefix:
|
|
568
|
-
}) => /* @__PURE__ */ e(be, { fallbackComponent:
|
|
569
|
-
|
|
593
|
+
keyPrefix: g
|
|
594
|
+
}) => /* @__PURE__ */ e(be, { fallbackComponent: f, children: l === !0 ? /* @__PURE__ */ e(
|
|
595
|
+
De,
|
|
570
596
|
{
|
|
571
|
-
isLoading:
|
|
597
|
+
isLoading: l,
|
|
572
598
|
limit: y,
|
|
573
|
-
keyPrefix:
|
|
599
|
+
keyPrefix: g
|
|
574
600
|
}
|
|
575
|
-
) :
|
|
601
|
+
) : c });
|
|
576
602
|
export {
|
|
577
|
-
|
|
578
|
-
|
|
603
|
+
Je as D,
|
|
604
|
+
Qe as S
|
|
579
605
|
};
|