@ubnt/store.core 11.20.0-test.2 → 11.20.0-test.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 (731) hide show
  1. package/lib/assets/ai-dslr.jpg +0 -0
  2. package/lib/assets/ai-dslr2.jpg +0 -0
  3. package/lib/assets/compact.svg +1 -1
  4. package/lib/assets/compact2.svg +1 -1
  5. package/lib/assets/floodlight.svg +1 -1
  6. package/lib/assets/floodlight2.svg +1 -1
  7. package/lib/assets/g3-reader-pro.jpg +0 -0
  8. package/lib/assets/g3-reader-pro2.jpg +0 -0
  9. package/lib/assets/g3-reader.jpg +0 -0
  10. package/lib/assets/g3-reader2.jpg +0 -0
  11. package/lib/assets/g3-starter-kit-pro.jpg +0 -0
  12. package/lib/assets/g3-starter-kit-pro2.jpg +0 -0
  13. package/lib/assets/g3-starter-kit.jpg +0 -0
  14. package/lib/assets/g3-starter-kit2.jpg +0 -0
  15. package/lib/assets/g5-bullet.jpg +0 -0
  16. package/lib/assets/g5-bullet2.jpg +0 -0
  17. package/lib/assets/globe.svg +1 -1
  18. package/lib/assets/globe2.svg +1 -1
  19. package/lib/assets/minus.svg +1 -1
  20. package/lib/assets/minus2.svg +1 -1
  21. package/lib/assets/minus4.svg +1 -1
  22. package/lib/assets/minus5.svg +1 -1
  23. package/lib/assets/plus4.svg +1 -1
  24. package/lib/assets/plus5.svg +1 -1
  25. package/lib/assets/power.svg +1 -1
  26. package/lib/assets/power2.svg +1 -1
  27. package/lib/assets/ptz2.svg +1 -1
  28. package/lib/assets/ptz3.svg +1 -1
  29. package/lib/assets/rack.svg +1 -1
  30. package/lib/assets/rack2.svg +1 -1
  31. package/lib/components/Accordion/Accordion.styles.js +12 -18
  32. package/lib/components/Accordion/Accordion.styles.js.map +1 -1
  33. package/lib/components/Accordion/Accordion.styles.mjs +1 -1
  34. package/lib/components/Accordion/Accordion.styles.mjs.map +1 -1
  35. package/lib/components/Avatar/Avatar.styles.js +3 -9
  36. package/lib/components/Avatar/Avatar.styles.js.map +1 -1
  37. package/lib/components/Avatar/Avatar.styles.mjs +1 -1
  38. package/lib/components/Avatar/Avatar.styles.mjs.map +1 -1
  39. package/lib/components/BackInStock/BackInStock.styles.js +8 -14
  40. package/lib/components/BackInStock/BackInStock.styles.js.map +1 -1
  41. package/lib/components/BackInStock/BackInStock.styles.mjs +1 -1
  42. package/lib/components/BackInStock/BackInStock.styles.mjs.map +1 -1
  43. package/lib/components/Badge/Badge.styles.js +18 -24
  44. package/lib/components/Badge/Badge.styles.js.map +1 -1
  45. package/lib/components/Badge/Badge.styles.mjs +1 -1
  46. package/lib/components/Badge/Badge.styles.mjs.map +1 -1
  47. package/lib/components/Button/Button.styles.js +30 -36
  48. package/lib/components/Button/Button.styles.js.map +1 -1
  49. package/lib/components/Button/Button.styles.mjs +1 -1
  50. package/lib/components/Button/Button.styles.mjs.map +1 -1
  51. package/lib/components/Button/CartButton.styles.js +12 -18
  52. package/lib/components/Button/CartButton.styles.js.map +1 -1
  53. package/lib/components/Button/CartButton.styles.mjs +1 -1
  54. package/lib/components/Button/CartButton.styles.mjs.map +1 -1
  55. package/lib/components/ButtonGroup/ButtonGroup.styles.js +17 -23
  56. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  57. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +1 -1
  58. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  59. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +10 -16
  60. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
  61. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +1 -1
  62. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
  63. package/lib/components/CardSection/Card/Card.styles.js +18 -24
  64. package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
  65. package/lib/components/CardSection/Card/Card.styles.mjs +1 -1
  66. package/lib/components/CardSection/Card/Card.styles.mjs.map +1 -1
  67. package/lib/components/CardSection/CardSection.styles.js +5 -11
  68. package/lib/components/CardSection/CardSection.styles.js.map +1 -1
  69. package/lib/components/CardSection/CardSection.styles.mjs +1 -1
  70. package/lib/components/CardSection/CardSection.styles.mjs.map +1 -1
  71. package/lib/components/CategoryTabs/CategoryTabs.styles.js +21 -27
  72. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  73. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +1 -1
  74. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  75. package/lib/components/Checkbox/Checkbox.styles.js +8 -14
  76. package/lib/components/Checkbox/Checkbox.styles.js.map +1 -1
  77. package/lib/components/Checkbox/Checkbox.styles.mjs +1 -1
  78. package/lib/components/Checkbox/Checkbox.styles.mjs.map +1 -1
  79. package/lib/components/Container/Container.styles.js +8 -14
  80. package/lib/components/Container/Container.styles.js.map +1 -1
  81. package/lib/components/Container/Container.styles.mjs +1 -1
  82. package/lib/components/Container/Container.styles.mjs.map +1 -1
  83. package/lib/components/CustomImage/CustomImage.styles.js +21 -27
  84. package/lib/components/CustomImage/CustomImage.styles.js.map +1 -1
  85. package/lib/components/CustomImage/CustomImage.styles.mjs +1 -1
  86. package/lib/components/CustomImage/CustomImage.styles.mjs.map +1 -1
  87. package/lib/components/Explore/Explore.js +2 -2
  88. package/lib/components/Explore/Explore.js.map +1 -1
  89. package/lib/components/Explore/Explore.styles.js +26 -32
  90. package/lib/components/Explore/Explore.styles.js.map +1 -1
  91. package/lib/components/Explore/Explore.styles.mjs +1 -1
  92. package/lib/components/Explore/Explore.styles.mjs.map +1 -1
  93. package/lib/components/Footer/Footer.styles.js +31 -37
  94. package/lib/components/Footer/Footer.styles.js.map +1 -1
  95. package/lib/components/Footer/Footer.styles.mjs +1 -1
  96. package/lib/components/Footer/Footer.styles.mjs.map +1 -1
  97. package/lib/components/GradientButton/GradientButton.styles.js +5 -11
  98. package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
  99. package/lib/components/GradientButton/GradientButton.styles.mjs +1 -1
  100. package/lib/components/GradientButton/GradientButton.styles.mjs.map +1 -1
  101. package/lib/components/GridGallery/GridModal/GridModal.styles.js +5 -11
  102. package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
  103. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs +1 -1
  104. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs.map +1 -1
  105. package/lib/components/Header/AccountFrame/AccountFrame.styles.js +11 -17
  106. package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
  107. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs +1 -1
  108. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs.map +1 -1
  109. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js +4 -10
  110. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.js.map +1 -1
  111. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.mjs +1 -1
  112. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.mjs.map +1 -1
  113. package/lib/components/Header/AccountMenu/AccountMenu.styles.js +8 -14
  114. package/lib/components/Header/AccountMenu/AccountMenu.styles.js.map +1 -1
  115. package/lib/components/Header/AccountMenu/AccountMenu.styles.mjs +1 -1
  116. package/lib/components/Header/AccountMenu/AccountMenu.styles.mjs.map +1 -1
  117. package/lib/components/Header/CartIcon/CartIcon.styles.js +3 -9
  118. package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -1
  119. package/lib/components/Header/CartIcon/CartIcon.styles.mjs +1 -1
  120. package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -1
  121. package/lib/components/Header/CartModal/Empty/Empty.styles.js +2 -8
  122. package/lib/components/Header/CartModal/Empty/Empty.styles.js.map +1 -1
  123. package/lib/components/Header/CartModal/Empty/Empty.styles.mjs +1 -1
  124. package/lib/components/Header/CartModal/Empty/Empty.styles.mjs.map +1 -1
  125. package/lib/components/Header/CartModalV2/CartModal.styles.js +21 -27
  126. package/lib/components/Header/CartModalV2/CartModal.styles.js.map +1 -1
  127. package/lib/components/Header/CartModalV2/CartModal.styles.mjs +1 -1
  128. package/lib/components/Header/CartModalV2/CartModal.styles.mjs.map +1 -1
  129. package/lib/components/Header/CartModalV2/Item/Item.js +3 -3
  130. package/lib/components/Header/CartModalV2/Item/Item.mjs +2 -2
  131. package/lib/components/Header/CartModalV2/Item/Item.styles.js +13 -19
  132. package/lib/components/Header/CartModalV2/Item/Item.styles.js.map +1 -1
  133. package/lib/components/Header/CartModalV2/Item/Item.styles.mjs +1 -1
  134. package/lib/components/Header/CartModalV2/Item/Item.styles.mjs.map +1 -1
  135. package/lib/components/Header/Header.js +1 -1
  136. package/lib/components/Header/Header.mjs +1 -1
  137. package/lib/components/Header/Header.styles.js +39 -45
  138. package/lib/components/Header/Header.styles.js.map +1 -1
  139. package/lib/components/Header/Header.styles.mjs +1 -1
  140. package/lib/components/Header/Header.styles.mjs.map +1 -1
  141. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +8 -14
  142. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
  143. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs +1 -1
  144. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs.map +1 -1
  145. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js +4 -10
  146. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.js.map +1 -1
  147. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.mjs +1 -1
  148. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.mjs.map +1 -1
  149. package/lib/components/Header/MenuItem/MenuItem.styles.js +19 -25
  150. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  151. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +1 -1
  152. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  153. package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js +16 -22
  154. package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.js.map +1 -1
  155. package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.mjs +1 -1
  156. package/lib/components/Header/MicrositeMobileMenu/MicrositeMobileMenu.styles.mjs.map +1 -1
  157. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +20 -26
  158. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
  159. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs +1 -1
  160. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs.map +1 -1
  161. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +23 -29
  162. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
  163. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +1 -1
  164. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
  165. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +23 -29
  166. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
  167. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +1 -1
  168. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
  169. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +8 -14
  170. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  171. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +1 -1
  172. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  173. package/lib/components/Header/Overlay/Overlay.styles.js +4 -10
  174. package/lib/components/Header/Overlay/Overlay.styles.js.map +1 -1
  175. package/lib/components/Header/Overlay/Overlay.styles.mjs +1 -1
  176. package/lib/components/Header/Overlay/Overlay.styles.mjs.map +1 -1
  177. package/lib/components/Header/ProHeader/ProHeader.js +1 -1
  178. package/lib/components/Header/ProHeader/ProHeader.mjs +1 -1
  179. package/lib/components/Header/ProHeader/ProHeader.styles.js +49 -55
  180. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  181. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +1 -1
  182. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  183. package/lib/components/HeroVideo/HeroVideo.styles.js +7 -13
  184. package/lib/components/HeroVideo/HeroVideo.styles.js.map +1 -1
  185. package/lib/components/HeroVideo/HeroVideo.styles.mjs +1 -1
  186. package/lib/components/HeroVideo/HeroVideo.styles.mjs.map +1 -1
  187. package/lib/components/ImageCarousel/ImageCarousel.styles.js +35 -41
  188. package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
  189. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs +1 -1
  190. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs.map +1 -1
  191. package/lib/components/ImageSequence/ImageSequence.styles.js +9 -15
  192. package/lib/components/ImageSequence/ImageSequence.styles.js.map +1 -1
  193. package/lib/components/ImageSequence/ImageSequence.styles.mjs +1 -1
  194. package/lib/components/ImageSequence/ImageSequence.styles.mjs.map +1 -1
  195. package/lib/components/InputSelect/InputSelect.styles.js +5 -11
  196. package/lib/components/InputSelect/InputSelect.styles.js.map +1 -1
  197. package/lib/components/InputSelect/InputSelect.styles.mjs +1 -1
  198. package/lib/components/InputSelect/InputSelect.styles.mjs.map +1 -1
  199. package/lib/components/LearnMoreLink/LearnMoreLink.styles.js +2 -8
  200. package/lib/components/LearnMoreLink/LearnMoreLink.styles.js.map +1 -1
  201. package/lib/components/LearnMoreLink/LearnMoreLink.styles.mjs +1 -1
  202. package/lib/components/LearnMoreLink/LearnMoreLink.styles.mjs.map +1 -1
  203. package/lib/components/Loader/Loader.styles.js +11 -17
  204. package/lib/components/Loader/Loader.styles.js.map +1 -1
  205. package/lib/components/Loader/Loader.styles.mjs +1 -1
  206. package/lib/components/Loader/Loader.styles.mjs.map +1 -1
  207. package/lib/components/Loader/Spinner/Spinner.styles.js +4 -10
  208. package/lib/components/Loader/Spinner/Spinner.styles.js.map +1 -1
  209. package/lib/components/Loader/Spinner/Spinner.styles.mjs +1 -1
  210. package/lib/components/Loader/Spinner/Spinner.styles.mjs.map +1 -1
  211. package/lib/components/LoaderDots/LoaderDots.styles.js +2 -8
  212. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  213. package/lib/components/LoaderDots/LoaderDots.styles.mjs +1 -1
  214. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  215. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js +9 -15
  216. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.js.map +1 -1
  217. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.mjs +1 -1
  218. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.mjs.map +1 -1
  219. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js +30 -36
  220. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.js.map +1 -1
  221. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.mjs +1 -1
  222. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.mjs.map +1 -1
  223. package/lib/components/MicrositeBanner/MicrositeBanner.styles.js +12 -18
  224. package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -1
  225. package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs +1 -1
  226. package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -1
  227. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +3 -9
  228. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
  229. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs +1 -1
  230. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs.map +1 -1
  231. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js +6 -12
  232. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.js.map +1 -1
  233. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.mjs +1 -1
  234. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.mjs.map +1 -1
  235. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js +8 -14
  236. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.js.map +1 -1
  237. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.mjs +1 -1
  238. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.mjs.map +1 -1
  239. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +15 -21
  240. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
  241. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs +1 -1
  242. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs.map +1 -1
  243. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js +11 -17
  244. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.js.map +1 -1
  245. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.mjs +1 -1
  246. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.mjs.map +1 -1
  247. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js +13 -19
  248. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.js.map +1 -1
  249. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.mjs +1 -1
  250. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.mjs.map +1 -1
  251. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +23 -29
  252. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
  253. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs +1 -1
  254. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs.map +1 -1
  255. package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js +41 -47
  256. package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.js.map +1 -1
  257. package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.mjs +1 -1
  258. package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.styles.mjs.map +1 -1
  259. package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js +18 -24
  260. package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.js.map +1 -1
  261. package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.mjs +1 -1
  262. package/lib/components/MicrositeHeader/components/FirstLevelMenu/FirstLevelMenu.styles.mjs.map +1 -1
  263. package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.js +1 -1
  264. package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.mjs +1 -1
  265. package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.js +43 -49
  266. package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.js.map +1 -1
  267. package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.mjs +1 -1
  268. package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.styles.mjs.map +1 -1
  269. package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js +18 -24
  270. package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.js.map +1 -1
  271. package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.mjs +1 -1
  272. package/lib/components/MicrositeHeader/components/HeaderContent/_components/SubNavigation/SubNavigation.styles.mjs.map +1 -1
  273. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js +23 -29
  274. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.js.map +1 -1
  275. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.mjs +1 -1
  276. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.styles.mjs.map +1 -1
  277. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js +18 -24
  278. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.js.map +1 -1
  279. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.mjs +1 -1
  280. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.styles.mjs.map +1 -1
  281. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.js +3 -3
  282. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.mjs +2 -2
  283. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js +26 -32
  284. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.js.map +1 -1
  285. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.mjs +1 -1
  286. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.styles.mjs.map +1 -1
  287. package/lib/components/MicrositeHero/MicrositeHero.styles.js +40 -46
  288. package/lib/components/MicrositeHero/MicrositeHero.styles.js.map +1 -1
  289. package/lib/components/MicrositeHero/MicrositeHero.styles.mjs +1 -1
  290. package/lib/components/MicrositeHero/MicrositeHero.styles.mjs.map +1 -1
  291. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js +6 -12
  292. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.js.map +1 -1
  293. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.mjs +1 -1
  294. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.mjs.map +1 -1
  295. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +35 -41
  296. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
  297. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs +1 -1
  298. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs.map +1 -1
  299. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js +15 -21
  300. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.js.map +1 -1
  301. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.mjs +1 -1
  302. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.mjs.map +1 -1
  303. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +13 -19
  304. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
  305. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs +1 -1
  306. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs.map +1 -1
  307. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js +7 -13
  308. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.js.map +1 -1
  309. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.mjs +1 -1
  310. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.mjs.map +1 -1
  311. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js +2 -8
  312. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.js.map +1 -1
  313. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.mjs +1 -1
  314. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.mjs.map +1 -1
  315. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +18 -24
  316. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
  317. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +1 -1
  318. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
  319. package/lib/components/Microsites/MicrositeProductPage.styles.js +9 -15
  320. package/lib/components/Microsites/MicrositeProductPage.styles.js.map +1 -1
  321. package/lib/components/Microsites/MicrositeProductPage.styles.mjs +1 -1
  322. package/lib/components/Microsites/MicrositeProductPage.styles.mjs.map +1 -1
  323. package/lib/components/MobileModal/MobileModal.styles.js +10 -16
  324. package/lib/components/MobileModal/MobileModal.styles.js.map +1 -1
  325. package/lib/components/MobileModal/MobileModal.styles.mjs +1 -1
  326. package/lib/components/MobileModal/MobileModal.styles.mjs.map +1 -1
  327. package/lib/components/Modal/Modal.styles.js +2 -8
  328. package/lib/components/Modal/Modal.styles.js.map +1 -1
  329. package/lib/components/Modal/Modal.styles.mjs +1 -1
  330. package/lib/components/Modal/Modal.styles.mjs.map +1 -1
  331. package/lib/components/ModelCompareV3/HeaderShadow.js +4 -10
  332. package/lib/components/ModelCompareV3/HeaderShadow.js.map +1 -1
  333. package/lib/components/ModelCompareV3/HeaderShadow.mjs +1 -1
  334. package/lib/components/ModelCompareV3/HeaderShadow.mjs.map +1 -1
  335. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -4
  336. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js.map +1 -1
  337. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.mjs +1 -1
  338. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.mjs.map +1 -1
  339. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +13 -14
  340. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js.map +1 -1
  341. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +2 -2
  342. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs.map +1 -1
  343. package/lib/components/ModelCompareV3/ModelCompareV3.js +2 -2
  344. package/lib/components/ModelCompareV3/ModelCompareV3.js.map +1 -1
  345. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +32 -38
  346. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
  347. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +1 -1
  348. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
  349. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +8 -14
  350. package/lib/components/ModelCompareV3/ProductGroupsGrid.js.map +1 -1
  351. package/lib/components/ModelCompareV3/ProductGroupsGrid.mjs +1 -1
  352. package/lib/components/ModelCompareV3/ProductGroupsGrid.mjs.map +1 -1
  353. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +2 -8
  354. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js.map +1 -1
  355. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.mjs +1 -1
  356. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.mjs.map +1 -1
  357. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -8
  358. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js.map +1 -1
  359. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.mjs +1 -1
  360. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.mjs.map +1 -1
  361. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +3 -9
  362. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js.map +1 -1
  363. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.mjs +1 -1
  364. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.mjs.map +1 -1
  365. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +4 -10
  366. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js.map +1 -1
  367. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.mjs +1 -1
  368. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.mjs.map +1 -1
  369. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js +3 -9
  370. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.js.map +1 -1
  371. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.mjs +1 -1
  372. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.mjs.map +1 -1
  373. package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js +50 -56
  374. package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.js.map +1 -1
  375. package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.mjs +1 -1
  376. package/lib/components/ModelCompareV4/CompareTable/CompareTable.styles.mjs.map +1 -1
  377. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js +3 -4
  378. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.js.map +1 -1
  379. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.mjs +1 -1
  380. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/CompareTableOverflowScrollButton.mjs.map +1 -1
  381. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js +4 -10
  382. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.js.map +1 -1
  383. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.mjs +1 -1
  384. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/HeaderShadow.mjs.map +1 -1
  385. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js +14 -15
  386. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.js.map +1 -1
  387. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.mjs +2 -2
  388. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/PropertyValueGridItem.mjs.map +1 -1
  389. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js +2 -8
  390. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.js.map +1 -1
  391. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.mjs +1 -1
  392. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGrid.mjs.map +1 -1
  393. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js +2 -8
  394. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.js.map +1 -1
  395. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.mjs +1 -1
  396. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridBody.mjs.map +1 -1
  397. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js +3 -9
  398. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.js.map +1 -1
  399. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.mjs +1 -1
  400. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridHeader.mjs.map +1 -1
  401. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js +4 -10
  402. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.js.map +1 -1
  403. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.mjs +1 -1
  404. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridItem.mjs.map +1 -1
  405. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js +3 -9
  406. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.js.map +1 -1
  407. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.mjs +1 -1
  408. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup/components/StickyGrid/StickyGridOverlay.mjs.map +1 -1
  409. package/lib/components/ModelCompareV4/ModelCompareV4.styles.js +3 -9
  410. package/lib/components/ModelCompareV4/ModelCompareV4.styles.js.map +1 -1
  411. package/lib/components/ModelCompareV4/ModelCompareV4.styles.mjs +1 -1
  412. package/lib/components/ModelCompareV4/ModelCompareV4.styles.mjs.map +1 -1
  413. package/lib/components/ModelCompareV4/ProductList/ProductList.styles.js +37 -43
  414. package/lib/components/ModelCompareV4/ProductList/ProductList.styles.js.map +1 -1
  415. package/lib/components/ModelCompareV4/ProductList/ProductList.styles.mjs +1 -1
  416. package/lib/components/ModelCompareV4/ProductList/ProductList.styles.mjs.map +1 -1
  417. package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js +7 -13
  418. package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  419. package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.mjs +1 -1
  420. package/lib/components/ModelCompareV4/ProductList/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  421. package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js +4 -10
  422. package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.js.map +1 -1
  423. package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.mjs +1 -1
  424. package/lib/components/ModelCompareV4/ProductList/components/ScrollButton/ScrollButton.styles.mjs.map +1 -1
  425. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +14 -20
  426. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
  427. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -1
  428. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
  429. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +11 -17
  430. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -1
  431. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +1 -1
  432. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -1
  433. package/lib/components/QuantityControls/QuantityControls.styles.js +3 -9
  434. package/lib/components/QuantityControls/QuantityControls.styles.js.map +1 -1
  435. package/lib/components/QuantityControls/QuantityControls.styles.mjs +1 -1
  436. package/lib/components/QuantityControls/QuantityControls.styles.mjs.map +1 -1
  437. package/lib/components/QuantityInput/QuantityInput.styles.js +10 -16
  438. package/lib/components/QuantityInput/QuantityInput.styles.js.map +1 -1
  439. package/lib/components/QuantityInput/QuantityInput.styles.mjs +1 -1
  440. package/lib/components/QuantityInput/QuantityInput.styles.mjs.map +1 -1
  441. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js +7 -13
  442. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.js.map +1 -1
  443. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.mjs +1 -1
  444. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.mjs.map +1 -1
  445. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js +10 -16
  446. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.js.map +1 -1
  447. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs +1 -1
  448. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.mjs.map +1 -1
  449. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js +4 -10
  450. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js.map +1 -1
  451. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs +1 -1
  452. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs.map +1 -1
  453. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js +16 -22
  454. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.js.map +1 -1
  455. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs +1 -1
  456. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.mjs.map +1 -1
  457. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +7 -8
  458. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js.map +1 -1
  459. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +3 -3
  460. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs.map +1 -1
  461. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js +6 -12
  462. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.js.map +1 -1
  463. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.mjs +1 -1
  464. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.mjs.map +1 -1
  465. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js +5 -11
  466. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.js.map +1 -1
  467. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.mjs +1 -1
  468. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/OptionSelectSection.mjs.map +1 -1
  469. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +4 -5
  470. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js.map +1 -1
  471. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.mjs +1 -1
  472. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.mjs.map +1 -1
  473. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  474. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  475. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  476. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  477. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js +3 -9
  478. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.js.map +1 -1
  479. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.mjs +1 -1
  480. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/Part.mjs.map +1 -1
  481. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js +8 -14
  482. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.js.map +1 -1
  483. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.mjs +1 -1
  484. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.mjs.map +1 -1
  485. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js +2 -8
  486. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.js.map +1 -1
  487. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.mjs +1 -1
  488. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.mjs.map +1 -1
  489. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js +6 -7
  490. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.js.map +1 -1
  491. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.mjs +1 -1
  492. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.mjs.map +1 -1
  493. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js +8 -14
  494. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.js.map +1 -1
  495. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.mjs +1 -1
  496. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.mjs.map +1 -1
  497. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
  498. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  499. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js +17 -23
  500. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.js.map +1 -1
  501. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.mjs +1 -1
  502. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.mjs.map +1 -1
  503. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js +6 -7
  504. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.js.map +1 -1
  505. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.mjs +1 -1
  506. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PortItem/PortItem.mjs.map +1 -1
  507. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  508. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  509. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  510. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  511. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js +16 -22
  512. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.js.map +1 -1
  513. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.mjs +1 -1
  514. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.mjs.map +1 -1
  515. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js +4 -10
  516. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.js.map +1 -1
  517. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.mjs +1 -1
  518. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/ValueTile.mjs.map +1 -1
  519. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js +4 -10
  520. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.js.map +1 -1
  521. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.mjs +1 -1
  522. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.mjs.map +1 -1
  523. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js +3 -9
  524. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.js.map +1 -1
  525. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs +1 -1
  526. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.mjs.map +1 -1
  527. package/lib/components/Reveal/Reveal.styles.js +4 -10
  528. package/lib/components/Reveal/Reveal.styles.js.map +1 -1
  529. package/lib/components/Reveal/Reveal.styles.mjs +1 -1
  530. package/lib/components/Reveal/Reveal.styles.mjs.map +1 -1
  531. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js +5 -11
  532. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.js.map +1 -1
  533. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.mjs +1 -1
  534. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.mjs.map +1 -1
  535. package/lib/components/ScrollWrapper/ScrollWrapper.styles.js +31 -37
  536. package/lib/components/ScrollWrapper/ScrollWrapper.styles.js.map +1 -1
  537. package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs +1 -1
  538. package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs.map +1 -1
  539. package/lib/components/Search/Input/Input.styles.js +8 -14
  540. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  541. package/lib/components/Search/Input/Input.styles.mjs +1 -1
  542. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  543. package/lib/components/Search/Modal/Modal.styles.js +17 -23
  544. package/lib/components/Search/Modal/Modal.styles.js.map +1 -1
  545. package/lib/components/Search/Modal/Modal.styles.mjs +1 -1
  546. package/lib/components/Search/Modal/Modal.styles.mjs.map +1 -1
  547. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js +3 -9
  548. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.js.map +1 -1
  549. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.mjs +1 -1
  550. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.mjs.map +1 -1
  551. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js +4 -10
  552. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.js.map +1 -1
  553. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.mjs +1 -1
  554. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.mjs.map +1 -1
  555. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js +11 -17
  556. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.js.map +1 -1
  557. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.mjs +1 -1
  558. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.mjs.map +1 -1
  559. package/lib/components/StaticModal/StaticModal.styles.js +3 -9
  560. package/lib/components/StaticModal/StaticModal.styles.js.map +1 -1
  561. package/lib/components/StaticModal/StaticModal.styles.mjs +1 -1
  562. package/lib/components/StaticModal/StaticModal.styles.mjs.map +1 -1
  563. package/lib/components/StorybookUtils/StoryButtonColumn.js +2 -8
  564. package/lib/components/StorybookUtils/StoryButtonColumn.js.map +1 -1
  565. package/lib/components/StorybookUtils/StoryButtonColumn.mjs +1 -1
  566. package/lib/components/StorybookUtils/StoryButtonColumn.mjs.map +1 -1
  567. package/lib/components/StorybookUtils/StoryButtonRow.js +2 -8
  568. package/lib/components/StorybookUtils/StoryButtonRow.js.map +1 -1
  569. package/lib/components/StorybookUtils/StoryButtonRow.mjs +1 -1
  570. package/lib/components/StorybookUtils/StoryButtonRow.mjs.map +1 -1
  571. package/lib/components/StorybookUtils/StorySection.js +3 -9
  572. package/lib/components/StorybookUtils/StorySection.js.map +1 -1
  573. package/lib/components/StorybookUtils/StorySection.mjs +1 -1
  574. package/lib/components/StorybookUtils/StorySection.mjs.map +1 -1
  575. package/lib/components/StorybookUtils/StoryVariants.js +5 -11
  576. package/lib/components/StorybookUtils/StoryVariants.js.map +1 -1
  577. package/lib/components/StorybookUtils/StoryVariants.mjs +1 -1
  578. package/lib/components/StorybookUtils/StoryVariants.mjs.map +1 -1
  579. package/lib/components/StorybookUtils/StoryWrapper.js +2 -8
  580. package/lib/components/StorybookUtils/StoryWrapper.js.map +1 -1
  581. package/lib/components/StorybookUtils/StoryWrapper.mjs +1 -1
  582. package/lib/components/StorybookUtils/StoryWrapper.mjs.map +1 -1
  583. package/lib/components/StyleableSvgImage/StyleableSvgImage.js +2 -8
  584. package/lib/components/StyleableSvgImage/StyleableSvgImage.js.map +1 -1
  585. package/lib/components/StyleableSvgImage/StyleableSvgImage.mjs +1 -1
  586. package/lib/components/StyleableSvgImage/StyleableSvgImage.mjs.map +1 -1
  587. package/lib/components/Toggle/Toggle.styles.js +4 -10
  588. package/lib/components/Toggle/Toggle.styles.js.map +1 -1
  589. package/lib/components/Toggle/Toggle.styles.mjs +1 -1
  590. package/lib/components/Toggle/Toggle.styles.mjs.map +1 -1
  591. package/lib/components/Tooltip/Tooltip.styles.js +3 -9
  592. package/lib/components/Tooltip/Tooltip.styles.js.map +1 -1
  593. package/lib/components/Tooltip/Tooltip.styles.mjs +1 -1
  594. package/lib/components/Tooltip/Tooltip.styles.mjs.map +1 -1
  595. package/lib/components/UICare/UICare.styles.js +13 -19
  596. package/lib/components/UICare/UICare.styles.js.map +1 -1
  597. package/lib/components/UICare/UICare.styles.mjs +1 -1
  598. package/lib/components/UICare/UICare.styles.mjs.map +1 -1
  599. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +29 -35
  600. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
  601. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs +1 -1
  602. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs.map +1 -1
  603. package/lib/constants/icons/generic/index.js +3 -3
  604. package/lib/constants/icons/generic/index.mjs +1 -1
  605. package/lib/constants/icons/generic/minus.svg.js +5 -5
  606. package/lib/constants/icons/generic/minus.svg.mjs +2 -2
  607. package/lib/constants/icons/header/globe.svg.js +1 -1
  608. package/lib/constants/icons/header/globe.svg.mjs +2 -2
  609. package/lib/constants/icons/header/index.js +1 -1
  610. package/lib/constants/icons/header/index.mjs +1 -1
  611. package/lib/constants/icons/menu/floodlight.svg.js +5 -5
  612. package/lib/constants/icons/menu/floodlight.svg.mjs +2 -2
  613. package/lib/constants/icons/menu/index.js +9 -9
  614. package/lib/constants/icons/menu/index.mjs +3 -3
  615. package/lib/constants/icons/menu/power.svg.js +5 -5
  616. package/lib/constants/icons/menu/power.svg.mjs +2 -2
  617. package/lib/constants/icons/menu/rack.svg.js +5 -5
  618. package/lib/constants/icons/menu/rack.svg.mjs +2 -2
  619. package/lib/constants/mixin.js +3 -3
  620. package/lib/constants/mixin.js.map +1 -1
  621. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.js +1 -1
  622. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.mjs +2 -2
  623. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.js +1 -1
  624. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.mjs +2 -2
  625. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-pro.jpg.js +1 -1
  626. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-pro.jpg.mjs +2 -2
  627. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader.jpg.js +1 -1
  628. package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader.jpg.mjs +2 -2
  629. package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit-pro.jpg.js +1 -1
  630. package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit-pro.jpg.mjs +2 -2
  631. package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit.jpg.js +1 -1
  632. package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit.jpg.mjs +2 -2
  633. package/lib/constants/modelCompareData/assets/compact.svg.js +1 -1
  634. package/lib/constants/modelCompareData/assets/compact.svg.mjs +2 -2
  635. package/lib/constants/modelCompareData/assets/floodlight.svg.js +1 -1
  636. package/lib/constants/modelCompareData/assets/floodlight.svg.mjs +2 -2
  637. package/lib/constants/modelCompareData/assets/globe.svg.js +1 -1
  638. package/lib/constants/modelCompareData/assets/globe.svg.mjs +2 -2
  639. package/lib/constants/modelCompareData/assets/minus.svg.js +1 -1
  640. package/lib/constants/modelCompareData/assets/minus.svg.mjs +2 -2
  641. package/lib/constants/modelCompareData/assets/power.svg.js +1 -1
  642. package/lib/constants/modelCompareData/assets/power.svg.mjs +2 -2
  643. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.js +1 -1
  644. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.mjs +2 -2
  645. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.js +1 -1
  646. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.mjs +2 -2
  647. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-pro.jpg.js +1 -1
  648. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-pro.jpg.mjs +2 -2
  649. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader.jpg.js +1 -1
  650. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader.jpg.mjs +2 -2
  651. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit-pro.jpg.js +1 -1
  652. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit-pro.jpg.mjs +2 -2
  653. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit.jpg.js +1 -1
  654. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit.jpg.mjs +2 -2
  655. package/lib/constants/modelCompareData/assets/product-list-assets/compact.svg.js +1 -1
  656. package/lib/constants/modelCompareData/assets/product-list-assets/compact.svg.mjs +2 -2
  657. package/lib/constants/modelCompareData/assets/product-list-assets/ptz.svg.js +1 -1
  658. package/lib/constants/modelCompareData/assets/product-list-assets/ptz.svg.mjs +2 -2
  659. package/lib/constants/modelCompareData/assets/ptz.svg.js +1 -1
  660. package/lib/constants/modelCompareData/assets/ptz.svg.mjs +2 -2
  661. package/lib/constants/modelCompareData/assets/rack.svg.js +1 -1
  662. package/lib/constants/modelCompareData/assets/rack.svg.mjs +2 -2
  663. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.js +1 -1
  664. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.mjs +1 -1
  665. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Ptz.js +1 -1
  666. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Ptz.mjs +1 -1
  667. package/lib/constants/modelCompareData/data/product-list-groups/compact.js +1 -1
  668. package/lib/constants/modelCompareData/data/product-list-groups/compact.mjs +1 -1
  669. package/lib/constants/modelCompareData/data/product-list-groups/ptz.js +1 -1
  670. package/lib/constants/modelCompareData/data/product-list-groups/ptz.mjs +1 -1
  671. package/lib/constants/modelCompareData/data/products/aiDslr.js +2 -2
  672. package/lib/constants/modelCompareData/data/products/aiDslr.mjs +2 -2
  673. package/lib/constants/modelCompareData/data/products/efg.js +2 -3
  674. package/lib/constants/modelCompareData/data/products/efg.js.map +1 -1
  675. package/lib/constants/modelCompareData/data/products/efg.mjs +1 -1
  676. package/lib/constants/modelCompareData/data/products/efg.mjs.map +1 -1
  677. package/lib/constants/modelCompareData/data/products/express.js +2 -3
  678. package/lib/constants/modelCompareData/data/products/express.js.map +1 -1
  679. package/lib/constants/modelCompareData/data/products/express.mjs +1 -1
  680. package/lib/constants/modelCompareData/data/products/express.mjs.map +1 -1
  681. package/lib/constants/modelCompareData/data/products/express7.js +2 -3
  682. package/lib/constants/modelCompareData/data/products/express7.js.map +1 -1
  683. package/lib/constants/modelCompareData/data/products/express7.mjs +1 -1
  684. package/lib/constants/modelCompareData/data/products/express7.mjs.map +1 -1
  685. package/lib/constants/modelCompareData/data/products/g3Reader.js +2 -2
  686. package/lib/constants/modelCompareData/data/products/g3Reader.mjs +2 -2
  687. package/lib/constants/modelCompareData/data/products/g3ReaderPro.js +2 -2
  688. package/lib/constants/modelCompareData/data/products/g3ReaderPro.mjs +2 -2
  689. package/lib/constants/modelCompareData/data/products/g3StarterKit.js +2 -2
  690. package/lib/constants/modelCompareData/data/products/g3StarterKit.mjs +2 -2
  691. package/lib/constants/modelCompareData/data/products/g3StarterKitPro.js +2 -2
  692. package/lib/constants/modelCompareData/data/products/g3StarterKitPro.mjs +2 -2
  693. package/lib/constants/modelCompareData/data/products/g5Bullet.js +2 -2
  694. package/lib/constants/modelCompareData/data/products/g5Bullet.mjs +2 -2
  695. package/lib/constants/modelCompareData/data/products/ucgUltra.js +2 -3
  696. package/lib/constants/modelCompareData/data/products/ucgUltra.js.map +1 -1
  697. package/lib/constants/modelCompareData/data/products/ucgUltra.mjs +1 -1
  698. package/lib/constants/modelCompareData/data/products/ucgUltra.mjs.map +1 -1
  699. package/lib/constants/modelCompareData/data/products/udr.js +5 -6
  700. package/lib/constants/modelCompareData/data/products/udr.js.map +1 -1
  701. package/lib/constants/modelCompareData/data/products/udr.mjs +1 -1
  702. package/lib/constants/modelCompareData/data/products/udr.mjs.map +1 -1
  703. package/lib/constants/modelCompareData/data/products/uispSwitch.js +2 -3
  704. package/lib/constants/modelCompareData/data/products/uispSwitch.js.map +1 -1
  705. package/lib/constants/modelCompareData/data/products/uispSwitch.mjs +1 -1
  706. package/lib/constants/modelCompareData/data/products/uispSwitch.mjs.map +1 -1
  707. package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js +2 -3
  708. package/lib/constants/modelCompareData/data/products/uispSwitchPlus.js.map +1 -1
  709. package/lib/constants/modelCompareData/data/products/uispSwitchPlus.mjs +1 -1
  710. package/lib/constants/modelCompareData/data/products/uispSwitchPlus.mjs.map +1 -1
  711. package/lib/constants/modelCompareData/data/properties/accessPowerMethod.js +1 -1
  712. package/lib/constants/modelCompareData/data/properties/accessPowerMethod.mjs +1 -1
  713. package/lib/constants/modelCompareData/data/properties/availability.js +1 -1
  714. package/lib/constants/modelCompareData/data/properties/availability.mjs +1 -1
  715. package/lib/constants/modelCompareData/data/properties/builtInFloodlight.js +1 -1
  716. package/lib/constants/modelCompareData/data/properties/builtInFloodlight.mjs +1 -1
  717. package/lib/constants/modelCompareData/data/properties/dcPowerOutput.js +1 -1
  718. package/lib/constants/modelCompareData/data/properties/dcPowerOutput.mjs +1 -1
  719. package/lib/constants/modelCompareData/data/properties/mounting.js +1 -1
  720. package/lib/constants/modelCompareData/data/properties/mounting.mjs +1 -1
  721. package/lib/constants/modelCompareData/data/properties/webMode.js +1 -1
  722. package/lib/constants/modelCompareData/data/properties/webMode.mjs +1 -1
  723. package/lib/contexts/MenuContext/mapping.js +3 -3
  724. package/lib/contexts/MenuContext/mapping.mjs +2 -2
  725. package/lib/contexts/MicrositeMenuContext/mapping.js +3 -3
  726. package/lib/contexts/MicrositeMenuContext/mapping.mjs +2 -2
  727. package/lib/utils/nextjs/plugin.js +1 -3
  728. package/lib/utils/nextjs/plugin.js.map +1 -1
  729. package/lib/utils/nextjs/plugin.mjs +1 -3
  730. package/lib/utils/nextjs/plugin.mjs.map +1 -1
  731. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ModelComparePropertyValueGridItem.mjs","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport styled, { css } from \"styled-components\";\n\nimport checkIconSvg from \"../../constants/modelCompareData/assets/check.svg\";\nimport minusIconSvg from \"../../constants/modelCompareData/assets/minus.svg\";\nimport {\n type MutatedProperty,\n MutatedPropertyType,\n type MutatedPropertyValue,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon = {\n src: imageSrc(checkIconSvg),\n width: 16,\n height: 12,\n};\nconst minusIcon = {\n src: imageSrc(minusIconSvg),\n width: 11,\n height: 8,\n};\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value\n $disableOverflow={\n productProperty?.value.type === MutatedPropertyType.Boolean\n }\n >\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection, storeId } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case MutatedPropertyType.Custom: {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case MutatedPropertyType.Boolean: {\n const icon = productProperty.value.value ? checkIcon : minusIcon;\n\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case MutatedPropertyType.String: {\n const value =\n typeof productProperty.value.value === \"string\"\n ? productProperty.value.value\n : productProperty.value.value(storeId);\n\n return (\n <Stack>\n {value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","src","imageSrc","checkIconSvg","width","height","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","MutatedPropertyType","Boolean","PropertyValueComponent","GridItem","languageDirection","storeId","useMenu","asterisks","useMemo","asterisk","i","push","join","Custom","jsxs","Fragment","BooleanWrap","BooleanAsterisks","String","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,MAAMA,SAAY,GAAA;EAChBC,GAAA,EAAKC,SAASC,qBAAY,CAAA;EAC1BC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AACA,MAAMC,SAAY,GAAA;EAChBL,GAAA,EAAKC,SAASK,qBAAY,CAAA;EAC1BH,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEO,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;EACD,IAAID,eAAiB,EAAA;IACnB,2BACGE,cACC,EAAA;MAAAC,QAAA,EAAA,CAAA,eAACC,GAAA,CAAAC,YAAA,EAAA;QACCF,QAAC,EAAA,eAAAC,GAAA,CAAAE,iBAAA,EAAA;UAAkBZ,KAAO,EAAA,EAAA;UAAIC,QAAQ,EAAI;UAAAJ,GAAA,EAAKU,QAAS,CAAAM;QAAA,CAAM;MAChE,CAAA,CAAA,EACA,eAAAH,GAAA,CAACI,aAAe,EAAA;QAAAL,QAAA,EAAAF,QAAA,CAASQ;MAAM,CAAA,CAAA,EAAA,mBAC9BC,MAAO,EAAA,EAAA,CAAA,EAAA,eACRN,GAAA,CAACO,KAAA,EAAA;QACCC,gBACE,EAAAb,eAAA,EAAiBc,KAAM,CAAAC,IAAA,KAASC,mBAAoB,CAAAC,OAAA;QAGtDb,QAAA,iBAAAC,GAAA,CAACa;UAAuBlB;QAAkC,CAAA;MAAA,CAAA,CAAA;KAE9D,CAAA;EAAA;E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c,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAMfC,KAAA,CAAMC,OAAOC,cAAc;AAAA,CAAA;AAGxD,MAAMxC,gBAAgBiC,MAAO,CAAAC,GAAA;AAAA;AAAA,iBAEZI,KAAA,CAAMG,WAAWC,IAAI;AAAA;AAAA,iBAErB,KAAK,EAAE;AAAA,CAAA;AAGxB,MAAM7C,eAAeoC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAMhC,SAAS+B,MAAO,CAAAC,GAAA;AAAA;AAAA,CAAA;AAItB,MAAMX,cAAcU,MAAO,CAAAC,GAAA;AAAA;AAAA;;AAAA,uBAIJS,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQxC,MAAMnB,mBAAmBS,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,uBAQTS,iBAAiB;AAAA;;AAAA;AAAA;AAAA,CAAA;"}
