@lanaco/lnc-react-ui 4.0.84 → 4.0.86

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 (233) 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 +1 -1
  14. package/dist/BannerSectionCarousel.js +1 -1
  15. package/dist/BannerSectionWithList.cjs +1 -1
  16. package/dist/BannerSectionWithList.js +1 -1
  17. package/dist/BannerSectionWithListImage.cjs +1 -1
  18. package/dist/BannerSectionWithListImage.js +9 -9
  19. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  20. package/dist/BlogCardsSponsoredSection.js +3 -3
  21. package/dist/BlogCategoryCardsSection.cjs +1 -1
  22. package/dist/BlogCategoryCardsSection.js +1 -1
  23. package/dist/BlogListSection.cjs +1 -1
  24. package/dist/BlogListSection.js +3 -3
  25. package/dist/BlogProductCardsSection.cjs +1 -1
  26. package/dist/BlogProductCardsSection.js +2 -2
  27. package/dist/BlogShopCardsSection.cjs +1 -1
  28. package/dist/BlogShopCardsSection.js +1 -1
  29. package/dist/BlogSingleSection.cjs +1 -1
  30. package/dist/BlogSingleSection.js +2 -2
  31. package/dist/BlogsSectionDetailed.cjs +6 -6
  32. package/dist/BlogsSectionDetailed.js +65 -62
  33. package/dist/BlogsSectionLarge.cjs +1 -1
  34. package/dist/BlogsSectionLarge.js +2 -2
  35. package/dist/BlogsSectionSimple.cjs +6 -6
  36. package/dist/BlogsSectionSimple.js +46 -43
  37. package/dist/BlogsSectionSimpleCentered.cjs +1 -1
  38. package/dist/BlogsSectionSimpleCentered.js +2 -2
  39. package/dist/BlogsSectionWithFilters.cjs +6 -2
  40. package/dist/BlogsSectionWithFilters.js +43 -36
  41. package/dist/BrandHitsSection.cjs +1 -1
  42. package/dist/BrandHitsSection.js +1 -1
  43. package/dist/Breadcrumbs.cjs +1 -1
  44. package/dist/Breadcrumbs.js +1 -1
  45. package/dist/Button.cjs +1 -1
  46. package/dist/Button.js +1 -1
  47. package/dist/ButtonGroup.cjs +1 -1
  48. package/dist/ButtonGroup.js +1 -1
  49. package/dist/CalorieCalculatorSection.cjs +2 -2
  50. package/dist/CalorieCalculatorSection.js +2 -2
  51. package/dist/CheckBoxInput.cjs +1 -1
  52. package/dist/CheckBoxInput.js +1 -1
  53. package/dist/Chip.cjs +1 -1
  54. package/dist/Chip.js +1 -1
  55. package/dist/ColorInput.cjs +1 -1
  56. package/dist/ColorInput.js +1 -1
  57. package/dist/ConfirmationForm.cjs +1 -1
  58. package/dist/ConfirmationForm.js +1 -1
  59. package/dist/CustomLoanMapSection.cjs +1 -1
  60. package/dist/CustomLoanMapSection.js +2 -2
  61. package/dist/{CustomStyles-ZBxlReAi.js → CustomStyles-DSaRbYZg.js} +1 -1
  62. package/dist/{CustomStyles-ChA_393q.cjs → CustomStyles-DzChCA5c.cjs} +1 -1
  63. package/dist/DateInput.cjs +1 -1
  64. package/dist/DateInput.js +1 -1
  65. package/dist/DecimalInput.cjs +1 -1
  66. package/dist/DecimalInput.js +1 -1
  67. package/dist/DecimalInputV2.cjs +1 -1
  68. package/dist/DecimalInputV2.js +1 -1
  69. package/dist/DetailedProductsSection.cjs +7 -3
  70. package/dist/DetailedProductsSection.js +17 -12
  71. package/dist/DetailsView.cjs +1 -1
  72. package/dist/DetailsView.js +1 -1
  73. package/dist/DoubleRangeSlider.cjs +1 -1
  74. package/dist/DoubleRangeSlider.js +1 -1
  75. package/dist/DragAndDropFile.cjs +1 -1
  76. package/dist/DragAndDropFile.js +1 -1
  77. package/dist/DragDropFiles.cjs +1 -1
  78. package/dist/DragDropFiles.js +1 -1
  79. package/dist/Drawer.cjs +1 -1
  80. package/dist/Drawer.js +1 -1
  81. package/dist/Dropdown.cjs +1 -1
  82. package/dist/Dropdown.js +2 -2
  83. package/dist/DropdownItem.cjs +1 -1
  84. package/dist/DropdownItem.js +1 -1
  85. package/dist/DropdownLookup.cjs +1 -1
  86. package/dist/DropdownLookup.js +1 -1
  87. package/dist/DropdownMenu.cjs +1 -1
  88. package/dist/DropdownMenu.js +1 -1
  89. package/dist/EditableTable.cjs +1 -1
  90. package/dist/EditableTable.js +1 -1
  91. package/dist/FieldOfInterestsMasonrySection.cjs +1 -1
  92. package/dist/FieldOfInterestsMasonrySection.js +1 -1
  93. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
  94. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
  95. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +12 -7
  96. package/dist/FieldOfInterestsWithTagsCardsSection.js +41 -36
  97. package/dist/FileInput.cjs +1 -1
  98. package/dist/FileInput.js +1 -1
  99. package/dist/FlexGridItem.cjs +1 -1
  100. package/dist/FlexGridItem.js +1 -1
  101. package/dist/FormField.cjs +1 -1
  102. package/dist/FormField.js +1 -1
  103. package/dist/FormView.cjs +1 -1
  104. package/dist/FormView.js +1 -1
  105. package/dist/GeneralWithTagsCardsSection.cjs +17 -12
  106. package/dist/GeneralWithTagsCardsSection.js +32 -27
  107. package/dist/GiftCardsSection.cjs +1 -1
  108. package/dist/GiftCardsSection.js +1 -1
  109. package/dist/Icon.cjs +1 -1
  110. package/dist/Icon.js +1 -1
  111. package/dist/IconButton.cjs +1 -1
  112. package/dist/IconButton.js +1 -1
  113. package/dist/Kanban.cjs +1 -1
  114. package/dist/Kanban.js +1 -1
  115. package/dist/KanbanActionsToolbar.cjs +1 -1
  116. package/dist/KanbanActionsToolbar.js +1 -1
  117. package/dist/KanbanView.cjs +1 -1
  118. package/dist/KanbanView.js +1 -1
  119. package/dist/Link.cjs +1 -1
  120. package/dist/Link.js +1 -1
  121. package/dist/LoanCalculatorSection.cjs +1 -1
  122. package/dist/LoanCalculatorSection.js +1 -1
  123. package/dist/LocationFinderSection.cjs +1 -1
  124. package/dist/LocationFinderSection.js +1 -1
  125. package/dist/LocationSearchSection.cjs +6 -6
  126. package/dist/LocationSearchSection.js +16 -13
  127. package/dist/MasonryGeneralCardsSection.cjs +6 -6
  128. package/dist/MasonryGeneralCardsSection.js +44 -46
  129. package/dist/MenuItem.cjs +1 -1
  130. package/dist/MenuItem.js +1 -1
  131. package/dist/Modal.cjs +1 -1
  132. package/dist/Modal.js +1 -1
  133. package/dist/MultiSelectDropdown.cjs +1 -1
  134. package/dist/MultiSelectDropdown.js +1 -1
  135. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  136. package/dist/MultiSelectDropdownLookup.js +1 -1
  137. package/dist/NestedDropdownItem.cjs +1 -1
  138. package/dist/NestedDropdownItem.js +1 -1
  139. package/dist/NestedMenuItem.cjs +1 -1
  140. package/dist/NestedMenuItem.js +1 -1
  141. package/dist/NotificationContainer.cjs +1 -1
  142. package/dist/NotificationContainer.js +1 -1
  143. package/dist/NotificationMessage.cjs +1 -1
  144. package/dist/NotificationMessage.js +1 -1
  145. package/dist/NumberInput.cjs +1 -1
  146. package/dist/NumberInput.js +1 -1
  147. package/dist/OverlayGeneralCardsSection.cjs +7 -5
  148. package/dist/OverlayGeneralCardsSection.js +12 -10
  149. package/dist/PasswordInput.cjs +1 -1
  150. package/dist/PasswordInput.js +1 -1
  151. package/dist/PopoverContent.cjs +1 -1
  152. package/dist/PopoverContent.js +1 -1
  153. package/dist/ProductsWithBannerSection.cjs +1 -1
  154. package/dist/ProductsWithBannerSection.js +2 -2
  155. package/dist/ProgressBar.cjs +1 -1
  156. package/dist/ProgressBar.js +1 -1
  157. package/dist/QuizSection.cjs +1 -1
  158. package/dist/QuizSection.js +1 -1
  159. package/dist/RadioInput.cjs +1 -1
  160. package/dist/RadioInput.js +1 -1
  161. package/dist/RangeSlider.cjs +1 -1
  162. package/dist/RangeSlider.js +1 -1
  163. package/dist/ReviewsSection.cjs +1 -1
  164. package/dist/ReviewsSection.js +2 -2
  165. package/dist/SalesCampaignsSection.cjs +35 -31
  166. package/dist/SalesCampaignsSection.js +183 -177
  167. package/dist/Separator.cjs +1 -1
  168. package/dist/Separator.js +1 -1
  169. package/dist/ShopCardsSection.cjs +1 -1
  170. package/dist/ShopCardsSection.js +2 -2
  171. package/dist/Sidebar.cjs +1 -1
  172. package/dist/Sidebar.js +1 -1
  173. package/dist/SimpleCategoriesSection.cjs +1 -1
  174. package/dist/SimpleCategoriesSection.js +2 -2
  175. package/dist/SimpleProductsSection.cjs +1 -1
  176. package/dist/SimpleProductsSection.js +2 -2
  177. package/dist/Spinner.cjs +1 -1
  178. package/dist/Spinner.js +1 -1
  179. package/dist/Surface.cjs +1 -1
  180. package/dist/Surface.js +1 -1
  181. package/dist/SwipeableDrawer.cjs +1 -1
  182. package/dist/SwipeableDrawer.js +1 -1
  183. package/dist/TabItem.cjs +1 -1
  184. package/dist/TabItem.js +1 -1
  185. package/dist/Table.cjs +1 -1
  186. package/dist/Table.js +1 -1
  187. package/dist/TableView.cjs +1 -1
  188. package/dist/TableView.js +1 -1
  189. package/dist/TextAreaInput.cjs +1 -1
  190. package/dist/TextAreaInput.js +1 -1
  191. package/dist/TextInput.cjs +1 -1
  192. package/dist/TextInput.js +1 -1
  193. package/dist/ThemeProvider.cjs +1 -1
  194. package/dist/ThemeProvider.js +1 -1
  195. package/dist/TimeInput.cjs +1 -1
  196. package/dist/TimeInput.js +1 -1
  197. package/dist/Toggle.cjs +1 -1
  198. package/dist/Toggle.js +1 -1
  199. package/dist/TreeMenuSeparator.cjs +1 -1
  200. package/dist/TreeMenuSeparator.js +1 -1
  201. package/dist/UploadedFile.cjs +1 -1
  202. package/dist/UploadedFile.js +1 -1
  203. package/dist/UrgentSaleProductsSection.cjs +2 -2
  204. package/dist/UrgentSaleProductsSection.js +2 -2
  205. package/dist/{index-baEuidT3.js → index-B5bRol0l.js} +1 -1
  206. package/dist/{index-D0Cl3mpJ.js → index-B69VVFyo.js} +1 -1
  207. package/dist/{index-CfA579i2.cjs → index-B9HSHvhH.cjs} +4 -3
  208. package/dist/{index-m9SN4CZC.js → index-BBPnKoi6.js} +13 -12
  209. package/dist/{index-CAqPGuiA.cjs → index-BVaZWq6y.cjs} +1 -1
  210. package/dist/{index-bTSzxSNK.js → index-BpS5mEUu.js} +2 -2
  211. package/dist/{index-Q6GmUkJx.cjs → index-C7iutNsj.cjs} +1 -1
  212. package/dist/{index-ZbylnHR8.cjs → index-CWAifrDS.cjs} +1 -1
  213. package/dist/{index-BLxkXrqU.js → index-Ca38iPjf.js} +1 -1
  214. package/dist/{index-DXmajb7F.js → index-DmuZIVnC.js} +1 -1
  215. package/dist/{index-Dy-o153l.cjs → index-ZR5ws_qw.cjs} +1 -1
  216. package/dist/{index-ryadTWiS.cjs → index-rYeYJwuL.cjs} +1 -1
  217. package/dist/index.cjs +1 -1
  218. package/dist/index.js +1 -1
  219. package/dist/{skeleton-D0bLAwfj.cjs → skeleton-BRWiMY6b.cjs} +7 -3
  220. package/dist/{skeleton-CtJG0_SN.cjs → skeleton-C_Jypl8r.cjs} +1 -1
  221. package/dist/{skeleton-CfSTJ_9L.js → skeleton-DhXNRCfI.js} +8 -4
  222. package/dist/{skeleton-iQWpOw9K.js → skeleton-wfDIalr3.js} +2 -2
  223. package/dist/{suspense-categories-card-simple-Tiure3NX.js → suspense-categories-card-simple-BmmCOsc0.js} +1 -1
  224. package/dist/{suspense-categories-card-simple-o7JK0fA4.cjs → suspense-categories-card-simple-D-tE8xV6.cjs} +1 -1
  225. package/dist/{suspense-large-v60EOiID.cjs → suspense-large-Buu1428e.cjs} +1 -1
  226. package/dist/{suspense-large-CQpNiB26.js → suspense-large-iKRJJlJv.js} +1 -1
  227. package/dist/{suspense-product-card-detailed-D490oqXC.cjs → suspense-product-card-detailed-CwUN6A-L.cjs} +1 -1
  228. package/dist/{suspense-product-card-detailed-DDXuOKib.js → suspense-product-card-detailed-J2a9wi6Z.js} +2 -2
  229. package/dist/{suspense-product-card-simple-fSvde3aM.js → suspense-product-card-simple--ExcEpD-.js} +1 -1
  230. package/dist/{suspense-product-card-simple-CQxB1MF4.cjs → suspense-product-card-simple-0x5sc47a.cjs} +1 -1
  231. package/dist/{utils-DCs-SbIv.js → utils-BE-UlkKf.js} +8 -8
  232. package/dist/{utils-BXPz9bck.cjs → utils-DhRHf5Ed.cjs} +3 -3
  233. package/package.json +1 -1
