@lanaco/lnc-react-ui 4.0.205 → 4.0.207

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 +27 -6
  21. package/dist/BannerSectionCarousel.js +71 -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 +107 -117
  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 +13 -9
  163. package/dist/MasonryGeneralCardsSection.js +34 -30
  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
- import { jsxs as o, jsx as r, Fragment as C } from "react/jsx-runtime";
2
- import { forwardRef as S, Suspense as E, useLayoutEffect as q } from "react";
3
- import { m as N, l as T, k as j } from "./utils-DtEfC-TX.js";
4
- import A from "./Icon.js";
1
+ import { jsxs as o, jsx as r, Fragment as O } from "react/jsx-runtime";
2
+ import { forwardRef as z, Suspense as G, useLayoutEffect as R } from "react";
3
+ import { n as N, m as W, l as q } from "./utils-B2fsQ6PS.js";
4
+ import T from "./Icon.js";
5
5
  import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
6
- import { M as b } from "./consts-BuFChS64.js";
7
- import { u as B } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- import { S as D, b as _, d as g, a as p } from "./style-BwQ4djFC.js";
9
- const H = $.a`
6
+ import { d as u } from "./breakpoints-ff0SIcV3.js";
7
+ import { u as j } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
+ import { S as A, b as w, d as _, a as g } from "./style-BwQ4djFC.js";
9
+ const D = $.a`
10
10
  text-decoration: none;
11
11
  color: var(--gray-950);
12
12
  display: flex;
@@ -61,7 +61,7 @@ const H = $.a`
61
61
  }
62
62
  }
63
63
 
64
- @media (max-width: ${b + "px"}) {
64
+ @media ${u("S")} {
65
65
  & .wrapper__content {
66
66
  & .wrapper__title {
67
67
  font-size: 0.875rem;
@@ -73,7 +73,7 @@ const H = $.a`
73
73
  }
74
74
  }
75
75
  }
76
- `, X = $.div`
76
+ `, H = $.div`
77
77
  display: flex;
78
78
  flex-direction: column;
79
79
  align-items: center;
@@ -124,7 +124,7 @@ const H = $.a`
124
124
  }
125
125
  }
126
126
 
127
- @media (max-width: ${b + "px"}) {
127
+ @media ${u("S")} {
128
128
  max-width: unset;
129
129
  min-width: unset;
130
130
  flex-direction: row;
@@ -164,47 +164,47 @@ const H = $.a`
164
164
  max-width: unset;
165
165
  }
166
166
  }