1
+ {"version":3,"file":"ModelComparePropertyValueGridItem.mjs","sources":["../../../src/components/ModelCompareV3/ModelComparePropertyValueGridItem.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { styled, css } from \"styled-components\";\n\nimport checkIconSvg from \"../../constants/modelCompareData/assets/check.svg\";\nimport minusIconSvg from \"../../constants/modelCompareData/assets/minus.svg\";\nimport {\n type MutatedProperty,\n MutatedPropertyType,\n type MutatedPropertyValue,\n} from \"../../constants/modelCompareData/types\";\nimport { theme } from \"../../constants/theme\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { MOBILE_BREAKPOINT, textSize } from \"./ModelCompareV3.styles\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nconst checkIcon = {\n src: imageSrc(checkIconSvg),\n width: 16,\n height: 12,\n};\nconst minusIcon = {\n src: imageSrc(minusIconSvg),\n width: 11,\n height: 8,\n};\n\nexport function ModelComparePropertyValueGridItem({\n productProperty,\n includeProperty,\n property,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n includeProperty: boolean;\n property: MutatedProperty;\n}) {\n if (includeProperty) {\n return (\n <InlineGridItem>\n <PropertyIcon>\n <StyleableSvgImage width={30} height={30} src={property.icon} />\n </PropertyIcon>\n <PropertyTitle>{property.title}</PropertyTitle>\n <Spacer />\n <Value\n $disableOverflow={\n productProperty?.value.type === MutatedPropertyType.Boolean\n }\n >\n <PropertyValueComponent productProperty={productProperty} />\n </Value>\n </InlineGridItem>\n );\n }\n\n return (\n <GridItem>\n <PropertyValueComponent productProperty={productProperty} />\n </GridItem>\n );\n}\n\nfunction PropertyValueComponent({\n productProperty,\n}: {\n productProperty: MutatedPropertyValue | undefined;\n}) {\n const { languageDirection, storeId } = useMenu();\n\n const asterisks = useMemo(() => {\n if (!productProperty?.value.asterisk) {\n return null;\n }\n\n const asterisks = [];\n for (let i = 0; i < productProperty.value.asterisk; i++) {\n asterisks.push(\"*\");\n }\n\n return asterisks.join(\"\");\n }, [productProperty?.value.asterisk]);\n\n switch (productProperty?.value.type) {\n case MutatedPropertyType.Custom: {\n return (\n <>\n {productProperty.value.value}\n {asterisks}\n </>\n );\n }\n case MutatedPropertyType.Boolean: {\n const icon = productProperty.value.value ? checkIcon : minusIcon;\n\n return (\n <BooleanWrap>\n <StyleableSvgImage {...icon} />\n {asterisks && <BooleanAsterisks>{asterisks}</BooleanAsterisks>}\n </BooleanWrap>\n );\n }\n case MutatedPropertyType.String: {\n const value =\n typeof productProperty.value.value === \"string\"\n ? productProperty.value.value\n : productProperty.value.value(storeId);\n\n return (\n <Stack>\n {value.split(\"\\n\").map((row, i, arr) => (\n <div dir={languageDirection} key={i}>\n {row}\n {arr.length - 1 === i ? asterisks : null}\n </div>\n ))}\n </Stack>\n );\n }\n }\n\n return null;\n}\n\nconst Stack = styled.div`\n display: flex;\n flex-direction: column;\n gap: 4px;\n ${textSize}\n`;\n\nconst Value = styled.div<{ $disableOverflow?: boolean }>`\n text-align: right;\n\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n text-overflow: ellipsis;\n min-width: min-content;\n\n div {\n ${({ $disableOverflow }) =>\n !$disableOverflow &&\n css`\n overflow: hidden;\n `}\n\n text-overflow: ellipsis;\n }\n`;\n\nconst GridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #000000a6;\n text-align: center;\n padding: 16px;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n border-left: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst InlineGridItem = styled(StickyGridItem)`\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 16px;\n overflow: hidden;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nconst PropertyTitle = styled.div`\n font-size: 14px;\n font-weight: ${theme.fontWeight.bold};\n max-width: 45%;\n line-height: ${17 / 14};\n`;\n\nconst PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n`;\n\nconst Spacer = styled.div`\n flex: 1;\n`;\n\nconst BooleanWrap = styled.div`\n position: relative;\n overflow: visible;\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 5.5px;\n }\n`;\n\nconst BooleanAsterisks = styled.div`\n position: absolute;\n font-size: 14px;\n line-height: 16.8px;\n\n top: -4.5px;\n left: calc(100% + 5.5px);\n\n @media (max-width: ${MOBILE_BREAKPOINT}px) {\n position: static;\n\n margin-top: -4.5px;\n }\n`;\n"],"names":["checkIcon","src","imageSrc","checkIconSvg","width","height","minusIcon","minusIconSvg","ModelComparePropertyValueGridItem","productProperty","includeProperty","property","InlineGridItem","children","jsx","PropertyIcon","StyleableSvgImage","icon","PropertyTitle","title","Spacer","Value","$disableOverflow","value","type","MutatedPropertyType","Boolean","PropertyValueComponent","GridItem","languageDirection","storeId","useMenu","asterisks","useMemo","asterisk","i","push","join","Custom","jsxs","Fragment","BooleanWrap","BooleanAsterisks","String","Stack","split","map","row","arr","dir","length","styled","div","textSize","css","StickyGridItem","theme","colors","athensGreyDark","fontWeight","bold","MOBILE_BREAKPOINT"],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,MAAMA,SAAY,GAAA;EAChBC,GAAA,EAAKC,SAASC,qBAAY,CAAA;EAC1BC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AACA,MAAMC,SAAY,GAAA;EAChBL,GAAA,EAAKC,SAASK,qBAAY,CAAA;EAC1BH,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEO,SAASG,iCAAkCA,CAAA;EAChDC,eAAA;EACAC,eAAA;EACAC;AACF,CAIG,EAAA;EACD,IAAID,eAAiB,EAAA;IACnB,2BACGE,cACC,EAAA;MAAAC,QAAA,EAAA,CAAA,eAACC,GAAA,CAAAC,YAAA,EAAA;QACCF,QAAC,EAAA,eAAAC,GAAA,CAAAE,iBAAA,EAAA;UAAkBZ,KAAO,EAAA,EAAA;UAAIC,QAAQ,EAAI;UAAAJ,GAAA,EAAKU,QAAS,CAAAM;QAAA,CAAM;MAChE,CAAA,CAAA,EACA,eAAAH,GAAA,CAACI,aAAe,EAAA;QAAAL,QAAA,EAAAF,QAAA,CAASQ;MAAM,CAAA,CAAA,EAAA,mBAC9BC,MAAO,EAAA,EAAA,CAAA,EAAA,eACRN,GAAA,CAACO,KAAA,EAAA;QACCC,gBACE,EAAAb,eAAA,EAAiBc,KAAM,CAAAC,IAAA,KAASC,mBAAoB,CAAAC,OAAA;QAGtDb,QAAA,iBAAAC,GAAA,CAACa;UAAuBlB;QAAkC,CAAA;MAAA,CAAA,CAAA;KAE9D,CAAA;EAAA;EAIJ,sBACGK,GAAA,CAAAc,QAAA,EAAA;IACCf,QAAC,EAAA,eAAAC,GAAA,CAAAa,sBAAA,EAAA;MAAuBlB;IAAkC,CAAA;GAC5D,CAAA;AAEJ;AAEA,SAASkB,sBAAu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EZI,KAAA,CAAMG,WAAWC,IAAI;AAAA;AAAA,iBAErB,KAAK,EAAE;AAAA,CAAA;AAGxB,MAAM7C,eAAeoC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAMhC,SAAS+B,MAAO,CAAAC,GAAA;AAAA;AAAA,CAAA;AAItB,MAAMX,cAAcU,MAAO,CAAAC,GAAA;AAAA;AAAA;;AAAA,uBAIJS,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQxC,MAAMnB,mBAAmBS,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA,uBAQTS,iBAAiB;AAAA;;AAAA;AAAA;AAAA,CAAA;"}
@@ -4,7 +4,7 @@ var jsxRuntime = require('react/jsx-runtime');
4
4
  var Tooltip = require('@ubnt/ui-components/Tooltip');
5
5
  var React = require('react');
6
6
  var reactUse = require('react-use');
7
- var styled = require('styled-components');
7
+ var styledComponents = require('styled-components');
8
8
  var useModelCompareTranslation = require('../../constants/modelCompareData/translations/useModelCompareTranslation.js');
9
9
  require('../../constants/modelCompareData/assets/tooltip-info.svg.js');
10
10
  require('../../contexts/MenuContext/index.js');
@@ -436,7 +436,7 @@ const ModelCompare = ({
436
436
  })
437
437
  );
