@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,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),a=require("./utils-CITgSxXe.cjs"),R=require("./style-Boz6dk5s.cjs"),q=require("./Button.cjs"),L=require("./index-DsINTjQk.cjs"),O=require("./index-fzBXDy05.cjs"),D=S.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),a=require("./utils-BK6B_Y9X.cjs"),R=require("./style-cJUZrJoG.cjs"),q=require("./Button.cjs"),L=require("./index-ChHUGfjn.cjs"),O=require("./index-BUdvfHpp.cjs"),D=S.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,11 +3,11 @@ import { forwardRef as L, useRef as B, memo as A, useMemo as z } from "react";
3
3
  import { s as S } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
4
  import { d as w } from "./breakpoints-BubDitvo.js";
5
5
  import { u as D } from "./useDetectMobile-B0Jog4jQ.js";
6
- import { n as j, q as M, s as U, v as R, l as C } from "./utils-MoGhNMmj.js";
7
- import { B as W, R as P } from "./style-D54KOzZj.js";
6
+ import { n as j, q as M, s as U, v as R, l as C } from "./utils-BUdHa0nB.js";
7
+ import { B as W, R as P } from "./style-CP_urKvc.js";
8
8
  import I from "./Button.js";
9
- import { P as q } from "./index-DEypPQRI.js";
10
- import { S as E } from "./index-BHcrzV2G.js";
9
+ import { P as q } from "./index-D6_3Q8lN.js";
10
+ import { S as E } from "./index-VTkAaA-n.js";
11
11
  const F = S.div`
12
12
  display: grid;
13
13
  grid-template-columns: ${(l) => `repeat(${l.limit}, minmax(0, 1fr))`};
@@ -1,32 +1,24 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("react"),f=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),i=require("./breakpoints-CcVm-gVm.cjs"),C=require("./useDetectMobile-DYV6V1yw.cjs"),w=require("./index-D4OKsSqi.cjs"),u=require("./style-Ito6YFqi.cjs"),L=f.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),s=require("react"),j=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),l=require("./breakpoints-CcVm-gVm.cjs"),h=require("./useDetectMobile-DYV6V1yw.cjs"),$=require("./index-HzW6OHFF.cjs"),b=require("./style-CQdEALKR.cjs"),q=j.styled.div`
2
2
  display: grid;
3
- grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
3
+ grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
 
