@lanaco/lnc-react-ui 4.0.151 → 4.0.153

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.
Files changed (108) hide show
  1. package/dist/AdBannerSection.cjs +3 -3
  2. package/dist/AdBannerSection.js +16 -16
  3. package/dist/BannerSectionBasic.cjs +4 -4
  4. package/dist/BannerSectionBasic.js +33 -32
  5. package/dist/BannerSectionGrid.cjs +3 -3
  6. package/dist/BannerSectionGrid.js +33 -33
  7. package/dist/BlogCardsSponsoredSection.cjs +3 -3
  8. package/dist/BlogCardsSponsoredSection.js +15 -15
  9. package/dist/BlogCategoryCardsSection.cjs +1 -1
  10. package/dist/BlogCategoryCardsSection.js +12 -12
  11. package/dist/BlogExploreSection.cjs +4 -4
  12. package/dist/BlogExploreSection.js +30 -30
  13. package/dist/BlogListSection.cjs +2 -2
  14. package/dist/BlogListSection.js +28 -28
  15. package/dist/BlogProductCardsSection.cjs +1 -1
  16. package/dist/BlogProductCardsSection.js +20 -19
  17. package/dist/BlogShopCardsSection.cjs +1 -1
  18. package/dist/BlogShopCardsSection.js +22 -22
  19. package/dist/BrandHitsSection.cjs +7 -7
  20. package/dist/BrandHitsSection.js +24 -24
  21. package/dist/CustomLoanMapSection.cjs +1 -1
  22. package/dist/CustomLoanMapSection.js +1 -1
  23. package/dist/{DailyMotion-CPQ6kDJJ.cjs → DailyMotion-BaFUcQKQ.cjs} +1 -1
  24. package/dist/{DailyMotion-BrbMSyj1.js → DailyMotion-ByXblnua.js} +1 -1
  25. package/dist/DetailedProductsInfinitiveSection.cjs +3 -3
  26. package/dist/DetailedProductsInfinitiveSection.js +41 -41
  27. package/dist/DetailedProductsSection.cjs +1 -1
  28. package/dist/DetailedProductsSection.js +1 -1
  29. package/dist/{Facebook-Dw3my9_4.js → Facebook-BCqiOWZO.js} +1 -1
  30. package/dist/{Facebook-DKhRiODC.cjs → Facebook-D9wwecSW.cjs} +1 -1
  31. package/dist/FaqSection.cjs +2 -2
  32. package/dist/FaqSection.js +2 -2
  33. package/dist/FieldOfInterestsMasonrySection.cjs +6 -6
  34. package/dist/FieldOfInterestsMasonrySection.js +65 -48
  35. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +3 -3
  36. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +27 -25
  37. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +10 -9
  38. package/dist/FieldOfInterestsWithTagsCardsSection.js +77 -65
  39. package/dist/{FilePlayer-DlCyGLHB.cjs → FilePlayer-DB6jnpeC.cjs} +1 -1
  40. package/dist/{FilePlayer-Ckx8dmB0.js → FilePlayer-ktaNhf3p.js} +1 -1
  41. package/dist/GeneralWithTagsCardsSection.cjs +9 -9
  42. package/dist/GeneralWithTagsCardsSection.js +15 -15
  43. package/dist/{Kaltura-31Xm8S1J.cjs → Kaltura-CCdXLzOa.cjs} +1 -1
  44. package/dist/{Kaltura-qHdDvnjZ.js → Kaltura-CvlN0HDg.js} +1 -1
  45. package/dist/LoanCalculatorSection.cjs +2 -2
  46. package/dist/LoanCalculatorSection.js +89 -88
  47. package/dist/LocationFinderSection.cjs +1 -1
  48. package/dist/LocationFinderSection.js +1 -1
  49. package/dist/{Mixcloud-DvH0vfg5.js → Mixcloud-Bb8MTclI.js} +1 -1
  50. package/dist/{Mixcloud-CP9Zq_TX.cjs → Mixcloud-nG_VyBNt.cjs} +1 -1
  51. package/dist/{Mux-BlblTeid.cjs → Mux-BgB2a8kM.cjs} +1 -1
  52. package/dist/{Mux--JeF6dPG.js → Mux-DfYpGTiP.js} +1 -1
  53. package/dist/OverlayGeneralCardsSection.cjs +5 -5
  54. package/dist/OverlayGeneralCardsSection.js +11 -11
  55. package/dist/ProductsWithBannerSection.cjs +1 -1
  56. package/dist/ProductsWithBannerSection.js +1 -1
  57. package/dist/QuattroCardsSection.cjs +5 -5
  58. package/dist/QuattroCardsSection.js +7 -7
  59. package/dist/QuizSection.cjs +7 -7
  60. package/dist/QuizSection.js +51 -51
  61. package/dist/SalesCampaignsSection.cjs +1 -1
  62. package/dist/SalesCampaignsSection.js +2 -1
  63. package/dist/SearchSection-BcbHP6QF.cjs +161 -0
  64. package/dist/{SearchSection-CsfURtvf.js → SearchSection-DDQ_K98T.js} +52 -52
  65. package/dist/SearchSection.cjs +1 -1
  66. package/dist/SearchSection.js +1 -1
  67. package/dist/SimpleCategoriesSection.cjs +1 -1
  68. package/dist/SimpleCategoriesSection.js +1 -1
  69. package/dist/SimpleProductsSection.cjs +1 -1
  70. package/dist/SimpleProductsSection.js +2 -2
  71. package/dist/{SoundCloud-1hd9TBSO.cjs → SoundCloud-C86xwUG6.cjs} +1 -1
  72. package/dist/{SoundCloud-CKaavZky.js → SoundCloud-DG91z39R.js} +1 -1
  73. package/dist/StatsSection.cjs +5 -5
  74. package/dist/StatsSection.js +22 -22
  75. package/dist/{Streamable-DLxq1ZNX.cjs → Streamable-4uAnb3WN.cjs} +1 -1
  76. package/dist/{Streamable-CZEPghiG.js → Streamable-BAIWLgyD.js} +1 -1
  77. package/dist/ToggleSection.cjs +3 -3
  78. package/dist/ToggleSection.js +10 -10
  79. package/dist/{Twitch-Bb8e342z.cjs → Twitch-CVAj24ti.cjs} +1 -1
  80. package/dist/{Twitch-BJeGquex.js → Twitch-DfXeW5Xs.js} +1 -1
  81. package/dist/UrgentSaleProductsSection.cjs +1 -1
  82. package/dist/UrgentSaleProductsSection.js +1 -1
  83. package/dist/{Vidyard-WNQdOeK1.cjs → Vidyard-DaCcaaH4.cjs} +1 -1
  84. package/dist/{Vidyard-CuGoX_VE.js → Vidyard-De3pges0.js} +1 -1
  85. package/dist/{Vimeo-Da2vBv-V.cjs → Vimeo-8wXdCXGs.cjs} +1 -1
  86. package/dist/{Vimeo-B9eKoxWn.js → Vimeo-N6I2qi_h.js} +1 -1
  87. package/dist/{Wistia-ZPcGhh1L.cjs → Wistia-BrUzHQoq.cjs} +1 -1
  88. package/dist/{Wistia-BB50IUif.js → Wistia-dlV6n6tO.js} +1 -1
  89. package/dist/{YouTube-4RMnpdLL.cjs → YouTube-Cfsj4ZaP.cjs} +1 -1
  90. package/dist/{YouTube-CG6JL2_w.js → YouTube-DNJxWqRm.js} +1 -1
  91. package/dist/{index-DzYKmmn2.js → index-BGY3PSA-.js} +18 -18
  92. package/dist/{index-Djw_s9eq.js → index-C0SKNFzP.js} +15 -15
  93. package/dist/{index-cd9auaNr.cjs → index-CLoINIGC.cjs} +3 -3
  94. package/dist/{index-GxCvHDwv.cjs → index-ELUMKl0N.cjs} +2 -2
  95. package/dist/index.cjs +1 -1
  96. package/dist/index.js +1 -1
  97. package/dist/{suspense-categories-card-simple-DuKEj9IU.js → suspense-categories-card-simple-BGj475Ca.js} +11 -10
  98. package/dist/{suspense-categories-card-simple-DaA0JGJJ.cjs → suspense-categories-card-simple-CjGtzfzp.cjs} +1 -1
  99. package/dist/suspense-product-card-detailed-BJ-HBkBc.js +577 -0
  100. package/dist/suspense-product-card-detailed-wPRUytSf.cjs +263 -0
  101. package/dist/{suspense-product-card-simple-D2m3NcrV.js → suspense-product-card-simple-CLJjab5B.js} +1 -1
  102. package/dist/{suspense-product-card-simple-BWxWMag0.cjs → suspense-product-card-simple-CrqjSxHI.cjs} +1 -1
  103. package/dist/{tag-CtleOqEC.js → tag-cRMfP-SZ.js} +9 -9
  104. package/dist/{tag-Bov1gw34.cjs → tag-yputMSpE.cjs} +4 -4
  105. package/package.json +1 -1
  106. package/dist/SearchSection-BGK1Fxaj.cjs +0 -161
  107. package/dist/suspense-product-card-detailed-C-ZCjG5p.js +0 -538
  108. package/dist/suspense-product-card-detailed-FuxsUusc.cjs +0 -260
