@lanaco/lnc-react-ui 4.0.112 → 4.0.114

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 (296) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +1 -1
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +1 -1
  7. package/dist/ActionsToolbar.cjs +1 -1
  8. package/dist/ActionsToolbar.js +1 -1
  9. package/dist/Alert.cjs +1 -1
  10. package/dist/Alert.js +1 -1
  11. package/dist/Avatar.cjs +1 -1
  12. package/dist/Avatar.js +1 -1
  13. package/dist/Badge.cjs +1 -1
  14. package/dist/Badge.js +1 -1
  15. package/dist/BannerSectionCarousel.cjs +1 -1
  16. package/dist/BannerSectionCarousel.js +3 -3
  17. package/dist/BannerSectionWithListImage.cjs +2 -2
  18. package/dist/BannerSectionWithListImage.js +9 -9
  19. package/dist/BlogCardsSponsoredSection.cjs +25 -14
  20. package/dist/BlogCardsSponsoredSection.js +59 -47
  21. package/dist/BlogListSection.cjs +37 -9
  22. package/dist/BlogListSection.js +127 -70
  23. package/dist/BlogsSectionDetailed.cjs +11 -6
  24. package/dist/BlogsSectionDetailed.js +7 -2
  25. package/dist/BlogsSectionSimple.cjs +2 -2
  26. package/dist/BlogsSectionSimple.js +1 -1
  27. package/dist/BlogsSectionSimpleCentered.cjs +3 -2
  28. package/dist/BlogsSectionSimpleCentered.js +1 -0
  29. package/dist/BlogsSectionWithFilters.cjs +2 -2
  30. package/dist/BlogsSectionWithFilters.js +15 -15
  31. package/dist/BrandHitsSection.cjs +11 -11
  32. package/dist/BrandHitsSection.js +40 -38
  33. package/dist/Breadcrumbs.cjs +1 -1
  34. package/dist/Breadcrumbs.js +1 -1
  35. package/dist/Button.cjs +1 -1
  36. package/dist/Button.js +2 -2
  37. package/dist/ButtonGroup.cjs +1 -1
  38. package/dist/ButtonGroup.js +1 -1
  39. package/dist/CalorieCalculatorSection.cjs +1 -1
  40. package/dist/CalorieCalculatorSection.js +1 -1
  41. package/dist/CheckBoxInput.cjs +1 -1
  42. package/dist/CheckBoxInput.js +1 -1
  43. package/dist/Chip.cjs +1 -1
  44. package/dist/Chip.js +1 -1
  45. package/dist/ColorInput.cjs +1 -1
  46. package/dist/ColorInput.js +2 -2
  47. package/dist/ConfirmationForm.cjs +1 -1
  48. package/dist/ConfirmationForm.js +1 -1
  49. package/dist/ContactSection.cjs +303 -0
  50. package/dist/ContactSection.js +1614 -0
  51. package/dist/Content.cjs +1 -1
  52. package/dist/Content.js +1 -1
  53. package/dist/{CustomStyles-DtKDPOdk.cjs → CustomStyles-D3JePSNK.cjs} +1 -1
  54. package/dist/{CustomStyles-Dd8IsVV6.js → CustomStyles-DpKzWczC.js} +2 -2
  55. package/dist/DailyMotion-CUHIuSln.js +136 -0
  56. package/dist/DailyMotion-D46sLmkS.cjs +1 -0
  57. package/dist/DataView.cjs +1 -1
  58. package/dist/DataView.js +1 -1
  59. package/dist/DateInput.cjs +4 -4
  60. package/dist/DateInput.js +496 -552
  61. package/dist/DecimalInput.cjs +1 -1
  62. package/dist/DecimalInput.js +2 -2
  63. package/dist/DecimalInputV2.cjs +1 -1
  64. package/dist/DecimalInputV2.js +1 -1
  65. package/dist/DetailedProductsSection.cjs +2 -2
  66. package/dist/DetailedProductsSection.js +6 -6
  67. package/dist/DetailsView.cjs +1 -1
  68. package/dist/DetailsView.js +1 -1
  69. package/dist/DoubleRangeSlider.cjs +1 -1
  70. package/dist/DoubleRangeSlider.js +1 -1
  71. package/dist/DragAndDropFile.cjs +1 -1
  72. package/dist/DragAndDropFile.js +1 -1
  73. package/dist/DragDropFiles.cjs +1 -1
  74. package/dist/DragDropFiles.js +1 -1
  75. package/dist/Drawer.cjs +1 -1
  76. package/dist/Drawer.js +2 -2
  77. package/dist/Dropdown.cjs +1 -1
  78. package/dist/Dropdown.js +5 -5
  79. package/dist/DropdownItem.cjs +1 -1
  80. package/dist/DropdownItem.js +1 -1
  81. package/dist/DropdownLookup.cjs +1 -1
  82. package/dist/DropdownLookup.js +4 -4
  83. package/dist/DropdownMenu.cjs +1 -1
  84. package/dist/DropdownMenu.js +1 -1
  85. package/dist/EditableTable.cjs +1 -1
  86. package/dist/EditableTable.js +1 -1
  87. package/dist/Facebook-R53Rry9l.cjs +1 -0
  88. package/dist/Facebook-aEQQxj-r.js +121 -0
  89. package/dist/FaqSection.cjs +219 -0
  90. package/dist/FaqSection.js +481 -0
  91. package/dist/FeedbackSection.cjs +3 -3
  92. package/dist/FeedbackSection.js +9 -9
  93. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +7 -7
  94. package/dist/FieldOfInterestsWithTagsCardsSection.js +24 -23
  95. package/dist/FileInput.cjs +1 -1
  96. package/dist/FileInput.js +1 -1
  97. package/dist/FilePlayer-9FdL9kM0.js +202 -0
  98. package/dist/FilePlayer-D9up8eWZ.cjs +1 -0
  99. package/dist/FlexBox.cjs +1 -1
  100. package/dist/FlexBox.js +1 -1
  101. package/dist/FlexGrid.cjs +1 -1
  102. package/dist/FlexGrid.js +1 -1
  103. package/dist/FlexGridItem.cjs +1 -1
  104. package/dist/FlexGridItem.js +1 -1
  105. package/dist/Footer.cjs +1 -1
  106. package/dist/Footer.js +1 -1
  107. package/dist/FormField.cjs +1 -1
  108. package/dist/FormField.js +1 -1
  109. package/dist/FormView.cjs +1 -1
  110. package/dist/FormView.js +1 -1
  111. package/dist/GiftCardsSection.cjs +2 -2
  112. package/dist/GiftCardsSection.js +9 -9
  113. package/dist/Grid.cjs +1 -1
  114. package/dist/Grid.js +1 -1
  115. package/dist/GridItem.cjs +1 -1
  116. package/dist/GridItem.js +1 -1
  117. package/dist/Header.cjs +1 -1
  118. package/dist/Header.js +1 -1
  119. package/dist/HelpBannerSection.cjs +62 -0
  120. package/dist/HelpBannerSection.js +81 -0
  121. package/dist/Icon.cjs +1 -1
  122. package/dist/Icon.js +1 -1
  123. package/dist/IconButton.cjs +1 -1
  124. package/dist/IconButton.js +1 -1
  125. package/dist/Kaltura-C170sgeD.cjs +1 -0
  126. package/dist/Kaltura-Dziqci9-.js +121 -0
  127. package/dist/Kanban.cjs +1 -1
  128. package/dist/Kanban.js +5 -5
  129. package/dist/KanbanActionsToolbar.cjs +1 -1
  130. package/dist/KanbanActionsToolbar.js +1 -1
  131. package/dist/{KanbanCard-CXRQQu4S.cjs → KanbanCard-CP60mpJO.cjs} +1 -1
  132. package/dist/{KanbanCard-CIscpYlR.js → KanbanCard-Crf-cTxA.js} +2 -2
  133. package/dist/KanbanCard.cjs +1 -1
  134. package/dist/KanbanCard.js +2 -2
  135. package/dist/KanbanFooter.cjs +1 -1
  136. package/dist/KanbanFooter.js +1 -1
  137. package/dist/KanbanHeader.cjs +1 -1
  138. package/dist/KanbanHeader.js +1 -1
  139. package/dist/KanbanView.cjs +1 -1
  140. package/dist/KanbanView.js +2 -2
  141. package/dist/Link.cjs +1 -1
  142. package/dist/Link.js +1 -1
  143. package/dist/LocationSearchSection.cjs +1 -1
  144. package/dist/LocationSearchSection.js +1 -1
  145. package/dist/MenuItem.cjs +1 -1
  146. package/dist/MenuItem.js +1 -1
  147. package/dist/Mixcloud-Cfn28kqf.js +113 -0
  148. package/dist/Mixcloud-Towpm_ct.cjs +1 -0
  149. package/dist/Modal.cjs +1 -1
  150. package/dist/Modal.js +2 -2
  151. package/dist/MultiSelectDropdown.cjs +1 -1
  152. package/dist/MultiSelectDropdown.js +3 -3
  153. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  154. package/dist/MultiSelectDropdownLookup.js +3 -3
  155. package/dist/Mux-D0MPDKkM.js +165 -0
  156. package/dist/Mux-yqNOmuss.cjs +1 -0
  157. package/dist/NestedDropdownItem.cjs +1 -1
  158. package/dist/NestedDropdownItem.js +1 -1
  159. package/dist/NestedMenuItem.cjs +1 -1
  160. package/dist/NestedMenuItem.js +1 -1
  161. package/dist/Notification.cjs +1 -1
  162. package/dist/Notification.js +1 -1
  163. package/dist/NotificationContainer.cjs +1 -1
  164. package/dist/NotificationContainer.js +2 -2
  165. package/dist/NotificationMessage.cjs +1 -1
  166. package/dist/NotificationMessage.js +1 -1
  167. package/dist/NumberInput.cjs +1 -1
  168. package/dist/NumberInput.js +2 -2
  169. package/dist/PageLayout.cjs +1 -1
  170. package/dist/PageLayout.js +1 -1
  171. package/dist/Pagination.cjs +1 -1
  172. package/dist/Pagination.js +1 -1
  173. package/dist/PasswordInput.cjs +1 -1
  174. package/dist/PasswordInput.js +2 -2
  175. package/dist/Popover.cjs +1 -1
  176. package/dist/Popover.js +1 -1
  177. package/dist/PopoverContent.cjs +1 -1
  178. package/dist/PopoverContent.js +2 -2
  179. package/dist/PopoverDescription.cjs +1 -1
  180. package/dist/PopoverDescription.js +1 -1
  181. package/dist/PopoverHeading.cjs +1 -1
  182. package/dist/PopoverHeading.js +1 -1
  183. package/dist/PopoverTrigger.cjs +1 -1
  184. package/dist/PopoverTrigger.js +2 -2
  185. package/dist/Preview-B8HyPnfR.cjs +1 -0
  186. package/dist/Preview-CO6WSP5f.js +127 -0
  187. package/dist/ProgressBar.cjs +1 -1
  188. package/dist/ProgressBar.js +1 -1
  189. package/dist/QuattroCardsSection.cjs +5 -5
  190. package/dist/QuattroCardsSection.js +7 -7
  191. package/dist/RadioGroup.cjs +1 -1
  192. package/dist/RadioGroup.js +1 -1
  193. package/dist/RadioInput.cjs +1 -1
  194. package/dist/RadioInput.js +1 -1
  195. package/dist/RangeSlider.cjs +1 -1
  196. package/dist/RangeSlider.js +1 -1
  197. package/dist/ReviewsSection.cjs +1 -1
  198. package/dist/ReviewsSection.js +1 -1
  199. package/dist/SalesCampaignsSection.cjs +1 -1
  200. package/dist/SalesCampaignsSection.js +1 -1
  201. package/dist/SearchBar.cjs +1 -1
  202. package/dist/SearchBar.js +3 -3
  203. package/dist/SearchSection-BUD-hnQA.cjs +161 -0
  204. package/dist/SearchSection-xe0nvARV.js +1214 -0
  205. package/dist/SearchSection.cjs +1 -0
  206. package/dist/SearchSection.js +9 -0
  207. package/dist/Separator.cjs +1 -1
  208. package/dist/Separator.js +1 -1
  209. package/dist/ShopCardsSection.cjs +1 -1
  210. package/dist/ShopCardsSection.js +3 -2
  211. package/dist/Sidebar.cjs +1 -1
  212. package/dist/Sidebar.js +1 -1
  213. package/dist/SimpleCategoriesSection.cjs +2 -2
  214. package/dist/SimpleCategoriesSection.js +4 -4
  215. package/dist/SoundCloud-D85Da68L.js +123 -0
  216. package/dist/SoundCloud-YZlcPffr.cjs +1 -0
  217. package/dist/Spinner.cjs +1 -1
  218. package/dist/Spinner.js +2 -2
  219. package/dist/StatsSection.cjs +117 -0
  220. package/dist/StatsSection.js +154 -0
  221. package/dist/Streamable-CJQf8evZ.cjs +1 -0
  222. package/dist/Streamable-Zj4FOeBP.js +115 -0
  223. package/dist/Surface.cjs +1 -1
  224. package/dist/Surface.js +1 -1
  225. package/dist/SwipeableDrawer.cjs +1 -1
  226. package/dist/SwipeableDrawer.js +1 -1
  227. package/dist/TabItem.cjs +1 -1
  228. package/dist/TabItem.js +1 -1
  229. package/dist/Table.cjs +1 -1
  230. package/dist/Table.js +3 -3
  231. package/dist/TableView.cjs +1 -1
  232. package/dist/TableView.js +1 -1
  233. package/dist/Tabs.cjs +1 -1
  234. package/dist/Tabs.js +1 -1
  235. package/dist/TextAreaInput.cjs +1 -1
  236. package/dist/TextAreaInput.js +2 -2
  237. package/dist/TextInput.cjs +1 -1
  238. package/dist/TextInput.js +2 -2
  239. package/dist/ThemeProvider.cjs +1 -1
  240. package/dist/ThemeProvider.js +2 -2
  241. package/dist/TimeInput.cjs +1 -1
  242. package/dist/TimeInput.js +2 -2
  243. package/dist/Toggle.cjs +1 -1
  244. package/dist/Toggle.js +1 -1
  245. package/dist/TreeMenu.cjs +1 -1
  246. package/dist/TreeMenu.js +1 -1
  247. package/dist/TreeMenuSeparator.cjs +1 -1
  248. package/dist/TreeMenuSeparator.js +1 -1
  249. package/dist/Twitch-Ba2O5gTX.cjs +1 -0
  250. package/dist/Twitch-DC97YrR8.js +117 -0
  251. package/dist/UploadedFile.cjs +1 -1
  252. package/dist/UploadedFile.js +1 -1
  253. package/dist/UrgentSaleProductsSection.cjs +1 -1
  254. package/dist/UrgentSaleProductsSection.js +5 -5
  255. package/dist/Vidyard-BdNB5Wka.cjs +1 -0
  256. package/dist/Vidyard-D9vYqvNv.js +113 -0
  257. package/dist/Vimeo-23LnW4uS.js +146 -0
  258. package/dist/Vimeo-DatJiKS5.cjs +1 -0
  259. package/dist/Wistia-D--UDN6c.cjs +1 -0
  260. package/dist/Wistia-d2TQ3m-s.js +124 -0
  261. package/dist/YouTube-BEkcZxN7.cjs +1 -0
  262. package/dist/YouTube-x5-hc3s6.js +176 -0
  263. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  264. package/dist/_commonjsHelpers-DwTZ_eVU.cjs +1 -0
  265. package/dist/{emotion-react.browser.esm-1R69UXoj.cjs → emotion-react.browser.esm-Cvnp-zmB.cjs} +1 -1
  266. package/dist/{emotion-react.browser.esm-C6iWxXPG.js → emotion-react.browser.esm-DUVZ5oEL.js} +1 -1
  267. package/dist/{floating-ui.react.esm-h3qa3pb9.js → floating-ui.react.esm-CfpRzwmn.js} +1 -1
  268. package/dist/{floating-ui.react.esm-Bb1ww976.cjs → floating-ui.react.esm-CiYofNnh.cjs} +1 -1
  269. package/dist/{hoist-non-react-statics.cjs-Dr-ytKVG.cjs → hoist-non-react-statics.cjs-DGqlkKoS.cjs} +1 -1
  270. package/dist/{hoist-non-react-statics.cjs-CAHiRNzQ.js → hoist-non-react-statics.cjs-NQME298B.js} +1 -1
  271. package/dist/{index-EeoArxOx.cjs → index-41nUb2kP.cjs} +1 -1
  272. package/dist/{index-BlxaTV-D.js → index-6RFrSPs_.js} +1 -1
  273. package/dist/{index-64mXPFBC.js → index-B1vKwsDE.js} +1 -1
  274. package/dist/{index-Bq3leL2e.js → index-BXrmgzsU.js} +1 -1
  275. package/dist/{index-gY9e_8LL.cjs → index-BZnmT78f.cjs} +1 -1
  276. package/dist/{index-CQLF61YV.js → index-BgRyIsRu.js} +1 -1
  277. package/dist/{index-BPVoEhTF.cjs → index-BpbMKBf_.cjs} +1 -1
  278. package/dist/index-CDGmG-qk.cjs +1 -0
  279. package/dist/{index-S5Cd7WrG.js → index-CblbdqjE.js} +1 -1
  280. package/dist/{index-DaiUAQVF.cjs → index-Cp66dWMi.cjs} +1 -1
  281. package/dist/{index-DAOBjHnD.cjs → index-DA7SIHV1.cjs} +1 -1
  282. package/dist/{index-C1DkD2ug.cjs → index-DCFJmN23.cjs} +1 -1
  283. package/dist/{index-CkWvbrVT.js → index-Dt62UGku.js} +1 -1
  284. package/dist/index-wlx30R-h.js +62 -0
  285. package/dist/index.cjs +1 -1
  286. package/dist/index.js +60 -50
  287. package/dist/{react-toastify.esm--2awuizG.js → react-toastify.esm-BLQznunb.js} +1 -1
  288. package/dist/{react-toastify.esm-Dq1k28O7.cjs → react-toastify.esm-BoMuFZcq.cjs} +1 -1
  289. package/dist/{styled-components.browser.esm-CMTEDJ_5.cjs → styled-components.browser.esm-CvykQBGY.cjs} +1 -1
  290. package/dist/{styled-components.browser.esm-C9FYANiy.js → styled-components.browser.esm-D-n22PJk.js} +1 -1
  291. package/dist/usePopover.cjs +1 -1
  292. package/dist/usePopover.js +1 -1
  293. package/package.json +8 -2
  294. package/vite.config.js +14 -0
  295. package/dist/_commonjsHelpers-DKOUU3wS.cjs +0 -1
  296. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
