@ubnt/store.core 9.53.0-alpha.5 → 9.53.0-alpha.6

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 (290) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/lib/_virtual/_virtual_multi-entry.js +14 -12
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +14 -12
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/assets/ai-bullet.jpg +0 -0
  7. package/lib/assets/ai-bullet2.jpg +0 -0
  8. package/lib/assets/ai-dslr.jpg +0 -0
  9. package/lib/assets/ai-dslr2.jpg +0 -0
  10. package/lib/assets/ai-turret.jpg +0 -0
  11. package/lib/assets/ai-turret2.jpg +0 -0
  12. package/lib/assets/building-bridge-xg.jpg +0 -0
  13. package/lib/assets/building-bridge-xg2.jpg +0 -0
  14. package/lib/assets/building-bridge.jpg +0 -0
  15. package/lib/assets/building-bridge2.jpg +0 -0
  16. package/lib/assets/close2.svg +2 -3
  17. package/lib/assets/close3.svg +3 -2
  18. package/lib/assets/g5-bullet.jpg +0 -0
  19. package/lib/assets/g5-bullet2.jpg +0 -0
  20. package/lib/assets/g5-dome.jpg +0 -0
  21. package/lib/assets/g5-dome2.jpg +0 -0
  22. package/lib/assets/industrial.jpg +0 -0
  23. package/lib/assets/industrial2.jpg +0 -0
  24. package/lib/assets/interior-design.svg +2 -2
  25. package/lib/assets/interior-design2.svg +2 -2
  26. package/lib/assets/minus4.svg +8 -8
  27. package/lib/assets/minus5.svg +8 -8
  28. package/lib/assets/plus6.svg +9 -9
  29. package/lib/assets/plus7.svg +9 -9
  30. package/lib/assets/reader-lite.jpg +0 -0
  31. package/lib/assets/reader-lite2.jpg +0 -0
  32. package/lib/components/Accordion/Accordion.js +4 -4
  33. package/lib/components/Avatar/Avatar.js +2 -2
  34. package/lib/components/Button/Button.js +6 -6
  35. package/lib/components/Button/CartButton.js +2 -2
  36. package/lib/components/CardSection/Card/Card.js +6 -6
  37. package/lib/components/CardSection/CardSection.js +2 -2
  38. package/lib/components/CartIcon/CartIcon.js +2 -2
  39. package/lib/components/Checkbox/Checkbox.js +4 -4
  40. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  41. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  42. package/lib/components/Container/Container.js +2 -2
  43. package/lib/components/CustomImage/CustomImage.js +12 -12
  44. package/lib/components/Explore/Explore.js +5 -5
  45. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  46. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +23 -23
  47. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  48. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  49. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  50. package/lib/components/Footer/Footer.js +2 -2
  51. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  52. package/lib/components/Gallery/Gallery.context.js +17 -17
  53. package/lib/components/Gallery/Gallery.js +9 -9
  54. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  55. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  56. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  57. package/lib/components/GridGallery/GridGallery.js +8 -8
  58. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  59. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  60. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  61. package/lib/components/Header/AccountMenu/AccountMenu.js +19 -19
  62. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  63. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  64. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  65. package/lib/components/Header/Header.js +34 -34
  66. package/lib/components/Header/IsolatedHeader.js +7 -7
  67. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  68. package/lib/components/Header/MobileLinksModal/MobileMenu.js +3 -3
  69. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  70. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  71. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  72. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +6 -6
  73. package/lib/components/Header/Overlay/Overlay.js +3 -3
  74. package/lib/components/Header/ProHeader/ProHeader.js +35 -35
  75. package/lib/components/Hero/Hero.js +5 -5
  76. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  77. package/lib/components/ImageCarousel/ImageCarousel.js +29 -29
  78. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  79. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  80. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  81. package/lib/components/LandingPage/LandingPage.js +2 -2
  82. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  83. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  84. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  85. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  86. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  87. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  88. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  89. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  90. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  91. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  92. package/lib/components/MicrositeHeader/MicrositeHeader.js +4 -4
  93. package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js +4 -4
  94. package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.js +13 -13
  95. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.js +2 -2
  96. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.js +15 -15
  97. package/lib/components/MicrositeHeader/components/VisualTopology/LinePaths.js +3 -3
  98. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.js +9 -9
  99. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  100. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  101. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  102. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  103. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  104. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  105. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
  106. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  107. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  108. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  109. package/lib/components/MobileModal/MobileModal.js +4 -4
  110. package/lib/components/Modal/Modal.js +3 -3
  111. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  112. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  113. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  114. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  115. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  116. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  117. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  118. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  119. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  120. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  121. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  122. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  123. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  124. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  125. package/lib/components/ModelCompareV4/CompareTable/CompareTable.js +8 -8
  126. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup.js +14 -14
  127. package/lib/components/ModelCompareV4/CompareTable/CompareTableOverflowScrollButton.js +3 -3
  128. package/lib/components/ModelCompareV4/CompareTable/PropertyValueGridItem.js +2 -2
  129. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/ScrollGroup.js +5 -5
  130. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/context.js +3 -3
  131. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/useScrollGroupItem.js +8 -8
  132. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  133. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/useScrollGroupTo.js +2 -2
  134. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGrid.js +7 -7
  135. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGridBody.js +2 -2
  136. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGridHeader.js +5 -5
  137. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGridItem.js +2 -2
  138. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/context.js +3 -3
  139. package/lib/components/ModelCompareV4/ModelCompareV4.js +5 -5
  140. package/lib/components/ModelCompareV4/ProductList/ProductList.js +11 -11
  141. package/lib/components/Pagination/Pagination.js +3 -3
  142. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  143. package/lib/components/ProductCard/ProductCard.js +7 -7
  144. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  145. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  146. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  147. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  148. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  149. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  150. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  151. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +79 -0
  152. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  153. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -0
  154. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  155. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
  156. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
  157. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +80 -0
  158. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  159. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +66 -0
  160. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  161. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
  162. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  163. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  164. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  165. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  166. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  167. package/lib/components/ProductWizard/Options/Options.js +3 -3
  168. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  169. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  170. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  171. package/lib/components/QuantityControls/QuantityControls.js +4 -4
  172. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  173. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  174. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  175. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +5 -5
  176. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  177. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -6
  178. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  179. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  180. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  181. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  182. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  183. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  184. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
  185. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  186. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  187. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  188. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +17 -17
  189. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  190. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  191. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  192. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  193. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  194. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  195. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  196. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  197. package/lib/components/ScrollWrapper/ScrollWrapper.js +17 -17
  198. package/lib/components/Search/Input/Input.js +4 -4
  199. package/lib/components/Search/Modal/Modal.js +3 -3
  200. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  201. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  202. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  203. package/lib/components/TogglableStaticCompareTables/TogglableStaticCompareTable.js +8 -8
  204. package/lib/components/Tooltip/Tooltip.js +5 -5
  205. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  206. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  207. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  208. package/lib/components/VideoPlayerNew/VideoPlayer.js +20 -20
  209. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  210. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  211. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  212. package/lib/components/index.d.ts +1 -0
  213. package/lib/components/index.js +2 -0
  214. package/lib/components/index.js.map +1 -1
  215. package/lib/components/index.mjs +2 -0
  216. package/lib/components/index.mjs.map +1 -1
  217. package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge-xg.jpg.js +1 -1
  218. package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge-xg.jpg.mjs +2 -2
  219. package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge.jpg.js +1 -1
  220. package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge.jpg.mjs +2 -2
  221. package/lib/constants/modelCompareData/assets/Bullet/ai-bullet.jpg.js +1 -1
  222. package/lib/constants/modelCompareData/assets/Bullet/ai-bullet.jpg.mjs +2 -2
  223. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.js +1 -1
  224. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.mjs +2 -2
  225. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.js +1 -1
  226. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.mjs +2 -2
  227. package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.js +1 -1
  228. package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.mjs +2 -2
  229. package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.js +1 -1
  230. package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.mjs +2 -2
  231. package/lib/constants/modelCompareData/assets/DoorAccess/reader-lite.jpg.js +1 -1
  232. package/lib/constants/modelCompareData/assets/DoorAccess/reader-lite.jpg.mjs +2 -2
  233. package/lib/constants/modelCompareData/assets/Switching/industrial.jpg.js +1 -1
  234. package/lib/constants/modelCompareData/assets/Switching/industrial.jpg.mjs +2 -2
  235. package/lib/constants/modelCompareData/assets/interior-design.svg.js +1 -1
  236. package/lib/constants/modelCompareData/assets/interior-design.svg.mjs +2 -2
  237. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-bullet.jpg.js +1 -1
  238. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-bullet.jpg.mjs +2 -2
  239. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.js +1 -1
  240. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.mjs +2 -2
  241. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.js +1 -1
  242. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.mjs +2 -2
  243. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.js +1 -1
  244. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.mjs +2 -2
  245. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.js +1 -1
  246. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.mjs +2 -2
  247. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/reader-lite.jpg.js +1 -1
  248. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/reader-lite.jpg.mjs +2 -2
  249. package/lib/constants/modelCompareData/assets/product-list-assets/interior-design.svg.js +1 -1
  250. package/lib/constants/modelCompareData/assets/product-list-assets/interior-design.svg.mjs +2 -2
  251. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/industrial.jpg.js +1 -1
  252. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/industrial.jpg.mjs +2 -2
  253. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge-xg.jpg.js +1 -1
  254. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge-xg.jpg.mjs +2 -2
  255. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge.jpg.js +1 -1
  256. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge.jpg.mjs +2 -2
  257. package/lib/constants/modelCompareData/data/button-groups/interiorDesign.js +1 -1
  258. package/lib/constants/modelCompareData/data/button-groups/interiorDesign.mjs +1 -1
  259. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/InteriorDesign.js +1 -1
  260. package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/InteriorDesign.mjs +1 -1
  261. package/lib/constants/modelCompareData/data/products/aiBullet.js +2 -2
  262. package/lib/constants/modelCompareData/data/products/aiBullet.mjs +2 -2
  263. package/lib/constants/modelCompareData/data/products/aiDslr.js +2 -2
  264. package/lib/constants/modelCompareData/data/products/aiDslr.mjs +2 -2
  265. package/lib/constants/modelCompareData/data/products/aiTurret.js +2 -2
  266. package/lib/constants/modelCompareData/data/products/aiTurret.mjs +2 -2
  267. package/lib/constants/modelCompareData/data/products/buildingBridge.js +2 -2
  268. package/lib/constants/modelCompareData/data/products/buildingBridge.mjs +2 -2
  269. package/lib/constants/modelCompareData/data/products/buildingBridgeXG.js +2 -2
  270. package/lib/constants/modelCompareData/data/products/buildingBridgeXG.mjs +2 -2
  271. package/lib/constants/modelCompareData/data/products/g5Bullet.js +2 -2
  272. package/lib/constants/modelCompareData/data/products/g5Bullet.mjs +2 -2
  273. package/lib/constants/modelCompareData/data/products/g5Dome.js +2 -2
  274. package/lib/constants/modelCompareData/data/products/g5Dome.mjs +2 -2
  275. package/lib/constants/modelCompareData/data/products/industrial.js +2 -2
  276. package/lib/constants/modelCompareData/data/products/industrial.mjs +2 -2
  277. package/lib/constants/modelCompareData/data/products/readerLite.js +2 -2
  278. package/lib/constants/modelCompareData/data/products/readerLite.mjs +2 -2
  279. package/lib/contexts/MenuContext/context.js +35 -35
  280. package/lib/contexts/MicrositeMenuContext/context.js +9 -9
  281. package/lib/helpers/proStoreCategories.js +2 -2
  282. package/lib/hooks/useHasTouch.js +3 -3
  283. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  284. package/lib/hooks/useHorizontalScroll.js +2 -2
  285. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  286. package/lib/hooks/useScrollToY.js +2 -2
  287. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  288. package/lib/hooks/useTranslation.js +6 -6
  289. package/lib/utils/nextjs/ssr/registry.js +2 -2
  290. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var merge = require('lodash/merge');
