@ubnt/store.core 9.29.0-alpha.1 → 9.29.0-alpha.10

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 (384) hide show
  1. package/CHANGELOG.md +43 -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.d.ts +18 -3
  7. package/lib/apis/smartcat.js +6 -6
  8. package/lib/apis/smartcat.js.map +1 -1
  9. package/lib/apis/smartcat.mjs +6 -6
  10. package/lib/apis/smartcat.mjs.map +1 -1
  11. package/lib/assets/attention.svg +5 -5
  12. package/lib/assets/attention2.svg +5 -5
  13. package/lib/assets/ucgMax.jpg +0 -0
  14. package/lib/assets/ucgMax2.jpg +0 -0
  15. package/lib/assets/ucgUltra.jpg +0 -0
  16. package/lib/assets/ucgUltra2.jpg +0 -0
  17. package/lib/assets/udmPro.jpg +0 -0
  18. package/lib/assets/udmPro2.jpg +0 -0
  19. package/lib/assets/udmProMax.jpg +0 -0
  20. package/lib/assets/udmProMax2.jpg +0 -0
  21. package/lib/assets/udmProSpecial.jpg +0 -0
  22. package/lib/assets/udmProSpecial2.jpg +0 -0
  23. package/lib/assets/unasDrive.svg +3 -0
  24. package/lib/components/Accordion/Accordion.js +4 -4
  25. package/lib/components/Avatar/Avatar.js +2 -2
  26. package/lib/components/Button/Button.js +5 -5
  27. package/lib/components/Button/CartButton.js +2 -2
  28. package/lib/components/CardSection/Card/Card.js +6 -6
  29. package/lib/components/CardSection/CardSection.js +2 -2
  30. package/lib/components/CartIcon/CartIcon.js +2 -2
  31. package/lib/components/Checkbox/Checkbox.js +4 -4
  32. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  33. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  34. package/lib/components/Container/Container.js +2 -2
  35. package/lib/components/CustomImage/CustomImage.js +12 -12
  36. package/lib/components/Explore/Explore.js +5 -5
  37. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  38. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +22 -22
  39. package/lib/components/Footer/Footer.js +2 -2
  40. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  41. package/lib/components/Gallery/Gallery.context.js +17 -17
  42. package/lib/components/Gallery/Gallery.js +9 -9
  43. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  44. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  45. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  46. package/lib/components/GridGallery/GridGallery.js +8 -8
  47. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  48. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  49. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  50. package/lib/components/Header/AccountMenu/AccountMenu.js +19 -19
  51. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  52. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  53. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  54. package/lib/components/Header/Header.js +34 -34
  55. package/lib/components/Header/IsolatedHeader.js +7 -7
  56. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  57. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  58. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  59. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  60. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +6 -6
  61. package/lib/components/Header/Overlay/Overlay.js +3 -3
  62. package/lib/components/Header/ProHeader/ProHeader.js +53 -50
  63. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  64. package/lib/components/Header/ProHeader/ProHeader.mjs +24 -21
  65. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  66. package/lib/components/Hero/Hero.js +5 -5
  67. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  68. package/lib/components/ImageCarousel/ImageCarousel.js +29 -29
  69. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  70. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  71. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  72. package/lib/components/LandingPage/LandingPage.js +2 -2
  73. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  74. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  75. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  76. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  77. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  78. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  79. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  80. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  81. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  82. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  83. package/lib/components/MicrositeHeader/MicrositeHeader.js +4 -4
  84. package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js +4 -4
  85. package/lib/components/MicrositeHeader/components/Navigation/Navigation.js +9 -9
  86. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  87. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  88. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  89. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  90. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  91. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  92. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
  93. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  94. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  95. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  96. package/lib/components/MobileModal/MobileModal.js +4 -4
  97. package/lib/components/Modal/Modal.js +3 -3
  98. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  99. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  100. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  101. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +3 -2
  102. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  103. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  104. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  105. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  106. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  107. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  108. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  109. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  110. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  111. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  112. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  113. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  114. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  115. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  116. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  117. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  118. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  119. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  120. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  121. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  122. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  123. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  124. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  125. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
  126. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  127. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  128. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  129. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  130. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  131. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  132. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  133. package/lib/components/ModelCompareV3/assets/XgsPon/{uispFiberOltXgs.jpg.js → fiberOltXgs.jpg.js} +2 -2
  134. package/lib/components/ModelCompareV3/assets/XgsPon/fiberOltXgs.jpg.js.map +1 -0
  135. package/lib/components/ModelCompareV3/assets/XgsPon/fiberOltXgs.jpg.mjs +3 -0
  136. package/lib/components/ModelCompareV3/assets/XgsPon/fiberOltXgs.jpg.mjs.map +1 -0
  137. package/lib/components/ModelCompareV3/data/BaseStation.js +3 -2
  138. package/lib/components/ModelCompareV3/data/BaseStation.js.map +1 -1
  139. package/lib/components/ModelCompareV3/data/BaseStation.mjs +3 -2
  140. package/lib/components/ModelCompareV3/data/BaseStation.mjs.map +1 -1
  141. package/lib/components/ModelCompareV3/data/CloudGateways.js +15 -15
  142. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +10 -10
  143. package/lib/components/ModelCompareV3/data/WaveMLO.js +3 -4
  144. package/lib/components/ModelCompareV3/data/WaveMLO.js.map +1 -1
  145. package/lib/components/ModelCompareV3/data/WaveMLO.mjs +3 -4
  146. package/lib/components/ModelCompareV3/data/WaveMLO.mjs.map +1 -1
  147. package/lib/components/ModelCompareV3/data/XgsPon.js +2 -2
  148. package/lib/components/ModelCompareV3/data/XgsPon.js.map +1 -1
  149. package/lib/components/ModelCompareV3/data/XgsPon.mjs +2 -2
  150. package/lib/components/ModelCompareV3/data/XgsPon.mjs.map +1 -1
  151. package/lib/components/ModelCompareV3/data/products/{uispFiberOltXgs.d.ts → fiberOltXgs.d.ts} +1 -1
  152. package/lib/components/ModelCompareV3/data/products/{uispFiberOltXgs.js → fiberOltXgs.js} +8 -8
  153. package/lib/components/ModelCompareV3/data/products/fiberOltXgs.js.map +1 -0
  154. package/lib/components/ModelCompareV3/data/products/{uispFiberOltXgs.mjs → fiberOltXgs.mjs} +8 -8
  155. package/lib/components/ModelCompareV3/data/products/fiberOltXgs.mjs.map +1 -0
  156. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  157. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  158. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
  159. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
  160. package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
  161. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
  162. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  163. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  164. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  165. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  166. package/lib/components/ModelCompareV3/data/products/waveAp.js +3 -3
  167. package/lib/components/ModelCompareV3/data/products/waveAp.js.map +1 -1
  168. package/lib/components/ModelCompareV3/data/products/waveAp.mjs +3 -3
  169. package/lib/components/ModelCompareV3/data/products/waveAp.mjs.map +1 -1
  170. package/lib/components/ModelCompareV3/data/products/waveApGen2.js +2 -2
  171. package/lib/components/ModelCompareV3/data/products/waveApGen2.js.map +1 -1
  172. package/lib/components/ModelCompareV3/data/products/waveApGen2.mjs +2 -2
  173. package/lib/components/ModelCompareV3/data/products/waveApGen2.mjs.map +1 -1
  174. package/lib/components/ModelCompareV3/data/products/waveApMicro.js +5 -5
  175. package/lib/components/ModelCompareV3/data/products/waveApMicro.js.map +1 -1
  176. package/lib/components/ModelCompareV3/data/products/waveApMicro.mjs +5 -5
  177. package/lib/components/ModelCompareV3/data/products/waveApMicro.mjs.map +1 -1
  178. package/lib/components/ModelCompareV3/data/products/waveFiberOlt.js +2 -13
  179. package/lib/components/ModelCompareV3/data/products/waveFiberOlt.js.map +1 -1
  180. package/lib/components/ModelCompareV3/data/products/waveFiberOlt.mjs +2 -13
  181. package/lib/components/ModelCompareV3/data/products/waveFiberOlt.mjs.map +1 -1
  182. package/lib/components/ModelCompareV3/data/products/waveFiberOnu.js +3 -4
  183. package/lib/components/ModelCompareV3/data/products/waveFiberOnu.js.map +1 -1
  184. package/lib/components/ModelCompareV3/data/products/waveFiberOnu.mjs +3 -4
  185. package/lib/components/ModelCompareV3/data/products/waveFiberOnu.mjs.map +1 -1
  186. package/lib/components/ModelCompareV3/data/products/waveMLO5.js +4 -12
  187. package/lib/components/ModelCompareV3/data/products/waveMLO5.js.map +1 -1
  188. package/lib/components/ModelCompareV3/data/products/waveMLO5.mjs +4 -12
  189. package/lib/components/ModelCompareV3/data/products/waveMLO5.mjs.map +1 -1
  190. package/lib/components/ModelCompareV3/data/products/waveMLO6.js +5 -11
  191. package/lib/components/ModelCompareV3/data/products/waveMLO6.js.map +1 -1
  192. package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs +5 -11
  193. package/lib/components/ModelCompareV3/data/products/waveMLO6.mjs.map +1 -1
  194. package/lib/components/ModelCompareV3/data/properties/index.d.ts +2 -1
  195. package/lib/components/ModelCompareV3/data/properties/index.js +4 -2
  196. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  197. package/lib/components/ModelCompareV3/data/properties/index.mjs +2 -1
  198. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  199. package/lib/components/ModelCompareV3/data/properties/{bandwidthPuncturing.d.ts → linkPuncturing.d.ts} +1 -1
  200. package/lib/components/ModelCompareV3/data/properties/{bandwidthPuncturing.js → linkPuncturing.js} +5 -5
  201. package/lib/components/ModelCompareV3/data/properties/linkPuncturing.js.map +1 -0
  202. package/lib/components/ModelCompareV3/data/properties/linkPuncturing.mjs +10 -0
  203. package/lib/components/ModelCompareV3/data/properties/linkPuncturing.mjs.map +1 -0
  204. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.d.ts +2 -0
  205. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.js +18 -0
  206. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.js.map +1 -0
  207. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.mjs +10 -0
  208. package/lib/components/ModelCompareV3/data/properties/maxTotalThroughput.mjs.map +1 -0
  209. package/lib/components/ModelCompareV3/translations/en.json.js +11 -11
  210. package/lib/components/ModelCompareV3/translations/en.json.mjs +11 -11
  211. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  212. package/lib/components/Pagination/Pagination.js +3 -3
  213. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  214. package/lib/components/ProductCard/ProductCard.js +8 -8
  215. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  216. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  217. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  218. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  219. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  220. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  221. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  222. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +84 -0
  223. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  224. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +76 -0
  225. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  226. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +12 -0
  227. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +82 -0
  228. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  229. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +68 -0
  230. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  231. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +17 -0
  232. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  233. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  234. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  235. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  236. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  237. package/lib/components/ProductWizard/Options/Options.js +3 -3
  238. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  239. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  240. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  241. package/lib/components/QuantityControls/QuantityControls.js +4 -4
  242. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  243. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  244. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  245. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +6 -6
  246. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  247. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  248. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
  249. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  250. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  251. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  252. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +8 -8
  253. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  254. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  255. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  256. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  257. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  258. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  259. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
  260. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  261. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  262. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  263. package/lib/components/ScrollWrapper/ScrollWrapper.js +17 -17
  264. package/lib/components/Search/Input/Input.js +4 -4
  265. package/lib/components/Search/Modal/Modal.js +3 -3
  266. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  267. package/lib/components/StorageSliders/StorageSliders.context.js +19 -19
  268. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  269. package/lib/components/Tooltip/Tooltip.js +5 -5
  270. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  271. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  272. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  273. package/lib/components/VideoPlayerNew/VideoPlayer.js +19 -19
  274. package/lib/components/index.d.ts +1 -0
  275. package/lib/components/index.js +2 -0
  276. package/lib/components/index.js.map +1 -1
  277. package/lib/components/index.mjs +2 -0
  278. package/lib/components/index.mjs.map +1 -1
  279. package/lib/constants/icons/menu/index.d.ts +1 -0
  280. package/lib/constants/icons/menu/index.js +9 -0
  281. package/lib/constants/icons/menu/index.js.map +1 -1
  282. package/lib/constants/icons/menu/index.mjs +2 -0
  283. package/lib/constants/icons/menu/index.mjs.map +1 -1
  284. package/lib/constants/icons/menu/unasDrive.svg.js +27 -0
  285. package/lib/constants/icons/menu/unasDrive.svg.js.map +1 -0
  286. package/lib/constants/icons/menu/unasDrive.svg.mjs +3 -0
  287. package/lib/constants/icons/menu/unasDrive.svg.mjs.map +1 -0
  288. package/lib/constants/proStoreCategories/mapping/filters.d.ts +15 -0
  289. package/lib/constants/proStoreCategories/mapping/filters.js +15 -0
  290. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  291. package/lib/constants/proStoreCategories/mapping/filters.mjs +15 -0
  292. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  293. package/lib/constants/proStoreCategories/mapping/index.d.ts +1 -1
  294. package/lib/constants/proStoreCategories/mapping/index.js +32 -34
  295. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  296. package/lib/constants/proStoreCategories/mapping/index.mjs +32 -34
  297. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  298. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +4 -0
  299. package/lib/constants/proStoreCategories/mapping/redirects.js +9 -1
  300. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  301. package/lib/constants/proStoreCategories/mapping/redirects.mjs +9 -1
  302. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  303. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +2 -4
  304. package/lib/constants/proStoreCategories/mapping/unifi.js +2 -4
  305. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  306. package/lib/constants/proStoreCategories/mapping/unifi.mjs +2 -4
  307. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  308. package/lib/constants/proStoreCategories/translations/ar.json.js +2 -1
  309. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  310. package/lib/constants/proStoreCategories/translations/ar.json.mjs +2 -1
  311. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  312. package/lib/constants/proStoreCategories/translations/de.json.js +2 -1
  313. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  314. package/lib/constants/proStoreCategories/translations/de.json.mjs +2 -1
  315. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  316. package/lib/constants/proStoreCategories/translations/el.json.js +2 -1
  317. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  318. package/lib/constants/proStoreCategories/translations/el.json.mjs +2 -1
  319. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  320. package/lib/constants/proStoreCategories/translations/en.json.js +1 -3
  321. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  322. package/lib/constants/proStoreCategories/translations/en.json.mjs +2 -3
  323. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  324. package/lib/constants/proStoreCategories/translations/es.json.js +2 -1
  325. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  326. package/lib/constants/proStoreCategories/translations/es.json.mjs +2 -1
  327. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  328. package/lib/constants/proStoreCategories/translations/fr.json.js +2 -1
  329. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  330. package/lib/constants/proStoreCategories/translations/fr.json.mjs +2 -1
  331. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  332. package/lib/constants/proStoreCategories/translations/it.json.js +2 -1
  333. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  334. package/lib/constants/proStoreCategories/translations/it.json.mjs +2 -1
  335. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  336. package/lib/constants/proStoreCategories/translations/ja.json.js +2 -1
  337. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  338. package/lib/constants/proStoreCategories/translations/ja.json.mjs +2 -1
  339. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  340. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +2 -1
  341. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  342. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +2 -1
  343. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  344. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +2 -1
  345. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  346. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +2 -1
  347. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  348. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +2 -1
  349. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  350. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +2 -1
  351. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  352. package/lib/constants/proStoreFilters/mapping.d.ts +39 -3
  353. package/lib/constants/proStoreFilters/mapping.js +104 -6
  354. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  355. package/lib/constants/proStoreFilters/mapping.mjs +104 -6
  356. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  357. package/lib/contexts/MenuContext/context.js +32 -32
  358. package/lib/contexts/MenuContext/mapping.js +12 -0
  359. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  360. package/lib/contexts/MenuContext/mapping.mjs +11 -0
  361. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  362. package/lib/contexts/MicrositeMenuContext/context.js +9 -9
  363. package/lib/helpers/proStoreCategories.js +2 -2
  364. package/lib/hooks/useHasTouch.js +3 -3
  365. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  366. package/lib/hooks/useHorizontalScroll.js +2 -2
  367. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  368. package/lib/hooks/useScrollToY.js +2 -2
  369. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  370. package/lib/hooks/useTranslation.js +6 -6
  371. package/lib/utils/address.js +1 -1
  372. package/lib/utils/address.js.map +1 -1
  373. package/lib/utils/address.mjs +1 -1
  374. package/lib/utils/address.mjs.map +1 -1
  375. package/package.json +1 -1
  376. package/lib/components/ModelCompareV3/assets/XgsPon/uispFiberOltXgs.jpg.js.map +0 -1
  377. package/lib/components/ModelCompareV3/assets/XgsPon/uispFiberOltXgs.jpg.mjs +0 -3
  378. package/lib/components/ModelCompareV3/assets/XgsPon/uispFiberOltXgs.jpg.mjs.map +0 -1
  379. package/lib/components/ModelCompareV3/data/products/uispFiberOltXgs.js.map +0 -1
  380. package/lib/components/ModelCompareV3/data/products/uispFiberOltXgs.mjs.map +0 -1
  381. package/lib/components/ModelCompareV3/data/properties/bandwidthPuncturing.js.map +0 -1
  382. package/lib/components/ModelCompareV3/data/properties/bandwidthPuncturing.mjs +0 -10
  383. package/lib/components/ModelCompareV3/data/properties/bandwidthPuncturing.mjs.map +0 -1
  384. /package/lib/assets/{uispFiberOltXgs.jpg → fiberOltXgs.jpg} +0 -0
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactDom = require('react-dom');
6
6
  var reactUse = require('react-use');
