@lanaco/lnc-react-ui 4.0.147 → 4.0.149

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.
@@ -1,14 +1,14 @@
1
- import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import { forwardRef as h, memo as v, useMemo as k } from "react";
3
- import u from "./Icon.js";
4
- import c from "./IconButton.js";
5
- import { p as N, s as I, v as R, w as b } from "./utils-BdsZgOUE.js";
6
- import { P as j } from "./index-CF3HhgvN.js";
7
- import { B as P } from "./style-DFPWLJBr.js";
8
- import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
9
- import { M as T } from "./consts-BuFChS64.js";
10
- import { S as $ } from "./suspense-large-DPZHjpEr.js";
11
- const z = w.div`
1
+ import { jsxs as i, jsx as r, Fragment as w } from "react/jsx-runtime";
2
+ import { forwardRef as N, cloneElement as j, memo as C, useMemo as R } from "react";
3
+ import y from "./Icon.js";
4
+ import v from "./IconButton.js";
5
+ import { p as z, s as L, v as P, w as k, l as T } from "./utils-BdsZgOUE.js";
6
+ import { P as O } from "./index-CF3HhgvN.js";
7
+ import { B as S } from "./style-DFPWLJBr.js";
8
+ import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
9
+ import { M as E } from "./consts-BuFChS64.js";
10
+ import { S as M } from "./suspense-large-DPZHjpEr.js";
11
+ const U = B.div`
12
12
  display: flex;
13
13
  padding: 1rem;
14
14
  align-items: center;
@@ -60,7 +60,7 @@ const z = w.div`
60
60
  font-weight: 600;
61
61
  line-height: 1.5rem;
62
62
  letter-spacing: 0.1px;
63
- ${N(3)}
63
+ ${z(3)}
64
64
  }
65
65
 
66
66
  & .wrapper__tags {
@@ -103,7 +103,7 @@ const z = w.div`
103
103
  }
104
104
  }
105
105
 
