@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
@@ -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('../../../../CustomImage/index.js');
6
6
  var useResourceCalculatorTranslation = require('../../../translations/useResourceCalculatorTranslation.js');
7
7
  require('./assets/delete.svg.js');
@@ -31,7 +31,7 @@ const PoeConsumerConfigurator = ({
31
31
  const {
32
32
  formatMessage
33
33
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
34
- const emptyPortIndexes = react.useMemo(() => {
34
+ const emptyPortIndexes = React.useMemo(() => {
35
35
  const indexes = [];
36
36
  for (const [i, port] of poeConsumerPorts.entries()) {
37
37
  if (port.wattage === 0) {
@@ -40,7 +40,7 @@ const PoeConsumerConfigurator = ({
40
40
  }
41
41
  return indexes;
42
42
  }, [poeConsumerPorts]);
43
- const groupedPoeConsumerPorts = react.useMemo(() => {
43
+ const groupedPoeConsumerPorts = React.useMemo(() => {
44
44
  const result = [];
45
45
  for (let i = 0; i < poeConsumerPorts.length; i += portGroupSize) {
46
46
  const chunk = poeConsumerPorts.slice(i, i + portGroupSize);
@@ -48,14 +48,14 @@ const PoeConsumerConfigurator = ({
48
48
  }
49
49
  return result;
50
50
  }, [poeConsumerPorts, portGroupSize]);
51
- const [focusedPortIndex, setFocusedPortIndex] = react.useState(null);
52
- const handleConfiguePort = react.useCallback(portIndex => {
51
+ const [focusedPortIndex, setFocusedPortIndex] = React.useState(null);
52
+ const handleConfiguePort = React.useCallback(portIndex => {
53
53
  setFocusedPortIndex(portIndex);
54
54
  }, [setFocusedPortIndex]);
55
- const handleCloseModal = react.useCallback(() => {
55
+ const handleCloseModal = React.useCallback(() => {
56
56
  setFocusedPortIndex(null);
57
57
  }, [setFocusedPortIndex]);
58
- const handleSelectConsumerDevice = react.useCallback((poeConsumerId, count) => {
58
+ const handleSelectConsumerDevice = React.useCallback((poeConsumerId, count) => {
59
59
  if (focusedPortIndex !== null) {
60
60
  const emptyPortIndexesWithoutFocusedPort = emptyPortIndexes.filter(portIndex => portIndex !== focusedPortIndex);
61
61
  const countOfAdditionalPorts = count - 1;
@@ -65,11 +65,11 @@ const PoeConsumerConfigurator = ({
65
65
  handleCloseModal();
66
66
  }
67
67
  }, [focusedPortIndex, handleCloseModal, onUpdatePorts, emptyPortIndexes]);
68
- const [highlightedPortGroupIndex, setHighlightedPortGroupIndex] = react.useState(null);
69
- const handlePortGroupHighlight = react.useCallback(groupIndex => {
68
+ const [highlightedPortGroupIndex, setHighlightedPortGroupIndex] = React.useState(null);
69
+ const handlePortGroupHighlight = React.useCallback(groupIndex => {
70
70
  setHighlightedPortGroupIndex(groupIndex);
71
71
  }, [setHighlightedPortGroupIndex]);
72
- const handleDeletePortGroup = react.useCallback(poePortGroupIndex => {
72
+ const handleDeletePortGroup = React.useCallback(poePortGroupIndex => {
73
73
  const deleteIndexStart = poePortGroupIndex * portGroupSize;
74
74
  onDeletePorts(deleteIndexStart, portGroupSize);
75
75
  }, [portGroupSize, onDeletePorts]);
@@ -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 asset = require('../../../../../../utils/asset.js');
6
6
  require('../../../../../CustomImage/index.js');
7
7
  require('../../../../../StyleableSvgImage/index.js');
@@ -19,8 +19,8 @@ var ComputeResourceCalculator_types = require('../../../../ComputeResourceCalcul
19
19
  var CustomImage = require('../../../../../CustomImage/CustomImage.js');
20
20
  var SearchIcon = require("../../../../../../assets/search2.svg");
21
21
  var StyleableSvgImage = require('../../../../../StyleableSvgImage/StyleableSvgImage.js');
22
- var MinusIcon = require("../../../../../../assets/minus4.svg");
23
- var PlusIcon = require("../../../../../../assets/plus6.svg");
22
+ var MinusIcon = require("../../../../../../assets/minus5.svg");
23
+ var PlusIcon = require("../../../../../../assets/plus7.svg");
24
24
  function _interopDefault(e) {
25
25
  return e && e.__esModule ? e : {
26
26
  default: e
@@ -42,20 +42,20 @@ const PoeConsumerSelectModal = ({
42
42
  const {
43
43
  formatMessage
44
44
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
45
- const stopPropagation = react.useCallback(event => {
45
+ const stopPropagation = React.useCallback(event => {
46
46
  event.stopPropagation();
47
47
  }, []);
48
- const inputRef = react.useRef(null);
49
- const [searchQuery, setSearchQuery] = react.useState("");
50
- const handleSearchQueryChange = react.useCallback(e => {
48
+ const inputRef = React.useRef(null);
49
+ const [searchQuery, setSearchQuery] = React.useState("");
50
+ const handleSearchQueryChange = React.useCallback(e => {
51
51
  setSearchQuery(e.target.value);
52
52
  }, [setSearchQuery]);
53
- const handleFocusSearchInput = react.useCallback(() => {
53
+ const handleFocusSearchInput = React.useCallback(() => {
54
54
  if (inputRef.current) {
55
55
  inputRef.current.focus();
56
56
  }
57
57
  }, []);
58
- const filterSearchItems = react.useCallback(items2 => {
58
+ const filterSearchItems = React.useCallback(items2 => {
59
59
  if (searchQuery.trim().length === 0) {
60
60
  return items2;
61
61
  }
@@ -63,16 +63,16 @@ const PoeConsumerSelectModal = ({
63
63
  return item.title.toLowerCase().includes(searchQuery.toLowerCase());
64
64
  });
65
65
  }, [searchQuery]);
66
- const itemCategories = react.useMemo(() => {
66
+ const itemCategories = React.useMemo(() => {
67
67
  const allCategories = items.map(item => item.category);
68
68
  return [...new Set(allCategories)];
69
69
  }, [items]);
70
- const [currentItemCategory, setCurrentItemCategory] = react.useState(itemCategories[0] || null);
71
- const handleSelectCategory = react.useCallback(id => {
70
+ const [currentItemCategory, setCurrentItemCategory] = React.useState(itemCategories[0] || null);
71
+ const handleSelectCategory = React.useCallback(id => {
72
72
  setCurrentItemCategory(id);
73
73
  setSearchQuery("");
74
74
  }, [setCurrentItemCategory, setSearchQuery]);
75
- const displayedPoeConsumerItems = react.useMemo(() => {
75
+ const displayedPoeConsumerItems = React.useMemo(() => {
76
76
  let itemsTmp = [...items];
77
77
  itemsTmp = itemsTmp.filter(item => item.category === currentItemCategory);
78
78
  itemsTmp = filterSearchItems(itemsTmp);
@@ -85,18 +85,18 @@ const PoeConsumerSelectModal = ({
85
85
  }, ...itemsTmp];
86
86
  return itemsTmp;
87
87
  }, [items, currentItemCategory, filterSearchItems]);
88
- const [count, setCount] = react.useState(1);
89
- react.useEffect(() => {
88
+ const [count, setCount] = React.useState(1);
89
+ React.useEffect(() => {
90
90
  if (isOpen) {
91
91
  setCount(1);
92
92
  }
93
93
  }, [setCount, isOpen]);
94
- const handleIncrementCount = react.useCallback(() => {
94
+ const handleIncrementCount = React.useCallback(() => {
95
95
  if (count < maxCount) {
96
96
  setCount(count + 1);
97
97
  }
98
98
  }, [maxCount, count, setCount]);
99
- const handleDecrementCount = react.useCallback(() => {
99
+ const handleDecrementCount = React.useCallback(() => {
100
100
  if (count > 1) {
101
101
  setCount(count - 1);
102
102
  }
@@ -17,8 +17,8 @@ import { isMessageFormatted } from '../../../../ComputeResourceCalculator/Comput
17
17
  import { CustomImage } from '../../../../../CustomImage/CustomImage.mjs';
18
18
  import SearchIcon__default from "../../../../../../assets/search2.svg";
19
19
  import { StyleableSvgImage } from '../../../../../StyleableSvgImage/StyleableSvgImage.mjs';
20
- import MinusIcon__default from "../../../../../../assets/minus4.svg";
21
- import PlusIcon__default from "../../../../../../assets/plus6.svg";
20
+ import MinusIcon__default from "../../../../../../assets/minus5.svg";
21
+ import PlusIcon__default from "../../../../../../assets/plus7.svg";
22
22
  "use strict";
23
23
  const NoopPlaceholder = () => /* @__PURE__ */jsx(Fragment, {});
24
24
  const PoeConsumerSelectModal = ({
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var MinusIcon = require("../../../../../../assets/minus4.svg");
6
+ var MinusIcon = require("../../../../../../assets/minus5.svg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -1,3 +1,3 @@
1
- export * from "../../../../../../assets/minus4.svg";
2
- export { default } from "../../../../../../assets/minus4.svg";
1
+ export * from "../../../../../../assets/minus5.svg";
2
+ export { default } from "../../../../../../assets/minus5.svg";
3
3
  //# sourceMappingURL=minus.svg.mjs.map
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var PlusIcon = require("../../../../../../assets/plus6.svg");
6
+ var PlusIcon = require("../../../../../../assets/plus7.svg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -1,3 +1,3 @@
1
- export * from "../../../../../../assets/plus6.svg";
2
- export { default } from "../../../../../../assets/plus6.svg";
1
+ export * from "../../../../../../assets/plus7.svg";
2
+ export { default } from "../../../../../../assets/plus7.svg";
3
3
  //# sourceMappingURL=plus.svg.mjs.map
@@ -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('../../../../CustomImage/index.js');
6
6
  var useResourceCalculatorTranslation = require('../../../translations/useResourceCalculatorTranslation.js');
7
7
  require('./assets/poe.svg.js');
@@ -28,7 +28,7 @@ const RecommendedPoeSwitches = ({
28
28
  const {
29
29
  formatMessage
30
30
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
31
- const showTotalValues = react.useMemo(() => {
31
+ const showTotalValues = React.useMemo(() => {
32
32
  return totalConsumerPorts > 0;
33
33
  }, [totalConsumerPorts]);
34
34
  return /* @__PURE__ */jsxRuntime.jsxs(RecommendedPoeSwitches_styles.RecommendedDevices, {
@@ -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 layout = require('../../constants/layout.js');
7
7
  require('./components/index.js');
@@ -23,14 +23,14 @@ const ResourceCalculatorV1 = ({
23
23
  formatMessage
24
24
  } = useResourceCalculatorTranslation.useResourceCalculatorTranslation();
25
25
  const isMobile = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
26
- const [activeCalculatorId, setActiveCalculatorId] = react.useState(enabledCalculatorIds[0]);
27
- const enabledCalculators = react.useMemo(() => {
26
+ const [activeCalculatorId, setActiveCalculatorId] = React.useState(enabledCalculatorIds[0]);
27
+ const enabledCalculators = React.useMemo(() => {
28
28
  return Object.entries(ResourceCalculator_constants.RESOURCE_CALCULATORS).filter(([key]) => enabledCalculatorIds.includes(key)).map(([, value]) => value);
29
29
  }, [enabledCalculatorIds]);
30
- const handleCalculatorSelect = react.useCallback(calculatorId => {
30
+ const handleCalculatorSelect = React.useCallback(calculatorId => {
31
31
  setActiveCalculatorId(calculatorId);
32
32
  }, [setActiveCalculatorId]);
33
- const activeCalculatorLayout = react.useMemo(() => {
33
+ const activeCalculatorLayout = React.useMemo(() => {
34
34
  switch (activeCalculatorId) {
35
35
  case ResourceCalculator_types.CalculatorId.ComputeResourceCalculator:
36
36
  return /* @__PURE__ */jsxRuntime.jsx(ComputeResourceCalculator.ComputeResourceCalculator, {
@@ -40,7 +40,7 @@ const ResourceCalculatorV1 = ({
40
40
  return /* @__PURE__ */jsxRuntime.jsx(PoeCalculator.PoeCalculator, {});
41
41
  }
42
42
  }, [activeCalculatorId, defaultActiveDeviceId]);
43
- const calculatorSelectProps = react.useMemo(() => {
43
+ const calculatorSelectProps = React.useMemo(() => {
44
44
  return {
45
45
  activeId: activeCalculatorId.toString(),
46
46
  items: enabledCalculators.map(calculator => ({
@@ -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 ReverseLoopingVideo_styles = require('./ReverseLoopingVideo.styles.js');
6
6
  "use strict";
7
7
  const RESET_STEP_MS = 20;
@@ -10,8 +10,8 @@ const ReverseLoopingVideo = ({
10
10
  poster,
11
11
  playing
12
12
  }) => {
13
- const animationFrame = react.useRef(0);
14
- const resetCurrentTime = react.useCallback(el => {
13
+ const animationFrame = React.useRef(0);
14
+ const resetCurrentTime = React.useCallback(el => {
15
15
  if (playing || !el.currentTime) return;
16
16
  if (el.currentTime >= el.duration) {
17
17
  el.currentTime = 0;
@@ -26,8 +26,8 @@ const ReverseLoopingVideo = ({
26
26
  }
27
27
  });
28
28
  }, [playing]);
29
- const videoRef = react.useRef(null);
30
- react.useEffect(() => {
29
+ const videoRef = React.useRef(null);
30
+ React.useEffect(() => {
31
31
  const el = videoRef.current;
32
32
  if (!el) return;
33
33
  if (playing) {
@@ -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/arrowRight.svg.js');
7
7
  var useHorizontalScroll = require('../../hooks/useHorizontalScroll.js');
@@ -39,22 +39,22 @@ const ScrollWrapper = function ScrollWrapper2({
39
39
  alignActive = "center",
40
40
  disableScrollToActive
41
41
  }) {
42
- const containerRef = react.useRef(null);
42
+ const containerRef = React.useRef(null);
43
43
  const [containerMeasureRef, containerSize] = reactUse.useMeasure();
44
44
  useHorizontalScroll.useHorizontalScroll(containerRef, !!enableWheelScroll);
45
- react.useEffect(() => {
45
+ React.useEffect(() => {
46
46
  if (containerRef.current) {
47
47
  containerMeasureRef(containerRef.current);
48
48
  }
49
49
  }, [containerMeasureRef]);
50
- const getContainerItemWidth = react.useCallback(() => {
50
+ const getContainerItemWidth = React.useCallback(() => {
51
51
  const containerItem = containerRef.current?.querySelector(`.${SCROLL_CONTAINER_ITEM_CLASS_NAME}`);
52
52
  if (!containerItem) {
53
53
  return 0;
54
54
  }
55
55
  return containerItem.getBoundingClientRect().width;
56
56
  }, []);
57
- const getInvisibleItemOffset = react.useCallback(({
57
+ const getInvisibleItemOffset = React.useCallback(({
58
58
  scrollDirection
59
59
  }) => {
60
60
  if (!containerRef.current) {
@@ -112,7 +112,7 @@ const ScrollWrapper = function ScrollWrapper2({
112
112
  }
113
113
  return 0;
114
114
  }, [direction]);
115
- const getVisibleItemsWidth = react.useCallback(() => {
115
+ const getVisibleItemsWidth = React.useCallback(() => {
116
116
  if (!containerRef.current) {
117
117
  return 0;
118
118
  }
@@ -130,7 +130,7 @@ const ScrollWrapper = function ScrollWrapper2({
130
130
  });
131
131
  return visibleItemsWidth;
132
132
  }, [direction, gap]);
133
- const getActiveIndexOffset = react.useCallback(index => {
133
+ const getActiveIndexOffset = React.useCallback(index => {
134
134
  const offset = {
135
135
  left: void 0,
136
136
  top: void 0
@@ -169,9 +169,9 @@ const ScrollWrapper = function ScrollWrapper2({
169
169
  y: refScrollY
170
170
  } = reactUse.useScroll(containerRef);
171
171
  const windowSize = reactUse.useWindowSize();
172
- const [scrollX, setScrollX] = react.useState(0);
173
- const [scrollY, setScrollY] = react.useState(0);
174
- react.useEffect(() => {
172
+ const [scrollX, setScrollX] = React.useState(0);
173
+ const [scrollY, setScrollY] = React.useState(0);
174
+ React.useEffect(() => {
175
175
  if (!containerRef.current) return;
176
176
  const initScrollX = containerRef.current.scrollLeft;
177
177
  const initScrollY = containerRef.current.scrollTop;
@@ -183,7 +183,7 @@ const ScrollWrapper = function ScrollWrapper2({
183
183
  scrollWidth: containerRef.current.scrollWidth
184
184
  });
185
185
  }, [onScrollChange]);
186
- react.useEffect(() => {
186
+ React.useEffect(() => {
187
187
  setScrollX(refScrollX);
188
188
  setScrollY(refScrollY);
189
189
  onScrollChange?.({
@@ -195,9 +195,9 @@ const ScrollWrapper = function ScrollWrapper2({
195
195
  // HACK: needed windowSize to retrigger the effect
196
196
  // eslint-disable-next-line react-hooks/exhaustive-deps
197
197
  windowSize]);
198
- const [showFadeStart, setShowFadeStart] = react.useState(false);
199
- const [showFadeEnd, setShowFadeEnd] = react.useState(false);
200
- react.useEffect(() => {
198
+ const [showFadeStart, setShowFadeStart] = React.useState(false);
199
+ const [showFadeEnd, setShowFadeEnd] = React.useState(false);
200
+ React.useEffect(() => {
201
201
  if (!containerRef.current) return;
202
202
  const width = containerRef.current.offsetWidth;
203
203
  const height = containerRef.current.offsetHeight;
@@ -220,7 +220,7 @@ const ScrollWrapper = function ScrollWrapper2({
220
220
  containerSize.width, windowSize,
221
221
  // #############################################################################
222
222
  direction, scrollX, scrollY, items]);
223
- const handleArrowClick = react.useCallback(first => {
223
+ const handleArrowClick = React.useCallback(first => {
224
224
  const container = containerRef.current;
225
225
  if (!container) return;
226
226
  const scrollDirection = first ? -1 : 1;
@@ -277,7 +277,7 @@ const ScrollWrapper = function ScrollWrapper2({
277
277
  behavior: "smooth"
278
278
  });
279
279
  }, [direction, scrollX, scrollY, scrollStepType, gap, getContainerItemWidth, getVisibleItemsWidth, getInvisibleItemOffset]);
280
- react.useEffect(() => {
280
+ React.useEffect(() => {
281
281
  window.setTimeout(() => {
282
282
  if (!containerRef.current || disableScrollToActive) return;
283
283
  if (activeIndex !== void 0 && activeIndex > -1) {
@@ -297,7 +297,7 @@ const ScrollWrapper = function ScrollWrapper2({
297
297
  }
298
298
  }, 0);
299
299
  }, [activeIndex, getActiveIndexOffset, disableScrollToActive]);
300
- const arrowIconSrc = react.useMemo(() => {
300
+ const arrowIconSrc = React.useMemo(() => {
301
301
  const icon = arrowIcon?.icon ?? ArrowRightIcon__default["default"];
302
302
  return typeof icon === "string" ? icon : icon.src;
303
303
  }, [arrowIcon]);
@@ -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('../../../constants/icons/index.js');
6
6
  var theme = require('../../../constants/theme.js');
7
7
  require('../../Loader/index.js');
@@ -38,11 +38,11 @@ const SearchInput = function SearchInput2({
38
38
  className,
39
39
  children
40
40
  }) {
41
- const ref = react.useRef(null);
42
- react.useEffect(() => {
41
+ const ref = React.useRef(null);
42
+ React.useEffect(() => {
43
43
  setInputRef?.(ref.current);
44
44
  }, [setInputRef]);
45
- const handleInputWrapClick = react.useCallback(() => {
45
+ const handleInputWrapClick = React.useCallback(() => {
46
46
  ref.current?.focus();
47
47
  }, [ref]);
48
48
  return /* @__PURE__ */jsxRuntime.jsx(Input_styles.SearchInputContainer, {
@@ -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/carouselArrow.svg.js');
6
6
  require('../../CustomImage/index.js');
7
7
  require('../../Loader/index.js');
@@ -29,8 +29,8 @@ const SearchModal = function SearchModal2({
29
29
  search,
30
30
  mobileMenu
31
31
  }) {
32
- const noResults = react.useMemo(() => !search.loading && !search.items?.length && !!formattedQuerySearchTerm, [formattedQuerySearchTerm, search.items?.length, search.loading]);
33
- const showSearchResultsLink = react.useMemo(() => search.totalItemsCount > MAX_SEARCH_RESULTS, [search]);
32
+ const noResults = React.useMemo(() => !search.loading && !search.items?.length && !!formattedQuerySearchTerm, [formattedQuerySearchTerm, search.items?.length, search.loading]);
33
+ const showSearchResultsLink = React.useMemo(() => search.totalItemsCount > MAX_SEARCH_RESULTS, [search]);
34
34
  return /* @__PURE__ */jsxRuntime.jsxs(Modal_styles.Container, {
35
35
  center: !!(search.loading || noResults),
36
36
  mobileMenu,
@@ -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 Slider_styles = require('./Slider.styles.js');
6
6
  "use strict";
7
7
  const StorageSlidersSlider = function StorageSlidersSlider2({
@@ -11,14 +11,14 @@ const StorageSlidersSlider = function StorageSlidersSlider2({
11
11
  min = 0,
12
12
  max = 100
13
13
  }) {
14
- const handleOnChange = react.useCallback(e => {
14
+ const handleOnChange = React.useCallback(e => {
15
15
  if (disabled) return;
16
16
  const newValue = parseInt(e.target.value);
17
17
  if (!Number.isNaN(newValue)) {
18
18
  onChange?.(newValue);
19
19
  }
20
20
  }, [disabled, onChange]);
21
- const thumbLeftPercent = react.useMemo(() => {
21
+ const thumbLeftPercent = React.useMemo(() => {
22
22
  return (value - min) / (max - min) * 100;
23
23
  }, [max, min, value]);
24
24
  return /* @__PURE__ */jsxRuntime.jsxs(Slider_styles.Wrap, {
@@ -1,35 +1,35 @@
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 StorageSliders_constants = require('./StorageSliders.constants.js');
6
6
  var StorageSliders_types = require('./StorageSliders.types.js');
7
7
  var StorageSliders_utils = require('./StorageSliders.utils.js');
8
8
  "use strict";
9
- const StorageSlidersContext = react.createContext(null);
9
+ const StorageSlidersContext = React.createContext(null);
10
10
  const StorageSlidersProvider = ({
11
11
  hddTerabytes = 8,
12
12
  sku,
13
13
  children
14
14
  }) => {
15
- const data = react.useMemo(() => {
15
+ const data = React.useMemo(() => {
16
16
  return StorageSliders_constants.storageSlidersDataBySku[sku] ?? null;
17
17
  }, [sku]);
18
- const [cameraType, setCameraType] = react.useState(StorageSliders_types.CameraType.Camera2K);
19
- const [cameras, setCameras] = react.useState(0);
20
- const [hours, setHours] = react.useState(0);
21
- const reset = react.useCallback(() => {
18
+ const [cameraType, setCameraType] = React.useState(StorageSliders_types.CameraType.Camera2K);
19
+ const [cameras, setCameras] = React.useState(0);
20
+ const [hours, setHours] = React.useState(0);
21
+ const reset = React.useCallback(() => {
22
22
  setCameraType(StorageSliders_types.CameraType.Camera2K);
23
23
  setCameras(0);
24
24
  setHours(0);
25
25
  }, []);
26
- const cameraTypeData = react.useMemo(() => {
26
+ const cameraTypeData = React.useMemo(() => {
27
27
  return data?.cameraTypeData[cameraType] ?? null;
28
28
  }, [cameraType, data?.cameraTypeData]);
29
- const maxCameras = react.useMemo(() => {
29
+ const maxCameras = React.useMemo(() => {
30
30
  return cameraTypeData?.maxCameras ?? 0;
31
31
  }, [cameraTypeData?.maxCameras]);
32
- const storageHoursPerHdd = react.useMemo(() => {
32
+ const storageHoursPerHdd = React.useMemo(() => {
33
33
  if (!data?.maxHdds || !cameraTypeData?.powerUsage || !cameras) {
34
34
  return [];
35
35
  }
@@ -58,7 +58,7 @@ const StorageSlidersProvider = ({
58
58
  storageHours.reverse();
59
59
  return storageHours;
60
60
  }, [cameraTypeData?.powerUsage, cameras, data?.maxHdds, hddTerabytes]);
61
- const maxHours = react.useMemo(() => {
61
+ const maxHours = React.useMemo(() => {
62
62
  if (!data?.maxHdds || !cameraTypeData?.powerUsage) {
63
63
  return 0;
64
64
  }
@@ -70,7 +70,7 @@ const StorageSlidersProvider = ({
70
70
  terabytes: hddTerabytes
71
71
  });
72
72
  }, [cameraTypeData?.powerUsage, cameras, data?.maxHdds, hddTerabytes]);
73
- react.useEffect(() => {
73
+ React.useEffect(() => {
74
74
  if (hours > maxHours) {
75
75
  setHours(maxHours);
76
76
  }
@@ -78,21 +78,21 @@ const StorageSlidersProvider = ({
78
78
  setCameras(maxCameras);
79
79
  }
80
80
  }, [cameras, hours, maxCameras, maxHours]);
81
- const hdds = react.useMemo(() => {
81
+ const hdds = React.useMemo(() => {
82
82
  if (!storageHoursPerHdd || !cameras || !hours) {
83
83
  return 0;
84
84
  }
85
85
  const item = [...storageHoursPerHdd].reverse().find(el => el.hours <= hours);
86
86
  return item?.hdds ?? 1;
87
87
  }, [cameras, hours, storageHoursPerHdd]);
88
- const [queuedSetHdds, setQueuedSetHdds] = react.useState();
89
- const handleSetHdds = react.useCallback(count => {
88
+ const [queuedSetHdds, setQueuedSetHdds] = React.useState();
89
+ const handleSetHdds = React.useCallback(count => {
90
90
  if (!cameras) {
91
91
  setCameras(1);
92
92
  }
93
93
  setQueuedSetHdds(count);
94
94
  }, [cameras]);
95
- react.useEffect(() => {
95
+ React.useEffect(() => {
96
96
  if (queuedSetHdds == null) return;
97
97
  const item = storageHoursPerHdd.find(({
98
98
  hdds: hdds2
@@ -100,7 +100,7 @@ const StorageSlidersProvider = ({
100
100
  setHours(item?.hours ?? 0);
101
101
  setQueuedSetHdds(void 0);
102
102
  }, [queuedSetHdds, storageHoursPerHdd]);
103
- const handleSetCameras = react.useCallback(value2 => {
103
+ const handleSetCameras = React.useCallback(value2 => {
104
104
  if (hours === 0 && value2 > 0) {
105
105
  setHours(1);
106
106
  } else if (value2 === 0) {
@@ -108,13 +108,13 @@ const StorageSlidersProvider = ({
108
108
  }
109
109
  setCameras(value2);
110
110
  }, [hours]);
111
- const handleSetHours = react.useCallback(value2 => {
111
+ const handleSetHours = React.useCallback(value2 => {
112
112
  if (cameras === 0 && value2 > 0) {
113
113
  setCameras(1);
114
114
  }
115
115
  setHours(value2);
116
116
  }, [cameras]);
117
- const value = react.useMemo(() => {
117
+ const value = React.useMemo(() => {
118
118
  return {
119
119
  cameraType,
120
120
  setCameraType,
@@ -137,7 +137,7 @@ const StorageSlidersProvider = ({
137
137
  });
138
138
  };
139
139
  function useStorageSliders() {
140
- const context = react.useContext(StorageSlidersContext);
140
+ const context = React.useContext(StorageSlidersContext);
141
141
  if (context === null) {
142
142
  throw new Error("useStorageSliders must be used within a StorageSlidersProvider");
143
143
  }
@@ -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('./Slider/index.js');
8
8
  var StorageSliders_constants = require('./StorageSliders.constants.js');
@@ -23,7 +23,7 @@ const StorageSliders = function StorageSliders2({
23
23
  translations: initialTranslations,
24
24
  disabled
25
25
  }) {
26
- const translations = react.useMemo(() => {
26
+ const translations = React.useMemo(() => {
27
27
  return merge__default["default"](StorageSliders_constants.defaultStorageSlidersTranslations, initialTranslations);
28
28
  }, [initialTranslations]);
29
29
  const {
@@ -40,9 +40,9 @@ const StorageSliders = function StorageSliders2({
40
40
  maxHdds,
41
41
  hddTerabytes
42
42
  } = StorageSliders_context.useStorageSliders();
43
- const [localHours, setLocalHours] = react.useState(hours);
43
+ const [localHours, setLocalHours] = React.useState(hours);
44
44
  reactUse.useDebounce(() => setHours(localHours), 5, [localHours]);
45
- const [storageItemHoverIndex, setStorageItemHoverIndex] = react.useState(null);
45
+ const [storageItemHoverIndex, setStorageItemHoverIndex] = React.useState(null);
46
46
  return /* @__PURE__ */jsxRuntime.jsxs(StorageSliders_styles.Wrap, {
47
47
  className,
48
48
  children: [/* @__PURE__ */jsxRuntime.jsxs(StorageSliders_styles.SlidersContainer, {