@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,4 +1,4 @@
1
- "use strict";const k=require("react/jsx-runtime"),F=require("react"),te=require("./index-Cp66dWMi.cjs"),K=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./utils-RnrgDDZP.cjs"),re=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");function $(){}function ae(){return!0}function T(r){return!!(r||"").match(/\d/)}function W(r){return r==null}function z(r){return r.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function ie(r){switch(r){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function oe(r,s,f){var e=ie(f),t=r.search(/[1-9]/);return t=t===-1?r.length:t,r.substring(0,t)+r.substring(t,r.length).replace(e,"$1"+s)}function L(r,s){s===void 0&&(s=!0);var f=r[0]==="-",e=f&&s;r=r.replace("-","");var t=r.split("."),a=t[0],o=t[1]||"";return{beforeDecimal:a,afterDecimal:o,hasNagation:f,addNegation:e}}function ne(r){if(!r)return r;var s=r[0]==="-";s&&(r=r.substring(1,r.length));var f=r.split("."),e=f[0].replace(/^0+/,"")||"0",t=f[1]||"";return(s?"-":"")+e+(t?"."+t:"")}function Z(r,s,f){for(var e="",t=f?"0":"",a=0;a<=s-1;a++)e+=r[a]||t;return e}function q(r,s){return Array(s+1).join(r)}function se(r){r+="";var s=r[0]==="-"?"-":"";s&&(r=r.substring(1));var f=r.split(/[eE]/g),e=f[0],t=f[1];if(t=Number(t),!t)return s+e;e=e.replace(".","");var a=1+t,o=e.length;return a<0?e="0."+q("0",Math.abs(a))+e:a>=o?e=e+q("0",a-o):e=(e.substring(0,a)||"0")+"."+e.substring(a),s+e}function le(r,s,f){if(["","-"].indexOf(r)!==-1)return r;var e=r.indexOf(".")!==-1&&s,t=L(r),a=t.beforeDecimal,o=t.afterDecimal,l=t.hasNagation,i=parseFloat("0."+(o||"0")),n=o.length<=s?"0."+o:i.toFixed(s),u=n.split("."),d=a.split("").reverse().reduce(function(m,v,b){return m.length>b?(Number(m[0])+Number(v)).toString()+m.substring(1,m.length):v+m},u[0]),c=Z(u[1]||"",Math.min(s,o.length),f),p=l?"-":"",h=e?".":"";return""+p+d+h+c}function G(r,s){if(r.value=r.value,r!==null){if(r.createTextRange){var f=r.createTextRange();return f.move("character",s),f.select(),!0}return r.selectionStart||r.selectionStart===0?(r.focus(),r.setSelectionRange(s,s),!0):(r.focus(),!1)}}function ue(r,s){for(var f=0,e=0,t=r.length,a=s.length;r[f]===s[f]&&f<t;)f++;for(;r[t-1-e]===s[a-1-e]&&a-e>f&&t-e>f;)e++;return{start:f,end:t-e}}function U(r,s,f){return Math.min(Math.max(r,s),f)}function _(r){return Math.max(r.selectionStart,r.selectionEnd)}function fe(r){return r||typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function ce(r,s){var f={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&s.indexOf(e)===-1&&(f[e]=r[e]);return f}var de={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:$,onChange:$,onKeyDown:$,onMouseUp:$,onFocus:$,onBlur:$,isAllowed:ae},H=function(r){function s(f){r.call(this,f);var e=f.defaultValue;this.validateProps();var t=this.formatValueProp(e);this.state={value:t,numAsString:this.removeFormatting(t),mounted:!1},this.selectionBeforeInput={selectionStart:0,selectionEnd:0},this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}return r&&(s.__proto__=r),s.prototype=Object.create(r&&r.prototype),s.prototype.constructor=s,s.prototype.componentDidMount=function(){this.setState({mounted:!0})},s.prototype.componentDidUpdate=function(e){this.updateValueIfRequired(e)},s.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout)},s.prototype.updateValueIfRequired=function(e){var t=this,a=t.props,o=t.state,l=t.focusedElm,i=o.value,n=o.numAsString;if(n===void 0&&(n=""),e!==a){this.validateProps();var u=this.formatNumString(n),d=W(a.value)?u:this.formatValueProp(),c=this.removeFormatting(d),p=parseFloat(c),h=parseFloat(n);((!isNaN(p)||!isNaN(h))&&p!==h||u!==i||l===null&&d!==i)&&this.updateValue({formattedValue:d,numAsString:c,input:l,source:"prop",event:null})}},s.prototype.getFloatString=function(e){e===void 0&&(e="");var t=this.props,a=t.decimalScale,o=this.getSeparators(),l=o.decimalSeparator,i=this.getNumberRegex(!0),n=e[0]==="-";n&&(e=e.replace("-","")),l&&a===0&&(e=e.split(l)[0]),e=(e.match(i)||[]).join("").replace(l,".");var u=e.indexOf(".");return u!==-1&&(e=e.substring(0,u)+"."+e.substring(u+1,e.length).replace(new RegExp(z(l),"g"),"")),n&&(e="-"+e),e},s.prototype.getNumberRegex=function(e,t){var a=this.props,o=a.format,l=a.decimalScale,i=a.customNumerals,n=this.getSeparators(),u=n.decimalSeparator;return new RegExp("[0-9"+(i?i.join(""):"")+"]"+(u&&l!==0&&!t&&!o?"|"+z(u):""),e?"g":void 0)},s.prototype.getSeparators=function(){var e=this.props,t=e.decimalSeparator,a=this.props,o=a.thousandSeparator,l=a.allowedDecimalSeparators;return o===!0&&(o=","),l||(l=[t,"."]),{decimalSeparator:t,thousandSeparator:o,allowedDecimalSeparators:l}},s.prototype.getMaskAtIndex=function(e){var t=this.props,a=t.mask;return a===void 0&&(a=" "),typeof a=="string"?a:a[e]||" "},s.prototype.getValueObject=function(e,t){var a=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(a)?void 0:a}},s.prototype.validateProps=function(){var e=this.props,t=e.mask,a=this.getSeparators(),o=a.decimalSeparator,l=a.thousandSeparator;if(o===l)throw new Error(`
1
+ "use strict";const k=require("react/jsx-runtime"),F=require("react"),te=require("./index-Cp66dWMi.cjs"),K=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./utils-CITgSxXe.cjs"),re=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs");function $(){}function ae(){return!0}function T(r){return!!(r||"").match(/\d/)}function W(r){return r==null}function z(r){return r.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function ie(r){switch(r){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function oe(r,s,f){var e=ie(f),t=r.search(/[1-9]/);return t=t===-1?r.length:t,r.substring(0,t)+r.substring(t,r.length).replace(e,"$1"+s)}function L(r,s){s===void 0&&(s=!0);var f=r[0]==="-",e=f&&s;r=r.replace("-","");var t=r.split("."),a=t[0],o=t[1]||"";return{beforeDecimal:a,afterDecimal:o,hasNagation:f,addNegation:e}}function ne(r){if(!r)return r;var s=r[0]==="-";s&&(r=r.substring(1,r.length));var f=r.split("."),e=f[0].replace(/^0+/,"")||"0",t=f[1]||"";return(s?"-":"")+e+(t?"."+t:"")}function Z(r,s,f){for(var e="",t=f?"0":"",a=0;a<=s-1;a++)e+=r[a]||t;return e}function q(r,s){return Array(s+1).join(r)}function se(r){r+="";var s=r[0]==="-"?"-":"";s&&(r=r.substring(1));var f=r.split(/[eE]/g),e=f[0],t=f[1];if(t=Number(t),!t)return s+e;e=e.replace(".","");var a=1+t,o=e.length;return a<0?e="0."+q("0",Math.abs(a))+e:a>=o?e=e+q("0",a-o):e=(e.substring(0,a)||"0")+"."+e.substring(a),s+e}function le(r,s,f){if(["","-"].indexOf(r)!==-1)return r;var e=r.indexOf(".")!==-1&&s,t=L(r),a=t.beforeDecimal,o=t.afterDecimal,l=t.hasNagation,i=parseFloat("0."+(o||"0")),n=o.length<=s?"0."+o:i.toFixed(s),u=n.split("."),d=a.split("").reverse().reduce(function(m,v,b){return m.length>b?(Number(m[0])+Number(v)).toString()+m.substring(1,m.length):v+m},u[0]),c=Z(u[1]||"",Math.min(s,o.length),f),p=l?"-":"",h=e?".":"";return""+p+d+h+c}function G(r,s){if(r.value=r.value,r!==null){if(r.createTextRange){var f=r.createTextRange();return f.move("character",s),f.select(),!0}return r.selectionStart||r.selectionStart===0?(r.focus(),r.setSelectionRange(s,s),!0):(r.focus(),!1)}}function ue(r,s){for(var f=0,e=0,t=r.length,a=s.length;r[f]===s[f]&&f<t;)f++;for(;r[t-1-e]===s[a-1-e]&&a-e>f&&t-e>f;)e++;return{start:f,end:t-e}}function U(r,s,f){return Math.min(Math.max(r,s),f)}function _(r){return Math.max(r.selectionStart,r.selectionEnd)}function fe(r){return r||typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function ce(r,s){var f={};for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&s.indexOf(e)===-1&&(f[e]=r[e]);return f}var de={displayType:"input",decimalSeparator:".",thousandsGroupStyle:"thousand",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,allowEmptyFormatting:!1,allowLeadingZeros:!1,isNumericString:!1,type:"text",onValueChange:$,onChange:$,onKeyDown:$,onMouseUp:$,onFocus:$,onBlur:$,isAllowed:ae},H=function(r){function s(f){r.call(this,f);var e=f.defaultValue;this.validateProps();var t=this.formatValueProp(e);this.state={value:t,numAsString:this.removeFormatting(t),mounted:!1},this.selectionBeforeInput={selectionStart:0,selectionEnd:0},this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this)}return r&&(s.__proto__=r),s.prototype=Object.create(r&&r.prototype),s.prototype.constructor=s,s.prototype.componentDidMount=function(){this.setState({mounted:!0})},s.prototype.componentDidUpdate=function(e){this.updateValueIfRequired(e)},s.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout),clearTimeout(this.caretPositionTimeout)},s.prototype.updateValueIfRequired=function(e){var t=this,a=t.props,o=t.state,l=t.focusedElm,i=o.value,n=o.numAsString;if(n===void 0&&(n=""),e!==a){this.validateProps();var u=this.formatNumString(n),d=W(a.value)?u:this.formatValueProp(),c=this.removeFormatting(d),p=parseFloat(c),h=parseFloat(n);((!isNaN(p)||!isNaN(h))&&p!==h||u!==i||l===null&&d!==i)&&this.updateValue({formattedValue:d,numAsString:c,input:l,source:"prop",event:null})}},s.prototype.getFloatString=function(e){e===void 0&&(e="");var t=this.props,a=t.decimalScale,o=this.getSeparators(),l=o.decimalSeparator,i=this.getNumberRegex(!0),n=e[0]==="-";n&&(e=e.replace("-","")),l&&a===0&&(e=e.split(l)[0]),e=(e.match(i)||[]).join("").replace(l,".");var u=e.indexOf(".");return u!==-1&&(e=e.substring(0,u)+"."+e.substring(u+1,e.length).replace(new RegExp(z(l),"g"),"")),n&&(e="-"+e),e},s.prototype.getNumberRegex=function(e,t){var a=this.props,o=a.format,l=a.decimalScale,i=a.customNumerals,n=this.getSeparators(),u=n.decimalSeparator;return new RegExp("[0-9"+(i?i.join(""):"")+"]"+(u&&l!==0&&!t&&!o?"|"+z(u):""),e?"g":void 0)},s.prototype.getSeparators=function(){var e=this.props,t=e.decimalSeparator,a=this.props,o=a.thousandSeparator,l=a.allowedDecimalSeparators;return o===!0&&(o=","),l||(l=[t,"."]),{decimalSeparator:t,thousandSeparator:o,allowedDecimalSeparators:l}},s.prototype.getMaskAtIndex=function(e){var t=this.props,a=t.mask;return a===void 0&&(a=" "),typeof a=="string"?a:a[e]||" "},s.prototype.getValueObject=function(e,t){var a=parseFloat(t);return{formattedValue:e,value:t,floatValue:isNaN(a)?void 0:a}},s.prototype.validateProps=function(){var e=this.props,t=e.mask,a=this.getSeparators(),o=a.decimalSeparator,l=a.thousandSeparator;if(o===l)throw new Error(`
2
2
  Decimal separator can't be same as thousand separator.
3
3
  thousandSeparator: `+l+` (thousandSeparator = {true} is same as thousandSeparator = ",")
4
4
  decimalSeparator: `+o+` (default value for decimalSeparator is .)
@@ -2,7 +2,7 @@ import { jsxs as ae, jsx as U } from "react/jsx-runtime";
2
2
  import O, { forwardRef as ie, useState as oe, useCallback as ne } from "react";
3
3
  import { d as se } from "./index-Dt62UGku.js";
4
4
  import { s as G } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { d as k, b as N, a as fe, e as ue, h as W, c as le } from "./utils-DtEfC-TX.js";
5
+ import { e as k, c as N, b as fe, f as ue, i as W, d as le } from "./utils-B2fsQ6PS.js";
6
6
  import { u as ce } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  function R() {
8
8
  }
@@ -1,4 +1,4 @@
1
- "use strict";const m=require("react/jsx-runtime"),b=require("react"),I=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-RnrgDDZP.cjs"),J=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),L=I.styled.div`
1
+ "use strict";const m=require("react/jsx-runtime"),b=require("react"),I=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-CITgSxXe.cjs"),J=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),L=I.styled.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
 
@@ -1,7 +1,7 @@
1
1
  import { jsxs as Y, jsx as w } from "react/jsx-runtime";
2
2
  import { forwardRef as Z, useState as W, useRef as _, useEffect as R } from "react";
3
3
  import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { d as m, b as c, a as v, e as S, h as F, c as A } from "./utils-DtEfC-TX.js";
4
+ import { e as m, c, b as v, f as S, i as F, d as A } from "./utils-B2fsQ6PS.js";
5
5
  import { u as ee } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const te = N.div`
7
7
  display: flex;
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("react"),V=require("./emotion-styled.browser.esm-BtEseadx.cjs"),K=require("./consts-goSZX3xP.cjs"),Q=require("./IconButton.cjs"),G=require("./Button.cjs"),s=require("./utils-RnrgDDZP.cjs"),X=require("./useDetectMobile-zkbzoOGV.cjs"),g=require("./index-CS4w87SW.cjs"),Z=require("./index-CRk3vcd4.cjs"),H=require("./index-oYE1Pl7q.cjs"),J=V.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),l=require("react"),K=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./breakpoints-CcVm-gVm.cjs"),Q=require("./IconButton.cjs"),G=require("./Button.cjs"),r=require("./utils-CITgSxXe.cjs"),H=require("./useDetectMobile-DYV6V1yw.cjs"),f=require("./index-BEgD9vNo.cjs"),J=require("./index-vQOR22Py.cjs"),W=require("./index-oYE1Pl7q.cjs"),X=K.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 1.5rem;
@@ -32,10 +32,16 @@
32
32
 
33
33
  & .section__items {
34
34
  display: grid;
35
- grid-template-columns: ${r=>`repeat(${r.limit}, minmax(0, 1fr))`};
35
+ grid-template-columns: ${s=>`repeat(${s.limit}, minmax(0, 1fr))`};
36
36
  gap: 2rem;
37
37
  }
38
38
 
39
+ @media ${g.down("M")} {
40
+ & .section__items {
41
+ grid-template-columns: repeat(3, minmax(0, 1fr));
42
+ }
43
+ }
44
+
39
45
  & .section__show-more {
40
46
  color: var(--neutral-600, #0f2a46);
41
47
  font-size: 0.875rem;
@@ -56,7 +62,7 @@
56
62
  white-space: nowrap;
57
63
  }
58
64
 
59
- @media (max-width: ${K.MOBILE_SIZE_PX+"px"}) {
65
+ @media ${g.down("S")} {
60
66
  gap: 1.25rem;
61
67
 
62
68
  & .section__items {
@@ -79,4 +85,4 @@
79
85
  }
80
86
  }
81
87
  }
82
- `,W=l.memo(g.DetailedProductCard),Y=l.forwardRef((r,f)=>{const{title:c,icon:d,items:i,limit:b=4,isLoading:a=!1,onSelectCard:h=()=>{},onLoadMore:_=()=>{},onButtonAction:y=()=>{},getImage:S=()=>{},viewAllbuttonLink:u,viewAllButonText:m="View all",negotiableText:w,freeText:v,loadMoreButtonIcon:k="angle-down",sponsoredText:C,onBookmark:N=()=>{},actionComponent:j,componentName:q,hasNextPage:P=!1,LinkComponent:L,urgentText:B,options:o=[],isLoadingOptions:O=!1,selectedOption:D,onSelectOption:M=()=>{},onRemoveOption:E=()=>{},allOptionsEnabled:I=!1,allOptionsLabel:T="All",onSelectAllOptions:R=()=>{},optionLabel:A="label",optionValue:z="value",optionCode:F="code"}=r,p=X.useDetectMobile(),$=l.useMemo(()=>i==null?void 0:i.map((e,n)=>t.jsx(W,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:(x,U)=>h({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:U}),nameSlug:e==null?void 0:e.nameSlug,imageUrl:S(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:w,freeText:v,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,sponsoredText:C,onBookmark:N,actionComponent:j,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:q},sellerName:e==null?void 0:e.sellerName,forCart:e==null?void 0:e.forCart,forOrder:e==null?void 0:e.forOrder,contactSeller:e==null?void 0:e.contactSeller,hasVariants:e==null?void 0:e.hasVariants,LinkComponent:L,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:B,hasFreeShipping:e==null?void 0:e.hasFreeShipping},n)),[i]);return t.jsxs(J,{ref:f,limit:b,children:[t.jsxs("div",{className:"section__heading",children:[s.isDefinedNotEmptyString(c)&&t.jsxs("div",{className:"section__title",children:[s.isDefinedNotEmptyString(d)&&t.jsx("i",{className:d})," ",c]}),p&&s.isDefinedNotEmptyString(u)&&s.isDefinedNotEmptyString(m)&&!a&&t.jsx(G,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var n;(n=e==null?void 0:e.target)==null||n.blur(),y(u)},borderRadius:"curved",className:"section__view-all",children:m})]}),t.jsx(H.SuspenseSelectBar,{isLoading:O,children:o&&(o==null?void 0:o.length)>0&&t.jsx(Z.SelectBar,{items:o,selectedIds:D,onRemove:E,onSelect:M,allButton:I,onSelectAll:R,labelKey:A,valueKey:z,codeKey:F,noMargin:!0,productsToolbarName:T,noGradient:!0,className:"section__options"})}),t.jsx(g.SuspenseDetailedProductCard,{isLoading:a,keyPrefix:"detailed-product-card-skeleton",children:t.jsx("div",{className:"section__items",children:$})}),!p&&!a&&P&&t.jsx(Q,{icon:k,borderRadius:"curved",btnType:"basic",color:"neutral",className:"section__show-more",onClick:_})]})});module.exports=Y;
88
+ `,Y=l.memo(f.DetailedProductCard),Z=l.forwardRef((s,b)=>{const{title:c,icon:d,items:i,limit:h=4,isLoading:a=!1,onSelectCard:_=()=>{},onLoadMore:y=()=>{},onButtonAction:S=()=>{},getImage:w=()=>{},viewAllbuttonLink:u,viewAllButonText:m="View all",negotiableText:k,freeText:v,loadMoreButtonIcon:C="angle-down",sponsoredText:N,onBookmark:j=()=>{},actionComponent:q,componentName:P,hasNextPage:L=!1,LinkComponent:B,urgentText:D,options:o=[],isLoadingOptions:M=!1,selectedOption:O,onSelectOption:T=()=>{},onRemoveOption:R=()=>{},allOptionsEnabled:A=!1,allOptionsLabel:E="All",onSelectAllOptions:I=()=>{},optionLabel:$="label",optionValue:z="value",optionCode:F="code"}=s,p=H.useDetectMobile(),U=l.useMemo(()=>i==null?void 0:i.map((e,n)=>t.jsx(Y,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:(x,V)=>_({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:V}),nameSlug:e==null?void 0:e.nameSlug,imageUrl:w(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:k,freeText:v,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,sponsoredText:N,onBookmark:j,actionComponent:q,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:P},sellerName:e==null?void 0:e.sellerName,forCart:e==null?void 0:e.forCart,forOrder:e==null?void 0:e.forOrder,contactSeller:e==null?void 0:e.contactSeller,hasVariants:e==null?void 0:e.hasVariants,LinkComponent:B,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:D,hasFreeShipping:e==null?void 0:e.hasFreeShipping},n)),[i]);return t.jsxs(X,{ref:b,limit:h,children:[t.jsxs("div",{className:"section__heading",children:[r.isDefinedNotEmptyString(c)&&t.jsxs("div",{className:"section__title",children:[r.isDefinedNotEmptyString(d)&&t.jsx("i",{className:d})," ",c]}),p&&r.isDefinedNotEmptyString(u)&&r.isDefinedNotEmptyString(m)&&!a&&t.jsx(G,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var n;(n=e==null?void 0:e.target)==null||n.blur(),S(u)},borderRadius:"curved",className:"section__view-all",children:m})]}),t.jsx(W.SuspenseSelectBar,{isLoading:M,children:o&&(o==null?void 0:o.length)>0&&t.jsx(J.SelectBar,{items:o,selectedIds:O,onRemove:R,onSelect:T,allButton:A,onSelectAll:I,labelKey:$,valueKey:z,codeKey:F,noMargin:!0,productsToolbarName:E,noGradient:!0,className:"section__options"})}),t.jsx(f.SuspenseDetailedProductCard,{isLoading:a,keyPrefix:"detailed-product-card-skeleton",children:t.jsx("div",{className:"section__items",children:U})}),!p&&!a&&L&&t.jsx(Q,{icon:C,borderRadius:"curved",btnType:"basic",color:"neutral",className:"section__show-more",onClick:y})]})});module.exports=Z;
@@ -1,15 +1,15 @@
1
1
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
2
- import { memo as j, forwardRef as K, useMemo as q } from "react";
3
- import { s as Q } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as G } from "./consts-BuFChS64.js";
5
- import X from "./IconButton.js";
6
- import Z from "./Button.js";
7
- import { k as n } from "./utils-DtEfC-TX.js";
8
- import { u as H } from "./useDetectMobile-Bkvj0VMa.js";
9
- import { D as J, S as W } from "./index-BASX-BjS.js";
10
- import { S as Y } from "./index-CwMCk9wV.js";
2
+ import { memo as K, forwardRef as q, useMemo as Q } from "react";
3
+ import { s as G } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { d as g } from "./breakpoints-ff0SIcV3.js";
5
+ import H from "./IconButton.js";
6
+ import J from "./Button.js";
7
+ import { l as n } from "./utils-B2fsQ6PS.js";
8
+ import { u as W } from "./useDetectMobile-CcVo3PNi.js";
9
+ import { D as X, S as Y } from "./index-rYUwBlpp.js";
10
+ import { S as Z } from "./index-BzSWu-7v.js";
11
11
  import { S as x } from "./index-4wvppFLx.js";
12
- const ee = Q.div`
12
+ const ee = G.div`
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  gap: 1.5rem;
@@ -47,6 +47,12 @@ const ee = Q.div`
47
47
  gap: 2rem;
48
48
  }
49
49
 
50
+ @media ${g("M")} {
51
+ & .section__items {
52
+ grid-template-columns: repeat(3, minmax(0, 1fr));
53
+ }
54
+ }
55
+
50
56
  & .section__show-more {
51
57
  color: var(--neutral-600, #0f2a46);
52
58
  font-size: 0.875rem;
@@ -67,7 +73,7 @@ const ee = Q.div`
67
73
  white-space: nowrap;
68
74
  }
69
75
 
70
- @media (max-width: ${G + "px"}) {
76
+ @media ${g("S")} {
71
77
  gap: 1.25rem;
72
78
 
73
79
  & .section__items {
@@ -90,49 +96,49 @@ const ee = Q.div`
90
96
  }
91
97
  }
92
98
  }
