@lanaco/lnc-react-ui 4.0.87 → 4.0.89

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 (237) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionSummary.cjs +1 -1
  4. package/dist/AccordionSummary.js +1 -1
  5. package/dist/ActionsToolbar.cjs +1 -1
  6. package/dist/ActionsToolbar.js +1 -1
  7. package/dist/Alert.cjs +1 -1
  8. package/dist/Alert.js +1 -1
  9. package/dist/Avatar.cjs +1 -1
  10. package/dist/Avatar.js +1 -1
  11. package/dist/Badge.cjs +1 -1
  12. package/dist/Badge.js +1 -1
  13. package/dist/BannerSectionCarousel.cjs +2 -2
  14. package/dist/BannerSectionCarousel.js +5 -2
  15. package/dist/BannerSectionSimple.cjs +7 -7
  16. package/dist/BannerSectionSimple.js +54 -51
  17. package/dist/BannerSectionWithList.cjs +7 -7
  18. package/dist/BannerSectionWithList.js +33 -30
  19. package/dist/BannerSectionWithListImage.cjs +9 -9
  20. package/dist/BannerSectionWithListImage.js +44 -41
  21. package/dist/BlogCardsSponsoredSection.cjs +3 -3
  22. package/dist/BlogCardsSponsoredSection.js +38 -35
  23. package/dist/BlogCategoryCardsSection.cjs +1 -1
  24. package/dist/BlogCategoryCardsSection.js +1 -1
  25. package/dist/BlogListSection.cjs +3 -3
  26. package/dist/BlogListSection.js +16 -16
  27. package/dist/BlogProductCardsSection.cjs +1 -1
  28. package/dist/BlogProductCardsSection.js +2 -2
  29. package/dist/BlogShopCardsSection.cjs +1 -1
  30. package/dist/BlogShopCardsSection.js +1 -1
  31. package/dist/BlogSingleSection.cjs +1 -1
  32. package/dist/BlogSingleSection.js +2 -2
  33. package/dist/BlogsSectionDetailed.cjs +2 -2
  34. package/dist/BlogsSectionDetailed.js +29 -26
  35. package/dist/BlogsSectionLarge.cjs +1 -1
  36. package/dist/BlogsSectionLarge.js +2 -2
  37. package/dist/BlogsSectionSimple.cjs +6 -6
  38. package/dist/BlogsSectionSimple.js +32 -29
  39. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  40. package/dist/BlogsSectionSimpleCentered.js +2 -2
  41. package/dist/BlogsSectionWithFilters.cjs +10 -10
  42. package/dist/BlogsSectionWithFilters.js +109 -101
  43. package/dist/BrandHitsSection.cjs +1 -1
  44. package/dist/BrandHitsSection.js +1 -1
  45. package/dist/Breadcrumbs.cjs +1 -1
  46. package/dist/Breadcrumbs.js +1 -1
  47. package/dist/Button.cjs +1 -1
  48. package/dist/Button.js +1 -1
  49. package/dist/ButtonGroup.cjs +1 -1
  50. package/dist/ButtonGroup.js +1 -1
  51. package/dist/CalorieCalculatorSection.cjs +1 -1
  52. package/dist/CalorieCalculatorSection.js +1 -1
  53. package/dist/CheckBoxInput.cjs +1 -1
  54. package/dist/CheckBoxInput.js +1 -1
  55. package/dist/Chip.cjs +1 -1
  56. package/dist/Chip.js +1 -1
  57. package/dist/ColorInput.cjs +1 -1
  58. package/dist/ColorInput.js +1 -1
  59. package/dist/ConfirmationForm.cjs +1 -1
  60. package/dist/ConfirmationForm.js +1 -1
  61. package/dist/CustomLoanMapSection.cjs +1 -1
  62. package/dist/CustomLoanMapSection.js +1 -1
  63. package/dist/{CustomStyles-DSaRbYZg.js → CustomStyles-CQawr7oF.js} +1 -1
  64. package/dist/{CustomStyles-DzChCA5c.cjs → CustomStyles-Uqkz9jDo.cjs} +1 -1
  65. package/dist/DateInput.cjs +1 -1
  66. package/dist/DateInput.js +1 -1
  67. package/dist/DecimalInput.cjs +1 -1
  68. package/dist/DecimalInput.js +1 -1
  69. package/dist/DecimalInputV2.cjs +1 -1
  70. package/dist/DecimalInputV2.js +1 -1
  71. package/dist/DetailedProductsSection.cjs +4 -4
  72. package/dist/DetailedProductsSection.js +28 -25
  73. package/dist/DetailsView.cjs +1 -1
  74. package/dist/DetailsView.js +1 -1
  75. package/dist/DoubleRangeSlider.cjs +1 -1
  76. package/dist/DoubleRangeSlider.js +1 -1
  77. package/dist/DragAndDropFile.cjs +1 -1
  78. package/dist/DragAndDropFile.js +1 -1
  79. package/dist/DragDropFiles.cjs +1 -1
  80. package/dist/DragDropFiles.js +1 -1
  81. package/dist/Drawer.cjs +1 -1
  82. package/dist/Drawer.js +1 -1
  83. package/dist/Dropdown.cjs +1 -1
  84. package/dist/Dropdown.js +2 -2
  85. package/dist/DropdownItem.cjs +1 -1
  86. package/dist/DropdownItem.js +1 -1
  87. package/dist/DropdownLookup.cjs +1 -1
  88. package/dist/DropdownLookup.js +1 -1
  89. package/dist/DropdownMenu.cjs +1 -1
  90. package/dist/DropdownMenu.js +1 -1
  91. package/dist/EditableTable.cjs +1 -1
  92. package/dist/EditableTable.js +1 -1
  93. package/dist/FieldOfInterestsMasonrySection.cjs +27 -16
  94. package/dist/FieldOfInterestsMasonrySection.js +72 -62
  95. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  96. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
  97. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +2 -1
  98. package/dist/FieldOfInterestsWithTagsCardsSection.js +2 -1
  99. package/dist/FileInput.cjs +1 -1
  100. package/dist/FileInput.js +1 -1
  101. package/dist/FlexGridItem.cjs +1 -1
  102. package/dist/FlexGridItem.js +1 -1
  103. package/dist/FormField.cjs +1 -1
  104. package/dist/FormField.js +1 -1
  105. package/dist/FormView.cjs +1 -1
  106. package/dist/FormView.js +1 -1
  107. package/dist/GeneralWithTagsCardsSection.cjs +4 -4
  108. package/dist/GeneralWithTagsCardsSection.js +5 -5
  109. package/dist/GiftCardsSection.cjs +8 -8
  110. package/dist/GiftCardsSection.js +54 -51
  111. package/dist/Icon.cjs +1 -1
  112. package/dist/Icon.js +1 -1
  113. package/dist/IconButton.cjs +1 -1
  114. package/dist/IconButton.js +1 -1
  115. package/dist/Kanban.cjs +2 -2
  116. package/dist/Kanban.js +84 -82
  117. package/dist/KanbanActionsToolbar.cjs +1 -1
  118. package/dist/KanbanActionsToolbar.js +1 -1
  119. package/dist/KanbanView.cjs +1 -1
  120. package/dist/KanbanView.js +1 -1
  121. package/dist/Link.cjs +1 -1
  122. package/dist/Link.js +1 -1
  123. package/dist/LoanCalculatorSection.cjs +1 -1
  124. package/dist/LoanCalculatorSection.js +1 -1
  125. package/dist/LocationFinderSection.cjs +1 -1
  126. package/dist/LocationFinderSection.js +1 -1
  127. package/dist/LocationSearchSection.cjs +1 -1
  128. package/dist/LocationSearchSection.js +1 -1
  129. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  130. package/dist/MasonryGeneralCardsSection.js +1 -1
  131. package/dist/MenuItem.cjs +1 -1
  132. package/dist/MenuItem.js +1 -1
  133. package/dist/Modal.cjs +1 -1
  134. package/dist/Modal.js +1 -1
  135. package/dist/MultiSelectDropdown.cjs +1 -1
  136. package/dist/MultiSelectDropdown.js +1 -1
  137. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  138. package/dist/MultiSelectDropdownLookup.js +1 -1
  139. package/dist/NestedDropdownItem.cjs +1 -1
  140. package/dist/NestedDropdownItem.js +1 -1
  141. package/dist/NestedMenuItem.cjs +1 -1
  142. package/dist/NestedMenuItem.js +1 -1
  143. package/dist/NotificationContainer.cjs +1 -1
  144. package/dist/NotificationContainer.js +1 -1
  145. package/dist/NotificationMessage.cjs +1 -1
  146. package/dist/NotificationMessage.js +1 -1
  147. package/dist/NumberInput.cjs +1 -1
  148. package/dist/NumberInput.js +1 -1
  149. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  150. package/dist/OverlayGeneralCardsSection.js +2 -2
  151. package/dist/PasswordInput.cjs +1 -1
  152. package/dist/PasswordInput.js +1 -1
  153. package/dist/PopoverContent.cjs +1 -1
  154. package/dist/PopoverContent.js +1 -1
  155. package/dist/ProductsWithBannerSection.cjs +1 -1
  156. package/dist/ProductsWithBannerSection.js +3 -3
  157. package/dist/ProgressBar.cjs +1 -1
  158. package/dist/ProgressBar.js +1 -1
  159. package/dist/QuizSection.cjs +1 -1
  160. package/dist/QuizSection.js +1 -1
  161. package/dist/RadioInput.cjs +1 -1
  162. package/dist/RadioInput.js +1 -1
  163. package/dist/RangeSlider.cjs +1 -1
  164. package/dist/RangeSlider.js +1 -1
  165. package/dist/ReviewsSection.cjs +1 -1
  166. package/dist/ReviewsSection.js +23 -23
  167. package/dist/SalesCampaignsSection.cjs +1 -1
  168. package/dist/SalesCampaignsSection.js +1 -1
  169. package/dist/Separator.cjs +1 -1
  170. package/dist/Separator.js +1 -1
  171. package/dist/ShopCardsSection.cjs +1 -1
  172. package/dist/ShopCardsSection.js +2 -2
  173. package/dist/Sidebar.cjs +1 -1
  174. package/dist/Sidebar.js +1 -1
  175. package/dist/SimpleCategoriesSection.cjs +2 -2
  176. package/dist/SimpleCategoriesSection.js +18 -15
  177. package/dist/SimpleProductsSection.cjs +1 -1
  178. package/dist/SimpleProductsSection.js +2 -2
  179. package/dist/Spinner.cjs +1 -1
  180. package/dist/Spinner.js +1 -1
  181. package/dist/Surface.cjs +1 -1
  182. package/dist/Surface.js +1 -1
  183. package/dist/SwipeableDrawer.cjs +1 -1
  184. package/dist/SwipeableDrawer.js +1 -1
  185. package/dist/TabItem.cjs +1 -1
  186. package/dist/TabItem.js +1 -1
  187. package/dist/Table.cjs +1 -1
  188. package/dist/Table.js +1 -1
  189. package/dist/TableView.cjs +1 -1
  190. package/dist/TableView.js +1 -1
  191. package/dist/TextAreaInput.cjs +1 -1
  192. package/dist/TextAreaInput.js +1 -1
  193. package/dist/TextInput.cjs +1 -1
  194. package/dist/TextInput.js +1 -1
  195. package/dist/ThemeProvider.cjs +1 -1
  196. package/dist/ThemeProvider.js +1 -1
  197. package/dist/TimeInput.cjs +1 -1
  198. package/dist/TimeInput.js +1 -1
  199. package/dist/Toggle.cjs +1 -1
  200. package/dist/Toggle.js +1 -1
  201. package/dist/TreeMenuSeparator.cjs +1 -1
  202. package/dist/TreeMenuSeparator.js +1 -1
  203. package/dist/UploadedFile.cjs +1 -1
  204. package/dist/UploadedFile.js +1 -1
  205. package/dist/UrgentSaleProductsSection.cjs +2 -2
  206. package/dist/UrgentSaleProductsSection.js +34 -31
  207. package/dist/{index-DG7qQq8L.cjs → index-66FyQgVV.cjs} +1 -1
  208. package/dist/{index-Yh18uk_f.js → index-B68jh2kW.js} +2 -2
  209. package/dist/{index-BVaZWq6y.cjs → index-BRgZcjpI.cjs} +1 -1
  210. package/dist/{index-BBPnKoi6.js → index-BT4FT6f0.js} +2 -2
  211. package/dist/{index-Db8wvLXS.js → index-Chju-CHz.js} +1 -1
  212. package/dist/{index-Ca38iPjf.js → index-Cpd68IKh.js} +1 -1
  213. package/dist/{index-B9HSHvhH.cjs → index-D8lR_JKg.cjs} +1 -1
  214. package/dist/{index-iSD5jNBk.js → index-DHQc2df3.js} +98 -46
  215. package/dist/{index-Ccw8sLnK.cjs → index-DMysapsB.cjs} +1 -1
  216. package/dist/{index-Cx4KvZ9L.cjs → index-DZDz9qZP.cjs} +47 -9
  217. package/dist/index.cjs +1 -1
  218. package/dist/index.js +1 -1
  219. package/dist/{skeleton-DALCB1S7.js → skeleton-BbYMdJpz.js} +1 -1
  220. package/dist/{skeleton-BBSBZ4JV.cjs → skeleton-BcaMeKFQ.cjs} +1 -1
  221. package/dist/{skeleton-C_Jypl8r.cjs → skeleton-DwZzdFei.cjs} +5 -5
  222. package/dist/{skeleton-wfDIalr3.js → skeleton-oa1ux_Zp.js} +6 -6
  223. package/dist/{style-xvwWn3Zv.cjs → style-B8wrlDzY.cjs} +13 -7
  224. package/dist/{style-sLF37aOA.js → style-R2KgPcrd.js} +17 -10
  225. package/dist/{suspense-categories-card-simple-5JZtz7wj.cjs → suspense-categories-card-simple-B2swGa6t.cjs} +1 -1
  226. package/dist/{suspense-categories-card-simple-BTFqzXyn.js → suspense-categories-card-simple-Dkm0oojD.js} +1 -1
  227. package/dist/{suspense-large-DFlSJhGG.js → suspense-large-B2lY_x-y.js} +1 -1
  228. package/dist/{suspense-large-BtfvnzWh.cjs → suspense-large-DMhn-lIG.cjs} +1 -1
  229. package/dist/{suspense-product-card-detailed-CwdbxJrY.js → suspense-product-card-detailed-5A3zYKqj.js} +2 -2
  230. package/dist/{suspense-product-card-detailed-DBNlkFiP.cjs → suspense-product-card-detailed-CuExvgd_.cjs} +1 -1
  231. package/dist/{suspense-product-card-simple--ExcEpD-.js → suspense-product-card-simple-C4qtjWg_.js} +1 -1
  232. package/dist/{suspense-product-card-simple-0x5sc47a.cjs → suspense-product-card-simple-zYdZVLRz.cjs} +1 -1
  233. package/dist/{utils-DhRHf5Ed.cjs → utils-BWzf4vLl.cjs} +1 -1
  234. package/dist/{utils-BE-UlkKf.js → utils-BhG1dImS.js} +4 -4
  235. package/package.json +1 -1
  236. package/dist/useEffectOnce-DFrzfNzT.cjs +0 -1
  237. package/dist/useEffectOnce-guOKBPuL.js +0 -7
