@lanaco/lnc-react-ui 4.0.87 → 4.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionSummary.cjs +1 -1
  4. package/dist/AccordionSummary.js +1 -1
  5. package/dist/ActionsToolbar.cjs +1 -1
  6. package/dist/ActionsToolbar.js +1 -1
  7. package/dist/Alert.cjs +1 -1
  8. package/dist/Alert.js +1 -1
  9. package/dist/Avatar.cjs +1 -1
  10. package/dist/Avatar.js +1 -1
  11. package/dist/Badge.cjs +1 -1
  12. package/dist/Badge.js +1 -1
  13. package/dist/BannerSectionCarousel.cjs +2 -2
  14. package/dist/BannerSectionCarousel.js +5 -2
  15. package/dist/BannerSectionSimple.cjs +7 -7
  16. package/dist/BannerSectionSimple.js +54 -51
  17. package/dist/BannerSectionWithList.cjs +7 -7
  18. package/dist/BannerSectionWithList.js +33 -30
  19. package/dist/BannerSectionWithListImage.cjs +9 -9
  20. package/dist/BannerSectionWithListImage.js +44 -41
  21. package/dist/BlogCardsSponsoredSection.cjs +3 -3
  22. package/dist/BlogCardsSponsoredSection.js +38 -35
  23. package/dist/BlogCategoryCardsSection.cjs +1 -1
  24. package/dist/BlogCategoryCardsSection.js +1 -1
  25. package/dist/BlogListSection.cjs +3 -3
  26. package/dist/BlogListSection.js +16 -16
  27. package/dist/BlogProductCardsSection.cjs +1 -1
  28. package/dist/BlogProductCardsSection.js +2 -2
  29. package/dist/BlogShopCardsSection.cjs +1 -1
  30. package/dist/BlogShopCardsSection.js +1 -1
  31. package/dist/BlogSingleSection.cjs +1 -1
  32. package/dist/BlogSingleSection.js +2 -2
  33. package/dist/BlogsSectionDetailed.cjs +2 -2
  34. package/dist/BlogsSectionDetailed.js +29 -26
  35. package/dist/BlogsSectionLarge.cjs +1 -1
  36. package/dist/BlogsSectionLarge.js +2 -2
  37. package/dist/BlogsSectionSimple.cjs +6 -6
  38. package/dist/BlogsSectionSimple.js +32 -29
  39. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  40. package/dist/BlogsSectionSimpleCentered.js +2 -2
  41. package/dist/BlogsSectionWithFilters.cjs +10 -10
  42. package/dist/BlogsSectionWithFilters.js +109 -101
  43. package/dist/BrandHitsSection.cjs +1 -1
  44. package/dist/BrandHitsSection.js +1 -1
  45. package/dist/Breadcrumbs.cjs +1 -1
  46. package/dist/Breadcrumbs.js +1 -1
  47. package/dist/Button.cjs +1 -1
  48. package/dist/Button.js +1 -1
  49. package/dist/ButtonGroup.cjs +1 -1
  50. package/dist/ButtonGroup.js +1 -1
  51. package/dist/CalorieCalculatorSection.cjs +1 -1
  52. package/dist/CalorieCalculatorSection.js +1 -1
  53. package/dist/CheckBoxInput.cjs +1 -1
  54. package/dist/CheckBoxInput.js +1 -1
  55. package/dist/Chip.cjs +1 -1
  56. package/dist/Chip.js +1 -1
  57. package/dist/ColorInput.cjs +1 -1
  58. package/dist/ColorInput.js +1 -1
  59. package/dist/ConfirmationForm.cjs +1 -1
  60. package/dist/ConfirmationForm.js +1 -1
  61. package/dist/CustomLoanMapSection.cjs +1 -1
  62. package/dist/CustomLoanMapSection.js +1 -1
  63. package/dist/{CustomStyles-DSaRbYZg.js → CustomStyles-CQawr7oF.js} +1 -1
  64. package/dist/{CustomStyles-DzChCA5c.cjs → CustomStyles-Uqkz9jDo.cjs} +1 -1
  65. package/dist/DateInput.cjs +1 -1
  66. package/dist/DateInput.js +1 -1
  67. package/dist/DecimalInput.cjs +1 -1
  68. package/dist/DecimalInput.js +1 -1
  69. package/dist/DecimalInputV2.cjs +1 -1
  70. package/dist/DecimalInputV2.js +1 -1
  71. package/dist/DetailedProductsSection.cjs +4 -4
  72. package/dist/DetailedProductsSection.js +28 -25
  73. package/dist/DetailsView.cjs +1 -1
  74. package/dist/DetailsView.js +1 -1
  75. package/dist/DoubleRangeSlider.cjs +1 -1
  76. package/dist/DoubleRangeSlider.js +1 -1
  77. package/dist/DragAndDropFile.cjs +1 -1
  78. package/dist/DragAndDropFile.js +1 -1
  79. package/dist/DragDropFiles.cjs +1 -1
  80. package/dist/DragDropFiles.js +1 -1
  81. package/dist/Drawer.cjs +1 -1
  82. package/dist/Drawer.js +1 -1
  83. package/dist/Dropdown.cjs +1 -1
  84. package/dist/Dropdown.js +2 -2
  85. package/dist/DropdownItem.cjs +1 -1
  86. package/dist/DropdownItem.js +1 -1
  87. package/dist/DropdownLookup.cjs +1 -1
  88. package/dist/DropdownLookup.js +1 -1
  89. package/dist/DropdownMenu.cjs +1 -1
  90. package/dist/DropdownMenu.js +1 -1
  91. package/dist/EditableTable.cjs +1 -1
  92. package/dist/EditableTable.js +1 -1
  93. package/dist/FieldOfInterestsMasonrySection.cjs +27 -16
  94. package/dist/FieldOfInterestsMasonrySection.js +72 -62
  95. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  96. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
  97. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +2 -1
  98. package/dist/FieldOfInterestsWithTagsCardsSection.js +2 -1
  99. package/dist/FileInput.cjs +1 -1
  100. package/dist/FileInput.js +1 -1
  101. package/dist/FlexGridItem.cjs +1 -1
  102. package/dist/FlexGridItem.js +1 -1
  103. package/dist/FormField.cjs +1 -1
  104. package/dist/FormField.js +1 -1
  105. package/dist/FormView.cjs +1 -1
  106. package/dist/FormView.js +1 -1
  107. package/dist/GeneralWithTagsCardsSection.cjs +4 -4
  108. package/dist/GeneralWithTagsCardsSection.js +5 -5
  109. package/dist/GiftCardsSection.cjs +8 -8
  110. package/dist/GiftCardsSection.js +54 -51
  111. package/dist/Icon.cjs +1 -1
  112. package/dist/Icon.js +1 -1
  113. package/dist/IconButton.cjs +1 -1
  114. package/dist/IconButton.js +1 -1
  115. package/dist/Kanban.cjs +2 -2
  116. package/dist/Kanban.js +84 -82
  117. package/dist/KanbanActionsToolbar.cjs +1 -1
  118. package/dist/KanbanActionsToolbar.js +1 -1
  119. package/dist/KanbanView.cjs +1 -1
  120. package/dist/KanbanView.js +1 -1
  121. package/dist/Link.cjs +1 -1
  122. package/dist/Link.js +1 -1
  123. package/dist/LoanCalculatorSection.cjs +1 -1
  124. package/dist/LoanCalculatorSection.js +1 -1
  125. package/dist/LocationFinderSection.cjs +1 -1
  126. package/dist/LocationFinderSection.js +1 -1
  127. package/dist/LocationSearchSection.cjs +1 -1
  128. package/dist/LocationSearchSection.js +1 -1
  129. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  130. package/dist/MasonryGeneralCardsSection.js +1 -1
  131. package/dist/MenuItem.cjs +1 -1
  132. package/dist/MenuItem.js +1 -1
  133. package/dist/Modal.cjs +1 -1
  134. package/dist/Modal.js +1 -1
  135. package/dist/MultiSelectDropdown.cjs +1 -1
  136. package/dist/MultiSelectDropdown.js +1 -1
  137. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  138. package/dist/MultiSelectDropdownLookup.js +1 -1
  139. package/dist/NestedDropdownItem.cjs +1 -1
  140. package/dist/NestedDropdownItem.js +1 -1
  141. package/dist/NestedMenuItem.cjs +1 -1
  142. package/dist/NestedMenuItem.js +1 -1
  143. package/dist/NotificationContainer.cjs +1 -1
  144. package/dist/NotificationContainer.js +1 -1
  145. package/dist/NotificationMessage.cjs +1 -1
  146. package/dist/NotificationMessage.js +1 -1
  147. package/dist/NumberInput.cjs +1 -1
  148. package/dist/NumberInput.js +1 -1
  149. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  150. package/dist/OverlayGeneralCardsSection.js +2 -2
  151. package/dist/PasswordInput.cjs +1 -1
  152. package/dist/PasswordInput.js +1 -1
  153. package/dist/PopoverContent.cjs +1 -1
  154. package/dist/PopoverContent.js +1 -1
  155. package/dist/ProductsWithBannerSection.cjs +1 -1
  156. package/dist/ProductsWithBannerSection.js +3 -3
  157. package/dist/ProgressBar.cjs +1 -1
  158. package/dist/ProgressBar.js +1 -1
  159. package/dist/QuizSection.cjs +1 -1
  160. package/dist/QuizSection.js +1 -1
  161. package/dist/RadioInput.cjs +1 -1
  162. package/dist/RadioInput.js +1 -1
  163. package/dist/RangeSlider.cjs +1 -1
  164. package/dist/RangeSlider.js +1 -1
  165. package/dist/ReviewsSection.cjs +1 -1
  166. package/dist/ReviewsSection.js +23 -23
  167. package/dist/SalesCampaignsSection.cjs +1 -1
  168. package/dist/SalesCampaignsSection.js +1 -1
  169. package/dist/Separator.cjs +1 -1
  170. package/dist/Separator.js +1 -1
  171. package/dist/ShopCardsSection.cjs +1 -1
  172. package/dist/ShopCardsSection.js +2 -2
  173. package/dist/Sidebar.cjs +1 -1
  174. package/dist/Sidebar.js +1 -1
  175. package/dist/SimpleCategoriesSection.cjs +2 -2
  176. package/dist/SimpleCategoriesSection.js +18 -15
  177. package/dist/SimpleProductsSection.cjs +1 -1
  178. package/dist/SimpleProductsSection.js +2 -2
  179. package/dist/Spinner.cjs +1 -1
  180. package/dist/Spinner.js +1 -1
  181. package/dist/Surface.cjs +1 -1
  182. package/dist/Surface.js +1 -1
  183. package/dist/SwipeableDrawer.cjs +1 -1
  184. package/dist/SwipeableDrawer.js +1 -1
  185. package/dist/TabItem.cjs +1 -1
  186. package/dist/TabItem.js +1 -1
  187. package/dist/Table.cjs +1 -1
  188. package/dist/Table.js +1 -1
  189. package/dist/TableView.cjs +1 -1
  190. package/dist/TableView.js +1 -1
  191. package/dist/TextAreaInput.cjs +1 -1
  192. package/dist/TextAreaInput.js +1 -1
  193. package/dist/TextInput.cjs +1 -1
  194. package/dist/TextInput.js +1 -1
  195. package/dist/ThemeProvider.cjs +1 -1
  196. package/dist/ThemeProvider.js +1 -1
  197. package/dist/TimeInput.cjs +1 -1
  198. package/dist/TimeInput.js +1 -1
  199. package/dist/Toggle.cjs +1 -1
  200. package/dist/Toggle.js +1 -1
  201. package/dist/TreeMenuSeparator.cjs +1 -1
  202. package/dist/TreeMenuSeparator.js +1 -1
  203. package/dist/UploadedFile.cjs +1 -1
  204. package/dist/UploadedFile.js +1 -1
  205. package/dist/UrgentSaleProductsSection.cjs +2 -2
  206. package/dist/UrgentSaleProductsSection.js +34 -31
  207. package/dist/{index-DG7qQq8L.cjs → index-66FyQgVV.cjs} +1 -1
  208. package/dist/{index-Yh18uk_f.js → index-B68jh2kW.js} +2 -2
  209. package/dist/{index-BVaZWq6y.cjs → index-BRgZcjpI.cjs} +1 -1
  210. package/dist/{index-BBPnKoi6.js → index-BT4FT6f0.js} +2 -2
  211. package/dist/{index-Db8wvLXS.js → index-Chju-CHz.js} +1 -1
  212. package/dist/{index-Ca38iPjf.js → index-Cpd68IKh.js} +1 -1
  213. package/dist/{index-B9HSHvhH.cjs → index-D8lR_JKg.cjs} +1 -1
  214. package/dist/{index-iSD5jNBk.js → index-DHQc2df3.js} +98 -46
  215. package/dist/{index-Ccw8sLnK.cjs → index-DMysapsB.cjs} +1 -1
  216. package/dist/{index-Cx4KvZ9L.cjs → index-DZDz9qZP.cjs} +47 -9
  217. package/dist/index.cjs +1 -1
  218. package/dist/index.js +1 -1
  219. package/dist/{skeleton-DALCB1S7.js → skeleton-BbYMdJpz.js} +1 -1
  220. package/dist/{skeleton-BBSBZ4JV.cjs → skeleton-BcaMeKFQ.cjs} +1 -1
  221. package/dist/{skeleton-C_Jypl8r.cjs → skeleton-DwZzdFei.cjs} +5 -5
  222. package/dist/{skeleton-wfDIalr3.js → skeleton-oa1ux_Zp.js} +6 -6
  223. package/dist/{style-xvwWn3Zv.cjs → style-B8wrlDzY.cjs} +13 -7
  224. package/dist/{style-sLF37aOA.js → style-R2KgPcrd.js} +17 -10
  225. package/dist/{suspense-categories-card-simple-5JZtz7wj.cjs → suspense-categories-card-simple-B2swGa6t.cjs} +1 -1
  226. package/dist/{suspense-categories-card-simple-BTFqzXyn.js → suspense-categories-card-simple-Dkm0oojD.js} +1 -1
  227. package/dist/{suspense-large-DFlSJhGG.js → suspense-large-B2lY_x-y.js} +1 -1
  228. package/dist/{suspense-large-BtfvnzWh.cjs → suspense-large-DMhn-lIG.cjs} +1 -1
  229. package/dist/{suspense-product-card-detailed-CwdbxJrY.js → suspense-product-card-detailed-5A3zYKqj.js} +2 -2
  230. package/dist/{suspense-product-card-detailed-DBNlkFiP.cjs → suspense-product-card-detailed-CuExvgd_.cjs} +1 -1
  231. package/dist/{suspense-product-card-simple--ExcEpD-.js → suspense-product-card-simple-C4qtjWg_.js} +1 -1
  232. package/dist/{suspense-product-card-simple-0x5sc47a.cjs → suspense-product-card-simple-zYdZVLRz.cjs} +1 -1
  233. package/dist/{utils-DhRHf5Ed.cjs → utils-BWzf4vLl.cjs} +1 -1
  234. package/dist/{utils-BE-UlkKf.js → utils-BhG1dImS.js} +4 -4
  235. package/package.json +1 -1
  236. package/dist/useEffectOnce-DFrzfNzT.cjs +0 -1
  237. package/dist/useEffectOnce-guOKBPuL.js +0 -7