167
- `, Z = S(
168
- ({ text: t, isActive: l = !1, icon: i, onSelectCard: n = () => {
169
- } }, h) => /* @__PURE__ */ o(
170
- X,
167
+ `, B = z(
168
+ ({ text: t, isActive: l = !1, icon: i, onSelectCard: a = () => {
169
+ } }, d) => /* @__PURE__ */ o(
170
+ H,
171
171
  {
172
- ref: h,
172
+ ref: d,
173
173
  className: l ? "active" : "",
174
- onClick: n,
174
+ onClick: a,
175
175
  children: [
176
- /* @__PURE__ */ r(A, { icon: i, className: "wrapper__icon" }),
176
+ /* @__PURE__ */ r(T, { icon: i, className: "wrapper__icon" }),
177
177
  /* @__PURE__ */ r("div", { className: "wrapper__text", children: t })
178
178
  ]
179
179
  }
180
180
  )
181
- ), J = S(
181
+ ), J = z(
182
182
  ({
183
183
  image: t,
184
184
  imageComponent: l,
185
185
  title: i,
186
- description: n,
187
- className: h,
186
+ description: a,
187
+ className: d,
188
188
  onSelectCard: k = () => {
189
189
  },
190
- link: u,
191
- LinkComponent: x
190
+ link: x,
191
+ LinkComponent: v
192
192
  }, I) => {
193
- const c = x || "a", { theme: f } = B();
193
+ const c = v || "a", { theme: h } = j();
194
194
  return /* @__PURE__ */ o(
195
- H,
195
+ D,
196
196
  {
197
197
  ref: I,
198
- theme: f,
199
- className: h,
198
+ theme: h,
199
+ className: d,
200
200
  onClick: k,
201
201
  as: c,
202
- ...x ? { to: `/${u}` } : { href: `/${u}` },
202
+ ...v ? { to: `/${x}` } : { href: `/${x}` },
203
203
  children: [
204
- T(l) ? l : /* @__PURE__ */ r("img", { src: t, className: "wrapper__image" }),
204
+ W(l) ? l : /* @__PURE__ */ r("img", { src: t, className: "wrapper__image" }),
205
205
  /* @__PURE__ */ o("div", { className: "wrapper__content", children: [
206
206
  i && /* @__PURE__ */ r("div", { className: "wrapper__title", children: i }),
207
- n && /* @__PURE__ */ r("div", { className: "wrapper__description", children: n })
207
+ a && /* @__PURE__ */ r("div", { className: "wrapper__description", children: a })
208
208
  ] })
209
209
  ]
210
210
  }
@@ -266,153 +266,150 @@ const H = $.a`
266
266
  }
267
267
  }
268
268
 
269
- @media (max-width: ${b + "px"}) {
269
+ @media ${u("M")} {
270
+ & .wrapper__cards {
271
+ grid-template-columns: repeat(2, minmax(12.5rem, 1fr));
272
+ }
273
+ }
274
+
275
+ @media ${u("S")} {
270
276
  gap: 1rem;
271
277
 
272
278
  & .wrapper__cards {
273
279
  grid-template-columns: ${(t) => `repeat(${t == null ? void 0 : t.limitCardsForMobile}, minmax(0, 1fr))`};
274
280
  }
275
281
  }
276
- `, F = $(D)`
282
+ `, Q = $(A)`
277
283
  &.skeleton__tags {
278
284
  max-width: 50rem;
279
285
  }
280
286
 
281
- @media (max-width: ${b + "px"}) {
287
+ @media ${u("S")} {
282
288
  &.skeleton__tags {
283
289
  overflow-x: hidden;
284
290
  }
285
291
  }
286
- `, Q = ({ keyPrefix: t }) => /* @__PURE__ */ o(F, { className: "skeleton__tags", children: [
292
+ `, U = ({ keyPrefix: t }) => /* @__PURE__ */ o(Q, { className: "skeleton__tags", children: [
287
293
  /* @__PURE__ */ o(
288
- _,
294
+ w,
289
295
  {
290
296
  alignItems: "center",
291
297
  gap: "0.5rem",
292
298
  children: [
293
- /* @__PURE__ */ r(g, { width: "2.75rem", height: "2.75rem" }),
294
- /* @__PURE__ */ r(p, { height: "1.5rem", width: "8rem" })
299
+ /* @__PURE__ */ r(_, { width: "2.75rem", height: "2.75rem" }),
300
+ /* @__PURE__ */ r(g, { height: "1.5rem", width: "8rem" })
295
301
  ]
296
302
  },
297
303
  `${t}-1`
298
304
  ),
299
305
  /* @__PURE__ */ o(
300
- _,
306
+ w,
301
307
  {
302
308
  alignItems: "center",
303
309
  gap: "0.5rem",
304
310
  noGradient: !0,
305
311
  children: [
306
- /* @__PURE__ */ r(g, { width: "2.75rem", height: "2.75rem" }),
307
- /* @__PURE__ */ r(p, { height: "1.5rem", width: "8rem" })
312
+ /* @__PURE__ */ r(_, { width: "2.75rem", height: "2.75rem" }),
313
+ /* @__PURE__ */ r(g, { height: "1.5rem", width: "8rem" })
308
314
  ]
309
315
  },
310
316
  `${t}-2`
311
317
  ),
312
318
  /* @__PURE__ */ o(
313
- _,
319
+ w,
314
320
  {
315
321
  alignItems: "center",
316
322
  gap: "0.5rem",
317
323
  noGradient: !0,
318
324
  children: [
319
- /* @__PURE__ */ r(g, { width: "2.75rem", height: "2.75rem" }),
320
- /* @__PURE__ */ r(p, { height: "1.5rem", width: "8rem" })
325
+ /* @__PURE__ */ r(_, { width: "2.75rem", height: "2.75rem" }),
326
+ /* @__PURE__ */ r(g, { height: "1.5rem", width: "8rem" })
321
327
  ]
322
328
  },
323
329
  `${t}-3`
324
330
  ),
325
331
  /* @__PURE__ */ o(
326
- _,
332
+ w,
327
333
  {
328
334
  alignItems: "center",
329
335
  gap: "0.5rem",
330
336
  noGradient: !0,
331
337
  children: [
332
- /* @__PURE__ */ r(g, { width: "2.75rem", height: "2.75rem" }),
333
- /* @__PURE__ */ r(p, { height: "1.5rem", width: "8rem" })
338
+ /* @__PURE__ */ r(_, { width: "2.75rem", height: "2.75rem" }),
339
+ /* @__PURE__ */ r(g, { height: "1.5rem", width: "8rem" })
334
340
  ]
335
341
  },
336
342
  `${t}-4`
337
343
  ),
338
344
  /* @__PURE__ */ o(
339
- _,
345
+ w,
340
346
  {
341
347
  alignItems: "center",
342
348
  gap: "0.5rem",
343
349
  noGradient: !0,
344
350
  children: [
345
- /* @__PURE__ */ r(g, { width: "2.75rem", height: "2.75rem" }),
346
- /* @__PURE__ */ r(p, { height: "1.5rem", width: "8rem" })
351
+ /* @__PURE__ */ r(_, { width: "2.75rem", height: "2.75rem" }),
352
+ /* @__PURE__ */ r(g, { height: "1.5rem", width: "8rem" })
347
353
  ]
348
354
  },
349
355
  `${t}-5`
350
356
  )
351
- ] }), U = ({
352
- keyPrefix: t,
353
- isLoading: l = !1,
354
- fallbackComponent: i = /* @__PURE__ */ r(C, {}),
355
- children: n
356
- }) => /* @__PURE__ */ r(E, { fallbackComponent: i, children: l === !0 ? /* @__PURE__ */ r(Q, { keyPrefix: t }) : n }), V = ({ keyPrefix: t }) => /* @__PURE__ */ o(F, { className: "skeleton__cards", children: [
357
- /* @__PURE__ */ r(p, { height: "13.75rem" }, `${t}-1`),
358
- /* @__PURE__ */ r(p, { height: "13.75rem" }, `${t}-2`),
359
- /* @__PURE__ */ r(p, { height: "13.75rem" }, `${t}-3`)
360
- ] }), Y = ({
357
+ ] }), V = ({
361
358
  keyPrefix: t,
362
359
  isLoading: l = !1,
363
- fallbackComponent: i = /* @__PURE__ */ r(C, {}),
364
- children: n
365
- }) => /* @__PURE__ */ r(E, { fallbackComponent: i, children: l === !0 ? /* @__PURE__ */ r(V, { keyPrefix: t }) : n }), le = S(
360
+ fallbackComponent: i = /* @__PURE__ */ r(O, {}),
361
+ children: a
362
+ }) => /* @__PURE__ */ r(G, { fallbackComponent: i, children: l === !0 ? /* @__PURE__ */ r(U, { keyPrefix: t }) : a }), ne = z(
366
363
  ({
367
364
  title: t,
368
365
  subtitle: l,
369
366
  tags: i = [],
370
- items: n = [],
371
- limitTags: h = 5,
367
+ items: a = [],
368
+ limitTags: d = 5,
372
369
  limitTagsForMobile: k = 5,
373
- limit: u = 3,
374
- limitForMobile: x = 2,
370
+ limit: x = 3,
371
+ limitForMobile: v = 2,
375
372
  selectedTag: I,
376
373
  onSelectTag: c = () => {
377
374
  },
378
- onSelectCard: f = () => {
375
+ onSelectCard: h = () => {
379
376
  },
380
- className: w,
381
- isLoadingTags: O = !1,
382
- isLoadingCards: z = !1,
383
- LinkComponent: L
384
- }, G) => (q(() => {
385
- if (!j(w))
377
+ className: f,
378
+ isLoadingTags: C = !1,
379
+ // isLoadingCards = false,
380
+ LinkComponent: M
381
+ }, E) => (R(() => {
382
+ if (!q(f))
386
383
  return;
387
384
  const e = () => {
388
- const m = document == null ? void 0 : document.querySelector(`.${w} .wrapper__cards`), s = m == null ? void 0 : m.querySelectorAll(".wrapper__card");
389
- s == null || s.forEach((v) => {
390
- const R = v.getBoundingClientRect().height, W = Math.ceil((R + 10) / 20);
391
- v.style.gridRowEnd = `span ${W}`;
385
+ const m = document == null ? void 0 : document.querySelector(`.${f} .wrapper__cards`), s = m == null ? void 0 : m.querySelectorAll(".wrapper__card");
386
+ s == null || s.forEach((b) => {
387
+ const F = b.getBoundingClientRect().height, L = Math.ceil((F + 10) / 20);
388
+ b.style.gridRowEnd = `span ${L}`;
392
389
  });
393
- const M = s == null ? void 0 : s[(s == null ? void 0 : s.length) - 1];
394
- if (M) {
395
- const v = M.offsetTop + M.offsetHeight;
396
- m.style.height = `${v}px`;
390
+ const S = s == null ? void 0 : s[(s == null ? void 0 : s.length) - 1];
391
+ if (S) {
392
+ const b = S.offsetTop + S.offsetHeight;
393
+ m.style.height = `${b}px`;
397
394
  }
398
- }, d = document == null ? void 0 : document.querySelector(`.${w} .wrapper__cards`), a = d == null ? void 0 : d.querySelectorAll(".wrapper__image");
395
+ }, p = document == null ? void 0 : document.querySelector(`.${f} .wrapper__cards`), n = p == null ? void 0 : p.querySelectorAll(".wrapper__image");
399
396
  let y = 0;
400
- return (a == null ? void 0 : a.length) === 0 ? e() : (a == null || a.forEach((m) => {
397
+ return (n == null ? void 0 : n.length) === 0 ? e() : (n == null || n.forEach((m) => {
401
398
  m.complete ? y++ : m.addEventListener("load", () => {
402
- y++, y === (a == null ? void 0 : a.length) && e();
399
+ y++, y === (n == null ? void 0 : n.length) && e();
403
400
  });
404
- }), y === (a == null ? void 0 : a.length) && e()), window.addEventListener("resize", e), () => {
401
+ }), y === (n == null ? void 0 : n.length) && e()), window.addEventListener("resize", e), () => {
405
402
  window.removeEventListener("resize", e);
406
403
  };
407
- }, [w, n, z]), /* @__PURE__ */ o(
404
+ }, [f, a]), /* @__PURE__ */ o(
408
405
  K,
409
406
  {
410
- ref: G,
411
- limitTags: h,
407
+ ref: E,
408
+ limitTags: d,
412
409
  limitTagsForMobile: k,
413
- limitCards: u,
414
- limitCardsForMobile: x,
415
- className: w,
410
+ limitCards: x,
411
+ limitCardsForMobile: v,
412
+ className: f,
416
413
  numberOfTags: i == null ? void 0 : i.length,
417
414
  children: [
418
415
  /* @__PURE__ */ o("div", { className: "wrapper__heading", children: [
@@ -420,47 +417,40 @@ const H = $.a`
420
417
  l && /* @__PURE__ */ r("div", { className: "wrapper__subtitle", children: l })
421
418
  ] }),
422
419
  /* @__PURE__ */ r(
423
- U,
420
+ V,
424
421
  {
425
- isLoading: O,
422
+ isLoading: C,
426
423
  keyPrefix: "field-of-interests-masonry-tag",
427
- children: /* @__PURE__ */ r("div", { className: "wrapper__tags__external", children: /* @__PURE__ */ r("div", { className: "wrapper__tags", children: i == null ? void 0 : i.map((e, d) => /* @__PURE__ */ r(
428
- Z,
424
+ children: /* @__PURE__ */ r("div", { className: "wrapper__tags__external", children: /* @__PURE__ */ r("div", { className: "wrapper__tags", children: i == null ? void 0 : i.map((e, p) => /* @__PURE__ */ r(
425
+ B,
429
426
  {
430
427
  icon: e == null ? void 0 : e.icon,
431
428
  text: e == null ? void 0 : e.title,
432
429
  isActive: (e == null ? void 0 : e.code) === I,
433
430
  onSelectCard: () => c == null ? void 0 : c(e)
434
431
  },
435
- `field-of-interests-masonry-tag__${d + 1}`
432
+ `field-of-interests-masonry-tag__${p + 1}`
436
433
  )) }) })
437
434
  }
438
435
  ),
439
- /* @__PURE__ */ r(
440
- Y,
436
+ /* @__PURE__ */ r("div", { className: "wrapper__cards", children: a == null ? void 0 : a.map((e, p) => /* @__PURE__ */ r(
437
+ J,
441
438
  {
442
- isLoading: z,
443
- keyPrefix: "field-of-interests-masonry-card",
444
- children: /* @__PURE__ */ r("div", { className: "wrapper__cards", children: n == null ? void 0 : n.map((e, d) => /* @__PURE__ */ r(
445
- J,
446
- {
447
- image: e == null ? void 0 : e.image,
448
- imageComponent: e == null ? void 0 : e.imageComponent,
449
- title: e == null ? void 0 : e.title,
450
- description: e == null ? void 0 : e.description,
451
- onSelectCard: () => f == null ? void 0 : f(e),
452
- className: "wrapper__card",
453
- link: e == null ? void 0 : e.link,
454
- LinkComponent: L
455
- },
456
- `field-of-interests-with-tags-card__${d + 1}`
457
- )) })
458
- }
459
- )
439
+ image: e == null ? void 0 : e.image,
440
+ imageComponent: e == null ? void 0 : e.imageComponent,
441
+ title: e == null ? void 0 : e.title,
442
+ description: e == null ? void 0 : e.description,
443
+ onSelectCard: () => h == null ? void 0 : h(e),
444
+ className: "wrapper__card",
445
+ link: e == null ? void 0 : e.link,
446
+ LinkComponent: M
447
+ },
448
+ `field-of-interests-with-tags-card__${p + 1}`
449
+ )) })
460
450
  ]
461
451
  }
462
452
  ))
463
453
  );
464
454
  export {
465
- le as default
455
+ ne as default
466
456
  };
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),p=require("react"),y=require("./utils-RnrgDDZP.cjs"),$=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),F=require("./index-BFc3nxYZ.cjs"),l=require("./style-BAcV7F53.cjs"),S=$.styled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),p=require("react"),y=require("./utils-CITgSxXe.cjs"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),b=require("./index-of6WydGq.cjs"),l=require("./style-BAcV7F53.cjs"),F=C.styled.div`
2
2
  width: 100%;
3
3
  height: auto;
4
4
  border-radius: 999px;
@@ -19,12 +19,12 @@
19
19
  border: var(--yellow-600, #d97706);
20
20
  }
21
21
 
22
- @media (max-width: ${C.MOBILE_SIZE_PX+"px"}) {
22
+ @media ${d.down("S")} {
23
23
  & .wrapper__image {
24
24
  height: auto;
25
25
  }
26
26
  }
27
- `,b=p.forwardRef(({isActive:t,image:r,imageComponent:s,onSelectCard:n=()=>{}},o)=>i.jsx(S,{ref:o,className:t?"active":"",onClick:n,children:y.isDefined(s)?s:i.jsx("img",{src:r,className:"wrapper__image"})})),k=p.forwardRef(({uuid:t,title:r,price:s,currency:n,isNegotiable:o,isFree:x,image:u,sellerUuid:m,onSelectCard:a=()=>{},imageComponent:h,negotiableText:_="Negotiable",freeText:d="Free",nameSlug:f,LinkComponent:w},g)=>i.jsx(F.SimpleProductCard,{ref:g,uuid:t,title:r,price:s,currency:n,isNegotiable:o,isFree:x,image:u,imageComponent:h,sellerUuid:m,onSelectCard:a,negotiableText:_,freeText:d,nameSlug:f,LinkComponent:w})),I=$.styled.div`
27
+ `,S=p.forwardRef(({isActive:t,image:r,imageComponent:s,onSelectCard:n=()=>{}},o)=>i.jsx(F,{ref:o,className:t?"active":"",onClick:n,children:y.isDefined(s)?s:i.jsx("img",{src:r,className:"wrapper__image"})})),k=p.forwardRef(({uuid:t,title:r,price:s,currency:n,isNegotiable:o,isFree:u,image:x,sellerUuid:m,onSelectCard:a=()=>{},imageComponent:h,negotiableText:_="Negotiable",freeText:f="Free",nameSlug:w,LinkComponent:c},g)=>i.jsx(b.SimpleProductCard,{ref:g,uuid:t,title:r,price:s,currency:n,isNegotiable:o,isFree:u,image:x,imageComponent:h,sellerUuid:m,onSelectCard:a,negotiableText:_,freeText:f,nameSlug:w,LinkComponent:c})),N=C.styled.div`
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  align-items: center;
@@ -73,7 +73,13 @@
73
73
  width: 100%;
74
74
  }
75
75
 
76
- @media (max-width: ${C.MOBILE_SIZE_PX+"px"}) {
76
+ @media ${d.down("M")} {
77
+ & .wrapper__cards {
78
+ grid-template-columns: repeat(2, minmax(0, 1fr));
79
+ }
80
+ }
81
+
82
+ @media ${d.down("S")} {
77
83
  & .wrapper__avatars {
78
84
  grid-template-columns: ${t=>`repeat(${t==null?void 0:t.limitAvatarsForMobile}, minmax(0, 1fr))`};
79
85
  gap: auto;
@@ -84,12 +90,12 @@
84
90
  gap: 1rem;
85
91
  }
86
92
  }
87
- `,v=$.styled(l.SkeletonRowWrapper)`
93
+ `,v=C.styled(l.SkeletonRowWrapper)`
88
94
  &.skeleton__tags {
89
95
  max-width: 50rem;
90
96
  }
91
97
 
92
- @media (max-width: ${C.MOBILE_SIZE_PX+"px"}) {
98
+ @media ${d.down("S")} {
93
99
  &.skeleton__tags {
94
100
  overflow-x: hidden;
95
101
 
@@ -108,4 +114,4 @@
108
114
  }
109
115
  }
110
116
  }
111
- `,N=({keyPrefix:t})=>i.jsxs(v,{className:"skeleton__tags",justifyContent:"center",children:[i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-1`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-2`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-3`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-4`)]}),O=({keyPrefix:t,isLoading:r=!1,fallbackComponent:s=i.jsx(i.Fragment,{}),children:n})=>i.jsx(p.Suspense,{fallbackComponent:s,children:r===!0?i.jsx(N,{keyPrefix:t}):n}),W=({keyPrefix:t})=>i.jsxs(v,{className:"skeleton__cards",justifyContent:"center",children:[i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-1`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-2`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-3`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-3`)]}),L=({keyPrefix:t,isLoading:r=!1,fallbackComponent:s=i.jsx(i.Fragment,{}),children:n})=>i.jsx(p.Suspense,{fallbackComponent:s,children:r===!0?i.jsx(W,{keyPrefix:t}):n}),P=p.forwardRef(({title:t,subtitle:r,avatars:s=[],limitAvatars:n=4,limit:o=6,limitAvatarsForMobile:x=4,limitForMobile:u=2,items:m=[],onSelectAvatar:a=()=>{},onSelectCard:h=()=>{},isLoadingTags:_=!1,isLoadingCards:d=!1,LinkComponent:f},w)=>{const g=e=>{a==null||a(e)},j=e=>{h==null||h(e)};return i.jsxs(I,{ref:w,limitAvatars:n,limitAvatarsForMobile:x,limitCards:o,limitCardsForMobile:u,children:[i.jsxs("div",{className:"wrapper__heading",children:[t&&i.jsx("div",{className:"wrapper__title",children:t}),r&&i.jsx("div",{className:"wrapper__subtitle",children:r})]}),i.jsx(O,{isLoading:_,keyPrefix:"field-of-interests-with-avatars-tag",children:i.jsx("div",{className:"wrapper__avatars",children:s==null?void 0:s.map((e,c)=>i.jsx(b,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>g==null?void 0:g(e)},`field-of-interests-with-avatars-card-avatar__${c+1}`))})}),i.jsx(L,{isLoading:d,keyPrefix:"field-of-interests-with-avatars-card",children:i.jsx("div",{className:"wrapper__cards",children:m==null?void 0:m.map((e,c)=>i.jsx(k,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.title,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,isNegotiable:e==null?void 0:e.isNegotiable,isFree:e==null?void 0:e.isFree,image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,sellerUuid:e==null?void 0:e.sellerUuid,negotiableText:e==null?void 0:e.negotiableText,freeText:e==null?void 0:e.freeText,onSelectCard:()=>j==null?void 0:j(e),nameSlug:e==null?void 0:e.nameSlug,LinkComponent:f},`field-of-interests-with-avatars-card__${c+1}`))})})]})});module.exports=P;
117
+ `,W=({keyPrefix:t})=>i.jsxs(v,{className:"skeleton__tags",justifyContent:"center",children:[i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-1`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-2`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-3`),i.jsx(l.SkeletonCirclePlaceholder,{width:"9.875rem",height:"9.875rem"},`${t}-4`)]}),q=({keyPrefix:t,isLoading:r=!1,fallbackComponent:s=i.jsx(i.Fragment,{}),children:n})=>i.jsx(p.Suspense,{fallbackComponent:s,children:r===!0?i.jsx(W,{keyPrefix:t}):n}),I=({keyPrefix:t})=>i.jsxs(v,{className:"skeleton__cards",justifyContent:"center",children:[i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-1`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-2`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-3`),i.jsx(l.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-3`)]}),O=({keyPrefix:t,isLoading:r=!1,fallbackComponent:s=i.jsx(i.Fragment,{}),children:n})=>i.jsx(p.Suspense,{fallbackComponent:s,children:r===!0?i.jsx(I,{keyPrefix:t}):n}),A=p.forwardRef(({title:t,subtitle:r,avatars:s=[],limitAvatars:n=4,limit:o=6,limitAvatarsForMobile:u=4,limitForMobile:x=2,items:m=[],onSelectAvatar:a=()=>{},onSelectCard:h=()=>{},isLoadingTags:_=!1,isLoadingCards:f=!1,LinkComponent:w},c)=>{const g=e=>{a==null||a(e)},j=e=>{h==null||h(e)};return i.jsxs(N,{ref:c,limitAvatars:n,limitAvatarsForMobile:u,limitCards:o,limitCardsForMobile:x,children:[i.jsxs("div",{className:"wrapper__heading",children:[t&&i.jsx("div",{className:"wrapper__title",children:t}),r&&i.jsx("div",{className:"wrapper__subtitle",children:r})]}),i.jsx(q,{isLoading:_,keyPrefix:"field-of-interests-with-avatars-tag",children:i.jsx("div",{className:"wrapper__avatars",children:s==null?void 0:s.map((e,$)=>i.jsx(S,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>g==null?void 0:g(e)},`field-of-interests-with-avatars-card-avatar__${$+1}`))})}),i.jsx(O,{isLoading:f,keyPrefix:"field-of-interests-with-avatars-card",children:i.jsx("div",{className:"wrapper__cards",children:m==null?void 0:m.map((e,$)=>i.jsx(k,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.title,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,isNegotiable:e==null?void 0:e.isNegotiable,isFree:e==null?void 0:e.isFree,image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,sellerUuid:e==null?void 0:e.sellerUuid,negotiableText:e==null?void 0:e.negotiableText,freeText:e==null?void 0:e.freeText,onSelectCard:()=>j==null?void 0:j(e),nameSlug:e==null?void 0:e.nameSlug,LinkComponent:w},`field-of-interests-with-avatars-card__${$+1}`))})})]})});module.exports=A;