@lanaco/lnc-react-ui 4.0.206 → 4.0.207

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 (321) hide show
  1. package/BREAKPOINTS.md +148 -0
  2. package/dist/Accordion.cjs +1 -1
  3. package/dist/Accordion.js +6 -6
  4. package/dist/AccordionSummary.cjs +1 -1
  5. package/dist/AccordionSummary.js +8 -8
  6. package/dist/ActionsToolbar.cjs +15 -4
  7. package/dist/ActionsToolbar.js +58 -46
  8. package/dist/AdBannerSection.cjs +4 -4
  9. package/dist/AdBannerSection.js +5 -5
  10. package/dist/Alert.cjs +1 -1
  11. package/dist/Alert.js +1 -1
  12. package/dist/Avatar.cjs +1 -1
  13. package/dist/Avatar.js +12 -12
  14. package/dist/Badge.cjs +1 -1
  15. package/dist/Badge.js +5 -5
  16. package/dist/BannerNextSection.cjs +2 -2
  17. package/dist/BannerNextSection.js +13 -13
  18. package/dist/BannerSectionBasic.cjs +4 -4
  19. package/dist/BannerSectionBasic.js +22 -22
  20. package/dist/BannerSectionCarousel.cjs +27 -6
  21. package/dist/BannerSectionCarousel.js +71 -50
  22. package/dist/BannerSectionGrid.cjs +3 -3
  23. package/dist/BannerSectionGrid.js +13 -13
  24. package/dist/BannerSectionSimple.cjs +15 -15
  25. package/dist/BannerSectionSimple.js +40 -40
  26. package/dist/BannerSectionWithList.cjs +7 -7
  27. package/dist/BannerSectionWithList.js +20 -20
  28. package/dist/BannerSectionWithListImage.cjs +6 -9
  29. package/dist/BannerSectionWithListImage.js +17 -20
  30. package/dist/BlogCardsSponsoredSection.cjs +7 -5
  31. package/dist/BlogCardsSponsoredSection.js +32 -30
  32. package/dist/BlogCategoryCardsSection.cjs +1 -1
  33. package/dist/BlogCategoryCardsSection.js +2 -2
  34. package/dist/BlogExploreSection.cjs +4 -4
  35. package/dist/BlogExploreSection.js +60 -60
  36. package/dist/BlogImagePathSection.cjs +3 -14
  37. package/dist/BlogImagePathSection.js +27 -39
  38. package/dist/BlogListSection.cjs +6 -6
  39. package/dist/BlogListSection.js +32 -32
  40. package/dist/BlogProductCardsSection.cjs +1 -1
  41. package/dist/BlogProductCardsSection.js +3 -3
  42. package/dist/BlogShopCardsSection.cjs +1 -1
  43. package/dist/BlogShopCardsSection.js +3 -3
  44. package/dist/BlogSingleSection.cjs +3 -3
  45. package/dist/BlogSingleSection.js +12 -12
  46. package/dist/BlogsSectionDetailed.cjs +14 -6
  47. package/dist/BlogsSectionDetailed.js +53 -45
  48. package/dist/BlogsSectionLarge.cjs +13 -5
  49. package/dist/BlogsSectionLarge.js +48 -40
  50. package/dist/BlogsSectionSimple.cjs +14 -9
  51. package/dist/BlogsSectionSimple.js +43 -38
  52. package/dist/BlogsSectionSimpleCentered.cjs +17 -8
  53. package/dist/BlogsSectionSimpleCentered.js +68 -59
  54. package/dist/BlogsSectionWithFilters.cjs +16 -11
  55. package/dist/BlogsSectionWithFilters.js +43 -38
  56. package/dist/BrandHitsSection.cjs +7 -7
  57. package/dist/BrandHitsSection.js +13 -13
  58. package/dist/Breadcrumbs.cjs +1 -1
  59. package/dist/Breadcrumbs.js +16 -16
  60. package/dist/Button.cjs +1 -1
  61. package/dist/Button.js +1 -1
  62. package/dist/ButtonGroup.cjs +1 -1
  63. package/dist/ButtonGroup.js +1 -1
  64. package/dist/CalorieCalculatorSection.cjs +15 -15
  65. package/dist/CalorieCalculatorSection.js +84 -84
  66. package/dist/{CategorySimpleCard-COGlTj06.cjs → CategorySimpleCard-CIBvknos.cjs} +3 -3
  67. package/dist/{CategorySimpleCard-Em84kZzQ.js → CategorySimpleCard-CkSwvJRw.js} +8 -8
  68. package/dist/CheckBoxInput.cjs +1 -1
  69. package/dist/CheckBoxInput.js +1 -1
  70. package/dist/Chip.cjs +1 -1
  71. package/dist/Chip.js +1 -1
  72. package/dist/ColorInput.cjs +1 -1
  73. package/dist/ColorInput.js +14 -14
  74. package/dist/ConfirmationForm.cjs +1 -1
  75. package/dist/ConfirmationForm.js +5 -5
  76. package/dist/ContactSection.cjs +4 -4
  77. package/dist/ContactSection.js +72 -72
  78. package/dist/CustomLoanMapSection.cjs +3 -3
  79. package/dist/CustomLoanMapSection.js +67 -67
  80. package/dist/{CustomStyles-C86XQqBE.cjs → CustomStyles-2TQQSwtU.cjs} +1 -1
  81. package/dist/{CustomStyles-DtWxboEM.js → CustomStyles-DR4WuDUN.js} +1 -1
  82. package/dist/{DailyMotion-CpZExcrg.cjs → DailyMotion-BPdBW5Yv.cjs} +1 -1
  83. package/dist/{DailyMotion-BBcJkMo_.js → DailyMotion-P9S-WhTX.js} +1 -1
  84. package/dist/DateInput.cjs +6 -6
  85. package/dist/DateInput.js +646 -645
  86. package/dist/DecimalInput.cjs +1 -1
  87. package/dist/DecimalInput.js +1 -1
  88. package/dist/DecimalInputV2.cjs +1 -1
  89. package/dist/DecimalInputV2.js +1 -1
  90. package/dist/DetailedProductsInfinitiveSection.cjs +10 -4
  91. package/dist/DetailedProductsInfinitiveSection.js +71 -65
  92. package/dist/DetailedProductsSection.cjs +7 -3
  93. package/dist/DetailedProductsSection.js +55 -51
  94. package/dist/DetailsView.cjs +1 -1
  95. package/dist/DetailsView.js +1 -1
  96. package/dist/DoubleRangeSlider.cjs +1 -1
  97. package/dist/DoubleRangeSlider.js +1 -1
  98. package/dist/DragAndDropFile.cjs +1 -1
  99. package/dist/DragAndDropFile.js +1 -1
  100. package/dist/DragDropFiles.cjs +1 -1
  101. package/dist/DragDropFiles.js +13 -13
  102. package/dist/Drawer.cjs +1 -1
  103. package/dist/Drawer.js +1 -1
  104. package/dist/Dropdown.cjs +1 -1
  105. package/dist/Dropdown.js +2 -2
  106. package/dist/DropdownItem.cjs +1 -1
  107. package/dist/DropdownItem.js +1 -1
  108. package/dist/DropdownLookup.cjs +1 -1
  109. package/dist/DropdownLookup.js +1 -1
  110. package/dist/DropdownMenu.cjs +1 -1
  111. package/dist/DropdownMenu.js +7 -7
  112. package/dist/EditableTable.cjs +1 -1
  113. package/dist/EditableTable.js +8 -8
  114. package/dist/{Facebook-DoKw-XxT.cjs → Facebook-C8L2KR4O.cjs} +1 -1
  115. package/dist/{Facebook-BSWPEXjA.js → Facebook-vhbBr0rd.js} +1 -1
  116. package/dist/FaqSection.cjs +3 -3
  117. package/dist/FaqSection.js +52 -52
  118. package/dist/FeedbackSection.cjs +3 -3
  119. package/dist/FeedbackSection.js +15 -15
  120. package/dist/FieldOfInterestsMasonrySection.cjs +18 -12
  121. package/dist/FieldOfInterestsMasonrySection.js +73 -67
  122. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +13 -7
  123. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +64 -58
  124. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +15 -9
  125. package/dist/FieldOfInterestsWithTagsCardsSection.js +42 -36
  126. package/dist/FileInput.cjs +1 -1
  127. package/dist/FileInput.js +1 -1
  128. package/dist/{FilePlayer-D9az_lc_.cjs → FilePlayer-BVFgHY_f.cjs} +1 -1
  129. package/dist/{FilePlayer-BtGpIWnK.js → FilePlayer-CXTLAokk.js} +1 -1
  130. package/dist/FlexGridItem.cjs +1 -1
  131. package/dist/FlexGridItem.js +1 -1
  132. package/dist/FormField.cjs +1 -1
  133. package/dist/FormField.js +1 -1
  134. package/dist/FormView.cjs +1 -1
  135. package/dist/FormView.js +1 -1
  136. package/dist/GeneralWithTagsCardsSection.cjs +14 -8
  137. package/dist/GeneralWithTagsCardsSection.js +31 -25
  138. package/dist/GiftCardsSection.cjs +15 -7
  139. package/dist/GiftCardsSection.js +44 -36
  140. package/dist/HelpBannerSection.cjs +3 -3
  141. package/dist/HelpBannerSection.js +4 -4
  142. package/dist/Icon.cjs +1 -1
  143. package/dist/Icon.js +4 -4
  144. package/dist/IconButton.cjs +1 -1
  145. package/dist/IconButton.js +1 -1
  146. package/dist/{Kaltura-CK6JHUZC.cjs → Kaltura-C2fRoaEg.cjs} +1 -1
  147. package/dist/{Kaltura-BDqlEQpd.js → Kaltura-CRGK2EP7.js} +1 -1
  148. package/dist/Kanban.cjs +1 -1
  149. package/dist/Kanban.js +1 -1
  150. package/dist/KanbanActionsToolbar.cjs +1 -1
  151. package/dist/KanbanActionsToolbar.js +5 -5
  152. package/dist/KanbanView.cjs +1 -1
  153. package/dist/KanbanView.js +9 -9
  154. package/dist/Link.cjs +1 -1
  155. package/dist/Link.js +1 -1
  156. package/dist/LoanCalculatorSection.cjs +3 -3
  157. package/dist/LoanCalculatorSection.js +17 -17
  158. package/dist/LocationFinderSection.cjs +1 -1
  159. package/dist/LocationFinderSection.js +1 -1
  160. package/dist/LocationSearchSection.cjs +13 -6
  161. package/dist/LocationSearchSection.js +34 -27
  162. package/dist/MasonryGeneralCardsSection.cjs +13 -9
  163. package/dist/MasonryGeneralCardsSection.js +34 -30
  164. package/dist/MenuItem.cjs +1 -1
  165. package/dist/MenuItem.js +14 -14
  166. package/dist/{Mixcloud-zAh6j7Ha.js → Mixcloud-Cn5M-EIT.js} +1 -1
  167. package/dist/{Mixcloud-C1Boh2Bm.cjs → Mixcloud-D09BQNOt.cjs} +1 -1
  168. package/dist/Modal.cjs +1 -1
  169. package/dist/Modal.js +1 -1
  170. package/dist/MultiSelectDropdown.cjs +1 -1
  171. package/dist/MultiSelectDropdown.js +1 -1
  172. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  173. package/dist/MultiSelectDropdownLookup.js +1 -1
  174. package/dist/{Mux-C6TwZeaq.cjs → Mux-C-xD7crc.cjs} +1 -1
  175. package/dist/{Mux-BGTG_Tvc.js → Mux-C6szci3w.js} +1 -1
  176. package/dist/NestedDropdownItem.cjs +1 -1
  177. package/dist/NestedDropdownItem.js +9 -9
  178. package/dist/NestedMenuItem.cjs +1 -1
  179. package/dist/NestedMenuItem.js +7 -7
  180. package/dist/NotificationContainer.cjs +1 -1
  181. package/dist/NotificationContainer.js +1 -1
  182. package/dist/NotificationMessage.cjs +1 -1
  183. package/dist/NotificationMessage.js +5 -5
  184. package/dist/NumberInput.cjs +1 -1
  185. package/dist/NumberInput.js +8 -8
  186. package/dist/OverlayGeneralCardsSection.cjs +19 -31
  187. package/dist/OverlayGeneralCardsSection.js +51 -63
  188. package/dist/PartnerBannerSection.cjs +2 -2
  189. package/dist/PartnerBannerSection.js +2 -2
  190. package/dist/PartnerBrandsSection.cjs +2 -2
  191. package/dist/PartnerBrandsSection.js +24 -17
  192. package/dist/PartnerCardsSection.cjs +3 -3
  193. package/dist/PartnerCardsSection.js +18 -18
  194. package/dist/PartnerStatsSection.cjs +2 -2
  195. package/dist/PartnerStatsSection.js +3 -3
  196. package/dist/PasswordInput.cjs +1 -1
  197. package/dist/PasswordInput.js +19 -19
  198. package/dist/PopoverContent.cjs +1 -1
  199. package/dist/PopoverContent.js +1 -1
  200. package/dist/ProductsWithBannerSection.cjs +20 -10
  201. package/dist/ProductsWithBannerSection.js +79 -69
  202. package/dist/ProgressBar.cjs +1 -1
  203. package/dist/ProgressBar.js +5 -5
  204. package/dist/QuattroCardsSection.cjs +8 -6
  205. package/dist/QuattroCardsSection.js +19 -17
  206. package/dist/QuizSection.cjs +9 -9
  207. package/dist/QuizSection.js +56 -56
  208. package/dist/RadioInput.cjs +1 -1
  209. package/dist/RadioInput.js +1 -1
  210. package/dist/RangeSlider.cjs +1 -1
  211. package/dist/RangeSlider.js +1 -1
  212. package/dist/ReviewsSection.cjs +24 -16
  213. package/dist/ReviewsSection.js +56 -48
  214. package/dist/SalesCampaignsSection.cjs +25 -21
  215. package/dist/SalesCampaignsSection.js +248 -241
  216. package/dist/{SearchSection-DAaMecR4.js → SearchSection-BEYnWPSr.js} +69 -69
  217. package/dist/{SearchSection-B94YN_6P.cjs → SearchSection-DUY61r3k.cjs} +6 -6
  218. package/dist/SearchSection.cjs +1 -1
  219. package/dist/SearchSection.js +1 -1
  220. package/dist/Separator.cjs +1 -1
  221. package/dist/Separator.js +3 -3
  222. package/dist/SeparatorSection.cjs +3 -3
  223. package/dist/SeparatorSection.js +4 -4
  224. package/dist/ShopCardsSection.cjs +11 -5
  225. package/dist/ShopCardsSection.js +40 -34
  226. package/dist/Sidebar.cjs +1 -1
  227. package/dist/Sidebar.js +1 -1
  228. package/dist/SimpleCategoriesSection.cjs +9 -5
  229. package/dist/SimpleCategoriesSection.js +61 -57
  230. package/dist/SimpleProductsSection.cjs +44 -11
  231. package/dist/SimpleProductsSection.js +100 -67
  232. package/dist/{SoundCloud-C6R6E6Zc.cjs → SoundCloud-BsL6Onq6.cjs} +1 -1
  233. package/dist/{SoundCloud-lO8wg_0s.js → SoundCloud-Cfaj1Ze1.js} +1 -1
  234. package/dist/Spinner.cjs +1 -1
  235. package/dist/Spinner.js +1 -1
  236. package/dist/StatsSection.cjs +3 -3
  237. package/dist/StatsSection.js +11 -11
  238. package/dist/{Streamable-Dwa5ZEK4.js → Streamable-CG8_-_w7.js} +1 -1
  239. package/dist/{Streamable-DZO95CiT.cjs → Streamable-DFtyk9Dt.cjs} +1 -1
  240. package/dist/Surface.cjs +1 -1
  241. package/dist/Surface.js +1 -1
  242. package/dist/SwipeableDrawer.cjs +1 -1
  243. package/dist/SwipeableDrawer.js +1 -1
  244. package/dist/TabItem.cjs +1 -1
  245. package/dist/TabItem.js +1 -1
  246. package/dist/Table.cjs +54 -49
  247. package/dist/Table.js +417 -401
  248. package/dist/TableView.cjs +10 -2
  249. package/dist/TableView.js +84 -75
  250. package/dist/TextAreaInput.cjs +1 -1
  251. package/dist/TextAreaInput.js +1 -1
  252. package/dist/TextInput.cjs +1 -1
  253. package/dist/TextInput.js +1 -1
  254. package/dist/ThemeProvider.cjs +4 -4
  255. package/dist/ThemeProvider.js +11 -10
  256. package/dist/TimeInput.cjs +1 -1
  257. package/dist/TimeInput.js +1 -1
  258. package/dist/Toggle.cjs +1 -1
  259. package/dist/Toggle.js +1 -1
  260. package/dist/ToggleSection.cjs +7 -7
  261. package/dist/ToggleSection.js +38 -38
  262. package/dist/TreeMenuSeparator.cjs +1 -1
  263. package/dist/TreeMenuSeparator.js +3 -3
  264. package/dist/{Twitch-B17oKtD0.cjs → Twitch-BIUEEDiE.cjs} +1 -1
  265. package/dist/{Twitch-C73-dwWo.js → Twitch-CbU_0Tx9.js} +1 -1
  266. package/dist/UploadedFile.cjs +1 -1
  267. package/dist/UploadedFile.js +7 -7
  268. package/dist/UrgentSaleProductsSection.cjs +10 -4
  269. package/dist/UrgentSaleProductsSection.js +67 -61
  270. package/dist/{Vidyard-s1MMcaRm.cjs → Vidyard-QkjVIros.cjs} +1 -1
  271. package/dist/{Vidyard-B6GdBHsM.js → Vidyard-S6Fl_F78.js} +1 -1
  272. package/dist/{Vimeo-kzHz4Gco.js → Vimeo-5bkeYCV4.js} +1 -1
  273. package/dist/{Vimeo-J1l_SU2E.cjs → Vimeo-B5jsifNT.cjs} +1 -1
  274. package/dist/{Wistia-CudQyDHM.cjs → Wistia-dpbMmx23.cjs} +1 -1
  275. package/dist/{Wistia-w4jnqd7y.js → Wistia-gOZBV0XZ.js} +1 -1
  276. package/dist/{YouTube-BAYKouHS.cjs → YouTube-BfZRCB6O.cjs} +1 -1
  277. package/dist/{YouTube-BKyipPZx.js → YouTube-XoIB4ATQ.js} +1 -1
  278. package/dist/breakpoints-CcVm-gVm.cjs +1 -0
  279. package/dist/breakpoints-ff0SIcV3.js +91 -0
  280. package/dist/{index-u_XFwsvc.js → index-9KyU46J0.js} +11 -9
  281. package/dist/{index-CSgGox95.cjs → index-B9c6y2J5.cjs} +3 -3
  282. package/dist/{index-CS4w87SW.cjs → index-BEgD9vNo.cjs} +9 -9
  283. package/dist/{index-BC2PHcI1.js → index-BWeXujWl.js} +10 -10
  284. package/dist/index-B_ilx3wM.cjs +16 -0
  285. package/dist/{index-B22BZVBG.js → index-BvMY2TbK.js} +1 -1
  286. package/dist/{index-CwMCk9wV.js → index-BzSWu-7v.js} +67 -67
  287. package/dist/{index-TIqKd2Dv.js → index-C-uOIDDa.js} +2 -2
  288. package/dist/{index-bihqNqQk.js → index-C4HycAPS.js} +6 -6
  289. package/dist/{index-BWE-RCPy.cjs → index-CBZ-jNah.cjs} +4 -4
  290. package/dist/{index-D_5jNP-o.cjs → index-CUaeb_TU.cjs} +5 -5
  291. package/dist/{index-DK8dqEUQ.js → index-CoQ9APCD.js} +11 -11
  292. package/dist/{index-BAJkosVg.cjs → index-CsTfXxpp.cjs} +2 -2
  293. package/dist/{index-D0JDnm9b.cjs → index-Dc0EEBRW.cjs} +4 -4
  294. package/dist/{index-uwl7BjRF.cjs → index-DsINTjQk.cjs} +1 -1
  295. package/dist/{index-Cm414y95.js → index-L_Va5-wK.js} +13 -13
  296. package/dist/{index-CBMsUFkS.js → index-hC-E71GE.js} +11 -11
  297. package/dist/{index-BFc3nxYZ.cjs → index-of6WydGq.cjs} +4 -2
  298. package/dist/{index-BASX-BjS.js → index-rYUwBlpp.js} +63 -63
  299. package/dist/{index-D0IYt1s3.cjs → index-uCWKRzoS.cjs} +2 -2
  300. package/dist/{index-CRk3vcd4.cjs → index-vQOR22Py.cjs} +4 -4
  301. package/dist/{index-D-86mDtn.js → index-yARaIaLj.js} +29 -29
  302. package/dist/index.cjs +1 -1
  303. package/dist/index.js +213 -194
  304. package/dist/{style-BTTXJFJN.cjs → style-AYc9hnFj.cjs} +14 -2
  305. package/dist/{style-neMbLWE6.js → style-BUyFad_y.js} +4 -4
  306. package/dist/{style-tw6KjI2J.js → style-Bq3rMbnN.js} +16 -4
  307. package/dist/{style-B4kAj6YU.cjs → style-DC05rdyx.cjs} +5 -5
  308. package/dist/{tag-Dm8CW4TM.js → tag-Bi8gg6hJ.js} +12 -12
  309. package/dist/{tag-UQjq2_Ba.cjs → tag-DSnhWWHE.cjs} +5 -5
  310. package/dist/{utils-DtEfC-TX.js → theme-Befg4g_L.js} +19 -378
  311. package/dist/theme-Q3WOGKWQ.cjs +1 -0
  312. package/dist/{useDetectMobile-Bkvj0VMa.js → useDetectMobile-CcVo3PNi.js} +1 -1
  313. package/dist/useDetectMobile-DYV6V1yw.cjs +1 -0
  314. package/dist/utils-B2fsQ6PS.js +334 -0
  315. package/dist/utils-CITgSxXe.cjs +51 -0
  316. package/package.json +1 -1
  317. package/dist/consts-BuFChS64.js +0 -7
  318. package/dist/consts-goSZX3xP.cjs +0 -1
  319. package/dist/index-D-3I_Ppj.cjs +0 -16
  320. package/dist/useDetectMobile-zkbzoOGV.cjs +0 -1
  321. package/dist/utils-RnrgDDZP.cjs +0 -51