@@ -1,10 +1,10 @@
1
- import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as u, Fragment as x } from "react";
3
- import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as a } from "./consts-BuFChS64.js";
5
- import g from "./Button.js";
6
- import { l as t } from "./utils-BE-UlkKf.js";
7
- const y = l.div`
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { forwardRef as g, Fragment as h } from "react";
3
+ import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { M as m } from "./consts-BuFChS64.js";
5
+ import x from "./Button.js";
6
+ import { l as n } from "./utils-BhG1dImS.js";
7
+ const y = c.div`
8
8
  padding-bottom: 1.38rem;
9
9
  text-align: center;
10
10
  display: flex;
@@ -17,10 +17,10 @@ const y = l.div`
17
17
  width: fit-content;
18
18
  }
19
19
 
20
- @media (max-width: ${a + "px"}) {
20
+ @media (max-width: ${m + "px"}) {
21
21
  padding-bottom: 0;
22
22
  }
23
- `, b = l.div`
23
+ `, b = c.div`
24
24
  text-align: center;
25
25
  display: flex;
26
26
  justify-content: center;
@@ -38,9 +38,9 @@ const y = l.div`
38
38
  font-weight: 500;
39
39
  }
40
40
 
41
- @media (max-width: ${a + "px"}) {
41
+ @media (max-width: ${m + "px"}) {
42
42
  }
43
- `, v = l.div`
43
+ `, v = c.div`
44
44
  text-align: center;
45
45
  display: flex;
46
46
  flex-direction: column;
@@ -60,7 +60,7 @@ const y = l.div`
60
60
  }
61
61
  }
62
62
 
63
- @media (max-width: ${a + "px"}) {
63
+ @media (max-width: ${m + "px"}) {
64
64
  & .list-item {
65
65
  flex-direction: column;
66
66
  text-align: center;
@@ -68,33 +68,36 @@ const y = l.div`
68
68
  gap: 0;
69
69
  }