@@ -1,21 +1,21 @@
1
1
  import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as v, memo as z, useMemo as j } from "react";
3
- import { p as I, s as S, v as $, w as b, k as C } from "./utils-BbgAIA9N.js";
2
+ import { forwardRef as v, memo as j, useMemo as I } from "react";
3
+ import { p as y, s as S, v as C, w as b, k as R } from "./utils-BbgAIA9N.js";
4
4
  import w from "./Icon.js";
5
- import R from "./Chip.js";
6
- import { P as L } from "./index-YGcWbzeb.js";
7
- import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
8
- import { S as P } from "./suspense-large-BM9s_kZP.js";
9
- import U from "./Button.js";
10
- import { M } from "./consts-BuFChS64.js";
11
- const T = y.div`
5
+ import L from "./Chip.js";
6
+ import { P } from "./index-YGcWbzeb.js";
7
+ import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
8
+ import { M as z } from "./consts-BuFChS64.js";
9
+ import { S as U } from "./suspense-large-BM9s_kZP.js";
10
+ import M from "./Button.js";
11
+ const T = N.div`
12
12
  display: flex;
13
13
  padding: 1rem;
14
14
  align-items: center;
15
15
  gap: 1.25rem;
16
16
  border-radius: 1.25rem;
17
17
  align-items: stretch;