6
- @media ${i.down("M")} {
6
+ @media ${l.down("M")} {
7
7
  grid-template-columns: repeat(2, 1fr);
8
8
  }
9
9
 
10
- @media ${i.down("S")} {
10
+ @media ${l.down("S")} {
11
11
  grid-template-columns: repeat(2, 1fr);
12
12
  }
13
13
 
14
- @media ${i.down("XS")} {
14
+ @media ${l.down("XS")} {
15
15
  grid-template-columns: repeat(1, 1fr);
16
16
  }
17
- `,$=f.styled(u.SkeletonRowWrapper)`
18
- @media ${i.down("S")} {
17
+ `,w=j.styled(b.SkeletonAnimationContainer)`
18
+ @media ${l.down("S")} {
19
19
  flex-direction: column;
20
20
 
21
21
  & > div {
22
- background: linear-gradient(
23
- to right,
24
- transparent 0%,
25
- #f4f6fb 40%,
26
- #f4f6fb 100%
27
- );
28
-
29
- box-shadow: none;
30
22
  }
31
23
  }
32
- `,q=({keyPrefix:o})=>t.jsxs($,{children:[t.jsx(u.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${o}-1`),t.jsx(u.SkeletonLinePlaceholder,{height:"11.25rem",borderRadius:"0.75rem"},`${o}-2`)]}),M=({keyPrefix:o,isLoading:s=!1,fallbackComponent:r=t.jsx(t.Fragment,{}),children:n})=>t.jsx(l.Suspense,{fallbackComponent:r,children:s===!0?t.jsx(q,{keyPrefix:o}):n}),b=l.memo(w.BlogCardLarge),R=l.forwardRef((o,s)=>{const{items:r,onSelectCard:n=()=>{},limit:a=2,isLoading:h=!1,getImage:m=()=>{},componentName:g,LinkComponent:p}=o,S=C.useDetectMobile(),j=l.useMemo(()=>t.jsx(t.Fragment,{children:S===!0?r==null?void 0:r.map((e,c)=>t.jsx(b,{title:e==null?void 0:e.title,imageUrl:m(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:(k,d)=>n(e==null?void 0:e.titleSlug,d),metadata:{name:g,accessor:e==null?void 0:e.accessor},LinkComponent:p},c)):r==null?void 0:r.slice(0,a).map((e,c)=>t.jsx(b,{title:e==null?void 0:e.title,imageUrl:m(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:(k,d)=>n(e==null?void 0:e.titleSlug,d),metadata:{name:g,accessor:e==null?void 0:e.accessor},LinkComponent:p},c))}),[r,S,a]);return t.jsx(M,{isLoading:h,keyPrefix:"blogs-large-skeleton",children:t.jsx(L,{ref:s,limit:a,children:j})})});module.exports=R;
24
+ `,y=({keyPrefix:i})=>t.jsx(w,{children:[1,2].map(n=>t.jsx(b.SkeletonRect,{width:"100%",height:"11.25rem"},`${i}-${n}`))}),L=({keyPrefix:i,isLoading:n=!1,fallbackComponent:r=t.jsx(t.Fragment,{}),children:o})=>t.jsx(s.Suspense,{fallbackComponent:r,children:n===!0?t.jsx(y,{keyPrefix:i}):o}),S=s.memo($.BlogCardLarge),M=s.forwardRef((i,n)=>{const{items:r,onSelectCard:o=()=>{},limit:a=2,isLoading:f=!1,getImage:m=()=>{},componentName:u,LinkComponent:g}=i,p=h.useDetectMobile(),C=s.useMemo(()=>t.jsx(t.Fragment,{children:p===!0?r==null?void 0:r.map((e,c)=>t.jsx(S,{title:e==null?void 0:e.title,imageUrl:m(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:(k,d)=>o(e==null?void 0:e.titleSlug,d),metadata:{name:u,accessor:e==null?void 0:e.accessor},LinkComponent:g},c)):r==null?void 0:r.slice(0,a).map((e,c)=>t.jsx(S,{title:e==null?void 0:e.title,imageUrl:m(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:(k,d)=>o(e==null?void 0:e.titleSlug,d),metadata:{name:u,accessor:e==null?void 0:e.accessor},LinkComponent:g},c))}),[r,p,a]);return t.jsx(L,{isLoading:f,keyPrefix:"blogs-large-skeleton",children:t.jsx(q,{ref:n,limit:a,children:C})})});module.exports=M;
@@ -1,110 +1,92 @@
1
- import { jsxs as $, jsx as t, Fragment as S } from "react/jsx-runtime";
2
- import { Suspense as L, memo as B, forwardRef as M, useMemo as w } from "react";
3
- import { s as b } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
- import { d as a } from "./breakpoints-BubDitvo.js";
5
- import { u as R } from "./useDetectMobile-B0Jog4jQ.js";
6
- import { B as T } from "./index-rhYVjszT.js";
7
- import { S as U, a as p } from "./style-DvkivBNg.js";
8
- const j = b.div`
1
+ import { jsx as t, Fragment as S } from "react/jsx-runtime";
2
+ import { Suspense as $, memo as b, forwardRef as B, useMemo as L } from "react";
3
+ import { s as f } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
+ import { d as l } from "./breakpoints-BubDitvo.js";
5
+ import { u as M } from "./useDetectMobile-B0Jog4jQ.js";
6
+ import { B as T } from "./index-DtVJCOWc.js";
7
+ import { S as U, a as w } from "./style-BFPpppS9.js";
8
+ const y = f.div`
9
9
  display: grid;
10
10
  grid-template-columns: ${(o) => `repeat(${o.limit}, minmax(0, 1fr))`};
11
11
  gap: 1.25rem;
12
12
 
13
- @media ${a("M")} {
13
+ @media ${l("M")} {
14
14
  grid-template-columns: repeat(2, 1fr);
15
15
  }
16
16
 
17
- @media ${a("S")} {
17
+ @media ${l("S")} {
18
18
  grid-template-columns: repeat(2, 1fr);
19
19
  }
20
20
 
21
- @media ${a("XS")} {
21
+ @media ${l("XS")} {
22
22
  grid-template-columns: repeat(1, 1fr);
23
23
  }
24
- `, v = b(U)`
25
- @media ${a("S")} {
24
+ `, v = f(U)`
25
+ @media ${l("S")} {
26
26
  flex-direction: column;
27
27
 
28
28
  & > div {
29
- background: linear-gradient(
30
- to right,
31
- transparent 0%,
32
- #f4f6fb 40%,
33
- #f4f6fb 100%
34
- );
35
-
36
- box-shadow: none;
37
29
  }
38
30
  }
39
- `, y = ({ keyPrefix: o }) => /* @__PURE__ */ $(v, { children: [
40
- /* @__PURE__ */ t(
41
- p,
42
- {
43
- height: "11.25rem",
44
- borderRadius: "0.75rem"
45
- },
46
- `${o}-1`
47
- ),
48
- /* @__PURE__ */ t(
49
- p,
50
- {
51
- height: "11.25rem",
52
- borderRadius: "0.75rem"
53
- },
54
- `${o}-2`
55
- )
56
- ] }), z = ({
31
+ `, z = ({ keyPrefix: o }) => /* @__PURE__ */ t(v, { children: [1, 2].map((i) => /* @__PURE__ */ t(
32
+ w,
33
+ {
34
+ width: "100%",
35
+ height: "11.25rem"
36
+ },
37
+ `${o}-${i}`
38
+ )) }), P = ({
57
39
  keyPrefix: o,
58
- isLoading: l = !1,
40
+ isLoading: i = !1,
59
41
  fallbackComponent: r = /* @__PURE__ */ t(S, {}),
60
- children: i
61
- }) => /* @__PURE__ */ t(L, { fallbackComponent: r, children: l === !0 ? /* @__PURE__ */ t(y, { keyPrefix: o }) : i }), f = B(T), X = M((o, l) => {
42
+ children: a
43
+ }) => /* @__PURE__ */ t($, { fallbackComponent: r, children: i === !0 ? /* @__PURE__ */ t(z, { keyPrefix: o }) : a }), p = b(T), N = B((o, i) => {
62
44
  const {
63
45
  items: r,
64
- onSelectCard: i = () => {
46
+ onSelectCard: a = () => {
65
47
  },
66
48
  limit: n = 2,
67
- isLoading: h = !1,
68
- getImage: d = () => {
49
+ isLoading: C = !1,
50
+ getImage: c = () => {
69
51
  },
70
- componentName: c,
52
+ componentName: d,
71
53
  LinkComponent: u
72
- } = o, g = R(), C = w(() => /* @__PURE__ */ t(S, { children: g === !0 ? r == null ? void 0 : r.map((e, m) => /* @__PURE__ */ t(
73
- f,
54
+ } = o, g = M(), h = L(() => /* @__PURE__ */ t(S, { children: g === !0 ? r == null ? void 0 : r.map((e, m) => /* @__PURE__ */ t(
55
+ p,
74
56
  {
75
57
  title: e == null ? void 0 : e.title,
76
- imageUrl: d(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
58
+ imageUrl: c(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
77
59
  text: e == null ? void 0 : e.description,
78
60
  titleSlug: e == null ? void 0 : e.titleSlug,
79
61
  buttonText: e == null ? void 0 : e.buttonText,
80
- onCardClick: (k, s) => i(e == null ? void 0 : e.titleSlug, s),
81
- metadata: { name: c, accessor: e == null ? void 0 : e.accessor },
62
+ onCardClick: (k, s) => a(e == null ? void 0 : e.titleSlug, s),
63
+ metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
82
64
  LinkComponent: u
83
65
  },
84
66
  m
85
67
  )) : r == null ? void 0 : r.slice(0, n).map((e, m) => /* @__PURE__ */ t(
86
- f,
68
+ p,
87
69
  {
88
70
  title: e == null ? void 0 : e.title,
89
- imageUrl: d(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
71
+ imageUrl: c(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
90
72
  text: e == null ? void 0 : e.description,
91
73
  titleSlug: e == null ? void 0 : e.titleSlug,
92
74
  buttonText: e == null ? void 0 : e.buttonText,
93
- onCardClick: (k, s) => i(e == null ? void 0 : e.titleSlug, s),
94
- metadata: { name: c, accessor: e == null ? void 0 : e.accessor },
75
+ onCardClick: (k, s) => a(e == null ? void 0 : e.titleSlug, s),
76
+ metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
95
77
  LinkComponent: u
96
78
  },
97
79
  m
98
80
  )) }), [r, g, n]);
99
81
  return /* @__PURE__ */ t(
100
- z,
82
+ P,
101
83
  {
102
- isLoading: h,
84
+ isLoading: C,
103
85
  keyPrefix: "blogs-large-skeleton",
104
- children: /* @__PURE__ */ t(j, { ref: l, limit: n, children: C })
86
+ children: /* @__PURE__ */ t(y, { ref: i, limit: n, children: h })
105
87
  }
106
88
  );
107
89
  });
108
90
  export {
109
- X as default
91
+ N as default
110
92
  };
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),p=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),j=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),g=require("./utils-CITgSxXe.cjs"),C=require("./style-Boz6dk5s.cjs"),B=require("./Button.cjs"),M=require("./Link.cjs"),T=require("./index-DsINTjQk.cjs"),D=require("./index-fzBXDy05.cjs"),L=S.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),p=require("react"),S=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),j=require("./breakpoints-CcVm-gVm.cjs"),$=require("./useDetectMobile-DYV6V1yw.cjs"),g=require("./utils-BK6B_Y9X.cjs"),C=require("./style-cJUZrJoG.cjs"),B=require("./Button.cjs"),M=require("./Link.cjs"),T=require("./index-ChHUGfjn.cjs"),D=require("./index-BUdvfHpp.cjs"),L=S.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${a=>`repeat(${a.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -3,12 +3,12 @@ import { forwardRef as N, useRef as M, memo as L, useMemo as U } from "react";
3
3
  import { s as S } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
4
  import { d as v } from "./breakpoints-BubDitvo.js";
5
5
  import { u as W } from "./useDetectMobile-B0Jog4jQ.js";
6
- import { w as z, n as P, l as y } from "./utils-MoGhNMmj.js";
7
- import { B as j, R as D } from "./style-D54KOzZj.js";
6
+ import { w as z, n as P, l as y } from "./utils-BUdHa0nB.js";
7
+ import { B as j, R as D } from "./style-CP_urKvc.js";
8
8
  import I from "./Button.js";
9
9
  import A from "./Link.js";
10
- import { P as G } from "./index-DEypPQRI.js";
11
- import { S as E } from "./index-BHcrzV2G.js";
10
+ import { P as G } from "./index-D6_3Q8lN.js";
11
+ import { S as E } from "./index-VTkAaA-n.js";
12
12
  const F = S.div`
13
13
  display: grid;
14
14
  grid-template-columns: ${(n) => `repeat(${n.limit}, minmax(0, 1fr))`};
@@ -1,22 +1,22 @@
1
- "use strict";const t=require("react/jsx-runtime"),h=require("react"),f=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),l=require("./breakpoints-CcVm-gVm.cjs"),C=require("./useDetectMobile-DYV6V1yw.cjs"),k=require("./utils-CITgSxXe.cjs"),S=require("./Button.cjs"),y=require("./index-DsINTjQk.cjs"),g=require("./style-Ito6YFqi.cjs"),$=f.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),c=require("./breakpoints-CcVm-gVm.cjs"),y=require("./useDetectMobile-DYV6V1yw.cjs"),j=require("./utils-BK6B_Y9X.cjs"),k=require("./Button.cjs"),S=require("./index-ChHUGfjn.cjs"),b=require("./style-CQdEALKR.cjs"),$=h.styled.div`
2
2
  display: grid;
3
- grid-template-columns: ${r=>`repeat(${r.limit}, minmax(0, 1fr))`};
3
+ grid-template-columns: ${n=>`repeat(${n.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
5
5
  margin: auto;
6
6
  width: fit-content;
7
7
 
8
- @media ${l.down("M")} {
8
+ @media ${c.down("M")} {
9
9
  grid-template-columns: repeat(2, 1fr);
10
10
  }
11
11
 
12
- @media ${l.down("S")} {
12
+ @media ${c.down("S")} {
13
13
  grid-template-columns: repeat(2, 1fr);
14
14
  }
15
15
 
16
- @media ${l.down("XS")} {
16
+ @media ${c.down("XS")} {
17
17
  grid-template-columns: repeat(1, 1fr);
18
18
  }
19
- `,v=f.styled.a`
19
+ `,v=h.styled.a`
20
20
  text-decoration: none;
21
21
  color: var(--gray-950);
22
22
  display: flex;
@@ -54,10 +54,10 @@
54
54
  object-fit: cover;
55
55
  }
56
56
 
57
- @media ${l.down("S")} {
57
+ @media ${c.down("S")} {
58
58
  max-width: unset;
59
59
  }
60
- `,R=f.styled.div`
60
+ `,q=h.styled.div`
61
61
  text-align: center;
62
62
  display: flex;
63
63
  flex-direction: column;
@@ -78,23 +78,10 @@
78
78
  font-weight: 400;
79
79
  line-height: 1.25rem;
80
80
  letter-spacing: 0.0156rem;
81
- ${k.truncateTextInRows(3)}
81
+ ${j.truncateTextInRows(3)}
82
82
  }
83
- `,b=h.forwardRef((r,c)=>{const{title:n,image:o,text:d,buttonText:w,onCardClick:m,metadata:i,link:p,LinkComponent:e}=r,a=e||"a",u=h.useRef(),s=j=>{m(j,u)};return t.jsxs(v,{ref:u,name:i==null?void 0:i.name,"data-accessor":i==null?void 0:i.accessor,className:"blog-card",onClick:s,as:a,...e?{to:`/${p}`}:{href:`/${p}`},children:[t.jsx(y.ProductImageWrapper,{src:o}),t.jsxs(R,{children:[t.jsx("div",{className:"text-wr-title",children:n}),t.jsx("div",{className:"text-wr",children:d})]}),t.jsx(S,{borderRadius:"curved",color:"gray",type:"button",btnType:"outline",onClick:s,size:"medium",children:w})]})}),q=f.styled(g.SkeletonRowWrapper)`
84
- @media ${l.down("S")} {
83
+ `,w=g.forwardRef((n,o)=>{const{title:r,image:s,text:m,buttonText:f,onCardClick:d,metadata:i,link:p,LinkComponent:e}=n,l=e||"a",u=g.useRef(),a=C=>{d(C,u)};return t.jsxs(v,{ref:u,name:i==null?void 0:i.name,"data-accessor":i==null?void 0:i.accessor,className:"blog-card",onClick:a,as:l,...e?{to:`/${p}`}:{href:`/${p}`},children:[t.jsx(S.ProductImageWrapper,{src:s}),t.jsxs(q,{children:[t.jsx("div",{className:"text-wr-title",children:r}),t.jsx("div",{className:"text-wr",children:m})]}),t.jsx(k,{borderRadius:"curved",color:"gray",type:"button",btnType:"outline",onClick:a,size:"medium",children:f})]})}),R=h.styled(b.SkeletonAnimationContainer)`
84
+ @media ${c.down("S")} {
85
85
  flex-direction: column;
86
-
87
- & > div {
88
- width: 100%;
89
-
90
- background: linear-gradient(
91
- to right,
92
- transparent 0%,
93
- #f4f6fb 40%,
94
- #f4f6fb 100%
95
- );
96
-
97
- box-shadow: none;
98
- }
99
86
  }
100
- `,T=({keyPrefix:r})=>t.jsxs(q,{justifyContent:"center",alignItems:"center",children:[t.jsx(g.SkeletonLinePlaceholder,{height:"24.75rem",width:"18.5rem",borderRadius:"0.75rem"},`${r}-1`),t.jsx(g.SkeletonLinePlaceholder,{height:"24.75rem",width:"18.5rem",borderRadius:"0.75rem"},`${r}-2`),t.jsx(g.SkeletonLinePlaceholder,{height:"24.75rem",width:"18.5rem",borderRadius:"0.75rem"},`${r}-3`)]}),L=({keyPrefix:r,isLoading:c=!1,fallbackComponent:n=t.jsx(t.Fragment,{}),children:o})=>t.jsx(h.Suspense,{fallbackComponent:n,children:c===!0?t.jsx(T,{keyPrefix:r}):o}),B=h.forwardRef((r,c)=>{const{items:n,limit:o=3,onSelectCard:d=()=>{},isLoading:w=!1,componentName:m,LinkComponent:i}=r,p=C.useDetectMobile();return t.jsx(L,{isLoading:w,keyPrefix:"blogs-simple-centered-skeleton",children:t.jsx($,{ref:c,limit:o,children:t.jsx(t.Fragment,{children:p===!0?n==null?void 0:n.map((e,a)=>t.jsx(b,{title:e==null?void 0:e.title,image:(e==null?void 0:e.image)||null,text:e==null?void 0:e.text,buttonText:e==null?void 0:e.buttonText,onCardClick:(u,s)=>d(e,s),metadata:{name:m,accessor:e==null?void 0:e.accessor},link:e==null?void 0:e.link,LinkComponent:i},a)):n==null?void 0:n.slice(0,o).map((e,a)=>t.jsx(b,{title:e==null?void 0:e.title,image:(e==null?void 0:e.image)||null,text:e==null?void 0:e.text,buttonText:e==null?void 0:e.buttonText,onCardClick:(u,s)=>d(e,s),metadata:{name:m,accessor:e==null?void 0:e.accessor},link:e==null?void 0:e.link,LinkComponent:i},a))})})})});module.exports=B;
87
+ `,T=({keyPrefix:n})=>t.jsx(R,{justifyContent:"center",alignItems:"center",children:[1,2,3].map(o=>t.jsx(b.SkeletonRect,{height:"24.75rem",width:"18.5rem"},`${n}-${o}`))}),B=({keyPrefix:n,isLoading:o=!1,fallbackComponent:r=t.jsx(t.Fragment,{}),children:s})=>t.jsx(g.Suspense,{fallbackComponent:r,children:o===!0?t.jsx(T,{keyPrefix:n}):s}),z=g.forwardRef((n,o)=>{const{items:r,limit:s=3,onSelectCard:m=()=>{},isLoading:f=!1,componentName:d,LinkComponent:i}=n,p=y.useDetectMobile();return t.jsx(B,{isLoading:f,keyPrefix:"blogs-simple-centered-skeleton",children:t.jsx($,{ref:o,limit:s,children:t.jsx(t.Fragment,{children:p===!0?r==null?void 0:r.map((e,l)=>t.jsx(w,{title:e==null?void 0:e.title,image:(e==null?void 0:e.image)||null,text:e==null?void 0:e.text,buttonText:e==null?void 0:e.buttonText,onCardClick:(u,a)=>m(e,a),metadata:{name:d,accessor:e==null?void 0:e.accessor},link:e==null?void 0:e.link,LinkComponent:i},l)):r==null?void 0:r.slice(0,s).map((e,l)=>t.jsx(w,{title:e==null?void 0:e.title,image:(e==null?void 0:e.image)||null,text:e==null?void 0:e.text,buttonText:e==null?void 0:e.buttonText,onCardClick:(u,a)=>m(e,a),metadata:{name:d,accessor:e==null?void 0:e.accessor},link:e==null?void 0:e.link,LinkComponent:i},l))})})})});module.exports=z;
@@ -1,31 +1,31 @@
1
- import { jsxs as b, jsx as t, Fragment as C } from "react/jsx-runtime";
2
- import { forwardRef as S, useRef as y, Suspense as $ } from "react";
3
- import { s as h } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
- import { d as l } from "./breakpoints-BubDitvo.js";
5
- import { u as v } from "./useDetectMobile-B0Jog4jQ.js";
6
- import { n as R } from "./utils-MoGhNMmj.js";
1
+ import { jsxs as h, jsx as t, Fragment as b } from "react/jsx-runtime";
2
+ import { forwardRef as w, useRef as S, Suspense as y } from "react";
3
+ import { s as f } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
+ import { d as s } from "./breakpoints-BubDitvo.js";
5
+ import { u as $ } from "./useDetectMobile-B0Jog4jQ.js";
6
+ import { n as v } from "./utils-BUdHa0nB.js";
7
7
  import T from "./Button.js";
8
- import { P as B } from "./index-DEypPQRI.js";
9
- import { S as W, a as u } from "./style-DvkivBNg.js";
10
- const j = h.div`
8
+ import { P as R } from "./index-D6_3Q8lN.js";
9
+ import { S as B, a as j } from "./style-BFPpppS9.js";
10
+ const z = f.div`
11
11
  display: grid;
12
- grid-template-columns: ${(r) => `repeat(${r.limit}, minmax(0, 1fr))`};
12
+ grid-template-columns: ${(n) => `repeat(${n.limit}, minmax(0, 1fr))`};
13
13
  gap: 1.25rem;
14
14
  margin: auto;
15
15
  width: fit-content;
16
16
 
17
- @media ${l("M")} {
17
+ @media ${s("M")} {
18
18
  grid-template-columns: repeat(2, 1fr);
19
19
  }
20
20
 
21
- @media ${l("S")} {
21
+ @media ${s("S")} {
22
22
  grid-template-columns: repeat(2, 1fr);
23
23
  }
24
24
 
25
- @media ${l("XS")} {
25
+ @media ${s("XS")} {
26
26
  grid-template-columns: repeat(1, 1fr);
27
27
  }
28
- `, z = h.a`
28
+ `, N = f.a`
29
29
  text-decoration: none;
30
30
  color: var(--gray-950);
31
31
  display: flex;
@@ -63,10 +63,10 @@ const j = h.div`
63
63
  object-fit: cover;
64
64
  }
65
65
 
66
- @media ${l("S")} {
66
+ @media ${s("S")} {
67
67
  max-width: unset;
68
68
  }
69
- `, L = h.div`
69
+ `, W = f.div`
70
70
  text-align: center;
71
71
  display: flex;
72
72
  flex-direction: column;
@@ -87,36 +87,36 @@ const j = h.div`
87
87
  font-weight: 400;
88
88
  line-height: 1.25rem;
89
89
  letter-spacing: 0.0156rem;
90
- ${R(3)}
90
+ ${v(3)}
91
91
  }
92
- `, w = S((r, s) => {
92
+ `, C = w((n, o) => {
93
93
  const {
94
- title: n,
95
- image: o,
96
- text: d,
97
- buttonText: f,
98
- onCardClick: c,
94
+ title: r,
95
+ image: a,
96
+ text: c,
97
+ buttonText: u,
98
+ onCardClick: d,
99
99
  metadata: i,
100
100
  link: p,
101
101
  LinkComponent: e
102
- } = r, m = e || "a", g = y(), a = (k) => {
103
- c(k, g);
102
+ } = n, m = e || "a", g = S(), l = (k) => {
103
+ d(k, g);
104
104
  };
105
- return /* @__PURE__ */ b(
106
- z,
105
+ return /* @__PURE__ */ h(
106
+ N,
107
107
  {
108
108
  ref: g,
109
109
  name: i == null ? void 0 : i.name,
110
110
  "data-accessor": i == null ? void 0 : i.accessor,
111
111
  className: "blog-card",
112
- onClick: a,
112
+ onClick: l,
113
113
  as: m,
114
114
  ...e ? { to: `/${p}` } : { href: `/${p}` },
115
115
  children: [
116
- /* @__PURE__ */ t(B, { src: o }),
117
- /* @__PURE__ */ b(L, { children: [
118
- /* @__PURE__ */ t("div", { className: "text-wr-title", children: n }),
119
- /* @__PURE__ */ t("div", { className: "text-wr", children: d })
116
+ /* @__PURE__ */ t(R, { src: a }),
117
+ /* @__PURE__ */ h(W, { children: [
118
+ /* @__PURE__ */ t("div", { className: "text-wr-title", children: r }),
119
+ /* @__PURE__ */ t("div", { className: "text-wr", children: c })
120
120
  ] }),
121
121
  /* @__PURE__ */ t(
122
122
  T,
@@ -125,101 +125,67 @@ const j = h.div`
125
125
  color: "gray",
126
126
  type: "button",
127
127
  btnType: "outline",
128
- onClick: a,
128
+ onClick: l,
129
129
  size: "medium",
130
- children: f
130
+ children: u
131
131
  }
132
132
  )
133
133
  ]
134
134
  }
135
135
  );
136
- }), N = h(W)`
137
- @media ${l("S")} {
136
+ }), I = f(B)`
137
+ @media ${s("S")} {
138
138
  flex-direction: column;
139
-
140
- & > div {
141
- width: 100%;
142
-
143
- background: linear-gradient(
144
- to right,
145
- transparent 0%,
146
- #f4f6fb 40%,
147
- #f4f6fb 100%
148
- );
149
-
150
- box-shadow: none;
151
- }
152
139
  }
153
- `, I = ({ keyPrefix: r }) => /* @__PURE__ */ b(N, { justifyContent: "center", alignItems: "center", children: [
154
- /* @__PURE__ */ t(
155
- u,
156
- {
157
- height: "24.75rem",
158
- width: "18.5rem",
159
- borderRadius: "0.75rem"
160
- },
161
- `${r}-1`
162
- ),
163
- /* @__PURE__ */ t(
164
- u,
165
- {
166
- height: "24.75rem",
167
- width: "18.5rem",
168
- borderRadius: "0.75rem"
169
- },
170
- `${r}-2`
171
- ),
172
- /* @__PURE__ */ t(
173
- u,
174
- {
175
- height: "24.75rem",
176
- width: "18.5rem",
177
- borderRadius: "0.75rem"
178
- },
179
- `${r}-3`
180
- )
181
- ] }), M = ({
182
- keyPrefix: r,
183
- isLoading: s = !1,
184
- fallbackComponent: n = /* @__PURE__ */ t(C, {}),
185
- children: o
186
- }) => /* @__PURE__ */ t($, { fallbackComponent: n, children: s === !0 ? /* @__PURE__ */ t(I, { keyPrefix: r }) : o }), J = S((r, s) => {
140
+ `, L = ({ keyPrefix: n }) => /* @__PURE__ */ t(I, { justifyContent: "center", alignItems: "center", children: [1, 2, 3].map((o) => /* @__PURE__ */ t(
141
+ j,
142
+ {
143
+ height: "24.75rem",
144
+ width: "18.5rem"
145
+ },
146
+ `${n}-${o}`
147
+ )) }), M = ({
148
+ keyPrefix: n,
149
+ isLoading: o = !1,
150
+ fallbackComponent: r = /* @__PURE__ */ t(b, {}),
151
+ children: a
152
+ }) => /* @__PURE__ */ t(y, { fallbackComponent: r, children: o === !0 ? /* @__PURE__ */ t(L, { keyPrefix: n }) : a }), J = w((n, o) => {
187
153
  const {
188
- items: n,
189
- limit: o = 3,
190
- onSelectCard: d = () => {
154
+ items: r,
155
+ limit: a = 3,
156
+ onSelectCard: c = () => {
191
157
  },
192
- isLoading: f = !1,
193
- componentName: c,
158
+ isLoading: u = !1,
159
+ componentName: d,
194
160
  LinkComponent: i
195
- } = r, p = v();
161
+ } = n, p = $();
196
162
  return /* @__PURE__ */ t(
197
163
  M,
198
164
  {
199
- isLoading: f,
165
+ isLoading: u,
200
166
  keyPrefix: "blogs-simple-centered-skeleton",
201
- children: /* @__PURE__ */ t(j, { ref: s, limit: o, children: /* @__PURE__ */ t(C, { children: p === !0 ? n == null ? void 0 : n.map((e, m) => /* @__PURE__ */ t(
202
- w,
167
+ children: /* @__PURE__ */ t(z, { ref: o, limit: a, children: /* @__PURE__ */ t(b, { children: p === !0 ? r == null ? void 0 : r.map((e, m) => /* @__PURE__ */ t(
168
+ C,
203
169
  {
204
170
  title: e == null ? void 0 : e.title,
205
171
  image: (e == null ? void 0 : e.image) || null,
206
172
  text: e == null ? void 0 : e.text,
207
173
  buttonText: e == null ? void 0 : e.buttonText,
208
- onCardClick: (g, a) => d(e, a),
209
- metadata: { name: c, accessor: e == null ? void 0 : e.accessor },
174
+ onCardClick: (g, l) => c(e, l),
175
+ metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
210
176
  link: e == null ? void 0 : e.link,
211
177
  LinkComponent: i
212
178
  },
213
179
  m
214
- )) : n == null ? void 0 : n.slice(0, o).map((e, m) => /* @__PURE__ */ t(
215
- w,
180
+ )) : r == null ? void 0 : r.slice(0, a).map((e, m) => /* @__PURE__ */ t(
181
+ C,
216
182
  {
217
183
  title: e == null ? void 0 : e.title,
218
184
  image: (e == null ? void 0 : e.image) || null,
219
185
  text: e == null ? void 0 : e.text,
220
186
  buttonText: e == null ? void 0 : e.buttonText,
221
- onCardClick: (g, a) => d(e, a),
222
- metadata: { name: c, accessor: e == null ? void 0 : e.accessor },
187
+ onCardClick: (g, l) => c(e, l),
188
+ metadata: { name: d, accessor: e == null ? void 0 : e.accessor },
223
189
  link: e == null ? void 0 : e.link,
224
190
  LinkComponent: i
225
191
  },