70
70
  }
71
- `, N = u((c, m) => {
71
+ `, N = g((s, d) => {
72
72
  const {
73
- title: i,
74
- subtitle: n,
75
- buttonText: s,
76
- list: r,
77
- buttonLink: d,
78
- onButtonAction: f = () => {
73
+ title: r,
74
+ subtitle: o,
75
+ buttonText: f,
76
+ list: l,
77
+ buttonLink: p,
78
+ onButtonAction: u = () => {
79
79
  }
80
- } = c;
81
- return /* @__PURE__ */ o(y, { ref: m, children: [
82
- (t(i) || t(n)) && /* @__PURE__ */ o(b, { children: [
83
- t(i) && /* @__PURE__ */ e("div", { className: "header-title", children: i }),
84
- t(n) && /* @__PURE__ */ e("div", { className: "header-subitle", children: n })
80
+ } = s;
81
+ return /* @__PURE__ */ a(y, { ref: d, children: [
82
+ (n(r) || n(o)) && /* @__PURE__ */ a(b, { children: [
83
+ n(r) && /* @__PURE__ */ e("div", { className: "header-title", children: r }),
84
+ n(o) && /* @__PURE__ */ e("div", { className: "header-subitle", children: o })
85
85
  ] }),
86
- /* @__PURE__ */ e(v, { children: r == null ? void 0 : r.map((p, h) => /* @__PURE__ */ e(x, { children: /* @__PURE__ */ o("div", { className: "list-item", children: [
86
+ /* @__PURE__ */ e(v, { children: l == null ? void 0 : l.map((t, i) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a("div", { className: "list-item", children: [
87
87
  /* @__PURE__ */ e("i", { className: "mng mng-lnc-checkmark--filled" }),
88
- /* @__PURE__ */ e("span", { children: p })
89
- ] }) }, h)) }),
88
+ /* @__PURE__ */ e("span", { children: t })
89
+ ] }) }, i)) }),
90
90
  /* @__PURE__ */ e(
91
- g,
91
+ x,
92
92
  {
93
93
  size: "medium",
94
94
  color: "neutral",
95
95
  type: "button",
96
- onClick: () => f(d),
97
- children: s
96
+ onClick: (t) => {
97
+ var i;
98
+ (i = t == null ? void 0 : t.target) == null || i.blur(), u(p);
99
+ },
100
+ children: f
98
101
  }
99
102
  )
100
103
  ] });
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),o=require("react"),t=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./consts-goSZX3xP.cjs"),y=require("./Button.cjs"),j=t.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),a=require("react"),n=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./consts-goSZX3xP.cjs"),y=require("./Button.cjs"),j=n.styled.div`
2
2
  display: flex;
3
3
  border-radius: 0.75rem;
4
4
  background-color: ${e=>(e==null?void 0:e.bgColor)||"transparent"};
@@ -21,7 +21,7 @@
21
21
 
22
22
  `}
23
23
 
24
- @media (max-width: ${r.MOBILE_SIZE_PX+"px"}) {
24
+ @media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
25
25
  flex-direction: column;
26
26
  & img {
27
27
  max-width: 100%;
@@ -30,7 +30,7 @@
30
30
  min-height: ${e=>e.imgHMob||"12.1rem"};
31
31
  }
32
32
  }
33
- `,v=t.styled.div`
33
+ `,v=n.styled.div`
34
34
  padding: 2rem;
35
35
  display: flex;
36
36
  gap: 1.25rem;
@@ -38,10 +38,10 @@
38
38
  flex: 1;
39
39
  flex-direction: column;
40
40
 
41
- @media (max-width: ${r.MOBILE_SIZE_PX+"px"}) {
41
+ @media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
42
42
  padding: 1.25rem;
43
43
  }
44
- `,$=t.styled.div`
44
+ `,$=n.styled.div`
45
45
  display: flex;
46
46
  flex-direction: column;
47
47
  gap: 0.25rem;
@@ -57,10 +57,10 @@
57
57
  font-weight: 500;
58
58
  }
59
59
 
60
- @media (max-width: ${r.MOBILE_SIZE_PX+"px"}) {
60
+ @media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
61
61
  flex-direction: column;
62
62
  }
63
- `,_=t.styled.div`
63
+ `,_=n.styled.div`
64
64
  display: flex;
65
65
  flex-direction: column;
66
66
  gap: 0.75rem;
@@ -77,6 +77,6 @@
77
77
  }
78
78
  }