18
- border: ${(l) => l != null && l.isSponsored ? "2px solid var(--yellow-500, #f59e0b)" : "1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08))"};
18
+ border: ${(s) => s != null && s.isSponsored ? "2px solid var(--yellow-500, #f59e0b)" : "1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08))"};
19
19
  background: var(--white, #fff);
20
20
  min-height: 10.5rem;
21
21
  position: relative;
@@ -71,7 +71,7 @@ const T = y.div`
71
71
  font-weight: 600;
72
72
  line-height: 1.5rem;
73
73
  letter-spacing: 0.1px;
74
- ${I(3)}
74
+ ${y(3)}
75
75
  }
76
76
 
77
77
  & .wrapper__tags {
@@ -112,41 +112,53 @@ const T = y.div`
112
112
  }
113
113
  }
114
114
 
115
- @media (max-width: 400px) {
115
+ @media (max-width: ${z + "px"}) {
116
116
  flex-direction: column;
117
+ padding: 0;
118
+
119
+ & .wrapper__image {
120
+ border-bottom-left-radius: 0;
121
+ border-bottom-right-radius: 0;
122
+ }
117
123
 
118
124
  & .wrapper__content {
119
125
  gap: 1rem;
126
+ padding: 0 1rem 1rem 1rem;
127
+
128
+ & .wrapper__subcontent {
129
+ order: 1;
130
+ }
120
131
 
121
132
  & .wrapper__info {
122
133
  gap: 0.5rem;
123
- flex-direction: column;
134
+ justify-content: space-between;
135
+ order: 0;
124
136
  }
125
137
  }
126
138
  }
127
139
  `, E = v(
128
140
  ({
129
- title: l,
141
+ title: s,
130
142
  imageUrl: d,
131
- options: s,
143
+ options: l,
132
144
  publishedAt: c,
133
145
  timeToReadText: g = "{0} min read",
134
146
  timeToRead: f = 0,
135
147
  numberOfLikes: n = 0,
136
148
  numberOfComments: m = 0,
137
- isSponsored: p = !1,
138
- onSelectCard: o = () => {
149
+ isSponsored: o = !1,
150
+ onSelectCard: p = () => {
139
151
  },
140
152
  onSelectOption: _ = () => {
141
153
  }
142
- }, u) => /* @__PURE__ */ a(T, { isSponsored: p, onClick: o, children: [
143
- p && /* @__PURE__ */ r("div", { className: "wrapper__sponsored", children: /* @__PURE__ */ r(w, { icon: " mng-lnc-paw", sizeInUnits: "1.5rem" }) }),
144
- /* @__PURE__ */ r(L, { src: d, className: "wrapper__image" }),
154
+ }, u) => /* @__PURE__ */ a(T, { isSponsored: o, onClick: p, children: [
155
+ o && /* @__PURE__ */ r("div", { className: "wrapper__sponsored", children: /* @__PURE__ */ r(w, { icon: " mng-lnc-paw", sizeInUnits: "1.5rem" }) }),
156
+ /* @__PURE__ */ r(P, { src: d, className: "wrapper__image" }),
145
157
  /* @__PURE__ */ a("div", { className: "wrapper__content", children: [
146
158
  /* @__PURE__ */ a("div", { className: "wrapper__subcontent", children: [
147
- /* @__PURE__ */ r("div", { className: "wrapper__title", children: l }),
148
- /* @__PURE__ */ r("div", { className: "wrapper__tags", children: s && (s == null ? void 0 : s.map((i, h) => /* @__PURE__ */ r(
149
- R,
159
+ /* @__PURE__ */ r("div", { className: "wrapper__title", children: s }),
160
+ /* @__PURE__ */ r("div", { className: "wrapper__tags", children: l && (l == null ? void 0 : l.map((i, h) => /* @__PURE__ */ r(
161
+ L,
150
162
  {
151
163
  label: i == null ? void 0 : i.name,
152
164
  color: i == null ? void 0 : i.color,
@@ -161,7 +173,7 @@ const T = y.div`
161
173
  /* @__PURE__ */ a("div", { className: "wrapper__info", children: [
162
174
  /* @__PURE__ */ r("div", { className: "info__text", children: `${S(
163
175
  c
164
- )} • ${$(g, f)}` }),
176
+ )} • ${C(g, f)}` }),
165
177
  /* @__PURE__ */ a("div", { className: "info__text", children: [
166
178
  /* @__PURE__ */ a("div", { children: [
167
179
  /* @__PURE__ */ r(w, { icon: " mng-lnc-thumbs-up", sizeInUnits: "1rem" }),
@@ -175,7 +187,7 @@ const T = y.div`
175
187
  ] })