@@ -3,10 +3,10 @@ import { forwardRef as v, memo as z, useMemo as I } from "react";
3
3
  import h from "./Icon.js";
4
4
  import b from "./IconButton.js";
5
5
  import R from "./Chip.js";
6
- import { t as j, p as k, q as C, s as w } from "./utils-BE-UlkKf.js";
7
- import { P } from "./index-Ca38iPjf.js";
6
+ import { n as j, p as k, q as C, s as w } from "./utils-BhG1dImS.js";
7
+ import { P } from "./index-Cpd68IKh.js";
8
8
  import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
9
- import { S as $ } from "./suspense-large-DFlSJhGG.js";
9
+ import { S as $ } from "./suspense-large-B2lY_x-y.js";
10
10
  const L = y.div`
11
11
  display: flex;
12
12
  padding: 1rem;
@@ -134,8 +134,8 @@ const L = y.div`
134
134
  publishedAt: l,
135
135
  timeToReadText: s = "{0} min read",
136
136
  timeToRead: o = 0,
137
- numberOfLikes: d = 0,
138
- numberOfComments: c = 0,
137
+ numberOfLikes: c = 0,
138
+ numberOfComments: d = 0,
139
139
  onSelectCard: p = () => {
140
140
  },
141
141
  onSelectOption: u = () => {
@@ -170,11 +170,11 @@ const L = y.div`
170
170
  /* @__PURE__ */ i("div", { className: "info__text", children: [
171
171
  /* @__PURE__ */ i("div", { children: [
172
172
  /* @__PURE__ */ t(h, { icon: " mng-lnc-thumbs-up", sizeInUnits: "1rem" }),
173
- w(d)
173
+ w(c)
174
174
  ] }),
175
175
  /* @__PURE__ */ i("div", { children: [
176
176
  /* @__PURE__ */ t(h, { icon: " mng-lnc-messages", sizeInUnits: "1rem" }),
177
- w(c)
177
+ w(d)
178
178
  ] })
179
179
  ] })
180
180
  ] }),
@@ -229,7 +229,7 @@ const L = y.div`
229
229
  bottom: -0.75rem;
230
230
  }