@@ -1,14 +1,13 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { forwardRef as c } from "react";
3
- import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as d } from "./consts-BuFChS64.js";
5
- import { u as f } from "./useDetectMobile-Bkvj0VMa.js";
6
- const w = l.div`
2
+ import { forwardRef as l } from "react";
3
+ import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { u as d } from "./useDetectMobile-CcVo3PNi.js";
5
+ const f = c.div`
7
6
  display: flex;
8
7
  justify-content: center;
9
8
  width: 100%;
10
9
  text-align: center;
11
- `, x = l.div`
10
+ `, b = c.div`
12
11
  width: 100%;
13
12
  height: 100%;
14
13
 
@@ -17,73 +16,62 @@ const w = l.div`
17
16
  height: ${(e) => e != null && e.imageHeight ? `${e == null ? void 0 : e.imageHeight}px` : "100%"};
18
17
  object-fit: cover;
19
18
  }
20
-
21
- //&:hover {
22
- // cursor: pointer;
23
- //}
24
-
25
- //@media (max-width: ${d + "px"}) {
26
- // aspect-ratio: 1 / 1;
27
- // & .wrapper__image {
28
- // aspect-ratio: 1 / 1;
29
- // }
30
- //}
31
- `, _ = c((e, a) => {
19
+ `, w = l((e, a) => {
32
20
  const {
33
- image: r,
21
+ image: g,
34
22
  altText: o,
35
- imageWidth: g,
23
+ imageWidth: r,
36
24
  imageHeight: m,
37
25
  imageMobileWidth: h,
38
- imageMobileHeight: s,
26
+ imageMobileHeight: n,
39
27
  isMobile: i,
40
- onClick: n = () => {
28
+ onClick: s = () => {
41
29
  }
42
30
  } = e;
43
31
  return /* @__PURE__ */ t(
44
- x,
32
+ b,
45
33
  {
46
34
  ref: a,
47
- imageWidth: i ? h : g,
48
- imageHeight: i ? s : m,
35
+ imageWidth: i ? h : r,
36
+ imageHeight: i ? n : m,
49
37
  className: "image-banner__wrapper",
50
38
  children: /* @__PURE__ */ t(
51
39
  "img",
52
40
  {
53
41
  loading: "lazy",
54
- src: r,
42
+ src: g,
55
43
  alt: o,
56
44
  className: "wrapper__image",
57
- onClick: n
45
+ onClick: s
58
46
  }
59
47
  )
60
48
  }
61
49
  );
62
- }), v = c((e, a) => {
50
+ }), $ = l((e, a) => {
63
51
  const {
64
- image: r,
52
+ image: g,
65
53
  altText: o,
66
- imageWidth: g,
54
+ imageWidth: r,
67
55
  imageHeight: m,
68
56
  imageMobileWidth: h,
69
- imageMobileHeight: s,
57
+ imageMobileHeight: n,
70
58
  onClick: i = () => {
71
59
  }
72
- } = e, n = f();
73
- return /* @__PURE__ */ t(w, { ref: a, children: /* @__PURE__ */ t(
74
- _,
60
+ } = e, s = d();
61
+ return /* @__PURE__ */ t(f, { ref: a, children: /* @__PURE__ */ t(
62
+ w,
75
63
  {
76
- image: r,
64
+ image: g,
77
65
  altText: o,
78
- imageWidth: g,
66
+ imageWidth: r,
79
67
  imageHeight: m,
80
68
  imageMobileWidth: h,
81
- imageMobileHeight: s,
82
- isMobile: n,
69
+ imageMobileHeight: n,
70
+ isMobile: s,
83
71
  onClick: i
84
72
  }
85
73
  ) });
86
74
  });
87
75
  export {
88
- v as default
76
+ $ as default
89
77
  };
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),a=require("react"),P=require("./Icon.cjs"),R=require("./IconButton.cjs"),d=require("./utils-RnrgDDZP.cjs"),N=require("./index-uwl7BjRF.cjs"),q=require("./style-B4kAj6YU.cjs"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),W=require("./consts-goSZX3xP.cjs"),t=require("./style-BAcV7F53.cjs"),B=x.styled.a`
1
+ "use strict";const e=require("react/jsx-runtime"),a=require("react"),P=require("./Icon.cjs"),R=require("./IconButton.cjs"),d=require("./utils-CITgSxXe.cjs"),N=require("./index-DsINTjQk.cjs"),q=require("./style-DC05rdyx.cjs"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),W=require("./breakpoints-CcVm-gVm.cjs"),t=require("./style-BAcV7F53.cjs"),B=v.styled.a`
2
2
  text-decoration: none;
3
3
  color: var(--gray-950);
4
4
  display: flex;
@@ -95,7 +95,7 @@
95
95
  }
96
96
  }
97
97
 
98
- @media (max-width: ${W.MOBILE_SIZE_PX+"px"}) {
98
+ @media ${W.down("S")} {
99
99
  flex-direction: column;
100
100
  padding: 0;
101
101
  background: transparent;
@@ -146,7 +146,7 @@
146
146
  }
147
147
  }
148
148
  }
149
- `,I=a.forwardRef(({blogUuid:i,title:l,imageUrl:c,options:o,publishedAt:h,timeToReadText:u="{0} min read",timeToRead:j=0,numberOfLikes:w=0,numberOfComments:f=0,isBookmarked:p=!1,onSelectCard:_=()=>{},onBookmark:k=()=>{},onShare:g=()=>{},bookmarkComponent:r=e.jsx(e.Fragment,{}),metadata:s,titleSlug:m,LinkComponent:S},b)=>{const $=S||"a",v=()=>d.isDefined(r)?a.cloneElement(r,{key:`bookmark_blog__${i}__${p}`,isBookmarked:p,blogUuid:i,onBookmark:(y,C)=>k(y,C),ref:b,componentName:"ExploreBlogSectionCard"}):e.jsx(e.Fragment,{}),L=a.useRef();return e.jsxs(B,{ref:L,name:s==null?void 0:s.name,"data-accessor":s==null?void 0:s.accessor,onClick:n=>_(n,L),className:"blog-card-item",as:$,...S?{to:`/blog/${m}`}:{href:`/blog/${m}`},children:[e.jsx(N.ProductImageWrapper,{src:c,className:"wrapper__image"}),e.jsxs("div",{className:"wrapper__content",children:[e.jsxs("div",{className:"wrapper__subcontent",children:[e.jsx("div",{className:"wrapper__title",children:l}),e.jsxs("div",{className:"wrapper__tags-action",children:[e.jsx("div",{className:"wrapper__tags",children:o&&(o==null?void 0:o.map((n,y)=>e.jsx(q.BlogTag,{color:n==null?void 0:n.color,children:n==null?void 0:n.name},`blog-card-sponsored-option__${y+1}`)))}),e.jsxs("div",{className:"info__content mobile-only",onClick:n=>{n.stopPropagation(),n.preventDefault()},children:[e.jsx(v,{}),e.jsx(R,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:()=>{g()}})]})]})]}),e.jsxs("div",{className:"wrapper__info",children:[e.jsxs("div",{className:"info__content",children:[e.jsx("div",{className:"info__text",children:`${d.formatLocaleDateString(h)} • ${d.formatString(u,j)}`}),e.jsxs("div",{className:"info__text",children:[e.jsxs("div",{children:[e.jsx(P,{icon:" mng-lnc-thumbs-up--filled",sizeInUnits:"1rem"}),d.getRoundedNumber(w)]}),e.jsxs("div",{children:[e.jsx(P,{icon:" mng-lnc-messages-filled",sizeInUnits:"1rem"}),d.getRoundedNumber(f)]})]})]}),e.jsxs("div",{className:"info__content desktop-only",onClick:n=>{n==null||n.preventDefault(),n==null||n.stopPropagation()},children:[e.jsx(v,{}),e.jsx(R,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:()=>{g()}})]})]})]})]})}),G=x.styled.div`
149
+ `,G=a.forwardRef(({blogUuid:i,title:l,imageUrl:c,options:o,publishedAt:h,timeToReadText:u="{0} min read",timeToRead:j=0,numberOfLikes:w=0,numberOfComments:f=0,isBookmarked:p=!1,onSelectCard:k=()=>{},onBookmark:_=()=>{},onShare:g=()=>{},bookmarkComponent:r=e.jsx(e.Fragment,{}),metadata:s,titleSlug:m,LinkComponent:S},b)=>{const $=S||"a",x=()=>d.isDefined(r)?a.cloneElement(r,{key:`bookmark_blog__${i}__${p}`,isBookmarked:p,blogUuid:i,onBookmark:(y,C)=>_(y,C),ref:b,componentName:"ExploreBlogSectionCard"}):e.jsx(e.Fragment,{}),L=a.useRef();return e.jsxs(B,{ref:L,name:s==null?void 0:s.name,"data-accessor":s==null?void 0:s.accessor,onClick:n=>k(n,L),className:"blog-card-item",as:$,...S?{to:`/blog/${m}`}:{href:`/blog/${m}`},children:[e.jsx(N.ProductImageWrapper,{src:c,className:"wrapper__image"}),e.jsxs("div",{className:"wrapper__content",children:[e.jsxs("div",{className:"wrapper__subcontent",children:[e.jsx("div",{className:"wrapper__title",children:l}),e.jsxs("div",{className:"wrapper__tags-action",children:[e.jsx("div",{className:"wrapper__tags",children:o&&(o==null?void 0:o.map((n,y)=>e.jsx(q.BlogTag,{color:n==null?void 0:n.color,children:n==null?void 0:n.name},`blog-card-sponsored-option__${y+1}`)))}),e.jsxs("div",{className:"info__content mobile-only",onClick:n=>{n.stopPropagation(),n.preventDefault()},children:[e.jsx(x,{}),e.jsx(R,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:()=>{g()}})]})]})]}),e.jsxs("div",{className:"wrapper__info",children:[e.jsxs("div",{className:"info__content",children:[e.jsx("div",{className:"info__text",children:`${d.formatLocaleDateString(h)} • ${d.formatString(u,j)}`}),e.jsxs("div",{className:"info__text",children:[e.jsxs("div",{children:[e.jsx(P,{icon:" mng-lnc-thumbs-up--filled",sizeInUnits:"1rem"}),d.getRoundedNumber(w)]}),e.jsxs("div",{children:[e.jsx(P,{icon:" mng-lnc-messages-filled",sizeInUnits:"1rem"}),d.getRoundedNumber(f)]})]})]}),e.jsxs("div",{className:"info__content desktop-only",onClick:n=>{n==null||n.preventDefault(),n==null||n.stopPropagation()},children:[e.jsx(x,{}),e.jsx(R,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:()=>{g()}})]})]})]})]})}),I=v.styled.div`
150
150
  display: flex;
151
151
  flex-direction: column;
152
152
  align-items: flex-start;
@@ -170,10 +170,10 @@
170
170
  bottom: -1.25rem;
171
171
  }
172
172
  }
173
- `,z=x.styled(t.SkeletonColumnWrapper)`
174
- @media (max-width: ${W.MOBILE_SIZE_PX+"px"}) {
173
+ `,z=v.styled(t.SkeletonColumnWrapper)`
174
+ @media ${W.down("S")} {
175
175
  & > div {
176
176
  flex-direction: column;
177
177
  }
178
178
  }
179
- `,E=({keyPrefix:i})=>e.jsxs(z,{children:[e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-1`),e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-2`),e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-3`),e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-4`),e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-5`)]}),O=({keyPrefix:i,isLoading:l=!1,fallbackComponent:c=e.jsx(e.Fragment,{}),children:o})=>e.jsx(a.Suspense,{fallbackComponent:c,children:l===!0?e.jsx(E,{keyPrefix:i}):o}),T=a.memo(I),D=a.forwardRef(({timeToReadText:i="{0} min read",items:l,isLoading:c=!1,onSelectCard:o=()=>{},onShare:h=()=>{},onBookmark:u=()=>{},getImage:j=()=>{},isSeparated:w=!0,bookmarkComponent:f=e.jsx(e.Fragment,{}),componentName:p,LinkComponent:_},k)=>{const g=a.useMemo(()=>l==null?void 0:l.map((r,s)=>{var m;return e.jsx(T,{blogUuid:r==null?void 0:r.uuid,title:r==null?void 0:r.title,titleSlug:r==null?void 0:r.titleSlug,options:r==null?void 0:r.options,publishedAt:r==null?void 0:r.publishedAt,timeToReadText:i,timeToRead:r==null?void 0:r.timeToRead,numberOfLikes:r==null?void 0:r.numberOfLikes,numberOfComments:r==null?void 0:r.numberOfComments,isSponsored:r==null?void 0:r.isSponsored,isBookmarked:r==null?void 0:r.isBookmarked,onSelectCard:(S,b)=>o==null?void 0:o(r,b),onShare:()=>h==null?void 0:h(r),onBookmark:u,imageUrl:j(r==null?void 0:r.imageUrl,r==null?void 0:r.uuid)||null,bookmarkComponent:f,metadata:{name:p,accessor:r==null?void 0:r.accessor},LinkComponent:_},`blog-card-item__${s+1}__${(m=r==null?void 0:r.isBookmarked)==null?void 0:m.toString()}`)}),[l]);return e.jsx(O,{isLoading:c,keyPrefix:"blog-list-skeleton",children:e.jsx(G,{ref:k,className:w?"separated":"",children:g})})});module.exports=D;
179
+ `,T=({keyPrefix:i})=>e.jsxs(z,{children:[e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-1`),e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-2`),e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-3`),e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-4`),e.jsxs(t.SkeletonRowWrapper,{children:[e.jsx(t.SkeletonSquarePlaceholder,{height:"9.5rem",width:"17.75rem"}),e.jsxs(t.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem"}),e.jsxs(t.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"}),e.jsx(t.SkeletonLinePlaceholder,{width:"5rem",height:"1.25rem"})]})]})]},`${i}-5`)]}),D=({keyPrefix:i,isLoading:l=!1,fallbackComponent:c=e.jsx(e.Fragment,{}),children:o})=>e.jsx(a.Suspense,{fallbackComponent:c,children:l===!0?e.jsx(T,{keyPrefix:i}):o}),F=a.memo(G),O=a.forwardRef(({timeToReadText:i="{0} min read",items:l,isLoading:c=!1,onSelectCard:o=()=>{},onShare:h=()=>{},onBookmark:u=()=>{},getImage:j=()=>{},isSeparated:w=!0,bookmarkComponent:f=e.jsx(e.Fragment,{}),componentName:p,LinkComponent:k},_)=>{const g=a.useMemo(()=>l==null?void 0:l.map((r,s)=>{var m;return e.jsx(F,{blogUuid:r==null?void 0:r.uuid,title:r==null?void 0:r.title,titleSlug:r==null?void 0:r.titleSlug,options:r==null?void 0:r.options,publishedAt:r==null?void 0:r.publishedAt,timeToReadText:i,timeToRead:r==null?void 0:r.timeToRead,numberOfLikes:r==null?void 0:r.numberOfLikes,numberOfComments:r==null?void 0:r.numberOfComments,isSponsored:r==null?void 0:r.isSponsored,isBookmarked:r==null?void 0:r.isBookmarked,onSelectCard:(S,b)=>o==null?void 0:o(r,b),onShare:()=>h==null?void 0:h(r),onBookmark:u,imageUrl:j(r==null?void 0:r.imageUrl,r==null?void 0:r.uuid)||null,bookmarkComponent:f,metadata:{name:p,accessor:r==null?void 0:r.accessor},LinkComponent:k},`blog-card-item__${s+1}__${(m=r==null?void 0:r.isBookmarked)==null?void 0:m.toString()}`)}),[l]);return e.jsx(D,{isLoading:c,keyPrefix:"blog-list-skeleton",children:e.jsx(I,{ref:_,className:w?"separated":"",children:g})})});module.exports=O;
@@ -1,14 +1,14 @@
1
1
  import { jsxs as t, jsx as e, Fragment as w } from "react/jsx-runtime";