438
438
  };
439
- const TooltipStyles = styled.createGlobalStyle`
439
+ const TooltipStyles = styledComponents.createGlobalStyle`
440
440
  .${TOOLTIP_CLASS_NAME} {
441
441
  box-shadow: 0 8px 24px 0 #00000014;
442
442
  max-width: ${({
@@ -1 +1 @@
1
- {"version":3,"file":"ModelCompareV3.js","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.tsx"],"sourcesContent":["import { Tooltip } from \"@ubnt/ui-components/Tooltip\";\nimport type React from \"react\";\nimport { Fragment, useCallback, useEffect, useMemo, useState } from \"react\";\nimport { useWindowSize } from \"react-use\";\nimport { createGlobalStyle } from \"styled-components\";\n\nimport { useModelCompareTranslation } from \"../../constants/modelCompareData//translations/useModelCompareTranslation\";\nimport tooltipIcon from \"../../constants/modelCompareData/assets/tooltip-info.svg\";\nimport type {\n MutatedProduct,\n MutatedProperty,\n Section,\n TranslationKey,\n} from \"../../constants/modelCompareData/types\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport type { Nullable } from \"../../types\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { partsToPathname } from \"../../utils/url\";\nimport { BadgeVariants } from \"../Badge/Badge.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { sections } from \"./data\";\nimport { HeaderShadow } from \"./HeaderShadow\";\nimport { ModelCompareOverflowScrollButton } from \"./ModelCompareOverflowScrollButton\";\nimport { ModelComparePropertyValueGridItem } from \"./ModelComparePropertyValueGridItem\";\nimport * as S from \"./ModelCompareV3.styles\";\nimport type { ModelCompareV3Props } from \"./ModelCompareV3.types\";\nimport { ProductGroupsGrid } from \"./ProductGroupsGrid\";\nimport {\n StickyGrid,\n StickyGridBody,\n StickyGridHeader,\n StickyGridOverlay,\n} from \"./StickyGrid\";\n\nconst TOOLTIP_CLASS_NAME = `model-compare-tooltip`;\n\nexport const ModelCompareV3 = ({\n headerStickOffset,\n overlayTopOffset,\n showBuyButton,\n onLinkClick,\n linkToStoreTitleClick,\n additionalProductData,\n ...props\n}: ModelCompareV3Props) => {\n const { formatMessage } = useModelCompareTranslation();\n const { storeId } = useMenu();\n\n // #############################################################################\n // Load section\n // #############################################################################\n const [section, setSection] = useState<Nullable<Section>>(\n \"section\" in props ? props.section : null,\n );\n\n const sectionId = useMemo(\n () => (\"id\" in props ? props.id : undefined),\n [props],\n );\n\n useEffect(() => {\n if (!sectionId) {\n return;\n }\n\n const loadSection = sections[sectionId];\n\n if (!loadSection) {\n return;\n }\n\n loadSection()\n .then((sectionData) => setSection(sectionData))\n .catch((error) => {\n console.error(`Failed to load section ${sectionId}:`, error);\n setSection(null);\n });\n }, [sectionId]);\n\n const products = useMemo(\n (): MutatedProduct[] | undefined =>\n section?.products.map((product) => ({\n ...product,\n propertyValues: product.propertyValues.map((propertyValue) => ({\n propertyId: propertyValue.propertyId,\n value:\n propertyValue.value.type === \"translation\"\n ? {\n ...propertyValue.value,\n type: \"string\",\n value: formatMessage(\n typeof propertyValue.value.value === \"string\"\n ? propertyValue.value.value\n : propertyValue.value.value(storeId),\n ),\n }\n : {\n ...propertyValue.value,\n },\n })),\n ...(additionalProductData?.find((p) => p.id === product.id) || {}),\n // Parse footnotes\n footnotes: product.footnotes\n ?.map((footnote) =>\n typeof footnote === \"string\" ? footnote : footnote(storeId),\n )\n .filter((f): f is TranslationKey => !!f),\n })),\n [additionalProductData, formatMessage, section?.products, storeId],\n );\n\n const properties = useMemo(\n (): MutatedProperty[] | undefined =>\n section?.properties.map((property) => ({\n ...property,\n title: formatMessage(property.title),\n tooltip: property.tooltip && formatMessage(property.tooltip),\n })),\n [formatMessage, section?.properties],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n if (!section || !products || !properties) {\n return null;\n }\n\n return (\n <ModelCompare\n products={products}\n properties={properties}\n columnWidth={section.columnWidth}\n propertyColumnWidth={section.propertyColumnWidth}\n showProductGroups={section.showProductGroups}\n headerStickOffset={headerStickOffset}\n overlayTopOffset={overlayTopOffset}\n showBuyButton={showBuyButton}\n onLinkClick={onLinkClick}\n linkToStoreTitleClick={linkToStoreTitleClick}\n showBadges={section.showBadges}\n />\n );\n};\n\nconst ModelCompare = ({\n products,\n properties,\n showProductGroups,\n columnWidth = 338,\n propertyColumnWidth = 230,\n headerStickOffset,\n overlayTopOffset,\n showBuyButton,\n onLinkClick,\n linkToStoreTitleClick,\n showBadges,\n}: {\n products: MutatedProduct[];\n properties: MutatedProperty[];\n showProductGroups?: boolean;\n propertyColumnWidth?: number;\n columnWidth?: number;\n headerStickOffset?: (context: { maxImageHeight: number }) => number;\n overlayTopOffset?: number;\n showBuyButton: boolean;\n onLinkClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;\n linkToStoreTitleClick?: boolean;\n showBadges?: boolean;\n}) => {\n const { createSiteUrl, languageDirection, storeId } = useMenu();\n const { formatMessage } = useModelCompareTranslation();\n const { width: screenWidth } = useWindowSize();\n\n // #############################################################################\n // Layout calculations\n // #############################################################################\n const isSmallScreen = screenWidth < S.MOBILE_BREAKPOINT;\n\n const leftColumnWidth = isSmallScreen\n ? 0\n : Math.min(screenWidth / 4, propertyColumnWidth);\n\n const maxImageHeight = useMemo(() => {\n return Math.max(...products.map((p) => p.v3Image.height));\n }, [products]);\n\n const stickOffset = !headerStickOffset\n ? 0\n : headerStickOffset({ maxImageHeight });\n\n /**\n * 1 placeholder (centering) column that shrinks to 0 when width of grid > max-width\n * 1 sticky left column\n * N non-sticky product columns\n * 1 placeholder (centering) column that shrinks to 0 when width of grid > max-width\n */\n const templateColumnWidth = isSmallScreen ? \"100%\" : `${columnWidth}px`;\n const templateColumns = `1fr ${leftColumnWidth}px repeat(${products.length}, ${templateColumnWidth}) 1fr`;\n\n // #############################################################################\n // Utils\n // #############################################################################\n const getStorePathParts = useCallback(\n (storePathParts: MutatedProduct[\"storePathParts\"]) => {\n if (typeof storePathParts === \"function\") {\n return storePathParts(storeId);\n }\n return storePathParts;\n },\n [storeId],\n );\n\n const getStoreHref = useCallback(\n (product: MutatedProduct) => {\n const storePathParts = getStorePathParts(product.storePathParts);\n\n if (!storePathParts) {\n return undefined;\n }\n\n const pathParts: string[] = [];\n\n if (storePathParts?.category) {\n pathParts.push(\"category\", storePathParts?.category);\n }\n if (storePathParts?.collectionSlug) {\n pathParts.push(\"collections\", storePathParts?.collectionSlug);\n }\n if (storePathParts?.productSlug) {\n pathParts.push(\"products\", storePathParts?.productSlug);\n }\n\n const storePathString = partsToPathname(pathParts);\n\n return (\n storePathParts &&\n createSiteUrl([\n SiteId.Store,\n storePathString,\n storePathParts?.variant\n ? { variant: storePathParts.variant }\n : undefined,\n ])\n );\n },\n [createSiteUrl, getStorePathParts],\n );\n\n const hasNotes = useMemo(() => {\n return products.some((el) => !!el.notes?.length);\n }, [products]);\n\n const hasFootnotes = useMemo(() => {\n return products.some((el) => el.footnotes?.length);\n }, [products]);\n\n // #############################################################################\n // Bottom bottom\n // #############################################################################\n const getComingSoonButtonText = useCallback(\n (product: MutatedProduct) => {\n const buttonText = product.comingSoonButtonText;\n\n if (typeof buttonText === \"string\") {\n return formatMessage(buttonText);\n }\n\n if (typeof buttonText === \"function\" && !!buttonText(storeId)) {\n const foundKey = buttonText(storeId);\n\n if (foundKey) {\n return formatMessage(foundKey);\n }\n }\n\n return formatMessage(\"Coming Soon\");\n },\n [formatMessage, storeId],\n );\n\n const renderButton = useCallback(\n (p: MutatedProduct) => {\n // If we have a custom button, use that instead\n if (p.addToCartButton) {\n return p.addToCartButton;\n }\n\n // CASE: Coming soon\n if (\n (typeof p.isComingSoon === \"boolean\" && !!p.isComingSoon) ||\n (Array.isArray(p.isComingSoon) && p?.isComingSoon.includes(storeId))\n ) {\n return (\n <S.ComingSoon variant=\"comingSoon\">\n {getComingSoonButtonText(p)}\n </S.ComingSoon>\n );\n }\n\n // CASE: Start Trial\n const startTrialHref = p.startTrialLink;\n\n if (startTrialHref) {\n return (\n <S.Button\n variant=\"primary\"\n anchor\n href={startTrialHref}\n onClick={(e) => onLinkClick?.(e, startTrialHref)}\n >\n {formatMessage(\"Start Trial\")}\n </S.Button>\n );\n }\n\n // CASE: Learn More\n const learnMoreHref = p.learnMoreLink && createSiteUrl(p.learnMoreLink);\n\n if (learnMoreHref) {\n return (\n <S.Button\n variant=\"primary\"\n anchor\n href={learnMoreHref}\n onClick={(e) => onLinkClick?.(e, learnMoreHref)}\n >\n {formatMessage(\"Learn More\")}\n </S.Button>\n );\n }\n\n const storeHref = getStoreHref(p);\n\n // CASE: Buy Now\n if (!storeHref || !showBuyButton) {\n return null;\n }\n\n return (\n <S.Button\n variant=\"primary\"\n anchor\n href={storeHref}\n onClick={(e) => onLinkClick?.(e, storeHref)}\n >\n {formatMessage(\"Buy Now\")}\n </S.Button>\n );\n },\n [\n createSiteUrl,\n formatMessage,\n getComingSoonButtonText,\n getStoreHref,\n onLinkClick,\n showBuyButton,\n storeId,\n ],\n );\n\n // #############################################################################\n // Badges (new, custom) below the product description\n // #############################################################################\n const renderBadges = useCallback(\n (product: MutatedProduct) => {\n // If we haven't specifically enabled badges, don't render them\n if (!showBadges) {\n return null;\n }\n\n // If product is new, render new badge and nothing else\n if (product.isNew) {\n return <S.Badge variant=\"lightGreen\">{formatMessage(\"New\")}</S.Badge>;\n }\n\n if (product.customBadges?.length) {\n const badges = product.customBadges;\n\n if (!badges) {\n return null;\n }\n\n return badges.map((badge, i) => {\n return (\n <S.Badge key={i} variant={badge.variant || BadgeVariants.lightGrey}>\n {badge.value.type === \"translation\"\n ? formatMessage(\n typeof badge.value.value === \"string\"\n ? badge.value.value\n : badge.value.value(storeId),\n )\n : badge.value.value}\n </S.Badge>\n );\n });\n }\n\n return null;\n },\n [formatMessage, showBadges, storeId],\n );\n\n // #############################################################################\n // Renders the product header\n // #############################################################################\n const renderProductHeader = useCallback(\n (product: MutatedProduct) => {\n const storeHref = getStoreHref(product);\n const techspecsHref =\n product.techspecsPath && createSiteUrl(product.techspecsPath);\n\n const productTitleHref = linkToStoreTitleClick\n ? storeHref\n : techspecsHref;\n\n return (\n <S.HeaderGridItem\n key={product.id}\n style={{ paddingTop: showProductGroups ? 0 : undefined }}\n >\n <S.ProductImageWrap height={product.v3Image.height}>\n <S.ProductImage\n src={imageSrc(product.v3Image.src)}\n width={product.v3Image.width}\n alt={formatMessage(product.title)}\n />\n </S.ProductImageWrap>\n <S.ProductMeta>\n {(linkToStoreTitleClick && storeHref) ||\n (!linkToStoreTitleClick && techspecsHref) ? (\n <S.ProductTitleLink\n variant=\"link\"\n anchor\n href={productTitleHref}\n onClick={(e) =>\n productTitleHref && onLinkClick?.(e, productTitleHref)\n }\n >\n {formatMessage(product.title)}\n </S.ProductTitleLink>\n ) : (\n <S.ProductTitle>{formatMessage(product.title)}</S.ProductTitle>\n )}\n {!!product?.productNote && (\n <S.ProductNote>\n {formatMessage(product.productNote)}\n </S.ProductNote>\n )}\n {product.description ? (\n <S.ProductDescription\n $maxWidth={product.descriptionMaxWidth}\n $direction={languageDirection}\n >\n {formatMessage(product.description)}\n </S.ProductDescription>\n ) : null}\n <S.BadgeWrapper>{renderBadges(product)}</S.BadgeWrapper>\n </S.ProductMeta>\n </S.HeaderGridItem>\n );\n },\n [\n createSiteUrl,\n getStoreHref,\n formatMessage,\n linkToStoreTitleClick,\n onLinkClick,\n showProductGroups,\n renderBadges,\n languageDirection,\n ],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n // APPLY left to right override in all cases rather than redo the model compare for Arabic\n <section dir={LanguageDirectionType.ltr}>\n <StickyGrid templateColumns={templateColumns}>\n {showProductGroups ? (\n <StickyGridBody>\n <S.CenterPlaceholderGridItem />\n <S.PlaceholderGridItem stickX />\n <ProductGroupsGrid products={products} />\n <S.CenterPlaceholderGridItem />\n </StickyGridBody>\n ) : null}\n\n <StickyGridHeader\n stickOffset={stickOffset}\n nonScrollChildren={({ grid: { isAtMinX }, isStuck }) => (\n <HeaderShadow\n width={leftColumnWidth + products.length * columnWidth}\n leftColumnWidth={leftColumnWidth}\n shadowLeftColumn={isAtMinX}\n show={isStuck}\n />\n )}\n >\n <S.CenterPlaceholderGridItem />\n <S.PlaceholderGridItem stickX />\n {products.map((product) => renderProductHeader(product))}\n <S.CenterPlaceholderGridItem />\n </StickyGridHeader>\n\n <StickyGridBody>\n {properties.map((property) => (\n <Fragment key={property.id}>\n <S.CenterPlaceholderGridItem />\n <S.PropertyTitleGridItem stickX>\n {leftColumnWidth > 0 && (\n <S.PropertyTitleGridItemContent>\n <S.PropertyIcon>\n <StyleableSvgImage\n width={30}\n height={30}\n src={property.icon}\n />\n </S.PropertyIcon>\n <S.PropertyTitle>\n {property.title.split(\"\\n\").map((part, i, arr) =>\n i < arr.length - 1 ? (\n <Fragment key={i}>\n {part}\n <br />\n </Fragment>\n ) : (\n part\n ),\n )}\n </S.PropertyTitle>\n {property.tooltip && (\n <S.PropertyTooltip>\n <TooltipStyles maxWidth={property.tooltipWidth} />\n <Tooltip\n tooltipClassName={TOOLTIP_CLASS_NAME}\n description={\n <S.PropertyTooltipContent>\n {typeof property.tooltip === \"string\" ? (\n <span\n dangerouslySetInnerHTML={{\n __html: property.tooltip,\n }}\n />\n ) : (\n property.tooltip\n )}\n </S.PropertyTooltipContent>\n }\n portal\n motif=\"dark\"\n isInteractive\n position=\"right\"\n width={property.tooltipWidth}\n >\n <S.TooltipIcon\n width={20}\n height={20}\n src={tooltipIcon}\n />\n </Tooltip>\n </S.PropertyTooltip>\n )}\n </S.PropertyTitleGridItemContent>\n )}\n </S.PropertyTitleGridItem>\n\n {products.map((product) => {\n const productProperty = product.propertyValues?.find(\n (p) => p.propertyId === property.id,\n );\n\n return (\n <ModelComparePropertyValueGridItem\n key={product.id}\n productProperty={productProperty}\n property={property}\n includeProperty={isSmallScreen}\n />\n );\n })}\n\n <S.CenterPlaceholderGridItem />\n </Fragment>\n ))}\n\n {/**\n * Notes\n */}\n {hasNotes && (\n <>\n <S.CenterPlaceholderGridItem />\n <S.EmptyPropertyTitleGridItem stickX />\n {products.map((p) => {\n if (!p?.notes?.length) {\n return <S.CenterPlaceholderGridItem key={p.id} />;\n }\n\n return (\n <S.NotesWrap key={p.id}>\n {p.notes.map((note, i) => (\n <S.Note key={i}>{formatMessage(note)}</S.Note>\n ))}\n </S.NotesWrap>\n );\n })}\n <S.CenterPlaceholderGridItem />\n </>\n )}\n\n {/**\n * Buy button\n */}\n <S.CenterPlaceholderGridItem />\n <S.EmptyPropertyTitleGridItem stickX />\n {products.map((p) => {\n const button = renderButton(p);\n\n if (!button) {\n return <S.CenterPlaceholderGridItem key={p.id} />;\n }\n\n return <S.ButtonWrap key={p.id}>{button}</S.ButtonWrap>;\n })}\n <S.CenterPlaceholderGridItem />\n\n {/**\n * Footnotes\n */}\n {hasFootnotes && (\n <>\n <S.CenterPlaceholderGridItem />\n <S.EmptyPropertyTitleGridItem stickX />\n {products.map((p) => {\n if (!p?.footnotes?.length) {\n return <S.CenterPlaceholderGridItem key={p.id} />;\n }\n\n return (\n <S.FootnotesWrap key={p.id}>\n {p.footnotes.map((footnote, i) => (\n <S.Note key={i}>{formatMessage(footnote)}</S.Note>\n ))}\n </S.FootnotesWrap>\n );\n })}\n <S.CenterPlaceholderGridItem />\n </>\n )}\n\n <S.CenterPlaceholderGridItem />\n </StickyGridBody>\n\n <StickyGridOverlay\n style={{ left: `${leftColumnWidth}px` }}\n topOffset={overlayTopOffset}\n >\n {({ isAtMinX }) => (\n <ModelCompareOverflowScrollButton\n isVisible={!isAtMinX}\n color={leftColumnWidth > 0 ? \"rgb(23 49 73 / 0.1)\" : \"white\"}\n rotationDegrees={180}\n onClickColumnDiff={-1}\n totalColumns={products.length}\n totalDeadSpace={leftColumnWidth}\n isSmallScreen={isSmallScreen}\n />\n )}\n </StickyGridOverlay>\n\n <StickyGridOverlay style={{ right: 0 }} topOffset={overlayTopOffset}>\n {({ isAtMaxX }) => (\n <ModelCompareOverflowScrollButton\n isVisible={!isAtMaxX}\n color=\"white\"\n rotationDegrees={0}\n onClickColumnDiff={1}\n totalColumns={products.length}\n totalDeadSpace={leftColumnWidth}\n isSmallScreen={isSmallScreen}\n />\n )}\n </StickyGridOverlay>\n </StickyGrid>\n </section>\n );\n};\n\nconst TooltipStyles = createGlobalStyle<{ maxWidth?: number }>`\n .${TOOLTIP_CLASS_NAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n max-width: ${({ maxWidth }) => maxWidth ?? 200}px;\n font-size: 12px;\n line-height: 16px;\n font-weight: 400;\n padding: 8px 16px;\n margin-top: -1.5px;\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n }\n }\n`;\n"],"names":["TOOLTIP_CLASS_NAME","ModelCompareV3","headerStickOffset","overlayTopOffset","showBuyButton","onLinkClick","linkToStoreTitleClick","additionalProductData","props","formatMessage","useModelCompareTranslation","storeId","useMenu","section","setSection","useState","sectionId","useMemo","id","useEffect","loadSection","sections","then","sectionData","catch","error","console","products","map","product","propertyValues","propertyValue","propertyId","value","type","find","p","footnotes","footnote","filter","f","properties","property","title","tooltip","jsx","ModelCompare","columnWidth","propertyColumnWidth","showProductGroups","showBadges","createSiteUrl","languageDirection","width","screenWidth","useWindowSize","isSmallScreen","S.MOBILE_BREAKPOINT","MOBILE_BREAKPOINT","leftColumnWidth","Math","min","maxImageHeight","max","v3Image","height","stickOffset","templateColumnWidth","templateColumns","length","getStorePathParts","useCallback","storePathParts","getStoreHref","pathParts","category","push","collectionSlug","productSlug","storePathString","partsToPathname","SiteId","Store","variant","hasNotes","some","el","notes","hasFootnotes","getComingSoonButtonText","buttonText","comingSoonButtonText","foundKey","renderButton","addToCartButton","isComingSoon","Array","isArray","includes","S.ComingSoon","ComingSoon","children","startTrialHref","startTrialLink","S.Button","Button","anchor","href","onClick","e","learnMoreHref","learnMoreLink","storeHref","renderBadges","isNew","S.Badge","Badge","customBadges","badges","badge","i","BadgeVariants","lightGrey","renderProductHeader","techspecsHref","techspecsPath","productTitleHref","jsxs","S.HeaderGridItem","HeaderGridItem","style","paddingTop","S.ProductImageWrap","ProductImageWrap","S.ProductImage","ProductImage","src","imageSrc","alt","S.ProductMeta","S.ProductTitleLink","ProductTitleLink","S.ProductTitle","productNote","S.ProductNote","ProductNote","description","S.ProductDescription","ProductDescription","$maxWidth","descriptionMaxWidth","$direction","S.BadgeWrapper","dir","LanguageDirectionType","ltr","StickyGrid","StickyGridBody","S.CenterPlaceholderGridItem","S.PlaceholderGridItem","PlaceholderGridItem","stickX","ProductGroupsGrid","CenterPlaceholderGridItem","StickyGridHeader","nonScrollChildren","grid","isAtMinX","isStuck","HeaderShadow","shadowLeftColumn","show","Fragment","S.PropertyTitleGridItem","PropertyTitleGridItem","S.PropertyTitleGridItemContent","PropertyTitleGridItemContent","S.PropertyIcon","StyleableSvgImage","icon","S.PropertyTitle","split","part","arr","S.PropertyTooltip","TooltipStyles","maxWidth","tooltipWidth","Tooltip","tooltipClassName","S.PropertyTooltipContent","dangerouslySetInnerHTML","__html","portal","motif","isInteractive","position","S.TooltipIcon","TooltipIcon","tooltipIcon","productProperty","ModelComparePropertyValueGridItem","includeProperty","S.EmptyPropertyTitleGridItem","EmptyPropertyTitleGridItem","S.NotesWrap","note","S.Note","button","S.ButtonWrap","S.FootnotesWrap","StickyGridOverlay","left","topOffset","ModelCompareOverflowScrollButton","isVisible","color","rotationDegrees","onClickColumnDiff","totalColumns","totalDeadSpace","right","isAtMaxX","createGlobalStyle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,MAAMA,kBAAqB,GAAA,uBAAA;AAEpB,MAAMC,iBAAiBA,CAAC;EAC7BC,iBAAA;EACAC,gBAAA;EACAC,aAAA;EACAC,WAAA;EACAC,qBAAA;EACAC,qBAAA;EACA,GAAGC;AACL,CAA2B,KAAA;EACnB,MAAA;IAAEC;EAAc,CAAA,GAAIC,qDAA2B,CAAA,CAAA;EAC/C,MAAA;IAAEC;EAAQ,CAAA,GAAIC,eAAQ,CAAA,CAAA;EAKtB,MAAA,CAACC,OAAS,EAAAC,UAAU,CAAI,GAAAC,KAAA,CAAAA,QAAA,CAC5B,SAAA,IAAaP,KAAQ,GAAAA,KAAA,CAAMK,OAAU,GAAA,IACvC,CAAA;EAEA,MAAMG,SAAY,GAAAC,KAAA,CAAAA,OAAA,CAChB,MAAO,IAAA,IAAQT,KAAQ,GAAAA,KAAA,CAAMU,EAAK,GAAA,KAAA,CAAA,EAClC,CAACV,KAAK,CACR,CAAA;EAEAW,KAAAA,CAAAA,SAAA,CAAU,MAAM;IACd,IAAI,CAACH,SAAW,EAAA;MACd;IAAA;IAGI,MAAAI,WAAA,GAAcC,eAASL,SAAS,CAAA;IAEtC,IAAI,CAACI,WAAa,EAAA;MAChB;IAAA;IAGU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,UAAA,CAAAA,GAAA,CAACyK,gCAAA,CAAAA,gCAAA,EAAA;YACCC,WAAW,CAACO,QAAA;YACZN,KAAM,EAAA,OAAA;YACNC,eAAiB,EAAA,CAAA;YACjBC,iBAAmB,EAAA,CAAA;YACnBC,cAAchM,QAAS,CAAA0C,MAAA;YACvBuJ,cAAgB,EAAAjK,eAAA;YAChBH;UAAA,CAAA;QAGN,CAAA,CAAA;MAAA,CACF;IACF,CAAA;EAAA;AAEJ,CAAA;AAEA,MAAMiI,aAAgB,GAAAsC,MAAA,CAAAA,iBAAA;AAAA,KACjB/N,kBAAkB;AAAA;AAAA,iBAEN,CAAC;EAAE0L;CAAS,KAAMA,YAAY,GAAG;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
1
+ {"version":3,"file":"ModelCompareV3.js","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.tsx"],"sourcesContent":["import { Tooltip } from \"@ubnt/ui-components/Tooltip\";\nimport type React from \"react\";\nimport { Fragment, useCallback, useEffect, useMemo, useState } from \"react\";\nimport { useWindowSize } from \"react-use\";\nimport { createGlobalStyle } from \"styled-components\";\n\nimport { useModelCompareTranslation } from \"../../constants/modelCompareData//translations/useModelCompareTranslation\";\nimport tooltipIcon from \"../../constants/modelCompareData/assets/tooltip-info.svg\";\nimport type {\n MutatedProduct,\n MutatedProperty,\n Section,\n TranslationKey,\n} from \"../../constants/modelCompareData/types\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport type { Nullable } from \"../../types\";\nimport { imageSrc } from \"../../utils/asset\";\nimport { partsToPathname } from \"../../utils/url\";\nimport { BadgeVariants } from \"../Badge/Badge.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { sections } from \"./data\";\nimport { HeaderShadow } from \"./HeaderShadow\";\nimport { ModelCompareOverflowScrollButton } from \"./ModelCompareOverflowScrollButton\";\nimport { ModelComparePropertyValueGridItem } from \"./ModelComparePropertyValueGridItem\";\nimport * as S from \"./ModelCompareV3.styles\";\nimport type { ModelCompareV3Props } from \"./ModelCompareV3.types\";\nimport { ProductGroupsGrid } from \"./ProductGroupsGrid\";\nimport {\n StickyGrid,\n StickyGridBody,\n StickyGridHeader,\n StickyGridOverlay,\n} from \"./StickyGrid\";\n\nconst TOOLTIP_CLASS_NAME = `model-compare-tooltip`;\n\nexport const ModelCompareV3 = ({\n headerStickOffset,\n overlayTopOffset,\n showBuyButton,\n onLinkClick,\n linkToStoreTitleClick,\n additionalProductData,\n ...props\n}: ModelCompareV3Props) => {\n const { formatMessage } = useModelCompareTranslation();\n const { storeId } = useMenu();\n\n // #############################################################################\n // Load section\n // #############################################################################\n const [section, setSection] = useState<Nullable<Section>>(\n \"section\" in props ? props.section : null,\n );\n\n const sectionId = useMemo(\n () => (\"id\" in props ? props.id : undefined),\n [props],\n );\n\n useEffect(() => {\n if (!sectionId) {\n return;\n }\n\n const loadSection = sections[sectionId];\n\n if (!loadSection) {\n return;\n }\n\n loadSection()\n .then((sectionData) => setSection(sectionData))\n .catch((error) => {\n console.error(`Failed to load section ${sectionId}:`, error);\n setSection(null);\n });\n }, [sectionId]);\n\n const products = useMemo(\n (): MutatedProduct[] | undefined =>\n section?.products.map((product) => ({\n ...product,\n propertyValues: product.propertyValues.map((propertyValue) => ({\n propertyId: propertyValue.propertyId,\n value:\n propertyValue.value.type === \"translation\"\n ? {\n ...propertyValue.value,\n type: \"string\",\n value: formatMessage(\n typeof propertyValue.value.value === \"string\"\n ? propertyValue.value.value\n : propertyValue.value.value(storeId),\n ),\n }\n : {\n ...propertyValue.value,\n },\n })),\n ...(additionalProductData?.find((p) => p.id === product.id) || {}),\n // Parse footnotes\n footnotes: product.footnotes\n ?.map((footnote) =>\n typeof footnote === \"string\" ? footnote : footnote(storeId),\n )\n .filter((f): f is TranslationKey => !!f),\n })),\n [additionalProductData, formatMessage, section?.products, storeId],\n );\n\n const properties = useMemo(\n (): MutatedProperty[] | undefined =>\n section?.properties.map((property) => ({\n ...property,\n title: formatMessage(property.title),\n tooltip: property.tooltip && formatMessage(property.tooltip),\n })),\n [formatMessage, section?.properties],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n if (!section || !products || !properties) {\n return null;\n }\n\n return (\n <ModelCompare\n products={products}\n properties={properties}\n columnWidth={section.columnWidth}\n propertyColumnWidth={section.propertyColumnWidth}\n showProductGroups={section.showProductGroups}\n headerStickOffset={headerStickOffset}\n overlayTopOffset={overlayTopOffset}\n showBuyButton={showBuyButton}\n onLinkClick={onLinkClick}\n linkToStoreTitleClick={linkToStoreTitleClick}\n showBadges={section.showBadges}\n />\n );\n};\n\nconst ModelCompare = ({\n products,\n properties,\n showProductGroups,\n columnWidth = 338,\n propertyColumnWidth = 230,\n headerStickOffset,\n overlayTopOffset,\n showBuyButton,\n onLinkClick,\n linkToStoreTitleClick,\n showBadges,\n}: {\n products: MutatedProduct[];\n properties: MutatedProperty[];\n showProductGroups?: boolean;\n propertyColumnWidth?: number;\n columnWidth?: number;\n headerStickOffset?: (context: { maxImageHeight: number }) => number;\n overlayTopOffset?: number;\n showBuyButton: boolean;\n onLinkClick?: (e: React.MouseEvent<HTMLElement>, href: string) => void;\n linkToStoreTitleClick?: boolean;\n showBadges?: boolean;\n}) => {\n const { createSiteUrl, languageDirection, storeId } = useMenu();\n const { formatMessage } = useModelCompareTranslation();\n const { width: screenWidth } = useWindowSize();\n\n // #############################################################################\n // Layout calculations\n // #############################################################################\n const isSmallScreen = screenWidth < S.MOBILE_BREAKPOINT;\n\n const leftColumnWidth = isSmallScreen\n ? 0\n : Math.min(screenWidth / 4, propertyColumnWidth);\n\n const maxImageHeight = useMemo(() => {\n return Math.max(...products.map((p) => p.v3Image.height));\n }, [products]);\n\n const stickOffset = !headerStickOffset\n ? 0\n : headerStickOffset({ maxImageHeight });\n\n /**\n * 1 placeholder (centering) column that shrinks to 0 when width of grid > max-width\n * 1 sticky left column\n * N non-sticky product columns\n * 1 placeholder (centering) column that shrinks to 0 when width of grid > max-width\n */\n const templateColumnWidth = isSmallScreen ? \"100%\" : `${columnWidth}px`;\n const templateColumns = `1fr ${leftColumnWidth}px repeat(${products.length}, ${templateColumnWidth}) 1fr`;\n\n // #############################################################################\n // Utils\n // #############################################################################\n const getStorePathParts = useCallback(\n (storePathParts: MutatedProduct[\"storePathParts\"]) => {\n if (typeof storePathParts === \"function\") {\n return storePathParts(storeId);\n }\n return storePathParts;\n },\n [storeId],\n );\n\n const getStoreHref = useCallback(\n (product: MutatedProduct) => {\n const storePathParts = getStorePathParts(product.storePathParts);\n\n if (!storePathParts) {\n return undefined;\n }\n\n const pathParts: string[] = [];\n\n if (storePathParts?.category) {\n pathParts.push(\"category\", storePathParts?.category);\n }\n if (storePathParts?.collectionSlug) {\n pathParts.push(\"collections\", storePathParts?.collectionSlug);\n }\n if (storePathParts?.productSlug) {\n pathParts.push(\"products\", storePathParts?.productSlug);\n }\n\n const storePathString = partsToPathname(pathParts);\n\n return (\n storePathParts &&\n createSiteUrl([\n SiteId.Store,\n storePathString,\n storePathParts?.variant\n ? { variant: storePathParts.variant }\n : undefined,\n ])\n );\n },\n [createSiteUrl, getStorePathParts],\n );\n\n const hasNotes = useMemo(() => {\n return products.some((el) => !!el.notes?.length);\n }, [products]);\n\n const hasFootnotes = useMemo(() => {\n return products.some((el) => el.footnotes?.length);\n }, [products]);\n\n // #############################################################################\n // Bottom bottom\n // #############################################################################\n const getComingSoonButtonText = useCallback(\n (product: MutatedProduct) => {\n const buttonText = product.comingSoonButtonText;\n\n if (typeof buttonText === \"string\") {\n return formatMessage(buttonText);\n }\n\n if (typeof buttonText === \"function\" && !!buttonText(storeId)) {\n const foundKey = buttonText(storeId);\n\n if (foundKey) {\n return formatMessage(foundKey);\n }\n }\n\n return formatMessage(\"Coming Soon\");\n },\n [formatMessage, storeId],\n );\n\n const renderButton = useCallback(\n (p: MutatedProduct) => {\n // If we have a custom button, use that instead\n if (p.addToCartButton) {\n return p.addToCartButton;\n }\n\n // CASE: Coming soon\n if (\n (typeof p.isComingSoon === \"boolean\" && !!p.isComingSoon) ||\n (Array.isArray(p.isComingSoon) && p?.isComingSoon.includes(storeId))\n ) {\n return (\n <S.ComingSoon variant=\"comingSoon\">\n {getComingSoonButtonText(p)}\n </S.ComingSoon>\n );\n }\n\n // CASE: Start Trial\n const startTrialHref = p.startTrialLink;\n\n if (startTrialHref) {\n return (\n <S.Button\n variant=\"primary\"\n anchor\n href={startTrialHref}\n onClick={(e) => onLinkClick?.(e, startTrialHref)}\n >\n {formatMessage(\"Start Trial\")}\n </S.Button>\n );\n }\n\n // CASE: Learn More\n const learnMoreHref = p.learnMoreLink && createSiteUrl(p.learnMoreLink);\n\n if (learnMoreHref) {\n return (\n <S.Button\n variant=\"primary\"\n anchor\n href={learnMoreHref}\n onClick={(e) => onLinkClick?.(e, learnMoreHref)}\n >\n {formatMessage(\"Learn More\")}\n </S.Button>\n );\n }\n\n const storeHref = getStoreHref(p);\n\n // CASE: Buy Now\n if (!storeHref || !showBuyButton) {\n return null;\n }\n\n return (\n <S.Button\n variant=\"primary\"\n anchor\n href={storeHref}\n onClick={(e) => onLinkClick?.(e, storeHref)}\n >\n {formatMessage(\"Buy Now\")}\n </S.Button>\n );\n },\n [\n createSiteUrl,\n formatMessage,\n getComingSoonButtonText,\n getStoreHref,\n onLinkClick,\n showBuyButton,\n storeId,\n ],\n );\n\n // #############################################################################\n // Badges (new, custom) below the product description\n // #############################################################################\n const renderBadges = useCallback(\n (product: MutatedProduct) => {\n // If we haven't specifically enabled badges, don't render them\n if (!showBadges) {\n return null;\n }\n\n // If product is new, render new badge and nothing else\n if (product.isNew) {\n return <S.Badge variant=\"lightGreen\">{formatMessage(\"New\")}</S.Badge>;\n }\n\n if (product.customBadges?.length) {\n const badges = product.customBadges;\n\n if (!badges) {\n return null;\n }\n\n return badges.map((badge, i) => {\n return (\n <S.Badge key={i} variant={badge.variant || BadgeVariants.lightGrey}>\n {badge.value.type === \"translation\"\n ? formatMessage(\n typeof badge.value.value === \"string\"\n ? badge.value.value\n : badge.value.value(storeId),\n )\n : badge.value.value}\n </S.Badge>\n );\n });\n }\n\n return null;\n },\n [formatMessage, showBadges, storeId],\n );\n\n // #############################################################################\n // Renders the product header\n // #############################################################################\n const renderProductHeader = useCallback(\n (product: MutatedProduct) => {\n const storeHref = getStoreHref(product);\n const techspecsHref =\n product.techspecsPath && createSiteUrl(product.techspecsPath);\n\n const productTitleHref = linkToStoreTitleClick\n ? storeHref\n : techspecsHref;\n\n return (\n <S.HeaderGridItem\n key={product.id}\n style={{ paddingTop: showProductGroups ? 0 : undefined }}\n >\n <S.ProductImageWrap height={product.v3Image.height}>\n <S.ProductImage\n src={imageSrc(product.v3Image.src)}\n width={product.v3Image.width}\n alt={formatMessage(product.title)}\n />\n </S.ProductImageWrap>\n <S.ProductMeta>\n {(linkToStoreTitleClick && storeHref) ||\n (!linkToStoreTitleClick && techspecsHref) ? (\n <S.ProductTitleLink\n variant=\"link\"\n anchor\n href={productTitleHref}\n onClick={(e) =>\n productTitleHref && onLinkClick?.(e, productTitleHref)\n }\n >\n {formatMessage(product.title)}\n </S.ProductTitleLink>\n ) : (\n <S.ProductTitle>{formatMessage(product.title)}</S.ProductTitle>\n )}\n {!!product?.productNote && (\n <S.ProductNote>\n {formatMessage(product.productNote)}\n </S.ProductNote>\n )}\n {product.description ? (\n <S.ProductDescription\n $maxWidth={product.descriptionMaxWidth}\n $direction={languageDirection}\n >\n {formatMessage(product.description)}\n </S.ProductDescription>\n ) : null}\n <S.BadgeWrapper>{renderBadges(product)}</S.BadgeWrapper>\n </S.ProductMeta>\n </S.HeaderGridItem>\n );\n },\n [\n createSiteUrl,\n getStoreHref,\n formatMessage,\n linkToStoreTitleClick,\n onLinkClick,\n showProductGroups,\n renderBadges,\n languageDirection,\n ],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n // APPLY left to right override in all cases rather than redo the model compare for Arabic\n <section dir={LanguageDirectionType.ltr}>\n <StickyGrid templateColumns={templateColumns}>\n {showProductGroups ? (\n <StickyGridBody>\n <S.CenterPlaceholderGridItem />\n <S.PlaceholderGridItem stickX />\n <ProductGroupsGrid products={products} />\n <S.CenterPlaceholderGridItem />\n </StickyGridBody>\n ) : null}\n\n <StickyGridHeader\n stickOffset={stickOffset}\n nonScrollChildren={({ grid: { isAtMinX }, isStuck }) => (\n <HeaderShadow\n width={leftColumnWidth + products.length * columnWidth}\n leftColumnWidth={leftColumnWidth}\n shadowLeftColumn={isAtMinX}\n show={isStuck}\n />\n )}\n >\n <S.CenterPlaceholderGridItem />\n <S.PlaceholderGridItem stickX />\n {products.map((product) => renderProductHeader(product))}\n <S.CenterPlaceholderGridItem />\n </StickyGridHeader>\n\n <StickyGridBody>\n {properties.map((property) => (\n <Fragment key={property.id}>\n <S.CenterPlaceholderGridItem />\n <S.PropertyTitleGridItem stickX>\n {leftColumnWidth > 0 && (\n <S.PropertyTitleGridItemContent>\n <S.PropertyIcon>\n <StyleableSvgImage\n width={30}\n height={30}\n src={property.icon}\n />\n </S.PropertyIcon>\n <S.PropertyTitle>\n {property.title.split(\"\\n\").map((part, i, arr) =>\n i < arr.length - 1 ? (\n <Fragment key={i}>\n {part}\n <br />\n </Fragment>\n ) : (\n part\n ),\n )}\n </S.PropertyTitle>\n {property.tooltip && (\n <S.PropertyTooltip>\n <TooltipStyles maxWidth={property.tooltipWidth} />\n <Tooltip\n tooltipClassName={TOOLTIP_CLASS_NAME}\n description={\n <S.PropertyTooltipContent>\n {typeof property.tooltip === \"string\" ? (\n <span\n dangerouslySetInnerHTML={{\n __html: property.tooltip,\n }}\n />\n ) : (\n property.tooltip\n )}\n </S.PropertyTooltipContent>\n }\n portal\n motif=\"dark\"\n isInteractive\n position=\"right\"\n width={property.tooltipWidth}\n >\n <S.TooltipIcon\n width={20}\n height={20}\n src={tooltipIcon}\n />\n </Tooltip>\n </S.PropertyTooltip>\n )}\n </S.PropertyTitleGridItemContent>\n )}\n </S.PropertyTitleGridItem>\n\n {products.map((product) => {\n const productProperty = product.propertyValues?.find(\n (p) => p.propertyId === property.id,\n );\n\n return (\n <ModelComparePropertyValueGridItem\n key={product.id}\n productProperty={productProperty}\n property={property}\n includeProperty={isSmallScreen}\n />\n );\n })}\n\n <S.CenterPlaceholderGridItem />\n </Fragment>\n ))}\n\n {/**\n * Notes\n */}\n {hasNotes && (\n <>\n <S.CenterPlaceholderGridItem />\n <S.EmptyPropertyTitleGridItem stickX />\n {products.map((p) => {\n if (!p?.notes?.length) {\n return <S.CenterPlaceholderGridItem key={p.id} />;\n }\n\n return (\n <S.NotesWrap key={p.id}>\n {p.notes.map((note, i) => (\n <S.Note key={i}>{formatMessage(note)}</S.Note>\n ))}\n </S.NotesWrap>\n );\n })}\n <S.CenterPlaceholderGridItem />\n </>\n )}\n\n {/**\n * Buy button\n */}\n <S.CenterPlaceholderGridItem />\n <S.EmptyPropertyTitleGridItem stickX />\n {products.map((p) => {\n const button = renderButton(p);\n\n if (!button) {\n return <S.CenterPlaceholderGridItem key={p.id} />;\n }\n\n return <S.ButtonWrap key={p.id}>{button}</S.ButtonWrap>;\n })}\n <S.CenterPlaceholderGridItem />\n\n {/**\n * Footnotes\n */}\n {hasFootnotes && (\n <>\n <S.CenterPlaceholderGridItem />\n <S.EmptyPropertyTitleGridItem stickX />\n {products.map((p) => {\n if (!p?.footnotes?.length) {\n return <S.CenterPlaceholderGridItem key={p.id} />;\n }\n\n return (\n <S.FootnotesWrap key={p.id}>\n {p.footnotes.map((footnote, i) => (\n <S.Note key={i}>{formatMessage(footnote)}</S.Note>\n ))}\n </S.FootnotesWrap>\n );\n })}\n <S.CenterPlaceholderGridItem />\n </>\n )}\n\n <S.CenterPlaceholderGridItem />\n </StickyGridBody>\n\n <StickyGridOverlay\n style={{ left: `${leftColumnWidth}px` }}\n topOffset={overlayTopOffset}\n >\n {({ isAtMinX }) => (\n <ModelCompareOverflowScrollButton\n isVisible={!isAtMinX}\n color={leftColumnWidth > 0 ? \"rgb(23 49 73 / 0.1)\" : \"white\"}\n rotationDegrees={180}\n onClickColumnDiff={-1}\n totalColumns={products.length}\n totalDeadSpace={leftColumnWidth}\n isSmallScreen={isSmallScreen}\n />\n )}\n </StickyGridOverlay>\n\n <StickyGridOverlay style={{ right: 0 }} topOffset={overlayTopOffset}>\n {({ isAtMaxX }) => (\n <ModelCompareOverflowScrollButton\n isVisible={!isAtMaxX}\n color=\"white\"\n rotationDegrees={0}\n onClickColumnDiff={1}\n totalColumns={products.length}\n totalDeadSpace={leftColumnWidth}\n isSmallScreen={isSmallScreen}\n />\n )}\n </StickyGridOverlay>\n </StickyGrid>\n </section>\n );\n};\n\nconst TooltipStyles = createGlobalStyle<{ maxWidth?: number }>`\n .${TOOLTIP_CLASS_NAME} {\n box-shadow: 0 8px 24px 0 #00000014;\n max-width: ${({ maxWidth }) => maxWidth ?? 200}px;\n font-size: 12px;\n line-height: 16px;\n font-weight: 400;\n padding: 8px 16px;\n margin-top: -1.5px;\n\n &::before {\n box-shadow: 0 8px 24px 0 #00000014;\n }\n }\n`;\n"],"names":["TOOLTIP_CLASS_NAME","ModelCompareV3","headerStickOffset","overlayTopOffset","showBuyButton","onLinkClick","linkToStoreTitleClick","additionalProductData","props","formatMessage","useModelCompareTranslation","storeId","useMenu","section","setSection","useState","sectionId","useMemo","id","useEffect","loadSection","sections","then","sectionData","catch","error","console","products","map","product","propertyValues","propertyValue","propertyId","value","type","find","p","footnotes","footnote","filter","f","properties","property","title","tooltip","jsx","ModelCompare","columnWidth","propertyColumnWidth","showProductGroups","showBadges","createSiteUrl","languageDirection","width","screenWidth","useWindowSize","isSmallScreen","S.MOBILE_BREAKPOINT","MOBILE_BREAKPOINT","leftColumnWidth","Math","min","maxImageHeight","max","v3Image","height","stickOffset","templateColumnWidth","templateColumns","length","getStorePathParts","useCallback","storePathParts","getStoreHref","pathParts","category","push","collectionSlug","productSlug","storePathString","partsToPathname","SiteId","Store","variant","hasNotes","some","el","notes","hasFootnotes","getComingSoonButtonText","buttonText","comingSoonButtonText","foundKey","renderButton","addToCartButton","isComingSoon","Array","isArray","includes","S.ComingSoon","ComingSoon","children","startTrialHref","startTrialLink","S.Button","Button","anchor","href","onClick","e","learnMoreHref","learnMoreLink","storeHref","renderBadges","isNew","S.Badge","Badge","customBadges","badges","badge","i","BadgeVariants","lightGrey","renderProductHeader","techspecsHref","techspecsPath","productTitleHref","jsxs","S.HeaderGridItem","HeaderGridItem","style","paddingTop","S.ProductImageWrap","ProductImageWrap","S.ProductImage","ProductImage","src","imageSrc","alt","S.ProductMeta","S.ProductTitleLink","ProductTitleLink","S.ProductTitle","productNote","S.ProductNote","ProductNote","description","S.ProductDescription","ProductDescription","$maxWidth","descriptionMaxWidth","$direction","S.BadgeWrapper","dir","LanguageDirectionType","ltr","StickyGrid","StickyGridBody","S.CenterPlaceholderGridItem","S.PlaceholderGridItem","PlaceholderGridItem","stickX","ProductGroupsGrid","CenterPlaceholderGridItem","StickyGridHeader","nonScrollChildren","grid","isAtMinX","isStuck","HeaderShadow","shadowLeftColumn","show","Fragment","S.PropertyTitleGridItem","PropertyTitleGridItem","S.PropertyTitleGridItemContent","PropertyTitleGridItemContent","S.PropertyIcon","StyleableSvgImage","icon","S.PropertyTitle","split","part","arr","S.PropertyTooltip","TooltipStyles","maxWidth","tooltipWidth","Tooltip","tooltipClassName","S.PropertyTooltipContent","dangerouslySetInnerHTML","__html","portal","motif","isInteractive","position","S.TooltipIcon","TooltipIcon","tooltipIcon","productProperty","ModelComparePropertyValueGridItem","includeProperty","S.EmptyPropertyTitleGridItem","EmptyPropertyTitleGridItem","S.NotesWrap","note","S.Note","button","S.ButtonWrap","S.FootnotesWrap","StickyGridOverlay","left","topOffset","ModelCompareOverflowScrollButton","isVisible","color","rotationDegrees","onClickColumnDiff","totalColumns","totalDeadSpace","right","isAtMaxX","createGlobalStyle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAA;;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var styled = require('styled-components');
3
+ var styledComponents = require('styled-components');
4
4
  var theme = require('../../constants/theme.js');
5
5
  require('../Badge/index.js');
6
6
  require('../Button/index.js');
@@ -10,25 +10,19 @@ var StickyGridItem = require('./StickyGrid/StickyGridItem.js');
10
10
  var Button$1 = require('../Button/Button.js');
11
11
  var Badge$1 = require('../Badge/Badge.js');
12
12
  var StyleableSvgImage = require('../StyleableSvgImage/StyleableSvgImage.js');
13
- function _interopDefault(e) {
14
- return e && e.__esModule ? e : {
15
- default: e
16
- };
17
- }
18
- var styled__default = /*#__PURE__*/_interopDefault(styled);
19
13
  "use strict";
20
14
  const MOBILE_BREAKPOINT = 650;
21
- const textSize = styled.css`
15
+ const textSize = styledComponents.css`
22
16
  font-size: 14px;
23
17
  line-height: 1.2;
24
18
  text-wrap: pretty;
25
19
  `;
26
- const PlaceholderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
20
+ const PlaceholderGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)`
27
21
  background: ${theme.theme.colors.white};
28
22
  z-index: 3;
29
23
  `;
30
- const CenterPlaceholderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)``;
31
- const HeaderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
24
+ const CenterPlaceholderGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)``;
25
+ const HeaderGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)`
32
26
  background: ${theme.theme.colors.white};
33
27
  display: flex;
34
28
  flex-direction: column;
@@ -38,7 +32,7 @@ const HeaderGridItem = styled__default["default"](StickyGridItem.StickyGridItem)
38
32
  padding: 16px 0;
39
33
  gap: 24px;
40
34
  `;
41
- const ProductMeta = styled__default["default"].div`
35
+ const ProductMeta = styledComponents.styled.div`
42
36
  display: flex;
43
37
  flex-direction: column;
44
38
  flex: 1;
@@ -46,17 +40,17 @@ const ProductMeta = styled__default["default"].div`
46
40
  width: 100%;
47
41
  padding: 0 10px;
48
42
  `;
49
- const productTitleStyles = styled.css`
43
+ const productTitleStyles = styledComponents.css`
50
44
  font-size: 18px;
51
45
  font-weight: 700;
52
46
  line-height: inherit;
53
47
  `;
54
- const ProductTitle = styled__default["default"].div`
48
+ const ProductTitle = styledComponents.styled.div`
55
49
  ${productTitleStyles}
56
50
 
57
51
  color: ${theme.theme.colors.black};
58
52
  `;
59
- const ProductTitleLink = styled__default["default"](Button$1.Button)`
53
+ const ProductTitleLink = styledComponents.styled(Button$1.Button)`
60
54
  ${productTitleStyles}
61
55
  color: ${theme.theme.colors.primaryBlue};
62
56
 
@@ -69,7 +63,7 @@ const ProductTitleLink = styled__default["default"](Button$1.Button)`
69
63
  color: ${theme.theme.colors.primaryBlue};
70
64
  }
71
65
  `;
72
- const ProductDescription = styled__default["default"].div`
66
+ const ProductDescription = styledComponents.styled.div`
73
67
  font-size: 16px;
74
68
  font-weight: 400;
75
69
  line-height: 20px;
@@ -83,22 +77,22 @@ const ProductDescription = styled__default["default"].div`
83
77
  }) => $direction && `${$direction}`};
84
78
  text-wrap: pretty;
85
79
  `;
86
- const ProductNote = styled__default["default"].div`
80
+ const ProductNote = styledComponents.styled.div`
87
81
  color: ${theme.theme.colors.black45};
88
82
  font-size: ${theme.theme.font.size10};
89
83
  line-height: 16.8px;
90
84
  margin-top: 6px;
91
85
  text-align: center;
92
86
  `;
93
- const Badge = styled__default["default"](Badge$1.Badge)`
87
+ const Badge = styledComponents.styled(Badge$1.Badge)`
94
88
  margin-top: 10px;
95
89
  `;
96
- const BadgeWrapper = styled__default["default"].div`
90
+ const BadgeWrapper = styledComponents.styled.div`
97
91
  margin-top: auto;
98
92
  display: flex;
99
93
  gap: 10px;
100
94
  `;
101
- const PropertyTitleGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
95
+ const PropertyTitleGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)`
102
96
  display: flex;
103
97
  align-items: center;
104
98
  justify-content: flex-start;
@@ -107,10 +101,10 @@ const PropertyTitleGridItem = styled__default["default"](StickyGridItem.StickyGr
107
101
  z-index: 1;
108
102
  overflow: hidden;
109
103
  `;
110
- const EmptyPropertyTitleGridItem = styled__default["default"](StickyGridItem.StickyGridItem)`
104
+ const EmptyPropertyTitleGridItem = styledComponents.styled(StickyGridItem.StickyGridItem)`
111
105
  background: ${theme.theme.colors.white};
112
106
  `;
113
- const PropertyTitleGridItemContent = styled__default["default"](StickyGridItem.StickyGridItem)`
107
+ const PropertyTitleGridItemContent = styledComponents.styled(StickyGridItem.StickyGridItem)`
114
108
  display: flex;
115
109
  align-items: center;
116
110
  justify-content: flex-start;
@@ -119,31 +113,31 @@ const PropertyTitleGridItemContent = styled__default["default"](StickyGridItem.S
119
113
  gap: 8px;
120
114
  overflow: hidden;
121
115
  `;
122
- const PropertyTitle = styled__default["default"].div`
116
+ const PropertyTitle = styledComponents.styled.div`
123
117
  font-weight: ${theme.theme.fontWeight.bold};
124
118
  ${textSize}
125
119
  color: ${theme.theme.colors.black65};
126
120
  `;
127
- const PropertyIcon = styled__default["default"].div`
121
+ const PropertyIcon = styledComponents.styled.div`
128
122
  width: 30px;
129
123
  height: 30px;
130
124
  color: ${theme.theme.colors.shark};
131
125
  `;
132
- const ProductImage = styled__default["default"].img`
126
+ const ProductImage = styledComponents.styled.img`
133
127
  max-width: 100%;
134
128
  max-height: 100%;
135
129
  object-fit: contain;
136
130
  `;
137
- const ProductImageWrap = styled__default["default"].div`
131
+ const ProductImageWrap = styledComponents.styled.div`
138
132
  height: ${({
139
133
  height
140
134
  }) => `${height}px`};
141
135
  display: flex;
142
136
  `;
143
- const PropertyTooltip = styled__default["default"].div`
137
+ const PropertyTooltip = styledComponents.styled.div`
144
138
  height: 20px;
145
139
  `;
146
- const PropertyTooltipContent = styled__default["default"].div`
140
+ const PropertyTooltipContent = styledComponents.styled.div`
147
141
  color: #fafafa;
148
142
  font-size: 12px;
149
143
 
@@ -151,16 +145,16 @@ const PropertyTooltipContent = styled__default["default"].div`
151
145
  color: ${theme.theme.colors.primaryBlue};
152
146
  }
