@lanaco/lnc-react-ui 4.0.206 → 4.0.208

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 (321) hide show
  1. package/BREAKPOINTS.md +148 -0
  2. package/dist/Accordion.cjs +1 -1
  3. package/dist/Accordion.js +6 -6
  4. package/dist/AccordionSummary.cjs +1 -1
  5. package/dist/AccordionSummary.js +8 -8
  6. package/dist/ActionsToolbar.cjs +15 -4
  7. package/dist/ActionsToolbar.js +58 -46
  8. package/dist/AdBannerSection.cjs +4 -4
  9. package/dist/AdBannerSection.js +5 -5
  10. package/dist/Alert.cjs +1 -1
  11. package/dist/Alert.js +1 -1
  12. package/dist/Avatar.cjs +1 -1
  13. package/dist/Avatar.js +12 -12
  14. package/dist/Badge.cjs +1 -1
  15. package/dist/Badge.js +5 -5
  16. package/dist/BannerNextSection.cjs +2 -2
  17. package/dist/BannerNextSection.js +13 -13
  18. package/dist/BannerSectionBasic.cjs +4 -4
  19. package/dist/BannerSectionBasic.js +22 -22
  20. package/dist/BannerSectionCarousel.cjs +28 -6
  21. package/dist/BannerSectionCarousel.js +72 -50
  22. package/dist/BannerSectionGrid.cjs +3 -3
  23. package/dist/BannerSectionGrid.js +13 -13
  24. package/dist/BannerSectionSimple.cjs +15 -15
  25. package/dist/BannerSectionSimple.js +40 -40
  26. package/dist/BannerSectionWithList.cjs +7 -7
  27. package/dist/BannerSectionWithList.js +20 -20
  28. package/dist/BannerSectionWithListImage.cjs +6 -9
  29. package/dist/BannerSectionWithListImage.js +17 -20
  30. package/dist/BlogCardsSponsoredSection.cjs +7 -5
  31. package/dist/BlogCardsSponsoredSection.js +32 -30
  32. package/dist/BlogCategoryCardsSection.cjs +1 -1
  33. package/dist/BlogCategoryCardsSection.js +2 -2
  34. package/dist/BlogExploreSection.cjs +4 -4
  35. package/dist/BlogExploreSection.js +60 -60
  36. package/dist/BlogImagePathSection.cjs +3 -14
  37. package/dist/BlogImagePathSection.js +27 -39
  38. package/dist/BlogListSection.cjs +6 -6
  39. package/dist/BlogListSection.js +32 -32
  40. package/dist/BlogProductCardsSection.cjs +1 -1
  41. package/dist/BlogProductCardsSection.js +3 -3
  42. package/dist/BlogShopCardsSection.cjs +1 -1
  43. package/dist/BlogShopCardsSection.js +3 -3
  44. package/dist/BlogSingleSection.cjs +3 -3
  45. package/dist/BlogSingleSection.js +12 -12
  46. package/dist/BlogsSectionDetailed.cjs +14 -6
  47. package/dist/BlogsSectionDetailed.js +53 -45
  48. package/dist/BlogsSectionLarge.cjs +13 -5
  49. package/dist/BlogsSectionLarge.js +48 -40
  50. package/dist/BlogsSectionSimple.cjs +14 -9
  51. package/dist/BlogsSectionSimple.js +43 -38
  52. package/dist/BlogsSectionSimpleCentered.cjs +17 -8
  53. package/dist/BlogsSectionSimpleCentered.js +68 -59
  54. package/dist/BlogsSectionWithFilters.cjs +16 -11
  55. package/dist/BlogsSectionWithFilters.js +43 -38
  56. package/dist/BrandHitsSection.cjs +7 -7
  57. package/dist/BrandHitsSection.js +13 -13
  58. package/dist/Breadcrumbs.cjs +1 -1
  59. package/dist/Breadcrumbs.js +16 -16
  60. package/dist/Button.cjs +1 -1
  61. package/dist/Button.js +1 -1
  62. package/dist/ButtonGroup.cjs +1 -1
  63. package/dist/ButtonGroup.js +1 -1
  64. package/dist/CalorieCalculatorSection.cjs +15 -15
  65. package/dist/CalorieCalculatorSection.js +84 -84
  66. package/dist/{CategorySimpleCard-COGlTj06.cjs → CategorySimpleCard-CIBvknos.cjs} +3 -3
  67. package/dist/{CategorySimpleCard-Em84kZzQ.js → CategorySimpleCard-CkSwvJRw.js} +8 -8
  68. package/dist/CheckBoxInput.cjs +1 -1
  69. package/dist/CheckBoxInput.js +1 -1
  70. package/dist/Chip.cjs +1 -1
  71. package/dist/Chip.js +1 -1
  72. package/dist/ColorInput.cjs +1 -1
  73. package/dist/ColorInput.js +14 -14
  74. package/dist/ConfirmationForm.cjs +1 -1
  75. package/dist/ConfirmationForm.js +5 -5
  76. package/dist/ContactSection.cjs +4 -4
  77. package/dist/ContactSection.js +72 -72
  78. package/dist/CustomLoanMapSection.cjs +3 -3
  79. package/dist/CustomLoanMapSection.js +67 -67
  80. package/dist/{CustomStyles-C86XQqBE.cjs → CustomStyles-2TQQSwtU.cjs} +1 -1
  81. package/dist/{CustomStyles-DtWxboEM.js → CustomStyles-DR4WuDUN.js} +1 -1
  82. package/dist/{DailyMotion-CpZExcrg.cjs → DailyMotion-BPdBW5Yv.cjs} +1 -1
  83. package/dist/{DailyMotion-BBcJkMo_.js → DailyMotion-P9S-WhTX.js} +1 -1
  84. package/dist/DateInput.cjs +6 -6
  85. package/dist/DateInput.js +646 -645
  86. package/dist/DecimalInput.cjs +1 -1
  87. package/dist/DecimalInput.js +1 -1
  88. package/dist/DecimalInputV2.cjs +1 -1
  89. package/dist/DecimalInputV2.js +1 -1
  90. package/dist/DetailedProductsInfinitiveSection.cjs +10 -4
  91. package/dist/DetailedProductsInfinitiveSection.js +71 -65
  92. package/dist/DetailedProductsSection.cjs +7 -3
  93. package/dist/DetailedProductsSection.js +55 -51
  94. package/dist/DetailsView.cjs +1 -1
  95. package/dist/DetailsView.js +1 -1
  96. package/dist/DoubleRangeSlider.cjs +1 -1
  97. package/dist/DoubleRangeSlider.js +1 -1
  98. package/dist/DragAndDropFile.cjs +1 -1
  99. package/dist/DragAndDropFile.js +1 -1
  100. package/dist/DragDropFiles.cjs +1 -1
  101. package/dist/DragDropFiles.js +13 -13
  102. package/dist/Drawer.cjs +1 -1
  103. package/dist/Drawer.js +1 -1
  104. package/dist/Dropdown.cjs +1 -1
  105. package/dist/Dropdown.js +2 -2
  106. package/dist/DropdownItem.cjs +1 -1
  107. package/dist/DropdownItem.js +1 -1
  108. package/dist/DropdownLookup.cjs +1 -1
  109. package/dist/DropdownLookup.js +1 -1
  110. package/dist/DropdownMenu.cjs +1 -1
  111. package/dist/DropdownMenu.js +7 -7
  112. package/dist/EditableTable.cjs +1 -1
  113. package/dist/EditableTable.js +8 -8
  114. package/dist/{Facebook-DoKw-XxT.cjs → Facebook-C8L2KR4O.cjs} +1 -1
  115. package/dist/{Facebook-BSWPEXjA.js → Facebook-vhbBr0rd.js} +1 -1
  116. package/dist/FaqSection.cjs +3 -3
  117. package/dist/FaqSection.js +52 -52
  118. package/dist/FeedbackSection.cjs +3 -3
  119. package/dist/FeedbackSection.js +15 -15
  120. package/dist/FieldOfInterestsMasonrySection.cjs +18 -12
  121. package/dist/FieldOfInterestsMasonrySection.js +73 -67
  122. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +13 -7
  123. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +64 -58
  124. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +15 -9
  125. package/dist/FieldOfInterestsWithTagsCardsSection.js +42 -36
  126. package/dist/FileInput.cjs +1 -1
  127. package/dist/FileInput.js +1 -1
  128. package/dist/{FilePlayer-D9az_lc_.cjs → FilePlayer-BVFgHY_f.cjs} +1 -1
  129. package/dist/{FilePlayer-BtGpIWnK.js → FilePlayer-CXTLAokk.js} +1 -1
  130. package/dist/FlexGridItem.cjs +1 -1
  131. package/dist/FlexGridItem.js +1 -1
  132. package/dist/FormField.cjs +1 -1
  133. package/dist/FormField.js +1 -1
  134. package/dist/FormView.cjs +1 -1
  135. package/dist/FormView.js +1 -1
  136. package/dist/GeneralWithTagsCardsSection.cjs +14 -8
  137. package/dist/GeneralWithTagsCardsSection.js +31 -25
  138. package/dist/GiftCardsSection.cjs +15 -7
  139. package/dist/GiftCardsSection.js +44 -36
  140. package/dist/HelpBannerSection.cjs +3 -3
  141. package/dist/HelpBannerSection.js +4 -4
  142. package/dist/Icon.cjs +1 -1
  143. package/dist/Icon.js +4 -4
  144. package/dist/IconButton.cjs +1 -1
  145. package/dist/IconButton.js +1 -1
  146. package/dist/{Kaltura-CK6JHUZC.cjs → Kaltura-C2fRoaEg.cjs} +1 -1
  147. package/dist/{Kaltura-BDqlEQpd.js → Kaltura-CRGK2EP7.js} +1 -1
  148. package/dist/Kanban.cjs +1 -1
  149. package/dist/Kanban.js +1 -1
  150. package/dist/KanbanActionsToolbar.cjs +1 -1
  151. package/dist/KanbanActionsToolbar.js +5 -5
  152. package/dist/KanbanView.cjs +1 -1
  153. package/dist/KanbanView.js +9 -9
  154. package/dist/Link.cjs +1 -1
  155. package/dist/Link.js +1 -1
  156. package/dist/LoanCalculatorSection.cjs +3 -3
  157. package/dist/LoanCalculatorSection.js +17 -17
  158. package/dist/LocationFinderSection.cjs +1 -1
  159. package/dist/LocationFinderSection.js +1 -1
  160. package/dist/LocationSearchSection.cjs +13 -6
  161. package/dist/LocationSearchSection.js +34 -27
  162. package/dist/MasonryGeneralCardsSection.cjs +7 -7
  163. package/dist/MasonryGeneralCardsSection.js +24 -24
  164. package/dist/MenuItem.cjs +1 -1
  165. package/dist/MenuItem.js +14 -14
  166. package/dist/{Mixcloud-zAh6j7Ha.js → Mixcloud-Cn5M-EIT.js} +1 -1
  167. package/dist/{Mixcloud-C1Boh2Bm.cjs → Mixcloud-D09BQNOt.cjs} +1 -1
  168. package/dist/Modal.cjs +1 -1
  169. package/dist/Modal.js +1 -1
  170. package/dist/MultiSelectDropdown.cjs +1 -1
  171. package/dist/MultiSelectDropdown.js +1 -1
  172. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  173. package/dist/MultiSelectDropdownLookup.js +1 -1
  174. package/dist/{Mux-C6TwZeaq.cjs → Mux-C-xD7crc.cjs} +1 -1
  175. package/dist/{Mux-BGTG_Tvc.js → Mux-C6szci3w.js} +1 -1
  176. package/dist/NestedDropdownItem.cjs +1 -1
  177. package/dist/NestedDropdownItem.js +9 -9
  178. package/dist/NestedMenuItem.cjs +1 -1
  179. package/dist/NestedMenuItem.js +7 -7
  180. package/dist/NotificationContainer.cjs +1 -1
  181. package/dist/NotificationContainer.js +1 -1
  182. package/dist/NotificationMessage.cjs +1 -1
  183. package/dist/NotificationMessage.js +5 -5
  184. package/dist/NumberInput.cjs +1 -1
  185. package/dist/NumberInput.js +8 -8
  186. package/dist/OverlayGeneralCardsSection.cjs +19 -31
  187. package/dist/OverlayGeneralCardsSection.js +51 -63
  188. package/dist/PartnerBannerSection.cjs +2 -2
  189. package/dist/PartnerBannerSection.js +2 -2
  190. package/dist/PartnerBrandsSection.cjs +2 -2
  191. package/dist/PartnerBrandsSection.js +24 -17
  192. package/dist/PartnerCardsSection.cjs +3 -3
  193. package/dist/PartnerCardsSection.js +18 -18
  194. package/dist/PartnerStatsSection.cjs +2 -2
  195. package/dist/PartnerStatsSection.js +3 -3
  196. package/dist/PasswordInput.cjs +1 -1
  197. package/dist/PasswordInput.js +19 -19
  198. package/dist/PopoverContent.cjs +1 -1
  199. package/dist/PopoverContent.js +1 -1
  200. package/dist/ProductsWithBannerSection.cjs +20 -10
  201. package/dist/ProductsWithBannerSection.js +79 -69
  202. package/dist/ProgressBar.cjs +1 -1
  203. package/dist/ProgressBar.js +5 -5
  204. package/dist/QuattroCardsSection.cjs +8 -6
  205. package/dist/QuattroCardsSection.js +19 -17
  206. package/dist/QuizSection.cjs +9 -9
  207. package/dist/QuizSection.js +56 -56
  208. package/dist/RadioInput.cjs +1 -1
  209. package/dist/RadioInput.js +1 -1
  210. package/dist/RangeSlider.cjs +1 -1
  211. package/dist/RangeSlider.js +1 -1
  212. package/dist/ReviewsSection.cjs +24 -16
  213. package/dist/ReviewsSection.js +56 -48
  214. package/dist/SalesCampaignsSection.cjs +25 -21
  215. package/dist/SalesCampaignsSection.js +248 -241
  216. package/dist/{SearchSection-DAaMecR4.js → SearchSection-BEYnWPSr.js} +69 -69
  217. package/dist/{SearchSection-B94YN_6P.cjs → SearchSection-DUY61r3k.cjs} +6 -6
  218. package/dist/SearchSection.cjs +1 -1
  219. package/dist/SearchSection.js +1 -1
  220. package/dist/Separator.cjs +1 -1
  221. package/dist/Separator.js +3 -3
  222. package/dist/SeparatorSection.cjs +3 -3
  223. package/dist/SeparatorSection.js +4 -4
  224. package/dist/ShopCardsSection.cjs +11 -5
  225. package/dist/ShopCardsSection.js +40 -34
  226. package/dist/Sidebar.cjs +1 -1
  227. package/dist/Sidebar.js +1 -1
  228. package/dist/SimpleCategoriesSection.cjs +9 -5
  229. package/dist/SimpleCategoriesSection.js +61 -57
  230. package/dist/SimpleProductsSection.cjs +44 -11
  231. package/dist/SimpleProductsSection.js +100 -67
  232. package/dist/{SoundCloud-C6R6E6Zc.cjs → SoundCloud-BsL6Onq6.cjs} +1 -1
  233. package/dist/{SoundCloud-lO8wg_0s.js → SoundCloud-Cfaj1Ze1.js} +1 -1
  234. package/dist/Spinner.cjs +1 -1
  235. package/dist/Spinner.js +1 -1
  236. package/dist/StatsSection.cjs +3 -3
  237. package/dist/StatsSection.js +11 -11
  238. package/dist/{Streamable-Dwa5ZEK4.js → Streamable-CG8_-_w7.js} +1 -1
  239. package/dist/{Streamable-DZO95CiT.cjs → Streamable-DFtyk9Dt.cjs} +1 -1
  240. package/dist/Surface.cjs +1 -1
  241. package/dist/Surface.js +1 -1
  242. package/dist/SwipeableDrawer.cjs +1 -1
  243. package/dist/SwipeableDrawer.js +1 -1
  244. package/dist/TabItem.cjs +1 -1
  245. package/dist/TabItem.js +1 -1
  246. package/dist/Table.cjs +54 -49
  247. package/dist/Table.js +417 -401
  248. package/dist/TableView.cjs +10 -2
  249. package/dist/TableView.js +84 -75
  250. package/dist/TextAreaInput.cjs +1 -1
  251. package/dist/TextAreaInput.js +1 -1
  252. package/dist/TextInput.cjs +1 -1
  253. package/dist/TextInput.js +1 -1
  254. package/dist/ThemeProvider.cjs +4 -4
  255. package/dist/ThemeProvider.js +11 -10
  256. package/dist/TimeInput.cjs +1 -1
  257. package/dist/TimeInput.js +1 -1
  258. package/dist/Toggle.cjs +1 -1
  259. package/dist/Toggle.js +1 -1
  260. package/dist/ToggleSection.cjs +7 -7
  261. package/dist/ToggleSection.js +38 -38
  262. package/dist/TreeMenuSeparator.cjs +1 -1
  263. package/dist/TreeMenuSeparator.js +3 -3
  264. package/dist/{Twitch-B17oKtD0.cjs → Twitch-BIUEEDiE.cjs} +1 -1
  265. package/dist/{Twitch-C73-dwWo.js → Twitch-CbU_0Tx9.js} +1 -1
  266. package/dist/UploadedFile.cjs +1 -1
  267. package/dist/UploadedFile.js +7 -7
  268. package/dist/UrgentSaleProductsSection.cjs +10 -4
  269. package/dist/UrgentSaleProductsSection.js +67 -61
  270. package/dist/{Vidyard-s1MMcaRm.cjs → Vidyard-QkjVIros.cjs} +1 -1
  271. package/dist/{Vidyard-B6GdBHsM.js → Vidyard-S6Fl_F78.js} +1 -1
  272. package/dist/{Vimeo-kzHz4Gco.js → Vimeo-5bkeYCV4.js} +1 -1
  273. package/dist/{Vimeo-J1l_SU2E.cjs → Vimeo-B5jsifNT.cjs} +1 -1
  274. package/dist/{Wistia-CudQyDHM.cjs → Wistia-dpbMmx23.cjs} +1 -1
  275. package/dist/{Wistia-w4jnqd7y.js → Wistia-gOZBV0XZ.js} +1 -1
  276. package/dist/{YouTube-BAYKouHS.cjs → YouTube-BfZRCB6O.cjs} +1 -1
  277. package/dist/{YouTube-BKyipPZx.js → YouTube-XoIB4ATQ.js} +1 -1
  278. package/dist/breakpoints-CcVm-gVm.cjs +1 -0
  279. package/dist/breakpoints-ff0SIcV3.js +91 -0
  280. package/dist/{index-u_XFwsvc.js → index-9KyU46J0.js} +11 -9
  281. package/dist/{index-CSgGox95.cjs → index-B9c6y2J5.cjs} +3 -3
  282. package/dist/{index-CS4w87SW.cjs → index-BEgD9vNo.cjs} +9 -9
  283. package/dist/{index-BC2PHcI1.js → index-BWeXujWl.js} +10 -10
  284. package/dist/index-B_ilx3wM.cjs +16 -0
  285. package/dist/{index-B22BZVBG.js → index-BvMY2TbK.js} +1 -1
  286. package/dist/{index-CwMCk9wV.js → index-BzSWu-7v.js} +67 -67
  287. package/dist/{index-TIqKd2Dv.js → index-C-uOIDDa.js} +2 -2
  288. package/dist/{index-bihqNqQk.js → index-C4HycAPS.js} +6 -6
  289. package/dist/{index-BWE-RCPy.cjs → index-CBZ-jNah.cjs} +4 -4
  290. package/dist/{index-D_5jNP-o.cjs → index-CUaeb_TU.cjs} +5 -5
  291. package/dist/{index-DK8dqEUQ.js → index-CoQ9APCD.js} +11 -11
  292. package/dist/{index-BAJkosVg.cjs → index-CsTfXxpp.cjs} +2 -2
  293. package/dist/{index-D0JDnm9b.cjs → index-Dc0EEBRW.cjs} +4 -4
  294. package/dist/{index-uwl7BjRF.cjs → index-DsINTjQk.cjs} +1 -1
  295. package/dist/{index-Cm414y95.js → index-L_Va5-wK.js} +13 -13
  296. package/dist/{index-CBMsUFkS.js → index-hC-E71GE.js} +11 -11
  297. package/dist/{index-BFc3nxYZ.cjs → index-of6WydGq.cjs} +4 -2
  298. package/dist/{index-BASX-BjS.js → index-rYUwBlpp.js} +63 -63
  299. package/dist/{index-D0IYt1s3.cjs → index-uCWKRzoS.cjs} +2 -2
  300. package/dist/{index-CRk3vcd4.cjs → index-vQOR22Py.cjs} +4 -4
  301. package/dist/{index-D-86mDtn.js → index-yARaIaLj.js} +29 -29
  302. package/dist/index.cjs +1 -1
  303. package/dist/index.js +213 -194
  304. package/dist/{style-BTTXJFJN.cjs → style-AYc9hnFj.cjs} +14 -2
  305. package/dist/{style-neMbLWE6.js → style-BUyFad_y.js} +4 -4
  306. package/dist/{style-tw6KjI2J.js → style-Bq3rMbnN.js} +16 -4
  307. package/dist/{style-B4kAj6YU.cjs → style-DC05rdyx.cjs} +5 -5
  308. package/dist/{tag-Dm8CW4TM.js → tag-Bi8gg6hJ.js} +12 -12
  309. package/dist/{tag-UQjq2_Ba.cjs → tag-DSnhWWHE.cjs} +5 -5
  310. package/dist/{utils-DtEfC-TX.js → theme-Befg4g_L.js} +19 -378
  311. package/dist/theme-Q3WOGKWQ.cjs +1 -0
  312. package/dist/{useDetectMobile-Bkvj0VMa.js → useDetectMobile-CcVo3PNi.js} +1 -1
  313. package/dist/useDetectMobile-DYV6V1yw.cjs +1 -0
  314. package/dist/utils-B2fsQ6PS.js +334 -0
  315. package/dist/utils-CITgSxXe.cjs +51 -0
  316. package/package.json +1 -1
  317. package/dist/consts-BuFChS64.js +0 -7
  318. package/dist/consts-goSZX3xP.cjs +0 -1
  319. package/dist/index-D-3I_Ppj.cjs +0 -16
  320. package/dist/useDetectMobile-zkbzoOGV.cjs +0 -1
  321. package/dist/utils-RnrgDDZP.cjs +0 -51