93
- `, oe = j(J), ge = K((r, g) => {
99
+ `, oe = K(X), ge = q((r, f) => {
94
100
  const {
95
101
  title: c,
96
102
  icon: m,
97
103
  items: i,
98
- limit: f = 4,
104
+ limit: b = 4,
99
105
  isLoading: l = !1,
100
106
  onSelectCard: h = () => {
101
107
  },
102
- onLoadMore: b = () => {
108
+ onLoadMore: _ = () => {
103
109
  },
104
- onButtonAction: _ = () => {
110
+ onButtonAction: S = () => {
105
111
  },
106
- getImage: S = () => {
112
+ getImage: w = () => {
107
113
  },
108
114
  viewAllbuttonLink: d,
109
115
  viewAllButonText: u = "View all",
110
- negotiableText: w,
111
- freeText: y,
116
+ negotiableText: y,
117
+ freeText: v,
112
118
  loadMoreButtonIcon: k = "angle-down",
113
- sponsoredText: v,
114
- onBookmark: C = () => {
119
+ sponsoredText: C,
120
+ onBookmark: N = () => {
115
121
  },
116
- actionComponent: N,
117
- componentName: P,
118
- hasNextPage: L = !1,
119
- LinkComponent: B,
120
- urgentText: O,
122
+ actionComponent: P,
123
+ componentName: L,
124
+ hasNextPage: B = !1,
125
+ LinkComponent: O,
126
+ urgentText: M,
121
127
  options: t = [],
122
- isLoadingOptions: M = !1,
123
- selectedOption: T,
124
- onSelectOption: I = () => {
128
+ isLoadingOptions: T = !1,
129
+ selectedOption: A,
130
+ onSelectOption: D = () => {
125
131
  },
126
- onRemoveOption: A = () => {
132
+ onRemoveOption: z = () => {
127
133
  },
128
- allOptionsEnabled: D = !1,
129
- allOptionsLabel: z = "All",
130
- onSelectAllOptions: E = () => {
134
+ allOptionsEnabled: F = !1,
135
+ allOptionsLabel: I = "All",
136
+ onSelectAllOptions: R = () => {
131
137
  },
132
- optionLabel: F = "label",
133
- optionValue: R = "value",
134
- optionCode: U = "code"
135
- } = r, p = H(), V = q(() => i == null ? void 0 : i.map((e, a) => /* @__PURE__ */ o(
138
+ optionLabel: $ = "label",
139
+ optionValue: U = "value",
140
+ optionCode: V = "code"
141
+ } = r, p = W(), j = Q(() => i == null ? void 0 : i.map((e, a) => /* @__PURE__ */ o(
136
142
  oe,
137
143
  {
138
144
  name: e == null ? void 0 : e.name,
@@ -144,13 +150,13 @@ const ee = Q.div`
144
150
  uuid: e == null ? void 0 : e.uuid,
145
151
  sponsored: e == null ? void 0 : e.sponsored,
146
152
  imageComponent: e == null ? void 0 : e.imageComponent,
147
- onSelectCard: (te, $) => h({ uuid: e == null ? void 0 : e.uuid, nameSlug: e == null ? void 0 : e.nameSlug, cardRef: $ }),
153
+ onSelectCard: (te, E) => h({ uuid: e == null ? void 0 : e.uuid, nameSlug: e == null ? void 0 : e.nameSlug, cardRef: E }),
148
154
  nameSlug: e == null ? void 0 : e.nameSlug,
149
- imageUrl: S(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
155
+ imageUrl: w(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
150
156
  isFree: e == null ? void 0 : e.isFree,
151
157
  isNegotiable: e == null ? void 0 : e.isNegotiable,
152
- negotiableText: w,
153
- freeText: y,
158
+ negotiableText: y,
159
+ freeText: v,
154
160
  tags: e == null ? void 0 : e.tags,
155
161
  categoryCode: e == null ? void 0 : e.categoryCode,
156
162
  condition: e == null ? void 0 : e.condition,
@@ -158,25 +164,25 @@ const ee = Q.div`
158
164
  hasQuantities: e == null ? void 0 : e.hasQuantities,
159
165
  status: e == null ? void 0 : e.status,
160
166
  trade: e == null ? void 0 : e.trade,
161
- sponsoredText: v,
162
- onBookmark: C,
163
- actionComponent: N,
167
+ sponsoredText: C,
168
+ onBookmark: N,
169
+ actionComponent: P,
164
170
  bookmarked: e == null ? void 0 : e.bookmarked,
165
171
  bookmarkLists: e == null ? void 0 : e.bookmarkLists,
166
- metadata: { accessor: e == null ? void 0 : e.accessor, name: P },
172
+ metadata: { accessor: e == null ? void 0 : e.accessor, name: L },
167
173
  sellerName: e == null ? void 0 : e.sellerName,
168
174
  forCart: e == null ? void 0 : e.forCart,
169
175
  forOrder: e == null ? void 0 : e.forOrder,
170
176
  contactSeller: e == null ? void 0 : e.contactSeller,
171
177
  hasVariants: e == null ? void 0 : e.hasVariants,
172
- LinkComponent: B,
178
+ LinkComponent: O,
173
179
  activeSalesPackages: e == null ? void 0 : e.activeSalesPackages,
174
- urgentText: O,
180
+ urgentText: M,
175
181
  hasFreeShipping: e == null ? void 0 : e.hasFreeShipping
176
182
  },
177
183
  a
178
184
  )), [i]);
179
- return /* @__PURE__ */ s(ee, { ref: g, limit: f, children: [
185
+ return /* @__PURE__ */ s(ee, { ref: f, limit: b, children: [
180
186
  /* @__PURE__ */ s("div", { className: "section__heading", children: [
181
187
  n(c) && /* @__PURE__ */ s("div", { className: "section__title", children: [
182
188
  n(m) && /* @__PURE__ */ o("i", { className: m }),
@@ -184,14 +190,14 @@ const ee = Q.div`
184
190
  c
185
191
  ] }),
186
192
  p && n(d) && n(u) && !l && /* @__PURE__ */ o(
187
- Z,
193
+ J,
188
194
  {
189
195
  type: "button",
190
196
  btnType: "tinted",
191
197
  color: "neutral",
192
198
  onClick: (e) => {
193
199
  var a;
194
- (a = e == null ? void 0 : e.target) == null || a.blur(), _(d);
200
+ (a = e == null ? void 0 : e.target) == null || a.blur(), S(d);
195
201
  },
196
202
  borderRadius: "curved",
197
203
  className: "section__view-all",
@@ -199,41 +205,41 @@ const ee = Q.div`
199
205
  }
200
206
  )
201
207
  ] }),
202
- /* @__PURE__ */ o(x, { isLoading: M, children: t && (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ o(
203
- Y,
208
+ /* @__PURE__ */ o(x, { isLoading: T, children: t && (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ o(
209
+ Z,
204
210
  {
205
211
  items: t,
206
- selectedIds: T,
207
- onRemove: A,
208
- onSelect: I,
209
- allButton: D,
210
- onSelectAll: E,
211
- labelKey: F,
212
- valueKey: R,
213
- codeKey: U,
212
+ selectedIds: A,
213
+ onRemove: z,
214
+ onSelect: D,
215
+ allButton: F,
216
+ onSelectAll: R,
217
+ labelKey: $,
218
+ valueKey: U,
219
+ codeKey: V,
214
220
  noMargin: !0,
215
- productsToolbarName: z,
221
+ productsToolbarName: I,
216
222
  noGradient: !0,
217
223
  className: "section__options"
218
224
  }
219
225
  ) }),
220
226
  /* @__PURE__ */ o(
221
- W,
227
+ Y,
222
228
  {
223
229
  isLoading: l,
224
230
  keyPrefix: "detailed-product-card-skeleton",
225
- children: /* @__PURE__ */ o("div", { className: "section__items", children: V })
231
+ children: /* @__PURE__ */ o("div", { className: "section__items", children: j })
226
232
  }
227
233
  ),
228
- !p && !l && L && /* @__PURE__ */ o(
229
- X,
234
+ !p && !l && B && /* @__PURE__ */ o(
235
+ H,
230
236
  {
231
237
  icon: k,
232
238
  borderRadius: "curved",
233
239
  btnType: "basic",
234
240
  color: "neutral",
235
241
  className: "section__show-more",
236
- onClick: b
242
+ onClick: _
237
243
  }
238
244
  )
239
245
  ] });
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),c=require("react"),Q=require("./emotion-styled.browser.esm-BtEseadx.cjs"),K=require("./consts-goSZX3xP.cjs"),W=require("./Button.cjs"),l=require("./utils-RnrgDDZP.cjs"),z=require("./useDetectMobile-zkbzoOGV.cjs"),G=require("./style-B4kAj6YU.cjs"),j=require("./index-CS4w87SW.cjs"),V=require("./index-CRk3vcd4.cjs"),X=require("./index-oYE1Pl7q.cjs"),Z=Q.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),c=require("react"),K=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./breakpoints-CcVm-gVm.cjs"),W=require("./Button.cjs"),l=require("./utils-CITgSxXe.cjs"),z=require("./useDetectMobile-DYV6V1yw.cjs"),G=require("./style-DC05rdyx.cjs"),P=require("./index-BEgD9vNo.cjs"),V=require("./index-vQOR22Py.cjs"),H=require("./index-oYE1Pl7q.cjs"),J=K.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${n=>`repeat(${n.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -16,7 +16,11 @@
16
16
  }
17
17
  }
18
18
 
19
- @media (max-width: ${K.MOBILE_SIZE_PX+"px"}) {
19
+ @media ${j.down("M")} {
20
+ grid-template-columns: repeat(3, minmax(0, 1fr));
21
+ }
22
+
23
+ @media ${j.down("S")} {
20
24
  display: flex;
21
25
  gap: 1rem;
22
26
  overflow-x: auto;
@@ -35,4 +39,4 @@
35
39
  /* Safari and Chrome */
36
40
  }
37
41
  }
38
- `,P=c.memo(j.DetailedProductCard),H=c.forwardRef((n,w)=>{const{icon:u,title:L,buttonLink:d,items:i,buttonText:m,limit:s=4,onSelectCard:p=()=>{},onButtonAction:F=()=>{},isLoading:g=!1,getImage:b=()=>{},negotiableText:S,freeText:k,options:a=[],isLoadingOptions:O=!1,selectedOption:D,onSelectOption:T=()=>{},onRemoveOption:U=()=>{},allOptionsEnabled:_=!1,allOptionsLabel:B="All",onSelectAllOptions:E=()=>{},optionLabel:M="label",optionValue:R="value",optionCode:I="code",sponsoredText:h,onBookmark:y=()=>{},actionComponent:f,componentName:C,LinkComponent:N,urgentText:q}=n,v=z.useDetectMobile(),$=c.useMemo(()=>t.jsx(t.Fragment,{children:v===!0?i==null?void 0:i.map((e,o)=>t.jsx(P,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,nameSlug:e==null?void 0:e.nameSlug,onSelectCard:(A,r)=>p({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:r}),sellerName:e==null?void 0:e.sellerName,imageUrl:b(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:S,freeText:k,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,forCart:e==null?void 0:e.forCart,sponsoredText:h,onBookmark:y,actionComponent:f,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:C},LinkComponent:N,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:q,hasFreeShipping:e==null?void 0:e.hasFreeShipping},o)):i==null?void 0:i.slice(0,s).map((e,o)=>t.jsx(P,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:(A,r)=>p({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:r}),nameSlug:e==null?void 0:e.nameSlug,imageUrl:b(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:S,freeText:k,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,forCart:e==null?void 0:e.forCart,sponsoredText:h,onBookmark:y,actionComponent:f,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:C},sellerName:e==null?void 0:e.sellerName,LinkComponent:N,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:q,hasFreeShipping:e==null?void 0:e.hasFreeShipping},o))}),[i,v,s]);return t.jsxs(G.TitleWithOptionsSectionWrapper,{ref:w,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[l.isDefinedNotEmptyString(u)&&t.jsx("i",{className:u}),t.jsx("span",{children:L})]}),l.isDefinedNotEmptyString(d)&&l.isDefinedNotEmptyString(m)&&!g&&t.jsx(W,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var o;(o=e==null?void 0:e.target)==null||o.blur(),F(d)},borderRadius:"curved",className:"button-link",children:m})]}),t.jsx(X.SuspenseSelectBar,{isLoading:O,children:a&&(a==null?void 0:a.length)>0&&t.jsx(V.SelectBar,{items:a,selectedIds:D,onRemove:U,onSelect:T,allButton:_,onSelectAll:E,labelKey:M,valueKey:R,codeKey:I,noMargin:!0,productsToolbarName:B,noGradient:!0,className:"section__options"})}),t.jsx(j.SuspenseDetailedProductCard,{isLoading:g,keyPrefix:"detailed-products-skeleton",children:t.jsx(Z,{limit:s,children:$})})]})});module.exports=H;
42
+ `,w=c.memo(P.DetailedProductCard),X=c.forwardRef((n,L)=>{const{icon:u,title:F,buttonLink:d,items:i,buttonText:m,limit:r=4,onSelectCard:p=()=>{},onButtonAction:D=()=>{},isLoading:g=!1,getImage:b=()=>{},negotiableText:S,freeText:k,options:a=[],isLoadingOptions:O=!1,selectedOption:T,onSelectOption:U=()=>{},onRemoveOption:M=()=>{},allOptionsEnabled:B=!1,allOptionsLabel:R="All",onSelectAllOptions:_=()=>{},optionLabel:$="label",optionValue:E="value",optionCode:A="code",sponsoredText:y,onBookmark:h=()=>{},actionComponent:f,componentName:C,LinkComponent:N,urgentText:q}=n,v=z.useDetectMobile(),Q=c.useMemo(()=>t.jsx(t.Fragment,{children:v===!0?i==null?void 0:i.map((e,o)=>t.jsx(w,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,nameSlug:e==null?void 0:e.nameSlug,onSelectCard:(I,s)=>p({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:s}),sellerName:e==null?void 0:e.sellerName,imageUrl:b(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:S,freeText:k,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,forCart:e==null?void 0:e.forCart,sponsoredText:y,onBookmark:h,actionComponent:f,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:C},LinkComponent:N,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:q,hasFreeShipping:e==null?void 0:e.hasFreeShipping},o)):i==null?void 0:i.slice(0,r).map((e,o)=>t.jsx(w,{name:e==null?void 0:e.name,price:e==null?void 0:e.price,sellingPrice:e==null?void 0:e.sellingPrice,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,location:e==null?void 0:e.location,sponsored:e==null?void 0:e.sponsored,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:(I,s)=>p({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:s}),nameSlug:e==null?void 0:e.nameSlug,imageUrl:b(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,negotiableText:S,freeText:k,tags:e==null?void 0:e.tags,categoryCode:e==null?void 0:e.categoryCode,condition:e==null?void 0:e.condition,quantity:e==null?void 0:e.quantity,hasQuantities:e==null?void 0:e.hasQuantities,status:e==null?void 0:e.status,trade:e==null?void 0:e.trade,forCart:e==null?void 0:e.forCart,sponsoredText:y,onBookmark:h,actionComponent:f,bookmarked:e==null?void 0:e.bookmarked,bookmarkLists:e==null?void 0:e.bookmarkLists,metadata:{accessor:e==null?void 0:e.accessor,name:C},sellerName:e==null?void 0:e.sellerName,LinkComponent:N,activeSalesPackages:e==null?void 0:e.activeSalesPackages,urgentText:q,hasFreeShipping:e==null?void 0:e.hasFreeShipping},o))}),[i,v,r]);return t.jsxs(G.TitleWithOptionsSectionWrapper,{ref:L,children:[t.jsxs("div",{className:"regular-title",children:[t.jsxs("div",{className:"regular-title-text",children:[l.isDefinedNotEmptyString(u)&&t.jsx("i",{className:u}),t.jsx("span",{children:F})]}),l.isDefinedNotEmptyString(d)&&l.isDefinedNotEmptyString(m)&&!g&&t.jsx(W,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var o;(o=e==null?void 0:e.target)==null||o.blur(),D(d)},borderRadius:"curved",className:"button-link",children:m})]}),t.jsx(H.SuspenseSelectBar,{isLoading:O,children:a&&(a==null?void 0:a.length)>0&&t.jsx(V.SelectBar,{items:a,selectedIds:T,onRemove:M,onSelect:U,allButton:B,onSelectAll:_,labelKey:$,valueKey:E,codeKey:A,noMargin:!0,productsToolbarName:R,noGradient:!0,className:"section__options"})}),t.jsx(P.SuspenseDetailedProductCard,{isLoading:g,keyPrefix:"detailed-products-skeleton",children:t.jsx(J,{limit:r,children:Q})})]})});module.exports=X;
@@ -1,15 +1,15 @@
1
1
  import { jsx as o, Fragment as K, jsxs as l } from "react/jsx-runtime";
2
- import { memo as W, forwardRef as $, useMemo as j } from "react";
3
- import { s as z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as G } from "./consts-BuFChS64.js";
2
+ import { memo as W, forwardRef as j, useMemo as z } from "react";
3
+ import { s as G } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { d as w } from "./breakpoints-ff0SIcV3.js";
5
5
  import V from "./Button.js";
6
- import { k as c } from "./utils-DtEfC-TX.js";
7
- import { u as X } from "./useDetectMobile-Bkvj0VMa.js";
8
- import { T as Z } from "./style-neMbLWE6.js";
9
- import { D as H, S as J } from "./index-BASX-BjS.js";
10
- import { S as Y } from "./index-CwMCk9wV.js";
6
+ import { l as c } from "./utils-B2fsQ6PS.js";
7
+ import { u as H } from "./useDetectMobile-CcVo3PNi.js";
8
+ import { T as J } from "./style-BUyFad_y.js";
9
+ import { D as X, S as Y } from "./index-rYUwBlpp.js";
10
+ import { S as Z } from "./index-BzSWu-7v.js";
11
11
  import { S as x } from "./index-4wvppFLx.js";
12
- const ee = z.div`
12
+ const ee = G.div`
13
13
  display: grid;
14
14
  grid-template-columns: ${(r) => `repeat(${r.limit}, minmax(0, 1fr))`};
15
15
  gap: 1.25rem;
@@ -27,7 +27,11 @@ const ee = z.div`
27
27
  }
28
28
  }
29
29
 
30
- @media (max-width: ${G + "px"}) {
30
+ @media ${w("M")} {
31
+ grid-template-columns: repeat(3, minmax(0, 1fr));
32
+ }
33
+
34
+ @media ${w("S")} {
31
35
  display: flex;
32
36
  gap: 1rem;
33
37
  overflow-x: auto;
@@ -46,11 +50,11 @@ const ee = z.div`
46
50
  /* Safari and Chrome */
47
51
  }
48
52
  }
49
- `, w = W(H), ue = $((r, L) => {
53
+ `, L = W(X), ue = j((r, F) => {
50
54
  const {
51
- icon: d,
52
- title: F,
53
- buttonLink: m,
55
+ icon: m,
56
+ title: T,
57
+ buttonLink: d,
54
58
  items: t,
55
59
  buttonText: u,
56
60
  limit: n = 4,
@@ -61,22 +65,22 @@ const ee = z.div`
61
65
  isLoading: g = !1,
62
66
  getImage: b = () => {
63
67
  },
64
- negotiableText: S,
65
- freeText: f,
68
+ negotiableText: f,
69
+ freeText: S,
66
70
  options: i = [],
67
- isLoadingOptions: T = !1,
68
- selectedOption: U,
69
- onSelectOption: B = () => {
71
+ isLoadingOptions: U = !1,
72
+ selectedOption: B,
73
+ onSelectOption: D = () => {
70
74
  },
71
75
  onRemoveOption: M = () => {
72
76
  },
73
- allOptionsEnabled: D = !1,
74
- allOptionsLabel: _ = "All",
75
- onSelectAllOptions: E = () => {
77
+ allOptionsEnabled: q = !1,
78
+ allOptionsLabel: A = "All",
79
+ onSelectAllOptions: Q = () => {
76
80
  },
77
- optionLabel: I = "label",
78
- optionValue: q = "value",
79
- optionCode: A = "code",
81
+ optionLabel: R = "label",
82
+ optionValue: _ = "value",
83
+ optionCode: $ = "code",
80
84
  sponsoredText: k,
81
85
  onBookmark: h = () => {
82
86
  },
@@ -84,8 +88,8 @@ const ee = z.div`
84
88
  componentName: C,
85
89
  LinkComponent: N,
86
90
  urgentText: v
87
- } = r, P = X(), Q = j(() => /* @__PURE__ */ o(K, { children: P === !0 ? t == null ? void 0 : t.map((e, a) => /* @__PURE__ */ o(
88
- w,
91
+ } = r, P = H(), E = z(() => /* @__PURE__ */ o(K, { children: P === !0 ? t == null ? void 0 : t.map((e, a) => /* @__PURE__ */ o(
92
+ L,
89
93
  {
90
94
  name: e == null ? void 0 : e.name,
91
95
  price: e == null ? void 0 : e.price,
@@ -97,7 +101,7 @@ const ee = z.div`
97
101
  sponsored: e == null ? void 0 : e.sponsored,
98
102
  imageComponent: e == null ? void 0 : e.imageComponent,
99
103
  nameSlug: e == null ? void 0 : e.nameSlug,
100
- onSelectCard: (R, s) => p({
104
+ onSelectCard: (I, s) => p({
101
105
  uuid: e == null ? void 0 : e.uuid,
102
106
  nameSlug: e == null ? void 0 : e.nameSlug,
103
107
  cardRef: s
@@ -106,8 +110,8 @@ const ee = z.div`
106
110
  imageUrl: b(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
107
111
  isFree: e == null ? void 0 : e.isFree,
108
112
  isNegotiable: e == null ? void 0 : e.isNegotiable,
109
- negotiableText: S,
110
- freeText: f,
113
+ negotiableText: f,
114
+ freeText: S,
111
115
  tags: e == null ? void 0 : e.tags,
112
116
  categoryCode: e == null ? void 0 : e.categoryCode,
113
117
  condition: e == null ? void 0 : e.condition,
@@ -129,7 +133,7 @@ const ee = z.div`
129
133
  },
130
134
  a
131
135
  )) : t == null ? void 0 : t.slice(0, n).map((e, a) => /* @__PURE__ */ o(
132
- w,
136
+ L,
133
137
  {
134
138
  name: e == null ? void 0 : e.name,
135
139
  price: e == null ? void 0 : e.price,
@@ -141,7 +145,7 @@ const ee = z.div`
141
145
  location: e == null ? void 0 : e.location,
142
146
  sponsored: e == null ? void 0 : e.sponsored,
143
147
  imageComponent: e == null ? void 0 : e.imageComponent,
144
- onSelectCard: (R, s) => p({
148
+ onSelectCard: (I, s) => p({
145
149
  uuid: e == null ? void 0 : e.uuid,
146
150
  nameSlug: e == null ? void 0 : e.nameSlug,
147
151
  cardRef: s
@@ -150,8 +154,8 @@ const ee = z.div`
150
154
  imageUrl: b(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
151
155
  isFree: e == null ? void 0 : e.isFree,
152
156
  isNegotiable: e == null ? void 0 : e.isNegotiable,
153
- negotiableText: S,
154
- freeText: f,
157
+ negotiableText: f,
158
+ freeText: S,
155
159
  tags: e == null ? void 0 : e.tags,
156
160
  categoryCode: e == null ? void 0 : e.categoryCode,
157
161
  condition: e == null ? void 0 : e.condition,
@@ -174,13 +178,13 @@ const ee = z.div`
174
178
  },
175
179
  a
176
180
  )) }), [t, P, n]);
177
- return /* @__PURE__ */ l(Z, { ref: L, children: [
181
+ return /* @__PURE__ */ l(J, { ref: F, children: [
178
182
  /* @__PURE__ */ l("div", { className: "regular-title", children: [
179
183
  /* @__PURE__ */ l("div", { className: "regular-title-text", children: [
180
- c(d) && /* @__PURE__ */ o("i", { className: d }),
181
- /* @__PURE__ */ o("span", { children: F })
184
+ c(m) && /* @__PURE__ */ o("i", { className: m }),
185
+ /* @__PURE__ */ o("span", { children: T })
182
186
  ] }),
183
- c(m) && c(u) && !g && /* @__PURE__ */ o(
187
+ c(d) && c(u) && !g && /* @__PURE__ */ o(
184
188
  V,
185
189
  {
186
190
  type: "button",
@@ -188,7 +192,7 @@ const ee = z.div`
188
192
  color: "neutral",
189
193
  onClick: (e) => {
190
194
  var a;
191
- (a = e == null ? void 0 : e.target) == null || a.blur(), O(m);
195
+ (a = e == null ? void 0 : e.target) == null || a.blur(), O(d);
192
196
  },
193
197
  borderRadius: "curved",
194
198
  className: "button-link",
@@ -196,30 +200,30 @@ const ee = z.div`
196
200
  }
197
201
  )
198
202
  ] }),
199
- /* @__PURE__ */ o(x, { isLoading: T, children: i && (i == null ? void 0 : i.length) > 0 && /* @__PURE__ */ o(
200
- Y,
203
+ /* @__PURE__ */ o(x, { isLoading: U, children: i && (i == null ? void 0 : i.length) > 0 && /* @__PURE__ */ o(
204
+ Z,
201
205
  {
202
206
  items: i,
203
- selectedIds: U,
207
+ selectedIds: B,
204
208
  onRemove: M,
205
- onSelect: B,
206
- allButton: D,
207
- onSelectAll: E,
208
- labelKey: I,
209
- valueKey: q,
210
- codeKey: A,
209
+ onSelect: D,
210
+ allButton: q,
211
+ onSelectAll: Q,
212
+ labelKey: R,
213
+ valueKey: _,
214
+ codeKey: $,
211
215
  noMargin: !0,
212
- productsToolbarName: _,
216
+ productsToolbarName: A,
213
217
  noGradient: !0,
214
218
  className: "section__options"
215
219
  }
216
220
  ) }),
217
221
  /* @__PURE__ */ o(
218
- J,
222
+ Y,
219
223
  {
220
224
  isLoading: g,
221
225
  keyPrefix: "detailed-products-skeleton",
222
- children: /* @__PURE__ */ o(ee, { limit: n, children: Q })
226
+ children: /* @__PURE__ */ o(ee, { limit: n, children: E })
223
227
  }
224
228
  )
225
229
  ] });
@@ -1,4 +1,4 @@
1
- "use strict";const o=require("react/jsx-runtime"),T=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./FlexGrid.cjs"),L=require("./FlexGridItem.cjs"),i=require("./utils-RnrgDDZP.cjs"),w=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),W=require("./Button.cjs"),d=require("./IconButton.cjs"),A=x.styled.label`
1
+ "use strict";const o=require("react/jsx-runtime"),T=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./FlexGrid.cjs"),L=require("./FlexGridItem.cjs"),i=require("./utils-CITgSxXe.cjs"),w=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),W=require("./Button.cjs"),d=require("./IconButton.cjs"),A=x.styled.label`
2
2
  display: block;
3
3
  margin-bottom: 4px;
4
4
  ${e=>i.getComponentTypographyCss(e.theme,"FormField",e.size,"enabled")}
@@ -3,7 +3,7 @@ import { forwardRef as w } from "react";
3
3
  import { s as u } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import j from "./FlexGrid.js";
5
5
  import W from "./FlexGridItem.js";
6
- import { c as A, b as C, g as O, a as U } from "./utils-DtEfC-TX.js";
6
+ import { d as A, c as C, g as O, b as U } from "./utils-B2fsQ6PS.js";
7
7
  import { u as P } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
8
  import Y from "./Button.js";
9
9
  import d from "./IconButton.js";