@lanaco/lnc-react-ui 4.0.199 → 4.0.201

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 (270) hide show
  1. package/dist/Accordion.cjs +5 -5
  2. package/dist/Accordion.js +45 -56
  3. package/dist/AccordionDetails.cjs +3 -3
  4. package/dist/AccordionDetails.js +11 -25
  5. package/dist/AccordionSummary.cjs +4 -4
  6. package/dist/AccordionSummary.js +34 -44
  7. package/dist/ActionsToolbar.cjs +2 -3
  8. package/dist/ActionsToolbar.js +83 -135
  9. package/dist/Alert.cjs +10 -10
  10. package/dist/Alert.js +32 -64
  11. package/dist/Avatar.cjs +9 -9
  12. package/dist/Avatar.js +33 -72
  13. package/dist/Badge.cjs +6 -6
  14. package/dist/Badge.js +22 -47
  15. package/dist/BannerSectionCarousel.cjs +4 -4
  16. package/dist/BannerSectionCarousel.js +51 -542
  17. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  18. package/dist/BlogCardsSponsoredSection.js +1 -1
  19. package/dist/BlogCategoryCardsSection.cjs +1 -1
  20. package/dist/BlogCategoryCardsSection.js +12 -14
  21. package/dist/BlogExploreSection.cjs +1 -1
  22. package/dist/BlogExploreSection.js +1 -1
  23. package/dist/BlogListSection.cjs +1 -1
  24. package/dist/BlogListSection.js +1 -1
  25. package/dist/BlogsSectionDetailed.cjs +1 -1
  26. package/dist/BlogsSectionDetailed.js +1 -1
  27. package/dist/BlogsSectionSimple.cjs +1 -1
  28. package/dist/BlogsSectionSimple.js +1 -1
  29. package/dist/BlogsSectionWithFilters.cjs +1 -1
  30. package/dist/BlogsSectionWithFilters.js +2 -2
  31. package/dist/Breadcrumbs.cjs +5 -5
  32. package/dist/Breadcrumbs.js +57 -87
  33. package/dist/Button.cjs +11 -11
  34. package/dist/Button.js +126 -173
  35. package/dist/ButtonGroup.cjs +8 -8
  36. package/dist/ButtonGroup.js +37 -49
  37. package/dist/CalorieCalculatorSection.cjs +8 -8
  38. package/dist/CalorieCalculatorSection.js +90 -97
  39. package/dist/CheckBoxInput.cjs +1 -1
  40. package/dist/CheckBoxInput.js +2 -5
  41. package/dist/Chip.cjs +14 -14
  42. package/dist/Chip.js +73 -111
  43. package/dist/ConfirmationForm.cjs +6 -6
  44. package/dist/ConfirmationForm.js +67 -109
  45. package/dist/ContactSection.cjs +1 -0
  46. package/dist/ContactSection.js +1 -0
  47. package/dist/Content.cjs +1 -1
  48. package/dist/Content.js +7 -15
  49. package/dist/{DailyMotion-ByXblnua.js → DailyMotion-BBcJkMo_.js} +1 -1
  50. package/dist/{DailyMotion-BaFUcQKQ.cjs → DailyMotion-CpZExcrg.cjs} +1 -1
  51. package/dist/DataView.cjs +1 -1
  52. package/dist/DataView.js +30 -50
  53. package/dist/DateInput.cjs +4 -4
  54. package/dist/DateInput.js +1347 -1383
  55. package/dist/DecimalInput.cjs +6 -6
  56. package/dist/DecimalInput.js +210 -263
  57. package/dist/DecimalInputV2.cjs +23 -23
  58. package/dist/DecimalInputV2.js +119 -176
  59. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  60. package/dist/DetailedProductsInfinitiveSection.js +1 -1
  61. package/dist/DetailedProductsSection.cjs +1 -1
  62. package/dist/DetailedProductsSection.js +2 -2
  63. package/dist/DetailsView.cjs +9 -9
  64. package/dist/DetailsView.js +111 -162
  65. package/dist/DoubleRangeSlider.cjs +22 -22
  66. package/dist/DoubleRangeSlider.js +70 -95
  67. package/dist/DragAndDropFile.cjs +10 -10
  68. package/dist/DragAndDropFile.js +347 -402
  69. package/dist/DragDropFiles.cjs +4 -4
  70. package/dist/DragDropFiles.js +70 -124
  71. package/dist/Drawer.cjs +5 -5
  72. package/dist/Drawer.js +97 -135
  73. package/dist/Dropdown.cjs +1 -1
  74. package/dist/Dropdown.js +44 -213
  75. package/dist/DropdownItem.cjs +14 -14
  76. package/dist/DropdownItem.js +106 -142
  77. package/dist/DropdownLookup.cjs +1 -1
  78. package/dist/DropdownLookup.js +61 -242
  79. package/dist/DropdownMenu.cjs +4 -4
  80. package/dist/DropdownMenu.js +87 -149
  81. package/dist/EditableTable.cjs +10 -10
  82. package/dist/EditableTable.js +165 -331
  83. package/dist/{Facebook-BCqiOWZO.js → Facebook-BSWPEXjA.js} +1 -1
  84. package/dist/{Facebook-D9wwecSW.cjs → Facebook-DoKw-XxT.cjs} +1 -1
  85. package/dist/FaqSection.cjs +3 -3
  86. package/dist/FaqSection.js +119 -153
  87. package/dist/FileInput.cjs +7 -7
  88. package/dist/FileInput.js +66 -94
  89. package/dist/{FilePlayer-ktaNhf3p.js → FilePlayer-BtGpIWnK.js} +1 -1
  90. package/dist/{FilePlayer-DB6jnpeC.cjs → FilePlayer-D9az_lc_.cjs} +1 -1
  91. package/dist/FlexBox.cjs +6 -6
  92. package/dist/FlexBox.js +28 -63
  93. package/dist/FlexGrid.cjs +1 -1
  94. package/dist/FlexGrid.js +27 -67
  95. package/dist/FlexGridItem.cjs +6 -6
  96. package/dist/FlexGridItem.js +34 -62
  97. package/dist/Footer.cjs +1 -1
  98. package/dist/Footer.js +7 -15
  99. package/dist/FormField.cjs +7 -7
  100. package/dist/FormField.js +22 -47
  101. package/dist/FormView.cjs +6 -6
  102. package/dist/FormView.js +148 -195
  103. package/dist/GiftCardsSection.cjs +1 -1
  104. package/dist/GiftCardsSection.js +1 -1
  105. package/dist/Grid.cjs +2 -2
  106. package/dist/Grid.js +40 -65
  107. package/dist/GridItem.cjs +2 -2
  108. package/dist/GridItem.js +47 -80
  109. package/dist/Header.cjs +1 -1
  110. package/dist/Header.js +7 -15
  111. package/dist/HelpBannerSection.cjs +3 -3
  112. package/dist/HelpBannerSection.js +9 -15
  113. package/dist/Icon.cjs +4 -4
  114. package/dist/Icon.js +29 -55
  115. package/dist/IconButton.cjs +9 -9
  116. package/dist/IconButton.js +89 -127
  117. package/dist/{Kaltura-CvlN0HDg.js → Kaltura-BDqlEQpd.js} +1 -1
  118. package/dist/{Kaltura-CCdXLzOa.cjs → Kaltura-CK6JHUZC.cjs} +1 -1
  119. package/dist/Kanban.cjs +7 -7
  120. package/dist/Kanban.js +2033 -2098
  121. package/dist/KanbanActionsToolbar.cjs +4 -5
  122. package/dist/KanbanActionsToolbar.js +61 -96
  123. package/dist/KanbanCard-B9V9EjVE.js +137 -0
  124. package/dist/KanbanCard-DihrKn-I.cjs +30 -0
  125. package/dist/KanbanCard.cjs +1 -1
  126. package/dist/KanbanCard.js +2 -3
  127. package/dist/KanbanFooter.cjs +3 -3
  128. package/dist/KanbanFooter.js +37 -55
  129. package/dist/KanbanHeader.cjs +4 -4
  130. package/dist/KanbanHeader.js +49 -81
  131. package/dist/KanbanView.cjs +2 -2
  132. package/dist/KanbanView.js +106 -173
  133. package/dist/Link.cjs +7 -7
  134. package/dist/Link.js +20 -37
  135. package/dist/LocationSearchSection.cjs +1 -1
  136. package/dist/LocationSearchSection.js +1 -1
  137. package/dist/MasonryGeneralCardsSection.cjs +1 -1
  138. package/dist/MasonryGeneralCardsSection.js +1 -1
  139. package/dist/MenuItem.cjs +13 -13
  140. package/dist/MenuItem.js +101 -139
  141. package/dist/{Mixcloud-nG_VyBNt.cjs → Mixcloud-C1Boh2Bm.cjs} +1 -1
  142. package/dist/{Mixcloud-Bb8MTclI.js → Mixcloud-zAh6j7Ha.js} +1 -1
  143. package/dist/Modal.cjs +18 -19
  144. package/dist/Modal.js +131 -166
  145. package/dist/MultiSelectDropdown.cjs +1 -1
  146. package/dist/MultiSelectDropdown.js +25 -196
  147. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  148. package/dist/MultiSelectDropdownLookup.js +27 -209
  149. package/dist/{Mux-DfYpGTiP.js → Mux-BGTG_Tvc.js} +1 -1
  150. package/dist/{Mux-BgB2a8kM.cjs → Mux-C6TwZeaq.cjs} +1 -1
  151. package/dist/NestedDropdownItem.cjs +3 -3
  152. package/dist/NestedDropdownItem.js +45 -67
  153. package/dist/NestedMenuItem.cjs +5 -5
  154. package/dist/NestedMenuItem.js +51 -78
  155. package/dist/NotificationContainer.cjs +10 -10
  156. package/dist/NotificationContainer.js +46 -79
  157. package/dist/NotificationMessage.cjs +2 -2
  158. package/dist/NotificationMessage.js +47 -64
  159. package/dist/NumberInput.cjs +23 -23
  160. package/dist/NumberInput.js +89 -149
  161. package/dist/PageLayout.cjs +2 -2
  162. package/dist/PageLayout.js +20 -28
  163. package/dist/Pagination.cjs +3 -3
  164. package/dist/Pagination.js +102 -185
  165. package/dist/PartnerBrandsSection.cjs +62 -0
  166. package/dist/PartnerBrandsSection.js +154 -0
  167. package/dist/PartnerStatsSection.cjs +100 -0
  168. package/dist/PartnerStatsSection.js +124 -0
  169. package/dist/PasswordInput.cjs +23 -23
  170. package/dist/PasswordInput.js +108 -137
  171. package/dist/Popover.cjs +1 -1
  172. package/dist/Popover.js +7 -32
  173. package/dist/PopoverContent.cjs +5 -5
  174. package/dist/PopoverContent.js +22 -28
  175. package/dist/PopoverTrigger.cjs +1 -1
  176. package/dist/PopoverTrigger.js +7 -12
  177. package/dist/ProductsWithBannerSection.cjs +1 -1
  178. package/dist/ProductsWithBannerSection.js +1 -1
  179. package/dist/ProgressBar.cjs +8 -8
  180. package/dist/ProgressBar.js +32 -59
  181. package/dist/RadioGroup.cjs +3 -3
  182. package/dist/RadioGroup.js +41 -72
  183. package/dist/RadioInput.cjs +28 -28
  184. package/dist/RadioInput.js +78 -123
  185. package/dist/RangeSlider.cjs +19 -19
  186. package/dist/RangeSlider.js +92 -119
  187. package/dist/ReviewsSection.cjs +13 -13
  188. package/dist/ReviewsSection.js +81 -101
  189. package/dist/SalesCampaignsSection.cjs +38 -28
  190. package/dist/SalesCampaignsSection.js +297 -325
  191. package/dist/SearchBar.cjs +10 -10
  192. package/dist/SearchBar.js +168 -188
  193. package/dist/SearchSection-B94YN_6P.cjs +161 -0
  194. package/dist/{SearchSection-DDQ_K98T.js → SearchSection-DAaMecR4.js} +337 -359
  195. package/dist/SearchSection.cjs +1 -1
  196. package/dist/SearchSection.js +2 -3
  197. package/dist/Separator.cjs +3 -3
  198. package/dist/Separator.js +14 -19
  199. package/dist/Sidebar.cjs +4 -5
  200. package/dist/Sidebar.js +33 -56
  201. package/dist/SimpleCategoriesSection.cjs +2 -2
  202. package/dist/SimpleCategoriesSection.js +2 -2
  203. package/dist/{SoundCloud-C86xwUG6.cjs → SoundCloud-C6R6E6Zc.cjs} +1 -1
  204. package/dist/{SoundCloud-DG91z39R.js → SoundCloud-lO8wg_0s.js} +1 -1
  205. package/dist/Spinner.cjs +18 -18
  206. package/dist/Spinner.js +37 -54
  207. package/dist/StatsSection.cjs +6 -6
  208. package/dist/StatsSection.js +15 -25
  209. package/dist/{Streamable-4uAnb3WN.cjs → Streamable-DZO95CiT.cjs} +1 -1
  210. package/dist/{Streamable-BAIWLgyD.js → Streamable-Dwa5ZEK4.js} +1 -1
  211. package/dist/Surface.cjs +4 -4
  212. package/dist/Surface.js +19 -34
  213. package/dist/SwipeableDrawer.cjs +8 -8
  214. package/dist/SwipeableDrawer.js +84 -136
  215. package/dist/TabItem.cjs +11 -11
  216. package/dist/TabItem.js +83 -118
  217. package/dist/Table.cjs +65 -65
  218. package/dist/Table.js +786 -1167
  219. package/dist/TableView.cjs +2 -2
  220. package/dist/TableView.js +113 -197
  221. package/dist/Tabs.cjs +4 -4
  222. package/dist/Tabs.js +41 -60
  223. package/dist/TextAreaInput.cjs +14 -14
  224. package/dist/TextAreaInput.js +131 -181
  225. package/dist/TextInput.cjs +23 -23
  226. package/dist/TextInput.js +78 -126
  227. package/dist/ThemeProvider.cjs +5 -5
  228. package/dist/ThemeProvider.js +35 -39
  229. package/dist/TimeInput.cjs +7 -7
  230. package/dist/TimeInput.js +46 -72
  231. package/dist/Toggle.cjs +20 -20
  232. package/dist/Toggle.js +78 -109
  233. package/dist/ToggleSection.cjs +5 -5
  234. package/dist/ToggleSection.js +48 -55
  235. package/dist/TreeMenu.cjs +5 -5
  236. package/dist/TreeMenu.js +43 -67
  237. package/dist/TreeMenuSeparator.cjs +3 -3
  238. package/dist/TreeMenuSeparator.js +12 -20
  239. package/dist/{Twitch-CVAj24ti.cjs → Twitch-B17oKtD0.cjs} +1 -1
  240. package/dist/{Twitch-DfXeW5Xs.js → Twitch-C73-dwWo.js} +1 -1
  241. package/dist/UploadedFile.cjs +11 -11
  242. package/dist/UploadedFile.js +73 -99
  243. package/dist/{Vidyard-De3pges0.js → Vidyard-B6GdBHsM.js} +1 -1
  244. package/dist/{Vidyard-DaCcaaH4.cjs → Vidyard-s1MMcaRm.cjs} +1 -1
  245. package/dist/{Vimeo-8wXdCXGs.cjs → Vimeo-J1l_SU2E.cjs} +1 -1
  246. package/dist/{Vimeo-N6I2qi_h.js → Vimeo-kzHz4Gco.js} +1 -1
  247. package/dist/{Wistia-BrUzHQoq.cjs → Wistia-CudQyDHM.cjs} +1 -1
  248. package/dist/{Wistia-dlV6n6tO.js → Wistia-w4jnqd7y.js} +1 -1
  249. package/dist/{YouTube-Cfsj4ZaP.cjs → YouTube-BAYKouHS.cjs} +1 -1
  250. package/dist/{YouTube-DNJxWqRm.js → YouTube-BKyipPZx.js} +1 -1
  251. package/dist/index-BdKi2ogu.js +39 -0
  252. package/dist/index-BppfjY8h.js +497 -0
  253. package/dist/index-CRk3vcd4.cjs +95 -0
  254. package/dist/index-CX2A-q39.cjs +4 -0
  255. package/dist/{index-CWALXP1T.js → index-CwMCk9wV.js} +118 -145
  256. package/dist/index-DeS-oqJB.cjs +1 -0
  257. package/dist/index.cjs +1 -1
  258. package/dist/index.js +25 -21
  259. package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
  260. package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
  261. package/dist/{tag-BtS5lWJ0.js → tag-Dm8CW4TM.js} +21 -27
  262. package/dist/{tag-CmeZsPQt.cjs → tag-UQjq2_Ba.cjs} +7 -7
  263. package/package.json +4 -2
  264. package/vite.config.js +8 -0
  265. package/dist/KanbanCard-68kSAXL6.js +0 -175
  266. package/dist/KanbanCard-BDvoqTDS.cjs +0 -30
  267. package/dist/SearchSection-BcbHP6QF.cjs +0 -161
  268. package/dist/index-Be-_NM9Q.cjs +0 -4
  269. package/dist/index-C0LcDEqa.js +0 -47
  270. package/dist/index-CSNxZFTX.cjs +0 -95