2
- import { forwardRef as z, useRef as D, cloneElement as E, Suspense as M, memo as P, useMemo as U } from "react";
3
- import I from "./Icon.js";
4
- import j from "./IconButton.js";
5
- import { m as q, q as A, s as F, v as L, l as X } from "./utils-DtEfC-TX.js";
6
- import { P as Z } from "./index-B22BZVBG.js";
7
- import { B as H } from "./style-neMbLWE6.js";
2
+ import { forwardRef as L, useRef as O, cloneElement as U, Suspense as P, memo as q, useMemo as A } from "react";
3
+ import j from "./Icon.js";
4
+ import I from "./IconButton.js";
5
+ import { n as E, q as M, s as F, v as z, m as H } from "./utils-B2fsQ6PS.js";
6
+ import { P as J } from "./index-BvMY2TbK.js";
7
+ import { B as K } from "./style-BUyFad_y.js";
8
8
  import { s as S } from "./emotion-styled.browser.esm-BNN1dTl3.js";
9
- import { M as T } from "./consts-BuFChS64.js";
9
+ import { d as T } from "./breakpoints-ff0SIcV3.js";
10
10
  import { b as s, S as l, c as g, a as i } from "./style-BwQ4djFC.js";
11
- const J = S.a`
11
+ const Q = S.a`
12
12
  text-decoration: none;