@@ -1,19 +1,19 @@
1
1
  import { jsxs as l, jsx as n, Fragment as z } from "react/jsx-runtime";
2
- import { forwardRef as A, Fragment as Q } from "react";
2
+ import { forwardRef as A, Fragment as Y } from "react";
3
3
  import { P as e } from "./index-CblbdqjE.js";
4
- import { p as Y, s as B } from "./utils-BdsZgOUE.js";
5
- import O from "./TextInput.js";
4
+ import { p as B, s as O } from "./utils-BdsZgOUE.js";
5
+ import P from "./TextInput.js";
6
6
  import S from "./Icon.js";
7
- import P from "./Link.js";
7
+ import ee from "./Link.js";
8
8
  import j from "./DropdownMenu.js";
9
9
  import F from "./DropdownItem.js";
10
- import { F as ee } from "./tag-CtleOqEC.js";
11
- import ne from "./BlogProductCardsSection.js";
10
+ import { F as ne } from "./tag-cRMfP-SZ.js";
11
+ import te from "./BlogProductCardsSection.js";
12
12
  import { s as E } from "./emotion-styled.browser.esm-BNN1dTl3.js";
13
- import { P as te } from "./index-CF3HhgvN.js";
13
+ import { P as re } from "./index-CF3HhgvN.js";
14
14
  import L from "./BlogListSection.js";
15
- import { M as re } from "./consts-BuFChS64.js";
16
- const ie = E.div`
15
+ import { M as ie } from "./consts-BuFChS64.js";
16
+ const ae = E.div`
17
17
  display: flex;
18
18
  justify-content: space-between;
19
19
  align-items: center;
@@ -94,7 +94,7 @@ const ie = E.div`
94
94
  }
95
95
  }
96
96
  }
97
- `, ae = A(
97
+ `, ce = A(
98
98
  ({
99
99
  perPageOptions: o = [
100
100
  { code: 10, name: "Show 10 items" },
@@ -138,7 +138,7 @@ const ie = E.div`
138
138
  `pagination-page__${v}`
139
139
  ));
140
140
  };