5
- var react = require('react');
5
+ var React = require('react');
6
6
  var reactUse = require('react-use');
7
7
  require('../../../assets/account/no-user-avatar.png.js');
8
8
  require('../../../assets/icons/menu/icon-ea.svg.js');
@@ -78,7 +78,7 @@ const DEFAULT_PRODUCT_LINE_OPTIONS = [{
78
78
  value: generated.ProductLine.Uisp,
79
79
  label: "UISP"
80
80
  }];
81
- const ProHeader = react.memo(function ProHeader2({
81
+ const ProHeader = React.memo(function ProHeader2({
82
82
  className,
83
83
  motif: defaultMotif,
84
84
  cart,
@@ -110,11 +110,11 @@ const ProHeader = react.memo(function ProHeader2({
110
110
  logo
111
111
  }) {
112
112
  const isMobile = reactUse.useMedia(PRO_HEADER_MOBILE_AND_DOWN, false);
113
- const rootRef = react.useRef(null);
114
- const wrapRef = react.useRef(null);
115
- const containerRef = react.useRef(null);
116
- const [searchInputEl, setSearchInputEl] = react.useState(null);
117
- const translations = react.useMemo(() => {
113
+ const rootRef = React.useRef(null);
114
+ const wrapRef = React.useRef(null);
115
+ const containerRef = React.useRef(null);
116
+ const [searchInputEl, setSearchInputEl] = React.useState(null);
117
+ const translations = React.useMemo(() => {
118
118
  return merge__default["default"](Header_types.defaultHeaderTranslations, initialTranslations);
119
119
  }, [initialTranslations]);
120
120
  const {
@@ -163,11 +163,11 @@ const ProHeader = react.memo(function ProHeader2({
163
163
  }).then(res => res.default)
164
164
  }
165
165
  });
166
- const [isSearchFocused, setIsSearchFocused] = react.useState(false);
167
- react.useEffect(() => {
166
+ const [isSearchFocused, setIsSearchFocused] = React.useState(false);
167
+ React.useEffect(() => {
168
168
  setMotif(defaultMotif);
169
169
  }, [defaultMotif, setMotif]);
170
- const handleModalOpen = react.useCallback((e, id) => {
170
+ const handleModalOpen = React.useCallback((e, id) => {
171
171
  e.stopPropagation();
172
172
  if (activeModal !== id) {
173
173
  onModalOpen?.();
@@ -178,10 +178,10 @@ const ProHeader = react.memo(function ProHeader2({
178
178
  }
179
179
  setActiveModal(activeModal === id ? null : id);
180
180
  }, [activeModal, onCartClick, setActiveModal, onModalOpen]);
181
- const handleModalClose = react.useCallback(() => {
181
+ const handleModalClose = React.useCallback(() => {
182
182
  setActiveModal(null);
183
183
  }, [setActiveModal]);
184
- const handleHamburgerClick = react.useCallback(() => {
184
+ const handleHamburgerClick = React.useCallback(() => {
185
185
  if (activeModal === types.ModalId.ProMobileMenu) {
186
186
  setActiveModal(null);
187
187
  } else {
@@ -189,19 +189,19 @@ const ProHeader = react.memo(function ProHeader2({
189
189
  }
190
190
  handleMobileMenuClick?.();
191
191
  }, [activeModal, handleMobileMenuClick, setActiveModal]);
192
- const sticky = react.useMemo(() => {
192
+ const sticky = React.useMemo(() => {
193
193
  return (
194
194
  // Set as sticky if mobile menu is open
195
195
  activeModal === types.ModalId.ProMobileMenu
196
196
  );
197
197
  }, [activeModal]);
198
- const [canFocusSearch, setCanFocusSearch] = react.useState(false);
199
- react.useEffect(() => {
198
+ const [canFocusSearch, setCanFocusSearch] = React.useState(false);
199
+ React.useEffect(() => {
200
200
  if (activeModal !== types.ModalId.Search) {
201
201
  setCanFocusSearch(false);
202
202
  }
203
203
  }, [activeModal]);
204
- react.useEffect(() => {
204
+ React.useEffect(() => {
205
205
  if (!canFocusSearch || activeModal !== types.ModalId.Search || !searchInputEl) return;
206
206
  const interval = setInterval(() => {
207
207
  if (document.activeElement === searchInputEl) {
@@ -213,21 +213,21 @@ const ProHeader = react.memo(function ProHeader2({
213
213
  return () => clearInterval(interval);
214
214
  }, [activeModal, canFocusSearch, searchInputEl]);
215
215
  const isSearching = activeModal === types.ModalId.Search || !!searchValue;
216
- const onClickAwayFromSearchModal = react.useCallback(() => {
216
+ const onClickAwayFromSearchModal = React.useCallback(() => {
217
217
  if (searchValue) return;
218
218
  if (activeModal === types.ModalId.Search) {
219
219
  setActiveModal(null);
220
220
  onSearchClick?.();
221
221
  }
222
222
  }, [activeModal, onSearchClick, searchValue, setActiveModal]);
223
- const [initialSearchValueHandled, setInitialSearchValueHandled] = react.useState(false);
224
- react.useEffect(() => {
223
+ const [initialSearchValueHandled, setInitialSearchValueHandled] = React.useState(false);
224
+ React.useEffect(() => {
225
225
  if (!initialSearchValueHandled && searchValue) {
226
226
  setActiveModal(types.ModalId.Search);
227
227
  setInitialSearchValueHandled(true);
228
228
  }
229
229
  }, [initialSearchValueHandled, searchValue, setActiveModal]);
230
- const blurSearchInput = react.useCallback(() => {
230
+ const blurSearchInput = React.useCallback(() => {
231
231
  if (!searchInputEl || activeModal !== types.ModalId.Search) {
232
232
  return;
233
233
  }
@@ -240,31 +240,31 @@ const ProHeader = react.memo(function ProHeader2({
240
240
  reactUse.useClickAway(rootRef, () => {
241
241
  onClickAwayFromSearchModal();
242
242
  }, ["click"]);
243
- const handleSearchCancel = react.useCallback(() => {
243
+ const handleSearchCancel = React.useCallback(() => {
244
244
  setActiveModal(null);
245
245
  onSearch?.("");
246
246
  }, [onSearch, setActiveModal]);
247
- const handleSearchOnClear = react.useCallback(() => {
247
+ const handleSearchOnClear = React.useCallback(() => {
248
248
  setActiveModal(types.ModalId.Search);
249
249
  onSearch?.("");
250
250
  }, [onSearch, setActiveModal]);
251
- const handleSearchOnFocus = react.useCallback(() => {
251
+ const handleSearchOnFocus = React.useCallback(() => {
252
252
  setIsSearchFocused(true);
253
253
  onSearchFocus?.();
254
254
  }, [setIsSearchFocused, onSearchFocus]);
255
- const handleSearchOnBlur = react.useCallback(() => {
255
+ const handleSearchOnBlur = React.useCallback(() => {
256
256
  setIsSearchFocused(false);
257
257
  onSearchBlur?.();
258
258
  }, [setIsSearchFocused, onSearchBlur]);
259
- const handleOpenSearch = react.useCallback(e => {
259
+ const handleOpenSearch = React.useCallback(e => {
260
260
  handleModalOpen(e, types.ModalId.Search);
261
261
  onSearchClick?.();
262
262
  setCanFocusSearch(true);
263
263
  }, [handleModalOpen, onSearchClick]);
264
- const handleSearchValueChange = react.useCallback(e => {
264
+ const handleSearchValueChange = React.useCallback(e => {
265
265
  onSearch?.(e.target.value);
266
266
  }, [onSearch]);
267
- const searchPlaceholder = react.useMemo(() => {
267
+ const searchPlaceholder = React.useMemo(() => {
268
268
  const defaultPlaceholder = translations.search.searchUniFiProducts;
269
269
  switch (productLineValue) {
270
270
  case generated.ProductLine.Uisp:
@@ -281,7 +281,7 @@ const ProHeader = react.memo(function ProHeader2({
281
281
  }
282
282
  }
283
283
  }, [productLineValue, translations]);
284
- const searchFocusWidth = react.useMemo(() => {
284
+ const searchFocusWidth = React.useMemo(() => {
285
285
  switch (productLineValue) {
286
286
  case generated.ProductLine.Amplifi:
287
287
  return 164;
@@ -289,7 +289,7 @@ const ProHeader = react.memo(function ProHeader2({
289
289
  return 160;
290
290
  }
291
291
  }, [productLineValue]);
292
- react.useEffect(() => {
292
+ React.useEffect(() => {
293
293
  if (
294
294
  // eslint-disable-next-line sonarjs/deprecation
295
295
  !embedConfig?.hideSearchOnTouchmove && !embedConfig?.blurSearchOnTouchmove) {
@@ -302,13 +302,13 @@ const ProHeader = react.memo(function ProHeader2({
302
302
  }, [
303
303
  // eslint-disable-next-line sonarjs/deprecation
304
304
  embedConfig?.hideSearchOnTouchmove, blurSearchInput, embedConfig?.blurSearchOnTouchmove]);
305
- const cartQuantity = react.useMemo(() => {
305
+ const cartQuantity = React.useMemo(() => {
306
306
  return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;
307
307
  }, [cart?.items]);
308
- const homeLinkUrl = react.useMemo(() => {
308
+ const homeLinkUrl = React.useMemo(() => {
309
309
  return logo?.url ?? createSiteUrl([mapping.SiteId.Ui, ""]);
310
310
  }, [createSiteUrl, logo?.url]);
311
- const homeLinkClickHandler = react.useCallback(e => {
311
+ const homeLinkClickHandler = React.useCallback(e => {
312
312
  if (embedConfig?.homeLinkClickHandler) {
313
313
  e.preventDefault();
314
314
  embedConfig.homeLinkClickHandler();
@@ -316,7 +316,7 @@ const ProHeader = react.memo(function ProHeader2({
316
316
  }
317
317
  logo?.onClick?.(e, homeLinkUrl);
318
318
  }, [embedConfig, homeLinkUrl, logo]);
319
- react.useEffect(() => {
319
+ React.useEffect(() => {
320
320
  const containerEl = containerRef.current;
321
321
  if (!containerEl) return;
322
322
  const wrapEl = wrapRef.current;
@@ -335,14 +335,14 @@ const ProHeader = react.memo(function ProHeader2({
335
335
  };
336
336
  window.requestAnimationFrame(handle);
337
337
  }, [isMobile]);
338
- const handleAvatarClick = react.useCallback(e => {
338
+ const handleAvatarClick = React.useCallback(e => {
339
339
  if (embedConfig?.avatarClickHandler) {
340
340
  embedConfig.avatarClickHandler();
341
341
  } else {
342
342
  handleModalOpen(e, types.ModalId.Account);
343
343
  }
344
344
  }, [embedConfig, handleModalOpen]);
345
- const avatarHtml = react.useMemo(() => {
345
+ const avatarHtml = React.useMemo(() => {
346
346
  if (embedConfig?.hideAvatarIcon) {
347
347
  return null;
348
348
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactUse = require('react-use');
6
6
  require('../../assets/icons/accessApplication.svg.js');
7
7
  require('../../assets/icons/networkApplication.svg.js');
@@ -68,18 +68,18 @@ const Hero = ({
68
68
  ellipseBackgroundString,
69
69
  isSimpleBackground
70
70
  }) => {
71
- const [activeSlide, setActiveSlide] = react.useState(-1);
72
- const slideshowEnabled = react.useMemo(() => {
71
+ const [activeSlide, setActiveSlide] = React.useState(-1);
72
+ const slideshowEnabled = React.useMemo(() => {
73
73
  return activeSlide !== -1;
74
74
  }, [activeSlide]);
75
75
  useLockBodyScrollCustom.useLockBodyScrollCustom(!!slideshowEnabled);
76
76
  const isTablet = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
77
- react.useEffect(() => {
77
+ React.useEffect(() => {
78
78
  if (isTablet) {
79
79
  setActiveSlide(-1);
80
80
  }
81
81
  }, [isTablet]);
82
- react.useEffect(() => {
82
+ React.useEffect(() => {
83
83
  setActiveSlide(-1);
84
84
  }, [images]);
85
85
  const iconObj = productLine ? PRODUCT_LINES[productLine] : void 0;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../assets/icons/play-dark-bg.svg.js');
6
6
  require('../CustomImage/index.js');
7
7
  var GridModal = require('../GridGallery/GridModal/GridModal.js');
@@ -20,10 +20,10 @@ const HeroVideo = ({
20
20
  posterUrl,
21
21
  modalVideo
22
22
  }) => {
23
- const videoRef = react.useRef(null);
24
- const [isVideoActive, setIsVideoActive] = react.useState(false);
25
- const [isVideoLoaded, setIsVideoLoaded] = react.useState(false);
26
- react.useEffect(() => {
23
+ const videoRef = React.useRef(null);
24
+ const [isVideoActive, setIsVideoActive] = React.useState(false);
25
+ const [isVideoLoaded, setIsVideoLoaded] = React.useState(false);
26
+ React.useEffect(() => {
27
27
  if (isVideoActive) {
28
28
  videoRef.current?.pause();
29
29
  } else {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactUse = require('react-use');
6
6
  require('../../assets/icons/carouselArrow.svg.js');
7
7
  require('../../assets/icons/carouselArrowNav.svg.js');
@@ -37,21 +37,21 @@ const ImageCarousel = function ImageCarousel2({
37
37
  slideBackgroundColor,
38
38
  initialActiveIndex
39
39
  }) {
40
- const carousel = react.useRef(null);
41
- const slider = react.useRef(null);
42
- const navigation = react.useRef(null);
43
- const prevSlideRef = react.useRef(null);
44
- const [activeSlide, setActiveSlide] = react.useState(initialActiveIndex || 0);
45
- const [sliding, setSliding] = react.useState(false);
46
- const [navScrollable, setNavScrollable] = react.useState(false);
47
- const [scrollPosition, setScrollPosition] = react.useState(0);
48
- const [dragX, setDragX] = react.useState(null);
49
- const [dragY, setDragY] = react.useState(null);
40
+ const carousel = React.useRef(null);
41
+ const slider = React.useRef(null);
42
+ const navigation = React.useRef(null);
43
+ const prevSlideRef = React.useRef(null);
44
+ const [activeSlide, setActiveSlide] = React.useState(initialActiveIndex || 0);
45
+ const [sliding, setSliding] = React.useState(false);
46
+ const [navScrollable, setNavScrollable] = React.useState(false);
47
+ const [scrollPosition, setScrollPosition] = React.useState(0);
48
+ const [dragX, setDragX] = React.useState(null);
49
+ const [dragY, setDragY] = React.useState(null);
50
50
  const isMobileView = reactUse.useMedia(layout.BREAKPOINTS.MOBILE_AND_DOWN, false);
51
51
  const isTablet = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
52
- const videoRef = react.useRef(null);
53
- const isVideoHovering = react.useRef(false);
54
- const scrollSlideIntoView = react.useCallback((duration, nextSlide, prevSlide) => {
52
+ const videoRef = React.useRef(null);
53
+ const isVideoHovering = React.useRef(false);
54
+ const scrollSlideIntoView = React.useCallback((duration, nextSlide, prevSlide) => {
55
55
  setSliding(true);
56
56
  const container = carousel.current;
57
57
  const WIDTH = 100;
@@ -84,7 +84,7 @@ const ImageCarousel = function ImageCarousel2({
84
84
  }
85
85
  window.requestAnimationFrame(step);
86
86
  }, [handleActiveGalleryImageId]);
87
- const scrollNavIntoView = react.useCallback((duration, scrollBy) => {
87
+ const scrollNavIntoView = React.useCallback((duration, scrollBy) => {
88
88
  setSliding(true);
89
89
  const container = navigation.current;
90
90
  if (container === null) {
@@ -111,7 +111,7 @@ const ImageCarousel = function ImageCarousel2({
111
111
  }
112
112
  window.requestAnimationFrame(step);
113
113
  }, [setSliding]);
114
- const handleScrollNavItemIntoView = react.useCallback(i => {
114
+ const handleScrollNavItemIntoView = React.useCallback(i => {
115
115
  const container = navigation.current;
116
116
  if (container) {
117
117
  const containerRect = container.getBoundingClientRect();
@@ -128,7 +128,7 @@ const ImageCarousel = function ImageCarousel2({
128
128
  }
129
129
  }
130
130
  }, [scrollNavIntoView]);
131
- const handleNavArrowOnClick = react.useCallback(direction => {
131
+ const handleNavArrowOnClick = React.useCallback(direction => {
132
132
  const container = navigation.current;
133
133
  const scrollItemCount = 5;
134
134
  const transition =
@@ -144,14 +144,14 @@ const ImageCarousel = function ImageCarousel2({
144
144
  }
145
145
  }
146
146
  }, [scrollNavIntoView]);
147
- const handleArrowOnClick = react.useCallback(direction => {
147
+ const handleArrowOnClick = React.useCallback(direction => {
148
148
  if (sliding) {
149
149
  return;
150
150
  }
151
151
  const nextSlide = direction === "next" /* Next */ ? activeSlide + 1 : activeSlide - 1;
152
152
  setActiveSlide(nextSlide);
153
153
  }, [sliding, activeSlide]);
154
- const handleNavigationOnClick = react.useCallback(i => {
154
+ const handleNavigationOnClick = React.useCallback(i => {
155
155
  setActiveSlide(i);
156
156
  }, []);
157
157
  const enableNavScroll = () => {
@@ -160,12 +160,12 @@ const ImageCarousel = function ImageCarousel2({
160
160
  setNavScrollable(scrollable);
161
161
  };
162
162
  const isHidden = i => !(i === activeSlide || sliding);
163
- const handleNavScroll = react.useCallback(e => {
163
+ const handleNavScroll = React.useCallback(e => {
164
164
  const navigation2 = e.target;
165
165
  const position = navigation2.scrollLeft;
166
166
  setScrollPosition(position);
167
167
  }, []);
168
- const navArrowActive = react.useCallback(direction => {
168
+ const navArrowActive = React.useCallback(direction => {
169
169
  if (direction === "prev" /* Previous */) {
170
170
  return scrollPosition > 0;
171
171
  } else if (direction === "next" /* Next */) {
@@ -174,12 +174,12 @@ const ImageCarousel = function ImageCarousel2({
174
174
  }
175
175
  return false;
176
176
  }, [scrollPosition]);
177
- react.useEffect(() => {
177
+ React.useEffect(() => {
178
178
  enableNavScroll();
179
179
  window.addEventListener("resize", enableNavScroll);
180
180
  return () => window.removeEventListener("resize", enableNavScroll);
181
181
  });
182
- react.useEffect(() => {
182
+ React.useEffect(() => {
183
183
  if (!sliding) {
184
184
  scrollSlideIntoView(TRANSITION_DURATION, activeSlide, prevSlideRef.current !== null ? prevSlideRef.current : activeSlide
185
185
  // To disable transition on first gallery load
@@ -187,7 +187,7 @@ const ImageCarousel = function ImageCarousel2({
187
187
  }
188
188
  handleScrollNavItemIntoView(activeSlide);
189
189
  }, [activeSlide, scrollSlideIntoView, handleScrollNavItemIntoView]);
190
- react.useEffect(() => {
190
+ React.useEffect(() => {
191
191
  prevSlideRef.current = activeSlide;
192
192
  if (items[activeSlide]?.isVideo && videoRef.current) {
193
193
  videoRef.current.currentTime = 0;
@@ -195,19 +195,19 @@ const ImageCarousel = function ImageCarousel2({
195
195
  isVideoHovering.current = false;
196
196
  }
197
197
  }, [activeSlide, items]);
198
- const handlePrevArrowClick = react.useCallback(() => {
198
+ const handlePrevArrowClick = React.useCallback(() => {
199
199
  if (activeSlide === 0) {
200
200
  return;
201
201
  }
202
202
  handleArrowOnClick("prev" /* Previous */);
203
203
  }, [activeSlide, handleArrowOnClick]);
204
- const handleNextArrowClick = react.useCallback(() => {
204
+ const handleNextArrowClick = React.useCallback(() => {
205
205
  if (activeSlide + 1 >= items.length) {
206
206
  return;
207
207
  }
208
208
  handleArrowOnClick("next" /* Next */);
209
209
  }, [activeSlide, handleArrowOnClick, items.length]);
210
- const mouseDown = react.useCallback(e => {
210
+ const mouseDown = React.useCallback(e => {
211
211
  if (e.nativeEvent instanceof MouseEvent) {
212
212
  const event = e;
213
213
  setDragX(event.pageX);
@@ -221,7 +221,7 @@ const ImageCarousel = function ImageCarousel2({
221
221
  }
222
222
  }
223
223
  }, []);
224
- const mouseUp = react.useCallback(e => {
224
+ const mouseUp = React.useCallback(e => {
225
225
  const container = slider.current;
226
226
  const rect = container.getBoundingClientRect();
227
227
  let dragXPercentage = 0;
@@ -251,7 +251,7 @@ const ImageCarousel = function ImageCarousel2({
251
251
  }
252
252
  setDragX(null);
253
253
  }, [dragX, dragY, handleNextArrowClick, handlePrevArrowClick, handleShowImageCarouselFullScreen]);
254
- const handleCloseFullScreen = react.useCallback(() => {
254
+ const handleCloseFullScreen = React.useCallback(() => {
255
255
  if (imageCarouselFullScreen) {
256
256
  handleShowImageCarouselFullScreen?.(false);
257
257
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var ImageSequence_styles = require('./ImageSequence.styles.js');
6
6
  "use strict";
7
7
  const clamp = (val, min, max) => {
@@ -13,7 +13,7 @@ var MouseButton = /* @__PURE__ */(MouseButton2 => {
13
13
  MouseButton2[MouseButton2["Right"] = 2] = "Right";
14
14
  return MouseButton2;
15
15
  })(MouseButton || {});
16
- const ImageSequence = react.memo(function ImageSequence2({
16
+ const ImageSequence = React.memo(function ImageSequence2({
17
17
  inverse,
18
18
  width,
19
19
  height,
@@ -27,11 +27,11 @@ const ImageSequence = react.memo(function ImageSequence2({
27
27
  loaderTitle,
28
28
  loaderSubTitle
29
29
  }) {
30
- const ref = react.useRef(null);
31
- const loaderBarRef = react.useRef(null);
32
- const [loading, setLoading] = react.useState(!!loader);
33
- const [loadedCount, setLoadedCount] = react.useState(0);
34
- react.useEffect(() => {
30
+ const ref = React.useRef(null);
31
+ const loaderBarRef = React.useRef(null);
32
+ const [loading, setLoading] = React.useState(!!loader);
33
+ const [loadedCount, setLoadedCount] = React.useState(0);
34
+ React.useEffect(() => {
35
35
  if (!loading) return;
36
36
  const progress = {
37
37
  loaded: loadedCount,
@@ -45,7 +45,7 @@ const ImageSequence = react.memo(function ImageSequence2({
45
45
  setLoading(false);
46
46
  }
47
47
  }, [frameCount, loadedCount, loading]);
48
- react.useEffect(() => {
48
+ React.useEffect(() => {
49
49
  const canvas = ref.current;
50
50
  if (!canvas) {
51
51
  return;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactUse = require('react-use');
6
6
  var Cards_constants = require('../Cards.constants.js');
7
7
  var Card_styles = require('./Card.styles.js');
@@ -21,10 +21,10 @@ const LandingPageCard = function LandingPageCard2({
21
21
  price,
22
22
  scrollbarWidth
23
23
  }) {
24
- const wrapRef = react.useRef(null);
24
+ const wrapRef = React.useRef(null);
25
25
  const isMobile = reactUse.useMedia("(max-width: 980px)", false);
26
- const [metaHeight, setMetaHeight] = react.useState();
27
- react.useEffect(() => {
26
+ const [metaHeight, setMetaHeight] = React.useState();
27
+ React.useEffect(() => {
28
28
  const cardsWrapEl = wrapRef.current?.closest(`.${Cards_constants.CARDS_WRAP_CLASS}`);
29
29
  if (!cardsWrapEl) return;
30
30
  const cardMetaEls = cardsWrapEl.querySelectorAll(`.${CARD_META_CLASS_NAME}`);
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactUse = require('react-use');
6
6
  require('../../../constants/icons/index.js');
7
7
  require('../../StyleableSvgImage/index.js');
@@ -19,18 +19,18 @@ function _interopDefault(e) {
19
19
  var carouselArrowRight__default = /*#__PURE__*/_interopDefault(carouselArrowRight);
20
20
  "use strict";
21
21
  const LandingPageCards = function LandingPageCards2(props) {
22
- const wrapRef = react.useRef(null);
23
- const wrapInnerRef = react.useRef(null);
22
+ const wrapRef = React.useRef(null);
23
+ const wrapInnerRef = React.useRef(null);
24
24
  const scrollbarWidth = reactUse.useScrollbarWidth();
25
- const [customScrollbarWidth, setCustomScrollbarWidth] = react.useState(0);
26
- react.useEffect(() => {
25
+ const [customScrollbarWidth, setCustomScrollbarWidth] = React.useState(0);
26
+ React.useEffect(() => {
27
27
  setCustomScrollbarWidth(scrollbarWidth || 0);
28
28
  }, [scrollbarWidth]);
29
- const [showArrows, setShowArrows] = react.useState({
29
+ const [showArrows, setShowArrows] = React.useState({
30
30
  prev: false,
31
31
  next: false
32
32
  });
33
- const updateArrowShowState = react.useCallback((wrapEl, wrapInnerEl) => {
33
+ const updateArrowShowState = React.useCallback((wrapEl, wrapInnerEl) => {
34
34
  const cardEl = wrapEl.querySelector(`.${Cards_constants.CARD_CLASS_NAME}`);
35
35
  if (!cardEl) return;
36
36
  setShowArrows({
@@ -38,7 +38,7 @@ const LandingPageCards = function LandingPageCards2(props) {
38
38
  next: wrapInnerEl.offsetWidth + wrapInnerEl.scrollLeft < wrapInnerEl.scrollWidth
39
39
  });
40
40
  }, []);
41
- react.useEffect(() => {
41
+ React.useEffect(() => {
42
42
  const wrapEl = wrapRef.current;
43
43
  const wrapInnerEl = wrapInnerRef.current;
44
44
  if (!wrapEl || !wrapInnerEl) return;
@@ -49,7 +49,7 @@ const LandingPageCards = function LandingPageCards2(props) {
49
49
  wrapInnerEl.removeEventListener("scroll", () => updateArrowShowState(wrapEl, wrapInnerEl));
50
50
  };
51
51
  }, [updateArrowShowState]);
52
- const onPrevClick = react.useCallback(() => {
52
+ const onPrevClick = React.useCallback(() => {
53
53
  if (!wrapRef.current || !wrapInnerRef.current) return;
54
54
  const cardEl = wrapRef.current.querySelector(`.${Cards_constants.CARD_CLASS_NAME}`);
55
55
  if (!cardEl) return;
@@ -58,7 +58,7 @@ const LandingPageCards = function LandingPageCards2(props) {
58
58
  behavior: "smooth"
59
59
  });
60
60
  }, []);
61
- const onNextClick = react.useCallback(() => {
61
+ const onNextClick = React.useCallback(() => {
62
62
  if (!wrapRef.current || !wrapInnerRef.current) return;
63
63
  const cardEl = wrapRef.current.querySelector(`.${Cards_constants.CARD_CLASS_NAME}`);
64
64
  if (!cardEl) return;
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var merge = require('lodash/merge');
5
- var react = require('react');
5
+ var React = require('react');
6
6
  require('../../assets/landingPage/design-uisp-mobile.png.js');
7
7
  require('../../assets/landingPage/design-uisp.png.js');
8
8
  require('../../assets/landingPage/design-unifi-mobile.png.js');
@@ -40,7 +40,7 @@ const LandingPage = function LandingPage2({
40
40
  collectionBlocks,
41
41
  translations: initialTranslations
42
42
  }) {
43
- const translations = react.useMemo(() => {
43
+ const translations = React.useMemo(() => {
44
44
  return merge__default["default"](LandingPage_constants.defaultLandingPageTranslations, initialTranslations);
45
45
  }, [initialTranslations]);
46
46
  return /* @__PURE__ */jsxRuntime.jsxs(LandingPage_styles.Wrap, {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var currencies = require('@dinero.js/currencies');
5
- var react = require('react');
5
+ var React = require('react');
6
6
  require('../../contexts/MenuContext/index.js');
7
7
  var mapping = require('../../contexts/MenuContext/mapping.js');
8
8
  require('../../types/index.js');
@@ -31,8 +31,8 @@ const LandingPagePro = ({
31
31
  const {
32
32
  navigation
33
33
  } = context.useMenu();
34
- const isSearchUsed = react.useMemo(() => !!searchProps.searchValue, [searchProps.searchValue]);
35
- const categories = react.useMemo(() => {
34
+ const isSearchUsed = React.useMemo(() => !!searchProps.searchValue, [searchProps.searchValue]);
35
+ const categories = React.useMemo(() => {
36
36
  const navItems = sidebarProps.productTypeBlock.activeType === "unifi" ? navigation.primary.items : navigation.secondary.items;
37
37
  const items = navItems.filter(item => item.id !== mapping.NavigationItemId.UnifiIdentity && item.id !== mapping.NavigationItemId.UispSoftware
38
38
  /**
@@ -117,13 +117,13 @@ const LandingPagePro = ({
117
117
  items: category.items.filter(item => item?.products?.length)
118
118
  }));
119
119
  }, [navigation.primary.items, navigation.secondary.items, productGridProps?.products, sidebarProps.productTypeBlock.activeType, sidebarProps.translations.all]);
120
- const maxPriceFilterAmount = react.useMemo(() => {
120
+ const maxPriceFilterAmount = React.useMemo(() => {
121
121
  return {
122
122
  amount: maximumPriceFilterLookup.get(sidebarProps.filtersBlock?.currency || generated.Currency.Cad) || 7e4,
123
123
  currency: sidebarProps.filtersBlock?.currency || generated.Currency.Cad
124
124
  };
125
125
  }, [sidebarProps.filtersBlock?.currency]);
126
- const categoryProducts = react.useMemo(() => {
126
+ const categoryProducts = React.useMemo(() => {
127
127
  if (!sidebarProps?.categoriesBlock?.activeCategory) {
128
128
  return productGridProps.products;
129
129
  }
@@ -134,7 +134,7 @@ const LandingPagePro = ({
134
134
  }
135
135
  return [];
136
136
  }, [categories, productGridProps.products, sidebarProps.categoriesBlock?.activeCategory]);
137
- const productsFilter = react.useCallback(product => {
137
+ const productsFilter = React.useCallback(product => {
138
138
  if (sidebarProps.filtersBlock?.activeFilters?.filters?.includes("inStock") && !product.variants.find(variant => variant.isInStock)) {
139
139
  return false;
140
140
  }
@@ -164,7 +164,7 @@ const LandingPagePro = ({
164
164
  }
165
165
  return true;
166
166
  }, [maxPriceFilterAmount.amount, sidebarProps.filtersBlock?.activeFilters?.filters, sidebarProps.filtersBlock?.activeFilters?.priceFrom?.displayPrice, sidebarProps.filtersBlock?.activeFilters?.priceTo?.displayPrice]);
167
- const productsSort = react.useCallback((currentProduct, nextProduct) => {
167
+ const productsSort = React.useCallback((currentProduct, nextProduct) => {
168
168
  const currentInStock = utils.productHasSomeInStock(currentProduct);
169
169
  const nextInStock = utils.productHasSomeInStock(nextProduct);
170
170
  const sortWeight = !isSearchUsed ? utils.compareSortWeights({
@@ -197,13 +197,13 @@ const LandingPagePro = ({
197
197
  }
198
198
  return sortValue + sortWeight;
199
199
  }, [isSearchUsed, productGridProps.sortValue]);
200
- const products = react.useMemo(() => {
200
+ const products = React.useMemo(() => {
201
201
  if (categoryProducts === null) {
202
202
  return null;
203
203
  }
204
204
  return categoryProducts?.filter(productsFilter).sort(productsSort);
205
205
  }, [categoryProducts, productsFilter, productsSort]);
206
- const filtersBlock = react.useMemo(() => {
206
+ const filtersBlock = React.useMemo(() => {
207
207
  if (!sidebarProps.filtersBlock) {
208
208
  return void 0;
209
209
  }
@@ -221,12 +221,12 @@ const LandingPagePro = ({
221
221
  }
222
222
  };
223
223
  }, [maxPriceFilterAmount, productGridProps.products, sidebarProps.filtersBlock]);
224
- const hasFilters = react.useMemo(() => {
224
+ const hasFilters = React.useMemo(() => {
225
225
  return !!filtersBlock?.activeFilters.filters?.length || filtersBlock?.activeFilters.priceFrom !== void 0 || filtersBlock?.activeFilters.priceTo !== void 0;
226
226
  }, [filtersBlock?.activeFilters.filters?.length, filtersBlock?.activeFilters.priceFrom, filtersBlock?.activeFilters.priceTo]);
227
- const areCategoriesLoading = react.useMemo(() => !!(sidebarProps.categoriesBlock && sidebarProps.categoriesBlock.activeCategory === void 0), [sidebarProps.categoriesBlock]);
228
- const isSidebarLoading = react.useMemo(() => areCategoriesLoading || !productGridProps.isFullyLoaded, [areCategoriesLoading, productGridProps.isFullyLoaded]);
229
- const isDefaultCategory = react.useMemo(() => !sidebarProps.categoriesBlock?.activeCategory, [sidebarProps.categoriesBlock?.activeCategory]);
227
+ const areCategoriesLoading = React.useMemo(() => !!(sidebarProps.categoriesBlock && sidebarProps.categoriesBlock.activeCategory === void 0), [sidebarProps.categoriesBlock]);
228
+ const isSidebarLoading = React.useMemo(() => areCategoriesLoading || !productGridProps.isFullyLoaded, [areCategoriesLoading, productGridProps.isFullyLoaded]);
229
+ const isDefaultCategory = React.useMemo(() => !sidebarProps.categoriesBlock?.activeCategory, [sidebarProps.categoriesBlock?.activeCategory]);
230
230
  return /* @__PURE__ */jsxRuntime.jsxs(LandingPagePro_styles.Container, {
231
231
  size: "desktop",
232
232
  children: [/* @__PURE__ */jsxRuntime.jsx(LandingPageSidebar.LandingPageSidebar, {