@@ -1,21 +1,21 @@
1
1
  import { jsxs as t, jsx as r, Fragment as k } from "react/jsx-runtime";
2
- import { forwardRef as N, Suspense as P, memo as T, useMemo as B } from "react";
2
+ import { forwardRef as N, Suspense as A, memo as B, useMemo as L } from "react";
3
3
  import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as O } from "./consts-C1uHV4xc.js";
5
- import { u as R } from "./useDetectMobile-BC6EGaBc.js";
6
- import { m as v, t as L, q as z, p as A, s as C, k as w } from "./utils-DCs-SbIv.js";
7
- import { B as M, R as I } from "./style-CsMpu4iC.js";
8
- import U from "./Button.js";
9
- import { P as W } from "./index-BLxkXrqU.js";
10
- const j = y.div`
4
+ import { M as T } from "./consts-C1uHV4xc.js";
5
+ import { u as D } from "./useDetectMobile-BC6EGaBc.js";
6
+ import { m as v, t as P, q as z, p as M, s as C, k as w } from "./utils-BE-UlkKf.js";
7
+ import { B as I, R as U } from "./style-CsMpu4iC.js";
8
+ import W from "./Button.js";
9
+ import { P as j } from "./index-Ca38iPjf.js";
10
+ const E = y.div`
11
11
  display: grid;
