@lanaco/lnc-react-ui 4.0.226 → 4.0.228

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 (267) 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/BannerNextSection.cjs +1 -1
  14. package/dist/BannerNextSection.js +1 -1
  15. package/dist/BannerSectionCarousel.cjs +3 -3
  16. package/dist/BannerSectionCarousel.js +19 -12
  17. package/dist/BannerSectionSimple.cjs +1 -1
  18. package/dist/BannerSectionSimple.js +1 -1
  19. package/dist/BannerSectionWithList.cjs +1 -1
  20. package/dist/BannerSectionWithList.js +1 -1
  21. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  22. package/dist/BlogCardsSponsoredSection.js +4 -4
  23. package/dist/BlogCategoryCardsSection.cjs +1 -1
  24. package/dist/BlogCategoryCardsSection.js +1 -1
  25. package/dist/BlogExploreSection.cjs +1 -1
  26. package/dist/BlogExploreSection.js +2 -2
  27. package/dist/BlogListSection.cjs +7 -7
  28. package/dist/BlogListSection.js +157 -207
  29. package/dist/BlogProductCardsSection.cjs +1 -1
  30. package/dist/BlogProductCardsSection.js +1 -1
  31. package/dist/BlogShopCardsSection.cjs +1 -1
  32. package/dist/BlogShopCardsSection.js +1 -1
  33. package/dist/BlogSingleSection.cjs +2 -11
  34. package/dist/BlogSingleSection.js +20 -36
  35. package/dist/BlogsSectionDetailed.cjs +1 -1
  36. package/dist/BlogsSectionDetailed.js +4 -4
  37. package/dist/BlogsSectionLarge.cjs +8 -16
  38. package/dist/BlogsSectionLarge.js +41 -59
  39. package/dist/BlogsSectionSimple.cjs +1 -1
  40. package/dist/BlogsSectionSimple.js +4 -4
  41. package/dist/BlogsSectionSimpleCentered.cjs +12 -25
  42. package/dist/BlogsSectionSimpleCentered.js +64 -98
  43. package/dist/BlogsSectionWithFilters.cjs +10 -21
  44. package/dist/BlogsSectionWithFilters.js +106 -154
  45. package/dist/BrandHitsSection.cjs +7 -7
  46. package/dist/BrandHitsSection.js +41 -87
  47. package/dist/Breadcrumbs.cjs +1 -1
  48. package/dist/Breadcrumbs.js +1 -1
  49. package/dist/Button.cjs +1 -1
  50. package/dist/Button.js +1 -1
  51. package/dist/ButtonGroup.cjs +1 -1
  52. package/dist/ButtonGroup.js +1 -1
  53. package/dist/CalorieCalculatorSection.cjs +1 -1
  54. package/dist/CalorieCalculatorSection.js +1 -1
  55. package/dist/{CategorySimpleCard-TJRJ_2Sb.js → CategorySimpleCard-BE6F0PFT.js} +1 -1
  56. package/dist/{CategorySimpleCard-lIdzBNDa.cjs → CategorySimpleCard-Dr1FxIY9.cjs} +1 -1
  57. package/dist/CheckBoxInput.cjs +1 -1
  58. package/dist/CheckBoxInput.js +1 -1
  59. package/dist/Chip.cjs +1 -1
  60. package/dist/Chip.js +1 -1
  61. package/dist/ColorInput.cjs +1 -1
  62. package/dist/ColorInput.js +1 -1
  63. package/dist/ConfirmationForm.cjs +1 -1
  64. package/dist/ConfirmationForm.js +1 -1
  65. package/dist/CustomLoanMapSection.cjs +1 -1
  66. package/dist/CustomLoanMapSection.js +1 -1
  67. package/dist/{CustomStyles-B6uutenq.js → CustomStyles-YyM49BGx.js} +1 -1
  68. package/dist/{CustomStyles-dJQPJ4s4.cjs → CustomStyles-lzAjVMnI.cjs} +1 -1
  69. package/dist/DateInput.cjs +1 -1
  70. package/dist/DateInput.js +1 -1
  71. package/dist/DecimalInput.cjs +1 -1
  72. package/dist/DecimalInput.js +1 -1
  73. package/dist/DecimalInputV2.cjs +1 -1
  74. package/dist/DecimalInputV2.js +1 -1
  75. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  76. package/dist/DetailedProductsInfinitiveSection.js +4 -4
  77. package/dist/DetailedProductsSection.cjs +1 -1
  78. package/dist/DetailedProductsSection.js +5 -5
  79. package/dist/DetailsView.cjs +1 -1
  80. package/dist/DetailsView.js +1 -1
  81. package/dist/DoubleRangeSlider.cjs +1 -1
  82. package/dist/DoubleRangeSlider.js +1 -1
  83. package/dist/DragAndDropFile.cjs +1 -1
  84. package/dist/DragAndDropFile.js +1 -1
  85. package/dist/DragDropFiles.cjs +1 -1
  86. package/dist/DragDropFiles.js +1 -1
  87. package/dist/Drawer.cjs +1 -1
  88. package/dist/Drawer.js +1 -1
  89. package/dist/Dropdown.cjs +1 -1
  90. package/dist/Dropdown.js +2 -2
  91. package/dist/DropdownItem.cjs +1 -1
  92. package/dist/DropdownItem.js +1 -1
  93. package/dist/DropdownLookup.cjs +1 -1
  94. package/dist/DropdownLookup.js +1 -1
  95. package/dist/DropdownMenu.cjs +1 -1
  96. package/dist/DropdownMenu.js +1 -1
  97. package/dist/EditableTable.cjs +1 -1
  98. package/dist/EditableTable.js +1 -1
  99. package/dist/FeedbackSection.cjs +1 -1
  100. package/dist/FeedbackSection.js +1 -1
  101. package/dist/FieldOfInterestsMasonrySection.cjs +13 -13
  102. package/dist/FieldOfInterestsMasonrySection.js +105 -159
  103. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
  104. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +93 -124
  105. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  106. package/dist/FieldOfInterestsWithTagsCardsSection.js +2 -2
  107. package/dist/FileInput.cjs +1 -1
  108. package/dist/FileInput.js +1 -1
  109. package/dist/FlexGridItem.cjs +1 -1
  110. package/dist/FlexGridItem.js +1 -1
  111. package/dist/FormField.cjs +1 -1
  112. package/dist/FormField.js +1 -1
  113. package/dist/FormView.cjs +1 -1
  114. package/dist/FormView.js +1 -1
  115. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  116. package/dist/GeneralWithTagsCardsSection.js +2 -2
  117. package/dist/GiftCardsSection.cjs +10 -14
  118. package/dist/GiftCardsSection.js +77 -147
  119. package/dist/Icon.cjs +1 -1
  120. package/dist/Icon.js +1 -1
  121. package/dist/IconButton.cjs +1 -1
  122. package/dist/IconButton.js +1 -1
  123. package/dist/Kanban.cjs +1 -1
  124. package/dist/Kanban.js +1 -1
  125. package/dist/KanbanActionsToolbar.cjs +1 -1
  126. package/dist/KanbanActionsToolbar.js +1 -1
  127. package/dist/KanbanView.cjs +1 -1
  128. package/dist/KanbanView.js +1 -1
  129. package/dist/Link.cjs +1 -1
  130. package/dist/Link.js +1 -1
  131. package/dist/LoanCalculatorSection.cjs +1 -1
  132. package/dist/LoanCalculatorSection.js +1 -1
  133. package/dist/LocationFinderSection.cjs +1 -1
  134. package/dist/LocationFinderSection.js +1 -1
  135. package/dist/LocationSearchSection.cjs +1 -1
  136. package/dist/LocationSearchSection.js +1 -1
  137. package/dist/MasonryGeneralCardsSection.cjs +10 -10
  138. package/dist/MasonryGeneralCardsSection.js +45 -44
  139. package/dist/MenuItem.cjs +1 -1
  140. package/dist/MenuItem.js +1 -1
  141. package/dist/Modal.cjs +1 -1
  142. package/dist/Modal.js +1 -1
  143. package/dist/MultiSelectDropdown.cjs +1 -1
  144. package/dist/MultiSelectDropdown.js +1 -1
  145. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  146. package/dist/MultiSelectDropdownLookup.js +1 -1
  147. package/dist/NestedDropdownItem.cjs +1 -1
  148. package/dist/NestedDropdownItem.js +1 -1
  149. package/dist/NestedMenuItem.cjs +1 -1
  150. package/dist/NestedMenuItem.js +1 -1
  151. package/dist/NotificationContainer.cjs +1 -1
  152. package/dist/NotificationContainer.js +1 -1
  153. package/dist/NotificationMessage.cjs +1 -1
  154. package/dist/NotificationMessage.js +1 -1
  155. package/dist/NumberInput.cjs +1 -1
  156. package/dist/NumberInput.js +1 -1
  157. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  158. package/dist/OverlayGeneralCardsSection.js +1 -1
  159. package/dist/PartnerBrandsSection.cjs +1 -1
  160. package/dist/PartnerBrandsSection.js +1 -1
  161. package/dist/PartnerCardsSection.cjs +1 -1
  162. package/dist/PartnerCardsSection.js +1 -1
  163. package/dist/PartnerStatsSection.cjs +1 -1
  164. package/dist/PartnerStatsSection.js +1 -1
  165. package/dist/PasswordInput.cjs +1 -1
  166. package/dist/PasswordInput.js +1 -1
  167. package/dist/PopoverContent.cjs +1 -1
  168. package/dist/PopoverContent.js +1 -1
  169. package/dist/ProductsWithBannerSection.cjs +13 -13
  170. package/dist/ProductsWithBannerSection.js +87 -168
  171. package/dist/ProgressBar.cjs +1 -1
  172. package/dist/ProgressBar.js +1 -1
  173. package/dist/QuattroCardsSection.cjs +1 -1
  174. package/dist/QuattroCardsSection.js +2 -2
  175. package/dist/QuizSection.cjs +1 -1
  176. package/dist/QuizSection.js +1 -1
  177. package/dist/RadioInput.cjs +1 -1
  178. package/dist/RadioInput.js +1 -1
  179. package/dist/RangeSlider.cjs +1 -1
  180. package/dist/RangeSlider.js +1 -1
  181. package/dist/ReviewsSection.cjs +18 -22
  182. package/dist/ReviewsSection.js +101 -163
  183. package/dist/SalesCampaignsSection.cjs +25 -25
  184. package/dist/SalesCampaignsSection.js +267 -306
  185. package/dist/Separator.cjs +1 -1
  186. package/dist/Separator.js +1 -1
  187. package/dist/ShopCardsSection.cjs +6 -19
  188. package/dist/ShopCardsSection.js +56 -102
  189. package/dist/Sidebar.cjs +1 -1
  190. package/dist/Sidebar.js +1 -1
  191. package/dist/SimpleCategoriesSection.cjs +3 -3
  192. package/dist/SimpleCategoriesSection.js +65 -68
  193. package/dist/SimpleProductsSection.cjs +7 -7
  194. package/dist/SimpleProductsSection.js +65 -138
  195. package/dist/Spinner.cjs +1 -1
  196. package/dist/Spinner.js +1 -1
  197. package/dist/StatsSection.cjs +1 -1
  198. package/dist/StatsSection.js +1 -1
  199. package/dist/Surface.cjs +1 -1
  200. package/dist/Surface.js +1 -1
  201. package/dist/SwipeableDrawer.cjs +1 -1
  202. package/dist/SwipeableDrawer.js +1 -1
  203. package/dist/TabItem.cjs +1 -1
  204. package/dist/TabItem.js +1 -1
  205. package/dist/Table.cjs +1 -1
  206. package/dist/Table.js +1 -1
  207. package/dist/TableView.cjs +1 -1
  208. package/dist/TableView.js +1 -1
  209. package/dist/TextAreaInput.cjs +1 -1
  210. package/dist/TextAreaInput.js +1 -1
  211. package/dist/TextInput.cjs +1 -1
  212. package/dist/TextInput.js +1 -1
  213. package/dist/ThemeProvider.cjs +1 -1
  214. package/dist/ThemeProvider.js +1 -1
  215. package/dist/TimeInput.cjs +1 -1
  216. package/dist/TimeInput.js +1 -1
  217. package/dist/Toggle.cjs +1 -1
  218. package/dist/Toggle.js +1 -1
  219. package/dist/TreeMenuSeparator.cjs +1 -1
  220. package/dist/TreeMenuSeparator.js +1 -1
  221. package/dist/UploadedFile.cjs +1 -1
  222. package/dist/UploadedFile.js +1 -1
  223. package/dist/UrgentSaleProductsSection.cjs +1 -1
  224. package/dist/UrgentSaleProductsSection.js +1 -1
  225. package/dist/index-B7fBsitY.js +45 -0
  226. package/dist/{index-BkztbBWe.cjs → index-B96icAp4.cjs} +1 -1
  227. package/dist/index-BMAvJQBG.cjs +9 -0
  228. package/dist/index-BUdvfHpp.cjs +5 -0
  229. package/dist/{index-tdg_Vmed.cjs → index-BXkL0HmX.cjs} +1 -1
  230. package/dist/index-C6amCwRZ.js +25 -0
  231. package/dist/index-C8R9lsWG.cjs +1 -0
  232. package/dist/{index-Djo0ZcRE.js → index-CCwfh-7A.js} +1 -1
  233. package/dist/{index-jGcy-5M_.js → index-CNUuIL97.js} +2 -2
  234. package/dist/index-CeQvy566.cjs +11 -0
  235. package/dist/{index-DsINTjQk.cjs → index-ChHUGfjn.cjs} +1 -1
  236. package/dist/index-Cyt4EUZ6.js +20 -0
  237. package/dist/{index-DEypPQRI.js → index-D6_3Q8lN.js} +1 -1
  238. package/dist/{index-D4-_TrSn.cjs → index-DnbzopIv.cjs} +1 -1
  239. package/dist/{index-rhYVjszT.js → index-DtVJCOWc.js} +2 -2
  240. package/dist/index-DueyY06i.cjs +368 -0
  241. package/dist/{index-D4OKsSqi.cjs → index-HzW6OHFF.cjs} +1 -1
  242. package/dist/{index-3GKF_7BJ.cjs → index-RrqW9QBJ.cjs} +1 -1
  243. package/dist/index-VTkAaA-n.js +18 -0
  244. package/dist/{index-CM6vzQBx.js → index-eOeAkUSU.js} +1 -1
  245. package/dist/{index-Dx2hfxCG.js → index-gHaK62BZ.js} +2 -2
  246. package/dist/index-zIt6TVeg.js +753 -0
  247. package/dist/index.cjs +1 -1
  248. package/dist/index.js +2 -2
  249. package/dist/style-BFPpppS9.js +73 -0
  250. package/dist/{style-D54KOzZj.js → style-CP_urKvc.js} +1 -1
  251. package/dist/style-CQdEALKR.cjs +59 -0
  252. package/dist/{style-Boz6dk5s.cjs → style-cJUZrJoG.cjs} +1 -1
  253. package/dist/{utils-CITgSxXe.cjs → utils-BK6B_Y9X.cjs} +2 -2
  254. package/dist/{utils-MoGhNMmj.js → utils-BUdHa0nB.js} +16 -23
  255. package/package.json +1 -1
  256. package/dist/index-BGNavrtB.cjs +0 -368
  257. package/dist/index-BHcrzV2G.js +0 -54
  258. package/dist/index-Bj1KWOV4.cjs +0 -11
  259. package/dist/index-BsAddfgC.cjs +0 -1
  260. package/dist/index-Cn4bq6ZX.js +0 -84
  261. package/dist/index-CuRcxKQH.js +0 -42
  262. package/dist/index-DB1J-G6Z.js +0 -38
  263. package/dist/index-DkPva6Gr.cjs +0 -20
  264. package/dist/index-fzBXDy05.cjs +0 -16
  265. package/dist/index-gFZSZLba.js +0 -882
  266. package/dist/style-DvkivBNg.js +0 -74
  267. package/dist/style-Ito6YFqi.cjs +0 -64