106
- @media (max-width: ${T + "px"}) {
106
+ @media (max-width: ${E + "px"}) {
107
107
  flex-direction: column;
108
108
  padding: 0;
109
109
  background: transparent;
@@ -154,111 +154,101 @@ const z = w.div`
154
154
  }
155
155
  }
156
156
  }
157
- `, B = h(
157
+ `, W = N(
158
158
  ({
159
- title: d,
160
- imageUrl: n,
159
+ blogUuid: s,
160
+ title: n,
161
+ imageUrl: o,
161
162
  options: a,
162
- publishedAt: o,
163
- timeToReadText: l = "{0} min read",
164
- timeToRead: m = 0,
165
- numberOfLikes: p = 0,
166
- numberOfComments: f = 0,
167
- isBookmarked: g = !1,
168
- onSelectCard: _ = () => {
163
+ publishedAt: d,
164
+ timeToReadText: c = "{0} min read",
165
+ timeToRead: p = 0,
166
+ numberOfLikes: f = 0,
167
+ numberOfComments: g = 0,
168
+ isBookmarked: _ = !1,
169
+ onSelectCard: u = () => {
169
170
  },
170
171
  onBookmark: e = () => {
171
172
  },
172
- onShare: s = () => {
173
- }
174
- }, O) => /* @__PURE__ */ i(z, { onClick: _, className: "blog-card-item", children: [
175
- /* @__PURE__ */ t(j, { src: n, className: "wrapper__image" }),
176
- /* @__PURE__ */ i("div", { className: "wrapper__content", children: [
177
- /* @__PURE__ */ i("div", { className: "wrapper__subcontent", children: [
178
- /* @__PURE__ */ t("div", { className: "wrapper__title", children: d }),
179
- /* @__PURE__ */ i("div", { className: "wrapper__tags-action", children: [
180
- /* @__PURE__ */ t("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((r, y) => /* @__PURE__ */ t(
181
- P,
182
- {
183
- color: r == null ? void 0 : r.color,
184
- children: r == null ? void 0 : r.name
185
- },
186
- `blog-card-sponsored-option__${y + 1}`
187
- ))) }),
188
- /* @__PURE__ */ i("div", { className: "info__content mobile-only", children: [
189
- /* @__PURE__ */ t(
190
- c,
173
+ onShare: m = () => {
174
+ },
175
+ bookmarkComponent: l = /* @__PURE__ */ r(w, {})
176
+ }, $) => {
177
+ const b = () => T(l) ? j(l, {
178
+ key: `bookmark_blog__${s}__${_}`,
179
+ isBookmarked: _,
180
+ blogUuid: s,
181
+ onBookmark: (h, I) => e(h, I),
182
+ ref: $,
183
+ componentName: "ExploreBlogSectionCard"
184
+ }) : /* @__PURE__ */ r(w, {});
185
+ return /* @__PURE__ */ i(U, { onClick: u, className: "blog-card-item", children: [
186
+ /* @__PURE__ */ r(O, { src: o, className: "wrapper__image" }),
187
+ /* @__PURE__ */ i("div", { className: "wrapper__content", children: [
188
+ /* @__PURE__ */ i("div", { className: "wrapper__subcontent", children: [
189
+ /* @__PURE__ */ r("div", { className: "wrapper__title", children: n }),
190
+ /* @__PURE__ */ i("div", { className: "wrapper__tags-action", children: [
191
+ /* @__PURE__ */ r("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((t, h) => /* @__PURE__ */ r(
192
+ S,
191
193
  {
192
- icon: g ? " mng-lnc-bookmark--filled" : " mng-lnc-bookmark",
193
- borderRadius: "curved",
194
- btnType: "basic",
195
- color: "neutral",
196
- onClick: (r) => {
197
- r == null || r.stopPropagation(), e();
194
+ color: t == null ? void 0 : t.color,
195
+ children: t == null ? void 0 : t.name
196
+ },
197
+ `blog-card-sponsored-option__${h + 1}`
198
+ ))) }),
199
+ /* @__PURE__ */ i("div", { className: "info__content mobile-only", children: [
200
+ /* @__PURE__ */ r(b, {}),
201
+ /* @__PURE__ */ r(
202
+ v,
203
+ {
204
+ icon: " mng-lnc-share",
205
+ borderRadius: "curved",
206
+ btnType: "basic",
207
+ color: "neutral",
208
+ onClick: (t) => {
209
+ t == null || t.stopPropagation(), m();
210
+ }
198
211
  }
199
- }
200
- ),
201
- /* @__PURE__ */ t(
202
- c,
212
+ )
213
+ ] })
214
+ ] })
215
+ ] }),
216
+ /* @__PURE__ */ i("div", { className: "wrapper__info", children: [
217
+ /* @__PURE__ */ i("div", { className: "info__content", children: [
218
+ /* @__PURE__ */ r("div", { className: "info__text", children: `${L(
219
+ d
220
+ )} • ${P(c, p)}` }),
221
+ /* @__PURE__ */ i("div", { className: "info__text", children: [
222
+ /* @__PURE__ */ i("div", { children: [
223
+ /* @__PURE__ */ r(y, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
224
+ k(f)
225
+ ] }),
226
+ /* @__PURE__ */ i("div", { children: [
227
+ /* @__PURE__ */ r(y, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
228
+ k(g)
229
+ ] })
230
+ ] })
231
+ ] }),
232
+ /* @__PURE__ */ i("div", { className: "info__content desktop-only", children: [
233
+ /* @__PURE__ */ r(b, {}),
234
+ /* @__PURE__ */ r(
235
+ v,
203
236
  {
204
237
  icon: " mng-lnc-share",
205
238
  borderRadius: "curved",
206
239
  btnType: "basic",
207
240
  color: "neutral",
208
- onClick: (r) => {
209
- r == null || r.stopPropagation(), s();
241
+ onClick: (t) => {
242
+ t == null || t.stopPropagation(), m();
210
243
  }
211
244
  }
212
245
  )
213
246
  ] })
214
247
  ] })
215
- ] }),
216
- /* @__PURE__ */ i("div", { className: "wrapper__info", children: [
217
- /* @__PURE__ */ i("div", { className: "info__content", children: [
218
- /* @__PURE__ */ t("div", { className: "info__text", children: `${I(
219
- o
220
- )} • ${R(l, m)}` }),
221
- /* @__PURE__ */ i("div", { className: "info__text", children: [
222
- /* @__PURE__ */ i("div", { children: [
223
- /* @__PURE__ */ t(u, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
224
- b(p)
225
- ] }),
226
- /* @__PURE__ */ i("div", { children: [
227
- /* @__PURE__ */ t(u, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
228
- b(f)
229
- ] })
230
- ] })
231
- ] }),
232
- /* @__PURE__ */ i("div", { className: "info__content desktop-only", children: [
233
- /* @__PURE__ */ t(
234
- c,
235
- {
236
- icon: g ? " mng-lnc-bookmark--filled" : " mng-lnc-bookmark",
237
- borderRadius: "curved",
238
- btnType: "basic",
239
- color: "neutral",
240
- onClick: (r) => {
241
- r == null || r.stopPropagation(), e();
242
- }
243
- }
244
- ),
245
- /* @__PURE__ */ t(
246
- c,
247
- {
248
- icon: " mng-lnc-share",
249
- borderRadius: "curved",
250
- btnType: "basic",
251
- color: "neutral",
252
- onClick: (r) => {
253
- r == null || r.stopPropagation(), s();
254
- }
255
- }
256
- )
257
- ] })
258
248
  ] })
259
- ] })
260
- ] })
261
- ), C = w.div`
249
+ ] });
250
+ }
251
+ ), A = B.div`
262
252
  display: flex;
263
253
  flex-direction: column;
264
254
  align-items: flex-start;
@@ -282,52 +272,58 @@ const z = w.div`
282
272
  bottom: -1.25rem;
283
273
  }
284
274
  }