12
12
  grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
13
13
  gap: 1.25rem;
14
14
 
15
- @media (max-width: ${O + "px"}) {
15
+ @media (max-width: ${T + "px"}) {
16
16
  grid-template-columns: repeat(1, 1fr);
17
17
  }
18
- `, $ = y.div`
18
+ `, R = y.div`
19
19
  display: flex;
20
20
  flex-direction: column;
21
21
  width: 100%;
@@ -56,9 +56,9 @@ const j = y.div`
56
56
  padding: 0 1rem 1rem 1rem;
57
57
  }
58
58
 
59
- @media (max-width: ${O + "px"}) {
59
+ @media (max-width: ${T + "px"}) {
60
60
  }
61
- `, D = y.div`
61
+ `, O = y.div`
62
62
  padding: 1rem 1rem 0 1rem;
63
63
  display: flex;
64
64
  flex-direction: column;
@@ -88,7 +88,7 @@ const j = y.div`
88
88
  font-size: 0.875rem;
89
89
  flex: 1;
90
90
  color: var(--gray-700, #4e555f);
91
- ${L(2)}
91
+ ${P(2)}
92
92
  }
93
93
 
94
94
  & .info-wr {
@@ -117,37 +117,37 @@ const j = y.div`
117
117
  align-items: center;
118
118
  gap: 1rem;
119
119
  }
120
- `, E = N((i, o) => {
120
+ `, _ = N((i, o) => {
121
121
  const {
122
122
  title: a,
123
123
  imageUrl: d,
124
124
  text: s,
125
- numberOfLikes: n,
125
+ numberOfLikes: l,
126
126
  numberOfComments: u,
127
- readDuration: m,
128
- datePublished: c,
129
- tags: g,
130
- onCardClick: f,
131
- timeToReadText: p = "read"
127
+ timeToRead: g,
128
+ publishedAt: c,
129
+ tags: m,
130
+ onCardClick: h,
131
+ timeToReadText: p = "{0} min read"
132
132
  } = i;
133
133
  return (
134
134
  // <BlogCardDetailedSkeleton />
135
- /* @__PURE__ */ t($, { ref: o, className: "blog-card", onClick: f, children: [
136
- /* @__PURE__ */ r(W, { src: d }),
137
- /* @__PURE__ */ t(D, { children: [
135
+ /* @__PURE__ */ t(R, { ref: o, className: "blog-card", onClick: h, children: [
136
+ /* @__PURE__ */ r(j, { src: d }),
137
+ /* @__PURE__ */ t(O, { children: [
138
138
  /* @__PURE__ */ t("div", { className: "info-wr", children: [
139
139
  /* @__PURE__ */ t("div", { className: "info-wr-1", children: [
140
140
  /* @__PURE__ */ t("span", { children: [
141
- A(c),
141
+ M(c),
142
142
  " "
143
143
  ] }),
144
144
  /* @__PURE__ */ r("span", { className: "small-dot", children: "●" }),
145
- m && p ? `${z(p, m)}` : "N/A"
145
+ g && p ? `${z(p, g)}` : "N/A"
146
146
  ] }),
147
147
  /* @__PURE__ */ t("div", { className: "info-wr-2", children: [
148
148
  /* @__PURE__ */ t("span", { className: "info-wr-1", children: [
149
149
  /* @__PURE__ */ r("i", { className: "mng mng-lnc-thumbs-up--filled" }),
150
- /* @__PURE__ */ r("span", { children: C(n) })
150
+ /* @__PURE__ */ r("span", { children: C(l) })
151
151
  ] }),
152
152
  /* @__PURE__ */ t("span", { className: "info-wr-1", children: [
153
153
  /* @__PURE__ */ r("i", { className: "mng mng-lnc-messages-filled" }),
@@ -158,50 +158,51 @@ const j = y.div`
158
158
  /* @__PURE__ */ r("div", { className: "text-wr-title", children: a }),
159
159
  /* @__PURE__ */ r("div", { className: "text-wr", children: s })
160
160
  ] }),
161
- /* @__PURE__ */ r("div", { className: "tags-wr", children: g == null ? void 0 : g.map((l, h) => /* @__PURE__ */ r(M, { color: l == null ? void 0 : l.color, children: l == null ? void 0 : l.name }, h)) })
161
+ /* @__PURE__ */ r("div", { className: "tags-wr", children: m == null ? void 0 : m.map((n, f) => /* @__PURE__ */ r(I, { color: n == null ? void 0 : n.color, children: n == null ? void 0 : n.name }, f)) })
162
162
  ] })