@@ -1,14 +1,14 @@
1
- import { jsxs as t, jsx as e, Fragment as y } from "react/jsx-runtime";
2
- import { forwardRef as W, useRef as A, cloneElement as E, Suspense as M, memo as D, useMemo as F } from "react";
3
- import L from "./Icon.js";
4
- import v from "./IconButton.js";
5
- import { n as H, q as J, s as K, v as P, m as Q } from "./utils-MoGhNMmj.js";
6
- import { P as V } from "./index-DEypPQRI.js";
7
- import { B as X } from "./style-D54KOzZj.js";
8
- import { s as T } from "./emotion-styled.browser.esm-DfbrHHed.js";
1
+ import { jsxs as n, jsx as i, Fragment as b } from "react/jsx-runtime";
2
+ import { forwardRef as L, useRef as W, cloneElement as E, Suspense as M, memo as q, useMemo as D } from "react";
3
+ import z from "./Icon.js";
4
+ import _ from "./IconButton.js";
5
+ import { n as F, q as G, s as H, v as I, m as J } from "./utils-BUdHa0nB.js";
6
+ import { P as K } from "./index-D6_3Q8lN.js";
7
+ import { B as Q } from "./style-CP_urKvc.js";
8
+ import { s as S } from "./emotion-styled.browser.esm-DfbrHHed.js";
9
9
  import { d as O } from "./breakpoints-BubDitvo.js";