176
188
  ] })
177
189
  ] })
178
- ), W = y.div`
190
+ ), W = N.div`
179
191
  display: flex;
180
192
  flex-direction: column;
181
193
  align-items: flex-start;
@@ -193,7 +205,8 @@ const T = y.div`
193
205
 
194
206
  & .title__text {
195
207
  color: var(--gray-950, #14161a);
196
- text-align: center;
208
+ ${y(2)}
209
+
197
210
  font-size: 1.5rem;
198
211
  font-style: normal;
199
212
  font-weight: 600;
@@ -244,12 +257,10 @@ const T = y.div`
244
257
  width: 100%;
245
258
  }
246
259
 
247
- @media (max-width: ${M + "px"}) {
248
- & .wrapper__heading {
249
- & .wrapper__title {
250
- & .title__action {
251
- display: none;
252
- }
260
+ @media (max-width: ${z + "px"}) {
261
+ & .wrapper__title {
262
+ & .title__text {
263
+ font-size: 1.375rem;
253
264
  }
254
265
  }
255
266
 
@@ -258,28 +269,28 @@ const T = y.div`
258
269
  gap: 1rem;
259
270
  }
260
271
  }
261
- `, B = z(E), Q = v(
272
+ `, B = j(E), Q = v(
262
273
  ({
263
- title: l,
274
+ title: s,
264
275
  subtitle: d,
265
- icon: s,
276
+ icon: l,
266
277
  buttonText: c,
267
278
  buttonLink: g,
268
279
  timeToReadText: f = "{0} min read",
269
280
  items: n,
270
281
  onButtonAction: m = () => {
271
282
  },
272
- onSelectCard: p = () => {
283
+ onSelectCard: o = () => {
273
284
  },
274
- onSelectOption: o = () => {
285
+ onSelectOption: p = () => {
275
286
  },
276
287
  isLoading: _ = !1,
277
288
  getImage: u = () => {
278
289
  }
279
290
  }, i) => {
280
- const h = j(() => {
291
+ const h = I(() => {
281
292
  var t;
282
- return (t = n == null ? void 0 : n.slice(0, 4)) == null ? void 0 : t.map((e, N) => /* @__PURE__ */ r(
293
+ return (t = n == null ? void 0 : n.slice(0, 4)) == null ? void 0 : t.map((e, k) => /* @__PURE__ */ r(
283
294
  B,
284
295
  {
285
296
  title: e == null ? void 0 : e.title,
@@ -291,27 +302,28 @@ const T = y.div`
291
302
  numberOfLikes: e == null ? void 0 : e.numberOfLikes,
292
303
  numberOfComments: e == null ? void 0 : e.numberOfComments,
293
304
  isSponsored: e == null ? void 0 : e.isSponsored,
294
- onSelectCard: () => p == null ? void 0 : p(e),
295
- onSelectOption: (k) => o == null ? void 0 : o(k),
305
+ onSelectCard: () => o == null ? void 0 : o(e),
306
+ onSelectOption: ($) => p == null ? void 0 : p($),
296
307
  imageUrl: u(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
297
308
  },
298
- `blog-card-sponsored__${N + 1}`
309
+ `blog-card-sponsored__${k + 1}`
299
310
  ));
300
311
  }, [n]);
301
312
  return /* @__PURE__ */ a(W, { children: [
302
313
  /* @__PURE__ */ a("div", { className: "wrapper__heading", children: [
303
314
  /* @__PURE__ */ a("div", { className: "wrapper__title", children: [
304
- l && /* @__PURE__ */ a("div", { className: "title__text", children: [
305
- C(s) && /* @__PURE__ */ r("i", { className: s }),
306
- /* @__PURE__ */ r("span", { children: l })
315
+ s && /* @__PURE__ */ a("div", { className: "title__text", children: [
316
+ R(l) && /* @__PURE__ */ r("i", { className: l }),
317
+ /* @__PURE__ */ r("span", { children: s })
307
318
  ] }),
308
319
  m && /* @__PURE__ */ r(
309
- U,
320
+ M,
310
321
  {
311
322
  text: c,
312
323
  borderRadius: "curved",
313
324
  btnType: "tinted",
314
325
  className: "title__action",
326
+ color: "neutral",
315
327
  onClick: (t) => {
316
328
  var e;
317
329
  (e = t == null ? void 0 : t.target) == null || e.blur(), m == null || m(g);
@@ -322,7 +334,7 @@ const T = y.div`
322
334
  d && /* @__PURE__ */ r("div", { className: "wrapper__subtitle", children: d })
323
335
  ] }),
324
336
  /* @__PURE__ */ r("div", { className: "wrapper__cards", children: /* @__PURE__ */ r(
325
- P,
337
+ U,
326
338
  {
327
339
  isLoading: _,
328
340
  limit: 4,
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),c=require("react"),w=require("./Icon.cjs"),y=require("./IconButton.cjs"),N=require("./Chip.cjs"),o=require("./utils-CZynEOC_.cjs"),k=require("./index-BvSNRLNa.cjs"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./suspense-large-CtcwWswP.cjs"),q=j.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),p=require("react"),y=require("./Icon.cjs"),m=require("./IconButton.cjs"),k=require("./Chip.cjs"),o=require("./utils-CZynEOC_.cjs"),N=require("./index-BvSNRLNa.cjs"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./consts-goSZX3xP.cjs"),q=require("./suspense-large-CtcwWswP.cjs"),I=j.styled.div`
2
2
  display: flex;
3
3
  padding: 1rem;
4
4
  align-items: center;
@@ -11,6 +11,10 @@
11
11
  position: relative;
12
12
  width: 100%;
13
13
 
14
+ & .mobile-only {
15
+ display: none;
16
+ }
17
+
14
18
  &:hover {
15
19
  cursor: pointer;
16
20
  }
@@ -75,6 +79,7 @@
75
79
  & .info__content {
76
80
  display: flex;
77
81
  align-items: center;
82
+ justify-content: space-between;
78
83
 
79
84
  &:first-of-type {
80
85
  flex-grow: 1;
@@ -95,29 +100,52 @@
95
100
  }
96
101
  }
97
102
 
98
- @media (max-width: 400px) {
103
+ @media (max-width: ${R.MOBILE_SIZE_PX+"px"}) {
99
104
  flex-direction: column;
105
+ padding: 0;
106
+ background: transparent;
107
+ border: none;
108
+
109
+ & .desktop-only {
110
+ display: none !important;
111
+ }
112
+
113
+ & .mobile-only {
114
+ display: block;
115
+ }
116
+
117
+ & .wrapper__subcontent {
118
+ order: 1;
119
+ }
120
+
121
+ & .wrapper__tags-action {
122
+ display: flex;
123
+ width: 100%;
124
+ align-items: center;
125
+ justify-content: space-between;
126
+ }
127
+
128
+ & .wrapper__tags {
129
+ flex: 1;
130
+ }
100
131
 
101
132
  & .wrapper__content {
102
133
  gap: 1rem;
103
134
 
104
135
  & .wrapper__info {
105
136
  gap: 0.5rem;
106
- flex-direction: column;
137
+ justify-content: space-between;
107
138
  width: 100%;
139
+ order: 0;
108
140
 
109
141
  & .info__content {
110
142
  align-items: flex-start;
111
143
  width: 100%;
112
-
113
- &:first-of-type {
114
- flex-direction: column;
115
- }
116
144
  }
117
145
  }
118
146
  }
119
147
  }
120
- `,I=c.forwardRef(({title:d,imageUrl:s,options:i,publishedAt:a,timeToReadText:n="{0} min read",timeToRead:l=0,numberOfLikes:m=0,numberOfComments:p=0,isBookmarked:g=!1,onSelectCard:h=()=>{},onSelectOption:f=()=>{},onBookmark:e=()=>{},onShare:u=()=>{}},b)=>r.jsxs(q,{onClick:h,children:[r.jsx(k.ProductImageWrapper,{src:s,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:d}),r.jsx("div",{className:"wrapper__tags",children:i&&(i==null?void 0:i.map((t,v)=>r.jsx(N,{label:t==null?void 0:t.name,color:t==null?void 0:t.color,className:"wrapper__tag",onClick:_=>{_==null||_.stopPropagation(),f(t==null?void 0:t.code)}},`blog-card-sponsored-option__${v+1}`)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsxs("div",{className:"info__content",children:[r.jsx("div",{className:"info__text",children:`${o.formatLocaleDateString(a)} • ${o.formatString(n,l)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-thumbs-up",sizeInUnits:"1rem"}),o.getRoundedNumber(m)]}),r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-messages",sizeInUnits:"1rem"}),o.getRoundedNumber(p)]})]})]}),r.jsxs("div",{className:"info__content",children:[r.jsx(y,{icon:g?" mng-lnc-bookmark--filled":" mng-lnc-bookmark",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),e()}}),r.jsx(y,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),u()}})]})]})]})]})),z=j.styled.div`
148
+ `,C=p.forwardRef(({title:g,imageUrl:i,options:s,publishedAt:n,timeToReadText:a="{0} min read",timeToRead:l=0,numberOfLikes:u=0,numberOfComments:f=0,isBookmarked:c=!1,onSelectCard:h=()=>{},onSelectOption:_=()=>{},onBookmark:e=()=>{},onShare:d=()=>{}},w)=>t.jsxs(I,{onClick:h,children:[t.jsx(N.ProductImageWrapper,{src:i,className:"wrapper__image"}),t.jsxs("div",{className:"wrapper__content",children:[t.jsxs("div",{className:"wrapper__subcontent",children:[t.jsx("div",{className:"wrapper__title",children:g}),t.jsxs("div",{className:"wrapper__tags-action",children:[t.jsx("div",{className:"wrapper__tags",children:s&&(s==null?void 0:s.map((r,v)=>t.jsx(k,{label:r==null?void 0:r.name,color:r==null?void 0:r.color,className:"wrapper__tag",onClick:b=>{b==null||b.stopPropagation(),_(r==null?void 0:r.code)}},`blog-card-sponsored-option__${v+1}`)))}),t.jsxs("div",{className:"info__content mobile-only",children:[t.jsx(m,{icon:c?" mng-lnc-bookmark--filled":" mng-lnc-bookmark",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:r=>{r==null||r.stopPropagation(),e()}}),t.jsx(m,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:r=>{r==null||r.stopPropagation(),d()}})]})]})]}),t.jsxs("div",{className:"wrapper__info",children:[t.jsxs("div",{className:"info__content",children:[t.jsx("div",{className:"info__text",children:`${o.formatLocaleDateString(n)} • ${o.formatString(a,l)}`}),t.jsxs("div",{className:"info__text",children:[t.jsxs("div",{children:[t.jsx(y,{icon:" mng-lnc-thumbs-up",sizeInUnits:"1rem"}),o.getRoundedNumber(u)]}),t.jsxs("div",{children:[t.jsx(y,{icon:" mng-lnc-messages",sizeInUnits:"1rem"}),o.getRoundedNumber(f)]})]})]}),t.jsxs("div",{className:"info__content desktop-only",children:[t.jsx(m,{icon:c?" mng-lnc-bookmark--filled":" mng-lnc-bookmark",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:r=>{r==null||r.stopPropagation(),e()}}),t.jsx(m,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:r=>{r==null||r.stopPropagation(),d()}})]})]})]})]})),P=j.styled.div`
121
149
  display: flex;
122
150
  flex-direction: column;
123
151
  align-items: flex-start;
@@ -139,4 +167,4 @@
139
167
  bottom: -0.75rem;
140
168
  }
141
169
  }
142
- `,C=c.memo(I),L=c.forwardRef(({timeToReadText:d="{0} min read",items:s,onSelectCard:i=()=>{},onSelectOption:a=()=>{},onShare:n=()=>{},onBookmark:l=()=>{},isLoading:m=!1,getImage:p=()=>{},isSeparated:g=!0},h)=>{const f=c.useMemo(()=>s==null?void 0:s.map((e,u)=>r.jsx(C,{title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:d,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,isBookmarked:e==null?void 0:e.isBookmarked,onSelectCard:()=>i==null?void 0:i(e),onSelectOption:b=>a==null?void 0:a(b),onShare:()=>n==null?void 0:n(e),onBookmark:()=>l==null?void 0:l(e),imageUrl:p(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},`blog-card-item__${u+1}`)),[s]);return r.jsx(z,{className:g?"separated":"",children:r.jsx(R.SuspenseBlogLarge,{isLoading:m,limit:5,keyPrefix:"blog-section",children:f})})});module.exports=L;
170
+ `,z=p.memo(C),L=p.forwardRef(({timeToReadText:g="{0} min read",items:i,onSelectCard:s=()=>{},onSelectOption:n=()=>{},onShare:a=()=>{},onBookmark:l=()=>{},isLoading:u=!1,getImage:f=()=>{},isSeparated:c=!0},h)=>{const _=p.useMemo(()=>i==null?void 0:i.map((e,d)=>t.jsx(z,{title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:g,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,isBookmarked:e==null?void 0:e.isBookmarked,onSelectCard:()=>s==null?void 0:s(e),onSelectOption:w=>n==null?void 0:n(w),onShare:()=>a==null?void 0:a(e),onBookmark:()=>l==null?void 0:l(e),imageUrl:f(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},`blog-card-item__${d+1}`)),[i]);return t.jsx(P,{className:c?"separated":"",children:t.jsx(q.SuspenseBlogLarge,{isLoading:u,limit:5,keyPrefix:"blog-section",children:_})})});module.exports=L;
@@ -1,13 +1,14 @@
1
1
  import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import { forwardRef as y, memo as z, useMemo as I } from "react";
3
- import b from "./Icon.js";
4
- import w from "./IconButton.js";
5
- import R from "./Chip.js";
6
- import { p as j, s as C, v as P, w as v } from "./utils-BbgAIA9N.js";
7
- import { P as $ } from "./index-YGcWbzeb.js";
8
- import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
9
- import { S as B } from "./suspense-large-BM9s_kZP.js";
10
- const L = N.div`
2
+ import { forwardRef as v, memo as j, useMemo as I } from "react";
3
+ import w from "./Icon.js";
4
+ import d from "./IconButton.js";
5
+ import P from "./Chip.js";
6
+ import { p as R, s as C, v as z, w as y } from "./utils-BbgAIA9N.js";
7
+ import { P as T } from "./index-YGcWbzeb.js";
8
+ import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
9
+ import { M as $ } from "./consts-BuFChS64.js";
10
+ import { S as L } from "./suspense-large-BM9s_kZP.js";
11
+ const B = k.div`
11
12
  display: flex;
12
13
  padding: 1rem;
13
14
  align-items: center;
@@ -20,6 +21,10 @@ const L = N.div`
20
21
  position: relative;
21
22
  width: 100%;
22
23
 
24
+ & .mobile-only {
25
+ display: none;
26
+ }
27
+
23
28
  &:hover {
24
29
  cursor: pointer;
25
30
  }
@@ -52,7 +57,7 @@ const L = N.div`
52
57
  font-weight: 600;
53
58
  line-height: 1.5rem;
54
59
  letter-spacing: 0.1px;
55
- ${j(3)}
60
+ ${R(3)}
56
61
  }
57
62
 
58
63
  & .wrapper__tags {
@@ -84,6 +89,7 @@ const L = N.div`
84
89
  & .info__content {
85
90
  display: flex;
86
91
  align-items: center;
92
+ justify-content: space-between;
87
93
 
88
94
  &:first-of-type {
89
95
  flex-grow: 1;
@@ -104,86 +110,137 @@ const L = N.div`
104
110
  }
105
111
  }
106
112
 
107
- @media (max-width: 400px) {
113
+ @media (max-width: ${$ + "px"}) {
108
114
  flex-direction: column;
115
+ padding: 0;
116
+ background: transparent;
117
+ border: none;
118
+
119
+ & .desktop-only {
120
+ display: none !important;
121
+ }
122
+
123
+ & .mobile-only {
124
+ display: block;
125
+ }
126
+
127
+ & .wrapper__subcontent {
128
+ order: 1;
129
+ }
130
+
131
+ & .wrapper__tags-action {
132
+ display: flex;
133
+ width: 100%;
134
+ align-items: center;
135
+ justify-content: space-between;
136
+ }
137
+
138
+ & .wrapper__tags {
139
+ flex: 1;
140
+ }
109
141
 
110
142
  & .wrapper__content {
111
143
  gap: 1rem;
112
144
 
113
145
  & .wrapper__info {
114
146
  gap: 0.5rem;
115
- flex-direction: column;
147
+ justify-content: space-between;
116
148
  width: 100%;
149
+ order: 0;
117
150
 
118
151
  & .info__content {
119
152
  align-items: flex-start;
120
153
  width: 100%;
121
-
122
- &:first-of-type {
123
- flex-direction: column;
124
- }
125
154
  }
126
155
  }
127
156
  }
128
157
  }
129
- `, T = y(
158
+ `, M = v(
130
159
  ({
131
- title: m,
160
+ title: p,
132
161
  imageUrl: n,
133
162
  options: a,
134
163
  publishedAt: l,
135
- timeToReadText: s = "{0} min read",
136
- timeToRead: o = 0,
137
- numberOfLikes: c = 0,
138
- numberOfComments: d = 0,
139
- isBookmarked: p = !1,
140
- onSelectCard: _ = () => {
164
+ timeToReadText: o = "{0} min read",
165
+ timeToRead: s = 0,
166
+ numberOfLikes: g = 0,
167
+ numberOfComments: f = 0,
168
+ isBookmarked: c = !1,
169
+ onSelectCard: b = () => {
141
170
  },
142
- onSelectOption: f = () => {
171
+ onSelectOption: _ = () => {
143
172
  },
144
173
  onBookmark: e = () => {
145
174
  },
146
- onShare: g = () => {
175
+ onShare: m = () => {
147
176
  }
148
- }, h) => /* @__PURE__ */ i(L, { onClick: _, children: [
149
- /* @__PURE__ */ t($, { src: n, className: "wrapper__image" }),
177
+ }, h) => /* @__PURE__ */ i(B, { onClick: b, children: [
178
+ /* @__PURE__ */ t(T, { src: n, className: "wrapper__image" }),
150
179
  /* @__PURE__ */ i("div", { className: "wrapper__content", children: [
151
180
  /* @__PURE__ */ i("div", { className: "wrapper__subcontent", children: [
152
- /* @__PURE__ */ t("div", { className: "wrapper__title", children: m }),
153
- /* @__PURE__ */ t("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((r, k) => /* @__PURE__ */ t(
154
- R,
155
- {
156
- label: r == null ? void 0 : r.name,
157
- color: r == null ? void 0 : r.color,
158
- className: "wrapper__tag",
159
- onClick: (u) => {
160
- u == null || u.stopPropagation(), f(r == null ? void 0 : r.code);
161
- }
162
- },
163
- `blog-card-sponsored-option__${k + 1}`
164
- ))) })
181
+ /* @__PURE__ */ t("div", { className: "wrapper__title", children: p }),
182
+ /* @__PURE__ */ i("div", { className: "wrapper__tags-action", children: [
183
+ /* @__PURE__ */ t("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((r, N) => /* @__PURE__ */ t(
184
+ P,
185
+ {
186
+ label: r == null ? void 0 : r.name,
187
+ color: r == null ? void 0 : r.color,
188
+ className: "wrapper__tag",
189
+ onClick: (u) => {
190
+ u == null || u.stopPropagation(), _(r == null ? void 0 : r.code);
191
+ }
192
+ },
193
+ `blog-card-sponsored-option__${N + 1}`
194
+ ))) }),
195
+ /* @__PURE__ */ i("div", { className: "info__content mobile-only", children: [
196
+ /* @__PURE__ */ t(
197
+ d,
198
+ {
199
+ icon: c ? " mng-lnc-bookmark--filled" : " mng-lnc-bookmark",
200
+ borderRadius: "curved",
201
+ btnType: "basic",
202
+ color: "neutral",
203
+ onClick: (r) => {
204
+ r == null || r.stopPropagation(), e();
205
+ }
206
+ }
207
+ ),
208
+ /* @__PURE__ */ t(
209
+ d,
210
+ {
211
+ icon: " mng-lnc-share",
212
+ borderRadius: "curved",
213
+ btnType: "basic",
214
+ color: "neutral",
215
+ onClick: (r) => {
216
+ r == null || r.stopPropagation(), m();
217
+ }
218
+ }
219
+ )
220
+ ] })
221
+ ] })
165
222
  ] }),
166
223
  /* @__PURE__ */ i("div", { className: "wrapper__info", children: [
167
224
  /* @__PURE__ */ i("div", { className: "info__content", children: [
168
225
  /* @__PURE__ */ t("div", { className: "info__text", children: `${C(
169
226
  l
170
- )} • ${P(s, o)}` }),
227
+ )} • ${z(o, s)}` }),
171
228
  /* @__PURE__ */ i("div", { className: "info__text", children: [
172
229
  /* @__PURE__ */ i("div", { children: [
173
- /* @__PURE__ */ t(b, { icon: " mng-lnc-thumbs-up", sizeInUnits: "1rem" }),
174
- v(c)
230
+ /* @__PURE__ */ t(w, { icon: " mng-lnc-thumbs-up", sizeInUnits: "1rem" }),
231
+ y(g)
175
232
  ] }),
176
233
  /* @__PURE__ */ i("div", { children: [
177
- /* @__PURE__ */ t(b, { icon: " mng-lnc-messages", sizeInUnits: "1rem" }),
178
- v(d)
234
+ /* @__PURE__ */ t(w, { icon: " mng-lnc-messages", sizeInUnits: "1rem" }),
235
+ y(f)
179
236
  ] })
180
237
  ] })
181
238
  ] }),