@@ -1,12 +1,12 @@
1
1
  import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as I, useState as w, useRef as B, useEffect as re } from "react";
3
- import { x as ae, k as te, l as G, s as ie } from "./utils-DtEfC-TX.js";
3
+ import { y as ae, l as te, m as J, s as ie } from "./utils-B2fsQ6PS.js";
4
4
  import z from "./Button.js";
5
- import { s as E } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { M as U, C as H, a as P } from "./consts-BuFChS64.js";
5
+ import { s as U } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
+ import { d as E } from "./breakpoints-ff0SIcV3.js";
7
7
  import M from "./Icon.js";
8
8
  import ne from "./ProgressBar.js";
9
- const le = E.div`
9
+ const le = U.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  justify-content: center;
@@ -57,7 +57,7 @@ const le = E.div`
57
57
  }
58
58
  }
59
59
 
60
- @media (max-width: ${U + "px"}) {
60
+ @media ${E("S")} {
61
61
  & .wrapper__title {
62
62
  font-size: 1.375rem;
63
63
  line-height: 1.75rem;
@@ -68,7 +68,7 @@ const le = E.div`
68
68
  line-height: 1.25rem;
69
69
  }
70
70
  }
71
- `, ce = E.div`
71
+ `, ce = U.div`
72
72
  display: flex;
73
73
  flex-direction: column;
74
74
  align-items: flex-start;
@@ -258,7 +258,7 @@ const le = E.div`
258
258
  }
259
259
  }
260
260
 
261
- @media (max-width: ${U + "px"}) {
261
+ @media ${E("S")} {
262
262
  & .wrapper__content {
263
263
  & .wrapper__item {
264
264
  & .wrapper__answers {
@@ -267,7 +267,7 @@ const le = E.div`
267
267
  }
268
268
  }
269
269
  }
270
- `, oe = E.div`
270
+ `, oe = U.div`
271
271
  display: flex;
272
272
  flex-direction: column;
273
273
  align-items: flex-start;
@@ -357,7 +357,7 @@ const le = E.div`
357
357
  }
358
358
  }
359
359
 
360
- @media (max-width: ${U + "px"}) {
360
+ @media ${E("S")} {
361
361
  width: 100%;
362
362
 
363
363
  & .wrapper__actions {
@@ -389,7 +389,7 @@ const le = E.div`
389
389
  }
390
390
  )
391
391
  ] })
392
- ), pe = I(
392
+ ), F = 26, P = 2 * Math.PI * F, pe = I(
393
393
  ({
394
394
  questionNoText: g,
395
395
  questionNo: o,
@@ -400,9 +400,9 @@ const le = E.div`
400
400
  selectedAnswer: e,
401
401
  secondsPerQuestion: R,
402
402
  nextText: C = "Next",
403
- giveUpText: Z = "Give up",
404
- nextDisabled: $ = !0,
405
- onSelectAnswer: W = () => {
403
+ giveUpText: $ = "Give up",
404
+ nextDisabled: W = !0,
405
+ onSelectAnswer: Z = () => {
406
406
  },
407
407
  onGiveUp: j = () => {
408
408
  },
@@ -410,11 +410,11 @@ const le = E.div`
410
410
  },
411
411
  selectedAnswerIndex: p
412
412
  }, N) => {
413
- const [m, k] = w(R), [u, T] = w(!0), x = B(null);
414
- re(() => (u && m > 0 && (x.current = setInterval(() => {
413
+ const [m, k] = w(R), [u, S] = w(!0), v = B(null);
414
+ re(() => (u && m > 0 && (v.current = setInterval(() => {
415
415
  k((d) => d > 0 ? d - 1 : 0);
416
- }, 1e3)), () => clearInterval(x.current)), [u, m]);
417
- const L = m > 0 ? m / R * P : 0;
416
+ }, 1e3)), () => clearInterval(v.current)), [u, m]);
417
+ const A = m > 0 ? m / R * P : 0;
418
418
  return /* @__PURE__ */ t(ce, { ref: N, children: [
419
419
  /* @__PURE__ */ t("div", { className: "wrapper__headline", children: [
420
420
  /* @__PURE__ */ t("div", { className: "wrapper__question-no", children: [
@@ -435,7 +435,7 @@ const le = E.div`
435
435
  className: "ring__progres-background",
436
436
  cx: "30",
437
437
  cy: "30",
438
- r: H,
438
+ r: F,
439
439
  stroke: "#e0e0e0",
440
440
  strokeWidth: "4",
441
441
  fill: "transparent"
@@ -447,14 +447,14 @@ const le = E.div`
447
447
  className: "ring__progres",
448
448
  cx: "30",
449
449
  cy: "30",
450
- r: H,
450
+ r: F,
451
451
  stroke: "#d97706",
452
452
  strokeWidth: "4",
453
453
  fill: "transparent",
454
454
  strokeLinecap: "round",
455
455
  transform: "rotate(-90 30 30)",
456
456
  strokeDasharray: P,
457
- strokeDashoffset: P - L
457
+ strokeDashoffset: P - A
458
458
  }
459
459
  )
460
460
  ] }),
@@ -468,7 +468,7 @@ const le = E.div`
468
468
  "div",
469
469
  {
470
470
  className: `wrapper__answer ${n === i && n === p ? "active" : te(e) && n !== p && p === i ? "incorrect" : ""}`,
471
- onClick: () => W(d, i),
471
+ onClick: () => Z(d, i),
472
472
  children: [
473
473
  `${String.fromCharCode(65 + i)}: ${d}`,
474
474
  n === i && n === p && /* @__PURE__ */ r(
@@ -496,7 +496,7 @@ const le = E.div`
496
496
  /* @__PURE__ */ r(
497
497
  z,
498
498
  {
499
- text: Z,
499
+ text: $,
500
500
  borderRadius: "curved",
501
501
  size: "medium",
502
502
  className: "wrapper__action action__give-up",
@@ -510,7 +510,7 @@ const le = E.div`
510
510
  borderRadius: "curved",
511
511
  size: "medium",
512
512
  className: "wrapper__action action__next",
513
- disabled: $,
513
+ disabled: W,
514
514
  onClick: D
515
515
  }
516
516
  )
@@ -571,7 +571,7 @@ const le = E.div`
571
571
  START_QUIZ: 0,
572
572
  QUIZ: 1,
573
573
  CORRECT_ANSWER: 2
574
- }, de = E.div`
574
+ }, de = U.div`
575
575
  display: flex;
576
576
  width: 100%;
577
577
  align-items: center;
@@ -595,7 +595,7 @@ const le = E.div`
595
595
  border-radius: 0.75rem;
596
596
  }
597
597
 
598
- @media (max-width: ${U + "px"}) {
598
+ @media ${E("S")} {
599
599
  & .wrapper__outlet {
600
600
  padding: 0;
601
601
  }
@@ -615,9 +615,9 @@ const le = E.div`
615
615
  questions: e,
616
616
  secondsPerQuestion: R,
617
617
  numberOfCredits: C,
618
- startQuizText: Z = "Start quiz",
619
- nextText: $ = "Next",
620
- giveUpText: W = "Give up",
618
+ startQuizText: $ = "Start quiz",
619
+ nextText: W = "Next",
620
+ giveUpText: Z = "Give up",
621
621
  questionNoText: j = "Question",
622
622
  continueText: D = "Continue",
623
623
  endQuizText: p = "End quiz",
@@ -629,29 +629,29 @@ const le = E.div`
629
629
  },
630
630
  onNext: u = () => {
631
631
  },
632
- onContinue: T = () => {
632
+ onContinue: S = () => {
633
633
  },
634
- onEndQuiz: x = () => {
634
+ onEndQuiz: v = () => {
635
635
  }
636
- }, L) => {
637
- const [d, i] = w(l.START_QUIZ), [_, v] = w(0), [a, A] = w(null), [O, y] = w(null), [F, b] = w(null), X = B([]), Q = B(0), J = () => {
636
+ }, A) => {
637
+ const [d, i] = w(l.START_QUIZ), [_, x] = w(0), [a, L] = w(null), [O, y] = w(null), [G, b] = w(null), H = B([]), T = B(0), K = () => {
638
638
  var c;
639
- i(l.QUIZ), A(
639
+ i(l.QUIZ), L(
640
640
  // questions?.find((question) => question?.questionNo === questionNo)
641
641
  (c = e == null ? void 0 : e.at) == null ? void 0 : c.call(e, _)
642
642
  ), N == null || N();
643
- }, K = (c, S) => {
644
- b(S), y(c), m == null || m();
645
- }, V = () => {
646
- i(l.START_QUIZ), v(0), y(null), b(null), k == null || k();
643
+ }, V = (c, Q) => {
644
+ b(Q), y(c), m == null || m();
645
+ }, X = () => {
646
+ i(l.START_QUIZ), x(0), y(null), b(null), k == null || k();
647
647
  }, Y = () => {
648
- var S;
649
- const c = F === (a == null ? void 0 : a.correctAnswerIndex);
650
- c ? (i(l.CORRECT_ANSWER), Q.current += C || (a == null ? void 0 : a.numberOfCredits)) : _ === (e == null ? void 0 : e.length) - 1 ? (i(l.START_QUIZ), v(0), y(null), b(null)) : (v(_ + 1), A(
648
+ var Q;
649
+ const c = G === (a == null ? void 0 : a.correctAnswerIndex);
650
+ c ? (i(l.CORRECT_ANSWER), T.current += C || (a == null ? void 0 : a.numberOfCredits)) : _ === (e == null ? void 0 : e.length) - 1 ? (i(l.START_QUIZ), x(0), y(null), b(null)) : (x(_ + 1), L(
651
651
  // questions?.find((question) => question?.questionNo === questionNo + 1)
652
- (S = e == null ? void 0 : e.at) == null ? void 0 : S.call(e, _ + 1)
653
- ), y(null), b(null)), X.current = [
654
- ...X.current,
652
+ (Q = e == null ? void 0 : e.at) == null ? void 0 : Q.call(e, _ + 1)
653
+ ), y(null), b(null)), H.current = [
654
+ ...H.current,
655
655
  {
656
656
  question: a,
657
657
  selectedAnswer: O,
@@ -660,22 +660,22 @@ const le = E.div`
660
660
  ], u == null || u();
661
661
  }, q = () => {
662
662
  var c;
663
- _ === (e == null ? void 0 : e.length) - 1 ? (i(l.START_QUIZ), v(0)) : (i(l.QUIZ), v(_ + 1), A(
663
+ _ === (e == null ? void 0 : e.length) - 1 ? (i(l.START_QUIZ), x(0)) : (i(l.QUIZ), x(_ + 1), L(
664
664
  // questions?.find((question) => question?.questionNo === questionNo + 1)
665
665
  (c = e == null ? void 0 : e.at) == null ? void 0 : c.call(e, _ + 1)
666
- )), y(null), b(null), T == null || T(Q == null ? void 0 : Q.current);
666
+ )), y(null), b(null), S == null || S(T == null ? void 0 : T.current);
667
667
  }, ee = () => {
668
- i(l.START_QUIZ), v(0), y(null), b(null), x == null || x();
668
+ i(l.START_QUIZ), x(0), y(null), b(null), v == null || v();
669
669
  };
670
- return /* @__PURE__ */ t(de, { ref: L, children: [
670
+ return /* @__PURE__ */ t(de, { ref: A, children: [
671
671
  /* @__PURE__ */ t("div", { className: "wrapper__outlet", children: [
672
672
  d === l.START_QUIZ && /* @__PURE__ */ r(
673
673
  se,
674
674
  {
675
675
  title: g,
676
676
  description: o,
677
- startQuizText: Z,
678
- onStartQuiz: J
677
+ startQuizText: $,
678
+ onStartQuiz: K
679
679
  }
680
680
  ),
681
681
  d === l.QUIZ && a && /* @__PURE__ */ r(
@@ -689,13 +689,13 @@ const le = E.div`
689
689
  secondsPerQuestion: R || (a == null ? void 0 : a.secondsPerQuestion),
690
690
  correctAnswerIndex: a == null ? void 0 : a.correctAnswerIndex,
691
691
  selectedAnswer: O,
692
- nextText: $,
693
- giveUpText: W,
694
- nextDisabled: !G(O),
695
- onSelectAnswer: K,
696
- onGiveUp: V,
692
+ nextText: W,
693
+ giveUpText: Z,
694
+ nextDisabled: !J(O),
695
+ onSelectAnswer: V,
696
+ onGiveUp: X,
697
697
  onNext: Y,
698
- selectedAnswerIndex: F
698
+ selectedAnswerIndex: G
699
699
  },
700
700
  `quiz-question__${_}`
701
701
  ),
@@ -714,7 +714,7 @@ const le = E.div`
714
714
  }
715
715
  )
716
716
  ] }),
717
- G(n) ? n : /* @__PURE__ */ r("img", { src: s, className: "wrapper__image" })
717
+ J(n) ? n : /* @__PURE__ */ r("img", { src: s, className: "wrapper__image" })
718
718
  ] });
719
719
  }
720
720
  );
@@ -1,4 +1,4 @@
1
- "use strict";const l=require("react/jsx-runtime"),h=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-RnrgDDZP.cjs"),O=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=e=>e=="left"?"row-reverse":"row",B=g.styled.label`
1
+ "use strict";const l=require("react/jsx-runtime"),h=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CITgSxXe.cjs"),O=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=e=>e=="left"?"row-reverse":"row",B=g.styled.label`
2
2
  min-height: ${e=>t.getSizeValueWithUnits(e.theme,e.size)};
3
3
  max-height: ${e=>t.getSizeValueWithUnits(e.theme,e.size)};
4
4
  width: 100%;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as u, jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as B, useState as j } from "react";
3
3
  import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { d as b, c as N, e as P, b as i } from "./utils-DtEfC-TX.js";
4
+ import { e as b, d as N, f as P, c as i } from "./utils-B2fsQ6PS.js";
5
5
  import { u as F } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const I = (e) => e == "left" ? "row-reverse" : "row", L = f.label`
7
7
  min-height: ${(e) => b(e.theme, e.size)};
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("react"),a=require("./utils-RnrgDDZP.cjs"),F=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),U=require("./useUpdateEffect-BtMgpgIV.cjs"),_=({theme:e,size:i})=>{var u=a.getSizeValueWithUnits(e,i);return`
1
+ "use strict";const t=require("react/jsx-runtime"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("react"),a=require("./utils-CITgSxXe.cjs"),F=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),U=require("./useUpdateEffect-BtMgpgIV.cjs"),_=({theme:e,size:i})=>{var u=a.getSizeValueWithUnits(e,i);return`
2
2
  min-height: ${u};
3
3
  max-height: ${u};
4
4
  `},g={small:"0.875rem",medium:"1.125rem",large:"1.375rem"},T=x.styled.div`
@@ -1,7 +1,7 @@
1
1
  import { jsxs as M, jsx as t, Fragment as L } from "react/jsx-runtime";
2
2
  import { s as v } from "./emotion-styled.browser.esm-BNN1dTl3.js";
3
3
  import { forwardRef as W, useRef as X, useState as f, useCallback as q, useEffect as N } from "react";
4
- import { a as A, b as r, c as D, d as G } from "./utils-DtEfC-TX.js";
4
+ import { b as A, c as r, d as D, e as G } from "./utils-B2fsQ6PS.js";
5
5
  import { u as H } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  import { u as J } from "./useUpdateEffect-CuYWz7EA.js";
7
7
  const K = ({ theme: e, size: o }) => {
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),g=require("react"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-goSZX3xP.cjs"),S=require("./useDetectMobile-zkbzoOGV.cjs"),w=require("./utils-RnrgDDZP.cjs"),v=require("./ThemeProvider.cjs"),k=require("./index-uwl7BjRF.cjs"),i=require("./style-BAcV7F53.cjs"),R=s.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),g=require("react"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),S=require("./useDetectMobile-DYV6V1yw.cjs"),b=require("./utils-CITgSxXe.cjs"),k=require("./ThemeProvider.cjs"),v=require("./index-DsINTjQk.cjs"),i=require("./style-BAcV7F53.cjs"),R=l.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  color: var(--darkest-950);
@@ -8,20 +8,28 @@
8
8
  font-weight: 600;
9
9
  font-size: 1.5rem;
10
10
  }
11
- `,y=s.styled.div`
11
+ `,y=l.styled.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: ${j.MOBILE_SIZE_PX+"px"}) {
16
+ @media ${w.down("M")} {
17
+ grid-template-columns: repeat(2, 1fr);
18
+ }
19
+
20
+ @media ${w.down("S")} {
21
+ grid-template-columns: repeat(2, 1fr);
22
+ }
23
+
24
+ @media ${w.down("XS")} {
17
25
  grid-template-columns: repeat(1, 1fr);
18
26
  }
19
- `,P=s.styled.a`
27
+ `,$=l.styled.a`
20
28
  padding-top: 5rem;
21
29
  overflow: hidden;
22
30
  text-decoration: none;
23
31
  color: var(--gray-950);
24
- `,$=s.styled.div`
32
+ `,C=l.styled.div`
25
33
  position: relative;
26
34
  cursor: pointer;
27
35
  display: flex;
@@ -53,11 +61,11 @@
53
61
  font-size: 1.375rem;
54
62
  font-weight: 600;
55
63
  color: var(--gray-950, #14161a);
56
- ${w.truncateText()}
64
+ ${b.truncateText()}
57
65
  }
58
66
 
59
67
  & .cont-text {
60
- ${w.truncateTextInRows(2)}
68
+ ${b.truncateTextInRows(2)}
61
69
  }
62
70
  }
63
71
 
@@ -77,9 +85,9 @@
77
85
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
78
86
  0px 4px 6px -2px rgba(0, 0, 0, 0.05);
79
87
  }
80
- `,b=(t,o)=>w.getComponentPropValue(t.theme,"StarRating",t.color,t.disabled===!0?"disabled":"enabled",o),C=s.styled.div`
81
- font-size: ${t=>b(t,"fontSize")};
82
- line-height: ${t=>b(t,"lineHeight")};
88
+ `,j=(t,o)=>b.getComponentPropValue(t.theme,"StarRating",t.color,t.disabled===!0?"disabled":"enabled",o),P=l.styled.div`
89
+ font-size: ${t=>j(t,"fontSize")};
90
+ line-height: ${t=>j(t,"lineHeight")};
83
91
  line-height: 1.5rem;
84
92
  width: fit-content;
85
93
  display: flex;
@@ -98,7 +106,7 @@
98
106
  line-height: 1.5rem;
99
107
  color: ${t=>t.color};
100
108
  }
101
- `,L=s.styled.span`
109
+ `,L=l.styled.span`
102
110
  position: absolute;
103
111
  z-index: 1;
104
112
  display: block;
@@ -107,14 +115,14 @@
107
115
  overflow: hidden;
108
116
  width: ${t=>t.width}%;
109
117
 
110
- color: ${t=>w.getColorRgbaValue(t.theme,"StarRating",t.color,t.disabled===!0?"disabled":"enabled","filledColor")};
111
- `,N=s.styled.span`
118
+ color: ${t=>b.getColorRgbaValue(t.theme,"StarRating",t.color,t.disabled===!0?"disabled":"enabled","filledColor")};
119
+ `,N=l.styled.span`
112
120
  padding: 0;
113
121
  display: block;
114
122
  z-index: 0;
115
123
  color: ${t=>t.color};
116
- `,q=g.forwardRef((t,o)=>{const{rating:l=0,reviewCount:n=null,disabled:a=!1,tabIndex:d=0,className:p="",style:h={},color:c="primary",size:u="large"}=t,{theme:r}=v.useTheme(),m={theme:r,color:c,size:u,style:h,disabled:a},f=l/5*100;return e.jsxs(C,{ref:o,tabIndex:d,...m,className:`star-rating ${p}`,children:[e.jsxs("div",{className:"rating",children:[e.jsx(L,{className:"filled-stars",...m,width:f,children:"★★★★★"}),e.jsx(N,{...m,children:"★★★★★"})]}),!isNaN(n)&&Number.isFinite(n)&&e.jsx("div",{className:"review-count",children:`(${n.toLocaleString()})`})]})}),z=g.forwardRef((t,o)=>{const{image:l,text:n,title:a,link:d,rating:p,onSelectCard:h=()=>{},LinkComponent:c}=t,u=c||"a";return e.jsx(P,{ref:o,className:"review-card",onClick:h,as:u,...c?{to:`/${d}`}:{href:`/${d}`},children:e.jsxs($,{children:[e.jsx(k.ProductImageWrapper,{src:l}),e.jsxs("div",{className:"cont",children:[e.jsx("span",{className:"cont-title",children:a}),e.jsx("div",{className:"cont-text",children:n})]}),e.jsx(q,{color:"warning",rating:p})]})})}),M=s.styled(i.SkeletonRowWrapper)`
117
- @media (max-width: ${j.MOBILE_SIZE_PX+"px"}) {
124
+ `,q=g.forwardRef((t,o)=>{const{rating:a=0,reviewCount:n=null,disabled:s=!1,tabIndex:d=0,className:p="",style:h={},color:c="primary",size:u="large"}=t,{theme:r}=k.useTheme(),m={theme:r,color:c,size:u,style:h,disabled:s},x=a/5*100;return e.jsxs(P,{ref:o,tabIndex:d,...m,className:`star-rating ${p}`,children:[e.jsxs("div",{className:"rating",children:[e.jsx(L,{className:"filled-stars",...m,width:x,children:"★★★★★"}),e.jsx(N,{...m,children:"★★★★★"})]}),!isNaN(n)&&Number.isFinite(n)&&e.jsx("div",{className:"review-count",children:`(${n.toLocaleString()})`})]})}),z=g.forwardRef((t,o)=>{const{image:a,text:n,title:s,link:d,rating:p,onSelectCard:h=()=>{},LinkComponent:c}=t,u=c||"a";return e.jsx($,{ref:o,className:"review-card",onClick:h,as:u,...c?{to:`/${d}`}:{href:`/${d}`},children:e.jsxs(C,{children:[e.jsx(v.ProductImageWrapper,{src:a}),e.jsxs("div",{className:"cont",children:[e.jsx("span",{className:"cont-title",children:s}),e.jsx("div",{className:"cont-text",children:n})]}),e.jsx(q,{color:"warning",rating:p})]})})}),M=l.styled(i.SkeletonRowWrapper)`
125
+ @media ${w.down("S")} {
118
126
  flex-direction: column;
119
127
 
120
128
  & > div {
@@ -125,4 +133,4 @@
125
133
  }
126
134
  }
127
135
  }
128
- `,W=({keyPrefix:t})=>e.jsxs(M,{children:[e.jsxs(i.SkeletonColumnWrapper,{children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"6.25rem",width:"6.25rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${t}-1`),e.jsxs(i.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"6.25rem",width:"6.25rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${t}-2`),e.jsxs(i.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"6.25rem",width:"6.25rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${t}-3`)]}),E=({keyPrefix:t,isLoading:o=!1,fallbackComponent:l=e.jsx(e.Fragment,{}),children:n})=>e.jsx(g.Suspense,{fallbackComponent:l,children:o===!0?e.jsx(W,{keyPrefix:t}):n}),x=g.memo(z),I=g.forwardRef((t,o)=>{const{title:l="Electronics reviews",items:n,limit:a=3,onSelectCard:d=()=>{},isLoading:p=!1,LinkComponent:h}=t,c=S.useDetectMobile(),u=g.useMemo(()=>e.jsx(e.Fragment,{children:c===!0?n==null?void 0:n.map((r,m)=>e.jsx(x,{text:r==null?void 0:r.text,title:r==null?void 0:r.title,image:r==null?void 0:r.image,link:r==null?void 0:r.link,rating:r==null?void 0:r.ratingArithmeticMean,onSelectCard:()=>d(r),LinkComponent:h},m)):n==null?void 0:n.slice(0,a).map((r,m)=>e.jsx(x,{text:r==null?void 0:r.text,title:r==null?void 0:r.title,image:r==null?void 0:r.image,link:r==null?void 0:r.link,rating:r==null?void 0:r.ratingArithmeticMean,onSelectCard:()=>d(r),LinkComponent:h},m))}),[n,c,a]);return e.jsxs(R,{ref:o,children:[e.jsx("div",{className:"container-title",children:l}),e.jsx(E,{isLoading:p,keyPrefix:"reviews-skeleton",children:e.jsx(y,{limit:a,children:u})})]})});module.exports=I;
136
+ `,W=({keyPrefix:t})=>e.jsxs(M,{children:[e.jsxs(i.SkeletonColumnWrapper,{children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"6.25rem",width:"6.25rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${t}-1`),e.jsxs(i.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"6.25rem",width:"6.25rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${t}-2`),e.jsxs(i.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"6.25rem",width:"6.25rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${t}-3`)]}),F=({keyPrefix:t,isLoading:o=!1,fallbackComponent:a=e.jsx(e.Fragment,{}),children:n})=>e.jsx(g.Suspense,{fallbackComponent:a,children:o===!0?e.jsx(W,{keyPrefix:t}):n}),f=g.memo(z),G=g.forwardRef((t,o)=>{const{title:a="Electronics reviews",items:n,limit:s=3,onSelectCard:d=()=>{},isLoading:p=!1,LinkComponent:h}=t,c=S.useDetectMobile(),u=g.useMemo(()=>e.jsx(e.Fragment,{children:c===!0?n==null?void 0:n.map((r,m)=>e.jsx(f,{text:r==null?void 0:r.text,title:r==null?void 0:r.title,image:r==null?void 0:r.image,link:r==null?void 0:r.link,rating:r==null?void 0:r.ratingArithmeticMean,onSelectCard:()=>d(r),LinkComponent:h},m)):n==null?void 0:n.slice(0,s).map((r,m)=>e.jsx(f,{text:r==null?void 0:r.text,title:r==null?void 0:r.title,image:r==null?void 0:r.image,link:r==null?void 0:r.link,rating:r==null?void 0:r.ratingArithmeticMean,onSelectCard:()=>d(r),LinkComponent:h},m))}),[n,c,s]);return e.jsxs(R,{ref:o,children:[e.jsx("div",{className:"container-title",children:a}),e.jsx(F,{isLoading:p,keyPrefix:"reviews-skeleton",children:e.jsx(y,{limit:s,children:u})})]})});module.exports=G;