10
- import { b as c, S as l, c as f, a as n } from "./style-DvkivBNg.js";
11
- const Y = T.a`
10
+ import { b as V, c as P, a as c, e as X } from "./style-BFPpppS9.js";
11
+ const Y = S.a`
12
12
  text-decoration: none;
13
13
  color: var(--gray-950);
14
14
  display: flex;
@@ -77,7 +77,7 @@ const Y = T.a`
77
77
  font-weight: 600;
78
78
  line-height: 1.5rem;
79
79
  letter-spacing: 0.1px;
80
- ${H(3)}
80
+ ${F(3)}
81
81
  }
82
82
 
83
83
  & .wrapper__tags {
@@ -178,62 +178,62 @@ const Y = T.a`
178
178
  }
179
179
  }
180
180
  }
181
- `, Z = W(
181
+ `, Z = L(
182
182
  ({
183
- blogUuid: o,
184
- title: m,
185
- imageUrl: h,
186
- options: a,
187
- publishedAt: p,
188
- timeToReadText: k = "{0} min read",
189
- timeToRead: N = 0,
190
- numberOfLikes: $ = 0,
191
- numberOfComments: C = 0,
192
- isBookmarked: u = !1,
193
- onSelectCard: B = () => {
183
+ blogUuid: a,
184
+ title: t,
185
+ imageUrl: m,
186
+ options: o,
187
+ publishedAt: d,
188
+ timeToReadText: w = "{0} min read",
189
+ timeToRead: y = 0,
190
+ numberOfLikes: v = 0,
191
+ numberOfComments: k = 0,
192
+ isBookmarked: g = !1,
193
+ onSelectCard: C = () => {
194
194
  },
195
- onBookmark: R = () => {
195
+ onBookmark: N = () => {
196
196
  },
197
- onShare: w = () => {
197
+ onShare: f = () => {
198
198
  },
199
- bookmarkComponent: s = /* @__PURE__ */ e(y, {}),
200
- metadata: d,
201
- titleSlug: _,
202
- LinkComponent: r,
203
- hasShare: b = !0,
204
- hasDelete: g = !1,
205
- onDelete: S = () => {
199
+ bookmarkComponent: s = /* @__PURE__ */ i(b, {}),
200
+ metadata: l,
201
+ titleSlug: h,
202
+ LinkComponent: e,
203
+ hasShare: u = !0,
204
+ hasDelete: p = !1,
205
+ onDelete: $ = () => {
206
206
  }
207
- }, G) => {
208
- const U = r || "a", z = () => Q(s) ? E(s, {
209
- key: `bookmark_blog__${o}__${u}`,
210
- isBookmarked: u,
211
- blogUuid: o,
212
- onBookmark: (j, q) => R(j, q),
213
- ref: G,
207
+ }, B) => {
208
+ const U = e || "a", j = () => J(s) ? E(s, {
209
+ key: `bookmark_blog__${a}__${g}`,
210
+ isBookmarked: g,
211
+ blogUuid: a,
212
+ onBookmark: (R, A) => N(R, A),
213
+ ref: B,
214
214
  componentName: "ExploreBlogSectionCard"
215
- }) : /* @__PURE__ */ e(y, {}), I = A();
216
- return /* @__PURE__ */ t(
215
+ }) : /* @__PURE__ */ i(b, {}), T = W();
216
+ return /* @__PURE__ */ n(
217
217
  Y,
218
218
  {
219
- ref: I,
220
- name: d == null ? void 0 : d.name,
221
- "data-accessor": d == null ? void 0 : d.accessor,
222
- onClick: (i) => B(i, I),
219
+ ref: T,
220
+ name: l == null ? void 0 : l.name,
221
+ "data-accessor": l == null ? void 0 : l.accessor,
222
+ onClick: (r) => C(r, T),
223
223
  className: "blog-card-item",
224
224
  as: U,
225
- ...r ? { to: `/blog/${_}` } : { href: `/blog/${_}` },
225
+ ...e ? { to: `/blog/${h}` } : { href: `/blog/${h}` },
226
226
  children: [
227
- /* @__PURE__ */ t("div", { className: "image-container", children: [
228
- g && /* @__PURE__ */ e(
227
+ /* @__PURE__ */ n("div", { className: "image-container", children: [
228
+ p && /* @__PURE__ */ i(
229
229
  "div",
230
230
  {
231
231
  className: "action mobile-only",
232
- onClick: (i) => {
233
- i == null || i.preventDefault(), i == null || i.stopPropagation();
232
+ onClick: (r) => {
233
+ r == null || r.preventDefault(), r == null || r.stopPropagation();
234
234
  },
235
- children: /* @__PURE__ */ e(
236
- v,
235
+ children: /* @__PURE__ */ i(
236
+ _,
237
237
  {
238
238
  icon: " mng-lnc-close",
239
239
  borderRadius: "curved",
@@ -242,67 +242,67 @@ const Y = T.a`
242
242
  color: "neutral",
243
243
  size: "medium",
244
244
  onClick: () => {
245
- S();
245
+ $();
246
246
  }
247
247
  }
248
248
  )
249
249
  }
250
250
  ),
251
- /* @__PURE__ */ e(V, { src: h, className: "wrapper__image" })
251
+ /* @__PURE__ */ i(K, { src: m, className: "wrapper__image" })
252
252
  ] }),
253
- /* @__PURE__ */ t("div", { className: "wrapper__content", children: [
254
- /* @__PURE__ */ t("div", { className: "wrapper__subcontent", children: [
255
- /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
256
- /* @__PURE__ */ e("div", { className: "wrapper__title", children: m }),
257
- g && /* @__PURE__ */ e(
253
+ /* @__PURE__ */ n("div", { className: "wrapper__content", children: [
254
+ /* @__PURE__ */ n("div", { className: "wrapper__subcontent", children: [
255
+ /* @__PURE__ */ n("div", { className: "wrapper__info", children: [
256
+ /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
257
+ p && /* @__PURE__ */ i(
258
258
  "div",
259
259
  {
260
260
  className: "action desktop-only",
261
- onClick: (i) => {
262
- i == null || i.preventDefault(), i == null || i.stopPropagation();
261
+ onClick: (r) => {
262
+ r == null || r.preventDefault(), r == null || r.stopPropagation();
263
263
  },
264
- children: /* @__PURE__ */ e(
265
- v,
264
+ children: /* @__PURE__ */ i(
265
+ _,
266
266
  {
267
267
  icon: " mng-lnc-close",
268
268
  borderRadius: "curved",
269
269
  btnType: "basic",
270
270
  color: "neutral",
271
271
  onClick: () => {
272
- S();
272
+ $();
273
273
  }
274
274
  }
275
275
  )
276
276
  }
277
277
  )
278
278
  ] }),
279
- /* @__PURE__ */ t("div", { className: "wrapper__tags-action", children: [
280
- /* @__PURE__ */ e("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.map((i, j) => /* @__PURE__ */ e(
281
- X,
279
+ /* @__PURE__ */ n("div", { className: "wrapper__tags-action", children: [
280
+ /* @__PURE__ */ i("div", { className: "wrapper__tags", children: o && (o == null ? void 0 : o.map((r, R) => /* @__PURE__ */ i(
281
+ Q,
282
282
  {
283
- color: i == null ? void 0 : i.color,
284
- children: i == null ? void 0 : i.name
283
+ color: r == null ? void 0 : r.color,
284
+ children: r == null ? void 0 : r.name
285
285
  },
286
- `blog-card-sponsored-option__${j + 1}`
286
+ `blog-card-sponsored-option__${R + 1}`
287
287
  ))) }),
288
- /* @__PURE__ */ t(
288
+ /* @__PURE__ */ n(
289
289
  "div",
290
290
  {
291
291
  className: "info__content mobile-only",
292
- onClick: (i) => {
293
- i.stopPropagation(), i.preventDefault();
292
+ onClick: (r) => {
293
+ r.stopPropagation(), r.preventDefault();
294
294
  },
295
295
  children: [
296
- /* @__PURE__ */ e(z, {}),
297
- b && /* @__PURE__ */ e(
298
- v,
296
+ /* @__PURE__ */ i(j, {}),
297
+ u && /* @__PURE__ */ i(
298
+ _,
299
299
  {
300
300
  icon: " mng-lnc-share",
301
301
  borderRadius: "curved",
302
302
  btnType: "basic",
303
303
  color: "neutral",
304
304
  onClick: () => {
305
- w();
305
+ f();
306
306
  }
307
307
  }
308
308
  )
@@ -311,40 +311,40 @@ const Y = T.a`
311
311
  )
312
312
  ] })
313
313
  ] }),
314
- /* @__PURE__ */ t("div", { className: "wrapper__info", children: [
315
- /* @__PURE__ */ t("div", { className: "info__content", children: [
316
- /* @__PURE__ */ e("div", { className: "info__text", children: `${J(
317
- p
318
- )} • ${K(k, N)}` }),
319
- /* @__PURE__ */ t("div", { className: "info__text", children: [
320
- /* @__PURE__ */ t("div", { children: [
321
- /* @__PURE__ */ e(L, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
322
- P($)
314
+ /* @__PURE__ */ n("div", { className: "wrapper__info", children: [
315
+ /* @__PURE__ */ n("div", { className: "info__content", children: [
316
+ /* @__PURE__ */ i("div", { className: "info__text", children: `${G(
317
+ d
318
+ )} • ${H(w, y)}` }),
319
+ /* @__PURE__ */ n("div", { className: "info__text", children: [
320
+ /* @__PURE__ */ n("div", { children: [
321
+ /* @__PURE__ */ i(z, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
322
+ I(v)
323
323
  ] }),
324
- /* @__PURE__ */ t("div", { children: [
325
- /* @__PURE__ */ e(L, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
326
- P(C)
324
+ /* @__PURE__ */ n("div", { children: [
325
+ /* @__PURE__ */ i(z, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
326
+ I(k)
327
327
  ] })
328
328
  ] })
329
329
  ] }),
330
- /* @__PURE__ */ t(
330
+ /* @__PURE__ */ n(
331
331
  "div",
332
332
  {
333
333
  className: "info__content desktop-only",
334
- onClick: (i) => {
335
- i == null || i.preventDefault(), i == null || i.stopPropagation();
334
+ onClick: (r) => {
335
+ r == null || r.preventDefault(), r == null || r.stopPropagation();
336
336
  },
337
337
  children: [
338
- /* @__PURE__ */ e(z, {}),
339
- b && /* @__PURE__ */ e(
340
- v,
338
+ /* @__PURE__ */ i(j, {}),
339
+ u && /* @__PURE__ */ i(
340
+ _,
341
341
  {
342
342
  icon: " mng-lnc-share",
343
343
  borderRadius: "curved",
344
344
  btnType: "basic",
345
345
  color: "neutral",
346
346
  onClick: () => {
347
- w();
347
+ f();
348
348
  }
349
349
  }
350
350
  )
@@ -357,7 +357,7 @@ const Y = T.a`
357
357
  }
358
358
  );
359
359
  }
360
- ), x = T.div`
360
+ ), x = S.div`
361
361
  display: flex;
362
362
  flex-direction: column;
363
363
  align-items: flex-start;
@@ -381,133 +381,83 @@ const Y = T.a`
381
381
  bottom: -1.25rem;
382
382
  }
383
383
  }
384
- `, ee = T(c)`
384
+ `, ee = S(V)`
385
385
  @media ${O("S")} {
386
386
  & > div {
387
387
  flex-direction: column;
388
388
  }
389
389
  }
390
- `, re = ({ keyPrefix: o }) => /* @__PURE__ */ t(ee, { children: [
391
- /* @__PURE__ */ t(l, { children: [
392
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
393
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
394
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
395
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
396
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
397
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
398
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
399
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
400
- ] })
390
+ `, re = ({ keyPrefix: a }) => /* @__PURE__ */ i(ee, { children: [1, 2, 3, 4, 5].map((t) => /* @__PURE__ */ n(P, { children: [
391
+ /* @__PURE__ */ i(c, { height: "9.5rem", width: "17.75rem" }),
392
+ /* @__PURE__ */ n(X, { children: [
393
+ /* @__PURE__ */ i(c, { height: "1.5rem", width: "100%" }),
394
+ /* @__PURE__ */ n(P, { children: [
395
+ /* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
396
+ /* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
397
+ /* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
398
+ /* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" })
401
399
  ] })
402
- ] }, `${o}-1`),
403
- /* @__PURE__ */ t(l, { children: [
404
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
405
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
406
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
407
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
408
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
409
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
410
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
411
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
412
- ] })
413
- ] })
414
- ] }, `${o}-2`),
415
- /* @__PURE__ */ t(l, { children: [
416
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
417
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
418
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
419
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
420
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
421
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
422
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
423
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
424
- ] })
425
- ] })
426
- ] }, `${o}-3`),
427
- /* @__PURE__ */ t(l, { children: [
428
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
429
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
430
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
431
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
432
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
433
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
434
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
435
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
436
- ] })
437
- ] })
438
- ] }, `${o}-4`),
439
- /* @__PURE__ */ t(l, { children: [
440
- /* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
441
- /* @__PURE__ */ t(c, { noGradient: !0, children: [
442
- /* @__PURE__ */ e(n, { height: "1.5rem" }),
443
- /* @__PURE__ */ t(l, { noGradient: !0, children: [
444
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
445
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
446
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
447
- /* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
448
- ] })
449
- ] })
450
- ] }, `${o}-5`)
451
- ] }), ie = ({
452
- keyPrefix: o,
453
- isLoading: m = !1,
454
- fallbackComponent: h = /* @__PURE__ */ e(y, {}),
455
- children: a
456
- }) => /* @__PURE__ */ e(M, { fallbackComponent: h, children: m === !0 ? /* @__PURE__ */ e(re, { keyPrefix: o }) : a }), te = D(Z), ge = W(
400
+ ] })
401
+ ] }, `${a}-${t}`)) }), ie = ({
402
+ keyPrefix: a,
403
+ isLoading: t = !1,
404
+ fallbackComponent: m = /* @__PURE__ */ i(b, {}),
405
+ children: o
406
+ }) => /* @__PURE__ */ i(M, { fallbackComponent: m, children: t === !0 ? /* @__PURE__ */ i(re, { keyPrefix: a }) : o }), ne = q(Z), fe = L(
457
407
  ({
458
- timeToReadText: o = "{0} min read",
459
- items: m,
460
- isLoading: h = !1,
461
- onSelectCard: a = () => {
408
+ timeToReadText: a = "{0} min read",
409
+ items: t,
410
+ isLoading: m = !1,
411
+ onSelectCard: o = () => {
462
412
  },
463
- onShare: p = () => {
413
+ onShare: d = () => {
464
414
  },
465
- onBookmark: k = () => {
415
+ onBookmark: w = () => {
466
416
  },
467
- getImage: N = () => {
417
+ getImage: y = () => {
468
418
  },
469
- isSeparated: $ = !0,
470
- bookmarkComponent: C = /* @__PURE__ */ e(y, {}),
471
- componentName: u,
472
- LinkComponent: B,
473
- hasShare: R = !0,
474
- hasDelete: w = !1,
419
+ isSeparated: v = !0,
420
+ bookmarkComponent: k = /* @__PURE__ */ i(b, {}),
421
+ componentName: g,
422
+ LinkComponent: C,
423
+ hasShare: N = !0,
424
+ hasDelete: f = !1,
475
425
  onDelete: s = () => {
476
426
  }
477
- }, d) => {
478
- const _ = F(() => m == null ? void 0 : m.map((r, b) => {
479
- var g;
480
- return /* @__PURE__ */ e(
481
- te,
427
+ }, l) => {
428
+ const h = D(() => t == null ? void 0 : t.map((e, u) => {
429
+ var p;
430
+ return /* @__PURE__ */ i(
431
+ ne,
482
432
  {
483
- blogUuid: r == null ? void 0 : r.uuid,
484
- title: r == null ? void 0 : r.title,
485
- titleSlug: r == null ? void 0 : r.titleSlug,
486
- options: r == null ? void 0 : r.options,
487
- publishedAt: r == null ? void 0 : r.publishedAt,
488
- timeToReadText: o,
489
- timeToRead: r == null ? void 0 : r.timeToRead,
490
- numberOfLikes: r == null ? void 0 : r.numberOfLikes,
491
- numberOfComments: r == null ? void 0 : r.numberOfComments,
492
- isSponsored: r == null ? void 0 : r.isSponsored,
493
- isBookmarked: r == null ? void 0 : r.isBookmarked,
494
- onSelectCard: (S, G) => a == null ? void 0 : a(r, G),
495
- hasShare: R,
496
- hasDelete: w,
497
- onDelete: () => s == null ? void 0 : s(r),
498
- onShare: () => p == null ? void 0 : p(r),
499
- onBookmark: k,
500
- imageUrl: N(r == null ? void 0 : r.imageUrl, r == null ? void 0 : r.uuid) || null,
501
- bookmarkComponent: C,
502
- metadata: { name: u, accessor: r == null ? void 0 : r.accessor },
503
- LinkComponent: B
433
+ blogUuid: e == null ? void 0 : e.uuid,
434
+ title: e == null ? void 0 : e.title,
435
+ titleSlug: e == null ? void 0 : e.titleSlug,
436
+ options: e == null ? void 0 : e.options,
437
+ publishedAt: e == null ? void 0 : e.publishedAt,
438
+ timeToReadText: a,
439
+ timeToRead: e == null ? void 0 : e.timeToRead,
440
+ numberOfLikes: e == null ? void 0 : e.numberOfLikes,
441
+ numberOfComments: e == null ? void 0 : e.numberOfComments,
442
+ isSponsored: e == null ? void 0 : e.isSponsored,
443
+ isBookmarked: e == null ? void 0 : e.isBookmarked,
444
+ onSelectCard: ($, B) => o == null ? void 0 : o(e, B),
445
+ hasShare: N,
446
+ hasDelete: f,
447
+ onDelete: () => s == null ? void 0 : s(e),
448
+ onShare: () => d == null ? void 0 : d(e),
449
+ onBookmark: w,
450
+ imageUrl: y(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
451
+ bookmarkComponent: k,
452
+ metadata: { name: g, accessor: e == null ? void 0 : e.accessor },
453
+ LinkComponent: C
504
454
  },
505
- `blog-card-item__${b + 1}__${(g = r == null ? void 0 : r.isBookmarked) == null ? void 0 : g.toString()}`
455
+ `blog-card-item__${u + 1}__${(p = e == null ? void 0 : e.isBookmarked) == null ? void 0 : p.toString()}`
506
456
  );
507
- }), [m]);
508
- return /* @__PURE__ */ e(ie, { isLoading: h, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ e(x, { ref: d, className: $ ? "separated" : "", children: _ }) });
457
+ }), [t]);
458
+ return /* @__PURE__ */ i(ie, { isLoading: m, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ i(x, { ref: l, className: v ? "separated" : "", children: h }) });
509
459
  }
510
460
  );
511
461
  export {
512
- ge as default
462
+ fe as default
513
463
  };
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),c=require("react"),j=require("./useDetectMobile-DYV6V1yw.cjs"),M=require("./index-BkztbBWe.cjs"),N=require("./Button.cjs"),y=require("./style-DIWAdlai.cjs"),P=c.memo(M.SimpleProductCard),R=c.forwardRef(({buttonText:o,buttonLink:t,items:r,onButtonAction:a=()=>{},onSelectCard:s=()=>{},getImage:l=()=>{},isHighlight:n=!1,componentName:d,LinkComponent:p},m)=>{const b=j.useDetectMobile(),g=c.useMemo(()=>{var u;return(u=r==null?void 0:r.slice(0,4))==null?void 0:u.map((e,q)=>i.jsx(P,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:(_,h)=>s==null?void 0:s(e==null?void 0:e.uuid,h),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:d,accessor:e==null?void 0:e.accessor},LinkComponent:p},q))},[r]);return i.jsxs(y.Wrapper,{ref:m,className:`blog-product-cards-section ${n?"highlight":""}`,children:[i.jsx("div",{className:"wrapper__grid",children:g}),i.jsx(N,{text:o,borderRadius:"curved",btnType:b?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>a(t)})]})});module.exports=R;
1
+ "use strict";const i=require("react/jsx-runtime"),c=require("react"),j=require("./useDetectMobile-DYV6V1yw.cjs"),M=require("./index-B96icAp4.cjs"),N=require("./Button.cjs"),y=require("./style-DIWAdlai.cjs"),P=c.memo(M.SimpleProductCard),R=c.forwardRef(({buttonText:o,buttonLink:t,items:r,onButtonAction:a=()=>{},onSelectCard:s=()=>{},getImage:l=()=>{},isHighlight:n=!1,componentName:d,LinkComponent:p},m)=>{const b=j.useDetectMobile(),g=c.useMemo(()=>{var u;return(u=r==null?void 0:r.slice(0,4))==null?void 0:u.map((e,q)=>i.jsx(P,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:(_,h)=>s==null?void 0:s(e==null?void 0:e.uuid,h),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:d,accessor:e==null?void 0:e.accessor},LinkComponent:p},q))},[r]);return i.jsxs(y.Wrapper,{ref:m,className:`blog-product-cards-section ${n?"highlight":""}`,children:[i.jsx("div",{className:"wrapper__grid",children:g}),i.jsx(N,{text:o,borderRadius:"curved",btnType:b?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>a(t)})]})});module.exports=R;
@@ -1,7 +1,7 @@
1
1
  import { jsx as i, jsxs as h } from "react/jsx-runtime";
2
2
  import { memo as N, forwardRef as M, useMemo as P } from "react";
3
3
  import { u as _ } from "./useDetectMobile-B0Jog4jQ.js";
4
- import { S as w } from "./index-jGcy-5M_.js";
4
+ import { S as w } from "./index-CNUuIL97.js";
5
5
  import y from "./Button.js";
6
6
  import { W as U } from "./style-BzaX45du.js";
7
7
  const j = N(w), C = M(
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-DYV6V1yw.cjs"),_=require("./index-D4-_TrSn.cjs"),f=require("./Button.cjs"),j=require("./style-DIWAdlai.cjs"),w=o.memo(_.ShopCard),M=o.forwardRef(({buttonText:u,buttonLink:a,items:r,onButtonAction:c=()=>{},onSelectCard:s=()=>{},isLoading:v=!1,limit:R=4,getImage:n=()=>{},isHighlight:l=!1,componentName:d},p)=>{const h=q.useDetectMobile(),m=o.useMemo(()=>{var t;return(t=r==null?void 0:r.slice(0,4))==null?void 0:t.map((e,g)=>i.jsx(w,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,onSelectCard:(C,b)=>s==null?void 0:s(e==null?void 0:e.uuid,b),image:n(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0,metadata:{name:d,accessor:e==null?void 0:e.accessor}},`shop-card__${g+1}`))},[r]);return i.jsxs(j.Wrapper,{ref:p,className:l?"highlight":"",children:[i.jsx("div",{className:"wrapper__grid",children:m}),i.jsx(f,{text:u,borderRadius:"curved",btnType:h?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>c(a)})]})});module.exports=M;
1
+ "use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-DYV6V1yw.cjs"),_=require("./index-DnbzopIv.cjs"),f=require("./Button.cjs"),j=require("./style-DIWAdlai.cjs"),w=o.memo(_.ShopCard),M=o.forwardRef(({buttonText:u,buttonLink:a,items:r,onButtonAction:c=()=>{},onSelectCard:s=()=>{},isLoading:v=!1,limit:R=4,getImage:n=()=>{},isHighlight:l=!1,componentName:d},p)=>{const h=q.useDetectMobile(),m=o.useMemo(()=>{var t;return(t=r==null?void 0:r.slice(0,4))==null?void 0:t.map((e,g)=>i.jsx(w,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,onSelectCard:(C,b)=>s==null?void 0:s(e==null?void 0:e.uuid,b),image:n(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0,metadata:{name:d,accessor:e==null?void 0:e.accessor}},`shop-card__${g+1}`))},[r]);return i.jsxs(j.Wrapper,{ref:p,className:l?"highlight":"",children:[i.jsx("div",{className:"wrapper__grid",children:m}),i.jsx(f,{text:u,borderRadius:"curved",btnType:h?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>c(a)})]})});module.exports=M;
@@ -1,7 +1,7 @@
1
1
  import { jsx as i, jsxs as g } from "react/jsx-runtime";
2
2
  import { memo as b, forwardRef as _, useMemo as w } from "react";
3
3
  import { u as v } from "./useDetectMobile-B0Jog4jQ.js";
4
- import { S as M } from "./index-Dx2hfxCG.js";
4
+ import { S as M } from "./index-gHaK62BZ.js";
5
5
  import C from "./Button.js";
6
6
  import { W as N } from "./style-BzaX45du.js";
7
7
  const S = b(M), L = _(
@@ -1,16 +1,7 @@
1
- "use strict";const n=require("react/jsx-runtime"),s=require("react"),g=require("./index-D4OKsSqi.cjs"),l=require("./style-Ito6YFqi.cjs"),c=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),x=c.styled(l.SkeletonColumnWrapper)`
1
+ "use strict";const n=require("react/jsx-runtime"),s=require("react"),g=require("./index-HzW6OHFF.cjs"),l=require("./style-CQdEALKR.cjs"),a=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),x=a.styled(l.SkeletonAnimationColumnContainer)`
2
2
  @media ${d.down("S")} {
3
3
  & > div {
4
4
  height: 13.25rem;
5
-
6
- background: linear-gradient(
7
- to right,
8
- transparent 0%,
9
- #f4f6fb 40%,
10
- #f4f6fb 100%
11
- );
12
-
13
- box-shadow: none;
14
5
  }
15
6
  }
16
- `,S=({keyPrefix:r})=>n.jsx(x,{children:n.jsx(l.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${r}-1`)}),b=({keyPrefix:r,isLoading:t=!1,fallbackComponent:o=n.jsx(n.Fragment,{}),children:e})=>n.jsx(s.Suspense,{fallbackComponent:o,children:t===!0?n.jsx(S,{keyPrefix:r}):e}),f=s.forwardRef((r,t)=>{const{isLoading:o,item:e,onSelectCard:i=()=>{},getImage:a=()=>{},LinkComponent:u}=r;return n.jsx(b,{isLoading:o,keyPrefix:"blogs-single-skeleton",children:n.jsx(g.BlogCardLarge,{ref:t,title:e==null?void 0:e.title,imageUrl:a(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>i(e==null?void 0:e.titleSlug),LinkComponent:u})})});module.exports=f;
7
+ `,S=({keyPrefix:t})=>n.jsx(x,{children:n.jsx(l.SkeletonRect,{width:"100%",height:"11.25rem"},`${t}-0`)}),h=({keyPrefix:t,isLoading:r=!1,fallbackComponent:o=n.jsx(n.Fragment,{}),children:e})=>n.jsx(s.Suspense,{fallbackComponent:o,children:r===!0?n.jsx(S,{keyPrefix:t}):e}),j=s.forwardRef((t,r)=>{const{isLoading:o,item:e,onSelectCard:i=()=>{},getImage:u=()=>{},LinkComponent:c}=t;return n.jsx(h,{isLoading:o,keyPrefix:"blogs-single-skeleton",children:n.jsx(g.BlogCardLarge,{ref:r,title:e==null?void 0:e.title,imageUrl:u(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>i(e==null?void 0:e.titleSlug),LinkComponent:c})})});module.exports=j;
@@ -1,57 +1,41 @@
1
- import { jsx as r, Fragment as i } from "react/jsx-runtime";
1
+ import { jsx as o, Fragment as i } from "react/jsx-runtime";
2
2
  import { Suspense as g, forwardRef as d } from "react";
3
- import { B as u } from "./index-rhYVjszT.js";
4
- import { b as f, a as c } from "./style-DvkivBNg.js";
5
- import { s as p } from "./emotion-styled.browser.esm-DfbrHHed.js";
6
- import { d as S } from "./breakpoints-BubDitvo.js";
7
- const h = p(f)`
8
- @media ${S("S")} {
3
+ import { B as u } from "./index-DtVJCOWc.js";
4
+ import { b as c, a as S } from "./style-BFPpppS9.js";
5
+ import { s as f } from "./emotion-styled.browser.esm-DfbrHHed.js";
6
+ import { d as p } from "./breakpoints-BubDitvo.js";
7
+ const m = f(c)`
8
+ @media ${p("S")} {
9
9
  & > div {
10
10
  height: 13.25rem;
11
-
12
- background: linear-gradient(
13
- to right,
14
- transparent 0%,
15
- #f4f6fb 40%,
16
- #f4f6fb 100%
17
- );
18
-
19
- box-shadow: none;
20
11
  }
21
12
  }
22
- `, b = ({ keyPrefix: o }) => /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(
23
- c,
24
- {
25
- height: "11.25rem",
26
- borderRadius: "0.75rem"
27
- },
28
- `${o}-1`
29
- ) }), m = ({
30
- keyPrefix: o,
31
- isLoading: n = !1,
32
- fallbackComponent: t = /* @__PURE__ */ r(i, {}),
13
+ `, h = ({ keyPrefix: n }) => /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(S, { width: "100%", height: "11.25rem" }, `${n}-0`) }), C = ({
14
+ keyPrefix: n,
15
+ isLoading: t = !1,
16
+ fallbackComponent: r = /* @__PURE__ */ o(i, {}),
33
17
  children: e
34
- }) => /* @__PURE__ */ r(g, { fallbackComponent: t, children: n === !0 ? /* @__PURE__ */ r(b, { keyPrefix: o }) : e }), y = d((o, n) => {
18
+ }) => /* @__PURE__ */ o(g, { fallbackComponent: r, children: t === !0 ? /* @__PURE__ */ o(h, { keyPrefix: n }) : e }), y = d((n, t) => {
35
19
  const {
36
- isLoading: t,
20
+ isLoading: r,
37
21
  item: e,
38
22
  onSelectCard: l = () => {
39
23
  },
40
- getImage: a = () => {
24
+ getImage: s = () => {
41
25
  },
42
- LinkComponent: s
43
- } = o;
44
- return /* @__PURE__ */ r(m, { isLoading: t, keyPrefix: "blogs-single-skeleton", children: /* @__PURE__ */ r(
26
+ LinkComponent: a
27
+ } = n;
28
+ return /* @__PURE__ */ o(C, { isLoading: r, keyPrefix: "blogs-single-skeleton", children: /* @__PURE__ */ o(
45
29
  u,
46
30
  {
47
- ref: n,
31
+ ref: t,
48
32
  title: e == null ? void 0 : e.title,
49
- imageUrl: a(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
33
+ imageUrl: s(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
50
34
  text: e == null ? void 0 : e.description,
51
35
  titleSlug: e == null ? void 0 : e.titleSlug,
52
36
  buttonText: e == null ? void 0 : e.buttonText,
53
37
  onCardClick: () => l(e == null ? void 0 : e.titleSlug),
54
- LinkComponent: s
38
+ LinkComponent: a
55
39
  }
56
40
  ) });
57
41
  });