153
147
  `;
154
- const TooltipIcon = styled__default["default"](StyleableSvgImage.StyleableSvgImage)`
148
+ const TooltipIcon = styledComponents.styled(StyleableSvgImage.StyleableSvgImage)`
155
149
  color: ${theme.theme.colors.primaryBlue};
156
150
  `;
157
- const ButtonWrap = styled__default["default"].div`
151
+ const ButtonWrap = styledComponents.styled.div`
158
152
  padding: 16px 0;
159
153
  display: flex;
160
154
  align-items: center;
161
155
  justify-content: center;
162
156
  `;
163
- const buttonStyles = styled.css`
157
+ const buttonStyles = styledComponents.css`
164
158
  padding: 10px 15px;
165
159
  line-height: 20px;
166
160
  font-weight: ${theme.theme.fontWeight.bold};
@@ -175,7 +169,7 @@ const buttonStyles = styled.css`
175
169
  position: static;
176
170
  }
177
171
  `;
178
- const Button = styled__default["default"](Button$1.Button)`
172
+ const Button = styledComponents.styled(Button$1.Button)`
179
173
  ${buttonStyles};
180
174
 
181
175
  &:focus,
@@ -183,7 +177,7 @@ const Button = styled__default["default"](Button$1.Button)`
183
177
  color: ${theme.theme.colors.white};