@@ -0,0 +1,497 @@
1
+ import { c as j, g as dt } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ import A from "react";
3
+ var U = {}, z = {}, m = {}, F = {};
4
+ (function(o) {
5
+ function i(a, n, l) {
6
+ var u = n.slidesToShow, h = n.currentSlide;
7
+ return l.length > 2 * u ? a + 2 * u : h >= l.length ? l.length + a : a;
8
+ }
9
+ function t(a, n) {
10
+ if (n.length > 2 * a) {
11
+ for (var l = {}, u = n.length - 2 * a, h = n.length - u, c = u, d = 0; d < h; d++) l[d] = c, c++;
12
+ var p = n.length + h, f = p + n.slice(0, 2 * a).length, g = 0;
13
+ for (d = p; d <= f; d++) l[d] = g, g++;
14
+ var w = p, b = 0;
15
+ for (d = h; d < w; d++) l[d] = b, b++;
16
+ return l;
17
+ }
18
+ l = {};
19
+ var C = 3 * n.length, S = 0;
20
+ for (d = 0; d < C; d++) l[d] = S, ++S === n.length && (S = 0);
21
+ return l;
22
+ }
23
+ function e(a, n) {
24
+ return n.length < a ? n : n.length > 2 * a ? n.slice(n.length - 2 * a, n.length).concat(n, n.slice(0, 2 * a)) : n.concat(n, n);
25
+ }
26
+ function r(a, n) {
27
+ return n.length > 2 * a ? 2 * a : n.length;
28
+ }
29
+ function s(a, n, l) {
30
+ var u, h = a.currentSlide, c = a.slidesToShow, d = a.itemWidth, p = a.totalItems, f = 0, g = 0, w = h === 0, b = n.length - (n.length - 2 * c);
31
+ return n.length < c ? (g = f = 0, w = u = !1) : n.length > 2 * c ? ((u = h >= b + n.length) && (g = -d * (f = h - n.length)), w && (g = -d * (f = b + (n.length - 2 * c)))) : ((u = h >= 2 * n.length) && (g = -d * (f = h - n.length)), w && (g = l.showDots ? -d * (f = n.length) : -d * (f = p / 3))), { isReachingTheEnd: u, isReachingTheStart: w, nextSlide: f, nextPosition: g };
32
+ }
33
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.getOriginalCounterPart = i, o.getOriginalIndexLookupTableByClones = t, o.getClones = e, o.getInitialSlideInInfiniteMode = r, o.checkClonesPosition = s;
34
+ })(F);
35
+ var O = {};
36
+ Object.defineProperty(O, "__esModule", { value: !0 });
37
+ var et = !1;
38
+ function ct(o, i, t, e) {
39
+ var r = 0, s = e || t;
40
+ return i && s && (!et && process.env.NODE_ENV !== "production" && o[s].paritialVisibilityGutter && (et = !0, console.warn("You appear to be using paritialVisibilityGutter instead of partialVisibilityGutter which will be moved to partialVisibilityGutter in the future completely")), r = o[s].partialVisibilityGutter || o[s].paritialVisibilityGutter), r;
41
+ }
42
+ function pt(o, i) {
43
+ var t;
44
+ return i[o] && (t = (100 / i[o].items).toFixed(1)), t;
45
+ }
46
+ function ft(o, i, t) {
47
+ return Math.round(t / (i + (o.centerMode ? 1 : 0)));
48
+ }
49
+ O.getPartialVisibilityGutter = ct, O.getWidthFromDeviceType = pt, O.getItemClientSideWidth = ft;
50
+ var y = {};
51
+ Object.defineProperty(y, "__esModule", { value: !0 });
52
+ var Y = O;
53
+ function K(o) {
54
+ var i = o.slidesToShow;
55
+ return o.totalItems < i;
56
+ }
57
+ function mt(o, i) {
58
+ var t, e = o.domLoaded, r = o.slidesToShow, s = o.containerWidth, a = o.itemWidth, n = i.deviceType, l = i.responsive, u = i.ssr, h = i.partialVisbile, c = i.partialVisible, d = !!(e && r && s && a);
59
+ u && n && !d && (t = Y.getWidthFromDeviceType(n, l));
60
+ var p = !!(u && n && !d && t);
61
+ return { shouldRenderOnSSR: p, flexBisis: t, domFullyLoaded: d, partialVisibilityGutter: Y.getPartialVisibilityGutter(l, h || c, n, o.deviceType), shouldRenderAtAll: p || d };
62
+ }
63
+ function vt(o, i) {
64
+ var t = i.currentSlide, e = i.slidesToShow;
65
+ return t <= o && o < t + e;
66
+ }
67
+ function nt(o, i, t) {
68
+ var e = t || o.transform;
69
+ return !i.infinite && o.currentSlide === 0 || K(o) ? e : e + o.itemWidth / 2;
70
+ }
71
+ function gt(o) {
72
+ return !(0 < o.currentSlide);
73
+ }
74
+ function st(o) {
75
+ var i = o.currentSlide, t = o.totalItems;
76
+ return !(i + o.slidesToShow < t);
77
+ }
78
+ function at(o, i, t, e) {
79
+ i === void 0 && (i = 0);
80
+ var r = o.currentSlide, s = o.slidesToShow, a = st(o), n = !t.infinite && a, l = e || o.transform;
81
+ if (K(o)) return l;
82
+ var u = l + r * i;
83
+ return n ? u + (o.containerWidth - (o.itemWidth - i) * s) : u;
84
+ }
85
+ function lt(o, i) {
86
+ return o.rtl ? -1 * i : i;
87
+ }
88
+ function St(o, i, t) {
89
+ var e = i.partialVisbile, r = i.partialVisible, s = i.responsive, a = i.deviceType, n = i.centerMode, l = t || o.transform, u = Y.getPartialVisibilityGutter(s, e || r, a, o.deviceType);
90
+ return lt(i, r || e ? at(o, u, i, t) : n ? nt(o, i, t) : l);
91
+ }
92
+ function yt(o, i) {
93
+ var t = o.domLoaded, e = o.slidesToShow, r = o.containerWidth, s = o.itemWidth, a = i.deviceType, n = i.responsive, l = i.slidesToSlide || 1, u = !!(t && e && r && s);
94
+ return i.ssr && i.deviceType && !u && Object.keys(n).forEach(function(h) {
95
+ var c = n[h].slidesToSlide;
96
+ a === h && c && (l = c);
97
+ }), u && Object.keys(n).forEach(function(h) {
98
+ var c = n[h], d = c.breakpoint, p = c.slidesToSlide, f = d.max, g = d.min;
99
+ p && window.innerWidth >= g && window.innerWidth <= f && (l = p);
100
+ }), l;
101
+ }
102
+ y.notEnoughChildren = K, y.getInitialState = mt, y.getIfSlideIsVisbile = vt, y.getTransformForCenterMode = nt, y.isInLeftEnd = gt, y.isInRightEnd = st, y.getTransformForPartialVsibile = at, y.parsePosition = lt, y.getTransform = St, y.getSlidesToSlide = yt;
103
+ var q = {};
104
+ Object.defineProperty(q, "__esModule", { value: !0 });
105
+ var Tt = function(o, i, t) {
106
+ var e;
107
+ return function() {
108
+ var r = arguments;
109
+ e || (o.apply(this, r), e = !0, typeof t == "function" && t(!0), setTimeout(function() {
110
+ e = !1, typeof t == "function" && t(!1);
111
+ }, i));
112
+ };
113
+ };
114
+ q.default = Tt;
115
+ var ut = {};
116
+ (function(o) {
117
+ function i(t, e) {
118
+ var r = e.partialVisbile, s = e.partialVisible, a = e.centerMode, n = e.ssr, l = e.responsive;
119
+ if ((r || s) && a) throw new Error("center mode can not be used at the same time with partialVisible");
120
+ if (!l) throw n ? new Error("ssr mode need to be used in conjunction with responsive prop") : new Error("Responsive prop is needed for deciding the amount of items to show on the screen");
121
+ if (l && typeof l != "object") throw new Error("responsive prop must be an object");
122
+ }
123
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.default = i;
124
+ })(ut);
125
+ var J = {};
126
+ Object.defineProperty(J, "__esModule", { value: !0 });
127
+ var wt = y;
128
+ function bt(o, i, t) {
129
+ t === void 0 && (t = 0);
130
+ var e, r, s = o.slidesToShow, a = o.currentSlide, n = o.itemWidth, l = o.totalItems, u = wt.getSlidesToSlide(o, i), h = a + 1 + t + s + (0 < t ? 0 : u);
131
+ return r = h <= l ? -n * (e = a + t + (0 < t ? 0 : u)) : l < h && a !== l - s ? -n * (e = l - s) : e = void 0, { nextSlides: e, nextPosition: r };
132
+ }
133
+ J.populateNextSlides = bt;
134
+ var Q = {};
135
+ Object.defineProperty(Q, "__esModule", { value: !0 });
136
+ var Ct = A, It = y, Mt = y;
137
+ function Et(o, i, t) {
138
+ t === void 0 && (t = 0);
139
+ var e, r, s = o.currentSlide, a = o.itemWidth, n = o.slidesToShow, l = i.children, u = i.showDots, h = i.infinite, c = It.getSlidesToSlide(o, i), d = s - t - (0 < t ? 0 : c), p = (Ct.Children.toArray(l).length - n) % c;
140
+ return r = 0 <= d ? (e = d, u && !h && 0 < p && Mt.isInRightEnd(o) && (e = s - p), -a * e) : e = d < 0 && s !== 0 ? 0 : void 0, { nextSlides: e, nextPosition: r };
141
+ }
142
+ Q.populatePreviousSlides = Et;
143
+ var ht = {};
144
+ (function(o) {
145
+ function i(t, e, r, s, a, n) {
146
+ var l, u, h = t.itemWidth, c = t.slidesToShow, d = t.totalItems, p = t.currentSlide, f = e.infinite, g = !1, w = Math.round((r - s) / h), b = Math.round((s - r) / h), C = r < a;
147
+ if (a < r && w <= c) {
148
+ l = "right";
149
+ var S = Math.abs(-h * (d - c)), M = n - (s - a), I = p === d - c;
150
+ (Math.abs(M) <= S || I && f) && (u = M, g = !0);
151
+ }
152
+ return C && b <= c && (l = "left", ((M = n + (a - s)) <= 0 || p === 0 && f) && (g = !0, u = M)), { direction: l, nextPosition: u, canContinue: g };
153
+ }
154
+ Object.defineProperty(o, "__esModule", { value: !0 }), o.populateSlidesOnMouseTouchMove = i;
155
+ })(ht);
156
+ Object.defineProperty(m, "__esModule", { value: !0 });
157
+ var x = F;
158
+ m.getOriginalCounterPart = x.getOriginalCounterPart, m.getClones = x.getClones, m.checkClonesPosition = x.checkClonesPosition, m.getInitialSlideInInfiniteMode = x.getInitialSlideInInfiniteMode;
159
+ var $ = O;
160
+ m.getWidthFromDeviceType = $.getWidthFromDeviceType, m.getPartialVisibilityGutter = $.getPartialVisibilityGutter, m.getItemClientSideWidth = $.getItemClientSideWidth;
161
+ var P = y;
162
+ m.getInitialState = P.getInitialState, m.getIfSlideIsVisbile = P.getIfSlideIsVisbile, m.getTransformForCenterMode = P.getTransformForCenterMode, m.getTransformForPartialVsibile = P.getTransformForPartialVsibile, m.isInLeftEnd = P.isInLeftEnd, m.isInRightEnd = P.isInRightEnd, m.notEnoughChildren = P.notEnoughChildren, m.getSlidesToSlide = P.getSlidesToSlide;
163
+ var Pt = q;
164
+ m.throttle = Pt.default;
165
+ var Rt = ut;
166
+ m.throwError = Rt.default;
167
+ var _t = J;
168
+ m.populateNextSlides = _t.populateNextSlides;
169
+ var Ot = Q;
170
+ m.populatePreviousSlides = Ot.populatePreviousSlides;
171
+ var At = ht;
172
+ m.populateSlidesOnMouseTouchMove = At.populateSlidesOnMouseTouchMove;
173
+ var B = {}, Wt = j && j.__extends || /* @__PURE__ */ function() {
174
+ var o = function(i, t) {
175
+ return (o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
176
+ e.__proto__ = r;
177
+ } || function(e, r) {
178
+ for (var s in r) r.hasOwnProperty(s) && (e[s] = r[s]);
179
+ })(i, t);
180
+ };
181
+ return function(i, t) {
182
+ function e() {
183
+ this.constructor = i;
184
+ }
185
+ o(i, t), i.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
186
+ };
187
+ }();
188
+ Object.defineProperty(B, "__esModule", { value: !0 });
189
+ var Dt = A;
190
+ function Lt(o) {
191
+ return "clientY" in o;
192
+ }
193
+ B.isMouseMoveEvent = Lt;
194
+ var xt = function(o) {
195
+ function i() {
196
+ return o !== null && o.apply(this, arguments) || this;
197
+ }
198
+ return Wt(i, o), i;
199
+ }(Dt.Component);
200
+ B.default = xt;
201
+ var Z = {}, H = {};
202
+ Object.defineProperty(H, "__esModule", { value: !0 });
203
+ var Vt = F, kt = y;
204
+ function jt(o, i, t, e) {
205
+ var r = {}, s = kt.getSlidesToSlide(i, t);
206
+ return Array(o).fill(0).forEach(function(a, n) {
207
+ var l = Vt.getOriginalCounterPart(n, i, e);
208
+ if (n === 0) r[0] = l;
209
+ else {
210
+ var u = r[n - 1] + s;
211
+ r[n] = u;
212
+ }
213
+ }), r;
214
+ }
215
+ H.getLookupTableForNextSlides = jt;
216
+ Object.defineProperty(Z, "__esModule", { value: !0 });
217
+ var D = A, Gt = F, Ft = H, it = y, Bt = function(o) {
218
+ var i = o.props, t = o.state, e = o.goToSlide, r = o.getState, s = i.showDots, a = i.customDot, n = i.dotListClass, l = i.infinite, u = i.children;
219
+ if (!s || it.notEnoughChildren(t)) return null;
220
+ var h, c = t.currentSlide, d = t.slidesToShow, p = it.getSlidesToSlide(t, i), f = D.Children.toArray(u);
221
+ h = l ? Math.ceil(f.length / p) : Math.ceil((f.length - d) / p) + 1;
222
+ var g = Ft.getLookupTableForNextSlides(h, t, i, f), w = Gt.getOriginalIndexLookupTableByClones(d, f), b = w[c];
223
+ return D.createElement("ul", { className: "react-multi-carousel-dot-list " + n }, Array(h).fill(0).map(function(C, S) {
224
+ var M, I;
225
+ if (l) {
226
+ I = g[S];
227
+ var _ = w[I];
228
+ M = b === _ || _ <= b && b < _ + p;
229
+ } else {
230
+ var W = f.length - d, L = S * p;
231
+ M = (I = W < L ? W : L) === c || I < c && c < I + p && c < f.length - d;
232
+ }
233
+ return a ? D.cloneElement(a, { index: S, active: M, key: S, onClick: function() {
234
+ return e(I);
235
+ }, carouselState: r() }) : D.createElement("li", { "data-index": S, key: S, className: "react-multi-carousel-dot " + (M ? "react-multi-carousel-dot--active" : "") }, D.createElement("button", { "aria-label": "Go to slide " + (S + 1), onClick: function() {
236
+ return e(I);
237
+ } }));
238
+ }));
239
+ };
240
+ Z.default = Bt;
241
+ var N = {};
242
+ Object.defineProperty(N, "__esModule", { value: !0 });
243
+ var G = A, Nt = function(o) {
244
+ var i = o.customLeftArrow, t = o.getState, e = o.previous, r = o.disabled, s = o.rtl;
245
+ if (i) return G.cloneElement(i, { onClick: function() {
246
+ return e();
247
+ }, carouselState: t(), disabled: r, rtl: s });
248
+ var a = s ? "rtl" : "";
249
+ return G.createElement("button", { "aria-label": "Go to previous slide", className: "react-multiple-carousel__arrow react-multiple-carousel__arrow--left " + a, onClick: function() {
250
+ return e();
251
+ }, type: "button", disabled: r });
252
+ };
253
+ N.LeftArrow = Nt;
254
+ var $t = function(o) {
255
+ var i = o.customRightArrow, t = o.getState, e = o.next, r = o.disabled, s = o.rtl;
256
+ if (i) return G.cloneElement(i, { onClick: function() {
257
+ return e();
258
+ }, carouselState: t(), disabled: r, rtl: s });
259
+ var a = s ? "rtl" : "";
260
+ return G.createElement("button", { "aria-label": "Go to next slide", className: "react-multiple-carousel__arrow react-multiple-carousel__arrow--right " + a, onClick: function() {
261
+ return e();
262
+ }, type: "button", disabled: r });
263
+ };
264
+ N.RightArrow = $t;
265
+ var tt = {};
266
+ Object.defineProperty(tt, "__esModule", { value: !0 });
267
+ var V = A, X = m, Xt = function(o) {
268
+ var i = o.props, t = o.state, e = o.goToSlide, r = o.clones, s = o.notEnoughChildren, a = t.itemWidth, n = i.children, l = i.infinite, u = i.itemClass, h = i.itemAriaLabel, c = i.partialVisbile, d = i.partialVisible, p = X.getInitialState(t, i), f = p.flexBisis, g = p.shouldRenderOnSSR, w = p.domFullyLoaded, b = p.partialVisibilityGutter;
269
+ return p.shouldRenderAtAll ? (c && console.warn('WARNING: Please correct props name: "partialVisible" as old typo will be removed in future versions!'), V.createElement(V.Fragment, null, (l ? r : V.Children.toArray(n)).map(function(C, S) {
270
+ return V.createElement("li", { key: S, "data-index": S, onClick: function() {
271
+ i.focusOnSelect && e(S);
272
+ }, "aria-hidden": X.getIfSlideIsVisbile(S, t) ? "false" : "true", "aria-label": h || (C.props.ariaLabel ? C.props.ariaLabel : null), style: { flex: g ? "1 0 " + f + "%" : "auto", position: "relative", width: w ? ((c || d) && b && !s ? a - b : a) + "px" : "auto" }, className: "react-multi-carousel-item " + (X.getIfSlideIsVisbile(S, t) ? "react-multi-carousel-item--active" : "") + " " + u }, C);
273
+ }))) : null;
274
+ };
275
+ tt.default = Xt;
276
+ var Yt = j && j.__extends || /* @__PURE__ */ function() {
277
+ var o = function(i, t) {
278
+ return (o = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
279
+ e.__proto__ = r;
280
+ } || function(e, r) {
281
+ for (var s in r) r.hasOwnProperty(s) && (e[s] = r[s]);
282
+ })(i, t);
283
+ };
284
+ return function(i, t) {
285
+ function e() {
286
+ this.constructor = i;
287
+ }
288
+ o(i, t), i.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
289
+ };
290
+ }();
291
+ Object.defineProperty(z, "__esModule", { value: !0 });
292
+ var T = A, v = m, R = B, Ut = Z, ot = N, zt = tt, k = y, E = 400, rt = "transform 400ms ease-in-out", Kt = function(o) {
293
+ function i(t) {
294
+ var e = o.call(this, t) || this;
295
+ return e.containerRef = T.createRef(), e.listRef = T.createRef(), e.state = { itemWidth: 0, slidesToShow: 0, currentSlide: 0, totalItems: T.Children.count(t.children), deviceType: "", domLoaded: !1, transform: 0, containerWidth: 0 }, e.onResize = e.onResize.bind(e), e.handleDown = e.handleDown.bind(e), e.handleMove = e.handleMove.bind(e), e.handleOut = e.handleOut.bind(e), e.onKeyUp = e.onKeyUp.bind(e), e.handleEnter = e.handleEnter.bind(e), e.setIsInThrottle = e.setIsInThrottle.bind(e), e.next = v.throttle(e.next.bind(e), t.transitionDuration || E, e.setIsInThrottle), e.previous = v.throttle(e.previous.bind(e), t.transitionDuration || E, e.setIsInThrottle), e.goToSlide = v.throttle(e.goToSlide.bind(e), t.transitionDuration || E, e.setIsInThrottle), e.onMove = !1, e.initialX = 0, e.lastX = 0, e.isAnimationAllowed = !1, e.direction = "", e.initialY = 0, e.isInThrottle = !1, e.transformPlaceHolder = 0, e;
296
+ }
297
+ return Yt(i, o), i.prototype.resetTotalItems = function() {
298
+ var t = this, e = T.Children.count(this.props.children), r = v.notEnoughChildren(this.state) ? 0 : Math.max(0, Math.min(this.state.currentSlide, e));
299
+ this.setState({ totalItems: e, currentSlide: r }, function() {
300
+ t.setContainerAndItemWidth(t.state.slidesToShow, !0);
301
+ });
302
+ }, i.prototype.setIsInThrottle = function(t) {
303
+ t === void 0 && (t = !1), this.isInThrottle = t;
304
+ }, i.prototype.setTransformDirectly = function(t, e) {
305
+ var r = this.props.additionalTransfrom;
306
+ this.transformPlaceHolder = t;
307
+ var s = k.getTransform(this.state, this.props, this.transformPlaceHolder);
308
+ this.listRef && this.listRef.current && (this.setAnimationDirectly(e), this.listRef.current.style.transform = "translate3d(" + (s + r) + "px,0,0)");
309
+ }, i.prototype.setAnimationDirectly = function(t) {
310
+ this.listRef && this.listRef.current && (this.listRef.current.style.transition = t ? this.props.customTransition || rt : "none");
311
+ }, i.prototype.componentDidMount = function() {
312
+ this.setState({ domLoaded: !0 }), this.setItemsToShow(), window.addEventListener("resize", this.onResize), this.onResize(!0), this.props.keyBoardControl && window.addEventListener("keyup", this.onKeyUp), this.props.autoPlay && (this.autoPlay = setInterval(this.next, this.props.autoPlaySpeed));
313
+ }, i.prototype.setClones = function(t, e, r, s) {
314
+ var a = this;
315
+ s === void 0 && (s = !1), this.isAnimationAllowed = !1;
316
+ var n = T.Children.toArray(this.props.children), l = v.getInitialSlideInInfiniteMode(t || this.state.slidesToShow, n), u = v.getClones(this.state.slidesToShow, n), h = n.length < this.state.slidesToShow ? 0 : this.state.currentSlide;
317
+ this.setState({ totalItems: u.length, currentSlide: r && !s ? h : l }, function() {
318
+ a.correctItemsPosition(e || a.state.itemWidth);
319
+ });
320
+ }, i.prototype.setItemsToShow = function(t, e) {
321
+ var r = this, s = this.props.responsive;
322
+ Object.keys(s).forEach(function(a) {
323
+ var n = s[a], l = n.breakpoint, u = n.items, h = l.max, c = l.min, d = [window.innerWidth];
324
+ window.screen && window.screen.width && d.push(window.screen.width);
325
+ var p = Math.min.apply(Math, d);
326
+ c <= p && p <= h && (r.setState({ slidesToShow: u, deviceType: a }), r.setContainerAndItemWidth(u, t, e));
327
+ });
328
+ }, i.prototype.setContainerAndItemWidth = function(t, e, r) {
329
+ var s = this;
330
+ if (this.containerRef && this.containerRef.current) {
331
+ var a = this.containerRef.current.offsetWidth, n = v.getItemClientSideWidth(this.props, t, a);
332
+ this.setState({ containerWidth: a, itemWidth: n }, function() {
333
+ s.props.infinite && s.setClones(t, n, e, r);
334
+ }), e && this.correctItemsPosition(n);
335
+ }
336
+ }, i.prototype.correctItemsPosition = function(t, e, r) {
337
+ e && (this.isAnimationAllowed = !0), !e && this.isAnimationAllowed && (this.isAnimationAllowed = !1);
338
+ var s = this.state.totalItems < this.state.slidesToShow ? 0 : -t * this.state.currentSlide;
339
+ r && this.setTransformDirectly(s, !0), this.setState({ transform: s });
340
+ }, i.prototype.onResize = function(t) {
341
+ var e;
342
+ e = !!this.props.infinite && (typeof t != "boolean" || !t), this.setItemsToShow(e);
343
+ }, i.prototype.componentDidUpdate = function(t, e) {
344
+ var r = this, s = t.keyBoardControl, a = t.autoPlay, n = t.children, l = e.containerWidth, u = e.domLoaded, h = e.currentSlide;
345
+ if (this.containerRef && this.containerRef.current && this.containerRef.current.offsetWidth !== l && (this.itemsToShowTimeout && clearTimeout(this.itemsToShowTimeout), this.itemsToShowTimeout = setTimeout(function() {
346
+ r.setItemsToShow(!0);
347
+ }, this.props.transitionDuration || E)), s && !this.props.keyBoardControl && window.removeEventListener("keyup", this.onKeyUp), !s && this.props.keyBoardControl && window.addEventListener("keyup", this.onKeyUp), a && !this.props.autoPlay && this.autoPlay && (clearInterval(this.autoPlay), this.autoPlay = void 0), a || !this.props.autoPlay || this.autoPlay || (this.autoPlay = setInterval(this.next, this.props.autoPlaySpeed)), n.length !== this.props.children.length ? i.clonesTimeout = setTimeout(function() {
348
+ r.props.infinite ? r.setClones(r.state.slidesToShow, r.state.itemWidth, !0, !0) : r.resetTotalItems();
349
+ }, this.props.transitionDuration || E) : this.props.infinite && this.state.currentSlide !== h && this.correctClonesPosition({ domLoaded: u }), this.transformPlaceHolder !== this.state.transform && (this.transformPlaceHolder = this.state.transform), this.props.autoPlay && this.props.rewind && !this.props.infinite && v.isInRightEnd(this.state)) {
350
+ var c = this.props.transitionDuration || E;
351
+ i.isInThrottleTimeout = setTimeout(function() {
352
+ r.setIsInThrottle(!1), r.resetAutoplayInterval(), r.goToSlide(0, void 0, !!r.props.rewindWithAnimation);
353
+ }, c + this.props.autoPlaySpeed);
354
+ }
355
+ }, i.prototype.correctClonesPosition = function(t) {
356
+ var e = this, r = t.domLoaded, s = T.Children.toArray(this.props.children), a = v.checkClonesPosition(this.state, s, this.props), n = a.isReachingTheEnd, l = a.isReachingTheStart, u = a.nextSlide, h = a.nextPosition;
357
+ this.state.domLoaded && r && (n || l) && (this.isAnimationAllowed = !1, i.transformTimeout = setTimeout(function() {
358
+ e.setState({ transform: h, currentSlide: u });
359
+ }, this.props.transitionDuration || E));
360
+ }, i.prototype.next = function(t) {
361
+ var e = this;
362
+ t === void 0 && (t = 0);
363
+ var r = this.props, s = r.afterChange, a = r.beforeChange;
364
+ if (!v.notEnoughChildren(this.state)) {
365
+ var n = v.populateNextSlides(this.state, this.props, t), l = n.nextSlides, u = n.nextPosition, h = this.state.currentSlide;
366
+ l !== void 0 && u !== void 0 && (typeof a == "function" && a(l, this.getState()), this.isAnimationAllowed = !0, this.props.shouldResetAutoplay && this.resetAutoplayInterval(), this.setState({ transform: u, currentSlide: l }, function() {
367
+ typeof s == "function" && (i.afterChangeTimeout = setTimeout(function() {
368
+ s(h, e.getState());
369
+ }, e.props.transitionDuration || E));
370
+ }));
371
+ }
372
+ }, i.prototype.previous = function(t) {
373
+ var e = this;
374
+ t === void 0 && (t = 0);
375
+ var r = this.props, s = r.afterChange, a = r.beforeChange;
376
+ if (!v.notEnoughChildren(this.state)) {
377
+ var n = v.populatePreviousSlides(this.state, this.props, t), l = n.nextSlides, u = n.nextPosition;
378
+ if (l !== void 0 && u !== void 0) {
379
+ var h = this.state.currentSlide;
380
+ typeof a == "function" && a(l, this.getState()), this.isAnimationAllowed = !0, this.props.shouldResetAutoplay && this.resetAutoplayInterval(), this.setState({ transform: u, currentSlide: l }, function() {
381
+ typeof s == "function" && (i.afterChangeTimeout2 = setTimeout(function() {
382
+ s(h, e.getState());
383
+ }, e.props.transitionDuration || E));
384
+ });
385
+ }
386
+ }
387
+ }, i.prototype.resetAutoplayInterval = function() {
388
+ this.props.autoPlay && (clearInterval(this.autoPlay), this.autoPlay = setInterval(this.next, this.props.autoPlaySpeed));
389
+ }, i.prototype.componentWillUnmount = function() {
390
+ window.removeEventListener("resize", this.onResize), this.props.keyBoardControl && window.removeEventListener("keyup", this.onKeyUp), this.props.autoPlay && this.autoPlay && (clearInterval(this.autoPlay), this.autoPlay = void 0), this.itemsToShowTimeout && clearTimeout(this.itemsToShowTimeout), i.clonesTimeout && clearTimeout(i.clonesTimeout), i.isInThrottleTimeout && clearTimeout(i.isInThrottleTimeout), i.transformTimeout && clearTimeout(i.transformTimeout), i.afterChangeTimeout && clearTimeout(i.afterChangeTimeout), i.afterChangeTimeout2 && clearTimeout(i.afterChangeTimeout2), i.afterChangeTimeout3 && clearTimeout(i.afterChangeTimeout3);
391
+ }, i.prototype.resetMoveStatus = function() {
392
+ this.onMove = !1, this.initialX = 0, this.lastX = 0, this.direction = "", this.initialY = 0;
393
+ }, i.prototype.getCords = function(t) {
394
+ var e = t.clientX, r = t.clientY;
395
+ return { clientX: k.parsePosition(this.props, e), clientY: k.parsePosition(this.props, r) };
396
+ }, i.prototype.handleDown = function(t) {
397
+ if (!(!R.isMouseMoveEvent(t) && !this.props.swipeable || R.isMouseMoveEvent(t) && !this.props.draggable || this.isInThrottle)) {
398
+ var e = this.getCords(R.isMouseMoveEvent(t) ? t : t.touches[0]), r = e.clientX, s = e.clientY;
399
+ this.onMove = !0, this.initialX = r, this.initialY = s, this.lastX = r, this.isAnimationAllowed = !1;
400
+ }
401
+ }, i.prototype.handleMove = function(t) {
402
+ if (!(!R.isMouseMoveEvent(t) && !this.props.swipeable || R.isMouseMoveEvent(t) && !this.props.draggable || v.notEnoughChildren(this.state))) {
403
+ var e = this.getCords(R.isMouseMoveEvent(t) ? t : t.touches[0]), r = e.clientX, s = e.clientY, a = this.initialX - r, n = this.initialY - s;
404
+ if (this.onMove) {
405
+ if (!(Math.abs(a) > Math.abs(n))) return;
406
+ var l = v.populateSlidesOnMouseTouchMove(this.state, this.props, this.initialX, this.lastX, r, this.transformPlaceHolder), u = l.direction, h = l.nextPosition, c = l.canContinue;
407
+ u && (this.direction = u, c && h !== void 0 && this.setTransformDirectly(h)), this.lastX = r;
408
+ }
409
+ }
410
+ }, i.prototype.handleOut = function(t) {
411
+ this.props.autoPlay && !this.autoPlay && (this.autoPlay = setInterval(this.next, this.props.autoPlaySpeed));
412
+ var e = t.type === "touchend" && !this.props.swipeable, r = (t.type === "mouseleave" || t.type === "mouseup") && !this.props.draggable;
413
+ if (!e && !r && this.onMove) {
414
+ if (this.setAnimationDirectly(!0), this.direction === "right") if (this.initialX - this.lastX >= this.props.minimumTouchDrag) {
415
+ var s = Math.round((this.initialX - this.lastX) / this.state.itemWidth);
416
+ this.next(s);
417
+ } else this.correctItemsPosition(this.state.itemWidth, !0, !0);
418
+ this.direction === "left" && (this.lastX - this.initialX > this.props.minimumTouchDrag ? (s = Math.round((this.lastX - this.initialX) / this.state.itemWidth), this.previous(s)) : this.correctItemsPosition(this.state.itemWidth, !0, !0)), this.resetMoveStatus();
419
+ }
420
+ }, i.prototype.isInViewport = function(t) {
421
+ var e = t.getBoundingClientRect(), r = e.top, s = r === void 0 ? 0 : r, a = e.left, n = a === void 0 ? 0 : a, l = e.bottom, u = l === void 0 ? 0 : l, h = e.right, c = h === void 0 ? 0 : h;
422
+ return 0 <= s && 0 <= n && u <= (window.innerHeight || document.documentElement.clientHeight) && c <= (window.innerWidth || document.documentElement.clientWidth);
423
+ }, i.prototype.isChildOfCarousel = function(t) {
424
+ return !!(t instanceof Element && this.listRef && this.listRef.current) && this.listRef.current.contains(t);
425
+ }, i.prototype.onKeyUp = function(t) {
426
+ var e = t.target;
427
+ switch (t.keyCode) {
428
+ case 37:
429
+ if (this.isChildOfCarousel(e)) return this.previous();
430
+ break;
431
+ case 39:
432
+ if (this.isChildOfCarousel(e)) return this.next();
433
+ break;
434
+ case 9:
435
+ if (this.isChildOfCarousel(e) && e instanceof HTMLInputElement && this.isInViewport(e)) return this.next();
436
+ }
437
+ }, i.prototype.handleEnter = function(t) {
438
+ R.isMouseMoveEvent(t) && this.autoPlay && this.props.autoPlay && this.props.pauseOnHover && (clearInterval(this.autoPlay), this.autoPlay = void 0);
439
+ }, i.prototype.goToSlide = function(t, e, r) {
440
+ var s = this;
441
+ if (r === void 0 && (r = !0), !this.isInThrottle) {
442
+ var a = this.state.itemWidth, n = this.props, l = n.afterChange, u = n.beforeChange, h = this.state.currentSlide;
443
+ typeof u != "function" || e && (typeof e != "object" || e.skipBeforeChange) || u(t, this.getState()), this.isAnimationAllowed = r, this.props.shouldResetAutoplay && this.resetAutoplayInterval(), this.setState({ currentSlide: t, transform: -a * t }, function() {
444
+ s.props.infinite && s.correctClonesPosition({ domLoaded: !0 }), typeof l != "function" || e && (typeof e != "object" || e.skipAfterChange) || (i.afterChangeTimeout3 = setTimeout(function() {
445
+ l(h, s.getState());
446
+ }, s.props.transitionDuration || E));
447
+ });
448
+ }
449
+ }, i.prototype.getState = function() {
450
+ return this.state;
451
+ }, i.prototype.renderLeftArrow = function(t) {
452
+ var e = this, r = this.props, s = r.customLeftArrow, a = r.rtl;
453
+ return T.createElement(ot.LeftArrow, { customLeftArrow: s, getState: function() {
454
+ return e.getState();
455
+ }, previous: this.previous, disabled: t, rtl: a });
456
+ }, i.prototype.renderRightArrow = function(t) {
457
+ var e = this, r = this.props, s = r.customRightArrow, a = r.rtl;
458
+ return T.createElement(ot.RightArrow, { customRightArrow: s, getState: function() {
459
+ return e.getState();
460
+ }, next: this.next, disabled: t, rtl: a });
461
+ }, i.prototype.renderButtonGroups = function() {
462
+ var t = this, e = this.props.customButtonGroup;
463
+ return e ? T.cloneElement(e, { previous: function() {
464
+ return t.previous();
465
+ }, next: function() {
466
+ return t.next();
467
+ }, goToSlide: function(r, s) {
468
+ return t.goToSlide(r, s);
469
+ }, carouselState: this.getState() }) : null;
470
+ }, i.prototype.renderDotsList = function() {
471
+ var t = this;
472
+ return T.createElement(Ut.default, { state: this.state, props: this.props, goToSlide: this.goToSlide, getState: function() {
473
+ return t.getState();
474
+ } });
475
+ }, i.prototype.renderCarouselItems = function() {
476
+ var t = [];
477
+ if (this.props.infinite) {
478
+ var e = T.Children.toArray(this.props.children);
479
+ t = v.getClones(this.state.slidesToShow, e);
480
+ }
481
+ return T.createElement(zt.default, { clones: t, goToSlide: this.goToSlide, state: this.state, notEnoughChildren: v.notEnoughChildren(this.state), props: this.props });
482
+ }, i.prototype.render = function() {
483
+ var t = this.props, e = t.deviceType, r = t.arrows, s = t.renderArrowsWhenDisabled, a = t.removeArrowOnDeviceType, n = t.infinite, l = t.containerClass, u = t.sliderClass, h = t.customTransition, c = t.additionalTransfrom, d = t.renderDotsOutside, p = t.renderButtonGroupOutside, f = t.className, g = t.rtl;
484
+ process.env.NODE_ENV !== "production" && v.throwError(this.state, this.props);
485
+ var w = v.getInitialState(this.state, this.props), b = w.shouldRenderOnSSR, C = w.shouldRenderAtAll, S = v.isInLeftEnd(this.state), M = v.isInRightEnd(this.state), I = r && !(a && (e && -1 < a.indexOf(e) || this.state.deviceType && -1 < a.indexOf(this.state.deviceType))) && !v.notEnoughChildren(this.state) && C, _ = !n && S, W = !n && M, L = k.getTransform(this.state, this.props);
486
+ return T.createElement(T.Fragment, null, T.createElement("div", { className: "react-multi-carousel-list " + l + " " + f, dir: g ? "rtl" : "ltr", ref: this.containerRef }, T.createElement("ul", { ref: this.listRef, className: "react-multi-carousel-track " + u, style: { transition: this.isAnimationAllowed ? h || rt : "none", overflow: b ? "hidden" : "unset", transform: "translate3d(" + (L + c) + "px,0,0)" }, onMouseMove: this.handleMove, onMouseDown: this.handleDown, onMouseUp: this.handleOut, onMouseEnter: this.handleEnter, onMouseLeave: this.handleOut, onTouchStart: this.handleDown, onTouchMove: this.handleMove, onTouchEnd: this.handleOut }, this.renderCarouselItems()), I && (!_ || s) && this.renderLeftArrow(_), I && (!W || s) && this.renderRightArrow(W), C && !p && this.renderButtonGroups(), C && !d && this.renderDotsList()), C && d && this.renderDotsList(), C && p && this.renderButtonGroups());
487
+ }, i.defaultProps = { slidesToSlide: 1, infinite: !1, draggable: !0, swipeable: !0, arrows: !0, renderArrowsWhenDisabled: !1, containerClass: "", sliderClass: "", itemClass: "", keyBoardControl: !0, autoPlaySpeed: 3e3, showDots: !1, renderDotsOutside: !1, renderButtonGroupOutside: !1, minimumTouchDrag: 80, className: "", dotListClass: "", focusOnSelect: !1, centerMode: !1, additionalTransfrom: 0, pauseOnHover: !0, shouldResetAutoplay: !0, rewind: !1, rtl: !1, rewindWithAnimation: !1 }, i;
488
+ }(T.Component);
489
+ z.default = Kt;
490
+ Object.defineProperty(U, "__esModule", { value: !0 });
491
+ var qt = z;
492
+ U.default = qt.default;
493
+ var Jt = U;
494
+ const Ht = /* @__PURE__ */ dt(Jt);
495
+ export {
496
+ Ht as C
497
+ };
@@ -0,0 +1,95 @@
1
+ "use strict";const l=require("react/jsx-runtime"),o=require("react"),D=require("./FlexBox.cjs"),T=require("./IconButton.cjs"),H=require("./ThemeProvider.cjs"),K=require("./emotion-styled.browser.esm-BtEseadx.cjs"),A=require("./consts-goSZX3xP.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),O=require("./index-CX2A-q39.cjs"),W=require("./Button.cjs"),V=require("./Icon.cjs"),z=require("./utils-RnrgDDZP.cjs"),F=K.styled.div`
2
+ position: relative;
3
+ padding: ${e=>e.padding};
4
+
5
+ & button {
6
+ white-space: nowrap;
7
+ }
8
+
9
+ & .badge-button {
10
+ ${e=>e.showTimesBtn===!0&&"padding-left: 0.5rem; padding-right: 0.5rem;"}
11
+ }
12
+
13
+ & .gradient {
14
+ position: absolute;
15
+ top: 50%;
16
+ transform: translate(0, -50%);
17
+ z-index: 4;
18
+ transition: ${"0.3s"};
19
+ right: ${e=>e.noArrows!==!0?"6rem":"0"};
20
+ width: 2rem;
21
+ background: #fff;
22
+ height: 100%;
23
+ -webkit-mask-image: linear-gradient(to left, black 10%, transparent 50%);
24
+ mask-image: linear-gradient(to left, black 10%, transparent 50%);
25
+ }
26
+
27
+ & .scrollable-container {
28
+ max-width: -webkit-fill-available;
29
+ max-width: -moz-available; /* WebKit-based browsers will ignore this. */
30
+ max-width: fill-available;
31
+
32
+ ${e=>e.rightAlignArrows===!0&&e.noArrows!==!0&&"margin-right: 6rem"};
33
+ scroll-behavior: smooth;
34
+ overflow: hidden;
35
+ -webkit-overflow-scrolling: touch;
36
+ ::-webkit-scrollbar {
37
+ -webkit-appearance: none;
38
+ }
39
+ -ms-overflow-style: none;
40
+ /* Internet Explorer 10+ */
41
+ scrollbar-width: none;
42
+ /* Firefox */
43
+
44
+ &::-webkit-scrollbar {
45
+ display: none;
46
+ /* Safari and Chrome */
47
+ }
48
+
49
+ @media (max-width: ${A.MOBILE_SIZE_PX+"px"}) {
50
+ margin-right: 0;
51
+ }
52
+ }
53
+ & .scroll-arrow-right,
54
+ & .scroll-arrow-left {
55
+ position: absolute;
56
+ top: 50%;
57
+ transform: translate(0, -50%);
58
+ display: flex;
59
+ justify-content: center;
60
+ align-items: center;
61
+ cursor: pointer;
62
+
63
+ visibility: ${e=>e.arrowsVisibleOnHover===!1&&e.hasOverflow?"visible":"hidden"};
64
+ z-index: 4;
65
+ transition: ${"0.3s"};
66
+ }
67
+ & .scroll-arrow-right {
68
+ ${e=>e.rightAlignArrows===!0?"right: 0":"right: 0.7rem"};
69
+ }
70
+ & .scroll-arrow-left {
71
+ ${e=>e.rightAlignArrows===!0?"right: 2.625rem":"left: 0.7rem"};
72
+ }
73
+ & .scrollable-container:hover > .scroll-arrow-left,
74
+ & .scrollable-container:hover > .scroll-arrow-right {
75
+ visibility: ${e=>e.hasOverflow?"visible":"hidden"};
76
+ }
77
+
78
+ @media (max-width: ${A.MOBILE_SIZE_PX+"px"}) {
79
+ & .scrollable-container {
80
+ overflow: auto;
81
+ }
82
+ & .scroll-arrow-left,
83
+ & .scroll-arrow-right {
84
+ display: none;
85
+ }
86
+
87
+ & .gradient {
88
+ right: 0;
89
+ }
90
+
91
+ & .scrollable-container button:nth-of-type(3) {
92
+ ${e=>e.noMargin!==!0&&"margin-left: 1rem"};
93
+ }
94
+ }
95
+ `,G=o.forwardRef(({columnGap:e="2rem",rowGap:w="1.25rem",scrollBySize:d=300,wrapForMobile:x=!1,wrap:i=!1,children:u,methodsRef:f,arrowsVisibleOnHover:v=!0,rightAlignArrows:p=!1,padding:b="0",showTimesBtn:h,noArrows:a,noGradient:y=!1,hideDisabledArrows:c=!1,noMargin:g=!1,...S},k)=>{const j=M.useDetectMobile(),{theme:r}=H.useTheme(),[s,N]=o.useState(!1),[m,I]=o.useState(!1),[C,q]=o.useState(!0),t=o.useRef(),$=()=>{var n;(n=t.current)==null||n.scrollBy(d,0)},E=()=>{var n;(n=t.current)==null||n.scrollBy(-d,0)},[B,L]=o.useState(!1);o.useEffect(()=>{var n,R;L(((n=t==null?void 0:t.current)==null?void 0:n.scrollWidth)>((R=t==null?void 0:t.current)==null?void 0:R.clientWidth))},[u]),o.useImperativeHandle(f,()=>({scrollToEnd(){_()},scrollLeft(){E()},scrollRight(){$()}}));const _=()=>{t.current.scrollLeft=t.current.scrollWidth};return l.jsx(F,{ref:k,arrowsVisibleOnHover:v,hasOverflow:B,noArrows:a,padding:b,rightAlignArrows:p,showTimesBtn:h,theme:r,noMargin:g,...S,children:l.jsxs(D,{ref:t,className:"scrollable-container",columnGap:e,rowGap:w,wrap:i||x&&j?"Wrap":"NoWrap",children:[a!==!0&&l.jsxs(l.Fragment,{children:[!(c===!0&&m===!0)&&l.jsx(T,{borderRadius:"curved",btnType:"tinted",className:"scroll-arrow-left",color:"neutral",disabled:m,icon:"angle-left",onClick:E}),!(c===!0&&s===!0)&&l.jsx(T,{borderRadius:"curved",btnType:"tinted",className:"scroll-arrow-right",color:"neutral",disabled:s,icon:"angle-right",onClick:$})]}),l.jsx(O.InfiniteScrollEndElement,{isHorizontal:!0,onIsNotVisible:()=>{m===!0&&I(!1)},onIsVisible:()=>{m===!1&&I(!0)}}),u,l.jsx(O.InfiniteScrollEndElement,{className:"right-scroller",isHorizontal:!0,onIsNotVisible:()=>{s===!0&&N(!1),q(!0)},onIsVisible:()=>{s===!1&&N(!0),q(!1)}}),C&&B&&y!==!0&&l.jsx("div",{className:"gradient"})]})})}),P=o.forwardRef((e,w)=>{const{allButton:d=!0,items:x=[],selectedIds:i=[],onSelect:u=()=>{},onRemove:f=()=>{},onSelectAll:v=()=>{},className:p,showTimesBtn:b=!1,labelKey:h="label",valueKey:a="value",codeKey:y="code",uniqueKey:c,typeKey:g,productsToolbarName:S="All",...k}=e,j=(r,s)=>{i!=null&&i.includes(s)?f(r,s):u(r,s)};return l.jsxs(G,{ref:w,arrowsVisibleOnHover:!1,className:p,columnGap:"0.75rem",padding:"0.25rem 0",rightAlignArrows:!0,showTimesBtn:b,...k,children:[d&&l.jsx(W,{borderRadius:"curved",btnType:i.length===0?"filled":"tinted",className:"badge-button",color:"neutral",onClick:v,children:S}),x.map((r,s)=>l.jsxs(W,{borderRadius:"curved",btnType:i.includes(r.uuid)?"filled":"tinted",className:"badge-button",color:"neutral",onClick:()=>j(r,r[a]),children:[z.isDefined(r==null?void 0:r.icon)&&l.jsxs(l.Fragment,{children:[l.jsx("i",{className:r==null?void 0:r.icon})," "]}),r[h],b===!0&&l.jsx(V,{className:"times-btn",icon:"times",sizeInUnits:"0.75rem",onClick:()=>f(r[a],r[h],r[y],c?r[c]:null,g?r[g]:null)})]},s))]})});exports.SelectBar=P;
@@ -0,0 +1,4 @@
1
+ "use strict";const u=require("react/jsx-runtime"),s=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./useUpdateEffect-BtMgpgIV.cjs"),a=t=>{const[i,n]=s.useState(!1),e=s.useMemo(()=>new IntersectionObserver(([r])=>n(r.isIntersecting)),[]);return s.useEffect(()=>(e.observe(t.current),()=>{e.disconnect()}),[t,e]),i},m=f.styled.div`
2
+ min-height: 1px;
3
+ ${t=>t.isHorizontal===!0?"min-width: 1px; width: 1px;":"width: 100%;"}
4
+ `,I=s.forwardRef((t,i)=>{const{onIsVisible:n=()=>{},onIsNotVisible:e,isHorizontal:r=!1,className:l=""}=t,c=s.useRef(null),o=a(c);return d.useUpdateEffect(()=>{o?n():e==null||e()},[o]),u.jsx(m,{ref:c,className:`scroller-element ${l}`,isHorizontal:r})});exports.InfiniteScrollEndElement=I;