141
- return /* @__PURE__ */ l(ie, { className: "pagination", children: [
141
+ return /* @__PURE__ */ l(ae, { className: "pagination", children: [
142
142
  /* @__PURE__ */ n(
143
143
  j,
144
144
  {
@@ -180,7 +180,7 @@ const ie = E.div`
180
180
  ] })
181
181
  ] });
182
182
  }
183
- ), ce = E.div`
183
+ ), oe = E.div`
184
184
  display: flex;
185
185
  align-items: flex-start;
186
186
  gap: 2rem;
@@ -356,7 +356,7 @@ const ie = E.div`
356
356
  font-style: normal;
357
357
  font-weight: 500;
358
358
  line-height: 1.25rem;
359
- ${Y(2)}
359
+ ${B(2)}
360
360
  }
361
361
 
362
362
  & .item__description {
@@ -371,7 +371,7 @@ const ie = E.div`
371
371
  }
372
372
  }
373
373
 
374
- @media (max-width: ${re + "px"}) {
374
+ @media (max-width: ${ie + "px"}) {
375
375
  flex-direction: column;
376
376
 
377
377
  & .landing__main-content {
@@ -418,7 +418,7 @@ const ie = E.div`
418
418
  display: none;
419
419
  }
420
420
  }
421
- `, oe = A(
421
+ `, le = A(
422
422
  ({
423
423
  mainTitle: o,
424
424
  sideTitle: f,
@@ -450,7 +450,7 @@ const ie = E.div`
450
450
  showAllButtonLink: M,
451
451
  showAllButtonText: D = "Show all products",
452
452
  viewAllButtonText: R = "View all (11)",
453
- viewAllButtonLink: le,
453
+ viewAllButtonLink: se,
454
454
  handleViewAll: U = () => {
455
455
  },
456
456
  handleShowAll: V = () => {
@@ -472,15 +472,15 @@ const ie = E.div`
472
472
  onBookmark: I = () => {
473
473
  },
474
474
  bookmarkComponent: $ = /* @__PURE__ */ n(z, { children: " " })
475
- }, se) => {
476
- const K = (r) => {
475
+ }, K) => {
476
+ const Q = (r) => {
477
477
  document.getElementById("landing__container").scrollIntoView({ behavior: "smooth", block: "start" }), b == null || b(r);
478
478
  };
479
- return /* @__PURE__ */ l(ce, { id: "landing__container", children: [
479
+ return /* @__PURE__ */ l(oe, { ref: K, id: "landing__container", children: [
480
480
  /* @__PURE__ */ l("div", { className: "landing__main-content", children: [
481
481
  o && /* @__PURE__ */ n("div", { className: "main-content__title", children: o }),
482
482
  g && /* @__PURE__ */ n(
483
- ee,
483
+ ne,
484
484
  {
485
485
  tags: g,
486
486
  allTagText: a,
@@ -490,7 +490,7 @@ const ie = E.div`
490
490
  ),
491
491
  /* @__PURE__ */ l("div", { className: "main-content__actions", children: [
492
492
  /* @__PURE__ */ n(
493
- O,
493
+ P,
494
494
  {
495
495
  className: "main-content__search",
496
496
  placeholder: v,
@@ -544,7 +544,7 @@ const ie = E.div`
544
544
  ),
545
545
  /* @__PURE__ */ n("div", { className: "main-content__divider" }),
546
546
  h && (h == null ? void 0 : h.length) > 0 && /* @__PURE__ */ n(
547
- ne,
547
+ te,
548
548
  {
549
549
  buttonText: D,
550
550
  buttonLink: M,
@@ -573,13 +573,13 @@ const ie = E.div`
573
573
  )
574
574
  ] }),
575
575
  N && N > 1 && /* @__PURE__ */ n(
576
- ae,
576
+ ce,
577
577
  {
578
578
  perPageOptions: G,
579
579
  perPage: X,
580
580
  handlePerPage: Z,
581
581
  page: W,
582
- handlePage: K,
582
+ handlePage: Q,
583
583
  totalPage: N
584
584
  }
585
585
  )
@@ -587,14 +587,14 @@ const ie = E.div`
587
587
  /* @__PURE__ */ l("div", { className: "landing__side-content", children: [
588
588
  f && /* @__PURE__ */ n("div", { className: "side-content__title", children: f }),
589
589
  m && (m == null ? void 0 : m.length) > 0 && /* @__PURE__ */ l(z, { children: [
590
- /* @__PURE__ */ n("div", { className: "side-content__items", children: m == null ? void 0 : m.map((r, u) => /* @__PURE__ */ n(Q, { children: /* @__PURE__ */ l(
590
+ /* @__PURE__ */ n("div", { className: "side-content__items", children: m == null ? void 0 : m.map((r, u) => /* @__PURE__ */ n(Y, { children: /* @__PURE__ */ l(
591
591
  "div",
592
592
  {
593
593
  className: "side-content__item",
594
594
  onClick: () => w(r),
595
595
  children: [
596
596
  /* @__PURE__ */ n(
597
- te,
597
+ re,
598
598
  {
599
599
  src: y(r == null ? void 0 : r.imageUrl, r == null ? void 0 : r.uuid) || null,
600
600
  alt: `Mini blog ${u + 1}`,
@@ -603,18 +603,18 @@ const ie = E.div`
603
603
  ),
604
604
  /* @__PURE__ */ l("div", { className: "item__content", children: [
605
605
  /* @__PURE__ */ n("div", { className: "item__title", children: r == null ? void 0 : r.title }),
606
- /* @__PURE__ */ n("div", { className: "item__description", children: B(r == null ? void 0 : r.publishedAt) })
606
+ /* @__PURE__ */ n("div", { className: "item__description", children: O(r == null ? void 0 : r.publishedAt) })
607
607
  ] })
608
608
  ]
609
609
  }
610
610
  ) }, `mini_blg_${u}`)) }),
611
- /* @__PURE__ */ n(P, { onClick: U, className: "side-content__link", children: R })
611
+ /* @__PURE__ */ n(ee, { onClick: U, className: "side-content__link", children: R })
612
612
  ] })
613
613
  ] })
614
614
  ] });
615
615
  }
616
616
  );
617
- oe.propTypes = {
617
+ le.propTypes = {
618
618
  mainTitle: e.string,
619
619
  sideTitle: e.string,
620
620
  tags: e.array,
@@ -651,5 +651,5 @@ oe.propTypes = {
651
651
  handleSearch: e.func
652
652
  };
653
653
  export {
654
- oe as default
654
+ le as default
655
655
  };
@@ -144,7 +144,7 @@
144
144
  }
145
145
  }
146
146
  }
147
- `,C=l.forwardRef(({blogUuid:c,title:n,imageUrl:o,options:i,publishedAt:m,timeToReadText:p="{0} min read",timeToRead:g=0,numberOfLikes:f=0,numberOfComments:u=0,isBookmarked:_=!1,onSelectCard:h=()=>{},onBookmark:e=()=>{},onShare:d=()=>{},bookmarkComponent:a=r.jsx(r.Fragment,{})},k)=>{const b=()=>s.isDefined(a)?l.cloneElement(a,{key:`bookmark_blog__${c}__${_}`,isBookmarked:_,blogUuid:c,onBookmark:(w,N)=>e(w,N),ref:k,componentName:"ExploreBlogSectionCard"}):r.jsx(r.Fragment,{});return r.jsxs($,{onClick:h,className:"blog-card-item",children:[r.jsx(B.ProductImageWrapper,{src:o,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:n}),r.jsxs("div",{className:"wrapper__tags-action",children:[r.jsx("div",{className:"wrapper__tags",children:i&&(i==null?void 0:i.map((t,w)=>r.jsx(R.BlogTag,{color:t==null?void 0:t.color,children:t==null?void 0:t.name},`blog-card-sponsored-option__${w+1}`)))}),r.jsxs("div",{className:"info__content mobile-only",children:[r.jsx(b,{}),r.jsx(j,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),d()}})]})]})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsxs("div",{className:"info__content",children:[r.jsx("div",{className:"info__text",children:`${s.formatLocaleDateString(m)} • ${s.formatString(p,g)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(y,{icon:" mng-lnc-thumbs-up--filled",sizeInUnits:"1rem"}),s.getRoundedNumber(f)]}),r.jsxs("div",{children:[r.jsx(y,{icon:" mng-lnc-messages-filled",sizeInUnits:"1rem"}),s.getRoundedNumber(u)]})]})]}),r.jsxs("div",{className:"info__content desktop-only",children:[r.jsx(b,{}),r.jsx(j,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),d()}})]})]})]})]})}),L=v.styled.div`
147
+ `,C=l.forwardRef(({blogUuid:c,title:n,imageUrl:o,options:i,publishedAt:p,timeToReadText:g="{0} min read",timeToRead:u=0,numberOfLikes:f=0,numberOfComments:_=0,isBookmarked:d=!1,onSelectCard:h=()=>{},onBookmark:e=()=>{},onShare:m=()=>{},bookmarkComponent:a=r.jsx(r.Fragment,{})},k)=>{const b=()=>s.isDefined(a)?l.cloneElement(a,{key:`bookmark_blog__${c}__${d}`,isBookmarked:d,blogUuid:c,onBookmark:(w,N)=>e(w,N),ref:k,componentName:"ExploreBlogSectionCard"}):r.jsx(r.Fragment,{});return r.jsxs($,{onClick:h,className:"blog-card-item",children:[r.jsx(B.ProductImageWrapper,{src:o,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:n}),r.jsxs("div",{className:"wrapper__tags-action",children:[r.jsx("div",{className:"wrapper__tags",children:i&&(i==null?void 0:i.map((t,w)=>r.jsx(R.BlogTag,{color:t==null?void 0:t.color,children:t==null?void 0:t.name},`blog-card-sponsored-option__${w+1}`)))}),r.jsxs("div",{className:"info__content mobile-only",children:[r.jsx(b,{}),r.jsx(j,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),m()}})]})]})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsxs("div",{className:"info__content",children:[r.jsx("div",{className:"info__text",children:`${s.formatLocaleDateString(p)} • ${s.formatString(g,u)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(y,{icon:" mng-lnc-thumbs-up--filled",sizeInUnits:"1rem"}),s.getRoundedNumber(f)]}),r.jsxs("div",{children:[r.jsx(y,{icon:" mng-lnc-messages-filled",sizeInUnits:"1rem"}),s.getRoundedNumber(_)]})]})]}),r.jsxs("div",{className:"info__content desktop-only",children:[r.jsx(b,{}),r.jsx(j,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),m()}})]})]})]})]})}),L=v.styled.div`
148
148
  display: flex;
149
149
  flex-direction: column;
150
150
  align-items: flex-start;
@@ -168,4 +168,4 @@
168
168
  bottom: -1.25rem;
169
169
  }
170
170
  }
171
- `,z=l.memo(C),T=l.forwardRef(({timeToReadText:c="{0} min read",items:n,onSelectCard:o=()=>{},onShare:i=()=>{},onBookmark:m=()=>{},isLoading:p=!1,getImage:g=()=>{},isSeparated:f=!0,bookmarkComponent:u=r.jsx(r.Fragment,{})},_)=>{const h=l.useMemo(()=>n==null?void 0:n.map((e,d)=>{var a;return r.jsx(z,{blogUuid:e==null?void 0:e.uuid,title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:c,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,isBookmarked:e==null?void 0:e.isBookmarked,onSelectCard:()=>o==null?void 0:o(e),onShare:()=>i==null?void 0:i(e),onBookmark:m,imageUrl:g(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,bookmarkComponent:u},`blog-card-item__${d+1}__${(a=e==null?void 0:e.isBookmarked)==null?void 0:a.toString()}`)}),[n]);return r.jsx(L,{className:f?"separated":"",children:r.jsx(I.SuspenseBlogLarge,{isLoading:p,limit:5,keyPrefix:"blog-section",children:h})})});module.exports=T;
171
+ `,z=l.memo(C),T=l.forwardRef(({timeToReadText:c="{0} min read",items:n,onSelectCard:o=()=>{},onShare:i=()=>{},onBookmark:p=()=>{},isLoading:g=!1,getImage:u=()=>{},isSeparated:f=!0,bookmarkComponent:_=r.jsx(r.Fragment,{})},d)=>{const h=l.useMemo(()=>n==null?void 0:n.map((e,m)=>{var a;return r.jsx(z,{blogUuid:e==null?void 0:e.uuid,title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:c,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,isBookmarked:e==null?void 0:e.isBookmarked,onSelectCard:()=>o==null?void 0:o(e),onShare:()=>i==null?void 0:i(e),onBookmark:p,imageUrl:u(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,bookmarkComponent:_},`blog-card-item__${m+1}__${(a=e==null?void 0:e.isBookmarked)==null?void 0:a.toString()}`)}),[n]);return r.jsx(L,{ref:d,className:f?"separated":"",children:r.jsx(I.SuspenseBlogLarge,{isLoading:g,limit:5,keyPrefix:"blog-section",children:h})})});module.exports=T;
@@ -160,23 +160,23 @@ const U = B.div`
160
160
  title: n,
161
161
  imageUrl: o,
162
162
  options: a,
163
- publishedAt: d,
164
- timeToReadText: c = "{0} min read",
165
- timeToRead: p = 0,
166
- numberOfLikes: f = 0,
167
- numberOfComments: g = 0,
168
- isBookmarked: _ = !1,
163
+ publishedAt: c,
164
+ timeToReadText: p = "{0} min read",
165
+ timeToRead: f = 0,
166
+ numberOfLikes: g = 0,
167
+ numberOfComments: _ = 0,
168
+ isBookmarked: m = !1,
169
169
  onSelectCard: u = () => {
170
170
  },
171
171
  onBookmark: e = () => {
172
172
  },
173
- onShare: m = () => {
173
+ onShare: d = () => {
174
174
  },
175
175
  bookmarkComponent: l = /* @__PURE__ */ r(w, {})
176
176
  }, $) => {
177
177
  const b = () => T(l) ? j(l, {
178
- key: `bookmark_blog__${s}__${_}`,
179
- isBookmarked: _,
178
+ key: `bookmark_blog__${s}__${m}`,
179
+ isBookmarked: m,
180
180
  blogUuid: s,
181
181
  onBookmark: (h, I) => e(h, I),
182
182
  ref: $,
@@ -206,7 +206,7 @@ const U = B.div`
206
206
  btnType: "basic",
207
207
  color: "neutral",
208
208
  onClick: (t) => {
209
- t == null || t.stopPropagation(), m();
209
+ t == null || t.stopPropagation(), d();
210
210
  }
211
211
  }
212
212
  )
@@ -216,16 +216,16 @@ const U = B.div`
216
216
  /* @__PURE__ */ i("div", { className: "wrapper__info", children: [
217
217
  /* @__PURE__ */ i("div", { className: "info__content", children: [
218
218
  /* @__PURE__ */ r("div", { className: "info__text", children: `${L(
219
- d
220
- )} • ${P(c, p)}` }),
219
+ c
220
+ )} • ${P(p, f)}` }),
221
221
  /* @__PURE__ */ i("div", { className: "info__text", children: [
222
222
  /* @__PURE__ */ i("div", { children: [
223
223
  /* @__PURE__ */ r(y, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
224
- k(f)
224
+ k(g)
225
225
  ] }),
226
226
  /* @__PURE__ */ i("div", { children: [
227
227
  /* @__PURE__ */ r(y, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
228
- k(g)
228
+ k(_)
229
229
  ] })
230
230
  ] })
231
231
  ] }),
@@ -239,7 +239,7 @@ const U = B.div`
239
239
  btnType: "basic",
240
240
  color: "neutral",
241
241
  onClick: (t) => {
242
- t == null || t.stopPropagation(), m();
242
+ t == null || t.stopPropagation(), d();
243
243
  }
244
244
  }
245
245
  )
@@ -280,15 +280,15 @@ const U = B.div`
280
280
  },
281
281
  onShare: a = () => {
282
282
  },
283
- onBookmark: d = () => {
283
+ onBookmark: c = () => {
284
284
  },
285
- isLoading: c = !1,
286
- getImage: p = () => {
285
+ isLoading: p = !1,
286
+ getImage: f = () => {
287
287
  },
288
- isSeparated: f = !0,
289
- bookmarkComponent: g = /* @__PURE__ */ r(w, {})
290
- }, _) => {
291
- const u = R(() => n == null ? void 0 : n.map((e, m) => {
288
+ isSeparated: g = !0,
289
+ bookmarkComponent: _ = /* @__PURE__ */ r(w, {})
290
+ }, m) => {
291
+ const u = R(() => n == null ? void 0 : n.map((e, d) => {
292
292
  var l;
293
293
  return /* @__PURE__ */ r(
294
294
  D,
@@ -306,17 +306,17 @@ const U = B.div`
306
306
  isBookmarked: e == null ? void 0 : e.isBookmarked,
307
307
  onSelectCard: () => o == null ? void 0 : o(e),
308
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
309
+ onBookmark: c,
310
+ imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
311
+ bookmarkComponent: _
312
312
  },
313
- `blog-card-item__${m + 1}__${(l = e == null ? void 0 : e.isBookmarked) == null ? void 0 : l.toString()}`
313
+ `blog-card-item__${d + 1}__${(l = e == null ? void 0 : e.isBookmarked) == null ? void 0 : l.toString()}`
314
314
  );
315
315
  }), [n]);
316
- return /* @__PURE__ */ r(A, { className: f ? "separated" : "", children: /* @__PURE__ */ r(
316
+ return /* @__PURE__ */ r(A, { ref: m, className: g ? "separated" : "", children: /* @__PURE__ */ r(
317
317
  M,
318
318
  {
319
- isLoading: c,
319
+ isLoading: p,
320
320
  limit: 5,
321
321
  keyPrefix: "blog-section",
322
322
  children: u
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),u=require("react"),q=require("./useDetectMobile-zkbzoOGV.cjs"),P=require("./index-cd9auaNr.cjs"),f=require("./suspense-product-card-simple-BWxWMag0.cjs"),h=require("./Button.cjs"),j=require("./style-BTTXJFJN.cjs"),y=u.memo(P.SimpleProductCard),M=u.forwardRef(({buttonText:o,buttonLink:t,items:i,onButtonAction:l=()=>{},onSelectCard:s=()=>{},isLoading:n=!1,limit:d=4,getImage:a=()=>{},isHighlight:p=!1},N)=>{const m=q.useDetectMobile(),b=u.useMemo(()=>{var c;return(c=i==null?void 0:i.slice(0,4))==null?void 0:c.map((e,g)=>r.jsx(y,{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:()=>s==null?void 0:s(e==null?void 0:e.uuid),image:a(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null},g))},[i]);return r.jsxs(j.Wrapper,{className:`blog-product-cards-section ${p?"highlight":""}`,children:[r.jsx("div",{className:"wrapper__grid",children:r.jsx(f.SuspenseSimpleProductCard,{isLoading:n,limit:d,keyPrefix:"blog-section",children:b})}),r.jsx(h,{text:o,borderRadius:"curved",btnType:m?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>l(t)})]})});module.exports=M;
1
+ "use strict";const r=require("react/jsx-runtime"),u=require("react"),P=require("./useDetectMobile-zkbzoOGV.cjs"),h=require("./index-CLoINIGC.cjs"),j=require("./suspense-product-card-simple-CrqjSxHI.cjs"),f=require("./Button.cjs"),y=require("./style-BTTXJFJN.cjs"),M=u.memo(h.SimpleProductCard),N=u.forwardRef(({buttonText:o,buttonLink:t,items:i,onButtonAction:l=()=>{},onSelectCard:s=()=>{},isLoading:n=!1,limit:d=4,getImage:a=()=>{},isHighlight:p=!1},m)=>{const b=P.useDetectMobile(),g=u.useMemo(()=>{var c;return(c=i==null?void 0:i.slice(0,4))==null?void 0:c.map((e,q)=>r.jsx(M,{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:()=>s==null?void 0:s(e==null?void 0:e.uuid),image:a(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null},q))},[i]);return r.jsxs(y.Wrapper,{ref:m,className:`blog-product-cards-section ${p?"highlight":""}`,children:[r.jsx("div",{className:"wrapper__grid",children:r.jsx(j.SuspenseSimpleProductCard,{isLoading:n,limit:d,keyPrefix:"blog-section",children:g})}),r.jsx(f,{text:o,borderRadius:"curved",btnType:b?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>l(t)})]})});module.exports=N;
@@ -1,11 +1,11 @@
1
- import { jsx as i, jsxs as g } from "react/jsx-runtime";
2
- import { memo as b, forwardRef as h, useMemo as P } from "react";
3
- import { u as N } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { S as y } from "./index-DzYKmmn2.js";
5
- import { S as M } from "./suspense-product-card-simple-D2m3NcrV.js";
6
- import S from "./Button.js";
7
- import { W as _ } from "./style-tw6KjI2J.js";
8
- const w = b(y), R = h(
1
+ import { jsx as i, jsxs as b } from "react/jsx-runtime";
2
+ import { memo as h, forwardRef as P, useMemo as N } from "react";
3
+ import { u as y } from "./useDetectMobile-Bkvj0VMa.js";
4
+ import { S as M } from "./index-BGY3PSA-.js";
5
+ import { S } from "./suspense-product-card-simple-CLJjab5B.js";
6
+ import _ from "./Button.js";
7
+ import { W as w } from "./style-tw6KjI2J.js";
8
+ const U = h(M), R = P(
9
9
  ({
10
10
  buttonText: u,
11
11
  buttonLink: l,
@@ -19,11 +19,11 @@ const w = b(y), R = h(
19
19
  getImage: d = () => {
20
20
  },
21
21
  isHighlight: m = !1
22
- }, U) => {
23
- const p = N(), n = P(() => {
22
+ }, p) => {
23
+ const n = y(), f = N(() => {
24
24
  var s;
25
- return (s = r == null ? void 0 : r.slice(0, 4)) == null ? void 0 : s.map((e, f) => /* @__PURE__ */ i(
26
- w,
25
+ return (s = r == null ? void 0 : r.slice(0, 4)) == null ? void 0 : s.map((e, g) => /* @__PURE__ */ i(
26
+ U,
27
27
  {
28
28
  title: e == null ? void 0 : e.name,
29
29
  price: e == null ? void 0 : e.price,
@@ -35,29 +35,30 @@ const w = b(y), R = h(
35
35
  onSelectCard: () => o == null ? void 0 : o(e == null ? void 0 : e.uuid),
36
36
  image: d(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null
37
37
  },
38
- f
38
+ g
39
39
  ));
40
40
  }, [r]);
41
- return /* @__PURE__ */ g(
42
- _,
41
+ return /* @__PURE__ */ b(
42
+ w,
43
43
  {
44
+ ref: p,
44
45
  className: `blog-product-cards-section ${m ? "highlight" : ""}`,
45
46
  children: [
46
47
  /* @__PURE__ */ i("div", { className: "wrapper__grid", children: /* @__PURE__ */ i(
47
- M,
48
+ S,
48
49
  {
49
50
  isLoading: a,
50
51
  limit: c,
51
52
  keyPrefix: "blog-section",
52
- children: n
53
+ children: f
53
54
  }
54
55
  ) }),
55
56
  /* @__PURE__ */ i(
56
- S,
57
+ _,
57
58
  {
58
59
  text: u,
59
60
  borderRadius: "curved",
60
- btnType: p ? "basic" : "outline",
61
+ btnType: n ? "basic" : "outline",
61
62
  color: "neutral",
62
63
  className: "wrapper__action",
63
64
  onClick: () => t(l)
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),u=require("react"),f=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./skeleton-CWPYgHom.cjs"),S=require("./Button.cjs"),b=require("./style-BTTXJFJN.cjs"),_=({limit:o=4,isLoading:n=!1,keyPrefix:s})=>r.jsx(r.Fragment,{children:Array.from({length:o},(i,t)=>r.jsx(a.ShopCardSkeleton,{isLoading:n},`${s}-skeleton-shop-card-${t}`))}),k=({children:o,fallbackComponent:n=r.jsx(r.Fragment,{}),isLoading:s=!1,limit:i,keyPrefix:t})=>r.jsx(u.Suspense,{fallbackComponent:n,children:s===!0?r.jsx(_,{isLoading:s,limit:i,keyPrefix:t}):o}),q=u.memo(a.ShopCard),C=u.forwardRef(({buttonText:o,buttonLink:n,items:s,onButtonAction:i=()=>{},onSelectCard:t=()=>{},isLoading:l=!1,limit:d=4,getImage:p=()=>{},isHighlight:h=!1},w)=>{const m=f.useDetectMobile(),g=u.useMemo(()=>{var c;return(c=s==null?void 0:s.slice(0,4))==null?void 0:c.map((e,j)=>r.jsx(q,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,onSelectCard:()=>t==null?void 0:t(e==null?void 0:e.uuid),image:p(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0},`shop-card__${j+1}`))},[s]);return r.jsxs(b.Wrapper,{className:h?"highlight":"",children:[r.jsx("div",{className:"wrapper__grid",children:r.jsx(k,{isLoading:l,limit:d,keyPrefix:"blog-section",children:g})}),r.jsx(S,{text:o,borderRadius:"curved",btnType:m?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>i(n)})]})});module.exports=C;
1
+ "use strict";const r=require("react/jsx-runtime"),u=require("react"),S=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./skeleton-CWPYgHom.cjs"),b=require("./Button.cjs"),_=require("./style-BTTXJFJN.cjs"),k=({limit:o=4,isLoading:n=!1,keyPrefix:s})=>r.jsx(r.Fragment,{children:Array.from({length:o},(i,t)=>r.jsx(a.ShopCardSkeleton,{isLoading:n},`${s}-skeleton-shop-card-${t}`))}),q=({children:o,fallbackComponent:n=r.jsx(r.Fragment,{}),isLoading:s=!1,limit:i,keyPrefix:t})=>r.jsx(u.Suspense,{fallbackComponent:n,children:s===!0?r.jsx(k,{isLoading:s,limit:i,keyPrefix:t}):o}),C=u.memo(a.ShopCard),w=u.forwardRef(({buttonText:o,buttonLink:n,items:s,onButtonAction:i=()=>{},onSelectCard:t=()=>{},isLoading:l=!1,limit:d=4,getImage:p=()=>{},isHighlight:h=!1},m)=>{const g=S.useDetectMobile(),j=u.useMemo(()=>{var c;return(c=s==null?void 0:s.slice(0,4))==null?void 0:c.map((e,f)=>r.jsx(C,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,onSelectCard:()=>t==null?void 0:t(e==null?void 0:e.uuid),image:p(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0},`shop-card__${f+1}`))},[s]);return r.jsxs(_.Wrapper,{ref:m,className:h?"highlight":"",children:[r.jsx("div",{className:"wrapper__grid",children:r.jsx(q,{isLoading:l,limit:d,keyPrefix:"blog-section",children:j})}),r.jsx(b,{text:o,borderRadius:"curved",btnType:g?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>i(n)})]})});module.exports=w;
@@ -1,29 +1,29 @@
1
- import { jsx as o, Fragment as u, jsxs as g } from "react/jsx-runtime";
2
- import { Suspense as S, memo as b, forwardRef as _, useMemo as C } from "react";
3
- import { u as k } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { a as w, S as v } from "./skeleton-Bil8w1A7.js";
5
- import M from "./Button.js";
6
- import { W as y } from "./style-tw6KjI2J.js";
7
- const N = ({ limit: s = 4, isLoading: a = !1, keyPrefix: r }) => /* @__PURE__ */ o(u, { children: Array.from({ length: s }, (i, t) => /* @__PURE__ */ o(
8
- w,
1
+ import { jsx as o, Fragment as u, jsxs as S } from "react/jsx-runtime";
2
+ import { Suspense as b, memo as _, forwardRef as C, useMemo as k } from "react";
3
+ import { u as w } from "./useDetectMobile-Bkvj0VMa.js";
4
+ import { a as v, S as M } from "./skeleton-Bil8w1A7.js";
5
+ import y from "./Button.js";
6
+ import { W as N } from "./style-tw6KjI2J.js";
7
+ const $ = ({ limit: s = 4, isLoading: a = !1, keyPrefix: r }) => /* @__PURE__ */ o(u, { children: Array.from({ length: s }, (i, t) => /* @__PURE__ */ o(
8
+ v,
9
9
  {
10
10
  isLoading: a
11
11
  },
12
12
  `${r}-skeleton-shop-card-${t}`
13
- )) }), $ = ({
13
+ )) }), j = ({
14
14
  children: s,
15
15
  fallbackComponent: a = /* @__PURE__ */ o(u, {}),
16
16
  isLoading: r = !1,
17
17
  limit: i,
18
18
  keyPrefix: t
19
- }) => /* @__PURE__ */ o(S, { fallbackComponent: a, children: r === !0 ? /* @__PURE__ */ o(
20
- N,
19
+ }) => /* @__PURE__ */ o(b, { fallbackComponent: a, children: r === !0 ? /* @__PURE__ */ o(
20
+ $,
21
21
  {
22
22
  isLoading: r,
23
23
  limit: i,
24
24
  keyPrefix: t
25
25
  }
26
- ) : s }), j = b(v), F = _(
26
+ ) : s }), z = _(M), F = C(
27
27
  ({
28
28
  buttonText: s,
29
29
  buttonLink: a,
@@ -37,11 +37,11 @@ const N = ({ limit: s = 4, isLoading: a = !1, keyPrefix: r }) => /* @__PURE__ */
37
37
  getImage: c = () => {
38
38
  },
39
39
  isHighlight: d = !1
40
- }, z) => {
41
- const m = k(), h = C(() => {
40
+ }, m) => {
41
+ const h = w(), f = k(() => {
42
42
  var n;
43
- return (n = r == null ? void 0 : r.slice(0, 4)) == null ? void 0 : n.map((e, f) => /* @__PURE__ */ o(
44
- j,
43
+ return (n = r == null ? void 0 : r.slice(0, 4)) == null ? void 0 : n.map((e, g) => /* @__PURE__ */ o(
44
+ z,
45
45
  {
46
46
  uuid: e == null ? void 0 : e.uuid,
47
47
  title: e == null ? void 0 : e.name,
@@ -52,25 +52,25 @@ const N = ({ limit: s = 4, isLoading: a = !1, keyPrefix: r }) => /* @__PURE__ */
52
52
  image: c(e == null ? void 0 : e.profileImage, e == null ? void 0 : e.uuid) || null,
53
53
  hideProducts: !0
54
54
  },
55
- `shop-card__${f + 1}`
55
+ `shop-card__${g + 1}`
56
56
  ));
57
57
  }, [r]);
58
- return /* @__PURE__ */ g(y, { className: d ? "highlight" : "", children: [
58
+ return /* @__PURE__ */ S(N, { ref: m, className: d ? "highlight" : "", children: [
59
59
  /* @__PURE__ */ o("div", { className: "wrapper__grid", children: /* @__PURE__ */ o(
60
- $,
60
+ j,
61
61
  {
62
62
  isLoading: l,
63
63
  limit: p,
64
64
  keyPrefix: "blog-section",
65
- children: h
65
+ children: f
66
66
  }
67
67
  ) }),
68
68
  /* @__PURE__ */ o(
69
- M,
69
+ y,
70
70
  {
71
71
  text: s,
72
72
  borderRadius: "curved",
73
- btnType: m ? "basic" : "outline",
73
+ btnType: h ? "basic" : "outline",
74
74
  color: "neutral",
75
75
  className: "wrapper__action",
76
76
  onClick: () => i(a)
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),p=require("react"),m=require("./utils-Dl9xPH4c.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),h=o.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),o=require("react"),m=require("./utils-Dl9xPH4c.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./consts-goSZX3xP.cjs"),_=d.styled.div`
2
2
  width: 7.5rem;
3
3
  height: auto;
4
4
  max-height: 7.5rem;
@@ -12,7 +12,7 @@
12
12
  height: auto;
13
13
  }
14
14
 
15
- @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
15
+ @media (max-width: ${l.MOBILE_SIZE_PX+"px"}) {
16
16
  width: 4.5rem;
17
17
  height: auto;
18
18
  max-height: 4.5rem;
@@ -22,16 +22,16 @@
22
22
  height: auto;
23
23
  }
24
24
  }
25
- `,_=o.styled.div`
25
+ `,g=d.styled.div`
26
26
  width: 7.5rem;
27
27
  height: 3.5rem;
28
28
  background: ${m.linearGradientAnimation("-90deg")};
29
29
 
30
- @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
30
+ @media (max-width: ${l.MOBILE_SIZE_PX+"px"}) {
31
31
  width: 4.5rem;
32
32
  height: 4.5rem;
33
33
  }
34
- `,g=p.forwardRef(({imageComponent:t,image:i,onSelectCard:a},l)=>e.jsx(h,{children:m.isDefined(t)?t:e.jsx("img",{src:i,className:"wrapper__image",onClick:a})})),w=p.forwardRef(({},t)=>e.jsx(_,{})),x=o.styled.div`
34
+ `,w=o.forwardRef(({imageComponent:t,image:i,onSelectCard:a},n)=>e.jsx(_,{ref:n,children:m.isDefined(t)?t:e.jsx("img",{src:i,className:"wrapper__image",onClick:a})})),x=o.forwardRef(({},t)=>e.jsx(g,{})),f=d.styled.div`
35
35
  display: flex;
36
36
  flex-direction: column;
37
37
  align-items: flex-start;
@@ -80,7 +80,7 @@
80
80
  }
81
81
  }
82
82
 
83
- @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
83
+ @media (max-width: ${l.MOBILE_SIZE_PX+"px"}) {
84
84
  & .wrapper__content {
85
85
  align-content: center;
86
86
  gap: 1rem;
@@ -91,4 +91,4 @@
91
91
  }
92
92
  }
93
93
  }
94
- `,f=p.forwardRef(({title:t,subtitle:i,items:a=[],isLoading:l=!1,onSelectCard:n=()=>{}},u)=>{var c;return e.jsxs(x,{children:[e.jsxs("div",{className:"wrapper__heading",children:[t&&e.jsx("div",{className:"wrapper__title",children:t}),i&&e.jsx("div",{className:"wrapper__subtitle",children:i})]}),e.jsx("div",{className:"wrapper__content",children:l?(c=Array.from("12345"))==null?void 0:c.map((r,s)=>e.jsx(w,{},`brand-hit-card-skeleton__${s+1}`)):a==null?void 0:a.map((r,s)=>e.jsx(g,{image:r==null?void 0:r.image,imageComponent:r==null?void 0:r.imageComponent,onSelectCard:()=>n==null?void 0:n(r),className:"wrapper__item"},`brand-hit-card__${s+1}`))})]})});module.exports=f;
94
+ `,u=o.forwardRef(({title:t,subtitle:i,items:a=[],isLoading:n=!1,onSelectCard:s=()=>{}},h)=>{var c;return e.jsxs(f,{ref:h,children:[e.jsxs("div",{className:"wrapper__heading",children:[t&&e.jsx("div",{className:"wrapper__title",children:t}),i&&e.jsx("div",{className:"wrapper__subtitle",children:i})]}),e.jsx("div",{className:"wrapper__content",children:n?(c=Array.from("12345"))==null?void 0:c.map((r,p)=>e.jsx(x,{},`brand-hit-card-skeleton__${p+1}`)):a==null?void 0:a.map((r,p)=>e.jsx(w,{image:r==null?void 0:r.image,imageComponent:r==null?void 0:r.imageComponent,onSelectCard:()=>s==null?void 0:s(r),className:"wrapper__item"},`brand-hit-card__${p+1}`))})]})});module.exports=u;