184
178
  }
185
179
  `;
186
- const ComingSoon = styled__default["default"](Button$1.Button)`
180
+ const ComingSoon = styledComponents.styled(Button$1.Button)`
187
181
  ${buttonStyles};
188
182
  cursor: default;
189
183
 
@@ -192,32 +186,32 @@ const ComingSoon = styled__default["default"](Button$1.Button)`
192
186
  color: ${theme.theme.colors.white};
193
187
  }
194
188
  `;
195
- const NotesWrap = styled__default["default"].div`
189
+ const NotesWrap = styledComponents.styled.div`
196
190
  padding: 16px 0 10px;
197
191
  display: flex;
198
192
  flex-direction: column;
199
193
  align-items: center;
200
194
  `;
201
- const Note = styled__default["default"].div`
195
+ const Note = styledComponents.styled.div`
202
196
  font-size: 10px;
203
197
  line-height: ${17 / 10};
204
198
  color: ${theme.theme.colors.black45};
205
199
  text-align: center;
206
200
  text-wrap: pretty;
207
201
  `;
208
- const FootnotesWrap = styled__default["default"].div`
202
+ const FootnotesWrap = styledComponents.styled.div`
209
203
  padding: 0 0 16px;
210
204
  display: flex;
211
205
  flex-direction: column;
212
206
  align-items: center;
213
207
  `;