163
163
  );
164
- }), _ = N(({}, i) => /* @__PURE__ */ t($, { className: "blog-card", children: [
164
+ }), G = N(({}, i) => /* @__PURE__ */ t(R, { className: "blog-card", children: [
165
165
  /* @__PURE__ */ r("div", { className: "skeleton-img" }),
166
- /* @__PURE__ */ t(D, { children: [
166
+ /* @__PURE__ */ t(O, { children: [
167
167
  /* @__PURE__ */ r("div", { className: "info-wr" }),
168
168
  /* @__PURE__ */ r("div", { className: "skeleton-title" }),
169
169
  /* @__PURE__ */ r("div", { className: "info-wr-skeleton" })
170
170
  ] })
171
- ] })), G = ({ limit: i = 3, isLoading: o = !1, keyPrefix: a }) => /* @__PURE__ */ r(k, { children: Array.from({ length: i }, (d, s) => /* @__PURE__ */ r(
172
- _,
171
+ ] })), q = ({ limit: i = 3, isLoading: o = !1, keyPrefix: a }) => /* @__PURE__ */ r(k, { children: Array.from({ length: i }, (d, s) => /* @__PURE__ */ r(
172
+ G,
173
173
  {
174
174
  isLoading: o
175
175
  },
176
176
  `${a}-skeleton-product-card-${s}`
177
- )) }), q = ({
177
+ )) }), F = ({
178
178
  children: i,
179
179
  fallbackComponent: o = /* @__PURE__ */ r(k, {}),
180
180
  isLoading: a = !1,
181
181
  limit: d,
182
182
  keyPrefix: s
183
- }) => /* @__PURE__ */ r(P, { fallbackComponent: o, children: a === !0 ? /* @__PURE__ */ r(
184
- G,
183
+ }) => /* @__PURE__ */ r(A, { fallbackComponent: o, children: a === !0 ? /* @__PURE__ */ r(
184
+ q,
185
185
  {
186
186
  isLoading: a,
187
187
  limit: d,
188
188
  keyPrefix: s
189
189
  }
190
- ) : i }), S = T(E), x = N((i, o) => {
190
+ ) : i }), S = B(_), ee = N((i, o) => {
191
191
  const {
192
192
  icon: a,
193
193
  title: d,
194
194
  onButtonAction: s,
195
- items: n,
195
+ items: l,
196
196
  buttonText: u,
197
- limit: m = 3,
198
- onSelectCard: c = () => {
197
+ timeToReadText: g,
198
+ limit: c = 3,
199
+ onSelectCard: m = () => {
199
200
  },
200
- isLoading: g = !1,
201
- buttonLink: f,
202
- getImage: p = () => {
201
+ isLoading: h = !1,
202
+ buttonLink: p,
203
+ getImage: n = () => {
203
204
  }
204
- } = i, l = R(), h = B(() => /* @__PURE__ */ r(k, { children: l === !0 ? n == null ? void 0 : n.map((e, b) => /* @__PURE__ */ r(
205
+ } = i, f = D(), $ = L(() => /* @__PURE__ */ r(k, { children: f === !0 ? l == null ? void 0 : l.map((e, b) => /* @__PURE__ */ r(
205
206
  S,
206
207
  {
207
208
  title: e == null ? void 0 : e.title,
@@ -209,58 +210,60 @@ const j = y.div`
209
210
  titleSlug: e == null ? void 0 : e.titleSlug,
210
211
  numberOfLikes: e == null ? void 0 : e.numberOfLikes,
211
212
  numberOfComments: e == null ? void 0 : e.numberOfComments,
212
- datePublished: e == null ? void 0 : e.createdAt,
213
- readDuration: e == null ? void 0 : e.timeToRead,
213
+ publishedAt: e == null ? void 0 : e.publishedAt,
214
+ timeToRead: e == null ? void 0 : e.timeToRead,
215
+ timeToReadText: g,
214
216
  tags: e == null ? void 0 : e.tags,
215
- onCardClick: () => c(e == null ? void 0 : e.titleSlug),
216
- imageUrl: p(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
217
+ onCardClick: () => m(e == null ? void 0 : e.titleSlug),
218
+ imageUrl: n(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
217
219
  },
218
220
  b
219
- )) : n == null ? void 0 : n.slice(0, m).map((e, b) => /* @__PURE__ */ r(
221
+ )) : l == null ? void 0 : l.slice(0, c).map((e, b) => /* @__PURE__ */ r(
220
222
  S,
221
223
  {
222
224
  title: e == null ? void 0 : e.title,
223
- imageUrl: p(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
225
+ imageUrl: n(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
224
226
  text: e == null ? void 0 : e.description,
225
227
  titleSlug: e == null ? void 0 : e.titleSlug,
226
228
  tags: e == null ? void 0 : e.tags,
227
229
  numberOfLikes: e == null ? void 0 : e.numberOfLikes,
228
230
  numberOfComments: e == null ? void 0 : e.numberOfComments,
229
- datePublished: e == null ? void 0 : e.createdAt,
230
- readDuration: e == null ? void 0 : e.timeToRead,
231
- onCardClick: () => c(e == null ? void 0 : e.titleSlug)
231
+ publishedAt: e == null ? void 0 : e.publishedAt,
232
+ timeToRead: e == null ? void 0 : e.timeToRead,
233
+ timeToReadText: g,
234
+ onCardClick: () => m(e == null ? void 0 : e.titleSlug)
232
235
  },
233
236
  b
234
- )) }), [n, l, m, c]);
235
- return /* @__PURE__ */ t(I, { ref: o, children: [
237
+ )) }), [l, f, c, m]);
238
+ return /* @__PURE__ */ t(U, { ref: o, children: [
236
239
  /* @__PURE__ */ t("div", { className: "regular-title", children: [
237
240
  /* @__PURE__ */ t("div", { className: "regular-title-text", children: [
238
241
  w(a) && /* @__PURE__ */ r("i", { className: a }),
239
242
  /* @__PURE__ */ r("span", { children: d })
240
243
  ] }),
241
- w(u) && w(f) && /* @__PURE__ */ r(
242
- U,
244
+ w(u) && w(p) && /* @__PURE__ */ r(
245
+ W,
243
246
  {
244
247
  type: "button",
245
248
  btnType: "tinted",
246
249
  color: "gray",
247
- onClick: () => s(f),
250
+ onClick: () => s(p),
248
251
  borderRadius: "curved",
249
252
  children: u
250
253
  }
251
254
  )
252
255
  ] }),
253
- /* @__PURE__ */ r(j, { limit: m, children: /* @__PURE__ */ r(
254
- q,
256
+ /* @__PURE__ */ r(E, { limit: c, children: /* @__PURE__ */ r(
257
+ F,
255
258
  {
256
- isLoading: g,
257
- limit: m,
259
+ isLoading: h,
260
+ limit: c,
258
261
  keyPrefix: "explore-landing",
259
- children: h
262
+ children: $
260
263
  }
261
264
  ) })
262
265
  ] });
263
266
  });
264
267
  export {
265
- x as default
268
+ ee as default
266
269
  };
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),s=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-CtNoHdBj.cjs"),b=require("./useDetectMobile-D6d5LpdL.cjs"),q=require("./index-Q6GmUkJx.cjs"),C=require("./suspense-large-v60EOiID.cjs"),f=p.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),s=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-CtNoHdBj.cjs"),b=require("./useDetectMobile-D6d5LpdL.cjs"),q=require("./index-C7iutNsj.cjs"),C=require("./suspense-large-Buu1428e.cjs"),f=p.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${l=>`repeat(${l.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,8 +3,8 @@ import { memo as c, forwardRef as f, useMemo as S } from "react";
3
3
  import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as b } from "./consts-C1uHV4xc.js";
5
5
  import { u as B } from "./useDetectMobile-BC6EGaBc.js";
6
- import { B as M } from "./index-bTSzxSNK.js";
7
- import { S as L } from "./suspense-large-CQpNiB26.js";
6
+ import { B as M } from "./index-BpS5mEUu.js";
7
+ import { S as L } from "./suspense-large-iKRJJlJv.js";
8
8
  const h = C.div`
9
9
  display: grid;
10
10
  grid-template-columns: ${(l) => `repeat(${l.limit}, minmax(0, 1fr))`};
@@ -1,12 +1,12 @@
1
- "use strict";const r=require("react/jsx-runtime"),a=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-CtNoHdBj.cjs"),C=require("./useDetectMobile-D6d5LpdL.cjs"),m=require("./utils-BXPz9bck.cjs"),N=require("./style-C571ywKV.cjs"),q=require("./Button.cjs"),x=require("./Link.cjs"),R=require("./index-CAqPGuiA.cjs"),B=p.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),a=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-CtNoHdBj.cjs"),N=require("./useDetectMobile-D6d5LpdL.cjs"),m=require("./utils-DhRHf5Ed.cjs"),x=require("./style-C571ywKV.cjs"),q=require("./Button.cjs"),R=require("./Link.cjs"),M=require("./index-BVaZWq6y.cjs"),B=p.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${t=>`repeat(${t.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
 
6
- @media (max-width: ${j.MOBILE_SIZE_PX+"px"}) {
6
+ @media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
7
7
  grid-template-columns: repeat(1, 1fr);
8
8
  }
9
- `,S=p.styled.div`
9
+ `,y=p.styled.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  width: 100%;
@@ -46,9 +46,9 @@
46
46
  margin-top: auto;
47
47
  }
48
48
 
49
- @media (max-width: ${j.MOBILE_SIZE_PX+"px"}) {
49
+ @media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
50
50
  }
51
- `,y=p.styled.div`
51
+ `,b=p.styled.div`
52
52
  padding: 1rem 1rem 0 1rem;
53
53
  display: flex;
54
54
  flex-direction: column;
@@ -68,4 +68,4 @@
68
68
  color: var(--gray-700, #4e555f);
69
69
  ${m.truncateTextInRows(3)}
70
70
  }
71
- `,M=a.forwardRef((t,o)=>{const{title:i,imageUrl:s,text:l,onCardClick:c,readMoreText:d="Read more"}=t;return r.jsxs(S,{ref:o,className:"blog-card",onClick:c,children:[r.jsx(R.ProductImageWrapper,{src:s}),r.jsxs(y,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:l})]}),r.jsx(x,{className:"action",color:"gray",onClick:c,children:d})]})}),$=a.forwardRef(({},t)=>r.jsxs(S,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(y,{})]})),I=({limit:t=3,isLoading:o=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(s,l)=>r.jsx($,{isLoading:o},`${i}-skeleton-product-card-${l}`))}),P=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:s,keyPrefix:l})=>r.jsx(a.Suspense,{fallbackComponent:o,children:i===!0?r.jsx(I,{isLoading:i,limit:s,keyPrefix:l}):t}),f=a.memo(M),_=a.forwardRef((t,o)=>{const{icon:i,title:s,onButtonAction:l=()=>{},onSelectCard:c=()=>{},buttonLink:d,items:n,buttonText:b,limit:u=3,isLoading:v=!1,getImage:h=()=>{}}=t,w=C.useDetectMobile(),k=a.useMemo(()=>r.jsx(r.Fragment,{children:w===!0?n==null?void 0:n.map((e,g)=>r.jsx(f,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,onCardClick:()=>c(e==null?void 0:e.titleSlug)},g)):n==null?void 0:n.slice(0,u).map((e,g)=>r.jsx(f,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,onCardClick:()=>c(e==null?void 0:e.titleSlug)},g))}),[n]);return r.jsxs(N.RegulatTitleSectionWrapper,{ref:o,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[m.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:s})]}),m.isDefinedNotEmptyString(d)&&r.jsx(q,{type:"button",btnType:"tinted",color:"gray",onClick:()=>l(d),borderRadius:"curved",children:b})]}),r.jsx(B,{limit:u,children:r.jsx(P,{isLoading:v,limit:u,keyPrefix:"explore-landing",children:k})})]})});module.exports=_;
71
+ `,$=a.forwardRef((t,o)=>{const{title:i,imageUrl:s,text:l,onCardClick:c,readMoreText:d="Read more"}=t;return r.jsxs(y,{ref:o,className:"blog-card",onClick:c,children:[r.jsx(M.ProductImageWrapper,{src:s}),r.jsxs(b,{children:[r.jsx("div",{className:"text-wr-title",children:i}),r.jsx("div",{className:"text-wr",children:l})]}),r.jsx(R,{className:"action",color:"gray",onClick:c,children:d})]})}),I=a.forwardRef(({},t)=>r.jsxs(y,{className:"product-card",children:[r.jsx("div",{className:"skeleton-img"}),r.jsx("div",{className:"card-title"}),r.jsx(b,{})]})),P=({limit:t=3,isLoading:o=!1,keyPrefix:i})=>r.jsx(r.Fragment,{children:Array.from({length:t},(s,l)=>r.jsx(I,{isLoading:o},`${i}-skeleton-product-card-${l}`))}),T=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:i=!1,limit:s,keyPrefix:l})=>r.jsx(a.Suspense,{fallbackComponent:o,children:i===!0?r.jsx(P,{isLoading:i,limit:s,keyPrefix:l}):t}),j=a.memo($),_=a.forwardRef((t,o)=>{const{icon:i,title:s,onButtonAction:l=()=>{},onSelectCard:c=()=>{},buttonLink:d,items:n,buttonText:v,limit:u=3,isLoading:w=!1,getImage:h=()=>{},readMoreText:f="Read more"}=t,k=N.useDetectMobile(),C=a.useMemo(()=>r.jsx(r.Fragment,{children:k===!0?n==null?void 0:n.map((e,g)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>c(e==null?void 0:e.titleSlug)},g)):n==null?void 0:n.slice(0,u).map((e,g)=>r.jsx(j,{title:e==null?void 0:e.title,imageUrl:h(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,readMoreText:f,onCardClick:()=>c(e==null?void 0:e.titleSlug)},g))}),[n]);return r.jsxs(x.RegulatTitleSectionWrapper,{ref:o,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[m.isDefinedNotEmptyString(i)&&r.jsx("i",{className:i}),r.jsx("span",{children:s})]}),m.isDefinedNotEmptyString(d)&&r.jsx(q,{type:"button",btnType:"tinted",color:"gray",onClick:()=>l(d),borderRadius:"curved",children:v})]}),r.jsx(B,{limit:u,children:r.jsx(T,{isLoading:w,limit:u,keyPrefix:"explore-landing",children:C})})]})});module.exports=_;
@@ -1,22 +1,22 @@
1
1
  import { jsxs as m, jsx as r, Fragment as g } from "react/jsx-runtime";
2
- import { forwardRef as u, Suspense as B, memo as M, useMemo as P } from "react";
2
+ import { forwardRef as u, Suspense as B, memo as P, useMemo as R } from "react";
3
3
  import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as b } from "./consts-C1uHV4xc.js";
5
- import { u as R } from "./useDetectMobile-BC6EGaBc.js";
6
- import { m as T, t as I, k as v } from "./utils-DCs-SbIv.js";
7
- import { R as U } from "./style-CsMpu4iC.js";
8
- import W from "./Button.js";
9
- import z from "./Link.js";
10
- import { P as j } from "./index-BLxkXrqU.js";
11
- const A = h.div`
4
+ import { M as k } from "./consts-C1uHV4xc.js";
5
+ import { u as T } from "./useDetectMobile-BC6EGaBc.js";
6
+ import { m as I, t as U, k as S } from "./utils-BE-UlkKf.js";
7
+ import { R as W } from "./style-CsMpu4iC.js";
8
+ import z from "./Button.js";
9
+ import j from "./Link.js";
10
+ import { P as A } from "./index-Ca38iPjf.js";
11
+ const E = h.div`
12
12
  display: grid;
13
13
  grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
14
14
  gap: 1.25rem;
15
15
 
16
- @media (max-width: ${b + "px"}) {
16
+ @media (max-width: ${k + "px"}) {
17
17
  grid-template-columns: repeat(1, 1fr);
18
18
  }
19
- `, k = h.div`
19
+ `, w = h.div`
20
20
  display: flex;
21
21
  flex-direction: column;
22
22
  width: 100%;
@@ -48,7 +48,7 @@ const A = h.div`
48
48
  width: 100%;
49
49
  max-height: 12.5625rem;
50
50
  min-height: 12.5625rem;
51
- background-color: ${T("-90deg")};
51
+ background-color: ${I("-90deg")};
52
52
  }