79
79
 
80
- @media (max-width: ${r.MOBILE_SIZE_PX+"px"}) {
80
+ @media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
81
81
  }
82
- `,B=o.forwardRef((e,s)=>{const{title:a,subtitle:m,buttonText:d,list:n,imageUrl:l,imageHeight:c,imageWidth:x,imageHeightMobile:g,hasBorder:h=!0,backgroundColor:p="transparent",onButtonAction:u=()=>{},buttonLink:f}=e;return i.jsxs(j,{ref:s,imgH:c,imgW:x,imgHMob:g,hasBorder:h,bgColor:p,children:[i.jsxs(v,{children:[i.jsxs($,{children:[i.jsx("div",{className:"header-title",children:a}),i.jsx("div",{className:"header-subitle",children:m})]}),i.jsx(_,{children:n==null?void 0:n.map((b,w)=>i.jsx(o.Fragment,{children:i.jsxs("div",{className:"list-item",children:[i.jsx("i",{className:"mng mng-lnc-checkmark--filled"}),i.jsx("span",{children:b})]})},w))}),i.jsx(y,{size:"medium",color:"gray",type:"button",btnType:"outline",onClick:()=>u(f),children:d})]}),i.jsx("img",{src:l})]})});module.exports=B;
82
+ `,B=a.forwardRef((e,m)=>{const{title:d,subtitle:l,buttonText:c,list:s,imageUrl:x,imageHeight:g,imageWidth:h,imageHeightMobile:p,hasBorder:u=!0,backgroundColor:b="transparent",onButtonAction:f=()=>{},buttonLink:w}=e;return i.jsxs(j,{ref:m,imgH:g,imgW:h,imgHMob:p,hasBorder:u,bgColor:b,children:[i.jsxs(v,{children:[i.jsxs($,{children:[i.jsx("div",{className:"header-title",children:d}),i.jsx("div",{className:"header-subitle",children:l})]}),i.jsx(_,{children:s==null?void 0:s.map((t,r)=>i.jsx(a.Fragment,{children:i.jsxs("div",{className:"list-item",children:[i.jsx("i",{className:"mng mng-lnc-checkmark--filled"}),i.jsx("span",{children:t})]})},r))}),i.jsx(y,{size:"medium",color:"gray",type:"button",btnType:"outline",onClick:t=>{var r;(r=t==null?void 0:t.target)==null||r.blur(),f(w)},children:c})]}),i.jsx("img",{src:x})]})});module.exports=B;
@@ -1,9 +1,9 @@
1
- import { jsxs as t, jsx as i } from "react/jsx-runtime";
1
+ import { jsxs as o, jsx as i } from "react/jsx-runtime";
2
2
  import { forwardRef as v, Fragment as y } from "react";
3
- import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as o } from "./consts-BuFChS64.js";
3
+ import { s as n } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { M as m } from "./consts-BuFChS64.js";
5
5
  import $ from "./Button.js";
6
- const H = r.div`
6
+ const H = n.div`
7
7
  display: flex;
8
8
  border-radius: 0.75rem;
9
9
  background-color: ${(e) => (e == null ? void 0 : e.bgColor) || "transparent"};
@@ -26,7 +26,7 @@ const H = r.div`
26
26
 
27
27
  `}
28
28
 