13
13
  color: var(--gray-950);
14
14
  display: flex;
@@ -62,7 +62,7 @@ const J = S.a`
62
62
  font-weight: 600;
63
63
  line-height: 1.5rem;
64
64
  letter-spacing: 0.1px;
65
- ${q(3)}
65
+ ${E(3)}
66
66
  }
67
67
 
68
68
  & .wrapper__tags {
@@ -105,7 +105,7 @@ const J = S.a`
105
105
  }
106
106
  }
107
107
 
108
- @media (max-width: ${T + "px"}) {
108
+ @media ${T("S")} {
109
109
  flex-direction: column;
110
110
  padding: 0;
111
111
  background: transparent;
@@ -156,7 +156,7 @@ const J = S.a`
156
156
  }
157
157
  }
158
158
  }
159
- `, K = z(
159
+ `, V = L(
160
160
  ({
161
161
  blogUuid: o,
162
162
  title: m,
@@ -179,32 +179,32 @@ const J = S.a`
179
179
  titleSlug: p,
180
180
  LinkComponent: N
181
181
  }, B) => {
182
- const O = N || "a", G = () => X(r) ? E(r, {
182
+ const W = N || "a", G = () => H(r) ? U(r, {
183
183
  key: `bookmark_blog__${o}__${f}`,
184
184
  isBookmarked: f,
185
185
  blogUuid: o,
186
- onBookmark: (C, W) => $(C, W),
186
+ onBookmark: (C, D) => $(C, D),
187
187
  ref: B,
188
188
  componentName: "ExploreBlogSectionCard"
189
- }) : /* @__PURE__ */ e(w, {}), R = D();
189
+ }) : /* @__PURE__ */ e(w, {}), R = O();
190
190
  return /* @__PURE__ */ t(
191
- J,
191
+ Q,
192
192
  {
193
193
  ref: R,
194
194
  name: d == null ? void 0 : d.name,
195
195
  "data-accessor": d == null ? void 0 : d.accessor,
196
196
  onClick: (n) => k(n, R),
197
197
  className: "blog-card-item",
198
- as: O,
198
+ as: W,
199
199
  ...N ? { to: `/blog/${p}` } : { href: `/blog/${p}` },
200
200
  children: [
201
- /* @__PURE__ */ e(Z, { src: c, className: "wrapper__image" }),
201
+ /* @__PURE__ */ e(J, { src: c, className: "wrapper__image" }),
202
202
  /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
203
203
  /* @__PURE__ */ t("div", { className: "wrapper__subcontent", children: [
204
204
  /* @__PURE__ */ e("div", { className: "wrapper__title", children: m }),
205
205
  /* @__PURE__ */ t("div", { className: "wrapper__tags-action", children: [
206
206
  /* @__PURE__ */ e("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((n, C) => /* @__PURE__ */ e(
207
- H,
207
+ K,
208
208
  {
209
209
  color: n == null ? void 0 : n.color,
210
210
  children: n == null ? void 0 : n.name
@@ -221,7 +221,7 @@ const J = S.a`
221
221
  children: [
222
222
  /* @__PURE__ */ e(G, {}),
223
223
  /* @__PURE__ */ e(
224
- j,
224
+ I,
225
225
  {
226
226
  icon: " mng-lnc-share",
227
227
  borderRadius: "curved",
@@ -239,17 +239,17 @@ const J = S.a`
239
239
  ] }),
240
240
  /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
241
241
  /* @__PURE__ */ t("div", { className: "info__content", children: [
242
- /* @__PURE__ */ e("div", { className: "info__text", children: `${A(
242
+ /* @__PURE__ */ e("div", { className: "info__text", children: `${M(
243
243
  h
244
244
  )} • ${F(_, b)}` }),
245
245
  /* @__PURE__ */ t("div", { className: "info__text", children: [
246
246
  /* @__PURE__ */ t("div", { children: [
247
- /* @__PURE__ */ e(I, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
248
- L(v)
247
+ /* @__PURE__ */ e(j, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
248
+ z(v)
249
249
  ] }),
250
250
  /* @__PURE__ */ t("div", { children: [
251
- /* @__PURE__ */ e(I, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
252
- L(y)
251
+ /* @__PURE__ */ e(j, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
252
+ z(y)
253
253
  ] })
254
254
  ] })
255
255
  ] }),
@@ -263,7 +263,7 @@ const J = S.a`
263
263
  children: [
264
264
  /* @__PURE__ */ e(G, {}),
265
265
  /* @__PURE__ */ e(
266
- j,
266
+ I,
267
267
  {
268
268
  icon: " mng-lnc-share",
269
269
  borderRadius: "curved",
@@ -283,7 +283,7 @@ const J = S.a`
283
283
  }
284
284
  );
285
285
  }
286
- ), Q = S.div`
286
+ ), X = S.div`
287
287
  display: flex;
288
288
  flex-direction: column;
289
289
  align-items: flex-start;
@@ -307,13 +307,13 @@ const J = S.a`
307
307
  bottom: -1.25rem;
308
308
  }
309
309
  }
310
- `, V = S(s)`
311
- @media (max-width: ${T + "px"}) {
310
+ `, Y = S(s)`
311
+ @media ${T("S")} {
312
312
  & > div {
313
313
  flex-direction: column;
314
314
  }
315
315
  }
316
- `, Y = ({ keyPrefix: o }) => /* @__PURE__ */ t(V, { children: [
316
+ `, Z = ({ keyPrefix: o }) => /* @__PURE__ */ t(Y, { children: [
317
317
  /* @__PURE__ */ t(l, { children: [
318
318
  /* @__PURE__ */ e(g, { height: "9.5rem", width: "17.75rem" }),
319
319
  /* @__PURE__ */ t(s, { noGradient: !0, children: [
@@ -379,7 +379,7 @@ const J = S.a`
379
379
  isLoading: m = !1,
380
380
  fallbackComponent: c = /* @__PURE__ */ e(w, {}),
381
381
  children: a
382
- }) => /* @__PURE__ */ e(M, { fallbackComponent: c, children: m === !0 ? /* @__PURE__ */ e(Y, { keyPrefix: o }) : a }), ee = P(K), ce = z(
382
+ }) => /* @__PURE__ */ e(P, { fallbackComponent: c, children: m === !0 ? /* @__PURE__ */ e(Z, { keyPrefix: o }) : a }), ee = q(V), ce = L(
383
383
  ({
384
384
  timeToReadText: o = "{0} min read",
385
385
  items: m,
@@ -397,7 +397,7 @@ const J = S.a`
397
397
  componentName: f,
398
398
  LinkComponent: k
399
399
  }, $) => {
400
- const u = U(() => m == null ? void 0 : m.map((r, d) => {
400
+ const u = A(() => m == null ? void 0 : m.map((r, d) => {
401
401
  var p;
402
402
  return /* @__PURE__ */ e(
403
403
  ee,
@@ -424,7 +424,7 @@ const J = S.a`
424
424
  `blog-card-item__${d + 1}__${(p = r == null ? void 0 : r.isBookmarked) == null ? void 0 : p.toString()}`
425
425
  );
426
426
  }), [m]);
427
- return /* @__PURE__ */ e(x, { isLoading: c, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ e(Q, { ref: $, className: v ? "separated" : "", children: u }) });
427
+ return /* @__PURE__ */ e(x, { isLoading: c, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ e(X, { ref: $, className: v ? "separated" : "", children: u }) });
428
428
  }
429
429
  );
430
430
  export {
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),c=require("react"),j=require("./useDetectMobile-zkbzoOGV.cjs"),M=require("./index-BFc3nxYZ.cjs"),N=require("./Button.cjs"),f=require("./style-BTTXJFJN.cjs"),y=c.memo(M.SimpleProductCard),P=c.forwardRef(({buttonText:t,buttonLink:u,items:r,onButtonAction:a=()=>{},onSelectCard:s=()=>{},isLoading:R=!1,limit:_=4,getImage:l=()=>{},isHighlight:n=!1,componentName:d,LinkComponent:m},p)=>{const g=j.useDetectMobile(),b=c.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,q)=>i.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:(w,h)=>s==null?void 0:s(e==null?void 0:e.uuid,h),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:d,accessor:e==null?void 0:e.accessor},LinkComponent:m},q))},[r]);return i.jsxs(f.Wrapper,{ref:p,className:`blog-product-cards-section ${n?"highlight":""}`,children:[i.jsx("div",{className:"wrapper__grid",children:b}),i.jsx(N,{text:t,borderRadius:"curved",btnType:g?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>a(u)})]})});module.exports=P;
1
+ "use strict";const i=require("react/jsx-runtime"),c=require("react"),j=require("./useDetectMobile-DYV6V1yw.cjs"),M=require("./index-of6WydGq.cjs"),N=require("./Button.cjs"),f=require("./style-AYc9hnFj.cjs"),y=c.memo(M.SimpleProductCard),P=c.forwardRef(({buttonText:t,buttonLink:u,items:r,onButtonAction:a=()=>{},onSelectCard:s=()=>{},isLoading:R=!1,limit:_=4,getImage:l=()=>{},isHighlight:n=!1,componentName:d,LinkComponent:m},p)=>{const g=j.useDetectMobile(),b=c.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,q)=>i.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:(w,h)=>s==null?void 0:s(e==null?void 0:e.uuid,h),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:d,accessor:e==null?void 0:e.accessor},LinkComponent:m},q))},[r]);return i.jsxs(f.Wrapper,{ref:p,className:`blog-product-cards-section ${n?"highlight":""}`,children:[i.jsx("div",{className:"wrapper__grid",children:b}),i.jsx(N,{text:t,borderRadius:"curved",btnType:g?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>a(u)})]})});module.exports=P;
@@ -1,9 +1,9 @@
1
1
  import { jsx as o, jsxs as h } from "react/jsx-runtime";
2
2
  import { memo as N, forwardRef as M, useMemo as P } from "react";
3
- import { u as _ } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { S as w } from "./index-u_XFwsvc.js";
3
+ import { u as _ } from "./useDetectMobile-CcVo3PNi.js";
4
+ import { S as w } from "./index-9KyU46J0.js";
5
5
  import y from "./Button.js";
6
- import { W as U } from "./style-tw6KjI2J.js";
6
+ import { W as U } from "./style-Bq3rMbnN.js";
7
7
  const j = N(w), L = M(
8
8
  ({
9
9
  buttonText: a,
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-zkbzoOGV.cjs"),_=require("./index-D_5jNP-o.cjs"),f=require("./Button.cjs"),j=require("./style-BTTXJFJN.cjs"),w=o.memo(_.ShopCard),M=o.forwardRef(({buttonText:u,buttonLink:a,items:r,onButtonAction:c=()=>{},onSelectCard:s=()=>{},isLoading:v=!1,limit:R=4,getImage:n=()=>{},isHighlight:l=!1,componentName:d},p)=>{const h=q.useDetectMobile(),m=o.useMemo(()=>{var t;return(t=r==null?void 0:r.slice(0,4))==null?void 0:t.map((e,g)=>i.jsx(w,{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:(C,b)=>s==null?void 0:s(e==null?void 0:e.uuid,b),image:n(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0,metadata:{name:d,accessor:e==null?void 0:e.accessor}},`shop-card__${g+1}`))},[r]);return i.jsxs(j.Wrapper,{ref:p,className:l?"highlight":"",children:[i.jsx("div",{className:"wrapper__grid",children:m}),i.jsx(f,{text:u,borderRadius:"curved",btnType:h?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>c(a)})]})});module.exports=M;
1
+ "use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-DYV6V1yw.cjs"),_=require("./index-CUaeb_TU.cjs"),f=require("./Button.cjs"),j=require("./style-AYc9hnFj.cjs"),w=o.memo(_.ShopCard),M=o.forwardRef(({buttonText:u,buttonLink:a,items:r,onButtonAction:c=()=>{},onSelectCard:s=()=>{},isLoading:v=!1,limit:R=4,getImage:n=()=>{},isHighlight:l=!1,componentName:d},p)=>{const h=q.useDetectMobile(),m=o.useMemo(()=>{var t;return(t=r==null?void 0:r.slice(0,4))==null?void 0:t.map((e,g)=>i.jsx(w,{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:(C,b)=>s==null?void 0:s(e==null?void 0:e.uuid,b),image:n(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0,metadata:{name:d,accessor:e==null?void 0:e.accessor}},`shop-card__${g+1}`))},[r]);return i.jsxs(j.Wrapper,{ref:p,className:l?"highlight":"",children:[i.jsx("div",{className:"wrapper__grid",children:m}),i.jsx(f,{text:u,borderRadius:"curved",btnType:h?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>c(a)})]})});module.exports=M;
@@ -1,9 +1,9 @@
1
1
  import { jsx as i, jsxs as g } from "react/jsx-runtime";
2
2
  import { memo as b, forwardRef as _, useMemo as w } from "react";
3
- import { u as v } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { S as M } from "./index-D-86mDtn.js";
3
+ import { u as v } from "./useDetectMobile-CcVo3PNi.js";
4
+ import { S as M } from "./index-yARaIaLj.js";
5
5
  import C from "./Button.js";
6
- import { W as N } from "./style-tw6KjI2J.js";
6
+ import { W as N } from "./style-Bq3rMbnN.js";
7
7
  const S = b(M), L = _(
8
8
  ({
9
9
  buttonText: t,
@@ -1,5 +1,5 @@
1
- "use strict";const n=require("react/jsx-runtime"),s=require("react"),g=require("./index-BWE-RCPy.cjs"),l=require("./style-BAcV7F53.cjs"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),x=c.styled(l.SkeletonColumnWrapper)`
2
- @media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
1
+ "use strict";const n=require("react/jsx-runtime"),s=require("react"),g=require("./index-CBZ-jNah.cjs"),l=require("./style-BAcV7F53.cjs"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),x=c.styled(l.SkeletonColumnWrapper)`
2
+ @media ${d.down("S")} {
3
3
  & > div {
4
4
  height: 13.25rem;
5
5
 
@@ -13,4 +13,4 @@
13
13
  box-shadow: none;
14
14
  }
15
15
  }
16
- `,S=({keyPrefix:r})=>n.jsx(x,{children:n.jsx(l.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${r}-1`)}),h=({keyPrefix:r,isLoading:t=!1,fallbackComponent:o=n.jsx(n.Fragment,{}),children:e})=>n.jsx(s.Suspense,{fallbackComponent:o,children:t===!0?n.jsx(S,{keyPrefix:r}):e}),f=s.forwardRef((r,t)=>{const{isLoading:o,item:e,onSelectCard:i=()=>{},getImage:a=()=>{},LinkComponent:u}=r;return n.jsx(h,{isLoading:o,keyPrefix:"blogs-single-skeleton",children:n.jsx(g.BlogCardLarge,{ref:t,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,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>i(e==null?void 0:e.titleSlug),LinkComponent:u})})});module.exports=f;
16
+ `,S=({keyPrefix:r})=>n.jsx(x,{children:n.jsx(l.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${r}-1`)}),b=({keyPrefix:r,isLoading:t=!1,fallbackComponent:o=n.jsx(n.Fragment,{}),children:e})=>n.jsx(s.Suspense,{fallbackComponent:o,children:t===!0?n.jsx(S,{keyPrefix:r}):e}),f=s.forwardRef((r,t)=>{const{isLoading:o,item:e,onSelectCard:i=()=>{},getImage:a=()=>{},LinkComponent:u}=r;return n.jsx(b,{isLoading:o,keyPrefix:"blogs-single-skeleton",children:n.jsx(g.BlogCardLarge,{ref:t,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,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>i(e==null?void 0:e.titleSlug),LinkComponent:u})})});module.exports=f;
@@ -1,11 +1,11 @@
1
1
  import { jsx as r, Fragment as i } from "react/jsx-runtime";
2
2
  import { Suspense as g, forwardRef as d } from "react";
3
- import { B as u } from "./index-Cm414y95.js";
4
- import { b as f, a as p } from "./style-BwQ4djFC.js";
5
- import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { M as S } from "./consts-BuFChS64.js";
7
- const h = c(f)`
8
- @media (max-width: ${S + "px"}) {
3
+ import { B as u } from "./index-L_Va5-wK.js";
4
+ import { b as f, a as c } from "./style-BwQ4djFC.js";
5
+ import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
+ import { d as S } from "./breakpoints-ff0SIcV3.js";
7
+ const h = p(f)`
8
+ @media ${S("S")} {
9
9
  & > div {
10
10
  height: 13.25rem;
11
11
 
@@ -19,19 +19,19 @@ const h = c(f)`
19
19
  box-shadow: none;
20
20
  }
21
21
  }
22
- `, m = ({ keyPrefix: o }) => /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(
23
- p,
22
+ `, b = ({ keyPrefix: o }) => /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(
23
+ c,
24
24
  {
25
25
  height: "11.25rem",
26
26
  borderRadius: "0.75rem"
27
27
  },
28
28
  `${o}-1`
29
- ) }), b = ({
29
+ ) }), m = ({
30
30
  keyPrefix: o,
31
31
  isLoading: n = !1,
32
32
  fallbackComponent: t = /* @__PURE__ */ r(i, {}),
33
33
  children: e
34
- }) => /* @__PURE__ */ r(g, { fallbackComponent: t, children: n === !0 ? /* @__PURE__ */ r(m, { keyPrefix: o }) : e }), I = d((o, n) => {
34
+ }) => /* @__PURE__ */ r(g, { fallbackComponent: t, children: n === !0 ? /* @__PURE__ */ r(b, { keyPrefix: o }) : e }), y = d((o, n) => {
35
35
  const {
36
36
  isLoading: t,
37
37
  item: e,
@@ -41,7 +41,7 @@ const h = c(f)`
41
41
  },
42
42
  LinkComponent: s
43
43
  } = o;
44
- return /* @__PURE__ */ r(b, { isLoading: t, keyPrefix: "blogs-single-skeleton", children: /* @__PURE__ */ r(
44
+ return /* @__PURE__ */ r(m, { isLoading: t, keyPrefix: "blogs-single-skeleton", children: /* @__PURE__ */ r(
45
45
  u,
46
46
  {
47
47
  ref: n,
@@ -56,5 +56,5 @@ const h = c(f)`
56
56
  ) });
57
57
  });
58
58
  export {
59
- I as default
59
+ y as default
60
60
  };
@@ -1,12 +1,20 @@
1
- "use strict";const t=require("react/jsx-runtime"),u=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./consts-goSZX3xP.cjs"),L=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./utils-RnrgDDZP.cjs"),k=require("./style-B4kAj6YU.cjs"),O=require("./Button.cjs"),q=require("./index-uwl7BjRF.cjs"),B=require("./index-D-3I_Ppj.cjs"),D=v.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),a=require("./utils-CITgSxXe.cjs"),R=require("./style-DC05rdyx.cjs"),q=require("./Button.cjs"),L=require("./index-DsINTjQk.cjs"),O=require("./index-B_ilx3wM.cjs"),D=S.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
 
6
- @media (max-width: ${R.MOBILE_SIZE_PX+"px"}) {
6
+ @media ${w.down("M")} {
7
+ grid-template-columns: repeat(2, 1fr);
8
+ }
9
+
10
+ @media ${w.down("S")} {
11
+ grid-template-columns: repeat(2, 1fr);
12
+ }
13
+
14
+ @media ${w.down("XS")} {
7
15
  grid-template-columns: repeat(1, 1fr);
8
16
  }
9
- `,$=v.styled.a`
17
+ `,A=S.styled.a`
10
18
  text-decoration: none;
11
19
  color: var(--gray-950);
12
20
  display: flex;
@@ -45,11 +53,11 @@
45
53
  gap: 0.5rem;
46
54
  }
47
55
 
48
- @media (max-width: ${R.MOBILE_SIZE_PX+"px"}) {
56
+ @media ${w.down("S")} {
49
57
  max-height: 100%;
50
58
  min-height: 100%;
51
59
  }
52
- `,A=v.styled.div`
60
+ `,B=S.styled.div`
53
61
  display: flex;
54
62
  flex-direction: column;
55
63
  gap: 0;
@@ -94,4 +102,4 @@
94
102
  align-items: center;
95
103
  gap: 1rem;
96
104
  }
97
- `,E=u.forwardRef((o,S)=>{const{title:p,imageUrl:w,text:y,numberOfLikes:r,numberOfComments:f,timeToRead:l,publishedAt:c,tags:s,onCardClick:h,timeToReadText:d="{0} min read",metadata:i,titleSlug:m,LinkComponent:g}=o,b=g||"a",j=u.useRef();return t.jsxs($,{ref:j,className:"blog-card","data-accessor":i==null?void 0:i.accessor,name:i==null?void 0:i.name,onClick:e=>h(e,j),as:b,...g?{to:`/blog/${m}`}:{href:`/blog/${m}`},children:[t.jsx(q.ProductImageWrapper,{src:w}),t.jsxs("div",{className:"blog-card-content",children:[t.jsxs(A,{children:[t.jsxs("div",{className:"info-wr",children:[t.jsxs("div",{className:"info-wr-1",children:[t.jsxs("span",{children:[a.formatLocaleDateString(c)," "]}),t.jsx("span",{className:"small-dot",children:"●"}),l&&d?`${a.formatString(d,l)}`:"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:a.getRoundedNumber(r)})]}),t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-messages-filled"}),t.jsx("span",{children:a.getRoundedNumber(f)})]})]})]}),t.jsx("div",{className:"text-wr-title",children:p}),t.jsx("div",{className:"text-wr",children:y})]}),s&&t.jsx("div",{className:"tags-wr",children:s==null?void 0:s.map((e,n)=>t.jsx(k.BlogTag,{color:e==null?void 0:e.color,children:e==null?void 0:e.name},n))})]})]})}),C=u.memo(E),I=u.forwardRef((o,S)=>{const{icon:p,title:w,onButtonAction:y,items:r,buttonText:f,timeToReadText:l,limit:c=3,onSelectCard:s=()=>{},isLoading:h=!1,buttonLink:d,getImage:i=()=>{},componentName:m,LinkComponent:g}=o,b=L.useDetectMobile(),j=u.useMemo(()=>t.jsx(t.Fragment,{children:b===!0?r==null?void 0:r.map((e,n)=>t.jsx(C,{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:l,tags:e==null?void 0:e.tags,onCardClick:(T,N)=>s(e==null?void 0:e.titleSlug,N),imageUrl:i(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,metadata:{name:m,accessor:e==null?void 0:e.accessor},LinkComponent:g},n)):r==null?void 0:r.slice(0,c).map((e,n)=>t.jsx(C,{title:e==null?void 0:e.title,imageUrl:i(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:l,onCardClick:(T,N)=>s(e==null?void 0:e.titleSlug,N),metadata:{name:m,accessor:e==null?void 0:e.accessor},LinkComponent:g},n))}),[r,b,c,s]);return t.jsxs(k.RegulatTitleSectionWrapper,{ref:S,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[a.isDefinedNotEmptyString(p)&&t.jsx("i",{className:p}),t.jsx("span",{children:w})]}),a.isDefinedNotEmptyString(f)&&a.isDefinedNotEmptyString(d)&&!h&&t.jsx(O,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var n;(n=e==null?void 0:e.target)==null||n.blur(),y(d)},borderRadius:"curved",className:"button-link",children:f})]}),t.jsx(B.SuspenseBlogsSectionDetailed,{isLoading:h,keyPrefix:"blogs-detailed-skeleton",children:t.jsx(D,{limit:c,children:j})})]})});module.exports=I;
105
+ `,z=u.forwardRef((o,C)=>{const{title:p,imageUrl:y,text:N,numberOfLikes:r,numberOfComments:f,timeToRead:l,publishedAt:c,tags:s,onCardClick:h,timeToReadText:d="{0} min read",metadata:i,titleSlug:m,LinkComponent:g}=o,b=g||"a",j=u.useRef();return t.jsxs(A,{ref:j,className:"blog-card","data-accessor":i==null?void 0:i.accessor,name:i==null?void 0:i.name,onClick:e=>h(e,j),as:b,...g?{to:`/blog/${m}`}:{href:`/blog/${m}`},children:[t.jsx(L.ProductImageWrapper,{src:y}),t.jsxs("div",{className:"blog-card-content",children:[t.jsxs(B,{children:[t.jsxs("div",{className:"info-wr",children:[t.jsxs("div",{className:"info-wr-1",children:[t.jsxs("span",{children:[a.formatLocaleDateString(c)," "]}),t.jsx("span",{className:"small-dot",children:"●"}),l&&d?`${a.formatString(d,l)}`:"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:a.getRoundedNumber(r)})]}),t.jsxs("span",{className:"info-wr-1",children:[t.jsx("i",{className:"mng mng-lnc-messages-filled"}),t.jsx("span",{children:a.getRoundedNumber(f)})]})]})]}),t.jsx("div",{className:"text-wr-title",children:p}),t.jsx("div",{className:"text-wr",children:N})]}),s&&t.jsx("div",{className:"tags-wr",children:s==null?void 0:s.map((e,n)=>t.jsx(R.BlogTag,{color:e==null?void 0:e.color,children:e==null?void 0:e.name},n))})]})]})}),k=u.memo(z),M=u.forwardRef((o,C)=>{const{icon:p,title:y,onButtonAction:N,items:r,buttonText:f,timeToReadText:l,limit:c=3,onSelectCard:s=()=>{},isLoading:h=!1,buttonLink:d,getImage:i=()=>{},componentName:m,LinkComponent:g}=o,b=$.useDetectMobile(),j=u.useMemo(()=>t.jsx(t.Fragment,{children:b===!0?r==null?void 0:r.map((e,n)=>t.jsx(k,{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:l,tags:e==null?void 0:e.tags,onCardClick:(T,v)=>s(e==null?void 0:e.titleSlug,v),imageUrl:i(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,metadata:{name:m,accessor:e==null?void 0:e.accessor},LinkComponent:g},n)):r==null?void 0:r.slice(0,c).map((e,n)=>t.jsx(k,{title:e==null?void 0:e.title,imageUrl:i(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:l,onCardClick:(T,v)=>s(e==null?void 0:e.titleSlug,v),metadata:{name:m,accessor:e==null?void 0:e.accessor},LinkComponent:g},n))}),[r,b,c,s]);return t.jsxs(R.RegulatTitleSectionWrapper,{ref:C,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[a.isDefinedNotEmptyString(p)&&t.jsx("i",{className:p}),t.jsx("span",{children:y})]}),a.isDefinedNotEmptyString(f)&&a.isDefinedNotEmptyString(d)&&!h&&t.jsx(q,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var n;(n=e==null?void 0:e.target)==null||n.blur(),N(d)},borderRadius:"curved",className:"button-link",children:f})]}),t.jsx(O.SuspenseBlogsSectionDetailed,{isLoading:h,keyPrefix:"blogs-detailed-skeleton",children:t.jsx(D,{limit:c,children:j})})]})});module.exports=M;