@ubnt/store.core 9.53.0-alpha.4 → 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 (323) hide show
  1. package/CHANGELOG.md +8 -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/apis/smartcat.js +1 -1
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +1 -1
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/ai-360.jpg +0 -0
  11. package/lib/assets/ai-3602.jpg +0 -0
  12. package/lib/assets/ai-bullet.jpg +0 -0
  13. package/lib/assets/ai-bullet2.jpg +0 -0
  14. package/lib/assets/ai-dslr.jpg +0 -0
  15. package/lib/assets/ai-dslr2.jpg +0 -0
  16. package/lib/assets/building-bridge-xg.jpg +0 -0
  17. package/lib/assets/building-bridge-xg2.jpg +0 -0
  18. package/lib/assets/close2.svg +2 -3
  19. package/lib/assets/close3.svg +3 -2
  20. package/lib/assets/e7-audience.jpg +0 -0
  21. package/lib/assets/e7-audience2.jpg +0 -0
  22. package/lib/assets/flex.jpg +0 -0
  23. package/lib/assets/flex2.jpg +0 -0
  24. package/lib/assets/g4-instant.jpg +0 -0
  25. package/lib/assets/g4-instant2.jpg +0 -0
  26. package/lib/assets/g5-bullet.jpg +0 -0
  27. package/lib/assets/g5-bullet2.jpg +0 -0
  28. package/lib/assets/g5-dome.jpg +0 -0
  29. package/lib/assets/g5-dome2.jpg +0 -0
  30. package/lib/assets/g5-flex.jpg +0 -0
  31. package/lib/assets/g5-flex2.jpg +0 -0
  32. package/lib/assets/g5-ptz.jpg +0 -0
  33. package/lib/assets/g5-ptz2.jpg +0 -0
  34. package/lib/assets/g5-turret-ultra.jpg +0 -0
  35. package/lib/assets/g5-turret-ultra2.jpg +0 -0
  36. package/lib/assets/industrial.jpg +0 -0
  37. package/lib/assets/industrial2.jpg +0 -0
  38. package/lib/assets/intercom.jpg +0 -0
  39. package/lib/assets/intercom2.jpg +0 -0
  40. package/lib/assets/pause.svg +3 -3
  41. package/lib/assets/pause2.svg +3 -3
  42. package/lib/components/Accordion/Accordion.js +4 -4
  43. package/lib/components/Avatar/Avatar.js +2 -2
  44. package/lib/components/Button/Button.js +6 -6
  45. package/lib/components/Button/CartButton.js +2 -2
  46. package/lib/components/CardSection/Card/Card.js +6 -6
  47. package/lib/components/CardSection/CardSection.js +2 -2
  48. package/lib/components/CartIcon/CartIcon.js +2 -2
  49. package/lib/components/Checkbox/Checkbox.js +4 -4
  50. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  51. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  52. package/lib/components/Container/Container.js +2 -2
  53. package/lib/components/CustomImage/CustomImage.js +12 -12
  54. package/lib/components/Explore/Explore.js +5 -5
  55. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  56. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +23 -23
  57. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  58. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  59. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  60. package/lib/components/Footer/Footer.js +2 -2
  61. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  62. package/lib/components/Gallery/Gallery.context.js +17 -17
  63. package/lib/components/Gallery/Gallery.js +9 -9
  64. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  65. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  66. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  67. package/lib/components/GridGallery/GridGallery.js +8 -8
  68. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  69. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  70. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  71. package/lib/components/Header/AccountMenu/AccountMenu.js +19 -19
  72. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  73. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  74. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  75. package/lib/components/Header/Header.js +34 -34
  76. package/lib/components/Header/IsolatedHeader.js +7 -7
  77. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  78. package/lib/components/Header/MobileLinksModal/MobileMenu.js +3 -3
  79. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  80. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  81. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  82. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +6 -6
  83. package/lib/components/Header/Overlay/Overlay.js +3 -3
  84. package/lib/components/Header/ProHeader/ProHeader.js +35 -35
  85. package/lib/components/Hero/Hero.js +5 -5
  86. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  87. package/lib/components/ImageCarousel/ImageCarousel.js +29 -29
  88. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  89. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  90. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  91. package/lib/components/LandingPage/LandingPage.js +2 -2
  92. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  93. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  94. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  95. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  96. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  97. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  98. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  99. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  100. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  101. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  102. package/lib/components/MicrositeHeader/MicrositeHeader.js +4 -4
  103. package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js +4 -4
  104. package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.js +13 -13
  105. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.js +2 -2
  106. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.js +15 -15
  107. package/lib/components/MicrositeHeader/components/VisualTopology/LinePaths.js +3 -3
  108. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.js +9 -9
  109. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  110. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  111. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  112. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  113. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  114. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  115. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +13 -13
  116. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  117. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  118. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  119. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  120. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  121. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  122. package/lib/components/MobileModal/MobileModal.js +4 -4
  123. package/lib/components/Modal/Modal.js +3 -3
  124. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  125. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  126. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  127. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  128. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  129. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  130. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  131. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  132. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  133. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  134. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  135. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  136. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  137. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  138. package/lib/components/ModelCompareV4/CompareTable/CompareTable.js +8 -8
  139. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup.js +14 -14
  140. package/lib/components/ModelCompareV4/CompareTable/CompareTableOverflowScrollButton.js +3 -3
  141. package/lib/components/ModelCompareV4/CompareTable/PropertyValueGridItem.js +2 -2
  142. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/ScrollGroup.js +5 -5
  143. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/context.js +3 -3
  144. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/useScrollGroupItem.js +8 -8
  145. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  146. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/useScrollGroupTo.js +2 -2
  147. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGrid.js +7 -7
  148. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGridBody.js +2 -2
  149. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGridHeader.js +5 -5
  150. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGridItem.js +2 -2
  151. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/context.js +3 -3
  152. package/lib/components/ModelCompareV4/ModelCompareV4.js +5 -5
  153. package/lib/components/ModelCompareV4/ProductList/ProductList.js +11 -11
  154. package/lib/components/Pagination/Pagination.js +3 -3
  155. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  156. package/lib/components/ProductCard/ProductCard.js +7 -7
  157. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  158. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  159. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  160. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  161. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  162. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  163. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  164. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +79 -0
  165. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  166. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -0
  167. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  168. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
  169. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
  170. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +80 -0
  171. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  172. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +66 -0
  173. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  174. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
  175. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  176. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  177. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  178. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  179. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  180. package/lib/components/ProductWizard/Options/Options.js +3 -3
  181. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  182. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  183. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  184. package/lib/components/QuantityControls/QuantityControls.js +4 -4
  185. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  186. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  187. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  188. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +5 -5
  189. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  190. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
  191. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  192. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
  193. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  194. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  195. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  196. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
  197. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  198. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  199. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  200. package/lib/components/ScrollWrapper/ScrollWrapper.js +17 -17
  201. package/lib/components/Search/Input/Input.js +4 -4
  202. package/lib/components/Search/Modal/Modal.js +3 -3
  203. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  204. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  205. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  206. package/lib/components/TogglableStaticCompareTables/TogglableStaticCompareTable.js +8 -8
  207. package/lib/components/Tooltip/Tooltip.js +5 -5
  208. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  209. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  210. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  211. package/lib/components/VideoPlayerNew/VideoPlayer.js +21 -21
  212. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
  213. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  214. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  215. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  216. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  217. package/lib/components/index.d.ts +1 -0
  218. package/lib/components/index.js +2 -0
  219. package/lib/components/index.js.map +1 -1
  220. package/lib/components/index.mjs +2 -0
  221. package/lib/components/index.mjs.map +1 -1
  222. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  223. package/lib/constants/icons/options/colors/index.js +3 -3
  224. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  225. package/lib/constants/icons/options/styles/index.js +3 -3
  226. package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge-xg.jpg.js +1 -1
  227. package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge-xg.jpg.mjs +2 -2
  228. package/lib/constants/modelCompareData/assets/Bullet/ai-bullet.jpg.js +1 -1
  229. package/lib/constants/modelCompareData/assets/Bullet/ai-bullet.jpg.mjs +2 -2
  230. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.js +1 -1
  231. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.mjs +2 -2
  232. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.js +1 -1
  233. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.mjs +2 -2
  234. package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.js +1 -1
  235. package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.mjs +2 -2
  236. package/lib/constants/modelCompareData/assets/Compact/g5-flex.jpg.js +1 -1
  237. package/lib/constants/modelCompareData/assets/Compact/g5-flex.jpg.mjs +2 -2
  238. package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.js +1 -1
  239. package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.mjs +2 -2
  240. package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.js +1 -1
  241. package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.mjs +2 -2
  242. package/lib/constants/modelCompareData/assets/DomeTurret/g5-turret-ultra.jpg.js +1 -1
  243. package/lib/constants/modelCompareData/assets/DomeTurret/g5-turret-ultra.jpg.mjs +2 -2
  244. package/lib/constants/modelCompareData/assets/DoorAccess/intercom.jpg.js +1 -1
  245. package/lib/constants/modelCompareData/assets/DoorAccess/intercom.jpg.mjs +2 -2
  246. package/lib/constants/modelCompareData/assets/PTZ/g5-ptz.jpg.js +1 -1
  247. package/lib/constants/modelCompareData/assets/PTZ/g5-ptz.jpg.mjs +2 -2
  248. package/lib/constants/modelCompareData/assets/Switching/flex.jpg.js +1 -1
  249. package/lib/constants/modelCompareData/assets/Switching/flex.jpg.mjs +2 -2
  250. package/lib/constants/modelCompareData/assets/Switching/industrial.jpg.js +1 -1
  251. package/lib/constants/modelCompareData/assets/Switching/industrial.jpg.mjs +2 -2
  252. package/lib/constants/modelCompareData/assets/WiFi/e7-audience.jpg.js +1 -1
  253. package/lib/constants/modelCompareData/assets/WiFi/e7-audience.jpg.mjs +2 -2
  254. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-bullet.jpg.js +1 -1
  255. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-bullet.jpg.mjs +2 -2
  256. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.js +1 -1
  257. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.mjs +2 -2
  258. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.js +1 -1
  259. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.mjs +2 -2
  260. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.js +1 -1
  261. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.mjs +2 -2
  262. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g5-flex.jpg.js +1 -1
  263. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g5-flex.jpg.mjs +2 -2
  264. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.js +1 -1
  265. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.mjs +2 -2
  266. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.js +1 -1
  267. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.mjs +2 -2
  268. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-turret-ultra.jpg.js +1 -1
  269. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-turret-ultra.jpg.mjs +2 -2
  270. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/intercom.jpg.js +1 -1
  271. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/intercom.jpg.mjs +2 -2
  272. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g5-ptz.jpg.js +1 -1
  273. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g5-ptz.jpg.mjs +2 -2
  274. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/flex.jpg.js +1 -1
  275. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/flex.jpg.mjs +2 -2
  276. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/industrial.jpg.js +1 -1
  277. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/industrial.jpg.mjs +2 -2
  278. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge-xg.jpg.js +1 -1
  279. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge-xg.jpg.mjs +2 -2
  280. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/mega-capacity/e7-audience.jpg.js +1 -1
  281. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/mega-capacity/e7-audience.jpg.mjs +2 -2
  282. package/lib/constants/modelCompareData/data/products/ai360.js +2 -2
  283. package/lib/constants/modelCompareData/data/products/ai360.mjs +2 -2
  284. package/lib/constants/modelCompareData/data/products/aiBullet.js +2 -2
  285. package/lib/constants/modelCompareData/data/products/aiBullet.mjs +2 -2
  286. package/lib/constants/modelCompareData/data/products/aiDslr.js +2 -2
  287. package/lib/constants/modelCompareData/data/products/aiDslr.mjs +2 -2
  288. package/lib/constants/modelCompareData/data/products/buildingBridgeXG.js +2 -2
  289. package/lib/constants/modelCompareData/data/products/buildingBridgeXG.mjs +2 -2
  290. package/lib/constants/modelCompareData/data/products/flex.js +2 -2
  291. package/lib/constants/modelCompareData/data/products/flex.mjs +2 -2
  292. package/lib/constants/modelCompareData/data/products/g4Instant.js +2 -2
  293. package/lib/constants/modelCompareData/data/products/g4Instant.mjs +2 -2
  294. package/lib/constants/modelCompareData/data/products/g5Bullet.js +2 -2
  295. package/lib/constants/modelCompareData/data/products/g5Bullet.mjs +2 -2
  296. package/lib/constants/modelCompareData/data/products/g5Dome.js +2 -2
  297. package/lib/constants/modelCompareData/data/products/g5Dome.mjs +2 -2
  298. package/lib/constants/modelCompareData/data/products/g5Flex.js +2 -2
  299. package/lib/constants/modelCompareData/data/products/g5Flex.mjs +2 -2
  300. package/lib/constants/modelCompareData/data/products/g5Ptz.js +2 -2
  301. package/lib/constants/modelCompareData/data/products/g5Ptz.mjs +2 -2
  302. package/lib/constants/modelCompareData/data/products/g5TurretUltra.js +2 -2
  303. package/lib/constants/modelCompareData/data/products/g5TurretUltra.mjs +2 -2
  304. package/lib/constants/modelCompareData/data/products/industrial.js +2 -2
  305. package/lib/constants/modelCompareData/data/products/industrial.mjs +2 -2
  306. package/lib/constants/modelCompareData/data/products/intercom.js +2 -2
  307. package/lib/constants/modelCompareData/data/products/intercom.mjs +2 -2
  308. package/lib/constants/modelCompareData/data/products/shared-product-data/e7Audience.js +2 -2
  309. package/lib/constants/modelCompareData/data/products/shared-product-data/e7Audience.mjs +2 -2
  310. package/lib/constants/optionIcons.js +6 -6
  311. package/lib/constants/optionIcons.mjs +4 -4
  312. package/lib/contexts/MenuContext/context.js +35 -35
  313. package/lib/contexts/MicrositeMenuContext/context.js +9 -9
  314. package/lib/helpers/proStoreCategories.js +2 -2
  315. package/lib/hooks/useHasTouch.js +3 -3
  316. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  317. package/lib/hooks/useHorizontalScroll.js +2 -2
  318. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  319. package/lib/hooks/useScrollToY.js +2 -2
  320. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  321. package/lib/hooks/useTranslation.js +6 -6
  322. package/lib/utils/nextjs/ssr/registry.js +2 -2
  323. 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
  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, {
@@ -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('../Search/index.js');
@@ -21,7 +21,7 @@ const LandingPageSearch = ({
21
21
  const handleInputValueChange = e => {
22
22
  search?.onSearch(e.target.value);
23
23
  };
24
- const handleOnClose = react.useCallback(e => {
24
+ const handleOnClose = React.useCallback(e => {
25
25
  if (e?.ctrlKey || e?.metaKey) {
26
26
  return;
27
27
  }
@@ -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('../../../utils/money/index.js');
7
7
  require('../../CustomImage/index.js');
@@ -26,13 +26,13 @@ const SearchModal = function SearchModal2({
26
26
  renderImage,
27
27
  disableShowMoreResults
28
28
  }) {
29
- const ref = react.useRef(null);
30
- const noResults = react.useMemo(() => !search.loading && !search.items?.length && !!formattedQuerySearchTerm, [formattedQuerySearchTerm, search.items?.length, search.loading]);
31
- const showSearchResultsLink = react.useMemo(() => !disableShowMoreResults && search.totalItemsCount > MAX_SEARCH_RESULTS, [search, disableShowMoreResults]);
29
+ const ref = React.useRef(null);
30
+ const noResults = React.useMemo(() => !search.loading && !search.items?.length && !!formattedQuerySearchTerm, [formattedQuerySearchTerm, search.items?.length, search.loading]);
31
+ const showSearchResultsLink = React.useMemo(() => !disableShowMoreResults && search.totalItemsCount > MAX_SEARCH_RESULTS, [search, disableShowMoreResults]);
32
32
  reactUse.useClickAway(ref, () => {
33
33
  onClose?.();
34
34
  });
35
- const searchItemsSliced = react.useMemo(() => {
35
+ const searchItemsSliced = React.useMemo(() => {
36
36
  return search.items.slice(0, MAX_SEARCH_RESULTS);
37
37
  }, [search.items]);
38
38
  return /* @__PURE__ */jsxRuntime.jsxs(Modal_styles.Container, {
@@ -80,16 +80,16 @@ const SearchModalItem = function SearchModalItem2({
80
80
  renderImage,
81
81
  renderSeparationBorder
82
82
  }) {
83
- const handleButtonClick = react.useCallback(() => {
83
+ const handleButtonClick = React.useCallback(() => {
84
84
  onAddToCart(slug);
85
85
  }, [onAddToCart, slug]);
86
- const isInStock = react.useMemo(() => {
86
+ const isInStock = React.useMemo(() => {
87
87
  return !!variants?.find(variant => variant.isInStock);
88
88
  }, [variants]);
89
- const isComingSoon = react.useMemo(() => {
89
+ const isComingSoon = React.useMemo(() => {
90
90
  return !isInStock && !!variants?.find(variant => variant.isComingSoon);
91
91
  }, [isInStock, variants]);
92
- const addToCartButtonText = react.useMemo(() => {
92
+ const addToCartButtonText = React.useMemo(() => {
93
93
  if (isComingSoon) {
94
94
  return translations.view;
95
95
  }
@@ -3,7 +3,7 @@
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var Checkbox = require('@ubnt/ui-components/Checkbox');
5
5
  var Radio = require('@ubnt/ui-components/Radio');
6
- var react = require('react');
6
+ var React = require('react');
7
7
  var reactUse = require('react-use');
8
8
  require('../../assets/icons/previouslyPurchasedStar.svg.js');
9
9
  require('../../constants/icons/index.js');
@@ -44,11 +44,11 @@ const LandingPageSidebar = function LandingPageSidebar2({
44
44
  productTypeProps,
45
45
  isCartSummaryOpen
46
46
  }) {
47
- const [isMobileOverlayOpened, setIsMobileOverlayOpened] = react.useState(false);
47
+ const [isMobileOverlayOpened, setIsMobileOverlayOpened] = React.useState(false);
48
48
  const isMobile = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
49
- const [hasFiltersChanged, setHasFiltersChanged] = react.useState(false);
49
+ const [hasFiltersChanged, setHasFiltersChanged] = React.useState(false);
50
50
  useLockBodyScrollCustom.useLockBodyScrollCustom(isMobile && isMobileOverlayOpened);
51
- const filtersChange = react.useCallback(value => {
51
+ const filtersChange = React.useCallback(value => {
52
52
  setHasFiltersChanged(true);
53
53
  filtersBlock?.onChange(value);
54
54
  }, [filtersBlock]);
@@ -108,17 +108,17 @@ const CategoriesBlock = function CategoriesBlock2({
108
108
  isSearchUsed,
109
109
  productCount
110
110
  }) {
111
- const getInitialIndex = react.useCallback(() => {
111
+ const getInitialIndex = React.useCallback(() => {
112
112
  return categories.findIndex(category => {
113
113
  return category.items.some(item => categoriesBlock?.activeCategory === item.slug);
114
114
  });
115
115
  }, [categories, categoriesBlock?.activeCategory]);
116
- const [initialAccordionIndex, setInitialAccordionIndex] = react.useState(getInitialIndex());
117
- const categoryChange = react.useCallback(value => {
116
+ const [initialAccordionIndex, setInitialAccordionIndex] = React.useState(getInitialIndex());
117
+ const categoryChange = React.useCallback(value => {
118
118
  setFilersChanged(true);
119
119
  categoriesBlock?.onChange(value);
120
120
  }, [categoriesBlock, setFilersChanged]);
121
- const accordionItems = react.useMemo(() => {
121
+ const accordionItems = React.useMemo(() => {
122
122
  return categories.filter(category => isSearchUsed || (category?.items.flatMap(item => item.products).length || 0) > 0).map(category => {
123
123
  const firstCategory = category.items[0];
124
124
  return {
@@ -141,7 +141,7 @@ const CategoriesBlock = function CategoriesBlock2({
141
141
  };
142
142
  });
143
143
  }, [categories, categoriesBlock?.activeCategory, categoryChange, isSearchUsed, translations]);
144
- const handleAccordionChange = react.useCallback(index => {
144
+ const handleAccordionChange = React.useCallback(index => {
145
145
  if (index > -1) {
146
146
  setInitialAccordionIndex(index);
147
147
  const currentCategoryID = accordionItems[index]?.id;
@@ -209,7 +209,7 @@ const FilterBlock = function FilterBlock2({
209
209
  translations,
210
210
  filtersBlock
211
211
  }) {
212
- const filtersList = react.useMemo(() => {
212
+ const filtersList = React.useMemo(() => {
213
213
  return [{
214
214
  title: translations.MSRPRange,
215
215
  id: "priceRange",
@@ -232,7 +232,7 @@ const FilterBlock = function FilterBlock2({
232
232
  type: "checkbox"
233
233
  }];
234
234
  }, [translations.MSRPRange, translations.earlyAccess, translations.inStock, translations.myPurchaseHistory]);
235
- const handleCheckboxChange = react.useCallback((value, checked) => {
235
+ const handleCheckboxChange = React.useCallback((value, checked) => {
236
236
  if (checked && !filtersBlock?.activeFilters.filters?.includes(value)) {
237
237
  const newData = {
238
238
  ...filtersBlock?.activeFilters,
@@ -247,7 +247,7 @@ const FilterBlock = function FilterBlock2({
247
247
  filtersBlock?.onChange(newData);
248
248
  }
249
249
  }, [filtersBlock]);
250
- const hasFilters = react.useMemo(() => {
250
+ const hasFilters = React.useMemo(() => {
251
251
  return !!filtersBlock?.activeFilters.filters?.length || filtersBlock?.activeFilters.priceFrom !== void 0 || filtersBlock?.activeFilters.priceTo !== void 0;
252
252
  }, [filtersBlock?.activeFilters.filters?.length, filtersBlock?.activeFilters.priceFrom, filtersBlock?.activeFilters.priceTo]);
253
253
  if (!filtersBlock) {
@@ -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/link.svg.js');
7
7
  require('../../contexts/MenuContext/index.js');
@@ -56,8 +56,8 @@ const LayoutRenderer = ({
56
56
  const {
57
57
  activeNavigationSection
58
58
  } = context.useMenu();
59
- const wrapRef = react.useRef(null);
60
- const images = react.useMemo(() => {
59
+ const wrapRef = React.useRef(null);
60
+ const images = React.useMemo(() => {
61
61
  if (currentProduct?.images?.length) {
62
62
  if (!currentProduct?.showGallery && currentProduct.images[0]) {
63
63
  return [currentProduct.images[0]];
@@ -72,10 +72,10 @@ const LayoutRenderer = ({
72
72
  const [galleryRef, {
73
73
  width: galleryWidth
74
74
  }] = reactUse.useMeasure();
75
- const galleryHeight = react.useMemo(() => {
75
+ const galleryHeight = React.useMemo(() => {
76
76
  return windowHeight - Header_styles.HEADER_HEIGHT - 80;
77
77
  }, [windowHeight]);
78
- const showTitle = react.useMemo(() =>
78
+ const showTitle = React.useMemo(() =>
79
79
  // If not pro-store
80
80
  !isProStore && (
81
81
  // If we have no collection
@@ -84,7 +84,7 @@ const LayoutRenderer = ({
84
84
  activeNavigationSection.items.every(item => !item.active) ||
85
85
  // If we have collection and there are active, invisible items
86
86
  activeNavigationSection.items.some(item => item.active && item.invisible)), [activeNavigationSection.items, collection, isProStore]);
87
- const photos = react.useMemo(() => {
87
+ const photos = React.useMemo(() => {
88
88
  return currentProduct?.deploymentImages?.map(asset => {
89
89
  return {
90
90
  ...asset,
@@ -93,8 +93,8 @@ const LayoutRenderer = ({
93
93
  };
94
94
  }) ?? [];
95
95
  }, [collection?.slug, currentProduct?.deploymentImages]);
96
- const [activeTab, setActiveTab] = react.useState();
97
- const closerLookSectionProps = react.useMemo(() => {
96
+ const [activeTab, setActiveTab] = React.useState();
97
+ const closerLookSectionProps = React.useMemo(() => {
98
98
  return {
99
99
  translations: translations.closerLookSection,
100
100
  renderImage,
@@ -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('../../../contexts/MenuContext/index.js');
6
6
  var MeetUniFiVideoPlayer_helpers = require('../MeetUniFiVideoPlayer.helpers.js');
7
7
  var EpisodeCard_styles = require('./EpisodeCard.styles.js');
@@ -16,20 +16,20 @@ const EpisodeCard = ({
16
16
  const {
17
17
  languageDirection
18
18
  } = context.useMenu();
19
- const videoRef = react.useRef(null);
20
- const [videoShouldPlay, setVideoShouldPlay] = react.useState(false);
21
- const [videoLoaded, setVideoLoaded] = react.useState(false);
22
- const handleMouseOver = react.useCallback(() => {
19
+ const videoRef = React.useRef(null);
20
+ const [videoShouldPlay, setVideoShouldPlay] = React.useState(false);
21
+ const [videoLoaded, setVideoLoaded] = React.useState(false);
22
+ const handleMouseOver = React.useCallback(() => {
23
23
  setVideoShouldPlay(true);
24
24
  videoRef.current?.play();
25
25
  onMouseOver?.();
26
26
  }, [onMouseOver]);
27
- const handleMouseOut = react.useCallback(() => {
27
+ const handleMouseOut = React.useCallback(() => {
28
28
  setVideoShouldPlay(false);
29
29
  videoRef.current?.pause();
30
30
  onMouseOut?.();
31
31
  }, [onMouseOut]);
32
- const handleOnClick = react.useCallback(() => {
32
+ const handleOnClick = React.useCallback(() => {
33
33
  onClick?.(episode.id);
34
34
  }, [episode.id, onClick]);
35
35
  return /* @__PURE__ */jsxRuntime.jsxs(EpisodeCard_styles.Container, {