7
7
  require('../../assets/icons/fallbackImage.svg.js');
@@ -71,19 +71,19 @@ const CustomImage = function CustomImage2({
71
71
  canFullscreen,
72
72
  onFullscreenChange
73
73
  }) {
74
- const [loading, setLoading] = react.useState(
74
+ const [loading, setLoading] = React.useState(
75
75
  // Set as loading by default, handle not loading in the effect
76
76
  true);
77
- const [error, setError] = react.useState(false);
78
- const [isFullscreen, setFullscreen] = react.useState(false);
77
+ const [error, setError] = React.useState(false);
78
+ const [isFullscreen, setFullscreen] = React.useState(false);
79
79
  reactUse.useLockBodyScroll(isFullscreen);
80
- react.useEffect(() => {
80
+ React.useEffect(() => {
81
81
  if (canFullscreen && onFullscreenChange) {
82
82
  onFullscreenChange(isFullscreen);
83
83
  }
84
84
  }, [canFullscreen, isFullscreen, onFullscreenChange]);
85
- const wrapRef = react.useRef(null);
86
- react.useEffect(() => {
85
+ const wrapRef = React.useRef(null);
86
+ React.useEffect(() => {
87
87
  if (!wrapRef.current) return;
88
88
  const imageEl = wrapRef.current.querySelector("img");
89
89
  if (!imageEl) return;
@@ -91,25 +91,25 @@ const CustomImage = function CustomImage2({
91
91
  setLoading(loadingInitial);
92
92
  setError(false);
93
93
  }, []);
94
- const handleOnError = react.useCallback(() => {
94
+ const handleOnError = React.useCallback(() => {
95
95
  setError(true);
96
96
  }, []);
97
- const handleOnLoadingComplete = react.useCallback(() => {
97
+ const handleOnLoadingComplete = React.useCallback(() => {
98
98
  setLoading(false);
99
99
  setError(false);
100
100
  }, []);
101
- const handleOnLoadComplete = react.useCallback(event => {
101
+ const handleOnLoadComplete = React.useCallback(event => {
102
102
  if (!event?.currentTarget?.src || event.currentTarget.src === asset2?.src) {
103
103
  setLoading(false);
104
104
  setError(false);
105
105
  }
106
106
  }, [asset2?.src]);
107
- const handleFullscreenClick = react.useCallback(() => {
107
+ const handleFullscreenClick = React.useCallback(() => {
108
108
  if (canFullscreen && asset2 && !error && !loading && !isFullscreen) {
109
109
  setFullscreen(true);
110
110
  }
111
111
  }, [asset2, canFullscreen, error, isFullscreen, loading]);
112
- react.useEffect(() => {
112
+ React.useEffect(() => {
113
113
  if (!canFullscreen) {
114
114
  return;
115
115
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var Tooltip = require('@ubnt/ui-components/Tooltip');
5
- var react = require('react');
5
+ var React = require('react');
6
6
  var reactUse = require('react-use');
7
7
  var styled = require('styled-components');
8
8
  var layout = require('../../constants/layout.js');
@@ -78,7 +78,7 @@ const ExploreProduct = ({
78
78
  }).then(res => res.default)
79
79
  }
80
80
  });
81
- const wide = react.useMemo(() => {
81
+ const wide = React.useMemo(() => {
82
82
  const features = section.product.featureValues;
83
83
  switch (features.length) {
84
84
  case 1:
@@ -96,20 +96,20 @@ const ExploreProduct = ({
96
96
  return false;
97
97
  }
98
98
  }, [section.product.featureValues]);
99
- const storePath = react.useMemo(() => {
99
+ const storePath = React.useMemo(() => {
100
100
  if (typeof section.product.storePath === "function") {
101
101
  return storeId ? section.product.storePath(storeId) : void 0;
102
102
  }
103
103
  return section.product.storePath;
104
104
  }, [section.product, storeId]);
105
- const image = react.useMemo(() => {
105
+ const image = React.useMemo(() => {
106
106
  const base = section.product.image;
107
107
  if (isMobile) {
108
108
  return section.product.mobileImage ?? base;
109
109
  }
110
110
  return base;
111
111
  }, [isMobile, section.product.image, section.product.mobileImage]);
112
- const button = react.useMemo(() => {
112
+ const button = React.useMemo(() => {
113
113
  if (section.product.isComingSoon) {
114
114
  return /* @__PURE__ */jsxRuntime.jsxs(Explore_styles.ComingSoonButtonWrap, {
115
115
  children: [/* @__PURE__ */jsxRuntime.jsx(Explore_styles.ComingSoonButton, {
@@ -1,14 +1,14 @@
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('../../StyleableSvgImage/index.js');
6
6
  require('../AllFeaturesButton/index.js');
7
7
  var Features_styles = require('./Features.styles.js');
8
8
  var StyleableSvgImage = require('../../StyleableSvgImage/StyleableSvgImage.js');
9
9
  var AllFeaturesButton = require('../AllFeaturesButton/AllFeaturesButton.js');
10
10
  "use strict";
11
- const Features = react.forwardRef(function Features2({
11
+ const Features = React.forwardRef(function Features2({
12
12
  className,
13
13
  items,
14
14
  type,
@@ -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('../../hooks/index.js');
@@ -50,25 +50,25 @@ const FeaturesSection = ({
50
50
  overlay
51
51
  }) => {
52
52
  const isMobile = reactUse.useMedia(layout.BREAKPOINTS.MOBILE_AND_DOWN, false);
53
- const animFrameRef = react.useRef(0);
54
- const cacheRef = react.useRef({
53
+ const animFrameRef = React.useRef(0);
54
+ const cacheRef = React.useRef({
55
55
  isInFullView: false,
56
56
  motif: null,
57
57
  currentIndex: null
58
58
  });
59
- const sectionRef = react.useRef(null);
60
- const metaWrapRef = react.useRef(null);
61
- const featuresWrapRef = react.useRef(null);
62
- const featuresRef = react.useRef(null);
63
- const videosWrapRef = react.useRef(null);
64
- const videoRefs = react.useRef([]);
65
- const featuresType = react.useMemo(() => {
59
+ const sectionRef = React.useRef(null);
60
+ const metaWrapRef = React.useRef(null);
61
+ const featuresWrapRef = React.useRef(null);
62
+ const featuresRef = React.useRef(null);
63
+ const videosWrapRef = React.useRef(null);
64
+ const videoRefs = React.useRef([]);
65
+ const featuresType = React.useMemo(() => {
66
66
  if (featuresTypeInitial === "vertical" && isMobile) {
67
67
  return "horizontal";
68
68
  }
69
69
  return featuresTypeInitial;
70
70
  }, [featuresTypeInitial, isMobile]);
71
- const segments = react.useMemo(() => {
71
+ const segments = React.useMemo(() => {
72
72
  return segmentsRaw.map((segmentRaw, i) => {
73
73
  const duration2 = segmentRaw.video.duration;
74
74
  const from = (() => {
@@ -90,13 +90,13 @@ const FeaturesSection = ({
90
90
  };
91
91
  });
92
92
  }, [segmentsRaw]);
93
- const featureItems = react.useMemo(() => {
93
+ const featureItems = React.useMemo(() => {
94
94
  return segments.map(item => item.feature, []);
95
95
  }, [segments]);
96
- const duration = react.useMemo(() => {
96
+ const duration = React.useMemo(() => {
97
97
  return segments.reduce((total, item) => total + item.duration, 0);
98
98
  }, [segments]);
99
- const getCurrentTimeSegment = react.useCallback(currentTime => {
99
+ const getCurrentTimeSegment = React.useCallback(currentTime => {
100
100
  let index = 0;
101
101
  if (currentTime === 0) {
102
102
  index = 0;
@@ -107,7 +107,7 @@ const FeaturesSection = ({
107
107
  }
108
108
  return [segments[index], index];
109
109
  }, [duration, segments]);
110
- const getFeatureElSize = react.useCallback(index => {
110
+ const getFeatureElSize = React.useCallback(index => {
111
111
  const featuresEl = featuresRef.current;
112
112
  if (!featuresEl) {
113
113
  return 0;
@@ -115,7 +115,7 @@ const FeaturesSection = ({
115
115
  const featureEl = featuresEl.children[index];
116
116
  return featureEl?.[featuresType === "vertical" ? "offsetHeight" : "offsetWidth"] ?? 0;
117
117
  }, [featuresType]);
118
- const getFeatureTransformRanges = react.useCallback(featuresSize => {
118
+ const getFeatureTransformRanges = React.useCallback(featuresSize => {
119
119
  const ranges = [];
120
120
  for (const [i, currentSegment] of segments.entries()) {
121
121
  const isFirst = i === 0;
@@ -134,9 +134,9 @@ const FeaturesSection = ({
134
134
  }
135
135
  return ranges;
136
136
  }, [duration, getFeatureElSize, segments]);
137
- const [activeSegment, setActiveSegment] = react.useState(segments[0]);
138
- const [activeMotif, setActiveMotif] = react.useState();
139
- const draw = react.useCallback(() => {
137
+ const [activeSegment, setActiveSegment] = React.useState(segments[0]);
138
+ const [activeMotif, setActiveMotif] = React.useState();
139
+ const draw = React.useCallback(() => {
140
140
  const reDraw = () => {
141
141
  animFrameRef.current = window.requestAnimationFrame(draw);
142
142
  };
@@ -276,7 +276,7 @@ const FeaturesSection = ({
276
276
  }
277
277
  reDraw();
278
278
  }, [duration, playback, startEarly, startEarlyFactor, getCurrentTimeSegment, floatInVideo, segments, featuresType, onExitAbove, onExitBelow, getFeatureTransformRanges]);
279
- react.useEffect(() => {
279
+ React.useEffect(() => {
280
280
  if (segments.length) {
281
281
  animFrameRef.current = window.requestAnimationFrame(draw);
282
282
  } else {
@@ -286,7 +286,7 @@ const FeaturesSection = ({
286
286
  window.cancelAnimationFrame(animFrameRef.current);
287
287
  };
288
288
  }, [draw, segments.length]);
289
- react.useEffect(() => {
289
+ React.useEffect(() => {
290
290
  if (activeMotif) {
291
291
  onMotifChange?.(activeMotif);
292
292
  }
@@ -295,7 +295,7 @@ const FeaturesSection = ({
295
295
  const {
296
296
  heading,
297
297
  subHeading
298
- } = react.useMemo(() => {
298
+ } = React.useMemo(() => {
299
299
  return {
300
300
  heading: activeSegment?.heading ?? headingInitial,
301
301
  subHeading: activeSegment?.subHeading ?? subHeadingInitial
@@ -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 mapping = require('../../contexts/MenuContext/mapping.js');
7
7
  require('../../hooks/index.js');
@@ -89,7 +89,7 @@ const Footer = ({
89
89
  }).then(res => res.default)
90
90
  }
91
91
  });
92
- const hiddenFields = react.useMemo(() => {
92
+ const hiddenFields = React.useMemo(() => {
93
93
  return {
94
94
  // Merge fields are based on Mailchimp settings
95
95
  u: "bc856e62a9254399365d0277b",
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
3
+ var React = require('react');
4
4
  require('../../../assets/socialMedia/facebook.svg.js');
5
5
  require('../../../assets/socialMedia/instagram.svg.js');
6
6
  require('../../../assets/socialMedia/x.svg.js');
@@ -174,12 +174,12 @@ const useFooterContent = () => {
174
174
  }).then(res => res.default)
175
175
  }
176
176
  });
177
- const urls = react.useMemo(() => {
177
+ const urls = React.useMemo(() => {
178
178
  return {
179
179
  termsAndConditions: getRegionalLink(TOC_LINKS, globalStoreId)
180
180
  };
181
181
  }, [globalStoreId]);
182
- const footerContent = react.useMemo(() => ({
182
+ const footerContent = React.useMemo(() => ({
183
183
  company: {
184
184
  header: {
185
185
  id: "company" /* Company */,
@@ -289,7 +289,7 @@ const useFooterContent = () => {
289
289
  }].filter(typeGuards.isNonNullish)
290
290
  }
291
291
  }), [context$1, createSiteUrl, formatMessage, globalStoreId]);
292
- const socialContent = react.useMemo(() => ({
292
+ const socialContent = React.useMemo(() => ({
293
293
  header: {
294
294
  id: "social" /* Social */,
295
295
  label: formatMessage("footer.header.social")
@@ -320,7 +320,7 @@ const useFooterContent = () => {
320
320
  target: "_blank"
321
321
  }].filter(typeGuards.isNonNullish)
322
322
  }), [formatMessage, globalStoreId]);
323
- const termsContent = react.useMemo(() => ({
323
+ const termsContent = React.useMemo(() => ({
324
324
  header: {
325
325
  id: "terms" /* Terms */,
326
326
  label: formatMessage("footer.header.terms")
@@ -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 Gallery_types = require('./Gallery.types.js');
6
6
  var utils = require('./utils.js');
7
7
  "use strict";
@@ -19,31 +19,31 @@ const defaultGalleryContextState = {
19
19
  resetTransitionState: () => {},
20
20
  currentImageLabel: "0/0"
21
21
  };
22
- const GalleryContext = react.createContext(defaultGalleryContextState);
22
+ const GalleryContext = React.createContext(defaultGalleryContextState);
23
23
  const GalleryControlsProvider = ({
24
24
  children,
25
25
  fade
26
26
  }) => {
27
- const [total, setTotal] = react.useState(0);
28
- const [controlsType, setControlsType] = react.useState(Gallery_types.GalleryControls.Inside);
29
- const showGalleryControls = react.useMemo(() => total > 1, [total]);
30
- const [visibleSlide, setVisibleSlideRaw] = react.useState(defaultGalleryContextState.visibleSlide);
31
- const [withTransition, setWithTransition] = react.useState(defaultGalleryContextState.withTransition);
32
- const [controlsDisabled, setControlsDisabled] = react.useState(false);
33
- const resetTransitionState = react.useCallback(() => {
27
+ const [total, setTotal] = React.useState(0);
28
+ const [controlsType, setControlsType] = React.useState(Gallery_types.GalleryControls.Inside);
29
+ const showGalleryControls = React.useMemo(() => total > 1, [total]);
30
+ const [visibleSlide, setVisibleSlideRaw] = React.useState(defaultGalleryContextState.visibleSlide);
31
+ const [withTransition, setWithTransition] = React.useState(defaultGalleryContextState.withTransition);
32
+ const [controlsDisabled, setControlsDisabled] = React.useState(false);
33
+ const resetTransitionState = React.useCallback(() => {
34
34
  setWithTransition(true);
35
35
  setControlsDisabled(false);
36
36
  }, []);
37
- const reset = react.useCallback(newTotal => {
37
+ const reset = React.useCallback(newTotal => {
38
38
  setTotal(newTotal);
39
39
  setVisibleSlideRaw(!fade && newTotal > 1 ? 1 : 0);
40
40
  resetTransitionState();
41
41
  }, [resetTransitionState, fade]);
42
- const setVisibleSlide = react.useCallback(nextVisibleState => {
42
+ const setVisibleSlide = React.useCallback(nextVisibleState => {
43
43
  setControlsDisabled(true);
44
44
  setVisibleSlideRaw(nextVisibleState);
45
45
  }, []);
46
- react.useEffect(() => {
46
+ React.useEffect(() => {
47
47
  if (fade || controlsDisabled || total <= 1) {
48
48
  return;
49
49
  }
@@ -65,7 +65,7 @@ const GalleryControlsProvider = ({
65
65
  });
66
66
  }
67
67
  }, [visibleSlide, controlsDisabled, total]);
68
- const setPrevious = react.useCallback(() => {
68
+ const setPrevious = React.useCallback(() => {
69
69
  if (controlsDisabled) {
70
70
  return;
71
71
  }
@@ -75,7 +75,7 @@ const GalleryControlsProvider = ({
75
75
  setVisibleSlide(currVisibleSlide => currVisibleSlide - 1);
76
76
  }
77
77
  }, [controlsDisabled, setVisibleSlide, total, fade]);
78
- const setNext = react.useCallback(() => {
78
+ const setNext = React.useCallback(() => {
79
79
  if (controlsDisabled) {
80
80
  return;
81
81
  }
@@ -85,7 +85,7 @@ const GalleryControlsProvider = ({
85
85
  setVisibleSlide(currVisibleSlide => currVisibleSlide + 1);
86
86
  }
87
87
  }, [controlsDisabled, setVisibleSlide, total, fade]);
88
- const jumpToSlide = react.useCallback(index => {
88
+ const jumpToSlide = React.useCallback(index => {
89
89
  if (controlsDisabled) {
90
90
  return;
91
91
  }
@@ -98,7 +98,7 @@ const GalleryControlsProvider = ({
98
98
  resetTransitionState();
99
99
  });
100
100
  }, [controlsDisabled, fade, setVisibleSlide, resetTransitionState]);
101
- const currentImageLabel = react.useMemo(() => {
101
+ const currentImageLabel = React.useMemo(() => {
102
102
  const isAnimatable = total > 1;
103
103
  const totalNormalised = isAnimatable ? total - (fade ? 0 : 2) : 1;
104
104
  let normalisedIndex = visibleSlide;
@@ -135,7 +135,7 @@ const GalleryControlsProvider = ({
135
135
  children
136
136
  });
137
137
  };
138
- const useGalleryControls = () => react.useContext(GalleryContext);
138
+ const useGalleryControls = () => React.useContext(GalleryContext);
139
139
  exports.GalleryControlsProvider = GalleryControlsProvider;
140
140
  exports.useGalleryControls = useGalleryControls;
141
141
  //# sourceMappingURL=Gallery.context.js.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
  var reactUse = require('react-use');
6
6
  var layout = require('../../constants/layout.js');
7
7
  var Gallery_context = require('./Gallery.context.js');
@@ -26,7 +26,7 @@ const parseGalleryEntries = (entries, fade) => {
26
26
  slidesWithClones.push(slidesWithClones[1]);
27
27
  return slidesWithClones;
28
28
  };
29
- const Gallery = react.memo(function Gallery2({
29
+ const Gallery = React.memo(function Gallery2({
30
30
  controls,
31
31
  entries,
32
32
  parsed,
@@ -46,25 +46,25 @@ const Gallery = react.memo(function Gallery2({
46
46
  visibleSlide,
47
47
  resetTransitionState
48
48
  } = Gallery_context.useGalleryControls();
49
- const galleryRef = react.useRef(null);
50
- const entriesParsed = react.useMemo(() => {
49
+ const galleryRef = React.useRef(null);
50
+ const entriesParsed = React.useMemo(() => {
51
51
  return parsed ? entries : parseGalleryEntries(entries, fade);
52
52
  }, [entries, fade, parsed]);
53
- react.useEffect(() => {
53
+ React.useEffect(() => {
54
54
  setControlsType(controls);
55
55
  }, [controls, setControlsType]);
56
- react.useEffect(() => {
56
+ React.useEffect(() => {
57
57
  reset(entriesParsed.length);
58
58
  }, [entriesParsed, reset]);
59
- const activeEntry = react.useMemo(() => entriesParsed[visibleSlide], [entriesParsed, visibleSlide]);
60
- const couldBeNext = react.useCallback(index => {
59
+ const activeEntry = React.useMemo(() => entriesParsed[visibleSlide], [entriesParsed, visibleSlide]);
60
+ const couldBeNext = React.useCallback(index => {
61
61
  const potentialNextRightSlideIndex = visibleSlide + 1 > entriesParsed.length - 1 ? 0 : visibleSlide + 1;
62
62
  const potentialNextLeftSlideIndex = visibleSlide - 1 < 0 ? entriesParsed.length - 1 : visibleSlide - 1;
63
63
  return !!(potentialNextRightSlideIndex === index || potentialNextLeftSlideIndex === index);
64
64
  }, [entriesParsed.length, visibleSlide]);
65
65
  const isTabletUp = reactUse.useMedia(layout.BREAKPOINTS.TABLET_UP, false);
66
66
  const hoveredRaw = reactUse.useHoverDirty(galleryRef, isTabletUp);
67
- const [hovered, setHovered] = react.useState(false);
67
+ const [hovered, setHovered] = React.useState(false);
68
68
  reactUse.useDebounce(() => {
69
69
  setHovered(hoveredRaw);
70
70
  }, 10, [hoveredRaw]);
@@ -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/arrowRightMicro.svg.js');
6
6
  var Gallery_context = require('../Gallery.context.js');
7
7
  var GalleryControls_styles = require('./GalleryControls.styles.js');
@@ -13,7 +13,7 @@ function _interopDefault(e) {
13
13
  }
14
14
  var arrowRightMicroSvg__default = /*#__PURE__*/_interopDefault(arrowRightMicroSvg);
15
15
  "use strict";
16
- const GalleryControl = react.memo(function GalleryRightControl({
16
+ const GalleryControl = React.memo(function GalleryRightControl({
17
17
  label,
18
18
  side,
19
19
  rounded,
@@ -23,7 +23,7 @@ const GalleryControl = react.memo(function GalleryRightControl({
23
23
  setNext,
24
24
  setPrevious
25
25
  } = Gallery_context.useGalleryControls();
26
- const handleClick = react.useCallback(() => {
26
+ const handleClick = React.useCallback(() => {
27
27
  onClick?.();
28
28
  switch (side) {
29
29
  case "left":
@@ -57,7 +57,7 @@ const GalleryOutsideControlsInfo = () => {
57
57
  children: currentImageLabel
58
58
  });
59
59
  };
60
- const GalleryBottomControls = react.memo(function GalleryBottomControls2({
60
+ const GalleryBottomControls = React.memo(function GalleryBottomControls2({
61
61
  className,
62
62
  size,
63
63
  onControl
@@ -1,12 +1,12 @@
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
  var GalleryItem_styles = require('./GalleryItem.styles.js');
8
8
  "use strict";
9
- const GalleryItem = react.memo(function GalleryItem2({
9
+ const GalleryItem = React.memo(function GalleryItem2({
10
10
  item,
11
11
  renderImage,
12
12
  priority,
@@ -16,10 +16,10 @@ const GalleryItem = react.memo(function GalleryItem2({
16
16
  couldBeNext = true,
17
17
  objectFit = "cover"
18
18
  }) {
19
- const videoRef = react.useRef(null);
20
- const isVideoHovering = react.useRef(false);
19
+ const videoRef = React.useRef(null);
20
+ const isVideoHovering = React.useRef(false);
21
21
  const isMobile = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
22
- const handleMouseEnter = react.useCallback(() => {
22
+ const handleMouseEnter = React.useCallback(() => {
23
23
  isVideoHovering.current = true;
24
24
  if (!videoRef.current) {
25
25
  return;
@@ -40,8 +40,8 @@ const GalleryItem = react.memo(function GalleryItem2({
40
40
  };
41
41
  }
42
42
  }, []);
43
- const [isVisible, setIsVisible] = react.useState(isActive);
44
- react.useEffect(() => {
43
+ const [isVisible, setIsVisible] = React.useState(isActive);
44
+ React.useEffect(() => {
45
45
  if (!isActive) {
46
46
  window.setTimeout(() => {
47
47
  setIsVisible(false);
@@ -50,7 +50,7 @@ const GalleryItem = react.memo(function GalleryItem2({
50
50
  setIsVisible(true);
51
51
  }
52
52
  }, [isActive, isVisible]);
53
- react.useEffect(() => {
53
+ React.useEffect(() => {
54
54
  if (!isVisible && videoRef.current) {
55
55
  videoRef.current.pause();
56
56
  videoRef.current.currentTime = 0;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var reactUse = require('react-use');
6
6
  require('../../ScrollWrapper/index.js');
7
7
  var Gallery_context = require('../Gallery.context.js');
@@ -18,26 +18,26 @@ const GalleryThumbnails = function GalleryThumbnails2({
18
18
  visibleSlide,
19
19
  jumpToSlide
20
20
  } = Gallery_context.useGalleryControls();
21
- const handleThumbnailClick = react.useCallback(index => {
21
+ const handleThumbnailClick = React.useCallback(index => {
22
22
  if (expanded) {
23
23
  onControl?.();
24
24
  jumpToSlide(index);
25
25
  }
26
26
  }, [expanded, jumpToSlide, onControl]);
27
- const [allowPointers, setAllowPointers] = react.useState(false);
27
+ const [allowPointers, setAllowPointers] = React.useState(false);
28
28
  reactUse.useDebounce(() => {
29
29
  setAllowPointers(expanded);
30
30
  }, GalleryThumbnails_styles.GALLERY_TRANSITION_MS, [expanded, visibleSlide]);
31
- const wrapRef = react.useRef(null);
32
- const [scrollOffset, setScrollOffset] = react.useState(0);
33
- const [containerWidth, setContainerWidth] = react.useState(0);
34
- const onScrollChange = react.useCallback(({
31
+ const wrapRef = React.useRef(null);
32
+ const [scrollOffset, setScrollOffset] = React.useState(0);
33
+ const [containerWidth, setContainerWidth] = React.useState(0);
34
+ const onScrollChange = React.useCallback(({
35
35
  scrollX
36
36
  }) => {
37
37
  setScrollOffset(scrollX);
38
38
  setContainerWidth(wrapRef.current?.offsetWidth ?? 0);
39
39
  }, []);
40
- react.useEffect(() => {
40
+ React.useEffect(() => {
41
41
  setScrollOffset(0);
42
42
  setContainerWidth(wrapRef.current?.offsetWidth ?? 0);
43
43
  }, [items]);
@@ -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/play-big.svg.js');
7
7
  var layout = require('../../constants/layout.js');
@@ -27,11 +27,11 @@ const GridGallery = function GridGallery2({
27
27
  onModalToggle
28
28
  }) {
29
29
  const isTablet = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
30
- const [activeModalId, setActiveModalId] = react.useState("");
31
- react.useEffect(() => {
30
+ const [activeModalId, setActiveModalId] = React.useState("");
31
+ React.useEffect(() => {
32
32
  onModalToggle?.(activeModalId);
33
33
  }, [onModalToggle, activeModalId]);
34
- const getAssetAspectRatioType = react.useCallback(asset => {
34
+ const getAssetAspectRatioType = React.useCallback(asset => {
35
35
  const aspectHeightRatio = asset.height / asset.width;
36
36
  const heightRatios = Object.values(GridGallery_styles.GRID_GALLERY_RATIOS).map(ratios => ratios.height);
37
37
  const heightRatio = number.findClosestNumber(heightRatios, aspectHeightRatio);
@@ -42,7 +42,7 @@ const GridGallery = function GridGallery2({
42
42
  }
43
43
  return GridGallery_types.RatioType.OneThird;
44
44
  }, []);
45
- const parsedAssets = react.useMemo(() => {
45
+ const parsedAssets = React.useMemo(() => {
46
46
  const parsed = assetsInitial.map(asset => {
47
47
  const ratioType = getAssetAspectRatioType(asset);
48
48
  return {
@@ -60,8 +60,8 @@ const GridGallery = function GridGallery2({
60
60
  return asset;
61
61
  });
62
62
  }, [assetsInitial, getAssetAspectRatioType]);
63
- const [assetRows, setAssetRows] = react.useState([]);
64
- const createAssetRows = react.useCallback(() => {
63
+ const [assetRows, setAssetRows] = React.useState([]);
64
+ const createAssetRows = React.useCallback(() => {
65
65
  const fullRows = [];
66
66
  const partialRows = [];
67
67
  const availableAssets = [...parsedAssets];
@@ -123,7 +123,7 @@ const GridGallery = function GridGallery2({
123
123
  }
124
124
  setAssetRows(fullRows);
125
125
  }, [parsedAssets]);
126
- react.useEffect(() => {
126
+ React.useEffect(() => {
127
127
  createAssetRows();
128
128
  parsedAssets;
129
129
  }, [parsedAssets, createAssetRows]);
@@ -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
  var Header_styles = require('../../Header/Header.styles.js');
@@ -24,9 +24,9 @@ const GridModal = function CartModal({
24
24
  height,
25
25
  videoStartTime
26
26
  }) {
27
- const ref = react.useRef(null);
28
- const refVideo = react.useRef(null);
29
- const [offsetTop, setOffsetTop] = react.useState(0);
27
+ const ref = React.useRef(null);
28
+ const refVideo = React.useRef(null);
29
+ const [offsetTop, setOffsetTop] = React.useState(0);
30
30
  reactUse.useClickAway(ref, onClose, ["click"]);
31
31
  reactUse.useLockBodyScroll(open);
32
32
  reactUse.useKeyPressEvent("Escape", () => {
@@ -34,12 +34,12 @@ const GridModal = function CartModal({
34
34
  onClose();
35
35
  }
36
36
  });
37
- react.useEffect(() => {
37
+ React.useEffect(() => {
38
38
  if (open && refVideo.current && videoStartTime) {
39
39
  refVideo.current.currentTime = videoStartTime;
40
40
  }
41
41
  }, [open, videoStartTime]);
42
- react.useEffect(() => {
42
+ React.useEffect(() => {
43
43
  if (window.scrollY === 0) {
44
44
  setOffsetTop(Header_styles.HEADER_HEIGHT);
45
45
  }