182
- /* @__PURE__ */ i("div", { className: "info__content", children: [
239
+ /* @__PURE__ */ i("div", { className: "info__content desktop-only", children: [
183
240
  /* @__PURE__ */ t(
184
- w,
241
+ d,
185
242
  {
186
- icon: p ? " mng-lnc-bookmark--filled" : " mng-lnc-bookmark",
243
+ icon: c ? " mng-lnc-bookmark--filled" : " mng-lnc-bookmark",
187
244
  borderRadius: "curved",
188
245
  btnType: "basic",
189
246
  color: "neutral",
@@ -193,14 +250,14 @@ const L = N.div`
193
250
  }
194
251
  ),
195
252
  /* @__PURE__ */ t(
196
- w,
253
+ d,
197
254
  {
198
255
  icon: " mng-lnc-share",
199
256
  borderRadius: "curved",
200
257
  btnType: "basic",
201
258
  color: "neutral",
202
259
  onClick: (r) => {
203
- r == null || r.stopPropagation(), g();
260
+ r == null || r.stopPropagation(), m();
204
261
  }
205
262
  }
206
263
  )
@@ -208,7 +265,7 @@ const L = N.div`
208
265
  ] })
209
266
  ] })
210
267
  ] })
211
- ), U = N.div`
268
+ ), U = k.div`
212
269
  display: flex;