231
231
  }
232
- `, B = z(T), G = v(
232
+ `, B = z(T), H = v(
233
233
  ({
234
234
  timeToReadText: m = "{0} min read",
235
235
  items: n,
@@ -241,8 +241,8 @@ const L = y.div`
241
241
  },
242
242
  onBookmark: o = () => {
243
243
  },
244
- isLoading: d = !1,
245
- getImage: c = () => {
244
+ isLoading: c = !1,
245
+ getImage: d = () => {
246
246
  },
247
247
  isSeparated: p = !0
248
248
  }, u) => {
@@ -258,18 +258,18 @@ const L = y.div`
258
258
  numberOfLikes: e == null ? void 0 : e.numberOfLikes,
259
259
  numberOfComments: e == null ? void 0 : e.numberOfComments,
260
260
  isSponsored: e == null ? void 0 : e.isSponsored,
261
- onSelectCard: () => a == null ? void 0 : a(e == null ? void 0 : e.uuid, e == null ? void 0 : e.titleSlug),
261
+ onSelectCard: () => a == null ? void 0 : a(e),
262
262
  onSelectOption: (r) => l == null ? void 0 : l(r),
263
- onShare: () => s == null ? void 0 : s(e == null ? void 0 : e.uuid),
264
- onBookmark: () => o == null ? void 0 : o(e == null ? void 0 : e.uuid),
265
- imageUrl: c(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
263
+ onShare: () => s == null ? void 0 : s(e),
264
+ onBookmark: () => o == null ? void 0 : o(e),
265
+ imageUrl: d(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
266
266
  },
267
267
  `blog-card-item__${_ + 1}`
268
268
  )), [n]);
269
269
  return /* @__PURE__ */ t(U, { className: p ? "separated" : "", children: /* @__PURE__ */ t(
270
270
  $,
271
271
  {
272
- isLoading: d,
272
+ isLoading: c,
273
273
  limit: 5,
274
274
  keyPrefix: "blog-section",
275
275
  children: f
@@ -278,5 +278,5 @@ const L = y.div`
278
278
  }
279
279
  );
280
280
  export {
281
- G as default
281
+ H as default
282
282
  };
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),u=require("react"),q=require("./useDetectMobile-zkbzoOGV.cjs"),P=require("./index-B9HSHvhH.cjs"),f=require("./suspense-product-card-simple-0x5sc47a.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: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"),q=require("./useDetectMobile-zkbzoOGV.cjs"),P=require("./index-D8lR_JKg.cjs"),f=require("./suspense-product-card-simple-zYdZVLRz.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: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,8 +1,8 @@
1
1
  import { jsx as i, jsxs as g } from "react/jsx-runtime";
2
2
  import { memo as b, forwardRef as h, useMemo as P } from "react";
3
3
  import { u as N } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { S as y } from "./index-BBPnKoi6.js";
5
- import { S as M } from "./suspense-product-card-simple--ExcEpD-.js";
4
+ import { S as y } from "./index-BT4FT6f0.js";
5
+ import { S as M } from "./suspense-product-card-simple-C4qtjWg_.js";
6
6
  import S from "./Button.js";
7
7
  import { W as _ } from "./style-tw6KjI2J.js";
8
8
  const w = b(y), R = h(
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),u=require("react"),f=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./skeleton-C_Jypl8r.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"),f=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./skeleton-DwZzdFei.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,7 +1,7 @@
1
1
  import { jsx as o, Fragment as u, jsxs as g } from "react/jsx-runtime";
2
2
  import { Suspense as S, memo as b, forwardRef as _, useMemo as C } from "react";
3
3
  import { u as k } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { a as w, S as v } from "./skeleton-wfDIalr3.js";
4
+ import { a as w, S as v } from "./skeleton-oa1ux_Zp.js";
5
5
  import M from "./Button.js";
6
6
  import { W as y } from "./style-tw6KjI2J.js";
7
7
  const N = ({ limit: s = 4, isLoading: a = !1, keyPrefix: r }) => /* @__PURE__ */ o(u, { children: Array.from({ length: s }, (i, t) => /* @__PURE__ */ o(
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),o=require("react"),g=require("./index-Ccw8sLnK.cjs"),a=require("./skeleton-BBSBZ4JV.cjs"),c=({limit:t=1,isLoading:l=!1,keyPrefix:n})=>r.jsx(r.Fragment,{children:Array.from({length:t},(e,s)=>r.jsx(a.BlogCardLargeSkeleton,{isLoading:l},`${n}-skeleton-product-card-${s}`))}),x=({children:t,fallbackComponent:l=r.jsx(r.Fragment,{}),isLoading:n=!1,limit:e,keyPrefix:s})=>r.jsx(o.Suspense,{fallbackComponent:l,children:n===!0?r.jsx(c,{isLoading:n,limit:e,keyPrefix:s}):t}),d=o.forwardRef((t,l)=>{const{isLoading:n,item:e,onSelectCard:s=()=>{},getImage:u=()=>{}}=t;return r.jsx(x,{isLoading:n,limit:1,keyPrefix:"explore-landing",children:r.jsx(g.BlogCardLarge,{ref:l,title:e==null?void 0:e.title,imageUrl:u(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>s(e==null?void 0:e.titleSlug)})})});module.exports=d;
1
+ "use strict";const r=require("react/jsx-runtime"),o=require("react"),g=require("./index-DMysapsB.cjs"),a=require("./skeleton-BcaMeKFQ.cjs"),c=({limit:t=1,isLoading:l=!1,keyPrefix:n})=>r.jsx(r.Fragment,{children:Array.from({length:t},(e,s)=>r.jsx(a.BlogCardLargeSkeleton,{isLoading:l},`${n}-skeleton-product-card-${s}`))}),x=({children:t,fallbackComponent:l=r.jsx(r.Fragment,{}),isLoading:n=!1,limit:e,keyPrefix:s})=>r.jsx(o.Suspense,{fallbackComponent:l,children:n===!0?r.jsx(c,{isLoading:n,limit:e,keyPrefix:s}):t}),d=o.forwardRef((t,l)=>{const{isLoading:n,item:e,onSelectCard:s=()=>{},getImage:u=()=>{}}=t;return r.jsx(x,{isLoading:n,limit:1,keyPrefix:"explore-landing",children:r.jsx(g.BlogCardLarge,{ref:l,title:e==null?void 0:e.title,imageUrl:u(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>s(e==null?void 0:e.titleSlug)})})});module.exports=d;
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
2
  import { Suspense as s, forwardRef as u } from "react";
3
- import { B as d } from "./index-Yh18uk_f.js";
4
- import { B as c } from "./skeleton-DALCB1S7.js";
3
+ import { B as d } from "./index-B68jh2kW.js";
4
+ import { B as c } from "./skeleton-BbYMdJpz.js";
5
5
  const f = ({ limit: o = 1, isLoading: t = !1, keyPrefix: l }) => /* @__PURE__ */ e(a, { children: Array.from({ length: o }, (r, n) => /* @__PURE__ */ e(
6
6
  c,
7
7
  {
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),g=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),r=require("./utils-DhRHf5Ed.cjs"),N=require("./style-xvwWn3Zv.cjs"),T=require("./Button.cjs"),O=require("./index-BVaZWq6y.cjs"),A=w.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),u=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),r=require("./utils-BWzf4vLl.cjs"),N=require("./style-B8wrlDzY.cjs"),T=require("./Button.cjs"),O=require("./index-BRgZcjpI.cjs"),A=w.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -108,4 +108,4 @@
108
108
  align-items: center;
109
109
  gap: 1rem;
110
110
  }
111
- `,$=g.forwardRef((i,l)=>{const{title:s,imageUrl:m,text:o,numberOfLikes:n,numberOfComments:f,timeToRead:u,publishedAt:c,tags:d,onCardClick:b,timeToReadText:p="{0} min read"}=i;return t.jsxs(k,{ref:l,className:"blog-card",onClick:b,children:[t.jsx(O.ProductImageWrapper,{src:m}),t.jsxs(S,{children:[t.jsxs("div",{className:"info-wr",children:[t.jsxs("div",{className:"info-wr-1",children:[t.jsxs("span",{children:[r.formatLocaleDateString(c)," "]}),t.jsx("span",{className:"small-dot",children:"●"}),u&&p?`${r.formatString(p,u)}`:"N/A"]}),t.jsxs("div",{className:"info-wr-2",children:[t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-thumbs-up--filled"}),t.jsx("span",{children:r.getRoundedNumber(n)})]}),t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-messages-filled"}),t.jsx("span",{children:r.getRoundedNumber(f)})]})]})]}),t.jsx("div",{className:"text-wr-title",children:s}),t.jsx("div",{className:"text-wr",children:o})]}),t.jsx("div",{className:"tags-wr",children:d==null?void 0:d.map((a,h)=>t.jsx(N.BlogTag,{color:a==null?void 0:a.color,children:a==null?void 0:a.name},h))})]})}),D=g.forwardRef(({},i)=>t.jsxs(k,{className:"blog-card",children:[t.jsx("div",{className:"skeleton-img"}),t.jsxs(S,{children:[t.jsx("div",{className:"info-wr"}),t.jsx("div",{className:"skeleton-title"}),t.jsx("div",{className:"info-wr-skeleton"})]})]})),q=({limit:i=3,isLoading:l=!1,keyPrefix:s})=>t.jsx(t.Fragment,{children:Array.from({length:i},(m,o)=>t.jsx(D,{isLoading:l},`${s}-skeleton-product-card-${o}`))}),B=({children:i,fallbackComponent:l=t.jsx(t.Fragment,{}),isLoading:s=!1,limit:m,keyPrefix:o})=>t.jsx(g.Suspense,{fallbackComponent:l,children:s===!0?t.jsx(q,{isLoading:s,limit:m,keyPrefix:o}):i}),v=g.memo($),L=g.forwardRef((i,l)=>{const{icon:s,title:m,onButtonAction:o,items:n,buttonText:f,timeToReadText:u,limit:c=3,onSelectCard:d=()=>{},isLoading:b=!1,buttonLink:p,getImage:a=()=>{}}=i,h=R.useDetectMobile(),C=g.useMemo(()=>t.jsx(t.Fragment,{children:h===!0?n==null?void 0:n.map((e,j)=>t.jsx(v,{title:e==null?void 0:e.title,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:u,tags:e==null?void 0:e.tags,onCardClick:()=>d(e==null?void 0:e.titleSlug),imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},j)):n==null?void 0:n.slice(0,c).map((e,j)=>t.jsx(v,{title:e==null?void 0:e.title,imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,tags:e==null?void 0:e.tags,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:u,onCardClick:()=>d(e==null?void 0:e.titleSlug)},j))}),[n,h,c,d]);return t.jsxs(N.RegulatTitleSectionWrapper,{ref:l,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[r.isDefinedNotEmptyString(s)&&t.jsx("i",{className:s}),t.jsx("span",{children:m})]}),r.isDefinedNotEmptyString(f)&&r.isDefinedNotEmptyString(p)&&t.jsx(T,{type:"button",btnType:"tinted",color:"gray",onClick:()=>o(p),borderRadius:"curved",children:f})]}),t.jsx(A,{limit:c,children:t.jsx(B,{isLoading:b,limit:c,keyPrefix:"explore-landing",children:C})})]})});module.exports=L;
111
+ `,$=u.forwardRef((i,l)=>{const{title:s,imageUrl:m,text:o,numberOfLikes:n,numberOfComments:h,timeToRead:p,publishedAt:c,tags:d,onCardClick:j,timeToReadText:f="{0} min read"}=i;return t.jsxs(k,{ref:l,className:"blog-card",onClick:j,children:[t.jsx(O.ProductImageWrapper,{src:m}),t.jsxs(S,{children:[t.jsxs("div",{className:"info-wr",children:[t.jsxs("div",{className:"info-wr-1",children:[t.jsxs("span",{children:[r.formatLocaleDateString(c)," "]}),t.jsx("span",{className:"small-dot",children:"●"}),p&&f?`${r.formatString(f,p)}`:"N/A"]}),t.jsxs("div",{className:"info-wr-2",children:[t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-thumbs-up--filled"}),t.jsx("span",{children:r.getRoundedNumber(n)})]}),t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-messages-filled"}),t.jsx("span",{children:r.getRoundedNumber(h)})]})]})]}),t.jsx("div",{className:"text-wr-title",children:s}),t.jsx("div",{className:"text-wr",children:o})]}),t.jsx("div",{className:"tags-wr",children:d==null?void 0:d.map((a,b)=>t.jsx(N.BlogTag,{color:a==null?void 0:a.color,children:a==null?void 0:a.name},b))})]})}),D=u.forwardRef(({},i)=>t.jsxs(k,{className:"blog-card",children:[t.jsx("div",{className:"skeleton-img"}),t.jsxs(S,{children:[t.jsx("div",{className:"info-wr"}),t.jsx("div",{className:"skeleton-title"}),t.jsx("div",{className:"info-wr-skeleton"})]})]})),q=({limit:i=3,isLoading:l=!1,keyPrefix:s})=>t.jsx(t.Fragment,{children:Array.from({length:i},(m,o)=>t.jsx(D,{isLoading:l},`${s}-skeleton-product-card-${o}`))}),B=({children:i,fallbackComponent:l=t.jsx(t.Fragment,{}),isLoading:s=!1,limit:m,keyPrefix:o})=>t.jsx(u.Suspense,{fallbackComponent:l,children:s===!0?t.jsx(q,{isLoading:s,limit:m,keyPrefix:o}):i}),v=u.memo($),L=u.forwardRef((i,l)=>{const{icon:s,title:m,onButtonAction:o,items:n,buttonText:h,timeToReadText:p,limit:c=3,onSelectCard:d=()=>{},isLoading:j=!1,buttonLink:f,getImage:a=()=>{}}=i,b=R.useDetectMobile(),C=u.useMemo(()=>t.jsx(t.Fragment,{children:b===!0?n==null?void 0:n.map((e,g)=>t.jsx(v,{title:e==null?void 0:e.title,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:p,tags:e==null?void 0:e.tags,onCardClick:()=>d(e==null?void 0:e.titleSlug),imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},g)):n==null?void 0:n.slice(0,c).map((e,g)=>t.jsx(v,{title:e==null?void 0:e.title,imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,tags:e==null?void 0:e.tags,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,publishedAt:e==null?void 0:e.publishedAt,timeToRead:e==null?void 0:e.timeToRead,timeToReadText:p,onCardClick:()=>d(e==null?void 0:e.titleSlug)},g))}),[n,b,c,d]);return t.jsxs(N.RegulatTitleSectionWrapper,{ref:l,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[r.isDefinedNotEmptyString(s)&&t.jsx("i",{className:s}),t.jsx("span",{children:m})]}),r.isDefinedNotEmptyString(h)&&r.isDefinedNotEmptyString(f)&&t.jsx(T,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var g;(g=e==null?void 0:e.target)==null||g.blur(),o(f)},borderRadius:"curved",children:h})]}),t.jsx(A,{limit:c,children:t.jsx(B,{isLoading:j,limit:c,keyPrefix:"explore-landing",children:C})})]})});module.exports=L;
@@ -3,10 +3,10 @@ import { forwardRef as N, Suspense as A, memo as B, useMemo as L } from "react";
3
3
  import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as T } from "./consts-BuFChS64.js";
5
5
  import { u as D } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { m as v, t as P, q as z, p as M, s as C, k as w } from "./utils-BE-UlkKf.js";
7
- import { B as I, R as U } from "./style-sLF37aOA.js";
6
+ import { m as v, n as P, q as z, p as M, s as C, k as w } from "./utils-BhG1dImS.js";
7
+ import { B as I, R as U } from "./style-R2KgPcrd.js";
8
8
  import W from "./Button.js";
9
- import { P as j } from "./index-Ca38iPjf.js";
9
+ import { P as j } from "./index-Cpd68IKh.js";
10
10
  const E = y.div`
