@trafilea/afrodita-components 2.3.0 → 2.3.4

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 (317) hide show
  1. package/build/index.css +2 -324
  2. package/build/index.d.ts +59 -1
  3. package/build/index.esm.css +2 -324
  4. package/build/index.esm.js +1063 -1379
  5. package/build/index.esm.js.map +1 -1
  6. package/build/index.js +1064 -1378
  7. package/build/index.js.map +1 -1
  8. package/package.json +3 -3
  9. package/build/dts/components/Icon-wrapper/IconWrapper.d.ts +0 -12
  10. package/build/dts/components/Icon-wrapper/IconWrapper.test.d.ts +0 -1
  11. package/build/dts/components/accordion/AccordionBox.d.ts +0 -9
  12. package/build/dts/components/accordion/AccordionBox.stories.d.ts +0 -10
  13. package/build/dts/components/accordion/AccordionBox.test.d.ts +0 -1
  14. package/build/dts/components/accordion/AccordionControlButton.d.ts +0 -12
  15. package/build/dts/components/accordion/AccordionIcon.d.ts +0 -10
  16. package/build/dts/components/accordion/AccordionIcon.stories.d.ts +0 -22
  17. package/build/dts/components/accordion/AccordionIcon.test.d.ts +0 -1
  18. package/build/dts/components/bundle/index.d.ts +0 -5
  19. package/build/dts/components/bundle/minimalistic/Minimalistic.d.ts +0 -15
  20. package/build/dts/components/bundle/minimalistic/Minimalistic.stories.d.ts +0 -9
  21. package/build/dts/components/bundle/minimalistic/Minimalistic.test.d.ts +0 -1
  22. package/build/dts/components/bundle/simple/Simple.d.ts +0 -10
  23. package/build/dts/components/bundle/simple/Simple.stories.d.ts +0 -9
  24. package/build/dts/components/bundle/simple/Simple.test.d.ts +0 -1
  25. package/build/dts/components/checkbox/Checkbox.d.ts +0 -24
  26. package/build/dts/components/checkbox/Checkbox.stories.d.ts +0 -23
  27. package/build/dts/components/checkbox/Checkbox.test.d.ts +0 -1
  28. package/build/dts/components/collection/grid/WithProductGrid.d.ts +0 -11
  29. package/build/dts/components/collection/grid/WithProductGrid.stories.d.ts +0 -9
  30. package/build/dts/components/collection/grid/WithProductGrid.test.d.ts +0 -1
  31. package/build/dts/components/collection/product/mobile/ProductItemMobile.d.ts +0 -7
  32. package/build/dts/components/collection/product/mobile/ProductItemMobile.stories.d.ts +0 -24
  33. package/build/dts/components/collection/product/mobile/ProductItemMobile.test.d.ts +0 -1
  34. package/build/dts/components/collection/product/types.d.ts +0 -13
  35. package/build/dts/components/color/ColorRadioGroup.d.ts +0 -24
  36. package/build/dts/components/color/MultiColorPicker.d.ts +0 -10
  37. package/build/dts/components/color/MultiColorPicker.stories.d.ts +0 -9
  38. package/build/dts/components/color/MultiColorPicker.test.d.ts +0 -1
  39. package/build/dts/components/color/SingleColorPicker.d.ts +0 -10
  40. package/build/dts/components/color/SingleColorPicker.stories.d.ts +0 -9
  41. package/build/dts/components/color/SingleColorPicker.test.d.ts +0 -1
  42. package/build/dts/components/color/selector/ColorSelector.d.ts +0 -15
  43. package/build/dts/components/color/selector/ColorSelector.stories.d.ts +0 -14
  44. package/build/dts/components/color/selector/ColorSelector.test.d.ts +0 -1
  45. package/build/dts/components/color/selector/OneColorSelector.d.ts +0 -8
  46. package/build/dts/components/color/selector/OutOfStock.d.ts +0 -6
  47. package/build/dts/components/color/selector/PatternSelector.d.ts +0 -8
  48. package/build/dts/components/color/selector/PatternSelector.test.d.ts +0 -1
  49. package/build/dts/components/color/selector/ThreeColorSelector.d.ts +0 -10
  50. package/build/dts/components/color/selector/TwoColorSelector.d.ts +0 -9
  51. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.d.ts +0 -13
  52. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.stories.d.ts +0 -9
  53. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.test.d.ts +0 -1
  54. package/build/dts/components/cross-sell/index.d.ts +0 -1
  55. package/build/dts/components/cta/BaseCTA.d.ts +0 -13
  56. package/build/dts/components/cta/BaseCTA.test.d.ts +0 -1
  57. package/build/dts/components/cta/index.d.ts +0 -3
  58. package/build/dts/components/cta/primary/ButtonPrimary.d.ts +0 -3
  59. package/build/dts/components/cta/primary/ButtonPrimary.stories.d.ts +0 -37
  60. package/build/dts/components/cta/primary/ButtonPrimary.test.d.ts +0 -1
  61. package/build/dts/components/cta/secondary/ButtonSecondary.d.ts +0 -3
  62. package/build/dts/components/cta/secondary/ButtonSecondary.stories.d.ts +0 -37
  63. package/build/dts/components/cta/secondary/ButtonSecondary.test.d.ts +0 -1
  64. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.d.ts +0 -3
  65. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.stories.d.ts +0 -37
  66. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.test.d.ts +0 -1
  67. package/build/dts/components/delivery-details/DeliveryDetails.d.ts +0 -26
  68. package/build/dts/components/delivery-details/DeliveryDetails.stories.d.ts +0 -9
  69. package/build/dts/components/delivery-details/DeliveryDetails.test.d.ts +0 -1
  70. package/build/dts/components/delivery-details/Note/Note.d.ts +0 -9
  71. package/build/dts/components/delivery-details/Note/Note.stories.d.ts +0 -9
  72. package/build/dts/components/delivery-details/Note/Note.test.d.ts +0 -1
  73. package/build/dts/components/dropdown/base/BaseDropdown.d.ts +0 -17
  74. package/build/dts/components/dropdown/base/BaseDropdownButton.d.ts +0 -11
  75. package/build/dts/components/dropdown/base/BaseDropdownOption.d.ts +0 -9
  76. package/build/dts/components/dropdown/base/BaseDropdownOptions.d.ts +0 -6
  77. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.d.ts +0 -19
  78. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.stories.d.ts +0 -12
  79. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.test.d.ts +0 -1
  80. package/build/dts/components/dropdown-list-icons/DropdownListIcons.d.ts +0 -6
  81. package/build/dts/components/dropdown-list-icons/DropdownListIcons.stories.d.ts +0 -9
  82. package/build/dts/components/dropdown-list-icons/DropdownListIcons.test.d.ts +0 -1
  83. package/build/dts/components/dropdown-list-icons/Styled.d.ts +0 -34
  84. package/build/dts/components/fit/FitPredictor.d.ts +0 -5
  85. package/build/dts/components/fit/FitPredictor.test.d.ts +0 -1
  86. package/build/dts/components/gallery/ImagePreviewList.d.ts +0 -9
  87. package/build/dts/components/gallery/ImagePreviewList.test.d.ts +0 -1
  88. package/build/dts/components/gallery/ImageProductWithTags.d.ts +0 -10
  89. package/build/dts/components/gallery/ImageProductWithTags.test.d.ts +0 -1
  90. package/build/dts/components/gallery/ImageSmallPreview.d.ts +0 -9
  91. package/build/dts/components/gallery/ImageSmallPreview.test.d.ts +0 -1
  92. package/build/dts/components/gallery/ProductGallery.d.ts +0 -12
  93. package/build/dts/components/gallery/ProductGallery.stories.d.ts +0 -9
  94. package/build/dts/components/gallery/ProductGallery.test.d.ts +0 -1
  95. package/build/dts/components/icon-button/IconButton.d.ts +0 -16
  96. package/build/dts/components/icon-button/IconButton.stories.d.ts +0 -23
  97. package/build/dts/components/icon-button/IconButton.test.d.ts +0 -1
  98. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.d.ts +0 -6
  99. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.stories.d.ts +0 -7
  100. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.test.d.ts +0 -1
  101. package/build/dts/components/icons/Actions/Check.d.ts +0 -3
  102. package/build/dts/components/icons/Actions/ClearLight.d.ts +0 -3
  103. package/build/dts/components/icons/Actions/LightCheck.d.ts +0 -6
  104. package/build/dts/components/icons/Actions/LightExclamation.d.ts +0 -3
  105. package/build/dts/components/icons/Actions/Question.d.ts +0 -3
  106. package/build/dts/components/icons/Actions/index.d.ts +0 -5
  107. package/build/dts/components/icons/Arrows/ChevronDown.d.ts +0 -3
  108. package/build/dts/components/icons/Arrows/ChevronLeft.d.ts +0 -3
  109. package/build/dts/components/icons/Arrows/ChevronRight.d.ts +0 -3
  110. package/build/dts/components/icons/Arrows/ChevronUp.d.ts +0 -3
  111. package/build/dts/components/icons/Arrows/ChevronUpSolid.d.ts +0 -3
  112. package/build/dts/components/icons/Arrows/CircleUp.d.ts +0 -3
  113. package/build/dts/components/icons/Arrows/index.d.ts +0 -6
  114. package/build/dts/components/icons/Custom/SixtyDaysGuarantee.d.ts +0 -3
  115. package/build/dts/components/icons/Custom/index.d.ts +0 -1
  116. package/build/dts/components/icons/Download/AppleStore.d.ts +0 -3
  117. package/build/dts/components/icons/Download/GooglePlay.d.ts +0 -3
  118. package/build/dts/components/icons/Download/index.d.ts +0 -2
  119. package/build/dts/components/icons/Messaging/Comment.d.ts +0 -3
  120. package/build/dts/components/icons/Messaging/Messenger.d.ts +0 -3
  121. package/build/dts/components/icons/Messaging/QuestionCircle.d.ts +0 -3
  122. package/build/dts/components/icons/Messaging/index.d.ts +0 -3
  123. package/build/dts/components/icons/Navigation/MapMarker.d.ts +0 -3
  124. package/build/dts/components/icons/Navigation/Search.d.ts +0 -3
  125. package/build/dts/components/icons/Navigation/ShoppingBag.d.ts +0 -3
  126. package/build/dts/components/icons/Navigation/User.d.ts +0 -3
  127. package/build/dts/components/icons/Navigation/index.d.ts +0 -4
  128. package/build/dts/components/icons/Other/FitPredictor.d.ts +0 -3
  129. package/build/dts/components/icons/Other/Loading.d.ts +0 -6
  130. package/build/dts/components/icons/Other/Shapermint.d.ts +0 -3
  131. package/build/dts/components/icons/Other/index.d.ts +0 -3
  132. package/build/dts/components/icons/PDP/Clock.d.ts +0 -3
  133. package/build/dts/components/icons/PDP/FlagUSA.d.ts +0 -3
  134. package/build/dts/components/icons/PDP/Minus.d.ts +0 -3
  135. package/build/dts/components/icons/PDP/Plus.d.ts +0 -3
  136. package/build/dts/components/icons/PDP/Rule.d.ts +0 -3
  137. package/build/dts/components/icons/PDP/Shipping.d.ts +0 -3
  138. package/build/dts/components/icons/PDP/Star.d.ts +0 -3
  139. package/build/dts/components/icons/PDP/StarEmpty.d.ts +0 -3
  140. package/build/dts/components/icons/PDP/StarHalf.d.ts +0 -3
  141. package/build/dts/components/icons/PDP/Stopwatch.d.ts +0 -3
  142. package/build/dts/components/icons/PDP/index.d.ts +0 -10
  143. package/build/dts/components/icons/Payment/Amazon.d.ts +0 -3
  144. package/build/dts/components/icons/Payment/Amex.d.ts +0 -3
  145. package/build/dts/components/icons/Payment/JCB.d.ts +0 -3
  146. package/build/dts/components/icons/Payment/Klarna.d.ts +0 -3
  147. package/build/dts/components/icons/Payment/MasterCard.d.ts +0 -3
  148. package/build/dts/components/icons/Payment/Paypal.d.ts +0 -3
  149. package/build/dts/components/icons/Payment/Visa.d.ts +0 -3
  150. package/build/dts/components/icons/Payment/index.d.ts +0 -7
  151. package/build/dts/components/icons/SlideDots/SlideDot.d.ts +0 -3
  152. package/build/dts/components/icons/SlideDots/index.d.ts +0 -1
  153. package/build/dts/components/icons/SocialMedia/Facebook.d.ts +0 -3
  154. package/build/dts/components/icons/SocialMedia/FacebookSolid.d.ts +0 -3
  155. package/build/dts/components/icons/SocialMedia/Instagram.d.ts +0 -3
  156. package/build/dts/components/icons/SocialMedia/InstagramSolid.d.ts +0 -3
  157. package/build/dts/components/icons/SocialMedia/Pinterest.d.ts +0 -3
  158. package/build/dts/components/icons/SocialMedia/Twitter.d.ts +0 -3
  159. package/build/dts/components/icons/SocialMedia/Youtube.d.ts +0 -3
  160. package/build/dts/components/icons/SocialMedia/index.d.ts +0 -7
  161. package/build/dts/components/icons/index.d.ts +0 -27
  162. package/build/dts/components/index.d.ts +0 -41
  163. package/build/dts/components/input/base/BaseInput.d.ts +0 -14
  164. package/build/dts/components/input/base/BaseInput.stories.d.ts +0 -9
  165. package/build/dts/components/input/base/BaseInput.test.d.ts +0 -1
  166. package/build/dts/components/input/base/Error.d.ts +0 -6
  167. package/build/dts/components/input/base/Styled.d.ts +0 -24
  168. package/build/dts/components/input/basePlusButton/BasePlusButton.d.ts +0 -13
  169. package/build/dts/components/input/basePlusButton/BasePlusButton.stories.d.ts +0 -9
  170. package/build/dts/components/input/basePlusButton/BasePlusButton.test.d.ts +0 -1
  171. package/build/dts/components/input/basePlusButton/Success.d.ts +0 -6
  172. package/build/dts/components/input/basePlusIcon/BasePlusIcon.d.ts +0 -7
  173. package/build/dts/components/input/basePlusIcon/BasePlusIcon.stories.d.ts +0 -9
  174. package/build/dts/components/input/basePlusIcon/BasePlusIcon.test.d.ts +0 -1
  175. package/build/dts/components/input/custom/Custom.d.ts +0 -8
  176. package/build/dts/components/input/custom/Custom.stories.d.ts +0 -9
  177. package/build/dts/components/input/custom/Custom.test.d.ts +0 -1
  178. package/build/dts/components/input/index.d.ts +0 -7
  179. package/build/dts/components/input/label/Label.d.ts +0 -15
  180. package/build/dts/components/input/label/Label.stories.d.ts +0 -9
  181. package/build/dts/components/input/label/Label.test.d.ts +0 -1
  182. package/build/dts/components/mobile/gallery/ImageProductWithTagsMobile.d.ts +0 -10
  183. package/build/dts/components/mobile/gallery/ProductGalleryMobile.d.ts +0 -12
  184. package/build/dts/components/mobile/gallery/ProductGalleryMobile.stories.d.ts +0 -8
  185. package/build/dts/components/mobile/gallery/ProductGalleryMobile.test.d.ts +0 -1
  186. package/build/dts/components/mobile/gallery/slide_navigation/ArrowButton.d.ts +0 -8
  187. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.d.ts +0 -8
  188. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.test.d.ts +0 -1
  189. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.d.ts +0 -9
  190. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.test.d.ts +0 -1
  191. package/build/dts/components/offer-banner/OfferBanner.d.ts +0 -15
  192. package/build/dts/components/offer-banner/OfferBanner.stories.d.ts +0 -9
  193. package/build/dts/components/offer-banner/OfferBanner.test.d.ts +0 -1
  194. package/build/dts/components/order-bar/OrderBar.d.ts +0 -17
  195. package/build/dts/components/order-bar/OrderBar.stories.d.ts +0 -9
  196. package/build/dts/components/order-bar/OrderBar.test.d.ts +0 -1
  197. package/build/dts/components/payment-methods/PaymentMethod.d.ts +0 -20
  198. package/build/dts/components/payment-methods/PaymentMethod.stories.d.ts +0 -12
  199. package/build/dts/components/payment-methods/PaymentMethod.test.d.ts +0 -1
  200. package/build/dts/components/pricing/discount/DiscountTag.d.ts +0 -21
  201. package/build/dts/components/pricing/discount/DiscountTag.stories.d.ts +0 -23
  202. package/build/dts/components/pricing/discount/DiscountTag.test.d.ts +0 -1
  203. package/build/dts/components/pricing/index.d.ts +0 -2
  204. package/build/dts/components/pricing/price/PriceLabel.d.ts +0 -11
  205. package/build/dts/components/pricing/price/PriceLabel.stories.d.ts +0 -23
  206. package/build/dts/components/pricing/price/PriceLabel.test.d.ts +0 -1
  207. package/build/dts/components/product/order/item/SimpleOrderItem.d.ts +0 -20
  208. package/build/dts/components/product/order/item/SimpleOrderItem.stories.d.ts +0 -11
  209. package/build/dts/components/product/order/item/SimpleOrderItem.test.d.ts +0 -1
  210. package/build/dts/components/progress-bar/ProgressBar.d.ts +0 -8
  211. package/build/dts/components/progress-bar/ProgressBar.stories.d.ts +0 -8
  212. package/build/dts/components/progress-bar/ProgressBar.test.d.ts +0 -1
  213. package/build/dts/components/radio/container/group.d.ts +0 -12
  214. package/build/dts/components/radio/container/group.stories.d.ts +0 -23
  215. package/build/dts/components/radio/container/group.test.d.ts +0 -1
  216. package/build/dts/components/radio/index.d.ts +0 -1
  217. package/build/dts/components/radio/input/radio.d.ts +0 -13
  218. package/build/dts/components/radio/input/radio.stories.d.ts +0 -23
  219. package/build/dts/components/radio/input/radio.test.d.ts +0 -1
  220. package/build/dts/components/rating/Rating.d.ts +0 -8
  221. package/build/dts/components/rating/Rating.stories.d.ts +0 -23
  222. package/build/dts/components/rating/Rating.test.d.ts +0 -1
  223. package/build/dts/components/rating/starList/StarList.d.ts +0 -8
  224. package/build/dts/components/rating/starList/StarList.stories.d.ts +0 -23
  225. package/build/dts/components/rating/starList/StarList.test.d.ts +0 -1
  226. package/build/dts/components/review/Review.d.ts +0 -19
  227. package/build/dts/components/review/Review.stories.d.ts +0 -9
  228. package/build/dts/components/review/Review.test.d.ts +0 -1
  229. package/build/dts/components/scroll-to-top/ScrollToTop.d.ts +0 -18
  230. package/build/dts/components/scroll-to-top/ScrollToTop.stories.d.ts +0 -9
  231. package/build/dts/components/scroll-to-top/ScrollToTop.test.d.ts +0 -1
  232. package/build/dts/components/selector/simple/SelectorSecondary.d.ts +0 -4
  233. package/build/dts/components/selector/simple/SelectorSecondary.stories.d.ts +0 -23
  234. package/build/dts/components/selector/simple/SelectorSecondary.test.d.ts +0 -1
  235. package/build/dts/components/selector/simple/SimpleSelector.d.ts +0 -11
  236. package/build/dts/components/selector/simple/SimpleSelector.test.d.ts +0 -1
  237. package/build/dts/components/shared/accordion/Accordion.d.ts +0 -18
  238. package/build/dts/components/shared/accordion/Accordion.stories.d.ts +0 -10
  239. package/build/dts/components/shared/accordion/Accordion.test.d.ts +0 -1
  240. package/build/dts/components/shared/accordion/AccordionButton.d.ts +0 -9
  241. package/build/dts/components/shared/accordion/AccordionPanel.d.ts +0 -21
  242. package/build/dts/components/shared/button/BaseButton.d.ts +0 -13
  243. package/build/dts/components/shared/button/BaseButton.stories.d.ts +0 -14
  244. package/build/dts/components/shared/card/Card.d.ts +0 -18
  245. package/build/dts/components/shared/card/Card.stories.d.ts +0 -7
  246. package/build/dts/components/shared/card/Card.test.d.ts +0 -1
  247. package/build/dts/components/shared/card/CardBody.d.ts +0 -5
  248. package/build/dts/components/shared/card/CardSection.d.ts +0 -6
  249. package/build/dts/components/shared/card/index.d.ts +0 -2
  250. package/build/dts/components/shared/image/Image.d.ts +0 -14
  251. package/build/dts/components/shared/image/Image.test.d.ts +0 -1
  252. package/build/dts/components/shared/select/BaseSelect.d.ts +0 -16
  253. package/build/dts/components/shared/select/BaseSelect.stories.d.ts +0 -11
  254. package/build/dts/components/shared/select/BaseSelectButton.d.ts +0 -17
  255. package/build/dts/components/shared/select/BaseSelectOption.d.ts +0 -22
  256. package/build/dts/components/shared/select/BaseSelectOptions.d.ts +0 -7
  257. package/build/dts/components/size/guide/SizeFitGuide.d.ts +0 -9
  258. package/build/dts/components/size/guide/SizeFitGuide.stories.d.ts +0 -9
  259. package/build/dts/components/size/guide/SizeFitGuide.test.d.ts +0 -1
  260. package/build/dts/components/size/selector/SizeSelector.d.ts +0 -8
  261. package/build/dts/components/size/selector/SizeSelector.stories.d.ts +0 -8
  262. package/build/dts/components/size/selector/SizeSelector.test.d.ts +0 -1
  263. package/build/dts/components/size-table/SizeTable.d.ts +0 -6
  264. package/build/dts/components/size-table/SizeTable.stories.d.ts +0 -9
  265. package/build/dts/components/size-table/SizeTable.test.d.ts +0 -1
  266. package/build/dts/components/slider/ArrowButton.d.ts +0 -14
  267. package/build/dts/components/slider/SliderNatigation.test.d.ts +0 -1
  268. package/build/dts/components/slider/SliderNavigation.d.ts +0 -17
  269. package/build/dts/components/slider/SliderNavigation.stories.d.ts +0 -9
  270. package/build/dts/components/slider/StyledSlider.d.ts +0 -16
  271. package/build/dts/components/spinner/Spinner.d.ts +0 -10
  272. package/build/dts/components/spinner/Spinner.stories.d.ts +0 -9
  273. package/build/dts/components/spinner/Spinner.test.d.ts +0 -1
  274. package/build/dts/components/tag/Tag.d.ts +0 -7
  275. package/build/dts/components/tag/Tag.test.d.ts +0 -1
  276. package/build/dts/components/tag/index.d.ts +0 -3
  277. package/build/dts/components/tag/variants/pdp/category/CategoryTag.d.ts +0 -8
  278. package/build/dts/components/tag/variants/pdp/category/CategoryTag.stories.d.ts +0 -22
  279. package/build/dts/components/tag/variants/pdp/category/CategoryTag.test.d.ts +0 -1
  280. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.d.ts +0 -9
  281. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.stories.d.ts +0 -22
  282. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.test.d.ts +0 -1
  283. package/build/dts/components/text-button/TextButton.d.ts +0 -13
  284. package/build/dts/components/text-button/TextButton.stories.d.ts +0 -58
  285. package/build/dts/components/text-button/TextButton.test.d.ts +0 -1
  286. package/build/dts/components/theme/ThemeProvider.d.ts +0 -8
  287. package/build/dts/components/theme/defaultTheme.d.ts +0 -2
  288. package/build/dts/components/timer/Timer.d.ts +0 -13
  289. package/build/dts/components/timer/Timer.stories.d.ts +0 -9
  290. package/build/dts/components/timer/Timer.test.d.ts +0 -1
  291. package/build/dts/components/tooltip/Arrow.d.ts +0 -6
  292. package/build/dts/components/tooltip/Styled.d.ts +0 -56
  293. package/build/dts/components/tooltip/Tooltip.d.ts +0 -15
  294. package/build/dts/components/tooltip/Tooltip.stories.d.ts +0 -35
  295. package/build/dts/components/tooltip/Tooltip.test.d.ts +0 -1
  296. package/build/dts/components/tooltip/utils.d.ts +0 -7
  297. package/build/dts/components/totals/index.d.ts +0 -5
  298. package/build/dts/components/totals/subtotal/Subtotal.d.ts +0 -22
  299. package/build/dts/components/totals/subtotal/Subtotal.stories.d.ts +0 -9
  300. package/build/dts/components/totals/subtotal/Subtotal.test.d.ts +0 -1
  301. package/build/dts/components/totals/total/Total.d.ts +0 -38
  302. package/build/dts/components/totals/total/Total.stories.d.ts +0 -9
  303. package/build/dts/components/totals/total/Total.test.d.ts +0 -1
  304. package/build/dts/config/breakpoints.d.ts +0 -5
  305. package/build/dts/hooks/WindowDimensions.d.ts +0 -7
  306. package/build/dts/index.d.ts +0 -3
  307. package/build/dts/setupTests.d.ts +0 -1
  308. package/build/dts/types/enums.d.ts +0 -21
  309. package/build/dts/types/types.d.ts +0 -108
  310. package/build/dts/utils/dateFormatter/dateFormatter.d.ts +0 -1
  311. package/build/dts/utils/dateFormatter/dateFormatter.test.d.ts +0 -1
  312. package/build/dts/utils/decimalParser/decimalParser.d.ts +0 -4
  313. package/build/dts/utils/decimalParser/decimalParser.test.d.ts +0 -1
  314. package/build/dts/utils/index.d.ts +0 -2
  315. package/build/dts/utils/media.d.ts +0 -2
  316. package/build/dts/utils/validations/validations.d.ts +0 -5
  317. package/build/dts/utils/validations/validations.test.d.ts +0 -1
@@ -1319,8 +1319,8 @@ var createCache = function createCache(options) {
1319
1319
  return cache;
1320
1320
  };
1321
1321
 
1322
- function _extends$4() {
1323
- _extends$4 = Object.assign || function (target) {
1322
+ function _extends$1() {
1323
+ _extends$1 = Object.assign || function (target) {
1324
1324
  for (var i = 1; i < arguments.length; i++) {
1325
1325
  var source = arguments[i];
1326
1326
 
@@ -1334,30 +1334,11 @@ function _extends$4() {
1334
1334
  return target;
1335
1335
  };
1336
1336
 
1337
- return _extends$4.apply(this, arguments);
1337
+ return _extends$1.apply(this, arguments);
1338
1338
  }
1339
1339
 
1340
1340
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
1341
1341
 
1342
- function getDefaultExportFromCjs (x) {
1343
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
1344
- }
1345
-
1346
- function getAugmentedNamespace(n) {
1347
- if (n.__esModule) return n;
1348
- var a = Object.defineProperty({}, '__esModule', {value: true});
1349
- Object.keys(n).forEach(function (k) {
1350
- var d = Object.getOwnPropertyDescriptor(n, k);
1351
- Object.defineProperty(a, k, d.get ? d : {
1352
- enumerable: true,
1353
- get: function () {
1354
- return n[k];
1355
- }
1356
- });
1357
- });
1358
- return a;
1359
- }
1360
-
1361
1342
  var reactIs$1 = {exports: {}};
1362
1343
 
1363
1344
  var reactIs_production_min = {};
@@ -2045,7 +2026,7 @@ var serializeStyles$1 = function serializeStyles(args, registered, mergedProps)
2045
2026
  };
2046
2027
 
2047
2028
  var isBrowser$4 = typeof document !== 'undefined';
2048
- var hasOwnProperty = Object.prototype.hasOwnProperty;
2029
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
2049
2030
 
2050
2031
  var EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
2051
2032
  // because this module is primarily intended for the browser and node
@@ -2111,7 +2092,7 @@ var getTheme = function getTheme(outerTheme, theme) {
2111
2092
  throw new Error('[ThemeProvider] Please make your theme prop a plain object');
2112
2093
  }
2113
2094
 
2114
- return _extends$4({}, outerTheme, theme);
2095
+ return _extends$1({}, outerTheme, theme);
2115
2096
  };
2116
2097
 
2117
2098
  var createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {
@@ -2148,7 +2129,7 @@ var createEmotionProps = function createEmotionProps(type, props) {
2148
2129
  var newProps = {};
2149
2130
 
2150
2131
  for (var key in props) {
2151
- if (hasOwnProperty.call(props, key)) {
2132
+ if (hasOwnProperty$1.call(props, key)) {
2152
2133
  newProps[key] = props[key];
2153
2134
  }
2154
2135
  }
@@ -2209,7 +2190,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
2209
2190
  var newProps = {};
2210
2191
 
2211
2192
  for (var key in props) {
2212
- if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
2193
+ if (hasOwnProperty$1.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
2213
2194
  newProps[key] = props[key];
2214
2195
  }
2215
2196
  }
@@ -2434,7 +2415,7 @@ function css() {
2434
2415
  return serializeStyles$1(args);
2435
2416
  }
2436
2417
 
2437
- var classnames$1 = function classnames(args) {
2418
+ var classnames$2 = function classnames(args) {
2438
2419
  var len = args.length;
2439
2420
  var i = 0;
2440
2421
  var cls = '';
@@ -2538,7 +2519,7 @@ var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
2538
2519
  args[_key2] = arguments[_key2];
2539
2520
  }
2540
2521
 
2541
- return merge(cache.registered, css, classnames$1(args));
2522
+ return merge(cache.registered, css, classnames$2(args));
2542
2523
  };
2543
2524
 
2544
2525
  var content = {
@@ -2626,13 +2607,25 @@ var Question = function (_a) {
2626
2607
  return (jsx$1(IconWrapper, __assign({ width: width, height: height, viewBoxX: 22, viewBoxY: 22, title: "Question" }, { children: jsx$1("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11 22C17.0751 22 22 17.0751 22 11C22 4.92487 17.0751 0 11 0C4.92487 0 0 4.92487 0 11C0 17.0751 4.92487 22 11 22ZM9.75807 15.9678C9.75807 15.2819 10.3141 14.7258 11 14.7258C11.6859 14.7258 12.2419 15.2819 12.2419 15.9678C12.2419 16.6537 11.6859 17.2097 11 17.2097C10.3141 17.2097 9.75807 16.6537 9.75807 15.9678ZM10.6305 13.6613H11.3402C11.6341 13.6613 11.8725 13.423 11.8725 13.1291V13.1122C11.8725 12.2512 12.5546 11.8053 13.3108 11.3109C14.2517 10.6958 15.3073 10.0058 15.3073 8.34809C15.3073 6.10995 13.306 4.79034 10.9854 4.79034C8.99703 4.79034 7.88 5.56717 6.93852 6.77482C6.75157 7.01461 6.80634 7.36288 7.05584 7.53671L7.6384 7.94255C7.86878 8.10307 8.18573 8.05805 8.35907 7.83717C9.022 6.99252 9.69269 6.56454 10.9854 6.56454C12.7453 6.56454 13.5331 7.46028 13.5331 8.34809C13.5331 9.20467 12.865 9.62547 12.1181 10.0959C11.1715 10.6922 10.0983 11.3681 10.0983 13.1122V13.1291C10.0983 13.423 10.3366 13.6613 10.6305 13.6613Z", fill: fill }, void 0) }), void 0));
2627
2608
  };
2628
2609
 
2610
+ var Close = function (_a) {
2611
+ var height = _a.height, width = _a.width, fill = _a.fill;
2612
+ return (jsx$1(IconWrapper, __assign({ width: width, height: height, viewBoxX: 9, viewBoxY: 8, title: "close" }, { children: jsx$1("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.2123 0.287701C0.919406 0.580594 0.919406 1.05547 1.2123 1.34836L3.86397 4.00003L1.21233 6.65167C0.919437 6.94456 0.919437 7.41944 1.21233 7.71233C1.50522 8.00522 1.9801 8.00522 2.27299 7.71233L4.92463 5.06069L7.57626 7.71232C7.86915 8.00522 8.34403 8.00522 8.63692 7.71232C8.92981 7.41943 8.92981 6.94456 8.63692 6.65166L5.98529 4.00003L8.63695 1.34837C8.92984 1.05548 8.92984 0.580602 8.63695 0.287709C8.34406 -0.00518426 7.86918 -0.00518393 7.57629 0.287709L4.92463 2.93937L2.27296 0.287701C1.98007 -0.00519271 1.50519 -0.00519269 1.2123 0.287701Z", fill: fill }, void 0) }), void 0));
2613
+ };
2614
+
2615
+ var Trash = function (_a) {
2616
+ var height = _a.height, width = _a.width, fill = _a.fill;
2617
+ return (jsx$1(IconWrapper, __assign({ width: width, height: height, viewBoxX: 16, viewBoxY: 20, title: "trash" }, { children: jsx$1("path", { d: "M10.5714 16.875H11.1429C11.2186 16.875 11.2913 16.8421 11.3449 16.7835C11.3985 16.7249 11.4286 16.6454 11.4286 16.5625V5.9375C11.4286 5.85462 11.3985 5.77513 11.3449 5.71653C11.2913 5.65792 11.2186 5.625 11.1429 5.625H10.5714C10.4957 5.625 10.423 5.65792 10.3694 5.71653C10.3158 5.77513 10.2857 5.85462 10.2857 5.9375V16.5625C10.2857 16.6454 10.3158 16.7249 10.3694 16.7835C10.423 16.8421 10.4957 16.875 10.5714 16.875ZM4.85714 16.875H5.42857C5.50435 16.875 5.57702 16.8421 5.6306 16.7835C5.68418 16.7249 5.71429 16.6454 5.71429 16.5625V5.9375C5.71429 5.85462 5.68418 5.77513 5.6306 5.71653C5.57702 5.65792 5.50435 5.625 5.42857 5.625H4.85714C4.78137 5.625 4.70869 5.65792 4.65511 5.71653C4.60153 5.77513 4.57143 5.85462 4.57143 5.9375V16.5625C4.57143 16.6454 4.60153 16.7249 4.65511 16.7835C4.70869 16.8421 4.78137 16.875 4.85714 16.875ZM15.7143 2.5H12L10.8 0.75C10.6403 0.517132 10.4333 0.328126 10.1952 0.197949C9.95719 0.067772 9.69471 0 9.42857 0L6.57143 0C6.30529 0 6.04282 0.067772 5.80478 0.197949C5.56674 0.328126 5.35968 0.517132 5.2 0.75L4 2.5H0.285714C0.209938 2.5 0.137266 2.53292 0.0836838 2.59153C0.030102 2.65013 0 2.72962 0 2.8125L0 3.4375C0 3.52038 0.030102 3.59987 0.0836838 3.65847C0.137266 3.71708 0.209938 3.75 0.285714 3.75H1.14286V18.125C1.14286 18.6223 1.32347 19.0992 1.64496 19.4508C1.96645 19.8025 2.40249 20 2.85714 20H13.1429C13.5975 20 14.0336 19.8025 14.355 19.4508C14.6765 19.0992 14.8571 18.6223 14.8571 18.125V3.75H15.7143C15.7901 3.75 15.8627 3.71708 15.9163 3.65847C15.9699 3.59987 16 3.52038 16 3.4375V2.8125C16 2.72962 15.9699 2.65013 15.9163 2.59153C15.8627 2.53292 15.7901 2.5 15.7143 2.5ZM6.11429 1.5C6.1677 1.4226 6.23676 1.35976 6.31607 1.31639C6.39537 1.27302 6.48277 1.2503 6.57143 1.25H9.42857C9.51723 1.2503 9.60463 1.27302 9.68394 1.31639C9.76324 1.35976 9.8323 1.4226 9.88571 1.5L10.5714 2.5H5.42857L6.11429 1.5ZM13.7143 18.125C13.7143 18.2908 13.6541 18.4497 13.5469 18.5669C13.4398 18.6842 13.2944 18.75 13.1429 18.75H2.85714C2.70559 18.75 2.56025 18.6842 2.45308 18.5669C2.34592 18.4497 2.28571 18.2908 2.28571 18.125V3.75H13.7143V18.125ZM7.71429 16.875H8.28572C8.36149 16.875 8.43416 16.8421 8.48775 16.7835C8.54133 16.7249 8.57143 16.6454 8.57143 16.5625V5.9375C8.57143 5.85462 8.54133 5.77513 8.48775 5.71653C8.43416 5.65792 8.36149 5.625 8.28572 5.625H7.71429C7.63851 5.625 7.56584 5.65792 7.51226 5.71653C7.45867 5.77513 7.42857 5.85462 7.42857 5.9375V16.5625C7.42857 16.6454 7.45867 16.7249 7.51226 16.7835C7.56584 16.8421 7.63851 16.875 7.71429 16.875Z", fill: fill }, void 0) }), void 0));
2618
+ };
2619
+
2629
2620
  var Actions = /*#__PURE__*/Object.freeze({
2630
2621
  __proto__: null,
2631
2622
  Check: Check,
2632
2623
  ClearLight: ClearLight,
2633
2624
  LightExclamation: LightExclamation,
2634
2625
  LightCheck: LightCheck,
2635
- Question: Question
2626
+ Question: Question,
2627
+ Close: Close,
2628
+ Trash: Trash
2636
2629
  });
2637
2630
 
2638
2631
  var FitPredictor$1 = function (_a) {
@@ -2672,6 +2665,11 @@ var ChevronRight = function (_a) {
2672
2665
  return (jsx$1(IconWrapper, __assign({ width: width, height: height, viewBoxX: 20, viewBoxY: 34, title: "chevron right" }, { children: jsx$1("g", __assign({ opacity: opacity }, { children: jsx$1("path", { d: "M4.14231 0.6657C3.22745 -0.2219 1.70267 -0.2219 0.787802 0.6657C-0.127065 1.5533 -0.127065 3.03263 0.787802 3.92023C4.44727 7.47063 8.10673 10.9224 11.7662 14.4728C11.7662 14.5714 14.2058 16.7411 14.2058 16.8397C14.2058 16.9384 11.6645 19.2067 11.6645 19.3053C8.00508 22.8557 4.34562 26.4061 0.68615 30.0551C-0.228717 30.9427 -0.228717 32.422 0.68615 33.3096C1.19441 33.8028 1.80432 34 2.41423 34C3.02414 34 3.63405 33.8028 4.14231 33.3096L19.2884 18.6149C19.695 18.2205 20 17.6287 20 16.9384C20 16.3466 19.695 15.7549 19.2884 15.2618L4.14231 0.6657Z", fill: fill }, void 0) }), void 0) }), void 0));
2673
2666
  };
2674
2667
 
2668
+ var ChevronRightVariant = function (_a) {
2669
+ var height = _a.height, width = _a.width, fill = _a.fill;
2670
+ return (jsx$1(IconWrapper, __assign({ width: width, height: height, viewBoxX: 24, viewBoxY: 24, title: "chevron right variant" }, { children: jsx$1("path", { d: "M17.635 6.24942C17.3066 5.91686 16.8139 5.91686 16.4854 6.24942C16.1569 6.58199 16.1569 7.08083 16.4854 7.41339L20.208 11.127H1.82117C1.38321 11.1824 1 11.5704 1 12.0139C1 12.4573 1.38321 12.8453 1.82117 12.8453H20.208L16.4854 16.6143C16.1569 16.9469 16.1569 17.4457 16.4854 17.7783C16.6496 17.9446 16.8686 18 17.0876 18C17.3066 18 17.5255 17.9446 17.6898 17.7783L22.781 12.6236C22.9453 12.4573 23 12.2356 23 12.0139C23 11.7921 22.8905 11.5704 22.781 11.4042L17.635 6.24942Z", fill: fill }, void 0) }), void 0));
2671
+ };
2672
+
2675
2673
  var ChevronUp = function (_a) {
2676
2674
  var height = _a.height, width = _a.width, fill = _a.fill;
2677
2675
  return (jsx$1(IconWrapper, __assign({ width: width, height: height, viewBoxX: 36, viewBoxY: 20, title: "chevron up" }, { children: jsx$1("path", { d: "M0.285774 18.1586L1.89534 19.7224C2.2763 20.0925 2.89398 20.0925 3.27501 19.7224L18 5.44992L32.7251 19.7223C33.106 20.0924 33.7237 20.0924 34.1047 19.7223L35.7143 18.1585C36.0952 17.7884 36.0952 17.1883 35.7143 16.8181L18.6898 0.277592C18.3088 -0.0925308 17.6911 -0.0925308 17.3101 0.277592L0.285774 16.8181C-0.095258 17.1883 -0.095258 17.7885 0.285774 18.1586Z", fill: fill }, void 0) }), void 0));
@@ -2692,6 +2690,7 @@ var Arrows = /*#__PURE__*/Object.freeze({
2692
2690
  ChevronDown: ChevronDown,
2693
2691
  ChevronLeft: ChevronLeft,
2694
2692
  ChevronRight: ChevronRight,
2693
+ ChevronRightVariant: ChevronRightVariant,
2695
2694
  ChevronUp: ChevronUp,
2696
2695
  ChevronUpSolid: ChevronUpSolid,
2697
2696
  CircleUp: CircleUp
@@ -3475,7 +3474,7 @@ var createStyled = function createStyled(tag, options) {
3475
3474
  });
3476
3475
 
3477
3476
  Styled.withComponent = function (nextTag, nextOptions) {
3478
- return createStyled(nextTag, _extends$4({}, options, nextOptions, {
3477
+ return createStyled(nextTag, _extends$1({}, options, nextOptions, {
3479
3478
  shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
3480
3479
  })).apply(void 0, styles);
3481
3480
  };
@@ -3519,7 +3518,7 @@ var InputValidationType;
3519
3518
  InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
3520
3519
  })(InputValidationType || (InputValidationType = {}));
3521
3520
 
3522
- var Section = newStyled.div(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"], ["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"])), function (props) {
3521
+ var Section = newStyled.div(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"], ["\n font-weight: 600;\n display: flex;\n flex-direction: row;\n align-items: center;\n align-text: left;\n width: 100%;\n box-sizing: border-box;\n align-self: flex-start;\n padding: ", ";\n"])), function (props) {
3523
3522
  return props.type === CardSectionType.Header ? '0.5rem 1.5rem 0' : '0 1.5rem 0.5rem';
3524
3523
  });
3525
3524
  var CardHeader = function (_a) {
@@ -3530,16 +3529,16 @@ var CardFooter = function (_a) {
3530
3529
  var children = _a.children;
3531
3530
  return (jsx$1(Section, __assign({ type: CardSectionType.Footer }, { children: children }), void 0));
3532
3531
  };
3533
- var templateObject_1$K;
3532
+ var templateObject_1$M;
3534
3533
 
3535
- var Body = newStyled.div(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n display: flex;\n align-items: center;\n padding: 0.5rem 1.5rem;\n align-self: flex-start;\n"], ["\n display: flex;\n align-items: center;\n padding: 0.5rem 1.5rem;\n align-self: flex-start;\n"])));
3534
+ var Body = newStyled.div(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n display: flex;\n align-items: center;\n padding: 0.5rem 1.5rem;\n align-self: flex-start;\n"], ["\n display: flex;\n align-items: center;\n padding: 0.5rem 1.5rem;\n align-self: flex-start;\n"])));
3536
3535
  var CardBody = function (_a) {
3537
3536
  var children = _a.children;
3538
3537
  return jsx$1(Body, { children: children }, void 0);
3539
3538
  };
3540
- var templateObject_1$J;
3539
+ var templateObject_1$L;
3541
3540
 
3542
- var Container$r = newStyled.div(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n ", "\n width: ", ";\n background: ", ";\n border-radius: 0.5rem;\n border: ", ";\n"], ["\n ", "\n width: ", ";\n background: ", ";\n border-radius: 0.5rem;\n border: ", ";\n"])), function (_a) {
3541
+ var Container$t = newStyled.div(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n ", "\n width: ", ";\n background: ", ";\n border-radius: 0.5rem;\n border: ", ";\n"], ["\n ", "\n width: ", ";\n background: ", ";\n border-radius: 0.5rem;\n border: ", ";\n"])), function (_a) {
3543
3542
  var flex = _a.flex;
3544
3543
  return flex &&
3545
3544
  "display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;";
@@ -3551,24 +3550,24 @@ var Container$r = newStyled.div(templateObject_1$I || (templateObject_1$I = __ma
3551
3550
  });
3552
3551
  var Card = function (_a) {
3553
3552
  var children = _a.children, backgroundColor = _a.backgroundColor, _b = _a.widthAuto, widthAuto = _b === void 0 ? true : _b, border = _a.border, _c = _a.flex, flex = _c === void 0 ? true : _c;
3554
- return (jsx$1(Container$r, __assign({ backgroundColor: backgroundColor, widthAuto: widthAuto, border: border, flex: flex, "data-testid": "CardContainer" }, { children: children }), void 0));
3553
+ return (jsx$1(Container$t, __assign({ backgroundColor: backgroundColor, widthAuto: widthAuto, border: border, flex: flex, "data-testid": "CardContainer" }, { children: children }), void 0));
3555
3554
  };
3556
3555
  var Card$1 = Object.assign(Card, {
3557
3556
  Header: CardHeader,
3558
3557
  Footer: CardFooter,
3559
3558
  Body: CardBody,
3560
3559
  });
3561
- var templateObject_1$I;
3560
+ var templateObject_1$K;
3562
3561
 
3563
3562
  function jsx(type, props, key) {
3564
- if (!hasOwnProperty.call(props, 'css')) {
3563
+ if (!hasOwnProperty$1.call(props, 'css')) {
3565
3564
  return jsx$1(type, props, key);
3566
3565
  }
3567
3566
 
3568
3567
  return jsx$1(Emotion, createEmotionProps(type, props), key);
3569
3568
  }
3570
3569
  function jsxs(type, props, key) {
3571
- if (!hasOwnProperty.call(props, 'css')) {
3570
+ if (!hasOwnProperty$1.call(props, 'css')) {
3572
3571
  return jsxs$1(type, props, key);
3573
3572
  }
3574
3573
 
@@ -3588,7 +3587,7 @@ var BaseButton = function (_a) {
3588
3587
  } }, { children: [renderLeading, children, renderTrailing] }), void 0));
3589
3588
  };
3590
3589
 
3591
- var getStylesBySize$c = function (size) {
3590
+ var getStylesBySize$d = function (size) {
3592
3591
  switch (size) {
3593
3592
  case ComponentSize.Large:
3594
3593
  return {
@@ -3615,7 +3614,7 @@ var getStylesBySize$c = function (size) {
3615
3614
  var BaseCTA = function (_a) {
3616
3615
  var text = _a.text, onClick = _a.onClick, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.wide, wide = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? ComponentSize.Medium : _d, type = _a.type, className = _a.className;
3617
3616
  var theme = useTheme();
3618
- var stylesBySize = getStylesBySize$c(size);
3617
+ var stylesBySize = getStylesBySize$d(size);
3619
3618
  return (jsx(BaseButton, __assign({ onClick: onClick, disabled: disabled, className: className, type: type, css: __assign(__assign({ width: wide ? '100%' : '' }, stylesBySize), { fontWeight: 600, '&:hover': {
3620
3619
  color: theme.shades.white,
3621
3620
  cursor: 'pointer',
@@ -3678,8 +3677,8 @@ var ButtonSecondaryOutline = function (_a) {
3678
3677
  }, text: text }, void 0));
3679
3678
  };
3680
3679
 
3681
- function _extends$3() {
3682
- _extends$3 = Object.assign || function (target) {
3680
+ function _extends() {
3681
+ _extends = Object.assign || function (target) {
3683
3682
  for (var i = 1; i < arguments.length; i++) {
3684
3683
  var source = arguments[i];
3685
3684
 
@@ -3693,7 +3692,7 @@ function _extends$3() {
3693
3692
  return target;
3694
3693
  };
3695
3694
 
3696
- return _extends$3.apply(this, arguments);
3695
+ return _extends.apply(this, arguments);
3697
3696
  }
3698
3697
 
3699
3698
  function _objectWithoutPropertiesLoose$1(source, excluded) {
@@ -3832,7 +3831,7 @@ function render(_ref) {
3832
3831
  return match(strategy, (_match = {}, _match[RenderStrategy.Unmount] = function () {
3833
3832
  return null;
3834
3833
  }, _match[RenderStrategy.Hidden] = function () {
3835
- return _render(_extends$3({}, _rest, {
3834
+ return _render(_extends({}, _rest, {
3836
3835
  hidden: true,
3837
3836
  style: {
3838
3837
  display: 'none'
@@ -4304,12 +4303,12 @@ function Description(props) {
4304
4303
  }, [id, context.register]);
4305
4304
  var passThroughProps = props;
4306
4305
 
4307
- var propsWeControl = _extends$3({}, context.props, {
4306
+ var propsWeControl = _extends({}, context.props, {
4308
4307
  id: id
4309
4308
  });
4310
4309
 
4311
4310
  return render({
4312
- props: _extends$3({}, passThroughProps, propsWeControl),
4311
+ props: _extends({}, passThroughProps, propsWeControl),
4313
4312
  slot: context.slot || {},
4314
4313
  defaultTag: DEFAULT_DESCRIPTION_TAG,
4315
4314
  name: context.name || 'Description'
@@ -4358,32 +4357,32 @@ var ActionTypes$2;
4358
4357
  var reducers$2 = (_reducers$2 = {}, _reducers$2[ActionTypes$2.ToggleDisclosure] = function (state) {
4359
4358
  var _match;
4360
4359
 
4361
- return _extends$3({}, state, {
4360
+ return _extends({}, state, {
4362
4361
  disclosureState: match(state.disclosureState, (_match = {}, _match[DisclosureStates.Open] = DisclosureStates.Closed, _match[DisclosureStates.Closed] = DisclosureStates.Open, _match))
4363
4362
  });
4364
4363
  }, _reducers$2[ActionTypes$2.CloseDisclosure] = function (state) {
4365
4364
  if (state.disclosureState === DisclosureStates.Closed) return state;
4366
- return _extends$3({}, state, {
4365
+ return _extends({}, state, {
4367
4366
  disclosureState: DisclosureStates.Closed
4368
4367
  });
4369
4368
  }, _reducers$2[ActionTypes$2.LinkPanel] = function (state) {
4370
4369
  if (state.linkedPanel === true) return state;
4371
- return _extends$3({}, state, {
4370
+ return _extends({}, state, {
4372
4371
  linkedPanel: true
4373
4372
  });
4374
4373
  }, _reducers$2[ActionTypes$2.UnlinkPanel] = function (state) {
4375
4374
  if (state.linkedPanel === false) return state;
4376
- return _extends$3({}, state, {
4375
+ return _extends({}, state, {
4377
4376
  linkedPanel: false
4378
4377
  });
4379
4378
  }, _reducers$2[ActionTypes$2.SetButtonId] = function (state, action) {
4380
4379
  if (state.buttonId === action.buttonId) return state;
4381
- return _extends$3({}, state, {
4380
+ return _extends({}, state, {
4382
4381
  buttonId: action.buttonId
4383
4382
  });
4384
4383
  }, _reducers$2[ActionTypes$2.SetPanelId] = function (state, action) {
4385
4384
  if (state.panelId === action.panelId) return state;
4386
- return _extends$3({}, state, {
4385
+ return _extends({}, state, {
4387
4386
  panelId: action.panelId
4388
4387
  });
4389
4388
  }, _reducers$2);
@@ -4585,7 +4584,7 @@ var Button$5 = /*#__PURE__*/forwardRefWithAs(function Button(props, ref) {
4585
4584
  onClick: handleClick
4586
4585
  };
4587
4586
  return render({
4588
- props: _extends$3({}, passthroughProps, propsWeControl),
4587
+ props: _extends({}, passthroughProps, propsWeControl),
4589
4588
  slot: slot,
4590
4589
  defaultTag: DEFAULT_BUTTON_TAG$1,
4591
4590
  name: 'Disclosure.Button'
@@ -4650,7 +4649,7 @@ var Panel$2 = /*#__PURE__*/forwardRefWithAs(function Panel(props, ref) {
4650
4649
  return React.createElement(DisclosurePanelContext.Provider, {
4651
4650
  value: state.panelId
4652
4651
  }, render({
4653
- props: _extends$3({}, passthroughProps, propsWeControl),
4652
+ props: _extends({}, passthroughProps, propsWeControl),
4654
4653
  slot: slot,
4655
4654
  defaultTag: DEFAULT_PANEL_TAG,
4656
4655
  features: PanelRenderFeatures,
@@ -4853,24 +4852,24 @@ var ActionTypes$1;
4853
4852
  var reducers$1 = (_reducers$1 = {}, _reducers$1[ActionTypes$1.CloseListbox] = function (state) {
4854
4853
  if (state.disabled) return state;
4855
4854
  if (state.listboxState === ListboxStates.Closed) return state;
4856
- return _extends$3({}, state, {
4855
+ return _extends({}, state, {
4857
4856
  activeOptionIndex: null,
4858
4857
  listboxState: ListboxStates.Closed
4859
4858
  });
4860
4859
  }, _reducers$1[ActionTypes$1.OpenListbox] = function (state) {
4861
4860
  if (state.disabled) return state;
4862
4861
  if (state.listboxState === ListboxStates.Open) return state;
4863
- return _extends$3({}, state, {
4862
+ return _extends({}, state, {
4864
4863
  listboxState: ListboxStates.Open
4865
4864
  });
4866
4865
  }, _reducers$1[ActionTypes$1.SetDisabled] = function (state, action) {
4867
4866
  if (state.disabled === action.disabled) return state;
4868
- return _extends$3({}, state, {
4867
+ return _extends({}, state, {
4869
4868
  disabled: action.disabled
4870
4869
  });
4871
4870
  }, _reducers$1[ActionTypes$1.SetOrientation] = function (state, action) {
4872
4871
  if (state.orientation === action.orientation) return state;
4873
- return _extends$3({}, state, {
4872
+ return _extends({}, state, {
4874
4873
  orientation: action.orientation
4875
4874
  });
4876
4875
  }, _reducers$1[ActionTypes$1.GoToOption] = function (state, action) {
@@ -4891,7 +4890,7 @@ var reducers$1 = (_reducers$1 = {}, _reducers$1[ActionTypes$1.CloseListbox] = fu
4891
4890
  }
4892
4891
  });
4893
4892
  if (state.searchQuery === '' && state.activeOptionIndex === activeOptionIndex) return state;
4894
- return _extends$3({}, state, {
4893
+ return _extends({}, state, {
4895
4894
  searchQuery: '',
4896
4895
  activeOptionIndex: activeOptionIndex
4897
4896
  });
@@ -4904,10 +4903,10 @@ var reducers$1 = (_reducers$1 = {}, _reducers$1[ActionTypes$1.CloseListbox] = fu
4904
4903
 
4905
4904
  return !option.dataRef.current.disabled && ((_option$dataRef$curre = option.dataRef.current.textValue) == null ? void 0 : _option$dataRef$curre.startsWith(searchQuery));
4906
4905
  });
4907
- if (match === -1 || match === state.activeOptionIndex) return _extends$3({}, state, {
4906
+ if (match === -1 || match === state.activeOptionIndex) return _extends({}, state, {
4908
4907
  searchQuery: searchQuery
4909
4908
  });
4910
- return _extends$3({}, state, {
4909
+ return _extends({}, state, {
4911
4910
  searchQuery: searchQuery,
4912
4911
  activeOptionIndex: match
4913
4912
  });
@@ -4915,11 +4914,11 @@ var reducers$1 = (_reducers$1 = {}, _reducers$1[ActionTypes$1.CloseListbox] = fu
4915
4914
  if (state.disabled) return state;
4916
4915
  if (state.listboxState === ListboxStates.Closed) return state;
4917
4916
  if (state.searchQuery === '') return state;
4918
- return _extends$3({}, state, {
4917
+ return _extends({}, state, {
4919
4918
  searchQuery: ''
4920
4919
  });
4921
4920
  }, _reducers$1[ActionTypes$1.RegisterOption] = function (state, action) {
4922
- return _extends$3({}, state, {
4921
+ return _extends({}, state, {
4923
4922
  options: [].concat(state.options, [{
4924
4923
  id: action.id,
4925
4924
  dataRef: action.dataRef
@@ -4932,7 +4931,7 @@ var reducers$1 = (_reducers$1 = {}, _reducers$1[ActionTypes$1.CloseListbox] = fu
4932
4931
  return a.id === action.id;
4933
4932
  });
4934
4933
  if (idx !== -1) nextOptions.splice(idx, 1);
4935
- return _extends$3({}, state, {
4934
+ return _extends({}, state, {
4936
4935
  options: nextOptions,
4937
4936
  activeOptionIndex: function () {
4938
4937
  if (idx === state.activeOptionIndex) return null;
@@ -5153,7 +5152,7 @@ var Button$4 = /*#__PURE__*/forwardRefWithAs(function Button(props, ref) {
5153
5152
  onClick: handleClick
5154
5153
  };
5155
5154
  return render({
5156
- props: _extends$3({}, passthroughProps, propsWeControl),
5155
+ props: _extends({}, passthroughProps, propsWeControl),
5157
5156
  slot: slot,
5158
5157
  defaultTag: DEFAULT_BUTTON_TAG,
5159
5158
  name: 'Listbox.Button'
@@ -5186,7 +5185,7 @@ function Label$3(props) {
5186
5185
  onClick: handleClick
5187
5186
  };
5188
5187
  return render({
5189
- props: _extends$3({}, props, propsWeControl),
5188
+ props: _extends({}, props, propsWeControl),
5190
5189
  slot: slot,
5191
5190
  defaultTag: DEFAULT_LABEL_TAG$1,
5192
5191
  name: 'Listbox.Label'
@@ -5362,7 +5361,7 @@ var Options = /*#__PURE__*/forwardRefWithAs(function Options(props, ref) {
5362
5361
  };
5363
5362
  var passthroughProps = props;
5364
5363
  return render({
5365
- props: _extends$3({}, passthroughProps, propsWeControl),
5364
+ props: _extends({}, passthroughProps, propsWeControl),
5366
5365
  slot: slot,
5367
5366
  defaultTag: DEFAULT_OPTIONS_TAG,
5368
5367
  features: OptionsRenderFeatures,
@@ -5506,7 +5505,7 @@ function Option$2(props) {
5506
5505
  onMouseLeave: handleLeave
5507
5506
  };
5508
5507
  return render({
5509
- props: _extends$3({}, passthroughProps, propsWeControl),
5508
+ props: _extends({}, passthroughProps, propsWeControl),
5510
5509
  slot: slot,
5511
5510
  defaultTag: DEFAULT_OPTION_TAG$1,
5512
5511
  name: 'Listbox.Option'
@@ -5647,11 +5646,11 @@ function Label$2(props) {
5647
5646
  return context.register(id);
5648
5647
  }, [id, context.register]);
5649
5648
 
5650
- var propsWeControl = _extends$3({}, context.props, {
5649
+ var propsWeControl = _extends({}, context.props, {
5651
5650
  id: id
5652
5651
  });
5653
5652
 
5654
- var allProps = _extends$3({}, passThroughProps, propsWeControl); // @ts-expect-error props are dynamic via context, some components will
5653
+ var allProps = _extends({}, passThroughProps, propsWeControl); // @ts-expect-error props are dynamic via context, some components will
5655
5654
  // provide an onClick then we can delete it.
5656
5655
 
5657
5656
 
@@ -5673,7 +5672,7 @@ var ActionTypes;
5673
5672
  })(ActionTypes || (ActionTypes = {}));
5674
5673
 
5675
5674
  var reducers = (_reducers = {}, _reducers[ActionTypes.RegisterOption] = function (state, action) {
5676
- return _extends$3({}, state, {
5675
+ return _extends({}, state, {
5677
5676
  options: [].concat(state.options, [{
5678
5677
  id: action.id,
5679
5678
  element: action.element,
@@ -5687,7 +5686,7 @@ var reducers = (_reducers = {}, _reducers[ActionTypes.RegisterOption] = function
5687
5686
  });
5688
5687
  if (idx === -1) return state;
5689
5688
  options.splice(idx, 1);
5690
- return _extends$3({}, state, {
5689
+ return _extends({}, state, {
5691
5690
  options: options
5692
5691
  });
5693
5692
  }, _reducers);
@@ -5828,7 +5827,7 @@ function RadioGroup(props) {
5828
5827
  }
5829
5828
  }, [radioGroupRef, options, triggerChange]);
5830
5829
  var registerOption = useCallback(function (option) {
5831
- dispatch(_extends$3({
5830
+ dispatch(_extends({
5832
5831
  type: ActionTypes.RegisterOption
5833
5832
  }, option));
5834
5833
  return function () {
@@ -5863,7 +5862,7 @@ function RadioGroup(props) {
5863
5862
  }, React.createElement(RadioGroupContext.Provider, {
5864
5863
  value: api
5865
5864
  }, render({
5866
- props: _extends$3({}, passThroughProps, propsWeControl),
5865
+ props: _extends({}, passThroughProps, propsWeControl),
5867
5866
  defaultTag: DEFAULT_RADIO_GROUP_TAG,
5868
5867
  name: 'RadioGroup'
5869
5868
  }))));
@@ -5972,7 +5971,7 @@ function Option$1(props) {
5972
5971
  }, React.createElement(LabelProvider, {
5973
5972
  name: "RadioGroup.Label"
5974
5973
  }, render({
5975
- props: _extends$3({}, passThroughProps, propsWeControl),
5974
+ props: _extends({}, passThroughProps, propsWeControl),
5976
5975
  slot: slot,
5977
5976
  defaultTag: DEFAULT_OPTION_TAG,
5978
5977
  name: 'RadioGroup.Option'
@@ -5999,7 +5998,7 @@ function BaseSelectOption(_a) {
5999
5998
  return (jsx$1(Listbox.Option, __assign({ className: className, as: as, value: value, disabled: disabled }, { children: children }), void 0));
6000
5999
  }
6001
6000
 
6002
- var CustomListBox = newStyled(Listbox)(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
6001
+ var CustomListBox = newStyled(Listbox)(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
6003
6002
  function BaseSelect(_a) {
6004
6003
  var value = _a.value, onChange = _a.onChange, disabled = _a.disabled, children = _a.children, className = _a.className;
6005
6004
  return (jsx$1(CustomListBox, __assign({ disabled: disabled, as: "div", value: value, onChange: onChange, className: className }, { children: children }), void 0));
@@ -6009,7 +6008,7 @@ var BaseSelect$1 = Object.assign(BaseSelect, {
6009
6008
  Options: BaseSelectOptions,
6010
6009
  Option: BaseSelectOption,
6011
6010
  });
6012
- var templateObject_1$H;
6011
+ var templateObject_1$J;
6013
6012
 
6014
6013
  var CustomButton = newStyled.button(function (_a) {
6015
6014
  var theme = _a.theme, wide = _a.wide;
@@ -6146,7 +6145,7 @@ function SimpleDropdown(_a) {
6146
6145
  return (jsxs$1(BaseDropdown$1, __assign({ value: selectedValue, onChange: onChangeHandler, disabled: disabled, wide: wide }, { children: [jsx$1(Button, __assign({ OpenIcon: Icon.Arrows.ChevronDown, CloseIcon: Icon.Arrows.ChevronUp, wide: wide }, { children: selectedOptionLabel() }), void 0), jsx$1(BaseDropdown$1.Options, { children: options.map(function (item) { return (jsx$1(BaseDropdown$1.Option, __assign({ value: item, disabled: false }, { children: item.label }), item.key)); }) }, void 0)] }), void 0));
6147
6146
  }
6148
6147
 
6149
- var getStylesBySize$b = function (size) {
6148
+ var getStylesBySize$c = function (size) {
6150
6149
  switch (size) {
6151
6150
  case ComponentSize.Medium:
6152
6151
  return {
@@ -6162,7 +6161,7 @@ var getStylesBySize$b = function (size) {
6162
6161
  var SimpleSelector = function (_a) {
6163
6162
  var text = _a.text, className = _a.className, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.size, size = _c === void 0 ? ComponentSize.Medium : _c, _d = _a.active, active = _d === void 0 ? false : _d, onClick = _a.onClick;
6164
6163
  var theme = useTheme();
6165
- var stylesBySize = getStylesBySize$b(size);
6164
+ var stylesBySize = getStylesBySize$c(size);
6166
6165
  var activeStyles = active ? { fontWeight: 600 } : { fontWeight: 0 };
6167
6166
  return (jsx(BaseButton, __assign({ onClick: onClick, disabled: disabled, className: className, type: "button", css: __assign(__assign(__assign({}, stylesBySize), activeStyles), { boxSizing: 'border-box', fontSize: '0.75rem', cursor: 'pointer', '&:hover': {
6168
6167
  fontWeight: 600,
@@ -6188,8 +6187,8 @@ var SelectorSecondary = function (_a) {
6188
6187
  } }) }, void 0));
6189
6188
  };
6190
6189
 
6191
- var ButtonsContainer = newStyled.div(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"], ["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"])));
6192
- var SizeParagraph = newStyled.p(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n margin: 0 0 0.63rem 0;\n font-size: 0.88rem;\n"], ["\n margin: 0 0 0.63rem 0;\n font-size: 0.88rem;\n"])));
6190
+ var ButtonsContainer = newStyled.div(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"], ["\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n"])));
6191
+ var SizeParagraph = newStyled.p(templateObject_2$v || (templateObject_2$v = __makeTemplateObject(["\n margin: 0 0 0.63rem 0;\n font-size: 0.88rem;\n"], ["\n margin: 0 0 0.63rem 0;\n font-size: 0.88rem;\n"])));
6193
6192
  var getInitialValue$2 = function (options, selectedValue) {
6194
6193
  if (selectedValue && selectedValue.disabled !== true && options.includes(selectedValue))
6195
6194
  return selectedValue;
@@ -6214,9 +6213,9 @@ var SizeSelector = function (_a) {
6214
6213
  }, size: ComponentSize.Medium, text: size.label, active: active, disabled: size.disabled, onClick: function () { return onChangeHandler(size); } }, size.label));
6215
6214
  }) }, void 0)] }, void 0));
6216
6215
  };
6217
- var templateObject_1$G, templateObject_2$u;
6216
+ var templateObject_1$I, templateObject_2$v;
6218
6217
 
6219
- var getStylesBySize$a = function (size) {
6218
+ var getStylesBySize$b = function (size) {
6220
6219
  switch (size) {
6221
6220
  case ComponentSize.Large:
6222
6221
  case ComponentSize.Medium:
@@ -6234,7 +6233,7 @@ var getStylesBySize$a = function (size) {
6234
6233
  }
6235
6234
  };
6236
6235
  var textButtonStyles$1 = function (theme, size) {
6237
- var stylesBySize = getStylesBySize$a(size);
6236
+ var stylesBySize = getStylesBySize$b(size);
6238
6237
  return __assign(__assign({ border: 'none', background: 'transparent', padding: 0, color: theme.shades.gray550, alignItems: 'center', fontWeight: 600 }, stylesBySize), { '&:hover': {
6239
6238
  textDecorationLine: 'underline',
6240
6239
  }, '&:disabled': {
@@ -6243,7 +6242,7 @@ var textButtonStyles$1 = function (theme, size) {
6243
6242
  } });
6244
6243
  };
6245
6244
  var withContainer = function (iconFill, isLeading, Icon) {
6246
- return Icon && (jsx("span", __assign({ css: css(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n display: flex;\n align-items: center;\n ", "\n "], ["\n display: flex;\n align-items: center;\n ", "\n "])), isLeading ? 'margin-right: 5px' : 'margin-left: 5px') }, { children: jsx(Icon, { width: 1.25, height: 1.25, fill: iconFill }, void 0) }), void 0));
6245
+ return Icon && (jsx("span", __assign({ css: css(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n display: flex;\n align-items: center;\n ", "\n "], ["\n display: flex;\n align-items: center;\n ", "\n "])), isLeading ? 'margin-right: 5px' : 'margin-left: 5px') }, { children: jsx(Icon, { width: 1.25, height: 1.25, fill: iconFill }, void 0) }), void 0));
6247
6246
  };
6248
6247
  var getIconFill = function (theme, disabled, iconColor) {
6249
6248
  if (disabled)
@@ -6259,18 +6258,18 @@ var TextButton = function (_a) {
6259
6258
  var iconFill = getIconFill(theme, disabled, iconColor);
6260
6259
  return (jsx(BaseButton, __assign({ renderLeading: withContainer(iconFill, true, LeadingIcon), renderTrailing: withContainer(iconFill, false, TrailingIcon), disabled: disabled, type: type, onClick: onClick, css: textButtonStyles$1(theme, size) }, { children: text }), void 0));
6261
6260
  };
6262
- var templateObject_1$F;
6261
+ var templateObject_1$H;
6263
6262
 
6264
- var Container$q = newStyled.div(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n font-size: 0.88rem;\n"], ["\n display: flex;\n justify-content: space-between;\n font-size: 0.88rem;\n"])));
6265
- var P$2 = newStyled.p(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
6263
+ var Container$s = newStyled.div(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n font-size: 0.88rem;\n"], ["\n display: flex;\n justify-content: space-between;\n font-size: 0.88rem;\n"])));
6264
+ var P$2 = newStyled.p(templateObject_2$u || (templateObject_2$u = __makeTemplateObject(["\n margin: 0;\n"], ["\n margin: 0;\n"])));
6266
6265
  var PercentageSpan = newStyled.span(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\n font-weight: 700;\n text-decoration-line: underline;\n"], ["\n font-weight: 700;\n text-decoration-line: underline;\n"])));
6267
6266
  var SizeFitGuide = function (_a) {
6268
6267
  var title = _a.title, fitPercentageLabel = _a.fitPercentageLabel, fitPercentage = _a.fitPercentage, onClick = _a.onClick;
6269
- return (jsxs$1(Container$q, { children: [jsx$1(TextButton, { LeadingIcon: Icon.PDP.Rule, size: ComponentSize.Small, text: title, onClick: onClick }, void 0), jsxs$1(P$2, { children: [fitPercentageLabel, " ", jsxs$1(PercentageSpan, { children: [fitPercentage, "%"] }, void 0)] }, void 0)] }, void 0));
6268
+ return (jsxs$1(Container$s, { children: [jsx$1(TextButton, { LeadingIcon: Icon.PDP.Rule, size: ComponentSize.Small, text: title, onClick: onClick }, void 0), jsxs$1(P$2, { children: [fitPercentageLabel, " ", jsxs$1(PercentageSpan, { children: [fitPercentage, "%"] }, void 0)] }, void 0)] }, void 0));
6270
6269
  };
6271
- var templateObject_1$E, templateObject_2$t, templateObject_3$j;
6270
+ var templateObject_1$G, templateObject_2$u, templateObject_3$j;
6272
6271
 
6273
- var getStylesBySize$9 = function (size) {
6272
+ var getStylesBySize$a = function (size) {
6274
6273
  switch (size) {
6275
6274
  case ComponentSize.Large:
6276
6275
  return {
@@ -6298,7 +6297,7 @@ var getStylesBySize$9 = function (size) {
6298
6297
  };
6299
6298
  }
6300
6299
  };
6301
- var Container$p = newStyled.div(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n padding: ", ";\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n text-align: center;\n cursor: default;\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n padding: ", ";\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n text-align: center;\n cursor: default;\n"])), function (_a) {
6300
+ var Container$r = newStyled.div(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n padding: ", ";\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n text-align: center;\n cursor: default;\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n padding: ", ";\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: ", ";\n height: ", ";\n text-align: center;\n cursor: default;\n"])), function (_a) {
6302
6301
  var backgroundColor = _a.backgroundColor;
6303
6302
  return backgroundColor;
6304
6303
  }, function (_a) {
@@ -6307,39 +6306,39 @@ var Container$p = newStyled.div(templateObject_1$D || (templateObject_1$D = __ma
6307
6306
  }, function (_a) {
6308
6307
  var _b;
6309
6308
  var size = _a.size;
6310
- return (_b = getStylesBySize$9(size)) === null || _b === void 0 ? void 0 : _b.borderRadius;
6309
+ return (_b = getStylesBySize$a(size)) === null || _b === void 0 ? void 0 : _b.borderRadius;
6311
6310
  }, function (_a) {
6312
6311
  var _b;
6313
6312
  var size = _a.size;
6314
- return (_b = getStylesBySize$9(size)) === null || _b === void 0 ? void 0 : _b.padding;
6313
+ return (_b = getStylesBySize$a(size)) === null || _b === void 0 ? void 0 : _b.padding;
6315
6314
  }, function (_a) {
6316
6315
  var size = _a.size;
6317
6316
  return (size === ComponentSize.Small ? '2rem' : 'unset');
6318
6317
  }, function (_a) {
6319
6318
  var _b;
6320
6319
  var size = _a.size;
6321
- return (_b = getStylesBySize$9(size)) === null || _b === void 0 ? void 0 : _b.height;
6320
+ return (_b = getStylesBySize$a(size)) === null || _b === void 0 ? void 0 : _b.height;
6322
6321
  });
6323
- var H3$2 = newStyled.h3(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n color: ", ";\n font-weight: bold;\n margin: 0;\n font-size: ", ";\n line-height: ", ";\n"], ["\n color: ", ";\n font-weight: bold;\n margin: 0;\n font-size: ", ";\n line-height: ", ";\n"])), function (_a) {
6322
+ var H3$2 = newStyled.h3(templateObject_2$t || (templateObject_2$t = __makeTemplateObject(["\n color: ", ";\n font-weight: bold;\n margin: 0;\n font-size: ", ";\n line-height: ", ";\n"], ["\n color: ", ";\n font-weight: bold;\n margin: 0;\n font-size: ", ";\n line-height: ", ";\n"])), function (_a) {
6324
6323
  var textColor = _a.textColor;
6325
6324
  return textColor;
6326
6325
  }, function (_a) {
6327
6326
  var _b;
6328
6327
  var size = _a.size;
6329
- return (_b = getStylesBySize$9(size)) === null || _b === void 0 ? void 0 : _b.fontSize;
6328
+ return (_b = getStylesBySize$a(size)) === null || _b === void 0 ? void 0 : _b.fontSize;
6330
6329
  }, function (_a) {
6331
6330
  var _b;
6332
6331
  var size = _a.size;
6333
- return (_b = getStylesBySize$9(size)) === null || _b === void 0 ? void 0 : _b.lineHeight;
6332
+ return (_b = getStylesBySize$a(size)) === null || _b === void 0 ? void 0 : _b.lineHeight;
6334
6333
  });
6335
6334
  var DiscountTag = function (_a) {
6336
6335
  var discount = _a.discount, offText = _a.offText, disabled = _a.disabled, _b = _a.backgroundColor, backgroundColor = _b === void 0 ? '#fff' : _b, _c = _a.borderColor, borderColor = _c === void 0 ? 'transparent' : _c, _d = _a.textColor, textColor = _d === void 0 ? '#fff' : _d, _e = _a.size, size = _e === void 0 ? ComponentSize.Medium : _e;
6337
6336
  var theme = useTheme();
6338
- return (jsx$1(Container$p, __assign({ backgroundColor: disabled ? theme.shades.gray050 : backgroundColor, borderColor: disabled ? theme.shades.gray050 : borderColor, size: size, "data-testid": "discount-container" }, { children: jsxs$1(H3$2, __assign({ textColor: disabled ? theme.shades.gray250 : textColor, size: size }, { children: [discount, "% ", offText] }), void 0) }), void 0));
6337
+ return (jsx$1(Container$r, __assign({ backgroundColor: disabled ? theme.shades.gray050 : backgroundColor, borderColor: disabled ? theme.shades.gray050 : borderColor, size: size, "data-testid": "discount-container" }, { children: jsxs$1(H3$2, __assign({ textColor: disabled ? theme.shades.gray250 : textColor, size: size }, { children: [discount, "% ", offText] }), void 0) }), void 0));
6339
6338
  };
6340
- var templateObject_1$D, templateObject_2$s;
6339
+ var templateObject_1$F, templateObject_2$t;
6341
6340
 
6342
- var getStylesBySize$8 = function (size) {
6341
+ var getStylesBySize$9 = function (size) {
6343
6342
  switch (size) {
6344
6343
  case ComponentSize.Large:
6345
6344
  return {
@@ -6361,18 +6360,18 @@ var getStylesBySize$8 = function (size) {
6361
6360
  };
6362
6361
  }
6363
6362
  };
6364
- var Container$o = newStyled.div(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
6365
- var Price = newStyled.h1(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-decoration: ", ";\n margin: ", ";\n"], ["\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-decoration: ", ";\n margin: ", ";\n"])), function (_a) {
6363
+ var Container$q = newStyled.div(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
6364
+ var Price = newStyled.h1(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-decoration: ", ";\n margin: ", ";\n"], ["\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n text-decoration: ", ";\n margin: ", ";\n"])), function (_a) {
6366
6365
  var weight = _a.weight;
6367
6366
  return (weight ? weight : '400');
6368
6367
  }, function (_a) {
6369
6368
  var _b;
6370
6369
  var size = _a.size;
6371
- return (_b = getStylesBySize$8(size)) === null || _b === void 0 ? void 0 : _b.fontSize;
6370
+ return (_b = getStylesBySize$9(size)) === null || _b === void 0 ? void 0 : _b.fontSize;
6372
6371
  }, function (_a) {
6373
6372
  var _b;
6374
6373
  var size = _a.size;
6375
- return (_b = getStylesBySize$8(size)) === null || _b === void 0 ? void 0 : _b.lineHeight;
6374
+ return (_b = getStylesBySize$9(size)) === null || _b === void 0 ? void 0 : _b.lineHeight;
6376
6375
  }, function (_a) {
6377
6376
  var color = _a.color;
6378
6377
  return color;
@@ -6382,19 +6381,19 @@ var Price = newStyled.h1(templateObject_2$r || (templateObject_2$r = __makeTempl
6382
6381
  }, function (_a) {
6383
6382
  var _b;
6384
6383
  var margin = _a.margin, size = _a.size;
6385
- return (margin ? (_b = getStylesBySize$8(size)) === null || _b === void 0 ? void 0 : _b.margin : '0');
6384
+ return (margin ? (_b = getStylesBySize$9(size)) === null || _b === void 0 ? void 0 : _b.margin : '0');
6386
6385
  });
6387
6386
  var TagContainer = newStyled.h1(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\n margin: ", ";\n display: flex;\n align-items: center;\n"], ["\n margin: ", ";\n display: flex;\n align-items: center;\n"])), function (_a) {
6388
6387
  var _b;
6389
6388
  var size = _a.size;
6390
- return (_b = getStylesBySize$8(size)) === null || _b === void 0 ? void 0 : _b.margin;
6389
+ return (_b = getStylesBySize$9(size)) === null || _b === void 0 ? void 0 : _b.margin;
6391
6390
  });
6392
6391
  var PriceLabel = function (_a) {
6393
6392
  var finalPrice = _a.finalPrice, originalPrice = _a.originalPrice, discount = _a.discount, color = _a.color, _b = _a.size, size = _b === void 0 ? ComponentSize.Medium : _b;
6394
6393
  var theme = useTheme();
6395
- return (jsxs$1(Container$o, { children: [jsx$1(Price, __assign({ size: size, color: color || theme.palette.secondary.default, weight: 700, "data-testid": "price" }, { children: finalPrice }), void 0), originalPrice && (jsx$1(Price, __assign({ size: size, color: theme.shades.gray400, margin: true, underlined: true, "data-testid": "discount" }, { children: originalPrice }), void 0)), discount && (jsx$1(TagContainer, __assign({ size: size }, { children: jsx$1(DiscountTag, __assign({}, discount, { size: size }), void 0) }), void 0))] }, void 0));
6394
+ return (jsxs$1(Container$q, { children: [jsx$1(Price, __assign({ size: size, color: color || theme.palette.secondary.default, weight: 700, "data-testid": "price" }, { children: finalPrice }), void 0), originalPrice && (jsx$1(Price, __assign({ size: size, color: theme.shades.gray400, margin: true, underlined: true, "data-testid": "discount" }, { children: originalPrice }), void 0)), discount && (jsx$1(TagContainer, __assign({ size: size }, { children: jsx$1(DiscountTag, __assign({}, discount, { size: size }), void 0) }), void 0))] }, void 0));
6396
6395
  };
6397
- var templateObject_1$C, templateObject_2$r, templateObject_3$i;
6396
+ var templateObject_1$E, templateObject_2$s, templateObject_3$i;
6398
6397
 
6399
6398
  var OneColorSelector = function (_a) {
6400
6399
  var color = _a.color, selected = _a.selected, dataTestId = _a.dataTestId;
@@ -6433,8 +6432,8 @@ var OutOfStock = function (_a) {
6433
6432
  return (jsxs$1("svg", __assign({ width: "32", height: "33", viewBox: "0 0 32 33", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [jsx$1("title", { children: title }, void 0), jsx$1("mask", __assign({ id: "path-1-inside-1", fill: "white" }, { children: jsx$1("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.89435 9.60565C8.40619 10.0938 8.40619 10.8853 8.89435 11.3734L14.0209 16.5L8.89433 21.6266C8.40617 22.1147 8.40617 22.9062 8.89433 23.3943C9.38248 23.8825 10.1739 23.8825 10.6621 23.3943L15.7887 18.2677L21.2687 23.7478C21.7569 24.2359 22.5483 24.2359 23.0365 23.7478C23.5246 23.2596 23.5246 22.4682 23.0365 21.98L17.5564 16.5L23.0365 11.02C23.5246 10.5318 23.5246 9.74035 23.0365 9.25219C22.5483 8.76404 21.7568 8.76404 21.2687 9.25219L15.7887 14.7322L10.6621 9.60565C10.174 9.1175 9.3825 9.1175 8.89435 9.60565Z" }, void 0) }), void 0), jsx$1("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.89435 9.60565C8.40619 10.0938 8.40619 10.8853 8.89435 11.3734L14.0209 16.5L8.89433 21.6266C8.40617 22.1147 8.40617 22.9062 8.89433 23.3943C9.38248 23.8825 10.1739 23.8825 10.6621 23.3943L15.7887 18.2677L21.2687 23.7478C21.7569 24.2359 22.5483 24.2359 23.0365 23.7478C23.5246 23.2596 23.5246 22.4682 23.0365 21.98L17.5564 16.5L23.0365 11.02C23.5246 10.5318 23.5246 9.74035 23.0365 9.25219C22.5483 8.76404 21.7568 8.76404 21.2687 9.25219L15.7887 14.7322L10.6621 9.60565C10.174 9.1175 9.3825 9.1175 8.89435 9.60565Z", fill: theme.shades.gray300 }, void 0), jsx$1("path", { d: "M14.0209 16.5L14.5866 17.0657L15.1523 16.5L14.5866 15.9343L14.0209 16.5ZM8.89433 21.6266L9.46001 22.1922L8.89433 21.6266ZM10.6621 23.3943L11.2278 23.96L10.6621 23.3943ZM15.7887 18.2677L16.3544 17.7021L15.7887 17.1364L15.223 17.7021L15.7887 18.2677ZM17.5564 16.5L16.9908 15.9343L16.4251 16.5L16.9908 17.0657L17.5564 16.5ZM23.0365 11.02L23.6021 11.5856L23.0365 11.02ZM21.2687 9.25219L21.8344 9.81788L21.2687 9.25219ZM15.7887 14.7322L15.223 15.2979L15.7887 15.8636L16.3544 15.2979L15.7887 14.7322ZM9.46003 10.8077C9.2843 10.632 9.2843 10.3471 9.46003 10.1713L8.32866 9.03997C7.52809 9.84054 7.52809 11.1385 8.32866 11.9391L9.46003 10.8077ZM14.5866 15.9343L9.46003 10.8077L8.32866 11.9391L13.4552 17.0657L14.5866 15.9343ZM9.46001 22.1922L14.5866 17.0657L13.4552 15.9343L8.32864 21.0609L9.46001 22.1922ZM9.46001 22.8286C9.28428 22.6529 9.28428 22.368 9.46001 22.1922L8.32864 21.0609C7.52807 21.8614 7.52807 23.1594 8.32864 23.96L9.46001 22.8286ZM10.0964 22.8286C9.92067 23.0044 9.63575 23.0044 9.46001 22.8286L8.32864 23.96C9.12922 24.7606 10.4272 24.7606 11.2278 23.96L10.0964 22.8286ZM15.223 17.7021L10.0964 22.8286L11.2278 23.96L16.3544 18.8334L15.223 17.7021ZM21.8344 23.1821L16.3544 17.7021L15.223 18.8334L20.703 24.3135L21.8344 23.1821ZM22.4708 23.1821C22.2951 23.3578 22.0101 23.3578 21.8344 23.1821L20.703 24.3135C21.5036 25.114 22.8016 25.114 23.6022 24.3135L22.4708 23.1821ZM22.4708 22.5457C22.6465 22.7214 22.6465 23.0064 22.4708 23.1821L23.6022 24.3135C24.4027 23.5129 24.4027 22.2149 23.6022 21.4143L22.4708 22.5457ZM16.9908 17.0657L22.4708 22.5457L23.6022 21.4143L18.1221 15.9343L16.9908 17.0657ZM22.4708 10.4543L16.9908 15.9343L18.1221 17.0657L23.6021 11.5856L22.4708 10.4543ZM22.4708 9.81788C22.6465 9.99361 22.6465 10.2785 22.4708 10.4543L23.6021 11.5856C24.4027 10.7851 24.4027 9.48708 23.6021 8.68651L22.4708 9.81788ZM21.8344 9.81788C22.0101 9.64214 22.295 9.64214 22.4708 9.81788L23.6021 8.68651C22.8016 7.88593 21.5036 7.88593 20.703 8.68651L21.8344 9.81788ZM16.3544 15.2979L21.8344 9.81788L20.703 8.68651L15.223 14.1665L16.3544 15.2979ZM10.0964 10.1713L15.223 15.2979L16.3544 14.1665L11.2278 9.03997L10.0964 10.1713ZM9.46003 10.1713C9.63577 9.9956 9.92069 9.9956 10.0964 10.1713L11.2278 9.03997C10.4272 8.23939 9.12924 8.23939 8.32866 9.03997L9.46003 10.1713Z", fill: "white", mask: "url(#path-1-inside-1)" }, void 0), jsx$1("circle", { cx: "16", cy: "16.5", r: "12", stroke: theme.shades.gray300, strokeWidth: "0.5" }, void 0)] }), void 0));
6434
6433
  };
6435
6434
 
6436
- var CustomRadioGroup = newStyled(RadioGroup)(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
6437
- var CustomRadioGroupLabel = newStyled(RadioGroup.Label)(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n font-size: 0.88rem;\n"], ["\n font-size: 0.88rem;\n"])));
6435
+ var CustomRadioGroup = newStyled(RadioGroup)(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
6436
+ var CustomRadioGroupLabel = newStyled(RadioGroup.Label)(templateObject_2$r || (templateObject_2$r = __makeTemplateObject(["\n font-size: 0.88rem;\n"], ["\n font-size: 0.88rem;\n"])));
6438
6437
  var CustomRadioGroupOption = newStyled(RadioGroup.Option)(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\n margin-right: 1rem;\n\n svg {\n cursor: pointer;\n }\n"], ["\n margin-right: 1rem;\n\n svg {\n cursor: pointer;\n }\n"])));
6439
6438
  var Span = newStyled.span(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n font-weight: 600;\n"], ["\n font-weight: 600;\n"])));
6440
6439
  var OptionsContainer = newStyled.div(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject(["\n display: flex;\n margin-top: 0.63rem;\n"], ["\n display: flex;\n margin-top: 0.63rem;\n"])));
@@ -6455,20 +6454,20 @@ var ColorRadioGroup$1 = Object.assign(ColorRadioGroup, {
6455
6454
  Option: Option,
6456
6455
  OptionsContainer: OptionsContainer,
6457
6456
  });
6458
- var templateObject_1$B, templateObject_2$q, templateObject_3$h, templateObject_4$d, templateObject_5$7;
6457
+ var templateObject_1$D, templateObject_2$r, templateObject_3$h, templateObject_4$d, templateObject_5$7;
6459
6458
 
6460
- var Container$n = newStyled.div(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n border: 0.081rem solid ", ";\n box-sizing: border-box;\n padding: 0.156rem;\n cursor: pointer;\n"], ["\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n border: 0.081rem solid ", ";\n box-sizing: border-box;\n padding: 0.156rem;\n cursor: pointer;\n"])), function (_a) {
6459
+ var Container$p = newStyled.div(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n border: 0.081rem solid ", ";\n box-sizing: border-box;\n padding: 0.156rem;\n cursor: pointer;\n"], ["\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n border: 0.081rem solid ", ";\n box-sizing: border-box;\n padding: 0.156rem;\n cursor: pointer;\n"])), function (_a) {
6461
6460
  var borderColor = _a.borderColor;
6462
6461
  return borderColor;
6463
6462
  });
6464
- var Image$3 = newStyled.img(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n border-radius: 50%;\n"], ["\n width: 100%;\n height: 100%;\n border-radius: 50%;\n"])));
6463
+ var Image$3 = newStyled.img(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n border-radius: 50%;\n"], ["\n width: 100%;\n height: 100%;\n border-radius: 50%;\n"])));
6465
6464
  var PatternSelector = function (_a) {
6466
6465
  var url = _a.url, selected = _a.selected, dataTestId = _a.dataTestId;
6467
6466
  var theme = useTheme();
6468
6467
  var outerBorder = selected ? theme.shades.gray550 : 'transparent';
6469
- return (jsx$1(Container$n, __assign({ "data-testid": dataTestId, borderColor: outerBorder }, { children: jsx$1(Image$3, { src: url, alt: "pattern" }, void 0) }), void 0));
6468
+ return (jsx$1(Container$p, __assign({ "data-testid": dataTestId, borderColor: outerBorder }, { children: jsx$1(Image$3, { src: url, alt: "pattern" }, void 0) }), void 0));
6470
6469
  };
6471
- var templateObject_1$A, templateObject_2$p;
6470
+ var templateObject_1$C, templateObject_2$q;
6472
6471
 
6473
6472
  var renderOptions$1 = function (options) {
6474
6473
  if (options.length)
@@ -6534,7 +6533,7 @@ var MultiColorPicker = function (_a) {
6534
6533
  return (jsxs$1(ColorRadioGroup$1, __assign({ value: selectedColor, onChange: onChangeHandler }, { children: [jsx$1(ColorRadioGroup$1.Label, { label: label, values: valueLabels }, void 0), jsx$1(ColorRadioGroup$1.OptionsContainer, { children: renderOptions(selectedColor, options) }, void 0)] }), void 0));
6535
6534
  };
6536
6535
 
6537
- var Image$2 = newStyled.img(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n width: 4.063rem;\n height: 5.375rem;\n box-sizing: border-box;\n cursor: pointer;\n border: ", ";\n"], ["\n width: 4.063rem;\n height: 5.375rem;\n box-sizing: border-box;\n cursor: pointer;\n border: ", ";\n"])), function (_a) {
6536
+ var Image$2 = newStyled.img(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n width: 4.063rem;\n height: 5.375rem;\n box-sizing: border-box;\n cursor: pointer;\n border: ", ";\n"], ["\n width: 4.063rem;\n height: 5.375rem;\n box-sizing: border-box;\n cursor: pointer;\n border: ", ";\n"])), function (_a) {
6538
6537
  var selected = _a.selected, theme = _a.theme;
6539
6538
  return selected ? "0.063rem solid " + theme.shades.gray700 : 'inherit';
6540
6539
  });
@@ -6543,29 +6542,29 @@ var ImageSmallPreview = function (_a) {
6543
6542
  var theme = useTheme();
6544
6543
  return jsx$1(Image$2, { className: className, src: imageUrl, alt: alt, selected: selected, theme: theme }, void 0);
6545
6544
  };
6546
- var templateObject_1$z;
6545
+ var templateObject_1$B;
6547
6546
 
6548
- var Container$m = newStyled.div(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n padding-right: 1.25rem;\n overflow: auto;\n"], ["\n display: flex;\n flex-direction: column;\n padding-right: 1.25rem;\n overflow: auto;\n"])));
6549
- var Button$3 = newStyled.button(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n padding: 0;\n border: none;\n text-decoration: none;\n background: transparent;\n"], ["\n padding: 0;\n border: none;\n text-decoration: none;\n background: transparent;\n"])));
6547
+ var Container$o = newStyled.div(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n padding-right: 1.25rem;\n overflow: auto;\n"], ["\n display: flex;\n flex-direction: column;\n padding-right: 1.25rem;\n overflow: auto;\n"])));
6548
+ var Button$3 = newStyled.button(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n padding: 0;\n border: none;\n text-decoration: none;\n background: transparent;\n"], ["\n padding: 0;\n border: none;\n text-decoration: none;\n background: transparent;\n"])));
6550
6549
  var ImagePreviewList = function (_a) {
6551
6550
  var images = _a.images, selectedImage = _a.selectedImage, onClick = _a.onClick, dataTestId = _a.dataTestId;
6552
- return (jsx(Container$m, __assign({ "data-testid": dataTestId }, { children: images.map(function (item) {
6551
+ return (jsx(Container$o, __assign({ "data-testid": dataTestId }, { children: images.map(function (item) {
6553
6552
  return (jsx(Button$3, __assign({ onClick: function () { return onClick(item); } }, { children: jsx(ImageSmallPreview, { css: { marginBottom: '1.25rem' }, imageUrl: item.imageUrl, alt: item.alt, selected: item.key === selectedImage.key }, void 0) }), item.key));
6554
6553
  }) }), void 0));
6555
6554
  };
6556
- var templateObject_1$y, templateObject_2$o;
6555
+ var templateObject_1$A, templateObject_2$p;
6557
6556
 
6558
- var Container$l = newStyled.div(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n position: relative;\n max-height: 45rem;\n max-width: 33.125rem;\n"], ["\n position: relative;\n max-height: 45rem;\n max-width: 33.125rem;\n"])));
6559
- var Image$1 = newStyled.img(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n"], ["\n width: 100%;\n height: 100%;\n"])));
6557
+ var Container$n = newStyled.div(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n position: relative;\n max-height: 45rem;\n max-width: 33.125rem;\n"], ["\n position: relative;\n max-height: 45rem;\n max-width: 33.125rem;\n"])));
6558
+ var Image$1 = newStyled.img(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n"], ["\n width: 100%;\n height: 100%;\n"])));
6560
6559
  var TopTagContainer = newStyled.div(templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 0;\n"], ["\n position: absolute;\n left: 0;\n top: 0;\n"])));
6561
6560
  var BottomTagContainer = newStyled.div(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"], ["\n position: absolute;\n bottom: 3.75rem;\n left: 0;\n"])));
6562
6561
  var ImageProductWithTags = function (_a) {
6563
6562
  var image = _a.image, DiscountTagElement = _a.DiscountTagElement, BestSellerTagElement = _a.BestSellerTagElement, dataTestId = _a.dataTestId;
6564
- return (jsxs$1(Container$l, __assign({ "data-testid": dataTestId }, { children: [jsx$1(Image$1, { src: image.imageUrl, alt: image.alt }, void 0), jsx$1(TopTagContainer, { children: DiscountTagElement }, void 0), jsx$1(BottomTagContainer, { children: BestSellerTagElement }, void 0)] }), void 0));
6563
+ return (jsxs$1(Container$n, __assign({ "data-testid": dataTestId }, { children: [jsx$1(Image$1, { src: image.imageUrl, alt: image.alt }, void 0), jsx$1(TopTagContainer, { children: DiscountTagElement }, void 0), jsx$1(BottomTagContainer, { children: BestSellerTagElement }, void 0)] }), void 0));
6565
6564
  };
6566
- var templateObject_1$x, templateObject_2$n, templateObject_3$g, templateObject_4$c;
6565
+ var templateObject_1$z, templateObject_2$o, templateObject_3$g, templateObject_4$c;
6567
6566
 
6568
- var Container$k = newStyled.div(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: fit-content;\n max-height: 45rem;\n"], ["\n display: flex;\n flex-direction: row;\n width: fit-content;\n max-height: 45rem;\n"])));
6567
+ var Container$m = newStyled.div(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: fit-content;\n max-height: 45rem;\n"], ["\n display: flex;\n flex-direction: row;\n width: fit-content;\n max-height: 45rem;\n"])));
6569
6568
  var ProductGallery = function (_a) {
6570
6569
  var images = _a.images, selectedValue = _a.selectedValue, DiscountTagElement = _a.DiscountTagElement, BestSellerTagElement = _a.BestSellerTagElement, productImageDataTestId = _a.productImageDataTestId, previewListDataTestId = _a.previewListDataTestId;
6571
6570
  var initialValue = selectedValue && images.includes(selectedValue) ? selectedValue : images[0];
@@ -6573,13 +6572,13 @@ var ProductGallery = function (_a) {
6573
6572
  useEffect(function () {
6574
6573
  setSelectedImage(initialValue);
6575
6574
  }, [initialValue]);
6576
- return (jsxs$1(Container$k, { children: [jsx$1(ImagePreviewList, { images: images, selectedImage: selectedImage, dataTestId: previewListDataTestId, onClick: function (value) {
6575
+ return (jsxs$1(Container$m, { children: [jsx$1(ImagePreviewList, { images: images, selectedImage: selectedImage, dataTestId: previewListDataTestId, onClick: function (value) {
6577
6576
  setSelectedImage(value);
6578
6577
  } }, void 0), jsx$1(ImageProductWithTags, { image: selectedImage, DiscountTagElement: DiscountTagElement, BestSellerTagElement: BestSellerTagElement, dataTestId: productImageDataTestId }, void 0)] }, void 0));
6579
6578
  };
6580
- var templateObject_1$w;
6579
+ var templateObject_1$y;
6581
6580
 
6582
- var getStylesBySize$7 = function (size) {
6581
+ var getStylesBySize$8 = function (size) {
6583
6582
  switch (size) {
6584
6583
  case ComponentSize.Large:
6585
6584
  return {
@@ -6611,13 +6610,13 @@ var StarList = function (_a) {
6611
6610
  var rating = _a.rating, starsNumber = _a.starsNumber, fill = _a.fill, _b = _a.size, size = _b === void 0 ? ComponentSize.Medium : _b;
6612
6611
  return (jsx("div", __assign({ style: { display: 'flex' } }, { children: __spreadArray([], new Array(starsNumber)).map(function (_, index) {
6613
6612
  return (jsx("div", __assign({ "data-testid": "star-container", css: {
6614
- marginRight: getStylesBySize$7(size).marginRight,
6613
+ marginRight: getStylesBySize$8(size).marginRight,
6615
6614
  display: 'flex',
6616
- } }, { children: index < Math.floor(rating) ? (jsx(Icon.PDP.Star, __assign({}, getStylesBySize$7(size), { fill: fill }), void 0)) : index === Math.floor(rating) && rating % 1 != 0 ? (jsx(Icon.PDP.StarHalf, __assign({}, getStylesBySize$7(size), { fill: fill }), void 0)) : (jsx(Icon.PDP.StarEmpty, __assign({}, getStylesBySize$7(size), { fill: fill }), void 0)) }), index));
6615
+ } }, { children: index < Math.floor(rating) ? (jsx(Icon.PDP.Star, __assign({}, getStylesBySize$8(size), { fill: fill }), void 0)) : index === Math.floor(rating) && rating % 1 != 0 ? (jsx(Icon.PDP.StarHalf, __assign({}, getStylesBySize$8(size), { fill: fill }), void 0)) : (jsx(Icon.PDP.StarEmpty, __assign({}, getStylesBySize$8(size), { fill: fill }), void 0)) }), index));
6617
6616
  }) }), void 0));
6618
6617
  };
6619
6618
 
6620
- var getStylesBySize$6 = function (size) {
6619
+ var getStylesBySize$7 = function (size) {
6621
6620
  switch (size) {
6622
6621
  case ComponentSize.Large:
6623
6622
  return {
@@ -6657,14 +6656,14 @@ var Rating = function (_a) {
6657
6656
  fontStyle: 'normal',
6658
6657
  fontWeight: 'normal',
6659
6658
  color: theme.palette.secondary.default,
6660
- fontSize: getStylesBySize$6(size).fontSize,
6661
- lineHeight: getStylesBySize$6(size).lineHeight,
6662
- marginLeft: getStylesBySize$6(size).marginLeft,
6659
+ fontSize: getStylesBySize$7(size).fontSize,
6660
+ lineHeight: getStylesBySize$7(size).lineHeight,
6661
+ marginLeft: getStylesBySize$7(size).marginLeft,
6663
6662
  } }, { children: [reviews, " ", reviewsText] }), void 0)] }), void 0));
6664
6663
  };
6665
6664
 
6666
- var Container$j = newStyled.div(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n display: flex;\n align-items: center;\n font-size: 0.88rem;\n"], ["\n display: flex;\n align-items: center;\n font-size: 0.88rem;\n"])));
6667
- var P$1 = newStyled.p(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n margin: 0 0.25rem;\n font-weight: 700;\n color: ", ";\n"], ["\n margin: 0 0.25rem;\n font-weight: 700;\n color: ", ";\n"])), function (props) { return props.theme.shades.gray550; });
6665
+ var Container$l = newStyled.div(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n display: flex;\n align-items: center;\n font-size: 0.88rem;\n"], ["\n display: flex;\n align-items: center;\n font-size: 0.88rem;\n"])));
6666
+ var P$1 = newStyled.p(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n margin: 0 0.25rem;\n font-weight: 700;\n color: ", ";\n"], ["\n margin: 0 0.25rem;\n font-weight: 700;\n color: ", ";\n"])), function (props) { return props.theme.shades.gray550; });
6668
6667
  var textButtonStyles = function (theme) { return ({
6669
6668
  border: 'none',
6670
6669
  background: 'transparent',
@@ -6677,9 +6676,9 @@ var textButtonStyles = function (theme) { return ({
6677
6676
  var FitPredictor = function (_a) {
6678
6677
  var onClick = _a.onClick;
6679
6678
  var theme = useTheme();
6680
- return (jsxs(Container$j, __assign({ theme: theme }, { children: [jsx(Container$j, { children: jsx(Icon.Other.FitPredictor, { width: 1.125, height: 1.125, fill: theme.shades.gray550 }, void 0) }, void 0), jsx(P$1, __assign({ theme: theme }, { children: "FIT PREDICTOR" }), void 0), jsx(BaseButton, __assign({ css: textButtonStyles(theme), onClick: onClick }, { children: "Calculate your size" }), void 0)] }), void 0));
6679
+ return (jsxs(Container$l, __assign({ theme: theme }, { children: [jsx(Container$l, { children: jsx(Icon.Other.FitPredictor, { width: 1.125, height: 1.125, fill: theme.shades.gray550 }, void 0) }, void 0), jsx(P$1, __assign({ theme: theme }, { children: "FIT PREDICTOR" }), void 0), jsx(BaseButton, __assign({ css: textButtonStyles(theme), onClick: onClick }, { children: "Calculate your size" }), void 0)] }), void 0));
6681
6680
  };
6682
- var templateObject_1$v, templateObject_2$m;
6681
+ var templateObject_1$x, templateObject_2$n;
6683
6682
 
6684
6683
  var H2$1 = newStyled.h2(function (_a) {
6685
6684
  var color = _a.color;
@@ -6693,7 +6692,7 @@ var H2$1 = newStyled.h2(function (_a) {
6693
6692
  margin: '0.938rem 4.188rem',
6694
6693
  });
6695
6694
  });
6696
- var Bar = newStyled.div(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n @keyframes loading {\n 0% {\n transform: translateX(0);\n }\n to {\n transform: translateX(400%);\n }\n }\n\n height: 0.5rem;\n background-color: ", ";\n width: ", ";\n border-radius: 0.25rem;\n position: absolute;\n left: ", ";\n animation: ", ";\n"], ["\n @keyframes loading {\n 0% {\n transform: translateX(0);\n }\n to {\n transform: translateX(400%);\n }\n }\n\n height: 0.5rem;\n background-color: ", ";\n width: ", ";\n border-radius: 0.25rem;\n position: absolute;\n left: ", ";\n animation: ", ";\n"])), function (_a) {
6695
+ var Bar = newStyled.div(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n @keyframes loading {\n 0% {\n transform: translateX(0);\n }\n to {\n transform: translateX(400%);\n }\n }\n\n height: 0.5rem;\n background-color: ", ";\n width: ", ";\n border-radius: 0.25rem;\n position: absolute;\n left: ", ";\n animation: ", ";\n"], ["\n @keyframes loading {\n 0% {\n transform: translateX(0);\n }\n to {\n transform: translateX(400%);\n }\n }\n\n height: 0.5rem;\n background-color: ", ";\n width: ", ";\n border-radius: 0.25rem;\n position: absolute;\n left: ", ";\n animation: ", ";\n"])), function (_a) {
6697
6696
  var backgroundColor = _a.backgroundColor;
6698
6697
  return backgroundColor;
6699
6698
  }, function (_a) {
@@ -6716,7 +6715,7 @@ var Background = newStyled.div(function (_a) {
6716
6715
  position: 'absolute',
6717
6716
  });
6718
6717
  });
6719
- var Container$i = newStyled.div(function (_a) {
6718
+ var Container$k = newStyled.div(function (_a) {
6720
6719
  var widthAuto = _a.widthAuto;
6721
6720
  return ({
6722
6721
  width: widthAuto ? 'auto' : 'fit-content',
@@ -6730,11 +6729,11 @@ var getBarWithBasedOnPercent = function (percent) {
6730
6729
  var ProgressBar = function (_a) {
6731
6730
  var description = _a.description, fillColor = _a.fillColor, _b = _a.widthAuto, widthAuto = _b === void 0 ? true : _b, percent = _a.percent;
6732
6731
  var theme = useTheme();
6733
- return (jsxs$1(Container$i, __assign({ "data-testid": "PBContainer", widthAuto: widthAuto }, { children: [jsx$1(Background, __assign({ backgroundColor: theme.shades.gray100 }, { children: jsx$1(Bar, { "data-testid": "PBBar", backgroundColor: fillColor, percent: percent }, void 0) }), void 0), description && jsx$1(H2$1, __assign({ color: theme.palette.secondary.default }, { children: description }), void 0)] }), void 0));
6732
+ return (jsxs$1(Container$k, __assign({ "data-testid": "PBContainer", widthAuto: widthAuto }, { children: [jsx$1(Background, __assign({ backgroundColor: theme.shades.gray100 }, { children: jsx$1(Bar, { "data-testid": "PBBar", backgroundColor: fillColor, percent: percent }, void 0) }), void 0), description && jsx$1(H2$1, __assign({ color: theme.palette.secondary.default }, { children: description }), void 0)] }), void 0));
6734
6733
  };
6735
- var templateObject_1$u;
6734
+ var templateObject_1$w;
6736
6735
 
6737
- var getStylesBySize$5 = function (size) {
6736
+ var getStylesBySize$6 = function (size) {
6738
6737
  switch (size) {
6739
6738
  case ComponentSize.Large:
6740
6739
  return {
@@ -6753,21 +6752,21 @@ var getStylesBySize$5 = function (size) {
6753
6752
  };
6754
6753
  }
6755
6754
  };
6756
- var Container$h = newStyled.div(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n background-color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.1s ease;\n\n svg {\n margin: ", ";\n }\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &.disabled {\n background-color: ", ";\n cursor: not-allowed;\n\n svg path {\n fill: ", ";\n }\n }\n"], ["\n background-color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.1s ease;\n\n svg {\n margin: ", ";\n }\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &.disabled {\n background-color: ", ";\n cursor: not-allowed;\n\n svg path {\n fill: ", ";\n }\n }\n"])), function (_a) {
6755
+ var Container$j = newStyled.div(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n background-color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.1s ease;\n\n svg {\n margin: ", ";\n }\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &.disabled {\n background-color: ", ";\n cursor: not-allowed;\n\n svg path {\n fill: ", ";\n }\n }\n"], ["\n background-color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.1s ease;\n\n svg {\n margin: ", ";\n }\n\n &:hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n &.disabled {\n background-color: ", ";\n cursor: not-allowed;\n\n svg path {\n fill: ", ";\n }\n }\n"])), function (_a) {
6757
6756
  var backgroundColor = _a.backgroundColor;
6758
6757
  return backgroundColor;
6759
6758
  }, function (_a) {
6760
6759
  var _b;
6761
6760
  var size = _a.size;
6762
- return (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.widthHeight;
6761
+ return (_b = getStylesBySize$6(size)) === null || _b === void 0 ? void 0 : _b.widthHeight;
6763
6762
  }, function (_a) {
6764
6763
  var _b;
6765
6764
  var size = _a.size;
6766
- return (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.widthHeight;
6765
+ return (_b = getStylesBySize$6(size)) === null || _b === void 0 ? void 0 : _b.widthHeight;
6767
6766
  }, function (_a) {
6768
6767
  var _b;
6769
6768
  var size = _a.size;
6770
- return (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.margin;
6769
+ return (_b = getStylesBySize$6(size)) === null || _b === void 0 ? void 0 : _b.margin;
6771
6770
  }, function (_a) {
6772
6771
  var hoverBackgroundColor = _a.hoverBackgroundColor;
6773
6772
  return hoverBackgroundColor;
@@ -6781,9 +6780,9 @@ var Container$h = newStyled.div(templateObject_1$t || (templateObject_1$t = __ma
6781
6780
  var IconButton = function (_a) {
6782
6781
  var children = _a.children, disabled = _a.disabled, _b = _a.size, size = _b === void 0 ? ComponentSize.Medium : _b, onClick = _a.onClick;
6783
6782
  var theme = useTheme();
6784
- return (jsx$1(Container$h, __assign({ className: disabled ? 'disabled' : '', backgroundColor: theme.palette.primary.default, hoverBackgroundColor: theme.palette.secondary.default, disabledColor: theme.shades.gray050, disabledIconColor: theme.shades.gray200, size: size, "data-testid": "Container", onClick: disabled ? function () { } : onClick }, { children: children }), void 0));
6783
+ return (jsx$1(Container$j, __assign({ className: disabled ? 'disabled' : '', backgroundColor: theme.palette.primary.default, hoverBackgroundColor: theme.palette.secondary.default, disabledColor: theme.shades.gray050, disabledIconColor: theme.shades.gray200, size: size, "data-testid": "Container", onClick: disabled ? function () { } : onClick }, { children: children }), void 0));
6785
6784
  };
6786
- var templateObject_1$t;
6785
+ var templateObject_1$v;
6787
6786
 
6788
6787
  var TooltipArrow = function (_a) {
6789
6788
  var height = _a.height, width = _a.width, fill = _a.fill, stroke = _a.stroke;
@@ -6863,7 +6862,7 @@ var getTooltipAlignItems = function (position, align) {
6863
6862
  }
6864
6863
  };
6865
6864
 
6866
- var Wrapper$5 = newStyled.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n cursor: pointer;\n\n &:hover {\n .tooltip-container {\n visibility: visible;\n opacity: 1;\n }\n }\n"], ["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n cursor: pointer;\n\n &:hover {\n .tooltip-container {\n visibility: visible;\n opacity: 1;\n }\n }\n"])), function (_a) {
6865
+ var Wrapper$5 = newStyled.div(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n cursor: pointer;\n\n &:hover {\n .tooltip-container {\n visibility: visible;\n opacity: 1;\n }\n }\n"], ["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n cursor: pointer;\n\n &:hover {\n .tooltip-container {\n visibility: visible;\n opacity: 1;\n }\n }\n"])), function (_a) {
6867
6866
  var position = _a.position;
6868
6867
  return getWrapperFlexDirection(position);
6869
6868
  });
@@ -6887,7 +6886,7 @@ var TooltipContainer = newStyled.div(function (_a) {
6887
6886
  var getTooltipMargin = function (actual, expected, margin) {
6888
6887
  return actual === expected ? margin : '0';
6889
6888
  };
6890
- var ContentWrapper = newStyled.div(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n border: 0.063rem solid ", ";\n padding: 0.563rem 0.75rem;\n border-radius: 0.5rem;\n background-color: #fff;\n"], ["\n border: 0.063rem solid ", ";\n padding: 0.563rem 0.75rem;\n border-radius: 0.5rem;\n background-color: #fff;\n"])), function (_a) {
6889
+ var ContentWrapper = newStyled.div(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\n border: 0.063rem solid ", ";\n padding: 0.563rem 0.75rem;\n border-radius: 0.5rem;\n background-color: #fff;\n"], ["\n border: 0.063rem solid ", ";\n padding: 0.563rem 0.75rem;\n border-radius: 0.5rem;\n background-color: #fff;\n"])), function (_a) {
6891
6890
  var borderColor = _a.borderColor;
6892
6891
  return borderColor;
6893
6892
  });
@@ -6911,7 +6910,7 @@ var Title$3 = newStyled.h1(templateObject_6$5 || (templateObject_6$5 = __makeTem
6911
6910
  return color;
6912
6911
  });
6913
6912
  var IconContainer$3 = newStyled.div(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\n width: 1.375rem;\n height: 1.125rem;\n margin-right: 0.563rem;\n"], ["\n width: 1.375rem;\n height: 1.125rem;\n margin-right: 0.563rem;\n"])));
6914
- var templateObject_1$s, templateObject_2$l, templateObject_3$f, templateObject_4$b, templateObject_5$6, templateObject_6$5, templateObject_7$2;
6913
+ var templateObject_1$u, templateObject_2$m, templateObject_3$f, templateObject_4$b, templateObject_5$6, templateObject_6$5, templateObject_7$2;
6915
6914
 
6916
6915
  var Tooltip = function (_a) {
6917
6916
  var children = _a.children, position = _a.position, text = _a.text, _b = _a.align, align = _b === void 0 ? 'center' : _b, onClick = _a.onClick, header = _a.header;
@@ -6976,7 +6975,7 @@ var AccordionControlButton = function (_a) {
6976
6975
  }, disabled: disabled, className: className }, { children: [children, controlIcon] }), void 0));
6977
6976
  };
6978
6977
 
6979
- var Container$g = newStyled(Accordion$1)(function (props) { return ({
6978
+ var Container$i = newStyled(Accordion$1)(function (props) { return ({
6980
6979
  border: "1px solid " + props.theme.shades.gray100,
6981
6980
  padding: '1.25rem 2rem',
6982
6981
  }); });
@@ -6998,14 +6997,14 @@ var Panel$1 = newStyled(Accordion$1.Panel)(function () { return ({
6998
6997
  var AccordionBox = function (_a) {
6999
6998
  var title = _a.title, text = _a.text, defaultOpen = _a.defaultOpen, _b = _a.disabled, disabled = _b === void 0 ? false : _b;
7000
6999
  var theme = useTheme();
7001
- return (jsx$1(Container$g, __assign({ theme: theme, defaultOpen: defaultOpen }, { children: function (_a) {
7000
+ return (jsx$1(Container$i, __assign({ theme: theme, defaultOpen: defaultOpen }, { children: function (_a) {
7002
7001
  var open = _a.open;
7003
7002
  var showPanel = open && !disabled;
7004
7003
  return (jsxs$1(Fragment$1, { children: [jsx$1(Button$2, __assign({ disabled: disabled, open: open, openIcon: jsx$1(Icon.PDP.Plus, { width: 1.5, height: 1.5, title: "plus icon", fill: theme.shades.gray700 }, void 0), closeIcon: jsx$1(Icon.PDP.Minus, { width: 1.5, height: 1.5, title: "minus icon", fill: theme.shades.gray700 }, void 0) }, { children: title }), void 0), showPanel && jsx$1(Panel$1, __assign({ staticProp: true }, { children: text }), void 0)] }, void 0));
7005
7004
  } }), void 0));
7006
7005
  };
7007
7006
 
7008
- var Container$f = newStyled(Accordion$1)(function (props) { return ({
7007
+ var Container$h = newStyled(Accordion$1)(function (props) { return ({
7009
7008
  borderTop: "1px solid " + props.theme.shades.gray100,
7010
7009
  padding: '0.625rem 0',
7011
7010
  }); });
@@ -7022,14 +7021,14 @@ var Panel = newStyled(Accordion$1.Panel)(function () { return ({
7022
7021
  var AccordionIcon = function (_a) {
7023
7022
  var title = _a.title, text = _a.text, leadingIcon = _a.leadingIcon, defaultOpen = _a.defaultOpen, _b = _a.disabled, disabled = _b === void 0 ? false : _b;
7024
7023
  var theme = useTheme();
7025
- return (jsx$1(Container$f, __assign({ theme: theme, defaultOpen: defaultOpen }, { children: function (_a) {
7024
+ return (jsx$1(Container$h, __assign({ theme: theme, defaultOpen: defaultOpen }, { children: function (_a) {
7026
7025
  var open = _a.open;
7027
7026
  var showPanel = open && !disabled;
7028
7027
  return (jsxs$1(Fragment$1, { children: [jsx$1(Button$1, __assign({ open: open, openIcon: jsx$1(Icon.PDP.Plus, { width: 1, height: 1, title: "plus icon", fill: theme.shades.gray700 }, void 0), closeIcon: jsx$1(Icon.PDP.Minus, { width: 1, height: 1, title: "minus icon", fill: theme.shades.gray700 }, void 0), disabled: disabled }, { children: jsxs$1("span", __assign({ style: { display: 'flex', alignItems: 'center' } }, { children: [leadingIcon, title] }), void 0) }), void 0), showPanel && jsx$1(Panel, __assign({ staticProp: true }, { children: text }), void 0)] }, void 0));
7029
7028
  } }), void 0));
7030
7029
  };
7031
7030
 
7032
- var getStylesBySize$4 = function (size) {
7031
+ var getStylesBySize$5 = function (size) {
7033
7032
  switch (size) {
7034
7033
  case ComponentSize.Large:
7035
7034
  return {
@@ -7084,37 +7083,37 @@ var getStylesBySize$4 = function (size) {
7084
7083
  };
7085
7084
  }
7086
7085
  };
7087
- var Container$e = newStyled.div(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n user-select: none;\n position: relative;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n user-select: none;\n position: relative;\n"])));
7088
- var CustomCheckbox = newStyled.div(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n border: 0.094rem solid ", ";\n width: ", ";\n height: ", ";\n border-radius: ", ";\n margin-right: ", ";\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: ", ";\n height: ", ";\n }\n"], ["\n border: 0.094rem solid ", ";\n width: ", ";\n height: ", ";\n border-radius: ", ";\n margin-right: ", ";\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: ", ";\n height: ", ";\n }\n"])), function (_a) {
7086
+ var Container$g = newStyled.div(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n user-select: none;\n position: relative;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n user-select: none;\n position: relative;\n"])));
7087
+ var CustomCheckbox = newStyled.div(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\n border: 0.094rem solid ", ";\n width: ", ";\n height: ", ";\n border-radius: ", ";\n margin-right: ", ";\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: ", ";\n height: ", ";\n }\n"], ["\n border: 0.094rem solid ", ";\n width: ", ";\n height: ", ";\n border-radius: ", ";\n margin-right: ", ";\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: ", ";\n height: ", ";\n }\n"])), function (_a) {
7089
7088
  var color = _a.color;
7090
7089
  return color;
7091
7090
  }, function (_a) {
7092
7091
  var _b, _c;
7093
7092
  var size = _a.size;
7094
- return (_c = (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.input) === null || _c === void 0 ? void 0 : _c.width;
7093
+ return (_c = (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.input) === null || _c === void 0 ? void 0 : _c.width;
7095
7094
  }, function (_a) {
7096
7095
  var _b, _c;
7097
7096
  var size = _a.size;
7098
- return (_c = (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.input) === null || _c === void 0 ? void 0 : _c.height;
7097
+ return (_c = (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.input) === null || _c === void 0 ? void 0 : _c.height;
7099
7098
  }, function (_a) {
7100
7099
  var _b, _c;
7101
7100
  var size = _a.size;
7102
- return (_c = (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.input) === null || _c === void 0 ? void 0 : _c.borderRadius;
7101
+ return (_c = (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.input) === null || _c === void 0 ? void 0 : _c.borderRadius;
7103
7102
  }, function (_a) {
7104
7103
  var _b, _c;
7105
7104
  var size = _a.size;
7106
- return (_c = (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.input) === null || _c === void 0 ? void 0 : _c.marginRight;
7105
+ return (_c = (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.input) === null || _c === void 0 ? void 0 : _c.marginRight;
7107
7106
  }, function (_a) {
7108
7107
  var isChecked = _a.isChecked, color = _a.color;
7109
7108
  return (isChecked ? color : '#fff');
7110
7109
  }, function (_a) {
7111
7110
  var _b, _c;
7112
7111
  var size = _a.size;
7113
- return (_c = (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.icon) === null || _c === void 0 ? void 0 : _c.width;
7112
+ return (_c = (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.icon) === null || _c === void 0 ? void 0 : _c.width;
7114
7113
  }, function (_a) {
7115
7114
  var _b, _c;
7116
7115
  var size = _a.size;
7117
- return (_c = (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.icon) === null || _c === void 0 ? void 0 : _c.height;
7116
+ return (_c = (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.icon) === null || _c === void 0 ? void 0 : _c.height;
7118
7117
  });
7119
7118
  var Input$2 = newStyled.input(templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n position: absolute;\n height: 100%;\n width: 100%;\n margin: 0;\n opacity: 0;\n cursor: ", ";\n"], ["\n position: absolute;\n height: 100%;\n width: 100%;\n margin: 0;\n opacity: 0;\n cursor: ", ";\n"])), function (_a) {
7120
7119
  var disabled = _a.disabled;
@@ -7123,11 +7122,11 @@ var Input$2 = newStyled.input(templateObject_3$e || (templateObject_3$e = __make
7123
7122
  var Text$4 = newStyled.label(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n font-weight: ", ";\n"])), function (_a) {
7124
7123
  var _b, _c;
7125
7124
  var size = _a.size;
7126
- return (_c = (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.text) === null || _c === void 0 ? void 0 : _c.fontSize;
7125
+ return (_c = (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.text) === null || _c === void 0 ? void 0 : _c.fontSize;
7127
7126
  }, function (_a) {
7128
7127
  var _b, _c;
7129
7128
  var size = _a.size;
7130
- return (_c = (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.text) === null || _c === void 0 ? void 0 : _c.lineHeight;
7129
+ return (_c = (_b = getStylesBySize$5(size)) === null || _b === void 0 ? void 0 : _b.text) === null || _c === void 0 ? void 0 : _c.lineHeight;
7131
7130
  }, function (_a) {
7132
7131
  var color = _a.color;
7133
7132
  return color;
@@ -7145,11 +7144,11 @@ var Checkbox = function (_a) {
7145
7144
  return !checked;
7146
7145
  });
7147
7146
  };
7148
- return (jsxs$1(Container$e, __assign({ disabled: disabled }, { children: [jsx$1(Input$2, { type: "checkbox", checked: isChecked, disabled: disabled, onChange: disabled ? function () { } : handleChange, id: id }, void 0), jsx$1(CustomCheckbox, __assign({ isChecked: isChecked, size: size, color: disabled ? theme.shades.gray250 : theme.shades.gray700, "data-testid": "checkbox" }, { children: isChecked && jsx$1(Icon.Actions.Check, { fill: "#fff" }, void 0) }), void 0), jsx$1(Text$4, __assign({ isChecked: isChecked, size: size, color: disabled ? theme.shades.gray250 : theme.shades.gray700, "data-testid": "checkbox-text", htmlFor: id }, { children: text }), void 0)] }), void 0));
7147
+ return (jsxs$1(Container$g, __assign({ disabled: disabled }, { children: [jsx$1(Input$2, { type: "checkbox", checked: isChecked, disabled: disabled, onChange: disabled ? function () { } : handleChange, id: id }, void 0), jsx$1(CustomCheckbox, __assign({ isChecked: isChecked, size: size, color: disabled ? theme.shades.gray250 : theme.shades.gray700, "data-testid": "checkbox" }, { children: isChecked && jsx$1(Icon.Actions.Check, { fill: "#fff" }, void 0) }), void 0), jsx$1(Text$4, __assign({ isChecked: isChecked, size: size, color: disabled ? theme.shades.gray250 : theme.shades.gray700, "data-testid": "checkbox-text", htmlFor: id }, { children: text }), void 0)] }), void 0));
7149
7148
  };
7150
- var templateObject_1$r, templateObject_2$k, templateObject_3$e, templateObject_4$a;
7149
+ var templateObject_1$t, templateObject_2$l, templateObject_3$e, templateObject_4$a;
7151
7150
 
7152
- var getStylesBySize$3 = function (size) {
7151
+ var getStylesBySize$4 = function (size) {
7153
7152
  switch (size) {
7154
7153
  case ComponentSize.Large:
7155
7154
  return {
@@ -7192,15 +7191,15 @@ var getStylesBySize$3 = function (size) {
7192
7191
  };
7193
7192
  }
7194
7193
  };
7195
- var Wrapper$4 = newStyled.div(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
7196
- var Container$d = newStyled.div(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n position: relative;\n height: ", ";\n width: ", ";\n"], ["\n position: relative;\n height: ", ";\n width: ", ";\n"])), function (_a) {
7194
+ var Wrapper$4 = newStyled.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n display: flex;\n align-items: center;\n"], ["\n display: flex;\n align-items: center;\n"])));
7195
+ var Container$f = newStyled.div(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n position: relative;\n height: ", ";\n width: ", ";\n"], ["\n position: relative;\n height: ", ";\n width: ", ";\n"])), function (_a) {
7197
7196
  var _b;
7198
7197
  var size = _a.size;
7199
- return (_b = getStylesBySize$3(size)) === null || _b === void 0 ? void 0 : _b.container;
7198
+ return (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.container;
7200
7199
  }, function (_a) {
7201
7200
  var _b;
7202
7201
  var size = _a.size;
7203
- return (_b = getStylesBySize$3(size)) === null || _b === void 0 ? void 0 : _b.container;
7202
+ return (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.container;
7204
7203
  });
7205
7204
  var Input$1 = newStyled.input(templateObject_3$d || (templateObject_3$d = __makeTemplateObject(["\n position: absolute;\n opacity: 0;\n cursor: ", ";\n height: 100%;\n width: 100%;\n margin: 0;\n"], ["\n position: absolute;\n opacity: 0;\n cursor: ", ";\n height: 100%;\n width: 100%;\n margin: 0;\n"])), function (_a) {
7206
7205
  var disabled = _a.disabled;
@@ -7209,7 +7208,7 @@ var Input$1 = newStyled.input(templateObject_3$d || (templateObject_3$d = __make
7209
7208
  var CustomRadio = newStyled.div(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject(["\n border: ", " solid\n ", ";\n border-radius: 50%;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n border: ", " solid\n ", ";\n border-radius: 50%;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_a) {
7210
7209
  var _b;
7211
7210
  var size = _a.size;
7212
- return (_b = getStylesBySize$3(size)) === null || _b === void 0 ? void 0 : _b.input.borderSize;
7211
+ return (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.input.borderSize;
7213
7212
  }, function (_a) {
7214
7213
  var disabled = _a.disabled, color = _a.color, disabledColor = _a.disabledColor;
7215
7214
  return (disabled ? disabledColor : color);
@@ -7220,24 +7219,24 @@ var CustomRadio = newStyled.div(templateObject_4$9 || (templateObject_4$9 = __ma
7220
7219
  var CustomRadioCheck = newStyled.div(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\n border-radius: 50%;\n height: ", ";\n width: ", ";\n background-color: #fff;\n"], ["\n border-radius: 50%;\n height: ", ";\n width: ", ";\n background-color: #fff;\n"])), function (_a) {
7221
7220
  var _b;
7222
7221
  var size = _a.size;
7223
- return (_b = getStylesBySize$3(size)) === null || _b === void 0 ? void 0 : _b.check;
7222
+ return (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.check;
7224
7223
  }, function (_a) {
7225
7224
  var _b;
7226
7225
  var size = _a.size;
7227
- return (_b = getStylesBySize$3(size)) === null || _b === void 0 ? void 0 : _b.check;
7226
+ return (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.check;
7228
7227
  });
7229
7228
  var Text$3 = newStyled.label(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject(["\n margin-left: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n"], ["\n margin-left: ", ";\n font-weight: 400;\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n"])), function (_a) {
7230
7229
  var _b;
7231
7230
  var size = _a.size;
7232
- return (_b = getStylesBySize$3(size)) === null || _b === void 0 ? void 0 : _b.text.marginLeft;
7231
+ return (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.text.marginLeft;
7233
7232
  }, function (_a) {
7234
7233
  var _b;
7235
7234
  var size = _a.size;
7236
- return (_b = getStylesBySize$3(size)) === null || _b === void 0 ? void 0 : _b.text.fontSize;
7235
+ return (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.text.fontSize;
7237
7236
  }, function (_a) {
7238
7237
  var _b;
7239
7238
  var size = _a.size;
7240
- return (_b = getStylesBySize$3(size)) === null || _b === void 0 ? void 0 : _b.text.lineHeight;
7239
+ return (_b = getStylesBySize$4(size)) === null || _b === void 0 ? void 0 : _b.text.lineHeight;
7241
7240
  }, function (_a) {
7242
7241
  var disabled = _a.disabled, color = _a.color, disabledColor = _a.disabledColor;
7243
7242
  return (disabled ? disabledColor : color);
@@ -7249,9 +7248,9 @@ var RadioInput = function (_a) {
7249
7248
  var value = event.currentTarget.value;
7250
7249
  onChange({ value: value, label: label });
7251
7250
  };
7252
- return (jsxs$1(Wrapper$4, { children: [jsxs$1(Container$d, __assign({ size: size, "data-testid": "container" }, { children: [jsx$1(Input$1, { id: name + "-" + id, type: "radio", name: name, value: value, checked: checked, onChange: function (e) { return (disabled ? null : handleChange(e, label)); }, disabled: disabled }, void 0), jsx$1(CustomRadio, __assign({ size: size, isChecked: checked, disabled: disabled, color: theme.shades.gray700, disabledColor: theme.shades.gray250, "data-testid": "custom-radio" }, { children: checked && jsx$1(CustomRadioCheck, { size: size, "data-testid": "check" }, void 0) }), void 0)] }), void 0), jsx$1(Text$3, __assign({ size: size, disabled: disabled, color: theme.shades.gray700, disabledColor: theme.shades.gray250, "data-testid": "label", htmlFor: name + "-" + id }, { children: label }), void 0)] }, void 0));
7251
+ return (jsxs$1(Wrapper$4, { children: [jsxs$1(Container$f, __assign({ size: size, "data-testid": "container" }, { children: [jsx$1(Input$1, { id: name + "-" + id, type: "radio", name: name, value: value, checked: checked, onChange: function (e) { return (disabled ? null : handleChange(e, label)); }, disabled: disabled }, void 0), jsx$1(CustomRadio, __assign({ size: size, isChecked: checked, disabled: disabled, color: theme.shades.gray700, disabledColor: theme.shades.gray250, "data-testid": "custom-radio" }, { children: checked && jsx$1(CustomRadioCheck, { size: size, "data-testid": "check" }, void 0) }), void 0)] }), void 0), jsx$1(Text$3, __assign({ size: size, disabled: disabled, color: theme.shades.gray700, disabledColor: theme.shades.gray250, "data-testid": "label", htmlFor: name + "-" + id }, { children: label }), void 0)] }, void 0));
7253
7252
  };
7254
- var templateObject_1$q, templateObject_2$j, templateObject_3$d, templateObject_4$9, templateObject_5$5, templateObject_6$4;
7253
+ var templateObject_1$s, templateObject_2$k, templateObject_3$d, templateObject_4$9, templateObject_5$5, templateObject_6$4;
7255
7254
 
7256
7255
  var RadioGroupInput = function (_a) {
7257
7256
  var name = _a.name, _b = _a.options, options = _b === void 0 ? [] : _b, value = _a.value, onChange = _a.onChange, _c = _a.size, size = _c === void 0 ? ComponentSize.Medium : _c, _d = _a.disabled, disabled = _d === void 0 ? false : _d;
@@ -7265,8 +7264,8 @@ var RadioGroupInput = function (_a) {
7265
7264
  }) }), void 0));
7266
7265
  };
7267
7266
 
7268
- var Wrapper$3 = newStyled.div(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n padding: 0.625rem 1.5rem;\n"], ["\n padding: 0.625rem 1.5rem;\n"])));
7269
- var Container$c = newStyled.div(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"])));
7267
+ var Wrapper$3 = newStyled.div(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n padding: 0.625rem 1.5rem;\n"], ["\n padding: 0.625rem 1.5rem;\n"])));
7268
+ var Container$e = newStyled.div(templateObject_2$j || (templateObject_2$j = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"])));
7270
7269
  var Text$2 = newStyled.h4(templateObject_3$c || (templateObject_3$c = __makeTemplateObject(["\n font-size: 0.875rem;\n line-height: 1.375rem;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n"], ["\n font-size: 0.875rem;\n line-height: 1.375rem;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n"])), function (_a) {
7271
7270
  var color = _a.color;
7272
7271
  return color;
@@ -7280,34 +7279,34 @@ var Text$2 = newStyled.h4(templateObject_3$c || (templateObject_3$c = __makeTemp
7280
7279
  var Minimalistic = function (_a) {
7281
7280
  var _b = _a.backgroundColor, backgroundColor = _b === void 0 ? '#FCFAF7' : _b, _c = _a.borderColor, borderColor = _c === void 0 ? '#E7C9B2' : _c, originalPrice = _a.originalPrice, price = _a.price, savingPrice = _a.savingPrice, getMorePayLessText = _a.getMorePayLessText, youAreSavingText = _a.youAreSavingText, getQtyForText = _a.getQtyForText, discount = _a.discount, offText = _a.offText, _d = _a.widthAuto, widthAuto = _d === void 0 ? false : _d;
7282
7281
  var theme = useTheme();
7283
- return (jsx$1(Card$1, __assign({ backgroundColor: backgroundColor, widthAuto: widthAuto, border: { borderColor: borderColor, borderWidth: '0.063rem' }, flex: false }, { children: jsxs$1(Wrapper$3, { children: [jsxs$1(Container$c, __assign({ "data-testid": "TopSection" }, { children: [jsx$1(Text$2, __assign({ color: theme.palette.secondary.default, weight: "600", margin: "0 1.25rem 0 0" }, { children: getMorePayLessText }), void 0), jsx$1(PriceLabel, { finalPrice: price, originalPrice: originalPrice, color: "#3A3A3A", size: ComponentSize.Small }, void 0)] }), void 0), jsxs$1(Container$c, __assign({ "data-testid": "BottomSection" }, { children: [jsxs$1(Text$2, __assign({ color: "#d3373c", weight: "600", margin: "0 1.25rem 0 0" }, { children: [getQtyForText, " ", discount, "% ", offText] }), void 0), jsxs$1(Text$2, __assign({ color: theme.palette.secondary.default }, { children: [youAreSavingText, ": ", savingPrice] }), void 0)] }), void 0)] }, void 0) }), void 0));
7282
+ return (jsx$1(Card$1, __assign({ backgroundColor: backgroundColor, widthAuto: widthAuto, border: { borderColor: borderColor, borderWidth: '0.063rem' }, flex: false }, { children: jsxs$1(Wrapper$3, { children: [jsxs$1(Container$e, __assign({ "data-testid": "TopSection" }, { children: [jsx$1(Text$2, __assign({ color: theme.palette.secondary.default, weight: "600", margin: "0 1.25rem 0 0" }, { children: getMorePayLessText }), void 0), jsx$1(PriceLabel, { finalPrice: price, originalPrice: originalPrice, color: "#3A3A3A", size: ComponentSize.Small }, void 0)] }), void 0), jsxs$1(Container$e, __assign({ "data-testid": "BottomSection" }, { children: [jsxs$1(Text$2, __assign({ color: "#d3373c", weight: "600", margin: "0 1.25rem 0 0" }, { children: [getQtyForText, " ", discount, "% ", offText] }), void 0), jsxs$1(Text$2, __assign({ color: theme.palette.secondary.default }, { children: [youAreSavingText, ": ", savingPrice] }), void 0)] }), void 0)] }, void 0) }), void 0));
7284
7283
  };
7285
- var templateObject_1$p, templateObject_2$i, templateObject_3$c;
7284
+ var templateObject_1$r, templateObject_2$j, templateObject_3$c;
7286
7285
 
7287
- var Container$b = newStyled.div(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n padding: 0.625rem 1.5rem;\n"], ["\n padding: 0.625rem 1.5rem;\n"])));
7288
- var Title$2 = newStyled.h1(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n font-weight: 700;\n font-size: 1rem;\n line-height: 1.25rem;\n color: ", ";\n margin: 0;\n margin-bottom: 0.125rem;\n text-align: center;\n"], ["\n font-weight: 700;\n font-size: 1rem;\n line-height: 1.25rem;\n color: ", ";\n margin: 0;\n margin-bottom: 0.125rem;\n text-align: center;\n"])), function (props) { return props.color; });
7286
+ var Container$d = newStyled.div(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n padding: 0.625rem 1.5rem;\n"], ["\n padding: 0.625rem 1.5rem;\n"])));
7287
+ var Title$2 = newStyled.h1(templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n font-weight: 700;\n font-size: 1rem;\n line-height: 1.25rem;\n color: ", ";\n margin: 0;\n margin-bottom: 0.125rem;\n text-align: center;\n"], ["\n font-weight: 700;\n font-size: 1rem;\n line-height: 1.25rem;\n color: ", ";\n margin: 0;\n margin-bottom: 0.125rem;\n text-align: center;\n"])), function (props) { return props.color; });
7289
7288
  var Details$1 = newStyled.span(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n display: flex;\n align-items: center;\n font-weight: 400;\n font-size: 1rem;\n margin: 0;\n line-height: 1.5rem;\n justify-content: center;\n color: ", ";\n"], ["\n display: flex;\n align-items: center;\n font-weight: 400;\n font-size: 1rem;\n margin: 0;\n line-height: 1.5rem;\n justify-content: center;\n color: ", ";\n"])), function (props) { return props.color; });
7290
7289
  var PriceContainer$1 = newStyled.span(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject(["\n margin: 0 0.313rem;\n display: flex;\n align-items: center;\n"], ["\n margin: 0 0.313rem;\n display: flex;\n align-items: center;\n"])));
7291
7290
  var Simple = function (_a) {
7292
7291
  var title = _a.title, freeShippingText = _a.freeShippingText, price = _a.price, anyQtyForText = _a.anyQtyForText, backgroundColor = _a.backgroundColor, _b = _a.widthAuto, widthAuto = _b === void 0 ? false : _b;
7293
7292
  var theme = useTheme();
7294
- return (jsx$1(Card$1, __assign({ backgroundColor: backgroundColor, widthAuto: widthAuto }, { children: jsxs$1(Container$b, { children: [jsx$1(Title$2, __assign({ color: theme.palette.secondary.default, "data-testid": "Title" }, { children: title }), void 0), jsxs$1(Details$1, __assign({ color: theme.palette.secondary.default, "data-testid": "Details" }, { children: [anyQtyForText, jsx$1(PriceContainer$1, __assign({ "data-testid": "Price" }, { children: jsx$1(PriceLabel, { finalPrice: price, color: "#d3373c", size: ComponentSize.Small }, void 0) }), void 0), "+ ", freeShippingText] }), void 0)] }, void 0) }), void 0));
7293
+ return (jsx$1(Card$1, __assign({ backgroundColor: backgroundColor, widthAuto: widthAuto }, { children: jsxs$1(Container$d, { children: [jsx$1(Title$2, __assign({ color: theme.palette.secondary.default, "data-testid": "Title" }, { children: title }), void 0), jsxs$1(Details$1, __assign({ color: theme.palette.secondary.default, "data-testid": "Details" }, { children: [anyQtyForText, jsx$1(PriceContainer$1, __assign({ "data-testid": "Price" }, { children: jsx$1(PriceLabel, { finalPrice: price, color: "#d3373c", size: ComponentSize.Small }, void 0) }), void 0), "+ ", freeShippingText] }), void 0)] }, void 0) }), void 0));
7295
7294
  };
7296
- var templateObject_1$o, templateObject_2$h, templateObject_3$b, templateObject_4$8;
7295
+ var templateObject_1$q, templateObject_2$i, templateObject_3$b, templateObject_4$8;
7297
7296
 
7298
7297
  var Bundle = {
7299
7298
  Minimalistic: Minimalistic,
7300
7299
  Simple: Simple,
7301
7300
  };
7302
7301
 
7303
- var Container$a = newStyled.div(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n"])));
7302
+ var Container$c = newStyled.div(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n width: fit-content;\n"])));
7304
7303
  var Tag = function (_a) {
7305
7304
  var text = _a.text, className = _a.className;
7306
- return jsx$1(Container$a, __assign({ className: className }, { children: text }), void 0);
7305
+ return jsx$1(Container$c, __assign({ className: className }, { children: text }), void 0);
7307
7306
  };
7308
- var templateObject_1$n;
7307
+ var templateObject_1$p;
7309
7308
 
7310
- var getStylesBySize$2 = function (size) {
7309
+ var getStylesBySize$3 = function (size) {
7311
7310
  switch (size) {
7312
7311
  case ComponentSize.Large:
7313
7312
  return {
@@ -7338,11 +7337,11 @@ var getStylesBySize$2 = function (size) {
7338
7337
  var CategoryTag = function (_a) {
7339
7338
  var text = _a.text, size = _a.size, className = _a.className;
7340
7339
  var theme = useTheme();
7341
- var stylesBySize = getStylesBySize$2(size);
7340
+ var stylesBySize = getStylesBySize$3(size);
7342
7341
  return (jsx(Tag, { css: __assign({ backgroundColor: theme.shades.white, fontWeight: 600, color: theme.shades.gray700 }, stylesBySize), text: text, className: className }, void 0));
7343
7342
  };
7344
7343
 
7345
- var getStylesBySize$1 = function (size) {
7344
+ var getStylesBySize$2 = function (size) {
7346
7345
  switch (size) {
7347
7346
  case ComponentSize.Large:
7348
7347
  return {
@@ -7372,7 +7371,7 @@ var getStylesBySize$1 = function (size) {
7372
7371
  };
7373
7372
  var SeasonOfferTag = function (_a) {
7374
7373
  var text = _a.text, _b = _a.backgroundColor, backgroundColor = _b === void 0 ? '#C64844' : _b, size = _a.size, className = _a.className;
7375
- var stylesBySize = getStylesBySize$1(size);
7374
+ var stylesBySize = getStylesBySize$2(size);
7376
7375
  return (jsx(Tag, { css: __assign({ backgroundColor: backgroundColor, fontWeight: 700, color: '#FFFFFF' }, stylesBySize), text: text, className: className }, void 0));
7377
7376
  };
7378
7377
 
@@ -7406,11 +7405,11 @@ var Timer = function (_a) {
7406
7405
  return (jsxs$1("div", __assign({ "data-testid": "Time" }, { children: [hours, "h ", minutes, "m ", seconds, "s"] }), void 0));
7407
7406
  };
7408
7407
 
7409
- var Label = newStyled.span(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n font-weight: 600;\n color: ", ";\n font-size: 1.125rem;\n line-height: 1.75rem;\n"], ["\n font-weight: 600;\n color: ", ";\n font-size: 1.125rem;\n line-height: 1.75rem;\n"])), function (_a) {
7408
+ var Label = newStyled.span(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n font-weight: 600;\n color: ", ";\n font-size: 1.125rem;\n line-height: 1.75rem;\n"], ["\n font-weight: 600;\n color: ", ";\n font-size: 1.125rem;\n line-height: 1.75rem;\n"])), function (_a) {
7410
7409
  var color = _a.color;
7411
7410
  return color;
7412
7411
  });
7413
- var MandatoryIcon = newStyled.span(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n color: ", ";\n margin-left: 0.25rem;\n"], ["\n color: ", ";\n margin-left: 0.25rem;\n"])), function (_a) {
7412
+ var MandatoryIcon = newStyled.span(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n color: ", ";\n margin-left: 0.25rem;\n"], ["\n color: ", ";\n margin-left: 0.25rem;\n"])), function (_a) {
7414
7413
  var color = _a.color;
7415
7414
  return color;
7416
7415
  });
@@ -7419,26 +7418,26 @@ var InputLabel = function (_a) {
7419
7418
  var theme = useTheme();
7420
7419
  return (jsxs$1(Label, __assign({ color: isDisabled ? theme.shades.gray250 : theme.shades.gray700 }, { children: [label, isRequired && jsx$1(MandatoryIcon, __assign({ color: theme.semantic.alert }, { children: "*" }), void 0)] }), void 0));
7421
7420
  };
7422
- var templateObject_1$m, templateObject_2$g;
7421
+ var templateObject_1$o, templateObject_2$h;
7423
7422
 
7424
7423
  var isEmpty = function (value) {
7425
7424
  return value.length === 0;
7426
7425
  };
7427
7426
 
7428
- var ErrorText = newStyled.h3(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"], ["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"])), function (props) { return props.color; });
7429
- var ErrorContainer = newStyled.div(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-top: 0.25rem;\n"], ["\n display: flex;\n align-items: center;\n margin-top: 0.25rem;\n"])));
7427
+ var ErrorText = newStyled.h3(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"], ["\n color: ", " !important;\n font-size: 0.75rem;\n font-weight: 600;\n margin: 0;\n font-height: 1rem;\n margin-left: 0.313rem;\n"])), function (props) { return props.color; });
7428
+ var ErrorContainer = newStyled.div(templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-top: 0.25rem;\n"], ["\n display: flex;\n align-items: center;\n margin-top: 0.25rem;\n"])));
7430
7429
  var Error$1 = function (_a) {
7431
7430
  var error = _a.error;
7432
7431
  var theme = useTheme();
7433
7432
  return (jsxs$1(ErrorContainer, { children: [jsx$1(Icon.Actions.LightExclamation, { fill: theme.semantic.alert, width: 0.875, height: 0.875 }, void 0), jsx$1(ErrorText, __assign({ color: theme.semantic.alert }, { children: error }), void 0)] }, void 0));
7434
7433
  };
7435
- var templateObject_1$l, templateObject_2$f;
7434
+ var templateObject_1$n, templateObject_2$g;
7436
7435
 
7437
- var Container$9 = newStyled.div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n height: 3rem;\n input {\n border-color: ", ";\n }\n"], ["\n height: 3rem;\n input {\n border-color: ", ";\n }\n"])), function (_a) {
7436
+ var Container$b = newStyled.div(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n height: 3rem;\n input {\n border-color: ", ";\n }\n"], ["\n height: 3rem;\n input {\n border-color: ", ";\n }\n"])), function (_a) {
7438
7437
  var color = _a.color;
7439
7438
  return color;
7440
7439
  });
7441
- var StyledInput = newStyled.input(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n padding: 0.875rem 1rem 0.625rem;\n font-size: 1rem;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n line-height: 1.5rem;\n color: ", ";\n font-weight: 400;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n\n &::placeholder {\n color: ", ";\n }\n\n &:focus {\n outline: none;\n border-color: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n border: 0.063rem solid ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n }\n"], ["\n padding: 0.875rem 1rem 0.625rem;\n font-size: 1rem;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n line-height: 1.5rem;\n color: ", ";\n font-weight: 400;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n\n &::placeholder {\n color: ", ";\n }\n\n &:focus {\n outline: none;\n border-color: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n border: 0.063rem solid ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n }\n"])), function (_a) {
7440
+ var StyledInput = newStyled.input(templateObject_2$f || (templateObject_2$f = __makeTemplateObject(["\n padding: 0.875rem 1rem 0.625rem;\n font-size: 1rem;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n line-height: 1.5rem;\n color: ", ";\n font-weight: 400;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n\n &::placeholder {\n color: ", ";\n }\n\n &:focus {\n outline: none;\n border-color: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n border: 0.063rem solid ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n }\n"], ["\n padding: 0.875rem 1rem 0.625rem;\n font-size: 1rem;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n line-height: 1.5rem;\n color: ", ";\n font-weight: 400;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n\n &::placeholder {\n color: ", ";\n }\n\n &:focus {\n outline: none;\n border-color: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n border: 0.063rem solid ", ";\n color: ", ";\n\n &::placeholder {\n color: ", ";\n }\n }\n"])), function (_a) {
7442
7441
  var borderColor = _a.borderColor;
7443
7442
  return borderColor;
7444
7443
  }, function (_a) {
@@ -7464,7 +7463,7 @@ var StyledInput = newStyled.input(templateObject_2$e || (templateObject_2$e = __
7464
7463
  return disabledColor;
7465
7464
  });
7466
7465
  var InputWrapper = newStyled.div(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\n position: relative;\n display: flex;\n height: 100%;\n"], ["\n position: relative;\n display: flex;\n height: 100%;\n"])));
7467
- var templateObject_1$k, templateObject_2$e, templateObject_3$a;
7466
+ var templateObject_1$m, templateObject_2$f, templateObject_3$a;
7468
7467
 
7469
7468
  var BaseInput = function (_a) {
7470
7469
  var onChange = _a.onChange, _b = _a.defaultValue, defaultValue = _b === void 0 ? '' : _b, label = _a.label, children = _a.children, required = _a.required, onValidation = _a.onValidation, rest = __rest(_a, ["onChange", "defaultValue", "label", "children", "required", "onValidation"]);
@@ -7498,15 +7497,15 @@ var BaseInput = function (_a) {
7498
7497
  disabledBackgroundColor: theme.shades.gray010,
7499
7498
  disabledColor: theme.shades.gray250,
7500
7499
  };
7501
- return (jsxs$1(Container$9, __assign({ color: status === InputValidationType.Valid
7500
+ return (jsxs$1(Container$b, __assign({ color: status === InputValidationType.Valid
7502
7501
  ? theme.shades.gray700
7503
7502
  : status === InputValidationType.Error
7504
7503
  ? theme.semantic.alert
7505
7504
  : '' }, { children: [label && (jsx$1(InputLabel, { label: label, isDisabled: rest.disabled, isRequired: Boolean(required) }, void 0)), jsxs$1(InputWrapper, __assign({ className: "inputWrapper" }, { children: [jsx$1(StyledInput, __assign({ "data-testid": "base-input", type: "text", onChange: handleChange, onBlur: validate, required: Boolean(required), value: value }, rest, styling), void 0), children] }), void 0), required && status === InputValidationType.Error && jsx$1(Error$1, { error: required }, void 0)] }), void 0));
7506
7505
  };
7507
7506
 
7508
- var Container$8 = newStyled.div(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n input {\n border-radius: 0.5rem 1rem 1rem 0.5rem;\n }\n"], ["\n input {\n border-radius: 0.5rem 1rem 1rem 0.5rem;\n }\n"])));
7509
- var ButtonContainer$1 = newStyled.div(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n width: 7.125rem;\n height: 100%;\n position: absolute;\n right: 0;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: 0 0.5rem 0.5rem 0;\n }\n"], ["\n width: 7.125rem;\n height: 100%;\n position: absolute;\n right: 0;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: 0 0.5rem 0.5rem 0;\n }\n"])));
7507
+ var Container$a = newStyled.div(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n input {\n border-radius: 0.5rem 1rem 1rem 0.5rem;\n }\n"], ["\n input {\n border-radius: 0.5rem 1rem 1rem 0.5rem;\n }\n"])));
7508
+ var ButtonContainer$1 = newStyled.div(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n width: 7.125rem;\n height: 100%;\n position: absolute;\n right: 0;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: 0 0.5rem 0.5rem 0;\n }\n"], ["\n width: 7.125rem;\n height: 100%;\n position: absolute;\n right: 0;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: 0 0.5rem 0.5rem 0;\n }\n"])));
7510
7509
  var Custom = function (_a) {
7511
7510
  var onClick = _a.onClick, text = _a.text, type = _a.type, rest = __rest(_a, ["onClick", "text", "type"]);
7512
7511
  var props = {
@@ -7514,20 +7513,20 @@ var Custom = function (_a) {
7514
7513
  text: text,
7515
7514
  disabled: rest.disabled,
7516
7515
  };
7517
- return (jsx$1(Container$8, { children: jsx$1(BaseInput, __assign({}, rest, { children: jsx$1(ButtonContainer$1, { children: type === 'primary' ? jsx$1(ButtonPrimary, __assign({}, props), void 0) : jsx$1(ButtonSecondary, __assign({}, props), void 0) }, void 0) }), void 0) }, void 0));
7516
+ return (jsx$1(Container$a, { children: jsx$1(BaseInput, __assign({}, rest, { children: jsx$1(ButtonContainer$1, { children: type === 'primary' ? jsx$1(ButtonPrimary, __assign({}, props), void 0) : jsx$1(ButtonSecondary, __assign({}, props), void 0) }, void 0) }), void 0) }, void 0));
7518
7517
  };
7519
- var templateObject_1$j, templateObject_2$d;
7518
+ var templateObject_1$l, templateObject_2$e;
7520
7519
 
7521
- var SuccessContainer = newStyled.div(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n height: 3rem;\n display: flex;\n"], ["\n height: 3rem;\n display: flex;\n"])));
7522
- var SuccessMessage = newStyled.div(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n background-color: #dfefe0;\n border: 0.063rem solid #5ead63;\n border-radius: 0.5rem;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n box-sizing: border-box;\n"], ["\n background-color: #dfefe0;\n border: 0.063rem solid #5ead63;\n border-radius: 0.5rem;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n box-sizing: border-box;\n"])));
7520
+ var SuccessContainer = newStyled.div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n height: 3rem;\n display: flex;\n"], ["\n height: 3rem;\n display: flex;\n"])));
7521
+ var SuccessMessage = newStyled.div(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n background-color: #dfefe0;\n border: 0.063rem solid #5ead63;\n border-radius: 0.5rem;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n box-sizing: border-box;\n"], ["\n background-color: #dfefe0;\n border: 0.063rem solid #5ead63;\n border-radius: 0.5rem;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n padding: 0 1rem;\n box-sizing: border-box;\n"])));
7523
7522
  var SuccessText = newStyled.span(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n margin-left: 0.313rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n margin-left: 0.313rem;\n"])));
7524
7523
  var Success = function (_a) {
7525
7524
  var children = _a.children, successText = _a.successText;
7526
7525
  return (jsxs$1(SuccessContainer, { children: [jsxs$1(SuccessMessage, { children: [jsx$1(Icon.Actions.Check, { fill: "#5EAD63", width: 1.375, height: 1.063 }, void 0), jsx$1(SuccessText, { children: successText }, void 0)] }, void 0), children] }, void 0));
7527
7526
  };
7528
- var templateObject_1$i, templateObject_2$c, templateObject_3$9;
7527
+ var templateObject_1$k, templateObject_2$d, templateObject_3$9;
7529
7528
 
7530
- var ButtonContainer = newStyled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n margin-left: 0.625rem;\n height: 100%;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: 0.5rem;\n background-color: ", ";\n }\n"], ["\n margin-left: 0.625rem;\n height: 100%;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: 0.5rem;\n background-color: ", ";\n }\n"])), function (_a) {
7529
+ var ButtonContainer = newStyled.div(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n margin-left: 0.625rem;\n height: 100%;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: 0.5rem;\n background-color: ", ";\n }\n"], ["\n margin-left: 0.625rem;\n height: 100%;\n\n button {\n width: 100%;\n height: 100%;\n border-radius: 0.5rem;\n background-color: ", ";\n }\n"])), function (_a) {
7531
7530
  var status = _a.status, type = _a.type;
7532
7531
  return status === InputValidationType.Empty && type === 'primary' ? '#808080' : '';
7533
7532
  });
@@ -7538,21 +7537,21 @@ var BasePlusButton = function (_a) {
7538
7537
  var Input = (jsx$1(BaseInput, __assign({}, rest, { onValidation: setStatus }, { children: jsx$1(ButtonContainer, __assign({ status: status, type: "primary" }, { children: jsx$1(ButtonSecondary, { text: text, onClick: onClick, disabled: rest.disabled || status === InputValidationType.Error }, void 0) }), void 0) }), void 0));
7539
7538
  return success ? SuccessComponent : Input;
7540
7539
  };
7541
- var templateObject_1$h;
7540
+ var templateObject_1$j;
7542
7541
 
7543
- var Container$7 = newStyled.div(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n input {\n padding-right: 2.688rem;\n }\n"], ["\n input {\n padding-right: 2.688rem;\n }\n"])));
7544
- var IconContainer$2 = newStyled.div(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n position: absolute;\n right: 0.875rem;\n width: 1.125rem;\n height: 100%;\n\n svg path {\n fill: ", ";\n }\n"], ["\n position: absolute;\n right: 0.875rem;\n width: 1.125rem;\n height: 100%;\n\n svg path {\n fill: ", ";\n }\n"])), function (props) { return props.color; });
7542
+ var Container$9 = newStyled.div(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n input {\n padding-right: 2.688rem;\n }\n"], ["\n input {\n padding-right: 2.688rem;\n }\n"])));
7543
+ var IconContainer$2 = newStyled.div(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["\n position: absolute;\n right: 0.875rem;\n width: 1.125rem;\n height: 100%;\n\n svg path {\n fill: ", ";\n }\n"], ["\n position: absolute;\n right: 0.875rem;\n width: 1.125rem;\n height: 100%;\n\n svg path {\n fill: ", ";\n }\n"])), function (props) { return props.color; });
7545
7544
  var BasePlusIcon = function (_a) {
7546
7545
  var Icon = _a.Icon, rest = __rest(_a, ["Icon"]);
7547
7546
  var theme = useTheme();
7548
7547
  var _b = useState(InputValidationType.Empty), status = _b[0], setStatus = _b[1];
7549
- return (jsx$1(Container$7, { children: jsx$1(BaseInput, __assign({}, rest, { onValidation: setStatus }, { children: jsx$1(IconContainer$2, __assign({ color: status === InputValidationType.Valid
7548
+ return (jsx$1(Container$9, { children: jsx$1(BaseInput, __assign({}, rest, { onValidation: setStatus }, { children: jsx$1(IconContainer$2, __assign({ color: status === InputValidationType.Valid
7550
7549
  ? theme.shades.gray700
7551
7550
  : status === InputValidationType.Error
7552
7551
  ? theme.semantic.alert
7553
7552
  : '' }, { children: createElement(Icon, { fill: theme.shades.gray250 }) }), void 0) }), void 0) }, void 0));
7554
7553
  };
7555
- var templateObject_1$g, templateObject_2$b;
7554
+ var templateObject_1$i, templateObject_2$c;
7556
7555
 
7557
7556
  var Input = {
7558
7557
  Simple: BaseInput,
@@ -7566,7 +7565,7 @@ var index$3 = /*#__PURE__*/Object.freeze({
7566
7565
  Input: Input
7567
7566
  });
7568
7567
 
7569
- var Container$6 = newStyled.div(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n border: 0.063rem solid ", ";\n border-radius: 0.25rem;\n padding: 0.375rem;\n cursor: ", ";\n"], ["\n width: ", ";\n height: ", ";\n border: 0.063rem solid ", ";\n border-radius: 0.25rem;\n padding: 0.375rem;\n cursor: ", ";\n"])), function (_a) {
7568
+ var Container$8 = newStyled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n width: ", ";\n height: ", ";\n border: 0.063rem solid ", ";\n border-radius: 0.25rem;\n padding: 0.375rem;\n cursor: ", ";\n"], ["\n width: ", ";\n height: ", ";\n border: 0.063rem solid ", ";\n border-radius: 0.25rem;\n padding: 0.375rem;\n cursor: ", ";\n"])), function (_a) {
7570
7569
  var width = _a.width;
7571
7570
  return width;
7572
7571
  }, function (_a) {
@@ -7582,11 +7581,11 @@ var Container$6 = newStyled.div(templateObject_1$f || (templateObject_1$f = __ma
7582
7581
  var PaymentMethod = function (_a) {
7583
7582
  var Icon = _a.Icon, width = _a.width, height = _a.height, onClick = _a.onClick;
7584
7583
  var theme = useTheme();
7585
- return (jsx$1(Container$6, __assign({ width: width, height: height, borderColor: theme.shades.gray100, isClickable: Boolean(onClick), onClick: onClick, "data-testid": "payment-method-container" }, { children: createElement(Icon) }), void 0));
7584
+ return (jsx$1(Container$8, __assign({ width: width, height: height, borderColor: theme.shades.gray100, isClickable: Boolean(onClick), onClick: onClick, "data-testid": "payment-method-container" }, { children: createElement(Icon) }), void 0));
7586
7585
  };
7587
- var templateObject_1$f;
7586
+ var templateObject_1$h;
7588
7587
 
7589
- var Text$1 = newStyled.h3(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n background-color: ", ";\n margin: 0;\n padding: 0.25rem 0.5rem;\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 0.875rem;\n border-radius: 0.125rem;\n display: initial;\n color: ", ";\n"], ["\n background-color: ", ";\n margin: 0;\n padding: 0.25rem 0.5rem;\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 0.875rem;\n border-radius: 0.125rem;\n display: initial;\n color: ", ";\n"])), function (_a) {
7588
+ var Text$1 = newStyled.h3(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n background-color: ", ";\n margin: 0;\n padding: 0.25rem 0.5rem;\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 0.875rem;\n border-radius: 0.125rem;\n display: initial;\n color: ", ";\n"], ["\n background-color: ", ";\n margin: 0;\n padding: 0.25rem 0.5rem;\n font-size: 0.625rem;\n font-weight: 700;\n line-height: 0.875rem;\n border-radius: 0.125rem;\n display: initial;\n color: ", ";\n"])), function (_a) {
7590
7589
  var backgroundColor = _a.backgroundColor;
7591
7590
  return backgroundColor;
7592
7591
  }, function (_a) {
@@ -7598,25 +7597,25 @@ var OfferBanner = function (_a) {
7598
7597
  var theme = useTheme();
7599
7598
  return (jsx$1(Text$1, __assign({ backgroundColor: backgroundColor, color: theme.shades.gray700, "data-testid": "OfferBanner" }, { children: discountAppliedText }), void 0));
7600
7599
  };
7601
- var templateObject_1$e;
7600
+ var templateObject_1$g;
7602
7601
 
7603
- var Wrapper$2 = newStyled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"])));
7604
- var GrandTotal = newStyled.h1(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ", ";\n display: flex;\n align-items: center;\n"], ["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) { return props.color; });
7602
+ var Wrapper$2 = newStyled.div(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"])));
7603
+ var GrandTotal = newStyled.h1(templateObject_2$b || (templateObject_2$b = __makeTemplateObject(["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ", ";\n display: flex;\n align-items: center;\n"], ["\n margin: 0;\n font-size: 1.5rem;\n line-height: 2rem;\n font-weight: 700;\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) { return props.color; });
7605
7604
  var Currency = newStyled.span(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\n margin: 0;\n margin-right: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"], ["\n margin: 0;\n margin-right: 0.625rem;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"])));
7606
- var Container$5 = newStyled.div(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ", ";\n"])), function (props) { return props.highlightColor; });
7605
+ var Container$7 = newStyled.div(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin-top: 0.625rem;\n color: ", ";\n"])), function (props) { return props.highlightColor; });
7607
7606
  var Discount = newStyled.h3(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n"])));
7608
7607
  var Total = function (_a) {
7609
7608
  var total = _a.total, currency = _a.currency, saving = _a.saving, _b = _a.highlightColor, highlightColor = _b === void 0 ? '#2f806a' : _b;
7610
7609
  var theme = useTheme();
7611
- return (jsxs$1(Wrapper$2, __assign({ "data-testid": "total-wrapper" }, { children: [jsxs$1(GrandTotal, __assign({ color: theme.shades.gray550 }, { children: [jsx$1(Currency, { children: currency }, void 0), total] }), void 0), saving && (jsxs$1(Container$5, __assign({ "data-testid": "subtotal-container", highlightColor: highlightColor }, { children: [jsx$1(Discount, { children: saving.savingText }, void 0), jsx$1(Discount, { children: saving.amount }, void 0)] }), void 0))] }), void 0));
7610
+ return (jsxs$1(Wrapper$2, __assign({ "data-testid": "total-wrapper" }, { children: [jsxs$1(GrandTotal, __assign({ color: theme.shades.gray550 }, { children: [jsx$1(Currency, { children: currency }, void 0), total] }), void 0), saving && (jsxs$1(Container$7, __assign({ "data-testid": "subtotal-container", highlightColor: highlightColor }, { children: [jsx$1(Discount, { children: saving.savingText }, void 0), jsx$1(Discount, { children: saving.amount }, void 0)] }), void 0))] }), void 0));
7612
7611
  };
7613
- var templateObject_1$d, templateObject_2$a, templateObject_3$8, templateObject_4$7, templateObject_5$4;
7612
+ var templateObject_1$f, templateObject_2$b, templateObject_3$8, templateObject_4$7, templateObject_5$4;
7614
7613
 
7615
- var Wrapper$1 = newStyled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
7614
+ var Wrapper$1 = newStyled.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
7616
7615
  var color = _a.color;
7617
7616
  return color;
7618
7617
  });
7619
- var ItemContainer = newStyled.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.625rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n"], ["\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.625rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n"])));
7618
+ var ItemContainer = newStyled.div(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.625rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n"], ["\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.625rem;\n\n &:last-child {\n margin-bottom: 0;\n }\n"])));
7620
7619
  var Item$1 = newStyled.h4(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n margin: 0;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"], ["\n margin: 0;\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 600;\n"])));
7621
7620
  var CouponItem = newStyled(Item$1)(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
7622
7621
  var color = _a.color;
@@ -7630,22 +7629,22 @@ var Subtotal = function (_a) {
7630
7629
  return (jsxs$1(ItemContainer, { children: [jsxs$1(CouponItem, __assign({ color: highlightColor }, { children: [coupon.couponText, " ", c.code, " ", coupon.appliedText] }), void 0), jsx$1(CouponItem, __assign({ color: highlightColor }, { children: c.amount }), void 0)] }, i));
7631
7630
  })] }), void 0));
7632
7631
  };
7633
- var templateObject_1$c, templateObject_2$9, templateObject_3$7, templateObject_4$6;
7632
+ var templateObject_1$e, templateObject_2$a, templateObject_3$7, templateObject_4$6;
7634
7633
 
7635
7634
  var Totals = {
7636
7635
  Total: Total,
7637
7636
  Subtotal: Subtotal,
7638
7637
  };
7639
7638
 
7640
- var Container$4 = newStyled.div(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n border-radius: 0.313rem;\n display: flex;\n margin-bottom: 0.938rem;\n"], ["\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n border-radius: 0.313rem;\n display: flex;\n margin-bottom: 0.938rem;\n"])), function (props) { return props.color; });
7641
- var IconContainer$1 = newStyled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n width: 1rem;\n height: 0.875rem;\n margin-right: 0.5rem;\n margin-top: 0.125rem;\n"], ["\n width: 1rem;\n height: 0.875rem;\n margin-right: 0.5rem;\n margin-top: 0.125rem;\n"])));
7639
+ var Container$6 = newStyled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n border-radius: 0.313rem;\n display: flex;\n margin-bottom: 0.938rem;\n"], ["\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n border-radius: 0.313rem;\n display: flex;\n margin-bottom: 0.938rem;\n"])), function (props) { return props.color; });
7640
+ var IconContainer$1 = newStyled.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n width: 1rem;\n height: 0.875rem;\n margin-right: 0.5rem;\n margin-top: 0.125rem;\n"], ["\n width: 1rem;\n height: 0.875rem;\n margin-right: 0.5rem;\n margin-top: 0.125rem;\n"])));
7642
7641
  var Text = newStyled.p(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 400;\n margin: 0;\n color: ", ";\n"], ["\n font-size: 0.875rem;\n line-height: 1.375rem;\n font-weight: 400;\n margin: 0;\n color: ", ";\n"])), function (props) { return props.color; });
7643
7642
  var Details = newStyled.span(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\n color: ", ";\n font-weight: 700;\n"], ["\n color: ", ";\n font-weight: 700;\n"])), function (props) { return props.color; });
7644
7643
  var Note = function (_a) {
7645
7644
  var accentColor = _a.accentColor, color = _a.color, backgroundColor = _a.backgroundColor, importantNoteText = _a.importantNoteText, text = _a.text;
7646
- return (jsxs$1(Container$4, __assign({ color: backgroundColor, "data-testid": "Container" }, { children: [jsx$1(IconContainer$1, { children: jsx$1(Icon.Actions.LightExclamation, { fill: accentColor }, void 0) }, void 0), jsx$1("div", { children: jsxs$1(Text, __assign({ color: color }, { children: [jsxs$1(Details, __assign({ color: accentColor }, { children: [importantNoteText, ":"] }), void 0), " ", text] }), void 0) }, void 0)] }), void 0));
7645
+ return (jsxs$1(Container$6, __assign({ color: backgroundColor, "data-testid": "Container" }, { children: [jsx$1(IconContainer$1, { children: jsx$1(Icon.Actions.LightExclamation, { fill: accentColor }, void 0) }, void 0), jsx$1("div", { children: jsxs$1(Text, __assign({ color: color }, { children: [jsxs$1(Details, __assign({ color: accentColor }, { children: [importantNoteText, ":"] }), void 0), " ", text] }), void 0) }, void 0)] }), void 0));
7647
7646
  };
7648
- var templateObject_1$b, templateObject_2$8, templateObject_3$6, templateObject_4$5;
7647
+ var templateObject_1$d, templateObject_2$9, templateObject_3$6, templateObject_4$5;
7649
7648
 
7650
7649
  var Breakpoints = {
7651
7650
  desktop: 1200,
@@ -7675,8 +7674,8 @@ var useWindowDimensions = function () {
7675
7674
  };
7676
7675
  };
7677
7676
 
7678
- var Title$1 = newStyled.h1(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"], ["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"])), function (props) { return props.color; });
7679
- var Line = newStyled.div(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"], ["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"])), function (props) { return props.backgroundColor; });
7677
+ var Title$1 = newStyled.h1(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"], ["\n color: ", ";\n font-size: 1.25rem;\n line-height: 1.75rem;\n font-weight: 600;\n margin: 0;\n text-align: center;\n"])), function (props) { return props.color; });
7678
+ var Line = newStyled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"], ["\n width: 100%;\n height: 0.063rem;\n background-color: ", ";\n margin: 0.938rem 0;\n"])), function (props) { return props.backgroundColor; });
7680
7679
  var Row$1 = newStyled.div(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\n display: flex;\n flex-direction: ", ";\n justify-content: space-between;\n align-items: flex-start;\n"], ["\n display: flex;\n flex-direction: ", ";\n justify-content: space-between;\n align-items: flex-start;\n"])), function (props) { return (props.isMobile ? 'column' : 'row'); });
7681
7680
  var Col$1 = newStyled.div(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n flex: 1;\n margin: 0 1.25rem;\n\n ", "\n"], ["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n flex: 1;\n margin: 0 1.25rem;\n\n ", "\n"])), function (props) {
7682
7681
  return props.isMobile &&
@@ -7695,28 +7694,28 @@ var DeliveryDetails = function (_a) {
7695
7694
  var isMobile = useWindowDimensions().isMobile;
7696
7695
  return (jsxs$1("div", __assign({ "data-testid": "DeliveryDetails" }, { children: [jsx$1(Title$1, __assign({ color: theme.palette.secondary.default }, { children: deliveryDetailsText }), void 0), jsx$1(Line, { backgroundColor: theme.shades.gray100 }, void 0), note && jsx$1(Note, __assign({}, note), void 0), jsxs$1(Row$1, __assign({ isMobile: isMobile, "data-testid": "DD-row" }, { children: [jsxs$1(Col$1, __assign({ isMobile: isMobile }, { children: [jsxs$1(SectionTitle, __assign({ color: theme.shades.gray700, isMobile: isMobile }, { children: [jsx$1(IconContainer, __assign({ isMobile: isMobile }, { children: jsx$1(Icon.PDP.Clock, {}, void 0) }), void 0), arrivingBy.title] }), void 0), jsx$1(SectionDetails, __assign({ color: theme.shades.gray700 }, { children: arrivingBy.details }), void 0)] }), void 0), jsxs$1(Col$1, __assign({ isMobile: isMobile }, { children: [jsxs$1(SectionTitle, __assign({ color: theme.shades.gray700, isMobile: isMobile }, { children: [jsx$1(IconContainer, __assign({ isMobile: isMobile }, { children: jsx$1(Icon.Navigation.MapMarker, {}, void 0) }), void 0), shippingTo.title] }), void 0), jsx$1(SectionDetails, __assign({ color: theme.shades.gray700 }, { children: shippingTo.details }), void 0)] }), void 0), jsxs$1(Col$1, __assign({ isMobile: isMobile }, { children: [jsxs$1(SectionTitle, __assign({ color: theme.shades.gray700, isMobile: isMobile }, { children: [jsx$1(IconContainer, __assign({ isMobile: isMobile }, { children: jsx$1(Icon.Messaging.Messenger, {}, void 0) }), void 0), instantOrderUpdate.title] }), void 0), jsx$1(SectionDetails, __assign({ color: theme.shades.gray700 }, { children: instantOrderUpdate.details }), void 0), jsxs$1(KeepMeUpdated, __assign({ onClick: instantOrderUpdate.keepMeUpdated.onClick, borderColor: theme.shades.gray150 }, { children: [jsx$1(Icon.Messaging.Messenger, { width: 1, height: 1, fill: "#0078FF" }, void 0), instantOrderUpdate.keepMeUpdated.title] }), void 0)] }), void 0)] }), void 0)] }), void 0));
7697
7696
  };
7698
- var templateObject_1$a, templateObject_2$7, templateObject_3$5, templateObject_4$4, templateObject_5$3, templateObject_6$3, templateObject_7$1, templateObject_8;
7697
+ var templateObject_1$c, templateObject_2$8, templateObject_3$5, templateObject_4$4, templateObject_5$3, templateObject_6$3, templateObject_7$1, templateObject_8;
7699
7698
 
7700
- var Container$3 = newStyled.div(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"])));
7701
- var H1$1 = newStyled.h1(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"])), function (props) { return props.color; });
7699
+ var Container$5 = newStyled.div(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"], ["\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n user-select: none;\n"])));
7700
+ var H1$2 = newStyled.h1(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 700;\n color: ", ";\n margin-right: 0.313rem;\n"])), function (props) { return props.color; });
7702
7701
  var ScrollToTop = function (_a) {
7703
7702
  var scrollToTopText = _a.scrollToTopText, onClick = _a.onClick;
7704
7703
  var theme = useTheme();
7705
- return (jsxs$1(Container$3, __assign({ onClick: onClick, "data-testid": "Container" }, { children: [jsx$1(H1$1, __assign({ color: theme.shades.gray700 }, { children: scrollToTopText }), void 0), jsx$1(Icon.Arrows.ChevronUpSolid, { width: 1.375, height: 1.375, fill: theme.palette.primary.default }, void 0)] }), void 0));
7704
+ return (jsxs$1(Container$5, __assign({ onClick: onClick, "data-testid": "Container" }, { children: [jsx$1(H1$2, __assign({ color: theme.shades.gray700 }, { children: scrollToTopText }), void 0), jsx$1(Icon.Arrows.ChevronUpSolid, { width: 1.375, height: 1.375, fill: theme.palette.primary.default }, void 0)] }), void 0));
7706
7705
  };
7707
- var templateObject_1$9, templateObject_2$6;
7706
+ var templateObject_1$b, templateObject_2$7;
7708
7707
 
7709
- var Container$2 = newStyled.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #dfefeb;\n padding: 0.75rem 0;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #dfefeb;\n padding: 0.75rem 0;\n"])));
7710
- var H1 = newStyled.h1(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"])), function (props) { return props.color; });
7708
+ var Container$4 = newStyled.div(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #dfefeb;\n padding: 0.75rem 0;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #dfefeb;\n padding: 0.75rem 0;\n"])));
7709
+ var H1$1 = newStyled.h1(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"], ["\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n font-weight: 600;\n color: ", ";\n margin-left: 0.625rem;\n"])), function (props) { return props.color; });
7711
7710
  var OrderBar = function (_a) {
7712
7711
  var message = _a.message;
7713
7712
  var theme = useTheme();
7714
- return (jsxs$1(Container$2, { children: [jsx$1(Icon.Actions.Check, { width: 1.25, height: 0.875, fill: "#2F806A" }, void 0), jsx$1(H1, __assign({ color: theme.shades.gray700 }, { children: message }), void 0)] }, void 0));
7713
+ return (jsxs$1(Container$4, { children: [jsx$1(Icon.Actions.Check, { width: 1.25, height: 0.875, fill: "#2F806A" }, void 0), jsx$1(H1$1, __assign({ color: theme.shades.gray700 }, { children: message }), void 0)] }, void 0));
7715
7714
  };
7716
- var templateObject_1$8, templateObject_2$5;
7715
+ var templateObject_1$a, templateObject_2$6;
7717
7716
 
7718
- var TableElement = newStyled.table(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n box-sizing: border-box;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n border-spacing: 0;\n font-size: 0.875rem;\n line-height: 3.125rem;\n width: 100%;\n color: ", ";\n"], ["\n box-sizing: border-box;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n border-spacing: 0;\n font-size: 0.875rem;\n line-height: 3.125rem;\n width: 100%;\n color: ", ";\n"])), function (props) { return props.borderColor; }, function (props) { return props.color; });
7719
- var TableCell = newStyled.td(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n padding: 0 1.25rem;\n text-align: center;\n\n &:last-child {\n border-right: none;\n }\n\n &:first-of-type {\n font-weight: 700;\n }\n"], ["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n padding: 0 1.25rem;\n text-align: center;\n\n &:last-child {\n border-right: none;\n }\n\n &:first-of-type {\n font-weight: 700;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.borderColor; });
7717
+ var TableElement = newStyled.table(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n box-sizing: border-box;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n border-spacing: 0;\n font-size: 0.875rem;\n line-height: 3.125rem;\n width: 100%;\n color: ", ";\n"], ["\n box-sizing: border-box;\n border-radius: 0.5rem;\n border: 0.063rem solid ", ";\n border-spacing: 0;\n font-size: 0.875rem;\n line-height: 3.125rem;\n width: 100%;\n color: ", ";\n"])), function (props) { return props.borderColor; }, function (props) { return props.color; });
7718
+ var TableCell = newStyled.td(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n padding: 0 1.25rem;\n text-align: center;\n\n &:last-child {\n border-right: none;\n }\n\n &:first-of-type {\n font-weight: 700;\n }\n"], ["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n padding: 0 1.25rem;\n text-align: center;\n\n &:last-child {\n border-right: none;\n }\n\n &:first-of-type {\n font-weight: 700;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.borderColor; });
7720
7719
  var TableHead = newStyled.th(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n font-weight: 700;\n\n &:last-child {\n border-right: none;\n }\n"], ["\n border-bottom: 0.063rem solid ", ";\n border-right: 0.063rem solid ", ";\n font-weight: 700;\n\n &:last-child {\n border-right: none;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.borderColor; });
7721
7720
  var TableRow = newStyled.tr(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n\n &.background {\n background-color: ", ";\n }\n"], ["\n &:last-child {\n td {\n border-bottom: none;\n }\n }\n\n &.background {\n background-color: ", ";\n }\n"])), function (props) { return props.backgroundColor; });
7722
7721
  var SizeTable = function (_a) {
@@ -7724,7 +7723,7 @@ var SizeTable = function (_a) {
7724
7723
  var theme = useTheme();
7725
7724
  return (jsxs$1(TableElement, __assign({ color: theme.shades.gray700, borderColor: theme.shades.gray100 }, { children: [jsx$1("thead", { children: jsx$1(TableRow, __assign({ backgroundColor: theme.shades.gray010 }, { children: headers.map(function (header, index) { return (jsx$1(TableHead, __assign({ borderColor: theme.shades.gray100 }, { children: header }), index)); }) }), void 0) }, void 0), jsx$1("tbody", { children: data.map(function (row, index) { return (jsx$1(TableRow, __assign({ className: index % 2 !== 0 ? '' : 'background', backgroundColor: theme.shades.gray010 }, { children: row.map(function (cell, index) { return (jsx$1(TableCell, __assign({ borderColor: theme.shades.gray100 }, { children: cell }), index)); }) }), index)); }) }, void 0)] }), void 0));
7726
7725
  };
7727
- var templateObject_1$7, templateObject_2$4, templateObject_3$4, templateObject_4$3;
7726
+ var templateObject_1$9, templateObject_2$5, templateObject_3$4, templateObject_4$3;
7728
7727
 
7729
7728
  /* eslint-disable no-param-reassign */
7730
7729
  var index$2 = function (breakpoints) {
@@ -7812,15 +7811,15 @@ var breakpoints = {
7812
7811
  };
7813
7812
  var mediaQueries = index$2(Object.values(breakpoints).map(function (bp) { return "@media (min-width: " + bp + "px)"; }));
7814
7813
 
7815
- var Img = newStyled.img(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n border-radius: ", ";\n object-fit: ", ";\n object-position: ", ";\n"], ["\n height: ", ";\n width: ", ";\n border-radius: ", ";\n object-fit: ", ";\n object-position: ", ";\n"])), function (props) { return props.height; }, function (props) { return props.width; }, function (props) { return props.borderRadius; }, function (props) { return props.objectFit; }, function (props) { return props.objectPosition; });
7814
+ var Img = newStyled.img(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n height: ", ";\n width: ", ";\n border-radius: ", ";\n object-fit: ", ";\n object-position: ", ";\n"], ["\n height: ", ";\n width: ", ";\n border-radius: ", ";\n object-fit: ", ";\n object-position: ", ";\n"])), function (props) { return props.height; }, function (props) { return props.width; }, function (props) { return props.borderRadius; }, function (props) { return props.objectFit; }, function (props) { return props.objectPosition; });
7816
7815
  var Image = function (_a) {
7817
7816
  var src = _a.src, alt = _a.alt, height = _a.height, width = _a.width, borderRadius = _a.borderRadius, objectFit = _a.objectFit, objectPosition = _a.objectPosition;
7818
7817
  return (jsx$1(Img, { src: src, alt: alt, height: height, width: width, borderRadius: borderRadius, objectFit: objectFit, objectPosition: objectPosition }, void 0));
7819
7818
  };
7820
- var templateObject_1$6;
7819
+ var templateObject_1$8;
7821
7820
 
7822
- var Container$1 = newStyled.div(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: auto;\n"], ["\n display: flex;\n flex-direction: row;\n width: auto;\n"])));
7823
- var DescriptionContainer = newStyled.div(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", ";\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n ", ";\n width: 100%;\n"])), mediaQueries({
7821
+ var Container$3 = newStyled.div(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n width: auto;\n"], ["\n display: flex;\n flex-direction: row;\n width: auto;\n"])));
7822
+ var DescriptionContainer = newStyled.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n ", ";\n width: 100%;\n"], ["\n display: flex;\n flex-direction: column;\n ", ";\n width: 100%;\n"])), mediaQueries({
7824
7823
  marginLeft: ['0.938rem', '1.875rem'],
7825
7824
  }));
7826
7825
  var Title = newStyled.h2(function (_a) {
@@ -7854,9 +7853,9 @@ var PriceContainer = newStyled.div(templateObject_3$3 || (templateObject_3$3 = _
7854
7853
  var SimpleOrderItem = function (_a) {
7855
7854
  var title = _a.title, subtitle = _a.subtitle, image = _a.image, price = _a.price, tag = _a.tag;
7856
7855
  var theme = useTheme();
7857
- return (jsxs$1(Container$1, { children: [jsx$1(Image, { src: image.src, alt: image.alt, width: "4.063rem", height: "5.375rem", objectFit: "cover", objectPosition: "center" }, void 0), jsxs$1(DescriptionContainer, __assign({ "data-testid": "order-item-description-container" }, { children: [jsx$1(Title, __assign({ color: theme.shades.gray700 }, { children: title }), void 0), jsx$1(Subtitle, __assign({ color: theme.shades.gray700 }, { children: subtitle }), void 0), jsxs$1(PriceContainer, __assign({ "data-testid": "order-item-price-container", withTag: !!tag }, { children: [tag && (jsx$1(OfferBanner, { discountAppliedText: tag === null || tag === void 0 ? void 0 : tag.text, backgroundColor: tag === null || tag === void 0 ? void 0 : tag.backgroundColor }, void 0)), jsx$1(PriceLabel, { finalPrice: price.finalPrice, originalPrice: price.originalPrice, color: price.color || theme.shades.gray700, size: ComponentSize.Small }, void 0)] }), void 0)] }), void 0)] }, void 0));
7856
+ return (jsxs$1(Container$3, { children: [jsx$1(Image, { src: image.src, alt: image.alt, width: "4.063rem", height: "5.375rem", objectFit: "cover", objectPosition: "center" }, void 0), jsxs$1(DescriptionContainer, __assign({ "data-testid": "order-item-description-container" }, { children: [jsx$1(Title, __assign({ color: theme.shades.gray700 }, { children: title }), void 0), jsx$1(Subtitle, __assign({ color: theme.shades.gray700 }, { children: subtitle }), void 0), jsxs$1(PriceContainer, __assign({ "data-testid": "order-item-price-container", withTag: !!tag }, { children: [tag && (jsx$1(OfferBanner, { discountAppliedText: tag === null || tag === void 0 ? void 0 : tag.text, backgroundColor: tag === null || tag === void 0 ? void 0 : tag.backgroundColor }, void 0)), jsx$1(PriceLabel, { finalPrice: price.finalPrice, originalPrice: price.originalPrice, color: price.color || theme.shades.gray700, size: ComponentSize.Small }, void 0)] }), void 0)] }), void 0)] }, void 0));
7858
7857
  };
7859
- var templateObject_1$5, templateObject_2$3, templateObject_3$3;
7858
+ var templateObject_1$7, templateObject_2$4, templateObject_3$3;
7860
7859
 
7861
7860
  function formatDate(date) {
7862
7861
  var day = date.getDate();
@@ -7865,8 +7864,8 @@ function formatDate(date) {
7865
7864
  return month < 10 ? day + "/0" + month + "/" + year : day + "/" + month + "/" + year;
7866
7865
  }
7867
7866
 
7868
- var Container = newStyled.div(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: auto;\n color: #292929;\n"], ["\n display: flex;\n flex-direction: column;\n width: auto;\n color: #292929;\n"])));
7869
- var Heading = newStyled.div(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n ", ";\n text-align: right;\n margin-bottom: 10px;\n"], ["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n ", ";\n text-align: right;\n margin-bottom: 10px;\n"])), mediaQueries({
7867
+ var Container$2 = newStyled.div(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n width: auto;\n color: #292929;\n"], ["\n display: flex;\n flex-direction: column;\n width: auto;\n color: #292929;\n"])));
7868
+ var Heading = newStyled.div(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n ", ";\n text-align: right;\n margin-bottom: 10px;\n"], ["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n ", ";\n text-align: right;\n margin-bottom: 10px;\n"])), mediaQueries({
7870
7869
  fontSize: ['14px', '16px'],
7871
7870
  lineHeight: ['22px', '24px'],
7872
7871
  }));
@@ -7889,9 +7888,9 @@ var H3$1 = newStyled.h3(templateObject_6$2 || (templateObject_6$2 = __makeTempla
7889
7888
  var P = newStyled.p(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n font-weight: normal;\n font-size: 16px;\n line-height: 24px;\n margin: 0;\n"], ["\n font-weight: normal;\n font-size: 16px;\n line-height: 24px;\n margin: 0;\n"])));
7890
7889
  var Review = function (_a) {
7891
7890
  var reviewerName = _a.reviewerName, date = _a.date, rating = _a.rating, stars = _a.stars, title = _a.title, description = _a.description, image = _a.image;
7892
- return (jsxs$1(Container, { children: [jsxs$1(Heading, { children: [jsx$1(H2, { children: reviewerName }, void 0), formatDate(date)] }, void 0), jsx$1(StarList, { starsNumber: 5, rating: rating, fill: stars.color, size: stars.size }, void 0), jsxs$1(Content, __assign({ "data-testid": "review-content" }, { children: [jsxs$1(ReviewContainer, { children: [jsx$1(H3$1, { children: title }, void 0), jsx$1(P, { children: description }, void 0)] }, void 0), jsx$1(Image, { src: image.src, alt: image.alt, width: "7.5rem", height: "10rem" }, void 0)] }), void 0)] }, void 0));
7891
+ return (jsxs$1(Container$2, { children: [jsxs$1(Heading, { children: [jsx$1(H2, { children: reviewerName }, void 0), formatDate(date)] }, void 0), jsx$1(StarList, { starsNumber: 5, rating: rating, fill: stars.color, size: stars.size }, void 0), jsxs$1(Content, __assign({ "data-testid": "review-content" }, { children: [jsxs$1(ReviewContainer, { children: [jsx$1(H3$1, { children: title }, void 0), jsx$1(P, { children: description }, void 0)] }, void 0), jsx$1(Image, { src: image.src, alt: image.alt, width: "7.5rem", height: "10rem" }, void 0)] }), void 0)] }, void 0));
7893
7892
  };
7894
- var templateObject_1$4, templateObject_2$2, templateObject_3$2, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7;
7893
+ var templateObject_1$6, templateObject_2$3, templateObject_3$2, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7;
7895
7894
 
7896
7895
  var Button = newStyled.button(function () { return ({
7897
7896
  background: 'transparent',
@@ -7908,20 +7907,208 @@ var ArrowButton = function (_a) {
7908
7907
  return (jsx$1(Button, __assign({ className: className, type: "button", onClick: onClick, "data-testid": "arrow-button-" + direction }, { children: direction === 'left' ? (jsx$1(Icon.Arrows.ChevronLeft, { width: width, height: height, opacity: 0.5 }, void 0)) : (jsx$1(Icon.Arrows.ChevronRight, { width: width, height: height, opacity: 0.5 }, void 0)) }), void 0));
7909
7908
  };
7910
7909
 
7911
- var lib = {};
7910
+ function _defineProperty(obj, key, value) {
7911
+ if (key in obj) {
7912
+ Object.defineProperty(obj, key, {
7913
+ value: value,
7914
+ enumerable: true,
7915
+ configurable: true,
7916
+ writable: true
7917
+ });
7918
+ } else {
7919
+ obj[key] = value;
7920
+ }
7921
+
7922
+ return obj;
7923
+ }
7924
+
7925
+ function ownKeys(object, enumerableOnly) {
7926
+ var keys = Object.keys(object);
7927
+
7928
+ if (Object.getOwnPropertySymbols) {
7929
+ var symbols = Object.getOwnPropertySymbols(object);
7912
7930
 
7913
- var slider = {};
7931
+ if (enumerableOnly) {
7932
+ symbols = symbols.filter(function (sym) {
7933
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7934
+ });
7935
+ }
7914
7936
 
7915
- var innerSlider = {};
7937
+ keys.push.apply(keys, symbols);
7938
+ }
7916
7939
 
7917
- var initialState = {};
7940
+ return keys;
7941
+ }
7918
7942
 
7919
- (function (exports) {
7943
+ function _objectSpread2(target) {
7944
+ for (var i = 1; i < arguments.length; i++) {
7945
+ var source = arguments[i] != null ? arguments[i] : {};
7946
+
7947
+ if (i % 2) {
7948
+ ownKeys(Object(source), true).forEach(function (key) {
7949
+ _defineProperty(target, key, source[key]);
7950
+ });
7951
+ } else if (Object.getOwnPropertyDescriptors) {
7952
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7953
+ } else {
7954
+ ownKeys(Object(source)).forEach(function (key) {
7955
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7956
+ });
7957
+ }
7958
+ }
7959
+
7960
+ return target;
7961
+ }
7962
+
7963
+ function _classCallCheck(instance, Constructor) {
7964
+ if (!(instance instanceof Constructor)) {
7965
+ throw new TypeError("Cannot call a class as a function");
7966
+ }
7967
+ }
7968
+
7969
+ function _defineProperties(target, props) {
7970
+ for (var i = 0; i < props.length; i++) {
7971
+ var descriptor = props[i];
7972
+ descriptor.enumerable = descriptor.enumerable || false;
7973
+ descriptor.configurable = true;
7974
+ if ("value" in descriptor) descriptor.writable = true;
7975
+ Object.defineProperty(target, descriptor.key, descriptor);
7976
+ }
7977
+ }
7978
+
7979
+ function _createClass(Constructor, protoProps, staticProps) {
7980
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
7981
+ if (staticProps) _defineProperties(Constructor, staticProps);
7982
+ return Constructor;
7983
+ }
7984
+
7985
+ function _assertThisInitialized(self) {
7986
+ if (self === void 0) {
7987
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7988
+ }
7989
+
7990
+ return self;
7991
+ }
7992
+
7993
+ function _setPrototypeOf(o, p) {
7994
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
7995
+ o.__proto__ = p;
7996
+ return o;
7997
+ };
7998
+
7999
+ return _setPrototypeOf(o, p);
8000
+ }
8001
+
8002
+ function _inherits(subClass, superClass) {
8003
+ if (typeof superClass !== "function" && superClass !== null) {
8004
+ throw new TypeError("Super expression must either be null or a function");
8005
+ }
8006
+
8007
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
8008
+ constructor: {
8009
+ value: subClass,
8010
+ writable: true,
8011
+ configurable: true
8012
+ }
8013
+ });
8014
+ if (superClass) _setPrototypeOf(subClass, superClass);
8015
+ }
8016
+
8017
+ function _getPrototypeOf(o) {
8018
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
8019
+ return o.__proto__ || Object.getPrototypeOf(o);
8020
+ };
8021
+ return _getPrototypeOf(o);
8022
+ }
8023
+
8024
+ function _isNativeReflectConstruct() {
8025
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
8026
+ if (Reflect.construct.sham) return false;
8027
+ if (typeof Proxy === "function") return true;
8028
+
8029
+ try {
8030
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
8031
+ return true;
8032
+ } catch (e) {
8033
+ return false;
8034
+ }
8035
+ }
8036
+
8037
+ function _typeof(obj) {
8038
+ "@babel/helpers - typeof";
8039
+
8040
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
8041
+ _typeof = function _typeof(obj) {
8042
+ return typeof obj;
8043
+ };
8044
+ } else {
8045
+ _typeof = function _typeof(obj) {
8046
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
8047
+ };
8048
+ }
8049
+
8050
+ return _typeof(obj);
8051
+ }
8052
+
8053
+ function _possibleConstructorReturn(self, call) {
8054
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
8055
+ return call;
8056
+ }
8057
+
8058
+ return _assertThisInitialized(self);
8059
+ }
8060
+
8061
+ function _createSuper(Derived) {
8062
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
8063
+ return function _createSuperInternal() {
8064
+ var Super = _getPrototypeOf(Derived),
8065
+ result;
8066
+
8067
+ if (hasNativeReflectConstruct) {
8068
+ var NewTarget = _getPrototypeOf(this).constructor;
8069
+ result = Reflect.construct(Super, arguments, NewTarget);
8070
+ } else {
8071
+ result = Super.apply(this, arguments);
8072
+ }
8073
+
8074
+ return _possibleConstructorReturn(this, result);
8075
+ };
8076
+ }
8077
+
8078
+ function _objectWithoutPropertiesLoose(source, excluded) {
8079
+ if (source == null) return {};
8080
+ var target = {};
8081
+ var sourceKeys = Object.keys(source);
8082
+ var key, i;
8083
+
8084
+ for (i = 0; i < sourceKeys.length; i++) {
8085
+ key = sourceKeys[i];
8086
+ if (excluded.indexOf(key) >= 0) continue;
8087
+ target[key] = source[key];
8088
+ }
8089
+
8090
+ return target;
8091
+ }
8092
+
8093
+ function _objectWithoutProperties(source, excluded) {
8094
+ if (source == null) return {};
8095
+ var target = _objectWithoutPropertiesLoose(source, excluded);
8096
+ var key, i;
8097
+
8098
+ if (Object.getOwnPropertySymbols) {
8099
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
8100
+
8101
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
8102
+ key = sourceSymbolKeys[i];
8103
+ if (excluded.indexOf(key) >= 0) continue;
8104
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
8105
+ target[key] = source[key];
8106
+ }
8107
+ }
8108
+
8109
+ return target;
8110
+ }
7920
8111
 
7921
- Object.defineProperty(exports, "__esModule", {
7922
- value: true
7923
- });
7924
- exports["default"] = void 0;
7925
8112
  var initialState = {
7926
8113
  animating: false,
7927
8114
  autoplaying: null,
@@ -7953,65 +8140,57 @@ var initialState = {
7953
8140
  trackWidth: 0,
7954
8141
  targetSlide: 0
7955
8142
  };
7956
- var _default = initialState;
7957
- exports["default"] = _default;
7958
- }(initialState));
7959
8143
 
7960
8144
  /**
7961
- * lodash (Custom Build) <https://lodash.com/>
7962
- * Build: `lodash modularize exports="npm" -o ./`
7963
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
7964
- * Released under MIT license <https://lodash.com/license>
7965
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
7966
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
8145
+ * Checks if `value` is the
8146
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
8147
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
8148
+ *
8149
+ * @static
8150
+ * @memberOf _
8151
+ * @since 0.1.0
8152
+ * @category Lang
8153
+ * @param {*} value The value to check.
8154
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
8155
+ * @example
8156
+ *
8157
+ * _.isObject({});
8158
+ * // => true
8159
+ *
8160
+ * _.isObject([1, 2, 3]);
8161
+ * // => true
8162
+ *
8163
+ * _.isObject(_.noop);
8164
+ * // => true
8165
+ *
8166
+ * _.isObject(null);
8167
+ * // => false
7967
8168
  */
7968
8169
 
7969
- /** Used as the `TypeError` message for "Functions" methods. */
7970
- var FUNC_ERROR_TEXT = 'Expected a function';
7971
-
7972
- /** Used as references for various `Number` constants. */
7973
- var NAN = 0 / 0;
7974
-
7975
- /** `Object#toString` result references. */
7976
- var symbolTag = '[object Symbol]';
7977
-
7978
- /** Used to match leading and trailing whitespace. */
7979
- var reTrim = /^\s+|\s+$/g;
8170
+ function isObject$2(value) {
8171
+ var type = typeof value;
8172
+ return value != null && (type == 'object' || type == 'function');
8173
+ }
7980
8174
 
7981
- /** Used to detect bad signed hexadecimal string values. */
7982
- var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
8175
+ var isObject_1 = isObject$2;
7983
8176
 
7984
- /** Used to detect binary string values. */
7985
- var reIsBinary = /^0b[01]+$/i;
8177
+ /** Detect free variable `global` from Node.js. */
7986
8178
 
7987
- /** Used to detect octal string values. */
7988
- var reIsOctal = /^0o[0-7]+$/i;
8179
+ var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
7989
8180
 
7990
- /** Built-in method references without a dependency on `root`. */
7991
- var freeParseInt = parseInt;
8181
+ var _freeGlobal = freeGlobal$1;
7992
8182
 
7993
- /** Detect free variable `global` from Node.js. */
7994
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
8183
+ var freeGlobal = _freeGlobal;
7995
8184
 
7996
8185
  /** Detect free variable `self`. */
7997
8186
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
7998
8187
 
7999
8188
  /** Used as a reference to the global object. */
8000
- var root = freeGlobal || freeSelf || Function('return this')();
8001
-
8002
- /** Used for built-in method references. */
8003
- var objectProto = Object.prototype;
8189
+ var root$2 = freeGlobal || freeSelf || Function('return this')();
8004
8190
 
8005
- /**
8006
- * Used to resolve the
8007
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
8008
- * of values.
8009
- */
8010
- var objectToString = objectProto.toString;
8191
+ var _root = root$2;
8011
8192
 
8012
- /* Built-in method references for those with the same name as other `lodash` methods. */
8013
- var nativeMax = Math.max,
8014
- nativeMin = Math.min;
8193
+ var root$1 = _root;
8015
8194
 
8016
8195
  /**
8017
8196
  * Gets the timestamp of the number of milliseconds that have elapsed since
@@ -8029,30 +8208,317 @@ var nativeMax = Math.max,
8029
8208
  * }, _.now());
8030
8209
  * // => Logs the number of milliseconds it took for the deferred invocation.
8031
8210
  */
8032
- var now = function() {
8033
- return root.Date.now();
8211
+ var now$1 = function() {
8212
+ return root$1.Date.now();
8034
8213
  };
8035
8214
 
8215
+ var now_1 = now$1;
8216
+
8217
+ /** Used to match a single whitespace character. */
8218
+
8219
+ var reWhitespace = /\s/;
8220
+
8036
8221
  /**
8037
- * Creates a debounced function that delays invoking `func` until after `wait`
8038
- * milliseconds have elapsed since the last time the debounced function was
8039
- * invoked. The debounced function comes with a `cancel` method to cancel
8040
- * delayed `func` invocations and a `flush` method to immediately invoke them.
8041
- * Provide `options` to indicate whether `func` should be invoked on the
8042
- * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
8043
- * with the last arguments provided to the debounced function. Subsequent
8044
- * calls to the debounced function return the result of the last `func`
8045
- * invocation.
8046
- *
8047
- * **Note:** If `leading` and `trailing` options are `true`, `func` is
8048
- * invoked on the trailing edge of the timeout only if the debounced function
8049
- * is invoked more than once during the `wait` timeout.
8222
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
8223
+ * character of `string`.
8050
8224
  *
8051
- * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
8052
- * until to the next tick, similar to `setTimeout` with a timeout of `0`.
8225
+ * @private
8226
+ * @param {string} string The string to inspect.
8227
+ * @returns {number} Returns the index of the last non-whitespace character.
8228
+ */
8229
+ function trimmedEndIndex$1(string) {
8230
+ var index = string.length;
8231
+
8232
+ while (index-- && reWhitespace.test(string.charAt(index))) {}
8233
+ return index;
8234
+ }
8235
+
8236
+ var _trimmedEndIndex = trimmedEndIndex$1;
8237
+
8238
+ var trimmedEndIndex = _trimmedEndIndex;
8239
+
8240
+ /** Used to match leading whitespace. */
8241
+ var reTrimStart = /^\s+/;
8242
+
8243
+ /**
8244
+ * The base implementation of `_.trim`.
8053
8245
  *
8054
- * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
8055
- * for details over the differences between `_.debounce` and `_.throttle`.
8246
+ * @private
8247
+ * @param {string} string The string to trim.
8248
+ * @returns {string} Returns the trimmed string.
8249
+ */
8250
+ function baseTrim$1(string) {
8251
+ return string
8252
+ ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
8253
+ : string;
8254
+ }
8255
+
8256
+ var _baseTrim = baseTrim$1;
8257
+
8258
+ var root = _root;
8259
+
8260
+ /** Built-in value references. */
8261
+ var Symbol$3 = root.Symbol;
8262
+
8263
+ var _Symbol = Symbol$3;
8264
+
8265
+ var Symbol$2 = _Symbol;
8266
+
8267
+ /** Used for built-in method references. */
8268
+ var objectProto$1 = Object.prototype;
8269
+
8270
+ /** Used to check objects for own properties. */
8271
+ var hasOwnProperty = objectProto$1.hasOwnProperty;
8272
+
8273
+ /**
8274
+ * Used to resolve the
8275
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
8276
+ * of values.
8277
+ */
8278
+ var nativeObjectToString$1 = objectProto$1.toString;
8279
+
8280
+ /** Built-in value references. */
8281
+ var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : undefined;
8282
+
8283
+ /**
8284
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
8285
+ *
8286
+ * @private
8287
+ * @param {*} value The value to query.
8288
+ * @returns {string} Returns the raw `toStringTag`.
8289
+ */
8290
+ function getRawTag$1(value) {
8291
+ var isOwn = hasOwnProperty.call(value, symToStringTag$1),
8292
+ tag = value[symToStringTag$1];
8293
+
8294
+ try {
8295
+ value[symToStringTag$1] = undefined;
8296
+ var unmasked = true;
8297
+ } catch (e) {}
8298
+
8299
+ var result = nativeObjectToString$1.call(value);
8300
+ if (unmasked) {
8301
+ if (isOwn) {
8302
+ value[symToStringTag$1] = tag;
8303
+ } else {
8304
+ delete value[symToStringTag$1];
8305
+ }
8306
+ }
8307
+ return result;
8308
+ }
8309
+
8310
+ var _getRawTag = getRawTag$1;
8311
+
8312
+ /** Used for built-in method references. */
8313
+
8314
+ var objectProto = Object.prototype;
8315
+
8316
+ /**
8317
+ * Used to resolve the
8318
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
8319
+ * of values.
8320
+ */
8321
+ var nativeObjectToString = objectProto.toString;
8322
+
8323
+ /**
8324
+ * Converts `value` to a string using `Object.prototype.toString`.
8325
+ *
8326
+ * @private
8327
+ * @param {*} value The value to convert.
8328
+ * @returns {string} Returns the converted string.
8329
+ */
8330
+ function objectToString$1(value) {
8331
+ return nativeObjectToString.call(value);
8332
+ }
8333
+
8334
+ var _objectToString = objectToString$1;
8335
+
8336
+ var Symbol$1 = _Symbol,
8337
+ getRawTag = _getRawTag,
8338
+ objectToString = _objectToString;
8339
+
8340
+ /** `Object#toString` result references. */
8341
+ var nullTag = '[object Null]',
8342
+ undefinedTag = '[object Undefined]';
8343
+
8344
+ /** Built-in value references. */
8345
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
8346
+
8347
+ /**
8348
+ * The base implementation of `getTag` without fallbacks for buggy environments.
8349
+ *
8350
+ * @private
8351
+ * @param {*} value The value to query.
8352
+ * @returns {string} Returns the `toStringTag`.
8353
+ */
8354
+ function baseGetTag$1(value) {
8355
+ if (value == null) {
8356
+ return value === undefined ? undefinedTag : nullTag;
8357
+ }
8358
+ return (symToStringTag && symToStringTag in Object(value))
8359
+ ? getRawTag(value)
8360
+ : objectToString(value);
8361
+ }
8362
+
8363
+ var _baseGetTag = baseGetTag$1;
8364
+
8365
+ /**
8366
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
8367
+ * and has a `typeof` result of "object".
8368
+ *
8369
+ * @static
8370
+ * @memberOf _
8371
+ * @since 4.0.0
8372
+ * @category Lang
8373
+ * @param {*} value The value to check.
8374
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
8375
+ * @example
8376
+ *
8377
+ * _.isObjectLike({});
8378
+ * // => true
8379
+ *
8380
+ * _.isObjectLike([1, 2, 3]);
8381
+ * // => true
8382
+ *
8383
+ * _.isObjectLike(_.noop);
8384
+ * // => false
8385
+ *
8386
+ * _.isObjectLike(null);
8387
+ * // => false
8388
+ */
8389
+
8390
+ function isObjectLike$1(value) {
8391
+ return value != null && typeof value == 'object';
8392
+ }
8393
+
8394
+ var isObjectLike_1 = isObjectLike$1;
8395
+
8396
+ var baseGetTag = _baseGetTag,
8397
+ isObjectLike = isObjectLike_1;
8398
+
8399
+ /** `Object#toString` result references. */
8400
+ var symbolTag = '[object Symbol]';
8401
+
8402
+ /**
8403
+ * Checks if `value` is classified as a `Symbol` primitive or object.
8404
+ *
8405
+ * @static
8406
+ * @memberOf _
8407
+ * @since 4.0.0
8408
+ * @category Lang
8409
+ * @param {*} value The value to check.
8410
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
8411
+ * @example
8412
+ *
8413
+ * _.isSymbol(Symbol.iterator);
8414
+ * // => true
8415
+ *
8416
+ * _.isSymbol('abc');
8417
+ * // => false
8418
+ */
8419
+ function isSymbol$1(value) {
8420
+ return typeof value == 'symbol' ||
8421
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
8422
+ }
8423
+
8424
+ var isSymbol_1 = isSymbol$1;
8425
+
8426
+ var baseTrim = _baseTrim,
8427
+ isObject$1 = isObject_1,
8428
+ isSymbol = isSymbol_1;
8429
+
8430
+ /** Used as references for various `Number` constants. */
8431
+ var NAN = 0 / 0;
8432
+
8433
+ /** Used to detect bad signed hexadecimal string values. */
8434
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
8435
+
8436
+ /** Used to detect binary string values. */
8437
+ var reIsBinary = /^0b[01]+$/i;
8438
+
8439
+ /** Used to detect octal string values. */
8440
+ var reIsOctal = /^0o[0-7]+$/i;
8441
+
8442
+ /** Built-in method references without a dependency on `root`. */
8443
+ var freeParseInt = parseInt;
8444
+
8445
+ /**
8446
+ * Converts `value` to a number.
8447
+ *
8448
+ * @static
8449
+ * @memberOf _
8450
+ * @since 4.0.0
8451
+ * @category Lang
8452
+ * @param {*} value The value to process.
8453
+ * @returns {number} Returns the number.
8454
+ * @example
8455
+ *
8456
+ * _.toNumber(3.2);
8457
+ * // => 3.2
8458
+ *
8459
+ * _.toNumber(Number.MIN_VALUE);
8460
+ * // => 5e-324
8461
+ *
8462
+ * _.toNumber(Infinity);
8463
+ * // => Infinity
8464
+ *
8465
+ * _.toNumber('3.2');
8466
+ * // => 3.2
8467
+ */
8468
+ function toNumber$1(value) {
8469
+ if (typeof value == 'number') {
8470
+ return value;
8471
+ }
8472
+ if (isSymbol(value)) {
8473
+ return NAN;
8474
+ }
8475
+ if (isObject$1(value)) {
8476
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
8477
+ value = isObject$1(other) ? (other + '') : other;
8478
+ }
8479
+ if (typeof value != 'string') {
8480
+ return value === 0 ? value : +value;
8481
+ }
8482
+ value = baseTrim(value);
8483
+ var isBinary = reIsBinary.test(value);
8484
+ return (isBinary || reIsOctal.test(value))
8485
+ ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
8486
+ : (reIsBadHex.test(value) ? NAN : +value);
8487
+ }
8488
+
8489
+ var toNumber_1 = toNumber$1;
8490
+
8491
+ var isObject = isObject_1,
8492
+ now = now_1,
8493
+ toNumber = toNumber_1;
8494
+
8495
+ /** Error message constants. */
8496
+ var FUNC_ERROR_TEXT = 'Expected a function';
8497
+
8498
+ /* Built-in method references for those with the same name as other `lodash` methods. */
8499
+ var nativeMax = Math.max,
8500
+ nativeMin = Math.min;
8501
+
8502
+ /**
8503
+ * Creates a debounced function that delays invoking `func` until after `wait`
8504
+ * milliseconds have elapsed since the last time the debounced function was
8505
+ * invoked. The debounced function comes with a `cancel` method to cancel
8506
+ * delayed `func` invocations and a `flush` method to immediately invoke them.
8507
+ * Provide `options` to indicate whether `func` should be invoked on the
8508
+ * leading and/or trailing edge of the `wait` timeout. The `func` is invoked
8509
+ * with the last arguments provided to the debounced function. Subsequent
8510
+ * calls to the debounced function return the result of the last `func`
8511
+ * invocation.
8512
+ *
8513
+ * **Note:** If `leading` and `trailing` options are `true`, `func` is
8514
+ * invoked on the trailing edge of the timeout only if the debounced function
8515
+ * is invoked more than once during the `wait` timeout.
8516
+ *
8517
+ * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred
8518
+ * until to the next tick, similar to `setTimeout` with a timeout of `0`.
8519
+ *
8520
+ * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)
8521
+ * for details over the differences between `_.debounce` and `_.throttle`.
8056
8522
  *
8057
8523
  * @static
8058
8524
  * @memberOf _
@@ -8132,9 +8598,11 @@ function debounce(func, wait, options) {
8132
8598
  function remainingWait(time) {
8133
8599
  var timeSinceLastCall = time - lastCallTime,
8134
8600
  timeSinceLastInvoke = time - lastInvokeTime,
8135
- result = wait - timeSinceLastCall;
8601
+ timeWaiting = wait - timeSinceLastCall;
8136
8602
 
8137
- return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;
8603
+ return maxing
8604
+ ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)
8605
+ : timeWaiting;
8138
8606
  }
8139
8607
 
8140
8608
  function shouldInvoke(time) {
@@ -8195,6 +8663,7 @@ function debounce(func, wait, options) {
8195
8663
  }
8196
8664
  if (maxing) {
8197
8665
  // Handle invocations in a tight loop.
8666
+ clearTimeout(timerId);
8198
8667
  timerId = setTimeout(timerExpired, wait);
8199
8668
  return invokeFunc(lastCallTime);
8200
8669
  }
@@ -8209,133 +8678,9 @@ function debounce(func, wait, options) {
8209
8678
  return debounced;
8210
8679
  }
8211
8680
 
8212
- /**
8213
- * Checks if `value` is the
8214
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
8215
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
8216
- *
8217
- * @static
8218
- * @memberOf _
8219
- * @since 0.1.0
8220
- * @category Lang
8221
- * @param {*} value The value to check.
8222
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
8223
- * @example
8224
- *
8225
- * _.isObject({});
8226
- * // => true
8227
- *
8228
- * _.isObject([1, 2, 3]);
8229
- * // => true
8230
- *
8231
- * _.isObject(_.noop);
8232
- * // => true
8233
- *
8234
- * _.isObject(null);
8235
- * // => false
8236
- */
8237
- function isObject(value) {
8238
- var type = typeof value;
8239
- return !!value && (type == 'object' || type == 'function');
8240
- }
8241
-
8242
- /**
8243
- * Checks if `value` is object-like. A value is object-like if it's not `null`
8244
- * and has a `typeof` result of "object".
8245
- *
8246
- * @static
8247
- * @memberOf _
8248
- * @since 4.0.0
8249
- * @category Lang
8250
- * @param {*} value The value to check.
8251
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
8252
- * @example
8253
- *
8254
- * _.isObjectLike({});
8255
- * // => true
8256
- *
8257
- * _.isObjectLike([1, 2, 3]);
8258
- * // => true
8259
- *
8260
- * _.isObjectLike(_.noop);
8261
- * // => false
8262
- *
8263
- * _.isObjectLike(null);
8264
- * // => false
8265
- */
8266
- function isObjectLike(value) {
8267
- return !!value && typeof value == 'object';
8268
- }
8269
-
8270
- /**
8271
- * Checks if `value` is classified as a `Symbol` primitive or object.
8272
- *
8273
- * @static
8274
- * @memberOf _
8275
- * @since 4.0.0
8276
- * @category Lang
8277
- * @param {*} value The value to check.
8278
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
8279
- * @example
8280
- *
8281
- * _.isSymbol(Symbol.iterator);
8282
- * // => true
8283
- *
8284
- * _.isSymbol('abc');
8285
- * // => false
8286
- */
8287
- function isSymbol(value) {
8288
- return typeof value == 'symbol' ||
8289
- (isObjectLike(value) && objectToString.call(value) == symbolTag);
8290
- }
8681
+ var debounce_1 = debounce;
8291
8682
 
8292
- /**
8293
- * Converts `value` to a number.
8294
- *
8295
- * @static
8296
- * @memberOf _
8297
- * @since 4.0.0
8298
- * @category Lang
8299
- * @param {*} value The value to process.
8300
- * @returns {number} Returns the number.
8301
- * @example
8302
- *
8303
- * _.toNumber(3.2);
8304
- * // => 3.2
8305
- *
8306
- * _.toNumber(Number.MIN_VALUE);
8307
- * // => 5e-324
8308
- *
8309
- * _.toNumber(Infinity);
8310
- * // => Infinity
8311
- *
8312
- * _.toNumber('3.2');
8313
- * // => 3.2
8314
- */
8315
- function toNumber(value) {
8316
- if (typeof value == 'number') {
8317
- return value;
8318
- }
8319
- if (isSymbol(value)) {
8320
- return NAN;
8321
- }
8322
- if (isObject(value)) {
8323
- var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
8324
- value = isObject(other) ? (other + '') : other;
8325
- }
8326
- if (typeof value != 'string') {
8327
- return value === 0 ? value : +value;
8328
- }
8329
- value = value.replace(reTrim, '');
8330
- var isBinary = reIsBinary.test(value);
8331
- return (isBinary || reIsOctal.test(value))
8332
- ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
8333
- : (reIsBadHex.test(value) ? NAN : +value);
8334
- }
8335
-
8336
- var lodash_debounce = debounce;
8337
-
8338
- var classnames = {exports: {}};
8683
+ var classnames$1 = {exports: {}};
8339
8684
 
8340
8685
  /*!
8341
8686
  Copyright (c) 2018 Jed Watson.
@@ -8391,30 +8736,13 @@ var classnames = {exports: {}};
8391
8736
  window.classNames = classNames;
8392
8737
  }
8393
8738
  }());
8394
- }(classnames));
8739
+ }(classnames$1));
8395
8740
 
8396
- var innerSliderUtils = {};
8397
-
8398
- Object.defineProperty(innerSliderUtils, "__esModule", {
8399
- value: true
8400
- });
8401
- innerSliderUtils.clamp = clamp;
8402
- innerSliderUtils.canUseDOM = innerSliderUtils.slidesOnLeft = innerSliderUtils.slidesOnRight = innerSliderUtils.siblingDirection = innerSliderUtils.getTotalSlides = innerSliderUtils.getPostClones = innerSliderUtils.getPreClones = innerSliderUtils.getTrackLeft = innerSliderUtils.getTrackAnimateCSS = innerSliderUtils.getTrackCSS = innerSliderUtils.checkSpecKeys = innerSliderUtils.getSlideCount = innerSliderUtils.checkNavigable = innerSliderUtils.getNavigableIndexes = innerSliderUtils.swipeEnd = innerSliderUtils.swipeMove = innerSliderUtils.swipeStart = innerSliderUtils.keyHandler = innerSliderUtils.changeSlide = innerSliderUtils.slideHandler = innerSliderUtils.initializedState = innerSliderUtils.extractObject = innerSliderUtils.canGoNext = innerSliderUtils.getSwipeDirection = innerSliderUtils.getHeight = innerSliderUtils.getWidth = innerSliderUtils.lazySlidesOnRight = innerSliderUtils.lazySlidesOnLeft = innerSliderUtils.lazyEndIndex = innerSliderUtils.lazyStartIndex = innerSliderUtils.getRequiredLazySlides = innerSliderUtils.getOnDemandLazySlides = innerSliderUtils.safePreventDefault = void 0;
8403
-
8404
- var _react$4 = _interopRequireDefault$4(React);
8405
-
8406
- function _interopRequireDefault$4(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
8407
-
8408
- function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
8409
-
8410
- function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$4(Object(source), true).forEach(function (key) { _defineProperty$4(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
8411
-
8412
- function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8741
+ var classnames = classnames$1.exports;
8413
8742
 
8414
8743
  function clamp(number, lowerBound, upperBound) {
8415
8744
  return Math.max(lowerBound, Math.min(number, upperBound));
8416
8745
  }
8417
-
8418
8746
  var safePreventDefault = function safePreventDefault(event) {
8419
8747
  var passiveEvents = ["onTouchStart", "onTouchMove", "onWheel"];
8420
8748
 
@@ -8422,9 +8750,6 @@ var safePreventDefault = function safePreventDefault(event) {
8422
8750
  event.preventDefault();
8423
8751
  }
8424
8752
  };
8425
-
8426
- innerSliderUtils.safePreventDefault = safePreventDefault;
8427
-
8428
8753
  var getOnDemandLazySlides = function getOnDemandLazySlides(spec) {
8429
8754
  var onDemandSlides = [];
8430
8755
  var startIndex = lazyStartIndex(spec);
@@ -8439,61 +8764,25 @@ var getOnDemandLazySlides = function getOnDemandLazySlides(spec) {
8439
8764
  return onDemandSlides;
8440
8765
  }; // return list of slides that need to be present
8441
8766
 
8442
-
8443
- innerSliderUtils.getOnDemandLazySlides = getOnDemandLazySlides;
8444
-
8445
- var getRequiredLazySlides = function getRequiredLazySlides(spec) {
8446
- var requiredSlides = [];
8447
- var startIndex = lazyStartIndex(spec);
8448
- var endIndex = lazyEndIndex(spec);
8449
-
8450
- for (var slideIndex = startIndex; slideIndex < endIndex; slideIndex++) {
8451
- requiredSlides.push(slideIndex);
8452
- }
8453
-
8454
- return requiredSlides;
8455
- }; // startIndex that needs to be present
8456
-
8457
-
8458
- innerSliderUtils.getRequiredLazySlides = getRequiredLazySlides;
8459
-
8460
8767
  var lazyStartIndex = function lazyStartIndex(spec) {
8461
8768
  return spec.currentSlide - lazySlidesOnLeft(spec);
8462
8769
  };
8463
-
8464
- innerSliderUtils.lazyStartIndex = lazyStartIndex;
8465
-
8466
8770
  var lazyEndIndex = function lazyEndIndex(spec) {
8467
8771
  return spec.currentSlide + lazySlidesOnRight(spec);
8468
8772
  };
8469
-
8470
- innerSliderUtils.lazyEndIndex = lazyEndIndex;
8471
-
8472
8773
  var lazySlidesOnLeft = function lazySlidesOnLeft(spec) {
8473
8774
  return spec.centerMode ? Math.floor(spec.slidesToShow / 2) + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : 0;
8474
8775
  };
8475
-
8476
- innerSliderUtils.lazySlidesOnLeft = lazySlidesOnLeft;
8477
-
8478
8776
  var lazySlidesOnRight = function lazySlidesOnRight(spec) {
8479
8777
  return spec.centerMode ? Math.floor((spec.slidesToShow - 1) / 2) + 1 + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : spec.slidesToShow;
8480
8778
  }; // get width of an element
8481
8779
 
8482
-
8483
- innerSliderUtils.lazySlidesOnRight = lazySlidesOnRight;
8484
-
8485
8780
  var getWidth = function getWidth(elem) {
8486
8781
  return elem && elem.offsetWidth || 0;
8487
8782
  };
8488
-
8489
- innerSliderUtils.getWidth = getWidth;
8490
-
8491
8783
  var getHeight = function getHeight(elem) {
8492
8784
  return elem && elem.offsetHeight || 0;
8493
8785
  };
8494
-
8495
- innerSliderUtils.getHeight = getHeight;
8496
-
8497
8786
  var getSwipeDirection = function getSwipeDirection(touchObject) {
8498
8787
  var verticalSwiping = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
8499
8788
  var xDist, yDist, r, swipeAngle;
@@ -8525,9 +8814,6 @@ var getSwipeDirection = function getSwipeDirection(touchObject) {
8525
8814
  return "vertical";
8526
8815
  }; // whether or not we can go next
8527
8816
 
8528
-
8529
- innerSliderUtils.getSwipeDirection = getSwipeDirection;
8530
-
8531
8817
  var canGoNext = function canGoNext(spec) {
8532
8818
  var canGo = true;
8533
8819
 
@@ -8542,9 +8828,6 @@ var canGoNext = function canGoNext(spec) {
8542
8828
  return canGo;
8543
8829
  }; // given an object and a list of keys, return new object with given keys
8544
8830
 
8545
-
8546
- innerSliderUtils.canGoNext = canGoNext;
8547
-
8548
8831
  var extractObject = function extractObject(spec, keys) {
8549
8832
  var newObject = {};
8550
8833
  keys.forEach(function (key) {
@@ -8553,13 +8836,9 @@ var extractObject = function extractObject(spec, keys) {
8553
8836
  return newObject;
8554
8837
  }; // get initialized state
8555
8838
 
8556
-
8557
- innerSliderUtils.extractObject = extractObject;
8558
-
8559
8839
  var initializedState = function initializedState(spec) {
8560
8840
  // spec also contains listRef, trackRef
8561
- var slideCount = _react$4["default"].Children.count(spec.children);
8562
-
8841
+ var slideCount = React.Children.count(spec.children);
8563
8842
  var listNode = spec.listRef;
8564
8843
  var listWidth = Math.ceil(getWidth(listNode));
8565
8844
  var trackNode = spec.trackRef && spec.trackRef.node;
@@ -8587,7 +8866,7 @@ var initializedState = function initializedState(spec) {
8587
8866
  }
8588
8867
 
8589
8868
  var lazyLoadedList = spec.lazyLoadedList || [];
8590
- var slidesToLoad = getOnDemandLazySlides(_objectSpread$4(_objectSpread$4({}, spec), {}, {
8869
+ var slidesToLoad = getOnDemandLazySlides(_objectSpread2(_objectSpread2({}, spec), {}, {
8591
8870
  currentSlide: currentSlide,
8592
8871
  lazyLoadedList: lazyLoadedList
8593
8872
  }));
@@ -8609,9 +8888,6 @@ var initializedState = function initializedState(spec) {
8609
8888
 
8610
8889
  return state;
8611
8890
  };
8612
-
8613
- innerSliderUtils.initializedState = initializedState;
8614
-
8615
8891
  var slideHandler = function slideHandler(spec) {
8616
8892
  var waitForAnimate = spec.waitForAnimate,
8617
8893
  animating = spec.animating,
@@ -8678,10 +8954,10 @@ var slideHandler = function slideHandler(spec) {
8678
8954
  finalSlide = slideCount - slidesToShow;
8679
8955
  }
8680
8956
 
8681
- animationLeft = getTrackLeft(_objectSpread$4(_objectSpread$4({}, spec), {}, {
8957
+ animationLeft = getTrackLeft(_objectSpread2(_objectSpread2({}, spec), {}, {
8682
8958
  slideIndex: animationSlide
8683
8959
  }));
8684
- finalLeft = getTrackLeft(_objectSpread$4(_objectSpread$4({}, spec), {}, {
8960
+ finalLeft = getTrackLeft(_objectSpread2(_objectSpread2({}, spec), {}, {
8685
8961
  slideIndex: finalSlide
8686
8962
  }));
8687
8963
 
@@ -8691,7 +8967,7 @@ var slideHandler = function slideHandler(spec) {
8691
8967
  }
8692
8968
 
8693
8969
  if (lazyLoad) {
8694
- lazyLoadedList = lazyLoadedList.concat(getOnDemandLazySlides(_objectSpread$4(_objectSpread$4({}, spec), {}, {
8970
+ lazyLoadedList = lazyLoadedList.concat(getOnDemandLazySlides(_objectSpread2(_objectSpread2({}, spec), {}, {
8695
8971
  currentSlide: animationSlide
8696
8972
  })));
8697
8973
  }
@@ -8699,7 +8975,7 @@ var slideHandler = function slideHandler(spec) {
8699
8975
  if (!useCSS) {
8700
8976
  state = {
8701
8977
  currentSlide: finalSlide,
8702
- trackStyle: getTrackCSS(_objectSpread$4(_objectSpread$4({}, spec), {}, {
8978
+ trackStyle: getTrackCSS(_objectSpread2(_objectSpread2({}, spec), {}, {
8703
8979
  left: finalLeft
8704
8980
  })),
8705
8981
  lazyLoadedList: lazyLoadedList,
@@ -8709,7 +8985,7 @@ var slideHandler = function slideHandler(spec) {
8709
8985
  state = {
8710
8986
  animating: true,
8711
8987
  currentSlide: finalSlide,
8712
- trackStyle: getTrackAnimateCSS(_objectSpread$4(_objectSpread$4({}, spec), {}, {
8988
+ trackStyle: getTrackAnimateCSS(_objectSpread2(_objectSpread2({}, spec), {}, {
8713
8989
  left: animationLeft
8714
8990
  })),
8715
8991
  lazyLoadedList: lazyLoadedList,
@@ -8718,7 +8994,7 @@ var slideHandler = function slideHandler(spec) {
8718
8994
  nextState = {
8719
8995
  animating: false,
8720
8996
  currentSlide: finalSlide,
8721
- trackStyle: getTrackCSS(_objectSpread$4(_objectSpread$4({}, spec), {}, {
8997
+ trackStyle: getTrackCSS(_objectSpread2(_objectSpread2({}, spec), {}, {
8722
8998
  left: finalLeft
8723
8999
  })),
8724
9000
  swipeLeft: null,
@@ -8732,9 +9008,6 @@ var slideHandler = function slideHandler(spec) {
8732
9008
  nextState: nextState
8733
9009
  };
8734
9010
  };
8735
-
8736
- innerSliderUtils.slideHandler = slideHandler;
8737
-
8738
9011
  var changeSlide = function changeSlide(spec, options) {
8739
9012
  var indexOffset, previousInt, slideOffset, unevenOffset, targetSlide;
8740
9013
  var slidesToScroll = spec.slidesToScroll,
@@ -8778,7 +9051,7 @@ var changeSlide = function changeSlide(spec, options) {
8778
9051
  targetSlide = options.index;
8779
9052
 
8780
9053
  if (infinite) {
8781
- var direction = siblingDirection(_objectSpread$4(_objectSpread$4({}, spec), {}, {
9054
+ var direction = siblingDirection(_objectSpread2(_objectSpread2({}, spec), {}, {
8782
9055
  targetSlide: targetSlide
8783
9056
  }));
8784
9057
 
@@ -8794,18 +9067,12 @@ var changeSlide = function changeSlide(spec, options) {
8794
9067
 
8795
9068
  return targetSlide;
8796
9069
  };
8797
-
8798
- innerSliderUtils.changeSlide = changeSlide;
8799
-
8800
9070
  var keyHandler = function keyHandler(e, accessibility, rtl) {
8801
9071
  if (e.target.tagName.match("TEXTAREA|INPUT|SELECT") || !accessibility) return "";
8802
9072
  if (e.keyCode === 37) return rtl ? "next" : "previous";
8803
9073
  if (e.keyCode === 39) return rtl ? "previous" : "next";
8804
9074
  return "";
8805
9075
  };
8806
-
8807
- innerSliderUtils.keyHandler = keyHandler;
8808
-
8809
9076
  var swipeStart = function swipeStart(e, swipe, draggable) {
8810
9077
  e.target.tagName === "IMG" && safePreventDefault(e);
8811
9078
  if (!swipe || !draggable && e.type.indexOf("mouse") !== -1) return "";
@@ -8819,9 +9086,6 @@ var swipeStart = function swipeStart(e, swipe, draggable) {
8819
9086
  }
8820
9087
  };
8821
9088
  };
8822
-
8823
- innerSliderUtils.swipeStart = swipeStart;
8824
-
8825
9089
  var swipeMove = function swipeMove(e, spec) {
8826
9090
  // spec also contains, trackRef and slideIndex
8827
9091
  var scrolling = spec.scrolling,
@@ -8897,10 +9161,10 @@ var swipeMove = function swipeMove(e, spec) {
8897
9161
  swipeLeft = curLeft + touchSwipeLength * positionOffset;
8898
9162
  }
8899
9163
 
8900
- state = _objectSpread$4(_objectSpread$4({}, state), {}, {
9164
+ state = _objectSpread2(_objectSpread2({}, state), {}, {
8901
9165
  touchObject: touchObject,
8902
9166
  swipeLeft: swipeLeft,
8903
- trackStyle: getTrackCSS(_objectSpread$4(_objectSpread$4({}, spec), {}, {
9167
+ trackStyle: getTrackCSS(_objectSpread2(_objectSpread2({}, spec), {}, {
8904
9168
  left: swipeLeft
8905
9169
  }))
8906
9170
  });
@@ -8916,9 +9180,6 @@ var swipeMove = function swipeMove(e, spec) {
8916
9180
 
8917
9181
  return state;
8918
9182
  };
8919
-
8920
- innerSliderUtils.swipeMove = swipeMove;
8921
-
8922
9183
  var swipeEnd = function swipeEnd(e, spec) {
8923
9184
  var dragging = spec.dragging,
8924
9185
  swipe = spec.swipe,
@@ -8993,16 +9254,13 @@ var swipeEnd = function swipeEnd(e, spec) {
8993
9254
  } else {
8994
9255
  // Adjust the track back to it's original position.
8995
9256
  var currentLeft = getTrackLeft(spec);
8996
- state["trackStyle"] = getTrackAnimateCSS(_objectSpread$4(_objectSpread$4({}, spec), {}, {
9257
+ state["trackStyle"] = getTrackAnimateCSS(_objectSpread2(_objectSpread2({}, spec), {}, {
8997
9258
  left: currentLeft
8998
9259
  }));
8999
9260
  }
9000
9261
 
9001
9262
  return state;
9002
9263
  };
9003
-
9004
- innerSliderUtils.swipeEnd = swipeEnd;
9005
-
9006
9264
  var getNavigableIndexes = function getNavigableIndexes(spec) {
9007
9265
  var max = spec.infinite ? spec.slideCount * 2 : spec.slideCount;
9008
9266
  var breakpoint = spec.infinite ? spec.slidesToShow * -1 : 0;
@@ -9017,9 +9275,6 @@ var getNavigableIndexes = function getNavigableIndexes(spec) {
9017
9275
 
9018
9276
  return indexes;
9019
9277
  };
9020
-
9021
- innerSliderUtils.getNavigableIndexes = getNavigableIndexes;
9022
-
9023
9278
  var checkNavigable = function checkNavigable(spec, index) {
9024
9279
  var navigables = getNavigableIndexes(spec);
9025
9280
  var prevNavigable = 0;
@@ -9039,9 +9294,6 @@ var checkNavigable = function checkNavigable(spec, index) {
9039
9294
 
9040
9295
  return index;
9041
9296
  };
9042
-
9043
- innerSliderUtils.checkNavigable = checkNavigable;
9044
-
9045
9297
  var getSlideCount = function getSlideCount(spec) {
9046
9298
  var centerOffset = spec.centerMode ? spec.slideWidth * Math.floor(spec.slidesToShow / 2) : 0;
9047
9299
 
@@ -9076,17 +9328,13 @@ var getSlideCount = function getSlideCount(spec) {
9076
9328
  return spec.slidesToScroll;
9077
9329
  }
9078
9330
  };
9079
-
9080
- innerSliderUtils.getSlideCount = getSlideCount;
9081
-
9082
9331
  var checkSpecKeys = function checkSpecKeys(spec, keysArray) {
9083
- return keysArray.reduce(function (value, key) {
9084
- return value && spec.hasOwnProperty(key);
9085
- }, true) ? null : console.error("Keys Missing:", spec);
9332
+ return (// eslint-disable-next-line no-prototype-builtins
9333
+ keysArray.reduce(function (value, key) {
9334
+ return value && spec.hasOwnProperty(key);
9335
+ }, true) ? null : console.error("Keys Missing:", spec)
9336
+ );
9086
9337
  };
9087
-
9088
- innerSliderUtils.checkSpecKeys = checkSpecKeys;
9089
-
9090
9338
  var getTrackCSS = function getTrackCSS(spec) {
9091
9339
  checkSpecKeys(spec, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
9092
9340
  var trackWidth, trackHeight;
@@ -9108,7 +9356,7 @@ var getTrackCSS = function getTrackCSS(spec) {
9108
9356
  var WebkitTransform = !spec.vertical ? "translate3d(" + spec.left + "px, 0px, 0px)" : "translate3d(0px, " + spec.left + "px, 0px)";
9109
9357
  var transform = !spec.vertical ? "translate3d(" + spec.left + "px, 0px, 0px)" : "translate3d(0px, " + spec.left + "px, 0px)";
9110
9358
  var msTransform = !spec.vertical ? "translateX(" + spec.left + "px)" : "translateY(" + spec.left + "px)";
9111
- style = _objectSpread$4(_objectSpread$4({}, style), {}, {
9359
+ style = _objectSpread2(_objectSpread2({}, style), {}, {
9112
9360
  WebkitTransform: WebkitTransform,
9113
9361
  transform: transform,
9114
9362
  msTransform: msTransform
@@ -9137,9 +9385,6 @@ var getTrackCSS = function getTrackCSS(spec) {
9137
9385
 
9138
9386
  return style;
9139
9387
  };
9140
-
9141
- innerSliderUtils.getTrackCSS = getTrackCSS;
9142
-
9143
9388
  var getTrackAnimateCSS = function getTrackAnimateCSS(spec) {
9144
9389
  checkSpecKeys(spec, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
9145
9390
  var style = getTrackCSS(spec); // useCSS is true by default so it can be undefined
@@ -9157,9 +9402,6 @@ var getTrackAnimateCSS = function getTrackAnimateCSS(spec) {
9157
9402
 
9158
9403
  return style;
9159
9404
  };
9160
-
9161
- innerSliderUtils.getTrackAnimateCSS = getTrackAnimateCSS;
9162
-
9163
9405
  var getTrackLeft = function getTrackLeft(spec) {
9164
9406
  if (spec.unslick) {
9165
9407
  return 0;
@@ -9244,9 +9486,6 @@ var getTrackLeft = function getTrackLeft(spec) {
9244
9486
 
9245
9487
  return targetLeft;
9246
9488
  };
9247
-
9248
- innerSliderUtils.getTrackLeft = getTrackLeft;
9249
-
9250
9489
  var getPreClones = function getPreClones(spec) {
9251
9490
  if (spec.unslick || !spec.infinite) {
9252
9491
  return 0;
@@ -9258,9 +9497,6 @@ var getPreClones = function getPreClones(spec) {
9258
9497
 
9259
9498
  return spec.slidesToShow + (spec.centerMode ? 1 : 0);
9260
9499
  };
9261
-
9262
- innerSliderUtils.getPreClones = getPreClones;
9263
-
9264
9500
  var getPostClones = function getPostClones(spec) {
9265
9501
  if (spec.unslick || !spec.infinite) {
9266
9502
  return 0;
@@ -9268,15 +9504,9 @@ var getPostClones = function getPostClones(spec) {
9268
9504
 
9269
9505
  return spec.slideCount;
9270
9506
  };
9271
-
9272
- innerSliderUtils.getPostClones = getPostClones;
9273
-
9274
9507
  var getTotalSlides = function getTotalSlides(spec) {
9275
9508
  return spec.slideCount === 1 ? 1 : getPreClones(spec) + spec.slideCount + getPostClones(spec);
9276
9509
  };
9277
-
9278
- innerSliderUtils.getTotalSlides = getTotalSlides;
9279
-
9280
9510
  var siblingDirection = function siblingDirection(spec) {
9281
9511
  if (spec.targetSlide > spec.currentSlide) {
9282
9512
  if (spec.targetSlide > spec.currentSlide + slidesOnRight(spec)) {
@@ -9292,9 +9522,6 @@ var siblingDirection = function siblingDirection(spec) {
9292
9522
  return "left";
9293
9523
  }
9294
9524
  };
9295
-
9296
- innerSliderUtils.siblingDirection = siblingDirection;
9297
-
9298
9525
  var slidesOnRight = function slidesOnRight(_ref) {
9299
9526
  var slidesToShow = _ref.slidesToShow,
9300
9527
  centerMode = _ref.centerMode,
@@ -9315,9 +9542,6 @@ var slidesOnRight = function slidesOnRight(_ref) {
9315
9542
 
9316
9543
  return slidesToShow - 1;
9317
9544
  };
9318
-
9319
- innerSliderUtils.slidesOnRight = slidesOnRight;
9320
-
9321
9545
  var slidesOnLeft = function slidesOnLeft(_ref2) {
9322
9546
  var slidesToShow = _ref2.slidesToShow,
9323
9547
  centerMode = _ref2.centerMode,
@@ -9338,61 +9562,10 @@ var slidesOnLeft = function slidesOnLeft(_ref2) {
9338
9562
 
9339
9563
  return 0;
9340
9564
  };
9341
-
9342
- innerSliderUtils.slidesOnLeft = slidesOnLeft;
9343
-
9344
9565
  var canUseDOM = function canUseDOM() {
9345
9566
  return !!(typeof window !== "undefined" && window.document && window.document.createElement);
9346
9567
  };
9347
9568
 
9348
- innerSliderUtils.canUseDOM = canUseDOM;
9349
-
9350
- var track = {};
9351
-
9352
- Object.defineProperty(track, "__esModule", {
9353
- value: true
9354
- });
9355
- track.Track = void 0;
9356
-
9357
- var _react$3 = _interopRequireDefault$3(React);
9358
-
9359
- var _classnames$3 = _interopRequireDefault$3(classnames.exports);
9360
-
9361
- var _innerSliderUtils$3 = innerSliderUtils;
9362
-
9363
- function _interopRequireDefault$3(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9364
-
9365
- function _typeof$3(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$3 = function _typeof(obj) { return typeof obj; }; } else { _typeof$3 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$3(obj); }
9366
-
9367
- function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
9368
-
9369
- function _classCallCheck$3(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9370
-
9371
- function _defineProperties$3(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
9372
-
9373
- function _createClass$3(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$3(Constructor.prototype, protoProps); if (staticProps) _defineProperties$3(Constructor, staticProps); return Constructor; }
9374
-
9375
- function _inherits$3(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$3(subClass, superClass); }
9376
-
9377
- function _setPrototypeOf$3(o, p) { _setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$3(o, p); }
9378
-
9379
- function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf$3(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$3(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$3(this, result); }; }
9380
-
9381
- function _possibleConstructorReturn$3(self, call) { if (call && (_typeof$3(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$3(self); }
9382
-
9383
- function _assertThisInitialized$3(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
9384
-
9385
- function _isNativeReflectConstruct$3() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
9386
-
9387
- function _getPrototypeOf$3(o) { _getPrototypeOf$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$3(o); }
9388
-
9389
- function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
9390
-
9391
- function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$3(Object(source), true).forEach(function (key) { _defineProperty$3(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
9392
-
9393
- function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9394
-
9395
- // given specifications/props for a slide, fetch all the classes that need to be applied to the slide
9396
9569
  var getSlideClasses = function getSlideClasses(spec) {
9397
9570
  var slickActive, slickCenter, slickCloned;
9398
9571
  var centerOffset, index;
@@ -9464,7 +9637,7 @@ var getSlideStyle = function getSlideStyle(spec) {
9464
9637
  };
9465
9638
 
9466
9639
  var getKey = function getKey(child, fallbackKey) {
9467
- return child.key || fallbackKey;
9640
+ return child.key + "-" + fallbackKey;
9468
9641
  };
9469
9642
 
9470
9643
  var renderSlides = function renderSlides(spec) {
@@ -9472,13 +9645,10 @@ var renderSlides = function renderSlides(spec) {
9472
9645
  var slides = [];
9473
9646
  var preCloneSlides = [];
9474
9647
  var postCloneSlides = [];
9475
-
9476
- var childrenCount = _react$3["default"].Children.count(spec.children);
9477
-
9478
- var startIndex = (0, _innerSliderUtils$3.lazyStartIndex)(spec);
9479
- var endIndex = (0, _innerSliderUtils$3.lazyEndIndex)(spec);
9480
-
9481
- _react$3["default"].Children.forEach(spec.children, function (elem, index) {
9648
+ var childrenCount = React.Children.count(spec.children);
9649
+ var startIndex = lazyStartIndex(spec);
9650
+ var endIndex = lazyEndIndex(spec);
9651
+ React.Children.forEach(spec.children, function (elem, index) {
9482
9652
  var child;
9483
9653
  var childOnClickOptions = {
9484
9654
  message: "children",
@@ -9490,24 +9660,24 @@ var renderSlides = function renderSlides(spec) {
9490
9660
  if (!spec.lazyLoad || spec.lazyLoad && spec.lazyLoadedList.indexOf(index) >= 0) {
9491
9661
  child = elem;
9492
9662
  } else {
9493
- child = /*#__PURE__*/_react$3["default"].createElement("div", null);
9663
+ child = /*#__PURE__*/React.createElement("div", null);
9494
9664
  }
9495
9665
 
9496
- var childStyle = getSlideStyle(_objectSpread$3(_objectSpread$3({}, spec), {}, {
9666
+ var childStyle = getSlideStyle(_objectSpread2(_objectSpread2({}, spec), {}, {
9497
9667
  index: index
9498
9668
  }));
9499
9669
  var slideClass = child.props.className || "";
9500
- var slideClasses = getSlideClasses(_objectSpread$3(_objectSpread$3({}, spec), {}, {
9670
+ var slideClasses = getSlideClasses(_objectSpread2(_objectSpread2({}, spec), {}, {
9501
9671
  index: index
9502
9672
  })); // push a cloned element of the desired slide
9503
9673
 
9504
- slides.push( /*#__PURE__*/_react$3["default"].cloneElement(child, {
9674
+ slides.push( /*#__PURE__*/React.cloneElement(child, {
9505
9675
  key: "original" + getKey(child, index),
9506
9676
  "data-index": index,
9507
- className: (0, _classnames$3["default"])(slideClasses, slideClass),
9677
+ className: classnames(slideClasses, slideClass),
9508
9678
  tabIndex: "-1",
9509
9679
  "aria-hidden": !slideClasses["slick-active"],
9510
- style: _objectSpread$3(_objectSpread$3({
9680
+ style: _objectSpread2(_objectSpread2({
9511
9681
  outline: "none"
9512
9682
  }, child.props.style || {}), childStyle),
9513
9683
  onClick: function onClick(e) {
@@ -9522,23 +9692,23 @@ var renderSlides = function renderSlides(spec) {
9522
9692
  if (spec.infinite && spec.fade === false) {
9523
9693
  var preCloneNo = childrenCount - index;
9524
9694
 
9525
- if (preCloneNo <= (0, _innerSliderUtils$3.getPreClones)(spec) && childrenCount !== spec.slidesToShow) {
9695
+ if (preCloneNo <= getPreClones(spec) && childrenCount !== spec.slidesToShow) {
9526
9696
  key = -preCloneNo;
9527
9697
 
9528
9698
  if (key >= startIndex) {
9529
9699
  child = elem;
9530
9700
  }
9531
9701
 
9532
- slideClasses = getSlideClasses(_objectSpread$3(_objectSpread$3({}, spec), {}, {
9702
+ slideClasses = getSlideClasses(_objectSpread2(_objectSpread2({}, spec), {}, {
9533
9703
  index: key
9534
9704
  }));
9535
- preCloneSlides.push( /*#__PURE__*/_react$3["default"].cloneElement(child, {
9705
+ preCloneSlides.push( /*#__PURE__*/React.cloneElement(child, {
9536
9706
  key: "precloned" + getKey(child, key),
9537
9707
  "data-index": key,
9538
9708
  tabIndex: "-1",
9539
- className: (0, _classnames$3["default"])(slideClasses, slideClass),
9709
+ className: classnames(slideClasses, slideClass),
9540
9710
  "aria-hidden": !slideClasses["slick-active"],
9541
- style: _objectSpread$3(_objectSpread$3({}, child.props.style || {}), childStyle),
9711
+ style: _objectSpread2(_objectSpread2({}, child.props.style || {}), childStyle),
9542
9712
  onClick: function onClick(e) {
9543
9713
  child.props && child.props.onClick && child.props.onClick(e);
9544
9714
 
@@ -9556,16 +9726,16 @@ var renderSlides = function renderSlides(spec) {
9556
9726
  child = elem;
9557
9727
  }
9558
9728
 
9559
- slideClasses = getSlideClasses(_objectSpread$3(_objectSpread$3({}, spec), {}, {
9729
+ slideClasses = getSlideClasses(_objectSpread2(_objectSpread2({}, spec), {}, {
9560
9730
  index: key
9561
9731
  }));
9562
- postCloneSlides.push( /*#__PURE__*/_react$3["default"].cloneElement(child, {
9732
+ postCloneSlides.push( /*#__PURE__*/React.cloneElement(child, {
9563
9733
  key: "postcloned" + getKey(child, key),
9564
9734
  "data-index": key,
9565
9735
  tabIndex: "-1",
9566
- className: (0, _classnames$3["default"])(slideClasses, slideClass),
9736
+ className: classnames(slideClasses, slideClass),
9567
9737
  "aria-hidden": !slideClasses["slick-active"],
9568
- style: _objectSpread$3(_objectSpread$3({}, child.props.style || {}), childStyle),
9738
+ style: _objectSpread2(_objectSpread2({}, child.props.style || {}), childStyle),
9569
9739
  onClick: function onClick(e) {
9570
9740
  child.props && child.props.onClick && child.props.onClick(e);
9571
9741
 
@@ -9586,14 +9756,14 @@ var renderSlides = function renderSlides(spec) {
9586
9756
  };
9587
9757
 
9588
9758
  var Track = /*#__PURE__*/function (_React$PureComponent) {
9589
- _inherits$3(Track, _React$PureComponent);
9759
+ _inherits(Track, _React$PureComponent);
9590
9760
 
9591
- var _super = _createSuper$3(Track);
9761
+ var _super = _createSuper(Track);
9592
9762
 
9593
9763
  function Track() {
9594
9764
  var _this;
9595
9765
 
9596
- _classCallCheck$3(this, Track);
9766
+ _classCallCheck(this, Track);
9597
9767
 
9598
9768
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
9599
9769
  args[_key] = arguments[_key];
@@ -9601,83 +9771,38 @@ var Track = /*#__PURE__*/function (_React$PureComponent) {
9601
9771
 
9602
9772
  _this = _super.call.apply(_super, [this].concat(args));
9603
9773
 
9604
- _defineProperty$3(_assertThisInitialized$3(_this), "node", null);
9774
+ _defineProperty(_assertThisInitialized(_this), "node", null);
9605
9775
 
9606
- _defineProperty$3(_assertThisInitialized$3(_this), "handleRef", function (ref) {
9776
+ _defineProperty(_assertThisInitialized(_this), "handleRef", function (ref) {
9607
9777
  _this.node = ref;
9608
9778
  });
9609
9779
 
9610
9780
  return _this;
9611
9781
  }
9612
9782
 
9613
- _createClass$3(Track, [{
9783
+ _createClass(Track, [{
9614
9784
  key: "render",
9615
- value: function render() {
9616
- var slides = renderSlides(this.props);
9617
- var _this$props = this.props,
9618
- onMouseEnter = _this$props.onMouseEnter,
9619
- onMouseOver = _this$props.onMouseOver,
9620
- onMouseLeave = _this$props.onMouseLeave;
9621
- var mouseEvents = {
9622
- onMouseEnter: onMouseEnter,
9623
- onMouseOver: onMouseOver,
9624
- onMouseLeave: onMouseLeave
9625
- };
9626
- return /*#__PURE__*/_react$3["default"].createElement("div", _extends$2({
9627
- ref: this.handleRef,
9628
- className: "slick-track",
9629
- style: this.props.trackStyle
9630
- }, mouseEvents), slides);
9631
- }
9632
- }]);
9633
-
9634
- return Track;
9635
- }(_react$3["default"].PureComponent);
9636
-
9637
- track.Track = Track;
9638
-
9639
- var dots = {};
9640
-
9641
- Object.defineProperty(dots, "__esModule", {
9642
- value: true
9643
- });
9644
- dots.Dots = void 0;
9645
-
9646
- var _react$2 = _interopRequireDefault$2(React);
9647
-
9648
- var _classnames$2 = _interopRequireDefault$2(classnames.exports);
9649
-
9650
- var _innerSliderUtils$2 = innerSliderUtils;
9651
-
9652
- function _interopRequireDefault$2(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9653
-
9654
- function _typeof$2(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$2 = function _typeof(obj) { return typeof obj; }; } else { _typeof$2 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$2(obj); }
9655
-
9656
- function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
9657
-
9658
- function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$2(Object(source), true).forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
9659
-
9660
- function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9661
-
9662
- function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9663
-
9664
- function _defineProperties$2(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
9665
-
9666
- function _createClass$2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$2(Constructor.prototype, protoProps); if (staticProps) _defineProperties$2(Constructor, staticProps); return Constructor; }
9667
-
9668
- function _inherits$2(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$2(subClass, superClass); }
9669
-
9670
- function _setPrototypeOf$2(o, p) { _setPrototypeOf$2 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$2(o, p); }
9671
-
9672
- function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf$2(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$2(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$2(this, result); }; }
9673
-
9674
- function _possibleConstructorReturn$2(self, call) { if (call && (_typeof$2(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$2(self); }
9675
-
9676
- function _assertThisInitialized$2(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
9677
-
9678
- function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
9785
+ value: function render() {
9786
+ var slides = renderSlides(this.props);
9787
+ var _this$props = this.props,
9788
+ onMouseEnter = _this$props.onMouseEnter,
9789
+ onMouseOver = _this$props.onMouseOver,
9790
+ onMouseLeave = _this$props.onMouseLeave;
9791
+ var mouseEvents = {
9792
+ onMouseEnter: onMouseEnter,
9793
+ onMouseOver: onMouseOver,
9794
+ onMouseLeave: onMouseLeave
9795
+ };
9796
+ return /*#__PURE__*/React.createElement("div", _extends$1({
9797
+ ref: this.handleRef,
9798
+ className: "slick-track",
9799
+ style: this.props.trackStyle
9800
+ }, mouseEvents), slides);
9801
+ }
9802
+ }]);
9679
9803
 
9680
- function _getPrototypeOf$2(o) { _getPrototypeOf$2 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$2(o); }
9804
+ return Track;
9805
+ }(React.PureComponent);
9681
9806
 
9682
9807
  var getDotCount = function getDotCount(spec) {
9683
9808
  var dots;
@@ -9692,17 +9817,17 @@ var getDotCount = function getDotCount(spec) {
9692
9817
  };
9693
9818
 
9694
9819
  var Dots = /*#__PURE__*/function (_React$PureComponent) {
9695
- _inherits$2(Dots, _React$PureComponent);
9820
+ _inherits(Dots, _React$PureComponent);
9696
9821
 
9697
- var _super = _createSuper$2(Dots);
9822
+ var _super = _createSuper(Dots);
9698
9823
 
9699
9824
  function Dots() {
9700
- _classCallCheck$2(this, Dots);
9825
+ _classCallCheck(this, Dots);
9701
9826
 
9702
9827
  return _super.apply(this, arguments);
9703
9828
  }
9704
9829
 
9705
- _createClass$2(Dots, [{
9830
+ _createClass(Dots, [{
9706
9831
  key: "clickHandler",
9707
9832
  value: function clickHandler(options, e) {
9708
9833
  // In Autoplay the focus stays on clicked button even after transition
@@ -9738,12 +9863,12 @@ var Dots = /*#__PURE__*/function (_React$PureComponent) {
9738
9863
  for (var i = 0; i < dotCount; i++) {
9739
9864
  var _rightBound = (i + 1) * slidesToScroll - 1;
9740
9865
 
9741
- var rightBound = infinite ? _rightBound : (0, _innerSliderUtils$2.clamp)(_rightBound, 0, slideCount - 1);
9866
+ var rightBound = infinite ? _rightBound : clamp(_rightBound, 0, slideCount - 1);
9742
9867
 
9743
9868
  var _leftBound = rightBound - (slidesToScroll - 1);
9744
9869
 
9745
- var leftBound = infinite ? _leftBound : (0, _innerSliderUtils$2.clamp)(_leftBound, 0, slideCount - 1);
9746
- var className = (0, _classnames$2["default"])({
9870
+ var leftBound = infinite ? _leftBound : clamp(_leftBound, 0, slideCount - 1);
9871
+ var className = classnames({
9747
9872
  "slick-active": infinite ? currentSlide >= leftBound && currentSlide <= rightBound : currentSlide === leftBound
9748
9873
  });
9749
9874
  var dotOptions = {
@@ -9753,82 +9878,35 @@ var Dots = /*#__PURE__*/function (_React$PureComponent) {
9753
9878
  currentSlide: currentSlide
9754
9879
  };
9755
9880
  var onClick = this.clickHandler.bind(this, dotOptions);
9756
- dots = dots.concat( /*#__PURE__*/_react$2["default"].createElement("li", {
9881
+ dots = dots.concat( /*#__PURE__*/React.createElement("li", {
9757
9882
  key: i,
9758
9883
  className: className
9759
- }, /*#__PURE__*/_react$2["default"].cloneElement(this.props.customPaging(i), {
9884
+ }, /*#__PURE__*/React.cloneElement(this.props.customPaging(i), {
9760
9885
  onClick: onClick
9761
9886
  })));
9762
9887
  }
9763
9888
 
9764
- return /*#__PURE__*/_react$2["default"].cloneElement(this.props.appendDots(dots), _objectSpread$2({
9889
+ return /*#__PURE__*/React.cloneElement(this.props.appendDots(dots), _objectSpread2({
9765
9890
  className: this.props.dotsClass
9766
9891
  }, mouseEvents));
9767
9892
  }
9768
9893
  }]);
9769
9894
 
9770
9895
  return Dots;
9771
- }(_react$2["default"].PureComponent);
9772
-
9773
- dots.Dots = Dots;
9774
-
9775
- var arrows = {};
9776
-
9777
- Object.defineProperty(arrows, "__esModule", {
9778
- value: true
9779
- });
9780
- arrows.NextArrow = arrows.PrevArrow = void 0;
9781
-
9782
- var _react$1 = _interopRequireDefault$1(React);
9783
-
9784
- var _classnames$1 = _interopRequireDefault$1(classnames.exports);
9785
-
9786
- var _innerSliderUtils$1 = innerSliderUtils;
9787
-
9788
- function _interopRequireDefault$1(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9789
-
9790
- function _typeof$1(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$1 = function _typeof(obj) { return typeof obj; }; } else { _typeof$1 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$1(obj); }
9791
-
9792
- function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
9793
-
9794
- function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
9795
-
9796
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$1(Object(source), true).forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
9797
-
9798
- function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9799
-
9800
- function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9801
-
9802
- function _defineProperties$1(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
9803
-
9804
- function _createClass$1(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); if (staticProps) _defineProperties$1(Constructor, staticProps); return Constructor; }
9805
-
9806
- function _inherits$1(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$1(subClass, superClass); }
9807
-
9808
- function _setPrototypeOf$1(o, p) { _setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$1(o, p); }
9809
-
9810
- function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf$1(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$1(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$1(this, result); }; }
9811
-
9812
- function _possibleConstructorReturn$1(self, call) { if (call && (_typeof$1(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$1(self); }
9813
-
9814
- function _assertThisInitialized$1(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
9815
-
9816
- function _isNativeReflectConstruct$1() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
9817
-
9818
- function _getPrototypeOf$1(o) { _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$1(o); }
9896
+ }(React.PureComponent);
9819
9897
 
9820
9898
  var PrevArrow = /*#__PURE__*/function (_React$PureComponent) {
9821
- _inherits$1(PrevArrow, _React$PureComponent);
9899
+ _inherits(PrevArrow, _React$PureComponent);
9822
9900
 
9823
- var _super = _createSuper$1(PrevArrow);
9901
+ var _super = _createSuper(PrevArrow);
9824
9902
 
9825
9903
  function PrevArrow() {
9826
- _classCallCheck$1(this, PrevArrow);
9904
+ _classCallCheck(this, PrevArrow);
9827
9905
 
9828
9906
  return _super.apply(this, arguments);
9829
9907
  }
9830
9908
 
9831
- _createClass$1(PrevArrow, [{
9909
+ _createClass(PrevArrow, [{
9832
9910
  key: "clickHandler",
9833
9911
  value: function clickHandler(options, e) {
9834
9912
  if (e) {
@@ -9856,7 +9934,7 @@ var PrevArrow = /*#__PURE__*/function (_React$PureComponent) {
9856
9934
  var prevArrowProps = {
9857
9935
  key: "0",
9858
9936
  "data-role": "none",
9859
- className: (0, _classnames$1["default"])(prevClasses),
9937
+ className: classnames(prevClasses),
9860
9938
  style: {
9861
9939
  display: "block"
9862
9940
  },
@@ -9869,9 +9947,9 @@ var PrevArrow = /*#__PURE__*/function (_React$PureComponent) {
9869
9947
  var prevArrow;
9870
9948
 
9871
9949
  if (this.props.prevArrow) {
9872
- prevArrow = /*#__PURE__*/_react$1["default"].cloneElement(this.props.prevArrow, _objectSpread$1(_objectSpread$1({}, prevArrowProps), customProps));
9950
+ prevArrow = /*#__PURE__*/React.cloneElement(this.props.prevArrow, _objectSpread2(_objectSpread2({}, prevArrowProps), customProps));
9873
9951
  } else {
9874
- prevArrow = /*#__PURE__*/_react$1["default"].createElement("button", _extends$1({
9952
+ prevArrow = /*#__PURE__*/React.createElement("button", _extends$1({
9875
9953
  key: "0",
9876
9954
  type: "button"
9877
9955
  }, prevArrowProps), " ", "Previous");
@@ -9882,22 +9960,19 @@ var PrevArrow = /*#__PURE__*/function (_React$PureComponent) {
9882
9960
  }]);
9883
9961
 
9884
9962
  return PrevArrow;
9885
- }(_react$1["default"].PureComponent);
9886
-
9887
- arrows.PrevArrow = PrevArrow;
9888
-
9963
+ }(React.PureComponent);
9889
9964
  var NextArrow = /*#__PURE__*/function (_React$PureComponent2) {
9890
- _inherits$1(NextArrow, _React$PureComponent2);
9965
+ _inherits(NextArrow, _React$PureComponent2);
9891
9966
 
9892
- var _super2 = _createSuper$1(NextArrow);
9967
+ var _super2 = _createSuper(NextArrow);
9893
9968
 
9894
9969
  function NextArrow() {
9895
- _classCallCheck$1(this, NextArrow);
9970
+ _classCallCheck(this, NextArrow);
9896
9971
 
9897
9972
  return _super2.apply(this, arguments);
9898
9973
  }
9899
9974
 
9900
- _createClass$1(NextArrow, [{
9975
+ _createClass(NextArrow, [{
9901
9976
  key: "clickHandler",
9902
9977
  value: function clickHandler(options, e) {
9903
9978
  if (e) {
@@ -9917,7 +9992,7 @@ var NextArrow = /*#__PURE__*/function (_React$PureComponent2) {
9917
9992
  message: "next"
9918
9993
  });
9919
9994
 
9920
- if (!(0, _innerSliderUtils$1.canGoNext)(this.props)) {
9995
+ if (!canGoNext(this.props)) {
9921
9996
  nextClasses["slick-disabled"] = true;
9922
9997
  nextHandler = null;
9923
9998
  }
@@ -9925,7 +10000,7 @@ var NextArrow = /*#__PURE__*/function (_React$PureComponent2) {
9925
10000
  var nextArrowProps = {
9926
10001
  key: "1",
9927
10002
  "data-role": "none",
9928
- className: (0, _classnames$1["default"])(nextClasses),
10003
+ className: classnames(nextClasses),
9929
10004
  style: {
9930
10005
  display: "block"
9931
10006
  },
@@ -9938,9 +10013,9 @@ var NextArrow = /*#__PURE__*/function (_React$PureComponent2) {
9938
10013
  var nextArrow;
9939
10014
 
9940
10015
  if (this.props.nextArrow) {
9941
- nextArrow = /*#__PURE__*/_react$1["default"].cloneElement(this.props.nextArrow, _objectSpread$1(_objectSpread$1({}, nextArrowProps), customProps));
10016
+ nextArrow = /*#__PURE__*/React.cloneElement(this.props.nextArrow, _objectSpread2(_objectSpread2({}, nextArrowProps), customProps));
9942
10017
  } else {
9943
- nextArrow = /*#__PURE__*/_react$1["default"].createElement("button", _extends$1({
10018
+ nextArrow = /*#__PURE__*/React.createElement("button", _extends$1({
9944
10019
  key: "1",
9945
10020
  type: "button"
9946
10021
  }, nextArrowProps), " ", "Next");
@@ -9951,9 +10026,7 @@ var NextArrow = /*#__PURE__*/function (_React$PureComponent2) {
9951
10026
  }]);
9952
10027
 
9953
10028
  return NextArrow;
9954
- }(_react$1["default"].PureComponent);
9955
-
9956
- arrows.NextArrow = NextArrow;
10029
+ }(React.PureComponent);
9957
10030
 
9958
10031
  /**
9959
10032
  * A collection of shims that provide minimal functionality of the ES6 collections.
@@ -10882,72 +10955,6 @@ var index$1 = (function () {
10882
10955
  return ResizeObserver;
10883
10956
  })();
10884
10957
 
10885
- var ResizeObserver_es = /*#__PURE__*/Object.freeze({
10886
- __proto__: null,
10887
- 'default': index$1
10888
- });
10889
-
10890
- var require$$8 = /*@__PURE__*/getAugmentedNamespace(ResizeObserver_es);
10891
-
10892
- Object.defineProperty(innerSlider, "__esModule", {
10893
- value: true
10894
- });
10895
- innerSlider.InnerSlider = void 0;
10896
-
10897
- var _react = _interopRequireDefault(React);
10898
-
10899
- var _initialState = _interopRequireDefault(initialState);
10900
-
10901
- var _lodash = _interopRequireDefault(lodash_debounce);
10902
-
10903
- var _classnames = _interopRequireDefault(classnames.exports);
10904
-
10905
- var _innerSliderUtils = innerSliderUtils;
10906
-
10907
- var _track = track;
10908
-
10909
- var _dots = dots;
10910
-
10911
- var _arrows = arrows;
10912
-
10913
- var _resizeObserverPolyfill = _interopRequireDefault(require$$8);
10914
-
10915
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10916
-
10917
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
10918
-
10919
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
10920
-
10921
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10922
-
10923
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10924
-
10925
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
10926
-
10927
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
10928
-
10929
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
10930
-
10931
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
10932
-
10933
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
10934
-
10935
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
10936
-
10937
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
10938
-
10939
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10940
-
10941
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
10942
-
10943
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
10944
-
10945
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
10946
-
10947
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
10948
-
10949
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10950
-
10951
10958
  var InnerSlider = /*#__PURE__*/function (_React$Component) {
10952
10959
  _inherits(InnerSlider, _React$Component);
10953
10960
 
@@ -10972,7 +10979,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
10972
10979
  if (_this.props.adaptiveHeight && _this.list) {
10973
10980
  var elem = _this.list.querySelector("[data-index=\"".concat(_this.state.currentSlide, "\"]"));
10974
10981
 
10975
- _this.list.style.height = (0, _innerSliderUtils.getHeight)(elem) + "px";
10982
+ _this.list.style.height = getHeight(elem) + "px";
10976
10983
  }
10977
10984
  });
10978
10985
 
@@ -10980,7 +10987,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
10980
10987
  _this.props.onInit && _this.props.onInit();
10981
10988
 
10982
10989
  if (_this.props.lazyLoad) {
10983
- var slidesToLoad = (0, _innerSliderUtils.getOnDemandLazySlides)(_objectSpread(_objectSpread({}, _this.props), _this.state));
10990
+ var slidesToLoad = getOnDemandLazySlides(_objectSpread2(_objectSpread2({}, _this.props), _this.state));
10984
10991
 
10985
10992
  if (slidesToLoad.length > 0) {
10986
10993
  _this.setState(function (prevState) {
@@ -10995,7 +11002,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
10995
11002
  }
10996
11003
  }
10997
11004
 
10998
- var spec = _objectSpread({
11005
+ var spec = _objectSpread2({
10999
11006
  listRef: _this.list,
11000
11007
  trackRef: _this.track
11001
11008
  }, _this.props);
@@ -11003,14 +11010,14 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11003
11010
  _this.updateState(spec, true, function () {
11004
11011
  _this.adaptHeight();
11005
11012
 
11006
- _this.props.autoplay && _this.autoPlay("update");
11013
+ _this.props.autoplay && _this.autoPlay("playing");
11007
11014
  });
11008
11015
 
11009
11016
  if (_this.props.lazyLoad === "progressive") {
11010
11017
  _this.lazyLoadTimer = setInterval(_this.progressiveLazyLoad, 1000);
11011
11018
  }
11012
11019
 
11013
- _this.ro = new _resizeObserverPolyfill["default"](function () {
11020
+ _this.ro = new index$1(function () {
11014
11021
  if (_this.state.animating) {
11015
11022
  _this.onWindowResized(false); // don't set trackStyle hence don't break animation
11016
11023
 
@@ -11073,7 +11080,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11073
11080
  _this.props.onReInit && _this.props.onReInit();
11074
11081
 
11075
11082
  if (_this.props.lazyLoad) {
11076
- var slidesToLoad = (0, _innerSliderUtils.getOnDemandLazySlides)(_objectSpread(_objectSpread({}, _this.props), _this.state));
11083
+ var slidesToLoad = getOnDemandLazySlides(_objectSpread2(_objectSpread2({}, _this.props), _this.state));
11077
11084
 
11078
11085
  if (slidesToLoad.length > 0) {
11079
11086
  _this.setState(function (prevState) {
@@ -11093,7 +11100,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11093
11100
 
11094
11101
  _this.adaptHeight();
11095
11102
 
11096
- var spec = _objectSpread(_objectSpread({
11103
+ var spec = _objectSpread2(_objectSpread2({
11097
11104
  listRef: _this.list,
11098
11105
  trackRef: _this.track
11099
11106
  }, _this.props), _this.state);
@@ -11101,25 +11108,29 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11101
11108
  var setTrackStyle = _this.didPropsChange(prevProps);
11102
11109
 
11103
11110
  setTrackStyle && _this.updateState(spec, setTrackStyle, function () {
11104
- if (_this.state.currentSlide >= _react["default"].Children.count(_this.props.children)) {
11111
+ if (_this.state.currentSlide >= React.Children.count(_this.props.children)) {
11105
11112
  _this.changeSlide({
11106
11113
  message: "index",
11107
- index: _react["default"].Children.count(_this.props.children) - _this.props.slidesToShow,
11114
+ index: React.Children.count(_this.props.children) - _this.props.slidesToShow,
11108
11115
  currentSlide: _this.state.currentSlide
11109
11116
  });
11110
11117
  }
11111
11118
 
11112
- if (_this.props.autoplay) {
11113
- _this.autoPlay("update");
11114
- } else {
11115
- _this.pause("paused");
11119
+ if (prevProps.autoplay !== _this.props.autoplay || prevProps.autoplaySpeed !== _this.props.autoplaySpeed) {
11120
+ if (!prevProps.autoplay && _this.props.autoplay) {
11121
+ _this.autoPlay("playing");
11122
+ } else if (_this.props.autoplay) {
11123
+ _this.autoPlay("update");
11124
+ } else {
11125
+ _this.pause("paused");
11126
+ }
11116
11127
  }
11117
11128
  });
11118
11129
  });
11119
11130
 
11120
11131
  _defineProperty(_assertThisInitialized(_this), "onWindowResized", function (setTrackStyle) {
11121
11132
  if (_this.debouncedResize) _this.debouncedResize.cancel();
11122
- _this.debouncedResize = (0, _lodash["default"])(function () {
11133
+ _this.debouncedResize = debounce_1(function () {
11123
11134
  return _this.resizeWindow(setTrackStyle);
11124
11135
  }, 50);
11125
11136
 
@@ -11132,7 +11143,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11132
11143
 
11133
11144
  if (!isTrackMounted) return;
11134
11145
 
11135
- var spec = _objectSpread(_objectSpread({
11146
+ var spec = _objectSpread2(_objectSpread2({
11136
11147
  listRef: _this.list,
11137
11148
  trackRef: _this.track
11138
11149
  }, _this.props), _this.state);
@@ -11151,17 +11162,17 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11151
11162
  });
11152
11163
 
11153
11164
  _defineProperty(_assertThisInitialized(_this), "updateState", function (spec, setTrackStyle, callback) {
11154
- var updatedState = (0, _innerSliderUtils.initializedState)(spec);
11155
- spec = _objectSpread(_objectSpread(_objectSpread({}, spec), updatedState), {}, {
11165
+ var updatedState = initializedState(spec);
11166
+ spec = _objectSpread2(_objectSpread2(_objectSpread2({}, spec), updatedState), {}, {
11156
11167
  slideIndex: updatedState.currentSlide
11157
11168
  });
11158
- var targetLeft = (0, _innerSliderUtils.getTrackLeft)(spec);
11159
- spec = _objectSpread(_objectSpread({}, spec), {}, {
11169
+ var targetLeft = getTrackLeft(spec);
11170
+ spec = _objectSpread2(_objectSpread2({}, spec), {}, {
11160
11171
  left: targetLeft
11161
11172
  });
11162
- var trackStyle = (0, _innerSliderUtils.getTrackCSS)(spec);
11173
+ var trackStyle = getTrackCSS(spec);
11163
11174
 
11164
- if (setTrackStyle || _react["default"].Children.count(_this.props.children) !== _react["default"].Children.count(spec.children)) {
11175
+ if (setTrackStyle || React.Children.count(_this.props.children) !== React.Children.count(spec.children)) {
11165
11176
  updatedState["trackStyle"] = trackStyle;
11166
11177
  }
11167
11178
 
@@ -11173,10 +11184,10 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11173
11184
  var _trackWidth = 0,
11174
11185
  _trackLeft = 0;
11175
11186
  var childrenWidths = [];
11176
- var preClones = (0, _innerSliderUtils.getPreClones)(_objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
11187
+ var preClones = getPreClones(_objectSpread2(_objectSpread2(_objectSpread2({}, _this.props), _this.state), {}, {
11177
11188
  slideCount: _this.props.children.length
11178
11189
  }));
11179
- var postClones = (0, _innerSliderUtils.getPostClones)(_objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
11190
+ var postClones = getPostClones(_objectSpread2(_objectSpread2(_objectSpread2({}, _this.props), _this.state), {}, {
11180
11191
  slideCount: _this.props.children.length
11181
11192
  }));
11182
11193
 
@@ -11213,16 +11224,16 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11213
11224
  };
11214
11225
  }
11215
11226
 
11216
- var childrenCount = _react["default"].Children.count(_this.props.children);
11227
+ var childrenCount = React.Children.count(_this.props.children);
11217
11228
 
11218
- var spec = _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
11229
+ var spec = _objectSpread2(_objectSpread2(_objectSpread2({}, _this.props), _this.state), {}, {
11219
11230
  slideCount: childrenCount
11220
11231
  });
11221
11232
 
11222
- var slideCount = (0, _innerSliderUtils.getPreClones)(spec) + (0, _innerSliderUtils.getPostClones)(spec) + childrenCount;
11233
+ var slideCount = getPreClones(spec) + getPostClones(spec) + childrenCount;
11223
11234
  var trackWidth = 100 / _this.props.slidesToShow * slideCount;
11224
11235
  var slideWidth = 100 / slideCount;
11225
- var trackLeft = -slideWidth * ((0, _innerSliderUtils.getPreClones)(spec) + _this.state.currentSlide) * trackWidth / 100;
11236
+ var trackLeft = -slideWidth * (getPreClones(spec) + _this.state.currentSlide) * trackWidth / 100;
11226
11237
 
11227
11238
  if (_this.props.centerMode) {
11228
11239
  trackLeft += (100 - slideWidth * trackWidth / 100) / 2;
@@ -11282,16 +11293,16 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11282
11293
  _defineProperty(_assertThisInitialized(_this), "progressiveLazyLoad", function () {
11283
11294
  var slidesToLoad = [];
11284
11295
 
11285
- var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);
11296
+ var spec = _objectSpread2(_objectSpread2({}, _this.props), _this.state);
11286
11297
 
11287
- for (var index = _this.state.currentSlide; index < _this.state.slideCount + (0, _innerSliderUtils.getPostClones)(spec); index++) {
11298
+ for (var index = _this.state.currentSlide; index < _this.state.slideCount + getPostClones(spec); index++) {
11288
11299
  if (_this.state.lazyLoadedList.indexOf(index) < 0) {
11289
11300
  slidesToLoad.push(index);
11290
11301
  break;
11291
11302
  }
11292
11303
  }
11293
11304
 
11294
- for (var _index = _this.state.currentSlide - 1; _index >= -(0, _innerSliderUtils.getPreClones)(spec); _index--) {
11305
+ for (var _index = _this.state.currentSlide - 1; _index >= -getPreClones(spec); _index--) {
11295
11306
  if (_this.state.lazyLoadedList.indexOf(_index) < 0) {
11296
11307
  slidesToLoad.push(_index);
11297
11308
  break;
@@ -11327,7 +11338,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11327
11338
 
11328
11339
  var currentSlide = _this.state.currentSlide;
11329
11340
 
11330
- var _slideHandler = (0, _innerSliderUtils.slideHandler)(_objectSpread(_objectSpread(_objectSpread({
11341
+ var _slideHandler = slideHandler(_objectSpread2(_objectSpread2(_objectSpread2({
11331
11342
  index: index
11332
11343
  }, _this.props), _this.state), {}, {
11333
11344
  trackRef: _this.track,
@@ -11378,9 +11389,9 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11378
11389
  _defineProperty(_assertThisInitialized(_this), "changeSlide", function (options) {
11379
11390
  var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
11380
11391
 
11381
- var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);
11392
+ var spec = _objectSpread2(_objectSpread2({}, _this.props), _this.state);
11382
11393
 
11383
- var targetSlide = (0, _innerSliderUtils.changeSlide)(spec, options);
11394
+ var targetSlide = changeSlide(spec, options);
11384
11395
  if (targetSlide !== 0 && !targetSlide) return;
11385
11396
 
11386
11397
  if (dontAnimate === true) {
@@ -11408,7 +11419,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11408
11419
  });
11409
11420
 
11410
11421
  _defineProperty(_assertThisInitialized(_this), "keyHandler", function (e) {
11411
- var dir = (0, _innerSliderUtils.keyHandler)(e, _this.props.accessibility, _this.props.rtl);
11422
+ var dir = keyHandler(e, _this.props.accessibility, _this.props.rtl);
11412
11423
  dir !== "" && _this.changeSlide({
11413
11424
  message: dir
11414
11425
  });
@@ -11437,12 +11448,12 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11437
11448
  _this.disableBodyScroll();
11438
11449
  }
11439
11450
 
11440
- var state = (0, _innerSliderUtils.swipeStart)(e, _this.props.swipe, _this.props.draggable);
11451
+ var state = swipeStart(e, _this.props.swipe, _this.props.draggable);
11441
11452
  state !== "" && _this.setState(state);
11442
11453
  });
11443
11454
 
11444
11455
  _defineProperty(_assertThisInitialized(_this), "swipeMove", function (e) {
11445
- var state = (0, _innerSliderUtils.swipeMove)(e, _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
11456
+ var state = swipeMove(e, _objectSpread2(_objectSpread2(_objectSpread2({}, _this.props), _this.state), {}, {
11446
11457
  trackRef: _this.track,
11447
11458
  listRef: _this.list,
11448
11459
  slideIndex: _this.state.currentSlide
@@ -11457,7 +11468,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11457
11468
  });
11458
11469
 
11459
11470
  _defineProperty(_assertThisInitialized(_this), "swipeEnd", function (e) {
11460
- var state = (0, _innerSliderUtils.swipeEnd)(e, _objectSpread(_objectSpread(_objectSpread({}, _this.props), _this.state), {}, {
11471
+ var state = swipeEnd(e, _objectSpread2(_objectSpread2(_objectSpread2({}, _this.props), _this.state), {}, {
11461
11472
  trackRef: _this.track,
11462
11473
  listRef: _this.list,
11463
11474
  slideIndex: _this.state.currentSlide
@@ -11522,7 +11533,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11522
11533
  if (_this.props.rtl) {
11523
11534
  nextIndex = _this.state.currentSlide - _this.props.slidesToScroll;
11524
11535
  } else {
11525
- if ((0, _innerSliderUtils.canGoNext)(_objectSpread(_objectSpread({}, _this.props), _this.state))) {
11536
+ if (canGoNext(_objectSpread2(_objectSpread2({}, _this.props), _this.state))) {
11526
11537
  nextIndex = _this.state.currentSlide + _this.props.slidesToScroll;
11527
11538
  } else {
11528
11539
  return false;
@@ -11613,16 +11624,16 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11613
11624
  });
11614
11625
 
11615
11626
  _defineProperty(_assertThisInitialized(_this), "render", function () {
11616
- var className = (0, _classnames["default"])("slick-slider", _this.props.className, {
11627
+ var className = classnames("slick-slider", _this.props.className, {
11617
11628
  "slick-vertical": _this.props.vertical,
11618
11629
  "slick-initialized": true
11619
11630
  });
11620
11631
 
11621
- var spec = _objectSpread(_objectSpread({}, _this.props), _this.state);
11632
+ var spec = _objectSpread2(_objectSpread2({}, _this.props), _this.state);
11622
11633
 
11623
- var trackProps = (0, _innerSliderUtils.extractObject)(spec, ["fade", "cssEase", "speed", "infinite", "centerMode", "focusOnSelect", "currentSlide", "lazyLoad", "lazyLoadedList", "rtl", "slideWidth", "slideHeight", "listHeight", "vertical", "slidesToShow", "slidesToScroll", "slideCount", "trackStyle", "variableWidth", "unslick", "centerPadding", "targetSlide", "useCSS"]);
11634
+ var trackProps = extractObject(spec, ["fade", "cssEase", "speed", "infinite", "centerMode", "focusOnSelect", "currentSlide", "lazyLoad", "lazyLoadedList", "rtl", "slideWidth", "slideHeight", "listHeight", "vertical", "slidesToShow", "slidesToScroll", "slideCount", "trackStyle", "variableWidth", "unslick", "centerPadding", "targetSlide", "useCSS"]);
11624
11635
  var pauseOnHover = _this.props.pauseOnHover;
11625
- trackProps = _objectSpread(_objectSpread({}, trackProps), {}, {
11636
+ trackProps = _objectSpread2(_objectSpread2({}, trackProps), {}, {
11626
11637
  onMouseEnter: pauseOnHover ? _this.onTrackOver : null,
11627
11638
  onMouseLeave: pauseOnHover ? _this.onTrackLeave : null,
11628
11639
  onMouseOver: pauseOnHover ? _this.onTrackOver : null,
@@ -11631,24 +11642,24 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11631
11642
  var dots;
11632
11643
 
11633
11644
  if (_this.props.dots === true && _this.state.slideCount >= _this.props.slidesToShow) {
11634
- var dotProps = (0, _innerSliderUtils.extractObject)(spec, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]);
11645
+ var dotProps = extractObject(spec, ["dotsClass", "slideCount", "slidesToShow", "currentSlide", "slidesToScroll", "clickHandler", "children", "customPaging", "infinite", "appendDots"]);
11635
11646
  var pauseOnDotsHover = _this.props.pauseOnDotsHover;
11636
- dotProps = _objectSpread(_objectSpread({}, dotProps), {}, {
11647
+ dotProps = _objectSpread2(_objectSpread2({}, dotProps), {}, {
11637
11648
  clickHandler: _this.changeSlide,
11638
11649
  onMouseEnter: pauseOnDotsHover ? _this.onDotsLeave : null,
11639
11650
  onMouseOver: pauseOnDotsHover ? _this.onDotsOver : null,
11640
11651
  onMouseLeave: pauseOnDotsHover ? _this.onDotsLeave : null
11641
11652
  });
11642
- dots = /*#__PURE__*/_react["default"].createElement(_dots.Dots, dotProps);
11653
+ dots = /*#__PURE__*/React.createElement(Dots, dotProps);
11643
11654
  }
11644
11655
 
11645
11656
  var prevArrow, nextArrow;
11646
- var arrowProps = (0, _innerSliderUtils.extractObject)(spec, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
11657
+ var arrowProps = extractObject(spec, ["infinite", "centerMode", "currentSlide", "slideCount", "slidesToShow", "prevArrow", "nextArrow"]);
11647
11658
  arrowProps.clickHandler = _this.changeSlide;
11648
11659
 
11649
11660
  if (_this.props.arrows) {
11650
- prevArrow = /*#__PURE__*/_react["default"].createElement(_arrows.PrevArrow, arrowProps);
11651
- nextArrow = /*#__PURE__*/_react["default"].createElement(_arrows.NextArrow, arrowProps);
11661
+ prevArrow = /*#__PURE__*/React.createElement(PrevArrow, arrowProps);
11662
+ nextArrow = /*#__PURE__*/React.createElement(NextArrow, arrowProps);
11652
11663
  }
11653
11664
 
11654
11665
  var verticalHeightStyle = null;
@@ -11675,7 +11686,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11675
11686
  }
11676
11687
  }
11677
11688
 
11678
- var listStyle = _objectSpread(_objectSpread({}, verticalHeightStyle), centerPaddingStyle);
11689
+ var listStyle = _objectSpread2(_objectSpread2({}, verticalHeightStyle), centerPaddingStyle);
11679
11690
 
11680
11691
  var touchMove = _this.props.touchMove;
11681
11692
  var listProps = {
@@ -11707,18 +11718,18 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11707
11718
  };
11708
11719
  }
11709
11720
 
11710
- return /*#__PURE__*/_react["default"].createElement("div", innerSliderProps, !_this.props.unslick ? prevArrow : "", /*#__PURE__*/_react["default"].createElement("div", _extends({
11721
+ return /*#__PURE__*/React.createElement("div", innerSliderProps, !_this.props.unslick ? prevArrow : "", /*#__PURE__*/React.createElement("div", _extends$1({
11711
11722
  ref: _this.listRefHandler
11712
- }, listProps), /*#__PURE__*/_react["default"].createElement(_track.Track, _extends({
11723
+ }, listProps), /*#__PURE__*/React.createElement(Track, _extends$1({
11713
11724
  ref: _this.trackRefHandler
11714
11725
  }, trackProps), _this.props.children)), !_this.props.unslick ? nextArrow : "", !_this.props.unslick ? dots : "");
11715
11726
  });
11716
11727
 
11717
11728
  _this.list = null;
11718
11729
  _this.track = null;
11719
- _this.state = _objectSpread(_objectSpread({}, _initialState["default"]), {}, {
11730
+ _this.state = _objectSpread2(_objectSpread2({}, initialState), {}, {
11720
11731
  currentSlide: _this.props.initialSlide,
11721
- slideCount: _react["default"].Children.count(_this.props.children)
11732
+ slideCount: React.Children.count(_this.props.children)
11722
11733
  });
11723
11734
  _this.callbackTimers = [];
11724
11735
  _this.clickable = true;
@@ -11726,7 +11737,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11726
11737
 
11727
11738
  var ssrState = _this.ssrInit();
11728
11739
 
11729
- _this.state = _objectSpread(_objectSpread({}, _this.state), ssrState);
11740
+ _this.state = _objectSpread2(_objectSpread2({}, _this.state), ssrState);
11730
11741
  return _this;
11731
11742
  }
11732
11743
 
@@ -11738,6 +11749,7 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11738
11749
  for (var _i3 = 0, _Object$keys = Object.keys(this.props); _i3 < _Object$keys.length; _i3++) {
11739
11750
  var key = _Object$keys[_i3];
11740
11751
 
11752
+ // eslint-disable-next-line no-prototype-builtins
11741
11753
  if (!prevProps.hasOwnProperty(key)) {
11742
11754
  setTrackStyle = true;
11743
11755
  break;
@@ -11753,14 +11765,12 @@ var InnerSlider = /*#__PURE__*/function (_React$Component) {
11753
11765
  }
11754
11766
  }
11755
11767
 
11756
- return setTrackStyle || _react["default"].Children.count(this.props.children) !== _react["default"].Children.count(prevProps.children);
11768
+ return setTrackStyle || React.Children.count(this.props.children) !== React.Children.count(prevProps.children);
11757
11769
  }
11758
11770
  }]);
11759
11771
 
11760
11772
  return InnerSlider;
11761
- }(_react["default"].Component);
11762
-
11763
- innerSlider.InnerSlider = InnerSlider;
11773
+ }(React.Component);
11764
11774
 
11765
11775
  var camel2hyphen$1 = function (str) {
11766
11776
  return str
@@ -11824,25 +11834,12 @@ var json2mq = function (query) {
11824
11834
 
11825
11835
  var json2mq_1 = json2mq;
11826
11836
 
11827
- var defaultProps = {};
11828
-
11829
- (function (exports) {
11830
-
11831
- Object.defineProperty(exports, "__esModule", {
11832
- value: true
11833
- });
11834
- exports["default"] = void 0;
11835
-
11836
- var _react = _interopRequireDefault(React);
11837
-
11838
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11839
-
11840
11837
  var defaultProps = {
11841
11838
  accessibility: true,
11842
11839
  adaptiveHeight: false,
11843
11840
  afterChange: null,
11844
11841
  appendDots: function appendDots(dots) {
11845
- return /*#__PURE__*/_react["default"].createElement("ul", {
11842
+ return /*#__PURE__*/React.createElement("ul", {
11846
11843
  style: {
11847
11844
  display: "block"
11848
11845
  }
@@ -11857,7 +11854,7 @@ var defaultProps = {
11857
11854
  className: "",
11858
11855
  cssEase: "ease",
11859
11856
  customPaging: function customPaging(i) {
11860
- return /*#__PURE__*/_react["default"].createElement("button", null, i + 1);
11857
+ return /*#__PURE__*/React.createElement("button", null, i + 1);
11861
11858
  },
11862
11859
  dots: false,
11863
11860
  dotsClass: "slick-dots",
@@ -11897,365 +11894,6 @@ var defaultProps = {
11897
11894
  vertical: false,
11898
11895
  waitForAnimate: true
11899
11896
  };
11900
- var _default = defaultProps;
11901
- exports["default"] = _default;
11902
- }(defaultProps));
11903
-
11904
- /**
11905
- * Delegate to handle a media query being matched and unmatched.
11906
- *
11907
- * @param {object} options
11908
- * @param {function} options.match callback for when the media query is matched
11909
- * @param {function} [options.unmatch] callback for when the media query is unmatched
11910
- * @param {function} [options.setup] one-time callback triggered the first time a query is matched
11911
- * @param {boolean} [options.deferSetup=false] should the setup callback be run immediately, rather than first time query is matched?
11912
- * @constructor
11913
- */
11914
-
11915
- function QueryHandler$1(options) {
11916
- this.options = options;
11917
- !options.deferSetup && this.setup();
11918
- }
11919
-
11920
- QueryHandler$1.prototype = {
11921
-
11922
- constructor : QueryHandler$1,
11923
-
11924
- /**
11925
- * coordinates setup of the handler
11926
- *
11927
- * @function
11928
- */
11929
- setup : function() {
11930
- if(this.options.setup) {
11931
- this.options.setup();
11932
- }
11933
- this.initialised = true;
11934
- },
11935
-
11936
- /**
11937
- * coordinates setup and triggering of the handler
11938
- *
11939
- * @function
11940
- */
11941
- on : function() {
11942
- !this.initialised && this.setup();
11943
- this.options.match && this.options.match();
11944
- },
11945
-
11946
- /**
11947
- * coordinates the unmatch event for the handler
11948
- *
11949
- * @function
11950
- */
11951
- off : function() {
11952
- this.options.unmatch && this.options.unmatch();
11953
- },
11954
-
11955
- /**
11956
- * called when a handler is to be destroyed.
11957
- * delegates to the destroy or unmatch callbacks, depending on availability.
11958
- *
11959
- * @function
11960
- */
11961
- destroy : function() {
11962
- this.options.destroy ? this.options.destroy() : this.off();
11963
- },
11964
-
11965
- /**
11966
- * determines equality by reference.
11967
- * if object is supplied compare options, if function, compare match callback
11968
- *
11969
- * @function
11970
- * @param {object || function} [target] the target for comparison
11971
- */
11972
- equals : function(target) {
11973
- return this.options === target || this.options.match === target;
11974
- }
11975
-
11976
- };
11977
-
11978
- var QueryHandler_1 = QueryHandler$1;
11979
-
11980
- /**
11981
- * Helper function for iterating over a collection
11982
- *
11983
- * @param collection
11984
- * @param fn
11985
- */
11986
-
11987
- function each$2(collection, fn) {
11988
- var i = 0,
11989
- length = collection.length,
11990
- cont;
11991
-
11992
- for(i; i < length; i++) {
11993
- cont = fn(collection[i], i);
11994
- if(cont === false) {
11995
- break; //allow early exit
11996
- }
11997
- }
11998
- }
11999
-
12000
- /**
12001
- * Helper function for determining whether target object is an array
12002
- *
12003
- * @param target the object under test
12004
- * @return {Boolean} true if array, false otherwise
12005
- */
12006
- function isArray$1(target) {
12007
- return Object.prototype.toString.apply(target) === '[object Array]';
12008
- }
12009
-
12010
- /**
12011
- * Helper function for determining whether target object is a function
12012
- *
12013
- * @param target the object under test
12014
- * @return {Boolean} true if function, false otherwise
12015
- */
12016
- function isFunction$1(target) {
12017
- return typeof target === 'function';
12018
- }
12019
-
12020
- var Util$1 = {
12021
- isFunction : isFunction$1,
12022
- isArray : isArray$1,
12023
- each : each$2
12024
- };
12025
-
12026
- var QueryHandler = QueryHandler_1;
12027
- var each$1 = Util$1.each;
12028
-
12029
- /**
12030
- * Represents a single media query, manages it's state and registered handlers for this query
12031
- *
12032
- * @constructor
12033
- * @param {string} query the media query string
12034
- * @param {boolean} [isUnconditional=false] whether the media query should run regardless of whether the conditions are met. Primarily for helping older browsers deal with mobile-first design
12035
- */
12036
- function MediaQuery$1(query, isUnconditional) {
12037
- this.query = query;
12038
- this.isUnconditional = isUnconditional;
12039
- this.handlers = [];
12040
- this.mql = window.matchMedia(query);
12041
-
12042
- var self = this;
12043
- this.listener = function(mql) {
12044
- // Chrome passes an MediaQueryListEvent object, while other browsers pass MediaQueryList directly
12045
- self.mql = mql.currentTarget || mql;
12046
- self.assess();
12047
- };
12048
- this.mql.addListener(this.listener);
12049
- }
12050
-
12051
- MediaQuery$1.prototype = {
12052
-
12053
- constuctor : MediaQuery$1,
12054
-
12055
- /**
12056
- * add a handler for this query, triggering if already active
12057
- *
12058
- * @param {object} handler
12059
- * @param {function} handler.match callback for when query is activated
12060
- * @param {function} [handler.unmatch] callback for when query is deactivated
12061
- * @param {function} [handler.setup] callback for immediate execution when a query handler is registered
12062
- * @param {boolean} [handler.deferSetup=false] should the setup callback be deferred until the first time the handler is matched?
12063
- */
12064
- addHandler : function(handler) {
12065
- var qh = new QueryHandler(handler);
12066
- this.handlers.push(qh);
12067
-
12068
- this.matches() && qh.on();
12069
- },
12070
-
12071
- /**
12072
- * removes the given handler from the collection, and calls it's destroy methods
12073
- *
12074
- * @param {object || function} handler the handler to remove
12075
- */
12076
- removeHandler : function(handler) {
12077
- var handlers = this.handlers;
12078
- each$1(handlers, function(h, i) {
12079
- if(h.equals(handler)) {
12080
- h.destroy();
12081
- return !handlers.splice(i,1); //remove from array and exit each early
12082
- }
12083
- });
12084
- },
12085
-
12086
- /**
12087
- * Determine whether the media query should be considered a match
12088
- *
12089
- * @return {Boolean} true if media query can be considered a match, false otherwise
12090
- */
12091
- matches : function() {
12092
- return this.mql.matches || this.isUnconditional;
12093
- },
12094
-
12095
- /**
12096
- * Clears all handlers and unbinds events
12097
- */
12098
- clear : function() {
12099
- each$1(this.handlers, function(handler) {
12100
- handler.destroy();
12101
- });
12102
- this.mql.removeListener(this.listener);
12103
- this.handlers.length = 0; //clear array
12104
- },
12105
-
12106
- /*
12107
- * Assesses the query, turning on all handlers if it matches, turning them off if it doesn't match
12108
- */
12109
- assess : function() {
12110
- var action = this.matches() ? 'on' : 'off';
12111
-
12112
- each$1(this.handlers, function(handler) {
12113
- handler[action]();
12114
- });
12115
- }
12116
- };
12117
-
12118
- var MediaQuery_1 = MediaQuery$1;
12119
-
12120
- var MediaQuery = MediaQuery_1;
12121
- var Util = Util$1;
12122
- var each = Util.each;
12123
- var isFunction = Util.isFunction;
12124
- var isArray = Util.isArray;
12125
-
12126
- /**
12127
- * Allows for registration of query handlers.
12128
- * Manages the query handler's state and is responsible for wiring up browser events
12129
- *
12130
- * @constructor
12131
- */
12132
- function MediaQueryDispatch$1 () {
12133
- if(!window.matchMedia) {
12134
- throw new Error('matchMedia not present, legacy browsers require a polyfill');
12135
- }
12136
-
12137
- this.queries = {};
12138
- this.browserIsIncapable = !window.matchMedia('only all').matches;
12139
- }
12140
-
12141
- MediaQueryDispatch$1.prototype = {
12142
-
12143
- constructor : MediaQueryDispatch$1,
12144
-
12145
- /**
12146
- * Registers a handler for the given media query
12147
- *
12148
- * @param {string} q the media query
12149
- * @param {object || Array || Function} options either a single query handler object, a function, or an array of query handlers
12150
- * @param {function} options.match fired when query matched
12151
- * @param {function} [options.unmatch] fired when a query is no longer matched
12152
- * @param {function} [options.setup] fired when handler first triggered
12153
- * @param {boolean} [options.deferSetup=false] whether setup should be run immediately or deferred until query is first matched
12154
- * @param {boolean} [shouldDegrade=false] whether this particular media query should always run on incapable browsers
12155
- */
12156
- register : function(q, options, shouldDegrade) {
12157
- var queries = this.queries,
12158
- isUnconditional = shouldDegrade && this.browserIsIncapable;
12159
-
12160
- if(!queries[q]) {
12161
- queries[q] = new MediaQuery(q, isUnconditional);
12162
- }
12163
-
12164
- //normalise to object in an array
12165
- if(isFunction(options)) {
12166
- options = { match : options };
12167
- }
12168
- if(!isArray(options)) {
12169
- options = [options];
12170
- }
12171
- each(options, function(handler) {
12172
- if (isFunction(handler)) {
12173
- handler = { match : handler };
12174
- }
12175
- queries[q].addHandler(handler);
12176
- });
12177
-
12178
- return this;
12179
- },
12180
-
12181
- /**
12182
- * unregisters a query and all it's handlers, or a specific handler for a query
12183
- *
12184
- * @param {string} q the media query to target
12185
- * @param {object || function} [handler] specific handler to unregister
12186
- */
12187
- unregister : function(q, handler) {
12188
- var query = this.queries[q];
12189
-
12190
- if(query) {
12191
- if(handler) {
12192
- query.removeHandler(handler);
12193
- }
12194
- else {
12195
- query.clear();
12196
- delete this.queries[q];
12197
- }
12198
- }
12199
-
12200
- return this;
12201
- }
12202
- };
12203
-
12204
- var MediaQueryDispatch_1 = MediaQueryDispatch$1;
12205
-
12206
- var MediaQueryDispatch = MediaQueryDispatch_1;
12207
- var src = new MediaQueryDispatch();
12208
-
12209
- (function (exports) {
12210
-
12211
- Object.defineProperty(exports, "__esModule", {
12212
- value: true
12213
- });
12214
- exports["default"] = void 0;
12215
-
12216
- var _react = _interopRequireDefault(React);
12217
-
12218
- var _innerSlider = innerSlider;
12219
-
12220
- var _json2mq = _interopRequireDefault(json2mq_1);
12221
-
12222
- var _defaultProps = _interopRequireDefault(defaultProps);
12223
-
12224
- var _innerSliderUtils = innerSliderUtils;
12225
-
12226
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12227
-
12228
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
12229
-
12230
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
12231
-
12232
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
12233
-
12234
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
12235
-
12236
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
12237
-
12238
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
12239
-
12240
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
12241
-
12242
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
12243
-
12244
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
12245
-
12246
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
12247
-
12248
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
12249
-
12250
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
12251
-
12252
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
12253
-
12254
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
12255
-
12256
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12257
-
12258
- var enquire = (0, _innerSliderUtils.canUseDOM)() && src;
12259
11897
 
12260
11898
  var Slider = /*#__PURE__*/function (_React$Component) {
12261
11899
  _inherits(Slider, _React$Component);
@@ -12305,11 +11943,23 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12305
11943
  key: "media",
12306
11944
  value: function media(query, handler) {
12307
11945
  // javascript handler for css media query
12308
- enquire.register(query, handler);
11946
+ var mql = window.matchMedia(query);
11947
+
11948
+ var listener = function listener(_ref) {
11949
+ var matches = _ref.matches;
11950
+
11951
+ if (matches) {
11952
+ handler();
11953
+ }
11954
+ };
11955
+
11956
+ mql.addListener(listener);
11957
+ listener(mql);
12309
11958
 
12310
11959
  this._responsiveMediaHandlers.push({
11960
+ mql: mql,
12311
11961
  query: query,
12312
- handler: handler
11962
+ listener: listener
12313
11963
  });
12314
11964
  } // handles responsive breakpoints
12315
11965
 
@@ -12336,19 +11986,19 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12336
11986
  var bQuery;
12337
11987
 
12338
11988
  if (index === 0) {
12339
- bQuery = (0, _json2mq["default"])({
11989
+ bQuery = json2mq_1({
12340
11990
  minWidth: 0,
12341
11991
  maxWidth: breakpoint
12342
11992
  });
12343
11993
  } else {
12344
- bQuery = (0, _json2mq["default"])({
11994
+ bQuery = json2mq_1({
12345
11995
  minWidth: breakpoints[index - 1] + 1,
12346
11996
  maxWidth: breakpoint
12347
11997
  });
12348
11998
  } // when not using server side rendering
12349
11999
 
12350
12000
 
12351
- (0, _innerSliderUtils.canUseDOM)() && _this2.media(bQuery, function () {
12001
+ canUseDOM() && _this2.media(bQuery, function () {
12352
12002
  _this2.setState({
12353
12003
  breakpoint: breakpoint
12354
12004
  });
@@ -12356,10 +12006,10 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12356
12006
  }); // Register media query for full screen. Need to support resize from small to large
12357
12007
  // convert javascript object to media query string
12358
12008
 
12359
- var query = (0, _json2mq["default"])({
12009
+ var query = json2mq_1({
12360
12010
  minWidth: breakpoints.slice(-1)[0]
12361
12011
  });
12362
- (0, _innerSliderUtils.canUseDOM)() && this.media(query, function () {
12012
+ canUseDOM() && this.media(query, function () {
12363
12013
  _this2.setState({
12364
12014
  breakpoint: null
12365
12015
  });
@@ -12370,7 +12020,7 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12370
12020
  key: "componentWillUnmount",
12371
12021
  value: function componentWillUnmount() {
12372
12022
  this._responsiveMediaHandlers.forEach(function (obj) {
12373
- enquire.unregister(obj.query, obj.handler);
12023
+ obj.mql.removeListener(obj.listener);
12374
12024
  });
12375
12025
  }
12376
12026
  }, {
@@ -12385,9 +12035,9 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12385
12035
  newProps = this.props.responsive.filter(function (resp) {
12386
12036
  return resp.breakpoint === _this3.state.breakpoint;
12387
12037
  });
12388
- settings = newProps[0].settings === "unslick" ? "unslick" : _objectSpread(_objectSpread(_objectSpread({}, _defaultProps["default"]), this.props), newProps[0].settings);
12038
+ settings = newProps[0].settings === "unslick" ? "unslick" : _objectSpread2(_objectSpread2(_objectSpread2({}, defaultProps), this.props), newProps[0].settings);
12389
12039
  } else {
12390
- settings = _objectSpread(_objectSpread({}, _defaultProps["default"]), this.props);
12040
+ settings = _objectSpread2(_objectSpread2({}, defaultProps), this.props);
12391
12041
  } // force scrolling by one if centerMode is on
12392
12042
 
12393
12043
 
@@ -12414,10 +12064,9 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12414
12064
  } // makes sure that children is an array, even when there is only 1 child
12415
12065
 
12416
12066
 
12417
- var children = _react["default"].Children.toArray(this.props.children); // Children may contain false or null, so we should filter them
12067
+ var children = React.Children.toArray(this.props.children); // Children may contain false or null, so we should filter them
12418
12068
  // children may also contain string filled with spaces (in certain cases where we use jsx strings)
12419
12069
 
12420
-
12421
12070
  children = children.filter(function (child) {
12422
12071
  if (typeof child === "string") {
12423
12072
  return !!child.trim();
@@ -12446,7 +12095,7 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12446
12095
  }
12447
12096
 
12448
12097
  if (k >= children.length) break;
12449
- row.push( /*#__PURE__*/_react["default"].cloneElement(children[k], {
12098
+ row.push( /*#__PURE__*/React.cloneElement(children[k], {
12450
12099
  key: 100 * i + 10 * j + k,
12451
12100
  tabIndex: -1,
12452
12101
  style: {
@@ -12456,20 +12105,20 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12456
12105
  }));
12457
12106
  }
12458
12107
 
12459
- newSlide.push( /*#__PURE__*/_react["default"].createElement("div", {
12108
+ newSlide.push( /*#__PURE__*/React.createElement("div", {
12460
12109
  key: 10 * i + j
12461
12110
  }, row));
12462
12111
  }
12463
12112
 
12464
12113
  if (settings.variableWidth) {
12465
- newChildren.push( /*#__PURE__*/_react["default"].createElement("div", {
12114
+ newChildren.push( /*#__PURE__*/React.createElement("div", {
12466
12115
  key: i,
12467
12116
  style: {
12468
12117
  width: currentWidth
12469
12118
  }
12470
12119
  }, newSlide));
12471
12120
  } else {
12472
- newChildren.push( /*#__PURE__*/_react["default"].createElement("div", {
12121
+ newChildren.push( /*#__PURE__*/React.createElement("div", {
12473
12122
  key: i
12474
12123
  }, newSlide));
12475
12124
  }
@@ -12477,14 +12126,14 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12477
12126
 
12478
12127
  if (settings === "unslick") {
12479
12128
  var className = "regular slider " + (this.props.className || "");
12480
- return /*#__PURE__*/_react["default"].createElement("div", {
12129
+ return /*#__PURE__*/React.createElement("div", {
12481
12130
  className: className
12482
12131
  }, children);
12483
12132
  } else if (newChildren.length <= settings.slidesToShow) {
12484
12133
  settings.unslick = true;
12485
12134
  }
12486
12135
 
12487
- return /*#__PURE__*/_react["default"].createElement(_innerSlider.InnerSlider, _extends({
12136
+ return /*#__PURE__*/React.createElement(InnerSlider, _extends$1({
12488
12137
  style: this.props.style,
12489
12138
  ref: this.innerSliderRefHandler
12490
12139
  }, settings), newChildren);
@@ -12492,38 +12141,18 @@ var Slider = /*#__PURE__*/function (_React$Component) {
12492
12141
  }]);
12493
12142
 
12494
12143
  return Slider;
12495
- }(_react["default"].Component);
12496
-
12497
- exports["default"] = Slider;
12498
- }(slider));
12499
-
12500
- (function (exports) {
12501
-
12502
- Object.defineProperty(exports, "__esModule", {
12503
- value: true
12504
- });
12505
- exports["default"] = void 0;
12506
-
12507
- var _slider = _interopRequireDefault(slider);
12508
-
12509
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12510
-
12511
- var _default = _slider["default"];
12512
- exports["default"] = _default;
12513
- }(lib));
12144
+ }(React.Component);
12514
12145
 
12515
- var Slider = /*@__PURE__*/getDefaultExportFromCjs(lib);
12516
-
12517
- var StyledSlider = newStyled(Slider)(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n .slick-dots {\n position: static;\n display: flex !important;\n justify-content: center;\n column-gap: ", ";\n margin-top: ", ";\n }\n .slick-prev {\n left: ", ";\n }\n .slick-next {\n right: ", ";\n }\n .slick-prev,\n .slick-next {\n width: fit-content;\n height: fit-content;\n }\n .slick-prev:before,\n .slick-next:before {\n content: none;\n }\n .slick-dots li {\n margin: 0;\n width: auto;\n line-height: 0;\n height: auto;\n }\n"], ["\n .slick-dots {\n position: static;\n display: flex !important;\n justify-content: center;\n column-gap: ", ";\n margin-top: ", ";\n }\n .slick-prev {\n left: ", ";\n }\n .slick-next {\n right: ", ";\n }\n .slick-prev,\n .slick-next {\n width: fit-content;\n height: fit-content;\n }\n .slick-prev:before,\n .slick-next:before {\n content: none;\n }\n .slick-dots li {\n margin: 0;\n width: auto;\n line-height: 0;\n height: auto;\n }\n"])), function (props) { return props.dotsSpacing + "rem"; }, function (props) { return props.dotListMarginTop + "rem"; }, function (_a) {
12146
+ var StyledSlider = newStyled(Slider)(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n .slick-dots {\n position: static;\n display: flex !important;\n justify-content: center;\n column-gap: ", ";\n margin-top: ", ";\n }\n .slick-prev {\n left: ", ";\n }\n .slick-next {\n right: ", ";\n }\n .slick-prev,\n .slick-next {\n width: fit-content;\n height: fit-content;\n }\n .slick-prev:before,\n .slick-next:before {\n content: none;\n }\n .slick-dots li {\n margin: 0;\n width: auto;\n line-height: 0;\n height: auto;\n }\n"], ["\n .slick-dots {\n position: static;\n display: flex !important;\n justify-content: center;\n column-gap: ", ";\n margin-top: ", ";\n }\n .slick-prev {\n left: ", ";\n }\n .slick-next {\n right: ", ";\n }\n .slick-prev,\n .slick-next {\n width: fit-content;\n height: fit-content;\n }\n .slick-prev:before,\n .slick-next:before {\n content: none;\n }\n .slick-dots li {\n margin: 0;\n width: auto;\n line-height: 0;\n height: auto;\n }\n"])), function (props) { return props.dotsSpacing + "rem"; }, function (props) { return props.dotListMarginTop + "rem"; }, function (_a) {
12518
12147
  var arrowPaddingOffset = _a.arrowPaddingOffset, _b = _a.arrowPadding, arrowPadding = _b === void 0 ? 0 : _b;
12519
12148
  return "-" + (arrowPaddingOffset + arrowPadding) + "rem";
12520
12149
  }, function (_a) {
12521
12150
  var arrowPaddingOffset = _a.arrowPaddingOffset, _b = _a.arrowPadding, arrowPadding = _b === void 0 ? 0 : _b;
12522
12151
  return "-" + (arrowPaddingOffset + arrowPadding) + "rem";
12523
12152
  });
12524
- var templateObject_1$3;
12153
+ var templateObject_1$5;
12525
12154
 
12526
- var getStylesBySize = function (size) {
12155
+ var getStylesBySize$1 = function (size) {
12527
12156
  // rem units
12528
12157
  switch (size) {
12529
12158
  case ComponentSize.Large:
@@ -12555,7 +12184,7 @@ var getStylesBySize = function (size) {
12555
12184
  var SliderNavigation = function (_a) {
12556
12185
  var children = _a.children, infinite = _a.infinite, arrows = _a.arrows, adaptiveHeight = _a.adaptiveHeight, dotsSize = _a.dotsSize, dotListMarginTop = _a.dotListMarginTop, _b = _a.initialSlide, initialSlide = _b === void 0 ? 0 : _b;
12557
12186
  var _c = useState(0), activeIndex = _c[0], setActiveIndex = _c[1];
12558
- var styles = getStylesBySize(dotsSize);
12187
+ var styles = getStylesBySize$1(dotsSize);
12559
12188
  var theme = useTheme();
12560
12189
  var nextArrow = arrows && (jsx(ArrowButton, { direction: "right", width: arrows.arrowWidth, height: arrows.arrowHeight }, void 0));
12561
12190
  var prevArrow = arrows && (jsx(ArrowButton, { direction: "left", width: arrows.arrowWidth, height: arrows.arrowHeight }, void 0));
@@ -12577,13 +12206,13 @@ var SliderNavigation = function (_a) {
12577
12206
  return (jsx("div", __assign({ css: { padding: arrows ? "0 " + (arrows.arrowWidth + arrows.arrowPadding) + "rem" : 0 } }, { children: jsx(StyledSlider, __assign({}, settings, { arrowPadding: arrows && arrows.arrowPadding, dotListMarginTop: dotListMarginTop, arrowPaddingOffset: arrows ? arrows.arrowWidth : 0, dotsSpacing: styles.dotsSpacing }, { children: children }), void 0) }), void 0));
12578
12207
  };
12579
12208
 
12580
- var List = newStyled.ul(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n display: flex;\n margin: 0;\n padding: 0;\n"], ["\n display: flex;\n margin: 0;\n padding: 0;\n"])));
12581
- var Item = newStyled.li(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n width: 1.25rem;\n list-style: none;\n margin-right: 1.5rem;\n position: relative;\n line-height: 0;\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n .dropdownWrapper {\n visibility: visible;\n }\n }\n"], ["\n width: 1.25rem;\n list-style: none;\n margin-right: 1.5rem;\n position: relative;\n line-height: 0;\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n .dropdownWrapper {\n visibility: visible;\n }\n }\n"])));
12209
+ var List = newStyled.ul(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n display: flex;\n margin: 0;\n padding: 0;\n"], ["\n display: flex;\n margin: 0;\n padding: 0;\n"])));
12210
+ var Item = newStyled.li(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject(["\n width: 1.25rem;\n list-style: none;\n margin-right: 1.5rem;\n position: relative;\n line-height: 0;\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n .dropdownWrapper {\n visibility: visible;\n }\n }\n"], ["\n width: 1.25rem;\n list-style: none;\n margin-right: 1.5rem;\n position: relative;\n line-height: 0;\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n .dropdownWrapper {\n visibility: visible;\n }\n }\n"])));
12582
12211
  var DropdownWrapper = newStyled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n right: -0.938rem;\n min-width: 9.375rem;\n position: absolute;\n padding-top: 0.625rem;\n margin-top: -0.188rem;\n width: max-content;\n visibility: hidden;\n"], ["\n right: -0.938rem;\n min-width: 9.375rem;\n position: absolute;\n padding-top: 0.625rem;\n margin-top: -0.188rem;\n width: max-content;\n visibility: hidden;\n"])));
12583
12212
  var ArrowContainer = newStyled.div(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n transform: rotate(180deg);\n display: flex;\n justify-content: flex-start;\n margin-bottom: -0.063rem;\n padding-left: 0.938rem;\n"], ["\n transform: rotate(180deg);\n display: flex;\n justify-content: flex-start;\n margin-bottom: -0.063rem;\n padding-left: 0.938rem;\n"])));
12584
12213
  var StyledDropdown = newStyled.ul(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n margin: 0;\n padding: 0;\n border: 0.063rem solid ", ";\n border-radius: 0.5rem;\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n"], ["\n margin: 0;\n padding: 0;\n border: 0.063rem solid ", ";\n border-radius: 0.5rem;\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n"])), function (props) { return props.borderColor; });
12585
12214
  var DropdownItem = newStyled.li(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n list-style: none;\n padding: 0.813rem;\n border-bottom: 0.063rem solid ", ";\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 400;\n color: ", ";\n cursor: pointer;\n user-select: none;\n\n &:hover {\n background-color: ", ";\n }\n\n &:last-child {\n border-bottom: none;\n border-radius: 0 0 0.5rem 0.5rem;\n }\n\n &:first-of-type {\n border-radius: 0.5rem 0.5rem 0 0;\n }\n\n &:only-child {\n border-radius: 0.5rem;\n }\n"], ["\n list-style: none;\n padding: 0.813rem;\n border-bottom: 0.063rem solid ", ";\n font-size: 0.875rem;\n line-height: 1.125rem;\n font-weight: 400;\n color: ", ";\n cursor: pointer;\n user-select: none;\n\n &:hover {\n background-color: ", ";\n }\n\n &:last-child {\n border-bottom: none;\n border-radius: 0 0 0.5rem 0.5rem;\n }\n\n &:first-of-type {\n border-radius: 0.5rem 0.5rem 0 0;\n }\n\n &:only-child {\n border-radius: 0.5rem;\n }\n"])), function (props) { return props.borderColor; }, function (props) { return props.color; }, function (props) { return props.hoverColor; });
12586
- var templateObject_1$2, templateObject_2$1, templateObject_3$1, templateObject_4$1, templateObject_5$1, templateObject_6$1;
12215
+ var templateObject_1$4, templateObject_2$2, templateObject_3$1, templateObject_4$1, templateObject_5$1, templateObject_6$1;
12587
12216
 
12588
12217
  var DropdownListIcons = function (_a) {
12589
12218
  var items = _a.items;
@@ -12596,7 +12225,7 @@ var Dropdown = function (_a) {
12596
12225
  return (jsxs$1(DropdownWrapper, __assign({ className: "dropdownWrapper", "data-testid": "Dropdown-wrapper" }, { children: [jsx$1(ArrowContainer, { children: jsx$1(TooltipArrow, { stroke: theme.shades.gray200, fill: "#fff", width: 1.25, height: 0.75 }, void 0) }, void 0), jsx$1(StyledDropdown, __assign({ borderColor: theme.shades.gray200 }, { children: items.map(function (item, index) { return (jsx$1(DropdownItem, __assign({ onClick: item.callback, borderColor: theme.shades.gray200, color: theme.shades.gray550, hoverColor: theme.shades.gray010 }, { children: item.description }), index)); }) }), void 0)] }), void 0));
12597
12226
  };
12598
12227
 
12599
- var StyledButton = newStyled(BaseButton)(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n width: 12.5rem;\n height: 2.5rem;\n background-color: ", ";\n cursor: pointer;\n border: none;\n\n &:hover {\n background-color: ", ";\n }\n"], ["\n width: 12.5rem;\n height: 2.5rem;\n background-color: ", ";\n cursor: pointer;\n border: none;\n\n &:hover {\n background-color: ", ";\n }\n"])), function (props) { return props.backgroundColor; }, function (props) { return props.hoverBackgroundColor; });
12228
+ var StyledButton = newStyled(BaseButton)(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n width: 12.5rem;\n height: 2.5rem;\n background-color: ", ";\n cursor: pointer;\n border: none;\n\n &:hover {\n background-color: ", ";\n }\n"], ["\n width: 12.5rem;\n height: 2.5rem;\n background-color: ", ";\n cursor: pointer;\n border: none;\n\n &:hover {\n background-color: ", ";\n }\n"])), function (props) { return props.backgroundColor; }, function (props) { return props.hoverBackgroundColor; });
12600
12229
  var AmazonButton = function (_a) {
12601
12230
  var onClick = _a.onClick;
12602
12231
  return (jsx$1(StyledButton, __assign({ backgroundColor: "#FED865", hoverBackgroundColor: "#F1CB58", onClick: onClick }, { children: jsx$1(Icon.Payment.Amazon, { width: 5.375, height: 1.25 }, void 0) }), void 0));
@@ -12605,7 +12234,7 @@ var PaypalButton = function (_a) {
12605
12234
  var onClick = _a.onClick;
12606
12235
  return (jsx$1(StyledButton, __assign({ backgroundColor: "#ffc439", hoverBackgroundColor: "#F4BF41", onClick: onClick }, { children: jsx$1(Icon.Payment.Paypal, { width: 4.938, height: 1.25 }, void 0) }), void 0));
12607
12236
  };
12608
- var templateObject_1$1;
12237
+ var templateObject_1$3;
12609
12238
 
12610
12239
  var AmazonPaypalButtons = /*#__PURE__*/Object.freeze({
12611
12240
  __proto__: null,
@@ -12613,8 +12242,8 @@ var AmazonPaypalButtons = /*#__PURE__*/Object.freeze({
12613
12242
  PaypalButton: PaypalButton
12614
12243
  });
12615
12244
 
12616
- var Wrapper = newStyled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n width: 36.875rem;\n max-width: 100%;\n border-radius: 0.5rem;\n\n img {\n margin-right: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n width: 36.875rem;\n max-width: 100%;\n border-radius: 0.5rem;\n\n img {\n margin-right: ", ";\n }\n"])), function (props) { return props.backgroundColor; }, function (props) { return (props.rightToLeft ? '0' : '1.25rem'); });
12617
- var Col = newStyled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
12245
+ var Wrapper = newStyled.div(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n width: 36.875rem;\n max-width: 100%;\n border-radius: 0.5rem;\n\n img {\n margin-right: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n padding: 0.625rem 1.25rem;\n background-color: ", ";\n width: 36.875rem;\n max-width: 100%;\n border-radius: 0.5rem;\n\n img {\n margin-right: ", ";\n }\n"])), function (props) { return props.backgroundColor; }, function (props) { return (props.rightToLeft ? '0' : '1.25rem'); });
12246
+ var Col = newStyled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n"], ["\n display: flex;\n flex-direction: column;\n"])));
12618
12247
  var Row = newStyled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n width: 100%;\n margin-left: 10px;\n\n ", "};\n"], ["\n display: flex;\n align-items: center;\n width: 100%;\n margin-left: 10px;\n\n ", "};\n"])), function (props) {
12619
12248
  return props.rightToLeft &&
12620
12249
  "\n flex-direction: row-reverse;\n justify-content: space-between;\n ";
@@ -12627,12 +12256,67 @@ var CrossSellCheckbox = function (_a) {
12627
12256
  var theme = useTheme();
12628
12257
  return (jsxs$1(Wrapper, __assign({ backgroundColor: theme.shades.gray010, rightToLeft: Boolean(rightToLeft) }, { children: [jsx$1(Checkbox, { text: "", id: "checkbox", onChange: onChange, size: ComponentSize.Small }, void 0), jsxs$1(Row, __assign({ rightToLeft: Boolean(rightToLeft) }, { children: [jsx$1(Image, { src: imageURL, alt: "Cross sell image", borderRadius: "0.5rem" }, void 0), jsxs$1(Col, { children: [jsx$1(H5, __assign({ color: theme.shades.gray700 }, { children: title }), void 0), jsxs$1(H3, __assign({ color: theme.semantic.alert }, { children: [description, jsxs$1(FreeShipping, __assign({ color: theme.shades.gray700 }, { children: [" + ", freeShippingText] }), void 0)] }), void 0)] }, void 0)] }), void 0)] }), void 0));
12629
12258
  };
12630
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
12259
+ var templateObject_1$2, templateObject_2$1, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
12631
12260
 
12632
12261
  var index = /*#__PURE__*/Object.freeze({
12633
12262
  __proto__: null,
12634
12263
  CrossSellCheckbox: CrossSellCheckbox
12635
12264
  });
12636
12265
 
12637
- export { Accordion$1 as Accordion, AccordionBox, AccordionIcon, AmazonPaypalButtons as AmazonAndPaypalButtons, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, Card$1 as Card, CardSectionType, CategoryTag, Checkbox, ComponentPosition, ComponentSize, index as CrossSell, DeliveryDetails, DiscountTag, DropdownListIcons, FitPredictor, Icon, IconButton, Image, index$3 as Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, PaymentMethod, PriceLabel, ProductGallery, ProgressBar, RadioGroupInput, Rating, Review, ScrollToTop, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeSelector, SizeTable, SliderNavigation, TextButton, ThemeProvider, Timer, Tooltip, Totals };
12266
+ var ImageContainer = newStyled.div(function (_a) {
12267
+ var width = _a.width, height = _a.height;
12268
+ return ({
12269
+ position: 'relative',
12270
+ width: width,
12271
+ height: height,
12272
+ });
12273
+ });
12274
+ var Container$1 = newStyled.div(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n"])));
12275
+ var H1 = newStyled.h1(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"], ["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"])), function (props) { return props.theme.palette.secondary.default; }, function (props) { return props.align; });
12276
+ var getStylesBySize = function (size) {
12277
+ switch (size) {
12278
+ case ComponentSize.Medium:
12279
+ return {
12280
+ width: '10.75rem',
12281
+ height: '14.375rem',
12282
+ };
12283
+ case ComponentSize.Small:
12284
+ return {
12285
+ width: '9.813rem',
12286
+ height: '13.125rem',
12287
+ };
12288
+ /* istanbul ignore next */
12289
+ default:
12290
+ return {
12291
+ width: '10.75rem',
12292
+ height: '14.375rem',
12293
+ };
12294
+ }
12295
+ };
12296
+ var ProductItemMobile = function (_a) {
12297
+ var title = _a.title, image = _a.image, price = _a.price, rating = _a.rating, size = _a.size, tags = _a.tags, _b = _a.alignName, alignName = _b === void 0 ? 'center' : _b;
12298
+ var theme = useTheme();
12299
+ var styles = getStylesBySize(size);
12300
+ return (jsxs(Container$1, { children: [tags ? (jsxs(ImageContainer, __assign({ width: styles === null || styles === void 0 ? void 0 : styles.width, height: styles === null || styles === void 0 ? void 0 : styles.height, "data-testid": "tags-image-container" }, { children: [jsx(Image, { src: image.src, alt: image.alt, width: "100%", height: "100%" }, void 0), jsx(SeasonOfferTag, { text: tags.seasonOfferTagText, size: ComponentSize.Small, css: { position: 'absolute', top: 0, left: 0 } }, void 0), jsx(CategoryTag, { text: tags.categoryTagText, size: ComponentSize.Small, css: { position: 'absolute', bottom: '1rem', left: 0 } }, void 0)] }), void 0)) : (jsx(Image, { src: image.src, alt: image.alt, width: styles === null || styles === void 0 ? void 0 : styles.width, height: styles === null || styles === void 0 ? void 0 : styles.height }, void 0)), jsx(H1, __assign({ theme: theme, align: alignName }, { children: title }), void 0), jsx(PriceLabel, { finalPrice: price.finalPrice, originalPrice: price.originalPrice, color: price.color, size: ComponentSize.Small }, void 0), jsx(Rating, { size: ComponentSize.XSmall, rating: rating.rating, reviews: rating.reviews, reviewsText: "" }, void 0)] }, void 0));
12301
+ };
12302
+ var templateObject_1$1, templateObject_2;
12303
+
12304
+ var Container = newStyled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n row-gap: 1.875rem;\n column-gap: 1.875rem;\n flex-wrap: wrap;\n"], ["\n display: flex;\n row-gap: 1.875rem;\n column-gap: 1.875rem;\n flex-wrap: wrap;\n"])));
12305
+ function withProductGrid(ProductItemComponent, data) {
12306
+ function WithProductGrid(props) {
12307
+ return (jsx$1(Container, __assign({ "data-testid": "product-grid-container" }, { children: data.map(function (product, index) { return (jsx$1(ProductItemComponent, __assign({}, product, props), index)); }) }), void 0));
12308
+ }
12309
+ /* istanbul ignore next */
12310
+ var wrappedComponentName = ProductItemComponent.displayName || ProductItemComponent.name || 'Component';
12311
+ WithProductGrid.displayName = "withGrid(" + wrappedComponentName + ")";
12312
+ return WithProductGrid;
12313
+ }
12314
+ var templateObject_1;
12315
+
12316
+ var Collection = {
12317
+ ProductItemMobile: ProductItemMobile,
12318
+ withProductGrid: withProductGrid,
12319
+ };
12320
+
12321
+ export { Accordion$1 as Accordion, AccordionBox, AccordionIcon, AmazonPaypalButtons as AmazonAndPaypalButtons, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, Card$1 as Card, CardSectionType, CategoryTag, Checkbox, Collection, ComponentPosition, ComponentSize, index as CrossSell, DeliveryDetails, DiscountTag, DropdownListIcons, FitPredictor, Icon, IconButton, Image, index$3 as Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, PaymentMethod, PriceLabel, ProductGallery, ProgressBar, RadioGroupInput, Rating, Review, ScrollToTop, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeSelector, SizeTable, SliderNavigation, StarList, TextButton, ThemeProvider, Timer, Tooltip, Totals };
12638
12322
  //# sourceMappingURL=index.esm.js.map