@lanaco/lnc-react-ui 4.0.193 → 4.0.195
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/DetailedProductsInfinitiveSection.cjs +13 -4
- package/dist/DetailedProductsInfinitiveSection.js +138 -64
- package/dist/DetailedProductsSection.cjs +2 -2
- package/dist/DetailedProductsSection.js +42 -40
- package/dist/UrgentSaleProductsSection.cjs +2 -2
- package/dist/UrgentSaleProductsSection.js +17 -15
- package/dist/{index-Lmz3An4A.cjs → index-CS4w87SW.cjs} +14 -14
- package/dist/{index-DqBXIFsQ.js → index-Csxc_5p0.js} +214 -211
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e, Fragment as O } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { s as
|
|
2
|
+
import { forwardRef as ce, useState as ne, useRef as ie, useEffect as xe, cloneElement as te, Suspense as je } from "react";
|
|
3
|
+
import { s as S } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as j } from "./consts-BuFChS64.js";
|
|
5
|
-
import { t as
|
|
6
|
-
import { P as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import { a as
|
|
14
|
-
const
|
|
5
|
+
import { t as M, o as Le, a as Te, l as x, p as ae, G as se, k as le } from "./utils-Dc5zIpaz.js";
|
|
6
|
+
import { P as Xe } from "./index-C_NnINik.js";
|
|
7
|
+
import G from "./Badge.js";
|
|
8
|
+
import qe from "./Popover.js";
|
|
9
|
+
import Ae from "./PopoverTrigger.js";
|
|
10
|
+
import Ye from "./PopoverContent.js";
|
|
11
|
+
import { u as He } from "./useDetectMobile-Bkvj0VMa.js";
|
|
12
|
+
import de from "./Icon.js";
|
|
13
|
+
import { a as v, S as u, c as _, b as i } from "./style-CXMUA6cI.js";
|
|
14
|
+
const Ke = S.a`
|
|
15
15
|
display: flex;
|
|
16
16
|
flex-direction: column;
|
|
17
17
|
gap: 0.5rem;
|
|
@@ -28,7 +28,7 @@ const Ae = k.a`
|
|
|
28
28
|
}
|
|
29
29
|
& .seller {
|
|
30
30
|
text-transform: uppercase;
|
|
31
|
-
${
|
|
31
|
+
${M()}
|
|
32
32
|
color: var(--gray-500);
|
|
33
33
|
font-size: 0.625rem;
|
|
34
34
|
font-weight: 400;
|
|
@@ -81,13 +81,13 @@ const Ae = k.a`
|
|
|
81
81
|
& .card-title {
|
|
82
82
|
font-size: 0.875rem;
|
|
83
83
|
font-weight: 600;
|
|
84
|
-
${
|
|
84
|
+
${Le(2)}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
& .price-text {
|
|
88
88
|
font-size: 1rem;
|
|
89
89
|
font-weight: 600;
|
|
90
|
-
${
|
|
90
|
+
${M()}
|
|
91
91
|
display: flex;
|
|
92
92
|
align-items: end;
|
|
93
93
|
gap: 0.5rem;
|
|
@@ -110,7 +110,7 @@ const Ae = k.a`
|
|
|
110
110
|
font-size: 0.75rem;
|
|
111
111
|
font-weight: 400;
|
|
112
112
|
color: var(--gray-600, #676e79);
|
|
113
|
-
${
|
|
113
|
+
${M()}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
& .tags-wrapper {
|
|
@@ -239,7 +239,7 @@ const Ae = k.a`
|
|
|
239
239
|
&:hover .product-image-wrapper img {
|
|
240
240
|
transform: scale(1.1);
|
|
241
241
|
}
|
|
242
|
-
`,
|
|
242
|
+
`, Qe = S.div`
|
|
243
243
|
position: relative;
|
|
244
244
|
overflow: hidden;
|
|
245
245
|
border-radius: 0.75rem;
|
|
@@ -260,7 +260,7 @@ const Ae = k.a`
|
|
|
260
260
|
|
|
261
261
|
width: 2.25rem;
|
|
262
262
|
height: 2.25rem;
|
|
263
|
-
border-radius: ${(a) =>
|
|
263
|
+
border-radius: ${(a) => Te(a.theme, "curved")};
|
|
264
264
|
border: 1px solid var(--gray-95008);
|
|
265
265
|
background-color: white;
|
|
266
266
|
color: var(--gray-950);
|
|
@@ -307,7 +307,7 @@ const Ae = k.a`
|
|
|
307
307
|
top: unset;
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
`,
|
|
310
|
+
`, Ze = S.div`
|
|
311
311
|
background: var(--white, #fff);
|
|
312
312
|
z-index: 1;
|
|
313
313
|
|
|
@@ -357,7 +357,7 @@ const Ae = k.a`
|
|
|
357
357
|
color: var(--gray-950, #14161a);
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
`,
|
|
360
|
+
`, Je = S.div`
|
|
361
361
|
display: flex;
|
|
362
362
|
align-items: center;
|
|
363
363
|
gap: 0.25rem;
|
|
@@ -369,10 +369,10 @@ const Ae = k.a`
|
|
|
369
369
|
font-size: 1rem;
|
|
370
370
|
color: var(--warning-500, #F59E0B);
|
|
371
371
|
}
|
|
372
|
-
`,
|
|
372
|
+
`, er = ce(({ sponsoredText: a = "Sponsored" }, E) => /* @__PURE__ */ n(Je, { ref: E, className: "sponsored-line", children: [
|
|
373
373
|
/* @__PURE__ */ e("i", { className: "mng-lnc-paw2" }),
|
|
374
374
|
/* @__PURE__ */ e("span", { children: a })
|
|
375
|
-
] })),
|
|
375
|
+
] })), rr = "Vehicles_Cars", or = "Vehicles_Motorcycles", nr = "Vehicles_Trucks", ir = "Vehicles_AgriculturalMachines_Tractors", tr = "Vehicles_ConstructionMachines", ar = "Vehicles_Bus", sr = "Vehicles_Campers", lr = "RealEstates_", l = {
|
|
376
376
|
Mileage: {
|
|
377
377
|
icon: "mng-lnc-road",
|
|
378
378
|
measure: "km"
|
|
@@ -473,214 +473,217 @@ const Ae = k.a`
|
|
|
473
473
|
icon: " mng-lnc-clock--filled",
|
|
474
474
|
measure: ""
|
|
475
475
|
}
|
|
476
|
-
},
|
|
476
|
+
}, N = {
|
|
477
477
|
ADDDISCOUNT: " mng-lnc-percentage",
|
|
478
478
|
URGENT: " mng-lnc-flash",
|
|
479
479
|
FREEQUANTITY: " mng-lnc-3d-software",
|
|
480
480
|
INCLUDEGIFTS: " mng-lnc-gift",
|
|
481
481
|
FREESHIPPING: " mng-lnc-delivery--parcel"
|
|
482
|
-
},
|
|
482
|
+
}, kr = ce((a, E) => {
|
|
483
483
|
const {
|
|
484
484
|
uuid: m,
|
|
485
|
-
sellerUuid:
|
|
486
|
-
name:
|
|
485
|
+
sellerUuid: U,
|
|
486
|
+
name: me,
|
|
487
487
|
price: P = 0,
|
|
488
|
-
sellingPrice:
|
|
489
|
-
currency:
|
|
490
|
-
isNegotiable:
|
|
491
|
-
isFree:
|
|
492
|
-
imageUrl:
|
|
493
|
-
location:
|
|
494
|
-
sponsored:
|
|
488
|
+
sellingPrice: R,
|
|
489
|
+
currency: k,
|
|
490
|
+
isNegotiable: F,
|
|
491
|
+
isFree: z,
|
|
492
|
+
imageUrl: he,
|
|
493
|
+
location: ge,
|
|
494
|
+
sponsored: pe,
|
|
495
495
|
imageComponent: L,
|
|
496
|
-
freeText:
|
|
497
|
-
negotiableText:
|
|
498
|
-
tags:
|
|
499
|
-
categoryCode:
|
|
500
|
-
categoryName:
|
|
496
|
+
freeText: ue = "Free",
|
|
497
|
+
negotiableText: fe = "Negotiable",
|
|
498
|
+
tags: t = [],
|
|
499
|
+
categoryCode: I,
|
|
500
|
+
categoryName: be,
|
|
501
501
|
condition: T,
|
|
502
502
|
quantity: B,
|
|
503
503
|
trade: X,
|
|
504
|
-
sponsoredText:
|
|
505
|
-
forCart:
|
|
506
|
-
forOrder:
|
|
507
|
-
contactSeller:
|
|
508
|
-
hasVariants:
|
|
509
|
-
hasQuantities:
|
|
510
|
-
status:
|
|
511
|
-
onBookmark:
|
|
504
|
+
sponsoredText: ve,
|
|
505
|
+
forCart: we,
|
|
506
|
+
forOrder: Ce,
|
|
507
|
+
contactSeller: ye,
|
|
508
|
+
hasVariants: _e,
|
|
509
|
+
hasQuantities: Ne,
|
|
510
|
+
status: Re,
|
|
511
|
+
onBookmark: W = () => {
|
|
512
512
|
},
|
|
513
|
-
actionComponent:
|
|
513
|
+
actionComponent: w,
|
|
514
514
|
bookmarked: q,
|
|
515
|
-
bookmarkLists:
|
|
516
|
-
metadata:
|
|
515
|
+
bookmarkLists: ke,
|
|
516
|
+
metadata: C,
|
|
517
517
|
sellerName: A,
|
|
518
|
-
nameSlug:
|
|
519
|
-
onSelectCard:
|
|
518
|
+
nameSlug: V,
|
|
519
|
+
onSelectCard: $e = () => {
|
|
520
520
|
},
|
|
521
|
-
activeSalesPackages:
|
|
522
|
-
urgentText:
|
|
523
|
-
LinkComponent: Y
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
521
|
+
activeSalesPackages: h,
|
|
522
|
+
urgentText: Se = "Urgent",
|
|
523
|
+
LinkComponent: Y,
|
|
524
|
+
hasFreeShipping: Ee
|
|
525
|
+
} = a, Pe = Y || "a", D = He(), Fe = () => {
|
|
526
|
+
var c;
|
|
527
|
+
if (!x(w)) return /* @__PURE__ */ e(O, {});
|
|
528
|
+
const r = w, o = (c = w == null ? void 0 : w.props) == null ? void 0 : c.children, s = te(o, {
|
|
528
529
|
key: `bookmark_pr__${q}`,
|
|
529
530
|
bookmarked: q,
|
|
530
531
|
productUuid: m,
|
|
531
|
-
onAddToBookmark: () =>
|
|
532
|
-
onRemoveFromBookmark: () =>
|
|
533
|
-
bookmarkedUuidList:
|
|
534
|
-
sellerUuid:
|
|
535
|
-
handleBookmarking:
|
|
536
|
-
forCart:
|
|
537
|
-
forOrder:
|
|
538
|
-
contactSeller:
|
|
539
|
-
hasVariants:
|
|
540
|
-
status:
|
|
532
|
+
onAddToBookmark: () => W(!0, m),
|
|
533
|
+
onRemoveFromBookmark: () => W(!1, m),
|
|
534
|
+
bookmarkedUuidList: ke,
|
|
535
|
+
sellerUuid: U,
|
|
536
|
+
handleBookmarking: W,
|
|
537
|
+
forCart: we,
|
|
538
|
+
forOrder: Ce,
|
|
539
|
+
contactSeller: ye,
|
|
540
|
+
hasVariants: _e,
|
|
541
|
+
status: Re,
|
|
541
542
|
quantity: B,
|
|
542
|
-
hasQuantities:
|
|
543
|
+
hasQuantities: Ne,
|
|
543
544
|
productBasicInfo: {
|
|
544
545
|
uuid: m,
|
|
545
546
|
price: P,
|
|
546
|
-
sellingPrice:
|
|
547
|
-
categoryCode:
|
|
548
|
-
categoryName:
|
|
549
|
-
currency:
|
|
550
|
-
isNegotiable:
|
|
551
|
-
isFree:
|
|
547
|
+
sellingPrice: R,
|
|
548
|
+
categoryCode: I,
|
|
549
|
+
categoryName: be,
|
|
550
|
+
currency: k,
|
|
551
|
+
isNegotiable: F,
|
|
552
|
+
isFree: z
|
|
552
553
|
}
|
|
553
554
|
});
|
|
554
555
|
return te(r, void 0, s);
|
|
555
556
|
}, H = [
|
|
556
|
-
Ze,
|
|
557
|
-
Je,
|
|
558
|
-
er,
|
|
559
557
|
rr,
|
|
560
558
|
or,
|
|
561
559
|
nr,
|
|
560
|
+
ir,
|
|
562
561
|
tr,
|
|
563
|
-
|
|
562
|
+
ar,
|
|
563
|
+
sr,
|
|
564
|
+
lr
|
|
564
565
|
].some(
|
|
565
|
-
(r) =>
|
|
566
|
-
), [
|
|
566
|
+
(r) => I == null ? void 0 : I.includes(r)
|
|
567
|
+
), [ze, K] = ne(!1), Ie = () => {
|
|
567
568
|
K(!0);
|
|
568
569
|
}, Ve = () => {
|
|
569
570
|
K(!1);
|
|
570
|
-
},
|
|
571
|
-
var
|
|
572
|
-
if (!(
|
|
573
|
-
if (
|
|
574
|
-
Q(
|
|
571
|
+
}, d = ie(null), f = ie([]), [Ge, Q] = ne(t == null ? void 0 : t.length), Oe = () => {
|
|
572
|
+
var c, y, $;
|
|
573
|
+
if (!(d != null && d.current) || ((c = f == null ? void 0 : f.current) == null ? void 0 : c.length) === 0) return;
|
|
574
|
+
if (D) {
|
|
575
|
+
Q(t == null ? void 0 : t.length);
|
|
575
576
|
return;
|
|
576
577
|
}
|
|
577
|
-
const r = (
|
|
578
|
+
const r = (y = d == null ? void 0 : d.current) == null ? void 0 : y.offsetWidth;
|
|
578
579
|
let o = 0, s = 0;
|
|
579
|
-
for (let
|
|
580
|
-
const
|
|
581
|
-
if (
|
|
582
|
-
o +=
|
|
580
|
+
for (let g = 0; g < (t == null ? void 0 : t.length); g++) {
|
|
581
|
+
const b = (($ = f == null ? void 0 : f.current[g]) == null ? void 0 : $.offsetWidth) || 0, p = o + b + 4;
|
|
582
|
+
if (p <= r)
|
|
583
|
+
o += p, s++;
|
|
583
584
|
else
|
|
584
585
|
break;
|
|
585
586
|
}
|
|
586
587
|
Q(s);
|
|
587
588
|
};
|
|
588
|
-
|
|
589
|
-
const r =
|
|
589
|
+
xe(() => {
|
|
590
|
+
const r = d == null ? void 0 : d.current;
|
|
590
591
|
if (!r) return;
|
|
591
592
|
const o = new ResizeObserver(() => {
|
|
592
|
-
|
|
593
|
+
Oe();
|
|
593
594
|
});
|
|
594
595
|
return o.observe(r), () => {
|
|
595
596
|
o.disconnect();
|
|
596
597
|
};
|
|
597
|
-
}, [
|
|
598
|
-
const
|
|
598
|
+
}, [t, D]);
|
|
599
|
+
const Ue = () => {
|
|
599
600
|
var r;
|
|
600
|
-
return /* @__PURE__ */ e("div", { className: "tags-popover__trigger", children: (r =
|
|
601
|
-
var
|
|
602
|
-
const
|
|
601
|
+
return /* @__PURE__ */ e("div", { className: "tags-popover__trigger", children: (r = t == null ? void 0 : t.slice(0, Ge)) == null ? void 0 : r.map((o, s) => {
|
|
602
|
+
var b, p, ee, re, oe;
|
|
603
|
+
const c = ((b = l == null ? void 0 : l[o == null ? void 0 : o.code]) == null ? void 0 : b.icon) ?? ((p = l == null ? void 0 : l.default) == null ? void 0 : p.icon) ?? "", y = ((ee = o == null ? void 0 : o.measurementUnit) == null ? void 0 : ee.symbol) ?? ((re = l == null ? void 0 : l[o == null ? void 0 : o.code]) == null ? void 0 : re.measure) ?? "", g = [(o == null ? void 0 : o.value) ?? ((oe = o == null ? void 0 : o.multiOptions) == null ? void 0 : oe[0]) ?? "", y].filter(Boolean).join(" ");
|
|
603
604
|
return /* @__PURE__ */ n(
|
|
604
|
-
|
|
605
|
+
G,
|
|
605
606
|
{
|
|
606
|
-
ref: (
|
|
607
|
+
ref: (Me) => f.current[s] = Me,
|
|
607
608
|
className: "tag",
|
|
608
609
|
children: [
|
|
609
|
-
/* @__PURE__ */ e("i", { className:
|
|
610
|
-
|
|
610
|
+
/* @__PURE__ */ e("i", { className: c }),
|
|
611
|
+
g
|
|
611
612
|
]
|
|
612
613
|
},
|
|
613
614
|
`detailed-products-section-tag__${s + 1}`
|
|
614
615
|
);
|
|
615
616
|
}) });
|
|
616
|
-
},
|
|
617
|
-
var
|
|
618
|
-
const s = ((
|
|
617
|
+
}, Be = () => /* @__PURE__ */ e("div", { className: "tags-popover__content", children: t == null ? void 0 : t.map((r, o) => {
|
|
618
|
+
var g, b, p;
|
|
619
|
+
const s = ((g = r == null ? void 0 : r.measurementUnit) == null ? void 0 : g.symbol) ?? ((b = l == null ? void 0 : l[r == null ? void 0 : r.code]) == null ? void 0 : b.measure) ?? "", y = [(r == null ? void 0 : r.value) ?? ((p = r == null ? void 0 : r.multiOptions) == null ? void 0 : p[0]) ?? "", s].filter(Boolean).join(" "), $ = r == null ? void 0 : r.name;
|
|
619
620
|
return /* @__PURE__ */ n("div", { children: [
|
|
620
|
-
/* @__PURE__ */ e("span", { className: "tags-popover__name", children: `${
|
|
621
|
-
/* @__PURE__ */ e("span", { className: "tags-popover__value", children:
|
|
621
|
+
/* @__PURE__ */ e("span", { className: "tags-popover__name", children: `${$}: ` }),
|
|
622
|
+
/* @__PURE__ */ e("span", { className: "tags-popover__value", children: y })
|
|
622
623
|
] }, `detailed-products-section-tag-dropdown__${o + 1}`);
|
|
623
|
-
}) }),
|
|
624
|
-
T && /* @__PURE__ */ e(
|
|
625
|
-
B && /* @__PURE__ */ e(
|
|
626
|
-
X && /* @__PURE__ */ e(
|
|
627
|
-
] }), Z = P > 0 &&
|
|
624
|
+
}) }), We = () => /* @__PURE__ */ n(O, { children: [
|
|
625
|
+
T && /* @__PURE__ */ e(G, { className: "tag", children: T }, "detailed-products-section-tag__condition"),
|
|
626
|
+
B && /* @__PURE__ */ e(G, { className: "tag", children: B }, "detailed-products-section-tag__quantity"),
|
|
627
|
+
X && /* @__PURE__ */ e(G, { className: "tag", children: X }, "detailed-products-section-tag__trade")
|
|
628
|
+
] }), Z = P > 0 && k && F !== !0 && z !== !0 && P !== R, De = h == null ? void 0 : h.some(
|
|
629
|
+
(r) => (r == null ? void 0 : r.salesPackageCode) === "FreeShipping"
|
|
630
|
+
), J = Ee === !0 && !De;
|
|
628
631
|
return (
|
|
629
632
|
// <LandingPageProductCardSkeleton />
|
|
630
633
|
/* @__PURE__ */ n(
|
|
631
|
-
|
|
634
|
+
Ke,
|
|
632
635
|
{
|
|
633
|
-
ref:
|
|
636
|
+
ref: d,
|
|
634
637
|
className: "product-card",
|
|
635
|
-
"data-accessor":
|
|
636
|
-
name:
|
|
637
|
-
onClick: (r) =>
|
|
638
|
-
as:
|
|
638
|
+
"data-accessor": C == null ? void 0 : C.accessor,
|
|
639
|
+
name: C == null ? void 0 : C.name,
|
|
640
|
+
onClick: (r) => $e(r, d),
|
|
641
|
+
as: Pe,
|
|
639
642
|
...Y ? {
|
|
640
|
-
to: `/product/${
|
|
643
|
+
to: `/product/${le(V) ? `${V}-` : ""}${m}`
|
|
641
644
|
} : {
|
|
642
|
-
href: `/product/${
|
|
645
|
+
href: `/product/${le(V) ? `${V}-` : ""}${m}`
|
|
643
646
|
},
|
|
644
647
|
children: [
|
|
645
|
-
/* @__PURE__ */ n(
|
|
646
|
-
|
|
648
|
+
/* @__PURE__ */ n(Qe, { className: "product-image-wrapper", children: [
|
|
649
|
+
x(w) && /* @__PURE__ */ e(
|
|
647
650
|
"div",
|
|
648
651
|
{
|
|
649
652
|
className: "prevent-el",
|
|
650
653
|
onClick: (r) => {
|
|
651
654
|
r == null || r.preventDefault(), r == null || r.stopPropagation();
|
|
652
655
|
},
|
|
653
|
-
children: /* @__PURE__ */ e(
|
|
656
|
+
children: /* @__PURE__ */ e(Fe, {})
|
|
654
657
|
}
|
|
655
658
|
),
|
|
656
|
-
|
|
659
|
+
x(L) ? L : /* @__PURE__ */ e(Xe, { src: he })
|
|
660
|
+
] }),
|
|
661
|
+
(J || h && h.length > 0) && /* @__PURE__ */ n("div", { className: "campaign-badges", children: [
|
|
662
|
+
J && /* @__PURE__ */ e("div", { className: "campaign-badge campaign-badge-freeshipping", children: /* @__PURE__ */ e(de, { icon: N == null ? void 0 : N.FREESHIPPING, sizeInUnits: "1rem" }) }),
|
|
663
|
+
h == null ? void 0 : h.map((r, o) => {
|
|
664
|
+
var s, c;
|
|
665
|
+
return /* @__PURE__ */ n(
|
|
666
|
+
"div",
|
|
667
|
+
{
|
|
668
|
+
className: `campaign-badge campaign-badge-${(s = r == null ? void 0 : r.salesPackageCode) == null ? void 0 : s.toLowerCase()}`,
|
|
669
|
+
children: [
|
|
670
|
+
(r == null ? void 0 : r.salesPackageCode) !== "Urgent" && /* @__PURE__ */ e(
|
|
671
|
+
de,
|
|
672
|
+
{
|
|
673
|
+
icon: N == null ? void 0 : N[(c = r == null ? void 0 : r.salesPackageCode) == null ? void 0 : c.toUpperCase()],
|
|
674
|
+
sizeInUnits: "1rem"
|
|
675
|
+
}
|
|
676
|
+
),
|
|
677
|
+
(r == null ? void 0 : r.salesPackageCode) === "Urgent" && /* @__PURE__ */ e(O, { children: Se })
|
|
678
|
+
]
|
|
679
|
+
},
|
|
680
|
+
o
|
|
681
|
+
);
|
|
682
|
+
})
|
|
657
683
|
] }),
|
|
658
|
-
F && F.length > 0 && /* @__PURE__ */ e("div", { className: "campaign-badges", children: F.map((r, o) => {
|
|
659
|
-
var s, d;
|
|
660
|
-
return /* @__PURE__ */ n(
|
|
661
|
-
"div",
|
|
662
|
-
{
|
|
663
|
-
className: `campaign-badge campaign-badge-${(s = r == null ? void 0 : r.salesPackageCode) == null ? void 0 : s.toLowerCase()}`,
|
|
664
|
-
children: [
|
|
665
|
-
(r == null ? void 0 : r.salesPackageCode) !== "Urgent" && /* @__PURE__ */ e(
|
|
666
|
-
qe,
|
|
667
|
-
{
|
|
668
|
-
icon: x == null ? void 0 : x[(d = r == null ? void 0 : r.salesPackageCode) == null ? void 0 : d.toUpperCase()],
|
|
669
|
-
sizeInUnits: "1rem"
|
|
670
|
-
}
|
|
671
|
-
),
|
|
672
|
-
(r == null ? void 0 : r.salesPackageCode) === "Urgent" && /* @__PURE__ */ n(O, { children: [
|
|
673
|
-
" ",
|
|
674
|
-
ke
|
|
675
|
-
] })
|
|
676
|
-
]
|
|
677
|
-
},
|
|
678
|
-
o
|
|
679
|
-
);
|
|
680
|
-
}) }),
|
|
681
684
|
/* @__PURE__ */ n("div", { className: "wrapper-card-1", children: [
|
|
682
685
|
/* @__PURE__ */ e("div", { className: "seller", title: A, children: A }),
|
|
683
|
-
/* @__PURE__ */ e("div", { className: "card-title", children:
|
|
686
|
+
/* @__PURE__ */ e("div", { className: "card-title", children: me })
|
|
684
687
|
] }),
|
|
685
688
|
/* @__PURE__ */ n(
|
|
686
689
|
"div",
|
|
@@ -693,35 +696,35 @@ const Ae = k.a`
|
|
|
693
696
|
H && /* @__PURE__ */ e(
|
|
694
697
|
"div",
|
|
695
698
|
{
|
|
696
|
-
...
|
|
697
|
-
onMouseEnter:
|
|
699
|
+
...D ? {} : {
|
|
700
|
+
onMouseEnter: Ie,
|
|
698
701
|
onMouseLeave: Ve
|
|
699
702
|
},
|
|
700
|
-
children: /* @__PURE__ */ n(
|
|
701
|
-
/* @__PURE__ */ e(
|
|
702
|
-
/* @__PURE__ */ e(
|
|
703
|
+
children: /* @__PURE__ */ n(qe, { placement: "bottom", open: ze, children: [
|
|
704
|
+
/* @__PURE__ */ e(Ae, { children: Ue() }),
|
|
705
|
+
/* @__PURE__ */ e(Ye, { style: { all: "unset" }, children: /* @__PURE__ */ e(Ze, { children: Be() }) })
|
|
703
706
|
] })
|
|
704
707
|
}
|
|
705
708
|
),
|
|
706
|
-
!H &&
|
|
709
|
+
!H && We()
|
|
707
710
|
]
|
|
708
711
|
}
|
|
709
712
|
),
|
|
710
713
|
/* @__PURE__ */ n("div", { className: "wrapper-card-2", children: [
|
|
711
714
|
/* @__PURE__ */ n("div", { className: `price-text ${Z ? "new-price" : ""}`, children: [
|
|
712
|
-
|
|
713
|
-
Z && /* @__PURE__ */ e("div", { className: `${
|
|
714
|
-
|
|
715
|
-
|
|
715
|
+
R > 0 && k && F !== !0 && z !== !0 && /* @__PURE__ */ e("div", { children: `${ae(R)} ${se(k)}` }),
|
|
716
|
+
Z && /* @__PURE__ */ e("div", { className: `${R > 0 ? "full-price" : ""}`, children: `${ae(P)} ${se(k)}` }),
|
|
717
|
+
F && fe,
|
|
718
|
+
z && ue
|
|
716
719
|
] }),
|
|
717
|
-
/* @__PURE__ */ e("div", { className: "location-text", children:
|
|
720
|
+
/* @__PURE__ */ e("div", { className: "location-text", children: ge })
|
|
718
721
|
] }),
|
|
719
|
-
|
|
722
|
+
pe === !0 && /* @__PURE__ */ e(er, { sponsoredText: ve })
|
|
720
723
|
]
|
|
721
724
|
}
|
|
722
725
|
)
|
|
723
726
|
);
|
|
724
|
-
}),
|
|
727
|
+
}), dr = S(v)`
|
|
725
728
|
@media (max-width: ${j + "px"}) {
|
|
726
729
|
& > div {
|
|
727
730
|
&:nth-of-type(even) {
|
|
@@ -729,150 +732,150 @@ const Ae = k.a`
|
|
|
729
732
|
}
|
|
730
733
|
}
|
|
731
734
|
}
|
|
732
|
-
`,
|
|
733
|
-
/* @__PURE__ */ n(
|
|
735
|
+
`, cr = ({ keyPrefix: a }) => /* @__PURE__ */ n(dr, { children: [
|
|
736
|
+
/* @__PURE__ */ n(u, { gap: "0.5rem", children: [
|
|
734
737
|
/* @__PURE__ */ e(
|
|
735
|
-
|
|
738
|
+
_,
|
|
736
739
|
{
|
|
737
740
|
height: "100%",
|
|
738
741
|
width: "100%",
|
|
739
742
|
borderRadius: "0.75rem"
|
|
740
743
|
}
|
|
741
744
|
),
|
|
742
|
-
/* @__PURE__ */ e(
|
|
743
|
-
/* @__PURE__ */ n(
|
|
744
|
-
/* @__PURE__ */ e(
|
|
745
|
-
/* @__PURE__ */ e(
|
|
745
|
+
/* @__PURE__ */ e(u, { height: "1rem", children: /* @__PURE__ */ e(i, { height: "1rem", borderRadius: "0.75rem" }) }),
|
|
746
|
+
/* @__PURE__ */ n(v, { gap: "0.5rem", children: [
|
|
747
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
748
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
746
749
|
] }),
|
|
747
|
-
/* @__PURE__ */ e(
|
|
750
|
+
/* @__PURE__ */ e(u, { height: "2rem", children: /* @__PURE__ */ e(i, { height: "2rem", borderRadius: "0.75rem" }) })
|
|
748
751
|
] }, `${a}-1`),
|
|
749
752
|
/* @__PURE__ */ n(
|
|
750
|
-
|
|
753
|
+
u,
|
|
751
754
|
{
|
|
752
755
|
gap: "0.5rem",
|
|
753
756
|
noGradient: !0,
|
|
754
757
|
children: [
|
|
755
758
|
/* @__PURE__ */ e(
|
|
756
|
-
|
|
759
|
+
_,
|
|
757
760
|
{
|
|
758
761
|
height: "100%",
|
|
759
762
|
width: "100%",
|
|
760
763
|
borderRadius: "0.75rem"
|
|
761
764
|
}
|
|
762
765
|
),
|
|
763
|
-
/* @__PURE__ */ e(
|
|
764
|
-
/* @__PURE__ */ n(
|
|
765
|
-
/* @__PURE__ */ e(
|
|
766
|
-
/* @__PURE__ */ e(
|
|
766
|
+
/* @__PURE__ */ e(i, { height: "1rem", borderRadius: "0.75rem" }),
|
|
767
|
+
/* @__PURE__ */ n(v, { gap: "0.5rem", noGradient: !0, children: [
|
|
768
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
769
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
767
770
|
] }),
|
|
768
|
-
/* @__PURE__ */ e(
|
|
771
|
+
/* @__PURE__ */ e(i, { height: "2rem", borderRadius: "0.75rem" })
|
|
769
772
|
]
|
|
770
773
|
},
|
|
771
774
|
`${a}-2`
|
|
772
775
|
),
|
|
773
776
|
/* @__PURE__ */ n(
|
|
774
|
-
|
|
777
|
+
u,
|
|
775
778
|
{
|
|
776
779
|
gap: "0.5rem",
|
|
777
780
|
noGradient: !0,
|
|
778
781
|
children: [
|
|
779
782
|
/* @__PURE__ */ e(
|
|
780
|
-
|
|
783
|
+
_,
|
|
781
784
|
{
|
|
782
785
|
height: "100%",
|
|
783
786
|
width: "100%",
|
|
784
787
|
borderRadius: "0.75rem"
|
|
785
788
|
}
|
|
786
789
|
),
|
|
787
|
-
/* @__PURE__ */ e(
|
|
788
|
-
/* @__PURE__ */ n(
|
|
789
|
-
/* @__PURE__ */ e(
|
|
790
|
-
/* @__PURE__ */ e(
|
|
790
|
+
/* @__PURE__ */ e(i, { height: "1rem", borderRadius: "0.75rem" }),
|
|
791
|
+
/* @__PURE__ */ n(v, { gap: "0.5rem", noGradient: !0, children: [
|
|
792
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
793
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
791
794
|
] }),
|
|
792
|
-
/* @__PURE__ */ e(
|
|
795
|
+
/* @__PURE__ */ e(i, { height: "2rem", borderRadius: "0.75rem" })
|
|
793
796
|
]
|
|
794
797
|
},
|
|
795
798
|
`${a}-3`
|
|
796
799
|
),
|
|
797
800
|
/* @__PURE__ */ n(
|
|
798
|
-
|
|
801
|
+
u,
|
|
799
802
|
{
|
|
800
803
|
gap: "0.5rem",
|
|
801
804
|
noGradient: !0,
|
|
802
805
|
children: [
|
|
803
806
|
/* @__PURE__ */ e(
|
|
804
|
-
|
|
807
|
+
_,
|
|
805
808
|
{
|
|
806
809
|
height: "100%",
|
|
807
810
|
width: "100%",
|
|
808
811
|
borderRadius: "0.75rem"
|
|
809
812
|
}
|
|
810
813
|
),
|
|
811
|
-
/* @__PURE__ */ e(
|
|
812
|
-
/* @__PURE__ */ n(
|
|
813
|
-
/* @__PURE__ */ e(
|
|
814
|
-
/* @__PURE__ */ e(
|
|
814
|
+
/* @__PURE__ */ e(i, { height: "1rem", borderRadius: "0.75rem" }),
|
|
815
|
+
/* @__PURE__ */ n(v, { gap: "0.5rem", noGradient: !0, children: [
|
|
816
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
817
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
815
818
|
] }),
|
|
816
|
-
/* @__PURE__ */ e(
|
|
819
|
+
/* @__PURE__ */ e(i, { height: "2rem", borderRadius: "0.75rem" })
|
|
817
820
|
]
|
|
818
821
|
},
|
|
819
822
|
`${a}-4`
|
|
820
823
|
),
|
|
821
824
|
/* @__PURE__ */ n(
|
|
822
|
-
|
|
825
|
+
u,
|
|
823
826
|
{
|
|
824
827
|
gap: "0.5rem",
|
|
825
828
|
noGradient: !0,
|
|
826
829
|
children: [
|
|
827
830
|
/* @__PURE__ */ e(
|
|
828
|
-
|
|
831
|
+
_,
|
|
829
832
|
{
|
|
830
833
|
height: "100%",
|
|
831
834
|
width: "100%",
|
|
832
835
|
borderRadius: "0.75rem"
|
|
833
836
|
}
|
|
834
837
|
),
|
|
835
|
-
/* @__PURE__ */ e(
|
|
836
|
-
/* @__PURE__ */ n(
|
|
837
|
-
/* @__PURE__ */ e(
|
|
838
|
-
/* @__PURE__ */ e(
|
|
838
|
+
/* @__PURE__ */ e(i, { height: "1rem", borderRadius: "0.75rem" }),
|
|
839
|
+
/* @__PURE__ */ n(v, { gap: "0.5rem", noGradient: !0, children: [
|
|
840
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
841
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
839
842
|
] }),
|
|
840
|
-
/* @__PURE__ */ e(
|
|
843
|
+
/* @__PURE__ */ e(i, { height: "2rem", borderRadius: "0.75rem" })
|
|
841
844
|
]
|
|
842
845
|
},
|
|
843
846
|
`${a}-5`
|
|
844
847
|
),
|
|
845
848
|
/* @__PURE__ */ n(
|
|
846
|
-
|
|
849
|
+
u,
|
|
847
850
|
{
|
|
848
851
|
gap: "0.5rem",
|
|
849
852
|
noGradient: !0,
|
|
850
853
|
children: [
|
|
851
854
|
/* @__PURE__ */ e(
|
|
852
|
-
|
|
855
|
+
_,
|
|
853
856
|
{
|
|
854
857
|
height: "100%",
|
|
855
858
|
width: "100%",
|
|
856
859
|
borderRadius: "0.75rem"
|
|
857
860
|
}
|
|
858
861
|
),
|
|
859
|
-
/* @__PURE__ */ e(
|
|
860
|
-
/* @__PURE__ */ n(
|
|
861
|
-
/* @__PURE__ */ e(
|
|
862
|
-
/* @__PURE__ */ e(
|
|
862
|
+
/* @__PURE__ */ e(i, { height: "1rem", borderRadius: "0.75rem" }),
|
|
863
|
+
/* @__PURE__ */ n(v, { gap: "0.5rem", noGradient: !0, children: [
|
|
864
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
865
|
+
/* @__PURE__ */ e(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
863
866
|
] }),
|
|
864
|
-
/* @__PURE__ */ e(
|
|
867
|
+
/* @__PURE__ */ e(i, { height: "2rem", borderRadius: "0.75rem" })
|
|
865
868
|
]
|
|
866
869
|
},
|
|
867
870
|
`${a}-6`
|
|
868
871
|
)
|
|
869
|
-
] }),
|
|
872
|
+
] }), $r = ({
|
|
870
873
|
keyPrefix: a,
|
|
871
|
-
isLoading:
|
|
874
|
+
isLoading: E = !1,
|
|
872
875
|
fallbackComponent: m = /* @__PURE__ */ e(O, {}),
|
|
873
|
-
children:
|
|
874
|
-
}) => /* @__PURE__ */ e(
|
|
876
|
+
children: U
|
|
877
|
+
}) => /* @__PURE__ */ e(je, { fallbackComponent: m, children: E === !0 ? /* @__PURE__ */ e(cr, { keyPrefix: a }) : U });
|
|
875
878
|
export {
|
|
876
|
-
|
|
877
|
-
|
|
879
|
+
kr as D,
|
|
880
|
+
$r as S
|
|
878
881
|
};
|