11
11
  display: grid;
12
12
  grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
@@ -123,16 +123,16 @@ const E = y.div`
123
123
  imageUrl: d,
124
124
  text: s,
125
125
  numberOfLikes: l,
126
- numberOfComments: u,
127
- timeToRead: g,
126
+ numberOfComments: f,
127
+ timeToRead: p,
128
128
  publishedAt: c,
129
129
  tags: m,
130
- onCardClick: h,
131
- timeToReadText: p = "{0} min read"
130
+ onCardClick: b,
131
+ timeToReadText: u = "{0} min read"
132
132
  } = i;
133
133
  return (
134
134
  // <BlogCardDetailedSkeleton />
135
- /* @__PURE__ */ t(R, { ref: o, className: "blog-card", onClick: h, children: [
135
+ /* @__PURE__ */ t(R, { ref: o, className: "blog-card", onClick: b, children: [
136
136
  /* @__PURE__ */ r(j, { src: d }),
137
137
  /* @__PURE__ */ t(O, { children: [
138
138
  /* @__PURE__ */ t("div", { className: "info-wr", children: [
@@ -142,7 +142,7 @@ const E = y.div`
142
142
  " "
143
143
  ] }),
144
144
  /* @__PURE__ */ r("span", { className: "small-dot", children: "●" }),