285
- `, L = v(B), F = h(
275
+ `, D = C(W), Y = N(
286
276
  ({
287
- timeToReadText: d = "{0} min read",
277
+ timeToReadText: s = "{0} min read",
288
278
  items: n,
289
- onSelectCard: a = () => {
279
+ onSelectCard: o = () => {
290
280
  },
291
- onShare: o = () => {
281
+ onShare: a = () => {
292
282
  },
293
- onBookmark: l = () => {
283
+ onBookmark: d = () => {
294
284
  },
295
- isLoading: m = !1,
285
+ isLoading: c = !1,
296
286
  getImage: p = () => {
297
287
  },
298
- isSeparated: f = !0
299
- }, g) => {
300
- const _ = k(() => n == null ? void 0 : n.map((e, s) => /* @__PURE__ */ t(
301
- L,
302
- {
303
- title: e == null ? void 0 : e.title,
304
- titleSlug: e == null ? void 0 : e.titleSlug,
305
- options: e == null ? void 0 : e.options,
306
- publishedAt: e == null ? void 0 : e.publishedAt,
307
- timeToReadText: d,
308
- timeToRead: e == null ? void 0 : e.timeToRead,
309
- numberOfLikes: e == null ? void 0 : e.numberOfLikes,
310
- numberOfComments: e == null ? void 0 : e.numberOfComments,
311
- isSponsored: e == null ? void 0 : e.isSponsored,
312
- isBookmarked: e == null ? void 0 : e.isBookmarked,
313
- onSelectCard: () => a == null ? void 0 : a(e),
314
- onShare: () => o == null ? void 0 : o(e),
315
- onBookmark: () => l == null ? void 0 : l(e),
316
- imageUrl: p(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
317
- },
318
- `blog-card-item__${s + 1}`
319
- )), [n]);
320
- return /* @__PURE__ */ t(C, { className: f ? "separated" : "", children: /* @__PURE__ */ t(
321
- $,
288
+ isSeparated: f = !0,
289
+ bookmarkComponent: g = /* @__PURE__ */ r(w, {})
290
+ }, _) => {
291
+ const u = R(() => n == null ? void 0 : n.map((e, m) => {
292
+ var l;
293
+ return /* @__PURE__ */ r(
294
+ D,
295
+ {
296
+ blogUuid: e == null ? void 0 : e.uuid,
297
+ title: e == null ? void 0 : e.title,
298
+ titleSlug: e == null ? void 0 : e.titleSlug,
299
+ options: e == null ? void 0 : e.options,
300
+ publishedAt: e == null ? void 0 : e.publishedAt,
301
+ timeToReadText: s,
302
+ timeToRead: e == null ? void 0 : e.timeToRead,
303
+ numberOfLikes: e == null ? void 0 : e.numberOfLikes,
304
+ numberOfComments: e == null ? void 0 : e.numberOfComments,
305
+ isSponsored: e == null ? void 0 : e.isSponsored,
306
+ isBookmarked: e == null ? void 0 : e.isBookmarked,
307
+ onSelectCard: () => o == null ? void 0 : o(e),
308
+ onShare: () => a == null ? void 0 : a(e),
309
+ onBookmark: d,
310
+ imageUrl: p(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
311
+ bookmarkComponent: g
312
+ },
313
+ `blog-card-item__${m + 1}__${(l = e == null ? void 0 : e.isBookmarked) == null ? void 0 : l.toString()}`
314
+ );
315
+ }), [n]);
316
+ return /* @__PURE__ */ r(A, { className: f ? "separated" : "", children: /* @__PURE__ */ r(
317
+ M,
322
318
  {
323
- isLoading: m,
319
+ isLoading: c,
324
320
  limit: 5,
325
321
  keyPrefix: "blog-section",
326
- children: _
322
+ children: u
327
323
  }
328
324
  ) });
329
325
  }
330
326
  );
331
327
  export {
332
- F as default
328
+ Y as default
333
329
  };
@@ -1,6 +1,6 @@
1
- "use strict";const t=require("react/jsx-runtime"),a=require("react"),U=require("./emotion-styled.browser.esm-BtEseadx.cjs"),L=require("./consts-goSZX3xP.cjs"),M=require("./Button.cjs"),h=require("./utils-Dl9xPH4c.cjs"),T=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./style-CyHewQxg.cjs"),q=require("./suspense-product-card-detailed-FuxsUusc.cjs"),B=require("./index-D0xXo7W6.cjs"),E=U.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),s=require("react"),U=require("./emotion-styled.browser.esm-BtEseadx.cjs"),L=require("./consts-goSZX3xP.cjs"),M=require("./Button.cjs"),S=require("./utils-Dl9xPH4c.cjs"),T=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./style-CyHewQxg.cjs"),f=require("./suspense-product-card-detailed-FuxsUusc.cjs"),B=require("./index-D0xXo7W6.cjs"),E=U.styled.div`
2
2
  display: grid;
3
- grid-template-columns: ${s=>`repeat(${s.limit}, minmax(0, 1fr))`};
3
+ grid-template-columns: ${a=>`repeat(${a.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
 
6
6
  & .button-link {
@@ -26,4 +26,4 @@
26
26
  /* Safari and Chrome */
27
27
  }
28
28
  }
29
- `,f=a.memo(q.DetailedProductCard),R=a.forwardRef((s,S)=>{const{icon:l,title:j,buttonLink:c,items:i,buttonText:w,limit:r=4,onSelectCard:d=()=>{},onButtonAction:P=()=>{},isLoading:N=!1,getImage:u=()=>{},negotiableText:m,freeText:g,options:n,onSelectOption:p=()=>{},productsToolbarName:v="All",sponsoredText:b,onBookmark:k=()=>{},bookmarkComponent:y}=s,C=T.useDetectMobile(),D=a.useMemo(()=>t.jsx(t.Fragment,{children:C===!0?i==null?void 0:i.map((e,o)=>t.jsx(f,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>d(e==null?void 0:e.uuid),imageUrl:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:m,freeText:g,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,trade:e==null?void 0:e.trade,sponsoredText:b,onBookmark:k,bookmarkComponent:y,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists},o)):i==null?void 0:i.slice(0,r).map((e,o)=>t.jsx(f,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>d(e==null?void 0:e.uuid),imageUrl:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:m,freeText:g,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,trade:e==null?void 0:e.trade,sponsoredText:b,onBookmark:k,bookmarkComponent:y,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists},o))}),[i,C,r]);return t.jsxs(F.TitleWithOptionsSectionWrapper,{ref:S,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[h.isDefinedNotEmptyString(l)&&t.jsx("i",{className:l}),t.jsx("span",{children:j})]}),h.isDefinedNotEmptyString(c)&&t.jsx(M,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var o;(o=e==null?void 0:e.target)==null||o.blur(),P(c)},borderRadius:"curved",className:"button-link",children:w})]}),(n==null?void 0:n.length)>0&&t.jsx(B.SelectBar,{items:n,onRemove:e=>{p(e)},onSelect:e=>{p(e)},labelKey:"name",valueKey:"code",noMargin:!0,productsToolbarName:v}),t.jsx(E,{limit:r,children:t.jsx(q.SuspenseDetailedProductCard,{isLoading:N,limit:r,keyPrefix:"explore-landing",children:D})})]})});module.exports=R;
29
+ `,h=s.memo(f.DetailedProductCard),R=s.forwardRef((a,q)=>{const{icon:l,title:j,buttonLink:d,items:t,buttonText:w,limit:r=4,onSelectCard:c=()=>{},onButtonAction:P=()=>{},isLoading:N=!1,getImage:u=()=>{},negotiableText:m,freeText:g,options:n,onSelectOption:p=()=>{},productsToolbarName:v="All",sponsoredText:b,onBookmark:k=()=>{},bookmarkComponent:y}=a,C=T.useDetectMobile(),D=s.useMemo(()=>i.jsx(i.Fragment,{children:C===!0?t==null?void 0:t.map((e,o)=>i.jsx(h,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>c({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug}),imageUrl:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:m,freeText:g,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,trade:e==null?void 0:e.trade,sponsoredText:b,onBookmark:k,bookmarkComponent:y,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists},o)):t==null?void 0:t.slice(0,r).map((e,o)=>i.jsx(h,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>c({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug}),imageUrl:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:m,freeText:g,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,trade:e==null?void 0:e.trade,sponsoredText:b,onBookmark:k,bookmarkComponent:y,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists},o))}),[t,C,r]);return i.jsxs(F.TitleWithOptionsSectionWrapper,{ref:q,children:[i.jsxs("div",{className:"regular-title",children:[i.jsxs("div",{className:"regular-title-text",children:[S.isDefinedNotEmptyString(l)&&i.jsx("i",{className:l}),i.jsx("span",{children:j})]}),S.isDefinedNotEmptyString(d)&&i.jsx(M,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var o;(o=e==null?void 0:e.target)==null||o.blur(),P(d)},borderRadius:"curved",className:"button-link",children:w})]}),(n==null?void 0:n.length)>0&&i.jsx(B.SelectBar,{items:n,onRemove:e=>{p(e)},onSelect:e=>{p(e)},labelKey:"name",valueKey:"code",noMargin:!0,productsToolbarName:v}),i.jsx(E,{limit:r,children:i.jsx(f.SuspenseDetailedProductCard,{isLoading:N,limit:r,keyPrefix:"explore-landing",children:D})})]})});module.exports=R;
@@ -3,7 +3,7 @@ import { memo as M, forwardRef as D, useMemo as F } from "react";
3
3
  import { s as B } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as q } from "./consts-BuFChS64.js";
5
5
  import E from "./Button.js";
6
- import { k as C } from "./utils-BdsZgOUE.js";
6
+ import { k as S } from "./utils-BdsZgOUE.js";
7
7
  import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
8
8
  import { T as O } from "./style-DFPWLJBr.js";
9
9
  import { D as R, S as W } from "./suspense-product-card-detailed-C-ZCjG5p.js";
@@ -36,7 +36,7 @@ const j = B.div`
36
36
  /* Safari and Chrome */
37
37
  }
38
38
  }
39
- `, h = M(R), V = D((n, S) => {
39
+ `, C = M(R), V = D((n, h) => {
40
40
  const {
41
41
  icon: s,
42
42
  title: w,
@@ -62,7 +62,7 @@ const j = B.div`
62
62
  },
63
63
  bookmarkComponent: f
64
64
  } = n, y = I(), U = F(() => /* @__PURE__ */ o(L, { children: y === !0 ? r == null ? void 0 : r.map((e, i) => /* @__PURE__ */ o(
65
- h,
65
+ C,
66
66
  {
67
67
  name: e == null ? void 0 : e.name,
68
68
  price: e == null ? void 0 : e.price,
@@ -73,7 +73,7 @@ const j = B.div`
73
73
  uuid: e == null ? void 0 : e.uuid,
74
74
  sponsored: e == null ? void 0 : e.sponsored,
75
75
  imageComponent: e == null ? void 0 : e.imageComponent,
76
- onSelectCard: () => m(e == null ? void 0 : e.uuid),
76
+ onSelectCard: () => m({ uuid: e == null ? void 0 : e.uuid, nameSlug: e == null ? void 0 : e.nameSlug }),
77
77
  imageUrl: c(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
78
78
  isFree: e == null ? void 0 : e.isFree,
79
79
  isNegotiable: e == null ? void 0 : e.isNegotiable,
@@ -92,7 +92,7 @@ const j = B.div`
92
92
  },
93
93
  i
94
94
  )) : r == null ? void 0 : r.slice(0, t).map((e, i) => /* @__PURE__ */ o(
95
- h,
95
+ C,
96
96
  {
97
97
  name: e == null ? void 0 : e.name,
98
98
  price: e == null ? void 0 : e.price,
@@ -104,7 +104,7 @@ const j = B.div`
104
104
  location: e == null ? void 0 : e.location,
105
105
  sponsored: e == null ? void 0 : e.sponsored,
106
106
  imageComponent: e == null ? void 0 : e.imageComponent,
107
- onSelectCard: () => m(e == null ? void 0 : e.uuid),
107
+ onSelectCard: () => m({ uuid: e == null ? void 0 : e.uuid, nameSlug: e == null ? void 0 : e.nameSlug }),
108
108
  imageUrl: c(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
109
109
  isFree: e == null ? void 0 : e.isFree,
110
110
  isNegotiable: e == null ? void 0 : e.isNegotiable,
@@ -123,13 +123,13 @@ const j = B.div`
123
123
  },
124
124
  i
125
125
  )) }), [r, y, t]);
126
- return /* @__PURE__ */ l(O, { ref: S, children: [
126
+ return /* @__PURE__ */ l(O, { ref: h, children: [
127
127
  /* @__PURE__ */ l("div", { className: "regular-title", children: [
128
128
  /* @__PURE__ */ l("div", { className: "regular-title-text", children: [
129
- C(s) && /* @__PURE__ */ o("i", { className: s }),
129
+ S(s) && /* @__PURE__ */ o("i", { className: s }),
130
130
  /* @__PURE__ */ o("span", { children: w })
131
131
  ] }),
132
- C(d) && /* @__PURE__ */ o(
132
+ S(d) && /* @__PURE__ */ o(
133
133
  E,
134
134
  {
135
135
  type: "button",
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),d=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-goSZX3xP.cjs"),v=require("./useDetectMobile-zkbzoOGV.cjs"),y=require("./style-CyHewQxg.cjs"),l=require("./utils-Dl9xPH4c.cjs"),P=require("./index-BueKsXT8.cjs"),S=u.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),a=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-goSZX3xP.cjs"),k=require("./useDetectMobile-zkbzoOGV.cjs"),v=require("./style-CyHewQxg.cjs"),l=require("./utils-Dl9xPH4c.cjs"),y=require("./index-BueKsXT8.cjs"),C=u.styled.div`
2
2
  width: 100%;
3
3
  height: 22.5rem;
4
4
  min-height: 22.5rem;
@@ -15,7 +15,7 @@
15
15
  height: 100%;
16
16
  object-fit: cover;
17
17
  }
18
- `,C=u.styled.div`
18
+ `,P=u.styled.div`
19
19
  display: grid;
20
20
  grid-template-columns: ${t=>`repeat(${t.limit}, minmax(0, 1fr))`};
21
21
  gap: 1.25rem;
@@ -81,4 +81,4 @@
81
81
  object-fit: cover;
82
82
  }
83
83
  }
84
- `,N=d.forwardRef((t,a)=>{const{uuid:n,title:i,image:s,sellerUuid:g,onSelectCard:o=()=>{},imageComponent:c}=t;return r.jsxs(b,{className:"product-card",onClick:o,children:[l.isDefined(c)?c:r.jsx(P.ProductImageWrapper,{src:s}),r.jsx("div",{className:"card-title",children:i})]})}),$=d.forwardRef(({},t)=>r.jsxs(b,{className:"product-card",children:[r.jsx("img",{className:"skeleton-img"}),r.jsx("div",{className:"skeleton-title"})]})),q=({limit:t=4,isLoading:a=!1,keyPrefix:n})=>r.jsx(r.Fragment,{children:Array.from({length:t},(i,s)=>r.jsx($,{isLoading:a},`${n}-skeleton-product-card-${s}`))}),I=({children:t,fallbackComponent:a=r.jsx(r.Fragment,{}),isLoading:n=!1,limit:i,keyPrefix:s})=>r.jsx(d.Suspense,{fallbackComponent:a,children:n===!0?r.jsx(q,{isLoading:n,limit:i,keyPrefix:s}):t}),f=d.memo(N),U=d.forwardRef((t,a)=>{const{icon:n,items:i,limit:s=4,imageUrl:g,onSelectCard:o=()=>{},title:c="Season inspiration",isLoading:w=!1,getImage:p=()=>{}}=t,h=v.useDetectMobile(),k=d.useMemo(()=>r.jsx(r.Fragment,{children:h===!0?i==null?void 0:i.map((e,m)=>r.jsx(f,{title:e==null?void 0:e.name,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>o==null?void 0:o(e==null?void 0:e.uuid),image:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null},m)):i==null?void 0:i.slice(0,s).map((e,m)=>r.jsx(f,{title:e==null?void 0:e.name,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>o==null?void 0:o(e==null?void 0:e.uuid),image:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null},m))}),[i,h,s]);return r.jsxs(y.RegulatTitleSectionWrapper,{ref:a,children:[r.jsx("div",{className:"regular-title",children:r.jsxs("div",{className:"regular-title-text",children:[l.isDefinedNotEmptyString(n)&&r.jsx("i",{className:n}),r.jsx("span",{children:c})]})}),r.jsx(S,{className:"products-banner",children:r.jsx("img",{src:g})}),r.jsx(C,{limit:s,children:r.jsx(I,{isLoading:w,limit:s,keyPrefix:"explore-landing",children:k})})]})});module.exports=U;
84
+ `,N=a.forwardRef((t,o)=>{const{uuid:n,title:i,image:s,sellerUuid:g,onSelectCard:d=()=>{},imageComponent:c}=t;return r.jsxs(b,{className:"product-card",onClick:d,children:[l.isDefined(c)?c:r.jsx(y.ProductImageWrapper,{src:s}),r.jsx("div",{className:"card-title",children:i})]})}),$=a.forwardRef(({},t)=>r.jsxs(b,{className:"product-card",children:[r.jsx("img",{className:"skeleton-img"}),r.jsx("div",{className:"skeleton-title"})]})),q=({limit:t=4,isLoading:o=!1,keyPrefix:n})=>r.jsx(r.Fragment,{children:Array.from({length:t},(i,s)=>r.jsx($,{isLoading:o},`${n}-skeleton-product-card-${s}`))}),I=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:n=!1,limit:i,keyPrefix:s})=>r.jsx(a.Suspense,{fallbackComponent:o,children:n===!0?r.jsx(q,{isLoading:n,limit:i,keyPrefix:s}):t}),f=a.memo(N),U=a.forwardRef((t,o)=>{const{icon:n,items:i,limit:s=4,imageUrl:g,onSelectCard:d=()=>{},title:c="Season inspiration",isLoading:w=!1,getImage:p=()=>{}}=t,h=k.useDetectMobile(),S=a.useMemo(()=>r.jsx(r.Fragment,{children:h===!0?i==null?void 0:i.map((e,m)=>r.jsx(f,{title:e==null?void 0:e.name,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>d({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug}),image:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null},m)):i==null?void 0:i.slice(0,s).map((e,m)=>r.jsx(f,{title:e==null?void 0:e.name,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>d({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug}),image:p(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null},m))}),[i,h,s]);return r.jsxs(v.RegulatTitleSectionWrapper,{ref:o,children:[r.jsx("div",{className:"regular-title",children:r.jsxs("div",{className:"regular-title-text",children:[l.isDefinedNotEmptyString(n)&&r.jsx("i",{className:n}),r.jsx("span",{children:c})]})}),r.jsx(C,{className:"products-banner",children:r.jsx("img",{src:g})}),r.jsx(P,{limit:s,children:r.jsx(I,{isLoading:w,limit:s,keyPrefix:"explore-landing",children:S})})]})});module.exports=U;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as s, jsx as r, Fragment as c } from "react/jsx-runtime";
2
- import { forwardRef as u, Suspense as C, memo as N, useMemo as S } from "react";
2
+ import { forwardRef as u, Suspense as P, memo as y, useMemo as N } from "react";
3
3
  import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as k } from "./consts-BuFChS64.js";
4
+ import { M as S } from "./consts-BuFChS64.js";
5
5
  import { u as $ } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import { R as U } from "./style-DFPWLJBr.js";
7
7
  import { p as I, o as b, l as M, k as W } from "./utils-BdsZgOUE.js";
@@ -28,7 +28,7 @@ const E = p.div`
28
28
  grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
29
29
  gap: 1.25rem;
30
30
 
31
- @media (max-width: ${k + "px"}) {
31
+ @media (max-width: ${S + "px"}) {
32
32
  display: flex;
33
33
  gap: 1rem;
34
34
  overflow-x: auto;
@@ -47,7 +47,7 @@ const E = p.div`
47
47
  /* Safari and Chrome */
48
48
  }
49
49
  }
50
- `, v = p.div`
50
+ `, k = p.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  gap: 0.5rem;
@@ -78,7 +78,7 @@ const E = p.div`
78
78
  height: 1.25rem;
79
79
  }
80
80
 
81
- @media (max-width: ${k + "px"}) {
81
+ @media (max-width: ${S + "px"}) {
82
82
  & img {
83
83
  width: 8.875rem;
84
84
  height: 8.875rem;
@@ -89,88 +89,88 @@ const E = p.div`
89
89
  object-fit: cover;
90
90
  }
91
91
  }
92
- `, z = u((t, d) => {
92
+ `, z = u((t, l) => {
93
93
  const {
94
- uuid: a,
94
+ uuid: o,
95
95
  title: i,
96
- image: o,
96
+ image: a,
97
97
  sellerUuid: g,
98
- onSelectCard: l = () => {
98
+ onSelectCard: n = () => {
99
99
  },
100
- imageComponent: n
100
+ imageComponent: d
101
101
  } = t;
102
- return /* @__PURE__ */ s(v, { className: "product-card", onClick: l, children: [
103
- M(n) ? n : /* @__PURE__ */ r(j, { src: o }),
102
+ return /* @__PURE__ */ s(k, { className: "product-card", onClick: n, children: [
103
+ M(d) ? d : /* @__PURE__ */ r(j, { src: a }),
104
104
  /* @__PURE__ */ r("div", { className: "card-title", children: i })
105
105
  ] });
106
- }), B = u(({}, t) => /* @__PURE__ */ s(v, { className: "product-card", children: [
106
+ }), B = u(({}, t) => /* @__PURE__ */ s(k, { className: "product-card", children: [
107
107
  /* @__PURE__ */ r("img", { className: "skeleton-img" }),
108
108
  /* @__PURE__ */ r("div", { className: "skeleton-title" })
109
- ] })), D = ({ limit: t = 4, isLoading: d = !1, keyPrefix: a }) => /* @__PURE__ */ r(c, { children: Array.from({ length: t }, (i, o) => /* @__PURE__ */ r(
109
+ ] })), D = ({ limit: t = 4, isLoading: l = !1, keyPrefix: o }) => /* @__PURE__ */ r(c, { children: Array.from({ length: t }, (i, a) => /* @__PURE__ */ r(
110
110
  B,
111
111
  {
112
- isLoading: d
112
+ isLoading: l
113
113
  },
114
- `${a}-skeleton-product-card-${o}`
114
+ `${o}-skeleton-product-card-${a}`
115
115
  )) }), _ = ({
116
116
  children: t,
117
- fallbackComponent: d = /* @__PURE__ */ r(c, {}),
118
- isLoading: a = !1,
117
+ fallbackComponent: l = /* @__PURE__ */ r(c, {}),
118
+ isLoading: o = !1,
119
119
  limit: i,
120
- keyPrefix: o
121
- }) => /* @__PURE__ */ r(C, { fallbackComponent: d, children: a === !0 ? /* @__PURE__ */ r(
120
+ keyPrefix: a
121
+ }) => /* @__PURE__ */ r(P, { fallbackComponent: l, children: o === !0 ? /* @__PURE__ */ r(
122
122
  D,
123
123
  {
124
- isLoading: a,
124
+ isLoading: o,
125
125
  limit: i,
126
- keyPrefix: o
126
+ keyPrefix: a
127
127
  }
128
- ) : t }), w = N(z), q = u((t, d) => {
128
+ ) : t }), w = y(z), q = u((t, l) => {
129
129
  const {
130
- icon: a,
130
+ icon: o,
131
131
  items: i,
132
- limit: o = 4,
132
+ limit: a = 4,
133
133
  imageUrl: g,
134
- onSelectCard: l = () => {
134
+ onSelectCard: n = () => {
135
135
  },
136
- title: n = "Season inspiration",
137
- isLoading: P = !1,
136
+ title: d = "Season inspiration",
137
+ isLoading: v = !1,
138
138
  getImage: h = () => {
139
139
  }
140
- } = t, f = $(), y = S(() => /* @__PURE__ */ r(c, { children: f === !0 ? i == null ? void 0 : i.map((e, m) => /* @__PURE__ */ r(
140
+ } = t, f = $(), C = N(() => /* @__PURE__ */ r(c, { children: f === !0 ? i == null ? void 0 : i.map((e, m) => /* @__PURE__ */ r(
141
141
  w,
142
142
  {
143
143
  title: e == null ? void 0 : e.name,
144
144
  sellerUuid: e == null ? void 0 : e.sellerUuid,
145
145
  uuid: e == null ? void 0 : e.uuid,
146
- onSelectCard: () => l == null ? void 0 : l(e == null ? void 0 : e.uuid),
146
+ onSelectCard: () => n({ uuid: e == null ? void 0 : e.uuid, nameSlug: e == null ? void 0 : e.nameSlug }),
147
147
  image: h(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null
148
148
  },
149
149
  m
150
- )) : i == null ? void 0 : i.slice(0, o).map((e, m) => /* @__PURE__ */ r(
150
+ )) : i == null ? void 0 : i.slice(0, a).map((e, m) => /* @__PURE__ */ r(
151
151
  w,
152
152
  {
153
153
  title: e == null ? void 0 : e.name,
154
154
  sellerUuid: e == null ? void 0 : e.sellerUuid,
155
155
  uuid: e == null ? void 0 : e.uuid,
156
- onSelectCard: () => l == null ? void 0 : l(e == null ? void 0 : e.uuid),
156
+ onSelectCard: () => n({ uuid: e == null ? void 0 : e.uuid, nameSlug: e == null ? void 0 : e.nameSlug }),
157
157
  image: h(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null
158
158
  },
159
159
  m
160
- )) }), [i, f, o]);
161
- return /* @__PURE__ */ s(U, { ref: d, children: [
160
+ )) }), [i, f, a]);
161
+ return /* @__PURE__ */ s(U, { ref: l, children: [
162
162
  /* @__PURE__ */ r("div", { className: "regular-title", children: /* @__PURE__ */ s("div", { className: "regular-title-text", children: [
163
- W(a) && /* @__PURE__ */ r("i", { className: a }),
164
- /* @__PURE__ */ r("span", { children: n })
163
+ W(o) && /* @__PURE__ */ r("i", { className: o }),
164
+ /* @__PURE__ */ r("span", { children: d })
165
165
  ] }) }),
166
166
  /* @__PURE__ */ r(E, { className: "products-banner", children: /* @__PURE__ */ r("img", { src: g }) }),
167
- /* @__PURE__ */ r(R, { limit: o, children: /* @__PURE__ */ r(
167
+ /* @__PURE__ */ r(R, { limit: a, children: /* @__PURE__ */ r(
168
168
  _,
169
169
  {
170
- isLoading: P,
171
- limit: o,
170
+ isLoading: v,
171
+ limit: a,
172
172
  keyPrefix: "explore-landing",
173
- children: y
173
+ children: C
174
174
  }
175
175
  ) })
176
176
  ] });
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),n=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),M=require("./consts-goSZX3xP.cjs"),U=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./index-cd9auaNr.cjs"),N=require("./index-CSgGox95.cjs"),v=require("./suspense-product-card-simple-BWxWMag0.cjs"),T=k.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),s=require("react"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),U=require("./index-cd9auaNr.cjs"),F=require("./index-CSgGox95.cjs"),N=require("./suspense-product-card-simple-BWxWMag0.cjs"),v=C.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: repeat(6, 1fr);
4
4
  gap: 1.25rem;
@@ -9,7 +9,7 @@
9
9
  margin: auto;
10
10
  }
11
11
 
12
- @media (max-width: ${M.MOBILE_SIZE_PX+"px"}) {
12
+ @media (max-width: ${k.MOBILE_SIZE_PX+"px"}) {
13
13
  grid-template-columns: repeat(2, 1fr);
14
14
 
15
15
  & .text-block-v1 {
@@ -28,4 +28,4 @@
28
28
 
29
29
  }
30
30
  }
31
- `,p=n.memo(F.SimpleProductCard),_=n.forwardRef((g,b)=>{const{title:h,subtitle:w,description:q,buttonText:y,buttonLink:P,items:i,onButtonAction:f=()=>{},onSelectCard:t=()=>{},isLoading:j=!1,limit:s=6,getImage:o=()=>{},negotiableText:c,freeText:l}=g,d=U.useDetectMobile(),S=n.useMemo(()=>{var a,m;return r.jsx(r.Fragment,{children:d===!0?(a=i==null?void 0:i.slice(0,4))==null?void 0:a.map((e,u)=>r.jsx(p,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>t==null?void 0:t(e==null?void 0:e.uuid),image:o(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,negotiableText:c,freeText:l},u)):(m=i==null?void 0:i.slice(0,9))==null?void 0:m.map((e,u)=>r.jsx(p,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>t==null?void 0:t(e==null?void 0:e.uuid),image:o(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,negotiableText:c,freeText:l},u))})},[i,d,s]);return r.jsxs(T,{ref:b,limit:s,children:[r.jsx(N.TextBlockV1,{subtitle:w,title:h,description:q,buttonText:y,buttonLink:P,onButtonAction:f,className:"text-block-v1"}),r.jsx(v.SuspenseSimpleProductCard,{isLoading:j,limit:s,keyPrefix:"explore-landing",children:S})]})});module.exports=_;
31
+ `,p=s.memo(U.SimpleProductCard),T=s.forwardRef((g,b)=>{const{title:S,subtitle:h,description:w,buttonText:q,buttonLink:y,items:i,onButtonAction:P=()=>{},onSelectCard:n=()=>{},isLoading:f=!1,limit:t=6,getImage:l=()=>{},negotiableText:o,freeText:c}=g,d=M.useDetectMobile(),j=s.useMemo(()=>{var a,m;return r.jsx(r.Fragment,{children:d===!0?(a=i==null?void 0:i.slice(0,4))==null?void 0:a.map((e,u)=>r.jsx(p,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>n({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug}),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,negotiableText:o,freeText:c},u)):(m=i==null?void 0:i.slice(0,9))==null?void 0:m.map((e,u)=>r.jsx(p,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:()=>n({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug}),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,negotiableText:o,freeText:c},u))})},[i,d,t]);return r.jsxs(v,{ref:b,limit:t,children:[r.jsx(F.TextBlockV1,{subtitle:h,title:S,description:w,buttonText:q,buttonLink:y,onButtonAction:P,className:"text-block-v1"}),r.jsx(N.SuspenseSimpleProductCard,{isLoading:f,limit:t,keyPrefix:"explore-landing",children:j})]})});module.exports=T;