214
- const Footnote = styled__default["default"].div`
208
+ const Footnote = styledComponents.styled.div`
215
209
  font-size: 10px;
216
210
  line-height: ${17 / 10};
217
211
  color: ${theme.theme.colors.black45};
218
212
  text-align: center;
219
213
  `;
220
- const KitIncluded = styled__default["default"].div`
214
+ const KitIncluded = styledComponents.styled.div`
221
215
  font-size: 14px;
222
216
  font-weight: 400;
223
217
  letter-spacing: -0.28px;
@@ -1 +1 @@
1
- {"version":3,"file":"ModelCompareV3.styles.js","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\n\nexport const textSize = css`\n font-size: 14px;\n line-height: 1.2;\n text-wrap: pretty;\n`;\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HeaderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: 16px 0;\n gap: 24px;\n`;\n\nexport const ProductMeta = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n`;\n\nconst productTitleStyles = css`\n font-size: 18px;\n font-weight: 700;\n line-height: inherit;\n`;\n\nexport const ProductTitle = styled.div`\n ${productTitleStyles}\n\n color: ${theme.colors.black};\n`;\n\nexport const ProductTitleLink = styled(ButtonBase)`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n margin-top: 6px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n text-wrap: pretty;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 10px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-weight: ${theme.fontWeight.bold};\n ${textSize}\n color: ${theme.colors.black65};\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltip = styled.div`\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonStyles};\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n cursor: default;\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 0 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n"],"names":["MOBILE_BREAKPOINT","textSize","css","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HeaderGridItem","ProductMeta","div","productTitleStyles","ProductTitle","black","ProductTitleLink","ButtonBase","primaryBlue","ProductDescription","black65","$maxWidth","$direction","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","ProductImage","img","ProductImageWrap","height","PropertyTooltip","PropertyTooltipContent","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","ComingSoon","NotesWrap","Note","FootnotesWrap","Footnote","KitIncluded"],"mappings":";;;;;;;;;;;;;;;;;;;AASO,MAAMA,iBAAoB,GAAA,GAAA;AAE1B,MAAMC,QAAW,GAAAC,MAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMX,MAAAC,mBAAA,GAAsBC,2BAAOC,6BAAc,CAAA;AAAA,gBACxCC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIrB,MAAAC,yBAAA,GAA4BL,eAAAA,CAAAA,SAAAA,EAAOC,cAAAA,CAAAA,cAAc,CAAA,EAAA;AAEjD,MAAAK,cAAA,GAAiBN,2BAAOC,6BAAc,CAAA;AAAA,gBACnCC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAU3B,MAAMG,cAAcP,eAAO,CAAA,SAAA,CAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AASlC,MAAMC,kBAAqB,GAAAX,MAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMpB,MAAMY,eAAeV,eAAO,CAAA,SAAA,CAAA,CAAAQ,GAAA;AAAA,IAC/BC,kBAAkB;;AAAA,WAEXP,KAAA,CAAAA,KAAA,CAAMC,OAAOQ,KAAK;AAAA,CAAA;AAGhB,MAAAC,gBAAA,GAAmBZ,2BAAOa,eAAU,CAAA;AAAA,IAC7CJ,kBAAkB;AAAA,WACXP,KAAA,CAAAA,KAAA,CAAMC,OAAOW,WAAW;;AAAA;AAAA;AAAA;AAAA;;AAA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AAAA;AAAA;AAAA,aAIH1C,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIlB,MAAA0C,UAAA,GAAa9C,2BAAOa,eAAU,CAAA;AAAA,IACvC+B,YAAY;AAAA;;AAAA;AAAA;AAAA,aAKH1C,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIxB,MAAM2C,YAAY/C,eAAO,CAAA,SAAA,CAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOzB,MAAMwC,OAAOhD,eAAO,CAAA,SAAA,CAAA,CAAAQ,GAAA;AAAA;AAAA,iBAEV,KAAK,EAAE;AAAA,WACbN,KAAA,CAAAA,KAAA,CAAMC,OAAOiB,OAAO;AAAA;AAAA;AAAA,CAAA;AAKxB,MAAM6B,gBAAgBjD,eAAO,CAAA,SAAA,CAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAO7B,MAAM0C,WAAWlD,eAAO,CAAA,SAAA,CAAA,CAAAQ,GAAA;AAAA;AAAA,iBAEd,KAAK,EAAE;AAAA,WACbN,KAAA,CAAAA,KAAA,CAAMC,OAAOiB,OAAO;AAAA;AAAA,CAAA;AAIxB,MAAM+B,cAAcnD,eAAO,CAAA,SAAA,CAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAKvBN,KAAA,CAAAA,KAAA,CAAMC,OAAOa,OAAO;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ModelCompareV3.styles.js","sources":["../../../src/components/ModelCompareV3/ModelCompareV3.styles.tsx"],"sourcesContent":["import { styled, css } from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LanguageDirectionType } from \"../../contexts/MenuContext/utils\";\nimport { Badge as BadgeBase } from \"../Badge\";\nimport { Button as ButtonBase } from \"../Button\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { StickyGridItem } from \"./StickyGrid\";\n\nexport const MOBILE_BREAKPOINT = 650;\n\nexport const textSize = css`\n font-size: 14px;\n line-height: 1.2;\n text-wrap: pretty;\n`;\n\nexport const PlaceholderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n z-index: 3;\n`;\n\nexport const CenterPlaceholderGridItem = styled(StickyGridItem)``;\n\nexport const HeaderGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n text-align: center;\n padding: 16px 0;\n gap: 24px;\n`;\n\nexport const ProductMeta = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n align-items: center;\n width: 100%;\n padding: 0 10px;\n`;\n\nconst productTitleStyles = css`\n font-size: 18px;\n font-weight: 700;\n line-height: inherit;\n`;\n\nexport const ProductTitle = styled.div`\n ${productTitleStyles}\n\n color: ${theme.colors.black};\n`;\n\nexport const ProductTitleLink = styled(ButtonBase)`\n ${productTitleStyles}\n color: ${theme.colors.primaryBlue};\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const ProductDescription = styled.div<{\n $maxWidth?: number;\n $direction: LanguageDirectionType;\n}>`\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n margin-top: 6px;\n color: ${theme.colors.black65};\n max-width: ${({ $maxWidth }) => ($maxWidth ? `${$maxWidth}px` : \"auto\")};\n direction: ${({ $direction }) => $direction && `${$direction}`};\n text-wrap: pretty;\n`;\n\nexport const ProductNote = styled.div`\n color: ${theme.colors.black45};\n font-size: ${theme.font.size10};\n line-height: 16.8px;\n margin-top: 6px;\n text-align: center;\n`;\n\nexport const Badge = styled(BadgeBase)`\n margin-top: 10px;\n`;\n\nexport const BadgeWrapper = styled.div`\n margin-top: auto;\n display: flex;\n gap: 10px;\n`;\n\nexport const PropertyTitleGridItem = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n border-bottom: 1px solid ${theme.colors.athensGreyDark};\n background: ${theme.colors.white};\n z-index: 1;\n overflow: hidden;\n`;\n\nexport const EmptyPropertyTitleGridItem = styled(StickyGridItem)`\n background: ${theme.colors.white};\n`;\n\nexport const PropertyTitleGridItemContent = styled(StickyGridItem)`\n display: flex;\n align-items: center;\n justify-content: flex-start;\n padding: 16px;\n width: 100%;\n gap: 8px;\n overflow: hidden;\n`;\n\nexport const PropertyTitle = styled.div`\n font-weight: ${theme.fontWeight.bold};\n ${textSize}\n color: ${theme.colors.black65};\n`;\n\nexport const PropertyIcon = styled.div`\n width: 30px;\n height: 30px;\n color: ${theme.colors.shark};\n`;\n\nexport const ProductImage = styled.img`\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n`;\n\nexport const ProductImageWrap = styled.div<{ height: number }>`\n height: ${({ height }) => `${height}px`};\n display: flex;\n`;\n\nexport const PropertyTooltip = styled.div`\n height: 20px;\n`;\n\nexport const PropertyTooltipContent = styled.div`\n color: #fafafa;\n font-size: 12px;\n\n a {\n color: ${theme.colors.primaryBlue};\n }\n`;\n\nexport const TooltipIcon = styled(StyleableSvgImage)`\n color: ${theme.colors.primaryBlue};\n`;\n\nexport const ButtonWrap = styled.div`\n padding: 16px 0;\n display: flex;\n align-items: center;\n justify-content: center;\n`;\n\nconst buttonStyles = css`\n padding: 10px 15px;\n line-height: 20px;\n font-weight: ${theme.fontWeight.bold};\n margin: auto;\n\n &:focus,\n &:hover {\n text-decoration: none;\n }\n\n > * {\n position: static;\n }\n`;\n\nexport const Button = styled(ButtonBase)`\n ${buttonStyles};\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const ComingSoon = styled(ButtonBase)`\n ${buttonStyles};\n cursor: default;\n\n &:focus,\n &:hover {\n color: ${theme.colors.white};\n }\n`;\n\nexport const NotesWrap = styled.div`\n padding: 16px 0 10px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Note = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const FootnotesWrap = styled.div`\n padding: 0 0 16px;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nexport const Footnote = styled.div`\n font-size: 10px;\n line-height: ${17 / 10};\n color: ${theme.colors.black45};\n text-align: center;\n`;\n\nexport const KitIncluded = styled.div`\n font-size: 14px;\n font-weight: 400;\n letter-spacing: -0.28px;\n line-height: 16.8px;\n color: ${theme.colors.black65};\n`;\n"],"names":["MOBILE_BREAKPOINT","textSize","css","PlaceholderGridItem","styled","StickyGridItem","theme","colors","white","CenterPlaceholderGridItem","HeaderGridItem","ProductMeta","div","productTitleStyles","ProductTitle","black","ProductTitleLink","ButtonBase","primaryBlue","ProductDescription","black65","$maxWidth","$direction","ProductNote","black45","font","size10","Badge","BadgeBase","BadgeWrapper","PropertyTitleGridItem","athensGreyDark","EmptyPropertyTitleGridItem","PropertyTitleGridItemContent","PropertyTitle","fontWeight","bold","PropertyIcon","shark","ProductImage","img","ProductImageWrap","height","PropertyTooltip","PropertyTooltipContent","TooltipIcon","StyleableSvgImage","ButtonWrap","buttonStyles","Button","ComingSoon","NotesWrap","Note","FootnotesWrap","Footnote","KitIncluded"],"mappings":";;;;;;;;;;;;;AASO,MAAMA,iBAAoB,GAAA,GAAA;AAE1B,MAAMC,QAAW,GAAAC,gBAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMX,MAAAC,mBAAA,GAAsBC,wBAAOC,6BAAc,CAAA;AAAA,gBACxCC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA;AAAA,CAAA;AAIrB,MAAAC,yBAAA,GAA4BL,gBAAAA,CAAAA,OAAOC,cAAAA,CAAAA,cAAc,CAAA,EAAA;AAEjD,MAAAK,cAAA,GAAiBN,wBAAOC,6BAAc,CAAA;AAAA,gBACnCC,KAAA,CAAAA,KAAA,CAAMC,OAA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CAAAA,KAAA,CAAMC,OAAOiB,OAAO;AAAA;AAAA,CAAA;AAIxB,MAAM+B,cAAcnD,gBAAO,CAAAA,MAAA,CAAAQ,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAKvBN,KAAA,CAAAA,KAAA,CAAMC,OAAOa,OAAO;AAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import styled, { css } from 'styled-components';
1
+ import { css, styled } from 'styled-components';
2
2
  import { theme } from '../../constants/theme.mjs';
3
3
  import '../Badge/index.mjs';
4
4
  import '../Button/index.mjs';