145
- g && p ? `${z(p, g)}` : "N/A"
145
+ p && u ? `${z(u, p)}` : "N/A"
146
146
  ] }),
147
147
  /* @__PURE__ */ t("div", { className: "info-wr-2", children: [
148
148
  /* @__PURE__ */ t("span", { className: "info-wr-1", children: [
@@ -151,14 +151,14 @@ const E = y.div`
151
151
  ] }),
152
152
  /* @__PURE__ */ t("span", { className: "info-wr-1", children: [
153
153
  /* @__PURE__ */ r("i", { className: "mng mng-lnc-messages-filled" }),
154
- /* @__PURE__ */ r("span", { children: C(u) })
154
+ /* @__PURE__ */ r("span", { children: C(f) })
155
155
  ] })
156
156
  ] })
157
157
  ] }),
158
158
  /* @__PURE__ */ r("div", { className: "text-wr-title", children: a }),
159
159
  /* @__PURE__ */ r("div", { className: "text-wr", children: s })
160
160
  ] }),
161
- /* @__PURE__ */ r("div", { className: "tags-wr", children: m == null ? void 0 : m.map((n, f) => /* @__PURE__ */ r(I, { color: n == null ? void 0 : n.color, children: n == null ? void 0 : n.name }, f)) })
161
+ /* @__PURE__ */ r("div", { className: "tags-wr", children: m == null ? void 0 : m.map((n, h) => /* @__PURE__ */ r(I, { color: n == null ? void 0 : n.color, children: n == null ? void 0 : n.name }, h)) })
162
162
  ] })
163
163
  );
164
164
  }), G = N(({}, i) => /* @__PURE__ */ t(R, { className: "blog-card", children: [
@@ -193,16 +193,16 @@ const E = y.div`
193
193
  title: d,
194
194
  onButtonAction: s,
195
195
  items: l,
196
- buttonText: u,
197
- timeToReadText: g,
196
+ buttonText: f,
197
+ timeToReadText: p,
198
198
  limit: c = 3,
199
199
  onSelectCard: m = () => {
200
200
  },
201
- isLoading: h = !1,
202
- buttonLink: p,
201
+ isLoading: b = !1,
202
+ buttonLink: u,
203
203
  getImage: n = () => {
204
204
  }
205
- } = i, f = D(), $ = L(() => /* @__PURE__ */ r(k, { children: f === !0 ? l == null ? void 0 : l.map((e, b) => /* @__PURE__ */ r(
205
+ } = i, h = D(), $ = L(() => /* @__PURE__ */ r(k, { children: h === !0 ? l == null ? void 0 : l.map((e, g) => /* @__PURE__ */ r(
206
206
  S,
207
207
  {
208
208
  title: e == null ? void 0 : e.title,
@@ -212,13 +212,13 @@ const E = y.div`
212
212
  numberOfComments: e == null ? void 0 : e.numberOfComments,
213
213
  publishedAt: e == null ? void 0 : e.publishedAt,
214
214
  timeToRead: e == null ? void 0 : e.timeToRead,
215
- timeToReadText: g,
215
+ timeToReadText: p,
216
216
  tags: e == null ? void 0 : e.tags,
217
217
  onCardClick: () => m(e == null ? void 0 : e.titleSlug),
218
218
  imageUrl: n(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
219
219
  },
220
- b
221
- )) : l == null ? void 0 : l.slice(0, c).map((e, b) => /* @__PURE__ */ r(
220
+ g
221
+ )) : l == null ? void 0 : l.slice(0, c).map((e, g) => /* @__PURE__ */ r(
222
222
  S,
223
223
  {
224
224
  title: e == null ? void 0 : e.title,
@@ -230,33 +230,36 @@ const E = y.div`
230
230
  numberOfComments: e == null ? void 0 : e.numberOfComments,
231
231
  publishedAt: e == null ? void 0 : e.publishedAt,
232
232
  timeToRead: e == null ? void 0 : e.timeToRead,
233
- timeToReadText: g,
233
+ timeToReadText: p,
234
234
  onCardClick: () => m(e == null ? void 0 : e.titleSlug)
235
235
  },
236
- b
237
- )) }), [l, f, c, m]);
236
+ g
237
+ )) }), [l, h, c, m]);
238
238
  return /* @__PURE__ */ t(U, { ref: o, children: [
239
239
  /* @__PURE__ */ t("div", { className: "regular-title", children: [
240
240
  /* @__PURE__ */ t("div", { className: "regular-title-text", children: [
241
241
  w(a) && /* @__PURE__ */ r("i", { className: a }),
242
242
  /* @__PURE__ */ r("span", { children: d })
243
243
  ] }),
244
- w(u) && w(p) && /* @__PURE__ */ r(
244
+ w(f) && w(u) && /* @__PURE__ */ r(
245
245
  W,
246
246
  {
247
247
  type: "button",
248
248
  btnType: "tinted",
249
249
  color: "gray",
250
- onClick: () => s(p),
250
+ onClick: (e) => {
251
+ var g;
252
+ (g = e == null ? void 0 : e.target) == null || g.blur(), s(u);
253
+ },
251
254
  borderRadius: "curved",
252
- children: u
255
+ children: f
253
256
  }
254
257
  )
255
258
  ] }),
256
259
  /* @__PURE__ */ r(E, { limit: c, children: /* @__PURE__ */ r(
257
260
  F,
258
261
  {
259
- isLoading: h,
262
+ isLoading: b,
260
263
  limit: c,
261
264
  keyPrefix: "explore-landing",
262
265
  children: $
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),s=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),b=require("./useDetectMobile-zkbzoOGV.cjs"),q=require("./index-Ccw8sLnK.cjs"),C=require("./suspense-large-BtfvnzWh.cjs"),f=p.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),s=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),b=require("./useDetectMobile-zkbzoOGV.cjs"),q=require("./index-DMysapsB.cjs"),C=require("./suspense-large-DMhn-lIG.cjs"),f=p.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${l=>`repeat(${l.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,8 +3,8 @@ import { memo as c, forwardRef as f, useMemo as S } from "react";
3
3
  import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as b } from "./consts-BuFChS64.js";
5
5
  import { u as B } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { B as M } from "./index-Yh18uk_f.js";
7
- import { S as L } from "./suspense-large-DFlSJhGG.js";
6
+ import { B as M } from "./index-B68jh2kW.js";
7
+ import { S as L } from "./suspense-large-B2lY_x-y.js";
8
8
  const h = C.div`
9
9
  display: grid;
10
10
  grid-template-columns: ${(l) => `repeat(${l.limit}, minmax(0, 1fr))`};
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),a=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),N=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-DhRHf5Ed.cjs"),x=require("./style-xvwWn3Zv.cjs"),q=require("./Button.cjs"),R=require("./Link.cjs"),M=require("./index-BVaZWq6y.cjs"),B=p.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),c=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),N=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./utils-BWzf4vLl.cjs"),x=require("./style-B8wrlDzY.cjs"),q=require("./Button.cjs"),R=require("./Link.cjs"),M=require("./index-BRgZcjpI.cjs"),B=p.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${t=>`repeat(${t.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -6,7 +6,7 @@
6
6
  @media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
7
7
  grid-template-columns: repeat(1, 1fr);
8
8
  }
9
- `,y=p.styled.div`
9
+ `,b=p.styled.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  width: 100%;
@@ -38,7 +38,7 @@
38
38
  width: 100%;
39
39
  max-height: 12.5625rem;
40
40
  min-height: 12.5625rem;
41
- background-color: ${m.linearGradientAnimation("-90deg")};
41
+ background-color: ${u.linearGradientAnimation("-90deg")};
42
42
  }
43
43
 
44
44
  & .action {
@@ -48,7 +48,7 @@
48
48
 
49
49
  @media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
50
50
  }
51
- `,b=p.styled.div`
51
+ `,y=p.styled.div`
52
52
  padding: 1rem 1rem 0 1rem;
53
53
  display: flex;
54
54
  flex-direction: column;
@@ -66,6 +66,6 @@
66
66
  font-size: 0.875rem;
67
67
  flex: 1;
68
68
  color: var(--gray-700, #4e555f);
69
- ${m.truncateTextInRows(3)}
69
+ ${u.truncateTextInRows(3)}
70
70
  }
71
- `,$=a.forwardRef((t,o)=>{const{title:i,imageUrl:s,text:l,onCardClick:c,readMoreText:d="Read more"}=t;return r.jsxs(y,{ref:o,className:"blog-card",onClick:c,children:[r.jsx(M.ProductImageWrapper,{src:s}),r.jsxs(b,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:l})]}),r.jsx(R,{className:"action",color:"gray",onClick:c,children:d})]})}),I=a.forwardRef(({},t)=>r.jsxs(y,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(b,{})]})),P=({limit:t=3,isLoading:o=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(s,l)=>r.jsx(I,{isLoading:o},`${i}-skeleton-product-card-${l}`))}),T=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:s,keyPrefix:l})=>r.jsx(a.Suspense,{fallbackComponent:o,children:i===!0?r.jsx(P,{isLoading:i,limit:s,keyPrefix:l}):t}),j=a.memo($),_=a.forwardRef((t,o)=>{const{icon:i,title:s,onButtonAction:l=()=>{},onSelectCard:c=()=>{},buttonLink:d,items:n,buttonText:v,limit:u=3,isLoading:w=!1,getImage:h=()=>{},readMoreText:f="Read more"}=t,k=N.useDetectMobile(),C=a.useMemo(()=>r.jsx(r.Fragment,{children:k===!0?n==null?void 0:n.map((e,g)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>c(e==null?void 0:e.titleSlug)},g)):n==null?void 0:n.slice(0,u).map((e,g)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>c(e==null?void 0:e.titleSlug)},g))}),[n]);return r.jsxs(x.RegulatTitleSectionWrapper,{ref:o,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[m.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:s})]}),m.isDefinedNotEmptyString(d)&&r.jsx(q,{type:"button",btnType:"tinted",color:"gray",onClick:()=>l(d),borderRadius:"curved",children:v})]}),r.jsx(B,{limit:u,children:r.jsx(T,{isLoading:w,limit:u,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
71
+ `,$=c.forwardRef((t,o)=>{const{title:i,imageUrl:s,text:l,onCardClick:d,readMoreText:m="Read more"}=t;return r.jsxs(b,{ref:o,className:"blog-card",onClick:d,children:[r.jsx(M.ProductImageWrapper,{src:s}),r.jsxs(y,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:l})]}),r.jsx(R,{className:"action",color:"gray",onClick:d,children:m})]})}),I=c.forwardRef(({},t)=>r.jsxs(b,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(y,{})]})),P=({limit:t=3,isLoading:o=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(s,l)=>r.jsx(I,{isLoading:o},`${i}-skeleton-product-card-${l}`))}),T=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:s,keyPrefix:l})=>r.jsx(c.Suspense,{fallbackComponent:o,children:i===!0?r.jsx(P,{isLoading:i,limit:s,keyPrefix:l}):t}),j=c.memo($),_=c.forwardRef((t,o)=>{const{icon:i,title:s,onButtonAction:l=()=>{},onSelectCard:d=()=>{},buttonLink:m,items:n,buttonText:v,limit:g=3,isLoading:w=!1,getImage:h=()=>{},readMoreText:f="Read more"}=t,k=N.useDetectMobile(),C=c.useMemo(()=>r.jsx(r.Fragment,{children:k===!0?n==null?void 0:n.map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a)):n==null?void 0:n.slice(0,g).map((e,a)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>d(e==null?void 0:e.titleSlug)},a))}),[n]);return r.jsxs(x.RegulatTitleSectionWrapper,{ref:o,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[u.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:s})]}),u.isDefinedNotEmptyString(m)&&r.jsx(q,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),l(m)},borderRadius:"curved",children:v})]}),r.jsx(B,{limit:g,children:r.jsx(T,{isLoading:w,limit:g,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
@@ -1,13 +1,13 @@
1
- import { jsxs as m, jsx as r, Fragment as g } from "react/jsx-runtime";
1
+ import { jsxs as d, jsx as r, Fragment as g } from "react/jsx-runtime";
2
2
  import { forwardRef as u, Suspense as B, memo as P, useMemo as R } from "react";
3
3
  import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as k } from "./consts-BuFChS64.js";
5
5
  import { u as T } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { m as I, t as U, k as S } from "./utils-BE-UlkKf.js";
7
- import { R as W } from "./style-sLF37aOA.js";
6
+ import { m as I, n as U, k as b } from "./utils-BhG1dImS.js";
7
+ import { R as W } from "./style-R2KgPcrd.js";
8
8
  import z from "./Button.js";
9
9
  import j from "./Link.js";
10
- import { P as A } from "./index-Ca38iPjf.js";
10
+ import { P as A } from "./index-Cpd68IKh.js";
11
11
  const E = h.div`
12
12
  display: grid;
13
13
  grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
@@ -79,18 +79,18 @@ const E = h.div`
79
79
  ${U(3)}
80
80
  }
81
81
  `, L = u((t, o) => {
82
- const { title: i, imageUrl: n, text: l, onCardClick: d, readMoreText: c = "Read more" } = t;
83
- return /* @__PURE__ */ m(w, { ref: o, className: "blog-card", onClick: d, children: [
82
+ const { title: i, imageUrl: n, text: l, onCardClick: c, readMoreText: s = "Read more" } = t;
83
+ return /* @__PURE__ */ d(w, { ref: o, className: "blog-card", onClick: c, children: [
84
84
  /* @__PURE__ */ r(A, { src: n }),
85
- /* @__PURE__ */ m(y, { children: [
85
+ /* @__PURE__ */ d(y, { children: [
86
86
  /* @__PURE__ */ r("div", { className: "text-wr-title", children: i }),
87
87
  /* @__PURE__ */ r("div", { className: "text-wr", children: l })
88
88
  ] }),
89
- /* @__PURE__ */ r(j, { className: "action", color: "gray", onClick: d, children: c })
89
+ /* @__PURE__ */ r(j, { className: "action", color: "gray", onClick: c, children: s })
90
90
  ] });
91
91
  }), _ = u(({}, t) => (
92
92
  // <LandingPageClearProductCardSkeleton />
93
- /* @__PURE__ */ m(w, { className: "product-card", children: [
93
+ /* @__PURE__ */ d(w, { className: "product-card", children: [
94
94
  /* @__PURE__ */ r("div", { className: "skeleton-img" }),
95
95
  /* @__PURE__ */ r("div", { className: "card-title" }),
96
96
  /* @__PURE__ */ r(y, {})
@@ -114,68 +114,71 @@ const E = h.div`
114
114
  limit: n,
115
115
  keyPrefix: l
116
116
  }
117
- ) : t }), b = P(L), Y = u((t, o) => {
117
+ ) : t }), S = P(L), Y = u((t, o) => {
118
118
  const {
119
119
  icon: i,
120
120
  title: n,
121
121
  onButtonAction: l = () => {
122
122
  },
123
- onSelectCard: d = () => {
123
+ onSelectCard: c = () => {
124
124
  },
125
- buttonLink: c,
125
+ buttonLink: s,
126
126
  items: a,
127
127
  buttonText: C,
128
- limit: s = 3,
128
+ limit: p = 3,
129
129
  isLoading: N = !1,
130
130
  getImage: f = () => {
131
131
  },
132
132
  readMoreText: v = "Read more"
133
- } = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e, p) => /* @__PURE__ */ r(
134
- b,
133
+ } = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e, m) => /* @__PURE__ */ r(
134
+ S,
135
135
  {
136
136
  title: e == null ? void 0 : e.title,
137
137
  imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
138
138
  text: e == null ? void 0 : e.description,
139
139
  titleSlug: e == null ? void 0 : e.titleSlug,
140
140
  readMoreText: v,
141
- onCardClick: () => d(e == null ? void 0 : e.titleSlug)
141
+ onCardClick: () => c(e == null ? void 0 : e.titleSlug)
142
142
  },
143
- p
144
- )) : a == null ? void 0 : a.slice(0, s).map((e, p) => /* @__PURE__ */ r(
145
- b,
143
+ m
144
+ )) : a == null ? void 0 : a.slice(0, p).map((e, m) => /* @__PURE__ */ r(
145
+ S,
146
146
  {
147
147
  title: e == null ? void 0 : e.title,
148
148
  imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
149
149
  text: e == null ? void 0 : e.description,
150
150
  titleSlug: e == null ? void 0 : e.titleSlug,
151
151
  readMoreText: v,
152
- onCardClick: () => d(e == null ? void 0 : e.titleSlug)
152
+ onCardClick: () => c(e == null ? void 0 : e.titleSlug)
153
153
  },
154
- p
154
+ m
155
155
  )) }), [a]);