29
- @media (max-width: ${o + "px"}) {
29
+ @media (max-width: ${m + "px"}) {
30
30
  flex-direction: column;
31
31
  & img {
32
32
  max-width: 100%;
@@ -35,7 +35,7 @@ const H = r.div`
35
35
  min-height: ${(e) => e.imgHMob || "12.1rem"};
36
36
  }
37
37
  }
38
- `, W = r.div`
38
+ `, W = n.div`
39
39
  padding: 2rem;
40
40
  display: flex;
41
41
  gap: 1.25rem;
@@ -43,10 +43,10 @@ const H = r.div`
43
43
  flex: 1;
44
44
  flex-direction: column;
45
45
 
46
- @media (max-width: ${o + "px"}) {
46
+ @media (max-width: ${m + "px"}) {
47
47
  padding: 1.25rem;
48
48
  }
49
- `, k = r.div`
49
+ `, k = n.div`
50
50
  display: flex;
51
51
  flex-direction: column;
52
52
  gap: 0.25rem;
@@ -62,10 +62,10 @@ const H = r.div`
62
62
  font-weight: 500;
63
63
  }
64
64
 
65
- @media (max-width: ${o + "px"}) {
65
+ @media (max-width: ${m + "px"}) {
66
66
  flex-direction: column;
67
67
  }
68
- `, B = r.div`
68
+ `, B = n.div`
69
69
  display: flex;
70
70
  flex-direction: column;
71
71
  gap: 0.75rem;
@@ -82,43 +82,43 @@ const H = r.div`
82
82
  }
83
83
  }
84
84
 
85
- @media (max-width: ${o + "px"}) {
85
+ @media (max-width: ${m + "px"}) {
86
86
  }
87
- `, N = v((e, m) => {
87
+ `, N = v((e, d) => {
88
88
  const {
89
- title: a,
90
- subtitle: d,
91
- buttonText: l,
92
- list: n,
93
- imageUrl: s,
94
- imageHeight: c,
95
- imageWidth: g,
96
- imageHeightMobile: h,
97
- hasBorder: x = !0,
98
- backgroundColor: p = "transparent",
99
- onButtonAction: f = () => {
89
+ title: l,
90
+ subtitle: s,
91
+ buttonText: c,
92
+ list: a,
93
+ imageUrl: g,
94
+ imageHeight: h,
95
+ imageWidth: x,
96
+ imageHeightMobile: p,
97
+ hasBorder: f = !0,
98
+ backgroundColor: b = "transparent",
99
+ onButtonAction: u = () => {
100
100
  },
101
- buttonLink: b
101
+ buttonLink: w
102
102
  } = e;
103
- return /* @__PURE__ */ t(
103
+ return /* @__PURE__ */ o(
104
104
  H,
105
105
  {
106
- ref: m,
107
- imgH: c,
108
- imgW: g,
109
- imgHMob: h,
110
- hasBorder: x,
111
- bgColor: p,
106
+ ref: d,
107
+ imgH: h,
108
+ imgW: x,
109
+ imgHMob: p,
110
+ hasBorder: f,
111
+ bgColor: b,
112
112
  children: [
113
- /* @__PURE__ */ t(W, { children: [
114
- /* @__PURE__ */ t(k, { children: [
115
- /* @__PURE__ */ i("div", { className: "header-title", children: a }),
116
- /* @__PURE__ */ i("div", { className: "header-subitle", children: d })
113
+ /* @__PURE__ */ o(W, { children: [
114
+ /* @__PURE__ */ o(k, { children: [
115
+ /* @__PURE__ */ i("div", { className: "header-title", children: l }),
116
+ /* @__PURE__ */ i("div", { className: "header-subitle", children: s })
117
117
  ] }),
118
- /* @__PURE__ */ i(B, { children: n == null ? void 0 : n.map((u, w) => /* @__PURE__ */ i(y, { children: /* @__PURE__ */ t("div", { className: "list-item", children: [
118
+ /* @__PURE__ */ i(B, { children: a == null ? void 0 : a.map((t, r) => /* @__PURE__ */ i(y, { children: /* @__PURE__ */ o("div", { className: "list-item", children: [
119
119
  /* @__PURE__ */ i("i", { className: "mng mng-lnc-checkmark--filled" }),
120
- /* @__PURE__ */ i("span", { children: u })
121
- ] }) }, w)) }),
120
+ /* @__PURE__ */ i("span", { children: t })
121
+ ] }) }, r)) }),
122
122
  /* @__PURE__ */ i(
123
123
  $,
124
124
  {
@@ -126,12 +126,15 @@ const H = r.div`
126
126
  color: "gray",
127
127
  type: "button",
128
128
  btnType: "outline",
129
- onClick: () => f(b),
130
- children: l
129
+ onClick: (t) => {
130
+ var r;
131
+ (r = t == null ? void 0 : t.target) == null || r.blur(), u(w);
132
+ },
133
+ children: c
131
134
  }
132
135
  )
133
136
  ] }),
134
- /* @__PURE__ */ i("img", { src: s })
137
+ /* @__PURE__ */ i("img", { src: g })
135
138
  ]
136
139
  }
137
140
  );
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),p=require("react"),c=require("./utils-DhRHf5Ed.cjs"),w=require("./Icon.cjs"),N=require("./Chip.cjs"),x=require("./index-BVaZWq6y.cjs"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),z=require("./suspense-large-BtfvnzWh.cjs"),k=require("./Button.cjs"),q=require("./consts-goSZX3xP.cjs"),R=y.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),p=require("react"),c=require("./utils-BWzf4vLl.cjs"),w=require("./Icon.cjs"),x=require("./Chip.cjs"),N=require("./index-BRgZcjpI.cjs"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),z=require("./suspense-large-DMhn-lIG.cjs"),k=require("./Button.cjs"),q=require("./consts-goSZX3xP.cjs"),R=y.styled.div`
2
2
  display: flex;
3
3
  padding: 1rem;
4
4
  align-items: center;
@@ -114,7 +114,7 @@
114
114
  }
115
115
  }
116
116
  }
117
- `,S=p.forwardRef(({title:i,imageUrl:o,options:s,publishedAt:g,timeToReadText:_="{0} min read",timeToRead:f=0,numberOfLikes:t=0,numberOfComments:n=0,isSponsored:l=!1,onSelectCard:m=()=>{},onSelectOption:u=()=>{}},b)=>r.jsxs(R,{isSponsored:l,onClick:m,children:[l&&r.jsx("div",{className:"wrapper__sponsored",children:r.jsx(w,{icon:" mng-lnc-paw",sizeInUnits:"1.5rem"})}),r.jsx(x.ProductImageWrapper,{src:o,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:i}),r.jsx("div",{className:"wrapper__tags",children:s&&(s==null?void 0:s.map((a,h)=>r.jsx(N,{label:a==null?void 0:a.name,color:a==null?void 0:a.color,className:"wrapper__tag",onClick:d=>{d==null||d.stopPropagation(),u(a==null?void 0:a.code)}},`blog-card-sponsored-option__${h+1}`)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsx("div",{className:"info__text",children:`${c.formatLocaleDateString(g)} • ${c.formatString(_,f)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-thumbs-up",sizeInUnits:"1rem"}),c.getRoundedNumber(t)]}),r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-messages",sizeInUnits:"1rem"}),c.getRoundedNumber(n)]})]})]})]})]})),I=y.styled.div`
117
+ `,I=p.forwardRef(({title:i,imageUrl:o,options:t,publishedAt:g,timeToReadText:_="{0} min read",timeToRead:f=0,numberOfLikes:n=0,numberOfComments:l=0,isSponsored:d=!1,onSelectCard:m=()=>{},onSelectOption:u=()=>{}},b)=>r.jsxs(R,{isSponsored:d,onClick:m,children:[d&&r.jsx("div",{className:"wrapper__sponsored",children:r.jsx(w,{icon:" mng-lnc-paw",sizeInUnits:"1.5rem"})}),r.jsx(N.ProductImageWrapper,{src:o,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsxs("div",{className:"wrapper__subcontent",children:[r.jsx("div",{className:"wrapper__title",children:i}),r.jsx("div",{className:"wrapper__tags",children:t&&(t==null?void 0:t.map((a,h)=>r.jsx(x,{label:a==null?void 0:a.name,color:a==null?void 0:a.color,className:"wrapper__tag",onClick:s=>{s==null||s.stopPropagation(),u(a==null?void 0:a.code)}},`blog-card-sponsored-option__${h+1}`)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsx("div",{className:"info__text",children:`${c.formatLocaleDateString(g)} • ${c.formatString(_,f)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-thumbs-up",sizeInUnits:"1rem"}),c.getRoundedNumber(n)]}),r.jsxs("div",{children:[r.jsx(w,{icon:" mng-lnc-messages",sizeInUnits:"1rem"}),c.getRoundedNumber(l)]})]})]})]})]})),S=y.styled.div`
118
118
  display: flex;
119
119
  flex-direction: column;
120
120
  align-items: flex-start;
@@ -196,4 +196,4 @@
196
196
  gap: 1rem;
197
197
  }
198
198
  }
199
- `,$=p.memo(S),C=p.forwardRef(({title:i,subtitle:o,icon:s,buttonText:g,buttonLink:_,timeToReadText:f="{0} min read",items:t,onButtonAction:n=()=>{},onSelectCard:l=()=>{},onSelectOption:m=()=>{},isLoading:u=!1,getImage:b=()=>{}},a)=>{const h=p.useMemo(()=>{var d;return(d=t==null?void 0:t.slice(0,4))==null?void 0:d.map((e,v)=>r.jsx($,{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:f,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,onSelectCard:()=>l==null?void 0:l(e==null?void 0:e.uuid,e==null?void 0:e.titleSlug),onSelectOption:j=>m==null?void 0:m(j),imageUrl:b(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},`blog-card-sponsored__${v+1}`))},[t]);return r.jsxs(I,{children:[r.jsxs("div",{className:"wrapper__heading",children:[r.jsxs("div",{className:"wrapper__title",children:[i&&r.jsxs("div",{className:"title__text",children:[c.isDefinedNotEmptyString(s)&&r.jsx("i",{className:s}),r.jsx("span",{children:i})]}),n&&r.jsx(k,{text:g,borderRadius:"curved",btnType:"tinted",className:"title__action",onClick:()=>n==null?void 0:n(_)})]}),o&&r.jsx("div",{className:"wrapper__subtitle",children:o})]}),r.jsx("div",{className:"wrapper__cards",children:r.jsx(z.SuspenseBlogLarge,{isLoading:u,limit:4,keyPrefix:"blog-section",children:h})})]})});module.exports=C;
199
+ `,$=p.memo(I),C=p.forwardRef(({title:i,subtitle:o,icon:t,buttonText:g,buttonLink:_,timeToReadText:f="{0} min read",items:n,onButtonAction:l=()=>{},onSelectCard:d=()=>{},onSelectOption:m=()=>{},isLoading:u=!1,getImage:b=()=>{}},a)=>{const h=p.useMemo(()=>{var s;return(s=n==null?void 0:n.slice(0,4))==null?void 0:s.map((e,v)=>r.jsx($,{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:f,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,onSelectCard:()=>d==null?void 0:d(e),onSelectOption:j=>m==null?void 0:m(j),imageUrl:b(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},`blog-card-sponsored__${v+1}`))},[n]);return r.jsxs(S,{children:[r.jsxs("div",{className:"wrapper__heading",children:[r.jsxs("div",{className:"wrapper__title",children:[i&&r.jsxs("div",{className:"title__text",children:[c.isDefinedNotEmptyString(t)&&r.jsx("i",{className:t}),r.jsx("span",{children:i})]}),l&&r.jsx(k,{text:g,borderRadius:"curved",btnType:"tinted",className:"title__action",onClick:s=>{var e;(e=s==null?void 0:s.target)==null||e.blur(),l==null||l(_)}})]}),o&&r.jsx("div",{className:"wrapper__subtitle",children:o})]}),r.jsx("div",{className:"wrapper__cards",children:r.jsx(z.SuspenseBlogLarge,{isLoading:u,limit:4,keyPrefix:"blog-section",children:h})})]})});module.exports=C;
@@ -1,11 +1,11 @@
1
1
  import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
- import { forwardRef as v, memo as z, useMemo as S } from "react";
3
- import { t as j, p as I, q as $, s as b, k as C } from "./utils-BE-UlkKf.js";
2
+ import { forwardRef as v, memo as z, useMemo as j } from "react";
3
+ import { n as I, p as S, q as $, s as b, k as C } from "./utils-BhG1dImS.js";
4
4
  import u from "./Icon.js";
5
5
  import R from "./Chip.js";
6
- import { P as L } from "./index-Ca38iPjf.js";
6
+ import { P as L } from "./index-Cpd68IKh.js";
7
7
  import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
8
- import { S as P } from "./suspense-large-DFlSJhGG.js";
8
+ import { S as P } from "./suspense-large-B2lY_x-y.js";
9
9
  import U from "./Button.js";
10
10
  import { M } from "./consts-BuFChS64.js";
11
11
  const T = y.div`
@@ -15,7 +15,7 @@ const T = y.div`
15
15
  gap: 1.25rem;
16
16
  border-radius: 1.25rem;
17
17
  align-items: stretch;
18
- border: ${(t) => t != null && t.isSponsored ? "2px solid var(--yellow-500, #f59e0b)" : "1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08))"};
18
+ border: ${(l) => l != null && l.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
- ${j(3)}
74
+ ${I(3)}
75
75
  }
76
76
 
77
77
  & .wrapper__tags {
@@ -126,50 +126,50 @@ const T = y.div`
126
126
  }
127
127
  `, E = v(
128
128
  ({
129
- title: t,
129
+ title: l,
130
130
  imageUrl: d,
131
- options: l,
131
+ options: s,
132
132
  publishedAt: c,
133
133
  timeToReadText: g = "{0} min read",
134
134
  timeToRead: f = 0,
135
- numberOfLikes: s = 0,
136
- numberOfComments: n = 0,
137
- isSponsored: m = !1,
135
+ numberOfLikes: n = 0,
136
+ numberOfComments: m = 0,
137
+ isSponsored: p = !1,
138
138
  onSelectCard: o = () => {
139
139
  },
140
140
  onSelectOption: _ = () => {
141
141
  }
142
- }, w) => /* @__PURE__ */ a(T, { isSponsored: m, onClick: o, children: [
143
- m && /* @__PURE__ */ r("div", { className: "wrapper__sponsored", children: /* @__PURE__ */ r(u, { icon: " mng-lnc-paw", sizeInUnits: "1.5rem" }) }),
142
+ }, w) => /* @__PURE__ */ a(T, { isSponsored: p, onClick: o, children: [
143
+ p && /* @__PURE__ */ r("div", { className: "wrapper__sponsored", children: /* @__PURE__ */ r(u, { icon: " mng-lnc-paw", sizeInUnits: "1.5rem" }) }),
144
144
  /* @__PURE__ */ r(L, { src: d, className: "wrapper__image" }),
145
145
  /* @__PURE__ */ a("div", { className: "wrapper__content", children: [
146
146
  /* @__PURE__ */ a("div", { className: "wrapper__subcontent", children: [
147
- /* @__PURE__ */ r("div", { className: "wrapper__title", children: t }),
148
- /* @__PURE__ */ r("div", { className: "wrapper__tags", children: l && (l == null ? void 0 : l.map((i, h) => /* @__PURE__ */ r(
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
149
  R,
150
150
  {
151
151
  label: i == null ? void 0 : i.name,
152
152
  color: i == null ? void 0 : i.color,
153
153
  className: "wrapper__tag",
154
- onClick: (p) => {
155
- p == null || p.stopPropagation(), _(i == null ? void 0 : i.code);
154
+ onClick: (t) => {
155
+ t == null || t.stopPropagation(), _(i == null ? void 0 : i.code);
156
156
  }
157
157
  },
158
158
  `blog-card-sponsored-option__${h + 1}`
159
159
  ))) })
160
160
  ] }),
161
161
  /* @__PURE__ */ a("div", { className: "wrapper__info", children: [
162
- /* @__PURE__ */ r("div", { className: "info__text", children: `${I(
162
+ /* @__PURE__ */ r("div", { className: "info__text", children: `${S(
163
163
  c
164
164
  )} • ${$(g, f)}` }),
165
165
  /* @__PURE__ */ a("div", { className: "info__text", children: [
166
166
  /* @__PURE__ */ a("div", { children: [
167
167
  /* @__PURE__ */ r(u, { icon: " mng-lnc-thumbs-up", sizeInUnits: "1rem" }),
168
- b(s)
168
+ b(n)
169
169
  ] }),
170
170
  /* @__PURE__ */ a("div", { children: [
171
171
  /* @__PURE__ */ r(u, { icon: " mng-lnc-messages", sizeInUnits: "1rem" }),
172
- b(n)
172
+ b(m)
173
173
  ] })
174
174
  ] })
175
175
  ] })
@@ -259,16 +259,16 @@ const T = y.div`
259
259
  }
260
260
  `, B = z(E), Q = v(
261
261
  ({
262
- title: t,
262
+ title: l,
263
263
  subtitle: d,
264
- icon: l,
264
+ icon: s,
265
265
  buttonText: c,
266
266
  buttonLink: g,
267
267
  timeToReadText: f = "{0} min read",
268
- items: s,
269
- onButtonAction: n = () => {
268
+ items: n,
269
+ onButtonAction: m = () => {
270
270
  },
271
- onSelectCard: m = () => {
271
+ onSelectCard: p = () => {
272
272
  },
273
273
  onSelectOption: o = () => {
274
274
  },
@@ -276,9 +276,9 @@ const T = y.div`
276
276
  getImage: w = () => {
277
277
  }
278
278
  }, i) => {
279
- const h = S(() => {
280
- var p;
281
- return (p = s == null ? void 0 : s.slice(0, 4)) == null ? void 0 : p.map((e, N) => /* @__PURE__ */ r(
279
+ const h = j(() => {
280
+ var t;
281
+ return (t = n == null ? void 0 : n.slice(0, 4)) == null ? void 0 : t.map((e, N) => /* @__PURE__ */ r(
282
282
  B,
283
283
  {
284
284
  title: e == null ? void 0 : e.title,
@@ -290,28 +290,31 @@ const T = y.div`
290
290
  numberOfLikes: e == null ? void 0 : e.numberOfLikes,
291
291
  numberOfComments: e == null ? void 0 : e.numberOfComments,
292
292
  isSponsored: e == null ? void 0 : e.isSponsored,
293
- onSelectCard: () => m == null ? void 0 : m(e == null ? void 0 : e.uuid, e == null ? void 0 : e.titleSlug),
293
+ onSelectCard: () => p == null ? void 0 : p(e),
294
294
  onSelectOption: (k) => o == null ? void 0 : o(k),
295
295
  imageUrl: w(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
296
296
  },
297
297
  `blog-card-sponsored__${N + 1}`
298
298
  ));
299
- }, [s]);
299
+ }, [n]);
300
300
  return /* @__PURE__ */ a(W, { children: [
301
301
  /* @__PURE__ */ a("div", { className: "wrapper__heading", children: [
302
302
  /* @__PURE__ */ a("div", { className: "wrapper__title", children: [
303
- t && /* @__PURE__ */ a("div", { className: "title__text", children: [
304
- C(l) && /* @__PURE__ */ r("i", { className: l }),
305
- /* @__PURE__ */ r("span", { children: t })
303
+ l && /* @__PURE__ */ a("div", { className: "title__text", children: [
304
+ C(s) && /* @__PURE__ */ r("i", { className: s }),
305
+ /* @__PURE__ */ r("span", { children: l })
306
306
  ] }),
307
- n && /* @__PURE__ */ r(
307
+ m && /* @__PURE__ */ r(
308
308
  U,
309
309
  {
310
310
  text: c,
311
311
  borderRadius: "curved",
312
312
  btnType: "tinted",
313
313
  className: "title__action",
314
- onClick: () => n == null ? void 0 : n(g)
314
+ onClick: (t) => {
315
+ var e;
316
+ (e = t == null ? void 0 : t.target) == null || e.blur(), m == null || m(g);
317
+ }
315
318
  }
316
319
  )
317
320
  ] }),
@@ -1 +1 @@
1
- "use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-5JZtz7wj.cjs"),l=require("./style-BTTXJFJN.cjs"),m=a.memo(u.CategorySimpleCard),p=a.forwardRef(({items:r,onSelectCard:i=()=>{},isLoading:n=!1,limit:t=4,isHighlight:c=!1},C)=>{const d=a.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,g)=>s.jsx(m,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>i==null?void 0:i(e==null?void 0:e.uuid)},g))},[r]);return s.jsx(l.Wrapper,{className:c?"highlight":"",children:s.jsx("div",{className:"wrapper__grid",children:s.jsx(u.SuspenseSimpleCategoryCard,{isLoading:n,limit:t,keyPrefix:"blog-section",children:d})})})});module.exports=p;
1
+ "use strict";const s=require("react/jsx-runtime"),a=require("react"),u=require("./suspense-categories-card-simple-B2swGa6t.cjs"),l=require("./style-BTTXJFJN.cjs"),m=a.memo(u.CategorySimpleCard),p=a.forwardRef(({items:r,onSelectCard:i=()=>{},isLoading:n=!1,limit:t=4,isHighlight:c=!1},C)=>{const d=a.useMemo(()=>{var o;return(o=r==null?void 0:r.slice(0,4))==null?void 0:o.map((e,g)=>s.jsx(m,{uuid:e==null?void 0:e.uuid,image:e==null?void 0:e.image,name:e==null?void 0:e.name,onSelectCard:()=>i==null?void 0:i(e==null?void 0:e.uuid)},g))},[r]);return s.jsx(l.Wrapper,{className:c?"highlight":"",children:s.jsx("div",{className:"wrapper__grid",children:s.jsx(u.SuspenseSimpleCategoryCard,{isLoading:n,limit:t,keyPrefix:"blog-section",children:d})})})});module.exports=p;
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { memo as l, forwardRef as f, useMemo as t } from "react";
3
- import { C as u, S as n } from "./suspense-categories-card-simple-BTFqzXyn.js";
3
+ import { C as u, S as n } from "./suspense-categories-card-simple-Dkm0oojD.js";
4
4
  import { W as c } from "./style-tw6KjI2J.js";
5
5
  const C = l(u), M = f(
6
6
  ({
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),o=require("react"),b=require("./Icon.cjs"),w=require("./IconButton.cjs"),v=require("./Chip.cjs"),c=require("./utils-DhRHf5Ed.cjs"),N=require("./index-BVaZWq6y.cjs"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./suspense-large-BtfvnzWh.cjs"),q=y.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),o=require("react"),b=require("./Icon.cjs"),w=require("./IconButton.cjs"),v=require("./Chip.cjs"),c=require("./utils-BWzf4vLl.cjs"),N=require("./index-BRgZcjpI.cjs"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./suspense-large-DMhn-lIG.cjs"),q=y.styled.div`
2
2
  display: flex;
3
3
  padding: 1rem;
4
4
  align-items: center;
@@ -117,7 +117,7 @@
117
117
  }
118
118
  }
119
119
  }
120
- `,I=o.forwardRef(({title:d,imageUrl:s,options:i,publishedAt:a,timeToReadText:n="{0} min read",timeToRead:l=0,numberOfLikes:m=0,numberOfComments:p=0,onSelectCard:g=()=>{},onSelectOption:_=()=>{},onBookmark:u=()=>{},onShare:e=()=>{}},h)=>r.jsxs(q,{onClick:g,children:[r.jsx(N.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,j)=>r.jsx(v,{label:t==null?void 0:t.name,color:t==null?void 0:t.color,className:"wrapper__tag",onClick:f=>{f==null||f.stopPropagation(),_(t==null?void 0:t.code)}},`blog-card-sponsored-option__${j+1}`)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsxs("div",{className:"info__content",children:[r.jsx("div",{className:"info__text",children:`${c.formatLocaleDateString(a)} • ${c.formatString(n,l)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(b,{icon:" mng-lnc-thumbs-up",sizeInUnits:"1rem"}),c.getRoundedNumber(m)]}),r.jsxs("div",{children:[r.jsx(b,{icon:" mng-lnc-messages",sizeInUnits:"1rem"}),c.getRoundedNumber(p)]})]})]}),r.jsxs("div",{className:"info__content",children:[r.jsx(w,{icon:" mng-lnc-bookmark",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),u()}}),r.jsx(w,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),e()}})]})]})]})]})),z=y.styled.div`
120
+ `,I=o.forwardRef(({title:d,imageUrl:s,options:i,publishedAt:a,timeToReadText:n="{0} min read",timeToRead:l=0,numberOfLikes:m=0,numberOfComments:p=0,onSelectCard:g=()=>{},onSelectOption:_=()=>{},onBookmark:f=()=>{},onShare:e=()=>{}},h)=>r.jsxs(q,{onClick:g,children:[r.jsx(N.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,j)=>r.jsx(v,{label:t==null?void 0:t.name,color:t==null?void 0:t.color,className:"wrapper__tag",onClick:u=>{u==null||u.stopPropagation(),_(t==null?void 0:t.code)}},`blog-card-sponsored-option__${j+1}`)))})]}),r.jsxs("div",{className:"wrapper__info",children:[r.jsxs("div",{className:"info__content",children:[r.jsx("div",{className:"info__text",children:`${c.formatLocaleDateString(a)} • ${c.formatString(n,l)}`}),r.jsxs("div",{className:"info__text",children:[r.jsxs("div",{children:[r.jsx(b,{icon:" mng-lnc-thumbs-up",sizeInUnits:"1rem"}),c.getRoundedNumber(m)]}),r.jsxs("div",{children:[r.jsx(b,{icon:" mng-lnc-messages",sizeInUnits:"1rem"}),c.getRoundedNumber(p)]})]})]}),r.jsxs("div",{className:"info__content",children:[r.jsx(w,{icon:" mng-lnc-bookmark",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),f()}}),r.jsx(w,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:t=>{t==null||t.stopPropagation(),e()}})]})]})]})]})),z=y.styled.div`
121
121
  display: flex;
122
122
  flex-direction: column;
123
123
  align-items: flex-start;
@@ -139,4 +139,4 @@
139
139
  bottom: -0.75rem;
140
140
  }
141
141
  }
142
- `,k=o.memo(I),C=o.forwardRef(({timeToReadText:d="{0} min read",items:s,onSelectCard:i=()=>{},onSelectOption:a=()=>{},onShare:n=()=>{},onBookmark:l=()=>{},isLoading:m=!1,getImage:p=()=>{},isSeparated:g=!0},_)=>{const u=o.useMemo(()=>s==null?void 0:s.map((e,h)=>r.jsx(k,{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,onSelectCard:()=>i==null?void 0:i(e==null?void 0:e.uuid,e==null?void 0:e.titleSlug),onSelectOption:t=>a==null?void 0:a(t),onShare:()=>n==null?void 0:n(e==null?void 0:e.uuid),onBookmark:()=>l==null?void 0:l(e==null?void 0:e.uuid),imageUrl:p(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null},`blog-card-item__${h+1}`)),[s]);return r.jsx(z,{className:g?"separated":"",children:r.jsx(R.SuspenseBlogLarge,{isLoading:m,limit:5,keyPrefix:"blog-section",children:u})})});module.exports=C;
142
+ `,k=o.memo(I),C=o.forwardRef(({timeToReadText:d="{0} min read",items:s,onSelectCard:i=()=>{},onSelectOption:a=()=>{},onShare:n=()=>{},onBookmark:l=()=>{},isLoading:m=!1,getImage:p=()=>{},isSeparated:g=!0},_)=>{const f=o.useMemo(()=>s==null?void 0:s.map((e,h)=>r.jsx(k,{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,onSelectCard:()=>i==null?void 0:i(e),onSelectOption:t=>a==null?void 0:a(t),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__${h+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=C;