53
53
 
54
54
  & .action {
@@ -56,9 +56,9 @@ const A = h.div`
56
56
  margin-top: auto;
57
57
  }
58
58
 
59
- @media (max-width: ${b + "px"}) {
59
+ @media (max-width: ${k + "px"}) {
60
60
  }
61
- `, w = h.div`
61
+ `, y = h.div`
62
62
  padding: 1rem 1rem 0 1rem;
63
63
  display: flex;
64
64
  flex-direction: column;
@@ -76,45 +76,45 @@ const A = h.div`
76
76
  font-size: 0.875rem;
77
77
  flex: 1;
78
78
  color: var(--gray-700, #4e555f);
79
- ${I(3)}
79
+ ${U(3)}
80
80
  }
81
- `, E = u((t, o) => {
81
+ `, L = u((t, o) => {
82
82
  const { title: i, imageUrl: n, text: l, onCardClick: d, readMoreText: c = "Read more" } = t;
83
- return /* @__PURE__ */ m(k, { ref: o, className: "blog-card", onClick: d, children: [
84
- /* @__PURE__ */ r(j, { src: n }),
85
- /* @__PURE__ */ m(w, { children: [
83
+ return /* @__PURE__ */ m(w, { ref: o, className: "blog-card", onClick: d, children: [
84
+ /* @__PURE__ */ r(A, { src: n }),
85
+ /* @__PURE__ */ m(y, { children: [
86
86
  /* @__PURE__ */ r("div", { className: "text-wr-title", children: i }),
87
87
  /* @__PURE__ */ r("div", { className: "text-wr", children: l })
88
88
  ] }),
89
- /* @__PURE__ */ r(z, { className: "action", color: "gray", onClick: d, children: c })
89
+ /* @__PURE__ */ r(j, { className: "action", color: "gray", onClick: d, children: c })
90
90
  ] });
91
- }), L = u(({}, t) => (
91
+ }), _ = u(({}, t) => (
92
92
  // <LandingPageClearProductCardSkeleton />
93
- /* @__PURE__ */ m(k, { className: "product-card", children: [
93
+ /* @__PURE__ */ m(w, { className: "product-card", children: [
94
94
  /* @__PURE__ */ r("div", { className: "skeleton-img" }),
95
95
  /* @__PURE__ */ r("div", { className: "card-title" }),
96
- /* @__PURE__ */ r(w, {})
96
+ /* @__PURE__ */ r(y, {})
97
97
  ] })
98
- )), _ = ({ limit: t = 3, isLoading: o = !1, keyPrefix: i }) => /* @__PURE__ */ r(g, { children: Array.from({ length: t }, (n, l) => /* @__PURE__ */ r(
99
- L,
98
+ )), D = ({ limit: t = 3, isLoading: o = !1, keyPrefix: i }) => /* @__PURE__ */ r(g, { children: Array.from({ length: t }, (n, l) => /* @__PURE__ */ r(
99
+ _,
100
100
  {
101
101
  isLoading: o
102
102
  },
103
103
  `${i}-skeleton-product-card-${l}`
104
- )) }), D = ({
104
+ )) }), G = ({
105
105
  children: t,
106
106
  fallbackComponent: o = /* @__PURE__ */ r(g, {}),
107
107
  isLoading: i = !1,
108
108
  limit: n,
109
109
  keyPrefix: l
110
110
  }) => /* @__PURE__ */ r(B, { fallbackComponent: o, children: i === !0 ? /* @__PURE__ */ r(
111
- _,
111
+ D,
112
112
  {
113
113
  isLoading: i,
114
114
  limit: n,
115
115
  keyPrefix: l
116
116
  }
117
- ) : t }), S = M(E), V = u((t, o) => {
117
+ ) : t }), b = P(L), Y = u((t, o) => {
118
118
  const {
119
119
  icon: i,
120
120
  title: n,
@@ -124,54 +124,57 @@ const A = h.div`
124
124
  },
125
125
  buttonLink: c,
126
126
  items: a,
127
- buttonText: y,
127
+ buttonText: C,
128
128
  limit: s = 3,
129
- isLoading: C = !1,
129
+ isLoading: N = !1,
130
130
  getImage: f = () => {
131
- }
132
- } = t, N = R(), $ = P(() => /* @__PURE__ */ r(g, { children: N === !0 ? a == null ? void 0 : a.map((e, p) => /* @__PURE__ */ r(
133
- S,
131
+ },
132
+ readMoreText: v = "Read more"
133
+ } = t, M = T(), $ = R(() => /* @__PURE__ */ r(g, { children: M === !0 ? a == null ? void 0 : a.map((e, p) => /* @__PURE__ */ r(
134
+ b,
134
135
  {
135
136
  title: e == null ? void 0 : e.title,
136
137
  imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
137
138
  text: e == null ? void 0 : e.description,
138
139
  titleSlug: e == null ? void 0 : e.titleSlug,
140
+ readMoreText: v,
139
141
  onCardClick: () => d(e == null ? void 0 : e.titleSlug)
140
142
  },
141
143
  p
142
144
  )) : a == null ? void 0 : a.slice(0, s).map((e, p) => /* @__PURE__ */ r(
143
- S,
145
+ b,
144
146
  {
145
147
  title: e == null ? void 0 : e.title,
146
148
  imageUrl: f(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
147
149
  text: e == null ? void 0 : e.description,
148
150
  titleSlug: e == null ? void 0 : e.titleSlug,
151
+ readMoreText: v,
149
152
  onCardClick: () => d(e == null ? void 0 : e.titleSlug)
150
153
  },
151
154
  p
152
155
  )) }), [a]);
153
- return /* @__PURE__ */ m(U, { ref: o, children: [
156
+ return /* @__PURE__ */ m(W, { ref: o, children: [
154
157
  /* @__PURE__ */ m("div", { className: "regular-title", children: [
155
158
  /* @__PURE__ */ m("div", { className: "regular-title-text", children: [
156
- v(i) && /* @__PURE__ */ r("i", { className: i }),
159
+ S(i) && /* @__PURE__ */ r("i", { className: i }),
157
160
  /* @__PURE__ */ r("span", { children: n })
158
161
  ] }),
159
- v(c) && /* @__PURE__ */ r(
160
- W,
162
+ S(c) && /* @__PURE__ */ r(
163
+ z,
161
164
  {
162
165
  type: "button",
163
166
  btnType: "tinted",
164
167
  color: "gray",
165
168
  onClick: () => l(c),
166
169
  borderRadius: "curved",
167
- children: y
170
+ children: C
168
171
  }
169
172
  )
170
173
  ] }),
171
- /* @__PURE__ */ r(A, { limit: s, children: /* @__PURE__ */ r(
172
- D,
174
+ /* @__PURE__ */ r(E, { limit: s, children: /* @__PURE__ */ r(
175
+ G,
173
176
  {
174
- isLoading: C,
177
+ isLoading: N,
175
178
  limit: s,
176
179
  keyPrefix: "explore-landing",
177
180
  children: $
@@ -180,5 +183,5 @@ const A = h.div`
180
183
  ] });
181
184
  });
182
185
  export {
183
- V as default
186
+ Y as default
184
187
  };
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./consts-CtNoHdBj.cjs"),x=require("./useDetectMobile-D6d5LpdL.cjs"),m=require("./utils-BXPz9bck.cjs"),w=require("./Button.cjs"),b=require("./index-CAqPGuiA.cjs"),j=u.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./consts-CtNoHdBj.cjs"),x=require("./useDetectMobile-D6d5LpdL.cjs"),m=require("./utils-DhRHf5Ed.cjs"),w=require("./Button.cjs"),b=require("./index-BVaZWq6y.cjs"),j=u.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,9 +3,9 @@ import { forwardRef as p, Suspense as k } from "react";
3
3
  import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as h } from "./consts-C1uHV4xc.js";
5
5
  import { u as C } from "./useDetectMobile-BC6EGaBc.js";
6
- import { m as f, t as v } from "./utils-DCs-SbIv.js";
6
+ import { m as f, t as v } from "./utils-BE-UlkKf.js";
7
7
  import y from "./Button.js";
8
- import { P as S } from "./index-BLxkXrqU.js";
8
+ import { P as S } from "./index-Ca38iPjf.js";
9
9
  const $ = g.div`
10
10
  display: grid;
11
11
  grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),d=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-CtNoHdBj.cjs"),N=require("./useDetectMobile-D6d5LpdL.cjs"),a=require("./utils-BXPz9bck.cjs"),q=require("./style-C571ywKV.cjs"),$=require("./Button.cjs"),T=require("./Link.cjs"),B=require("./index-CAqPGuiA.cjs"),M=require("./index-ryadTWiS.cjs"),R=h.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),c=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-CtNoHdBj.cjs"),q=require("./useDetectMobile-D6d5LpdL.cjs"),a=require("./utils-DhRHf5Ed.cjs"),$=require("./style-C571ywKV.cjs"),T=require("./Button.cjs"),B=require("./Link.cjs"),M=require("./index-BVaZWq6y.cjs"),R=require("./index-rYeYJwuL.cjs"),W=h.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -20,6 +20,10 @@
20
20
  min-height: 10.375rem;
21
21
  max-height: 10.375rem;
22
22
 
23
+ &:hover {
24
+ cursor: pointer;
25
+ }
26
+
23
27
  & img {
24
28
  max-width: 3.3125rem;
25
29
  min-width: 3.3125rem;
@@ -73,4 +77,4 @@
73
77
  color: var(--gray-700, #4e555f);
74
78
  ${a.truncateTextInRows(3)}
75
79
  }
76
- `,W=d.forwardRef((i,o)=>{const{title:n,imageUrl:l,text:r,buttonText:m,onCardClick:s}=i;return e.jsxs(w,{ref:o,className:"blog-card",onClick:s,children:[e.jsxs(k,{children:[e.jsx("div",{className:"text-wr-title",children:n}),e.jsx("div",{className:"text-wr",children:r}),e.jsx(T,{color:"gray",onClick:s,children:m})]}),e.jsx(B.ProductImageWrapper,{src:l})]})}),I=d.forwardRef(({},i)=>e.jsxs(w,{className:"blog-card",children:[e.jsxs(k,{children:[e.jsx("div",{className:"skeleton-title"}),e.jsx("div",{className:"text-wr"}),e.jsx("div",{className:"skeleton-action"})]}),e.jsx("div",{className:"skeleton-img"})]})),P=({limit:i=3,isLoading:o=!1,keyPrefix:n})=>e.jsx(e.Fragment,{children:Array.from({length:i},(l,r)=>e.jsx(I,{isLoading:o},`${n}-skeleton-product-card-${r}`))}),_=({children:i,fallbackComponent:o=e.jsx(e.Fragment,{}),isLoading:n=!1,limit:l,keyPrefix:r})=>e.jsx(d.Suspense,{fallbackComponent:o,children:n===!0?e.jsx(P,{isLoading:n,limit:l,keyPrefix:r}):i}),b=d.memo(W),z=d.forwardRef((i,o)=>{const{icon:n,title:l,items:r,buttonText:m,limit:s=3,options:c,selectedOption:y=[],onButtonAction:v=()=>{},buttonLink:p,onSelectOption:x=()=>{},isLoading:S=!1,onSelectCard:u=()=>{}}=i,j=N.useDetectMobile(),C=d.useMemo(()=>e.jsx(e.Fragment,{children:j===!0?r==null?void 0:r.map((t,g)=>e.jsx(b,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>u(t)},g)):r==null?void 0:r.slice(0,s).map((t,g)=>e.jsx(b,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>u(t)},g))}),[r,j,s,u]);return e.jsxs(q.TitleWithOptionsSectionWrapper,{ref:o,children:[e.jsxs("div",{className:"regular-title",children:[e.jsxs("div",{className:"regular-title-text",children:[a.isDefinedNotEmptyString(n)&&e.jsx("i",{className:n}),e.jsx("span",{children:l})]}),a.isDefinedNotEmptyString(p)&&e.jsx($,{type:"button",btnType:"tinted",color:"gray",onClick:()=>v(p),borderRadius:"curved",children:m})]}),(c==null?void 0:c.length)>0&&e.jsx(M.SelectBar,{items:c,selectedIds:y,onRemove:t=>{x(t)},onSelect:t=>{x(t)},labelKey:"name",valueKey:"code",noMargin:!0}),e.jsx(R,{limit:s,children:e.jsx(_,{isLoading:S,limit:s,keyPrefix:"explore-landing",children:C})})]})});module.exports=z;
80
+ `,I=c.forwardRef((i,o)=>{const{title:n,imageUrl:l,text:r,buttonText:m,onCardClick:s}=i;return e.jsxs(w,{ref:o,className:"blog-card",onClick:s,children:[e.jsxs(k,{children:[e.jsx("div",{className:"text-wr-title",children:n}),e.jsx("div",{className:"text-wr",children:r}),e.jsx(B,{color:"gray",onClick:s,children:m})]}),e.jsx(M.ProductImageWrapper,{src:l})]})}),P=c.forwardRef(({},i)=>e.jsxs(w,{className:"blog-card",children:[e.jsxs(k,{children:[e.jsx("div",{className:"skeleton-title"}),e.jsx("div",{className:"text-wr"}),e.jsx("div",{className:"skeleton-action"})]}),e.jsx("div",{className:"skeleton-img"})]})),_=({limit:i=3,isLoading:o=!1,keyPrefix:n})=>e.jsx(e.Fragment,{children:Array.from({length:i},(l,r)=>e.jsx(P,{isLoading:o},`${n}-skeleton-product-card-${r}`))}),z=({children:i,fallbackComponent:o=e.jsx(e.Fragment,{}),isLoading:n=!1,limit:l,keyPrefix:r})=>e.jsx(c.Suspense,{fallbackComponent:o,children:n===!0?e.jsx(_,{isLoading:n,limit:l,keyPrefix:r}):i}),b=c.memo(I),A=c.forwardRef((i,o)=>{const{icon:n,title:l,items:r,buttonText:m,limit:s=3,options:d,selectedOption:v=[],onButtonAction:y=()=>{},buttonLink:p,onSelectOption:x=()=>{},onSelectAll:S=()=>{},isLoading:C=!1,onSelectCard:u=()=>{}}=i,j=q.useDetectMobile(),N=c.useMemo(()=>e.jsx(e.Fragment,{children:j===!0?r==null?void 0:r.map((t,g)=>e.jsx(b,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>u(t)},g)):r==null?void 0:r.slice(0,s).map((t,g)=>e.jsx(b,{title:t==null?void 0:t.title,imageUrl:(t==null?void 0:t.image)||null,text:t==null?void 0:t.text,buttonText:t==null?void 0:t.buttonText,onCardClick:()=>u(t)},g))}),[r,j,s,u]);return e.jsxs($.TitleWithOptionsSectionWrapper,{ref:o,children:[e.jsxs("div",{className:"regular-title",children:[e.jsxs("div",{className:"regular-title-text",children:[a.isDefinedNotEmptyString(n)&&e.jsx("i",{className:n}),e.jsx("span",{children:l})]}),a.isDefinedNotEmptyString(p)&&e.jsx(T,{type:"button",btnType:"tinted",color:"gray",onClick:()=>y(p),borderRadius:"curved",children:m})]}),(d==null?void 0:d.length)>0&&e.jsx(R.SelectBar,{items:d,selectedIds:v,onRemove:t=>{x(t)},onSelect:t=>{x(t)},onSelectAll:S,labelKey:"name",valueKey:"code",noMargin:!0}),e.jsx(W,{limit:s,children:e.jsx(z,{isLoading:C,limit:s,keyPrefix:"explore-landing",children:N})})]})});module.exports=A;