156
- return /* @__PURE__ */ m(W, { ref: o, children: [
157
- /* @__PURE__ */ m("div", { className: "regular-title", children: [
158
- /* @__PURE__ */ m("div", { className: "regular-title-text", children: [
159
- S(i) && /* @__PURE__ */ r("i", { className: i }),
156
+ return /* @__PURE__ */ d(W, { ref: o, children: [
157
+ /* @__PURE__ */ d("div", { className: "regular-title", children: [
158
+ /* @__PURE__ */ d("div", { className: "regular-title-text", children: [
159
+ b(i) && /* @__PURE__ */ r("i", { className: i }),
160
160
  /* @__PURE__ */ r("span", { children: n })
161
161
  ] }),
162
- S(c) && /* @__PURE__ */ r(
162
+ b(s) && /* @__PURE__ */ r(
163
163
  z,
164
164
  {
165
165
  type: "button",
166
166
  btnType: "tinted",
167
167
  color: "gray",
168
- onClick: () => l(c),
168
+ onClick: (e) => {
169
+ var m;
170
+ (m = e == null ? void 0 : e.target) == null || m.blur(), l(s);
171
+ },
169
172
  borderRadius: "curved",
170
173
  children: C
171
174
  }
172
175
  )
173
176
  ] }),
174
- /* @__PURE__ */ r(E, { limit: s, children: /* @__PURE__ */ r(
177
+ /* @__PURE__ */ r(E, { limit: p, children: /* @__PURE__ */ r(
175
178
  G,
176
179
  {
177
180
  isLoading: N,
178
- limit: s,
181
+ limit: p,
179
182
  keyPrefix: "explore-landing",
180
183
  children: $
181
184
  }
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./consts-goSZX3xP.cjs"),x=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-DhRHf5Ed.cjs"),w=require("./Button.cjs"),b=require("./index-BVaZWq6y.cjs"),j=u.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./consts-goSZX3xP.cjs"),x=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-BWzf4vLl.cjs"),w=require("./Button.cjs"),b=require("./index-BRgZcjpI.cjs"),j=u.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,9 +3,9 @@ import { forwardRef as p, Suspense as k } from "react";
3
3
  import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as h } from "./consts-BuFChS64.js";
5
5
  import { u as C } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { m as f, t as v } from "./utils-BE-UlkKf.js";
6
+ import { m as f, n as v } from "./utils-BhG1dImS.js";
7
7
  import y from "./Button.js";
8
- import { P as S } from "./index-Ca38iPjf.js";
8
+ import { P as S } from "./index-Cpd68IKh.js";
9
9
  const $ = g.div`
10
10
  display: grid;
11
11
  grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
@@ -1,12 +1,12 @@
1
- "use strict";const e=require("react/jsx-runtime"),c=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),T=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./utils-DhRHf5Ed.cjs"),$=require("./style-xvwWn3Zv.cjs"),B=require("./Button.cjs"),M=require("./Link.cjs"),R=require("./index-BVaZWq6y.cjs"),W=require("./index-DG7qQq8L.cjs"),A=h.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),d=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),B=require("./useDetectMobile-zkbzoOGV.cjs"),c=require("./utils-BWzf4vLl.cjs"),M=require("./style-B8wrlDzY.cjs"),R=require("./Button.cjs"),W=require("./Link.cjs"),A=require("./index-BRgZcjpI.cjs"),I=require("./index-66FyQgVV.cjs"),P=p.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
 
6
- @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
6
+ @media (max-width: ${w.MOBILE_SIZE_PX+"px"}) {
7
7
  grid-template-columns: repeat(1, 1fr);
8
8
  }
9
- `,w=h.styled.div`
9
+ `,k=p.styled.div`
10
10
  display: flex;
11
11
  width: 100%;
12
12
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1),
@@ -39,16 +39,16 @@
39
39
  min-height: 3.3125rem;
40
40
  max-height: 3.3125rem;
41
41
  border-radius: 0.75rem;
42
- background-color: ${a.linearGradientAnimation("-90deg")};
42
+ background-color: ${c.linearGradientAnimation("-90deg")};
43
43
  }
44
44
 
45
45
  & a {
46
46
  margin-top: auto;
47
47
  }
48
48
 
49
- @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
49
+ @media (max-width: ${w.MOBILE_SIZE_PX+"px"}) {
50
50
  }
51
- `,k=h.styled.div`
51
+ `,v=p.styled.div`
52
52
  display: flex;
53
53
  flex-direction: column;
54
54
  gap: 0.5rem;
@@ -62,19 +62,19 @@
62
62
  & .skeleton-title {
63
63
  height: 1.5rem;
64
64
  width: 80%;
65
- background-color: ${a.linearGradientAnimation("-90deg")};
65
+ background-color: ${c.linearGradientAnimation("-90deg")};
66
66
  }
67
67
 
68
68
  & .skeleton-action {
69
69
  height: 1.25rem;
70
70
  width: 20%;
71
- background-color: ${a.linearGradientAnimation("-90deg")};
71
+ background-color: ${c.linearGradientAnimation("-90deg")};
72
72
  }
73
73
 
74
74
  & .text-wr {
75
75
  font-weight: 400;
76
76
  font-size: 0.875rem;
77
77
  color: var(--gray-700, #4e555f);
78
- ${a.truncateTextInRows(3)}
78
+ ${c.truncateTextInRows(3)}
79
79
  }
80
- `,I=c.forwardRef((i,o)=>{const{title:n,imageUrl:l,text:r,buttonText:m,onCardClick:s}=i;return e.jsxs(w,{ref:o,className:"blog-card",onClick:s,children:[e.jsxs(k,{children:[e.jsx("div",{className:"text-wr-title",children:n}),e.jsx("div",{className:"text-wr",children:r}),e.jsx(M,{color:"gray",onClick:s,children:m})]}),e.jsx(R.ProductImageWrapper,{src:l})]})}),P=c.forwardRef(({},i)=>e.jsxs(w,{className:"blog-card",children:[e.jsxs(k,{children:[e.jsx("div",{className:"skeleton-title"}),e.jsx("div",{className:"text-wr"}),e.jsx("div",{className:"skeleton-action"})]}),e.jsx("div",{className:"skeleton-img"})]})),_=({limit:i=3,isLoading:o=!1,keyPrefix:n})=>e.jsx(e.Fragment,{children:Array.from({length:i},(l,r)=>e.jsx(P,{isLoading:o},`${n}-skeleton-product-card-${r}`))}),z=({children:i,fallbackComponent:o=e.jsx(e.Fragment,{}),isLoading:n=!1,limit:l,keyPrefix:r})=>e.jsx(c.Suspense,{fallbackComponent:o,children:n===!0?e.jsx(_,{isLoading:n,limit:l,keyPrefix:r}):i}),b=c.memo(I),E=c.forwardRef((i,o)=>{const{icon:n,title:l,items:r,buttonText:m,limit:s=3,options:d,selectedOption:v=[],onButtonAction:y=()=>{},buttonLink:p,onSelectOption:x=()=>{},onSelectAll:S=()=>{},isLoading:N=!1,onSelectCard:u=()=>{},productsToolbarName:C="All"}=i,j=T.useDetectMobile(),q=c.useMemo(()=>e.jsx(e.Fragment,{children:j===!0?r==null?void 0:r.map((t,g)=>e.jsx(b,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>u(t)},g)):r==null?void 0:r.slice(0,s).map((t,g)=>e.jsx(b,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>u(t)},g))}),[r,j,s,u]);return e.jsxs($.TitleWithOptionsSectionWrapper,{ref:o,children:[e.jsxs("div",{className:"regular-title",children:[e.jsxs("div",{className:"regular-title-text",children:[a.isDefinedNotEmptyString(n)&&e.jsx("i",{className:n}),e.jsx("span",{children:l})]}),a.isDefinedNotEmptyString(p)&&e.jsx(B,{type:"button",btnType:"tinted",color:"gray",onClick:()=>y(p),borderRadius:"curved",children:m})]}),(d==null?void 0:d.length)>0&&e.jsx(W.SelectBar,{items:d,selectedIds:v,onRemove:t=>{x(t)},onSelect:t=>{x(t)},onSelectAll:S,labelKey:"name",valueKey:"code",noMargin:!0,productsToolbarName:C}),e.jsx(A,{limit:s,children:e.jsx(z,{isLoading:N,limit:s,keyPrefix:"explore-landing",children:q})})]})});module.exports=E;
80
+ `,_=d.forwardRef((i,s)=>{const{title:o,imageUrl:a,text:r,buttonText:u,onCardClick:l}=i;return e.jsxs(k,{ref:s,className:"blog-card",onClick:l,children:[e.jsxs(v,{children:[e.jsx("div",{className:"text-wr-title",children:o}),e.jsx("div",{className:"text-wr",children:r}),e.jsx(W,{color:"gray",onClick:l,children:u})]}),e.jsx(A.ProductImageWrapper,{src:a})]})}),z=d.forwardRef(({},i)=>e.jsxs(k,{className:"blog-card",children:[e.jsxs(v,{children:[e.jsx("div",{className:"skeleton-title"}),e.jsx("div",{className:"text-wr"}),e.jsx("div",{className:"skeleton-action"})]}),e.jsx("div",{className:"skeleton-img"})]})),E=({limit:i=3,isLoading:s=!1,keyPrefix:o})=>e.jsx(e.Fragment,{children:Array.from({length:i},(a,r)=>e.jsx(z,{isLoading:s},`${o}-skeleton-product-card-${r}`))}),F=({children:i,fallbackComponent:s=e.jsx(e.Fragment,{}),isLoading:o=!1,limit:a,keyPrefix:r})=>e.jsx(d.Suspense,{fallbackComponent:s,children:o===!0?e.jsx(E,{isLoading:o,limit:a,keyPrefix:r}):i}),f=d.memo(_),O=d.forwardRef((i,s)=>{const{icon:o,title:a,items:r,buttonText:u,limit:l=3,options:m,selectedOption:y=[],onButtonAction:S=()=>{},buttonLink:x,onSelectOption:b=()=>{},onSelectAll:N=()=>{},isLoading:C=!1,onSelectCard:g=()=>{},productsToolbarName:q="All",allButton:T=!1}=i,j=B.useDetectMobile(),$=d.useMemo(()=>{var n;return e.jsx(e.Fragment,{children:j===!0?r==null?void 0:r.map((t,h)=>e.jsx(f,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>g(t)},h)):(n=r==null?void 0:r.slice(0,l))==null?void 0:n.map((t,h)=>e.jsx(f,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>g(t)},h))})},[r,j,l,g]);return e.jsxs(M.TitleWithOptionsSectionWrapper,{ref:s,children:[e.jsxs("div",{className:"regular-title",children:[e.jsxs("div",{className:"regular-title-text",children:[c.isDefinedNotEmptyString(o)&&e.jsx("i",{className:o}),e.jsx("span",{children:a})]}),c.isDefinedNotEmptyString(x)&&e.jsx(R,{type:"button",btnType:"tinted",color:"gray",onClick:n=>{var t;(t=n==null?void 0:n.target)==null||t.blur(),S(x)},borderRadius:"curved",children:u})]}),(m==null?void 0:m.length)>0&&e.jsx(I.SelectBar,{items:m,selectedIds:y,onRemove:n=>{b(n)},onSelect:n=>{b(n)},onSelectAll:N,labelKey:"name",valueKey:"code",noMargin:!0,productsToolbarName:q,allButton:T}),e.jsx(P,{limit:l,children:e.jsx(F,{isLoading:C,limit:l,keyPrefix:"explore-landing",children:$})})]})});module.exports=O;