213
270
  flex-direction: column;
214
271
  align-items: flex-start;
@@ -230,31 +287,31 @@ const L = N.div`
230
287
  bottom: -0.75rem;
231
288
  }
232
289
  }
233
- `, W = z(T), J = y(
290
+ `, W = j(M), J = v(
234
291
  ({
235
- timeToReadText: m = "{0} min read",
292
+ timeToReadText: p = "{0} min read",
236
293
  items: n,
237
294
  onSelectCard: a = () => {
238
295
  },
239
296
  onSelectOption: l = () => {
240
297
  },
241
- onShare: s = () => {
298
+ onShare: o = () => {
242
299
  },
243
- onBookmark: o = () => {
300
+ onBookmark: s = () => {
244
301
  },
245
- isLoading: c = !1,
246
- getImage: d = () => {
302
+ isLoading: g = !1,
303
+ getImage: f = () => {
247
304
  },
248
- isSeparated: p = !0
249
- }, _) => {
250
- const f = I(() => n == null ? void 0 : n.map((e, g) => /* @__PURE__ */ t(
305
+ isSeparated: c = !0
306
+ }, b) => {
307
+ const _ = I(() => n == null ? void 0 : n.map((e, m) => /* @__PURE__ */ t(
251
308
  W,
252
309
  {
253
310
  title: e == null ? void 0 : e.title,
254
311
  titleSlug: e == null ? void 0 : e.titleSlug,
255
312
  options: e == null ? void 0 : e.options,
256
313
  publishedAt: e == null ? void 0 : e.publishedAt,
257
- timeToReadText: m,
314
+ timeToReadText: p,
258
315
  timeToRead: e == null ? void 0 : e.timeToRead,
259
316
  numberOfLikes: e == null ? void 0 : e.numberOfLikes,
260
317
  numberOfComments: e == null ? void 0 : e.numberOfComments,
@@ -262,19 +319,19 @@ const L = N.div`
262
319
  isBookmarked: e == null ? void 0 : e.isBookmarked,
263
320
  onSelectCard: () => a == null ? void 0 : a(e),
264
321
  onSelectOption: (h) => l == null ? void 0 : l(h),
265
- onShare: () => s == null ? void 0 : s(e),
266
- onBookmark: () => o == null ? void 0 : o(e),
267
- imageUrl: d(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
322
+ onShare: () => o == null ? void 0 : o(e),
323
+ onBookmark: () => s == null ? void 0 : s(e),
324
+ imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
268
325
  },
269
- `blog-card-item__${g + 1}`
326
+ `blog-card-item__${m + 1}`
270
327
  )), [n]);
271
- return /* @__PURE__ */ t(U, { className: p ? "separated" : "", children: /* @__PURE__ */ t(
272
- B,
328
+ return /* @__PURE__ */ t(U, { className: c ? "separated" : "", children: /* @__PURE__ */ t(
329
+ L,
273
330
  {
274
- isLoading: c,
331
+ isLoading: g,
275
332
  limit: 5,
276
333
  keyPrefix: "blog-section",
277
- children: f
334
+ children: _
278
335
  }
279
336
  ) });
280
337
  }